@chaibuilder/sdk 1.2.61 → 1.2.62

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 (74) hide show
  1. package/README.md +1 -1
  2. package/dist/AddBlocks-Wja5xsTO.cjs +1 -0
  3. package/dist/{AddBlocks-L-3Io1jR.js → AddBlocks-ucNQHhx7.js} +18 -18
  4. package/dist/CanvasArea-1lUzUorh.js +975 -0
  5. package/dist/CanvasArea-dsxnMndK.cjs +60 -0
  6. package/dist/{CodeEditor-cY6z8D4N.js → CodeEditor-LeNocbY6.js} +1 -1
  7. package/dist/{CodeEditor-NuzOGqRn.cjs → CodeEditor-kk0bmQ3P.cjs} +1 -1
  8. package/dist/{CurrentPage-hoe1khi5.js → CurrentPage-huy7O-ih.js} +3 -3
  9. package/dist/{CurrentPage-_K-CIG12.cjs → CurrentPage-oPzQ-MY2.cjs} +1 -1
  10. package/dist/{ListTree-yoltG7gq.js → ListTree-5T-2KuBE.js} +1 -1
  11. package/dist/{ListTree-8jpTvI-s.cjs → ListTree-Fwl6Dtgc.cjs} +1 -1
  12. package/dist/{PagesPanel-ITbSJK04.cjs → PagesPanel-85U4O4ex.cjs} +1 -1
  13. package/dist/{PagesPanel-72BMvQe1.js → PagesPanel-IT7AmWMs.js} +4 -4
  14. package/dist/{ProjectPanel-2k7uFIr3.cjs → ProjectPanel-NiOqTkub.cjs} +1 -1
  15. package/dist/{ProjectPanel-Z5SIPEUd.js → ProjectPanel-hhxqbHEX.js} +4 -4
  16. package/dist/{Settings-ye3f6PLl.cjs → Settings-NqIs7PLQ.cjs} +1 -1
  17. package/dist/{Settings-vEsUk_p5.js → Settings-UO9zB4rm.js} +2 -2
  18. package/dist/{SidePanels-DPh7uRVD.js → SidePanels-2ZXeWnl7.js} +3 -3
  19. package/dist/{SidePanels-o_ItFCvJ.cjs → SidePanels-n5WUkXLw.cjs} +1 -1
  20. package/dist/{ThemeConfiguration-03I3INEI.cjs → ThemeConfiguration-UNRnCxnU.cjs} +1 -1
  21. package/dist/{ThemeConfiguration-e_4e_ZcS.js → ThemeConfiguration-VSQaQn9_.js} +4 -4
  22. package/dist/{Topbar-9ZZq8_wR.js → Topbar-Tkn___pR.js} +2 -2
  23. package/dist/{Topbar-z4-2S39X.cjs → Topbar-m48Xdj0O.cjs} +1 -1
  24. package/dist/UILibrariesPanel-0NMxbnSZ.js +215 -0
  25. package/dist/UILibrariesPanel-9V4REpxW.cjs +1 -0
  26. package/dist/{UnsplashImages-Y0TGxNbH.js → UnsplashImages-LU3fiooG.js} +1 -1
  27. package/dist/{UnsplashImages-5JbDig-S.cjs → UnsplashImages-fm761J9M.cjs} +1 -1
  28. package/dist/{UploadImages-f6wPPJxc.cjs → UploadImages-2_SIuRI7.cjs} +1 -1
  29. package/dist/{UploadImages-Dh35M55S.js → UploadImages-MjYi7gfH.js} +1 -1
  30. package/dist/{add-page-modal-j-TpEdWv.cjs → add-page-modal-QdlPDeMk.cjs} +1 -1
  31. package/dist/{add-page-modal-vQn_hxH5.js → add-page-modal-TWTjEGxY.js} +4 -4
  32. package/dist/{atoms-a0H_593V.cjs → atoms-KQpaDRnF.cjs} +1 -1
  33. package/dist/{atoms-ZOWyNoiC.js → atoms-Oomqut88.js} +2 -2
  34. package/dist/{confirm-alert-pGxJwZ2Q.js → confirm-alert-RNzVJyhU.js} +1 -1
  35. package/dist/{confirm-alert-C3wsf6lk.cjs → confirm-alert-gFBHhF1C.cjs} +1 -1
  36. package/dist/core.cjs +1 -1
  37. package/dist/core.js +2 -2
  38. package/dist/{delete-page-modal-PJR01Hk4.cjs → delete-page-modal-B5W3a1ZW.cjs} +1 -1
  39. package/dist/{delete-page-modal-IcqtlUoA.js → delete-page-modal-sUlXQ02P.js} +3 -3
  40. package/dist/email.cjs +1 -1
  41. package/dist/email.js +2 -2
  42. package/dist/{form-pya-o19L.js → form-c4b4A8Ap.js} +1 -1
  43. package/dist/{form-D9cWMUJ4.cjs → form-lqNXs-pv.cjs} +1 -1
  44. package/dist/{index-zP6-6HxK.js → index-0M3H1dVb.js} +3 -3
  45. package/dist/{index-TzLilp-0.js → index-SyrshOUV.js} +399 -402
  46. package/dist/{index-hHmusBAU.cjs → index-TKS5_SlD.cjs} +1 -1
  47. package/dist/{index-1OAjmTyp.js → index-WN67ca4z.js} +2 -2
  48. package/dist/{index-hdfBoPkh.cjs → index-afblGXKA.cjs} +2 -2
  49. package/dist/index-upb0eDoG.cjs +1 -0
  50. package/dist/lib.cjs +2 -2
  51. package/dist/lib.js +97 -146
  52. package/dist/{page-viewer-Y7vK77bu.js → page-viewer-qb3ot43w.js} +4 -4
  53. package/dist/{page-viewer-9PK_DG5o.cjs → page-viewer-v4K0Wkhx.cjs} +1 -1
  54. package/dist/plugin-2hf9pCRy.cjs +1 -0
  55. package/dist/plugin-wDnsBVPp.js +54 -0
  56. package/dist/{project-general-setting-z943m0_C.js → project-general-setting-LfoijnjK.js} +4 -4
  57. package/dist/{project-general-setting-7epnyvtg.cjs → project-general-setting-Q7hgQy5G.cjs} +1 -1
  58. package/dist/{project-seo-setting-rjrO9KDR.cjs → project-seo-setting-rjVkahzj.cjs} +1 -1
  59. package/dist/{project-seo-setting-PXJe5SSV.js → project-seo-setting-ztis1_yw.js} +2 -2
  60. package/dist/{single-page-detail-My6c05Vt.js → single-page-detail-Neoai4eq.js} +11 -11
  61. package/dist/{single-page-detail-lnU7gxgk.cjs → single-page-detail-tR7Qp9T4.cjs} +1 -1
  62. package/dist/studio.cjs +1 -1
  63. package/dist/studio.js +3 -3
  64. package/dist/ui.cjs +1 -1
  65. package/dist/ui.js +44 -44
  66. package/dist/web-blocks.cjs +1 -1
  67. package/dist/web-blocks.js +1 -1
  68. package/package.json +1 -1
  69. package/dist/AddBlocks-BtMNa99n.cjs +0 -1
  70. package/dist/CanvasArea-SgKI8O-Y.cjs +0 -59
  71. package/dist/CanvasArea-xq30AEQD.js +0 -978
  72. package/dist/UILibrariesPanel-LGbh-IZP.cjs +0 -1
  73. package/dist/UILibrariesPanel-PP4QDQRZ.js +0 -216
  74. package/dist/index-cH1CfTbV.cjs +0 -1
@@ -1,6 +1,6 @@
1
1
  import { j as a } from "./jsx-runtime-WbnYoNE9.js";
2
2
  import * as f from "react";
3
- import nt, { createContext as Ls, useContext as Os, useRef as Br, createElement as Pr, useReducer as zs, useEffect as Me, useDebugValue as Vs, useCallback as F, useMemo as Fs, useState as Ee, Suspense as Nt } from "react";
3
+ import nt, { createContext as Ls, useContext as Os, useRef as _r, createElement as Br, useReducer as zs, useEffect as Me, useDebugValue as Vs, useCallback as F, useMemo as Fs, useState as Ee, Suspense as Nt } from "react";
4
4
  import * as Ft from "@radix-ui/react-toggle";
5
5
  import { cva as be } from "class-variance-authority";
6
6
  import { c as Pe, a as d } from "./utils-VpVqnC9m.js";
@@ -25,7 +25,7 @@ import { Command as Z } from "cmdk";
25
25
  import * as D from "@radix-ui/react-context-menu";
26
26
  import Gs, { IconPickerItem as Ys } from "react-icons-picker";
27
27
  import Xs from "react-dom";
28
- import { memoize as Oe, has as xe, get as q, flatten as de, filter as O, isString as lt, find as ae, map as M, omit as ze, each as ue, set as ye, includes as J, cloneDeep as zr, isEmpty as Ve, without as Ht, forIn as Wt, isObject as Ks, first as ee, noop as qe, keys as Je, startsWith as Gt, isNull as Ze, pick as kt, sortBy as At, chunk as qs } from "lodash-es";
28
+ import { memoize as Oe, has as xe, get as q, flatten as de, filter as O, isString as lt, find as ae, map as M, omit as ze, each as ue, set as ye, includes as J, cloneDeep as Or, isEmpty as Ve, without as Ht, forIn as Wt, isObject as Ks, first as ee, noop as qe, keys as Je, startsWith as Gt, isNull as Ze, pick as kt, sortBy as At, chunk as qs } from "lodash-es";
29
29
  import Js from "react-quill";
30
30
  import { g as me, a as Zs } from "./Functions-7jnEwJyw.js";
31
31
  import { getBlockComponent as Fe } from "@chaibuilder/runtime";
@@ -503,7 +503,7 @@ function wo(e, t) {
503
503
  t || vo
504
504
  );
505
505
  }
