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,3356 @@
1
+ import { n as e, t } from "./objectSpread2.js";
2
+ import { n, t as r } from "./asyncToGenerator.js";
3
+ import { n as i, r as a } from "./chunk-AGHRB4JF.js";
4
+ import { $ as o, H as s, K as c, M as l, U as u, a as d, s as f, v as p, w as m, x as h, y as g, z as _ } from "./chunk-CSCIHK7Q.js";
5
+ import { Q as v } from "./src.js";
6
+ import { c as y, g as b } from "./chunk-5ZQYHXKU.js";
7
+ import { r as x, t as S } from "./chunk-LZXEDZCA.js";
8
+ import { t as C } from "./chunk-FMBD7UC4.js";
9
+ import { t as w } from "./chunk-ND2GUHAM.js";
10
+ import { t as T } from "./chunk-55IACEB6.js";
11
+ import { t as E } from "./chunk-2J33WTMH.js";
12
+ e(), n();
13
+ var D, O, k = (function() {
14
+ var e = /* @__PURE__ */ i(function(e, t, n, r) {
15
+ for (n = n || {}, r = e.length; r--; n[e[r]] = t);
16
+ return n;
17
+ }, "o"), t = [1, 18], n = [1, 19], r = [1, 20], a = [1, 41], o = [1, 26], s = [1, 42], c = [1, 24], l = [1, 25], u = [1, 32], d = [1, 33], f = [1, 34], p = [1, 45], m = [1, 35], h = [1, 36], g = [1, 37], _ = [1, 38], v = [1, 27], y = [1, 28], b = [1, 29], x = [1, 30], S = [1, 31], C = [1, 44], w = [1, 46], T = [1, 43], E = [1, 47], D = [1, 9], O = [
18
+ 1,
19
+ 8,
20
+ 9
21
+ ], k = [1, 58], A = [1, 59], j = [1, 60], M = [1, 61], N = [1, 62], P = [1, 63], F = [1, 64], I = [
22
+ 1,
23
+ 8,
24
+ 9,
25
+ 41
26
+ ], ee = [1, 77], L = [
27
+ 1,
28
+ 8,
29
+ 9,
30
+ 12,
31
+ 13,
32
+ 22,
33
+ 39,
34
+ 41,
35
+ 44,
36
+ 46,
37
+ 68,
38
+ 69,
39
+ 70,
40
+ 71,
41
+ 72,
42
+ 73,
43
+ 74,
44
+ 79,
45
+ 81
46
+ ], R = [
47
+ 1,
48
+ 8,
49
+ 9,
50
+ 12,
51
+ 13,
52
+ 18,
53
+ 20,
54
+ 22,
55
+ 39,
56
+ 41,
57
+ 44,
58
+ 46,
59
+ 47,
60
+ 60,
61
+ 68,
62
+ 69,
63
+ 70,
64
+ 71,
65
+ 72,
66
+ 73,
67
+ 74,
68
+ 79,
69
+ 81,
70
+ 86,
71
+ 100,
72
+ 102,
73
+ 103
74
+ ], z = [
75
+ 13,
76
+ 60,
77
+ 86,
78
+ 100,
79
+ 102,
80
+ 103
81
+ ], B = [
82
+ 13,
83
+ 60,
84
+ 73,
85
+ 74,
86
+ 86,
87
+ 100,
88
+ 102,
89
+ 103
90
+ ], te = [
91
+ 13,
92
+ 60,
93
+ 68,
94
+ 69,
95
+ 70,
96
+ 71,
97
+ 72,
98
+ 86,
99
+ 100,
100
+ 102,
101
+ 103
102
+ ], V = [1, 103], H = [1, 121], U = [1, 117], W = [1, 113], G = [1, 119], K = [1, 114], q = [1, 115], J = [1, 116], Y = [1, 118], X = [1, 120], ne = [
103
+ 22,
104
+ 50,
105
+ 60,
106
+ 61,
107
+ 82,
108
+ 86,
109
+ 87,
110
+ 88,
111
+ 89,
112
+ 90
113
+ ], re = [1, 128], Z = [12, 39], ie = [
114
+ 1,
115
+ 8,
116
+ 9,
117
+ 39,
118
+ 41,
119
+ 44,
120
+ 46
121
+ ], Q = [
122
+ 1,
123
+ 8,
124
+ 9,
125
+ 22
126
+ ], ae = [1, 153], oe = [
127
+ 1,
128
+ 8,
129
+ 9,
130
+ 61
131
+ ], $ = [
132
+ 1,
133
+ 8,
134
+ 9,
135
+ 22,
136
+ 50,
137
+ 60,
138
+ 61,
139
+ 82,
140
+ 86,
141
+ 87,
142
+ 88,
143
+ 89,
144
+ 90
145
+ ], se = {
146
+ trace: /* @__PURE__ */ i(function() {}, "trace"),
147
+ yy: {},
148
+ symbols_: {
149
+ error: 2,
150
+ start: 3,
151
+ mermaidDoc: 4,
152
+ statements: 5,
153
+ graphConfig: 6,
154
+ CLASS_DIAGRAM: 7,
155
+ NEWLINE: 8,
156
+ EOF: 9,
157
+ statement: 10,
158
+ classLabel: 11,
159
+ SQS: 12,
160
+ STR: 13,
161
+ SQE: 14,
162
+ namespaceName: 15,
163
+ alphaNumToken: 16,
164
+ classLiteralName: 17,
165
+ DOT: 18,
166
+ className: 19,
167
+ GENERICTYPE: 20,
168
+ relationStatement: 21,
169
+ LABEL: 22,
170
+ namespaceStatement: 23,
171
+ classStatement: 24,
172
+ memberStatement: 25,
173
+ annotationStatement: 26,
174
+ clickStatement: 27,
175
+ styleStatement: 28,
176
+ cssClassStatement: 29,
177
+ noteStatement: 30,
178
+ classDefStatement: 31,
179
+ direction: 32,
180
+ acc_title: 33,
181
+ acc_title_value: 34,
182
+ acc_descr: 35,
183
+ acc_descr_value: 36,
184
+ acc_descr_multiline_value: 37,
185
+ namespaceIdentifier: 38,
186
+ STRUCT_START: 39,
187
+ classStatements: 40,
188
+ STRUCT_STOP: 41,
189
+ NAMESPACE: 42,
190
+ classIdentifier: 43,
191
+ STYLE_SEPARATOR: 44,
192
+ members: 45,
193
+ ANNOTATION_START: 46,
194
+ ANNOTATION_END: 47,
195
+ CLASS: 48,
196
+ emptyBody: 49,
197
+ SPACE: 50,
198
+ MEMBER: 51,
199
+ SEPARATOR: 52,
200
+ relation: 53,
201
+ NOTE_FOR: 54,
202
+ noteText: 55,
203
+ NOTE: 56,
204
+ CLASSDEF: 57,
205
+ classList: 58,
206
+ stylesOpt: 59,
207
+ ALPHA: 60,
208
+ COMMA: 61,
209
+ direction_tb: 62,
210
+ direction_bt: 63,
211
+ direction_rl: 64,
212
+ direction_lr: 65,
213
+ relationType: 66,
214
+ lineType: 67,
215
+ AGGREGATION: 68,
216
+ EXTENSION: 69,
217
+ COMPOSITION: 70,
218
+ DEPENDENCY: 71,
219
+ LOLLIPOP: 72,
220
+ LINE: 73,
221
+ DOTTED_LINE: 74,
222
+ CALLBACK: 75,
223
+ LINK: 76,
224
+ LINK_TARGET: 77,
225
+ CLICK: 78,
226
+ CALLBACK_NAME: 79,
227
+ CALLBACK_ARGS: 80,
228
+ HREF: 81,
229
+ STYLE: 82,
230
+ CSSCLASS: 83,
231
+ style: 84,
232
+ styleComponent: 85,
233
+ NUM: 86,
234
+ COLON: 87,
235
+ UNIT: 88,
236
+ BRKT: 89,
237
+ PCT: 90,
238
+ commentToken: 91,
239
+ textToken: 92,
240
+ graphCodeTokens: 93,
241
+ textNoTagsToken: 94,
242
+ TAGSTART: 95,
243
+ TAGEND: 96,
244
+ "==": 97,
245
+ "--": 98,
246
+ DEFAULT: 99,
247
+ MINUS: 100,
248
+ keywords: 101,
249
+ UNICODE_TEXT: 102,
250
+ BQUOTE_STR: 103,
251
+ $accept: 0,
252
+ $end: 1
253
+ },
254
+ terminals_: {
255
+ 2: "error",
256
+ 7: "CLASS_DIAGRAM",
257
+ 8: "NEWLINE",
258
+ 9: "EOF",
259
+ 12: "SQS",
260
+ 13: "STR",
261
+ 14: "SQE",
262
+ 18: "DOT",
263
+ 20: "GENERICTYPE",
264
+ 22: "LABEL",
265
+ 33: "acc_title",
266
+ 34: "acc_title_value",
267
+ 35: "acc_descr",
268
+ 36: "acc_descr_value",
269
+ 37: "acc_descr_multiline_value",
270
+ 39: "STRUCT_START",
271
+ 41: "STRUCT_STOP",
272
+ 42: "NAMESPACE",
273
+ 44: "STYLE_SEPARATOR",
274
+ 46: "ANNOTATION_START",
275
+ 47: "ANNOTATION_END",
276
+ 48: "CLASS",
277
+ 50: "SPACE",
278
+ 51: "MEMBER",
279
+ 52: "SEPARATOR",
280
+ 54: "NOTE_FOR",
281
+ 56: "NOTE",
282
+ 57: "CLASSDEF",
283
+ 60: "ALPHA",
284
+ 61: "COMMA",
285
+ 62: "direction_tb",
286
+ 63: "direction_bt",
287
+ 64: "direction_rl",
288
+ 65: "direction_lr",
289
+ 68: "AGGREGATION",
290
+ 69: "EXTENSION",
291
+ 70: "COMPOSITION",
292
+ 71: "DEPENDENCY",
293
+ 72: "LOLLIPOP",
294
+ 73: "LINE",
295
+ 74: "DOTTED_LINE",
296
+ 75: "CALLBACK",
297
+ 76: "LINK",
298
+ 77: "LINK_TARGET",
299
+ 78: "CLICK",
300
+ 79: "CALLBACK_NAME",
301
+ 80: "CALLBACK_ARGS",
302
+ 81: "HREF",
303
+ 82: "STYLE",
304
+ 83: "CSSCLASS",
305
+ 86: "NUM",
306
+ 87: "COLON",
307
+ 88: "UNIT",
308
+ 89: "BRKT",
309
+ 90: "PCT",
310
+ 93: "graphCodeTokens",
311
+ 95: "TAGSTART",
312
+ 96: "TAGEND",
313
+ 97: "==",
314
+ 98: "--",
315
+ 99: "DEFAULT",
316
+ 100: "MINUS",
317
+ 101: "keywords",
318
+ 102: "UNICODE_TEXT",
319
+ 103: "BQUOTE_STR"
320
+ },
321
+ productions_: [
322
+ 0,
323
+ [3, 1],
324
+ [3, 1],
325
+ [4, 1],
326
+ [6, 4],
327
+ [5, 1],
328
+ [5, 2],
329
+ [5, 3],
330
+ [11, 3],
331
+ [15, 1],
332
+ [15, 1],
333
+ [15, 3],
334
+ [15, 2],
335
+ [19, 1],
336
+ [19, 3],
337
+ [19, 1],
338
+ [19, 2],
339
+ [19, 2],
340
+ [19, 2],
341
+ [10, 1],
342
+ [10, 2],
343
+ [10, 1],
344
+ [10, 1],
345
+ [10, 1],
346
+ [10, 1],
347
+ [10, 1],
348
+ [10, 1],
349
+ [10, 1],
350
+ [10, 1],
351
+ [10, 1],
352
+ [10, 1],
353
+ [10, 2],
354
+ [10, 2],
355
+ [10, 1],
356
+ [23, 4],
357
+ [23, 5],
358
+ [38, 2],
359
+ [38, 3],
360
+ [40, 1],
361
+ [40, 2],
362
+ [40, 3],
363
+ [40, 1],
364
+ [40, 2],
365
+ [40, 3],
366
+ [40, 1],
367
+ [40, 2],
368
+ [40, 3],
369
+ [24, 1],
370
+ [24, 3],
371
+ [24, 4],
372
+ [24, 3],
373
+ [24, 6],
374
+ [24, 4],
375
+ [24, 7],
376
+ [24, 6],
377
+ [43, 2],
378
+ [43, 3],
379
+ [49, 0],
380
+ [49, 2],
381
+ [49, 2],
382
+ [26, 4],
383
+ [45, 1],
384
+ [45, 2],
385
+ [25, 1],
386
+ [25, 2],
387
+ [25, 1],
388
+ [25, 1],
389
+ [21, 3],
390
+ [21, 4],
391
+ [21, 4],
392
+ [21, 5],
393
+ [30, 3],
394
+ [30, 2],
395
+ [31, 3],
396
+ [58, 1],
397
+ [58, 3],
398
+ [32, 1],
399
+ [32, 1],
400
+ [32, 1],
401
+ [32, 1],
402
+ [53, 3],
403
+ [53, 2],
404
+ [53, 2],
405
+ [53, 1],
406
+ [66, 1],
407
+ [66, 1],
408
+ [66, 1],
409
+ [66, 1],
410
+ [66, 1],
411
+ [67, 1],
412
+ [67, 1],
413
+ [27, 3],
414
+ [27, 4],
415
+ [27, 3],
416
+ [27, 4],
417
+ [27, 4],
418
+ [27, 5],
419
+ [27, 3],
420
+ [27, 4],
421
+ [27, 4],
422
+ [27, 5],
423
+ [27, 4],
424
+ [27, 5],
425
+ [27, 5],
426
+ [27, 6],
427
+ [28, 3],
428
+ [29, 3],
429
+ [59, 1],
430
+ [59, 3],
431
+ [84, 1],
432
+ [84, 2],
433
+ [85, 1],
434
+ [85, 1],
435
+ [85, 1],
436
+ [85, 1],
437
+ [85, 1],
438
+ [85, 1],
439
+ [85, 1],
440
+ [85, 1],
441
+ [85, 1],
442
+ [91, 1],
443
+ [91, 1],
444
+ [92, 1],
445
+ [92, 1],
446
+ [92, 1],
447
+ [92, 1],
448
+ [92, 1],
449
+ [92, 1],
450
+ [92, 1],
451
+ [94, 1],
452
+ [94, 1],
453
+ [94, 1],
454
+ [94, 1],
455
+ [16, 1],
456
+ [16, 1],
457
+ [16, 1],
458
+ [16, 1],
459
+ [17, 1],
460
+ [55, 1]
461
+ ],
462
+ performAction: /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
463
+ var s = a.length - 1;
464
+ switch (i) {
465
+ case 8:
466
+ this.$ = a[s - 1];
467
+ break;
468
+ case 9:
469
+ case 10:
470
+ case 13:
471
+ case 15:
472
+ this.$ = a[s];
473
+ break;
474
+ case 11:
475
+ case 14:
476
+ this.$ = a[s - 2] + "." + a[s];
477
+ break;
478
+ case 12:
479
+ case 16:
480
+ this.$ = a[s - 1] + a[s];
481
+ break;
482
+ case 17:
483
+ case 18:
484
+ this.$ = a[s - 1] + "~" + a[s] + "~";
485
+ break;
486
+ case 19:
487
+ r.addRelation(a[s]);
488
+ break;
489
+ case 20:
490
+ a[s - 1].title = r.cleanupLabel(a[s]), r.addRelation(a[s - 1]);
491
+ break;
492
+ case 31:
493
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
494
+ break;
495
+ case 32:
496
+ case 33:
497
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
498
+ break;
499
+ case 34:
500
+ r.addClassesToNamespace(a[s - 3], a[s - 1][0], a[s - 1][1]), r.popNamespace();
501
+ break;
502
+ case 35:
503
+ r.addClassesToNamespace(a[s - 4], a[s - 1][0], a[s - 1][1]), r.popNamespace();
504
+ break;
505
+ case 36:
506
+ this.$ = r.addNamespace(a[s]);
507
+ break;
508
+ case 37:
509
+ this.$ = r.addNamespace(a[s - 1], a[s]);
510
+ break;
511
+ case 38:
512
+ this.$ = [[a[s]], []];
513
+ break;
514
+ case 39:
515
+ this.$ = [[a[s - 1]], []];
516
+ break;
517
+ case 40:
518
+ a[s][0].unshift(a[s - 2]), this.$ = a[s];
519
+ break;
520
+ case 41:
521
+ this.$ = [[], [a[s]]];
522
+ break;
523
+ case 42:
524
+ this.$ = [[], [a[s - 1]]];
525
+ break;
526
+ case 43:
527
+ a[s][1].unshift(a[s - 2]), this.$ = a[s];
528
+ break;
529
+ case 44:
530
+ case 45:
531
+ this.$ = [[], []];
532
+ break;
533
+ case 46:
534
+ this.$ = a[s];
535
+ break;
536
+ case 48:
537
+ r.setCssClass(a[s - 2], a[s]);
538
+ break;
539
+ case 49:
540
+ r.addMembers(a[s - 3], a[s - 1]);
541
+ break;
542
+ case 51:
543
+ r.setCssClass(a[s - 5], a[s - 3]), r.addMembers(a[s - 5], a[s - 1]);
544
+ break;
545
+ case 52:
546
+ r.addAnnotation(a[s - 3], a[s - 1]);
547
+ break;
548
+ case 53:
549
+ r.addAnnotation(a[s - 6], a[s - 4]), r.addMembers(a[s - 6], a[s - 1]);
550
+ break;
551
+ case 54:
552
+ r.addAnnotation(a[s - 5], a[s - 3]);
553
+ break;
554
+ case 55:
555
+ this.$ = a[s], r.addClass(a[s]);
556
+ break;
557
+ case 56:
558
+ this.$ = a[s - 1], r.addClass(a[s - 1]), r.setClassLabel(a[s - 1], a[s]);
559
+ break;
560
+ case 60:
561
+ r.addAnnotation(a[s], a[s - 2]);
562
+ break;
563
+ case 61:
564
+ case 74:
565
+ this.$ = [a[s]];
566
+ break;
567
+ case 62:
568
+ a[s].push(a[s - 1]), this.$ = a[s];
569
+ break;
570
+ case 63: break;
571
+ case 64:
572
+ r.addMember(a[s - 1], r.cleanupLabel(a[s]));
573
+ break;
574
+ case 65: break;
575
+ case 66: break;
576
+ case 67:
577
+ this.$ = {
578
+ id1: a[s - 2],
579
+ id2: a[s],
580
+ relation: a[s - 1],
581
+ relationTitle1: "none",
582
+ relationTitle2: "none"
583
+ };
584
+ break;
585
+ case 68:
586
+ this.$ = {
587
+ id1: a[s - 3],
588
+ id2: a[s],
589
+ relation: a[s - 1],
590
+ relationTitle1: a[s - 2],
591
+ relationTitle2: "none"
592
+ };
593
+ break;
594
+ case 69:
595
+ this.$ = {
596
+ id1: a[s - 3],
597
+ id2: a[s],
598
+ relation: a[s - 2],
599
+ relationTitle1: "none",
600
+ relationTitle2: a[s - 1]
601
+ };
602
+ break;
603
+ case 70:
604
+ this.$ = {
605
+ id1: a[s - 4],
606
+ id2: a[s],
607
+ relation: a[s - 2],
608
+ relationTitle1: a[s - 3],
609
+ relationTitle2: a[s - 1]
610
+ };
611
+ break;
612
+ case 71:
613
+ this.$ = r.addNote(a[s], a[s - 1]);
614
+ break;
615
+ case 72:
616
+ this.$ = r.addNote(a[s]);
617
+ break;
618
+ case 73:
619
+ this.$ = a[s - 2], r.defineClass(a[s - 1], a[s]);
620
+ break;
621
+ case 75:
622
+ this.$ = a[s - 2].concat([a[s]]);
623
+ break;
624
+ case 76:
625
+ r.setDirection("TB");
626
+ break;
627
+ case 77:
628
+ r.setDirection("BT");
629
+ break;
630
+ case 78:
631
+ r.setDirection("RL");
632
+ break;
633
+ case 79:
634
+ r.setDirection("LR");
635
+ break;
636
+ case 80:
637
+ this.$ = {
638
+ type1: a[s - 2],
639
+ type2: a[s],
640
+ lineType: a[s - 1]
641
+ };
642
+ break;
643
+ case 81:
644
+ this.$ = {
645
+ type1: "none",
646
+ type2: a[s],
647
+ lineType: a[s - 1]
648
+ };
649
+ break;
650
+ case 82:
651
+ this.$ = {
652
+ type1: a[s - 1],
653
+ type2: "none",
654
+ lineType: a[s]
655
+ };
656
+ break;
657
+ case 83:
658
+ this.$ = {
659
+ type1: "none",
660
+ type2: "none",
661
+ lineType: a[s]
662
+ };
663
+ break;
664
+ case 84:
665
+ this.$ = r.relationType.AGGREGATION;
666
+ break;
667
+ case 85:
668
+ this.$ = r.relationType.EXTENSION;
669
+ break;
670
+ case 86:
671
+ this.$ = r.relationType.COMPOSITION;
672
+ break;
673
+ case 87:
674
+ this.$ = r.relationType.DEPENDENCY;
675
+ break;
676
+ case 88:
677
+ this.$ = r.relationType.LOLLIPOP;
678
+ break;
679
+ case 89:
680
+ this.$ = r.lineType.LINE;
681
+ break;
682
+ case 90:
683
+ this.$ = r.lineType.DOTTED_LINE;
684
+ break;
685
+ case 91:
686
+ case 97:
687
+ this.$ = a[s - 2], r.setClickEvent(a[s - 1], a[s]);
688
+ break;
689
+ case 92:
690
+ case 98:
691
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
692
+ break;
693
+ case 93:
694
+ this.$ = a[s - 2], r.setLink(a[s - 1], a[s]);
695
+ break;
696
+ case 94:
697
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1], a[s]);
698
+ break;
699
+ case 95:
700
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
701
+ break;
702
+ case 96:
703
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 2], a[s]), r.setTooltip(a[s - 3], a[s - 1]);
704
+ break;
705
+ case 99:
706
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
707
+ break;
708
+ case 100:
709
+ this.$ = a[s - 4], r.setClickEvent(a[s - 3], a[s - 2], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
710
+ break;
711
+ case 101:
712
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s]);
713
+ break;
714
+ case 102:
715
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1], a[s]);
716
+ break;
717
+ case 103:
718
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
719
+ break;
720
+ case 104:
721
+ this.$ = a[s - 5], r.setLink(a[s - 4], a[s - 2], a[s]), r.setTooltip(a[s - 4], a[s - 1]);
722
+ break;
723
+ case 105:
724
+ this.$ = a[s - 2], r.setCssStyle(a[s - 1], a[s]);
725
+ break;
726
+ case 106:
727
+ r.setCssClass(a[s - 1], a[s]);
728
+ break;
729
+ case 107:
730
+ this.$ = [a[s]];
731
+ break;
732
+ case 108:
733
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
734
+ break;
735
+ case 110:
736
+ this.$ = a[s - 1] + a[s];
737
+ break;
738
+ }
739
+ }, "anonymous"),
740
+ table: [
741
+ {
742
+ 3: 1,
743
+ 4: 2,
744
+ 5: 3,
745
+ 6: 4,
746
+ 7: [1, 6],
747
+ 10: 5,
748
+ 16: 39,
749
+ 17: 40,
750
+ 19: 21,
751
+ 21: 7,
752
+ 23: 8,
753
+ 24: 9,
754
+ 25: 10,
755
+ 26: 11,
756
+ 27: 12,
757
+ 28: 13,
758
+ 29: 14,
759
+ 30: 15,
760
+ 31: 16,
761
+ 32: 17,
762
+ 33: t,
763
+ 35: n,
764
+ 37: r,
765
+ 38: 22,
766
+ 42: a,
767
+ 43: 23,
768
+ 46: o,
769
+ 48: s,
770
+ 51: c,
771
+ 52: l,
772
+ 54: u,
773
+ 56: d,
774
+ 57: f,
775
+ 60: p,
776
+ 62: m,
777
+ 63: h,
778
+ 64: g,
779
+ 65: _,
780
+ 75: v,
781
+ 76: y,
782
+ 78: b,
783
+ 82: x,
784
+ 83: S,
785
+ 86: C,
786
+ 100: w,
787
+ 102: T,
788
+ 103: E
789
+ },
790
+ { 1: [3] },
791
+ { 1: [2, 1] },
792
+ { 1: [2, 2] },
793
+ { 1: [2, 3] },
794
+ e(D, [2, 5], { 8: [1, 48] }),
795
+ { 8: [1, 49] },
796
+ e(O, [2, 19], { 22: [1, 50] }),
797
+ e(O, [2, 21]),
798
+ e(O, [2, 22]),
799
+ e(O, [2, 23]),
800
+ e(O, [2, 24]),
801
+ e(O, [2, 25]),
802
+ e(O, [2, 26]),
803
+ e(O, [2, 27]),
804
+ e(O, [2, 28]),
805
+ e(O, [2, 29]),
806
+ e(O, [2, 30]),
807
+ { 34: [1, 51] },
808
+ { 36: [1, 52] },
809
+ e(O, [2, 33]),
810
+ e(O, [2, 63], {
811
+ 53: 53,
812
+ 66: 56,
813
+ 67: 57,
814
+ 13: [1, 54],
815
+ 22: [1, 55],
816
+ 68: k,
817
+ 69: A,
818
+ 70: j,
819
+ 71: M,
820
+ 72: N,
821
+ 73: P,
822
+ 74: F
823
+ }),
824
+ { 39: [1, 65] },
825
+ e(I, [2, 47], {
826
+ 39: [1, 67],
827
+ 44: [1, 66],
828
+ 46: [1, 68]
829
+ }),
830
+ e(O, [2, 65]),
831
+ e(O, [2, 66]),
832
+ {
833
+ 16: 69,
834
+ 60: p,
835
+ 86: C,
836
+ 100: w,
837
+ 102: T
838
+ },
839
+ {
840
+ 16: 39,
841
+ 17: 40,
842
+ 19: 70,
843
+ 60: p,
844
+ 86: C,
845
+ 100: w,
846
+ 102: T,
847
+ 103: E
848
+ },
849
+ {
850
+ 16: 39,
851
+ 17: 40,
852
+ 19: 71,
853
+ 60: p,
854
+ 86: C,
855
+ 100: w,
856
+ 102: T,
857
+ 103: E
858
+ },
859
+ {
860
+ 16: 39,
861
+ 17: 40,
862
+ 19: 72,
863
+ 60: p,
864
+ 86: C,
865
+ 100: w,
866
+ 102: T,
867
+ 103: E
868
+ },
869
+ { 60: [1, 73] },
870
+ { 13: [1, 74] },
871
+ {
872
+ 16: 39,
873
+ 17: 40,
874
+ 19: 75,
875
+ 60: p,
876
+ 86: C,
877
+ 100: w,
878
+ 102: T,
879
+ 103: E
880
+ },
881
+ {
882
+ 13: ee,
883
+ 55: 76
884
+ },
885
+ {
886
+ 58: 78,
887
+ 60: [1, 79]
888
+ },
889
+ e(O, [2, 76]),
890
+ e(O, [2, 77]),
891
+ e(O, [2, 78]),
892
+ e(O, [2, 79]),
893
+ e(L, [2, 13], {
894
+ 16: 39,
895
+ 17: 40,
896
+ 19: 81,
897
+ 18: [1, 80],
898
+ 20: [1, 82],
899
+ 60: p,
900
+ 86: C,
901
+ 100: w,
902
+ 102: T,
903
+ 103: E
904
+ }),
905
+ e(L, [2, 15], { 20: [1, 83] }),
906
+ {
907
+ 15: 84,
908
+ 16: 85,
909
+ 17: 86,
910
+ 60: p,
911
+ 86: C,
912
+ 100: w,
913
+ 102: T,
914
+ 103: E
915
+ },
916
+ {
917
+ 16: 39,
918
+ 17: 40,
919
+ 19: 87,
920
+ 60: p,
921
+ 86: C,
922
+ 100: w,
923
+ 102: T,
924
+ 103: E
925
+ },
926
+ e(R, [2, 133]),
927
+ e(R, [2, 134]),
928
+ e(R, [2, 135]),
929
+ e(R, [2, 136]),
930
+ e([
931
+ 1,
932
+ 8,
933
+ 9,
934
+ 12,
935
+ 13,
936
+ 20,
937
+ 22,
938
+ 39,
939
+ 41,
940
+ 44,
941
+ 46,
942
+ 68,
943
+ 69,
944
+ 70,
945
+ 71,
946
+ 72,
947
+ 73,
948
+ 74,
949
+ 79,
950
+ 81
951
+ ], [2, 137]),
952
+ e(D, [2, 6], {
953
+ 10: 5,
954
+ 21: 7,
955
+ 23: 8,
956
+ 24: 9,
957
+ 25: 10,
958
+ 26: 11,
959
+ 27: 12,
960
+ 28: 13,
961
+ 29: 14,
962
+ 30: 15,
963
+ 31: 16,
964
+ 32: 17,
965
+ 19: 21,
966
+ 38: 22,
967
+ 43: 23,
968
+ 16: 39,
969
+ 17: 40,
970
+ 5: 88,
971
+ 33: t,
972
+ 35: n,
973
+ 37: r,
974
+ 42: a,
975
+ 46: o,
976
+ 48: s,
977
+ 51: c,
978
+ 52: l,
979
+ 54: u,
980
+ 56: d,
981
+ 57: f,
982
+ 60: p,
983
+ 62: m,
984
+ 63: h,
985
+ 64: g,
986
+ 65: _,
987
+ 75: v,
988
+ 76: y,
989
+ 78: b,
990
+ 82: x,
991
+ 83: S,
992
+ 86: C,
993
+ 100: w,
994
+ 102: T,
995
+ 103: E
996
+ }),
997
+ {
998
+ 5: 89,
999
+ 10: 5,
1000
+ 16: 39,
1001
+ 17: 40,
1002
+ 19: 21,
1003
+ 21: 7,
1004
+ 23: 8,
1005
+ 24: 9,
1006
+ 25: 10,
1007
+ 26: 11,
1008
+ 27: 12,
1009
+ 28: 13,
1010
+ 29: 14,
1011
+ 30: 15,
1012
+ 31: 16,
1013
+ 32: 17,
1014
+ 33: t,
1015
+ 35: n,
1016
+ 37: r,
1017
+ 38: 22,
1018
+ 42: a,
1019
+ 43: 23,
1020
+ 46: o,
1021
+ 48: s,
1022
+ 51: c,
1023
+ 52: l,
1024
+ 54: u,
1025
+ 56: d,
1026
+ 57: f,
1027
+ 60: p,
1028
+ 62: m,
1029
+ 63: h,
1030
+ 64: g,
1031
+ 65: _,
1032
+ 75: v,
1033
+ 76: y,
1034
+ 78: b,
1035
+ 82: x,
1036
+ 83: S,
1037
+ 86: C,
1038
+ 100: w,
1039
+ 102: T,
1040
+ 103: E
1041
+ },
1042
+ e(O, [2, 20]),
1043
+ e(O, [2, 31]),
1044
+ e(O, [2, 32]),
1045
+ {
1046
+ 13: [1, 91],
1047
+ 16: 39,
1048
+ 17: 40,
1049
+ 19: 90,
1050
+ 60: p,
1051
+ 86: C,
1052
+ 100: w,
1053
+ 102: T,
1054
+ 103: E
1055
+ },
1056
+ {
1057
+ 53: 92,
1058
+ 66: 56,
1059
+ 67: 57,
1060
+ 68: k,
1061
+ 69: A,
1062
+ 70: j,
1063
+ 71: M,
1064
+ 72: N,
1065
+ 73: P,
1066
+ 74: F
1067
+ },
1068
+ e(O, [2, 64]),
1069
+ {
1070
+ 67: 93,
1071
+ 73: P,
1072
+ 74: F
1073
+ },
1074
+ e(z, [2, 83], {
1075
+ 66: 94,
1076
+ 68: k,
1077
+ 69: A,
1078
+ 70: j,
1079
+ 71: M,
1080
+ 72: N
1081
+ }),
1082
+ e(B, [2, 84]),
1083
+ e(B, [2, 85]),
1084
+ e(B, [2, 86]),
1085
+ e(B, [2, 87]),
1086
+ e(B, [2, 88]),
1087
+ e(te, [2, 89]),
1088
+ e(te, [2, 90]),
1089
+ {
1090
+ 8: [1, 96],
1091
+ 23: 99,
1092
+ 24: 97,
1093
+ 30: 98,
1094
+ 38: 22,
1095
+ 40: 95,
1096
+ 42: a,
1097
+ 43: 23,
1098
+ 48: s,
1099
+ 54: u,
1100
+ 56: d
1101
+ },
1102
+ {
1103
+ 16: 100,
1104
+ 60: p,
1105
+ 86: C,
1106
+ 100: w,
1107
+ 102: T
1108
+ },
1109
+ {
1110
+ 41: [1, 102],
1111
+ 45: 101,
1112
+ 51: V
1113
+ },
1114
+ {
1115
+ 16: 104,
1116
+ 60: p,
1117
+ 86: C,
1118
+ 100: w,
1119
+ 102: T
1120
+ },
1121
+ { 47: [1, 105] },
1122
+ { 13: [1, 106] },
1123
+ { 13: [1, 107] },
1124
+ {
1125
+ 79: [1, 108],
1126
+ 81: [1, 109]
1127
+ },
1128
+ {
1129
+ 22: H,
1130
+ 50: U,
1131
+ 59: 110,
1132
+ 60: W,
1133
+ 82: G,
1134
+ 84: 111,
1135
+ 85: 112,
1136
+ 86: K,
1137
+ 87: q,
1138
+ 88: J,
1139
+ 89: Y,
1140
+ 90: X
1141
+ },
1142
+ { 60: [1, 122] },
1143
+ {
1144
+ 13: ee,
1145
+ 55: 123
1146
+ },
1147
+ e(I, [2, 72]),
1148
+ e(I, [2, 138]),
1149
+ {
1150
+ 22: H,
1151
+ 50: U,
1152
+ 59: 124,
1153
+ 60: W,
1154
+ 61: [1, 125],
1155
+ 82: G,
1156
+ 84: 111,
1157
+ 85: 112,
1158
+ 86: K,
1159
+ 87: q,
1160
+ 88: J,
1161
+ 89: Y,
1162
+ 90: X
1163
+ },
1164
+ e(ne, [2, 74]),
1165
+ {
1166
+ 16: 39,
1167
+ 17: 40,
1168
+ 19: 126,
1169
+ 60: p,
1170
+ 86: C,
1171
+ 100: w,
1172
+ 102: T,
1173
+ 103: E
1174
+ },
1175
+ e(L, [2, 16]),
1176
+ e(L, [2, 17]),
1177
+ e(L, [2, 18]),
1178
+ {
1179
+ 11: 127,
1180
+ 12: re,
1181
+ 39: [2, 36]
1182
+ },
1183
+ e(Z, [2, 9], {
1184
+ 16: 85,
1185
+ 17: 86,
1186
+ 15: 130,
1187
+ 18: [1, 129],
1188
+ 60: p,
1189
+ 86: C,
1190
+ 100: w,
1191
+ 102: T,
1192
+ 103: E
1193
+ }),
1194
+ e(Z, [2, 10]),
1195
+ e(ie, [2, 55], {
1196
+ 11: 131,
1197
+ 12: re
1198
+ }),
1199
+ e(D, [2, 7]),
1200
+ { 9: [1, 132] },
1201
+ e(Q, [2, 67]),
1202
+ {
1203
+ 16: 39,
1204
+ 17: 40,
1205
+ 19: 133,
1206
+ 60: p,
1207
+ 86: C,
1208
+ 100: w,
1209
+ 102: T,
1210
+ 103: E
1211
+ },
1212
+ {
1213
+ 13: [1, 135],
1214
+ 16: 39,
1215
+ 17: 40,
1216
+ 19: 134,
1217
+ 60: p,
1218
+ 86: C,
1219
+ 100: w,
1220
+ 102: T,
1221
+ 103: E
1222
+ },
1223
+ e(z, [2, 82], {
1224
+ 66: 136,
1225
+ 68: k,
1226
+ 69: A,
1227
+ 70: j,
1228
+ 71: M,
1229
+ 72: N
1230
+ }),
1231
+ e(z, [2, 81]),
1232
+ { 41: [1, 137] },
1233
+ {
1234
+ 23: 99,
1235
+ 24: 97,
1236
+ 30: 98,
1237
+ 38: 22,
1238
+ 40: 138,
1239
+ 42: a,
1240
+ 43: 23,
1241
+ 48: s,
1242
+ 54: u,
1243
+ 56: d
1244
+ },
1245
+ {
1246
+ 8: [1, 139],
1247
+ 41: [2, 38]
1248
+ },
1249
+ {
1250
+ 8: [1, 140],
1251
+ 41: [2, 41]
1252
+ },
1253
+ {
1254
+ 8: [1, 141],
1255
+ 41: [2, 44]
1256
+ },
1257
+ e(I, [2, 48], { 39: [1, 142] }),
1258
+ { 41: [1, 143] },
1259
+ e(I, [2, 50]),
1260
+ {
1261
+ 41: [2, 61],
1262
+ 45: 144,
1263
+ 51: V
1264
+ },
1265
+ { 47: [1, 145] },
1266
+ {
1267
+ 16: 39,
1268
+ 17: 40,
1269
+ 19: 146,
1270
+ 60: p,
1271
+ 86: C,
1272
+ 100: w,
1273
+ 102: T,
1274
+ 103: E
1275
+ },
1276
+ e(O, [2, 91], { 13: [1, 147] }),
1277
+ e(O, [2, 93], {
1278
+ 13: [1, 149],
1279
+ 77: [1, 148]
1280
+ }),
1281
+ e(O, [2, 97], {
1282
+ 13: [1, 150],
1283
+ 80: [1, 151]
1284
+ }),
1285
+ { 13: [1, 152] },
1286
+ e(O, [2, 105], { 61: ae }),
1287
+ e(oe, [2, 107], {
1288
+ 85: 154,
1289
+ 22: H,
1290
+ 50: U,
1291
+ 60: W,
1292
+ 82: G,
1293
+ 86: K,
1294
+ 87: q,
1295
+ 88: J,
1296
+ 89: Y,
1297
+ 90: X
1298
+ }),
1299
+ e($, [2, 109]),
1300
+ e($, [2, 111]),
1301
+ e($, [2, 112]),
1302
+ e($, [2, 113]),
1303
+ e($, [2, 114]),
1304
+ e($, [2, 115]),
1305
+ e($, [2, 116]),
1306
+ e($, [2, 117]),
1307
+ e($, [2, 118]),
1308
+ e($, [2, 119]),
1309
+ e(O, [2, 106]),
1310
+ e(I, [2, 71]),
1311
+ e(O, [2, 73], { 61: ae }),
1312
+ { 60: [1, 155] },
1313
+ e(L, [2, 14]),
1314
+ { 39: [2, 37] },
1315
+ { 13: [1, 156] },
1316
+ {
1317
+ 15: 157,
1318
+ 16: 85,
1319
+ 17: 86,
1320
+ 60: p,
1321
+ 86: C,
1322
+ 100: w,
1323
+ 102: T,
1324
+ 103: E
1325
+ },
1326
+ e(Z, [2, 12]),
1327
+ e(ie, [2, 56]),
1328
+ { 1: [2, 4] },
1329
+ e(Q, [2, 69]),
1330
+ e(Q, [2, 68]),
1331
+ {
1332
+ 16: 39,
1333
+ 17: 40,
1334
+ 19: 158,
1335
+ 60: p,
1336
+ 86: C,
1337
+ 100: w,
1338
+ 102: T,
1339
+ 103: E
1340
+ },
1341
+ e(z, [2, 80]),
1342
+ e(I, [2, 34]),
1343
+ { 41: [1, 159] },
1344
+ {
1345
+ 23: 99,
1346
+ 24: 97,
1347
+ 30: 98,
1348
+ 38: 22,
1349
+ 40: 160,
1350
+ 41: [2, 39],
1351
+ 42: a,
1352
+ 43: 23,
1353
+ 48: s,
1354
+ 54: u,
1355
+ 56: d
1356
+ },
1357
+ {
1358
+ 23: 99,
1359
+ 24: 97,
1360
+ 30: 98,
1361
+ 38: 22,
1362
+ 40: 161,
1363
+ 41: [2, 42],
1364
+ 42: a,
1365
+ 43: 23,
1366
+ 48: s,
1367
+ 54: u,
1368
+ 56: d
1369
+ },
1370
+ {
1371
+ 23: 99,
1372
+ 24: 97,
1373
+ 30: 98,
1374
+ 38: 22,
1375
+ 40: 162,
1376
+ 41: [2, 45],
1377
+ 42: a,
1378
+ 43: 23,
1379
+ 48: s,
1380
+ 54: u,
1381
+ 56: d
1382
+ },
1383
+ {
1384
+ 45: 163,
1385
+ 51: V
1386
+ },
1387
+ e(I, [2, 49]),
1388
+ { 41: [2, 62] },
1389
+ e(I, [2, 52], { 39: [1, 164] }),
1390
+ e(O, [2, 60]),
1391
+ e(O, [2, 92]),
1392
+ e(O, [2, 94]),
1393
+ e(O, [2, 95], { 77: [1, 165] }),
1394
+ e(O, [2, 98]),
1395
+ e(O, [2, 99], { 13: [1, 166] }),
1396
+ e(O, [2, 101], {
1397
+ 13: [1, 168],
1398
+ 77: [1, 167]
1399
+ }),
1400
+ {
1401
+ 22: H,
1402
+ 50: U,
1403
+ 60: W,
1404
+ 82: G,
1405
+ 84: 169,
1406
+ 85: 112,
1407
+ 86: K,
1408
+ 87: q,
1409
+ 88: J,
1410
+ 89: Y,
1411
+ 90: X
1412
+ },
1413
+ e($, [2, 110]),
1414
+ e(ne, [2, 75]),
1415
+ { 14: [1, 170] },
1416
+ e(Z, [2, 11]),
1417
+ e(Q, [2, 70]),
1418
+ e(I, [2, 35]),
1419
+ { 41: [2, 40] },
1420
+ { 41: [2, 43] },
1421
+ { 41: [2, 46] },
1422
+ { 41: [1, 171] },
1423
+ {
1424
+ 41: [1, 173],
1425
+ 45: 172,
1426
+ 51: V
1427
+ },
1428
+ e(O, [2, 96]),
1429
+ e(O, [2, 100]),
1430
+ e(O, [2, 102]),
1431
+ e(O, [2, 103], { 77: [1, 174] }),
1432
+ e(oe, [2, 108], {
1433
+ 85: 154,
1434
+ 22: H,
1435
+ 50: U,
1436
+ 60: W,
1437
+ 82: G,
1438
+ 86: K,
1439
+ 87: q,
1440
+ 88: J,
1441
+ 89: Y,
1442
+ 90: X
1443
+ }),
1444
+ e(ie, [2, 8]),
1445
+ e(I, [2, 51]),
1446
+ { 41: [1, 175] },
1447
+ e(I, [2, 54]),
1448
+ e(O, [2, 104]),
1449
+ e(I, [2, 53])
1450
+ ],
1451
+ defaultActions: {
1452
+ 2: [2, 1],
1453
+ 3: [2, 2],
1454
+ 4: [2, 3],
1455
+ 127: [2, 37],
1456
+ 132: [2, 4],
1457
+ 144: [2, 62],
1458
+ 160: [2, 40],
1459
+ 161: [2, 43],
1460
+ 162: [2, 46]
1461
+ },
1462
+ parseError: /* @__PURE__ */ i(function(e, t) {
1463
+ if (t.recoverable) this.trace(e);
1464
+ else {
1465
+ var n = Error(e);
1466
+ throw n.hash = t, n;
1467
+ }
1468
+ }, "parseError"),
1469
+ parse: /* @__PURE__ */ i(function(e) {
1470
+ var t = this, n = [0], r = [], 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: {} };
1471
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1472
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1473
+ var v = h.yylloc;
1474
+ o.push(v);
1475
+ var y = h.options && h.options.ranges;
1476
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1477
+ function b(e) {
1478
+ n.length -= 2 * e, a.length -= e, o.length -= e;
1479
+ }
1480
+ i(b, "popStack");
1481
+ function x() {
1482
+ var e = r.pop() || h.lex() || p;
1483
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1484
+ }
1485
+ i(x, "lex");
1486
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1487
+ if (w = n[n.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]) {
1488
+ var M = "";
1489
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
1490
+ 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, {
1491
+ text: h.match,
1492
+ token: this.terminals_[S] || S,
1493
+ line: h.yylineno,
1494
+ loc: v,
1495
+ expected: j
1496
+ });
1497
+ }
1498
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1499
+ switch (T[0]) {
1500
+ case 1:
1501
+ n.push(S), a.push(h.yytext), o.push(h.yylloc), n.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--);
1502
+ break;
1503
+ case 2:
1504
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1505
+ first_line: o[o.length - (k || 1)].first_line,
1506
+ last_line: o[o.length - 1].last_line,
1507
+ first_column: o[o.length - (k || 1)].first_column,
1508
+ last_column: o[o.length - 1].last_column
1509
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1510
+ c,
1511
+ u,
1512
+ l,
1513
+ g.yy,
1514
+ T[1],
1515
+ a,
1516
+ o
1517
+ ].concat(m)), E !== void 0) return E;
1518
+ k && (n = n.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[n[n.length - 2]][n[n.length - 1]], n.push(A);
1519
+ break;
1520
+ case 3: return !0;
1521
+ }
1522
+ }
1523
+ return !0;
1524
+ }, "parse")
1525
+ };
1526
+ se.lexer = /* @__PURE__ */ (function() {
1527
+ return {
1528
+ EOF: 1,
1529
+ parseError: /* @__PURE__ */ i(function(e, t) {
1530
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1531
+ else throw Error(e);
1532
+ }, "parseError"),
1533
+ setInput: /* @__PURE__ */ i(function(e, t) {
1534
+ 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 = {
1535
+ first_line: 1,
1536
+ first_column: 0,
1537
+ last_line: 1,
1538
+ last_column: 0
1539
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1540
+ }, "setInput"),
1541
+ input: /* @__PURE__ */ i(function() {
1542
+ var e = this._input[0];
1543
+ 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;
1544
+ }, "input"),
1545
+ unput: /* @__PURE__ */ i(function(e) {
1546
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1547
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1548
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1549
+ 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);
1550
+ var i = this.yylloc.range;
1551
+ return this.yylloc = {
1552
+ first_line: this.yylloc.first_line,
1553
+ last_line: this.yylineno + 1,
1554
+ first_column: this.yylloc.first_column,
1555
+ 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
1556
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1557
+ }, "unput"),
1558
+ more: /* @__PURE__ */ i(function() {
1559
+ return this._more = !0, this;
1560
+ }, "more"),
1561
+ reject: /* @__PURE__ */ i(function() {
1562
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1563
+ 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(), {
1564
+ text: "",
1565
+ token: null,
1566
+ line: this.yylineno
1567
+ });
1568
+ return this;
1569
+ }, "reject"),
1570
+ less: /* @__PURE__ */ i(function(e) {
1571
+ this.unput(this.match.slice(e));
1572
+ }, "less"),
1573
+ pastInput: /* @__PURE__ */ i(function() {
1574
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1575
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1576
+ }, "pastInput"),
1577
+ upcomingInput: /* @__PURE__ */ i(function() {
1578
+ var e = this.match;
1579
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1580
+ }, "upcomingInput"),
1581
+ showPosition: /* @__PURE__ */ i(function() {
1582
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1583
+ return e + this.upcomingInput() + "\n" + t + "^";
1584
+ }, "showPosition"),
1585
+ test_match: /* @__PURE__ */ i(function(e, t) {
1586
+ var n, r, i;
1587
+ if (this.options.backtrack_lexer && (i = {
1588
+ yylineno: this.yylineno,
1589
+ yylloc: {
1590
+ first_line: this.yylloc.first_line,
1591
+ last_line: this.last_line,
1592
+ first_column: this.yylloc.first_column,
1593
+ last_column: this.yylloc.last_column
1594
+ },
1595
+ yytext: this.yytext,
1596
+ match: this.match,
1597
+ matches: this.matches,
1598
+ matched: this.matched,
1599
+ yyleng: this.yyleng,
1600
+ offset: this.offset,
1601
+ _more: this._more,
1602
+ _input: this._input,
1603
+ yy: this.yy,
1604
+ conditionStack: this.conditionStack.slice(0),
1605
+ done: this.done
1606
+ }, 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 = {
1607
+ first_line: this.yylloc.last_line,
1608
+ last_line: this.yylineno + 1,
1609
+ first_column: this.yylloc.last_column,
1610
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1611
+ }, 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;
1612
+ if (this._backtrack) {
1613
+ for (var a in i) this[a] = i[a];
1614
+ return !1;
1615
+ }
1616
+ return !1;
1617
+ }, "test_match"),
1618
+ next: /* @__PURE__ */ i(function() {
1619
+ if (this.done) return this.EOF;
1620
+ this._input || (this.done = !0);
1621
+ var e, t, n, r;
1622
+ this._more || (this.yytext = "", this.match = "");
1623
+ 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)) {
1624
+ if (t = n, r = a, this.options.backtrack_lexer) {
1625
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1626
+ if (this._backtrack) {
1627
+ t = !1;
1628
+ continue;
1629
+ } else return !1;
1630
+ } else if (!this.options.flex) break;
1631
+ }
1632
+ 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(), {
1633
+ text: "",
1634
+ token: null,
1635
+ line: this.yylineno
1636
+ });
1637
+ }, "next"),
1638
+ lex: /* @__PURE__ */ i(function() {
1639
+ return this.next() || this.lex();
1640
+ }, "lex"),
1641
+ begin: /* @__PURE__ */ i(function(e) {
1642
+ this.conditionStack.push(e);
1643
+ }, "begin"),
1644
+ popState: /* @__PURE__ */ i(function() {
1645
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1646
+ }, "popState"),
1647
+ _currentRules: /* @__PURE__ */ i(function() {
1648
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1649
+ }, "_currentRules"),
1650
+ topState: /* @__PURE__ */ i(function(e) {
1651
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1652
+ }, "topState"),
1653
+ pushState: /* @__PURE__ */ i(function(e) {
1654
+ this.begin(e);
1655
+ }, "pushState"),
1656
+ stateStackSize: /* @__PURE__ */ i(function() {
1657
+ return this.conditionStack.length;
1658
+ }, "stateStackSize"),
1659
+ options: {},
1660
+ performAction: /* @__PURE__ */ i(function(e, t, n, r) {
1661
+ switch (n) {
1662
+ case 0: return 62;
1663
+ case 1: return 63;
1664
+ case 2: return 64;
1665
+ case 3: return 65;
1666
+ case 4: break;
1667
+ case 5: break;
1668
+ case 6: return this.begin("acc_title"), 33;
1669
+ case 7: return this.popState(), "acc_title_value";
1670
+ case 8: return this.begin("acc_descr"), 35;
1671
+ case 9: return this.popState(), "acc_descr_value";
1672
+ case 10:
1673
+ this.begin("acc_descr_multiline");
1674
+ break;
1675
+ case 11:
1676
+ this.popState();
1677
+ break;
1678
+ case 12: return "acc_descr_multiline_value";
1679
+ case 13: return 8;
1680
+ case 14: break;
1681
+ case 15: return 7;
1682
+ case 16: return 7;
1683
+ case 17: return "EDGE_STATE";
1684
+ case 18:
1685
+ this.begin("callback_name");
1686
+ break;
1687
+ case 19:
1688
+ this.popState();
1689
+ break;
1690
+ case 20:
1691
+ this.popState(), this.begin("callback_args");
1692
+ break;
1693
+ case 21: return 79;
1694
+ case 22:
1695
+ this.popState();
1696
+ break;
1697
+ case 23: return 80;
1698
+ case 24:
1699
+ this.popState();
1700
+ break;
1701
+ case 25: return "STR";
1702
+ case 26:
1703
+ this.begin("string");
1704
+ break;
1705
+ case 27: return 82;
1706
+ case 28: return 57;
1707
+ case 29: return this.begin("namespace"), 42;
1708
+ case 30: return this.popState(), 8;
1709
+ case 31: break;
1710
+ case 32: return this.begin("namespace-body"), 39;
1711
+ case 33:
1712
+ this.popState(), this.less(0);
1713
+ break;
1714
+ case 34: return this.popState(), 41;
1715
+ case 35: return "EOF_IN_STRUCT";
1716
+ case 36: return 8;
1717
+ case 37: break;
1718
+ case 38: return "EDGE_STATE";
1719
+ case 39: return this.begin("class"), 48;
1720
+ case 40: return this.popState(), 8;
1721
+ case 41: break;
1722
+ case 42: return this.popState(), this.popState(), 41;
1723
+ case 43: return this.begin("class-body"), 39;
1724
+ case 44: return this.popState(), 41;
1725
+ case 45: return "EOF_IN_STRUCT";
1726
+ case 46: return "EDGE_STATE";
1727
+ case 47: return "OPEN_IN_STRUCT";
1728
+ case 48: break;
1729
+ case 49: return "MEMBER";
1730
+ case 50: return 83;
1731
+ case 51: return 75;
1732
+ case 52: return 76;
1733
+ case 53: return 78;
1734
+ case 54: return 54;
1735
+ case 55: return 56;
1736
+ case 56: return 46;
1737
+ case 57: return 47;
1738
+ case 58: return 81;
1739
+ case 59:
1740
+ this.popState();
1741
+ break;
1742
+ case 60: return "GENERICTYPE";
1743
+ case 61:
1744
+ this.begin("generic");
1745
+ break;
1746
+ case 62:
1747
+ this.popState();
1748
+ break;
1749
+ case 63: return "BQUOTE_STR";
1750
+ case 64:
1751
+ this.begin("bqstring");
1752
+ break;
1753
+ case 65: return 77;
1754
+ case 66: return 77;
1755
+ case 67: return 77;
1756
+ case 68: return 77;
1757
+ case 69: return 69;
1758
+ case 70: return 69;
1759
+ case 71: return 71;
1760
+ case 72: return 71;
1761
+ case 73: return 70;
1762
+ case 74: return 68;
1763
+ case 75: return 72;
1764
+ case 76: return 73;
1765
+ case 77: return 74;
1766
+ case 78: return 22;
1767
+ case 79: return 44;
1768
+ case 80: return 100;
1769
+ case 81: return 18;
1770
+ case 82: return "PLUS";
1771
+ case 83: return 87;
1772
+ case 84: return 61;
1773
+ case 85: return 89;
1774
+ case 86: return 89;
1775
+ case 87: return 90;
1776
+ case 88: return "EQUALS";
1777
+ case 89: return "EQUALS";
1778
+ case 90: return 60;
1779
+ case 91: return 12;
1780
+ case 92: return 14;
1781
+ case 93: return "PUNCTUATION";
1782
+ case 94: return 86;
1783
+ case 95: return 102;
1784
+ case 96: return 50;
1785
+ case 97: return 50;
1786
+ case 98: return 9;
1787
+ }
1788
+ }, "anonymous"),
1789
+ rules: [
1790
+ /^(?:.*direction\s+TB[^\n]*)/,
1791
+ /^(?:.*direction\s+BT[^\n]*)/,
1792
+ /^(?:.*direction\s+RL[^\n]*)/,
1793
+ /^(?:.*direction\s+LR[^\n]*)/,
1794
+ /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1795
+ /^(?:%%[^\n]*(\r?\n)*)/,
1796
+ /^(?:accTitle\s*:\s*)/,
1797
+ /^(?:(?!\n||)*[^\n]*)/,
1798
+ /^(?:accDescr\s*:\s*)/,
1799
+ /^(?:(?!\n||)*[^\n]*)/,
1800
+ /^(?:accDescr\s*\{\s*)/,
1801
+ /^(?:[\}])/,
1802
+ /^(?:[^\}]*)/,
1803
+ /^(?:\s*(\r?\n)+)/,
1804
+ /^(?:\s+)/,
1805
+ /^(?:classDiagram-v2\b)/,
1806
+ /^(?:classDiagram\b)/,
1807
+ /^(?:\[\*\])/,
1808
+ /^(?:call[\s]+)/,
1809
+ /^(?:\([\s]*\))/,
1810
+ /^(?:\()/,
1811
+ /^(?:[^(]*)/,
1812
+ /^(?:\))/,
1813
+ /^(?:[^)]*)/,
1814
+ /^(?:["])/,
1815
+ /^(?:[^"]*)/,
1816
+ /^(?:["])/,
1817
+ /^(?:style\b)/,
1818
+ /^(?:classDef\b)/,
1819
+ /^(?:namespace\b)/,
1820
+ /^(?:\s*(\r?\n)+)/,
1821
+ /^(?:\s+)/,
1822
+ /^(?:[{])/,
1823
+ /^(?:[}])/,
1824
+ /^(?:[}])/,
1825
+ /^(?:$)/,
1826
+ /^(?:\s*(\r?\n)+)/,
1827
+ /^(?:\s+)/,
1828
+ /^(?:\[\*\])/,
1829
+ /^(?:class\b)/,
1830
+ /^(?:\s*(\r?\n)+)/,
1831
+ /^(?:\s+)/,
1832
+ /^(?:[}])/,
1833
+ /^(?:[{])/,
1834
+ /^(?:[}])/,
1835
+ /^(?:$)/,
1836
+ /^(?:\[\*\])/,
1837
+ /^(?:[{])/,
1838
+ /^(?:[\n])/,
1839
+ /^(?:[^{}\n]*)/,
1840
+ /^(?:cssClass\b)/,
1841
+ /^(?:callback\b)/,
1842
+ /^(?:link\b)/,
1843
+ /^(?:click\b)/,
1844
+ /^(?:note for\b)/,
1845
+ /^(?:note\b)/,
1846
+ /^(?:<<)/,
1847
+ /^(?:>>)/,
1848
+ /^(?:href\b)/,
1849
+ /^(?:[~])/,
1850
+ /^(?:[^~]*)/,
1851
+ /^(?:~)/,
1852
+ /^(?:[`])/,
1853
+ /^(?:[^`]+)/,
1854
+ /^(?:[`])/,
1855
+ /^(?:_self\b)/,
1856
+ /^(?:_blank\b)/,
1857
+ /^(?:_parent\b)/,
1858
+ /^(?:_top\b)/,
1859
+ /^(?:\s*<\|)/,
1860
+ /^(?:\s*\|>)/,
1861
+ /^(?:\s*>)/,
1862
+ /^(?:\s*<)/,
1863
+ /^(?:\s*\*)/,
1864
+ /^(?:\s*o\b)/,
1865
+ /^(?:\s*\(\))/,
1866
+ /^(?:--)/,
1867
+ /^(?:\.\.)/,
1868
+ /^(?::{1}[^:\n;]+)/,
1869
+ /^(?::{3})/,
1870
+ /^(?:-)/,
1871
+ /^(?:\.)/,
1872
+ /^(?:\+)/,
1873
+ /^(?::)/,
1874
+ /^(?:,)/,
1875
+ /^(?:#)/,
1876
+ /^(?:#)/,
1877
+ /^(?:%)/,
1878
+ /^(?:=)/,
1879
+ /^(?:=)/,
1880
+ /^(?:\w+)/,
1881
+ /^(?:\[)/,
1882
+ /^(?:\])/,
1883
+ /^(?:[!"#$%&'*+,-.`?\\/])/,
1884
+ /^(?:[0-9]+)/,
1885
+ /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,
1886
+ /^(?:\s)/,
1887
+ /^(?:\s)/,
1888
+ /^(?:$)/
1889
+ ],
1890
+ conditions: {
1891
+ "namespace-body": {
1892
+ rules: [
1893
+ 26,
1894
+ 29,
1895
+ 34,
1896
+ 35,
1897
+ 36,
1898
+ 37,
1899
+ 38,
1900
+ 39,
1901
+ 50,
1902
+ 51,
1903
+ 52,
1904
+ 53,
1905
+ 54,
1906
+ 55,
1907
+ 56,
1908
+ 57,
1909
+ 58,
1910
+ 61,
1911
+ 64,
1912
+ 65,
1913
+ 66,
1914
+ 67,
1915
+ 68,
1916
+ 69,
1917
+ 70,
1918
+ 71,
1919
+ 72,
1920
+ 73,
1921
+ 74,
1922
+ 75,
1923
+ 76,
1924
+ 77,
1925
+ 78,
1926
+ 79,
1927
+ 80,
1928
+ 81,
1929
+ 82,
1930
+ 87,
1931
+ 88,
1932
+ 89,
1933
+ 90,
1934
+ 91,
1935
+ 92,
1936
+ 93,
1937
+ 94,
1938
+ 95,
1939
+ 96,
1940
+ 98
1941
+ ],
1942
+ inclusive: !1
1943
+ },
1944
+ namespace: {
1945
+ rules: [
1946
+ 26,
1947
+ 29,
1948
+ 30,
1949
+ 31,
1950
+ 32,
1951
+ 33,
1952
+ 50,
1953
+ 51,
1954
+ 52,
1955
+ 53,
1956
+ 54,
1957
+ 55,
1958
+ 56,
1959
+ 57,
1960
+ 58,
1961
+ 61,
1962
+ 64,
1963
+ 65,
1964
+ 66,
1965
+ 67,
1966
+ 68,
1967
+ 69,
1968
+ 70,
1969
+ 71,
1970
+ 72,
1971
+ 73,
1972
+ 74,
1973
+ 75,
1974
+ 76,
1975
+ 77,
1976
+ 78,
1977
+ 79,
1978
+ 80,
1979
+ 81,
1980
+ 82,
1981
+ 87,
1982
+ 88,
1983
+ 89,
1984
+ 90,
1985
+ 91,
1986
+ 92,
1987
+ 93,
1988
+ 94,
1989
+ 95,
1990
+ 96,
1991
+ 98
1992
+ ],
1993
+ inclusive: !1
1994
+ },
1995
+ "class-body": {
1996
+ rules: [
1997
+ 26,
1998
+ 44,
1999
+ 45,
2000
+ 46,
2001
+ 47,
2002
+ 48,
2003
+ 49,
2004
+ 50,
2005
+ 51,
2006
+ 52,
2007
+ 53,
2008
+ 54,
2009
+ 55,
2010
+ 56,
2011
+ 57,
2012
+ 58,
2013
+ 61,
2014
+ 64,
2015
+ 65,
2016
+ 66,
2017
+ 67,
2018
+ 68,
2019
+ 69,
2020
+ 70,
2021
+ 71,
2022
+ 72,
2023
+ 73,
2024
+ 74,
2025
+ 75,
2026
+ 76,
2027
+ 77,
2028
+ 78,
2029
+ 79,
2030
+ 80,
2031
+ 81,
2032
+ 82,
2033
+ 87,
2034
+ 88,
2035
+ 89,
2036
+ 90,
2037
+ 91,
2038
+ 92,
2039
+ 93,
2040
+ 94,
2041
+ 95,
2042
+ 96,
2043
+ 98
2044
+ ],
2045
+ inclusive: !1
2046
+ },
2047
+ class: {
2048
+ rules: [
2049
+ 26,
2050
+ 40,
2051
+ 41,
2052
+ 42,
2053
+ 43,
2054
+ 50,
2055
+ 51,
2056
+ 52,
2057
+ 53,
2058
+ 54,
2059
+ 55,
2060
+ 56,
2061
+ 57,
2062
+ 58,
2063
+ 61,
2064
+ 64,
2065
+ 65,
2066
+ 66,
2067
+ 67,
2068
+ 68,
2069
+ 69,
2070
+ 70,
2071
+ 71,
2072
+ 72,
2073
+ 73,
2074
+ 74,
2075
+ 75,
2076
+ 76,
2077
+ 77,
2078
+ 78,
2079
+ 79,
2080
+ 80,
2081
+ 81,
2082
+ 82,
2083
+ 87,
2084
+ 88,
2085
+ 89,
2086
+ 90,
2087
+ 91,
2088
+ 92,
2089
+ 93,
2090
+ 94,
2091
+ 95,
2092
+ 96,
2093
+ 98
2094
+ ],
2095
+ inclusive: !1
2096
+ },
2097
+ acc_descr_multiline: {
2098
+ rules: [
2099
+ 11,
2100
+ 12,
2101
+ 26,
2102
+ 50,
2103
+ 51,
2104
+ 52,
2105
+ 53,
2106
+ 54,
2107
+ 55,
2108
+ 56,
2109
+ 57,
2110
+ 58,
2111
+ 61,
2112
+ 64,
2113
+ 65,
2114
+ 66,
2115
+ 67,
2116
+ 68,
2117
+ 69,
2118
+ 70,
2119
+ 71,
2120
+ 72,
2121
+ 73,
2122
+ 74,
2123
+ 75,
2124
+ 76,
2125
+ 77,
2126
+ 78,
2127
+ 79,
2128
+ 80,
2129
+ 81,
2130
+ 82,
2131
+ 87,
2132
+ 88,
2133
+ 89,
2134
+ 90,
2135
+ 91,
2136
+ 92,
2137
+ 93,
2138
+ 94,
2139
+ 95,
2140
+ 96,
2141
+ 98
2142
+ ],
2143
+ inclusive: !1
2144
+ },
2145
+ acc_descr: {
2146
+ rules: [
2147
+ 9,
2148
+ 26,
2149
+ 50,
2150
+ 51,
2151
+ 52,
2152
+ 53,
2153
+ 54,
2154
+ 55,
2155
+ 56,
2156
+ 57,
2157
+ 58,
2158
+ 61,
2159
+ 64,
2160
+ 65,
2161
+ 66,
2162
+ 67,
2163
+ 68,
2164
+ 69,
2165
+ 70,
2166
+ 71,
2167
+ 72,
2168
+ 73,
2169
+ 74,
2170
+ 75,
2171
+ 76,
2172
+ 77,
2173
+ 78,
2174
+ 79,
2175
+ 80,
2176
+ 81,
2177
+ 82,
2178
+ 87,
2179
+ 88,
2180
+ 89,
2181
+ 90,
2182
+ 91,
2183
+ 92,
2184
+ 93,
2185
+ 94,
2186
+ 95,
2187
+ 96,
2188
+ 98
2189
+ ],
2190
+ inclusive: !1
2191
+ },
2192
+ acc_title: {
2193
+ rules: [
2194
+ 7,
2195
+ 26,
2196
+ 50,
2197
+ 51,
2198
+ 52,
2199
+ 53,
2200
+ 54,
2201
+ 55,
2202
+ 56,
2203
+ 57,
2204
+ 58,
2205
+ 61,
2206
+ 64,
2207
+ 65,
2208
+ 66,
2209
+ 67,
2210
+ 68,
2211
+ 69,
2212
+ 70,
2213
+ 71,
2214
+ 72,
2215
+ 73,
2216
+ 74,
2217
+ 75,
2218
+ 76,
2219
+ 77,
2220
+ 78,
2221
+ 79,
2222
+ 80,
2223
+ 81,
2224
+ 82,
2225
+ 87,
2226
+ 88,
2227
+ 89,
2228
+ 90,
2229
+ 91,
2230
+ 92,
2231
+ 93,
2232
+ 94,
2233
+ 95,
2234
+ 96,
2235
+ 98
2236
+ ],
2237
+ inclusive: !1
2238
+ },
2239
+ callback_args: {
2240
+ rules: [
2241
+ 22,
2242
+ 23,
2243
+ 26,
2244
+ 50,
2245
+ 51,
2246
+ 52,
2247
+ 53,
2248
+ 54,
2249
+ 55,
2250
+ 56,
2251
+ 57,
2252
+ 58,
2253
+ 61,
2254
+ 64,
2255
+ 65,
2256
+ 66,
2257
+ 67,
2258
+ 68,
2259
+ 69,
2260
+ 70,
2261
+ 71,
2262
+ 72,
2263
+ 73,
2264
+ 74,
2265
+ 75,
2266
+ 76,
2267
+ 77,
2268
+ 78,
2269
+ 79,
2270
+ 80,
2271
+ 81,
2272
+ 82,
2273
+ 87,
2274
+ 88,
2275
+ 89,
2276
+ 90,
2277
+ 91,
2278
+ 92,
2279
+ 93,
2280
+ 94,
2281
+ 95,
2282
+ 96,
2283
+ 98
2284
+ ],
2285
+ inclusive: !1
2286
+ },
2287
+ callback_name: {
2288
+ rules: [
2289
+ 19,
2290
+ 20,
2291
+ 21,
2292
+ 26,
2293
+ 50,
2294
+ 51,
2295
+ 52,
2296
+ 53,
2297
+ 54,
2298
+ 55,
2299
+ 56,
2300
+ 57,
2301
+ 58,
2302
+ 61,
2303
+ 64,
2304
+ 65,
2305
+ 66,
2306
+ 67,
2307
+ 68,
2308
+ 69,
2309
+ 70,
2310
+ 71,
2311
+ 72,
2312
+ 73,
2313
+ 74,
2314
+ 75,
2315
+ 76,
2316
+ 77,
2317
+ 78,
2318
+ 79,
2319
+ 80,
2320
+ 81,
2321
+ 82,
2322
+ 87,
2323
+ 88,
2324
+ 89,
2325
+ 90,
2326
+ 91,
2327
+ 92,
2328
+ 93,
2329
+ 94,
2330
+ 95,
2331
+ 96,
2332
+ 98
2333
+ ],
2334
+ inclusive: !1
2335
+ },
2336
+ href: {
2337
+ rules: [
2338
+ 26,
2339
+ 50,
2340
+ 51,
2341
+ 52,
2342
+ 53,
2343
+ 54,
2344
+ 55,
2345
+ 56,
2346
+ 57,
2347
+ 58,
2348
+ 61,
2349
+ 64,
2350
+ 65,
2351
+ 66,
2352
+ 67,
2353
+ 68,
2354
+ 69,
2355
+ 70,
2356
+ 71,
2357
+ 72,
2358
+ 73,
2359
+ 74,
2360
+ 75,
2361
+ 76,
2362
+ 77,
2363
+ 78,
2364
+ 79,
2365
+ 80,
2366
+ 81,
2367
+ 82,
2368
+ 87,
2369
+ 88,
2370
+ 89,
2371
+ 90,
2372
+ 91,
2373
+ 92,
2374
+ 93,
2375
+ 94,
2376
+ 95,
2377
+ 96,
2378
+ 98
2379
+ ],
2380
+ inclusive: !1
2381
+ },
2382
+ struct: {
2383
+ rules: [
2384
+ 26,
2385
+ 50,
2386
+ 51,
2387
+ 52,
2388
+ 53,
2389
+ 54,
2390
+ 55,
2391
+ 56,
2392
+ 57,
2393
+ 58,
2394
+ 61,
2395
+ 64,
2396
+ 65,
2397
+ 66,
2398
+ 67,
2399
+ 68,
2400
+ 69,
2401
+ 70,
2402
+ 71,
2403
+ 72,
2404
+ 73,
2405
+ 74,
2406
+ 75,
2407
+ 76,
2408
+ 77,
2409
+ 78,
2410
+ 79,
2411
+ 80,
2412
+ 81,
2413
+ 82,
2414
+ 87,
2415
+ 88,
2416
+ 89,
2417
+ 90,
2418
+ 91,
2419
+ 92,
2420
+ 93,
2421
+ 94,
2422
+ 95,
2423
+ 96,
2424
+ 98
2425
+ ],
2426
+ inclusive: !1
2427
+ },
2428
+ generic: {
2429
+ rules: [
2430
+ 26,
2431
+ 50,
2432
+ 51,
2433
+ 52,
2434
+ 53,
2435
+ 54,
2436
+ 55,
2437
+ 56,
2438
+ 57,
2439
+ 58,
2440
+ 59,
2441
+ 60,
2442
+ 61,
2443
+ 64,
2444
+ 65,
2445
+ 66,
2446
+ 67,
2447
+ 68,
2448
+ 69,
2449
+ 70,
2450
+ 71,
2451
+ 72,
2452
+ 73,
2453
+ 74,
2454
+ 75,
2455
+ 76,
2456
+ 77,
2457
+ 78,
2458
+ 79,
2459
+ 80,
2460
+ 81,
2461
+ 82,
2462
+ 87,
2463
+ 88,
2464
+ 89,
2465
+ 90,
2466
+ 91,
2467
+ 92,
2468
+ 93,
2469
+ 94,
2470
+ 95,
2471
+ 96,
2472
+ 98
2473
+ ],
2474
+ inclusive: !1
2475
+ },
2476
+ bqstring: {
2477
+ rules: [
2478
+ 26,
2479
+ 50,
2480
+ 51,
2481
+ 52,
2482
+ 53,
2483
+ 54,
2484
+ 55,
2485
+ 56,
2486
+ 57,
2487
+ 58,
2488
+ 61,
2489
+ 62,
2490
+ 63,
2491
+ 64,
2492
+ 65,
2493
+ 66,
2494
+ 67,
2495
+ 68,
2496
+ 69,
2497
+ 70,
2498
+ 71,
2499
+ 72,
2500
+ 73,
2501
+ 74,
2502
+ 75,
2503
+ 76,
2504
+ 77,
2505
+ 78,
2506
+ 79,
2507
+ 80,
2508
+ 81,
2509
+ 82,
2510
+ 87,
2511
+ 88,
2512
+ 89,
2513
+ 90,
2514
+ 91,
2515
+ 92,
2516
+ 93,
2517
+ 94,
2518
+ 95,
2519
+ 96,
2520
+ 98
2521
+ ],
2522
+ inclusive: !1
2523
+ },
2524
+ string: {
2525
+ rules: [
2526
+ 24,
2527
+ 25,
2528
+ 26,
2529
+ 50,
2530
+ 51,
2531
+ 52,
2532
+ 53,
2533
+ 54,
2534
+ 55,
2535
+ 56,
2536
+ 57,
2537
+ 58,
2538
+ 61,
2539
+ 64,
2540
+ 65,
2541
+ 66,
2542
+ 67,
2543
+ 68,
2544
+ 69,
2545
+ 70,
2546
+ 71,
2547
+ 72,
2548
+ 73,
2549
+ 74,
2550
+ 75,
2551
+ 76,
2552
+ 77,
2553
+ 78,
2554
+ 79,
2555
+ 80,
2556
+ 81,
2557
+ 82,
2558
+ 87,
2559
+ 88,
2560
+ 89,
2561
+ 90,
2562
+ 91,
2563
+ 92,
2564
+ 93,
2565
+ 94,
2566
+ 95,
2567
+ 96,
2568
+ 98
2569
+ ],
2570
+ inclusive: !1
2571
+ },
2572
+ INITIAL: {
2573
+ rules: [
2574
+ 0,
2575
+ 1,
2576
+ 2,
2577
+ 3,
2578
+ 4,
2579
+ 5,
2580
+ 6,
2581
+ 8,
2582
+ 10,
2583
+ 13,
2584
+ 14,
2585
+ 15,
2586
+ 16,
2587
+ 17,
2588
+ 18,
2589
+ 26,
2590
+ 27,
2591
+ 28,
2592
+ 29,
2593
+ 39,
2594
+ 50,
2595
+ 51,
2596
+ 52,
2597
+ 53,
2598
+ 54,
2599
+ 55,
2600
+ 56,
2601
+ 57,
2602
+ 58,
2603
+ 61,
2604
+ 64,
2605
+ 65,
2606
+ 66,
2607
+ 67,
2608
+ 68,
2609
+ 69,
2610
+ 70,
2611
+ 71,
2612
+ 72,
2613
+ 73,
2614
+ 74,
2615
+ 75,
2616
+ 76,
2617
+ 77,
2618
+ 78,
2619
+ 79,
2620
+ 80,
2621
+ 81,
2622
+ 82,
2623
+ 83,
2624
+ 84,
2625
+ 85,
2626
+ 86,
2627
+ 87,
2628
+ 88,
2629
+ 89,
2630
+ 90,
2631
+ 91,
2632
+ 92,
2633
+ 93,
2634
+ 94,
2635
+ 95,
2636
+ 96,
2637
+ 97,
2638
+ 98
2639
+ ],
2640
+ inclusive: !0
2641
+ }
2642
+ }
2643
+ };
2644
+ })();
2645
+ function ce() {
2646
+ this.yy = {};
2647
+ }
2648
+ return i(ce, "Parser"), ce.prototype = se, se.Parser = ce, new ce();
2649
+ })();
2650
+ k.parser = k;
2651
+ var A = k, j = [
2652
+ "#",
2653
+ "+",
2654
+ "~",
2655
+ "-",
2656
+ ""
2657
+ ], M = (D = class {
2658
+ constructor(e, t) {
2659
+ this.memberType = t, this.visibility = "", this.classifier = "", this.text = "";
2660
+ let n = _(e, h());
2661
+ this.parseMember(n);
2662
+ }
2663
+ getDisplayDetails() {
2664
+ let e = this.visibility + l(this.id);
2665
+ this.memberType === "method" && (e += `(${l(this.parameters.trim())})`, this.returnType && (e += " : " + l(this.returnType))), e = e.trim();
2666
+ let t = this.parseClassifier();
2667
+ return {
2668
+ displayText: e,
2669
+ cssStyle: t
2670
+ };
2671
+ }
2672
+ parseMember(e) {
2673
+ let t = "";
2674
+ if (this.memberType === "method") {
2675
+ let n = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);
2676
+ if (n) {
2677
+ let e = n[1] ? n[1].trim() : "";
2678
+ if (j.includes(e) && (this.visibility = e), this.id = n[2], this.parameters = n[3] ? n[3].trim() : "", t = n[4] ? n[4].trim() : "", this.returnType = n[5] ? n[5].trim() : "", t === "") {
2679
+ let e = this.returnType.substring(this.returnType.length - 1);
2680
+ /[$*]/.exec(e) && (t = e, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
2681
+ }
2682
+ }
2683
+ } else {
2684
+ let n = e.length, r = e.substring(0, 1), i = e.substring(n - 1);
2685
+ j.includes(r) && (this.visibility = r), /[$*]/.exec(i) && (t = i), this.id = e.substring(this.visibility === "" ? 0 : 1, t === "" ? n : n - 1);
2686
+ }
2687
+ this.classifier = t, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
2688
+ let n = `${this.visibility ? "\\" + this.visibility : ""}${l(this.id)}${this.memberType === "method" ? `(${l(this.parameters)})${this.returnType ? " : " + l(this.returnType) : ""}` : ""}`;
2689
+ this.text = n.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
2690
+ }
2691
+ parseClassifier() {
2692
+ switch (this.classifier) {
2693
+ case "*": return "font-style:italic;";
2694
+ case "$": return "text-decoration:underline;";
2695
+ default: return "";
2696
+ }
2697
+ }
2698
+ }, i(D, "ClassMember"), D), N = "classId-", P = 0, F = /* @__PURE__ */ i((e) => f.sanitizeText(e, h()), "sanitizeText"), I = (O = class e {
2699
+ constructor() {
2700
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.functions = [], this.lineType = {
2701
+ LINE: 0,
2702
+ DOTTED_LINE: 1
2703
+ }, this.relationType = {
2704
+ AGGREGATION: 0,
2705
+ EXTENSION: 1,
2706
+ COMPOSITION: 2,
2707
+ DEPENDENCY: 3,
2708
+ LOLLIPOP: 4
2709
+ }, this.setupToolTips = /* @__PURE__ */ i((e) => {
2710
+ let t = w();
2711
+ v(e).select("svg").selectAll("g").filter(function() {
2712
+ return v(this).attr("title") !== null;
2713
+ }).on("mouseover", (e) => {
2714
+ let n = v(e.currentTarget), r = n.attr("title");
2715
+ if (!r) return;
2716
+ let i = e.currentTarget.getBoundingClientRect();
2717
+ t.transition().duration(200).style("opacity", ".9"), t.html(o.sanitize(r)).style("left", `${window.scrollX + i.left + i.width / 2}px`).style("top", `${window.scrollY + i.bottom + 4}px`), n.classed("hover", !0);
2718
+ }).on("mouseout", (e) => {
2719
+ t.transition().duration(500).style("opacity", 0), v(e.currentTarget).classed("hover", !1);
2720
+ });
2721
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = u, this.getAccTitle = g, this.setAccDescription = s, this.getAccDescription = p, this.setDiagramTitle = c, this.getDiagramTitle = m, this.getConfig = /* @__PURE__ */ i(() => h().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.popNamespace = this.popNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
2722
+ }
2723
+ splitClassNameAndType(e) {
2724
+ let t = f.sanitizeText(e, h()), n = "", r = t;
2725
+ if (t.indexOf("~") > 0) {
2726
+ let e = t.split("~");
2727
+ r = F(e[0]), n = F(e[1]);
2728
+ }
2729
+ return {
2730
+ className: r,
2731
+ type: n
2732
+ };
2733
+ }
2734
+ setClassLabel(e, t) {
2735
+ let n = f.sanitizeText(e, h());
2736
+ t && (t = F(t));
2737
+ let { className: r } = this.splitClassNameAndType(n);
2738
+ this.classes.get(r).label = t, this.classes.get(r).text = `${t}${this.classes.get(r).type ? `<${this.classes.get(r).type}>` : ""}`;
2739
+ }
2740
+ addClass(e) {
2741
+ let t = f.sanitizeText(e, h()), { className: n, type: r } = this.splitClassNameAndType(t);
2742
+ if (this.classes.has(n)) return;
2743
+ let i = f.sanitizeText(n, h());
2744
+ this.classes.set(i, {
2745
+ id: i,
2746
+ type: r,
2747
+ label: i,
2748
+ text: `${i}${r ? `&lt;${r}&gt;` : ""}`,
2749
+ shape: "classBox",
2750
+ cssClasses: "default",
2751
+ methods: [],
2752
+ members: [],
2753
+ annotations: [],
2754
+ styles: [],
2755
+ domId: N + i + "-" + P
2756
+ }), P++;
2757
+ }
2758
+ addInterface(e, t) {
2759
+ let n = {
2760
+ id: `interface${this.interfaces.length}`,
2761
+ label: e,
2762
+ classId: t
2763
+ };
2764
+ this.interfaces.push(n);
2765
+ }
2766
+ setDiagramId(e) {
2767
+ this.diagramId = e;
2768
+ }
2769
+ lookUpDomId(e) {
2770
+ let t = f.sanitizeText(e, h());
2771
+ if (this.classes.has(t)) {
2772
+ let e = this.classes.get(t).domId;
2773
+ return this.diagramId ? `${this.diagramId}-${e}` : e;
2774
+ }
2775
+ throw Error("Class not found: " + t);
2776
+ }
2777
+ clear() {
2778
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.direction = "TB", d();
2779
+ }
2780
+ getClass(e) {
2781
+ return this.classes.get(e);
2782
+ }
2783
+ getClasses() {
2784
+ return this.classes;
2785
+ }
2786
+ getRelations() {
2787
+ return this.relations;
2788
+ }
2789
+ getNote(e) {
2790
+ let t = typeof e == "number" ? `note${e}` : e;
2791
+ return this.notes.get(t);
2792
+ }
2793
+ getNotes() {
2794
+ return this.notes;
2795
+ }
2796
+ addRelation(e) {
2797
+ a.debug("Adding relation: " + JSON.stringify(e));
2798
+ let t = [
2799
+ this.relationType.LOLLIPOP,
2800
+ this.relationType.AGGREGATION,
2801
+ this.relationType.COMPOSITION,
2802
+ this.relationType.DEPENDENCY,
2803
+ this.relationType.EXTENSION
2804
+ ];
2805
+ e.relation.type1 === this.relationType.LOLLIPOP && !t.includes(e.relation.type2) ? (this.addClass(e.id2), this.addInterface(e.id1, e.id2), e.id1 = `interface${this.interfaces.length - 1}`) : e.relation.type2 === this.relationType.LOLLIPOP && !t.includes(e.relation.type1) ? (this.addClass(e.id1), this.addInterface(e.id2, e.id1), e.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(e.id1), this.addClass(e.id2)), e.id1 = this.splitClassNameAndType(e.id1).className, e.id2 = this.splitClassNameAndType(e.id2).className, e.relationTitle1 = f.sanitizeText(e.relationTitle1.trim(), h()), e.relationTitle2 = f.sanitizeText(e.relationTitle2.trim(), h()), this.relations.push(e);
2806
+ }
2807
+ addAnnotation(e, t) {
2808
+ let n = this.splitClassNameAndType(e).className;
2809
+ this.classes.get(n).annotations.push(t);
2810
+ }
2811
+ addMember(e, t) {
2812
+ this.addClass(e);
2813
+ let n = this.splitClassNameAndType(e).className, r = this.classes.get(n);
2814
+ if (typeof t == "string") {
2815
+ let e = t.trim();
2816
+ e.startsWith("<<") && e.endsWith(">>") ? r.annotations.push(F(e.substring(2, e.length - 2))) : e.indexOf(")") > 0 ? r.methods.push(new M(e, "method")) : e && r.members.push(new M(e, "attribute"));
2817
+ }
2818
+ }
2819
+ addMembers(e, t) {
2820
+ Array.isArray(t) && (t.reverse(), t.forEach((t) => this.addMember(e, t)));
2821
+ }
2822
+ addNote(e, t) {
2823
+ let n = this.notes.size, r = {
2824
+ id: `note${n}`,
2825
+ class: t,
2826
+ text: e,
2827
+ index: n
2828
+ };
2829
+ return this.notes.set(r.id, r), r.id;
2830
+ }
2831
+ cleanupLabel(e) {
2832
+ return e.startsWith(":") && (e = e.substring(1)), F(e.trim());
2833
+ }
2834
+ setCssClass(e, t) {
2835
+ e.split(",").forEach((e) => {
2836
+ let n = e;
2837
+ /\d/.exec(e[0]) && (n = N + n);
2838
+ let r = this.classes.get(n);
2839
+ r && (r.cssClasses += " " + t);
2840
+ });
2841
+ }
2842
+ defineClass(e, t) {
2843
+ for (let n of e) {
2844
+ let e = this.styleClasses.get(n);
2845
+ e === void 0 && (e = {
2846
+ id: n,
2847
+ styles: [],
2848
+ textStyles: []
2849
+ }, this.styleClasses.set(n, e)), t && t.forEach((t) => {
2850
+ if (/color/.exec(t)) {
2851
+ let n = t.replace("fill", "bgFill");
2852
+ e.textStyles.push(n);
2853
+ }
2854
+ e.styles.push(t);
2855
+ }), this.classes.forEach((e) => {
2856
+ e.cssClasses.includes(n) && e.styles.push(...t.flatMap((e) => e.split(",")));
2857
+ });
2858
+ }
2859
+ }
2860
+ setTooltip(e, t) {
2861
+ e.split(",").forEach((e) => {
2862
+ t !== void 0 && (this.classes.get(e).tooltip = F(t));
2863
+ });
2864
+ }
2865
+ getTooltip(e, t) {
2866
+ return t && this.namespaces.has(t) ? this.namespaces.get(t).classes.get(e).tooltip : this.classes.get(e).tooltip;
2867
+ }
2868
+ setLink(e, t, n) {
2869
+ let r = h();
2870
+ e.split(",").forEach((e) => {
2871
+ let i = e;
2872
+ /\d/.exec(e[0]) && (i = N + i);
2873
+ let a = this.classes.get(i);
2874
+ a && (a.link = b.formatUrl(t, r), r.securityLevel === "sandbox" ? a.linkTarget = "_top" : typeof n == "string" ? a.linkTarget = F(n) : a.linkTarget = "_blank");
2875
+ }), this.setCssClass(e, "clickable");
2876
+ }
2877
+ setClickEvent(e, t, n) {
2878
+ e.split(",").forEach((e) => {
2879
+ this.setClickFunc(e, t, n), this.classes.get(e).haveCallback = !0;
2880
+ }), this.setCssClass(e, "clickable");
2881
+ }
2882
+ setClickFunc(e, t, n) {
2883
+ let r = f.sanitizeText(e, h());
2884
+ if (h().securityLevel !== "loose" || t === void 0) return;
2885
+ let i = r;
2886
+ if (this.classes.has(i)) {
2887
+ let e = [];
2888
+ if (typeof n == "string") {
2889
+ e = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2890
+ for (let t = 0; t < e.length; t++) {
2891
+ let n = e[t].trim();
2892
+ n.startsWith("\"") && n.endsWith("\"") && (n = n.substr(1, n.length - 2)), e[t] = n;
2893
+ }
2894
+ }
2895
+ e.length === 0 && e.push(i), this.functions.push(() => {
2896
+ let n = this.lookUpDomId(i), r = document.querySelector(`[id="${n}"]`);
2897
+ r !== null && r.addEventListener("click", () => {
2898
+ b.runFunc(t, ...e);
2899
+ }, !1);
2900
+ });
2901
+ }
2902
+ }
2903
+ bindFunctions(e) {
2904
+ this.functions.forEach((t) => {
2905
+ t(e);
2906
+ });
2907
+ }
2908
+ escapeHtml(e) {
2909
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
2910
+ }
2911
+ getDirection() {
2912
+ return this.direction;
2913
+ }
2914
+ setDirection(e) {
2915
+ this.direction = e;
2916
+ }
2917
+ static resolveQualifiedId(e, t) {
2918
+ let n = t.at(-1);
2919
+ return n ? `${n}.${e}` : e;
2920
+ }
2921
+ static getAncestorIds(e) {
2922
+ let t = e.split("."), n = Array(t.length);
2923
+ n[0] = t[0];
2924
+ for (let e = 1; e < t.length; e++) n[e] = `${n[e - 1]}.${t[e]}`;
2925
+ return n;
2926
+ }
2927
+ createNamespaceNode(e, t, n, r = !1) {
2928
+ return {
2929
+ id: e,
2930
+ label: t,
2931
+ classes: /* @__PURE__ */ new Map(),
2932
+ notes: /* @__PURE__ */ new Map(),
2933
+ children: /* @__PURE__ */ new Map(),
2934
+ domId: N + e + "-" + this.namespaceCounter++,
2935
+ parent: n,
2936
+ explicit: r
2937
+ };
2938
+ }
2939
+ linkParentChild(e, t) {
2940
+ let n = this.namespaces.get(e), r = this.namespaces.get(t);
2941
+ !n || !r || (n.children.has(t) || n.children.set(t, r), r.parent != null || (r.parent = e));
2942
+ }
2943
+ addNamespace(t, n) {
2944
+ let r = e.resolveQualifiedId(t, this.namespaceStack);
2945
+ if (this.namespaceStack.push(r), this.namespaces.has(r)) {
2946
+ let e = this.namespaces.get(r);
2947
+ return e.explicit = !0, n && (e.label = n), r;
2948
+ }
2949
+ let i = r.split("."), a = e.getAncestorIds(r);
2950
+ for (let e = 0; e < a.length; e++) {
2951
+ let t = a[e], r = e > 0 ? a[e - 1] : void 0, o = e === a.length - 1, s = o && n ? n : i[e];
2952
+ this.namespaces.has(t) ? o && (this.namespaces.get(t).explicit = !0) : this.namespaces.set(t, this.createNamespaceNode(t, s, r, o)), r && this.linkParentChild(r, t);
2953
+ }
2954
+ return r;
2955
+ }
2956
+ popNamespace() {
2957
+ this.namespaceStack.pop();
2958
+ }
2959
+ getNamespace(e) {
2960
+ return this.namespaces.get(e);
2961
+ }
2962
+ getNamespaces() {
2963
+ return this.namespaces;
2964
+ }
2965
+ addClassesToNamespace(e, t, n) {
2966
+ if (this.namespaces.has(e)) {
2967
+ for (let n of t) {
2968
+ let { className: t } = this.splitClassNameAndType(n), r = this.getClass(t);
2969
+ r.parent = e, this.namespaces.get(e).classes.set(t, r);
2970
+ }
2971
+ for (let t of n) {
2972
+ let n = this.getNote(t);
2973
+ n.parent = e, this.namespaces.get(e).notes.set(t, n);
2974
+ }
2975
+ }
2976
+ }
2977
+ setCssStyle(e, t) {
2978
+ let n = this.classes.get(e);
2979
+ if (!(!t || !n)) for (let e of t) e.includes(",") ? n.styles.push(...e.split(",")) : n.styles.push(e);
2980
+ }
2981
+ getArrowMarker(e) {
2982
+ let t;
2983
+ switch (e) {
2984
+ case 0:
2985
+ t = "aggregation";
2986
+ break;
2987
+ case 1:
2988
+ t = "extension";
2989
+ break;
2990
+ case 2:
2991
+ t = "composition";
2992
+ break;
2993
+ case 3:
2994
+ t = "dependency";
2995
+ break;
2996
+ case 4:
2997
+ t = "lollipop";
2998
+ break;
2999
+ default: t = "none";
3000
+ }
3001
+ return t;
3002
+ }
3003
+ resolveExplicitAncestor(e) {
3004
+ let t = e;
3005
+ for (; t;) {
3006
+ let e = this.namespaces.get(t);
3007
+ if (!e) return;
3008
+ if (e.explicit) return t;
3009
+ t = e.parent;
3010
+ }
3011
+ }
3012
+ getData() {
3013
+ var e, n;
3014
+ let r = [], i = [], a = h(), o = (e = (n = a.class) == null ? void 0 : n.hierarchicalNamespaces) == null ? !0 : e;
3015
+ for (let e of this.namespaces.values()) {
3016
+ var s;
3017
+ if (!o && !e.explicit) continue;
3018
+ let t = {
3019
+ id: e.id,
3020
+ label: o ? e.label : e.id,
3021
+ isGroup: !0,
3022
+ padding: (s = a.class.padding) == null ? 16 : s,
3023
+ shape: "rect",
3024
+ cssStyles: [],
3025
+ look: a.look,
3026
+ parentId: o ? e.parent : void 0
3027
+ };
3028
+ r.push(t);
3029
+ }
3030
+ for (let e of this.classes.values()) {
3031
+ let n = o ? e.parent : this.resolveExplicitAncestor(e.parent), i = t(t({}, e), {}, {
3032
+ type: void 0,
3033
+ isGroup: !1,
3034
+ parentId: n,
3035
+ look: a.look
3036
+ });
3037
+ r.push(i);
3038
+ }
3039
+ for (let e of this.notes.values()) {
3040
+ var c, l;
3041
+ let t = o ? e.parent : this.resolveExplicitAncestor(e.parent), n = {
3042
+ id: e.id,
3043
+ label: e.text,
3044
+ isGroup: !1,
3045
+ shape: "note",
3046
+ padding: (c = a.class.padding) == null ? 6 : c,
3047
+ cssStyles: [
3048
+ "text-align: left",
3049
+ "white-space: nowrap",
3050
+ `fill: ${a.themeVariables.noteBkgColor}`,
3051
+ `stroke: ${a.themeVariables.noteBorderColor}`
3052
+ ],
3053
+ look: a.look,
3054
+ parentId: t,
3055
+ labelType: "markdown"
3056
+ };
3057
+ r.push(n);
3058
+ let s = (l = this.classes.get(e.class)) == null ? void 0 : l.id;
3059
+ if (s) {
3060
+ let t = {
3061
+ id: `edgeNote${e.index}`,
3062
+ start: e.id,
3063
+ end: s,
3064
+ type: "normal",
3065
+ thickness: "normal",
3066
+ classes: "relation",
3067
+ arrowTypeStart: "none",
3068
+ arrowTypeEnd: "none",
3069
+ arrowheadStyle: "",
3070
+ labelStyle: [""],
3071
+ style: ["fill: none"],
3072
+ pattern: "dotted",
3073
+ look: a.look
3074
+ };
3075
+ i.push(t);
3076
+ }
3077
+ }
3078
+ for (let e of this.interfaces) {
3079
+ let t = {
3080
+ id: e.id,
3081
+ label: e.label,
3082
+ isGroup: !1,
3083
+ shape: "rect",
3084
+ cssStyles: ["opacity: 0;"],
3085
+ look: a.look
3086
+ };
3087
+ r.push(t);
3088
+ }
3089
+ let u = 0;
3090
+ for (let e of this.relations) {
3091
+ u++;
3092
+ let t = {
3093
+ id: y(e.id1, e.id2, {
3094
+ prefix: "id",
3095
+ counter: u
3096
+ }),
3097
+ start: e.id1,
3098
+ end: e.id2,
3099
+ type: "normal",
3100
+ label: e.title,
3101
+ labelpos: "c",
3102
+ thickness: "normal",
3103
+ classes: "relation",
3104
+ arrowTypeStart: this.getArrowMarker(e.relation.type1),
3105
+ arrowTypeEnd: this.getArrowMarker(e.relation.type2),
3106
+ startLabelRight: e.relationTitle1 === "none" ? "" : e.relationTitle1,
3107
+ endLabelLeft: e.relationTitle2 === "none" ? "" : e.relationTitle2,
3108
+ arrowheadStyle: "",
3109
+ labelStyle: ["display: inline-block"],
3110
+ style: e.style || "",
3111
+ pattern: e.relation.lineType == 1 ? "dashed" : "solid",
3112
+ look: a.look,
3113
+ labelType: "markdown"
3114
+ };
3115
+ i.push(t);
3116
+ }
3117
+ return {
3118
+ nodes: r,
3119
+ edges: i,
3120
+ other: {},
3121
+ config: a,
3122
+ direction: this.getDirection()
3123
+ };
3124
+ }
3125
+ }, i(O, "ClassDB"), O), ee = /* @__PURE__ */ i((e) => `g.classGroup text {
3126
+ fill: ${e.nodeBorder || e.classText};
3127
+ stroke: none;
3128
+ font-family: ${e.fontFamily};
3129
+ font-size: 10px;
3130
+
3131
+ .title {
3132
+ font-weight: bolder;
3133
+ }
3134
+
3135
+ }
3136
+
3137
+ .cluster-label text {
3138
+ fill: ${e.titleColor};
3139
+ }
3140
+ .cluster-label span {
3141
+ color: ${e.titleColor};
3142
+ }
3143
+ .cluster-label span p {
3144
+ background-color: transparent;
3145
+ }
3146
+
3147
+ .cluster rect {
3148
+ fill: ${e.clusterBkg};
3149
+ stroke: ${e.clusterBorder};
3150
+ stroke-width: 1px;
3151
+ }
3152
+
3153
+ .cluster text {
3154
+ fill: ${e.titleColor};
3155
+ }
3156
+
3157
+ .cluster span {
3158
+ color: ${e.titleColor};
3159
+ }
3160
+
3161
+ .nodeLabel, .edgeLabel {
3162
+ color: ${e.classText};
3163
+ }
3164
+
3165
+ .noteLabel .nodeLabel, .noteLabel .edgeLabel {
3166
+ color: ${e.noteTextColor};
3167
+ }
3168
+ .edgeLabel .label rect {
3169
+ fill: ${e.mainBkg};
3170
+ }
3171
+ .label text {
3172
+ fill: ${e.classText};
3173
+ }
3174
+
3175
+ .labelBkg {
3176
+ background: ${e.mainBkg};
3177
+ }
3178
+ .edgeLabel .label span {
3179
+ background: ${e.mainBkg};
3180
+ }
3181
+
3182
+ .classTitle {
3183
+ font-weight: bolder;
3184
+ }
3185
+ .node rect,
3186
+ .node circle,
3187
+ .node ellipse,
3188
+ .node polygon,
3189
+ .node path {
3190
+ fill: ${e.mainBkg};
3191
+ stroke: ${e.nodeBorder};
3192
+ stroke-width: ${e.strokeWidth};
3193
+ }
3194
+
3195
+
3196
+ .divider {
3197
+ stroke: ${e.nodeBorder};
3198
+ stroke-width: 1;
3199
+ }
3200
+
3201
+ g.clickable {
3202
+ cursor: pointer;
3203
+ }
3204
+
3205
+ g.classGroup rect {
3206
+ fill: ${e.mainBkg};
3207
+ stroke: ${e.nodeBorder};
3208
+ }
3209
+
3210
+ g.classGroup line {
3211
+ stroke: ${e.nodeBorder};
3212
+ stroke-width: 1;
3213
+ }
3214
+
3215
+ .classLabel .box {
3216
+ stroke: none;
3217
+ stroke-width: 0;
3218
+ fill: ${e.mainBkg};
3219
+ opacity: 0.5;
3220
+ }
3221
+
3222
+ .classLabel .label {
3223
+ fill: ${e.nodeBorder};
3224
+ font-size: 10px;
3225
+ }
3226
+
3227
+ .relation {
3228
+ stroke: ${e.lineColor};
3229
+ stroke-width: ${e.strokeWidth};
3230
+ fill: none;
3231
+ }
3232
+
3233
+ .dashed-line{
3234
+ stroke-dasharray: 3;
3235
+ }
3236
+
3237
+ .dotted-line{
3238
+ stroke-dasharray: 1 2;
3239
+ }
3240
+
3241
+ [id$="-compositionStart"], .composition {
3242
+ fill: ${e.lineColor} !important;
3243
+ stroke: ${e.lineColor} !important;
3244
+ stroke-width: 1;
3245
+ }
3246
+
3247
+ [id$="-compositionEnd"], .composition {
3248
+ fill: ${e.lineColor} !important;
3249
+ stroke: ${e.lineColor} !important;
3250
+ stroke-width: 1;
3251
+ }
3252
+
3253
+ [id$="-dependencyStart"], .dependency {
3254
+ fill: ${e.lineColor} !important;
3255
+ stroke: ${e.lineColor} !important;
3256
+ stroke-width: 1;
3257
+ }
3258
+
3259
+ [id$="-dependencyEnd"], .dependency {
3260
+ fill: ${e.lineColor} !important;
3261
+ stroke: ${e.lineColor} !important;
3262
+ stroke-width: 1;
3263
+ }
3264
+
3265
+ [id$="-extensionStart"], .extension {
3266
+ fill: transparent !important;
3267
+ stroke: ${e.lineColor} !important;
3268
+ stroke-width: 1;
3269
+ }
3270
+
3271
+ [id$="-extensionEnd"], .extension {
3272
+ fill: transparent !important;
3273
+ stroke: ${e.lineColor} !important;
3274
+ stroke-width: 1;
3275
+ }
3276
+
3277
+ [id$="-aggregationStart"], .aggregation {
3278
+ fill: transparent !important;
3279
+ stroke: ${e.lineColor} !important;
3280
+ stroke-width: 1;
3281
+ }
3282
+
3283
+ [id$="-aggregationEnd"], .aggregation {
3284
+ fill: transparent !important;
3285
+ stroke: ${e.lineColor} !important;
3286
+ stroke-width: 1;
3287
+ }
3288
+
3289
+ [id$="-lollipopStart"], .lollipop {
3290
+ fill: ${e.mainBkg} !important;
3291
+ stroke: ${e.lineColor} !important;
3292
+ stroke-width: 1;
3293
+ }
3294
+
3295
+ [id$="-lollipopEnd"], .lollipop {
3296
+ fill: ${e.mainBkg} !important;
3297
+ stroke: ${e.lineColor} !important;
3298
+ stroke-width: 1;
3299
+ }
3300
+
3301
+ .edgeTerminals {
3302
+ font-size: 11px;
3303
+ line-height: initial;
3304
+ }
3305
+
3306
+ .classTitleText {
3307
+ text-anchor: middle;
3308
+ font-size: 18px;
3309
+ fill: ${e.textColor};
3310
+ }
3311
+
3312
+ .edgeLabel[data-look="neo"] {
3313
+ background-color: ${e.edgeLabelBackground};
3314
+ p {
3315
+ background-color: ${e.edgeLabelBackground};
3316
+ }
3317
+ rect {
3318
+ opacity: 0.5;
3319
+ background-color: ${e.edgeLabelBackground};
3320
+ fill: ${e.edgeLabelBackground};
3321
+ }
3322
+ text-align: center;
3323
+ }
3324
+ ${C()}
3325
+ `, "getStyles"), L = {
3326
+ getClasses: /* @__PURE__ */ i(function(e, t) {
3327
+ return t.db.getClasses();
3328
+ }, "getClasses"),
3329
+ draw: /* @__PURE__ */ i(/* @__PURE__ */ function() {
3330
+ var e = r(function* (e, t, n, r) {
3331
+ var i, o;
3332
+ a.info("REF0:"), a.info("Drawing class diagram (v3)", t);
3333
+ let { securityLevel: s, state: c, layout: l } = h();
3334
+ r.db.setDiagramId(t);
3335
+ let u = r.db.getData(), d = T(t, s);
3336
+ u.type = r.type, u.layoutAlgorithm = S(l), u.nodeSpacing = (c == null ? void 0 : c.nodeSpacing) || 50, u.rankSpacing = (c == null ? void 0 : c.rankSpacing) || 50, u.markers = [
3337
+ "aggregation",
3338
+ "extension",
3339
+ "composition",
3340
+ "dependency",
3341
+ "lollipop"
3342
+ ], u.diagramId = t, yield x(u, d), b.insertTitle(d, "classDiagramTitleText", (i = c == null ? void 0 : c.titleTopMargin) == null ? 25 : i, r.db.getDiagramTitle()), E(d, 8, "classDiagram", (o = c == null ? void 0 : c.useMaxWidth) == null ? !0 : o);
3343
+ });
3344
+ return function(t, n, r, i) {
3345
+ return e.apply(this, arguments);
3346
+ };
3347
+ }(), "draw"),
3348
+ getDir: /* @__PURE__ */ i((e, t = "TB") => {
3349
+ if (!e.doc) return t;
3350
+ let n = t;
3351
+ for (let t of e.doc) t.stmt === "dir" && (n = t.value);
3352
+ return n;
3353
+ }, "getDir")
3354
+ };
3355
+ //#endregion
3356
+ export { ee as i, A as n, L as r, I as t };