docmedown 0.1.1 → 0.1.2

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 (214) hide show
  1. package/README.md +38 -20
  2. package/dist/abnfDiagram-VCTEODGH-CtQBp0Qv.mjs +89 -0
  3. package/dist/abnfDiagram-VCTEODGH-mccrzlD_.js +1 -0
  4. package/dist/arc-DgPKXEdT.mjs +82 -0
  5. package/dist/arc-n7TW7Bis.js +1 -0
  6. package/dist/architecture-7GRP2DOG-B7myQ46f.js +1 -0
  7. package/dist/architecture-7GRP2DOG-Cxj1ussQ.mjs +3 -0
  8. package/dist/architectureDiagram-5GKGNRK7-BdTCu5T3.js +36 -0
  9. package/dist/architectureDiagram-5GKGNRK7-CkgZa-G1.mjs +4154 -0
  10. package/dist/array-CApNbSU9.mjs +6 -0
  11. package/dist/array-DZSRzHA_.js +1 -0
  12. package/dist/blockDiagram-I7D4REHJ-CSYvpxQw.js +129 -0
  13. package/dist/blockDiagram-I7D4REHJ-CYngfPD9.mjs +1922 -0
  14. package/dist/c4Diagram-7LVT6UL2-B-sz5MUK.js +38 -0
  15. package/dist/c4Diagram-7LVT6UL2-DEzxFf2b.mjs +3010 -0
  16. package/dist/channel-LgHproiI.mjs +5 -0
  17. package/dist/channel-yqu0m4cl.js +1 -0
  18. package/dist/chunk-2E4U76K2-BOyeRQsI.js +1 -0
  19. package/dist/chunk-2E4U76K2-CoTrgtfg.mjs +348 -0
  20. package/dist/chunk-2Q5K7J3B-D4EgYPOq.mjs +15 -0
  21. package/dist/chunk-2Q5K7J3B-DhjCNjaM.js +1 -0
  22. package/dist/chunk-4HAMMTFA-GFyfmcSO.js +62 -0
  23. package/dist/chunk-4HAMMTFA-VgWPe1ng.mjs +4188 -0
  24. package/dist/chunk-5VM5RSS4-GINalzIv.js +15 -0
  25. package/dist/chunk-5VM5RSS4-TqxtqrwE.mjs +5 -0
  26. package/dist/chunk-75Z2AOVW-DYouz5MZ.js +2 -0
  27. package/dist/chunk-75Z2AOVW-Dz0Sko9Y.mjs +1330 -0
  28. package/dist/chunk-CLGD4ZFX-C5J-e2io.js +1 -0
  29. package/dist/chunk-CLGD4ZFX-DBkwyMMv.mjs +14 -0
  30. package/dist/chunk-DU6HZSFF-BEQZSmUu.mjs +3836 -0
  31. package/dist/chunk-DU6HZSFF-CWc5ewtb.js +127 -0
  32. package/dist/chunk-F27PBJKO-8jvY_jJK.js +1 -0
  33. package/dist/chunk-F27PBJKO-DFH3sRZG.mjs +61 -0
  34. package/dist/chunk-FOHPRMQF-LRqOLsSw.mjs +21456 -0
  35. package/dist/chunk-FOHPRMQF-tmTlwTeH.js +161 -0
  36. package/dist/chunk-GMAD6QVW-BZeZ4fdb.mjs +1863 -0
  37. package/dist/chunk-GMAD6QVW-DEQiTa0c.js +72 -0
  38. package/dist/chunk-GVQU2GXP-B1D3J05J.mjs +37 -0
  39. package/dist/chunk-GVQU2GXP-CdJIWN41.js +1 -0
  40. package/dist/chunk-IMKFNOWR-BmZb9U1f.mjs +2042 -0
  41. package/dist/chunk-IMKFNOWR-CPJsszGN.js +231 -0
  42. package/dist/chunk-JWPE2WC7-DIKiF5cm.mjs +8 -0
  43. package/dist/chunk-JWPE2WC7-p1fYVdYc.js +1 -0
  44. package/dist/chunk-L3NEJ4N5-TzDiVs78.js +1 -0
  45. package/dist/chunk-L3NEJ4N5-lal8wUID.mjs +245 -0
  46. package/dist/chunk-LNGE3PJU-BQX75wkM.js +34 -0
  47. package/dist/chunk-LNGE3PJU-DJ9JuXV6.mjs +1521 -0
  48. package/dist/chunk-OSK3NFVY-9AWK88m1.mjs +672 -0
  49. package/dist/chunk-OSK3NFVY-CHzvVe8m.js +10 -0
  50. package/dist/chunk-P2QGCYS3-6q3AXPt5.mjs +67 -0
  51. package/dist/chunk-P2QGCYS3-DKZzpRQW.js +1 -0
  52. package/dist/chunk-POPQ4Y6H-Dd7J9tx3.mjs +26 -0
  53. package/dist/chunk-POPQ4Y6H-T5C7wpjf.js +1 -0
  54. package/dist/chunk-PWAF6VOD-BYG76tEe.mjs +275 -0
  55. package/dist/chunk-PWAF6VOD-DxZLuCEw.js +1 -0
  56. package/dist/chunk-SHT3W25Y-B2Wes8jn.mjs +4183 -0
  57. package/dist/chunk-SHT3W25Y-BQjHSn5K.js +168 -0
  58. package/dist/chunk-SVP7TREG-BFMd615E.js +88 -0
  59. package/dist/chunk-SVP7TREG-CynckzeF.mjs +490 -0
  60. package/dist/chunk-TICWLB2K-BfCuoR1V.mjs +3357 -0
  61. package/dist/chunk-TICWLB2K-agcyBfUp.js +206 -0
  62. package/dist/chunk-TLUHSLCS-CUrWaKDG.mjs +59 -0
  63. package/dist/chunk-TLUHSLCS-Drx_a7am.js +1 -0
  64. package/dist/chunk-XXDRQBXY-AAk1-Cyg.js +1 -0
  65. package/dist/chunk-XXDRQBXY-DpR8eYzz.mjs +9 -0
  66. package/dist/chunk-Y2CYZVJY-CnmLqFtv.js +1 -0
  67. package/dist/chunk-Y2CYZVJY-i11wjrBe.mjs +12 -0
  68. package/dist/classDiagram-ZZMXUADV-B7IN9zcX.js +1 -0
  69. package/dist/classDiagram-ZZMXUADV-tcy6gxSB.mjs +30 -0
  70. package/dist/classDiagram-v2-VYDZK3BY-B7IN9zcX.js +1 -0
  71. package/dist/classDiagram-v2-VYDZK3BY-D5wM6Acp.mjs +30 -0
  72. package/dist/cli.js +87 -58
  73. package/dist/cose-bilkent-JH36ORCC-DBUPO3qJ.js +1 -0
  74. package/dist/cose-bilkent-JH36ORCC-Slpx4WIt.mjs +2253 -0
  75. package/dist/cynefin-OW5HDTMX--QVnfGi1.mjs +3 -0
  76. package/dist/cynefin-OW5HDTMX-lNKysi7S.js +1 -0
  77. package/dist/cynefinDiagram-5FMLGOSQ-CsFONYqx.js +62 -0
  78. package/dist/cynefinDiagram-5FMLGOSQ-DsrxYBcg.mjs +355 -0
  79. package/dist/cytoscape.esm-C5TvPYYm.mjs +18148 -0
  80. package/dist/cytoscape.esm-CBmWJr5M.js +321 -0
  81. package/dist/dagre-CZ6P9L_h.js +1 -0
  82. package/dist/dagre-GXQ25YYZ-CQszk-7P.js +4 -0
  83. package/dist/dagre-GXQ25YYZ-ecYByRSn.mjs +425 -0
  84. package/dist/dagre-J_1oH0eY.mjs +1934 -0
  85. package/dist/defaultLocale-N-0uLSyg.mjs +198 -0
  86. package/dist/defaultLocale-ybN1Vtvg.js +1 -0
  87. package/dist/diagram-S7CK7UJ4-CTMvxX__.js +30 -0
  88. package/dist/diagram-S7CK7UJ4-DxCghfa-.mjs +301 -0
  89. package/dist/diagram-UQ7AKVKN-1viEkqlG.js +41 -0
  90. package/dist/diagram-UQ7AKVKN-BA7Z_oB7.mjs +214 -0
  91. package/dist/diagram-VSXAHHWV-DgVT19mq.js +3 -0
  92. package/dist/diagram-VSXAHHWV-Dtqo03M5.mjs +432 -0
  93. package/dist/diagram-VX7I27RA-CNw0pOX_.js +24 -0
  94. package/dist/diagram-VX7I27RA-GMPRt8Zh.mjs +527 -0
  95. package/dist/diagram-Z3DM3KII-C6XdQK_Q.mjs +134 -0
  96. package/dist/diagram-Z3DM3KII-CPkBr3FT.js +24 -0
  97. package/dist/dist-CXWJafG_.js +1 -0
  98. package/dist/dist-DNdLIC8h.mjs +59 -0
  99. package/dist/docmedown.cjs +65 -48
  100. package/dist/docmedown.iife.js +3418 -77
  101. package/dist/docmedown.mjs +6550 -4630
  102. package/dist/ebnfDiagram-PWID7BFC-CseVsyL3.js +1 -0
  103. package/dist/ebnfDiagram-PWID7BFC-D_dBDXWC.mjs +100 -0
  104. package/dist/erDiagram-RLTQ6QDP-DFwfQTRS.js +99 -0
  105. package/dist/erDiagram-RLTQ6QDP-DP7ddGMH.mjs +1966 -0
  106. package/dist/eventmodeling-NTZA5JFV-CzxVg0l5.js +1 -0
  107. package/dist/eventmodeling-NTZA5JFV-Djsy__5n.mjs +3 -0
  108. package/dist/flowDiagram-HODETNUW-7hSJfI3W.js +1 -0
  109. package/dist/flowDiagram-HODETNUW-Dqu5Lr19.mjs +17 -0
  110. package/dist/ganttDiagram-EL5Y4UJY-KNL3tzTD.mjs +3072 -0
  111. package/dist/ganttDiagram-EL5Y4UJY-aiLqNWgi.js +292 -0
  112. package/dist/gitGraph-4MIJSDKK-DnElfqX7.js +1 -0
  113. package/dist/gitGraph-4MIJSDKK-xuKJBT2e.mjs +3 -0
  114. package/dist/gitGraphDiagram-WWUBYQGX-D4gSo_-e.js +106 -0
  115. package/dist/gitGraphDiagram-WWUBYQGX-Dooss5fG.mjs +733 -0
  116. package/dist/graphlib-BaETKKSa.js +1 -0
  117. package/dist/graphlib-XW-Jr8pF.mjs +1267 -0
  118. package/dist/info-A6RAGUB7-ClYskpn6.mjs +3 -0
  119. package/dist/info-A6RAGUB7-DDvvt-fW.js +1 -0
  120. package/dist/infoDiagram-27XIBGKW-B2-y2mdQ.mjs +20 -0
  121. package/dist/infoDiagram-27XIBGKW-DYQ9NzfL.js +2 -0
  122. package/dist/init-BJdqMO10.js +1 -0
  123. package/dist/init-CsQUQz36.mjs +13 -0
  124. package/dist/ishikawaDiagram-5VMMS53U-ULIhoYO5.js +70 -0
  125. package/dist/ishikawaDiagram-5VMMS53U-xAArNh-1.mjs +719 -0
  126. package/dist/journeyDiagram-3NMN7TZE-BBMYNZRL.js +139 -0
  127. package/dist/journeyDiagram-3NMN7TZE-BH-uKqP7.mjs +884 -0
  128. package/dist/kanban-definition-UXKFOSKX-Be49llXr.mjs +976 -0
  129. package/dist/kanban-definition-UXKFOSKX-CDL5yJkq.js +89 -0
  130. package/dist/line-BEwhHSLl.js +1 -0
  131. package/dist/line-CiXRog8O.mjs +34 -0
  132. package/dist/linear-75tfjrny.js +1 -0
  133. package/dist/linear-Ncx_RuON.mjs +288 -0
  134. package/dist/mermaid-parser.core-BBApyu_y.js +6 -0
  135. package/dist/mermaid-parser.core-BRHibdUE.mjs +638 -0
  136. package/dist/mindmap-definition-YA3MSWOX-Chy7XP_5.mjs +1006 -0
  137. package/dist/mindmap-definition-YA3MSWOX-DOda-fkL.js +96 -0
  138. package/dist/ordinal-B1BNQwUR.mjs +65 -0
  139. package/dist/ordinal-B9aFWmF9.js +1 -0
  140. package/dist/packet-AYTQ26CC-CorIy9Ul.js +1 -0
  141. package/dist/packet-AYTQ26CC-DWH8gXJK.mjs +3 -0
  142. package/dist/path-CnWkkRiY.mjs +84 -0
  143. package/dist/path-DIS6ck99.js +1 -0
  144. package/dist/pegDiagram-XKGWAZYB-Cdw6MeON.js +1 -0
  145. package/dist/pegDiagram-XKGWAZYB-uNfxRaq1.mjs +94 -0
  146. package/dist/pie-WAS4IAKB-Cn5eK-5P.mjs +3 -0
  147. package/dist/pie-WAS4IAKB-D84xrSoY.js +1 -0
  148. package/dist/pieDiagram-E7YTZNPT-Bd6mvpJw.js +39 -0
  149. package/dist/pieDiagram-E7YTZNPT-Cczo96a2.mjs +203 -0
  150. package/dist/quadrantDiagram-AXDQQJYC-BPfgvMsS.js +7 -0
  151. package/dist/quadrantDiagram-AXDQQJYC-eqRNtVRl.mjs +2001 -0
  152. package/dist/radar-RG4KPBEZ-DvkxGdO6.mjs +3 -0
  153. package/dist/radar-RG4KPBEZ-R2sQOLL9.js +1 -0
  154. package/dist/railroad-74A4TZTK-BOZIf6ts.js +1 -0
  155. package/dist/railroad-74A4TZTK-CrQzn8Nm.mjs +3 -0
  156. package/dist/railroad-abnf-HS5TGJTU-BZYetxLz.mjs +3 -0
  157. package/dist/railroad-abnf-HS5TGJTU-CXU1aC4B.js +1 -0
  158. package/dist/railroad-ebnf-LZEXJU2U-D29kI3YW.js +1 -0
  159. package/dist/railroad-ebnf-LZEXJU2U-qgzTOmN6.mjs +3 -0
  160. package/dist/railroad-peg-WCYAUIDC-Bjs9Ws3P.mjs +3 -0
  161. package/dist/railroad-peg-WCYAUIDC-CXviP0hz.js +1 -0
  162. package/dist/railroadDiagram-O6MQD6OU-58kvwt7H.mjs +76 -0
  163. package/dist/railroadDiagram-O6MQD6OU-CKY3uzTc.js +1 -0
  164. package/dist/requirementDiagram-BXWQKSXE-0hZ04Q6h.js +84 -0
  165. package/dist/requirementDiagram-BXWQKSXE-CS673B5n.mjs +2224 -0
  166. package/dist/rough.esm-ChRLLRha.js +1 -0
  167. package/dist/rough.esm-DXYGHN3m.mjs +1361 -0
  168. package/dist/sankeyDiagram-P5KCCOFB-D1D6HfAM.mjs +972 -0
  169. package/dist/sankeyDiagram-P5KCCOFB-ciJb9Zr8.js +40 -0
  170. package/dist/sequenceDiagram-WJ2MYXX4-BXEznuI6.js +162 -0
  171. package/dist/sequenceDiagram-WJ2MYXX4-CI1VT8AG.mjs +4156 -0
  172. package/dist/sizeCapture-INFHLROL-BihkCH-7.js +1 -0
  173. package/dist/sizeCapture-INFHLROL-BmxqyOLj.mjs +46 -0
  174. package/dist/src-B4mN2BMl.js +1 -0
  175. package/dist/src-D_hsMyeP.mjs +2154 -0
  176. package/dist/stateDiagram-D77RDMKH-BQrSs72W.mjs +220 -0
  177. package/dist/stateDiagram-D77RDMKH-D2PtkW2U.js +1 -0
  178. package/dist/stateDiagram-v2-MP3YSRHH-CCbvNfk-.mjs +30 -0
  179. package/dist/stateDiagram-v2-MP3YSRHH-Dq1QuPeN.js +1 -0
  180. package/dist/swimlanes-42K2YHIH-CA316NPm.mjs +4979 -0
  181. package/dist/swimlanes-42K2YHIH-DlggBCTy.js +1 -0
  182. package/dist/swimlanesDiagram-VR7AAH4N-BV9PEIoG.js +8 -0
  183. package/dist/swimlanesDiagram-VR7AAH4N-BfrOCfdf.mjs +31 -0
  184. package/dist/timeline-definition-24CTP7MA-Bkd8rWNJ.js +120 -0
  185. package/dist/timeline-definition-24CTP7MA-BvkqNYt1.mjs +1069 -0
  186. package/dist/treeView-Q6P3EWNA-Aof3Cp1M.mjs +3 -0
  187. package/dist/treeView-Q6P3EWNA-BTzvdwbb.js +1 -0
  188. package/dist/treemap-WGGIJYW6-BNXGg99p.mjs +3 -0
  189. package/dist/treemap-WGGIJYW6-DfR4P2Hh.js +1 -0
  190. package/dist/types/runtime/components/AppearanceMenu.d.ts +2 -0
  191. package/dist/types/runtime/components/DmdRegistry.d.ts +3 -1
  192. package/dist/types/runtime/components/MermaidDiagram.d.ts +16 -0
  193. package/dist/types/runtime/components/OfflineDownloadButton.d.ts +2 -0
  194. package/dist/types/runtime/config-schema.d.ts +42 -0
  195. package/dist/types/runtime/index.d.ts +1 -0
  196. package/dist/types/runtime/markdown/mermaid.d.ts +82 -1
  197. package/dist/types/runtime/offline-export.d.ts +26 -0
  198. package/dist/types/runtime/provider/ThemeProvider.d.ts +11 -4
  199. package/dist/types/runtime/types.d.ts +4 -1
  200. package/dist/vennDiagram-4TSXK5OY-BOUFXjso.js +34 -0
  201. package/dist/vennDiagram-4TSXK5OY-CeOg3-hU.mjs +1880 -0
  202. package/dist/wardley-WFR3VGLG-BOYcSLd1.mjs +3 -0
  203. package/dist/wardley-WFR3VGLG-DWDqJSgm.js +1 -0
  204. package/dist/wardleyDiagram-VM6X3IG4-BhWgMjFr.js +78 -0
  205. package/dist/wardleyDiagram-VM6X3IG4-C31KoRmF.mjs +645 -0
  206. package/dist/xychartDiagram-S5SC5T6Z-1yU8zz6I.js +7 -0
  207. package/dist/xychartDiagram-S5SC5T6Z-BK7upFom.mjs +2210 -0
  208. package/package.json +6 -3
  209. package/schemas/docs.schema.json +10 -1
  210. package/templates/README.md +4 -4
  211. package/templates/docs.json +4 -2
  212. package/templates/getting-started.md +1 -1
  213. package/templates/guides/custom-components.md +2 -0
  214. package/templates/index.html +2 -4
