file-viewer3 1.0.8 → 1.0.26

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 (370) hide show
  1. package/LICENSE +160 -0
  2. package/README.en.md +390 -0
  3. package/README.md +306 -89
  4. package/dist/components/3MFLoader.js +527 -0
  5. package/dist/components/AMFLoader.js +188 -0
  6. package/dist/components/ArchiveViewer.js +526 -0
  7. package/dist/components/AudioViewer.js +66 -0
  8. package/dist/components/CadViewer.js +9040 -0
  9. package/dist/components/CodeViewer.js +151 -0
  10. package/dist/components/ColladaLoader.js +2282 -0
  11. package/dist/components/DrawingViewer.js +295 -0
  12. package/dist/components/EdaViewer.js +630 -0
  13. package/dist/components/EmailViewer.js +276 -0
  14. package/dist/components/EpubViewer.js +172 -0
  15. package/dist/components/FBXLoader.js +1574 -0
  16. package/dist/components/GLTFLoader.js +1383 -0
  17. package/dist/components/ImageViewer.js +1516 -1895
  18. package/dist/components/KMZLoader.js +45 -0
  19. package/dist/components/MarkdownViewer.js +1456 -1557
  20. package/dist/components/ModelViewer.js +797 -0
  21. package/dist/components/OBJLoader.js +287 -0
  22. package/dist/components/OfdViewer.js +133 -0
  23. package/dist/components/PCDLoader.js +141 -0
  24. package/dist/components/PLYLoader.js +305 -0
  25. package/dist/components/PdfView.js +27662 -21655
  26. package/dist/components/PptxRender.js +11170 -21118
  27. package/dist/components/STLLoader.js +83 -0
  28. package/dist/components/TDSLoader.js +228 -0
  29. package/dist/components/TypstViewer.js +1697 -0
  30. package/dist/components/USDLoader.js +2526 -0
  31. package/dist/components/UmdViewer.js +1873 -0
  32. package/dist/components/VRMLLoader.js +6422 -0
  33. package/dist/components/VTKLoader.js +337 -0
  34. package/dist/components/XYZLoader.js +30 -0
  35. package/dist/components/XlsxTable.js +7871 -69873
  36. package/dist/components/__vite-browser-external.js +7 -0
  37. package/dist/components/_plugin-vue_export-helper.js +8 -0
  38. package/dist/components/ar-SA-G6X2FPQ2.js +523 -0
  39. package/dist/components/arc.js +79 -0
  40. package/dist/components/architecture-7EHR7CIX.js +3 -0
  41. package/dist/components/architectureDiagram-3BPJPVTR.js +4096 -0
  42. package/dist/components/archive.js +24 -0
  43. package/dist/components/asyncToGenerator.js +29 -0
  44. package/dist/components/audio.js +19 -0
  45. package/dist/components/az-AZ-76LH7QW2.js +523 -0
  46. package/dist/components/bash.js +169 -0
  47. package/dist/components/bg-BG-XCXSNQG7.js +523 -0
  48. package/dist/components/blockDiagram-GPEHLZMM.js +3357 -0
  49. package/dist/components/bn-BD-2XOGV67Q.js +523 -0
  50. package/dist/components/c4Diagram-AAUBKEIU.js +2957 -0
  51. package/dist/components/ca-ES-6MX7JW3Y.js +523 -0
  52. package/dist/components/cad.js +23 -0
  53. package/dist/components/cfb.js +1174 -0
  54. package/dist/components/channel.js +5 -0
  55. package/dist/components/chunk-2J33WTMH.js +26 -0
  56. package/dist/components/chunk-3OPIFGDE.js +4167 -0
  57. package/dist/components/chunk-4BX2VUAB.js +19 -0
  58. package/dist/components/chunk-55IACEB6.js +9 -0
  59. package/dist/components/chunk-5ZQYHXKU.js +669 -0
  60. package/dist/components/chunk-6U3AYISY.js +624 -0
  61. package/dist/components/chunk-727SXJPM.js +3356 -0
  62. package/dist/components/chunk-AGHRB4JF.js +324 -0
  63. package/dist/components/chunk-AQP2D5EJ.js +2055 -0
  64. package/dist/components/chunk-BSJP7CBP.js +83 -0
  65. package/dist/components/chunk-CSCIHK7Q.js +3500 -0
  66. package/dist/components/chunk-EIO257PC.js +1836 -0
  67. package/dist/components/chunk-FMBD7UC4.js +5 -0
  68. package/dist/components/chunk-K2UTITRG.js +17627 -0
  69. package/dist/components/chunk-KSCS5N6A.js +572 -0
  70. package/dist/components/chunk-L5ZTLDWV.js +40 -0
  71. package/dist/components/chunk-LZXEDZCA.js +60 -0
  72. package/dist/components/chunk-ND2GUHAM.js +61 -0
  73. package/dist/components/chunk-NNHCCRGN.js +20425 -0
  74. package/dist/components/chunk-NZK2D7GU.js +68 -0
  75. package/dist/components/chunk-O5CBEL6O.js +1894 -0
  76. package/dist/components/chunk-QZHKN3VN.js +12 -0
  77. package/dist/components/chunk-SRAX5OIU.js +22 -0
  78. package/dist/components/chunk-WU5MYG2G.js +14 -0
  79. package/dist/components/chunk-XPW4576I.js +1146 -0
  80. package/dist/components/chunk-Z3N5DIM6.js +59 -0
  81. package/dist/components/chunk-ZUYEQ4TG.js +22 -0
  82. package/dist/components/chunk.js +23 -0
  83. package/dist/components/classDiagram-4FO5ZUOK.js +29 -0
  84. package/dist/components/classDiagram-v2-Q7XG4LA2.js +29 -0
  85. package/dist/components/compiler.js +2 -0
  86. package/dist/components/core.js +845 -0
  87. package/dist/components/cose-bilkent-S5V4N54A.js +2268 -0
  88. package/dist/components/cpp.js +225 -0
  89. package/dist/components/cs-CZ-2BRQDIVT.js +523 -0
  90. package/dist/components/csharp.js +260 -0
  91. package/dist/components/css.js +140 -0
  92. package/dist/components/cytoscape.esm.js +18114 -0
  93. package/dist/components/da-DK-5WZEPLOC.js +523 -0
  94. package/dist/components/dagre-BM42HDAG.js +325 -0
  95. package/dist/components/dagre.js +1936 -0
  96. package/dist/components/de-DE-XR44H4JA.js +523 -0
  97. package/dist/components/defaultLocale.js +201 -0
  98. package/dist/components/defineProperty.js +50 -0
  99. package/dist/components/diagram-2AECGRRQ.js +229 -0
  100. package/dist/components/diagram-5GNKFQAL.js +108 -0
  101. package/dist/components/diagram-KO2AKTUF.js +443 -0
  102. package/dist/components/diagram-LMA3HP47.js +139 -0
  103. package/dist/components/diagram-OG6HWLK6.js +541 -0
  104. package/dist/components/diff.js +39 -0
  105. package/dist/components/directory-open-01563666.js +26 -0
  106. package/dist/components/directory-open-4ed118d0.js +83 -0
  107. package/dist/components/dist.js +50 -0
  108. package/dist/components/dist2.js +3291 -0
  109. package/dist/components/dist3.js +1593 -0
  110. package/dist/components/documentSearch.js +378 -0
  111. package/dist/components/docx-preview.js +3113 -0
  112. package/dist/components/drawing.js +19 -0
  113. package/dist/components/ebook.js +16 -0
  114. package/dist/components/eda.js +20 -0
  115. package/dist/components/el-GR-BZB4AONW.js +523 -0
  116. package/dist/components/email.js +21 -0
  117. package/dist/components/en-B4ZKOASM.js +3 -0
  118. package/dist/components/erDiagram-TEJ5UH35.js +1719 -0
  119. package/dist/components/es-ES-U4NZUMDT.js +523 -0
  120. package/dist/components/eu-ES-A7QVB2H4.js +523 -0
  121. package/dist/components/eventmodeling-FCH6USID.js +3 -0
  122. package/dist/components/fa-IR-HGAKTJCU.js +523 -0
  123. package/dist/components/fflate.module.js +323 -0
  124. package/dist/components/fi-FI-Z5N7JZ37.js +523 -0
  125. package/dist/components/file-open-002ab408.js +38 -0
  126. package/dist/components/file-open-7c801643.js +24 -0
  127. package/dist/components/file-save-3189631c.js +40 -0
  128. package/dist/components/file-save-745eba88.js +36 -0
  129. package/dist/components/flowDiagram-I6XJVG4X.js +4181 -0
  130. package/dist/components/fr-FR-RHASNOE6.js +523 -0
  131. package/dist/components/ganttDiagram-6RSMTGT7.js +2182 -0
  132. package/dist/components/gitGraph-WXDBUCRP.js +3 -0
  133. package/dist/components/gitGraphDiagram-PVQCEYII.js +788 -0
  134. package/dist/components/gl-ES-HMX3MZ6V.js +523 -0
  135. package/dist/components/global-compiler.js +23 -0
  136. package/dist/components/global-renderer.js +23 -0
  137. package/dist/components/go.js +140 -0
  138. package/dist/components/graphlib.js +1267 -0
  139. package/dist/components/he-IL-6SHJWFNN.js +523 -0
  140. package/dist/components/hi-IN-IWLTKZ5I.js +523 -0
  141. package/dist/components/hu-HU-A5ZG7DT2.js +523 -0
  142. package/dist/components/id-ID-SAP4L64H.js +523 -0
  143. package/dist/components/image-GAAHSSAO.js +3 -0
  144. package/dist/components/image-blob-reduce.esm.js +1429 -0
  145. package/dist/components/image.js +17 -0
  146. package/dist/components/info-J43DQDTF.js +3 -0
  147. package/dist/components/infoDiagram-5YYISTIA.js +26 -0
  148. package/dist/components/ini.js +88 -0
  149. package/dist/components/init.js +15 -0
  150. package/dist/components/ishikawaDiagram-YF4QCWOH.js +718 -0
  151. package/dist/components/it-IT-JPQ66NNP.js +523 -0
  152. package/dist/components/ja-JP-DBVTYXUO.js +523 -0
  153. package/dist/components/java.js +169 -0
  154. package/dist/components/javascript.js +436 -0
  155. package/dist/components/journeyDiagram-JHISSGLW.js +885 -0
  156. package/dist/components/json.js +36 -0
  157. package/dist/components/jszip.min.js +3033 -0
  158. package/dist/components/kaa-6HZHGXH3.js +523 -0
  159. package/dist/components/kab-KAB-ZGHBKWFO.js +523 -0
  160. package/dist/components/kanban-definition-UN3LZRKU.js +986 -0
  161. package/dist/components/katex.js +21979 -0
  162. package/dist/components/kk-KZ-P5N5QNE5.js +523 -0
  163. package/dist/components/km-KH-HSX4SM5Z.js +523 -0
  164. package/dist/components/ko-KR-MTYHY66A.js +523 -0
  165. package/dist/components/ku-TR-6OUDTVRD.js +523 -0
  166. package/dist/components/lib.js +4877 -0
  167. package/dist/components/libarchive.js +360 -0
  168. package/dist/components/linear.js +289 -0
  169. package/dist/components/lt-LT-XHIRWOB4.js +523 -0
  170. package/dist/components/lv-LV-5QDEKY6T.js +523 -0
  171. package/dist/components/markdown.js +181 -0
  172. package/dist/components/md.js +17 -0
  173. package/dist/components/mermaid-parser.core.js +328 -0
  174. package/dist/components/mindmap-definition-RKZ34NQL.js +1016 -0
  175. package/dist/components/model.js +21 -0
  176. package/dist/components/mp4.js +12 -0
  177. package/dist/components/mr-IN-CRQNXWMA.js +523 -0
  178. package/dist/components/my-MM-5M5IBNSE.js +523 -0
  179. package/dist/components/nb-NO-T6EIAALU.js +523 -0
  180. package/dist/components/nestedRender.js +158 -0
  181. package/dist/components/nl-NL-IS3SIHDZ.js +523 -0
  182. package/dist/components/nn-NO-6E72VCQL.js +523 -0
  183. package/dist/components/objectSpread2.js +29 -0
  184. package/dist/components/objectWithoutProperties.js +28 -0
  185. package/dist/components/oc-FR-POXYY2M6.js +523 -0
  186. package/dist/components/ofd.js +5261 -0
  187. package/dist/components/ofd2.js +16 -0
  188. package/dist/components/ordinal.js +65 -0
  189. package/dist/components/pa-IN-N4M65BXN.js +523 -0
  190. package/dist/components/packet-YPE3B663.js +3 -0
  191. package/dist/components/pdf.js +24 -0
  192. package/dist/components/percentages-BXMCSKIN.js +3 -0
  193. package/dist/components/php.js +294 -0
  194. package/dist/components/pica.js +1009 -0
  195. package/dist/components/pie-LRSECV5Y.js +3 -0
  196. package/dist/components/pie.js +47 -0
  197. package/dist/components/pieDiagram-4H26LBE5.js +130 -0
  198. package/dist/components/pl-PL-T2D74RX3.js +523 -0
  199. package/dist/components/postal-mime.js +3146 -0
  200. package/dist/components/pptx.js +15 -0
  201. package/dist/components/printLayout.js +42 -0
  202. package/dist/components/prod.js +21770 -0
  203. package/dist/components/pt-BR-5N22H2LF.js +523 -0
  204. package/dist/components/pt-PT-UZXXM6DQ.js +523 -0
  205. package/dist/components/python.js +238 -0
  206. package/dist/components/quadrantDiagram-W4KKPZXB.js +1988 -0
  207. package/dist/components/radar-GUYGQ44K.js +3 -0
  208. package/dist/components/renderer.js +2 -0
  209. package/dist/components/requirementDiagram-4Y6WPE33.js +2230 -0
  210. package/dist/components/ro-RO-JPDTUUEW.js +523 -0
  211. package/dist/components/rough.esm.js +1355 -0
  212. package/dist/components/roundRect.js +90 -0
  213. package/dist/components/ru-RU-B4JR7IUQ.js +523 -0
  214. package/dist/components/rust.js +169 -0
  215. package/dist/components/sankeyDiagram-5OEKKPKP.js +972 -0
  216. package/dist/components/sequenceDiagram-3UESZ5HK.js +4255 -0
  217. package/dist/components/shared.js +175 -0
  218. package/dist/components/shared2.js +4 -0
  219. package/dist/components/si-LK-N5RQ5JYF.js +523 -0
  220. package/dist/components/sk-SK-C5VTKIMK.js +523 -0
  221. package/dist/components/sl-SI-NN7IZMDC.js +523 -0
  222. package/dist/components/sourceLoading.js +134 -0
  223. package/dist/components/sql.js +118 -0
  224. package/dist/components/src.js +2664 -0
  225. package/dist/components/src2.js +10722 -0
  226. package/dist/components/stateDiagram-AJRCARHV.js +217 -0
  227. package/dist/components/stateDiagram-v2-BHNVJYJU.js +27 -0
  228. package/dist/components/subset-shared.chunk.js +3 -0
  229. package/dist/components/subset-worker.chunk.js +21 -0
  230. package/dist/components/sv-SE-XGPEYMSR.js +523 -0
  231. package/dist/components/ta-IN-2NMHFXQM.js +523 -0
  232. package/dist/components/text.js +20 -0
  233. package/dist/components/th-TH-HPSO5L25.js +523 -0
  234. package/dist/components/three.module.js +13134 -0
  235. package/dist/components/time.js +910 -0
  236. package/dist/components/timeline-definition-PNZ67QCA.js +1084 -0
  237. package/dist/components/tr-TR-DEFEU3FU.js +523 -0
  238. package/dist/components/treeView-BLDUP644.js +3 -0
  239. package/dist/components/treemap-LRROVOQU.js +3 -0
  240. package/dist/components/typescript.js +521 -0
  241. package/dist/components/typst.js +25 -0
  242. package/dist/components/uk-UA-QMV73CPH.js +523 -0
  243. package/dist/components/umd.js +16 -0
  244. package/dist/components/use.js +422 -0
  245. package/dist/components/util.js +49 -0
  246. package/dist/components/vennDiagram-CIIHVFJN.js +1880 -0
  247. package/dist/components/vi-VN-M7AON7JQ.js +523 -0
  248. package/dist/components/viewerZoom.js +92 -0
  249. package/dist/components/wardley-L42UT6IY.js +3 -0
  250. package/dist/components/wardleyDiagram-YWT4CUSO.js +656 -0
  251. package/dist/components/wasm-pack-shim.js +1711 -0
  252. package/dist/components/wasm-pack-shim2.js +934 -0
  253. package/dist/components/wasm.js +97 -0
  254. package/dist/components/word.js +3055 -0
  255. package/dist/components/worker-ref.js +15 -20
  256. package/dist/components/xlsx.js +21 -0
  257. package/dist/components/xml.js +166 -0
  258. package/dist/components/xychartDiagram-2RQKCTM6.js +2015 -0
  259. package/dist/components/yaml.js +144 -0
  260. package/dist/components/zh-CN-LNUGB5OW.js +523 -0
  261. package/dist/components/zh-HK-E62DVLB3.js +523 -0
  262. package/dist/components/zh-TW-RAJ6MFWO.js +523 -0
  263. package/dist/file-viewer3.css +2 -0
  264. package/dist/index.mjs +3292 -5
  265. package/dist/src/App.vue.d.ts +3 -0
  266. package/dist/src/compare/CompareApp.vue.d.ts +3 -0
  267. package/dist/src/compare/main.d.ts +0 -0
  268. package/dist/src/compare/useSynchronizedScroll.d.ts +7 -0
  269. package/dist/src/components/HelloWorld.vue.d.ts +3 -0
  270. package/dist/src/components/utils.d.ts +4 -0
  271. package/dist/src/main.d.ts +0 -0
  272. package/dist/src/package/common/printCapability.d.ts +27 -0
  273. package/dist/src/package/common/printLayout.d.ts +16 -0
  274. package/dist/src/package/common/sourceLoading.d.ts +10 -0
  275. package/dist/src/package/common/type.d.ts +522 -8
  276. package/dist/src/package/common/worker-ref.d.ts +1 -1
  277. package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +74 -24
  278. package/dist/src/package/components/FileViewer/exportDocumentTemplate.d.ts +9 -0
  279. package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +29 -0
  280. package/dist/src/package/components/FileViewer/hooks/useViewerExport.d.ts +21 -0
  281. package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +8 -0
  282. package/dist/src/package/components/FileViewer/hooks/useViewerZoom.d.ts +34 -0
  283. package/dist/src/package/components/FileViewer/index.d.ts +1 -1
  284. package/dist/src/package/components/FileViewer/util.d.ts +2 -1
  285. package/dist/src/package/index.d.ts +14 -4
  286. package/dist/src/package/use/documentLocation.d.ts +15 -0
  287. package/dist/src/package/use/documentSearch.d.ts +234 -0
  288. package/dist/src/package/use/index.d.ts +4 -0
  289. package/dist/src/package/use/loading.d.ts +33 -0
  290. package/dist/src/package/use/viewerZoom.d.ts +42 -0
  291. package/dist/src/package/use/worker.d.ts +2 -2
  292. package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +9 -0
  293. package/dist/src/package/vendors/archive/cache.d.ts +10 -0
  294. package/dist/src/package/vendors/archive/fallback.d.ts +9 -0
  295. package/dist/src/package/vendors/archive/index.d.ts +3 -0
  296. package/dist/src/package/vendors/archive/shared.d.ts +24 -0
  297. package/dist/src/package/vendors/audio/AudioViewer.vue.d.ts +7 -0
  298. package/dist/src/package/vendors/audio/index.d.ts +7 -0
  299. package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +9 -0
  300. package/dist/src/package/vendors/cad/index.d.ts +8 -0
  301. package/dist/src/package/vendors/drawing/DrawingViewer.vue.d.ts +15 -0
  302. package/dist/src/package/vendors/drawing/index.d.ts +7 -0
  303. package/dist/src/package/vendors/ebook/EpubViewer.vue.d.ts +6 -0
  304. package/dist/src/package/vendors/ebook/index.d.ts +7 -0
  305. package/dist/src/package/vendors/eda/EdaViewer.vue.d.ts +8 -0
  306. package/dist/src/package/vendors/eda/index.d.ts +2 -0
  307. package/dist/src/package/vendors/eda/parser.d.ts +77 -0
  308. package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +10 -0
  309. package/dist/src/package/vendors/email/index.d.ts +2 -0
  310. package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +6 -13
  311. package/dist/src/package/vendors/image/index.d.ts +1 -1
  312. package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +6 -13
  313. package/dist/src/package/vendors/md/index.d.ts +1 -1
  314. package/dist/src/package/vendors/model/ModelViewer.vue.d.ts +8 -0
  315. package/dist/src/package/vendors/model/index.d.ts +3 -0
  316. package/dist/src/package/vendors/model/shared.d.ts +1 -0
  317. package/dist/src/package/vendors/nestedRender.d.ts +10 -0
  318. package/dist/src/package/vendors/ofd/OfdViewer.vue.d.ts +6 -0
  319. package/dist/src/package/vendors/ofd/index.d.ts +7 -0
  320. package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +10 -13
  321. package/dist/src/package/vendors/pdf/index.d.ts +2 -1
  322. package/dist/src/package/vendors/pdf/worker/pdf.worker.d.ts +0 -0
  323. package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +9 -81
  324. package/dist/src/package/vendors/pptx/index.d.ts +1 -1
  325. package/dist/src/package/vendors/renders.d.ts +1 -1
  326. package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +7 -13
  327. package/dist/src/package/vendors/text/index.d.ts +6 -2
  328. package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +15 -0
  329. package/dist/src/package/vendors/typst/index.d.ts +8 -0
  330. package/dist/src/package/vendors/umd/UmdViewer.vue.d.ts +6 -0
  331. package/dist/src/package/vendors/umd/index.d.ts +7 -0
  332. package/dist/src/package/vendors/umd/parser.d.ts +30 -0
  333. package/dist/src/package/vendors/word/doc.d.ts +5 -0
  334. package/dist/src/package/vendors/word/docx.d.ts +5 -0
  335. package/dist/src/package/vendors/word/docx.worker.d.ts +1 -0
  336. package/dist/src/package/vendors/word/index.d.ts +3 -0
  337. package/dist/src/package/vendors/xlsx/XlsxTable.state.d.ts +80 -0
  338. package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +25 -0
  339. package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +6 -21
  340. package/dist/src/package/vendors/xlsx/index.d.ts +3 -2
  341. package/dist/src/package/vendors/xlsx/util.d.ts +0 -5
  342. package/dist/src/package/vendors/xlsx/worker/index.d.ts +4 -6
  343. package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +73 -0
  344. package/dist/src/package/vendors/xlsx/worker/sheetjs/sheet.worker.d.ts +1 -0
  345. package/dist/style.css +1 -57
  346. package/dist/wasm/cad/dwfv-render.wasm +0 -0
  347. package/dist/wasm/cad/dwg-worker.js +24 -0
  348. package/dist/wasm/cad/libredwg-web.js +15 -0
  349. package/dist/wasm/cad/libredwg-web.wasm +0 -0
  350. package/package.json +118 -42
  351. package/.vscode/extensions.json +0 -3
  352. package/dist/components/_commonjs-dynamic-modules.js +0 -6
  353. package/dist/components/_commonjsHelpers.js +0 -36
  354. package/dist/components/docx-preview.min.js +0 -5287
  355. package/dist/components/index.js +0 -1717
  356. package/dist/favicon.ico +0 -0
  357. package/dist/index.umd.js +0 -436
  358. package/dist/src/package/vendors/docx/index.d.ts +0 -4
  359. package/dist/src/package/vendors/xlsx/render.d.ts +0 -6
  360. package/dist/src/package/vendors/xlsx/worker/xls/SheetJsModel.d.ts +0 -36
  361. package/dist/src/package/vendors/xlsx/worker/xlsx/ExcelJsModel.d.ts +0 -39
  362. package/dist/src/package/vendors/xlsx/worker/xlsx/context.d.ts +0 -7
  363. package/dist/src/package/vendors/xlsx/worker/xlsx/index.d.ts +0 -4
  364. package/dist/src/package/vendors/xlsx/worker/xlsx/util.d.ts +0 -10
  365. package/dist/worker/pdf.worker.js +0 -66
  366. package/dist/worker/pptx.worker.js +0 -21
  367. package/dist/worker/sheet.worker.js +0 -38
  368. package/dist/worker/xlsx.worker.js +0 -65
  369. /package/dist/src/package/vendors/xlsx/worker/{xlsx → sheetjs}/color.d.ts +0 -0
  370. /package/dist/src/package/vendors/xlsx/worker/{xls → sheetjs}/index.d.ts +0 -0
