react-semaphor 0.1.320 → 0.1.321

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 (45) hide show
  1. package/dist/brand-studio/index.cjs +1 -1
  2. package/dist/brand-studio/index.js +4 -4
  3. package/dist/briefings/index.cjs +1 -1
  4. package/dist/briefings/index.js +278 -208
  5. package/dist/chunks/{braces-NfG5hX2c.js → braces-C7BeIXvM.js} +1 -1
  6. package/dist/chunks/{braces-CDPz6CF2.js → braces-Cy5NEBa8.js} +1 -1
  7. package/dist/chunks/{calendar-preferences-dialog-CFXQBJ4A.js → calendar-preferences-dialog-CzoSmQNw.js} +1 -1
  8. package/dist/chunks/{calendar-preferences-dialog-B7Z8OnuZ.js → calendar-preferences-dialog-D-0W76fR.js} +3 -3
  9. package/dist/chunks/{chevrons-up-down-DiWloubI.js → chevrons-up-down-Cuilz9aY.js} +1 -1
  10. package/dist/chunks/{chevrons-up-down-BsdQRmJL.js → chevrons-up-down-DZTs1oVD.js} +1 -1
  11. package/dist/chunks/{dashboard-briefing-launcher-DjDpGyD7.js → dashboard-briefing-launcher-Cqm8NnVb.js} +8 -8
  12. package/dist/chunks/{dashboard-briefing-launcher-DB16djcj.js → dashboard-briefing-launcher-D5z1kf6J.js} +932 -910
  13. package/dist/chunks/{dashboard-controls-DPStW1kd.js → dashboard-controls-CRIwHD59.js} +94 -94
  14. package/dist/chunks/{dashboard-controls-BisfskDD.js → dashboard-controls-DSt7iwFC.js} +1 -1
  15. package/dist/chunks/{dashboard-json-C8-kkiyT.js → dashboard-json-BRx9CbrK.js} +2 -2
  16. package/dist/chunks/{dashboard-json-2nyFJ_-w.js → dashboard-json-ezFjz7Fc.js} +1 -1
  17. package/dist/chunks/{edit-dashboard-visual-BP77bJFI.js → edit-dashboard-visual-Cw0KmT4i.js} +1 -1
  18. package/dist/chunks/{edit-dashboard-visual-D6oiTlXr.js → edit-dashboard-visual-sI6ds8MP.js} +616 -616
  19. package/dist/chunks/{index-Clw0hJzi.js → index-BZg7rVe-.js} +27161 -26641
  20. package/dist/chunks/{index-D8eouWYC.js → index-DX6Krdga.js} +215 -210
  21. package/dist/chunks/{palette-BlxLchHy.js → palette-Bc-vOLSt.js} +1 -1
  22. package/dist/chunks/{palette-CJTdBzJB.js → palette-CanPG11m.js} +1 -1
  23. package/dist/chunks/resource-management-panel-CRRUcnVu.js +6 -0
  24. package/dist/chunks/{resource-management-panel-HcRJRZHO.js → resource-management-panel-pN81x7Gw.js} +451 -369
  25. package/dist/chunks/{save-DVRQBMeb.js → save-CXa6cKaY.js} +1 -1
  26. package/dist/chunks/{save-B8x5Vi0W.js → save-CqrBQKG6.js} +1 -1
  27. package/dist/chunks/{switch-DPaKnsb8.js → switch-BXICAlvS.js} +2 -2
  28. package/dist/chunks/{switch-sauemjyY.js → switch-DdTUsWgd.js} +127 -127
  29. package/dist/chunks/{use-create-flow-overlay-state-75l5mrVp.js → use-create-flow-overlay-state-B9ujZUon.js} +104 -104
  30. package/dist/chunks/{use-create-flow-overlay-state-CdCldE6J.js → use-create-flow-overlay-state-BfV5187a.js} +1 -1
  31. package/dist/chunks/{use-visual-utils-CMdEUnM5.js → use-visual-utils-D_uHFfTn.js} +1 -1
  32. package/dist/chunks/{use-visual-utils-Bd4Cf9_B.js → use-visual-utils-PxijRlpS.js} +2 -2
  33. package/dist/dashboard/index.cjs +1 -1
  34. package/dist/dashboard/index.js +1 -1
  35. package/dist/dashboard-authoring/index.cjs +3 -0
  36. package/dist/dashboard-authoring/index.js +532 -0
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.js +7 -7
  39. package/dist/style.css +1 -1
  40. package/dist/surfboard/index.cjs +1 -1
  41. package/dist/surfboard/index.js +2 -2
  42. package/dist/types/briefings.d.ts +15 -0
  43. package/dist/types/dashboard-authoring.d.ts +2703 -0
  44. package/package.json +6 -1
  45. package/dist/chunks/resource-management-panel-DTvY5OIq.js +0 -6
