@sikka/hawa 0.14.12-next → 0.14.13-next

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
@@ -4434,7 +4434,7 @@ var Select = ({ labelKey = "label", ...props }) => {
4434
4434
  children
4435
4435
  );
4436
4436
  };
4437
- const Menu = ({
4437
+ const Menu2 = ({
4438
4438
  cx,
4439
4439
  children,
4440
4440
  getStyles,
@@ -4493,7 +4493,7 @@ var Select = ({ labelKey = "label", ...props }) => {
4493
4493
  },
4494
4494
  unstyled: true,
4495
4495
  autoFocus: true,
4496
- components: props.hideIndicator ? { Option, Menu, IndicatorsContainer: () => null } : { Option, Menu },
4496
+ components: props.hideIndicator ? { Option, Menu: Menu2, IndicatorsContainer: () => null } : { Option, Menu: Menu2 },
4497
4497
  onChange: (newValue, action) => props.onChange(newValue, action),
4498
4498
  options: props.options,
4499
4499
  getOptionLabel: props.getOptionLabel,
@@ -4528,7 +4528,7 @@ var Select = ({ labelKey = "label", ...props }) => {
4528
4528
  placeholder: props.placeholder,
4529
4529
  onCreateOption: props.handleCreateOption,
4530
4530
  onChange: (newValue, action) => props.onChange(newValue, action),
4531
- components: { Control, Option, Menu },
4531
+ components: { Control, Option, Menu: Menu2 },
4532
4532
  onInputChange: (newValue, action) => props.onInputChange(newValue, action)
4533
4533
  }
4534
4534
  ),
@@ -5090,13 +5090,19 @@ var DataTable = ({
5090
5090
  /* @__PURE__ */ React40.createElement(
5091
5091
  "svg",
5092
5092
  {
5093
- "aria-label": "Chevron down Icon",
5093
+ "aria-label": "Chevron Down Icon",
5094
+ xmlns: "http://www.w3.org/2000/svg",
5095
+ width: "24",
5096
+ height: "24",
5097
+ viewBox: "0 0 24 24",
5098
+ fill: "none",
5094
5099
  stroke: "currentColor",
5095
- fill: "currentColor",
5096
- viewBox: "0 0 16 16",
5097
- className: "hawa-h-3 hawa-w-3 hawa-rotate-90 hawa-shrink-0 hawa-transition-transform hawa-duration-200 "
5100
+ "stroke-width": "2",
5101
+ "stroke-linecap": "round",
5102
+ "stroke-linejoin": "round",
5103
+ className: "hawa-icon hawa-rotate-90"
5098
5104
  },
5099
- /* @__PURE__ */ React40.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
5105
+ /* @__PURE__ */ React40.createElement("path", { d: "m9 18 6-6-6-6" })
5100
5106
  )
5101
5107
  )), /* @__PURE__ */ React40.createElement(
5102
5108
  DropdownMenuContent,
@@ -7442,8 +7448,211 @@ var AppTopbar = ({ ...props }) => {
7442
7448
  );
7443
7449
  };
7444
7450
 
7451
+ // components/layout/AppMenubar.tsx
7452
+ import * as React64 from "react";
7453
+ import * as MenubarPrimitive from "@radix-ui/react-menubar";
7454
+ var MenubarMenu = MenubarPrimitive.Menu;
7455
+ var MenubarGroup = MenubarPrimitive.Group;
7456
+ var MenubarPortal = MenubarPrimitive.Portal;
7457
+ var MenubarSub = MenubarPrimitive.Sub;
7458
+ var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
7459
+ var Menubar = React64.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7460
+ MenubarPrimitive.Root,
7461
+ {
7462
+ ref,
7463
+ className: cn(
7464
+ "hawa-flex hawa-h-10 hawa-items-center hawa-space-x-1 hawa-rounded-md hawa-border hawa-bg-background hawa-p-1",
7465
+ className
7466
+ ),
7467
+ ...props
7468
+ }
7469
+ ));
7470
+ Menubar.displayName = MenubarPrimitive.Root.displayName;
7471
+ var MenubarTrigger = React64.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7472
+ MenubarPrimitive.Trigger,
7473
+ {
7474
+ ref,
7475
+ className: cn(
7476
+ "hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-accent-foreground",
7477
+ className
7478
+ ),
7479
+ ...props
7480
+ }
7481
+ ));
7482
+ MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
7483
+ var MenubarSubTrigger = React64.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7484
+ MenubarPrimitive.SubTrigger,
7485
+ {
7486
+ ref,
7487
+ className: cn(
7488
+ "hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-accent-foreground",
7489
+ inset && "pl-8",
7490
+ className
7491
+ ),
7492
+ ...props
7493
+ },
7494
+ children,
7495
+ /* @__PURE__ */ React64.createElement(
7496
+ "svg",
7497
+ {
7498
+ "aria-label": "Chevron Right Icon",
7499
+ xmlns: "http://www.w3.org/2000/svg",
7500
+ width: "24",
7501
+ height: "24",
7502
+ viewBox: "0 0 24 24",
7503
+ fill: "none",
7504
+ stroke: "currentColor",
7505
+ "stroke-width": "2",
7506
+ "stroke-linecap": "round",
7507
+ "stroke-linejoin": "round",
7508
+ className: "hawa-ml-auto hawa-icon"
7509
+ },
7510
+ /* @__PURE__ */ React64.createElement("path", { d: "m9 18 6-6-6-6" })
7511
+ )
7512
+ ));
7513
+ MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
7514
+ var MenubarSubContent = React64.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7515
+ MenubarPrimitive.SubContent,
7516
+ {
7517
+ ref,
7518
+ className: cn(
7519
+ "hawa-z-50 hawa-min-w-[8rem] hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
7520
+ className
7521
+ ),
7522
+ ...props
7523
+ }
7524
+ ));
7525
+ MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
7526
+ var MenubarContent = React64.forwardRef(
7527
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React64.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React64.createElement(
7528
+ MenubarPrimitive.Content,
7529
+ {
7530
+ ref,
7531
+ align,
7532
+ alignOffset,
7533
+ sideOffset,
7534
+ className: cn(
7535
+ "hawa-z-50 hawa-min-w-[12rem] hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground hawa-shadow-md data-[state=open]:hawa-animate-in data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
7536
+ className
7537
+ ),
7538
+ ...props
7539
+ }
7540
+ ))
7541
+ );
7542
+ MenubarContent.displayName = MenubarPrimitive.Content.displayName;
7543
+ var MenubarItem = React64.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7544
+ MenubarPrimitive.Item,
7545
+ {
7546
+ ref,
7547
+ className: cn(
7548
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
7549
+ inset && "pl-8",
7550
+ className
7551
+ ),
7552
+ ...props
7553
+ }
7554
+ ));
7555
+ MenubarItem.displayName = MenubarPrimitive.Item.displayName;
7556
+ var MenubarCheckboxItem = React64.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7557
+ MenubarPrimitive.CheckboxItem,
7558
+ {
7559
+ ref,
7560
+ className: cn(
7561
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-py-1.5 hawa-pl-8 hawa-pr-2 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
7562
+ className
7563
+ ),
7564
+ checked,
7565
+ ...props
7566
+ },
7567
+ /* @__PURE__ */ React64.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React64.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React64.createElement(
7568
+ "svg",
7569
+ {
7570
+ xmlns: "http://www.w3.org/2000/svg",
7571
+ width: "24",
7572
+ height: "24",
7573
+ viewBox: "0 0 24 24",
7574
+ fill: "none",
7575
+ stroke: "currentColor",
7576
+ "stroke-width": "2",
7577
+ "stroke-linecap": "round",
7578
+ "stroke-linejoin": "round",
7579
+ className: "hawa-icon"
7580
+ },
7581
+ /* @__PURE__ */ React64.createElement("path", { d: "M20 6 9 17l-5-5" })
7582
+ ))),
7583
+ children
7584
+ ));
7585
+ MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
7586
+ var MenubarRadioItem = React64.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7587
+ MenubarPrimitive.RadioItem,
7588
+ {
7589
+ ref,
7590
+ className: cn(
7591
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-py-1.5 hawa-pl-8 hawa-pr-2 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
7592
+ className
7593
+ ),
7594
+ ...props
7595
+ },
7596
+ /* @__PURE__ */ React64.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React64.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React64.createElement(
7597
+ "svg",
7598
+ {
7599
+ xmlns: "http://www.w3.org/2000/svg",
7600
+ width: "24",
7601
+ height: "24",
7602
+ viewBox: "0 0 24 24",
7603
+ fill: "none",
7604
+ stroke: "currentColor",
7605
+ "stroke-width": "2",
7606
+ "stroke-linecap": "round",
7607
+ "stroke-linejoin": "round",
7608
+ className: "hawa-h-2 hawa-w-2 hawa-fill-current"
7609
+ },
7610
+ /* @__PURE__ */ React64.createElement("circle", { cx: "12", cy: "12", r: "10" })
7611
+ ))),
7612
+ children
7613
+ ));
7614
+ MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
7615
+ var MenubarLabel = React64.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7616
+ MenubarPrimitive.Label,
7617
+ {
7618
+ ref,
7619
+ className: cn(
7620
+ "hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-font-semibold",
7621
+ inset && "hawa-pl-8",
7622
+ className
7623
+ ),
7624
+ ...props
7625
+ }
7626
+ ));
7627
+ MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
7628
+ var MenubarSeparator = React64.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React64.createElement(
7629
+ MenubarPrimitive.Separator,
7630
+ {
7631
+ ref,
7632
+ className: cn("hawa--mx-1 hawa-my-1 hawa-h-px hawa-bg-muted", className),
7633
+ ...props
7634
+ }
7635
+ ));
7636
+ MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
7637
+ var MenubarShortcut = ({
7638
+ className,
7639
+ ...props
7640
+ }) => {
7641
+ return /* @__PURE__ */ React64.createElement(
7642
+ "span",
7643
+ {
7644
+ className: cn(
7645
+ "hawa-ml-auto hawa-text-xs hawa-tracking-widest hawa-text-muted-foreground",
7646
+ className
7647
+ ),
7648
+ ...props
7649
+ }
7650
+ );
7651
+ };
7652
+ MenubarShortcut.displayname = "MenubarShortcut";
7653
+
7445
7654
  // components/layout/DocsLayout.tsx
7446
- import React66, { useEffect as useEffect19, useRef as useRef10, useState as useState26 } from "react";
7655
+ import React67, { useEffect as useEffect19, useRef as useRef10, useState as useState26 } from "react";
7447
7656
 
7448
7657
  // components/hooks/useBreakpoint.ts
7449
7658
  import { useState as useState25, useEffect as useEffect18 } from "react";
@@ -7465,7 +7674,7 @@ var useBreakpoint = () => {
7465
7674
  };
7466
7675
 
7467
7676
  // components/layout/DocsSidebar.tsx
