@foris/ai-agent 0.5.0 → 0.7.0

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 (60) hide show
  1. package/dist/ai-agent.es.js +6 -5
  2. package/dist/ai-agent.umd.js +478 -577
  3. package/dist/ai-chat-panel/ChatPanel.d.ts +2 -0
  4. package/dist/ai-chat-panel/chatPanel.constants.d.ts +6 -0
  5. package/dist/ai-chat-panel-menu/ChatPanelMenu.d.ts +5 -0
  6. package/dist/ai-chat-panel-menu/index.d.ts +1 -0
  7. package/dist/ai-prompt-code-editor/editor-input.d.ts +11 -0
  8. package/dist/{arc-D_-oet3c.js → arc-D25sVj89.js} +1 -1
  9. package/dist/{architectureDiagram-VXUJARFQ-C6CtNZvz.js → architectureDiagram-VXUJARFQ-Cgk-YoAJ.js} +3 -3
  10. package/dist/{blockDiagram-VD42YOAC-BN4EYxD1.js → blockDiagram-VD42YOAC-DEl6OtG0.js} +4 -4
  11. package/dist/{c4Diagram-YG6GDRKO-Ce7OiVQF.js → c4Diagram-YG6GDRKO-C_brDMc_.js} +3 -3
  12. package/dist/{channel-QYxMtnsn.js → channel-BP0bUxGp.js} +1 -1
  13. package/dist/{chunk-4BX2VUAB-BsZHyUha.js → chunk-4BX2VUAB-C5fELlqE.js} +1 -1
  14. package/dist/{chunk-55IACEB6-CZsgyr6W.js → chunk-55IACEB6-DaHkCIMI.js} +1 -1
  15. package/dist/{chunk-B4BG7PRW-DmAf9Bg4.js → chunk-B4BG7PRW-C2Vtaq9f.js} +4 -4
  16. package/dist/{chunk-DI55MBZ5-CYpWecaH.js → chunk-DI55MBZ5-DmM1ZmJ9.js} +3 -3
  17. package/dist/{chunk-FMBD7UC4-hAr3qyfB.js → chunk-FMBD7UC4-MWLCTT_V.js} +1 -1
  18. package/dist/{chunk-QN33PNHL-DcBFIin-.js → chunk-QN33PNHL-BFfd-KsX.js} +1 -1
  19. package/dist/{chunk-QZHKN3VN-BHGyZr5a.js → chunk-QZHKN3VN-DvYwzcYM.js} +1 -1
  20. package/dist/{chunk-TZMSLE5B-Bpgc9un7.js → chunk-TZMSLE5B-B_VLLszl.js} +1 -1
  21. package/dist/{classDiagram-2ON5EDUG-C7yqWY_k.js → classDiagram-2ON5EDUG-CEjscqbc.js} +6 -6
  22. package/dist/{classDiagram-v2-WZHVMYZB-C7yqWY_k.js → classDiagram-v2-WZHVMYZB-CEjscqbc.js} +6 -6
  23. package/dist/{code-block-QI2IAROF-CgpwhTuu.js → code-block-QI2IAROF-MPMUtVbZ.js} +1 -1
  24. package/dist/components/ai-chat-logo/AiChatLogo.d.ts +5 -0
  25. package/dist/components/ai-chat-logo/index.d.ts +2 -0
  26. package/dist/components/ai-elements/conversation.d.ts +7 -4
  27. package/dist/components/ai-elements/message.d.ts +8 -8
  28. package/dist/components/ai-elements/tool.d.ts +9 -9
  29. package/dist/components/ui/input-group.d.ts +8 -8
  30. package/dist/{cose-bilkent-S5V4N54A-D08Qi7bf.js → cose-bilkent-S5V4N54A-DNnmrjSK.js} +2 -2
  31. package/dist/{dagre-6UL2VRFP-Cr_pTcr9.js → dagre-6UL2VRFP-c7TGz1C2.js} +2 -2
  32. package/dist/{diagram-PSM6KHXK-BzxR51_i.js → diagram-PSM6KHXK-CyVHRF5H.js} +4 -4
  33. package/dist/{diagram-QEK2KX5R-CHVrvEIL.js → diagram-QEK2KX5R-BQj43c4D.js} +3 -3
  34. package/dist/{diagram-S2PKOQOG-xLYTLf61.js → diagram-S2PKOQOG-Dp2Zxf6h.js} +3 -3
  35. package/dist/{erDiagram-Q2GNP2WA-7KDN7wbO.js → erDiagram-Q2GNP2WA-UU_sJ3Nk.js} +5 -5
  36. package/dist/{flowDiagram-NV44I4VS-Bo4TCep6.js → flowDiagram-NV44I4VS-DmHh0Mw6.js} +6 -6
  37. package/dist/{ganttDiagram-JELNMOA3-DA9gBZfe.js → ganttDiagram-JELNMOA3-B2DD6FxH.js} +3 -3
  38. package/dist/{gitGraphDiagram-NY62KEGX-Dg38MsLl.js → gitGraphDiagram-NY62KEGX-BIUvS6sD.js} +4 -4
  39. package/dist/hooks/useChatScroll.d.ts +13 -0
  40. package/dist/hooks/useSummary.d.ts +2 -0
  41. package/dist/{index-DKlfdpwA.js → index-DWpc-Mxs.js} +13385 -13252
  42. package/dist/index.d.ts +2 -1
  43. package/dist/{infoDiagram-WHAUD3N6-XMcODCSn.js → infoDiagram-WHAUD3N6-Cz5rmERs.js} +2 -2
  44. package/dist/{journeyDiagram-XKPGCS4Q-BfoN8cUu.js → journeyDiagram-XKPGCS4Q-Dia_QTZe.js} +5 -5
  45. package/dist/{kanban-definition-3W4ZIXB7-CI6EFr6V.js → kanban-definition-3W4ZIXB7-ClIKCv5J.js} +3 -3
  46. package/dist/{linear-BOHxJJ-f.js → linear-ZyP8gWvJ.js} +1 -1
  47. package/dist/{mermaid-NA5CF7SZ-BFjG4ERj.js → mermaid-NA5CF7SZ-BbXrnAMx.js} +1 -1
  48. package/dist/{mermaid.core-DOeoWyvq.js → mermaid.core-Ce2qm3MW.js} +31 -31
  49. package/dist/{mindmap-definition-VGOIOE7T-Fm6PleR-.js → mindmap-definition-VGOIOE7T-CUj7ttm7.js} +4 -4
  50. package/dist/{pieDiagram-ADFJNKIX-N3jjTAEE.js → pieDiagram-ADFJNKIX-w5KEkOWO.js} +4 -4
  51. package/dist/{quadrantDiagram-AYHSOK5B-CCjFyL81.js → quadrantDiagram-AYHSOK5B-C4-Gx7bz.js} +3 -3
  52. package/dist/{requirementDiagram-UZGBJVZJ-DVQd9-Lj.js → requirementDiagram-UZGBJVZJ-Cr3_wZVs.js} +4 -4
  53. package/dist/{sankeyDiagram-TZEHDZUN-B0Dw7zTE.js → sankeyDiagram-TZEHDZUN-DqXQCv8A.js} +2 -2
  54. package/dist/{sequenceDiagram-WL72ISMW-DTD_bz7R.js → sequenceDiagram-WL72ISMW-DFW243PP.js} +4 -4
  55. package/dist/{stateDiagram-FKZM4ZOC-CFd7dRxd.js → stateDiagram-FKZM4ZOC-C7xue1N-.js} +5 -5
  56. package/dist/{stateDiagram-v2-4FDKWEC3-BblxzJoH.js → stateDiagram-v2-4FDKWEC3-CxbMhTx0.js} +5 -5
  57. package/dist/style.css +1 -1
  58. package/dist/{timeline-definition-IT6M3QCI-DvvVcf9K.js → timeline-definition-IT6M3QCI-HXVoEY4s.js} +3 -3
  59. package/dist/{xychartDiagram-PRI3JC2R-BRuIqGMD.js → xychartDiagram-PRI3JC2R-7Isc60Pi.js} +3 -3
  60. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { ChatPanel } from './ai-chat-panel';