@@ -0,0 +1,972 @@
1
+ import { n as e } from "./chunk-AGHRB4JF.js";
2
+ import { H as t, J as n, K as r, U as i, a, d as o, s, v as c, w as l, x as u, y as d } from "./chunk-CSCIHK7Q.js";
3
+ import { t as f } from "./ordinal.js";
4
+ import { Q as p } from "./src.js";
5
+ //#region node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.js
6
+ function m(e) {
7
+ for (var t = e.length / 6 | 0, n = Array(t), r = 0; r < t;) n[r] = "#" + e.slice(r * 6, ++r * 6);
8
+ return n;
9
+ }
10
+ //#endregion
11
+ //#region node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js
12
+ var h = m("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
13
+ //#endregion
14
+ //#region node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.js
15
+ function g(e, t) {
16
+ let n;
17
+ if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
18
+ else {
19
+ let r = -1;
20
+ for (let i of e) (i = t(i, ++r, e)) != null && (n < i || n === void 0 && i >= i) && (n = i);
21
+ }
22
+ return n;
23
+ }
24
+ //#endregion
25
+ //#region node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.js
26
+ function _(e, t) {
27
+ let n;
28
+ if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
29
+ else {
30
+ let r = -1;
31
+ for (let i of e) (i = t(i, ++r, e)) != null && (n > i || n === void 0 && i >= i) && (n = i);
32
+ }
33
+ return n;
34
+ }
35
+ //#endregion
36
+ //#region node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.js
37
+ function v(e, t) {
38
+ let n = 0;
39
+ if (t === void 0) for (let t of e) (t = +t) && (n += t);
40
+ else {
41
+ let r = -1;
42
+ for (let i of e) (i = +t(i, ++r, e)) && (n += i);
43
+ }
44
+ return n;
45
+ }
46
+ //#endregion
47
+ //#region node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.js
48
+ function y(e) {
49
+ return e.target.depth;
50
+ }
51
+ function b(e) {
52
+ return e.depth;
53
+ }
54
+ function x(e, t) {
55
+ return t - 1 - e.height;
56
+ }
57
+ function S(e, t) {
58
+ return e.sourceLinks.length ? e.depth : t - 1;
59
+ }
60
+ function C(e) {
61
+ return e.targetLinks.length ? e.depth : e.sourceLinks.length ? _(e.sourceLinks, y) - 1 : 0;
62
+ }
63
+ //#endregion
64
+ //#region node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.js
65
+ function w(e) {
66
+ return function() {
67
+ return e;
68
+ };
69
+ }
70
+ //#endregion
71
+ //#region node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.js
72
+ function T(e, t) {
73
+ return D(e.source, t.source) || e.index - t.index;
74
+ }
75
+ function E(e, t) {
76
+ return D(e.target, t.target) || e.index - t.index;
77
+ }
78
+ function D(e, t) {
79
+ return e.y0 - t.y0;
80
+ }
81
+ function O(e) {
82
+ return e.value;
83
+ }
84
+ function k(e) {
85
+ return e.index;
86
+ }
87
+ function A(e) {
88
+ return e.nodes;
89
+ }
90
+ function j(e) {
91
+ return e.links;
92
+ }
93
+ function M(e, t) {
94
+ let n = e.get(t);
95
+ if (!n) throw Error("missing: " + t);
96
+ return n;
97
+ }
98
+ function N({ nodes: e }) {
99
+ for (let t of e) {
100
+ let e = t.y0, n = e;
101
+ for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
102
+ for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
103
+ }
104
+ }
105
+ function ee() {
106
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = k, c = S, l, u, d = A, f = j, p = 6;
107
+ function m() {
108
+ let e = {
109
+ nodes: d.apply(null, arguments),
110
+ links: f.apply(null, arguments)
111
+ };
112
+ return h(e), y(e), b(e), x(e), P(e), N(e), e;
113
+ }
114
+ m.update = function(e) {
115
+ return N(e), e;
116
+ }, m.nodeId = function(e) {
117
+ return arguments.length ? (s = typeof e == "function" ? e : w(e), m) : s;
118
+ }, m.nodeAlign = function(e) {
119
+ return arguments.length ? (c = typeof e == "function" ? e : w(e), m) : c;
120
+ }, m.nodeSort = function(e) {
121
+ return arguments.length ? (l = e, m) : l;
122
+ }, m.nodeWidth = function(e) {
123
+ return arguments.length ? (i = +e, m) : i;
124
+ }, m.nodePadding = function(e) {
125
+ return arguments.length ? (a = o = +e, m) : a;
126
+ }, m.nodes = function(e) {
127
+ return arguments.length ? (d = typeof e == "function" ? e : w(e), m) : d;
128
+ }, m.links = function(e) {
129
+ return arguments.length ? (f = typeof e == "function" ? e : w(e), m) : f;
130
+ }, m.linkSort = function(e) {
131
+ return arguments.length ? (u = e, m) : u;
132
+ }, m.size = function(i) {
133
+ return arguments.length ? (e = t = 0, n = +i[0], r = +i[1], m) : [n - e, r - t];
134
+ }, m.extent = function(i) {
135
+ return arguments.length ? (e = +i[0][0], n = +i[1][0], t = +i[0][1], r = +i[1][1], m) : [[e, t], [n, r]];
136
+ }, m.iterations = function(e) {
137
+ return arguments.length ? (p = +e, m) : p;
138
+ };
139
+ function h({ nodes: e, links: t }) {
140
+ for (let [t, n] of e.entries()) n.index = t, n.sourceLinks = [], n.targetLinks = [];
141
+ let n = new Map(e.map((t, n) => [s(t, n, e), t]));
142
+ for (let [e, r] of t.entries()) {
143
+ r.index = e;
144
+ let { source: t, target: i } = r;
145
+ typeof t != "object" && (t = r.source = M(n, t)), typeof i != "object" && (i = r.target = M(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
146
+ }
147
+ if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
148
+ }
149
+ function y({ nodes: e }) {
150
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(v(t.sourceLinks, O), v(t.targetLinks, O)) : t.fixedValue;
151
+ }
152
+ function b({ nodes: e }) {
153
+ let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
154
+ for (; n.size;) {
155
+ for (let e of n) {
156
+ e.depth = i;
157
+ for (let { target: t } of e.sourceLinks) r.add(t);
158
+ }
159
+ if (++i > t) throw Error("circular link");
160
+ n = r, r = /* @__PURE__ */ new Set();
161
+ }
162
+ }
163
+ function x({ nodes: e }) {
164
+ let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
165
+ for (; n.size;) {
166
+ for (let e of n) {
167
+ e.height = i;
168
+ for (let { source: t } of e.targetLinks) r.add(t);
169
+ }
170
+ if (++i > t) throw Error("circular link");
171
+ n = r, r = /* @__PURE__ */ new Set();
172
+ }
173
+ }
174
+ function C({ nodes: t }) {
175
+ let r = g(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
176
+ for (let n of t) {
177
+ let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
178
+ n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
179
+ }
180
+ if (l) for (let e of o) e.sort(l);
181
+ return o;
182
+ }
183
+ function ee(e) {
184
+ let n = _(e, (e) => (r - t - (e.length - 1) * o) / v(e, O));
185
+ for (let i of e) {
186
+ let e = t;
187
+ for (let t of i) {
188
+ t.y0 = e, t.y1 = e + t.value * n, e = t.y1 + o;
189
+ for (let e of t.sourceLinks) e.width = e.value * n;
190
+ }
191
+ e = (r - e + o) / (i.length + 1);
192
+ for (let t = 0; t < i.length; ++t) {
193
+ let n = i[t];
194
+ n.y0 += e * (t + 1), n.y1 += e * (t + 1);
195
+ }
196
+ V(i);
197
+ }
198
+ }
199
+ function P(e) {
200
+ let n = C(e);
201
+ o = Math.min(a, (r - t) / (g(n, (e) => e.length) - 1)), ee(n);
202
+ for (let e = 0; e < p; ++e) {
203
+ let t = Math.pow(.99, e), r = Math.max(1 - t, (e + 1) / p);
204
+ I(n, t, r), F(n, t, r);
205
+ }
206
+ }
207
+ function F(e, t, n) {
208
+ for (let r = 1, i = e.length; r < i; ++r) {
209
+ let i = e[r];
210
+ for (let e of i) {
211
+ let n = 0, r = 0;
212
+ for (let { source: t, value: i } of e.targetLinks) {
213
+ let a = i * (e.layer - t.layer);
214
+ n += H(t, e) * a, r += a;
215
+ }
216
+ if (!(r > 0)) continue;
217
+ let i = (n / r - e.y0) * t;
218
+ e.y0 += i, e.y1 += i, B(e);
219
+ }
220
+ l === void 0 && i.sort(D), L(i, n);
221
+ }
222
+ }
223
+ function I(e, t, n) {
224
+ for (let r = e.length - 2; r >= 0; --r) {
225
+ let i = e[r];
226
+ for (let e of i) {
227
+ let n = 0, r = 0;
228
+ for (let { target: t, value: i } of e.sourceLinks) {
229
+ let a = i * (t.layer - e.layer);
230
+ n += U(e, t) * a, r += a;
231
+ }
232
+ if (!(r > 0)) continue;
233
+ let i = (n / r - e.y0) * t;
234
+ e.y0 += i, e.y1 += i, B(e);
235
+ }
236
+ l === void 0 && i.sort(D), L(i, n);
237
+ }
238
+ }
239
+ function L(e, n) {
240
+ let i = e.length >> 1, a = e[i];
241
+ z(e, a.y0 - o, i - 1, n), R(e, a.y1 + o, i + 1, n), z(e, r, e.length - 1, n), R(e, t, 0, n);
242
+ }
243
+ function R(e, t, n, r) {
244
+ for (; n < e.length; ++n) {
245
+ let i = e[n], a = (t - i.y0) * r;
246
+ a > 1e-6 && (i.y0 += a, i.y1 += a), t = i.y1 + o;
247
+ }
248
+ }
249
+ function z(e, t, n, r) {
250
+ for (; n >= 0; --n) {
251
+ let i = e[n], a = (i.y1 - t) * r;
252
+ a > 1e-6 && (i.y0 -= a, i.y1 -= a), t = i.y0 - o;
253
+ }
254
+ }
255
+ function B({ sourceLinks: e, targetLinks: t }) {
256
+ if (u === void 0) {
257
+ for (let { source: { sourceLinks: e } } of t) e.sort(E);
258
+ for (let { target: { targetLinks: t } } of e) t.sort(T);
259
+ }
260
+ }
261
+ function V(e) {
262
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(E), n.sort(T);
263
+ }
264
+ function H(e, t) {
265
+ let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
266
+ for (let { target: r, width: i } of e.sourceLinks) {
267
+ if (r === t) break;
268
+ n += i + o;
269
+ }
270
+ for (let { source: r, width: i } of t.targetLinks) {
271
+ if (r === e) break;
272
+ n -= i;
273
+ }
274
+ return n;
275
+ }
276
+ function U(e, t) {
277
+ let n = t.y0 - (t.targetLinks.length - 1) * o / 2;
278
+ for (let { source: r, width: i } of t.targetLinks) {
279
+ if (r === e) break;
280
+ n += i + o;
281
+ }
282
+ for (let { target: r, width: i } of e.sourceLinks) {
283
+ if (r === t) break;
284
+ n -= i;
285
+ }
286
+ return n;
287
+ }
288
+ return m;
289
+ }
290
+ //#endregion
291
+ //#region node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.js
292
+ var P = Math.PI, F = 2 * P, I = 1e-6, L = F - I;
293
+ function R() {
294
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
295
+ }
296
+ function z() {
297
+ return new R();
298
+ }
299
+ R.prototype = z.prototype = {
300
+ constructor: R,
301
+ moveTo: function(e, t) {
302
+ this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
303
+ },
304
+ closePath: function() {
305
+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z");
306
+ },
307
+ lineTo: function(e, t) {
308
+ this._ += "L" + (this._x1 = +e) + "," + (this._y1 = +t);
309
+ },
310
+ quadraticCurveTo: function(e, t, n, r) {
311
+ this._ += "Q" + +e + "," + +t + "," + (this._x1 = +n) + "," + (this._y1 = +r);
312
+ },
313
+ bezierCurveTo: function(e, t, n, r, i, a) {
314
+ this._ += "C" + +e + "," + +t + "," + +n + "," + +r + "," + (this._x1 = +i) + "," + (this._y1 = +a);
315
+ },
316
+ arcTo: function(e, t, n, r, i) {
317
+ e = +e, t = +t, n = +n, r = +r, i = +i;
318
+ var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
319
+ if (i < 0) throw Error("negative radius: " + i);
320
+ if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
321
+ else if (d > I) if (!(Math.abs(u * s - c * l) > I) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
322
+ else {
323
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((P - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
324
+ Math.abs(y - 1) > I && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
325
+ }
326
+ },
327
+ arc: function(e, t, n, r, i, a) {
328
+ e = +e, t = +t, n = +n, a = !!a;
329
+ var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
330
+ if (n < 0) throw Error("negative radius: " + n);
331
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > I || Math.abs(this._y1 - l) > I) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % F + F), d > L ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > I && (this._ += "A" + n + "," + n + ",0," + +(d >= P) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
332
+ },
333
+ rect: function(e, t, n, r) {
334
+ this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
335
+ },
336
+ toString: function() {
337
+ return this._;
338
+ }
339
+ };
340
+ //#endregion
341
+ //#region node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.js
342
+ function B(e) {
343
+ return function() {
344
+ return e;
345
+ };
346
+ }
347
+ //#endregion
348
+ //#region node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.js
349
+ function V(e) {
350
+ return e[0];
351
+ }
352
+ function H(e) {
353
+ return e[1];
354
+ }
355
+ //#endregion
356
+ //#region node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.js
357
+ var U = Array.prototype.slice;
358
+ //#endregion
359
+ //#region node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.js
360
+ function te(e) {
361
+ return e.source;
362
+ }
363
+ function ne(e) {
364
+ return e.target;
365
+ }
366
+ function re(e) {
367
+ var t = te, n = ne, r = V, i = H, a = null;
368
+ function o() {
369
+ var o, s = U.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
370
+ if (a || (a = o = z()), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
371
+ }
372
+ return o.source = function(e) {
373
+ return arguments.length ? (t = e, o) : t;
374
+ }, o.target = function(e) {
375
+ return arguments.length ? (n = e, o) : n;
376
+ }, o.x = function(e) {
377
+ return arguments.length ? (r = typeof e == "function" ? e : B(+e), o) : r;
378
+ }, o.y = function(e) {
379
+ return arguments.length ? (i = typeof e == "function" ? e : B(+e), o) : i;
380
+ }, o.context = function(e) {
381
+ return arguments.length ? (a = e == null ? null : e, o) : a;
382
+ }, o;
383
+ }
384
+ function W(e, t, n, r, i) {
385
+ e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
386
+ }
387
+ function ie() {
388
+ return re(W);
389
+ }
390
+ //#endregion
391
+ //#region node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.js
392
+ function G(e) {
393
+ return [e.source.x1, e.y0];
394
+ }
395
+ function ae(e) {
396
+ return [e.target.x0, e.y1];
397
+ }
398
+ function oe() {
399
+ return ie().source(G).target(ae);
400
+ }
401
+ //#endregion
402
+ //#region node_modules/.pnpm/mermaid@11.15.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-5OEKKPKP.mjs
403
+ var K, q, J, Y = (function() {
404
+ var t = /* @__PURE__ */ e(function(e, t, n, r) {
405
+ for (n = n || {}, r = e.length; r--; n[e[r]] = t);
406
+ return n;
407
+ }, "o"), n = [1, 9], r = [1, 10], i = [
408
+ 1,
409
+ 5,
410
+ 10,
411
+ 12
412
+ ], a = {
413
+ trace: /* @__PURE__ */ e(function() {}, "trace"),
414
+ yy: {},
415
+ symbols_: {
416
+ error: 2,
417
+ start: 3,
418
+ SANKEY: 4,
419
+ NEWLINE: 5,
420
+ csv: 6,
421
+ opt_eof: 7,
422
+ record: 8,
423
+ csv_tail: 9,
424
+ EOF: 10,
425
+ "field[source]": 11,
426
+ COMMA: 12,
427
+ "field[target]": 13,
428
+ "field[value]": 14,
429
+ field: 15,
430
+ escaped: 16,
431
+ non_escaped: 17,
432
+ DQUOTE: 18,
433
+ ESCAPED_TEXT: 19,
434
+ NON_ESCAPED_TEXT: 20,
435
+ $accept: 0,
436
+ $end: 1
437
+ },
438
+ terminals_: {
439
+ 2: "error",
440
+ 4: "SANKEY",
441
+ 5: "NEWLINE",
442
+ 10: "EOF",
443
+ 11: "field[source]",
444
+ 12: "COMMA",
445
+ 13: "field[target]",
446
+ 14: "field[value]",
447
+ 18: "DQUOTE",
448
+ 19: "ESCAPED_TEXT",
449
+ 20: "NON_ESCAPED_TEXT"
450
+ },
451
+ productions_: [
452
+ 0,
453
+ [3, 4],
454
+ [6, 2],
455
+ [9, 2],
456
+ [9, 0],
457
+ [7, 1],
458
+ [7, 0],
459
+ [8, 5],
460
+ [15, 1],
461
+ [15, 1],
462
+ [16, 3],
463
+ [17, 1]
464
+ ],
465
+ performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
466
+ var s = a.length - 1;
467
+ switch (i) {
468
+ case 7:
469
+ let e = r.findOrCreateNode(a[s - 4].trim().replaceAll("\"\"", "\"")), t = r.findOrCreateNode(a[s - 2].trim().replaceAll("\"\"", "\"")), n = parseFloat(a[s].trim());
470
+ r.addLink(e, t, n);
471
+ break;
472
+ case 8:
473
+ case 9:
474
+ case 11:
475
+ this.$ = a[s];
476
+ break;
477
+ case 10:
478
+ this.$ = a[s - 1];
479
+ break;
480
+ }
481
+ }, "anonymous"),
482
+ table: [
483
+ {
484
+ 3: 1,
485
+ 4: [1, 2]
486
+ },
487
+ { 1: [3] },
488
+ { 5: [1, 3] },
489
+ {
490
+ 6: 4,
491
+ 8: 5,
492
+ 15: 6,
493
+ 16: 7,
494
+ 17: 8,
495
+ 18: n,
496
+ 20: r
497
+ },
498
+ {
499
+ 1: [2, 6],
500
+ 7: 11,
501
+ 10: [1, 12]
502
+ },
503
+ t(r, [2, 4], {
504
+ 9: 13,
505
+ 5: [1, 14]
506
+ }),
507
+ { 12: [1, 15] },
508
+ t(i, [2, 8]),
509
+ t(i, [2, 9]),
510
+ { 19: [1, 16] },
511
+ t(i, [2, 11]),
512
+ { 1: [2, 1] },
513
+ { 1: [2, 5] },
514
+ t(r, [2, 2]),
515
+ {
516
+ 6: 17,
517
+ 8: 5,
518
+ 15: 6,
519
+ 16: 7,
520
+ 17: 8,
521
+ 18: n,
522
+ 20: r
523
+ },
524
+ {
525
+ 15: 18,
526
+ 16: 7,
527
+ 17: 8,
528
+ 18: n,
529
+ 20: r
530
+ },
531
+ { 18: [1, 19] },
532
+ t(r, [2, 3]),
533
+ { 12: [1, 20] },
534
+ t(i, [2, 10]),
535
+ {
536
+ 15: 21,
537
+ 16: 7,
538
+ 17: 8,
539
+ 18: n,
540
+ 20: r
541
+ },
542
+ t([
543
+ 1,
544
+ 5,
545
+ 10
546
+ ], [2, 7])
547
+ ],
548
+ defaultActions: {
549
+ 11: [2, 1],
550
+ 12: [2, 5]
551
+ },
552
+ parseError: /* @__PURE__ */ e(function(e, t) {
553
+ if (t.recoverable) this.trace(e);
554
+ else {
555
+ var n = Error(e);
556
+ throw n.hash = t, n;
557
+ }
558
+ }, "parseError"),
559
+ parse: /* @__PURE__ */ e(function(t) {
560
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
561
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
562
+ h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
563
+ var v = h.yylloc;
564
+ o.push(v);
565
+ var y = h.options && h.options.ranges;
566
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
567
+ function b(e) {
568
+ r.length -= 2 * e, a.length -= e, o.length -= e;
569
+ }
570
+ e(b, "popStack");
571
+ function x() {
572
+ var e = i.pop() || h.lex() || p;
573
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
574
+ }
575
+ e(x, "lex");
576
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
577
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S == null && (S = x()), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
578
+ var M = "";
579
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
580
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
581
+ text: h.match,
582
+ token: this.terminals_[S] || S,
583
+ line: h.yylineno,
584
+ loc: v,
585
+ expected: j
586
+ });
587
+ }
588
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
589
+ switch (T[0]) {
590
+ case 1:
591
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
592
+ break;
593
+ case 2:
594
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
595
+ first_line: o[o.length - (k || 1)].first_line,
596
+ last_line: o[o.length - 1].last_line,
597
+ first_column: o[o.length - (k || 1)].first_column,
598
+ last_column: o[o.length - 1].last_column
599
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
600
+ c,
601
+ u,
602
+ l,
603
+ g.yy,
604
+ T[1],
605
+ a,
606
+ o
607
+ ].concat(m)), E !== void 0) return E;
608
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
609
+ break;
610
+ case 3: return !0;
611
+ }
612
+ }
613
+ return !0;
614
+ }, "parse")
615
+ };
616
+ a.lexer = /* @__PURE__ */ (function() {
617
+ return {
618
+ EOF: 1,
619
+ parseError: /* @__PURE__ */ e(function(e, t) {
620
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
621
+ else throw Error(e);
622
+ }, "parseError"),
623
+ setInput: /* @__PURE__ */ e(function(e, t) {
624
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
625
+ first_line: 1,
626
+ first_column: 0,
627
+ last_line: 1,
628
+ last_column: 0
629
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
630
+ }, "setInput"),
631
+ input: /* @__PURE__ */ e(function() {
632
+ var e = this._input[0];
633
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
634
+ }, "input"),
635
+ unput: /* @__PURE__ */ e(function(e) {
636
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
637
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
638
+ var r = this.match.split(/(?:\r\n?|\n)/g);
639
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
640
+ var i = this.yylloc.range;
641
+ return this.yylloc = {
642
+ first_line: this.yylloc.first_line,
643
+ last_line: this.yylineno + 1,
644
+ first_column: this.yylloc.first_column,
645
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
646
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
647
+ }, "unput"),
648
+ more: /* @__PURE__ */ e(function() {
649
+ return this._more = !0, this;
650
+ }, "more"),
651
+ reject: /* @__PURE__ */ e(function() {
652
+ if (this.options.backtrack_lexer) this._backtrack = !0;
653
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
654
+ text: "",
655
+ token: null,
656
+ line: this.yylineno
657
+ });
658
+ return this;
659
+ }, "reject"),
660
+ less: /* @__PURE__ */ e(function(e) {
661
+ this.unput(this.match.slice(e));
662
+ }, "less"),
663
+ pastInput: /* @__PURE__ */ e(function() {
664
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
665
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
666
+ }, "pastInput"),
667
+ upcomingInput: /* @__PURE__ */ e(function() {
668
+ var e = this.match;
669
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
670
+ }, "upcomingInput"),
671
+ showPosition: /* @__PURE__ */ e(function() {
672
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
673
+ return e + this.upcomingInput() + "\n" + t + "^";
674
+ }, "showPosition"),
675
+ test_match: /* @__PURE__ */ e(function(e, t) {
676
+ var n, r, i;
677
+ if (this.options.backtrack_lexer && (i = {
678
+ yylineno: this.yylineno,
679
+ yylloc: {
680
+ first_line: this.yylloc.first_line,
681
+ last_line: this.last_line,
682
+ first_column: this.yylloc.first_column,
683
+ last_column: this.yylloc.last_column
684
+ },
685
+ yytext: this.yytext,
686
+ match: this.match,
687
+ matches: this.matches,
688
+ matched: this.matched,
689
+ yyleng: this.yyleng,
690
+ offset: this.offset,
691
+ _more: this._more,
692
+ _input: this._input,
693
+ yy: this.yy,
694
+ conditionStack: this.conditionStack.slice(0),
695
+ done: this.done
696
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
697
+ first_line: this.yylloc.last_line,
698
+ last_line: this.yylineno + 1,
699
+ first_column: this.yylloc.last_column,
700
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
701
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
702
+ if (this._backtrack) {
703
+ for (var a in i) this[a] = i[a];
704
+ return !1;
705
+ }
706
+ return !1;
707
+ }, "test_match"),
708
+ next: /* @__PURE__ */ e(function() {
709
+ if (this.done) return this.EOF;
710
+ this._input || (this.done = !0);
711
+ var e, t, n, r;
712
+ this._more || (this.yytext = "", this.match = "");
713
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
714
+ if (t = n, r = a, this.options.backtrack_lexer) {
715
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
716
+ if (this._backtrack) {
717
+ t = !1;
718
+ continue;
719
+ } else return !1;
720
+ } else if (!this.options.flex) break;
721
+ }
722
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
723
+ text: "",
724
+ token: null,
725
+ line: this.yylineno
726
+ });
727
+ }, "next"),
728
+ lex: /* @__PURE__ */ e(function() {
729
+ return this.next() || this.lex();
730
+ }, "lex"),
731
+ begin: /* @__PURE__ */ e(function(e) {
732
+ this.conditionStack.push(e);
733
+ }, "begin"),
734
+ popState: /* @__PURE__ */ e(function() {
735
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
736
+ }, "popState"),
737
+ _currentRules: /* @__PURE__ */ e(function() {
738
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
739
+ }, "_currentRules"),
740
+ topState: /* @__PURE__ */ e(function(e) {
741
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
742
+ }, "topState"),
743
+ pushState: /* @__PURE__ */ e(function(e) {
744
+ this.begin(e);
745
+ }, "pushState"),
746
+ stateStackSize: /* @__PURE__ */ e(function() {
747
+ return this.conditionStack.length;
748
+ }, "stateStackSize"),
749
+ options: { "case-insensitive": !0 },
750
+ performAction: /* @__PURE__ */ e(function(e, t, n, r) {
751
+ switch (n) {
752
+ case 0: return this.pushState("csv"), 4;
753
+ case 1: return this.pushState("csv"), 4;
754
+ case 2: return 10;
755
+ case 3: return 5;
756
+ case 4: return 12;
757
+ case 5: return this.pushState("escaped_text"), 18;
758
+ case 6: return 20;
759
+ case 7: return this.popState("escaped_text"), 18;
760
+ case 8: return 19;
761
+ }
762
+ }, "anonymous"),
763
+ rules: [
764
+ /^(?:sankey-beta\b)/i,
765
+ /^(?:sankey\b)/i,
766
+ /^(?:$)/i,
767
+ /^(?:((\u000D\u000A)|(\u000A)))/i,
768
+ /^(?:(\u002C))/i,
769
+ /^(?:(\u0022))/i,
770
+ /^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,
771
+ /^(?:(\u0022)(?!(\u0022)))/i,
772
+ /^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i
773
+ ],
774
+ conditions: {
775
+ csv: {
776
+ rules: [
777
+ 2,
778
+ 3,
779
+ 4,
780
+ 5,
781
+ 6,
782
+ 7,
783
+ 8
784
+ ],
785
+ inclusive: !1
786
+ },
787
+ escaped_text: {
788
+ rules: [7, 8],
789
+ inclusive: !1
790
+ },
791
+ INITIAL: {
792
+ rules: [
793
+ 0,
794
+ 1,
795
+ 2,
796
+ 3,
797
+ 4,
798
+ 5,
799
+ 6,
800
+ 7,
801
+ 8
802
+ ],
803
+ inclusive: !0
804
+ }
805
+ }
806
+ };
807
+ })();
808
+ function o() {
809
+ this.yy = {};
810
+ }
811
+ return e(o, "Parser"), o.prototype = a, a.Parser = o, new o();
812
+ })();
813
+ Y.parser = Y;
814
+ var X = Y, Z = [], Q = [], $ = /* @__PURE__ */ new Map(), se = /* @__PURE__ */ e(() => {
815
+ Z = [], Q = [], $ = /* @__PURE__ */ new Map(), a();
816
+ }, "clear"), ce = (K = class {
817
+ constructor(e, t, n = 0) {
818
+ this.source = e, this.target = t, this.value = n;
819
+ }
820
+ }, e(K, "SankeyLink"), K), le = /* @__PURE__ */ e((e, t, n) => {
821
+ Z.push(new ce(e, t, n));
822
+ }, "addLink"), ue = (q = class {
823
+ constructor(e) {
824
+ this.ID = e;
825
+ }
826
+ }, e(q, "SankeyNode"), q), de = {
827
+ nodesMap: $,
828
+ getConfig: /* @__PURE__ */ e(() => u().sankey, "getConfig"),
829
+ getNodes: /* @__PURE__ */ e(() => Q, "getNodes"),
830
+ getLinks: /* @__PURE__ */ e(() => Z, "getLinks"),
831
+ getGraph: /* @__PURE__ */ e(() => ({
832
+ nodes: Q.map((e) => ({ id: e.ID })),
833
+ links: Z.map((e) => ({
834
+ source: e.source.ID,
835
+ target: e.target.ID,
836
+ value: e.value
837
+ }))
838
+ }), "getGraph"),
839
+ addLink: le,
840
+ findOrCreateNode: /* @__PURE__ */ e((e) => {
841
+ e = s.sanitizeText(e, u());
842
+ let t = $.get(e);
843
+ return t === void 0 && (t = new ue(e), $.set(e, t), Q.push(t)), t;
844
+ }, "findOrCreateNode"),
845
+ getAccTitle: d,
846
+ setAccTitle: i,
847
+ getAccDescription: c,
848
+ setAccDescription: t,
849
+ getDiagramTitle: l,
850
+ setDiagramTitle: r,
851
+ clear: se
852
+ }, fe = (J = class e {
853
+ static next(t) {
854
+ return new e(t + ++e.count);
855
+ }
856
+ constructor(e) {
857
+ this.id = e, this.href = `#${e}`;
858
+ }
859
+ toString() {
860
+ return "url(" + this.href + ")";
861
+ }
862
+ }, e(J, "Uid"), J.count = 0, J), pe = {
863
+ left: b,
864
+ right: x,
865
+ center: C,
866
+ justify: S
867
+ }, me = /* @__PURE__ */ e((e) => {
868
+ let t = 0, n = 0;
869
+ for (let a of e) {
870
+ var r;
871
+ let e = (r = a.value) == null ? 0 : r;
872
+ if (e > t) {
873
+ var i;
874
+ t = e, n = (i = a.layer) == null ? 0 : i;
875
+ }
876
+ }
877
+ return n;
878
+ }, "findCentralNodeLayer"), he = { draw: /* @__PURE__ */ e(function(t, r, i, a) {
879
+ var s, c, l, d, m, g, _, v, y, b, x, S, C, w, T;
880
+ let { securityLevel: E, sankey: D } = u(), O = o.sankey, k;
881
+ E === "sandbox" && (k = p("#i" + r));
882
+ let A = p(E === "sandbox" ? k.nodes()[0].contentDocument.body : "body"), j = E === "sandbox" ? A.select(`[id="${r}"]`) : p(`[id="${r}"]`), M = (s = D == null ? void 0 : D.width) == null ? O.width : s, N = (c = D == null ? void 0 : D.height) == null ? O.width : c, P = (l = D == null ? void 0 : D.useMaxWidth) == null ? O.useMaxWidth : l, F = (d = D == null ? void 0 : D.nodeAlignment) == null ? O.nodeAlignment : d, I = (m = D == null ? void 0 : D.prefix) == null ? O.prefix : m, L = (g = D == null ? void 0 : D.suffix) == null ? O.suffix : g, R = (_ = D == null ? void 0 : D.showValues) == null ? O.showValues : _, z = (v = (y = D == null ? void 0 : D.nodeWidth) == null ? O.nodeWidth : y) == null ? 10 : v, B = (b = (x = D == null ? void 0 : D.nodePadding) == null ? O.nodePadding : x) == null ? 12 : b, V = (S = (C = D == null ? void 0 : D.labelStyle) == null ? O.labelStyle : C) == null ? "legacy" : S, H = (w = D == null ? void 0 : D.nodeColors) == null ? {} : w, U = a.db.getGraph(), te = pe[F];
883
+ ee().nodeId((e) => e.id).nodeWidth(z).nodePadding(B + (R ? 15 : 0)).nodeAlign(te).extent([[0, 0], [M, N]])(U);
884
+ let ne = me(U.nodes), re = f(h), W = /* @__PURE__ */ e((e) => {
885
+ var t;
886
+ return (t = H[e]) == null ? re(e) : t;
887
+ }, "getNodeColor");
888
+ j.append("g").attr("class", "nodes").selectAll(".node").data(U.nodes).join("g").attr("class", "node").attr("id", (e) => (e.uid = fe.next("node-")).id).attr("transform", function(e) {
889
+ return "translate(" + e.x0 + "," + e.y0 + ")";
890
+ }).attr("x", (e) => e.x0).attr("y", (e) => e.y0).append("rect").attr("height", (e) => e.y1 - e.y0).attr("width", (e) => e.x1 - e.x0).attr("fill", (e) => W(e.id));
891
+ let ie = /* @__PURE__ */ e(({ id: e, value: t }) => R ? `${e}
892
+ ${I}${Math.round(t * 100) / 100}${L}` : e, "getText"), G = /* @__PURE__ */ e((e) => {
893
+ if (V === "outlined") {
894
+ var t;
895
+ return ((t = e.layer) == null ? 0 : t) < ne ? {
896
+ x: e.x0 - 6,
897
+ anchor: "end"
898
+ } : {
899
+ x: e.x1 + 6,
900
+ anchor: "start"
901
+ };
902
+ }
903
+ return e.x0 < M / 2 ? {
904
+ x: e.x1 + 6,
905
+ anchor: "start"
906
+ } : {
907
+ x: e.x0 - 6,
908
+ anchor: "end"
909
+ };
910
+ }, "getLabelPosition"), ae = j.append("g").attr("class", "node-labels").attr("font-size", 14), K = /* @__PURE__ */ e((e) => ae.selectAll(e ? `.${e}` : "text").data(U.nodes).join("text").attr("class", e == null ? null : e).attr("x", (e) => G(e).x).attr("y", (e) => (e.y1 + e.y0) / 2).attr("dy", `${R ? "0" : "0.35"}em`).attr("text-anchor", (e) => G(e).anchor).text(ie), "appendLabel");
911
+ V === "outlined" ? (K("sankey-label-bg"), K("sankey-label-fg")) : K();
912
+ let q = j.append("g").attr("class", "links").attr("fill", "none").attr("stroke-opacity", .5).selectAll(".link").data(U.links).join("g").attr("class", "link").style("mix-blend-mode", "multiply"), J = (T = D == null ? void 0 : D.linkColor) == null ? "gradient" : T;
913
+ if (J === "gradient") {
914
+ let e = q.append("linearGradient").attr("id", (e) => (e.uid = fe.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (e) => e.source.x1).attr("x2", (e) => e.target.x0);
915
+ e.append("stop").attr("offset", "0%").attr("stop-color", (e) => W(e.source.id)), e.append("stop").attr("offset", "100%").attr("stop-color", (e) => W(e.target.id));
916
+ }
917
+ let Y;
918
+ switch (J) {
919
+ case "gradient":
920
+ Y = /* @__PURE__ */ e((e) => e.uid, "coloring");
921
+ break;
922
+ case "source":
923
+ Y = /* @__PURE__ */ e((e) => W(e.source.id), "coloring");
924
+ break;
925
+ case "target":
926
+ Y = /* @__PURE__ */ e((e) => W(e.target.id), "coloring");
927
+ break;
928
+ default: Y = J;
929
+ }
930
+ q.append("path").attr("d", oe()).attr("stroke", Y).attr("stroke-width", (e) => Math.max(1, e.width)), n(void 0, j, 0, P);
931
+ }, "draw") }, ge = /* @__PURE__ */ e((e) => e.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, "\n").trim(), "prepareTextForParsing"), _e = /* @__PURE__ */ e((e) => `.label {
932
+ font-family: ${e.fontFamily};
933
+ }
934
+
935
+ .node-labels {
936
+ font-family: ${e.fontFamily};
937
+ }
938
+
939
+ /* Outlined label style - background stroke for better readability */
940
+ .sankey-label-bg {
941
+ stroke: ${e.mainBkg || e.background || "#fff"};
942
+ stroke-width: 4px;
943
+ stroke-linejoin: round;
944
+ paint-order: stroke;
945
+ }
946
+
947
+ /* Foreground label text */
948
+ .sankey-label-fg {
949
+ fill: ${e.textColor};
950
+ }
951
+
952
+ /* Node styling */
953
+ .node rect {
954
+ shape-rendering: crispEdges;
955
+ }
956
+
957
+ /* Link styling */
958
+ .link {
959
+ fill: none;
960
+ stroke-opacity: 0.5;
961
+ mix-blend-mode: multiply;
962
+ }
963
+ `, "getStyles"), ve = X.parse.bind(X);
964
+ X.parse = (e) => ve(ge(e));
965
+ var ye = {
966
+ styles: _e,
967
+ parser: X,
968
+ db: de,
969
+ renderer: he
970
+ };
971
+ //#endregion
972
+ export { ye as diagram };