@opensite/ui 0.9.8 → 1.0.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/registry.cjs CHANGED
@@ -58323,8 +58323,11 @@ var NavbarEnterpriseMega = ({
58323
58323
  /* @__PURE__ */ jsxRuntime.jsx(
58324
58324
  NavigationMenu,
58325
58325
  {
58326
- className: cn("hidden lg:flex", navigationMenuClassName),
58327
- viewport: false,
58326
+ className: cn(
58327
+ "hidden lg:flex [&>div:last-child]:left-1/2 [&>div:last-child]:-translate-x-1/2",
58328
+ navigationMenuClassName
58329
+ ),
58330
+ viewport: true,
58328
58331
  children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: menuLinks?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
58329
58332
  DesktopMenuItem2,
58330
58333
  {
@@ -58393,10 +58396,10 @@ var DesktopMenuItem2 = ({
58393
58396
  if (hasDropdown) {
58394
58397
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
58395
58398
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
58396
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-screen", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto max-w-7xl px-6 py-8", children: renderDropdownContent(
58399
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-6", children: renderDropdownContent(
58397
58400
  { ...item, layout: effectiveLayout },
58398
58401
  optixFlowConfig
58399
- ) }) }) })
58402
+ ) })
58400
58403
  ] }, `desktop-menu-item-${index}`);
58401
58404
  }
58402
58405
  return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -58466,70 +58469,64 @@ var SolutionsMenu = ({
58466
58469
  platformItems,
58467
58470
  featuredHeroCard,
58468
58471
  optixFlowConfig
58469
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 sm:grid-cols-2", children: [
58470
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx(
58472
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1100px] grid-cols-2 gap-4", children: [
58473
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
58471
58474
  Pressable,
58472
58475
  {
58473
58476
  href: featuredHeroCard.href,
58474
58477
  className: cn(
58475
- "group relative flex h-full overflow-hidden rounded-lg text-primary-foreground",
58478
+ "group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58476
58479
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58477
58480
  ),
58478
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col items-start gap-4 p-6 lg:flex-row lg:items-center lg:gap-6", children: [
58479
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-center", children: [
58480
- featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-3 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
58481
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58482
- featuredHeroCard.title,
58483
- /* @__PURE__ */ jsxRuntime.jsx(
58484
- DynamicIcon,
58485
- {
58486
- name: "lucide/arrow-right",
58487
- size: 18,
58488
- className: "transition-transform group-hover:translate-x-1"
58489
- }
58490
- )
58491
- ] }),
58492
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
58481
+ children: [
58482
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-between p-5", children: [
58483
+ featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-2 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
58484
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58485
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
58486
+ featuredHeroCard.title,
58487
+ /* @__PURE__ */ jsxRuntime.jsx(
58488
+ DynamicIcon,
58489
+ {
58490
+ name: "lucide/arrow-right",
58491
+ size: 16,
58492
+ className: "transition-transform group-hover:translate-x-1"
58493
+ }
58494
+ )
58495
+ ] }),
58496
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
58497
+ ] })
58493
58498
  ] }),
58494
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full shrink-0 overflow-hidden rounded lg:w-48 xl:w-56", children: /* @__PURE__ */ jsxRuntime.jsx(
58499
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
58495
58500
  img.Img,
58496
58501
  {
58497
58502
  src: featuredHeroCard.image,
58498
58503
  alt: featuredHeroCard.title,
58499
- className: "aspect-video w-full object-cover",
58504
+ className: "h-full w-full object-cover",
58500
58505
  optixFlowConfig
58501
58506
  }
58502
58507
  ) })
58503
- ] })
58508
+ ]
58504
58509
  }
58505
- ),
58506
- platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58507
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
58508
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
58510
+ ) }),
58511
+ platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-1", children: [
58512
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
58513
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
58509
58514
  NavigationMenuLink,
58510
58515
  {
58511
58516
  href: technology.href,
58512
- className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 hover:bg-muted",
58517
+ className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
58513
58518
  children: [
58514
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: technology.icon, size: 16 }),
58515
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title }),
58516
- /* @__PURE__ */ jsxRuntime.jsx(
58517
- DynamicIcon,
58518
- {
58519
- name: "lucide/arrow-right",
58520
- size: 16,
58521
- className: "transition-transform group-hover:translate-x-1 lg:hidden"
58522
- }
58523
- )
58519
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: technology.icon, size: 16, className: "shrink-0" }),
58520
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: technology.title })
58524
58521
  ]
58525
58522
  },
58526
58523
  technology.id
58527
58524
  )) })
58528
58525
  ] }),
58529
- solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-full mt-2 grid gap-4 md:grid-cols-2 lg:grid-cols-4", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs(
58526
+ solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-2 mt-2 grid grid-cols-4 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs(
58530
58527
  "div",
58531
58528
  {
58532
- className: "flex flex-col rounded-lg border border-border p-4",
58529
+ className: "col-span-1 flex flex-col rounded-lg border border-border p-4",
58533
58530
  children: [
58534
58531
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs(
58535
58532
  Pressable,
@@ -58543,8 +58540,8 @@ var SolutionsMenu = ({
58543
58540
  DynamicIcon,
58544
58541
  {
58545
58542
  name: "lucide/arrow-right",
58546
- size: 16,
58547
- className: "transition-transform group-hover:translate-x-1"
58543
+ size: 14,
58544
+ className: "shrink-0 transition-transform group-hover:translate-x-1"
58548
58545
  }
58549
58546
  )
58550
58547
  ] }),
@@ -58552,22 +58549,14 @@ var SolutionsMenu = ({
58552
58549
  ]
58553
58550
  }
58554
58551
  ) }),
58555
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-4 grid gap-3", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
58552
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-3 grid gap-2", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
58556
58553
  NavigationMenuLink,
58557
58554
  {
58558
58555
  href: subpage.href,
58559
- className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
58556
+ className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
58560
58557
  children: [
58561
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size: 16 }),
58562
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title }),
58563
- /* @__PURE__ */ jsxRuntime.jsx(
58564
- DynamicIcon,
58565
- {
58566
- name: "lucide/arrow-right",
58567
- size: 16,
58568
- className: "transition-transform group-hover:translate-x-1 lg:hidden"
58569
- }
58570
- )
58558
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size: 14, className: "shrink-0" }),
58559
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: subpage.title })
58571
58560
  ]
58572
58561
  },
58573
58562
  subpage.id