506
- function Kr(e) {
506
+ function Xr(e) {
507
507
  const t = Symbol(), s = ce(t);
508
508
  (ct ? "production" : void 0) !== "production" && (s.debugPrivate = !0);
509
509
  const o = ce(
@@ -594,7 +594,7 @@ const Kt = v(null);
594
594
  Kt.debugLabel = "chaiBuilderPropsAtom";
595
595
  const So = v({});
596
596
  So.debugLabel = "chaiExternalDataAtom";
597
- const qr = () => !1, Co = (e) => {
597
+ const Kr = () => !1, Co = (e) => {
598
598
  const t = e.replace(ge, "").split(",");
599
599
  return { baseClasses: t[0], classes: t[1] };
600
600
  }, Rt = Oe((e, t) => {
@@ -602,13 +602,13 @@ const qr = () => !1, Co = (e) => {
602
602
  return !0;
603
603
  const s = Fe(e);
604
604
  return s && xe(s, "canAcceptBlock") ? s.canAcceptBlock(t) : !1;
605
- }), Jr = Oe((e, t) => {
605
+ }), qr = Oe((e, t) => {
606
606
  const s = Fe(t);
607
607
  return s && xe(s, "canBeNested") ? s.canBeNested(e) : !0;
608
- }), Zr = Oe((e) => {
608
+ }), Jr = Oe((e) => {
609
609
  const t = Fe(e);
610
610
  return t && xe(t, "canDuplicate") ? t.canDuplicate() : !0;
611
- }), Qr = Oe((e) => {
611
+ }), Zr = Oe((e) => {
612
612
  const t = Fe(e);
613
613
  return t && xe(t, "canDelete") ? t.canDelete() : !0;
614
614
  });
@@ -716,10 +716,10 @@ const mt = v("");
716
716
  mt.debugLabel = "styleStateAtom";
717
717
  const ss = Ne("styleBreakpoint", "xs");
718
718
  ss.debugLabel = "styleBreakpointAtom";
719
- const ei = () => ({
719
+ const Qr = () => ({
720
720
  flexChild: te(es),
721
721
  gridChild: te(ts)
722
- }), ti = () => te(Ue), si = v((e) => {
722
+ }), ei = () => te(Ue), ti = v((e) => {
723
723
  const t = e(Ue), s = e(re);
724
724
  let o = t;
725
725
  const n = [t];
@@ -834,11 +834,11 @@ const $e = () => {
834
834
  return "";
835
835
  }
836
836
  };
837
- const oi = (e, t) => {
837
+ const si = (e, t) => {
838
838
  const s = {};
839
839
  return ye(s, e, t), s;
840
840
  };
841
- var pt = { exports: {} }, ni = pt.exports;
841
+ var pt = { exports: {} }, oi = pt.exports;
842
842
  (function(e) {
843
843
  (function() {
844
844
  "use strict";
@@ -950,7 +950,7 @@ const Lo = /* @__PURE__ */ eo(Do), Oo = v(et), zo = v(null), ns = () => {
950
950
  Ks(e) ? { ...et, ...e } : et,
951
951
  t
952
952
  ];
953
- }, ai = () => z(zo), Vo = v(null), Fo = () => ({ currentPage: te(Vo) });
953
+ }, ni = () => z(zo), Vo = v(null), Fo = () => ({ currentPage: te(Vo) });
954
954
  function as(e) {
955
955
  return Jt(e);
956
956
  }
@@ -1024,7 +1024,7 @@ const Ho = () => {
1024
1024
  cs.debugLabel = "dataProvidersAtom";
1025
1025
  const Wo = () => z(cs), ht = v("SAVED");
1026
1026
  ht.debugLabel = "builderSaveStateAtom";
1027
- const ri = () => {
1027
+ const ai = () => {
1028
1028
  const [e, t] = z(ht), s = ne("onSavePage", async (l) => {
1029
1029
  }), o = ne("onSave", async (l) => {
1030
1030
  }), n = ne("onSaveStateChange", qe), r = Ho(), [i] = Wo(), [c] = ns();
@@ -1059,7 +1059,7 @@ const ds = () => {
1059
1059
  }, xt = (e, t) => {
1060
1060
  const s = [], o = O(e, (n) => J(t, n._id) || J(t, n._parent) ? (s.push(n._id), !1) : !0);
1061
1061
  return Ve(s) ? o : xt(o, s);
1062
- }, ii = () => {
1062
+ }, ri = () => {
1063
1063
  const [e] = ke(), [t, s] = $e(), { setNewBlocks: o } = ie();
1064
1064
  return F(
1065
1065
  (n) => {
@@ -1220,7 +1220,7 @@ const qo = () => {
1220
1220
  });
1221
1221
  }
1222
1222
  };
1223
- }, li = () => {
1223
+ }, ii = () => {
1224
1224
  const [e] = ke(), [, t] = $e(), { addBlocks: s } = ie(), o = F(
1225
1225
  (r, i, c) => {
1226
1226
  var k;
@@ -1355,7 +1355,7 @@ const Qo = () => z(_e), en = (e) => {
1355
1355
  props: { [r.prop]: `${ge}${Zo(p, l, o)}` }
1356
1356
  };
1357
1357
  });
1358
- }), ci = () => {
1358
+ }), li = () => {
1359
1359
  const e = je(tn), { updateBlocks: t, updateBlocksRuntime: s } = ie();
1360
1360
  return F(
1361
1361
  (o, n, r = !1) => {
@@ -1371,12 +1371,12 @@ const Qo = () => z(_e), en = (e) => {
1371
1371
  }, sn = () => z(ss), us = Ne("canvasWidth", 800), fs = v((e) => {
1372
1372
  const t = e(us);
1373
1373
  return Zs(t).toLowerCase();
1374
- }), di = () => {
1374
+ }), ci = () => {
1375
1375
  const [e, t] = z(us), s = te(fs), [o, n] = sn();
1376
1376
  return Me(() => {
1377
1377
  o !== "xs" && n(s);
1378
1378
  }, [s, o, n]), [e, s, t];
1379
- }, on = Ne("canvasZoom", 100), ui = () => z(on), ms = v([]), nn = () => {
1379
+ }, on = Ne("canvasZoom", 100), di = () => z(on), ms = v([]), nn = () => {
1380
1380
  const [e, t] = z(ms), s = je(vt), o = F(
1381
1381
  (n) => {
1382
1382
  t(n), s([]);
@@ -1384,7 +1384,7 @@ const Qo = () => z(_e), en = (e) => {
1384
1384
  [t, s]
1385
1385
  );
1386
1386
  return [e, o];
1387
- }, vt = v([]), fi = () => {
1387
+ }, vt = v([]), ui = () => {
1388
1388
  const [e, t] = z(vt), s = je(ms), o = F(
1389
1389
  (n) => {
1390
1390
  t(n), s([]);
@@ -1392,7 +1392,7 @@ const Qo = () => z(_e), en = (e) => {
1392
1392
  [t, s]
1393
1393
  );
1394
1394
  return [e, o];
1395
- }, ps = Ne("darkMode", !1), mi = () => {
1395
+ }, ps = Ne("darkMode", !1), fi = () => {
1396
1396
  const [e, t] = z(ps);
1397
1397
  return [e, t];
1398
1398
  }, an = () => {
@@ -1412,7 +1412,7 @@ const Qo = () => z(_e), en = (e) => {
1412
1412
  },
1413
1413
  [e, t]
1414
1414
  );
1415
- }, rn = v([]), pi = () => {
1415
+ }, rn = v([]), mi = () => {
1416
1416
  const [e, t] = z(rn), s = F(
1417
1417
  (o) => {
1418
1418
  t((n) => J(n, o) ? Ht(n, o) : [...n, o]);
@@ -1429,7 +1429,7 @@ const Qo = () => z(_e), en = (e) => {
1429
1429
  },
1430
1430
  [e]
1431
1431
  );
1432
- }, gi = () => {
1432
+ }, pi = () => {
1433
1433
  console.warn("usePasteBlocks is not implemented");
1434
1434
  const e = te(vt), [t, s] = nn(), o = an(), n = dn();
1435
1435
  return {
@@ -1444,7 +1444,7 @@ const Qo = () => z(_e), en = (e) => {
1444
1444
  [t, e, o, n, s]
1445
1445
  )
1446
1446
  };
1447
- }, un = v(!1), bi = () => {
1447
+ }, un = v(!1), gi = () => {
1448
1448
  const [e, t] = z(un);
1449
1449
  return [e, t];
1450
1450
  }, fn = v(null, (e, t, { blockIds: s, fullClasses: o }) => {
@@ -1473,7 +1473,7 @@ const Qo = () => z(_e), en = (e) => {
1473
1473
  }
1474
1474
  };
1475
1475
  });
1476
- }), hi = () => {
1476
+ }), bi = () => {
1477
1477
  const { updateBlocks: e } = ie(), t = je(fn);
1478
1478
  return F(
1479
1479
  (s, o) => {
@@ -1488,7 +1488,7 @@ const Qo = () => z(_e), en = (e) => {
1488
1488
  return [];
1489
1489
  const n = q(s, t.prop, `${ge},`).replace(ge, "").split(",").join(" ");
1490
1490
  return O(M(n.trim().split(" "), Pe), (r) => !Ze(r));
1491
- }), xi = () => te(gs), Ot = { xs: 0, sm: 1, md: 2, lg: 3, xl: 4, "2xl": 5 }, mn = v((e) => {
1491
+ }), hi = () => te(gs), Ot = { xs: 0, sm: 1, md: 2, lg: 3, xl: 4, "2xl": 5 }, mn = v((e) => {
1492
1492
  const t = e(fs), s = e(mt), o = e(ps), n = pn(t);
1493
1493
  let r = O(e(gs), { mod: s });
1494
1494
  return Gt(s, "_") || (r = O(r, (i) => n.includes(i.mq))), r = r.sort((i, c) => Ot[i.mq] - Ot[c.mq]), o || (r = O(r, { dark: !1 })), r;
@@ -1518,7 +1518,7 @@ const Qo = () => z(_e), en = (e) => {
1518
1518
  break;
1519
1519
  }
1520
1520
  return t;
1521
- }, vi = () => te(mn), yi = () => z(mt), wi = () => {
1521
+ }, xi = () => te(mn), vi = () => z(mt), yi = () => {
1522
1522
  const { updateBlocks: e } = ie();
1523
1523
  return F(
1524
1524
  (t, s, o) => {
@@ -1526,7 +1526,7 @@ const Qo = () => z(_e), en = (e) => {
1526
1526
  },
1527
1527
  [e]
1528
1528
  );
1529
- }, Ni = () => {
1529
+ }, wi = () => {
1530
1530
  const { updateMultipleBlocksProps: e } = ie();
1531
1531
  return F(
1532
1532
  (t) => {
@@ -1552,7 +1552,7 @@ const Qo = () => z(_e), en = (e) => {
1552
1552
  },
1553
1553
  [e]
1554
1554
  );
1555
- }, ki = () => {
1555
+ }, Ni = () => {
1556
1556
  const { updateMultipleBlocksProps: e } = ie(), t = gn();
1557
1557
  return F(
1558
1558
  async (s) => {
@@ -1562,7 +1562,7 @@ const Qo = () => z(_e), en = (e) => {
1562
1562
  },
1563
1563
  [e]
1564
1564
  );
1565
- }, Ai = () => {
1565
+ }, ki = () => {
1566
1566
  const { updateBlocksRuntime: e } = ie();
1567
1567
  return F(
1568
1568
  (t, s) => {
@@ -1575,7 +1575,7 @@ const Qo = () => z(_e), en = (e) => {
1575
1575
  props: {},
1576
1576
  modalProps: {},
1577
1577
  backdropClose: !0
1578
- }, bn = v(bs), Si = () => {
1578
+ }, bn = v(bs), Ai = () => {
1579
1579
  const [e, t] = z(bn), s = F(
1580
1580
  (n, r = {}, i = {}) => {
1581
1581
  t({ name: n, props: r, modalProps: i });
@@ -1593,7 +1593,7 @@ const Qo = () => z(_e), en = (e) => {
1593
1593
  openModal: s,
1594
1594
  closeModal: o
1595
1595
  };
1596
- }, Ci = () => (console.warn("useAllBlocks is deprecated, use useBlocksStore() instead"), te(re)), hs = v(!1);
1596
+ }, Si = () => (console.warn("useAllBlocks is deprecated, use useBlocksStore() instead"), te(re)), hs = v(!1);
1597
1597
  hs.debugLabel = "readOnlyModeAtom";
1598
1598
  const hn = v("online");
1599
1599
  hn.debugLabel = "networkModeAtom";
@@ -1615,29 +1615,27 @@ const An = v("");
1615
1615
  An.debugLabel = "inlineEditingActiveAtom";
1616
1616
  const Sn = v(!1);
1617
1617
  Sn.debugLabel = "draggingFlagAtom";
1618
- const Cn = v("");
1619
- Cn.debugLabel = "draggedBlockIdAtom";
1620
- const jn = v(null);
1621
- jn.debugLabel = "treeRefAtom";
1622
- const _n = v({});
1623
- _n.debugLabel = "canvasSettingsAtom";
1618
+ const Cn = v(null);
1619
+ Cn.debugLabel = "treeRefAtom";
1620
+ const jn = v({});
1621
+ jn.debugLabel = "canvasSettingsAtom";
1624
1622
  const vs = v(!1);
1625
1623
  vs.debugLabel = "askAiActiveBlockAtom";
1626
- const Bn = v(!1);
1627
- Bn.debugLabel = "codeEditorOpenAtom";
1628
- const Pn = Ne("codeEditorHeight", 500);
1629
- Pn.debugLabel = "codeEditorHeightAtom";
1630
- const Rn = v([]);
1631
- Rn.debugLabel = "xShowBlocksAtom";
1632
- const ji = () => te(hs), Tn = v(""), In = v(null), _i = () => z(Tn), Bi = () => z(In), Mn = Ne("selectedBreakpoints", ["XS", "MD", "XL"]), Pi = () => {
1633
- const [e, t] = z(Mn);
1624
+ const _n = v(!1);
1625
+ _n.debugLabel = "codeEditorOpenAtom";
1626
+ const Bn = Ne("codeEditorHeight", 500);
1627
+ Bn.debugLabel = "codeEditorHeightAtom";
1628
+ const Pn = v([]);
1629
+ Pn.debugLabel = "xShowBlocksAtom";
1630
+ const Ci = () => te(hs), Rn = v(""), Tn = v(null), ji = () => z(Rn), _i = () => z(Tn), In = Ne("selectedBreakpoints", ["XS", "MD", "XL"]), Bi = () => {
1631
+ const [e, t] = z(In);
1634
1632
  return [e, t];
1635
- }, Ri = () => {
1633
+ }, Pi = () => {
1636
1634
  const e = je(xs), { clear: t } = ds(), [, s] = $e(), [, o] = cn(), [, n] = Qo(), [, r] = bo(vs);
1637
1635
  return () => {
1638
1636
  s([]), n([]), o(""), t(), r(!1), e({ undoCount: 0, redoCount: 0 });
1639
1637
  };
1640
- }, Ti = () => ({ data: ne("uiLibraries", []), isLoading: !1 }), Ii = () => {
1638
+ }, Ri = () => ({ data: ne("uiLibraries", []), isLoading: !1 }), Ti = () => {
1641
1639
  const [e, t] = Ee(null), s = F(async (o) => {
1642
1640
  if (!(navigator != null && navigator.clipboard))
1643
1641
  return console.warn("Clipboard not supported"), !1;
@@ -1648,7 +1646,7 @@ const ji = () => te(hs), Tn = v(""), In = v(null), _i = () => z(Tn), Bi = () =>
1648
1646
  }
1649
1647
  }, []);
1650
1648
  return [e, s];
1651
- }, En = v(null), Mi = () => z(En), Dn = be(
1649
+ }, Mn = v(null), Ii = () => z(Mn), En = be(
1652
1650
  "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
1653
1651
  {
1654
1652
  variants: {
@@ -1667,9 +1665,9 @@ const ji = () => te(hs), Tn = v(""), In = v(null), _i = () => z(Tn), Bi = () =>
1667
1665
  size: "default"
1668
1666
  }
1669
1667
  }
1670
- ), Ln = f.forwardRef(({ className: e, variant: t, size: s, ...o }, n) => /* @__PURE__ */ a.jsx(Ft.Root, { ref: n, className: d(Dn({ variant: t, size: s, className: e })), ...o }));
1671
- Ln.displayName = Ft.Root.displayName;
1672
- const On = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1668
+ ), Dn = f.forwardRef(({ className: e, variant: t, size: s, ...o }, n) => /* @__PURE__ */ a.jsx(Ft.Root, { ref: n, className: d(En({ variant: t, size: s, className: e })), ...o }));
1669
+ Dn.displayName = Ft.Root.displayName;
1670
+ const Ln = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1673
1671
  Ke.Root,
1674
1672
  {
1675
1673
  className: d(
@@ -1688,7 +1686,7 @@ const On = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1688
1686
  )
1689
1687
  }
1690
1688
  ));
1691
- On.displayName = Ke.Root.displayName;
1689
+ Ln.displayName = Ke.Root.displayName;
1692
1690
  const yt = be(
1693
1691
  "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
1694
1692
  {
@@ -1713,16 +1711,16 @@ const yt = be(
1713
1711
  size: "default"
1714
1712
  }
1715
1713
  }
1716
- ), zn = f.forwardRef(
1714
+ ), On = f.forwardRef(
1717
1715
  ({ className: e, variant: t, size: s, asChild: o = !1, ...n }, r) => {
1718
1716
  const i = o ? Us : "button";
1719
1717
  return /* @__PURE__ */ a.jsx(i, { className: d(yt({ variant: t, size: s, className: e })), ref: r, ...n });
1720
1718
  }
1721
1719
  );
1722
- zn.displayName = "Button";
1723
- const Ei = pe.Root, Vn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(pe.Item, { ref: s, className: d("border-b", e), ...t }));
1724
- Vn.displayName = "AccordionItem";
1725
- const Fn = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(pe.Header, { className: "flex", children: /* @__PURE__ */ a.jsxs(
1720
+ On.displayName = "Button";
1721
+ const Mi = pe.Root, zn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(pe.Item, { ref: s, className: d("border-b", e), ...t }));
1722
+ zn.displayName = "AccordionItem";
1723
+ const Vn = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(pe.Header, { className: "flex", children: /* @__PURE__ */ a.jsxs(
1726
1724
  pe.Trigger,
1727
1725
  {
1728
1726
  ref: o,
@@ -1737,8 +1735,8 @@ const Fn = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1737
1735
  ]
1738
1736
  }
1739
1737
  ) }));
1740
- Fn.displayName = pe.Trigger.displayName;
1741
- const Un = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1738
+ Vn.displayName = pe.Trigger.displayName;
1739
+ const Fn = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1742
1740
  pe.Content,
1743
1741
  {
1744
1742
  ref: o,
@@ -1750,8 +1748,8 @@ const Un = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1750
1748
  children: /* @__PURE__ */ a.jsx("div", { className: "pb-4 pt-0", children: t })
1751
1749
  }
1752
1750
  ));
1753
- Un.displayName = pe.Content.displayName;
1754
- const $n = be(
1751
+ Fn.displayName = pe.Content.displayName;
1752
+ const Un = be(
1755
1753
  "relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
1756
1754
  {
1757
1755
  variants: {
@@ -1764,17 +1762,17 @@ const $n = be(
1764
1762
  variant: "default"
1765
1763
  }
1766
1764
  }
1767
- ), Hn = f.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx("div", { ref: o, role: "alert", className: d($n({ variant: t }), e), ...s }));
1768
- Hn.displayName = "Alert";
1769
- const Wn = f.forwardRef(
1765
+ ), $n = f.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx("div", { ref: o, role: "alert", className: d(Un({ variant: t }), e), ...s }));
1766
+ $n.displayName = "Alert";
1767
+ const Hn = f.forwardRef(
1770
1768
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("h5", { ref: s, className: d("mb-1 font-medium leading-none tracking-tight", e), ...t })
1771
1769
  );
1772
- Wn.displayName = "AlertTitle";
1773
- const Gn = f.forwardRef(
1770
+ Hn.displayName = "AlertTitle";
1771
+ const Wn = f.forwardRef(
1774
1772
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("text-sm [&_p]:leading-relaxed", e), ...t })
1775
1773
  );
1776
- Gn.displayName = "AlertDescription";
1777
- const Yn = be(
1774
+ Wn.displayName = "AlertDescription";
1775
+ const Gn = be(
1778
1776
  "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
1779
1777
  {
1780
1778
  variants: {
@@ -1789,7 +1787,7 @@ const Yn = be(
1789
1787
  variant: "default"
1790
1788
  }
1791
1789
  }
1792
- ), Di = ({ className: e, variant: t, ...s }) => /* @__PURE__ */ a.jsx("div", { className: d(Yn({ variant: t }), e), ...s }), Li = X.Root, Oi = X.Trigger, ys = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(X.Portal, { className: d(e), ...t });
1790
+ ), Ei = ({ className: e, variant: t, ...s }) => /* @__PURE__ */ a.jsx("div", { className: d(Gn({ variant: t }), e), ...s }), Di = X.Root, Li = X.Trigger, ys = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(X.Portal, { className: d(e), ...t });
1793
1791
  ys.displayName = X.Portal.displayName;
1794
1792
  const ws = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1795
1793
  X.Overlay,
@@ -1803,7 +1801,7 @@ const ws = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1803
1801
  }
1804
1802
  ));
1805
1803
  ws.displayName = X.Overlay.displayName;
1806
- const Xn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs(ys, { children: [
1804
+ const Yn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs(ys, { children: [
1807
1805
  /* @__PURE__ */ a.jsx(ws, {}),
1808
1806
  /* @__PURE__ */ a.jsx(
1809
1807
  X.Content,
@@ -1817,18 +1815,18 @@ const Xn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs(ys
1817
1815
  }
1818
1816
  )
1819
1817
  ] }));
1820
- Xn.displayName = X.Content.displayName;
1821
- const Kn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
1822
- Kn.displayName = "AlertDialogHeader";
1823
- const qn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1824
- qn.displayName = "AlertDialogFooter";
1825
- const Jn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(X.Title, { ref: s, className: d("text-lg font-semibold", e), ...t }));
1826
- Jn.displayName = X.Title.displayName;
1827
- const Zn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(X.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1828
- Zn.displayName = X.Description.displayName;
1829
- const Qn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(X.Action, { ref: s, className: d(yt(), e), ...t }));
1830
- Qn.displayName = X.Action.displayName;
1831
- const ea = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1818
+ Yn.displayName = X.Content.displayName;
1819
+ const Xn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
1820
+ Xn.displayName = "AlertDialogHeader";
1821
+ const Kn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1822
+ Kn.displayName = "AlertDialogFooter";
1823
+ const qn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(X.Title, { ref: s, className: d("text-lg font-semibold", e), ...t }));
1824
+ qn.displayName = X.Title.displayName;
1825
+ const Jn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(X.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1826
+ Jn.displayName = X.Description.displayName;
1827
+ const Zn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(X.Action, { ref: s, className: d(yt(), e), ...t }));
1828
+ Zn.displayName = X.Action.displayName;
1829
+ const Qn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1832
1830
  X.Cancel,
1833
1831
  {
1834
1832
  ref: s,
@@ -1836,8 +1834,8 @@ const ea = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1836
1834
  ...t
1837
1835
  }
1838
1836
  ));
1839
- ea.displayName = X.Cancel.displayName;
1840
- const Ns = T.Root, ta = T.Trigger, ks = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(T.Portal, { className: d(e), ...t });
1837
+ Qn.displayName = X.Cancel.displayName;
1838
+ const Ns = T.Root, ea = T.Trigger, ks = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(T.Portal, { className: d(e), ...t });
1841
1839
  ks.displayName = T.Portal.displayName;
1842
1840
  const As = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1843
1841
  T.Overlay,
@@ -1873,11 +1871,11 @@ const wt = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1873
1871
  )
1874
1872
  ] }));
1875
1873
  wt.displayName = T.Content.displayName;
1876
- const sa = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
1877
- sa.displayName = "DialogHeader";
1878
- const oa = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1879
- oa.displayName = "DialogFooter";
1880
- const na = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1874
+ const ta = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
1875
+ ta.displayName = "DialogHeader";
1876
+ const sa = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1877
+ sa.displayName = "DialogFooter";
1878
+ const oa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1881
1879
  T.Title,
1882
1880
  {
1883
1881
  ref: s,
@@ -1885,32 +1883,32 @@ const na = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1885
1883
  ...t
1886
1884
  }
1887
1885
  ));
1888
- na.displayName = T.Title.displayName;
1889
- const aa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1890
- aa.displayName = T.Description.displayName;
1891
- const ra = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
1892
- ra.displayName = "Card";
1893
- const ia = f.forwardRef(
1886
+ oa.displayName = T.Title.displayName;
1887
+ const na = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1888
+ na.displayName = T.Description.displayName;
1889
+ const aa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
1890
+ aa.displayName = "Card";
1891
+ const ra = f.forwardRef(
1894
1892
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("flex flex-col space-y-1.5 p-6", e), ...t })
1895
1893
  );
1896
- ia.displayName = "CardHeader";
1897
- const la = f.forwardRef(
1894
+ ra.displayName = "CardHeader";
1895
+ const ia = f.forwardRef(
1898
1896
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("h3", { ref: s, className: d("font-semibold leading-none tracking-tight", e), ...t })
1899
1897
  );
1900
- la.displayName = "CardTitle";
1901
- const ca = f.forwardRef(
1898
+ ia.displayName = "CardTitle";
1899
+ const la = f.forwardRef(
1902
1900
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("p", { ref: s, className: d("text-sm text-muted-foreground", e), ...t })
1903
1901
  );
1904
- ca.displayName = "CardDescription";
1905
- const da = f.forwardRef(
1902
+ la.displayName = "CardDescription";
1903
+ const ca = f.forwardRef(
1906
1904
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("p-6 pt-0", e), ...t })
1907
1905
  );
1908
- da.displayName = "CardContent";
1909
- const ua = f.forwardRef(
1906
+ ca.displayName = "CardContent";
1907
+ const da = f.forwardRef(
1910
1908
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d(" flex items-center p-6 pt-0", e), ...t })
1911
1909
  );
1912
- ua.displayName = "CardFooter";
1913
- const fa = f.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1910
+ da.displayName = "CardFooter";
1911
+ const ua = f.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1914
1912
  "input",
1915
1913
  {
1916
1914
  type: t,
@@ -1925,10 +1923,10 @@ const fa = f.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */
1925
1923
  spellCheck: "false"
1926
1924
  }
1927
1925
  ));
1928
- fa.displayName = "Input";
1929
- const ma = be("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), pa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Ut.Root, { ref: s, className: d(ma(), e), ...t }));
1930
- pa.displayName = Ut.Root.displayName;
1931
- const ga = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1926
+ ua.displayName = "Input";
1927
+ const fa = be("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), ma = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Ut.Root, { ref: s, className: d(fa(), e), ...t }));
1928
+ ma.displayName = Ut.Root.displayName;
1929
+ const pa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1932
1930
  "textarea",
1933
1931
  {
1934
1932
  className: d(
@@ -1942,13 +1940,13 @@ const ga = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1942
1940
  spellCheck: "false"
1943
1941
  }
1944
1942
  ));
1945
- ga.displayName = "Textarea";
1946
- const ba = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(fe.Root, { ref: o, className: d("relative overflow-hidden", e), ...s, children: [
1943
+ pa.displayName = "Textarea";
1944
+ const ga = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(fe.Root, { ref: o, className: d("relative overflow-hidden", e), ...s, children: [
1947
1945
  /* @__PURE__ */ a.jsx(fe.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
1948
1946
  /* @__PURE__ */ a.jsx(Ss, {}),
1949
1947
  /* @__PURE__ */ a.jsx(fe.Corner, {})
1950
1948
  ] }));
1951
- ba.displayName = fe.Root.displayName;
1949
+ ga.displayName = fe.Root.displayName;
1952
1950
  const Ss = f.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o) => /* @__PURE__ */ a.jsx(
1953
1951
  fe.ScrollAreaScrollbar,
1954
1952
  {
@@ -1965,7 +1963,7 @@ const Ss = f.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o)
1965
1963
  }
1966
1964
  ));
1967
1965
  Ss.displayName = fe.ScrollAreaScrollbar.displayName;
1968
- const ha = he.Root, Cs = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1966
+ const ba = he.Root, Cs = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1969
1967
  he.List,
1970
1968
  {
1971
1969
  ref: s,
@@ -2001,7 +1999,7 @@ const ot = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2001
1999
  }
2002
2000
  ));
2003
2001
  ot.displayName = he.Content.displayName;
2004
- const zi = we.Portal, Vi = we.Provider, Fi = we.Root, Ui = we.Trigger, xa = f.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(
2002
+ const Oi = we.Portal, zi = we.Provider, Vi = we.Root, Fi = we.Trigger, ha = f.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(
2005
2003
  we.Content,
2006
2004
  {
2007
2005
  ref: o,
@@ -2013,8 +2011,8 @@ const zi = we.Portal, Vi = we.Provider, Fi = we.Root, Ui = we.Trigger, xa = f.fo
2013
2011
  ...s
2014
2012
  }
2015
2013
  ));
2016
- xa.displayName = we.Content.displayName;
2017
- const $i = Ce.Root, Hi = Ce.Trigger, va = f.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(Ce.Portal, { children: /* @__PURE__ */ a.jsx(
2014
+ ha.displayName = we.Content.displayName;
2015
+ const Ui = Ce.Root, $i = Ce.Trigger, xa = f.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(Ce.Portal, { children: /* @__PURE__ */ a.jsx(
2018
2016
  Ce.Content,
2019
2017
  {
2020
2018
  ref: n,
@@ -2027,8 +2025,8 @@ const $i = Ce.Root, Hi = Ce.Trigger, va = f.forwardRef(({ className: e, align: t
2027
2025
  ...o
2028
2026
  }
2029
2027
  ) }));
2030
- va.displayName = Ce.Content.displayName;
2031
- const Wi = B.Menu, Gi = B.Group, Yi = B.Portal, Xi = B.Sub, Ki = B.RadioGroup, ya = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2028
+ xa.displayName = Ce.Content.displayName;
2029
+ const Hi = B.Menu, Wi = B.Group, Gi = B.Portal, Yi = B.Sub, Xi = B.RadioGroup, va = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2032
2030
  B.Root,
2033
2031
  {
2034
2032
  ref: s,
@@ -2036,8 +2034,8 @@ const Wi = B.Menu, Gi = B.Group, Yi = B.Portal, Xi = B.Sub, Ki = B.RadioGroup, y
2036
2034
  ...t
2037
2035
  }
2038
2036
  ));
2039
- ya.displayName = B.Root.displayName;
2040
- const wa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2037
+ va.displayName = B.Root.displayName;
2038
+ const ya = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2041
2039
  B.Trigger,
2042
2040
  {
2043
2041
  ref: s,
@@ -2048,8 +2046,8 @@ const wa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2048
2046
  ...t
2049
2047
  }
2050
2048
  ));
2051
- wa.displayName = B.Trigger.displayName;
2052
- const Na = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2049
+ ya.displayName = B.Trigger.displayName;
2050
+ const wa = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2053
2051
  B.SubTrigger,
2054
2052
  {
2055
2053
  ref: n,
@@ -2065,8 +2063,8 @@ const Na = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /*
2065
2063
  ]
2066
2064
  }
2067
2065
  ));
2068
- Na.displayName = B.SubTrigger.displayName;
2069
- const ka = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2066
+ wa.displayName = B.SubTrigger.displayName;
2067
+ const Na = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2070
2068
  B.SubContent,
2071
2069
  {
2072
2070
  ref: s,
@@ -2077,8 +2075,8 @@ const ka = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2077
2075
  ...t
2078
2076
  }
2079
2077
  ));
2080
- ka.displayName = B.SubContent.displayName;
2081
- const Aa = f.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4, sideOffset: o = 8, ...n }, r) => /* @__PURE__ */ a.jsx(B.Portal, { children: /* @__PURE__ */ a.jsx(
2078
+ Na.displayName = B.SubContent.displayName;
2079
+ const ka = f.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4, sideOffset: o = 8, ...n }, r) => /* @__PURE__ */ a.jsx(B.Portal, { children: /* @__PURE__ */ a.jsx(
2082
2080
  B.Content,
2083
2081
  {
2084
2082
  ref: r,
@@ -2092,8 +2090,8 @@ const Aa = f.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4
2092
2090
  ...n
2093
2091
  }
2094
2092
  ) }));
2095
- Aa.displayName = B.Content.displayName;
2096
- const Sa = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2093
+ ka.displayName = B.Content.displayName;
2094
+ const Aa = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2097
2095
  B.Item,
2098
2096
  {
2099
2097
  ref: o,
@@ -2105,8 +2103,8 @@ const Sa = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
2105
2103
  ...s
2106
2104
  }
2107
2105
  ));
2108
- Sa.displayName = B.Item.displayName;
2109
- const Ca = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2106
+ Aa.displayName = B.Item.displayName;
2107
+ const Sa = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2110
2108
  B.CheckboxItem,
2111
2109
  {
2112
2110
  ref: n,
@@ -2122,8 +2120,8 @@ const Ca = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
2122
2120
  ]
2123
2121
  }
