@unizap/uniui 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/uniui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as R from "react";
2
- import Pe, { useRef as se, useState as K, useEffect as ce, useMemo as Te, useReducer as Ur, useCallback as oe, forwardRef as Ye, useImperativeHandle as tr, Fragment as Yr, memo as Zr, useLayoutEffect as Kr } from "react";
2
+ import je, { useRef as se, useState as K, useEffect as ce, useMemo as Te, useReducer as Ur, useCallback as oe, forwardRef as Ye, useImperativeHandle as tr, Fragment as Yr, memo as Zr, useLayoutEffect as Kr } from "react";
3
3
  import { createPortal as Ze } from "react-dom";
4
4
  function nr(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -14,10 +14,10 @@ var et = { exports: {} }, He = {};
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
- var hn;
17
+ var xn;
18
18
  function Xr() {
19
- if (hn) return He;
20
- hn = 1;
19
+ if (xn) return He;
20
+ xn = 1;
21
21
  var e = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
22
22
  function t(r, o, a) {
23
23
  var i = null;
@@ -46,18 +46,18 @@ var Be = {};
46
46
  * This source code is licensed under the MIT license found in the
47
47
  * LICENSE file in the root directory of this source tree.
48
48
  */
49
- var xn;
49
+ var hn;
50
50
  function Jr() {
51
- return xn || (xn = 1, process.env.NODE_ENV !== "production" && function() {
52
- function e(h) {
53
- if (h == null) return null;
54
- if (typeof h == "function")
55
- return h.$$typeof === Z ? null : h.displayName || h.name || null;
56
- if (typeof h == "string") return h;
57
- switch (h) {
51
+ return hn || (hn = 1, process.env.NODE_ENV !== "production" && function() {
52
+ function e(x) {
53
+ if (x == null) return null;
54
+ if (typeof x == "function")
55
+ return x.$$typeof === Z ? null : x.displayName || x.name || null;
56
+ if (typeof x == "string") return x;
57
+ switch (x) {
58
58
  case m:
59
59
  return "Fragment";
60
- case x:
60
+ case h:
61
61
  return "Profiler";
62
62
  case b:
63
63
  return "StrictMode";
@@ -68,126 +68,126 @@ function Jr() {
68
68
  case F:
69
69
  return "Activity";
70
70
  }
71
- if (typeof h == "object")
72
- switch (typeof h.tag == "number" && console.error(
71
+ if (typeof x == "object")
72
+ switch (typeof x.tag == "number" && console.error(
73
73
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
74
- ), h.$$typeof) {
74
+ ), x.$$typeof) {
75
75
  case v:
76
76
  return "Portal";
77
77
  case w:
78
- return (h.displayName || "Context") + ".Provider";
78
+ return (x.displayName || "Context") + ".Provider";
79
79
  case k:
80
- return (h._context.displayName || "Context") + ".Consumer";
80
+ return (x._context.displayName || "Context") + ".Consumer";
81
81
  case $:
82
- var C = h.render;
83
- return h = h.displayName, h || (h = C.displayName || C.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
82
+ var C = x.render;
83
+ return x = x.displayName, x || (x = C.displayName || C.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
84
84
  case D:
85
- return C = h.displayName || null, C !== null ? C : e(h.type) || "Memo";
85
+ return C = x.displayName || null, C !== null ? C : e(x.type) || "Memo";
86
86
  case V:
87
- C = h._payload, h = h._init;
87
+ C = x._payload, x = x._init;
88
88
  try {
89
- return e(h(C));
89
+ return e(x(C));
90
90
  } catch {
91
91
  }
92
92
  }
93
93
  return null;
94
94
  }
95
- function n(h) {
96
- return "" + h;
95
+ function n(x) {
96
+ return "" + x;
97
97
  }
98
- function t(h) {
98
+ function t(x) {
99
99
  try {
100
- n(h);
100
+ n(x);
101
101
  var C = !1;
102
102
  } catch {
103
103
  C = !0;
104
104
  }
105
105
  if (C) {
106
106
  C = console;
107
- var L = C.error, M = typeof Symbol == "function" && Symbol.toStringTag && h[Symbol.toStringTag] || h.constructor.name || "Object";
107
+ var L = C.error, M = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
108
108
  return L.call(
109
109
  C,
110
110
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
111
111
  M
112
- ), n(h);
112
+ ), n(x);
113
113
  }
114
114
  }
115
- function r(h) {
116
- if (h === m) return "<>";
117
- if (typeof h == "object" && h !== null && h.$$typeof === V)
115
+ function r(x) {
116
+ if (x === m) return "<>";
117
+ if (typeof x == "object" && x !== null && x.$$typeof === V)
118
118
  return "<...>";
119
119
  try {
120
- var C = e(h);
120
+ var C = e(x);
121
121
  return C ? "<" + C + ">" : "<...>";
122
122
  } catch {
123
123
  return "<...>";
124
124
  }
125
125
  }
126
126
  function o() {
127
- var h = ae.A;
128
- return h === null ? null : h.getOwner();
127
+ var x = ae.A;
128
+ return x === null ? null : x.getOwner();
129
129
  }
130
130
  function a() {
131
131
  return Error("react-stack-top-frame");
132
132
  }
133
- function i(h) {
134
- if (ue.call(h, "key")) {
135
- var C = Object.getOwnPropertyDescriptor(h, "key").get;
133
+ function i(x) {
134
+ if (ue.call(x, "key")) {
135
+ var C = Object.getOwnPropertyDescriptor(x, "key").get;
136
136
  if (C && C.isReactWarning) return !1;
137
137
  }
138
- return h.key !== void 0;
138
+ return x.key !== void 0;
139
139
  }
140
- function l(h, C) {
140
+ function l(x, C) {
141
141
  function L() {
142
142
  Y || (Y = !0, console.error(
143
143
  "%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)",
144
144
  C
145
145
  ));
146
146
  }
147
- L.isReactWarning = !0, Object.defineProperty(h, "key", {
147
+ L.isReactWarning = !0, Object.defineProperty(x, "key", {
148
148
  get: L,
149
149
  configurable: !0
150
150
  });
151
151
  }
152
152
  function c() {
153
- var h = e(this.type);
154
- return T[h] || (T[h] = !0, console.error(
153
+ var x = e(this.type);
154
+ return T[x] || (T[x] = !0, console.error(
155
155
  "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."
156
- )), h = this.props.ref, h !== void 0 ? h : null;
156
+ )), x = this.props.ref, x !== void 0 ? x : null;
157
157
  }
158
- function u(h, C, L, M, N, I, z, E) {
159
- return L = I.ref, h = {
158
+ function u(x, C, L, M, N, I, z, E) {
159
+ return L = I.ref, x = {
160
160
  $$typeof: f,
161
- type: h,
161
+ type: x,
162
162
  key: C,
163
163
  props: I,
164
164
  _owner: N
165
- }, (L !== void 0 ? L : null) !== null ? Object.defineProperty(h, "ref", {
165
+ }, (L !== void 0 ? L : null) !== null ? Object.defineProperty(x, "ref", {
166
166
  enumerable: !1,
167
167
  get: c
168
- }) : Object.defineProperty(h, "ref", { enumerable: !1, value: null }), h._store = {}, Object.defineProperty(h._store, "validated", {
168
+ }) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
169
169
  configurable: !1,
170
170
  enumerable: !1,
171
171
  writable: !0,
172
172
  value: 0
173
- }), Object.defineProperty(h, "_debugInfo", {
173
+ }), Object.defineProperty(x, "_debugInfo", {
174
174
  configurable: !1,
175
175
  enumerable: !1,
176
176
  writable: !0,
177
177
  value: null
178
- }), Object.defineProperty(h, "_debugStack", {
178
+ }), Object.defineProperty(x, "_debugStack", {
179
179
  configurable: !1,
180
180
  enumerable: !1,
181
181
  writable: !0,
182
182
  value: z
183
- }), Object.defineProperty(h, "_debugTask", {
183
+ }), Object.defineProperty(x, "_debugTask", {
184
184
  configurable: !1,
185
185
  enumerable: !1,
186
186
  writable: !0,
187
187
  value: E
188
- }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
188
+ }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
189
189
  }
190
- function d(h, C, L, M, N, I, z, E) {
190
+ function d(x, C, L, M, N, I, z, E) {
191
191
  var P = C.children;
192
192
  if (P !== void 0)
193
193
  if (M)
@@ -201,7 +201,7 @@ function Jr() {
201
201
  );
202
202
  else g(P);
203
203
  if (ue.call(C, "key")) {
204
- P = e(h);
204
+ P = e(x);
205
205
  var B = Object.keys(C).filter(function(S) {
206
206
  return S !== "key";
207
207
  });
@@ -225,9 +225,9 @@ React keys must be passed directly to JSX without using spread:
225
225
  } else L = C;
226
226
  return P && l(
227
227
  L,
228
- typeof h == "function" ? h.displayName || h.name || "Unknown" : h
228
+ typeof x == "function" ? x.displayName || x.name || "Unknown" : x
229
229
  ), u(
230
- h,
230
+ x,
231
231
  P,
232
232
  I,
233
233
  N,
@@ -237,44 +237,44 @@ React keys must be passed directly to JSX without using spread:
237
237
  E
238
238
  );
239
239
  }
240
- function g(h) {
241
- typeof h == "object" && h !== null && h.$$typeof === f && h._store && (h._store.validated = 1);
240
+ function g(x) {
241
+ typeof x == "object" && x !== null && x.$$typeof === f && x._store && (x._store.validated = 1);
242
242
  }
243
- var p = Pe, f = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), k = Symbol.for("react.consumer"), w = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), ae = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ue = Object.prototype.hasOwnProperty, Q = Array.isArray, H = console.createTask ? console.createTask : function() {
243
+ var p = je, f = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), k = Symbol.for("react.consumer"), w = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), ae = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ue = Object.prototype.hasOwnProperty, Q = Array.isArray, H = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  p = {
247
- "react-stack-bottom-frame": function(h) {
248
- return h();
247
+ "react-stack-bottom-frame": function(x) {
248
+ return x();
249
249
  }
250
250
  };
251
251
  var Y, T = {}, te = p["react-stack-bottom-frame"].bind(
252
252
  p,
253
253
  a
254
254
  )(), pe = H(r(a)), X = {};
255
- Be.Fragment = m, Be.jsx = function(h, C, L, M, N) {
255
+ Be.Fragment = m, Be.jsx = function(x, C, L, M, N) {
256
256
  var I = 1e4 > ae.recentlyCreatedOwnerStacks++;
257
257
  return d(
258
- h,
258
+ x,
259
259
  C,
260
260
  L,
261
261
  !1,
262
262
  M,
263
263
  N,
264
264
  I ? Error("react-stack-top-frame") : te,
265
- I ? H(r(h)) : pe
265
+ I ? H(r(x)) : pe
266
266
  );
267
- }, Be.jsxs = function(h, C, L, M, N) {
267
+ }, Be.jsxs = function(x, C, L, M, N) {
268
268
  var I = 1e4 > ae.recentlyCreatedOwnerStacks++;
269
269
  return d(
270
- h,
270
+ x,
271
271
  C,
272
272
  L,
273
273
  !0,
274
274
  M,
275
275
  N,
276
276
  I ? Error("react-stack-top-frame") : te,
277
- I ? H(r(h)) : pe
277
+ I ? H(r(x)) : pe
278
278
  );
279
279
  };
280
280
  }()), Be;
@@ -290,147 +290,168 @@ const ve = {
290
290
  outline: "border-color-gray-900 text-color-gray-900 hover:bg-color-gray-50",
291
291
  transparent: "text-color-gray-900 hover:bg-color-gray-50",
292
292
  accent: "accent-color-gray-900",
293
- peer: "peer-checked:border-color-gray-900 peer-checked:text-color-gray-900"
293
+ peer: "peer-checked:border-color-gray-900 peer-checked:text-color-gray-900",
294
+ text: "text-color-gray-900"
294
295
  },
295
296
  gray: {
296
297
  filled: "bg-color-gray-500 text-color-white hover:bg-color-gray-600",
297
298
  outline: "border-color-gray-500 text-color-gray-500 hover:bg-color-gray-50",
298
299
  transparent: "text-color-gray-500 hover:bg-color-gray-50",
299
300
  accent: "accent-color-gray-500",
300
- peer: "peer-checked:border-color-gray-500 peer-checked:text-color-gray-500"
301
+ peer: "peer-checked:border-color-gray-500 peer-checked:text-color-gray-500",
302
+ text: "text-color-gray-500"
301
303
  },
302
304
  light: {
303
305
  filled: "bg-color-white text-color-gray-700 hover:bg-color-gray-50",
304
306
  outline: "border-color-white text-color-white hover:bg-color-gray-50",
305
307
  transparent: "text-color-white hover:bg-color-gray-50",
306
308
  accent: "accent-color-white",
307
- peer: "peer-checked:border-color-white peer-checked:text-color-white"
309
+ peer: "peer-checked:border-color-white peer-checked:text-color-white",
310
+ text: "text-color-white"
308
311
  },
309
312
  pearl: {
310
313
  filled: "bg-color-zinc-200 text-color-zinc-600 hover:bg-color-zinc-300",
311
314
  outline: "border-color-zinc-200 text-color-zinc-900 hover:bg-color-zinc-50",
312
315
  transparent: "text-color-zinc-600 hover:bg-color-zinc-50",
313
316
  accent: "accent-color-zinc-200",
314
- peer: "peer-checked:border-color-zinc-200 peer-checked:text-color-zinc-200"
317
+ peer: "peer-checked:border-color-zinc-200 peer-checked:text-color-zinc-200",
318
+ text: "text-color-zinc-600"
315
319
  },
316
320
  red: {
317
321
  filled: "bg-color-red-500 text-color-white hover:bg-color-red-600",
318
322
  outline: "border-color-red-500 text-color-red-500 hover:bg-color-red-50",
319
323
  transparent: "text-color-red-500 hover:bg-color-red-50",
320
324
  accent: "accent-color-red-500",
321
- peer: "peer-checked:border-color-red-500 peer-checked:text-color-red-500"
325
+ peer: "peer-checked:border-color-red-500 peer-checked:text-color-red-500",
326
+ text: "text-color-red-500"
322
327
  },
323
328
  orange: {
324
329
  filled: "bg-color-orange-500 text-color-white hover:bg-color-orange-600",
325
330
  outline: "border-color-orange-500 text-color-orange-500 hover:bg-color-orange-50",
326
331
  transparent: "text-color-orange-500 hover:bg-color-orange-50",
327
332
  accent: "accent-color-orange-500",
328
- peer: "peer-checked:border-color-orange-500 peer-checked:text-color-orange-500"
333
+ peer: "peer-checked:border-color-orange-500 peer-checked:text-color-orange-500",
334
+ text: "text-color-orange-500"
329
335
  },
330
336
  amber: {
331
337
  filled: "bg-color-amber-500 text-color-white hover:bg-color-amber-600",
332
338
  outline: "border-color-amber-500 text-color-amber-500 hover:bg-color-amber-50",
333
339
  transparent: "text-color-amber-500 hover:bg-color-amber-50",
334
340
  accent: "accent-color-amber-500",
335
- peer: "peer-checked:border-color-amber-500 peer-checked:text-color-amber-500"
341
+ peer: "peer-checked:border-color-amber-500 peer-checked:text-color-amber-500",
342
+ text: "text-color-amber-500"
336
343
  },
337
344
  yellow: {
338
345
  filled: "bg-color-yellow-500 text-color-white hover:bg-color-yellow-600",
339
346
  outline: "border-color-yellow-500 text-color-yellow-500 hover:bg-color-yellow-50",
340
347
  transparent: "text-color-yellow-500 hover:bg-color-yellow-50",
341
348
  accent: "accent-color-yellow-500",
342
- peer: "peer-checked:border-color-yellow-500 peer-checked:text-color-yellow-500"
349
+ peer: "peer-checked:border-color-yellow-500 peer-checked:text-color-yellow-500",
350
+ text: "text-color-yellow-500"
343
351
  },
344
352
  lime: {
345
353
  filled: "bg-color-lime-500 text-color-white hover:bg-color-lime-600",
346
354
  outline: "border-color-lime-500 text-color-lime-500 hover:bg-color-lime-50",
347
355
  transparent: "text-color-lime-500 hover:bg-color-lime-50",
348
356
  accent: "accent-color-lime-500",
349
- peer: "peer-checked:border-color-lime-500 peer-checked:text-color-lime-500"
357
+ peer: "peer-checked:border-color-lime-500 peer-checked:text-color-lime-500",
358
+ text: "text-color-lime-500"
350
359
  },
351
360
  green: {
352
361
  filled: "bg-color-green-500 text-color-white hover:bg-color-green-600",
353
362
  outline: "border-color-green-500 text-color-green-500 hover:bg-color-green-50",
354
363
  transparent: "text-color-green-500 hover:bg-color-green-50",
355
364
  accent: "accent-color-green-500",
356
- peer: "peer-checked:border-color-green-500 peer-checked:text-color-green-500"
365
+ peer: "peer-checked:border-color-green-500 peer-checked:text-color-green-500",
366
+ text: "text-color-green-500"
357
367
  },
358
368
  emerald: {
359
369
  filled: "bg-color-emerald-500 text-color-white hover:bg-color-emerald-600",
360
370
  outline: "border-color-emerald-500 text-color-emerald-500 hover:bg-color-emerald-50",
361
371
  transparent: "text-color-emerald-500 hover:bg-color-emerald-50",
362
372
  accent: "accent-color-emerald-500",
363
- peer: "peer-checked:border-color-emerald-500 peer-checked:text-color-emerald-500"
373
+ peer: "peer-checked:border-color-emerald-500 peer-checked:text-color-emerald-500",
374
+ text: "text-color-emerald-500"
364
375
  },
365
376
  teal: {
366
377
  filled: "bg-color-teal-500 text-color-white hover:bg-color-teal-600",
367
378
  outline: "border-color-teal-500 text-color-teal-500 hover:bg-color-teal-50",
368
379
  transparent: "text-color-teal-500 hover:bg-color-teal-50",
369
380
  accent: "accent-color-teal-500",
370
- peer: "peer-checked:border-color-teal-500 peer-checked:text-color-teal-500"
381
+ peer: "peer-checked:border-color-teal-500 peer-checked:text-color-teal-500",
382
+ text: "text-color-teal-500"
371
383
  },
372
384
  cyan: {
373
385
  filled: "bg-color-cyan-500 text-color-white hover:bg-color-cyan-600",
374
386
  outline: "border-color-cyan-500 text-color-cyan-500 hover:bg-color-cyan-50",
375
387
  transparent: "text-color-cyan-500 hover:bg-color-cyan-50",
376
388
  accent: "accent-color-cyan-500",
377
- peer: "peer-checked:border-color-cyan-500 peer-checked:text-color-cyan-500"
389
+ peer: "peer-checked:border-color-cyan-500 peer-checked:text-color-cyan-500",
390
+ text: "text-color-cyan-500"
378
391
  },
379
392
  sky: {
380
393
  filled: "bg-color-sky-500 text-color-white hover:bg-color-sky-600",
381
394
  outline: "border-color-sky-500 text-color-sky-500 hover:bg-color-sky-50",
382
395
  transparent: "text-color-sky-500 hover:bg-color-sky-50",
383
396
  accent: "accent-color-sky-500",
384
- peer: "peer-checked:border-color-sky-500 peer-checked:text-color-sky-500"
397
+ peer: "peer-checked:border-color-sky-500 peer-checked:text-color-sky-500",
398
+ text: "text-color-sky-500"
385
399
  },
386
400
  blue: {
387
401
  filled: "bg-color-blue-500 text-color-white hover:bg-color-blue-600",
388
402
  outline: "border-color-blue-500 text-color-blue-500 hover:bg-color-blue-50",
389
403
  transparent: "text-color-blue-500 hover:bg-color-blue-50",
390
404
  accent: "accent-color-blue-500",
391
- peer: "peer-checked:border-color-blue-500 peer-checked:text-color-blue-500"
405
+ peer: "peer-checked:border-color-blue-500 peer-checked:text-color-blue-500",
406
+ text: "text-color-blue-500"
392
407
  },
393
408
  indigo: {
394
409
  filled: "bg-color-indigo-500 text-color-white hover:bg-color-indigo-600",
395
410
  outline: "border-color-indigo-500 text-color-indigo-500 hover:bg-color-indigo-50",
396
411
  transparent: "text-color-indigo-500 hover:bg-color-indigo-50",
397
412
  accent: "accent-color-indigo-500",
398
- peer: "peer-checked:border-color-indigo-500 peer-checked:text-color-indigo-500"
413
+ peer: "peer-checked:border-color-indigo-500 peer-checked:text-color-indigo-500",
414
+ text: "text-color-indigo-500"
399
415
  },
400
416
  violet: {
401
417
  filled: "bg-color-violet-500 text-color-white hover:bg-color-violet-600",
402
418
  outline: "border-color-violet-500 text-color-violet-500 hover:bg-color-violet-50",
403
419
  transparent: "text-color-violet-500 hover:bg-color-violet-50",
404
420
  accent: "accent-color-violet-500",
405
- peer: "peer-checked:border-color-violet-500 peer-checked:text-color-violet-500"
421
+ peer: "peer-checked:border-color-violet-500 peer-checked:text-color-violet-500",
422
+ text: "text-color-violet-500"
406
423
  },
407
424
  purple: {
408
425
  filled: "bg-color-purple-500 text-color-white hover:bg-color-purple-600",
409
426
  outline: "border-color-purple-500 text-color-purple-500 hover:bg-color-purple-50",
410
427
  transparent: "text-color-purple-500 hover:bg-color-purple-50",
411
428
  accent: "accent-color-purple-500",
412
- peer: "peer-checked:border-color-purple-500 peer-checked:text-color-purple-500"
429
+ peer: "peer-checked:border-color-purple-500 peer-checked:text-color-purple-500",
430
+ text: "text-color-purple-500"
413
431
  },
414
432
  fuchsia: {
415
433
  filled: "bg-color-fuchsia-500 text-color-white hover:bg-color-fuchsia-600",
416
434
  outline: "border-color-fuchsia-500 text-color-fuchsia-500 hover:bg-color-fuchsia-50",
417
435
  transparent: "text-color-fuchsia-500 hover:bg-color-fuchsia-50",
418
436
  accent: "accent-color-fuchsia-500",
419
- peer: "peer-checked:border-color-fuchsia-500 peer-checked:text-color-fuchsia-500"
437
+ peer: "peer-checked:border-color-fuchsia-500 peer-checked:text-color-fuchsia-500",
438
+ text: "text-color-fuchsia-500"
420
439
  },
421
440
  pink: {
422
441
  filled: "bg-color-pink-500 text-color-white hover:bg-color-pink-600",
423
442
  outline: "border-color-pink-500 text-color-pink-500 hover:bg-color-pink-50",
424
443
  transparent: "text-color-pink-500 hover:bg-color-pink-50",
425
444
  accent: "accent-color-pink-500",
426
- peer: "peer-checked:border-color-pink-500 peer-checked:text-color-pink-500"
445
+ peer: "peer-checked:border-color-pink-500 peer-checked:text-color-pink-500",
446
+ text: "text-color-pink-500"
427
447
  },
428
448
  rose: {
429
449
  filled: "bg-color-rose-500 text-color-white hover:bg-color-rose-600",
430
450
  outline: "border-color-rose-500 text-color-rose-500 hover:bg-color-rose-50",
431
451
  transparent: "text-color-rose-500 hover:bg-color-rose-50",
432
452
  accent: "accent-color-rose-500",
433
- peer: "peer-checked:border-color-rose-500 peer-checked:text-color-rose-500"
453
+ peer: "peer-checked:border-color-rose-500 peer-checked:text-color-rose-500",
454
+ text: "text-color-rose-500"
434
455
  }
435
456
  }, Ll = (e) => {
436
457
  Object.assign(ve, e);
@@ -604,8 +625,8 @@ const ve = {
604
625
  ...b
605
626
  }) => {
606
627
  var y;
607
- const x = se(null), k = se(null), w = (O) => {
608
- const D = x.current;
628
+ const h = se(null), k = se(null), w = (O) => {
629
+ const D = h.current;
609
630
  if (!D) return;
610
631
  const V = document.createElement("span"), F = D.getBoundingClientRect(), Z = Math.max(F.width, F.height);
611
632
  V.style.width = V.style.height = `${Z}px`, V.style.left = `${O.clientX - F.left - Z / 2}px`, V.style.top = `${O.clientY - F.top - Z / 2}px`, V.className = "ripple", D.appendChild(V), setTimeout(() => V.remove(), 600), i == null || i(O);
@@ -634,7 +655,7 @@ const ve = {
634
655
  ) : /* @__PURE__ */ s.jsxs(
635
656
  "button",
636
657
  {
637
- ref: x,
658
+ ref: h,
638
659
  type: p,
639
660
  disabled: u,
640
661
  onClick: w,
@@ -780,7 +801,7 @@ var wn;
780
801
  function eo() {
781
802
  if (wn) return ne;
782
803
  wn = 1;
783
- var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
804
+ var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
784
805
  function w(y) {
785
806
  if (typeof y == "object" && y !== null) {
786
807
  var O = y.$$typeof;
@@ -839,7 +860,7 @@ function eo() {
839
860
  }, ne.isSuspense = function(y) {
840
861
  return w(y) === g;
841
862
  }, ne.isValidElementType = function(y) {
842
- return typeof y == "string" || typeof y == "function" || y === r || y === u || y === a || y === o || y === g || y === p || typeof y == "object" && y !== null && (y.$$typeof === v || y.$$typeof === f || y.$$typeof === i || y.$$typeof === l || y.$$typeof === d || y.$$typeof === b || y.$$typeof === x || y.$$typeof === k || y.$$typeof === m);
863
+ return typeof y == "string" || typeof y == "function" || y === r || y === u || y === a || y === o || y === g || y === p || typeof y == "object" && y !== null && (y.$$typeof === v || y.$$typeof === f || y.$$typeof === i || y.$$typeof === l || y.$$typeof === d || y.$$typeof === b || y.$$typeof === h || y.$$typeof === k || y.$$typeof === m);
843
864
  }, ne.typeOf = w, ne;
844
865
  }
845
866
  var re = {};
@@ -854,10 +875,10 @@ var re = {};
854
875
  var yn;
855
876
  function to() {
856
877
  return yn || (yn = 1, process.env.NODE_ENV !== "production" && function() {
857
- var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
878
+ var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
858
879
  function w(j) {
859
880
  return typeof j == "string" || typeof j == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
860
- j === r || j === u || j === a || j === o || j === g || j === p || typeof j == "object" && j !== null && (j.$$typeof === v || j.$$typeof === f || j.$$typeof === i || j.$$typeof === l || j.$$typeof === d || j.$$typeof === b || j.$$typeof === x || j.$$typeof === k || j.$$typeof === m);
881
+ j === r || j === u || j === a || j === o || j === g || j === p || typeof j == "object" && j !== null && (j.$$typeof === v || j.$$typeof === f || j.$$typeof === i || j.$$typeof === l || j.$$typeof === d || j.$$typeof === b || j.$$typeof === h || j.$$typeof === k || j.$$typeof === m);
861
882
  }
862
883
  function $(j) {
863
884
  if (typeof j == "object" && j !== null) {
@@ -893,9 +914,9 @@ function to() {
893
914
  }
894
915
  var y = c, O = u, D = l, V = i, F = n, Z = d, ae = r, ue = v, Q = f, H = t, Y = a, T = o, te = g, pe = !1;
895
916
  function X(j) {
896
- return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(j) || $(j) === c;
917
+ return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(j) || $(j) === c;
897
918
  }
898
- function h(j) {
919
+ function x(j) {
899
920
  return $(j) === u;
900
921
  }
901
922
  function C(j) {
@@ -931,7 +952,7 @@ function to() {
931
952
  function S(j) {
932
953
  return $(j) === g;
933
954
  }
934
- re.AsyncMode = y, re.ConcurrentMode = O, re.ContextConsumer = D, re.ContextProvider = V, re.Element = F, re.ForwardRef = Z, re.Fragment = ae, re.Lazy = ue, re.Memo = Q, re.Portal = H, re.Profiler = Y, re.StrictMode = T, re.Suspense = te, re.isAsyncMode = X, re.isConcurrentMode = h, re.isContextConsumer = C, re.isContextProvider = L, re.isElement = M, re.isForwardRef = N, re.isFragment = I, re.isLazy = z, re.isMemo = E, re.isPortal = P, re.isProfiler = B, re.isStrictMode = q, re.isSuspense = S, re.isValidElementType = w, re.typeOf = $;
955
+ re.AsyncMode = y, re.ConcurrentMode = O, re.ContextConsumer = D, re.ContextProvider = V, re.Element = F, re.ForwardRef = Z, re.Fragment = ae, re.Lazy = ue, re.Memo = Q, re.Portal = H, re.Profiler = Y, re.StrictMode = T, re.Suspense = te, re.isAsyncMode = X, re.isConcurrentMode = x, re.isContextConsumer = C, re.isContextProvider = L, re.isElement = M, re.isForwardRef = N, re.isFragment = I, re.isLazy = z, re.isMemo = E, re.isPortal = P, re.isProfiler = B, re.isStrictMode = q, re.isSuspense = S, re.isValidElementType = w, re.typeOf = $;
935
956
  }()), re;
936
957
  }
937
958
  var Cn;
@@ -1068,20 +1089,20 @@ function oo() {
1068
1089
  }
1069
1090
  return Mt = function(l, c) {
1070
1091
  var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
1071
- function g(h) {
1072
- var C = h && (u && h[u] || h[d]);
1092
+ function g(x) {
1093
+ var C = x && (u && x[u] || x[d]);
1073
1094
  if (typeof C == "function")
1074
1095
  return C;
1075
1096
  }
1076
1097
  var p = "<<anonymous>>", f = {
1077
- array: x("array"),
1078
- bigint: x("bigint"),
1079
- bool: x("boolean"),
1080
- func: x("function"),
1081
- number: x("number"),
1082
- object: x("object"),
1083
- string: x("string"),
1084
- symbol: x("symbol"),
1098
+ array: h("array"),
1099
+ bigint: h("bigint"),
1100
+ bool: h("boolean"),
1101
+ func: h("function"),
1102
+ number: h("number"),
1103
+ object: h("object"),
1104
+ string: h("string"),
1105
+ symbol: h("symbol"),
1085
1106
  any: k(),
1086
1107
  arrayOf: w,
1087
1108
  element: $(),
@@ -1094,14 +1115,14 @@ function oo() {
1094
1115
  shape: ue,
1095
1116
  exact: Q
1096
1117
  };
1097
- function v(h, C) {
1098
- return h === C ? h !== 0 || 1 / h === 1 / C : h !== h && C !== C;
1118
+ function v(x, C) {
1119
+ return x === C ? x !== 0 || 1 / x === 1 / C : x !== x && C !== C;
1099
1120
  }
1100
- function m(h, C) {
1101
- this.message = h, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
1121
+ function m(x, C) {
1122
+ this.message = x, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
1102
1123
  }
1103
1124
  m.prototype = Error.prototype;
1104
- function b(h) {
1125
+ function b(x) {
1105
1126
  if (process.env.NODE_ENV !== "production")
1106
1127
  var C = {}, L = 0;
1107
1128
  function M(I, z, E, P, B, q, S) {
@@ -1119,19 +1140,19 @@ function oo() {
1119
1140
  ), C[_] = !0, L++);
1120
1141
  }
1121
1142
  }
1122
- return z[E] == null ? I ? z[E] === null ? new m("The " + B + " `" + q + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new m("The " + B + " `" + q + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : h(z, E, P, B, q);
1143
+ return z[E] == null ? I ? z[E] === null ? new m("The " + B + " `" + q + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new m("The " + B + " `" + q + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : x(z, E, P, B, q);
1123
1144
  }
1124
1145
  var N = M.bind(null, !1);
1125
1146
  return N.isRequired = M.bind(null, !0), N;
1126
1147
  }
1127
- function x(h) {
1148
+ function h(x) {
1128
1149
  function C(L, M, N, I, z, E) {
1129
1150
  var P = L[M], B = T(P);
1130
- if (B !== h) {
1151
+ if (B !== x) {
1131
1152
  var q = te(P);
1132
1153
  return new m(
1133
- "Invalid " + I + " `" + z + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected ") + ("`" + h + "`."),
1134
- { expectedType: h }
1154
+ "Invalid " + I + " `" + z + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected ") + ("`" + x + "`."),
1155
+ { expectedType: x }
1135
1156
  );
1136
1157
  }
1137
1158
  return null;
@@ -1141,9 +1162,9 @@ function oo() {
1141
1162
  function k() {
1142
1163
  return b(i);
1143
1164
  }
1144
- function w(h) {
1165
+ function w(x) {
1145
1166
  function C(L, M, N, I, z) {
1146
- if (typeof h != "function")
1167
+ if (typeof x != "function")
1147
1168
  return new m("Property `" + z + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
1148
1169
  var E = L[M];
1149
1170
  if (!Array.isArray(E)) {
@@ -1151,7 +1172,7 @@ function oo() {
1151
1172
  return new m("Invalid " + I + " `" + z + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected an array."));
1152
1173
  }
1153
1174
  for (var B = 0; B < E.length; B++) {
1154
- var q = h(E, B, N, I, z + "[" + B + "]", t);
1175
+ var q = x(E, B, N, I, z + "[" + B + "]", t);
1155
1176
  if (q instanceof Error)
1156
1177
  return q;
1157
1178
  }
@@ -1160,7 +1181,7 @@ function oo() {
1160
1181
  return b(C);
1161
1182
  }
1162
1183
  function $() {
1163
- function h(C, L, M, N, I) {
1184
+ function x(C, L, M, N, I) {
1164
1185
  var z = C[L];
1165
1186
  if (!l(z)) {
1166
1187
  var E = T(z);
@@ -1168,10 +1189,10 @@ function oo() {
1168
1189
  }
1169
1190
  return null;
1170
1191
  }
1171
- return b(h);
1192
+ return b(x);
1172
1193
  }
1173
1194
  function y() {
1174
- function h(C, L, M, N, I) {
1195
+ function x(C, L, M, N, I) {
1175
1196
  var z = C[L];
1176
1197
  if (!e.isValidElementType(z)) {
1177
1198
  var E = T(z);
@@ -1179,28 +1200,28 @@ function oo() {
1179
1200
  }
1180
1201
  return null;
1181
1202
  }
1182
- return b(h);
1203
+ return b(x);
1183
1204
  }
1184
- function O(h) {
1205
+ function O(x) {
1185
1206
  function C(L, M, N, I, z) {
1186
- if (!(L[M] instanceof h)) {
1187
- var E = h.name || p, P = X(L[M]);
1207
+ if (!(L[M] instanceof x)) {
1208
+ var E = x.name || p, P = X(L[M]);
1188
1209
  return new m("Invalid " + I + " `" + z + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected ") + ("instance of `" + E + "`."));
1189
1210
  }
1190
1211
  return null;
1191
1212
  }
1192
1213
  return b(C);
1193
1214
  }
1194
- function D(h) {
1195
- if (!Array.isArray(h))
1215
+ function D(x) {
1216
+ if (!Array.isArray(x))
1196
1217
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1197
1218
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1198
1219
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
1199
1220
  function C(L, M, N, I, z) {
1200
- for (var E = L[M], P = 0; P < h.length; P++)
1201
- if (v(E, h[P]))
1221
+ for (var E = L[M], P = 0; P < x.length; P++)
1222
+ if (v(E, x[P]))
1202
1223
  return null;
1203
- var B = JSON.stringify(h, function(S, j) {
1224
+ var B = JSON.stringify(x, function(S, j) {
1204
1225
  var _ = te(j);
1205
1226
  return _ === "symbol" ? String(j) : j;
1206
1227
  });
@@ -1208,16 +1229,16 @@ function oo() {
1208
1229
  }
1209
1230
  return b(C);
1210
1231
  }
1211
- function V(h) {
1232
+ function V(x) {
1212
1233
  function C(L, M, N, I, z) {
1213
- if (typeof h != "function")
1234
+ if (typeof x != "function")
1214
1235
  return new m("Property `" + z + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
1215
1236
  var E = L[M], P = T(E);
1216
1237
  if (P !== "object")
1217
1238
  return new m("Invalid " + I + " `" + z + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected an object."));
1218
1239
  for (var B in E)
1219
1240
  if (r(E, B)) {
1220
- var q = h(E, B, N, I, z + "." + B, t);
1241
+ var q = x(E, B, N, I, z + "." + B, t);
1221
1242
  if (q instanceof Error)
1222
1243
  return q;
1223
1244
  }
@@ -1225,19 +1246,19 @@ function oo() {
1225
1246
  }
1226
1247
  return b(C);
1227
1248
  }
1228
- function F(h) {
1229
- if (!Array.isArray(h))
1249
+ function F(x) {
1250
+ if (!Array.isArray(x))
1230
1251
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i;
1231
- for (var C = 0; C < h.length; C++) {
1232
- var L = h[C];
1252
+ for (var C = 0; C < x.length; C++) {
1253
+ var L = x[C];
1233
1254
  if (typeof L != "function")
1234
1255
  return a(
1235
1256
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(L) + " at index " + C + "."
1236
1257
  ), i;
1237
1258
  }
1238
1259
  function M(N, I, z, E, P) {
1239
- for (var B = [], q = 0; q < h.length; q++) {
1240
- var S = h[q], j = S(N, I, z, E, P, t);
1260
+ for (var B = [], q = 0; q < x.length; q++) {
1261
+ var S = x[q], j = S(N, I, z, E, P, t);
1241
1262
  if (j == null)
1242
1263
  return null;
1243
1264
  j.data && r(j.data, "expectedType") && B.push(j.data.expectedType);
@@ -1248,23 +1269,23 @@ function oo() {
1248
1269
  return b(M);
1249
1270
  }
1250
1271
  function Z() {
1251
- function h(C, L, M, N, I) {
1272
+ function x(C, L, M, N, I) {
1252
1273
  return H(C[L]) ? null : new m("Invalid " + N + " `" + I + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
1253
1274
  }
1254
- return b(h);
1275
+ return b(x);
1255
1276
  }
1256
- function ae(h, C, L, M, N) {
1277
+ function ae(x, C, L, M, N) {
1257
1278
  return new m(
1258
- (h || "React class") + ": " + C + " type `" + L + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
1279
+ (x || "React class") + ": " + C + " type `" + L + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
1259
1280
  );
1260
1281
  }
1261
- function ue(h) {
1282
+ function ue(x) {
1262
1283
  function C(L, M, N, I, z) {
1263
1284
  var E = L[M], P = T(E);
1264
1285
  if (P !== "object")
1265
1286
  return new m("Invalid " + I + " `" + z + "` of type `" + P + "` " + ("supplied to `" + N + "`, expected `object`."));
1266
- for (var B in h) {
1267
- var q = h[B];
1287
+ for (var B in x) {
1288
+ var q = x[B];
1268
1289
  if (typeof q != "function")
1269
1290
  return ae(N, I, z, B, te(q));
1270
1291
  var S = q(E, B, N, I, z + "." + B, t);
@@ -1275,20 +1296,20 @@ function oo() {
1275
1296
  }
1276
1297
  return b(C);
1277
1298
  }
1278
- function Q(h) {
1299
+ function Q(x) {
1279
1300
  function C(L, M, N, I, z) {
1280
1301
  var E = L[M], P = T(E);
1281
1302
  if (P !== "object")
1282
1303
  return new m("Invalid " + I + " `" + z + "` of type `" + P + "` " + ("supplied to `" + N + "`, expected `object`."));
1283
- var B = n({}, L[M], h);
1304
+ var B = n({}, L[M], x);
1284
1305
  for (var q in B) {
1285
- var S = h[q];
1286
- if (r(h, q) && typeof S != "function")
1306
+ var S = x[q];
1307
+ if (r(x, q) && typeof S != "function")
1287
1308
  return ae(N, I, z, q, te(S));
1288
1309
  if (!S)
1289
1310
  return new m(
1290
1311
  "Invalid " + I + " `" + z + "` key `" + q + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(L[M], null, " ") + `
1291
- Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1312
+ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1292
1313
  );
1293
1314
  var j = S(E, q, N, I, z + "." + q, t);
1294
1315
  if (j)
@@ -1298,23 +1319,23 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1298
1319
  }
1299
1320
  return b(C);
1300
1321
  }
1301
- function H(h) {
1302
- switch (typeof h) {
1322
+ function H(x) {
1323
+ switch (typeof x) {
1303
1324
  case "number":
1304
1325
  case "string":
1305
1326
  case "undefined":
1306
1327
  return !0;
1307
1328
  case "boolean":
1308
- return !h;
1329
+ return !x;
1309
1330
  case "object":
1310
- if (Array.isArray(h))
1311
- return h.every(H);
1312
- if (h === null || l(h))
1331
+ if (Array.isArray(x))
1332
+ return x.every(H);
1333
+ if (x === null || l(x))
1313
1334
  return !0;
1314
- var C = g(h);
1335
+ var C = g(x);
1315
1336
  if (C) {
1316
- var L = C.call(h), M;
1317
- if (C !== h.entries) {
1337
+ var L = C.call(x), M;
1338
+ if (C !== x.entries) {
1318
1339
  for (; !(M = L.next()).done; )
1319
1340
  if (!H(M.value))
1320
1341
  return !1;
@@ -1331,27 +1352,27 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1331
1352
  return !1;
1332
1353
  }
1333
1354
  }
1334
- function Y(h, C) {
1335
- return h === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
1355
+ function Y(x, C) {
1356
+ return x === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
1336
1357
  }
1337
- function T(h) {
1338
- var C = typeof h;
1339
- return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : Y(C, h) ? "symbol" : C;
1358
+ function T(x) {
1359
+ var C = typeof x;
1360
+ return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : Y(C, x) ? "symbol" : C;
1340
1361
  }
1341
- function te(h) {
1342
- if (typeof h > "u" || h === null)
1343
- return "" + h;
1344
- var C = T(h);
1362
+ function te(x) {
1363
+ if (typeof x > "u" || x === null)
1364
+ return "" + x;
1365
+ var C = T(x);
1345
1366
  if (C === "object") {
1346
- if (h instanceof Date)
1367
+ if (x instanceof Date)
1347
1368
  return "date";
1348
- if (h instanceof RegExp)
1369
+ if (x instanceof RegExp)
1349
1370
  return "regexp";
1350
1371
  }
1351
1372
  return C;
1352
1373
  }
1353
- function pe(h) {
1354
- var C = te(h);
1374
+ function pe(x) {
1375
+ var C = te(x);
1355
1376
  switch (C) {
1356
1377
  case "array":
1357
1378
  case "object":
@@ -1364,8 +1385,8 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1364
1385
  return C;
1365
1386
  }
1366
1387
  }
1367
- function X(h) {
1368
- return !h.constructor || !h.constructor.name ? p : h.constructor.name;
1388
+ function X(x) {
1389
+ return !x.constructor || !x.constructor.name ? p : x.constructor.name;
1369
1390
  }
1370
1391
  return f.checkPropTypes = o, f.resetWarningCache = o.resetWarningCache, f.PropTypes = f, f;
1371
1392
  }, Mt;
@@ -2694,7 +2715,7 @@ const uo = [
2694
2715
  ];
2695
2716
  function po(e) {
2696
2717
  return Ne(this, void 0, void 0, function* () {
2697
- return pt(e) && fo(e.dataTransfer) ? ho(e.dataTransfer, e.type) : mo(e) ? go(e) : Array.isArray(e) && e.every((n) => "getFile" in n && typeof n.getFile == "function") ? vo(e) : [];
2718
+ return pt(e) && fo(e.dataTransfer) ? xo(e.dataTransfer, e.type) : mo(e) ? go(e) : Array.isArray(e) && e.every((n) => "getFile" in n && typeof n.getFile == "function") ? vo(e) : [];
2698
2719
  });
2699
2720
  }
2700
2721
  function fo(e) {
@@ -2714,13 +2735,13 @@ function vo(e) {
2714
2735
  return (yield Promise.all(e.map((t) => t.getFile()))).map((t) => Oe(t));
2715
2736
  });
2716
2737
  }
2717
- function ho(e, n) {
2738
+ function xo(e, n) {
2718
2739
  return Ne(this, void 0, void 0, function* () {
2719
2740
  if (e.items) {
2720
2741
  const t = Wt(e.items).filter((o) => o.kind === "file");
2721
2742
  if (n !== "drop")
2722
2743
  return t;
2723
- const r = yield Promise.all(t.map(xo));
2744
+ const r = yield Promise.all(t.map(ho));
2724
2745
  return Mn(ar(r));
2725
2746
  }
2726
2747
  return Mn(Wt(e.files).map((t) => Oe(t)));
@@ -2739,7 +2760,7 @@ function Wt(e) {
2739
2760
  }
2740
2761
  return n;
2741
2762
  }
2742
- function xo(e) {
2763
+ function ho(e) {
2743
2764
  if (typeof e.webkitGetAsEntry != "function")
2744
2765
  return Ln(e);
2745
2766
  const n = e.webkitGetAsEntry();
@@ -3129,7 +3150,7 @@ var on = /* @__PURE__ */ Ye(function(e, n) {
3129
3150
  return {
3130
3151
  open: a
3131
3152
  };
3132
- }, [a]), /* @__PURE__ */ Pe.createElement(Yr, null, t(le(le({}, i), {}, {
3153
+ }, [a]), /* @__PURE__ */ je.createElement(Yr, null, t(le(le({}, i), {}, {
3133
3154
  open: a
3134
3155
  })));
3135
3156
  });
@@ -3329,7 +3350,7 @@ var Kt = {
3329
3350
  fileRejections: []
3330
3351
  };
3331
3352
  function gr() {
3332
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = le(le({}, mr), e), t = n.accept, r = n.disabled, o = n.getFilesFromEvent, a = n.maxSize, i = n.minSize, l = n.multiple, c = n.maxFiles, u = n.onDragEnter, d = n.onDragLeave, g = n.onDragOver, p = n.onDrop, f = n.onDropAccepted, v = n.onDropRejected, m = n.onFileDialogCancel, b = n.onFileDialogOpen, x = n.useFsAccessApi, k = n.autoFocus, w = n.preventDropOnDocument, $ = n.noClick, y = n.noKeyboard, O = n.noDrag, D = n.noDragEventsBubbling, V = n.onError, F = n.validator, Z = Te(function() {
3353
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = le(le({}, mr), e), t = n.accept, r = n.disabled, o = n.getFilesFromEvent, a = n.maxSize, i = n.minSize, l = n.multiple, c = n.maxFiles, u = n.onDragEnter, d = n.onDragLeave, g = n.onDragOver, p = n.onDrop, f = n.onDropAccepted, v = n.onDropRejected, m = n.onFileDialogCancel, b = n.onFileDialogOpen, h = n.useFsAccessApi, k = n.autoFocus, w = n.preventDropOnDocument, $ = n.noClick, y = n.noKeyboard, O = n.noDrag, D = n.noDragEventsBubbling, V = n.onError, F = n.validator, Z = Te(function() {
3333
3354
  return Ho(t);
3334
3355
  }, [t]), ae = Te(function() {
3335
3356
  return Vo(t);
@@ -3337,7 +3358,7 @@ function gr() {
3337
3358
  return typeof b == "function" ? b : Vn;
3338
3359
  }, [b]), Q = Te(function() {
3339
3360
  return typeof m == "function" ? m : Vn;
3340
- }, [m]), H = se(null), Y = se(null), T = Ur(ra, Kt), te = At(T, 2), pe = te[0], X = te[1], h = pe.isFocused, C = pe.isFileDialogActive, L = se(typeof window < "u" && window.isSecureContext && x && Io()), M = function() {
3361
+ }, [m]), H = se(null), Y = se(null), T = Ur(ra, Kt), te = At(T, 2), pe = te[0], X = te[1], x = pe.isFocused, C = pe.isFileDialogActive, L = se(typeof window < "u" && window.isSecureContext && h && Io()), M = function() {
3341
3362
  !L.current && C && setTimeout(function() {
3342
3363
  if (Y.current) {
3343
3364
  var G = Y.current.files;
@@ -3466,7 +3487,7 @@ function gr() {
3466
3487
  Y.current && (X({
3467
3488
  type: "openDialog"
3468
3489
  }), ue(), Y.current.value = null, Y.current.click());
3469
- }, [X, ue, Q, x, q, z, ae, l]), _ = oe(function(A) {
3490
+ }, [X, ue, Q, h, q, z, ae, l]), _ = oe(function(A) {
3470
3491
  !H.current || !H.current.isEqualNode(A.target) || (A.key === " " || A.key === "Enter" || A.keyCode === 32 || A.keyCode === 13) && (A.preventDefault(), j());
3471
3492
  }, [H, j]), J = oe(function() {
3472
3493
  X({
@@ -3531,7 +3552,7 @@ function gr() {
3531
3552
  };
3532
3553
  }, [Y, t, l, S, r]);
3533
3554
  return le(le({}, pe), {}, {
3534
- isFocused: h && !r,
3555
+ isFocused: x && !r,
3535
3556
  getRootProps: Br,
3536
3557
  getInputProps: Gr,
3537
3558
  rootRef: H,
@@ -3600,16 +3621,16 @@ const zl = ({
3600
3621
  showList: v = !0,
3601
3622
  listView: m = !0,
3602
3623
  showListImage: b = !1,
3603
- uploadedFiles: x = [],
3624
+ uploadedFiles: h = [],
3604
3625
  // New prop for pre-uploaded files
3605
3626
  onDeleteCallback: k = () => {
3606
3627
  }
3607
3628
  //
3608
3629
  }) => {
3609
- const [w, $] = K(x), [y, O] = K([]);
3630
+ const [w, $] = K(h), [y, O] = K([]);
3610
3631
  ce(() => {
3611
- $(x);
3612
- }, [x]);
3632
+ $(h);
3633
+ }, [h]);
3613
3634
  const D = oe(
3614
3635
  (Q, H) => {
3615
3636
  const Y = [];
@@ -3796,21 +3817,21 @@ const aa = {
3796
3817
  }, g) => {
3797
3818
  const p = se([]), f = (m, b) => {
3798
3819
  var w;
3799
- const x = m.target.value.replace(/[^0-9]/g, "").slice(0, 1);
3800
- if (!x && t[b] === void 0) return;
3801
- const k = t.substring(0, b) + x + t.substring(b + 1, a);
3802
- r == null || r(k), x && b < a - 1 && ((w = p.current[b + 1]) == null || w.focus()), o && k.length === a && !k.split("").some(($) => !$) && o(k);
3820
+ const h = m.target.value.replace(/[^0-9]/g, "").slice(0, 1);
3821
+ if (!h && t[b] === void 0) return;
3822
+ const k = t.substring(0, b) + h + t.substring(b + 1, a);
3823
+ r == null || r(k), h && b < a - 1 && ((w = p.current[b + 1]) == null || w.focus()), o && k.length === a && !k.split("").some(($) => !$) && o(k);
3803
3824
  }, v = (m, b) => {
3804
- var x, k, w;
3825
+ var h, k, w;
3805
3826
  m.key === "Backspace" && !t[b] && b > 0 ? (r == null || r(
3806
3827
  t.substring(0, b - 1) + "" + t.substring(b, a)
3807
- ), (x = p.current[b - 1]) == null || x.focus(), m.preventDefault()) : m.key === "ArrowLeft" && b > 0 ? ((k = p.current[b - 1]) == null || k.focus(), m.preventDefault()) : m.key === "ArrowRight" && b < a - 1 && ((w = p.current[b + 1]) == null || w.focus(), m.preventDefault());
3828
+ ), (h = p.current[b - 1]) == null || h.focus(), m.preventDefault()) : m.key === "ArrowLeft" && b > 0 ? ((k = p.current[b - 1]) == null || k.focus(), m.preventDefault()) : m.key === "ArrowRight" && b < a - 1 && ((w = p.current[b + 1]) == null || w.focus(), m.preventDefault());
3808
3829
  };
3809
3830
  return /* @__PURE__ */ s.jsx("div", { className: `flex justify-center gap-2 ${e}`, children: Array.from({ length: a }).map((m, b) => /* @__PURE__ */ s.jsx(
3810
3831
  "input",
3811
3832
  {
3812
- ref: (x) => {
3813
- p.current[b] = x;
3833
+ ref: (h) => {
3834
+ p.current[b] = h;
3814
3835
  },
3815
3836
  type: "text",
3816
3837
  inputMode: "numeric",
@@ -3825,8 +3846,8 @@ const aa = {
3825
3846
  ${n}
3826
3847
  `,
3827
3848
  value: t[b] || "",
3828
- onChange: (x) => f(x, b),
3829
- onKeyDown: (x) => v(x, b),
3849
+ onChange: (h) => f(h, b),
3850
+ onKeyDown: (h) => v(h, b),
3830
3851
  ...d
3831
3852
  },
3832
3853
  b
@@ -3860,10 +3881,10 @@ const ca = {
3860
3881
  size: v = "medium",
3861
3882
  ...m
3862
3883
  }, b) => {
3863
- const x = u ? "border-color-red-500 focus-within:ring-color-red-500" : "border-color-gray-200", k = u ? "text-color-red-500" : i;
3884
+ const h = u ? "border-color-red-500 focus-within:ring-color-red-500" : "border-color-gray-200", k = u ? "text-color-red-500" : i;
3864
3885
  return /* @__PURE__ */ s.jsxs("div", { className: "w-full", children: [
3865
3886
  g && /* @__PURE__ */ s.jsx("label", { className: `text-sm text-color-gray-500 mb-2 block ${p}`, children: g }),
3866
- /* @__PURE__ */ s.jsxs("div", { className: `flex items-center w-full rounded-md border focus-within:ring-1 ${x} ${ua[f]} ${o}`, children: [
3887
+ /* @__PURE__ */ s.jsxs("div", { className: `flex items-center w-full rounded-md border focus-within:ring-1 ${h} ${ua[f]} ${o}`, children: [
3867
3888
  l && /* @__PURE__ */ s.jsx("span", { className: `pl-3 ${k}`, children: l }),
3868
3889
  /* @__PURE__ */ s.jsx(
3869
3890
  "input",
@@ -3907,7 +3928,7 @@ const da = Ye((e, n) => {
3907
3928
  );
3908
3929
  });
3909
3930
  da.displayName = "PasswordInput";
3910
- const hr = ({
3931
+ const xr = ({
3911
3932
  src: e,
3912
3933
  alt: n,
3913
3934
  size: t = "medium",
@@ -3941,7 +3962,7 @@ const hr = ({
3941
3962
  ) : r || ((u = n == null ? void 0 : n[0]) == null ? void 0 : u.toUpperCase()) || "?"
3942
3963
  }
3943
3964
  );
3944
- }, je = ({
3965
+ }, Re = ({
3945
3966
  variant: e = "filled",
3946
3967
  color: n = "blue",
3947
3968
  icon: t,
@@ -3957,8 +3978,8 @@ const hr = ({
3957
3978
  const d = se(null), g = (v) => {
3958
3979
  const m = d.current;
3959
3980
  if (!m) return;
3960
- const b = document.createElement("span"), x = m.getBoundingClientRect(), k = Math.max(x.width, x.height);
3961
- b.style.width = b.style.height = `${k}px`, b.style.left = `${v.clientX - x.left - k / 2}px`, b.style.top = `${v.clientY - x.top - k / 2}px`, b.className = "ripple_small", m.appendChild(b), setTimeout(() => b.remove(), 600), r == null || r(v);
3981
+ const b = document.createElement("span"), h = m.getBoundingClientRect(), k = Math.max(h.width, h.height);
3982
+ b.style.width = b.style.height = `${k}px`, b.style.left = `${v.clientX - h.left - k / 2}px`, b.style.top = `${v.clientY - h.top - k / 2}px`, b.className = "ripple_small", m.appendChild(b), setTimeout(() => b.remove(), 600), r == null || r(v);
3962
3983
  }, p = ((f = ve[n]) == null ? void 0 : f[e === "filled" ? "filled" : e === "outlined" ? "outline" : "transparent"]) || "";
3963
3984
  return /* @__PURE__ */ s.jsx(
3964
3985
  "button",
@@ -4002,13 +4023,13 @@ const hr = ({
4002
4023
  avatar: d,
4003
4024
  icon: g
4004
4025
  }) => {
4005
- var x, k;
4006
- const p = (x = ve[n]) == null ? void 0 : x.filled, f = (k = ve[n]) == null ? void 0 : k.outline, v = pa[r], m = `inline-flex items-center rounded-full font-medium leading-none ${t === "outlined" ? `border ${f}` : p} ${v} ${a ? "cursor-pointer transition hover:opacity-80" : ""}`.trim(), b = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
4007
- d && /* @__PURE__ */ s.jsx(hr, { ...typeof d == "object" ? d : {}, className: `-ml-1 mr-1 ${Hn[r]}` }),
4026
+ var h, k;
4027
+ const p = (h = ve[n]) == null ? void 0 : h.filled, f = (k = ve[n]) == null ? void 0 : k.outline, v = pa[r], m = `inline-flex items-center rounded-full font-medium leading-none ${t === "outlined" ? `border ${f}` : p} ${v} ${a ? "cursor-pointer transition hover:opacity-80" : ""}`.trim(), b = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
4028
+ d && /* @__PURE__ */ s.jsx(xr, { ...typeof d == "object" ? d : {}, className: `-ml-1 mr-1 ${Hn[r]}` }),
4008
4029
  g && /* @__PURE__ */ s.jsx("span", { className: "mr-1 -ml-1", children: g }),
4009
4030
  /* @__PURE__ */ s.jsx("span", { children: e }),
4010
4031
  i && /* @__PURE__ */ s.jsx(
4011
- je,
4032
+ Re,
4012
4033
  {
4013
4034
  type: "button",
4014
4035
  className: `ml-1 -mr-1 ${Hn[r]}`,
@@ -4046,14 +4067,14 @@ const hr = ({
4046
4067
  number: r = "1234567890",
4047
4068
  className: o = ""
4048
4069
  }) => /* @__PURE__ */ s.jsxs("div", { className: o || "flex items-center gap-2 w-fit bg-color-transparent rounded-md p-1", children: [
4049
- /* @__PURE__ */ s.jsx(hr, { size: e, src: n, alt: `${t}'s profile` }),
4070
+ /* @__PURE__ */ s.jsx(xr, { size: e, src: n, alt: `${t}'s profile` }),
4050
4071
  /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col", children: [
4051
4072
  /* @__PURE__ */ s.jsx("span", { className: "text-sm font-medium text-color-gray-800", children: t }),
4052
4073
  /* @__PURE__ */ s.jsx("span", { className: "text-xs text-color-gray-600", children: r })
4053
4074
  ] })
4054
4075
  ] }), Il = ({ steps: e, currentStep: n, className: t = "", onChange: r }) => /* @__PURE__ */ s.jsx("div", { className: `flex items-center ${t}`, children: e.map((o, a) => {
4055
4076
  const i = a === n, l = a < n;
4056
- return /* @__PURE__ */ s.jsxs(Pe.Fragment, { children: [
4077
+ return /* @__PURE__ */ s.jsxs(je.Fragment, { children: [
4057
4078
  /* @__PURE__ */ s.jsxs(
4058
4079
  "div",
4059
4080
  {
@@ -4209,7 +4230,7 @@ function va(e, n, t, r) {
4209
4230
  p.createColumn == null || p.createColumn(g, e);
4210
4231
  return g;
4211
4232
  }
4212
- const xe = "debugHeaders";
4233
+ const he = "debugHeaders";
4213
4234
  function Bn(e, n, t) {
4214
4235
  var r;
4215
4236
  let a = {
@@ -4239,33 +4260,33 @@ function Bn(e, n, t) {
4239
4260
  i.createHeader == null || i.createHeader(a, e);
4240
4261
  }), a;
4241
4262
  }
4242
- const ha = {
4263
+ const xa = {
4243
4264
  createTable: (e) => {
4244
4265
  e.getHeaderGroups = W(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, r, o) => {
4245
4266
  var a, i;
4246
4267
  const l = (a = r == null ? void 0 : r.map((g) => t.find((p) => p.id === g)).filter(Boolean)) != null ? a : [], c = (i = o == null ? void 0 : o.map((g) => t.find((p) => p.id === g)).filter(Boolean)) != null ? i : [], u = t.filter((g) => !(r != null && r.includes(g.id)) && !(o != null && o.includes(g.id)));
4247
4268
  return at(n, [...l, ...u, ...c], e);
4248
- }, U(e.options, xe, "getHeaderGroups")), e.getCenterHeaderGroups = W(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, r, o) => (t = t.filter((a) => !(r != null && r.includes(a.id)) && !(o != null && o.includes(a.id))), at(n, t, e, "center")), U(e.options, xe, "getCenterHeaderGroups")), e.getLeftHeaderGroups = W(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (n, t, r) => {
4269
+ }, U(e.options, he, "getHeaderGroups")), e.getCenterHeaderGroups = W(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, r, o) => (t = t.filter((a) => !(r != null && r.includes(a.id)) && !(o != null && o.includes(a.id))), at(n, t, e, "center")), U(e.options, he, "getCenterHeaderGroups")), e.getLeftHeaderGroups = W(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (n, t, r) => {
4249
4270
  var o;
4250
4271
  const a = (o = r == null ? void 0 : r.map((i) => t.find((l) => l.id === i)).filter(Boolean)) != null ? o : [];
4251
4272
  return at(n, a, e, "left");
4252
- }, U(e.options, xe, "getLeftHeaderGroups")), e.getRightHeaderGroups = W(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (n, t, r) => {
4273
+ }, U(e.options, he, "getLeftHeaderGroups")), e.getRightHeaderGroups = W(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (n, t, r) => {
4253
4274
  var o;
4254
4275
  const a = (o = r == null ? void 0 : r.map((i) => t.find((l) => l.id === i)).filter(Boolean)) != null ? o : [];
4255
4276
  return at(n, a, e, "right");
4256
- }, U(e.options, xe, "getRightHeaderGroups")), e.getFooterGroups = W(() => [e.getHeaderGroups()], (n) => [...n].reverse(), U(e.options, xe, "getFooterGroups")), e.getLeftFooterGroups = W(() => [e.getLeftHeaderGroups()], (n) => [...n].reverse(), U(e.options, xe, "getLeftFooterGroups")), e.getCenterFooterGroups = W(() => [e.getCenterHeaderGroups()], (n) => [...n].reverse(), U(e.options, xe, "getCenterFooterGroups")), e.getRightFooterGroups = W(() => [e.getRightHeaderGroups()], (n) => [...n].reverse(), U(e.options, xe, "getRightFooterGroups")), e.getFlatHeaders = W(() => [e.getHeaderGroups()], (n) => n.map((t) => t.headers).flat(), U(e.options, xe, "getFlatHeaders")), e.getLeftFlatHeaders = W(() => [e.getLeftHeaderGroups()], (n) => n.map((t) => t.headers).flat(), U(e.options, xe, "getLeftFlatHeaders")), e.getCenterFlatHeaders = W(() => [e.getCenterHeaderGroups()], (n) => n.map((t) => t.headers).flat(), U(e.options, xe, "getCenterFlatHeaders")), e.getRightFlatHeaders = W(() => [e.getRightHeaderGroups()], (n) => n.map((t) => t.headers).flat(), U(e.options, xe, "getRightFlatHeaders")), e.getCenterLeafHeaders = W(() => [e.getCenterFlatHeaders()], (n) => n.filter((t) => {
4277
+ }, U(e.options, he, "getRightHeaderGroups")), e.getFooterGroups = W(() => [e.getHeaderGroups()], (n) => [...n].reverse(), U(e.options, he, "getFooterGroups")), e.getLeftFooterGroups = W(() => [e.getLeftHeaderGroups()], (n) => [...n].reverse(), U(e.options, he, "getLeftFooterGroups")), e.getCenterFooterGroups = W(() => [e.getCenterHeaderGroups()], (n) => [...n].reverse(), U(e.options, he, "getCenterFooterGroups")), e.getRightFooterGroups = W(() => [e.getRightHeaderGroups()], (n) => [...n].reverse(), U(e.options, he, "getRightFooterGroups")), e.getFlatHeaders = W(() => [e.getHeaderGroups()], (n) => n.map((t) => t.headers).flat(), U(e.options, he, "getFlatHeaders")), e.getLeftFlatHeaders = W(() => [e.getLeftHeaderGroups()], (n) => n.map((t) => t.headers).flat(), U(e.options, he, "getLeftFlatHeaders")), e.getCenterFlatHeaders = W(() => [e.getCenterHeaderGroups()], (n) => n.map((t) => t.headers).flat(), U(e.options, he, "getCenterFlatHeaders")), e.getRightFlatHeaders = W(() => [e.getRightHeaderGroups()], (n) => n.map((t) => t.headers).flat(), U(e.options, he, "getRightFlatHeaders")), e.getCenterLeafHeaders = W(() => [e.getCenterFlatHeaders()], (n) => n.filter((t) => {
4257
4278
  var r;
4258
4279
  return !((r = t.subHeaders) != null && r.length);
4259
- }), U(e.options, xe, "getCenterLeafHeaders")), e.getLeftLeafHeaders = W(() => [e.getLeftFlatHeaders()], (n) => n.filter((t) => {
4280
+ }), U(e.options, he, "getCenterLeafHeaders")), e.getLeftLeafHeaders = W(() => [e.getLeftFlatHeaders()], (n) => n.filter((t) => {
4260
4281
  var r;
4261
4282
  return !((r = t.subHeaders) != null && r.length);
4262
- }), U(e.options, xe, "getLeftLeafHeaders")), e.getRightLeafHeaders = W(() => [e.getRightFlatHeaders()], (n) => n.filter((t) => {
4283
+ }), U(e.options, he, "getLeftLeafHeaders")), e.getRightLeafHeaders = W(() => [e.getRightFlatHeaders()], (n) => n.filter((t) => {
4263
4284
  var r;
4264
4285
  return !((r = t.subHeaders) != null && r.length);
4265
- }), U(e.options, xe, "getRightLeafHeaders")), e.getLeafHeaders = W(() => [e.getLeftHeaderGroups(), e.getCenterHeaderGroups(), e.getRightHeaderGroups()], (n, t, r) => {
4286
+ }), U(e.options, he, "getRightLeafHeaders")), e.getLeafHeaders = W(() => [e.getLeftHeaderGroups(), e.getCenterHeaderGroups(), e.getRightHeaderGroups()], (n, t, r) => {
4266
4287
  var o, a, i, l, c, u;
4267
4288
  return [...(o = (a = n[0]) == null ? void 0 : a.headers) != null ? o : [], ...(i = (l = t[0]) == null ? void 0 : l.headers) != null ? i : [], ...(c = (u = r[0]) == null ? void 0 : u.headers) != null ? c : []].map((d) => d.getLeafHeaders()).flat();
4268
- }, U(e.options, xe, "getLeafHeaders"));
4289
+ }, U(e.options, he, "getLeafHeaders"));
4269
4290
  }
4270
4291
  };
4271
4292
  function at(e, n, t, r) {
@@ -4286,10 +4307,10 @@ function at(e, n, t, r) {
4286
4307
  headers: []
4287
4308
  }, m = [];
4288
4309
  p.forEach((b) => {
4289
- const x = [...m].reverse()[0], k = b.column.depth === v.depth;
4310
+ const h = [...m].reverse()[0], k = b.column.depth === v.depth;
4290
4311
  let w, $ = !1;
4291
- if (k && b.column.parent ? w = b.column.parent : (w = b.column, $ = !0), x && (x == null ? void 0 : x.column) === w)
4292
- x.subHeaders.push(b);
4312
+ if (k && b.column.parent ? w = b.column.parent : (w = b.column, $ = !0), h && (h == null ? void 0 : h.column) === w)
4313
+ h.subHeaders.push(b);
4293
4314
  else {
4294
4315
  const y = Bn(t, w, {
4295
4316
  id: [r, f, w.id, b == null ? void 0 : b.id].filter(Boolean).join("_"),
@@ -4308,15 +4329,15 @@ function at(e, n, t, r) {
4308
4329
  }));
4309
4330
  u(d, i - 1), c.reverse();
4310
4331
  const g = (p) => p.filter((v) => v.column.getIsVisible()).map((v) => {
4311
- let m = 0, b = 0, x = [0];
4312
- v.subHeaders && v.subHeaders.length ? (x = [], g(v.subHeaders).forEach((w) => {
4332
+ let m = 0, b = 0, h = [0];
4333
+ v.subHeaders && v.subHeaders.length ? (h = [], g(v.subHeaders).forEach((w) => {
4313
4334
  let {
4314
4335
  colSpan: $,
4315
4336
  rowSpan: y
4316
4337
  } = w;
4317
- m += $, x.push(y);
4338
+ m += $, h.push(y);
4318
4339
  })) : m = 1;
4319
- const k = Math.min(...x);
4340
+ const k = Math.min(...h);
4320
4341
  return b = b + k, v.colSpan = m, v.rowSpan = b, {
4321
4342
  colSpan: m,
4322
4343
  rowSpan: b
@@ -4324,7 +4345,7 @@ function at(e, n, t, r) {
4324
4345
  });
4325
4346
  return g((o = (a = c[0]) == null ? void 0 : a.headers) != null ? o : []), c;
4326
4347
  }
4327
- const xa = (e, n, t, r, o, a, i) => {
4348
+ const ha = (e, n, t, r, o, a, i) => {
4328
4349
  let l = {
4329
4350
  id: n,
4330
4351
  index: r,
@@ -4378,12 +4399,12 @@ const xa = (e, n, t, r, o, a, i) => {
4378
4399
  return e._getFacetedMinMaxValues();
4379
4400
  };
4380
4401
  }
4381
- }, xr = (e, n, t) => {
4402
+ }, hr = (e, n, t) => {
4382
4403
  var r, o;
4383
4404
  const a = t == null || (r = t.toString()) == null ? void 0 : r.toLowerCase();
4384
4405
  return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null || (o = o.toLowerCase()) == null) && o.includes(a));
4385
4406
  };
4386
- xr.autoRemove = (e) => Ce(e);
4407
+ hr.autoRemove = (e) => Ce(e);
4387
4408
  const br = (e, n, t) => {
4388
4409
  var r;
4389
4410
  return !!(!((r = e.getValue(n)) == null || (r = r.toString()) == null) && r.includes(t));
@@ -4427,8 +4448,8 @@ an.resolveFilterValue = (e) => {
4427
4448
  return [a, i];
4428
4449
  };
4429
4450
  an.autoRemove = (e) => Ce(e) || Ce(e[0]) && Ce(e[1]);
4430
- const Re = {
4431
- includesString: xr,
4451
+ const ke = {
4452
+ includesString: hr,
4432
4453
  includesStringSensitive: br,
4433
4454
  equalsString: wr,
4434
4455
  arrIncludes: yr,
@@ -4457,12 +4478,12 @@ const wa = {
4457
4478
  createColumn: (e, n) => {
4458
4479
  e.getAutoFilterFn = () => {
4459
4480
  const t = n.getCoreRowModel().flatRows[0], r = t == null ? void 0 : t.getValue(e.id);
4460
- return typeof r == "string" ? Re.includesString : typeof r == "number" ? Re.inNumberRange : typeof r == "boolean" || r !== null && typeof r == "object" ? Re.equals : Array.isArray(r) ? Re.arrIncludes : Re.weakEquals;
4481
+ return typeof r == "string" ? ke.includesString : typeof r == "number" ? ke.inNumberRange : typeof r == "boolean" || r !== null && typeof r == "object" ? ke.equals : Array.isArray(r) ? ke.arrIncludes : ke.weakEquals;
4461
4482
  }, e.getFilterFn = () => {
4462
4483
  var t, r;
4463
4484
  return vt(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
4464
4485
  // @ts-ignore
4465
- (t = (r = n.options.filterFns) == null ? void 0 : r[e.columnDef.filterFn]) != null ? t : Re[e.columnDef.filterFn]
4486
+ (t = (r = n.options.filterFns) == null ? void 0 : r[e.columnDef.filterFn]) != null ? t : ke[e.columnDef.filterFn]
4466
4487
  );
4467
4488
  }, e.getCanFilter = () => {
4468
4489
  var t, r, o;
@@ -4820,7 +4841,7 @@ const La = {
4820
4841
  return (a) => {
4821
4842
  if (!r || !o || (a.persist == null || a.persist(), Tt(a) && a.touches && a.touches.length > 1))
4822
4843
  return;
4823
- const i = e.getSize(), l = e ? e.getLeafHeaders().map((x) => [x.column.id, x.column.getSize()]) : [[r.id, r.getSize()]], c = Tt(a) ? Math.round(a.touches[0].clientX) : a.clientX, u = {}, d = (x, k) => {
4844
+ const i = e.getSize(), l = e ? e.getLeafHeaders().map((h) => [h.column.id, h.column.getSize()]) : [[r.id, r.getSize()]], c = Tt(a) ? Math.round(a.touches[0].clientX) : a.clientX, u = {}, d = (h, k) => {
4824
4845
  typeof k == "number" && (n.setColumnSizingInfo((w) => {
4825
4846
  var $, y;
4826
4847
  const O = n.options.columnResizeDirection === "rtl" ? -1 : 1, D = (k - (($ = w == null ? void 0 : w.startOffset) != null ? $ : 0)) * O, V = Math.max(D / ((y = w == null ? void 0 : w.startSize) != null ? y : 0), -0.999999);
@@ -4832,12 +4853,12 @@ const La = {
4832
4853
  deltaOffset: D,
4833
4854
  deltaPercentage: V
4834
4855
  };
4835
- }), (n.options.columnResizeMode === "onChange" || x === "end") && n.setColumnSizing((w) => ({
4856
+ }), (n.options.columnResizeMode === "onChange" || h === "end") && n.setColumnSizing((w) => ({
4836
4857
  ...w,
4837
4858
  ...u
4838
4859
  })));
4839
- }, g = (x) => d("move", x), p = (x) => {
4840
- d("end", x), n.setColumnSizingInfo((k) => ({
4860
+ }, g = (h) => d("move", h), p = (h) => {
4861
+ d("end", h), n.setColumnSizingInfo((k) => ({
4841
4862
  ...k,
4842
4863
  isResizingColumn: !1,
4843
4864
  startOffset: null,
@@ -4847,21 +4868,21 @@ const La = {
4847
4868
  columnSizingStart: []
4848
4869
  }));
4849
4870
  }, f = t || typeof document < "u" ? document : null, v = {
4850
- moveHandler: (x) => g(x.clientX),
4851
- upHandler: (x) => {
4852
- f == null || f.removeEventListener("mousemove", v.moveHandler), f == null || f.removeEventListener("mouseup", v.upHandler), p(x.clientX);
4871
+ moveHandler: (h) => g(h.clientX),
4872
+ upHandler: (h) => {
4873
+ f == null || f.removeEventListener("mousemove", v.moveHandler), f == null || f.removeEventListener("mouseup", v.upHandler), p(h.clientX);
4853
4874
  }
4854
4875
  }, m = {
4855
- moveHandler: (x) => (x.cancelable && (x.preventDefault(), x.stopPropagation()), g(x.touches[0].clientX), !1),
4856
- upHandler: (x) => {
4876
+ moveHandler: (h) => (h.cancelable && (h.preventDefault(), h.stopPropagation()), g(h.touches[0].clientX), !1),
4877
+ upHandler: (h) => {
4857
4878
  var k;
4858
- f == null || f.removeEventListener("touchmove", m.moveHandler), f == null || f.removeEventListener("touchend", m.upHandler), x.cancelable && (x.preventDefault(), x.stopPropagation()), p((k = x.touches[0]) == null ? void 0 : k.clientX);
4879
+ f == null || f.removeEventListener("touchmove", m.moveHandler), f == null || f.removeEventListener("touchend", m.upHandler), h.cancelable && (h.preventDefault(), h.stopPropagation()), p((k = h.touches[0]) == null ? void 0 : k.clientX);
4859
4880
  }
4860
4881
  }, b = Na() ? {
4861
4882
  passive: !1
4862
4883
  } : !1;
4863
- Tt(a) ? (f == null || f.addEventListener("touchmove", m.moveHandler, b), f == null || f.addEventListener("touchend", m.upHandler, b)) : (f == null || f.addEventListener("mousemove", v.moveHandler, b), f == null || f.addEventListener("mouseup", v.upHandler, b)), n.setColumnSizingInfo((x) => ({
4864
- ...x,
4884
+ Tt(a) ? (f == null || f.addEventListener("touchmove", m.moveHandler, b), f == null || f.addEventListener("touchend", m.upHandler, b)) : (f == null || f.addEventListener("mousemove", v.moveHandler, b), f == null || f.addEventListener("mouseup", v.upHandler, b)), n.setColumnSizingInfo((h) => ({
4885
+ ...h,
4865
4886
  startOffset: c,
4866
4887
  startSize: i,
4867
4888
  deltaOffset: 0,
@@ -4990,12 +5011,12 @@ const za = {
4990
5011
  };
4991
5012
  },
4992
5013
  createTable: (e) => {
4993
- e.getGlobalAutoFilterFn = () => Re.includesString, e.getGlobalFilterFn = () => {
5014
+ e.getGlobalAutoFilterFn = () => ke.includesString, e.getGlobalFilterFn = () => {
4994
5015
  var n, t;
4995
5016
  const {
4996
5017
  globalFilterFn: r
4997
5018
  } = e.options;
4998
- return vt(r) ? r : r === "auto" ? e.getGlobalAutoFilterFn() : (n = (t = e.options.filterFns) == null ? void 0 : t[r]) != null ? n : Re[r];
5019
+ return vt(r) ? r : r === "auto" ? e.getGlobalAutoFilterFn() : (n = (t = e.options.filterFns) == null ? void 0 : t[r]) != null ? n : ke[r];
4999
5020
  }, e.setGlobalFilter = (n) => {
5000
5021
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(n);
5001
5022
  }, e.resetGlobalFilter = (n) => {
@@ -5559,7 +5580,7 @@ const qe = {
5559
5580
  }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
5560
5581
  }
5561
5582
  }, Ka = [
5562
- ha,
5583
+ xa,
5563
5584
  Da,
5564
5585
  La,
5565
5586
  Fa,
@@ -5660,8 +5681,8 @@ function Xa(e) {
5660
5681
  _getColumnDefs: () => o.options.columns,
5661
5682
  getAllColumns: W(() => [o._getColumnDefs()], (p) => {
5662
5683
  const f = function(v, m, b) {
5663
- return b === void 0 && (b = 0), v.map((x) => {
5664
- const k = va(o, x, b, m), w = x;
5684
+ return b === void 0 && (b = 0), v.map((h) => {
5685
+ const k = va(o, h, b, m), w = h;
5665
5686
  return k.columns = w.columns ? f(w.columns, k, b + 1) : [], k;
5666
5687
  });
5667
5688
  };
@@ -5695,7 +5716,7 @@ function Ja() {
5695
5716
  a === void 0 && (a = 0);
5696
5717
  const l = [];
5697
5718
  for (let u = 0; u < o.length; u++) {
5698
- const d = xa(e, e._getRowId(o[u], u, i), o[u], u, a, void 0, i == null ? void 0 : i.id);
5719
+ const d = ha(e, e._getRowId(o[u], u, i), o[u], u, a, void 0, i == null ? void 0 : i.id);
5699
5720
  if (t.flatRows.push(d), t.rowsById[d.id] = d, l.push(d), e.options.getSubRows) {
5700
5721
  var c;
5701
5722
  d.originalSubRows = e.options.getSubRows(o[u], u), (c = d.originalSubRows) != null && c.length && (d.subRows = r(d.originalSubRows, a + 1, d));
@@ -5777,7 +5798,7 @@ const ei = {
5777
5798
  caption: "span",
5778
5799
  overline: "span"
5779
5800
  }[e] || "p";
5780
- return /* @__PURE__ */ s.jsx(i, { className: `${ei[e]} ${(l = ve[o]) == null ? void 0 : l.transparent} ${t}`, children: r });
5801
+ return /* @__PURE__ */ s.jsx(i, { className: `${ei[e]} ${(l = ve[o]) == null ? void 0 : l.text} ${t}`, children: r });
5781
5802
  }, ni = ({
5782
5803
  total: e,
5783
5804
  currentPage: n,
@@ -5789,7 +5810,7 @@ const ei = {
5789
5810
  const i = Math.ceil(e / t), l = n === 1, c = n === i;
5790
5811
  return i <= 1 ? null : /* @__PURE__ */ s.jsxs("div", { className: `flex items-center space-x-1 ${a}`, children: [
5791
5812
  !o && /* @__PURE__ */ s.jsx(
5792
- je,
5813
+ Re,
5793
5814
  {
5794
5815
  color: "dark",
5795
5816
  icon: /* @__PURE__ */ s.jsx("svg", { className: "size-5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M4.83582 12L11.0429 18.2071L12.4571 16.7929L7.66424 12L12.4571 7.20712L11.0429 5.79291L4.83582 12ZM10.4857 12L16.6928 18.2071L18.107 16.7929L13.3141 12L18.107 7.20712L16.6928 5.79291L10.4857 12Z" }) }),
@@ -5801,7 +5822,7 @@ const ei = {
5801
5822
  }
5802
5823
  ),
5803
5824
  /* @__PURE__ */ s.jsx(
5804
- je,
5825
+ Re,
5805
5826
  {
5806
5827
  color: "dark",
5807
5828
  icon: /* @__PURE__ */ s.jsx("svg", { className: "size-5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M10.8284 12.0007L15.7782 16.9504L14.364 18.3646L8 12.0007L14.364 5.63672L15.7782 7.05093L10.8284 12.0007Z" }) }),
@@ -5819,7 +5840,7 @@ const ei = {
5819
5840
  i
5820
5841
  ] }),
5821
5842
  /* @__PURE__ */ s.jsx(
5822
- je,
5843
+ Re,
5823
5844
  {
5824
5845
  color: "dark",
5825
5846
  icon: /* @__PURE__ */ s.jsx("svg", { className: "size-5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" }) }),
@@ -5831,7 +5852,7 @@ const ei = {
5831
5852
  }
5832
5853
  ),
5833
5854
  !o && /* @__PURE__ */ s.jsx(
5834
- je,
5855
+ Re,
5835
5856
  {
5836
5857
  color: "dark",
5837
5858
  icon: /* @__PURE__ */ s.jsx("svg", { className: "size-5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M19.1642 12L12.9571 5.79291L11.5429 7.20712L16.3358 12L11.5429 16.7929L12.9571 18.2071L19.1642 12ZM13.5143 12L7.30722 5.79291L5.89301 7.20712L10.6859 12L5.89301 16.7929L7.30722 18.2071L13.5143 12Z" }) }),
@@ -5916,6 +5937,27 @@ const ei = {
5916
5937
  /* @__PURE__ */ s.jsx("div", { className: "flex-1", children: e }),
5917
5938
  n && /* @__PURE__ */ s.jsx("div", { className: "ml-4", children: n })
5918
5939
  ] }), ql = ({
5940
+ open: e,
5941
+ onClick: n,
5942
+ className: t = "",
5943
+ children: r,
5944
+ ...o
5945
+ }) => {
5946
+ const [a, i] = je.useState(!1);
5947
+ return je.useEffect(() => {
5948
+ let l;
5949
+ return e ? l = setTimeout(() => i(!0), 100) : i(!1), () => clearTimeout(l);
5950
+ }, [e]), !e && !a ? null : /* @__PURE__ */ s.jsx(
5951
+ "div",
5952
+ {
5953
+ className: `fixed inset-0 z-40 bg-color-black/50 flex items-center justify-center transition-all duration-300 ${a ? "opacity-100 pointer-events-auto" : "opacity-0 pointer-events-none"} ${t}`,
5954
+ onClick: n,
5955
+ "aria-hidden": !a,
5956
+ ...o,
5957
+ children: r
5958
+ }
5959
+ );
5960
+ }, Gl = ({
5919
5961
  animation: e = "pulse",
5920
5962
  variant: n = "rectangular",
5921
5963
  width: t,
@@ -5985,7 +6027,7 @@ const ei = {
5985
6027
  }
5986
6028
  ` })
5987
6029
  ] }) });
5988
- }, Gl = ({
6030
+ }, Wl = ({
5989
6031
  label: e,
5990
6032
  error: n,
5991
6033
  className: t = "",
@@ -6033,7 +6075,7 @@ function ri(e) {
6033
6075
  }, []);
6034
6076
  return { schedule: i, flush: a, cancel: l, last: t };
6035
6077
  }
6036
- const Wl = Zr(function({
6078
+ const Ul = Zr(function({
6037
6079
  /** controlled */
6038
6080
  value: n,
6039
6081
  /** uncontrolled */
@@ -6054,14 +6096,14 @@ const Wl = Zr(function({
6054
6096
  range: m = !1,
6055
6097
  minDistance: b = 0
6056
6098
  }) {
6057
- const x = n !== void 0, [k, w] = K(() => t !== void 0 ? t : m ? [a, i] : a), $ = x ? n : k, y = Array.isArray($) ? $[0] : $, [O, D] = Array.isArray($) ? $ : [$, $], V = qt[c] || qt.blue, F = Gn[u] ?? Gn.medium, Z = oe(
6099
+ const h = n !== void 0, [k, w] = K(() => t !== void 0 ? t : m ? [a, i] : a), $ = h ? n : k, y = Array.isArray($) ? $[0] : $, [O, D] = Array.isArray($) ? $ : [$, $], V = qt[c] || qt.blue, F = Gn[u] ?? Gn.medium, Z = oe(
6058
6100
  (_) => (_ - a) / (i - a) * 100,
6059
6101
  [a, i]
6060
6102
  ), ae = Z(y), ue = Z(O), Q = Z(D), H = oe((_) => Math.max(a, Math.min(i, _)), [a, i]), Y = oe((_) => Math.round(_ / l) * l, [l]), T = ri(r), te = oe(
6061
6103
  (_, J = !0) => {
6062
- x || w(_), J ? T.schedule(_) : T.flush(_);
6104
+ h || w(_), J ? T.schedule(_) : T.flush(_);
6063
6105
  },
6064
- [x, T]
6106
+ [h, T]
6065
6107
  ), pe = oe(() => {
6066
6108
  const _ = T.last.current;
6067
6109
  _ != null && (T.flush(_), o == null || o(_));
@@ -6075,10 +6117,10 @@ const Wl = Zr(function({
6075
6117
  return _;
6076
6118
  },
6077
6119
  [m, H, Y, b]
6078
- ), h = se(null), C = oe(
6120
+ ), x = se(null), C = oe(
6079
6121
  (_) => {
6080
6122
  var de;
6081
- const J = (de = h.current) == null ? void 0 : de.getBoundingClientRect();
6123
+ const J = (de = x.current) == null ? void 0 : de.getBoundingClientRect();
6082
6124
  if (!J) return m ? a : y;
6083
6125
  const ee = Math.max(0, Math.min(1, (_ - J.left) / J.width));
6084
6126
  return a + ee * (i - a);
@@ -6161,7 +6203,7 @@ const Wl = Zr(function({
6161
6203
  default:
6162
6204
  return;
6163
6205
  }
6164
- _.preventDefault(), te(m ? J === "min" ? X([de, D], "min") : X([O, de], "max") : X(de, "single"), !1), o == null || o(x ? n : $);
6206
+ _.preventDefault(), te(m ? J === "min" ? X([de, D], "min") : X([O, de], "max") : X(de, "single"), !1), o == null || o(h ? n : $);
6165
6207
  },
6166
6208
  [
6167
6209
  d,
@@ -6175,7 +6217,7 @@ const Wl = Zr(function({
6175
6217
  X,
6176
6218
  te,
6177
6219
  o,
6178
- x,
6220
+ h,
6179
6221
  n,
6180
6222
  $
6181
6223
  ]
@@ -6192,7 +6234,7 @@ const Wl = Zr(function({
6192
6234
  /* @__PURE__ */ s.jsxs(
6193
6235
  "div",
6194
6236
  {
6195
- ref: h,
6237
+ ref: x,
6196
6238
  className: `
6197
6239
  relative w-full ${F.track} ${V.track} rounded-full
6198
6240
  ${d ? "opacity-60 cursor-not-allowed" : "cursor-pointer"}
@@ -6329,7 +6371,7 @@ const Wl = Zr(function({
6329
6371
  ] }),
6330
6372
  p && /* @__PURE__ */ s.jsx("div", { className: "ml-3 text-sm font-medium text-color-gray-700 dark:text-color-gray-200 min-w-[2rem] text-right", children: m ? /* @__PURE__ */ s.jsx("div", { className: "range-max", children: /* @__PURE__ */ s.jsx("div", { children: D }) }) : /* @__PURE__ */ s.jsx("span", { children: y }) })
6331
6373
  ] }) });
6332
- }), Ul = ({
6374
+ }), Yl = ({
6333
6375
  open: e = !1,
6334
6376
  message: n,
6335
6377
  autoHideDuration: t = 4e3,
@@ -6395,7 +6437,7 @@ const Wl = Zr(function({
6395
6437
  /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
6396
6438
  i && /* @__PURE__ */ s.jsx("div", { className: "flex items-center", children: i }),
6397
6439
  a && /* @__PURE__ */ s.jsx(
6398
- je,
6440
+ Re,
6399
6441
  {
6400
6442
  color: "light",
6401
6443
  size: "small",
@@ -6411,7 +6453,7 @@ const Wl = Zr(function({
6411
6453
  }
6412
6454
  )
6413
6455
  ] }) : null;
6414
- }, Yl = ({
6456
+ }, Zl = ({
6415
6457
  variant: e = "linear",
6416
6458
  value: n = 0,
6417
6459
  color: t = "blue",
@@ -6422,7 +6464,7 @@ const Wl = Zr(function({
6422
6464
  var g, p;
6423
6465
  const i = "inline-block", l = (g = ve[t]) == null ? void 0 : g.transparent, c = (p = ve[t]) == null ? void 0 : p.filled, u = Math.min(Math.max(n, 0), 100);
6424
6466
  if (e === "circular") {
6425
- const { size: f = 40, thickness: v = 3.6 } = a, m = (f - v) / 2, b = 2 * Math.PI * m, x = `${b} ${b}`, k = b - u / 100 * b;
6467
+ const { size: f = 40, thickness: v = 3.6 } = a, m = (f - v) / 2, b = 2 * Math.PI * m, h = `${b} ${b}`, k = b - u / 100 * b;
6426
6468
  return /* @__PURE__ */ s.jsx(
6427
6469
  "div",
6428
6470
  {
@@ -6464,7 +6506,7 @@ const Wl = Zr(function({
6464
6506
  strokeLinecap: "round",
6465
6507
  className: `${l} transition-all duration-300 ease-out ${r ? "" : "animate-spin"}`,
6466
6508
  style: {
6467
- strokeDasharray: x,
6509
+ strokeDasharray: h,
6468
6510
  strokeDashoffset: r ? k : b * 0.75,
6469
6511
  transformOrigin: "center"
6470
6512
  }
@@ -6511,7 +6553,7 @@ const Wl = Zr(function({
6511
6553
  small: "w-4 h-4",
6512
6554
  medium: "w-6 h-6",
6513
6555
  large: "w-8 h-8"
6514
- }, Zl = ({
6556
+ }, Kl = ({
6515
6557
  value: e,
6516
6558
  onChange: n,
6517
6559
  readOnly: t = !1,
@@ -6527,7 +6569,7 @@ const Wl = Zr(function({
6527
6569
  labels: p = {}
6528
6570
  // <-- Add this
6529
6571
  }) => {
6530
- const [f, v] = Pe.useState(null), m = (w, $) => {
6572
+ const [f, v] = je.useState(null), m = (w, $) => {
6531
6573
  if (t || r || !n) return;
6532
6574
  const { left: y, width: O } = w.target.getBoundingClientRect(), D = (w.clientX - y) / O;
6533
6575
  let V = $ - 1 + Math.ceil(D / o) * o;
@@ -6537,9 +6579,9 @@ const Wl = Zr(function({
6537
6579
  const { left: y, width: O } = w.target.getBoundingClientRect(), D = (w.clientX - y) / O;
6538
6580
  let V = $ - 1 + Math.ceil(D / o) * o;
6539
6581
  V = Math.min(a, Math.max(o, Math.round(V / o) * o)), v(V);
6540
- }, x = () => v(null), k = [];
6582
+ }, h = () => v(null), k = [];
6541
6583
  for (let w = 1; w <= a; w++) {
6542
- let $ = (f !== null ? f : e) >= w, y = !$ && (f !== null ? f : e) > w - 1, O = $ ? l || Pe.cloneElement(Wn, { className: `fill-color-yellow-500 ${st[i]}` }) : c || Pe.cloneElement(Un, { className: `stroke-color-gray-300 ${st[i]}` });
6584
+ let $ = (f !== null ? f : e) >= w, y = !$ && (f !== null ? f : e) > w - 1, O = $ ? l || je.cloneElement(Wn, { className: `fill-color-yellow-500 ${st[i]}` }) : c || je.cloneElement(Un, { className: `stroke-color-gray-300 ${st[i]}` });
6543
6585
  if (y) {
6544
6586
  const D = ((f !== null ? f : e) - (w - 1)) * 100;
6545
6587
  O = /* @__PURE__ */ s.jsxs("span", { className: "relative block", children: [
@@ -6548,12 +6590,12 @@ const Wl = Zr(function({
6548
6590
  {
6549
6591
  className: "absolute top-0 left-0 overflow-hidden",
6550
6592
  style: { width: `${D}%` },
6551
- children: l || Pe.cloneElement(Wn, {
6593
+ children: l || je.cloneElement(Wn, {
6552
6594
  className: `fill-color-yellow-500 ${st[i]}`
6553
6595
  })
6554
6596
  }
6555
6597
  ),
6556
- c || Pe.cloneElement(Un, {
6598
+ c || je.cloneElement(Un, {
6557
6599
  className: `stroke-color-gray-300 ${st[i]}`
6558
6600
  })
6559
6601
  ] });
@@ -6565,7 +6607,7 @@ const Wl = Zr(function({
6565
6607
  className: `inline-block ${r ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`,
6566
6608
  onClick: (D) => m(D, w),
6567
6609
  onMouseMove: (D) => b(D, w),
6568
- onMouseLeave: x,
6610
+ onMouseLeave: h,
6569
6611
  tabIndex: t || r ? -1 : 0,
6570
6612
  "aria-label": `Rate ${w}`,
6571
6613
  role: "radio",
@@ -6580,7 +6622,7 @@ const Wl = Zr(function({
6580
6622
  k,
6581
6623
  d && f !== null ? /* @__PURE__ */ s.jsx("span", { className: "ml-2 text-xs text-gray-500", children: p[f] || f }) : g ? /* @__PURE__ */ s.jsx("span", { className: "ml-2 text-xs text-gray-500", children: p[e] || e }) : null
6582
6624
  ] });
6583
- }, Kl = ({
6625
+ }, Xl = ({
6584
6626
  children: e,
6585
6627
  width: n = "100%",
6586
6628
  height: t = "auto",
@@ -6598,14 +6640,14 @@ const Wl = Zr(function({
6598
6640
  thumbWidth: v = 60,
6599
6641
  orientation: m = "horizontal",
6600
6642
  nextIcon: b,
6601
- prevIcon: x,
6643
+ prevIcon: h,
6602
6644
  className: k
6603
6645
  }) => {
6604
6646
  const w = e.length, $ = Math.min(Math.max(c, 0.1), w), [y, O] = K(0), [D, V] = K(!1), [F, Z] = K(!1), [ae, ue] = K(0), Q = se(null), H = se(0), Y = se(0), T = $ >= w ? 0 : Math.max(0, w - $), te = (E) => Math.max(0, Math.min(E, T)), pe = (E) => O(
6605
6647
  l && T > 0 ? (E % (T + 1) + (T + 1)) % (T + 1) : te(E)
6606
6648
  ), X = () => {
6607
6649
  l && T > 0 ? O(y === 0 ? T : y - 1) : pe(y - 1);
6608
- }, h = () => {
6650
+ }, x = () => {
6609
6651
  l && T > 0 ? O(y >= T ? 0 : y + 1) : pe(y + 1);
6610
6652
  };
6611
6653
  ce(() => {
@@ -6633,7 +6675,7 @@ const Wl = Zr(function({
6633
6675
  F && (Y.current = m === "horizontal" ? E : P, ue(Y.current - H.current));
6634
6676
  }, M = () => {
6635
6677
  if (!F) return;
6636
- Math.abs(Y.current - H.current) > 50 && (Y.current < H.current ? h() : X()), Z(!1), ue(0);
6678
+ Math.abs(Y.current - H.current) > 50 && (Y.current < H.current ? x() : X()), Z(!1), ue(0);
6637
6679
  }, N = () => {
6638
6680
  const E = m === "horizontal" ? "X" : "Y";
6639
6681
  let P = 0;
@@ -6704,14 +6746,14 @@ const Wl = Zr(function({
6704
6746
  onClick: X,
6705
6747
  className: `absolute z-20 bg-color-white/80 border border-color-gray-300 rounded-full w-10 h-10 flex items-center justify-center text-lg font-bold text-color-gray-800 hover:bg-color-white transition-color cursor-pointer
6706
6748
  ${m === "horizontal" ? "left-2 top-1/2 -translate-y-1/2" : "left-1/2 top-2 -translate-x-1/2"}`,
6707
- children: x || (m === "horizontal" ? "‹" : "↑")
6749
+ children: h || (m === "horizontal" ? "‹" : "↑")
6708
6750
  }
6709
6751
  ),
6710
6752
  /* @__PURE__ */ s.jsx(
6711
6753
  "button",
6712
6754
  {
6713
6755
  "aria-label": "next",
6714
- onClick: h,
6756
+ onClick: x,
6715
6757
  className: `absolute z-20 bg-color-white/80 border border-color-gray-300 rounded-full w-10 h-10 flex items-center justify-center text-lg font-bold text-color-gray-800 hover:bg-color-white transition-colo cursor-pointer
6716
6758
  ${m === "horizontal" ? "right-2 top-1/2 -translate-y-1/2" : "left-1/2 bottom-2 -translate-x-1/2"}`,
6717
6759
  children: b || (m === "horizontal" ? "›" : "↓")
@@ -6769,7 +6811,7 @@ const Wl = Zr(function({
6769
6811
  ]
6770
6812
  }
6771
6813
  );
6772
- }, Xl = ({
6814
+ }, Jl = ({
6773
6815
  title: e,
6774
6816
  description: n,
6775
6817
  actionLabel: t,
@@ -6802,7 +6844,7 @@ const Wl = Zr(function({
6802
6844
  i
6803
6845
  ]
6804
6846
  }
6805
- ), Jl = ({
6847
+ ), Ql = ({
6806
6848
  initialState: e = !1,
6807
6849
  onToggle: n,
6808
6850
  disabled: t = !1,
@@ -6865,7 +6907,7 @@ const Wl = Zr(function({
6865
6907
  small: "px-2 py-1 text-sm",
6866
6908
  medium: "px-4 py-2 text-base",
6867
6909
  large: "px-6 py-3 text-lg"
6868
- }, Ql = ({
6910
+ }, es = ({
6869
6911
  value: e,
6870
6912
  onChange: n,
6871
6913
  options: t,
@@ -6973,7 +7015,7 @@ const Wl = Zr(function({
6973
7015
  /* @__PURE__ */ s.jsx("div", { children: c }),
6974
7016
  f && /* @__PURE__ */ s.jsx("div", { className: "absolute w-full h-full top-0 left-0 flex items-center justify-center bg-color-white bg-opacity-50", children: f })
6975
7017
  ] });
6976
- }, es = ({
7018
+ }, ts = ({
6977
7019
  orientation: e = "horizontal",
6978
7020
  variant: n = "fullWidth",
6979
7021
  children: t,
@@ -7010,7 +7052,7 @@ const Wl = Zr(function({
7010
7052
  ${n === "inset" ? o ? "pl-4" : "pt-4" : ""} ${a}`
7011
7053
  }
7012
7054
  );
7013
- }, ts = ({
7055
+ }, ns = ({
7014
7056
  name: e,
7015
7057
  options: n,
7016
7058
  selectedValue: t,
@@ -7051,7 +7093,7 @@ const Wl = Zr(function({
7051
7093
  },
7052
7094
  d
7053
7095
  );
7054
- }) }), ns = ({
7096
+ }) }), rs = ({
7055
7097
  label: e,
7056
7098
  value: n,
7057
7099
  onChange: t,
@@ -7092,7 +7134,7 @@ const Wl = Zr(function({
7092
7134
  /* @__PURE__ */ s.jsx("span", { className: `absolute right-3 text-sm top-1/2 -translate-y-1/2 ${i ? "opacity-60" : ""}`, children: /* @__PURE__ */ s.jsx("svg", { className: "size-4", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" }) }) })
7093
7135
  ] })
7094
7136
  ] });
7095
- }, rs = ({
7137
+ }, os = ({
7096
7138
  content: e,
7097
7139
  children: n,
7098
7140
  position: t = "top"
@@ -7179,7 +7221,7 @@ const li = {
7179
7221
  let k;
7180
7222
  return g ? (v(!0), k = setTimeout(() => b(!0), 10)) : b(!1), () => clearTimeout(k);
7181
7223
  }, [g]);
7182
- const x = () => {
7224
+ const h = () => {
7183
7225
  g || v(!1);
7184
7226
  };
7185
7227
  return ce(() => {
@@ -7211,12 +7253,12 @@ const li = {
7211
7253
  "div",
7212
7254
  {
7213
7255
  className: `relative flex flex-col z-50 bg-color-white rounded-xl shadow-lg transition-all duration-300 transform p-6 ${m ? "opacity-100 scale-100" : "opacity-0 scale-95"} ${l ? "w-full h-[calc(100%_-_40px)] m-5" : `${c ? "w-full" : "w-auto"} ${u ? li[u] : ""} mx-5`} ${t}`,
7214
- onTransitionEnd: x,
7256
+ onTransitionEnd: h,
7215
7257
  children: [
7216
7258
  /* @__PURE__ */ s.jsxs("div", { className: "flex items-center justify-between mb-4", children: [
7217
7259
  r && /* @__PURE__ */ s.jsx("h2", { className: "text-xl font-semibold", children: r }),
7218
7260
  i && /* @__PURE__ */ s.jsx(
7219
- je,
7261
+ Re,
7220
7262
  {
7221
7263
  color: "gray",
7222
7264
  icon: /* @__PURE__ */ s.jsx("svg", { className: "size-5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" }) }),
@@ -7241,15 +7283,15 @@ const li = {
7241
7283
  ) : null;
7242
7284
  }
7243
7285
  );
7244
- function os({ items: e, trigger: n, className: t, dropdownItemClass: r }) {
7286
+ function as({ items: e, trigger: n, className: t, dropdownItemClass: r }) {
7245
7287
  const [o, a] = K(!1), [i, l] = K({ top: 0, left: 0 }), [c, u] = K(!1), d = se(null), g = se(null), p = (v) => {
7246
7288
  v.stopPropagation(), a((m) => !m), u(!1);
7247
7289
  };
7248
7290
  Kr(() => {
7249
7291
  if (o && d.current && g.current) {
7250
- const v = d.current.getBoundingClientRect(), m = g.current.getBoundingClientRect(), b = window.innerWidth, x = window.innerHeight;
7292
+ const v = d.current.getBoundingClientRect(), m = g.current.getBoundingClientRect(), b = window.innerWidth, h = window.innerHeight;
7251
7293
  let k = v.left + window.scrollX, w = v.bottom + window.scrollY;
7252
- v.right + m.width > b && (k = v.right + window.scrollX - m.width), k + m.width > b && (k = b - m.width - 12), w + m.height > x && (w = v.top + window.scrollY - m.height), l({ top: w, left: k }), setTimeout(() => {
7294
+ v.right + m.width > b && (k = v.right + window.scrollX - m.width), k + m.width > b && (k = b - m.width - 12), w + m.height > h && (w = v.top + window.scrollY - m.height), l({ top: w, left: k }), setTimeout(() => {
7253
7295
  u(!0);
7254
7296
  }, 150);
7255
7297
  }
@@ -7319,8 +7361,8 @@ const ui = ({
7319
7361
  e || d(!1);
7320
7362
  };
7321
7363
  if (ce(() => {
7322
- const b = (x) => {
7323
- x.key === "Escape" && (n == null || n());
7364
+ const b = (h) => {
7365
+ h.key === "Escape" && (n == null || n());
7324
7366
  };
7325
7367
  return e && document.addEventListener("keydown", b), () => document.removeEventListener("keydown", b);
7326
7368
  }, [e, n]), ce(() => (e ? (document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden") : (document.body.style.overflow = "", document.documentElement.style.overflow = ""), () => {
@@ -7359,7 +7401,7 @@ const ui = ({
7359
7401
  onTransitionEnd: f,
7360
7402
  children: [
7361
7403
  l && /* @__PURE__ */ s.jsx(
7362
- je,
7404
+ Re,
7363
7405
  {
7364
7406
  color: "gray",
7365
7407
  icon: /* @__PURE__ */ s.jsx("svg", { className: "size-5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" }) }),
@@ -7381,7 +7423,7 @@ const ui = ({
7381
7423
  ),
7382
7424
  document.body
7383
7425
  );
7384
- }, as = ({
7426
+ }, is = ({
7385
7427
  title: e,
7386
7428
  content: n,
7387
7429
  expandIcon: t,
@@ -7437,7 +7479,7 @@ const ui = ({
7437
7479
  danger: "bg-color-red-500",
7438
7480
  warning: "bg-color-yellow-500",
7439
7481
  dark: "bg-color-gray-700"
7440
- }, is = ({
7482
+ }, ls = ({
7441
7483
  message: e,
7442
7484
  variant: n = "info",
7443
7485
  onClose: t,
@@ -7484,7 +7526,7 @@ const ui = ({
7484
7526
  ]
7485
7527
  }
7486
7528
  ) : null;
7487
- }, ls = ({
7529
+ }, ss = ({
7488
7530
  children: e,
7489
7531
  count: n,
7490
7532
  showDot: t = !1,
@@ -7539,11 +7581,11 @@ const ui = ({
7539
7581
  *
7540
7582
  * @license MIT
7541
7583
  */
7542
- function he(e, n) {
7584
+ function xe(e, n) {
7543
7585
  if (e === !1 || e === null || typeof e > "u")
7544
7586
  throw new Error(n);
7545
7587
  }
7546
- function $e(e, n) {
7588
+ function _e(e, n) {
7547
7589
  if (!e) {
7548
7590
  typeof console < "u" && console.warn(n);
7549
7591
  try {
@@ -7597,12 +7639,12 @@ function _r(e, n = [], t = [], r = "") {
7597
7639
  childrenIndex: i,
7598
7640
  route: a
7599
7641
  };
7600
- c.relativePath.startsWith("/") && (he(
7642
+ c.relativePath.startsWith("/") && (xe(
7601
7643
  c.relativePath.startsWith(r),
7602
7644
  `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
7603
7645
  ), c.relativePath = c.relativePath.slice(r.length));
7604
- let u = ke([r, c.relativePath]), d = t.concat(c);
7605
- a.children && a.children.length > 0 && (he(
7646
+ let u = $e([r, c.relativePath]), d = t.concat(c);
7647
+ a.children && a.children.length > 0 && (xe(
7606
7648
  // Our types know better, but runtime JS may not!
7607
7649
  // @ts-expect-error
7608
7650
  a.index !== !0,
@@ -7645,11 +7687,11 @@ function gi(e) {
7645
7687
  )
7646
7688
  );
7647
7689
  }
7648
- var vi = /^:[\w-]+$/, hi = 3, xi = 2, bi = 1, wi = 10, yi = -2, Xn = (e) => e === "*";
7690
+ var vi = /^:[\w-]+$/, xi = 3, hi = 2, bi = 1, wi = 10, yi = -2, Xn = (e) => e === "*";
7649
7691
  function Ci(e, n) {
7650
7692
  let t = e.split("/"), r = t.length;
7651
- return t.some(Xn) && (r += yi), n && (r += xi), t.filter((o) => !Xn(o)).reduce(
7652
- (o, a) => o + (vi.test(a) ? hi : a === "" ? bi : wi),
7693
+ return t.some(Xn) && (r += yi), n && (r += hi), t.filter((o) => !Xn(o)).reduce(
7694
+ (o, a) => o + (vi.test(a) ? xi : a === "" ? bi : wi),
7653
7695
  r
7654
7696
  );
7655
7697
  }
@@ -7685,12 +7727,12 @@ function ji(e, n, t = !1) {
7685
7727
  Object.assign(o, g.params), i.push({
7686
7728
  // TODO: Can this as be avoided?
7687
7729
  params: o,
7688
- pathname: ke([a, g.pathname]),
7730
+ pathname: $e([a, g.pathname]),
7689
7731
  pathnameBase: Pi(
7690
- ke([a, g.pathnameBase])
7732
+ $e([a, g.pathnameBase])
7691
7733
  ),
7692
7734
  route: p
7693
- }), g.pathnameBase !== "/" && (a = ke([a, g.pathnameBase]));
7735
+ }), g.pathnameBase !== "/" && (a = $e([a, g.pathnameBase]));
7694
7736
  }
7695
7737
  return i;
7696
7738
  }
@@ -7721,7 +7763,7 @@ function gt(e, n) {
7721
7763
  };
7722
7764
  }
7723
7765
  function Ri(e, n = !1, t = !0) {
7724
- $e(
7766
+ _e(
7725
7767
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
7726
7768
  `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
7727
7769
  );
@@ -7735,7 +7777,7 @@ function ki(e) {
7735
7777
  try {
7736
7778
  return e.split("/").map((n) => decodeURIComponent(n).replace(/\//g, "%2F")).join("/");
7737
7779
  } catch (n) {
7738
- return $e(
7780
+ return _e(
7739
7781
  !1,
7740
7782
  `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`
7741
7783
  ), e;
@@ -7784,13 +7826,13 @@ function Pr(e) {
7784
7826
  }
7785
7827
  function Mr(e, n, t, r = !1) {
7786
7828
  let o;
7787
- typeof e == "string" ? o = cn(e) : (o = { ...e }, he(
7829
+ typeof e == "string" ? o = cn(e) : (o = { ...e }, xe(
7788
7830
  !o.pathname || !o.pathname.includes("?"),
7789
7831
  Ht("?", "pathname", "search", o)
7790
- ), he(
7832
+ ), xe(
7791
7833
  !o.pathname || !o.pathname.includes("#"),
7792
7834
  Ht("#", "pathname", "hash", o)
7793
- ), he(
7835
+ ), xe(
7794
7836
  !o.search || !o.search.includes("#"),
7795
7837
  Ht("#", "search", "hash", o)
7796
7838
  ));
@@ -7810,7 +7852,7 @@ function Mr(e, n, t, r = !1) {
7810
7852
  let c = $i(o, l), u = i && i !== "/" && i.endsWith("/"), d = (a || i === ".") && t.endsWith("/");
7811
7853
  return !c.pathname.endsWith("/") && (u || d) && (c.pathname += "/"), c;
7812
7854
  }
7813
- var ke = (e) => e.join("/").replace(/\/\/+/g, "/"), Pi = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Mi = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Li = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
7855
+ var $e = (e) => e.join("/").replace(/\/\/+/g, "/"), Pi = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Mi = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Li = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
7814
7856
  function Fi(e) {
7815
7857
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
7816
7858
  }
@@ -7830,8 +7872,8 @@ var Ai = [
7830
7872
  new Set(Ai);
7831
7873
  var Ie = R.createContext(null);
7832
7874
  Ie.displayName = "DataRouter";
7833
- var ht = R.createContext(null);
7834
- ht.displayName = "DataRouterState";
7875
+ var xt = R.createContext(null);
7876
+ xt.displayName = "DataRouterState";
7835
7877
  R.createContext(!1);
7836
7878
  var Fr = R.createContext({
7837
7879
  isTransitioning: !1
@@ -7843,38 +7885,38 @@ var Ni = R.createContext(
7843
7885
  Ni.displayName = "Fetchers";
7844
7886
  var Di = R.createContext(null);
7845
7887
  Di.displayName = "Await";
7846
- var _e = R.createContext(
7888
+ var Ee = R.createContext(
7847
7889
  null
7848
7890
  );
7849
- _e.displayName = "Navigation";
7891
+ Ee.displayName = "Navigation";
7850
7892
  var un = R.createContext(
7851
7893
  null
7852
7894
  );
7853
7895
  un.displayName = "Location";
7854
- var Ee = R.createContext({
7896
+ var Pe = R.createContext({
7855
7897
  outlet: null,
7856
7898
  matches: [],
7857
7899
  isDataRoute: !1
7858
7900
  });
7859
- Ee.displayName = "Route";
7901
+ Pe.displayName = "Route";
7860
7902
  var dn = R.createContext(null);
7861
7903
  dn.displayName = "RouteError";
7862
7904
  function zi(e, { relative: n } = {}) {
7863
- he(
7864
- xt(),
7905
+ xe(
7906
+ ht(),
7865
7907
  // TODO: This error is probably because they somehow have 2 versions of the
7866
7908
  // router loaded. We can help them understand how to avoid that.
7867
7909
  "useHref() may be used only in the context of a <Router> component."
7868
7910
  );
7869
- let { basename: t, navigator: r } = R.useContext(_e), { hash: o, pathname: a, search: i } = Ke(e, { relative: n }), l = a;
7870
- return t !== "/" && (l = a === "/" ? t : ke([t, a])), r.createHref({ pathname: l, search: i, hash: o });
7911
+ let { basename: t, navigator: r } = R.useContext(Ee), { hash: o, pathname: a, search: i } = Ke(e, { relative: n }), l = a;
7912
+ return t !== "/" && (l = a === "/" ? t : $e([t, a])), r.createHref({ pathname: l, search: i, hash: o });
7871
7913
  }
7872
- function xt() {
7914
+ function ht() {
7873
7915
  return R.useContext(un) != null;
7874
7916
  }
7875
7917
  function De() {
7876
- return he(
7877
- xt(),
7918
+ return xe(
7919
+ ht(),
7878
7920
  // TODO: This error is probably because they somehow have 2 versions of the
7879
7921
  // router loaded. We can help them understand how to avoid that.
7880
7922
  "useLocation() may be used only in the context of a <Router> component."
@@ -7882,25 +7924,25 @@ function De() {
7882
7924
  }
7883
7925
  var Ar = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
7884
7926
  function Nr(e) {
7885
- R.useContext(_e).static || R.useLayoutEffect(e);
7927
+ R.useContext(Ee).static || R.useLayoutEffect(e);
7886
7928
  }
7887
7929
  function Ti() {
7888
- let { isDataRoute: e } = R.useContext(Ee);
7930
+ let { isDataRoute: e } = R.useContext(Pe);
7889
7931
  return e ? Xi() : Oi();
7890
7932
  }
7891
7933
  function Oi() {
7892
- he(
7893
- xt(),
7934
+ xe(
7935
+ ht(),
7894
7936
  // TODO: This error is probably because they somehow have 2 versions of the
7895
7937
  // router loaded. We can help them understand how to avoid that.
7896
7938
  "useNavigate() may be used only in the context of a <Router> component."
7897
7939
  );
7898
- let e = R.useContext(Ie), { basename: n, navigator: t } = R.useContext(_e), { matches: r } = R.useContext(Ee), { pathname: o } = De(), a = JSON.stringify(Pr(r)), i = R.useRef(!1);
7940
+ let e = R.useContext(Ie), { basename: n, navigator: t } = R.useContext(Ee), { matches: r } = R.useContext(Pe), { pathname: o } = De(), a = JSON.stringify(Pr(r)), i = R.useRef(!1);
7899
7941
  return Nr(() => {
7900
7942
  i.current = !0;
7901
7943
  }), R.useCallback(
7902
7944
  (c, u = {}) => {
7903
- if ($e(i.current, Ar), !i.current) return;
7945
+ if (_e(i.current, Ar), !i.current) return;
7904
7946
  if (typeof c == "number") {
7905
7947
  t.go(c);
7906
7948
  return;
@@ -7911,7 +7953,7 @@ function Oi() {
7911
7953
  o,
7912
7954
  u.relative === "path"
7913
7955
  );
7914
- e == null && n !== "/" && (d.pathname = d.pathname === "/" ? n : ke([n, d.pathname])), (u.replace ? t.replace : t.push)(
7956
+ e == null && n !== "/" && (d.pathname = d.pathname === "/" ? n : $e([n, d.pathname])), (u.replace ? t.replace : t.push)(
7915
7957
  d,
7916
7958
  u.state,
7917
7959
  u
@@ -7928,7 +7970,7 @@ function Oi() {
7928
7970
  }
7929
7971
  R.createContext(null);
7930
7972
  function Ke(e, { relative: n } = {}) {
7931
- let { matches: t } = R.useContext(Ee), { pathname: r } = De(), o = JSON.stringify(Pr(t));
7973
+ let { matches: t } = R.useContext(Pe), { pathname: r } = De(), o = JSON.stringify(Pr(t));
7932
7974
  return R.useMemo(
7933
7975
  () => Mr(
7934
7976
  e,
@@ -7940,50 +7982,50 @@ function Ke(e, { relative: n } = {}) {
7940
7982
  );
7941
7983
  }
7942
7984
  function Ii(e, n, t, r) {
7943
- he(
7944
- xt(),
7985
+ xe(
7986
+ ht(),
7945
7987
  // TODO: This error is probably because they somehow have 2 versions of the
7946
7988
  // router loaded. We can help them understand how to avoid that.
7947
7989
  "useRoutes() may be used only in the context of a <Router> component."
7948
7990
  );
7949
- let { navigator: o } = R.useContext(_e), { matches: a } = R.useContext(Ee), i = a[a.length - 1], l = i ? i.params : {}, c = i ? i.pathname : "/", u = i ? i.pathnameBase : "/", d = i && i.route;
7991
+ let { navigator: o } = R.useContext(Ee), { matches: a } = R.useContext(Pe), i = a[a.length - 1], l = i ? i.params : {}, c = i ? i.pathname : "/", u = i ? i.pathnameBase : "/", d = i && i.route;
7950
7992
  {
7951
- let x = d && d.path || "";
7993
+ let h = d && d.path || "";
7952
7994
  Dr(
7953
7995
  c,
7954
- !d || x.endsWith("*") || x.endsWith("*?"),
7955
- `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${x}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
7996
+ !d || h.endsWith("*") || h.endsWith("*?"),
7997
+ `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${h}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
7956
7998
 
7957
- Please change the parent <Route path="${x}"> to <Route path="${x === "/" ? "*" : `${x}/*`}">.`
7999
+ Please change the parent <Route path="${h}"> to <Route path="${h === "/" ? "*" : `${h}/*`}">.`
7958
8000
  );
7959
8001
  }
7960
8002
  let g = De(), p;
7961
8003
  p = g;
7962
8004
  let f = p.pathname || "/", v = f;
7963
8005
  if (u !== "/") {
7964
- let x = u.replace(/^\//, "").split("/");
7965
- v = "/" + f.replace(/^\//, "").split("/").slice(x.length).join("/");
8006
+ let h = u.replace(/^\//, "").split("/");
8007
+ v = "/" + f.replace(/^\//, "").split("/").slice(h.length).join("/");
7966
8008
  }
7967
8009
  let m = $r(e, { pathname: v });
7968
- return $e(
8010
+ return _e(
7969
8011
  d || m != null,
7970
8012
  `No routes matched location "${p.pathname}${p.search}${p.hash}" `
7971
- ), $e(
8013
+ ), _e(
7972
8014
  m == null || m[m.length - 1].route.element !== void 0 || m[m.length - 1].route.Component !== void 0 || m[m.length - 1].route.lazy !== void 0,
7973
8015
  `Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
7974
8016
  ), Gi(
7975
8017
  m && m.map(
7976
- (x) => Object.assign({}, x, {
7977
- params: Object.assign({}, l, x.params),
7978
- pathname: ke([
8018
+ (h) => Object.assign({}, h, {
8019
+ params: Object.assign({}, l, h.params),
8020
+ pathname: $e([
7979
8021
  u,
7980
8022
  // Re-encode pathnames that were decoded inside matchRoutes
7981
- o.encodeLocation ? o.encodeLocation(x.pathname).pathname : x.pathname
8023
+ o.encodeLocation ? o.encodeLocation(h.pathname).pathname : h.pathname
7982
8024
  ]),
7983
- pathnameBase: x.pathnameBase === "/" ? u : ke([
8025
+ pathnameBase: h.pathnameBase === "/" ? u : $e([
7984
8026
  u,
7985
8027
  // Re-encode pathnames that were decoded inside matchRoutes
7986
- o.encodeLocation ? o.encodeLocation(x.pathnameBase).pathname : x.pathnameBase
8028
+ o.encodeLocation ? o.encodeLocation(h.pathnameBase).pathname : h.pathnameBase
7987
8029
  ])
7988
8030
  })
7989
8031
  ),
@@ -8029,7 +8071,7 @@ var Hi = /* @__PURE__ */ R.createElement(Vi, null), Bi = class extends R.Compone
8029
8071
  );
8030
8072
  }
8031
8073
  render() {
8032
- return this.state.error !== void 0 ? /* @__PURE__ */ R.createElement(Ee.Provider, { value: this.props.routeContext }, /* @__PURE__ */ R.createElement(
8074
+ return this.state.error !== void 0 ? /* @__PURE__ */ R.createElement(Pe.Provider, { value: this.props.routeContext }, /* @__PURE__ */ R.createElement(
8033
8075
  dn.Provider,
8034
8076
  {
8035
8077
  value: this.state.error,
@@ -8040,7 +8082,7 @@ var Hi = /* @__PURE__ */ R.createElement(Vi, null), Bi = class extends R.Compone
8040
8082
  };
8041
8083
  function qi({ routeContext: e, match: n, children: t }) {
8042
8084
  let r = R.useContext(Ie);
8043
- return r && r.static && r.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ R.createElement(Ee.Provider, { value: e }, t);
8085
+ return r && r.static && r.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ R.createElement(Pe.Provider, { value: e }, t);
8044
8086
  }
8045
8087
  function Gi(e, n = [], t = null, r = null) {
8046
8088
  if (e == null) {
@@ -8058,7 +8100,7 @@ function Gi(e, n = [], t = null, r = null) {
8058
8100
  let c = o.findIndex(
8059
8101
  (u) => u.route.id && (a == null ? void 0 : a[u.route.id]) !== void 0
8060
8102
  );
8061
- he(
8103
+ xe(
8062
8104
  c >= 0,
8063
8105
  `Could not find a matching route for errors on route IDs: ${Object.keys(
8064
8106
  a
@@ -8089,8 +8131,8 @@ function Gi(e, n = [], t = null, r = null) {
8089
8131
  "No `HydrateFallback` element provided to render during initial hydration"
8090
8132
  ), p = !0, v = null) : l === d && (p = !0, v = u.route.hydrateFallbackElement || null)));
8091
8133
  let m = n.concat(o.slice(0, d + 1)), b = () => {
8092
- let x;
8093
- return g ? x = f : p ? x = v : u.route.Component ? x = /* @__PURE__ */ R.createElement(u.route.Component, null) : u.route.element ? x = u.route.element : x = c, /* @__PURE__ */ R.createElement(
8134
+ let h;
8135
+ return g ? h = f : p ? h = v : u.route.Component ? h = /* @__PURE__ */ R.createElement(u.route.Component, null) : u.route.element ? h = u.route.element : h = c, /* @__PURE__ */ R.createElement(
8094
8136
  qi,
8095
8137
  {
8096
8138
  match: u,
@@ -8099,7 +8141,7 @@ function Gi(e, n = [], t = null, r = null) {
8099
8141
  matches: m,
8100
8142
  isDataRoute: t != null
8101
8143
  },
8102
- children: x
8144
+ children: h
8103
8145
  }
8104
8146
  );
8105
8147
  };
@@ -8123,19 +8165,19 @@ function pn(e) {
8123
8165
  }
8124
8166
  function Wi(e) {
8125
8167
  let n = R.useContext(Ie);
8126
- return he(n, pn(e)), n;
8168
+ return xe(n, pn(e)), n;
8127
8169
  }
8128
8170
  function Ui(e) {
8129
- let n = R.useContext(ht);
8130
- return he(n, pn(e)), n;
8171
+ let n = R.useContext(xt);
8172
+ return xe(n, pn(e)), n;
8131
8173
  }
8132
8174
  function Yi(e) {
8133
- let n = R.useContext(Ee);
8134
- return he(n, pn(e)), n;
8175
+ let n = R.useContext(Pe);
8176
+ return xe(n, pn(e)), n;
8135
8177
  }
8136
8178
  function fn(e) {
8137
8179
  let n = Yi(e), t = n.matches[n.matches.length - 1];
8138
- return he(
8180
+ return xe(
8139
8181
  t.route.id,
8140
8182
  `${e} can only be used on routes that contain a unique "id"`
8141
8183
  ), t.route.id;
@@ -8169,14 +8211,14 @@ function Xi() {
8169
8211
  t.current = !0;
8170
8212
  }), R.useCallback(
8171
8213
  async (o, a = {}) => {
8172
- $e(t.current, Ar), t.current && (typeof o == "number" ? e.navigate(o) : await e.navigate(o, { fromRouteId: n, ...a }));
8214
+ _e(t.current, Ar), t.current && (typeof o == "number" ? e.navigate(o) : await e.navigate(o, { fromRouteId: n, ...a }));
8173
8215
  },
8174
8216
  [e, n]
8175
8217
  );
8176
8218
  }
8177
8219
  var Jn = {};
8178
8220
  function Dr(e, n, t) {
8179
- !n && !Jn[e] && (Jn[e] = !0, $e(!1, t));
8221
+ !n && !Jn[e] && (Jn[e] = !0, _e(!1, t));
8180
8222
  }
8181
8223
  R.memo(Ji);
8182
8224
  function Ji({
@@ -8227,7 +8269,7 @@ var al = /* @__PURE__ */ new Set([
8227
8269
  "text/plain"
8228
8270
  ]);
8229
8271
  function Bt(e) {
8230
- return e != null && !al.has(e) ? ($e(
8272
+ return e != null && !al.has(e) ? (_e(
8231
8273
  !1,
8232
8274
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${dt}"`
8233
8275
  ), null) : e;
@@ -8381,7 +8423,7 @@ function zr() {
8381
8423
  ), e;
8382
8424
  }
8383
8425
  function gl() {
8384
- let e = R.useContext(ht);
8426
+ let e = R.useContext(xt);
8385
8427
  return mn(
8386
8428
  e,
8387
8429
  "You must render this element inside a <DataRouterStateContext.Provider> element"
@@ -8400,8 +8442,8 @@ function vl(e, n) {
8400
8442
  let t = R.useContext(gn), [r, o] = R.useState(!1), [a, i] = R.useState(!1), { onFocus: l, onBlur: c, onMouseEnter: u, onMouseLeave: d, onTouchStart: g } = n, p = R.useRef(null);
8401
8443
  R.useEffect(() => {
8402
8444
  if (e === "render" && i(!0), e === "viewport") {
8403
- let m = (x) => {
8404
- x.forEach((k) => {
8445
+ let m = (h) => {
8446
+ h.forEach((k) => {
8405
8447
  i(k.isIntersecting);
8406
8448
  });
8407
8449
  }, b = new IntersectionObserver(m, { threshold: 0.5 });
@@ -8441,14 +8483,14 @@ function Ge(e, n) {
8441
8483
  e && e(t), t.defaultPrevented || n(t);
8442
8484
  };
8443
8485
  }
8444
- function hl({ page: e, ...n }) {
8486
+ function xl({ page: e, ...n }) {
8445
8487
  let { router: t } = zr(), r = R.useMemo(
8446
8488
  () => $r(t.routes, e, t.basename),
8447
8489
  [t.routes, e, t.basename]
8448
8490
  );
8449
8491
  return r ? /* @__PURE__ */ R.createElement(bl, { page: e, matches: r, ...n }) : null;
8450
8492
  }
8451
- function xl(e) {
8493
+ function hl(e) {
8452
8494
  let { manifest: n, routeModules: t } = Tr(), [r, o] = R.useState([]);
8453
8495
  return R.useEffect(() => {
8454
8496
  let a = !1;
@@ -8490,16 +8532,16 @@ function bl({
8490
8532
  if (e === r.pathname + r.search + r.hash)
8491
8533
  return [];
8492
8534
  let v = /* @__PURE__ */ new Set(), m = !1;
8493
- if (n.forEach((x) => {
8535
+ if (n.forEach((h) => {
8494
8536
  var w;
8495
- let k = o.routes[x.route.id];
8496
- !k || !k.hasLoader || (!u.some(($) => $.route.id === x.route.id) && x.route.id in l && ((w = a[x.route.id]) != null && w.shouldRevalidate) || k.hasClientLoader ? m = !0 : v.add(x.route.id));
8537
+ let k = o.routes[h.route.id];
8538
+ !k || !k.hasLoader || (!u.some(($) => $.route.id === h.route.id) && h.route.id in l && ((w = a[h.route.id]) != null && w.shouldRevalidate) || k.hasClientLoader ? m = !0 : v.add(h.route.id));
8497
8539
  }), v.size === 0)
8498
8540
  return [];
8499
8541
  let b = ll(e, i, "data");
8500
8542
  return m && v.size > 0 && b.searchParams.set(
8501
8543
  "_routes",
8502
- n.filter((x) => v.has(x.route.id)).map((x) => x.route.id).join(",")
8544
+ n.filter((h) => v.has(h.route.id)).map((h) => h.route.id).join(",")
8503
8545
  ), [b.pathname + b.search];
8504
8546
  }, [
8505
8547
  i,
@@ -8513,7 +8555,7 @@ function bl({
8513
8555
  ]), p = R.useMemo(
8514
8556
  () => dl(d, o),
8515
8557
  [d, o]
8516
- ), f = xl(d);
8558
+ ), f = hl(d);
8517
8559
  return /* @__PURE__ */ R.createElement(R.Fragment, null, g.map((v) => /* @__PURE__ */ R.createElement("link", { key: v, rel: "prefetch", as: "fetch", href: v, ...t })), p.map((v) => /* @__PURE__ */ R.createElement("link", { key: v, rel: "modulepreload", href: v, ...t })), f.map(({ key: v, link: m }) => (
8518
8560
  // these don't spread `linkProps` because they are full link descriptors
8519
8561
  // already with their own props
@@ -8548,13 +8590,13 @@ var Ir = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, vn = R.forwardRef(
8548
8590
  viewTransition: g,
8549
8591
  ...p
8550
8592
  }, f) {
8551
- let { basename: v } = R.useContext(_e), m = typeof u == "string" && Ir.test(u), b, x = !1;
8593
+ let { basename: v } = R.useContext(Ee), m = typeof u == "string" && Ir.test(u), b, h = !1;
8552
8594
  if (typeof u == "string" && m && (b = u, Or))
8553
8595
  try {
8554
8596
  let F = new URL(window.location.href), Z = u.startsWith("//") ? new URL(F.protocol + u) : new URL(u), ae = Fe(Z.pathname, v);
8555
- Z.origin === F.origin && ae != null ? u = ae + Z.search + Z.hash : x = !0;
8597
+ Z.origin === F.origin && ae != null ? u = ae + Z.search + Z.hash : h = !0;
8556
8598
  } catch {
8557
- $e(
8599
+ _e(
8558
8600
  !1,
8559
8601
  `<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
8560
8602
  );
@@ -8581,14 +8623,14 @@ var Ir = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, vn = R.forwardRef(
8581
8623
  ...p,
8582
8624
  ...y,
8583
8625
  href: b || k,
8584
- onClick: x || a ? n : D,
8626
+ onClick: h || a ? n : D,
8585
8627
  ref: wl(f, $),
8586
8628
  target: c,
8587
8629
  "data-discover": !m && t === "render" ? "true" : void 0
8588
8630
  }
8589
8631
  )
8590
8632
  );
8591
- return w && !m ? /* @__PURE__ */ R.createElement(R.Fragment, null, V, /* @__PURE__ */ R.createElement(hl, { page: k })) : V;
8633
+ return w && !m ? /* @__PURE__ */ R.createElement(R.Fragment, null, V, /* @__PURE__ */ R.createElement(xl, { page: k })) : V;
8592
8634
  }
8593
8635
  );
8594
8636
  vn.displayName = "Link";
@@ -8604,12 +8646,12 @@ var Vr = R.forwardRef(
8604
8646
  children: c,
8605
8647
  ...u
8606
8648
  }, d) {
8607
- let g = Ke(i, { relative: u.relative }), p = De(), f = R.useContext(ht), { navigator: v, basename: m } = R.useContext(_e), b = f != null && // Conditional usage is OK here because the usage of a data router is static
8649
+ let g = Ke(i, { relative: u.relative }), p = De(), f = R.useContext(xt), { navigator: v, basename: m } = R.useContext(Ee), b = f != null && // Conditional usage is OK here because the usage of a data router is static
8608
8650
  // eslint-disable-next-line react-hooks/rules-of-hooks
8609
- _l(g) && l === !0, x = v.encodeLocation ? v.encodeLocation(g).pathname : g.pathname, k = p.pathname, w = f && f.navigation && f.navigation.location ? f.navigation.location.pathname : null;
8610
- t || (k = k.toLowerCase(), w = w ? w.toLowerCase() : null, x = x.toLowerCase()), w && m && (w = Fe(w, m) || w);
8611
- const $ = x !== "/" && x.endsWith("/") ? x.length - 1 : x.length;
8612
- let y = k === x || !o && k.startsWith(x) && k.charAt($) === "/", O = w != null && (w === x || !o && w.startsWith(x) && w.charAt(x.length) === "/"), D = {
8651
+ _l(g) && l === !0, h = v.encodeLocation ? v.encodeLocation(g).pathname : g.pathname, k = p.pathname, w = f && f.navigation && f.navigation.location ? f.navigation.location.pathname : null;
8652
+ t || (k = k.toLowerCase(), w = w ? w.toLowerCase() : null, h = h.toLowerCase()), w && m && (w = Fe(w, m) || w);
8653
+ const $ = h !== "/" && h.endsWith("/") ? h.length - 1 : h.length;
8654
+ let y = k === h || !o && k.startsWith(h) && k.charAt($) === "/", O = w != null && (w === h || !o && w.startsWith(h) && w.charAt(h.length) === "/"), D = {
8613
8655
  isActive: y,
8614
8656
  isPending: O,
8615
8657
  isTransitioning: b
@@ -8653,7 +8695,7 @@ var yl = R.forwardRef(
8653
8695
  viewTransition: g,
8654
8696
  ...p
8655
8697
  }, f) => {
8656
- let v = kl(), m = $l(l, { relative: u }), b = i.toLowerCase() === "get" ? "get" : "post", x = typeof l == "string" && Ir.test(l), k = (w) => {
8698
+ let v = kl(), m = $l(l, { relative: u }), b = i.toLowerCase() === "get" ? "get" : "post", h = typeof l == "string" && Ir.test(l), k = (w) => {
8657
8699
  if (c && c(w), w.defaultPrevented) return;
8658
8700
  w.preventDefault();
8659
8701
  let $ = w.nativeEvent.submitter, y = ($ == null ? void 0 : $.getAttribute("formmethod")) || i;
@@ -8676,7 +8718,7 @@ var yl = R.forwardRef(
8676
8718
  action: m,
8677
8719
  onSubmit: r ? c : k,
8678
8720
  ...p,
8679
- "data-discover": !x && e === "render" ? "true" : void 0
8721
+ "data-discover": !h && e === "render" ? "true" : void 0
8680
8722
  }
8681
8723
  );
8682
8724
  }
@@ -8687,7 +8729,7 @@ function Cl(e) {
8687
8729
  }
8688
8730
  function Hr(e) {
8689
8731
  let n = R.useContext(Ie);
8690
- return he(n, Cl(e)), n;
8732
+ return xe(n, Cl(e)), n;
8691
8733
  }
8692
8734
  function Sl(e, {
8693
8735
  target: n,
@@ -8731,7 +8773,7 @@ function kl() {
8731
8773
  let { router: e } = Hr(
8732
8774
  "useSubmit"
8733
8775
  /* UseSubmit */
8734
- ), { basename: n } = R.useContext(_e), t = Zi();
8776
+ ), { basename: n } = R.useContext(Ee), t = Zi();
8735
8777
  return R.useCallback(
8736
8778
  async (r, o = {}) => {
8737
8779
  let { action: a, method: i, encType: l, formData: c, body: u } = il(
@@ -8766,8 +8808,8 @@ function kl() {
8766
8808
  );
8767
8809
  }
8768
8810
  function $l(e, { relative: n } = {}) {
8769
- let { basename: t } = R.useContext(_e), r = R.useContext(Ee);
8770
- he(r, "useFormAction must be used inside a RouteContext");
8811
+ let { basename: t } = R.useContext(Ee), r = R.useContext(Pe);
8812
+ xe(r, "useFormAction must be used inside a RouteContext");
8771
8813
  let [o] = r.matches.slice(-1), a = { ...Ke(e || ".", { relative: n }) }, i = De();
8772
8814
  if (e == null) {
8773
8815
  a.search = i.search;
@@ -8778,11 +8820,11 @@ function $l(e, { relative: n } = {}) {
8778
8820
  a.search = d ? `?${d}` : "";
8779
8821
  }
8780
8822
  }
8781
- return (!e || e === ".") && o.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), t !== "/" && (a.pathname = a.pathname === "/" ? t : ke([t, a.pathname])), nn(a);
8823
+ return (!e || e === ".") && o.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), t !== "/" && (a.pathname = a.pathname === "/" ? t : $e([t, a.pathname])), nn(a);
8782
8824
  }
8783
8825
  function _l(e, { relative: n } = {}) {
8784
8826
  let t = R.useContext(Fr);
8785
- he(
8827
+ xe(
8786
8828
  t != null,
8787
8829
  "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
8788
8830
  );
@@ -8795,7 +8837,7 @@ function _l(e, { relative: n } = {}) {
8795
8837
  let a = Fe(t.currentLocation.pathname, r) || t.currentLocation.pathname, i = Fe(t.nextLocation.pathname, r) || t.nextLocation.pathname;
8796
8838
  return gt(o.pathname, i) != null || gt(o.pathname, a) != null;
8797
8839
  }
8798
- const ss = ({
8840
+ const cs = ({
8799
8841
  variant: e = "fixed",
8800
8842
  activeTab: n,
8801
8843
  navItems: t,
@@ -8821,7 +8863,7 @@ const ss = ({
8821
8863
  c.label
8822
8864
  );
8823
8865
  }) });
8824
- }, cs = ({ items: e, separator: n = "/", className: t = "" }) => /* @__PURE__ */ s.jsx("nav", { className: `text-sm text-color-gray-600 ${t}`, "aria-label": "Breadcrumb", children: /* @__PURE__ */ s.jsx("ol", { className: "flex items-center space-x-1", children: e.map((r, o) => /* @__PURE__ */ s.jsxs("li", { className: "flex items-center", children: [
8866
+ }, us = ({ items: e, separator: n = "/", className: t = "" }) => /* @__PURE__ */ s.jsx("nav", { className: `text-sm text-color-gray-600 ${t}`, "aria-label": "Breadcrumb", children: /* @__PURE__ */ s.jsx("ol", { className: "flex items-center space-x-1", children: e.map((r, o) => /* @__PURE__ */ s.jsxs("li", { className: "flex items-center", children: [
8825
8867
  r.href ? /* @__PURE__ */ s.jsx(
8826
8868
  "a",
8827
8869
  {
@@ -8831,7 +8873,7 @@ const ss = ({
8831
8873
  }
8832
8874
  ) : /* @__PURE__ */ s.jsx("span", { className: "text-color-gray-500 font-medium", children: r.label }),
8833
8875
  o < e.length - 1 && /* @__PURE__ */ s.jsx("span", { className: "mx-2 text-color-gray-400", children: n })
8834
- ] }, o)) }) }), er = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], El = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], us = ({
8876
+ ] }, o)) }) }), er = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], El = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], ds = ({
8835
8877
  mode: e = "single",
8836
8878
  type: n = "inline",
8837
8879
  showTime: t = !1,
@@ -8844,7 +8886,7 @@ const ss = ({
8844
8886
  disableAfter: u,
8845
8887
  selectedDate: d
8846
8888
  }) => {
8847
- const [g, p] = K(!1), [f, v] = K(null), [m, b] = K(/* @__PURE__ */ new Date()), [x, k] = K(
8889
+ const [g, p] = K(!1), [f, v] = K(null), [m, b] = K(/* @__PURE__ */ new Date()), [h, k] = K(
8848
8890
  d ? new Date(d) : null
8849
8891
  ), [w, $] = K(null), [y, O] = K(null), [D, V] = K(null), [F, Z] = K({ hour: 12, minute: 0, ampm: "AM" }), ae = se(null), [ue, Q] = K(
8850
8892
  d ? new Date(d) : null
@@ -8856,16 +8898,16 @@ const ss = ({
8856
8898
  S.stopPropagation(), v(S.currentTarget), p(!0);
8857
8899
  }, X = () => {
8858
8900
  p(!1);
8859
- }, h = (S) => !!(c && S.getTime() < c || u && S.getTime() > u), C = (S) => {
8860
- n === "inline" && ae.current && !ae.current.contains(S.target) && (e === "single" ? x || k(null) : e === "range" && (!w || !y) && ($(null), O(null)), p(!1));
8901
+ }, x = (S) => !!(c && S.getTime() < c || u && S.getTime() > u), C = (S) => {
8902
+ n === "inline" && ae.current && !ae.current.contains(S.target) && (e === "single" ? h || k(null) : e === "range" && (!w || !y) && ($(null), O(null)), p(!1));
8861
8903
  };
8862
8904
  ce(() => (g ? document.addEventListener("mousedown", C) : document.removeEventListener("mousedown", C), () => {
8863
8905
  document.removeEventListener("mousedown", C);
8864
8906
  }), [g]);
8865
8907
  const L = (S) => {
8866
- !S || h(S) || (e === "single" ? k(S) : e === "range" && (!w || w && y ? ($(S), O(null)) : S >= w ? O(S) : $(S)));
8908
+ !S || x(S) || (e === "single" ? k(S) : e === "range" && (!w || w && y ? ($(S), O(null)) : S >= w ? O(S) : $(S)));
8867
8909
  }, M = (S) => {
8868
- if (!S || h(S)) {
8910
+ if (!S || x(S)) {
8869
8911
  V(null);
8870
8912
  return;
8871
8913
  }
@@ -8874,7 +8916,7 @@ const ss = ({
8874
8916
  V(null);
8875
8917
  }, I = () => {
8876
8918
  if (p(!1), e === "single") {
8877
- const S = r ? /* @__PURE__ */ new Date() : x, j = S ? new Date(
8919
+ const S = r ? /* @__PURE__ */ new Date() : h, j = S ? new Date(
8878
8920
  S.getFullYear(),
8879
8921
  S.getMonth(),
8880
8922
  S.getDate(),
@@ -8896,7 +8938,7 @@ const ss = ({
8896
8938
  }, E = (S) => {
8897
8939
  if (!S) return !1;
8898
8940
  if (e === "single")
8899
- return (x == null ? void 0 : x.toDateString()) === S.toDateString();
8941
+ return (h == null ? void 0 : h.toDateString()) === S.toDateString();
8900
8942
  if (e === "range") {
8901
8943
  if (w && !y && D) {
8902
8944
  const j = w < D ? w : D, _ = w < D ? D : w;
@@ -8957,7 +8999,7 @@ const ss = ({
8957
8999
  !r && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
8958
9000
  /* @__PURE__ */ s.jsxs("div", { className: "flex items-center justify-between mb-3", children: [
8959
9001
  /* @__PURE__ */ s.jsx(
8960
- je,
9002
+ Re,
8961
9003
  {
8962
9004
  variant: "transparent",
8963
9005
  size: "small",
@@ -8988,7 +9030,7 @@ const ss = ({
8988
9030
  )
8989
9031
  ] }),
8990
9032
  /* @__PURE__ */ s.jsx(
8991
- je,
9033
+ Re,
8992
9034
  {
8993
9035
  variant: "transparent",
8994
9036
  size: "small",
@@ -9007,7 +9049,7 @@ const ss = ({
9007
9049
  className: `size-8 flex justify-center items-center text-sm rounded-full transition-all
9008
9050
  ${S ? "hover:bg-color-blue-100 cursor-pointer" : ""}
9009
9051
  ${S && E(S) ? "bg-color-blue-500 hover:bg-color-blue-500 text-color-white" : ""}
9010
- ${S && h(S) ? "bg-color-gray-100 text-color-gray-400 !cursor-not-allowed hover:bg-color-gray-100" : ""}`,
9052
+ ${S && x(S) ? "bg-color-gray-100 text-color-gray-400 !cursor-not-allowed hover:bg-color-gray-100" : ""}`,
9011
9053
  onClick: () => S && L(S),
9012
9054
  onMouseEnter: () => S && M(S),
9013
9055
  onMouseLeave: N,
@@ -9056,7 +9098,7 @@ const ss = ({
9056
9098
  ),
9057
9099
  n === "inline" ? /* @__PURE__ */ s.jsx(s.Fragment, { children: g && Ze(q, document.body) }) : /* @__PURE__ */ s.jsx(si, { open: g, title: r ? "Select Time" : i, onClose: X, children: /* @__PURE__ */ s.jsx("div", { className: "w-72", children: q }) })
9058
9100
  ] });
9059
- }, ds = ({
9101
+ }, ps = ({
9060
9102
  tabs: e,
9061
9103
  activeKey: n,
9062
9104
  onChange: t,
@@ -9103,7 +9145,7 @@ const ss = ({
9103
9145
  ]
9104
9146
  }
9105
9147
  );
9106
- }, ps = ({
9148
+ }, fs = ({
9107
9149
  stats: e = [],
9108
9150
  className: n = ""
9109
9151
  }) => /* @__PURE__ */ s.jsx(ai, { className: `w-full ${n}`, children: /* @__PURE__ */ s.jsx("div", { className: "grid grid-columns-1 sm:grid-columns-1 md:grid-columns-2 lg:grid-columns-4 gap-4 justify-items-center", children: e.map((t, r) => /* @__PURE__ */ s.jsxs(
@@ -9127,7 +9169,7 @@ const ss = ({
9127
9169
  },
9128
9170
  r
9129
9171
  )) }) });
9130
- function fs({
9172
+ function ms({
9131
9173
  items: e = [],
9132
9174
  logoJSX: n,
9133
9175
  position: t,
@@ -9189,28 +9231,29 @@ function fs({
9189
9231
  ) });
9190
9232
  }
9191
9233
  export {
9192
- as as Accordion,
9193
- os as ActionMenu,
9194
- is as Alert,
9195
- hr as Avatar,
9196
- ls as Badge,
9197
- ss as BottomNavigation,
9198
- cs as Breadcrumbs,
9234
+ is as Accordion,
9235
+ as as ActionMenu,
9236
+ ls as Alert,
9237
+ xr as Avatar,
9238
+ ql as Backdrop,
9239
+ ss as Badge,
9240
+ cs as BottomNavigation,
9241
+ us as Breadcrumbs,
9199
9242
  Gt as Button,
9200
9243
  ve as COLOR_MAP,
9201
9244
  ai as Card,
9202
9245
  Al as CardWrapper,
9203
- Kl as Carousel,
9246
+ Xl as Carousel,
9204
9247
  Nl as Checkbox,
9205
- ps as DashboardStatBoxes,
9206
- us as DatePicker,
9248
+ fs as DashboardStatBoxes,
9249
+ ds as DatePicker,
9207
9250
  si as Dialog,
9208
- es as Divider,
9251
+ ts as Divider,
9209
9252
  ui as Drawer,
9210
9253
  Dl as Dropdown,
9211
9254
  zl as DropzoneUploader,
9212
- Xl as EmptyState,
9213
- je as IconButton,
9255
+ Jl as EmptyState,
9256
+ Re as IconButton,
9214
9257
  Hl as List,
9215
9258
  Bl as ListItem,
9216
9259
  oa as Menu,
@@ -9219,23 +9262,23 @@ export {
9219
9262
  da as PasswordInput,
9220
9263
  Tl as Pill,
9221
9264
  Ol as ProfileImageShowcase,
9222
- Yl as Progress,
9265
+ Zl as Progress,
9223
9266
  qt as RANGE_COLOR_MAP,
9224
- ts as RadioGroup,
9225
- Zl as Rating,
9226
- ns as Select,
9227
- fs as Sidebar,
9228
- ql as Skeleton,
9229
- Wl as Slider,
9230
- Ul as Snackbar,
9267
+ ns as RadioGroup,
9268
+ Kl as Rating,
9269
+ rs as Select,
9270
+ ms as Sidebar,
9271
+ Gl as Skeleton,
9272
+ Ul as Slider,
9273
+ Yl as Snackbar,
9231
9274
  Il as Stepper,
9232
9275
  Vl as Table,
9233
- ds as Tabs,
9234
- Gl as TextArea,
9276
+ ps as Tabs,
9277
+ Wl as TextArea,
9235
9278
  vr as TextInput,
9236
- Ql as ToggleButton,
9237
- Jl as ToggleSwitch,
9238
- rs as Tooltip,
9279
+ es as ToggleButton,
9280
+ Ql as ToggleSwitch,
9281
+ os as Tooltip,
9239
9282
  ti as Typography,
9240
9283
  Ll as extendColorMap,
9241
9284
  Fl as extendRangeColorMap