@@ -58581,13 +58570,13 @@ var ProductsMenu = ({
58581
58570
  productCategories,
58582
58571
  featuredHeroCard,
58583
58572
  optixFlowConfig
58584
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-8 lg:flex-row", children: [
58585
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:w-80", children: /* @__PURE__ */ jsxRuntime.jsxs(
58573
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1000px] grid-cols-[320px_1fr] gap-6", children: [
58574
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
58586
58575
  Pressable,
58587
58576
  {
58588
58577
  href: featuredHeroCard.href,
58589
58578
  className: cn(
58590
- "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58579
+ "group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58591
58580
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58592
58581
  ),
58593
58582
  children: [
@@ -58600,14 +58589,14 @@ var ProductsMenu = ({
58600
58589
  optixFlowConfig
58601
58590
  }
58602
58591
  ) }),
58603
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
58604
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58592
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5", children: [
58593
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
58605
58594
  featuredHeroCard.title,
58606
58595
  /* @__PURE__ */ jsxRuntime.jsx(
58607
58596
  DynamicIcon,
58608
58597
  {
58609
58598
  name: "lucide/arrow-right",
58610
- size: 18,
58599
+ size: 16,
58611
58600
  className: "transition-transform group-hover:translate-x-1"
58612
58601
  }
58613
58602
  )
@@ -58617,15 +58606,15 @@ var ProductsMenu = ({
58617
58606
  ]
58618
58607
  }
58619
58608
  ) }),
58620
- productCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-1 flex-col gap-8", children: productCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
58609
+ productCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1 flex flex-col gap-6", children: productCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
58621
58610
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
58622
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsxs(
58611
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid grid-cols-3 gap-3", children: category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsxs(
58623
58612
  NavigationMenuLink,
58624
58613
  {
58625
58614
  href: product.href,
58626
- className: "group -ml-2 flex items-center gap-4 rounded-lg p-2 text-left hover:bg-muted",
58615
+ className: "group col-span-1 flex items-center gap-3 rounded-lg p-3 text-left hover:bg-muted",
58627
58616
  children: [
58628
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex size-14 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsxRuntime.jsx(
58617
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex size-12 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsxRuntime.jsx(
58629
58618
  img.Img,
58630
58619
  {
58631
58620
  src: product.image,
@@ -58634,18 +58623,10 @@ var ProductsMenu = ({
58634
58623
  optixFlowConfig
58635
58624
  }
58636
58625
  ) }),
58637
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
58626
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
58638
58627
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: product.title }),
58639
58628
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: product.description })
58640
- ] }),
58641
- /* @__PURE__ */ jsxRuntime.jsx(
58642
- DynamicIcon,
58643
- {
58644
- name: "lucide/arrow-right",
58645
- size: 16,
58646
- className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
58647
- }
58648
- )
58629
+ ] })
58649
58630
  ]
58650
58631
  },
58651
58632
  product.id
@@ -58657,14 +58638,14 @@ var GlobalMenu = ({
58657
58638
  regions,
58658
58639
  featuredHeroCard,
58659
58640
  optixFlowConfig
58660
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58661
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 lg:flex-row", children: [
58662
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:w-72", children: /* @__PURE__ */ jsxRuntime.jsxs(
58641
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-[1000px]", children: [
58642
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[280px_1fr] gap-6", children: [
58643
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
58663
58644
  Pressable,
58664
58645
  {
58665
58646
  href: featuredHeroCard.href,
58666
58647
  className: cn(
58667
- "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58648
+ "group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58668
58649
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58669
58650
  ),
58670
58651
  children: [
@@ -58677,14 +58658,14 @@ var GlobalMenu = ({
58677
58658
  optixFlowConfig
58678
58659
  }
58679
58660
  ) }),
58680
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
58681
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58661
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5", children: [
58662
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
58682
58663
  featuredHeroCard.title,
58683
58664
  /* @__PURE__ */ jsxRuntime.jsx(
58684
58665
  DynamicIcon,
58685
58666
  {
58686
58667
  name: "lucide/arrow-right",
58687
- size: 18,
58668
+ size: 16,
58688
58669
  className: "transition-transform group-hover:translate-x-1"
58689
58670
  }
58690
58671
  )
@@ -58694,57 +58675,41 @@ var GlobalMenu = ({
58694
58675
  ]
58695
58676
  }
58696
58677
  ) }),
58697
- featureCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-1 flex-col gap-8", children: featureCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
58678
+ featureCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1 flex flex-col gap-6", children: featureCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
58698
58679
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
58699
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.features.map((feature) => /* @__PURE__ */ jsxRuntime.jsxs(
58680
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid grid-cols-3 gap-3", children: category.features.map((feature) => /* @__PURE__ */ jsxRuntime.jsxs(
58700
58681
  NavigationMenuLink,
58701
58682
  {
58702
58683
  href: feature.href,
58703
- className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
58684
+ className: "group col-span-1 flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
58704
58685
  children: [
58705
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-9 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: feature.icon, size: 20 }) }),
58706
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
58686
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-8 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: feature.icon, size: 18 }) }),
58687
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
58707
58688
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: feature.title }),
58708
58689
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: feature.description })
58709
- ] }),
58710
- /* @__PURE__ */ jsxRuntime.jsx(
58711
- DynamicIcon,
58712
- {
58713
- name: "lucide/arrow-right",
58714
- size: 16,
58715
- className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
58716
- }
58717
- )
58690
+ ] })
58718
58691
  ]
58719
58692
  },
58720
58693
  feature.id
58721
58694
  )) })
58722
58695
  ] }, category.title)) })
58723
58696
  ] }),
58724
- regions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8", children: [
58725
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
58726
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
58697
+ regions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
58698
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
58699
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-4 gap-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
58727
58700
  "div",
58728
58701
  {
58729
- className: "flex flex-col gap-4",
58702
+ className: "col-span-1 flex flex-col gap-3",
58730
58703
  children: [
58731
58704
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left text-xs font-medium text-muted-foreground", children: region.title }),
58732
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-2", children: region.locations.map((location) => /* @__PURE__ */ jsxRuntime.jsxs(
58705
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-1.5", children: region.locations.map((location) => /* @__PURE__ */ jsxRuntime.jsxs(
58733
58706
  NavigationMenuLink,
58734
58707
  {
58735
58708
  href: location.href,
58736
- className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
58709
+ className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
58737
58710
  children: [
58738
58711
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
58739
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-w-0 text-sm font-medium", children: location.title }),
58740
- /* @__PURE__ */ jsxRuntime.jsx(
58741
- DynamicIcon,
58742
- {
58743
- name: "lucide/arrow-right",
58744
- size: 16,
58745
- className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
58746
- }
58747
- )
58712
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: location.title })
58748
58713
  ]
58749
58714
  },
