@olwiba/cn 0.1.50 → 0.1.51

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,10 +1,10 @@
1
1
  import { clsx } from 'clsx';
2
2
  import { twMerge } from 'tailwind-merge';
3
- import * as React38 from 'react';
3
+ import * as React39 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';
7
- import { ChevronDown, ArrowLeft, ArrowRight, Check, X, Search, ChevronRight, Circle, Dot, ChevronUp, PanelLeft, MoreHorizontal, ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon, ChevronLeft, GripVertical, LoaderCircle, OctagonX, TriangleAlert, Info, CircleCheck, Loader2Icon } from 'lucide-react';
7
+ import { ChevronDown, ArrowLeft, ArrowRight, Check, X, Search, ChevronRight, Circle, Dot, EyeOff, Eye, ChevronUp, PanelLeft, MoreHorizontal, ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon, ChevronLeft, GripVertical, LoaderCircle, OctagonX, TriangleAlert, Info, CircleCheck, Loader2Icon } from 'lucide-react';
8
8
  import { cva } from 'class-variance-authority';
9
9
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
10
10
  import { Slot } from '@radix-ui/react-slot';
@@ -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 = React38.createContext(void 0);
48
+ var UIVariantContext = React39.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 React38.useContext(UIVariantContext);
56
+ return React39.useContext(UIVariantContext);
57
57
  }