@@ -1,18 +1,18 @@
1
- import { jsx as e, jsxs as o, Fragment as O } from "react/jsx-runtime";
2
- import { c as W, u as S, B as I, az as la, E as Za, L as Xe, a1 as ie, a as Y, aA as Pe, aB as es, aC as as, $ as Zs, f as X, aD as et, aE as at, aF as Ze, T as ss, J as ts, K as Ie, N as ke, M as ea, aG as rs, aH as st, G as qa, Y as tt, Z as rt, _ as nt, a0 as ot, j as it, aI as ct } from "./switch-sauemjyY.js";
3
- import { be as lt, u as B, b as da, bf as dt, al as aa, c as ua, d as ma, e as ha, f as ns, n as ut, bg as oe, au as Ae, bh as mt, bi as Ba, bj as os, bk as is, bl as ht, aL as pa, bm as pt, bn as ft, bo as gt, bp as bt, bq as vt, br as yt, ac as Oe, bs as Te, o as M, bt as xt, bu as St, bv as Nt, aP as sa, bw as ta, at as fa, av as cs, b2 as ls, bx as wt, aC as ds, aD as us, aE as ms, aF as hs, aG as ps, aH as fs, aI as gs, aJ as ra, ak as Dt, by as Ct, bz as Et, y as Lt, x as Le, J as Mt, z as Ke, bA as At, bB as It, bC as kt, Y as Pt, bD as Ot, I as Qe, bE as Tt, bF as _t, bG as Ut, bH as Rt, am as Gt, an as Ft, ao as $t, ap as zt, aq as z, bI as Ht, ax as qt, ar as ja, bJ as Bt, bK as jt, bL as Vt, H as Kt, bM as Qt, v as na } from "./index-Clw0hJzi.js";
1
+ import { jsx as e, jsxs as o, Fragment as P } from "react/jsx-runtime";
2
+ import { c as W, u as S, B as I, az as la, E as Za, L as Xe, a1 as ie, a as Y, aA as Oe, aB as es, aC as as, $ as Zs, f as X, aD as et, aE as at, aF as Ze, T as ss, J as ts, K as Ie, N as ke, M as ea, aG as rs, aH as st, G as qa, Y as tt, Z as rt, _ as nt, a0 as ot, j as it, aI as ct } from "./switch-DdTUsWgd.js";
3
+ import { be as lt, u as B, b as da, bf as dt, aG as aa, c as ua, d as ma, e as ha, f as ns, n as ut, bg as oe, aT as Ae, bh as mt, bi as Ba, bj as os, bk as is, bl as ht, b7 as pa, bm as pt, bn as ft, bo as gt, bp as bt, bq as vt, br as yt, ac as Pe, bs as Te, o as M, ba as xt, bt as St, bu as Nt, bc as sa, bv as ta, aS as fa, ax as cs, av as ls, bw as wt, a_ as ds, a$ as us, b0 as ms, b1 as hs, b2 as ps, b3 as fs, b4 as gs, b5 as ra, aK as Dt, bx as Ct, by as Et, y as Lt, x as Le, J as Mt, z as Ke, bz as At, bA as It, bB as kt, Y as Ot, bC as Pt, I as Qe, bD as Tt, bE as _t, bF as Ut, bG as Rt, aL as Gt, aM as Ft, aN as $t, aO as zt, aP as z, bH as Ht, aV as qt, aQ as Va, bI as Bt, bJ as Vt, bK as jt, H as Kt, bL as Qt, v as na } from "./index-BZg7rVe-.js";
4
4
  import * as k from "react";
5
- import bs, { useState as x, useMemo as q, useEffect as Va, useCallback as Jt } from "react";
5
+ import bs, { useState as x, useMemo as q, useEffect as ja, useCallback as Jt } from "react";
6
6
  import "./index-CJdxSyQq.js";
7
7
  import "react-dom";
8
- import { b as Wt, u as Yt, A as Xt, V as Zt, K as er, e as ar, L as sr, N as tr, U as rr } from "./dashboard-briefing-launcher-DB16djcj.js";
8
+ import { b as Wt, u as Yt, A as Xt, V as Zt, K as er, e as ar, L as sr, N as tr, U as rr } from "./dashboard-briefing-launcher-D5z1kf6J.js";
9
9
  import { d as nr } from "./index-DFOb_6HB.js";
10
- import { C as or } from "./calendar-preferences-dialog-B7Z8OnuZ.js";
10
+ import { C as or } from "./calendar-preferences-dialog-D-0W76fR.js";
11
11
  import { u as ir } from "./use-debounced-dirty-check-BwAbnX_5.js";
12
12
  import { s as Je } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