7468
- import React65 from "react";
7677
+ import React66 from "react";
7469
7678
  var DocsSidebar = ({ test, ...props }) => {
7470
7679
  const pages = [
7471
7680
  "Introduction",
@@ -7474,11 +7683,11 @@ var DocsSidebar = ({ test, ...props }) => {
7474
7683
  "API Reference",
7475
7684
  "FAQ"
7476
7685
  ];
7477
- const [currentPage, setCurrentPage] = React65.useState(pages[0]);
7686
+ const [currentPage, setCurrentPage] = React66.useState(pages[0]);
7478
7687
  const handlePageClick = (page) => {
7479
7688
  setCurrentPage(page);
7480
7689
  };
7481
- return /* @__PURE__ */ React65.createElement("div", { className: "hawa-flex hawa-flex-col hawa-overflow-x-clip" }, pages.map((page, index) => /* @__PURE__ */ React65.createElement(
7690
+ return /* @__PURE__ */ React66.createElement("div", { className: "hawa-flex hawa-flex-col hawa-overflow-x-clip" }, pages.map((page, index) => /* @__PURE__ */ React66.createElement(
7482
7691
  "a",
7483
7692
  {
7484
7693
  key: index,
@@ -7547,7 +7756,7 @@ var DocsLayout = ({
7547
7756
  };
7548
7757
  }, [keepOpen]);
7549
7758
  let drawerSizeCondition = drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize];
7550
- return /* @__PURE__ */ React66.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React66.createElement(
7759
+ return /* @__PURE__ */ React67.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React67.createElement(
7551
7760
  "div",
7552
7761
  {
7553
7762
  className: cn(
@@ -7555,7 +7764,7 @@ var DocsLayout = ({
7555
7764
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
7556
7765
  )
7557
7766
  },
7558
- size > 600 ? /* @__PURE__ */ React66.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React66.createElement(
7767
+ size > 600 ? /* @__PURE__ */ React67.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React67.createElement(
7559
7768
  "img",
7560
7769
  {
7561
7770
  className: cn(
@@ -7566,18 +7775,18 @@ var DocsLayout = ({
7566
7775
  }
7567
7776
  )) : (
7568
7777
  // Mobile Drawer Menu Button
7569
- /* @__PURE__ */ React66.createElement(
7778
+ /* @__PURE__ */ React67.createElement(
7570
7779
  "div",
7571
7780
  {
7572
7781
  dir: direction,
7573
7782
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
7574
7783
  },
7575
- /* @__PURE__ */ React66.createElement(Sheet, null, /* @__PURE__ */ React66.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React66.createElement(
7784
+ /* @__PURE__ */ React67.createElement(Sheet, null, /* @__PURE__ */ React67.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React67.createElement(
7576
7785
  "div",
7577
7786
  {
7578
7787
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
7579
7788
  },
7580
- /* @__PURE__ */ React66.createElement(
7789
+ /* @__PURE__ */ React67.createElement(
7581
7790
  "svg",
7582
7791
  {
7583
7792
  "aria-label": "Menu Icon",
@@ -7589,7 +7798,7 @@ var DocsLayout = ({
7589
7798
  height: "1.6em",
7590
7799
  width: "1.6em"
7591
7800
  },
7592
- /* @__PURE__ */ React66.createElement(
7801
+ /* @__PURE__ */ React67.createElement(
7593
7802
  "path",
7594
7803
  {
7595
7804
  fillRule: "evenodd",
@@ -7598,18 +7807,18 @@ var DocsLayout = ({
7598
7807
  }
7599
7808
  )
7600
7809
  )
7601
- )), /* @__PURE__ */ React66.createElement(
7810
+ )), /* @__PURE__ */ React67.createElement(
7602
7811
  SheetContent,
7603
7812
  {
7604
7813
  side: isRTL ? "right" : "left",
7605
7814
  className: "hawa-pt-10"
7606
7815
  },
7607
7816
  " ",
7608
- /* @__PURE__ */ React66.createElement(DocsSidebar, null)
7817
+ /* @__PURE__ */ React67.createElement(DocsSidebar, null)
7609
7818
  ))
7610
7819
  )
7611
7820
  ),
7612
- /* @__PURE__ */ React66.createElement(
7821
+ /* @__PURE__ */ React67.createElement(
7613
7822
  "div",
7614
7823
  {
7615
7824
  className: cn(
@@ -7617,9 +7826,9 @@ var DocsLayout = ({
7617
7826
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
7618
7827
  )
7619
7828
  },
7620
- /* @__PURE__ */ React66.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React66.createElement(Logos.github, { className: "hawa-icon" }))
7829
+ /* @__PURE__ */ React67.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React67.createElement(Logos.github, { className: "hawa-icon" }))
7621
7830
  )
7622
- ), /* @__PURE__ */ React66.createElement(
7831
+ ), /* @__PURE__ */ React67.createElement(
7623
7832
  "div",
7624
7833
  {
7625
7834
  className: cn(
@@ -7643,8 +7852,8 @@ var DocsLayout = ({
7643
7852
  },
7644
7853
  ref
7645
7854
  },
7646
- /* @__PURE__ */ React66.createElement(DocsSidebar, null)
7647
- ), /* @__PURE__ */ React66.createElement("div", null, "overlay sidebar"), /* @__PURE__ */ React66.createElement(
7855
+ /* @__PURE__ */ React67.createElement(DocsSidebar, null)
7856
+ ), /* @__PURE__ */ React67.createElement("div", null, "overlay sidebar"), /* @__PURE__ */ React67.createElement(
7648
7857
  "div",
7649
7858
  {
7650
7859
  className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all ",
@@ -7667,84 +7876,84 @@ var DocsLayout = ({
7667
7876
  };
7668
7877
 
7669
7878
  // components/blocks/auth/LoginForm.tsx
7670
- import React69, { useState as useState27 } from "react";
7879
+ import React70, { useState as useState27 } from "react";
7671
7880
  import { Controller, useForm } from "react-hook-form";
7672
7881
  import { zodResolver } from "@hookform/resolvers/zod";
7673
7882
  import { parsePhoneNumber } from "libphonenumber-js";
7674
7883
  import * as z from "zod";
7675
7884
 
7676
7885
  // components/blocks/auth/AuthButtons.tsx
7677
- import React67 from "react";
7886
+ import React68 from "react";
7678
7887
  var AuthButtons = (props) => {
7679
- return /* @__PURE__ */ React67.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React67.createElement(
7888
+ return /* @__PURE__ */ React68.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React68.createElement(
7680
7889
  Button,
7681
7890
  {
7682
7891
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7683
7892
  variant: "outline",
7684
7893
  onClick: props.handleGoogle
7685
7894
  },
7686
- /* @__PURE__ */ React67.createElement(Logos.google, { className: "hawa-icon" }),
7895
+ /* @__PURE__ */ React68.createElement(Logos.google, { className: "hawa-icon" }),
7687
7896
  props.texts?.continueWithGoogle ?? "Continue With Google"
7688
- ), props.viaGithub && /* @__PURE__ */ React67.createElement(
7897
+ ), props.viaGithub && /* @__PURE__ */ React68.createElement(
7689
7898
  Button,
7690
7899
  {
7691
7900
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7692
7901
  variant: "outline",
7693
7902
  onClick: props.handleGithub
7694
7903
  },
7695
- /* @__PURE__ */ React67.createElement(Logos.github, { className: "hawa-icon" }),
7904
+ /* @__PURE__ */ React68.createElement(Logos.github, { className: "hawa-icon" }),
7696
7905
  props.texts?.continueWithGithub ?? "Continue With Github"
7697
- ), props.viaTwitter && /* @__PURE__ */ React67.createElement(
7906
+ ), props.viaTwitter && /* @__PURE__ */ React68.createElement(
7698
7907
  Button,
7699
7908
  {
7700
7909
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7701
7910
  variant: "outline",
7702
7911
  onClick: props.handleTwitter
7703
7912
  },
7704
- /* @__PURE__ */ React67.createElement(Logos.twitter, { className: "hawa-icon" }),
7913
+ /* @__PURE__ */ React68.createElement(Logos.twitter, { className: "hawa-icon" }),
7705
7914
  props.texts?.continueWithTwitter ?? "Continue With Twitter"
7706
- ), props.viaApple && /* @__PURE__ */ React67.createElement(
7915
+ ), props.viaApple && /* @__PURE__ */ React68.createElement(
7707
7916
  Button,
7708
7917
  {
7709
7918
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7710
7919
  variant: "outline",
7711
7920
  onClick: props.handleApple
7712
7921
  },
7713
- /* @__PURE__ */ React67.createElement(Logos.apple, { className: "hawa-icon" }),
7922
+ /* @__PURE__ */ React68.createElement(Logos.apple, { className: "hawa-icon" }),
7714
7923
  props.texts?.continueWithApple ?? "Continue With Apple"
7715
- ), props.viaMicrosoft && /* @__PURE__ */ React67.createElement(
7924
+ ), props.viaMicrosoft && /* @__PURE__ */ React68.createElement(
7716
7925
  Button,
7717
7926
  {
7718
7927
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7719
7928
  variant: "outline",
7720
7929
  onClick: props.handleMicrosoft
7721
7930
  },
7722
- /* @__PURE__ */ React67.createElement(Logos.microsoft, { className: "hawa-icon" }),
7931
+ /* @__PURE__ */ React68.createElement(Logos.microsoft, { className: "hawa-icon" }),
7723
7932
  props.texts?.continueWithMicrosoft ?? "Continue With Microsoft"
7724
- ), props.viaEmail && /* @__PURE__ */ React67.createElement(
7933
+ ), props.viaEmail && /* @__PURE__ */ React68.createElement(
7725
7934
  Button,
7726
7935
  {
7727
7936
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7728
7937
  variant: "outline",
7729
7938
  onClick: props.handleEmail
7730
7939
  },
7731
- /* @__PURE__ */ React67.createElement(Logos.mail, { className: "hawa-icon" }),
7940
+ /* @__PURE__ */ React68.createElement(Logos.mail, { className: "hawa-icon" }),
7732
7941
  props.texts?.continueWithEmail ?? "Continue With Email"
7733
- ), props.viaPhone && /* @__PURE__ */ React67.createElement(
7942
+ ), props.viaPhone && /* @__PURE__ */ React68.createElement(
7734
7943
  Button,
7735
7944
  {
7736
7945
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7737
7946
  variant: "outline",
7738
7947
  onClick: props.handlePhone
7739
7948
  },
7740
- /* @__PURE__ */ React67.createElement(Logos.phone, { className: "hawa-icon" }),
7949
+ /* @__PURE__ */ React68.createElement(Logos.phone, { className: "hawa-icon" }),
7741
7950
  props.texts?.continueWithPhone ?? "Continue With Phone"
7742
7951
  ));
7743
7952
  };
7744
7953
 
7745
7954
  // components/icons/index.tsx
7746
- import React68 from "react";
7747
- var EyeIcon = (props) => /* @__PURE__ */ React68.createElement("div", { className: props.classNames }, /* @__PURE__ */ React68.createElement(
7955
+ import React69 from "react";
7956
+ var EyeIcon = (props) => /* @__PURE__ */ React69.createElement("div", { className: props.classNames }, /* @__PURE__ */ React69.createElement(
7748
7957
  "svg",
7749
7958
  {
7750
7959
  xmlns: "http://www.w3.org/2000/svg",
@@ -7757,10 +7966,10 @@ var EyeIcon = (props) => /* @__PURE__ */ React68.createElement("div", { classNam
7757
7966
  "stroke-linecap": "round",
7758
7967
  "stroke-linejoin": "round"
7759
7968
  },
7760
- /* @__PURE__ */ React68.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
7761
- /* @__PURE__ */ React68.createElement("circle", { cx: "12", cy: "12", r: "3" })
7969
+ /* @__PURE__ */ React69.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
7970
+ /* @__PURE__ */ React69.createElement("circle", { cx: "12", cy: "12", r: "3" })
7762
7971
  ));
7763
- var HiddenEyeIcon = (props) => /* @__PURE__ */ React68.createElement("div", { className: props.classNames }, /* @__PURE__ */ React68.createElement(
7972
+ var HiddenEyeIcon = (props) => /* @__PURE__ */ React69.createElement("div", { className: props.classNames }, /* @__PURE__ */ React69.createElement(
7764
7973
  "svg",
7765
7974
  {
7766
7975
  xmlns: "http://www.w3.org/2000/svg",
@@ -7773,10 +7982,10 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ React68.createElement("div", { cl
7773
7982
  "stroke-linecap": "round",
7774
7983
  "stroke-linejoin": "round"
7775
7984
  },
7776
- /* @__PURE__ */ React68.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
7777
- /* @__PURE__ */ React68.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
7778
- /* @__PURE__ */ React68.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
7779
- /* @__PURE__ */ React68.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
7985
+ /* @__PURE__ */ React69.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
7986
+ /* @__PURE__ */ React69.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
7987
+ /* @__PURE__ */ React69.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
7988
+ /* @__PURE__ */ React69.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
7780
7989
  ));
7781
7990
 
7782
7991
  // components/blocks/auth/LoginForm.tsx
@@ -7836,12 +8045,12 @@ var LoginForm = ({
7836
8045
  const renderFields = () => {
7837
8046
  switch (loginType) {
7838
8047
  case "email":
7839
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
8048
+ return /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(
7840
8049
  Controller,
7841
8050
  {
7842
8051
  control,
7843
8052
  name: "email",
7844
- render: ({ field }) => /* @__PURE__ */ React69.createElement(
8053
+ render: ({ field }) => /* @__PURE__ */ React70.createElement(
7845
8054
  Input,
7846
8055
  {
7847
8056
  width: "full",
@@ -7853,25 +8062,25 @@ var LoginForm = ({
7853
8062
  }
7854
8063
  )
7855
8064
  }
7856
- ), /* @__PURE__ */ React69.createElement("div", null, /* @__PURE__ */ React69.createElement(
8065
+ ), /* @__PURE__ */ React70.createElement("div", null, /* @__PURE__ */ React70.createElement(
7857
8066
  Controller,
7858
8067
  {
7859
8068
  control,
7860
8069
  name: "password",
7861
- render: ({ field }) => /* @__PURE__ */ React69.createElement(
8070
+ render: ({ field }) => /* @__PURE__ */ React70.createElement(
7862
8071
  Input,
7863
8072
  {
7864
8073
  width: "full",
7865
8074
  autoComplete: "current-password",
7866
8075
  type: passwordVisible ? "text" : "password",
7867
8076
  label: texts?.password?.label || "Password",
7868
- iconInside: /* @__PURE__ */ React69.createElement(
8077
+ iconInside: /* @__PURE__ */ React70.createElement(
7869
8078
  "div",
7870
8079
  {
7871
8080
  className: "hawa-cursor-pointer",
7872
8081
  onClick: () => setPasswordVisible(!passwordVisible)
7873
8082
  },
7874
- passwordVisible ? /* @__PURE__ */ React69.createElement(EyeIcon, { classNames: "hawa-text-gray-500" }) : /* @__PURE__ */ React69.createElement(HiddenEyeIcon, { classNames: "hawa-text-gray-500" })
8083
+ passwordVisible ? /* @__PURE__ */ React70.createElement(EyeIcon, { classNames: "hawa-text-gray-500" }) : /* @__PURE__ */ React70.createElement(HiddenEyeIcon, { classNames: "hawa-text-gray-500" })
7875
8084
  ),
7876
8085
  placeholder: texts?.password?.placeholder || "Enter your password",
7877
8086
  helperText: formState.errors.password?.message,
@@ -7879,7 +8088,7 @@ var LoginForm = ({
7879
8088
  }
7880
8089
  )
7881
8090
  }
7882
- ), !props.withoutResetPassword && /* @__PURE__ */ React69.createElement(
8091
+ ), !props.withoutResetPassword && /* @__PURE__ */ React70.createElement(
7883
8092
  "div",
7884
8093
  {
7885
8094
  onClick: props.onForgotPassword,
@@ -7888,13 +8097,13 @@ var LoginForm = ({
7888
8097
  texts?.forgotPassword || "Forgot Password?"
7889
8098
  )));
7890
8099
  case "username":
7891
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
8100
+ return /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(
7892
8101
  Controller,
7893
8102
  {
7894
8103
  control,
7895
8104
  name: "username",
7896
8105
  render: ({ field }) => {
7897
- return /* @__PURE__ */ React69.createElement(
8106
+ return /* @__PURE__ */ React70.createElement(
7898
8107
  Input,
7899
8108
  {
7900
8109
  width: "full",
@@ -7907,25 +8116,25 @@ var LoginForm = ({
7907
8116
  );
7908
8117
  }
7909
8118
  }
7910
- ), /* @__PURE__ */ React69.createElement("div", null, /* @__PURE__ */ React69.createElement(
8119
+ ), /* @__PURE__ */ React70.createElement("div", null, /* @__PURE__ */ React70.createElement(
7911
8120
  Controller,
7912
8121
  {
7913
8122
  control,
7914
8123
  name: "password",
7915
- render: ({ field }) => /* @__PURE__ */ React69.createElement(
8124
+ render: ({ field }) => /* @__PURE__ */ React70.createElement(
7916
8125
  Input,
7917
8126
  {
7918
8127
  width: "full",
7919
8128
  autoComplete: "current-password",
7920
8129
  type: passwordVisible ? "text" : "password",
7921
8130
  label: texts?.password?.label,
7922
- iconInside: /* @__PURE__ */ React69.createElement(
8131
+ iconInside: /* @__PURE__ */ React70.createElement(
7923
8132
  "div",
7924
8133
  {
7925
8134
  className: "hawa-cursor-pointer",
7926
8135
  onClick: () => setPasswordVisible(!passwordVisible)
7927
8136
  },
7928
- passwordVisible ? /* @__PURE__ */ React69.createElement(EyeIcon, { classNames: "hawa-text-gray-500" }) : /* @__PURE__ */ React69.createElement(HiddenEyeIcon, { classNames: "hawa-text-gray-500" })
8137
+ passwordVisible ? /* @__PURE__ */ React70.createElement(EyeIcon, { classNames: "hawa-text-gray-500" }) : /* @__PURE__ */ React70.createElement(HiddenEyeIcon, { classNames: "hawa-text-gray-500" })
7929
8138
  ),
7930
8139
  placeholder: texts?.password?.placeholder || "Enter your password",
7931
8140
  helperText: formState.errors.password?.message,
@@ -7933,7 +8142,7 @@ var LoginForm = ({
7933
8142
  }
7934
8143
  )
7935
8144
  }
7936
- ), !props.withoutResetPassword && /* @__PURE__ */ React69.createElement(
8145
+ ), !props.withoutResetPassword && /* @__PURE__ */ React70.createElement(
7937
8146
  "div",
7938
8147
  {
7939
8148
  onClick: props.onForgotPassword,
@@ -7942,12 +8151,12 @@ var LoginForm = ({
7942
8151
  texts?.forgotPassword || "Forgot Password?"
7943
8152
  )));
7944
8153
  case "phone":
7945
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
8154
+ return /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(
7946
8155
  Controller,
7947
8156
  {
7948
8157
  control,
7949
8158
  name: "phone",
7950
- render: ({ field }) => /* @__PURE__ */ React69.createElement(
8159
+ render: ({ field }) => /* @__PURE__ */ React70.createElement(
7951
8160
  PhoneInput,
7952
8161
  {
7953
8162
  label: texts?.phone?.label,
@@ -7959,12 +8168,12 @@ var LoginForm = ({
7959
8168
  }
7960
8169
  ));
7961
8170
  case "link":
7962
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
8171
+ return /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(
7963
8172
  Controller,
7964
8173
  {
7965
8174
  control,
7966
8175
  name: "email",
7967
- render: ({ field }) => /* @__PURE__ */ React69.createElement(
8176
+ render: ({ field }) => /* @__PURE__ */ React70.createElement(
7968
8177
  Input,
7969
8178
  {
7970
8179
  width: "full",
@@ -7981,14 +8190,14 @@ var LoginForm = ({
7981
8190
  break;
7982
8191
  }
7983
8192
  };
7984
- return /* @__PURE__ */ React69.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React69.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React69.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React69.createElement(
8193
+ return /* @__PURE__ */ React70.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React70.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React70.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React70.createElement(
7985
8194
  Alert,
7986
8195
  {
7987
8196
  title: props.errorTitle,
7988
8197
  text: props.errorText,
7989
8198
  severity: "error"
7990
8199
  }
7991
- ), /* @__PURE__ */ React69.createElement(
8200
+ ), /* @__PURE__ */ React70.createElement(
7992
8201
  "form",
7993
8202
  {
7994
8203
  noValidate: true,
@@ -8002,7 +8211,7 @@ var LoginForm = ({
8002
8211
  })
8003
8212
  },
8004
8213
  renderFields(),
8005
- /* @__PURE__ */ React69.createElement(
8214
+ /* @__PURE__ */ React70.createElement(
8006
8215
  Button,
8007
8216
  {
8008
8217
  className: "hawa-mt-0 hawa-w-full",
@@ -8012,7 +8221,7 @@ var LoginForm = ({
8012
8221
  texts?.loginText || "Login"
8013
8222
  ),
8014
8223
  props.additionalButtons,
8015
- props.allowRegister && /* @__PURE__ */ React69.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal hawa-select-none dark:hawa-text-gray-300" }, texts?.newUserText || "New user?", " ", /* @__PURE__ */ React69.createElement(
8224
+ props.allowRegister && /* @__PURE__ */ React70.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal hawa-select-none dark:hawa-text-gray-300" }, texts?.newUserText || "New user?", " ", /* @__PURE__ */ React70.createElement(
8016
8225
  "span",
8017
8226
  {
8018
8227
  onClick: props.onRouteToRegister,
@@ -8020,14 +8229,14 @@ var LoginForm = ({
8020
8229
  },
8021
8230
  texts?.createAccount || "Create Account"
8022
8231
  ))
8023
- )), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React69.createElement(
8232
+ )), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React70.createElement(
8024
8233
  CardFooter,
8025
8234
  {
8026
8235
  className: cn(
8027
8236
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
8028
8237
  )
8029
8238
  },
8030
- /* @__PURE__ */ React69.createElement(
8239
+ /* @__PURE__ */ React70.createElement(
8031
8240
  AuthButtons,
8032
8241
  {
8033
8242
  texts: thirdPartyAuthTexts,
@@ -8039,7 +8248,7 @@ var LoginForm = ({
8039
8248
  handleTwitter: props.onTwitterLogin
8040
8249
  }
8041
8250
  )
8042
- ) : null), props.handleColorMode && props.handleLanguage && /* @__PURE__ */ React69.createElement(
8251
+ ) : null), props.handleColorMode && props.handleLanguage && /* @__PURE__ */ React70.createElement(
8043
8252
  InterfaceSettings,
8044
8253
  {
8045
8254
  currentColorMode: props.currentColorMode,
@@ -8051,7 +8260,7 @@ var LoginForm = ({
8051
8260
  };
8052
8261
 
8053
8262
  // components/blocks/auth/RegisterForm.tsx
8054
- import React70, { useState as useState28 } from "react";
8263
+ import React71, { useState as useState28 } from "react";
8055
8264
  import { Controller as Controller2, FormProvider, useForm as useForm2 } from "react-hook-form";
8056
8265
  import { zodResolver as zodResolver2 } from "@hookform/resolvers/zod";
8057
8266
  import * as z2 from "zod";
@@ -8106,14 +8315,14 @@ var RegisterForm = ({ texts, ...props }) => {
8106
8315
  const { handleSubmit, control, formState } = useForm2({
8107
8316
  resolver: zodResolver2(formSchema)
8108
8317
  });
8109
- return /* @__PURE__ */ React70.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React70.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React70.createElement(CardContent, { headless: true }, /* @__PURE__ */ React70.createElement("div", null, props.showError && /* @__PURE__ */ React70.createElement(
8318
+ return /* @__PURE__ */ React71.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React71.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React71.createElement(CardContent, { headless: true }, /* @__PURE__ */ React71.createElement("div", null, props.showError && /* @__PURE__ */ React71.createElement(
8110
8319
  Alert,
8111
8320
  {
8112
8321
  title: props.errorTitle,
8113
8322
  text: props.errorText,
8114
8323
  severity: "error"
8115
8324
  }
8116
- ), /* @__PURE__ */ React70.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React70.createElement(
8325
+ ), /* @__PURE__ */ React71.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React71.createElement(
8117
8326
  "form",
8118
8327
  {
8119
8328
  noValidate: true,
@@ -8128,15 +8337,15 @@ var RegisterForm = ({ texts, ...props }) => {
8128
8337
  }),
8129
8338
  className: "hawa-flex hawa-flex-col hawa-gap-4"
8130
8339
  },
8131
- /* @__PURE__ */ React70.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.registerFields.map((fld, i) => {
8340
+ /* @__PURE__ */ React71.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.registerFields.map((fld, i) => {
8132
8341
  if (fld === "fullname") {
8133
- return /* @__PURE__ */ React70.createElement(
8342
+ return /* @__PURE__ */ React71.createElement(
8134
8343
  Controller2,
8135
8344
  {
8136
8345
  key: i,
8137
8346
  control,
8138
8347
  name: "fullName",
8139
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8348
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8140
8349
  Input,
8141
8350
  {
8142
8351
  width: "full",
@@ -8150,13 +8359,13 @@ var RegisterForm = ({ texts, ...props }) => {
8150
8359
  );
8151
8360
  }
8152
8361
  if (fld === "email") {
8153
- return /* @__PURE__ */ React70.createElement(
8362
+ return /* @__PURE__ */ React71.createElement(
8154
8363
  Controller2,
8155
8364
  {
8156
8365
  key: i,
8157
8366
  control,
8158
8367
  name: "email",
8159
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8368
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8160
8369
  Input,
8161
8370
  {
8162
8371
  width: "full",
@@ -8171,13 +8380,13 @@ var RegisterForm = ({ texts, ...props }) => {
8171
8380
  );
8172
8381
  }
8173
8382
  if (fld === "username") {
8174
- return /* @__PURE__ */ React70.createElement(
8383
+ return /* @__PURE__ */ React71.createElement(
8175
8384
  Controller2,
8176
8385
  {
8177
8386
  key: i,
8178
8387
  control,
8179
8388
  name: "username",
8180
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8389
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8181
8390
  Input,
8182
8391
  {
8183
8392
  width: "full",
@@ -8192,23 +8401,23 @@ var RegisterForm = ({ texts, ...props }) => {
8192
8401
  );
8193
8402
  }
8194
8403
  })),
8195
- /* @__PURE__ */ React70.createElement(
8404
+ /* @__PURE__ */ React71.createElement(
8196
8405
  Controller2,
8197
8406
  {
8198
8407
  control,
8199
8408
  name: "password",
8200
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8409
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8201
8410
  Input,
8202
8411
  {
8203
8412
  width: "full",
8204
8413
  type: passwordVisible ? "text" : "password",
8205
- iconInside: /* @__PURE__ */ React70.createElement(
8414
+ iconInside: /* @__PURE__ */ React71.createElement(
8206
8415
  "div",
8207
8416
  {
8208
8417
  className: "hawa-cursor-pointer",
8209
8418
  onClick: () => setPasswordVisible(!passwordVisible)
8210
8419
  },
8211
- passwordVisible ? /* @__PURE__ */ React70.createElement(EyeIcon, { classNames: "hawa-text-gray-500" }) : /* @__PURE__ */ React70.createElement(HiddenEyeIcon, { classNames: "hawa-text-gray-500" }),
8420
+ passwordVisible ? /* @__PURE__ */ React71.createElement(EyeIcon, { classNames: "hawa-text-gray-500" }) : /* @__PURE__ */ React71.createElement(HiddenEyeIcon, { classNames: "hawa-text-gray-500" }),
8212
8421
  " "
8213
8422
  ),
8214
8423
  autoComplete: "new-password",
@@ -8220,12 +8429,12 @@ var RegisterForm = ({ texts, ...props }) => {
8220
8429
  )
8221
8430
  }
8222
8431
  ),
8223
- /* @__PURE__ */ React70.createElement(
8432
+ /* @__PURE__ */ React71.createElement(
8224
8433
  Controller2,
8225
8434
  {
8226
8435
  control,
8227
8436
  name: "confirm_password",
8228
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8437
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8229
8438
  Input,
8230
8439
  {
8231
8440
  width: "full",
@@ -8240,12 +8449,12 @@ var RegisterForm = ({ texts, ...props }) => {
8240
8449
  }
8241
8450
  ),
8242
8451
  props.additionalInputs,
8243
- props.showRefCode && /* @__PURE__ */ React70.createElement(
8452
+ props.showRefCode && /* @__PURE__ */ React71.createElement(
8244
8453
  Controller2,
8245
8454
  {
8246
8455
  control,
8247
8456
  name: "refCode",
8248
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8457
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8249
8458
  Input,
8250
8459
  {
8251
8460
  width: "full",
@@ -8257,12 +8466,12 @@ var RegisterForm = ({ texts, ...props }) => {
8257
8466
  )
8258
8467
  }
8259
8468
  ),
8260
- props.showUserSource && /* @__PURE__ */ React70.createElement(
8469
+ props.showUserSource && /* @__PURE__ */ React71.createElement(
8261
8470
  Controller2,
8262
8471
  {
8263
8472
  control,
8264
8473
  name: "reference",
8265
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8474
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8266
8475
  Select,
8267
8476
  {
8268
8477
  label: texts?.userReference.label || "How did you learn about us?",
@@ -8279,18 +8488,18 @@ var RegisterForm = ({ texts, ...props }) => {
8279
8488
  )
8280
8489
  }
8281
8490
  ),
8282
- /* @__PURE__ */ React70.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, props.showTermsOption && /* @__PURE__ */ React70.createElement(
8491
+ /* @__PURE__ */ React71.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, props.showTermsOption && /* @__PURE__ */ React71.createElement(
8283
8492
  Controller2,
8284
8493
  {
8285
8494
  control,
8286
8495
  name: "terms_accepted",
8287
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8496
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8288
8497
  Checkbox,
8289
8498
  {
8290
8499
  id: "terms_accepted",
8291
8500
  helperText: formState.errors.terms_accepted?.message?.toString(),
8292
8501
  onCheckedChange: (e) => field.onChange(e),
8293
- label: /* @__PURE__ */ React70.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5" }, /* @__PURE__ */ React70.createElement("span", null, texts?.iAcceptText), " ", /* @__PURE__ */ React70.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React70.createElement(
8502
+ label: /* @__PURE__ */ React71.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5" }, /* @__PURE__ */ React71.createElement("span", null, texts?.iAcceptText), " ", /* @__PURE__ */ React71.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React71.createElement(
8294
8503
  "a",
8295
8504
  {
8296
8505
  onClick: props.onRouteToTOS,
@@ -8301,12 +8510,12 @@ var RegisterForm = ({ texts, ...props }) => {
8301
8510
  }
8302
8511
  )
8303
8512
  }
8304
- ), props.showNewsletterOption && /* @__PURE__ */ React70.createElement(
8513
+ ), props.showNewsletterOption && /* @__PURE__ */ React71.createElement(
8305
8514
  Controller2,
8306
8515
  {
8307
8516
  control,
8308
8517
  name: "newsletter_accepted",
8309
- render: ({ field }) => /* @__PURE__ */ React70.createElement(
8518
+ render: ({ field }) => /* @__PURE__ */ React71.createElement(
8310
8519
  Checkbox,
8311
8520
  {
8312
8521
  id: "newsletter_accepted",
@@ -8316,7 +8525,7 @@ var RegisterForm = ({ texts, ...props }) => {
8316
8525
  )
8317
8526
  }
8318
8527
  )),
8319
- /* @__PURE__ */ React70.createElement(
8528
+ /* @__PURE__ */ React71.createElement(
8320
8529
  Button,
8321
8530
  {
8322
8531
  isLoading: props.isLoading,
@@ -8325,14 +8534,14 @@ var RegisterForm = ({ texts, ...props }) => {
8325
8534
  texts?.registerText
8326
8535
  ),
8327
8536
  props.additionalButtons
8328
- )), /* @__PURE__ */ React70.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-white" }, /* @__PURE__ */ React70.createElement("span", null, texts?.existingUserText), /* @__PURE__ */ React70.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, texts?.loginText || "Login")))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React70.createElement(
8537
+ )), /* @__PURE__ */ React71.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-white" }, /* @__PURE__ */ React71.createElement("span", null, texts?.existingUserText), /* @__PURE__ */ React71.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, texts?.loginText || "Login")))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React71.createElement(
8329
8538
  CardFooter,
8330
8539
  {
8331
8540
  className: cn(
8332
8541
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
8333
8542
  )
8334
8543
  },
8335
- /* @__PURE__ */ React70.createElement(
8544
+ /* @__PURE__ */ React71.createElement(
8336
8545
  AuthButtons,
8337
8546
  {
8338
8547
  texts: thirdPartyAuthTexts,
@@ -8344,7 +8553,7 @@ var RegisterForm = ({ texts, ...props }) => {
8344
8553
  handleTwitter: props.onTwitterRegister
8345
8554
  }
8346
8555
  )
8347
- ) : null), props.handleColorMode && props.handleLanguage && /* @__PURE__ */ React70.createElement(
8556
+ ) : null), props.handleColorMode && props.handleLanguage && /* @__PURE__ */ React71.createElement(
8348
8557
  InterfaceSettings,
8349
8558
  {
8350
8559
  currentColorMode: props.currentColorMode,
@@ -8356,7 +8565,7 @@ var RegisterForm = ({ texts, ...props }) => {
8356
8565
  };
8357
8566
 
8358
8567
  // components/blocks/auth/AppLanding.tsx
8359
- import React71 from "react";
8568
+ import React72 from "react";
8360
8569
  var AppLanding = ({ texts, ...props }) => {
8361
8570
  const thirdPartyAuthTexts = {
8362
8571
  continueWithGoogle: texts?.continueWithGoogle,
@@ -8367,7 +8576,7 @@ var AppLanding = ({ texts, ...props }) => {
8367
8576
  continueWithEmail: texts?.continueWithEmail,
8368
8577
  continueWithPhone: texts?.continueWithPhone
8369
8578
  };
8370
- return /* @__PURE__ */ React71.createElement("div", { dir: props.direction }, /* @__PURE__ */ React71.createElement(Card, null, /* @__PURE__ */ React71.createElement(CardContent, { headless: true, className: "hawa-flex hawa-flex-col hawa-gap-6" }, /* @__PURE__ */ React71.createElement(
8579
+ return /* @__PURE__ */ React72.createElement("div", { dir: props.direction }, /* @__PURE__ */ React72.createElement(Card, null, /* @__PURE__ */ React72.createElement(CardContent, { headless: true, className: "hawa-flex hawa-flex-col hawa-gap-6" }, /* @__PURE__ */ React72.createElement(
8371
8580
  AuthButtons,
8372
8581
  {
8373
8582
  texts: thirdPartyAuthTexts,
@@ -8387,14 +8596,14 @@ var AppLanding = ({ texts, ...props }) => {
8387
8596
  handlePhone: props.handlePhone
8388
8597
  }
8389
8598
  ), !props.withoutSignUp && //TODO: change to "register"
8390
- /* @__PURE__ */ React71.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts?.newUserText, " ", /* @__PURE__ */ React71.createElement(
8599
+ /* @__PURE__ */ React72.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts?.newUserText, " ", /* @__PURE__ */ React72.createElement(
8391
8600
  "span",
8392
8601
  {
8393
8602
  onClick: props.handleRouteToRegister,
8394
8603
  className: "clickable-link"
8395
8604
  },
8396
8605
  texts?.createAccount
8397
- )))), /* @__PURE__ */ React71.createElement("div", { className: "hawa-mt-4 hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React71.createElement(
8606
+ )))), /* @__PURE__ */ React72.createElement("div", { className: "hawa-mt-4 hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React72.createElement(
8398
8607
  Radio,
8399
8608
  {
8400
8609
  onChangeTab: props.handleLanguage,
@@ -8404,7 +8613,7 @@ var AppLanding = ({ texts, ...props }) => {
8404
8613
  { value: "en", label: "English" }
8405
8614
  ]
8406
8615
  }
8407
- ), /* @__PURE__ */ React71.createElement(
8616
+ ), /* @__PURE__ */ React72.createElement(
8408
8617
  Radio,
8409
8618
  {
8410
8619
  onChangeTab: props.handleColorMode,
@@ -8412,7 +8621,7 @@ var AppLanding = ({ texts, ...props }) => {
8412
8621
  options: [
8413
8622
  {
8414
8623
  value: "light",
8415
- label: /* @__PURE__ */ React71.createElement(
8624
+ label: /* @__PURE__ */ React72.createElement(
8416
8625
  "svg",
8417
8626
  {
8418
8627
  width: "15",
@@ -8422,7 +8631,7 @@ var AppLanding = ({ texts, ...props }) => {
8422
8631
  xmlns: "http://www.w3.org/2000/svg",
8423
8632
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-rotate-0 hawa-scale-100 hawa-transition-all dark:hawa--rotate-90"
8424
8633
  },
8425
- /* @__PURE__ */ React71.createElement(
8634
+ /* @__PURE__ */ React72.createElement(
8426
8635
  "path",
8427
8636
  {
8428
8637
  d: "M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",
@@ -8435,7 +8644,7 @@ var AppLanding = ({ texts, ...props }) => {
8435
8644
  },
8436
8645
  {
8437
8646
  value: "dark",
8438
- label: /* @__PURE__ */ React71.createElement(
8647
+ label: /* @__PURE__ */ React72.createElement(
8439
8648
  "svg",
8440
8649
  {
8441
8650
  xmlns: "http://www.w3.org/2000/svg",
@@ -8449,7 +8658,7 @@ var AppLanding = ({ texts, ...props }) => {
8449
8658
  strokeLinejoin: "round",
8450
8659
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-transition-all dark:hawa-rotate-0 dark:hawa-scale-100"
8451
8660
  },
8452
- /* @__PURE__ */ React71.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
8661
+ /* @__PURE__ */ React72.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
8453
8662
  )
8454
8663
  }
8455
8664
  ]
@@ -8458,9 +8667,9 @@ var AppLanding = ({ texts, ...props }) => {
8458
8667
  };
8459
8668
 
8460
8669
  // components/blocks/auth/CheckEmail.tsx
8461
- import React72 from "react";
8670
+ import React73 from "react";
8462
8671
  var CheckEmail = ({ texts, handleResend }) => {
8463
- return /* @__PURE__ */ React72.createElement(Card, null, /* @__PURE__ */ React72.createElement(CardContent, { headless: true }, /* @__PURE__ */ React72.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React72.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React72.createElement(
8672
+ return /* @__PURE__ */ React73.createElement(Card, null, /* @__PURE__ */ React73.createElement(CardContent, { headless: true }, /* @__PURE__ */ React73.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React73.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React73.createElement(
8464
8673
  "svg",
8465
8674
  {
8466
8675
  stroke: "currentColor",
@@ -8473,13 +8682,13 @@ var CheckEmail = ({ texts, handleResend }) => {
8473
8682
  width: "0.5em",
8474
8683
  xmlns: "http://www.w3.org/2000/svg"
8475
8684
  },
8476
- /* @__PURE__ */ React72.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
8477
- /* @__PURE__ */ React72.createElement("polyline", { points: "22,6 12,13 2,6" })
8478
- )), /* @__PURE__ */ React72.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, texts?.checkEmail || "Check your Email"), /* @__PURE__ */ React72.createElement("div", { className: "hawa-text-sm" }, texts?.pleaseVerify || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React72.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React72.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, texts?.resendEmail || "Resend Email")));
8685
+ /* @__PURE__ */ React73.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
8686
+ /* @__PURE__ */ React73.createElement("polyline", { points: "22,6 12,13 2,6" })
8687
+ )), /* @__PURE__ */ React73.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, texts?.checkEmail || "Check your Email"), /* @__PURE__ */ React73.createElement("div", { className: "hawa-text-sm" }, texts?.pleaseVerify || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React73.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React73.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, texts?.resendEmail || "Resend Email")));
8479
8688
  };
8480
8689
 
8481
8690
  // components/blocks/auth/NewPassword.tsx
8482
- import React73, { useState as useState29 } from "react";
8691
+ import React74, { useState as useState29 } from "react";
8483
8692
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
8484
8693
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
8485
8694
  import * as z3 from "zod";
@@ -8497,7 +8706,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
8497
8706
  resolver: zodResolver3(formSchema)
8498
8707
  });
8499
8708
  const [matchError, setMatchError] = useState29(false);
8500
- return /* @__PURE__ */ React73.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React73.createElement(Alert, { text: texts?.confirm?.dontMatch, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React73.createElement(CardContent, { headless: true }, /* @__PURE__ */ React73.createElement("div", { className: "hawa-text-center" }, texts?.passwordChanged)) : /* @__PURE__ */ React73.createElement(
8709
+ return /* @__PURE__ */ React74.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React74.createElement(Alert, { text: texts?.confirm?.dontMatch, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React74.createElement(CardContent, { headless: true }, /* @__PURE__ */ React74.createElement("div", { className: "hawa-text-center" }, texts?.passwordChanged)) : /* @__PURE__ */ React74.createElement(
8501
8710
  "form",
8502
8711
  {
8503
8712
  noValidate: true,
@@ -8511,19 +8720,19 @@ var NewPasswordForm = ({ texts, ...props }) => {
8511
8720
  }
8512
8721
  })
8513
8722
  },
8514
- !props.headless && /* @__PURE__ */ React73.createElement(CardHeader, null, /* @__PURE__ */ React73.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React73.createElement(CardDescription, null, "Set a new password for your account")),
8515
- /* @__PURE__ */ React73.createElement(
8723
+ !props.headless && /* @__PURE__ */ React74.createElement(CardHeader, null, /* @__PURE__ */ React74.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React74.createElement(CardDescription, null, "Set a new password for your account")),
8724
+ /* @__PURE__ */ React74.createElement(
8516
8725
  CardContent,
8517
8726
  {
8518
8727
  headless: props.headless,
8519
8728
  className: "hawa-flex hawa-flex-col hawa-gap-4"
8520
8729
  },
8521
- /* @__PURE__ */ React73.createElement(
8730
+ /* @__PURE__ */ React74.createElement(
8522
8731
  Controller3,
8523
8732
  {
8524
8733
  control,
8525
8734
  name: "password",
8526
- render: ({ field }) => /* @__PURE__ */ React73.createElement(
8735
+ render: ({ field }) => /* @__PURE__ */ React74.createElement(
8527
8736
  Input,
8528
8737
  {
8529
8738
  width: "full",
@@ -8537,12 +8746,12 @@ var NewPasswordForm = ({ texts, ...props }) => {
8537
8746
  )
8538
8747
  }
8539
8748
  ),
8540
- /* @__PURE__ */ React73.createElement(
8749
+ /* @__PURE__ */ React74.createElement(
8541
8750
  Controller3,
8542
8751
  {
8543
8752
  control,
8544
8753
  name: "confirm_password",
8545
- render: ({ field }) => /* @__PURE__ */ React73.createElement(
8754
+ render: ({ field }) => /* @__PURE__ */ React74.createElement(
8546
8755
  Input,
8547
8756
  {
8548
8757
  width: "full",
@@ -8557,7 +8766,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
8557
8766
  }
8558
8767
  )
8559
8768
  ),
8560
- /* @__PURE__ */ React73.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React73.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts?.updatePassword), props.allowRegister && /* @__PURE__ */ React73.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, texts?.dontHaveAccount ?? "Don't have an account? ", /* @__PURE__ */ React73.createElement(
8769
+ /* @__PURE__ */ React74.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React74.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts?.updatePassword), props.allowRegister && /* @__PURE__ */ React74.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, texts?.dontHaveAccount ?? "Don't have an account? ", /* @__PURE__ */ React74.createElement(
8561
8770
  "span",
8562
8771
  {
8563
8772
  className: "clickable-link",
@@ -8569,7 +8778,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
8569
8778
  };
8570
8779
 
8571
8780
  // components/blocks/auth/ResetPassword.tsx
8572
- import React74 from "react";
8781
+ import React75 from "react";
8573
8782
  import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
8574
8783
  import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
8575
8784
  import * as z4 from "zod";
@@ -8580,7 +8789,7 @@ var ResetPasswordForm = (props) => {
8580
8789
  const { handleSubmit, control, formState } = useForm4({
8581
8790
  resolver: zodResolver4(formSchema)
8582
8791
  });
8583
- return /* @__PURE__ */ React74.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React74.createElement(React74.Fragment, null, !props.headless && /* @__PURE__ */ React74.createElement(CardHeader, null, /* @__PURE__ */ React74.createElement(CardTitle, null, " ", props.texts?.headTitle || "Reset Password"), /* @__PURE__ */ React74.createElement(CardDescription, null, props.texts?.headDescription || "Enter your email to reset your account password")), /* @__PURE__ */ React74.createElement(
8792
+ return /* @__PURE__ */ React75.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React75.createElement(React75.Fragment, null, !props.headless && /* @__PURE__ */ React75.createElement(CardHeader, null, /* @__PURE__ */ React75.createElement(CardTitle, null, " ", props.texts?.headTitle || "Reset Password"), /* @__PURE__ */ React75.createElement(CardDescription, null, props.texts?.headDescription || "Enter your email to reset your account password")), /* @__PURE__ */ React75.createElement(
8584
8793
  "form",
8585
8794
  {
8586
8795
  noValidate: true,
@@ -8592,12 +8801,12 @@ var ResetPasswordForm = (props) => {
8592
8801
  }
8593
8802
  })
8594
8803
  },
8595
- /* @__PURE__ */ React74.createElement(CardContent, { headless: props.headless }, /* @__PURE__ */ React74.createElement(
8804
+ /* @__PURE__ */ React75.createElement(CardContent, { headless: props.headless }, /* @__PURE__ */ React75.createElement(
8596
8805
  Controller4,
8597
8806
  {
8598
8807
  control,
8599
8808
  name: "email",
8600
- render: ({ field }) => /* @__PURE__ */ React74.createElement(
8809
+ render: ({ field }) => /* @__PURE__ */ React75.createElement(
8601
8810
  Input,
8602
8811
  {
8603
8812
  width: "full",
@@ -8609,7 +8818,7 @@ var ResetPasswordForm = (props) => {
8609
8818
  )
8610
8819
  }
8611
8820
  )),
8612
- /* @__PURE__ */ React74.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React74.createElement(Button, { type: "submit", className: "hawa-w-full" }, props.texts?.resetPassword), props.allowRegister && /* @__PURE__ */ React74.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, props.texts?.dontHaveAccount ?? "Don't have an account? ", /* @__PURE__ */ React74.createElement(
8821
+ /* @__PURE__ */ React75.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React75.createElement(Button, { type: "submit", className: "hawa-w-full" }, props.texts?.resetPassword), props.allowRegister && /* @__PURE__ */ React75.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, props.texts?.dontHaveAccount ?? "Don't have an account? ", /* @__PURE__ */ React75.createElement(
8613
8822
  "span",
8614
8823
  {
8615
8824
  className: "clickable-link",
@@ -8617,11 +8826,11 @@ var ResetPasswordForm = (props) => {
8617
8826
  },
8618
8827
  props.texts?.registerText ?? "Register"
8619
8828
  )))
8620
- )) : /* @__PURE__ */ React74.createElement(CardContent, { headless: true }, /* @__PURE__ */ React74.createElement("div", { className: "hawa-text-center" }, props.texts?.emailSentText)));
8829
+ )) : /* @__PURE__ */ React75.createElement(CardContent, { headless: true }, /* @__PURE__ */ React75.createElement("div", { className: "hawa-text-center" }, props.texts?.emailSentText)));
8621
8830
  };
8622
8831
 
8623
8832
  // components/blocks/auth/CodeConfirmation.tsx
8624
- import React75, { useEffect as useEffect20, useState as useState30 } from "react";
8833
+ import React76, { useEffect as useEffect20, useState as useState30 } from "react";
8625
8834
  import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
8626
8835
  import { zodResolver as zodResolver5 } from "@hookform/resolvers/zod";
8627
8836
  import * as z5 from "zod";
@@ -8663,14 +8872,14 @@ var CodeConfirmation = (props) => {
8663
8872
  }
8664
8873
  };
8665
8874
  }, []);
8666
- return /* @__PURE__ */ React75.createElement(Card, null, /* @__PURE__ */ React75.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React75.createElement(
8875
+ return /* @__PURE__ */ React76.createElement(Card, null, /* @__PURE__ */ React76.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React76.createElement(
8667
8876
  Alert,
8668
8877
  {
8669
8878
  title: props.errorTitle,
8670
8879
  text: props.errorText,
8671
8880
  severity: "error"
8672
8881
  }
8673
- ), /* @__PURE__ */ React75.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React75.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, props.texts?.checkYourPhone || "Please check your phone"), /* @__PURE__ */ React75.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React75.createElement("span", null, props.texts?.weSentCode || "We've sent a code to "), /* @__PURE__ */ React75.createElement("span", null, props.phoneNumber)), " "), /* @__PURE__ */ React75.createElement(
8882
+ ), /* @__PURE__ */ React76.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React76.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, props.texts?.checkYourPhone || "Please check your phone"), /* @__PURE__ */ React76.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React76.createElement("span", null, props.texts?.weSentCode || "We've sent a code to "), /* @__PURE__ */ React76.createElement("span", null, props.phoneNumber)), " "), /* @__PURE__ */ React76.createElement(
8674
8883
  "form",
8675
8884
  {
8676
8885
  noValidate: true,
@@ -8684,12 +8893,12 @@ var CodeConfirmation = (props) => {
8684
8893
  }
8685
8894
  })
8686
8895
  },
8687
- /* @__PURE__ */ React75.createElement(
8896
+ /* @__PURE__ */ React76.createElement(
8688
8897
  Controller5,
8689
8898
  {
8690
8899
  control,
8691
8900
  name: "otp_code",
8692
- render: ({ field }) => /* @__PURE__ */ React75.createElement(
8901
+ render: ({ field }) => /* @__PURE__ */ React76.createElement(
8693
8902
  PinInput,
8694
8903
  {
8695
8904
  width: "full",
@@ -8700,7 +8909,7 @@ var CodeConfirmation = (props) => {
8700
8909
  )
8701
8910
  }
8702
8911
  ),
8703
- showResendTimer ? /* @__PURE__ */ React75.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, props.texts?.resendCodeTimer, " ", /* @__PURE__ */ React75.createElement("strong", null, remainingTime), " ", props.texts?.seconds) : /* @__PURE__ */ React75.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React75.createElement("span", null, props.texts?.didntGetCode ?? "Didn't get the code?"), " ", /* @__PURE__ */ React75.createElement(
8912
+ showResendTimer ? /* @__PURE__ */ React76.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, props.texts?.resendCodeTimer, " ", /* @__PURE__ */ React76.createElement("strong", null, remainingTime), " ", props.texts?.seconds) : /* @__PURE__ */ React76.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React76.createElement("span", null, props.texts?.didntGetCode ?? "Didn't get the code?"), " ", /* @__PURE__ */ React76.createElement(
8704
8913
  "span",
8705
8914
  {
8706
8915
  className: "clickable-link",
@@ -8711,12 +8920,12 @@ var CodeConfirmation = (props) => {
8711
8920
  },
8712
8921
  props.texts?.resendCode || "Click to resend"
8713
8922
  )),
8714
- /* @__PURE__ */ React75.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ React75.createElement(Button, { variant: "secondary" }, props.texts?.cancel || "Cancel"), /* @__PURE__ */ React75.createElement(Button, { isLoading: props.confirmLoading }, props.texts?.confirm || "Confirm"))
8923
+ /* @__PURE__ */ React76.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ React76.createElement(Button, { variant: "secondary" }, props.texts?.cancel || "Cancel"), /* @__PURE__ */ React76.createElement(Button, { isLoading: props.confirmLoading }, props.texts?.confirm || "Confirm"))
8715
8924
  )));
8716
8925
  };
8717
8926
 
8718
8927
  // components/blocks/feedback/UserReferralSource.tsx
8719
- import React76, { useRef as useRef11, useState as useState31 } from "react";
8928
+ import React77, { useRef as useRef11, useState as useState31 } from "react";
8720
8929
  import { Controller as Controller6, useForm as useForm6 } from "react-hook-form";
8721
8930
  import { zodResolver as zodResolver6 } from "@hookform/resolvers/zod";
8722
8931
  import * as z6 from "zod";
@@ -8738,7 +8947,7 @@ var UserReferralSource = ({
8738
8947
  "bottom-right": "hawa-right-4",
8739
8948
  "bottom-left": "hawa-left-4"
8740
8949
  };
8741
- return /* @__PURE__ */ React76.createElement(
8950
+ return /* @__PURE__ */ React77.createElement(
8742
8951
  "div",
8743
8952
  {
8744
8953
  className: cn(
@@ -8747,7 +8956,7 @@ var UserReferralSource = ({
8747
8956
  ),
8748
8957
  ref: popUpRef
8749
8958
  },
8750
- /* @__PURE__ */ React76.createElement(
8959
+ /* @__PURE__ */ React77.createElement(
8751
8960
  Card,
8752
8961
  {
8753
8962
  className: cn(
@@ -8756,7 +8965,7 @@ var UserReferralSource = ({
8756
8965
  ),
8757
8966
  dir: props.direction
8758
8967
  },
8759
- /* @__PURE__ */ React76.createElement(
8968
+ /* @__PURE__ */ React77.createElement(
8760
8969
  "button",
8761
8970
  {
8762
8971
  type: "button",
@@ -8775,7 +8984,7 @@ var UserReferralSource = ({
8775
8984
  }, 200);
8776
8985
  }
8777
8986
  },
8778
- /* @__PURE__ */ React76.createElement(
8987
+ /* @__PURE__ */ React77.createElement(
8779
8988
  "svg",
8780
8989
  {
8781
8990
  "aria-hidden": "true",
@@ -8783,7 +8992,7 @@ var UserReferralSource = ({
8783
8992
  fill: "currentColor",
8784
8993
  viewBox: "0 0 20 20"
8785
8994
  },
8786
- /* @__PURE__ */ React76.createElement(
8995
+ /* @__PURE__ */ React77.createElement(
8787
8996
  "path",
8788
8997
  {
8789
8998
  fillRule: "evenodd",
@@ -8793,7 +9002,7 @@ var UserReferralSource = ({
8793
9002
  )
8794
9003
  )
8795
9004
  ),
8796
- /* @__PURE__ */ React76.createElement(CardContent, { headless: true }, /* @__PURE__ */ React76.createElement(
9005
+ /* @__PURE__ */ React77.createElement(CardContent, { headless: true }, /* @__PURE__ */ React77.createElement(
8797
9006
  "form",
8798
9007
  {
8799
9008
  noValidate: true,
@@ -8804,7 +9013,7 @@ var UserReferralSource = ({
8804
9013
  console.log("onSubmitForm was not provided");
8805
9014
  })
8806
9015
  },
8807
- /* @__PURE__ */ React76.createElement(
9016
+ /* @__PURE__ */ React77.createElement(
8808
9017
  "div",
8809
9018
  {
8810
9019
  className: cn(
@@ -8812,13 +9021,13 @@ var UserReferralSource = ({
8812
9021
  closed ? "hawa-opacity-0" : "hawa-opacity-100"
8813
9022
  )
8814
9023
  },
8815
- /* @__PURE__ */ React76.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
8816
- /* @__PURE__ */ React76.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ React76.createElement(
9024
+ /* @__PURE__ */ React77.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
9025
+ /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ React77.createElement(
8817
9026
  Controller6,
8818
9027
  {
8819
9028
  control,
8820
9029
  name: "source",
8821
- render: ({ field }) => /* @__PURE__ */ React76.createElement(
9030
+ render: ({ field }) => /* @__PURE__ */ React77.createElement(
8822
9031
  Radio,
8823
9032
  {
8824
9033
  direction: props.direction,
@@ -8831,12 +9040,12 @@ var UserReferralSource = ({
8831
9040
  )
8832
9041
  }
8833
9042
  )),
8834
- /* @__PURE__ */ React76.createElement("div", null, /* @__PURE__ */ React76.createElement(
9043
+ /* @__PURE__ */ React77.createElement("div", null, /* @__PURE__ */ React77.createElement(
8835
9044
  Controller6,
8836
9045
  {
8837
9046
  control,
8838
9047
  name: "feedback",
8839
- render: ({ field }) => /* @__PURE__ */ React76.createElement(
9048
+ render: ({ field }) => /* @__PURE__ */ React77.createElement(
8840
9049
  Textarea,
8841
9050
  {
8842
9051
  ...field,
@@ -8846,14 +9055,14 @@ var UserReferralSource = ({
8846
9055
  }
8847
9056
  ))
8848
9057
  ),
8849
- /* @__PURE__ */ React76.createElement(Button, { type: "submit", className: "hawa-mt-4 hawa-w-full" }, props.texts?.submit || "Submit")
9058
+ /* @__PURE__ */ React77.createElement(Button, { type: "submit", className: "hawa-mt-4 hawa-w-full" }, props.texts?.submit || "Submit")
8850
9059
  ))
8851
9060
  )
8852
9061
  );
8853
9062
  };
8854
9063
 
8855
9064
  // components/blocks/feedback/FeedbackRating.tsx
8856
- import React77, { useEffect as useEffect22, useRef as useRef12, useState as useState32 } from "react";
9065
+ import React78, { useEffect as useEffect22, useRef as useRef12, useState as useState32 } from "react";
8857
9066
  import clsx11 from "clsx";
8858
9067
  var FeedbackRating = ({
8859
9068
  position = "bottom-right",
@@ -8886,7 +9095,7 @@ var FeedbackRating = ({
8886
9095
  }
8887
9096
  }, 200);
8888
9097
  };
8889
- return /* @__PURE__ */ React77.createElement(
9098
+ return /* @__PURE__ */ React78.createElement(
8890
9099
  "div",
8891
9100
  {
8892
9101
  ref: popUpRef,
@@ -8895,7 +9104,7 @@ var FeedbackRating = ({
8895
9104
  boxPosition[position]
8896
9105
  )
8897
9106
  },
8898
- /* @__PURE__ */ React77.createElement(
9107
+ /* @__PURE__ */ React78.createElement(
8899
9108
  "div",
8900
9109
  {
8901
9110
  className: clsx11(
@@ -8904,8 +9113,8 @@ var FeedbackRating = ({
8904
9113
  props.banner && "hawa-rounded-none md:hawa-rounded hawa-px-4 md:hawa-px-64"
8905
9114
  )
8906
9115
  },
8907
- /* @__PURE__ */ React77.createElement("div", { className: "hawa-absolute hawa-left-2 hawa-top-2 hawa-p-1.5 hawa-text-sm" }, props.title),
8908
- /* @__PURE__ */ React77.createElement(
9116
+ /* @__PURE__ */ React78.createElement("div", { className: "hawa-absolute hawa-left-2 hawa-top-2 hawa-p-1.5 hawa-text-sm" }, props.title),
9117
+ /* @__PURE__ */ React78.createElement(
8909
9118
  "button",
8910
9119
  {
8911
9120
  type: "button",
@@ -8914,7 +9123,7 @@ var FeedbackRating = ({
8914
9123
  "aria-label": "Close",
8915
9124
  onClick: () => slowClose()
8916
9125
  },
8917
- /* @__PURE__ */ React77.createElement(
9126
+ /* @__PURE__ */ React78.createElement(
8918
9127
  "svg",
8919
9128
  {
8920
9129
  "aria-hidden": "true",
@@ -8922,7 +9131,7 @@ var FeedbackRating = ({
8922
9131
  fill: "currentColor",
8923
9132
  viewBox: "0 0 20 20"
8924
9133
  },
8925
- /* @__PURE__ */ React77.createElement(
9134
+ /* @__PURE__ */ React78.createElement(
8926
9135
  "path",
8927
9136
  {
8928
9137
  fillRule: "evenodd",
@@ -8932,8 +9141,8 @@ var FeedbackRating = ({
8932
9141
  )
8933
9142
  )
8934
9143
  ),
8935
- /* @__PURE__ */ React77.createElement("div", { className: "hawa-mt-8" }, props.question),
8936
- /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded" }, props.options && props.options.map((op, i) => /* @__PURE__ */ React77.createElement(
9144
+ /* @__PURE__ */ React78.createElement("div", { className: "hawa-mt-8" }, props.question),
9145
+ /* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded" }, props.options && props.options.map((op, i) => /* @__PURE__ */ React78.createElement(
8937
9146
  "span",
8938
9147
  {
8939
9148
  key: i,
@@ -8960,24 +9169,24 @@ var FeedbackRating = ({
8960
9169
  },
8961
9170
  op
8962
9171
  ))),
8963
- props.texts && /* @__PURE__ */ React77.createElement("div", { className: " hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ React77.createElement("span", null, props.texts.least), /* @__PURE__ */ React77.createElement("span", null, props.texts.most)),
8964
- answered && /* @__PURE__ */ React77.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-gap-2 hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded hawa-bg-black hawa-bg-opacity-80 hawa-p-4 hawa-text-center hawa-transition-all" }, /* @__PURE__ */ React77.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React77.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
9172
+ props.texts && /* @__PURE__ */ React78.createElement("div", { className: " hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ React78.createElement("span", null, props.texts.least), /* @__PURE__ */ React78.createElement("span", null, props.texts.most)),
9173
+ answered && /* @__PURE__ */ React78.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-gap-2 hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded hawa-bg-black hawa-bg-opacity-80 hawa-p-4 hawa-text-center hawa-transition-all" }, /* @__PURE__ */ React78.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React78.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
8965
9174
  )
8966
9175
  );
8967
9176
  };
8968
9177
 
8969
9178
  // components/blocks/feedback/FeedbackEmoji.tsx
8970
- import React78, { useState as useState33 } from "react";
9179
+ import React79, { useState as useState33 } from "react";
8971
9180
  var FeedbackEmoji = (props) => {
8972
9181
  const [selectedEmoji, setSelectedEmoji] = useState33(null);
8973
9182
  const [loadingSubmit, setLoadingSubmit] = useState33(false);
8974
9183
  const [feedbackText, setFeedbackText] = useState33("");
8975
9184
  const [helperText, setHelperText] = useState33(false);
8976
9185
  let emojis = [
8977
- { icon: /* @__PURE__ */ React78.createElement(VeryGoodEmoji, null), value: "very-good" },
8978
- { icon: /* @__PURE__ */ React78.createElement(GoodEmoji, null), value: "good" },
8979
- { icon: /* @__PURE__ */ React78.createElement(BadEmoji, null), value: "bad" },
8980
- { icon: /* @__PURE__ */ React78.createElement(VeryBadEmoji, null), value: "very-bad" }
9186
+ { icon: /* @__PURE__ */ React79.createElement(VeryGoodEmoji, null), value: "very-good" },
9187
+ { icon: /* @__PURE__ */ React79.createElement(GoodEmoji, null), value: "good" },
9188
+ { icon: /* @__PURE__ */ React79.createElement(BadEmoji, null), value: "bad" },
9189
+ { icon: /* @__PURE__ */ React79.createElement(VeryBadEmoji, null), value: "very-bad" }
8981
9190
  ];
8982
9191
  const onFeedbackSubmit = async () => {
8983
9192
  if (feedbackText) {
@@ -8997,7 +9206,7 @@ var FeedbackEmoji = (props) => {
8997
9206
  setHelperText(true);
8998
9207
  }
8999
9208
  };
9000
- return /* @__PURE__ */ React78.createElement(
9209
+ return /* @__PURE__ */ React79.createElement(
9001
9210
  "div",
9002
9211
  {
9003
9212
  className: cn(
@@ -9005,7 +9214,7 @@ var FeedbackEmoji = (props) => {
9005
9214
  selectedEmoji ? "hawa-h-[185px] hawa-min-w-fit" : "hawa-h-[44px] "
9006
9215
  )
9007
9216
  },
9008
- /* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 " }, /* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5 " }, emojis.map((emoji, i) => /* @__PURE__ */ React78.createElement(
9217
+ /* @__PURE__ */ React79.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 " }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5 " }, emojis.map((emoji, i) => /* @__PURE__ */ React79.createElement(
9009
9218
  Button,
9010
9219
  {
9011
9220
  key: i,
@@ -9024,7 +9233,7 @@ var FeedbackEmoji = (props) => {
9024
9233
  },
9025
9234
  emoji.icon
9026
9235
  )))),
9027
- /* @__PURE__ */ React78.createElement(
9236
+ /* @__PURE__ */ React79.createElement(
9028
9237
  "div",
9029
9238
  {
9030
9239
  className: cn(
@@ -9032,7 +9241,7 @@ var FeedbackEmoji = (props) => {
9032
9241
  selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0 "
9033
9242
  )
9034
9243
  },
9035
- props.showSuccess ? /* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ React78.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ React78.createElement(
9244
+ props.showSuccess ? /* @__PURE__ */ React79.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ React79.createElement(
9036
9245
  "svg",
9037
9246
  {
9038
9247
  stroke: "currentColor",
@@ -9042,13 +9251,13 @@ var FeedbackEmoji = (props) => {
9042
9251
  height: "0.5em",
9043
9252
  width: "0.5em"
9044
9253
  },
9045
- /* @__PURE__ */ React78.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
9046
- )), /* @__PURE__ */ React78.createElement("div", { className: "hawa-text-sm hawa-flex hawa-flex-col hawa-text-center" }, /* @__PURE__ */ React78.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ React78.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React78.createElement(
9254
+ /* @__PURE__ */ React79.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
9255
+ )), /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-sm hawa-flex hawa-flex-col hawa-text-center" }, /* @__PURE__ */ React79.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ React79.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ React79.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React79.createElement(
9047
9256
  Popover,
9048
9257
  {
9049
9258
  className: "hawa-select-none hawa-p-1 hawa-text-xs ",
9050
9259
  open: helperText,
9051
- trigger: /* @__PURE__ */ React78.createElement(
9260
+ trigger: /* @__PURE__ */ React79.createElement(
9052
9261
  Textarea,
9053
9262
  {
9054
9263
  className: cn("hawa-mb-2 hawa-h-full hawa-resize-none"),
@@ -9062,9 +9271,9 @@ var FeedbackEmoji = (props) => {
9062
9271
  }
9063
9272
  )
9064
9273
  },
9065
- /* @__PURE__ */ React78.createElement("span", { className: "hawa-m-2" }, "Please enter your feedback"),
9274
+ /* @__PURE__ */ React79.createElement("span", { className: "hawa-m-2" }, "Please enter your feedback"),
9066
9275
  " "
9067
- ), /* @__PURE__ */ React78.createElement(
9276
+ ), /* @__PURE__ */ React79.createElement(
9068
9277
  Button,
9069
9278
  {
9070
9279
  isLoading: loadingSubmit,
@@ -9077,7 +9286,7 @@ var FeedbackEmoji = (props) => {
9077
9286
  )
9078
9287
  );
9079
9288
  };
9080
- var VeryGoodEmoji = () => /* @__PURE__ */ React78.createElement(
9289
+ var VeryGoodEmoji = () => /* @__PURE__ */ React79.createElement(
9081
9290
  "svg",
9082
9291
  {
9083
9292
  fill: "none",
@@ -9086,7 +9295,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React78.createElement(
9086
9295
  width: "16",
9087
9296
  xmlns: "http://www.w3.org/2000/svg"
9088
9297
  },
9089
- /* @__PURE__ */ React78.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ React78.createElement(
9298
+ /* @__PURE__ */ React79.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ React79.createElement(
9090
9299
  "path",
9091
9300
  {
9092
9301
  clipRule: "evenodd",
@@ -9094,7 +9303,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React78.createElement(
9094
9303
  fill: "currentColor",
9095
9304
  fillRule: "evenodd"
9096
9305
  }
9097
- ), /* @__PURE__ */ React78.createElement(
9306
+ ), /* @__PURE__ */ React79.createElement(
9098
9307
  "path",
9099
9308
  {
9100
9309
  clipRule: "evenodd",
@@ -9104,7 +9313,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React78.createElement(
9104
9313
  }
9105
9314
  ))
9106
9315
  );
9107
- var GoodEmoji = () => /* @__PURE__ */ React78.createElement(
9316
+ var GoodEmoji = () => /* @__PURE__ */ React79.createElement(
9108
9317
  "svg",
9109
9318
  {
9110
9319
  fill: "none",
@@ -9113,7 +9322,7 @@ var GoodEmoji = () => /* @__PURE__ */ React78.createElement(
9113
9322
  width: "16",
9114
9323
  xmlns: "http://www.w3.org/2000/svg"
9115
9324
  },
9116
- /* @__PURE__ */ React78.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ React78.createElement(
9325
+ /* @__PURE__ */ React79.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ React79.createElement(
9117
9326
  "path",
9118
9327
  {
9119
9328
  clipRule: "evenodd",
@@ -9123,7 +9332,7 @@ var GoodEmoji = () => /* @__PURE__ */ React78.createElement(
9123
9332
  }
9124
9333
  ))
9125
9334
  );
9126
- var BadEmoji = () => /* @__PURE__ */ React78.createElement(
9335
+ var BadEmoji = () => /* @__PURE__ */ React79.createElement(
9127
9336
  "svg",
9128
9337
  {
9129
9338
  fill: "none",
@@ -9132,7 +9341,7 @@ var BadEmoji = () => /* @__PURE__ */ React78.createElement(
9132
9341
  width: "16",
9133
9342
  xmlns: "http://www.w3.org/2000/svg"
9134
9343
  },
9135
- /* @__PURE__ */ React78.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ React78.createElement(
9344
+ /* @__PURE__ */ React79.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ React79.createElement(
9136
9345
  "path",
9137
9346
  {
9138
9347
  clipRule: "evenodd",
@@ -9142,7 +9351,7 @@ var BadEmoji = () => /* @__PURE__ */ React78.createElement(
9142
9351
  }
9143
9352
  ))
9144
9353
  );
9145
- var VeryBadEmoji = () => /* @__PURE__ */ React78.createElement(
9354
+ var VeryBadEmoji = () => /* @__PURE__ */ React79.createElement(
9146
9355
  "svg",
9147
9356
  {
9148
9357
  fill: "none",
@@ -9151,13 +9360,13 @@ var VeryBadEmoji = () => /* @__PURE__ */ React78.createElement(
9151
9360
  width: "16",
9152
9361
  xmlns: "http://www.w3.org/2000/svg"
9153
9362
  },
9154
- /* @__PURE__ */ React78.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ React78.createElement(
9363
+ /* @__PURE__ */ React79.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ React79.createElement(
9155
9364
  "path",
9156
9365
  {
9157
9366
  d: "M11.841 12.0225C12.7197 12.9324 12.7197 14.4077 11.841 15.3176C10.9623 16.2275 9.53769 16.2275 8.65901 15.3176C7.78033 14.4077 7.78033 12.9324 8.65901 12.0225L10.25 10.375L11.841 12.0225Z",
9158
9367
  fill: "#0070F3"
9159
9368
  }
9160
- ), /* @__PURE__ */ React78.createElement(
9369
+ ), /* @__PURE__ */ React79.createElement(
9161
9370
  "path",
9162
9371
  {
9163
9372
  clipRule: "evenodd",
@@ -9169,7 +9378,7 @@ var VeryBadEmoji = () => /* @__PURE__ */ React78.createElement(
9169
9378
  );
9170
9379
 
9171
9380
  // components/blocks/feedback/FeedbackForm.tsx
9172
- import React79 from "react";
9381
+ import React80 from "react";
9173
9382
  import { useForm as useForm7, Controller as Controller7 } from "react-hook-form";
9174
9383
  import { zodResolver as zodResolver7 } from "@hookform/resolvers/zod";
9175
9384
  import * as z7 from "zod";
@@ -9181,7 +9390,7 @@ var FeedbackForm = (props) => {
9181
9390
  const { handleSubmit, control, formState } = useForm7({
9182
9391
  resolver: zodResolver7(formSchema)
9183
9392
  });
9184
- return /* @__PURE__ */ React79.createElement(Card, null, /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, /* @__PURE__ */ React79.createElement(
9393
+ return /* @__PURE__ */ React80.createElement(Card, null, /* @__PURE__ */ React80.createElement(CardContent, { headless: true }, /* @__PURE__ */ React80.createElement(
9185
9394
  "form",
9186
9395
  {
9187
9396
  noValidate: true,
@@ -9194,13 +9403,13 @@ var FeedbackForm = (props) => {
9194
9403
  }),
9195
9404
  className: "hawa-flex hawa-flex-col hawa-gap-4"
9196
9405
  },
9197
- /* @__PURE__ */ React79.createElement(Label2, null, props.texts?.requestType),
9198
- /* @__PURE__ */ React79.createElement(
9406
+ /* @__PURE__ */ React80.createElement(Label2, null, props.texts?.requestType),
9407
+ /* @__PURE__ */ React80.createElement(
9199
9408
  Controller7,
9200
9409
  {
9201
9410
  name: "requestType",
9202
9411
  control,
9203
- render: ({ field }) => /* @__PURE__ */ React79.createElement(
9412
+ render: ({ field }) => /* @__PURE__ */ React80.createElement(
9204
9413
  Select,
9205
9414
  {
9206
9415
  ...field,
@@ -9211,13 +9420,13 @@ var FeedbackForm = (props) => {
9211
9420
  )
9212
9421
  }
9213
9422
  ),
9214
- /* @__PURE__ */ React79.createElement(Label2, null, props.texts.description),
9215
- /* @__PURE__ */ React79.createElement(
9423
+ /* @__PURE__ */ React80.createElement(Label2, null, props.texts.description),
9424
+ /* @__PURE__ */ React80.createElement(
9216
9425
  Controller7,
9217
9426
  {
9218
9427
  name: "description",
9219
9428
  control,
9220
- render: ({ field }) => /* @__PURE__ */ React79.createElement(
9429
+ render: ({ field }) => /* @__PURE__ */ React80.createElement(
9221
9430
  Textarea,
9222
9431
  {
9223
9432
  ...field,
@@ -9226,14 +9435,14 @@ var FeedbackForm = (props) => {
9226
9435
  )
9227
9436
  }
9228
9437
  ),
9229
- /* @__PURE__ */ React79.createElement(Button, { type: "submit" }, props.texts?.submit)
9438
+ /* @__PURE__ */ React80.createElement(Button, { type: "submit" }, props.texts?.submit)
9230
9439
  )));
9231
9440
  };
9232
9441
 
9233
9442
  // components/blocks/misc/LegalTexts.tsx
9234
- import React80 from "react";
9443
+ import React81 from "react";
9235
9444
  var LegalTexts = ({ tabs, ...props }) => {
9236
- return /* @__PURE__ */ React80.createElement(
9445
+ return /* @__PURE__ */ React81.createElement(
9237
9446
  Tabs,
9238
9447
  {
9239
9448
  value: props.activeTab,
@@ -9241,8 +9450,8 @@ var LegalTexts = ({ tabs, ...props }) => {
9241
9450
  defaultValue: props.defaultTab || tabs[0].value,
9242
9451
  dir: props.direction
9243
9452
  },
9244
- /* @__PURE__ */ React80.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React80.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
9245
- tabs.map((tab, index) => /* @__PURE__ */ React80.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React80.createElement(
9453
+ /* @__PURE__ */ React81.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React81.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
9454
+ tabs.map((tab, index) => /* @__PURE__ */ React81.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React81.createElement(
9246
9455
  ScrollArea,
9247
9456
  {
9248
9457
  className: cn(
@@ -9256,9 +9465,9 @@ var LegalTexts = ({ tabs, ...props }) => {
9256
9465
  };
9257
9466
 
9258
9467
  // components/blocks/misc/EmptyState.tsx
9259
- import React81 from "react";
9468
+ import React82 from "react";
9260
9469
  var EmptyState = ({ texts, onActionClick }) => {
9261
- return /* @__PURE__ */ React81.createElement(Card, null, /* @__PURE__ */ React81.createElement(CardContent, { headless: true }, /* @__PURE__ */ React81.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center " }, /* @__PURE__ */ React81.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React81.createElement(
9470
+ return /* @__PURE__ */ React82.createElement(Card, null, /* @__PURE__ */ React82.createElement(CardContent, { headless: true }, /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center " }, /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React82.createElement(
9262
9471
  "svg",
9263
9472
  {
9264
9473
  stroke: "currentColor",
@@ -9268,30 +9477,30 @@ var EmptyState = ({ texts, onActionClick }) => {
9268
9477
  height: "0.35em",
9269
9478
  width: "0.35em"
9270
9479
  },
9271
- /* @__PURE__ */ React81.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
9272
- )), /* @__PURE__ */ React81.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, texts?.youreCaughtUp ?? "You're all caught up"))), /* @__PURE__ */ React81.createElement(CardFooter, null, /* @__PURE__ */ React81.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, texts?.actionText ?? "Go Home")));
9480
+ /* @__PURE__ */ React82.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
9481
+ )), /* @__PURE__ */ React82.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, texts?.youreCaughtUp ?? "You're all caught up"))), /* @__PURE__ */ React82.createElement(CardFooter, null, /* @__PURE__ */ React82.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, texts?.actionText ?? "Go Home")));
9273
9482
  };
9274
9483
 
9275
9484
  // components/blocks/misc/Testimonial.tsx
9276
- import React82 from "react";
9485
+ import React83 from "react";
9277
9486
  var Testimonial = (props) => {
9278
- return /* @__PURE__ */ React82.createElement(Card, null, /* @__PURE__ */ React82.createElement(CardContent, { headless: true }, /* @__PURE__ */ React82.createElement("div", null, /* @__PURE__ */ React82.createElement("p", { className: "mb-4 max-w-sm" }, "The team at Sikka Software is simply amazing. The tech is easy to follow, easy to work with, and infinitely flexible. The solution opportunities created by Tines are endless.")), /* @__PURE__ */ React82.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React82.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React82.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React82.createElement(
9487
+ return /* @__PURE__ */ React83.createElement(Card, null, /* @__PURE__ */ React83.createElement(CardContent, { headless: true }, /* @__PURE__ */ React83.createElement("div", null, /* @__PURE__ */ React83.createElement("p", { className: "mb-4 max-w-sm" }, "The team at Sikka Software is simply amazing. The tech is easy to follow, easy to work with, and infinitely flexible. The solution opportunities created by Tines are endless.")), /* @__PURE__ */ React83.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React83.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React83.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React83.createElement(
9279
9488
  "path",
9280
9489
  {
9281
9490
  d: "M14.1412 22.4427L17.5803 16.5199C17.7671 16.1981 18.1112 16 18.4834 16H20.8581C21.653 16 22.1565 16.8528 21.7725 17.5488L19.3042 22.0225C19.2202 22.1747 19.1762 22.3458 19.1762 22.5196C19.1762 23.0879 19.6369 23.5486 20.2052 23.5486H21.5827C22.1594 23.5486 22.627 24.0162 22.627 24.5929V31.347C22.627 31.9237 22.1594 32.3913 21.5827 32.3913H15.0443C14.4676 32.3913 14 31.9237 14 31.347V22.9671C14 22.7829 14.0487 22.602 14.1412 22.4427Z",
9282
9491
  fill: "#FFFFFF"
9283
9492
  }
9284
- ), /* @__PURE__ */ React82.createElement(
9493
+ ), /* @__PURE__ */ React83.createElement(
9285
9494
  "path",
9286
9495
  {
9287
9496
  d: "M25.356 22.4427L28.7951 16.5199C28.982 16.1981 29.326 16 29.6982 16H32.0729C32.8679 16 33.3713 16.8528 32.9873 17.5488L30.5191 22.0225C30.4351 22.1747 30.391 22.3458 30.391 22.5196C30.391 23.0879 30.8518 23.5486 31.4201 23.5486H32.7975C33.3743 23.5486 33.8418 24.0162 33.8418 24.5929V31.347C33.8418 31.9237 33.3743 32.3913 32.7975 32.3913H26.2592C25.6824 32.3913 25.2148 31.9237 25.2148 31.347V22.9671C25.2148 22.7829 25.2636 22.602 25.356 22.4427Z",
9288
9497
  fill: "#FFFFFF"
9289
9498
  }
9290
- )), /* @__PURE__ */ React82.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React82.createElement("div", null, /* @__PURE__ */ React82.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React82.createElement("div", null, " Chief Information Security Officer")))));
9499
+ )), /* @__PURE__ */ React83.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React83.createElement("div", null, /* @__PURE__ */ React83.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React83.createElement("div", null, " Chief Information Security Officer")))));
9291
9500
  };
9292
9501
 
9293
9502
  // components/blocks/misc/LeadGenerator.tsx
9294
- import React83 from "react";
9503
+ import React84 from "react";
9295
9504
  import { useForm as useForm8, Controller as Controller8 } from "react-hook-form";
9296
9505
  var LeadGenerator = ({ texts, submitHandler }) => {
9297
9506
  const { handleSubmit, control, formState } = useForm8();
@@ -9302,14 +9511,14 @@ var LeadGenerator = ({ texts, submitHandler }) => {
9302
9511
  console.log("handleNewsletterSub props was not provided");
9303
9512
  }
9304
9513
  };
9305
- return /* @__PURE__ */ React83.createElement(Card, null, /* @__PURE__ */ React83.createElement(CardHeader, null, /* @__PURE__ */ React83.createElement(CardTitle, null, texts?.title), /* @__PURE__ */ React83.createElement(CardDescription, null, texts?.subtitle)), /* @__PURE__ */ React83.createElement(CardContent, null, /* @__PURE__ */ React83.createElement(
9514
+ return /* @__PURE__ */ React84.createElement(Card, null, /* @__PURE__ */ React84.createElement(CardHeader, null, /* @__PURE__ */ React84.createElement(CardTitle, null, texts?.title), /* @__PURE__ */ React84.createElement(CardDescription, null, texts?.subtitle)), /* @__PURE__ */ React84.createElement(CardContent, null, /* @__PURE__ */ React84.createElement(
9306
9515
  "form",
9307
9516
  {
9308
9517
  noValidate: true,
9309
9518
  className: "hawa-flex hawa-flex-row hawa-gap-2",
9310
9519
  onSubmit: handleSubmit(onSubmit)
9311
9520
  },
9312
- /* @__PURE__ */ React83.createElement(
9521
+ /* @__PURE__ */ React84.createElement(
9313
9522
  Controller8,
9314
9523
  {
9315
9524
  name: "email",
@@ -9322,27 +9531,27 @@ var LeadGenerator = ({ texts, submitHandler }) => {
9322
9531
  }
9323
9532
  },
9324
9533
  defaultValue: "",
9325
- render: ({ field }) => /* @__PURE__ */ React83.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
9534
+ render: ({ field }) => /* @__PURE__ */ React84.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
9326
9535
  }
9327
9536
  ),
9328
- /* @__PURE__ */ React83.createElement(Button, { type: "submit", disabled: !formState.isValid }, texts?.submit ?? "Submit")
9537
+ /* @__PURE__ */ React84.createElement(Button, { type: "submit", disabled: !formState.isValid }, texts?.submit ?? "Submit")
9329
9538
  )));
9330
9539
  };
9331
9540
 
9332
9541
  // components/blocks/misc/Announcement.tsx
9333
- import React84 from "react";
9542
+ import React85 from "react";
9334
9543
  var Announcement = ({
9335
9544
  onActionClick,
9336
9545
  ...props
9337
9546
  }) => {
9338
- return /* @__PURE__ */ React84.createElement(Card, null, /* @__PURE__ */ React84.createElement(
9547
+ return /* @__PURE__ */ React85.createElement(Card, null, /* @__PURE__ */ React85.createElement(
9339
9548
  CardContent,
9340
9549
  {
9341
9550
  headless: true,
9342
9551
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
9343
9552
  },
9344
- /* @__PURE__ */ React84.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center " }, /* @__PURE__ */ React84.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React84.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
9345
- /* @__PURE__ */ React84.createElement(
9553
+ /* @__PURE__ */ React85.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center " }, /* @__PURE__ */ React85.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React85.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
9554
+ /* @__PURE__ */ React85.createElement(
9346
9555
  Button,
9347
9556
  {
9348
9557
  onClick: () => onActionClick(),
@@ -9354,18 +9563,18 @@ var Announcement = ({
9354
9563
  };
9355
9564
 
9356
9565
  // components/blocks/misc/NotFound.tsx
9357
- import React85 from "react";
9566
+ import React86 from "react";
9358
9567
  var NotFound = ({
9359
9568
  variant = "contained",
9360
9569
  texts
9361
9570
  }) => {
9362
- return /* @__PURE__ */ React85.createElement(Card, null, /* @__PURE__ */ React85.createElement(CardContent, { headless: true }, /* @__PURE__ */ React85.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React85.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React85.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, texts?.pageNotFound ?? "Page Not Found"), /* @__PURE__ */ React85.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, texts?.ifLost ?? /* @__PURE__ */ React85.createElement(React85.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React85.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React85.createElement(Button, { className: "hawa-w-full" }, texts?.home ?? "Home"))));
9571
+ return /* @__PURE__ */ React86.createElement(Card, null, /* @__PURE__ */ React86.createElement(CardContent, { headless: true }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React86.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, texts?.pageNotFound ?? "Page Not Found"), /* @__PURE__ */ React86.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, texts?.ifLost ?? /* @__PURE__ */ React86.createElement(React86.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React86.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React86.createElement(Button, { className: "hawa-w-full" }, texts?.home ?? "Home"))));
9363
9572
  };
9364
9573
 
9365
9574
  // components/blocks/misc/NoPermission.tsx
9366
- import React86 from "react";
9575
+ import React87 from "react";
9367
9576
  var NoPermission = ({ texts }) => {
9368
- return /* @__PURE__ */ React86.createElement(Card, null, /* @__PURE__ */ React86.createElement(CardContent, { headless: true }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React86.createElement(
9577
+ return /* @__PURE__ */ React87.createElement(Card, null, /* @__PURE__ */ React87.createElement(CardContent, { headless: true }, /* @__PURE__ */ React87.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React87.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React87.createElement(
9369
9578
  "svg",
9370
9579
  {
9371
9580
  stroke: "currentColor",
@@ -9375,14 +9584,14 @@ var NoPermission = ({ texts }) => {
9375
9584
  height: "0.35em",
9376
9585
  width: "0.35em"
9377
9586
  },
9378
- /* @__PURE__ */ React86.createElement("path", { d: "M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z" })
9379
- ), " "), /* @__PURE__ */ React86.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, texts?.title ?? "You don't have permission"), /* @__PURE__ */ React86.createElement("div", null, texts?.subtitle ?? "If you think this is a problem please contact your administrator or our customer support"))));
9587
+ /* @__PURE__ */ React87.createElement("path", { d: "M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z" })
9588
+ ), " "), /* @__PURE__ */ React87.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, texts?.title ?? "You don't have permission"), /* @__PURE__ */ React87.createElement("div", null, texts?.subtitle ?? "If you think this is a problem please contact your administrator or our customer support"))));
9380
9589
  };
9381
9590
 
9382
9591
  // components/blocks/pricing/PricingPlans.tsx
9383
- import React87 from "react";
9592
+ import React88 from "react";
9384
9593
  var PricingPlans = (props) => {
9385
- return /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React87.createElement(
9594
+ return /* @__PURE__ */ React88.createElement("div", null, /* @__PURE__ */ React88.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React88.createElement(
9386
9595
  Radio,
9387
9596
  {
9388
9597
  design: "tabs",
@@ -9394,7 +9603,7 @@ var PricingPlans = (props) => {
9394
9603
  }
9395
9604
  }
9396
9605
  }
9397
- ), /* @__PURE__ */ React87.createElement(
9606
+ ), /* @__PURE__ */ React88.createElement(
9398
9607
  Radio,
9399
9608
  {
9400
9609
  design: "tabs",
@@ -9406,8 +9615,8 @@ var PricingPlans = (props) => {
9406
9615
  }
9407
9616
  }
9408
9617
  }
9409
- )), /* @__PURE__ */ React87.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.plans.map((plan, index) => {
9410
- return /* @__PURE__ */ React87.createElement(
9618
+ )), /* @__PURE__ */ React88.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.plans.map((plan, index) => {
9619
+ return /* @__PURE__ */ React88.createElement(
9411
9620
  PricingCard,
9412
9621
  {
9413
9622
  key: index,
@@ -9433,8 +9642,8 @@ var PricingPlans = (props) => {
9433
9642
  };
9434
9643
 
9435
9644
  // components/blocks/pricing/ComparingPlans.tsx
9436
- import React88, { useState as useState34 } from "react";
9437
- var CheckMark = () => /* @__PURE__ */ React88.createElement(
9645
+ import React89, { useState as useState34 } from "react";
9646
+ var CheckMark = () => /* @__PURE__ */ React89.createElement(
9438
9647
  "svg",
9439
9648
  {
9440
9649
  className: "hawa-h-5 hawa-w-5 hawa-text-green-500",
@@ -9442,7 +9651,7 @@ var CheckMark = () => /* @__PURE__ */ React88.createElement(
9442
9651
  fill: "currentColor",
9443
9652
  viewBox: "0 0 20 20"
9444
9653
  },
9445
- /* @__PURE__ */ React88.createElement(
9654
+ /* @__PURE__ */ React89.createElement(
9446
9655
  "path",
9447
9656
  {
9448
9657
  fillRule: "evenodd",
@@ -9451,7 +9660,7 @@ var CheckMark = () => /* @__PURE__ */ React88.createElement(
9451
9660
  }
9452
9661
  )
9453
9662
  );
9454
- var UncheckMark = () => /* @__PURE__ */ React88.createElement(
9663
+ var UncheckMark = () => /* @__PURE__ */ React89.createElement(
9455
9664
  "svg",
9456
9665
  {
9457
9666
  className: "hawa-h-5 hawa-w-5 hawa-text-red-500",
@@ -9459,7 +9668,7 @@ var UncheckMark = () => /* @__PURE__ */ React88.createElement(
9459
9668
  fill: "currentColor",
9460
9669
  viewBox: "0 0 20 20"
9461
9670
  },
9462
- /* @__PURE__ */ React88.createElement(
9671
+ /* @__PURE__ */ React89.createElement(
9463
9672
  "path",
9464
9673
  {
9465
9674
  fillRule: "evenodd",
@@ -9471,7 +9680,7 @@ var UncheckMark = () => /* @__PURE__ */ React88.createElement(
9471
9680
  var ComparingPlans = (props) => {
9472
9681
  const [currentCurrency, setCurrentCurrency] = useState34("sar");
9473
9682
  const [currentCycle, setCurrentCycle] = useState34("month");
9474
- return /* @__PURE__ */ React88.createElement("div", { id: "detailed-pricing", className: "hawa-w-full hawa-overflow-x-auto" }, /* @__PURE__ */ React88.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React88.createElement(
9683
+ return /* @__PURE__ */ React89.createElement("div", { id: "detailed-pricing", className: "hawa-w-full hawa-overflow-x-auto" }, /* @__PURE__ */ React89.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React89.createElement(
9475
9684
  Radio,
9476
9685
  {
9477
9686
  design: "tabs",
@@ -9485,7 +9694,7 @@ var ComparingPlans = (props) => {
9485
9694
  }
9486
9695
  }
9487
9696
  }
9488
- ), /* @__PURE__ */ React88.createElement(
9697
+ ), /* @__PURE__ */ React89.createElement(
9489
9698
  Radio,
9490
9699
  {
9491
9700
  design: "tabs",
@@ -9499,15 +9708,15 @@ var ComparingPlans = (props) => {
9499
9708
  }
9500
9709
  }
9501
9710
  }
9502
- )), /* @__PURE__ */ React88.createElement("div", { className: " hawa-overflow-hidden hawa-rounded" }, /* @__PURE__ */ React88.createElement("div", { className: "hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border-b hawa-border-t hawa-border-gray-200 hawa-bg-gray-100 hawa-p-4 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-white" }, /* @__PURE__ */ React88.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => /* @__PURE__ */ React88.createElement("div", { key: i }, /* @__PURE__ */ React88.createElement("h5", { className: "hawa-text-md hawa-font-bold hawa-text-gray-500 dark:hawa-text-gray-400" }, plan.texts.title), /* @__PURE__ */ React88.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-gray-900 dark:hawa-text-white" }, /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React88.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React88.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal hawa-text-gray-500 dark:hawa-text-gray-400" }, "/ ", plan.texts.cycleText)), /* @__PURE__ */ React88.createElement("h5", { className: "hawa-text-md hawa-font-normal hawa-text-gray-500 dark:hawa-text-gray-400" }, plan.texts.subtitle)))), props.plans?.map((plan) => {
9711
+ )), /* @__PURE__ */ React89.createElement("div", { className: " hawa-overflow-hidden hawa-rounded" }, /* @__PURE__ */ React89.createElement("div", { className: "hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border-b hawa-border-t hawa-border-gray-200 hawa-bg-gray-100 hawa-p-4 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-white" }, /* @__PURE__ */ React89.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => /* @__PURE__ */ React89.createElement("div", { key: i }, /* @__PURE__ */ React89.createElement("h5", { className: "hawa-text-md hawa-font-bold hawa-text-gray-500 dark:hawa-text-gray-400" }, plan.texts.title), /* @__PURE__ */ React89.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-gray-900 dark:hawa-text-white" }, /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React89.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React89.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal hawa-text-gray-500 dark:hawa-text-gray-400" }, "/ ", plan.texts.cycleText)), /* @__PURE__ */ React89.createElement("h5", { className: "hawa-text-md hawa-font-normal hawa-text-gray-500 dark:hawa-text-gray-400" }, plan.texts.subtitle)))), props.plans?.map((plan) => {
9503
9712
  return plan.features.map((feature, j) => {
9504
- return /* @__PURE__ */ React88.createElement(
9713
+ return /* @__PURE__ */ React89.createElement(
9505
9714
  "div",
9506
9715
  {
9507
9716
  key: j,
9508
9717
  className: "hawa-grid hawa-grid-cols-4 hawa-gap-x-16 hawa-border-b hawa-border-gray-200 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:hawa-border-gray-700"
9509
9718
  },
9510
- /* @__PURE__ */ React88.createElement("div", { className: " hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-gray-500 dark:hawa-text-gray-400" }, feature.text, feature.description && /* @__PURE__ */ React88.createElement(Tooltip, { side: "right", content: feature.description }, /* @__PURE__ */ React88.createElement(
9719
+ /* @__PURE__ */ React89.createElement("div", { className: " hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-gray-500 dark:hawa-text-gray-400" }, feature.text, feature.description && /* @__PURE__ */ React89.createElement(Tooltip, { side: "right", content: feature.description }, /* @__PURE__ */ React89.createElement(
9511
9720
  "svg",
9512
9721
  {
9513
9722
  stroke: "currentColor",
@@ -9517,18 +9726,18 @@ var ComparingPlans = (props) => {
9517
9726
  height: "1em",
9518
9727
  width: "1em"
9519
9728
  },
9520
- /* @__PURE__ */ React88.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
9729
+ /* @__PURE__ */ React89.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
9521
9730
  ))),
9522
- /* @__PURE__ */ React88.createElement(UncheckMark, null),
9523
- /* @__PURE__ */ React88.createElement(CheckMark, null),
9524
- /* @__PURE__ */ React88.createElement(UncheckMark, null)
9731
+ /* @__PURE__ */ React89.createElement(UncheckMark, null),
9732
+ /* @__PURE__ */ React89.createElement(CheckMark, null),
9733
+ /* @__PURE__ */ React89.createElement(UncheckMark, null)
9525
9734
  );
9526
9735
  });
9527
9736
  })));
9528
9737
  };
9529
9738
 
9530
9739
  // components/blocks/pricing/HorizontalPricing.tsx
9531
- import React89, { useState as useState35 } from "react";
9740
+ import React90, { useState as useState35 } from "react";
9532
9741
  import clsx12 from "clsx";
9533
9742
  var HorizontalPricing = (props) => {
9534
9743
  const [selectedCard, setSelectedCard] = useState35("");
@@ -9537,21 +9746,21 @@ var HorizontalPricing = (props) => {
9537
9746
  { title: "business", price: "$99", cycle: "/mo" },
9538
9747
  { title: "enterprise", price: "$149", cycle: "/mo" }
9539
9748
  ];
9540
- return /* @__PURE__ */ React89.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React89.createElement("div", { className: "hawa-max-w-2xl " }, /* @__PURE__ */ React89.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React89.createElement(
9749
+ return /* @__PURE__ */ React90.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-max-w-2xl " }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React90.createElement(
9541
9750
  Radio,
9542
9751
  {
9543
9752
  design: "tabs",
9544
9753
  options: props.currencies,
9545
9754
  defaultValue: props.currentCurrency
9546
9755
  }
9547
- ), /* @__PURE__ */ React89.createElement(
9756
+ ), /* @__PURE__ */ React90.createElement(
9548
9757
  Radio,
9549
9758
  {
9550
9759
  design: "tabs",
9551
9760
  options: props.billingCycles,
9552
9761
  defaultValue: props.currentCycle
9553
9762
  }
9554
- )), data.map((d, i) => /* @__PURE__ */ React89.createElement(
9763
+ )), data.map((d, i) => /* @__PURE__ */ React90.createElement(
9555
9764
  "label",
9556
9765
  {
9557
9766
  key: i,
@@ -9559,7 +9768,7 @@ var HorizontalPricing = (props) => {
9559
9768
  className: "",
9560
9769
  onClick: () => setSelectedCard(d.title)
9561
9770
  },
9562
- /* @__PURE__ */ React89.createElement(
9771
+ /* @__PURE__ */ React90.createElement(
9563
9772
  "input",
9564
9773
  {
9565
9774
  type: "radio",
@@ -9568,7 +9777,7 @@ var HorizontalPricing = (props) => {
9568
9777
  className: "hawa-peer hawa-appearance-none"
9569
9778
  }
9570
9779
  ),
9571
- /* @__PURE__ */ React89.createElement(
9780
+ /* @__PURE__ */ React90.createElement(
9572
9781
  "div",
9573
9782
  {
9574
9783
  className: clsx12(
@@ -9576,18 +9785,18 @@ var HorizontalPricing = (props) => {
9576
9785
  "hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
9577
9786
  )
9578
9787
  },
9579
- /* @__PURE__ */ React89.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React89.createElement(CheckIcons, null), /* @__PURE__ */ React89.createElement(
9788
+ /* @__PURE__ */ React90.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React90.createElement(CheckIcons, null), /* @__PURE__ */ React90.createElement(
9580
9789
  CardText,
9581
9790
  {
9582
9791
  title: "Enterprise",
9583
9792
  subtitle: "For startups and new businesses"
9584
9793
  }
9585
9794
  )),
9586
- /* @__PURE__ */ React89.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
9795
+ /* @__PURE__ */ React90.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
9587
9796
  )
9588
9797
  ))));
9589
9798
  };
9590
- var CheckIcons = () => /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(
9799
+ var CheckIcons = () => /* @__PURE__ */ React90.createElement(React90.Fragment, null, /* @__PURE__ */ React90.createElement(
9591
9800
  "svg",
9592
9801
  {
9593
9802
  fill: "none",
@@ -9596,7 +9805,7 @@ var CheckIcons = () => /* @__PURE__ */ React89.createElement(React89.Fragment, n
9596
9805
  stroke: "currentColor",
9597
9806
  className: "hawa-default hawa-h-8 hawa-w-8 hawa-text-neutral-500"
9598
9807
  },
9599
- /* @__PURE__ */ React89.createElement(
9808
+ /* @__PURE__ */ React90.createElement(
9600
9809
  "path",
9601
9810
  {
9602
9811
  strokeLinecap: "round",
@@ -9604,14 +9813,14 @@ var CheckIcons = () => /* @__PURE__ */ React89.createElement(React89.Fragment, n
9604
9813
  d: "M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
9605
9814
  }
9606
9815
  )
9607
- ), /* @__PURE__ */ React89.createElement(
9816
+ ), /* @__PURE__ */ React90.createElement(
9608
9817
  "svg",
9609
9818
  {
9610
9819
  viewBox: "0 0 24 24",
9611
9820
  fill: "currentColor",
9612
9821
  className: "hawa-active hawa-hidden hawa-h-8 hawa-w-8 hawa-text-blue-500"
9613
9822
  },
9614
- /* @__PURE__ */ React89.createElement(
9823
+ /* @__PURE__ */ React90.createElement(
9615
9824
  "path",
9616
9825
  {
9617
9826
  fillRule: "evenodd",
@@ -9620,13 +9829,13 @@ var CheckIcons = () => /* @__PURE__ */ React89.createElement(React89.Fragment, n
9620
9829
  }
9621
9830
  )
9622
9831
  ));
9623
- var CardText = (props) => /* @__PURE__ */ React89.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React89.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React89.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
9624
- var CardPrice = (props) => /* @__PURE__ */ React89.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React89.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
9832
+ var CardText = (props) => /* @__PURE__ */ React90.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React90.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React90.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
9833
+ var CardPrice = (props) => /* @__PURE__ */ React90.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React90.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
9625
9834
 
9626
9835
  // components/blocks/Usage.tsx
9627
- import React90 from "react";
9836
+ import React91 from "react";
9628
9837
  var Usage = (props) => {
9629
- return /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-1 hawa-rounded hawa-border hawa-bg-card hawa-p-4" }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, /* @__PURE__ */ React90.createElement("span", { className: "hawa-bg-white-200" }, props.title), props.tooltip && /* @__PURE__ */ React90.createElement(Tooltip, { content: props.tooltip }, /* @__PURE__ */ React90.createElement(
9838
+ return /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-1 hawa-rounded hawa-border hawa-bg-card hawa-p-4" }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, /* @__PURE__ */ React91.createElement("span", { className: "hawa-bg-white-200" }, props.title), props.tooltip && /* @__PURE__ */ React91.createElement(Tooltip, { content: props.tooltip }, /* @__PURE__ */ React91.createElement(
9630
9839
  "svg",
9631
9840
  {
9632
9841
  stroke: "currentColor",
@@ -9637,8 +9846,8 @@ var Usage = (props) => {
9637
9846
  height: "1em",
9638
9847
  width: "1em"
9639
9848
  },
9640
- /* @__PURE__ */ React90.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
9641
- ))), /* @__PURE__ */ React90.createElement("div", { className: "hawa-bg-white-100 hawa-flex hawa-flex-row" }, /* @__PURE__ */ React90.createElement("div", null, props.currentUsage), /* @__PURE__ */ React90.createElement("div", null, " (", props.percent, "%)")), /* @__PURE__ */ React90.createElement(Progress, { value: props.percent ?? 0 }));
9849
+ /* @__PURE__ */ React91.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
9850
+ ))), /* @__PURE__ */ React91.createElement("div", { className: "hawa-bg-white-100 hawa-flex hawa-flex-row" }, /* @__PURE__ */ React91.createElement("div", null, props.currentUsage), /* @__PURE__ */ React91.createElement("div", null, " (", props.percent, "%)")), /* @__PURE__ */ React91.createElement(Progress, { value: props.percent ?? 0 }));
9642
9851
  };
9643
9852
 
9644
9853
  // components/hooks/useDiscloser.ts
@@ -9868,6 +10077,22 @@ export {
9868
10077
  Loading,
9869
10078
  LoginForm,
9870
10079
  Logos,
10080
+ Menubar,
10081
+ MenubarCheckboxItem,
10082
+ MenubarContent,
10083
+ MenubarGroup,
10084
+ MenubarItem,
10085
+ MenubarLabel,
10086
+ MenubarMenu,
10087
+ MenubarPortal,
10088
+ MenubarRadioGroup,
10089
+ MenubarRadioItem,
10090
+ MenubarSeparator,
10091
+ MenubarShortcut,
10092
+ MenubarSub,
10093
+ MenubarSubContent,
10094
+ MenubarSubTrigger,
10095
+ MenubarTrigger,
9871
10096
  NavMenuItem,
9872
10097
  Navbar,
9873
10098
  NavigationMenu,