58
- var AccordionContext = React38.createContext({});
59
- var Accordion = React38.forwardRef(({ mode: modeProp, size, ...props }, ref) => {
58
+ var AccordionContext = React39.createContext({});
59
+ var Accordion = React39.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 = React38.forwardRef(({ className, ...props }, ref) => {
66
- const { mode } = React38.useContext(AccordionContext);
65
+ var AccordionItem = React39.forwardRef(({ className, ...props }, ref) => {
66
+ const { mode } = React39.useContext(AccordionContext);
67
67
  return /* @__PURE__ */ jsx(
68
68
  AccordionPrimitive.Item,
69
69
  {
@@ -80,8 +80,8 @@ var AccordionItem = React38.forwardRef(({ className, ...props }, ref) => {
80
80
  );
81
81
  });
82
82
  AccordionItem.displayName = "AccordionItem";
83
- var AccordionTrigger = React38.forwardRef(({ className, children, ...props }, ref) => {
84
- const { mode, size } = React38.useContext(AccordionContext);
83
+ var AccordionTrigger = React39.forwardRef(({ className, children, ...props }, ref) => {
84
+ const { mode, size } = React39.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 = React38.forwardRef(({ className, children, ...props }, re
106
106
  ) });
107
107
  });
108
108
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
109
- var AccordionContent = React38.forwardRef(({ className, children, ...props }, ref) => {
110
- const { mode, size } = React38.useContext(AccordionContext);
109
+ var AccordionContent = React39.forwardRef(({ className, children, ...props }, ref) => {
110
+ const { mode, size } = React39.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 = React38.forwardRef(({ className, variant, mode: modeProp, size, disabled, ...props }, ref) => {
144
+ var Alert = React39.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 = React38.forwardRef(({ className, variant, mode: modeProp, size, disa
162
162
  );
163
163
  });
164
164
  Alert.displayName = "Alert";
165
- var AlertTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
165
+ var AlertTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
166
166
  "h5",
167
167
  {
168
168
  ref,
@@ -171,7 +171,7 @@ var AlertTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE
171
171
  }
172
172
  ));
173
173
  AlertTitle.displayName = "AlertTitle";
174
- var AlertDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
174
+ var AlertDescription = React39.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 = React38.forwardRef(
220
+ var Button = React39.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 = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
276
+ var AlertDialogOverlay = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
277
277
  AlertDialogPrimitive.Overlay,
278
278
  {
279
279
  className: cn(
@@ -285,7 +285,7 @@ var AlertDialogOverlay = React38.forwardRef(({ className, ...props }, ref) => /*
285
285
  }
286
286
  ));
287
287
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
288
- var AlertDialogContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
288
+ var AlertDialogContent = React39.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 = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
338
+ var AlertDialogTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
339
339
  AlertDialogPrimitive.Title,
340
340
  {
341
341
  ref,
@@ -344,7 +344,7 @@ var AlertDialogTitle = React38.forwardRef(({ className, ...props }, ref) => /* @
344
344
  }
345
345
  ));
346
346
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
347
- var AlertDialogDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
347
+ var AlertDialogDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
348
348
  AlertDialogPrimitive.Description,
349
349
  {
350
350
  ref,
@@ -353,12 +353,12 @@ var AlertDialogDescription = React38.forwardRef(({ className, ...props }, ref) =
353
353
  }
354
354
  ));
355
355
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
356
- var AlertDialogAction = React38.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Action, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx(Button, { children }) }));
356
+ var AlertDialogAction = React39.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 = 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 }) }));
358
+ var AlertDialogCancel = React39.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 = React38.createContext({});
361
+ var AvatarContext = React39.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 = React38.forwardRef(({ className, mode: modeProp, size = "default", disabled, ...props }, ref) => {
398
+ var Avatar = React39.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 = React38.forwardRef(({ className, mode: modeProp, size = "default",
451
451
  ) });
452
452
  });
453
453
  Avatar.displayName = AvatarPrimitive.Root.displayName;
454
- var AvatarImage = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
454
+ var AvatarImage = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
455
455
  AvatarPrimitive.Image,
456
456
  {
457
457
  ref,
@@ -460,8 +460,8 @@ var AvatarImage = React38.forwardRef(({ className, ...props }, ref) => /* @__PUR
460
460
  }
461
461
  ));
462
462
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
463
- var AvatarFallback = React38.forwardRef(({ className, ...props }, ref) => {
464
- const { mode } = React38.useContext(AvatarContext);
463
+ var AvatarFallback = React39.forwardRef(({ className, ...props }, ref) => {
464
+ const { mode } = React39.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 = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
551
+ var Breadcrumb = React39.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 = React38.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsx(
558
+ var BreadcrumbList = React39.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsx(
559
559
  "ol",
560
560
  {
561
561
  ref,
@@ -568,7 +568,7 @@ var BreadcrumbList = React38.forwardRef(({ className, size = "default", ...props
568
568
  }
569
569
  ));
570
570
  BreadcrumbList.displayName = "BreadcrumbList";
571
- var BreadcrumbItem = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
571
+ var BreadcrumbItem = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
572
572
  "li",
573
573
  {
574
574
  ref,
@@ -577,7 +577,7 @@ var BreadcrumbItem = React38.forwardRef(({ className, ...props }, ref) => /* @__
577
577
  }
578
578
  ));
579
579
  BreadcrumbItem.displayName = "BreadcrumbItem";
580
- var BreadcrumbLink = React38.forwardRef(({ asChild, className, disabled, ...props }, ref) => {
580
+ var BreadcrumbLink = React39.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 = React38.forwardRef(({ asChild, className, disabled, ...prop
593
593
  );
594
594
  });
595
595
  BreadcrumbLink.displayName = "BreadcrumbLink";
596
- var BreadcrumbPage = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
596
+ var BreadcrumbPage = React39.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 = React38.forwardRef(
640
+ var Separator = React39.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 = React38.createContext({});
727
+ var CalendarUIContext = React39.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 } = React38.useContext(CalendarUIContext);
891
+ const { uiMode } = React39.useContext(CalendarUIContext);
892
892
  const defaultClassNames = getDefaultClassNames();
893
- const ref = React38.useRef(null);
894
- React38.useEffect(() => {
893
+ const ref = React39.useRef(null);
894
+ React39.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 = React38.forwardRef(
934
+ var Card = React39.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 = React38.forwardRef(
972
972
  }
973
973
  );
974
974
  Card.displayName = "Card";
975
- var CardHeader = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
975
+ var CardHeader = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
976
976
  "div",
977
977
  {
978
978
  ref,
@@ -981,7 +981,7 @@ var CardHeader = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE
981
981
  }
982
982
  ));
983
983
  CardHeader.displayName = "CardHeader";
984
- var CardTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
984
+ var CardTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
985
985
  "div",
986
986
  {
987
987
  ref,
@@ -993,7 +993,7 @@ var CardTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE_
993
993
  }
994
994
  ));
995
995
  CardTitle.displayName = "CardTitle";
996
- var CardDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
996
+ var CardDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
997
997
  "div",
998
998
  {
999
999
  ref,
@@ -1002,9 +1002,9 @@ var CardDescription = React38.forwardRef(({ className, ...props }, ref) => /* @_
1002
1002
  }
1003
1003
  ));
1004
1004
  CardDescription.displayName = "CardDescription";
1005
- var CardContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
1005
+ var CardContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
1006
1006
  CardContent.displayName = "CardContent";
1007
- var CardFooter = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1007
+ var CardFooter = React39.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 = React38.createContext(null);
1026
+ var CarouselContext = React39.createContext(null);
1027
1027
  function useCarousel() {
1028
- const context = React38.useContext(CarouselContext);
1028
+ const context = React39.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 = React38.forwardRef(
1032
+ var Carousel = React39.forwardRef(
1033
1033
  ({
1034
1034
  orientation = "horizontal",
1035
1035
  opts,
@@ -1047,20 +1047,20 @@ var Carousel = React38.forwardRef(
1047
1047
  { ...opts, axis: orientation === "horizontal" ? "x" : "y" },
1048
1048
  plugins
1049
1049
  );
1050
- const [canScrollPrev, setCanScrollPrev] = React38.useState(false);
1051
- const [canScrollNext, setCanScrollNext] = React38.useState(false);
1052
- const onSelect = React38.useCallback((api2) => {
1050
+ const [canScrollPrev, setCanScrollPrev] = React39.useState(false);
1051
+ const [canScrollNext, setCanScrollNext] = React39.useState(false);
1052
+ const onSelect = React39.useCallback((api2) => {
1053
1053
  if (!api2) return;
1054
1054
  setCanScrollPrev(api2.canScrollPrev());
1055
1055
  setCanScrollNext(api2.canScrollNext());
1056
1056
  }, []);
1057
- const scrollPrev = React38.useCallback(() => {
1057
+ const scrollPrev = React39.useCallback(() => {
1058
1058
  api?.scrollPrev();
1059
1059
  }, [api]);
1060
- const scrollNext = React38.useCallback(() => {
1060
+ const scrollNext = React39.useCallback(() => {
1061
1061
  api?.scrollNext();
1062
1062
  }, [api]);
1063
- const handleKeyDown = React38.useCallback(
1063
+ const handleKeyDown = React39.useCallback(
1064
1064
  (event) => {
1065
1065
  if (event.key === "ArrowLeft") {
1066
1066
  event.preventDefault();
@@ -1072,11 +1072,11 @@ var Carousel = React38.forwardRef(
1072
1072
  },
1073
1073
  [scrollPrev, scrollNext]
1074
1074
  );
1075
- React38.useEffect(() => {
1075
+ React39.useEffect(() => {
1076
1076
  if (!api || !setApi) return;
1077
1077
  setApi(api);
1078
1078
  }, [api, setApi]);
1079
- React38.useEffect(() => {
1079
+ React39.useEffect(() => {
1080
1080
  if (!api) return;
1081
1081
  onSelect(api);
1082
1082
  api.on("reInit", onSelect);
@@ -1118,7 +1118,7 @@ var Carousel = React38.forwardRef(
1118
1118
  }
1119
1119
  );
1120
1120
  Carousel.displayName = "Carousel";
1121
- var CarouselContent = React38.forwardRef(({ className, ...props }, ref) => {
1121
+ var CarouselContent = React39.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 = React38.forwardRef(({ className, ...props }, ref) => {
1130
1130
  ) });
1131
1131
  });
1132
1132
  CarouselContent.displayName = "CarouselContent";
1133
- var CarouselItem = React38.forwardRef(({ className, ...props }, ref) => {
1133
+ var CarouselItem = React39.forwardRef(({ className, ...props }, ref) => {
1134
1134
  const { orientation } = useCarousel();
1135
1135
  return /* @__PURE__ */ jsx(
1136
1136
  "div",
@@ -1148,7 +1148,7 @@ var CarouselItem = React38.forwardRef(({ className, ...props }, ref) => {
1148
1148
  );
1149
1149
  });
1150
1150
  CarouselItem.displayName = "CarouselItem";
1151
- var CarouselPrevious = React38.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1151
+ var CarouselPrevious = React39.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 = React38.forwardRef(({ className, variant = "outline", siz
1206
1206
  );
1207
1207
  });
1208
1208
  CarouselPrevious.displayName = "CarouselPrevious";
1209
- var CarouselNext = React38.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1209
+ var CarouselNext = React39.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 = React38.forwardRef(({ className, variant = "outline", size =
1265
1265
  });
1266
1266
  CarouselNext.displayName = "CarouselNext";
1267
1267
  var THEMES = { light: "", dark: ".dark" };
1268
- var ChartContext = React38.createContext(null);
1268
+ var ChartContext = React39.createContext(null);
1269
1269
  function useChart() {
1270
- const context = React38.useContext(ChartContext);
1270
+ const context = React39.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 = React38.forwardRef(({ id, className, children, config, disabled = false, ...props }, ref) => {
1277
- const uniqueId = React38.useId();
1276
+ var ChartContainer = React39.forwardRef(({ id, className, children, config, disabled = false, ...props }, ref) => {
1277
+ const uniqueId = React39.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 = React38.forwardRef(
1324
+ var ChartTooltipContent = React39.forwardRef(
1325
1325
  ({
1326
1326
  active,
1327
1327
  payload,
@@ -1338,7 +1338,7 @@ var ChartTooltipContent = React38.forwardRef(
1338
1338
  labelKey
1339
1339
  }, ref) => {
1340
1340
  const { config } = useChart();
1341
- const tooltipLabel = React38.useMemo(() => {
1341
+ const tooltipLabel = React39.useMemo(() => {
1342
1342
  if (hideLabel || !payload?.length) {
1343
1343
  return null;
1344
1344
  }
@@ -1434,7 +1434,7 @@ var ChartTooltipContent = React38.forwardRef(
1434
1434
  );
1435
1435
  ChartTooltipContent.displayName = "ChartTooltip";
1436
1436
  var ChartLegend = RechartsPrimitive.Legend;
1437
- var ChartLegendContent = React38.forwardRef(
1437
+ var ChartLegendContent = React39.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 = React38.forwardRef(({ className, mode: modeProp, ...props }, ref) => {
1495
+ var Checkbox = React39.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 = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1542
+ var DialogOverlay = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1543
1543
  DialogPrimitive.Overlay,
1544
1544
  {
1545
1545
  ref,
@@ -1551,7 +1551,7 @@ var DialogOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__P
1551
1551
  }
1552
1552
  ));
1553
1553
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1554
- var DialogContent = React38.forwardRef(({ className, mode: modeProp, presentation = "default", showCloseButton = true, children, ...props }, ref) => {
1554
+ var DialogContent = React39.forwardRef(({ className, mode: modeProp, presentation = "default", showCloseButton = true, 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 }),
@@ -1610,7 +1610,7 @@ var DialogFooter = ({
1610
1610
  }
1611
1611
  );
1612
1612
  DialogFooter.displayName = "DialogFooter";
1613
- var DialogTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1613
+ var DialogTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1614
1614
  DialogPrimitive.Title,
1615
1615
  {
1616
1616
  ref,
@@ -1622,7 +1622,7 @@ var DialogTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PUR
1622
1622
  }
1623
1623
  ));
1624
1624
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1625
- var DialogDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1625
+ var DialogDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1626
1626
  DialogPrimitive.Description,
1627
1627
  {
1628
1628
  ref,
@@ -1665,15 +1665,15 @@ function formatShortcut(shortcut, isMac) {
1665
1665
  return key ? `${modStr}+${key}` : `${modStr}+`;
1666
1666
  }
1667
1667
  function useIsMac() {
1668
- const [isMac, setIsMac] = React38.useState(false);
1669
- React38.useEffect(() => {
1668
+ const [isMac, setIsMac] = React39.useState(false);
1669
+ React39.useEffect(() => {
1670
1670
  setIsMac(
1671
1671
  typeof navigator !== "undefined" && navigator.platform.toUpperCase().includes("MAC")
1672
1672
  );
1673
1673
  }, []);
1674
1674
  return isMac;
1675
1675
  }
1676
- var Hotkey = React38.forwardRef(
1676
+ var Hotkey = React39.forwardRef(
1677
1677
  ({ shortcut, asKbd = false, mode: modeProp, className, ...props }, ref) => {
1678
1678
  const isMac = useIsMac();
1679
1679
  const content = formatShortcut(shortcut, isMac);
@@ -1722,7 +1722,7 @@ var Hotkey = React38.forwardRef(
1722
1722
  }
1723
1723
  );
1724
1724
  Hotkey.displayName = "Hotkey";
1725
- var Command = React38.forwardRef(({ className, mode, disabled, ...props }, ref) => {
1725
+ var Command = React39.forwardRef(({ className, mode, disabled, ...props }, ref) => {
1726
1726
  const inner = /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(
1727
1727
  Command$1,
1728
1728
  {
@@ -1756,7 +1756,7 @@ Command.displayName = Command$1.displayName;
1756
1756
  var CommandDialog = ({ children, ...props }) => {
1757
1757
  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 }) }) });
1758
1758
  };
1759
- var CommandInput = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1759
+ var CommandInput = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1760
1760
  /* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
1761
1761
  /* @__PURE__ */ jsx(
1762
1762
  Command$1.Input,
@@ -1771,7 +1771,7 @@ var CommandInput = React38.forwardRef(({ className, ...props }, ref) => /* @__PU
1771
1771
  )
1772
1772
  ] }));
1773
1773
  CommandInput.displayName = Command$1.Input.displayName;
1774
- var CommandList = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1774
+ var CommandList = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1775
1775
  Command$1.List,
1776
1776
  {
1777
1777
  ref,
@@ -1780,7 +1780,7 @@ var CommandList = React38.forwardRef(({ className, ...props }, ref) => /* @__PUR
1780
1780
  }
1781
1781
  ));
1782
1782
  CommandList.displayName = Command$1.List.displayName;
1783
- var CommandEmpty = React38.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1783
+ var CommandEmpty = React39.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1784
1784
  Command$1.Empty,
1785
1785
  {
1786
1786
  ref,
@@ -1789,7 +1789,7 @@ var CommandEmpty = React38.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1789
1789
  }
1790
1790
  ));
1791
1791
  CommandEmpty.displayName = Command$1.Empty.displayName;
1792
- var CommandGroup = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1792
+ var CommandGroup = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1793
1793
  Command$1.Group,
1794
1794
  {
1795
1795
  ref,
@@ -1801,7 +1801,7 @@ var CommandGroup = React38.forwardRef(({ className, ...props }, ref) => /* @__PU
1801
1801
  }
1802
1802
  ));
1803
1803
  CommandGroup.displayName = Command$1.Group.displayName;
1804
- var CommandSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1804
+ var CommandSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1805
1805
  Command$1.Separator,
1806
1806
  {
1807
1807
  ref,
@@ -1810,7 +1810,7 @@ var CommandSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @
1810
1810
  }
1811
1811
  ));
1812
1812
  CommandSeparator.displayName = Command$1.Separator.displayName;
1813
- var CommandItem = React38.forwardRef(({ className, ...props }, ref) => {
1813
+ var CommandItem = React39.forwardRef(({ className, ...props }, ref) => {
1814
1814
  const mode = useUIVariant();
1815
1815
  return /* @__PURE__ */ jsx(
1816
1816
  Command$1.Item,
@@ -1853,7 +1853,7 @@ var ContextMenuGroup = ContextMenuPrimitive.Group;
1853
1853
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
1854
1854
  var ContextMenuSub = ContextMenuPrimitive.Sub;
1855
1855
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
1856
- var ContextMenuSubTrigger = React38.forwardRef(({ className, inset, children, ...props }, ref) => {
1856
+ var ContextMenuSubTrigger = React39.forwardRef(({ className, inset, children, ...props }, ref) => {
1857
1857
  const mode = useUIVariant();
1858
1858
  return /* @__PURE__ */ jsxs(
1859
1859
  ContextMenuPrimitive.SubTrigger,
@@ -1876,7 +1876,7 @@ var ContextMenuSubTrigger = React38.forwardRef(({ className, inset, children, ..
1876
1876
  );
1877
1877
  });
1878
1878
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
1879
- var ContextMenuSubContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1879
+ var ContextMenuSubContent = React39.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1880
1880
  const inheritedMode = useUIVariant();
1881
1881
  const mode = modeProp ?? inheritedMode;
1882
1882
  return /* @__PURE__ */ jsx(
@@ -1896,7 +1896,7 @@ var ContextMenuSubContent = React38.forwardRef(({ className, mode: modeProp, chi
1896
1896
  );
1897
1897
  });
1898
1898
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
1899
- var ContextMenuContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1899
+ var ContextMenuContent = React39.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
1900
1900
  const inheritedMode = useUIVariant();
1901
1901
  const mode = modeProp ?? inheritedMode;
1902
1902
  return /* @__PURE__ */ jsx(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
@@ -1916,7 +1916,7 @@ var ContextMenuContent = React38.forwardRef(({ className, mode: modeProp, childr
1916
1916
  ) });
1917
1917
  });
1918
1918
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
1919
- var ContextMenuItem = React38.forwardRef(({ className, inset, ...props }, ref) => {
1919
+ var ContextMenuItem = React39.forwardRef(({ className, inset, ...props }, ref) => {
1920
1920
  const mode = useUIVariant();
1921
1921
  return /* @__PURE__ */ jsx(
1922
1922
  ContextMenuPrimitive.Item,
@@ -1935,7 +1935,7 @@ var ContextMenuItem = React38.forwardRef(({ className, inset, ...props }, ref) =
1935
1935
  );
1936
1936
  });
1937
1937
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
1938
- var ContextMenuCheckboxItem = React38.forwardRef(({ className, children, checked, ...props }, ref) => {
1938
+ var ContextMenuCheckboxItem = React39.forwardRef(({ className, children, checked, ...props }, ref) => {
1939
1939
  const mode = useUIVariant();
1940
1940
  return /* @__PURE__ */ jsxs(
1941
1941
  ContextMenuPrimitive.CheckboxItem,
@@ -1958,7 +1958,7 @@ var ContextMenuCheckboxItem = React38.forwardRef(({ className, children, checked
1958
1958
  );
1959
1959
  });
1960
1960
  ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
1961
- var ContextMenuRadioItem = React38.forwardRef(({ className, children, ...props }, ref) => {
1961
+ var ContextMenuRadioItem = React39.forwardRef(({ className, children, ...props }, ref) => {
1962
1962
  const mode = useUIVariant();
1963
1963
  return /* @__PURE__ */ jsxs(
1964
1964
  ContextMenuPrimitive.RadioItem,
@@ -1980,7 +1980,7 @@ var ContextMenuRadioItem = React38.forwardRef(({ className, children, ...props }
1980
1980
  );
1981
1981
  });
1982
1982
  ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
1983
- var ContextMenuLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1983
+ var ContextMenuLabel = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1984
1984
  ContextMenuPrimitive.Label,
1985
1985
  {
1986
1986
  ref,
@@ -1993,7 +1993,7 @@ var ContextMenuLabel = React38.forwardRef(({ className, inset, ...props }, ref)
1993
1993
  }
1994
1994
  ));
1995
1995
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
1996
- var ContextMenuSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1996
+ var ContextMenuSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1997
1997
  ContextMenuPrimitive.Separator,
1998
1998
  {
1999
1999
  ref,
@@ -2035,7 +2035,7 @@ Drawer.displayName = "Drawer";
2035
2035
  var DrawerTrigger = Drawer$1.Trigger;
2036
2036
  var DrawerPortal = Drawer$1.Portal;
2037
2037
  var DrawerClose = Drawer$1.Close;
2038
- var DrawerOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2038
+ var DrawerOverlay = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2039
2039
  Drawer$1.Overlay,
2040
2040
  {
2041
2041
  ref,
@@ -2044,7 +2044,7 @@ var DrawerOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__P
2044
2044
  }
2045
2045
  ));
2046
2046
  DrawerOverlay.displayName = Drawer$1.Overlay.displayName;
2047
- var DrawerContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
2047
+ var DrawerContent = React39.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
2048
2048
  const mode = modeProp ?? useUIVariant();
2049
2049
  return /* @__PURE__ */ jsxs(DrawerPortal, { children: [
2050
2050
  /* @__PURE__ */ jsx(DrawerOverlay, {}),
@@ -2091,7 +2091,7 @@ var DrawerFooter = ({
2091
2091
  }
2092
2092
  );
2093
2093
  DrawerFooter.displayName = "DrawerFooter";
2094
- var DrawerTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2094
+ var DrawerTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2095
2095
  Drawer$1.Title,
2096
2096
  {
2097
2097
  ref,
@@ -2103,7 +2103,7 @@ var DrawerTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PUR
2103
2103
  }
2104
2104
  ));
2105
2105
  DrawerTitle.displayName = Drawer$1.Title.displayName;
2106
- var DrawerDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2106
+ var DrawerDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2107
2107
  Drawer$1.Description,
2108
2108
  {
2109
2109
  ref,
@@ -2118,7 +2118,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
2118
2118
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
2119
2119
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
2120
2120
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
2121
- var DropdownMenuSubTrigger = React38.forwardRef(({ className, inset, children, ...props }, ref) => {
2121
+ var DropdownMenuSubTrigger = React39.forwardRef(({ className, inset, children, ...props }, ref) => {
2122
2122
  const mode = useUIVariant();
2123
2123
  return /* @__PURE__ */ jsxs(
2124
2124
  DropdownMenuPrimitive.SubTrigger,
@@ -2141,7 +2141,7 @@ var DropdownMenuSubTrigger = React38.forwardRef(({ className, inset, children, .
2141
2141
  );
2142
2142
  });
2143
2143
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
2144
- var DropdownMenuSubContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
2144
+ var DropdownMenuSubContent = React39.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
2145
2145
  const inheritedMode = useUIVariant();
2146
2146
  const mode = modeProp ?? inheritedMode;
2147
2147
  return /* @__PURE__ */ jsx(
@@ -2161,7 +2161,7 @@ var DropdownMenuSubContent = React38.forwardRef(({ className, mode: modeProp, ch
2161
2161
  );
2162
2162
  });
2163
2163
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
2164
- var DropdownMenuContent = React38.forwardRef(({ className, sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
2164
+ var DropdownMenuContent = React39.forwardRef(({ className, sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
2165
2165
  const inheritedMode = useUIVariant();
2166
2166
  const mode = modeProp ?? inheritedMode;
2167
2167
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
@@ -2182,7 +2182,7 @@ var DropdownMenuContent = React38.forwardRef(({ className, sideOffset = 4, mode:
2182
2182
  ) });
2183
2183
  });
2184
2184
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
2185
- var DropdownMenuItem = React38.forwardRef(({ className, inset, ...props }, ref) => {
2185
+ var DropdownMenuItem = React39.forwardRef(({ className, inset, ...props }, ref) => {
2186
2186
  const mode = useUIVariant();
2187
2187
  return /* @__PURE__ */ jsx(
2188
2188
  DropdownMenuPrimitive.Item,
@@ -2201,7 +2201,7 @@ var DropdownMenuItem = React38.forwardRef(({ className, inset, ...props }, ref)
2201
2201
  );
2202
2202
  });
2203
2203
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
2204
- var DropdownMenuCheckboxItem = React38.forwardRef(({ className, children, checked, ...props }, ref) => {
2204
+ var DropdownMenuCheckboxItem = React39.forwardRef(({ className, children, checked, ...props }, ref) => {
2205
2205
  const mode = useUIVariant();
2206
2206
  return /* @__PURE__ */ jsxs(
2207
2207
  DropdownMenuPrimitive.CheckboxItem,
@@ -2224,7 +2224,7 @@ var DropdownMenuCheckboxItem = React38.forwardRef(({ className, children, checke
2224
2224
  );
2225
2225
  });
2226
2226
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
2227
- var DropdownMenuRadioItem = React38.forwardRef(({ className, children, ...props }, ref) => {
2227
+ var DropdownMenuRadioItem = React39.forwardRef(({ className, children, ...props }, ref) => {
2228
2228
  const mode = useUIVariant();
2229
2229
  return /* @__PURE__ */ jsxs(
2230
2230
  DropdownMenuPrimitive.RadioItem,
@@ -2246,7 +2246,7 @@ var DropdownMenuRadioItem = React38.forwardRef(({ className, children, ...props
2246
2246
  );
2247
2247
  });
2248
2248
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
2249
- var DropdownMenuLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2249
+ var DropdownMenuLabel = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2250
2250
  DropdownMenuPrimitive.Label,
2251
2251
  {
2252
2252
  ref,
@@ -2259,7 +2259,7 @@ var DropdownMenuLabel = React38.forwardRef(({ className, inset, ...props }, ref)
2259
2259
  }
2260
2260
  ));
2261
2261
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
2262
- var DropdownMenuSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2262
+ var DropdownMenuSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2263
2263
  DropdownMenuPrimitive.Separator,
2264
2264
  {
2265
2265
  ref,
@@ -2390,7 +2390,7 @@ var labelVariants = cva(
2390
2390
  }
2391
2391
  }
2392
2392
  );
2393
- var Label3 = React38.forwardRef(({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(
2393
+ var Label3 = React39.forwardRef(({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(
2394
2394
  LabelPrimitive.Root,
2395
2395
  {
2396
2396
  ref,
@@ -2617,15 +2617,15 @@ function FieldError({
2617
2617
  );
2618
2618
  }
2619
2619
  var Form = FormProvider;
2620
- var FormFieldContext = React38.createContext(null);
2620
+ var FormFieldContext = React39.createContext(null);
2621
2621
  var FormField = ({
2622
2622
  ...props
2623
2623
  }) => {
2624
2624
  return /* @__PURE__ */ jsx(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx(Controller, { ...props }) });
2625
2625
  };
2626
2626
  var useFormField = () => {
2627
- const fieldContext = React38.useContext(FormFieldContext);
2628
- const itemContext = React38.useContext(FormItemContext);
2627
+ const fieldContext = React39.useContext(FormFieldContext);
2628
+ const itemContext = React39.useContext(FormItemContext);
2629
2629
  const { getFieldState, formState } = useFormContext();
2630
2630
  if (!fieldContext) {
2631
2631
  throw new Error("useFormField should be used within <FormField>");
@@ -2644,13 +2644,13 @@ var useFormField = () => {
2644
2644
  ...fieldState
2645
2645
  };
2646
2646
  };
2647
- var FormItemContext = React38.createContext(null);
2648
- var FormItem = React38.forwardRef(({ className, ...props }, ref) => {
2649
- const id = React38.useId();
2647
+ var FormItemContext = React39.createContext(null);
2648
+ var FormItem = React39.forwardRef(({ className, ...props }, ref) => {
2649
+ const id = React39.useId();
2650
2650
  return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-2", className), ...props }) });
2651
2651
  });
2652
2652
  FormItem.displayName = "FormItem";
2653
- var FormLabel = React38.forwardRef(({ className, ...props }, ref) => {
2653
+ var FormLabel = React39.forwardRef(({ className, ...props }, ref) => {
2654
2654
  const { error, formItemId } = useFormField();
2655
2655
  return /* @__PURE__ */ jsx(
2656
2656
  Label3,
@@ -2663,7 +2663,7 @@ var FormLabel = React38.forwardRef(({ className, ...props }, ref) => {
2663
2663
  );
2664
2664
  });
2665
2665
  FormLabel.displayName = "FormLabel";
2666
- var FormControl = React38.forwardRef(({ ...props }, ref) => {
2666
+ var FormControl = React39.forwardRef(({ ...props }, ref) => {
2667
2667
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
2668
2668
  return /* @__PURE__ */ jsx(
2669
2669
  Slot,
@@ -2677,7 +2677,7 @@ var FormControl = React38.forwardRef(({ ...props }, ref) => {
2677
2677
  );
2678
2678
  });
2679
2679
  FormControl.displayName = "FormControl";
2680
- var FormDescription = React38.forwardRef(({ className, ...props }, ref) => {
2680
+ var FormDescription = React39.forwardRef(({ className, ...props }, ref) => {
2681
2681
  const { formDescriptionId } = useFormField();
2682
2682
  return /* @__PURE__ */ jsx(
2683
2683
  "p",
@@ -2690,7 +2690,7 @@ var FormDescription = React38.forwardRef(({ className, ...props }, ref) => {
2690
2690
  );
2691
2691
  });
2692
2692
  FormDescription.displayName = "FormDescription";
2693
- var FormMessage = React38.forwardRef(({ className, children, ...props }, ref) => {
2693
+ var FormMessage = React39.forwardRef(({ className, children, ...props }, ref) => {
2694
2694
  const { error, formMessageId } = useFormField();
2695
2695
  const body = error ? String(error?.message ?? "") : children;
2696
2696
  if (!body) {
@@ -2710,7 +2710,7 @@ var FormMessage = React38.forwardRef(({ className, children, ...props }, ref) =>
2710
2710
  FormMessage.displayName = "FormMessage";
2711
2711
  var HoverCard = HoverCardPrimitive.Root;
2712
2712
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
2713
- var HoverCardContent = React38.forwardRef(({ className, align = "center", sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
2713
+ var HoverCardContent = React39.forwardRef(({ className, align = "center", sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
2714
2714
  const inheritedMode = useUIVariant();
2715
2715
  const mode = modeProp ?? inheritedMode;
2716
2716
  return /* @__PURE__ */ jsx(
@@ -2734,7 +2734,7 @@ var HoverCardContent = React38.forwardRef(({ className, align = "center", sideOf
2734
2734
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
2735
2735
  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";
2736
2736
  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";
2737
- var Input = React38.forwardRef(
2737
+ var Input = React39.forwardRef(
2738
2738
  ({ className, type, mode: modeProp, ...props }, ref) => {
2739
2739
  const contextMode = useUIVariant();
2740
2740
  const mode = modeProp ?? contextMode;
@@ -2768,7 +2768,7 @@ var textareaSizes = {
2768
2768
  default: "min-h-20 px-3 py-2 text-base md:text-sm",
2769
2769
  lg: "min-h-28 px-4 py-3 text-base"
2770
2770
  };
2771
- var Textarea = React38.forwardRef(
2771
+ var Textarea = React39.forwardRef(
2772
2772
  ({ className, size = "default", mode: modeProp, ...props }, ref) => {
2773
2773
  const mode = modeProp ?? useUIVariant();
2774
2774
  const textarea = /* @__PURE__ */ jsx(
@@ -2948,11 +2948,11 @@ function InputGroupTextarea({
2948
2948
  }
2949
2949
  );
2950
2950
  }
2951
- var InputOTPSizeContext = React38.createContext("default");
2951
+ var InputOTPSizeContext = React39.createContext("default");
2952
2952
  function useInputOTPSize() {
2953
- return React38.useContext(InputOTPSizeContext);
2953
+ return React39.useContext(InputOTPSizeContext);
2954
2954
  }
2955
- var InputOTP = React38.forwardRef(({ className, containerClassName, mode, size = "default", ...props }, ref) => {
2955
+ var InputOTP = React39.forwardRef(({ className, containerClassName, mode, size = "default", ...props }, ref) => {
2956
2956
  const otpInputProps = props;
2957
2957
  return /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(InputOTPSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx(
2958
2958
  OTPInput,
@@ -2969,10 +2969,10 @@ var InputOTP = React38.forwardRef(({ className, containerClassName, mode, size =
2969
2969
  ) }) });
2970
2970
  });
2971
2971
  InputOTP.displayName = "InputOTP";
2972
- var InputOTPGroup = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
2972
+ var InputOTPGroup = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
2973
2973
  InputOTPGroup.displayName = "InputOTPGroup";
2974
- var InputOTPSlot = React38.forwardRef(({ index, className, ...props }, ref) => {
2975
- const inputOTPContext = React38.useContext(OTPInputContext);
2974
+ var InputOTPSlot = React39.forwardRef(({ index, className, ...props }, ref) => {
2975
+ const inputOTPContext = React39.useContext(OTPInputContext);
2976
2976
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
2977
2977
  const mode = useUIVariant();
2978
2978
  const size = useInputOTPSize();
@@ -2999,8 +2999,56 @@ var InputOTPSlot = React38.forwardRef(({ index, className, ...props }, ref) => {
2999
2999
  );
3000
3000
  });
3001
3001
  InputOTPSlot.displayName = "InputOTPSlot";
3002
- var InputOTPSeparator = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Dot, {}) }));
3002
+ var InputOTPSeparator = React39.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Dot, {}) }));
3003
3003
  InputOTPSeparator.displayName = "InputOTPSeparator";
3004
+ var PasswordInput = React39.forwardRef(
3005
+ ({ className, hideToggle, disabled, ...props }, ref) => {
3006
+ const [revealed, setRevealed] = React39.useState(false);
3007
+ if (hideToggle) {
3008
+ return /* @__PURE__ */ jsx(
3009
+ Input,
3010
+ {
3011
+ type: "password",
3012
+ className,
3013
+ disabled,
3014
+ ref,
3015
+ ...props
3016
+ }
3017
+ );
3018
+ }
3019
+ return /* @__PURE__ */ jsxs("div", { className: "relative w-full", children: [
3020
+ /* @__PURE__ */ jsx(
3021
+ Input,
3022
+ {
3023
+ type: revealed ? "text" : "password",
3024
+ className: cn("pr-10", className),
3025
+ disabled,
3026
+ ref,
3027
+ ...props
3028
+ }
3029
+ ),
3030
+ /* @__PURE__ */ jsx(
3031
+ "button",
3032
+ {
3033
+ type: "button",
3034
+ tabIndex: -1,
3035
+ disabled,
3036
+ "aria-pressed": revealed,
3037
+ "aria-label": revealed ? "Hide password" : "Show password",
3038
+ onClick: () => setRevealed((current) => !current),
3039
+ className: cn(
3040
+ "absolute inset-y-0 right-0 z-10 flex w-10 items-center justify-center",
3041
+ "text-muted-foreground transition-colors hover:text-foreground",
3042
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
3043
+ "rounded-md disabled:pointer-events-none disabled:opacity-50"
3044
+ ),
3045
+ children: revealed ? /* @__PURE__ */ jsx(EyeOff, { className: "size-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsx(Eye, { className: "size-4", "aria-hidden": "true" })
3046
+ }
3047
+ )
3048
+ ] });
3049
+ }
3050
+ );
3051
+ PasswordInput.displayName = "PasswordInput";
3004
3052
  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";
3005
3053
  function toNumber(value) {
3006
3054
  if (value === void 0 || value === null || value === "") return null;
@@ -3019,7 +3067,7 @@ function writeValue(input, next) {
3019
3067
  setter?.call(input, next);
3020
3068
  input.dispatchEvent(new Event("input", { bubbles: true }));
3021
3069
  }
3022
- var NumberInput = React38.forwardRef(
3070
+ var NumberInput = React39.forwardRef(
3023
3071
  ({
3024
3072
  className,
3025
3073
  mode: modeProp,
@@ -3034,12 +3082,12 @@ var NumberInput = React38.forwardRef(
3034
3082
  }, forwardedRef) => {
3035
3083
  const contextMode = useUIVariant();
3036
3084
  const mode = modeProp ?? contextMode;
3037
- const innerRef = React38.useRef(null);
3038
- React38.useImperativeHandle(forwardedRef, () => innerRef.current);
3039
- const [current, setCurrent] = React38.useState(
3085
+ const innerRef = React39.useRef(null);
3086
+ React39.useImperativeHandle(forwardedRef, () => innerRef.current);
3087
+ const [current, setCurrent] = React39.useState(
3040
3088
  () => toNumber(props.value ?? props.defaultValue)
3041
3089
  );
3042
- React38.useEffect(() => {
3090
+ React39.useEffect(() => {
3043
3091
  if (props.value !== void 0) setCurrent(toNumber(props.value));
3044
3092
  }, [props.value]);
3045
3093
  const minNum = toNumber(min);
@@ -3421,7 +3469,7 @@ function MenubarSub({
3421
3469
  }) {
3422
3470
  return /* @__PURE__ */ jsx(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
3423
3471
  }
3424
- var Menubar = React38.forwardRef(({ className, mode, ...props }, ref) => /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(
3472
+ var Menubar = React39.forwardRef(({ className, mode, ...props }, ref) => /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(
3425
3473
  MenubarPrimitive.Root,
3426
3474
  {
3427
3475
  ref,
@@ -3436,7 +3484,7 @@ var Menubar = React38.forwardRef(({ className, mode, ...props }, ref) => /* @__P
3436
3484
  }
3437
3485
  ) }));
3438
3486
  Menubar.displayName = MenubarPrimitive.Root.displayName;
3439
- var MenubarTrigger = React38.forwardRef(({ className, ...props }, ref) => {
3487
+ var MenubarTrigger = React39.forwardRef(({ className, ...props }, ref) => {
3440
3488
  const mode = useUIVariant();
3441
3489
  return /* @__PURE__ */ jsx(
3442
3490
  MenubarPrimitive.Trigger,
@@ -3454,7 +3502,7 @@ var MenubarTrigger = React38.forwardRef(({ className, ...props }, ref) => {
3454
3502
  );
3455
3503
  });
3456
3504
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
3457
- var MenubarSubTrigger = React38.forwardRef(({ className, inset, children, ...props }, ref) => {
3505
+ var MenubarSubTrigger = React39.forwardRef(({ className, inset, children, ...props }, ref) => {
3458
3506
  const mode = useUIVariant();
3459
3507
  return /* @__PURE__ */ jsxs(
3460
3508
  MenubarPrimitive.SubTrigger,
@@ -3477,7 +3525,7 @@ var MenubarSubTrigger = React38.forwardRef(({ className, inset, children, ...pro
3477
3525
  );
3478
3526
  });
3479
3527
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
3480
- var MenubarSubContent = React38.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
3528
+ var MenubarSubContent = React39.forwardRef(({ className, mode: modeProp, children, ...props }, ref) => {
3481
3529
  const inheritedMode = useUIVariant();
3482
3530
  const mode = modeProp ?? inheritedMode;
3483
3531
  return /* @__PURE__ */ jsx(
@@ -3497,7 +3545,7 @@ var MenubarSubContent = React38.forwardRef(({ className, mode: modeProp, childre
3497
3545
  );
3498
3546
  });
3499
3547
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
3500
- var MenubarContent = React38.forwardRef(
3548
+ var MenubarContent = React39.forwardRef(
3501
3549
  ({ className, align = "start", alignOffset = -4, sideOffset = 8, mode: modeProp, children, ...props }, ref) => {
3502
3550
  const inheritedMode = useUIVariant();
3503
3551
  const mode = modeProp ?? inheritedMode;
@@ -3522,7 +3570,7 @@ var MenubarContent = React38.forwardRef(
3522
3570
  }
3523
3571
  );
3524
3572
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
3525
- var MenubarItem = React38.forwardRef(({ className, inset, ...props }, ref) => {
3573
+ var MenubarItem = React39.forwardRef(({ className, inset, ...props }, ref) => {
3526
3574
  const mode = useUIVariant();
3527
3575
  return /* @__PURE__ */ jsx(
3528
3576
  MenubarPrimitive.Item,
@@ -3541,7 +3589,7 @@ var MenubarItem = React38.forwardRef(({ className, inset, ...props }, ref) => {
3541
3589
  );
3542
3590
  });
3543
3591
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
3544
- var MenubarCheckboxItem = React38.forwardRef(({ className, children, checked, ...props }, ref) => {
3592
+ var MenubarCheckboxItem = React39.forwardRef(({ className, children, checked, ...props }, ref) => {
3545
3593
  const mode = useUIVariant();
3546
3594
  return /* @__PURE__ */ jsxs(
3547
3595
  MenubarPrimitive.CheckboxItem,
@@ -3564,7 +3612,7 @@ var MenubarCheckboxItem = React38.forwardRef(({ className, children, checked, ..
3564
3612
  );
3565
3613
  });
3566
3614
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
3567
- var MenubarRadioItem = React38.forwardRef(({ className, children, ...props }, ref) => {
3615
+ var MenubarRadioItem = React39.forwardRef(({ className, children, ...props }, ref) => {
3568
3616
  const mode = useUIVariant();
3569
3617
  return /* @__PURE__ */ jsxs(
3570
3618
  MenubarPrimitive.RadioItem,
@@ -3586,7 +3634,7 @@ var MenubarRadioItem = React38.forwardRef(({ className, children, ...props }, re
3586
3634
  );
3587
3635
  });
3588
3636
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
3589
- var MenubarLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
3637
+ var MenubarLabel = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
3590
3638
  MenubarPrimitive.Label,
3591
3639
  {
3592
3640
  ref,
@@ -3599,7 +3647,7 @@ var MenubarLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /
3599
3647
  }
3600
3648
  ));
3601
3649
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
3602
- var MenubarSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3650
+ var MenubarSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3603
3651
  MenubarPrimitive.Separator,
3604
3652
  {
3605
3653
  ref,
@@ -3627,7 +3675,7 @@ var MenubarShortcut = ({
3627
3675
  );
3628
3676
  };
3629
3677
  MenubarShortcut.displayName = "MenubarShortcut";
3630
- var NavigationMenu = React38.forwardRef(({ className, children, mode: modeProp, ...props }, ref) => {
3678
+ var NavigationMenu = React39.forwardRef(({ className, children, mode: modeProp, ...props }, ref) => {
3631
3679
  const mode = modeProp ?? useUIVariant();
3632
3680
  return /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsxs(
3633
3681
  NavigationMenuPrimitive.Root,
@@ -3646,7 +3694,7 @@ var NavigationMenu = React38.forwardRef(({ className, children, mode: modeProp,
3646
3694
  ) });
3647
3695
  });
3648
3696
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
3649
- var NavigationMenuList = React38.forwardRef(({ className, ...props }, ref) => {
3697
+ var NavigationMenuList = React39.forwardRef(({ className, ...props }, ref) => {
3650
3698
  const mode = useUIVariant();
3651
3699
  return /* @__PURE__ */ jsx(
3652
3700
  NavigationMenuPrimitive.List,
@@ -3666,7 +3714,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
3666
3714
  var navigationMenuTriggerStyle = cva(
3667
3715
  "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"
3668
3716
  );
3669
- var NavigationMenuTrigger = React38.forwardRef(({ className, children, ...props }, ref) => {
3717
+ var NavigationMenuTrigger = React39.forwardRef(({ className, children, ...props }, ref) => {
3670
3718
  const mode = useUIVariant();
3671
3719
  const trigger = /* @__PURE__ */ jsxs(
3672
3720
  NavigationMenuPrimitive.Trigger,
@@ -3708,7 +3756,7 @@ var NavigationMenuTrigger = React38.forwardRef(({ className, children, ...props
3708
3756
  return trigger;
3709
3757
  });
3710
3758
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
3711
- var NavigationMenuContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3759
+ var NavigationMenuContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3712
3760
  NavigationMenuPrimitive.Content,
3713
3761
  {
3714
3762
  ref,
@@ -3720,7 +3768,7 @@ var NavigationMenuContent = React38.forwardRef(({ className, ...props }, ref) =>
3720
3768
  }
3721
3769
  ));
3722
3770
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
3723
- var NavigationMenuLink = React38.forwardRef(({ className, asChild, children, ...props }, ref) => {
3771
+ var NavigationMenuLink = React39.forwardRef(({ className, asChild, children, ...props }, ref) => {
3724
3772
  const mode = useUIVariant();
3725
3773
  if (!asChild && mode === "playful") {
3726
3774
  return /* @__PURE__ */ jsxs("span", { className: "group/playful relative inline-flex", children: [
@@ -3758,7 +3806,7 @@ var NavigationMenuLink = React38.forwardRef(({ className, asChild, children, ...
3758
3806
  );
3759
3807
  });
3760
3808
  NavigationMenuLink.displayName = NavigationMenuPrimitive.Link.displayName;
3761
- var NavigationMenuViewport = React38.forwardRef(({ className, ...props }, ref) => {
3809
+ var NavigationMenuViewport = React39.forwardRef(({ className, ...props }, ref) => {
3762
3810
  const mode = useUIVariant();
3763
3811
  if (mode === "playful") {
3764
3812
  return /* @__PURE__ */ jsx("div", { className: "absolute left-0 top-full flex justify-center", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
@@ -3796,7 +3844,7 @@ var NavigationMenuViewport = React38.forwardRef(({ className, ...props }, ref) =
3796
3844
  ) });
3797
3845
  });
3798
3846
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
3799
- var NavigationMenuIndicator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3847
+ var NavigationMenuIndicator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3800
3848
  NavigationMenuPrimitive.Indicator,
3801
3849
  {
3802
3850
  ref,
@@ -3826,7 +3874,7 @@ var Pagination = ({
3826
3874
  ) });
3827
3875
  };
3828
3876
  Pagination.displayName = "Pagination";
3829
- var PaginationContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3877
+ var PaginationContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3830
3878
  "ul",
3831
3879
  {
3832
3880
  ref,
@@ -3835,7 +3883,7 @@ var PaginationContent = React38.forwardRef(({ className, ...props }, ref) => /*
3835
3883
  }
3836
3884
  ));
3837
3885
  PaginationContent.displayName = "PaginationContent";
3838
- var PaginationItem = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props }));
3886
+ var PaginationItem = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props }));
3839
3887
  PaginationItem.displayName = "PaginationItem";
3840
3888
  var paginationLinkSizes = {
3841
3889
  sm: "h-9 w-9",
@@ -3932,7 +3980,7 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
3932
3980
  var Popover = PopoverPrimitive.Root;
3933
3981
  var PopoverTrigger = PopoverPrimitive.Trigger;
3934
3982
  var PopoverAnchor = PopoverPrimitive.Anchor;
3935
- var PopoverContent = React38.forwardRef(({ className, align = "center", sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
3983
+ var PopoverContent = React39.forwardRef(({ className, align = "center", sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
3936
3984
  const inheritedMode = useUIVariant();
3937
3985
  const mode = modeProp ?? inheritedMode;
3938
3986
  return /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
@@ -3955,7 +4003,7 @@ var PopoverContent = React38.forwardRef(({ className, align = "center", sideOffs
3955
4003
  ) });
3956
4004
  });
3957
4005
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
3958
- var Progress = React38.forwardRef(({ className, value, disabled = false, mode: modeProp, ...props }, ref) => {
4006
+ var Progress = React39.forwardRef(({ className, value, disabled = false, mode: modeProp, ...props }, ref) => {
3959
4007
  const mode = modeProp ?? useUIVariant();
3960
4008
  const bar = /* @__PURE__ */ jsx(
3961
4009
  ProgressPrimitive.Root,
@@ -3993,7 +4041,7 @@ var Progress = React38.forwardRef(({ className, value, disabled = false, mode: m
3993
4041
  return bar;
3994
4042
  });
3995
4043
  Progress.displayName = ProgressPrimitive.Root.displayName;
3996
- var RadioGroup4 = React38.forwardRef(({ className, ...props }, ref) => {
4044
+ var RadioGroup4 = React39.forwardRef(({ className, ...props }, ref) => {
3997
4045
  return /* @__PURE__ */ jsx(
3998
4046
  RadioGroupPrimitive.Root,
3999
4047
  {
@@ -4004,7 +4052,7 @@ var RadioGroup4 = React38.forwardRef(({ className, ...props }, ref) => {
4004
4052
  );
4005
4053
  });
4006
4054
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
4007
- var RadioGroupItem = React38.forwardRef(({ className, mode: modeProp, ...props }, ref) => {
4055
+ var RadioGroupItem = React39.forwardRef(({ className, mode: modeProp, ...props }, ref) => {
4008
4056
  const mode = modeProp ?? useUIVariant();
4009
4057
  if (mode === "playful") {
4010
4058
  return /* @__PURE__ */ jsxs("span", { className: "group/playful relative inline-flex", children: [
@@ -4071,7 +4119,7 @@ var ResizableHandle = ({
4071
4119
  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" }) })
4072
4120
  }
4073
4121
  );
4074
- var ScrollArea = React38.forwardRef(({ className, children, scrollbars = "vertical", ...props }, ref) => /* @__PURE__ */ jsxs(
4122
+ var ScrollArea = React39.forwardRef(({ className, children, scrollbars = "vertical", ...props }, ref) => /* @__PURE__ */ jsxs(
4075
4123
  ScrollAreaPrimitive.Root,
4076
4124
  {
4077
4125
  ref,
@@ -4086,7 +4134,7 @@ var ScrollArea = React38.forwardRef(({ className, children, scrollbars = "vertic
4086
4134
  }
4087
4135
  ));
4088
4136
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
4089
- var ScrollBar = React38.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
4137
+ var ScrollBar = React39.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
4090
4138
  ScrollAreaPrimitive.ScrollAreaScrollbar,
4091
4139
  {
4092
4140
  ref,
@@ -4105,7 +4153,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
4105
4153
  var Select = SelectPrimitive.Root;
4106
4154
  var SelectGroup = SelectPrimitive.Group;
4107
4155
  var SelectValue = SelectPrimitive.Value;
4108
- var SelectTrigger = React38.forwardRef(({ className, children, mode: modeProp, size = "default", ...props }, ref) => {
4156
+ var SelectTrigger = React39.forwardRef(({ className, children, mode: modeProp, size = "default", ...props }, ref) => {
4109
4157
  const inheritedMode = useUIVariant();
4110
4158
  const mode = modeProp ?? inheritedMode;
4111
4159
  return /* @__PURE__ */ jsxs(
@@ -4130,7 +4178,7 @@ var SelectTrigger = React38.forwardRef(({ className, children, mode: modeProp, s
4130
4178
  );
4131
4179
  });
4132
4180
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
4133
- var SelectScrollUpButton = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4181
+ var SelectScrollUpButton = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4134
4182
  SelectPrimitive.ScrollUpButton,
4135
4183
  {
4136
4184
  ref,
@@ -4143,7 +4191,7 @@ var SelectScrollUpButton = React38.forwardRef(({ className, ...props }, ref) =>
4143
4191
  }
4144
4192
  ));
4145
4193
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
4146
- var SelectScrollDownButton = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4194
+ var SelectScrollDownButton = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4147
4195
  SelectPrimitive.ScrollDownButton,
4148
4196
  {
4149
4197
  ref,
@@ -4156,7 +4204,7 @@ var SelectScrollDownButton = React38.forwardRef(({ className, ...props }, ref) =
4156
4204
  }
4157
4205
  ));
4158
4206
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
4159
- var SelectContent = React38.forwardRef(({ className, children, position = "popper", mode: modeProp, ...props }, ref) => {
4207
+ var SelectContent = React39.forwardRef(({ className, children, position = "popper", mode: modeProp, ...props }, ref) => {
4160
4208
  const inheritedMode = useUIVariant();
4161
4209
  const mode = modeProp ?? inheritedMode;
4162
4210
  return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
@@ -4191,7 +4239,7 @@ var SelectContent = React38.forwardRef(({ className, children, position = "poppe
4191
4239
  ) });
4192
4240
  });
4193
4241
  SelectContent.displayName = SelectPrimitive.Content.displayName;
4194
- var SelectLabel = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4242
+ var SelectLabel = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4195
4243
  SelectPrimitive.Label,
4196
4244
  {
4197
4245
  ref,
@@ -4200,7 +4248,7 @@ var SelectLabel = React38.forwardRef(({ className, ...props }, ref) => /* @__PUR
4200
4248
  }
4201
4249
  ));
4202
4250
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
4203
- var SelectItem = React38.forwardRef(({ className, children, ...props }, ref) => {
4251
+ var SelectItem = React39.forwardRef(({ className, children, ...props }, ref) => {
4204
4252
  const mode = useUIVariant();
4205
4253
  return /* @__PURE__ */ jsxs(
4206
4254
  SelectPrimitive.Item,
@@ -4221,7 +4269,7 @@ var SelectItem = React38.forwardRef(({ className, children, ...props }, ref) =>
4221
4269
  );
4222
4270
  });
4223
4271
  SelectItem.displayName = SelectPrimitive.Item.displayName;
4224
- var SelectSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4272
+ var SelectSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4225
4273
  SelectPrimitive.Separator,
4226
4274
  {
4227
4275
  ref,
@@ -4234,7 +4282,7 @@ var Sheet = DialogPrimitive.Root;
4234
4282
  var SheetTrigger = DialogPrimitive.Trigger;
4235
4283
  var SheetClose = DialogPrimitive.Close;
4236
4284
  var SheetPortal = DialogPrimitive.Portal;
4237
- var SheetOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4285
+ var SheetOverlay = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4238
4286
  DialogPrimitive.Overlay,
4239
4287
  {
4240
4288
  className: cn(
@@ -4274,7 +4322,7 @@ var sideRoundingPlayful = {
4274
4322
  top: "rounded-b-xl",
4275
4323
  bottom: "rounded-t-xl"
4276
4324
  };
4277
- var SheetContent = React38.forwardRef(({ side = "right", className, children, container, mode: modeProp, ...props }, ref) => {
4325
+ var SheetContent = React39.forwardRef(({ side = "right", className, children, container, mode: modeProp, ...props }, ref) => {
4278
4326
  const mode = modeProp ?? useUIVariant();
4279
4327
  return /* @__PURE__ */ jsxs(SheetPortal, { container: container ?? void 0, children: [
4280
4328
  /* @__PURE__ */ jsx(SheetOverlay, {}),
@@ -4329,7 +4377,7 @@ var SheetFooter = ({
4329
4377
  }
4330
4378
  );
4331
4379
  SheetFooter.displayName = "SheetFooter";
4332
- var SheetTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4380
+ var SheetTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4333
4381
  DialogPrimitive.Title,
4334
4382
  {
4335
4383
  ref,
@@ -4338,7 +4386,7 @@ var SheetTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE
4338
4386
  }
4339
4387
  ));
4340
4388
  SheetTitle.displayName = DialogPrimitive.Title.displayName;
4341
- var SheetDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4389
+ var SheetDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4342
4390
  DialogPrimitive.Description,
4343
4391
  {
4344
4392
  ref,
@@ -4349,8 +4397,8 @@ var SheetDescription = React38.forwardRef(({ className, ...props }, ref) => /* @
4349
4397
  SheetDescription.displayName = DialogPrimitive.Description.displayName;
4350
4398
  var MOBILE_BREAKPOINT = 768;
4351
4399
  function useIsMobile() {
4352
- const [isMobile, setIsMobile] = React38.useState(void 0);
4353
- React38.useEffect(() => {
4400
+ const [isMobile, setIsMobile] = React39.useState(void 0);
4401
+ React39.useEffect(() => {
4354
4402
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
4355
4403
  const onChange = () => {
4356
4404
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -4376,7 +4424,7 @@ function Skeleton({
4376
4424
  var TooltipProvider = TooltipPrimitive.Provider;
4377
4425
  var Tooltip2 = TooltipPrimitive.Root;
4378
4426
  var TooltipTrigger = TooltipPrimitive.Trigger;
4379
- var TooltipContent = React38.forwardRef(({ className, sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
4427
+ var TooltipContent = React39.forwardRef(({ className, sideOffset = 4, mode: modeProp, children, ...props }, ref) => {
4380
4428
  const mode = modeProp ?? useUIVariant();
4381
4429
  return /* @__PURE__ */ jsx(
4382
4430
  TooltipPrimitive.Content,
@@ -4402,15 +4450,15 @@ var SIDEBAR_WIDTH = "16rem";
4402
4450
  var SIDEBAR_WIDTH_MOBILE = "18rem";
4403
4451
  var SIDEBAR_WIDTH_ICON = "3rem";
4404
4452
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
4405
- var SidebarContext = React38.createContext(null);
4453
+ var SidebarContext = React39.createContext(null);
4406
4454
  function useSidebar() {
4407
- const context = React38.useContext(SidebarContext);
4455
+ const context = React39.useContext(SidebarContext);
4408
4456
  if (!context) {
4409
4457
  throw new Error("useSidebar must be used within a SidebarProvider.");
4410
4458
  }
4411
4459
  return context;
4412
4460
  }
4413
- var SidebarProvider = React38.forwardRef(
4461
+ var SidebarProvider = React39.forwardRef(
4414
4462
  ({
4415
4463
  defaultOpen = true,
4416
4464
  open: openProp,
@@ -4425,14 +4473,14 @@ var SidebarProvider = React38.forwardRef(
4425
4473
  ...props
4426
4474
  }, ref) => {
4427
4475
  const viewportIsMobile = useIsMobile();
4428
- const wrapperRef = React38.useRef(null);
4429
- const [portalContainer, setPortalContainer] = React38.useState(null);
4430
- const [isContainerMobile, setIsContainerMobile] = React38.useState(null);
4476
+ const wrapperRef = React39.useRef(null);
4477
+ const [portalContainer, setPortalContainer] = React39.useState(null);
4478
+ const [isContainerMobile, setIsContainerMobile] = React39.useState(null);
4431
4479
  const isMobile = isContainerMobile ?? viewportIsMobile;
4432
- const [openMobile, setOpenMobile] = React38.useState(false);
4433
- const [_open, _setOpen] = React38.useState(defaultOpen);
4480
+ const [openMobile, setOpenMobile] = React39.useState(false);
4481
+ const [_open, _setOpen] = React39.useState(defaultOpen);
4434
4482
  const open = openProp ?? _open;
4435
- const setOpen = React38.useCallback(
4483
+ const setOpen = React39.useCallback(
4436
4484
  (value) => {
4437
4485
  const openState = typeof value === "function" ? value(open) : value;
4438
4486
  if (setOpenProp) {
@@ -4444,10 +4492,10 @@ var SidebarProvider = React38.forwardRef(
4444
4492
  },
4445
4493
  [setOpenProp, open]
4446
4494
  );
4447
- const toggleSidebar = React38.useCallback(() => {
4495
+ const toggleSidebar = React39.useCallback(() => {
4448
4496
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
4449
4497
  }, [isMobile, setOpen, setOpenMobile]);
4450
- React38.useEffect(() => {
4498
+ React39.useEffect(() => {
4451
4499
  const node = wrapperRef.current;
4452
4500
  if (!node) return;
4453
4501
  setPortalContainer(node.ownerDocument?.body ?? null);
@@ -4467,7 +4515,7 @@ var SidebarProvider = React38.forwardRef(
4467
4515
  observer.observe(node);
4468
4516
  return () => observer.disconnect();
4469
4517
  }, [mobileBreakpoint]);
4470
- React38.useEffect(() => {
4518
+ React39.useEffect(() => {
4471
4519
  const handleKeyDown = (event) => {
4472
4520
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
4473
4521
  event.preventDefault();
@@ -4478,7 +4526,7 @@ var SidebarProvider = React38.forwardRef(
4478
4526
  return () => window.removeEventListener("keydown", handleKeyDown);
4479
4527
  }, [toggleSidebar]);
4480
4528
  const state = open ? "expanded" : "collapsed";
4481
- const contextValue = React38.useMemo(
4529
+ const contextValue = React39.useMemo(
4482
4530
  () => ({
4483
4531
  state,
4484
4532
  open,
@@ -4528,7 +4576,7 @@ var SidebarProvider = React38.forwardRef(
4528
4576
  }
4529
4577
  );
4530
4578
  SidebarProvider.displayName = "SidebarProvider";
4531
- var Sidebar = React38.forwardRef(
4579
+ var Sidebar = React39.forwardRef(
4532
4580
  ({
4533
4581
  side = "left",
4534
4582
  variant = "sidebar",
@@ -4662,7 +4710,7 @@ var Sidebar = React38.forwardRef(
4662
4710
  }
4663
4711
  );
4664
4712
  Sidebar.displayName = "Sidebar";
4665
- var SidebarTrigger = React38.forwardRef(({ className, onClick, ...props }, ref) => {
4713
+ var SidebarTrigger = React39.forwardRef(({ className, onClick, ...props }, ref) => {
4666
4714
  const { toggleSidebar } = useSidebar();
4667
4715
  return /* @__PURE__ */ jsxs(
4668
4716
  Button,
@@ -4685,7 +4733,7 @@ var SidebarTrigger = React38.forwardRef(({ className, onClick, ...props }, ref)
4685
4733
  );
4686
4734
  });
4687
4735
  SidebarTrigger.displayName = "SidebarTrigger";
4688
- var SidebarRail = React38.forwardRef(({ className, ...props }, ref) => {
4736
+ var SidebarRail = React39.forwardRef(({ className, ...props }, ref) => {
4689
4737
  const { toggleSidebar } = useSidebar();
4690
4738
  return /* @__PURE__ */ jsx(
4691
4739
  "button",
@@ -4710,7 +4758,7 @@ var SidebarRail = React38.forwardRef(({ className, ...props }, ref) => {
4710
4758
  );
4711
4759
  });
4712
4760
  SidebarRail.displayName = "SidebarRail";
4713
- var SidebarInset = React38.forwardRef(({ className, ...props }, ref) => {
4761
+ var SidebarInset = React39.forwardRef(({ className, ...props }, ref) => {
4714
4762
  return /* @__PURE__ */ jsx(
4715
4763
  "main",
4716
4764
  {
@@ -4727,7 +4775,7 @@ var SidebarInset = React38.forwardRef(({ className, ...props }, ref) => {
4727
4775
  );
4728
4776
  });
4729
4777
  SidebarInset.displayName = "SidebarInset";
4730
- var SidebarInput = React38.forwardRef(({ className, ...props }, ref) => {
4778
+ var SidebarInput = React39.forwardRef(({ className, ...props }, ref) => {
4731
4779
  return /* @__PURE__ */ jsx(
4732
4780
  Input,
4733
4781
  {
@@ -4742,7 +4790,7 @@ var SidebarInput = React38.forwardRef(({ className, ...props }, ref) => {
4742
4790
  );
4743
4791
  });
4744
4792
  SidebarInput.displayName = "SidebarInput";
4745
- var SidebarHeader = React38.forwardRef(({ className, ...props }, ref) => {
4793
+ var SidebarHeader = React39.forwardRef(({ className, ...props }, ref) => {
4746
4794
  return /* @__PURE__ */ jsx(
4747
4795
  "div",
4748
4796
  {
@@ -4754,7 +4802,7 @@ var SidebarHeader = React38.forwardRef(({ className, ...props }, ref) => {
4754
4802
  );
4755
4803
  });
4756
4804
  SidebarHeader.displayName = "SidebarHeader";
4757
- var SidebarFooter = React38.forwardRef(({ className, ...props }, ref) => {
4805
+ var SidebarFooter = React39.forwardRef(({ className, ...props }, ref) => {
4758
4806
  return /* @__PURE__ */ jsx(
4759
4807
  "div",
4760
4808
  {
@@ -4766,7 +4814,7 @@ var SidebarFooter = React38.forwardRef(({ className, ...props }, ref) => {
4766
4814
  );
4767
4815
  });
4768
4816
  SidebarFooter.displayName = "SidebarFooter";
4769
- var SidebarSeparator = React38.forwardRef(({ className, ...props }, ref) => {
4817
+ var SidebarSeparator = React39.forwardRef(({ className, ...props }, ref) => {
4770
4818
  return /* @__PURE__ */ jsx(
4771
4819
  Separator,
4772
4820
  {
@@ -4778,7 +4826,7 @@ var SidebarSeparator = React38.forwardRef(({ className, ...props }, ref) => {
4778
4826
  );
4779
4827
  });
4780
4828
  SidebarSeparator.displayName = "SidebarSeparator";
4781
- var SidebarContent = React38.forwardRef(({ className, ...props }, ref) => {
4829
+ var SidebarContent = React39.forwardRef(({ className, ...props }, ref) => {
4782
4830
  return /* @__PURE__ */ jsx(
4783
4831
  "div",
4784
4832
  {
@@ -4793,7 +4841,7 @@ var SidebarContent = React38.forwardRef(({ className, ...props }, ref) => {
4793
4841
  );
4794
4842
  });
4795
4843
  SidebarContent.displayName = "SidebarContent";
4796
- var SidebarGroup = React38.forwardRef(({ className, ...props }, ref) => {
4844
+ var SidebarGroup = React39.forwardRef(({ className, ...props }, ref) => {
4797
4845
  return /* @__PURE__ */ jsx(
4798
4846
  "div",
4799
4847
  {
@@ -4805,7 +4853,7 @@ var SidebarGroup = React38.forwardRef(({ className, ...props }, ref) => {
4805
4853
  );
4806
4854
  });
4807
4855
  SidebarGroup.displayName = "SidebarGroup";
4808
- var SidebarGroupLabel = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
4856
+ var SidebarGroupLabel = React39.forwardRef(({ className, asChild = false, ...props }, ref) => {
4809
4857
  const Comp = asChild ? Slot : "div";
4810
4858
  return /* @__PURE__ */ jsx(
4811
4859
  Comp,
@@ -4822,7 +4870,7 @@ var SidebarGroupLabel = React38.forwardRef(({ className, asChild = false, ...pro
4822
4870
  );
4823
4871
  });
4824
4872
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
4825
- var SidebarGroupAction = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
4873
+ var SidebarGroupAction = React39.forwardRef(({ className, asChild = false, ...props }, ref) => {
4826
4874
  const Comp = asChild ? Slot : "button";
4827
4875
  return /* @__PURE__ */ jsx(
4828
4876
  Comp,
@@ -4841,7 +4889,7 @@ var SidebarGroupAction = React38.forwardRef(({ className, asChild = false, ...pr
4841
4889
  );
4842
4890
  });
4843
4891
  SidebarGroupAction.displayName = "SidebarGroupAction";
4844
- var SidebarGroupContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4892
+ var SidebarGroupContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4845
4893
  "div",
4846
4894
  {
4847
4895
  ref,
@@ -4851,7 +4899,7 @@ var SidebarGroupContent = React38.forwardRef(({ className, ...props }, ref) => /
4851
4899
  }
4852
4900
  ));
4853
4901
  SidebarGroupContent.displayName = "SidebarGroupContent";
4854
- var SidebarMenu = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4902
+ var SidebarMenu = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4855
4903
  "ul",
4856
4904
  {
4857
4905
  ref,
@@ -4861,7 +4909,7 @@ var SidebarMenu = React38.forwardRef(({ className, ...props }, ref) => /* @__PUR
4861
4909
  }
4862
4910
  ));
4863
4911
  SidebarMenu.displayName = "SidebarMenu";
4864
- var SidebarMenuItem = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4912
+ var SidebarMenuItem = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4865
4913
  "li",
4866
4914
  {
4867
4915
  ref,
@@ -4896,7 +4944,7 @@ var sidebarMenuButtonVariants = cva(
4896
4944
  }
4897
4945
  }
4898
4946
  );
4899
- var SidebarMenuButton = React38.forwardRef(
4947
+ var SidebarMenuButton = React39.forwardRef(
4900
4948
  ({
4901
4949
  asChild = false,
4902
4950
  isActive = false,
@@ -4964,7 +5012,7 @@ var SidebarMenuButton = React38.forwardRef(
4964
5012
  }
4965
5013
  );
4966
5014
  SidebarMenuButton.displayName = "SidebarMenuButton";
4967
- var SidebarMenuAction = React38.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
5015
+ var SidebarMenuAction = React39.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
4968
5016
  const Comp = asChild ? Slot : "button";
4969
5017
  return /* @__PURE__ */ jsx(
4970
5018
  Comp,
@@ -4987,7 +5035,7 @@ var SidebarMenuAction = React38.forwardRef(({ className, asChild = false, showOn
4987
5035
  );
4988
5036
  });
4989
5037
  SidebarMenuAction.displayName = "SidebarMenuAction";
4990
- var SidebarMenuBadge = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5038
+ var SidebarMenuBadge = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4991
5039
  "div",
4992
5040
  {
4993
5041
  ref,
@@ -5005,8 +5053,8 @@ var SidebarMenuBadge = React38.forwardRef(({ className, ...props }, ref) => /* @
5005
5053
  }
5006
5054
  ));
5007
5055
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
5008
- var SidebarMenuSkeleton = React38.forwardRef(({ className, showIcon = false, ...props }, ref) => {
5009
- const width = React38.useMemo(() => {
5056
+ var SidebarMenuSkeleton = React39.forwardRef(({ className, showIcon = false, ...props }, ref) => {
5057
+ const width = React39.useMemo(() => {
5010
5058
  return `${Math.floor(Math.random() * 40) + 50}%`;
5011
5059
  }, []);
5012
5060
  return /* @__PURE__ */ jsxs(
@@ -5039,7 +5087,7 @@ var SidebarMenuSkeleton = React38.forwardRef(({ className, showIcon = false, ...
5039
5087
  );
5040
5088
  });
5041
5089
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
5042
- var SidebarMenuSub = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5090
+ var SidebarMenuSub = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5043
5091
  "ul",
5044
5092
  {
5045
5093
  ref,
@@ -5053,9 +5101,9 @@ var SidebarMenuSub = React38.forwardRef(({ className, ...props }, ref) => /* @__
5053
5101
  }
5054
5102
  ));
5055
5103
  SidebarMenuSub.displayName = "SidebarMenuSub";
5056
- var SidebarMenuSubItem = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
5104
+ var SidebarMenuSubItem = React39.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
5057
5105
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
5058
- var SidebarMenuSubButton = React38.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
5106
+ var SidebarMenuSubButton = React39.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
5059
5107
  const Comp = asChild ? Slot : "a";
5060
5108
  return /* @__PURE__ */ jsx(
5061
5109
  Comp,
@@ -5087,7 +5135,7 @@ var sliderThumbSizes = {
5087
5135
  default: "h-5 w-5",
5088
5136
  lg: "h-6 w-6"
5089
5137
  };
5090
- var Slider = React38.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsxs(
5138
+ var Slider = React39.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ jsxs(
5091
5139
  SliderPrimitive.Root,
5092
5140
  {
5093
5141
  ref,
@@ -5121,8 +5169,8 @@ var Slider = React38.forwardRef(({ className, size = "default", ...props }, ref)
5121
5169
  ));
5122
5170
  Slider.displayName = SliderPrimitive.Root.displayName;
5123
5171
  function useDocumentTheme() {
5124
- const [theme, setTheme] = React38.useState("light");
5125
- React38.useEffect(() => {
5172
+ const [theme, setTheme] = React39.useState("light");
5173
+ React39.useEffect(() => {
5126
5174
  const root = document.documentElement;
5127
5175
  const read2 = () => setTheme(
5128
5176
  root.classList.contains("dark") || root.dataset.theme === "dark" ? "dark" : "light"
@@ -5147,12 +5195,25 @@ var Toaster = ({
5147
5195
  const mode = modeProp ?? ctxVariant;
5148
5196
  return /* @__PURE__ */ jsxs(Fragment, { children: [
5149
5197
  /* @__PURE__ */ jsx("style", { children: `
5150
- [data-sonner-toaster] {
5151
- --toast-close-button-start: unset;
5152
- --toast-close-button-end: 0.5rem;
5153
- --toast-close-button-transform: translateY(0.5rem);
5154
- }
5155
5198
  [data-sonner-toaster] [data-sonner-toast][data-styled='true'] [data-close-button] {
5199
+ /* Positioned here rather than through sonner's own
5200
+ --toast-close-button-start/end variables, which is what this used
5201
+ to do and why the button still rendered top-left, half outside the
5202
+ card, on every consumer.
5203
+
5204
+ sonner declares those variables on \`[data-sonner-toaster][dir='ltr']\`
5205
+ \u2014 two attribute selectors \u2014 and the override sat on
5206
+ \`[data-sonner-toaster]\`, which is one. Sonner won every time, so
5207
+ the variables never changed and \`left: 0\` stood. Nothing about it
5208
+ looked wrong in this file; the rule was simply never in effect.
5209
+
5210
+ This selector already carries the extra ancestor needed to outrank
5211
+ sonner's own \`[data-sonner-toast][data-styled='true'] [data-close-button]\`,
5212
+ so setting the properties directly is both simpler and no longer
5213
+ dependent on variables whose declaration site we do not control. */
5214
+ left: unset;
5215
+ right: 0.5rem;
5216
+ top: 0.5rem;
5156
5217
  height: 1.25rem;
5157
5218
  width: 1.25rem;
5158
5219
  padding: 0;
@@ -5293,7 +5354,7 @@ function StatusIndicator({
5293
5354
  children,
5294
5355
  ...props
5295
5356
  }) {
5296
- const hasAccessibleLabel = props["aria-label"] != null || props["aria-labelledby"] != null || React38.Children.count(children) > 0;
5357
+ const hasAccessibleLabel = props["aria-label"] != null || props["aria-labelledby"] != null || React39.Children.count(children) > 0;
5297
5358
  return /* @__PURE__ */ jsxs(
5298
5359
  "span",
5299
5360
  {
@@ -5344,7 +5405,7 @@ var switchSizes = {
5344
5405
  thumb: "size-6 data-[state=checked]:translate-x-7"
5345
5406
  }
5346
5407
  };
5347
- var Switch = React38.forwardRef(({ className, size = "default", mode: modeProp, ...props }, ref) => {
5408
+ var Switch = React39.forwardRef(({ className, size = "default", mode: modeProp, ...props }, ref) => {
5348
5409
  const mode = modeProp ?? useUIVariant();
5349
5410
  const sizes = switchSizes[size];
5350
5411
  if (mode === "playful") {
@@ -5402,7 +5463,7 @@ var Switch = React38.forwardRef(({ className, size = "default", mode: modeProp,
5402
5463
  );
5403
5464
  });
5404
5465
  Switch.displayName = SwitchPrimitives.Root.displayName;
5405
- var TableSizeContext = React38.createContext("default");
5466
+ var TableSizeContext = React39.createContext("default");
5406
5467
  var tableTextSizes = {
5407
5468
  sm: "text-xs",
5408
5469
  default: "text-sm",
@@ -5423,7 +5484,7 @@ var tableCaptionSizes = {
5423
5484
  default: "mt-4 text-sm",
5424
5485
  lg: "mt-4 text-sm"
5425
5486
  };
5426
- 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(
5487
+ var Table = React39.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(
5427
5488
  "table",
5428
5489
  {
5429
5490
  ref,
@@ -5432,9 +5493,9 @@ var Table = React38.forwardRef(({ className, size = "default", ...props }, ref)
5432
5493
  }
5433
5494
  ) }) }));
5434
5495
  Table.displayName = "Table";
5435
- var TableHeader = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
5496
+ var TableHeader = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
5436
5497
  TableHeader.displayName = "TableHeader";
5437
- var TableBody = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5498
+ var TableBody = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5438
5499
  "tbody",
5439
5500
  {
5440
5501
  ref,
@@ -5443,7 +5504,7 @@ var TableBody = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE_
5443
5504
  }
5444
5505
  ));
5445
5506
  TableBody.displayName = "TableBody";
5446
- var TableFooter = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5507
+ var TableFooter = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5447
5508
  "tfoot",
5448
5509
  {
5449
5510
  ref,
@@ -5455,7 +5516,7 @@ var TableFooter = React38.forwardRef(({ className, ...props }, ref) => /* @__PUR
5455
5516
  }
5456
5517
  ));
5457
5518
  TableFooter.displayName = "TableFooter";
5458
- var TableRow = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5519
+ var TableRow = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5459
5520
  "tr",
5460
5521
  {
5461
5522
  ref,
@@ -5467,8 +5528,8 @@ var TableRow = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__
5467
5528
  }
5468
5529
  ));
5469
5530
  TableRow.displayName = "TableRow";
5470
- var TableHead = React38.forwardRef(({ className, ...props }, ref) => {
5471
- const size = React38.useContext(TableSizeContext);
5531
+ var TableHead = React39.forwardRef(({ className, ...props }, ref) => {
5532
+ const size = React39.useContext(TableSizeContext);
5472
5533
  return /* @__PURE__ */ jsx(
5473
5534
  "th",
5474
5535
  {
@@ -5483,8 +5544,8 @@ var TableHead = React38.forwardRef(({ className, ...props }, ref) => {
5483
5544
  );
5484
5545
  });
5485
5546
  TableHead.displayName = "TableHead";
5486
- var TableCell = React38.forwardRef(({ className, ...props }, ref) => {
5487
- const size = React38.useContext(TableSizeContext);
5547
+ var TableCell = React39.forwardRef(({ className, ...props }, ref) => {
5548
+ const size = React39.useContext(TableSizeContext);
5488
5549
  return /* @__PURE__ */ jsx(
5489
5550
  "td",
5490
5551
  {
@@ -5499,8 +5560,8 @@ var TableCell = React38.forwardRef(({ className, ...props }, ref) => {
5499
5560
  );
5500
5561
  });
5501
5562
  TableCell.displayName = "TableCell";
5502
- var TableCaption = React38.forwardRef(({ className, ...props }, ref) => {
5503
- const size = React38.useContext(TableSizeContext);
5563
+ var TableCaption = React39.forwardRef(({ className, ...props }, ref) => {
5564
+ const size = React39.useContext(TableSizeContext);
5504
5565
  return /* @__PURE__ */ jsx(
5505
5566
  "caption",
5506
5567
  {
@@ -5511,7 +5572,7 @@ var TableCaption = React38.forwardRef(({ className, ...props }, ref) => {
5511
5572
  );
5512
5573
  });
5513
5574
  TableCaption.displayName = "TableCaption";
5514
- var TabsSizeContext = React38.createContext("default");
5575
+ var TabsSizeContext = React39.createContext("default");
5515
5576
  var tabsListSizes = {
5516
5577
  sm: "h-8 p-1",
5517
5578
  default: "h-10 p-1",
@@ -5522,13 +5583,13 @@ var tabsTriggerSizes = {
5522
5583
  default: "px-3 py-1.5 text-sm",
5523
5584
  lg: "px-4 py-2 text-sm"
5524
5585
  };
5525
- var Tabs = React38.forwardRef(({ mode: modeProp, ...props }, ref) => {
5586
+ var Tabs = React39.forwardRef(({ mode: modeProp, ...props }, ref) => {
5526
5587
  const inheritedMode = useUIVariant();
5527
5588
  const mode = modeProp ?? inheritedMode;
5528
5589
  return /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(TabsPrimitive.Root, { ref, ...props }) });
5529
5590
  });
5530
5591
  Tabs.displayName = TabsPrimitive.Root.displayName;
5531
- var TabsList = React38.forwardRef(({ className, size = "default", ...props }, ref) => {
5592
+ var TabsList = React39.forwardRef(({ className, size = "default", ...props }, ref) => {
5532
5593
  const mode = useUIVariant();
5533
5594
  return /* @__PURE__ */ jsx(TabsSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx(
5534
5595
  TabsPrimitive.List,
@@ -5546,8 +5607,8 @@ var TabsList = React38.forwardRef(({ className, size = "default", ...props }, re
5546
5607
  ) });
5547
5608
  });
5548
5609
  TabsList.displayName = TabsPrimitive.List.displayName;
5549
- var TabsTrigger = React38.forwardRef(({ className, ...props }, ref) => {
5550
- const size = React38.useContext(TabsSizeContext);
5610
+ var TabsTrigger = React39.forwardRef(({ className, ...props }, ref) => {
5611
+ const size = React39.useContext(TabsSizeContext);
5551
5612
  const mode = useUIVariant();
5552
5613
  const trigger = /* @__PURE__ */ jsx(
5553
5614
  TabsPrimitive.Trigger,
@@ -5578,7 +5639,7 @@ var TabsTrigger = React38.forwardRef(({ className, ...props }, ref) => {
5578
5639
  return trigger;
5579
5640
  });
5580
5641
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
5581
- var TabsContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5642
+ var TabsContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5582
5643
  TabsPrimitive.Content,
5583
5644
  {
5584
5645
  ref,
@@ -5610,7 +5671,7 @@ var toggleVariants = cva(
5610
5671
  }
5611
5672
  }
5612
5673
  );
5613
- var Toggle = React38.forwardRef(({ className, variant, size, mode: modeProp, ...props }, ref) => {
5674
+ var Toggle = React39.forwardRef(({ className, variant, size, mode: modeProp, ...props }, ref) => {
5614
5675
  const inheritedMode = useUIVariant();
5615
5676
  const mode = modeProp ?? inheritedMode;
5616
5677
  const toggle = /* @__PURE__ */ jsx(
@@ -5641,11 +5702,11 @@ var Toggle = React38.forwardRef(({ className, variant, size, mode: modeProp, ...
5641
5702
  return toggle;
5642
5703
  });
5643
5704
  Toggle.displayName = TogglePrimitive.Root.displayName;
5644
- var ToggleGroupContext = React38.createContext({
5705
+ var ToggleGroupContext = React39.createContext({
5645
5706
  size: "default",
5646
5707
  variant: "default"
5647
5708
  });
5648
- var ToggleGroup = React38.forwardRef(({ className, variant, size, mode: modeProp, children, ...props }, ref) => {
5709
+ var ToggleGroup = React39.forwardRef(({ className, variant, size, mode: modeProp, children, ...props }, ref) => {
5649
5710
  const inheritedMode = useUIVariant();
5650
5711
  const mode = modeProp ?? inheritedMode;
5651
5712
  return /* @__PURE__ */ jsx(UIVariantProvider, { mode, children: /* @__PURE__ */ jsx(
@@ -5659,8 +5720,8 @@ var ToggleGroup = React38.forwardRef(({ className, variant, size, mode: modeProp
5659
5720
  ) });
5660
5721
  });
5661
5722
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
5662
- var ToggleGroupItem = React38.forwardRef(({ className, children, variant, size, mode: modeProp, ...props }, ref) => {
5663
- const context = React38.useContext(ToggleGroupContext);
5723
+ var ToggleGroupItem = React39.forwardRef(({ className, children, variant, size, mode: modeProp, ...props }, ref) => {
5724
+ const context = React39.useContext(ToggleGroupContext);
5664
5725
  const inheritedMode = useUIVariant();
5665
5726
  const mode = modeProp ?? context.mode ?? inheritedMode;
5666
5727
  const item = /* @__PURE__ */ jsx(
@@ -7197,7 +7258,7 @@ function AsciiText({
7197
7258
  const isAccent = accentCols.has(cell.col);
7198
7259
  const multiAccentColor = multiAccentCols?.get(cell.col);
7199
7260
  const shineAlpha = shineBounds && shineCols.has(cell.col) ? getShineAlpha(cell.col, cell.row, 0.2, shineBounds) * (cell.ch === "\u2591" ? 0.55 : 1) : 0;
7200
- return /* @__PURE__ */ jsxs(React38.Fragment, { children: [
7261
+ return /* @__PURE__ */ jsxs(React39.Fragment, { children: [
7201
7262
  /* @__PURE__ */ jsx(
7202
7263
  "rect",
7203
7264
  {
@@ -7275,8 +7336,8 @@ function useCopyToClipboard(timeout = 2e3) {
7275
7336
  return { copyToClipboard, isCopied };
7276
7337
  }
7277
7338
  function useResolvedTheme() {
7278
- const [theme, setTheme] = React38.useState(read);
7279
- React38.useEffect(() => {
7339
+ const [theme, setTheme] = React39.useState(read);
7340
+ React39.useEffect(() => {
7280
7341
  setTheme(read());
7281
7342
  const observer = new MutationObserver(() => setTheme(read()));
7282
7343
  observer.observe(document.documentElement, {
@@ -7422,6 +7483,6 @@ function Enchanted({ children, className, hoverOnly = false, glintClassName, ...
7422
7483
  ] });
7423
7484
  }
7424
7485
 
7425
- 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, useResolvedTheme, useSidebar, useUIVariant };
7486
+ 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, PasswordInput, 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, useResolvedTheme, useSidebar, useUIVariant };
7426
7487
  //# sourceMappingURL=index.js.map
7427
7488
  //# sourceMappingURL=index.js.map