@olwiba/cn 0.1.28 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { clsx } from 'clsx';
2
2
  import { twMerge } from 'tailwind-merge';
3
- import * as React37 from 'react';
3
+ import * as React38 from 'react';
4
4
  import { useMemo, useCallback, useRef, useState, useEffect } from 'react';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
@@ -45,7 +45,7 @@ import confetti from 'canvas-confetti';
45
45
  function cn(...inputs) {
46
46
  return twMerge(clsx(inputs));
47
47
  }
48
- var UIVariantContext = React37.createContext(void 0);
48
+ var UIVariantContext = React38.createContext(void 0);
49
49
  function UIVariantProvider({
50
50
  mode,
51
51
  children
@@ -53,17 +53,17 @@ function UIVariantProvider({
53
53
  return /* @__PURE__ */ jsx(UIVariantContext.Provider, { value: mode, children });
54
54
  }
55
55
  function useUIVariant() {
56
- return React37.useContext(UIVariantContext);
56
+ return React38.useContext(UIVariantContext);
57
57
  }
58
- var AccordionContext = React37.createContext({});
59
- var Accordion = React37.forwardRef(({ mode: modeProp, size, ...props }, ref) => {
58
+ var AccordionContext = React38.createContext({});
59
+ var Accordion = React38.forwardRef(({ mode: modeProp, size, ...props }, ref) => {
60
60
  const inheritedMode = useUIVariant();
61
61
  const mode = modeProp ?? inheritedMode;
62
62
  return /* @__PURE__ */ jsx(AccordionContext.Provider, { value: { mode, size }, children: /* @__PURE__ */ jsx(AccordionPrimitive.Root, { ref, ...props }) });
63
63
  });
64
64
  Accordion.displayName = "Accordion";
65
- var AccordionItem = React37.forwardRef(({ className, ...props }, ref) => {
66
- const { mode } = React37.useContext(AccordionContext);
65
+ var AccordionItem = React38.forwardRef(({ className, ...props }, ref) => {
66
+ const { mode } = React38.useContext(AccordionContext);
67
67
  return /* @__PURE__ */ jsx(
68
68
  AccordionPrimitive.Item,
69
69
  {
@@ -80,8 +80,8 @@ var AccordionItem = React37.forwardRef(({ className, ...props }, ref) => {
80
80
  );
81
81
  });
82
82
  AccordionItem.displayName = "AccordionItem";
83
- var AccordionTrigger = React37.forwardRef(({ className, children, ...props }, ref) => {
84
- const { mode, size } = React37.useContext(AccordionContext);
83
+ var AccordionTrigger = React38.forwardRef(({ className, children, ...props }, ref) => {
84
+ const { mode, size } = React38.useContext(AccordionContext);
85
85
  return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
86
86
  AccordionPrimitive.Trigger,
87
87
  {
@@ -106,8 +106,8 @@ var AccordionTrigger = React37.forwardRef(({ className, children, ...props }, re
106
106
  ) });
107
107
  });
108
108
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
109
- var AccordionContent = React37.forwardRef(({ className, children, ...props }, ref) => {
110
- const { mode, size } = React37.useContext(AccordionContext);
109
+ var AccordionContent = React38.forwardRef(({ className, children, ...props }, ref) => {
110
+ const { mode, size } = React38.useContext(AccordionContext);
111
111
  return /* @__PURE__ */ jsx(
112
112
  AccordionPrimitive.Content,
113
113
  {
@@ -141,7 +141,7 @@ var alertVariants = cva(
141
141
  }
142
142
  }
143
143
  );
144
- var Alert = React37.forwardRef(({ className, variant, mode: modeProp, size, disabled, ...props }, ref) => {
144
+ var Alert = React38.forwardRef(({ className, variant, mode: modeProp, size, disabled, ...props }, ref) => {
145
145
  const mode = modeProp ?? useUIVariant();
146
146
  return /* @__PURE__ */ jsx(
147
147
  "div",
@@ -162,7 +162,7 @@ var Alert = React37.forwardRef(({ className, variant, mode: modeProp, size, disa
162
162
  );
163
163
  });
164
164
  Alert.displayName = "Alert";
165
- var AlertTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
165
+ var AlertTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
166
166
  "h5",
167
167
  {
168
168
  ref,
@@ -171,7 +171,7 @@ var AlertTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE
171
171
  }
172
172
  ));
173
173
  AlertTitle.displayName = "AlertTitle";
174
- var AlertDescription = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
174
+ var AlertDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
175
175
  "div",
176
176
  {
177
177
  ref,
@@ -217,7 +217,7 @@ var glassButtonBg = {
217
217
  outline: "bg-background/40 hover:bg-background/60",
218
218
  secondary: "bg-secondary/50 hover:bg-secondary/40"
219
219
  };
220
- var Button = React37.forwardRef(
220
+ var Button = React38.forwardRef(
221
221
  ({ className, variant, size, asChild = false, mode: modeProp, ...props }, ref) => {
222
222
  const mode = modeProp ?? useUIVariant();
223
223
  const Comp = asChild ? Slot : "button";
@@ -273,7 +273,7 @@ Button.displayName = "Button";
273
273
  var AlertDialog = AlertDialogPrimitive.Root;
274
274
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
275
275
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
276
- var AlertDialogOverlay = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
276
+ var AlertDialogOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
277
277
  AlertDialogPrimitive.Overlay,
278
278
  {
279
279
  className: cn(
@@ -285,7 +285,7 @@ var AlertDialogOverlay = React37.forwardRef(({ className, ...props }, ref) => /*
285
285
  }
286
286
  ));
287
287
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
288
- var AlertDialogContent = React37.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
288
+ var AlertDialogContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
289
289
  const mode = modeProp ?? useUIVariant();
290
290
  return /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [
291
291
  /* @__PURE__ */ jsx(AlertDialogOverlay, {}),
@@ -335,7 +335,7 @@ var AlertDialogFooter = ({
335
335
  }
336
336
  );
337
337
  AlertDialogFooter.displayName = "AlertDialogFooter";
338
- var AlertDialogTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
338
+ var AlertDialogTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
339
339
  AlertDialogPrimitive.Title,
340
340
  {
341
341
  ref,
@@ -344,7 +344,7 @@ var AlertDialogTitle = React37.forwardRef(({ className, ...props }, ref) => /* @
344
344
  }
345
345
  ));
346
346
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
347
- var AlertDialogDescription = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
347
+ var AlertDialogDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
348
348
  AlertDialogPrimitive.Description,
349
349
  {
350
350
  ref,
@@ -353,12 +353,12 @@ var AlertDialogDescription = React37.forwardRef(({ className, ...props }, ref) =
353
353
  }
354
354
  ));
355
355
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
356
- var AlertDialogAction = React37.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Action, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx(Button, { children }) }));
356
+ var AlertDialogAction = React38.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Action, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx(Button, { children }) }));
357
357
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
358
- var AlertDialogCancel = React37.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Cancel, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx(Button, { variant: "outline", className: "mt-2 sm:mt-0", children }) }));
358
+ var AlertDialogCancel = React38.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Cancel, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx(Button, { variant: "outline", className: "mt-2 sm:mt-0", children }) }));
359
359
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
360
360
  var AspectRatio = AspectRatioPrimitive.Root;
361
- var AvatarContext = React37.createContext({});
361
+ var AvatarContext = React38.createContext({});
362
362
  var sizeClasses = {
363
363
  sm: "h-8 w-8",
364
364
  default: "h-10 w-10",
@@ -395,7 +395,7 @@ var blobKeyframes = `
395
395
  100% { border-radius: 51% 49% 50% 50% / 52% 48% 51% 49%; transform: rotate(360deg) scale(0.83); }
396
396
  }
397
397
  `;
398
- var Avatar = React37.forwardRef(({ className, mode: modeProp, size = "default", disabled, ...props }, ref) => {
398
+ var Avatar = React38.forwardRef(({ className, mode: modeProp, size = "default", disabled, ...props }, ref) => {
399
399
  const mode = modeProp ?? useUIVariant();
400
400
  if (mode === "playful") {
401
401
  return /* @__PURE__ */ jsx(AvatarContext.Provider, { value: { mode }, children: /* @__PURE__ */ jsxs("div", { className: cn("relative overflow-visible", sizeClasses[size], disabled && "opacity-50 pointer-events-none"), children: [
@@ -451,7 +451,7 @@ var Avatar = React37.forwardRef(({ className, mode: modeProp, size = "default",
451
451
  ) });
452
452
  });
453
453
  Avatar.displayName = AvatarPrimitive.Root.displayName;
454
- var AvatarImage = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
454
+ var AvatarImage = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
455
455
  AvatarPrimitive.Image,
456
456
  {
457
457
  ref,
@@ -460,8 +460,8 @@ var AvatarImage = React37.forwardRef(({ className, ...props }, ref) => /* @__PUR
460
460
  }
461
461
  ));
462
462
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
463
- var AvatarFallback = React37.forwardRef(({ className, ...props }, ref) => {
464
- const { mode } = React37.useContext(AvatarContext);
463
+ var AvatarFallback = React38.forwardRef(({ className, ...props }, ref) => {
464
+ const { mode } = React38.useContext(AvatarContext);
465
465
  return /* @__PURE__ */ jsx(
466
466
  AvatarPrimitive.Fallback,
467
467
  {
@@ -548,14 +548,14 @@ function Badge({ className, variant, size, disabled = false, mode: modeProp, ...
548
548
  }
549
549
  );
550
550
  }
551
- var Breadcrumb = React37.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
551
+ var Breadcrumb = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
552
552
  Breadcrumb.displayName = "Breadcrumb";
553
553
  var breadcrumbListSizeClasses = {
554
554
  sm: "gap-1 text-xs sm:gap-1.5",
555
555
  default: "gap-1.5 text-sm sm:gap-2.5",
556
556
  lg: "gap-2 text-base sm:gap-3"
557
557
  };
558
- var BreadcrumbList = React37.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsx(
558
+ var BreadcrumbList = React38.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsx(
559
559
  "ol",
560
560
  {
561
561
  ref,
@@ -568,7 +568,7 @@ var BreadcrumbList = React37.forwardRef(({ className, size = "default", ...props
568
568
  }
569
569
  ));
570
570
  BreadcrumbList.displayName = "BreadcrumbList";
571
- var BreadcrumbItem = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
571
+ var BreadcrumbItem = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
572
572
  "li",
573
573
  {
574
574
  ref,
@@ -577,7 +577,7 @@ var BreadcrumbItem = React37.forwardRef(({ className, ...props }, ref) => /* @__
577
577
  }
578
578
  ));
579
579
  BreadcrumbItem.displayName = "BreadcrumbItem";
580
- var BreadcrumbLink = React37.forwardRef(({ asChild, className, disabled, ...props }, ref) => {
580
+ var BreadcrumbLink = React38.forwardRef(({ asChild, className, disabled, ...props }, ref) => {
581
581
  const Comp = asChild ? Slot : "a";
582
582
  return /* @__PURE__ */ jsx(
583
583
  Comp,
@@ -593,7 +593,7 @@ var BreadcrumbLink = React37.forwardRef(({ asChild, className, disabled, ...prop
593
593
  );
594
594
  });
595
595
  BreadcrumbLink.displayName = "BreadcrumbLink";
596
- var BreadcrumbPage = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
596
+ var BreadcrumbPage = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
597
597
  "span",
598
598
  {
599
599
  ref,
@@ -637,7 +637,7 @@ var BreadcrumbEllipsis = ({
637
637
  }
638
638
  );
639
639
  BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
640
- var Separator = React37.forwardRef(
640
+ var Separator = React38.forwardRef(
641
641
  ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
642
642
  SeparatorPrimitive.Root,
643
643
  {
@@ -724,7 +724,7 @@ var calendarCellSizes = {
724
724
  default: "2rem",
725
725
  lg: "2.5rem"
726
726
  };
727
- var CalendarUIContext = React37.createContext({});
727
+ var CalendarUIContext = React38.createContext({});
728
728
  function Calendar({
729
729
  className,
730
730
  classNames,
@@ -888,10 +888,10 @@ function CalendarDayButton({
888
888
  modifiers,
889
889
  ...props
890
890
  }) {
891
- const { uiMode } = React37.useContext(CalendarUIContext);
891
+ const { uiMode } = React38.useContext(CalendarUIContext);
892
892
  const defaultClassNames = getDefaultClassNames();
893
- const ref = React37.useRef(null);
894
- React37.useEffect(() => {
893
+ const ref = React38.useRef(null);
894
+ React38.useEffect(() => {
895
895
  if (modifiers.focused) ref.current?.focus();
896
896
  }, [modifiers.focused]);
897
897
  const isSelectedSingle = modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle;
@@ -931,7 +931,7 @@ function CalendarDayButton({
931
931
  }
932
932
  return button;
933
933
  }
934
- var Card = React37.forwardRef(
934
+ var Card = React38.forwardRef(
935
935
  ({ className, mode: modeProp, ...props }, ref) => {
936
936
  const mode = modeProp ?? useUIVariant();
937
937
  if (mode === "playful") {
@@ -972,7 +972,7 @@ var Card = React37.forwardRef(
972
972
  }
973
973
  );
974
974
  Card.displayName = "Card";
975
- var CardHeader = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
975
+ var CardHeader = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
976
976
  "div",
977
977
  {
978
978
  ref,
@@ -981,7 +981,7 @@ var CardHeader = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE
981
981
  }
982
982
  ));
983
983
  CardHeader.displayName = "CardHeader";
984
- var CardTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
984
+ var CardTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
985
985
  "div",
986
986
  {
987
987
  ref,
@@ -993,7 +993,7 @@ var CardTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE_
993
993
  }
994
994
  ));
995
995
  CardTitle.displayName = "CardTitle";
996
- var CardDescription = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
996
+ var CardDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
997
997
  "div",
998
998
  {
999
999
  ref,
@@ -1002,9 +1002,9 @@ var CardDescription = React37.forwardRef(({ className, ...props }, ref) => /* @_
1002
1002
  }
1003
1003
  ));
1004
1004
  CardDescription.displayName = "CardDescription";
1005
- var CardContent = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
1005
+ var CardContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
1006
1006
  CardContent.displayName = "CardContent";
1007
- var CardFooter = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1007
+ var CardFooter = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1008
1008
  "div",
1009
1009
  {
1010
1010
  ref,
@@ -1023,13 +1023,13 @@ var navOffset = {
1023
1023
  default: { prevH: "-left-12", nextH: "-right-12", prevV: "-top-12", nextV: "-bottom-12" },
1024
1024
  lg: { prevH: "-left-14", nextH: "-right-14", prevV: "-top-14", nextV: "-bottom-14" }
1025
1025
  };
1026
- var CarouselContext = React37.createContext(null);
1026
+ var CarouselContext = React38.createContext(null);
1027
1027
  function useCarousel() {
1028
- const context = React37.useContext(CarouselContext);
1028
+ const context = React38.useContext(CarouselContext);
1029
1029
  if (!context) throw new Error("useCarousel must be used within a <Carousel />");
1030
1030
  return context;
1031
1031
  }
1032
- var Carousel = React37.forwardRef(
1032
+ var Carousel = React38.forwardRef(
1033
1033
  ({
1034
1034
  orientation = "horizontal",
1035
1035
  opts,
@@ -1047,20 +1047,20 @@ var Carousel = React37.forwardRef(
1047
1047
  { ...opts, axis: orientation === "horizontal" ? "x" : "y" },
1048
1048
  plugins
1049
1049
  );
1050
- const [canScrollPrev, setCanScrollPrev] = React37.useState(false);
1051
- const [canScrollNext, setCanScrollNext] = React37.useState(false);
1052
- const onSelect = React37.useCallback((api2) => {
1050
+ const [canScrollPrev, setCanScrollPrev] = React38.useState(false);
1051
+ const [canScrollNext, setCanScrollNext] = React38.useState(false);
1052
+ const onSelect = React38.useCallback((api2) => {
1053
1053
  if (!api2) return;
1054
1054
  setCanScrollPrev(api2.canScrollPrev());
1055
1055
  setCanScrollNext(api2.canScrollNext());
1056
1056
  }, []);
1057
- const scrollPrev = React37.useCallback(() => {
1057
+ const scrollPrev = React38.useCallback(() => {
1058
1058
  api?.scrollPrev();
1059
1059
  }, [api]);
1060
- const scrollNext = React37.useCallback(() => {
1060
+ const scrollNext = React38.useCallback(() => {
1061
1061
  api?.scrollNext();
1062
1062
  }, [api]);
1063
- const handleKeyDown = React37.useCallback(
1063
+ const handleKeyDown = React38.useCallback(
1064
1064
  (event) => {
1065
1065
  if (event.key === "ArrowLeft") {
1066
1066
  event.preventDefault();
@@ -1072,11 +1072,11 @@ var Carousel = React37.forwardRef(
1072
1072
  },
1073
1073
  [scrollPrev, scrollNext]
1074
1074
  );
1075
- React37.useEffect(() => {
1075
+ React38.useEffect(() => {
1076
1076
  if (!api || !setApi) return;
1077
1077
  setApi(api);
1078
1078
  }, [api, setApi]);
1079
- React37.useEffect(() => {
1079
+ React38.useEffect(() => {
1080
1080
  if (!api) return;
1081
1081
  onSelect(api);
1082
1082
  api.on("reInit", onSelect);
@@ -1118,7 +1118,7 @@ var Carousel = React37.forwardRef(
1118
1118
  }
1119
1119
  );
1120
1120
  Carousel.displayName = "Carousel";
1121
- var CarouselContent = React37.forwardRef(({ className, ...props }, ref) => {
1121
+ var CarouselContent = React38.forwardRef(({ className, ...props }, ref) => {
1122
1122
  const { carouselRef, orientation } = useCarousel();
1123
1123
  return /* @__PURE__ */ jsx("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx(
1124
1124
  "div",
@@ -1130,7 +1130,7 @@ var CarouselContent = React37.forwardRef(({ className, ...props }, ref) => {
1130
1130
  ) });
1131
1131
  });
1132
1132
  CarouselContent.displayName = "CarouselContent";
1133
- var CarouselItem = React37.forwardRef(({ className, ...props }, ref) => {
1133
+ var CarouselItem = React38.forwardRef(({ className, ...props }, ref) => {
1134
1134
  const { orientation } = useCarousel();
1135
1135
  return /* @__PURE__ */ jsx(
1136
1136
  "div",
@@ -1148,7 +1148,7 @@ var CarouselItem = React37.forwardRef(({ className, ...props }, ref) => {
1148
1148
  );
1149
1149
  });
1150
1150
  CarouselItem.displayName = "CarouselItem";
1151
- var CarouselPrevious = React37.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1151
+ var CarouselPrevious = React38.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1152
1152
  const { orientation, scrollPrev, canScrollPrev, mode, carouselSize } = useCarousel();
1153
1153
  const dim = navDim[carouselSize];
1154
1154
  const posH = `${navOffset[carouselSize].prevH} top-1/2 -translate-y-1/2`;
@@ -1206,7 +1206,7 @@ var CarouselPrevious = React37.forwardRef(({ className, variant = "outline", siz
1206
1206
  );
1207
1207
  });
1208
1208
  CarouselPrevious.displayName = "CarouselPrevious";
1209
- var CarouselNext = React37.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1209
+ var CarouselNext = React38.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1210
1210
  const { orientation, scrollNext, canScrollNext, mode, carouselSize } = useCarousel();
1211
1211
  const dim = navDim[carouselSize];
1212
1212
  const posH = `${navOffset[carouselSize].nextH} top-1/2 -translate-y-1/2`;
@@ -1265,16 +1265,16 @@ var CarouselNext = React37.forwardRef(({ className, variant = "outline", size =
1265
1265
  });
1266
1266
  CarouselNext.displayName = "CarouselNext";
1267
1267
  var THEMES = { light: "", dark: ".dark" };
1268
- var ChartContext = React37.createContext(null);
1268
+ var ChartContext = React38.createContext(null);
1269
1269
  function useChart() {
1270
- const context = React37.useContext(ChartContext);
1270
+ const context = React38.useContext(ChartContext);
1271
1271
  if (!context) {
1272
1272
  throw new Error("useChart must be used within a <ChartContainer />");
1273
1273
  }
1274
1274
  return context;
1275
1275
  }
1276
- var ChartContainer = React37.forwardRef(({ id, className, children, config, disabled = false, ...props }, ref) => {
1277
- const uniqueId = React37.useId();
1276
+ var ChartContainer = React38.forwardRef(({ id, className, children, config, disabled = false, ...props }, ref) => {
1277
+ const uniqueId = React38.useId();
1278
1278
  const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
1279
1279
  return /* @__PURE__ */ jsx(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs(
1280
1280
  "div",
@@ -1321,7 +1321,7 @@ ${colorConfig.map(([key, itemConfig]) => {
1321
1321
  );
1322
1322
  };
1323
1323
  var ChartTooltip = RechartsPrimitive.Tooltip;
1324
- var ChartTooltipContent = React37.forwardRef(
1324
+ var ChartTooltipContent = React38.forwardRef(
1325
1325
  ({
1326
1326
  active,
1327
1327
  payload,
@@ -1338,7 +1338,7 @@ var ChartTooltipContent = React37.forwardRef(
1338
1338
  labelKey
1339
1339
  }, ref) => {
1340
1340
  const { config } = useChart();
1341
- const tooltipLabel = React37.useMemo(() => {
1341
+ const tooltipLabel = React38.useMemo(() => {
1342
1342
  if (hideLabel || !payload?.length) {
1343
1343
  return null;
1344
1344
  }
@@ -1434,7 +1434,7 @@ var ChartTooltipContent = React37.forwardRef(
1434
1434
  );
1435
1435
  ChartTooltipContent.displayName = "ChartTooltip";
1436
1436
  var ChartLegend = RechartsPrimitive.Legend;
1437
- var ChartLegendContent = React37.forwardRef(
1437
+ var ChartLegendContent = React38.forwardRef(
1438
1438
  ({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
1439
1439
  const { config } = useChart();
1440
1440
  if (!payload?.length) {
@@ -1492,7 +1492,7 @@ function getPayloadConfigFromPayload(config, payload, key) {
1492
1492
  }
1493
1493
  return configLabelKey in config ? config[configLabelKey] : config[key];
1494
1494
  }
1495
- var Checkbox = React37.forwardRef(({ className, mode: modeProp, ...props }, ref) => {
1495
+ var Checkbox = React38.forwardRef(({ className, mode: modeProp, ...props }, ref) => {
1496
1496
  const mode = modeProp ?? useUIVariant();
1497
1497
  if (mode === "playful") {
1498
1498
  return /* @__PURE__ */ jsxs("span", { className: "group/playful relative inline-flex", children: [
@@ -1539,7 +1539,7 @@ var Dialog = DialogPrimitive.Root;
1539
1539
  var DialogTrigger = DialogPrimitive.Trigger;
1540
1540
  var DialogPortal = DialogPrimitive.Portal;
1541
1541
  var DialogClose = DialogPrimitive.Close;
1542
- var DialogOverlay = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1542
+ var DialogOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1543
1543
  DialogPrimitive.Overlay,
1544
1544
  {
1545
1545
  ref,
@@ -1551,7 +1551,7 @@ var DialogOverlay = React37.forwardRef(({ className, ...props }, ref) => /* @__P
1551
1551
  }
1552
1552
  ));
1553
1553
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1554
- var DialogContent = React37.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1554
+ var DialogContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1555
1555
  const mode = modeProp ?? useUIVariant();
1556
1556
  return /* @__PURE__ */ jsxs(DialogPortal, { children: [
1557
1557
  /* @__PURE__ */ jsx(DialogOverlay, { className: mode === "glass" ? "bg-black/40" : void 0 }),
@@ -1608,7 +1608,7 @@ var DialogFooter = ({
1608
1608
  }
1609
1609
  );
1610
1610
  DialogFooter.displayName = "DialogFooter";
1611
- var DialogTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1611
+ var DialogTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1612
1612
  DialogPrimitive.Title,
1613
1613
  {
1614
1614
  ref,
@@ -1620,7 +1620,7 @@ var DialogTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PUR
1620
1620
  }
1621
1621
  ));
1622
1622
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1623
- var DialogDescription = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1623
+ var DialogDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1624
1624
  DialogPrimitive.Description,
1625
1625
  {
1626
1626
  ref,
@@ -1663,15 +1663,15 @@ function formatShortcut(shortcut, isMac) {
1663
1663
  return key ? `${modStr}+${key}` : `${modStr}+`;
1664
1664
  }
1665
1665
  function useIsMac() {
1666
- const [isMac, setIsMac] = React37.useState(false);
1667
- React37.useEffect(() => {
1666
+ const [isMac, setIsMac] = React38.useState(false);
1667
+ React38.useEffect(() => {
1668
1668
  setIsMac(
1669
1669
  typeof navigator !== "undefined" && navigator.platform.toUpperCase().includes("MAC")
1670
1670
  );
1671
1671
  }, []);
1672
1672
  return isMac;
1673
1673
  }
1674
- var Hotkey = React37.forwardRef(
1674
+ var Hotkey = React38.forwardRef(
1675
1675
  ({ shortcut, asKbd = false, mode: modeProp, className, ...props }, ref) => {
1676
1676
  const isMac = useIsMac();
1677
1677
  const content = formatShortcut(shortcut, isMac);
@@ -1720,7 +1720,7 @@ var Hotkey = React37.forwardRef(
1720
1720
  }
1721
1721
  );
1722
1722
  Hotkey.displayName = "Hotkey";
1723
- var Command = React37.forwardRef(({ className, mode, disabled, ...props }, ref) => {
1723
+ var Command = React38.forwardRef(({ className, mode, disabled, ...props }, ref) => {
1724
1724
  const inner = /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(
1725
1725
  Command$1,
1726
1726
  {
@@ -1754,7 +1754,7 @@ Command.displayName = Command$1.displayName;
1754
1754
  var CommandDialog = ({ children, ...props }) => {
1755
1755
  return /* @__PURE__ */ jsx(Dialog, { ...props, children: /* @__PURE__ */ jsx(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ jsx(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
1756
1756
  };
1757
- var CommandInput = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1757
+ var CommandInput = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1758
1758
  /* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
1759
1759
  /* @__PURE__ */ jsx(
1760
1760
  Command$1.Input,
@@ -1769,7 +1769,7 @@ var CommandInput = React37.forwardRef(({ className, ...props }, ref) => /* @__PU
1769
1769
  )
1770
1770
  ] }));
1771
1771
  CommandInput.displayName = Command$1.Input.displayName;
1772
- var CommandList = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1772
+ var CommandList = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1773
1773
  Command$1.List,
1774
1774
  {
1775
1775
  ref,
@@ -1778,7 +1778,7 @@ var CommandList = React37.forwardRef(({ className, ...props }, ref) => /* @__PUR
1778
1778
  }
1779
1779
  ));
1780
1780
  CommandList.displayName = Command$1.List.displayName;
1781
- var CommandEmpty = React37.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1781
+ var CommandEmpty = React38.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1782
1782
  Command$1.Empty,
1783
1783
  {
1784
1784
  ref,
@@ -1787,7 +1787,7 @@ var CommandEmpty = React37.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1787
1787
  }
1788
1788
  ));
1789
1789
  CommandEmpty.displayName = Command$1.Empty.displayName;
1790
- var CommandGroup = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1790
+ var CommandGroup = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1791
1791
  Command$1.Group,
1792
1792
  {
1793
1793
  ref,
@@ -1799,7 +1799,7 @@ var CommandGroup = React37.forwardRef(({ className, ...props }, ref) => /* @__PU
1799
1799
  }
1800
1800
  ));
1801
1801
  CommandGroup.displayName = Command$1.Group.displayName;
1802
- var CommandSeparator = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1802
+ var CommandSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1803
1803
  Command$1.Separator,
1804
1804
  {
1805
1805
  ref,
@@ -1808,7 +1808,7 @@ var CommandSeparator = React37.forwardRef(({ className, ...props }, ref) => /* @
1808
1808
  }
1809
1809
  ));
1810
1810
  CommandSeparator.displayName = Command$1.Separator.displayName;
1811
- var CommandItem = React37.forwardRef(({ className, ...props }, ref) => {
1811
+ var CommandItem = React38.forwardRef(({ className, ...props }, ref) => {
1812
1812
  const mode = useUIVariant();
1813
1813
  return /* @__PURE__ */ jsx(
1814
1814
  Command$1.Item,
@@ -1851,7 +1851,7 @@ var ContextMenuGroup = ContextMenuPrimitive.Group;
1851
1851
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
1852
1852
  var ContextMenuSub = ContextMenuPrimitive.Sub;
1853
1853
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
1854
- var ContextMenuSubTrigger = React37.forwardRef(({ className, inset, children, ...props }, ref) => {
1854
+ var ContextMenuSubTrigger = React38.forwardRef(({ className, inset, children, ...props }, ref) => {
1855
1855
  const mode = useUIVariant();
1856
1856
  return /* @__PURE__ */ jsxs(
1857
1857
  ContextMenuPrimitive.SubTrigger,
@@ -1874,7 +1874,7 @@ var ContextMenuSubTrigger = React37.forwardRef(({ className, inset, children, ..
1874
1874
  );
1875
1875
  });
1876
1876
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
1877
- var ContextMenuSubContent = React37.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1877
+ var ContextMenuSubContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1878
1878
  const inheritedMode = useUIVariant();
1879
1879
  const mode = modeProp ?? inheritedMode;
1880
1880
  return /* @__PURE__ */ jsx(
@@ -1894,7 +1894,7 @@ var ContextMenuSubContent = React37.forwardRef(({ className, mode: modeProp, chi
1894
1894
  );
1895
1895
  });
1896
1896
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
1897
- var ContextMenuContent = React37.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1897
+ var ContextMenuContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1898
1898
  const inheritedMode = useUIVariant();
1899
1899
  const mode = modeProp ?? inheritedMode;
1900
1900
  return /* @__PURE__ */ jsx(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
@@ -1914,7 +1914,7 @@ var ContextMenuContent = React37.forwardRef(({ className, mode: modeProp, childr
1914
1914
  ) });
1915
1915
  });
1916
1916
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
1917
- var ContextMenuItem = React37.forwardRef(({ className, inset, ...props }, ref) => {
1917
+ var ContextMenuItem = React38.forwardRef(({ className, inset, ...props }, ref) => {
1918
1918
  const mode = useUIVariant();
1919
1919
  return /* @__PURE__ */ jsx(
1920
1920
  ContextMenuPrimitive.Item,
@@ -1933,7 +1933,7 @@ var ContextMenuItem = React37.forwardRef(({ className, inset, ...props }, ref) =
1933
1933
  );
1934
1934
  });
1935
1935
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
1936
- var ContextMenuCheckboxItem = React37.forwardRef(({ className, children, checked, ...props }, ref) => {
1936
+ var ContextMenuCheckboxItem = React38.forwardRef(({ className, children, checked, ...props }, ref) => {
1937
1937
  const mode = useUIVariant();
1938
1938
  return /* @__PURE__ */ jsxs(
1939
1939
  ContextMenuPrimitive.CheckboxItem,
@@ -1956,7 +1956,7 @@ var ContextMenuCheckboxItem = React37.forwardRef(({ className, children, checked
1956
1956
  );
1957
1957
  });
1958
1958
  ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
1959
- var ContextMenuRadioItem = React37.forwardRef(({ className, children, ...props }, ref) => {
1959
+ var ContextMenuRadioItem = React38.forwardRef(({ className, children, ...props }, ref) => {
1960
1960
  const mode = useUIVariant();
1961
1961
  return /* @__PURE__ */ jsxs(
1962
1962
  ContextMenuPrimitive.RadioItem,
@@ -1978,7 +1978,7 @@ var ContextMenuRadioItem = React37.forwardRef(({ className, children, ...props }
1978
1978
  );
1979
1979
  });
1980
1980
  ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
1981
- var ContextMenuLabel = React37.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1981
+ var ContextMenuLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1982
1982
  ContextMenuPrimitive.Label,
1983
1983
  {
1984
1984
  ref,
@@ -1991,7 +1991,7 @@ var ContextMenuLabel = React37.forwardRef(({ className, inset, ...props }, ref)
1991
1991
  }
1992
1992
  ));
1993
1993
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
1994
- var ContextMenuSeparator = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1994
+ var ContextMenuSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1995
1995
  ContextMenuPrimitive.Separator,
1996
1996
  {
1997
1997
  ref,
@@ -2033,7 +2033,7 @@ Drawer.displayName = "Drawer";
2033
2033
  var DrawerTrigger = Drawer$1.Trigger;
2034
2034
  var DrawerPortal = Drawer$1.Portal;
2035
2035
  var DrawerClose = Drawer$1.Close;
2036
- var DrawerOverlay = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2036
+ var DrawerOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2037
2037
  Drawer$1.Overlay,
2038
2038
  {
2039
2039
  ref,
@@ -2042,7 +2042,7 @@ var DrawerOverlay = React37.forwardRef(({ className, ...props }, ref) => /* @__P
2042
2042
  }
2043
2043
  ));
2044
2044
  DrawerOverlay.displayName = Drawer$1.Overlay.displayName;
2045
- var DrawerContent = React37.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
2045
+ var DrawerContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
2046
2046
  const mode = modeProp ?? useUIVariant();
2047
2047
  return /* @__PURE__ */ jsxs(DrawerPortal, { children: [
2048
2048
  /* @__PURE__ */ jsx(DrawerOverlay, {}),
@@ -2089,7 +2089,7 @@ var DrawerFooter = ({
2089
2089
  }
2090
2090
  );
2091
2091
  DrawerFooter.displayName = "DrawerFooter";
2092
- var DrawerTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2092
+ var DrawerTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2093
2093
  Drawer$1.Title,
2094
2094
  {
2095
2095
  ref,
@@ -2101,7 +2101,7 @@ var DrawerTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PUR
2101
2101
  }
2102
2102
  ));
2103
2103
  DrawerTitle.displayName = Drawer$1.Title.displayName;
2104
- var DrawerDescription = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2104
+ var DrawerDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2105
2105
  Drawer$1.Description,
2106
2106
  {
2107
2107
  ref,
@@ -2116,7 +2116,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
2116
2116
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
2117
2117
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
2118
2118
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
2119
- var DropdownMenuSubTrigger = React37.forwardRef(({ className, inset, children, ...props }, ref) => {
2119
+ var DropdownMenuSubTrigger = React38.forwardRef(({ className, inset, children, ...props }, ref) => {
2120
2120
  const mode = useUIVariant();
2121
2121
  return /* @__PURE__ */ jsxs(
2122
2122
  DropdownMenuPrimitive.SubTrigger,
@@ -2139,7 +2139,7 @@ var DropdownMenuSubTrigger = React37.forwardRef(({ className, inset, children, .
2139
2139
  );
2140
2140
  });
2141
2141
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
2142
- var DropdownMenuSubContent = React37.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
2142
+ var DropdownMenuSubContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
2143
2143
  const inheritedMode = useUIVariant();
2144
2144
  const mode = modeProp ?? inheritedMode;
2145
2145
  return /* @__PURE__ */ jsx(
@@ -2159,7 +2159,7 @@ var DropdownMenuSubContent = React37.forwardRef(({ className, mode: modeProp, ch
2159
2159
  );
2160
2160
  });
2161
2161
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
2162
- var DropdownMenuContent = React37.forwardRef(({ className, sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
2162
+ var DropdownMenuContent = React38.forwardRef(({ className, sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
2163
2163
  const inheritedMode = useUIVariant();
2164
2164
  const mode = modeProp ?? inheritedMode;
2165
2165
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
@@ -2180,7 +2180,7 @@ var DropdownMenuContent = React37.forwardRef(({ className, sideOffset = 4, mode:
2180
2180
  ) });
2181
2181
  });
2182
2182
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
2183
- var DropdownMenuItem = React37.forwardRef(({ className, inset, ...props }, ref) => {
2183
+ var DropdownMenuItem = React38.forwardRef(({ className, inset, ...props }, ref) => {
2184
2184
  const mode = useUIVariant();
2185
2185
  return /* @__PURE__ */ jsx(
2186
2186
  DropdownMenuPrimitive.Item,
@@ -2199,7 +2199,7 @@ var DropdownMenuItem = React37.forwardRef(({ className, inset, ...props }, ref)
2199
2199
  );
2200
2200
  });
2201
2201
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
2202
- var DropdownMenuCheckboxItem = React37.forwardRef(({ className, children, checked, ...props }, ref) => {
2202
+ var DropdownMenuCheckboxItem = React38.forwardRef(({ className, children, checked, ...props }, ref) => {
2203
2203
  const mode = useUIVariant();
2204
2204
  return /* @__PURE__ */ jsxs(
2205
2205
  DropdownMenuPrimitive.CheckboxItem,
@@ -2222,7 +2222,7 @@ var DropdownMenuCheckboxItem = React37.forwardRef(({ className, children, checke
2222
2222
  );
2223
2223
  });
2224
2224
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
2225
- var DropdownMenuRadioItem = React37.forwardRef(({ className, children, ...props }, ref) => {
2225
+ var DropdownMenuRadioItem = React38.forwardRef(({ className, children, ...props }, ref) => {
2226
2226
  const mode = useUIVariant();
2227
2227
  return /* @__PURE__ */ jsxs(
2228
2228
  DropdownMenuPrimitive.RadioItem,
@@ -2244,7 +2244,7 @@ var DropdownMenuRadioItem = React37.forwardRef(({ className, children, ...props
2244
2244
  );
2245
2245
  });
2246
2246
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
2247
- var DropdownMenuLabel = React37.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2247
+ var DropdownMenuLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2248
2248
  DropdownMenuPrimitive.Label,
2249
2249
  {
2250
2250
  ref,
@@ -2257,7 +2257,7 @@ var DropdownMenuLabel = React37.forwardRef(({ className, inset, ...props }, ref)
2257
2257
  }
2258
2258
  ));
2259
2259
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
2260
- var DropdownMenuSeparator = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2260
+ var DropdownMenuSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2261
2261
  DropdownMenuPrimitive.Separator,
2262
2262
  {
2263
2263
  ref,
@@ -2388,7 +2388,7 @@ var labelVariants = cva(
2388
2388
  }
2389
2389
  }
2390
2390
  );
2391
- var Label3 = React37.forwardRef(({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(
2391
+ var Label3 = React38.forwardRef(({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(
2392
2392
  LabelPrimitive.Root,
2393
2393
  {
2394
2394
  ref,
@@ -2615,15 +2615,15 @@ function FieldError({
2615
2615
  );
2616
2616
  }
2617
2617
  var Form = FormProvider;
2618
- var FormFieldContext = React37.createContext(null);
2618
+ var FormFieldContext = React38.createContext(null);
2619
2619
  var FormField = ({
2620
2620
  ...props
2621
2621
  }) => {
2622
2622
  return /* @__PURE__ */ jsx(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx(Controller, { ...props }) });
2623
2623
  };
2624
2624
  var useFormField = () => {
2625
- const fieldContext = React37.useContext(FormFieldContext);
2626
- const itemContext = React37.useContext(FormItemContext);
2625
+ const fieldContext = React38.useContext(FormFieldContext);
2626
+ const itemContext = React38.useContext(FormItemContext);
2627
2627
  const { getFieldState, formState } = useFormContext();
2628
2628
  if (!fieldContext) {
2629
2629
  throw new Error("useFormField should be used within <FormField>");
@@ -2642,13 +2642,13 @@ var useFormField = () => {
2642
2642
  ...fieldState
2643
2643
  };
2644
2644
  };
2645
- var FormItemContext = React37.createContext(null);
2646
- var FormItem = React37.forwardRef(({ className, ...props }, ref) => {
2647
- const id = React37.useId();
2645
+ var FormItemContext = React38.createContext(null);
2646
+ var FormItem = React38.forwardRef(({ className, ...props }, ref) => {
2647
+ const id = React38.useId();
2648
2648
  return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-2", className), ...props }) });
2649
2649
  });
2650
2650
  FormItem.displayName = "FormItem";
2651
- var FormLabel = React37.forwardRef(({ className, ...props }, ref) => {
2651
+ var FormLabel = React38.forwardRef(({ className, ...props }, ref) => {
2652
2652
  const { error, formItemId } = useFormField();
2653
2653
  return /* @__PURE__ */ jsx(
2654
2654
  Label3,
@@ -2661,7 +2661,7 @@ var FormLabel = React37.forwardRef(({ className, ...props }, ref) => {
2661
2661
  );
2662
2662
  });
2663
2663
  FormLabel.displayName = "FormLabel";
2664
- var FormControl = React37.forwardRef(({ ...props }, ref) => {
2664
+ var FormControl = React38.forwardRef(({ ...props }, ref) => {
2665
2665
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
2666
2666
  return /* @__PURE__ */ jsx(
2667
2667
  Slot,
@@ -2675,7 +2675,7 @@ var FormControl = React37.forwardRef(({ ...props }, ref) => {
2675
2675
  );
2676
2676
  });
2677
2677
  FormControl.displayName = "FormControl";
2678
- var FormDescription = React37.forwardRef(({ className, ...props }, ref) => {
2678
+ var FormDescription = React38.forwardRef(({ className, ...props }, ref) => {
2679
2679
  const { formDescriptionId } = useFormField();
2680
2680
  return /* @__PURE__ */ jsx(
2681
2681
  "p",
@@ -2688,7 +2688,7 @@ var FormDescription = React37.forwardRef(({ className, ...props }, ref) => {
2688
2688
  );
2689
2689
  });
2690
2690
  FormDescription.displayName = "FormDescription";
2691
- var FormMessage = React37.forwardRef(({ className, children, ...props }, ref) => {
2691
+ var FormMessage = React38.forwardRef(({ className, children, ...props }, ref) => {
2692
2692
  const { error, formMessageId } = useFormField();
2693
2693
  const body = error ? String(error?.message ?? "") : children;
2694
2694
  if (!body) {
@@ -2708,7 +2708,7 @@ var FormMessage = React37.forwardRef(({ className, children, ...props }, ref) =>
2708
2708
  FormMessage.displayName = "FormMessage";
2709
2709
  var HoverCard = HoverCardPrimitive.Root;
2710
2710
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
2711
- var HoverCardContent = React37.forwardRef(({ className, align = "center", sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
2711
+ var HoverCardContent = React38.forwardRef(({ className, align = "center", sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
2712
2712
  const inheritedMode = useUIVariant();
2713
2713
  const mode = modeProp ?? inheritedMode;
2714
2714
  return /* @__PURE__ */ jsx(
@@ -2730,15 +2730,18 @@ var HoverCardContent = React37.forwardRef(({ className, align = "center", sideOf
2730
2730
  );
2731
2731
  });
2732
2732
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
2733
- var Input = React37.forwardRef(
2733
+ var inputBase = "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm aria-invalid:border-destructive aria-invalid:focus-visible:ring-destructive/20";
2734
+ var inputPlayfulBacking = "absolute inset-0 z-0 translate-x-[3px] translate-y-[3px] -rotate-[0.4deg] rounded-md bg-foreground/8 transition-transform duration-200 group-hover/playful:-rotate-[1deg] group-focus-within/playful:-rotate-[1deg] dark:bg-foreground/10";
2735
+ var Input = React38.forwardRef(
2734
2736
  ({ className, type, mode: modeProp, ...props }, ref) => {
2735
- const mode = modeProp ?? useUIVariant();
2737
+ const contextMode = useUIVariant();
2738
+ const mode = modeProp ?? contextMode;
2736
2739
  const input = /* @__PURE__ */ jsx(
2737
2740
  "input",
2738
2741
  {
2739
2742
  type,
2740
2743
  className: cn(
2741
- "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm aria-invalid:border-destructive aria-invalid:focus-visible:ring-destructive/20",
2744
+ inputBase,
2742
2745
  mode === "smooth" && "rounded-full",
2743
2746
  mode === "playful" && "relative z-10",
2744
2747
  mode === "glass" && glassControl,
@@ -2750,13 +2753,7 @@ var Input = React37.forwardRef(
2750
2753
  );
2751
2754
  if (mode === "playful") {
2752
2755
  return /* @__PURE__ */ jsxs("span", { className: "group/playful relative inline-flex w-full", children: [
2753
- /* @__PURE__ */ jsx(
2754
- "span",
2755
- {
2756
- "aria-hidden": "true",
2757
- className: "absolute inset-0 z-0 translate-x-[3px] translate-y-[3px] -rotate-[0.4deg] rounded-md bg-foreground/8 transition-transform duration-200 group-hover/playful:-rotate-[1deg] group-focus-within/playful:-rotate-[1deg] dark:bg-foreground/10"
2758
- }
2759
- ),
2756
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: inputPlayfulBacking }),
2760
2757
  input
2761
2758
  ] });
2762
2759
  }
@@ -2769,7 +2766,7 @@ var textareaSizes = {
2769
2766
  default: "min-h-20 px-3 py-2 text-base md:text-sm",
2770
2767
  lg: "min-h-28 px-4 py-3 text-base"
2771
2768
  };
2772
- var Textarea = React37.forwardRef(
2769
+ var Textarea = React38.forwardRef(
2773
2770
  ({ className, size = "default", mode: modeProp, ...props }, ref) => {
2774
2771
  const mode = modeProp ?? useUIVariant();
2775
2772
  const textarea = /* @__PURE__ */ jsx(
@@ -2949,11 +2946,11 @@ function InputGroupTextarea({
2949
2946
  }
2950
2947
  );
2951
2948
  }
2952
- var InputOTPSizeContext = React37.createContext("default");
2949
+ var InputOTPSizeContext = React38.createContext("default");
2953
2950
  function useInputOTPSize() {
2954
- return React37.useContext(InputOTPSizeContext);
2951
+ return React38.useContext(InputOTPSizeContext);
2955
2952
  }
2956
- var InputOTP = React37.forwardRef(({ className, containerClassName, mode, size = "default", ...props }, ref) => {
2953
+ var InputOTP = React38.forwardRef(({ className, containerClassName, mode, size = "default", ...props }, ref) => {
2957
2954
  const otpInputProps = props;
2958
2955
  return /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(InputOTPSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx(
2959
2956
  OTPInput,
@@ -2970,10 +2967,10 @@ var InputOTP = React37.forwardRef(({ className, containerClassName, mode, size =
2970
2967
  ) }) });
2971
2968
  });
2972
2969
  InputOTP.displayName = "InputOTP";
2973
- var InputOTPGroup = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
2970
+ var InputOTPGroup = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
2974
2971
  InputOTPGroup.displayName = "InputOTPGroup";
2975
- var InputOTPSlot = React37.forwardRef(({ index, className, ...props }, ref) => {
2976
- const inputOTPContext = React37.useContext(OTPInputContext);
2972
+ var InputOTPSlot = React38.forwardRef(({ index, className, ...props }, ref) => {
2973
+ const inputOTPContext = React38.useContext(OTPInputContext);
2977
2974
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
2978
2975
  const mode = useUIVariant();
2979
2976
  const size = useInputOTPSize();
@@ -3000,8 +2997,141 @@ var InputOTPSlot = React37.forwardRef(({ index, className, ...props }, ref) => {
3000
2997
  );
3001
2998
  });
3002
2999
  InputOTPSlot.displayName = "InputOTPSlot";
3003
- var InputOTPSeparator = React37.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Dot, {}) }));
3000
+ var InputOTPSeparator = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Dot, {}) }));
3004
3001
  InputOTPSeparator.displayName = "InputOTPSeparator";
3002
+ var spinnerReset = "[appearance:textfield] [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none";
3003
+ function toNumber(value) {
3004
+ if (value === void 0 || value === null || value === "") return null;
3005
+ const parsed = Number.parseFloat(String(value));
3006
+ return Number.isNaN(parsed) ? null : parsed;
3007
+ }
3008
+ function decimalsOf(step) {
3009
+ const fraction = String(step).split(".")[1];
3010
+ return fraction ? fraction.length : 0;
3011
+ }
3012
+ function writeValue(input, next) {
3013
+ const setter = Object.getOwnPropertyDescriptor(
3014
+ window.HTMLInputElement.prototype,
3015
+ "value"
3016
+ )?.set;
3017
+ setter?.call(input, next);
3018
+ input.dispatchEvent(new Event("input", { bubbles: true }));
3019
+ }
3020
+ var NumberInput = React38.forwardRef(
3021
+ ({
3022
+ className,
3023
+ mode: modeProp,
3024
+ hideStepper = false,
3025
+ incrementLabel = "Increase",
3026
+ decrementLabel = "Decrease",
3027
+ min,
3028
+ max,
3029
+ step,
3030
+ disabled,
3031
+ ...props
3032
+ }, forwardedRef) => {
3033
+ const contextMode = useUIVariant();
3034
+ const mode = modeProp ?? contextMode;
3035
+ const innerRef = React38.useRef(null);
3036
+ React38.useImperativeHandle(forwardedRef, () => innerRef.current);
3037
+ const [current, setCurrent] = React38.useState(
3038
+ () => toNumber(props.value ?? props.defaultValue)
3039
+ );
3040
+ React38.useEffect(() => {
3041
+ if (props.value !== void 0) setCurrent(toNumber(props.value));
3042
+ }, [props.value]);
3043
+ const minNum = toNumber(min);
3044
+ const maxNum = toNumber(max);
3045
+ const stepNum = toNumber(step) ?? 1;
3046
+ const atMin = minNum !== null && current !== null && current <= minNum;
3047
+ const atMax = maxNum !== null && current !== null && current >= maxNum;
3048
+ const stepBy = (direction) => {
3049
+ const input = innerRef.current;
3050
+ if (!input || disabled) return;
3051
+ const start = toNumber(input.value);
3052
+ const base = start ?? minNum ?? 0;
3053
+ let next = start === null ? base : base + direction * stepNum;
3054
+ if (minNum !== null) next = Math.max(minNum, next);
3055
+ if (maxNum !== null) next = Math.min(maxNum, next);
3056
+ const places = decimalsOf(stepNum);
3057
+ writeValue(input, places > 0 ? next.toFixed(places) : String(next));
3058
+ input.focus();
3059
+ };
3060
+ const stepperButton = (direction) => {
3061
+ const isUp = direction === 1;
3062
+ const Icon2 = isUp ? ChevronUp : ChevronDown;
3063
+ return /* @__PURE__ */ jsx(
3064
+ "button",
3065
+ {
3066
+ type: "button",
3067
+ tabIndex: -1,
3068
+ "aria-label": isUp ? incrementLabel : decrementLabel,
3069
+ disabled: disabled || (isUp ? atMax : atMin),
3070
+ onClick: () => stepBy(direction),
3071
+ className: cn(
3072
+ "flex h-1/2 w-full items-center justify-center text-muted-foreground transition-colors",
3073
+ "hover:text-foreground hover:bg-accent/60",
3074
+ "disabled:pointer-events-none disabled:opacity-30",
3075
+ mode === "smooth" ? "rounded-full" : "rounded-sm",
3076
+ isUp ? "rounded-b-none" : "rounded-t-none"
3077
+ ),
3078
+ children: /* @__PURE__ */ jsx(Icon2, { className: "size-3", "aria-hidden": "true" })
3079
+ }
3080
+ );
3081
+ };
3082
+ const field = /* @__PURE__ */ jsxs("span", { className: cn("relative inline-flex w-full", mode === "playful" && "z-10"), children: [
3083
+ /* @__PURE__ */ jsx(
3084
+ "input",
3085
+ {
3086
+ ...props,
3087
+ type: "number",
3088
+ ref: innerRef,
3089
+ min,
3090
+ max,
3091
+ step,
3092
+ disabled,
3093
+ onInput: (event) => {
3094
+ setCurrent(toNumber(event.currentTarget.value));
3095
+ props.onInput?.(event);
3096
+ },
3097
+ className: cn(
3098
+ inputBase,
3099
+ spinnerReset,
3100
+ !hideStepper && "pr-9",
3101
+ mode === "smooth" && "rounded-full",
3102
+ mode === "glass" && glassControl,
3103
+ className
3104
+ )
3105
+ }
3106
+ ),
3107
+ !hideStepper && // Inside the border, so the control reads as one field. `tabIndex={-1}`
3108
+ // on the buttons keeps Tab moving between fields — the keyboard already
3109
+ // has ArrowUp/ArrowDown for stepping, natively, and a keyboard user
3110
+ // gains nothing from two extra stops per number.
3111
+ /* @__PURE__ */ jsxs(
3112
+ "span",
3113
+ {
3114
+ className: cn(
3115
+ "absolute inset-y-1 flex w-7 flex-col",
3116
+ mode === "smooth" ? "right-1.5" : "right-1"
3117
+ ),
3118
+ children: [
3119
+ stepperButton(1),
3120
+ stepperButton(-1)
3121
+ ]
3122
+ }
3123
+ )
3124
+ ] });
3125
+ if (mode === "playful") {
3126
+ return /* @__PURE__ */ jsxs("span", { className: "group/playful relative inline-flex w-full", children: [
3127
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: inputPlayfulBacking }),
3128
+ field
3129
+ ] });
3130
+ }
3131
+ return field;
3132
+ }
3133
+ );
3134
+ NumberInput.displayName = "NumberInput";
3005
3135
  function ItemGroup({
3006
3136
  className,
3007
3137
  mode: modeProp,
@@ -3289,7 +3419,7 @@ function MenubarSub({
3289
3419
  }) {
3290
3420
  return /* @__PURE__ */ jsx(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
3291
3421
  }
3292
- var Menubar = React37.forwardRef(({ className, mode, ...props }, ref) => /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(
3422
+ var Menubar = React38.forwardRef(({ className, mode, ...props }, ref) => /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(
3293
3423
  MenubarPrimitive.Root,
3294
3424
  {
3295
3425
  ref,
@@ -3304,7 +3434,7 @@ var Menubar = React37.forwardRef(({ className, mode, ...props }, ref) => /* @__P
3304
3434
  }
3305
3435
  ) }));
3306
3436
  Menubar.displayName = MenubarPrimitive.Root.displayName;
3307
- var MenubarTrigger = React37.forwardRef(({ className, ...props }, ref) => {
3437
+ var MenubarTrigger = React38.forwardRef(({ className, ...props }, ref) => {
3308
3438
  const mode = useUIVariant();
3309
3439
  return /* @__PURE__ */ jsx(
3310
3440
  MenubarPrimitive.Trigger,
@@ -3322,7 +3452,7 @@ var MenubarTrigger = React37.forwardRef(({ className, ...props }, ref) => {
3322
3452
  );
3323
3453
  });
3324
3454
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
3325
- var MenubarSubTrigger = React37.forwardRef(({ className, inset, children, ...props }, ref) => {
3455
+ var MenubarSubTrigger = React38.forwardRef(({ className, inset, children, ...props }, ref) => {
3326
3456
  const mode = useUIVariant();
3327
3457
  return /* @__PURE__ */ jsxs(
3328
3458
  MenubarPrimitive.SubTrigger,
@@ -3345,7 +3475,7 @@ var MenubarSubTrigger = React37.forwardRef(({ className, inset, children, ...pro
3345
3475
  );
3346
3476
  });
3347
3477
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
3348
- var MenubarSubContent = React37.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
3478
+ var MenubarSubContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
3349
3479
  const inheritedMode = useUIVariant();
3350
3480
  const mode = modeProp ?? inheritedMode;
3351
3481
  return /* @__PURE__ */ jsx(
@@ -3365,7 +3495,7 @@ var MenubarSubContent = React37.forwardRef(({ className, mode: modeProp, childre
3365
3495
  );
3366
3496
  });
3367
3497
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
3368
- var MenubarContent = React37.forwardRef(
3498
+ var MenubarContent = React38.forwardRef(
3369
3499
  ({ className, align = "start", alignOffset = -4, sideOffset = 8, mode: modeProp, children, ...props }, ref) => {
3370
3500
  const inheritedMode = useUIVariant();
3371
3501
  const mode = modeProp ?? inheritedMode;
@@ -3390,7 +3520,7 @@ var MenubarContent = React37.forwardRef(
3390
3520
  }
3391
3521
  );
3392
3522
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
3393
- var MenubarItem = React37.forwardRef(({ className, inset, ...props }, ref) => {
3523
+ var MenubarItem = React38.forwardRef(({ className, inset, ...props }, ref) => {
3394
3524
  const mode = useUIVariant();
3395
3525
  return /* @__PURE__ */ jsx(
3396
3526
  MenubarPrimitive.Item,
@@ -3409,7 +3539,7 @@ var MenubarItem = React37.forwardRef(({ className, inset, ...props }, ref) => {
3409
3539
  );
3410
3540
  });
3411
3541
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
3412
- var MenubarCheckboxItem = React37.forwardRef(({ className, children, checked, ...props }, ref) => {
3542
+ var MenubarCheckboxItem = React38.forwardRef(({ className, children, checked, ...props }, ref) => {
3413
3543
  const mode = useUIVariant();
3414
3544
  return /* @__PURE__ */ jsxs(
3415
3545
  MenubarPrimitive.CheckboxItem,
@@ -3432,7 +3562,7 @@ var MenubarCheckboxItem = React37.forwardRef(({ className, children, checked, ..
3432
3562
  );
3433
3563
  });
3434
3564
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
3435
- var MenubarRadioItem = React37.forwardRef(({ className, children, ...props }, ref) => {
3565
+ var MenubarRadioItem = React38.forwardRef(({ className, children, ...props }, ref) => {
3436
3566
  const mode = useUIVariant();
3437
3567
  return /* @__PURE__ */ jsxs(
3438
3568
  MenubarPrimitive.RadioItem,
@@ -3454,7 +3584,7 @@ var MenubarRadioItem = React37.forwardRef(({ className, children, ...props }, re
3454
3584
  );
3455
3585
  });
3456
3586
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
3457
- var MenubarLabel = React37.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
3587
+ var MenubarLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
3458
3588
  MenubarPrimitive.Label,
3459
3589
  {
3460
3590
  ref,
@@ -3467,7 +3597,7 @@ var MenubarLabel = React37.forwardRef(({ className, inset, ...props }, ref) => /
3467
3597
  }
3468
3598
  ));
3469
3599
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
3470
- var MenubarSeparator = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3600
+ var MenubarSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3471
3601
  MenubarPrimitive.Separator,
3472
3602
  {
3473
3603
  ref,
@@ -3495,7 +3625,7 @@ var MenubarShortcut = ({
3495
3625
  );
3496
3626
  };
3497
3627
  MenubarShortcut.displayName = "MenubarShortcut";
3498
- var NavigationMenu = React37.forwardRef(({ className, children, mode: modeProp, ...props }, ref) => {
3628
+ var NavigationMenu = React38.forwardRef(({ className, children, mode: modeProp, ...props }, ref) => {
3499
3629
  const mode = modeProp ?? useUIVariant();
3500
3630
  return /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsxs(
3501
3631
  NavigationMenuPrimitive.Root,
@@ -3514,7 +3644,7 @@ var NavigationMenu = React37.forwardRef(({ className, children, mode: modeProp,
3514
3644
  ) });
3515
3645
  });
3516
3646
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
3517
- var NavigationMenuList = React37.forwardRef(({ className, ...props }, ref) => {
3647
+ var NavigationMenuList = React38.forwardRef(({ className, ...props }, ref) => {
3518
3648
  const mode = useUIVariant();
3519
3649
  return /* @__PURE__ */ jsx(
3520
3650
  NavigationMenuPrimitive.List,
@@ -3534,7 +3664,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
3534
3664
  var navigationMenuTriggerStyle = cva(
3535
3665
  "group inline-flex h-10 w-max cursor-pointer items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
3536
3666
  );
3537
- var NavigationMenuTrigger = React37.forwardRef(({ className, children, ...props }, ref) => {
3667
+ var NavigationMenuTrigger = React38.forwardRef(({ className, children, ...props }, ref) => {
3538
3668
  const mode = useUIVariant();
3539
3669
  const trigger = /* @__PURE__ */ jsxs(
3540
3670
  NavigationMenuPrimitive.Trigger,
@@ -3576,7 +3706,7 @@ var NavigationMenuTrigger = React37.forwardRef(({ className, children, ...props
3576
3706
  return trigger;
3577
3707
  });
3578
3708
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
3579
- var NavigationMenuContent = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3709
+ var NavigationMenuContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3580
3710
  NavigationMenuPrimitive.Content,
3581
3711
  {
3582
3712
  ref,
@@ -3588,7 +3718,7 @@ var NavigationMenuContent = React37.forwardRef(({ className, ...props }, ref) =>
3588
3718
  }
3589
3719
  ));
3590
3720
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
3591
- var NavigationMenuLink = React37.forwardRef(({ className, asChild, children, ...props }, ref) => {
3721
+ var NavigationMenuLink = React38.forwardRef(({ className, asChild, children, ...props }, ref) => {
3592
3722
  const mode = useUIVariant();
3593
3723
  if (!asChild && mode === "playful") {
3594
3724
  return /* @__PURE__ */ jsxs("span", { className: "group/playful relative inline-flex", children: [
@@ -3626,7 +3756,7 @@ var NavigationMenuLink = React37.forwardRef(({ className, asChild, children, ...
3626
3756
  );
3627
3757
  });
3628
3758
  NavigationMenuLink.displayName = NavigationMenuPrimitive.Link.displayName;
3629
- var NavigationMenuViewport = React37.forwardRef(({ className, ...props }, ref) => {
3759
+ var NavigationMenuViewport = React38.forwardRef(({ className, ...props }, ref) => {
3630
3760
  const mode = useUIVariant();
3631
3761
  if (mode === "playful") {
3632
3762
  return /* @__PURE__ */ jsx("div", { className: "absolute left-0 top-full flex justify-center", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
@@ -3664,7 +3794,7 @@ var NavigationMenuViewport = React37.forwardRef(({ className, ...props }, ref) =
3664
3794
  ) });
3665
3795
  });
3666
3796
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
3667
- var NavigationMenuIndicator = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3797
+ var NavigationMenuIndicator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3668
3798
  NavigationMenuPrimitive.Indicator,
3669
3799
  {
3670
3800
  ref,
@@ -3694,7 +3824,7 @@ var Pagination = ({
3694
3824
  ) });
3695
3825
  };
3696
3826
  Pagination.displayName = "Pagination";
3697
- var PaginationContent = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3827
+ var PaginationContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3698
3828
  "ul",
3699
3829
  {
3700
3830
  ref,
@@ -3703,7 +3833,7 @@ var PaginationContent = React37.forwardRef(({ className, ...props }, ref) => /*
3703
3833
  }
3704
3834
  ));
3705
3835
  PaginationContent.displayName = "PaginationContent";
3706
- var PaginationItem = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props }));
3836
+ var PaginationItem = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props }));
3707
3837
  PaginationItem.displayName = "PaginationItem";
3708
3838
  var paginationLinkSizes = {
3709
3839
  sm: "h-9 w-9",
@@ -3800,7 +3930,7 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
3800
3930
  var Popover = PopoverPrimitive.Root;
3801
3931
  var PopoverTrigger = PopoverPrimitive.Trigger;
3802
3932
  var PopoverAnchor = PopoverPrimitive.Anchor;
3803
- var PopoverContent = React37.forwardRef(({ className, align = "center", sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
3933
+ var PopoverContent = React38.forwardRef(({ className, align = "center", sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
3804
3934
  const inheritedMode = useUIVariant();
3805
3935
  const mode = modeProp ?? inheritedMode;
3806
3936
  return /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
@@ -3823,7 +3953,7 @@ var PopoverContent = React37.forwardRef(({ className, align = "center", sideOffs
3823
3953
  ) });
3824
3954
  });
3825
3955
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
3826
- var Progress = React37.forwardRef(({ className, value, disabled = false, mode: modeProp, ...props }, ref) => {
3956
+ var Progress = React38.forwardRef(({ className, value, disabled = false, mode: modeProp, ...props }, ref) => {
3827
3957
  const mode = modeProp ?? useUIVariant();
3828
3958
  const bar = /* @__PURE__ */ jsx(
3829
3959
  ProgressPrimitive.Root,
@@ -3861,7 +3991,7 @@ var Progress = React37.forwardRef(({ className, value, disabled = false, mode: m
3861
3991
  return bar;
3862
3992
  });
3863
3993
  Progress.displayName = ProgressPrimitive.Root.displayName;
3864
- var RadioGroup4 = React37.forwardRef(({ className, ...props }, ref) => {
3994
+ var RadioGroup4 = React38.forwardRef(({ className, ...props }, ref) => {
3865
3995
  return /* @__PURE__ */ jsx(
3866
3996
  RadioGroupPrimitive.Root,
3867
3997
  {
@@ -3872,7 +4002,7 @@ var RadioGroup4 = React37.forwardRef(({ className, ...props }, ref) => {
3872
4002
  );
3873
4003
  });
3874
4004
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
3875
- var RadioGroupItem = React37.forwardRef(({ className, mode: modeProp, ...props }, ref) => {
4005
+ var RadioGroupItem = React38.forwardRef(({ className, mode: modeProp, ...props }, ref) => {
3876
4006
  const mode = modeProp ?? useUIVariant();
3877
4007
  if (mode === "playful") {
3878
4008
  return /* @__PURE__ */ jsxs("span", { className: "group/playful relative inline-flex", children: [
@@ -3939,7 +4069,7 @@ var ResizableHandle = ({
3939
4069
  children: withHandle && /* @__PURE__ */ jsx("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx(GripVertical, { className: "h-2.5 w-2.5" }) })
3940
4070
  }
3941
4071
  );
3942
- var ScrollArea = React37.forwardRef(({ className, children, scrollbars = "vertical", ...props }, ref) => /* @__PURE__ */ jsxs(
4072
+ var ScrollArea = React38.forwardRef(({ className, children, scrollbars = "vertical", ...props }, ref) => /* @__PURE__ */ jsxs(
3943
4073
  ScrollAreaPrimitive.Root,
3944
4074
  {
3945
4075
  ref,
@@ -3954,7 +4084,7 @@ var ScrollArea = React37.forwardRef(({ className, children, scrollbars = "vertic
3954
4084
  }
3955
4085
  ));
3956
4086
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
3957
- var ScrollBar = React37.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
4087
+ var ScrollBar = React38.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
3958
4088
  ScrollAreaPrimitive.ScrollAreaScrollbar,
3959
4089
  {
3960
4090
  ref,
@@ -3973,7 +4103,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
3973
4103
  var Select = SelectPrimitive.Root;
3974
4104
  var SelectGroup = SelectPrimitive.Group;
3975
4105
  var SelectValue = SelectPrimitive.Value;
3976
- var SelectTrigger = React37.forwardRef(({ className, children, mode: modeProp, size = "default", ...props }, ref) => {
4106
+ var SelectTrigger = React38.forwardRef(({ className, children, mode: modeProp, size = "default", ...props }, ref) => {
3977
4107
  const inheritedMode = useUIVariant();
3978
4108
  const mode = modeProp ?? inheritedMode;
3979
4109
  return /* @__PURE__ */ jsxs(
@@ -3998,7 +4128,7 @@ var SelectTrigger = React37.forwardRef(({ className, children, mode: modeProp, s
3998
4128
  );
3999
4129
  });
4000
4130
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
4001
- var SelectScrollUpButton = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4131
+ var SelectScrollUpButton = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4002
4132
  SelectPrimitive.ScrollUpButton,
4003
4133
  {
4004
4134
  ref,
@@ -4011,7 +4141,7 @@ var SelectScrollUpButton = React37.forwardRef(({ className, ...props }, ref) =>
4011
4141
  }
4012
4142
  ));
4013
4143
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
4014
- var SelectScrollDownButton = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4144
+ var SelectScrollDownButton = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4015
4145
  SelectPrimitive.ScrollDownButton,
4016
4146
  {
4017
4147
  ref,
@@ -4024,7 +4154,7 @@ var SelectScrollDownButton = React37.forwardRef(({ className, ...props }, ref) =
4024
4154
  }
4025
4155
  ));
4026
4156
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
4027
- var SelectContent = React37.forwardRef(({ className, children, position = "popper", mode: modeProp, ...props }, ref) => {
4157
+ var SelectContent = React38.forwardRef(({ className, children, position = "popper", mode: modeProp, ...props }, ref) => {
4028
4158
  const inheritedMode = useUIVariant();
4029
4159
  const mode = modeProp ?? inheritedMode;
4030
4160
  return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
@@ -4059,7 +4189,7 @@ var SelectContent = React37.forwardRef(({ className, children, position = "poppe
4059
4189
  ) });
4060
4190
  });
4061
4191
  SelectContent.displayName = SelectPrimitive.Content.displayName;
4062
- var SelectLabel = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4192
+ var SelectLabel = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4063
4193
  SelectPrimitive.Label,
4064
4194
  {
4065
4195
  ref,
@@ -4068,7 +4198,7 @@ var SelectLabel = React37.forwardRef(({ className, ...props }, ref) => /* @__PUR
4068
4198
  }
4069
4199
  ));
4070
4200
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
4071
- var SelectItem = React37.forwardRef(({ className, children, ...props }, ref) => {
4201
+ var SelectItem = React38.forwardRef(({ className, children, ...props }, ref) => {
4072
4202
  const mode = useUIVariant();
4073
4203
  return /* @__PURE__ */ jsxs(
4074
4204
  SelectPrimitive.Item,
@@ -4089,7 +4219,7 @@ var SelectItem = React37.forwardRef(({ className, children, ...props }, ref) =>
4089
4219
  );
4090
4220
  });
4091
4221
  SelectItem.displayName = SelectPrimitive.Item.displayName;
4092
- var SelectSeparator = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4222
+ var SelectSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4093
4223
  SelectPrimitive.Separator,
4094
4224
  {
4095
4225
  ref,
@@ -4102,7 +4232,7 @@ var Sheet = DialogPrimitive.Root;
4102
4232
  var SheetTrigger = DialogPrimitive.Trigger;
4103
4233
  var SheetClose = DialogPrimitive.Close;
4104
4234
  var SheetPortal = DialogPrimitive.Portal;
4105
- var SheetOverlay = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4235
+ var SheetOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4106
4236
  DialogPrimitive.Overlay,
4107
4237
  {
4108
4238
  className: cn(
@@ -4142,7 +4272,7 @@ var sideRoundingPlayful = {
4142
4272
  top: "rounded-b-xl",
4143
4273
  bottom: "rounded-t-xl"
4144
4274
  };
4145
- var SheetContent = React37.forwardRef(({ side = "right", className, children, container, mode: modeProp, ...props }, ref) => {
4275
+ var SheetContent = React38.forwardRef(({ side = "right", className, children, container, mode: modeProp, ...props }, ref) => {
4146
4276
  const mode = modeProp ?? useUIVariant();
4147
4277
  return /* @__PURE__ */ jsxs(SheetPortal, { container: container ?? void 0, children: [
4148
4278
  /* @__PURE__ */ jsx(SheetOverlay, {}),
@@ -4197,7 +4327,7 @@ var SheetFooter = ({
4197
4327
  }
4198
4328
  );
4199
4329
  SheetFooter.displayName = "SheetFooter";
4200
- var SheetTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4330
+ var SheetTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4201
4331
  DialogPrimitive.Title,
4202
4332
  {
4203
4333
  ref,
@@ -4206,7 +4336,7 @@ var SheetTitle = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE
4206
4336
  }
4207
4337
  ));
4208
4338
  SheetTitle.displayName = DialogPrimitive.Title.displayName;
4209
- var SheetDescription = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4339
+ var SheetDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4210
4340
  DialogPrimitive.Description,
4211
4341
  {
4212
4342
  ref,
@@ -4217,8 +4347,8 @@ var SheetDescription = React37.forwardRef(({ className, ...props }, ref) => /* @
4217
4347
  SheetDescription.displayName = DialogPrimitive.Description.displayName;
4218
4348
  var MOBILE_BREAKPOINT = 768;
4219
4349
  function useIsMobile() {
4220
- const [isMobile, setIsMobile] = React37.useState(void 0);
4221
- React37.useEffect(() => {
4350
+ const [isMobile, setIsMobile] = React38.useState(void 0);
4351
+ React38.useEffect(() => {
4222
4352
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
4223
4353
  const onChange = () => {
4224
4354
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -4244,7 +4374,7 @@ function Skeleton({
4244
4374
  var TooltipProvider = TooltipPrimitive.Provider;
4245
4375
  var Tooltip2 = TooltipPrimitive.Root;
4246
4376
  var TooltipTrigger = TooltipPrimitive.Trigger;
4247
- var TooltipContent = React37.forwardRef(({ className, sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
4377
+ var TooltipContent = React38.forwardRef(({ className, sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
4248
4378
  const mode = modeProp ?? useUIVariant();
4249
4379
  return /* @__PURE__ */ jsx(
4250
4380
  TooltipPrimitive.Content,
@@ -4270,15 +4400,15 @@ var SIDEBAR_WIDTH = "16rem";
4270
4400
  var SIDEBAR_WIDTH_MOBILE = "18rem";
4271
4401
  var SIDEBAR_WIDTH_ICON = "3rem";
4272
4402
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
4273
- var SidebarContext = React37.createContext(null);
4403
+ var SidebarContext = React38.createContext(null);
4274
4404
  function useSidebar() {
4275
- const context = React37.useContext(SidebarContext);
4405
+ const context = React38.useContext(SidebarContext);
4276
4406
  if (!context) {
4277
4407
  throw new Error("useSidebar must be used within a SidebarProvider.");
4278
4408
  }
4279
4409
  return context;
4280
4410
  }
4281
- var SidebarProvider = React37.forwardRef(
4411
+ var SidebarProvider = React38.forwardRef(
4282
4412
  ({
4283
4413
  defaultOpen = true,
4284
4414
  open: openProp,
@@ -4293,14 +4423,14 @@ var SidebarProvider = React37.forwardRef(
4293
4423
  ...props
4294
4424
  }, ref) => {
4295
4425
  const viewportIsMobile = useIsMobile();
4296
- const wrapperRef = React37.useRef(null);
4297
- const [portalContainer, setPortalContainer] = React37.useState(null);
4298
- const [isContainerMobile, setIsContainerMobile] = React37.useState(null);
4426
+ const wrapperRef = React38.useRef(null);
4427
+ const [portalContainer, setPortalContainer] = React38.useState(null);
4428
+ const [isContainerMobile, setIsContainerMobile] = React38.useState(null);
4299
4429
  const isMobile = isContainerMobile ?? viewportIsMobile;
4300
- const [openMobile, setOpenMobile] = React37.useState(false);
4301
- const [_open, _setOpen] = React37.useState(defaultOpen);
4430
+ const [openMobile, setOpenMobile] = React38.useState(false);
4431
+ const [_open, _setOpen] = React38.useState(defaultOpen);
4302
4432
  const open = openProp ?? _open;
4303
- const setOpen = React37.useCallback(
4433
+ const setOpen = React38.useCallback(
4304
4434
  (value) => {
4305
4435
  const openState = typeof value === "function" ? value(open) : value;
4306
4436
  if (setOpenProp) {
@@ -4312,10 +4442,10 @@ var SidebarProvider = React37.forwardRef(
4312
4442
  },
4313
4443
  [setOpenProp, open]
4314
4444
  );
4315
- const toggleSidebar = React37.useCallback(() => {
4445
+ const toggleSidebar = React38.useCallback(() => {
4316
4446
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
4317
4447
  }, [isMobile, setOpen, setOpenMobile]);
4318
- React37.useEffect(() => {
4448
+ React38.useEffect(() => {
4319
4449
  const node = wrapperRef.current;
4320
4450
  if (!node) return;
4321
4451
  setPortalContainer(node.ownerDocument?.body ?? null);
@@ -4335,7 +4465,7 @@ var SidebarProvider = React37.forwardRef(
4335
4465
  observer.observe(node);
4336
4466
  return () => observer.disconnect();
4337
4467
  }, [mobileBreakpoint]);
4338
- React37.useEffect(() => {
4468
+ React38.useEffect(() => {
4339
4469
  const handleKeyDown = (event) => {
4340
4470
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
4341
4471
  event.preventDefault();
@@ -4346,7 +4476,7 @@ var SidebarProvider = React37.forwardRef(
4346
4476
  return () => window.removeEventListener("keydown", handleKeyDown);
4347
4477
  }, [toggleSidebar]);
4348
4478
  const state = open ? "expanded" : "collapsed";
4349
- const contextValue = React37.useMemo(
4479
+ const contextValue = React38.useMemo(
4350
4480
  () => ({
4351
4481
  state,
4352
4482
  open,
@@ -4396,7 +4526,7 @@ var SidebarProvider = React37.forwardRef(
4396
4526
  }
4397
4527
  );
4398
4528
  SidebarProvider.displayName = "SidebarProvider";
4399
- var Sidebar = React37.forwardRef(
4529
+ var Sidebar = React38.forwardRef(
4400
4530
  ({
4401
4531
  side = "left",
4402
4532
  variant = "sidebar",
@@ -4530,7 +4660,7 @@ var Sidebar = React37.forwardRef(
4530
4660
  }
4531
4661
  );
4532
4662
  Sidebar.displayName = "Sidebar";
4533
- var SidebarTrigger = React37.forwardRef(({ className, onClick, ...props }, ref) => {
4663
+ var SidebarTrigger = React38.forwardRef(({ className, onClick, ...props }, ref) => {
4534
4664
  const { toggleSidebar } = useSidebar();
4535
4665
  return /* @__PURE__ */ jsxs(
4536
4666
  Button,
@@ -4553,7 +4683,7 @@ var SidebarTrigger = React37.forwardRef(({ className, onClick, ...props }, ref)
4553
4683
  );
4554
4684
  });
4555
4685
  SidebarTrigger.displayName = "SidebarTrigger";
4556
- var SidebarRail = React37.forwardRef(({ className, ...props }, ref) => {
4686
+ var SidebarRail = React38.forwardRef(({ className, ...props }, ref) => {
4557
4687
  const { toggleSidebar } = useSidebar();
4558
4688
  return /* @__PURE__ */ jsx(
4559
4689
  "button",
@@ -4578,7 +4708,7 @@ var SidebarRail = React37.forwardRef(({ className, ...props }, ref) => {
4578
4708
  );
4579
4709
  });
4580
4710
  SidebarRail.displayName = "SidebarRail";
4581
- var SidebarInset = React37.forwardRef(({ className, ...props }, ref) => {
4711
+ var SidebarInset = React38.forwardRef(({ className, ...props }, ref) => {
4582
4712
  return /* @__PURE__ */ jsx(
4583
4713
  "main",
4584
4714
  {
@@ -4595,7 +4725,7 @@ var SidebarInset = React37.forwardRef(({ className, ...props }, ref) => {
4595
4725
  );
4596
4726
  });
4597
4727
  SidebarInset.displayName = "SidebarInset";
4598
- var SidebarInput = React37.forwardRef(({ className, ...props }, ref) => {
4728
+ var SidebarInput = React38.forwardRef(({ className, ...props }, ref) => {
4599
4729
  return /* @__PURE__ */ jsx(
4600
4730
  Input,
4601
4731
  {
@@ -4610,7 +4740,7 @@ var SidebarInput = React37.forwardRef(({ className, ...props }, ref) => {
4610
4740
  );
4611
4741
  });
4612
4742
  SidebarInput.displayName = "SidebarInput";
4613
- var SidebarHeader = React37.forwardRef(({ className, ...props }, ref) => {
4743
+ var SidebarHeader = React38.forwardRef(({ className, ...props }, ref) => {
4614
4744
  return /* @__PURE__ */ jsx(
4615
4745
  "div",
4616
4746
  {
@@ -4622,7 +4752,7 @@ var SidebarHeader = React37.forwardRef(({ className, ...props }, ref) => {
4622
4752
  );
4623
4753
  });
4624
4754
  SidebarHeader.displayName = "SidebarHeader";
4625
- var SidebarFooter = React37.forwardRef(({ className, ...props }, ref) => {
4755
+ var SidebarFooter = React38.forwardRef(({ className, ...props }, ref) => {
4626
4756
  return /* @__PURE__ */ jsx(
4627
4757
  "div",
4628
4758
  {
@@ -4634,7 +4764,7 @@ var SidebarFooter = React37.forwardRef(({ className, ...props }, ref) => {
4634
4764
  );
4635
4765
  });
4636
4766
  SidebarFooter.displayName = "SidebarFooter";
4637
- var SidebarSeparator = React37.forwardRef(({ className, ...props }, ref) => {
4767
+ var SidebarSeparator = React38.forwardRef(({ className, ...props }, ref) => {
4638
4768
  return /* @__PURE__ */ jsx(
4639
4769
  Separator,
4640
4770
  {
@@ -4646,7 +4776,7 @@ var SidebarSeparator = React37.forwardRef(({ className, ...props }, ref) => {
4646
4776
  );
4647
4777
  });
4648
4778
  SidebarSeparator.displayName = "SidebarSeparator";
4649
- var SidebarContent = React37.forwardRef(({ className, ...props }, ref) => {
4779
+ var SidebarContent = React38.forwardRef(({ className, ...props }, ref) => {
4650
4780
  return /* @__PURE__ */ jsx(
4651
4781
  "div",
4652
4782
  {
@@ -4661,7 +4791,7 @@ var SidebarContent = React37.forwardRef(({ className, ...props }, ref) => {
4661
4791
  );
4662
4792
  });
4663
4793
  SidebarContent.displayName = "SidebarContent";
4664
- var SidebarGroup = React37.forwardRef(({ className, ...props }, ref) => {
4794
+ var SidebarGroup = React38.forwardRef(({ className, ...props }, ref) => {
4665
4795
  return /* @__PURE__ */ jsx(
4666
4796
  "div",
4667
4797
  {
@@ -4673,7 +4803,7 @@ var SidebarGroup = React37.forwardRef(({ className, ...props }, ref) => {
4673
4803
  );
4674
4804
  });
4675
4805
  SidebarGroup.displayName = "SidebarGroup";
4676
- var SidebarGroupLabel = React37.forwardRef(({ className, asChild = false, ...props }, ref) => {
4806
+ var SidebarGroupLabel = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
4677
4807
  const Comp = asChild ? Slot : "div";
4678
4808
  return /* @__PURE__ */ jsx(
4679
4809
  Comp,
@@ -4690,7 +4820,7 @@ var SidebarGroupLabel = React37.forwardRef(({ className, asChild = false, ...pro
4690
4820
  );
4691
4821
  });
4692
4822
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
4693
- var SidebarGroupAction = React37.forwardRef(({ className, asChild = false, ...props }, ref) => {
4823
+ var SidebarGroupAction = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
4694
4824
  const Comp = asChild ? Slot : "button";
4695
4825
  return /* @__PURE__ */ jsx(
4696
4826
  Comp,
@@ -4709,7 +4839,7 @@ var SidebarGroupAction = React37.forwardRef(({ className, asChild = false, ...pr
4709
4839
  );
4710
4840
  });
4711
4841
  SidebarGroupAction.displayName = "SidebarGroupAction";
4712
- var SidebarGroupContent = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4842
+ var SidebarGroupContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4713
4843
  "div",
4714
4844
  {
4715
4845
  ref,
@@ -4719,7 +4849,7 @@ var SidebarGroupContent = React37.forwardRef(({ className, ...props }, ref) => /
4719
4849
  }
4720
4850
  ));
4721
4851
  SidebarGroupContent.displayName = "SidebarGroupContent";
4722
- var SidebarMenu = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4852
+ var SidebarMenu = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4723
4853
  "ul",
4724
4854
  {
4725
4855
  ref,
@@ -4729,7 +4859,7 @@ var SidebarMenu = React37.forwardRef(({ className, ...props }, ref) => /* @__PUR
4729
4859
  }
4730
4860
  ));
4731
4861
  SidebarMenu.displayName = "SidebarMenu";
4732
- var SidebarMenuItem = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4862
+ var SidebarMenuItem = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4733
4863
  "li",
4734
4864
  {
4735
4865
  ref,
@@ -4764,7 +4894,7 @@ var sidebarMenuButtonVariants = cva(
4764
4894
  }
4765
4895
  }
4766
4896
  );
4767
- var SidebarMenuButton = React37.forwardRef(
4897
+ var SidebarMenuButton = React38.forwardRef(
4768
4898
  ({
4769
4899
  asChild = false,
4770
4900
  isActive = false,
@@ -4832,7 +4962,7 @@ var SidebarMenuButton = React37.forwardRef(
4832
4962
  }
4833
4963
  );
4834
4964
  SidebarMenuButton.displayName = "SidebarMenuButton";
4835
- var SidebarMenuAction = React37.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
4965
+ var SidebarMenuAction = React38.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
4836
4966
  const Comp = asChild ? Slot : "button";
4837
4967
  return /* @__PURE__ */ jsx(
4838
4968
  Comp,
@@ -4855,7 +4985,7 @@ var SidebarMenuAction = React37.forwardRef(({ className, asChild = false, showOn
4855
4985
  );
4856
4986
  });
4857
4987
  SidebarMenuAction.displayName = "SidebarMenuAction";
4858
- var SidebarMenuBadge = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4988
+ var SidebarMenuBadge = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4859
4989
  "div",
4860
4990
  {
4861
4991
  ref,
@@ -4873,8 +5003,8 @@ var SidebarMenuBadge = React37.forwardRef(({ className, ...props }, ref) => /* @
4873
5003
  }
4874
5004
  ));
4875
5005
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
4876
- var SidebarMenuSkeleton = React37.forwardRef(({ className, showIcon = false, ...props }, ref) => {
4877
- const width = React37.useMemo(() => {
5006
+ var SidebarMenuSkeleton = React38.forwardRef(({ className, showIcon = false, ...props }, ref) => {
5007
+ const width = React38.useMemo(() => {
4878
5008
  return `${Math.floor(Math.random() * 40) + 50}%`;
4879
5009
  }, []);
4880
5010
  return /* @__PURE__ */ jsxs(
@@ -4907,7 +5037,7 @@ var SidebarMenuSkeleton = React37.forwardRef(({ className, showIcon = false, ...
4907
5037
  );
4908
5038
  });
4909
5039
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
4910
- var SidebarMenuSub = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5040
+ var SidebarMenuSub = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4911
5041
  "ul",
4912
5042
  {
4913
5043
  ref,
@@ -4921,9 +5051,9 @@ var SidebarMenuSub = React37.forwardRef(({ className, ...props }, ref) => /* @__
4921
5051
  }
4922
5052
  ));
4923
5053
  SidebarMenuSub.displayName = "SidebarMenuSub";
4924
- var SidebarMenuSubItem = React37.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
5054
+ var SidebarMenuSubItem = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
4925
5055
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
4926
- var SidebarMenuSubButton = React37.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
5056
+ var SidebarMenuSubButton = React38.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
4927
5057
  const Comp = asChild ? Slot : "a";
4928
5058
  return /* @__PURE__ */ jsx(
4929
5059
  Comp,
@@ -4955,7 +5085,7 @@ var sliderThumbSizes = {
4955
5085
  default: "h-5 w-5",
4956
5086
  lg: "h-6 w-6"
4957
5087
  };
4958
- var Slider = React37.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsxs(
5088
+ var Slider = React38.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsxs(
4959
5089
  SliderPrimitive.Root,
4960
5090
  {
4961
5091
  ref,
@@ -4989,8 +5119,8 @@ var Slider = React37.forwardRef(({ className, size = "default", ...props }, ref)
4989
5119
  ));
4990
5120
  Slider.displayName = SliderPrimitive.Root.displayName;
4991
5121
  function useDocumentTheme() {
4992
- const [theme, setTheme] = React37.useState("light");
4993
- React37.useEffect(() => {
5122
+ const [theme, setTheme] = React38.useState("light");
5123
+ React38.useEffect(() => {
4994
5124
  const root = document.documentElement;
4995
5125
  const read = () => setTheme(
4996
5126
  root.classList.contains("dark") || root.dataset.theme === "dark" ? "dark" : "light"
@@ -5113,7 +5243,7 @@ function StatusIndicator({
5113
5243
  children,
5114
5244
  ...props
5115
5245
  }) {
5116
- const hasAccessibleLabel = props["aria-label"] != null || props["aria-labelledby"] != null || React37.Children.count(children) > 0;
5246
+ const hasAccessibleLabel = props["aria-label"] != null || props["aria-labelledby"] != null || React38.Children.count(children) > 0;
5117
5247
  return /* @__PURE__ */ jsxs(
5118
5248
  "span",
5119
5249
  {
@@ -5164,7 +5294,7 @@ var switchSizes = {
5164
5294
  thumb: "size-6 data-[state=checked]:translate-x-7"
5165
5295
  }
5166
5296
  };
5167
- var Switch = React37.forwardRef(({ className, size = "default", mode: modeProp, ...props }, ref) => {
5297
+ var Switch = React38.forwardRef(({ className, size = "default", mode: modeProp, ...props }, ref) => {
5168
5298
  const mode = modeProp ?? useUIVariant();
5169
5299
  const sizes = switchSizes[size];
5170
5300
  if (mode === "playful") {
@@ -5222,7 +5352,7 @@ var Switch = React37.forwardRef(({ className, size = "default", mode: modeProp,
5222
5352
  );
5223
5353
  });
5224
5354
  Switch.displayName = SwitchPrimitives.Root.displayName;
5225
- var TableSizeContext = React37.createContext("default");
5355
+ var TableSizeContext = React38.createContext("default");
5226
5356
  var tableTextSizes = {
5227
5357
  sm: "text-xs",
5228
5358
  default: "text-sm",
@@ -5243,7 +5373,7 @@ var tableCaptionSizes = {
5243
5373
  default: "mt-4 text-sm",
5244
5374
  lg: "mt-4 text-sm"
5245
5375
  };
5246
- var Table = React37.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(TableSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx(
5376
+ var Table = React38.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(TableSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx(
5247
5377
  "table",
5248
5378
  {
5249
5379
  ref,
@@ -5252,9 +5382,9 @@ var Table = React37.forwardRef(({ className, size = "default", ...props }, ref)
5252
5382
  }
5253
5383
  ) }) }));
5254
5384
  Table.displayName = "Table";
5255
- var TableHeader = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
5385
+ var TableHeader = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
5256
5386
  TableHeader.displayName = "TableHeader";
5257
- var TableBody = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5387
+ var TableBody = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5258
5388
  "tbody",
5259
5389
  {
5260
5390
  ref,
@@ -5263,7 +5393,7 @@ var TableBody = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE_
5263
5393
  }
5264
5394
  ));
5265
5395
  TableBody.displayName = "TableBody";
5266
- var TableFooter = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5396
+ var TableFooter = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5267
5397
  "tfoot",
5268
5398
  {
5269
5399
  ref,
@@ -5275,7 +5405,7 @@ var TableFooter = React37.forwardRef(({ className, ...props }, ref) => /* @__PUR
5275
5405
  }
5276
5406
  ));
5277
5407
  TableFooter.displayName = "TableFooter";
5278
- var TableRow = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5408
+ var TableRow = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5279
5409
  "tr",
5280
5410
  {
5281
5411
  ref,
@@ -5287,8 +5417,8 @@ var TableRow = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__
5287
5417
  }
5288
5418
  ));
5289
5419
  TableRow.displayName = "TableRow";
5290
- var TableHead = React37.forwardRef(({ className, ...props }, ref) => {
5291
- const size = React37.useContext(TableSizeContext);
5420
+ var TableHead = React38.forwardRef(({ className, ...props }, ref) => {
5421
+ const size = React38.useContext(TableSizeContext);
5292
5422
  return /* @__PURE__ */ jsx(
5293
5423
  "th",
5294
5424
  {
@@ -5303,8 +5433,8 @@ var TableHead = React37.forwardRef(({ className, ...props }, ref) => {
5303
5433
  );
5304
5434
  });
5305
5435
  TableHead.displayName = "TableHead";
5306
- var TableCell = React37.forwardRef(({ className, ...props }, ref) => {
5307
- const size = React37.useContext(TableSizeContext);
5436
+ var TableCell = React38.forwardRef(({ className, ...props }, ref) => {
5437
+ const size = React38.useContext(TableSizeContext);
5308
5438
  return /* @__PURE__ */ jsx(
5309
5439
  "td",
5310
5440
  {
@@ -5319,8 +5449,8 @@ var TableCell = React37.forwardRef(({ className, ...props }, ref) => {
5319
5449
  );
5320
5450
  });
5321
5451
  TableCell.displayName = "TableCell";
5322
- var TableCaption = React37.forwardRef(({ className, ...props }, ref) => {
5323
- const size = React37.useContext(TableSizeContext);
5452
+ var TableCaption = React38.forwardRef(({ className, ...props }, ref) => {
5453
+ const size = React38.useContext(TableSizeContext);
5324
5454
  return /* @__PURE__ */ jsx(
5325
5455
  "caption",
5326
5456
  {
@@ -5331,7 +5461,7 @@ var TableCaption = React37.forwardRef(({ className, ...props }, ref) => {
5331
5461
  );
5332
5462
  });
5333
5463
  TableCaption.displayName = "TableCaption";
5334
- var TabsSizeContext = React37.createContext("default");
5464
+ var TabsSizeContext = React38.createContext("default");
5335
5465
  var tabsListSizes = {
5336
5466
  sm: "h-8 p-1",
5337
5467
  default: "h-10 p-1",
@@ -5342,13 +5472,13 @@ var tabsTriggerSizes = {
5342
5472
  default: "px-3 py-1.5 text-sm",
5343
5473
  lg: "px-4 py-2 text-sm"
5344
5474
  };
5345
- var Tabs = React37.forwardRef(({ mode: modeProp, ...props }, ref) => {
5475
+ var Tabs = React38.forwardRef(({ mode: modeProp, ...props }, ref) => {
5346
5476
  const inheritedMode = useUIVariant();
5347
5477
  const mode = modeProp ?? inheritedMode;
5348
5478
  return /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(TabsPrimitive.Root, { ref, ...props }) });
5349
5479
  });
5350
5480
  Tabs.displayName = TabsPrimitive.Root.displayName;
5351
- var TabsList = React37.forwardRef(({ className, size = "default", ...props }, ref) => {
5481
+ var TabsList = React38.forwardRef(({ className, size = "default", ...props }, ref) => {
5352
5482
  const mode = useUIVariant();
5353
5483
  return /* @__PURE__ */ jsx(TabsSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx(
5354
5484
  TabsPrimitive.List,
@@ -5366,8 +5496,8 @@ var TabsList = React37.forwardRef(({ className, size = "default", ...props }, re
5366
5496
  ) });
5367
5497
  });
5368
5498
  TabsList.displayName = TabsPrimitive.List.displayName;
5369
- var TabsTrigger = React37.forwardRef(({ className, ...props }, ref) => {
5370
- const size = React37.useContext(TabsSizeContext);
5499
+ var TabsTrigger = React38.forwardRef(({ className, ...props }, ref) => {
5500
+ const size = React38.useContext(TabsSizeContext);
5371
5501
  const mode = useUIVariant();
5372
5502
  const trigger = /* @__PURE__ */ jsx(
5373
5503
  TabsPrimitive.Trigger,
@@ -5398,7 +5528,7 @@ var TabsTrigger = React37.forwardRef(({ className, ...props }, ref) => {
5398
5528
  return trigger;
5399
5529
  });
5400
5530
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
5401
- var TabsContent = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5531
+ var TabsContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5402
5532
  TabsPrimitive.Content,
5403
5533
  {
5404
5534
  ref,
@@ -5430,7 +5560,7 @@ var toggleVariants = cva(
5430
5560
  }
5431
5561
  }
5432
5562
  );
5433
- var Toggle = React37.forwardRef(({ className, variant, size, mode: modeProp, ...props }, ref) => {
5563
+ var Toggle = React38.forwardRef(({ className, variant, size, mode: modeProp, ...props }, ref) => {
5434
5564
  const inheritedMode = useUIVariant();
5435
5565
  const mode = modeProp ?? inheritedMode;
5436
5566
  const toggle = /* @__PURE__ */ jsx(
@@ -5461,11 +5591,11 @@ var Toggle = React37.forwardRef(({ className, variant, size, mode: modeProp, ...
5461
5591
  return toggle;
5462
5592
  });
5463
5593
  Toggle.displayName = TogglePrimitive.Root.displayName;
5464
- var ToggleGroupContext = React37.createContext({
5594
+ var ToggleGroupContext = React38.createContext({
5465
5595
  size: "default",
5466
5596
  variant: "default"
5467
5597
  });
5468
- var ToggleGroup = React37.forwardRef(({ className, variant, size, mode: modeProp, children, ...props }, ref) => {
5598
+ var ToggleGroup = React38.forwardRef(({ className, variant, size, mode: modeProp, children, ...props }, ref) => {
5469
5599
  const inheritedMode = useUIVariant();
5470
5600
  const mode = modeProp ?? inheritedMode;
5471
5601
  return /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(
@@ -5479,8 +5609,8 @@ var ToggleGroup = React37.forwardRef(({ className, variant, size, mode: modeProp
5479
5609
  ) });
5480
5610
  });
5481
5611
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
5482
- var ToggleGroupItem = React37.forwardRef(({ className, children, variant, size, mode: modeProp, ...props }, ref) => {
5483
- const context = React37.useContext(ToggleGroupContext);
5612
+ var ToggleGroupItem = React38.forwardRef(({ className, children, variant, size, mode: modeProp, ...props }, ref) => {
5613
+ const context = React38.useContext(ToggleGroupContext);
5484
5614
  const inheritedMode = useUIVariant();
5485
5615
  const mode = modeProp ?? context.mode ?? inheritedMode;
5486
5616
  const item = /* @__PURE__ */ jsx(
@@ -7017,7 +7147,7 @@ function AsciiText({
7017
7147
  const isAccent = accentCols.has(cell.col);
7018
7148
  const multiAccentColor = multiAccentCols?.get(cell.col);
7019
7149
  const shineAlpha = shineBounds && shineCols.has(cell.col) ? getShineAlpha(cell.col, cell.row, 0.2, shineBounds) * (cell.ch === "\u2591" ? 0.55 : 1) : 0;
7020
- return /* @__PURE__ */ jsxs(React37.Fragment, { children: [
7150
+ return /* @__PURE__ */ jsxs(React38.Fragment, { children: [
7021
7151
  /* @__PURE__ */ jsx(
7022
7152
  "rect",
7023
7153
  {
@@ -7225,6 +7355,6 @@ function Enchanted({ children, className, hoverOnly = false, glintClassName, ...
7225
7355
  ] });
7226
7356
  }
7227
7357
 
7228
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AsciiText, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Enchanted, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item4 as Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label3 as Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeScript, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UIVariantProvider, badgeVariants, buttonGroupVariants, buttonVariants, cn, fireConfetti, navigationMenuTriggerStyle, statusIndicatorDotVariants, toggleVariants, useCopyToClipboard, useFormField, useIsMobile, useSidebar, useUIVariant };
7358
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AsciiText, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Enchanted, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item4 as Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label3 as Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NumberInput, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeScript, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UIVariantProvider, badgeVariants, buttonGroupVariants, buttonVariants, cn, fireConfetti, inputBase, inputPlayfulBacking, navigationMenuTriggerStyle, statusIndicatorDotVariants, toggleVariants, useCopyToClipboard, useFormField, useIsMobile, useSidebar, useUIVariant };
7229
7359
  //# sourceMappingURL=index.js.map
7230
7360
  //# sourceMappingURL=index.js.map