@alexgorbatchev/shadcn 0.0.73 → 0.0.75

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.
@@ -77,6 +77,9 @@ import {
77
77
  import {
78
78
  RadioGroup2
79
79
  } from "./chunk-kgqe8gpb.js";
80
+ import {
81
+ Badge2
82
+ } from "./chunk-9t530p75.js";
80
83
  import {
81
84
  Card2,
82
85
  CardHeader2,
@@ -99,9 +102,6 @@ import {
99
102
  ComboboxChipsInput2,
100
103
  useComboboxAnchor2
101
104
  } from "./chunk-31wptjv4.js";
102
- import {
103
- Badge2
104
- } from "./chunk-9t530p75.js";
105
105
  import {
106
106
  Empty2,
107
107
  EmptyHeader2,
@@ -467,54 +467,133 @@ function AccordionContent2({ density, className, children, ...props }) {
467
467
  })
468
468
  });
469
469
  }
470
- // src/components/EmptyState.tsx
470
+ // src/components/OptionCardGroup.tsx
471
+ import { useId } from "react";
472
+ import { Radio as RadioPrimitive } from "@base-ui/react/radio";
473
+ import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
471
474
  import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
475
+ "use client";
476
+ function OptionCardGroup2({ analytics, density, className, ...props }) {
477
+ const trackedOnValueChange = useAnalyticsCallback("OptionCardGroup", analytics, { name: "ui.change-request" }, props.onValueChange);
478
+ return /* @__PURE__ */ jsx6(RadioGroupPrimitive, {
479
+ "data-density": density,
480
+ "data-slot": "option-card-group",
481
+ className: (state) => cn2("grid w-full gap-2 [counter-reset:option-card]", typeof className === "function" ? className(state) : className),
482
+ ...props,
483
+ onValueChange: trackedOnValueChange
484
+ });
485
+ }
486
+ function OptionCard2({
487
+ label,
488
+ description,
489
+ recommended = false,
490
+ recommendedLabel = "Recommended",
491
+ marker,
492
+ density,
493
+ className,
494
+ ...props
495
+ }) {
496
+ const id = useId();
497
+ const labelId = `${id}-label`;
498
+ const tagId = `${id}-recommended`;
499
+ const descriptionId = `${id}-description`;
500
+ return /* @__PURE__ */ jsxs4(RadioPrimitive.Root, {
501
+ "data-density": density,
502
+ "data-slot": "option-card",
503
+ "data-recommended": recommended || undefined,
504
+ "aria-labelledby": recommended ? `${labelId} ${tagId}` : labelId,
505
+ "aria-describedby": description === undefined ? undefined : descriptionId,
506
+ className: (state) => cn2("group/option-card grid w-full cursor-pointer grid-cols-[1.25rem_minmax(0,1fr)] items-start gap-x-2 rounded-md border border-border bg-card p-panel-sm text-start text-sm text-card-foreground transition-colors outline-none [counter-increment:option-card] hover:bg-muted/40 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring focus-visible:outline-solid data-checked:border-primary data-checked:ring-1 data-checked:ring-primary forced-colors:data-checked:border-[color:Highlight] aria-invalid:not-data-checked:border-destructive data-recommended:not-data-checked:not-aria-invalid:border-success/60 data-disabled:cursor-not-allowed data-disabled:opacity-50 data-disabled:hover:bg-card data-readonly:cursor-default", typeof className === "function" ? className(state) : className),
507
+ ...props,
508
+ children: [
509
+ /* @__PURE__ */ jsx6("span", {
510
+ "data-slot": "option-card-marker",
511
+ "aria-hidden": "true",
512
+ className: "font-mono leading-5 text-muted-foreground group-data-checked/option-card:text-primary forced-colors:group-data-checked/option-card:text-[color:Highlight]",
513
+ children: marker ?? /* @__PURE__ */ jsx6("span", {
514
+ className: "before:content-[counter(option-card,lower-alpha)]"
515
+ })
516
+ }),
517
+ /* @__PURE__ */ jsxs4("span", {
518
+ className: "flex min-w-0 flex-col gap-1",
519
+ children: [
520
+ /* @__PURE__ */ jsxs4("span", {
521
+ className: "flex flex-wrap items-center gap-x-2 gap-y-1",
522
+ children: [
523
+ /* @__PURE__ */ jsx6("span", {
524
+ id: labelId,
525
+ "data-slot": "option-card-label",
526
+ className: "leading-5 font-semibold wrap-break-word",
527
+ children: label
528
+ }),
529
+ recommended && /* @__PURE__ */ jsx6(Badge2, {
530
+ id: tagId,
531
+ "data-slot": "option-card-recommended",
532
+ variant: "success",
533
+ className: "uppercase",
534
+ children: recommendedLabel
535
+ })
536
+ ]
537
+ }),
538
+ description !== undefined && /* @__PURE__ */ jsx6("span", {
539
+ id: descriptionId,
540
+ "data-slot": "option-card-description",
541
+ className: "text-muted-foreground wrap-break-word",
542
+ children: description
543
+ })
544
+ ]
545
+ })
546
+ ]
547
+ });
548
+ }
549
+ // src/components/EmptyState.tsx
550
+ import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
472
551
  function EmptyState3({ title, description, children }) {
473
- return /* @__PURE__ */ jsxs4(Empty2, {
552
+ return /* @__PURE__ */ jsxs5(Empty2, {
474
553
  children: [
475
- /* @__PURE__ */ jsxs4(EmptyHeader2, {
554
+ /* @__PURE__ */ jsxs5(EmptyHeader2, {
476
555
  children: [
477
- /* @__PURE__ */ jsx6(EmptyTitle2, {
556
+ /* @__PURE__ */ jsx7(EmptyTitle2, {
478
557
  children: title
479
558
  }),
480
- /* @__PURE__ */ jsx6(EmptyDescription2, {
559
+ /* @__PURE__ */ jsx7(EmptyDescription2, {
481
560
  children: description
482
561
  })
483
562
  ]
484
563
  }),
485
- children && /* @__PURE__ */ jsx6(EmptyContent2, {
564
+ children && /* @__PURE__ */ jsx7(EmptyContent2, {
486
565
  children
487
566
  })
488
567
  ]
489
568
  });
490
569
  }
491
570
  // src/components/PageMessage.tsx
492
- import { useId } from "react";
493
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
571
+ import { useId as useId2 } from "react";
572
+ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
494
573
  function PageMessage2({ title, description, children }) {
495
- const titleId = useId();
496
- const descriptionId = useId();
497
- return /* @__PURE__ */ jsx7("main", {
574
+ const titleId = useId2();
575
+ const descriptionId = useId2();
576
+ return /* @__PURE__ */ jsx8("main", {
498
577
  "aria-labelledby": titleId,
499
578
  "aria-describedby": description == null ? undefined : descriptionId,
500
579
  className: "grid min-h-dvh w-full place-items-center bg-background text-foreground",
501
- children: /* @__PURE__ */ jsxs5(Empty2, {
580
+ children: /* @__PURE__ */ jsxs6(Empty2, {
502
581
  children: [
503
- /* @__PURE__ */ jsxs5(EmptyHeader2, {
582
+ /* @__PURE__ */ jsxs6(EmptyHeader2, {
504
583
  children: [
505
- /* @__PURE__ */ jsx7(EmptyTitle2, {
506
- children: /* @__PURE__ */ jsx7("h1", {
584
+ /* @__PURE__ */ jsx8(EmptyTitle2, {
585
+ children: /* @__PURE__ */ jsx8("h1", {
507
586
  id: titleId,
508
587
  children: title
509
588
  })
510
589
  }),
511
- description != null && /* @__PURE__ */ jsx7(EmptyDescription2, {
590
+ description != null && /* @__PURE__ */ jsx8(EmptyDescription2, {
512
591
  id: descriptionId,
513
592
  children: description
514
593
  })
515
594
  ]
516
595
  }),
517
- children != null && /* @__PURE__ */ jsx7(EmptyContent2, {
596
+ children != null && /* @__PURE__ */ jsx8(EmptyContent2, {
518
597
  children
519
598
  })
520
599
  ]
@@ -523,7 +602,7 @@ function PageMessage2({ title, description, children }) {
523
602
  }
524
603
  // src/components/DataViewer.tsx
525
604
  import { Fragment as Fragment2 } from "react";
526
- import { jsx as jsx8, jsxs as jsxs6, Fragment as Fragment3 } from "react/jsx-runtime";
605
+ import { jsx as jsx9, jsxs as jsxs7, Fragment as Fragment3 } from "react/jsx-runtime";
527
606
  var ACRONYMS = new Map([
528
607
  ["api", "API"],
529
608
  ["http", "HTTP"],
@@ -546,7 +625,7 @@ function isNested(value) {
546
625
  return Array.isArray(value) || isRecord(value);
547
626
  }
548
627
  function Placeholder({ children }) {
549
- return /* @__PURE__ */ jsx8("span", {
628
+ return /* @__PURE__ */ jsx9("span", {
550
629
  className: "text-muted-foreground italic",
551
630
  children
552
631
  });
@@ -554,23 +633,23 @@ function Placeholder({ children }) {
554
633
  function DataValue({ value, formatLabel }) {
555
634
  if (Array.isArray(value)) {
556
635
  if (value.length === 0)
557
- return /* @__PURE__ */ jsx8(Placeholder, {
636
+ return /* @__PURE__ */ jsx9(Placeholder, {
558
637
  children: "None"
559
638
  });
560
- return value.some(isNested) ? /* @__PURE__ */ jsx8("ol", {
639
+ return value.some(isNested) ? /* @__PURE__ */ jsx9("ol", {
561
640
  className: "flex list-decimal flex-col gap-2 pl-5 marker:text-muted-foreground",
562
- children: value.map((item, index) => /* @__PURE__ */ jsx8("li", {
641
+ children: value.map((item, index) => /* @__PURE__ */ jsx9("li", {
563
642
  className: "min-w-0",
564
- children: /* @__PURE__ */ jsx8(DataValue, {
643
+ children: /* @__PURE__ */ jsx9(DataValue, {
565
644
  value: item,
566
645
  formatLabel
567
646
  })
568
647
  }, index))
569
- }) : /* @__PURE__ */ jsx8("ul", {
648
+ }) : /* @__PURE__ */ jsx9("ul", {
570
649
  className: "flex flex-wrap gap-x-3 gap-y-1",
571
- children: value.map((item, index) => /* @__PURE__ */ jsx8("li", {
650
+ children: value.map((item, index) => /* @__PURE__ */ jsx9("li", {
572
651
  className: "min-w-0 break-words",
573
- children: /* @__PURE__ */ jsx8(DataValue, {
652
+ children: /* @__PURE__ */ jsx9(DataValue, {
574
653
  value: item,
575
654
  formatLabel
576
655
  })
@@ -580,20 +659,20 @@ function DataValue({ value, formatLabel }) {
580
659
  if (isRecord(value)) {
581
660
  const entries = Object.entries(value);
582
661
  if (entries.length === 0)
583
- return /* @__PURE__ */ jsx8(Placeholder, {
662
+ return /* @__PURE__ */ jsx9(Placeholder, {
584
663
  children: "None"
585
664
  });
586
- return /* @__PURE__ */ jsx8("dl", {
665
+ return /* @__PURE__ */ jsx9("dl", {
587
666
  className: "grid grid-cols-[minmax(0,max-content)_minmax(0,1fr)] gap-x-4 gap-y-1",
588
- children: entries.map(([key, item]) => /* @__PURE__ */ jsxs6(Fragment2, {
667
+ children: entries.map(([key, item]) => /* @__PURE__ */ jsxs7(Fragment2, {
589
668
  children: [
590
- /* @__PURE__ */ jsx8("dt", {
669
+ /* @__PURE__ */ jsx9("dt", {
591
670
  className: "min-w-0 break-words text-muted-foreground",
592
671
  children: formatLabel(key)
593
672
  }),
594
- /* @__PURE__ */ jsx8("dd", {
673
+ /* @__PURE__ */ jsx9("dd", {
595
674
  className: cn2("min-w-0 break-words", isRecord(item) && "border-l border-border pl-3"),
596
- children: /* @__PURE__ */ jsx8(DataValue, {
675
+ children: /* @__PURE__ */ jsx9(DataValue, {
597
676
  value: item,
598
677
  formatLabel
599
678
  })
@@ -603,18 +682,18 @@ function DataValue({ value, formatLabel }) {
603
682
  });
604
683
  }
605
684
  if (value === null || value === undefined)
606
- return /* @__PURE__ */ jsx8(Placeholder, {
685
+ return /* @__PURE__ */ jsx9(Placeholder, {
607
686
  children: "None"
608
687
  });
609
688
  if (typeof value === "boolean")
610
- return /* @__PURE__ */ jsx8(Fragment3, {
689
+ return /* @__PURE__ */ jsx9(Fragment3, {
611
690
  children: value ? "Yes" : "No"
612
691
  });
613
692
  if (value === "")
614
- return /* @__PURE__ */ jsx8(Placeholder, {
693
+ return /* @__PURE__ */ jsx9(Placeholder, {
615
694
  children: "Empty"
616
695
  });
617
- return /* @__PURE__ */ jsx8(Fragment3, {
696
+ return /* @__PURE__ */ jsx9(Fragment3, {
618
697
  children: String(value)
619
698
  });
620
699
  }
@@ -626,22 +705,22 @@ function DataViewer2({
626
705
  className,
627
706
  ...props
628
707
  }) {
629
- return /* @__PURE__ */ jsx8("section", {
708
+ return /* @__PURE__ */ jsx9("section", {
630
709
  "aria-label": label,
631
710
  "data-density": density,
632
711
  "data-slot": "data-viewer",
633
712
  className: cn2("min-w-0 text-sm", className),
634
713
  ...props,
635
- children: /* @__PURE__ */ jsx8(DataValue, {
714
+ children: /* @__PURE__ */ jsx9(DataValue, {
636
715
  value,
637
716
  formatLabel
638
717
  })
639
718
  });
640
719
  }
641
720
  // src/components/JsonViewer.tsx
642
- import { jsx as jsx9 } from "react/jsx-runtime";
721
+ import { jsx as jsx10 } from "react/jsx-runtime";
643
722
  function JsonViewer2({ value, label = "JSON", rows = 12 }) {
644
- return /* @__PURE__ */ jsx9(Textarea2, {
723
+ return /* @__PURE__ */ jsx10(Textarea2, {
645
724
  readOnly: true,
646
725
  rows,
647
726
  "aria-label": label,
@@ -651,21 +730,21 @@ function JsonViewer2({ value, label = "JSON", rows = 12 }) {
651
730
  // src/components/AlertDialog.tsx
652
731
  import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
653
732
  import { useDirection as useDirection3 } from "@base-ui/react/direction-provider";
654
- import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
733
+ import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
655
734
  "use client";
656
735
  function AlertDialog2({
657
736
  analytics,
658
737
  ...props
659
738
  }) {
660
739
  const trackedOnOpenChange = useAnalyticsCallback("AlertDialog", analytics, (open, _details) => ({ name: "ui.open-request", open }), props.onOpenChange);
661
- return /* @__PURE__ */ jsx10(AlertDialogPrimitive.Root, {
740
+ return /* @__PURE__ */ jsx11(AlertDialogPrimitive.Root, {
662
741
  "data-slot": "alert-dialog",
663
742
  ...props,
664
743
  onOpenChange: trackedOnOpenChange
665
744
  });
666
745
  }
667
746
  function AlertDialogTrigger2({ ...props }) {
668
- return /* @__PURE__ */ jsx10(AlertDialogPrimitive.Trigger, {
747
+ return /* @__PURE__ */ jsx11(AlertDialogPrimitive.Trigger, {
669
748
  "data-slot": "alert-dialog-trigger",
670
749
  ...props
671
750
  });
@@ -673,12 +752,12 @@ function AlertDialogTrigger2({ ...props }) {
673
752
  function AlertDialogPortal2({ container, ref, children, ...props }) {
674
753
  const resolvedContainer = usePortalContainer2(container);
675
754
  const portal = usePortalNode(ref);
676
- return /* @__PURE__ */ jsx10(AlertDialogPrimitive.Portal, {
755
+ return /* @__PURE__ */ jsx11(AlertDialogPrimitive.Portal, {
677
756
  "data-slot": "alert-dialog-portal",
678
757
  container: resolvedContainer,
679
758
  ref: portal.ref,
680
759
  ...props,
681
- children: /* @__PURE__ */ jsx10(PortalProvider2, {
760
+ children: /* @__PURE__ */ jsx11(PortalProvider2, {
682
761
  container: portal.node,
683
762
  children
684
763
  })
@@ -686,7 +765,7 @@ function AlertDialogPortal2({ container, ref, children, ...props }) {
686
765
  }
687
766
  function AlertDialogOverlay2({ density, className, ...props }) {
688
767
  const resolvedDensity = useDensity(density);
689
- return /* @__PURE__ */ jsx10(AlertDialogPrimitive.Backdrop, {
768
+ return /* @__PURE__ */ jsx11(AlertDialogPrimitive.Backdrop, {
690
769
  "data-density": resolvedDensity,
691
770
  "data-slot": "alert-dialog-overlay",
692
771
  className: (state) => cn2("fixed inset-0 isolate bg-backdrop duration-120 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none", typeof className === "function" ? className(state) : className),
@@ -696,10 +775,10 @@ function AlertDialogOverlay2({ density, className, ...props }) {
696
775
  function AlertDialogContent2({ density, className, size = "default", ...props }) {
697
776
  const resolvedDensity = useDensity(density);
698
777
  const direction = useDirection3();
699
- return /* @__PURE__ */ jsxs7(AlertDialogPortal2, {
778
+ return /* @__PURE__ */ jsxs8(AlertDialogPortal2, {
700
779
  children: [
701
- /* @__PURE__ */ jsx10(AlertDialogOverlay2, {}),
702
- /* @__PURE__ */ jsx10(AlertDialogPrimitive.Popup, {
780
+ /* @__PURE__ */ jsx11(AlertDialogOverlay2, {}),
781
+ /* @__PURE__ */ jsx11(AlertDialogPrimitive.Popup, {
703
782
  dir: direction,
704
783
  "data-density": resolvedDensity,
705
784
  "data-slot": "alert-dialog-content",
@@ -712,7 +791,7 @@ function AlertDialogContent2({ density, className, size = "default", ...props })
712
791
  });
713
792
  }
714
793
  function AlertDialogHeader2({ density, className, ...props }) {
715
- return /* @__PURE__ */ jsx10("div", {
794
+ return /* @__PURE__ */ jsx11("div", {
716
795
  "data-density": density,
717
796
  "data-slot": "alert-dialog-header",
718
797
  className: cn2("grid shrink-0 grid-rows-[auto_1fr] place-items-center gap-control-gap text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", className),
@@ -720,7 +799,7 @@ function AlertDialogHeader2({ density, className, ...props }) {
720
799
  });
721
800
  }
722
801
  function AlertDialogFooter2({ density, className, ...props }) {
723
- return /* @__PURE__ */ jsx10("div", {
802
+ return /* @__PURE__ */ jsx11("div", {
724
803
  "data-density": density,
725
804
  "data-slot": "alert-dialog-footer",
726
805
  className: cn2("-mx-panel -mb-panel flex shrink-0 flex-col-reverse gap-2 rounded-b-md border-t bg-muted/50 p-panel group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", className),
@@ -728,7 +807,7 @@ function AlertDialogFooter2({ density, className, ...props }) {
728
807
  });
729
808
  }
730
809
  function AlertDialogMedia2({ density, className, ...props }) {
731
- return /* @__PURE__ */ jsx10("div", {
810
+ return /* @__PURE__ */ jsx11("div", {
732
811
  "data-density": density,
733
812
  "data-slot": "alert-dialog-media",
734
813
  className: cn2("mb-2 inline-flex size-10 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-control-xs", className),
@@ -736,7 +815,7 @@ function AlertDialogMedia2({ density, className, ...props }) {
736
815
  });
737
816
  }
738
817
  function AlertDialogTitle2({ density, className, ...props }) {
739
- return /* @__PURE__ */ jsx10(AlertDialogPrimitive.Title, {
818
+ return /* @__PURE__ */ jsx11(AlertDialogPrimitive.Title, {
740
819
  "data-density": density,
741
820
  "data-slot": "alert-dialog-title",
742
821
  className: (state) => cn2("text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", typeof className === "function" ? className(state) : className),
@@ -744,7 +823,7 @@ function AlertDialogTitle2({ density, className, ...props }) {
744
823
  });
745
824
  }
746
825
  function AlertDialogDescription2({ density, className, ...props }) {
747
- return /* @__PURE__ */ jsx10(AlertDialogPrimitive.Description, {
826
+ return /* @__PURE__ */ jsx11(AlertDialogPrimitive.Description, {
748
827
  "data-density": density,
749
828
  "data-slot": "alert-dialog-description",
750
829
  className: (state) => cn2("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", typeof className === "function" ? className(state) : className),
@@ -752,7 +831,7 @@ function AlertDialogDescription2({ density, className, ...props }) {
752
831
  });
753
832
  }
754
833
  function AlertDialogAction2({ density, className, ...props }) {
755
- return /* @__PURE__ */ jsx10(Button2, {
834
+ return /* @__PURE__ */ jsx11(Button2, {
756
835
  "data-density": density,
757
836
  "data-slot": "alert-dialog-action",
758
837
  className,
@@ -766,11 +845,11 @@ function AlertDialogCancel2({
766
845
  size = "default",
767
846
  ...props
768
847
  }) {
769
- return /* @__PURE__ */ jsx10(AlertDialogPrimitive.Close, {
848
+ return /* @__PURE__ */ jsx11(AlertDialogPrimitive.Close, {
770
849
  "data-density": density,
771
850
  "data-slot": "alert-dialog-cancel",
772
851
  className,
773
- render: /* @__PURE__ */ jsx10(Button2, {
852
+ render: /* @__PURE__ */ jsx11(Button2, {
774
853
  variant,
775
854
  size
776
855
  }),
@@ -780,7 +859,7 @@ function AlertDialogCancel2({
780
859
  // src/components/DensityProvider.tsx
781
860
  import { mergeProps as mergeProps2 } from "@base-ui/react/merge-props";
782
861
  import { useRender as useRender2 } from "@base-ui/react/use-render";
783
- import { jsx as jsx11 } from "react/jsx-runtime";
862
+ import { jsx as jsx12 } from "react/jsx-runtime";
784
863
  function DensityProvider2({
785
864
  density = "comfortable",
786
865
  className,
@@ -793,7 +872,7 @@ function DensityProvider2({
793
872
  render,
794
873
  state: { slot: "density-provider", density }
795
874
  });
796
- return /* @__PURE__ */ jsx11(DensityContext.Provider, {
875
+ return /* @__PURE__ */ jsx12(DensityContext.Provider, {
797
876
  value: density,
798
877
  children: element
799
878
  });
@@ -1106,7 +1185,7 @@ function ScrollGuard2({ ownerDocument }) {
1106
1185
  }
1107
1186
 
1108
1187
  // src/components/ThemeProvider.tsx
1109
- import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
1188
+ import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
1110
1189
  function StoredThemeProvider({
1111
1190
  children,
1112
1191
  defaultTheme = "system",
@@ -1118,7 +1197,7 @@ function StoredThemeProvider({
1118
1197
  defaultValue: defaultTheme,
1119
1198
  localStorageKey: storageKey
1120
1199
  });
1121
- return /* @__PURE__ */ jsx12(ThemePalette, {
1200
+ return /* @__PURE__ */ jsx13(ThemePalette, {
1122
1201
  preset,
1123
1202
  theme: forcedTheme ?? ternaryDarkMode,
1124
1203
  resolvedTheme: forcedTheme ?? (isDarkMode ? "dark" : "light"),
@@ -1139,11 +1218,11 @@ function ThemePalette({
1139
1218
  document.documentElement.style.colorScheme = resolvedTheme;
1140
1219
  }, [resolvedTheme, preset]);
1141
1220
  const value = useMemo(() => ({ theme, resolvedTheme, setTheme, preset }), [theme, resolvedTheme, setTheme, preset]);
1142
- return /* @__PURE__ */ jsxs8(ThemeContext.Provider, {
1221
+ return /* @__PURE__ */ jsxs9(ThemeContext.Provider, {
1143
1222
  value,
1144
1223
  children: [
1145
- /* @__PURE__ */ jsx12(ScrollGuard2, {}),
1146
- /* @__PURE__ */ jsx12(LayoutGuard2, {}),
1224
+ /* @__PURE__ */ jsx13(ScrollGuard2, {}),
1225
+ /* @__PURE__ */ jsx13(LayoutGuard2, {}),
1147
1226
  children
1148
1227
  ]
1149
1228
  });
@@ -1157,7 +1236,7 @@ function ControlledThemeProvider({
1157
1236
  const isDark = useMediaQuery("(prefers-color-scheme: dark)");
1158
1237
  const { theme, setTheme } = controlledTheme;
1159
1238
  const resolvedTheme = forcedTheme ?? (theme === "system" ? isDark ? "dark" : "light" : theme);
1160
- return /* @__PURE__ */ jsx12(ThemePalette, {
1239
+ return /* @__PURE__ */ jsx13(ThemePalette, {
1161
1240
  theme: forcedTheme ?? theme,
1162
1241
  resolvedTheme,
1163
1242
  setTheme,
@@ -1167,18 +1246,18 @@ function ControlledThemeProvider({
1167
1246
  }
1168
1247
  function ThemeProvider2(props) {
1169
1248
  if (props.controlledTheme)
1170
- return /* @__PURE__ */ jsx12(ControlledThemeProvider, {
1249
+ return /* @__PURE__ */ jsx13(ControlledThemeProvider, {
1171
1250
  ...props,
1172
1251
  controlledTheme: props.controlledTheme
1173
1252
  });
1174
- return /* @__PURE__ */ jsx12(StoredThemeProvider, {
1253
+ return /* @__PURE__ */ jsx13(StoredThemeProvider, {
1175
1254
  ...props
1176
1255
  });
1177
1256
  }
1178
1257
  // src/components/AspectRatio.tsx
1179
- import { jsx as jsx13 } from "react/jsx-runtime";
1258
+ import { jsx as jsx14 } from "react/jsx-runtime";
1180
1259
  function AspectRatio2({ ratio, className, style, ...props }) {
1181
- return /* @__PURE__ */ jsx13("div", {
1260
+ return /* @__PURE__ */ jsx14("div", {
1182
1261
  "data-slot": "aspect-ratio",
1183
1262
  className: cn2("relative", className),
1184
1263
  style: { aspectRatio: ratio, ...style },
@@ -1189,9 +1268,9 @@ function AspectRatio2({ ratio, className, style, ...props }) {
1189
1268
  import { ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
1190
1269
  import { mergeProps as mergeProps3 } from "@base-ui/react/merge-props";
1191
1270
  import { useRender as useRender3 } from "@base-ui/react/use-render";
1192
- import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
1271
+ import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
1193
1272
  function Breadcrumb2({ density, className, ...props }) {
1194
- return /* @__PURE__ */ jsx14("nav", {
1273
+ return /* @__PURE__ */ jsx15("nav", {
1195
1274
  "aria-label": "breadcrumb",
1196
1275
  "data-density": density,
1197
1276
  "data-slot": "breadcrumb",
@@ -1200,7 +1279,7 @@ function Breadcrumb2({ density, className, ...props }) {
1200
1279
  });
1201
1280
  }
1202
1281
  function BreadcrumbList2({ density, className, ...props }) {
1203
- return /* @__PURE__ */ jsx14("ol", {
1282
+ return /* @__PURE__ */ jsx15("ol", {
1204
1283
  "data-density": density,
1205
1284
  "data-slot": "breadcrumb-list",
1206
1285
  className: cn2("flex flex-wrap items-center gap-control-gap text-sm wrap-break-word text-muted-foreground", className),
@@ -1208,7 +1287,7 @@ function BreadcrumbList2({ density, className, ...props }) {
1208
1287
  });
1209
1288
  }
1210
1289
  function BreadcrumbItem2({ density, className, ...props }) {
1211
- return /* @__PURE__ */ jsx14("li", {
1290
+ return /* @__PURE__ */ jsx15("li", {
1212
1291
  "data-density": density,
1213
1292
  "data-slot": "breadcrumb-item",
1214
1293
  className: cn2("inline-flex items-center gap-1", className),
@@ -1230,7 +1309,7 @@ function BreadcrumbLink2({ analytics, density, className, render, ...props }) {
1230
1309
  });
1231
1310
  }
1232
1311
  function BreadcrumbPage2({ density, className, ...props }) {
1233
- return /* @__PURE__ */ jsx14("span", {
1312
+ return /* @__PURE__ */ jsx15("span", {
1234
1313
  "data-density": density,
1235
1314
  "data-slot": "breadcrumb-page",
1236
1315
  role: "link",
@@ -1241,20 +1320,20 @@ function BreadcrumbPage2({ density, className, ...props }) {
1241
1320
  });
1242
1321
  }
1243
1322
  function BreadcrumbSeparator2({ density, children, className, ...props }) {
1244
- return /* @__PURE__ */ jsx14("li", {
1323
+ return /* @__PURE__ */ jsx15("li", {
1245
1324
  "data-density": density,
1246
1325
  "data-slot": "breadcrumb-separator",
1247
1326
  role: "presentation",
1248
1327
  "aria-hidden": "true",
1249
1328
  className: cn2("[&>svg]:size-3.5", className),
1250
1329
  ...props,
1251
- children: children ?? /* @__PURE__ */ jsx14(ChevronRightIcon, {
1330
+ children: children ?? /* @__PURE__ */ jsx15(ChevronRightIcon, {
1252
1331
  className: "rtl:rotate-180"
1253
1332
  })
1254
1333
  });
1255
1334
  }
1256
1335
  function BreadcrumbEllipsis2({ density, className, ...props }) {
1257
- return /* @__PURE__ */ jsxs9("span", {
1336
+ return /* @__PURE__ */ jsxs10("span", {
1258
1337
  "data-density": density,
1259
1338
  "data-slot": "breadcrumb-ellipsis",
1260
1339
  role: "presentation",
@@ -1262,8 +1341,8 @@ function BreadcrumbEllipsis2({ density, className, ...props }) {
1262
1341
  className: cn2("flex size-5 items-center justify-center [&>svg]:size-4", className),
1263
1342
  ...props,
1264
1343
  children: [
1265
- /* @__PURE__ */ jsx14(MoreHorizontalIcon, {}),
1266
- /* @__PURE__ */ jsx14("span", {
1344
+ /* @__PURE__ */ jsx15(MoreHorizontalIcon, {}),
1345
+ /* @__PURE__ */ jsx15("span", {
1267
1346
  className: "sr-only",
1268
1347
  children: "More"
1269
1348
  })
@@ -1274,7 +1353,7 @@ function BreadcrumbEllipsis2({ density, className, ...props }) {
1274
1353
  import { mergeProps as mergeProps4 } from "@base-ui/react/merge-props";
1275
1354
  import { useRender as useRender4 } from "@base-ui/react/use-render";
1276
1355
  import { cva } from "class-variance-authority";
1277
- import { jsx as jsx15 } from "react/jsx-runtime";
1356
+ import { jsx as jsx16 } from "react/jsx-runtime";
1278
1357
  var buttonGroupVariants2 = cva("flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-e-sm [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", {
1279
1358
  variants: {
1280
1359
  layout: {
@@ -1297,7 +1376,7 @@ function ButtonGroup2({
1297
1376
  layout = "content",
1298
1377
  ...props
1299
1378
  }) {
1300
- return /* @__PURE__ */ jsx15("div", {
1379
+ return /* @__PURE__ */ jsx16("div", {
1301
1380
  role: "group",
1302
1381
  "data-density": density,
1303
1382
  "data-slot": "button-group",
@@ -1325,7 +1404,7 @@ function ButtonGroupSeparator2({
1325
1404
  orientation = "vertical",
1326
1405
  ...props
1327
1406
  }) {
1328
- return /* @__PURE__ */ jsx15(Separator2, {
1407
+ return /* @__PURE__ */ jsx16(Separator2, {
1329
1408
  "data-density": density,
1330
1409
  "data-slot": "button-group-separator",
1331
1410
  orientation,
@@ -1337,9 +1416,9 @@ function ButtonGroupSeparator2({
1337
1416
  import { mergeProps as mergeProps5 } from "@base-ui/react/merge-props";
1338
1417
  import { useRender as useRender5 } from "@base-ui/react/use-render";
1339
1418
  import { cva as cva2 } from "class-variance-authority";
1340
- import { jsx as jsx16 } from "react/jsx-runtime";
1419
+ import { jsx as jsx17 } from "react/jsx-runtime";
1341
1420
  function ItemGroup2({ density, className, ...props }) {
1342
- return /* @__PURE__ */ jsx16("div", {
1421
+ return /* @__PURE__ */ jsx17("div", {
1343
1422
  role: "list",
1344
1423
  "data-density": density,
1345
1424
  "data-slot": "item-group",
@@ -1348,7 +1427,7 @@ function ItemGroup2({ density, className, ...props }) {
1348
1427
  });
1349
1428
  }
1350
1429
  function ItemSeparator2({ density, className, ...props }) {
1351
- return /* @__PURE__ */ jsx16(Separator2, {
1430
+ return /* @__PURE__ */ jsx17(Separator2, {
1352
1431
  "data-density": density,
1353
1432
  "data-slot": "item-separator",
1354
1433
  orientation: "horizontal",
@@ -1409,7 +1488,7 @@ var itemMediaVariants = cva2("flex shrink-0 items-center justify-center gap-2 gr
1409
1488
  }
1410
1489
  });
1411
1490
  function ItemMedia2({ density, className, variant = "default", ...props }) {
1412
- return /* @__PURE__ */ jsx16("div", {
1491
+ return /* @__PURE__ */ jsx17("div", {
1413
1492
  "data-density": density,
1414
1493
  "data-slot": "item-media",
1415
1494
  "data-variant": variant,
@@ -1418,7 +1497,7 @@ function ItemMedia2({ density, className, variant = "default", ...props }) {
1418
1497
  });
1419
1498
  }
1420
1499
  function ItemContent2({ density, className, ...props }) {
1421
- return /* @__PURE__ */ jsx16("div", {
1500
+ return /* @__PURE__ */ jsx17("div", {
1422
1501
  "data-density": density,
1423
1502
  "data-slot": "item-content",
1424
1503
  className: cn2("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none", className),
@@ -1426,7 +1505,7 @@ function ItemContent2({ density, className, ...props }) {
1426
1505
  });
1427
1506
  }
1428
1507
  function ItemTitle2({ density, className, wrap = false, ...props }) {
1429
- return /* @__PURE__ */ jsx16("div", {
1508
+ return /* @__PURE__ */ jsx17("div", {
1430
1509
  "data-density": density,
1431
1510
  "data-slot": "item-title",
1432
1511
  className: cn2(!wrap && "line-clamp-1", "flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4", wrap && "min-w-0 max-w-full wrap-anywhere", className),
@@ -1434,7 +1513,7 @@ function ItemTitle2({ density, className, wrap = false, ...props }) {
1434
1513
  });
1435
1514
  }
1436
1515
  function ItemDescription2({ density, className, ...props }) {
1437
- return /* @__PURE__ */ jsx16("p", {
1516
+ return /* @__PURE__ */ jsx17("p", {
1438
1517
  "data-density": density,
1439
1518
  "data-slot": "item-description",
1440
1519
  className: cn2("line-clamp-2 text-start text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", className),
@@ -1442,7 +1521,7 @@ function ItemDescription2({ density, className, ...props }) {
1442
1521
  });
1443
1522
  }
1444
1523
  function ItemActions2({ density, className, ...props }) {
1445
- return /* @__PURE__ */ jsx16("div", {
1524
+ return /* @__PURE__ */ jsx17("div", {
1446
1525
  "data-density": density,
1447
1526
  "data-slot": "item-actions",
1448
1527
  className: cn2("flex items-center gap-2", className),
@@ -1450,7 +1529,7 @@ function ItemActions2({ density, className, ...props }) {
1450
1529
  });
1451
1530
  }
1452
1531
  function ItemHeader2({ density, className, ...props }) {
1453
- return /* @__PURE__ */ jsx16("div", {
1532
+ return /* @__PURE__ */ jsx17("div", {
1454
1533
  "data-density": density,
1455
1534
  "data-slot": "item-header",
1456
1535
  className: cn2("flex basis-full items-center justify-between gap-2", className),
@@ -1458,7 +1537,7 @@ function ItemHeader2({ density, className, ...props }) {
1458
1537
  });
1459
1538
  }
1460
1539
  function ItemFooter2({ density, className, ...props }) {
1461
- return /* @__PURE__ */ jsx16("div", {
1540
+ return /* @__PURE__ */ jsx17("div", {
1462
1541
  "data-density": density,
1463
1542
  "data-slot": "item-footer",
1464
1543
  className: cn2("flex basis-full items-center justify-between gap-2", className),
@@ -1467,9 +1546,9 @@ function ItemFooter2({ density, className, ...props }) {
1467
1546
  }
1468
1547
  // src/components/Pagination.tsx
1469
1548
  import { ChevronLeftIcon, ChevronRightIcon as ChevronRightIcon2, MoreHorizontalIcon as MoreHorizontalIcon2 } from "lucide-react";
1470
- import { jsx as jsx17, jsxs as jsxs10 } from "react/jsx-runtime";
1549
+ import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
1471
1550
  function Pagination2({ density, className, ...props }) {
1472
- return /* @__PURE__ */ jsx17("nav", {
1551
+ return /* @__PURE__ */ jsx18("nav", {
1473
1552
  role: "navigation",
1474
1553
  "aria-label": "pagination",
1475
1554
  "data-density": density,
@@ -1479,7 +1558,7 @@ function Pagination2({ density, className, ...props }) {
1479
1558
  });
1480
1559
  }
1481
1560
  function PaginationContent2({ density, className, ...props }) {
1482
- return /* @__PURE__ */ jsx17("ul", {
1561
+ return /* @__PURE__ */ jsx18("ul", {
1483
1562
  "data-density": density,
1484
1563
  "data-slot": "pagination-content",
1485
1564
  className: cn2("flex items-center gap-0.5", className),
@@ -1487,7 +1566,7 @@ function PaginationContent2({ density, className, ...props }) {
1487
1566
  });
1488
1567
  }
1489
1568
  function PaginationItem2({ ...props }) {
1490
- return /* @__PURE__ */ jsx17("li", {
1569
+ return /* @__PURE__ */ jsx18("li", {
1491
1570
  "data-slot": "pagination-item",
1492
1571
  ...props
1493
1572
  });
@@ -1500,7 +1579,7 @@ function PaginationLink2({
1500
1579
  size = "icon",
1501
1580
  ...props
1502
1581
  }) {
1503
- return /* @__PURE__ */ jsx17(AnalyticsLink, {
1582
+ return /* @__PURE__ */ jsx18(AnalyticsLink, {
1504
1583
  component: "PaginationLink",
1505
1584
  analytics,
1506
1585
  "data-density": density,
@@ -1517,18 +1596,18 @@ function PaginationPrevious2({
1517
1596
  text = "Previous",
1518
1597
  ...props
1519
1598
  }) {
1520
- return /* @__PURE__ */ jsxs10(PaginationLink2, {
1599
+ return /* @__PURE__ */ jsxs11(PaginationLink2, {
1521
1600
  density,
1522
1601
  "aria-label": "Go to previous page",
1523
1602
  size: "default",
1524
1603
  className: cn2("ps-1.5!", className),
1525
1604
  ...props,
1526
1605
  children: [
1527
- /* @__PURE__ */ jsx17(ChevronLeftIcon, {
1606
+ /* @__PURE__ */ jsx18(ChevronLeftIcon, {
1528
1607
  "data-icon": "inline-start",
1529
1608
  className: "rtl:rotate-180"
1530
1609
  }),
1531
- /* @__PURE__ */ jsx17("span", {
1610
+ /* @__PURE__ */ jsx18("span", {
1532
1611
  className: "hidden sm:block",
1533
1612
  children: text
1534
1613
  })
@@ -1536,18 +1615,18 @@ function PaginationPrevious2({
1536
1615
  });
1537
1616
  }
1538
1617
  function PaginationNext2({ density, className, text = "Next", ...props }) {
1539
- return /* @__PURE__ */ jsxs10(PaginationLink2, {
1618
+ return /* @__PURE__ */ jsxs11(PaginationLink2, {
1540
1619
  density,
1541
1620
  "aria-label": "Go to next page",
1542
1621
  size: "default",
1543
1622
  className: cn2("pe-1.5!", className),
1544
1623
  ...props,
1545
1624
  children: [
1546
- /* @__PURE__ */ jsx17("span", {
1625
+ /* @__PURE__ */ jsx18("span", {
1547
1626
  className: "hidden sm:block",
1548
1627
  children: text
1549
1628
  }),
1550
- /* @__PURE__ */ jsx17(ChevronRightIcon2, {
1629
+ /* @__PURE__ */ jsx18(ChevronRightIcon2, {
1551
1630
  "data-icon": "inline-end",
1552
1631
  className: "rtl:rotate-180"
1553
1632
  })
@@ -1555,15 +1634,15 @@ function PaginationNext2({ density, className, text = "Next", ...props }) {
1555
1634
  });
1556
1635
  }
1557
1636
  function PaginationEllipsis2({ density, className, ...props }) {
1558
- return /* @__PURE__ */ jsxs10("span", {
1637
+ return /* @__PURE__ */ jsxs11("span", {
1559
1638
  "aria-hidden": true,
1560
1639
  "data-density": density,
1561
1640
  "data-slot": "pagination-ellipsis",
1562
1641
  className: cn2("flex size-control items-center justify-center [&_svg:not([class*='size-'])]:size-4", className),
1563
1642
  ...props,
1564
1643
  children: [
1565
- /* @__PURE__ */ jsx17(MoreHorizontalIcon2, {}),
1566
- /* @__PURE__ */ jsx17("span", {
1644
+ /* @__PURE__ */ jsx18(MoreHorizontalIcon2, {}),
1645
+ /* @__PURE__ */ jsx18("span", {
1567
1646
  className: "sr-only",
1568
1647
  children: "More pages"
1569
1648
  })
@@ -1589,7 +1668,7 @@ function useDrawer() {
1589
1668
 
1590
1669
  // src/components/Drawer.tsx
1591
1670
  import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
1592
- import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
1671
+ import { jsx as jsx19, jsxs as jsxs12 } from "react/jsx-runtime";
1593
1672
  function Drawer2({
1594
1673
  analytics,
1595
1674
  modal = true,
@@ -1601,9 +1680,9 @@ function Drawer2({
1601
1680
  const trackedOnOpenChange = useAnalyticsCallback("Drawer", analytics, (open, _details) => ({ name: "ui.open-request", open }), props.onOpenChange);
1602
1681
  const hasSnapPoints = snapPoints != null && snapPoints.length > 0;
1603
1682
  const contextValue = useMemo2(() => ({ hasSnapPoints, modal, showSwipeHandle, swipeDirection }), [hasSnapPoints, modal, showSwipeHandle, swipeDirection]);
1604
- return /* @__PURE__ */ jsx18(DrawerContext.Provider, {
1683
+ return /* @__PURE__ */ jsx19(DrawerContext.Provider, {
1605
1684
  value: contextValue,
1606
- children: /* @__PURE__ */ jsx18(DrawerPrimitive.Root, {
1685
+ children: /* @__PURE__ */ jsx19(DrawerPrimitive.Root, {
1607
1686
  "data-slot": "drawer",
1608
1687
  modal,
1609
1688
  snapPoints,
@@ -1614,7 +1693,7 @@ function Drawer2({
1614
1693
  });
1615
1694
  }
1616
1695
  function DrawerTrigger2({ ...props }) {
1617
- return /* @__PURE__ */ jsx18(DrawerPrimitive.Trigger, {
1696
+ return /* @__PURE__ */ jsx19(DrawerPrimitive.Trigger, {
1618
1697
  "data-slot": "drawer-trigger",
1619
1698
  ...props
1620
1699
  });
@@ -1622,26 +1701,26 @@ function DrawerTrigger2({ ...props }) {
1622
1701
  function DrawerPortal2({ container, ref, children, ...props }) {
1623
1702
  const resolvedContainer = usePortalContainer2(container);
1624
1703
  const portal = usePortalNode(ref);
1625
- return /* @__PURE__ */ jsx18(DrawerPrimitive.Portal, {
1704
+ return /* @__PURE__ */ jsx19(DrawerPrimitive.Portal, {
1626
1705
  "data-slot": "drawer-portal",
1627
1706
  container: resolvedContainer,
1628
1707
  ref: portal.ref,
1629
1708
  ...props,
1630
- children: /* @__PURE__ */ jsx18(PortalProvider2, {
1709
+ children: /* @__PURE__ */ jsx19(PortalProvider2, {
1631
1710
  container: portal.node,
1632
1711
  children
1633
1712
  })
1634
1713
  });
1635
1714
  }
1636
1715
  function DrawerClose2({ ...props }) {
1637
- return /* @__PURE__ */ jsx18(DrawerPrimitive.Close, {
1716
+ return /* @__PURE__ */ jsx19(DrawerPrimitive.Close, {
1638
1717
  "data-slot": "drawer-close",
1639
1718
  ...props
1640
1719
  });
1641
1720
  }
1642
1721
  function DrawerOverlay2({ density, className, ...props }) {
1643
1722
  const resolvedDensity = useDensity(density);
1644
- return /* @__PURE__ */ jsx18(DrawerPrimitive.Backdrop, {
1723
+ return /* @__PURE__ */ jsx19(DrawerPrimitive.Backdrop, {
1645
1724
  "data-density": resolvedDensity,
1646
1725
  "data-slot": "drawer-overlay",
1647
1726
  className: (state) => cn2("fixed inset-0 min-h-dvh bg-backdrop opacity-[max(var(--drawer-overlay-min-opacity,0),calc(1-var(--drawer-swipe-progress)))] transition-opacity duration-450 ease-[cubic-bezier(0.32,0.72,0,1)] select-none data-ending-style:pointer-events-none data-ending-style:opacity-0 data-ending-style:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-snap-points:[--drawer-overlay-min-opacity:0.5] data-starting-style:opacity-0 data-swiping:duration-0 supports-[-webkit-touch-callout:none]:absolute", typeof className === "function" ? className(state) : className),
@@ -1649,7 +1728,7 @@ function DrawerOverlay2({ density, className, ...props }) {
1649
1728
  });
1650
1729
  }
1651
1730
  function DrawerSwipeHandle2({ density, className, ...props }) {
1652
- return /* @__PURE__ */ jsx18("div", {
1731
+ return /* @__PURE__ */ jsx19("div", {
1653
1732
  "data-density": density,
1654
1733
  "data-slot": "drawer-swipe-handle",
1655
1734
  "aria-hidden": "true",
@@ -1662,18 +1741,18 @@ function DrawerContent2({ density, className, children, ...props }) {
1662
1741
  const direction = useDirection2();
1663
1742
  const { hasSnapPoints, modal, showSwipeHandle, swipeDirection } = useDrawer();
1664
1743
  const swipeAxis = swipeDirection === "down" || swipeDirection === "up" ? "y" : "x";
1665
- return /* @__PURE__ */ jsxs11(DrawerPortal2, {
1744
+ return /* @__PURE__ */ jsxs12(DrawerPortal2, {
1666
1745
  "data-slot": "drawer-portal",
1667
1746
  children: [
1668
- modal === true && /* @__PURE__ */ jsx18(DrawerOverlay2, {
1747
+ modal === true && /* @__PURE__ */ jsx19(DrawerOverlay2, {
1669
1748
  "data-snap-points": hasSnapPoints ? "" : undefined
1670
1749
  }),
1671
- /* @__PURE__ */ jsx18(DrawerPrimitive.Viewport, {
1750
+ /* @__PURE__ */ jsx19(DrawerPrimitive.Viewport, {
1672
1751
  dir: direction,
1673
1752
  "data-slot": "drawer-viewport",
1674
1753
  "data-modal": modal,
1675
1754
  className: "pointer-events-none fixed inset-0 select-none data-[modal=true]:pointer-events-auto",
1676
- children: /* @__PURE__ */ jsxs11(DrawerPrimitive.Popup, {
1755
+ children: /* @__PURE__ */ jsxs12(DrawerPrimitive.Popup, {
1677
1756
  "data-density": resolvedDensity,
1678
1757
  "data-slot": "drawer-popup",
1679
1758
  "data-scroll": "none",
@@ -1682,8 +1761,8 @@ function DrawerContent2({ density, className, children, ...props }) {
1682
1761
  className: (state) => cn2("group/drawer-popup pointer-events-auto fixed m-(--drawer-inset,0px) flex h-(--drawer-content-height) max-h-(--drawer-content-max-height,none) min-h-0 w-(--drawer-content-width,auto) transform-[translate3d(var(--translate-x,0px),var(--translate-y,0px),0)] flex-col border border-frame-edge shadow-frame bg-popover text-sm text-popover-foreground transition-[transform,height,opacity,filter] duration-450 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform outline-none select-none [interpolate-size:allow-keywords] data-[swipe-direction=down]:rounded-t-md data-[swipe-direction=down]:border-t data-[swipe-direction=left]:rounded-r-md data-[swipe-direction=left]:border-r data-[swipe-direction=right]:rounded-l-md data-[swipe-direction=right]:border-l data-[swipe-direction=up]:rounded-b-md data-[swipe-direction=up]:border-b", "data-nested-drawer-open:overflow-hidden data-nested-drawer-open:brightness-95", "after:pointer-events-none after:absolute after:bg-(--drawer-bleed-background,var(--color-popover)) data-[swipe-axis=x]:after:inset-y-0 data-[swipe-axis=x]:after:w-(--bleed) data-[swipe-axis=y]:after:inset-x-0 data-[swipe-axis=y]:after:h-(--bleed) data-[swipe-direction=down]:after:top-full data-[swipe-direction=left]:after:right-full data-[swipe-direction=right]:after:left-full data-[swipe-direction=up]:after:bottom-full", "[--drawer-content-height:var(--drawer-height,auto)] data-[swipe-axis=x]:[--drawer-content-width:75%] data-[swipe-axis=y]:[--drawer-content-max-height:calc(100dvh-6rem)] data-[swipe-axis=y]:data-snap-points:[--drawer-content-height:100dvh] data-[swipe-axis=x]:sm:[--drawer-content-width:24rem]", "[--bleed:3rem] [--peek:1rem] [--stack-height:var(--drawer-frontmost-height,var(--drawer-height,0px))] [--stack-peek-offset:max(0px,calc((var(--nested-drawers)-var(--stack-progress))*var(--peek)))] [--stack-progress:clamp(0,var(--drawer-swipe-progress),1)] [--stack-shrink:0]", "data-ending-style:transform-(--closed-transform) data-ending-style:opacity-[0.9999] data-ending-style:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-nested-drawer-swiping:duration-0 data-ending-style:data-nested-drawer-swiping:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-starting-style:transform-(--closed-transform) data-swiping:duration-0 data-ending-style:data-swiping:duration-[calc(var(--drawer-swipe-strength)*400ms)]", "data-[swipe-axis=y]:inset-x-0 data-[swipe-axis=y]:data-nested-drawer-open:h-(--stack-height)", "data-[swipe-axis=x]:inset-y-0 data-[swipe-axis=x]:flex-row", "data-[swipe-direction=down]:bottom-0 data-[swipe-direction=down]:origin-bottom data-[swipe-direction=down]:[--closed-transform:translate3d(0,calc(100%+var(--drawer-inset,0px)+2px),0)] data-[swipe-direction=down]:[--translate-y:calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-movement-y)-var(--stack-peek-offset)-(var(--stack-shrink)*var(--stack-height)))]", "data-[swipe-direction=up]:top-0 data-[swipe-direction=up]:origin-top data-[swipe-direction=up]:[--closed-transform:translate3d(0,calc(-100%-var(--drawer-inset,0px)-2px),0)] data-[swipe-direction=up]:[--translate-y:calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-movement-y)+var(--stack-peek-offset)+(var(--stack-shrink)*var(--stack-height)))]", "data-[swipe-direction=left]:left-0 data-[swipe-direction=left]:origin-left data-[swipe-direction=left]:[--closed-transform:translate3d(calc(-100%-var(--drawer-inset,0px)-2px),0,0)] data-[swipe-direction=left]:[--translate-x:calc(var(--drawer-swipe-movement-x)+var(--stack-peek-offset)+(var(--stack-shrink)*100%))]", "data-[swipe-direction=right]:right-0 data-[swipe-direction=right]:origin-right data-[swipe-direction=right]:[--closed-transform:translate3d(calc(100%+var(--drawer-inset,0px)+2px),0,0)] data-[swipe-direction=right]:[--translate-x:calc(var(--drawer-swipe-movement-x)-var(--stack-peek-offset)-(var(--stack-shrink)*100%))]", typeof className === "function" ? className(state) : className),
1683
1762
  ...props,
1684
1763
  children: [
1685
- showSwipeHandle && /* @__PURE__ */ jsx18(DrawerSwipeHandle2, {}),
1686
- /* @__PURE__ */ jsx18(DrawerPrimitive.Content, {
1764
+ showSwipeHandle && /* @__PURE__ */ jsx19(DrawerSwipeHandle2, {}),
1765
+ /* @__PURE__ */ jsx19(DrawerPrimitive.Content, {
1687
1766
  "data-slot": "drawer-content",
1688
1767
  "data-scroll": "none",
1689
1768
  className: "flex min-h-0 flex-1 flex-col overflow-hidden overscroll-contain rounded-[inherit] transition-opacity duration-300 ease-out select-text group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-drawer-swiping/drawer-popup:opacity-100 group-data-swiping/drawer-popup:select-none",
@@ -1696,7 +1775,7 @@ function DrawerContent2({ density, className, children, ...props }) {
1696
1775
  });
1697
1776
  }
1698
1777
  function DrawerHeader2({ density, className, ...props }) {
1699
- return /* @__PURE__ */ jsx18("div", {
1778
+ return /* @__PURE__ */ jsx19("div", {
1700
1779
  "data-density": density,
1701
1780
  "data-slot": "drawer-header",
1702
1781
  className: cn2("flex shrink-0 flex-col gap-0.5 p-panel pb-0 group-data-[swipe-axis=y]/drawer-popup:text-center md:gap-0.5 md:text-start md:group-data-[swipe-axis=y]/drawer-popup:text-start", className),
@@ -1704,7 +1783,7 @@ function DrawerHeader2({ density, className, ...props }) {
1704
1783
  });
1705
1784
  }
1706
1785
  function DrawerFooter2({ density, className, ...props }) {
1707
- return /* @__PURE__ */ jsx18("div", {
1786
+ return /* @__PURE__ */ jsx19("div", {
1708
1787
  "data-density": density,
1709
1788
  "data-slot": "drawer-footer",
1710
1789
  className: cn2("mt-auto flex shrink-0 flex-col gap-2 p-panel pt-0", className),
@@ -1712,7 +1791,7 @@ function DrawerFooter2({ density, className, ...props }) {
1712
1791
  });
1713
1792
  }
1714
1793
  function DrawerTitle2({ density, className, ...props }) {
1715
- return /* @__PURE__ */ jsx18(DrawerPrimitive.Title, {
1794
+ return /* @__PURE__ */ jsx19(DrawerPrimitive.Title, {
1716
1795
  "data-density": density,
1717
1796
  "data-slot": "drawer-title",
1718
1797
  className: (state) => cn2(" text-base font-medium text-foreground", typeof className === "function" ? className(state) : className),
@@ -1720,7 +1799,7 @@ function DrawerTitle2({ density, className, ...props }) {
1720
1799
  });
1721
1800
  }
1722
1801
  function DrawerDescription2({ density, className, ...props }) {
1723
- return /* @__PURE__ */ jsx18(DrawerPrimitive.Description, {
1802
+ return /* @__PURE__ */ jsx19(DrawerPrimitive.Description, {
1724
1803
  "data-density": density,
1725
1804
  "data-slot": "drawer-description",
1726
1805
  className: (state) => cn2("text-sm text-balance text-muted-foreground", typeof className === "function" ? className(state) : className),
@@ -1731,9 +1810,9 @@ function DrawerDescription2({ density, className, ...props }) {
1731
1810
  import { CheckIcon } from "lucide-react";
1732
1811
  import { Menu as MenuPrimitive } from "@base-ui/react/menu";
1733
1812
  import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
1734
- import { jsx as jsx19, jsxs as jsxs12 } from "react/jsx-runtime";
1813
+ import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
1735
1814
  function Menubar2({ density, className, ...props }) {
1736
- return /* @__PURE__ */ jsx19(MenubarPrimitive, {
1815
+ return /* @__PURE__ */ jsx20(MenubarPrimitive, {
1737
1816
  "data-density": density,
1738
1817
  "data-slot": "menubar",
1739
1818
  className: (state) => cn2("flex h-control items-center gap-0.5 rounded-sm border p-px", typeof className === "function" ? className(state) : className),
@@ -1745,26 +1824,26 @@ function MenubarMenu2({
1745
1824
  ...props
1746
1825
  }) {
1747
1826
  const trackedOnOpenChange = useAnalyticsCallback("MenubarMenu", analytics, (open, _details) => ({ name: "ui.open-request", open }), props.onOpenChange);
1748
- return /* @__PURE__ */ jsx19(DropdownMenu2, {
1827
+ return /* @__PURE__ */ jsx20(DropdownMenu2, {
1749
1828
  "data-slot": "menubar-menu",
1750
1829
  ...props,
1751
1830
  onOpenChange: trackedOnOpenChange
1752
1831
  });
1753
1832
  }
1754
1833
  function MenubarGroup2({ ...props }) {
1755
- return /* @__PURE__ */ jsx19(MenuGroup2, {
1834
+ return /* @__PURE__ */ jsx20(MenuGroup2, {
1756
1835
  "data-slot": "menubar-group",
1757
1836
  ...props
1758
1837
  });
1759
1838
  }
1760
1839
  function MenubarPortal2({ ...props }) {
1761
- return /* @__PURE__ */ jsx19(MenuPortal, {
1840
+ return /* @__PURE__ */ jsx20(MenuPortal, {
1762
1841
  "data-slot": "menubar-portal",
1763
1842
  ...props
1764
1843
  });
1765
1844
  }
1766
1845
  function MenubarTrigger2({ density, className, ...props }) {
1767
- return /* @__PURE__ */ jsx19(DropdownMenuTrigger2, {
1846
+ return /* @__PURE__ */ jsx20(DropdownMenuTrigger2, {
1768
1847
  "data-density": density,
1769
1848
  "data-slot": "menubar-trigger",
1770
1849
  className: (state) => cn2("flex h-full items-center rounded-sm px-control-x text-sm leading-none font-medium outline-hidden select-none hover:bg-muted aria-expanded:bg-muted", typeof className === "function" ? className(state) : className),
@@ -1779,7 +1858,7 @@ function MenubarContent2({
1779
1858
  sideOffset = 8,
1780
1859
  ...props
1781
1860
  }) {
1782
- return /* @__PURE__ */ jsx19(MenuPopup, {
1861
+ return /* @__PURE__ */ jsx20(MenuPopup, {
1783
1862
  density,
1784
1863
  "data-slot": "menubar-content",
1785
1864
  align,
@@ -1798,7 +1877,7 @@ function MenubarItem2({
1798
1877
  ...props
1799
1878
  }) {
1800
1879
  const trackedOnClick = useAnalyticsCallback("MenubarItem", analytics, { name: "ui.activate" }, props.onClick);
1801
- return /* @__PURE__ */ jsx19(MenuItem2, {
1880
+ return /* @__PURE__ */ jsx20(MenuItem2, {
1802
1881
  density,
1803
1882
  "data-slot": "menubar-item",
1804
1883
  inset,
@@ -1818,7 +1897,7 @@ function MenubarCheckboxItem2({
1818
1897
  ...props
1819
1898
  }) {
1820
1899
  const trackedOnCheckedChange = useAnalyticsCallback("MenubarCheckboxItem", analytics, { name: "ui.change-request" }, props.onCheckedChange);
1821
- return /* @__PURE__ */ jsxs12(MenuPrimitive.CheckboxItem, {
1900
+ return /* @__PURE__ */ jsxs13(MenuPrimitive.CheckboxItem, {
1822
1901
  "data-density": density,
1823
1902
  "data-slot": "menubar-checkbox-item",
1824
1903
  "data-inset": inset,
@@ -1827,10 +1906,10 @@ function MenubarCheckboxItem2({
1827
1906
  ...props,
1828
1907
  onCheckedChange: trackedOnCheckedChange,
1829
1908
  children: [
1830
- /* @__PURE__ */ jsx19("span", {
1909
+ /* @__PURE__ */ jsx20("span", {
1831
1910
  className: "pointer-events-none absolute start-1.5 flex size-4 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
1832
- children: /* @__PURE__ */ jsx19(MenuPrimitive.CheckboxItemIndicator, {
1833
- children: /* @__PURE__ */ jsx19(CheckIcon, {})
1911
+ children: /* @__PURE__ */ jsx20(MenuPrimitive.CheckboxItemIndicator, {
1912
+ children: /* @__PURE__ */ jsx20(CheckIcon, {})
1834
1913
  })
1835
1914
  }),
1836
1915
  children
@@ -1838,23 +1917,23 @@ function MenubarCheckboxItem2({
1838
1917
  });
1839
1918
  }
1840
1919
  function MenubarRadioGroup2({ ...props }) {
1841
- return /* @__PURE__ */ jsx19(MenuRadioGroup2, {
1920
+ return /* @__PURE__ */ jsx20(MenuRadioGroup2, {
1842
1921
  "data-slot": "menubar-radio-group",
1843
1922
  ...props
1844
1923
  });
1845
1924
  }
1846
1925
  function MenubarRadioItem2({ density, className, children, inset, ...props }) {
1847
- return /* @__PURE__ */ jsxs12(MenuPrimitive.RadioItem, {
1926
+ return /* @__PURE__ */ jsxs13(MenuPrimitive.RadioItem, {
1848
1927
  "data-density": density,
1849
1928
  "data-slot": "menubar-radio-item",
1850
1929
  "data-inset": inset,
1851
1930
  className: (state) => cn2("relative flex cursor-default items-center gap-control-gap rounded-md py-1 pe-1.5 ps-7 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", typeof className === "function" ? className(state) : className),
1852
1931
  ...props,
1853
1932
  children: [
1854
- /* @__PURE__ */ jsx19("span", {
1933
+ /* @__PURE__ */ jsx20("span", {
1855
1934
  className: "pointer-events-none absolute start-1.5 flex size-4 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
1856
- children: /* @__PURE__ */ jsx19(MenuPrimitive.RadioItemIndicator, {
1857
- children: /* @__PURE__ */ jsx19(CheckIcon, {})
1935
+ children: /* @__PURE__ */ jsx20(MenuPrimitive.RadioItemIndicator, {
1936
+ children: /* @__PURE__ */ jsx20(CheckIcon, {})
1858
1937
  })
1859
1938
  }),
1860
1939
  children
@@ -1862,7 +1941,7 @@ function MenubarRadioItem2({ density, className, children, inset, ...props }) {
1862
1941
  });
1863
1942
  }
1864
1943
  function MenubarLabel2({ density, className, inset, ...props }) {
1865
- return /* @__PURE__ */ jsx19(MenuLabel2, {
1944
+ return /* @__PURE__ */ jsx20(MenuLabel2, {
1866
1945
  density,
1867
1946
  "data-slot": "menubar-label",
1868
1947
  inset,
@@ -1871,7 +1950,7 @@ function MenubarLabel2({ density, className, inset, ...props }) {
1871
1950
  });
1872
1951
  }
1873
1952
  function MenubarSeparator2({ density, className, ...props }) {
1874
- return /* @__PURE__ */ jsx19(MenuSeparator2, {
1953
+ return /* @__PURE__ */ jsx20(MenuSeparator2, {
1875
1954
  density,
1876
1955
  "data-slot": "menubar-separator",
1877
1956
  className: (state) => cn2("-mx-1 my-1 h-px bg-border", typeof className === "function" ? className(state) : className),
@@ -1879,7 +1958,7 @@ function MenubarSeparator2({ density, className, ...props }) {
1879
1958
  });
1880
1959
  }
1881
1960
  function MenubarShortcut2({ density, className, ...props }) {
1882
- return /* @__PURE__ */ jsx19(MenuShortcut2, {
1961
+ return /* @__PURE__ */ jsx20(MenuShortcut2, {
1883
1962
  "data-density": density,
1884
1963
  "data-slot": "menubar-shortcut",
1885
1964
  className: cn2("ms-auto text-xs tracking-widest text-muted-foreground group-focus/menubar-item:text-accent-foreground", className),
@@ -1887,13 +1966,13 @@ function MenubarShortcut2({ density, className, ...props }) {
1887
1966
  });
1888
1967
  }
1889
1968
  function MenubarSub2({ ...props }) {
1890
- return /* @__PURE__ */ jsx19(MenuSub2, {
1969
+ return /* @__PURE__ */ jsx20(MenuSub2, {
1891
1970
  "data-slot": "menubar-sub",
1892
1971
  ...props
1893
1972
  });
1894
1973
  }
1895
1974
  function MenubarSubTrigger2({ density, className, inset, ...props }) {
1896
- return /* @__PURE__ */ jsx19(MenuSubTrigger2, {
1975
+ return /* @__PURE__ */ jsx20(MenuSubTrigger2, {
1897
1976
  density,
1898
1977
  "data-slot": "menubar-sub-trigger",
1899
1978
  inset,
@@ -1902,7 +1981,7 @@ function MenubarSubTrigger2({ density, className, inset, ...props }) {
1902
1981
  });
1903
1982
  }
1904
1983
  function MenubarSubContent2({ density, className, ...props }) {
1905
- return /* @__PURE__ */ jsx19(MenuSubContent2, {
1984
+ return /* @__PURE__ */ jsx20(MenuSubContent2, {
1906
1985
  density,
1907
1986
  "data-slot": "menubar-sub-content",
1908
1987
  className: (state) => cn2(" min-w-32 rounded-sm bg-popover p-1 text-popover-foreground shadow-frame border border-frame-edge border border-frame-edge shadow-frame duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 ", typeof className === "function" ? className(state) : className),
@@ -1913,7 +1992,7 @@ function MenubarSubContent2({ density, className, ...props }) {
1913
1992
  import { ChevronDownIcon as ChevronDownIcon2 } from "lucide-react";
1914
1993
  import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
1915
1994
  import { cva as cva3 } from "class-variance-authority";
1916
- import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
1995
+ import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
1917
1996
  function NavigationMenu2({
1918
1997
  analytics,
1919
1998
  density,
@@ -1924,7 +2003,7 @@ function NavigationMenu2({
1924
2003
  }) {
1925
2004
  const trackedOnValueChange = useAnalyticsCallback("NavigationMenu", analytics, { name: "ui.change-request" }, props.onValueChange);
1926
2005
  const resolvedDensity = useDensity(density);
1927
- return /* @__PURE__ */ jsxs13(NavigationMenuPrimitive.Root, {
2006
+ return /* @__PURE__ */ jsxs14(NavigationMenuPrimitive.Root, {
1928
2007
  "data-density": resolvedDensity,
1929
2008
  "data-slot": "navigation-menu",
1930
2009
  className: (state) => cn2("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", typeof className === "function" ? className(state) : className),
@@ -1932,7 +2011,7 @@ function NavigationMenu2({
1932
2011
  onValueChange: trackedOnValueChange,
1933
2012
  children: [
1934
2013
  children,
1935
- /* @__PURE__ */ jsx20(NavigationMenuPositioner2, {
2014
+ /* @__PURE__ */ jsx21(NavigationMenuPositioner2, {
1936
2015
  density: resolvedDensity,
1937
2016
  align
1938
2017
  })
@@ -1940,7 +2019,7 @@ function NavigationMenu2({
1940
2019
  });
1941
2020
  }
1942
2021
  function NavigationMenuList2({ density, className, ...props }) {
1943
- return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.List, {
2022
+ return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.List, {
1944
2023
  "data-density": density,
1945
2024
  "data-slot": "navigation-menu-list",
1946
2025
  className: (state) => cn2("group flex flex-1 list-none items-center justify-center gap-0", typeof className === "function" ? className(state) : className),
@@ -1948,7 +2027,7 @@ function NavigationMenuList2({ density, className, ...props }) {
1948
2027
  });
1949
2028
  }
1950
2029
  function NavigationMenuItem2({ density, className, ...props }) {
1951
- return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Item, {
2030
+ return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Item, {
1952
2031
  "data-density": density,
1953
2032
  "data-slot": "navigation-menu-item",
1954
2033
  className: (state) => cn2("relative", typeof className === "function" ? className(state) : className),
@@ -1957,7 +2036,7 @@ function NavigationMenuItem2({ density, className, ...props }) {
1957
2036
  }
1958
2037
  var navigationMenuTriggerStyle2 = cva3("group/navigation-menu-trigger inline-flex h-control-lg w-max items-center justify-center rounded-sm px-control-x py-1.5 text-sm font-medium transition-colors outline-none hover:bg-muted focus:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted");
1959
2038
  function NavigationMenuTrigger2({ density, className, children, ...props }) {
1960
- return /* @__PURE__ */ jsxs13(NavigationMenuPrimitive.Trigger, {
2039
+ return /* @__PURE__ */ jsxs14(NavigationMenuPrimitive.Trigger, {
1961
2040
  "data-density": density,
1962
2041
  "data-slot": "navigation-menu-trigger",
1963
2042
  className: (state) => cn2(navigationMenuTriggerStyle2(), "group", typeof className === "function" ? className(state) : className),
@@ -1965,12 +2044,12 @@ function NavigationMenuTrigger2({ density, className, children, ...props }) {
1965
2044
  children: [
1966
2045
  children,
1967
2046
  " ",
1968
- /* @__PURE__ */ jsx20(NavigationMenuIndicator2, {})
2047
+ /* @__PURE__ */ jsx21(NavigationMenuIndicator2, {})
1969
2048
  ]
1970
2049
  });
1971
2050
  }
1972
2051
  function NavigationMenuContent2({ density, className, ...props }) {
1973
- return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Content, {
2052
+ return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Content, {
1974
2053
  "data-density": density,
1975
2054
  "data-slot": "navigation-menu-content",
1976
2055
  className: (state) => cn2("data-ending-style:data-activation-direction=left:translate-x-[50%] data-ending-style:data-activation-direction=right:translate-x-[-50%] data-starting-style:data-activation-direction=left:translate-x-[-50%] data-starting-style:data-activation-direction=right:translate-x-[50%] h-full w-auto p-1 transition-[opacity,transform,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] data-ending-style:opacity-0 data-starting-style:opacity-0 ", typeof className === "function" ? className(state) : className),
@@ -1990,12 +2069,12 @@ function NavigationMenuPositioner2({
1990
2069
  const direction = useDirection2();
1991
2070
  const container = usePortalContainer2();
1992
2071
  const portal = usePortalNode();
1993
- return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Portal, {
2072
+ return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Portal, {
1994
2073
  container,
1995
2074
  ref: portal.ref,
1996
- children: /* @__PURE__ */ jsx20(PortalProvider2, {
2075
+ children: /* @__PURE__ */ jsx21(PortalProvider2, {
1997
2076
  container: portal.node,
1998
- children: /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Positioner, {
2077
+ children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Positioner, {
1999
2078
  dir: direction,
2000
2079
  side,
2001
2080
  sideOffset,
@@ -2003,11 +2082,11 @@ function NavigationMenuPositioner2({
2003
2082
  alignOffset,
2004
2083
  className: (state) => cn2("isolate h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] data-instant:transition-none data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0", typeof className === "function" ? className(state) : className),
2005
2084
  ...props,
2006
- children: /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Popup, {
2085
+ children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Popup, {
2007
2086
  "data-density": resolvedDensity,
2008
2087
  "data-slot": "navigation-menu-popup",
2009
2088
  className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-sm bg-popover text-popover-foreground border border-frame-edge shadow-frame transition-[opacity,transform,width,height,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:opacity-0",
2010
- children: /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Viewport, {
2089
+ children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Viewport, {
2011
2090
  className: "relative size-full overflow-hidden"
2012
2091
  })
2013
2092
  })
@@ -2017,7 +2096,7 @@ function NavigationMenuPositioner2({
2017
2096
  }
2018
2097
  function NavigationMenuLink2({ analytics, density, className, ...props }) {
2019
2098
  const trackedOnClick = useAnalyticsCallback("NavigationMenuLink", analytics, { name: "ui.activate" }, props.onClick);
2020
- return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Link, {
2099
+ return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Link, {
2021
2100
  "data-density": density,
2022
2101
  "data-slot": "navigation-menu-link",
2023
2102
  className: (state) => cn2("flex items-center gap-2 rounded-sm p-2 text-sm transition-colors outline-none hover:bg-muted focus:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted [&_svg:not([class*='size-'])]:size-4", typeof className === "function" ? className(state) : className),
@@ -2031,32 +2110,32 @@ function NavigationMenuIndicator2({
2031
2110
  children,
2032
2111
  ...props
2033
2112
  }) {
2034
- return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Icon, {
2113
+ return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Icon, {
2035
2114
  "data-density": density,
2036
2115
  "data-slot": "navigation-menu-indicator",
2037
2116
  className: (state) => cn2("ms-1 inline-flex size-3 shrink-0 items-center justify-center transition-transform duration-120 data-popup-open:rotate-180 [&_svg]:size-full", typeof className === "function" ? className(state) : className),
2038
2117
  ...props,
2039
- children: children ?? /* @__PURE__ */ jsx20(ChevronDownIcon2, {})
2118
+ children: children ?? /* @__PURE__ */ jsx21(ChevronDownIcon2, {})
2040
2119
  });
2041
2120
  }
2042
2121
  // src/components/Toast.tsx
2043
2122
  import { Toast as ToastPrimitive } from "@base-ui/react/toast";
2044
2123
  import { CircleCheckIcon, InfoIcon, TriangleAlertIcon, OctagonXIcon, LoaderCircleIcon, XIcon } from "lucide-react";
2045
- import { jsx as jsx21, jsxs as jsxs14, Fragment as Fragment4 } from "react/jsx-runtime";
2124
+ import { jsx as jsx22, jsxs as jsxs15, Fragment as Fragment4 } from "react/jsx-runtime";
2046
2125
  function ToastProvider2(props) {
2047
- return /* @__PURE__ */ jsx21(ToastPrimitive.Provider, {
2126
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Provider, {
2048
2127
  ...props
2049
2128
  });
2050
2129
  }
2051
2130
  function ToastPortal2({ container, ref, children, ...props }) {
2052
2131
  const resolvedContainer = usePortalContainer2(container);
2053
2132
  const portal = usePortalNode(ref);
2054
- return /* @__PURE__ */ jsx21(ToastPrimitive.Portal, {
2133
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Portal, {
2055
2134
  "data-slot": "toast-portal",
2056
2135
  container: resolvedContainer,
2057
2136
  ref: portal.ref,
2058
2137
  ...props,
2059
- children: /* @__PURE__ */ jsx21(PortalProvider2, {
2138
+ children: /* @__PURE__ */ jsx22(PortalProvider2, {
2060
2139
  container: portal.node,
2061
2140
  children
2062
2141
  })
@@ -2065,7 +2144,7 @@ function ToastPortal2({ container, ref, children, ...props }) {
2065
2144
  function ToastViewport2({ density, dir, className, ...props }) {
2066
2145
  const resolvedDensity = useDensity(density);
2067
2146
  const inheritedDirection = useDirection2();
2068
- return /* @__PURE__ */ jsx21(ToastPrimitive.Viewport, {
2147
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Viewport, {
2069
2148
  dir: dir ?? inheritedDirection,
2070
2149
  "data-density": resolvedDensity,
2071
2150
  "data-slot": "toast-viewport",
@@ -2074,7 +2153,7 @@ function ToastViewport2({ density, dir, className, ...props }) {
2074
2153
  });
2075
2154
  }
2076
2155
  function Toast2({ density, className, ...props }) {
2077
- return /* @__PURE__ */ jsx21(ToastPrimitive.Root, {
2156
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Root, {
2078
2157
  "data-density": density,
2079
2158
  "data-slot": "toast",
2080
2159
  className: (state) => cn2("group/toast pointer-events-auto absolute right-0 bottom-0 w-full rounded-md border border-frame-edge bg-popover text-popover-foreground shadow-frame outline-none select-none focus-visible:ring-1 focus-visible:ring-ring [--offset-y:calc(var(--toast-offset-y)*-1-var(--toast-index)*var(--spacing-panel))] [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--offset-y)+var(--toast-swipe-movement-y)))] transition-[transform,opacity] duration-120 ease-out data-limited:opacity-0 data-starting-style:opacity-0 data-ending-style:opacity-0 motion-reduce:transition-none", typeof className === "function" ? className(state) : className),
@@ -2082,21 +2161,21 @@ function Toast2({ density, className, ...props }) {
2082
2161
  });
2083
2162
  }
2084
2163
  function ToastContent2({ className, ...props }) {
2085
- return /* @__PURE__ */ jsx21(ToastPrimitive.Content, {
2164
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Content, {
2086
2165
  "data-slot": "toast-content",
2087
2166
  className: (state) => cn2("flex items-center gap-control-gap p-panel", typeof className === "function" ? className(state) : className),
2088
2167
  ...props
2089
2168
  });
2090
2169
  }
2091
2170
  function ToastTitle2({ className, ...props }) {
2092
- return /* @__PURE__ */ jsx21(ToastPrimitive.Title, {
2171
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Title, {
2093
2172
  "data-slot": "toast-title",
2094
2173
  className: (state) => cn2("text-sm font-medium", typeof className === "function" ? className(state) : className),
2095
2174
  ...props
2096
2175
  });
2097
2176
  }
2098
2177
  function ToastDescription2({ className, ...props }) {
2099
- return /* @__PURE__ */ jsx21(ToastPrimitive.Description, {
2178
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Description, {
2100
2179
  "data-slot": "toast-description",
2101
2180
  className: (state) => cn2("text-sm text-muted-foreground", typeof className === "function" ? className(state) : className),
2102
2181
  ...props
@@ -2105,14 +2184,14 @@ function ToastDescription2({ className, ...props }) {
2105
2184
  function ToastAction2({
2106
2185
  analytics,
2107
2186
  className,
2108
- render = /* @__PURE__ */ jsx21(Button2, {
2187
+ render = /* @__PURE__ */ jsx22(Button2, {
2109
2188
  variant: "outline",
2110
2189
  size: "sm"
2111
2190
  }),
2112
2191
  ...props
2113
2192
  }) {
2114
2193
  const trackedOnClick = useAnalyticsCallback("ToastAction", analytics, { name: "ui.activate" }, props.onClick);
2115
- return /* @__PURE__ */ jsx21(ToastPrimitive.Action, {
2194
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Action, {
2116
2195
  "data-slot": "toast-action",
2117
2196
  render,
2118
2197
  className: (state) => cn2("shrink-0", typeof className === "function" ? className(state) : className),
@@ -2124,21 +2203,21 @@ function ToastClose2({
2124
2203
  analytics,
2125
2204
  className,
2126
2205
  children,
2127
- render = /* @__PURE__ */ jsx21(Button2, {
2206
+ render = /* @__PURE__ */ jsx22(Button2, {
2128
2207
  variant: "ghost",
2129
2208
  size: "icon-sm"
2130
2209
  }),
2131
2210
  ...props
2132
2211
  }) {
2133
2212
  const trackedOnClick = useAnalyticsCallback("ToastClose", analytics, { name: "ui.activate" }, props.onClick);
2134
- return /* @__PURE__ */ jsx21(ToastPrimitive.Close, {
2213
+ return /* @__PURE__ */ jsx22(ToastPrimitive.Close, {
2135
2214
  "data-slot": "toast-close",
2136
2215
  "aria-label": "Close toast",
2137
2216
  render,
2138
2217
  className: (state) => cn2("relative shrink-0 text-muted-foreground hover:text-foreground", typeof className === "function" ? className(state) : className),
2139
2218
  ...props,
2140
2219
  onClick: trackedOnClick,
2141
- children: children ?? /* @__PURE__ */ jsx21(XIcon, {
2220
+ children: children ?? /* @__PURE__ */ jsx22(XIcon, {
2142
2221
  "aria-hidden": "true"
2143
2222
  })
2144
2223
  });
@@ -2146,24 +2225,24 @@ function ToastClose2({
2146
2225
  function ToastIcon({ type }) {
2147
2226
  switch (type) {
2148
2227
  case "success":
2149
- return /* @__PURE__ */ jsx21(CircleCheckIcon, {
2228
+ return /* @__PURE__ */ jsx22(CircleCheckIcon, {
2150
2229
  "aria-hidden": "true"
2151
2230
  });
2152
2231
  case "info":
2153
- return /* @__PURE__ */ jsx21(InfoIcon, {
2232
+ return /* @__PURE__ */ jsx22(InfoIcon, {
2154
2233
  "aria-hidden": "true"
2155
2234
  });
2156
2235
  case "warning":
2157
- return /* @__PURE__ */ jsx21(TriangleAlertIcon, {
2236
+ return /* @__PURE__ */ jsx22(TriangleAlertIcon, {
2158
2237
  "aria-hidden": "true"
2159
2238
  });
2160
2239
  case "error":
2161
- return /* @__PURE__ */ jsx21(OctagonXIcon, {
2240
+ return /* @__PURE__ */ jsx22(OctagonXIcon, {
2162
2241
  "aria-hidden": "true",
2163
2242
  className: "text-destructive"
2164
2243
  });
2165
2244
  case "loading":
2166
- return /* @__PURE__ */ jsx21(LoaderCircleIcon, {
2245
+ return /* @__PURE__ */ jsx22(LoaderCircleIcon, {
2167
2246
  "aria-hidden": "true",
2168
2247
  className: "animate-spin motion-reduce:animate-none"
2169
2248
  });
@@ -2173,41 +2252,41 @@ function ToastIcon({ type }) {
2173
2252
  }
2174
2253
  function ToastList() {
2175
2254
  const { toasts } = ToastPrimitive.useToastManager();
2176
- return /* @__PURE__ */ jsx21(Fragment4, {
2177
- children: toasts.map((toastItem) => /* @__PURE__ */ jsx21(Toast2, {
2255
+ return /* @__PURE__ */ jsx22(Fragment4, {
2256
+ children: toasts.map((toastItem) => /* @__PURE__ */ jsx22(Toast2, {
2178
2257
  toast: toastItem,
2179
- children: /* @__PURE__ */ jsxs14(ToastContent2, {
2258
+ children: /* @__PURE__ */ jsxs15(ToastContent2, {
2180
2259
  children: [
2181
- /* @__PURE__ */ jsx21("span", {
2260
+ /* @__PURE__ */ jsx22("span", {
2182
2261
  "data-slot": "toast-icon",
2183
2262
  className: "shrink-0 empty:hidden [&_svg]:size-4",
2184
- children: /* @__PURE__ */ jsx21(ToastIcon, {
2263
+ children: /* @__PURE__ */ jsx22(ToastIcon, {
2185
2264
  type: toastItem.type
2186
2265
  })
2187
2266
  }),
2188
- /* @__PURE__ */ jsxs14("div", {
2267
+ /* @__PURE__ */ jsxs15("div", {
2189
2268
  className: "flex min-w-0 flex-1 flex-col gap-1",
2190
2269
  children: [
2191
- /* @__PURE__ */ jsx21(ToastTitle2, {}),
2192
- /* @__PURE__ */ jsx21(ToastDescription2, {})
2270
+ /* @__PURE__ */ jsx22(ToastTitle2, {}),
2271
+ /* @__PURE__ */ jsx22(ToastDescription2, {})
2193
2272
  ]
2194
2273
  }),
2195
- /* @__PURE__ */ jsx21(ToastAction2, {}),
2196
- /* @__PURE__ */ jsx21(ToastClose2, {})
2274
+ /* @__PURE__ */ jsx22(ToastAction2, {}),
2275
+ /* @__PURE__ */ jsx22(ToastClose2, {})
2197
2276
  ]
2198
2277
  })
2199
2278
  }, toastItem.id))
2200
2279
  });
2201
2280
  }
2202
2281
  function ToastToaster2({ children, density, ...props }) {
2203
- return /* @__PURE__ */ jsxs14(ToastProvider2, {
2282
+ return /* @__PURE__ */ jsxs15(ToastProvider2, {
2204
2283
  ...props,
2205
2284
  children: [
2206
2285
  children,
2207
- /* @__PURE__ */ jsx21(ToastPortal2, {
2208
- children: /* @__PURE__ */ jsx21(ToastViewport2, {
2286
+ /* @__PURE__ */ jsx22(ToastPortal2, {
2287
+ children: /* @__PURE__ */ jsx22(ToastViewport2, {
2209
2288
  density,
2210
- children: /* @__PURE__ */ jsx21(ToastList, {})
2289
+ children: /* @__PURE__ */ jsx22(ToastList, {})
2211
2290
  })
2212
2291
  })
2213
2292
  ]
@@ -2223,7 +2302,7 @@ function useToastManager2() {
2223
2302
  import { mergeProps as mergeProps6 } from "@base-ui/react/merge-props";
2224
2303
  import { useRender as useRender6 } from "@base-ui/react/use-render";
2225
2304
  import { cva as cva4 } from "class-variance-authority";
2226
- import { jsx as jsx22 } from "react/jsx-runtime";
2305
+ import { jsx as jsx23 } from "react/jsx-runtime";
2227
2306
  var markerVariants2 = cva4("group/marker relative flex min-h-4 w-full items-center gap-control-gap text-start text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground [&:is(a,button)]:outline-none [&:is(a,button)]:focus-visible:outline-1 [&:is(a,button)]:focus-visible:outline-ring", {
2228
2307
  variants: {
2229
2308
  variant: {
@@ -2242,7 +2321,7 @@ function Marker2({ density, className, variant = "default", render, ...props })
2242
2321
  });
2243
2322
  }
2244
2323
  function MarkerIcon2({ density, className, ...props }) {
2245
- return /* @__PURE__ */ jsx22("span", {
2324
+ return /* @__PURE__ */ jsx23("span", {
2246
2325
  "data-density": density,
2247
2326
  "data-slot": "marker-icon",
2248
2327
  "aria-hidden": "true",
@@ -2251,7 +2330,7 @@ function MarkerIcon2({ density, className, ...props }) {
2251
2330
  });
2252
2331
  }
2253
2332
  function MarkerContent2({ density, className, ...props }) {
2254
- return /* @__PURE__ */ jsx22("span", {
2333
+ return /* @__PURE__ */ jsx23("span", {
2255
2334
  "data-density": density,
2256
2335
  "data-slot": "marker-content",
2257
2336
  className: cn2("min-w-0 wrap-break-word group-data-[variant=separator]/marker:text-center [&>a]:underline [&>a]:underline-offset-3 [&>a:hover]:text-foreground", className),
@@ -2262,9 +2341,9 @@ function MarkerContent2({ density, className, ...props }) {
2262
2341
  import { mergeProps as mergeProps7 } from "@base-ui/react/merge-props";
2263
2342
  import { useRender as useRender7 } from "@base-ui/react/use-render";
2264
2343
  import { cva as cva5 } from "class-variance-authority";
2265
- import { jsx as jsx23 } from "react/jsx-runtime";
2344
+ import { jsx as jsx24 } from "react/jsx-runtime";
2266
2345
  function BubbleGroup2({ density, className, ...props }) {
2267
- return /* @__PURE__ */ jsx23("div", {
2346
+ return /* @__PURE__ */ jsx24("div", {
2268
2347
  "data-density": density,
2269
2348
  "data-slot": "bubble-group",
2270
2349
  className: cn2("flex min-w-0 flex-col gap-control-gap", className),
@@ -2286,7 +2365,7 @@ var bubbleVariants = cva5("group/bubble relative flex w-fit max-w-[80%] min-w-0
2286
2365
  defaultVariants: { variant: "default" }
2287
2366
  });
2288
2367
  function Bubble2({ density, variant = "default", align = "start", className, ...props }) {
2289
- return /* @__PURE__ */ jsx23("div", {
2368
+ return /* @__PURE__ */ jsx24("div", {
2290
2369
  "data-density": density,
2291
2370
  "data-slot": "bubble",
2292
2371
  "data-variant": variant,
@@ -2319,7 +2398,7 @@ function BubbleReactions2({
2319
2398
  className,
2320
2399
  ...props
2321
2400
  }) {
2322
- return /* @__PURE__ */ jsx23("div", {
2401
+ return /* @__PURE__ */ jsx24("div", {
2323
2402
  "data-density": density,
2324
2403
  "data-slot": "bubble-reactions",
2325
2404
  "data-align": align,
@@ -2337,9 +2416,9 @@ import { createContext as createContext3 } from "react";
2337
2416
  var MessageContext = createContext3(null);
2338
2417
 
2339
2418
  // src/components/Message.tsx
2340
- import { jsx as jsx24 } from "react/jsx-runtime";
2419
+ import { jsx as jsx25 } from "react/jsx-runtime";
2341
2420
  function MessageGroup2({ density, className, ...props }) {
2342
- return /* @__PURE__ */ jsx24("div", {
2421
+ return /* @__PURE__ */ jsx25("div", {
2343
2422
  "data-density": density,
2344
2423
  "data-slot": "message-group",
2345
2424
  className: cn2("flex min-w-0 flex-col gap-control-gap", className),
@@ -2350,9 +2429,9 @@ function Message2({ density, className, align = "start", style, ...props }) {
2350
2429
  const [footerOffset, setFooterOffset] = useState(0);
2351
2430
  const context = useMemo3(() => ({ setFooterOffset }), []);
2352
2431
  const messageStyle = { ...style, "--message-footer-offset": `${footerOffset}px` };
2353
- return /* @__PURE__ */ jsx24(MessageContext.Provider, {
2432
+ return /* @__PURE__ */ jsx25(MessageContext.Provider, {
2354
2433
  value: context,
2355
- children: /* @__PURE__ */ jsx24("div", {
2434
+ children: /* @__PURE__ */ jsx25("div", {
2356
2435
  "data-density": density,
2357
2436
  "data-slot": "message",
2358
2437
  "data-align": align,
@@ -2363,7 +2442,7 @@ function Message2({ density, className, align = "start", style, ...props }) {
2363
2442
  });
2364
2443
  }
2365
2444
  function MessageAvatar2({ density, className, ...props }) {
2366
- return /* @__PURE__ */ jsx24("div", {
2445
+ return /* @__PURE__ */ jsx25("div", {
2367
2446
  "data-density": density,
2368
2447
  "data-slot": "message-avatar",
2369
2448
  className: cn2("flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-(--message-footer-offset)", className),
@@ -2371,7 +2450,7 @@ function MessageAvatar2({ density, className, ...props }) {
2371
2450
  });
2372
2451
  }
2373
2452
  function MessageContent2({ density, className, ...props }) {
2374
- return /* @__PURE__ */ jsx24("div", {
2453
+ return /* @__PURE__ */ jsx25("div", {
2375
2454
  "data-density": density,
2376
2455
  "data-slot": "message-content",
2377
2456
  className: cn2("flex w-full min-w-0 flex-col gap-control-gap wrap-break-word group-data-[align=end]/message:[&>[data-slot]:not([data-slot=message-header])]:self-end", className),
@@ -2379,7 +2458,7 @@ function MessageContent2({ density, className, ...props }) {
2379
2458
  });
2380
2459
  }
2381
2460
  function MessageHeader2({ density, className, ...props }) {
2382
- return /* @__PURE__ */ jsx24("div", {
2461
+ return /* @__PURE__ */ jsx25("div", {
2383
2462
  "data-density": density,
2384
2463
  "data-slot": "message-header",
2385
2464
  className: cn2("flex max-w-full min-w-0 items-center px-control-x text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0", className),
@@ -2421,7 +2500,7 @@ function MessageFooter2({ density, className, ...props }) {
2421
2500
  import { mergeProps as mergeProps8 } from "@base-ui/react/merge-props";
2422
2501
  import { useRender as useRender9 } from "@base-ui/react/use-render";
2423
2502
  import { cva as cva6 } from "class-variance-authority";
2424
- import { jsx as jsx25 } from "react/jsx-runtime";
2503
+ import { jsx as jsx26 } from "react/jsx-runtime";
2425
2504
  var attachmentVariants = cva6("group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-md border bg-card text-card-foreground transition-colors motion-reduce:transition-none focus-within:ring-1 focus-within:ring-ring has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive data-[state=idle]:border-dashed", {
2426
2505
  variants: {
2427
2506
  size: {
@@ -2443,7 +2522,7 @@ function Attachment2({
2443
2522
  orientation = "horizontal",
2444
2523
  ...props
2445
2524
  }) {
2446
- return /* @__PURE__ */ jsx25("div", {
2525
+ return /* @__PURE__ */ jsx26("div", {
2447
2526
  "data-slot": "attachment",
2448
2527
  "data-density": density,
2449
2528
  "data-state": state,
@@ -2463,7 +2542,7 @@ var attachmentMediaVariants = cva6("relative flex aspect-square w-10 shrink-0 it
2463
2542
  defaultVariants: { variant: "icon" }
2464
2543
  });
2465
2544
  function AttachmentMedia2({ density, className, variant = "icon", ...props }) {
2466
- return /* @__PURE__ */ jsx25("div", {
2545
+ return /* @__PURE__ */ jsx26("div", {
2467
2546
  "data-slot": "attachment-media",
2468
2547
  "data-density": density,
2469
2548
  "data-variant": variant,
@@ -2472,7 +2551,7 @@ function AttachmentMedia2({ density, className, variant = "icon", ...props }) {
2472
2551
  });
2473
2552
  }
2474
2553
  function AttachmentContent2({ density, className, ...props }) {
2475
- return /* @__PURE__ */ jsx25("div", {
2554
+ return /* @__PURE__ */ jsx26("div", {
2476
2555
  "data-slot": "attachment-content",
2477
2556
  "data-density": density,
2478
2557
  className: cn2("max-w-full min-w-0 flex-1 leading-tight group-data-[orientation=vertical]/attachment:px-1", className),
@@ -2480,7 +2559,7 @@ function AttachmentContent2({ density, className, ...props }) {
2480
2559
  });
2481
2560
  }
2482
2561
  function AttachmentTitle2({ density, className, ...props }) {
2483
- return /* @__PURE__ */ jsx25("span", {
2562
+ return /* @__PURE__ */ jsx26("span", {
2484
2563
  "data-slot": "attachment-title",
2485
2564
  "data-density": density,
2486
2565
  className: cn2("block max-w-full min-w-0 truncate font-medium group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer", className),
@@ -2488,7 +2567,7 @@ function AttachmentTitle2({ density, className, ...props }) {
2488
2567
  });
2489
2568
  }
2490
2569
  function AttachmentDescription2({ density, className, ...props }) {
2491
- return /* @__PURE__ */ jsx25("span", {
2570
+ return /* @__PURE__ */ jsx26("span", {
2492
2571
  "data-slot": "attachment-description",
2493
2572
  "data-density": density,
2494
2573
  className: cn2("mt-0.5 block max-w-full min-w-0 truncate text-xs text-muted-foreground group-data-[state=error]/attachment:text-destructive", className),
@@ -2496,7 +2575,7 @@ function AttachmentDescription2({ density, className, ...props }) {
2496
2575
  });
2497
2576
  }
2498
2577
  function AttachmentActions2({ density, className, ...props }) {
2499
- return /* @__PURE__ */ jsx25("div", {
2578
+ return /* @__PURE__ */ jsx26("div", {
2500
2579
  "data-slot": "attachment-actions",
2501
2580
  "data-density": density,
2502
2581
  className: cn2("relative z-20 flex shrink-0 items-center group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:end-3 group-data-[orientation=vertical]/attachment:gap-1", className),
@@ -2509,7 +2588,7 @@ function AttachmentAction2({
2509
2588
  size = "icon-xs",
2510
2589
  ...props
2511
2590
  }) {
2512
- return /* @__PURE__ */ jsx25(Button2, {
2591
+ return /* @__PURE__ */ jsx26(Button2, {
2513
2592
  "data-slot": "attachment-action",
2514
2593
  variant,
2515
2594
  size,
@@ -2534,7 +2613,7 @@ function AttachmentTrigger2({
2534
2613
  });
2535
2614
  }
2536
2615
  function AttachmentGroup2({ density, className, ...props }) {
2537
- return /* @__PURE__ */ jsx25("div", {
2616
+ return /* @__PURE__ */ jsx26("div", {
2538
2617
  "data-slot": "attachment-group",
2539
2618
  "data-density": density,
2540
2619
  className: cn2("flex min-w-0 scroll-fade-x snap-x snap-mandatory scroll-px-1 no-scrollbar gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start", className),
@@ -2542,8 +2621,8 @@ function AttachmentGroup2({ density, className, ...props }) {
2542
2621
  });
2543
2622
  }
2544
2623
  // src/components/InlineEdit.tsx
2545
- import { useEffect as useEffect2, useId as useId2, useRef as useRef2, useState as useState2 } from "react";
2546
- import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
2624
+ import { useEffect as useEffect2, useId as useId3, useRef as useRef2, useState as useState2 } from "react";
2625
+ import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
2547
2626
  function InlineEdit2({
2548
2627
  analytics,
2549
2628
  label,
@@ -2558,7 +2637,7 @@ function InlineEdit2({
2558
2637
  onCancel
2559
2638
  }) {
2560
2639
  const track = useAnalytics2("InlineEdit", analytics);
2561
- const triggerId = useId2();
2640
+ const triggerId = useId3();
2562
2641
  const errorId = `${triggerId}-error`;
2563
2642
  const input = useRef2(null);
2564
2643
  const isFinished = useRef2(false);
@@ -2593,22 +2672,22 @@ function InlineEdit2({
2593
2672
  setSaving(false);
2594
2673
  }
2595
2674
  };
2596
- return /* @__PURE__ */ jsxs15("form", {
2675
+ return /* @__PURE__ */ jsxs16("form", {
2597
2676
  className: "min-w-0",
2598
2677
  onSubmit: (event) => {
2599
2678
  event.preventDefault();
2600
2679
  save();
2601
2680
  },
2602
2681
  children: [
2603
- /* @__PURE__ */ jsxs15(Tooltip2, {
2682
+ /* @__PURE__ */ jsxs16(Tooltip2, {
2604
2683
  open: Boolean(error) && isErrorOpen,
2605
2684
  onOpenChange: setErrorOpen,
2606
2685
  disableHoverablePopup: true,
2607
2686
  triggerId,
2608
2687
  children: [
2609
- /* @__PURE__ */ jsx26(TooltipTrigger2, {
2688
+ /* @__PURE__ */ jsx27(TooltipTrigger2, {
2610
2689
  id: triggerId,
2611
- render: /* @__PURE__ */ jsx26(Input2, {
2690
+ render: /* @__PURE__ */ jsx27(Input2, {
2612
2691
  analytics: false,
2613
2692
  ref: input,
2614
2693
  density,
@@ -2640,20 +2719,20 @@ function InlineEdit2({
2640
2719
  }
2641
2720
  })
2642
2721
  }),
2643
- error && /* @__PURE__ */ jsx26(TooltipContent2, {
2722
+ error && /* @__PURE__ */ jsx27(TooltipContent2, {
2644
2723
  density,
2645
2724
  side: "bottom",
2646
2725
  align: "start",
2647
2726
  "data-testid": "InlineEdit--error-popup",
2648
2727
  "aria-hidden": true,
2649
- children: /* @__PURE__ */ jsx26("p", {
2728
+ children: /* @__PURE__ */ jsx27("p", {
2650
2729
  className: "text-destructive",
2651
2730
  children: error
2652
2731
  })
2653
2732
  })
2654
2733
  ]
2655
2734
  }),
2656
- error && /* @__PURE__ */ jsx26("p", {
2735
+ error && /* @__PURE__ */ jsx27("p", {
2657
2736
  id: errorId,
2658
2737
  role: "alert",
2659
2738
  className: "sr-only",
@@ -2665,7 +2744,7 @@ function InlineEdit2({
2665
2744
  // src/components/StarRating.tsx
2666
2745
  import { Radio } from "@base-ui/react/radio";
2667
2746
  import { StarIcon, CircleOffIcon } from "lucide-react";
2668
- import { jsx as jsx27 } from "react/jsx-runtime";
2747
+ import { jsx as jsx28 } from "react/jsx-runtime";
2669
2748
  function StarRating2({
2670
2749
  analytics,
2671
2750
  label,
@@ -2674,7 +2753,7 @@ function StarRating2({
2674
2753
  density,
2675
2754
  onValueChange
2676
2755
  }) {
2677
- return /* @__PURE__ */ jsx27(RadioGroup2, {
2756
+ return /* @__PURE__ */ jsx28(RadioGroup2, {
2678
2757
  analytics,
2679
2758
  "aria-label": label,
2680
2759
  value,
@@ -2682,20 +2761,20 @@ function StarRating2({
2682
2761
  "data-density": density,
2683
2762
  className: "inline-flex w-fit shrink-0 items-center gap-0.5",
2684
2763
  onValueChange,
2685
- children: [1, 2, 3, 4, 5, 0].map((star) => /* @__PURE__ */ jsx27(Radio.Root, {
2764
+ children: [1, 2, 3, 4, 5, 0].map((star) => /* @__PURE__ */ jsx28(Radio.Root, {
2686
2765
  value: star,
2687
2766
  nativeButton: true,
2688
- render: /* @__PURE__ */ jsx27(AnalyticsButton, {
2767
+ render: /* @__PURE__ */ jsx28(AnalyticsButton, {
2689
2768
  component: "StarRating",
2690
2769
  type: "button"
2691
2770
  }),
2692
2771
  "aria-label": star === 0 ? "Unrated" : `${star} ${star === 1 ? "star" : "stars"}`,
2693
2772
  title: star === 0 ? "Clear rating" : `${star} stars`,
2694
2773
  className: "inline-flex size-5 shrink-0 items-center justify-center rounded-sm text-muted-foreground outline-none hover:text-primary focus-visible:ring-1 focus-visible:ring-ring data-disabled:cursor-not-allowed data-disabled:opacity-50",
2695
- children: star === 0 ? /* @__PURE__ */ jsx27(CircleOffIcon, {
2774
+ children: star === 0 ? /* @__PURE__ */ jsx28(CircleOffIcon, {
2696
2775
  "aria-hidden": "true",
2697
2776
  className: "size-3"
2698
- }) : /* @__PURE__ */ jsx27(StarIcon, {
2777
+ }) : /* @__PURE__ */ jsx28(StarIcon, {
2699
2778
  "aria-hidden": "true",
2700
2779
  className: star <= value ? "size-3.5 fill-primary text-primary" : "size-3.5"
2701
2780
  })
@@ -2704,7 +2783,7 @@ function StarRating2({
2704
2783
  }
2705
2784
  // src/components/ConfirmationDialog.tsx
2706
2785
  import { useState as useState3 } from "react";
2707
- import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
2786
+ import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
2708
2787
  function ConfirmationDialog2({
2709
2788
  open,
2710
2789
  title,
@@ -2716,7 +2795,7 @@ function ConfirmationDialog2({
2716
2795
  }) {
2717
2796
  const [isPending, setPending] = useState3(false);
2718
2797
  const [error, setError] = useState3(null);
2719
- return /* @__PURE__ */ jsx28(AlertDialog2, {
2798
+ return /* @__PURE__ */ jsx29(AlertDialog2, {
2720
2799
  open,
2721
2800
  onOpenChange: (next, details) => {
2722
2801
  if (isPending)
@@ -2726,33 +2805,33 @@ function ConfirmationDialog2({
2726
2805
  onOpenChange(next);
2727
2806
  }
2728
2807
  },
2729
- children: /* @__PURE__ */ jsxs16(AlertDialogContent2, {
2808
+ children: /* @__PURE__ */ jsxs17(AlertDialogContent2, {
2730
2809
  children: [
2731
- /* @__PURE__ */ jsx28(AlertDialogHeader2, {
2732
- children: /* @__PURE__ */ jsx28(AlertDialogTitle2, {
2810
+ /* @__PURE__ */ jsx29(AlertDialogHeader2, {
2811
+ children: /* @__PURE__ */ jsx29(AlertDialogTitle2, {
2733
2812
  children: title
2734
2813
  })
2735
2814
  }),
2736
- /* @__PURE__ */ jsxs16(ScrollArea2, {
2815
+ /* @__PURE__ */ jsxs17(ScrollArea2, {
2737
2816
  children: [
2738
- /* @__PURE__ */ jsx28(AlertDialogDescription2, {
2817
+ /* @__PURE__ */ jsx29(AlertDialogDescription2, {
2739
2818
  children: description
2740
2819
  }),
2741
- error && /* @__PURE__ */ jsx28(Alert2, {
2820
+ error && /* @__PURE__ */ jsx29(Alert2, {
2742
2821
  variant: "destructive",
2743
- children: /* @__PURE__ */ jsx28(AlertDescription2, {
2822
+ children: /* @__PURE__ */ jsx29(AlertDescription2, {
2744
2823
  children: error
2745
2824
  })
2746
2825
  })
2747
2826
  ]
2748
2827
  }),
2749
- /* @__PURE__ */ jsxs16(AlertDialogFooter2, {
2828
+ /* @__PURE__ */ jsxs17(AlertDialogFooter2, {
2750
2829
  children: [
2751
- /* @__PURE__ */ jsx28(AlertDialogCancel2, {
2830
+ /* @__PURE__ */ jsx29(AlertDialogCancel2, {
2752
2831
  disabled: isPending,
2753
2832
  children: "Cancel"
2754
2833
  }),
2755
- /* @__PURE__ */ jsx28(Button2, {
2834
+ /* @__PURE__ */ jsx29(Button2, {
2756
2835
  variant: "destructive",
2757
2836
  disabled: isPending,
2758
2837
  onClick: async () => {
@@ -2796,7 +2875,7 @@ function useObjectURL(file) {
2796
2875
  }
2797
2876
 
2798
2877
  // src/components/ImagePicker.tsx
2799
- import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
2878
+ import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
2800
2879
  function ImagePicker2({
2801
2880
  analytics,
2802
2881
  src,
@@ -2810,27 +2889,27 @@ function ImagePicker2({
2810
2889
  const input = useRef3(null);
2811
2890
  const preview = useObjectURL(file);
2812
2891
  const image = file === null ? undefined : preview ?? src;
2813
- return /* @__PURE__ */ jsxs17("figure", {
2892
+ return /* @__PURE__ */ jsxs18("figure", {
2814
2893
  className: "flex min-w-0 flex-col items-center gap-3",
2815
2894
  "aria-label": label,
2816
2895
  children: [
2817
- /* @__PURE__ */ jsxs17(Avatar2, {
2896
+ /* @__PURE__ */ jsxs18(Avatar2, {
2818
2897
  size: "preview",
2819
2898
  shape: "square",
2820
2899
  children: [
2821
- /* @__PURE__ */ jsx29(AvatarImage2, {
2900
+ /* @__PURE__ */ jsx30(AvatarImage2, {
2822
2901
  src: image,
2823
2902
  alt: label
2824
2903
  }),
2825
- /* @__PURE__ */ jsx29(AvatarFallback2, {
2826
- children: /* @__PURE__ */ jsx29(ImageIcon, {
2904
+ /* @__PURE__ */ jsx30(AvatarFallback2, {
2905
+ children: /* @__PURE__ */ jsx30(ImageIcon, {
2827
2906
  className: "size-12",
2828
2907
  "aria-hidden": "true"
2829
2908
  })
2830
2909
  })
2831
2910
  ]
2832
2911
  }),
2833
- /* @__PURE__ */ jsx29("input", {
2912
+ /* @__PURE__ */ jsx30("input", {
2834
2913
  ref: input,
2835
2914
  hidden: true,
2836
2915
  type: "file",
@@ -2846,22 +2925,22 @@ function ImagePicker2({
2846
2925
  event.currentTarget.value = "";
2847
2926
  }
2848
2927
  }),
2849
- /* @__PURE__ */ jsxs17("div", {
2928
+ /* @__PURE__ */ jsxs18("div", {
2850
2929
  className: "flex flex-wrap justify-center gap-2",
2851
2930
  children: [
2852
- /* @__PURE__ */ jsxs17(Button2, {
2931
+ /* @__PURE__ */ jsxs18(Button2, {
2853
2932
  type: "button",
2854
2933
  variant: "outline",
2855
2934
  disabled,
2856
2935
  onClick: () => input.current?.click(),
2857
2936
  children: [
2858
- /* @__PURE__ */ jsx29(UploadIcon, {
2937
+ /* @__PURE__ */ jsx30(UploadIcon, {
2859
2938
  "data-icon": "inline-start"
2860
2939
  }),
2861
2940
  "Upload image"
2862
2941
  ]
2863
2942
  }),
2864
- /* @__PURE__ */ jsx29(Button2, {
2943
+ /* @__PURE__ */ jsx30(Button2, {
2865
2944
  type: "button",
2866
2945
  variant: "outline",
2867
2946
  disabled: disabled || !image,
@@ -2875,9 +2954,9 @@ function ImagePicker2({
2875
2954
  }
2876
2955
  // src/components/Meter.tsx
2877
2956
  import { Meter as MeterPrimitive } from "@base-ui/react/meter";
2878
- import { jsx as jsx30 } from "react/jsx-runtime";
2957
+ import { jsx as jsx31 } from "react/jsx-runtime";
2879
2958
  function Meter2({ density, className, ...props }) {
2880
- return /* @__PURE__ */ jsx30(MeterPrimitive.Root, {
2959
+ return /* @__PURE__ */ jsx31(MeterPrimitive.Root, {
2881
2960
  "data-density": density,
2882
2961
  "data-slot": "meter",
2883
2962
  className: (state) => cn2("flex min-w-0 flex-wrap items-center gap-field-gap", typeof className === "function" ? className(state) : className),
@@ -2885,7 +2964,7 @@ function Meter2({ density, className, ...props }) {
2885
2964
  });
2886
2965
  }
2887
2966
  function MeterLabel2({ density, className, ...props }) {
2888
- return /* @__PURE__ */ jsx30(MeterPrimitive.Label, {
2967
+ return /* @__PURE__ */ jsx31(MeterPrimitive.Label, {
2889
2968
  "data-density": density,
2890
2969
  "data-slot": "meter-label",
2891
2970
  className: (state) => cn2("text-sm font-medium", typeof className === "function" ? className(state) : className),
@@ -2893,7 +2972,7 @@ function MeterLabel2({ density, className, ...props }) {
2893
2972
  });
2894
2973
  }
2895
2974
  function MeterValue2({ density, className, ...props }) {
2896
- return /* @__PURE__ */ jsx30(MeterPrimitive.Value, {
2975
+ return /* @__PURE__ */ jsx31(MeterPrimitive.Value, {
2897
2976
  "data-density": density,
2898
2977
  "data-slot": "meter-value",
2899
2978
  className: (state) => cn2("ms-auto text-sm text-muted-foreground tabular-nums", typeof className === "function" ? className(state) : className),
@@ -2901,7 +2980,7 @@ function MeterValue2({ density, className, ...props }) {
2901
2980
  });
2902
2981
  }
2903
2982
  function MeterTrack2({ density, className, ...props }) {
2904
- return /* @__PURE__ */ jsx30(MeterPrimitive.Track, {
2983
+ return /* @__PURE__ */ jsx31(MeterPrimitive.Track, {
2905
2984
  "data-density": density,
2906
2985
  "data-slot": "meter-track",
2907
2986
  className: (state) => cn2("h-1 w-full overflow-hidden rounded-sm bg-muted", typeof className === "function" ? className(state) : className),
@@ -2913,7 +2992,7 @@ function MeterIndicator2({
2913
2992
  className,
2914
2993
  ...props
2915
2994
  }) {
2916
- return /* @__PURE__ */ jsx30(MeterPrimitive.Indicator, {
2995
+ return /* @__PURE__ */ jsx31(MeterPrimitive.Indicator, {
2917
2996
  "data-density": density,
2918
2997
  "data-slot": "meter-indicator",
2919
2998
  className: (state) => cn2("h-full bg-primary transition-[width] motion-reduce:transition-none", typeof className === "function" ? className(state) : className),
@@ -2923,9 +3002,9 @@ function MeterIndicator2({
2923
3002
  // src/components/Stepper.tsx
2924
3003
  import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
2925
3004
  import { CheckIcon as CheckIcon2 } from "lucide-react";
2926
- import { jsx as jsx31 } from "react/jsx-runtime";
3005
+ import { jsx as jsx32 } from "react/jsx-runtime";
2927
3006
  function Stepper2({ density, className, ...props }) {
2928
- return /* @__PURE__ */ jsx31(TabsPrimitive.Root, {
3007
+ return /* @__PURE__ */ jsx32(TabsPrimitive.Root, {
2929
3008
  "data-density": density,
2930
3009
  "data-slot": "stepper",
2931
3010
  className: (state) => cn2("group/stepper flex min-w-0 flex-col gap-panel data-[orientation=vertical]:flex-row", typeof className === "function" ? className(state) : className),
@@ -2938,7 +3017,7 @@ function StepperList2({
2938
3017
  activateOnFocus = false,
2939
3018
  ...props
2940
3019
  }) {
2941
- return /* @__PURE__ */ jsx31(TabsPrimitive.List, {
3020
+ return /* @__PURE__ */ jsx32(TabsPrimitive.List, {
2942
3021
  "data-density": density,
2943
3022
  "data-slot": "stepper-list",
2944
3023
  activateOnFocus,
@@ -2947,7 +3026,7 @@ function StepperList2({
2947
3026
  });
2948
3027
  }
2949
3028
  function StepperTrigger2({ density, className, ...props }) {
2950
- return /* @__PURE__ */ jsx31(TabsPrimitive.Tab, {
3029
+ return /* @__PURE__ */ jsx32(TabsPrimitive.Tab, {
2951
3030
  "data-density": density,
2952
3031
  "data-slot": "stepper-trigger",
2953
3032
  className: (state) => cn2("group/step flex min-h-control items-center gap-control-gap rounded-sm text-sm text-muted-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring data-active:text-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:opacity-50", typeof className === "function" ? className(state) : className),
@@ -2955,17 +3034,17 @@ function StepperTrigger2({ density, className, ...props }) {
2955
3034
  });
2956
3035
  }
2957
3036
  function StepperIndicator2({ completed = false, children, className, ...props }) {
2958
- return /* @__PURE__ */ jsx31("span", {
3037
+ return /* @__PURE__ */ jsx32("span", {
2959
3038
  "aria-hidden": "true",
2960
3039
  "data-slot": "stepper-indicator",
2961
3040
  "data-completed": completed || undefined,
2962
3041
  className: cn2("flex size-control shrink-0 items-center justify-center rounded-sm border border-input bg-secondary text-sm tabular-nums group-data-active/step:border-primary group-data-active/step:bg-primary group-data-active/step:text-primary-foreground data-completed:border-primary data-completed:text-primary [&_svg]:size-3.5", className),
2963
3042
  ...props,
2964
- children: completed ? /* @__PURE__ */ jsx31(CheckIcon2, {}) : children
3043
+ children: completed ? /* @__PURE__ */ jsx32(CheckIcon2, {}) : children
2965
3044
  });
2966
3045
  }
2967
3046
  function StepperContent2({ density, className, ...props }) {
2968
- return /* @__PURE__ */ jsx31(TabsPrimitive.Panel, {
3047
+ return /* @__PURE__ */ jsx32(TabsPrimitive.Panel, {
2969
3048
  "data-density": density,
2970
3049
  "data-slot": "stepper-content",
2971
3050
  className: (state) => cn2("min-w-0 flex-1 outline-none focus-visible:ring-1 focus-visible:ring-ring", typeof className === "function" ? className(state) : className),
@@ -2973,7 +3052,7 @@ function StepperContent2({ density, className, ...props }) {
2973
3052
  });
2974
3053
  }
2975
3054
  // src/components/AppShell.tsx
2976
- import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
3055
+ import { jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
2977
3056
  function AppShell2({
2978
3057
  navigation,
2979
3058
  brand,
@@ -2987,28 +3066,28 @@ function AppShell2({
2987
3066
  content = "scroll",
2988
3067
  density
2989
3068
  }) {
2990
- return /* @__PURE__ */ jsxs18(SidebarProvider2, {
3069
+ return /* @__PURE__ */ jsxs19(SidebarProvider2, {
2991
3070
  density,
2992
3071
  defaultOpen: defaultSidebarOpen,
2993
3072
  className: "relative min-h-0",
2994
3073
  style: { height },
2995
3074
  "data-scroll": "none",
2996
3075
  children: [
2997
- /* @__PURE__ */ jsxs18(Sidebar2, {
3076
+ /* @__PURE__ */ jsxs19(Sidebar2, {
2998
3077
  collapsible: "icon",
2999
3078
  position: "container",
3000
3079
  children: [
3001
- /* @__PURE__ */ jsx32(SidebarHeader2, {
3080
+ /* @__PURE__ */ jsx33(SidebarHeader2, {
3002
3081
  children: brand
3003
3082
  }),
3004
- /* @__PURE__ */ jsx32(SidebarContent2, {
3005
- children: /* @__PURE__ */ jsx32("nav", {
3083
+ /* @__PURE__ */ jsx33(SidebarContent2, {
3084
+ children: /* @__PURE__ */ jsx33("nav", {
3006
3085
  "aria-label": "Primary navigation",
3007
- children: /* @__PURE__ */ jsx32(SidebarGroup2, {
3008
- children: /* @__PURE__ */ jsx32(SidebarMenu2, {
3009
- children: navigation.map((item) => /* @__PURE__ */ jsx32(SidebarMenuItem2, {
3010
- children: /* @__PURE__ */ jsxs18(SidebarMenuButton2, {
3011
- render: /* @__PURE__ */ jsx32(AnalyticsLink, {
3086
+ children: /* @__PURE__ */ jsx33(SidebarGroup2, {
3087
+ children: /* @__PURE__ */ jsx33(SidebarMenu2, {
3088
+ children: navigation.map((item) => /* @__PURE__ */ jsx33(SidebarMenuItem2, {
3089
+ children: /* @__PURE__ */ jsxs19(SidebarMenuButton2, {
3090
+ render: /* @__PURE__ */ jsx33(AnalyticsLink, {
3012
3091
  component: "AppShell",
3013
3092
  render: item.render,
3014
3093
  ...item.href === undefined ? {} : { href: item.href },
@@ -3018,7 +3097,7 @@ function AppShell2({
3018
3097
  tooltip: item.label,
3019
3098
  children: [
3020
3099
  item.icon,
3021
- /* @__PURE__ */ jsx32("span", {
3100
+ /* @__PURE__ */ jsx33("span", {
3022
3101
  children: item.label
3023
3102
  })
3024
3103
  ]
@@ -3028,41 +3107,41 @@ function AppShell2({
3028
3107
  })
3029
3108
  })
3030
3109
  }),
3031
- sidebarFooter && /* @__PURE__ */ jsx32(SidebarFooter2, {
3110
+ sidebarFooter && /* @__PURE__ */ jsx33(SidebarFooter2, {
3032
3111
  children: sidebarFooter
3033
3112
  })
3034
3113
  ]
3035
3114
  }),
3036
- /* @__PURE__ */ jsxs18(SidebarInset2, {
3115
+ /* @__PURE__ */ jsxs19(SidebarInset2, {
3037
3116
  "aria-label": label,
3038
3117
  className: "min-h-0 min-w-0",
3039
3118
  "data-scroll": "none",
3040
3119
  children: [
3041
- /* @__PURE__ */ jsxs18("header", {
3120
+ /* @__PURE__ */ jsxs19("header", {
3042
3121
  "data-scroll": "none",
3043
3122
  className: "flex shrink-0 items-center gap-control-gap border-b border-border p-panel",
3044
3123
  children: [
3045
- /* @__PURE__ */ jsx32(SidebarTrigger2, {}),
3046
- /* @__PURE__ */ jsx32(Separator2, {
3124
+ /* @__PURE__ */ jsx33(SidebarTrigger2, {}),
3125
+ /* @__PURE__ */ jsx33(Separator2, {
3047
3126
  orientation: "vertical",
3048
3127
  className: "h-control"
3049
3128
  }),
3050
3129
  header
3051
3130
  ]
3052
3131
  }),
3053
- content === "fill" ? /* @__PURE__ */ jsx32("div", {
3132
+ content === "fill" ? /* @__PURE__ */ jsx33("div", {
3054
3133
  "data-slot": "app-shell-content",
3055
3134
  "data-scroll": "none",
3056
3135
  className: "flex min-h-0 min-w-0 flex-1 flex-col",
3057
3136
  children
3058
- }) : /* @__PURE__ */ jsx32(ScrollArea2, {
3137
+ }) : /* @__PURE__ */ jsx33(ScrollArea2, {
3059
3138
  className: "min-h-0 flex-1",
3060
- children: /* @__PURE__ */ jsx32("div", {
3139
+ children: /* @__PURE__ */ jsx33("div", {
3061
3140
  className: "flex min-w-0 flex-col gap-panel p-panel",
3062
3141
  children
3063
3142
  })
3064
3143
  }),
3065
- footer && /* @__PURE__ */ jsx32("footer", {
3144
+ footer && /* @__PURE__ */ jsx33("footer", {
3066
3145
  className: "shrink-0 border-t border-border p-panel",
3067
3146
  "data-scroll": "none",
3068
3147
  children: footer
@@ -3412,7 +3491,7 @@ import {
3412
3491
  DropletIcon,
3413
3492
  SunIcon
3414
3493
  } from "lucide-react";
3415
- import { jsx as jsx33, jsxs as jsxs19, Fragment as Fragment5 } from "react/jsx-runtime";
3494
+ import { jsx as jsx34, jsxs as jsxs20, Fragment as Fragment5 } from "react/jsx-runtime";
3416
3495
  var CONDITION_ICONS = {
3417
3496
  clear: SunIcon,
3418
3497
  "partly-cloudy": CloudSunIcon,
@@ -3464,43 +3543,43 @@ function WeatherSummary2({
3464
3543
  defaultTagName: "div",
3465
3544
  props: mergeProps14({
3466
3545
  className: cn2("flex min-w-0 text-foreground", isCompact ? "flex-col items-center gap-1 text-center" : "items-center gap-panel-sm", className),
3467
- children: /* @__PURE__ */ jsxs19(Fragment5, {
3546
+ children: /* @__PURE__ */ jsxs20(Fragment5, {
3468
3547
  children: [
3469
- /* @__PURE__ */ jsx33(ConditionIcon, {
3548
+ /* @__PURE__ */ jsx34(ConditionIcon, {
3470
3549
  "aria-hidden": "true",
3471
3550
  "data-slot": "weather-summary-icon",
3472
3551
  className: cn2("shrink-0 text-muted-foreground", isCompact ? "size-6" : "size-8")
3473
3552
  }),
3474
- /* @__PURE__ */ jsxs19("div", {
3553
+ /* @__PURE__ */ jsxs20("div", {
3475
3554
  className: cn2("flex min-w-0 flex-col gap-0.5", isCompact && "items-center"),
3476
3555
  children: [
3477
- /* @__PURE__ */ jsx33("div", {
3556
+ /* @__PURE__ */ jsx34("div", {
3478
3557
  className: "text-sm font-medium break-words",
3479
3558
  children: label
3480
3559
  }),
3481
- /* @__PURE__ */ jsx33("div", {
3560
+ /* @__PURE__ */ jsx34("div", {
3482
3561
  className: cn2("text-sm text-muted-foreground", isCompact && "sr-only"),
3483
3562
  children: conditionLabel
3484
3563
  }),
3485
- /* @__PURE__ */ jsxs19("div", {
3564
+ /* @__PURE__ */ jsxs20("div", {
3486
3565
  className: "flex flex-wrap items-baseline gap-x-2 text-sm tabular-nums",
3487
3566
  children: [
3488
- /* @__PURE__ */ jsxs19("span", {
3567
+ /* @__PURE__ */ jsxs20("span", {
3489
3568
  children: [
3490
- /* @__PURE__ */ jsx33("span", {
3569
+ /* @__PURE__ */ jsx34("span", {
3491
3570
  className: "sr-only",
3492
3571
  children: "High "
3493
3572
  }),
3494
- /* @__PURE__ */ jsx33("span", {
3573
+ /* @__PURE__ */ jsx34("span", {
3495
3574
  className: "font-medium",
3496
3575
  children: highText
3497
3576
  })
3498
3577
  ]
3499
3578
  }),
3500
- /* @__PURE__ */ jsxs19("span", {
3579
+ /* @__PURE__ */ jsxs20("span", {
3501
3580
  className: "text-muted-foreground",
3502
3581
  children: [
3503
- /* @__PURE__ */ jsx33("span", {
3582
+ /* @__PURE__ */ jsx34("span", {
3504
3583
  className: "sr-only",
3505
3584
  children: "Low "
3506
3585
  }),
@@ -3509,17 +3588,17 @@ function WeatherSummary2({
3509
3588
  })
3510
3589
  ]
3511
3590
  }),
3512
- probabilityText !== undefined && /* @__PURE__ */ jsxs19("div", {
3591
+ probabilityText !== undefined && /* @__PURE__ */ jsxs20("div", {
3513
3592
  className: "flex items-center gap-1 text-xs text-muted-foreground tabular-nums",
3514
3593
  children: [
3515
- /* @__PURE__ */ jsx33(DropletIcon, {
3594
+ /* @__PURE__ */ jsx34(DropletIcon, {
3516
3595
  "aria-hidden": "true",
3517
3596
  className: "size-3 shrink-0"
3518
3597
  }),
3519
- /* @__PURE__ */ jsxs19("span", {
3598
+ /* @__PURE__ */ jsxs20("span", {
3520
3599
  children: [
3521
3600
  probabilityText,
3522
- /* @__PURE__ */ jsx33("span", {
3601
+ /* @__PURE__ */ jsx34("span", {
3523
3602
  className: "sr-only",
3524
3603
  children: " chance of precipitation"
3525
3604
  })
@@ -3537,7 +3616,7 @@ function WeatherSummary2({
3537
3616
  });
3538
3617
  }
3539
3618
  // src/components/WeatherForecast.tsx
3540
- import { jsx as jsx34 } from "react/jsx-runtime";
3619
+ import { jsx as jsx35 } from "react/jsx-runtime";
3541
3620
  function WeatherForecast2({
3542
3621
  days,
3543
3622
  label,
@@ -3548,52 +3627,52 @@ function WeatherForecast2({
3548
3627
  className,
3549
3628
  ...props
3550
3629
  }) {
3551
- return /* @__PURE__ */ jsx34("ul", {
3630
+ return /* @__PURE__ */ jsx35("ul", {
3552
3631
  "aria-label": label,
3553
3632
  "data-slot": "weather-forecast",
3554
3633
  "data-density": density,
3555
3634
  className: cn2("grid min-w-0 gap-panel-sm", variant === "strip" && "grid-cols-[repeat(auto-fill,minmax(6rem,1fr))]", className),
3556
3635
  ...props,
3557
- children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx34(WeatherSummary2, {
3636
+ children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx35(WeatherSummary2, {
3558
3637
  ...day,
3559
3638
  unit,
3560
3639
  locale,
3561
3640
  variant: variant === "strip" ? "compact" : "default",
3562
- render: /* @__PURE__ */ jsx34("li", {})
3641
+ render: /* @__PURE__ */ jsx35("li", {})
3563
3642
  }, id))
3564
3643
  });
3565
3644
  }
3566
3645
  // src/components/PageHeader.tsx
3567
- import { jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
3646
+ import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
3568
3647
  function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, density }) {
3569
- return /* @__PURE__ */ jsxs20("header", {
3648
+ return /* @__PURE__ */ jsxs21("header", {
3570
3649
  "data-density": density,
3571
3650
  "data-slot": "page-header",
3572
3651
  "data-scroll": "none",
3573
3652
  className: "flex min-w-0 flex-col gap-field-gap",
3574
3653
  children: [
3575
3654
  breadcrumbs,
3576
- /* @__PURE__ */ jsxs20("div", {
3655
+ /* @__PURE__ */ jsxs21("div", {
3577
3656
  className: "flex min-w-0 flex-wrap items-start justify-between gap-panel",
3578
3657
  children: [
3579
- /* @__PURE__ */ jsxs20("div", {
3658
+ /* @__PURE__ */ jsxs21("div", {
3580
3659
  className: "min-w-0",
3581
3660
  children: [
3582
- eyebrow != null && /* @__PURE__ */ jsx35("div", {
3661
+ eyebrow != null && /* @__PURE__ */ jsx36("div", {
3583
3662
  className: "mb-2 text-xs font-medium tracking-widest text-muted-foreground",
3584
3663
  children: eyebrow
3585
3664
  }),
3586
- /* @__PURE__ */ jsx35("h1", {
3665
+ /* @__PURE__ */ jsx36("h1", {
3587
3666
  className: "text-xl font-semibold text-foreground",
3588
3667
  children: title
3589
3668
  }),
3590
- description && /* @__PURE__ */ jsx35("div", {
3669
+ description && /* @__PURE__ */ jsx36("div", {
3591
3670
  className: "mt-1 text-sm text-muted-foreground",
3592
3671
  children: description
3593
3672
  })
3594
3673
  ]
3595
3674
  }),
3596
- actions && /* @__PURE__ */ jsx35("div", {
3675
+ actions && /* @__PURE__ */ jsx36("div", {
3597
3676
  className: "flex min-w-0 max-w-full flex-wrap items-center gap-control-gap wrap-anywhere",
3598
3677
  children: actions
3599
3678
  })
@@ -3603,46 +3682,46 @@ function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, densit
3603
3682
  });
3604
3683
  }
3605
3684
  // src/components/PageIntro.tsx
3606
- import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
3685
+ import { jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
3607
3686
  function PageIntro2({ title, description, eyebrow, icon, actions, highlights, density }) {
3608
- return /* @__PURE__ */ jsx36("header", {
3687
+ return /* @__PURE__ */ jsx37("header", {
3609
3688
  "data-density": density,
3610
3689
  "data-slot": "page-intro",
3611
3690
  "data-scroll": "none",
3612
3691
  className: "@container/page-intro min-w-0",
3613
- children: /* @__PURE__ */ jsxs21(Card2, {
3692
+ children: /* @__PURE__ */ jsxs22(Card2, {
3614
3693
  variant: "hero",
3615
3694
  className: "gap-0 py-0",
3616
3695
  children: [
3617
- /* @__PURE__ */ jsx36("div", {
3696
+ /* @__PURE__ */ jsx37("div", {
3618
3697
  "aria-hidden": "true",
3619
3698
  "data-slot": "page-intro-wash",
3620
3699
  className: "pointer-events-none absolute inset-0 -z-10 bg-[radial-gradient(ellipse_90%_140%_at_100%_0%,color-mix(in_oklab,var(--primary)_16%,transparent),transparent_65%)]"
3621
3700
  }),
3622
- /* @__PURE__ */ jsxs21("div", {
3701
+ /* @__PURE__ */ jsxs22("div", {
3623
3702
  className: "flex min-w-0 flex-col gap-panel p-(--card-spacing) @2xl/page-intro:flex-row @2xl/page-intro:items-start @2xl/page-intro:justify-between",
3624
3703
  children: [
3625
- /* @__PURE__ */ jsxs21("div", {
3704
+ /* @__PURE__ */ jsxs22("div", {
3626
3705
  className: "flex min-w-0 gap-panel",
3627
3706
  children: [
3628
- icon != null && /* @__PURE__ */ jsx36("div", {
3707
+ icon != null && /* @__PURE__ */ jsx37("div", {
3629
3708
  "aria-hidden": "true",
3630
3709
  "data-slot": "page-intro-icon",
3631
3710
  className: "flex size-12 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary [&_svg]:size-6",
3632
3711
  children: icon
3633
3712
  }),
3634
- /* @__PURE__ */ jsxs21("div", {
3713
+ /* @__PURE__ */ jsxs22("div", {
3635
3714
  className: "min-w-0",
3636
3715
  children: [
3637
- eyebrow != null && /* @__PURE__ */ jsx36("div", {
3716
+ eyebrow != null && /* @__PURE__ */ jsx37("div", {
3638
3717
  className: "mb-1 text-xs font-medium tracking-widest text-muted-foreground",
3639
3718
  children: eyebrow
3640
3719
  }),
3641
- /* @__PURE__ */ jsx36("h1", {
3720
+ /* @__PURE__ */ jsx37("h1", {
3642
3721
  className: "text-2xl font-semibold text-foreground",
3643
3722
  children: title
3644
3723
  }),
3645
- /* @__PURE__ */ jsx36("div", {
3724
+ /* @__PURE__ */ jsx37("div", {
3646
3725
  className: "mt-2 max-w-prose text-base text-pretty text-muted-foreground",
3647
3726
  children: description
3648
3727
  })
@@ -3650,33 +3729,33 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
3650
3729
  })
3651
3730
  ]
3652
3731
  }),
3653
- actions != null && /* @__PURE__ */ jsx36("div", {
3732
+ actions != null && /* @__PURE__ */ jsx37("div", {
3654
3733
  className: "flex min-w-0 max-w-full shrink-0 flex-wrap items-center gap-control-gap wrap-anywhere",
3655
3734
  children: actions
3656
3735
  })
3657
3736
  ]
3658
3737
  }),
3659
- highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx36("ul", {
3738
+ highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx37("ul", {
3660
3739
  "aria-label": `What you can do in ${title}`,
3661
3740
  "data-slot": "page-intro-highlights",
3662
3741
  className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,13rem),1fr))] gap-panel border-t border-border p-(--card-spacing)",
3663
- children: highlights.map((highlight) => /* @__PURE__ */ jsxs21("li", {
3742
+ children: highlights.map((highlight) => /* @__PURE__ */ jsxs22("li", {
3664
3743
  "data-slot": "page-intro-highlight",
3665
3744
  className: "flex min-w-0 gap-2",
3666
3745
  children: [
3667
- highlight.icon != null && /* @__PURE__ */ jsx36("span", {
3746
+ highlight.icon != null && /* @__PURE__ */ jsx37("span", {
3668
3747
  "aria-hidden": "true",
3669
3748
  className: "mt-0.5 shrink-0 text-primary [&_svg]:size-4",
3670
3749
  children: highlight.icon
3671
3750
  }),
3672
- /* @__PURE__ */ jsxs21("div", {
3751
+ /* @__PURE__ */ jsxs22("div", {
3673
3752
  className: "min-w-0",
3674
3753
  children: [
3675
- /* @__PURE__ */ jsx36("div", {
3754
+ /* @__PURE__ */ jsx37("div", {
3676
3755
  className: "text-sm font-medium text-foreground",
3677
3756
  children: highlight.title
3678
3757
  }),
3679
- /* @__PURE__ */ jsx36("div", {
3758
+ /* @__PURE__ */ jsx37("div", {
3680
3759
  className: "mt-0.5 text-sm text-muted-foreground",
3681
3760
  children: highlight.description
3682
3761
  })
@@ -3690,7 +3769,7 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
3690
3769
  });
3691
3770
  }
3692
3771
  // src/components/WorkspaceSwitcher.tsx
3693
- import { jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
3772
+ import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
3694
3773
  function WorkspaceSwitcher2({
3695
3774
  workspaces,
3696
3775
  value,
@@ -3700,7 +3779,7 @@ function WorkspaceSwitcher2({
3700
3779
  label = "Workspace",
3701
3780
  density
3702
3781
  }) {
3703
- return /* @__PURE__ */ jsxs22(Select2, {
3782
+ return /* @__PURE__ */ jsxs23(Select2, {
3704
3783
  items: workspaces,
3705
3784
  value,
3706
3785
  defaultValue: defaultValue ?? workspaces[0]?.value,
@@ -3710,15 +3789,15 @@ function WorkspaceSwitcher2({
3710
3789
  },
3711
3790
  disabled,
3712
3791
  children: [
3713
- /* @__PURE__ */ jsx37(SelectTrigger2, {
3792
+ /* @__PURE__ */ jsx38(SelectTrigger2, {
3714
3793
  "aria-label": label,
3715
3794
  density,
3716
- children: /* @__PURE__ */ jsx37(SelectValue2, {})
3795
+ children: /* @__PURE__ */ jsx38(SelectValue2, {})
3717
3796
  }),
3718
- /* @__PURE__ */ jsx37(SelectContent2, {
3797
+ /* @__PURE__ */ jsx38(SelectContent2, {
3719
3798
  density,
3720
- children: /* @__PURE__ */ jsx37(SelectGroup2, {
3721
- children: workspaces.map((workspace) => /* @__PURE__ */ jsx37(SelectItem2, {
3799
+ children: /* @__PURE__ */ jsx38(SelectGroup2, {
3800
+ children: workspaces.map((workspace) => /* @__PURE__ */ jsx38(SelectItem2, {
3722
3801
  value: workspace.value,
3723
3802
  children: workspace.label
3724
3803
  }, workspace.value))
@@ -3728,52 +3807,52 @@ function WorkspaceSwitcher2({
3728
3807
  });
3729
3808
  }
3730
3809
  // src/components/AccountMenu.tsx
3731
- import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
3810
+ import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
3732
3811
  function AccountMenu2({ name, email, image, onAction, density }) {
3733
- return /* @__PURE__ */ jsxs23(DropdownMenu2, {
3812
+ return /* @__PURE__ */ jsxs24(DropdownMenu2, {
3734
3813
  children: [
3735
- /* @__PURE__ */ jsxs23(DropdownMenuTrigger2, {
3736
- render: /* @__PURE__ */ jsx38(Button2, {
3814
+ /* @__PURE__ */ jsxs24(DropdownMenuTrigger2, {
3815
+ render: /* @__PURE__ */ jsx39(Button2, {
3737
3816
  variant: "ghost",
3738
3817
  density
3739
3818
  }),
3740
3819
  "aria-label": `Account menu for ${name}`,
3741
3820
  children: [
3742
- /* @__PURE__ */ jsxs23(Avatar2, {
3821
+ /* @__PURE__ */ jsxs24(Avatar2, {
3743
3822
  className: "size-control",
3744
3823
  children: [
3745
- /* @__PURE__ */ jsx38(AvatarImage2, {
3824
+ /* @__PURE__ */ jsx39(AvatarImage2, {
3746
3825
  src: image,
3747
3826
  alt: ""
3748
3827
  }),
3749
- /* @__PURE__ */ jsx38(AvatarFallback2, {
3828
+ /* @__PURE__ */ jsx39(AvatarFallback2, {
3750
3829
  children: name.slice(0, 2).toUpperCase()
3751
3830
  })
3752
3831
  ]
3753
3832
  }),
3754
- /* @__PURE__ */ jsx38("span", {
3833
+ /* @__PURE__ */ jsx39("span", {
3755
3834
  children: name
3756
3835
  })
3757
3836
  ]
3758
3837
  }),
3759
- /* @__PURE__ */ jsx38(MenuPopup, {
3838
+ /* @__PURE__ */ jsx39(MenuPopup, {
3760
3839
  density,
3761
3840
  align: "end",
3762
- children: /* @__PURE__ */ jsxs23(MenuGroup2, {
3841
+ children: /* @__PURE__ */ jsxs24(MenuGroup2, {
3763
3842
  children: [
3764
- /* @__PURE__ */ jsx38(MenuLabel2, {
3843
+ /* @__PURE__ */ jsx39(MenuLabel2, {
3765
3844
  children: email ?? name
3766
3845
  }),
3767
- /* @__PURE__ */ jsx38(MenuItem2, {
3846
+ /* @__PURE__ */ jsx39(MenuItem2, {
3768
3847
  onClick: () => onAction("profile"),
3769
3848
  children: "Profile"
3770
3849
  }),
3771
- /* @__PURE__ */ jsx38(MenuItem2, {
3850
+ /* @__PURE__ */ jsx39(MenuItem2, {
3772
3851
  onClick: () => onAction("settings"),
3773
3852
  children: "Settings"
3774
3853
  }),
3775
- /* @__PURE__ */ jsx38(MenuSeparator2, {}),
3776
- /* @__PURE__ */ jsx38(MenuItem2, {
3854
+ /* @__PURE__ */ jsx39(MenuSeparator2, {}),
3855
+ /* @__PURE__ */ jsx39(MenuItem2, {
3777
3856
  onClick: () => onAction("sign-out"),
3778
3857
  children: "Sign out"
3779
3858
  })
@@ -3784,7 +3863,7 @@ function AccountMenu2({ name, email, image, onAction, density }) {
3784
3863
  });
3785
3864
  }
3786
3865
  // src/components/StatCard.tsx
3787
- import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
3866
+ import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
3788
3867
  function StatCard2({
3789
3868
  label,
3790
3869
  value,
@@ -3795,48 +3874,48 @@ function StatCard2({
3795
3874
  loading = false,
3796
3875
  density
3797
3876
  }) {
3798
- return /* @__PURE__ */ jsxs24(Card2, {
3877
+ return /* @__PURE__ */ jsxs25(Card2, {
3799
3878
  density,
3800
3879
  "aria-label": label,
3801
3880
  "aria-busy": loading,
3802
3881
  children: [
3803
- /* @__PURE__ */ jsxs24(CardHeader2, {
3882
+ /* @__PURE__ */ jsxs25(CardHeader2, {
3804
3883
  children: [
3805
- /* @__PURE__ */ jsx39(CardTitle2, {
3884
+ /* @__PURE__ */ jsx40(CardTitle2, {
3806
3885
  children: label
3807
3886
  }),
3808
- description && /* @__PURE__ */ jsx39(CardDescription2, {
3887
+ description && /* @__PURE__ */ jsx40(CardDescription2, {
3809
3888
  children: description
3810
3889
  })
3811
3890
  ]
3812
3891
  }),
3813
- /* @__PURE__ */ jsx39(CardContent2, {
3814
- children: /* @__PURE__ */ jsxs24("div", {
3892
+ /* @__PURE__ */ jsx40(CardContent2, {
3893
+ children: /* @__PURE__ */ jsxs25("div", {
3815
3894
  className: "flex flex-wrap items-center justify-between gap-control-gap",
3816
3895
  children: [
3817
- loading ? /* @__PURE__ */ jsx39(Skeleton2, {
3896
+ loading ? /* @__PURE__ */ jsx40(Skeleton2, {
3818
3897
  className: "h-8 w-24",
3819
3898
  "aria-label": `Loading ${label}`
3820
- }) : /* @__PURE__ */ jsx39("div", {
3899
+ }) : /* @__PURE__ */ jsx40("div", {
3821
3900
  className: "text-2xl font-semibold tabular-nums",
3822
3901
  children: value
3823
3902
  }),
3824
- change && /* @__PURE__ */ jsx39(Badge2, {
3903
+ change && /* @__PURE__ */ jsx40(Badge2, {
3825
3904
  variant: changeIntent === "positive" ? "success" : changeIntent === "negative" ? "destructive" : "secondary",
3826
3905
  children: change
3827
3906
  })
3828
3907
  ]
3829
3908
  })
3830
3909
  }),
3831
- children && /* @__PURE__ */ jsx39(CardFooter2, {
3910
+ children && /* @__PURE__ */ jsx40(CardFooter2, {
3832
3911
  children
3833
3912
  })
3834
3913
  ]
3835
3914
  });
3836
3915
  }
3837
3916
  // src/components/AuthForm.tsx
3838
- import { useId as useId3, useState as useState5 } from "react";
3839
- import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
3917
+ import { useId as useId4, useState as useState5 } from "react";
3918
+ import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
3840
3919
  function AuthForm2({
3841
3920
  mode = "sign-in",
3842
3921
  onSubmit,
@@ -3845,7 +3924,7 @@ function AuthForm2({
3845
3924
  disabled = false,
3846
3925
  density
3847
3926
  }) {
3848
- const id = useId3();
3927
+ const id = useId4();
3849
3928
  const [pending, setPending] = useState5(false);
3850
3929
  const [error, setError] = useState5("");
3851
3930
  const title = mode === "sign-up" ? "Create an account" : mode === "reset-password" ? "Reset your password" : "Sign in";
@@ -3866,33 +3945,33 @@ function AuthForm2({
3866
3945
  setPending(false);
3867
3946
  }
3868
3947
  }
3869
- return /* @__PURE__ */ jsxs25(Card2, {
3948
+ return /* @__PURE__ */ jsxs26(Card2, {
3870
3949
  density,
3871
3950
  children: [
3872
- /* @__PURE__ */ jsxs25(CardHeader2, {
3951
+ /* @__PURE__ */ jsxs26(CardHeader2, {
3873
3952
  children: [
3874
- /* @__PURE__ */ jsx40(CardTitle2, {
3953
+ /* @__PURE__ */ jsx41(CardTitle2, {
3875
3954
  children: title
3876
3955
  }),
3877
- /* @__PURE__ */ jsx40(CardDescription2, {
3956
+ /* @__PURE__ */ jsx41(CardDescription2, {
3878
3957
  children: mode === "reset-password" ? "Enter your email to request a password reset." : "Enter your details to continue."
3879
3958
  })
3880
3959
  ]
3881
3960
  }),
3882
- /* @__PURE__ */ jsx40(CardContent2, {
3883
- children: /* @__PURE__ */ jsx40("form", {
3961
+ /* @__PURE__ */ jsx41(CardContent2, {
3962
+ children: /* @__PURE__ */ jsx41("form", {
3884
3963
  onSubmit: submit,
3885
3964
  "aria-label": title,
3886
3965
  "aria-busy": pending,
3887
- children: /* @__PURE__ */ jsxs25(FieldGroup2, {
3966
+ children: /* @__PURE__ */ jsxs26(FieldGroup2, {
3888
3967
  children: [
3889
- mode === "sign-up" && /* @__PURE__ */ jsxs25(Field2, {
3968
+ mode === "sign-up" && /* @__PURE__ */ jsxs26(Field2, {
3890
3969
  children: [
3891
- /* @__PURE__ */ jsx40(FieldLabel2, {
3970
+ /* @__PURE__ */ jsx41(FieldLabel2, {
3892
3971
  htmlFor: id + "-name",
3893
3972
  children: "Name"
3894
3973
  }),
3895
- /* @__PURE__ */ jsx40(Input2, {
3974
+ /* @__PURE__ */ jsx41(Input2, {
3896
3975
  id: id + "-name",
3897
3976
  name: "name",
3898
3977
  autoComplete: "name",
@@ -3901,13 +3980,13 @@ function AuthForm2({
3901
3980
  })
3902
3981
  ]
3903
3982
  }),
3904
- /* @__PURE__ */ jsxs25(Field2, {
3983
+ /* @__PURE__ */ jsxs26(Field2, {
3905
3984
  children: [
3906
- /* @__PURE__ */ jsx40(FieldLabel2, {
3985
+ /* @__PURE__ */ jsx41(FieldLabel2, {
3907
3986
  htmlFor: id + "-email",
3908
3987
  children: "Email"
3909
3988
  }),
3910
- /* @__PURE__ */ jsx40(Input2, {
3989
+ /* @__PURE__ */ jsx41(Input2, {
3911
3990
  id: id + "-email",
3912
3991
  name: "email",
3913
3992
  type: "email",
@@ -3917,13 +3996,13 @@ function AuthForm2({
3917
3996
  })
3918
3997
  ]
3919
3998
  }),
3920
- mode !== "reset-password" && /* @__PURE__ */ jsxs25(Field2, {
3999
+ mode !== "reset-password" && /* @__PURE__ */ jsxs26(Field2, {
3921
4000
  children: [
3922
- /* @__PURE__ */ jsx40(FieldLabel2, {
4001
+ /* @__PURE__ */ jsx41(FieldLabel2, {
3923
4002
  htmlFor: id + "-password",
3924
4003
  children: "Password"
3925
4004
  }),
3926
- /* @__PURE__ */ jsx40(Input2, {
4005
+ /* @__PURE__ */ jsx41(Input2, {
3927
4006
  id: id + "-password",
3928
4007
  name: "password",
3929
4008
  type: "password",
@@ -3932,27 +4011,27 @@ function AuthForm2({
3932
4011
  required: true,
3933
4012
  disabled: disabled || pending
3934
4013
  }),
3935
- mode === "sign-up" && /* @__PURE__ */ jsx40(FieldDescription2, {
4014
+ mode === "sign-up" && /* @__PURE__ */ jsx41(FieldDescription2, {
3936
4015
  children: "Use at least eight characters."
3937
4016
  })
3938
4017
  ]
3939
4018
  }),
3940
- error && /* @__PURE__ */ jsxs25(Alert2, {
4019
+ error && /* @__PURE__ */ jsxs26(Alert2, {
3941
4020
  variant: "destructive",
3942
4021
  children: [
3943
- /* @__PURE__ */ jsx40(AlertTitle2, {
4022
+ /* @__PURE__ */ jsx41(AlertTitle2, {
3944
4023
  children: "Request failed"
3945
4024
  }),
3946
- /* @__PURE__ */ jsx40(AlertDescription2, {
4025
+ /* @__PURE__ */ jsx41(AlertDescription2, {
3947
4026
  children: error
3948
4027
  })
3949
4028
  ]
3950
4029
  }),
3951
- /* @__PURE__ */ jsxs25(Button2, {
4030
+ /* @__PURE__ */ jsxs26(Button2, {
3952
4031
  type: "submit",
3953
4032
  disabled: disabled || pending,
3954
4033
  children: [
3955
- pending && /* @__PURE__ */ jsx40(Spinner2, {
4034
+ pending && /* @__PURE__ */ jsx41(Spinner2, {
3956
4035
  "data-icon": "inline-start"
3957
4036
  }),
3958
4037
  mode === "reset-password" ? "Send reset link" : title
@@ -3963,14 +4042,14 @@ function AuthForm2({
3963
4042
  })
3964
4043
  })
3965
4044
  }),
3966
- footer && /* @__PURE__ */ jsx40(CardFooter2, {
4045
+ footer && /* @__PURE__ */ jsx41(CardFooter2, {
3967
4046
  children: footer
3968
4047
  })
3969
4048
  ]
3970
4049
  });
3971
4050
  }
3972
4051
  // src/components/SettingsSection.tsx
3973
- import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
4052
+ import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
3974
4053
  function SettingsSection2({
3975
4054
  title,
3976
4055
  description,
@@ -3983,48 +4062,48 @@ function SettingsSection2({
3983
4062
  destructive = false,
3984
4063
  density
3985
4064
  }) {
3986
- return /* @__PURE__ */ jsx41("form", {
4065
+ return /* @__PURE__ */ jsx42("form", {
3987
4066
  "aria-label": title,
3988
4067
  onSubmit,
3989
4068
  "aria-busy": pending,
3990
- children: /* @__PURE__ */ jsxs26(Card2, {
4069
+ children: /* @__PURE__ */ jsxs27(Card2, {
3991
4070
  density,
3992
4071
  children: [
3993
- /* @__PURE__ */ jsxs26(CardHeader2, {
4072
+ /* @__PURE__ */ jsxs27(CardHeader2, {
3994
4073
  children: [
3995
- /* @__PURE__ */ jsx41(CardTitle2, {
4074
+ /* @__PURE__ */ jsx42(CardTitle2, {
3996
4075
  children: title
3997
4076
  }),
3998
- description && /* @__PURE__ */ jsx41(CardDescription2, {
4077
+ description && /* @__PURE__ */ jsx42(CardDescription2, {
3999
4078
  children: description
4000
4079
  })
4001
4080
  ]
4002
4081
  }),
4003
- /* @__PURE__ */ jsx41(CardContent2, {
4004
- children: /* @__PURE__ */ jsxs26("fieldset", {
4082
+ /* @__PURE__ */ jsx42(CardContent2, {
4083
+ children: /* @__PURE__ */ jsxs27("fieldset", {
4005
4084
  disabled: disabled || pending,
4006
4085
  className: "min-w-0 border-0 p-0",
4007
4086
  children: [
4008
- /* @__PURE__ */ jsx41("legend", {
4087
+ /* @__PURE__ */ jsx42("legend", {
4009
4088
  className: "sr-only",
4010
4089
  children: title
4011
4090
  }),
4012
- /* @__PURE__ */ jsx41(FieldGroup2, {
4091
+ /* @__PURE__ */ jsx42(FieldGroup2, {
4013
4092
  children
4014
4093
  })
4015
4094
  ]
4016
4095
  })
4017
4096
  }),
4018
- /* @__PURE__ */ jsxs26(CardFooter2, {
4097
+ /* @__PURE__ */ jsxs27(CardFooter2, {
4019
4098
  className: "flex flex-wrap items-center justify-between gap-control-gap",
4020
4099
  children: [
4021
4100
  footer,
4022
- /* @__PURE__ */ jsxs26(Button2, {
4101
+ /* @__PURE__ */ jsxs27(Button2, {
4023
4102
  type: "submit",
4024
4103
  variant: destructive ? "destructive" : "default",
4025
4104
  disabled: disabled || pending,
4026
4105
  children: [
4027
- pending && /* @__PURE__ */ jsx41(Spinner2, {
4106
+ pending && /* @__PURE__ */ jsx42(Spinner2, {
4028
4107
  "data-icon": "inline-start"
4029
4108
  }),
4030
4109
  saveLabel
@@ -4037,7 +4116,7 @@ function SettingsSection2({
4037
4116
  });
4038
4117
  }
4039
4118
  // src/components/TagInput.tsx
4040
- import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
4119
+ import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
4041
4120
  function TagInput2({
4042
4121
  label,
4043
4122
  options,
@@ -4050,7 +4129,7 @@ function TagInput2({
4050
4129
  density
4051
4130
  }) {
4052
4131
  const anchor = useComboboxAnchor2();
4053
- return /* @__PURE__ */ jsxs27(Combobox2, {
4132
+ return /* @__PURE__ */ jsxs28(Combobox2, {
4054
4133
  items: options,
4055
4134
  multiple: true,
4056
4135
  value,
@@ -4059,33 +4138,33 @@ function TagInput2({
4059
4138
  disabled,
4060
4139
  name,
4061
4140
  children: [
4062
- /* @__PURE__ */ jsxs27(ComboboxChips2, {
4141
+ /* @__PURE__ */ jsxs28(ComboboxChips2, {
4063
4142
  ref: anchor,
4064
4143
  density,
4065
4144
  children: [
4066
- /* @__PURE__ */ jsx42(ComboboxValue2, {
4067
- children: (values) => values.map((item) => /* @__PURE__ */ jsx42(ComboboxChip2, {
4145
+ /* @__PURE__ */ jsx43(ComboboxValue2, {
4146
+ children: (values) => values.map((item) => /* @__PURE__ */ jsx43(ComboboxChip2, {
4068
4147
  removeLabel: `Remove ${item}`,
4069
4148
  children: item
4070
4149
  }, item))
4071
4150
  }),
4072
- /* @__PURE__ */ jsx42(ComboboxChipsInput2, {
4151
+ /* @__PURE__ */ jsx43(ComboboxChipsInput2, {
4073
4152
  "aria-label": label,
4074
4153
  placeholder
4075
4154
  })
4076
4155
  ]
4077
4156
  }),
4078
- /* @__PURE__ */ jsxs27(ComboboxContent2, {
4157
+ /* @__PURE__ */ jsxs28(ComboboxContent2, {
4079
4158
  anchor,
4080
4159
  density,
4081
4160
  children: [
4082
- /* @__PURE__ */ jsx42(ComboboxEmpty2, {
4161
+ /* @__PURE__ */ jsx43(ComboboxEmpty2, {
4083
4162
  children: "No matching tags."
4084
4163
  }),
4085
- /* @__PURE__ */ jsx42(ComboboxList2, {
4086
- children: /* @__PURE__ */ jsx42(ComboboxGroup2, {
4087
- children: /* @__PURE__ */ jsx42(ComboboxCollection2, {
4088
- children: (item) => /* @__PURE__ */ jsx42(ComboboxItem2, {
4164
+ /* @__PURE__ */ jsx43(ComboboxList2, {
4165
+ children: /* @__PURE__ */ jsx43(ComboboxGroup2, {
4166
+ children: /* @__PURE__ */ jsx43(ComboboxCollection2, {
4167
+ children: (item) => /* @__PURE__ */ jsx43(ComboboxItem2, {
4089
4168
  value: item,
4090
4169
  children: item
4091
4170
  }, item)
@@ -4098,7 +4177,7 @@ function TagInput2({
4098
4177
  });
4099
4178
  }
4100
4179
  // src/components/FilterBar.tsx
4101
- import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
4180
+ import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
4102
4181
  function FilterBar2({
4103
4182
  label,
4104
4183
  search,
@@ -4109,26 +4188,26 @@ function FilterBar2({
4109
4188
  disabled,
4110
4189
  density
4111
4190
  }) {
4112
- return /* @__PURE__ */ jsxs28("fieldset", {
4191
+ return /* @__PURE__ */ jsxs29("fieldset", {
4113
4192
  "aria-label": label,
4114
4193
  disabled,
4115
4194
  "data-density": density,
4116
4195
  className: "flex min-w-0 flex-wrap items-center gap-2",
4117
4196
  children: [
4118
- /* @__PURE__ */ jsx43(Input2, {
4197
+ /* @__PURE__ */ jsx44(Input2, {
4119
4198
  "aria-label": `Search ${label}`,
4120
4199
  type: "search",
4121
4200
  value: search,
4122
4201
  onChange: (event) => onSearchChange(event.target.value),
4123
4202
  className: "min-w-40 flex-1"
4124
4203
  }),
4125
- filters.map((filter) => /* @__PURE__ */ jsx43(OptionSelect2, {
4204
+ filters.map((filter) => /* @__PURE__ */ jsx44(OptionSelect2, {
4126
4205
  "aria-label": filter.label,
4127
4206
  value: value[filter.id] ?? "",
4128
4207
  onValueChange: (next) => onValueChange({ ...value, [filter.id]: next }),
4129
4208
  options: [{ value: "", label: filter.allLabel ?? `All ${filter.label.toLowerCase()}` }, ...filter.options]
4130
4209
  }, filter.id)),
4131
- /* @__PURE__ */ jsx43(Button2, {
4210
+ /* @__PURE__ */ jsx44(Button2, {
4132
4211
  type: "button",
4133
4212
  variant: "ghost",
4134
4213
  disabled: !search && !Object.values(value).some(Boolean),
@@ -4142,7 +4221,7 @@ function FilterBar2({
4142
4221
  });
4143
4222
  }
4144
4223
  // src/components/BarList.tsx
4145
- import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
4224
+ import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
4146
4225
  function BarList2({
4147
4226
  label,
4148
4227
  items,
@@ -4151,14 +4230,14 @@ function BarList2({
4151
4230
  density
4152
4231
  }) {
4153
4232
  const max = Math.max(1, ...items.map((item) => item.value));
4154
- return /* @__PURE__ */ jsxs29("section", {
4233
+ return /* @__PURE__ */ jsxs30("section", {
4155
4234
  "aria-label": label,
4156
4235
  "data-density": density,
4157
4236
  children: [
4158
- /* @__PURE__ */ jsx44("ul", {
4237
+ /* @__PURE__ */ jsx45("ul", {
4159
4238
  className: "grid gap-3",
4160
- children: items.map((item) => /* @__PURE__ */ jsx44("li", {
4161
- children: /* @__PURE__ */ jsxs29(Meter2, {
4239
+ children: items.map((item) => /* @__PURE__ */ jsx45("li", {
4240
+ children: /* @__PURE__ */ jsxs30(Meter2, {
4162
4241
  min: 0,
4163
4242
  max,
4164
4243
  value: item.value,
@@ -4166,11 +4245,11 @@ function BarList2({
4166
4245
  format: { maximumFractionDigits: 2 },
4167
4246
  className: "gap-y-1",
4168
4247
  children: [
4169
- /* @__PURE__ */ jsxs29("div", {
4248
+ /* @__PURE__ */ jsxs30("div", {
4170
4249
  className: "flex w-full items-center justify-between gap-3 text-sm",
4171
4250
  children: [
4172
- /* @__PURE__ */ jsx44(MeterLabel2, {
4173
- children: onItemSelect ? /* @__PURE__ */ jsx44(Button2, {
4251
+ /* @__PURE__ */ jsx45(MeterLabel2, {
4252
+ children: onItemSelect ? /* @__PURE__ */ jsx45(Button2, {
4174
4253
  type: "button",
4175
4254
  variant: "link",
4176
4255
  className: "h-auto p-0",
@@ -4178,19 +4257,19 @@ function BarList2({
4178
4257
  children: item.label
4179
4258
  }) : item.label
4180
4259
  }),
4181
- /* @__PURE__ */ jsx44(MeterValue2, {
4260
+ /* @__PURE__ */ jsx45(MeterValue2, {
4182
4261
  children: () => valueFormatter(item.value)
4183
4262
  })
4184
4263
  ]
4185
4264
  }),
4186
- /* @__PURE__ */ jsx44(MeterTrack2, {
4187
- children: /* @__PURE__ */ jsx44(MeterIndicator2, {})
4265
+ /* @__PURE__ */ jsx45(MeterTrack2, {
4266
+ children: /* @__PURE__ */ jsx45(MeterIndicator2, {})
4188
4267
  })
4189
4268
  ]
4190
4269
  })
4191
4270
  }, item.id))
4192
4271
  }),
4193
- !items.length && /* @__PURE__ */ jsx44("p", {
4272
+ !items.length && /* @__PURE__ */ jsx45("p", {
4194
4273
  role: "status",
4195
4274
  className: "text-sm text-muted-foreground",
4196
4275
  children: "No data available."
@@ -4199,23 +4278,23 @@ function BarList2({
4199
4278
  });
4200
4279
  }
4201
4280
  // src/components/StatusTracker.tsx
4202
- import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
4281
+ import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4203
4282
  var statusClasses = { success: "bg-success", warning: "bg-warning", error: "bg-destructive", unknown: "bg-muted" };
4204
4283
  function StatusTracker2({ label, items, onItemSelect, density }) {
4205
- return /* @__PURE__ */ jsx45(TooltipProvider2, {
4206
- children: /* @__PURE__ */ jsx45("div", {
4284
+ return /* @__PURE__ */ jsx46(TooltipProvider2, {
4285
+ children: /* @__PURE__ */ jsx46("div", {
4207
4286
  role: "group",
4208
4287
  "aria-label": label,
4209
4288
  "data-density": density,
4210
4289
  className: "flex min-w-0 gap-1",
4211
- children: items.map((item) => /* @__PURE__ */ jsxs30(Tooltip2, {
4290
+ children: items.map((item) => /* @__PURE__ */ jsxs31(Tooltip2, {
4212
4291
  children: [
4213
- /* @__PURE__ */ jsx45(TooltipTrigger2, {
4292
+ /* @__PURE__ */ jsx46(TooltipTrigger2, {
4214
4293
  "aria-label": `${item.label}: ${item.status}`,
4215
4294
  onClick: () => onItemSelect?.(item),
4216
4295
  className: cn2("h-8 min-w-2 flex-1 rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", statusClasses[item.status])
4217
4296
  }),
4218
- /* @__PURE__ */ jsxs30(TooltipContent2, {
4297
+ /* @__PURE__ */ jsxs31(TooltipContent2, {
4219
4298
  children: [
4220
4299
  item.label,
4221
4300
  ": ",
@@ -4228,7 +4307,7 @@ function StatusTracker2({ label, items, onItemSelect, density }) {
4228
4307
  });
4229
4308
  }
4230
4309
  // src/components/DashboardLayout.tsx
4231
- import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4310
+ import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4232
4311
  function DashboardLayout2({
4233
4312
  title,
4234
4313
  description,
@@ -4239,24 +4318,24 @@ function DashboardLayout2({
4239
4318
  footer,
4240
4319
  density
4241
4320
  }) {
4242
- return /* @__PURE__ */ jsxs31("div", {
4321
+ return /* @__PURE__ */ jsxs32("div", {
4243
4322
  "data-density": density,
4244
4323
  "data-scroll": "none",
4245
4324
  className: "grid min-w-0 gap-6",
4246
4325
  children: [
4247
- /* @__PURE__ */ jsx46(PageHeader2, {
4326
+ /* @__PURE__ */ jsx47(PageHeader2, {
4248
4327
  title,
4249
4328
  description,
4250
4329
  actions
4251
4330
  }),
4252
4331
  filters,
4253
- stats.length > 0 && /* @__PURE__ */ jsx46("div", {
4332
+ stats.length > 0 && /* @__PURE__ */ jsx47("div", {
4254
4333
  className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4",
4255
- children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx46(StatCard2, {
4334
+ children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx47(StatCard2, {
4256
4335
  ...stat
4257
4336
  }, id))
4258
4337
  }),
4259
- /* @__PURE__ */ jsx46("div", {
4338
+ /* @__PURE__ */ jsx47("div", {
4260
4339
  className: "grid min-w-0 gap-4",
4261
4340
  children
4262
4341
  }),
@@ -4265,18 +4344,18 @@ function DashboardLayout2({
4265
4344
  });
4266
4345
  }
4267
4346
  // src/components/BillingUsage.tsx
4268
- import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4347
+ import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4269
4348
  function BillingUsage2({ plan, price, period, metrics, onManage, pending, density }) {
4270
- return /* @__PURE__ */ jsxs32(Card2, {
4349
+ return /* @__PURE__ */ jsxs33(Card2, {
4271
4350
  density,
4272
4351
  "aria-label": "Billing and usage",
4273
4352
  children: [
4274
- /* @__PURE__ */ jsxs32(CardHeader2, {
4353
+ /* @__PURE__ */ jsxs33(CardHeader2, {
4275
4354
  children: [
4276
- /* @__PURE__ */ jsx47(CardTitle2, {
4355
+ /* @__PURE__ */ jsx48(CardTitle2, {
4277
4356
  children: plan
4278
4357
  }),
4279
- /* @__PURE__ */ jsxs32(CardDescription2, {
4358
+ /* @__PURE__ */ jsxs33(CardDescription2, {
4280
4359
  children: [
4281
4360
  price,
4282
4361
  " · ",
@@ -4285,32 +4364,32 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
4285
4364
  })
4286
4365
  ]
4287
4366
  }),
4288
- /* @__PURE__ */ jsx47(CardContent2, {
4367
+ /* @__PURE__ */ jsx48(CardContent2, {
4289
4368
  className: "grid gap-4",
4290
- children: metrics.map((metric) => /* @__PURE__ */ jsxs32(Meter2, {
4369
+ children: metrics.map((metric) => /* @__PURE__ */ jsxs33(Meter2, {
4291
4370
  value: metric.used,
4292
4371
  max: metric.limit,
4293
4372
  "aria-label": metric.label,
4294
4373
  children: [
4295
- /* @__PURE__ */ jsxs32("div", {
4374
+ /* @__PURE__ */ jsxs33("div", {
4296
4375
  className: "mb-2 flex items-center justify-between gap-3 text-sm",
4297
4376
  children: [
4298
- /* @__PURE__ */ jsx47(MeterLabel2, {
4377
+ /* @__PURE__ */ jsx48(MeterLabel2, {
4299
4378
  children: metric.label
4300
4379
  }),
4301
- /* @__PURE__ */ jsx47(MeterValue2, {
4380
+ /* @__PURE__ */ jsx48(MeterValue2, {
4302
4381
  children: () => `${metric.used.toLocaleString()} / ${metric.limit.toLocaleString()}${metric.unit ? ` ${metric.unit}` : ""}`
4303
4382
  })
4304
4383
  ]
4305
4384
  }),
4306
- /* @__PURE__ */ jsx47(MeterTrack2, {
4307
- children: /* @__PURE__ */ jsx47(MeterIndicator2, {})
4385
+ /* @__PURE__ */ jsx48(MeterTrack2, {
4386
+ children: /* @__PURE__ */ jsx48(MeterIndicator2, {})
4308
4387
  })
4309
4388
  ]
4310
4389
  }, metric.id))
4311
4390
  }),
4312
- /* @__PURE__ */ jsx47(CardFooter2, {
4313
- children: /* @__PURE__ */ jsx47(Button2, {
4391
+ /* @__PURE__ */ jsx48(CardFooter2, {
4392
+ children: /* @__PURE__ */ jsx48(Button2, {
4314
4393
  type: "button",
4315
4394
  variant: "outline",
4316
4395
  onClick: onManage,
@@ -4321,4 +4400,4 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
4321
4400
  ]
4322
4401
  });
4323
4402
  }
4324
- export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Drawer2, DrawerTrigger2, DrawerPortal2, DrawerClose2, DrawerOverlay2, DrawerSwipeHandle2, DrawerContent2, DrawerHeader2, DrawerFooter2, DrawerTitle2, DrawerDescription2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
4403
+ export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Drawer2, DrawerTrigger2, DrawerPortal2, DrawerClose2, DrawerOverlay2, DrawerSwipeHandle2, DrawerContent2, DrawerHeader2, DrawerFooter2, DrawerTitle2, DrawerDescription2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };