@unizap/uniui 1.0.18 → 1.0.20

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
@@ -432,7 +432,7 @@ const xe = {
432
432
  accent: "accent-color-rose-500",
433
433
  peer: "peer-checked:border-color-rose-500 peer-checked:text-color-rose-500"
434
434
  }
435
- }, El = (e) => {
435
+ }, Ml = (e) => {
436
436
  Object.assign(xe, e);
437
437
  }, qt = {
438
438
  dark: {
@@ -582,7 +582,7 @@ const xe = {
582
582
  thumbHover: "hover:bg-color-rose-600",
583
583
  thumbActive: "active:bg-color-rose-700"
584
584
  }
585
- }, Pl = (e) => {
585
+ }, Ll = (e) => {
586
586
  Object.assign(qt, e);
587
587
  }, Gt = ({
588
588
  title: e,
@@ -656,7 +656,7 @@ const xe = {
656
656
  ]
657
657
  }
658
658
  ) });
659
- }, Ml = ({
659
+ }, Fl = ({
660
660
  children: e,
661
661
  className: n = "",
662
662
  border: t = !0
@@ -670,7 +670,7 @@ const xe = {
670
670
  `,
671
671
  children: e
672
672
  }
673
- ), Ll = ({
673
+ ), Al = ({
674
674
  label: e,
675
675
  checked: n = !1,
676
676
  disabled: t = !1,
@@ -714,7 +714,7 @@ const xe = {
714
714
  e && /* @__PURE__ */ s.jsx("span", { className: `text-sm text-color-gray-700 ${a}`, children: e })
715
715
  ]
716
716
  }
717
- ), Fl = ({
717
+ ), Dl = ({
718
718
  selected: e,
719
719
  items: n = [],
720
720
  className: t = "",
@@ -3577,7 +3577,7 @@ function ta(e, n) {
3577
3577
  }
3578
3578
  function Vn() {
3579
3579
  }
3580
- const Al = ({
3580
+ const Nl = ({
3581
3581
  onFilesAccepted: e,
3582
3582
  onError: n,
3583
3583
  accept: t = {
@@ -3834,7 +3834,14 @@ const ra = {
3834
3834
  }
3835
3835
  );
3836
3836
  ia.displayName = "OtpInput";
3837
- const gr = Ye(
3837
+ const la = {
3838
+ small: "p-2 text-sm",
3839
+ medium: "p-3 text-base",
3840
+ large: "p-4 text-lg"
3841
+ }, sa = {
3842
+ filled: "bg-color-gray-100 border-color-gray-200",
3843
+ outlined: "border-color-gray-200 bg-color-transparent"
3844
+ }, gr = Ye(
3838
3845
  ({
3839
3846
  placeholder: e,
3840
3847
  value: n,
@@ -3849,34 +3856,36 @@ const gr = Ye(
3849
3856
  maxLength: d,
3850
3857
  label: g,
3851
3858
  labelClassName: f = "",
3852
- ...p
3853
- }, v) => {
3854
- const m = u ? "border-color-red-500 focus-within:ring-color-red-500" : "border-color-gray-200", w = u ? "text-color-red-500" : i;
3859
+ variant: p = "outlined",
3860
+ size: v = "medium",
3861
+ ...m
3862
+ }, w) => {
3863
+ const x = u ? "border-color-red-500 focus-within:ring-color-red-500" : "border-color-gray-200", k = u ? "text-color-red-500" : i;
3855
3864
  return /* @__PURE__ */ s.jsxs("div", { className: "w-full", children: [
3856
3865
  g && /* @__PURE__ */ s.jsx("label", { className: `text-sm text-color-gray-500 mb-2 block ${f}`, children: g }),
3857
- /* @__PURE__ */ s.jsxs("div", { className: `flex items-center w-full rounded-md border focus-within:ring-1 ${m} ${o}`, children: [
3858
- l && /* @__PURE__ */ s.jsx("span", { className: `pl-3 ${w}`, children: l }),
3866
+ /* @__PURE__ */ s.jsxs("div", { className: `flex items-center w-full rounded-md border focus-within:ring-1 ${x} ${sa[p]} ${o}`, children: [
3867
+ l && /* @__PURE__ */ s.jsx("span", { className: `pl-3 ${k}`, children: l }),
3859
3868
  /* @__PURE__ */ s.jsx(
3860
3869
  "input",
3861
3870
  {
3862
- ...p,
3863
- ref: v,
3871
+ ...m,
3872
+ ref: w,
3864
3873
  type: r,
3865
3874
  placeholder: e,
3866
3875
  defaultValue: n,
3867
3876
  maxLength: d,
3868
3877
  onChange: t,
3869
- className: `grow bg-color-transparent px-3 py-3 outline-0 text-md w-full font-medium placeholder:font-normal ${a}`
3878
+ className: `grow outline-0 w-full font-medium placeholder:font-normal bg-color-transparent ${la[v]} ${a}`
3870
3879
  }
3871
3880
  ),
3872
- c && /* @__PURE__ */ s.jsx("span", { className: `pr-3 ${w}`, children: c })
3881
+ c && /* @__PURE__ */ s.jsx("span", { className: `pr-3 ${k}`, children: c })
3873
3882
  ] }),
3874
3883
  u && /* @__PURE__ */ s.jsx("p", { className: "text-color-red-500 text-xs mt-1", children: u })
3875
3884
  ] });
3876
3885
  }
3877
3886
  );
3878
3887
  gr.displayName = "TextInput";
3879
- const la = Ye((e, n) => {
3888
+ const ca = Ye((e, n) => {
3880
3889
  const [t, r] = K(!1);
3881
3890
  return /* @__PURE__ */ s.jsx(
3882
3891
  gr,
@@ -3897,12 +3906,12 @@ const la = Ye((e, n) => {
3897
3906
  }
3898
3907
  );
3899
3908
  });
3900
- la.displayName = "PasswordInput";
3901
- const sa = {
3909
+ ca.displayName = "PasswordInput";
3910
+ const ua = {
3902
3911
  small: "text-xs px-2 py-1",
3903
3912
  medium: "text-sm px-3 py-[0.35rem]",
3904
3913
  large: "text-base px-4 py-2"
3905
- }, Dl = ({
3914
+ }, zl = ({
3906
3915
  label: e,
3907
3916
  color: n = "blue",
3908
3917
  variant: t = "filled",
@@ -3910,9 +3919,9 @@ const sa = {
3910
3919
  className: o = ""
3911
3920
  }) => {
3912
3921
  var u, d;
3913
- const a = (u = xe[n]) == null ? void 0 : u.filled, i = (d = xe[n]) == null ? void 0 : d.outline, l = sa[r], c = `inline-flex text-nowrap items-center rounded-full font-medium leading-none ${t === "outlined" ? `border ${i}` : a} ${l}`.trim();
3922
+ const a = (u = xe[n]) == null ? void 0 : u.filled, i = (d = xe[n]) == null ? void 0 : d.outline, l = ua[r], c = `inline-flex text-nowrap items-center rounded-full font-medium leading-none ${t === "outlined" ? `border ${i}` : a} ${l}`.trim();
3914
3923
  return /* @__PURE__ */ s.jsx("span", { className: `${c} ${o}`, children: e });
3915
- }, ca = ({
3924
+ }, da = ({
3916
3925
  src: e,
3917
3926
  alt: n,
3918
3927
  size: t = "medium",
@@ -3946,19 +3955,19 @@ const sa = {
3946
3955
  ) : r || ((u = n == null ? void 0 : n[0]) == null ? void 0 : u.toUpperCase()) || "?"
3947
3956
  }
3948
3957
  );
3949
- }, Nl = ({
3958
+ }, Tl = ({
3950
3959
  size: e,
3951
3960
  imageUrl: n,
3952
3961
  name: t = "User",
3953
3962
  number: r = "1234567890",
3954
3963
  className: o = ""
3955
3964
  }) => /* @__PURE__ */ s.jsxs("div", { className: o || "flex items-center gap-2 w-fit bg-color-transparent rounded-md p-1", children: [
3956
- /* @__PURE__ */ s.jsx(ca, { size: e, src: n, alt: `${t}'s profile` }),
3965
+ /* @__PURE__ */ s.jsx(da, { size: e, src: n, alt: `${t}'s profile` }),
3957
3966
  /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col", children: [
3958
3967
  /* @__PURE__ */ s.jsx("span", { className: "text-sm font-medium text-color-gray-800", children: t }),
3959
3968
  /* @__PURE__ */ s.jsx("span", { className: "text-xs text-color-gray-600", children: r })
3960
3969
  ] })
3961
- ] }), zl = ({ steps: e, currentStep: n, className: t = "", onChange: r }) => /* @__PURE__ */ s.jsx("div", { className: `flex items-center ${t}`, children: e.map((o, a) => {
3970
+ ] }), Ol = ({ steps: e, currentStep: n, className: t = "", onChange: r }) => /* @__PURE__ */ s.jsx("div", { className: `flex items-center ${t}`, children: e.map((o, a) => {
3962
3971
  const i = a === n, l = a < n;
3963
3972
  return /* @__PURE__ */ s.jsxs(Pe.Fragment, { children: [
3964
3973
  /* @__PURE__ */ s.jsxs(
@@ -4006,10 +4015,10 @@ function ye(e, n) {
4006
4015
  function vt(e) {
4007
4016
  return e instanceof Function;
4008
4017
  }
4009
- function ua(e) {
4018
+ function pa(e) {
4010
4019
  return Array.isArray(e) && e.every((n) => typeof n == "number");
4011
4020
  }
4012
- function da(e, n) {
4021
+ function fa(e, n) {
4013
4022
  const t = [], r = (o) => {
4014
4023
  o.forEach((a) => {
4015
4024
  t.push(a);
@@ -4053,7 +4062,7 @@ function U(e, n, t, r) {
4053
4062
  onChange: r
4054
4063
  };
4055
4064
  }
4056
- function pa(e, n, t, r) {
4065
+ function ma(e, n, t, r) {
4057
4066
  const o = () => {
4058
4067
  var i;
4059
4068
  return (i = a.getValue()) != null ? i : e.options.renderFallbackValue;
@@ -4076,7 +4085,7 @@ function pa(e, n, t, r) {
4076
4085
  i.createCell == null || i.createCell(a, t, n, e);
4077
4086
  }, {}), a;
4078
4087
  }
4079
- function fa(e, n, t, r) {
4088
+ function ga(e, n, t, r) {
4080
4089
  var o, a;
4081
4090
  const l = {
4082
4091
  ...e._getDefaultColumnDef(),
@@ -4146,7 +4155,7 @@ function Hn(e, n, t) {
4146
4155
  i.createHeader == null || i.createHeader(a, e);
4147
4156
  }), a;
4148
4157
  }
4149
- const ma = {
4158
+ const va = {
4150
4159
  createTable: (e) => {
4151
4160
  e.getHeaderGroups = W(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, r, o) => {
4152
4161
  var a, i;
@@ -4231,7 +4240,7 @@ function at(e, n, t, r) {
4231
4240
  });
4232
4241
  return g((o = (a = c[0]) == null ? void 0 : a.headers) != null ? o : []), c;
4233
4242
  }
4234
- const ga = (e, n, t, r, o, a, i) => {
4243
+ const ha = (e, n, t, r, o, a, i) => {
4235
4244
  let l = {
4236
4245
  id: n,
4237
4246
  index: r,
@@ -4259,7 +4268,7 @@ const ga = (e, n, t, r, o, a, i) => {
4259
4268
  return (u = l.getValue(c)) != null ? u : e.options.renderFallbackValue;
4260
4269
  },
4261
4270
  subRows: [],
4262
- getLeafRows: () => da(l.subRows, (c) => c.subRows),
4271
+ getLeafRows: () => fa(l.subRows, (c) => c.subRows),
4263
4272
  getParentRow: () => l.parentId ? e.getRow(l.parentId, !0) : void 0,
4264
4273
  getParentRows: () => {
4265
4274
  let c = [], u = l;
@@ -4270,7 +4279,7 @@ const ga = (e, n, t, r, o, a, i) => {
4270
4279
  }
4271
4280
  return c.reverse();
4272
4281
  },
4273
- getAllCells: W(() => [e.getAllLeafColumns()], (c) => c.map((u) => pa(e, l, u, u.id)), U(e.options, "debugRows", "getAllCells")),
4282
+ getAllCells: W(() => [e.getAllLeafColumns()], (c) => c.map((u) => ma(e, l, u, u.id)), U(e.options, "debugRows", "getAllCells")),
4274
4283
  _getAllCellsByColumnId: W(() => [l.getAllCells()], (c) => c.reduce((u, d) => (u[d.column.id] = d, u), {}), U(e.options, "debugRows", "getAllCellsByColumnId"))
4275
4284
  };
4276
4285
  for (let c = 0; c < e._features.length; c++) {
@@ -4278,7 +4287,7 @@ const ga = (e, n, t, r, o, a, i) => {
4278
4287
  u == null || u.createRow == null || u.createRow(l, e);
4279
4288
  }
4280
4289
  return l;
4281
- }, va = {
4290
+ }, xa = {
4282
4291
  createColumn: (e, n) => {
4283
4292
  e._getFacetedRowModel = n.options.getFacetedRowModel && n.options.getFacetedRowModel(n, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : n.getPreFilteredRowModel(), e._getFacetedUniqueValues = n.options.getFacetedUniqueValues && n.options.getFacetedUniqueValues(n, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = n.options.getFacetedMinMaxValues && n.options.getFacetedMinMaxValues(n, e.id), e.getFacetedMinMaxValues = () => {
4284
4293
  if (e._getFacetedMinMaxValues)
@@ -4348,7 +4357,7 @@ const Re = {
4348
4357
  function Ce(e) {
4349
4358
  return e == null || e === "";
4350
4359
  }
4351
- const ha = {
4360
+ const wa = {
4352
4361
  getDefaultColumnDef: () => ({
4353
4362
  filterFn: "auto"
4354
4363
  }),
@@ -4426,54 +4435,54 @@ const ha = {
4426
4435
  function Bn(e, n, t) {
4427
4436
  return (e && e.autoRemove ? e.autoRemove(n, t) : !1) || typeof n > "u" || typeof n == "string" && !n;
4428
4437
  }
4429
- const xa = (e, n, t) => t.reduce((r, o) => {
4438
+ const ba = (e, n, t) => t.reduce((r, o) => {
4430
4439
  const a = o.getValue(e);
4431
4440
  return r + (typeof a == "number" ? a : 0);
4432
- }, 0), wa = (e, n, t) => {
4441
+ }, 0), ya = (e, n, t) => {
4433
4442
  let r;
4434
4443
  return t.forEach((o) => {
4435
4444
  const a = o.getValue(e);
4436
4445
  a != null && (r > a || r === void 0 && a >= a) && (r = a);
4437
4446
  }), r;
4438
- }, ba = (e, n, t) => {
4447
+ }, Ca = (e, n, t) => {
4439
4448
  let r;
4440
4449
  return t.forEach((o) => {
4441
4450
  const a = o.getValue(e);
4442
4451
  a != null && (r < a || r === void 0 && a >= a) && (r = a);
4443
4452
  }), r;
4444
- }, ya = (e, n, t) => {
4453
+ }, Sa = (e, n, t) => {
4445
4454
  let r, o;
4446
4455
  return t.forEach((a) => {
4447
4456
  const i = a.getValue(e);
4448
4457
  i != null && (r === void 0 ? i >= i && (r = o = i) : (r > i && (r = i), o < i && (o = i)));
4449
4458
  }), [r, o];
4450
- }, Ca = (e, n) => {
4459
+ }, Ra = (e, n) => {
4451
4460
  let t = 0, r = 0;
4452
4461
  if (n.forEach((o) => {
4453
4462
  let a = o.getValue(e);
4454
4463
  a != null && (a = +a) >= a && (++t, r += a);
4455
4464
  }), t) return r / t;
4456
- }, Sa = (e, n) => {
4465
+ }, ja = (e, n) => {
4457
4466
  if (!n.length)
4458
4467
  return;
4459
4468
  const t = n.map((a) => a.getValue(e));
4460
- if (!ua(t))
4469
+ if (!pa(t))
4461
4470
  return;
4462
4471
  if (t.length === 1)
4463
4472
  return t[0];
4464
4473
  const r = Math.floor(t.length / 2), o = t.sort((a, i) => a - i);
4465
4474
  return t.length % 2 !== 0 ? o[r] : (o[r - 1] + o[r]) / 2;
4466
- }, Ra = (e, n) => Array.from(new Set(n.map((t) => t.getValue(e))).values()), ja = (e, n) => new Set(n.map((t) => t.getValue(e))).size, ka = (e, n) => n.length, Dt = {
4467
- sum: xa,
4468
- min: wa,
4469
- max: ba,
4470
- extent: ya,
4471
- mean: Ca,
4472
- median: Sa,
4473
- unique: Ra,
4474
- uniqueCount: ja,
4475
- count: ka
4476
- }, $a = {
4475
+ }, ka = (e, n) => Array.from(new Set(n.map((t) => t.getValue(e))).values()), $a = (e, n) => new Set(n.map((t) => t.getValue(e))).size, _a = (e, n) => n.length, Dt = {
4476
+ sum: ba,
4477
+ min: ya,
4478
+ max: Ca,
4479
+ extent: Sa,
4480
+ mean: Ra,
4481
+ median: ja,
4482
+ unique: ka,
4483
+ uniqueCount: $a,
4484
+ count: _a
4485
+ }, Ea = {
4477
4486
  getDefaultColumnDef: () => ({
4478
4487
  aggregatedCell: (e) => {
4479
4488
  var n, t;
@@ -4540,13 +4549,13 @@ const xa = (e, n, t) => t.reduce((r, o) => {
4540
4549
  };
4541
4550
  }
4542
4551
  };
4543
- function _a(e, n, t) {
4552
+ function Pa(e, n, t) {
4544
4553
  if (!(n != null && n.length) || !t)
4545
4554
  return e;
4546
4555
  const r = e.filter((a) => !n.includes(a.id));
4547
4556
  return t === "remove" ? r : [...n.map((a) => e.find((i) => i.id === a)).filter(Boolean), ...r];
4548
4557
  }
4549
- const Ea = {
4558
+ const Ma = {
4550
4559
  getInitialState: (e) => ({
4551
4560
  columnOrder: [],
4552
4561
  ...e
@@ -4580,13 +4589,13 @@ const Ea = {
4580
4589
  }
4581
4590
  a = [...a, ...l];
4582
4591
  }
4583
- return _a(a, t, r);
4592
+ return Pa(a, t, r);
4584
4593
  }, U(e.options, "debugTable", "_getOrderColumnsFn"));
4585
4594
  }
4586
4595
  }, Nt = () => ({
4587
4596
  left: [],
4588
4597
  right: []
4589
- }), Pa = {
4598
+ }), La = {
4590
4599
  getInitialState: (e) => ({
4591
4600
  columnPinning: Nt(),
4592
4601
  ...e
@@ -4673,7 +4682,7 @@ const Ea = {
4673
4682
  deltaPercentage: null,
4674
4683
  isResizingColumn: !1,
4675
4684
  columnSizingStart: []
4676
- }), Ma = {
4685
+ }), Fa = {
4677
4686
  getDefaultColumnDef: () => it,
4678
4687
  getInitialState: (e) => ({
4679
4688
  columnSizing: {},
@@ -4764,7 +4773,7 @@ const Ea = {
4764
4773
  var k;
4765
4774
  p == null || p.removeEventListener("touchmove", m.moveHandler), p == null || p.removeEventListener("touchend", m.upHandler), x.cancelable && (x.preventDefault(), x.stopPropagation()), f((k = x.touches[0]) == null ? void 0 : k.clientX);
4766
4775
  }
4767
- }, w = La() ? {
4776
+ }, w = Aa() ? {
4768
4777
  passive: !1
4769
4778
  } : !1;
4770
4779
  Tt(a) ? (p == null || p.addEventListener("touchmove", m.moveHandler, w), p == null || p.addEventListener("touchend", m.upHandler, w)) : (p == null || p.addEventListener("mousemove", v.moveHandler, w), p == null || p.addEventListener("mouseup", v.upHandler, w)), n.setColumnSizingInfo((x) => ({
@@ -4802,7 +4811,7 @@ const Ea = {
4802
4811
  }
4803
4812
  };
4804
4813
  let lt = null;
4805
- function La() {
4814
+ function Aa() {
4806
4815
  if (typeof lt == "boolean") return lt;
4807
4816
  let e = !1;
4808
4817
  try {
@@ -4821,7 +4830,7 @@ function La() {
4821
4830
  function Tt(e) {
4822
4831
  return e.type === "touchstart";
4823
4832
  }
4824
- const Fa = {
4833
+ const Da = {
4825
4834
  getInitialState: (e) => ({
4826
4835
  columnVisibility: {},
4827
4836
  ...e
@@ -4869,14 +4878,14 @@ const Fa = {
4869
4878
  function We(e, n) {
4870
4879
  return n ? n === "center" ? e.getCenterVisibleLeafColumns() : n === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
4871
4880
  }
4872
- const Aa = {
4881
+ const Na = {
4873
4882
  createTable: (e) => {
4874
4883
  e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
4875
4884
  if (e._getGlobalFacetedMinMaxValues)
4876
4885
  return e._getGlobalFacetedMinMaxValues();
4877
4886
  };
4878
4887
  }
4879
- }, Da = {
4888
+ }, za = {
4880
4889
  getInitialState: (e) => ({
4881
4890
  globalFilter: void 0,
4882
4891
  ...e
@@ -4909,7 +4918,7 @@ const Aa = {
4909
4918
  e.setGlobalFilter(n ? void 0 : e.initialState.globalFilter);
4910
4919
  };
4911
4920
  }
4912
- }, Na = {
4921
+ }, Ta = {
4913
4922
  getInitialState: (e) => ({
4914
4923
  expanded: {},
4915
4924
  ...e
@@ -4999,7 +5008,7 @@ const Aa = {
4999
5008
  }, Xt = 0, Jt = 10, Ot = () => ({
5000
5009
  pageIndex: Xt,
5001
5010
  pageSize: Jt
5002
- }), za = {
5011
+ }), Oa = {
5003
5012
  getInitialState: (e) => ({
5004
5013
  ...e,
5005
5014
  pagination: {
@@ -5082,7 +5091,7 @@ const Aa = {
5082
5091
  }, It = () => ({
5083
5092
  top: [],
5084
5093
  bottom: []
5085
- }), Ta = {
5094
+ }), Ia = {
5086
5095
  getInitialState: (e) => ({
5087
5096
  rowPinning: It(),
5088
5097
  ...e
@@ -5183,7 +5192,7 @@ const Aa = {
5183
5192
  return n.filter((a) => !o.has(a.id));
5184
5193
  }, U(e.options, "debugRows", "getCenterRows"));
5185
5194
  }
5186
- }, Oa = {
5195
+ }, Va = {
5187
5196
  getInitialState: (e) => ({
5188
5197
  rowSelection: {},
5189
5198
  ...e
@@ -5339,10 +5348,10 @@ function en(e, n, t) {
5339
5348
  }
5340
5349
  }), o ? "all" : a ? "some" : !1;
5341
5350
  }
5342
- const tn = /([0-9]+)/gm, Ia = (e, n, t) => Rr(Le(e.getValue(t)).toLowerCase(), Le(n.getValue(t)).toLowerCase()), Va = (e, n, t) => Rr(Le(e.getValue(t)), Le(n.getValue(t))), Ha = (e, n, t) => sn(Le(e.getValue(t)).toLowerCase(), Le(n.getValue(t)).toLowerCase()), Ba = (e, n, t) => sn(Le(e.getValue(t)), Le(n.getValue(t))), qa = (e, n, t) => {
5351
+ const tn = /([0-9]+)/gm, Ha = (e, n, t) => Rr(Le(e.getValue(t)).toLowerCase(), Le(n.getValue(t)).toLowerCase()), Ba = (e, n, t) => Rr(Le(e.getValue(t)), Le(n.getValue(t))), qa = (e, n, t) => sn(Le(e.getValue(t)).toLowerCase(), Le(n.getValue(t)).toLowerCase()), Ga = (e, n, t) => sn(Le(e.getValue(t)), Le(n.getValue(t))), Wa = (e, n, t) => {
5343
5352
  const r = e.getValue(t), o = n.getValue(t);
5344
5353
  return r > o ? 1 : r < o ? -1 : 0;
5345
- }, Ga = (e, n, t) => sn(e.getValue(t), n.getValue(t));
5354
+ }, Ua = (e, n, t) => sn(e.getValue(t), n.getValue(t));
5346
5355
  function sn(e, n) {
5347
5356
  return e === n ? 0 : e > n ? 1 : -1;
5348
5357
  }
@@ -5370,13 +5379,13 @@ function Rr(e, n) {
5370
5379
  return t.length - r.length;
5371
5380
  }
5372
5381
  const qe = {
5373
- alphanumeric: Ia,
5374
- alphanumericCaseSensitive: Va,
5375
- text: Ha,
5376
- textCaseSensitive: Ba,
5377
- datetime: qa,
5378
- basic: Ga
5379
- }, Wa = {
5382
+ alphanumeric: Ha,
5383
+ alphanumericCaseSensitive: Ba,
5384
+ text: qa,
5385
+ textCaseSensitive: Ga,
5386
+ datetime: Wa,
5387
+ basic: Ua
5388
+ }, Ya = {
5380
5389
  getInitialState: (e) => ({
5381
5390
  sorting: [],
5382
5391
  ...e
@@ -5465,30 +5474,30 @@ const qe = {
5465
5474
  e.setSorting(n ? [] : (t = (r = e.initialState) == null ? void 0 : r.sorting) != null ? t : []);
5466
5475
  }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
5467
5476
  }
5468
- }, Ua = [
5469
- ma,
5470
- Fa,
5471
- Ea,
5472
- Pa,
5477
+ }, Za = [
5473
5478
  va,
5474
- ha,
5475
- Aa,
5476
- //depends on ColumnFaceting
5477
5479
  Da,
5478
- //depends on ColumnFiltering
5479
- Wa,
5480
- $a,
5481
- //depends on RowSorting
5480
+ Ma,
5481
+ La,
5482
+ xa,
5483
+ wa,
5482
5484
  Na,
5485
+ //depends on ColumnFaceting
5483
5486
  za,
5487
+ //depends on ColumnFiltering
5488
+ Ya,
5489
+ Ea,
5490
+ //depends on RowSorting
5484
5491
  Ta,
5485
5492
  Oa,
5486
- Ma
5493
+ Ia,
5494
+ Va,
5495
+ Fa
5487
5496
  ];
5488
- function Ya(e) {
5497
+ function Ka(e) {
5489
5498
  var n, t;
5490
5499
  process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
5491
- const r = [...Ua, ...(n = e._features) != null ? n : []];
5500
+ const r = [...Za, ...(n = e._features) != null ? n : []];
5492
5501
  let o = {
5493
5502
  _features: r
5494
5503
  };
@@ -5568,7 +5577,7 @@ function Ya(e) {
5568
5577
  getAllColumns: W(() => [o._getColumnDefs()], (f) => {
5569
5578
  const p = function(v, m, w) {
5570
5579
  return w === void 0 && (w = 0), v.map((x) => {
5571
- const k = fa(o, x, w, m), b = x;
5580
+ const k = ga(o, x, w, m), b = x;
5572
5581
  return k.columns = b.columns ? p(b.columns, k, w + 1) : [], k;
5573
5582
  });
5574
5583
  };
@@ -5592,7 +5601,7 @@ function Ya(e) {
5592
5601
  }
5593
5602
  return o;
5594
5603
  }
5595
- function Za() {
5604
+ function Xa() {
5596
5605
  return (e) => W(() => [e.options.data], (n) => {
5597
5606
  const t = {
5598
5607
  rows: [],
@@ -5602,7 +5611,7 @@ function Za() {
5602
5611
  a === void 0 && (a = 0);
5603
5612
  const l = [];
5604
5613
  for (let u = 0; u < o.length; u++) {
5605
- const d = ga(e, e._getRowId(o[u], u, i), o[u], u, a, void 0, i == null ? void 0 : i.id);
5614
+ const d = ha(e, e._getRowId(o[u], u, i), o[u], u, a, void 0, i == null ? void 0 : i.id);
5606
5615
  if (t.flatRows.push(d), t.rowsById[d.id] = d, l.push(d), e.options.getSubRows) {
5607
5616
  var c;
5608
5617
  d.originalSubRows = e.options.getSubRows(o[u], u), (c = d.originalSubRows) != null && c.length && (d.subRows = r(d.originalSubRows, a + 1, d));
@@ -5623,7 +5632,7 @@ function Za() {
5623
5632
  *
5624
5633
  * @license MIT
5625
5634
  */
5626
- function Ka(e) {
5635
+ function Ja(e) {
5627
5636
  const n = {
5628
5637
  state: {},
5629
5638
  // Dummy state
@@ -5633,7 +5642,7 @@ function Ka(e) {
5633
5642
  renderFallbackValue: null,
5634
5643
  ...e
5635
5644
  }, [t] = j.useState(() => ({
5636
- current: Ya(n)
5645
+ current: Ka(n)
5637
5646
  })), [r, o] = j.useState(() => t.current.initialState);
5638
5647
  return t.current.setOptions((a) => ({
5639
5648
  ...a,
@@ -5649,7 +5658,7 @@ function Ka(e) {
5649
5658
  }
5650
5659
  })), t.current;
5651
5660
  }
5652
- const Xa = {
5661
+ const Qa = {
5653
5662
  h1: "text-5xl font-bold",
5654
5663
  h2: "text-4xl font-bold",
5655
5664
  h3: "text-3xl font-bold",
@@ -5662,7 +5671,7 @@ const Xa = {
5662
5671
  body2: "text-sm",
5663
5672
  caption: "text-xs",
5664
5673
  overline: "text-xs uppercase tracking-wide"
5665
- }, Ja = {
5674
+ }, ei = {
5666
5675
  default: "text-color-gray-800",
5667
5676
  primary: "text-color-primary",
5668
5677
  secondary: "text-color-secondary",
@@ -5670,7 +5679,7 @@ const Xa = {
5670
5679
  muted: "text-color-gray-400",
5671
5680
  error: "text-color-red-500",
5672
5681
  success: "text-color-green-500"
5673
- }, Qa = ({
5682
+ }, ti = ({
5674
5683
  variant: e = "body1",
5675
5684
  component: n,
5676
5685
  className: t = "",
@@ -5691,7 +5700,7 @@ const Xa = {
5691
5700
  caption: "span",
5692
5701
  overline: "span"
5693
5702
  }[e] || "p";
5694
- return /* @__PURE__ */ s.jsx(i, { className: `${Xa[e]} ${Ja[o]} ${t}`, children: r });
5703
+ return /* @__PURE__ */ s.jsx(i, { className: `${Qa[e]} ${ei[o]} ${t}`, children: r });
5695
5704
  }, je = ({
5696
5705
  variant: e = "filled",
5697
5706
  color: n = "blue",
@@ -5731,7 +5740,7 @@ const Xa = {
5731
5740
  children: t && /* @__PURE__ */ s.jsx(s.Fragment, { children: t })
5732
5741
  }
5733
5742
  );
5734
- }, ei = ({
5743
+ }, ni = ({
5735
5744
  total: e,
5736
5745
  currentPage: n,
5737
5746
  pageSize: t = 10,
@@ -5796,7 +5805,7 @@ const Xa = {
5796
5805
  }
5797
5806
  )
5798
5807
  ] });
5799
- }, Tl = ({
5808
+ }, Il = ({
5800
5809
  data: e,
5801
5810
  columns: n = [],
5802
5811
  pageSize: t,
@@ -5810,10 +5819,10 @@ const Xa = {
5810
5819
  tdClassName: d = "",
5811
5820
  thClassName: g = ""
5812
5821
  }) => {
5813
- const f = Ka({
5822
+ const f = Ja({
5814
5823
  data: e,
5815
5824
  columns: n,
5816
- getCoreRowModel: Za(),
5825
+ getCoreRowModel: Xa(),
5817
5826
  manualPagination: !0,
5818
5827
  pageCount: Math.ceil(l / t),
5819
5828
  state: {
@@ -5841,7 +5850,7 @@ const Xa = {
5841
5850
  ] }),
5842
5851
  /* @__PURE__ */ s.jsxs("div", { className: `w-full py-4 px-2 border-t border-color-gray-200 bg-color-[#FAFBFB] flex justify-between items-center ${u} sticky bottom-0 z-10`, children: [
5843
5852
  /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2", children: [
5844
- /* @__PURE__ */ s.jsx(Qa, { variant: "body2", className: "hidden md:flex", children: "Rows per page" }),
5853
+ /* @__PURE__ */ s.jsx(ti, { variant: "body2", className: "hidden md:flex", children: "Rows per page" }),
5845
5854
  /* @__PURE__ */ s.jsx(
5846
5855
  na,
5847
5856
  {
@@ -5855,7 +5864,7 @@ const Xa = {
5855
5864
  )
5856
5865
  ] }),
5857
5866
  /* @__PURE__ */ s.jsx(
5858
- ei,
5867
+ ni,
5859
5868
  {
5860
5869
  total: l,
5861
5870
  pageSize: t,
@@ -5865,7 +5874,7 @@ const Xa = {
5865
5874
  )
5866
5875
  ] })
5867
5876
  ] }) });
5868
- }, Ol = ({
5877
+ }, Vl = ({
5869
5878
  animation: e = "pulse",
5870
5879
  variant: n = "rectangular",
5871
5880
  width: t,
@@ -5935,7 +5944,7 @@ const Xa = {
5935
5944
  }
5936
5945
  ` })
5937
5946
  ] }) });
5938
- }, Il = ({
5947
+ }, Hl = ({
5939
5948
  label: e,
5940
5949
  error: n,
5941
5950
  className: t = "",
@@ -5957,7 +5966,7 @@ const Xa = {
5957
5966
  medium: { track: "h-2", thumb: "w-4 h-4" },
5958
5967
  large: { track: "h-3", thumb: "w-5 h-5" }
5959
5968
  };
5960
- function ti(e) {
5969
+ function ri(e) {
5961
5970
  const n = se(null), t = se(null), r = se(null), o = (c, u) => {
5962
5971
  if (c === u) return !0;
5963
5972
  if (Array.isArray(c) && Array.isArray(u)) {
@@ -5983,7 +5992,7 @@ function ti(e) {
5983
5992
  }, []);
5984
5993
  return { schedule: i, flush: a, cancel: l, last: t };
5985
5994
  }
5986
- const Vl = Ur(function({
5995
+ const Bl = Ur(function({
5987
5996
  /** controlled */
5988
5997
  value: n,
5989
5998
  /** uncontrolled */
@@ -6007,7 +6016,7 @@ const Vl = Ur(function({
6007
6016
  const x = n !== void 0, [k, b] = K(() => t !== void 0 ? t : m ? [a, i] : a), $ = x ? n : k, y = Array.isArray($) ? $[0] : $, [O, N] = Array.isArray($) ? $ : [$, $], V = qt[c] || qt.blue, F = qn[u] ?? qn.medium, Z = oe(
6008
6017
  (_) => (_ - a) / (i - a) * 100,
6009
6018
  [a, i]
6010
- ), ae = Z(y), ue = Z(O), Q = Z(N), H = oe((_) => Math.max(a, Math.min(i, _)), [a, i]), Y = oe((_) => Math.round(_ / l) * l, [l]), T = ti(r), te = oe(
6019
+ ), ae = Z(y), ue = Z(O), Q = Z(N), H = oe((_) => Math.max(a, Math.min(i, _)), [a, i]), Y = oe((_) => Math.round(_ / l) * l, [l]), T = ri(r), te = oe(
6011
6020
  (_, J = !0) => {
6012
6021
  x || b(_), J ? T.schedule(_) : T.flush(_);
6013
6022
  },
@@ -6279,7 +6288,7 @@ const Vl = Ur(function({
6279
6288
  ] }),
6280
6289
  f && /* @__PURE__ */ s.jsx("div", { className: "ml-3 text-sm font-medium text-color-gray-700 dark:text-color-gray-200 min-w-[2rem] text-right", children: m ? /* @__PURE__ */ s.jsx("div", { className: "range-max", children: /* @__PURE__ */ s.jsx("div", { children: N }) }) : /* @__PURE__ */ s.jsx("span", { children: y }) })
6281
6290
  ] }) });
6282
- }), Hl = ({
6291
+ }), ql = ({
6283
6292
  open: e = !1,
6284
6293
  message: n,
6285
6294
  autoHideDuration: t = 4e3,
@@ -6361,7 +6370,7 @@ const Vl = Ur(function({
6361
6370
  }
6362
6371
  )
6363
6372
  ] }) : null;
6364
- }, Bl = ({
6373
+ }, Gl = ({
6365
6374
  variant: e = "linear",
6366
6375
  value: n = 0,
6367
6376
  color: t = "blue",
@@ -6461,7 +6470,7 @@ const Vl = Ur(function({
6461
6470
  small: "w-4 h-4",
6462
6471
  medium: "w-6 h-6",
6463
6472
  large: "w-8 h-8"
6464
- }, ql = ({
6473
+ }, Wl = ({
6465
6474
  value: e,
6466
6475
  onChange: n,
6467
6476
  readOnly: t = !1,
@@ -6530,7 +6539,7 @@ const Vl = Ur(function({
6530
6539
  k,
6531
6540
  d && p !== null ? /* @__PURE__ */ s.jsx("span", { className: "ml-2 text-xs text-gray-500", children: f[p] || p }) : g ? /* @__PURE__ */ s.jsx("span", { className: "ml-2 text-xs text-gray-500", children: f[e] || e }) : null
6532
6541
  ] });
6533
- }, Gl = ({
6542
+ }, Ul = ({
6534
6543
  children: e,
6535
6544
  width: n = "100%",
6536
6545
  height: t = "auto",
@@ -6719,7 +6728,7 @@ const Vl = Ur(function({
6719
6728
  ]
6720
6729
  }
6721
6730
  );
6722
- }, Wl = ({
6731
+ }, Yl = ({
6723
6732
  title: e,
6724
6733
  description: n,
6725
6734
  actionLabel: t,
@@ -6752,7 +6761,7 @@ const Vl = Ur(function({
6752
6761
  i
6753
6762
  ]
6754
6763
  }
6755
- ), Ul = ({
6764
+ ), Zl = ({
6756
6765
  initialState: e = !1,
6757
6766
  onToggle: n,
6758
6767
  disabled: t = !1,
@@ -6825,7 +6834,7 @@ const Vl = Ur(function({
6825
6834
  small: "rounded-md",
6826
6835
  medium: "rounded-xl",
6827
6836
  large: "rounded-2xl"
6828
- }, ni = ({
6837
+ }, oi = ({
6829
6838
  title: e,
6830
6839
  subtitle: n,
6831
6840
  space: t = "medium",
@@ -6867,7 +6876,7 @@ const Vl = Ur(function({
6867
6876
  /* @__PURE__ */ s.jsx("div", { children: c }),
6868
6877
  p && /* @__PURE__ */ s.jsx("div", { className: "absolute w-full h-full top-0 left-0 flex items-center justify-center bg-color-white bg-opacity-50", children: p })
6869
6878
  ] });
6870
- }, Yl = ({
6879
+ }, Kl = ({
6871
6880
  orientation: e = "horizontal",
6872
6881
  variant: n = "fullWidth",
6873
6882
  children: t,
@@ -6904,7 +6913,7 @@ const Vl = Ur(function({
6904
6913
  ${n === "inset" ? o ? "pl-4" : "pt-4" : ""} ${a}`
6905
6914
  }
6906
6915
  );
6907
- }, Zl = ({
6916
+ }, Xl = ({
6908
6917
  name: e,
6909
6918
  options: n,
6910
6919
  selectedValue: t,
@@ -6945,7 +6954,7 @@ const Vl = Ur(function({
6945
6954
  },
6946
6955
  d
6947
6956
  );
6948
- }) }), Kl = ({
6957
+ }) }), Jl = ({
6949
6958
  label: e,
6950
6959
  value: n,
6951
6960
  onChange: t,
@@ -6986,7 +6995,7 @@ const Vl = Ur(function({
6986
6995
  /* @__PURE__ */ s.jsx("span", { className: `absolute right-3 text-sm top-1/2 -translate-y-1/2 ${i ? "opacity-60" : ""}`, children: /* @__PURE__ */ s.jsx("svg", { className: "size-4", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" }) }) })
6987
6996
  ] })
6988
6997
  ] });
6989
- }, Xl = ({
6998
+ }, Ql = ({
6990
6999
  content: e,
6991
7000
  children: n,
6992
7001
  position: t = "top"
@@ -7037,10 +7046,10 @@ const Vl = Ur(function({
7037
7046
  )
7038
7047
  ] });
7039
7048
  };
7040
- function ri(...e) {
7049
+ function ai(...e) {
7041
7050
  return e.filter(Boolean).join(" ");
7042
7051
  }
7043
- const oi = {
7052
+ const ii = {
7044
7053
  sm: "max-w-sm",
7045
7054
  md: "max-w-md",
7046
7055
  lg: "max-w-lg",
@@ -7048,7 +7057,7 @@ const oi = {
7048
7057
  "2xl": "max-w-2xl",
7049
7058
  "4xl": "max-w-4xl",
7050
7059
  "6xl": "max-w-6xl"
7051
- }, ai = Ye(
7060
+ }, li = Ye(
7052
7061
  ({
7053
7062
  open: e,
7054
7063
  onClose: n,
@@ -7087,7 +7096,7 @@ const oi = {
7087
7096
  /* @__PURE__ */ s.jsxs(
7088
7097
  "div",
7089
7098
  {
7090
- className: ri(
7099
+ className: ai(
7091
7100
  "fixed inset-0 z-50 flex items-center justify-center transition-opacity duration-300",
7092
7101
  m ? "opacity-100" : "opacity-0 pointer-events-none"
7093
7102
  ),
@@ -7104,7 +7113,7 @@ const oi = {
7104
7113
  /* @__PURE__ */ s.jsxs(
7105
7114
  "div",
7106
7115
  {
7107
- className: `relative flex flex-col z-50 bg-color-white rounded-xl shadow-lg transition-all duration-300 transform p-6 ${m ? "opacity-100 scale-100" : "opacity-0 scale-95"} ${l ? "w-full h-[calc(100%_-_40px)] m-5" : `${c ? "w-full" : "w-auto"} ${u ? oi[u] : ""} mx-5`} ${t}`,
7116
+ className: `relative flex flex-col z-50 bg-color-white rounded-xl shadow-lg transition-all duration-300 transform p-6 ${m ? "opacity-100 scale-100" : "opacity-0 scale-95"} ${l ? "w-full h-[calc(100%_-_40px)] m-5" : `${c ? "w-full" : "w-auto"} ${u ? ii[u] : ""} mx-5`} ${t}`,
7108
7117
  onTransitionEnd: x,
7109
7118
  children: [
7110
7119
  /* @__PURE__ */ s.jsxs("div", { className: "flex items-center justify-between mb-4", children: [
@@ -7135,7 +7144,7 @@ const oi = {
7135
7144
  ) : null;
7136
7145
  }
7137
7146
  );
7138
- function Jl({ items: e, trigger: n, className: t, dropdownItemClass: r }) {
7147
+ function es({ items: e, trigger: n, className: t, dropdownItemClass: r }) {
7139
7148
  const [o, a] = K(!1), [i, l] = K({ top: 0, left: 0 }), [c, u] = K(!1), d = se(null), g = se(null), f = (v) => {
7140
7149
  v.stopPropagation(), a((m) => !m), u(!1);
7141
7150
  };
@@ -7188,10 +7197,10 @@ function Jl({ items: e, trigger: n, className: t, dropdownItemClass: r }) {
7188
7197
  o && Ze(p, document.body)
7189
7198
  ] });
7190
7199
  }
7191
- function ii(...e) {
7200
+ function si(...e) {
7192
7201
  return e.filter(Boolean).join(" ");
7193
7202
  }
7194
- const li = ({
7203
+ const ci = ({
7195
7204
  open: e,
7196
7205
  onClose: n,
7197
7206
  className: t,
@@ -7235,7 +7244,7 @@ const li = ({
7235
7244
  /* @__PURE__ */ s.jsxs(
7236
7245
  "div",
7237
7246
  {
7238
- className: ii(
7247
+ className: si(
7239
7248
  "fixed inset-0 z-50 transition-opacity duration-300",
7240
7249
  g ? "opacity-100" : "opacity-0 pointer-events-none"
7241
7250
  ),
@@ -7275,7 +7284,7 @@ const li = ({
7275
7284
  ),
7276
7285
  document.body
7277
7286
  );
7278
- }, Ql = ({
7287
+ }, ts = ({
7279
7288
  title: e,
7280
7289
  content: n,
7281
7290
  expandIcon: t,
@@ -7313,25 +7322,25 @@ const li = ({
7313
7322
  ),
7314
7323
  /* @__PURE__ */ s.jsx("div", { className: `grid overflow-hidden transition-all duration-300 ease-in-out grid-rows-[0fr] ${p ? "grid-rows-[1fr] opacity-100" : "grid-rows-[0fr] opacity-0"}`, children: /* @__PURE__ */ s.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ s.jsx("div", { className: `p-4 text-sm text-color-gray-700 ${u}`, children: n }) }) })
7315
7324
  ] });
7316
- }, si = {
7325
+ }, ui = {
7317
7326
  info: "bg-color-blue-50 border-color-blue-300 text-color-blue-800",
7318
7327
  success: "bg-color-green-50 border-color-green-300 text-color-green-800",
7319
7328
  danger: "bg-color-red-50 border-color-red-300 text-color-red-800",
7320
7329
  warning: "bg-color-yellow-50 border-color-yellow-300 text-color-yellow-800",
7321
7330
  dark: "bg-color-gray-100 border-color-gray-300 text-color-gray-800"
7322
- }, ci = {
7331
+ }, di = {
7323
7332
  info: /* @__PURE__ */ s.jsx("svg", { className: "text-color-blue-800 shrink-0 size-7", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" }) }),
7324
7333
  success: /* @__PURE__ */ s.jsx("svg", { className: "text-color-green-800 shrink-0 size-7", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" }) }),
7325
7334
  danger: /* @__PURE__ */ s.jsx("svg", { className: "text-color-red-800 shrink-0 size-7", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 10.5858L14.8284 7.75736L16.2426 9.17157L13.4142 12L16.2426 14.8284L14.8284 16.2426L12 13.4142L9.17157 16.2426L7.75736 14.8284L10.5858 12L7.75736 9.17157L9.17157 7.75736L12 10.5858Z" }) }),
7326
7335
  warning: /* @__PURE__ */ s.jsx("svg", { className: "text-color-yellow-800 shrink-0 size-7", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" }) }),
7327
7336
  dark: /* @__PURE__ */ s.jsx("svg", { className: "text-color-gray-800 shrink-0 size-7", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" }) })
7328
- }, ui = {
7337
+ }, pi = {
7329
7338
  info: "bg-color-blue-500",
7330
7339
  success: "bg-color-green-500",
7331
7340
  danger: "bg-color-red-500",
7332
7341
  warning: "bg-color-yellow-500",
7333
7342
  dark: "bg-color-gray-700"
7334
- }, es = ({
7343
+ }, ns = ({
7335
7344
  message: e,
7336
7345
  variant: n = "info",
7337
7346
  onClose: t,
@@ -7350,10 +7359,10 @@ const li = ({
7350
7359
  }, [r, a, t]), i ? /* @__PURE__ */ s.jsxs(
7351
7360
  "div",
7352
7361
  {
7353
- className: `relative border-t-4 p-4 flex items-start justify-between ${si[n]} ${o}`,
7362
+ className: `relative border-t-4 p-4 flex items-start justify-between ${ui[n]} ${o}`,
7354
7363
  children: [
7355
7364
  /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2", children: [
7356
- ci[n],
7365
+ di[n],
7357
7366
  /* @__PURE__ */ s.jsx("span", { dangerouslySetInnerHTML: { __html: e } })
7358
7367
  ] }),
7359
7368
  /* @__PURE__ */ s.jsx(
@@ -7371,14 +7380,14 @@ const li = ({
7371
7380
  "div",
7372
7381
  {
7373
7382
  ref: c,
7374
- className: `${ui[n]} h-1`,
7383
+ className: `${pi[n]} h-1`,
7375
7384
  style: { width: "100%" }
7376
7385
  }
7377
7386
  ) })
7378
7387
  ]
7379
7388
  }
7380
7389
  ) : null;
7381
- }, ts = ({
7390
+ }, rs = ({
7382
7391
  children: e,
7383
7392
  count: n,
7384
7393
  showDot: t = !1,
@@ -7464,18 +7473,18 @@ function cn(e) {
7464
7473
  return n;
7465
7474
  }
7466
7475
  function jr(e, n, t = "/") {
7467
- return di(e, n, t, !1);
7476
+ return fi(e, n, t, !1);
7468
7477
  }
7469
- function di(e, n, t, r) {
7478
+ function fi(e, n, t, r) {
7470
7479
  let o = typeof n == "string" ? cn(n) : n, a = Fe(o.pathname || "/", t);
7471
7480
  if (a == null)
7472
7481
  return null;
7473
7482
  let i = kr(e);
7474
- pi(i);
7483
+ mi(i);
7475
7484
  let l = null;
7476
7485
  for (let c = 0; l == null && c < i.length; ++c) {
7477
- let u = Si(a);
7478
- l = yi(
7486
+ let u = ji(a);
7487
+ l = Si(
7479
7488
  i[c],
7480
7489
  u,
7481
7490
  r
@@ -7503,7 +7512,7 @@ function kr(e, n = [], t = [], r = "") {
7503
7512
  `Index routes must not have child routes. Please remove all child routes from route path "${u}".`
7504
7513
  ), kr(a.children, n, d, u)), !(a.path == null && !a.index) && n.push({
7505
7514
  path: u,
7506
- score: wi(u, a.index),
7515
+ score: yi(u, a.index),
7507
7516
  routesMeta: d
7508
7517
  });
7509
7518
  };
@@ -7531,23 +7540,23 @@ function $r(e) {
7531
7540
  (c) => e.startsWith("/") && c === "" ? "/" : c
7532
7541
  );
7533
7542
  }
7534
- function pi(e) {
7543
+ function mi(e) {
7535
7544
  e.sort(
7536
- (n, t) => n.score !== t.score ? t.score - n.score : bi(
7545
+ (n, t) => n.score !== t.score ? t.score - n.score : Ci(
7537
7546
  n.routesMeta.map((r) => r.childrenIndex),
7538
7547
  t.routesMeta.map((r) => r.childrenIndex)
7539
7548
  )
7540
7549
  );
7541
7550
  }
7542
- var fi = /^:[\w-]+$/, mi = 3, gi = 2, vi = 1, hi = 10, xi = -2, Kn = (e) => e === "*";
7543
- function wi(e, n) {
7551
+ var gi = /^:[\w-]+$/, vi = 3, hi = 2, xi = 1, wi = 10, bi = -2, Kn = (e) => e === "*";
7552
+ function yi(e, n) {
7544
7553
  let t = e.split("/"), r = t.length;
7545
- return t.some(Kn) && (r += xi), n && (r += gi), t.filter((o) => !Kn(o)).reduce(
7546
- (o, a) => o + (fi.test(a) ? mi : a === "" ? vi : hi),
7554
+ return t.some(Kn) && (r += bi), n && (r += hi), t.filter((o) => !Kn(o)).reduce(
7555
+ (o, a) => o + (gi.test(a) ? vi : a === "" ? xi : wi),
7547
7556
  r
7548
7557
  );
7549
7558
  }
7550
- function bi(e, n) {
7559
+ function Ci(e, n) {
7551
7560
  return e.length === n.length && e.slice(0, -1).every((r, o) => r === n[o]) ? (
7552
7561
  // If two routes are siblings, we should try to match the earlier sibling
7553
7562
  // first. This allows people to have fine-grained control over the matching
@@ -7560,7 +7569,7 @@ function bi(e, n) {
7560
7569
  0
7561
7570
  );
7562
7571
  }
7563
- function yi(e, n, t = !1) {
7572
+ function Si(e, n, t = !1) {
7564
7573
  let { routesMeta: r } = e, o = {}, a = "/", i = [];
7565
7574
  for (let l = 0; l < r.length; ++l) {
7566
7575
  let c = r[l], u = l === r.length - 1, d = a === "/" ? n : n.slice(a.length) || "/", g = gt(
@@ -7580,7 +7589,7 @@ function yi(e, n, t = !1) {
7580
7589
  // TODO: Can this as be avoided?
7581
7590
  params: o,
7582
7591
  pathname: ke([a, g.pathname]),
7583
- pathnameBase: $i(
7592
+ pathnameBase: Ei(
7584
7593
  ke([a, g.pathnameBase])
7585
7594
  ),
7586
7595
  route: f
@@ -7590,7 +7599,7 @@ function yi(e, n, t = !1) {
7590
7599
  }
7591
7600
  function gt(e, n) {
7592
7601
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
7593
- let [t, r] = Ci(
7602
+ let [t, r] = Ri(
7594
7603
  e.path,
7595
7604
  e.caseSensitive,
7596
7605
  e.end
@@ -7614,7 +7623,7 @@ function gt(e, n) {
7614
7623
  pattern: e
7615
7624
  };
7616
7625
  }
7617
- function Ci(e, n = !1, t = !0) {
7626
+ function Ri(e, n = !1, t = !0) {
7618
7627
  $e(
7619
7628
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
7620
7629
  `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
@@ -7625,7 +7634,7 @@ function Ci(e, n = !1, t = !0) {
7625
7634
  );
7626
7635
  return e.endsWith("*") ? (r.push({ paramName: "*" }), o += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : t ? o += "\\/*$" : e !== "" && e !== "/" && (o += "(?:(?=\\/|$))"), [new RegExp(o, n ? void 0 : "i"), r];
7627
7636
  }
7628
- function Si(e) {
7637
+ function ji(e) {
7629
7638
  try {
7630
7639
  return e.split("/").map((n) => decodeURIComponent(n).replace(/\//g, "%2F")).join("/");
7631
7640
  } catch (n) {
@@ -7642,19 +7651,19 @@ function Fe(e, n) {
7642
7651
  let t = n.endsWith("/") ? n.length - 1 : n.length, r = e.charAt(t);
7643
7652
  return r && r !== "/" ? null : e.slice(t) || "/";
7644
7653
  }
7645
- function Ri(e, n = "/") {
7654
+ function ki(e, n = "/") {
7646
7655
  let {
7647
7656
  pathname: t,
7648
7657
  search: r = "",
7649
7658
  hash: o = ""
7650
7659
  } = typeof e == "string" ? cn(e) : e;
7651
7660
  return {
7652
- pathname: t ? t.startsWith("/") ? t : ji(t, n) : n,
7653
- search: _i(r),
7654
- hash: Ei(o)
7661
+ pathname: t ? t.startsWith("/") ? t : $i(t, n) : n,
7662
+ search: Pi(r),
7663
+ hash: Mi(o)
7655
7664
  };
7656
7665
  }
7657
- function ji(e, n) {
7666
+ function $i(e, n) {
7658
7667
  let t = n.replace(/\/+$/, "").split("/");
7659
7668
  return e.split("/").forEach((o) => {
7660
7669
  o === ".." ? t.length > 1 && t.pop() : o !== "." && t.push(o);
@@ -7665,13 +7674,13 @@ function Ht(e, n, t, r) {
7665
7674
  r
7666
7675
  )}]. Please separate it out to the \`to.${t}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
7667
7676
  }
7668
- function ki(e) {
7677
+ function _i(e) {
7669
7678
  return e.filter(
7670
7679
  (n, t) => t === 0 || n.route.path && n.route.path.length > 0
7671
7680
  );
7672
7681
  }
7673
7682
  function _r(e) {
7674
- let n = ki(e);
7683
+ let n = _i(e);
7675
7684
  return n.map(
7676
7685
  (t, r) => r === n.length - 1 ? t.pathname : t.pathnameBase
7677
7686
  );
@@ -7701,11 +7710,11 @@ function Er(e, n, t, r = !1) {
7701
7710
  }
7702
7711
  l = g >= 0 ? n[g] : "/";
7703
7712
  }
7704
- let c = Ri(o, l), u = i && i !== "/" && i.endsWith("/"), d = (a || i === ".") && t.endsWith("/");
7713
+ let c = ki(o, l), u = i && i !== "/" && i.endsWith("/"), d = (a || i === ".") && t.endsWith("/");
7705
7714
  return !c.pathname.endsWith("/") && (u || d) && (c.pathname += "/"), c;
7706
7715
  }
7707
- var ke = (e) => e.join("/").replace(/\/\/+/g, "/"), $i = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), _i = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ei = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
7708
- function Pi(e) {
7716
+ var ke = (e) => e.join("/").replace(/\/\/+/g, "/"), Ei = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Pi = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Mi = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
7717
+ function Li(e) {
7709
7718
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
7710
7719
  }
7711
7720
  var Pr = [
@@ -7717,11 +7726,11 @@ var Pr = [
7717
7726
  new Set(
7718
7727
  Pr
7719
7728
  );
7720
- var Mi = [
7729
+ var Fi = [
7721
7730
  "GET",
7722
7731
  ...Pr
7723
7732
  ];
7724
- new Set(Mi);
7733
+ new Set(Fi);
7725
7734
  var Ie = j.createContext(null);
7726
7735
  Ie.displayName = "DataRouter";
7727
7736
  var ht = j.createContext(null);
@@ -7731,12 +7740,12 @@ var Mr = j.createContext({
7731
7740
  isTransitioning: !1
7732
7741
  });
7733
7742
  Mr.displayName = "ViewTransition";
7734
- var Li = j.createContext(
7743
+ var Ai = j.createContext(
7735
7744
  /* @__PURE__ */ new Map()
7736
7745
  );
7737
- Li.displayName = "Fetchers";
7738
- var Fi = j.createContext(null);
7739
- Fi.displayName = "Await";
7746
+ Ai.displayName = "Fetchers";
7747
+ var Di = j.createContext(null);
7748
+ Di.displayName = "Await";
7740
7749
  var _e = j.createContext(
7741
7750
  null
7742
7751
  );
@@ -7753,7 +7762,7 @@ var Ee = j.createContext({
7753
7762
  Ee.displayName = "Route";
7754
7763
  var dn = j.createContext(null);
7755
7764
  dn.displayName = "RouteError";
7756
- function Ai(e, { relative: n } = {}) {
7765
+ function Ni(e, { relative: n } = {}) {
7757
7766
  ve(
7758
7767
  xt(),
7759
7768
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -7778,11 +7787,11 @@ var Lr = "You should call navigate() in a React.useEffect(), not when your compo
7778
7787
  function Fr(e) {
7779
7788
  j.useContext(_e).static || j.useLayoutEffect(e);
7780
7789
  }
7781
- function Di() {
7790
+ function zi() {
7782
7791
  let { isDataRoute: e } = j.useContext(Ee);
7783
- return e ? Yi() : Ni();
7792
+ return e ? Ki() : Ti();
7784
7793
  }
7785
- function Ni() {
7794
+ function Ti() {
7786
7795
  ve(
7787
7796
  xt(),
7788
7797
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -7833,7 +7842,7 @@ function Ke(e, { relative: n } = {}) {
7833
7842
  [e, o, r, n]
7834
7843
  );
7835
7844
  }
7836
- function zi(e, n, t, r) {
7845
+ function Oi(e, n, t, r) {
7837
7846
  ve(
7838
7847
  xt(),
7839
7848
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -7865,7 +7874,7 @@ Please change the parent <Route path="${x}"> to <Route path="${x === "/" ? "*" :
7865
7874
  ), $e(
7866
7875
  m == null || m[m.length - 1].route.element !== void 0 || m[m.length - 1].route.Component !== void 0 || m[m.length - 1].route.lazy !== void 0,
7867
7876
  `Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
7868
- ), Hi(
7877
+ ), qi(
7869
7878
  m && m.map(
7870
7879
  (x) => Object.assign({}, x, {
7871
7880
  params: Object.assign({}, l, x.params),
@@ -7886,14 +7895,14 @@ Please change the parent <Route path="${x}"> to <Route path="${x === "/" ? "*" :
7886
7895
  r
7887
7896
  );
7888
7897
  }
7889
- function Ti() {
7890
- let e = Ui(), n = Pi(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), t = e instanceof Error ? e.stack : null, r = "rgba(200,200,200, 0.5)", o = { padding: "0.5rem", backgroundColor: r }, a = { padding: "2px 4px", backgroundColor: r }, i = null;
7898
+ function Ii() {
7899
+ let e = Zi(), n = Li(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), t = e instanceof Error ? e.stack : null, r = "rgba(200,200,200, 0.5)", o = { padding: "0.5rem", backgroundColor: r }, a = { padding: "2px 4px", backgroundColor: r }, i = null;
7891
7900
  return console.error(
7892
7901
  "Error handled by React Router default ErrorBoundary:",
7893
7902
  e
7894
7903
  ), i = /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ j.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ j.createElement("code", { style: a }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ j.createElement("code", { style: a }, "errorElement"), " prop on your route.")), /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ j.createElement("h3", { style: { fontStyle: "italic" } }, n), t ? /* @__PURE__ */ j.createElement("pre", { style: o }, t) : null, i);
7895
7904
  }
7896
- var Oi = /* @__PURE__ */ j.createElement(Ti, null), Ii = class extends j.Component {
7905
+ var Vi = /* @__PURE__ */ j.createElement(Ii, null), Hi = class extends j.Component {
7897
7906
  constructor(e) {
7898
7907
  super(e), this.state = {
7899
7908
  location: e.location,
@@ -7932,11 +7941,11 @@ var Oi = /* @__PURE__ */ j.createElement(Ti, null), Ii = class extends j.Compone
7932
7941
  )) : this.props.children;
7933
7942
  }
7934
7943
  };
7935
- function Vi({ routeContext: e, match: n, children: t }) {
7944
+ function Bi({ routeContext: e, match: n, children: t }) {
7936
7945
  let r = j.useContext(Ie);
7937
7946
  return r && r.static && r.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ j.createElement(Ee.Provider, { value: e }, t);
7938
7947
  }
7939
- function Hi(e, n = [], t = null, r = null) {
7948
+ function qi(e, n = [], t = null, r = null) {
7940
7949
  if (e == null) {
7941
7950
  if (!t)
7942
7951
  return null;
@@ -7977,7 +7986,7 @@ function Hi(e, n = [], t = null, r = null) {
7977
7986
  return o.reduceRight(
7978
7987
  (c, u, d) => {
7979
7988
  let g, f = !1, p = null, v = null;
7980
- t && (g = a && u.route.id ? a[u.route.id] : void 0, p = u.route.errorElement || Oi, i && (l < 0 && d === 0 ? (Ar(
7989
+ t && (g = a && u.route.id ? a[u.route.id] : void 0, p = u.route.errorElement || Vi, i && (l < 0 && d === 0 ? (Ar(
7981
7990
  "route-fallback",
7982
7991
  !1,
7983
7992
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -7985,7 +7994,7 @@ function Hi(e, n = [], t = null, r = null) {
7985
7994
  let m = n.concat(o.slice(0, d + 1)), w = () => {
7986
7995
  let x;
7987
7996
  return g ? x = p : f ? x = v : u.route.Component ? x = /* @__PURE__ */ j.createElement(u.route.Component, null) : u.route.element ? x = u.route.element : x = c, /* @__PURE__ */ j.createElement(
7988
- Vi,
7997
+ Bi,
7989
7998
  {
7990
7999
  match: u,
7991
8000
  routeContext: {
@@ -7998,7 +8007,7 @@ function Hi(e, n = [], t = null, r = null) {
7998
8007
  );
7999
8008
  };
8000
8009
  return t && (u.route.ErrorBoundary || u.route.errorElement || d === 0) ? /* @__PURE__ */ j.createElement(
8001
- Ii,
8010
+ Hi,
8002
8011
  {
8003
8012
  location: t.location,
8004
8013
  revalidation: t.revalidation,
@@ -8015,34 +8024,34 @@ function Hi(e, n = [], t = null, r = null) {
8015
8024
  function pn(e) {
8016
8025
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
8017
8026
  }
8018
- function Bi(e) {
8027
+ function Gi(e) {
8019
8028
  let n = j.useContext(Ie);
8020
8029
  return ve(n, pn(e)), n;
8021
8030
  }
8022
- function qi(e) {
8031
+ function Wi(e) {
8023
8032
  let n = j.useContext(ht);
8024
8033
  return ve(n, pn(e)), n;
8025
8034
  }
8026
- function Gi(e) {
8035
+ function Ui(e) {
8027
8036
  let n = j.useContext(Ee);
8028
8037
  return ve(n, pn(e)), n;
8029
8038
  }
8030
8039
  function fn(e) {
8031
- let n = Gi(e), t = n.matches[n.matches.length - 1];
8040
+ let n = Ui(e), t = n.matches[n.matches.length - 1];
8032
8041
  return ve(
8033
8042
  t.route.id,
8034
8043
  `${e} can only be used on routes that contain a unique "id"`
8035
8044
  ), t.route.id;
8036
8045
  }
8037
- function Wi() {
8046
+ function Yi() {
8038
8047
  return fn(
8039
8048
  "useRouteId"
8040
8049
  /* UseRouteId */
8041
8050
  );
8042
8051
  }
8043
- function Ui() {
8052
+ function Zi() {
8044
8053
  var r;
8045
- let e = j.useContext(dn), n = qi(
8054
+ let e = j.useContext(dn), n = Wi(
8046
8055
  "useRouteError"
8047
8056
  /* UseRouteError */
8048
8057
  ), t = fn(
@@ -8051,8 +8060,8 @@ function Ui() {
8051
8060
  );
8052
8061
  return e !== void 0 ? e : (r = n.errors) == null ? void 0 : r[t];
8053
8062
  }
8054
- function Yi() {
8055
- let { router: e } = Bi(
8063
+ function Ki() {
8064
+ let { router: e } = Gi(
8056
8065
  "useNavigate"
8057
8066
  /* UseNavigateStable */
8058
8067
  ), n = fn(
@@ -8072,37 +8081,37 @@ var Xn = {};
8072
8081
  function Ar(e, n, t) {
8073
8082
  !n && !Xn[e] && (Xn[e] = !0, $e(!1, t));
8074
8083
  }
8075
- j.memo(Zi);
8076
- function Zi({
8084
+ j.memo(Xi);
8085
+ function Xi({
8077
8086
  routes: e,
8078
8087
  future: n,
8079
8088
  state: t
8080
8089
  }) {
8081
- return zi(e, void 0, t, n);
8090
+ return Oi(e, void 0, t, n);
8082
8091
  }
8083
8092
  var ut = "get", dt = "application/x-www-form-urlencoded";
8084
8093
  function wt(e) {
8085
8094
  return e != null && typeof e.tagName == "string";
8086
8095
  }
8087
- function Ki(e) {
8096
+ function Ji(e) {
8088
8097
  return wt(e) && e.tagName.toLowerCase() === "button";
8089
8098
  }
8090
- function Xi(e) {
8099
+ function Qi(e) {
8091
8100
  return wt(e) && e.tagName.toLowerCase() === "form";
8092
8101
  }
8093
- function Ji(e) {
8102
+ function el(e) {
8094
8103
  return wt(e) && e.tagName.toLowerCase() === "input";
8095
8104
  }
8096
- function Qi(e) {
8105
+ function tl(e) {
8097
8106
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
8098
8107
  }
8099
- function el(e, n) {
8108
+ function nl(e, n) {
8100
8109
  return e.button === 0 && // Ignore everything but left clicks
8101
8110
  (!n || n === "_self") && // Let browser handle "target=_blank" etc.
8102
- !Qi(e);
8111
+ !tl(e);
8103
8112
  }
8104
8113
  var ct = null;
8105
- function tl() {
8114
+ function rl() {
8106
8115
  if (ct === null)
8107
8116
  try {
8108
8117
  new FormData(
@@ -8115,30 +8124,30 @@ function tl() {
8115
8124
  }
8116
8125
  return ct;
8117
8126
  }
8118
- var nl = /* @__PURE__ */ new Set([
8127
+ var ol = /* @__PURE__ */ new Set([
8119
8128
  "application/x-www-form-urlencoded",
8120
8129
  "multipart/form-data",
8121
8130
  "text/plain"
8122
8131
  ]);
8123
8132
  function Bt(e) {
8124
- return e != null && !nl.has(e) ? ($e(
8133
+ return e != null && !ol.has(e) ? ($e(
8125
8134
  !1,
8126
8135
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${dt}"`
8127
8136
  ), null) : e;
8128
8137
  }
8129
- function rl(e, n) {
8138
+ function al(e, n) {
8130
8139
  let t, r, o, a, i;
8131
- if (Xi(e)) {
8140
+ if (Qi(e)) {
8132
8141
  let l = e.getAttribute("action");
8133
8142
  r = l ? Fe(l, n) : null, t = e.getAttribute("method") || ut, o = Bt(e.getAttribute("enctype")) || dt, a = new FormData(e);
8134
- } else if (Ki(e) || Ji(e) && (e.type === "submit" || e.type === "image")) {
8143
+ } else if (Ji(e) || el(e) && (e.type === "submit" || e.type === "image")) {
8135
8144
  let l = e.form;
8136
8145
  if (l == null)
8137
8146
  throw new Error(
8138
8147
  'Cannot submit a <button> or <input type="submit"> without a <form>'
8139
8148
  );
8140
8149
  let c = e.getAttribute("formaction") || l.getAttribute("action");
8141
- if (r = c ? Fe(c, n) : null, t = e.getAttribute("formmethod") || l.getAttribute("method") || ut, o = Bt(e.getAttribute("formenctype")) || Bt(l.getAttribute("enctype")) || dt, a = new FormData(l, e), !tl()) {
8150
+ if (r = c ? Fe(c, n) : null, t = e.getAttribute("formmethod") || l.getAttribute("method") || ut, o = Bt(e.getAttribute("formenctype")) || Bt(l.getAttribute("enctype")) || dt, a = new FormData(l, e), !rl()) {
8142
8151
  let { name: u, type: d, value: g } = e;
8143
8152
  if (d === "image") {
8144
8153
  let f = u ? `${u}.` : "";
@@ -8159,7 +8168,7 @@ function mn(e, n) {
8159
8168
  if (e === !1 || e === null || typeof e > "u")
8160
8169
  throw new Error(n);
8161
8170
  }
8162
- function ol(e, n, t) {
8171
+ function il(e, n, t) {
8163
8172
  let r = typeof e == "string" ? new URL(
8164
8173
  e,
8165
8174
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
@@ -8168,7 +8177,7 @@ function ol(e, n, t) {
8168
8177
  ) : e;
8169
8178
  return r.pathname === "/" ? r.pathname = `_root.${t}` : n && Fe(r.pathname, n) === "/" ? r.pathname = `${n.replace(/\/$/, "")}/_root.${t}` : r.pathname = `${r.pathname.replace(/\/$/, "")}.${t}`, r;
8170
8179
  }
8171
- async function al(e, n) {
8180
+ async function ll(e, n) {
8172
8181
  if (e.id in n)
8173
8182
  return n[e.id];
8174
8183
  try {
@@ -8185,22 +8194,22 @@ async function al(e, n) {
8185
8194
  });
8186
8195
  }
8187
8196
  }
8188
- function il(e) {
8197
+ function sl(e) {
8189
8198
  return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
8190
8199
  }
8191
- async function ll(e, n, t) {
8200
+ async function cl(e, n, t) {
8192
8201
  let r = await Promise.all(
8193
8202
  e.map(async (o) => {
8194
8203
  let a = n.routes[o.route.id];
8195
8204
  if (a) {
8196
- let i = await al(a, t);
8205
+ let i = await ll(a, t);
8197
8206
  return i.links ? i.links() : [];
8198
8207
  }
8199
8208
  return [];
8200
8209
  })
8201
8210
  );
8202
- return dl(
8203
- r.flat(1).filter(il).filter((o) => o.rel === "stylesheet" || o.rel === "preload").map(
8211
+ return fl(
8212
+ r.flat(1).filter(sl).filter((o) => o.rel === "stylesheet" || o.rel === "preload").map(
8204
8213
  (o) => o.rel === "stylesheet" ? { ...o, rel: "prefetch", as: "style" } : { ...o, rel: "prefetch" }
8205
8214
  )
8206
8215
  );
@@ -8241,8 +8250,8 @@ function Jn(e, n, t, r, o, a) {
8241
8250
  return !0;
8242
8251
  }) : [];
8243
8252
  }
8244
- function sl(e, n, { includeHydrateFallback: t } = {}) {
8245
- return cl(
8253
+ function ul(e, n, { includeHydrateFallback: t } = {}) {
8254
+ return dl(
8246
8255
  e.map((r) => {
8247
8256
  let o = n.routes[r.route.id];
8248
8257
  if (!o) return [];
@@ -8251,19 +8260,19 @@ function sl(e, n, { includeHydrateFallback: t } = {}) {
8251
8260
  }).flat(1)
8252
8261
  );
8253
8262
  }
8254
- function cl(e) {
8263
+ function dl(e) {
8255
8264
  return [...new Set(e)];
8256
8265
  }
8257
- function ul(e) {
8266
+ function pl(e) {
8258
8267
  let n = {}, t = Object.keys(e).sort();
8259
8268
  for (let r of t)
8260
8269
  n[r] = e[r];
8261
8270
  return n;
8262
8271
  }
8263
- function dl(e, n) {
8272
+ function fl(e, n) {
8264
8273
  let t = /* @__PURE__ */ new Set();
8265
8274
  return new Set(n), e.reduce((r, o) => {
8266
- let a = JSON.stringify(ul(o));
8275
+ let a = JSON.stringify(pl(o));
8267
8276
  return t.has(a) || (t.add(a), r.push({ key: a, link: o })), r;
8268
8277
  }, []);
8269
8278
  }
@@ -8274,7 +8283,7 @@ function Dr() {
8274
8283
  "You must render this element inside a <DataRouterContext.Provider> element"
8275
8284
  ), e;
8276
8285
  }
8277
- function pl() {
8286
+ function ml() {
8278
8287
  let e = j.useContext(ht);
8279
8288
  return mn(
8280
8289
  e,
@@ -8290,7 +8299,7 @@ function Nr() {
8290
8299
  "You must render this element inside a <HydratedRouter> element"
8291
8300
  ), e;
8292
8301
  }
8293
- function fl(e, n) {
8302
+ function gl(e, n) {
8294
8303
  let t = j.useContext(gn), [r, o] = j.useState(!1), [a, i] = j.useState(!1), { onFocus: l, onBlur: c, onMouseEnter: u, onMouseLeave: d, onTouchStart: g } = n, f = j.useRef(null);
8295
8304
  j.useEffect(() => {
8296
8305
  if (e === "render" && i(!0), e === "viewport") {
@@ -8335,18 +8344,18 @@ function Ge(e, n) {
8335
8344
  e && e(t), t.defaultPrevented || n(t);
8336
8345
  };
8337
8346
  }
8338
- function ml({ page: e, ...n }) {
8347
+ function vl({ page: e, ...n }) {
8339
8348
  let { router: t } = Dr(), r = j.useMemo(
8340
8349
  () => jr(t.routes, e, t.basename),
8341
8350
  [t.routes, e, t.basename]
8342
8351
  );
8343
- return r ? /* @__PURE__ */ j.createElement(vl, { page: e, matches: r, ...n }) : null;
8352
+ return r ? /* @__PURE__ */ j.createElement(xl, { page: e, matches: r, ...n }) : null;
8344
8353
  }
8345
- function gl(e) {
8354
+ function hl(e) {
8346
8355
  let { manifest: n, routeModules: t } = Nr(), [r, o] = j.useState([]);
8347
8356
  return j.useEffect(() => {
8348
8357
  let a = !1;
8349
- return ll(e, n, t).then(
8358
+ return cl(e, n, t).then(
8350
8359
  (i) => {
8351
8360
  a || o(i);
8352
8361
  }
@@ -8355,12 +8364,12 @@ function gl(e) {
8355
8364
  };
8356
8365
  }, [e, n, t]), r;
8357
8366
  }
8358
- function vl({
8367
+ function xl({
8359
8368
  page: e,
8360
8369
  matches: n,
8361
8370
  ...t
8362
8371
  }) {
8363
- let r = Ne(), { manifest: o, routeModules: a } = Nr(), { basename: i } = Dr(), { loaderData: l, matches: c } = pl(), u = j.useMemo(
8372
+ let r = Ne(), { manifest: o, routeModules: a } = Nr(), { basename: i } = Dr(), { loaderData: l, matches: c } = ml(), u = j.useMemo(
8364
8373
  () => Jn(
8365
8374
  e,
8366
8375
  n,
@@ -8390,7 +8399,7 @@ function vl({
8390
8399
  !k || !k.hasLoader || (!u.some(($) => $.route.id === x.route.id) && x.route.id in l && ((b = a[x.route.id]) != null && b.shouldRevalidate) || k.hasClientLoader ? m = !0 : v.add(x.route.id));
8391
8400
  }), v.size === 0)
8392
8401
  return [];
8393
- let w = ol(e, i, "data");
8402
+ let w = il(e, i, "data");
8394
8403
  return m && v.size > 0 && w.searchParams.set(
8395
8404
  "_routes",
8396
8405
  n.filter((x) => v.has(x.route.id)).map((x) => x.route.id).join(",")
@@ -8405,16 +8414,16 @@ function vl({
8405
8414
  e,
8406
8415
  a
8407
8416
  ]), f = j.useMemo(
8408
- () => sl(d, o),
8417
+ () => ul(d, o),
8409
8418
  [d, o]
8410
- ), p = gl(d);
8419
+ ), p = hl(d);
8411
8420
  return /* @__PURE__ */ j.createElement(j.Fragment, null, g.map((v) => /* @__PURE__ */ j.createElement("link", { key: v, rel: "prefetch", as: "fetch", href: v, ...t })), f.map((v) => /* @__PURE__ */ j.createElement("link", { key: v, rel: "modulepreload", href: v, ...t })), p.map(({ key: v, link: m }) => (
8412
8421
  // these don't spread `linkProps` because they are full link descriptors
8413
8422
  // already with their own props
8414
8423
  /* @__PURE__ */ j.createElement("link", { key: v, ...m })
8415
8424
  )));
8416
8425
  }
8417
- function hl(...e) {
8426
+ function wl(...e) {
8418
8427
  return (n) => {
8419
8428
  e.forEach((t) => {
8420
8429
  typeof t == "function" ? t(n) : t != null && (t.current = n);
@@ -8453,10 +8462,10 @@ var Tr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, vn = j.forwardRef(
8453
8462
  `<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
8454
8463
  );
8455
8464
  }
8456
- let k = Ai(u, { relative: o }), [b, $, y] = fl(
8465
+ let k = Ni(u, { relative: o }), [b, $, y] = gl(
8457
8466
  r,
8458
8467
  f
8459
- ), O = bl(u, {
8468
+ ), O = Cl(u, {
8460
8469
  replace: i,
8461
8470
  state: l,
8462
8471
  target: c,
@@ -8476,13 +8485,13 @@ var Tr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, vn = j.forwardRef(
8476
8485
  ...y,
8477
8486
  href: w || k,
8478
8487
  onClick: x || a ? n : N,
8479
- ref: hl(p, $),
8488
+ ref: wl(p, $),
8480
8489
  target: c,
8481
8490
  "data-discover": !m && t === "render" ? "true" : void 0
8482
8491
  }
8483
8492
  )
8484
8493
  );
8485
- return b && !m ? /* @__PURE__ */ j.createElement(j.Fragment, null, V, /* @__PURE__ */ j.createElement(ml, { page: k })) : V;
8494
+ return b && !m ? /* @__PURE__ */ j.createElement(j.Fragment, null, V, /* @__PURE__ */ j.createElement(vl, { page: k })) : V;
8486
8495
  }
8487
8496
  );
8488
8497
  vn.displayName = "Link";
@@ -8500,7 +8509,7 @@ var Or = j.forwardRef(
8500
8509
  }, d) {
8501
8510
  let g = Ke(i, { relative: u.relative }), f = Ne(), p = j.useContext(ht), { navigator: v, basename: m } = j.useContext(_e), w = p != null && // Conditional usage is OK here because the usage of a data router is static
8502
8511
  // eslint-disable-next-line react-hooks/rules-of-hooks
8503
- jl(g) && l === !0, x = v.encodeLocation ? v.encodeLocation(g).pathname : g.pathname, k = f.pathname, b = p && p.navigation && p.navigation.location ? p.navigation.location.pathname : null;
8512
+ $l(g) && l === !0, x = v.encodeLocation ? v.encodeLocation(g).pathname : g.pathname, k = f.pathname, b = p && p.navigation && p.navigation.location ? p.navigation.location.pathname : null;
8504
8513
  t || (k = k.toLowerCase(), b = b ? b.toLowerCase() : null, x = x.toLowerCase()), b && m && (b = Fe(b, m) || b);
8505
8514
  const $ = x !== "/" && x.endsWith("/") ? x.length - 1 : x.length;
8506
8515
  let y = k === x || !o && k.startsWith(x) && k.charAt($) === "/", O = b != null && (b === x || !o && b.startsWith(x) && b.charAt(x.length) === "/"), N = {
@@ -8531,7 +8540,7 @@ var Or = j.forwardRef(
8531
8540
  }
8532
8541
  );
8533
8542
  Or.displayName = "NavLink";
8534
- var xl = j.forwardRef(
8543
+ var bl = j.forwardRef(
8535
8544
  ({
8536
8545
  discover: e = "render",
8537
8546
  fetcherKey: n,
@@ -8547,7 +8556,7 @@ var xl = j.forwardRef(
8547
8556
  viewTransition: g,
8548
8557
  ...f
8549
8558
  }, p) => {
8550
- let v = Sl(), m = Rl(l, { relative: u }), w = i.toLowerCase() === "get" ? "get" : "post", x = typeof l == "string" && Tr.test(l), k = (b) => {
8559
+ let v = jl(), m = kl(l, { relative: u }), w = i.toLowerCase() === "get" ? "get" : "post", x = typeof l == "string" && Tr.test(l), k = (b) => {
8551
8560
  if (c && c(b), b.defaultPrevented) return;
8552
8561
  b.preventDefault();
8553
8562
  let $ = b.nativeEvent.submitter, y = ($ == null ? void 0 : $.getAttribute("formmethod")) || i;
@@ -8575,15 +8584,15 @@ var xl = j.forwardRef(
8575
8584
  );
8576
8585
  }
8577
8586
  );
8578
- xl.displayName = "Form";
8579
- function wl(e) {
8587
+ bl.displayName = "Form";
8588
+ function yl(e) {
8580
8589
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
8581
8590
  }
8582
8591
  function Ir(e) {
8583
8592
  let n = j.useContext(Ie);
8584
- return ve(n, wl(e)), n;
8593
+ return ve(n, yl(e)), n;
8585
8594
  }
8586
- function bl(e, {
8595
+ function Cl(e, {
8587
8596
  target: n,
8588
8597
  replace: t,
8589
8598
  state: r,
@@ -8591,10 +8600,10 @@ function bl(e, {
8591
8600
  relative: a,
8592
8601
  viewTransition: i
8593
8602
  } = {}) {
8594
- let l = Di(), c = Ne(), u = Ke(e, { relative: a });
8603
+ let l = zi(), c = Ne(), u = Ke(e, { relative: a });
8595
8604
  return j.useCallback(
8596
8605
  (d) => {
8597
- if (el(d, n)) {
8606
+ if (nl(d, n)) {
8598
8607
  d.preventDefault();
8599
8608
  let g = t !== void 0 ? t : nn(c) === nn(u);
8600
8609
  l(e, {
@@ -8620,20 +8629,20 @@ function bl(e, {
8620
8629
  ]
8621
8630
  );
8622
8631
  }
8623
- var yl = 0, Cl = () => `__${String(++yl)}__`;
8624
- function Sl() {
8632
+ var Sl = 0, Rl = () => `__${String(++Sl)}__`;
8633
+ function jl() {
8625
8634
  let { router: e } = Ir(
8626
8635
  "useSubmit"
8627
8636
  /* UseSubmit */
8628
- ), { basename: n } = j.useContext(_e), t = Wi();
8637
+ ), { basename: n } = j.useContext(_e), t = Yi();
8629
8638
  return j.useCallback(
8630
8639
  async (r, o = {}) => {
8631
- let { action: a, method: i, encType: l, formData: c, body: u } = rl(
8640
+ let { action: a, method: i, encType: l, formData: c, body: u } = al(
8632
8641
  r,
8633
8642
  n
8634
8643
  );
8635
8644
  if (o.navigate === !1) {
8636
- let d = o.fetcherKey || Cl();
8645
+ let d = o.fetcherKey || Rl();
8637
8646
  await e.fetch(d, t, o.action || a, {
8638
8647
  preventScrollReset: o.preventScrollReset,
8639
8648
  formData: c,
@@ -8659,7 +8668,7 @@ function Sl() {
8659
8668
  [e, n, t]
8660
8669
  );
8661
8670
  }
8662
- function Rl(e, { relative: n } = {}) {
8671
+ function kl(e, { relative: n } = {}) {
8663
8672
  let { basename: t } = j.useContext(_e), r = j.useContext(Ee);
8664
8673
  ve(r, "useFormAction must be used inside a RouteContext");
8665
8674
  let [o] = r.matches.slice(-1), a = { ...Ke(e || ".", { relative: n }) }, i = Ne();
@@ -8674,7 +8683,7 @@ function Rl(e, { relative: n } = {}) {
8674
8683
  }
8675
8684
  return (!e || e === ".") && o.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), t !== "/" && (a.pathname = a.pathname === "/" ? t : ke([t, a.pathname])), nn(a);
8676
8685
  }
8677
- function jl(e, { relative: n } = {}) {
8686
+ function $l(e, { relative: n } = {}) {
8678
8687
  let t = j.useContext(Mr);
8679
8688
  ve(
8680
8689
  t != null,
@@ -8689,7 +8698,7 @@ function jl(e, { relative: n } = {}) {
8689
8698
  let a = Fe(t.currentLocation.pathname, r) || t.currentLocation.pathname, i = Fe(t.nextLocation.pathname, r) || t.nextLocation.pathname;
8690
8699
  return gt(o.pathname, i) != null || gt(o.pathname, a) != null;
8691
8700
  }
8692
- const ns = ({
8701
+ const os = ({
8693
8702
  variant: e = "fixed",
8694
8703
  activeTab: n,
8695
8704
  navItems: t,
@@ -8715,7 +8724,7 @@ const ns = ({
8715
8724
  c.label
8716
8725
  );
8717
8726
  }) });
8718
- }, rs = ({ items: e, separator: n = "/", className: t = "" }) => /* @__PURE__ */ s.jsx("nav", { className: `text-sm text-color-gray-600 ${t}`, "aria-label": "Breadcrumb", children: /* @__PURE__ */ s.jsx("ol", { className: "flex items-center space-x-1", children: e.map((r, o) => /* @__PURE__ */ s.jsxs("li", { className: "flex items-center", children: [
8727
+ }, as = ({ items: e, separator: n = "/", className: t = "" }) => /* @__PURE__ */ s.jsx("nav", { className: `text-sm text-color-gray-600 ${t}`, "aria-label": "Breadcrumb", children: /* @__PURE__ */ s.jsx("ol", { className: "flex items-center space-x-1", children: e.map((r, o) => /* @__PURE__ */ s.jsxs("li", { className: "flex items-center", children: [
8719
8728
  r.href ? /* @__PURE__ */ s.jsx(
8720
8729
  "a",
8721
8730
  {
@@ -8725,7 +8734,7 @@ const ns = ({
8725
8734
  }
8726
8735
  ) : /* @__PURE__ */ s.jsx("span", { className: "text-color-gray-500 font-medium", children: r.label }),
8727
8736
  o < e.length - 1 && /* @__PURE__ */ s.jsx("span", { className: "mx-2 text-color-gray-400", children: n })
8728
- ] }, o)) }) }), Qn = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], kl = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], os = ({
8737
+ ] }, o)) }) }), Qn = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], _l = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], is = ({
8729
8738
  mode: e = "single",
8730
8739
  type: n = "inline",
8731
8740
  showTime: t = !1,
@@ -8894,7 +8903,7 @@ const ns = ({
8894
8903
  )
8895
8904
  ] }),
8896
8905
  /* @__PURE__ */ s.jsxs("div", { className: "grid grid-columns-7 gap-1 text-center text-sm mb-2", children: [
8897
- kl.map((S) => /* @__PURE__ */ s.jsx("div", { className: "font-semibold", children: S }, S)),
8906
+ _l.map((S) => /* @__PURE__ */ s.jsx("div", { className: "font-semibold", children: S }, S)),
8898
8907
  z().map((S, R) => /* @__PURE__ */ s.jsx(
8899
8908
  "div",
8900
8909
  {
@@ -8948,9 +8957,9 @@ const ns = ({
8948
8957
  ]
8949
8958
  }
8950
8959
  ),
8951
- n === "inline" ? /* @__PURE__ */ s.jsx(s.Fragment, { children: g && Ze(q, document.body) }) : /* @__PURE__ */ s.jsx(ai, { open: g, title: r ? "Select Time" : i, onClose: X, children: /* @__PURE__ */ s.jsx("div", { className: "w-72", children: q }) })
8960
+ n === "inline" ? /* @__PURE__ */ s.jsx(s.Fragment, { children: g && Ze(q, document.body) }) : /* @__PURE__ */ s.jsx(li, { open: g, title: r ? "Select Time" : i, onClose: X, children: /* @__PURE__ */ s.jsx("div", { className: "w-72", children: q }) })
8952
8961
  ] });
8953
- }, as = ({
8962
+ }, ls = ({
8954
8963
  tabs: e,
8955
8964
  activeKey: n,
8956
8965
  onChange: t,
@@ -8997,10 +9006,10 @@ const ns = ({
8997
9006
  ]
8998
9007
  }
8999
9008
  );
9000
- }, is = ({
9009
+ }, ss = ({
9001
9010
  stats: e = [],
9002
9011
  className: n = ""
9003
- }) => /* @__PURE__ */ s.jsx(ni, { className: `w-full ${n}`, children: /* @__PURE__ */ s.jsx("div", { className: "grid grid-columns-1 sm:grid-columns-1 md:grid-columns-2 lg:grid-columns-4 gap-4 justify-items-center", children: e.map((t, r) => /* @__PURE__ */ s.jsxs(
9012
+ }) => /* @__PURE__ */ s.jsx(oi, { className: `w-full ${n}`, children: /* @__PURE__ */ s.jsx("div", { className: "grid grid-columns-1 sm:grid-columns-1 md:grid-columns-2 lg:grid-columns-4 gap-4 justify-items-center", children: e.map((t, r) => /* @__PURE__ */ s.jsxs(
9004
9013
  "div",
9005
9014
  {
9006
9015
  className: `flex items-center justify-center gap-4 lg:not-last:border-r md:not-last:border-r md:nth-2:border-r-0 md:not-last:border-b-0 not-last:border-b border-color-gray-200
@@ -9021,7 +9030,7 @@ const ns = ({
9021
9030
  },
9022
9031
  r
9023
9032
  )) }) });
9024
- function ls({
9033
+ function cs({
9025
9034
  items: e = [],
9026
9035
  logoJSX: n,
9027
9036
  position: t,
@@ -9035,7 +9044,7 @@ function ls({
9035
9044
  c(d), d.onClick && d.onClick(), i && i(d);
9036
9045
  };
9037
9046
  return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(
9038
- li,
9047
+ ci,
9039
9048
  {
9040
9049
  open: o,
9041
9050
  onClose: a,
@@ -9083,51 +9092,51 @@ function ls({
9083
9092
  ) });
9084
9093
  }
9085
9094
  export {
9086
- Ql as Accordion,
9087
- Jl as ActionMenu,
9088
- es as Alert,
9089
- ca as Avatar,
9090
- ts as Badge,
9091
- ns as BottomNavigation,
9092
- rs as Breadcrumbs,
9095
+ ts as Accordion,
9096
+ es as ActionMenu,
9097
+ ns as Alert,
9098
+ da as Avatar,
9099
+ rs as Badge,
9100
+ os as BottomNavigation,
9101
+ as as Breadcrumbs,
9093
9102
  Gt as Button,
9094
9103
  xe as COLOR_MAP,
9095
- ni as Card,
9096
- Ml as CardWrapper,
9097
- Gl as Carousel,
9098
- Ll as Checkbox,
9099
- is as DashboardStatBoxes,
9100
- os as DatePicker,
9101
- ai as Dialog,
9102
- Yl as Divider,
9103
- li as Drawer,
9104
- Fl as Dropdown,
9105
- Al as DropzoneUploader,
9106
- Wl as EmptyState,
9104
+ oi as Card,
9105
+ Fl as CardWrapper,
9106
+ Ul as Carousel,
9107
+ Al as Checkbox,
9108
+ ss as DashboardStatBoxes,
9109
+ is as DatePicker,
9110
+ li as Dialog,
9111
+ Kl as Divider,
9112
+ ci as Drawer,
9113
+ Dl as Dropdown,
9114
+ Nl as DropzoneUploader,
9115
+ Yl as EmptyState,
9107
9116
  je as IconButton,
9108
9117
  na as Menu,
9109
9118
  ia as OtpInput,
9110
- ei as Pagination,
9111
- la as PasswordInput,
9112
- Dl as Pill,
9113
- Nl as ProfileImageShowcase,
9114
- Bl as Progress,
9119
+ ni as Pagination,
9120
+ ca as PasswordInput,
9121
+ zl as Pill,
9122
+ Tl as ProfileImageShowcase,
9123
+ Gl as Progress,
9115
9124
  qt as RANGE_COLOR_MAP,
9116
- Zl as RadioGroup,
9117
- ql as Rating,
9118
- Kl as Select,
9119
- ls as Sidebar,
9120
- Ol as Skeleton,
9121
- Vl as Slider,
9122
- Hl as Snackbar,
9123
- zl as Stepper,
9124
- Tl as Table,
9125
- as as Tabs,
9126
- Il as TextArea,
9125
+ Xl as RadioGroup,
9126
+ Wl as Rating,
9127
+ Jl as Select,
9128
+ cs as Sidebar,
9129
+ Vl as Skeleton,
9130
+ Bl as Slider,
9131
+ ql as Snackbar,
9132
+ Ol as Stepper,
9133
+ Il as Table,
9134
+ ls as Tabs,
9135
+ Hl as TextArea,
9127
9136
  gr as TextInput,
9128
- Ul as ToggleSwitch,
9129
- Xl as Tooltip,
9130
- Qa as Typography,
9131
- El as extendColorMap,
9132
- Pl as extendRangeColorMap
9137
+ Zl as ToggleSwitch,
9138
+ Ql as Tooltip,
9139
+ ti as Typography,
9140
+ Ml as extendColorMap,
9141
+ Ll as extendRangeColorMap
9133
9142
  };