@sikka/hawa 0.26.30 → 0.26.32

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.
Files changed (216) hide show
  1. package/dist/{Toast-pOd4uGZz.d.ts → Toast-YaClwi7z.d.ts} +9 -1
  2. package/dist/{Toast-VBd4UvlM.d.mts → Toast-ySvjL_-K.d.mts} +9 -1
  3. package/dist/accordion/index.mjs +7 -4
  4. package/dist/accordion/index.mjs.map +1 -1
  5. package/dist/alert/index.js +4 -4
  6. package/dist/alert/index.js.map +1 -1
  7. package/dist/alert/index.mjs +11 -8
  8. package/dist/alert/index.mjs.map +1 -1
  9. package/dist/appLayout/index.js +2 -1
  10. package/dist/appLayout/index.js.map +1 -1
  11. package/dist/appLayout/index.mjs +9 -5
  12. package/dist/appLayout/index.mjs.map +1 -1
  13. package/dist/appMenubar/index.mjs +9 -4
  14. package/dist/appMenubar/index.mjs.map +1 -1
  15. package/dist/appTabs/index.mjs +9 -4
  16. package/dist/appTabs/index.mjs.map +1 -1
  17. package/dist/appTopbar/index.mjs +9 -4
  18. package/dist/appTopbar/index.mjs.map +1 -1
  19. package/dist/avatar/index.js +2 -1
  20. package/dist/avatar/index.js.map +1 -1
  21. package/dist/avatar/index.mjs +9 -5
  22. package/dist/avatar/index.mjs.map +1 -1
  23. package/dist/backToTop/index.js +6 -3
  24. package/dist/backToTop/index.js.map +1 -1
  25. package/dist/backToTop/index.mjs +13 -7
  26. package/dist/backToTop/index.mjs.map +1 -1
  27. package/dist/badge/index.js +4 -3
  28. package/dist/badge/index.js.map +1 -1
  29. package/dist/badge/index.mjs +13 -7
  30. package/dist/badge/index.mjs.map +1 -1
  31. package/dist/button/index.mjs +7 -4
  32. package/dist/button/index.mjs.map +1 -1
  33. package/dist/card/index.mjs +9 -4
  34. package/dist/card/index.mjs.map +1 -1
  35. package/dist/carousel/index.js +10 -10
  36. package/dist/carousel/index.js.map +1 -1
  37. package/dist/carousel/index.mjs +19 -14
  38. package/dist/carousel/index.mjs.map +1 -1
  39. package/dist/checkbox/index.mjs +9 -4
  40. package/dist/checkbox/index.mjs.map +1 -1
  41. package/dist/chip/index.mjs +9 -4
  42. package/dist/chip/index.mjs.map +1 -1
  43. package/dist/chunk-A3ERTYS4.mjs +29 -0
  44. package/dist/codeBlock/index.mjs +83 -23
  45. package/dist/codeBlock/index.mjs.map +1 -1
  46. package/dist/collapsible/index.mjs +0 -2
  47. package/dist/collapsible/index.mjs.map +1 -1
  48. package/dist/colorPicker/index.js +2 -1
  49. package/dist/colorPicker/index.js.map +1 -1
  50. package/dist/colorPicker/index.mjs +92 -20
  51. package/dist/colorPicker/index.mjs.map +1 -1
  52. package/dist/combobox/index.js +4 -3
  53. package/dist/combobox/index.js.map +1 -1
  54. package/dist/combobox/index.mjs +445 -27
  55. package/dist/combobox/index.mjs.map +1 -1
  56. package/dist/command/index.mjs +429 -11
  57. package/dist/command/index.mjs.map +1 -1
  58. package/dist/dataTable/index.js +36 -27
  59. package/dist/dataTable/index.js.map +1 -1
  60. package/dist/dataTable/index.mjs +43 -31
  61. package/dist/dataTable/index.mjs.map +1 -1
  62. package/dist/destroyableCard/index.js +2 -2
  63. package/dist/destroyableCard/index.js.map +1 -1
  64. package/dist/destroyableCard/index.mjs +9 -6
  65. package/dist/destroyableCard/index.mjs.map +1 -1
  66. package/dist/dialog/index.mjs +9 -4
  67. package/dist/dialog/index.mjs.map +1 -1
  68. package/dist/docsLayout/index.js +2 -2
  69. package/dist/docsLayout/index.js.map +1 -1
  70. package/dist/docsLayout/index.mjs +9 -6
  71. package/dist/docsLayout/index.mjs.map +1 -1
  72. package/dist/docsSidebar/index.js +2 -2
  73. package/dist/docsSidebar/index.js.map +1 -1
  74. package/dist/docsSidebar/index.mjs +11 -6
  75. package/dist/docsSidebar/index.mjs.map +1 -1
  76. package/dist/dropdownMenu/index.mjs +9 -4
  77. package/dist/dropdownMenu/index.mjs.map +1 -1
  78. package/dist/elements/index.d.mts +4 -2
  79. package/dist/elements/index.d.ts +4 -2
  80. package/dist/elements/index.js +7 -134
  81. package/dist/elements/index.mjs +9 -13
  82. package/dist/fileDropzone/index.js +12 -11
  83. package/dist/fileDropzone/index.js.map +1 -1
  84. package/dist/fileDropzone/index.mjs +21 -17
  85. package/dist/fileDropzone/index.mjs.map +1 -1
  86. package/dist/fileUploader/index.js +2 -1
  87. package/dist/fileUploader/index.js.map +1 -1
  88. package/dist/fileUploader/index.mjs +2 -1
  89. package/dist/fileUploader/index.mjs.map +1 -1
  90. package/dist/glow/index.js +24 -17
  91. package/dist/glow/index.js.map +1 -1
  92. package/dist/glow/index.mjs +24 -17
  93. package/dist/glow/index.mjs.map +1 -1
  94. package/dist/hooks/index.d.mts +9 -18
  95. package/dist/hooks/index.d.ts +9 -18
  96. package/dist/hooks/index.mjs +146 -27
  97. package/dist/index.d.mts +18 -17
  98. package/dist/index.d.ts +18 -17
  99. package/dist/index.js +166 -171
  100. package/dist/index.mjs +588 -593
  101. package/dist/input/index.js +3 -2
  102. package/dist/input/index.js.map +1 -1
  103. package/dist/input/index.mjs +118 -19
  104. package/dist/input/index.mjs.map +1 -1
  105. package/dist/interfaceSettings/index.js +6 -4
  106. package/dist/interfaceSettings/index.js.map +1 -1
  107. package/dist/interfaceSettings/index.mjs +130 -28
  108. package/dist/interfaceSettings/index.mjs.map +1 -1
  109. package/dist/label/index.mjs +7 -4
  110. package/dist/label/index.mjs.map +1 -1
  111. package/dist/loading/index.mjs +9 -4
  112. package/dist/loading/index.mjs.map +1 -1
  113. package/dist/navbar/index.js +3 -2
  114. package/dist/navbar/index.js.map +1 -1
  115. package/dist/navbar/index.mjs +10 -6
  116. package/dist/navbar/index.mjs.map +1 -1
  117. package/dist/navigationMenu/index.mjs +9 -4
  118. package/dist/navigationMenu/index.mjs.map +1 -1
  119. package/dist/pagination/index.mjs +9 -4
  120. package/dist/pagination/index.mjs.map +1 -1
  121. package/dist/passwordInput/index.js +3 -2
  122. package/dist/passwordInput/index.js.map +1 -1
  123. package/dist/passwordInput/index.mjs +12 -6
  124. package/dist/passwordInput/index.mjs.map +1 -1
  125. package/dist/phoneInput/index.js +10 -5
  126. package/dist/phoneInput/index.js.map +1 -1
  127. package/dist/phoneInput/index.mjs +19 -11
  128. package/dist/phoneInput/index.mjs.map +1 -1
  129. package/dist/pinInput/index.js +3 -3
  130. package/dist/pinInput/index.js.map +1 -1
  131. package/dist/pinInput/index.mjs +12 -7
  132. package/dist/pinInput/index.mjs.map +1 -1
  133. package/dist/popover/index.mjs +9 -4
  134. package/dist/popover/index.mjs.map +1 -1
  135. package/dist/progress/index.mjs +9 -4
  136. package/dist/progress/index.mjs.map +1 -1
  137. package/dist/progressCircle/index.js +2 -2
  138. package/dist/progressCircle/index.js.map +1 -1
  139. package/dist/progressCircle/index.mjs +11 -6
  140. package/dist/progressCircle/index.mjs.map +1 -1
  141. package/dist/radio/index.js +6 -4
  142. package/dist/radio/index.js.map +1 -1
  143. package/dist/radio/index.mjs +13 -8
  144. package/dist/radio/index.mjs.map +1 -1
  145. package/dist/scrollArea/index.mjs +9 -4
  146. package/dist/scrollArea/index.mjs.map +1 -1
  147. package/dist/scrollIndicator/index.js +2 -1
  148. package/dist/scrollIndicator/index.js.map +1 -1
  149. package/dist/scrollIndicator/index.mjs +2 -1
  150. package/dist/scrollIndicator/index.mjs.map +1 -1
  151. package/dist/select/index.js +6 -2
  152. package/dist/select/index.js.map +1 -1
  153. package/dist/select/index.mjs +15 -8
  154. package/dist/select/index.mjs.map +1 -1
  155. package/dist/separator/index.mjs +9 -4
  156. package/dist/separator/index.mjs.map +1 -1
  157. package/dist/sheet/index.mjs +9 -4
  158. package/dist/sheet/index.mjs.map +1 -1
  159. package/dist/sidebar/index.mjs +9 -4
  160. package/dist/sidebar/index.mjs.map +1 -1
  161. package/dist/signature/index.js +31 -11
  162. package/dist/signature/index.js.map +1 -1
  163. package/dist/signature/index.mjs +40 -15
  164. package/dist/signature/index.mjs.map +1 -1
  165. package/dist/simpleTable/index.js +18 -14
  166. package/dist/simpleTable/index.js.map +1 -1
  167. package/dist/simpleTable/index.mjs +25 -18
  168. package/dist/simpleTable/index.mjs.map +1 -1
  169. package/dist/skeleton/index.mjs +9 -4
  170. package/dist/skeleton/index.mjs.map +1 -1
  171. package/dist/slider/index.mjs +9 -4
  172. package/dist/slider/index.mjs.map +1 -1
  173. package/dist/sortButton/index.mjs +268 -11
  174. package/dist/sortButton/index.mjs.map +1 -1
  175. package/dist/splitButton/index.mjs +267 -12
  176. package/dist/splitButton/index.mjs.map +1 -1
  177. package/dist/switch/index.js +2 -1
  178. package/dist/switch/index.js.map +1 -1
  179. package/dist/switch/index.mjs +11 -5
  180. package/dist/switch/index.mjs.map +1 -1
  181. package/dist/table/index.mjs +9 -4
  182. package/dist/table/index.mjs.map +1 -1
  183. package/dist/tabs/index.mjs +7 -4
  184. package/dist/tabs/index.mjs.map +1 -1
  185. package/dist/textarea/index.js +4 -4
  186. package/dist/textarea/index.js.map +1 -1
  187. package/dist/textarea/index.mjs +11 -8
  188. package/dist/textarea/index.mjs.map +1 -1
  189. package/dist/toast/index.d.mts +9 -1
  190. package/dist/toast/index.d.ts +9 -1
  191. package/dist/toast/index.js +3 -3
  192. package/dist/toast/index.js.map +1 -1
  193. package/dist/toast/index.mjs +145 -10
  194. package/dist/toast/index.mjs.map +1 -1
  195. package/dist/toaster/index.d.mts +5 -0
  196. package/dist/toaster/index.d.ts +5 -0
  197. package/dist/toaster/index.js +17 -142
  198. package/dist/toaster/index.js.map +1 -1
  199. package/dist/toaster/index.mjs +142 -135
  200. package/dist/toaster/index.mjs.map +1 -1
  201. package/package.json +5 -5
  202. package/dist/chunk-3ODWQVIA.mjs +0 -12
  203. package/dist/chunk-3ODWQVIA.mjs.map +0 -1
  204. package/dist/chunk-53OZVR57.mjs +0 -108
  205. package/dist/chunk-53OZVR57.mjs.map +0 -1
  206. package/dist/chunk-CBRGWUZG.mjs +0 -11
  207. package/dist/chunk-CBRGWUZG.mjs.map +0 -1
  208. package/dist/chunk-HYXZRCZW.mjs +0 -265
  209. package/dist/chunk-HYXZRCZW.mjs.map +0 -1
  210. package/dist/chunk-JNUGOUYJ.mjs +0 -154
  211. package/dist/chunk-JX5YLRCU.mjs +0 -443
  212. package/dist/chunk-JX5YLRCU.mjs.map +0 -1
  213. package/dist/chunk-NV3KR5Y7.mjs +0 -82
  214. package/dist/chunk-NV3KR5Y7.mjs.map +0 -1
  215. package/dist/chunk-OQ7MNEYW.mjs +0 -151
  216. package/dist/chunk-OQ7MNEYW.mjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -7194,7 +7194,7 @@ var sizeStyles = {
7194
7194
  sm: "hawa-text-xs"
7195
7195
  };
7196
7196
  var ToastProvider = ToastPrimitives.Provider;
7197
- var ToastViewport = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement("div", null, /* @__PURE__ */ React57.createElement(
7197
+ var ToastViewport = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7198
7198
  ToastPrimitives.Viewport,
7199
7199
  {
7200
7200
  ref,
@@ -7204,7 +7204,7 @@ var ToastViewport = React57.forwardRef(({ className, ...props }, ref) => /* @__P
7204
7204
  ),
7205
7205
  ...props
7206
7206
  }
7207
- ), /* @__PURE__ */ React57.createElement("div", null, "inside ToastViewport")));
7207
+ ));
7208
7208
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
7209
7209
  var Toast = React57.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
7210
7210
  return /* @__PURE__ */ React57.createElement(
@@ -7303,135 +7303,11 @@ var ToastDescription = React57.forwardRef(({ className, size = "default", ...pro
7303
7303
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
7304
7304
 
7305
7305
  // elements/toaster/Toaster.tsx
7306
- import React59 from "react";
7307
-
7308
- // hooks/useToast.ts
7309
- import * as React58 from "react";
7310
- var TOAST_LIMIT = 5;
7311
- var TOAST_REMOVE_DELAY = 1e5;
7312
- var count = 0;
7313
- function genId() {
7314
- count = (count + 1) % Number.MAX_VALUE;
7315
- return count.toString();
7316
- }
7317
- var toastTimeouts = /* @__PURE__ */ new Map();
7318
- var addToRemoveQueue = (toastId) => {
7319
- if (toastTimeouts.has(toastId)) {
7320
- return;
7321
- }
7322
- const timeout = setTimeout(() => {
7323
- toastTimeouts.delete(toastId);
7324
- dispatch({
7325
- type: "REMOVE_TOAST",
7326
- toastId
7327
- });
7328
- }, TOAST_REMOVE_DELAY);
7329
- toastTimeouts.set(toastId, timeout);
7330
- };
7331
- var reducer = (state, action) => {
7332
- switch (action.type) {
7333
- case "ADD_TOAST":
7334
- console.log("adding toast case");
7335
- return {
7336
- ...state,
7337
- toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT)
7338
- };
7339
- case "UPDATE_TOAST":
7340
- return {
7341
- ...state,
7342
- toasts: state.toasts.map(
7343
- (t) => t.id === action.toast.id ? { ...t, ...action.toast } : t
7344
- )
7345
- };
7346
- case "DISMISS_TOAST": {
7347
- const { toastId } = action;
7348
- if (toastId) {
7349
- addToRemoveQueue(toastId);
7350
- } else {
7351
- state.toasts.forEach((toast2) => {
7352
- addToRemoveQueue(toast2.id);
7353
- });
7354
- }
7355
- return {
7356
- ...state,
7357
- toasts: state.toasts.map(
7358
- (t) => t.id === toastId || toastId === void 0 ? { ...t, open: false } : t
7359
- )
7360
- };
7361
- }
7362
- case "REMOVE_TOAST":
7363
- if (action.toastId === void 0) {
7364
- return { ...state, toasts: [] };
7365
- }
7366
- return {
7367
- ...state,
7368
- toasts: state.toasts.filter((t) => t.id !== action.toastId)
7369
- };
7370
- }
7371
- };
7372
- var listeners = [];
7373
- var memoryState = { toasts: [] };
7374
- function dispatch(action) {
7375
- console.log("dispatching toast");
7376
- memoryState = reducer(memoryState, action);
7377
- listeners.forEach((listener) => {
7378
- console.log("mapping through listerners in dispathc");
7379
- listener(memoryState);
7380
- });
7381
- }
7382
- function toast({ ...props }) {
7383
- const id = genId();
7384
- const update = (props2) => dispatch({
7385
- type: "UPDATE_TOAST",
7386
- toast: { ...props2, id }
7387
- });
7388
- const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id });
7389
- dispatch({
7390
- type: "ADD_TOAST",
7391
- toast: {
7392
- ...props,
7393
- id,
7394
- open: true,
7395
- onOpenChange: (open) => {
7396
- if (!open)
7397
- dismiss();
7398
- }
7399
- }
7400
- });
7401
- return {
7402
- id,
7403
- dismiss,
7404
- update
7405
- };
7406
- }
7407
- function useToast() {
7408
- const [state, setState] = React58.useState(memoryState);
7409
- React58.useEffect(() => {
7410
- console.log("useToast triggered in useEffect");
7411
- console.log("toast state", state);
7412
- console.log("listerners BEFORE", listeners);
7413
- console.log("TOAST: setState is ", setState);
7414
- listeners.push(setState);
7415
- return () => {
7416
- const index = listeners.indexOf(setState);
7417
- console.log("listerners AFTER", listeners);
7418
- if (index > -1) {
7419
- listeners.splice(index, 1);
7420
- }
7421
- };
7422
- }, [state]);
7423
- return {
7424
- ...state,
7425
- toast,
7426
- dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId })
7427
- };
7428
- }
7429
-
7430
- // elements/toaster/Toaster.tsx
7306
+ import React58 from "react";
7431
7307
  function Toaster(props) {
7432
- const { toasts } = useToast();
7308
+ var _a;
7433
7309
  let isRTL = props.direction === "rtl";
7434
- return /* @__PURE__ */ React59.createElement("div", null, /* @__PURE__ */ React59.createElement("div", null, "I AM INSIDE MAIN TOASTER"), /* @__PURE__ */ React59.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, /* @__PURE__ */ React59.createElement("div", null, "I AM INSIDE TOASTPROVIDER"), toasts.map(function({
7310
+ return /* @__PURE__ */ React58.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, (_a = props.toasts) == null ? void 0 : _a.map(function({
7435
7311
  id,
7436
7312
  title,
7437
7313
  description,
@@ -7439,7 +7315,7 @@ function Toaster(props) {
7439
7315
  action,
7440
7316
  ...toastProps
7441
7317
  }) {
7442
- return /* @__PURE__ */ React59.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React59.createElement("div", null, "I AM INSIDE TOAST"), /* @__PURE__ */ React59.createElement(
7318
+ return /* @__PURE__ */ React58.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React58.createElement(
7443
7319
  "div",
7444
7320
  {
7445
7321
  className: cn(
@@ -7447,46 +7323,43 @@ function Toaster(props) {
7447
7323
  action && "hawa-justify-between"
7448
7324
  )
7449
7325
  },
7450
- /* @__PURE__ */ React59.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-p-2 hawa-pe-0" }, /* @__PURE__ */ React59.createElement(ToastClose, null)),
7451
- /* @__PURE__ */ React59.createElement("div", { className: "hawa-mx-0 hawa-h-auto hawa-max-h-full hawa-w-px hawa-bg-primary-foreground/10" }),
7452
- /* @__PURE__ */ React59.createElement(
7326
+ /* @__PURE__ */ React58.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-p-2 hawa-pe-0" }, /* @__PURE__ */ React58.createElement(ToastClose, null)),
7327
+ /* @__PURE__ */ React58.createElement("div", { className: "hawa-mx-0 hawa-h-auto hawa-max-h-full hawa-w-px hawa-bg-primary-foreground/10" }),
7328
+ /* @__PURE__ */ React58.createElement(
7453
7329
  "div",
7454
7330
  {
7455
7331
  className: cn(
7456
7332
  "hawa-flex hawa-w-full hawa-flex-row hawa-justify-between hawa-gap-2",
7457
- {
7458
- "hawa-p-4": size === "default",
7459
- "hawa-p-2": size === "sm"
7460
- }
7333
+ { "hawa-p-4": size === "default", "hawa-p-2": size === "sm" }
7461
7334
  )
7462
7335
  },
7463
- /* @__PURE__ */ React59.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React59.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React59.createElement(ToastDescription, { size }, description)),
7464
- action && /* @__PURE__ */ React59.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
7336
+ /* @__PURE__ */ React58.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React58.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React58.createElement(ToastDescription, { size }, description)),
7337
+ action && /* @__PURE__ */ React58.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
7465
7338
  )
7466
7339
  ));
7467
- }), /* @__PURE__ */ React59.createElement(
7340
+ }), /* @__PURE__ */ React58.createElement(
7468
7341
  ToastViewport,
7469
7342
  {
7470
7343
  className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
7471
7344
  }
7472
- )));
7345
+ ));
7473
7346
  }
7474
7347
 
7475
7348
  // elements/destroyableCard/DestroyableCard.tsx