2
+ import { ChatPanelMenu } from './ai-chat-panel-menu';
2
3
  import { SummaryCard } from './ai-summary-card';
3
4
  import { PromptCodeEditor } from './ai-prompt-code-editor';
4
5
  import EditableCodeBlock from './ai-prompt-code-editor/editable-code-block';
5
- export { ChatPanel, SummaryCard, PromptCodeEditor, EditableCodeBlock };
6
+ export { ChatPanel, ChatPanelMenu, SummaryCard, PromptCodeEditor, EditableCodeBlock };
@@ -1,6 +1,6 @@
1
- import { _ as e, l as s, K as n, k as i, L as p } from "./mermaid.core-DOeoWyvq.js";
1
+ import { _ as e, l as s, K as n, k as i, L as p } from "./mermaid.core-Ce2qm3MW.js";
2
2
  import { p as g } from "./treemap-KMMF4GRG-D_L55G0b.js";
3
- import "./index-DKlfdpwA.js";
3
+ import "./index-DWpc-Mxs.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  var v = {
@@ -1,8 +1,8 @@
1
- import { d as gt, f as mt, g as lt, b as xt } from "./chunk-TZMSLE5B-Bpgc9un7.js";
2
- import { g as kt } from "./chunk-FMBD7UC4-hAr3qyfB.js";
3
- import { _ as n, d as R, o as _t, p as vt, s as bt, g as wt, c as Tt, b as St, v as $t, j as G, k as Mt } from "./mermaid.core-DOeoWyvq.js";
4
- import { d as et } from "./arc-D_-oet3c.js";
5
- import "./index-DKlfdpwA.js";
1
+ import { d as gt, f as mt, g as lt, b as xt } from "./chunk-TZMSLE5B-B_VLLszl.js";
2
+ import { g as kt } from "./chunk-FMBD7UC4-MWLCTT_V.js";
3
+ import { _ as n, d as R, o as _t, p as vt, s as bt, g as wt, c as Tt, b as St, v as $t, j as G, k as Mt } from "./mermaid.core-Ce2qm3MW.js";
4
+ import { d as et } from "./arc-D25sVj89.js";
5
+ import "./index-DWpc-Mxs.js";
6
6
  import "react";
