mio-previewer 0.1.8 → 0.2.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 (149) hide show
  1. package/README.md +1 -0
  2. package/dist/_basePickBy-DX8HyU0P.cjs +1 -0
  3. package/dist/{_basePickBy-CFTZygnR.js → _basePickBy-DcS5DfHY.js} +8 -8
  4. package/dist/{_baseUniq-COpRdEZm.js → _baseUniq-l83jS7_4.js} +1 -1
  5. package/dist/_baseUniq-vU0U1MCI.cjs +1 -0
  6. package/dist/arc-B70jSpTY.cjs +1 -0
  7. package/dist/{arc-CA-zaVHH.js → arc-bi7W8tLs.js} +15 -15
  8. package/dist/{architecture-O4VJ6CD3-DhXiEYF9.js → architecture-O4VJ6CD3-C8ByyxUN.js} +1 -1
  9. package/dist/{architecture-O4VJ6CD3-CpYFg8kG.cjs → architecture-O4VJ6CD3-jex9YPqE.cjs} +1 -1
  10. package/dist/architectureDiagram-VXUJARFQ-BSJVVbTt.cjs +36 -0
  11. package/dist/{architectureDiagram-VXUJARFQ-CMDGkfwW.js → architectureDiagram-VXUJARFQ-b-BL2UdP.js} +132 -132
  12. package/dist/{blockDiagram-VD42YOAC-BboMD6jZ.cjs → blockDiagram-VD42YOAC-D4nmxP-J.cjs} +4 -4
  13. package/dist/{blockDiagram-VD42YOAC-B6yyyBoP.js → blockDiagram-VD42YOAC-DhCRAnFr.js} +45 -45
  14. package/dist/{c4Diagram-YG6GDRKO-CAnMUU5Q.cjs → c4Diagram-YG6GDRKO-Bp_YQG1M.cjs} +1 -1
  15. package/dist/{c4Diagram-YG6GDRKO-Bk3UfYds.js → c4Diagram-YG6GDRKO-CM4iNQrU.js} +2 -2
  16. package/dist/channel-Bt4_zqKM.cjs +1 -0
  17. package/dist/{channel-CGHeB_wL.js → channel-C7wjr4b0.js} +1 -1
  18. package/dist/chunk-4BX2VUAB-DN9_7iVV.cjs +1 -0
  19. package/dist/{chunk-4BX2VUAB-DQLiny3u.js → chunk-4BX2VUAB-InZ28TEE.js} +1 -1
  20. package/dist/chunk-55IACEB6-BssN5TPL.cjs +1 -0
  21. package/dist/{chunk-55IACEB6-BvzkNW0T.js → chunk-55IACEB6-DuQdcZe5.js} +3 -3
  22. package/dist/{chunk-B4BG7PRW-DNWDyosT.cjs → chunk-B4BG7PRW-BLtyK5WN.cjs} +3 -3
  23. package/dist/{chunk-B4BG7PRW-XH3xle9g.js → chunk-B4BG7PRW-CZmD1mOP.js} +10 -10
  24. package/dist/{chunk-DI55MBZ5-7cI7r4vk.js → chunk-DI55MBZ5-BhYOpZgL.js} +3 -3
  25. package/dist/{chunk-DI55MBZ5-DBabq0PW.cjs → chunk-DI55MBZ5-Cq5UKCn9.cjs} +1 -1
  26. package/dist/{chunk-FMBD7UC4-BSSIfQJH.cjs → chunk-FMBD7UC4-D8L83VzX.cjs} +1 -1
  27. package/dist/{chunk-FMBD7UC4-Z_IXsR9N.js → chunk-FMBD7UC4-DieuQ34J.js} +1 -1
  28. package/dist/chunk-QN33PNHL-BVzK2uit.cjs +1 -0
  29. package/dist/{chunk-QN33PNHL-dvg-wDdg.js → chunk-QN33PNHL-D-qtZN_m.js} +1 -1
  30. package/dist/chunk-QZHKN3VN-BVy_lsPP.cjs +1 -0
  31. package/dist/{chunk-QZHKN3VN-Chg9twhX.js → chunk-QZHKN3VN-iq-B0BYI.js} +1 -1
  32. package/dist/chunk-TZMSLE5B-BdG0scu4.cjs +1 -0
  33. package/dist/{chunk-TZMSLE5B-CIgbKyu_.js → chunk-TZMSLE5B-CLskNwI1.js} +1 -1
  34. package/dist/{classDiagram-v2-WZHVMYZB-CC9xOx_t.js → classDiagram-2ON5EDUG-CRW-UrMH.js} +2 -2
  35. package/dist/classDiagram-2ON5EDUG-DynvEPIH.cjs +1 -0
  36. package/dist/{classDiagram-2ON5EDUG-CC9xOx_t.js → classDiagram-v2-WZHVMYZB-CRW-UrMH.js} +2 -2
  37. package/dist/classDiagram-v2-WZHVMYZB-DynvEPIH.cjs +1 -0
  38. package/dist/{clone-BrZZgHT6.js → clone-BTfuqUhz.js} +1 -1
  39. package/dist/clone-Tk5CWuEC.cjs +1 -0
  40. package/dist/cose-bilkent-S5V4N54A-BayjyXzv.cjs +1 -0
  41. package/dist/{cose-bilkent-S5V4N54A-CDs3BBYp.js → cose-bilkent-S5V4N54A-DWvW5ZH-.js} +1 -1
  42. package/dist/dagre-6UL2VRFP-CqJhtHGg.cjs +4 -0
  43. package/dist/{dagre-6UL2VRFP-BlMhpFnF.js → dagre-6UL2VRFP-CyO_II0i.js} +119 -119
  44. package/dist/diagram-PSM6KHXK-Deqqk-7H.cjs +24 -0
  45. package/dist/{diagram-PSM6KHXK-CoqSYWPX.js → diagram-PSM6KHXK-vEG2EZir.js} +53 -53
  46. package/dist/{diagram-QEK2KX5R-FqbXBaqH.js → diagram-QEK2KX5R-CcthhOYo.js} +20 -20
  47. package/dist/diagram-QEK2KX5R-CyVwjmz8.cjs +43 -0
  48. package/dist/{diagram-S2PKOQOG-u-4zOtyY.js → diagram-S2PKOQOG-C1nkRl8o.js} +23 -23
  49. package/dist/diagram-S2PKOQOG-D5cCXDLc.cjs +24 -0
  50. package/dist/{erDiagram-Q2GNP2WA-DWDeWLTL.cjs → erDiagram-Q2GNP2WA-BOk9K4o8.cjs} +1 -1
  51. package/dist/{erDiagram-Q2GNP2WA-CXn9GtvJ.js → erDiagram-Q2GNP2WA-DYZDQY9P.js} +4 -4
  52. package/dist/{flowDiagram-NV44I4VS-C60QhUiz.cjs → flowDiagram-NV44I4VS-CbBS7kpH.cjs} +3 -3
  53. package/dist/{flowDiagram-NV44I4VS-CvRJQSEg.js → flowDiagram-NV44I4VS-Cm5rGHKr.js} +14 -14
  54. package/dist/{ganttDiagram-LVOFAZNH-bsx5CB5d.js → ganttDiagram-LVOFAZNH-C9H8dTYM.js} +2 -2
  55. package/dist/ganttDiagram-LVOFAZNH-grl-NYJD.cjs +267 -0
  56. package/dist/{gitGraph-ZV4HHKMB-BjAayPSR.js → gitGraph-ZV4HHKMB-BMRuODZ5.js} +1 -1
  57. package/dist/{gitGraph-ZV4HHKMB-kRwxNQnW.cjs → gitGraph-ZV4HHKMB-DQol4cxY.cjs} +1 -1
  58. package/dist/{gitGraphDiagram-NY62KEGX-DPM59sAG.js → gitGraphDiagram-NY62KEGX-C8kfg2Wb.js} +45 -45
  59. package/dist/gitGraphDiagram-NY62KEGX-XHIAsakR.cjs +65 -0
  60. package/dist/graph-BP4aclXr.cjs +1 -0
  61. package/dist/{graph-CilVg985.js → graph-Cmal1ypF.js} +8 -8
  62. package/dist/info-63CPKGFF-BbRjNBBe.js +5 -0
  63. package/dist/{info-63CPKGFF-BKQtOsLZ.cjs → info-63CPKGFF-CxN4GUYe.cjs} +1 -1
  64. package/dist/{infoDiagram-F6ZHWCRC-B6bTTLIe.js → infoDiagram-F6ZHWCRC-D2_K2jLW.js} +2 -2
  65. package/dist/infoDiagram-F6ZHWCRC-DgwWwR_a.cjs +2 -0
  66. package/dist/{journeyDiagram-XKPGCS4Q-BKPpLUXu.js → journeyDiagram-XKPGCS4Q-BNauHD12.js} +4 -4
  67. package/dist/{journeyDiagram-XKPGCS4Q-CkWQvbbC.cjs → journeyDiagram-XKPGCS4Q-Cd1ptemy.cjs} +1 -1
  68. package/dist/{kanban-definition-3W4ZIXB7-DzI_mEvf.cjs → kanban-definition-3W4ZIXB7-BsVJ9Zr_.cjs} +2 -2
  69. package/dist/{kanban-definition-3W4ZIXB7-CLac2PpK.js → kanban-definition-3W4ZIXB7-aXwg7GQC.js} +44 -44
  70. package/dist/{layout-DOxjVt30.js → layout-CNXo_UYD.js} +4 -4
  71. package/dist/layout-UdmmrcAy.cjs +1 -0
  72. package/dist/{linear-nITCRSwN.js → linear-BJYenDkp.js} +25 -25
  73. package/dist/linear-yobfjqoN.cjs +1 -0
  74. package/dist/{mermaid-parser.core-YAHoRfr_.cjs → mermaid-parser.core-BGNM1z13.cjs} +2 -2
  75. package/dist/{mermaid-parser.core-BvyFzRhX.js → mermaid-parser.core-D65Eg7MW.js} +205 -205
  76. package/dist/{mindmap-definition-VGOIOE7T-8Pk45I0T.cjs → mindmap-definition-VGOIOE7T-BWwajGM9.cjs} +2 -2
  77. package/dist/{mindmap-definition-VGOIOE7T-BTlAV786.js → mindmap-definition-VGOIOE7T-Cj2T7UQL.js} +18 -18
  78. package/dist/mio-previewer.cjs.js +21 -13
  79. package/dist/mio-previewer.css +9 -1
  80. package/dist/mio-previewer.es.js +3647 -2009
  81. package/dist/{packet-HUATNLJX-Cn2d6cbh.js → packet-HUATNLJX-14SEU0O4.js} +1 -1
  82. package/dist/{packet-HUATNLJX-CNiEJWxQ.cjs → packet-HUATNLJX-Ckyin10q.cjs} +1 -1
  83. package/dist/{pie-WTHONI2E-CEUZL-GO.cjs → pie-WTHONI2E-BtmYKmK7.cjs} +1 -1
  84. package/dist/pie-WTHONI2E-C6yV7-lW.js +5 -0
  85. package/dist/{pieDiagram-ADFJNKIX-CgDIBKwo.js → pieDiagram-ADFJNKIX-BWiplVXs.js} +44 -44
  86. package/dist/pieDiagram-ADFJNKIX-DqeDsWS0.cjs +30 -0
  87. package/dist/plugins/custom.cjs.js +1 -1
  88. package/dist/plugins/custom.es.js +79 -5
  89. package/dist/{quadrantDiagram-AYHSOK5B-CExSZwWH.cjs → quadrantDiagram-AYHSOK5B-Bminc_qJ.cjs} +1 -1
  90. package/dist/{quadrantDiagram-AYHSOK5B-TlBxKPiG.js → quadrantDiagram-AYHSOK5B-FXg2sS-E.js} +2 -2
  91. package/dist/radar-NJJJXTRR-CF8VuBoZ.js +5 -0
  92. package/dist/{radar-NJJJXTRR-D3p36qrE.cjs → radar-NJJJXTRR-Dbtyn_33.cjs} +1 -1
  93. package/dist/{requirementDiagram-UZGBJVZJ-Dl5ijlU7.js → requirementDiagram-UZGBJVZJ-Ciz2mLOm.js} +27 -27
  94. package/dist/{requirementDiagram-UZGBJVZJ-BEcIIQ5C.cjs → requirementDiagram-UZGBJVZJ-Ct1bmEYE.cjs} +1 -1
  95. package/dist/{sankeyDiagram-TZEHDZUN-bIR5yy8v.js → sankeyDiagram-TZEHDZUN-B2xkf9t6.js} +56 -56
  96. package/dist/sankeyDiagram-TZEHDZUN-TSSR-gzu.cjs +10 -0
  97. package/dist/{sequenceDiagram-WL72ISMW-DT79Xx9V.js → sequenceDiagram-WL72ISMW-DIpwERDr.js} +3 -3
  98. package/dist/{sequenceDiagram-WL72ISMW-BG5OjhGw.cjs → sequenceDiagram-WL72ISMW-DtCHtJNZ.cjs} +9 -9
  99. package/dist/stateDiagram-FKZM4ZOC-B1VqtZxH.cjs +1 -0
  100. package/dist/{stateDiagram-FKZM4ZOC-CDfDuz0s.js → stateDiagram-FKZM4ZOC-DSCBCFG_.js} +16 -16
  101. package/dist/stateDiagram-v2-4FDKWEC3-CH9hsq70.cjs +1 -0
  102. package/dist/{stateDiagram-v2-4FDKWEC3-DroYR31A.js → stateDiagram-v2-4FDKWEC3-DeOAmcI6.js} +2 -2
  103. package/dist/{timeline-definition-IT6M3QCI-CzA493Rr.js → timeline-definition-IT6M3QCI-C2CJErQP.js} +24 -24
  104. package/dist/{timeline-definition-IT6M3QCI-BxCHgT34.cjs → timeline-definition-IT6M3QCI-Da0A3jAO.cjs} +5 -5
  105. package/dist/{treemap-75Q7IDZK-B7s32RV1.js → treemap-75Q7IDZK-BMEJe5sG.js} +1 -1
  106. package/dist/{treemap-75Q7IDZK-hLeVdex4.cjs → treemap-75Q7IDZK-obpm_ohS.cjs} +1 -1
  107. package/dist/types/composables/useImageViewerManager.d.ts +11 -0
  108. package/dist/types/main-image-viewer-demo.d.ts +1 -0
  109. package/dist/types/plugins/custom/imageViewerPlugin.d.ts +57 -0
  110. package/dist/types/plugins/custom/index.d.ts +2 -0
  111. package/dist/types/plugins/custom/mermaidPlugin.d.ts +15 -1
  112. package/dist/types/plugins/index.d.ts +2 -0
  113. package/dist/types/types.d.ts +23 -1
  114. package/dist/{cursorPlugin-vB5SgZWZ.cjs → viewer-3haLPWOp.cjs} +40 -40
  115. package/dist/{cursorPlugin-CLM_tkck.js → viewer-BVjz3IFH.js} +203 -202
  116. package/dist/{xychartDiagram-PRI3JC2R-DQLU-dCp.cjs → xychartDiagram-PRI3JC2R-DkdcvnXd.cjs} +1 -1
  117. package/dist/{xychartDiagram-PRI3JC2R-Bb_Kt4vj.js → xychartDiagram-PRI3JC2R-ttlQ38E3.js} +29 -29
  118. package/package.json +2 -1
  119. package/dist/_basePickBy-tPOC0EMH.cjs +0 -1
  120. package/dist/_baseUniq-DqpG5gxq.cjs +0 -1
  121. package/dist/arc-D6SpLjCN.cjs +0 -1
  122. package/dist/architectureDiagram-VXUJARFQ-C-ZDGP3T.cjs +0 -36
  123. package/dist/channel-By4yEUpY.cjs +0 -1
  124. package/dist/chunk-4BX2VUAB-r3h9zqZy.cjs +0 -1
  125. package/dist/chunk-55IACEB6-F8U2tzR2.cjs +0 -1
  126. package/dist/chunk-QN33PNHL-Cb-RTcJE.cjs +0 -1
  127. package/dist/chunk-QZHKN3VN-DR2ed2kF.cjs +0 -1
  128. package/dist/chunk-TZMSLE5B-D3CSz4N0.cjs +0 -1
  129. package/dist/classDiagram-2ON5EDUG-De8Dohf7.cjs +0 -1
  130. package/dist/classDiagram-v2-WZHVMYZB-De8Dohf7.cjs +0 -1
  131. package/dist/clone-CXoO9ncp.cjs +0 -1
  132. package/dist/cose-bilkent-S5V4N54A-0DFD6rcw.cjs +0 -1
  133. package/dist/dagre-6UL2VRFP-DuUBkSw0.cjs +0 -4
  134. package/dist/diagram-PSM6KHXK-CmQ4F2JN.cjs +0 -24
  135. package/dist/diagram-QEK2KX5R-DqSiNmiR.cjs +0 -43
  136. package/dist/diagram-S2PKOQOG-DYEcRvla.cjs +0 -24
  137. package/dist/ganttDiagram-LVOFAZNH-DuTD48a9.cjs +0 -267
  138. package/dist/gitGraphDiagram-NY62KEGX-DsyQIiCo.cjs +0 -65
  139. package/dist/graph-T55iHwif.cjs +0 -1
  140. package/dist/info-63CPKGFF-D-_lE7q9.js +0 -5
  141. package/dist/infoDiagram-F6ZHWCRC-Dfs9venE.cjs +0 -2
  142. package/dist/layout-LjH1X4pD.cjs +0 -1
  143. package/dist/linear-BZdfTIw6.cjs +0 -1
  144. package/dist/pie-WTHONI2E-COsOPmmh.js +0 -5
  145. package/dist/pieDiagram-ADFJNKIX-8mFQx_vI.cjs +0 -30
  146. package/dist/radar-NJJJXTRR-hKx4VhDB.js +0 -5
  147. package/dist/sankeyDiagram-TZEHDZUN-_AuPE8rx.cjs +0 -10
  148. package/dist/stateDiagram-FKZM4ZOC-CaZkY5ch.cjs +0 -1
  149. package/dist/stateDiagram-v2-4FDKWEC3-GfIoqgb_.cjs +0 -1
