@ieee-ui/ui 0.0.19 → 0.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.
@@ -51,7 +51,7 @@ function ar() {
51
51
  return l.$$typeof === re ? null : l.displayName || l.name || null;
52
52
  if (typeof l == "string") return l;
53
53
  switch (l) {
54
- case C:
54
+ case N:
55
55
  return "Fragment";
56
56
  case U:
57
57
  return "Profiler";
@@ -68,7 +68,7 @@ function ar() {
68
68
  switch (typeof l.tag == "number" && console.error(
69
69
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
70
70
  ), l.$$typeof) {
71
- case v:
71
+ case C:
72
72
  return "Portal";
73
73
  case J:
74
74
  return l.displayName || "Context";
@@ -77,7 +77,7 @@ function ar() {
77
77
  case E:
78
78
  var c = l.render;
79
79
  return l = l.displayName, l || (l = c.displayName || c.name || "", l = l !== "" ? "ForwardRef(" + l + ")" : "ForwardRef"), l;
80
- case h:
80
+ case x:
81
81
  return c = l.displayName || null, c !== null ? c : e(l.type) || "Memo";
82
82
  case H:
83
83
  c = l._payload, l = l._init;
@@ -109,7 +109,7 @@ function ar() {
109
109
  }
110
110
  }
111
111
  function n(l) {
112
- if (l === C) return "<>";
112
+ if (l === N) return "<>";
113
113
  if (typeof l == "object" && l !== null && l.$$typeof === H)
114
114
  return "<...>";
115
115
  try {
@@ -233,24 +233,24 @@ React keys must be passed directly to JSX without using spread:
233
233
  );
234
234
  }
235
235
  function k(l) {
236
- x(l) ? l._store && (l._store.validated = 1) : typeof l == "object" && l !== null && l.$$typeof === H && (l._payload.status === "fulfilled" ? x(l._payload.value) && l._payload.value._store && (l._payload.value._store.validated = 1) : l._store && (l._store.validated = 1));
236
+ h(l) ? l._store && (l._store.validated = 1) : typeof l == "object" && l !== null && l.$$typeof === H && (l._payload.status === "fulfilled" ? h(l._payload.value) && l._payload.value._store && (l._payload.value._store.validated = 1) : l._store && (l._store.validated = 1));
237
237
  }
238
- function x(l) {
238
+ function h(l) {
239
239
  return typeof l == "object" && l !== null && l.$$typeof === G;
240
240
  }
241
- var N = W, G = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), Z = Symbol.for("react.consumer"), J = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), V = Symbol.for("react.activity"), re = Symbol.for("react.client.reference"), X = N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, f = Object.prototype.hasOwnProperty, Q = Array.isArray, R = console.createTask ? console.createTask : function() {
241
+ var v = W, G = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), N = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), Z = Symbol.for("react.consumer"), J = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), V = Symbol.for("react.activity"), re = Symbol.for("react.client.reference"), X = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, f = Object.prototype.hasOwnProperty, Q = Array.isArray, R = console.createTask ? console.createTask : function() {
242
242
  return null;
243
243
  };
244
- N = {
244
+ v = {
245
245
  react_stack_bottom_frame: function(l) {
246
246
  return l();
247
247
  }
248
248
  };
249
- var L, K = {}, b = N.react_stack_bottom_frame.bind(
250
- N,
249
+ var L, K = {}, b = v.react_stack_bottom_frame.bind(
250
+ v,
251
251
  i
252
252
  )(), ne = R(n(i)), ae = {};
253
- me.Fragment = C, me.jsx = function(l, c, m) {
253
+ me.Fragment = N, me.jsx = function(l, c, m) {
254
254
  var D = 1e4 > X.recentlyCreatedOwnerStacks++;
255
255
  return y(
256
256
  l,
@@ -288,17 +288,18 @@ const ke = ({
288
288
  width: a = "auto",
289
289
  htmlType: A = "button",
290
290
  className: d = "",
291
- children: w,
292
- ...y
291
+ darkMode: w,
292
+ children: y,
293
+ ...k
293
294
  }) => {
294
- const k = "inline-flex items-center justify-center gap-2 rounded-full font-semibold transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none", x = {
295
+ const h = w ?? !1, v = "inline-flex items-center justify-center gap-2 rounded-full font-semibold transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none", G = {
295
296
  primary: "bg-primary text-primary-foreground hover:bg-primary/90 focus:ring-primary shadow-md hover:shadow-lg",
296
297
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/90 focus:ring-secondary shadow-md hover:shadow-lg",
297
- tertiary: "bg-accent text-accent-foreground hover:bg-accent/90 focus:ring-accent shadow-sm",
298
+ tertiary: h ? "bg-gray-800 text-gray-100 hover:bg-gray-700 focus:ring-gray-700 shadow-sm" : "bg-accent text-accent-foreground hover:bg-accent/90 focus:ring-accent shadow-sm",
298
299
  danger: "bg-destructive text-destructive-foreground hover:bg-destructive/90 focus:ring-destructive shadow-sm",
299
- ghost: "bg-transparent text-primary hover:bg-primary/10 focus:ring-primary",
300
- basic: "bg-surface text-foreground border border-border hover:bg-muted focus:ring-border"
301
- }, N = {
300
+ ghost: h ? "bg-transparent text-gray-100 hover:bg-white/10 focus:ring-gray-700" : "bg-transparent text-primary hover:bg-primary/10 focus:ring-primary",
301
+ basic: h ? "bg-gray-800 text-gray-100 border border-gray-700 hover:bg-gray-700 focus:ring-gray-700" : "bg-surface text-foreground border border-border hover:bg-muted focus:ring-border"
302
+ }, C = {
302
303
  auto: "px-4 py-2",
303
304
  small: "w-24 px-3 py-1.5 text-sm",
304
305
  medium: "w-32 px-4 py-2 text-base",
@@ -314,12 +315,12 @@ const ke = ({
314
315
  onClick: o,
315
316
  disabled: s || i,
316
317
  className: `
317
- ${k}
318
- ${x[n]}
319
- ${N[a]}
318
+ ${v}
319
+ ${G[n]}
320
+ ${C[a]}
320
321
  ${d}
321
322
  `,
322
- ...y,
323
+ ...k,
323
324
  children: i ? /* @__PURE__ */ r.jsxs(
324
325
  "svg",
325
326
  {
@@ -352,7 +353,7 @@ const ke = ({
352
353
  ) : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
353
354
  t && /* @__PURE__ */ r.jsx("span", { className: "flex-shrink-0", children: t }),
354
355
  e && /* @__PURE__ */ r.jsx("span", { children: e }),
355
- !e && w
356
+ !e && y
356
357
  ] })
357
358
  }
358
359
  );
@@ -552,31 +553,31 @@ const lr = (e, t) => {
552
553
  const i = [];
553
554
  let a = 0, A = 0, d = 0, w;
554
555
  const y = s.length;
555
- for (let v = 0; v < y; v++) {
556
- const C = s[v];
556
+ for (let C = 0; C < y; C++) {
557
+ const N = s[C];
557
558
  if (a === 0 && A === 0) {
558
- if (C === Le) {
559
- i.push(s.slice(d, v)), d = v + 1;
559
+ if (N === Le) {
560
+ i.push(s.slice(d, C)), d = C + 1;
560
561
  continue;
561
562
  }
562
- if (C === "/") {
563
- w = v;
563
+ if (N === "/") {
564
+ w = C;
564
565
  continue;
565
566
  }
566
567
  }
567
- C === "[" ? a++ : C === "]" ? a-- : C === "(" ? A++ : C === ")" && A--;
568
+ N === "[" ? a++ : N === "]" ? a-- : N === "(" ? A++ : N === ")" && A--;
568
569
  }
569
570
  const k = i.length === 0 ? s : s.slice(d);
570
- let x = k, N = !1;
571
- k.endsWith(je) ? (x = k.slice(0, -1), N = !0) : (
571
+ let h = k, v = !1;
572
+ k.endsWith(je) ? (h = k.slice(0, -1), v = !0) : (
572
573
  /**
573
574
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
574
575
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
575
576
  */
576
- k.startsWith(je) && (x = k.slice(1), N = !0)
577
+ k.startsWith(je) && (h = k.slice(1), v = !0)
577
578
  );
578
579
  const G = w && w > d ? w - d : void 0;
579
- return Pe(i, N, x, G);
580
+ return Pe(i, v, h, G);
580
581
  };
581
582
  if (t) {
582
583
  const s = t + Le, i = n;
@@ -619,18 +620,18 @@ const lr = (e, t) => {
619
620
  for (let w = A.length - 1; w >= 0; w -= 1) {
620
621
  const y = A[w], {
621
622
  isExternal: k,
622
- modifiers: x,
623
- hasImportantModifier: N,
623
+ modifiers: h,
624
+ hasImportantModifier: v,
624
625
  baseClassName: G,
625
- maybePostfixModifierPosition: v
626
+ maybePostfixModifierPosition: C
626
627
  } = o(y);
627
628
  if (k) {
628
629
  d = y + (d.length > 0 ? " " + d : d);
629
630
  continue;
630
631
  }
631
- let C = !!v, O = n(C ? G.substring(0, v) : G);
632
+ let N = !!C, O = n(N ? G.substring(0, C) : G);
632
633
  if (!O) {
633
- if (!C) {
634
+ if (!N) {
634
635
  d = y + (d.length > 0 ? " " + d : d);
635
636
  continue;
636
637
  }
@@ -638,13 +639,13 @@ const lr = (e, t) => {
638
639
  d = y + (d.length > 0 ? " " + d : d);
639
640
  continue;
640
641
  }
641
- C = !1;
642
+ N = !1;
642
643
  }
643
- const U = x.length === 0 ? "" : x.length === 1 ? x[0] : i(x).join(":"), Z = N ? U + je : U, J = Z + O;
644
+ const U = h.length === 0 ? "" : h.length === 1 ? h[0] : i(h).join(":"), Z = v ? U + je : U, J = Z + O;
644
645
  if (a.indexOf(J) > -1)
645
646
  continue;
646
647
  a.push(J);
647
- const E = s(O, C);
648
+ const E = s(O, N);
648
649
  for (let S = 0; S < E.length; ++S) {
649
650
  const F = E[S];
650
651
  a.push(Z + F);
@@ -692,7 +693,7 @@ const lr = (e, t) => {
692
693
  const n = Ze.exec(e);
693
694
  return n ? n[1] ? t(n[1]) : o : !1;
694
695
  }, We = (e) => e === "position" || e === "percentage", Ke = (e) => e === "image" || e === "url", Ve = (e) => e === "length" || e === "size" || e === "bg-size", qe = (e) => e === "length", Zr = (e) => e === "number", Xr = (e) => e === "family-name", _e = (e) => e === "shadow", Wr = () => {
695
- const e = T("color"), t = T("font"), o = T("text"), n = T("font-weight"), s = T("tracking"), i = T("leading"), a = T("breakpoint"), A = T("container"), d = T("spacing"), w = T("radius"), y = T("shadow"), k = T("inset-shadow"), x = T("text-shadow"), N = T("drop-shadow"), G = T("blur"), v = T("perspective"), C = T("aspect"), O = T("ease"), U = T("animate"), Z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [
696
+ const e = T("color"), t = T("font"), o = T("text"), n = T("font-weight"), s = T("tracking"), i = T("leading"), a = T("breakpoint"), A = T("container"), d = T("spacing"), w = T("radius"), y = T("shadow"), k = T("inset-shadow"), h = T("text-shadow"), v = T("drop-shadow"), G = T("blur"), C = T("perspective"), N = T("aspect"), O = T("ease"), U = T("animate"), Z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [
696
697
  "center",
697
698
  "top",
698
699
  "bottom",
@@ -710,9 +711,9 @@ const lr = (e, t) => {
710
711
  "bottom-left",
711
712
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
712
713
  "left-bottom"
713
- ], E = () => [...J(), p, u], S = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], h = () => [p, u, d], H = () => [ce, "full", "auto", ...h()], V = () => [ie, "none", "subgrid", p, u], re = () => ["auto", {
714
+ ], E = () => [...J(), p, u], S = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], x = () => [p, u, d], H = () => [ce, "full", "auto", ...x()], V = () => [ie, "none", "subgrid", p, u], re = () => ["auto", {
714
715
  span: ["full", ie, p, u]
715
- }, ie, p, u], X = () => [ie, "auto", p, u], f = () => ["auto", "min", "max", "fr", p, u], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], R = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...h()], K = () => [ce, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], b = () => [e, p, u], ne = () => [...J(), Oe, Re, {
716
+ }, ie, p, u], X = () => [ie, "auto", p, u], f = () => ["auto", "min", "max", "fr", p, u], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], R = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...x()], K = () => [ce, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...x()], b = () => [e, p, u], ne = () => [...J(), Oe, Re, {
716
717
  position: [p, u]
717
718
  }], ae = () => ["no-repeat", {
718
719
  repeat: ["", "x", "y", "space", "round"]
@@ -733,7 +734,7 @@ const lr = (e, t) => {
733
734
  G,
734
735
  p,
735
736
  u
736
- ], M = () => ["none", j, p, u], Y = () => ["none", j, p, u], $ = () => [j, p, u], P = () => [ce, "full", ...h()];
737
+ ], M = () => ["none", j, p, u], Y = () => ["none", j, p, u], $ = () => [j, p, u], P = () => [ce, "full", ...x()];
737
738
  return {
738
739
  cacheSize: 500,
739
740
  theme: {
@@ -766,7 +767,7 @@ const lr = (e, t) => {
766
767
  * @see https://tailwindcss.com/docs/aspect-ratio
767
768
  */
768
769
  aspect: [{
769
- aspect: ["auto", "square", ce, u, p, C]
770
+ aspect: ["auto", "square", ce, u, p, N]
770
771
  }],
771
772
  /**
772
773
  * Container
@@ -989,7 +990,7 @@ const lr = (e, t) => {
989
990
  * @see https://tailwindcss.com/docs/flex-basis
990
991
  */
991
992
  basis: [{
992
- basis: [ce, "full", "auto", A, ...h()]
993
+ basis: [ce, "full", "auto", A, ...x()]
993
994
  }],
994
995
  /**
995
996
  * Flex Direction
@@ -1115,21 +1116,21 @@ const lr = (e, t) => {
1115
1116
  * @see https://tailwindcss.com/docs/gap
1116
1117
  */
1117
1118
  gap: [{
1118
- gap: h()
1119
+ gap: x()
1119
1120
  }],
1120
1121
  /**
1121
1122
  * Gap X
1122
1123
  * @see https://tailwindcss.com/docs/gap
1123
1124
  */
1124
1125
  "gap-x": [{
1125
- "gap-x": h()
1126
+ "gap-x": x()
1126
1127
  }],
1127
1128
  /**
1128
1129
  * Gap Y
1129
1130
  * @see https://tailwindcss.com/docs/gap
1130
1131
  */
1131
1132
  "gap-y": [{
1132
- "gap-y": h()
1133
+ "gap-y": x()
1133
1134
  }],
1134
1135
  /**
1135
1136
  * Justify Content
@@ -1204,63 +1205,63 @@ const lr = (e, t) => {
1204
1205
  * @see https://tailwindcss.com/docs/padding
1205
1206
  */
1206
1207
  p: [{
1207
- p: h()
1208
+ p: x()
1208
1209
  }],
1209
1210
  /**
1210
1211
  * Padding X
1211
1212
  * @see https://tailwindcss.com/docs/padding
1212
1213
  */
1213
1214
  px: [{
1214
- px: h()
1215
+ px: x()
1215
1216
  }],
1216
1217
  /**
1217
1218
  * Padding Y
1218
1219
  * @see https://tailwindcss.com/docs/padding
1219
1220
  */
1220
1221
  py: [{
1221
- py: h()
1222
+ py: x()
1222
1223
  }],
1223
1224
  /**
1224
1225
  * Padding Start
1225
1226
  * @see https://tailwindcss.com/docs/padding
1226
1227
  */
1227
1228
  ps: [{
1228
- ps: h()
1229
+ ps: x()
1229
1230
  }],
1230
1231
  /**
1231
1232
  * Padding End
1232
1233
  * @see https://tailwindcss.com/docs/padding
1233
1234
  */
1234
1235
  pe: [{
1235
- pe: h()
1236
+ pe: x()
1236
1237
  }],
1237
1238
  /**
1238
1239
  * Padding Top
1239
1240
  * @see https://tailwindcss.com/docs/padding
1240
1241
  */
1241
1242
  pt: [{
1242
- pt: h()
1243
+ pt: x()
1243
1244
  }],
1244
1245
  /**
1245
1246
  * Padding Right
1246
1247
  * @see https://tailwindcss.com/docs/padding
1247
1248
  */
1248
1249
  pr: [{
1249
- pr: h()
1250
+ pr: x()
1250
1251
  }],
1251
1252
  /**
1252
1253
  * Padding Bottom
1253
1254
  * @see https://tailwindcss.com/docs/padding
1254
1255
  */
1255
1256
  pb: [{
1256
- pb: h()
1257
+ pb: x()
1257
1258
  }],
1258
1259
  /**
1259
1260
  * Padding Left
1260
1261
  * @see https://tailwindcss.com/docs/padding
1261
1262
  */
1262
1263
  pl: [{
1263
- pl: h()
1264
+ pl: x()
1264
1265
  }],
1265
1266
  /**
1266
1267
  * Margin
@@ -1330,7 +1331,7 @@ const lr = (e, t) => {
1330
1331
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1331
1332
  */
1332
1333
  "space-x": [{
1333
- "space-x": h()
1334
+ "space-x": x()
1334
1335
  }],
1335
1336
  /**
1336
1337
  * Space Between X Reverse
@@ -1342,7 +1343,7 @@ const lr = (e, t) => {
1342
1343
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1343
1344
  */
1344
1345
  "space-y": [{
1345
- "space-y": h()
1346
+ "space-y": x()
1346
1347
  }],
1347
1348
  /**
1348
1349
  * Space Between Y Reverse
@@ -1511,7 +1512,7 @@ const lr = (e, t) => {
1511
1512
  leading: [
1512
1513
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1513
1514
  i,
1514
- ...h()
1515
+ ...x()
1515
1516
  ]
1516
1517
  }],
1517
1518
  /**
@@ -1612,7 +1613,7 @@ const lr = (e, t) => {
1612
1613
  * @see https://tailwindcss.com/docs/text-indent
1613
1614
  */
1614
1615
  indent: [{
1615
- indent: h()
1616
+ indent: x()
1616
1617
  }],
1617
1618
  /**
1618
1619
  * Vertical Alignment
@@ -2166,7 +2167,7 @@ const lr = (e, t) => {
2166
2167
  * @see https://tailwindcss.com/docs/text-shadow
2167
2168
  */
2168
2169
  "text-shadow": [{
2169
- "text-shadow": ["none", x, fe, we]
2170
+ "text-shadow": ["none", h, fe, we]
2170
2171
  }],
2171
2172
  /**
2172
2173
  * Text Shadow Color
@@ -2438,7 +2439,7 @@ const lr = (e, t) => {
2438
2439
  // Deprecated since Tailwind CSS v4.0.0
2439
2440
  "",
2440
2441
  "none",
2441
- N,
2442
+ v,
2442
2443
  fe,
2443
2444
  we
2444
2445
  ]
@@ -2576,21 +2577,21 @@ const lr = (e, t) => {
2576
2577
  * @see https://tailwindcss.com/docs/border-spacing
2577
2578
  */
2578
2579
  "border-spacing": [{
2579
- "border-spacing": h()
2580
+ "border-spacing": x()
2580
2581
  }],
2581
2582
  /**
2582
2583
  * Border Spacing X
2583
2584
  * @see https://tailwindcss.com/docs/border-spacing
2584
2585
  */
2585
2586
  "border-spacing-x": [{
2586
- "border-spacing-x": h()
2587
+ "border-spacing-x": x()
2587
2588
  }],
2588
2589
  /**
2589
2590
  * Border Spacing Y
2590
2591
  * @see https://tailwindcss.com/docs/border-spacing
2591
2592
  */
2592
2593
  "border-spacing-y": [{
2593
- "border-spacing-y": h()
2594
+ "border-spacing-y": x()
2594
2595
  }],
2595
2596
  /**
2596
2597
  * Table Layout
@@ -2666,7 +2667,7 @@ const lr = (e, t) => {
2666
2667
  * @see https://tailwindcss.com/docs/perspective
2667
2668
  */
2668
2669
  perspective: [{
2669
- perspective: [v, p, u]
2670
+ perspective: [C, p, u]
2670
2671
  }],
2671
2672
  /**
2672
2673
  * Perspective Origin
@@ -2882,126 +2883,126 @@ const lr = (e, t) => {
2882
2883
  * @see https://tailwindcss.com/docs/scroll-margin
2883
2884
  */
2884
2885
  "scroll-m": [{
2885
- "scroll-m": h()
2886
+ "scroll-m": x()
2886
2887
  }],
2887
2888
  /**
2888
2889
  * Scroll Margin X
2889
2890
  * @see https://tailwindcss.com/docs/scroll-margin
2890
2891
  */
2891
2892
  "scroll-mx": [{
2892
- "scroll-mx": h()
2893
+ "scroll-mx": x()
2893
2894
  }],
2894
2895
  /**
2895
2896
  * Scroll Margin Y
2896
2897
  * @see https://tailwindcss.com/docs/scroll-margin
2897
2898
  */
2898
2899
  "scroll-my": [{
2899
- "scroll-my": h()
2900
+ "scroll-my": x()
2900
2901
  }],
2901
2902
  /**
2902
2903
  * Scroll Margin Start
2903
2904
  * @see https://tailwindcss.com/docs/scroll-margin
2904
2905
  */
2905
2906
  "scroll-ms": [{
2906
- "scroll-ms": h()
2907
+ "scroll-ms": x()
2907
2908
  }],
2908
2909
  /**
2909
2910
  * Scroll Margin End
2910
2911
  * @see https://tailwindcss.com/docs/scroll-margin
2911
2912
  */
2912
2913
  "scroll-me": [{
2913
- "scroll-me": h()
2914
+ "scroll-me": x()
2914
2915
  }],
2915
2916
  /**
2916
2917
  * Scroll Margin Top
2917
2918
  * @see https://tailwindcss.com/docs/scroll-margin
2918
2919
  */
2919
2920
  "scroll-mt": [{
2920
- "scroll-mt": h()
2921
+ "scroll-mt": x()
2921
2922
  }],
2922
2923
  /**
2923
2924
  * Scroll Margin Right
2924
2925
  * @see https://tailwindcss.com/docs/scroll-margin
2925
2926
  */
2926
2927
  "scroll-mr": [{
2927
- "scroll-mr": h()
2928
+ "scroll-mr": x()
2928
2929
  }],
2929
2930
  /**
2930
2931
  * Scroll Margin Bottom
2931
2932
  * @see https://tailwindcss.com/docs/scroll-margin
2932
2933
  */
2933
2934
  "scroll-mb": [{
2934
- "scroll-mb": h()
2935
+ "scroll-mb": x()
2935
2936
  }],
2936
2937
  /**
2937
2938
  * Scroll Margin Left
2938
2939
  * @see https://tailwindcss.com/docs/scroll-margin
2939
2940
  */
2940
2941
  "scroll-ml": [{
2941
- "scroll-ml": h()
2942
+ "scroll-ml": x()
2942
2943
  }],
2943
2944
  /**
2944
2945
  * Scroll Padding
2945
2946
  * @see https://tailwindcss.com/docs/scroll-padding
2946
2947
  */
2947
2948
  "scroll-p": [{
2948
- "scroll-p": h()
2949
+ "scroll-p": x()
2949
2950
  }],
2950
2951
  /**
2951
2952
  * Scroll Padding X
2952
2953
  * @see https://tailwindcss.com/docs/scroll-padding
2953
2954
  */
2954
2955
  "scroll-px": [{
2955
- "scroll-px": h()
2956
+ "scroll-px": x()
2956
2957
  }],
2957
2958
  /**
2958
2959
  * Scroll Padding Y
2959
2960
  * @see https://tailwindcss.com/docs/scroll-padding
2960
2961
  */
2961
2962
  "scroll-py": [{
2962
- "scroll-py": h()
2963
+ "scroll-py": x()
2963
2964
  }],
2964
2965
  /**
2965
2966
  * Scroll Padding Start
2966
2967
  * @see https://tailwindcss.com/docs/scroll-padding
2967
2968
  */
2968
2969
  "scroll-ps": [{
2969
- "scroll-ps": h()
2970
+ "scroll-ps": x()
2970
2971
  }],
2971
2972
  /**
2972
2973
  * Scroll Padding End
2973
2974
  * @see https://tailwindcss.com/docs/scroll-padding
2974
2975
  */
2975
2976
  "scroll-pe": [{
2976
- "scroll-pe": h()
2977
+ "scroll-pe": x()
2977
2978
  }],
2978
2979
  /**
2979
2980
  * Scroll Padding Top
2980
2981
  * @see https://tailwindcss.com/docs/scroll-padding
2981
2982
  */
2982
2983
  "scroll-pt": [{
2983
- "scroll-pt": h()
2984
+ "scroll-pt": x()
2984
2985
  }],
2985
2986
  /**
2986
2987
  * Scroll Padding Right
2987
2988
  * @see https://tailwindcss.com/docs/scroll-padding
2988
2989
  */
2989
2990
  "scroll-pr": [{
2990
- "scroll-pr": h()
2991
+ "scroll-pr": x()
2991
2992
  }],
2992
2993
  /**
2993
2994
  * Scroll Padding Bottom
2994
2995
  * @see https://tailwindcss.com/docs/scroll-padding
2995
2996
  */
2996
2997
  "scroll-pb": [{
2997
- "scroll-pb": h()
2998
+ "scroll-pb": x()
2998
2999
  }],
2999
3000
  /**
3000
3001
  * Scroll Padding Left
3001
3002
  * @see https://tailwindcss.com/docs/scroll-padding
3002
3003
  */
3003
3004
  "scroll-pl": [{
3004
- "scroll-pl": h()
3005
+ "scroll-pl": x()
3005
3006
  }],
3006
3007
  /**
3007
3008
  * Scroll Snap Align
@@ -3174,7 +3175,7 @@ function wt({
3174
3175
  maxDate: d,
3175
3176
  darkMode: w
3176
3177
  }) {
3177
- const [y, k] = z(!1), [x, N] = z((/* @__PURE__ */ new Date()).getMonth()), [G, v] = z((/* @__PURE__ */ new Date()).getFullYear()), [C, O] = z({
3178
+ const [y, k] = z(!1), [h, v] = z((/* @__PURE__ */ new Date()).getMonth()), [G, C] = z((/* @__PURE__ */ new Date()).getFullYear()), [N, O] = z({
3178
3179
  top: 0,
3179
3180
  left: 0,
3180
3181
  width: 0
@@ -3194,7 +3195,7 @@ function wt({
3194
3195
  ], F = Array.from(
3195
3196
  { length: 111 },
3196
3197
  (c, m) => (/* @__PURE__ */ new Date()).getFullYear() - 100 + m
3197
- ), h = Ge(() => {
3198
+ ), x = Ge(() => {
3198
3199
  if (Z.current) {
3199
3200
  const c = Z.current.getBoundingClientRect(), m = window.innerHeight - c.bottom, D = 380, I = m < D && c.top > D ? c.top - D + window.scrollY : c.bottom + window.scrollY + 8;
3200
3201
  O({
@@ -3208,17 +3209,17 @@ function wt({
3208
3209
  if (y) {
3209
3210
  if (n) {
3210
3211
  const c = new Date(n);
3211
- N(c.getMonth()), v(c.getFullYear());
3212
+ v(c.getMonth()), C(c.getFullYear());
3212
3213
  }
3213
- h();
3214
+ x();
3214
3215
  }
3215
- }, [y, n, h]), ee(() => {
3216
+ }, [y, n, x]), ee(() => {
3216
3217
  if (!y) return;
3217
- const c = () => h();
3218
+ const c = () => x();
3218
3219
  return window.addEventListener("scroll", c, !0), window.addEventListener("resize", c), () => {
3219
3220
  window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", c);
3220
3221
  };
3221
- }, [y, h]), ee(() => {
3222
+ }, [y, x]), ee(() => {
3222
3223
  const c = (m) => {
3223
3224
  U.current && !U.current.contains(m.target) && J.current && !J.current.contains(m.target) && k(!1);
3224
3225
  };
@@ -3228,24 +3229,24 @@ function wt({
3228
3229
  const m = c.getFullYear(), D = String(c.getMonth() + 1).padStart(2, "0"), I = String(c.getDate()).padStart(2, "0");
3229
3230
  return `${m}-${D}-${I}`;
3230
3231
  }, re = () => n || "Select a date", X = (c) => {
3231
- const m = new Date(G, x, c);
3232
+ const m = new Date(G, h, c);
3232
3233
  A && m < new Date(A) || d && m > new Date(d) || (s(V(m)), k(!1));
3233
3234
  }, f = (c, m) => new Date(m, c + 1, 0).getDate(), Q = (c, m) => new Date(m, c, 1).getDay(), R = (c) => {
3234
- const m = new Date(G, x, c);
3235
+ const m = new Date(G, h, c);
3235
3236
  return !!(A && m < new Date(A) || d && m > new Date(d));
3236
3237
  }, L = (c) => {
3237
3238
  if (!n) return !1;
3238
3239
  const m = H(n);
3239
- return m ? m.getDate() === c && m.getMonth() === x && m.getFullYear() === G : !1;
3240
+ return m ? m.getDate() === c && m.getMonth() === h && m.getFullYear() === G : !1;
3240
3241
  }, K = (c) => {
3241
3242
  const m = /* @__PURE__ */ new Date();
3242
- return m.getDate() === c && m.getMonth() === x && m.getFullYear() === G;
3243
+ return m.getDate() === c && m.getMonth() === h && m.getFullYear() === G;
3243
3244
  }, b = () => {
3244
- x === 0 ? (N(11), v(G - 1)) : N(x - 1);
3245
+ h === 0 ? (v(11), C(G - 1)) : v(h - 1);
3245
3246
  }, ne = () => {
3246
- x === 11 ? (N(0), v(G + 1)) : N(x + 1);
3247
+ h === 11 ? (v(0), C(G + 1)) : v(h + 1);
3247
3248
  }, ae = () => {
3248
- const c = f(x, G), m = Q(x, G), D = [];
3249
+ const c = f(h, G), m = Q(h, G), D = [];
3249
3250
  for (let I = 0; I < m; I++)
3250
3251
  D.push(/* @__PURE__ */ r.jsx("div", { className: "calendar-day empty" }, `empty-${I}`));
3251
3252
  for (let I = 1; I <= c; I++) {
@@ -3272,9 +3273,9 @@ function wt({
3272
3273
  className: "datepicker-dropdown-portal",
3273
3274
  style: {
3274
3275
  position: "absolute",
3275
- top: C.top,
3276
- left: C.left,
3277
- width: C.width,
3276
+ top: N.top,
3277
+ left: N.left,
3278
+ width: N.width,
3278
3279
  zIndex: 99999
3279
3280
  },
3280
3281
  children: [
@@ -3301,8 +3302,8 @@ function wt({
3301
3302
  /* @__PURE__ */ r.jsx(
3302
3303
  "select",
3303
3304
  {
3304
- value: x,
3305
- onChange: (c) => N(Number(c.target.value)),
3305
+ value: h,
3306
+ onChange: (c) => v(Number(c.target.value)),
3306
3307
  className: "month-select",
3307
3308
  children: S.map((c, m) => /* @__PURE__ */ r.jsx("option", { value: m, children: c }, c))
3308
3309
  }
@@ -3311,7 +3312,7 @@ function wt({
3311
3312
  "select",
3312
3313
  {
3313
3314
  value: G,
3314
- onChange: (c) => v(Number(c.target.value)),
3315
+ onChange: (c) => C(Number(c.target.value)),
3315
3316
  className: "year-select",
3316
3317
  children: F.map((c) => /* @__PURE__ */ r.jsx("option", { value: c, children: c }, c))
3317
3318
  }
@@ -3344,7 +3345,7 @@ function wt({
3344
3345
  type: "button",
3345
3346
  onClick: () => {
3346
3347
  const c = /* @__PURE__ */ new Date();
3347
- N(c.getMonth()), v(c.getFullYear()), X(c.getDate());
3348
+ v(c.getMonth()), C(c.getFullYear()), X(c.getDate());
3348
3349
  },
3349
3350
  className: "today-button",
3350
3351
  children: "Today"
@@ -4602,25 +4603,25 @@ function vt({
4602
4603
  };
4603
4604
  return o ? /* @__PURE__ */ r.jsx("div", { className: "w-full h-48 flex items-center justify-center bg-white rounded-xl border border-gray-100", children: /* @__PURE__ */ r.jsx("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }) }) : /* @__PURE__ */ r.jsxs("div", { className: "bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden", children: [
4604
4605
  /* @__PURE__ */ r.jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ r.jsxs("table", { className: "w-full text-left border-collapse", children: [
4605
- /* @__PURE__ */ r.jsx("thead", { children: /* @__PURE__ */ r.jsx("tr", { className: "bg-gray-50/50 border-b border-gray-100", children: t.map((k, x) => /* @__PURE__ */ r.jsx(
4606
+ /* @__PURE__ */ r.jsx("thead", { children: /* @__PURE__ */ r.jsx("tr", { className: "bg-gray-50/50 border-b border-gray-100", children: t.map((k, h) => /* @__PURE__ */ r.jsx(
4606
4607
  "th",
4607
4608
  {
4608
4609
  className: `px-6 py-4 text-sm font-semibold text-gray-600 ${k.className || ""}`,
4609
4610
  children: k.header
4610
4611
  },
4611
- x
4612
+ h
4612
4613
  )) }) }),
4613
4614
  /* @__PURE__ */ r.jsx("tbody", { className: "divide-y divide-gray-100", children: w.length > 0 ? w.map((k) => /* @__PURE__ */ r.jsx(
4614
4615
  "tr",
4615
4616
  {
4616
4617
  className: "hover:bg-gray-50/50 transition-colors",
4617
- children: t.map((x, N) => /* @__PURE__ */ r.jsx(
4618
+ children: t.map((h, v) => /* @__PURE__ */ r.jsx(
4618
4619
  "td",
4619
4620
  {
4620
- className: `px-6 py-4 ${x.className || ""}`,
4621
- children: x.cell ? x.cell(k) : x.accessorKey ? k[x.accessorKey] : null
4621
+ className: `px-6 py-4 ${h.className || ""}`,
4622
+ children: h.cell ? h.cell(k) : h.accessorKey ? k[h.accessorKey] : null
4622
4623
  },
4623
- N
4624
+ v
4624
4625
  ))
4625
4626
  },
4626
4627
  k.id
@@ -4684,7 +4685,7 @@ function Et({
4684
4685
  use24Hour: a = !1,
4685
4686
  darkMode: A
4686
4687
  }) {
4687
- const [d, w] = z(!1), [y, k] = z(12), [x, N] = z(0), [G, v] = z("AM"), [C, O] = z({
4688
+ const [d, w] = z(!1), [y, k] = z(12), [h, v] = z(0), [G, C] = z("AM"), [N, O] = z({
4688
4689
  top: 0,
4689
4690
  left: 0,
4690
4691
  width: 0
@@ -4701,7 +4702,7 @@ function Et({
4701
4702
  ee(() => {
4702
4703
  if (d && o) {
4703
4704
  const [f, Q] = o.split(":").map(Number);
4704
- a ? (k(f), N(Q)) : (v(f >= 12 ? "PM" : "AM"), k(f === 0 ? 12 : f > 12 ? f - 12 : f), N(Q));
4705
+ a ? (k(f), v(Q)) : (C(f >= 12 ? "PM" : "AM"), k(f === 0 ? 12 : f > 12 ? f - 12 : f), v(Q));
4705
4706
  }
4706
4707
  d && S();
4707
4708
  }, [d, o, a, S]), ee(() => {
@@ -4714,8 +4715,8 @@ function Et({
4714
4715
  const F = (f, Q, R) => {
4715
4716
  let L = f;
4716
4717
  return a || (R === "AM" ? L = f === 12 ? 0 : f : L = f === 12 ? 12 : f + 12), `${String(L).padStart(2, "0")}:${String(Q).padStart(2, "0")}`;
4717
- }, h = () => {
4718
- n(F(y, x, G)), w(!1);
4718
+ }, x = () => {
4719
+ n(F(y, h, G)), w(!1);
4719
4720
  };
4720
4721
  ee(() => {
4721
4722
  const f = (Q) => {
@@ -4736,9 +4737,9 @@ function Et({
4736
4737
  className: "timepicker-dropdown-portal",
4737
4738
  style: {
4738
4739
  position: "absolute",
4739
- top: C.top,
4740
- left: C.left,
4741
- width: C.width,
4740
+ top: N.top,
4741
+ left: N.left,
4742
+ width: N.width,
4742
4743
  zIndex: 99999
4743
4744
  },
4744
4745
  children: [
@@ -4766,7 +4767,7 @@ function Et({
4766
4767
  /* @__PURE__ */ r.jsxs("div", { className: "timepicker-display", children: [
4767
4768
  /* @__PURE__ */ r.jsx("span", { className: "time-value", children: String(y).padStart(2, "0") }),
4768
4769
  /* @__PURE__ */ r.jsx("span", { className: "time-separator", children: ":" }),
4769
- /* @__PURE__ */ r.jsx("span", { className: "time-value", children: String(x).padStart(2, "0") }),
4770
+ /* @__PURE__ */ r.jsx("span", { className: "time-value", children: String(h).padStart(2, "0") }),
4770
4771
  !a && /* @__PURE__ */ r.jsx("span", { className: "time-period", children: G })
4771
4772
  ] }),
4772
4773
  /* @__PURE__ */ r.jsxs("div", { className: "timepicker-columns", children: [
@@ -4789,8 +4790,8 @@ function Et({
4789
4790
  "button",
4790
4791
  {
4791
4792
  type: "button",
4792
- onClick: () => N(f),
4793
- className: `time-option ${x === f ? "selected" : ""}`,
4793
+ onClick: () => v(f),
4794
+ className: `time-option ${h === f ? "selected" : ""}`,
4794
4795
  children: String(f).padStart(2, "0")
4795
4796
  },
4796
4797
  f
@@ -4803,7 +4804,7 @@ function Et({
4803
4804
  "button",
4804
4805
  {
4805
4806
  type: "button",
4806
- onClick: () => v("AM"),
4807
+ onClick: () => C("AM"),
4807
4808
  className: `time-option period-option ${G === "AM" ? "selected" : ""}`,
4808
4809
  children: "AM"
4809
4810
  }
@@ -4812,7 +4813,7 @@ function Et({
4812
4813
  "button",
4813
4814
  {
4814
4815
  type: "button",
4815
- onClick: () => v("PM"),
4816
+ onClick: () => C("PM"),
4816
4817
  className: `time-option period-option ${G === "PM" ? "selected" : ""}`,
4817
4818
  children: "PM"
4818
4819
  }
@@ -4820,7 +4821,7 @@ function Et({
4820
4821
  ] })
4821
4822
  ] })
4822
4823
  ] }),
4823
- /* @__PURE__ */ r.jsx("button", { type: "button", onClick: h, className: "done-button", children: "Done" })
4824
+ /* @__PURE__ */ r.jsx("button", { type: "button", onClick: x, className: "done-button", children: "Done" })
4824
4825
  ]
4825
4826
  }
4826
4827
  ) });
@@ -5165,11 +5166,11 @@ function It({
5165
5166
  // minDate,
5166
5167
  // maxDate,
5167
5168
  }) {
5168
- const [d, w] = z(!1), [y, k] = z("date"), [x, N] = z(/* @__PURE__ */ new Date()), [G, v] = z((/* @__PURE__ */ new Date()).getMonth()), [C, O] = z((/* @__PURE__ */ new Date()).getFullYear()), [U, Z] = z({
5169
+ const [d, w] = z(!1), [y, k] = z("date"), [h, v] = z(/* @__PURE__ */ new Date()), [G, C] = z((/* @__PURE__ */ new Date()).getMonth()), [N, O] = z((/* @__PURE__ */ new Date()).getFullYear()), [U, Z] = z({
5169
5170
  top: 0,
5170
5171
  left: 0,
5171
5172
  width: 0
5172
- }), J = oe(null), E = oe(null), S = oe(null), F = A ?? q.ENABLE_DARK_MODE, h = [
5173
+ }), J = oe(null), E = oe(null), S = oe(null), F = A ?? q.ENABLE_DARK_MODE, x = [
5173
5174
  "January",
5174
5175
  "February",
5175
5176
  "March",
@@ -5189,7 +5190,7 @@ function It({
5189
5190
  ee(() => {
5190
5191
  if (n) {
5191
5192
  const g = new Date(n);
5192
- d || (N(g), v(g.getMonth()), O(g.getFullYear()));
5193
+ d || (v(g), C(g.getMonth()), O(g.getFullYear()));
5193
5194
  }
5194
5195
  }, [n, d]);
5195
5196
  const V = Ge(() => {
@@ -5203,7 +5204,7 @@ function It({
5203
5204
  }
5204
5205
  }, []);
5205
5206
  ee(() => {
5206
- d && (V(), v(x.getMonth()), O(x.getFullYear()));
5207
+ d && (V(), C(h.getMonth()), O(h.getFullYear()));
5207
5208
  }, [d, V]), ee(() => {
5208
5209
  if (!d) return;
5209
5210
  const g = () => V();
@@ -5223,17 +5224,17 @@ function It({
5223
5224
  const te = String(g.getMinutes()).padStart(2, "0"), or = P >= 12 ? "PM" : "AM";
5224
5225
  return P = P % 12, P = P || 12, `${M}-${Y}-${$} ${P}:${te} ${or}`;
5225
5226
  }, X = (g, M) => new Date(M, g + 1, 0).getDate(), f = (g, M) => new Date(M, g, 1).getDay(), Q = (g) => {
5226
- const M = new Date(x);
5227
- M.setFullYear(C), M.setMonth(G), M.setDate(g), N(M);
5228
- }, R = (g) => g === x.getDate() && G === x.getMonth() && C === x.getFullYear(), L = (g) => {
5227
+ const M = new Date(h);
5228
+ M.setFullYear(N), M.setMonth(G), M.setDate(g), v(M);
5229
+ }, R = (g) => g === h.getDate() && G === h.getMonth() && N === h.getFullYear(), L = (g) => {
5229
5230
  const M = /* @__PURE__ */ new Date();
5230
- return g === M.getDate() && G === M.getMonth() && C === M.getFullYear();
5231
+ return g === M.getDate() && G === M.getMonth() && N === M.getFullYear();
5231
5232
  }, K = () => {
5232
- G === 0 ? (v(11), O(C - 1)) : v(G - 1);
5233
+ G === 0 ? (C(11), O(N - 1)) : C(G - 1);
5233
5234
  }, b = () => {
5234
- G === 11 ? (v(0), O(C + 1)) : v(G + 1);
5235
+ G === 11 ? (C(0), O(N + 1)) : C(G + 1);
5235
5236
  }, ne = Array.from({ length: 12 }, (g, M) => M + 1), ae = Array.from({ length: 60 }, (g, M) => M), l = (g, M) => {
5236
- const Y = new Date(x);
5237
+ const Y = new Date(h);
5237
5238
  let $ = Y.getHours();
5238
5239
  if (g === "hour") {
5239
5240
  const P = M, te = $ >= 12;
@@ -5244,12 +5245,12 @@ function It({
5244
5245
  const P = M === "PM", te = $ % 12 || 12;
5245
5246
  P && te !== 12 ? Y.setHours(te + 12) : P && te === 12 ? Y.setHours(12) : !P && te === 12 ? Y.setHours(0) : Y.setHours(te);
5246
5247
  }
5247
- N(Y);
5248
- }, c = x.getHours() % 12 || 12, m = x.getMinutes(), D = x.getHours() >= 12 ? "PM" : "AM", I = () => {
5249
- s(x.getTime()), w(!1);
5248
+ v(Y);
5249
+ }, c = h.getHours() % 12 || 12, m = h.getMinutes(), D = h.getHours() >= 12 ? "PM" : "AM", I = () => {
5250
+ s(h.getTime()), w(!1);
5250
5251
  }, _ = () => {
5251
5252
  const g = /* @__PURE__ */ new Date();
5252
- N(g), v(g.getMonth()), O(g.getFullYear());
5253
+ v(g), C(g.getMonth()), O(g.getFullYear());
5253
5254
  }, B = d && /* @__PURE__ */ r.jsx("div", { className: F ? "dark" : "", children: /* @__PURE__ */ r.jsxs(
5254
5255
  "div",
5255
5256
  {
@@ -5318,15 +5319,15 @@ function It({
5318
5319
  "select",
5319
5320
  {
5320
5321
  value: G,
5321
- onChange: (g) => v(Number(g.target.value)),
5322
+ onChange: (g) => C(Number(g.target.value)),
5322
5323
  className: "month-select",
5323
- children: h.map((g, M) => /* @__PURE__ */ r.jsx("option", { value: M, children: g }, g))
5324
+ children: x.map((g, M) => /* @__PURE__ */ r.jsx("option", { value: M, children: g }, g))
5324
5325
  }
5325
5326
  ),
5326
5327
  /* @__PURE__ */ r.jsx(
5327
5328
  "select",
5328
5329
  {
5329
- value: C,
5330
+ value: N,
5330
5331
  onChange: (g) => O(Number(g.target.value)),
5331
5332
  className: "year-select",
5332
5333
  children: H.map((g) => /* @__PURE__ */ r.jsx("option", { value: g, children: g }, g))
@@ -5363,10 +5364,10 @@ function It({
5363
5364
  /* @__PURE__ */ r.jsx("div", { className: "day-names", children: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map((g) => /* @__PURE__ */ r.jsx("div", { className: "day-name", children: g }, g)) }),
5364
5365
  /* @__PURE__ */ r.jsxs("div", { className: "calendar-grid", children: [
5365
5366
  Array.from({
5366
- length: f(G, C)
5367
+ length: f(G, N)
5367
5368
  }).map((g, M) => /* @__PURE__ */ r.jsx("div", { className: "calendar-day empty" }, `empty-${M}`)),
5368
5369
  Array.from({
5369
- length: X(G, C)
5370
+ length: X(G, N)
5370
5371
  }).map((g, M) => {
5371
5372
  const Y = M + 1, $ = R(Y), P = L(Y);
5372
5373
  return /* @__PURE__ */ r.jsx(