7
7
  import "react-dom";
8
8
  var U = function() {
@@ -1,6 +1,6 @@
1
- import { _ as c, l as te, d as W, K as fe, ah as ye, ai as be, aj as me, ad as Ee, E as Y, i as G, q as _e, J as ke, ae as Se, af as le, ag as ce } from "./mermaid.core-DOeoWyvq.js";
2
- import { g as Ne } from "./chunk-FMBD7UC4-hAr3qyfB.js";
3
- import "./index-DKlfdpwA.js";
1
+ import { _ as c, l as te, d as W, K as fe, ah as ye, ai as be, aj as me, ad as Ee, E as Y, i as G, q as _e, J as ke, ae as Se, af as le, ag as ce } from "./mermaid.core-Ce2qm3MW.js";
2
+ import { g as Ne } from "./chunk-FMBD7UC4-MWLCTT_V.js";
3
+ import "./index-DWpc-Mxs.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  var $ = function() {
@@ -1,4 +1,4 @@
1
- import { aB as j, aC as p, aD as w, aE as k, aF as D } from "./mermaid.core-DOeoWyvq.js";
1
+ import { aB as j, aC as p, aD as w, aE as k, aF as D } from "./mermaid.core-Ce2qm3MW.js";
2
2
  import { i as F } from "./init-DjUOC4st.js";
3
3
  import { e as g, f as q, a as B, b as z } from "./defaultLocale-DcQU6Vee.js";
4
4
  function M(n, r) {
@@ -1,4 +1,4 @@
1
- import { E as p } from "./index-DKlfdpwA.js";
1
+ import { E as p } from "./index-DWpc-Mxs.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { c as nm, g as sm, k as Nc } from "./index-DKlfdpwA.js";
1
+ import { c as nm, g as sm, k as Nc } from "./index-DWpc-Mxs.js";
2
2
  var ul = {
3
3
  name: "mermaid",
4
4
  version: "11.12.2",
@@ -2741,7 +2741,7 @@ var nh = /* @__PURE__ */ p((e) => (n0(), Lr.sanitize(e)), "removeScript"), _l =
2741
2741
  if (!(wl() || t.legacyMathML || t.forceLegacyMathML))
2742
2742
  return e.replace(cs, "MathML is unsupported in this environment.");
2743
2743
  {
2744
- const { default: r } = await import("./index-DKlfdpwA.js").then((a) => a.f), i = t.forceLegacyMathML || !wl() && t.legacyMathML ? "htmlAndMathml" : "mathml";
2744
+ const { default: r } = await import("./index-DWpc-Mxs.js").then((a) => a.h), i = t.forceLegacyMathML || !wl() && t.legacyMathML ? "htmlAndMathml" : "mathml";
2745
2745
  return e.split(Ii).map(
2746
2746
  (a) => Ar(a) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${a}</div>` : `<div>${a}</div>`
2747
2747
  ).join("").replace(
@@ -13234,11 +13234,11 @@ var Pw = /* @__PURE__ */ p((e, t, r, i) => {
13234
13234
  ig([
13235
13235
  {
13236
13236
  name: "dagre",
13237
- loader: /* @__PURE__ */ p(async () => await import("./dagre-6UL2VRFP-Cr_pTcr9.js"), "loader")
13237
+ loader: /* @__PURE__ */ p(async () => await import("./dagre-6UL2VRFP-c7TGz1C2.js"), "loader")
13238
13238
  },
13239
13239
  {
13240
13240
  name: "cose-bilkent",
13241
- loader: /* @__PURE__ */ p(async () => await import("./cose-bilkent-S5V4N54A-D08Qi7bf.js"), "loader")
13241
+ loader: /* @__PURE__ */ p(async () => await import("./cose-bilkent-S5V4N54A-DNnmrjSK.js"), "loader")
13242
13242
  }
13243
13243
  ]);
13244
13244
  }, "registerDefaultLayoutLoaders");
@@ -13560,7 +13560,7 @@ function Dc(e) {
13560
13560
  return !0;
13561
13561
  }
13562
13562
  var hg = "c4", OS = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), IS = /* @__PURE__ */ p(async () => {
13563
- const { diagram: e } = await import("./c4Diagram-YG6GDRKO-Ce7OiVQF.js");
13563
+ const { diagram: e } = await import("./c4Diagram-YG6GDRKO-C_brDMc_.js");
13564
13564
  return { id: hg, diagram: e };
13565
13565
  }, "loader"), RS = {
13566
13566
  id: hg,
@@ -13570,7 +13570,7 @@ var hg = "c4", OS = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
13570
13570
  var r, i;
13571
13571
  return ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" || ((i = t == null ? void 0 : t.flowchart) == null ? void 0 : i.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(e);
13572
13572
  }, "detector"), WS = /* @__PURE__ */ p(async () => {
13573
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-Bo4TCep6.js");
13573
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-DmHh0Mw6.js");
13574
13574
  return { id: ug, diagram: e };
13575
13575
  }, "loader"), zS = {
13576
13576
  id: ug,
@@ -13580,70 +13580,70 @@ var hg = "c4", OS = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
13580
13580
  var r, i, a;
13581
13581
  return ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-d3" ? !1 : (((i = t == null ? void 0 : t.flowchart) == null ? void 0 : i.defaultRenderer) === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && ((a = t == null ? void 0 : t.flowchart) == null ? void 0 : a.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e));
13582
13582
  }, "detector"), jS = /* @__PURE__ */ p(async () => {
13583
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-Bo4TCep6.js");
13583
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-DmHh0Mw6.js");
13584
13584
  return { id: fg, diagram: e };
13585
13585
  }, "loader"), YS = {
13586
13586
  id: fg,
13587
13587
  detector: HS,
13588
13588
  loader: jS
13589
13589
  }, US = YS, dg = "er", GS = /* @__PURE__ */ p((e) => /^\s*erDiagram/.test(e), "detector"), XS = /* @__PURE__ */ p(async () => {
13590
- const { diagram: e } = await import("./erDiagram-Q2GNP2WA-7KDN7wbO.js");
13590
+ const { diagram: e } = await import("./erDiagram-Q2GNP2WA-UU_sJ3Nk.js");
13591
13591
  return { id: dg, diagram: e };
13592
13592
  }, "loader"), VS = {
13593
13593
  id: dg,
13594
13594
  detector: GS,
13595
13595
  loader: XS
13596
13596
  }, KS = VS, pg = "gitGraph", ZS = /* @__PURE__ */ p((e) => /^\s*gitGraph/.test(e), "detector"), QS = /* @__PURE__ */ p(async () => {
13597
- const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-Dg38MsLl.js");
13597
+ const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-BIUvS6sD.js");
13598
13598
  return { id: pg, diagram: e };
13599
13599
  }, "loader"), JS = {
13600
13600
  id: pg,
13601
13601
  detector: ZS,
13602
13602
  loader: QS
13603
13603
  }, tk = JS, gg = "gantt", ek = /* @__PURE__ */ p((e) => /^\s*gantt/.test(e), "detector"), rk = /* @__PURE__ */ p(async () => {
13604
- const { diagram: e } = await import("./ganttDiagram-JELNMOA3-DA9gBZfe.js");
13604
+ const { diagram: e } = await import("./ganttDiagram-JELNMOA3-B2DD6FxH.js");
13605
13605
  return { id: gg, diagram: e };
13606
13606
  }, "loader"), ik = {
13607
13607
  id: gg,
13608
13608
  detector: ek,
13609
13609
  loader: rk
13610
13610
  }, ak = ik, mg = "info", nk = /* @__PURE__ */ p((e) => /^\s*info/.test(e), "detector"), sk = /* @__PURE__ */ p(async () => {
13611
- const { diagram: e } = await import("./infoDiagram-WHAUD3N6-XMcODCSn.js");
13611
+ const { diagram: e } = await import("./infoDiagram-WHAUD3N6-Cz5rmERs.js");
13612
13612
  return { id: mg, diagram: e };
13613
13613
  }, "loader"), ok = {
13614
13614
  id: mg,
13615
13615
  detector: nk,
13616
13616
  loader: sk
13617
13617
  }, yg = "pie", lk = /* @__PURE__ */ p((e) => /^\s*pie/.test(e), "detector"), ck = /* @__PURE__ */ p(async () => {
13618
- const { diagram: e } = await import("./pieDiagram-ADFJNKIX-N3jjTAEE.js");
13618
+ const { diagram: e } = await import("./pieDiagram-ADFJNKIX-w5KEkOWO.js");
13619
13619
  return { id: yg, diagram: e };
13620
13620
  }, "loader"), hk = {
13621
13621
  id: yg,
13622
13622
  detector: lk,
13623
13623
  loader: ck
13624
13624
  }, xg = "quadrantChart", uk = /* @__PURE__ */ p((e) => /^\s*quadrantChart/.test(e), "detector"), fk = /* @__PURE__ */ p(async () => {
13625
- const { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-CCjFyL81.js");
13625
+ const { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-C4-Gx7bz.js");
13626
13626
  return { id: xg, diagram: e };
13627
13627
  }, "loader"), dk = {
13628
13628
  id: xg,
13629
13629
  detector: uk,
13630
13630
  loader: fk
13631
13631
  }, pk = dk, bg = "xychart", gk = /* @__PURE__ */ p((e) => /^\s*xychart(-beta)?/.test(e), "detector"), mk = /* @__PURE__ */ p(async () => {
13632
- const { diagram: e } = await import("./xychartDiagram-PRI3JC2R-BRuIqGMD.js");
13632
+ const { diagram: e } = await import("./xychartDiagram-PRI3JC2R-7Isc60Pi.js");
13633
13633
  return { id: bg, diagram: e };
13634
13634
  }, "loader"), yk = {
13635
13635
  id: bg,
13636
13636
  detector: gk,
13637
13637
  loader: mk
13638
13638
  }, xk = yk, Cg = "requirement", bk = /* @__PURE__ */ p((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), Ck = /* @__PURE__ */ p(async () => {
13639
- const { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-DVQd9-Lj.js");
13639
+ const { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-Cr3_wZVs.js");
13640
13640
  return { id: Cg, diagram: e };
13641
13641
  }, "loader"), _k = {
13642
13642
  id: Cg,
13643
13643
  detector: bk,
13644
13644
  loader: Ck
13645
13645
  }, vk = _k, _g = "sequence", wk = /* @__PURE__ */ p((e) => /^\s*sequenceDiagram/.test(e), "detector"), Sk = /* @__PURE__ */ p(async () => {
13646
- const { diagram: e } = await import("./sequenceDiagram-WL72ISMW-DTD_bz7R.js");
13646
+ const { diagram: e } = await import("./sequenceDiagram-WL72ISMW-DFW243PP.js");
13647
13647
  return { id: _g, diagram: e };
13648
13648
  }, "loader"), kk = {
13649
13649
  id: _g,
@@ -13653,7 +13653,7 @@ var hg = "c4", OS = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
13653
13653
  var r;
13654
13654
  return ((r = t == null ? void 0 : t.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e);
13655
13655
  }, "detector"), Lk = /* @__PURE__ */ p(async () => {
13656
- const { diagram: e } = await import("./classDiagram-2ON5EDUG-C7yqWY_k.js");
13656
+ const { diagram: e } = await import("./classDiagram-2ON5EDUG-CEjscqbc.js");
13657
13657
  return { id: vg, diagram: e };
13658
13658
  }, "loader"), Mk = {
13659
13659
  id: vg,
@@ -13663,7 +13663,7 @@ var hg = "c4", OS = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
13663
13663
  var r;
13664
13664
  return /^\s*classDiagram/.test(e) && ((r = t == null ? void 0 : t.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e);
13665
13665
  }, "detector"), Fk = /* @__PURE__ */ p(async () => {
13666
- const { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-C7yqWY_k.js");
13666
+ const { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-CEjscqbc.js");
13667
13667
  return { id: wg, diagram: e };
13668
13668
  }, "loader"), $k = {
13669
13669
  id: wg,
@@ -13673,7 +13673,7 @@ var hg = "c4", OS = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
13673
13673
  var r;
13674
13674
  return ((r = t == null ? void 0 : t.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e);
13675
13675
  }, "detector"), Ik = /* @__PURE__ */ p(async () => {
13676
- const { diagram: e } = await import("./stateDiagram-FKZM4ZOC-CFd7dRxd.js");
13676
+ const { diagram: e } = await import("./stateDiagram-FKZM4ZOC-C7xue1N-.js");
13677
13677
  return { id: Sg, diagram: e };
13678
13678
  }, "loader"), Rk = {
13679
13679
  id: Sg,
@@ -13683,14 +13683,14 @@ var hg = "c4", OS = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
13683
13683
  var r;
13684
13684
  return !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && ((r = t == null ? void 0 : t.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper");
13685
13685
  }, "detector"), Wk = /* @__PURE__ */ p(async () => {
13686
- const { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-BblxzJoH.js");
13686
+ const { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-CxbMhTx0.js");
13687
13687
  return { id: kg, diagram: e };
13688
13688
  }, "loader"), zk = {
13689
13689
  id: kg,
13690
13690
  detector: Nk,
13691
13691
  loader: Wk
13692
13692
  }, qk = zk, Tg = "journey", Hk = /* @__PURE__ */ p((e) => /^\s*journey/.test(e), "detector"), jk = /* @__PURE__ */ p(async () => {
13693
- const { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-BfoN8cUu.js");
13693
+ const { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-Dia_QTZe.js");
13694
13694
  return { id: Tg, diagram: e };
13695
13695
  }, "loader"), Yk = {
13696
13696
  id: Tg,
@@ -13734,70 +13734,70 @@ var hg = "c4", OS = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
13734
13734
  /^\s*(flowchart|graph)/.test(e) && ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? (t.layout = "elk", !0) : !1
13735
13735
  );
13736
13736
  }, "detector"), Qk = /* @__PURE__ */ p(async () => {
13737
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-Bo4TCep6.js");
13737
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-DmHh0Mw6.js");
13738
13738
  return { id: Lg, diagram: e };
13739
13739
  }, "loader"), Jk = {
13740
13740
  id: Lg,
13741
13741
  detector: Zk,
13742
13742
  loader: Qk
13743
13743
  }, tT = Jk, Mg = "timeline", eT = /* @__PURE__ */ p((e) => /^\s*timeline/.test(e), "detector"), rT = /* @__PURE__ */ p(async () => {
13744
- const { diagram: e } = await import("./timeline-definition-IT6M3QCI-DvvVcf9K.js");
13744
+ const { diagram: e } = await import("./timeline-definition-IT6M3QCI-HXVoEY4s.js");
13745
13745
  return { id: Mg, diagram: e };
13746
13746
  }, "loader"), iT = {
13747
13747
  id: Mg,
13748
13748
  detector: eT,
13749
13749
  loader: rT
13750
13750
  }, aT = iT, Ag = "mindmap", nT = /* @__PURE__ */ p((e) => /^\s*mindmap/.test(e), "detector"), sT = /* @__PURE__ */ p(async () => {
13751
- const { diagram: e } = await import("./mindmap-definition-VGOIOE7T-Fm6PleR-.js");
13751
+ const { diagram: e } = await import("./mindmap-definition-VGOIOE7T-CUj7ttm7.js");
13752
13752
  return { id: Ag, diagram: e };
13753
13753
  }, "loader"), oT = {
13754
13754
  id: Ag,
13755
13755
  detector: nT,
13756
13756
  loader: sT
13757
13757
  }, lT = oT, Eg = "kanban", cT = /* @__PURE__ */ p((e) => /^\s*kanban/.test(e), "detector"), hT = /* @__PURE__ */ p(async () => {
13758
- const { diagram: e } = await import("./kanban-definition-3W4ZIXB7-CI6EFr6V.js");
13758
+ const { diagram: e } = await import("./kanban-definition-3W4ZIXB7-ClIKCv5J.js");
13759
13759
  return { id: Eg, diagram: e };
13760
13760
  }, "loader"), uT = {
13761
13761
  id: Eg,
13762
13762
  detector: cT,
13763
13763
  loader: hT
13764
13764
  }, fT = uT, Fg = "sankey", dT = /* @__PURE__ */ p((e) => /^\s*sankey(-beta)?/.test(e), "detector"), pT = /* @__PURE__ */ p(async () => {
13765
- const { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-B0Dw7zTE.js");
13765
+ const { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-DqXQCv8A.js");
13766
13766
  return { id: Fg, diagram: e };
13767
13767
  }, "loader"), gT = {
13768
13768
  id: Fg,
13769
13769
  detector: dT,
13770
13770
  loader: pT
13771
13771
  }, mT = gT, $g = "packet", yT = /* @__PURE__ */ p((e) => /^\s*packet(-beta)?/.test(e), "detector"), xT = /* @__PURE__ */ p(async () => {
13772
- const { diagram: e } = await import("./diagram-S2PKOQOG-xLYTLf61.js");
13772
+ const { diagram: e } = await import("./diagram-S2PKOQOG-Dp2Zxf6h.js");
13773
13773
  return { id: $g, diagram: e };
13774
13774
  }, "loader"), bT = {
13775
13775
  id: $g,
13776
13776
  detector: yT,
13777
13777
  loader: xT
13778
13778
  }, Dg = "radar", CT = /* @__PURE__ */ p((e) => /^\s*radar-beta/.test(e), "detector"), _T = /* @__PURE__ */ p(async () => {
13779
- const { diagram: e } = await import("./diagram-QEK2KX5R-CHVrvEIL.js");
13779
+ const { diagram: e } = await import("./diagram-QEK2KX5R-BQj43c4D.js");
13780
13780
  return { id: Dg, diagram: e };
13781
13781
  }, "loader"), vT = {
13782
13782
  id: Dg,
13783
13783
  detector: CT,
13784
13784
  loader: _T
13785
13785
  }, Og = "block", wT = /* @__PURE__ */ p((e) => /^\s*block(-beta)?/.test(e), "detector"), ST = /* @__PURE__ */ p(async () => {
13786
- const { diagram: e } = await import("./blockDiagram-VD42YOAC-BN4EYxD1.js");
13786
+ const { diagram: e } = await import("./blockDiagram-VD42YOAC-DEl6OtG0.js");
13787
13787
  return { id: Og, diagram: e };
13788
13788
  }, "loader"), kT = {
13789
13789
  id: Og,
13790
13790
  detector: wT,
13791
13791
  loader: ST
13792
13792
  }, TT = kT, Ig = "architecture", BT = /* @__PURE__ */ p((e) => /^\s*architecture/.test(e), "detector"), LT = /* @__PURE__ */ p(async () => {
13793
- const { diagram: e } = await import("./architectureDiagram-VXUJARFQ-C6CtNZvz.js");
13793
+ const { diagram: e } = await import("./architectureDiagram-VXUJARFQ-Cgk-YoAJ.js");
13794
13794
  return { id: Ig, diagram: e };
13795
13795
  }, "loader"), MT = {
13796
13796
  id: Ig,
13797
13797
  detector: BT,
13798
13798
  loader: LT
13799
13799
  }, AT = MT, Rg = "treemap", ET = /* @__PURE__ */ p((e) => /^\s*treemap/.test(e), "detector"), FT = /* @__PURE__ */ p(async () => {
13800
- const { diagram: e } = await import("./diagram-PSM6KHXK-BzxR51_i.js");
13800
+ const { diagram: e } = await import("./diagram-PSM6KHXK-CyVHRF5H.js");
13801
13801
  return { id: Rg, diagram: e };
13802
13802
  }, "loader"), $T = {
13803
13803
  id: Rg,
@@ -1,7 +1,7 @@
1
- import { g as le } from "./chunk-55IACEB6-CZsgyr6W.js";
2
- import { s as he } from "./chunk-QN33PNHL-DcBFIin-.js";
3
- import { _ as l, l as C, d as X, E as j, i as F, aw as de, z as ge, A as ue, ae as pe, af as fe, ag as ye } from "./mermaid.core-DOeoWyvq.js";
4
- import "./index-DKlfdpwA.js";
1
+ import { g as le } from "./chunk-55IACEB6-DaHkCIMI.js";
2
+ import { s as he } from "./chunk-QN33PNHL-BFfd-KsX.js";
3
+ import { _ as l, l as C, d as X, E as j, i as F, aw as de, z as ge, A as ue, ae as pe, af as fe, ag as ye } from "./mermaid.core-Ce2qm3MW.js";
4
+ import "./index-DWpc-Mxs.js";
5
5
  import "react";
6
6
  import "react-dom";
7
7
  const E = [];
@@ -1,9 +1,9 @@
1
- import { Y as S, P as F, av as K, E as Y, o as Z, p as q, s as H, g as J, c as Q, b as X, _ as g, l as z, v as ee, d as te, F as ae, K as re, a6 as ne, k as ie } from "./mermaid.core-DOeoWyvq.js";
2
- import { p as se } from "./chunk-4BX2VUAB-BsZHyUha.js";
1
+ import { Y as S, P as F, av as K, E as Y, o as Z, p as q, s as H, g as J, c as Q, b as X, _ as g, l as z, v as ee, d as te, F as ae, K as re, a6 as ne, k as ie } from "./mermaid.core-Ce2qm3MW.js";
2
+ import { p as se } from "./chunk-4BX2VUAB-C5fELlqE.js";
3
3
  import { p as le } from "./treemap-KMMF4GRG-D_L55G0b.js";
4
- import { d as I } from "./arc-D_-oet3c.js";
4
+ import { d as I } from "./arc-D25sVj89.js";
5
5
  import { o as oe } from "./ordinal-MUacOSdK.js";
6
- import "./index-DKlfdpwA.js";
6
+ import "./index-DWpc-Mxs.js";
7
7
  import "react";
8
8
  import "react-dom";
9
9
  import "./init-DjUOC4st.js";
@@ -1,6 +1,6 @@
1
- import { _ as o, a1 as _e, E as D, l as At, d as wt, i as Ae, p as ie, s as ke, g as Fe, o as Pe, b as ve, c as Ce, v as Le, j as zt, k as Ee } from "./mermaid.core-DOeoWyvq.js";
2
- import { l as ee } from "./linear-BOHxJJ-f.js";
3
- import "./index-DKlfdpwA.js";
1
+ import { _ as o, a1 as _e, E as D, l as At, d as wt, i as Ae, p as ie, s as ke, g as Fe, o as Pe, b as ve, c as Ce, v as Le, j as zt, k as Ee } from "./mermaid.core-Ce2qm3MW.js";
2
+ import { l as ee } from "./linear-ZyP8gWvJ.js";
3
+ import "./index-DWpc-Mxs.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  import "./init-DjUOC4st.js";
@@ -1,7 +1,7 @@
1
- import { g as ze } from "./chunk-55IACEB6-CZsgyr6W.js";
2
- import { s as Ge } from "./chunk-QN33PNHL-DcBFIin-.js";
3
- import { _ as m, s as Xe, g as Je, c as Ze, b as et, o as tt, p as st, d as Ne, l as qe, v as it, D as rt, z as nt, A as at, u as lt } from "./mermaid.core-DOeoWyvq.js";
4
- import "./index-DKlfdpwA.js";
1
+ import { g as ze } from "./chunk-55IACEB6-DaHkCIMI.js";
2
+ import { s as Ge } from "./chunk-QN33PNHL-BFfd-KsX.js";
3
+ import { _ as m, s as Xe, g as Je, c as Ze, b as et, o as tt, p as st, d as Ne, l as qe, v as it, D as rt, z as nt, A as at, u as lt } from "./mermaid.core-Ce2qm3MW.js";
4
+ import "./index-DWpc-Mxs.js";
5
5
  import "react";
6
6
  import "react-dom";
7
7
  var Ae = function() {
@@ -1,6 +1,6 @@
1
- import { _ as p, d as lt, g as _t, s as xt, b as vt, c as bt, p as wt, o as St, v as Lt, e as Et, x as At, j as X, ad as Tt } from "./mermaid.core-DOeoWyvq.js";
1
+ import { _ as p, d as lt, g as _t, s as xt, b as vt, c as bt, p as wt, o as St, v as Lt, e as Et, x as At, j as X, ad as Tt } from "./mermaid.core-Ce2qm3MW.js";
2
2
  import { o as Mt } from "./ordinal-MUacOSdK.js";
3
- import "./index-DKlfdpwA.js";
3
+ import "./index-DWpc-Mxs.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  import "./init-DjUOC4st.js";
@@ -1,7 +1,7 @@
1
- import { g as ct, a as Xt, d as we, b as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B-Bpgc9un7.js";
2
- import { _ as f, s as se, c as Ie, o as Le, g as Ae, b as _e, p as ke, d as st, q as Pe, J as Ne, v as Se, l as Q, i as St, y as Me, e as I, a2 as z, a3 as At, u as F, a as Re, j as Mt, k as De, m as re, a4 as Ce, a5 as ie, G as Ht, a6 as ne, a7 as Oe } from "./mermaid.core-DOeoWyvq.js";
3
- import { I as Be } from "./chunk-QZHKN3VN-BHGyZr5a.js";
4
- import "./index-DKlfdpwA.js";
1
+ import { g as ct, a as Xt, d as we, b as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B-B_VLLszl.js";
2
+ import { _ as f, s as se, c as Ie, o as Le, g as Ae, b as _e, p as ke, d as st, q as Pe, J as Ne, v as Se, l as Q, i as St, y as Me, e as I, a2 as z, a3 as At, u as F, a as Re, j as Mt, k as De, m as re, a4 as Ce, a5 as ie, G as Ht, a6 as ne, a7 as Oe } from "./mermaid.core-Ce2qm3MW.js";
3
+ import { I as Be } from "./chunk-QZHKN3VN-DvYwzcYM.js";
4
+ import "./index-DWpc-Mxs.js";
5
5
  import "react";
6
6
  import "react-dom";
7
7
  var Ut = function() {
@@ -1,10 +1,10 @@
1
- import { s as R, S as N, a as W } from "./chunk-DI55MBZ5-CYpWecaH.js";
2
- import { _ as f, d as t, j as H, l as S, k as P, e as z, a9 as _, aa as U, a4 as C, u as F } from "./mermaid.core-DOeoWyvq.js";
1
+ import { s as R, S as N, a as W } from "./chunk-DI55MBZ5-DmM1ZmJ9.js";
2
+ import { _ as f, d as t, j as H, l as S, k as P, e as z, a9 as _, aa as U, a4 as C, u as F } from "./mermaid.core-Ce2qm3MW.js";
3
3
  import { G as O } from "./graph-DB2UxkYH.js";
4
4
  import { l as J } from "./layout-Q6wQN5dr.js";
5
- import "./chunk-55IACEB6-CZsgyr6W.js";
6
- import "./chunk-QN33PNHL-DcBFIin-.js";
7
- import "./index-DKlfdpwA.js";
5
+ import "./chunk-55IACEB6-DaHkCIMI.js";
6
+ import "./chunk-QN33PNHL-BFfd-KsX.js";
7
+ import "./index-DWpc-Mxs.js";
8
8
  import "react";
9
9
  import "react-dom";
10
10
  var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), "drawStartState"), D = /* @__PURE__ */ f((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), Y = /* @__PURE__ */ f((e, i) => {
@@ -1,8 +1,8 @@
1
- import { s as r, S as e, b as a, a as s } from "./chunk-DI55MBZ5-CYpWecaH.js";
2
- import { _ as i } from "./mermaid.core-DOeoWyvq.js";
3
- import "./chunk-55IACEB6-CZsgyr6W.js";
4
- import "./chunk-QN33PNHL-DcBFIin-.js";
5
- import "./index-DKlfdpwA.js";
1
+ import { s as r, S as e, b as a, a as s } from "./chunk-DI55MBZ5-DmM1ZmJ9.js";
2
+ import { _ as i } from "./mermaid.core-Ce2qm3MW.js";
3
+ import "./chunk-55IACEB6-DaHkCIMI.js";
4
+ import "./chunk-QN33PNHL-BFfd-KsX.js";
5
+ import "./index-DWpc-Mxs.js";
6
6
  import "react";
7
7
  import "react-dom";
8
8
  var n = {