13
- import { S as Ka } from "./save-DVRQBMeb.js";
14
- import { P as cr } from "./palette-BlxLchHy.js";
15
- import { B as lr } from "./braces-CDPz6CF2.js";
13
+ import { S as Ka } from "./save-CXa6cKaY.js";
14
+ import { P as cr } from "./palette-Bc-vOLSt.js";
15
+ import { B as lr } from "./braces-Cy5NEBa8.js";
16
16
  /**
17
17
  * @license lucide-react v0.453.0 - ISC
18
18
  *
@@ -369,8 +369,8 @@ function Dr({ includeLabel: a = !1 } = {}) {
369
369
  await ca(m.apiServiceUrl, b, l == null ? void 0 : l.accessToken);
370
370
  }
371
371
  }
372
- return /* @__PURE__ */ o(O, { children: [
373
- a ? /* @__PURE__ */ o(O, { children: [
372
+ return /* @__PURE__ */ o(P, { children: [
373
+ a ? /* @__PURE__ */ o(P, { children: [
374
374
  /* @__PURE__ */ e(oe, { className: "px-3", children: "Lenses" }),
375
375
  /* @__PURE__ */ e(Ae, {})
376
376
  ] }) : null,
@@ -463,7 +463,7 @@ const Er = async (a, t, r) => {
463
463
  await es(n, t, "DELETE", s);
464
464
  };
465
465
  function Ir() {
466
- const { authToken: a, tokenProps: t } = B(), r = Oe();
466
+ const { authToken: a, tokenProps: t } = B(), r = Pe();
467
467
  return Te({
468
468
  mutationFn: (s) => Er(t.apiServiceUrl, (a == null ? void 0 : a.accessToken) || "", s),
469
469
  onSuccess: () => {
@@ -471,13 +471,13 @@ function Ir() {
471
471
  },
472
472
  onError: (s) => {
473
473
  console.error("Failed to create group:", s), M.error("Failed to create group", {
474
- description: Pe(s, "Failed to create group")
474
+ description: Oe(s, "Failed to create group")
475
475
  });
476
476
  }
477
477
  });
478
478
  }
479
479
  function kr() {
480
- const { authToken: a, tokenProps: t } = B(), r = Oe();
480
+ const { authToken: a, tokenProps: t } = B(), r = Pe();
481
481
  return Te({
482
482
  mutationFn: (s) => Lr(t.apiServiceUrl, (a == null ? void 0 : a.accessToken) || "", s),
483
483
  onSuccess: (s, n) => {
@@ -485,13 +485,13 @@ function kr() {
485
485
  },
486
486
  onError: (s) => {
487
487
  console.error("Failed to delete group:", s), M.error("Failed to delete group", {
488
- description: Pe(s, "Failed to delete group")
488
+ description: Oe(s, "Failed to delete group")
489
489
  });
490
490
  }
491
491
  });
492
492
  }
493
- function Pr() {
494
- const { authToken: a, tokenProps: t } = B(), r = Oe();
493
+ function Or() {
494
+ const { authToken: a, tokenProps: t } = B(), r = Pe();
495
495
  return Te({
496
496
  mutationFn: ({
497
497
  groupId: s,
@@ -504,13 +504,13 @@ function Pr() {
504
504
  },
505
505
  onError: (s) => {
506
506
  console.error("Failed to add group members:", s), M.error("Failed to add members", {
507
- description: Pe(s, "Failed to add members")
507
+ description: Oe(s, "Failed to add members")
508
508
  });
509
509
  }
510
510
  });
511
511
  }
512
- function Or() {
513
- const { authToken: a, tokenProps: t } = B(), r = Oe();
512
+ function Pr() {
513
+ const { authToken: a, tokenProps: t } = B(), r = Pe();
514
514
  return Te({
515
515
  mutationFn: ({
516
516
  groupId: s,
@@ -523,7 +523,7 @@ function Or() {
523
523
  },
524
524
  onError: (s) => {
525
525
  console.error("Failed to remove group members:", s), M.error("Failed to remove members", {
526
- description: Pe(s, "Failed to remove members")
526
+ description: Oe(s, "Failed to remove members")
527
527
  });
528
528
  }
529
529
  });
@@ -618,7 +618,7 @@ function Tr({
618
618
  type: "submit",
619
619
  size: "xs",
620
620
  disabled: y.isPending || !s.trim(),
621
- children: y.isPending ? /* @__PURE__ */ o(O, { children: [
621
+ children: y.isPending ? /* @__PURE__ */ o(P, { children: [
622
622
  /* @__PURE__ */ e(X, { className: "h-3.5 w-3.5 animate-spin" }),
623
623
  "Creating…"
624
624
  ] }) : "Create group"
@@ -819,16 +819,16 @@ function Br({
819
819
  tenantId: r.tenantId || void 0,
820
820
  active: !0,
821
821
  limit: 100
822
- }), A = Pr(), C = Or(), N = (h == null ? void 0 : h.members) || [], E = q(() => new Set(N.map((v) => v.userId)), [N]), j = q(() => w.filter((v) => !E.has(v.id)), [w, E]), H = q(() => {
823
- if (!m) return j;
822
+ }), A = Or(), C = Pr(), N = (h == null ? void 0 : h.members) || [], E = q(() => new Set(N.map((v) => v.userId)), [N]), V = q(() => w.filter((v) => !E.has(v.id)), [w, E]), H = q(() => {
823
+ if (!m) return V;
824
824
  const v = m.toLowerCase();
825
- return j.filter(
825
+ return V.filter(
826
826
  (T) => {
827
827
  var R, K;
828
828
  return ((R = T.name) == null ? void 0 : R.toLowerCase().includes(v)) || ((K = T.email) == null ? void 0 : K.toLowerCase().includes(v));
829
829
  }
830
830
  );
831
- }, [j, m]), L = q(() => {
831
+ }, [V, m]), L = q(() => {
832
832
  if (!m) return N;
833
833
  const v = m.toLowerCase();
834
834
  return N.filter(
@@ -837,7 +837,7 @@ function Br({
837
837
  return ((K = (R = T.user) == null ? void 0 : R.name) == null ? void 0 : K.toLowerCase().includes(v)) || ((le = (Z = T.user) == null ? void 0 : Z.email) == null ? void 0 : le.toLowerCase().includes(v));
838
838
  }
839
839
  );
840
- }, [N, m]), V = async () => {
840
+ }, [N, m]), j = async () => {
841
841
  if (f.length !== 0)
842
842
  try {
843
843
  await A.mutateAsync({
@@ -871,7 +871,7 @@ function Br({
871
871
  (T) => T.includes(v) ? T.filter((R) => R !== v) : [...T, v]
872
872
  );
873
873
  };
874
- return /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(da, { open: a, onOpenChange: t, children: /* @__PURE__ */ o(ua, { className: "max-w-3xl max-h-[80vh]", "aria-describedby": "group-members-description", children: [
874
+ return /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(da, { open: a, onOpenChange: t, children: /* @__PURE__ */ o(ua, { className: "max-w-3xl max-h-[80vh]", "aria-describedby": "group-members-description", children: [
875
875
  /* @__PURE__ */ o(ma, { children: [
876
876
  /* @__PURE__ */ e(ha, { children: r.name }),
877
877
  /* @__PURE__ */ e("div", { className: "flex items-center gap-2 mt-1", children: /* @__PURE__ */ o("p", { className: "text-sm text-muted-foreground", children: [
@@ -910,7 +910,7 @@ function Br({
910
910
  /* @__PURE__ */ e("p", { className: "text-sm font-medium", children: m ? "No members found" : "No members yet" }),
911
911
  /* @__PURE__ */ e("p", { className: "text-xs mt-1", children: m ? "Try a different search" : 'Switch to the "Add Members" tab to add people to this group' })
912
912
  ] }) : /* @__PURE__ */ e("div", { className: "space-y-2", children: L.map((v) => /* @__PURE__ */ e(
913
- jr,
913
+ Vr,
914
914
  {
915
915
  member: v,
916
916
  selected: u.includes(v.userId),
@@ -932,10 +932,10 @@ function Br({
932
932
  size: "sm",
933
933
  onClick: _e,
934
934
  disabled: C.isPending,
935
- children: C.isPending ? /* @__PURE__ */ o(O, { children: [
935
+ children: C.isPending ? /* @__PURE__ */ o(P, { children: [
936
936
  /* @__PURE__ */ e(X, { className: "mr-2 h-4 w-4 animate-spin" }),
937
937
  "Removing..."
938
- ] }) : /* @__PURE__ */ o(O, { children: [
938
+ ] }) : /* @__PURE__ */ o(P, { children: [
939
939
  /* @__PURE__ */ e(cs, { className: "mr-2 h-4 w-4" }),
940
940
  "Remove Selected"
941
941
  ] })
@@ -961,7 +961,7 @@ function Br({
961
961
  /* @__PURE__ */ e("p", { className: "text-sm font-medium", children: "No available users" }),
962
962
  /* @__PURE__ */ e("p", { className: "text-xs mt-1", children: m ? "Try a different search" : "All eligible users are already members" })
963
963
  ] }) : /* @__PURE__ */ e("div", { className: "space-y-2", children: H.map((v) => /* @__PURE__ */ e(
964
- Vr,
964
+ jr,
965
965
  {
966
966
  user: v,
967
967
  selected: f.includes(v.id),
@@ -979,12 +979,12 @@ function Br({
979
979
  /* @__PURE__ */ e(
980
980
  I,
981
981
  {
982
- onClick: V,
982
+ onClick: j,
983
983
  disabled: A.isPending,
984
- children: A.isPending ? /* @__PURE__ */ o(O, { children: [
984
+ children: A.isPending ? /* @__PURE__ */ o(P, { children: [
985
985
  /* @__PURE__ */ e(X, { className: "mr-2 h-4 w-4 animate-spin" }),
986
986
  "Adding..."
987
- ] }) : /* @__PURE__ */ o(O, { children: [
987
+ ] }) : /* @__PURE__ */ o(P, { children: [
988
988
  /* @__PURE__ */ e(oa, { className: "mr-2 h-4 w-4" }),
989
989
  "Add Members"
990
990
  ] })
@@ -995,7 +995,7 @@ function Br({
995
995
  ] })
996
996
  ] }) }) });
997
997
  }
998
- function jr({
998
+ function Vr({
999
999
  member: a,
1000
1000
  selected: t,
1001
1001
  onToggle: r
@@ -1018,7 +1018,7 @@ function jr({
1018
1018
  }
1019
1019
  );
1020
1020
  }
1021
- function Vr({
1021
+ function jr({
1022
1022
  user: a,
1023
1023
  selected: t,
1024
1024
  onToggle: r
@@ -1051,8 +1051,8 @@ function Kr({
1051
1051
  includeMembers: !1
1052
1052
  }), N = D.filter(
1053
1053
  (L) => {
1054
- var V;
1055
- return L.name.toLowerCase().includes(n.toLowerCase()) || ((V = L.description) == null ? void 0 : V.toLowerCase().includes(n.toLowerCase()));
1054
+ var j;
1055
+ return L.name.toLowerCase().includes(n.toLowerCase()) || ((j = L.description) == null ? void 0 : j.toLowerCase().includes(n.toLowerCase()));
1056
1056
  }
1057
1057
  ), E = async () => {
1058
1058
  if (u)
@@ -1061,12 +1061,12 @@ function Kr({
1061
1061
  } catch (L) {
1062
1062
  console.error("Failed to delete group:", L);
1063
1063
  }
1064
- }, j = (L) => {
1064
+ }, V = (L) => {
1065
1065
  i(L), y(!0);
1066
1066
  }, H = () => {
1067
1067
  s("groups"), C();
1068
1068
  };
1069
- return /* @__PURE__ */ o(O, { children: [
1069
+ return /* @__PURE__ */ o(P, { children: [
1070
1070
  /* @__PURE__ */ e(da, { open: a, onOpenChange: t, children: /* @__PURE__ */ o(ua, { className: "max-h-[80vh] max-w-3xl rounded-[6px] border-border/60 sm:rounded-[6px]", children: [
1071
1071
  /* @__PURE__ */ o(ma, { children: [
1072
1072
  /* @__PURE__ */ e(ha, { className: "text-[15px]", children: "Group management" }),
@@ -1124,7 +1124,7 @@ function Kr({
1124
1124
  Qr,
1125
1125
  {
1126
1126
  group: L,
1127
- onManageMembers: () => j(L),
1127
+ onManageMembers: () => V(L),
1128
1128
  onDelete: () => p(L),
1129
1129
  currentUserId: g == null ? void 0 : g.id
1130
1130
  },
@@ -1174,7 +1174,7 @@ function Kr({
1174
1174
  onClick: E,
1175
1175
  disabled: b.isPending,
1176
1176
  className: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
1177
- children: b.isPending ? /* @__PURE__ */ o(O, { children: [
1177
+ children: b.isPending ? /* @__PURE__ */ o(P, { children: [
1178
1178
  /* @__PURE__ */ e(X, { className: "h-3.5 w-3.5 animate-spin" }),
1179
1179
  "Deleting…"
1180
1180
  ] }) : "Delete group"
@@ -1362,7 +1362,7 @@ function hn() {
1362
1362
  (c) => c.id === w
1363
1363
  ), A = st(D), C = A ? (Ua = D == null ? void 0 : D.document) == null ? void 0 : Ua.page : void 0, N = S(
1364
1364
  (c) => c.isDashboardEditing
1365
- ), { setDashboardTitle: E } = S((c) => c.actions), [j, H] = x(!1), [L, V] = x(!1), [_e, ce] = x(!1), [Ue, v] = x(!1), [T, R] = x(!1), [K, Z] = x(!1), [le, de] = x(!1), [ue, me] = x(null), [xa, he] = x([]), [Sa, pe] = x(!1), Ls = S((c) => c.isDashboardPanelOpen), Ms = S(
1365
+ ), { setDashboardTitle: E } = S((c) => c.actions), [V, H] = x(!1), [L, j] = x(!1), [_e, ce] = x(!1), [Ue, v] = x(!1), [T, R] = x(!1), [K, Z] = x(!1), [le, de] = x(!1), [ue, me] = x(null), [xa, he] = x([]), [Sa, pe] = x(!1), Ls = S((c) => c.isDashboardPanelOpen), Ms = S(
1366
1366
  (c) => c.actions.setIsDashboardPanelOpen
1367
1367
  ), As = S((c) => c.filterValues), _ = S((c) => c.isVisualEditing);
1368
1368
  qa((c) => c.card);
@@ -1379,10 +1379,10 @@ function hn() {
1379
1379
  setShowDashboardJSON: Da
1380
1380
  } = S((c) => c.actions), { setInitialDashboard: Ca, clearSelectedDashboard: Ge } = Le(
1381
1381
  (c) => c.actions
1382
- ), { resources: be } = Mt(Ke.DASHBOARD), { data: Fe } = At(), Is = ((Fa = Fe == null ? void 0 : Fe.preference) == null ? void 0 : Fa.defaultDashboardId) || null, { mutate: ks, isPending: Ps } = It(), { currentUser: Os } = pa(), Ts = kt(Os), F = ee || fe, Ea = F ? {
1382
+ ), { resources: be } = Mt(Ke.DASHBOARD), { data: Fe } = At(), Is = ((Fa = Fe == null ? void 0 : Fe.preference) == null ? void 0 : Fa.defaultDashboardId) || null, { mutate: ks, isPending: Os } = It(), { currentUser: Ps } = pa(), Ts = kt(Ps), F = ee || fe, Ea = F ? {
1383
1383
  id: F.id,
1384
1384
  title: (d == null ? void 0 : d.title) || F.title || "Dashboard"
1385
- } : null, { handleAddNewFrame: _s } = Pt(), [$e, ze] = x(!1), [Us, ae] = x(!1), [He, ve] = x("close"), se = Ot(Ke.DASHBOARD), [G, ye] = x(null), Rs = async (c, P) => {
1385
+ } : null, { handleAddNewFrame: _s } = Ot(), [$e, ze] = x(!1), [Us, ae] = x(!1), [He, ve] = x("close"), se = Pt(Ke.DASHBOARD), [G, ye] = x(null), Rs = async (c, O) => {
1386
1386
  if (!(d != null && d.id)) {
1387
1387
  console.log("No dashboard ID found");
1388
1388
  return;
@@ -1390,7 +1390,7 @@ function hn() {
1390
1390
  console.log("Updating dashboard title:", {
1391
1391
  dashboardId: d.id,
1392
1392
  newTitle: c,
1393
- previousTitle: P
1393
+ previousTitle: O
1394
1394
  }), se.mutate(
1395
1395
  {
1396
1396
  resourceId: d.id,
@@ -1401,19 +1401,19 @@ function hn() {
1401
1401
  console.log("Dashboard title updated successfully"), M.success("Dashboard title updated");
1402
1402
  },
1403
1403
  onError: ($) => {
1404
- console.error("Failed to update dashboard title:", $), M.error("Failed to update dashboard title"), E(P);
1404
+ console.error("Failed to update dashboard title:", $), M.error("Failed to update dashboard title"), E(O);
1405
1405
  }
1406
1406
  }
1407
1407
  );
1408
1408
  };
1409
- Va(() => {
1409
+ ja(() => {
1410
1410
  if (be && be.length > 0) {
1411
1411
  const c = d == null ? void 0 : d.id;
1412
1412
  if (c) {
1413
- const P = be.find(
1413
+ const O = be.find(
1414
1414
  ($) => $.id === c
1415
1415
  );
1416
- P && Ca(P);
1416
+ O && Ca(O);
1417
1417
  }
1418
1418
  }
1419
1419
  }, [be, d == null ? void 0 : d.id, Ca]);
@@ -1444,7 +1444,7 @@ function hn() {
1444
1444
  }, Be = () => {
1445
1445
  wa(!1), Da(!1), ye(null);
1446
1446
  };
1447
- Va(() => {
1447
+ ja(() => {
1448
1448
  if (!N) {
1449
1449
  G && ye(null);
1450
1450
  return;
@@ -1468,10 +1468,10 @@ function hn() {
1468
1468
  300,
1469
1469
  1e3,
1470
1470
  Je
1471
- ), ka = Jt(() => xe ? Je(d) !== Je(xe) : !1, [d, xe]), Pa = Ia || Fs, Ne = $e || se.isPending, $s = () => {
1471
+ ), ka = Jt(() => xe ? Je(d) !== Je(xe) : !1, [d, xe]), Oa = Ia || Fs, Ne = $e || se.isPending, $s = () => {
1472
1472
  ka() ? (ve("close"), ae(!0)) : (Be(), Se());
1473
1473
  }, zs = async () => {
1474
- await je({
1474
+ await Ve({
1475
1475
  closeAfterSave: !0,
1476
1476
  navigateHomeAfterSave: He === "home"
1477
1477
  });
@@ -1490,31 +1490,31 @@ function hn() {
1490
1490
  }
1491
1491
  Ge();
1492
1492
  };
1493
- async function je(c) {
1494
- const P = S.getState().dashboard;
1495
- if (!P)
1493
+ async function Ve(c) {
1494
+ const O = S.getState().dashboard;
1495
+ if (!O)
1496
1496
  return;
1497
1497
  const $ = (c == null ? void 0 : c.closeAfterSave) ?? Sa, Ws = (c == null ? void 0 : c.navigateHomeAfterSave) ?? !1;
1498
1498
  pe($), $ && ae(!1);
1499
- const Ys = na(P);
1499
+ const Ys = na(O);
1500
1500
  de(!0), me(null), he([]), ze(!0);
1501
1501
  const Xs = {
1502
- template: P
1502
+ template: O
1503
1503
  };
1504
1504
  se.mutate(
1505
1505
  {
1506
- resourceId: P.id,
1506
+ resourceId: O.id,
1507
1507
  data: Xs
1508
1508
  },
1509
1509
  {
1510
1510
  onSuccess: (U) => {
1511
1511
  var De, Ce, Ha;
1512
1512
  const J = (U == null ? void 0 : U.id) || ((De = U == null ? void 0 : U.dashboard) == null ? void 0 : De.id) || ((Ce = U == null ? void 0 : U.resource) == null ? void 0 : Ce.id) || ((Ha = U == null ? void 0 : U.template) == null ? void 0 : Ha.id) || null;
1513
- if (!P.id && J) {
1514
- const Ve = ct.getState(), Ee = Ve.pendingDashboardDraftMigration;
1515
- (Ee == null ? void 0 : Ee.scopeKey) === p ? Ve.actions.setPendingDashboardDraftMigrationExpectedDashboardId(
1513
+ if (!O.id && J) {
1514
+ const je = ct.getState(), Ee = je.pendingDashboardDraftMigration;
1515
+ (Ee == null ? void 0 : Ee.scopeKey) === p ? je.actions.setPendingDashboardDraftMigrationExpectedDashboardId(
1516
1516
  J
1517
- ) : Ee && Ve.actions.clearPendingDashboardDraftMigration();
1517
+ ) : Ee && je.actions.clearPendingDashboardDraftMigration();
1518
1518
  }
1519
1519
  ze(!1), M.success("Dashboard saved!"), ye(
1520
1520
  Xa(
@@ -1533,23 +1533,23 @@ function hn() {
1533
1533
  he(
1534
1534
  Jr({
1535
1535
  errors: De,
1536
- dashboard: P || void 0
1536
+ dashboard: O || void 0
1537
1537
  })
1538
1538
  ), M.error("Failed to save dashboard");
1539
1539
  }
1540
1540
  }
1541
1541
  );
1542
1542
  }
1543
- async function js() {
1543
+ async function Vs() {
1544
1544
  if (H(!0), !g || !b) return;
1545
1545
  const c = S.getState().dashboard;
1546
1546
  if (!c) {
1547
1547
  H(!1);
1548
1548
  return;
1549
1549
  }
1550
- const P = JSON.stringify(c), $ = {
1550
+ const O = JSON.stringify(c), $ = {
1551
1551
  ...b,
1552
- template: P,
1552
+ template: O,
1553
1553
  filterValues: As
1554
1554
  };
1555
1555
  await ca(
@@ -1558,14 +1558,14 @@ function hn() {
1558
1558
  a == null ? void 0 : a.accessToken
1559
1559
  ), M.success("Lens saved"), Re == null || Re(c), H(!1);
1560
1560
  }
1561
- const Oa = (b == null ? void 0 : b.name) || d.title;
1561
+ const Pa = (b == null ? void 0 : b.name) || d.title;
1562
1562
  se.isPending && console.log("Title during update:", {
1563
- title: Oa,
1563
+ title: Pa,
1564
1564
  dashboardStateTitle: d.title,
1565
1565
  dashboardId: d == null ? void 0 : d.id,
1566
1566
  currentLensName: b == null ? void 0 : b.name
1567
1567
  });
1568
- const Ta = t.orgUserId || t.tenantId && t.endUserId && t.endUserEmail, Vs = !!Ta && !!(a != null && a.accessToken) && !!(t != null && t.apiServiceUrl), Ks = i, Q = (d == null ? void 0 : d.id) || null, Qs = Wr(
1568
+ const Ta = t.orgUserId || t.tenantId && t.endUserId && t.endUserEmail, js = !!Ta && !!(a != null && a.accessToken) && !!(t != null && t.apiServiceUrl), Ks = i, Q = (d == null ? void 0 : d.id) || null, Qs = Wr(
1569
1569
  ($a = t.config) == null ? void 0 : $a.showBriefings,
1570
1570
  s
1571
1571
  ), we = !!Q && Is === Q, Js = () => {
@@ -1580,7 +1580,7 @@ function hn() {
1580
1580
  role: "dashboard-controls",
1581
1581
  children: [
1582
1582
  /* @__PURE__ */ o("div", { className: "flex items-center gap-2", children: [
1583
- Ta && /* @__PURE__ */ o(O, { children: [
1583
+ Ta && /* @__PURE__ */ o(P, { children: [
1584
1584
  /* @__PURE__ */ e(
1585
1585
  Qe,
1586
1586
  {
@@ -1614,19 +1614,19 @@ function hn() {
1614
1614
  role: "status",
1615
1615
  children: /* @__PURE__ */ e("span", { className: "sr-only", children: "Loading dashboard title" })
1616
1616
  }
1617
- ) : /* @__PURE__ */ o(O, { children: [
1617
+ ) : /* @__PURE__ */ o(P, { children: [
1618
1618
  /* @__PURE__ */ e(
1619
1619
  Tt,
1620
1620
  {
1621
- value: Oa || "Untitled Dashboard",
1621
+ value: Pa || "Untitled Dashboard",
1622
1622
  onSave: (c) => {
1623
1623
  console.log("EditableText onSave called:", {
1624
1624
  newTitle: c,
1625
1625
  canEditDashboard: ge,
1626
1626
  dashboardId: d == null ? void 0 : d.id
1627
1627
  });
1628
- const P = (d == null ? void 0 : d.title) || "";
1629
- E(c), Rs(c, P);
1628
+ const O = (d == null ? void 0 : d.title) || "";
1629
+ E(c), Rs(c, O);
1630
1630
  },
1631
1631
  isEditable: ge && !b,
1632
1632
  displayClassName: "text-[13px] font-medium",
@@ -1635,14 +1635,14 @@ function hn() {
1635
1635
  isPending: se.isPending
1636
1636
  }
1637
1637
  ),
1638
- Vs && Q && /* @__PURE__ */ e(tt, { children: /* @__PURE__ */ o(rt, { children: [
1638
+ js && Q && /* @__PURE__ */ e(tt, { children: /* @__PURE__ */ o(rt, { children: [
1639
1639
  /* @__PURE__ */ e(nt, { asChild: !0, children: /* @__PURE__ */ e(
1640
1640
  I,
1641
1641
  {
1642
1642
  variant: "ghost",
1643
1643
  size: "xs",
1644
1644
  onClick: Js,
1645
- disabled: Ps || !(a != null && a.accessToken) || !(t != null && t.apiServiceUrl),
1645
+ disabled: Os || !(a != null && a.accessToken) || !(t != null && t.apiServiceUrl),
1646
1646
  className: "w-7 px-0",
1647
1647
  "aria-label": we ? "Remove as default dashboard" : "Make this a default dashboard",
1648
1648
  children: /* @__PURE__ */ e(
@@ -1661,7 +1661,7 @@ function hn() {
1661
1661
  ] }))
1662
1662
  ] }),
1663
1663
  /* @__PURE__ */ o("div", { className: "flex items-center gap-2", children: [
1664
- _ && /* @__PURE__ */ o(O, { children: [
1664
+ _ && /* @__PURE__ */ o(P, { children: [
1665
1665
  /* @__PURE__ */ e(Xt, {}),
1666
1666
  /* @__PURE__ */ e(Zt, {})
1667
1667
  ] }),
@@ -1670,7 +1670,7 @@ function hn() {
1670
1670
  {
1671
1671
  variant: "outline",
1672
1672
  size: "xs",
1673
- onClick: () => V(!0),
1673
+ onClick: () => j(!0),
1674
1674
  children: [
1675
1675
  /* @__PURE__ */ e(Ut, { className: "h-3.5 w-3.5" }),
1676
1676
  "Share"
@@ -1690,8 +1690,8 @@ function hn() {
1690
1690
  {
1691
1691
  variant: "secondary",
1692
1692
  size: "xs",
1693
- disabled: j,
1694
- onClick: js,
1693
+ disabled: V,
1694
+ onClick: Vs,
1695
1695
  children: [
1696
1696
  /* @__PURE__ */ e(Ka, { className: "h-3.5 w-3.5" }),
1697
1697
  "Save Lens"
@@ -1732,9 +1732,9 @@ function hn() {
1732
1732
  I,
1733
1733
  {
1734
1734
  size: "xs",
1735
- className: Y(!Pa && "opacity-60"),
1736
- disabled: Ne || !Pa,
1737
- onClick: () => je(),
1735
+ className: Y(!Oa && "opacity-60"),
1736
+ disabled: Ne || !Oa,
1737
+ onClick: () => Ve(),
1738
1738
  children: [
1739
1739
  Ne ? /* @__PURE__ */ e(X, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(Ka, { className: "h-3.5 w-3.5" }),
1740
1740
  Ne ? "Saving..." : "Save"
@@ -1780,7 +1780,7 @@ function hn() {
1780
1780
  }
1781
1781
  ),
1782
1782
  /* @__PURE__ */ e(Ae, {}),
1783
- Ts && /* @__PURE__ */ o(O, { children: [
1783
+ Ts && /* @__PURE__ */ o(P, { children: [
1784
1784
  /* @__PURE__ */ e(oe, { children: "Access" }),
1785
1785
  /* @__PURE__ */ o(
1786
1786
  z,
@@ -1799,7 +1799,7 @@ function hn() {
1799
1799
  /* @__PURE__ */ e(qt, { className: "h-3.5 w-3.5" }),
1800
1800
  "Calendar Preferences"
1801
1801
  ] }),
1802
- n && i && /* @__PURE__ */ o(O, { children: [
1802
+ n && i && /* @__PURE__ */ o(P, { children: [
1803
1803
  /* @__PURE__ */ e(Ae, {}),
1804
1804
  /* @__PURE__ */ e(oe, { children: "Developer" }),
1805
1805
  /* @__PURE__ */ o(
@@ -1812,7 +1812,7 @@ function hn() {
1812
1812
  ).catch(() => M.error("Unable to copy token")) : M.error("Clipboard not available"));
1813
1813
  },
1814
1814
  children: [
1815
- /* @__PURE__ */ e(ja, { className: "h-3.5 w-3.5" }),
1815
+ /* @__PURE__ */ e(Va, { className: "h-3.5 w-3.5" }),
1816
1816
  "Copy token"
1817
1817
  ]
1818
1818
  }
@@ -1840,7 +1840,7 @@ function hn() {
1840
1840
  ) : M.error("Clipboard not available");
1841
1841
  },
1842
1842
  children: [
1843
- /* @__PURE__ */ e(ja, { className: "h-3.5 w-3.5" }),
1843
+ /* @__PURE__ */ e(Va, { className: "h-3.5 w-3.5" }),
1844
1844
  "Copy local document PDF URL"
1845
1845
  ]
1846
1846
  }
@@ -1874,11 +1874,11 @@ function hn() {
1874
1874
  "Add lens"
1875
1875
  ] }),
1876
1876
  te && /* @__PURE__ */ o(Bt, { children: [
1877
- /* @__PURE__ */ o(jt, { children: [
1877
+ /* @__PURE__ */ o(Vt, { children: [
1878
1878
  /* @__PURE__ */ e(dr, { className: "h-3.5 w-3.5" }),
1879
1879
  "Lenses"
1880
1880
  ] }),
1881
- /* @__PURE__ */ e(Vt, { className: "w-60", children: /* @__PURE__ */ e(Dr, {}) })
1881
+ /* @__PURE__ */ e(jt, { className: "w-60", children: /* @__PURE__ */ e(Dr, {}) })
1882
1882
  ] })
1883
1883
  ] })
1884
1884
  ]
@@ -1890,7 +1890,7 @@ function hn() {
1890
1890
  {
1891
1891
  resource: Ea,
1892
1892
  resourceType: Ke.DASHBOARD,
1893
- onClose: () => V(!1)
1893
+ onClose: () => j(!1)
1894
1894
  }
1895
1895
  ),
1896
1896
  /* @__PURE__ */ e(
@@ -1931,7 +1931,7 @@ function hn() {
1931
1931
  /* @__PURE__ */ e("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: xa.slice(0, 5).map((c) => /* @__PURE__ */ e("li", { children: c }, c)) })
1932
1932
  ] })
1933
1933
  ] }),
1934
- /* @__PURE__ */ e(fs, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: ue ? /* @__PURE__ */ o(O, { children: [
1934
+ /* @__PURE__ */ e(fs, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: ue ? /* @__PURE__ */ o(P, { children: [
1935
1935
  /* @__PURE__ */ e(
1936
1936
  gs,
1937
1937
  {
@@ -1945,7 +1945,7 @@ function hn() {
1945
1945
  /* @__PURE__ */ e(
1946
1946
  ra,
1947
1947
  {
1948
- onClick: () => je({
1948
+ onClick: () => Ve({
1949
1949
  closeAfterSave: Sa,
1950
1950
  navigateHomeAfterSave: He === "home"
1951
1951
  }),
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("./switch-DPaKnsb8.js"),s=require("./index-D8eouWYC.js"),y=require("react");require("./index-DRlMUglg.js");require("react-dom");const R=require("./dashboard-briefing-launcher-DjDpGyD7.js"),Js=require("./index-D7KJindZ.js"),Ys=require("./calendar-preferences-dialog-CFXQBJ4A.js"),Xs=require("./use-debounced-dirty-check-XHSwAefL.js"),Ie=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),ls=require("./save-B8x5Vi0W.js"),Zs=require("./palette-CJTdBzJB.js"),et=require("./braces-NfG5hX2c.js");function st(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const E=st(y);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("./switch-BXICAlvS.js"),s=require("./index-DX6Krdga.js"),y=require("react");require("./index-DRlMUglg.js");require("react-dom");const R=require("./dashboard-briefing-launcher-Cqm8NnVb.js"),Js=require("./index-D7KJindZ.js"),Ys=require("./calendar-preferences-dialog-CzoSmQNw.js"),Xs=require("./use-debounced-dirty-check-XHSwAefL.js"),Ie=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),ls=require("./save-CqrBQKG6.js"),Zs=require("./palette-CanPG11m.js"),et=require("./braces-C7BeIXvM.js");function st(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const E=st(y);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
2
  import { useMemo as m, useState as b, useRef as f, useEffect as S } from "react";
3
- import { u as o, a as N, B as p, X as D, C as J } from "./switch-sauemjyY.js";
4
- import "./index-Clw0hJzi.js";
3
+ import { u as o, a as N, B as p, X as D, C as J } from "./switch-DdTUsWgd.js";
4
+ import "./index-BZg7rVe-.js";
5
5
  import "./index-CJdxSyQq.js";
6
6
  import "react-dom";
7
7
  function C() {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),o=require("react"),s=require("./switch-DPaKnsb8.js");require("./index-D8eouWYC.js");require("./index-DRlMUglg.js");require("react-dom");function b(){const t=s.useDashboardStore(e=>e.dashboard),c=s.useDashboardStore(e=>e.actions.setDashboard),u=s.useDashboardStore(e=>e.showDashboardJSON),h=s.useDashboardStore(e=>e.actions.setShowDashboardJSON),a=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,d]=o.useState(a),n=o.useRef(a);return o.useEffect(()=>{a!==n.current&&(d(a),n.current=a)},[a]),r.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[r.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[r.jsx(s.X,{className:"mr-2 h-4 w-4"}),"Close"]}),r.jsx("div",{className:"h-[550px] overflow-hidden",children:r.jsx(s.CodeEditor,{value:l,onValueChange:e=>{d(e);try{const i=JSON.parse(e);n.current=JSON.stringify(i,null,2),c(i)}catch{}},language:"json"})})]})}exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),o=require("react"),s=require("./switch-BXICAlvS.js");require("./index-DX6Krdga.js");require("./index-DRlMUglg.js");require("react-dom");function b(){const t=s.useDashboardStore(e=>e.dashboard),c=s.useDashboardStore(e=>e.actions.setDashboard),u=s.useDashboardStore(e=>e.showDashboardJSON),h=s.useDashboardStore(e=>e.actions.setShowDashboardJSON),a=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,d]=o.useState(a),n=o.useRef(a);return o.useEffect(()=>{a!==n.current&&(d(a),n.current=a)},[a]),r.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[r.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[r.jsx(s.X,{className:"mr-2 h-4 w-4"}),"Close"]}),r.jsx("div",{className:"h-[550px] overflow-hidden",children:r.jsx(s.CodeEditor,{value:l,onValueChange:e=>{d(e);try{const i=JSON.parse(e);n.current=JSON.stringify(i,null,2),c(i)}catch{}},language:"json"})})]})}exports.default=b;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),n=require("./index-D8eouWYC.js"),t=require("./switch-DPaKnsb8.js"),Ne=require("./use-create-flow-overlay-state-CdCldE6J.js"),ft=require("./use-visual-utils-CMdEUnM5.js"),Fn=require("./chevrons-up-down-DiWloubI.js"),Sa=require("react-dom");require("./index-DRlMUglg.js");const wa=require("./palette-CJTdBzJB.js"),Ta=require("./common-types-C73-Ud1-.js");function Ea(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(a,r,l.get?l:{enumerable:!0,get:()=>s[r]})}}return a.default=s,Object.freeze(a)}const Ia=Ea(N);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),n=require("./index-DX6Krdga.js"),t=require("./switch-BXICAlvS.js"),Ne=require("./use-create-flow-overlay-state-BfV5187a.js"),ft=require("./use-visual-utils-D_uHFfTn.js"),Fn=require("./chevrons-up-down-Cuilz9aY.js"),Sa=require("react-dom");require("./index-DRlMUglg.js");const wa=require("./palette-CanPG11m.js"),Ta=require("./common-types-C73-Ud1-.js");function Ea(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(a,r,l.get?l:{enumerable:!0,get:()=>s[r]})}}return a.default=s,Object.freeze(a)}const Ia=Ea(N);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.