2124
2122
  ));
2125
- Ca.displayName = B.CheckboxItem.displayName;
2126
- const ja = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2123
+ Sa.displayName = B.CheckboxItem.displayName;
2124
+ const Ca = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2127
2125
  B.RadioItem,
2128
2126
  {
2129
2127
  ref: o,
@@ -2138,8 +2136,8 @@ const ja = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
2138
2136
  ]
2139
2137
  }
2140
2138
  ));
2141
- ja.displayName = B.RadioItem.displayName;
2142
- const _a = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2139
+ Ca.displayName = B.RadioItem.displayName;
2140
+ const ja = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2143
2141
  B.Label,
2144
2142
  {
2145
2143
  ref: o,
@@ -2147,12 +2145,12 @@ const _a = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
2147
2145
  ...s
2148
2146
  }
2149
2147
  ));
2150
- _a.displayName = B.Label.displayName;
2151
- const Ba = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
2152
- Ba.displayName = B.Separator.displayName;
2153
- const Pa = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2154
- Pa.displayname = "MenubarShortcut";
2155
- const qi = Le.Root, Ji = Le.Trigger, Ra = f.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(
2148
+ ja.displayName = B.Label.displayName;
2149
+ const _a = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
2150
+ _a.displayName = B.Separator.displayName;
2151
+ const Ba = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2152
+ Ba.displayname = "MenubarShortcut";
2153
+ const Ki = Le.Root, qi = Le.Trigger, Pa = f.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(
2156
2154
  Le.Content,
2157
2155
  {
2158
2156
  ref: n,
@@ -2165,8 +2163,8 @@ const qi = Le.Root, Ji = Le.Trigger, Ra = f.forwardRef(({ className: e, align: t
2165
2163
  ...o
2166
2164
  }
2167
2165
  ));
2168
- Ra.displayName = Le.Content.displayName;
2169
- const Zi = W.Root, Qi = W.Group, el = W.Value, Ta = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2166
+ Pa.displayName = Le.Content.displayName;
2167
+ const Ji = W.Root, Zi = W.Group, Qi = W.Value, Ra = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2170
2168
  W.Trigger,
2171
2169
  {
2172
2170
  ref: o,
@@ -2181,8 +2179,8 @@ const Zi = W.Root, Qi = W.Group, el = W.Value, Ta = f.forwardRef(({ className: e
2181
2179
  ]
2182
2180
  }
2183
2181
  ));
2184
- Ta.displayName = W.Trigger.displayName;
2185
- const Ia = f.forwardRef(({ className: e, children: t, position: s = "popper", ...o }, n) => /* @__PURE__ */ a.jsx(W.Portal, { children: /* @__PURE__ */ a.jsx(
2182
+ Ra.displayName = W.Trigger.displayName;
2183
+ const Ta = f.forwardRef(({ className: e, children: t, position: s = "popper", ...o }, n) => /* @__PURE__ */ a.jsx(W.Portal, { children: /* @__PURE__ */ a.jsx(
2186
2184
  W.Content,
2187
2185
  {
2188
2186
  ref: n,
@@ -2205,10 +2203,10 @@ const Ia = f.forwardRef(({ className: e, children: t, position: s = "popper", ..
2205
2203
  )
2206
2204
  }
2207
2205
  ) }));
2208
- Ia.displayName = W.Content.displayName;
2209
- const Ma = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(W.Label, { ref: s, className: d("px-2 py-1.5 text-sm font-semibold", e), ...t }));
2210
- Ma.displayName = W.Label.displayName;
2211
- const Ea = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2206
+ Ta.displayName = W.Content.displayName;
2207
+ const Ia = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(W.Label, { ref: s, className: d("px-2 py-1.5 text-sm font-semibold", e), ...t }));
2208
+ Ia.displayName = W.Label.displayName;
2209
+ const Ma = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2212
2210
  W.Item,
2213
2211
  {
2214
2212
  ref: o,
@@ -2223,10 +2221,10 @@ const Ea = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
2223
2221
  ]
2224
2222
  }
2225
2223
  ));
2226
- Ea.displayName = W.Item.displayName;
2227
- const Da = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(W.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
2228
- Da.displayName = W.Separator.displayName;
2229
- const tl = T.Root, sl = T.Trigger, ol = T.Close, js = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(T.Portal, { className: d(e), ...t });
2224
+ Ma.displayName = W.Item.displayName;
2225
+ const Ea = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(W.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
2226
+ Ea.displayName = W.Separator.displayName;
2227
+ const el = T.Root, tl = T.Trigger, sl = T.Close, js = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(T.Portal, { className: d(e), ...t });
2230
2228
  js.displayName = T.Portal.displayName;
2231
2229
  const _s = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2232
2230
  T.Overlay,
@@ -2240,7 +2238,7 @@ const _s = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2240
2238
  }
2241
2239
  ));
2242
2240
  _s.displayName = T.Overlay.displayName;
2243
- const La = be(
2241
+ const Da = be(
2244
2242
  "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
2245
2243
  {
2246
2244
  variants: {
@@ -2255,10 +2253,10 @@ const La = be(
2255
2253
  side: "right"
2256
2254
  }
2257
2255
  }
2258
- ), Oa = f.forwardRef(
2256
+ ), La = f.forwardRef(
2259
2257
  ({ side: e = "right", className: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(js, { children: [
2260
2258
  /* @__PURE__ */ a.jsx(_s, {}),
2261
- /* @__PURE__ */ a.jsxs(T.Content, { ref: n, className: d(La({ side: e }), t), ...o, children: [
2259
+ /* @__PURE__ */ a.jsxs(T.Content, { ref: n, className: d(Da({ side: e }), t), ...o, children: [
2262
2260
  s,
2263
2261
  /* @__PURE__ */ a.jsxs(T.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
2264
2262
  /* @__PURE__ */ a.jsx(at, { className: "h-4 w-4" }),
@@ -2267,16 +2265,16 @@ const La = be(
2267
2265
  ] })
2268
2266
  ] })
2269
2267
  );
2270
- Oa.displayName = T.Content.displayName;
2271
- const za = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
2272
- za.displayName = "SheetHeader";
2273
- const Va = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
2274
- Va.displayName = "SheetFooter";
2275
- const Fa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Title, { ref: s, className: d("text-lg font-semibold text-foreground", e), ...t }));
2276
- Fa.displayName = T.Title.displayName;
2277
- const Ua = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
2278
- Ua.displayName = T.Description.displayName;
2279
- const nl = E.Root, al = E.Trigger, rl = E.Group, il = E.Portal, ll = E.Sub, cl = E.RadioGroup, $a = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2268
+ La.displayName = T.Content.displayName;
2269
+ const Oa = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
2270
+ Oa.displayName = "SheetHeader";
2271
+ const za = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
2272
+ za.displayName = "SheetFooter";
2273
+ const Va = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Title, { ref: s, className: d("text-lg font-semibold text-foreground", e), ...t }));
2274
+ Va.displayName = T.Title.displayName;
2275
+ const Fa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
2276
+ Fa.displayName = T.Description.displayName;
2277
+ const ol = E.Root, nl = E.Trigger, al = E.Group, rl = E.Portal, il = E.Sub, ll = E.RadioGroup, Ua = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2280
2278
  E.SubTrigger,
2281
2279
  {
2282
2280
  ref: n,
@@ -2292,8 +2290,8 @@ const nl = E.Root, al = E.Trigger, rl = E.Group, il = E.Portal, ll = E.Sub, cl =
2292
2290
  ]
2293
2291
  }
2294
2292
  ));
2295
- $a.displayName = E.SubTrigger.displayName;
2296
- const Ha = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2293
+ Ua.displayName = E.SubTrigger.displayName;
2294
+ const $a = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2297
2295
  E.SubContent,
2298
2296
  {
2299
2297
  ref: s,
@@ -2304,8 +2302,8 @@ const Ha = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2304
2302
  ...t
2305
2303
  }
2306
2304
  ));
2307
- Ha.displayName = E.SubContent.displayName;
2308
- const Wa = f.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(E.Portal, { children: /* @__PURE__ */ a.jsx(
2305
+ $a.displayName = E.SubContent.displayName;
2306
+ const Ha = f.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(E.Portal, { children: /* @__PURE__ */ a.jsx(
2309
2307
  E.Content,
2310
2308
  {
2311
2309
  ref: o,
@@ -2318,8 +2316,8 @@ const Wa = f.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__
2318
2316
  ...s
2319
2317
  }
2320
2318
  ) }));
2321
- Wa.displayName = E.Content.displayName;
2322
- const Ga = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2319
+ Ha.displayName = E.Content.displayName;
2320
+ const Wa = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2323
2321
  E.Item,
2324
2322
  {
2325
2323
  ref: o,
@@ -2331,8 +2329,8 @@ const Ga = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
2331
2329
  ...s
2332
2330
  }
2333
2331
  ));
2334
- Ga.displayName = E.Item.displayName;
2335
- const Ya = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2332
+ Wa.displayName = E.Item.displayName;
2333
+ const Ga = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2336
2334
  E.CheckboxItem,
2337
2335
  {
2338
2336
  ref: n,
@@ -2348,8 +2346,8 @@ const Ya = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
2348
2346
  ]
2349
2347
  }
2350
2348
  ));
