@bison-lab/ui 4.30.1 → 4.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -453,10 +453,45 @@ function focusFirstInvalid(form) {
453
453
  }
454
454
  }
455
455
  }
456
+ /** The form's values as `onSubmit` receives them. See {@link FormData_}. */
457
+ function readForm(form) {
458
+ const formData = new FormData(form);
459
+ const data = {};
460
+ for (const key of Array.from(new Set(formData.keys()))) {
461
+ const values = formData.getAll(key);
462
+ data[key] = values.length > 1 ? values : values[0];
463
+ }
464
+ return data;
465
+ }
466
+ /**
467
+ * The schema's first message per field path, or `{}` when it passes.
468
+ * Calls only `parse`, the one method `Form` has ever required, so a
469
+ * hand-rolled schema with just `parse` keeps working.
470
+ */
471
+ function schemaErrors(schema, data) {
472
+ try {
473
+ schema.parse(data);
474
+ return {};
475
+ } catch (err) {
476
+ const issues = err.issues;
477
+ if (!Array.isArray(issues)) throw err;
478
+ const fieldErrors = {};
479
+ for (const issue of issues) {
480
+ const path = issue.path.join(".");
481
+ if (!fieldErrors[path]) fieldErrors[path] = issue.message;
482
+ }
483
+ return fieldErrors;
484
+ }
485
+ }
486
+ /** The submitted name of the control an event came from, if it has one. */
487
+ function controlName(target) {
488
+ const name = target?.name;
489
+ return typeof name === "string" && name ? name : void 0;
490
+ }
456
491
  function defaultErrorSummary(count) {
457
492
  return count === 1 ? "1 field needs attention." : `${count} fields need attention.`;
458
493
  }