7476
- import React60, { useRef as useRef8, useState as useState19 } from "react";
7349
+ import React59, { useRef as useRef8, useState as useState18 } from "react";
7477
7350
  var DestroyableCard = ({
7478
7351
  position = "bottom-right",
7479
7352
  fixed,
7480
7353
  direction,
7481
7354
  ...props
7482
7355
  }) => {
7483
- const [closed, setClosed] = useState19(false);
7356
+ const [closed, setClosed] = useState18(false);
7484
7357
  const popUpRef = useRef8(null);
7485
7358
  const boxPosition = {
7486
7359
  "bottom-right": "hawa-right-4 hawa-bottom-4",
7487
7360
  "bottom-left": "hawa-left-4 hawa-bottom-4"
7488
7361
  };
7489
- return /* @__PURE__ */ React60.createElement(
7362
+ return /* @__PURE__ */ React59.createElement(
7490
7363
  "div",
7491
7364
  {
7492
7365
  className: cn(
@@ -7495,7 +7368,7 @@ var DestroyableCard = ({
7495
7368
  ),
7496
7369
  ref: popUpRef
7497
7370
  },
7498
- /* @__PURE__ */ React60.createElement(
7371
+ /* @__PURE__ */ React59.createElement(
7499
7372
  Card,
7500
7373
  {
7501
7374
  className: cn(
@@ -7504,7 +7377,7 @@ var DestroyableCard = ({
7504
7377
  ),
7505
7378
  dir: direction
7506
7379
  },
7507
- /* @__PURE__ */ React60.createElement(
7380
+ /* @__PURE__ */ React59.createElement(
7508
7381
  "button",
7509
7382
  {
7510
7383
  type: "button",
@@ -7523,7 +7396,7 @@ var DestroyableCard = ({
7523
7396
  }, 200);
7524
7397
  }
7525
7398
  },
7526
- /* @__PURE__ */ React60.createElement(
7399
+ /* @__PURE__ */ React59.createElement(
7527
7400
  "svg",
7528
7401
  {
7529
7402
  "aria-hidden": "true",
@@ -7531,7 +7404,7 @@ var DestroyableCard = ({
7531
7404
  fill: "currentColor",
7532
7405
  viewBox: "0 0 20 20"
7533
7406
  },
7534
- /* @__PURE__ */ React60.createElement(
7407
+ /* @__PURE__ */ React59.createElement(
7535
7408
  "path",
7536
7409
  {
7537
7410
  fillRule: "evenodd",
@@ -7541,13 +7414,13 @@ var DestroyableCard = ({
7541
7414
  )
7542
7415
  )
7543
7416
  ),
7544
- /* @__PURE__ */ React60.createElement(CardContent, { headless: true }, props.children)
7417
+ /* @__PURE__ */ React59.createElement(CardContent, { headless: true }, props.children)
7545
7418
  )
7546
7419
  );
7547
7420
  };
7548
7421
 
7549
7422
  // elements/interfaceSettings/InterfaceSettings.tsx
7550
- import React61, { useState as useState20 } from "react";
7423
+ import React60, { useState as useState19 } from "react";
7551
7424
  var InterfaceSettings = ({
7552
7425
  orientation = "horizontal",
7553
7426
  width = "default",
@@ -7555,13 +7428,13 @@ var InterfaceSettings = ({
7555
7428
  handleLanguage,
7556
7429
  ...props
7557
7430
  }) => {
7558
- const [color, setColor] = useState20(props.currentColorMode);
7559
- const [language, setLanguage] = useState20(props.currentLanguage);
7431
+ const [color, setColor] = useState19(props.currentColorMode);
7432
+ const [language, setLanguage] = useState19(props.currentLanguage);
7560
7433
  let orientationStyle = {
7561
7434
  horizontal: "hawa-flex hawa-flex-row hawa-justify-between",
7562
7435
  vertical: "hawa-flex hawa-flex-col hawa-items-center hawa-gap-2"
7563
7436
  };
7564
- return /* @__PURE__ */ React61.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ React61.createElement(
7437
+ return /* @__PURE__ */ React60.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ React60.createElement(
7565
7438
  Radio,
7566
7439
  {
7567
7440
  width,
@@ -7578,7 +7451,7 @@ var InterfaceSettings = ({
7578
7451
  { value: "en", label: "English" }
7579
7452
  ]
7580
7453
  }
7581
- ), /* @__PURE__ */ React61.createElement(
7454
+ ), /* @__PURE__ */ React60.createElement(
7582
7455
  Radio,
7583
7456
  {
7584
7457
  width,
@@ -7593,7 +7466,7 @@ var InterfaceSettings = ({
7593
7466
  options: [
7594
7467
  {
7595
7468
  value: "light",
7596
- label: /* @__PURE__ */ React61.createElement(
7469
+ label: /* @__PURE__ */ React60.createElement(
7597
7470
  "svg",
7598
7471
  {
7599
7472
  width: "15",
@@ -7603,7 +7476,7 @@ var InterfaceSettings = ({
7603
7476
  xmlns: "http://www.w3.org/2000/svg",
7604
7477
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-rotate-0 hawa-scale-100 hawa-transition-all dark:hawa--rotate-90"
7605
7478
  },
7606
- /* @__PURE__ */ React61.createElement(
7479
+ /* @__PURE__ */ React60.createElement(
7607
7480
  "path",
7608
7481
  {
7609
7482
  d: "M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",
@@ -7614,7 +7487,7 @@ var InterfaceSettings = ({
7614
7487
  },
7615
7488
  {
7616
7489
  value: "dark",
7617
- label: /* @__PURE__ */ React61.createElement(
7490
+ label: /* @__PURE__ */ React60.createElement(
7618
7491
  "svg",
7619
7492
  {
7620
7493
  xmlns: "http://www.w3.org/2000/svg",
@@ -7625,7 +7498,7 @@ var InterfaceSettings = ({
7625
7498
  stroke: "currentColor",
7626
7499
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-transition-all dark:hawa-rotate-0 dark:hawa-scale-100"
7627
7500
  },
7628
- /* @__PURE__ */ React61.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
7501
+ /* @__PURE__ */ React60.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
7629
7502
  )
7630
7503
  }
7631
7504
  ]
@@ -7634,7 +7507,7 @@ var InterfaceSettings = ({
7634
7507
  };
7635
7508
 
7636
7509
  // layout/stats/Stats.tsx
7637
- import React62 from "react";
7510
+ import React61 from "react";
7638
7511
  var Stats = ({
7639
7512
  label,
7640
7513
  icon,
@@ -7653,7 +7526,7 @@ var Stats = ({
7653
7526
  negative: "hawa-text-red-600 dark:hawa-text-red-500",
7654
7527
  muted: "hawa-text-muted-foreground"
7655
7528
  };
7656
- 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(
7529
+ 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(
7657
7530
  "div",
7658
7531
  {
7659
7532
  className: cn(
@@ -7662,18 +7535,18 @@ var Stats = ({
7662
7535
  helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
7663
7536
  )
7664
7537
  },
7665
- isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : helperText
7666
- ), chart && (isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : chart)));
7538
+ isLoading ? /* @__PURE__ */ React61.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : helperText
7539
+ ), chart && (isLoading ? /* @__PURE__ */ React61.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : chart)));
7667
7540
  };
7668
7541
 
7669
7542
  // layout/sidebar/Sidebar.tsx
7670
- import * as React63 from "react";
7543
+ import * as React62 from "react";
7671
7544
  import * as AccordionPrimitive6 from "@radix-ui/react-accordion";
7672
7545
  var Accordion2 = AccordionPrimitive6.Root;
7673
7546
  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";
7674
- var AccordionItem2 = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React63.createElement(AccordionPrimitive6.Item, { ref, className: cn(className), ...props }));
7547
+ var AccordionItem2 = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React62.createElement(AccordionPrimitive6.Item, { ref, className: cn(className), ...props }));
7675
7548
  AccordionItem2.displayName = "AccordionItem";
7676
- var AccordionTrigger2 = React63.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React63.createElement(AccordionPrimitive6.Header, { className: "flex" }, /* @__PURE__ */ React63.createElement(
7549
+ var AccordionTrigger2 = React62.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React62.createElement(AccordionPrimitive6.Header, { className: "flex" }, /* @__PURE__ */ React62.createElement(
7677
7550
  AccordionPrimitive6.Trigger,
7678
7551
  {
7679
7552
  ref,
@@ -7681,7 +7554,7 @@ var AccordionTrigger2 = React63.forwardRef(({ className, showArrow, children, ..
7681
7554
  ...props
7682
7555
  },
7683
7556
  children,
7684
- showArrow && /* @__PURE__ */ React63.createElement(
7557
+ showArrow && /* @__PURE__ */ React62.createElement(
7685
7558
  "svg",
7686
7559
  {
7687
7560
  "aria-label": "Chevron Right Icon",
@@ -7692,11 +7565,11 @@ var AccordionTrigger2 = React63.forwardRef(({ className, showArrow, children, ..
7692
7565
  width: "1em",
7693
7566
  className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
7694
7567
  },
7695
- /* @__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" })
7568
+ /* @__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" })
7696
7569
  )
7697
7570
  )));
7698
7571
  AccordionTrigger2.displayName = AccordionPrimitive6.Trigger.displayName;
7699
- var AccordionContent2 = React63.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React63.createElement(
7572
+ var AccordionContent2 = React62.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React62.createElement(
7700
7573
  AccordionPrimitive6.Content,
7701
7574
  {
7702
7575
  ref,
@@ -7706,7 +7579,7 @@ var AccordionContent2 = React63.forwardRef(({ className, children, ...props }, r
7706
7579
  ),
7707
7580
  ...props
7708
7581
  },
7709
- /* @__PURE__ */ React63.createElement("div", null, children)
7582
+ /* @__PURE__ */ React62.createElement("div", null, children)
7710
7583
  ));
7711
7584
  AccordionContent2.displayName = AccordionPrimitive6.Content.displayName;
7712
7585
  var SidebarGroup = ({
@@ -7720,7 +7593,7 @@ var SidebarGroup = ({
7720
7593
  direction,
7721
7594
  isOpen
7722
7595
  }) => {
7723
- 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(
7596
+ 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(
7724
7597
  Accordion2,
7725
7598
  {
7726
7599
  value: openedItem,
@@ -7731,7 +7604,7 @@ var SidebarGroup = ({
7731
7604
  collapsible: true,
7732
7605
  className: "hawa-flex hawa-flex-col hawa-gap-1"
7733
7606
  },
7734
- items.map((item, idx) => /* @__PURE__ */ React63.createElement(
7607
+ items.map((item, idx) => /* @__PURE__ */ React62.createElement(
7735
7608
  SidebarItem,
7736
7609
  {
7737
7610
  isOpen,
@@ -7757,14 +7630,14 @@ var SidebarItem = ({
7757
7630
  return props.selectedItem === value ? "hawa-bg-primary/90 hawa-text-primary-foreground hawa-cursor-default" : "hover:hawa-bg-primary/10";
7758
7631
  };
7759
7632
  if (item.subitems) {
7760
- return /* @__PURE__ */ React63.createElement(
7633
+ return /* @__PURE__ */ React62.createElement(
7761
7634
  AccordionItem2,
7762
7635
  {
7763
7636
  value: item.value,
7764
7637
  className: "hawa-overflow-x-clip ",
7765
7638
  dir: direction
7766
7639
  },
7767
- /* @__PURE__ */ React63.createElement(
7640
+ /* @__PURE__ */ React62.createElement(
7768
7641
  AccordionTrigger2,
7769
7642
  {
7770
7643
  className: cn(
@@ -7776,7 +7649,7 @@ var SidebarItem = ({
7776
7649
  ),
7777
7650
  showArrow: isOpen
7778
7651
  },
7779
- /* @__PURE__ */ React63.createElement(
7652
+ /* @__PURE__ */ React62.createElement(
7780
7653
  "div",
7781
7654
  {
7782
7655
  className: cn(
@@ -7784,7 +7657,7 @@ var SidebarItem = ({
7784
7657
  )
7785
7658
  },
7786
7659
  item.icon && item.icon,
7787
- /* @__PURE__ */ React63.createElement(
7660
+ /* @__PURE__ */ React62.createElement(
7788
7661
  "span",
7789
7662
  {
7790
7663
  className: cn(
@@ -7796,14 +7669,14 @@ var SidebarItem = ({
7796
7669
  )
7797
7670
  )
7798
7671
  ),
7799
- item.subitems && /* @__PURE__ */ React63.createElement(AccordionContent2, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React63.createElement(
7672
+ item.subitems && /* @__PURE__ */ React62.createElement(AccordionContent2, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React62.createElement(
7800
7673
  "div",
7801
7674
  {
7802
7675
  className: cn(
7803
7676
  "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
7804
7677
  )
7805
7678
  },
7806
- item.subitems.map((subitem, idx) => /* @__PURE__ */ React63.createElement(
7679
+ item.subitems.map((subitem, idx) => /* @__PURE__ */ React62.createElement(
7807
7680
  "a",
7808
7681
  {
7809
7682
  href: subitem.slug,
@@ -7834,7 +7707,7 @@ var SidebarItem = ({
7834
7707
  ))
7835
7708
  );
7836
7709
  } else {
7837
- return /* @__PURE__ */ React63.createElement(
7710
+ return /* @__PURE__ */ React62.createElement(
7838
7711
  "a",
7839
7712
  {
7840
7713
  href: item.slug,
@@ -7858,7 +7731,7 @@ var SidebarItem = ({
7858
7731
  "hawa-overflow-x-clip "
7859
7732
  )
7860
7733
  },
7861
- /* @__PURE__ */ React63.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React63.createElement(
7734
+ /* @__PURE__ */ React62.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React62.createElement(
7862
7735
  "span",
7863
7736
  {
7864
7737
  className: cn(
@@ -7868,20 +7741,20 @@ var SidebarItem = ({
7868
7741
  },
7869
7742
  item.label,
7870
7743
  " ",
7871
- item.badge && /* @__PURE__ */ React63.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
7744
+ item.badge && /* @__PURE__ */ React62.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
7872
7745
  ))
7873
7746
  );
7874
7747
  }
7875
7748
  };
7876
7749
 
7877
7750
  // layout/copyrights/Copyrights.tsx
7878
- import React64 from "react";
7751
+ import React63 from "react";
7879
7752
  var Copyrights = (props) => {
7880
- 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);
7753
+ 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);
7881
7754
  };
7882
7755
 
7883
7756
  // layout/navbar/Navbar.tsx
7884
- import React65, { useState as useState21 } from "react";
7757
+ import React64, { useState as useState20 } from "react";
7885
7758
 
7886
7759
  // elements/collapsible/Collapsible.tsx
7887
7760
  import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
@@ -7897,14 +7770,14 @@ var Navbar = ({
7897
7770
  ...props
7898
7771
  }) => {
7899
7772
  var _a, _b;
7900
- const [isOpen, setIsOpen] = useState21(false);
7901
- return /* @__PURE__ */ React65.createElement("nav", { className: " hawa-sticky hawa-top-2 hawa-transition-all" }, /* @__PURE__ */ React65.createElement(
7773
+ const [isOpen, setIsOpen] = useState20(false);
7774
+ return /* @__PURE__ */ React64.createElement("nav", { className: " hawa-sticky hawa-top-2 hawa-transition-all" }, /* @__PURE__ */ React64.createElement(
7902
7775
  Collapsible,
7903
7776
  {
7904
7777
  className: "hawa-relative hawa-m-2 hawa-rounded hawa-p-2",
7905
7778
  style: { backgroundColor: backgroundColor || "#1f2937" }
7906
7779
  },
7907
- /* @__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(
7780
+ /* @__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(
7908
7781
  "div",
7909
7782
  {
7910
7783
  className: "hawa-p-1.5 hawa-text-xl hawa-font-bold hawa-text-white",
@@ -7915,7 +7788,7 @@ var Navbar = ({
7915
7788
  }
7916
7789
  },
7917
7790
  logo
7918
- )), /* @__PURE__ */ React65.createElement("div", { className: "hawa-hidden md:hawa-flex " }, (_a = props.menuItems) == null ? void 0 : _a.map((item, i) => /* @__PURE__ */ React65.createElement(
7791
+ )), /* @__PURE__ */ React64.createElement("div", { className: "hawa-hidden md:hawa-flex " }, (_a = props.menuItems) == null ? void 0 : _a.map((item, i) => /* @__PURE__ */ React64.createElement(
7919
7792
  "div",
7920
7793
  {
7921
7794
  key: i,
@@ -7923,14 +7796,14 @@ var Navbar = ({
7923
7796
  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"
7924
7797
  },
7925
7798
  item.label
7926
- ))), /* @__PURE__ */ React65.createElement("div", { className: "hawa-m-0 hawa-flex hawa-h-fit hawa-p-0 md:hawa-hidden" }, /* @__PURE__ */ React65.createElement(
7799
+ ))), /* @__PURE__ */ React64.createElement("div", { className: "hawa-m-0 hawa-flex hawa-h-fit hawa-p-0 md:hawa-hidden" }, /* @__PURE__ */ React64.createElement(
7927
7800
  CollapsibleTrigger2,
7928
7801
  {
7929
7802
  onClick: () => setIsOpen(!isOpen),
7930
7803
  className: "hawa-h-full hawa-text-white selection:hawa-p-0 ",
7931
7804
  "aria-label": "Toggle menu"
7932
7805
  },
7933
- /* @__PURE__ */ React65.createElement(
7806
+ /* @__PURE__ */ React64.createElement(
7934
7807
  "svg",
7935
7808
  {
7936
7809
  xmlns: "http://www.w3.org/2000/svg",
@@ -7947,11 +7820,11 @@ var Navbar = ({
7947
7820
  isOpen ? "hawa-invisible" : "hawa-visible"
7948
7821
  )
7949
7822
  },
7950
- /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
7951
- /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
7952
- /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
7823
+ /* @__PURE__ */ React64.createElement("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
7824
+ /* @__PURE__ */ React64.createElement("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
7825
+ /* @__PURE__ */ React64.createElement("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
7953
7826
  ),
7954
- /* @__PURE__ */ React65.createElement(
7827
+ /* @__PURE__ */ React64.createElement(
7955
7828
  "svg",
7956
7829
  {
7957
7830
  xmlns: "http://www.w3.org/2000/svg",
@@ -7968,11 +7841,11 @@ var Navbar = ({
7968
7841
  !isOpen ? "hawa-invisible" : "hawa-visible"
7969
7842
  )
7970
7843
  },
7971
- /* @__PURE__ */ React65.createElement("path", { d: "M18 6 6 18" }),
7972
- /* @__PURE__ */ React65.createElement("path", { d: "m6 6 12 12" })
7844
+ /* @__PURE__ */ React64.createElement("path", { d: "M18 6 6 18" }),
7845
+ /* @__PURE__ */ React64.createElement("path", { d: "m6 6 12 12" })
7973
7846
  )
7974
7847
  ))),
7975
- /* @__PURE__ */ React65.createElement(
7848
+ /* @__PURE__ */ React64.createElement(
7976
7849
  CollapsibleContent2,
7977
7850
  {
7978
7851
  className: cn(
@@ -7987,7 +7860,7 @@ var Navbar = ({
7987
7860
  zIndex: -100
7988
7861
  }
7989
7862
  },
7990
- (_b = props.menuItems) == null ? void 0 : _b.map((item, i) => /* @__PURE__ */ React65.createElement(
7863
+ (_b = props.menuItems) == null ? void 0 : _b.map((item, i) => /* @__PURE__ */ React64.createElement(
7991
7864
  "div",
7992
7865
  {
7993
7866
  key: i,
@@ -8001,7 +7874,7 @@ var Navbar = ({
8001
7874
  };
8002
7875
 
8003
7876
  // layout/appLayout/AppLayout.tsx
8004
- import React66, { useEffect as useEffect16, useRef as useRef9, useState as useState22 } from "react";
7877
+ import React65, { useEffect as useEffect15, useRef as useRef9, useState as useState21 } from "react";
8005
7878
  var AppLayout = ({
8006
7879
  profileMenuWidth = "default",
8007
7880
  DrawerFooterActions,
@@ -8031,11 +7904,11 @@ var AppLayout = ({
8031
7904
  };
8032
7905
  const ref = useRef9(null);
8033
7906
  const isRTL = direction === "rtl";
8034
- const [openedSidebarItem, setOpenedSidebarItem] = useState22("");
8035
- const [size, setSize] = useState22(1200);
8036
- const [openSideMenu, setOpenSideMenu] = useState22(true);
7907
+ const [openedSidebarItem, setOpenedSidebarItem] = useState21("");
7908
+ const [size, setSize] = useState21(1200);
7909
+ const [openSideMenu, setOpenSideMenu] = useState21(true);
8037
7910
  const drawerSizeCondition = size > 600 ? drawerSizeStyle[keepOpen ? "opened" : "closed"][drawerSize] : 0;
8038
- useEffect16(() => {
7911
+ useEffect15(() => {
8039
7912
  if (typeof window !== "undefined") {
8040
7913
  const resize = () => {
8041
7914
  setSize(window.innerWidth);
@@ -8047,14 +7920,14 @@ var AppLayout = ({
8047
7920
  };
8048
7921
  }
8049
7922
  }, []);
8050
- useEffect16(() => {
7923
+ useEffect15(() => {
8051
7924
  if (size > 600) {
8052
7925
  setOpenSideMenu(keepOpen);
8053
7926
  } else {
8054
7927
  setOpenSideMenu(false);
8055
7928
  }
8056
7929
  }, [size]);
8057
- useEffect16(() => {
7930
+ useEffect15(() => {
8058
7931
  const handleClickOutside = (event) => {
8059
7932
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
8060
7933
  setOpenSideMenu(false);
@@ -8065,7 +7938,7 @@ var AppLayout = ({
8065
7938
  document.removeEventListener("click", handleClickOutside, true);
8066
7939
  };
8067
7940
  }, [keepOpen]);
8068
- return /* @__PURE__ */ React66.createElement("div", { className: "hawa-fixed hawa-left-0" }, props.topBar && /* @__PURE__ */ React66.createElement(
7941
+ return /* @__PURE__ */ React65.createElement("div", { className: "hawa-fixed hawa-left-0" }, props.topBar && /* @__PURE__ */ React65.createElement(
8069
7942
  "div",
8070
7943
  {
8071
7944
  className: cn(
@@ -8073,7 +7946,7 @@ var AppLayout = ({
8073
7946
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8074
7947
  )
8075
7948
  },
8076
- size > 600 ? /* @__PURE__ */ React66.createElement(
7949
+ size > 600 ? /* @__PURE__ */ React65.createElement(
8077
7950
  "div",
8078
7951
  {
8079
7952
  className: cn(
@@ -8095,24 +7968,24 @@ var AppLayout = ({
8095
7968
  props.pageTitle
8096
7969
  ) : (
8097
7970
  // Mobile Drawer Menu Button
8098
- /* @__PURE__ */ React66.createElement(
7971
+ /* @__PURE__ */ React65.createElement(
8099
7972
  "div",
8100
7973
  {
8101
7974
  dir: direction,
8102
7975
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
8103
7976
  },
8104
- /* @__PURE__ */ React66.createElement(
7977
+ /* @__PURE__ */ React65.createElement(
8105
7978
  "div",
8106
7979
  {
8107
7980
  onClick: () => setOpenSideMenu(true),
8108
7981
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
8109
7982
  },
8110
- /* @__PURE__ */ React66.createElement(MenuIcon, null)
7983
+ /* @__PURE__ */ React65.createElement(MenuIcon, null)
8111
7984
  ),
8112
- props.pageTitle ? /* @__PURE__ */ React66.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ React66.createElement("div", null)
7985
+ props.pageTitle ? /* @__PURE__ */ React65.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ React65.createElement("div", null)
8113
7986
  )
8114
7987
  ),
8115
- /* @__PURE__ */ React66.createElement(
7988
+ /* @__PURE__ */ React65.createElement(
8116
7989
  "div",
8117
7990
  {
8118
7991
  className: cn(
@@ -8120,16 +7993,16 @@ var AppLayout = ({
8120
7993
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8121
7994
  )
8122
7995
  },
8123
- size > 600 ? /* @__PURE__ */ React66.createElement(
7996
+ size > 600 ? /* @__PURE__ */ React65.createElement(
8124
7997
  "div",
8125
7998
  {
8126
7999
  className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
8127
8000
  },
8128
- /* @__PURE__ */ React66.createElement("div", { className: "hawa-font-bold" }, props.username),
8001
+ /* @__PURE__ */ React65.createElement("div", { className: "hawa-font-bold" }, props.username),
8129
8002
  " ",
8130
- /* @__PURE__ */ React66.createElement("div", null, props.email)
8003
+ /* @__PURE__ */ React65.createElement("div", null, props.email)
8131
8004
  ) : null,
8132
- /* @__PURE__ */ React66.createElement(
8005
+ /* @__PURE__ */ React65.createElement(
8133
8006
  DropdownMenu,
8134
8007
  {
8135
8008
  triggerClassname: "hawa-mx-2",
@@ -8141,7 +8014,7 @@ var AppLayout = ({
8141
8014
  direction: isRTL ? "rtl" : "ltr",
8142
8015
  items: props.profileMenuItems,
8143
8016
  onItemSelect: (e) => console.log("selecting item ", e),
8144
- 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(
8017
+ 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(
8145
8018
  "svg",
8146
8019
  {
8147
8020
  "aria-label": "Avatar Icon",
@@ -8149,7 +8022,7 @@ var AppLayout = ({
8149
8022
  fill: "currentColor",
8150
8023
  viewBox: "0 0 20 20"
8151
8024
  },
8152
- /* @__PURE__ */ React66.createElement(
8025
+ /* @__PURE__ */ React65.createElement(
8153
8026
  "path",
8154
8027
  {
8155
8028
  fillRule: "evenodd",
@@ -8161,7 +8034,7 @@ var AppLayout = ({
8161
8034
  }
8162
8035
  )
8163
8036
  )
8164
- ), /* @__PURE__ */ React66.createElement(
8037
+ ), /* @__PURE__ */ React65.createElement(
8165
8038
  "div",
8166
8039
  {
8167
8040
  className: cn(
@@ -8189,7 +8062,7 @@ var AppLayout = ({
8189
8062
  },
8190
8063
  ref
8191
8064
  },
8192
- /* @__PURE__ */ React66.createElement(
8065
+ /* @__PURE__ */ React65.createElement(
8193
8066
  "div",
8194
8067
  {
8195
8068
  onClick: props.onLogoClick,
@@ -8203,7 +8076,7 @@ var AppLayout = ({
8203
8076
  }
8204
8077
  },
8205
8078
  openSideMenu && props.header && props.header,
8206
- !props.header && /* @__PURE__ */ React66.createElement(
8079
+ !props.header && /* @__PURE__ */ React65.createElement(
8207
8080
  "img",
8208
8081
  {
8209
8082
  className: cn(
@@ -8213,7 +8086,7 @@ var AppLayout = ({
8213
8086
  src: props.logoLink
8214
8087
  }
8215
8088
  ),
8216
- size > 600 ? /* @__PURE__ */ React66.createElement(
8089
+ size > 600 ? /* @__PURE__ */ React65.createElement(
8217
8090
  "img",
8218
8091
  {
8219
8092
  className: cn(
@@ -8225,7 +8098,7 @@ var AppLayout = ({
8225
8098
  }
8226
8099
  ) : null
8227
8100
  ),
8228
- /* @__PURE__ */ React66.createElement(
8101
+ /* @__PURE__ */ React65.createElement(
8229
8102
  "div",
8230
8103
  {
8231
8104
  className: cn(
@@ -8236,7 +8109,7 @@ var AppLayout = ({
8236
8109
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : drawerSizeCondition}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8237
8110
  }
8238
8111
  },
8239
- /* @__PURE__ */ React66.createElement(
8112
+ /* @__PURE__ */ React65.createElement(
8240
8113
  SidebarGroup,
8241
8114
  {
8242
8115
  direction,
@@ -8258,7 +8131,7 @@ var AppLayout = ({
8258
8131
  }
8259
8132
  )
8260
8133
  ),
8261
- /* @__PURE__ */ React66.createElement(
8134
+ /* @__PURE__ */ React65.createElement(
8262
8135
  "div",
8263
8136
  {
8264
8137
  className: cn(
@@ -8270,8 +8143,8 @@ var AppLayout = ({
8270
8143
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8271
8144
  }
8272
8145
  },
8273
- DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React66.createElement(React66.Fragment, null, DrawerFooterActions) : null,
8274
- size > 600 && openSideMenu ? /* @__PURE__ */ React66.createElement(
8146
+ DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React65.createElement(React65.Fragment, null, DrawerFooterActions) : null,
8147
+ size > 600 && openSideMenu ? /* @__PURE__ */ React65.createElement(
8275
8148
  Tooltip,
8276
8149
  {
8277
8150
  side: "left",
@@ -8279,7 +8152,7 @@ var AppLayout = ({
8279
8152
  content: keepOpen ? ((_a = props.texts) == null ? void 0 : _a.collapseSidebar) || "Collapse Sidebar" : ((_b = props.texts) == null ? void 0 : _b.expandSidebar) || "Expand Sidebar",
8280
8153
  triggerProps: { asChild: true }
8281
8154
  },
8282
- /* @__PURE__ */ React66.createElement(
8155
+ /* @__PURE__ */ React65.createElement(
8283
8156
  Button,
8284
8157
  {
8285
8158
  variant: "outline",
@@ -8292,7 +8165,7 @@ var AppLayout = ({
8292
8165
  },
8293
8166
  size: "smallIcon"
8294
8167
  },
8295
- /* @__PURE__ */ React66.createElement(
8168
+ /* @__PURE__ */ React65.createElement(
8296
8169
  "svg",
8297
8170
  {
8298
8171
  className: cn(
@@ -8302,7 +8175,7 @@ var AppLayout = ({
8302
8175
  fill: "currentColor",
8303
8176
  viewBox: "0 0 20 20"
8304
8177
  },
8305
- /* @__PURE__ */ React66.createElement(
8178
+ /* @__PURE__ */ React65.createElement(
8306
8179
  "path",
8307
8180
  {
8308
8181
  fillRule: "evenodd",
@@ -8314,7 +8187,7 @@ var AppLayout = ({
8314
8187
  )
8315
8188
  ) : null
8316
8189
  )
8317
- ), /* @__PURE__ */ React66.createElement(
8190
+ ), /* @__PURE__ */ React65.createElement(
8318
8191
  "div",
8319
8192
  {
8320
8193
  className: "hawa-fixed -hawa-z-10 hawa-overflow-y-auto hawa-transition-all",
@@ -8333,7 +8206,7 @@ var AppLayout = ({
8333
8206
  props.children
8334
8207
  ));
8335
8208
  };
8336
- var MenuIcon = () => /* @__PURE__ */ React66.createElement(
8209
+ var MenuIcon = () => /* @__PURE__ */ React65.createElement(
8337
8210
  "svg",
8338
8211
  {
8339
8212
  "aria-label": "Menu Button",
@@ -8345,7 +8218,7 @@ var MenuIcon = () => /* @__PURE__ */ React66.createElement(
8345
8218
  height: "1.6em",
8346
8219
  width: "1.6em"
8347
8220
  },
8348
- /* @__PURE__ */ React66.createElement(
8221
+ /* @__PURE__ */ React65.createElement(
8349
8222
  "path",
8350
8223
  {
8351
8224
  fillRule: "evenodd",
@@ -8356,11 +8229,11 @@ var MenuIcon = () => /* @__PURE__ */ React66.createElement(
8356
8229
  );
8357
8230
 
8358
8231
  // layout/appTopbar/AppTopbar.tsx
8359
- import React67 from "react";
8232
+ import React66 from "react";
8360
8233
  var AppTopbar = ({ ...props }) => {
8361
8234
  const isRTL = props.direction === "ltr";
8362
8235
  const size = 1200;
8363
- return /* @__PURE__ */ React67.createElement(
8236
+ return /* @__PURE__ */ React66.createElement(
8364
8237
  "div",
8365
8238
  {
8366
8239
  className: cn(
@@ -8368,24 +8241,24 @@ var AppTopbar = ({ ...props }) => {
8368
8241
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8369
8242
  )
8370
8243
  },
8371
- size > 600 ? /* @__PURE__ */ React67.createElement(
8244
+ size > 600 ? /* @__PURE__ */ React66.createElement(
8372
8245
  "div",
8373
8246
  null,
8374
8247
  "page title"
8375
8248
  ) : (
8376
8249
  // Mobile Drawer Menu Button
8377
- /* @__PURE__ */ React67.createElement(
8250
+ /* @__PURE__ */ React66.createElement(
8378
8251
  "div",
8379
8252
  {
8380
8253
  dir: props.direction,
8381
8254
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
8382
8255
  },
8383
- /* @__PURE__ */ React67.createElement(
8256
+ /* @__PURE__ */ React66.createElement(
8384
8257
  "div",
8385
8258
  {
8386
8259
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
8387
8260
  },
8388
- /* @__PURE__ */ React67.createElement(
8261
+ /* @__PURE__ */ React66.createElement(
8389
8262
  "svg",
8390
8263
  {
8391
8264
  stroke: "currentColor",
@@ -8396,7 +8269,7 @@ var AppTopbar = ({ ...props }) => {
8396
8269
  height: "1.6em",
8397
8270
  width: "1.6em"
8398
8271
  },
8399
- /* @__PURE__ */ React67.createElement(
8272
+ /* @__PURE__ */ React66.createElement(
8400
8273
  "path",
8401
8274
  {
8402
8275
  fillRule: "evenodd",
@@ -8409,7 +8282,7 @@ var AppTopbar = ({ ...props }) => {
8409
8282
  "Mobile title"
8410
8283
  )
8411
8284
  ),
8412
- /* @__PURE__ */ React67.createElement(
8285
+ /* @__PURE__ */ React66.createElement(
8413
8286
  "div",
8414
8287
  {
8415
8288
  className: cn(
@@ -8417,16 +8290,16 @@ var AppTopbar = ({ ...props }) => {
8417
8290
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8418
8291
  )
8419
8292
  },
8420
- size > 600 ? /* @__PURE__ */ React67.createElement(
8293
+ size > 600 ? /* @__PURE__ */ React66.createElement(
8421
8294
  "div",
8422
8295
  {
8423
8296
  className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
8424
8297
  },
8425
- /* @__PURE__ */ React67.createElement("div", { className: "hawa-font-bold" }, props.username),
8298
+ /* @__PURE__ */ React66.createElement("div", { className: "hawa-font-bold" }, props.username),
8426
8299
  " ",
8427
- /* @__PURE__ */ React67.createElement("div", null, props.email)
8300
+ /* @__PURE__ */ React66.createElement("div", null, props.email)
8428
8301
  ) : null,
8429
- /* @__PURE__ */ React67.createElement(
8302
+ /* @__PURE__ */ React66.createElement(
8430
8303
  DropdownMenu,
8431
8304
  {
8432
8305
  triggerClassname: "hawa-mx-2",
@@ -8437,7 +8310,7 @@ var AppTopbar = ({ ...props }) => {
8437
8310
  direction: isRTL ? "rtl" : "ltr",
8438
8311
  items: props.profileMenuItems,
8439
8312
  onItemSelect: (e) => console.log("selecting item ", e),
8440
- 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(
8313
+ 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(
8441
8314
  "svg",
8442
8315
  {
8443
8316
  "aria-label": "Avatar Icon",
@@ -8445,7 +8318,7 @@ var AppTopbar = ({ ...props }) => {
8445
8318
  fill: "currentColor",
8446
8319
  viewBox: "0 0 20 20"
8447
8320
  },
8448
- /* @__PURE__ */ React67.createElement(
8321
+ /* @__PURE__ */ React66.createElement(
8449
8322
  "path",
8450
8323
  {
8451
8324
  fillRule: "evenodd",
@@ -8461,14 +8334,14 @@ var AppTopbar = ({ ...props }) => {
8461
8334
  };
8462
8335
 
8463
8336
  // layout/appMenubar/AppMenubar.tsx
8464
- import * as React68 from "react";
8337
+ import * as React67 from "react";
8465
8338
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
8466
8339
  var MenubarMenu = MenubarPrimitive.Menu;
8467
8340
  var MenubarGroup = MenubarPrimitive.Group;
8468
8341
  var MenubarPortal = MenubarPrimitive.Portal;
8469
8342
  var MenubarSub = MenubarPrimitive.Sub;
8470
8343
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
8471
- var Menubar = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8344
+ var Menubar = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8472
8345
  MenubarPrimitive.Root,
8473
8346
  {
8474
8347
  ref,
@@ -8480,7 +8353,7 @@ var Menubar = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__
8480
8353
  }
8481
8354
  ));
8482
8355
  Menubar.displayName = MenubarPrimitive.Root.displayName;
8483
- var MenubarTrigger = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8356
+ var MenubarTrigger = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8484
8357
  MenubarPrimitive.Trigger,
8485
8358
  {
8486
8359
  ref,
@@ -8492,7 +8365,7 @@ var MenubarTrigger = React68.forwardRef(({ className, ...props }, ref) => /* @__
8492
8365
  }
8493
8366
  ));
8494
8367
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
8495
- var MenubarSubTrigger = React68.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8368
+ var MenubarSubTrigger = React67.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8496
8369
  MenubarPrimitive.SubTrigger,
8497
8370
  {
8498
8371
  ref,
@@ -8504,7 +8377,7 @@ var MenubarSubTrigger = React68.forwardRef(({ className, inset, children, ...pro
8504
8377
  ...props
8505
8378
  },
8506
8379
  children,
8507
- /* @__PURE__ */ React68.createElement(
8380
+ /* @__PURE__ */ React67.createElement(
8508
8381
  "svg",
8509
8382
  {
8510
8383
  "aria-label": "Chevron Right Icon",
@@ -8519,11 +8392,11 @@ var MenubarSubTrigger = React68.forwardRef(({ className, inset, children, ...pro
8519
8392
  strokeLinejoin: "round",
8520
8393
  className: "hawa-icon hawa-ml-auto"
8521
8394
  },
8522
- /* @__PURE__ */ React68.createElement("path", { d: "m9 18 6-6-6-6" })
8395
+ /* @__PURE__ */ React67.createElement("path", { d: "m9 18 6-6-6-6" })
8523
8396
  )
8524
8397
  ));
8525
8398
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
8526
- var MenubarSubContent = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8399
+ var MenubarSubContent = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8527
8400
  MenubarPrimitive.SubContent,
8528
8401
  {
8529
8402
  ref,
@@ -8535,8 +8408,8 @@ var MenubarSubContent = React68.forwardRef(({ className, ...props }, ref) => /*
8535
8408
  }
8536
8409
  ));
8537
8410
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
8538
- var MenubarContent = React68.forwardRef(
8539
- ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React68.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React68.createElement(
8411
+ var MenubarContent = React67.forwardRef(
8412
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React67.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React67.createElement(
8540
8413
  MenubarPrimitive.Content,
8541
8414
  {
8542
8415
  ref,
@@ -8552,7 +8425,7 @@ var MenubarContent = React68.forwardRef(
8552
8425
  ))
8553
8426
  );
8554
8427
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
8555
- var MenubarItem = React68.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8428
+ var MenubarItem = React67.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8556
8429
  MenubarPrimitive.Item,
8557
8430
  {
8558
8431
  ref,
@@ -8565,7 +8438,7 @@ var MenubarItem = React68.forwardRef(({ className, inset, ...props }, ref) => /*
8565
8438
  }
8566
8439
  ));
8567
8440
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
8568
- var MenubarCheckboxItem = React68.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8441
+ var MenubarCheckboxItem = React67.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8569
8442
  MenubarPrimitive.CheckboxItem,
8570
8443
  {
8571
8444
  ref,
@@ -8576,7 +8449,7 @@ var MenubarCheckboxItem = React68.forwardRef(({ className, children, checked, ..
8576
8449
  checked,
8577
8450
  ...props
8578
8451
  },
8579
- /* @__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(
8452
+ /* @__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(
8580
8453
  "svg",
8581
8454
  {
8582
8455
  xmlns: "http://www.w3.org/2000/svg",
@@ -8590,12 +8463,12 @@ var MenubarCheckboxItem = React68.forwardRef(({ className, children, checked, ..
8590
8463
  strokeLinejoin: "round",
8591
8464
  className: "hawa-icon"
8592
8465
  },
8593
- /* @__PURE__ */ React68.createElement("path", { d: "M20 6 9 17l-5-5" })
8466
+ /* @__PURE__ */ React67.createElement("path", { d: "M20 6 9 17l-5-5" })
8594
8467
  ))),
8595
8468
  children
8596
8469
  ));
8597
8470
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
8598
- var MenubarRadioItem = React68.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8471
+ var MenubarRadioItem = React67.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8599
8472
  MenubarPrimitive.RadioItem,
8600
8473
  {
8601
8474
  ref,
@@ -8605,7 +8478,7 @@ var MenubarRadioItem = React68.forwardRef(({ className, children, ...props }, re
8605
8478
  ),
8606
8479
  ...props
8607
8480
  },
8608
- /* @__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(
8481
+ /* @__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(
8609
8482
  "svg",
8610
8483
  {
8611
8484
  xmlns: "http://www.w3.org/2000/svg",
@@ -8619,12 +8492,12 @@ var MenubarRadioItem = React68.forwardRef(({ className, children, ...props }, re
8619
8492
  strokeLinejoin: "round",
8620
8493
  className: "hawa-h-2 hawa-w-2 hawa-fill-current"
8621
8494
  },
8622
- /* @__PURE__ */ React68.createElement("circle", { cx: "12", cy: "12", r: "10" })
8495
+ /* @__PURE__ */ React67.createElement("circle", { cx: "12", cy: "12", r: "10" })
8623
8496
  ))),
8624
8497
  children
8625
8498
  ));
8626
8499
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
8627
- var MenubarLabel = React68.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8500
+ var MenubarLabel = React67.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8628
8501
  MenubarPrimitive.Label,
8629
8502
  {
8630
8503
  ref,
@@ -8637,7 +8510,7 @@ var MenubarLabel = React68.forwardRef(({ className, inset, ...props }, ref) => /
8637
8510
  }
8638
8511
  ));
8639
8512
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
8640
- var MenubarSeparator = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8513
+ var MenubarSeparator = React67.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React67.createElement(
8641
8514
  MenubarPrimitive.Separator,
8642
8515
  {
8643
8516
  ref,
@@ -8650,7 +8523,7 @@ var MenubarShortcut = ({
8650
8523
  className,
8651
8524
  ...props
8652
8525
  }) => {
8653
- return /* @__PURE__ */ React68.createElement(
8526
+ return /* @__PURE__ */ React67.createElement(
8654
8527
  "span",
8655
8528
  {
8656
8529
  className: cn(
@@ -8664,10 +8537,10 @@ var MenubarShortcut = ({
8664
8537
  MenubarShortcut.displayname = "MenubarShortcut";
8665
8538
 
8666
8539
  // layout/appTabs/AppTabs.tsx
8667
- import React69, { useState as useState23 } from "react";
8540
+ import React68, { useState as useState22 } from "react";
8668
8541
  var AppTabs = ({ tabs, className }) => {
8669
- const [selectedIndex, setSelectedIndex] = useState23(0);
8670
- return /* @__PURE__ */ React69.createElement(
8542
+ const [selectedIndex, setSelectedIndex] = useState22(0);
8543
+ return /* @__PURE__ */ React68.createElement(
8671
8544
  "div",
8672
8545
  {
8673
8546
  className: cn(
@@ -8675,9 +8548,9 @@ var AppTabs = ({ tabs, className }) => {
8675
8548
  className
8676
8549
  )
8677
8550
  },
8678
- /* @__PURE__ */ React69.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center " }, tabs.map((tab, index) => {
8551
+ /* @__PURE__ */ React68.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center " }, tabs.map((tab, index) => {
8679
8552
  const selected = index === selectedIndex;
8680
- return /* @__PURE__ */ React69.createElement(
8553
+ return /* @__PURE__ */ React68.createElement(
8681
8554
  "a",
8682
8555
  {
8683
8556
  href: tab.path,
@@ -8708,13 +8581,13 @@ var AppTabs = ({ tabs, className }) => {
8708
8581
  };
8709
8582
 
8710
8583
  // layout/docsLayout/DocsLayout.tsx
8711
- import React72, { useEffect as useEffect18, useRef as useRef10, useState as useState25 } from "react";
8584
+ import React71, { useEffect as useEffect17, useRef as useRef10, useState as useState24 } from "react";
8712
8585
 
8713
8586
  // hooks/useBreakpoint.ts
8714
- import { useState as useState24, useEffect as useEffect17 } from "react";
8587
+ import { useState as useState23, useEffect as useEffect16 } from "react";
8715
8588
  var useBreakpoint = () => {
8716
- const [breakpoint, setBreakpoint] = useState24(null);
8717
- useEffect17(() => {
8589
+ const [breakpoint, setBreakpoint] = useState23(null);
8590
+ useEffect16(() => {
8718
8591
  if (typeof window !== "undefined") {
8719
8592
  const resize = () => {
8720
8593
  setBreakpoint(window.innerWidth);
@@ -8730,13 +8603,13 @@ var useBreakpoint = () => {
8730
8603
  };
8731
8604
 
8732
8605
  // layout/docsSidebar/DocsSidebar.tsx
8733
- import React71 from "react";
8606
+ import React70 from "react";
8734
8607
  var DocsSidebar = ({
8735
8608
  currentPage: propCurrentPage,
8736
8609
  pages,
8737
8610
  direction
8738
8611
  }) => {
8739
- const [activePage, setActivePage] = React71.useState(pages[0]);
8612
+ const [activePage, setActivePage] = React70.useState(pages[0]);
8740
8613
  const handlePageClick = (page, event) => {
8741
8614
  event.preventDefault();
8742
8615
  setTimeout(() => {
@@ -8758,7 +8631,7 @@ var DocsSidebar = ({
8758
8631
  }
8759
8632
  return pages[0];
8760
8633
  };
8761
- React71.useEffect(() => {
8634
+ React70.useEffect(() => {
8762
8635
  const handleScroll = () => {
8763
8636
  setActivePage(getCurrentSection());
8764
8637
  };
@@ -8771,13 +8644,13 @@ var DocsSidebar = ({
8771
8644
  rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
8772
8645
  ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
8773
8646
  };
8774
- return /* @__PURE__ */ React71.createElement(
8647
+ return /* @__PURE__ */ React70.createElement(
8775
8648
  "div",
8776
8649
  {
8777
8650
  className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
8778
8651
  dir: direction
8779
8652
  },
8780
- pages.map((page, index) => /* @__PURE__ */ React71.createElement(
8653
+ pages.map((page, index) => /* @__PURE__ */ React70.createElement(
8781
8654
  "div",
8782
8655
  {
8783
8656
  key: index,
@@ -8823,9 +8696,9 @@ var DocsLayout = ({
8823
8696
  if (typeof window == "undefined") {
8824
8697
  size = 1200;
8825
8698
  }
8826
- const [currentPage, setCurrentPage] = useState25("Introduction");
8827
- const [openSideMenu, setOpenSideMenu] = useState25(true);
8828
- useEffect18(() => {
8699
+ const [currentPage, setCurrentPage] = useState24("Introduction");
8700
+ const [openSideMenu, setOpenSideMenu] = useState24(true);
8701
+ useEffect17(() => {
8829
8702
  const handleClickOutside = (event) => {
8830
8703
  if (ref.current && !ref.current.contains(event.target) && !openSideMenu) {
8831
8704
  setOpenSideMenu(false);
@@ -8836,7 +8709,7 @@ var DocsLayout = ({
8836
8709
  document.removeEventListener("click", handleClickOutside, true);
8837
8710
  };
8838
8711
  }, [openSideMenu]);
8839
- useEffect18(() => {
8712
+ useEffect17(() => {
8840
8713
  const handleResize = () => {
8841
8714
  setOpenSideMenu(window.innerWidth > 600 ? true : false);
8842
8715
  };
@@ -8846,19 +8719,19 @@ var DocsLayout = ({
8846
8719
  window.removeEventListener("resize", handleResize);
8847
8720
  };
8848
8721
  }, [keepOpen]);
8849
- const observerRef = React72.useRef(null);
8722
+ const observerRef = React71.useRef(null);
8850
8723
  const handleIntersection = (entries) => {
8851
8724
  const entry = entries.find((entry2) => entry2.isIntersecting);
8852
8725
  if (entry) {
8853
8726
  setCurrentPage(entry.target.id);
8854
8727
  }
8855
8728
  };
8856
- useEffect18(() => {
8729
+ useEffect17(() => {
8857
8730
  observerRef.current = new IntersectionObserver(handleIntersection, {
8858
8731
  threshold: 0.5
8859
8732
  // Adjust threshold as needed to determine when a section is in view
8860
8733
  });
8861
- React72.Children.forEach(props.children, (child) => {
8734
+ React71.Children.forEach(props.children, (child) => {
8862
8735
  if (child && child.props.id) {
8863
8736
  const element = document.getElementById(child.props.id);
8864
8737
  if (element && observerRef.current) {
@@ -8873,7 +8746,7 @@ var DocsLayout = ({
8873
8746
  };
8874
8747
  }, [props.children]);
8875
8748
  let drawerSizeCondition = drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize];
8876
- return /* @__PURE__ */ React72.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React72.createElement(
8749
+ return /* @__PURE__ */ React71.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React71.createElement(
8877
8750
  "div",
8878
8751
  {
8879
8752
  className: cn(
@@ -8881,7 +8754,7 @@ var DocsLayout = ({
8881
8754
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8882
8755
  )
8883
8756
  },
8884
- size > 600 ? /* @__PURE__ */ React72.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React72.createElement(
8757
+ size > 600 ? /* @__PURE__ */ React71.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React71.createElement(
8885
8758
  "img",
8886
8759
  {
8887
8760
  className: cn(
@@ -8892,18 +8765,18 @@ var DocsLayout = ({
8892
8765
  }
8893
8766
  )) : (
8894
8767
  // Mobile Drawer Menu Button
8895
- /* @__PURE__ */ React72.createElement(
8768
+ /* @__PURE__ */ React71.createElement(
8896
8769
  "div",
8897
8770
  {
8898
8771
  dir: direction,
8899
8772
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
8900
8773
  },
8901
- /* @__PURE__ */ React72.createElement(Sheet, null, /* @__PURE__ */ React72.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React72.createElement(
8774
+ /* @__PURE__ */ React71.createElement(Sheet, null, /* @__PURE__ */ React71.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React71.createElement(
8902
8775
  "div",
8903
8776
  {
8904
8777
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
8905
8778
  },
8906
- /* @__PURE__ */ React72.createElement(
8779
+ /* @__PURE__ */ React71.createElement(
8907
8780
  "svg",
8908
8781
  {
8909
8782
  "aria-label": "Menu Icon",
@@ -8915,7 +8788,7 @@ var DocsLayout = ({
8915
8788
  height: "1.6em",
8916
8789
  width: "1.6em"
8917
8790
  },
8918
- /* @__PURE__ */ React72.createElement(
8791
+ /* @__PURE__ */ React71.createElement(
8919
8792
  "path",
8920
8793
  {
8921
8794
  fillRule: "evenodd",
@@ -8924,17 +8797,17 @@ var DocsLayout = ({
8924
8797
  }
8925
8798
  )
8926
8799
  )
8927
- )), /* @__PURE__ */ React72.createElement(
8800
+ )), /* @__PURE__ */ React71.createElement(
8928
8801
  SheetContent,
8929
8802
  {
8930
8803
  side: isRTL ? "right" : "left",
8931
8804
  className: "hawa-pt-10"
8932
8805
  },
8933
- /* @__PURE__ */ React72.createElement(DocsSidebar, { direction, pages: pages || [] })
8806
+ /* @__PURE__ */ React71.createElement(DocsSidebar, { direction, pages: pages || [] })
8934
8807
  ))
8935
8808
  )
8936
8809
  ),
8937
- /* @__PURE__ */ React72.createElement(
8810
+ /* @__PURE__ */ React71.createElement(
8938
8811
  "div",
8939
8812
  {
8940
8813
  className: cn(
@@ -8942,9 +8815,9 @@ var DocsLayout = ({
8942
8815
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8943
8816
  )
8944
8817
  },
8945
- /* @__PURE__ */ React72.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React72.createElement(Logos.github, { className: "hawa-icon" }))
8818
+ /* @__PURE__ */ React71.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React71.createElement(Logos.github, { className: "hawa-icon" }))
8946
8819
  )
8947
- ), /* @__PURE__ */ React72.createElement(
8820
+ ), /* @__PURE__ */ React71.createElement(
8948
8821
  "div",
8949
8822
  {
8950
8823
  className: cn(
@@ -8967,7 +8840,7 @@ var DocsLayout = ({
8967
8840
  },
8968
8841
  ref
8969
8842
  },
8970
- /* @__PURE__ */ React72.createElement(
8843
+ /* @__PURE__ */ React71.createElement(
8971
8844
  DocsSidebar,
8972
8845
  {
8973
8846
  direction,
@@ -8975,7 +8848,7 @@ var DocsLayout = ({
8975
8848
  currentPage
8976
8849
  }
8977
8850
  )
8978
- ), /* @__PURE__ */ React72.createElement(
8851
+ ), /* @__PURE__ */ React71.createElement(
8979
8852
  "div",
8980
8853
  {
8981
8854
  className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all ",
@@ -8997,17 +8870,17 @@ var DocsLayout = ({
8997
8870
  };
8998
8871
 
8999
8872
  // blocks/auth/LoginForm.tsx
9000
- import React74, { useState as useState26 } from "react";
8873
+ import React73, { useState as useState25 } from "react";
9001
8874
  import { Controller, useForm } from "react-hook-form";
9002
8875
  import { zodResolver } from "@hookform/resolvers/zod";
9003
8876
  import { parsePhoneNumber } from "libphonenumber-js";
9004
8877
  import * as z from "zod";
9005
8878
 
9006
8879
  // blocks/auth/AuthButtons.tsx
9007
- import React73 from "react";
8880
+ import React72 from "react";
9008
8881
  var AuthButtons = (props) => {
9009
8882
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
9010
- return /* @__PURE__ */ React73.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React73.createElement(
8883
+ return /* @__PURE__ */ React72.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React72.createElement(
9011
8884
  Button,
9012
8885
  {
9013
8886
  disabled: props.isGoogleLoading,
@@ -9015,9 +8888,9 @@ var AuthButtons = (props) => {
9015
8888
  variant: "outline",
9016
8889
  onClick: props.handleGoogle
9017
8890
  },
9018
- props.isGoogleLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.google, { className: "hawa-icon" }),
8891
+ props.isGoogleLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.google, { className: "hawa-icon" }),
9019
8892
  (_b = (_a = props.texts) == null ? void 0 : _a.continueWithGoogle) != null ? _b : "Continue With Google"
9020
- ), props.viaGithub && /* @__PURE__ */ React73.createElement(
8893
+ ), props.viaGithub && /* @__PURE__ */ React72.createElement(
9021
8894
  Button,
9022
8895
  {
9023
8896
  disabled: props.isGithubLoading,
@@ -9025,9 +8898,9 @@ var AuthButtons = (props) => {
9025
8898
  variant: "outline",
9026
8899
  onClick: props.handleGithub
9027
8900
  },
9028
- props.isGithubLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.github, { className: "hawa-icon" }),
8901
+ props.isGithubLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.github, { className: "hawa-icon" }),
9029
8902
  (_d = (_c = props.texts) == null ? void 0 : _c.continueWithGithub) != null ? _d : "Continue With Github"
9030
- ), props.viaTwitter && /* @__PURE__ */ React73.createElement(
8903
+ ), props.viaTwitter && /* @__PURE__ */ React72.createElement(
9031
8904
  Button,
9032
8905
  {
9033
8906
  disabled: props.isTwitterLoading,
@@ -9035,9 +8908,9 @@ var AuthButtons = (props) => {
9035
8908
  variant: "outline",
9036
8909
  onClick: props.handleTwitter
9037
8910
  },
9038
- props.isTwitterLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.twitter, { className: "hawa-icon" }),
8911
+ props.isTwitterLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.twitter, { className: "hawa-icon" }),
9039
8912
  (_f = (_e = props.texts) == null ? void 0 : _e.continueWithTwitter) != null ? _f : "Continue With Twitter"
9040
- ), props.viaApple && /* @__PURE__ */ React73.createElement(
8913
+ ), props.viaApple && /* @__PURE__ */ React72.createElement(
9041
8914
  Button,
9042
8915
  {
9043
8916
  disabled: props.isAppleLoading,
@@ -9045,9 +8918,9 @@ var AuthButtons = (props) => {
9045
8918
  variant: "outline",
9046
8919
  onClick: props.handleApple
9047
8920
  },
9048
- props.isAppleLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.apple, { className: "hawa-icon" }),
8921
+ props.isAppleLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.apple, { className: "hawa-icon" }),
9049
8922
  (_h = (_g = props.texts) == null ? void 0 : _g.continueWithApple) != null ? _h : "Continue With Apple"
9050
- ), props.viaMicrosoft && /* @__PURE__ */ React73.createElement(
8923
+ ), props.viaMicrosoft && /* @__PURE__ */ React72.createElement(
9051
8924
  Button,
9052
8925
  {
9053
8926
  disabled: props.isMicrosoftLoading,
@@ -9055,9 +8928,9 @@ var AuthButtons = (props) => {
9055
8928
  variant: "outline",
9056
8929
  onClick: props.handleMicrosoft
9057
8930
  },
9058
- props.isMicrosoftLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.microsoft, { className: "hawa-icon" }),
8931
+ props.isMicrosoftLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.microsoft, { className: "hawa-icon" }),
9059
8932
  (_j = (_i = props.texts) == null ? void 0 : _i.continueWithMicrosoft) != null ? _j : "Continue With Microsoft"
9060
- ), props.viaEmail && /* @__PURE__ */ React73.createElement(
8933
+ ), props.viaEmail && /* @__PURE__ */ React72.createElement(
9061
8934
  Button,
9062
8935
  {
9063
8936
  disabled: props.isEmailLoading,
@@ -9065,9 +8938,9 @@ var AuthButtons = (props) => {
9065
8938
  variant: "outline",
9066
8939
  onClick: props.handleEmail
9067
8940
  },
9068
- props.isEmailLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.mail, { className: "hawa-icon" }),
8941
+ props.isEmailLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.mail, { className: "hawa-icon" }),
9069
8942
  (_l = (_k = props.texts) == null ? void 0 : _k.continueWithEmail) != null ? _l : "Continue With Email"
9070
- ), props.viaPhone && /* @__PURE__ */ React73.createElement(
8943
+ ), props.viaPhone && /* @__PURE__ */ React72.createElement(
9071
8944
  Button,
9072
8945
  {
9073
8946
  disabled: props.isPhoneLoading,
@@ -9075,7 +8948,7 @@ var AuthButtons = (props) => {
9075
8948
  variant: "outline",
9076
8949
  onClick: props.handlePhone
9077
8950
  },
9078
- props.isPhoneLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.phone, { className: "hawa-icon" }),
8951
+ props.isPhoneLoading ? /* @__PURE__ */ React72.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React72.createElement(Logos.phone, { className: "hawa-icon" }),
9079
8952
  (_n = (_m = props.texts) == null ? void 0 : _m.continueWithPhone) != null ? _n : "Continue With Phone"
9080
8953
  ));
9081
8954
  };
@@ -9088,7 +8961,7 @@ var LoginForm = ({
9088
8961
  ...props
9089
8962
  }) => {
9090
8963
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
9091
- const [passwordVisible, setPasswordVisible] = useState26(false);
8964
+ const [passwordVisible, setPasswordVisible] = useState25(false);
9092
8965
  const thirdPartyAuthTexts = {
9093
8966
  continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
9094
8967
  continueWithTwitter: texts == null ? void 0 : texts.continueWithTwitter,
@@ -9138,14 +9011,14 @@ var LoginForm = ({
9138
9011
  const renderFields = () => {
9139
9012
  switch (loginType) {
9140
9013
  case "email":
9141
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9014
+ return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(
9142
9015
  Controller,
9143
9016
  {
9144
9017
  control,
9145
9018
  name: "email",
9146
9019
  render: ({ field }) => {
9147
9020
  var _a2, _b2, _c2;
9148
- return /* @__PURE__ */ React74.createElement(
9021
+ return /* @__PURE__ */ React73.createElement(
9149
9022
  Input,
9150
9023
  {
9151
9024
  inputProps: {
@@ -9162,27 +9035,27 @@ var LoginForm = ({
9162
9035
  );
9163
9036
  }
9164
9037
  }
9165
- ), /* @__PURE__ */ React74.createElement("div", null, /* @__PURE__ */ React74.createElement(
9038
+ ), /* @__PURE__ */ React73.createElement("div", null, /* @__PURE__ */ React73.createElement(
9166
9039
  Controller,
9167
9040
  {
9168
9041
  control,
9169
9042
  name: "password",
9170
9043
  render: ({ field }) => {
9171
9044
  var _a2, _b2, _c2;
9172
- return /* @__PURE__ */ React74.createElement(
9045
+ return /* @__PURE__ */ React73.createElement(
9173
9046
  Input,
9174
9047
  {
9175
9048
  width: "full",
9176
9049
  autoComplete: "current-password",
9177
9050
  type: passwordVisible ? "text" : "password",
9178
9051
  label: ((_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label) || "Password",
9179
- endIcon: /* @__PURE__ */ React74.createElement(
9052
+ endIcon: /* @__PURE__ */ React73.createElement(
9180
9053
  "div",
9181
9054
  {
9182
9055
  className: "hawa-cursor-pointer",
9183
9056
  onClick: () => setPasswordVisible(!passwordVisible)
9184
9057
  },
9185
- passwordVisible ? /* @__PURE__ */ React74.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React74.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9058
+ passwordVisible ? /* @__PURE__ */ React73.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React73.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9186
9059
  ),
9187
9060
  placeholder: ((_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder) || "Enter your password",
9188
9061
  helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
@@ -9191,7 +9064,7 @@ var LoginForm = ({
9191
9064
  );
9192
9065
  }
9193
9066
  }
9194
- ), !props.withoutResetPassword && /* @__PURE__ */ React74.createElement(
9067
+ ), !props.withoutResetPassword && /* @__PURE__ */ React73.createElement(
9195
9068
  "div",
9196
9069
  {
9197
9070
  onClick: props.onForgotPassword,
@@ -9200,14 +9073,14 @@ var LoginForm = ({
9200
9073
  (texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
9201
9074
  )));
9202
9075
  case "username":
9203
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9076
+ return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(
9204
9077
  Controller,
9205
9078
  {
9206
9079
  control,
9207
9080
  name: "username",
9208
9081
  render: ({ field }) => {
9209
9082
  var _a2, _b2, _c2;
9210
- return /* @__PURE__ */ React74.createElement(
9083
+ return /* @__PURE__ */ React73.createElement(
9211
9084
  Input,
9212
9085
  {
9213
9086
  width: "full",
@@ -9220,27 +9093,27 @@ var LoginForm = ({
9220
9093
  );
9221
9094
  }
9222
9095
  }
9223
- ), /* @__PURE__ */ React74.createElement("div", null, /* @__PURE__ */ React74.createElement(
9096
+ ), /* @__PURE__ */ React73.createElement("div", null, /* @__PURE__ */ React73.createElement(
9224
9097
  Controller,
9225
9098
  {
9226
9099
  control,
9227
9100
  name: "password",
9228
9101
  render: ({ field }) => {
9229
9102
  var _a2, _b2, _c2;
9230
- return /* @__PURE__ */ React74.createElement(
9103
+ return /* @__PURE__ */ React73.createElement(
9231
9104
  Input,
9232
9105
  {
9233
9106
  width: "full",
9234
9107
  autoComplete: "current-password",
9235
9108
  type: passwordVisible ? "text" : "password",
9236
9109
  label: (_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label,
9237
- endIcon: /* @__PURE__ */ React74.createElement(
9110
+ endIcon: /* @__PURE__ */ React73.createElement(
9238
9111
  "div",
9239
9112
  {
9240
9113
  className: "hawa-cursor-pointer",
9241
9114
  onClick: () => setPasswordVisible(!passwordVisible)
9242
9115
  },
9243
- passwordVisible ? /* @__PURE__ */ React74.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React74.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9116
+ passwordVisible ? /* @__PURE__ */ React73.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React73.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9244
9117
  ),
9245
9118
  placeholder: ((_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder) || "Enter your password",
9246
9119
  helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
@@ -9249,7 +9122,7 @@ var LoginForm = ({
9249
9122
  );
9250
9123
  }
9251
9124
  }
9252
- ), !props.withoutResetPassword && /* @__PURE__ */ React74.createElement(
9125
+ ), !props.withoutResetPassword && /* @__PURE__ */ React73.createElement(
9253
9126
  "div",
9254
9127
  {
9255
9128
  onClick: props.onForgotPassword,
@@ -9258,14 +9131,14 @@ var LoginForm = ({
9258
9131
  (texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
9259
9132
  )));
9260
9133
  case "phone":
9261
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9134
+ return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(
9262
9135
  Controller,
9263
9136
  {
9264
9137
  control,
9265
9138
  name: "phone",
9266
9139
  render: ({ field }) => {
9267
9140
  var _a2, _b2;
9268
- return /* @__PURE__ */ React74.createElement(
9141
+ return /* @__PURE__ */ React73.createElement(
9269
9142
  PhoneInput,
9270
9143
  {
9271
9144
  label: (_a2 = texts == null ? void 0 : texts.phone) == null ? void 0 : _a2.label,
@@ -9278,14 +9151,14 @@ var LoginForm = ({
9278
9151
  }
9279
9152
  ));
9280
9153
  case "link":
9281
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9154
+ return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(
9282
9155
  Controller,
9283
9156
  {
9284
9157
  control,
9285
9158
  name: "email",
9286
9159
  render: ({ field }) => {
9287
9160
  var _a2, _b2, _c2;
9288
- return /* @__PURE__ */ React74.createElement(
9161
+ return /* @__PURE__ */ React73.createElement(
9289
9162
  Input,
9290
9163
  {
9291
9164
  width: "full",
@@ -9303,7 +9176,7 @@ var LoginForm = ({
9303
9176
  break;
9304
9177
  }
9305
9178
  };
9306
- 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(
9179
+ 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(
9307
9180
  Alert,
9308
9181
  {
9309
9182
  direction: props.direction,
@@ -9311,7 +9184,7 @@ var LoginForm = ({
9311
9184
  text: props.errorText,
9312
9185
  severity: "error"
9313
9186
  }
9314
- ), /* @__PURE__ */ React74.createElement(
9187
+ ), /* @__PURE__ */ React73.createElement(
9315
9188
  "form",
9316
9189
  {
9317
9190
  noValidate: true,
@@ -9325,7 +9198,7 @@ var LoginForm = ({
9325
9198
  })
9326
9199
  },
9327
9200
  renderFields(),
9328
- /* @__PURE__ */ React74.createElement(
9201
+ /* @__PURE__ */ React73.createElement(
9329
9202
  Button,
9330
9203
  {
9331
9204
  className: "hawa-mt-0 hawa-w-full",
@@ -9336,7 +9209,7 @@ var LoginForm = ({
9336
9209
  (texts == null ? void 0 : texts.loginText) || "Login"
9337
9210
  ),
9338
9211
  props.additionalButtons,
9339
- 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(
9212
+ 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(
9340
9213
  "span",
9341
9214
  {
9342
9215
  onClick: props.onRouteToRegister,
@@ -9344,14 +9217,14 @@ var LoginForm = ({
9344
9217
  },
9345
9218
  (texts == null ? void 0 : texts.createAccount) || "Create Account"
9346
9219
  ))
9347
- )), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React74.createElement(
9220
+ )), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React73.createElement(
9348
9221
  CardFooter,
9349
9222
  {
9350
9223
  className: cn(
9351
9224
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
9352
9225
  )
9353
9226
  },
9354
- /* @__PURE__ */ React74.createElement(
9227
+ /* @__PURE__ */ React73.createElement(
9355
9228
  AuthButtons,
9356
9229
  {
9357
9230
  texts: thirdPartyAuthTexts,
@@ -9370,7 +9243,7 @@ var LoginForm = ({
9370
9243
  };
9371
9244
 
9372
9245
  // blocks/auth/RegisterForm.tsx
9373
- import React75, { useState as useState27 } from "react";
9246
+ import React74, { useState as useState26 } from "react";
9374
9247
  import { Controller as Controller2, FormProvider, useForm as useForm2 } from "react-hook-form";
9375
9248
  import { zodResolver as zodResolver2 } from "@hookform/resolvers/zod";
9376
9249
  import * as z2 from "zod";
@@ -9380,7 +9253,7 @@ var RegisterForm = ({
9380
9253
  ...props
9381
9254
  }) => {
9382
9255
  var _a, _b, _c, _d, _e, _f;
9383
- const [passwordVisible, setPasswordVisible] = useState27(false);
9256
+ const [passwordVisible, setPasswordVisible] = useState26(false);
9384
9257
  const thirdPartyAuthTexts = {
9385
9258
  continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
9386
9259
  continueWithTwitter: texts == null ? void 0 : texts.continueWithTwitter,
@@ -9431,14 +9304,14 @@ var RegisterForm = ({
9431
9304
  const { handleSubmit, control, formState } = useForm2({
9432
9305
  resolver: zodResolver2(formSchema)
9433
9306
  });
9434
- return /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React75.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React75.createElement(CardContent, { headless: true }, /* @__PURE__ */ React75.createElement("div", null, props.showError && /* @__PURE__ */ React75.createElement(
9307
+ 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 }, /* @__PURE__ */ React74.createElement("div", null, props.showError && /* @__PURE__ */ React74.createElement(
9435
9308
  Alert,
9436
9309
  {
9437
9310
  title: props.errorTitle,
9438
9311
  text: props.errorText,
9439
9312
  severity: "error"
9440
9313
  }
9441
- ), /* @__PURE__ */ React75.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React75.createElement(
9314
+ ), /* @__PURE__ */ React74.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React74.createElement(
9442
9315
  "form",
9443
9316
  {
9444
9317
  noValidate: true,
@@ -9453,9 +9326,9 @@ var RegisterForm = ({
9453
9326
  }),
9454
9327
  className: "hawa-flex hawa-flex-col hawa-gap-4"
9455
9328
  },
9456
- /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
9329
+ /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
9457
9330
  if (fld === "fullname") {
9458
- return /* @__PURE__ */ React75.createElement(
9331
+ return /* @__PURE__ */ React74.createElement(
9459
9332
  Controller2,
9460
9333
  {
9461
9334
  key: i,
@@ -9463,7 +9336,7 @@ var RegisterForm = ({
9463
9336
  name: "fullName",
9464
9337
  render: ({ field }) => {
9465
9338
  var _a2, _b2, _c2;
9466
- return /* @__PURE__ */ React75.createElement(
9339
+ return /* @__PURE__ */ React74.createElement(
9467
9340
  Input,
9468
9341
  {
9469
9342
  width: "full",
@@ -9478,7 +9351,7 @@ var RegisterForm = ({
9478
9351
  );
9479
9352
  }
9480
9353
  if (fld === "email") {
9481
- return /* @__PURE__ */ React75.createElement(
9354
+ return /* @__PURE__ */ React74.createElement(
9482
9355
  Controller2,
9483
9356
  {
9484
9357
  key: i,
@@ -9486,7 +9359,7 @@ var RegisterForm = ({
9486
9359
  name: "email",
9487
9360
  render: ({ field }) => {
9488
9361
  var _a2, _b2, _c2;
9489
- return /* @__PURE__ */ React75.createElement(
9362
+ return /* @__PURE__ */ React74.createElement(
9490
9363
  Input,
9491
9364
  {
9492
9365
  dir: "ltr",
@@ -9506,7 +9379,7 @@ var RegisterForm = ({
9506
9379
  );
9507
9380
  }
9508
9381
  if (fld === "username") {
9509
- return /* @__PURE__ */ React75.createElement(
9382
+ return /* @__PURE__ */ React74.createElement(
9510
9383
  Controller2,
9511
9384
  {
9512
9385
  key: i,
@@ -9514,7 +9387,7 @@ var RegisterForm = ({
9514
9387
  name: "username",
9515
9388
  render: ({ field }) => {
9516
9389
  var _a2, _b2, _c2;
9517
- return /* @__PURE__ */ React75.createElement(
9390
+ return /* @__PURE__ */ React74.createElement(
9518
9391
  Input,
9519
9392
  {
9520
9393
  width: "full",
@@ -9530,25 +9403,25 @@ var RegisterForm = ({
9530
9403
  );
9531
9404
  }
9532
9405
  })),
9533
- /* @__PURE__ */ React75.createElement(
9406
+ /* @__PURE__ */ React74.createElement(
9534
9407
  Controller2,
9535
9408
  {
9536
9409
  control,
9537
9410
  name: "password",
9538
9411
  render: ({ field }) => {
9539
9412
  var _a2, _b2, _c2;
9540
- return /* @__PURE__ */ React75.createElement(
9413
+ return /* @__PURE__ */ React74.createElement(
9541
9414
  Input,
9542
9415
  {
9543
9416
  width: "full",
9544
9417
  type: passwordVisible ? "text" : "password",
9545
- endIcon: /* @__PURE__ */ React75.createElement(
9418
+ endIcon: /* @__PURE__ */ React74.createElement(
9546
9419
  "div",
9547
9420
  {
9548
9421
  className: "hawa-cursor-pointer",
9549
9422
  onClick: () => setPasswordVisible(!passwordVisible)
9550
9423
  },
9551
- passwordVisible ? /* @__PURE__ */ React75.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React75.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
9424
+ passwordVisible ? /* @__PURE__ */ React74.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React74.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
9552
9425
  " "
9553
9426
  ),
9554
9427
  autoComplete: "new-password",
@@ -9561,14 +9434,14 @@ var RegisterForm = ({
9561
9434
  }
9562
9435
  }
9563
9436
  ),
9564
- /* @__PURE__ */ React75.createElement(
9437
+ /* @__PURE__ */ React74.createElement(
9565
9438
  Controller2,
9566
9439
  {
9567
9440
  control,
9568
9441
  name: "confirm_password",
9569
9442
  render: ({ field }) => {
9570
9443
  var _a2, _b2, _c2;
9571
- return /* @__PURE__ */ React75.createElement(
9444
+ return /* @__PURE__ */ React74.createElement(
9572
9445
  Input,
9573
9446
  {
9574
9447
  width: "full",
@@ -9584,14 +9457,14 @@ var RegisterForm = ({
9584
9457
  }
9585
9458
  ),
9586
9459
  props.additionalInputs,
9587
- props.showRefCode && /* @__PURE__ */ React75.createElement(
9460
+ props.showRefCode && /* @__PURE__ */ React74.createElement(
9588
9461
  Controller2,
9589
9462
  {
9590
9463
  control,
9591
9464
  name: "refCode",
9592
9465
  render: ({ field }) => {
9593
9466
  var _a2;
9594
- return /* @__PURE__ */ React75.createElement(
9467
+ return /* @__PURE__ */ React74.createElement(
9595
9468
  Input,
9596
9469
  {
9597
9470
  width: "full",
@@ -9604,14 +9477,14 @@ var RegisterForm = ({
9604
9477
  }
9605
9478
  }
9606
9479
  ),
9607
- props.showUserSource && /* @__PURE__ */ React75.createElement(
9480
+ props.showUserSource && /* @__PURE__ */ React74.createElement(
9608
9481
  Controller2,
9609
9482
  {
9610
9483
  control,
9611
9484
  name: "reference",
9612
9485
  render: ({ field }) => {
9613
9486
  var _a2, _b2;
9614
- return /* @__PURE__ */ React75.createElement(
9487
+ return /* @__PURE__ */ React74.createElement(
9615
9488
  Select,
9616
9489
  {
9617
9490
  label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
@@ -9629,20 +9502,20 @@ var RegisterForm = ({
9629
9502
  }
9630
9503
  }
9631
9504
  ),
9632
- /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, props.showTermsOption && /* @__PURE__ */ React75.createElement(
9505
+ /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, props.showTermsOption && /* @__PURE__ */ React74.createElement(
9633
9506
  Controller2,
9634
9507
  {
9635
9508
  control,
9636
9509
  name: "terms_accepted",
9637
9510
  render: ({ field }) => {
9638
9511
  var _a2, _b2;
9639
- return /* @__PURE__ */ React75.createElement(
9512
+ return /* @__PURE__ */ React74.createElement(
9640
9513
  Checkbox,
9641
9514
  {
9642
9515
  id: "terms_accepted",
9643
9516
  helperText: (_b2 = (_a2 = formState.errors.terms_accepted) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString(),
9644
9517
  onCheckedChange: (e) => field.onChange(e),
9645
- label: /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5" }, /* @__PURE__ */ React75.createElement("span", null, texts == null ? void 0 : texts.iAcceptText), " ", /* @__PURE__ */ React75.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React75.createElement(
9518
+ label: /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5" }, /* @__PURE__ */ React74.createElement("span", null, texts == null ? void 0 : texts.iAcceptText), " ", /* @__PURE__ */ React74.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React74.createElement(
9646
9519
  "a",
9647
9520
  {
9648
9521
  onClick: props.onRouteToTOS,
@@ -9654,12 +9527,12 @@ var RegisterForm = ({
9654
9527
  );
9655
9528
  }
9656
9529
  }
9657
- ), props.showNewsletterOption && /* @__PURE__ */ React75.createElement(
9530
+ ), props.showNewsletterOption && /* @__PURE__ */ React74.createElement(
9658
9531
  Controller2,
9659
9532
  {
9660
9533
  control,
9661
9534
  name: "newsletter_accepted",
9662
- render: ({ field }) => /* @__PURE__ */ React75.createElement(
9535
+ render: ({ field }) => /* @__PURE__ */ React74.createElement(
9663
9536
  Checkbox,
9664
9537
  {
9665
9538
  id: "newsletter_accepted",
@@ -9669,7 +9542,7 @@ var RegisterForm = ({
9669
9542
  )
9670
9543
  }
9671
9544
  )),
9672
- /* @__PURE__ */ React75.createElement(
9545
+ /* @__PURE__ */ React74.createElement(
9673
9546
  Button,
9674
9547
  {
9675
9548
  className: "hawa-mt-4 hawa-w-full",
@@ -9680,14 +9553,14 @@ var RegisterForm = ({
9680
9553
  (texts == null ? void 0 : texts.registerText) || "Register"
9681
9554
  ),
9682
9555
  props.additionalButtons
9683
- )), /* @__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), /* @__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(
9556
+ )), /* @__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), /* @__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(
9684
9557
  CardFooter,
9685
9558
  {
9686
9559
  className: cn(
9687
9560
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
9688
9561
  )
9689
9562
  },
9690
- /* @__PURE__ */ React75.createElement(
9563
+ /* @__PURE__ */ React74.createElement(
9691
9564
  AuthButtons,
9692
9565
  {
9693
9566
  texts: thirdPartyAuthTexts,
@@ -9706,7 +9579,7 @@ var RegisterForm = ({
9706
9579
  };
9707
9580
 
9708
9581
  // blocks/auth/AppLanding.tsx
9709
- import React76 from "react";
9582
+ import React75 from "react";
9710
9583
  var AppLanding = ({ texts, ...props }) => {
9711
9584
  const thirdPartyAuthTexts = {
9712
9585
  continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
@@ -9717,7 +9590,7 @@ var AppLanding = ({ texts, ...props }) => {
9717
9590
  continueWithEmail: texts == null ? void 0 : texts.continueWithEmail,
9718
9591
  continueWithPhone: texts == null ? void 0 : texts.continueWithPhone
9719
9592
  };
9720
- 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(
9593
+ 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(
9721
9594
  AuthButtons,
9722
9595
  {
9723
9596
  texts: thirdPartyAuthTexts,
@@ -9736,7 +9609,7 @@ var AppLanding = ({ texts, ...props }) => {
9736
9609
  handleEmail: props.handleEmail,
9737
9610
  handlePhone: props.handlePhone
9738
9611
  }
9739
- ), 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(
9612
+ ), 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(
9740
9613
  "span",
9741
9614
  {
9742
9615
  onClick: props.handleRouteToRegister,
@@ -9747,9 +9620,9 @@ var AppLanding = ({ texts, ...props }) => {
9747
9620
  };
9748
9621
 
9749
9622
  // blocks/auth/CheckEmail.tsx
9750
- import React77 from "react";
9623
+ import React76 from "react";
9751
9624
  var CheckEmail = ({ texts, handleResend }) => {
9752
- 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(
9625
+ 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(
9753
9626
  "svg",
9754
9627
  {
9755
9628
  stroke: "currentColor",
@@ -9762,13 +9635,13 @@ var CheckEmail = ({ texts, handleResend }) => {
9762
9635
  width: "0.5em",
9763
9636
  xmlns: "http://www.w3.org/2000/svg"
9764
9637
  },
9765
- /* @__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" }),
9766
- /* @__PURE__ */ React77.createElement("polyline", { points: "22,6 12,13 2,6" })
9767
- )), /* @__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")));
9638
+ /* @__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" }),
9639
+ /* @__PURE__ */ React76.createElement("polyline", { points: "22,6 12,13 2,6" })
9640
+ )), /* @__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")));
9768
9641
  };
9769
9642
 
9770
9643
  // blocks/auth/NewPassword.tsx
9771
- import React78, { useState as useState28 } from "react";
9644
+ import React77, { useState as useState27 } from "react";
9772
9645
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
9773
9646
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
9774
9647
  import * as z3 from "zod";
@@ -9786,8 +9659,8 @@ var NewPasswordForm = ({ texts, ...props }) => {
9786
9659
  const { handleSubmit, control, formState } = useForm3({
9787
9660
  resolver: zodResolver3(formSchema)
9788
9661
  });
9789
- const [matchError, setMatchError] = useState28(false);
9790
- 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(
9662
+ const [matchError, setMatchError] = useState27(false);
9663
+ 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(
9791
9664
  "form",
9792
9665
  {
9793
9666
  noValidate: true,
@@ -9801,21 +9674,21 @@ var NewPasswordForm = ({ texts, ...props }) => {
9801
9674
  }
9802
9675
  })
9803
9676
  },
9804
- !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")),
9805
- /* @__PURE__ */ React78.createElement(
9677
+ !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")),
9678
+ /* @__PURE__ */ React77.createElement(
9806
9679
  CardContent,
9807
9680
  {
9808
9681
  headless: props.headless,
9809
9682
  className: "hawa-flex hawa-flex-col hawa-gap-4"
9810
9683
  },
9811
- /* @__PURE__ */ React78.createElement(
9684
+ /* @__PURE__ */ React77.createElement(
9812
9685
  Controller3,
9813
9686
  {
9814
9687
  control,
9815
9688
  name: "password",
9816
9689
  render: ({ field }) => {
9817
9690
  var _a2, _b2, _c2;
9818
- return /* @__PURE__ */ React78.createElement(
9691
+ return /* @__PURE__ */ React77.createElement(
9819
9692
  Input,
9820
9693
  {
9821
9694
  width: "full",
@@ -9830,14 +9703,14 @@ var NewPasswordForm = ({ texts, ...props }) => {
9830
9703
  }
9831
9704
  }
9832
9705
  ),
9833
- /* @__PURE__ */ React78.createElement(
9706
+ /* @__PURE__ */ React77.createElement(
9834
9707
  Controller3,
9835
9708
  {
9836
9709
  control,
9837
9710
  name: "confirm_password",
9838
9711
  render: ({ field }) => {
9839
9712
  var _a2, _b2, _c2;
9840
- return /* @__PURE__ */ React78.createElement(
9713
+ return /* @__PURE__ */ React77.createElement(
9841
9714
  Input,
9842
9715
  {
9843
9716
  width: "full",
@@ -9853,7 +9726,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
9853
9726
  }
9854
9727
  )
9855
9728
  ),
9856
- /* @__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(
9729
+ /* @__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(
9857
9730
  "span",
9858
9731
  {
9859
9732
  className: "clickable-link",
@@ -9865,7 +9738,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
9865
9738
  };
9866
9739
 
9867
9740
  // blocks/auth/ResetPassword.tsx
9868
- import React79 from "react";
9741
+ import React78 from "react";
9869
9742
  import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
9870
9743
  import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
9871
9744
  import * as z4 from "zod";
@@ -9877,7 +9750,7 @@ var ResetPasswordForm = (props) => {
9877
9750
  const { handleSubmit, control, formState } = useForm4({
9878
9751
  resolver: zodResolver4(formSchema)
9879
9752
  });
9880
- 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(
9753
+ 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(
9881
9754
  "form",
9882
9755
  {
9883
9756
  noValidate: true,
@@ -9889,14 +9762,14 @@ var ResetPasswordForm = (props) => {
9889
9762
  }
9890
9763
  })
9891
9764
  },
9892
- /* @__PURE__ */ React79.createElement(CardContent, { headless: props.headless }, /* @__PURE__ */ React79.createElement(
9765
+ /* @__PURE__ */ React78.createElement(CardContent, { headless: props.headless }, /* @__PURE__ */ React78.createElement(
9893
9766
  Controller4,
9894
9767
  {
9895
9768
  control,
9896
9769
  name: "email",
9897
9770
  render: ({ field }) => {
9898
9771
  var _a2, _b2, _c2, _d2, _e2;
9899
- return /* @__PURE__ */ React79.createElement(
9772
+ return /* @__PURE__ */ React78.createElement(
9900
9773
  Input,
9901
9774
  {
9902
9775
  width: "full",
@@ -9909,7 +9782,7 @@ var ResetPasswordForm = (props) => {
9909
9782
  }
9910
9783
  }
9911
9784
  )),
9912
- /* @__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), props.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(
9785
+ /* @__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), props.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(
9913
9786
  "span",
9914
9787
  {
9915
9788
  className: "clickable-link",
@@ -9917,11 +9790,11 @@ var ResetPasswordForm = (props) => {
9917
9790
  },
9918
9791
  (_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
9919
9792
  )))
9920
- )) : /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
9793
+ )) : /* @__PURE__ */ React78.createElement(CardContent, { headless: true }, /* @__PURE__ */ React78.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
9921
9794
  };
9922
9795
 
9923
9796
  // blocks/auth/CodeConfirmation.tsx
9924
- import React80, { useEffect as useEffect19, useState as useState29 } from "react";
9797
+ import React79, { useEffect as useEffect18, useState as useState28 } from "react";
9925
9798
  import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
9926
9799
  import { zodResolver as zodResolver5 } from "@hookform/resolvers/zod";
9927
9800
  import * as z5 from "zod";
@@ -9933,9 +9806,9 @@ var CodeConfirmation = (props) => {
9933
9806
  const { handleSubmit, control, formState, setValue } = useForm5({
9934
9807
  resolver: zodResolver5(formSchema)
9935
9808
  });
9936
- const [resendTimer, setResendTimer] = useState29(null);
9937
- const [remainingTime, setRemainingTime] = useState29(0);
9938
- const [showResendTimer, setShowResendTimer] = useState29(false);
9809
+ const [resendTimer, setResendTimer] = useState28(null);
9810
+ const [remainingTime, setRemainingTime] = useState28(0);
9811
+ const [showResendTimer, setShowResendTimer] = useState28(false);
9939
9812
  const startResendTimer = () => {
9940
9813
  if (resendTimer !== null) {
9941
9814
  clearInterval(resendTimer);
@@ -9957,21 +9830,21 @@ var CodeConfirmation = (props) => {
9957
9830
  }, 1e3);
9958
9831
  setResendTimer(newTimer);
9959
9832
  };
9960
- useEffect19(() => {
9833
+ useEffect18(() => {
9961
9834
  return () => {
9962
9835
  if (resendTimer !== null) {
9963
9836
  clearInterval(resendTimer);
9964
9837
  }
9965
9838
  };
9966
9839
  }, []);
9967
- return /* @__PURE__ */ React80.createElement(Card, null, /* @__PURE__ */ React80.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React80.createElement(
9840
+ return /* @__PURE__ */ React79.createElement(Card, null, /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React79.createElement(
9968
9841
  Alert,
9969
9842
  {
9970
9843
  title: props.errorTitle,
9971
9844
  text: props.errorText,
9972
9845
  severity: "error"
9973
9846
  }
9974
- ), /* @__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(
9847
+ ), /* @__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(
9975
9848
  "form",
9976
9849
  {
9977
9850
  noValidate: true,
@@ -9985,14 +9858,14 @@ var CodeConfirmation = (props) => {
9985
9858
  }
9986
9859
  })
9987
9860
  },
9988
- /* @__PURE__ */ React80.createElement(
9861
+ /* @__PURE__ */ React79.createElement(
9989
9862
  Controller5,
9990
9863
  {
9991
9864
  control,
9992
9865
  name: "otp_code",
9993
9866
  render: ({ field }) => {
9994
9867
  var _a2;
9995
- return /* @__PURE__ */ React80.createElement(
9868
+ return /* @__PURE__ */ React79.createElement(
9996
9869
  PinInput,
9997
9870
  {
9998
9871
  width: "full",
@@ -10004,7 +9877,7 @@ var CodeConfirmation = (props) => {
10004
9877
  }
10005
9878
  }
10006
9879
  ),
10007
- 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(
9880
+ 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(
10008
9881
  "span",
10009
9882
  {
10010
9883
  className: "clickable-link",
@@ -10015,12 +9888,12 @@ var CodeConfirmation = (props) => {
10015
9888
  },
10016
9889
  ((_i = props.texts) == null ? void 0 : _i.resendCode) || "Click to resend"
10017
9890
  )),
10018
- /* @__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"))
9891
+ /* @__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"))
10019
9892
  )));
10020
9893
  };
10021
9894
 
10022
9895
  // blocks/feedback/UserReferralSource.tsx
10023
- import React81, { useRef as useRef11, useState as useState30 } from "react";
9896
+ import React80, { useRef as useRef11, useState as useState29 } from "react";
10024
9897
  import { Controller as Controller6, useForm as useForm6 } from "react-hook-form";
10025
9898
  import { zodResolver as zodResolver6 } from "@hookform/resolvers/zod";
10026
9899
  import * as z6 from "zod";
@@ -10030,7 +9903,7 @@ var UserReferralSource = ({
10030
9903
  ...props
10031
9904
  }) => {
10032
9905
  var _a, _b;
10033
- const [closed, setClosed] = useState30(false);
9906
+ const [closed, setClosed] = useState29(false);
10034
9907
  const popUpRef = useRef11(null);
10035
9908
  const formSchema = z6.object({
10036
9909
  source: z6.string({ required_error: (_a = props.texts) == null ? void 0 : _a.pleaseSelectOption }),
@@ -10051,7 +9924,7 @@ var UserReferralSource = ({
10051
9924
  label: "Other"
10052
9925
  }
10053
9926
  ];
10054
- return /* @__PURE__ */ React81.createElement(
9927
+ return /* @__PURE__ */ React80.createElement(
10055
9928
  "div",
10056
9929
  {
10057
9930
  className: cn(
@@ -10060,7 +9933,7 @@ var UserReferralSource = ({
10060
9933
  ),
10061
9934
  ref: popUpRef
10062
9935
  },
10063
- /* @__PURE__ */ React81.createElement(
9936
+ /* @__PURE__ */ React80.createElement(
10064
9937
  Card,
10065
9938
  {
10066
9939
  className: cn(
@@ -10069,7 +9942,7 @@ var UserReferralSource = ({
10069
9942
  ),
10070
9943
  dir: props.direction
10071
9944
  },
10072
- /* @__PURE__ */ React81.createElement(
9945
+ /* @__PURE__ */ React80.createElement(
10073
9946
  "button",
10074
9947
  {
10075
9948
  type: "button",
@@ -10088,7 +9961,7 @@ var UserReferralSource = ({
10088
9961
  }, 200);
10089
9962
  }
10090
9963
  },
10091
- /* @__PURE__ */ React81.createElement(
9964
+ /* @__PURE__ */ React80.createElement(
10092
9965
  "svg",
10093
9966
  {
10094
9967
  "aria-hidden": "true",
@@ -10096,7 +9969,7 @@ var UserReferralSource = ({
10096
9969
  fill: "currentColor",
10097
9970
  viewBox: "0 0 20 20"
10098
9971
  },
10099
- /* @__PURE__ */ React81.createElement(
9972
+ /* @__PURE__ */ React80.createElement(
10100
9973
  "path",
10101
9974
  {
10102
9975
  fillRule: "evenodd",
@@ -10106,7 +9979,7 @@ var UserReferralSource = ({
10106
9979
  )
10107
9980
  )
10108
9981
  ),
10109
- /* @__PURE__ */ React81.createElement(CardContent, { headless: true }, /* @__PURE__ */ React81.createElement(
9982
+ /* @__PURE__ */ React80.createElement(CardContent, { headless: true }, /* @__PURE__ */ React80.createElement(
10110
9983
  "form",
10111
9984
  {
10112
9985
  noValidate: true,
@@ -10118,7 +9991,7 @@ var UserReferralSource = ({
10118
9991
  }
10119
9992
  })
10120
9993
  },
10121
- /* @__PURE__ */ React81.createElement(
9994
+ /* @__PURE__ */ React80.createElement(
10122
9995
  "div",
10123
9996
  {
10124
9997
  className: cn(
@@ -10126,15 +9999,15 @@ var UserReferralSource = ({
10126
9999
  closed ? "hawa-opacity-0" : "hawa-opacity-100"
10127
10000
  )
10128
10001
  },
10129
- /* @__PURE__ */ React81.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
10130
- /* @__PURE__ */ React81.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ React81.createElement(
10002
+ /* @__PURE__ */ React80.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
10003
+ /* @__PURE__ */ React80.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ React80.createElement(
10131
10004
  Controller6,
10132
10005
  {
10133
10006
  control,
10134
10007
  name: "source",
10135
10008
  render: ({ field }) => {
10136
10009
  var _a2, _b2;
10137
- return /* @__PURE__ */ React81.createElement(
10010
+ return /* @__PURE__ */ React80.createElement(
10138
10011
  Radio,
10139
10012
  {
10140
10013
  direction: props.direction,
@@ -10148,14 +10021,14 @@ var UserReferralSource = ({
10148
10021
  }
10149
10022
  }
10150
10023
  )),
10151
- /* @__PURE__ */ React81.createElement("div", null, /* @__PURE__ */ React81.createElement(
10024
+ /* @__PURE__ */ React80.createElement("div", null, /* @__PURE__ */ React80.createElement(
10152
10025
  Controller6,
10153
10026
  {
10154
10027
  control,
10155
10028
  name: "feedback",
10156
10029
  render: ({ field }) => {
10157
10030
  var _a2, _b2;
10158
- return /* @__PURE__ */ React81.createElement(
10031
+ return /* @__PURE__ */ React80.createElement(
10159
10032
  Textarea,
10160
10033
  {
10161
10034
  ...field,
@@ -10170,28 +10043,28 @@ var UserReferralSource = ({
10170
10043
  }
10171
10044
  ))
10172
10045
  ),
10173
- /* @__PURE__ */ React81.createElement(Button, { type: "submit", className: "hawa-mt-4 hawa-w-full" }, ((_b = props.texts) == null ? void 0 : _b.submit) || "Submit")
10046
+ /* @__PURE__ */ React80.createElement(Button, { type: "submit", className: "hawa-mt-4 hawa-w-full" }, ((_b = props.texts) == null ? void 0 : _b.submit) || "Submit")
10174
10047
  ))
10175
10048
  )
10176
10049
  );
10177
10050
  };
10178
10051
 
10179
10052
  // blocks/feedback/FeedbackRating.tsx
10180
- import React82, { useEffect as useEffect20, useRef as useRef12, useState as useState31 } from "react";
10053
+ import React81, { useEffect as useEffect19, useRef as useRef12, useState as useState30 } from "react";
10181
10054
  var FeedbackRating = ({
10182
10055
  position = "bottom-right",
10183
10056
  ...props
10184
10057
  }) => {
10185
- const [closed, setClosed] = useState31(false);
10186
- const [answered, setAnswered] = useState31(false);
10187
- const [clickedOption, setClickedOption] = useState31(null);
10188
- const [closingTimer, setClosingTimer] = useState31(5);
10058
+ const [closed, setClosed] = useState30(false);
10059
+ const [answered, setAnswered] = useState30(false);
10060
+ const [clickedOption, setClickedOption] = useState30(null);
10061
+ const [closingTimer, setClosingTimer] = useState30(5);
10189
10062
  const popUpRef = useRef12(null);
10190
10063
  const boxPosition = {
10191
10064
  "bottom-right": "hawa-right-4",
10192
10065
  "bottom-left": "hawa-left-4"
10193
10066
  };
10194
- useEffect20(() => {
10067
+ useEffect19(() => {
10195
10068
  const timeoutHide = setTimeout(() => {
10196
10069
  if (closingTimer >= 0) {
10197
10070
  setClosingTimer(closingTimer - 1);
@@ -10209,7 +10082,7 @@ var FeedbackRating = ({
10209
10082
  }
10210
10083
  }, 200);
10211
10084
  };
10212
- return /* @__PURE__ */ React82.createElement(
10085
+ return /* @__PURE__ */ React81.createElement(
10213
10086
  "div",
10214
10087
  {
10215
10088
  ref: popUpRef,
@@ -10218,7 +10091,7 @@ var FeedbackRating = ({
10218
10091
  boxPosition[position]
10219
10092
  )
10220
10093
  },
10221
- /* @__PURE__ */ React82.createElement(
10094
+ /* @__PURE__ */ React81.createElement(
10222
10095
  "div",
10223
10096
  {
10224
10097
  className: cn(
@@ -10227,8 +10100,8 @@ var FeedbackRating = ({
10227
10100
  props.banner && "hawa-rounded-none hawa-px-4 md:hawa-rounded-t md:hawa-px-64"
10228
10101
  )
10229
10102
  },
10230
- /* @__PURE__ */ React82.createElement("div", { className: "hawa-absolute hawa-left-2 hawa-top-2 hawa-p-1.5 hawa-text-sm" }, props.title),
10231
- /* @__PURE__ */ React82.createElement(
10103
+ /* @__PURE__ */ React81.createElement("div", { className: "hawa-absolute hawa-left-2 hawa-top-2 hawa-p-1.5 hawa-text-sm" }, props.title),
10104
+ /* @__PURE__ */ React81.createElement(
10232
10105
  "button",
10233
10106
  {
10234
10107
  type: "button",
@@ -10237,7 +10110,7 @@ var FeedbackRating = ({
10237
10110
  "aria-label": "Close",
10238
10111
  onClick: () => slowClose()
10239
10112
  },
10240
- /* @__PURE__ */ React82.createElement(
10113
+ /* @__PURE__ */ React81.createElement(
10241
10114
  "svg",
10242
10115
  {
10243
10116
  "aria-hidden": "true",
@@ -10245,7 +10118,7 @@ var FeedbackRating = ({
10245
10118
  fill: "currentColor",
10246
10119
  viewBox: "0 0 20 20"
10247
10120
  },
10248
- /* @__PURE__ */ React82.createElement(
10121
+ /* @__PURE__ */ React81.createElement(
10249
10122
  "path",
10250
10123
  {
10251
10124
  fillRule: "evenodd",
@@ -10255,8 +10128,8 @@ var FeedbackRating = ({
10255
10128
  )
10256
10129
  )
10257
10130
  ),
10258
- /* @__PURE__ */ React82.createElement("div", { className: "hawa-mt-8" }, props.question),
10259
- /* @__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(
10131
+ /* @__PURE__ */ React81.createElement("div", { className: "hawa-mt-8" }, props.question),
10132
+ /* @__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(
10260
10133
  "span",
10261
10134
  {
10262
10135
  key: i,
@@ -10284,24 +10157,24 @@ var FeedbackRating = ({
10284
10157
  },
10285
10158
  op
10286
10159
  ))),
10287
- 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)),
10288
- 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")))
10160
+ 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)),
10161
+ 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")))
10289
10162
  )
10290
10163
  );
10291
10164
  };
10292
10165
 
10293
10166
  // blocks/feedback/FeedbackEmoji.tsx
10294
- import React83, { useState as useState32 } from "react";
10167
+ import React82, { useState as useState31 } from "react";
10295
10168
  var FeedbackEmoji = (props) => {
10296
- const [selectedEmoji, setSelectedEmoji] = useState32(null);
10297
- const [loadingSubmit, setLoadingSubmit] = useState32(false);
10298
- const [feedbackText, setFeedbackText] = useState32("");
10299
- const [helperText, setHelperText] = useState32(false);
10169
+ const [selectedEmoji, setSelectedEmoji] = useState31(null);
10170
+ const [loadingSubmit, setLoadingSubmit] = useState31(false);
10171
+ const [feedbackText, setFeedbackText] = useState31("");
10172
+ const [helperText, setHelperText] = useState31(false);
10300
10173
  let emojis = [
10301
- { icon: /* @__PURE__ */ React83.createElement(VeryGoodEmoji, null), value: "very-good" },
10302
- { icon: /* @__PURE__ */ React83.createElement(GoodEmoji, null), value: "good" },
10303
- { icon: /* @__PURE__ */ React83.createElement(BadEmoji, null), value: "bad" },
10304
- { icon: /* @__PURE__ */ React83.createElement(VeryBadEmoji, null), value: "very-bad" }
10174
+ { icon: /* @__PURE__ */ React82.createElement(VeryGoodEmoji, null), value: "very-good" },
10175
+ { icon: /* @__PURE__ */ React82.createElement(GoodEmoji, null), value: "good" },
10176
+ { icon: /* @__PURE__ */ React82.createElement(BadEmoji, null), value: "bad" },
10177
+ { icon: /* @__PURE__ */ React82.createElement(VeryBadEmoji, null), value: "very-bad" }
10305
10178
  ];
10306
10179
  const onFeedbackSubmit = async () => {
10307
10180
  if (feedbackText) {
@@ -10321,7 +10194,7 @@ var FeedbackEmoji = (props) => {
10321
10194
  setHelperText(true);
10322
10195
  }
10323
10196
  };
10324
- return /* @__PURE__ */ React83.createElement(
10197
+ return /* @__PURE__ */ React82.createElement(
10325
10198
  "div",
10326
10199
  {
10327
10200
  className: cn(
@@ -10329,7 +10202,7 @@ var FeedbackEmoji = (props) => {
10329
10202
  selectedEmoji ? "hawa-h-[189px] hawa-min-w-fit" : "hawa-h-[44px] "
10330
10203
  )
10331
10204
  },
10332
- /* @__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(
10205
+ /* @__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(
10333
10206
  Button,
10334
10207
  {
10335
10208
  key: i,
@@ -10348,7 +10221,7 @@ var FeedbackEmoji = (props) => {
10348
10221
  },
10349
10222
  emoji.icon
10350
10223
  )))),
10351
- /* @__PURE__ */ React83.createElement(
10224
+ /* @__PURE__ */ React82.createElement(
10352
10225
  "div",
10353
10226
  {
10354
10227
  className: cn(
@@ -10356,7 +10229,7 @@ var FeedbackEmoji = (props) => {
10356
10229
  selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0 "
10357
10230
  )
10358
10231
  },
10359
- 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(
10232
+ 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(
10360
10233
  "svg",
10361
10234
  {
10362
10235
  stroke: "currentColor",
@@ -10366,13 +10239,13 @@ var FeedbackEmoji = (props) => {
10366
10239
  height: "0.5em",
10367
10240
  width: "0.5em"
10368
10241
  },
10369
- /* @__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" })
10370
- )), /* @__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(
10242
+ /* @__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" })
10243
+ )), /* @__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(
10371
10244
  Popover,
10372
10245
  {
10373
10246
  className: "hawa-select-none hawa-p-1 hawa-text-xs ",
10374
10247
  open: helperText,
10375
- trigger: /* @__PURE__ */ React83.createElement(
10248
+ trigger: /* @__PURE__ */ React82.createElement(
10376
10249
  Textarea,
10377
10250
  {
10378
10251
  classNames: {
@@ -10388,8 +10261,8 @@ var FeedbackEmoji = (props) => {
10388
10261
  }
10389
10262
  )
10390
10263
  },
10391
- /* @__PURE__ */ React83.createElement("span", { className: "hawa-m-0" }, "Please enter your feedback")
10392
- ), /* @__PURE__ */ React83.createElement(
10264
+ /* @__PURE__ */ React82.createElement("span", { className: "hawa-m-0" }, "Please enter your feedback")
10265
+ ), /* @__PURE__ */ React82.createElement(
10393
10266
  Button,
10394
10267
  {
10395
10268
  isLoading: loadingSubmit,
@@ -10404,7 +10277,7 @@ var FeedbackEmoji = (props) => {
10404
10277
  };
10405
10278
 
10406
10279
  // blocks/feedback/FeedbackForm.tsx
10407
- import React84 from "react";
10280
+ import React83 from "react";
10408
10281
  import { useForm as useForm7, Controller as Controller7 } from "react-hook-form";
10409
10282
  import { zodResolver as zodResolver7 } from "@hookform/resolvers/zod";
10410
10283
  import * as z7 from "zod";
@@ -10417,7 +10290,7 @@ var FeedbackForm = (props) => {
10417
10290
  const { handleSubmit, control, formState } = useForm7({
10418
10291
  resolver: zodResolver7(formSchema)
10419
10292
  });
10420
- return /* @__PURE__ */ React84.createElement(
10293
+ return /* @__PURE__ */ React83.createElement(
10421
10294
  Card,
10422
10295
  {
10423
10296
  className: cn(
@@ -10425,7 +10298,7 @@ var FeedbackForm = (props) => {
10425
10298
  ),
10426
10299
  style: props.cardless ? { boxShadow: "none" } : void 0
10427
10300
  },
10428
- /* @__PURE__ */ React84.createElement(CardContent, { headless: true }, /* @__PURE__ */ React84.createElement(
10301
+ /* @__PURE__ */ React83.createElement(CardContent, { headless: true }, /* @__PURE__ */ React83.createElement(
10429
10302
  "form",
10430
10303
  {
10431
10304
  noValidate: true,
@@ -10438,15 +10311,15 @@ var FeedbackForm = (props) => {
10438
10311
  }),
10439
10312
  className: "hawa-flex hawa-flex-col hawa-gap-4"
10440
10313
  },
10441
- /* @__PURE__ */ React84.createElement(Label2, null, (_j = (_i = props.texts) == null ? void 0 : _i.requestType) == null ? void 0 : _j.label),
10442
- /* @__PURE__ */ React84.createElement(
10314
+ /* @__PURE__ */ React83.createElement(Label2, null, (_j = (_i = props.texts) == null ? void 0 : _i.requestType) == null ? void 0 : _j.label),
10315
+ /* @__PURE__ */ React83.createElement(
10443
10316
  Controller7,
10444
10317
  {
10445
10318
  name: "requestType",
10446
10319
  control,
10447
10320
  render: ({ field }) => {
10448
10321
  var _a2, _b2, _c2, _d2, _e2, _f2;
10449
- return /* @__PURE__ */ React84.createElement(
10322
+ return /* @__PURE__ */ React83.createElement(
10450
10323
  Select,
10451
10324
  {
10452
10325
  ...field,
@@ -10463,15 +10336,15 @@ var FeedbackForm = (props) => {
10463
10336
  }
10464
10337
  }
10465
10338
  ),
10466
- /* @__PURE__ */ React84.createElement(Label2, null, (_l = (_k = props.texts) == null ? void 0 : _k.description) == null ? void 0 : _l.label),
10467
- /* @__PURE__ */ React84.createElement(
10339
+ /* @__PURE__ */ React83.createElement(Label2, null, (_l = (_k = props.texts) == null ? void 0 : _k.description) == null ? void 0 : _l.label),
10340
+ /* @__PURE__ */ React83.createElement(
10468
10341
  Controller7,
10469
10342
  {
10470
10343
  name: "description",
10471
10344
  control,
10472
10345
  render: ({ field }) => {
10473
10346
  var _a2, _b2, _c2, _d2;
10474
- return /* @__PURE__ */ React84.createElement(
10347
+ return /* @__PURE__ */ React83.createElement(
10475
10348
  Textarea,
10476
10349
  {
10477
10350
  ...field,
@@ -10482,15 +10355,15 @@ var FeedbackForm = (props) => {
10482
10355
  }
10483
10356
  }
10484
10357
  ),
10485
- /* @__PURE__ */ React84.createElement(Button, { type: "submit" }, (_m = props.texts) == null ? void 0 : _m.submit)
10358
+ /* @__PURE__ */ React83.createElement(Button, { type: "submit" }, (_m = props.texts) == null ? void 0 : _m.submit)
10486
10359
  ))
10487
10360
  );
10488
10361
  };
10489
10362
 
10490
10363
  // blocks/misc/LegalTexts.tsx
10491
- import React85 from "react";
10364
+ import React84 from "react";
10492
10365
  var LegalTexts = ({ tabs, ...props }) => {
10493
- return /* @__PURE__ */ React85.createElement(
10366
+ return /* @__PURE__ */ React84.createElement(
10494
10367
  Tabs,
10495
10368
  {
10496
10369
  value: props.activeTab,
@@ -10498,8 +10371,8 @@ var LegalTexts = ({ tabs, ...props }) => {
10498
10371
  defaultValue: props.defaultTab || tabs[0].value,
10499
10372
  dir: props.direction
10500
10373
  },
10501
- /* @__PURE__ */ React85.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React85.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
10502
- tabs.map((tab, index) => /* @__PURE__ */ React85.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React85.createElement(
10374
+ /* @__PURE__ */ React84.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React84.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
10375
+ tabs.map((tab, index) => /* @__PURE__ */ React84.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React84.createElement(
10503
10376
  ScrollArea,
10504
10377
  {
10505
10378
  className: cn(
@@ -10513,9 +10386,9 @@ var LegalTexts = ({ tabs, ...props }) => {
10513
10386
  };
10514
10387
 
10515
10388
  // blocks/misc/EmptyState.tsx
10516
- import React86 from "react";
10389
+ import React85 from "react";
10517
10390
  var EmptyState = ({ texts, onActionClick }) => {
10518
- 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(
10391
+ 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(
10519
10392
  "svg",
10520
10393
  {
10521
10394
  stroke: "currentColor",
@@ -10525,30 +10398,30 @@ var EmptyState = ({ texts, onActionClick }) => {
10525
10398
  height: "0.35em",
10526
10399
  width: "0.35em"
10527
10400
  },
10528
- /* @__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" })
10529
- )), /* @__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")));
10401
+ /* @__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" })
10402
+ )), /* @__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")));
10530
10403
  };
10531
10404
 
10532
10405
  // blocks/misc/Testimonial.tsx
10533
- import React87 from "react";
10406
+ import React86 from "react";
10534
10407
  var Testimonial = () => {
10535
- 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(
10408
+ 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(
10536
10409
  "path",
10537
10410
  {
10538
10411
  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",
10539
10412
  fill: "#FFFFFF"
10540
10413
  }
10541
- ), /* @__PURE__ */ React87.createElement(
10414
+ ), /* @__PURE__ */ React86.createElement(
10542
10415
  "path",
10543
10416
  {
10544
10417
  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",
10545
10418
  fill: "#FFFFFF"
10546
10419
  }
10547
- )), /* @__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")))));
10420
+ )), /* @__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")))));
10548
10421
  };
10549
10422
 
10550
10423
  // blocks/misc/LeadGenerator.tsx
10551
- import React88 from "react";
10424
+ import React87 from "react";
10552
10425
  import { useForm as useForm8, Controller as Controller8 } from "react-hook-form";
10553
10426
  var LeadGenerator = ({ texts, submitHandler }) => {
10554
10427
  var _a;
@@ -10560,14 +10433,14 @@ var LeadGenerator = ({ texts, submitHandler }) => {
10560
10433
  console.log("handleNewsletterSub props was not provided");
10561
10434
  }
10562
10435
  };
10563
- 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(
10436
+ 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(
10564
10437
  "form",
10565
10438
  {
10566
10439
  noValidate: true,
10567
10440
  className: "hawa-flex hawa-flex-row hawa-gap-2",
10568
10441
  onSubmit: handleSubmit(onSubmit)
10569
10442
  },
10570
- /* @__PURE__ */ React88.createElement(
10443
+ /* @__PURE__ */ React87.createElement(
10571
10444
  Controller8,
10572
10445
  {
10573
10446
  name: "email",
@@ -10580,27 +10453,27 @@ var LeadGenerator = ({ texts, submitHandler }) => {
10580
10453
  }
10581
10454
  },
10582
10455
  defaultValue: "",
10583
- render: ({ field }) => /* @__PURE__ */ React88.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
10456
+ render: ({ field }) => /* @__PURE__ */ React87.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
10584
10457
  }
10585
10458
  ),
10586
- /* @__PURE__ */ React88.createElement(Button, { type: "submit", disabled: !formState.isValid }, (_a = texts == null ? void 0 : texts.submit) != null ? _a : "Submit")
10459
+ /* @__PURE__ */ React87.createElement(Button, { type: "submit", disabled: !formState.isValid }, (_a = texts == null ? void 0 : texts.submit) != null ? _a : "Submit")
10587
10460
  )));
10588
10461
  };
10589
10462
 
10590
10463
  // blocks/misc/Announcement.tsx
10591
- import React89 from "react";
10464
+ import React88 from "react";
10592
10465
  var Announcement = ({
10593
10466
  onActionClick,
10594
10467
  ...props
10595
10468
  }) => {
10596
- return /* @__PURE__ */ React89.createElement(Card, null, /* @__PURE__ */ React89.createElement(
10469
+ return /* @__PURE__ */ React88.createElement(Card, null, /* @__PURE__ */ React88.createElement(
10597
10470
  CardContent,
10598
10471
  {
10599
10472
  headless: true,
10600
10473
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
10601
10474
  },
10602
- /* @__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)),
10603
- /* @__PURE__ */ React89.createElement(
10475
+ /* @__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)),
10476
+ /* @__PURE__ */ React88.createElement(
10604
10477
  Button,
10605
10478
  {
10606
10479
  onClick: () => onActionClick(),
@@ -10612,15 +10485,15 @@ var Announcement = ({
10612
10485
  };
10613
10486
 
10614
10487
  // blocks/misc/NotFound.tsx
10615
- import React90 from "react";
10488
+ import React89 from "react";
10616
10489
  var NotFound = ({ texts }) => {
10617
- 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"))));
10490
+ 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"))));
10618
10491
  };
10619
10492
 
10620
10493
  // blocks/misc/NoPermission.tsx
10621
- import React91 from "react";
10494
+ import React90 from "react";
10622
10495
  var NoPermission = ({ texts }) => {
10623
- 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(
10496
+ 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(
10624
10497
  "svg",
10625
10498
  {
10626
10499
  stroke: "currentColor",
@@ -10630,12 +10503,12 @@ var NoPermission = ({ texts }) => {
10630
10503
  height: "0.35em",
10631
10504
  width: "0.35em"
10632
10505
  },
10633
- /* @__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" })
10634
- )), /* @__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"))));
10506
+ /* @__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" })
10507
+ )), /* @__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"))));
10635
10508
  };
10636
10509
 
10637
10510
  // blocks/misc/ContactForm.tsx
10638
- import React92 from "react";
10511
+ import React91 from "react";
10639
10512
  import { useForm as useForm9, Controller as Controller9 } from "react-hook-form";
10640
10513
  import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
10641
10514
  import * as z8 from "zod";
@@ -10678,7 +10551,7 @@ var ContactForm = ({
10678
10551
  sm: "hawa-max-w-sm",
10679
10552
  default: "hawa-w-full"
10680
10553
  };
10681
- return /* @__PURE__ */ React92.createElement(
10554
+ return /* @__PURE__ */ React91.createElement(
10682
10555
  Card,
10683
10556
  {
10684
10557
  className: cn(
@@ -10688,7 +10561,7 @@ var ContactForm = ({
10688
10561
  ),
10689
10562
  style: cardless ? { boxShadow: "none" } : void 0
10690
10563
  },
10691
- /* @__PURE__ */ React92.createElement(CardContent, { headless: true }, /* @__PURE__ */ React92.createElement(
10564
+ /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, /* @__PURE__ */ React91.createElement(
10692
10565
  "form",
10693
10566
  {
10694
10567
  noValidate: true,
@@ -10697,7 +10570,7 @@ var ContactForm = ({
10697
10570
  id: formId,
10698
10571
  autoComplete: formAutoComplete
10699
10572
  },
10700
- /* @__PURE__ */ React92.createElement(
10573
+ /* @__PURE__ */ React91.createElement(
10701
10574
  "div",
10702
10575
  {
10703
10576
  className: cn(
@@ -10708,14 +10581,14 @@ var ContactForm = ({
10708
10581
  }
10709
10582
  )
10710
10583
  },
10711
- /* @__PURE__ */ React92.createElement(
10584
+ /* @__PURE__ */ React91.createElement(
10712
10585
  Controller9,
10713
10586
  {
10714
10587
  control,
10715
10588
  name: "name",
10716
10589
  render: ({ field }) => {
10717
10590
  var _a2;
10718
- return /* @__PURE__ */ React92.createElement(
10591
+ return /* @__PURE__ */ React91.createElement(
10719
10592
  Input,
10720
10593
  {
10721
10594
  label: texts == null ? void 0 : texts.name.label,
@@ -10728,14 +10601,14 @@ var ContactForm = ({
10728
10601
  }
10729
10602
  }
10730
10603
  ),
10731
- /* @__PURE__ */ React92.createElement(
10604
+ /* @__PURE__ */ React91.createElement(
10732
10605
  Controller9,
10733
10606
  {
10734
10607
  control,
10735
10608
  name: "email",
10736
10609
  render: ({ field }) => {
10737
10610
  var _a2;
10738
- return /* @__PURE__ */ React92.createElement(
10611
+ return /* @__PURE__ */ React91.createElement(
10739
10612
  Input,
10740
10613
  {
10741
10614
  label: texts == null ? void 0 : texts.email.label,
@@ -10749,14 +10622,14 @@ var ContactForm = ({
10749
10622
  }
10750
10623
  )
10751
10624
  ),
10752
- /* @__PURE__ */ React92.createElement(
10625
+ /* @__PURE__ */ React91.createElement(
10753
10626
  Controller9,
10754
10627
  {
10755
10628
  control,
10756
10629
  name: "message",
10757
10630
  render: ({ field }) => {
10758
10631
  var _a2;
10759
- return /* @__PURE__ */ React92.createElement(
10632
+ return /* @__PURE__ */ React91.createElement(
10760
10633
  Textarea,
10761
10634
  {
10762
10635
  label: texts == null ? void 0 : texts.message.label,
@@ -10771,19 +10644,19 @@ var ContactForm = ({
10771
10644
  }
10772
10645
  }
10773
10646
  ),
10774
- /* @__PURE__ */ React92.createElement(Button, { type: "submit", className: "hawa-w-full" }, (texts == null ? void 0 : texts.submit) || "Submit")
10647
+ /* @__PURE__ */ React91.createElement(Button, { type: "submit", className: "hawa-w-full" }, (texts == null ? void 0 : texts.submit) || "Submit")
10775
10648
  ))
10776
10649
  );
10777
10650
  };
10778
10651
 
10779
10652
  // blocks/pricing/PricingPlans.tsx
10780
- import React98 from "react";
10653
+ import React97 from "react";
10781
10654
 
10782
10655
  // blocks/cards/ActionCard.tsx
10783
- import React93, { useState as useState33 } from "react";
10656
+ import React92, { useState as useState32 } from "react";
10784
10657
  var ActionCard = (props) => {
10785
- const [hovered, setHovered] = useState33(false);
10786
- return /* @__PURE__ */ React93.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ React93.createElement(
10658
+ const [hovered, setHovered] = useState32(false);
10659
+ return /* @__PURE__ */ React92.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ React92.createElement(
10787
10660
  "div",
10788
10661
  {
10789
10662
  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",
@@ -10793,7 +10666,7 @@ var ActionCard = (props) => {
10793
10666
  onMouseEnter: () => setHovered(true),
10794
10667
  onMouseLeave: () => setHovered(false)
10795
10668
  },
10796
- props.blank ? /* @__PURE__ */ React93.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ React93.createElement(
10669
+ props.blank ? /* @__PURE__ */ React92.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ React92.createElement(
10797
10670
  "svg",
10798
10671
  {
10799
10672
  className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
@@ -10805,11 +10678,11 @@ var ActionCard = (props) => {
10805
10678
  width: "1em",
10806
10679
  xmlns: "http://www.w3.org/2000/svg"
10807
10680
  },
10808
- /* @__PURE__ */ React93.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
10809
- )) : /* @__PURE__ */ React93.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
10810
- /* @__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),
10811
- !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))
10812
- ), /* @__PURE__ */ React93.createElement(
10681
+ /* @__PURE__ */ React92.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
10682
+ )) : /* @__PURE__ */ React92.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
10683
+ /* @__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),
10684
+ !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))
10685
+ ), /* @__PURE__ */ React92.createElement(
10813
10686
  "div",
10814
10687
  {
10815
10688
  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"}`
@@ -10819,15 +10692,15 @@ var ActionCard = (props) => {
10819
10692
  };
10820
10693
 
10821
10694
  // blocks/cards/AdCard.tsx
10822
- import React94, { useState as useState34, useEffect as useEffect21, useRef as useRef13 } from "react";
10695
+ import React93, { useState as useState33, useEffect as useEffect20, useRef as useRef13 } from "react";
10823
10696
  var AdCard = ({
10824
10697
  orientation = "vertical",
10825
10698
  ...props
10826
10699
  }) => {
10827
10700
  const adRef = useRef13(null);
10828
- const [closed, setClosed] = useState34(false);
10701
+ const [closed, setClosed] = useState33(false);
10829
10702
  let duration = 0;
10830
- useEffect21(() => {
10703
+ useEffect20(() => {
10831
10704
  if (duration) {
10832
10705
  const timeoutHide = setTimeout(() => {
10833
10706
  setClosed(true);
@@ -10852,21 +10725,21 @@ var AdCard = ({
10852
10725
  horizontal: "hawa-w-auto hawa-h-full hawa-bg-blue-500 hawa-rounded-inner",
10853
10726
  vertical: "hawa-bg-blue-500 hawa-rounded-inner hawa-w-auto "
10854
10727
  };
10855
- return /* @__PURE__ */ React94.createElement("div", { ref: adRef }, /* @__PURE__ */ React94.createElement(
10728
+ return /* @__PURE__ */ React93.createElement("div", { ref: adRef }, /* @__PURE__ */ React93.createElement(
10856
10729
  "div",
10857
10730
  {
10858
10731
  className: cn(cardStyles[orientation], props.className),
10859
10732
  onClick: props.handleClick
10860
10733
  },
10861
- /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start " }, /* @__PURE__ */ React94.createElement(
10734
+ /* @__PURE__ */ React93.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start " }, /* @__PURE__ */ React93.createElement(
10862
10735
  "img",
10863
10736
  {
10864
10737
  src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
10865
10738
  className: imageStyles[orientation]
10866
10739
  }
10867
10740
  )),
10868
- /* @__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)),
10869
- props.canHide && /* @__PURE__ */ React94.createElement(
10741
+ /* @__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)),
10742
+ props.canHide && /* @__PURE__ */ React93.createElement(
10870
10743
  "span",
10871
10744
  {
10872
10745
  onClick: (e) => {
@@ -10892,7 +10765,7 @@ var AdCard = ({
10892
10765
  };
10893
10766
 
10894
10767
  // blocks/cards/PricingCard.tsx
10895
- import React95 from "react";
10768
+ import React94 from "react";
10896
10769
  var PricingCard = ({
10897
10770
  size = "medium",
10898
10771
  direction = "ltr",
@@ -10907,7 +10780,7 @@ var PricingCard = ({
10907
10780
  medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
10908
10781
  large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background "
10909
10782
  };
10910
- return /* @__PURE__ */ React95.createElement(
10783
+ return /* @__PURE__ */ React94.createElement(
10911
10784
  Card,
10912
10785
  {
10913
10786
  dir: direction,
@@ -10918,7 +10791,7 @@ var PricingCard = ({
10918
10791
  recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
10919
10792
  )
10920
10793
  },
10921
- recommended && /* @__PURE__ */ React95.createElement(
10794
+ recommended && /* @__PURE__ */ React94.createElement(
10922
10795
  "div",
10923
10796
  {
10924
10797
  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",
@@ -10926,7 +10799,7 @@ var PricingCard = ({
10926
10799
  },
10927
10800
  ((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
10928
10801
  ),
10929
- /* @__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.isLoading ? /* @__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(
10802
+ /* @__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.isLoading ? /* @__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(
10930
10803
  "div",
10931
10804
  {
10932
10805
  className: cn(
@@ -10934,9 +10807,9 @@ var PricingCard = ({
10934
10807
  endButton ? "hawa-flex-col" : "hawa-flex-col-reverse"
10935
10808
  )
10936
10809
  },
10937
- 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) => {
10810
+ 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) => {
10938
10811
  var _a2;
10939
- return /* @__PURE__ */ React95.createElement(
10812
+ return /* @__PURE__ */ React94.createElement(
10940
10813
  "li",
10941
10814
  {
10942
10815
  key: o,
@@ -10945,7 +10818,7 @@ var PricingCard = ({
10945
10818
  !feature.included && "hawa-line-through"
10946
10819
  )
10947
10820
  },
10948
- /* @__PURE__ */ React95.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ React95.createElement(
10821
+ /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ React94.createElement(
10949
10822
  "svg",
10950
10823
  {
10951
10824
  "aria-label": "Check Icon",
@@ -10954,7 +10827,7 @@ var PricingCard = ({
10954
10827
  fill: "currentColor",
10955
10828
  viewBox: "0 0 20 20"
10956
10829
  },
10957
- /* @__PURE__ */ React95.createElement(
10830
+ /* @__PURE__ */ React94.createElement(
10958
10831
  "path",
10959
10832
  {
10960
10833
  fillRule: "evenodd",
@@ -10962,7 +10835,7 @@ var PricingCard = ({
10962
10835
  clipRule: "evenodd"
10963
10836
  }
10964
10837
  )
10965
- ) : /* @__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(
10838
+ ) : /* @__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(
10966
10839
  Chip,
10967
10840
  {
10968
10841
  label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
@@ -10970,7 +10843,7 @@ var PricingCard = ({
10970
10843
  size: "small"
10971
10844
  }
10972
10845
  ))),
10973
- feature.hint && /* @__PURE__ */ React95.createElement(Tooltip, { content: feature.hint, side: feature.hintSide }, /* @__PURE__ */ React95.createElement(
10846
+ feature.hint && /* @__PURE__ */ React94.createElement(Tooltip, { content: feature.hint, side: feature.hintSide }, /* @__PURE__ */ React94.createElement(
10974
10847
  "svg",
10975
10848
  {
10976
10849
  xmlns: "http://www.w3.org/2000/svg",
@@ -10982,13 +10855,13 @@ var PricingCard = ({
10982
10855
  strokeLinecap: "round",
10983
10856
  strokeLinejoin: "round"
10984
10857
  },
10985
- /* @__PURE__ */ React95.createElement("circle", { cx: "12", cy: "12", r: "10" }),
10986
- /* @__PURE__ */ React95.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
10987
- /* @__PURE__ */ React95.createElement("path", { d: "M12 17h.01" })
10858
+ /* @__PURE__ */ React94.createElement("circle", { cx: "12", cy: "12", r: "10" }),
10859
+ /* @__PURE__ */ React94.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
10860
+ /* @__PURE__ */ React94.createElement("path", { d: "M12 17h.01" })
10988
10861
  ))
10989
10862
  );
10990
10863
  })),
10991
- /* @__PURE__ */ React95.createElement(
10864
+ /* @__PURE__ */ React94.createElement(
10992
10865
  Button,
10993
10866
  {
10994
10867
  onClick: props.onPlanClicked,
@@ -11002,7 +10875,7 @@ var PricingCard = ({
11002
10875
  };
11003
10876
 
11004
10877
  // blocks/cards/ItemCard.tsx
11005
- import React96, { useEffect as useEffect22, useState as useState35 } from "react";
10878
+ import React95, { useEffect as useEffect21, useState as useState34 } from "react";
11006
10879
  var ItemCard = ({
11007
10880
  actions,
11008
10881
  counts,
@@ -11031,12 +10904,12 @@ var ItemCard = ({
11031
10904
  )
11032
10905
  };
11033
10906
  let headerActionsButtonStyle = "hawa-inline-block hawa-rounded hawa-p-1 hawa-text-sm hawa-text-gray-500 hover:hawa-bg-gray-100 focus:hawa-outline-none focus:hawa-ring-4 focus:hawa-ring-gray-200 dark:hawa-text-gray-400 dark:hover:hawa-bg-gray-700 dark:focus:hawa-ring-gray-700";
11034
- const [openActionHeader, setOpenActionHeader] = useState35(false);
10907
+ const [openActionHeader, setOpenActionHeader] = useState34(false);
11035
10908
  function handleOpenActionHeader(e) {
11036
10909
  e.stopPropagation();
11037
10910
  setOpenActionHeader(!openActionHeader);
11038
10911
  }
11039
- useEffect22(() => {
10912
+ useEffect21(() => {
11040
10913
  window.onclick = () => {
11041
10914
  if (openActionHeader) {
11042
10915
  setOpenActionHeader(false);
@@ -11044,7 +10917,7 @@ var ItemCard = ({
11044
10917
  };
11045
10918
  return () => window.onclick = null;
11046
10919
  }, [openActionHeader]);
11047
- return /* @__PURE__ */ React96.createElement(
10920
+ return /* @__PURE__ */ React95.createElement(
11048
10921
  "div",
11049
10922
  {
11050
10923
  className: cn(
@@ -11060,7 +10933,7 @@ var ItemCard = ({
11060
10933
  }
11061
10934
  }
11062
10935
  },
11063
- cardImage && /* @__PURE__ */ React96.createElement("div", { className: "hawa-group hawa-relative hawa-overflow-clip" }, /* @__PURE__ */ React96.createElement(
10936
+ cardImage && /* @__PURE__ */ React95.createElement("div", { className: "hawa-group hawa-relative hawa-overflow-clip" }, /* @__PURE__ */ React95.createElement(
11064
10937
  "img",
11065
10938
  {
11066
10939
  src: cardImage,
@@ -11069,7 +10942,7 @@ var ItemCard = ({
11069
10942
  clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
11070
10943
  )
11071
10944
  }
11072
- ), 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(
10945
+ ), 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(
11073
10946
  Button,
11074
10947
  {
11075
10948
  variant: "secondary",
@@ -11079,19 +10952,19 @@ var ItemCard = ({
11079
10952
  clickableImageActionIcon,
11080
10953
  clickableImageActionText || "Click"
11081
10954
  )))),
11082
- /* @__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(
10955
+ /* @__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(
11083
10956
  DropdownMenu,
11084
10957
  {
11085
10958
  items: headerActions,
11086
- trigger: /* @__PURE__ */ React96.createElement(
10959
+ trigger: /* @__PURE__ */ React95.createElement(
11087
10960
  Button,
11088
10961
  {
11089
10962
  variant: "ghost",
11090
10963
  size: "smallIcon",
11091
10964
  onClick: handleOpenActionHeader
11092
10965
  },
11093
- /* @__PURE__ */ React96.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
11094
- /* @__PURE__ */ React96.createElement(
10966
+ /* @__PURE__ */ React95.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
10967
+ /* @__PURE__ */ React95.createElement(
11095
10968
  "svg",
11096
10969
  {
11097
10970
  className: "hawa-h-5 hawa-w-5",
@@ -11099,11 +10972,11 @@ var ItemCard = ({
11099
10972
  fill: "currentColor",
11100
10973
  viewBox: "0 0 20 20"
11101
10974
  },
11102
- /* @__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" })
10975
+ /* @__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" })
11103
10976
  )
11104
10977
  )
11105
10978
  }
11106
- ))), /* @__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(
10979
+ ))), /* @__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(
11107
10980
  "div",
11108
10981
  {
11109
10982
  className: cn(
@@ -11113,15 +10986,15 @@ var ItemCard = ({
11113
10986
  )
11114
10987
  },
11115
10988
  counts,
11116
- /* @__PURE__ */ React96.createElement(StopPropagationWrapper, null, actions)
10989
+ /* @__PURE__ */ React95.createElement(StopPropagationWrapper, null, actions)
11117
10990
  ) : null)
11118
10991
  );
11119
10992
  };
11120
10993
 
11121
10994
  // blocks/cards/LandingCard.tsx
11122
- import React97 from "react";
10995
+ import React96 from "react";
11123
10996
  var LandingCard = (props) => {
11124
- 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)));
10997
+ 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)));
11125
10998
  };
11126
10999
 
11127
11000
  // blocks/pricing/PricingPlans.tsx
@@ -11130,7 +11003,7 @@ var PricingPlans = ({
11130
11003
  cardsContainerProps,
11131
11004
  ...props
11132
11005
  }) => {
11133
- 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(
11006
+ 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(
11134
11007
  Radio,
11135
11008
  {
11136
11009
  design: "tabs",
@@ -11142,7 +11015,7 @@ var PricingPlans = ({
11142
11015
  }
11143
11016
  }
11144
11017
  }
11145
- ), /* @__PURE__ */ React98.createElement(
11018
+ ), /* @__PURE__ */ React97.createElement(
11146
11019
  Radio,
11147
11020
  {
11148
11021
  design: "tabs",
@@ -11154,7 +11027,7 @@ var PricingPlans = ({
11154
11027
  }
11155
11028
  }
11156
11029
  }
11157
- )), /* @__PURE__ */ React98.createElement(
11030
+ )), /* @__PURE__ */ React97.createElement(
11158
11031
  "div",
11159
11032
  {
11160
11033
  className: "hawa-inline-grid hawa-w-full hawa-grid-cols-[repeat(auto-fit,_minmax(300px,_1fr))] hawa-gap-4",
@@ -11162,7 +11035,7 @@ var PricingPlans = ({
11162
11035
  },
11163
11036
  props.plans.map((plan, index) => {
11164
11037
  var _a, _b;
11165
- return /* @__PURE__ */ React98.createElement(
11038
+ return /* @__PURE__ */ React97.createElement(
11166
11039
  PricingCard,
11167
11040
  {
11168
11041
  key: index,
@@ -11192,7 +11065,7 @@ var PricingPlans = ({
11192
11065
  };
11193
11066
 
11194
11067
  // blocks/pricing/ComparingPlans.tsx
11195
- import React99 from "react";
11068
+ import React98 from "react";
11196
11069
  var ComparingPlans = (props) => {
11197
11070
  const uniqueFeatures = Array.from(
11198
11071
  new Set(
@@ -11201,7 +11074,7 @@ var ComparingPlans = (props) => {
11201
11074
  )
11202
11075
  )
11203
11076
  );
11204
- 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(
11077
+ 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(
11205
11078
  Radio,
11206
11079
  {
11207
11080
  tabsContainerClassName: "hawa-w-full sm:hawa-max-w-fit",
@@ -11215,7 +11088,7 @@ var ComparingPlans = (props) => {
11215
11088
  }
11216
11089
  }
11217
11090
  }
11218
- ), /* @__PURE__ */ React99.createElement(
11091
+ ), /* @__PURE__ */ React98.createElement(
11219
11092
  Radio,
11220
11093
  {
11221
11094
  tabsContainerClassName: "hawa-w-full sm:hawa-max-w-fit",
@@ -11229,7 +11102,7 @@ var ComparingPlans = (props) => {
11229
11102
  }
11230
11103
  }
11231
11104
  }
11232
- )), /* @__PURE__ */ React99.createElement(
11105
+ )), /* @__PURE__ */ React98.createElement(
11233
11106
  "div",
11234
11107
  {
11235
11108
  className: cn(
@@ -11240,16 +11113,16 @@ var ComparingPlans = (props) => {
11240
11113
  top: props.topPosition || 0
11241
11114
  }
11242
11115
  },
11243
- /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-items-center" }),
11244
- props.plans.map((plan, i) => /* @__PURE__ */ React99.createElement(
11116
+ /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-items-center" }),
11117
+ props.plans.map((plan, i) => /* @__PURE__ */ React98.createElement(
11245
11118
  "div",
11246
11119
  {
11247
11120
  key: i,
11248
11121
  className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2"
11249
11122
  },
11250
- /* @__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)))
11123
+ /* @__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)))
11251
11124
  ))
11252
- ), /* @__PURE__ */ React99.createElement(
11125
+ ), /* @__PURE__ */ React98.createElement(
11253
11126
  ScrollArea,
11254
11127
  {
11255
11128
  className: "hawa-h-fit hawa-rounded hawa-rounded-t-none hawa-border hawa-border-t-0 hawa-bg-background",
@@ -11257,7 +11130,7 @@ var ComparingPlans = (props) => {
11257
11130
  },
11258
11131
  uniqueFeatures.map((featureText, featureIndex) => {
11259
11132
  var _a, _b, _c, _d;
11260
- return /* @__PURE__ */ React99.createElement(
11133
+ return /* @__PURE__ */ React98.createElement(
11261
11134
  "div",
11262
11135
  {
11263
11136
  key: featureIndex,
@@ -11266,11 +11139,11 @@ var ComparingPlans = (props) => {
11266
11139
  featureIndex === 0 ? "" : "hawa-border-t"
11267
11140
  )
11268
11141
  },
11269
- /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
11142
+ /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
11270
11143
  (plan) => plan.features.some(
11271
11144
  (feature) => feature.text === featureText && feature.hint
11272
11145
  )
11273
- ) && /* @__PURE__ */ React99.createElement(
11146
+ ) && /* @__PURE__ */ React98.createElement(
11274
11147
  Tooltip,
11275
11148
  {
11276
11149
  side: "right",
@@ -11285,7 +11158,7 @@ var ComparingPlans = (props) => {
11285
11158
  (feature) => feature.text === featureText
11286
11159
  )) == null ? void 0 : _b.hint
11287
11160
  },
11288
- /* @__PURE__ */ React99.createElement(
11161
+ /* @__PURE__ */ React98.createElement(
11289
11162
  "svg",
11290
11163
  {
11291
11164
  stroke: "currentColor",
@@ -11295,13 +11168,13 @@ var ComparingPlans = (props) => {
11295
11168
  height: "1em",
11296
11169
  width: "1em"
11297
11170
  },
11298
- /* @__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" })
11171
+ /* @__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" })
11299
11172
  )
11300
11173
  ), props.plans.some(
11301
11174
  (plan) => plan.features.some(
11302
11175
  (feature) => feature.text === featureText && feature.soon
11303
11176
  )
11304
- ) && /* @__PURE__ */ React99.createElement(
11177
+ ) && /* @__PURE__ */ React98.createElement(
11305
11178
  Chip,
11306
11179
  {
11307
11180
  label: ((_d = (_c = props.plans.find(
@@ -11315,26 +11188,26 @@ var ComparingPlans = (props) => {
11315
11188
  const feature = plan.features.find(
11316
11189
  (f) => f.text === featureText
11317
11190
  );
11318
- return /* @__PURE__ */ React99.createElement(
11191
+ return /* @__PURE__ */ React98.createElement(
11319
11192
  "div",
11320
11193
  {
11321
11194
  key: planIndex,
11322
11195
  className: "hawa-flex hawa-flex-col hawa-items-center hawa-text-center"
11323
11196
  },
11324
- (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React99.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React99.createElement(UncheckMark, { className: "hawa-text-foreground" })
11197
+ (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React98.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React98.createElement(UncheckMark, { className: "hawa-text-foreground" })
11325
11198
  );
11326
11199
  })
11327
11200
  );
11328
11201
  })
11329
- ), 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) => {
11202
+ ), 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) => {
11330
11203
  var _a;
11331
- return /* @__PURE__ */ React99.createElement(
11204
+ return /* @__PURE__ */ React98.createElement(
11332
11205
  "div",
11333
11206
  {
11334
11207
  key: i,
11335
11208
  className: "hawa-flex hawa-items-center hawa-justify-center"
11336
11209
  },
11337
- /* @__PURE__ */ React99.createElement(
11210
+ /* @__PURE__ */ React98.createElement(
11338
11211
  Button,
11339
11212
  {
11340
11213
  className: "hawa-w-full hawa-max-w-xs",
@@ -11358,29 +11231,29 @@ var ComparingPlans = (props) => {
11358
11231
  };
11359
11232
 
11360
11233
  // blocks/pricing/HorizontalPricing.tsx
11361
- import React100, { useState as useState36 } from "react";
11234
+ import React99, { useState as useState35 } from "react";
11362
11235
  var HorizontalPricing = (props) => {
11363
- const [selectedCard, setSelectedCard] = useState36("");
11236
+ const [selectedCard, setSelectedCard] = useState35("");
11364
11237
  let data = [
11365
11238
  { title: "basic", price: "$49", cycle: "/mo" },
11366
11239
  { title: "business", price: "$99", cycle: "/mo" },
11367
11240
  { title: "enterprise", price: "$149", cycle: "/mo" }
11368
11241
  ];
11369
- 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(
11242
+ 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(
11370
11243
  Radio,
11371
11244
  {
11372
11245
  design: "tabs",
11373
11246
  options: props.currencies,
11374
11247
  defaultValue: props.currentCurrency
11375
11248
  }
11376
- ), /* @__PURE__ */ React100.createElement(
11249
+ ), /* @__PURE__ */ React99.createElement(
11377
11250
  Radio,
11378
11251
  {
11379
11252
  design: "tabs",
11380
11253
  options: props.billingCycles,
11381
11254
  defaultValue: props.currentCycle
11382
11255
  }
11383
- )), data.map((d, i) => /* @__PURE__ */ React100.createElement(
11256
+ )), data.map((d, i) => /* @__PURE__ */ React99.createElement(
11384
11257
  "label",
11385
11258
  {
11386
11259
  key: i,
@@ -11388,7 +11261,7 @@ var HorizontalPricing = (props) => {
11388
11261
  className: "",
11389
11262
  onClick: () => setSelectedCard(d.title)
11390
11263
  },
11391
- /* @__PURE__ */ React100.createElement(
11264
+ /* @__PURE__ */ React99.createElement(
11392
11265
  "input",
11393
11266
  {
11394
11267
  type: "radio",
@@ -11397,7 +11270,7 @@ var HorizontalPricing = (props) => {
11397
11270
  className: "hawa-peer hawa-appearance-none"
11398
11271
  }
11399
11272
  ),
11400
- /* @__PURE__ */ React100.createElement(
11273
+ /* @__PURE__ */ React99.createElement(
11401
11274
  "div",
11402
11275
  {
11403
11276
  className: cn(
@@ -11405,18 +11278,18 @@ var HorizontalPricing = (props) => {
11405
11278
  "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"
11406
11279
  )
11407
11280
  },
11408
- /* @__PURE__ */ React100.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React100.createElement(CheckIcons, null), /* @__PURE__ */ React100.createElement(
11281
+ /* @__PURE__ */ React99.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React99.createElement(CheckIcons, null), /* @__PURE__ */ React99.createElement(
11409
11282
  CardText,
11410
11283
  {
11411
11284
  title: "Enterprise",
11412
11285
  subtitle: "For startups and new businesses"
11413
11286
  }
11414
11287
  )),
11415
- /* @__PURE__ */ React100.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
11288
+ /* @__PURE__ */ React99.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
11416
11289
  )
11417
11290
  ))));
11418
11291
  };
11419
- var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment, null, /* @__PURE__ */ React100.createElement(
11292
+ var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, null, /* @__PURE__ */ React99.createElement(
11420
11293
  "svg",
11421
11294
  {
11422
11295
  fill: "none",
@@ -11425,7 +11298,7 @@ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment,
11425
11298
  stroke: "currentColor",
11426
11299
  className: "hawa-default hawa-h-8 hawa-w-8 hawa-text-neutral-500"
11427
11300
  },
11428
- /* @__PURE__ */ React100.createElement(
11301
+ /* @__PURE__ */ React99.createElement(
11429
11302
  "path",
11430
11303
  {
11431
11304
  strokeLinecap: "round",
@@ -11433,14 +11306,14 @@ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment,
11433
11306
  d: "M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
11434
11307
  }
11435
11308
  )
11436
- ), /* @__PURE__ */ React100.createElement(
11309
+ ), /* @__PURE__ */ React99.createElement(
11437
11310
  "svg",
11438
11311
  {
11439
11312
  viewBox: "0 0 24 24",
11440
11313
  fill: "currentColor",
11441
11314
  className: "hawa-active hawa-hidden hawa-h-8 hawa-w-8 hawa-text-blue-500"
11442
11315
  },
11443
- /* @__PURE__ */ React100.createElement(
11316
+ /* @__PURE__ */ React99.createElement(
11444
11317
  "path",
11445
11318
  {
11446
11319
  fillRule: "evenodd",
@@ -11449,14 +11322,14 @@ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment,
11449
11322
  }
11450
11323
  )
11451
11324
  ));
11452
- 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, " "));
11453
- 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));
11325
+ 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, " "));
11326
+ 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));
11454
11327
 
11455
11328
  // blocks/Usage.tsx
11456
- import React101 from "react";
11329
+ import React100 from "react";
11457
11330
  var Usage = (props) => {
11458
11331
  var _a;
11459
- 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(
11332
+ 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(
11460
11333
  "svg",
11461
11334
  {
11462
11335
  stroke: "currentColor",
@@ -11467,19 +11340,141 @@ var Usage = (props) => {
11467
11340
  height: "1em",
11468
11341
  width: "1em"
11469
11342
  },
11470
- /* @__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" })
11471
- ))), /* @__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 }));
11343
+ /* @__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" })
11344
+ ))), /* @__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 }));
11472
11345
  };
11473
11346
 
11474
11347
  // hooks/useIsomorphicEffect.ts
11475
- import { useEffect as useEffect23, useLayoutEffect } from "react";
11476
- var useIsomorphicEffect = typeof document !== "undefined" ? useLayoutEffect : useEffect23;
11348
+ import { useEffect as useEffect22, useLayoutEffect } from "react";
11349
+ var useIsomorphicEffect = typeof document !== "undefined" ? useLayoutEffect : useEffect22;
11477
11350
 
11478
11351
  // hooks/useDiscloser.ts
11479
- import { useState as useState37 } from "react";
11352
+ import { useState as useState36 } from "react";
11480
11353
 
11481
11354
  // hooks/useHover.ts
11482
- import { useEffect as useEffect24, useRef as useRef14, useState as useState38 } from "react";
11355
+ import { useEffect as useEffect23, useRef as useRef14, useState as useState37 } from "react";
11356
+
11357
+ // hooks/useToast.ts
11358
+ import * as React103 from "react";
11359
+ var TOAST_LIMIT = 5;
11360
+ var TOAST_REMOVE_DELAY = 1e5;
11361
+ var count = 0;
11362
+ function genId() {
11363
+ count = (count + 1) % Number.MAX_VALUE;
11364
+ return count.toString();
11365
+ }
11366
+ var toastTimeouts = /* @__PURE__ */ new Map();
11367
+ var addToRemoveQueue = (toastId) => {
11368
+ if (toastTimeouts.has(toastId)) {
11369
+ return;
11370
+ }
11371
+ const timeout = setTimeout(() => {
11372
+ toastTimeouts.delete(toastId);
11373
+ dispatch({
11374
+ type: "REMOVE_TOAST",
11375
+ toastId
11376
+ });
11377
+ }, TOAST_REMOVE_DELAY);
11378
+ toastTimeouts.set(toastId, timeout);
11379
+ };
11380
+ var reducer = (state, action) => {
11381
+ switch (action.type) {
11382
+ case "ADD_TOAST":
11383
+ console.log("adding toast case");
11384
+ return {
11385
+ ...state,
11386
+ toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT)
11387
+ };
11388
+ case "UPDATE_TOAST":
11389
+ return {
11390
+ ...state,
11391
+ toasts: state.toasts.map(
11392
+ (t) => t.id === action.toast.id ? { ...t, ...action.toast } : t
11393
+ )
11394
+ };
11395
+ case "DISMISS_TOAST": {
11396
+ const { toastId } = action;
11397
+ if (toastId) {
11398
+ addToRemoveQueue(toastId);
11399
+ } else {
11400
+ state.toasts.forEach((toast2) => {
11401
+ addToRemoveQueue(toast2.id);
11402
+ });
11403
+ }
11404
+ return {
11405
+ ...state,
11406
+ toasts: state.toasts.map(
11407
+ (t) => t.id === toastId || toastId === void 0 ? { ...t, open: false } : t
11408
+ )
11409
+ };
11410
+ }
11411
+ case "REMOVE_TOAST":
11412
+ if (action.toastId === void 0) {
11413
+ return { ...state, toasts: [] };
11414
+ }
11415
+ return {
11416
+ ...state,
11417
+ toasts: state.toasts.filter((t) => t.id !== action.toastId)
11418
+ };
11419
+ }
11420
+ };
11421
+ var listeners = [];
11422
+ var memoryState = { toasts: [] };
11423
+ function dispatch(action) {
11424
+ console.log("dispatching toast");
11425
+ memoryState = reducer(memoryState, action);
11426
+ listeners.forEach((listener) => {
11427
+ console.log("mapping through listerners in dispathc");
11428
+ listener(memoryState);
11429
+ });
11430
+ }
11431
+ function toast({ ...props }) {
11432
+ const id = genId();
11433
+ const update = (props2) => dispatch({
11434
+ type: "UPDATE_TOAST",
11435
+ toast: { ...props2, id }
11436
+ });
11437
+ const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id });
11438
+ dispatch({
11439
+ type: "ADD_TOAST",
11440
+ toast: {
11441
+ ...props,
11442
+ id,
11443
+ open: true,
11444
+ onOpenChange: (open) => {
11445
+ if (!open)
11446
+ dismiss();
11447
+ }
11448
+ }
11449
+ });
11450
+ return {
11451
+ id,
11452
+ dismiss,
11453
+ update
11454
+ };
11455
+ }
11456
+ function useToast() {
11457
+ const [state, setState] = React103.useState(memoryState);
11458
+ React103.useEffect(() => {
11459
+ console.log("useToast triggered in useEffect");
11460
+ console.log("toast state", state);
11461
+ console.log("listerners BEFORE", listeners);
11462
+ console.log("TOAST: setState is ", setState);
11463
+ listeners.push(setState);
11464
+ return () => {
11465
+ const index = listeners.indexOf(setState);
11466
+ console.log("listerners AFTER", listeners);
11467
+ if (index > -1) {
11468
+ listeners.splice(index, 1);
11469
+ }
11470
+ };
11471
+ }, [state]);
11472
+ return {
11473
+ ...state,
11474
+ toast,
11475
+ dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId })
11476
+ };
11477
+ }
11483
11478
 
11484
11479
  // hooks/useCarousel.ts
11485
11480
  import { useState as useState39, useRef as useRef15 } from "react";