2351
- Ya.displayName = E.CheckboxItem.displayName;
2352
- const Xa = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2349
+ Ga.displayName = E.CheckboxItem.displayName;
2350
+ const Ya = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2353
2351
  E.RadioItem,
2354
2352
  {
2355
2353
  ref: o,
@@ -2364,8 +2362,8 @@ const Xa = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
2364
2362
  ]
2365
2363
  }
2366
2364
  ));
2367
- Xa.displayName = E.RadioItem.displayName;
2368
- const Ka = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2365
+ Ya.displayName = E.RadioItem.displayName;
2366
+ const Xa = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2369
2367
  E.Label,
2370
2368
  {
2371
2369
  ref: o,
@@ -2373,12 +2371,12 @@ const Ka = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
2373
2371
  ...s
2374
2372
  }
2375
2373
  ));
2376
- Ka.displayName = E.Label.displayName;
2377
- const qa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(E.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
2378
- qa.displayName = E.Separator.displayName;
2379
- const Ja = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest opacity-60", e), ...t });
2380
- Ja.displayName = "DropdownMenuShortcut";
2381
- const Za = f.forwardRef(({ className: e, orientation: t = "horizontal", decorative: s = !0, ...o }, n) => /* @__PURE__ */ a.jsx(
2374
+ Xa.displayName = E.Label.displayName;
2375
+ const Ka = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(E.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
2376
+ Ka.displayName = E.Separator.displayName;
2377
+ const qa = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest opacity-60", e), ...t });
2378
+ qa.displayName = "DropdownMenuShortcut";
2379
+ const Ja = f.forwardRef(({ className: e, orientation: t = "horizontal", decorative: s = !0, ...o }, n) => /* @__PURE__ */ a.jsx(
2382
2380
  $t.Root,
2383
2381
  {
2384
2382
  ref: n,
@@ -2388,10 +2386,10 @@ const Za = f.forwardRef(({ className: e, orientation: t = "horizontal", decorati
2388
2386
  ...o
2389
2387
  }
2390
2388
  ));
2391
- Za.displayName = $t.Root.displayName;
2392
- const Qa = 1, er = 1e6;
2389
+ Ja.displayName = $t.Root.displayName;
2390
+ const Za = 1, Qa = 1e6;
2393
2391
  let Ye = 0;
2394
- function tr() {
2392
+ function er() {
2395
2393
  return Ye = (Ye + 1) % Number.MAX_VALUE, Ye.toString();
2396
2394
  }
2397
2395
  const Xe = /* @__PURE__ */ new Map(), zt = (e) => {
@@ -2402,14 +2400,14 @@ const Xe = /* @__PURE__ */ new Map(), zt = (e) => {
2402
2400
  type: "REMOVE_TOAST",
2403
2401
  toastId: e
2404
2402
  });
2405
- }, er);
2403
+ }, Qa);
2406
2404
  Xe.set(e, t);
2407
- }, sr = (e, t) => {
2405
+ }, tr = (e, t) => {
2408
2406
  switch (t.type) {
2409
2407
  case "ADD_TOAST":
2410
2408
  return {
2411
2409
  ...e,
2412
- toasts: [t.toast, ...e.toasts].slice(0, Qa)
2410
+ toasts: [t.toast, ...e.toasts].slice(0, Za)
2413
2411
  };
2414
2412
  case "UPDATE_TOAST":
2415
2413
  return {
@@ -2442,12 +2440,12 @@ const Xe = /* @__PURE__ */ new Map(), zt = (e) => {
2442
2440
  }, Re = [];
2443
2441
  let Te = { toasts: [] };
2444
2442
  function Se(e) {
2445
- Te = sr(Te, e), Re.forEach((t) => {
2443
+ Te = tr(Te, e), Re.forEach((t) => {
2446
2444
  t(Te);
2447
2445
  });
2448
2446
  }
2449
- function or({ ...e }) {
2450
- const t = tr(), s = (n) => Se({
2447
+ function sr({ ...e }) {
2448
+ const t = er(), s = (n) => Se({
2451
2449
  type: "UPDATE_TOAST",
2452
2450
  toast: { ...n, id: t }
2453
2451
  }), o = () => Se({ type: "DISMISS_TOAST", toastId: t });
@@ -2467,18 +2465,18 @@ function or({ ...e }) {
2467
2465
  update: s
2468
2466
  };
2469
2467
  }
2470
- function nr() {
2468
+ function or() {
2471
2469
  const [e, t] = f.useState(Te);
2472
2470
  return f.useEffect(() => (Re.push(t), () => {
2473
2471
  const s = Re.indexOf(t);
2474
2472
  s > -1 && Re.splice(s, 1);
2475
2473
  }), [e]), {
2476
2474
  ...e,
2477
- toast: or,
2475
+ toast: sr,
2478
2476
  dismiss: (s) => Se({ type: "DISMISS_TOAST", toastId: s })
2479
2477
  };
2480
2478
  }
2481
- const ar = Q.Provider, Bs = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2479
+ const nr = Q.Provider, Bs = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2482
2480
  Q.Viewport,
2483
2481
  {
2484
2482
  ref: s,
@@ -2490,7 +2488,7 @@ const ar = Q.Provider, Bs = f.forwardRef(({ className: e, ...t }, s) => /* @__PU
2490
2488
  }
2491
2489
  ));
2492
2490
  Bs.displayName = Q.Viewport.displayName;
2493
- const rr = be(
2491
+ const ar = be(
2494
2492
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
2495
2493
  {
2496
2494
  variants: {
@@ -2503,9 +2501,9 @@ const rr = be(
2503
2501
  variant: "default"
2504
2502
  }
2505
2503
  }
2506
- ), Ps = f.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx(Q.Root, { ref: o, className: d(rr({ variant: t }), e), ...s }));
2504
+ ), Ps = f.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx(Q.Root, { ref: o, className: d(ar({ variant: t }), e), ...s }));
2507
2505
  Ps.displayName = Q.Root.displayName;
2508
- const ir = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2506
+ const rr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2509
2507
  Q.Action,
2510
2508
  {
2511
2509
  ref: s,
@@ -2516,7 +2514,7 @@ const ir = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2516
2514
  ...t
2517
2515
  }
2518
2516
  ));
2519
- ir.displayName = Q.Action.displayName;
2517
+ rr.displayName = Q.Action.displayName;
2520
2518
  const Rs = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2521
2519
  Q.Close,
2522
2520
  {
@@ -2535,9 +2533,9 @@ const Ts = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Q.T
2535
2533
  Ts.displayName = Q.Title.displayName;
2536
2534
  const Is = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Q.Description, { ref: s, className: d("text-sm opacity-90", e), ...t }));
2537
2535
  Is.displayName = Q.Description.displayName;
2538
- function dl() {
2539
- const { toasts: e } = nr();
2540
- return /* @__PURE__ */ a.jsxs(ar, { children: [
2536
+ function cl() {
2537
+ const { toasts: e } = or();
2538
+ return /* @__PURE__ */ a.jsxs(nr, { children: [
2541
2539
  e.map(({ id: t, title: s, description: o, action: n, ...r }) => /* @__PURE__ */ a.jsxs(Ps, { ...r, children: [
2542
2540
  /* @__PURE__ */ a.jsxs("div", { className: "grid gap-1", children: [
2543
2541
  s && /* @__PURE__ */ a.jsx(Ts, { children: s }),
@@ -2549,7 +2547,7 @@ function dl() {
2549
2547
  /* @__PURE__ */ a.jsx(Bs, {})
2550
2548
  ] });
2551
2549
  }
2552
- const ul = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("animate-pulse rounded-md bg-primary/10", e), ...t }), Ms = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2550
+ const dl = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("animate-pulse rounded-md bg-primary/10", e), ...t }), Ms = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2553
2551
  Z,
2554
2552
  {
2555
2553
  ref: s,
@@ -2561,7 +2559,7 @@ const ul = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className:
2561
2559
  }
2562
2560
  ));
2563
2561
  Ms.displayName = Z.displayName;
2564
- const fl = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(Ns, { ...t, children: /* @__PURE__ */ a.jsx(wt, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(Ms, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), lr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
2562
+ const ul = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(Ns, { ...t, children: /* @__PURE__ */ a.jsx(wt, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(Ms, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), ir = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
2565
2563
  /* @__PURE__ */ a.jsx(Ws, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
2566
2564
  /* @__PURE__ */ a.jsx(
2567
2565
  Z.Input,
@@ -2575,8 +2573,8 @@ const fl = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(Ns, { ...t, children
2575
2573
  }
2576
2574
  )
2577
2575
  ] }));
2578
- lr.displayName = Z.Input.displayName;
2579
- const cr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2576
+ ir.displayName = Z.Input.displayName;
2577
+ const lr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2580
2578
  Z.List,
2581
2579
  {
2582
2580
  ref: s,
@@ -2584,10 +2582,10 @@ const cr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2584
2582
  ...t
2585
2583
  }
2586
2584
  ));
2587
- cr.displayName = Z.List.displayName;
2588
- const dr = f.forwardRef((e, t) => /* @__PURE__ */ a.jsx(Z.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
2589
- dr.displayName = Z.Empty.displayName;
2590
- const ur = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2585
+ lr.displayName = Z.List.displayName;
2586
+ const cr = f.forwardRef((e, t) => /* @__PURE__ */ a.jsx(Z.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
2587
+ cr.displayName = Z.Empty.displayName;
2588
+ const dr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2591
2589
  Z.Group,
2592
2590
  {
2593
2591
  ref: s,
@@ -2598,10 +2596,10 @@ const ur = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2598
2596
  ...t
2599
2597
  }
2600
2598
  ));
2601
- ur.displayName = Z.Group.displayName;
2602
- const fr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Z.Separator, { ref: s, className: d("-mx-1 h-px bg-border", e), ...t }));
2603
- fr.displayName = Z.Separator.displayName;
2604
- const mr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2599
+ dr.displayName = Z.Group.displayName;
2600
+ const ur = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Z.Separator, { ref: s, className: d("-mx-1 h-px bg-border", e), ...t }));
2601
+ ur.displayName = Z.Separator.displayName;
2602
+ const fr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2605
2603
  Z.Item,
2606
2604
  {
2607
2605
  ref: s,
@@ -2612,10 +2610,10 @@ const mr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2612
2610
  ...t
2613
2611
  }
2614
2612
  ));
2615
- mr.displayName = Z.Item.displayName;
2616
- const pr = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2617
- pr.displayName = "CommandShortcut";
2618
- const ml = D.Root, pl = D.Trigger, gl = D.Group, bl = D.Portal, hl = D.Sub, xl = D.RadioGroup, gr = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2613
+ fr.displayName = Z.Item.displayName;
2614
+ const mr = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2615
+ mr.displayName = "CommandShortcut";
2616
+ const fl = D.Root, ml = D.Trigger, pl = D.Group, gl = D.Portal, bl = D.Sub, hl = D.RadioGroup, pr = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2619
2617
  D.SubTrigger,
2620
2618
  {
2621
2619
  ref: n,
@@ -2631,8 +2629,8 @@ const ml = D.Root, pl = D.Trigger, gl = D.Group, bl = D.Portal, hl = D.Sub, xl =
2631
2629
  ]
2632
2630
  }
2633
2631
  ));
2634
- gr.displayName = D.SubTrigger.displayName;
2635
- const br = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2632
+ pr.displayName = D.SubTrigger.displayName;
2633
+ const gr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2636
2634
  D.SubContent,
2637
2635
  {
2638
2636
  ref: s,
@@ -2643,8 +2641,8 @@ const br = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2643
2641
  ...t
2644
2642
  }
2645
2643
  ));
2646
- br.displayName = D.SubContent.displayName;
2647
- const hr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(D.Portal, { children: /* @__PURE__ */ a.jsx(
2644
+ gr.displayName = D.SubContent.displayName;
2645
+ const br = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(D.Portal, { children: /* @__PURE__ */ a.jsx(
2648
2646
  D.Content,
2649
2647
  {
2650
2648
  ref: s,
@@ -2655,8 +2653,8 @@ const hr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(D.P
2655
2653
  ...t
2656
2654
  }
2657
2655
  ) }));
2658
- hr.displayName = D.Content.displayName;
2659
- const xr = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2656
+ br.displayName = D.Content.displayName;
2657
+ const hr = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2660
2658
  D.Item,
2661
2659
  {
2662
2660
  ref: o,
@@ -2668,8 +2666,8 @@ const xr = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
2668
2666
  ...s
2669
2667
  }
2670
2668
  ));
2671
- xr.displayName = D.Item.displayName;
2672
- const vr = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2669
+ hr.displayName = D.Item.displayName;
2670
+ const xr = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2673
2671
  D.CheckboxItem,
2674
2672
  {
2675
2673
  ref: n,
@@ -2685,8 +2683,8 @@ const vr = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
2685
2683
  ]
2686
2684
  }
2687
2685
  ));
2688
- vr.displayName = D.CheckboxItem.displayName;
2689
- const yr = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2686
+ xr.displayName = D.CheckboxItem.displayName;
2687
+ const vr = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2690
2688
  D.RadioItem,
2691
2689
  {
2692
2690
  ref: o,
@@ -2701,8 +2699,8 @@ const yr = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
2701
2699
  ]
2702
2700
  }
2703
2701
  ));
2704
- yr.displayName = D.RadioItem.displayName;
2705
- const wr = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2702
+ vr.displayName = D.RadioItem.displayName;
2703
+ const yr = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2706
2704
  D.Label,
2707
2705
  {
2708
2706
  ref: o,
@@ -2710,12 +2708,12 @@ const wr = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
2710
2708
  ...s
2711
2709
  }
2712
2710
  ));
2713
- wr.displayName = D.Label.displayName;
2714
- const Nr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(D.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-border", e), ...t }));
2715
- Nr.displayName = D.Separator.displayName;
2716
- const kr = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2717
- kr.displayName = "ContextMenuShortcut";
2718
- const Ar = (e) => {
2711
+ yr.displayName = D.Label.displayName;
2712
+ const wr = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(D.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-border", e), ...t }));
2713
+ wr.displayName = D.Separator.displayName;
2714
+ const Nr = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2715
+ Nr.displayName = "ContextMenuShortcut";
2716
+ const kr = (e) => {
2719
2717
  try {
2720
2718
  const t = document.getElementById("icon-picker-field"), s = document.createElement("div");
2721
2719
  Xs.render(/* @__PURE__ */ a.jsx(Ys, { value: e }), s), t.appendChild(s), s.hidden = !0;
@@ -2726,10 +2724,10 @@ const Ar = (e) => {
2726
2724
  } catch (t) {
2727
2725
  return console.error(t), "";
2728
2726
  }
2729
- }, vl = ({ value: e, onChange: t }) => {
2727
+ }, xl = ({ value: e, onChange: t }) => {
2730
2728
  const s = (o) => {
2731
2729
  t("<svg />");
2732
- const n = Ar(o);
2730
+ const n = kr(o);
2733
2731
  t(n);
2734
2732
  };
2735
2733
  return /* @__PURE__ */ a.jsxs("div", { className: "mt-1 flex h-20 items-center gap-x-2", id: "icon-picker-field", children: [
@@ -2783,7 +2781,7 @@ const Ar = (e) => {
2783
2781
  }
2784
2782
  )
2785
2783
  ] });
2786
- }, Sr = nt.lazy(() => import("./UnsplashImages-Y0TGxNbH.js")), Cr = nt.lazy(() => import("./UploadImages-Dh35M55S.js")), Es = ({
2784
+ }, Ar = nt.lazy(() => import("./UnsplashImages-LU3fiooG.js")), Sr = nt.lazy(() => import("./UploadImages-MjYi7gfH.js")), Es = ({
2787
2785
  isModalView: e = !1,
2788
2786
  onSelect: t = () => {
2789
2787
  }
@@ -2793,15 +2791,15 @@ const Ar = (e) => {
2793
2791
  );
2794
2792
  return /* @__PURE__ */ a.jsxs("div", { className: "flex h-full flex-col", children: [
2795
2793
  /* @__PURE__ */ a.jsx("div", { className: "flex items-center justify-between rounded-md bg-background/30 p-1", children: /* @__PURE__ */ a.jsx("h1", { className: "px-1 font-semibold", children: e && n ? "Unsplash images" : e ? "Select or upload images" : "Images" }) }),
2796
- /* @__PURE__ */ a.jsxs(ha, { value: i, onValueChange: (m) => c(m), className: "flex h-full w-full flex-col py-2", children: [
2794
+ /* @__PURE__ */ a.jsxs(ba, { value: i, onValueChange: (m) => c(m), className: "flex h-full w-full flex-col py-2", children: [
2797
2795
  !(n || r) && /* @__PURE__ */ a.jsxs(Cs, { className: "w-full", children: [
2798
2796
  /* @__PURE__ */ a.jsx(st, { value: "upload", className: "w-full", children: "Upload" }),
2799
2797
  /* @__PURE__ */ a.jsx(st, { value: "unsplash", className: "w-full", children: "Unsplash" })
2800
2798
  ] }),
2801
- i === "unsplash" ? /* @__PURE__ */ a.jsx(ot, { value: "unsplash", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(Nt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Sr, { isModalView: e, onSelect: t }) }) }) : /* @__PURE__ */ a.jsx(ot, { value: "upload", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(Nt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Cr, { isModalView: e, onSelect: t }) }) })
2799
+ i === "unsplash" ? /* @__PURE__ */ a.jsx(ot, { value: "unsplash", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(Nt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Ar, { isModalView: e, onSelect: t }) }) }) : /* @__PURE__ */ a.jsx(ot, { value: "upload", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(Nt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Sr, { isModalView: e, onSelect: t }) }) })
2802
2800
  ] })
2803
2801
  ] });
2804
- }, yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2802
+ }, vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2805
2803
  __proto__: null,
2806
2804
  default: Es
2807
2805
  }, Symbol.toStringTag, { value: "Module" })), Vt = ({ children: e, onSelect: t }) => {
@@ -2809,10 +2807,10 @@ const Ar = (e) => {
2809
2807
  t.call(void 0, ...r), o(!1);
2810
2808
  };
2811
2809
  return /* @__PURE__ */ a.jsxs(Ns, { open: s, onOpenChange: (r) => o(r), children: [
2812
- /* @__PURE__ */ a.jsx(ta, { asChild: !0, children: e }),
2810
+ /* @__PURE__ */ a.jsx(ea, { asChild: !0, children: e }),
2813
2811
  /* @__PURE__ */ a.jsx(wt, { className: "flex h-3/4 max-w-5xl", children: /* @__PURE__ */ a.jsx("div", { className: "h-full w-full", children: /* @__PURE__ */ a.jsx(Es, { isModalView: !0, onSelect: n }) }) })
2814
2812
  ] });
2815
- }, wl = ({ value: e, onChange: t, id: s, onBlur: o }) => {
2813
+ }, yl = ({ value: e, onChange: t, id: s, onBlur: o }) => {
2816
2814
  const n = ne("uploadMediaCallback"), r = ne("unsplashAccessKey"), i = n === void 0, c = r === void 0;
2817
2815
  return /* @__PURE__ */ a.jsxs("div", { className: "mt-1.5 flex items-center gap-x-3", children: [
2818
2816
  e ? /* @__PURE__ */ a.jsx("img", { src: e, className: "h-20 w-20 overflow-hidden rounded-md border object-cover", alt: "" }) : /* @__PURE__ */ a.jsx(Vt, { onSelect: t, children: /* @__PURE__ */ a.jsx("div", { className: "h-20 w-20 cursor-pointer rounded-md border bg-[radial-gradient(#AAA,transparent_1px)] duration-300 [background-size:10px_10px] hover:border-gray-400" }) }),
@@ -2837,7 +2835,7 @@ const Ar = (e) => {
2837
2835
  )
2838
2836
  ] })
2839
2837
  ] });
