@sikka/hawa 0.28.2-next → 0.29.0-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
@@ -7817,8 +7817,18 @@ var InterfaceSettings = ({
7817
7817
  ));
7818
7818
  };
7819
7819
 
7820
- // layout/stats/Stats.tsx
7820
+ // elements/phoneMockup/PhoneMockup.tsx
7821
7821
  import React61 from "react";
7822
+ var PhoneMockup = ({
7823
+ children,
7824
+ upperOverlayGradiant,
7825
+ lowerOverlayGradiant,
7826
+ phone,
7827
+ hideButtons
7828
+ }) => /* @__PURE__ */ React61.createElement("div", { className: "hawa-relative hawa-mx-auto hawa-h-[600px] hawa-w-[300px] hawa-rounded-[2.5rem] hawa-border-[14px] hawa-border-gray-800 hawa-bg-gray-800 hawa-dark:border-gray-800" }, !hideButtons && /* @__PURE__ */ React61.createElement(React61.Fragment, null, /* @__PURE__ */ React61.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[72px] hawa-h-[32px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React61.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[124px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React61.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[178px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React61.createElement("div", { className: "hawa-absolute hawa--right-[16px] hawa-top-[142px] hawa-h-[64px] hawa-w-[3px] hawa-rounded-r-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" })), /* @__PURE__ */ React61.createElement("div", { className: "no-scrollbar hawa-left-0 hawa-h-[572px] hawa-w-[272px] hawa-overflow-y-scroll hawa-rounded-[2rem] hawa-bg-white hawa-[clip-path:inset(0px_-1px_0px_0px_round_2rem)] hawa-dark:bg-gray-800" }, children), upperOverlayGradiant && /* @__PURE__ */ React61.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-left-0 hawa-top-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-t-[2rem] hawa-bg-gradient-to-t hawa-from-transparent hawa-to-black hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }), lowerOverlayGradiant && /* @__PURE__ */ React61.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-bottom-0 hawa-left-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-b-[2rem] hawa-bg-gradient-to-t hawa-from-black hawa-to-transparent hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }));
7829
+
7830
+ // layout/stats/Stats.tsx
7831
+ import React62 from "react";
7822
7832
  var Stats = ({
7823
7833
  label,
7824
7834
  icon,
@@ -7837,7 +7847,7 @@ var Stats = ({
7837
7847
  negative: "hawa-text-red-600 dark:hawa-text-red-500",
7838
7848
  muted: "hawa-text-muted-foreground"
7839
7849
  };
7840
- return /* @__PURE__ */ React61.createElement(Card, { ...props, clickable }, /* @__PURE__ */ React61.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between hawa-p-4" }, /* @__PURE__ */ React61.createElement(CardTitle, { className: "hawa-text-sm hawa-font-medium" }, label), icon && /* @__PURE__ */ React61.createElement("span", null, icon)), /* @__PURE__ */ React61.createElement(CardContent, { className: "hawa-transition-all" }, isLoading ? /* @__PURE__ */ React61.createElement(Skeleton, { className: "hawa-h-8 hawa-w-3/4" }) : /* @__PURE__ */ React61.createElement("div", { className: "hawa-text-2xl hawa-font-bold" }, number), helperText && /* @__PURE__ */ React61.createElement(
7850
+ return /* @__PURE__ */ React62.createElement(Card, { ...props, clickable }, /* @__PURE__ */ React62.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between hawa-p-4" }, /* @__PURE__ */ React62.createElement(CardTitle, { className: "hawa-text-sm hawa-font-medium" }, label), icon && /* @__PURE__ */ React62.createElement("span", null, icon)), /* @__PURE__ */ React62.createElement(CardContent, { className: "hawa-transition-all" }, isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-h-8 hawa-w-3/4" }) : /* @__PURE__ */ React62.createElement("div", { className: "hawa-text-2xl hawa-font-bold" }, number), helperText && /* @__PURE__ */ React62.createElement(
7841
7851
  "div",
7842
7852
  {
7843
7853
  className: cn(
@@ -7846,18 +7856,18 @@ var Stats = ({
7846
7856
  helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
7847
7857
  )
7848
7858
  },
7849
- isLoading ? /* @__PURE__ */ React61.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : helperText
7850
- ), chart && (isLoading ? /* @__PURE__ */ React61.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : chart)));
7859
+ isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : helperText
7860
+ ), chart && (isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : chart)));
7851
7861
  };
7852
7862
 
7853
7863
  // layout/sidebar/Sidebar.tsx
7854
- import * as React62 from "react";
7864
+ import * as React63 from "react";
7855
7865
  import * as AccordionPrimitive6 from "@radix-ui/react-accordion";
7856
7866
  var Accordion2 = AccordionPrimitive6.Root;
7857
7867
  var triggerStyles = "hawa-flex hawa-flex-1 hawa-items-center hawa-duration-75 hawa-select-none hawa-cursor-pointer hawa-rounded hawa-justify-between hawa-p-2 hawa-px-3 hawa-font-medium hawa-transition-all [&[data-state=open]>svg]:hawa--rotate-90";
7858
- var AccordionItem2 = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React62.createElement(AccordionPrimitive6.Item, { ref, className: cn(className), ...props }));
7868
+ var AccordionItem2 = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React63.createElement(AccordionPrimitive6.Item, { ref, className: cn(className), ...props }));
7859
7869
  AccordionItem2.displayName = "AccordionItem";