58750
58715
  location.title
@@ -58759,13 +58724,13 @@ var PartnersMenu = ({
58759
58724
  partnerCards,
58760
58725
  featuredHeroCard,
58761
58726
  optixFlowConfig
58762
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 md:grid-cols-2 lg:grid-cols-[2fr_1fr]", children: [
58763
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
58727
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[900px] grid-cols-[2fr_1fr] gap-6", children: [
58728
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
58764
58729
  Pressable,
58765
58730
  {
58766
58731
  href: featuredHeroCard.href,
58767
58732
  className: cn(
58768
- "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58733
+ "group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58769
58734
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58770
58735
  ),
58771
58736
  children: [
@@ -58781,14 +58746,14 @@ var PartnersMenu = ({
58781
58746
  optixFlowConfig
58782
58747
  }
58783
58748
  ) }),
58784
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
58785
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58749
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5", children: [
58750
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
58786
58751
  featuredHeroCard.title,
58787
58752
  /* @__PURE__ */ jsxRuntime.jsx(
58788
58753
  DynamicIcon,
58789
58754
  {
58790
58755
  name: "lucide/arrow-right",
58791
- size: 18,
58756
+ size: 16,
58792
58757
  className: "transition-transform group-hover:translate-x-1"
58793
58758
  }
58794
58759
  )
@@ -58798,14 +58763,14 @@ var PartnersMenu = ({
58798
58763
  ]
58799
58764
  }
58800
58765
  ) }),
58801
- partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4", children: partnerCards.map((card) => /* @__PURE__ */ jsxRuntime.jsxs(
58766
+ partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1 flex flex-col gap-3", children: partnerCards.map((card) => /* @__PURE__ */ jsxRuntime.jsxs(
58802
58767
  NavigationMenuLink,
58803
58768
  {
58804
58769
  href: card.href,
58805
- className: "group flex items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
58770
+ className: "group flex items-start gap-3 rounded-lg border border-border p-4 hover:bg-muted",
58806
58771
  children: [
58807
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 32, className: "shrink-0" }),
58808
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
58772
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 28, className: "shrink-0" }),
58773
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
58809
58774
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-bold", children: card.title }),
58810
58775
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: card.description })
58811
58776
  ] })
@@ -58818,13 +58783,13 @@ var ResourcesMenu = ({
58818
58783
  resourceItems,
58819
58784
  topicGroups,
58820
58785
  featuredHeroCard
58821
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 lg:grid-cols-[280px_1fr_200px]", children: [
58822
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
58786
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1000px] grid-cols-[280px_1fr_220px] gap-6", children: [
58787
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
58823
58788
  Pressable,
58824
58789
  {
58825
58790
  href: featuredHeroCard.href,
58826
58791
  className: cn(
58827
- "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58792
+ "group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58828
58793
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58829
58794
  ),
58830
58795
  children: [
@@ -58836,14 +58801,14 @@ var ResourcesMenu = ({
58836
58801
  className: "h-full w-full object-cover invert"
58837
58802
  }
58838
58803
  ) }),
58839
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
58840
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58804
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5", children: [
58805
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
58841
58806
  featuredHeroCard.title,
58842
58807
  /* @__PURE__ */ jsxRuntime.jsx(
58843
58808
  DynamicIcon,
58844
58809
  {
58845
58810
  name: "lucide/arrow-right",
58846
- size: 18,
58811
+ size: 16,
58847
58812
  className: "transition-transform group-hover:translate-x-1"
58848
58813
  }
58849
58814
  )
@@ -58853,23 +58818,23 @@ var ResourcesMenu = ({
58853
58818
  ]
58854
58819
  }
58855
58820
  ) }),
58856
- resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58857
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
58858
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 md:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
58821
+ resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-1", children: [
58822
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
58823
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3", children: resourceItems.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
58859
58824
  NavigationMenuLink,
58860
58825
  {
58861
58826
  href: resource.href,
58862
- className: "group -ml-2 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
58827
+ className: "group col-span-1 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
58863
58828
  children: [
58864
58829
  /* @__PURE__ */ jsxRuntime.jsx(
58865
58830
  DynamicIcon,
58866
58831
  {
58867
58832
  name: resource.icon,
58868
- size: 20,
58833
+ size: 18,
58869
58834
  className: "mt-0.5 shrink-0"
58870
58835
  }
58871
58836
  ),
58872
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
58837
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
58873
58838
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: resource.title }),
58874
58839
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: resource.description })
58875
58840
  ] })
@@ -58878,16 +58843,16 @@ var ResourcesMenu = ({
58878
58843
  resource.id
58879
58844
  )) })
58880
58845
  ] }),
58881
- topicGroups.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-6 last:mb-0", children: [
58846
+ topicGroups.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-5 last:mb-0", children: [
58882
58847
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
58883
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: group.topics.map((topic) => /* @__PURE__ */ jsxRuntime.jsxs(
58848
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1.5", children: group.topics.map((topic) => /* @__PURE__ */ jsxRuntime.jsxs(
58884
58849
  NavigationMenuLink,
58885
58850
  {
58886
58851
  href: topic.href,
58887
- className: "group -ml-2 flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
58852
+ className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
58888
58853
  children: [
58889
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 16, className: "shrink-0" }),
58890
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })
58854
+ /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 14, className: "shrink-0" }),
58855
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 text-sm font-medium", children: topic.title })
58891
58856
  ]
58892
58857
  },
58893
58858
  topic.id