2840
- }, Nl = ({ id: e, placeholder: t, value: s, onChange: o, onBlur: n }) => {
2838
+ }, wl = ({ id: e, placeholder: t, value: s, onChange: o, onBlur: n }) => {
2841
2839
  const r = {
2842
2840
  toolbar: [
2843
2841
  ["bold", "italic", "underline", "strike", "blockquote"],
@@ -2873,7 +2871,7 @@ const Ar = (e) => {
2873
2871
  className: "mt-1 rounded-md"
2874
2872
  }
2875
2873
  );
2876
- }, kl = ({ schema: e, formData: t, onChange: s }) => {
2874
+ }, Nl = ({ schema: e, formData: t, onChange: s }) => {
2877
2875
  const [o, n] = Ee([]), r = ne("getPages", () => []), { type: i = "page", href: c = "", target: m = "self" } = t;
2878
2876
  return Me(() => {
2879
2877
  (async () => {
@@ -2925,203 +2923,202 @@ const Ar = (e) => {
2925
2923
  ] });
2926
2924
  };
2927
2925
  export {
2928
- Mi as $,
2929
- Li as A,
2930
- zn as B,
2931
- Ni as C,
2926
+ Ii as $,
2927
+ Di as A,
2928
+ On as B,
2929
+ wi as C,
2932
2930
  ke as D,
2933
- nl as E,
2934
- al as F,
2935
- Wa as G,
2936
- Ka as H,
2937
- qa as I,
2938
- Ga as J,
2939
- nr as K,
2940
- Ei as L,
2941
- Vn as M,
2942
- Fn as N,
2943
- Un as O,
2944
- Qn as P,
2945
- ri as Q,
2931
+ ol as E,
2932
+ nl as F,
2933
+ Ha as G,
2934
+ Xa as H,
2935
+ Ka as I,
2936
+ Wa as J,
2937
+ or as K,
2938
+ Mi as L,
2939
+ zn as M,
2940
+ Vn as N,
2941
+ Fn as O,
2942
+ Zn as P,
2943
+ ai as Q,
2946
2944
  ht as R,
2947
- ul as S,
2948
- ga as T,
2945
+ dl as S,
2946
+ pa as T,
2949
2947
  vs as U,
2950
- qr as V,
2951
- Vi as W,
2948
+ Kr as V,
2949
+ zi as W,
2952
2950
  ns as X,
2953
2951
  Kt as Y,
2954
2952
  cs as Z,
2955
- dl as _,
2956
- Oi as a,
2957
- jn as a$,
2958
- ji as a0,
2959
- Si as a1,
2960
- li as a2,
2961
- ci as a3,
2962
- di as a4,
2963
- ui as a5,
2964
- fi as a6,
2965
- Ii as a7,
2953
+ cl as _,
2954
+ Li as a,
2955
+ Jr as a$,
2956
+ Ci as a0,
2957
+ Ai as a1,
2958
+ ii as a2,
2959
+ li as a3,
2960
+ ci as a4,
2961
+ di as a5,
2962
+ ui as a6,
2963
+ Ti as a7,
2966
2964
  Fo as a8,
2967
2965
  nn as a9,
2968
- Ta as aA,
2969
- el as aB,
2970
- Ia as aC,
2971
- Ea as aD,
2972
- ta as aE,
2973
- Fi as aF,
2974
- Ui as aG,
2975
- xa as aH,
2976
- Di as aI,
2966
+ Ra as aA,
2967
+ Qi as aB,
2968
+ Ta as aC,
2969
+ Ma as aD,
2970
+ ea as aE,
2971
+ Vi as aF,
2972
+ Fi as aG,
2973
+ ha as aH,
2974
+ Ei as aI,
2977
2975
  Nn as aJ,
2978
- ha as aK,
2976
+ ba as aK,
2979
2977
  Cs as aL,
2980
2978
  st as aM,
2981
2979
  ot as aN,
2982
- Qi as aO,
2983
- Ma as aP,
2984
- Za as aQ,
2985
- On as aR,
2986
- qi as aS,
2987
- Ji as aT,
2988
- Ra as aU,
2989
- Ya as aV,
2980
+ Zi as aO,
2981
+ Ia as aP,
2982
+ Ja as aQ,
2983
+ Ln as aR,
2984
+ Ki as aS,
2985
+ qi as aT,
2986
+ Pa as aU,
2987
+ Ga as aV,
2990
2988
  ie as aW,
2991
- pa as aX,
2989
+ ma as aX,
2992
2990
  Sn as aY,
2993
- Cn as aZ,
2994
- An as a_,
2995
- mi as aa,
2991
+ An as aZ,
2992
+ Cn as a_,
2993
+ fi as aa,
2996
2994
  Ho as ab,
2997
- pi as ac,
2995
+ mi as ac,
2998
2996
  cn as ad,
2999
- gi as ae,
3000
- hi as af,
3001
- vi as ag,
3002
- xi as ah,
3003
- ti as ai,
2997
+ pi as ae,
2998
+ bi as af,
2999
+ xi as ag,
3000
+ hi as ah,
3001
+ ei as ai,
3004
3002
  sn as aj,
3005
- Ti as ak,
3006
- yi as al,
3007
- wi as am,
3008
- Ai as an,
3009
- ei as ao,
3010
- Ci as ap,
3011
- _i as aq,
3012
- Bi as ar,
3013
- Pi as as,
3003
+ Ri as ak,
3004
+ vi as al,
3005
+ yi as am,
3006
+ ki as an,
3007
+ Qr as ao,
3008
+ Si as ap,
3009
+ ji as aq,
3010
+ _i as ar,
3011
+ Bi as as,
3014
3012
  Qo as at,
3015
3013
  Ns as au,
3016
3014
  wt as av,
3017
- sa as aw,
3018
- na as ax,
3019
- aa as ay,
3020
- Zi as az,
3021
- Xn as b,
3022
- Gi as b$,
3015
+ ta as aw,
3016
+ oa as ax,
3017
+ na as ay,
3018
+ Ji as az,
3019
+ Yn as b,
3020
+ Yi as b$,
3023
3021
  Zr as b0,
3024
- Qr as b1,
3025
- _n as b2,
3026
- Rn as b3,
3027
- Rt as b4,
3028
- hn as b5,
3029
- wn as b6,
3022
+ jn as b1,
3023
+ Pn as b2,
3024
+ Rt as b3,
3025
+ hn as b4,
3026
+ wn as b5,
3027
+ Ui as b6,
3030
3028
  $i as b7,
3031
- Hi as b8,
3032
- va as b9,
3033
- kn as bA,
3034
- xr as bB,
3035
- hr as bC,
3029
+ xa as b8,
3030
+ Ms as b9,
3031
+ hr as bA,
3032
+ br as bB,
3033
+ fl as bC,
3036
3034
  ml as bD,
3037
- pl as bE,
3038
- _o as bF,
3039
- ai as bG,
3040
- Ln as bH,
3041
- Dn as bI,
3042
- yt as bJ,
3035
+ _o as bE,
3036
+ ni as bF,
3037
+ Dn as bG,
3038
+ En as bH,
3039
+ yt as bI,
3040
+ Wn as bJ,
3043
3041
  Gn as bK,
3044
- Yn as bL,
3045
- la as bM,
3046
- Ss as bN,
3047
- ya as bO,
3048
- Wi as bP,
3049
- wa as bQ,
3042
+ ia as bL,
3043
+ Ss as bM,
3044
+ va as bN,
3045
+ Hi as bO,
3046
+ ya as bP,
3047
+ ka as bQ,
3050
3048
  Aa as bR,
3051
- Sa as bS,
3052
- Ba as bT,
3053
- _a as bU,
3054
- Ca as bV,
3055
- Ki as bW,
3056
- ja as bX,
3057
- Yi as bY,
3058
- ka as bZ,
3059
- Na as b_,
3060
- Ms as ba,
3049
+ _a as bS,
3050
+ ja as bT,
3051
+ Sa as bU,
3052
+ Xi as bV,
3053
+ Ca as bW,
3054
+ Gi as bX,
3055
+ Na as bY,
3056
+ wa as bZ,
3057
+ Wi as b_,
3058
+ ir as ba,
3061
3059
  lr as bb,
3062
3060
  cr as bc,
3063
3061
  dr as bd,
3064
- ur as be,
3065
- mr as bf,
3066
- oa as bg,
3067
- It as bh,
3068
- Tt as bi,
3069
- Nl as bj,
3070
- vl as bk,
3071
- wl as bl,
3072
- kl as bm,
3073
- oi as bn,
3074
- fa as bo,
3075
- zi as bp,
3076
- ba as bq,
3077
- rl as br,
3078
- Ja as bs,
3062
+ fr as be,
3063
+ sa as bf,
3064
+ It as bg,
3065
+ Tt as bh,
3066
+ wl as bi,
3067
+ xl as bj,
3068
+ yl as bk,
3069
+ Nl as bl,
3070
+ si as bm,
3071
+ ua as bn,
3072
+ Oi as bo,
3073
+ ga as bp,
3074
+ al as bq,
3075
+ qa as br,
3076
+ aa as bs,
3079
3077
  ra as bt,
3080
- ia as bu,
3078
+ la as bu,
3081
3079
  ca as bv,
3082
3080
  da as bw,
3083
- ua as bx,
3081
+ $n as bx,
3084
3082
  Hn as by,
3085
- Wn as bz,
3086
- Kn as c,
3087
- Xi as c0,
3088
- Pa as c1,
3089
- Da as c2,
3083
+ kn as bz,
3084
+ Xn as c,
3085
+ Ba as c0,
3086
+ Ea as c1,
3087
+ el as c2,
3090
3088
  tl as c3,
3091
3089
  sl as c4,
3092
- ol as c5,
3090
+ La as c5,
3093
3091
  Oa as c6,
3094
3092
  za as c7,
3095
3093
  Va as c8,
3096
3094
  Fa as c9,
3097
- Ua as ca,
3098
- Xa as cb,
3095
+ Ya as ca,
3096
+ rl as cb,
3099
3097
  il as cc,
3100
- ll as cd,
3101
- Ha as ce,
3102
- $a as cf,
3103
- cl as cg,
3098
+ $a as cd,
3099
+ Ua as ce,
3100
+ ll as cf,
3101
+ tr as cg,
3104
3102
  sr as ch,
3105
- or as ci,
3106
- fl as cj,
3107
- pr as ck,
3108
- fr as cl,
3103
+ ul as ci,
3104
+ mr as cj,
3105
+ ur as ck,
3106
+ xr as cl,
3109
3107
  vr as cm,
3110
3108
  yr as cn,
3111
3109
  wr as co,
3112
3110
  Nr as cp,
3113
- kr as cq,
3111
+ pl as cq,
3114
3112
  gl as cr,
3115
3113
  bl as cs,
3116
- hl as ct,
3117
- br as cu,
3118
- gr as cv,
3119
- xl as cw,
3120
- yl as cx,
3121
- Jn as d,
3122
- Zn as e,
3123
- qn as f,
3124
- ea as g,
3114
+ gr as ct,
3115
+ pr as cu,
3116
+ hl as cv,
3117
+ vl as cw,
3118
+ qn as d,
3119
+ Jn as e,
3120
+ Kn as f,
3121
+ Qn as g,
3125
3122
  ne as h,
3126
3123
  Yt as i,
3127
3124
  bo as j,
@@ -3130,15 +3127,15 @@ export {
3130
3127
  go as m,
3131
3128
  po as n,
3132
3129
  Ne as o,
3133
- Kr as p,
3134
- bi as q,
3130
+ Xr as p,
3131
+ gi as q,
3135
3132
  $e as r,
3136
- ii as s,
3133
+ ri as s,
3137
3134
  an as t,
3138
- Ri as u,
3135
+ Pi as u,
3139
3136
  ds as v,
3140
3137
  re as w,
3141
3138
  So as x,
3142
3139
  Wo as y,
3143
- ki as z
3140
+ Ni as z
3144
3141
  };