@@ -0,0 +1,198 @@
1
+ //#region node_modules/d3-format/src/formatDecimal.js
2
+ function e(e) {
3
+ return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
4
+ }
5
+ function t(e, t) {
6
+ if (!isFinite(e) || e === 0) return null;
7
+ var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
8
+ return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
9
+ }
10
+ //#endregion
11
+ //#region node_modules/d3-format/src/exponent.js
12
+ function n(e) {
13
+ return e = t(Math.abs(e)), e ? e[1] : NaN;
14
+ }
15
+ //#endregion
16
+ //#region node_modules/d3-format/src/formatGroup.js
17
+ function r(e, t) {
18
+ return function(n, r) {
19
+ for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
20
+ return a.reverse().join(t);
21
+ };
22
+ }
23
+ //#endregion
24
+ //#region node_modules/d3-format/src/formatNumerals.js
25
+ function i(e) {
26
+ return function(t) {
27
+ return t.replace(/[0-9]/g, function(t) {
28
+ return e[+t];
29
+ });
30
+ };
31
+ }
32
+ //#endregion
33
+ //#region node_modules/d3-format/src/formatSpecifier.js
34
+ var a = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
35
+ function o(e) {
36
+ if (!(t = a.exec(e))) throw Error("invalid format: " + e);
37
+ var t;
38
+ return new s({
39
+ fill: t[1],
40
+ align: t[2],
41
+ sign: t[3],
42
+ symbol: t[4],
43
+ zero: t[5],
44
+ width: t[6],
45
+ comma: t[7],
46
+ precision: t[8] && t[8].slice(1),
47
+ trim: t[9],
48
+ type: t[10]
49
+ });
50
+ }
51
+ o.prototype = s.prototype;
52
+ function s(e) {
53
+ this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
54
+ }
55
+ s.prototype.toString = function() {
56
+ return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
57
+ };
58
+ //#endregion
59
+ //#region node_modules/d3-format/src/formatTrim.js
60
+ function c(e) {
61
+ out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
62
+ case ".":
63
+ r = i = n;
64
+ break;
65
+ case "0":
66
+ r === 0 && (r = n), i = n;
67
+ break;
68
+ default:
69
+ if (!+e[n]) break out;
70
+ r > 0 && (r = 0);
71
+ }
72
+ return r > 0 ? e.slice(0, r) + e.slice(i + 1) : e;
73
+ }
74
+ //#endregion
75
+ //#region node_modules/d3-format/src/formatPrefixAuto.js
76
+ var l;
77
+ function u(e, n) {
78
+ var r = t(e, n);
79
+ if (!r) return l = void 0, e.toPrecision(n);
80
+ var i = r[0], a = r[1], o = a - (l = Math.max(-8, Math.min(8, Math.floor(a / 3))) * 3) + 1, s = i.length;
81
+ return o === s ? i : o > s ? i + Array(o - s + 1).join("0") : o > 0 ? i.slice(0, o) + "." + i.slice(o) : "0." + Array(1 - o).join("0") + t(e, Math.max(0, n + o - 1))[0];
82
+ }
83
+ //#endregion
84
+ //#region node_modules/d3-format/src/formatRounded.js
85
+ function d(e, n) {
86
+ var r = t(e, n);
87
+ if (!r) return e + "";
88
+ var i = r[0], a = r[1];
89
+ return a < 0 ? "0." + Array(-a).join("0") + i : i.length > a + 1 ? i.slice(0, a + 1) + "." + i.slice(a + 1) : i + Array(a - i.length + 2).join("0");
90
+ }
91
+ //#endregion
92
+ //#region node_modules/d3-format/src/formatTypes.js
93
+ var f = {
94
+ "%": (e, t) => (e * 100).toFixed(t),
95
+ b: (e) => Math.round(e).toString(2),
96
+ c: (e) => e + "",
97
+ d: e,
98
+ e: (e, t) => e.toExponential(t),
99
+ f: (e, t) => e.toFixed(t),
100
+ g: (e, t) => e.toPrecision(t),
101
+ o: (e) => Math.round(e).toString(8),
102
+ p: (e, t) => d(e * 100, t),
103
+ r: d,
104
+ s: u,
105
+ X: (e) => Math.round(e).toString(16).toUpperCase(),
106
+ x: (e) => Math.round(e).toString(16)
107
+ };
108
+ //#endregion
109
+ //#region node_modules/d3-format/src/identity.js
110
+ function p(e) {
111
+ return e;
112
+ }
113
+ //#endregion
114
+ //#region node_modules/d3-format/src/locale.js
115
+ var m = Array.prototype.map, h = [
116
+ "y",
117
+ "z",
118
+ "a",
119
+ "f",
120
+ "p",
121
+ "n",
122
+ "µ",
123
+ "m",
124
+ "",
125
+ "k",
126
+ "M",
127
+ "G",
128
+ "T",
129
+ "P",
130
+ "E",
131
+ "Z",
132
+ "Y"
133
+ ];
134
+ function g(e) {
135
+ var t = e.grouping === void 0 || e.thousands === void 0 ? p : r(m.call(e.grouping, Number), e.thousands + ""), a = e.currency === void 0 ? "" : e.currency[0] + "", s = e.currency === void 0 ? "" : e.currency[1] + "", u = e.decimal === void 0 ? "." : e.decimal + "", d = e.numerals === void 0 ? p : i(m.call(e.numerals, String)), g = e.percent === void 0 ? "%" : e.percent + "", _ = e.minus === void 0 ? "−" : e.minus + "", v = e.nan === void 0 ? "NaN" : e.nan + "";
136
+ function y(e, n) {
137
+ e = o(e);
138
+ var r = e.fill, i = e.align, p = e.sign, m = e.symbol, y = e.zero, b = e.width, x = e.comma, S = e.precision, C = e.trim, w = e.type;
139
+ w === "n" ? (x = !0, w = "g") : f[w] || (S === void 0 && (S = 12), C = !0, w = "g"), (y || r === "0" && i === "=") && (y = !0, r = "0", i = "=");
140
+ var T = (n && n.prefix !== void 0 ? n.prefix : "") + (m === "$" ? a : m === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : ""), E = (m === "$" ? s : /[%p]/.test(w) ? g : "") + (n && n.suffix !== void 0 ? n.suffix : ""), D = f[w], O = /[defgprs%]/.test(w);
141
+ S = S === void 0 ? 6 : /[gprs]/.test(w) ? Math.max(1, Math.min(21, S)) : Math.max(0, Math.min(20, S));
142
+ function k(e) {
143
+ var n = T, a = E, o, s, f;
144
+ if (w === "c") a = D(e) + a, e = "";
145
+ else {
146
+ e = +e;
147
+ var m = e < 0 || 1 / e < 0;
148
+ if (e = isNaN(e) ? v : D(Math.abs(e), S), C && (e = c(e)), m && +e == 0 && p !== "+" && (m = !1), n = (m ? p === "(" ? p : _ : p === "-" || p === "(" ? "" : p) + n, a = (w === "s" && !isNaN(e) && l !== void 0 ? h[8 + l / 3] : "") + a + (m && p === "(" ? ")" : ""), O) {
149
+ for (o = -1, s = e.length; ++o < s;) if (f = e.charCodeAt(o), 48 > f || f > 57) {
150
+ a = (f === 46 ? u + e.slice(o + 1) : e.slice(o)) + a, e = e.slice(0, o);
151
+ break;
152
+ }
153
+ }
154
+ }
155
+ x && !y && (e = t(e, Infinity));
156
+ var g = n.length + e.length + a.length, k = g < b ? Array(b - g + 1).join(r) : "";
157
+ switch (x && y && (e = t(k + e, k.length ? b - a.length : Infinity), k = ""), i) {
158
+ case "<":
159
+ e = n + e + a + k;
160
+ break;
161
+ case "=":
162
+ e = n + k + e + a;
163
+ break;
164
+ case "^":
165
+ e = k.slice(0, g = k.length >> 1) + n + e + a + k.slice(g);
166
+ break;
167
+ default: e = k + n + e + a;
168
+ }
169
+ return d(e);
170
+ }
171
+ return k.toString = function() {
172
+ return e + "";
173
+ }, k;
174
+ }
175
+ function b(e, t) {
176
+ var r = Math.max(-8, Math.min(8, Math.floor(n(t) / 3))) * 3, i = 10 ** -r, a = y((e = o(e), e.type = "f", e), { suffix: h[8 + r / 3] });
177
+ return function(e) {
178
+ return a(i * e);
179
+ };
180
+ }
181
+ return {
182
+ format: y,
183
+ formatPrefix: b
184
+ };
185
+ }
186
+ //#endregion
187
+ //#region node_modules/d3-format/src/defaultLocale.js
188
+ var _, v, y;
189
+ b({
190
+ thousands: ",",
191
+ grouping: [3],
192
+ currency: ["$", ""]
193
+ });
194
+ function b(e) {
195
+ return _ = g(e), v = _.format, y = _.formatPrefix, _;
196
+ }
197
+ //#endregion
198
+ export { n as i, y as n, o as r, v as t };
@@ -0,0 +1 @@
1
+ function e(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function t(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function n(e){return e=t(Math.abs(e)),e?e[1]:NaN}function r(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function i(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var a=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(e){if(!(t=a.exec(e)))throw Error(`invalid format: `+e);var t;return new s({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}o.prototype=s.prototype;function s(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function c(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0)}return r>0?e.slice(0,r)+e.slice(i+1):e}var l;function u(e,n){var r=t(e,n);if(!r)return l=void 0,e.toPrecision(n);var i=r[0],a=r[1],o=a-(l=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,s=i.length;return o===s?i:o>s?i+Array(o-s+1).join(`0`):o>0?i.slice(0,o)+`.`+i.slice(o):`0.`+Array(1-o).join(`0`)+t(e,Math.max(0,n+o-1))[0]}function d(e,n){var r=t(e,n);if(!r)return e+``;var i=r[0],a=r[1];return a<0?`0.`+Array(-a).join(`0`)+i:i.length>a+1?i.slice(0,a+1)+`.`+i.slice(a+1):i+Array(a-i.length+2).join(`0`)}var f={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:e,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>d(e*100,t),r:d,s:u,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function p(e){return e}var m=Array.prototype.map,h=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function g(e){var t=e.grouping===void 0||e.thousands===void 0?p:r(m.call(e.grouping,Number),e.thousands+``),a=e.currency===void 0?``:e.currency[0]+``,s=e.currency===void 0?``:e.currency[1]+``,u=e.decimal===void 0?`.`:e.decimal+``,d=e.numerals===void 0?p:i(m.call(e.numerals,String)),g=e.percent===void 0?`%`:e.percent+``,_=e.minus===void 0?`−`:e.minus+``,v=e.nan===void 0?`NaN`:e.nan+``;function y(e,n){e=o(e);var r=e.fill,i=e.align,p=e.sign,m=e.symbol,y=e.zero,b=e.width,x=e.comma,S=e.precision,C=e.trim,w=e.type;w===`n`?(x=!0,w=`g`):f[w]||(S===void 0&&(S=12),C=!0,w=`g`),(y||r===`0`&&i===`=`)&&(y=!0,r=`0`,i=`=`);var T=(n&&n.prefix!==void 0?n.prefix:``)+(m===`$`?a:m===`#`&&/[boxX]/.test(w)?`0`+w.toLowerCase():``),E=(m===`$`?s:/[%p]/.test(w)?g:``)+(n&&n.suffix!==void 0?n.suffix:``),D=f[w],O=/[defgprs%]/.test(w);S=S===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S));function k(e){var n=T,a=E,o,s,f;if(w===`c`)a=D(e)+a,e=``;else{e=+e;var m=e<0||1/e<0;if(e=isNaN(e)?v:D(Math.abs(e),S),C&&(e=c(e)),m&&+e==0&&p!==`+`&&(m=!1),n=(m?p===`(`?p:_:p===`-`||p===`(`?``:p)+n,a=(w===`s`&&!isNaN(e)&&l!==void 0?h[8+l/3]:``)+a+(m&&p===`(`?`)`:``),O){for(o=-1,s=e.length;++o<s;)if(f=e.charCodeAt(o),48>f||f>57){a=(f===46?u+e.slice(o+1):e.slice(o))+a,e=e.slice(0,o);break}}}x&&!y&&(e=t(e,1/0));var g=n.length+e.length+a.length,k=g<b?Array(b-g+1).join(r):``;switch(x&&y&&(e=t(k+e,k.length?b-a.length:1/0),k=``),i){case`<`:e=n+e+a+k;break;case`=`:e=n+k+e+a;break;case`^`:e=k.slice(0,g=k.length>>1)+n+e+a+k.slice(g);break;default:e=k+n+e+a}return d(e)}return k.toString=function(){return e+``},k}function b(e,t){var r=Math.max(-8,Math.min(8,Math.floor(n(t)/3)))*3,i=10**-r,a=y((e=o(e),e.type=`f`,e),{suffix:h[8+r/3]});return function(e){return a(i*e)}}return{format:y,formatPrefix:b}}var _,v,y;b({thousands:`,`,grouping:[3],currency:[`$`,``]});function b(e){return _=g(e),v=_.format,y=_.formatPrefix,_}Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return v}});
@@ -0,0 +1,30 @@
1
+ const e=require("./src-B4mN2BMl.js"),t=require("./chunk-Y2CYZVJY-CnmLqFtv.js"),n=require("./chunk-DU6HZSFF-CWc5ewtb.js"),r=require("./chunk-75Z2AOVW-DYouz5MZ.js"),i=require("./chunk-CLGD4ZFX-C5J-e2io.js"),a=require("./chunk-PWAF6VOD-DxZLuCEw.js"),o=require("./mermaid-parser.core-BBApyu_y.js"),s=require("./chunk-JWPE2WC7-p1fYVdYc.js"),c=require("./chunk-2Q5K7J3B-DhjCNjaM.js");var l=/[─━│┃└┗├┣]/,u=/[└┗├┣]/,d=/[─━]/,f=/^[\s│┃]+$/,p=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,m=/^\s*%%/,h=` `;function g(e){return e.some(e=>l.test(e))}t.n(g,`isBoxDrawingFormat`);function _(e){for(let t of e){let e=u.exec(t);if(e?.index&&e.index>0)return e.index}return 4}t.n(_,`inferSegmentWidth`);function v(e,t){return e.replace(/\bline\s+(\d+)\b/gi,(e,n)=>{let r=parseInt(n,10),i=t.get(r);return i?`line ${i}`:e})}t.n(v,`remapErrorLines`);function y(e){let t=e.split(`
2
+ `),n=new Map,r=-1;for(let[e,n]of t.entries())if(n.trim()===`treeView-beta`){r=e;break}if(r===-1)return{text:e,lineMap:n};let i=[];for(let e=r+1;e<t.length;e++){let n=t[e];n.trim()===``||m.test(n)||p.test(n)||f.test(n)||i.push(n.replace(/\t/g,` `))}if(!g(i))return{text:e,lineMap:n};let a=_(i),o=[],s=0;for(let e=0;e<=r;e++)o.push(t[e]),s++,n.set(s,e+1);for(let e=r+1;e<t.length;e++){let r=t[e],i=r.trim(),c=e+1;if(i===``){o.push(r),s++,n.set(s,c);continue}if(m.test(r)){o.push(r),s++,n.set(s,c);continue}if(p.test(r)){o.push(r),s++,n.set(s,c);continue}if(f.test(r))continue;let g=r.replace(/\t/g,` `),_=u.exec(g);if(_?.index!==void 0){let e=_.index,t=Math.round(e/a)+1,r=e+1;for(;r<g.length&&d.test(g[r]);)r++;for(;r<g.length&&g[r]===` `;)r++;let i=g.slice(r).trimEnd();if(!i)throw Error(`Line ${c}: Empty node \u2014 expected a filename or directory name after the box-drawing prefix`);let l=h.repeat(t);o.push(l+i),s++,n.set(s,c)}else if(/^[\s─━│┃└┗├┣]+$/.test(g))continue;else if(l.test(g))o.push(r),s++,n.set(s,c);else if(/^\s+/.test(g))throw Error(`Line ${c}: Unexpected indentation without box-drawing characters. In box-drawing format, use \u251C\u2500\u2500 or \u2514\u2500\u2500 prefixes for indented nodes.`);else o.push(r),s++,n.set(s,c)}return{text:o.join(`
3
+ `),lineMap:n}}t.n(y,`preprocessBoxDrawing`);var b=new c.t(()=>({cnt:1,stack:[{id:0,level:-1,name:`/`,nodeType:`directory`,children:[]}]})),x=t.n(()=>{b.reset(),n.a()},`clear`),S=t.n(()=>b.records.stack[0],`getRoot`),C=t.n(()=>b.records.cnt,`getCount`),w=n.f.treeView,T={clear:x,addNode:t.n((e,t,n,r,i,a)=>{for(;e<=b.records.stack[b.records.stack.length-1].level;)b.records.stack.pop();let o={id:b.records.cnt++,level:e,name:t,nodeType:n,icon:i,cssClass:r,description:a,children:[]};b.records.stack[b.records.stack.length-1].children.push(o),b.records.stack.push(o)},`addNode`),getRoot:S,getCount:C,getConfig:t.n(()=>r.i(w,n.b().treeView),`getConfig`),getAccTitle:n.y,getAccDescription:n.v,getDiagramTitle:n.w,setAccDescription:n.H,setAccTitle:n.U,setDiagramTitle:n.K},E=t.n(e=>{s.t(e,T);for(let t of e.nodes){let e=typeof t.indent==`number`?t.indent:0,r=t.name,i=r.endsWith(`/`);i&&(r=r.slice(0,-1));let a=i?`directory`:`file`,o=t.classAnnotation||void 0,s=t.iconAnnotation,c=s===void 0?void 0:s||`none`,l=t.descAnnotation||void 0,u=l?n.z(l,n.b()):void 0;T.addNode(e,r,a,o,c,u)}},`populate`),D={parse:t.n(async t=>{let{text:n,lineMap:r}=y(t);try{let t=await o.n(`treeView`,n);e.m.debug(t),E(t)}catch(e){throw r.size>0&&e instanceof Error&&(e.message=v(e.message,r)),e}},`parse`)},O={prefix:`mermaid-treeview`,height:24,width:24,icons:{folder:{body:`<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>`},file:{body:`<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>`}}};function k(e,t){let n=t?.filenameIcons?.[e];if(n)return n;let r=e.lastIndexOf(`.`);if(r>0){let n=e.substring(r).toLowerCase(),i=t?.extensionIcons;return i?.[n]??i?.[n.slice(1)]}}t.n(k,`detectIcon`);function A(e,t){return e.includes(`:`)?e:e in O.icons||!t?`${O.prefix}:${e}`:`${t}:${e}`}t.n(A,`qualifyIcon`);function j(e,t){if(e.icon!==`none`){if(e.icon)return A(e.icon,t.defaultIconPack);if(t.showIcons){if(e.nodeType===`file`){let n=k(e.name,t);if(n===`none`)return;if(n)return A(n,t.defaultIconPack)}return`${O.prefix}:${e.nodeType===`directory`?`folder`:`file`}`}}}t.n(j,`getNodeIcon`),a.r([{name:O.prefix,icons:O}]);var M=14,N=4,P=16,F=t.n(async(e,n)=>{let r=[],i=t.n(e=>{let t=j(e,n);t&&r.push({icon:t,node:e}),e.children.forEach(i)},`collect`);i(e);let o=await Promise.all(r.map(async({icon:e,node:t})=>({id:t.id,svg:await a.t(e,{height:M,width:M})})));return new Map(o.map(({id:e,svg:t})=>[e,t]))},`resolveNodeIcons`),I=t.n((e,t,n,r,i,a)=>{let o=r.append(`g`),s=`treeView-node-label`;n.nodeType===`directory`&&(s+=` treeView-node-dir`),n.cssClass&&(s+=` ${n.cssClass}`);let c=M+N,l=j(n,i),u=l!==void 0;l&&o.append(`g`).attr(`class`,`treeView-node-icon`).attr(`transform`,`translate(${e+i.paddingX}, ${t+i.paddingY})`).html(a.get(n.id)??``);let d=o.append(`text`).text(n.name).attr(`dominant-baseline`,`middle`).attr(`class`,s),{height:f,width:p}=d.node().getBBox(),m=f+i.paddingY*2,h=e+i.paddingX+(u?c:0);d.attr(`x`,h),d.attr(`y`,t+m/2);let g=h+p;return n.BBox={x:e,y:t,width:p+i.paddingX*2+(u?c:0),height:m},n.cssClass?.split(/\s+/).includes(`highlight`)&&o.insert(`rect`,`:first-child`).attr(`x`,e).attr(`y`,t+1).attr(`width`,0).attr(`height`,m-2).attr(`rx`,3).attr(`class`,`treeView-highlight-bg`),{node:n,nodeGroup:o,labelRightEdge:g,centerY:t+m/2}},`positionLabel`),L=t.n((e,t,n,r,i,a)=>e.append(`line`).attr(`x1`,t).attr(`y1`,n).attr(`x2`,r).attr(`y2`,i).attr(`stroke-width`,a).attr(`class`,`treeView-node-line`),`positionLine`),R=t.n((e,n,r,i)=>{let a=0,o=0,s=[],c=t.n((e,t,n,r)=>{let c=r*(n.rowIndent+n.paddingX),l=I(c,a,t,e,n,i);s.push(l);let{height:u,width:d}=t.BBox;L(e,c-n.rowIndent,a+u/2,c,a+u/2,n.lineThickness),o=Math.max(o,c+d),a+=u},`drawNode`),l=t.n((t,n=0)=>{c(e,t,r,n),t.children.forEach(e=>{l(e,n+1)});let{x:i,y:a,height:o}=t.BBox;if(t.children.length){let{y:n,height:s}=t.children[t.children.length-1].BBox;L(e,i+r.paddingX,a+o,i+r.paddingX,n+s/2+r.lineThickness/2,r.lineThickness)}},`processNode`);l(n);let u=s.filter(e=>e.node.description);if(u.length>0){let e=Math.max(...s.map(e=>e.labelRightEdge))+P;for(let t of u){let n=t.nodeGroup.append(`text`).text(t.node.description).attr(`dominant-baseline`,`middle`).attr(`class`,`treeView-node-description`).attr(`x`,e).attr(`y`,t.centerY).node().getBBox();o=Math.max(o,e+n.width+r.paddingX)}}for(let e of s)if(e.node.cssClass?.split(/\s+/).includes(`highlight`)){let t=e.nodeGroup.select(`.treeView-highlight-bg`);if(!t.empty()){let n=o-e.node.BBox.x+8;t.attr(`width`,n),o=Math.max(o,e.node.BBox.x+n+2)}}return{totalHeight:a,totalWidth:o}},`drawTree`),z={draw:t.n(async(t,r,a,o)=>{e.m.debug(`Rendering treeView diagram
4
+ `+t);let s=o.db,c=s.getRoot(),l=s.getConfig(),u=i.t(r),d=u.append(`g`);d.attr(`class`,`tree-view`);let{totalHeight:f,totalWidth:p}=R(d,c,l,await F(c,l));u.attr(`viewBox`,`-${l.lineThickness/2} 0 ${p} ${f}`),n.c(u,f,p,l.useMaxWidth)},`draw`)},B={labelFontSize:`16px`,labelColor:`black`,lineColor:`black`,iconColor:`#546e7a`,descriptionColor:`#6a9955`,highlightBg:`rgba(255, 193, 7, 0.15)`,highlightStroke:`#ffc107`},V={db:T,renderer:z,parser:D,styles:t.n(({treeView:e})=>{let{labelFontSize:t,labelColor:n,lineColor:i,iconColor:a,descriptionColor:o,highlightBg:s,highlightStroke:c}=r.i(B,e);return`
5
+ .treeView-node-label {
6
+ font-size: ${t};
7
+ fill: ${n};
8
+ white-space: pre;
9
+ }
10
+ .treeView-node-dir {
11
+ font-weight: bold;
12
+ }
13
+ .treeView-node-line {
14
+ stroke: ${i};
15
+ }
16
+ .treeView-node-icon {
17
+ color: ${a};
18
+ }
19
+ .treeView-node-description {
20
+ font-size: ${t};
21
+ fill: ${o};
22
+ font-style: italic;
23
+ white-space: pre;
24
+ }
25
+ .treeView-highlight-bg {
26
+ fill: ${s};
27
+ stroke: ${c};
28
+ stroke-width: 1;
29
+ }
30
+ `},`styles`)};exports.diagram=V;
@@ -0,0 +1,301 @@
1
+ import { m as e } from "./src-D_hsMyeP.mjs";
2
+ import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.mjs";
3
+ import { H as n, K as r, U as i, a, b as o, c as s, f as c, v as l, w as u, y as d, z as f } from "./chunk-DU6HZSFF-BEQZSmUu.mjs";
4
+ import { i as p } from "./chunk-75Z2AOVW-Dz0Sko9Y.mjs";
5
+ import { t as m } from "./chunk-CLGD4ZFX-DBkwyMMv.mjs";
6
+ import { r as h, t as g } from "./chunk-PWAF6VOD-BYG76tEe.mjs";
7
+ import { n as _ } from "./mermaid-parser.core-BRHibdUE.mjs";
8
+ import { t as v } from "./chunk-JWPE2WC7-DIKiF5cm.mjs";
9
+ import { t as y } from "./chunk-2Q5K7J3B-D4EgYPOq.mjs";
10
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-S7CK7UJ4.mjs
11
+ var b = /[─━│┃└┗├┣]/, x = /[└┗├┣]/, S = /[─━]/, C = /^[\s│┃]+$/, w = /^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/, T = /^\s*%%/, E = " ";
12
+ function D(e) {
13
+ return e.some((e) => b.test(e));
14
+ }
15
+ t(D, "isBoxDrawingFormat");
16
+ function O(e) {
17
+ for (let t of e) {
18
+ let e = x.exec(t);
19
+ if (e?.index && e.index > 0) return e.index;
20
+ }
21
+ return 4;
22
+ }
23
+ t(O, "inferSegmentWidth");
24
+ function k(e, t) {
25
+ return e.replace(/\bline\s+(\d+)\b/gi, (e, n) => {
26
+ let r = parseInt(n, 10), i = t.get(r);
27
+ return i ? `line ${i}` : e;
28
+ });
29
+ }
30
+ t(k, "remapErrorLines");
31
+ function A(e) {
32
+ let t = e.split("\n"), n = /* @__PURE__ */ new Map(), r = -1;
33
+ for (let [e, n] of t.entries()) if (n.trim() === "treeView-beta") {
34
+ r = e;
35
+ break;
36
+ }
37
+ if (r === -1) return {
38
+ text: e,
39
+ lineMap: n
40
+ };
41
+ let i = [];
42
+ for (let e = r + 1; e < t.length; e++) {
43
+ let n = t[e];
44
+ n.trim() === "" || T.test(n) || w.test(n) || C.test(n) || i.push(n.replace(/\t/g, " "));
45
+ }
46
+ if (!D(i)) return {
47
+ text: e,
48
+ lineMap: n
49
+ };
50
+ let a = O(i), o = [], s = 0;
51
+ for (let e = 0; e <= r; e++) o.push(t[e]), s++, n.set(s, e + 1);
52
+ for (let e = r + 1; e < t.length; e++) {
53
+ let r = t[e], i = r.trim(), c = e + 1;
54
+ if (i === "") {
55
+ o.push(r), s++, n.set(s, c);
56
+ continue;
57
+ }
58
+ if (T.test(r)) {
59
+ o.push(r), s++, n.set(s, c);
60
+ continue;
61
+ }
62
+ if (w.test(r)) {
63
+ o.push(r), s++, n.set(s, c);
64
+ continue;
65
+ }
66
+ if (C.test(r)) continue;
67
+ let l = r.replace(/\t/g, " "), u = x.exec(l);
68
+ if (u?.index !== void 0) {
69
+ let e = u.index, t = Math.round(e / a) + 1, r = e + 1;
70
+ for (; r < l.length && S.test(l[r]);) r++;
71
+ for (; r < l.length && l[r] === " ";) r++;
72
+ let i = l.slice(r).trimEnd();
73
+ if (!i) throw Error(`Line ${c}: Empty node \u2014 expected a filename or directory name after the box-drawing prefix`);
74
+ let d = E.repeat(t);
75
+ o.push(d + i), s++, n.set(s, c);
76
+ } else if (/^[\s─━│┃└┗├┣]+$/.test(l)) continue;
77
+ else if (b.test(l)) o.push(r), s++, n.set(s, c);
78
+ else if (/^\s+/.test(l)) throw Error(`Line ${c}: Unexpected indentation without box-drawing characters. In box-drawing format, use \u251C\u2500\u2500 or \u2514\u2500\u2500 prefixes for indented nodes.`);
79
+ else o.push(r), s++, n.set(s, c);
80
+ }
81
+ return {
82
+ text: o.join("\n"),
83
+ lineMap: n
84
+ };
85
+ }
86
+ t(A, "preprocessBoxDrawing");
87
+ var j = new y(() => ({
88
+ cnt: 1,
89
+ stack: [{
90
+ id: 0,
91
+ level: -1,
92
+ name: "/",
93
+ nodeType: "directory",
94
+ children: []
95
+ }]
96
+ })), M = /* @__PURE__ */ t(() => {
97
+ j.reset(), a();
98
+ }, "clear"), N = /* @__PURE__ */ t(() => j.records.stack[0], "getRoot"), P = /* @__PURE__ */ t(() => j.records.cnt, "getCount"), F = c.treeView, I = {
99
+ clear: M,
100
+ addNode: /* @__PURE__ */ t((e, t, n, r, i, a) => {
101
+ for (; e <= j.records.stack[j.records.stack.length - 1].level;) j.records.stack.pop();
102
+ let o = {
103
+ id: j.records.cnt++,
104
+ level: e,
105
+ name: t,
106
+ nodeType: n,
107
+ icon: i,
108
+ cssClass: r,
109
+ description: a,
110
+ children: []
111
+ };
112
+ j.records.stack[j.records.stack.length - 1].children.push(o), j.records.stack.push(o);
113
+ }, "addNode"),
114
+ getRoot: N,
115
+ getCount: P,
116
+ getConfig: /* @__PURE__ */ t(() => p(F, o().treeView), "getConfig"),
117
+ getAccTitle: d,
118
+ getAccDescription: l,
119
+ getDiagramTitle: u,
120
+ setAccDescription: n,
121
+ setAccTitle: i,
122
+ setDiagramTitle: r
123
+ }, L = /* @__PURE__ */ t((e) => {
124
+ v(e, I);
125
+ for (let t of e.nodes) {
126
+ let e = typeof t.indent == "number" ? t.indent : 0, n = t.name, r = n.endsWith("/");
127
+ r && (n = n.slice(0, -1));
128
+ let i = r ? "directory" : "file", a = t.classAnnotation || void 0, s = t.iconAnnotation, c = s === void 0 ? void 0 : s || "none", l = t.descAnnotation || void 0, u = l ? f(l, o()) : void 0;
129
+ I.addNode(e, n, i, a, c, u);
130
+ }
131
+ }, "populate"), R = { parse: /* @__PURE__ */ t(async (t) => {
132
+ let { text: n, lineMap: r } = A(t);
133
+ try {
134
+ let t = await _("treeView", n);
135
+ e.debug(t), L(t);
136
+ } catch (e) {
137
+ throw r.size > 0 && e instanceof Error && (e.message = k(e.message, r)), e;
138
+ }
139
+ }, "parse") }, z = {
140
+ prefix: "mermaid-treeview",
141
+ height: 24,
142
+ width: 24,
143
+ icons: {
144
+ folder: { body: "<path fill=\"currentColor\" d=\"M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z\"/>" },
145
+ file: { body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z\" clip-rule=\"evenodd\"/>" }
146
+ }
147
+ };
148
+ function B(e, t) {
149
+ let n = t?.filenameIcons?.[e];
150
+ if (n) return n;
151
+ let r = e.lastIndexOf(".");
152
+ if (r > 0) {
153
+ let n = e.substring(r).toLowerCase(), i = t?.extensionIcons;
154
+ return i?.[n] ?? i?.[n.slice(1)];
155
+ }
156
+ }
157
+ t(B, "detectIcon");
158
+ function V(e, t) {
159
+ return e.includes(":") ? e : e in z.icons || !t ? `${z.prefix}:${e}` : `${t}:${e}`;
160
+ }
161
+ t(V, "qualifyIcon");
162
+ function H(e, t) {
163
+ if (e.icon !== "none") {
164
+ if (e.icon) return V(e.icon, t.defaultIconPack);
165
+ if (t.showIcons) {
166
+ if (e.nodeType === "file") {
167
+ let n = B(e.name, t);
168
+ if (n === "none") return;
169
+ if (n) return V(n, t.defaultIconPack);
170
+ }
171
+ return `${z.prefix}:${e.nodeType === "directory" ? "folder" : "file"}`;
172
+ }
173
+ }
174
+ }
175
+ t(H, "getNodeIcon"), h([{
176
+ name: z.prefix,
177
+ icons: z
178
+ }]);
179
+ var U = 14, W = 4, G = 16, K = /* @__PURE__ */ t(async (e, n) => {
180
+ let r = [], i = /* @__PURE__ */ t((e) => {
181
+ let t = H(e, n);
182
+ t && r.push({
183
+ icon: t,
184
+ node: e
185
+ }), e.children.forEach(i);
186
+ }, "collect");
187
+ i(e);
188
+ let a = await Promise.all(r.map(async ({ icon: e, node: t }) => ({
189
+ id: t.id,
190
+ svg: await g(e, {
191
+ height: U,
192
+ width: U
193
+ })
194
+ })));
195
+ return new Map(a.map(({ id: e, svg: t }) => [e, t]));
196
+ }, "resolveNodeIcons"), q = /* @__PURE__ */ t((e, t, n, r, i, a) => {
197
+ let o = r.append("g"), s = "treeView-node-label";
198
+ n.nodeType === "directory" && (s += " treeView-node-dir"), n.cssClass && (s += ` ${n.cssClass}`);
199
+ let c = U + W, l = H(n, i), u = l !== void 0;
200
+ l && o.append("g").attr("class", "treeView-node-icon").attr("transform", `translate(${e + i.paddingX}, ${t + i.paddingY})`).html(a.get(n.id) ?? "");
201
+ let d = o.append("text").text(n.name).attr("dominant-baseline", "middle").attr("class", s), { height: f, width: p } = d.node().getBBox(), m = f + i.paddingY * 2, h = e + i.paddingX + (u ? c : 0);
202
+ d.attr("x", h), d.attr("y", t + m / 2);
203
+ let g = h + p;
204
+ return n.BBox = {
205
+ x: e,
206
+ y: t,
207
+ width: p + i.paddingX * 2 + (u ? c : 0),
208
+ height: m
209
+ }, n.cssClass?.split(/\s+/).includes("highlight") && o.insert("rect", ":first-child").attr("x", e).attr("y", t + 1).attr("width", 0).attr("height", m - 2).attr("rx", 3).attr("class", "treeView-highlight-bg"), {
210
+ node: n,
211
+ nodeGroup: o,
212
+ labelRightEdge: g,
213
+ centerY: t + m / 2
214
+ };
215
+ }, "positionLabel"), J = /* @__PURE__ */ t((e, t, n, r, i, a) => e.append("line").attr("x1", t).attr("y1", n).attr("x2", r).attr("y2", i).attr("stroke-width", a).attr("class", "treeView-node-line"), "positionLine"), Y = /* @__PURE__ */ t((e, n, r, i) => {
216
+ let a = 0, o = 0, s = [], c = /* @__PURE__ */ t((e, t, n, r) => {
217
+ let c = r * (n.rowIndent + n.paddingX), l = q(c, a, t, e, n, i);
218
+ s.push(l);
219
+ let { height: u, width: d } = t.BBox;
220
+ J(e, c - n.rowIndent, a + u / 2, c, a + u / 2, n.lineThickness), o = Math.max(o, c + d), a += u;
221
+ }, "drawNode"), l = /* @__PURE__ */ t((t, n = 0) => {
222
+ c(e, t, r, n), t.children.forEach((e) => {
223
+ l(e, n + 1);
224
+ });
225
+ let { x: i, y: a, height: o } = t.BBox;
226
+ if (t.children.length) {
227
+ let { y: n, height: s } = t.children[t.children.length - 1].BBox;
228
+ J(e, i + r.paddingX, a + o, i + r.paddingX, n + s / 2 + r.lineThickness / 2, r.lineThickness);
229
+ }
230
+ }, "processNode");
231
+ l(n);
232
+ let u = s.filter((e) => e.node.description);
233
+ if (u.length > 0) {
234
+ let e = Math.max(...s.map((e) => e.labelRightEdge)) + G;
235
+ for (let t of u) {
236
+ let n = t.nodeGroup.append("text").text(t.node.description).attr("dominant-baseline", "middle").attr("class", "treeView-node-description").attr("x", e).attr("y", t.centerY).node().getBBox();
237
+ o = Math.max(o, e + n.width + r.paddingX);
238
+ }
239
+ }
240
+ for (let e of s) if (e.node.cssClass?.split(/\s+/).includes("highlight")) {
241
+ let t = e.nodeGroup.select(".treeView-highlight-bg");
242
+ if (!t.empty()) {
243
+ let n = o - e.node.BBox.x + 8;
244
+ t.attr("width", n), o = Math.max(o, e.node.BBox.x + n + 2);
245
+ }
246
+ }
247
+ return {
248
+ totalHeight: a,
249
+ totalWidth: o
250
+ };
251
+ }, "drawTree"), X = { draw: /* @__PURE__ */ t(async (t, n, r, i) => {
252
+ e.debug("Rendering treeView diagram\n" + t);
253
+ let a = i.db, o = a.getRoot(), c = a.getConfig(), l = m(n), u = l.append("g");
254
+ u.attr("class", "tree-view");
255
+ let { totalHeight: d, totalWidth: f } = Y(u, o, c, await K(o, c));
256
+ l.attr("viewBox", `-${c.lineThickness / 2} 0 ${f} ${d}`), s(l, d, f, c.useMaxWidth);
257
+ }, "draw") }, Z = {
258
+ labelFontSize: "16px",
259
+ labelColor: "black",
260
+ lineColor: "black",
261
+ iconColor: "#546e7a",
262
+ descriptionColor: "#6a9955",
263
+ highlightBg: "rgba(255, 193, 7, 0.15)",
264
+ highlightStroke: "#ffc107"
265
+ }, Q = {
266
+ db: I,
267
+ renderer: X,
268
+ parser: R,
269
+ styles: /* @__PURE__ */ t(({ treeView: e }) => {
270
+ let { labelFontSize: t, labelColor: n, lineColor: r, iconColor: i, descriptionColor: a, highlightBg: o, highlightStroke: s } = p(Z, e);
271
+ return `
272
+ .treeView-node-label {
273
+ font-size: ${t};
274
+ fill: ${n};
275
+ white-space: pre;
276
+ }
277
+ .treeView-node-dir {
278
+ font-weight: bold;
279
+ }
280
+ .treeView-node-line {
281
+ stroke: ${r};
282
+ }
283
+ .treeView-node-icon {
284
+ color: ${i};
285
+ }
286
+ .treeView-node-description {
287
+ font-size: ${t};
288
+ fill: ${a};
289
+ font-style: italic;
290
+ white-space: pre;
291
+ }
292
+ .treeView-highlight-bg {
293
+ fill: ${o};
294
+ stroke: ${s};
295
+ stroke-width: 1;
296
+ }
297
+ `;
298
+ }, "styles")
299
+ };
300
+ //#endregion
301
+ export { Q as diagram };
@@ -0,0 +1,41 @@
1
+ const e=require("./src-B4mN2BMl.js"),t=require("./chunk-Y2CYZVJY-CnmLqFtv.js"),n=require("./chunk-DU6HZSFF-CWc5ewtb.js"),r=require("./chunk-75Z2AOVW-DYouz5MZ.js"),i=require("./chunk-CLGD4ZFX-C5J-e2io.js"),a=require("./mermaid-parser.core-BBApyu_y.js"),o=require("./chunk-JWPE2WC7-p1fYVdYc.js");var s={showLegend:!0,ticks:5,max:null,min:0,graticule:`circle`},c=32,l={axes:[],curves:[],options:s},u=structuredClone(l),d=n.f.radar,f=t.n(()=>r.i({...d,...n.b().radar}),`getConfig`),p=t.n(()=>u.axes,`getAxes`),m=t.n(()=>u.curves,`getCurves`),h=t.n(()=>u.options,`getOptions`),g=t.n(e=>{u.axes=e.map(e=>({name:e.name,label:e.label??e.name}))},`setAxes`),_=t.n(e=>{u.curves=e.map(e=>({name:e.name,label:e.label??e.name,entries:v(e.entries)}))},`setCurves`),v=t.n(e=>{if(e[0].axis==null)return e.map(e=>e.value);let t=p();if(t.length===0)throw Error(`Axes must be populated before curves for reference entries`);return t.map(t=>{let n=e.find(e=>e.axis?.$refText===t.name);if(n===void 0)throw Error(`Missing entry for axis `+t.label);return n.value})},`computeCurveEntries`),y={getAxes:p,getCurves:m,getOptions:h,setAxes:g,setCurves:_,setOptions:t.n(t=>{let n=t.reduce((e,t)=>(e[t.name]=t,e),{});u.options={showLegend:n.showLegend?.value??s.showLegend,ticks:n.ticks?.value??s.ticks,max:n.max?.value??s.max,min:n.min?.value??s.min,graticule:n.graticule?.value??s.graticule},u.options.ticks>c&&(e.m.warn(`Radar diagram ticks (${u.options.ticks}) exceeds maximum allowed (${c}). Using ${c} instead.`),u.options.ticks=c)},`setOptions`),getConfig:f,clear:t.n(()=>{n.a(),u=structuredClone(l)},`clear`),setAccTitle:n.U,getAccTitle:n.y,setDiagramTitle:n.K,getDiagramTitle:n.w,getAccDescription:n.v,setAccDescription:n.H},b=t.n(e=>{o.t(e,y);let{axes:t,curves:n,options:r}=e;y.setAxes(t),y.setCurves(n),y.setOptions(r)},`populate`),x={parse:t.n(async t=>{let n=await a.n(`radar`,t);e.m.debug(n),b(n)},`parse`)},S=t.n((e,t,n,r)=>{let a=r.db,o=a.getAxes(),s=a.getCurves(),c=a.getOptions(),l=a.getConfig(),u=a.getDiagramTitle(),d=C(i.t(t),l),f=c.max??Math.max(...s.map(e=>Math.max(...e.entries))),p=c.min,m=Math.min(l.width,l.height)/2;w(d,o,m,c.ticks,c.graticule),T(d,o,m,l),E(d,o,s,p,f,c.graticule,l),k(d,s,c.showLegend,l),d.append(`text`).attr(`class`,`radarTitle`).text(u).attr(`x`,0).attr(`y`,-l.height/2-l.marginTop)},`draw`),C=t.n((e,t)=>{let r=t.width+t.marginLeft+t.marginRight,i=t.height+t.marginTop+t.marginBottom,a={x:t.marginLeft+t.width/2,y:t.marginTop+t.height/2};return n.c(e,i,r,t.useMaxWidth??!0),e.attr(`viewBox`,`0 0 ${r} ${i}`).attr(`overflow`,`visible`),e.append(`g`).attr(`transform`,`translate(${a.x}, ${a.y})`)},`drawFrame`),w=t.n((e,t,n,r,i)=>{if(i===`circle`)for(let t=0;t<r;t++){let i=n*(t+1)/r;e.append(`circle`).attr(`r`,i).attr(`class`,`radarGraticule`)}else if(i===`polygon`){let i=t.length;for(let a=0;a<r;a++){let o=n*(a+1)/r,s=t.map((e,t)=>{let n=2*t*Math.PI/i-Math.PI/2;return`${o*Math.cos(n)},${o*Math.sin(n)}`}).join(` `);e.append(`polygon`).attr(`points`,s).attr(`class`,`radarGraticule`)}}},`drawGraticule`),T=t.n((e,t,n,r)=>{let i=t.length;for(let a=0;a<i;a++){let o=t[a].label,s=2*a*Math.PI/i-Math.PI/2,c=Math.cos(s),l=Math.sin(s);e.append(`line`).attr(`x1`,0).attr(`y1`,0).attr(`x2`,n*r.axisScaleFactor*c).attr(`y2`,n*r.axisScaleFactor*l).attr(`class`,`radarAxisLine`);let u=c>.01?`start`:c<-.01?`end`:`middle`,d=l>.01?`hanging`:l<-.01?`auto`:`central`;e.append(`text`).text(o).attr(`x`,n*r.axisLabelFactor*c+4*c).attr(`y`,n*r.axisLabelFactor*l+4*l).attr(`text-anchor`,u).attr(`dominant-baseline`,d).attr(`class`,`radarAxisLabel`)}},`drawAxes`);function E(e,t,n,r,i,a,o){let s=t.length,c=Math.min(o.width,o.height)/2;n.forEach((t,n)=>{if(t.entries.length!==s)return;let l=t.entries.map((e,t)=>{let n=2*Math.PI*t/s-Math.PI/2,a=D(e,r,i,c);return{x:a*Math.cos(n),y:a*Math.sin(n)}});a===`circle`?e.append(`path`).attr(`d`,O(l,o.curveTension)).attr(`class`,`radarCurve-${n}`):a===`polygon`&&e.append(`polygon`).attr(`points`,l.map(e=>`${e.x},${e.y}`).join(` `)).attr(`class`,`radarCurve-${n}`)})}t.n(E,`drawCurves`);function D(e,t,n,r){return r*(Math.min(Math.max(e,t),n)-t)/(n-t)}t.n(D,`relativeRadius`);function O(e,t){let n=e.length,r=`M${e[0].x},${e[0].y}`;for(let i=0;i<n;i++){let a=e[(i-1+n)%n],o=e[i],s=e[(i+1)%n],c=e[(i+2)%n],l={x:o.x+(s.x-a.x)*t,y:o.y+(s.y-a.y)*t},u={x:s.x-(c.x-o.x)*t,y:s.y-(c.y-o.y)*t};r+=` C${l.x},${l.y} ${u.x},${u.y} ${s.x},${s.y}`}return`${r} Z`}t.n(O,`closedRoundCurve`);function k(e,t,n,r){if(!n)return;let i=(r.width/2+r.marginRight)*3/4,a=-(r.height/2+r.marginTop)*3/4;t.forEach((t,n)=>{let r=e.append(`g`).attr(`transform`,`translate(${i}, ${a+n*20})`);r.append(`rect`).attr(`width`,12).attr(`height`,12).attr(`class`,`radarLegendBox-${n}`),r.append(`text`).attr(`x`,16).attr(`y`,0).attr(`class`,`radarLegendText`).text(t.label)})}t.n(k,`drawLegend`);var A={draw:S},j=t.n((e,t)=>{let n=``;for(let r=0;r<e.THEME_COLOR_LIMIT;r++){let i=e[`cScale${r}`];n+=`
2
+ .radarCurve-${r} {
3
+ color: ${i};
4
+ fill: ${i};
5
+ fill-opacity: ${t.curveOpacity};
6
+ stroke: ${i};
7
+ stroke-width: ${t.curveStrokeWidth};
8
+ }
9
+ .radarLegendBox-${r} {
10
+ fill: ${i};
11
+ fill-opacity: ${t.curveOpacity};
12
+ stroke: ${i};
13
+ }
14
+ `}return n},`genIndexStyles`),M=t.n(e=>{let t=n.D(),i=n.b(),a=r.i(t,i.themeVariables);return{themeVariables:a,radarOptions:r.i(a.radar,e)}},`buildRadarStyleOptions`),N={parser:x,db:y,renderer:A,styles:t.n(({radar:e}={})=>{let{themeVariables:t,radarOptions:n}=M(e);return`
15
+ .radarTitle {
16
+ font-size: ${t.fontSize};
17
+ color: ${t.titleColor};
18
+ dominant-baseline: hanging;
19
+ text-anchor: middle;
20
+ }
21
+ .radarAxisLine {
22
+ stroke: ${n.axisColor};
23
+ stroke-width: ${n.axisStrokeWidth};
24
+ }
25
+ .radarAxisLabel {
26
+ font-size: ${n.axisLabelFontSize}px;
27
+ color: ${n.axisColor};
28
+ }
29
+ .radarGraticule {
30
+ fill: ${n.graticuleColor};
31
+ fill-opacity: ${n.graticuleOpacity};
32
+ stroke: ${n.graticuleColor};
33
+ stroke-width: ${n.graticuleStrokeWidth};
34
+ }
35
+ .radarLegendText {
36
+ text-anchor: start;
37
+ font-size: ${n.legendFontSize}px;
38
+ dominant-baseline: hanging;
39
+ }
40
+ ${j(t,n)}
41
+ `},`styles`)};exports.diagram=N;