7860
- var AccordionTrigger2 = React62.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React62.createElement(AccordionPrimitive6.Header, { className: "flex" }, /* @__PURE__ */ React62.createElement(
7870
+ var AccordionTrigger2 = React63.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React63.createElement(AccordionPrimitive6.Header, { className: "flex" }, /* @__PURE__ */ React63.createElement(
7861
7871
  AccordionPrimitive6.Trigger,
7862
7872
  {
7863
7873
  ref,
@@ -7865,7 +7875,7 @@ var AccordionTrigger2 = React62.forwardRef(({ className, showArrow, children, ..
7865
7875
  ...props
7866
7876
  },
7867
7877
  children,
7868
- showArrow && /* @__PURE__ */ React62.createElement(
7878
+ showArrow && /* @__PURE__ */ React63.createElement(
7869
7879
  "svg",
7870
7880
  {
7871
7881
  "aria-label": "Chevron Right Icon",
@@ -7876,11 +7886,11 @@ var AccordionTrigger2 = React62.forwardRef(({ className, showArrow, children, ..
7876
7886
  width: "1em",
7877
7887
  className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
7878
7888
  },
7879
- /* @__PURE__ */ React62.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" })
7889
+ /* @__PURE__ */ React63.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" })
7880
7890
  )
7881
7891
  )));
7882
7892
  AccordionTrigger2.displayName = AccordionPrimitive6.Trigger.displayName;
7883
- var AccordionContent2 = React62.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React62.createElement(
7893
+ var AccordionContent2 = React63.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React63.createElement(
7884
7894
  AccordionPrimitive6.Content,
7885
7895
  {
7886
7896
  ref,
@@ -7890,7 +7900,7 @@ var AccordionContent2 = React62.forwardRef(({ className, children, ...props }, r
7890
7900
  ),
7891
7901
  ...props
7892
7902
  },
7893
- /* @__PURE__ */ React62.createElement("div", null, children)
7903
+ /* @__PURE__ */ React63.createElement("div", null, children)
7894
7904
  ));
7895
7905
  AccordionContent2.displayName = AccordionPrimitive6.Content.displayName;
7896
7906
  var SidebarGroup = ({
@@ -7904,7 +7914,7 @@ var SidebarGroup = ({
7904
7914
  direction,
7905
7915
  isOpen
7906
7916
  }) => {
7907
- return /* @__PURE__ */ React62.createElement("div", { className: "hawa-m-2" }, title && /* @__PURE__ */ React62.createElement("h3", { className: "hawa-mb-1 hawa-font-bold" }, title), /* @__PURE__ */ React62.createElement("ul", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React62.createElement(
7917
+ return /* @__PURE__ */ React63.createElement("div", { className: "hawa-m-2" }, title && /* @__PURE__ */ React63.createElement("h3", { className: "hawa-mb-1 hawa-font-bold" }, title), /* @__PURE__ */ React63.createElement("ul", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React63.createElement(
7908
7918
  Accordion2,
7909
7919
  {
7910
7920
  value: openedItem,
@@ -7915,7 +7925,7 @@ var SidebarGroup = ({
7915
7925
  collapsible: true,
7916
7926
  className: "hawa-flex hawa-flex-col hawa-gap-1"
7917
7927
  },
7918
- items.map((item, idx) => /* @__PURE__ */ React62.createElement(
7928
+ items.map((item, idx) => /* @__PURE__ */ React63.createElement(
7919
7929
  SidebarItem,
7920
7930
  {
7921
7931
  isOpen,
@@ -7941,14 +7951,14 @@ var SidebarItem = ({
7941
7951
  return props.selectedItem === value ? "hawa-bg-primary/90 hawa-text-primary-foreground hawa-cursor-default" : "hover:hawa-bg-primary/10";
7942
7952
  };
7943
7953
  if (item.subitems) {
7944
- return /* @__PURE__ */ React62.createElement(
7954
+ return /* @__PURE__ */ React63.createElement(
7945
7955
  AccordionItem2,
7946
7956
  {
7947
7957
  value: item.value,
7948
7958
  className: "hawa-overflow-x-clip ",
7949
7959
  dir: direction
7950
7960
  },
7951
- /* @__PURE__ */ React62.createElement(
7961
+ /* @__PURE__ */ React63.createElement(
7952
7962
  AccordionTrigger2,
7953
7963
  {
7954
7964
  className: cn(
@@ -7960,7 +7970,7 @@ var SidebarItem = ({
7960
7970
  ),
7961
7971
  showArrow: isOpen
7962
7972
  },
7963
- /* @__PURE__ */ React62.createElement(
7973
+ /* @__PURE__ */ React63.createElement(
7964
7974
  "div",
7965
7975
  {
7966
7976
  className: cn(
@@ -7968,7 +7978,7 @@ var SidebarItem = ({
7968
7978
  )
7969
7979
  },
7970
7980
  item.icon && item.icon,
7971
- /* @__PURE__ */ React62.createElement(
7981
+ /* @__PURE__ */ React63.createElement(
7972
7982
  "span",
7973
7983
  {
7974
7984
  className: cn(
@@ -7980,14 +7990,14 @@ var SidebarItem = ({
7980
7990
  )
7981
7991
  )
7982
7992
  ),
7983
- item.subitems && /* @__PURE__ */ React62.createElement(AccordionContent2, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React62.createElement(
7993
+ item.subitems && /* @__PURE__ */ React63.createElement(AccordionContent2, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React63.createElement(
7984
7994
  "div",
7985
7995
  {
7986
7996
  className: cn(
7987
7997
  "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
7988
7998
  )
7989
7999
  },
7990
- item.subitems.map((subitem, idx) => /* @__PURE__ */ React62.createElement(
8000
+ item.subitems.map((subitem, idx) => /* @__PURE__ */ React63.createElement(
7991
8001
  "a",
7992
8002
  {
7993
8003
  href: subitem.slug,
@@ -8018,7 +8028,7 @@ var SidebarItem = ({
8018
8028
  ))
8019
8029
  );
8020
8030
  } else {
8021
- return /* @__PURE__ */ React62.createElement(
8031
+ return /* @__PURE__ */ React63.createElement(
8022
8032
  "a",
8023
8033
  {
8024
8034
  href: item.slug,
@@ -8042,7 +8052,7 @@ var SidebarItem = ({
8042
8052
  "hawa-overflow-x-clip "
8043
8053
  )
8044
8054
  },
8045
- /* @__PURE__ */ React62.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React62.createElement(
8055
+ /* @__PURE__ */ React63.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React63.createElement(
8046
8056
  "span",
8047
8057
  {
8048
8058
  className: cn(
@@ -8052,20 +8062,20 @@ var SidebarItem = ({
8052
8062
  },
8053
8063
  item.label,
8054
8064
  " ",
8055
- item.badge && /* @__PURE__ */ React62.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
8065
+ item.badge && /* @__PURE__ */ React63.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
8056
8066
  ))
8057
8067
  );
8058
8068
  }
8059
8069
  };
8060
8070
 
8061
8071
  // layout/copyrights/Copyrights.tsx
8062
- import React63 from "react";
8072
+ import React64 from "react";
8063
8073
  var Copyrights = (props) => {
8064
- return /* @__PURE__ */ React63.createElement("div", { className: "hawa-my-2 hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-1 hawa-text-xs hawa-text-gray-400" }, props.withLogo ? /* @__PURE__ */ React63.createElement("a", { href: props.onLogoClicked }, /* @__PURE__ */ React63.createElement("div", { className: "hawa-cursor-pointer" }, /* @__PURE__ */ React63.createElement("image", { href: props.logoURL, width: 100, height: 50 }))) : null, /* @__PURE__ */ React63.createElement("div", null, props.version), props.credits ? props.credits : null);
8074
+ return /* @__PURE__ */ React64.createElement("div", { className: "hawa-my-2 hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-1 hawa-text-xs hawa-text-gray-400" }, props.withLogo ? /* @__PURE__ */ React64.createElement("a", { href: props.onLogoClicked }, /* @__PURE__ */ React64.createElement("div", { className: "hawa-cursor-pointer" }, /* @__PURE__ */ React64.createElement("image", { href: props.logoURL, width: 100, height: 50 }))) : null, /* @__PURE__ */ React64.createElement("div", null, props.version), props.credits ? props.credits : null);
8065
8075
  };
8066
8076
 
8067
8077
  // layout/navbar/Navbar.tsx
8068
- import React64, { useState as useState20 } from "react";
8078
+ import React65, { useState as useState20 } from "react";
8069
8079
 
8070
8080
  // elements/collapsible/Collapsible.tsx
8071
8081
  import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
@@ -8082,13 +8092,13 @@ var Navbar = ({
8082
8092
  }) => {
8083
8093
  var _a, _b;
8084
8094
  const [isOpen, setIsOpen] = useState20(false);
8085
- return /* @__PURE__ */ React64.createElement("nav", { className: " hawa-sticky hawa-top-2 hawa-transition-all" }, /* @__PURE__ */ React64.createElement(
8095
+ return /* @__PURE__ */ React65.createElement("nav", { className: " hawa-sticky hawa-top-2 hawa-transition-all" }, /* @__PURE__ */ React65.createElement(
8086
8096
  Collapsible,
8087
8097
  {
8088
8098
  className: "hawa-relative hawa-m-2 hawa-rounded hawa-p-2",
8089
8099
  style: { backgroundColor: backgroundColor || "#1f2937" }
8090
8100
  },
8091
- /* @__PURE__ */ React64.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between hawa-px-3 " }, /* @__PURE__ */ React64.createElement("div", { className: "hawa-flex hawa-items-center" }, /* @__PURE__ */ React64.createElement(
8101
+ /* @__PURE__ */ React65.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between hawa-px-3 " }, /* @__PURE__ */ React65.createElement("div", { className: "hawa-flex hawa-items-center" }, /* @__PURE__ */ React65.createElement(
8092
8102
  "div",
8093
8103
  {
8094
8104
  className: "hawa-p-1.5 hawa-text-xl hawa-font-bold hawa-text-white",
@@ -8099,7 +8109,7 @@ var Navbar = ({
8099
8109
  }
8100
8110
  },
8101
8111
  logo
8102
- )), /* @__PURE__ */ React64.createElement("div", { className: "hawa-hidden md:hawa-flex " }, (_a = props.menuItems) == null ? void 0 : _a.map((item, i) => /* @__PURE__ */ React64.createElement(
8112
+ )), /* @__PURE__ */ React65.createElement("div", { className: "hawa-hidden md:hawa-flex " }, (_a = props.menuItems) == null ? void 0 : _a.map((item, i) => /* @__PURE__ */ React65.createElement(
8103
8113
  "div",
8104
8114
  {
8105
8115
  key: i,
@@ -8107,14 +8117,14 @@ var Navbar = ({
8107
8117
  className: "hawa-cursor-pointer hawa-rounded hawa-p-1.5 hawa-px-2 hawa-text-center hawa-text-sm hawa-text-white hawa-transition-all hover:hawa-bg-gray-300 hover:hawa-text-black"
8108
8118
  },
8109
8119
  item.label
8110
- ))), /* @__PURE__ */ React64.createElement("div", { className: "hawa-m-0 hawa-flex hawa-h-fit hawa-p-0 md:hawa-hidden" }, /* @__PURE__ */ React64.createElement(
8120
+ ))), /* @__PURE__ */ React65.createElement("div", { className: "hawa-m-0 hawa-flex hawa-h-fit hawa-p-0 md:hawa-hidden" }, /* @__PURE__ */ React65.createElement(
8111
8121
  CollapsibleTrigger2,
8112
8122
  {
8113
8123
  onClick: () => setIsOpen(!isOpen),
8114
8124
  className: "hawa-h-full hawa-text-white selection:hawa-p-0 ",
8115
8125
  "aria-label": "Toggle menu"
8116
8126
  },
8117
- /* @__PURE__ */ React64.createElement(
8127
+ /* @__PURE__ */ React65.createElement(
8118
8128
  "svg",
8119
8129
  {
8120
8130
  xmlns: "http://www.w3.org/2000/svg",
@@ -8131,11 +8141,11 @@ var Navbar = ({
8131
8141
  isOpen ? "hawa-invisible" : "hawa-visible"
8132
8142
  )
8133
8143
  },
8134
- /* @__PURE__ */ React64.createElement("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
8135
- /* @__PURE__ */ React64.createElement("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
8136
- /* @__PURE__ */ React64.createElement("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
8144
+ /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
8145
+ /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
8146
+ /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
8137
8147
  ),
8138
- /* @__PURE__ */ React64.createElement(
8148
+ /* @__PURE__ */ React65.createElement(
8139
8149
  "svg",
8140
8150
  {
8141
8151
  xmlns: "http://www.w3.org/2000/svg",
@@ -8152,11 +8162,11 @@ var Navbar = ({
8152
8162
  !isOpen ? "hawa-invisible" : "hawa-visible"
8153
8163
  )
8154
8164
  },
8155
- /* @__PURE__ */ React64.createElement("path", { d: "M18 6 6 18" }),
8156
- /* @__PURE__ */ React64.createElement("path", { d: "m6 6 12 12" })
8165
+ /* @__PURE__ */ React65.createElement("path", { d: "M18 6 6 18" }),
8166
+ /* @__PURE__ */ React65.createElement("path", { d: "m6 6 12 12" })
8157
8167
  )
8158
8168
  ))),
8159
- /* @__PURE__ */ React64.createElement(
8169
+ /* @__PURE__ */ React65.createElement(
8160
8170
  CollapsibleContent2,
8161
8171
  {
8162
8172
  className: cn(
@@ -8171,7 +8181,7 @@ var Navbar = ({
8171
8181
  zIndex: -100
8172
8182
  }
8173
8183
  },
8174
- (_b = props.menuItems) == null ? void 0 : _b.map((item, i) => /* @__PURE__ */ React64.createElement(
8184
+ (_b = props.menuItems) == null ? void 0 : _b.map((item, i) => /* @__PURE__ */ React65.createElement(
8175
8185
  "div",
8176
8186
  {
8177
8187
  key: i,
@@ -8185,7 +8195,7 @@ var Navbar = ({
8185
8195
  };
8186
8196
 
8187
8197
  // layout/appLayout/AppLayout.tsx
8188
- import React65, { useEffect as useEffect14, useRef as useRef9, useState as useState21 } from "react";
8198
+ import React66, { useEffect as useEffect14, useRef as useRef9, useState as useState21 } from "react";
8189
8199
  var AppLayout = ({
8190
8200
  profileMenuWidth = "default",
8191
8201
  DrawerFooterActions,
@@ -8249,7 +8259,7 @@ var AppLayout = ({
8249
8259
  document.removeEventListener("click", handleClickOutside, true);
8250
8260
  };
8251
8261
  }, [keepOpen]);
8252
- return /* @__PURE__ */ React65.createElement("div", { className: "hawa-fixed hawa-left-0" }, props.topBar && /* @__PURE__ */ React65.createElement(
8262
+ return /* @__PURE__ */ React66.createElement("div", { className: "hawa-fixed hawa-left-0" }, props.topBar && /* @__PURE__ */ React66.createElement(
8253
8263
  "div",
8254
8264
  {
8255
8265
  className: cn(
@@ -8257,7 +8267,7 @@ var AppLayout = ({
8257
8267
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8258
8268
  )
8259
8269
  },
8260
- size > 600 ? /* @__PURE__ */ React65.createElement(
8270
+ size > 600 ? /* @__PURE__ */ React66.createElement(
8261
8271
  "div",
8262
8272
  {
8263
8273
  className: cn(
@@ -8279,24 +8289,24 @@ var AppLayout = ({
8279
8289
  props.pageTitle
8280
8290
  ) : (
8281
8291
  // Mobile Drawer Menu Button
8282
- /* @__PURE__ */ React65.createElement(
8292
+ /* @__PURE__ */ React66.createElement(
8283
8293
  "div",
8284
8294
  {
8285
8295
  dir: direction,
8286
8296
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
8287
8297
  },
8288
- /* @__PURE__ */ React65.createElement(
8298
+ /* @__PURE__ */ React66.createElement(
8289
8299
  "div",
8290
8300
  {
8291
8301
  onClick: () => setOpenSideMenu(true),
8292
8302
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
8293
8303
  },
8294
- /* @__PURE__ */ React65.createElement(MenuIcon, null)
8304
+ /* @__PURE__ */ React66.createElement(MenuIcon, null)
8295
8305
  ),
8296
- props.pageTitle ? /* @__PURE__ */ React65.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ React65.createElement("div", null)
8306
+ props.pageTitle ? /* @__PURE__ */ React66.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ React66.createElement("div", null)
8297
8307
  )
8298
8308
  ),
8299
- /* @__PURE__ */ React65.createElement(
8309
+ /* @__PURE__ */ React66.createElement(
8300
8310
  "div",
8301
8311
  {
8302
8312
  className: cn(
@@ -8304,16 +8314,16 @@ var AppLayout = ({
8304
8314
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8305
8315
  )
8306
8316
  },
8307
- size > 600 ? /* @__PURE__ */ React65.createElement(
8317
+ size > 600 ? /* @__PURE__ */ React66.createElement(
8308
8318
  "div",
8309
8319
  {
8310
8320
  className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
8311
8321
  },
8312
- /* @__PURE__ */ React65.createElement("div", { className: "hawa-font-bold" }, props.username),
8322
+ /* @__PURE__ */ React66.createElement("div", { className: "hawa-font-bold" }, props.username),
8313
8323
  " ",
8314
- /* @__PURE__ */ React65.createElement("div", null, props.email)
8324
+ /* @__PURE__ */ React66.createElement("div", null, props.email)
8315
8325
  ) : null,
8316
- /* @__PURE__ */ React65.createElement(
8326
+ /* @__PURE__ */ React66.createElement(
8317
8327
  DropdownMenu,
8318
8328
  {
8319
8329
  triggerClassname: "hawa-mx-2",
@@ -8325,7 +8335,7 @@ var AppLayout = ({
8325
8335
  direction: isRTL ? "rtl" : "ltr",
8326
8336
  items: props.profileMenuItems,
8327
8337
  onItemSelect: (e) => console.log("selecting item ", e),
8328
- trigger: /* @__PURE__ */ React65.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React65.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React65.createElement(
8338
+ trigger: /* @__PURE__ */ React66.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React66.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React66.createElement(
8329
8339
  "svg",
8330
8340
  {
8331
8341
  "aria-label": "Avatar Icon",
@@ -8333,7 +8343,7 @@ var AppLayout = ({
8333
8343
  fill: "currentColor",
8334
8344
  viewBox: "0 0 20 20"
8335
8345
  },
8336
- /* @__PURE__ */ React65.createElement(
8346
+ /* @__PURE__ */ React66.createElement(
8337
8347
  "path",
8338
8348
  {
8339
8349
  fillRule: "evenodd",
@@ -8345,7 +8355,7 @@ var AppLayout = ({
8345
8355
  }
8346
8356
  )
8347
8357
  )
8348
- ), /* @__PURE__ */ React65.createElement(
8358
+ ), /* @__PURE__ */ React66.createElement(
8349
8359
  "div",
8350
8360
  {
8351
8361
  className: cn(
@@ -8373,7 +8383,7 @@ var AppLayout = ({
8373
8383
  },
8374
8384
  ref
8375
8385
  },
8376
- /* @__PURE__ */ React65.createElement(
8386
+ /* @__PURE__ */ React66.createElement(
8377
8387
  "div",
8378
8388
  {
8379
8389
  onClick: props.onLogoClick,
@@ -8387,7 +8397,7 @@ var AppLayout = ({
8387
8397
  }
8388
8398
  },
8389
8399
  openSideMenu && props.header && props.header,
8390
- !props.header && /* @__PURE__ */ React65.createElement(
8400
+ !props.header && /* @__PURE__ */ React66.createElement(
8391
8401
  "img",
8392
8402
  {
8393
8403
  className: cn(
@@ -8397,7 +8407,7 @@ var AppLayout = ({
8397
8407
  src: props.logoLink
8398
8408
  }
8399
8409
  ),
8400
- size > 600 ? /* @__PURE__ */ React65.createElement(
8410
+ size > 600 ? /* @__PURE__ */ React66.createElement(
8401
8411
  "img",
8402
8412
  {
8403
8413
  className: cn(
@@ -8409,7 +8419,7 @@ var AppLayout = ({
8409
8419
  }
8410
8420
  ) : null
8411
8421
  ),
8412
- /* @__PURE__ */ React65.createElement(
8422
+ /* @__PURE__ */ React66.createElement(
8413
8423
  "div",
8414
8424
  {
8415
8425
  className: cn(
@@ -8420,7 +8430,7 @@ var AppLayout = ({
8420
8430
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : drawerSizeCondition}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8421
8431
  }
8422
8432
  },
8423
- /* @__PURE__ */ React65.createElement(
8433
+ /* @__PURE__ */ React66.createElement(
8424
8434
  SidebarGroup,
8425
8435
  {
8426
8436
  direction,
@@ -8442,7 +8452,7 @@ var AppLayout = ({
8442
8452
  }
8443
8453
  )
8444
8454
  ),
8445
- /* @__PURE__ */ React65.createElement(
8455
+ /* @__PURE__ */ React66.createElement(
8446
8456
  "div",
8447
8457
  {
8448
8458
  className: cn(
@@ -8454,8 +8464,8 @@ var AppLayout = ({
8454
8464
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8455
8465
  }
8456
8466
  },
8457
- DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React65.createElement(React65.Fragment, null, DrawerFooterActions) : null,
8458
- size > 600 && openSideMenu ? /* @__PURE__ */ React65.createElement(
8467
+ DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React66.createElement(React66.Fragment, null, DrawerFooterActions) : null,
8468
+ size > 600 && openSideMenu ? /* @__PURE__ */ React66.createElement(
8459
8469
  Tooltip,
8460
8470
  {
8461
8471
  side: "left",
@@ -8463,7 +8473,7 @@ var AppLayout = ({
8463
8473
  content: keepOpen ? ((_a = props.texts) == null ? void 0 : _a.collapseSidebar) || "Collapse Sidebar" : ((_b = props.texts) == null ? void 0 : _b.expandSidebar) || "Expand Sidebar",
8464
8474
  triggerProps: { asChild: true }
8465
8475
  },
8466
- /* @__PURE__ */ React65.createElement(
8476
+ /* @__PURE__ */ React66.createElement(
8467
8477
  Button,
8468
8478
  {
8469
8479
  variant: "outline",
@@ -8476,7 +8486,7 @@ var AppLayout = ({
8476
8486
  },
8477
8487
  size: "smallIcon"
8478
8488
  },
8479
- /* @__PURE__ */ React65.createElement(
8489
+ /* @__PURE__ */ React66.createElement(
8480
8490
  "svg",
8481
8491
  {
8482
8492
  className: cn(
@@ -8486,7 +8496,7 @@ var AppLayout = ({
8486
8496
  fill: "currentColor",
8487
8497
  viewBox: "0 0 20 20"
8488
8498
  },
8489
- /* @__PURE__ */ React65.createElement(
8499
+ /* @__PURE__ */ React66.createElement(
8490
8500
  "path",
8491
8501
  {
8492
8502
  fillRule: "evenodd",
@@ -8498,7 +8508,7 @@ var AppLayout = ({
8498
8508
  )
8499
8509
  ) : null
8500
8510
  )
8501
- ), /* @__PURE__ */ React65.createElement(
8511
+ ), /* @__PURE__ */ React66.createElement(
8502
8512
  "div",
8503
8513
  {
8504
8514
  className: "hawa-fixed -hawa-z-10 hawa-overflow-y-auto hawa-transition-all",
@@ -8517,7 +8527,7 @@ var AppLayout = ({
8517
8527
  props.children
8518
8528
  ));
8519
8529
  };
8520
- var MenuIcon = () => /* @__PURE__ */ React65.createElement(
8530
+ var MenuIcon = () => /* @__PURE__ */ React66.createElement(
8521
8531
  "svg",
8522
8532
  {
8523
8533
  "aria-label": "Menu Button",
@@ -8529,7 +8539,7 @@ var MenuIcon = () => /* @__PURE__ */ React65.createElement(
8529
8539
  height: "1.6em",
8530
8540
  width: "1.6em"
8531
8541
  },
8532
- /* @__PURE__ */ React65.createElement(
8542
+ /* @__PURE__ */ React66.createElement(
8533
8543
  "path",
8534
8544
  {
8535
8545
  fillRule: "evenodd",
@@ -8540,11 +8550,11 @@ var MenuIcon = () => /* @__PURE__ */ React65.createElement(
8540
8550
  );
8541
8551
 
8542
8552
  // layout/appTopbar/AppTopbar.tsx
8543
- import React66 from "react";
8553
+ import React67 from "react";
8544
8554
  var AppTopbar = ({ ...props }) => {
8545
8555
  const isRTL = props.direction === "ltr";
8546
8556
  const size = 1200;
8547
- return /* @__PURE__ */ React66.createElement(
8557
+ return /* @__PURE__ */ React67.createElement(
8548
8558
  "div",
8549
8559
  {
8550
8560
  className: cn(
@@ -8552,24 +8562,24 @@ var AppTopbar = ({ ...props }) => {
8552
8562
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8553
8563
  )
8554
8564
  },
8555
- size > 600 ? /* @__PURE__ */ React66.createElement(
8565
+ size > 600 ? /* @__PURE__ */ React67.createElement(
8556
8566
  "div",
8557
8567
  null,
8558
8568
  "page title"
8559
8569
  ) : (
8560
8570
  // Mobile Drawer Menu Button
8561
- /* @__PURE__ */ React66.createElement(
8571
+ /* @__PURE__ */ React67.createElement(
8562
8572
  "div",
8563
8573
  {
8564
8574
  dir: props.direction,
8565
8575
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
8566
8576
  },
8567
- /* @__PURE__ */ React66.createElement(
8577
+ /* @__PURE__ */ React67.createElement(
8568
8578
  "div",
8569
8579
  {
8570
8580
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
8571
8581
  },
8572
- /* @__PURE__ */ React66.createElement(
8582
+ /* @__PURE__ */ React67.createElement(
8573
8583
  "svg",
8574
8584
  {
8575
8585
  stroke: "currentColor",
@@ -8580,7 +8590,7 @@ var AppTopbar = ({ ...props }) => {
8580
8590
  height: "1.6em",
8581
8591
  width: "1.6em"
8582
8592
  },
8583
- /* @__PURE__ */ React66.createElement(
8593
+ /* @__PURE__ */ React67.createElement(
8584
8594
  "path",
8585
8595
  {
8586
8596
  fillRule: "evenodd",
@@ -8593,7 +8603,7 @@ var AppTopbar = ({ ...props }) => {
8593
8603
  "Mobile title"
8594
8604
  )
8595
8605
  ),
8596
- /* @__PURE__ */ React66.createElement(
8606
+ /* @__PURE__ */ React67.createElement(
8597
8607
  "div",
8598
8608
  {
8599
8609
  className: cn(
@@ -8601,16 +8611,16 @@ var AppTopbar = ({ ...props }) => {
8601
8611
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8602
8612
  )
8603
8613
  },
8604
- size > 600 ? /* @__PURE__ */ React66.createElement(
8614
+ size > 600 ? /* @__PURE__ */ React67.createElement(
8605
8615
  "div",
8606
8616
  {
8607
8617
  className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
8608
8618
  },
8609
- /* @__PURE__ */ React66.createElement("div", { className: "hawa-font-bold" }, props.username),
8619
+ /* @__PURE__ */ React67.createElement("div", { className: "hawa-font-bold" }, props.username),
8610
8620
  " ",
8611
- /* @__PURE__ */ React66.createElement("div", null, props.email)
8621
+ /* @__PURE__ */ React67.createElement("div", null, props.email)
8612
8622
  ) : null,
8613
- /* @__PURE__ */ React66.createElement(
8623
+ /* @__PURE__ */ React67.createElement(
8614
8624
  DropdownMenu,
8615
8625
  {
8616
8626
  triggerClassname: "hawa-mx-2",
@@ -8621,7 +8631,7 @@ var AppTopbar = ({ ...props }) => {
8621
8631
  direction: isRTL ? "rtl" : "ltr",
8622
8632
  items: props.profileMenuItems,
8623
8633
  onItemSelect: (e) => console.log("selecting item ", e),
8624
- trigger: /* @__PURE__ */ React66.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React66.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React66.createElement(
8634
+ trigger: /* @__PURE__ */ React67.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React67.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React67.createElement(
8625
8635
  "svg",
8626
8636
  {
8627
8637
  "aria-label": "Avatar Icon",
@@ -8629,7 +8639,7 @@ var AppTopbar = ({ ...props }) => {
8629
8639
  fill: "currentColor",
8630
8640
  viewBox: "0 0 20 20"
8631
8641
  },
8632
- /* @__PURE__ */ React66.createElement(
8642
+ /* @__PURE__ */ React67.createElement(
8633
8643
  "path",
8634
8644
  {
8635
8645
  fillRule: "evenodd",
@@ -8645,14 +8655,14 @@ var AppTopbar = ({ ...props }) => {
8645
8655
  };
8646
8656
 
8647
8657
  // layout/appMenubar/AppMenubar.tsx
8648
- import * as React67 from "react";
8658
+ import * as React68 from "react";
8649
8659
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
8650
8660
  var MenubarMenu = MenubarPrimitive.Menu;
8651
8661
  var MenubarGroup = MenubarPrimitive.Group;
8652
8662
  var MenubarPortal = MenubarPrimitive.Portal;
8653
8663
  var MenubarSub = MenubarPrimitive.Sub;
8654
8664
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
8655
- var Menubar = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8665
+ var Menubar = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8656
8666
  MenubarPrimitive.Root,
8657
8667
  {
8658
8668
  ref,
@@ -8664,7 +8674,7 @@ var Menubar = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__
8664
8674
  }
8665
8675
  ));
8666
8676
  Menubar.displayName = MenubarPrimitive.Root.displayName;
8667
- var MenubarTrigger = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8677
+ var MenubarTrigger = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8668
8678
  MenubarPrimitive.Trigger,
8669
8679
  {
8670
8680
  ref,
@@ -8676,7 +8686,7 @@ var MenubarTrigger = React67.forwardRef(({ className, ...props }, ref) => /* @__
8676
8686
  }
8677
8687
  ));
8678
8688
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
8679
- var MenubarSubTrigger = React67.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8689
+ var MenubarSubTrigger = React68.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8680
8690
  MenubarPrimitive.SubTrigger,
8681
8691
  {
8682
8692
  ref,
@@ -8688,7 +8698,7 @@ var MenubarSubTrigger = React67.forwardRef(({ className, inset, children, ...pro
8688
8698
  ...props
8689
8699
  },
8690
8700
  children,
8691
- /* @__PURE__ */ React67.createElement(
8701
+ /* @__PURE__ */ React68.createElement(
8692
8702
  "svg",
8693
8703
  {
8694
8704
  "aria-label": "Chevron Right Icon",
@@ -8703,11 +8713,11 @@ var MenubarSubTrigger = React67.forwardRef(({ className, inset, children, ...pro
8703
8713
  strokeLinejoin: "round",
8704
8714
  className: "hawa-icon hawa-ml-auto"
8705
8715
  },
8706
- /* @__PURE__ */ React67.createElement("path", { d: "m9 18 6-6-6-6" })
8716
+ /* @__PURE__ */ React68.createElement("path", { d: "m9 18 6-6-6-6" })
8707
8717
  )
8708
8718
  ));
8709
8719
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
8710
- var MenubarSubContent = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8720
+ var MenubarSubContent = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8711
8721
  MenubarPrimitive.SubContent,
8712
8722
  {
8713
8723
  ref,
@@ -8719,8 +8729,8 @@ var MenubarSubContent = React67.forwardRef(({ className, ...props }, ref) => /*
8719
8729
  }
8720
8730
  ));
8721
8731
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
8722
- var MenubarContent = React67.forwardRef(
8723
- ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React67.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React67.createElement(
8732
+ var MenubarContent = React68.forwardRef(
8733
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React68.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React68.createElement(
8724
8734
  MenubarPrimitive.Content,
8725
8735
  {
8726
8736
  ref,
@@ -8736,7 +8746,7 @@ var MenubarContent = React67.forwardRef(
8736
8746
  ))
8737
8747
  );
8738
8748
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
8739
- var MenubarItem = React67.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8749
+ var MenubarItem = React68.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8740
8750
  MenubarPrimitive.Item,
8741
8751
  {
8742
8752
  ref,
@@ -8749,7 +8759,7 @@ var MenubarItem = React67.forwardRef(({ className, inset, ...props }, ref) => /*
8749
8759
  }
8750
8760
  ));
8751
8761
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
8752
- var MenubarCheckboxItem = React67.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8762
+ var MenubarCheckboxItem = React68.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8753
8763
  MenubarPrimitive.CheckboxItem,
8754
8764
  {
8755
8765
  ref,
@@ -8760,7 +8770,7 @@ var MenubarCheckboxItem = React67.forwardRef(({ className, children, checked, ..
8760
8770
  checked,
8761
8771
  ...props
8762
8772
  },
8763
- /* @__PURE__ */ React67.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__ */ React67.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React67.createElement(
8773
+ /* @__PURE__ */ React68.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__ */ React68.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React68.createElement(
8764
8774
  "svg",
8765
8775
  {
8766
8776
  xmlns: "http://www.w3.org/2000/svg",
@@ -8774,12 +8784,12 @@ var MenubarCheckboxItem = React67.forwardRef(({ className, children, checked, ..
8774
8784
  strokeLinejoin: "round",
8775
8785
  className: "hawa-icon"
8776
8786
  },
8777
- /* @__PURE__ */ React67.createElement("path", { d: "M20 6 9 17l-5-5" })
8787
+ /* @__PURE__ */ React68.createElement("path", { d: "M20 6 9 17l-5-5" })
8778
8788
  ))),
8779
8789
  children
8780
8790
  ));
8781
8791
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
8782
- var MenubarRadioItem = React67.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8792
+ var MenubarRadioItem = React68.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8783
8793
  MenubarPrimitive.RadioItem,
8784
8794
  {
8785
8795
  ref,
@@ -8789,7 +8799,7 @@ var MenubarRadioItem = React67.forwardRef(({ className, children, ...props }, re
8789
8799
  ),
8790
8800
  ...props
8791
8801
  },
8792
- /* @__PURE__ */ React67.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__ */ React67.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React67.createElement(
8802
+ /* @__PURE__ */ React68.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__ */ React68.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React68.createElement(
8793
8803
  "svg",
8794
8804
  {
8795
8805
  xmlns: "http://www.w3.org/2000/svg",
@@ -8803,12 +8813,12 @@ var MenubarRadioItem = React67.forwardRef(({ className, children, ...props }, re
8803
8813
  strokeLinejoin: "round",
8804
8814
  className: "hawa-h-2 hawa-w-2 hawa-fill-current"
8805
8815
  },
8806
- /* @__PURE__ */ React67.createElement("circle", { cx: "12", cy: "12", r: "10" })
8816
+ /* @__PURE__ */ React68.createElement("circle", { cx: "12", cy: "12", r: "10" })
8807
8817
  ))),
8808
8818
  children
8809
8819
  ));
8810
8820
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
8811
- var MenubarLabel = React67.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8821
+ var MenubarLabel = React68.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8812
8822
  MenubarPrimitive.Label,
8813
8823
  {
8814
8824
  ref,
@@ -8821,7 +8831,7 @@ var MenubarLabel = React67.forwardRef(({ className, inset, ...props }, ref) => /
8821
8831
  }
8822
8832
  ));
8823
8833
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
8824
- var MenubarSeparator = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8834
+ var MenubarSeparator = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8825
8835
  MenubarPrimitive.Separator,
8826
8836
  {
8827
8837
  ref,
@@ -8834,7 +8844,7 @@ var MenubarShortcut = ({
8834
8844
  className,
8835
8845
  ...props
8836
8846
  }) => {
8837
- return /* @__PURE__ */ React67.createElement(
8847
+ return /* @__PURE__ */ React68.createElement(
8838
8848
  "span",
8839
8849
  {
8840
8850
  className: cn(
@@ -8848,10 +8858,10 @@ var MenubarShortcut = ({
8848
8858
  MenubarShortcut.displayname = "MenubarShortcut";
8849
8859
 
8850
8860
  // layout/appTabs/AppTabs.tsx
8851
- import React68, { useState as useState22 } from "react";
8861
+ import React69, { useState as useState22 } from "react";
8852
8862
  var AppTabs = ({ tabs, className }) => {
8853
8863
  const [selectedIndex, setSelectedIndex] = useState22(0);
8854
- return /* @__PURE__ */ React68.createElement(
8864
+ return /* @__PURE__ */ React69.createElement(
8855
8865
  "div",
8856
8866
  {
8857
8867
  className: cn(
@@ -8859,9 +8869,9 @@ var AppTabs = ({ tabs, className }) => {
8859
8869
  className
8860
8870
  )
8861
8871
  },
8862
- /* @__PURE__ */ React68.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center " }, tabs.map((tab, index) => {
8872
+ /* @__PURE__ */ React69.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center " }, tabs.map((tab, index) => {
8863
8873
  const selected = index === selectedIndex;
8864
- return /* @__PURE__ */ React68.createElement(
8874
+ return /* @__PURE__ */ React69.createElement(
8865
8875
  "a",
8866
8876
  {
8867
8877
  href: tab.path,
@@ -8892,7 +8902,7 @@ var AppTabs = ({ tabs, className }) => {
8892
8902
  };
8893
8903
 
8894
8904
  // layout/docsLayout/DocsLayout.tsx
8895
- import React71, { useEffect as useEffect16, useRef as useRef10, useState as useState24 } from "react";
8905
+ import React72, { useEffect as useEffect16, useRef as useRef10, useState as useState24 } from "react";
8896
8906
 
8897
8907
  // hooks/useBreakpoint.ts
8898
8908
  import { useState as useState23, useEffect as useEffect15 } from "react";
@@ -8914,13 +8924,13 @@ var useBreakpoint = () => {
8914
8924
  };
8915
8925
 
8916
8926
  // layout/docsSidebar/DocsSidebar.tsx
8917
- import React70 from "react";
8927
+ import React71 from "react";
8918
8928
  var DocsSidebar = ({
8919
8929
  currentPage: propCurrentPage,
8920
8930
  pages,
8921
8931
  direction
8922
8932
  }) => {
8923
- const [activePage, setActivePage] = React70.useState(pages[0]);
8933
+ const [activePage, setActivePage] = React71.useState(pages[0]);
8924
8934
  const handlePageClick = (page, event) => {
8925
8935
  event.preventDefault();
8926
8936
  setTimeout(() => {
@@ -8942,7 +8952,7 @@ var DocsSidebar = ({
8942
8952
  }
8943
8953
  return pages[0];
8944
8954
  };
8945
- React70.useEffect(() => {
8955
+ React71.useEffect(() => {
8946
8956
  const handleScroll = () => {
8947
8957
  setActivePage(getCurrentSection());
8948
8958
  };
@@ -8955,13 +8965,13 @@ var DocsSidebar = ({
8955
8965
  rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
8956
8966
  ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
8957
8967
  };
8958
- return /* @__PURE__ */ React70.createElement(
8968
+ return /* @__PURE__ */ React71.createElement(
8959
8969
  "div",
8960
8970
  {
8961
8971
  className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
8962
8972
  dir: direction
8963
8973
  },
8964
- pages.map((page, index) => /* @__PURE__ */ React70.createElement(
8974
+ pages.map((page, index) => /* @__PURE__ */ React71.createElement(
8965
8975
  "div",
8966
8976
  {
8967
8977
  key: index,
@@ -9030,7 +9040,7 @@ var DocsLayout = ({
9030
9040
  window.removeEventListener("resize", handleResize);
9031
9041
  };
9032
9042
  }, [keepOpen]);
9033
- const observerRef = React71.useRef(null);
9043
+ const observerRef = React72.useRef(null);
9034
9044
  const handleIntersection = (entries) => {
9035
9045
  const entry = entries.find((entry2) => entry2.isIntersecting);
9036
9046
  if (entry) {
@@ -9042,7 +9052,7 @@ var DocsLayout = ({
9042
9052
  threshold: 0.5
9043
9053
  // Adjust threshold as needed to determine when a section is in view
9044
9054
  });
9045
- React71.Children.forEach(props.children, (child) => {
9055
+ React72.Children.forEach(props.children, (child) => {
9046
9056
  if (child && child.props.id) {
9047
9057
  const element = document.getElementById(child.props.id);
9048
9058
  if (element && observerRef.current) {
@@ -9057,7 +9067,7 @@ var DocsLayout = ({
9057
9067
  };
9058
9068
  }, [props.children]);
9059
9069
  let drawerSizeCondition = drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize];
9060
- return /* @__PURE__ */ React71.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React71.createElement(
9070
+ return /* @__PURE__ */ React72.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React72.createElement(
9061
9071
  "div",
9062
9072
  {
9063
9073
  className: cn(
@@ -9065,7 +9075,7 @@ var DocsLayout = ({
9065
9075
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
9066
9076
  )
9067
9077
  },
9068
- size > 600 ? /* @__PURE__ */ React71.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React71.createElement(
9078
+ size > 600 ? /* @__PURE__ */ React72.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React72.createElement(
9069
9079
  "img",
9070
9080
  {
9071
9081
  className: cn(
@@ -9076,18 +9086,18 @@ var DocsLayout = ({
9076
9086
  }
9077
9087
  )) : (
9078
9088
  // Mobile Drawer Menu Button
9079
- /* @__PURE__ */ React71.createElement(
9089
+ /* @__PURE__ */ React72.createElement(
9080
9090
  "div",
9081
9091
  {
9082
9092
  dir: direction,
9083
9093
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
9084
9094
  },
9085
- /* @__PURE__ */ React71.createElement(Sheet, null, /* @__PURE__ */ React71.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React71.createElement(
9095
+ /* @__PURE__ */ React72.createElement(Sheet, null, /* @__PURE__ */ React72.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React72.createElement(
9086
9096
  "div",
9087
9097
  {
9088
9098
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
9089
9099
  },
9090
- /* @__PURE__ */ React71.createElement(
9100
+ /* @__PURE__ */ React72.createElement(
9091
9101
  "svg",
9092
9102
  {
9093
9103
  "aria-label": "Menu Icon",
@@ -9099,7 +9109,7 @@ var DocsLayout = ({
9099
9109
  height: "1.6em",
9100
9110
  width: "1.6em"
9101
9111
  },
9102
- /* @__PURE__ */ React71.createElement(
9112
+ /* @__PURE__ */ React72.createElement(
9103
9113
  "path",
9104
9114
  {
9105
9115
  fillRule: "evenodd",
@@ -9108,17 +9118,17 @@ var DocsLayout = ({
9108
9118
  }
9109
9119
  )
9110
9120
  )
9111
- )), /* @__PURE__ */ React71.createElement(
9121
+ )), /* @__PURE__ */ React72.createElement(
9112
9122
  SheetContent,
9113
9123
  {
9114
9124
  side: isRTL ? "right" : "left",
9115
9125
  className: "hawa-pt-10"
9116
9126
  },
9117
- /* @__PURE__ */ React71.createElement(DocsSidebar, { direction, pages: pages || [] })
9127
+ /* @__PURE__ */ React72.createElement(DocsSidebar, { direction, pages: pages || [] })
9118
9128
  ))
9119
9129
  )
9120
9130
  ),
9121
- /* @__PURE__ */ React71.createElement(
9131
+ /* @__PURE__ */ React72.createElement(
9122
9132
  "div",
9123
9133
  {
9124
9134
  className: cn(
@@ -9126,9 +9136,9 @@ var DocsLayout = ({
9126
9136
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
9127
9137
  )
9128
9138
  },
9129
- /* @__PURE__ */ React71.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React71.createElement(Logos.github, { className: "hawa-icon" }))
9139
+ /* @__PURE__ */ React72.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React72.createElement(Logos.github, { className: "hawa-icon" }))
9130
9140
  )
9131
- ), /* @__PURE__ */ React71.createElement(
9141
+ ), /* @__PURE__ */ React72.createElement(
9132
9142
  "div",
9133
9143
  {
9134
9144
  className: cn(
@@ -9151,7 +9161,7 @@ var DocsLayout = ({
9151
9161
  },
9152
9162
  ref
9153
9163
  },
9154
- /* @__PURE__ */ React71.createElement(
9164
+ /* @__PURE__ */ React72.createElement(
9155
9165
  DocsSidebar,
9156
9166
  {
9157
9167
  direction,
@@ -9159,7 +9169,7 @@ var DocsLayout = ({
9159
9169
  currentPage
9160
9170
  }
9161
9171
  )
9162
- ), /* @__PURE__ */ React71.createElement(
9172
+ ), /* @__PURE__ */ React72.createElement(
9163
9173
  "div",
9164
9174
  {
9165
9175
  className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all ",
@@ -9181,10 +9191,10 @@ var DocsLayout = ({
9181
9191
  };
9182
9192
 
9183
9193
  // blocks/auth/AuthButtons.tsx
9184
- import React72 from "react";
9194
+ import React73 from "react";
9185
9195
  var AuthButtons = (props) => {
9186
9196
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
9187
- return /* @__PURE__ */ React72.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaMetamask && /* @__PURE__ */ React72.createElement(
9197
+ return /* @__PURE__ */ React73.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaMetamask && /* @__PURE__ */ React73.createElement(
9188
9198
  Button,
9189
9199
  {
9190
9200
  disabled: props.isMetamaskLoading,
@@ -9192,9 +9202,9 @@ var AuthButtons = (props) => {
9192
9202
  variant: "outline",
9193
9203
  onClick: props.handleMetamask
9194
9204
  },
9195
- props.isMetamaskLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.metamask, { className: "hawa-h-6" }),
9205
+ props.isMetamaskLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.metamask, { className: "hawa-h-6" }),
9196
9206
  (_b = (_a = props.texts) == null ? void 0 : _a.continueWithMetamask) != null ? _b : "Connect Metamask"
9197
- ), props.viaNafath && /* @__PURE__ */ React72.createElement(
9207
+ ), props.viaNafath && /* @__PURE__ */ React73.createElement(
9198
9208
  Button,
9199
9209
  {
9200
9210
  disabled: props.isNafathLoading,
@@ -9202,9 +9212,9 @@ var AuthButtons = (props) => {
9202
9212
  variant: "outline",
9203
9213
  onClick: props.handleNafath
9204
9214
  },
9205
- props.isNafathLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.nafath, { className: "hawa-h-4" }),
9215
+ props.isNafathLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.nafath, { className: "hawa-h-4" }),
9206
9216
  (_d = (_c = props.texts) == null ? void 0 : _c.continueWithNafath) != null ? _d : "Continue With Nafath"
9207
- ), props.viaGoogle && /* @__PURE__ */ React72.createElement(
9217
+ ), props.viaGoogle && /* @__PURE__ */ React73.createElement(
9208
9218
  Button,
9209
9219
  {
9210
9220
  disabled: props.isGoogleLoading,
@@ -9212,9 +9222,9 @@ var AuthButtons = (props) => {
9212
9222
  variant: "outline",
9213
9223
  onClick: props.handleGoogle
9214
9224
  },
9215
- props.isGoogleLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.google, { className: "hawa-icon" }),
9225
+ props.isGoogleLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.google, { className: "hawa-icon" }),
9216
9226
  (_f = (_e = props.texts) == null ? void 0 : _e.continueWithGoogle) != null ? _f : "Continue With Google"
9217
- ), props.viaGithub && /* @__PURE__ */ React72.createElement(
9227
+ ), props.viaGithub && /* @__PURE__ */ React73.createElement(
9218
9228
  Button,
9219
9229
  {
9220
9230
  disabled: props.isGithubLoading,
@@ -9222,9 +9232,9 @@ var AuthButtons = (props) => {
9222
9232
  variant: "outline",
9223
9233
  onClick: props.handleGithub
9224
9234
  },
9225
- props.isGithubLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.github, { className: "hawa-icon" }),
9235
+ props.isGithubLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.github, { className: "hawa-icon" }),
9226
9236
  (_h = (_g = props.texts) == null ? void 0 : _g.continueWithGithub) != null ? _h : "Continue With Github"
9227
- ), props.viaTwitter && /* @__PURE__ */ React72.createElement(
9237
+ ), props.viaTwitter && /* @__PURE__ */ React73.createElement(
9228
9238
  Button,
9229
9239
  {
9230
9240
  disabled: props.isTwitterLoading,
@@ -9232,9 +9242,9 @@ var AuthButtons = (props) => {
9232
9242
  variant: "outline",
9233
9243
  onClick: props.handleTwitter
9234
9244
  },
9235
- props.isTwitterLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.twitter, { className: "hawa-icon" }),
9245
+ props.isTwitterLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.twitter, { className: "hawa-icon" }),
9236
9246
  (_j = (_i = props.texts) == null ? void 0 : _i.continueWithTwitter) != null ? _j : "Continue With Twitter"
9237
- ), props.viaApple && /* @__PURE__ */ React72.createElement(
9247
+ ), props.viaApple && /* @__PURE__ */ React73.createElement(
9238
9248
  Button,
9239
9249
  {
9240
9250
  disabled: props.isAppleLoading,
@@ -9242,9 +9252,9 @@ var AuthButtons = (props) => {
9242
9252
  variant: "outline",
9243
9253
  onClick: props.handleApple
9244
9254
  },
9245
- props.isAppleLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.apple, { className: "hawa-icon" }),
9255
+ props.isAppleLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.apple, { className: "hawa-icon" }),
9246
9256
  (_l = (_k = props.texts) == null ? void 0 : _k.continueWithApple) != null ? _l : "Continue With Apple"
9247
- ), props.viaMicrosoft && /* @__PURE__ */ React72.createElement(
9257
+ ), props.viaMicrosoft && /* @__PURE__ */ React73.createElement(
9248
9258
  Button,
9249
9259
  {
9250
9260
  disabled: props.isMicrosoftLoading,
@@ -9252,9 +9262,9 @@ var AuthButtons = (props) => {
9252
9262
  variant: "outline",
9253
9263
  onClick: props.handleMicrosoft
9254
9264
  },
9255
- props.isMicrosoftLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.microsoft, { className: "hawa-icon" }),
9265
+ props.isMicrosoftLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.microsoft, { className: "hawa-icon" }),
9256
9266
  (_n = (_m = props.texts) == null ? void 0 : _m.continueWithMicrosoft) != null ? _n : "Continue With Microsoft"
9257
- ), props.viaEmail && /* @__PURE__ */ React72.createElement(
9267
+ ), props.viaEmail && /* @__PURE__ */ React73.createElement(
9258
9268
  Button,
9259
9269
  {
9260
9270
  disabled: props.isEmailLoading,
@@ -9262,9 +9272,9 @@ var AuthButtons = (props) => {
9262
9272
  variant: "outline",
9263
9273
  onClick: props.handleEmail
9264
9274
  },
9265
- props.isEmailLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.mail, { className: "hawa-icon" }),
9275
+ props.isEmailLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.mail, { className: "hawa-icon" }),
9266
9276
  (_p = (_o = props.texts) == null ? void 0 : _o.continueWithEmail) != null ? _p : "Continue With Email"
9267
- ), props.viaPhone && /* @__PURE__ */ React72.createElement(
9277
+ ), props.viaPhone && /* @__PURE__ */ React73.createElement(
9268
9278
  Button,
9269
9279
  {
9270
9280
  disabled: props.isPhoneLoading,
@@ -9272,13 +9282,13 @@ var AuthButtons = (props) => {
9272
9282
  variant: "outline",
9273
9283
  onClick: props.handlePhone
9274
9284
  },
9275
- props.isPhoneLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.phone, { className: "hawa-icon" }),
9285
+ props.isPhoneLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.phone, { className: "hawa-icon" }),
9276
9286
  (_r = (_q = props.texts) == null ? void 0 : _q.continueWithPhone) != null ? _r : "Continue With Phone"
9277
9287
  ));
9278
9288
  };
9279
9289
 
9280
9290
  // blocks/auth/LoginForm.tsx
9281
- import React73, { useState as useState25 } from "react";
9291
+ import React74, { useState as useState25 } from "react";
9282
9292
  import { Controller, useForm } from "react-hook-form";
9283
9293
  import { zodResolver } from "@hookform/resolvers/zod";
9284
9294
  import { parsePhoneNumber } from "libphonenumber-js";
@@ -9352,14 +9362,14 @@ var LoginForm = ({
9352
9362
  const renderFields = () => {
9353
9363
  switch (loginType) {
9354
9364
  case "email":
9355
- return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(
9365
+ return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9356
9366
  Controller,
9357
9367
  {
9358
9368
  control,
9359
9369
  name: "email",
9360
9370
  render: ({ field }) => {
9361
9371
  var _a2, _b2, _c2;
9362
- return /* @__PURE__ */ React73.createElement(
9372
+ return /* @__PURE__ */ React74.createElement(
9363
9373
  Input,
9364
9374
  {
9365
9375
  inputProps: {
@@ -9376,27 +9386,27 @@ var LoginForm = ({
9376
9386
  );
9377
9387
  }
9378
9388
  }
9379
- ), /* @__PURE__ */ React73.createElement("div", null, /* @__PURE__ */ React73.createElement(
9389
+ ), /* @__PURE__ */ React74.createElement("div", null, /* @__PURE__ */ React74.createElement(
9380
9390
  Controller,
9381
9391
  {
9382
9392
  control,
9383
9393
  name: "password",
9384
9394
  render: ({ field }) => {
9385
9395
  var _a2, _b2, _c2;
9386
- return /* @__PURE__ */ React73.createElement(
9396
+ return /* @__PURE__ */ React74.createElement(
9387
9397
  Input,
9388
9398
  {
9389
9399
  width: "full",
9390
9400
  autoComplete: "current-password",
9391
9401
  type: passwordVisible ? "text" : "password",
9392
9402
  label: ((_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label) || "Password",
9393
- endIcon: /* @__PURE__ */ React73.createElement(
9403
+ endIcon: /* @__PURE__ */ React74.createElement(
9394
9404
  "div",
9395
9405
  {
9396
9406
  className: "hawa-cursor-pointer",
9397
9407
  onClick: () => setPasswordVisible(!passwordVisible)
9398
9408
  },
9399
- passwordVisible ? /* @__PURE__ */ React73.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React73.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9409
+ passwordVisible ? /* @__PURE__ */ React74.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React74.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9400
9410
  ),
9401
9411
  placeholder: ((_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder) || "Enter your password",
9402
9412
  helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
@@ -9405,7 +9415,7 @@ var LoginForm = ({
9405
9415
  );
9406
9416
  }
9407
9417
  }
9408
- ), props.withResetPassword && /* @__PURE__ */ React73.createElement(
9418
+ ), props.withResetPassword && /* @__PURE__ */ React74.createElement(
9409
9419
  "div",
9410
9420
  {
9411
9421
  onClick: props.onForgotPassword,
@@ -9414,14 +9424,14 @@ var LoginForm = ({
9414
9424
  (texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
9415
9425
  )));
9416
9426
  case "username":
9417
- return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(
9427
+ return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9418
9428
  Controller,
9419
9429
  {
9420
9430
  control,
9421
9431
  name: "username",
9422
9432
  render: ({ field }) => {
9423
9433
  var _a2, _b2, _c2;
9424
- return /* @__PURE__ */ React73.createElement(
9434
+ return /* @__PURE__ */ React74.createElement(
9425
9435
  Input,
9426
9436
  {
9427
9437
  width: "full",
@@ -9434,27 +9444,27 @@ var LoginForm = ({
9434
9444
  );
9435
9445
  }
9436
9446
  }
9437
- ), /* @__PURE__ */ React73.createElement("div", null, /* @__PURE__ */ React73.createElement(
9447
+ ), /* @__PURE__ */ React74.createElement("div", null, /* @__PURE__ */ React74.createElement(
9438
9448
  Controller,
9439
9449
  {
9440
9450
  control,
9441
9451
  name: "password",
9442
9452
  render: ({ field }) => {
9443
9453
  var _a2, _b2, _c2;
9444
- return /* @__PURE__ */ React73.createElement(
9454
+ return /* @__PURE__ */ React74.createElement(
9445
9455
  Input,
9446
9456
  {
9447
9457
  width: "full",
9448
9458
  autoComplete: "current-password",
9449
9459
  type: passwordVisible ? "text" : "password",
9450
9460
  label: ((_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label) || "Password",
9451
- endIcon: /* @__PURE__ */ React73.createElement(
9461
+ endIcon: /* @__PURE__ */ React74.createElement(
9452
9462
  "div",
9453
9463
  {
9454
9464
  className: "hawa-cursor-pointer",
9455
9465
  onClick: () => setPasswordVisible(!passwordVisible)
9456
9466
  },
9457
- passwordVisible ? /* @__PURE__ */ React73.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React73.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9467
+ passwordVisible ? /* @__PURE__ */ React74.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React74.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9458
9468
  ),
9459
9469
  placeholder: ((_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder) || "Enter your password",
9460
9470
  helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
@@ -9463,7 +9473,7 @@ var LoginForm = ({
9463
9473
  );
9464
9474
  }
9465
9475
  }
9466
- ), props.withResetPassword && /* @__PURE__ */ React73.createElement(
9476
+ ), props.withResetPassword && /* @__PURE__ */ React74.createElement(
9467
9477
  "div",
9468
9478
  {
9469
9479
  onClick: props.onForgotPassword,
@@ -9472,14 +9482,14 @@ var LoginForm = ({
9472
9482
  (texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
9473
9483
  )));
9474
9484
  case "phone":
9475
- return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(
9485
+ return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9476
9486
  Controller,
9477
9487
  {
9478
9488
  control,
9479
9489
  name: "phone",
9480
9490
  render: ({ field }) => {
9481
9491
  var _a2, _b2;
9482
- return /* @__PURE__ */ React73.createElement(
9492
+ return /* @__PURE__ */ React74.createElement(
9483
9493
  PhoneInput,
9484
9494
  {
9485
9495
  label: ((_a2 = texts == null ? void 0 : texts.phone) == null ? void 0 : _a2.label) || "Phone Number",
@@ -9492,14 +9502,14 @@ var LoginForm = ({
9492
9502
  }
9493
9503
  ));
9494
9504
  case "link":
9495
- return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(
9505
+ return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9496
9506
  Controller,
9497
9507
  {
9498
9508
  control,
9499
9509
  name: "email",
9500
9510
  render: ({ field }) => {
9501
9511
  var _a2, _b2, _c2;
9502
- return /* @__PURE__ */ React73.createElement(
9512
+ return /* @__PURE__ */ React74.createElement(
9503
9513
  Input,
9504
9514
  {
9505
9515
  width: "full",
@@ -9517,7 +9527,7 @@ var LoginForm = ({
9517
9527
  break;
9518
9528
  }
9519
9529
  };
9520
- return /* @__PURE__ */ React73.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React73.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React73.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React73.createElement(
9530
+ return /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React74.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React74.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React74.createElement(
9521
9531
  Alert,
9522
9532
  {
9523
9533
  direction: props.direction,
@@ -9525,7 +9535,7 @@ var LoginForm = ({
9525
9535
  text: props.errorText,
9526
9536
  severity: "error"
9527
9537
  }
9528
- ), /* @__PURE__ */ React73.createElement(
9538
+ ), /* @__PURE__ */ React74.createElement(
9529
9539
  "form",
9530
9540
  {
9531
9541
  noValidate: true,
@@ -9539,7 +9549,7 @@ var LoginForm = ({
9539
9549
  })
9540
9550
  },
9541
9551
  renderFields(),
9542
- /* @__PURE__ */ React73.createElement(
9552
+ /* @__PURE__ */ React74.createElement(
9543
9553
  Button,
9544
9554
  {
9545
9555
  className: "hawa-mt-0 hawa-w-full",
@@ -9550,7 +9560,7 @@ var LoginForm = ({
9550
9560
  (texts == null ? void 0 : texts.loginText) || "Login"
9551
9561
  ),
9552
9562
  props.additionalButtons,
9553
- props.allowRegister && /* @__PURE__ */ React73.createElement("div", { className: "hawa-select-none hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, (texts == null ? void 0 : texts.newUserText) || "New user?", " ", /* @__PURE__ */ React73.createElement(
9563
+ props.allowRegister && /* @__PURE__ */ React74.createElement("div", { className: "hawa-select-none hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, (texts == null ? void 0 : texts.newUserText) || "New user?", " ", /* @__PURE__ */ React74.createElement(
9554
9564
  "span",
9555
9565
  {
9556
9566
  onClick: props.onRouteToRegister,
@@ -9558,14 +9568,14 @@ var LoginForm = ({
9558
9568
  },
9559
9569
  (texts == null ? void 0 : texts.createAccount) || "Create Account"
9560
9570
  ))
9561
- )), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React73.createElement(
9571
+ )), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React74.createElement(
9562
9572
  CardFooter,
9563
9573
  {
9564
9574
  className: cn(
9565
9575
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
9566
9576
  )
9567
9577
  },
9568
- /* @__PURE__ */ React73.createElement(
9578
+ /* @__PURE__ */ React74.createElement(
9569
9579
  AuthButtons,
9570
9580
  {
9571
9581
  texts: thirdPartyAuthTexts,
@@ -9584,7 +9594,7 @@ var LoginForm = ({
9584
9594
  };
9585
9595
 
9586
9596
  // blocks/auth/RegisterForm.tsx
9587
- import React74, { useState as useState26 } from "react";
9597
+ import React75, { useState as useState26 } from "react";
9588
9598
  import { Controller as Controller2, FormProvider, useForm as useForm2 } from "react-hook-form";
9589
9599
  import { zodResolver as zodResolver2 } from "@hookform/resolvers/zod";
9590
9600
  import * as z2 from "zod";
@@ -9661,7 +9671,7 @@ var RegisterForm = ({
9661
9671
  const { handleSubmit, control, formState } = useForm2({
9662
9672
  resolver: zodResolver2(formSchema)
9663
9673
  });
9664
- return /* @__PURE__ */ React74.createElement(
9674
+ return /* @__PURE__ */ React75.createElement(
9665
9675
  "div",
9666
9676
  {
9667
9677
  className: cn(
@@ -9669,14 +9679,14 @@ var RegisterForm = ({
9669
9679
  (_g = props.classNames) == null ? void 0 : _g.root
9670
9680
  )
9671
9681
  },
9672
- /* @__PURE__ */ React74.createElement(Card, { dir: props.direction, className: cn((_h = props.classNames) == null ? void 0 : _h.card) }, /* @__PURE__ */ React74.createElement(CardContent, { headless: true }, /* @__PURE__ */ React74.createElement("div", null, props.showError && /* @__PURE__ */ React74.createElement(
9682
+ /* @__PURE__ */ React75.createElement(Card, { dir: props.direction, className: cn((_h = props.classNames) == null ? void 0 : _h.card) }, /* @__PURE__ */ React75.createElement(CardContent, { headless: true }, /* @__PURE__ */ React75.createElement("div", null, props.showError && /* @__PURE__ */ React75.createElement(
9673
9683
  Alert,
9674
9684
  {
9675
9685
  title: props.errorTitle,
9676
9686
  text: props.errorText,
9677
9687
  severity: "error"
9678
9688
  }
9679
- ), /* @__PURE__ */ React74.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React74.createElement(
9689
+ ), /* @__PURE__ */ React75.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React75.createElement(
9680
9690
  "form",
9681
9691
  {
9682
9692
  noValidate: true,
@@ -9691,9 +9701,9 @@ var RegisterForm = ({
9691
9701
  }),
9692
9702
  className: "hawa-flex hawa-flex-col hawa-gap-4"
9693
9703
  },
9694
- /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
9704
+ /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
9695
9705
  if (fld === "fullname") {
9696
- return /* @__PURE__ */ React74.createElement(
9706
+ return /* @__PURE__ */ React75.createElement(
9697
9707
  Controller2,
9698
9708
  {
9699
9709
  key: i,
@@ -9701,7 +9711,7 @@ var RegisterForm = ({
9701
9711
  name: "fullName",
9702
9712
  render: ({ field }) => {
9703
9713
  var _a2, _b2, _c2;
9704
- return /* @__PURE__ */ React74.createElement(
9714
+ return /* @__PURE__ */ React75.createElement(
9705
9715
  Input,
9706
9716
  {
9707
9717
  width: "full",
@@ -9716,7 +9726,7 @@ var RegisterForm = ({
9716
9726
  );
9717
9727
  }
9718
9728
  if (fld === "email") {
9719
- return /* @__PURE__ */ React74.createElement(
9729
+ return /* @__PURE__ */ React75.createElement(
9720
9730
  Controller2,
9721
9731
  {
9722
9732
  key: i,
@@ -9724,7 +9734,7 @@ var RegisterForm = ({
9724
9734
  name: "email",
9725
9735
  render: ({ field }) => {
9726
9736
  var _a2, _b2, _c2;
9727
- return /* @__PURE__ */ React74.createElement(
9737
+ return /* @__PURE__ */ React75.createElement(
9728
9738
  Input,
9729
9739
  {
9730
9740
  dir: "ltr",
@@ -9744,7 +9754,7 @@ var RegisterForm = ({
9744
9754
  );
9745
9755
  }
9746
9756
  if (fld === "username") {
9747
- return /* @__PURE__ */ React74.createElement(
9757
+ return /* @__PURE__ */ React75.createElement(
9748
9758
  Controller2,
9749
9759
  {
9750
9760
  key: i,
@@ -9752,7 +9762,7 @@ var RegisterForm = ({
9752
9762
  name: "username",
9753
9763
  render: ({ field }) => {
9754
9764
  var _a2, _b2, _c2, _d2;
9755
- return /* @__PURE__ */ React74.createElement(
9765
+ return /* @__PURE__ */ React75.createElement(
9756
9766
  Input,
9757
9767
  {
9758
9768
  width: "full",
@@ -9771,25 +9781,25 @@ var RegisterForm = ({
9771
9781
  );
9772
9782
  }
9773
9783
  })),
9774
- /* @__PURE__ */ React74.createElement(
9784
+ /* @__PURE__ */ React75.createElement(
9775
9785
  Controller2,
9776
9786
  {
9777
9787
  control,
9778
9788
  name: "password",
9779
9789
  render: ({ field }) => {
9780
9790
  var _a2, _b2, _c2;
9781
- return /* @__PURE__ */ React74.createElement(
9791
+ return /* @__PURE__ */ React75.createElement(
9782
9792
  Input,
9783
9793
  {
9784
9794
  width: "full",
9785
9795
  type: passwordVisible ? "text" : "password",
9786
- endIcon: /* @__PURE__ */ React74.createElement(
9796
+ endIcon: /* @__PURE__ */ React75.createElement(
9787
9797
  "div",
9788
9798
  {
9789
9799
  className: "hawa-cursor-pointer",
9790
9800
  onClick: () => setPasswordVisible(!passwordVisible)
9791
9801
  },
9792
- passwordVisible ? /* @__PURE__ */ React74.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React74.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
9802
+ passwordVisible ? /* @__PURE__ */ React75.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React75.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
9793
9803
  " "
9794
9804
  ),
9795
9805
  autoComplete: "new-password",
@@ -9802,14 +9812,14 @@ var RegisterForm = ({
9802
9812
  }
9803
9813
  }
9804
9814
  ),
9805
- /* @__PURE__ */ React74.createElement(
9815
+ /* @__PURE__ */ React75.createElement(
9806
9816
  Controller2,
9807
9817
  {
9808
9818
  control,
9809
9819
  name: "confirm_password",
9810
9820
  render: ({ field }) => {
9811
9821
  var _a2, _b2, _c2;
9812
- return /* @__PURE__ */ React74.createElement(
9822
+ return /* @__PURE__ */ React75.createElement(
9813
9823
  Input,
9814
9824
  {
9815
9825
  width: "full",
@@ -9825,14 +9835,14 @@ var RegisterForm = ({
9825
9835
  }
9826
9836
  ),
9827
9837
  props.additionalInputs,
9828
- props.showRefCode && /* @__PURE__ */ React74.createElement(
9838
+ props.showRefCode && /* @__PURE__ */ React75.createElement(
9829
9839
  Controller2,
9830
9840
  {
9831
9841
  control,
9832
9842
  name: "refCode",
9833
9843
  render: ({ field }) => {
9834
9844
  var _a2;
9835
- return /* @__PURE__ */ React74.createElement(
9845
+ return /* @__PURE__ */ React75.createElement(
9836
9846
  Input,
9837
9847
  {
9838
9848
  width: "full",
@@ -9845,14 +9855,14 @@ var RegisterForm = ({
9845
9855
  }
9846
9856
  }
9847
9857
  ),
9848
- props.showUserSource && /* @__PURE__ */ React74.createElement(
9858
+ props.showUserSource && /* @__PURE__ */ React75.createElement(
9849
9859
  Controller2,
9850
9860
  {
9851
9861
  control,
9852
9862
  name: "reference",
9853
9863
  render: ({ field }) => {
9854
9864
  var _a2, _b2;
9855
- return /* @__PURE__ */ React74.createElement(
9865
+ return /* @__PURE__ */ React75.createElement(
9856
9866
  Select,
9857
9867
  {
9858
9868
  label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
@@ -9870,20 +9880,20 @@ var RegisterForm = ({
9870
9880
  }
9871
9881
  }
9872
9882
  ),
9873
- showTermsOption || showNewsletterOption ? /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ React74.createElement(
9883
+ showTermsOption || showNewsletterOption ? /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ React75.createElement(
9874
9884
  Controller2,
9875
9885
  {
9876
9886
  control,
9877
9887
  name: "terms_accepted",
9878
9888
  render: ({ field }) => {
9879
9889
  var _a2, _b2;
9880
- return /* @__PURE__ */ React74.createElement(
9890
+ return /* @__PURE__ */ React75.createElement(
9881
9891
  Checkbox,
9882
9892
  {
9883
9893
  id: "terms_accepted",
9884
9894
  helperText: (_b2 = (_a2 = formState.errors.terms_accepted) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString(),
9885
9895
  onCheckedChange: (e) => field.onChange(e),
9886
- label: /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5 hawa-whitespace-nowrap hawa-flex-wrap" }, (texts == null ? void 0 : texts.iAcceptText) || "I accept the", " ", /* @__PURE__ */ React74.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React74.createElement(
9896
+ label: /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5 hawa-whitespace-nowrap hawa-flex-wrap" }, (texts == null ? void 0 : texts.iAcceptText) || "I accept the", " ", /* @__PURE__ */ React75.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React75.createElement(
9887
9897
  "span",
9888
9898
  {
9889
9899
  onClick: (e) => {
@@ -9900,12 +9910,12 @@ var RegisterForm = ({
9900
9910
  );
9901
9911
  }
9902
9912
  }
9903
- ), showNewsletterOption && /* @__PURE__ */ React74.createElement(
9913
+ ), showNewsletterOption && /* @__PURE__ */ React75.createElement(
9904
9914
  Controller2,
9905
9915
  {
9906
9916
  control,
9907
9917
  name: "newsletter_accepted",
9908
- render: ({ field }) => /* @__PURE__ */ React74.createElement(
9918
+ render: ({ field }) => /* @__PURE__ */ React75.createElement(
9909
9919
  Checkbox,
9910
9920
  {
9911
9921
  id: "newsletter_accepted",
@@ -9915,7 +9925,7 @@ var RegisterForm = ({
9915
9925
  )
9916
9926
  }
9917
9927
  )) : null,
9918
- /* @__PURE__ */ React74.createElement(
9928
+ /* @__PURE__ */ React75.createElement(
9919
9929
  Button,
9920
9930
  {
9921
9931
  className: " hawa-w-full",
@@ -9926,14 +9936,14 @@ var RegisterForm = ({
9926
9936
  (texts == null ? void 0 : texts.registerText) || "Register"
9927
9937
  ),
9928
9938
  props.additionalButtons
9929
- )), /* @__PURE__ */ React74.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__ */ React74.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ React74.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React74.createElement(
9939
+ )), /* @__PURE__ */ React75.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__ */ React75.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ React75.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React75.createElement(
9930
9940
  CardFooter,
9931
9941
  {
9932
9942
  className: cn(
9933
9943
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
9934
9944
  )
9935
9945
  },
9936
- /* @__PURE__ */ React74.createElement(
9946
+ /* @__PURE__ */ React75.createElement(
9937
9947
  AuthButtons,
9938
9948
  {
9939
9949
  texts: thirdPartyAuthTexts,
@@ -9953,7 +9963,7 @@ var RegisterForm = ({
9953
9963
  };
9954
9964
 
9955
9965
  // blocks/auth/AppLanding.tsx
9956
- import React75 from "react";
9966
+ import React76 from "react";
9957
9967
  var AppLanding = ({ texts, ...props }) => {
9958
9968
  const thirdPartyAuthTexts = {
9959
9969
  continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
@@ -9964,7 +9974,7 @@ var AppLanding = ({ texts, ...props }) => {
9964
9974
  continueWithEmail: texts == null ? void 0 : texts.continueWithEmail,
9965
9975
  continueWithPhone: texts == null ? void 0 : texts.continueWithPhone
9966
9976
  };
9967
- return /* @__PURE__ */ React75.createElement("div", { dir: props.direction }, /* @__PURE__ */ React75.createElement(Card, null, /* @__PURE__ */ React75.createElement(CardContent, { headless: true, className: "hawa-flex hawa-flex-col hawa-gap-6" }, /* @__PURE__ */ React75.createElement(
9977
+ return /* @__PURE__ */ React76.createElement("div", { dir: props.direction }, /* @__PURE__ */ React76.createElement(Card, null, /* @__PURE__ */ React76.createElement(CardContent, { headless: true, className: "hawa-flex hawa-flex-col hawa-gap-6" }, /* @__PURE__ */ React76.createElement(
9968
9978
  AuthButtons,
9969
9979
  {
9970
9980
  texts: thirdPartyAuthTexts,
@@ -9983,7 +9993,7 @@ var AppLanding = ({ texts, ...props }) => {
9983
9993
  handleEmail: props.handleEmail,
9984
9994
  handlePhone: props.handlePhone
9985
9995
  }
9986
- ), props.allowRegister && /* @__PURE__ */ React75.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts == null ? void 0 : texts.newUserText, " ", /* @__PURE__ */ React75.createElement(
9996
+ ), props.allowRegister && /* @__PURE__ */ React76.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts == null ? void 0 : texts.newUserText, " ", /* @__PURE__ */ React76.createElement(
9987
9997
  "span",
9988
9998
  {
9989
9999
  onClick: props.handleRouteToRegister,
@@ -9994,9 +10004,9 @@ var AppLanding = ({ texts, ...props }) => {
9994
10004
  };
9995
10005
 
9996
10006
  // blocks/auth/CheckEmail.tsx
9997
- import React76 from "react";
10007
+ import React77 from "react";
9998
10008
  var CheckEmail = ({ texts, handleResend }) => {
9999
- return /* @__PURE__ */ React76.createElement(Card, null, /* @__PURE__ */ React76.createElement(CardContent, { headless: true }, /* @__PURE__ */ React76.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React76.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__ */ React76.createElement(
10009
+ return /* @__PURE__ */ React77.createElement(Card, null, /* @__PURE__ */ React77.createElement(CardContent, { headless: true }, /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React77.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__ */ React77.createElement(
10000
10010
  "svg",
10001
10011
  {
10002
10012
  stroke: "currentColor",
@@ -10009,13 +10019,13 @@ var CheckEmail = ({ texts, handleResend }) => {
10009
10019
  width: "0.5em",
10010
10020
  xmlns: "http://www.w3.org/2000/svg"
10011
10021
  },
10012
- /* @__PURE__ */ React76.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" }),
10013
- /* @__PURE__ */ React76.createElement("polyline", { points: "22,6 12,13 2,6" })
10014
- )), /* @__PURE__ */ React76.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React76.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : 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__ */ React76.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React76.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
10022
+ /* @__PURE__ */ React77.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" }),
10023
+ /* @__PURE__ */ React77.createElement("polyline", { points: "22,6 12,13 2,6" })
10024
+ )), /* @__PURE__ */ React77.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React77.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : 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__ */ React77.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React77.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
10015
10025
  };
10016
10026
 
10017
10027
  // blocks/auth/NewPassword.tsx
10018
- import React77, { useState as useState27 } from "react";
10028
+ import React78, { useState as useState27 } from "react";
10019
10029
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
10020
10030
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
10021
10031
  import * as z3 from "zod";
@@ -10034,7 +10044,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
10034
10044
  resolver: zodResolver3(formSchema)
10035
10045
  });
10036
10046
  const [matchError, setMatchError] = useState27(false);
10037
- return /* @__PURE__ */ React77.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React77.createElement(Alert, { text: (_g = texts == null ? void 0 : texts.confirm) == null ? void 0 : _g.dontMatch, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React77.createElement(CardContent, { headless: true }, /* @__PURE__ */ React77.createElement("div", { className: "hawa-text-center" }, texts == null ? void 0 : texts.passwordChanged)) : /* @__PURE__ */ React77.createElement(
10047
+ return /* @__PURE__ */ React78.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React78.createElement(Alert, { text: (_g = texts == null ? void 0 : texts.confirm) == null ? void 0 : _g.dontMatch, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React78.createElement(CardContent, { headless: true }, /* @__PURE__ */ React78.createElement("div", { className: "hawa-text-center" }, texts == null ? void 0 : texts.passwordChanged)) : /* @__PURE__ */ React78.createElement(
10038
10048
  "form",
10039
10049
  {
10040
10050
  noValidate: true,
@@ -10048,21 +10058,21 @@ var NewPasswordForm = ({ texts, ...props }) => {
10048
10058
  }
10049
10059
  })
10050
10060
  },
10051
- !props.headless && /* @__PURE__ */ React77.createElement(CardHeader, null, /* @__PURE__ */ React77.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React77.createElement(CardDescription, null, "Set a new password for your account")),
10052
- /* @__PURE__ */ React77.createElement(
10061
+ !props.headless && /* @__PURE__ */ React78.createElement(CardHeader, null, /* @__PURE__ */ React78.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React78.createElement(CardDescription, null, "Set a new password for your account")),
10062
+ /* @__PURE__ */ React78.createElement(
10053
10063
  CardContent,
10054
10064
  {
10055
10065
  headless: props.headless,
10056
10066
  className: "hawa-flex hawa-flex-col hawa-gap-4"
10057
10067
  },
10058
- /* @__PURE__ */ React77.createElement(
10068
+ /* @__PURE__ */ React78.createElement(
10059
10069
  Controller3,
10060
10070
  {
10061
10071
  control,
10062
10072
  name: "password",
10063
10073
  render: ({ field }) => {
10064
10074
  var _a2, _b2, _c2;
10065
- return /* @__PURE__ */ React77.createElement(
10075
+ return /* @__PURE__ */ React78.createElement(
10066
10076
  Input,
10067
10077
  {
10068
10078
  width: "full",
@@ -10077,14 +10087,14 @@ var NewPasswordForm = ({ texts, ...props }) => {
10077
10087
  }
10078
10088
  }
10079
10089
  ),
10080
- /* @__PURE__ */ React77.createElement(
10090
+ /* @__PURE__ */ React78.createElement(
10081
10091
  Controller3,
10082
10092
  {
10083
10093
  control,
10084
10094
  name: "confirm_password",
10085
10095
  render: ({ field }) => {
10086
10096
  var _a2, _b2, _c2;
10087
- return /* @__PURE__ */ React77.createElement(
10097
+ return /* @__PURE__ */ React78.createElement(
10088
10098
  Input,
10089
10099
  {
10090
10100
  width: "full",
@@ -10100,7 +10110,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
10100
10110
  }
10101
10111
  )
10102
10112
  ),
10103
- /* @__PURE__ */ React77.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React77.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React77.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React77.createElement(
10113
+ /* @__PURE__ */ React78.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React78.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React78.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React78.createElement(
10104
10114
  "span",
10105
10115
  {
10106
10116
  className: "clickable-link",
@@ -10112,7 +10122,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
10112
10122
  };
10113
10123
 
10114
10124
  // blocks/auth/ResetPassword.tsx
10115
- import React78 from "react";
10125
+ import React79 from "react";
10116
10126
  import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
10117
10127
  import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
10118
10128
  import * as z4 from "zod";
@@ -10129,7 +10139,7 @@ var ResetPasswordForm = ({
10129
10139
  const { handleSubmit, control, formState } = useForm4({
10130
10140
  resolver: zodResolver4(formSchema)
10131
10141
  });
10132
- return /* @__PURE__ */ React78.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React78.createElement(React78.Fragment, null, !props.headless && /* @__PURE__ */ React78.createElement(CardHeader, null, /* @__PURE__ */ React78.createElement(CardTitle, null, ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React78.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React78.createElement(
10142
+ return /* @__PURE__ */ React79.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React79.createElement(React79.Fragment, null, !props.headless && /* @__PURE__ */ React79.createElement(CardHeader, null, /* @__PURE__ */ React79.createElement(CardTitle, null, ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React79.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React79.createElement(
10133
10143
  "form",
10134
10144
  {
10135
10145
  noValidate: true,
@@ -10141,14 +10151,14 @@ var ResetPasswordForm = ({
10141
10151
  }
10142
10152
  })
10143
10153
  },
10144
- /* @__PURE__ */ React78.createElement(CardContent, { headless: props.headless, className: "hawa-pb-4" }, /* @__PURE__ */ React78.createElement(
10154
+ /* @__PURE__ */ React79.createElement(CardContent, { headless: props.headless, className: "hawa-pb-4" }, /* @__PURE__ */ React79.createElement(
10145
10155
  Controller4,
10146
10156
  {
10147
10157
  control,
10148
10158
  name: "email",
10149
10159
  render: ({ field }) => {
10150
10160
  var _a2, _b2, _c2, _d2, _e2;
10151
- return /* @__PURE__ */ React78.createElement(
10161
+ return /* @__PURE__ */ React79.createElement(
10152
10162
  Input,
10153
10163
  {
10154
10164
  width: "full",
@@ -10161,7 +10171,7 @@ var ResetPasswordForm = ({
10161
10171
  }
10162
10172
  }
10163
10173
  )),
10164
- /* @__PURE__ */ React78.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React78.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ React78.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React78.createElement(
10174
+ /* @__PURE__ */ React79.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React79.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ React79.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React79.createElement(
10165
10175
  "span",
10166
10176
  {
10167
10177
  className: "clickable-link",
@@ -10169,11 +10179,11 @@ var ResetPasswordForm = ({
10169
10179
  },
10170
10180
  (_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
10171
10181
  )))
10172
- )) : /* @__PURE__ */ React78.createElement(CardContent, { headless: true }, /* @__PURE__ */ React78.createElement("div", { className: "hawa-text-center" }, ((_n = props.texts) == null ? void 0 : _n.emailSentText) || "An email has been sent with a link to set a new password")));
10182
+ )) : /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-center" }, ((_n = props.texts) == null ? void 0 : _n.emailSentText) || "An email has been sent with a link to set a new password")));
10173
10183
  };
10174
10184
 
10175
10185
  // blocks/auth/CodeConfirmation.tsx
10176
- import React79, { useEffect as useEffect17, useState as useState28 } from "react";
10186
+ import React80, { useEffect as useEffect17, useState as useState28 } from "react";
10177
10187
  import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
10178
10188
  import { zodResolver as zodResolver5 } from "@hookform/resolvers/zod";
10179
10189
  import * as z5 from "zod";
@@ -10216,14 +10226,14 @@ var CodeConfirmation = (props) => {
10216
10226
  }
10217
10227
  };
10218
10228
  }, []);
10219
- return /* @__PURE__ */ React79.createElement(Card, null, /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React79.createElement(
10229
+ return /* @__PURE__ */ React80.createElement(Card, null, /* @__PURE__ */ React80.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React80.createElement(
10220
10230
  Alert,
10221
10231
  {
10222
10232
  title: props.errorTitle,
10223
10233
  text: props.errorText,
10224
10234
  severity: "error"
10225
10235
  }
10226
- ), /* @__PURE__ */ React79.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourPhone) || "Please check your phone"), /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React79.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ React79.createElement("span", null, props.phoneNumber))), /* @__PURE__ */ React79.createElement(
10236
+ ), /* @__PURE__ */ React80.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React80.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourPhone) || "Please check your phone"), /* @__PURE__ */ React80.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React80.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ React80.createElement("span", null, props.phoneNumber))), /* @__PURE__ */ React80.createElement(
10227
10237
  "form",
10228
10238
  {
10229
10239
  noValidate: true,
@@ -10237,14 +10247,14 @@ var CodeConfirmation = (props) => {
10237
10247
  }
10238
10248
  })
10239
10249
  },
10240
- /* @__PURE__ */ React79.createElement(
10250
+ /* @__PURE__ */ React80.createElement(
10241
10251
  Controller5,
10242
10252
  {
10243
10253
  control,
10244
10254
  name: "otp_code",
10245
10255
  render: ({ field }) => {
10246
10256
  var _a2;
10247
- return /* @__PURE__ */ React79.createElement(
10257
+ return /* @__PURE__ */ React80.createElement(
10248
10258
  PinInput,
10249
10259
  {
10250
10260
  width: "full",
@@ -10256,7 +10266,7 @@ var CodeConfirmation = (props) => {
10256
10266
  }
10257
10267
  }
10258
10268
  ),
10259
- showResendTimer ? /* @__PURE__ */ React79.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, (_e = props.texts) == null ? void 0 : _e.resendCodeTimer, " ", /* @__PURE__ */ React79.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ React79.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React79.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ React79.createElement(
10269
+ showResendTimer ? /* @__PURE__ */ React80.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, (_e = props.texts) == null ? void 0 : _e.resendCodeTimer, " ", /* @__PURE__ */ React80.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ React80.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React80.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ React80.createElement(
10260
10270
  "span",
10261
10271
  {
10262
10272
  className: "clickable-link",
@@ -10267,12 +10277,12 @@ var CodeConfirmation = (props) => {
10267
10277
  },
10268
10278
  ((_i = props.texts) == null ? void 0 : _i.resendCode) || "Click to resend"
10269
10279
  )),
10270
- /* @__PURE__ */ React79.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ React79.createElement(Button, { variant: "secondary" }, ((_j = props.texts) == null ? void 0 : _j.cancel) || "Cancel"), /* @__PURE__ */ React79.createElement(Button, { isLoading: props.confirmLoading }, ((_k = props.texts) == null ? void 0 : _k.confirm) || "Confirm"))
10280
+ /* @__PURE__ */ React80.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ React80.createElement(Button, { variant: "secondary" }, ((_j = props.texts) == null ? void 0 : _j.cancel) || "Cancel"), /* @__PURE__ */ React80.createElement(Button, { isLoading: props.confirmLoading }, ((_k = props.texts) == null ? void 0 : _k.confirm) || "Confirm"))
10271
10281
  )));
10272
10282
  };
10273
10283
 
10274
10284
  // blocks/feedback/UserReferralSource.tsx
10275
- import React80, { useRef as useRef11, useState as useState29 } from "react";
10285
+ import React81, { useRef as useRef11, useState as useState29 } from "react";
10276
10286
  import { Controller as Controller6, useForm as useForm6 } from "react-hook-form";
10277
10287
  import { zodResolver as zodResolver6 } from "@hookform/resolvers/zod";
10278
10288
  import * as z6 from "zod";
@@ -10303,7 +10313,7 @@ var UserReferralSource = ({
10303
10313
  label: "Other"
10304
10314
  }
10305
10315
  ];
10306
- return /* @__PURE__ */ React80.createElement(
10316
+ return /* @__PURE__ */ React81.createElement(
10307
10317
  "div",
10308
10318
  {
10309
10319
  className: cn(
@@ -10312,7 +10322,7 @@ var UserReferralSource = ({
10312
10322
  ),
10313
10323
  ref: popUpRef
10314
10324
  },
10315
- /* @__PURE__ */ React80.createElement(
10325
+ /* @__PURE__ */ React81.createElement(
10316
10326
  Card,
10317
10327
  {
10318
10328
  className: cn(
@@ -10321,7 +10331,7 @@ var UserReferralSource = ({
10321
10331
  ),
10322
10332
  dir: props.direction
10323
10333
  },
10324
- /* @__PURE__ */ React80.createElement(
10334
+ /* @__PURE__ */ React81.createElement(
10325
10335
  "button",
10326
10336
  {
10327
10337
  type: "button",
@@ -10340,7 +10350,7 @@ var UserReferralSource = ({
10340
10350
  }, 200);
10341
10351
  }
10342
10352
  },
10343
- /* @__PURE__ */ React80.createElement(
10353
+ /* @__PURE__ */ React81.createElement(
10344
10354
  "svg",
10345
10355
  {
10346
10356
  "aria-hidden": "true",
@@ -10348,7 +10358,7 @@ var UserReferralSource = ({
10348
10358
  fill: "currentColor",
10349
10359
  viewBox: "0 0 20 20"
10350
10360
  },
10351
- /* @__PURE__ */ React80.createElement(
10361
+ /* @__PURE__ */ React81.createElement(
10352
10362
  "path",
10353
10363
  {
10354
10364
  fillRule: "evenodd",
@@ -10358,7 +10368,7 @@ var UserReferralSource = ({
10358
10368
  )
10359
10369
  )
10360
10370
  ),
10361
- /* @__PURE__ */ React80.createElement(CardContent, { headless: true }, /* @__PURE__ */ React80.createElement(
10371
+ /* @__PURE__ */ React81.createElement(CardContent, { headless: true }, /* @__PURE__ */ React81.createElement(
10362
10372
  "form",
10363
10373
  {
10364
10374
  noValidate: true,
@@ -10370,7 +10380,7 @@ var UserReferralSource = ({
10370
10380
  }
10371
10381
  })
10372
10382
  },
10373
- /* @__PURE__ */ React80.createElement(
10383
+ /* @__PURE__ */ React81.createElement(
10374
10384
  "div",
10375
10385
  {
10376
10386
  className: cn(
@@ -10378,15 +10388,15 @@ var UserReferralSource = ({
10378
10388
  closed ? "hawa-opacity-0" : "hawa-opacity-100"
10379
10389
  )
10380
10390
  },
10381
- /* @__PURE__ */ React80.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
10382
- /* @__PURE__ */ React80.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ React80.createElement(
10391
+ /* @__PURE__ */ React81.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
10392
+ /* @__PURE__ */ React81.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ React81.createElement(
10383
10393
  Controller6,
10384
10394
  {
10385
10395
  control,
10386
10396
  name: "source",
10387
10397
  render: ({ field }) => {
10388
10398
  var _a2, _b2;
10389
- return /* @__PURE__ */ React80.createElement(
10399
+ return /* @__PURE__ */ React81.createElement(
10390
10400
  Radio,
10391
10401
  {
10392
10402
  name: "source",
@@ -10401,14 +10411,14 @@ var UserReferralSource = ({
10401
10411
  }
10402
10412
  }
10403
10413
  )),
10404
- /* @__PURE__ */ React80.createElement("div", null, /* @__PURE__ */ React80.createElement(
10414
+ /* @__PURE__ */ React81.createElement("div", null, /* @__PURE__ */ React81.createElement(
10405
10415
  Controller6,
10406
10416
  {
10407
10417
  control,
10408
10418
  name: "feedback",
10409
10419
  render: ({ field }) => {
10410
10420
  var _a2, _b2;
10411
- return /* @__PURE__ */ React80.createElement(
10421
+ return /* @__PURE__ */ React81.createElement(
10412
10422
  Textarea,
10413
10423
  {
10414
10424
  ...field,
@@ -10423,14 +10433,14 @@ var UserReferralSource = ({
10423
10433
  }
10424
10434
  ))
10425
10435
  ),
10426
- /* @__PURE__ */ React80.createElement(Button, { type: "submit", className: "hawa-mt-4 hawa-w-full" }, ((_b = props.texts) == null ? void 0 : _b.submit) || "Submit")
10436
+ /* @__PURE__ */ React81.createElement(Button, { type: "submit", className: "hawa-mt-4 hawa-w-full" }, ((_b = props.texts) == null ? void 0 : _b.submit) || "Submit")
10427
10437
  ))
10428
10438
  )
10429
10439
  );
10430
10440
  };
10431
10441
 
10432
10442
  // blocks/feedback/FeedbackRating.tsx
10433
- import React81, { useEffect as useEffect18, useRef as useRef12, useState as useState30 } from "react";
10443
+ import React82, { useEffect as useEffect18, useRef as useRef12, useState as useState30 } from "react";
10434
10444
  var FeedbackRating = ({
10435
10445
  position = "bottom-right",
10436
10446
  ...props
@@ -10462,7 +10472,7 @@ var FeedbackRating = ({
10462
10472
  }
10463
10473
  }, 200);
10464
10474
  };
10465
- return /* @__PURE__ */ React81.createElement(
10475
+ return /* @__PURE__ */ React82.createElement(
10466
10476
  "div",
10467
10477
  {
10468
10478
  ref: popUpRef,
@@ -10471,7 +10481,7 @@ var FeedbackRating = ({
10471
10481
  boxPosition[position]
10472
10482
  )
10473
10483
  },
10474
- /* @__PURE__ */ React81.createElement(
10484
+ /* @__PURE__ */ React82.createElement(
10475
10485
  "div",
10476
10486
  {
10477
10487
  className: cn(
@@ -10480,8 +10490,8 @@ var FeedbackRating = ({
10480
10490
  props.banner && "hawa-rounded-none hawa-px-4 md:hawa-rounded-t md:hawa-px-64"
10481
10491
  )
10482
10492
  },
10483
- /* @__PURE__ */ React81.createElement("div", { className: "hawa-absolute hawa-left-2 hawa-top-2 hawa-p-1.5 hawa-text-sm" }, props.title),
10484
- /* @__PURE__ */ React81.createElement(
10493
+ /* @__PURE__ */ React82.createElement("div", { className: "hawa-absolute hawa-left-2 hawa-top-2 hawa-p-1.5 hawa-text-sm" }, props.title),
10494
+ /* @__PURE__ */ React82.createElement(
10485
10495
  "button",
10486
10496
  {
10487
10497
  type: "button",
@@ -10490,7 +10500,7 @@ var FeedbackRating = ({
10490
10500
  "aria-label": "Close",
10491
10501
  onClick: () => slowClose()
10492
10502
  },
10493
- /* @__PURE__ */ React81.createElement(
10503
+ /* @__PURE__ */ React82.createElement(
10494
10504
  "svg",
10495
10505
  {
10496
10506
  "aria-hidden": "true",
@@ -10498,7 +10508,7 @@ var FeedbackRating = ({
10498
10508
  fill: "currentColor",
10499
10509
  viewBox: "0 0 20 20"
10500
10510
  },
10501
- /* @__PURE__ */ React81.createElement(
10511
+ /* @__PURE__ */ React82.createElement(
10502
10512
  "path",
10503
10513
  {
10504
10514
  fillRule: "evenodd",
@@ -10508,8 +10518,8 @@ var FeedbackRating = ({
10508
10518
  )
10509
10519
  )
10510
10520
  ),
10511
- /* @__PURE__ */ React81.createElement("div", { className: "hawa-mt-8" }, props.question),
10512
- /* @__PURE__ */ React81.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded" }, props.options && props.options.map((op, i) => /* @__PURE__ */ React81.createElement(
10521
+ /* @__PURE__ */ React82.createElement("div", { className: "hawa-mt-8" }, props.question),
10522
+ /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded" }, props.options && props.options.map((op, i) => /* @__PURE__ */ React82.createElement(
10513
10523
  "span",
10514
10524
  {
10515
10525
  key: i,
@@ -10537,24 +10547,24 @@ var FeedbackRating = ({
10537
10547
  },
10538
10548
  op
10539
10549
  ))),
10540
- props.texts && /* @__PURE__ */ React81.createElement("div", { className: " hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ React81.createElement("span", null, props.texts.least), /* @__PURE__ */ React81.createElement("span", null, props.texts.most)),
10541
- answered && /* @__PURE__ */ React81.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-rounded hawa-bg-black hawa-bg-opacity-80 hawa-p-4 hawa-text-center hawa-transition-all" }, /* @__PURE__ */ React81.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ React81.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React81.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
10550
+ props.texts && /* @__PURE__ */ React82.createElement("div", { className: " hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ React82.createElement("span", null, props.texts.least), /* @__PURE__ */ React82.createElement("span", null, props.texts.most)),
10551
+ answered && /* @__PURE__ */ React82.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-rounded hawa-bg-black hawa-bg-opacity-80 hawa-p-4 hawa-text-center hawa-transition-all" }, /* @__PURE__ */ React82.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React82.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
10542
10552
  )
10543
10553
  );
10544
10554
  };
10545
10555
 
10546
10556
  // blocks/feedback/FeedbackEmoji.tsx
10547
- import React82, { useState as useState31 } from "react";
10557
+ import React83, { useState as useState31 } from "react";
10548
10558
  var FeedbackEmoji = (props) => {
10549
10559
  const [selectedEmoji, setSelectedEmoji] = useState31(null);
10550
10560
  const [loadingSubmit, setLoadingSubmit] = useState31(false);
10551
10561
  const [feedbackText, setFeedbackText] = useState31("");
10552
10562
  const [helperText, setHelperText] = useState31(false);
10553
10563
  let emojis = [
10554
- { icon: /* @__PURE__ */ React82.createElement(VeryGoodEmoji, null), value: "very-good" },
10555
- { icon: /* @__PURE__ */ React82.createElement(GoodEmoji, null), value: "good" },
10556
- { icon: /* @__PURE__ */ React82.createElement(BadEmoji, null), value: "bad" },
10557
- { icon: /* @__PURE__ */ React82.createElement(VeryBadEmoji, null), value: "very-bad" }
10564
+ { icon: /* @__PURE__ */ React83.createElement(VeryGoodEmoji, null), value: "very-good" },
10565
+ { icon: /* @__PURE__ */ React83.createElement(GoodEmoji, null), value: "good" },
10566
+ { icon: /* @__PURE__ */ React83.createElement(BadEmoji, null), value: "bad" },
10567
+ { icon: /* @__PURE__ */ React83.createElement(VeryBadEmoji, null), value: "very-bad" }
10558
10568
  ];
10559
10569
  const onFeedbackSubmit = async () => {
10560
10570
  if (feedbackText) {
@@ -10574,7 +10584,7 @@ var FeedbackEmoji = (props) => {
10574
10584
  setHelperText(true);
10575
10585
  }
10576
10586
  };
10577
- return /* @__PURE__ */ React82.createElement(
10587
+ return /* @__PURE__ */ React83.createElement(
10578
10588
  "div",
10579
10589
  {
10580
10590
  className: cn(
@@ -10582,7 +10592,7 @@ var FeedbackEmoji = (props) => {
10582
10592
  selectedEmoji ? "hawa-h-[189px] hawa-min-w-fit" : "hawa-h-[44px] "
10583
10593
  )
10584
10594
  },
10585
- /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 " }, /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5 " }, emojis.map((emoji, i) => /* @__PURE__ */ React82.createElement(
10595
+ /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 " }, /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5 " }, emojis.map((emoji, i) => /* @__PURE__ */ React83.createElement(
10586
10596
  Button,
10587
10597
  {
10588
10598
  key: i,
@@ -10601,7 +10611,7 @@ var FeedbackEmoji = (props) => {
10601
10611
  },
10602
10612
  emoji.icon
10603
10613
  )))),
10604
- /* @__PURE__ */ React82.createElement(
10614
+ /* @__PURE__ */ React83.createElement(
10605
10615
  "div",
10606
10616
  {
10607
10617
  className: cn(
@@ -10609,7 +10619,7 @@ var FeedbackEmoji = (props) => {
10609
10619
  selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0 "
10610
10620
  )
10611
10621
  },
10612
- props.showSuccess ? /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ React82.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ React82.createElement(
10622
+ props.showSuccess ? /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ React83.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ React83.createElement(
10613
10623
  "svg",
10614
10624
  {
10615
10625
  stroke: "currentColor",
@@ -10619,13 +10629,13 @@ var FeedbackEmoji = (props) => {
10619
10629
  height: "0.5em",
10620
10630
  width: "0.5em"
10621
10631
  },
10622
- /* @__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" })
10623
- )), /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-flex-col hawa-text-center hawa-text-sm" }, /* @__PURE__ */ React82.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ React82.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-1 hawa-p-1" }, /* @__PURE__ */ React82.createElement(
10632
+ /* @__PURE__ */ React83.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" })
10633
+ )), /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-col hawa-text-center hawa-text-sm" }, /* @__PURE__ */ React83.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ React83.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-1 hawa-p-1" }, /* @__PURE__ */ React83.createElement(
10624
10634
  Popover,
10625
10635
  {
10626
10636
  className: "hawa-select-none hawa-p-1 hawa-text-xs ",
10627
10637
  open: helperText,
10628
- trigger: /* @__PURE__ */ React82.createElement(
10638
+ trigger: /* @__PURE__ */ React83.createElement(
10629
10639
  Textarea,
10630
10640
  {
10631
10641
  classNames: {
@@ -10643,8 +10653,8 @@ var FeedbackEmoji = (props) => {
10643
10653
  }
10644
10654
  )
10645
10655
  },
10646
- /* @__PURE__ */ React82.createElement("span", { className: "hawa-m-0" }, "Please enter your feedback")
10647
- ), /* @__PURE__ */ React82.createElement(
10656
+ /* @__PURE__ */ React83.createElement("span", { className: "hawa-m-0" }, "Please enter your feedback")
10657
+ ), /* @__PURE__ */ React83.createElement(
10648
10658
  Button,
10649
10659
  {
10650
10660
  isLoading: loadingSubmit,
@@ -10659,7 +10669,7 @@ var FeedbackEmoji = (props) => {
10659
10669
  };
10660
10670
 
10661
10671
  // blocks/feedback/FeedbackForm.tsx
10662
- import React83 from "react";
10672
+ import React84 from "react";
10663
10673
  import { useForm as useForm7, Controller as Controller7 } from "react-hook-form";
10664
10674
  import { zodResolver as zodResolver7 } from "@hookform/resolvers/zod";
10665
10675
  import * as z7 from "zod";
@@ -10673,7 +10683,7 @@ var FeedbackForm = (props) => {
10673
10683
  resolver: zodResolver7(formSchema),
10674
10684
  defaultValues: { requestType: "", description: "" }
10675
10685
  });
10676
- return /* @__PURE__ */ React83.createElement(
10686
+ return /* @__PURE__ */ React84.createElement(
10677
10687
  Card,
10678
10688
  {
10679
10689
  className: cn(
@@ -10681,7 +10691,7 @@ var FeedbackForm = (props) => {
10681
10691
  ),
10682
10692
  style: props.cardless ? { boxShadow: "none" } : void 0
10683
10693
  },
10684
- /* @__PURE__ */ React83.createElement(CardContent, { headless: true, className: props.cardless ? "!hawa-p-0" : "" }, props.sent ? /* @__PURE__ */ React83.createElement("div", { className: "hawa-text-center hawa-min-h-[200px] hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ React83.createElement("div", { className: "hawa-font-bold hawa-text-lg" }, props.texts.sentTitle || "Form submitted"), /* @__PURE__ */ React83.createElement("div", { className: "hawa-text-md" }, props.texts.sentSubtitle || "Thank you for your submission")) : /* @__PURE__ */ React83.createElement(
10694
+ /* @__PURE__ */ React84.createElement(CardContent, { headless: true, className: props.cardless ? "!hawa-p-0" : "" }, props.sent ? /* @__PURE__ */ React84.createElement("div", { className: "hawa-text-center hawa-min-h-[200px] hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ React84.createElement("div", { className: "hawa-font-bold hawa-text-lg" }, props.texts.sentTitle || "Form submitted"), /* @__PURE__ */ React84.createElement("div", { className: "hawa-text-md" }, props.texts.sentSubtitle || "Thank you for your submission")) : /* @__PURE__ */ React84.createElement(
10685
10695
  "form",
10686
10696
  {
10687
10697
  noValidate: true,
@@ -10694,15 +10704,15 @@ var FeedbackForm = (props) => {
10694
10704
  }),
10695
10705
  className: "hawa-flex hawa-flex-col hawa-gap-2"
10696
10706
  },
10697
- /* @__PURE__ */ React83.createElement(Label2, null),
10698
- /* @__PURE__ */ React83.createElement(
10707
+ /* @__PURE__ */ React84.createElement(Label2, null),
10708
+ /* @__PURE__ */ React84.createElement(
10699
10709
  Controller7,
10700
10710
  {
10701
10711
  name: "requestType",
10702
10712
  control,
10703
10713
  render: ({ field }) => {
10704
10714
  var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
10705
- return /* @__PURE__ */ React83.createElement(
10715
+ return /* @__PURE__ */ React84.createElement(
10706
10716
  Select,
10707
10717
  {
10708
10718
  ...field,
@@ -10720,14 +10730,14 @@ var FeedbackForm = (props) => {
10720
10730
  }
10721
10731
  }
10722
10732
  ),
10723
- /* @__PURE__ */ React83.createElement(
10733
+ /* @__PURE__ */ React84.createElement(
10724
10734
  Controller7,
10725
10735
  {
10726
10736
  name: "description",
10727
10737
  control,
10728
10738
  render: ({ field }) => {
10729
10739
  var _a2, _b2, _c2, _d2, _e2, _f2;
10730
- return /* @__PURE__ */ React83.createElement(
10740
+ return /* @__PURE__ */ React84.createElement(
10731
10741
  Textarea,
10732
10742
  {
10733
10743
  helperText: formState.errors.description && ((_b2 = (_a2 = formState.errors.description) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString()),
@@ -10745,15 +10755,15 @@ var FeedbackForm = (props) => {
10745
10755
  }
10746
10756
  }
10747
10757
  ),
10748
- /* @__PURE__ */ React83.createElement(Button, { isLoading: props.loadingSubmission, type: "submit" }, (_i = props.texts) == null ? void 0 : _i.submit)
10758
+ /* @__PURE__ */ React84.createElement(Button, { isLoading: props.loadingSubmission, type: "submit" }, (_i = props.texts) == null ? void 0 : _i.submit)
10749
10759
  ))
10750
10760
  );
10751
10761
  };
10752
10762
 
10753
10763
  // blocks/misc/LegalTexts.tsx
10754
- import React84 from "react";
10764
+ import React85 from "react";
10755
10765
  var LegalTexts = ({ tabs, ...props }) => {
10756
- return /* @__PURE__ */ React84.createElement(
10766
+ return /* @__PURE__ */ React85.createElement(
10757
10767
  Tabs,
10758
10768
  {
10759
10769
  value: props.activeTab,
@@ -10761,8 +10771,8 @@ var LegalTexts = ({ tabs, ...props }) => {
10761
10771
  defaultValue: props.defaultTab || tabs[0].value,
10762
10772
  dir: props.direction
10763
10773
  },
10764
- /* @__PURE__ */ React84.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React84.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
10765
- tabs.map((tab, index) => /* @__PURE__ */ React84.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React84.createElement(
10774
+ /* @__PURE__ */ React85.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React85.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
10775
+ tabs.map((tab, index) => /* @__PURE__ */ React85.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React85.createElement(
10766
10776
  ScrollArea,
10767
10777
  {
10768
10778
  className: cn(
@@ -10776,9 +10786,9 @@ var LegalTexts = ({ tabs, ...props }) => {
10776
10786
  };
10777
10787
 
10778
10788
  // blocks/misc/EmptyState.tsx
10779
- import React85 from "react";
10789
+ import React86 from "react";
10780
10790
  var EmptyState = ({ texts, onActionClick }) => {
10781
- 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 hawa-justify-center hawa-text-center " }, /* @__PURE__ */ React85.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__ */ React85.createElement(
10791
+ 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(
10782
10792
  "svg",
10783
10793
  {
10784
10794
  stroke: "currentColor",
@@ -10788,30 +10798,30 @@ var EmptyState = ({ texts, onActionClick }) => {
10788
10798
  height: "0.35em",
10789
10799
  width: "0.35em"
10790
10800
  },
10791
- /* @__PURE__ */ React85.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" })
10792
- )), /* @__PURE__ */ React85.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.youreCaughtUp) || "You're all caught up"))), /* @__PURE__ */ React85.createElement(CardFooter, null, /* @__PURE__ */ React85.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, (texts == null ? void 0 : texts.actionText) || "Go Home")));
10801
+ /* @__PURE__ */ React86.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" })
10802
+ )), /* @__PURE__ */ React86.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.youreCaughtUp) || "You're all caught up"))), /* @__PURE__ */ React86.createElement(CardFooter, null, /* @__PURE__ */ React86.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, (texts == null ? void 0 : texts.actionText) || "Go Home")));
10793
10803
  };
10794
10804
 
10795
10805
  // blocks/misc/Testimonial.tsx
10796
- import React86 from "react";
10806
+ import React87 from "react";
10797
10807
  var Testimonial = () => {
10798
- return /* @__PURE__ */ React86.createElement(Card, null, /* @__PURE__ */ React86.createElement(CardContent, { headless: true }, /* @__PURE__ */ React86.createElement("div", null, /* @__PURE__ */ React86.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__ */ React86.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React86.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React86.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React86.createElement(
10808
+ return /* @__PURE__ */ React87.createElement(Card, null, /* @__PURE__ */ React87.createElement(CardContent, { headless: true }, /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.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__ */ React87.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React87.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React87.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React87.createElement(
10799
10809
  "path",
10800
10810
  {
10801
10811
  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",
10802
10812
  fill: "#FFFFFF"
10803
10813
  }
10804
- ), /* @__PURE__ */ React86.createElement(
10814
+ ), /* @__PURE__ */ React87.createElement(
10805
10815
  "path",
10806
10816
  {
10807
10817
  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",
10808
10818
  fill: "#FFFFFF"
10809
10819
  }
10810
- )), /* @__PURE__ */ React86.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React86.createElement("div", null, /* @__PURE__ */ React86.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React86.createElement("div", null, " Chief Information Security Officer")))));
10820
+ )), /* @__PURE__ */ React87.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React87.createElement("div", null, " Chief Information Security Officer")))));
10811
10821
  };
10812
10822
 
10813
10823
  // blocks/misc/LeadGenerator.tsx
10814
- import React87 from "react";
10824
+ import React88 from "react";
10815
10825
  import { useForm as useForm8, Controller as Controller8 } from "react-hook-form";
10816
10826
  var LeadGenerator = ({ texts, submitHandler }) => {
10817
10827
  var _a;
@@ -10823,14 +10833,14 @@ var LeadGenerator = ({ texts, submitHandler }) => {
10823
10833
  console.log("handleNewsletterSub props was not provided");
10824
10834
  }
10825
10835
  };
10826
- return /* @__PURE__ */ React87.createElement(Card, null, /* @__PURE__ */ React87.createElement(CardHeader, null, /* @__PURE__ */ React87.createElement(CardTitle, null, texts == null ? void 0 : texts.title), /* @__PURE__ */ React87.createElement(CardDescription, null, texts == null ? void 0 : texts.subtitle)), /* @__PURE__ */ React87.createElement(CardContent, null, /* @__PURE__ */ React87.createElement(
10836
+ return /* @__PURE__ */ React88.createElement(Card, null, /* @__PURE__ */ React88.createElement(CardHeader, null, /* @__PURE__ */ React88.createElement(CardTitle, null, texts == null ? void 0 : texts.title), /* @__PURE__ */ React88.createElement(CardDescription, null, texts == null ? void 0 : texts.subtitle)), /* @__PURE__ */ React88.createElement(CardContent, null, /* @__PURE__ */ React88.createElement(
10827
10837
  "form",
10828
10838
  {
10829
10839
  noValidate: true,
10830
10840
  className: "hawa-flex hawa-flex-row hawa-gap-2",
10831
10841
  onSubmit: handleSubmit(onSubmit)
10832
10842
  },
10833
- /* @__PURE__ */ React87.createElement(
10843
+ /* @__PURE__ */ React88.createElement(
10834
10844
  Controller8,
10835
10845
  {
10836
10846
  name: "email",
@@ -10843,27 +10853,27 @@ var LeadGenerator = ({ texts, submitHandler }) => {
10843
10853
  }
10844
10854
  },
10845
10855
  defaultValue: "",
10846
- render: ({ field }) => /* @__PURE__ */ React87.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
10856
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
10847
10857
  }
10848
10858
  ),
10849
- /* @__PURE__ */ React87.createElement(Button, { type: "submit", disabled: !formState.isValid }, (_a = texts == null ? void 0 : texts.submit) != null ? _a : "Submit")
10859
+ /* @__PURE__ */ React88.createElement(Button, { type: "submit", disabled: !formState.isValid }, (_a = texts == null ? void 0 : texts.submit) != null ? _a : "Submit")
10850
10860
  )));
10851
10861
  };
10852
10862
 
10853
10863
  // blocks/misc/Announcement.tsx
10854
- import React88 from "react";
10864
+ import React89 from "react";
10855
10865
  var Announcement = ({
10856
10866
  onActionClick,
10857
10867
  ...props
10858
10868
  }) => {
10859
- return /* @__PURE__ */ React88.createElement(Card, null, /* @__PURE__ */ React88.createElement(
10869
+ return /* @__PURE__ */ React89.createElement(Card, null, /* @__PURE__ */ React89.createElement(
10860
10870
  CardContent,
10861
10871
  {
10862
10872
  headless: true,
10863
10873
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
10864
10874
  },
10865
- /* @__PURE__ */ React88.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center " }, /* @__PURE__ */ React88.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React88.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
10866
- /* @__PURE__ */ React88.createElement(
10875
+ /* @__PURE__ */ React89.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center " }, /* @__PURE__ */ React89.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React89.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
10876
+ /* @__PURE__ */ React89.createElement(
10867
10877
  Button,
10868
10878
  {
10869
10879
  onClick: () => onActionClick(),
@@ -10875,15 +10885,15 @@ var Announcement = ({
10875
10885
  };
10876
10886
 
10877
10887
  // blocks/misc/NotFound.tsx
10878
- import React89 from "react";
10888
+ import React90 from "react";
10879
10889
  var NotFound = ({ texts }) => {
10880
- return /* @__PURE__ */ React89.createElement(Card, null, /* @__PURE__ */ React89.createElement(CardContent, { headless: true }, /* @__PURE__ */ React89.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React89.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React89.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ React89.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React89.createElement(React89.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React89.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React89.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
10890
+ return /* @__PURE__ */ React90.createElement(Card, null, /* @__PURE__ */ React90.createElement(CardContent, { headless: true }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React90.createElement(React90.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React90.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React90.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
10881
10891
  };
10882
10892
 
10883
10893
  // blocks/misc/NoPermission.tsx
10884
- import React90 from "react";
10894
+ import React91 from "react";
10885
10895
  var NoPermission = ({ texts }) => {
10886
- return /* @__PURE__ */ React90.createElement(Card, null, /* @__PURE__ */ React90.createElement(CardContent, { headless: true }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React90.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__ */ React90.createElement(
10896
+ return /* @__PURE__ */ React91.createElement(Card, null, /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React91.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__ */ React91.createElement(
10887
10897
  "svg",
10888
10898
  {
10889
10899
  stroke: "currentColor",
@@ -10893,12 +10903,12 @@ var NoPermission = ({ texts }) => {
10893
10903
  height: "0.35em",
10894
10904
  width: "0.35em"
10895
10905
  },
10896
- /* @__PURE__ */ React90.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" })
10897
- )), /* @__PURE__ */ React90.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.title) || "You don't have permission"), /* @__PURE__ */ React90.createElement("div", null, (texts == null ? void 0 : texts.subtitle) || "If you think this is a problem please contact your administrator or our customer support"))));
10906
+ /* @__PURE__ */ React91.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" })
10907
+ )), /* @__PURE__ */ React91.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.title) || "You don't have permission"), /* @__PURE__ */ React91.createElement("div", null, (texts == null ? void 0 : texts.subtitle) || "If you think this is a problem please contact your administrator or our customer support"))));
10898
10908
  };
10899
10909
 
10900
10910
  // blocks/misc/ContactForm.tsx
10901
- import React91 from "react";
10911
+ import React92 from "react";
10902
10912
  import { useForm as useForm9, Controller as Controller9 } from "react-hook-form";
10903
10913
  import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
10904
10914
  import * as z8 from "zod";
@@ -10970,7 +10980,7 @@ var ContactForm = ({
10970
10980
  console.log("Form is submitted but onSubmit prop is missing");
10971
10981
  }
10972
10982
  };
10973
- return /* @__PURE__ */ React91.createElement(
10983
+ return /* @__PURE__ */ React92.createElement(
10974
10984
  Card,
10975
10985
  {
10976
10986
  className: cn(
@@ -10979,7 +10989,7 @@ var ContactForm = ({
10979
10989
  ),
10980
10990
  style: cardless ? { boxShadow: "none" } : void 0
10981
10991
  },
10982
- /* @__PURE__ */ React91.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ React91.createElement(
10992
+ /* @__PURE__ */ React92.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ React92.createElement(
10983
10993
  "form",
10984
10994
  {
10985
10995
  noValidate: true,
@@ -10988,7 +10998,7 @@ var ContactForm = ({
10988
10998
  id: formId,
10989
10999
  autoComplete: formAutoComplete
10990
11000
  },
10991
- /* @__PURE__ */ React91.createElement(
11001
+ /* @__PURE__ */ React92.createElement(
10992
11002
  "div",
10993
11003
  {
10994
11004
  className: cn(
@@ -10999,14 +11009,14 @@ var ContactForm = ({
10999
11009
  }
11000
11010
  )
11001
11011
  },
11002
- /* @__PURE__ */ React91.createElement(
11012
+ /* @__PURE__ */ React92.createElement(
11003
11013
  Controller9,
11004
11014
  {
11005
11015
  control,
11006
11016
  name: "name",
11007
11017
  render: ({ field }) => {
11008
11018
  var _a2;
11009
- return /* @__PURE__ */ React91.createElement(
11019
+ return /* @__PURE__ */ React92.createElement(
11010
11020
  Input,
11011
11021
  {
11012
11022
  label: (texts == null ? void 0 : texts.name.label) || "Name",
@@ -11019,14 +11029,14 @@ var ContactForm = ({
11019
11029
  }
11020
11030
  }
11021
11031
  ),
11022
- /* @__PURE__ */ React91.createElement(
11032
+ /* @__PURE__ */ React92.createElement(
11023
11033
  Controller9,
11024
11034
  {
11025
11035
  control,
11026
11036
  name: "email",
11027
11037
  render: ({ field }) => {
11028
11038
  var _a2;
11029
- return /* @__PURE__ */ React91.createElement(
11039
+ return /* @__PURE__ */ React92.createElement(
11030
11040
  Input,
11031
11041
  {
11032
11042
  label: (texts == null ? void 0 : texts.email.label) || "Email",
@@ -11042,7 +11052,7 @@ var ContactForm = ({
11042
11052
  ),
11043
11053
  customFields && customFields.map((customField) => {
11044
11054
  console.log("custom", customField);
11045
- return /* @__PURE__ */ React91.createElement(
11055
+ return /* @__PURE__ */ React92.createElement(
11046
11056
  Controller9,
11047
11057
  {
11048
11058
  control,
@@ -11052,7 +11062,7 @@ var ContactForm = ({
11052
11062
  switch (type) {
11053
11063
  case "text":
11054
11064
  case "number":
11055
- return /* @__PURE__ */ React91.createElement(
11065
+ return /* @__PURE__ */ React92.createElement(
11056
11066
  Input,
11057
11067
  {
11058
11068
  id: customField.name,
@@ -11063,7 +11073,7 @@ var ContactForm = ({
11063
11073
  }
11064
11074
  );
11065
11075
  case "select":
11066
- return /* @__PURE__ */ React91.createElement(
11076
+ return /* @__PURE__ */ React92.createElement(
11067
11077
  Select,
11068
11078
  {
11069
11079
  label,
@@ -11073,20 +11083,20 @@ var ContactForm = ({
11073
11083
  }
11074
11084
  );
11075
11085
  default:
11076
- return /* @__PURE__ */ React91.createElement("div", null, "Unknown type");
11086
+ return /* @__PURE__ */ React92.createElement("div", null, "Unknown type");
11077
11087
  }
11078
11088
  }
11079
11089
  }
11080
11090
  );
11081
11091
  }),
11082
- /* @__PURE__ */ React91.createElement(
11092
+ /* @__PURE__ */ React92.createElement(
11083
11093
  Controller9,
11084
11094
  {
11085
11095
  control,
11086
11096
  name: "message",
11087
11097
  render: ({ field }) => {
11088
11098
  var _a2;
11089
- return /* @__PURE__ */ React91.createElement(
11099
+ return /* @__PURE__ */ React92.createElement(
11090
11100
  Textarea,
11091
11101
  {
11092
11102
  label: (texts == null ? void 0 : texts.message.label) || "Message",
@@ -11103,19 +11113,19 @@ var ContactForm = ({
11103
11113
  }
11104
11114
  }
11105
11115
  ),
11106
- /* @__PURE__ */ React91.createElement(Button, { type: "submit", className: "hawa-w-full" }, (texts == null ? void 0 : texts.submit) || "Submit")
11116
+ /* @__PURE__ */ React92.createElement(Button, { type: "submit", className: "hawa-w-full" }, (texts == null ? void 0 : texts.submit) || "Submit")
11107
11117
  ))
11108
11118
  );
11109
11119
  };
11110
11120
 
11111
11121
  // blocks/pricing/PricingPlans.tsx
11112
- import React97 from "react";
11122
+ import React98 from "react";
11113
11123
 
11114
11124
  // blocks/cards/ActionCard.tsx
11115
- import React92, { useState as useState32 } from "react";
11125
+ import React93, { useState as useState32 } from "react";
11116
11126
  var ActionCard = (props) => {
11117
11127
  const [hovered, setHovered] = useState32(false);
11118
- return /* @__PURE__ */ React92.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ React92.createElement(
11128
+ return /* @__PURE__ */ React93.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ React93.createElement(
11119
11129
  "div",
11120
11130
  {
11121
11131
  className: "hawa-group hawa-relative hawa-h-full hawa-w-full hawa-rounded hawa-border hawa-bg-background hawa-bg-cover hawa-bg-center hawa-transition-all hawa-duration-500 hover:hawa-drop-shadow-2xl",
@@ -11125,7 +11135,7 @@ var ActionCard = (props) => {
11125
11135
  onMouseEnter: () => setHovered(true),
11126
11136
  onMouseLeave: () => setHovered(false)
11127
11137
  },
11128
- props.blank ? /* @__PURE__ */ React92.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ React92.createElement(
11138
+ props.blank ? /* @__PURE__ */ React93.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ React93.createElement(
11129
11139
  "svg",
11130
11140
  {
11131
11141
  className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
@@ -11137,11 +11147,11 @@ var ActionCard = (props) => {
11137
11147
  width: "1em",
11138
11148
  xmlns: "http://www.w3.org/2000/svg"
11139
11149
  },
11140
- /* @__PURE__ */ React92.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
11141
- )) : /* @__PURE__ */ React92.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
11142
- /* @__PURE__ */ React92.createElement("div", { className: "hawa-absolute hawa-bottom-2 hawa-right-2 hawa-z-10 hawa-opacity-0 hawa-transition-all hawa-duration-200 group-hover:hawa-opacity-100" }, props.inCardActions),
11143
- !props.blank && /* @__PURE__ */ React92.createElement("div", { className: "hawa-relative hawa-p-4" }, /* @__PURE__ */ React92.createElement("h1", { className: "hawa-text-white" }, props.title), /* @__PURE__ */ React92.createElement("p", { className: "hawa-text-white" }, props.subtitle))
11144
- ), /* @__PURE__ */ React92.createElement(
11150
+ /* @__PURE__ */ React93.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
11151
+ )) : /* @__PURE__ */ React93.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
11152
+ /* @__PURE__ */ React93.createElement("div", { className: "hawa-absolute hawa-bottom-2 hawa-right-2 hawa-z-10 hawa-opacity-0 hawa-transition-all hawa-duration-200 group-hover:hawa-opacity-100" }, props.inCardActions),
11153
+ !props.blank && /* @__PURE__ */ React93.createElement("div", { className: "hawa-relative hawa-p-4" }, /* @__PURE__ */ React93.createElement("h1", { className: "hawa-text-white" }, props.title), /* @__PURE__ */ React93.createElement("p", { className: "hawa-text-white" }, props.subtitle))
11154
+ ), /* @__PURE__ */ React93.createElement(
11145
11155
  "div",
11146
11156
  {
11147
11157
  className: `hawa-flex hawa-flex-row hawa-justify-between hawa-text-sm hawa-transition-all hawa-duration-200 ${hovered ? "hawa-opacity-100" : "hawa-opacity-0"}`
@@ -11151,7 +11161,7 @@ var ActionCard = (props) => {
11151
11161
  };
11152
11162
 
11153
11163
  // blocks/cards/AdCard.tsx
11154
- import React93, { useState as useState33, useEffect as useEffect19, useRef as useRef13 } from "react";
11164
+ import React94, { useState as useState33, useEffect as useEffect19, useRef as useRef13 } from "react";
11155
11165
  var AdCard = ({
11156
11166
  orientation = "vertical",
11157
11167
  ...props
@@ -11184,21 +11194,21 @@ var AdCard = ({
11184
11194
  horizontal: "hawa-w-auto hawa-h-full hawa-bg-blue-500 hawa-rounded-inner",
11185
11195
  vertical: "hawa-bg-blue-500 hawa-rounded-inner hawa-w-auto "
11186
11196
  };
11187
- return /* @__PURE__ */ React93.createElement("div", { ref: adRef }, /* @__PURE__ */ React93.createElement(
11197
+ return /* @__PURE__ */ React94.createElement("div", { ref: adRef }, /* @__PURE__ */ React94.createElement(
11188
11198
  "div",
11189
11199
  {
11190
11200
  className: cn(cardStyles[orientation], props.className),
11191
11201
  onClick: props.handleClick
11192
11202
  },
11193
- /* @__PURE__ */ React93.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start " }, /* @__PURE__ */ React93.createElement(
11203
+ /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start " }, /* @__PURE__ */ React94.createElement(
11194
11204
  "img",
11195
11205
  {
11196
11206
  src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
11197
11207
  className: imageStyles[orientation]
11198
11208
  }
11199
11209
  )),
11200
- /* @__PURE__ */ React93.createElement("div", { className: "hawa-w-full hawa-text-xs" }, /* @__PURE__ */ React93.createElement("div", { className: "hawa-font-bold" }, props.title), /* @__PURE__ */ React93.createElement("div", { className: "hawa-text-[12px]" }, props.description)),
11201
- props.canHide && /* @__PURE__ */ React93.createElement(
11210
+ /* @__PURE__ */ React94.createElement("div", { className: "hawa-w-full hawa-text-xs" }, /* @__PURE__ */ React94.createElement("div", { className: "hawa-font-bold" }, props.title), /* @__PURE__ */ React94.createElement("div", { className: "hawa-text-[12px]" }, props.description)),
11211
+ props.canHide && /* @__PURE__ */ React94.createElement(
11202
11212
  "span",
11203
11213
  {
11204
11214
  onClick: (e) => {
@@ -11224,7 +11234,7 @@ var AdCard = ({
11224
11234
  };
11225
11235
 
11226
11236
  // blocks/cards/PricingCard.tsx
11227
- import React94 from "react";
11237
+ import React95 from "react";
11228
11238
  var PricingCard = ({
11229
11239
  size = "medium",
11230
11240
  direction = "ltr",
@@ -11239,13 +11249,13 @@ var PricingCard = ({
11239
11249
  medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
11240
11250
  large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background "
11241
11251
  };
11242
- return /* @__PURE__ */ React94.createElement(React94.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React94.createElement(
11252
+ return /* @__PURE__ */ React95.createElement(React95.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React95.createElement(
11243
11253
  Skeleton,
11244
11254
  {
11245
11255
  className: cn(cardSizes[size], "hawa-h-[200px]"),
11246
11256
  fade: "bottom"
11247
11257
  }
11248
- ) : /* @__PURE__ */ React94.createElement(
11258
+ ) : /* @__PURE__ */ React95.createElement(
11249
11259
  Card,
11250
11260
  {
11251
11261
  dir: direction,
@@ -11256,7 +11266,7 @@ var PricingCard = ({
11256
11266
  recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
11257
11267
  )
11258
11268
  },
11259
- recommended && /* @__PURE__ */ React94.createElement(
11269
+ recommended && /* @__PURE__ */ React95.createElement(
11260
11270
  "div",
11261
11271
  {
11262
11272
  className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2 hawa-text-center hawa-text-primary-foreground",
@@ -11264,7 +11274,7 @@ var PricingCard = ({
11264
11274
  },
11265
11275
  ((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
11266
11276
  ),
11267
- /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React94.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React94.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React94.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ React94.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React94.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React94.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ React94.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0 " }) : /* @__PURE__ */ React94.createElement(React94.Fragment, null, props.noPrice ? /* @__PURE__ */ React94.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ React94.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ React94.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React94.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ React94.createElement("span", { className: "hawa-ml-1 hawa-whitespace-nowrap hawa-text-xl hawa-font-normal hawa-text-primary/70" }, "/ ", (_g = props.texts) == null ? void 0 : _g.cycleText)))), endButton && /* @__PURE__ */ React94.createElement(Separator2, null), /* @__PURE__ */ React94.createElement(
11277
+ /* @__PURE__ */ React95.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React95.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React95.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React95.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ React95.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React95.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React95.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ React95.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0 " }) : /* @__PURE__ */ React95.createElement(React95.Fragment, null, props.noPrice ? /* @__PURE__ */ React95.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ React95.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ React95.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React95.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ React95.createElement("span", { className: "hawa-ml-1 hawa-whitespace-nowrap hawa-text-xl hawa-font-normal hawa-text-primary/70" }, "/ ", (_g = props.texts) == null ? void 0 : _g.cycleText)))), endButton && /* @__PURE__ */ React95.createElement(Separator2, null), /* @__PURE__ */ React95.createElement(
11268
11278
  "div",
11269
11279
  {
11270
11280
  className: cn(
@@ -11272,9 +11282,9 @@ var PricingCard = ({
11272
11282
  endButton ? "hawa-flex-col" : "hawa-flex-col-reverse"
11273
11283
  )
11274
11284
  },
11275
- props.features && /* @__PURE__ */ React94.createElement("ul", { role: "list", className: "hawa-space-y-0 hawa-overflow-x-auto" }, (_h = props.features) == null ? void 0 : _h.map((feature, o) => {
11285
+ props.features && /* @__PURE__ */ React95.createElement("ul", { role: "list", className: "hawa-space-y-0 hawa-overflow-x-auto" }, (_h = props.features) == null ? void 0 : _h.map((feature, o) => {
11276
11286
  var _a2;
11277
- return /* @__PURE__ */ React94.createElement(
11287
+ return /* @__PURE__ */ React95.createElement(
11278
11288
  "li",
11279
11289
  {
11280
11290
  key: o,
@@ -11283,7 +11293,7 @@ var PricingCard = ({
11283
11293
  !feature.included && "hawa-line-through"
11284
11294
  )
11285
11295
  },
11286
- /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ React94.createElement(
11296
+ /* @__PURE__ */ React95.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ React95.createElement(
11287
11297
  "svg",
11288
11298
  {
11289
11299
  "aria-label": "Check Icon",
@@ -11292,7 +11302,7 @@ var PricingCard = ({
11292
11302
  fill: "currentColor",
11293
11303
  viewBox: "0 0 20 20"
11294
11304
  },
11295
- /* @__PURE__ */ React94.createElement(
11305
+ /* @__PURE__ */ React95.createElement(
11296
11306
  "path",
11297
11307
  {
11298
11308
  fillRule: "evenodd",
@@ -11300,7 +11310,7 @@ var PricingCard = ({
11300
11310
  clipRule: "evenodd"
11301
11311
  }
11302
11312
  )
11303
- ) : /* @__PURE__ */ React94.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ React94.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70 " }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ React94.createElement(
11313
+ ) : /* @__PURE__ */ React95.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ React95.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70 " }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ React95.createElement(
11304
11314
  Chip,
11305
11315
  {
11306
11316
  label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
@@ -11308,13 +11318,13 @@ var PricingCard = ({
11308
11318
  size: "small"
11309
11319
  }
11310
11320
  ))),
11311
- feature.hint && /* @__PURE__ */ React94.createElement(
11321
+ feature.hint && /* @__PURE__ */ React95.createElement(
11312
11322
  Tooltip,
11313
11323
  {
11314
11324
  content: feature.hint,
11315
11325
  side: feature.hintSide
11316
11326
  },
11317
- /* @__PURE__ */ React94.createElement(
11327
+ /* @__PURE__ */ React95.createElement(
11318
11328
  "svg",
11319
11329
  {
11320
11330
  xmlns: "http://www.w3.org/2000/svg",
@@ -11326,14 +11336,14 @@ var PricingCard = ({
11326
11336
  strokeLinecap: "round",
11327
11337
  strokeLinejoin: "round"
11328
11338
  },
11329
- /* @__PURE__ */ React94.createElement("circle", { cx: "12", cy: "12", r: "10" }),
11330
- /* @__PURE__ */ React94.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
11331
- /* @__PURE__ */ React94.createElement("path", { d: "M12 17h.01" })
11339
+ /* @__PURE__ */ React95.createElement("circle", { cx: "12", cy: "12", r: "10" }),
11340
+ /* @__PURE__ */ React95.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
11341
+ /* @__PURE__ */ React95.createElement("path", { d: "M12 17h.01" })
11332
11342
  )
11333
11343
  )
11334
11344
  );
11335
11345
  })),
11336
- /* @__PURE__ */ React94.createElement(
11346
+ /* @__PURE__ */ React95.createElement(
11337
11347
  Button,
11338
11348
  {
11339
11349
  onClick: props.onPlanClicked,
@@ -11347,7 +11357,7 @@ var PricingCard = ({
11347
11357
  };
11348
11358
 
11349
11359
  // blocks/cards/ItemCard.tsx
11350
- import React95, { useEffect as useEffect20, useState as useState34 } from "react";
11360
+ import React96, { useEffect as useEffect20, useState as useState34 } from "react";
11351
11361
  var ItemCard = ({
11352
11362
  actions,
11353
11363
  counts,
@@ -11389,7 +11399,7 @@ var ItemCard = ({
11389
11399
  };
11390
11400
  return () => window.onclick = null;
11391
11401
  }, [openActionHeader]);
11392
- return /* @__PURE__ */ React95.createElement(
11402
+ return /* @__PURE__ */ React96.createElement(
11393
11403
  "div",
11394
11404
  {
11395
11405
  className: cn(
@@ -11405,7 +11415,7 @@ var ItemCard = ({
11405
11415
  }
11406
11416
  }
11407
11417
  },
11408
- cardImage && /* @__PURE__ */ React95.createElement("div", { className: "hawa-group hawa-relative hawa-overflow-clip" }, /* @__PURE__ */ React95.createElement(
11418
+ cardImage && /* @__PURE__ */ React96.createElement("div", { className: "hawa-group hawa-relative hawa-overflow-clip" }, /* @__PURE__ */ React96.createElement(
11409
11419
  "img",
11410
11420
  {
11411
11421
  src: cardImage,
@@ -11414,7 +11424,7 @@ var ItemCard = ({
11414
11424
  clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
11415
11425
  )
11416
11426
  }
11417
- ), clickableImage && /* @__PURE__ */ React95.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React95.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100 " }, /* @__PURE__ */ React95.createElement(
11427
+ ), clickableImage && /* @__PURE__ */ React96.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React96.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100 " }, /* @__PURE__ */ React96.createElement(
11418
11428
  Button,
11419
11429
  {
11420
11430
  variant: "secondary",
@@ -11424,19 +11434,19 @@ var ItemCard = ({
11424
11434
  clickableImageActionIcon,
11425
11435
  clickableImageActionText || "Click"
11426
11436
  )))),
11427
- /* @__PURE__ */ React95.createElement("div", { className: "hawa-relative hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-justify-between hawa-p-4 xs:hawa-p-6 xs:hawa-px-2 xs:hawa-pb-2" }, headerActions && /* @__PURE__ */ React95.createElement("div", { className: "hawa-absolute hawa-end-0 hawa-top-0 hawa-flex hawa-justify-end hawa-pe-3 hawa-pt-3" }, /* @__PURE__ */ React95.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React95.createElement(
11437
+ /* @__PURE__ */ React96.createElement("div", { className: "hawa-relative hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-justify-between hawa-p-4 xs:hawa-p-6 xs:hawa-px-2 xs:hawa-pb-2" }, headerActions && /* @__PURE__ */ React96.createElement("div", { className: "hawa-absolute hawa-end-0 hawa-top-0 hawa-flex hawa-justify-end hawa-pe-3 hawa-pt-3" }, /* @__PURE__ */ React96.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React96.createElement(
11428
11438
  DropdownMenu,
11429
11439
  {
11430
11440
  items: headerActions,
11431
- trigger: /* @__PURE__ */ React95.createElement(
11441
+ trigger: /* @__PURE__ */ React96.createElement(
11432
11442
  Button,
11433
11443
  {
11434
11444
  variant: "ghost",
11435
11445
  size: "smallIcon",
11436
11446
  onClick: handleOpenActionHeader
11437
11447
  },
11438
- /* @__PURE__ */ React95.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
11439
- /* @__PURE__ */ React95.createElement(
11448
+ /* @__PURE__ */ React96.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
11449
+ /* @__PURE__ */ React96.createElement(
11440
11450
  "svg",
11441
11451
  {
11442
11452
  className: "hawa-h-5 hawa-w-5",
@@ -11444,11 +11454,11 @@ var ItemCard = ({
11444
11454
  fill: "currentColor",
11445
11455
  viewBox: "0 0 20 20"
11446
11456
  },
11447
- /* @__PURE__ */ React95.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
11457
+ /* @__PURE__ */ React96.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
11448
11458
  )
11449
11459
  )
11450
11460
  }
11451
- ))), /* @__PURE__ */ React95.createElement("div", { className: " hawa-mx-2" }, header && /* @__PURE__ */ React95.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight " }, header), content && /* @__PURE__ */ React95.createElement("span", { className: "hawa-w-full hawa-font-normal " }, content)), actions || counts ? /* @__PURE__ */ React95.createElement(
11461
+ ))), /* @__PURE__ */ React96.createElement("div", { className: " hawa-mx-2" }, header && /* @__PURE__ */ React96.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight " }, header), content && /* @__PURE__ */ React96.createElement("span", { className: "hawa-w-full hawa-font-normal " }, content)), actions || counts ? /* @__PURE__ */ React96.createElement(
11452
11462
  "div",
11453
11463
  {
11454
11464
  className: cn(
@@ -11458,15 +11468,15 @@ var ItemCard = ({
11458
11468
  )
11459
11469
  },
11460
11470
  counts,
11461
- /* @__PURE__ */ React95.createElement(StopPropagationWrapper, null, actions)
11471
+ /* @__PURE__ */ React96.createElement(StopPropagationWrapper, null, actions)
11462
11472
  ) : null)
11463
11473
  );
11464
11474
  };
11465
11475
 
11466
11476
  // blocks/cards/LandingCard.tsx
11467
- import React96 from "react";
11477
+ import React97 from "react";
11468
11478
  var LandingCard = (props) => {
11469
- return /* @__PURE__ */ React96.createElement(Card, { className: props.className }, /* @__PURE__ */ React96.createElement(CardHeader, null, props.icon, /* @__PURE__ */ React96.createElement(CardTitle, null, props.title), /* @__PURE__ */ React96.createElement(CardDescription, null, props.subtitle)));
11479
+ return /* @__PURE__ */ React97.createElement(Card, { className: props.className }, /* @__PURE__ */ React97.createElement(CardHeader, null, props.icon, /* @__PURE__ */ React97.createElement(CardTitle, null, props.title), /* @__PURE__ */ React97.createElement(CardDescription, null, props.subtitle)));
11470
11480
  };
11471
11481
 
11472
11482
  // blocks/pricing/PricingPlans.tsx
@@ -11475,7 +11485,7 @@ var PricingPlans = ({
11475
11485
  cardsContainerProps,
11476
11486
  ...props
11477
11487
  }) => {
11478
- return /* @__PURE__ */ React97.createElement("div", { ...mainContainerProps }, /* @__PURE__ */ React97.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React97.createElement(
11488
+ return /* @__PURE__ */ React98.createElement("div", { ...mainContainerProps }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React98.createElement(
11479
11489
  Radio,
11480
11490
  {
11481
11491
  name: "cycle",
@@ -11488,7 +11498,7 @@ var PricingPlans = ({
11488
11498
  }
11489
11499
  }
11490
11500
  }
11491
- ), /* @__PURE__ */ React97.createElement(
11501
+ ), /* @__PURE__ */ React98.createElement(
11492
11502
  Radio,
11493
11503
  {
11494
11504
  name: "currency",
@@ -11501,7 +11511,7 @@ var PricingPlans = ({
11501
11511
  }
11502
11512
  }
11503
11513
  }
11504
- )), /* @__PURE__ */ React97.createElement(
11514
+ )), /* @__PURE__ */ React98.createElement(
11505
11515
  "div",
11506
11516
  {
11507
11517
  className: "hawa-inline-grid hawa-w-full hawa-grid-cols-[repeat(auto-fit,_minmax(300px,_1fr))] hawa-gap-4",
@@ -11509,7 +11519,7 @@ var PricingPlans = ({
11509
11519
  },
11510
11520
  props.plans.map((plan, index) => {
11511
11521
  var _a, _b;
11512
- return /* @__PURE__ */ React97.createElement(
11522
+ return /* @__PURE__ */ React98.createElement(
11513
11523
  PricingCard,
11514
11524
  {
11515
11525
  key: index,
@@ -11540,7 +11550,7 @@ var PricingPlans = ({
11540
11550
  };
11541
11551
 
11542
11552
  // blocks/pricing/ComparingPlans.tsx
11543
- import React98 from "react";
11553
+ import React99 from "react";
11544
11554
  var ComparingPlans = (props) => {
11545
11555
  const uniqueFeatures = Array.from(
11546
11556
  new Set(
@@ -11549,7 +11559,7 @@ var ComparingPlans = (props) => {
11549
11559
  )
11550
11560
  )
11551
11561
  );
11552
- return /* @__PURE__ */ React98.createElement("div", { id: "detailed-pricing", className: "hawa-w-full" }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-flex-col hawa-justify-between hawa-gap-2 sm:hawa-flex-row" }, /* @__PURE__ */ React98.createElement(
11562
+ return /* @__PURE__ */ React99.createElement("div", { id: "detailed-pricing", className: "hawa-w-full" }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-flex-col hawa-justify-between hawa-gap-2 sm:hawa-flex-row" }, /* @__PURE__ */ React99.createElement(
11553
11563
  Radio,
11554
11564
  {
11555
11565
  name: "cycle",
@@ -11564,7 +11574,7 @@ var ComparingPlans = (props) => {
11564
11574
  }
11565
11575
  }
11566
11576
  }
11567
- ), /* @__PURE__ */ React98.createElement(
11577
+ ), /* @__PURE__ */ React99.createElement(
11568
11578
  Radio,
11569
11579
  {
11570
11580
  name: "currency",
@@ -11579,7 +11589,7 @@ var ComparingPlans = (props) => {
11579
11589
  }
11580
11590
  }
11581
11591
  }
11582
- )), /* @__PURE__ */ React98.createElement(
11592
+ )), /* @__PURE__ */ React99.createElement(
11583
11593
  "div",
11584
11594
  {
11585
11595
  className: cn(
@@ -11590,16 +11600,16 @@ var ComparingPlans = (props) => {
11590
11600
  top: props.topPosition || 0
11591
11601
  }
11592
11602
  },
11593
- /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-items-center" }),
11594
- props.plans.map((plan, i) => /* @__PURE__ */ React98.createElement(
11603
+ /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-items-center" }),
11604
+ props.plans.map((plan, i) => /* @__PURE__ */ React99.createElement(
11595
11605
  "div",
11596
11606
  {
11597
11607
  key: i,
11598
11608
  className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2"
11599
11609
  },
11600
- /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React98.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ React98.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ React98.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ React98.createElement(React98.Fragment, null, /* @__PURE__ */ React98.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React98.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React98.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
11610
+ /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React99.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ React99.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ React99.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ React99.createElement(React99.Fragment, null, /* @__PURE__ */ React99.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React99.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React99.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
11601
11611
  ))
11602
- ), /* @__PURE__ */ React98.createElement(
11612
+ ), /* @__PURE__ */ React99.createElement(
11603
11613
  ScrollArea,
11604
11614
  {
11605
11615
  className: "hawa-h-fit hawa-rounded hawa-rounded-t-none hawa-border hawa-border-t-0 hawa-bg-background",
@@ -11607,7 +11617,7 @@ var ComparingPlans = (props) => {
11607
11617
  },
11608
11618
  uniqueFeatures.map((featureText, featureIndex) => {
11609
11619
  var _a, _b, _c, _d;
11610
- return /* @__PURE__ */ React98.createElement(
11620
+ return /* @__PURE__ */ React99.createElement(
11611
11621
  "div",
11612
11622
  {
11613
11623
  key: featureIndex,
@@ -11616,11 +11626,11 @@ var ComparingPlans = (props) => {
11616
11626
  featureIndex === 0 ? "" : "hawa-border-t"
11617
11627
  )
11618
11628
  },
11619
- /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
11629
+ /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
11620
11630
  (plan) => plan.features.some(
11621
11631
  (feature) => feature.text === featureText && feature.hint
11622
11632
  )
11623
- ) && /* @__PURE__ */ React98.createElement(
11633
+ ) && /* @__PURE__ */ React99.createElement(
11624
11634
  Tooltip,
11625
11635
  {
11626
11636
  side: "right",
@@ -11635,7 +11645,7 @@ var ComparingPlans = (props) => {
11635
11645
  (feature) => feature.text === featureText
11636
11646
  )) == null ? void 0 : _b.hint
11637
11647
  },
11638
- /* @__PURE__ */ React98.createElement(
11648
+ /* @__PURE__ */ React99.createElement(
11639
11649
  "svg",
11640
11650
  {
11641
11651
  stroke: "currentColor",
@@ -11645,13 +11655,13 @@ var ComparingPlans = (props) => {
11645
11655
  height: "1em",
11646
11656
  width: "1em"
11647
11657
  },
11648
- /* @__PURE__ */ React98.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" })
11658
+ /* @__PURE__ */ React99.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" })
11649
11659
  )
11650
11660
  ), props.plans.some(
11651
11661
  (plan) => plan.features.some(
11652
11662
  (feature) => feature.text === featureText && feature.soon
11653
11663
  )
11654
- ) && /* @__PURE__ */ React98.createElement(
11664
+ ) && /* @__PURE__ */ React99.createElement(
11655
11665
  Chip,
11656
11666
  {
11657
11667
  label: ((_d = (_c = props.plans.find(
@@ -11665,26 +11675,26 @@ var ComparingPlans = (props) => {
11665
11675
  const feature = plan.features.find(
11666
11676
  (f) => f.text === featureText
11667
11677
  );
11668
- return /* @__PURE__ */ React98.createElement(
11678
+ return /* @__PURE__ */ React99.createElement(
11669
11679
  "div",
11670
11680
  {
11671
11681
  key: planIndex,
11672
11682
  className: "hawa-flex hawa-flex-col hawa-items-center hawa-text-center"
11673
11683
  },
11674
- (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React98.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React98.createElement(UncheckMark, { className: "hawa-text-foreground" })
11684
+ (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React99.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React99.createElement(UncheckMark, { className: "hawa-text-foreground" })
11675
11685
  );
11676
11686
  })
11677
11687
  );
11678
11688
  })
11679
- ), props.showButtons && /* @__PURE__ */ React98.createElement("div", { className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5" }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
11689
+ ), props.showButtons && /* @__PURE__ */ React99.createElement("div", { className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5" }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
11680
11690
  var _a;
11681
- return /* @__PURE__ */ React98.createElement(
11691
+ return /* @__PURE__ */ React99.createElement(
11682
11692
  "div",
11683
11693
  {
11684
11694
  key: i,
11685
11695
  className: "hawa-flex hawa-items-center hawa-justify-center"
11686
11696
  },
11687
- /* @__PURE__ */ React98.createElement(
11697
+ /* @__PURE__ */ React99.createElement(
11688
11698
  Button,
11689
11699
  {
11690
11700
  className: "hawa-w-full hawa-max-w-xs",
@@ -11708,7 +11718,7 @@ var ComparingPlans = (props) => {
11708
11718
  };
11709
11719
 
11710
11720
  // blocks/pricing/HorizontalPricing.tsx
11711
- import React99, { useState as useState35 } from "react";
11721
+ import React100, { useState as useState35 } from "react";
11712
11722
  var HorizontalPricing = (props) => {
11713
11723
  const [selectedCard, setSelectedCard] = useState35("");
11714
11724
  let data = [
@@ -11716,7 +11726,7 @@ var HorizontalPricing = (props) => {
11716
11726
  { title: "business", price: "$99", cycle: "/mo" },
11717
11727
  { title: "enterprise", price: "$149", cycle: "/mo" }
11718
11728
  ];
11719
- return /* @__PURE__ */ React99.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-max-w-2xl " }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React99.createElement(
11729
+ return /* @__PURE__ */ React100.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React100.createElement("div", { className: "hawa-max-w-2xl " }, /* @__PURE__ */ React100.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React100.createElement(
11720
11730
  Radio,
11721
11731
  {
11722
11732
  name: "currency",
@@ -11724,7 +11734,7 @@ var HorizontalPricing = (props) => {
11724
11734
  options: props.currencies,
11725
11735
  defaultValue: props.currentCurrency
11726
11736
  }
11727
- ), /* @__PURE__ */ React99.createElement(
11737
+ ), /* @__PURE__ */ React100.createElement(
11728
11738
  Radio,
11729
11739
  {
11730
11740
  name: "cycle",
@@ -11732,7 +11742,7 @@ var HorizontalPricing = (props) => {
11732
11742
  options: props.billingCycles,
11733
11743
  defaultValue: props.currentCycle
11734
11744
  }
11735
- )), data.map((d, i) => /* @__PURE__ */ React99.createElement(
11745
+ )), data.map((d, i) => /* @__PURE__ */ React100.createElement(
11736
11746
  "label",
11737
11747
  {
11738
11748
  key: i,
@@ -11740,7 +11750,7 @@ var HorizontalPricing = (props) => {
11740
11750
  className: "",
11741
11751
  onClick: () => setSelectedCard(d.title)
11742
11752
  },
11743
- /* @__PURE__ */ React99.createElement(
11753
+ /* @__PURE__ */ React100.createElement(
11744
11754
  "input",
11745
11755
  {
11746
11756
  type: "radio",
@@ -11749,7 +11759,7 @@ var HorizontalPricing = (props) => {
11749
11759
  className: "hawa-peer hawa-appearance-none"
11750
11760
  }
11751
11761
  ),
11752
- /* @__PURE__ */ React99.createElement(
11762
+ /* @__PURE__ */ React100.createElement(
11753
11763
  "div",
11754
11764
  {
11755
11765
  className: cn(
@@ -11757,18 +11767,18 @@ var HorizontalPricing = (props) => {
11757
11767
  "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"
11758
11768
  )
11759
11769
  },
11760
- /* @__PURE__ */ React99.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React99.createElement(CheckIcons, null), /* @__PURE__ */ React99.createElement(
11770
+ /* @__PURE__ */ React100.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React100.createElement(CheckIcons, null), /* @__PURE__ */ React100.createElement(
11761
11771
  CardText,
11762
11772
  {
11763
11773
  title: "Enterprise",
11764
11774
  subtitle: "For startups and new businesses"
11765
11775
  }
11766
11776
  )),
11767
- /* @__PURE__ */ React99.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
11777
+ /* @__PURE__ */ React100.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
11768
11778
  )
11769
11779
  ))));
11770
11780
  };
11771
- var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, null, /* @__PURE__ */ React99.createElement(
11781
+ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment, null, /* @__PURE__ */ React100.createElement(
11772
11782
  "svg",
11773
11783
  {
11774
11784
  fill: "none",
@@ -11777,7 +11787,7 @@ var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, n
11777
11787
  stroke: "currentColor",
11778
11788
  className: "hawa-default hawa-h-8 hawa-w-8 hawa-text-neutral-500"
11779
11789
  },
11780
- /* @__PURE__ */ React99.createElement(
11790
+ /* @__PURE__ */ React100.createElement(
11781
11791
  "path",
11782
11792
  {
11783
11793
  strokeLinecap: "round",
@@ -11785,14 +11795,14 @@ var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, n
11785
11795
  d: "M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
11786
11796
  }
11787
11797
  )
11788
- ), /* @__PURE__ */ React99.createElement(
11798
+ ), /* @__PURE__ */ React100.createElement(
11789
11799
  "svg",
11790
11800
  {
11791
11801
  viewBox: "0 0 24 24",
11792
11802
  fill: "currentColor",
11793
11803
  className: "hawa-active hawa-hidden hawa-h-8 hawa-w-8 hawa-text-blue-500"
11794
11804
  },
11795
- /* @__PURE__ */ React99.createElement(
11805
+ /* @__PURE__ */ React100.createElement(
11796
11806
  "path",
11797
11807
  {
11798
11808
  fillRule: "evenodd",
@@ -11801,14 +11811,14 @@ var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, n
11801
11811
  }
11802
11812
  )
11803
11813
  ));
11804
- var CardText = (props) => /* @__PURE__ */ React99.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React99.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React99.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
11805
- var CardPrice = (props) => /* @__PURE__ */ React99.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React99.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
11814
+ var CardText = (props) => /* @__PURE__ */ React100.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React100.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React100.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
11815
+ var CardPrice = (props) => /* @__PURE__ */ React100.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React100.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
11806
11816
 
11807
11817
  // blocks/Usage.tsx
11808
- import React100 from "react";
11818
+ import React101 from "react";
11809
11819
  var Usage = (props) => {
11810
11820
  var _a;
11811
- return /* @__PURE__ */ React100.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__ */ React100.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, /* @__PURE__ */ React100.createElement("span", { className: "hawa-bg-white-200" }, props.title), props.tooltip && /* @__PURE__ */ React100.createElement(Tooltip, { content: props.tooltip }, /* @__PURE__ */ React100.createElement(
11821
+ return /* @__PURE__ */ React101.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__ */ React101.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, /* @__PURE__ */ React101.createElement("span", { className: "hawa-bg-white-200" }, props.title), props.tooltip && /* @__PURE__ */ React101.createElement(Tooltip, { content: props.tooltip }, /* @__PURE__ */ React101.createElement(
11812
11822
  "svg",
11813
11823
  {
11814
11824
  stroke: "currentColor",
@@ -11819,8 +11829,8 @@ var Usage = (props) => {
11819
11829
  height: "1em",
11820
11830
  width: "1em"
11821
11831
  },
11822
- /* @__PURE__ */ React100.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" })
11823
- ))), /* @__PURE__ */ React100.createElement("div", { className: "hawa-bg-white-100 hawa-flex hawa-flex-row" }, /* @__PURE__ */ React100.createElement("div", null, props.currentUsage), /* @__PURE__ */ React100.createElement("div", null, " (", props.percent, "%)")), /* @__PURE__ */ React100.createElement(Progress, { value: (_a = props.percent) != null ? _a : 0 }));
11832
+ /* @__PURE__ */ React101.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" })
11833
+ ))), /* @__PURE__ */ React101.createElement("div", { className: "hawa-bg-white-100 hawa-flex hawa-flex-row" }, /* @__PURE__ */ React101.createElement("div", null, props.currentUsage), /* @__PURE__ */ React101.createElement("div", null, " (", props.percent, "%)")), /* @__PURE__ */ React101.createElement(Progress, { value: (_a = props.percent) != null ? _a : 0 }));
11824
11834
  };
11825
11835
 
11826
11836
  // hooks/useIsomorphicEffect.ts
@@ -11834,7 +11844,7 @@ import { useState as useState36 } from "react";
11834
11844
  import { useEffect as useEffect22, useRef as useRef14, useState as useState37 } from "react";
11835
11845
 
11836
11846
  // hooks/useToast.ts
11837
- import * as React103 from "react";
11847
+ import * as React104 from "react";
11838
11848
  var TOAST_LIMIT = 5;
11839
11849
  var TOAST_REMOVE_DELAY = 1e5;
11840
11850
  var count = 0;
@@ -11920,8 +11930,8 @@ function toast({ ...props }) {
11920
11930
  return { id, dismiss, update };
11921
11931
  }
11922
11932
  function useToast() {
11923
- const [state, setState] = React103.useState(memoryState);
11924
- React103.useEffect(() => {
11933
+ const [state, setState] = React104.useState(memoryState);
11934
+ React104.useEffect(() => {
11925
11935
  listeners.push(setState);
11926
11936
  return () => {
11927
11937
  const index = listeners.indexOf(setState);
@@ -12290,6 +12300,7 @@ export {
12290
12300
  PasswordInput,
12291
12301
  PasswordStrengthIndicator,
12292
12302
  PhoneInput,
12303
+ PhoneMockup,
12293
12304
  PinInput,
12294
12305
  Popover,
12295
12306
  PopoverContent,