tcce-design-system-test 0.3.2 → 0.3.3

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.
@@ -1328,7 +1328,7 @@ const Sa = {
1328
1328
  ${({ size: t = 24 }) => Sa[t]}
1329
1329
  margin: 0;
1330
1330
  color: ${({ color: t }) => t || "var(--color-main-blue-primary)"};
1331
- `, Gy = k.h2`
1331
+ `, Xy = k.h2`
1332
1332
  ${({ size: t = 24 }) => Yu[t]}
1333
1333
  margin: 0;
1334
1334
  color: ${({ color: t }) => t || "var(--color-main-blue-primary)"};
@@ -6293,7 +6293,7 @@ const Ap = {
6293
6293
  ${Sa[30]}
6294
6294
  color: var(--color-main-blue-primary);
6295
6295
  margin: 0;
6296
- `, qy = ({ message: t = "Loading...", color: e = "primary", variant: n = "rotate" }) => /* @__PURE__ */ R(Np, { role: "status", "aria-live": "polite", children: [
6296
+ `, Zy = ({ message: t = "Loading...", color: e = "primary", variant: n = "rotate" }) => /* @__PURE__ */ R(Np, { role: "status", "aria-live": "polite", children: [
6297
6297
  /* @__PURE__ */ p(Lp, { children: /* @__PURE__ */ p(
6298
6298
  _i,
6299
6299
  {
@@ -6311,7 +6311,7 @@ const Ap = {
6311
6311
  align-items: center;
6312
6312
  justify-content: center;
6313
6313
  padding: 3rem 1rem;
6314
- `, Zy = ({ message: t, color: e = "primary", variant: n = "rotate" }) => /* @__PURE__ */ p(Op, { role: "status", "aria-live": "polite", children: /* @__PURE__ */ p(
6314
+ `, Jy = ({ message: t, color: e = "primary", variant: n = "rotate" }) => /* @__PURE__ */ p(Op, { role: "status", "aria-live": "polite", children: /* @__PURE__ */ p(
6315
6315
  _i,
6316
6316
  {
6317
6317
  size: "lg",
@@ -6695,8 +6695,7 @@ const vt = new tg(), eg = (t, e) => {
6695
6695
  ...e,
6696
6696
  id: n
6697
6697
  }), n;
6698
- }, ng = (t) => t && typeof t == "object" && "ok" in t && typeof t.ok == "boolean" && "status" in t && typeof t.status == "number", rg = eg, ig = () => vt.toasts, og = () => vt.getActiveToasts();
6699
- Object.assign(rg, {
6698
+ }, ng = (t) => t && typeof t == "object" && "ok" in t && typeof t.ok == "boolean" && "status" in t && typeof t.status == "number", rg = eg, ig = () => vt.toasts, og = () => vt.getActiveToasts(), sg = Object.assign(rg, {
6700
6699
  success: vt.success,
6701
6700
  info: vt.info,
6702
6701
  warning: vt.warning,
@@ -6714,15 +6713,15 @@ Up("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;
6714
6713
  function Tn(t) {
6715
6714
  return t.label !== void 0;
6716
6715
  }
6717
- const sg = 3, ag = "24px", lg = "16px", Os = 4e3, cg = 356, ug = 14, dg = 45, hg = 200;
6716
+ const ag = 3, lg = "24px", cg = "16px", Os = 4e3, ug = 356, dg = 14, hg = 45, fg = 200;
6718
6717
  function Lt(...t) {
6719
6718
  return t.filter(Boolean).join(" ");
6720
6719
  }
6721
- function fg(t) {
6720
+ function mg(t) {
6722
6721
  const [e, n] = t.split("-"), r = [];
6723
6722
  return e && r.push(e), n && r.push(n), r;
6724
6723
  }
6725
- const mg = (t) => {
6724
+ const pg = (t) => {
6726
6725
  var e, n, r, i, s, o, a, l, u;
6727
6726
  const { invert: d, toast: c, unstyled: h, interacting: f, setHeights: m, visibleToasts: y, heights: b, index: g, toasts: w, expanded: v, removeToast: A, defaultRichColors: T, closeButton: S, style: C, cancelButtonStyle: E, actionButtonStyle: M, className: _ = "", descriptionClassName: D = "", duration: K, position: U, gap: Tt, expandByDefault: et, classNames: O, icons: V, closeButtonAriaLabel: F = "Close toast" } = t, [I, j] = x.useState(null), [nt, rt] = x.useState(null), [B, G] = x.useState(!1), [Y, st] = x.useState(!1), [$t, H] = x.useState(!1), [yt, qt] = x.useState(!1), [_t, pt] = x.useState(!1), [Sc, nr] = x.useState(0), [Tc, Ki] = x.useState(0), Ke = x.useRef(c.duration || K || Os), Yi = x.useRef(null), Ht = x.useRef(null), Cc = g === 0, kc = g + 1 <= y, wt = c.type, ve = c.dismissible !== !1, Pc = c.className || "", Ac = c.descriptionClassName || "", hn = x.useMemo(() => b.findIndex((N) => N.toastId === c.id) || 0, [
6728
6727
  b,
@@ -6794,7 +6793,7 @@ const mg = (t) => {
6794
6793
  const Zt = x.useCallback(() => {
6795
6794
  st(!0), nr(be.current), m((N) => N.filter((at) => at.toastId !== c.id)), setTimeout(() => {
6796
6795
  A(c);
6797
- }, hg);
6796
+ }, fg);
6798
6797
  }, [
6799
6798
  c,
6800
6799
  A,
@@ -6891,7 +6890,7 @@ const mg = (t) => {
6891
6890
  if (yt || !ve) return;
6892
6891
  xe.current = null;
6893
6892
  const St = Number(((N = Ht.current) == null ? void 0 : N.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), fn = Number(((at = Ht.current) == null ? void 0 : at.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), ut = (/* @__PURE__ */ new Date()).getTime() - ((ht = Yi.current) == null ? void 0 : ht.getTime()), Ct = I === "x" ? St : fn, mn = Math.abs(Ct) / ut;
6894
- if (Math.abs(Ct) >= dg || mn > 0.11) {
6893
+ if (Math.abs(Ct) >= hg || mn > 0.11) {
6895
6894
  nr(be.current), c.onDismiss == null || c.onDismiss.call(c, c), rt(I === "x" ? St > 0 ? "right" : "left" : fn > 0 ? "down" : "up"), Zt(), qt(!0);
6896
6895
  return;
6897
6896
  } else {
@@ -6905,7 +6904,7 @@ const mg = (t) => {
6905
6904
  if (!xe.current || !ve || ((at = window.getSelection()) == null ? void 0 : at.toString().length) > 0) return;
6906
6905
  const ut = N.clientY - xe.current.y, Ct = N.clientX - xe.current.x;
6907
6906
  var mn;
6908
- const Mt = (mn = t.swipeDirections) != null ? mn : fg(U);
6907
+ const Mt = (mn = t.swipeDirections) != null ? mn : mg(U);
6909
6908
  !I && (Math.abs(Ct) > 1 || Math.abs(ut) > 1) && j(Math.abs(Ct) > Math.abs(ut) ? "x" : "y");
6910
6909
  let Vt = {
6911
6910
  x: 0,
@@ -6973,13 +6972,13 @@ function js() {
6973
6972
  const t = document.documentElement.getAttribute("dir");
6974
6973
  return t === "auto" || !t ? window.getComputedStyle(document.documentElement).direction : t;
6975
6974
  }
6976
- function pg(t, e) {
6975
+ function gg(t, e) {
6977
6976
  const n = {};
6978
6977
  return [
6979
6978
  t,
6980
6979
  e
6981
6980
  ].forEach((r, i) => {
6982
- const s = i === 1, o = s ? "--mobile-offset" : "--offset", a = s ? lg : ag;
6981
+ const s = i === 1, o = s ? "--mobile-offset" : "--offset", a = s ? cg : lg;
6983
6982
  function l(u) {
6984
6983
  [
6985
6984
  "top",
@@ -7000,11 +6999,11 @@ function pg(t, e) {
7000
6999
  }) : l(a);
7001
7000
  }), n;
7002
7001
  }
7003
- const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7002
+ const yg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7004
7003
  const { id: r, invert: i, position: s = "bottom-right", hotkey: o = [
7005
7004
  "altKey",
7006
7005
  "KeyT"
7007
- ], expand: a, closeButton: l, className: u, offset: d, mobileOffset: c, theme: h = "light", richColors: f, duration: m, style: y, visibleToasts: b = sg, toastOptions: g, dir: w = js(), gap: v = ug, icons: A, containerAriaLabel: T = "Notifications" } = e, [S, C] = x.useState([]), E = x.useMemo(() => r ? S.filter((B) => B.toasterId === r) : S.filter((B) => !B.toasterId), [
7006
+ ], expand: a, closeButton: l, className: u, offset: d, mobileOffset: c, theme: h = "light", richColors: f, duration: m, style: y, visibleToasts: b = ag, toastOptions: g, dir: w = js(), gap: v = dg, icons: A, containerAriaLabel: T = "Notifications" } = e, [S, C] = x.useState([]), E = x.useMemo(() => r ? S.filter((B) => B.toasterId === r) : S.filter((B) => !B.toasterId), [
7008
7007
  S,
7009
7008
  r
7010
7009
  ]), M = x.useMemo(() => Array.from(new Set([
@@ -7119,10 +7118,10 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7119
7118
  "data-x-position": $t,
7120
7119
  style: {
7121
7120
  "--front-toast-height": `${((Y = _[0]) == null ? void 0 : Y.height) || 0}px`,
7122
- "--width": `${cg}px`,
7121
+ "--width": `${ug}px`,
7123
7122
  "--gap": `${v}px`,
7124
7123
  ...y,
7125
- ...pg(d, c)
7124
+ ...gg(d, c)
7126
7125
  },
7127
7126
  onBlur: (H) => {
7128
7127
  nt.current && !H.currentTarget.contains(H.relatedTarget) && (nt.current = !1, j.current && (j.current.focus({
@@ -7144,7 +7143,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7144
7143
  onPointerUp: () => et(!1)
7145
7144
  }, E.filter((H) => !H.position && G === 0 || H.position === B).map((H, yt) => {
7146
7145
  var qt, _t;
7147
- return /* @__PURE__ */ x.createElement(mg, {
7146
+ return /* @__PURE__ */ x.createElement(pg, {
7148
7147
  key: H.id,
7149
7148
  icons: A,
7150
7149
  index: yt,
@@ -7175,8 +7174,8 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7175
7174
  });
7176
7175
  })) : null;
7177
7176
  }));
7178
- }), Jy = () => /* @__PURE__ */ p(
7179
- gg,
7177
+ }), Qy = () => /* @__PURE__ */ p(
7178
+ yg,
7180
7179
  {
7181
7180
  position: "bottom-center",
7182
7181
  theme: "light",
@@ -7192,7 +7191,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7192
7191
  loading: /* @__PURE__ */ p(jp, { color: "orange" })
7193
7192
  }
7194
7193
  }
7195
- ), yg = {
7194
+ ), tv = sg, vg = {
7196
7195
  elevated: P`
7197
7196
  background-color: var(--color-main-white);
7198
7197
  box-shadow: var(--shadow-black-card);
@@ -7223,7 +7222,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7223
7222
  border: none;
7224
7223
  }
7225
7224
  `
7226
- }, vg = {
7225
+ }, bg = {
7227
7226
  sm: P`
7228
7227
  padding: 0.75rem;
7229
7228
  gap: 0.5rem;
@@ -7236,7 +7235,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7236
7235
  padding: 1.25rem;
7237
7236
  gap: 0.5rem;
7238
7237
  `
7239
- }, bg = P`
7238
+ }, xg = P`
7240
7239
  transition:
7241
7240
  box-shadow 0.3s ease-out,
7242
7241
  background-color 0.3s ease-out,
@@ -7256,7 +7255,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7256
7255
  &:focus-visible {
7257
7256
  outline-color: var(--color-main-blue-primary);
7258
7257
  }
7259
- `, xg = P`
7258
+ `, wg = P`
7260
7259
  opacity: 0.6;
7261
7260
  cursor: not-allowed;
7262
7261
  pointer-events: none;
@@ -7265,7 +7264,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7265
7264
  transform: none;
7266
7265
  box-shadow: inherit;
7267
7266
  }
7268
- `, wg = k.div`
7267
+ `, Sg = k.div`
7269
7268
  display: flex;
7270
7269
  flex-direction: column;
7271
7270
  border-radius: var(--border-radius-card);
@@ -7273,11 +7272,11 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7273
7272
  height: 100%;
7274
7273
  outline: 2px solid transparent;
7275
7274
  outline-offset: -1px;
7276
- ${({ $variant: t }) => yg[t]}
7277
- ${({ $clickable: t }) => t && bg}
7278
- ${({ $disabled: t }) => t && xg}
7279
- ${({ $size: t }) => vg[t]}
7280
- `, Qy = ({
7275
+ ${({ $variant: t }) => vg[t]}
7276
+ ${({ $clickable: t }) => t && xg}
7277
+ ${({ $disabled: t }) => t && wg}
7278
+ ${({ $size: t }) => bg[t]}
7279
+ `, ev = ({
7281
7280
  variant: t = "elevated",
7282
7281
  size: e = "md",
7283
7282
  disabled: n = !1,
@@ -7289,7 +7288,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7289
7288
  n || r && r(a);
7290
7289
  };
7291
7290
  return /* @__PURE__ */ p(
7292
- wg,
7291
+ Sg,
7293
7292
  {
7294
7293
  $variant: t,
7295
7294
  $size: e,
@@ -7305,30 +7304,30 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7305
7304
  children: i
7306
7305
  }
7307
7306
  );
7308
- }, Sg = k.div`
7307
+ }, Tg = k.div`
7309
7308
  display: flex;
7310
7309
  align-items: center;
7311
7310
  align-self: stretch;
7312
7311
  gap: 0.5rem;
7313
- `, tv = ({
7312
+ `, nv = ({
7314
7313
  children: t,
7315
7314
  ...e
7316
- }) => /* @__PURE__ */ p(Sg, { ...e, children: t }), Tg = k.div`
7315
+ }) => /* @__PURE__ */ p(Tg, { ...e, children: t }), Cg = k.div`
7317
7316
  flex: 1;
7318
7317
  display: flex;
7319
7318
  flex-direction: column;
7320
- `, ev = ({
7319
+ `, rv = ({
7321
7320
  children: t,
7322
7321
  ...e
7323
- }) => /* @__PURE__ */ p(Tg, { ...e, children: t }), Cg = k.div`
7322
+ }) => /* @__PURE__ */ p(Cg, { ...e, children: t }), kg = k.div`
7324
7323
  display: flex;
7325
7324
  align-items: center;
7326
7325
  align-self: stretch;
7327
7326
  gap: 0.5rem;
7328
- `, nv = ({
7327
+ `, iv = ({
7329
7328
  children: t,
7330
7329
  ...e
7331
- }) => /* @__PURE__ */ p(Cg, { ...e, children: t }), kg = {
7330
+ }) => /* @__PURE__ */ p(kg, { ...e, children: t }), Pg = {
7332
7331
  sm: P`
7333
7332
  ${z[12]}
7334
7333
  `,
@@ -7338,9 +7337,9 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7338
7337
  lg: P`
7339
7338
  ${z[18]}
7340
7339
  `
7341
- }, Pg = k.div`
7340
+ }, Ag = k.div`
7342
7341
  color: var(--color-main-warning-state);
7343
- ${({ $size: t }) => kg[t]}
7342
+ ${({ $size: t }) => Pg[t]}
7344
7343
  font-weight: 400;
7345
7344
  margin-top: 0.25rem;
7346
7345
  display: flex;
@@ -7351,7 +7350,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7351
7350
  className: e,
7352
7351
  size: n = "md",
7353
7352
  ...r
7354
- }) => /* @__PURE__ */ p(Pg, { className: e, $size: n, ...r, children: t }), Ag = {
7353
+ }) => /* @__PURE__ */ p(Ag, { className: e, $size: n, ...r, children: t }), Eg = {
7355
7354
  sm: P`
7356
7355
  ${z[16]}
7357
7356
  `,
@@ -7361,12 +7360,12 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7361
7360
  lg: P`
7362
7361
  ${z[30]}
7363
7362
  `
7364
- }, Eg = k.label`
7363
+ }, Dg = k.label`
7365
7364
  color: var(--color-main-blue-primary);
7366
- ${({ $size: t }) => Ag[t]}
7367
- ${({ $disabled: t }) => t && Dg}
7365
+ ${({ $size: t }) => Eg[t]}
7366
+ ${({ $disabled: t }) => t && $g}
7368
7367
  cursor: ${({ $disabled: t, $htmlFor: e }) => t || !e ? "default" : "pointer"};
7369
- `, Dg = P`
7368
+ `, $g = P`
7370
7369
  cursor: not-allowed;
7371
7370
  opacity: 0.6;
7372
7371
  `, Hi = ({
@@ -7378,7 +7377,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7378
7377
  size: s = "md",
7379
7378
  ...o
7380
7379
  }) => /* @__PURE__ */ R(
7381
- Eg,
7380
+ Dg,
7382
7381
  {
7383
7382
  className: n,
7384
7383
  htmlFor: e,
@@ -7391,7 +7390,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7391
7390
  r && /* @__PURE__ */ p("span", { style: { color: "var(--color-main-warning-state)" }, children: "*" })
7392
7391
  ]
7393
7392
  }
7394
- ), $g = [
7393
+ ), Mg = [
7395
7394
  "text",
7396
7395
  "email",
7397
7396
  "password",
@@ -7407,10 +7406,10 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7407
7406
  "checkbox",
7408
7407
  "radio",
7409
7408
  "pin"
7410
- ], rv = (t) => t.map((e) => ({
7409
+ ], ov = (t) => t.map((e) => ({
7411
7410
  name: e.name || "",
7412
7411
  label: e.label || "",
7413
- type: $g.includes(e.type) ? e.type : "text",
7412
+ type: Mg.includes(e.type) ? e.type : "text",
7414
7413
  placeholder: e.placeholder,
7415
7414
  required: e.required || !1,
7416
7415
  disabled: e.disabled || !1,
@@ -7421,10 +7420,10 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7421
7420
  pinLength: e.pinLength || 6,
7422
7421
  pinType: e.pinType || "number",
7423
7422
  rows: e.rows || 4
7424
- })), iv = (t) => t.map((e) => ({
7423
+ })), sv = (t) => t.map((e) => ({
7425
7424
  value: e.value,
7426
7425
  label: e.label
7427
- })), ov = {
7426
+ })), av = {
7428
7427
  /**
7429
7428
  * Creates a text input field configuration
7430
7429
  */
@@ -7512,7 +7511,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7512
7511
  },
7513
7512
  ...r
7514
7513
  })
7515
- }, sv = (t, e, n, r, i, s, o, a) => {
7514
+ }, lv = (t, e, n, r, i, s, o, a) => {
7516
7515
  const { field: l, ...u } = e, d = {
7517
7516
  ...l,
7518
7517
  ...u,
@@ -7654,7 +7653,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7654
7653
  border: var(--border-input-disabled) !important;
7655
7654
  cursor: not-allowed;
7656
7655
  opacity: 0.6;
7657
- `, Mg = P`
7656
+ `, Vg = P`
7658
7657
  border: none;
7659
7658
  border-top: 0;
7660
7659
  border-right: 0;
@@ -7702,13 +7701,13 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7702
7701
  justify-content: center;
7703
7702
  flex-shrink: 0;
7704
7703
  user-select: none;
7705
- `, Vg = k.div`
7704
+ `, Rg = k.div`
7706
7705
  ${Ue}
7707
7706
  ${({ $size: t }) => tr[t]}
7708
7707
  ${({ $hasError: t }) => t && We}
7709
7708
  ${({ $disabled: t }) => t && ye}
7710
- ${({ $isFlushed: t }) => t && Mg}
7711
- `, Rg = k.input`
7709
+ ${({ $isFlushed: t }) => t && Vg}
7710
+ `, Ig = k.input`
7712
7711
  ${Ui}
7713
7712
  `, nc = zt(
7714
7713
  ({
@@ -7724,7 +7723,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7724
7723
  className: u,
7725
7724
  ...d
7726
7725
  }, c) => /* @__PURE__ */ R(
7727
- Vg,
7726
+ Rg,
7728
7727
  {
7729
7728
  $size: t,
7730
7729
  $hasError: e,
@@ -7740,7 +7739,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7740
7739
  }
7741
7740
  ),
7742
7741
  /* @__PURE__ */ p(
7743
- Rg,
7742
+ Ig,
7744
7743
  {
7745
7744
  ref: c,
7746
7745
  type: r,
@@ -7762,18 +7761,18 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
7762
7761
  )
7763
7762
  );
7764
7763
  nc.displayName = "BaseInput";
7765
- const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Ng = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Lg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Bg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("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" })), Og = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), jg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Fg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M17.8827 19.2968C16.1814 20.3755 14.1638 21.0002 12.0003 21.0002C6.60812 21.0002 2.12215 17.1204 1.18164 12.0002C1.61832 9.62282 2.81932 7.5129 4.52047 5.93457L1.39366 2.80777L2.80788 1.39355L22.6069 21.1925L21.1927 22.6068L17.8827 19.2968ZM5.9356 7.3497C4.60673 8.56015 3.6378 10.1672 3.22278 12.0002C4.14022 16.0521 7.7646 19.0002 12.0003 19.0002C13.5997 19.0002 15.112 18.5798 16.4243 17.8384L14.396 15.8101C13.7023 16.2472 12.8808 16.5002 12.0003 16.5002C9.51498 16.5002 7.50026 14.4854 7.50026 12.0002C7.50026 11.1196 7.75317 10.2981 8.19031 9.60442L5.9356 7.3497ZM12.9139 14.328L9.67246 11.0866C9.5613 11.3696 9.50026 11.6777 9.50026 12.0002C9.50026 13.3809 10.6196 14.5002 12.0003 14.5002C12.3227 14.5002 12.6309 14.4391 12.9139 14.328ZM20.8068 16.5925L19.376 15.1617C20.0319 14.2268 20.5154 13.1586 20.7777 12.0002C19.8603 7.94818 16.2359 5.00016 12.0003 5.00016C11.1544 5.00016 10.3329 5.11773 9.55249 5.33818L7.97446 3.76015C9.22127 3.26959 10.5793 3.00016 12.0003 3.00016C17.3924 3.00016 21.8784 6.87992 22.8189 12.0002C22.5067 13.6998 21.8038 15.2628 20.8068 16.5925ZM11.7229 7.50857C11.8146 7.50299 11.9071 7.50016 12.0003 7.50016C14.4855 7.50016 16.5003 9.51488 16.5003 12.0002C16.5003 12.0933 16.4974 12.1858 16.4919 12.2775L11.7229 7.50857Z" })), zs = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M3 4H21V6H3V4ZM3 11H21V13H3V11ZM3 18H21V20H3V18Z" })), zg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM9 21H15V23H9V21Z" })), _g = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM18 17V10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10V17H18ZM9 21H15V23H9V21Z" })), _s = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Hg = k.div`
7764
+ const Ng = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Lg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Bg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Og = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("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" })), jg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Fg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), zg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M17.8827 19.2968C16.1814 20.3755 14.1638 21.0002 12.0003 21.0002C6.60812 21.0002 2.12215 17.1204 1.18164 12.0002C1.61832 9.62282 2.81932 7.5129 4.52047 5.93457L1.39366 2.80777L2.80788 1.39355L22.6069 21.1925L21.1927 22.6068L17.8827 19.2968ZM5.9356 7.3497C4.60673 8.56015 3.6378 10.1672 3.22278 12.0002C4.14022 16.0521 7.7646 19.0002 12.0003 19.0002C13.5997 19.0002 15.112 18.5798 16.4243 17.8384L14.396 15.8101C13.7023 16.2472 12.8808 16.5002 12.0003 16.5002C9.51498 16.5002 7.50026 14.4854 7.50026 12.0002C7.50026 11.1196 7.75317 10.2981 8.19031 9.60442L5.9356 7.3497ZM12.9139 14.328L9.67246 11.0866C9.5613 11.3696 9.50026 11.6777 9.50026 12.0002C9.50026 13.3809 10.6196 14.5002 12.0003 14.5002C12.3227 14.5002 12.6309 14.4391 12.9139 14.328ZM20.8068 16.5925L19.376 15.1617C20.0319 14.2268 20.5154 13.1586 20.7777 12.0002C19.8603 7.94818 16.2359 5.00016 12.0003 5.00016C11.1544 5.00016 10.3329 5.11773 9.55249 5.33818L7.97446 3.76015C9.22127 3.26959 10.5793 3.00016 12.0003 3.00016C17.3924 3.00016 21.8784 6.87992 22.8189 12.0002C22.5067 13.6998 21.8038 15.2628 20.8068 16.5925ZM11.7229 7.50857C11.8146 7.50299 11.9071 7.50016 12.0003 7.50016C14.4855 7.50016 16.5003 9.51488 16.5003 12.0002C16.5003 12.0933 16.4974 12.1858 16.4919 12.2775L11.7229 7.50857Z" })), zs = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M3 4H21V6H3V4ZM3 11H21V13H3V11ZM3 18H21V20H3V18Z" })), _g = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM9 21H15V23H9V21Z" })), Hg = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM18 17V10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10V17H18ZM9 21H15V23H9V21Z" })), _s = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) => x.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: e, height: e, fill: t, ...r, className: "remixicon " + (n || "") }, x.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Ug = k.div`
7766
7765
  ${Ue}
7767
7766
  ${({ $size: t }) => tr[t ?? "md"]}
7768
7767
  ${({ $hasError: t }) => t && We}
7769
7768
  ${({ $disabled: t }) => t && ye}
7770
7769
  position: relative;
7771
- `, Ug = k.input`
7770
+ `, Wg = k.input`
7772
7771
  ${Ui}
7773
- `, Wg = k.span`
7772
+ `, Kg = k.span`
7774
7773
  ${er}
7775
7774
  cursor: ${({ $disabled: t }) => t ? "not-allowed" : "pointer"};
7776
- `, Kg = ({
7775
+ `, Yg = ({
7777
7776
  size: t = "md",
7778
7777
  leftIcon: e,
7779
7778
  iconSize: n = "sm",
@@ -7786,7 +7785,7 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7786
7785
  }) => {
7787
7786
  const [u, d] = Wt(!1), c = () => d((h) => !h);
7788
7787
  return /* @__PURE__ */ R(
7789
- Hg,
7788
+ Ug,
7790
7789
  {
7791
7790
  $size: t,
7792
7791
  $hasError: s,
@@ -7802,7 +7801,7 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7802
7801
  }
7803
7802
  ),
7804
7803
  /* @__PURE__ */ p(
7805
- Ug,
7804
+ Wg,
7806
7805
  {
7807
7806
  type: u ? "text" : "password",
7808
7807
  placeholder: i,
@@ -7810,10 +7809,10 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7810
7809
  ...l
7811
7810
  }
7812
7811
  ),
7813
- /* @__PURE__ */ p(Wg, { $disabled: o, onClick: o ? void 0 : c, children: /* @__PURE__ */ p(
7812
+ /* @__PURE__ */ p(Kg, { $disabled: o, onClick: o ? void 0 : c, children: /* @__PURE__ */ p(
7814
7813
  q,
7815
7814
  {
7816
- component: u ? Fg : jg,
7815
+ component: u ? zg : Fg,
7817
7816
  size: n,
7818
7817
  color: o ? "var(--color-dark-200)" : r
7819
7818
  }
@@ -7824,19 +7823,19 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7824
7823
  }, rc = (t) => {
7825
7824
  const e = t.findIndex((n) => !n.disabled);
7826
7825
  return e !== -1 ? e : 0;
7827
- }, Yg = (t) => {
7826
+ }, Gg = (t) => {
7828
7827
  const e = t.map((n, r) => ({ ...n, index: r })).reverse().find((n) => !n.disabled)?.index;
7829
7828
  return e !== void 0 ? e : t.length - 1;
7830
- }, Gg = (t, e, n) => {
7829
+ }, Xg = (t, e, n) => {
7831
7830
  let r = t;
7832
7831
  do
7833
7832
  r = (r + e + n.length) % n.length;
7834
7833
  while (n[r]?.disabled && r !== t);
7835
7834
  return r;
7836
- }, Xg = (t, e) => ({
7835
+ }, qg = (t, e) => ({
7837
7836
  target: { value: String(t), name: e },
7838
7837
  currentTarget: { value: String(t), name: e }
7839
- }), qg = (t, e) => {
7838
+ }), Zg = (t, e) => {
7840
7839
  if (e >= 0 && t.current) {
7841
7840
  const n = t.current.children[e];
7842
7841
  n && n.scrollIntoView({
@@ -7844,17 +7843,17 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7844
7843
  behavior: "smooth"
7845
7844
  });
7846
7845
  }
7847
- }, Zg = (t, e) => {
7846
+ }, Jg = (t, e) => {
7848
7847
  if (typeof t == "string" || typeof t == "number") {
7849
7848
  const n = e.findIndex((r) => r.value === t);
7850
7849
  if (n !== -1 && !e[n].disabled)
7851
7850
  return n;
7852
7851
  }
7853
7852
  return rc(e);
7854
- }, Jg = k.div`
7853
+ }, Qg = k.div`
7855
7854
  position: relative;
7856
7855
  width: 100%;
7857
- `, Qg = k.div`
7856
+ `, t0 = k.div`
7858
7857
  ${er}
7859
7858
  position: absolute;
7860
7859
  right: 1rem;
@@ -7862,7 +7861,7 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7862
7861
  transform: translateY(-50%) rotate(${({ $open: t }) => t ? "180deg" : "0deg"});
7863
7862
  pointer-events: none;
7864
7863
  transition: transform 0.3s ease-out;
7865
- `, t0 = k.button`
7864
+ `, e0 = k.button`
7866
7865
  ${Ue}
7867
7866
  ${({ $size: t }) => tr[t]}
7868
7867
  ${({ $hasError: t }) => t && We}
@@ -7884,7 +7883,7 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7884
7883
  &:hover {
7885
7884
  background-color: var(--color-main-alternative-secondary);
7886
7885
  }
7887
- `, e0 = k(ge.ul)`
7886
+ `, n0 = k(ge.ul)`
7888
7887
  position: absolute;
7889
7888
  z-index: 50;
7890
7889
  left: 0;
@@ -7906,11 +7905,11 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7906
7905
  border: var(--border-input-focus);
7907
7906
  outline: none;
7908
7907
  }
7909
- `, n0 = k.div`
7908
+ `, r0 = k.div`
7910
7909
  max-height: 15rem;
7911
7910
  overflow-y: auto;
7912
7911
  outline: none;
7913
- `, r0 = k.li`
7912
+ `, i0 = k.li`
7914
7913
  display: flex;
7915
7914
  align-items: center;
7916
7915
  gap: 0.5rem;
@@ -7920,11 +7919,11 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7920
7919
  cursor: ${({ $disabled: t }) => t ? "not-allowed" : "pointer"};
7921
7920
  user-select: none;
7922
7921
 
7923
- ${({ $size: t }) => i0[t ?? "md"]}
7922
+ ${({ $size: t }) => o0[t ?? "md"]}
7924
7923
 
7925
7924
  background-color: ${({ $active: t }) => t ? "var(--color-main-alternative-secondary)" : "transparent"};
7926
7925
  color: ${({ $disabled: t }) => t ? "var(--color-dark-200)" : "var(--color-main-blue-primary)"};
7927
- `, i0 = {
7926
+ `, o0 = {
7928
7927
  sm: P`
7929
7928
  ${z[16]}
7930
7929
  `,
@@ -7952,9 +7951,9 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7952
7951
  }, f) => {
7953
7952
  const m = ft(null), y = ft(null), b = ft(null), g = ft(null), w = Xt(), [v, A] = Wt(!1), [T, S] = Wt(-1), C = r.find((D) => D.value === a);
7954
7953
  Ot(() => {
7955
- v && y.current && (y.current.focus(), S(Zg(a, r)));
7954
+ v && y.current && (y.current.focus(), S(Jg(a, r)));
7956
7955
  }, [v, r, a]), Ot(() => {
7957
- qg(b, T);
7956
+ Zg(b, T);
7958
7957
  }, [T]), Ot(() => {
7959
7958
  if (!v) return;
7960
7959
  const D = (K) => {
@@ -7967,7 +7966,7 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7967
7966
  });
7968
7967
  }, [v, f]);
7969
7968
  const E = (D) => {
7970
- D.disabled || (s?.(D), o && o(Xg(D.value, l)), A(!1), S(-1));
7969
+ D.disabled || (s?.(D), o && o(qg(D.value, l)), A(!1), S(-1));
7971
7970
  }, M = (D) => {
7972
7971
  n || (D.key === "ArrowDown" || D.key === "ArrowUp" ? (D.preventDefault(), A(!0)) : (D.key === "Enter" || D.key === " ") && (D.preventDefault(), A((K) => !K)));
7973
7972
  }, _ = (D) => {
@@ -7978,17 +7977,17 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
7978
7977
  if (D.key === "ArrowDown" || D.key === "ArrowUp") {
7979
7978
  D.preventDefault();
7980
7979
  const K = D.key === "ArrowDown" ? 1 : -1;
7981
- S(Gg(T, K, r));
7980
+ S(Xg(T, K, r));
7982
7981
  } else if (D.key === "Enter") {
7983
7982
  D.preventDefault();
7984
7983
  const K = r[T];
7985
7984
  K && !K.disabled && E(K);
7986
- } else D.key === "Home" ? (D.preventDefault(), S(rc(r))) : D.key === "End" && (D.preventDefault(), S(Yg(r)));
7985
+ } else D.key === "Home" ? (D.preventDefault(), S(rc(r))) : D.key === "End" && (D.preventDefault(), S(Gg(r)));
7987
7986
  };
7988
- return /* @__PURE__ */ R(Jg, { ref: m, className: u, children: [
7987
+ return /* @__PURE__ */ R(Qg, { ref: m, className: u, children: [
7989
7988
  l && /* @__PURE__ */ p("input", { type: "hidden", name: l, value: C?.value ?? "" }),
7990
7989
  /* @__PURE__ */ p(
7991
- t0,
7990
+ e0,
7992
7991
  {
7993
7992
  type: "button",
7994
7993
  $size: t,
@@ -8010,16 +8009,16 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
8010
8009
  children: C?.label ?? i ?? ""
8011
8010
  }
8012
8011
  ),
8013
- /* @__PURE__ */ p(Qg, { $size: t, $disabled: n, $open: v, children: /* @__PURE__ */ p(
8012
+ /* @__PURE__ */ p(t0, { $size: t, $disabled: n, $open: v, children: /* @__PURE__ */ p(
8014
8013
  q,
8015
8014
  {
8016
- component: Lg,
8015
+ component: Bg,
8017
8016
  size: t === "sm" || t === "md" ? "sm" : "md",
8018
8017
  color: n ? "var(--color-dark-200)" : "var(--color-main-blue-primary)"
8019
8018
  }
8020
8019
  ) }),
8021
8020
  /* @__PURE__ */ p(qn, { children: v && /* @__PURE__ */ p(
8022
- e0,
8021
+ n0,
8023
8022
  {
8024
8023
  ref: y,
8025
8024
  className: "custom-scrollbar",
@@ -8047,10 +8046,10 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
8047
8046
  ease: [0.4, 0, 0.2, 1]
8048
8047
  },
8049
8048
  onKeyDown: _,
8050
- children: /* @__PURE__ */ p(n0, { ref: b, className: c, children: r.map((D, K) => {
8049
+ children: /* @__PURE__ */ p(r0, { ref: b, className: c, children: r.map((D, K) => {
8051
8050
  const U = K === T;
8052
8051
  return /* @__PURE__ */ p(
8053
- r0,
8052
+ i0,
8054
8053
  {
8055
8054
  id: `${w}-option-${K}`,
8056
8055
  className: h,
@@ -8074,9 +8073,9 @@ const Ig = ({ color: t = "currentColor", size: e = 24, className: n, ...r }) =>
8074
8073
  }
8075
8074
  );
8076
8075
  ic.displayName = "SelectInput";
8077
- const o0 = k.textarea`
8076
+ const s0 = k.textarea`
8078
8077
  ${Ue}
8079
- ${({ $size: t }) => s0[t]}
8078
+ ${({ $size: t }) => a0[t]}
8080
8079
  ${({ $hasError: t }) => t && We}
8081
8080
  ${({ $disabled: t }) => t && ye}
8082
8081
  ${z[20]}
@@ -8092,7 +8091,7 @@ const o0 = k.textarea`
8092
8091
  color: var(--color-dark-200);
8093
8092
  opacity: 1;
8094
8093
  }
8095
- `, s0 = {
8094
+ `, a0 = {
8096
8095
  sm: `
8097
8096
  ${z[20]}
8098
8097
  height: 6rem;
@@ -8124,7 +8123,7 @@ const o0 = k.textarea`
8124
8123
  onChange: l,
8125
8124
  ...u
8126
8125
  }, d) => /* @__PURE__ */ p(
8127
- o0,
8126
+ s0,
8128
8127
  {
8129
8128
  ref: d,
8130
8129
  $size: t,
@@ -8149,12 +8148,12 @@ const o0 = k.textarea`
8149
8148
  )
8150
8149
  );
8151
8150
  oc.displayName = "TextAreaInput";
8152
- const a0 = k.div`
8151
+ const l0 = k.div`
8153
8152
  ${Ue}
8154
8153
  ${({ $size: t }) => tr[t ?? "md"]}
8155
- `, l0 = k.input`
8154
+ `, c0 = k.input`
8156
8155
  ${Ui}
8157
- `, c0 = ({
8156
+ `, u0 = ({
8158
8157
  size: t = "md",
8159
8158
  leftIcon: e,
8160
8159
  rightIcon: n = _s,
@@ -8163,15 +8162,15 @@ const a0 = k.div`
8163
8162
  placeholder: s = "Buscar...",
8164
8163
  onSearch: o,
8165
8164
  className: a
8166
- }) => /* @__PURE__ */ R(a0, { $size: t, className: a, children: [
8165
+ }) => /* @__PURE__ */ R(l0, { $size: t, className: a, children: [
8167
8166
  e && /* @__PURE__ */ p(q, { component: e, size: r, color: i }),
8168
- /* @__PURE__ */ p(l0, { placeholder: s, onChange: (u) => {
8167
+ /* @__PURE__ */ p(c0, { placeholder: s, onChange: (u) => {
8169
8168
  o?.(u.target.value);
8170
8169
  } }),
8171
8170
  n ? /* @__PURE__ */ p(q, { component: n, size: r, color: i }) : /* @__PURE__ */ p(q, { component: _s, size: r, color: i })
8172
- ] }), u0 = k.div`
8171
+ ] }), d0 = k.div`
8173
8172
  position: relative;
8174
- `, d0 = k.input`
8173
+ `, h0 = k.input`
8175
8174
  position: absolute;
8176
8175
  height: 1.5rem;
8177
8176
  width: 1.5rem;
@@ -8188,7 +8187,7 @@ const a0 = k.div`
8188
8187
  outline-color: var(--color-main-orange-primary);
8189
8188
  outline-offset: 2px;
8190
8189
  }
8191
- `, h0 = k.div`
8190
+ `, f0 = k.div`
8192
8191
  height: 1.5rem;
8193
8192
  width: 1.5rem;
8194
8193
  border: 2px solid;
@@ -8209,17 +8208,17 @@ const a0 = k.div`
8209
8208
 
8210
8209
  ${({ $hasError: t }) => t && We}
8211
8210
  ${({ $disabled: t }) => t && ye}
8212
- ${({ $checked: t }) => t && f0}
8213
- `, f0 = P`
8211
+ ${({ $checked: t }) => t && m0}
8212
+ `, m0 = P`
8214
8213
  background-color: var(--color-main-orange-primary);
8215
8214
  border-color: var(--color-main-orange-primary);
8216
- `, m0 = k.svg`
8215
+ `, p0 = k.svg`
8217
8216
  height: 1.5rem;
8218
8217
  width: 1.5rem;
8219
8218
  color: ${({ $disabled: t }) => t ? "var(--color-dark-200)" : "white"};
8220
8219
  fill: none;
8221
8220
  stroke: currentColor;
8222
- `, p0 = k.span`
8221
+ `, g0 = k.span`
8223
8222
  display: block;
8224
8223
  width: 60%;
8225
8224
  height: 2px;
@@ -8251,9 +8250,9 @@ const a0 = k.div`
8251
8250
  );
8252
8251
  return Ot(() => {
8253
8252
  m.current && (m.current.indeterminate = !!e);
8254
- }, [e]), /* @__PURE__ */ R(u0, { className: s, children: [
8253
+ }, [e]), /* @__PURE__ */ R(d0, { className: s, children: [
8255
8254
  /* @__PURE__ */ p(
8256
- d0,
8255
+ h0,
8257
8256
  {
8258
8257
  ref: y,
8259
8258
  type: "checkbox",
@@ -8269,14 +8268,14 @@ const a0 = k.div`
8269
8268
  }
8270
8269
  ),
8271
8270
  /* @__PURE__ */ R(
8272
- h0,
8271
+ f0,
8273
8272
  {
8274
8273
  $checked: !!c || !!e,
8275
8274
  $hasError: t,
8276
8275
  $disabled: r,
8277
8276
  className: o,
8278
8277
  children: [
8279
- c && !e && /* @__PURE__ */ p(m0, { $disabled: r, viewBox: "0 0 24 24", children: /* @__PURE__ */ p(
8278
+ c && !e && /* @__PURE__ */ p(p0, { $disabled: r, viewBox: "0 0 24 24", children: /* @__PURE__ */ p(
8280
8279
  "path",
8281
8280
  {
8282
8281
  strokeLinecap: "round",
@@ -8285,7 +8284,7 @@ const a0 = k.div`
8285
8284
  d: "M5 13l4 4L19 7"
8286
8285
  }
8287
8286
  ) }),
8288
- e && /* @__PURE__ */ p(p0, {})
8287
+ e && /* @__PURE__ */ p(g0, {})
8289
8288
  ]
8290
8289
  }
8291
8290
  )
@@ -8293,7 +8292,7 @@ const a0 = k.div`
8293
8292
  }
8294
8293
  );
8295
8294
  sc.displayName = "CheckboxInput";
8296
- const g0 = ({
8295
+ const y0 = ({
8297
8296
  children: t,
8298
8297
  size: e = "md",
8299
8298
  disabled: n = !1,
@@ -8315,7 +8314,7 @@ const g0 = ({
8315
8314
  ...a,
8316
8315
  children: t
8317
8316
  }
8318
- ), y0 = k.section`
8317
+ ), v0 = k.section`
8319
8318
  display: flex;
8320
8319
  align-items: center;
8321
8320
  justify-content: center;
@@ -8336,7 +8335,7 @@ const g0 = ({
8336
8335
  ...c
8337
8336
  }, h) => {
8338
8337
  const f = Xt(), m = c.id ?? f;
8339
- return /* @__PURE__ */ R(y0, { className: l, children: [
8338
+ return /* @__PURE__ */ R(v0, { className: l, children: [
8340
8339
  /* @__PURE__ */ p(
8341
8340
  sc,
8342
8341
  {
@@ -8353,7 +8352,7 @@ const g0 = ({
8353
8352
  }
8354
8353
  ),
8355
8354
  e && /* @__PURE__ */ p(
8356
- g0,
8355
+ y0,
8357
8356
  {
8358
8357
  size: t,
8359
8358
  disabled: s,
@@ -8367,10 +8366,10 @@ const g0 = ({
8367
8366
  }
8368
8367
  );
8369
8368
  Wi.displayName = "Checkbox";
8370
- const v0 = k.div`
8369
+ const b0 = k.div`
8371
8370
  position: relative;
8372
8371
  display: inline-block;
8373
- `, b0 = k.input`
8372
+ `, x0 = k.input`
8374
8373
  ${Ue}
8375
8374
  text-align: center;
8376
8375
  padding: 0;
@@ -8384,15 +8383,15 @@ const v0 = k.div`
8384
8383
  &[type='number'] {
8385
8384
  -moz-appearance: textfield;
8386
8385
  }
8387
- ${({ $size: t }) => w0[t]}
8388
- ${({ $variant: t }) => t && x0[t ?? "outlined"]}
8386
+ ${({ $size: t }) => S0[t]}
8387
+ ${({ $variant: t }) => t && w0[t ?? "outlined"]}
8389
8388
  ${({ $hasError: t }) => t && We}
8390
8389
  ${({ $disabled: t }) => t && ye}
8391
8390
 
8392
8391
  &:focus {
8393
8392
  border: 2px solid var(--color-main-blue-primary);
8394
8393
  }
8395
- `, x0 = {
8394
+ `, w0 = {
8396
8395
  outlined: `
8397
8396
  background-color: var(--color-main-white);
8398
8397
  border: 2px solid var(--color-main-input-borders);
@@ -8414,7 +8413,7 @@ const v0 = k.div`
8414
8413
  border: 2px solid var(--color-main-blue-primary);
8415
8414
  }
8416
8415
  `
8417
- }, w0 = {
8416
+ }, S0 = {
8418
8417
  sm: `
8419
8418
  padding: 0.375rem;
8420
8419
  width: 2.5rem;
@@ -8445,8 +8444,8 @@ const v0 = k.div`
8445
8444
  ...a
8446
8445
  }, l) => {
8447
8446
  const u = Xt(), d = a.id ?? u;
8448
- return /* @__PURE__ */ p(v0, { children: /* @__PURE__ */ p(
8449
- b0,
8447
+ return /* @__PURE__ */ p(b0, { children: /* @__PURE__ */ p(
8448
+ x0,
8450
8449
  {
8451
8450
  ref: l,
8452
8451
  $size: t,
@@ -8466,7 +8465,7 @@ const v0 = k.div`
8466
8465
  }
8467
8466
  );
8468
8467
  ac.displayName = "PinInput";
8469
- const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
8468
+ const T0 = (t, e, n, r, i, s, o = "text", a, l) => {
8470
8469
  const u = t.target.value;
8471
8470
  if (u.length > 1) return;
8472
8471
  const d = s ?? i.length;
@@ -8475,7 +8474,7 @@ const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
8475
8474
  c[e] = u, r(c);
8476
8475
  const h = c.join("");
8477
8476
  a?.(h), u && e < s - 1 && i[e + 1].current?.focus(), c.every((f) => f !== "") && c.length >= d && l?.(h);
8478
- }, T0 = (t, e, n, r, i, s) => {
8477
+ }, C0 = (t, e, n, r, i, s) => {
8479
8478
  if (t.key === "Backspace" && !n[e] && e > 0) {
8480
8479
  if (n[e]) {
8481
8480
  if (i) {
@@ -8491,7 +8490,7 @@ const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
8491
8490
  }
8492
8491
  }
8493
8492
  t.key === "ArrowLeft" && e > 0 && r[e - 1]?.current?.focus(), t.key === "ArrowRight" && e < r.length - 1 && r[e + 1]?.current?.focus();
8494
- }, C0 = (t, e, n, r, i, s, o = "text", a, l) => {
8493
+ }, k0 = (t, e, n, r, i, s, o = "text", a, l) => {
8495
8494
  t.preventDefault();
8496
8495
  const u = t.clipboardData.getData("text");
8497
8496
  if (!u) return;
@@ -8507,7 +8506,7 @@ const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
8507
8506
  i[f].current?.focus();
8508
8507
  const m = c.join("");
8509
8508
  c.every((y) => y !== "") && c.length >= d && l?.(m);
8510
- }, k0 = (t) => Array(t).fill(null).map(() => x.createRef()), av = (t, e, n = "text") => !(t.length !== e || n === "number" && !/^\d+$/.test(t)), P0 = k.div`
8509
+ }, P0 = (t) => Array(t).fill(null).map(() => x.createRef()), cv = (t, e, n = "text") => !(t.length !== e || n === "number" && !/^\d+$/.test(t)), A0 = k.div`
8511
8510
  display: flex;
8512
8511
  gap: 8px;
8513
8512
  align-items: center;
@@ -8522,8 +8521,8 @@ const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
8522
8521
  className: a,
8523
8522
  pinInputClassName: l
8524
8523
  }) => {
8525
- const [u, d] = Wt(Array(t).fill("")), c = Ft(() => k0(t), [t]);
8526
- return /* @__PURE__ */ p(P0, { className: a, children: Array.from({ length: t }, (h, f) => /* @__PURE__ */ p(
8524
+ const [u, d] = Wt(Array(t).fill("")), c = Ft(() => P0(t), [t]);
8525
+ return /* @__PURE__ */ p(A0, { className: a, children: Array.from({ length: t }, (h, f) => /* @__PURE__ */ p(
8527
8526
  ac,
8528
8527
  {
8529
8528
  className: l,
@@ -8531,7 +8530,7 @@ const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
8531
8530
  variant: n,
8532
8531
  hasError: r,
8533
8532
  value: u[f],
8534
- onChange: (m) => S0(
8533
+ onChange: (m) => T0(
8535
8534
  m,
8536
8535
  f,
8537
8536
  u,
@@ -8542,8 +8541,8 @@ const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
8542
8541
  s,
8543
8542
  o
8544
8543
  ),
8545
- onKeyDown: (m) => T0(m, f, u, c, d, s),
8546
- onPaste: (m) => C0(
8544
+ onKeyDown: (m) => C0(m, f, u, c, d, s),
8545
+ onPaste: (m) => k0(
8547
8546
  m,
8548
8547
  f,
8549
8548
  u,
@@ -8560,9 +8559,9 @@ const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
8560
8559
  )) });
8561
8560
  };
8562
8561
  lc.displayName = "PinInputGroup";
8563
- const A0 = k.div`
8562
+ const E0 = k.div`
8564
8563
  position: relative;
8565
- `, E0 = k.input`
8564
+ `, D0 = k.input`
8566
8565
  position: absolute;
8567
8566
  height: 1.5rem;
8568
8567
  width: 1.5rem;
@@ -8580,9 +8579,9 @@ const A0 = k.div`
8580
8579
  outline-color: var(--color-main-orange-primary);
8581
8580
  outline-offset: 2px;
8582
8581
  }
8583
- `, D0 = P`
8582
+ `, $0 = P`
8584
8583
  border-color: var(--color-main-orange-primary);
8585
- `, $0 = k.div`
8584
+ `, M0 = k.div`
8586
8585
  height: 1.5rem;
8587
8586
  width: 1.5rem;
8588
8587
  border: 2px solid var(--color-main-input-borders);
@@ -8603,8 +8602,8 @@ const A0 = k.div`
8603
8602
  ${ye}
8604
8603
  border: 2px solid var(--color-dark-200) !important;
8605
8604
  `}
8606
- ${({ $checked: t }) => t && D0}
8607
- `, M0 = k.span`
8605
+ ${({ $checked: t }) => t && $0}
8606
+ `, V0 = k.span`
8608
8607
  display: block;
8609
8608
  height: 0.625rem;
8610
8609
  width: 0.625rem;
@@ -8624,9 +8623,9 @@ const A0 = k.div`
8624
8623
  ...o
8625
8624
  }, a) => {
8626
8625
  const l = Xt(), u = o.id ?? l, d = !!e, { size: c, ...h } = o;
8627
- return /* @__PURE__ */ R(A0, { className: i, children: [
8626
+ return /* @__PURE__ */ R(E0, { className: i, children: [
8628
8627
  /* @__PURE__ */ p(
8629
- E0,
8628
+ D0,
8630
8629
  {
8631
8630
  ref: a,
8632
8631
  type: "radio",
@@ -8641,13 +8640,13 @@ const A0 = k.div`
8641
8640
  }
8642
8641
  ),
8643
8642
  /* @__PURE__ */ p(
8644
- $0,
8643
+ M0,
8645
8644
  {
8646
8645
  $checked: !!d,
8647
8646
  $hasError: t,
8648
8647
  $disabled: n,
8649
8648
  className: s,
8650
- children: /* @__PURE__ */ p(M0, { $disabled: n, $checked: d })
8649
+ children: /* @__PURE__ */ p(V0, { $disabled: n, $checked: d })
8651
8650
  }
8652
8651
  )
8653
8652
  ] });
@@ -8663,7 +8662,7 @@ const uc = ({
8663
8662
  ...s
8664
8663
  }) => /* @__PURE__ */ p(Hi, { className: n, htmlFor: e, size: i, disabled: r, ...s, children: t });
8665
8664
  uc.displayName = "RadioInputLabel";
8666
- const V0 = k.section`
8665
+ const R0 = k.section`
8667
8666
  display: flex;
8668
8667
  align-items: center;
8669
8668
  justify-content: center;
@@ -8682,7 +8681,7 @@ const V0 = k.section`
8682
8681
  ...u
8683
8682
  }, d) => {
8684
8683
  const c = Xt(), h = u.id ?? c;
8685
- return /* @__PURE__ */ R(V0, { className: o, children: [
8684
+ return /* @__PURE__ */ R(R0, { className: o, children: [
8686
8685
  /* @__PURE__ */ p(
8687
8686
  cc,
8688
8687
  {
@@ -8716,11 +8715,11 @@ const Hs = k.div`
8716
8715
  flex-direction: column;
8717
8716
  gap: 0.5rem;
8718
8717
  width: 100%;
8719
- `, R0 = k.div`
8718
+ `, I0 = k.div`
8720
8719
  display: flex;
8721
8720
  flex-direction: column;
8722
8721
  gap: 0.75rem;
8723
- `, lv = ({
8722
+ `, uv = ({
8724
8723
  id: t,
8725
8724
  name: e,
8726
8725
  label: n,
@@ -8830,7 +8829,7 @@ const Hs = k.div`
8830
8829
  break;
8831
8830
  }
8832
8831
  case "radio": {
8833
- F = /* @__PURE__ */ p(R0, { children: l.map((j) => /* @__PURE__ */ p(
8832
+ F = /* @__PURE__ */ p(I0, { children: l.map((j) => /* @__PURE__ */ p(
8834
8833
  dc,
8835
8834
  {
8836
8835
  name: d || e,
@@ -8871,7 +8870,7 @@ const Hs = k.div`
8871
8870
  case "password": {
8872
8871
  const { rightIcon: I, ...j } = M;
8873
8872
  F = /* @__PURE__ */ p(
8874
- Kg,
8873
+ Yg,
8875
8874
  {
8876
8875
  id: et,
8877
8876
  name: e,
@@ -8892,7 +8891,7 @@ const Hs = k.div`
8892
8891
  }
8893
8892
  case "search": {
8894
8893
  F = /* @__PURE__ */ p(
8895
- c0,
8894
+ u0,
8896
8895
  {
8897
8896
  className: m,
8898
8897
  size: i,
@@ -8966,7 +8965,7 @@ const Hs = k.div`
8966
8965
  F,
8967
8966
  U && /* @__PURE__ */ p(Fs, { id: `${et}-error`, size: i, className: b, children: Tt })
8968
8967
  ] });
8969
- }, I0 = {
8968
+ }, N0 = {
8970
8969
  initial: { opacity: 0, scale: 0.95 },
8971
8970
  animate: { opacity: 1, scale: 1 },
8972
8971
  exit: { opacity: 0, scale: 0.95 },
@@ -8983,12 +8982,12 @@ const Hs = k.div`
8983
8982
  duration: 0.3,
8984
8983
  ease: "easeInOut"
8985
8984
  }
8986
- }, N0 = {
8985
+ }, L0 = {
8987
8986
  initial: { height: 0, opacity: 0, y: -6 },
8988
8987
  animate: { height: "auto", opacity: 1, y: 0 },
8989
8988
  exit: { height: 0, opacity: 0, y: -6 },
8990
8989
  transition: { duration: 0.2, ease: "easeInOut" }
8991
- }, L0 = k(ge.div)`
8990
+ }, B0 = k(ge.div)`
8992
8991
  position: fixed;
8993
8992
  inset: 0;
8994
8993
  z-index: 50;
@@ -9002,7 +9001,7 @@ const Hs = k.div`
9002
9001
  @media (max-width: 768px) {
9003
9002
  padding: 0.5rem;
9004
9003
  }
9005
- `, B0 = k(ge.div)`
9004
+ `, O0 = k(ge.div)`
9006
9005
  position: relative;
9007
9006
  display: flex;
9008
9007
  flex-direction: column;
@@ -9040,7 +9039,7 @@ const Hs = k.div`
9040
9039
  outline: none;
9041
9040
  box-shadow: var(--shadow-hover-black-card);
9042
9041
  }
9043
- `, O0 = k.button`
9042
+ `, j0 = k.button`
9044
9043
  position: absolute;
9045
9044
  top: 1rem;
9046
9045
  right: 1rem;
@@ -9059,7 +9058,7 @@ const Hs = k.div`
9059
9058
  transform: scale(1.1);
9060
9059
  outline: none;
9061
9060
  }
9062
- `, j0 = ({
9061
+ `, F0 = ({
9063
9062
  isOpen: t,
9064
9063
  onClose: e,
9065
9064
  children: n,
@@ -9121,10 +9120,10 @@ const Hs = k.div`
9121
9120
  window.clearTimeout(w), document.removeEventListener("keydown", A), f.current && f.current.focus();
9122
9121
  };
9123
9122
  }, [t]);
9124
- const y = /* @__PURE__ */ p(qn, { children: t && /* @__PURE__ */ p(L0, { ...hc, onClick: m, children: /* @__PURE__ */ R(
9125
- B0,
9123
+ const y = /* @__PURE__ */ p(qn, { children: t && /* @__PURE__ */ p(B0, { ...hc, onClick: m, children: /* @__PURE__ */ R(
9124
+ O0,
9126
9125
  {
9127
- ...I0,
9126
+ ...N0,
9128
9127
  ref: h,
9129
9128
  $size: o,
9130
9129
  $fullScreen: a,
@@ -9137,12 +9136,12 @@ const Hs = k.div`
9137
9136
  "aria-describedby": c,
9138
9137
  children: [
9139
9138
  s && /* @__PURE__ */ p(
9140
- O0,
9139
+ j0,
9141
9140
  {
9142
9141
  className: `${er} cursor-pointer`,
9143
9142
  onClick: e,
9144
9143
  "aria-label": "Close dialog",
9145
- children: /* @__PURE__ */ p(q, { component: Bg, size: "sm" })
9144
+ children: /* @__PURE__ */ p(q, { component: Og, size: "sm" })
9146
9145
  }
9147
9146
  ),
9148
9147
  n
@@ -9150,7 +9149,7 @@ const Hs = k.div`
9150
9149
  }
9151
9150
  ) }) });
9152
9151
  return typeof document > "u" ? y : jc(y, document.body);
9153
- }, F0 = k.div`
9152
+ }, z0 = k.div`
9154
9153
  display: flex;
9155
9154
  align-items: center;
9156
9155
  justify-content: space-between;
@@ -9183,14 +9182,14 @@ const Hs = k.div`
9183
9182
  flex-shrink: 0;
9184
9183
  margin-left: auto;
9185
9184
  }
9186
- `, z0 = ({
9185
+ `, _0 = ({
9187
9186
  showDivider: t = !1,
9188
9187
  variant: e = "default",
9189
9188
  children: n,
9190
9189
  className: r,
9191
9190
  ...i
9192
9191
  }) => /* @__PURE__ */ p(
9193
- F0,
9192
+ z0,
9194
9193
  {
9195
9194
  $showDivider: t,
9196
9195
  $variant: e,
@@ -9198,7 +9197,7 @@ const Hs = k.div`
9198
9197
  ...i,
9199
9198
  children: n
9200
9199
  }
9201
- ), _0 = k.div`
9200
+ ), H0 = k.div`
9202
9201
  position: relative;
9203
9202
  display: flex;
9204
9203
  flex-direction: column;
@@ -9211,7 +9210,7 @@ const Hs = k.div`
9211
9210
  ${({ $showTopDivider: t }) => t && "border-top: 1px solid var(--color-main-light-borders);"}
9212
9211
 
9213
9212
  ${({ $showBottomDivider: t }) => t && "border-bottom: 1px solid var(--color-main-light-borders);"}
9214
- `, H0 = ({
9213
+ `, U0 = ({
9215
9214
  children: t,
9216
9215
  padded: e = !0,
9217
9216
  showTopDivider: n = !1,
@@ -9219,7 +9218,7 @@ const Hs = k.div`
9219
9218
  className: i,
9220
9219
  ...s
9221
9220
  }) => /* @__PURE__ */ p(
9222
- _0,
9221
+ H0,
9223
9222
  {
9224
9223
  $padded: e,
9225
9224
  $showTopDivider: n,
@@ -9228,7 +9227,7 @@ const Hs = k.div`
9228
9227
  ...s,
9229
9228
  children: t
9230
9229
  }
9231
- ), U0 = k.div`
9230
+ ), W0 = k.div`
9232
9231
  display: flex;
9233
9232
  align-items: center;
9234
9233
  width: 100%;
@@ -9244,7 +9243,7 @@ const Hs = k.div`
9244
9243
  bottom: 0;
9245
9244
  background: var(--color-main-white);
9246
9245
  `}
9247
- `, W0 = ({
9246
+ `, K0 = ({
9248
9247
  align: t = "end",
9249
9248
  showDivider: e = !1,
9250
9249
  gap: n = 8,
@@ -9253,7 +9252,7 @@ const Hs = k.div`
9253
9252
  className: s,
9254
9253
  ...o
9255
9254
  }) => /* @__PURE__ */ p(
9256
- U0,
9255
+ W0,
9257
9256
  {
9258
9257
  $align: t,
9259
9258
  $showDivider: e,
@@ -9263,7 +9262,7 @@ const Hs = k.div`
9263
9262
  ...o,
9264
9263
  children: i
9265
9264
  }
9266
- ), cv = ({
9265
+ ), dv = ({
9267
9266
  isOpen: t,
9268
9267
  onAccept: e,
9269
9268
  onCancel: n,
@@ -9293,7 +9292,7 @@ const Hs = k.div`
9293
9292
  T(C), v?.(C);
9294
9293
  };
9295
9294
  return /* @__PURE__ */ R(
9296
- j0,
9295
+ F0,
9297
9296
  {
9298
9297
  isOpen: t,
9299
9298
  onClose: n,
@@ -9305,13 +9304,13 @@ const Hs = k.div`
9305
9304
  ariaDescribedBy: "tac-subtitle",
9306
9305
  className: `${m} !h-fit !max-w-[60rem]`,
9307
9306
  children: [
9308
- /* @__PURE__ */ p(z0, { showDivider: !0, className: y, children: /* @__PURE__ */ p(si, { id: "tac-title", size: 20, children: r }) }),
9309
- /* @__PURE__ */ R(H0, { padded: !0, showBottomDivider: !0, className: b, children: [
9307
+ /* @__PURE__ */ p(_0, { showDivider: !0, className: y, children: /* @__PURE__ */ p(si, { id: "tac-title", size: 20, children: r }) }),
9308
+ /* @__PURE__ */ R(U0, { padded: !0, showBottomDivider: !0, className: b, children: [
9310
9309
  i && /* @__PURE__ */ p(ai, { id: "tac-subtitle", size: 16, children: i }),
9311
9310
  s,
9312
9311
  o
9313
9312
  ] }),
9314
- /* @__PURE__ */ R(W0, { showDivider: !0, align: "space-between", className: g, children: [
9313
+ /* @__PURE__ */ R(K0, { showDivider: !0, align: "space-between", className: g, children: [
9315
9314
  /* @__PURE__ */ p(
9316
9315
  Wi,
9317
9316
  {
@@ -9328,7 +9327,7 @@ const Hs = k.div`
9328
9327
  ]
9329
9328
  }
9330
9329
  );
9331
- }, fc = pe(void 0), K0 = ({ children: t }) => {
9330
+ }, fc = pe(void 0), Y0 = ({ children: t }) => {
9332
9331
  const [e, n] = Wt(!1), [r, i] = Wt(!1);
9333
9332
  return /* @__PURE__ */ p(
9334
9333
  fc.Provider,
@@ -9347,7 +9346,7 @@ const Hs = k.div`
9347
9346
  if (!t)
9348
9347
  throw new Error("useSidebar must be used within a SidebarProvider");
9349
9348
  return t;
9350
- }, Us = (t = [], e = []) => !e || e.length === 0 ? !1 : e.includes("all") ? !0 : e.some((n) => t.includes(n)), Y0 = k.button`
9349
+ }, Us = (t = [], e = []) => !e || e.length === 0 ? !1 : e.includes("all") ? !0 : e.some((n) => t.includes(n)), G0 = k.button`
9351
9350
  width: 100%;
9352
9351
  display: flex;
9353
9352
  align-items: center;
@@ -9382,31 +9381,31 @@ const Hs = k.div`
9382
9381
  }
9383
9382
 
9384
9383
  ${({ $collapsed: t }) => t ? "justify-content: center;" : ""}
9385
- `, G0 = k.span`
9384
+ `, X0 = k.span`
9386
9385
  display: inline-flex;
9387
9386
  align-items: center;
9388
9387
  gap: 0.75rem;
9389
9388
  min-width: 0;
9390
- `, X0 = k(ai)`
9389
+ `, q0 = k(ai)`
9391
9390
  font-weight: ${({ $level: t }) => t === 0 ? 600 : 500};
9392
9391
  color: var(--color-main-blue-primary);
9393
9392
  white-space: nowrap;
9394
9393
  overflow: hidden;
9395
9394
  text-overflow: ellipsis;
9396
- `, q0 = k(ge.div)`
9395
+ `, Z0 = k(ge.div)`
9397
9396
  background-color: transparent;
9398
9397
  overflow: hidden;
9399
9398
  will-change: height, opacity, transform;
9400
- `, Z0 = k.div`
9399
+ `, J0 = k.div`
9401
9400
  width: 100%;
9402
9401
  ${({ $level: t }) => t > 0 ? "border-top: 1px solid var(--color-light-200);" : ""}
9403
- `, J0 = k.span`
9402
+ `, Q0 = k.span`
9404
9403
  width: 0.625rem;
9405
9404
  height: 0.125rem;
9406
9405
  background: var(--color-main-blue-primary);
9407
9406
  border-radius: 1px;
9408
9407
  flex: 0 0 auto;
9409
- `, Q0 = k.div`
9408
+ `, ty = k.div`
9410
9409
  ${er}
9411
9410
  transform: rotate(${({ $open: t }) => t ? "90deg" : "0deg"});
9412
9411
  pointer-events: none;
@@ -9421,9 +9420,9 @@ const Hs = k.div`
9421
9420
  [e, t.permissions]
9422
9421
  )) return null;
9423
9422
  const d = l.length > 0, c = !!(t.path && i && i.startsWith(t.path));
9424
- return /* @__PURE__ */ R(Z0, { $level: n, children: [
9423
+ return /* @__PURE__ */ R(J0, { $level: n, children: [
9425
9424
  /* @__PURE__ */ R(
9426
- Y0,
9425
+ G0,
9427
9426
  {
9428
9427
  onClick: () => {
9429
9428
  d ? o((f) => !f) : t.path && r(t.path);
@@ -9434,8 +9433,8 @@ const Hs = k.div`
9434
9433
  $expanded: s && d,
9435
9434
  title: a ? t.label : "",
9436
9435
  children: [
9437
- /* @__PURE__ */ R(G0, { children: [
9438
- n > 0 && !a && /* @__PURE__ */ p(J0, {}),
9436
+ /* @__PURE__ */ R(X0, { children: [
9437
+ n > 0 && !a && /* @__PURE__ */ p(Q0, {}),
9439
9438
  t.icon && /* @__PURE__ */ p(
9440
9439
  q,
9441
9440
  {
@@ -9445,7 +9444,7 @@ const Hs = k.div`
9445
9444
  }
9446
9445
  ),
9447
9446
  !a && /* @__PURE__ */ p(
9448
- X0,
9447
+ q0,
9449
9448
  {
9450
9449
  $level: n,
9451
9450
  size: n === 0 ? 16 : n === 1 ? 14 : 12,
@@ -9454,10 +9453,10 @@ const Hs = k.div`
9454
9453
  }
9455
9454
  )
9456
9455
  ] }),
9457
- !a && d && /* @__PURE__ */ p(Q0, { $disabled: a, $open: s, children: /* @__PURE__ */ p(
9456
+ !a && d && /* @__PURE__ */ p(ty, { $disabled: a, $open: s, children: /* @__PURE__ */ p(
9458
9457
  q,
9459
9458
  {
9460
- component: Ng,
9459
+ component: Lg,
9461
9460
  size: "sm",
9462
9461
  color: "var(--color-main-blue-primary)"
9463
9462
  }
@@ -9465,7 +9464,7 @@ const Hs = k.div`
9465
9464
  ]
9466
9465
  }
9467
9466
  ),
9468
- /* @__PURE__ */ p(qn, { initial: !1, children: !a && s && d && /* @__PURE__ */ p(q0, { $level: n + 1, ...N0, children: l.map((f) => /* @__PURE__ */ p(
9467
+ /* @__PURE__ */ p(qn, { initial: !1, children: !a && s && d && /* @__PURE__ */ p(Z0, { $level: n + 1, ...L0, children: l.map((f) => /* @__PURE__ */ p(
9469
9468
  pc,
9470
9469
  {
9471
9470
  item: f,
@@ -9477,7 +9476,7 @@ const Hs = k.div`
9477
9476
  f.id
9478
9477
  )) }) })
9479
9478
  ] });
9480
- }, ty = k(ge.div)`
9479
+ }, ey = k(ge.div)`
9481
9480
  position: fixed;
9482
9481
  inset: 0;
9483
9482
  background: rgba(0, 0, 0, 0.5);
@@ -9486,7 +9485,7 @@ const Hs = k.div`
9486
9485
  @media (max-width: 767px) {
9487
9486
  display: block;
9488
9487
  }
9489
- `, ey = k.aside`
9488
+ `, ny = k.aside`
9490
9489
  position: fixed;
9491
9490
  left: 0;
9492
9491
  top: 0;
@@ -9505,7 +9504,7 @@ const Hs = k.div`
9505
9504
  @media (min-width: 768px) {
9506
9505
  transform: translateX(0);
9507
9506
  }
9508
- `, ny = k.div`
9507
+ `, ry = k.div`
9509
9508
  display: flex;
9510
9509
  align-items: center;
9511
9510
  justify-content: space-between;
@@ -9513,11 +9512,11 @@ const Hs = k.div`
9513
9512
  padding: 1rem;
9514
9513
 
9515
9514
  ${({ $collapsed: t }) => t ? "flex-direction: column" : ""};
9516
- `, ry = k.div`
9515
+ `, iy = k.div`
9517
9516
  display: flex;
9518
9517
  align-items: center;
9519
9518
  gap: 0.5rem;
9520
- `, iy = k.nav`
9519
+ `, oy = k.nav`
9521
9520
  display: flex;
9522
9521
  flex-direction: column;
9523
9522
  justify-content: flex-start;
@@ -9525,7 +9524,7 @@ const Hs = k.div`
9525
9524
  flex: 1;
9526
9525
  overflow-y: auto;
9527
9526
  padding: 0.25rem 0;
9528
- `, oy = k.button`
9527
+ `, sy = k.button`
9529
9528
  display: flex;
9530
9529
  align-items: center;
9531
9530
  justify-content: center;
@@ -9551,7 +9550,7 @@ const Hs = k.div`
9551
9550
  @media (max-width: 767px) {
9552
9551
  display: none;
9553
9552
  }
9554
- `, sy = k.button`
9553
+ `, ay = k.button`
9555
9554
  position: fixed;
9556
9555
  top: 0.5rem;
9557
9556
  left: 1rem;
@@ -9575,12 +9574,12 @@ const Hs = k.div`
9575
9574
  n(c), typeof window < "u" && window.innerWidth < 768 && u(!1);
9576
9575
  };
9577
9576
  return /* @__PURE__ */ R(Zs, { children: [
9578
- /* @__PURE__ */ p(qn, { children: l && /* @__PURE__ */ p(ty, { ...hc, onClick: () => u(!1) }) }),
9579
- /* @__PURE__ */ R(ey, { $collapsed: l ? !1 : o, $open: l, children: [
9580
- /* @__PURE__ */ R(ny, { $collapsed: o, children: [
9581
- /* @__PURE__ */ p(ry, { children: o ? s : i }),
9577
+ /* @__PURE__ */ p(qn, { children: l && /* @__PURE__ */ p(ey, { ...hc, onClick: () => u(!1) }) }),
9578
+ /* @__PURE__ */ R(ny, { $collapsed: l ? !1 : o, $open: l, children: [
9579
+ /* @__PURE__ */ R(ry, { $collapsed: o, children: [
9580
+ /* @__PURE__ */ p(iy, { children: o ? s : i }),
9582
9581
  /* @__PURE__ */ p(
9583
- oy,
9582
+ sy,
9584
9583
  {
9585
9584
  onClick: () => a(!o),
9586
9585
  "aria-label": "Toggle collapse",
@@ -9595,7 +9594,7 @@ const Hs = k.div`
9595
9594
  }
9596
9595
  )
9597
9596
  ] }),
9598
- /* @__PURE__ */ p(iy, { children: t.map((c) => /* @__PURE__ */ p(
9597
+ /* @__PURE__ */ p(oy, { children: t.map((c) => /* @__PURE__ */ p(
9599
9598
  pc,
9600
9599
  {
9601
9600
  item: c,
@@ -9607,7 +9606,7 @@ const Hs = k.div`
9607
9606
  )) })
9608
9607
  ] }),
9609
9608
  /* @__PURE__ */ p(
9610
- sy,
9609
+ ay,
9611
9610
  {
9612
9611
  onClick: () => {
9613
9612
  u(!0), a(!1);
@@ -9619,7 +9618,7 @@ const Hs = k.div`
9619
9618
  ] });
9620
9619
  };
9621
9620
  gc.displayName = "Sidebar";
9622
- const ay = {
9621
+ const ly = {
9623
9622
  underlined: P`
9624
9623
  color: var(--color-main-orange-primary);
9625
9624
  text-decoration-thickness: 1px;
@@ -9682,7 +9681,7 @@ const ay = {
9682
9681
  text-underline-offset: 2px;
9683
9682
  }
9684
9683
  `
9685
- }, ly = P`
9684
+ }, cy = P`
9686
9685
  color: var(--color-dark-200);
9687
9686
  cursor: not-allowed;
9688
9687
  pointer-events: none;
@@ -9700,7 +9699,7 @@ const ay = {
9700
9699
  text-decoration: none;
9701
9700
  transform: none;
9702
9701
  }
9703
- `, cy = {
9702
+ `, uy = {
9704
9703
  sm: P`
9705
9704
  gap: 0.25rem;
9706
9705
  ${z[14]}
@@ -9713,7 +9712,7 @@ const ay = {
9713
9712
  gap: 0.75rem;
9714
9713
  ${z[20]}
9715
9714
  `
9716
- }, uy = k.a`
9715
+ }, dy = k.a`
9717
9716
  display: inline-flex;
9718
9717
  align-items: center;
9719
9718
  border-radius: 0.25rem;
@@ -9725,10 +9724,10 @@ const ay = {
9725
9724
 
9726
9725
  cursor: pointer;
9727
9726
 
9728
- ${({ $size: t }) => cy[t]}
9729
- ${({ $variant: t }) => ay[t]}
9730
- ${({ $disabled: t }) => t && ly}
9731
- `, dy = k.span`
9727
+ ${({ $size: t }) => uy[t]}
9728
+ ${({ $variant: t }) => ly[t]}
9729
+ ${({ $disabled: t }) => t && cy}
9730
+ `, hy = k.span`
9732
9731
  flex: 1 1 auto;
9733
9732
  min-width: 0;
9734
9733
  max-width: 18ch;
@@ -9737,7 +9736,7 @@ const ay = {
9737
9736
  text-overflow: ellipsis;
9738
9737
  white-space: nowrap;
9739
9738
  `}
9740
- `, hy = zt(
9739
+ `, fy = zt(
9741
9740
  ({
9742
9741
  id: t,
9743
9742
  size: e = "md",
@@ -9780,7 +9779,7 @@ const ay = {
9780
9779
  ...w
9781
9780
  };
9782
9781
  return /* @__PURE__ */ R(
9783
- uy,
9782
+ dy,
9784
9783
  {
9785
9784
  id: t,
9786
9785
  $variant: n,
@@ -9791,11 +9790,11 @@ const ay = {
9791
9790
  ...T,
9792
9791
  children: [
9793
9792
  d && /* @__PURE__ */ p(q, { component: d, size: h, color: f }),
9794
- /* @__PURE__ */ p(dy, { $truncate: m, children: r }),
9793
+ /* @__PURE__ */ p(hy, { $truncate: m, children: r }),
9795
9794
  /* @__PURE__ */ p(
9796
9795
  q,
9797
9796
  {
9798
- component: c || Og,
9797
+ component: c || jg,
9799
9798
  size: e === "lg" ? "sm" : h,
9800
9799
  color: f
9801
9800
  }
@@ -9805,8 +9804,8 @@ const ay = {
9805
9804
  );
9806
9805
  }
9807
9806
  );
9808
- hy.displayName = "Link";
9809
- const fy = {
9807
+ fy.displayName = "Link";
9808
+ const my = {
9810
9809
  default: P`
9811
9810
  thead tr:last-child th:first-child {
9812
9811
  border-top-left-radius: var(--border-radius-article);
@@ -9850,11 +9849,11 @@ const fy = {
9850
9849
  border-bottom-right-radius: var(--border-radius-article);
9851
9850
  }
9852
9851
  `
9853
- }, my = P`
9852
+ }, py = P`
9854
9853
  tbody tr:hover td {
9855
9854
  background-color: var(--color-main-alternative-secondary);
9856
9855
  }
9857
- `, py = P`
9856
+ `, gy = P`
9858
9857
  @media (max-width: 768px) {
9859
9858
  font-size: 0.875rem;
9860
9859
 
@@ -9886,7 +9885,7 @@ const fy = {
9886
9885
  display: inline-flex;
9887
9886
  align-items: center;
9888
9887
  flex-shrink: 0;
9889
- `, gy = {
9888
+ `, yy = {
9890
9889
  sm: P`
9891
9890
  ${De.sm}
9892
9891
  ${z[16]}
@@ -9899,9 +9898,9 @@ const fy = {
9899
9898
  ${De.lg}
9900
9899
  ${z[24]}
9901
9900
  `
9902
- }, yy = k.th`
9901
+ }, vy = k.th`
9903
9902
  background-color: var(--color-main-blue-primary);
9904
- ${({ $size: t }) => gy[t]}
9903
+ ${({ $size: t }) => yy[t]}
9905
9904
  transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
9906
9905
  min-width: 8rem;
9907
9906
  width: ${({ $width: t }) => t ? typeof t == "number" ? `${t}px` : t : "fit-content"};
@@ -9913,10 +9912,10 @@ const fy = {
9913
9912
  ${({ $active: t }) => t && P`
9914
9913
  background-color: var(--color-blue-400);
9915
9914
  `}
9916
- `, vy = k.div`
9915
+ `, by = k.div`
9917
9916
  ${yc}
9918
9917
  justify-content: ${({ $align: t }) => t || "space-between"};
9919
- `, by = k.button`
9918
+ `, xy = k.button`
9920
9919
  all: unset;
9921
9920
  display: inline-flex;
9922
9921
  align-items: center;
@@ -9935,7 +9934,7 @@ const fy = {
9935
9934
  outline-color: var(--color-main-white);
9936
9935
  outline-offset: 2px;
9937
9936
  }
9938
- `, xy = k.span`
9937
+ `, wy = k.span`
9939
9938
  transition: transform 0.3s ease-out;
9940
9939
  display: inline-flex;
9941
9940
  transform: ${({ $dir: t }) => t === "asc" ? "rotate(-180deg)" : "none"};
@@ -9948,7 +9947,7 @@ const fy = {
9948
9947
  text-overflow: ellipsis;
9949
9948
  white-space: nowrap;
9950
9949
  flex-shrink: 1;
9951
- `, wy = k(si)`
9950
+ `, Sy = k(si)`
9952
9951
  overflow: hidden;
9953
9952
  text-overflow: ellipsis;
9954
9953
  white-space: nowrap;
@@ -9975,7 +9974,7 @@ const fy = {
9975
9974
  }) => {
9976
9975
  const m = r === "asc" ? "desc" : "asc";
9977
9976
  return /* @__PURE__ */ p(
9978
- yy,
9977
+ vy,
9979
9978
  {
9980
9979
  $size: e,
9981
9980
  $active: n,
@@ -9984,16 +9983,16 @@ const fy = {
9984
9983
  scope: "col",
9985
9984
  "aria-sort": h ? r === "none" ? "none" : r === "asc" ? "ascending" : "descending" : void 0,
9986
9985
  ...f,
9987
- children: h || d ? /* @__PURE__ */ R(by, { onClick: () => h?.(m), "aria-label": `Sort ${m}`, children: [
9986
+ children: h || d ? /* @__PURE__ */ R(xy, { onClick: () => h?.(m), "aria-label": `Sort ${m}`, children: [
9988
9987
  /* @__PURE__ */ R(Ws, { children: [
9989
9988
  i && /* @__PURE__ */ p(q, { component: i, size: o, color: a }),
9990
- /* @__PURE__ */ p(wy, { size: e === "sm" ? 16 : e === "md" ? 20 : 24, children: t })
9989
+ /* @__PURE__ */ p(Sy, { size: e === "sm" ? 16 : e === "md" ? 20 : 24, children: t })
9991
9990
  ] }),
9992
9991
  /* @__PURE__ */ R(Ks, { children: [
9993
- /* @__PURE__ */ p(xy, { $dir: r, children: /* @__PURE__ */ p(q, { component: Ig, size: o, color: a }) }),
9992
+ /* @__PURE__ */ p(wy, { $dir: r, children: /* @__PURE__ */ p(q, { component: Ng, size: o, color: a }) }),
9994
9993
  s && /* @__PURE__ */ p(q, { component: s, size: o, color: a })
9995
9994
  ] })
9996
- ] }) : /* @__PURE__ */ R(vy, { $align: l, children: [
9995
+ ] }) : /* @__PURE__ */ R(by, { $align: l, children: [
9997
9996
  /* @__PURE__ */ R(Ws, { children: [
9998
9997
  i && /* @__PURE__ */ p(q, { component: i, size: o, color: a }),
9999
9998
  /* @__PURE__ */ p(
@@ -10017,7 +10016,7 @@ const fy = {
10017
10016
  );
10018
10017
  };
10019
10018
  bc.displayName = "TableHeaderCell";
10020
- const Sy = {
10019
+ const Ty = {
10021
10020
  sm: P`
10022
10021
  ${De.sm}
10023
10022
  ${z[14]}
@@ -10030,10 +10029,10 @@ const Sy = {
10030
10029
  ${De.lg}
10031
10030
  ${z[16]}
10032
10031
  `
10033
- }, Ty = k.td`
10032
+ }, Cy = k.td`
10034
10033
  vertical-align: middle;
10035
10034
  color: var(--color-main-blue-primary);
10036
- ${({ $size: t }) => Sy[t]}
10035
+ ${({ $size: t }) => Ty[t]}
10037
10036
  text-align: ${({ $align: t, $variant: e }) => t || (e === "numeric" ? "right" : "left")};
10038
10037
  border-left: 1px solid var(--color-main-light-borders);
10039
10038
  border-top: 1px solid var(--color-main-light-borders);
@@ -10051,10 +10050,10 @@ const Sy = {
10051
10050
  font-variant-numeric: tabular-nums;
10052
10051
  font-family: ui-monospace, monospace;
10053
10052
  `}
10054
- `, Cy = k.div`
10053
+ `, ky = k.div`
10055
10054
  ${yc}
10056
10055
  justify-content: ${({ $align: t }) => t === "center" ? "center" : t === "right" ? "flex-end" : "flex-start"};
10057
- `, ky = k(ai)`
10056
+ `, Py = k(ai)`
10058
10057
  flex: 1;
10059
10058
  min-width: 0;
10060
10059
  `, Ys = k.span`
@@ -10073,7 +10072,7 @@ const Sy = {
10073
10072
  iconColor: d = "var(--color-main-blue-primary)",
10074
10073
  ...c
10075
10074
  }) => /* @__PURE__ */ p(
10076
- Ty,
10075
+ Cy,
10077
10076
  {
10078
10077
  $size: e,
10079
10078
  $align: n,
@@ -10082,16 +10081,16 @@ const Sy = {
10082
10081
  $variant: s,
10083
10082
  className: o,
10084
10083
  ...c,
10085
- children: a || l ? /* @__PURE__ */ R(Cy, { $align: n, children: [
10084
+ children: a || l ? /* @__PURE__ */ R(ky, { $align: n, children: [
10086
10085
  a && /* @__PURE__ */ p(Ys, { children: /* @__PURE__ */ p(q, { component: a, size: u, color: d }) }),
10087
- /* @__PURE__ */ p(ky, { children: t }),
10086
+ /* @__PURE__ */ p(Py, { children: t }),
10088
10087
  l && /* @__PURE__ */ p(Ys, { children: /* @__PURE__ */ p(q, { component: l, size: u, color: d }) })
10089
10088
  ] }) : t
10090
10089
  }
10091
10090
  );
10092
10091
  xc.displayName = "TableCell";
10093
- const Py = k.table`
10094
- width: fit-content;
10092
+ const Ay = k.table`
10093
+ width: 100%;
10095
10094
  table-layout: auto;
10096
10095
  border-collapse: separate;
10097
10096
  border-spacing: 0;
@@ -10099,16 +10098,16 @@ const Py = k.table`
10099
10098
  border-radius: var(--border-radius-article);
10100
10099
  border: 1px solid var(--color-main-light-borders);
10101
10100
 
10102
- ${({ $variant: t }) => fy[t]}
10101
+ ${({ $variant: t }) => my[t]}
10102
+ ${gy}
10103
10103
  ${py}
10104
- ${my}
10105
- `, Ay = k.thead`
10104
+ `, Ey = k.thead`
10106
10105
  ${({ $sticky: t }) => t && P`
10107
10106
  position: sticky;
10108
10107
  top: 0;
10109
10108
  z-index: 10;
10110
10109
  `}
10111
- `, Ey = k.div`
10110
+ `, Dy = k.div`
10112
10111
  max-height: 37.5rem;
10113
10112
  overflow: auto;
10114
10113
  position: relative;
@@ -10123,64 +10122,65 @@ const Py = k.table`
10123
10122
  pointer-events: none;
10124
10123
  z-index: 3;
10125
10124
  }
10126
- `, Dy = ({
10125
+ `, $y = ({
10127
10126
  columns: t,
10128
10127
  rows: e,
10129
10128
  size: n = "md",
10130
10129
  variant: r = "default",
10131
- className: i,
10132
- stickyHeader: s = !1,
10133
- onSortChange: o
10130
+ tableWrapperClassName: i,
10131
+ tableClassName: s,
10132
+ stickyHeader: o = !1,
10133
+ onSortChange: a
10134
10134
  }) => {
10135
- const a = (l, u) => (d) => {
10136
- l.onSort?.(d), o?.({ columnId: l.id ?? String(u), direction: d });
10135
+ const l = (u, d) => (c) => {
10136
+ u.onSort?.(c), a?.({ columnId: u.id ?? String(d), direction: c });
10137
10137
  };
10138
- return /* @__PURE__ */ p(Ey, { children: /* @__PURE__ */ R(Py, { $variant: r, className: i, children: [
10139
- /* @__PURE__ */ p(Ay, { $sticky: s, children: /* @__PURE__ */ p("tr", { children: t.map((l, u) => /* @__PURE__ */ p(
10138
+ return /* @__PURE__ */ p(Dy, { className: i, children: /* @__PURE__ */ R(Ay, { $variant: r, className: s, children: [
10139
+ /* @__PURE__ */ p(Ey, { $sticky: o, children: /* @__PURE__ */ p("tr", { children: t.map((u, d) => /* @__PURE__ */ p(
10140
10140
  bc,
10141
10141
  {
10142
10142
  size: n,
10143
- leftIcon: l.leftIcon,
10144
- rightIcon: l.rightIcon,
10145
- iconSize: l.iconSize,
10146
- iconColor: l.iconColor,
10147
- sortDirection: l.sortDirection,
10148
- onSort: l.onSort ?? (o ? a(l, u) : void 0),
10149
- width: l.width,
10150
- align: l.align,
10151
- sortable: l.sortable || !!l.onSort || !!o,
10152
- className: l.className,
10153
- children: l.header
10143
+ leftIcon: u.leftIcon,
10144
+ rightIcon: u.rightIcon,
10145
+ iconSize: u.iconSize,
10146
+ iconColor: u.iconColor,
10147
+ sortDirection: u.sortDirection,
10148
+ onSort: u.onSort ?? (a ? l(u, d) : void 0),
10149
+ width: u.width,
10150
+ align: u.align,
10151
+ sortable: u.sortable || !!u.onSort || !!a,
10152
+ className: u.className,
10153
+ children: u.header
10154
10154
  },
10155
- l.id || `col-${u}`
10155
+ u.id || `col-${d}`
10156
10156
  )) }) }),
10157
- /* @__PURE__ */ p("tbody", { children: e.map((l, u) => {
10158
- const d = l.cells;
10159
- return !d || !Array.isArray(d) ? null : /* @__PURE__ */ p("tr", { children: d.map((c, h) => {
10160
- const f = t[h];
10157
+ /* @__PURE__ */ p("tbody", { children: e.map((u, d) => {
10158
+ const c = u.cells;
10159
+ return !c || !Array.isArray(c) ? null : /* @__PURE__ */ p("tr", { children: c.map((h, f) => {
10160
+ const m = t[f];
10161
10161
  return /* @__PURE__ */ p(
10162
10162
  xc,
10163
10163
  {
10164
- size: c.size || l.size || n,
10165
- align: c.align || l.align || f?.align,
10166
- width: c.width || l.width || f?.width,
10167
- truncate: c.truncate || l.truncate,
10168
- variant: c.variant || l.variant,
10169
- className: c.className || l.className || f?.className,
10170
- leftIcon: c.leftIcon,
10171
- rightIcon: c.rightIcon,
10172
- iconSize: c.iconSize,
10173
- iconColor: c.iconColor,
10174
- children: c.content
10164
+ size: h.size || u.size || n,
10165
+ align: h.align || u.align || m?.align,
10166
+ width: h.width || u.width || m?.width,
10167
+ truncate: h.truncate || u.truncate,
10168
+ variant: h.variant || u.variant,
10169
+ className: h.className || u.className || m?.className,
10170
+ leftIcon: h.leftIcon,
10171
+ rightIcon: h.rightIcon,
10172
+ iconSize: h.iconSize,
10173
+ iconColor: h.iconColor,
10174
+ children: h.content
10175
10175
  },
10176
- `${l.id || u}-${h}`
10176
+ `${u.id || d}-${f}`
10177
10177
  );
10178
- }) }, l.id || u);
10178
+ }) }, u.id || d);
10179
10179
  }) })
10180
10180
  ] }) });
10181
10181
  };
10182
- Dy.displayName = "Table";
10183
- const $y = k.header`
10182
+ $y.displayName = "Table";
10183
+ const My = k.header`
10184
10184
  position: fixed;
10185
10185
  top: 0;
10186
10186
  left: 0;
@@ -10199,15 +10199,15 @@ const $y = k.header`
10199
10199
  @media (min-width: 768px) {
10200
10200
  padding-left: ${({ $sidebarCollapsed: t }) => t ? "6rem" : "17rem"};
10201
10201
  }
10202
- `, My = k.div`
10202
+ `, Vy = k.div`
10203
10203
  display: flex;
10204
10204
  align-items: center;
10205
10205
  gap: 1rem;
10206
- `, Vy = k.div`
10206
+ `, Ry = k.div`
10207
10207
  display: flex;
10208
10208
  align-items: center;
10209
10209
  gap: 1rem;
10210
- `, Ry = k.button`
10210
+ `, Iy = k.button`
10211
10211
  position: relative;
10212
10212
  display: flex;
10213
10213
  align-items: center;
@@ -10231,7 +10231,7 @@ const $y = k.header`
10231
10231
  &:active {
10232
10232
  transform: scale(0.92);
10233
10233
  }
10234
- `, Iy = k.span`
10234
+ `, Ny = k.span`
10235
10235
  position: absolute;
10236
10236
  top: 0.35rem;
10237
10237
  right: 0.35rem;
@@ -10247,7 +10247,7 @@ const $y = k.header`
10247
10247
  display: flex;
10248
10248
  align-items: center;
10249
10249
  justify-content: center;
10250
- `, Ny = k.div`
10250
+ `, Ly = k.div`
10251
10251
  display: flex;
10252
10252
  align-items: center;
10253
10253
  gap: 0.75rem;
@@ -10264,7 +10264,7 @@ const $y = k.header`
10264
10264
  outline: 2px solid var(--color-main-blue-primary);
10265
10265
  outline-offset: 2px;
10266
10266
  }
10267
- `, Ly = k.div`
10267
+ `, By = k.div`
10268
10268
  width: 2rem;
10269
10269
  height: 2rem;
10270
10270
  border-radius: 50%;
@@ -10275,7 +10275,7 @@ const $y = k.header`
10275
10275
  color: var(--color-main-white);
10276
10276
  font-weight: 600;
10277
10277
  font-size: 0.875rem;
10278
- `, By = k.div`
10278
+ `, Oy = k.div`
10279
10279
  display: flex;
10280
10280
  flex-direction: column;
10281
10281
  align-items: flex-start;
@@ -10283,12 +10283,12 @@ const $y = k.header`
10283
10283
  @media (max-width: 640px) {
10284
10284
  display: none;
10285
10285
  }
10286
- `, Oy = k.span`
10286
+ `, jy = k.span`
10287
10287
  font-weight: 600;
10288
10288
  font-size: 0.875rem;
10289
10289
  color: var(--color-main-dark-text);
10290
10290
  line-height: 1.2;
10291
- `, jy = k.span`
10291
+ `, Fy = k.span`
10292
10292
  font-size: 0.75rem;
10293
10293
  color: var(--color-main-gray-text);
10294
10294
  line-height: 1.2;
@@ -10302,11 +10302,11 @@ const $y = k.header`
10302
10302
  children: o
10303
10303
  }) => {
10304
10304
  const a = (h) => h.split(" ").map((f) => f[0]).join("").toUpperCase().slice(0, 2), l = (r ?? 0) > 0 || n, u = r && r > 0 ? r : void 0, d = u ? `${u} notification${u === 1 ? "" : "s"}` : l ? "New notifications" : "No notifications", c = `Notifications: ${d}`;
10305
- return /* @__PURE__ */ R($y, { $sidebarCollapsed: t, children: [
10306
- /* @__PURE__ */ p(My, { children: o }),
10307
- /* @__PURE__ */ R(Vy, { children: [
10305
+ return /* @__PURE__ */ R(My, { $sidebarCollapsed: t, children: [
10306
+ /* @__PURE__ */ p(Vy, { children: o }),
10307
+ /* @__PURE__ */ R(Ry, { children: [
10308
10308
  /* @__PURE__ */ R(
10309
- Ry,
10309
+ Iy,
10310
10310
  {
10311
10311
  onClick: i,
10312
10312
  "aria-label": c,
@@ -10316,17 +10316,17 @@ const $y = k.header`
10316
10316
  /* @__PURE__ */ p(
10317
10317
  q,
10318
10318
  {
10319
- component: l ? zg : _g,
10319
+ component: l ? _g : Hg,
10320
10320
  size: "md",
10321
10321
  color: "var(--color-main-blue-primary)"
10322
10322
  }
10323
10323
  ),
10324
- l && /* @__PURE__ */ p(Iy, { $withCount: !!u, "aria-hidden": !!u, children: u && (u > 99 ? "99+" : u) })
10324
+ l && /* @__PURE__ */ p(Ny, { $withCount: !!u, "aria-hidden": !!u, children: u && (u > 99 ? "99+" : u) })
10325
10325
  ]
10326
10326
  }
10327
10327
  ),
10328
10328
  e && /* @__PURE__ */ R(
10329
- Ny,
10329
+ Ly,
10330
10330
  {
10331
10331
  onClick: s,
10332
10332
  role: "button",
@@ -10335,7 +10335,7 @@ const $y = k.header`
10335
10335
  (h.key === "Enter" || h.key === " ") && (h.preventDefault(), s?.());
10336
10336
  },
10337
10337
  children: [
10338
- /* @__PURE__ */ p(Ly, { children: e.avatarUrl ? /* @__PURE__ */ p(
10338
+ /* @__PURE__ */ p(By, { children: e.avatarUrl ? /* @__PURE__ */ p(
10339
10339
  "img",
10340
10340
  {
10341
10341
  src: e.avatarUrl,
@@ -10343,9 +10343,9 @@ const $y = k.header`
10343
10343
  style: { width: "100%", height: "100%", borderRadius: "50%" }
10344
10344
  }
10345
10345
  ) : a(e.name) }),
10346
- /* @__PURE__ */ R(By, { children: [
10347
- /* @__PURE__ */ p(Oy, { children: e.name }),
10348
- /* @__PURE__ */ p(jy, { children: e.role })
10346
+ /* @__PURE__ */ R(Oy, { children: [
10347
+ /* @__PURE__ */ p(jy, { children: e.name }),
10348
+ /* @__PURE__ */ p(Fy, { children: e.role })
10349
10349
  ] })
10350
10350
  ]
10351
10351
  }
@@ -10354,12 +10354,12 @@ const $y = k.header`
10354
10354
  ] });
10355
10355
  };
10356
10356
  wc.displayName = "Header";
10357
- const Fy = k.div`
10357
+ const zy = k.div`
10358
10358
  display: flex;
10359
10359
  flex-direction: column;
10360
10360
  height: 100vh;
10361
10361
  overflow: hidden;
10362
- `, zy = k.main`
10362
+ `, _y = k.main`
10363
10363
  flex: 1;
10364
10364
  margin-top: 4rem;
10365
10365
  /* Mobile-first: no lateral offset so content occupies full width */
@@ -10375,7 +10375,7 @@ const Fy = k.div`
10375
10375
  @media (min-width: 1200px) {
10376
10376
  margin-left: 5rem;
10377
10377
  }
10378
- `, _y = ({
10378
+ `, Hy = ({
10379
10379
  children: t,
10380
10380
  navigationConfig: e,
10381
10381
  userRoles: n = [],
@@ -10388,7 +10388,7 @@ const Fy = k.div`
10388
10388
  contentClassName: u,
10389
10389
  logoImgCollapsed: d,
10390
10390
  logoImgExpanded: c
10391
- }) => /* @__PURE__ */ R(Fy, { children: [
10391
+ }) => /* @__PURE__ */ R(zy, { children: [
10392
10392
  /* @__PURE__ */ p(
10393
10393
  gc,
10394
10394
  {
@@ -10409,75 +10409,79 @@ const Fy = k.div`
10409
10409
  onUserProfileClick: l
10410
10410
  }
10411
10411
  ),
10412
- /* @__PURE__ */ p(zy, { className: u, children: t })
10413
- ] }), uv = (t) => /* @__PURE__ */ p(K0, { children: /* @__PURE__ */ p(_y, { ...t }) });
10412
+ /* @__PURE__ */ p(_y, { className: u, children: t })
10413
+ ] }), hv = (t) => /* @__PURE__ */ p(Y0, { children: /* @__PURE__ */ p(Hy, { ...t }) });
10414
10414
  export {
10415
- $g as ALLOWED_INPUT_TYPES,
10415
+ Mg as ALLOWED_INPUT_TYPES,
10416
10416
  nc as BaseInput,
10417
10417
  Bs as Button,
10418
10418
  jp as ButtonSpinner,
10419
- Qy as Card,
10420
- ev as CardBody,
10421
- nv as CardFooter,
10422
- tv as CardHeader,
10419
+ ev as Card,
10420
+ rv as CardBody,
10421
+ iv as CardFooter,
10422
+ nv as CardHeader,
10423
10423
  Wi as Checkbox,
10424
10424
  sc as CheckboxInput,
10425
- g0 as CheckboxLabel,
10426
- j0 as Dialog,
10427
- H0 as DialogBody,
10428
- W0 as DialogFooter,
10429
- z0 as DialogHeader,
10425
+ y0 as CheckboxLabel,
10426
+ F0 as Dialog,
10427
+ U0 as DialogBody,
10428
+ K0 as DialogFooter,
10429
+ _0 as DialogHeader,
10430
10430
  Fs as ErrorMessage,
10431
- lv as FormField,
10432
- qy as FullScreenSpinner,
10431
+ uv as FormField,
10432
+ Zy as FullScreenSpinner,
10433
10433
  wc as Header,
10434
10434
  si as HeadingBold,
10435
- Gy as HeadingRegular,
10435
+ Xy as HeadingRegular,
10436
10436
  q as Icon,
10437
10437
  er as IconWrapperStyles,
10438
10438
  Hi as Label,
10439
- uv as Layout,
10440
- hy as Link,
10441
- Kg as PasswordInput,
10439
+ hv as Layout,
10440
+ fy as Link,
10441
+ Yg as PasswordInput,
10442
10442
  ac as PinInput,
10443
10443
  lc as PinInputGroup,
10444
10444
  dc as RadioInput,
10445
10445
  cc as RadioInputDot,
10446
10446
  uc as RadioInputLabel,
10447
- c0 as SearchInput,
10448
- Zy as SectionSpinner,
10447
+ u0 as SearchInput,
10448
+ Jy as SectionSpinner,
10449
10449
  ic as SelectInput,
10450
10450
  gc as Sidebar,
10451
10451
  fc as SidebarContext,
10452
- K0 as SidebarProvider,
10452
+ Y0 as SidebarProvider,
10453
10453
  _i as Spinner,
10454
- Dy as Table,
10454
+ $y as Table,
10455
10455
  xc as TableCell,
10456
10456
  bc as TableHeaderCell,
10457
- cv as TermsAndConditions,
10457
+ dv as TermsAndConditions,
10458
10458
  ai as Text,
10459
10459
  oc as TextAreaInput,
10460
- Jy as ToastProvider,
10460
+ Qy as ToastProvider,
10461
10461
  yc as baseContentTableStyles,
10462
10462
  Ue as baseFieldStyles,
10463
10463
  Ui as baseInputStyles,
10464
10464
  De as baseTableCellsSizes,
10465
- ov as createFieldConfig,
10466
- k0 as createInputRefs,
10465
+ z as bodyTextStyles,
10466
+ av as createFieldConfig,
10467
+ P0 as createInputRefs,
10467
10468
  ye as disabledStyles,
10468
10469
  We as errorStyles,
10469
- Mg as flushedStyles,
10470
- sv as getPropsForInputType,
10471
- S0 as handleDigitChange,
10472
- T0 as handleKeyDown,
10473
- C0 as handlePaste,
10470
+ Vg as flushedStyles,
10471
+ lv as getPropsForInputType,
10472
+ T0 as handleDigitChange,
10473
+ C0 as handleKeyDown,
10474
+ k0 as handlePaste,
10474
10475
  Us as hasPermission,
10475
- rv as normalizeFieldTypes,
10476
- iv as normalizeSelectOptions,
10476
+ Sa as headingBoldStyles,
10477
+ Yu as headingRegularStyles,
10478
+ ov as normalizeFieldTypes,
10479
+ sv as normalizeSelectOptions,
10477
10480
  tr as sizeStyles,
10478
- my as tableHoverMixin,
10481
+ py as tableHoverMixin,
10479
10482
  vc as tableIconContainerStyles,
10480
- py as tableResponsiveMixin,
10481
- fy as tableVariants,
10482
- av as validateCode
10483
+ gy as tableResponsiveMixin,
10484
+ my as tableVariants,
10485
+ tv as toast,
10486
+ cv as validateCode
10483
10487
  };