@@ -59966,32 +59931,6 @@ var NavbarImagePreview = ({
59966
59931
  const handleMobileMenu = () => {
59967
59932
  setOpen(!open);
59968
59933
  };
59969
- const renderLogo = React52.useMemo(() => {
59970
- if (logoSlot) return logoSlot;
59971
- if (!logo) return null;
59972
- return /* @__PURE__ */ jsxRuntime.jsxs(
59973
- Pressable,
59974
- {
59975
- href: logo.url || "/",
59976
- className: cn(
59977
- "flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter",
59978
- logoClassName
59979
- ),
59980
- children: [
59981
- logo.src && /* @__PURE__ */ jsxRuntime.jsx(
59982
- img.Img,
59983
- {
59984
- src: logo.src,
59985
- alt: logo.alt || "Logo",
59986
- className: cn("inline-block size-8", logo.className),
59987
- optixFlowConfig
59988
- }
59989
- ),
59990
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
59991
- ]
59992
- }
59993
- );
59994
- }, [logoSlot, logo, logoClassName, optixFlowConfig]);
59995
59934
  const renderNavigation = React52.useMemo(() => {
59996
59935
  if (navigationSlot) return navigationSlot;
59997
59936
  if (!navigation || navigation.length === 0) return null;
@@ -60069,7 +60008,15 @@ var NavbarImagePreview = ({
60069
60008
  navClassName
60070
60009
  ),
60071
60010
  children: [
60072
- renderLogo,
60011
+ /* @__PURE__ */ jsxRuntime.jsx(
60012
+ NavbarLogo,
60013
+ {
60014
+ logo,
60015
+ logoSlot,
60016
+ logoClassName,
60017
+ optixFlowConfig
60018
+ }
60019
+ ),
60073
60020
  /* @__PURE__ */ jsxRuntime.jsx(
60074
60021
  NavigationMenu,
60075
60022
  {
@@ -60744,7 +60691,7 @@ var NavbarAnimatedPreview = ({
60744
60691
  spacingOverride
60745
60692
  } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
60746
60693
  const navWrapperClasses = cn(
60747
- "h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
60694
+ "h-full max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
60748
60695
  navigationMenuClassName
60749
60696
  );
60750
60697
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -61236,32 +61183,6 @@ var NavbarMultiColumnGroups = ({
61236
61183
  const handleMobileMenu = () => {
61237
61184
  setOpen(!open);
61238
61185
  };
61239
- const renderLogo = React52.useMemo(() => {
61240
- if (logoSlot) return logoSlot;
61241
- if (!logo) return null;
61242
- return /* @__PURE__ */ jsxRuntime.jsxs(
61243
- Pressable,
61244
- {
61245
- href: logo.url || "/",
61246
- className: cn(
61247
- "flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter",
61248
- logoClassName
61249
- ),
61250
- children: [
61251
- logo.src && /* @__PURE__ */ jsxRuntime.jsx(
61252
- img.Img,
61253
- {
61254
- src: logo.src,
61255
- alt: logo.alt || "Logo",
61256
- className: cn("inline-block size-6", logo.className),
61257
- optixFlowConfig
61258
- }
61259
- ),
61260
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
61261
- ]
61262
- }
61263
- );
61264
- }, [logoSlot, logo, logoClassName, optixFlowConfig]);
61265
61186
  const renderNavigation = React52.useMemo(() => {
61266
61187
  if (navigationSlot) return navigationSlot;
61267
61188
  if (!navigation || navigation.length === 0) return null;
@@ -61331,7 +61252,15 @@ var NavbarMultiColumnGroups = ({
61331
61252
  ),
61332
61253
  children: [
61333
61254
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-8", children: [
61334
- renderLogo,
61255
+ /* @__PURE__ */ jsxRuntime.jsx(
61256
+ NavbarLogo,
61257
+ {
61258
+ logo,
61259
+ logoSlot,
61260
+ logoClassName,
61261
+ optixFlowConfig
61262
+ }
61263
+ ),
61335
61264
  /* @__PURE__ */ jsxRuntime.jsx(
61336
61265
  NavigationMenu,
61337
61266
  {
@@ -61553,29 +61482,6 @@ var NavbarSidebarMobile = ({
61553
61482
  optixFlowConfig
61554
61483
  }) => {
61555
61484
  const [isOpen, setIsOpen] = React52.useState(false);
61556
- const renderLogo = () => {
61557
- if (logoSlot) return logoSlot;
61558
- if (!logo) return null;
61559
- return /* @__PURE__ */ jsxRuntime.jsxs(
61560
- Pressable,
61561
- {
61562
- href: logo.url || "/",
61563
- className: cn("flex items-center gap-2", logoClassName),
61564
- children: [
61565
- logo.src && /* @__PURE__ */ jsxRuntime.jsx(
61566
- img.Img,
61567
- {
61568
- src: logo.src,
61569
- className: cn("h-8", logo.className),
61570
- alt: logo.alt || "Logo",
61571
- optixFlowConfig
61572
- }
61573
- ),
61574
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg font-semibold", children: logo.title }) : logo.title)
61575
- ]
61576
- }
61577
- );
61578
- };
61579
61485
  const renderAuthActions = () => {
61580
61486
  if (authActionsSlot) return authActionsSlot;
61581
61487
  if (!authActions || authActions.length === 0) return null;
@@ -61642,7 +61548,15 @@ var NavbarSidebarMobile = ({
61642
61548
  ),
61643
61549
  children: [
61644
61550
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-8", children: [
61645
- renderLogo(),
61551
+ /* @__PURE__ */ jsxRuntime.jsx(
61552
+ NavbarLogo,
61553
+ {
61554
+ logo,
61555
+ logoSlot,
61556
+ logoClassName,
61557
+ optixFlowConfig
61558
+ }
61559
+ ),
61646
61560
  /* @__PURE__ */ jsxRuntime.jsx(
61647
61561
  NavigationMenu,
61648
61562
  {
@@ -61710,7 +61624,15 @@ var NavbarSidebarMobile = ({
61710
61624
  /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { side: "left", className: "w-[300px] sm:w-[350px]", children: [
61711
61625
  /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
61712
61626
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col", children: [
61713
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-between border-b pb-4", children: renderLogo() }),
61627
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-between border-b pb-4", children: /* @__PURE__ */ jsxRuntime.jsx(
61628
+ NavbarLogo,
61629
+ {
61630
+ logo,
61631
+ logoSlot,
61632
+ logoClassName,
61633
+ optixFlowConfig
61634
+ }
61635
+ ) }),
61714
61636
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto py-4", children: /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuSlot ? menuSlot : renderMenu()?.map(
61715
61637
  (item, index) => item.items ? /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: `item-${index}`, children: [
61716
61638
  /* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "text-base hover:no-underline", children: item.title }),
@@ -61809,42 +61731,6 @@ var NavbarTransparentOverlay = ({
61809
61731
  };
61810
61732
  }, [isOpen]);
61811
61733
  const toggleMenu = () => setIsOpen(!isOpen);
61812
- const renderLogo = React52.useMemo(() => {
61813
- if (logoSlot) return logoSlot;
61814
- if (!logo) return null;
61815
- return /* @__PURE__ */ jsxRuntime.jsxs(
61816
- Pressable,
61817
- {
61818
- href: logo.url || "/",
61819
- className: cn("z-50 flex items-center gap-2", logoClassName),
61820
- children: [
61821
- logo.src && /* @__PURE__ */ jsxRuntime.jsx(
61822
- img.Img,
61823
- {
61824
- src: logo.src,
61825
- alt: logo.alt || "Logo",
61826
- className: cn(
61827
- "h-8 transition-all duration-300",
61828
- !isScrolled && !isOpen && "brightness-0 invert",
61829
- logo.className
61830
- ),
61831
- optixFlowConfig
61832
- }
61833
- ),
61834
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
61835
- "span",
61836
- {
61837
- className: cn(
61838
- "text-lg font-semibold transition-colors duration-300",
61839
- !isScrolled && !isOpen ? "text-background" : ""
61840
- ),
61841
- children: logo.title
61842
- }
61843
- ) : logo.title)
61844
- ]
61845
- }
61846
- );
61847
- }, [logoSlot, logo, logoClassName, isScrolled, isOpen, optixFlowConfig]);
61848
61734
  const renderNavigation = React52.useMemo(() => {
61849
61735
  if (navigationSlot) return navigationSlot;
61850
61736
  if (!navItems || navItems.length === 0) return null;
@@ -61958,7 +61844,19 @@ var NavbarTransparentOverlay = ({
61958
61844
  navClassName
61959
61845
  ),
61960
61846
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-16 items-center justify-between", children: [
61961
- renderLogo,
61847
+ /* @__PURE__ */ jsxRuntime.jsx(
61848
+ NavbarLogo,
61849
+ {
61850
+ logo,
61851
+ logoSlot,
61852
+ logoClassName: cn(
61853
+ "z-50",
61854
+ !isScrolled && !isOpen && "[&_img]:brightness-0 [&_img]:invert [&_span]:text-background",
61855
+ logoClassName
61856
+ ),
61857
+ optixFlowConfig
61858
+ }
61859
+ ),
61962
61860
  /* @__PURE__ */ jsxRuntime.jsx(
61963
61861
  NavigationMenu,
61964
61862
  {
@@ -62429,42 +62327,6 @@ var NavbarStickyCompact = ({
62429
62327
  window.addEventListener("scroll", handleScroll);
62430
62328
  return () => window.removeEventListener("scroll", handleScroll);
62431
62329
  }, []);
62432
- const renderLogo = React52.useMemo(() => {
62433
- if (logoSlot) return logoSlot;
62434
- if (!logo) return null;
62435
- return /* @__PURE__ */ jsxRuntime.jsxs(
62436
- Pressable,
62437
- {
62438
- href: logo.url || "/",
62439
- className: cn("flex items-center gap-2", logoClassName),
62440
- children: [
62441
- logo.src && /* @__PURE__ */ jsxRuntime.jsx(
62442
- img.Img,
62443
- {
62444
- src: logo.src,
62445
- className: cn(
62446
- "transition-all duration-300",
62447
- isScrolled ? "h-6" : "h-8",
62448
- logo.className
62449
- ),
62450
- alt: logo.alt || "Logo",
62451
- optixFlowConfig
62452
- }
62453
- ),
62454
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
62455
- "span",
62456
- {
62457
- className: cn(
62458
- "font-semibold transition-all duration-300",
62459
- isScrolled ? "text-base" : "text-lg"
62460
- ),
62461
- children: logo.title
62462
- }
62463
- ) : logo.title)
62464
- ]
62465
- }
62466
- );
62467
- }, [logoSlot, logo, logoClassName, isScrolled, optixFlowConfig]);
62468
62330
  const renderAuthActions = React52.useMemo(() => {
62469
62331
  if (authActionsSlot) return authActionsSlot;
62470
62332
  if (!authActions || authActions.length === 0) return null;
@@ -62598,7 +62460,19 @@ var NavbarStickyCompact = ({
62598
62460
  navClassName
62599
62461
  ),
62600
62462
  children: [
62601
- renderLogo,
62463
+ /* @__PURE__ */ jsxRuntime.jsx(
62464
+ NavbarLogo,
62465
+ {
62466
+ logo,
62467
+ logoSlot,
62468
+ logoClassName: cn(
62469
+ isScrolled ? "[&_img]:h-6 [&_span]:text-base" : "[&_img]:h-8 [&_span]:text-lg",
62470
+ "[&_img]:transition-all [&_img]:duration-300 [&_span]:transition-all [&_span]:duration-300",
62471
+ logoClassName
62472
+ ),
62473
+ optixFlowConfig
62474
+ }
62475
+ ),
62602
62476
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: "hidden lg:flex", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu }) }),
62603
62477
  /* @__PURE__ */ jsxRuntime.jsx(
62604
62478
  "div",
@@ -62678,29 +62552,6 @@ var NavbarSearchFocused = ({
62678
62552
  optixFlowConfig
62679
62553
  }) => {
62680
62554
  const [isOpen, setIsOpen] = React52.useState(false);
62681
- const renderLogo = React52.useMemo(() => {
62682
- if (logoSlot) return logoSlot;
62683
- if (!logo) return null;
62684
- return /* @__PURE__ */ jsxRuntime.jsxs(
62685
- Pressable,
62686
- {
62687
- href: logo.url || "/",
62688
- className: cn("flex shrink-0 items-center gap-2", logoClassName),
62689
- children: [
62690
- logo.src && /* @__PURE__ */ jsxRuntime.jsx(
62691
- img.Img,
62692
- {
62693
- src: logo.src,
62694
- alt: logo.alt || "Logo",
62695
- className: cn("h-8", logo.className),
62696
- optixFlowConfig
62697
- }
62698
- ),
62699
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden text-lg font-semibold sm:inline-block", children: logo.title }) : logo.title)
62700
- ]
62701
- }
62702
- );
62703
- }, [logoSlot, logo, logoClassName, optixFlowConfig]);
62704
62555
  const renderNavigation = (items) => {
62705
62556
  if (navigationSlot) return navigationSlot;
62706
62557
  if (!items || items.length === 0) return null;
@@ -62793,7 +62644,15 @@ var NavbarSearchFocused = ({
62793
62644
  navClassName
62794
62645
  ),
62795
62646
  children: [
62796
- renderLogo,
62647
+ /* @__PURE__ */ jsxRuntime.jsx(
62648
+ NavbarLogo,
62649
+ {
62650
+ logo,
62651
+ logoSlot,
62652
+ logoClassName,
62653
+ optixFlowConfig
62654
+ }
62655
+ ),
62797
62656
  /* @__PURE__ */ jsxRuntime.jsx(
62798
62657
  NavigationMenu,
62799
62658
  {
@@ -63170,29 +63029,6 @@ var NavbarSplitCta = ({
63170
63029
  }
63171
63030
  ] : []
63172
63031
  ] : []);
63173
- const renderLogo = React52.useMemo(() => {
63174
- if (logoSlot) return logoSlot;
63175
- if (!logo) return null;
63176
- return /* @__PURE__ */ jsxRuntime.jsxs(
63177
- Pressable,
63178
- {
63179
- href: logo.url || "/",
63180
- className: cn("flex items-center gap-2", logoClassName),
63181
- children: [
63182
- logo.src && /* @__PURE__ */ jsxRuntime.jsx(
63183
- img.Img,
63184
- {
63185
- src: logo.src,
63186
- className: cn("h-8", logo.className),
63187
- alt: logo.alt || "Logo",
63188
- optixFlowConfig
63189
- }
63190
- ),
63191
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg font-semibold", children: logo.title }) : logo.title)
63192
- ]
63193
- }
63194
- );
63195
- }, [logoSlot, logo, logoClassName, optixFlowConfig]);
63196
63032
  const renderAuthActions = React52.useMemo(() => {
63197
63033
  if (authActionsSlot) return authActionsSlot;
63198
63034
  if (!finalAuthActions || finalAuthActions.length === 0) return null;
@@ -63254,7 +63090,15 @@ var NavbarSplitCta = ({
63254
63090
  ),
63255
63091
  children: [
63256
63092
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-8", children: [
63257
- renderLogo,
63093
+ /* @__PURE__ */ jsxRuntime.jsx(
63094
+ NavbarLogo,
63095
+ {
63096
+ logo,
63097
+ logoSlot,
63098
+ logoClassName,
63099
+ optixFlowConfig
63100
+ }
63101
+ ),
63258
63102
  /* @__PURE__ */ jsxRuntime.jsx(
63259
63103
  NavigationMenu,
63260
63104
  {
@@ -63579,29 +63423,6 @@ var NavbarTabbedSections = ({
63579
63423
  optixFlowConfig
63580
63424
  }) => {
63581
63425
  const [isOpen, setIsOpen] = React52.useState(false);
63582
- const renderLogo = React52.useMemo(() => {
63583
- if (logoSlot) return logoSlot;
63584
- if (!logo) return null;
63585
- return /* @__PURE__ */ jsxRuntime.jsxs(
63586
- Pressable,
63587
- {
63588
- href: logo.url || "/",
63589
- className: cn("flex items-center gap-2", logoClassName),
63590
- children: [
63591
- logo.src && /* @__PURE__ */ jsxRuntime.jsx(
63592
- img.Img,
63593
- {
63594
- src: logo.src,
63595
- className: cn("h-8", logo.className),
63596
- alt: logo.alt || "Logo",
63597
- optixFlowConfig
63598
- }
63599
- ),
63600
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg font-semibold", children: logo.title }) : logo.title)
63601
- ]
63602
- }
63603
- );
63604
- }, [logoSlot, logo, logoClassName, optixFlowConfig]);
63605
63426
  const renderAuthActions = React52.useMemo(() => {
63606
63427
  if (authActionsSlot) return authActionsSlot;
63607
63428
  if (!authActions || authActions.length === 0) return null;
@@ -63763,7 +63584,15 @@ var NavbarTabbedSections = ({
63763
63584
  ),
63764
63585
  children: [
63765
63586
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-8", children: [
63766
- renderLogo,
63587
+ /* @__PURE__ */ jsxRuntime.jsx(
63588
+ NavbarLogo,
63589
+ {
63590
+ logo,
63591
+ logoSlot,
63592
+ logoClassName,
63593
+ optixFlowConfig
63594
+ }
63595
+ ),
63767
63596
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: "hidden lg:flex", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu }) })
63768
63597
  ] }),
63769
63598
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -63850,34 +63679,38 @@ var NavbarFullscreenMenu = ({
63850
63679
  const renderMenuItems = React52.useMemo(() => {
63851
63680
  if (menuSlot) return menuSlot;
63852
63681
  if (!menuItems || menuItems.length === 0) return null;
63853
- return menuItems.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
63682
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "group/menu-container", children: menuItems.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
63854
63683
  "div",
63855
63684
  {
63856
- className: "mb-5 animate-in slide-in-from-bottom-4 fade-in",
63685
+ className: "group/menu-item mb-5 animate-in slide-in-from-bottom-4 fade-in",
63857
63686
  style: {
63858
63687
  animationDelay: `${0.2 + index * 0.1}s`,
63859
63688
  animationFillMode: "both"
63860
63689
  },
63861
- children: /* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: item.href, className: "group relative inline-block", children: [
63862
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 text-4xl font-black text-foreground uppercase transition-all duration-300 md:text-6xl group-hover:opacity-80 group-hover:blur-[6px]", children: item.label }),
63863
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 h-1 w-0 bg-primary transition-all duration-300 group-hover:w-full" })
63690
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: item.href, className: "relative inline-block", children: [
63691
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 text-4xl font-black text-foreground uppercase transition-all duration-300 md:text-6xl group-hover/menu-container:opacity-50 group-hover/menu-container:blur-[4px] group-hover/menu-item:!opacity-100 group-hover/menu-item:!blur-none", children: item.label }),
63692
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 h-1 w-0 bg-primary transition-all duration-300 group-hover/menu-item:w-full" })
63864
63693
  ] })
63865
63694
  },
63866
63695
  item.label
63867
- ));
63696
+ )) });
63868
63697
  }, [menuSlot, menuItems]);
63869
63698
  const renderSocialLinks = React52.useMemo(() => {
63870
63699
  if (socialLinksSlot) return socialLinksSlot;
63871
63700
  if (!socialLinks || socialLinks.length === 0) return null;
63872
- return socialLinks.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(
63701
+ return socialLinks.map((link, index) => /* @__PURE__ */ jsxRuntime.jsxs(
63873
63702
  Pressable,
63874
63703
  {
63875
63704
  href: link.href,
63876
63705
  target: "_blank",
63877
63706
  rel: "noopener noreferrer",
63878
- className: "group flex items-center gap-2 font-mono text-sm tracking-wider text-muted-foreground transition-colors hover:text-foreground hover:translate-x-1",
63707
+ className: "group flex items-center gap-2 text-muted-foreground transition-all duration-300 hover:text-foreground hover:translate-x-1",
63879
63708
  style: { animationDelay: `${0.8 + index * 0.1}s` },
63880
- children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: link.label })
63709
+ "aria-label": typeof link.label === "string" ? link.label : void 0,
63710
+ children: [
63711
+ link.icon ?? (link.iconName && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.iconName, size: 20 })),
63712
+ !link.icon && !link.iconName && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-sm tracking-wider", children: link.label })
63713
+ ]
63881
63714
  },
63882
63715
  link.label
63883
63716
  ));
@@ -63891,18 +63724,18 @@ var NavbarFullscreenMenu = ({
63891
63724
  sectionContainerMaxWidth,
63892
63725
  spacingOverride
63893
63726
  } = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
63894
- return /* @__PURE__ */ jsxRuntime.jsx(
63895
- Section,
63896
- {
63897
- background,
63898
- spacing: spacingOverride ?? spacing,
63899
- className: sectionClasses,
63900
- pattern,
63901
- patternOpacity,
63902
- containerClassName: sectionContainerClassName,
63903
- containerMaxWidth: sectionContainerMaxWidth,
63904
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: innerContainerClasses, children: [
63905
- /* @__PURE__ */ jsxRuntime.jsxs(
63727
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
63728
+ /* @__PURE__ */ jsxRuntime.jsx(
63729
+ Section,
63730
+ {
63731
+ background,
63732
+ spacing: spacingOverride ?? spacing,
63733
+ className: sectionClasses,
63734
+ pattern,
63735
+ patternOpacity,
63736
+ containerClassName: sectionContainerClassName,
63737
+ containerMaxWidth: sectionContainerMaxWidth,
63738
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
63906
63739
  "nav",
63907
63740
  {
63908
63741
  className: cn(
@@ -63919,60 +63752,75 @@ var NavbarFullscreenMenu = ({
63919
63752
  optixFlowConfig
63920
63753
  }
63921
63754
  ) }),
63922
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "z-50", children: /* @__PURE__ */ jsxRuntime.jsxs(
63755
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "z-50", children: /* @__PURE__ */ jsxRuntime.jsx(
63923
63756
  "button",
63924
63757
  {
63925
63758
  onClick: toggleMenu,
63926
- className: "text-lg tracking-wider text-foreground transition-colors hover:text-muted-foreground",
63927
- children: [
63928
- /* @__PURE__ */ jsxRuntime.jsx(
63929
- "span",
63930
- {
63931
- className: `inline-block transition-all duration-200 ${isOpen ? "opacity-0 -translate-y-2" : "opacity-100 translate-y-0"}`,
63932
- style: { display: isOpen ? "none" : "inline-block" },
63933
- children: isOpen ? "" : "\u2630"
63934
- }
63935
- ),
63936
- /* @__PURE__ */ jsxRuntime.jsx(
63937
- "span",
63938
- {
63939
- className: `inline-block transition-all duration-200 ${isOpen ? "opacity-100 translate-y-0" : "opacity-0 translate-y-2"}`,
63940
- style: { display: isOpen ? "inline-block" : "none" },
63941
- children: isOpen ? "\u2715" : ""
63942
- }
63943
- )
63944
- ]
63759
+ className: "text-2xl tracking-wider text-foreground transition-colors hover:text-muted-foreground",
63760
+ "aria-label": isOpen ? "Close menu" : "Open menu",
63761
+ children: "\u2630"
63945
63762
  }
63946
63763
  ) })
63947
63764
  ]
63948
63765
  }
63766
+ ) }) }) })
63767
+ }
63768
+ ),
63769
+ isOpen && /* @__PURE__ */ jsxRuntime.jsxs(
63770
+ "div",
63771
+ {
63772
+ className: cn(
63773
+ "fixed inset-0 z-50 flex flex-col bg-background animate-in fade-in duration-300",
63774
+ overlayClassName
63949
63775
  ),
63950
- isOpen && /* @__PURE__ */ jsxRuntime.jsx(
63951
- "div",
63952
- {
63953
- className: cn(
63954
- "fixed inset-0 z-40 overflow-hidden bg-background animate-in fade-in duration-300",
63955
- overlayClassName
63776
+ children: [
63777
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between px-6 py-6", children: [
63778
+ /* @__PURE__ */ jsxRuntime.jsx(
63779
+ NavbarLogo,
63780
+ {
63781
+ logo,
63782
+ logoSlot,
63783
+ logoClassName,
63784
+ optixFlowConfig
63785
+ }
63956
63786
  ),
63957
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center px-6", children: [
63958
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-16 text-center", menuItemsClassName), children: renderMenuItems }),
63959
- /* @__PURE__ */ jsxRuntime.jsx(
63960
- "div",
63961
- {
63962
- className: cn(
63963
- "flex flex-col gap-8 sm:flex-row sm:gap-12 animate-in slide-in-from-bottom-4 fade-in",
63964
- socialLinksClassName
63965
- ),
63966
- style: { animationDelay: "0.7s", animationFillMode: "both" },
63967
- children: renderSocialLinks
63968
- }
63969
- )
63970
- ] })
63971
- }
63972
- )
63973
- ] }) }) })
63974
- }
63975
- );
63787
+ /* @__PURE__ */ jsxRuntime.jsx(
63788
+ "button",
63789
+ {
63790
+ onClick: toggleMenu,
63791
+ className: "text-2xl text-foreground transition-colors hover:text-muted-foreground",
63792
+ "aria-label": "Close menu",
63793
+ children: "\u2715"
63794
+ }
63795
+ )
63796
+ ] }),
63797
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col items-center justify-center overflow-y-auto px-6 py-8", children: [
63798
+ /* @__PURE__ */ jsxRuntime.jsx(
63799
+ "div",
63800
+ {
63801
+ className: cn(
63802
+ "mb-12 max-h-[60vh] overflow-y-auto text-center md:max-h-none",
63803
+ menuItemsClassName
63804
+ ),
63805
+ children: renderMenuItems
63806
+ }
63807
+ ),
63808
+ /* @__PURE__ */ jsxRuntime.jsx(
63809
+ "div",
63810
+ {
63811
+ className: cn(
63812
+ "flex flex-col items-center gap-6 sm:flex-row sm:gap-10 animate-in slide-in-from-bottom-4 fade-in",
63813
+ socialLinksClassName
63814
+ ),
63815
+ style: { animationDelay: "0.7s", animationFillMode: "both" },
63816
+ children: renderSocialLinks
63817
+ }
63818
+ )
63819
+ ] })
63820
+ ]
63821
+ }
63822
+ )
63823
+ ] });
63976
63824
  };
63977
63825
  function LogosInlineTagline({
63978
63826
  className,
@@ -78832,7 +78680,7 @@ function ListSearchableGrid({
78832
78680
  }
78833
78681
  );
78834
78682
  }
78835
- var { useMemo: useMemo443 } = React52__namespace;
78683
+ var { useMemo: useMemo442 } = React52__namespace;
78836
78684
  function OfferModalNewsletterDiscount({
78837
78685
  title,
78838
78686
  emailPlaceholder,
@@ -78900,7 +78748,7 @@ function OfferModalNewsletterDiscount({
78900
78748
  });
78901
78749
  const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
78902
78750
  const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
78903
- const renderCloseButton = useMemo443(() => {
78751
+ const renderCloseButton = useMemo442(() => {
78904
78752
  if (closeButtonSlot) return closeButtonSlot;
78905
78753
  if (!closeButtonText) return null;
78906
78754
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute end-1.5 top-1.5", children: /* @__PURE__ */ jsxRuntime.jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -78914,12 +78762,12 @@ function OfferModalNewsletterDiscount({
78914
78762
  }
78915
78763
  ) }) });
78916
78764
  }, [closeButtonSlot, closeButtonText, closeClassName]);
78917
- const renderHeader = useMemo443(() => {
78765
+ const renderHeader = useMemo442(() => {
78918
78766
  if (headerSlot) return headerSlot;
78919
78767
  if (!title) return null;
78920
78768
  return /* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { className: headerClassName, children: typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) : /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) });
78921
78769
  }, [headerSlot, title, headerClassName, titleClassName]);
78922
- const renderForm = useMemo443(() => {
78770
+ const renderForm = useMemo442(() => {
78923
78771
  if (formSlot) return formSlot;
78924
78772
  return /* @__PURE__ */ jsxRuntime.jsxs(
78925
78773
  forms.Form,
@@ -78981,7 +78829,7 @@ function OfferModalNewsletterDiscount({
78981
78829
  }
78982
78830
  ) });
78983
78831
  }
78984
- var { useMemo: useMemo444 } = React52__namespace;
78832
+ var { useMemo: useMemo443 } = React52__namespace;
78985
78833
  function OfferModalMembershipImage({
78986
78834
  overline,
78987
78835
  title,
@@ -79058,7 +78906,7 @@ function OfferModalMembershipImage({
79058
78906
  });
79059
78907
  const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
79060
78908
  const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
79061
- const renderImage = useMemo444(() => {
78909
+ const renderImage = useMemo443(() => {
79062
78910
  if (imageSlot) return imageSlot;
79063
78911
  if (!image) return null;
79064
78912
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("max-h-[290px] h-full overflow-hidden max-lg:hidden", imageWrapperClassName), children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -79071,7 +78919,7 @@ function OfferModalMembershipImage({
79071
78919
  }
79072
78920
  ) });
79073
78921
  }, [imageSlot, image, imageWrapperClassName, imageClassName, optixFlowConfig]);
79074
- const renderCloseButton = useMemo444(() => {
78922
+ const renderCloseButton = useMemo443(() => {
79075
78923
  if (closeButtonSlot) return closeButtonSlot;
79076
78924
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -end-px -top-px z-10", children: /* @__PURE__ */ jsxRuntime.jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
79077
78925
  Pressable,
@@ -79087,7 +78935,7 @@ function OfferModalMembershipImage({
79087
78935
  }
79088
78936
  ) }) });
79089
78937
  }, [closeButtonSlot, closeClassName]);
79090
- const renderForm = useMemo444(() => {
78938
+ const renderForm = useMemo443(() => {
79091
78939
  if (formSlot) return formSlot;
79092
78940
  return /* @__PURE__ */ jsxRuntime.jsxs(
79093
78941
  forms.Form,
@@ -79150,7 +78998,7 @@ function OfferModalMembershipImage({
79150
78998
  }
79151
78999
  );
79152
79000
  }, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
79153
- const renderFooter = useMemo444(() => {
79001
+ const renderFooter = useMemo443(() => {
79154
79002
  if (footerSlot) return footerSlot;
79155
79003
  if (!description) return null;
79156
79004
  return /* @__PURE__ */ jsxRuntime.jsx(DialogFooter, { className: footerClassName, children: /* @__PURE__ */ jsxRuntime.jsx(DialogDescription, { className: cn("text-muted-foreground text-center text-xs leading-relaxed", descriptionClassName), children: description }) });
@@ -79178,7 +79026,7 @@ function OfferModalMembershipImage({
79178
79026
  }
79179
79027
  ) });
79180
79028
  }
79181
- var { useMemo: useMemo445 } = React52__namespace;
79029
+ var { useMemo: useMemo444 } = React52__namespace;
79182
79030
  function OfferModalSheetNewsletter({
79183
79031
  logo,
79184
79032
  logoSlot,
@@ -79261,7 +79109,7 @@ function OfferModalSheetNewsletter({
79261
79109
  });
79262
79110
  const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
79263
79111
  const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
79264
- const renderLogo = useMemo445(() => {
79112
+ const renderLogo = useMemo444(() => {
79265
79113
  if (logoSlot) return logoSlot;
79266
79114
  if (!logo) return null;
79267
79115
  const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
@@ -79275,7 +79123,7 @@ function OfferModalSheetNewsletter({
79275
79123
  }
79276
79124
  );
79277
79125
  }, [logoSlot, logo, logoClassName, optixFlowConfig]);
79278
- const renderHeader = useMemo445(() => {
79126
+ const renderHeader = useMemo444(() => {
79279
79127
  if (headerSlot) return headerSlot;
79280
79128
  return /* @__PURE__ */ jsxRuntime.jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
79281
79129
  renderLogo,
@@ -79285,7 +79133,7 @@ function OfferModalSheetNewsletter({
79285
79133
  ] })
79286
79134
  ] });
79287
79135
  }, [headerSlot, renderLogo, headerClassName, title, titleClassName, description, descriptionClassName]);
79288
- const renderForm = useMemo445(() => {
79136
+ const renderForm = useMemo444(() => {
79289
79137
  if (formSlot) return formSlot;
79290
79138
  return /* @__PURE__ */ jsxRuntime.jsx(
79291
79139
  forms.Form,
@@ -79333,7 +79181,7 @@ function OfferModalSheetNewsletter({
79333
79181
  }
79334
79182
  );
79335
79183
  }, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
79336
- const renderLegal = useMemo445(() => {
79184
+ const renderLegal = useMemo444(() => {
79337
79185
  if (legalSlot) return legalSlot;
79338
79186
  if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
79339
79187
  return /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
@@ -79347,7 +79195,7 @@ function OfferModalSheetNewsletter({
79347
79195
  "."
79348
79196
  ] });
79349
79197
  }, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
79350
- const renderImage = useMemo445(() => {
79198
+ const renderImage = useMemo444(() => {
79351
79199
  if (imageSlot) return imageSlot;
79352
79200
  if (!image) return null;
79353
79201
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("h-1/2 basis-1/2", imageWrapperClassName), children: /* @__PURE__ */ jsxRuntime.jsx(AspectRatio, { ratio: 1, className: "overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(