459
- const Form = React.forwardRef(({ onSubmit, schema, formMode = "native", errors: externalErrors, focusOnError = true, errorSummary = defaultErrorSummary, children, className, noValidate, ...props }, ref) => {
494
+ const Form = React.forwardRef(({ onSubmit, schema, formMode = "native", errors: externalErrors, focusOnError = true, errorSummary = defaultErrorSummary, validateOn = "submit", children, className, noValidate, onBlur, onChange, ...props }, ref) => {
460
495
  const [errors, setErrors] = React.useState({});
461
496
  const [touched, setTouched] = React.useState({});
462
497
  const [isSubmitting, setIsSubmitting] = React.useState(false);
@@ -483,30 +518,61 @@ const Form = React.forwardRef(({ onSubmit, schema, formMode = "native", errors:
483
518
  [name]: true
484
519
  }));
485
520
  }, []);
521
+ const editedRef = React.useRef(/* @__PURE__ */ new Set());
522
+ const shownRef = React.useRef(/* @__PURE__ */ new Set());
523
+ const judgeBlur = validateOn === "blur" && Boolean(schema);
524
+ /** Re-judge one field against the whole form's current values. */
525
+ const judgeField = React.useCallback((form, name) => {
526
+ if (!schema) return;
527
+ const message = schemaErrors(schema, readForm(form))[name];
528
+ if (message) {
529
+ shownRef.current.add(name);
530
+ setFieldError(name, message);
531
+ } else if (shownRef.current.has(name)) {
532
+ shownRef.current.delete(name);
533
+ clearFieldError(name);
534
+ }
535
+ }, [
536
+ schema,
537
+ setFieldError,
538
+ clearFieldError
539
+ ]);
540
+ const handleBlur = React.useCallback((e) => {
541
+ onBlur?.(e);
542
+ const name = controlName(e.target);
543
+ if (judgeBlur && name && (editedRef.current.has(name) || shownRef.current.has(name))) judgeField(e.currentTarget, name);
544
+ }, [
545
+ onBlur,
546
+ judgeBlur,
547
+ judgeField
548
+ ]);
549
+ const handleChange = React.useCallback((e) => {
550
+ onChange?.(e);
551
+ const name = controlName(e.target);
552
+ if (!judgeBlur || !name) return;
553
+ editedRef.current.add(name);
554
+ if (shownRef.current.has(name)) judgeField(e.currentTarget, name);
555
+ }, [
556
+ onChange,
557
+ judgeBlur,
558
+ judgeField
559
+ ]);
486
560
  const handleSubmit = React.useCallback(async (e) => {
487
561
  e.preventDefault();
488
562
  setIsSubmitting(true);
489
563
  setErrors({});
490
- const formData = new FormData(e.currentTarget);
491
- const data = {};
492
- for (const key of Array.from(new Set(formData.keys()))) {
493
- const values = formData.getAll(key);
494
- data[key] = values.length > 1 ? values : values[0];
495
- }
496
- if (schema) try {
497
- schema.parse(data);
498
- } catch (err) {
499
- const zodError = err;
500
- const fieldErrors = {};
501
- for (const issue of zodError.issues) {
502
- const path = issue.path.join(".");
503
- if (!fieldErrors[path]) fieldErrors[path] = issue.message;
564
+ const data = readForm(e.currentTarget);
565
+ if (schema) {
566
+ const fieldErrors = schemaErrors(schema, data);
567
+ if (Object.keys(fieldErrors).length > 0) {
568
+ shownRef.current = new Set(Object.keys(fieldErrors));
569
+ setErrors(fieldErrors);
570
+ setErrorVersion((v) => v + 1);
571
+ setAnnouncement(errorSummary(Object.keys(fieldErrors).length));
572
+ setIsSubmitting(false);
573
+ return;
504
574
  }
505
- setErrors(fieldErrors);
506
- setErrorVersion((v) => v + 1);
507
- setAnnouncement(errorSummary(Object.keys(fieldErrors).length));
508
- setIsSubmitting(false);
509
- return;
575
+ shownRef.current.clear();
510
576
  }
511
577
  setAnnouncement("");
512
578
  try {
@@ -552,6 +618,8 @@ const Form = React.forwardRef(({ onSubmit, schema, formMode = "native", errors:
552
618
  children: /* @__PURE__ */ jsxs("form", {
553
619
  ref: innerRef,
554
620
  onSubmit: handleSubmit,
621
+ onBlur: handleBlur,
622
+ onChange: handleChange,
555
623
  className,
556
624
  noValidate: noValidate ?? Boolean(schema),
557
625
  ...props,
@@ -1953,7 +2021,7 @@ const DatePicker = React.forwardRef(({ value, onChange, placeholder = "Pick a da
1953
2021
  DatePicker.displayName = "DatePicker";
1954
2022
  //#endregion
1955
2023
  //#region src/components/time-picker.tsx
1956
- const useIsomorphicLayoutEffect$1 = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
2024
+ const useIsomorphicLayoutEffect$2 = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
1957
2025
  /** Zero-pads a number to a 2-digit string ("5" → "05"). */
1958
2026
  function pad2(n) {
1959
2027
  return String(n).padStart(2, "0");
@@ -2008,7 +2076,7 @@ const TimePicker = React.forwardRef(({ value, onChange, minuteStep = 5, size = "
2008
2076
  const isControlled = parsedValue.hour12 !== void 0;
2009
2077
  const parts = isControlled ? parsedValue : partial;
2010
2078
  const wasControlledRef = React.useRef(isControlled);
2011
- useIsomorphicLayoutEffect$1(() => {
2079
+ useIsomorphicLayoutEffect$2(() => {
2012
2080
  if (wasControlledRef.current && !isControlled) setPartial({});
2013
2081
  wasControlledRef.current = isControlled;
2014
2082
  }, [isControlled]);
@@ -3202,7 +3270,7 @@ const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__P
3202
3270
  ...props
3203
3271
  }));
3204
3272
  DialogOverlay.displayName = Dialog$1.Overlay.displayName;
3205
- const DialogContent = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(Dialog$1.Content, {
3273
+ const DialogContent = React.forwardRef(({ className, children, closeLabel = "Close", ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(Dialog$1.Content, {
3206
3274
  ref,
3207
3275
  className: cn(centeredModalContentClasses, className),
3208
3276
  ...props,
@@ -3210,7 +3278,7 @@ const DialogContent = React.forwardRef(({ className, children, ...props }, ref)
3210
3278
  className: cn("absolute right-4 top-4 inline-flex items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary/40 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", touchTargetClasses),
3211
3279
  children: [/* @__PURE__ */ jsx(X, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
3212
3280
  className: "sr-only",
3213
- children: "Close"
3281
+ children: closeLabel
3214
3282
  })]
3215
3283
  })]
3216
3284
  })] }));
@@ -3710,7 +3778,7 @@ function Toaster({ position = "bottom-right", richColors = true, closeButton = t
3710
3778
  //#endregion
3711
3779
  //#region src/components/tabs.tsx
3712
3780
  const Tabs = Tabs$1.Root;
3713
- const useIsomorphicLayoutEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
3781
+ const useIsomorphicLayoutEffect$1 = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
3714
3782
  const TabsList = React.forwardRef(({ className, children, ...props }, forwardedRef) => {
3715
3783
  const innerRef = React.useRef(null);
3716
3784
  const pillRef = React.useRef(null);
@@ -3737,7 +3805,7 @@ const TabsList = React.forwardRef(({ className, children, ...props }, forwardedR
3737
3805
  pill.style.transitionProperty = "";
3738
3806
  }
3739
3807
  }, []);
3740
- useIsomorphicLayoutEffect(() => {
3808
+ useIsomorphicLayoutEffect$1(() => {
3741
3809
  move(false);
3742
3810
  const list = innerRef.current;
3743
3811
  if (!list) return;
@@ -7501,7 +7569,7 @@ function bandPadding(options) {
7501
7569
  }
7502
7570
  //#endregion
7503
7571
  //#region src/blocks/marketing/heroes/hero-sweep.tsx
7504
- const DEFAULT_CONTAINER$2 = "mx-auto w-full max-w-7xl px-6";
7572
+ const DEFAULT_CONTAINER$3 = "mx-auto w-full max-w-7xl px-6";
7505
7573
  /**
7506
7574
  * The brand sweep from the source artwork, rebuilt from theme tokens.
7507
7575
  * Ordered dark-to-warm: copy sits on the left, where the type is measured
@@ -7517,7 +7585,7 @@ const MEDIA_FRAME = {
7517
7585
  * Opening band. Sweep and dark flip the theme locally via `data-theme="dark"`
7518
7586
  * so tokens resolve to their dark values. Corners stay square.
7519
7587
  */
7520
- const HeroSweep = React.forwardRef(function HeroSweep({ eyebrow, heading, body, children, media, mediaAspect = "3:2", align = "start", tone = "sweep", overlap = false, sectionClassName, containerClassName = DEFAULT_CONTAINER$2, className }, ref) {
7588
+ const HeroSweep = React.forwardRef(function HeroSweep({ eyebrow, heading, body, children, media, mediaAspect = "3:2", align = "start", tone = "sweep", overlap = false, sectionClassName, containerClassName = DEFAULT_CONTAINER$3, className }, ref) {
7521
7589
  const isLight = tone === "light";
7522
7590
  const centered = align === "center" && !media;
7523
7591
  const isSweep = tone === "sweep";
@@ -7579,7 +7647,7 @@ const HeroSweep = React.forwardRef(function HeroSweep({ eyebrow, heading, body,
7579
7647
  });
7580
7648
  //#endregion
7581
7649
  //#region src/blocks/marketing/heroes/hero-compact.tsx
7582
- const DEFAULT_CONTAINER$1 = "mx-auto w-full max-w-7xl px-6";
7650
+ const DEFAULT_CONTAINER$2 = "mx-auto w-full max-w-7xl px-6";
7583
7651
  /** Ink that reads `--look-ink` from a `[data-look]` binding a site supplies. */
7584
7652
  const LOOK_INK = "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]";
7585
7653
  /**
@@ -7591,7 +7659,7 @@ const LOOK_INK = "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark
7591
7659
  * Anatomy, wired in SPI-51) passes `look` or `eyebrowClassName`. This
7592
7660
  * component does not name that field.
7593
7661
  */
7594
- const HeroCompact = React.forwardRef(function HeroCompact({ eyebrow, heading, body, children, media, containerClassName = DEFAULT_CONTAINER$1, overlap = false, sectionClassName, eyebrowClassName, look, className }, ref) {
7662
+ const HeroCompact = React.forwardRef(function HeroCompact({ eyebrow, heading, body, children, media, containerClassName = DEFAULT_CONTAINER$2, overlap = false, sectionClassName, eyebrowClassName, look, className }, ref) {
7595
7663
  const painted = hasSectionBackground(sectionClassName);
7596
7664
  const surface = sectionSurface(sectionClassName);
7597
7665
  const ownPadding = `pt-24 lg:pt-28 ${overlap ? "pb-28 lg:pb-36" : "pb-12 lg:pb-16"}`;
@@ -7650,7 +7718,7 @@ const HeroCompact = React.forwardRef(function HeroCompact({ eyebrow, heading, bo
7650
7718
  });
7651
7719
  //#endregion
7652
7720
  //#region src/blocks/marketing/heroes/hero-simple.tsx
7653
- const DEFAULT_CONTAINER = "mx-auto w-full max-w-7xl px-6";
7721
+ const DEFAULT_CONTAINER$1 = "mx-auto w-full max-w-7xl px-6";
7654
7722
  /**
7655
7723
  * The calm member of the hero family: one centered column of copy on the
7656
7724
  * page surface, no image and no motion. The heading is the page's `<h1>`
@@ -7659,7 +7727,7 @@ const DEFAULT_CONTAINER = "mx-auto w-full max-w-7xl px-6";
7659
7727
  * Like the compact hero, its top padding clears the floating header, and a
7660
7728
  * section background replaces the page surface.
7661
7729
  */
7662
- const HeroSimple = React.forwardRef(function HeroSimple({ eyebrow, heading, body, children, containerClassName = DEFAULT_CONTAINER, overlap = false, sectionClassName, className }, ref) {
7730
+ const HeroSimple = React.forwardRef(function HeroSimple({ eyebrow, heading, body, children, containerClassName = DEFAULT_CONTAINER$1, overlap = false, sectionClassName, className }, ref) {
7663
7731
  const painted = hasSectionBackground(sectionClassName);
7664
7732
  const ownPadding = `pt-28 lg:pt-36 ${overlap ? "pb-32 lg:pb-48" : "pb-16 lg:pb-24"}`;
7665
7733
  const padding = sectionClassName === void 0 ? ownPadding : bandPadding({
@@ -7979,6 +8047,39 @@ const FeatureChecklistBlock = React.forwardRef(({ badge, title, dividerLabel, le
7979
8047
  });
7980
8048
  FeatureChecklistBlock.displayName = "FeatureChecklistBlock";
7981
8049
  //#endregion
8050
+ //#region src/lib/use-prefers-reduced-motion.ts
8051
+ const QUERY = "(prefers-reduced-motion: reduce)";
8052
+ function query() {
8053
+ return typeof window !== "undefined" && typeof window.matchMedia === "function" ? window.matchMedia(QUERY) : null;
8054
+ }
8055
+ function subscribe(onChange) {
8056
+ const list = query();
8057
+ if (!list) return () => void 0;
8058
+ if (typeof list.addEventListener === "function") {
8059
+ list.addEventListener("change", onChange);
8060
+ return () => list.removeEventListener("change", onChange);
8061
+ }
8062
+ list.addListener?.(onChange);
8063
+ return () => list.removeListener?.(onChange);
8064
+ }
8065
+ /** No query to read (an old browser, a test without `matchMedia`) reads as reduced. */
8066
+ function getSnapshot() {
8067
+ return query()?.matches ?? true;
8068
+ }
8069
+ /** The server cannot read the visitor's setting, so it renders the still version. */
8070
+ function getServerSnapshot() {
8071
+ return true;
8072
+ }
8073
+ /**
8074
+ * Whether the visitor asks for reduced motion, kept current as they change
8075
+ * the setting. Until the query can be read (server render, hydration) it
8076
+ * answers `true`: motion starts only once the browser confirms it is
8077
+ * welcome, so a reduced-motion visitor never sees a first frame of it.
8078
+ */
8079
+ function usePrefersReducedMotion() {
8080
+ return React.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
8081
+ }
8082
+ //#endregion
7982
8083
  //#region src/blocks/marketing/video-block.tsx
7983
8084
  const FRAME = {
7984
8085
  "16:9": "aspect-video",
@@ -8004,9 +8105,6 @@ function videoEmbedUrl(video, autoplay = true) {
8004
8105
  const hashTime = video.start ? `#t=${Math.floor(video.start)}s` : "";
8005
8106
  return `https://player.vimeo.com/video/${encodeURIComponent(video.id)}?${params}${hashTime}`;
8006
8107
  }
8007
- function prefersReducedMotion() {
8008
- return typeof window !== "undefined" && typeof window.matchMedia === "function" ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : false;
8009
- }
8010
8108
  function PlayGlyph() {
8011
8109
  return /* @__PURE__ */ jsx("span", {
8012
8110
  className: "flex size-16 items-center justify-center rounded-full bg-background/90 text-foreground shadow-lg transition-transform group-hover:scale-105 group-focus-visible:scale-105 motion-reduce:transition-none",
@@ -8051,12 +8149,10 @@ function EmbedPlayer({ video, poster, name, playLabel }) {
8051
8149
  }
8052
8150
  function FilePlayer({ video, posterSrc, name, loop, labels }) {
8053
8151
  const ref = React.useRef(null);
8054
- const [ambient, setAmbient] = React.useState(false);
8055
8152
  const [paused, setPaused] = React.useState(true);
8056
8153
  const [held, setHeld] = React.useState(false);
8057
- React.useEffect(() => {
8058
- setAmbient(loop && !prefersReducedMotion());
8059
- }, [loop]);
8154
+ const reduced = usePrefersReducedMotion();
8155
+ const ambient = loop && !reduced;
8060
8156
  React.useEffect(() => {
8061
8157
  const node = ref.current;
8062
8158
  if (!ambient || !node || held) return;
@@ -8390,6 +8486,7 @@ const InquiryFormBlock = React.forwardRef(({ eyebrow, title, description, headin
8390
8486
  }) : /* @__PURE__ */ jsxs(Form, {
8391
8487
  formMode,
8392
8488
  schema,
8489
+ validateOn: "blur",
8393
8490
  errors: fieldErrors,
8394
8491
  onSubmit: handleSubmit,
8395
8492
  className: "flex flex-col gap-5",
@@ -8861,7 +8958,7 @@ const ProcessStepsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, act
8861
8958
  const hoverPausedRef = React.useRef(false);
8862
8959
  const manuallyPausedRef = React.useRef(false);
8863
8960
  const [manuallyPaused, setManuallyPaused] = React.useState(false);
8864
- const [reducedMotion, setReducedMotion] = React.useState(false);
8961
+ const reducedMotion = usePrefersReducedMotion();
8865
8962
  const uid = React.useId();
8866
8963
  const tabRefs = React.useRef([]);
8867
8964
  const tabId = (i) => `${uid}-tab-${i}`;
@@ -8890,13 +8987,6 @@ const ProcessStepsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, act
8890
8987
  focusTab(count - 1);
8891
8988
  }
8892
8989
  };
8893
- React.useEffect(() => {
8894
- const query = window.matchMedia("(prefers-reduced-motion: reduce)");
8895
- setReducedMotion(query.matches);
8896
- const onChange = () => setReducedMotion(query.matches);
8897
- query.addEventListener("change", onChange);
8898
- return () => query.removeEventListener("change", onChange);
8899
- }, []);
8900
8990
  const isAutoAdvancing = autoAdvance && !reducedMotion && items.length > 1;
8901
8991
  React.useEffect(() => {
8902
8992
  if (!isAutoAdvancing) return;
@@ -11040,6 +11130,388 @@ const ContrastStrip = React.forwardRef(({ checks, mode = "both", failingOnly = f
11040
11130
  });
11041
11131
  ContrastStrip.displayName = "ContrastStrip";
11042
11132
  //#endregion
11043
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppSidebarBlock, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BisonProvider, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CHROME_LOOK_CLASSES, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxItem, CodeInput, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContrastStrip, CurrencyInput, DataTable, DataTableColumnHeader, DatePicker, DateRangePicker, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, EmptyStateBlock, FAQColumnsBlock, FIELD_LABEL_SPACING, FIELD_NOTE_SPACING, FeatureChecklistBlock, FeatureHighlightsBlock, FieldGroupScope, FieldNote, FieldProvider, FilterButton, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, HeroCompact, HeroSimple, HeroSweep, Input, InputGroup, InquiryFormBlock, JsonLd, Kbd, Label, LookSurface, MaintenanceBlock, MediaCard, MegaMenuPanel, NapBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, OutlinedField, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverTrigger, ProcessStepsBlock, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, Rating, ResetPasswordBlock, ResourcesBlock, ReviewsBlock, RotatingBadge, SavedPing, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowcasePanelsBlock, Sidebar, SidebarBlock, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, SocialProviders, Spinner, StatsBandBlock, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperLabel, StepperSeparator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, TestimonialMasonry, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, ThemeShowcase, TimePicker, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, VerifyBlock, VideoBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, avgFooter, badgeVariants, buttonVariants, cn, countFooter, dateRangePresets, editableTitleVariants, describedBy as fieldDescribedBy, fieldSpacing, filterChips, filterCount, formatUsPhone, inlineEmphasis, inquiryFormSchema, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, splitFieldNotes, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, sumFooter, switchVariants, testimonialInitials, themeShowcaseSections, toColumnFilters, toast, toggleFilter, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFieldNotes, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme, videoEmbedUrl };
11133
+ //#region src/blocks/marketing/cta-band-block.tsx
11134
+ const DEFAULT_CONTAINER = "mx-auto w-full max-w-7xl px-6";
11135
+ /** The band shows at most this many buttons: a primary and an alternative. */
11136
+ const CTA_BAND_MAX_ACTIONS = 2;
11137
+ /**
11138
+ * The scrim between a background image and the text. Decided once, here,
11139
+ * not offered to editors: 60% black over the brightest photo leaves the
11140
+ * dark theme's foreground above 4.5:1 against it.
11141
+ */
11142
+ const SCRIM = "bg-[rgb(0_0_0/0.6)]";
11143
+ /**
11144
+ * The closing band at the end of a page: a heading, an optional line and up
11145
+ * to two buttons, with an optional background image.
11146
+ */
11147
+ const CtaBandBlock = React.forwardRef(function CtaBandBlock({ heading, description, actions, media, align = "center", renderLink = renderPlainLink, containerClassName, className, ...rest }, ref) {
11148
+ const centered = align === "center";
11149
+ const shown = (actions ?? []).slice(0, 2);
11150
+ return /* @__PURE__ */ jsxs("section", {
11151
+ ref,
11152
+ "data-align": align,
11153
+ className: cn("relative isolate overflow-hidden py-16 lg:py-24", className),
11154
+ ...rest,
11155
+ children: [media ? /* @__PURE__ */ jsxs("div", {
11156
+ className: "absolute inset-0 -z-10",
11157
+ "data-cta-band-media": "",
11158
+ children: [media, /* @__PURE__ */ jsx("div", {
11159
+ "aria-hidden": true,
11160
+ className: cn("absolute inset-0", SCRIM)
11161
+ })]
11162
+ }) : null, /* @__PURE__ */ jsx("div", {
11163
+ className: cn(DEFAULT_CONTAINER, containerClassName),
11164
+ children: /* @__PURE__ */ jsxs("div", {
11165
+ "data-theme": media ? "dark" : void 0,
11166
+ className: cn("max-w-3xl", centered && "mx-auto text-center", media && "text-foreground"),
11167
+ children: [
11168
+ /* @__PURE__ */ jsx("h2", {
11169
+ className: "font-heading text-3xl font-bold tracking-tight text-balance sm:text-4xl",
11170
+ children: heading
11171
+ }),
11172
+ description ? /* @__PURE__ */ jsx("p", {
11173
+ className: cn("mt-4 max-w-2xl text-lg leading-relaxed", centered && "mx-auto", media ? "text-foreground" : "text-muted-foreground"),
11174
+ children: description
11175
+ }) : null,
11176
+ shown.length > 0 ? /* @__PURE__ */ jsx("div", {
11177
+ className: cn("mt-8 flex flex-wrap items-center gap-3", centered && "justify-center"),
11178
+ children: shown.map((action, i) => {
11179
+ const variant = i === 0 ? "default" : "outline";
11180
+ if (!action.href) return /* @__PURE__ */ jsx("span", {
11181
+ className: "px-2 text-base font-medium",
11182
+ children: action.label
11183
+ }, i);
11184
+ return /* @__PURE__ */ jsx(React.Fragment, { children: renderLink({
11185
+ href: action.href,
11186
+ ...newTabAttributes(action.newTab),
11187
+ "data-variant": variant,
11188
+ className: cn(buttonVariants({
11189
+ variant,
11190
+ size: "lg"
11191
+ }), "rounded-full"),
11192
+ children: action.label
11193
+ }) }, i);
11194
+ })
11195
+ }) : null
11196
+ ]
11197
+ })
11198
+ })]
11199
+ });
11200
+ });
11201
+ //#endregion
11202
+ //#region src/blocks/marketing/logo-cloud-block.tsx
11203
+ /** Seconds per logo for one pass of the loop, so the speed holds at any count. */
11204
+ const SECONDS_PER_LOGO = 3;
11205
+ const useIsomorphicLayoutEffect = typeof window === "undefined" ? React.useEffect : React.useLayoutEffect;
11206
+ /**
11207
+ * How many copies of the logo set each half of the loop holds. The track
11208
+ * slides by half its width, so the loop is seamless only when one half is at
11209
+ * least as wide as the strip: a narrow set is repeated until it fills it.
11210
+ * Measured on mount and whenever the strip or the set resizes.
11211
+ */
11212
+ function useSetsPerHalf(active, viewport, set) {
11213
+ const [count, setCount] = React.useState(1);
11214
+ useIsomorphicLayoutEffect(() => {
11215
+ if (!active) return;
11216
+ const measure = () => {
11217
+ const strip = viewport.current?.offsetWidth ?? 0;
11218
+ const one = set.current?.offsetWidth ?? 0;
11219
+ setCount(one > 0 && strip > 0 ? Math.max(1, Math.ceil(strip / one)) : 1);
11220
+ };
11221
+ measure();
11222
+ if (typeof ResizeObserver === "undefined") return;
11223
+ const observer = new ResizeObserver(measure);
11224
+ if (viewport.current) observer.observe(viewport.current);
11225
+ if (set.current) observer.observe(set.current);
11226
+ return () => observer.disconnect();
11227
+ }, [
11228
+ active,
11229
+ viewport,
11230
+ set
11231
+ ]);
11232
+ return count;
11233
+ }
11234
+ /**
11235
+ * `inert` is a boolean prop from React 19; React 18 drops a boolean and
11236
+ * needs the empty string. Either way the copy leaves the tab order.
11237
+ */
11238
+ const INERT = React.version.startsWith("18") ? { inert: "" } : { inert: true };
11239
+ /**
11240
+ * Each logo sits in one fixed-height box (the density's large control
11241
+ * height) and keeps its own aspect ratio, capped in width, so a wide
11242
+ * wordmark does not dwarf a square mark.
11243
+ */
11244
+ const LOGO_BOX = "flex h-[var(--density-height-lg,3rem)] items-center justify-center [&_img]:h-full [&_img]:w-auto [&_img]:max-w-40 [&_img]:object-contain [&_svg]:h-full [&_svg]:w-auto";
11245
+ const GREY = "grayscale opacity-70 transition-[filter,opacity] motion-reduce:transition-none";
11246
+ const GREY_LINK_RESTORE = "hover:grayscale-0 hover:opacity-100 focus-visible:grayscale-0 focus-visible:opacity-100";
11247
+ function LogoItems({ logos, greyscale, renderLink, copy }) {
11248
+ return /* @__PURE__ */ jsx(Fragment, { children: logos.map((logo, i) => /* @__PURE__ */ jsx("li", {
11249
+ className: "shrink-0",
11250
+ children: logo.href ? renderLink({
11251
+ href: logo.href,
11252
+ ...newTabAttributes(logo.newTab),
11253
+ "aria-label": logo.alt,
11254
+ ...copy ? { tabIndex: -1 } : {},
11255
+ className: cn(LOGO_BOX, "rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", greyscale && cn(GREY, GREY_LINK_RESTORE)),
11256
+ children: logo.image
11257
+ }) : /* @__PURE__ */ jsx("span", {
11258
+ className: cn(LOGO_BOX, greyscale && GREY),
11259
+ children: logo.image
11260
+ })
11261
+ }, i)) });
11262
+ }
11263
+ /**
11264
+ * A band of client, partner or press logos under an optional heading.
11265
+ *
11266
+ * Every logo is normalised to one height and shown as uploaded (greyscale
11267
+ * is the only treatment). The marquee draws the set as many times as a
11268
+ * seamless loop needs; every copy after the first is `aria-hidden` and
11269
+ * `inert`, so assistive technology hears each logo once and Tab reaches each
11270
+ * link once. Until the browser confirms motion is welcome (server render,
11271
+ * first paint, reduced motion) the marquee is the static grid.
11272
+ */
11273
+ const LogoCloudBlock = React.forwardRef(({ heading, logos, layout = "grid", greyscale = false, renderLink = renderPlainLink, label = "Logos", labels, containerClassName, className, ...props }, ref) => {
11274
+ const headingId = React.useId();
11275
+ const reduced = usePrefersReducedMotion();
11276
+ const [paused, setPaused] = React.useState(false);
11277
+ const viewportRef = React.useRef(null);
11278
+ const setRef = React.useRef(null);
11279
+ const marquee = layout === "marquee" && !reduced && logos.length > 0;
11280
+ const setsPerHalf = useSetsPerHalf(marquee, viewportRef, setRef);
11281
+ if (logos.length === 0) return null;
11282
+ const listName = heading ? { "aria-labelledby": headingId } : { "aria-label": label };
11283
+ const pauseLabel = labels?.pause ?? "Pause logos";
11284
+ const resumeLabel = labels?.resume ?? "Play logos";
11285
+ return /* @__PURE__ */ jsx("section", {
11286
+ ref,
11287
+ className,
11288
+ ...props,
11289
+ children: /* @__PURE__ */ jsxs("div", {
11290
+ className: cn("mx-auto w-full max-w-7xl px-6 py-12 md:py-16", containerClassName),
11291
+ children: [heading ? /* @__PURE__ */ jsx("h2", {
11292
+ id: headingId,
11293
+ className: "mb-8 text-center text-sm font-semibold tracking-wide text-muted-foreground uppercase",
11294
+ children: heading
11295
+ }) : null, marquee ? /* @__PURE__ */ jsxs("div", {
11296
+ className: "relative flex items-center gap-4",
11297
+ children: [/* @__PURE__ */ jsx("div", {
11298
+ ref: viewportRef,
11299
+ "data-testid": "logo-cloud-viewport",
11300
+ className: "group/logo-viewport min-w-0 flex-1 overflow-hidden [mask-image:linear-gradient(to_right,transparent,black_8%,black_92%,transparent)] has-[:focus-visible]:[mask-image:none]! has-[:focus-visible]:overflow-visible!",
11301
+ children: /* @__PURE__ */ jsxs("div", {
11302
+ "data-testid": "logo-cloud-track",
11303
+ "data-state": paused ? "paused" : "running",
11304
+ className: "flex w-max animate-logo-marquee group-hover/logo-viewport:[animation-play-state:paused] group-focus-within/logo-viewport:[animation-play-state:paused] motion-reduce:animate-none group-has-[:focus-visible]/logo-viewport:w-full! group-has-[:focus-visible]/logo-viewport:animate-none!",
11305
+ style: {
11306
+ "--logo-marquee-duration": `${setsPerHalf * Math.max(logos.length, 4) * SECONDS_PER_LOGO}s`,
11307
+ ...paused ? { animationPlayState: "paused" } : {}
11308
+ },
11309
+ children: [/* @__PURE__ */ jsx("ul", {
11310
+ ref: setRef,
11311
+ "data-logo-set": "",
11312
+ ...listName,
11313
+ className: "flex shrink-0 items-center gap-12 pr-12 group-has-[:focus-visible]/logo-viewport:w-full group-has-[:focus-visible]/logo-viewport:flex-wrap group-has-[:focus-visible]/logo-viewport:justify-center group-has-[:focus-visible]/logo-viewport:gap-y-8 group-has-[:focus-visible]/logo-viewport:pr-0",
11314
+ children: /* @__PURE__ */ jsx(LogoItems, {
11315
+ logos,
11316
+ greyscale,
11317
+ renderLink,
11318
+ copy: false
11319
+ })
11320
+ }), Array.from({ length: setsPerHalf * 2 - 1 }, (_, i) => /* @__PURE__ */ jsx("ul", {
11321
+ "data-logo-set": "",
11322
+ "aria-hidden": "true",
11323
+ ...INERT,
11324
+ className: "flex shrink-0 items-center gap-12 pr-12 group-has-[:focus-visible]/logo-viewport:hidden",
11325
+ children: /* @__PURE__ */ jsx(LogoItems, {
11326
+ logos,
11327
+ greyscale,
11328
+ renderLink,
11329
+ copy: true
11330
+ })
11331
+ }, i))]
11332
+ })
11333
+ }), /* @__PURE__ */ jsx("button", {
11334
+ type: "button",
11335
+ className: "flex size-10 shrink-0 items-center justify-center rounded-full border bg-background text-foreground shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
11336
+ "aria-label": paused ? resumeLabel : pauseLabel,
11337
+ onClick: () => setPaused((value) => !value),
11338
+ children: paused ? /* @__PURE__ */ jsx(Play, {
11339
+ className: "size-4",
11340
+ "aria-hidden": true
11341
+ }) : /* @__PURE__ */ jsx(Pause, {
11342
+ className: "size-4",
11343
+ "aria-hidden": true
11344
+ })
11345
+ })]
11346
+ }) : /* @__PURE__ */ jsx("ul", {
11347
+ ...listName,
11348
+ className: "flex flex-wrap items-center justify-center gap-x-12 gap-y-8",
11349
+ children: /* @__PURE__ */ jsx(LogoItems, {
11350
+ logos,
11351
+ greyscale,
11352
+ renderLink,
11353
+ copy: false
11354
+ })
11355
+ })]
11356
+ })
11357
+ });
11358
+ });
11359
+ LogoCloudBlock.displayName = "LogoCloudBlock";
11360
+ //#endregion
11361
+ //#region src/blocks/marketing/gallery-block.tsx
11362
+ const GRID_COLUMNS = {
11363
+ 2: "lg:grid-cols-2",
11364
+ 3: "lg:grid-cols-3",
11365
+ 4: "lg:grid-cols-4"
11366
+ };
11367
+ const MASONRY_COLUMNS = {
11368
+ 2: "lg:columns-2",
11369
+ 3: "lg:columns-3",
11370
+ 4: "lg:columns-4"
11371
+ };
11372
+ /** The custom property a Grid tile crops toward. */
11373
+ const GALLERY_FOCAL_PROPERTY = "--bl-gallery-focal";
11374
+ const defaultPosition = (n, total) => `${n} of ${total}`;
11375
+ /**
11376
+ * A heading over a grid (or masonry) of images with optional captions.
11377
+ *
11378
+ * Each tile is a button that opens a modal lightbox on `Dialog`: the image
11379
+ * at full size, its caption and an "n of N" position, Previous / Next and
11380
+ * the arrow keys (wrapping), and Escape, the close button or the backdrop to
11381
+ * leave. The dialog is named "<alt>, n of N" and a polite live region
11382
+ * announces each move. On close, focus lands on the tile of the image that
11383
+ * was open, not the one that first opened the lightbox (WCAG 2.4.3).
11384
+ */
11385
+ const GalleryBlock = React.forwardRef(({ heading, items, layout = "grid", columns = 3, labels, containerClassName, className, ...props }, ref) => {
11386
+ const headingId = React.useId();
11387
+ const [open, setOpen] = React.useState(false);
11388
+ const [index, setIndex] = React.useState(0);
11389
+ const [announcement, setAnnouncement] = React.useState("");
11390
+ const tiles = React.useRef([]);
11391
+ const openLabel = labels?.open ?? "Open image";
11392
+ const position = labels?.position ?? defaultPosition;
11393
+ const total = items.length;
11394
+ const at = Math.max(0, Math.min(index, total - 1));
11395
+ const current = items[at];
11396
+ const isMasonry = layout === "masonry";
11397
+ const move = (step) => {
11398
+ if (total < 2) return;
11399
+ const next = (at + step + total) % total;
11400
+ setIndex(next);
11401
+ const target = items[next];
11402
+ if (target) setAnnouncement(`${target.alt}, ${position(next + 1, total)}`);
11403
+ };
11404
+ const show = (n) => {
11405
+ setIndex(n);
11406
+ setAnnouncement("");
11407
+ setOpen(true);
11408
+ };
11409
+ if (total === 0) return null;
11410
+ return /* @__PURE__ */ jsxs("section", {
11411
+ ref,
11412
+ "aria-labelledby": heading && !props["aria-label"] ? headingId : void 0,
11413
+ className,
11414
+ ...props,
11415
+ children: [/* @__PURE__ */ jsxs("div", {
11416
+ className: cn("mx-auto w-full max-w-7xl px-6 py-16 md:py-24", containerClassName),
11417
+ children: [heading ? /* @__PURE__ */ jsx("h2", {
11418
+ id: headingId,
11419
+ className: "mb-10 font-heading text-3xl font-semibold tracking-tight text-balance md:text-4xl",
11420
+ children: heading
11421
+ }) : null, /* @__PURE__ */ jsx("div", {
11422
+ className: cn(isMasonry ? cn("columns-1 gap-4 sm:columns-2", MASONRY_COLUMNS[columns]) : cn("grid grid-cols-1 gap-4 sm:grid-cols-2", GRID_COLUMNS[columns])),
11423
+ "data-gallery-layout": layout,
11424
+ children: items.map((item, n) => /* @__PURE__ */ jsxs("figure", {
11425
+ className: cn(isMasonry && "mb-4 break-inside-avoid"),
11426
+ children: [/* @__PURE__ */ jsx("button", {
11427
+ ref: (node) => {
11428
+ tiles.current[n] = node;
11429
+ },
11430
+ type: "button",
11431
+ "aria-label": `${openLabel}: ${item.alt}`,
11432
+ "aria-haspopup": "dialog",
11433
+ onClick: () => show(n),
11434
+ style: !isMasonry && item.position ? { [GALLERY_FOCAL_PROPERTY]: item.position } : void 0,
11435
+ className: cn("block w-full cursor-zoom-in overflow-hidden rounded-lg bg-muted ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", "[&_img]:w-full [&_img]:transition-transform [&_img]:duration-300 motion-safe:hover:[&_img]:scale-[1.03] motion-reduce:[&_img]:transition-none", isMasonry ? "[&_img]:h-auto" : "aspect-[4/3] [&_img]:h-full [&_img]:object-cover [&_img]:[object-position:var(--bl-gallery-focal,50%_50%)]"),
11436
+ children: item.thumbnail
11437
+ }), item.caption ? /* @__PURE__ */ jsx("figcaption", {
11438
+ className: "mt-2 text-sm text-muted-foreground",
11439
+ children: item.caption
11440
+ }) : null]
11441
+ }, n))
11442
+ })]
11443
+ }), /* @__PURE__ */ jsx(Dialog, {
11444
+ open,
11445
+ onOpenChange: setOpen,
11446
+ children: current ? /* @__PURE__ */ jsxs(DialogContent, {
11447
+ closeLabel: labels?.close ?? "Close",
11448
+ className: "w-[calc(100vw-2rem)] max-w-6xl gap-3 p-4 pt-14 motion-reduce:animate-none sm:p-6 sm:pt-14",
11449
+ onKeyDown: (event) => {
11450
+ if (event.key === "ArrowRight") {
11451
+ event.preventDefault();
11452
+ move(1);
11453
+ } else if (event.key === "ArrowLeft") {
11454
+ event.preventDefault();
11455
+ move(-1);
11456
+ }
11457
+ },
11458
+ onCloseAutoFocus: (event) => {
11459
+ event.preventDefault();
11460
+ tiles.current[at]?.focus();
11461
+ },
11462
+ ...current.caption ? {} : { "aria-describedby": void 0 },
11463
+ children: [
11464
+ /* @__PURE__ */ jsx(DialogTitle, {
11465
+ className: "sr-only",
11466
+ children: `${current.alt}, ${position(at + 1, total)}`
11467
+ }),
11468
+ /* @__PURE__ */ jsx("div", {
11469
+ className: "flex justify-center [&_img]:h-auto [&_img]:max-h-[75vh] [&_img]:w-auto [&_img]:max-w-full [&_img]:object-contain",
11470
+ children: current.full
11471
+ }),
11472
+ current.caption ? /* @__PURE__ */ jsx(DialogDescription, {
11473
+ className: "text-center text-sm text-muted-foreground",
11474
+ children: current.caption
11475
+ }) : null,
11476
+ /* @__PURE__ */ jsxs("div", {
11477
+ className: "flex items-center justify-center gap-4",
11478
+ children: [
11479
+ total > 1 ? /* @__PURE__ */ jsx(Button, {
11480
+ type: "button",
11481
+ variant: "outline",
11482
+ size: "icon",
11483
+ "aria-label": labels?.previous ?? "Previous image",
11484
+ onClick: () => move(-1),
11485
+ children: /* @__PURE__ */ jsx(ChevronLeft, { "aria-hidden": true })
11486
+ }) : null,
11487
+ /* @__PURE__ */ jsx("p", {
11488
+ className: "text-sm tabular-nums text-muted-foreground",
11489
+ "aria-hidden": true,
11490
+ children: position(at + 1, total)
11491
+ }),
11492
+ total > 1 ? /* @__PURE__ */ jsx(Button, {
11493
+ type: "button",
11494
+ variant: "outline",
11495
+ size: "icon",
11496
+ "aria-label": labels?.next ?? "Next image",
11497
+ onClick: () => move(1),
11498
+ children: /* @__PURE__ */ jsx(ChevronRight, { "aria-hidden": true })
11499
+ }) : null
11500
+ ]
11501
+ }),
11502
+ /* @__PURE__ */ jsx("p", {
11503
+ className: "sr-only",
11504
+ "aria-live": "polite",
11505
+ "aria-atomic": "true",
11506
+ children: announcement
11507
+ })
11508
+ ]
11509
+ }) : null
11510
+ })]
11511
+ });
11512
+ });
11513
+ GalleryBlock.displayName = "GalleryBlock";
11514
+ //#endregion
11515
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppSidebarBlock, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BisonProvider, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CHROME_LOOK_CLASSES, CTA_BAND_MAX_ACTIONS, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxItem, CodeInput, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContrastStrip, CtaBandBlock, CurrencyInput, DataTable, DataTableColumnHeader, DatePicker, DateRangePicker, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, EmptyStateBlock, FAQColumnsBlock, FIELD_LABEL_SPACING, FIELD_NOTE_SPACING, FeatureChecklistBlock, FeatureHighlightsBlock, FieldGroupScope, FieldNote, FieldProvider, FilterButton, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, GALLERY_FOCAL_PROPERTY, GalleryBlock, HeaderBlock, HeroCompact, HeroSimple, HeroSweep, Input, InputGroup, InquiryFormBlock, JsonLd, Kbd, Label, LogoCloudBlock, LookSurface, MaintenanceBlock, MediaCard, MegaMenuPanel, NapBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, OutlinedField, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverTrigger, ProcessStepsBlock, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, Rating, ResetPasswordBlock, ResourcesBlock, ReviewsBlock, RotatingBadge, SavedPing, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowcasePanelsBlock, Sidebar, SidebarBlock, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, SocialProviders, Spinner, StatsBandBlock, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperLabel, StepperSeparator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, TestimonialMasonry, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, ThemeShowcase, TimePicker, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, VerifyBlock, VideoBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, avgFooter, badgeVariants, buttonVariants, cn, countFooter, dateRangePresets, editableTitleVariants, describedBy as fieldDescribedBy, fieldSpacing, filterChips, filterCount, formatUsPhone, inlineEmphasis, inquiryFormSchema, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, splitFieldNotes, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, sumFooter, switchVariants, testimonialInitials, themeShowcaseSections, toColumnFilters, toast, toggleFilter, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFieldNotes, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme, videoEmbedUrl };
11044
11516
 
11045
11517
  //# sourceMappingURL=index.mjs.map