@@ -3495,19 +3495,19 @@ function JL(e) {
3495
3495
  test: (i) => i.type !== "tag" || i.name !== "pre" ? !1 : !!i.children?.some(
3496
3496
  (a) => a.type === "tag" && a.name === "code"
3497
3497
  ),
3498
- render: (i, n, a) => {
3499
- const o = i.children?.find(
3500
- (d) => d.type === "tag" && d.name === "code"
3498
+ render: (i, n, a, o) => {
3499
+ const s = i.children?.find(
3500
+ (f) => f.type === "tag" && f.name === "code"
3501
3501
  );
3502
- if (!o)
3502
+ if (!s)
3503
3503
  return Di("pre", {}, "");
3504
- const l = (o.attribs?.class || "").match(/language-(\w+)/);
3505
- let c = l ? l[1] : "plaintext";
3506
- r[c] && (c = r[c]);
3507
- const h = (d) => d.type === "text" ? d.data || "" : d.children ? d.children.map(h).join("") : "", u = h(o);
3504
+ const c = (s.attribs?.class || "").match(/language-(\w+)/);
3505
+ let h = c ? c[1] : "plaintext";
3506
+ r[h] && (h = r[h]);
3507
+ const u = (f) => f.type === "text" ? f.data || "" : f.children ? f.children.map(u).join("") : "", d = u(s);
3508
3508
  return Di(Qy, {
3509
- code: u,
3510
- language: c
3509
+ code: d,
3510
+ language: h
3511
3511
  });
3512
3512
  }
3513
3513
  };
@@ -3534,11 +3534,11 @@ function tB(e) {
3534
3534
  name: "emoji",
3535
3535
  priority: t,
3536
3536
  test: (a) => a.type === "text" && /:\w+:/g.test(a.data || ""),
3537
- render: (a, o, s) => {
3538
- let c = a.data || "";
3539
- return Object.entries(n).forEach(([h, u]) => {
3540
- c = c.replace(new RegExp(h.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "g"), u);
3541
- }), c;
3537
+ render: (a, o, s, l) => {
3538
+ let h = a.data || "";
3539
+ return Object.entries(n).forEach(([u, d]) => {
3540
+ h = h.replace(new RegExp(u.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "g"), d);
3541
+ }), h;
3542
3542
  }
3543
3543
  };
3544
3544
  }
@@ -17585,11 +17585,11 @@ var pT = /* @__PURE__ */ p((e, t, r, i) => {
17585
17585
  Am([
17586
17586
  {
17587
17587
  name: "dagre",
17588
- loader: /* @__PURE__ */ p(async () => await import("./dagre-6UL2VRFP-BlMhpFnF.js"), "loader")
17588
+ loader: /* @__PURE__ */ p(async () => await import("./dagre-6UL2VRFP-CyO_II0i.js"), "loader")
17589
17589
  },
17590
17590
  {
17591
17591
  name: "cose-bilkent",
17592
- loader: /* @__PURE__ */ p(async () => await import("./cose-bilkent-S5V4N54A-CDs3BBYp.js"), "loader")
17592
+ loader: /* @__PURE__ */ p(async () => await import("./cose-bilkent-S5V4N54A-DWvW5ZH-.js"), "loader")
17593
17593
  }
17594
17594
  ]);
17595
17595
  }, "registerDefaultLayoutLoaders");
@@ -17936,119 +17936,119 @@ function Hh(e) {
17936
17936
  return !0;
17937
17937
  }
17938
17938
  var Rm = "c4", uA = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), dA = /* @__PURE__ */ p(async () => {
17939
- const { diagram: e } = await import("./c4Diagram-YG6GDRKO-Bk3UfYds.js");
17939
+ const { diagram: e } = await import("./c4Diagram-YG6GDRKO-CM4iNQrU.js");
17940
17940
  return { id: Rm, diagram: e };
17941
17941
  }, "loader"), fA = {
17942
17942
  id: Rm,
17943
17943
  detector: uA,
17944
17944
  loader: dA
17945
17945
  }, pA = fA, Om = "flowchart", gA = /* @__PURE__ */ p((e, t) => t?.flowchart?.defaultRenderer === "dagre-wrapper" || t?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"), mA = /* @__PURE__ */ p(async () => {
17946
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-CvRJQSEg.js");
17946
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-Cm5rGHKr.js");
17947
17947
  return { id: Om, diagram: e };
17948
17948
  }, "loader"), yA = {
17949
17949
  id: Om,
17950
17950
  detector: gA,
17951
17951
  loader: mA
17952
17952
  }, bA = yA, Im = "flowchart-v2", xA = /* @__PURE__ */ p((e, t) => t?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (t?.flowchart?.defaultRenderer === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && t?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"), _A = /* @__PURE__ */ p(async () => {
17953
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-CvRJQSEg.js");
17953
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-Cm5rGHKr.js");
17954
17954
  return { id: Im, diagram: e };
17955
17955
  }, "loader"), wA = {
17956
17956
  id: Im,
17957
17957
  detector: xA,
17958
17958
  loader: _A
17959
17959
  }, CA = wA, Dm = "er", vA = /* @__PURE__ */ p((e) => /^\s*erDiagram/.test(e), "detector"), kA = /* @__PURE__ */ p(async () => {
17960
- const { diagram: e } = await import("./erDiagram-Q2GNP2WA-CXn9GtvJ.js");
17960
+ const { diagram: e } = await import("./erDiagram-Q2GNP2WA-DYZDQY9P.js");
17961
17961
  return { id: Dm, diagram: e };
17962
17962
  }, "loader"), SA = {
17963
17963
  id: Dm,
17964
17964
  detector: vA,
17965
17965
  loader: kA
17966
17966
  }, TA = SA, Nm = "gitGraph", AA = /* @__PURE__ */ p((e) => /^\s*gitGraph/.test(e), "detector"), EA = /* @__PURE__ */ p(async () => {
17967
- const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-DPM59sAG.js");
17967
+ const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-C8kfg2Wb.js");
17968
17968
  return { id: Nm, diagram: e };
17969
17969
  }, "loader"), LA = {
17970
17970
  id: Nm,
17971
17971
  detector: AA,
17972
17972
  loader: EA
17973
17973
  }, BA = LA, Pm = "gantt", MA = /* @__PURE__ */ p((e) => /^\s*gantt/.test(e), "detector"), $A = /* @__PURE__ */ p(async () => {
17974
- const { diagram: e } = await import("./ganttDiagram-LVOFAZNH-bsx5CB5d.js");
17974
+ const { diagram: e } = await import("./ganttDiagram-LVOFAZNH-C9H8dTYM.js");
17975
17975
  return { id: Pm, diagram: e };
17976
17976
  }, "loader"), FA = {
17977
17977
  id: Pm,
17978
17978
  detector: MA,
17979
17979
  loader: $A
17980
17980
  }, RA = FA, zm = "info", OA = /* @__PURE__ */ p((e) => /^\s*info/.test(e), "detector"), IA = /* @__PURE__ */ p(async () => {
17981
- const { diagram: e } = await import("./infoDiagram-F6ZHWCRC-B6bTTLIe.js");
17981
+ const { diagram: e } = await import("./infoDiagram-F6ZHWCRC-D2_K2jLW.js");
17982
17982
  return { id: zm, diagram: e };
17983
17983
  }, "loader"), DA = {
17984
17984
  id: zm,
17985
17985
  detector: OA,
17986
17986
  loader: IA
17987
17987
  }, qm = "pie", NA = /* @__PURE__ */ p((e) => /^\s*pie/.test(e), "detector"), PA = /* @__PURE__ */ p(async () => {
17988
- const { diagram: e } = await import("./pieDiagram-ADFJNKIX-CgDIBKwo.js");
17988
+ const { diagram: e } = await import("./pieDiagram-ADFJNKIX-BWiplVXs.js");
17989
17989
  return { id: qm, diagram: e };
17990
17990
  }, "loader"), zA = {
17991
17991
  id: qm,
17992
17992
  detector: NA,
17993
17993
  loader: PA
17994
17994
  }, Hm = "quadrantChart", qA = /* @__PURE__ */ p((e) => /^\s*quadrantChart/.test(e), "detector"), HA = /* @__PURE__ */ p(async () => {
17995
- const { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-TlBxKPiG.js");
17995
+ const { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-FXg2sS-E.js");
17996
17996
  return { id: Hm, diagram: e };
17997
17997
  }, "loader"), WA = {
17998
17998
  id: Hm,
17999
17999
  detector: qA,
18000
18000
  loader: HA
18001
18001
  }, jA = WA, Wm = "xychart", UA = /* @__PURE__ */ p((e) => /^\s*xychart(-beta)?/.test(e), "detector"), GA = /* @__PURE__ */ p(async () => {
18002
- const { diagram: e } = await import("./xychartDiagram-PRI3JC2R-Bb_Kt4vj.js");
18002
+ const { diagram: e } = await import("./xychartDiagram-PRI3JC2R-ttlQ38E3.js");
18003
18003
  return { id: Wm, diagram: e };
18004
18004
  }, "loader"), YA = {
18005
18005
  id: Wm,
18006
18006
  detector: UA,
18007
18007
  loader: GA
18008
18008
  }, XA = YA, jm = "requirement", VA = /* @__PURE__ */ p((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), ZA = /* @__PURE__ */ p(async () => {
18009
- const { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-Dl5ijlU7.js");
18009
+ const { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-Ciz2mLOm.js");
18010
18010
  return { id: jm, diagram: e };
18011
18011
  }, "loader"), KA = {
18012
18012
  id: jm,
18013
18013
  detector: VA,
18014
18014
  loader: ZA
18015
18015
  }, QA = KA, Um = "sequence", JA = /* @__PURE__ */ p((e) => /^\s*sequenceDiagram/.test(e), "detector"), tE = /* @__PURE__ */ p(async () => {
18016
- const { diagram: e } = await import("./sequenceDiagram-WL72ISMW-DT79Xx9V.js");
18016
+ const { diagram: e } = await import("./sequenceDiagram-WL72ISMW-DIpwERDr.js");
18017
18017
  return { id: Um, diagram: e };
18018
18018
  }, "loader"), eE = {
18019
18019
  id: Um,
18020
18020
  detector: JA,
18021
18021
  loader: tE
18022
18022
  }, rE = eE, Gm = "class", iE = /* @__PURE__ */ p((e, t) => t?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e), "detector"), nE = /* @__PURE__ */ p(async () => {
18023
- const { diagram: e } = await import("./classDiagram-2ON5EDUG-CC9xOx_t.js");
18023
+ const { diagram: e } = await import("./classDiagram-2ON5EDUG-CRW-UrMH.js");
18024
18024
  return { id: Gm, diagram: e };
18025
18025
  }, "loader"), aE = {
18026
18026
  id: Gm,
18027
18027
  detector: iE,
18028
18028
  loader: nE
18029
18029
  }, sE = aE, Ym = "classDiagram", oE = /* @__PURE__ */ p((e, t) => /^\s*classDiagram/.test(e) && t?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"), lE = /* @__PURE__ */ p(async () => {
18030
- const { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-CC9xOx_t.js");
18030
+ const { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-CRW-UrMH.js");
18031
18031
  return { id: Ym, diagram: e };
18032
18032
  }, "loader"), cE = {
18033
18033
  id: Ym,
18034
18034
  detector: oE,
18035
18035
  loader: lE
18036
18036
  }, hE = cE, Xm = "state", uE = /* @__PURE__ */ p((e, t) => t?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e), "detector"), dE = /* @__PURE__ */ p(async () => {
18037
- const { diagram: e } = await import("./stateDiagram-FKZM4ZOC-CDfDuz0s.js");
18037
+ const { diagram: e } = await import("./stateDiagram-FKZM4ZOC-DSCBCFG_.js");
18038
18038
  return { id: Xm, diagram: e };
18039
18039
  }, "loader"), fE = {
18040
18040
  id: Xm,
18041
18041
  detector: uE,
18042
18042
  loader: dE
18043
18043
  }, pE = fE, Vm = "stateDiagram", gE = /* @__PURE__ */ p((e, t) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && t?.state?.defaultRenderer === "dagre-wrapper"), "detector"), mE = /* @__PURE__ */ p(async () => {
18044
- const { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-DroYR31A.js");
18044
+ const { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-DeOAmcI6.js");
18045
18045
  return { id: Vm, diagram: e };
18046
18046
  }, "loader"), yE = {
18047
18047
  id: Vm,
18048
18048
  detector: gE,
18049
18049
  loader: mE
18050
18050
  }, bE = yE, Zm = "journey", xE = /* @__PURE__ */ p((e) => /^\s*journey/.test(e), "detector"), _E = /* @__PURE__ */ p(async () => {
18051
- const { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-BKPpLUXu.js");
18051
+ const { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-BNauHD12.js");
18052
18052
  return { id: Zm, diagram: e };
18053
18053
  }, "loader"), wE = {
18054
18054
  id: Zm,
@@ -18089,70 +18089,70 @@ var Rm = "c4", uA = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
18089
18089
  /^\s*flowchart-elk/.test(e) || // If a flowchart/graph diagram has their default renderer set to elk
18090
18090
  /^\s*(flowchart|graph)/.test(e) && t?.flowchart?.defaultRenderer === "elk" ? (t.layout = "elk", !0) : !1
18091
18091
  ), "detector"), EE = /* @__PURE__ */ p(async () => {
18092
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-CvRJQSEg.js");
18092
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-Cm5rGHKr.js");
18093
18093
  return { id: Qm, diagram: e };
18094
18094
  }, "loader"), LE = {
18095
18095
  id: Qm,
18096
18096
  detector: AE,
18097
18097
  loader: EE
18098
18098
  }, BE = LE, Jm = "timeline", ME = /* @__PURE__ */ p((e) => /^\s*timeline/.test(e), "detector"), $E = /* @__PURE__ */ p(async () => {
18099
- const { diagram: e } = await import("./timeline-definition-IT6M3QCI-CzA493Rr.js");
18099
+ const { diagram: e } = await import("./timeline-definition-IT6M3QCI-C2CJErQP.js");
18100
18100
  return { id: Jm, diagram: e };
18101
18101
  }, "loader"), FE = {
18102
18102
  id: Jm,
18103
18103
  detector: ME,
18104
18104
  loader: $E
18105
18105
  }, RE = FE, ty = "mindmap", OE = /* @__PURE__ */ p((e) => /^\s*mindmap/.test(e), "detector"), IE = /* @__PURE__ */ p(async () => {
18106
- const { diagram: e } = await import("./mindmap-definition-VGOIOE7T-BTlAV786.js");
18106
+ const { diagram: e } = await import("./mindmap-definition-VGOIOE7T-Cj2T7UQL.js");
18107
18107
  return { id: ty, diagram: e };
18108
18108
  }, "loader"), DE = {
18109
18109
  id: ty,
18110
18110
  detector: OE,
18111
18111
  loader: IE
18112
18112
  }, NE = DE, ey = "kanban", PE = /* @__PURE__ */ p((e) => /^\s*kanban/.test(e), "detector"), zE = /* @__PURE__ */ p(async () => {
18113
- const { diagram: e } = await import("./kanban-definition-3W4ZIXB7-CLac2PpK.js");
18113
+ const { diagram: e } = await import("./kanban-definition-3W4ZIXB7-aXwg7GQC.js");
18114
18114
  return { id: ey, diagram: e };
18115
18115
  }, "loader"), qE = {
18116
18116
  id: ey,
18117
18117
  detector: PE,
18118
18118
  loader: zE
18119
18119
  }, HE = qE, ry = "sankey", WE = /* @__PURE__ */ p((e) => /^\s*sankey(-beta)?/.test(e), "detector"), jE = /* @__PURE__ */ p(async () => {
18120
- const { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-bIR5yy8v.js");
18120
+ const { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-B2xkf9t6.js");
18121
18121
  return { id: ry, diagram: e };
18122
18122
  }, "loader"), UE = {
18123
18123
  id: ry,
18124
18124
  detector: WE,
18125
18125
  loader: jE
18126
18126
  }, GE = UE, iy = "packet", YE = /* @__PURE__ */ p((e) => /^\s*packet(-beta)?/.test(e), "detector"), XE = /* @__PURE__ */ p(async () => {
18127
- const { diagram: e } = await import("./diagram-S2PKOQOG-u-4zOtyY.js");
18127
+ const { diagram: e } = await import("./diagram-S2PKOQOG-C1nkRl8o.js");
18128
18128
  return { id: iy, diagram: e };
18129
18129
  }, "loader"), VE = {
18130
18130
  id: iy,
18131
18131
  detector: YE,
18132
18132
  loader: XE
18133
18133
  }, ny = "radar", ZE = /* @__PURE__ */ p((e) => /^\s*radar-beta/.test(e), "detector"), KE = /* @__PURE__ */ p(async () => {
18134
- const { diagram: e } = await import("./diagram-QEK2KX5R-FqbXBaqH.js");
18134
+ const { diagram: e } = await import("./diagram-QEK2KX5R-CcthhOYo.js");
18135
18135
  return { id: ny, diagram: e };
18136
18136
  }, "loader"), QE = {
18137
18137
  id: ny,
18138
18138
  detector: ZE,
18139
18139
  loader: KE
18140
18140
  }, ay = "block", JE = /* @__PURE__ */ p((e) => /^\s*block(-beta)?/.test(e), "detector"), tL = /* @__PURE__ */ p(async () => {
18141
- const { diagram: e } = await import("./blockDiagram-VD42YOAC-B6yyyBoP.js");
18141
+ const { diagram: e } = await import("./blockDiagram-VD42YOAC-DhCRAnFr.js");
18142
18142
  return { id: ay, diagram: e };
18143
18143
  }, "loader"), eL = {
18144
18144
  id: ay,
18145
18145
  detector: JE,
18146
18146
  loader: tL
18147
18147
  }, rL = eL, sy = "architecture", iL = /* @__PURE__ */ p((e) => /^\s*architecture/.test(e), "detector"), nL = /* @__PURE__ */ p(async () => {
18148
- const { diagram: e } = await import("./architectureDiagram-VXUJARFQ-CMDGkfwW.js");
18148
+ const { diagram: e } = await import("./architectureDiagram-VXUJARFQ-b-BL2UdP.js");
18149
18149
  return { id: sy, diagram: e };
18150
18150
  }, "loader"), aL = {
18151
18151
  id: sy,
18152
18152
  detector: iL,
18153
18153
  loader: nL
18154
18154
  }, sL = aL, oy = "treemap", oL = /* @__PURE__ */ p((e) => /^\s*treemap/.test(e), "detector"), lL = /* @__PURE__ */ p(async () => {
18155
- const { diagram: e } = await import("./diagram-PSM6KHXK-CoqSYWPX.js");
18155
+ const { diagram: e } = await import("./diagram-PSM6KHXK-vEG2EZir.js");
18156
18156
  return { id: oy, diagram: e };
18157
18157
  }, "loader"), cL = {
18158
18158
  id: oy,
@@ -18752,7 +18752,7 @@ function LB(e) {
18752
18752
  return Di("div", { class: "mermaid-error" }, "No code content found");
18753
18753
  const c = {
18754
18754
  code: wy(s),
18755
- isStreaming: o || !1
18755
+ isStreaming: o?.isStreaming || !1
18756
18756
  };
18757
18757
  return r && (c.theme = r), Di(XL, c);
18758
18758
  }
@@ -18784,176 +18784,177 @@ function BB(e = {}) {
18784
18784
  name: "cursor",
18785
18785
  priority: i,
18786
18786
  test: (n) => n.type === "component" && n.name === "cursor",
18787
- render: (n) => {
18788
- const a = {
18787
+ render: (n, a, o, s) => {
18788
+ const l = {
18789
18789
  ...n.attribs,
18790
18790
  shape: t,
18791
18791
  ...r && { color: r }
18792
18792
  };
18793
- return Di(KL, a);
18793
+ return Di(KL, l);
18794
18794
  }
18795
18795
  };
18796
18796
  }
18797
18797
  export {
18798
- db as $,
18799
- nT as A,
18800
- mB as B,
18801
- mb as C,
18802
- nB as D,
18803
- $i as E,
18804
- i0 as F,
18805
- kb as G,
18806
- pl as H,
18807
- Ot as I,
18798
+ vu as $,
18799
+ $i as A,
18800
+ i0 as B,
18801
+ kb as C,
18802
+ pl as D,
18803
+ Ot as E,
18804
+ pu as F,
18805
+ ek as G,
18806
+ i_ as H,
18807
+ fc as I,
18808
18808
  cw as J,
18809
- pu as K,
18810
- ek as L,
18811
- i_ as M,
18812
- fc as N,
18813
- P0 as O,
18814
- Vr as P,
18815
- rB as Q,
18816
- Ha as R,
18817
- nb as S,
18818
- Fo as T,
18819
- Sc as U,
18820
- X2 as V,
18821
- In as W,
18822
- tk as X,
18823
- Qi as Y,
18809
+ P0 as K,
18810
+ Vr as L,
18811
+ rB as M,
18812
+ Ha as N,
18813
+ nb as O,
18814
+ Fo as P,
18815
+ Sc as Q,
18816
+ X2 as R,
18817
+ In as S,
18818
+ tk as T,
18819
+ Qi as U,
18820
+ db as V,
18821
+ Ki as W,
18822
+ G as X,
18823
+ et as Y,
18824
18824
  Gv as Z,
18825
18825
  p as _,
18826
- BB as a,
18827
- gp as a$,
18828
- Ki as a0,
18829
- G as a1,
18830
- et as a2,
18831
- vu as a3,
18832
- j2 as a4,
18833
- Uc as a5,
18834
- jc as a6,
18835
- fB as a7,
18836
- lB as a8,
18837
- uB as a9,
18838
- vB as aA,
18839
- fT as aB,
18840
- lT as aC,
18841
- oT as aD,
18842
- Hv as aE,
18843
- RC as aF,
18844
- Ov as aG,
18845
- al as aH,
18846
- Hh as aI,
18847
- gS as aJ,
18848
- U2 as aK,
18849
- eB as aL,
18850
- tu as aM,
18851
- sn as aN,
18852
- fS as aO,
18853
- dS as aP,
18854
- Ho as aQ,
18855
- He as aR,
18856
- Nc as aS,
18857
- k1 as aT,
18858
- zi as aU,
18859
- _r as aV,
18860
- Wv as aW,
18861
- fp as aX,
18862
- Da as aY,
18863
- qa as aZ,
18864
- pa as a_,
18865
- hB as aa,
18866
- sB as ab,
18867
- Mr as ac,
18868
- Go as ad,
18869
- dB as ae,
18870
- oB as af,
18871
- gB as ag,
18872
- pB as ah,
18873
- cB as ai,
18874
- zS as aj,
18875
- vm as ak,
18876
- SB as al,
18877
- uw as am,
18878
- Tt as an,
18879
- Ke as ao,
18880
- nl as ap,
18881
- Vp as aq,
18882
- vr as ar,
18883
- wp as as,
18884
- st as at,
18885
- xe as au,
18886
- MT as av,
18887
- kB as aw,
18888
- TB as ax,
18889
- CB as ay,
18890
- K as az,
18891
- bb as b,
18892
- dp as b0,
18893
- xv as b1,
18894
- V as b2,
18895
- ep as b3,
18896
- Qt as b4,
18897
- y1 as b5,
18898
- qo as b6,
18899
- Du as b7,
18900
- tn as b8,
18901
- zu as b9,
18902
- Ze as bA,
18903
- sh as bB,
18904
- ll as bC,
18905
- lp as bD,
18906
- So as bE,
18907
- jv as bF,
18908
- za as bG,
18909
- aB as ba,
18910
- r0 as bb,
18911
- qv as bc,
18912
- Rv as bd,
18913
- wC as be,
18914
- sl as bf,
18915
- gv as bg,
18916
- Uv as bh,
18917
- nn as bi,
18918
- ni as bj,
18919
- ua as bk,
18920
- Tv as bl,
18921
- tA as bm,
18922
- rn as bn,
18923
- fa as bo,
18924
- _v as bp,
18925
- sp as bq,
18926
- kC as br,
18927
- SC as bs,
18928
- ar as bt,
18929
- uh as bu,
18930
- TC as bv,
18931
- ol as bw,
18932
- vC as bx,
18933
- LC as by,
18934
- ai as bz,
18935
- JL as c,
18936
- yb as d,
18937
- tB as e,
18938
- ut as f,
18826
+ bb as a,
18827
+ pa as a$,
18828
+ j2 as a0,
18829
+ Uc as a1,
18830
+ jc as a2,
18831
+ fB as a3,
18832
+ lB as a4,
18833
+ uB as a5,
18834
+ hB as a6,
18835
+ sB as a7,
18836
+ Mr as a8,
18837
+ Go as a9,
18838
+ Hv as aA,
18839
+ RC as aB,
18840
+ Ov as aC,
18841
+ al as aD,
18842
+ Hh as aE,
18843
+ Bo as aF,
18844
+ JL as aG,
18845
+ tB as aH,
18846
+ LB as aI,
18847
+ BB as aJ,
18848
+ gS as aK,
18849
+ U2 as aL,
18850
+ eB as aM,
18851
+ tu as aN,
18852
+ sn as aO,
18853
+ fS as aP,
18854
+ dS as aQ,
18855
+ Ho as aR,
18856
+ He as aS,
18857
+ Nc as aT,
18858
+ k1 as aU,
18859
+ zi as aV,
18860
+ _r as aW,
18861
+ Wv as aX,
18862
+ fp as aY,
18863
+ Da as aZ,
18864
+ qa as a_,
18865
+ dB as aa,
18866
+ oB as ab,
18867
+ gB as ac,
18868
+ pB as ad,
18869
+ cB as ae,
18870
+ zS as af,
18871
+ vm as ag,
18872
+ SB as ah,
18873
+ uw as ai,
18874
+ Tt as aj,
18875
+ Ke as ak,
18876
+ nl as al,
18877
+ Vp as am,
18878
+ vr as an,
18879
+ wp as ao,
18880
+ st as ap,
18881
+ xe as aq,
18882
+ MT as ar,
18883
+ kB as as,
18884
+ TB as at,
18885
+ CB as au,
18886
+ K as av,
18887
+ vB as aw,
18888
+ fT as ax,
18889
+ lT as ay,
18890
+ oT as az,
18891
+ yb as b,
18892
+ gp as b0,
18893
+ dp as b1,
18894
+ xv as b2,
18895
+ V as b3,
18896
+ ep as b4,
18897
+ Qt as b5,
18898
+ y1 as b6,
18899
+ qo as b7,
18900
+ Du as b8,
18901
+ tn as b9,
18902
+ ai as bA,
18903
+ Ze as bB,
18904
+ sh as bC,
18905
+ ll as bD,
18906
+ lp as bE,
18907
+ So as bF,
18908
+ jv as bG,
18909
+ za as bH,
18910
+ zu as ba,
18911
+ aB as bb,
18912
+ r0 as bc,
18913
+ qv as bd,
18914
+ Rv as be,
18915
+ wC as bf,
18916
+ sl as bg,
18917
+ gv as bh,
18918
+ Uv as bi,
18919
+ nn as bj,
18920
+ ni as bk,
18921
+ ua as bl,
18922
+ Tv as bm,
18923
+ tA as bn,
18924
+ rn as bo,
18925
+ fa as bp,
18926
+ _v as bq,
18927
+ sp as br,
18928
+ kC as bs,
18929
+ SC as bt,
18930
+ ar as bu,
18931
+ uh as bv,
18932
+ TC as bw,
18933
+ ol as bx,
18934
+ vC as by,
18935
+ LC as bz,
18936
+ ut as c,
18937
+ ht as d,
18938
+ Cu as e,
18939
+ kt as f,
18939
18940
  _b as g,
18940
- ht as h,
18941
- Cu as i,
18942
- kt as j,
18943
- Ne as k,
18941
+ Ne as h,
18942
+ ne as i,
18943
+ yw as j,
18944
+ ri as k,
18944
18945
  I as l,
18945
- LB as m,
18946
- ne as n,
18947
- yw as o,
18948
- ri as p,
18949
- vp as q,
18950
- iB as r,
18946
+ vp as m,
18947
+ iB as n,
18948
+ EB as o,
18949
+ wb as p,
18950
+ Cb as q,
18951
+ AB as r,
18951
18952
  xb as s,
18952
- EB as t,
18953
- AB as u,
18954
- le as v,
18953
+ hw as t,
18954
+ le as u,
18955
+ nT as v,
18955
18956
  nk as w,
18956
- wb as x,
18957
- Cb as y,
18958
- hw as z
18957
+ mB as x,
18958
+ mb as y,
18959
+ nB as z
18959
18960
  };