@unizap/uniui 1.0.29 → 1.0.30

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
@@ -104,11 +104,11 @@ function Jr() {
104
104
  }
105
105
  if (C) {
106
106
  C = console;
107
- var L = C.error, M = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
108
- return L.call(
107
+ var M = C.error, L = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
108
+ return M.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
- M
111
+ L
112
112
  ), n(x);
113
113
  }
114
114
  }
@@ -138,14 +138,14 @@ function Jr() {
138
138
  return x.key !== void 0;
139
139
  }
140
140
  function l(x, C) {
141
- function L() {
141
+ function M() {
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(x, "key", {
148
- get: L,
147
+ M.isReactWarning = !0, Object.defineProperty(x, "key", {
148
+ get: M,
149
149
  configurable: !0
150
150
  });
151
151
  }
@@ -155,14 +155,14 @@ function Jr() {
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
156
  )), x = this.props.ref, x !== void 0 ? x : null;
157
157
  }
158
- function u(x, C, L, M, N, I, z, E) {
159
- return L = I.ref, x = {
158
+ function u(x, C, M, L, N, I, z, E) {
159
+ return M = I.ref, x = {
160
160
  $$typeof: f,
161
161
  type: x,
162
162
  key: C,
163
163
  props: I,
164
164
  _owner: N
165
- }, (L !== void 0 ? L : null) !== null ? Object.defineProperty(x, "ref", {
165
+ }, (M !== void 0 ? M : null) !== null ? Object.defineProperty(x, "ref", {
166
166
  enumerable: !1,
167
167
  get: c
168
168
  }) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
@@ -187,13 +187,13 @@ function Jr() {
187
187
  value: E
188
188
  }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
189
189
  }
190
- function d(x, C, L, M, N, I, z, E) {
190
+ function d(x, C, M, L, N, I, z, E) {
191
191
  var P = C.children;
192
192
  if (P !== void 0)
193
- if (M)
193
+ if (L)
194
194
  if (Q(P)) {
195
- for (M = 0; M < P.length; M++)
196
- g(P[M]);
195
+ for (L = 0; L < P.length; L++)
196
+ g(P[L]);
197
197
  Object.freeze && Object.freeze(P);
198
198
  } else
199
199
  console.error(
@@ -205,26 +205,26 @@ function Jr() {
205
205
  var B = Object.keys(C).filter(function(S) {
206
206
  return S !== "key";
207
207
  });
208
- M = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", X[P + M] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
208
+ L = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", X[P + L] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
209
209
  `A props object containing a "key" prop is being spread into JSX:
210
210
  let props = %s;
211
211
  <%s {...props} />
212
212
  React keys must be passed directly to JSX without using spread:
213
213
  let props = %s;
214
214
  <%s key={someKey} {...props} />`,
215
- M,
215
+ L,
216
216
  P,
217
217
  B,
218
218
  P
219
- ), X[P + M] = !0);
219
+ ), X[P + L] = !0);
220
220
  }
221
- if (P = null, L !== void 0 && (t(L), P = "" + L), i(C) && (t(C.key), P = "" + C.key), "key" in C) {
222
- L = {};
221
+ if (P = null, M !== void 0 && (t(M), P = "" + M), i(C) && (t(C.key), P = "" + C.key), "key" in C) {
222
+ M = {};
223
223
  for (var q in C)
224
- q !== "key" && (L[q] = C[q]);
225
- } else L = C;
224
+ q !== "key" && (M[q] = C[q]);
225
+ } else M = C;
226
226
  return P && l(
227
- L,
227
+ M,
228
228
  typeof x == "function" ? x.displayName || x.name || "Unknown" : x
229
229
  ), u(
230
230
  x,
@@ -232,7 +232,7 @@ React keys must be passed directly to JSX without using spread:
232
232
  I,
233
233
  N,
234
234
  o(),
235
- L,
235
+ M,
236
236
  z,
237
237
  E
238
238
  );
@@ -252,26 +252,26 @@ React keys must be passed directly to JSX without using spread:
252
252
  p,
253
253
  a
254
254
  )(), pe = H(r(a)), X = {};
255
- Be.Fragment = m, Be.jsx = function(x, C, L, M, N) {
255
+ Be.Fragment = m, Be.jsx = function(x, C, M, L, N) {
256
256
  var I = 1e4 > ae.recentlyCreatedOwnerStacks++;
257
257
  return d(
258
258
  x,
259
259
  C,
260
- L,
261
- !1,
262
260
  M,
261
+ !1,
262
+ L,
263
263
  N,
264
264
  I ? Error("react-stack-top-frame") : te,
265
265
  I ? H(r(x)) : pe
266
266
  );
267
- }, Be.jsxs = function(x, C, L, M, N) {
267
+ }, Be.jsxs = function(x, C, M, L, N) {
268
268
  var I = 1e4 > ae.recentlyCreatedOwnerStacks++;
269
269
  return d(
270
270
  x,
271
271
  C,
272
- L,
273
- !0,
274
272
  M,
273
+ !0,
274
+ L,
275
275
  N,
276
276
  I ? Error("react-stack-top-frame") : te,
277
277
  I ? H(r(x)) : pe
@@ -453,7 +453,7 @@ const ve = {
453
453
  peer: "peer-checked:border-color-rose-500 peer-checked:text-color-rose-500",
454
454
  text: "text-color-rose-500"
455
455
  }
456
- }, Ll = (e) => {
456
+ }, Ml = (e) => {
457
457
  Object.assign(ve, e);
458
458
  }, qt = {
459
459
  dark: {
@@ -922,10 +922,10 @@ function to() {
922
922
  function C(j) {
923
923
  return $(j) === l;
924
924
  }
925
- function L(j) {
925
+ function M(j) {
926
926
  return $(j) === i;
927
927
  }
928
- function M(j) {
928
+ function L(j) {
929
929
  return typeof j == "object" && j !== null && j.$$typeof === n;
930
930
  }
931
931
  function N(j) {
@@ -952,7 +952,7 @@ function to() {
952
952
  function S(j) {
953
953
  return $(j) === g;
954
954
  }
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 = $;
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 = M, re.isElement = L, 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 = $;
956
956
  }()), re;
957
957
  }
958
958
  var Cn;
@@ -1070,9 +1070,9 @@ function ro() {
1070
1070
  process.env.NODE_ENV !== "production" && (t = {});
1071
1071
  }, Pt = o, Pt;
1072
1072
  }
1073
- var Mt, $n;
1073
+ var Lt, $n;
1074
1074
  function oo() {
1075
- if ($n) return Mt;
1075
+ if ($n) return Lt;
1076
1076
  $n = 1;
1077
1077
  var e = rr(), n = no(), t = /* @__PURE__ */ rn(), r = /* @__PURE__ */ or(), o = /* @__PURE__ */ ro(), a = function() {
1078
1078
  };
@@ -1087,7 +1087,7 @@ function oo() {
1087
1087
  function i() {
1088
1088
  return null;
1089
1089
  }
1090
- return Mt = function(l, c) {
1090
+ return Lt = function(l, c) {
1091
1091
  var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
1092
1092
  function g(x) {
1093
1093
  var C = x && (u && x[u] || x[d]);
@@ -1124,8 +1124,8 @@ function oo() {
1124
1124
  m.prototype = Error.prototype;
1125
1125
  function b(x) {
1126
1126
  if (process.env.NODE_ENV !== "production")
1127
- var C = {}, L = 0;
1128
- function M(I, z, E, P, B, q, S) {
1127
+ var C = {}, M = 0;
1128
+ function L(I, z, E, P, B, q, S) {
1129
1129
  if (P = P || p, q = q || E, S !== t) {
1130
1130
  if (c) {
1131
1131
  var j = new Error(
@@ -1135,19 +1135,19 @@ function oo() {
1135
1135
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1136
1136
  var _ = P + ":" + E;
1137
1137
  !C[_] && // Avoid spamming the console because they are often not actionable except for lib authors
1138
- L < 3 && (a(
1138
+ M < 3 && (a(
1139
1139
  "You are manually calling a React.PropTypes validation function for the `" + q + "` prop on `" + P + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1140
- ), C[_] = !0, L++);
1140
+ ), C[_] = !0, M++);
1141
1141
  }
1142
1142
  }
1143
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);
1144
1144
  }
1145
- var N = M.bind(null, !1);
1146
- return N.isRequired = M.bind(null, !0), N;
1145
+ var N = L.bind(null, !1);
1146
+ return N.isRequired = L.bind(null, !0), N;
1147
1147
  }
1148
1148
  function h(x) {
1149
- function C(L, M, N, I, z, E) {
1150
- var P = L[M], B = T(P);
1149
+ function C(M, L, N, I, z, E) {
1150
+ var P = M[L], B = T(P);
1151
1151
  if (B !== x) {
1152
1152
  var q = te(P);
1153
1153
  return new m(
@@ -1163,10 +1163,10 @@ function oo() {
1163
1163
  return b(i);
1164
1164
  }
1165
1165
  function w(x) {
1166
- function C(L, M, N, I, z) {
1166
+ function C(M, L, N, I, z) {
1167
1167
  if (typeof x != "function")
1168
1168
  return new m("Property `" + z + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
1169
- var E = L[M];
1169
+ var E = M[L];
1170
1170
  if (!Array.isArray(E)) {
1171
1171
  var P = T(E);
1172
1172
  return new m("Invalid " + I + " `" + z + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected an array."));
@@ -1181,31 +1181,31 @@ function oo() {
1181
1181
  return b(C);
1182
1182
  }
1183
1183
  function $() {
1184
- function x(C, L, M, N, I) {
1185
- var z = C[L];
1184
+ function x(C, M, L, N, I) {
1185
+ var z = C[M];
1186
1186
  if (!l(z)) {
1187
1187
  var E = T(z);
1188
- return new m("Invalid " + N + " `" + I + "` of type " + ("`" + E + "` supplied to `" + M + "`, expected a single ReactElement."));
1188
+ return new m("Invalid " + N + " `" + I + "` of type " + ("`" + E + "` supplied to `" + L + "`, expected a single ReactElement."));
1189
1189
  }
1190
1190
  return null;
1191
1191
  }
1192
1192
  return b(x);
1193
1193
  }
1194
1194
  function y() {
1195
- function x(C, L, M, N, I) {
1196
- var z = C[L];
1195
+ function x(C, M, L, N, I) {
1196
+ var z = C[M];
1197
1197
  if (!e.isValidElementType(z)) {
1198
1198
  var E = T(z);
1199
- return new m("Invalid " + N + " `" + I + "` of type " + ("`" + E + "` supplied to `" + M + "`, expected a single ReactElement type."));
1199
+ return new m("Invalid " + N + " `" + I + "` of type " + ("`" + E + "` supplied to `" + L + "`, expected a single ReactElement type."));
1200
1200
  }
1201
1201
  return null;
1202
1202
  }
1203
1203
  return b(x);
1204
1204
  }
1205
1205
  function O(x) {
1206
- function C(L, M, N, I, z) {
1207
- if (!(L[M] instanceof x)) {
1208
- var E = x.name || p, P = X(L[M]);
1206
+ function C(M, L, N, I, z) {
1207
+ if (!(M[L] instanceof x)) {
1208
+ var E = x.name || p, P = X(M[L]);
1209
1209
  return new m("Invalid " + I + " `" + z + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected ") + ("instance of `" + E + "`."));
1210
1210
  }
1211
1211
  return null;
@@ -1217,8 +1217,8 @@ function oo() {
1217
1217
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1218
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])."
1219
1219
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
1220
- function C(L, M, N, I, z) {
1221
- for (var E = L[M], P = 0; P < x.length; P++)
1220
+ function C(M, L, N, I, z) {
1221
+ for (var E = M[L], P = 0; P < x.length; P++)
1222
1222
  if (v(E, x[P]))
1223
1223
  return null;
1224
1224
  var B = JSON.stringify(x, function(S, j) {
@@ -1230,10 +1230,10 @@ function oo() {
1230
1230
  return b(C);
1231
1231
  }
1232
1232
  function V(x) {
1233
- function C(L, M, N, I, z) {
1233
+ function C(M, L, N, I, z) {
1234
1234
  if (typeof x != "function")
1235
1235
  return new m("Property `" + z + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
1236
- var E = L[M], P = T(E);
1236
+ var E = M[L], P = T(E);
1237
1237
  if (P !== "object")
1238
1238
  return new m("Invalid " + I + " `" + z + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected an object."));
1239
1239
  for (var B in E)
@@ -1250,13 +1250,13 @@ function oo() {
1250
1250
  if (!Array.isArray(x))
1251
1251
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i;
1252
1252
  for (var C = 0; C < x.length; C++) {
1253
- var L = x[C];
1254
- if (typeof L != "function")
1253
+ var M = x[C];
1254
+ if (typeof M != "function")
1255
1255
  return a(
1256
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(L) + " at index " + C + "."
1256
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(M) + " at index " + C + "."
1257
1257
  ), i;
1258
1258
  }
1259
- function M(N, I, z, E, P) {
1259
+ function L(N, I, z, E, P) {
1260
1260
  for (var B = [], q = 0; q < x.length; q++) {
1261
1261
  var S = x[q], j = S(N, I, z, E, P, t);
1262
1262
  if (j == null)
@@ -1266,22 +1266,22 @@ function oo() {
1266
1266
  var _ = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
1267
1267
  return new m("Invalid " + E + " `" + P + "` supplied to " + ("`" + z + "`" + _ + "."));
1268
1268
  }
1269
- return b(M);
1269
+ return b(L);
1270
1270
  }
1271
1271
  function Z() {
1272
- function x(C, L, M, N, I) {
1273
- return H(C[L]) ? null : new m("Invalid " + N + " `" + I + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
1272
+ function x(C, M, L, N, I) {
1273
+ return H(C[M]) ? null : new m("Invalid " + N + " `" + I + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
1274
1274
  }
1275
1275
  return b(x);
1276
1276
  }
1277
- function ae(x, C, L, M, N) {
1277
+ function ae(x, C, M, L, N) {
1278
1278
  return new m(
1279
- (x || "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 `" + M + "." + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
1280
1280
  );
1281
1281
  }
1282
1282
  function ue(x) {
1283
- function C(L, M, N, I, z) {
1284
- var E = L[M], P = T(E);
1283
+ function C(M, L, N, I, z) {
1284
+ var E = M[L], P = T(E);
1285
1285
  if (P !== "object")
1286
1286
  return new m("Invalid " + I + " `" + z + "` of type `" + P + "` " + ("supplied to `" + N + "`, expected `object`."));
1287
1287
  for (var B in x) {
@@ -1297,18 +1297,18 @@ function oo() {
1297
1297
  return b(C);
1298
1298
  }
1299
1299
  function Q(x) {
1300
- function C(L, M, N, I, z) {
1301
- var E = L[M], P = T(E);
1300
+ function C(M, L, N, I, z) {
1301
+ var E = M[L], P = T(E);
1302
1302
  if (P !== "object")
1303
1303
  return new m("Invalid " + I + " `" + z + "` of type `" + P + "` " + ("supplied to `" + N + "`, expected `object`."));
1304
- var B = n({}, L[M], x);
1304
+ var B = n({}, M[L], x);
1305
1305
  for (var q in B) {
1306
1306
  var S = x[q];
1307
1307
  if (r(x, q) && typeof S != "function")
1308
1308
  return ae(N, I, z, q, te(S));
1309
1309
  if (!S)
1310
1310
  return new m(
1311
- "Invalid " + I + " `" + z + "` key `" + q + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(L[M], null, " ") + `
1311
+ "Invalid " + I + " `" + z + "` key `" + q + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(M[L], null, " ") + `
1312
1312
  Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1313
1313
  );
1314
1314
  var j = S(E, q, N, I, z + "." + q, t);
@@ -1334,14 +1334,14 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1334
1334
  return !0;
1335
1335
  var C = g(x);
1336
1336
  if (C) {
1337
- var L = C.call(x), M;
1337
+ var M = C.call(x), L;
1338
1338
  if (C !== x.entries) {
1339
- for (; !(M = L.next()).done; )
1340
- if (!H(M.value))
1339
+ for (; !(L = M.next()).done; )
1340
+ if (!H(L.value))
1341
1341
  return !1;
1342
1342
  } else
1343
- for (; !(M = L.next()).done; ) {
1344
- var N = M.value;
1343
+ for (; !(L = M.next()).done; ) {
1344
+ var N = L.value;
1345
1345
  if (N && !H(N[1]))
1346
1346
  return !1;
1347
1347
  }
@@ -1389,18 +1389,18 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1389
1389
  return !x.constructor || !x.constructor.name ? p : x.constructor.name;
1390
1390
  }
1391
1391
  return f.checkPropTypes = o, f.resetWarningCache = o.resetWarningCache, f.PropTypes = f, f;
1392
- }, Mt;
1392
+ }, Lt;
1393
1393
  }
1394
- var Lt, _n;
1394
+ var Mt, _n;
1395
1395
  function ao() {
1396
- if (_n) return Lt;
1396
+ if (_n) return Mt;
1397
1397
  _n = 1;
1398
1398
  var e = /* @__PURE__ */ rn();
1399
1399
  function n() {
1400
1400
  }
1401
1401
  function t() {
1402
1402
  }
1403
- return t.resetWarningCache = n, Lt = function() {
1403
+ return t.resetWarningCache = n, Mt = function() {
1404
1404
  function r(i, l, c, u, d, g) {
1405
1405
  if (g !== e) {
1406
1406
  var p = new Error(
@@ -1437,7 +1437,7 @@ function ao() {
1437
1437
  resetWarningCache: n
1438
1438
  };
1439
1439
  return a.PropTypes = a, a;
1440
- }, Lt;
1440
+ }, Mt;
1441
1441
  }
1442
1442
  var En;
1443
1443
  function io() {
@@ -2742,12 +2742,12 @@ function xo(e, n) {
2742
2742
  if (n !== "drop")
2743
2743
  return t;
2744
2744
  const r = yield Promise.all(t.map(ho));
2745
- return Mn(ar(r));
2745
+ return Ln(ar(r));
2746
2746
  }
2747
- return Mn(Wt(e.files).map((t) => Oe(t)));
2747
+ return Ln(Wt(e.files).map((t) => Oe(t)));
2748
2748
  });
2749
2749
  }
2750
- function Mn(e) {
2750
+ function Ln(e) {
2751
2751
  return e.filter((n) => uo.indexOf(n.name) === -1);
2752
2752
  }
2753
2753
  function Wt(e) {
@@ -2762,9 +2762,9 @@ function Wt(e) {
2762
2762
  }
2763
2763
  function ho(e) {
2764
2764
  if (typeof e.webkitGetAsEntry != "function")
2765
- return Ln(e);
2765
+ return Mn(e);
2766
2766
  const n = e.webkitGetAsEntry();
2767
- return n && n.isDirectory ? ir(n) : Ln(e, n);
2767
+ return n && n.isDirectory ? ir(n) : Mn(e, n);
2768
2768
  }
2769
2769
  function ar(e) {
2770
2770
  return e.reduce((n, t) => [
@@ -2772,7 +2772,7 @@ function ar(e) {
2772
2772
  ...Array.isArray(t) ? ar(t) : [t]
2773
2773
  ], []);
2774
2774
  }
2775
- function Ln(e, n) {
2775
+ function Mn(e, n) {
2776
2776
  return Ne(this, void 0, void 0, function* () {
2777
2777
  var t;
2778
2778
  if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
@@ -2928,7 +2928,7 @@ function $o(e, n) {
2928
2928
  function _o(e) {
2929
2929
  if (Array.isArray(e)) return e;
2930
2930
  }
2931
- var Eo = typeof Ft == "function" ? Ft : Ft.default, Po = "file-invalid-type", Mo = "file-too-large", Lo = "file-too-small", Fo = "too-many-files", Ao = function() {
2931
+ var Eo = typeof Ft == "function" ? Ft : Ft.default, Po = "file-invalid-type", Lo = "file-too-large", Mo = "file-too-small", Fo = "too-many-files", Ao = function() {
2932
2932
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = n.split(","), r = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
2933
2933
  return {
2934
2934
  code: Po,
@@ -2936,12 +2936,12 @@ var Eo = typeof Ft == "function" ? Ft : Ft.default, Po = "file-invalid-type", Mo
2936
2936
  };
2937
2937
  }, zn = function(n) {
2938
2938
  return {
2939
- code: Mo,
2939
+ code: Lo,
2940
2940
  message: "File is larger than ".concat(n, " ").concat(n === 1 ? "byte" : "bytes")
2941
2941
  };
2942
2942
  }, Tn = function(n) {
2943
2943
  return {
2944
- code: Lo,
2944
+ code: Mo,
2945
2945
  message: "File is smaller than ".concat(n, " ").concat(n === 1 ? "byte" : "bytes")
2946
2946
  };
2947
2947
  }, No = {
@@ -3358,8 +3358,8 @@ function gr() {
3358
3358
  return typeof b == "function" ? b : Vn;
3359
3359
  }, [b]), Q = Te(function() {
3360
3360
  return typeof m == "function" ? m : Vn;
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() {
3362
- !L.current && C && setTimeout(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, M = se(typeof window < "u" && window.isSecureContext && h && Io()), L = function() {
3362
+ !M.current && C && setTimeout(function() {
3363
3363
  if (Y.current) {
3364
3364
  var G = Y.current.files;
3365
3365
  G.length || (X({
@@ -3369,10 +3369,10 @@ function gr() {
3369
3369
  }, 300);
3370
3370
  };
3371
3371
  ce(function() {
3372
- return window.addEventListener("focus", M, !1), function() {
3373
- window.removeEventListener("focus", M, !1);
3372
+ return window.addEventListener("focus", L, !1), function() {
3373
+ window.removeEventListener("focus", L, !1);
3374
3374
  };
3375
- }, [Y, C, Q, L]);
3375
+ }, [Y, C, Q, M]);
3376
3376
  var N = se([]), I = function(G) {
3377
3377
  H.current && H.current.contains(G.target) || (G.preventDefault(), N.current = []);
3378
3378
  };
@@ -3463,7 +3463,7 @@ function gr() {
3463
3463
  type: "reset"
3464
3464
  });
3465
3465
  }, [o, q, z, D]), j = oe(function() {
3466
- if (L.current) {
3466
+ if (M.current) {
3467
3467
  X({
3468
3468
  type: "openDialog"
3469
3469
  }), ue();
@@ -3480,7 +3480,7 @@ function gr() {
3480
3480
  }).catch(function(G) {
3481
3481
  Bo(G) ? (Q(G), X({
3482
3482
  type: "closeDialog"
3483
- })) : qo(G) ? (L.current = !1, Y.current ? (Y.current.value = null, Y.current.click()) : z(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : z(G);
3483
+ })) : qo(G) ? (M.current = !1, Y.current ? (Y.current.value = null, Y.current.click()) : z(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : z(G);
3484
3484
  });
3485
3485
  return;
3486
3486
  }
@@ -4106,14 +4106,14 @@ const xr = ({
4106
4106
  *
4107
4107
  * @license MIT
4108
4108
  */
4109
- function Me(e, n) {
4109
+ function Le(e, n) {
4110
4110
  return typeof e == "function" ? e(n) : e;
4111
4111
  }
4112
4112
  function ye(e, n) {
4113
4113
  return (t) => {
4114
4114
  n.setState((r) => ({
4115
4115
  ...r,
4116
- [e]: Me(t, r[e])
4116
+ [e]: Le(t, r[e])
4117
4117
  }));
4118
4118
  };
4119
4119
  }
@@ -4496,7 +4496,7 @@ const wa = {
4496
4496
  return (t = (r = n.getState().columnFilters) == null ? void 0 : r.findIndex((o) => o.id === e.id)) != null ? t : -1;
4497
4497
  }, e.setFilterValue = (t) => {
4498
4498
  n.setColumnFilters((r) => {
4499
- const o = e.getFilterFn(), a = r == null ? void 0 : r.find((d) => d.id === e.id), i = Me(t, a ? a.value : void 0);
4499
+ const o = e.getFilterFn(), a = r == null ? void 0 : r.find((d) => d.id === e.id), i = Le(t, a ? a.value : void 0);
4500
4500
  if (qn(o, i, e)) {
4501
4501
  var l;
4502
4502
  return (l = r == null ? void 0 : r.filter((d) => d.id !== e.id)) != null ? l : [];
@@ -4520,7 +4520,7 @@ const wa = {
4520
4520
  e.setColumnFilters = (n) => {
4521
4521
  const t = e.getAllLeafColumns(), r = (o) => {
4522
4522
  var a;
4523
- return (a = Me(n, o)) == null ? void 0 : a.filter((i) => {
4523
+ return (a = Le(n, o)) == null ? void 0 : a.filter((i) => {
4524
4524
  const l = t.find((c) => c.id === i.id);
4525
4525
  if (l) {
4526
4526
  const c = l.getFilterFn();
@@ -4654,13 +4654,13 @@ const ya = (e, n, t) => t.reduce((r, o) => {
4654
4654
  };
4655
4655
  }
4656
4656
  };
4657
- function Ma(e, n, t) {
4657
+ function La(e, n, t) {
4658
4658
  if (!(n != null && n.length) || !t)
4659
4659
  return e;
4660
4660
  const r = e.filter((a) => !n.includes(a.id));
4661
4661
  return t === "remove" ? r : [...n.map((a) => e.find((i) => i.id === a)).filter(Boolean), ...r];
4662
4662
  }
4663
- const La = {
4663
+ const Ma = {
4664
4664
  getInitialState: (e) => ({
4665
4665
  columnOrder: [],
4666
4666
  ...e
@@ -4694,7 +4694,7 @@ const La = {
4694
4694
  }
4695
4695
  a = [...a, ...l];
4696
4696
  }
4697
- return Ma(a, t, r);
4697
+ return La(a, t, r);
4698
4698
  }, U(e.options, "debugTable", "_getOrderColumnsFn"));
4699
4699
  }
4700
4700
  }, Dt = () => ({
@@ -5141,14 +5141,14 @@ const za = {
5141
5141
  });
5142
5142
  }
5143
5143
  }, e.setPagination = (r) => {
5144
- const o = (a) => Me(r, a);
5144
+ const o = (a) => Le(r, a);
5145
5145
  return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(o);
5146
5146
  }, e.resetPagination = (r) => {
5147
5147
  var o;
5148
5148
  e.setPagination(r ? Ot() : (o = e.initialState.pagination) != null ? o : Ot());
5149
5149
  }, e.setPageIndex = (r) => {
5150
5150
  e.setPagination((o) => {
5151
- let a = Me(r, o.pageIndex);
5151
+ let a = Le(r, o.pageIndex);
5152
5152
  const i = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
5153
5153
  return a = Math.max(0, Math.min(a, i)), {
5154
5154
  ...o,
@@ -5163,7 +5163,7 @@ const za = {
5163
5163
  e.setPageSize(r ? Jt : (o = (a = e.initialState) == null || (a = a.pagination) == null ? void 0 : a.pageSize) != null ? o : Jt);
5164
5164
  }, e.setPageSize = (r) => {
5165
5165
  e.setPagination((o) => {
5166
- const a = Math.max(1, Me(r, o.pageSize)), i = o.pageSize * o.pageIndex, l = Math.floor(i / a);
5166
+ const a = Math.max(1, Le(r, o.pageSize)), i = o.pageSize * o.pageIndex, l = Math.floor(i / a);
5167
5167
  return {
5168
5168
  ...o,
5169
5169
  pageIndex: l,
@@ -5172,7 +5172,7 @@ const za = {
5172
5172
  });
5173
5173
  }, e.setPageCount = (r) => e.setPagination((o) => {
5174
5174
  var a;
5175
- let i = Me(r, (a = e.options.pageCount) != null ? a : -1);
5175
+ let i = Le(r, (a = e.options.pageCount) != null ? a : -1);
5176
5176
  return typeof i == "number" && (i = Math.max(-1, i)), {
5177
5177
  ...o,
5178
5178
  pageCount: i
@@ -5453,14 +5453,14 @@ function en(e, n, t) {
5453
5453
  }
5454
5454
  }), o ? "all" : a ? "some" : !1;
5455
5455
  }
5456
- const tn = /([0-9]+)/gm, Ba = (e, n, t) => kr(Le(e.getValue(t)).toLowerCase(), Le(n.getValue(t)).toLowerCase()), qa = (e, n, t) => kr(Le(e.getValue(t)), Le(n.getValue(t))), Ga = (e, n, t) => sn(Le(e.getValue(t)).toLowerCase(), Le(n.getValue(t)).toLowerCase()), Wa = (e, n, t) => sn(Le(e.getValue(t)), Le(n.getValue(t))), Ua = (e, n, t) => {
5456
+ const tn = /([0-9]+)/gm, Ba = (e, n, t) => kr(Me(e.getValue(t)).toLowerCase(), Me(n.getValue(t)).toLowerCase()), qa = (e, n, t) => kr(Me(e.getValue(t)), Me(n.getValue(t))), Ga = (e, n, t) => sn(Me(e.getValue(t)).toLowerCase(), Me(n.getValue(t)).toLowerCase()), Wa = (e, n, t) => sn(Me(e.getValue(t)), Me(n.getValue(t))), Ua = (e, n, t) => {
5457
5457
  const r = e.getValue(t), o = n.getValue(t);
5458
5458
  return r > o ? 1 : r < o ? -1 : 0;
5459
5459
  }, Ya = (e, n, t) => sn(e.getValue(t), n.getValue(t));
5460
5460
  function sn(e, n) {
5461
5461
  return e === n ? 0 : e > n ? 1 : -1;
5462
5462
  }
5463
- function Le(e) {
5463
+ function Me(e) {
5464
5464
  return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
5465
5465
  }
5466
5466
  function kr(e, n) {
@@ -5582,7 +5582,7 @@ const qe = {
5582
5582
  }, Ka = [
5583
5583
  xa,
5584
5584
  Da,
5585
- La,
5585
+ Ma,
5586
5586
  Fa,
5587
5587
  ba,
5588
5588
  wa,
@@ -5640,7 +5640,7 @@ function Xa(e) {
5640
5640
  o.setState(o.initialState);
5641
5641
  },
5642
5642
  setOptions: (p) => {
5643
- const f = Me(p, o.options);
5643
+ const f = Le(p, o.options);
5644
5644
  o.options = i(f);
5645
5645
  },
5646
5646
  getState: () => o.options.state,
@@ -6126,20 +6126,20 @@ const Ul = Zr(function({
6126
6126
  return a + ee * (i - a);
6127
6127
  },
6128
6128
  [a, i, m, y]
6129
- ), L = oe(
6129
+ ), M = oe(
6130
6130
  (_) => {
6131
6131
  const J = Math.abs(_ - O), ee = Math.abs(_ - D);
6132
6132
  return J <= ee ? "min" : "max";
6133
6133
  },
6134
6134
  [O, D]
6135
- ), [M, N] = K(null), [I, z] = K(null), [E, P] = K(null), B = oe(
6135
+ ), [L, N] = K(null), [I, z] = K(null), [E, P] = K(null), B = oe(
6136
6136
  (_, J) => {
6137
6137
  var de, fe;
6138
6138
  if (d) return;
6139
6139
  _.preventDefault(), (fe = (de = _.currentTarget).setPointerCapture) == null || fe.call(de, _.pointerId), P(_.pointerId);
6140
6140
  const ee = C(_.clientX);
6141
6141
  if (m) {
6142
- const be = J || L(ee);
6142
+ const be = J || M(ee);
6143
6143
  N(be), te(be === "min" ? X([ee, D], "min") : X([O, ee], "max"));
6144
6144
  } else
6145
6145
  N("single"), te(X(ee, "single"));
@@ -6148,7 +6148,7 @@ const Ul = Zr(function({
6148
6148
  d,
6149
6149
  m,
6150
6150
  C,
6151
- L,
6151
+ M,
6152
6152
  X,
6153
6153
  O,
6154
6154
  D,
@@ -6156,14 +6156,14 @@ const Ul = Zr(function({
6156
6156
  ]
6157
6157
  ), q = oe(
6158
6158
  (_) => {
6159
- if (d || E == null || M == null) return;
6159
+ if (d || E == null || L == null) return;
6160
6160
  const J = C(_.clientX);
6161
- m ? M === "min" ? te(X([J, D], "min")) : M === "max" && te(X([O, J], "max")) : te(X(J, "single"));
6161
+ m ? L === "min" ? te(X([J, D], "min")) : L === "max" && te(X([O, J], "max")) : te(X(J, "single"));
6162
6162
  },
6163
6163
  [
6164
6164
  d,
6165
6165
  E,
6166
- M,
6166
+ L,
6167
6167
  m,
6168
6168
  C,
6169
6169
  X,
@@ -6172,8 +6172,8 @@ const Ul = Zr(function({
6172
6172
  te
6173
6173
  ]
6174
6174
  ), S = oe(() => {
6175
- M != null && (N(null), P(null), pe());
6176
- }, [M, pe]), j = oe(
6175
+ L != null && (N(null), P(null), pe());
6176
+ }, [L, pe]), j = oe(
6177
6177
  (_, J) => {
6178
6178
  if (d) return;
6179
6179
  const ee = m ? J === "min" ? O : D : y;
@@ -6223,12 +6223,12 @@ const Ul = Zr(function({
6223
6223
  ]
6224
6224
  );
6225
6225
  return ce(() => {
6226
- if (!M) return;
6226
+ if (!L) return;
6227
6227
  const _ = document.body.style.userSelect;
6228
6228
  return document.body.style.userSelect = "none", () => {
6229
6229
  document.body.style.userSelect = _;
6230
6230
  };
6231
- }, [M]), /* @__PURE__ */ s.jsx("div", { className: `w-full ${g}`, children: /* @__PURE__ */ s.jsxs("div", { className: "relative flex items-center", children: [
6231
+ }, [L]), /* @__PURE__ */ s.jsx("div", { className: `w-full ${g}`, children: /* @__PURE__ */ s.jsxs("div", { className: "relative flex items-center", children: [
6232
6232
  m && /* @__PURE__ */ s.jsx("div", { className: "mr-3 text-sm font-medium text-color-gray-700 dark:text-color-gray-200 min-w-[2rem]", children: /* @__PURE__ */ s.jsx("div", { className: "range-min", children: /* @__PURE__ */ s.jsx("div", { children: O }) }) }),
6233
6233
  /* @__PURE__ */ s.jsxs("div", { className: "w-full", children: [
6234
6234
  /* @__PURE__ */ s.jsxs(
@@ -6247,13 +6247,13 @@ const Ul = Zr(function({
6247
6247
  m ? /* @__PURE__ */ s.jsx(
6248
6248
  "div",
6249
6249
  {
6250
- className: `absolute top-0 ${F.track} ${V.progress} rounded-full ${M ? "" : "transition-all duration-150"}`,
6250
+ className: `absolute top-0 ${F.track} ${V.progress} rounded-full ${L ? "" : "transition-all duration-150"}`,
6251
6251
  style: { left: `${ue}%`, width: `${Q - ue}%` }
6252
6252
  }
6253
6253
  ) : /* @__PURE__ */ s.jsx(
6254
6254
  "div",
6255
6255
  {
6256
- className: `absolute top-0 left-0 ${F.track} ${V.progress} rounded-full ${M ? "" : "transition-all duration-150"}`,
6256
+ className: `absolute top-0 left-0 ${F.track} ${V.progress} rounded-full ${L ? "" : "transition-all duration-150"}`,
6257
6257
  style: { width: `${ae}%` }
6258
6258
  }
6259
6259
  ),
@@ -6275,7 +6275,7 @@ const Ul = Zr(function({
6275
6275
  absolute top-1/2 transform -translate-y-1/2 -translate-x-1/2
6276
6276
  ${F.thumb} ${V.thumb} ${V.thumbHover} ${V.thumbActive}
6277
6277
  rounded-full border-2 ${d ? "opacity-60 cursor-not-allowed" : "cursor-grab"}
6278
- ${M === "single" ? "cursor-grabbing scale-110" : M ? "" : "transition-all duration-150"}
6278
+ ${L === "single" ? "cursor-grabbing scale-110" : L ? "" : "transition-all duration-150"}
6279
6279
  ${I === "single" ? "ring-2 ring-offset-1 ring-blue-300" : ""}
6280
6280
  shadow-md hover:shadow-lg focus:outline-none dark:shadow-none
6281
6281
  `,
@@ -6301,7 +6301,7 @@ const Ul = Zr(function({
6301
6301
  absolute top-1/2 transform -translate-y-1/2 -translate-x-1/2 z-10
6302
6302
  ${F.thumb} ${V.thumb} ${V.thumbHover} ${V.thumbActive}
6303
6303
  rounded-full border-2 ${d ? "opacity-60 cursor-not-allowed" : "cursor-grab"}
6304
- ${M === "min" ? "cursor-grabbing scale-110 z-20" : M ? "" : "transition-all duration-150"}
6304
+ ${L === "min" ? "cursor-grabbing scale-110 z-20" : L ? "" : "transition-all duration-150"}
6305
6305
  ${I === "min" ? "ring-2 ring-offset-1 ring-blue-300" : ""}
6306
6306
  shadow-md hover:shadow-lg focus:outline-none dark:shadow-none
6307
6307
  `,
@@ -6327,7 +6327,7 @@ const Ul = Zr(function({
6327
6327
  absolute top-1/2 transform -translate-y-1/2 -translate-x-1/2 z-10
6328
6328
  ${F.thumb} ${V.thumb} ${V.thumbHover} ${V.thumbActive}
6329
6329
  rounded-full border-2 ${d ? "opacity-60 cursor-not-allowed" : "cursor-grab"}
6330
- ${M === "max" ? "cursor-grabbing scale-110 z-20" : M ? "" : "transition-all duration-150"}
6330
+ ${L === "max" ? "cursor-grabbing scale-110 z-20" : L ? "" : "transition-all duration-150"}
6331
6331
  ${I === "max" ? "ring-2 ring-offset-1 ring-blue-300" : ""}
6332
6332
  shadow-md hover:shadow-lg focus:outline-none dark:shadow-none
6333
6333
  `,
@@ -6671,9 +6671,9 @@ const Ul = Zr(function({
6671
6671
  ]);
6672
6672
  const C = (E, P) => {
6673
6673
  !f || T === 0 || (Z(!0), H.current = m === "horizontal" ? E : P, Y.current = H.current);
6674
- }, L = (E, P) => {
6674
+ }, M = (E, P) => {
6675
6675
  F && (Y.current = m === "horizontal" ? E : P, ue(Y.current - H.current));
6676
- }, M = () => {
6676
+ }, L = () => {
6677
6677
  if (!F) return;
6678
6678
  Math.abs(Y.current - H.current) > 50 && (Y.current < H.current ? x() : X()), Z(!1), ue(0);
6679
6679
  }, N = () => {
@@ -6705,12 +6705,12 @@ const Ul = Zr(function({
6705
6705
  onMouseDown: (E) => {
6706
6706
  E.preventDefault(), C(E.clientX, E.clientY);
6707
6707
  },
6708
- onMouseMove: (E) => L(E.clientX, E.clientY),
6709
- onMouseUp: M,
6710
- onMouseLeave: M,
6708
+ onMouseMove: (E) => M(E.clientX, E.clientY),
6709
+ onMouseUp: L,
6710
+ onMouseLeave: L,
6711
6711
  onTouchStart: (E) => C(E.touches[0].clientX, E.touches[0].clientY),
6712
- onTouchMove: (E) => L(E.touches[0].clientX, E.touches[0].clientY),
6713
- onTouchEnd: M,
6712
+ onTouchMove: (E) => M(E.touches[0].clientX, E.touches[0].clientY),
6713
+ onTouchEnd: L,
6714
6714
  children: [
6715
6715
  /* @__PURE__ */ s.jsx(
6716
6716
  "div",
@@ -7426,8 +7426,8 @@ const ui = ({
7426
7426
  }, is = ({
7427
7427
  title: e,
7428
7428
  content: n,
7429
- expandIcon: t,
7430
- collapseIcon: r,
7429
+ expandIcon: t = /* @__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" }) }),
7430
+ collapseIcon: r = /* @__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 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" }) }),
7431
7431
  isOpen: o,
7432
7432
  defaultExpanded: a = !1,
7433
7433
  onToggle: i,
@@ -7441,7 +7441,7 @@ const ui = ({
7441
7441
  };
7442
7442
  return ce(() => {
7443
7443
  p && g(o);
7444
- }, [o]), /* @__PURE__ */ s.jsxs("div", { className: `overflow-hidden ${l}`, children: [
7444
+ }, [o]), /* @__PURE__ */ s.jsxs("div", { className: `overflow-hidden w-full border border-color-gray-100 ${l}`, children: [
7445
7445
  /* @__PURE__ */ s.jsxs(
7446
7446
  "button",
7447
7447
  {
@@ -7798,8 +7798,8 @@ function $i(e, n = "/") {
7798
7798
  } = typeof e == "string" ? cn(e) : e;
7799
7799
  return {
7800
7800
  pathname: t ? t.startsWith("/") ? t : _i(t, n) : n,
7801
- search: Mi(r),
7802
- hash: Li(o)
7801
+ search: Li(r),
7802
+ hash: Mi(o)
7803
7803
  };
7804
7804
  }
7805
7805
  function _i(e, n) {
@@ -7824,7 +7824,7 @@ function Pr(e) {
7824
7824
  (t, r) => r === n.length - 1 ? t.pathname : t.pathnameBase
7825
7825
  );
7826
7826
  }
7827
- function Mr(e, n, t, r = !1) {
7827
+ function Lr(e, n, t, r = !1) {
7828
7828
  let o;
7829
7829
  typeof e == "string" ? o = cn(e) : (o = { ...e }, xe(
7830
7830
  !o.pathname || !o.pathname.includes("?"),
@@ -7852,22 +7852,22 @@ function Mr(e, n, t, r = !1) {
7852
7852
  let c = $i(o, l), u = i && i !== "/" && i.endsWith("/"), d = (a || i === ".") && t.endsWith("/");
7853
7853
  return !c.pathname.endsWith("/") && (u || d) && (c.pathname += "/"), c;
7854
7854
  }
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;
7855
+ var $e = (e) => e.join("/").replace(/\/\/+/g, "/"), Pi = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Li = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Mi = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
7856
7856
  function Fi(e) {
7857
7857
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
7858
7858
  }
7859
- var Lr = [
7859
+ var Mr = [
7860
7860
  "POST",
7861
7861
  "PUT",
7862
7862
  "PATCH",
7863
7863
  "DELETE"
7864
7864
  ];
7865
7865
  new Set(
7866
- Lr
7866
+ Mr
7867
7867
  );
7868
7868
  var Ai = [
7869
7869
  "GET",
7870
- ...Lr
7870
+ ...Mr
7871
7871
  ];
7872
7872
  new Set(Ai);
7873
7873
  var Ie = R.createContext(null);
@@ -7947,7 +7947,7 @@ function Oi() {
7947
7947
  t.go(c);
7948
7948
  return;
7949
7949
  }
7950
- let d = Mr(
7950
+ let d = Lr(
7951
7951
  c,
7952
7952
  JSON.parse(a),
7953
7953
  o,
@@ -7972,7 +7972,7 @@ R.createContext(null);
7972
7972
  function Ke(e, { relative: n } = {}) {
7973
7973
  let { matches: t } = R.useContext(Pe), { pathname: r } = De(), o = JSON.stringify(Pr(t));
7974
7974
  return R.useMemo(
7975
- () => Mr(
7975
+ () => Lr(
7976
7976
  e,
7977
7977
  JSON.parse(o),
7978
7978
  r,
@@ -8904,9 +8904,9 @@ const cs = ({
8904
8904
  ce(() => (g ? document.addEventListener("mousedown", C) : document.removeEventListener("mousedown", C), () => {
8905
8905
  document.removeEventListener("mousedown", C);
8906
8906
  }), [g]);
8907
- const L = (S) => {
8907
+ const M = (S) => {
8908
8908
  !S || x(S) || (e === "single" ? k(S) : e === "range" && (!w || w && y ? ($(S), O(null)) : S >= w ? O(S) : $(S)));
8909
- }, M = (S) => {
8909
+ }, L = (S) => {
8910
8910
  if (!S || x(S)) {
8911
8911
  V(null);
8912
8912
  return;
@@ -9050,8 +9050,8 @@ const cs = ({
9050
9050
  ${S ? "hover:bg-color-blue-100 cursor-pointer" : ""}
9051
9051
  ${S && E(S) ? "bg-color-blue-500 hover:bg-color-blue-500 text-color-white" : ""}
9052
9052
  ${S && x(S) ? "bg-color-gray-100 text-color-gray-400 !cursor-not-allowed hover:bg-color-gray-100" : ""}`,
9053
- onClick: () => S && L(S),
9054
- onMouseEnter: () => S && M(S),
9053
+ onClick: () => S && M(S),
9054
+ onMouseEnter: () => S && L(S),
9055
9055
  onMouseLeave: N,
9056
9056
  children: S ? S.getDate() : ""
9057
9057
  },
@@ -9280,6 +9280,6 @@ export {
9280
9280
  Ql as ToggleSwitch,
9281
9281
  os as Tooltip,
9282
9282
  ti as Typography,
9283
- Ll as extendColorMap,
9283
+ Ml as extendColorMap,
9284
9284
  Fl as extendRangeColorMap
9285
9285
  };