@elmethis/core 1.0.0-alpha.147 → 1.0.0-alpha.148

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 (1191) hide show
  1. package/dist/_virtual/_commonjsHelpers.mjs +6 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
  3. package/dist/_virtual/advancedFormat.mjs +7 -0
  4. package/dist/_virtual/advancedFormat2.mjs +4 -0
  5. package/dist/_virtual/cancellation.mjs +5 -0
  6. package/dist/_virtual/cancellation2.mjs +4 -0
  7. package/dist/_virtual/constants.mjs +4 -0
  8. package/dist/_virtual/cose-base.mjs +4 -0
  9. package/dist/_virtual/cose-base2.mjs +4 -0
  10. package/dist/_virtual/customParseFormat.mjs +7 -0
  11. package/dist/_virtual/customParseFormat2.mjs +4 -0
  12. package/dist/_virtual/cytoscape-cose-bilkent.mjs +7 -0
  13. package/dist/_virtual/cytoscape-cose-bilkent2.mjs +4 -0
  14. package/dist/_virtual/cytoscape-fcose.mjs +7 -0
  15. package/dist/_virtual/cytoscape-fcose2.mjs +4 -0
  16. package/dist/_virtual/dayjs.min.mjs +7 -0
  17. package/dist/_virtual/dayjs.min2.mjs +4 -0
  18. package/dist/_virtual/events.mjs +5 -0
  19. package/dist/_virtual/events2.mjs +4 -0
  20. package/dist/_virtual/index.mjs +5 -0
  21. package/dist/_virtual/index2.mjs +4 -0
  22. package/dist/_virtual/is.mjs +4 -0
  23. package/dist/_virtual/isoWeek.mjs +7 -0
  24. package/dist/_virtual/isoWeek2.mjs +4 -0
  25. package/dist/_virtual/layout-base.mjs +4 -0
  26. package/dist/_virtual/layout-base2.mjs +4 -0
  27. package/dist/_virtual/ral.mjs +4 -0
  28. package/dist/components/badge/ElmBadge.vue.mjs +10 -0
  29. package/dist/components/badge/ElmBadge.vue2.mjs +33 -0
  30. package/dist/components/badge/ElmBadge.vue3.mjs +14 -0
  31. package/dist/components/badge/ElmTag.vue.mjs +10 -0
  32. package/dist/components/badge/ElmTag.vue2.mjs +39 -0
  33. package/dist/components/badge/ElmTag.vue3.mjs +14 -0
  34. package/dist/components/code/ElmCodeBlock.vue.mjs +10 -0
  35. package/dist/components/code/ElmCodeBlock.vue2.mjs +86 -0
  36. package/dist/components/code/ElmCodeBlock.vue3.mjs +18 -0
  37. package/dist/components/code/ElmKatex.vue.mjs +10 -0
  38. package/dist/components/code/ElmKatex.vue2.mjs +46 -0
  39. package/dist/components/code/ElmKatex.vue3.mjs +8 -0
  40. package/dist/components/code/ElmMermaid.vue.mjs +6 -0
  41. package/dist/components/code/ElmMermaid.vue2.mjs +56 -0
  42. package/dist/components/code/ElmShikiHighlighter.vue.mjs +11 -0
  43. package/dist/components/code/ElmShikiHighlighter.vue2.mjs +44 -0
  44. package/dist/components/code/ElmShikiHighlighter.vue3.mjs +8 -0
  45. package/dist/components/containments/ElmColumn.vue.mjs +10 -0
  46. package/dist/components/containments/ElmColumn.vue2.mjs +16 -0
  47. package/dist/components/containments/ElmColumn.vue3.mjs +8 -0
  48. package/dist/components/containments/ElmColumnList.vue.mjs +10 -0
  49. package/dist/components/containments/ElmColumnList.vue2.mjs +16 -0
  50. package/dist/components/containments/ElmColumnList.vue3.mjs +6 -0
  51. package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
  52. package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
  53. package/dist/components/containments/ElmDesktopWindow.vue3.mjs +14 -0
  54. package/dist/components/containments/ElmModal.vue.mjs +10 -0
  55. package/dist/components/containments/ElmModal.vue2.mjs +44 -0
  56. package/dist/components/containments/ElmModal.vue3.mjs +11 -0
  57. package/dist/components/containments/ElmParallax.vue.mjs +10 -0
  58. package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
  59. package/dist/components/containments/ElmParallax.vue3.mjs +8 -0
  60. package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
  61. package/dist/components/containments/ElmSnackbar.vue2.mjs +39 -0
  62. package/dist/components/containments/ElmSnackbar.vue3.mjs +14 -0
  63. package/dist/components/containments/ElmSnackbarContainer.vue.mjs +10 -0
  64. package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
  65. package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +7 -0
  66. package/dist/components/containments/ElmToggle.vue.mjs +10 -0
  67. package/dist/components/containments/ElmToggle.vue2.mjs +71 -0
  68. package/dist/components/containments/ElmToggle.vue3.mjs +17 -0
  69. package/dist/components/containments/ElmTooltip.vue.mjs +10 -0
  70. package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
  71. package/dist/components/containments/ElmTooltip.vue3.mjs +8 -0
  72. package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
  73. package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
  74. package/dist/components/data/ElmMultiProgress.vue3.mjs +11 -0
  75. package/dist/components/data/ElmProgress.vue.mjs +10 -0
  76. package/dist/components/data/ElmProgress.vue2.mjs +53 -0
  77. package/dist/components/data/ElmProgress.vue3.mjs +20 -0
  78. package/dist/components/data/ElmStatusMessage.vue.mjs +10 -0
  79. package/dist/components/data/ElmStatusMessage.vue2.mjs +75 -0
  80. package/dist/components/data/ElmStatusMessage.vue3.mjs +11 -0
  81. package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
  82. package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
  83. package/dist/components/fallback/ElmBlockFallback.vue3.mjs +6 -0
  84. package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
  85. package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
  86. package/dist/components/fallback/ElmRectangleWave.vue3.mjs +9 -0
  87. package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
  88. package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
  89. package/dist/components/fallback/ElmSpinner.vue3.mjs +12 -0
  90. package/dist/components/form/ElmButton.vue.mjs +10 -0
  91. package/dist/components/form/ElmButton.vue2.mjs +57 -0
  92. package/dist/components/form/ElmButton.vue3.mjs +20 -0
  93. package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
  94. package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
  95. package/dist/components/form/ElmCheckbox.vue3.mjs +22 -0
  96. package/dist/components/form/ElmSwitch.vue.mjs +10 -0
  97. package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
  98. package/dist/components/form/ElmSwitch.vue3.mjs +16 -0
  99. package/dist/components/form/ElmTextField.vue.mjs +10 -0
  100. package/dist/components/form/ElmTextField.vue2.mjs +124 -0
  101. package/dist/components/form/ElmTextField.vue3.mjs +34 -0
  102. package/dist/components/form/ElmTotp.vue.mjs +10 -0
  103. package/dist/components/form/ElmTotp.vue2.mjs +102 -0
  104. package/dist/components/form/ElmTotp.vue3.mjs +22 -0
  105. package/dist/components/headings/ElmFragmentIdentifier.vue.mjs +10 -0
  106. package/dist/components/headings/ElmFragmentIdentifier.vue2.mjs +54 -0
  107. package/dist/components/headings/ElmFragmentIdentifier.vue3.mjs +11 -0
  108. package/dist/components/headings/ElmHeading1.vue.mjs +10 -0
  109. package/dist/components/headings/ElmHeading1.vue2.mjs +43 -0
  110. package/dist/components/headings/ElmHeading1.vue3.mjs +8 -0
  111. package/dist/components/headings/ElmHeading2.vue.mjs +10 -0
  112. package/dist/components/headings/ElmHeading2.vue2.mjs +49 -0
  113. package/dist/components/headings/ElmHeading2.vue3.mjs +11 -0
  114. package/dist/components/headings/ElmHeading3.vue.mjs +10 -0
  115. package/dist/components/headings/ElmHeading3.vue2.mjs +39 -0
  116. package/dist/components/headings/ElmHeading3.vue3.mjs +8 -0
  117. package/dist/components/headings/ElmHeading4.vue.mjs +10 -0
  118. package/dist/components/headings/ElmHeading4.vue2.mjs +31 -0
  119. package/dist/components/headings/ElmHeading4.vue3.mjs +8 -0
  120. package/dist/components/headings/ElmHeading5.vue.mjs +10 -0
  121. package/dist/components/headings/ElmHeading5.vue2.mjs +31 -0
  122. package/dist/components/headings/ElmHeading5.vue3.mjs +8 -0
  123. package/dist/components/headings/ElmHeading6.vue.mjs +10 -0
  124. package/dist/components/headings/ElmHeading6.vue2.mjs +31 -0
  125. package/dist/components/headings/ElmHeading6.vue3.mjs +8 -0
  126. package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
  127. package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
  128. package/dist/components/icon/ElmArrowIcon.vue3.mjs +17 -0
  129. package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
  130. package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +45 -0
  131. package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +15 -0
  132. package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
  133. package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
  134. package/dist/components/icon/ElmCubeIcon.vue3.mjs +12 -0
  135. package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
  136. package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
  137. package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +14 -0
  138. package/dist/components/icon/ElmLanguageIcon.vue.mjs +10 -0
  139. package/dist/components/icon/ElmLanguageIcon.vue2.mjs +148 -0
  140. package/dist/components/icon/ElmLanguageIcon.vue3.mjs +11 -0
  141. package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
  142. package/dist/components/icon/ElmLoginIcon.vue2.mjs +37 -0
  143. package/dist/components/icon/ElmLoginIcon.vue3.mjs +8 -0
  144. package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
  145. package/dist/components/icon/ElmToggleTheme.vue2.mjs +30 -0
  146. package/dist/components/icon/ElmToggleTheme.vue3.mjs +8 -0
  147. package/dist/components/icon/languages/Bash.vue.mjs +31 -0
  148. package/dist/components/icon/languages/Bash.vue2.mjs +8 -0
  149. package/dist/components/icon/languages/Css.vue.mjs +19 -0
  150. package/dist/components/icon/languages/Rust.vue.mjs +17 -0
  151. package/dist/components/inline/ElmInlineLink.vue.mjs +10 -0
  152. package/dist/components/inline/ElmInlineLink.vue2.mjs +53 -0
  153. package/dist/components/inline/ElmInlineLink.vue3.mjs +11 -0
  154. package/dist/components/inline/ElmInlineRuby.vue.mjs +29 -0
  155. package/dist/components/inline/ElmInlineRuby.vue2.mjs +4 -0
  156. package/dist/components/inline/ElmInlineText.vue.mjs +10 -0
  157. package/dist/components/inline/ElmInlineText.vue2.mjs +57 -0
  158. package/dist/components/inline/ElmInlineText.vue3.mjs +11 -0
  159. package/dist/components/media/ElmFile.vue.mjs +10 -0
  160. package/dist/components/media/ElmFile.vue2.mjs +77 -0
  161. package/dist/components/media/ElmFile.vue3.mjs +14 -0
  162. package/dist/components/media/ElmImage.vue.mjs +10 -0
  163. package/dist/components/media/ElmImage.vue2.mjs +91 -0
  164. package/dist/components/media/ElmImage.vue3.mjs +18 -0
  165. package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
  166. package/dist/components/navigation/ElmBookmark.vue2.mjs +115 -0
  167. package/dist/components/navigation/ElmBookmark.vue3.mjs +32 -0
  168. package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
  169. package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +63 -0
  170. package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +18 -0
  171. package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
  172. package/dist/components/navigation/ElmPagetop.vue2.mjs +51 -0
  173. package/dist/components/navigation/ElmPagetop.vue3.mjs +18 -0
  174. package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
  175. package/dist/components/navigation/ElmTableOfContents.vue2.mjs +43 -0
  176. package/dist/components/navigation/ElmTableOfContents.vue3.mjs +14 -0
  177. package/dist/components/others/ElmColorSample.vue.mjs +10 -0
  178. package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
  179. package/dist/components/others/ElmColorSample.vue3.mjs +9 -0
  180. package/dist/components/others/ElmColorTable.vue.mjs +10 -0
  181. package/dist/components/others/ElmColorTable.vue2.mjs +45 -0
  182. package/dist/components/others/ElmColorTable.vue3.mjs +10 -0
  183. package/dist/components/renderer/ElmJsonRenderer.vue.mjs +96 -0
  184. package/dist/components/renderer/ElmJsonRenderer.vue2.mjs +4 -0
  185. package/dist/components/renderer/ElmJsonRendererAsync.vue.mjs +24 -0
  186. package/dist/components/renderer/ElmJsonRendererAsync.vue2.mjs +4 -0
  187. package/dist/components/table/ElmTable.vue.mjs +6 -0
  188. package/dist/components/table/ElmTable.vue2.mjs +22 -0
  189. package/dist/components/table/ElmTableBody.vue.mjs +15 -0
  190. package/dist/components/table/ElmTableBody.vue3.mjs +5 -0
  191. package/dist/components/table/ElmTableCell.vue.mjs +6 -0
  192. package/dist/components/table/ElmTableCell.vue2.mjs +22 -0
  193. package/dist/components/table/ElmTableHeader.vue.mjs +15 -0
  194. package/dist/components/table/ElmTableHeader.vue3.mjs +5 -0
  195. package/dist/components/table/ElmTableRow.vue.mjs +14 -0
  196. package/dist/components/table/ElmTableRow.vue2.mjs +4 -0
  197. package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
  198. package/dist/components/typography/ElmBlockQuote.vue2.mjs +27 -0
  199. package/dist/components/typography/ElmBlockQuote.vue3.mjs +8 -0
  200. package/dist/components/typography/ElmBulletedList.vue.mjs +27 -0
  201. package/dist/components/typography/ElmBulletedList.vue3.mjs +5 -0
  202. package/dist/components/typography/ElmCallout.vue.mjs +10 -0
  203. package/dist/components/typography/ElmCallout.vue2.mjs +57 -0
  204. package/dist/components/typography/ElmCallout.vue3.mjs +14 -0
  205. package/dist/components/typography/ElmDivider.vue.mjs +10 -0
  206. package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
  207. package/dist/components/typography/ElmDivider.vue3.mjs +8 -0
  208. package/dist/components/typography/ElmListItem.vue.mjs +10 -0
  209. package/dist/components/typography/ElmListItem.vue2.mjs +16 -0
  210. package/dist/components/typography/ElmListItem.vue3.mjs +8 -0
  211. package/dist/components/typography/ElmNumberedList.vue.mjs +27 -0
  212. package/dist/components/typography/ElmNumberedList.vue3.mjs +5 -0
  213. package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
  214. package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
  215. package/dist/components/typography/ElmParagraph.vue3.mjs +8 -0
  216. package/dist/hooks/useElmethisTheme.mjs +43 -0
  217. package/dist/hooks/useTyping.mjs +37 -0
  218. package/dist/index.mjs +150 -0
  219. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +20 -0
  220. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +76 -0
  221. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +57 -0
  222. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +220 -0
  223. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +64 -0
  224. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +101 -0
  225. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +45 -0
  226. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +693 -0
  227. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +39 -0
  228. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +14 -0
  229. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +10 -0
  230. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +15 -0
  231. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +15 -0
  232. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +28 -0
  233. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
  234. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +54 -0
  235. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +17 -0
  236. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +27 -0
  237. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +24 -0
  238. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +120 -0
  239. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +33 -0
  240. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +10 -0
  241. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +29 -0
  242. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +41 -0
  243. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +6 -0
  244. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +34 -0
  245. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +34 -0
  246. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +541 -0
  247. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +46 -0
  248. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +34 -0
  249. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +42 -0
  250. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +34 -0
  251. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +6 -0
  252. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +6 -0
  253. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +6 -0
  254. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +6 -0
  255. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +6 -0
  256. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +115 -0
  257. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +531 -0
  258. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +393 -0
  259. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +42 -0
  260. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +12 -0
  261. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +4 -0
  262. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +42 -0
  263. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +87 -0
  264. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +161 -0
  265. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +60 -0
  266. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +416 -0
  267. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +47 -0
  268. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +41 -0
  269. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +24 -0
  270. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +424 -0
  271. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +22 -0
  272. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +48 -0
  273. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +387 -0
  274. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +40 -0
  275. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +83 -0
  276. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +181 -0
  277. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +25 -0
  278. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +69 -0
  279. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +270 -0
  280. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +59 -0
  281. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +128 -0
  282. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +38 -0
  283. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +323 -0
  284. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +434 -0
  285. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +251 -0
  286. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +167 -0
  287. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +19 -0
  288. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +720 -0
  289. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +11 -0
  290. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +552 -0
  291. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +214 -0
  292. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +20 -0
  293. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +115 -0
  294. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +88 -0
  295. package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +1090 -0
  296. package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +2555 -0
  297. package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +374 -0
  298. package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +1278 -0
  299. package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +29469 -0
  300. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +21 -0
  301. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +21 -0
  302. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +21 -0
  303. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +6 -0
  304. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +10 -0
  305. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +47 -0
  306. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +6 -0
  307. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +21 -0
  308. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +21 -0
  309. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +6 -0
  310. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +11 -0
  311. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +51 -0
  312. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +94 -0
  313. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +6 -0
  314. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +338 -0
  315. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +13 -0
  316. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +95 -0
  317. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +6 -0
  318. package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +70 -0
  319. package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +6 -0
  320. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +20 -0
  321. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +7 -0
  322. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +15 -0
  323. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +15 -0
  324. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +10 -0
  325. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +12 -0
  326. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +10 -0
  327. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +37 -0
  328. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +21 -0
  329. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +21 -0
  330. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +6 -0
  331. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +82 -0
  332. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +7 -0
  333. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +7 -0
  334. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +8 -0
  335. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +13 -0
  336. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +29 -0
  337. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +4 -0
  338. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +9 -0
  339. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +18 -0
  340. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +8 -0
  341. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +15 -0
  342. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +20 -0
  343. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +20 -0
  344. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +8 -0
  345. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +43 -0
  346. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +28 -0
  347. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +59 -0
  348. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +18 -0
  349. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +16 -0
  350. package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +73 -0
  351. package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +88 -0
  352. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +22 -0
  353. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +8 -0
  354. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +326 -0
  355. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +13 -0
  356. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +5 -0
  357. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +8 -0
  358. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +56 -0
  359. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +8 -0
  360. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +95 -0
  361. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +16 -0
  362. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +61 -0
  363. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +14 -0
  364. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +6 -0
  365. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +38 -0
  366. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +34 -0
  367. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +54 -0
  368. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +6 -0
  369. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +8 -0
  370. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +20 -0
  371. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +14 -0
  372. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +9 -0
  373. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +12 -0
  374. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +7 -0
  375. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +10 -0
  376. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +46 -0
  377. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +9 -0
  378. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +64 -0
  379. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +14 -0
  380. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +76 -0
  381. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +6 -0
  382. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +28 -0
  383. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +11 -0
  384. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +6 -0
  385. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +31 -0
  386. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +8 -0
  387. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +16 -0
  388. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +20 -0
  389. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +88 -0
  390. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +14 -0
  391. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +10 -0
  392. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +19 -0
  393. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +9 -0
  394. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +18 -0
  395. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +12 -0
  396. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +6 -0
  397. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +64 -0
  398. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +14 -0
  399. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +23 -0
  400. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +9 -0
  401. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +10 -0
  402. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +17 -0
  403. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +24 -0
  404. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +16 -0
  405. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +16 -0
  406. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +8 -0
  407. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +22 -0
  408. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +6 -0
  409. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +28 -0
  410. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +20 -0
  411. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +10 -0
  412. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +11 -0
  413. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +6 -0
  414. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +4 -0
  415. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +8 -0
  416. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +45 -0
  417. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +10 -0
  418. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +133 -0
  419. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +6 -0
  420. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +8 -0
  421. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +66 -0
  422. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +63 -0
  423. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +50 -0
  424. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +49 -0
  425. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +43 -0
  426. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +73 -0
  427. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +69 -0
  428. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +57 -0
  429. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +83 -0
  430. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +75 -0
  431. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +63 -0
  432. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +39 -0
  433. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +25 -0
  434. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +99 -0
  435. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +54 -0
  436. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +59 -0
  437. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +6 -0
  438. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +6 -0
  439. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +41 -0
  440. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +32 -0
  441. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +5 -0
  442. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +19 -0
  443. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +55 -0
  444. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +10 -0
  445. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +25 -0
  446. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +542 -0
  447. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +34 -0
  448. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +16 -0
  449. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +26 -0
  450. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +61 -0
  451. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +23 -0
  452. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +26 -0
  453. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +27 -0
  454. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +15 -0
  455. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +54 -0
  456. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +66 -0
  457. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +45 -0
  458. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +13 -0
  459. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +96 -0
  460. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +21 -0
  461. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +5 -0
  462. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +9 -0
  463. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +39 -0
  464. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +55 -0
  465. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +42 -0
  466. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +18 -0
  467. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +18 -0
  468. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +14 -0
  469. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +15 -0
  470. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +23 -0
  471. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +16 -0
  472. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +68 -0
  473. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +11 -0
  474. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +18 -0
  475. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +23 -0
  476. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +13 -0
  477. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +125 -0
  478. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +20 -0
  479. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +24 -0
  480. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +8 -0
  481. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +47 -0
  482. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +25 -0
  483. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +18 -0
  484. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +25 -0
  485. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +22 -0
  486. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +64 -0
  487. package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +45 -0
  488. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +55 -0
  489. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +33 -0
  490. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +66 -0
  491. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +49 -0
  492. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +97 -0
  493. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +344 -0
  494. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +94 -0
  495. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +69 -0
  496. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +25 -0
  497. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +29 -0
  498. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +33 -0
  499. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +54 -0
  500. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +51 -0
  501. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +30 -0
  502. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +84 -0
  503. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +66 -0
  504. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +47 -0
  505. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +66 -0
  506. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +296 -0
  507. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +29 -0
  508. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +45 -0
  509. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +29 -0
  510. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +148 -0
  511. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +30 -0
  512. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +164 -0
  513. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +33 -0
  514. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +2 -0
  515. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +2 -0
  516. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +7 -0
  517. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +7 -0
  518. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +7 -0
  519. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +420 -0
  520. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +47 -0
  521. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +286 -0
  522. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +58 -0
  523. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +133 -0
  524. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +37 -0
  525. package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +965 -0
  526. package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +43 -0
  527. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +131 -0
  528. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +5 -0
  529. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +24 -0
  530. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +40 -0
  531. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +50 -0
  532. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +39 -0
  533. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +172 -0
  534. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +33 -0
  535. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +13 -0
  536. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +15 -0
  537. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +13 -0
  538. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +12 -0
  539. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +8 -0
  540. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +7 -0
  541. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +12 -0
  542. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +7 -0
  543. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +7 -0
  544. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +7 -0
  545. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +10 -0
  546. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +20 -0
  547. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +18 -0
  548. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +95 -0
  549. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +11 -0
  550. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +14 -0
  551. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +10 -0
  552. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +87 -0
  553. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +74 -0
  554. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +17 -0
  555. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +62 -0
  556. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +478 -0
  557. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +725 -0
  558. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +20 -0
  559. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +11 -0
  560. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +13 -0
  561. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +233 -0
  562. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +17 -0
  563. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +453 -0
  564. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +72 -0
  565. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +336 -0
  566. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +105 -0
  567. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +111 -0
  568. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +139 -0
  569. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +19 -0
  570. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +80 -0
  571. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +70 -0
  572. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +62 -0
  573. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +60 -0
  574. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +256 -0
  575. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +202 -0
  576. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +69 -0
  577. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +73 -0
  578. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +159 -0
  579. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +137 -0
  580. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +177 -0
  581. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +126 -0
  582. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +12 -0
  583. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +12 -0
  584. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +33 -0
  585. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +377 -0
  586. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +56 -0
  587. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +239 -0
  588. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +466 -0
  589. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +37 -0
  590. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +236 -0
  591. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +142 -0
  592. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +75 -0
  593. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +43 -0
  594. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +81 -0
  595. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +328 -0
  596. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +210 -0
  597. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +15 -0
  598. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +74 -0
  599. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +64 -0
  600. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +106 -0
  601. package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +3197 -0
  602. package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +3745 -0
  603. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +6 -0
  604. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +21 -0
  605. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +21 -0
  606. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +6 -0
  607. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +21 -0
  608. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +6 -0
  609. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +6 -0
  610. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +15 -0
  611. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +18 -0
  612. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +5 -0
  613. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +5 -0
  614. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +6 -0
  615. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +16 -0
  616. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +12 -0
  617. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +13 -0
  618. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +8 -0
  619. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +24 -0
  620. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +10 -0
  621. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +10 -0
  622. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +13 -0
  623. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +12 -0
  624. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +10 -0
  625. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +13 -0
  626. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +13 -0
  627. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +8 -0
  628. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +16 -0
  629. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +83 -0
  630. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +21 -0
  631. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +6 -0
  632. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +14 -0
  633. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +13 -0
  634. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +12 -0
  635. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +21 -0
  636. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +5 -0
  637. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +8 -0
  638. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +13 -0
  639. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +9 -0
  640. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +14 -0
  641. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +6 -0
  642. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +9 -0
  643. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +9 -0
  644. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +14 -0
  645. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +45 -0
  646. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +9 -0
  647. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +35 -0
  648. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +6 -0
  649. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +22 -0
  650. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +9 -0
  651. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +14 -0
  652. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +20 -0
  653. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +19 -0
  654. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +20 -0
  655. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +6 -0
  656. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +12 -0
  657. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +15 -0
  658. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +20 -0
  659. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +27 -0
  660. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +61 -0
  661. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +8 -0
  662. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +9 -0
  663. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +9 -0
  664. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +9 -0
  665. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +14 -0
  666. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +10 -0
  667. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +21 -0
  668. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +8 -0
  669. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +46 -0
  670. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +6 -0
  671. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +7 -0
  672. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +13 -0
  673. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +9 -0
  674. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +16 -0
  675. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +7 -0
  676. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +9 -0
  677. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +8 -0
  678. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +8 -0
  679. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +11 -0
  680. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +23 -0
  681. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +8 -0
  682. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +5 -0
  683. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +23 -0
  684. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +21 -0
  685. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +15 -0
  686. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +10 -0
  687. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +12 -0
  688. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +50 -0
  689. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +59 -0
  690. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +50 -0
  691. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +4 -0
  692. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +9 -0
  693. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +8 -0
  694. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +13 -0
  695. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +9 -0
  696. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +5 -0
  697. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +25 -0
  698. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +17 -0
  699. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +34 -0
  700. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +6 -0
  701. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +25 -0
  702. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +8 -0
  703. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +8 -0
  704. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +15 -0
  705. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +10 -0
  706. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +11 -0
  707. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +13 -0
  708. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +43 -0
  709. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +9 -0
  710. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +10 -0
  711. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +10 -0
  712. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +17 -0
  713. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +16 -0
  714. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +7 -0
  715. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +11 -0
  716. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +8 -0
  717. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +7 -0
  718. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +7 -0
  719. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +20 -0
  720. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +8 -0
  721. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +7 -0
  722. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +14 -0
  723. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +14 -0
  724. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +9 -0
  725. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +7 -0
  726. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +7 -0
  727. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +10 -0
  728. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +10 -0
  729. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +11 -0
  730. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +15 -0
  731. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +5 -0
  732. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +5 -0
  733. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +12 -0
  734. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +18 -0
  735. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +8 -0
  736. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +8 -0
  737. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +21 -0
  738. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +6 -0
  739. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +12 -0
  740. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +8 -0
  741. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +6 -0
  742. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +10 -0
  743. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +6 -0
  744. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +20 -0
  745. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +8 -0
  746. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +8 -0
  747. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +6 -0
  748. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +6 -0
  749. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +22 -0
  750. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +12 -0
  751. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +16 -0
  752. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +11 -0
  753. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +18 -0
  754. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +8 -0
  755. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +8 -0
  756. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +6 -0
  757. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +11 -0
  758. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +8 -0
  759. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +8 -0
  760. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +11 -0
  761. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +8 -0
  762. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +8 -0
  763. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +6 -0
  764. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +13 -0
  765. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +4 -0
  766. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +8 -0
  767. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +8 -0
  768. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +11 -0
  769. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +35 -0
  770. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +13 -0
  771. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +7 -0
  772. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +8 -0
  773. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +7 -0
  774. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +6 -0
  775. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +22 -0
  776. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +8 -0
  777. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +9 -0
  778. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +8 -0
  779. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +9 -0
  780. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +9 -0
  781. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +11 -0
  782. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +22 -0
  783. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +8 -0
  784. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +9 -0
  785. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +5 -0
  786. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +10 -0
  787. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +12 -0
  788. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +6 -0
  789. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +6 -0
  790. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +8 -0
  791. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +7 -0
  792. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +8 -0
  793. package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +2152 -0
  794. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +1093 -0
  795. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +3598 -0
  796. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +2487 -0
  797. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +17 -0
  798. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +143 -0
  799. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +2696 -0
  800. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +19 -0
  801. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +1828 -0
  802. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +1961 -0
  803. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +332 -0
  804. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +109 -0
  805. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +78 -0
  806. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +5018 -0
  807. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +696 -0
  808. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +17 -0
  809. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +557 -0
  810. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +38 -0
  811. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +57 -0
  812. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +107 -0
  813. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +17 -0
  814. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +3052 -0
  815. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +27 -0
  816. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +27 -0
  817. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +662 -0
  818. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +306 -0
  819. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +191 -0
  820. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +1168 -0
  821. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +2339 -0
  822. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +2104 -0
  823. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +1215 -0
  824. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +31 -0
  825. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +1201 -0
  826. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +1055 -0
  827. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +1195 -0
  828. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +188 -0
  829. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +1340 -0
  830. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +1168 -0
  831. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +670 -0
  832. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +3419 -0
  833. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +477 -0
  834. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +27 -0
  835. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +1232 -0
  836. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +1778 -0
  837. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +1222 -0
  838. package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.mjs +13 -0
  839. package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.mjs +4 -0
  840. package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +1001 -0
  841. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +16 -0
  842. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +164 -0
  843. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +29 -0
  844. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +156 -0
  845. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +38 -0
  846. package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +42 -0
  847. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +95 -0
  848. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +133 -0
  849. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +40 -0
  850. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +28 -0
  851. package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +225 -0
  852. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +1262 -0
  853. package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +344 -0
  854. package/package.json +25 -25
  855. package/dist/Bash-aFIJDfx0.js +0 -30
  856. package/dist/Css-aYNwv_jI.js +0 -18
  857. package/dist/ElmShikiHighlighter--ESSD5xl.js +0 -7531
  858. package/dist/Rust-CcTG3HST.js +0 -16
  859. package/dist/_basePickBy-q3OsvEq8.js +0 -152
  860. package/dist/_baseUniq-DXyFBvJx.js +0 -583
  861. package/dist/abap-BPxeDPn4.js +0 -6
  862. package/dist/actionscript-3-Cjb604Dt.js +0 -6
  863. package/dist/ada-BSgRrxrM.js +0 -6
  864. package/dist/andromeeda-uXNdzNpk.js +0 -4
  865. package/dist/angular-html-Zg5oS4-1.js +0 -32
  866. package/dist/angular-ts-NgJ-y-q8.js +0 -21
  867. package/dist/apache-Cyj7Ib-S.js +0 -6
  868. package/dist/apex-DAAiMqi-.js +0 -6
  869. package/dist/apl-DxZdCuNa.js +0 -16
  870. package/dist/applescript-CroEtIVQ.js +0 -6
  871. package/dist/ara-9AczF2vY.js +0 -6
  872. package/dist/arc-BLiqnhIS.js +0 -83
  873. package/dist/architecture-4AB2E3PP-CJBMa096.js +0 -5
  874. package/dist/architectureDiagram-IEHRJDOE-BmZLGcAR.js +0 -4633
  875. package/dist/asciidoc-raFNDrGb.js +0 -6
  876. package/dist/asm-C8ld_M07.js +0 -6
  877. package/dist/astro-DVLPOVeH.js +0 -16
  878. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  879. package/dist/awk-gc4Y_RTq.js +0 -6
  880. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  881. package/dist/ballerina-CML1q4Hw.js +0 -6
  882. package/dist/bat-BVW1L4ug.js +0 -6
  883. package/dist/beancount-DYEC72C_.js +0 -6
  884. package/dist/berry-VTah6p7n.js +0 -6
  885. package/dist/bibtex-Bqt_3AVI.js +0 -6
  886. package/dist/bicep-DGk9_2l4.js +0 -6
  887. package/dist/blade-kJIUE9Xv.js +0 -20
  888. package/dist/blockDiagram-JOT3LUYC-CirZxs50.js +0 -2247
  889. package/dist/bsl-tt9CYf2I.js +0 -8
  890. package/dist/c-Cb-M0LQR.js +0 -6
  891. package/dist/c4Diagram-VJAJSXHY-CT04iVyI.js +0 -1581
  892. package/dist/cadence-Di4VMBdJ.js +0 -6
  893. package/dist/cairo-CNbjbPRN.js +0 -8
  894. package/dist/catppuccin-frappe-MQ6irQtC.js +0 -4
  895. package/dist/catppuccin-latte-UMitw0Sv.js +0 -4
  896. package/dist/catppuccin-macchiato-CpTwm6bY.js +0 -4
  897. package/dist/catppuccin-mocha-DAcVHoH1.js +0 -4
  898. package/dist/channel-DJoWX82m.js +0 -5
  899. package/dist/chunk-4BMEZGHF-DbrRFQBV.js +0 -9
  900. package/dist/chunk-A2AXSNBT-8nnxOxzM.js +0 -1372
  901. package/dist/chunk-AEK57VVT-BuA3ibij.js +0 -1415
  902. package/dist/chunk-D6G4REZN-C3CadGUl.js +0 -64
  903. package/dist/chunk-RZ5BOZE2-bPOa0Bzk.js +0 -24
  904. package/dist/chunk-XZIHB7SX-tSNzo5Pm.js +0 -15
  905. package/dist/clarity-WOA8trQj.js +0 -6
  906. package/dist/classDiagram-GIVACNV2-Ikn0C8nj.js +0 -16
  907. package/dist/classDiagram-v2-COTLJTTW-Ikn0C8nj.js +0 -16
  908. package/dist/clojure-r3NcJ8yt.js +0 -6
  909. package/dist/clone-KYMNdRyb.js +0 -8
  910. package/dist/cmake-CQmEhYbr.js +0 -6
  911. package/dist/cobol-DpscMYyB.js +0 -10
  912. package/dist/codeowners-Bt9yU6NX.js +0 -6
  913. package/dist/codeql-2Dcm6WNF.js +0 -6
  914. package/dist/coffee-cT6mLyjo.js +0 -8
  915. package/dist/common-lisp-DuX5KqId.js +0 -6
  916. package/dist/coq-DboLktjX.js +0 -6
  917. package/dist/cpp-Dfuj7FgN.js +0 -18
  918. package/dist/crystal-Cu359yzW.js +0 -18
  919. package/dist/csharp-xQvxkZxj.js +0 -6
  920. package/dist/css-BnL1064W.js +0 -6
  921. package/dist/csv-CmYOceLb.js +0 -6
  922. package/dist/cue-ByErcpN2.js +0 -6
  923. package/dist/cypher-DEVyrV5b.js +0 -6
  924. package/dist/cytoscape.esm-aRg21b6u.js +0 -18120
  925. package/dist/d-CBVqdj3C.js +0 -6
  926. package/dist/dagre-OKDRZEBW-Dd5I26Ao.js +0 -447
  927. package/dist/dark-plus-pUHDTVV0.js +0 -4
  928. package/dist/dart-u2fD-sKr.js +0 -6
  929. package/dist/dax-Crz9Wv4y.js +0 -6
  930. package/dist/desktop-DNXSD5qJ.js +0 -6
  931. package/dist/diagram-SSKATNLV-DZNkfESc.js +0 -221
  932. package/dist/diagram-VNBRO52H-CEw-lSHb.js +0 -126
  933. package/dist/diff-DOdUfPSR.js +0 -6
  934. package/dist/docker-CsHqm9tx.js +0 -6
  935. package/dist/dotenv-BYL4tpZA.js +0 -6
  936. package/dist/dracula-BtZx2Kac.js +0 -4
  937. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  938. package/dist/dream-maker-kevRUHRs.js +0 -6
  939. package/dist/edge-D-R-hhaT.js +0 -12
  940. package/dist/elixir-DuneT2DZ.js +0 -8
  941. package/dist/elm-DdPFQYmH.js +0 -8
  942. package/dist/elmethis.js +0 -70
  943. package/dist/emacs-lisp-Bwasiep6.js +0 -6
  944. package/dist/erDiagram-Q7BY3M3F-Bi-5rbd2.js +0 -841
  945. package/dist/erb-BDkUfiWc.js +0 -10
  946. package/dist/erlang-CxpbZUOc.js +0 -6
  947. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  948. package/dist/everforest-light-BbXl82Em.js +0 -4
  949. package/dist/fennel-B1x5pKr1.js +0 -6
  950. package/dist/fish-BjbXctXH.js +0 -6
  951. package/dist/flowDiagram-4HSFHLVR-Bep2tb38.js +0 -1622
  952. package/dist/fluent-DCuHrNR-.js +0 -6
  953. package/dist/fortran-fixed-form-muAGtm2V.js +0 -8
  954. package/dist/fortran-free-form-Db8k5H7x.js +0 -6
  955. package/dist/fsharp-D3TfYvtR.js +0 -8
  956. package/dist/ganttDiagram-APWFNJXF-MiSNV5UX.js +0 -2493
  957. package/dist/gdresource-C22851qr.js +0 -10
  958. package/dist/gdscript-C-C99PjI.js +0 -6
  959. package/dist/gdshader-0TihrSQl.js +0 -6
  960. package/dist/genie-MtKmcmPo.js +0 -6
  961. package/dist/gherkin-AzJBtK0J.js +0 -6
  962. package/dist/git-commit-Cdscfa4x.js +0 -8
  963. package/dist/git-rebase-BkertWzk.js +0 -8
  964. package/dist/gitGraph-O2Q2CXLX-2aBB3Qlu.js +0 -5
  965. package/dist/gitGraphDiagram-7IBYFJ6S-BeIrUUuR.js +0 -712
  966. package/dist/github-dark-DenFmJkN.js +0 -4
  967. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  968. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  969. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  970. package/dist/github-light-JYsPkUQd.js +0 -4
  971. package/dist/github-light-default-D99KPAby.js +0 -4
  972. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  973. package/dist/gleam-BoJB89vF.js +0 -6
  974. package/dist/glimmer-js-DEzcmBLn.js +0 -14
  975. package/dist/glimmer-ts-CfoDm2Ms.js +0 -14
  976. package/dist/glsl-BcGeWDoy.js +0 -8
  977. package/dist/gnuplot-DgGnPAp8.js +0 -6
  978. package/dist/go-Cw0OOp5U.js +0 -6
  979. package/dist/graph-BN6Ja3dj.js +0 -247
  980. package/dist/graphql-BA9S3A0F.js +0 -14
  981. package/dist/groovy-45PuQEhl.js +0 -6
  982. package/dist/gruvbox-dark-hard-BDGmrmYl.js +0 -4
  983. package/dist/gruvbox-dark-medium-D7OrvcL5.js +0 -4
  984. package/dist/gruvbox-dark-soft-D_75PUdg.js +0 -4
  985. package/dist/gruvbox-light-hard-DhQt1gbs.js +0 -4
  986. package/dist/gruvbox-light-medium-DNXV_Sw8.js +0 -4
  987. package/dist/gruvbox-light-soft-C7ZspGxH.js +0 -4
  988. package/dist/hack-B5c1rmdK.js +0 -10
  989. package/dist/haml-CknjlTyn.js +0 -10
  990. package/dist/handlebars-DxZCQ1Ls.js +0 -14
  991. package/dist/haskell-ClRE648j.js +0 -6
  992. package/dist/haxe-CClgwBXY.js +0 -6
  993. package/dist/hcl-JJeBEFYE.js +0 -6
  994. package/dist/hjson-BollGKL_.js +0 -6
  995. package/dist/hlsl-b3kI2reZ.js +0 -6
  996. package/dist/houston-BDYrDoDW.js +0 -4
  997. package/dist/html-Iy9EJBkL.js +0 -10
  998. package/dist/html-derivative-BfM_d1x5.js +0 -8
  999. package/dist/http-Q-2xEgRf.js +0 -14
  1000. package/dist/hxml-C2bnoXd-.js +0 -8
  1001. package/dist/hy-S8dYOqS_.js +0 -6
  1002. package/dist/imba-DzSSVziz.js +0 -6
  1003. package/dist/index-DzMRhuTS.js +0 -17481
  1004. package/dist/info-4N47QTOZ-MlaygFtp.js +0 -5
  1005. package/dist/infoDiagram-PH2N3AL5-CLDi4hXF.js +0 -22
  1006. package/dist/ini-Cw62c0sR.js +0 -6
  1007. package/dist/init-DjUOC4st.js +0 -16
  1008. package/dist/java-DNw9zkk2.js +0 -6
  1009. package/dist/javascript-CXHlxgtu.js +0 -6
  1010. package/dist/jinja-D3ov3d_Q.js +0 -11
  1011. package/dist/jison-bKZ_ygkY.js +0 -8
  1012. package/dist/journeyDiagram-U35MCT3I-DF_hle8P.js +0 -809
  1013. package/dist/json-D4cXEhM0.js +0 -6
  1014. package/dist/json5-QDX9y-Y9.js +0 -6
  1015. package/dist/jsonc-Bph7GQf8.js +0 -6
  1016. package/dist/jsonl-CCrMgdQc.js +0 -6
  1017. package/dist/jsonnet-SAcLllmN.js +0 -6
  1018. package/dist/jssm-f8vsTkbr.js +0 -6
  1019. package/dist/jsx-BYrS51r7.js +0 -6
  1020. package/dist/julia-k0_CCOLn.js +0 -16
  1021. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  1022. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  1023. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  1024. package/dist/kanban-definition-NDS4AKOZ-D2HjB3aQ.js +0 -719
  1025. package/dist/kotlin-DZs3CUXT.js +0 -6
  1026. package/dist/kusto-gqgW0Ct6.js +0 -6
  1027. package/dist/laserwave-6a00oqik.js +0 -4
  1028. package/dist/latex-ixPYeODw.js +0 -8
  1029. package/dist/layout-eoX7qCNd.js +0 -1325
  1030. package/dist/lean-DM2VgJqL.js +0 -6
  1031. package/dist/less-I_XXVOZl.js +0 -6
  1032. package/dist/light-plus-CZuVqSLX.js +0 -4
  1033. package/dist/linear-CjVlzhPx.js +0 -423
  1034. package/dist/liquid-DQYM4OUl.js +0 -14
  1035. package/dist/llvm-D3Vjgx0u.js +0 -6
  1036. package/dist/log-D-MzYv1Z.js +0 -6
  1037. package/dist/logo-D1k-IeHX.js +0 -6
  1038. package/dist/lua-DcPVWcJ7.js +0 -8
  1039. package/dist/luau-B3dL2bb0.js +0 -6
  1040. package/dist/make-CR9bkdqJ.js +0 -6
  1041. package/dist/markdown-w3MmBOPg.js +0 -6
  1042. package/dist/marko-Dou6ix2a.js +0 -14
  1043. package/dist/material-theme-D6KBX41T.js +0 -4
  1044. package/dist/material-theme-darker-CkRroheE.js +0 -4
  1045. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  1046. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  1047. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  1048. package/dist/matlab-Dj6qX5si.js +0 -6
  1049. package/dist/mdc-Df47nGTR.js +0 -12
  1050. package/dist/mdx-COYqLMfv.js +0 -6
  1051. package/dist/mermaid-parser.core-Cnk6H5Tf.js +0 -12836
  1052. package/dist/mermaid-qIAHIJes.js +0 -6
  1053. package/dist/mermaid.core-CVg1AOGh.js +0 -15467
  1054. package/dist/min-dark-C7ak0t6c.js +0 -4
  1055. package/dist/min-light-CKFxVcPp.js +0 -4
  1056. package/dist/mindmap-definition-ALO5MXBD-RsXchRow.js +0 -3220
  1057. package/dist/mipsasm-BJbuoeDX.js +0 -6
  1058. package/dist/mojo-BFkEE7I6.js +0 -6
  1059. package/dist/monokai-C1KBYcO0.js +0 -4
  1060. package/dist/move-DhZIVzw9.js +0 -6
  1061. package/dist/narrat-Cru3p5ML.js +0 -6
  1062. package/dist/nextflow-JJGGygxI.js +0 -6
  1063. package/dist/nginx-Chu4HPUZ.js +0 -8
  1064. package/dist/night-owl-Bm2rzalh.js +0 -4
  1065. package/dist/nim-m3ClKyoA.js +0 -20
  1066. package/dist/nix-DeKhqLCs.js +0 -6
  1067. package/dist/nord-CC5OiUXg.js +0 -4
  1068. package/dist/nushell-vZ0whCpp.js +0 -6
  1069. package/dist/objective-c-DLUrAoO7.js +0 -6
  1070. package/dist/objective-cpp-BR9pz3Y7.js +0 -6
  1071. package/dist/ocaml-JmaGD6hS.js +0 -6
  1072. package/dist/one-dark-pro-DTA3VF0_.js +0 -4
  1073. package/dist/one-light-D9sNaUtq.js +0 -4
  1074. package/dist/ordinal-DfAQgscy.js +0 -61
  1075. package/dist/packet-KVYON367-B0ibT50B.js +0 -5
  1076. package/dist/pascal-NVmycfDo.js +0 -6
  1077. package/dist/perl-Dvb6TR9K.js +0 -16
  1078. package/dist/php-CJHnp_ft.js +0 -18
  1079. package/dist/pie-R6RNRRYF-eieuCIEv.js +0 -5
  1080. package/dist/pieDiagram-IB7DONF6-z3HiYOHT.js +0 -161
  1081. package/dist/plastic-CSTz3KZp.js +0 -4
  1082. package/dist/plsql-DMWd0imC.js +0 -6
  1083. package/dist/po-GS6uwG3N.js +0 -6
  1084. package/dist/poimandres-C-VADXHD.js +0 -4
  1085. package/dist/polar-kLOnm3TU.js +0 -6
  1086. package/dist/postcss-BHhGrjb8.js +0 -6
  1087. package/dist/powerquery-CMfeLaGU.js +0 -6
  1088. package/dist/powershell-D1mvJxDs.js +0 -6
  1089. package/dist/prisma-pUoUFT3i.js +0 -6
  1090. package/dist/prolog-DY7WzwMi.js +0 -6
  1091. package/dist/proto-CNCp3VWu.js +0 -6
  1092. package/dist/pug-CUZjrycK.js +0 -12
  1093. package/dist/puppet-B0mgPBqt.js +0 -6
  1094. package/dist/purescript-Go548NjJ.js +0 -6
  1095. package/dist/python-x6NdgKMy.js +0 -6
  1096. package/dist/qml-BZvDVi14.js +0 -8
  1097. package/dist/qmldir-BInDYbpo.js +0 -6
  1098. package/dist/qss-8QkBlVEn.js +0 -6
  1099. package/dist/quadrantDiagram-7GDLP6J5-DKNPBuF7.js +0 -1024
  1100. package/dist/r-HSnR3oil.js +0 -6
  1101. package/dist/racket-N6wCNCGC.js +0 -6
  1102. package/dist/radar-MK3ICKWK-EavvS0dk.js +0 -5
  1103. package/dist/raku-DIMO1_4D.js +0 -6
  1104. package/dist/razor-B0naKaWH.js +0 -10
  1105. package/dist/red-7y8PH7HH.js +0 -4
  1106. package/dist/reg-6UpU0EA6.js +0 -6
  1107. package/dist/regexp-DHtjPxOp.js +0 -6
  1108. package/dist/rel-DBIoUiKW.js +0 -6
  1109. package/dist/requirementDiagram-KVF5MWMF-CVtQbDO9.js +0 -851
  1110. package/dist/riscv-DpWk9ieM.js +0 -6
  1111. package/dist/rose-pine-4uTOzEpE.js +0 -4
  1112. package/dist/rose-pine-dawn-GMd81k-m.js +0 -4
  1113. package/dist/rose-pine-moon-CIFp_3PJ.js +0 -4
  1114. package/dist/rst-B64R6T0G.js +0 -22
  1115. package/dist/ruby-DfrpdncG.js +0 -30
  1116. package/dist/rust-B-KPd2nT.js +0 -6
  1117. package/dist/sankeyDiagram-QLVOVGJD-Bv56p0v8.js +0 -808
  1118. package/dist/sas-CJQBty5v.js +0 -8
  1119. package/dist/sass-Zos2Blmo.js +0 -6
  1120. package/dist/scala-7cAMYIqn.js +0 -6
  1121. package/dist/scheme-BQZQETGI.js +0 -6
  1122. package/dist/scss-SeF7XgZE.js +0 -8
  1123. package/dist/sdbl-67k1U2sQ.js +0 -6
  1124. package/dist/sequenceDiagram-X6HHIX6F-B6HsmiCo.js +0 -2281
  1125. package/dist/shaderlab-D-UIeqfT.js +0 -8
  1126. package/dist/shellscript-DmhSIIKI.js +0 -6
  1127. package/dist/shellsession-DJoY56qV.js +0 -8
  1128. package/dist/slack-dark-i7wN4OET.js +0 -4
  1129. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  1130. package/dist/smalltalk-WltKgyq1.js +0 -6
  1131. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  1132. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  1133. package/dist/solarized-light-BheCkDPT.js +0 -4
  1134. package/dist/solidity-C04s0Yy3.js +0 -6
  1135. package/dist/soy-BLRDPjcE.js +0 -8
  1136. package/dist/sparql-DTCaWUmB.js +0 -8
  1137. package/dist/splunk-SGh_QiTm.js +0 -6
  1138. package/dist/sql-CsvhJWkt.js +0 -6
  1139. package/dist/ssh-config-D4I637-k.js +0 -6
  1140. package/dist/stata-CoSdWLbd.js +0 -8
  1141. package/dist/stateDiagram-DGXRK772-DisyN0eE.js +0 -270
  1142. package/dist/stateDiagram-v2-YXO3MK2T-DLdp-rnZ.js +0 -16
  1143. package/dist/stylus-C0YS3cII.js +0 -6
  1144. package/dist/svelte-D5kfh286.js +0 -14
  1145. package/dist/swift-DvTgPjC_.js +0 -6
  1146. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  1147. package/dist/system-verilog-NDUJ-OOt.js +0 -6
  1148. package/dist/systemd-WbxZvB8q.js +0 -6
  1149. package/dist/talonscript-CL368eRB.js +0 -6
  1150. package/dist/tasl-Dz-WwaLH.js +0 -6
  1151. package/dist/tcl-DlZIgGJq.js +0 -6
  1152. package/dist/templ-BeQ_faiG.js +0 -12
  1153. package/dist/terraform-BlQVOgpk.js +0 -6
  1154. package/dist/tex-D5wZQANC.js +0 -8
  1155. package/dist/timeline-definition-BDJGKUSR-BXC_uTuM.js +0 -804
  1156. package/dist/tokyo-night-DP4TmcQl.js +0 -4
  1157. package/dist/toml-DMRYbshZ.js +0 -6
  1158. package/dist/ts-tags-BhMM8FHa.js +0 -41
  1159. package/dist/tsv-BtvSkaG0.js +0 -6
  1160. package/dist/tsx-D0IYuDPS.js +0 -6
  1161. package/dist/turtle-p-VV8DEc.js +0 -6
  1162. package/dist/twig-B7P5Ovvl.js +0 -18
  1163. package/dist/typescript-DKfvlBCw.js +0 -6
  1164. package/dist/typespec-CTme0-JL.js +0 -6
  1165. package/dist/typst-Dn4vyooU.js +0 -6
  1166. package/dist/v-D7ebitkb.js +0 -6
  1167. package/dist/vala-TRtLMDHC.js +0 -6
  1168. package/dist/vb-B47FrOmA.js +0 -6
  1169. package/dist/verilog-B2TLsC4I.js +0 -6
  1170. package/dist/vesper-BckBta1U.js +0 -4
  1171. package/dist/vhdl-CU5AEtCN.js +0 -6
  1172. package/dist/viml-D-fUhqVn.js +0 -6
  1173. package/dist/vitesse-black-BoGvW84i.js +0 -4
  1174. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  1175. package/dist/vitesse-light-CcmG315c.js +0 -4
  1176. package/dist/vue-CdwmeZFh.js +0 -31
  1177. package/dist/vue-html-C-PRGoQQ.js +0 -10
  1178. package/dist/vyper-C03y8CZF.js +0 -6
  1179. package/dist/wasm-Bq8UuFo1.js +0 -6
  1180. package/dist/wasm-DQxwEHae.js +0 -7
  1181. package/dist/wenyan-DZPWEYbu.js +0 -6
  1182. package/dist/wgsl-De1GPYf9.js +0 -6
  1183. package/dist/wikitext-C-THcCj2.js +0 -6
  1184. package/dist/wit-BanP67gl.js +0 -6
  1185. package/dist/wolfram-CUT_U39K.js +0 -6
  1186. package/dist/xml-jRL-qgj-.js +0 -8
  1187. package/dist/xsl-CZWICAVO.js +0 -8
  1188. package/dist/xychartDiagram-VJFVF3MP-CkPa_K58.js +0 -1304
  1189. package/dist/yaml-DcQhbMrL.js +0 -6
  1190. package/dist/zenscript-8JCzLCTe.js +0 -6
  1191. package/dist/zig-DhdgDxkm.js +0 -6
@@ -0,0 +1,2696 @@
1
+ import { __name } from "./chunk-YTJNT7DU.mjs";
2
+ function isNothing(subject) {
3
+ return typeof subject === "undefined" || subject === null;
4
+ }
5
+ __name(isNothing, "isNothing");
6
+ function isObject(subject) {
7
+ return typeof subject === "object" && subject !== null;
8
+ }
9
+ __name(isObject, "isObject");
10
+ function toArray(sequence) {
11
+ if (Array.isArray(sequence)) return sequence;
12
+ else if (isNothing(sequence)) return [];
13
+ return [sequence];
14
+ }
15
+ __name(toArray, "toArray");
16
+ function extend(target, source) {
17
+ var index, length, key, sourceKeys;
18
+ if (source) {
19
+ sourceKeys = Object.keys(source);
20
+ for (index = 0, length = sourceKeys.length; index < length; index += 1) {
21
+ key = sourceKeys[index];
22
+ target[key] = source[key];
23
+ }
24
+ }
25
+ return target;
26
+ }
27
+ __name(extend, "extend");
28
+ function repeat(string, count) {
29
+ var result = "", cycle;
30
+ for (cycle = 0; cycle < count; cycle += 1) {
31
+ result += string;
32
+ }
33
+ return result;
34
+ }
35
+ __name(repeat, "repeat");
36
+ function isNegativeZero(number) {
37
+ return number === 0 && Number.NEGATIVE_INFINITY === 1 / number;
38
+ }
39
+ __name(isNegativeZero, "isNegativeZero");
40
+ var isNothing_1 = isNothing;
41
+ var isObject_1 = isObject;
42
+ var toArray_1 = toArray;
43
+ var repeat_1 = repeat;
44
+ var isNegativeZero_1 = isNegativeZero;
45
+ var extend_1 = extend;
46
+ var common = {
47
+ isNothing: isNothing_1,
48
+ isObject: isObject_1,
49
+ toArray: toArray_1,
50
+ repeat: repeat_1,
51
+ isNegativeZero: isNegativeZero_1,
52
+ extend: extend_1
53
+ };
54
+ function formatError(exception2, compact) {
55
+ var where = "", message = exception2.reason || "(unknown reason)";
56
+ if (!exception2.mark) return message;
57
+ if (exception2.mark.name) {
58
+ where += 'in "' + exception2.mark.name + '" ';
59
+ }
60
+ where += "(" + (exception2.mark.line + 1) + ":" + (exception2.mark.column + 1) + ")";
61
+ if (!compact && exception2.mark.snippet) {
62
+ where += "\n\n" + exception2.mark.snippet;
63
+ }
64
+ return message + " " + where;
65
+ }
66
+ __name(formatError, "formatError");
67
+ function YAMLException$1(reason, mark) {
68
+ Error.call(this);
69
+ this.name = "YAMLException";
70
+ this.reason = reason;
71
+ this.mark = mark;
72
+ this.message = formatError(this, false);
73
+ if (Error.captureStackTrace) {
74
+ Error.captureStackTrace(this, this.constructor);
75
+ } else {
76
+ this.stack = new Error().stack || "";
77
+ }
78
+ }
79
+ __name(YAMLException$1, "YAMLException$1");
80
+ YAMLException$1.prototype = Object.create(Error.prototype);
81
+ YAMLException$1.prototype.constructor = YAMLException$1;
82
+ YAMLException$1.prototype.toString = /* @__PURE__ */ __name(function toString(compact) {
83
+ return this.name + ": " + formatError(this, compact);
84
+ }, "toString");
85
+ var exception = YAMLException$1;
86
+ function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
87
+ var head = "";
88
+ var tail = "";
89
+ var maxHalfLength = Math.floor(maxLineLength / 2) - 1;
90
+ if (position - lineStart > maxHalfLength) {
91
+ head = " ... ";
92
+ lineStart = position - maxHalfLength + head.length;
93
+ }
94
+ if (lineEnd - position > maxHalfLength) {
95
+ tail = " ...";
96
+ lineEnd = position + maxHalfLength - tail.length;
97
+ }
98
+ return {
99
+ str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, "→") + tail,
100
+ pos: position - lineStart + head.length
101
+ // relative position
102
+ };
103
+ }
104
+ __name(getLine, "getLine");
105
+ function padStart(string, max) {
106
+ return common.repeat(" ", max - string.length) + string;
107
+ }
108
+ __name(padStart, "padStart");
109
+ function makeSnippet(mark, options) {
110
+ options = Object.create(options || null);
111
+ if (!mark.buffer) return null;
112
+ if (!options.maxLength) options.maxLength = 79;
113
+ if (typeof options.indent !== "number") options.indent = 1;
114
+ if (typeof options.linesBefore !== "number") options.linesBefore = 3;
115
+ if (typeof options.linesAfter !== "number") options.linesAfter = 2;
116
+ var re = /\r?\n|\r|\0/g;
117
+ var lineStarts = [0];
118
+ var lineEnds = [];
119
+ var match;
120
+ var foundLineNo = -1;
121
+ while (match = re.exec(mark.buffer)) {
122
+ lineEnds.push(match.index);
123
+ lineStarts.push(match.index + match[0].length);
124
+ if (mark.position <= match.index && foundLineNo < 0) {
125
+ foundLineNo = lineStarts.length - 2;
126
+ }
127
+ }
128
+ if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;
129
+ var result = "", i2, line;
130
+ var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;
131
+ var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);
132
+ for (i2 = 1; i2 <= options.linesBefore; i2++) {
133
+ if (foundLineNo - i2 < 0) break;
134
+ line = getLine(
135
+ mark.buffer,
136
+ lineStarts[foundLineNo - i2],
137
+ lineEnds[foundLineNo - i2],
138
+ mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i2]),
139
+ maxLineLength
140
+ );
141
+ result = common.repeat(" ", options.indent) + padStart((mark.line - i2 + 1).toString(), lineNoLength) + " | " + line.str + "\n" + result;
142
+ }
143
+ line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
144
+ result += common.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + "\n";
145
+ result += common.repeat("-", options.indent + lineNoLength + 3 + line.pos) + "^\n";
146
+ for (i2 = 1; i2 <= options.linesAfter; i2++) {
147
+ if (foundLineNo + i2 >= lineEnds.length) break;
148
+ line = getLine(
149
+ mark.buffer,
150
+ lineStarts[foundLineNo + i2],
151
+ lineEnds[foundLineNo + i2],
152
+ mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i2]),
153
+ maxLineLength
154
+ );
155
+ result += common.repeat(" ", options.indent) + padStart((mark.line + i2 + 1).toString(), lineNoLength) + " | " + line.str + "\n";
156
+ }
157
+ return result.replace(/\n$/, "");
158
+ }
159
+ __name(makeSnippet, "makeSnippet");
160
+ var snippet = makeSnippet;
161
+ var TYPE_CONSTRUCTOR_OPTIONS = [
162
+ "kind",
163
+ "multi",
164
+ "resolve",
165
+ "construct",
166
+ "instanceOf",
167
+ "predicate",
168
+ "represent",
169
+ "representName",
170
+ "defaultStyle",
171
+ "styleAliases"
172
+ ];
173
+ var YAML_NODE_KINDS = [
174
+ "scalar",
175
+ "sequence",
176
+ "mapping"
177
+ ];
178
+ function compileStyleAliases(map2) {
179
+ var result = {};
180
+ if (map2 !== null) {
181
+ Object.keys(map2).forEach(function(style) {
182
+ map2[style].forEach(function(alias) {
183
+ result[String(alias)] = style;
184
+ });
185
+ });
186
+ }
187
+ return result;
188
+ }
189
+ __name(compileStyleAliases, "compileStyleAliases");
190
+ function Type$1(tag, options) {
191
+ options = options || {};
192
+ Object.keys(options).forEach(function(name) {
193
+ if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
194
+ throw new exception('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
195
+ }
196
+ });
197
+ this.options = options;
198
+ this.tag = tag;
199
+ this.kind = options["kind"] || null;
200
+ this.resolve = options["resolve"] || function() {
201
+ return true;
202
+ };
203
+ this.construct = options["construct"] || function(data) {
204
+ return data;
205
+ };
206
+ this.instanceOf = options["instanceOf"] || null;
207
+ this.predicate = options["predicate"] || null;
208
+ this.represent = options["represent"] || null;
209
+ this.representName = options["representName"] || null;
210
+ this.defaultStyle = options["defaultStyle"] || null;
211
+ this.multi = options["multi"] || false;
212
+ this.styleAliases = compileStyleAliases(options["styleAliases"] || null);
213
+ if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
214
+ throw new exception('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
215
+ }
216
+ }
217
+ __name(Type$1, "Type$1");
218
+ var type = Type$1;
219
+ function compileList(schema2, name) {
220
+ var result = [];
221
+ schema2[name].forEach(function(currentType) {
222
+ var newIndex = result.length;
223
+ result.forEach(function(previousType, previousIndex) {
224
+ if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) {
225
+ newIndex = previousIndex;
226
+ }
227
+ });
228
+ result[newIndex] = currentType;
229
+ });
230
+ return result;
231
+ }
232
+ __name(compileList, "compileList");
233
+ function compileMap() {
234
+ var result = {
235
+ scalar: {},
236
+ sequence: {},
237
+ mapping: {},
238
+ fallback: {},
239
+ multi: {
240
+ scalar: [],
241
+ sequence: [],
242
+ mapping: [],
243
+ fallback: []
244
+ }
245
+ }, index, length;
246
+ function collectType(type2) {
247
+ if (type2.multi) {
248
+ result.multi[type2.kind].push(type2);
249
+ result.multi["fallback"].push(type2);
250
+ } else {
251
+ result[type2.kind][type2.tag] = result["fallback"][type2.tag] = type2;
252
+ }
253
+ }
254
+ __name(collectType, "collectType");
255
+ for (index = 0, length = arguments.length; index < length; index += 1) {
256
+ arguments[index].forEach(collectType);
257
+ }
258
+ return result;
259
+ }
260
+ __name(compileMap, "compileMap");
261
+ function Schema$1(definition) {
262
+ return this.extend(definition);
263
+ }
264
+ __name(Schema$1, "Schema$1");
265
+ Schema$1.prototype.extend = /* @__PURE__ */ __name(function extend2(definition) {
266
+ var implicit = [];
267
+ var explicit = [];
268
+ if (definition instanceof type) {
269
+ explicit.push(definition);
270
+ } else if (Array.isArray(definition)) {
271
+ explicit = explicit.concat(definition);
272
+ } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
273
+ if (definition.implicit) implicit = implicit.concat(definition.implicit);
274
+ if (definition.explicit) explicit = explicit.concat(definition.explicit);
275
+ } else {
276
+ throw new exception("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
277
+ }
278
+ implicit.forEach(function(type$1) {
279
+ if (!(type$1 instanceof type)) {
280
+ throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");
281
+ }
282
+ if (type$1.loadKind && type$1.loadKind !== "scalar") {
283
+ throw new exception("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
284
+ }
285
+ if (type$1.multi) {
286
+ throw new exception("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
287
+ }
288
+ });
289
+ explicit.forEach(function(type$1) {
290
+ if (!(type$1 instanceof type)) {
291
+ throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");
292
+ }
293
+ });
294
+ var result = Object.create(Schema$1.prototype);
295
+ result.implicit = (this.implicit || []).concat(implicit);
296
+ result.explicit = (this.explicit || []).concat(explicit);
297
+ result.compiledImplicit = compileList(result, "implicit");
298
+ result.compiledExplicit = compileList(result, "explicit");
299
+ result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);
300
+ return result;
301
+ }, "extend");
302
+ var schema = Schema$1;
303
+ var str = new type("tag:yaml.org,2002:str", {
304
+ kind: "scalar",
305
+ construct: /* @__PURE__ */ __name(function(data) {
306
+ return data !== null ? data : "";
307
+ }, "construct")
308
+ });
309
+ var seq = new type("tag:yaml.org,2002:seq", {
310
+ kind: "sequence",
311
+ construct: /* @__PURE__ */ __name(function(data) {
312
+ return data !== null ? data : [];
313
+ }, "construct")
314
+ });
315
+ var map = new type("tag:yaml.org,2002:map", {
316
+ kind: "mapping",
317
+ construct: /* @__PURE__ */ __name(function(data) {
318
+ return data !== null ? data : {};
319
+ }, "construct")
320
+ });
321
+ var failsafe = new schema({
322
+ explicit: [
323
+ str,
324
+ seq,
325
+ map
326
+ ]
327
+ });
328
+ function resolveYamlNull(data) {
329
+ if (data === null) return true;
330
+ var max = data.length;
331
+ return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL");
332
+ }
333
+ __name(resolveYamlNull, "resolveYamlNull");
334
+ function constructYamlNull() {
335
+ return null;
336
+ }
337
+ __name(constructYamlNull, "constructYamlNull");
338
+ function isNull(object) {
339
+ return object === null;
340
+ }
341
+ __name(isNull, "isNull");
342
+ var _null = new type("tag:yaml.org,2002:null", {
343
+ kind: "scalar",
344
+ resolve: resolveYamlNull,
345
+ construct: constructYamlNull,
346
+ predicate: isNull,
347
+ represent: {
348
+ canonical: /* @__PURE__ */ __name(function() {
349
+ return "~";
350
+ }, "canonical"),
351
+ lowercase: /* @__PURE__ */ __name(function() {
352
+ return "null";
353
+ }, "lowercase"),
354
+ uppercase: /* @__PURE__ */ __name(function() {
355
+ return "NULL";
356
+ }, "uppercase"),
357
+ camelcase: /* @__PURE__ */ __name(function() {
358
+ return "Null";
359
+ }, "camelcase"),
360
+ empty: /* @__PURE__ */ __name(function() {
361
+ return "";
362
+ }, "empty")
363
+ },
364
+ defaultStyle: "lowercase"
365
+ });
366
+ function resolveYamlBoolean(data) {
367
+ if (data === null) return false;
368
+ var max = data.length;
369
+ return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE");
370
+ }
371
+ __name(resolveYamlBoolean, "resolveYamlBoolean");
372
+ function constructYamlBoolean(data) {
373
+ return data === "true" || data === "True" || data === "TRUE";
374
+ }
375
+ __name(constructYamlBoolean, "constructYamlBoolean");
376
+ function isBoolean(object) {
377
+ return Object.prototype.toString.call(object) === "[object Boolean]";
378
+ }
379
+ __name(isBoolean, "isBoolean");
380
+ var bool = new type("tag:yaml.org,2002:bool", {
381
+ kind: "scalar",
382
+ resolve: resolveYamlBoolean,
383
+ construct: constructYamlBoolean,
384
+ predicate: isBoolean,
385
+ represent: {
386
+ lowercase: /* @__PURE__ */ __name(function(object) {
387
+ return object ? "true" : "false";
388
+ }, "lowercase"),
389
+ uppercase: /* @__PURE__ */ __name(function(object) {
390
+ return object ? "TRUE" : "FALSE";
391
+ }, "uppercase"),
392
+ camelcase: /* @__PURE__ */ __name(function(object) {
393
+ return object ? "True" : "False";
394
+ }, "camelcase")
395
+ },
396
+ defaultStyle: "lowercase"
397
+ });
398
+ function isHexCode(c) {
399
+ return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102;
400
+ }
401
+ __name(isHexCode, "isHexCode");
402
+ function isOctCode(c) {
403
+ return 48 <= c && c <= 55;
404
+ }
405
+ __name(isOctCode, "isOctCode");
406
+ function isDecCode(c) {
407
+ return 48 <= c && c <= 57;
408
+ }
409
+ __name(isDecCode, "isDecCode");
410
+ function resolveYamlInteger(data) {
411
+ if (data === null) return false;
412
+ var max = data.length, index = 0, hasDigits = false, ch;
413
+ if (!max) return false;
414
+ ch = data[index];
415
+ if (ch === "-" || ch === "+") {
416
+ ch = data[++index];
417
+ }
418
+ if (ch === "0") {
419
+ if (index + 1 === max) return true;
420
+ ch = data[++index];
421
+ if (ch === "b") {
422
+ index++;
423
+ for (; index < max; index++) {
424
+ ch = data[index];
425
+ if (ch === "_") continue;
426
+ if (ch !== "0" && ch !== "1") return false;
427
+ hasDigits = true;
428
+ }
429
+ return hasDigits && ch !== "_";
430
+ }
431
+ if (ch === "x") {
432
+ index++;
433
+ for (; index < max; index++) {
434
+ ch = data[index];
435
+ if (ch === "_") continue;
436
+ if (!isHexCode(data.charCodeAt(index))) return false;
437
+ hasDigits = true;
438
+ }
439
+ return hasDigits && ch !== "_";
440
+ }
441
+ if (ch === "o") {
442
+ index++;
443
+ for (; index < max; index++) {
444
+ ch = data[index];
445
+ if (ch === "_") continue;
446
+ if (!isOctCode(data.charCodeAt(index))) return false;
447
+ hasDigits = true;
448
+ }
449
+ return hasDigits && ch !== "_";
450
+ }
451
+ }
452
+ if (ch === "_") return false;
453
+ for (; index < max; index++) {
454
+ ch = data[index];
455
+ if (ch === "_") continue;
456
+ if (!isDecCode(data.charCodeAt(index))) {
457
+ return false;
458
+ }
459
+ hasDigits = true;
460
+ }
461
+ if (!hasDigits || ch === "_") return false;
462
+ return true;
463
+ }
464
+ __name(resolveYamlInteger, "resolveYamlInteger");
465
+ function constructYamlInteger(data) {
466
+ var value = data, sign = 1, ch;
467
+ if (value.indexOf("_") !== -1) {
468
+ value = value.replace(/_/g, "");
469
+ }
470
+ ch = value[0];
471
+ if (ch === "-" || ch === "+") {
472
+ if (ch === "-") sign = -1;
473
+ value = value.slice(1);
474
+ ch = value[0];
475
+ }
476
+ if (value === "0") return 0;
477
+ if (ch === "0") {
478
+ if (value[1] === "b") return sign * parseInt(value.slice(2), 2);
479
+ if (value[1] === "x") return sign * parseInt(value.slice(2), 16);
480
+ if (value[1] === "o") return sign * parseInt(value.slice(2), 8);
481
+ }
482
+ return sign * parseInt(value, 10);
483
+ }
484
+ __name(constructYamlInteger, "constructYamlInteger");
485
+ function isInteger(object) {
486
+ return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 === 0 && !common.isNegativeZero(object));
487
+ }
488
+ __name(isInteger, "isInteger");
489
+ var int = new type("tag:yaml.org,2002:int", {
490
+ kind: "scalar",
491
+ resolve: resolveYamlInteger,
492
+ construct: constructYamlInteger,
493
+ predicate: isInteger,
494
+ represent: {
495
+ binary: /* @__PURE__ */ __name(function(obj) {
496
+ return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1);
497
+ }, "binary"),
498
+ octal: /* @__PURE__ */ __name(function(obj) {
499
+ return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1);
500
+ }, "octal"),
501
+ decimal: /* @__PURE__ */ __name(function(obj) {
502
+ return obj.toString(10);
503
+ }, "decimal"),
504
+ /* eslint-disable max-len */
505
+ hexadecimal: /* @__PURE__ */ __name(function(obj) {
506
+ return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1);
507
+ }, "hexadecimal")
508
+ },
509
+ defaultStyle: "decimal",
510
+ styleAliases: {
511
+ binary: [2, "bin"],
512
+ octal: [8, "oct"],
513
+ decimal: [10, "dec"],
514
+ hexadecimal: [16, "hex"]
515
+ }
516
+ });
517
+ var YAML_FLOAT_PATTERN = new RegExp(
518
+ // 2.5e4, 2.5 and integers
519
+ "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
520
+ );
521
+ function resolveYamlFloat(data) {
522
+ if (data === null) return false;
523
+ if (!YAML_FLOAT_PATTERN.test(data) || // Quick hack to not allow integers end with `_`
524
+ // Probably should update regexp & check speed
525
+ data[data.length - 1] === "_") {
526
+ return false;
527
+ }
528
+ return true;
529
+ }
530
+ __name(resolveYamlFloat, "resolveYamlFloat");
531
+ function constructYamlFloat(data) {
532
+ var value, sign;
533
+ value = data.replace(/_/g, "").toLowerCase();
534
+ sign = value[0] === "-" ? -1 : 1;
535
+ if ("+-".indexOf(value[0]) >= 0) {
536
+ value = value.slice(1);
537
+ }
538
+ if (value === ".inf") {
539
+ return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
540
+ } else if (value === ".nan") {
541
+ return NaN;
542
+ }
543
+ return sign * parseFloat(value, 10);
544
+ }
545
+ __name(constructYamlFloat, "constructYamlFloat");
546
+ var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
547
+ function representYamlFloat(object, style) {
548
+ var res;
549
+ if (isNaN(object)) {
550
+ switch (style) {
551
+ case "lowercase":
552
+ return ".nan";
553
+ case "uppercase":
554
+ return ".NAN";
555
+ case "camelcase":
556
+ return ".NaN";
557
+ }
558
+ } else if (Number.POSITIVE_INFINITY === object) {
559
+ switch (style) {
560
+ case "lowercase":
561
+ return ".inf";
562
+ case "uppercase":
563
+ return ".INF";
564
+ case "camelcase":
565
+ return ".Inf";
566
+ }
567
+ } else if (Number.NEGATIVE_INFINITY === object) {
568
+ switch (style) {
569
+ case "lowercase":
570
+ return "-.inf";
571
+ case "uppercase":
572
+ return "-.INF";
573
+ case "camelcase":
574
+ return "-.Inf";
575
+ }
576
+ } else if (common.isNegativeZero(object)) {
577
+ return "-0.0";
578
+ }
579
+ res = object.toString(10);
580
+ return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res;
581
+ }
582
+ __name(representYamlFloat, "representYamlFloat");
583
+ function isFloat(object) {
584
+ return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common.isNegativeZero(object));
585
+ }
586
+ __name(isFloat, "isFloat");
587
+ var float = new type("tag:yaml.org,2002:float", {
588
+ kind: "scalar",
589
+ resolve: resolveYamlFloat,
590
+ construct: constructYamlFloat,
591
+ predicate: isFloat,
592
+ represent: representYamlFloat,
593
+ defaultStyle: "lowercase"
594
+ });
595
+ var json = failsafe.extend({
596
+ implicit: [
597
+ _null,
598
+ bool,
599
+ int,
600
+ float
601
+ ]
602
+ });
603
+ var core = json;
604
+ var YAML_DATE_REGEXP = new RegExp(
605
+ "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
606
+ );
607
+ var YAML_TIMESTAMP_REGEXP = new RegExp(
608
+ "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
609
+ );
610
+ function resolveYamlTimestamp(data) {
611
+ if (data === null) return false;
612
+ if (YAML_DATE_REGEXP.exec(data) !== null) return true;
613
+ if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;
614
+ return false;
615
+ }
616
+ __name(resolveYamlTimestamp, "resolveYamlTimestamp");
617
+ function constructYamlTimestamp(data) {
618
+ var match, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date;
619
+ match = YAML_DATE_REGEXP.exec(data);
620
+ if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);
621
+ if (match === null) throw new Error("Date resolve error");
622
+ year = +match[1];
623
+ month = +match[2] - 1;
624
+ day = +match[3];
625
+ if (!match[4]) {
626
+ return new Date(Date.UTC(year, month, day));
627
+ }
628
+ hour = +match[4];
629
+ minute = +match[5];
630
+ second = +match[6];
631
+ if (match[7]) {
632
+ fraction = match[7].slice(0, 3);
633
+ while (fraction.length < 3) {
634
+ fraction += "0";
635
+ }
636
+ fraction = +fraction;
637
+ }
638
+ if (match[9]) {
639
+ tz_hour = +match[10];
640
+ tz_minute = +(match[11] || 0);
641
+ delta = (tz_hour * 60 + tz_minute) * 6e4;
642
+ if (match[9] === "-") delta = -delta;
643
+ }
644
+ date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
645
+ if (delta) date.setTime(date.getTime() - delta);
646
+ return date;
647
+ }
648
+ __name(constructYamlTimestamp, "constructYamlTimestamp");
649
+ function representYamlTimestamp(object) {
650
+ return object.toISOString();
651
+ }
652
+ __name(representYamlTimestamp, "representYamlTimestamp");
653
+ var timestamp = new type("tag:yaml.org,2002:timestamp", {
654
+ kind: "scalar",
655
+ resolve: resolveYamlTimestamp,
656
+ construct: constructYamlTimestamp,
657
+ instanceOf: Date,
658
+ represent: representYamlTimestamp
659
+ });
660
+ function resolveYamlMerge(data) {
661
+ return data === "<<" || data === null;
662
+ }
663
+ __name(resolveYamlMerge, "resolveYamlMerge");
664
+ var merge = new type("tag:yaml.org,2002:merge", {
665
+ kind: "scalar",
666
+ resolve: resolveYamlMerge
667
+ });
668
+ var BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
669
+ function resolveYamlBinary(data) {
670
+ if (data === null) return false;
671
+ var code, idx, bitlen = 0, max = data.length, map2 = BASE64_MAP;
672
+ for (idx = 0; idx < max; idx++) {
673
+ code = map2.indexOf(data.charAt(idx));
674
+ if (code > 64) continue;
675
+ if (code < 0) return false;
676
+ bitlen += 6;
677
+ }
678
+ return bitlen % 8 === 0;
679
+ }
680
+ __name(resolveYamlBinary, "resolveYamlBinary");
681
+ function constructYamlBinary(data) {
682
+ var idx, tailbits, input = data.replace(/[\r\n=]/g, ""), max = input.length, map2 = BASE64_MAP, bits = 0, result = [];
683
+ for (idx = 0; idx < max; idx++) {
684
+ if (idx % 4 === 0 && idx) {
685
+ result.push(bits >> 16 & 255);
686
+ result.push(bits >> 8 & 255);
687
+ result.push(bits & 255);
688
+ }
689
+ bits = bits << 6 | map2.indexOf(input.charAt(idx));
690
+ }
691
+ tailbits = max % 4 * 6;
692
+ if (tailbits === 0) {
693
+ result.push(bits >> 16 & 255);
694
+ result.push(bits >> 8 & 255);
695
+ result.push(bits & 255);
696
+ } else if (tailbits === 18) {
697
+ result.push(bits >> 10 & 255);
698
+ result.push(bits >> 2 & 255);
699
+ } else if (tailbits === 12) {
700
+ result.push(bits >> 4 & 255);
701
+ }
702
+ return new Uint8Array(result);
703
+ }
704
+ __name(constructYamlBinary, "constructYamlBinary");
705
+ function representYamlBinary(object) {
706
+ var result = "", bits = 0, idx, tail, max = object.length, map2 = BASE64_MAP;
707
+ for (idx = 0; idx < max; idx++) {
708
+ if (idx % 3 === 0 && idx) {
709
+ result += map2[bits >> 18 & 63];
710
+ result += map2[bits >> 12 & 63];
711
+ result += map2[bits >> 6 & 63];
712
+ result += map2[bits & 63];
713
+ }
714
+ bits = (bits << 8) + object[idx];
715
+ }
716
+ tail = max % 3;
717
+ if (tail === 0) {
718
+ result += map2[bits >> 18 & 63];
719
+ result += map2[bits >> 12 & 63];
720
+ result += map2[bits >> 6 & 63];
721
+ result += map2[bits & 63];
722
+ } else if (tail === 2) {
723
+ result += map2[bits >> 10 & 63];
724
+ result += map2[bits >> 4 & 63];
725
+ result += map2[bits << 2 & 63];
726
+ result += map2[64];
727
+ } else if (tail === 1) {
728
+ result += map2[bits >> 2 & 63];
729
+ result += map2[bits << 4 & 63];
730
+ result += map2[64];
731
+ result += map2[64];
732
+ }
733
+ return result;
734
+ }
735
+ __name(representYamlBinary, "representYamlBinary");
736
+ function isBinary(obj) {
737
+ return Object.prototype.toString.call(obj) === "[object Uint8Array]";
738
+ }
739
+ __name(isBinary, "isBinary");
740
+ var binary = new type("tag:yaml.org,2002:binary", {
741
+ kind: "scalar",
742
+ resolve: resolveYamlBinary,
743
+ construct: constructYamlBinary,
744
+ predicate: isBinary,
745
+ represent: representYamlBinary
746
+ });
747
+ var _hasOwnProperty$3 = Object.prototype.hasOwnProperty;
748
+ var _toString$2 = Object.prototype.toString;
749
+ function resolveYamlOmap(data) {
750
+ if (data === null) return true;
751
+ var objectKeys = [], index, length, pair, pairKey, pairHasKey, object = data;
752
+ for (index = 0, length = object.length; index < length; index += 1) {
753
+ pair = object[index];
754
+ pairHasKey = false;
755
+ if (_toString$2.call(pair) !== "[object Object]") return false;
756
+ for (pairKey in pair) {
757
+ if (_hasOwnProperty$3.call(pair, pairKey)) {
758
+ if (!pairHasKey) pairHasKey = true;
759
+ else return false;
760
+ }
761
+ }
762
+ if (!pairHasKey) return false;
763
+ if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
764
+ else return false;
765
+ }
766
+ return true;
767
+ }
768
+ __name(resolveYamlOmap, "resolveYamlOmap");
769
+ function constructYamlOmap(data) {
770
+ return data !== null ? data : [];
771
+ }
772
+ __name(constructYamlOmap, "constructYamlOmap");
773
+ var omap = new type("tag:yaml.org,2002:omap", {
774
+ kind: "sequence",
775
+ resolve: resolveYamlOmap,
776
+ construct: constructYamlOmap
777
+ });
778
+ var _toString$1 = Object.prototype.toString;
779
+ function resolveYamlPairs(data) {
780
+ if (data === null) return true;
781
+ var index, length, pair, keys, result, object = data;
782
+ result = new Array(object.length);
783
+ for (index = 0, length = object.length; index < length; index += 1) {
784
+ pair = object[index];
785
+ if (_toString$1.call(pair) !== "[object Object]") return false;
786
+ keys = Object.keys(pair);
787
+ if (keys.length !== 1) return false;
788
+ result[index] = [keys[0], pair[keys[0]]];
789
+ }
790
+ return true;
791
+ }
792
+ __name(resolveYamlPairs, "resolveYamlPairs");
793
+ function constructYamlPairs(data) {
794
+ if (data === null) return [];
795
+ var index, length, pair, keys, result, object = data;
796
+ result = new Array(object.length);
797
+ for (index = 0, length = object.length; index < length; index += 1) {
798
+ pair = object[index];
799
+ keys = Object.keys(pair);
800
+ result[index] = [keys[0], pair[keys[0]]];
801
+ }
802
+ return result;
803
+ }
804
+ __name(constructYamlPairs, "constructYamlPairs");
805
+ var pairs = new type("tag:yaml.org,2002:pairs", {
806
+ kind: "sequence",
807
+ resolve: resolveYamlPairs,
808
+ construct: constructYamlPairs
809
+ });
810
+ var _hasOwnProperty$2 = Object.prototype.hasOwnProperty;
811
+ function resolveYamlSet(data) {
812
+ if (data === null) return true;
813
+ var key, object = data;
814
+ for (key in object) {
815
+ if (_hasOwnProperty$2.call(object, key)) {
816
+ if (object[key] !== null) return false;
817
+ }
818
+ }
819
+ return true;
820
+ }
821
+ __name(resolveYamlSet, "resolveYamlSet");
822
+ function constructYamlSet(data) {
823
+ return data !== null ? data : {};
824
+ }
825
+ __name(constructYamlSet, "constructYamlSet");
826
+ var set = new type("tag:yaml.org,2002:set", {
827
+ kind: "mapping",
828
+ resolve: resolveYamlSet,
829
+ construct: constructYamlSet
830
+ });
831
+ var _default = core.extend({
832
+ implicit: [
833
+ timestamp,
834
+ merge
835
+ ],
836
+ explicit: [
837
+ binary,
838
+ omap,
839
+ pairs,
840
+ set
841
+ ]
842
+ });
843
+ var _hasOwnProperty$1 = Object.prototype.hasOwnProperty;
844
+ var CONTEXT_FLOW_IN = 1;
845
+ var CONTEXT_FLOW_OUT = 2;
846
+ var CONTEXT_BLOCK_IN = 3;
847
+ var CONTEXT_BLOCK_OUT = 4;
848
+ var CHOMPING_CLIP = 1;
849
+ var CHOMPING_STRIP = 2;
850
+ var CHOMPING_KEEP = 3;
851
+ var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
852
+ var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
853
+ var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
854
+ var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
855
+ var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
856
+ function _class(obj) {
857
+ return Object.prototype.toString.call(obj);
858
+ }
859
+ __name(_class, "_class");
860
+ function is_EOL(c) {
861
+ return c === 10 || c === 13;
862
+ }
863
+ __name(is_EOL, "is_EOL");
864
+ function is_WHITE_SPACE(c) {
865
+ return c === 9 || c === 32;
866
+ }
867
+ __name(is_WHITE_SPACE, "is_WHITE_SPACE");
868
+ function is_WS_OR_EOL(c) {
869
+ return c === 9 || c === 32 || c === 10 || c === 13;
870
+ }
871
+ __name(is_WS_OR_EOL, "is_WS_OR_EOL");
872
+ function is_FLOW_INDICATOR(c) {
873
+ return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
874
+ }
875
+ __name(is_FLOW_INDICATOR, "is_FLOW_INDICATOR");
876
+ function fromHexCode(c) {
877
+ var lc;
878
+ if (48 <= c && c <= 57) {
879
+ return c - 48;
880
+ }
881
+ lc = c | 32;
882
+ if (97 <= lc && lc <= 102) {
883
+ return lc - 97 + 10;
884
+ }
885
+ return -1;
886
+ }
887
+ __name(fromHexCode, "fromHexCode");
888
+ function escapedHexLen(c) {
889
+ if (c === 120) {
890
+ return 2;
891
+ }
892
+ if (c === 117) {
893
+ return 4;
894
+ }
895
+ if (c === 85) {
896
+ return 8;
897
+ }
898
+ return 0;
899
+ }
900
+ __name(escapedHexLen, "escapedHexLen");
901
+ function fromDecimalCode(c) {
902
+ if (48 <= c && c <= 57) {
903
+ return c - 48;
904
+ }
905
+ return -1;
906
+ }
907
+ __name(fromDecimalCode, "fromDecimalCode");
908
+ function simpleEscapeSequence(c) {
909
+ return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 ? " " : c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? '"' : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "…" : c === 95 ? " " : c === 76 ? "\u2028" : c === 80 ? "\u2029" : "";
910
+ }
911
+ __name(simpleEscapeSequence, "simpleEscapeSequence");
912
+ function charFromCodepoint(c) {
913
+ if (c <= 65535) {
914
+ return String.fromCharCode(c);
915
+ }
916
+ return String.fromCharCode(
917
+ (c - 65536 >> 10) + 55296,
918
+ (c - 65536 & 1023) + 56320
919
+ );
920
+ }
921
+ __name(charFromCodepoint, "charFromCodepoint");
922
+ var simpleEscapeCheck = new Array(256);
923
+ var simpleEscapeMap = new Array(256);
924
+ for (i = 0; i < 256; i++) {
925
+ simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
926
+ simpleEscapeMap[i] = simpleEscapeSequence(i);
927
+ }
928
+ var i;
929
+ function State$1(input, options) {
930
+ this.input = input;
931
+ this.filename = options["filename"] || null;
932
+ this.schema = options["schema"] || _default;
933
+ this.onWarning = options["onWarning"] || null;
934
+ this.legacy = options["legacy"] || false;
935
+ this.json = options["json"] || false;
936
+ this.listener = options["listener"] || null;
937
+ this.implicitTypes = this.schema.compiledImplicit;
938
+ this.typeMap = this.schema.compiledTypeMap;
939
+ this.length = input.length;
940
+ this.position = 0;
941
+ this.line = 0;
942
+ this.lineStart = 0;
943
+ this.lineIndent = 0;
944
+ this.firstTabInLine = -1;
945
+ this.documents = [];
946
+ }
947
+ __name(State$1, "State$1");
948
+ function generateError(state, message) {
949
+ var mark = {
950
+ name: state.filename,
951
+ buffer: state.input.slice(0, -1),
952
+ // omit trailing \0
953
+ position: state.position,
954
+ line: state.line,
955
+ column: state.position - state.lineStart
956
+ };
957
+ mark.snippet = snippet(mark);
958
+ return new exception(message, mark);
959
+ }
960
+ __name(generateError, "generateError");
961
+ function throwError(state, message) {
962
+ throw generateError(state, message);
963
+ }
964
+ __name(throwError, "throwError");
965
+ function throwWarning(state, message) {
966
+ if (state.onWarning) {
967
+ state.onWarning.call(null, generateError(state, message));
968
+ }
969
+ }
970
+ __name(throwWarning, "throwWarning");
971
+ var directiveHandlers = {
972
+ YAML: /* @__PURE__ */ __name(function handleYamlDirective(state, name, args) {
973
+ var match, major, minor;
974
+ if (state.version !== null) {
975
+ throwError(state, "duplication of %YAML directive");
976
+ }
977
+ if (args.length !== 1) {
978
+ throwError(state, "YAML directive accepts exactly one argument");
979
+ }
980
+ match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
981
+ if (match === null) {
982
+ throwError(state, "ill-formed argument of the YAML directive");
983
+ }
984
+ major = parseInt(match[1], 10);
985
+ minor = parseInt(match[2], 10);
986
+ if (major !== 1) {
987
+ throwError(state, "unacceptable YAML version of the document");
988
+ }
989
+ state.version = args[0];
990
+ state.checkLineBreaks = minor < 2;
991
+ if (minor !== 1 && minor !== 2) {
992
+ throwWarning(state, "unsupported YAML version of the document");
993
+ }
994
+ }, "handleYamlDirective"),
995
+ TAG: /* @__PURE__ */ __name(function handleTagDirective(state, name, args) {
996
+ var handle, prefix;
997
+ if (args.length !== 2) {
998
+ throwError(state, "TAG directive accepts exactly two arguments");
999
+ }
1000
+ handle = args[0];
1001
+ prefix = args[1];
1002
+ if (!PATTERN_TAG_HANDLE.test(handle)) {
1003
+ throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
1004
+ }
1005
+ if (_hasOwnProperty$1.call(state.tagMap, handle)) {
1006
+ throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
1007
+ }
1008
+ if (!PATTERN_TAG_URI.test(prefix)) {
1009
+ throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
1010
+ }
1011
+ try {
1012
+ prefix = decodeURIComponent(prefix);
1013
+ } catch (err) {
1014
+ throwError(state, "tag prefix is malformed: " + prefix);
1015
+ }
1016
+ state.tagMap[handle] = prefix;
1017
+ }, "handleTagDirective")
1018
+ };
1019
+ function captureSegment(state, start, end, checkJson) {
1020
+ var _position, _length, _character, _result;
1021
+ if (start < end) {
1022
+ _result = state.input.slice(start, end);
1023
+ if (checkJson) {
1024
+ for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
1025
+ _character = _result.charCodeAt(_position);
1026
+ if (!(_character === 9 || 32 <= _character && _character <= 1114111)) {
1027
+ throwError(state, "expected valid JSON character");
1028
+ }
1029
+ }
1030
+ } else if (PATTERN_NON_PRINTABLE.test(_result)) {
1031
+ throwError(state, "the stream contains non-printable characters");
1032
+ }
1033
+ state.result += _result;
1034
+ }
1035
+ }
1036
+ __name(captureSegment, "captureSegment");
1037
+ function mergeMappings(state, destination, source, overridableKeys) {
1038
+ var sourceKeys, key, index, quantity;
1039
+ if (!common.isObject(source)) {
1040
+ throwError(state, "cannot merge mappings; the provided source object is unacceptable");
1041
+ }
1042
+ sourceKeys = Object.keys(source);
1043
+ for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
1044
+ key = sourceKeys[index];
1045
+ if (!_hasOwnProperty$1.call(destination, key)) {
1046
+ destination[key] = source[key];
1047
+ overridableKeys[key] = true;
1048
+ }
1049
+ }
1050
+ }
1051
+ __name(mergeMappings, "mergeMappings");
1052
+ function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startLineStart, startPos) {
1053
+ var index, quantity;
1054
+ if (Array.isArray(keyNode)) {
1055
+ keyNode = Array.prototype.slice.call(keyNode);
1056
+ for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
1057
+ if (Array.isArray(keyNode[index])) {
1058
+ throwError(state, "nested arrays are not supported inside keys");
1059
+ }
1060
+ if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") {
1061
+ keyNode[index] = "[object Object]";
1062
+ }
1063
+ }
1064
+ }
1065
+ if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") {
1066
+ keyNode = "[object Object]";
1067
+ }
1068
+ keyNode = String(keyNode);
1069
+ if (_result === null) {
1070
+ _result = {};
1071
+ }
1072
+ if (keyTag === "tag:yaml.org,2002:merge") {
1073
+ if (Array.isArray(valueNode)) {
1074
+ for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {
1075
+ mergeMappings(state, _result, valueNode[index], overridableKeys);
1076
+ }
1077
+ } else {
1078
+ mergeMappings(state, _result, valueNode, overridableKeys);
1079
+ }
1080
+ } else {
1081
+ if (!state.json && !_hasOwnProperty$1.call(overridableKeys, keyNode) && _hasOwnProperty$1.call(_result, keyNode)) {
1082
+ state.line = startLine || state.line;
1083
+ state.lineStart = startLineStart || state.lineStart;
1084
+ state.position = startPos || state.position;
1085
+ throwError(state, "duplicated mapping key");
1086
+ }
1087
+ if (keyNode === "__proto__") {
1088
+ Object.defineProperty(_result, keyNode, {
1089
+ configurable: true,
1090
+ enumerable: true,
1091
+ writable: true,
1092
+ value: valueNode
1093
+ });
1094
+ } else {
1095
+ _result[keyNode] = valueNode;
1096
+ }
1097
+ delete overridableKeys[keyNode];
1098
+ }
1099
+ return _result;
1100
+ }
1101
+ __name(storeMappingPair, "storeMappingPair");
1102
+ function readLineBreak(state) {
1103
+ var ch;
1104
+ ch = state.input.charCodeAt(state.position);
1105
+ if (ch === 10) {
1106
+ state.position++;
1107
+ } else if (ch === 13) {
1108
+ state.position++;
1109
+ if (state.input.charCodeAt(state.position) === 10) {
1110
+ state.position++;
1111
+ }
1112
+ } else {
1113
+ throwError(state, "a line break is expected");
1114
+ }
1115
+ state.line += 1;
1116
+ state.lineStart = state.position;
1117
+ state.firstTabInLine = -1;
1118
+ }
1119
+ __name(readLineBreak, "readLineBreak");
1120
+ function skipSeparationSpace(state, allowComments, checkIndent) {
1121
+ var lineBreaks = 0, ch = state.input.charCodeAt(state.position);
1122
+ while (ch !== 0) {
1123
+ while (is_WHITE_SPACE(ch)) {
1124
+ if (ch === 9 && state.firstTabInLine === -1) {
1125
+ state.firstTabInLine = state.position;
1126
+ }
1127
+ ch = state.input.charCodeAt(++state.position);
1128
+ }
1129
+ if (allowComments && ch === 35) {
1130
+ do {
1131
+ ch = state.input.charCodeAt(++state.position);
1132
+ } while (ch !== 10 && ch !== 13 && ch !== 0);
1133
+ }
1134
+ if (is_EOL(ch)) {
1135
+ readLineBreak(state);
1136
+ ch = state.input.charCodeAt(state.position);
1137
+ lineBreaks++;
1138
+ state.lineIndent = 0;
1139
+ while (ch === 32) {
1140
+ state.lineIndent++;
1141
+ ch = state.input.charCodeAt(++state.position);
1142
+ }
1143
+ } else {
1144
+ break;
1145
+ }
1146
+ }
1147
+ if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
1148
+ throwWarning(state, "deficient indentation");
1149
+ }
1150
+ return lineBreaks;
1151
+ }
1152
+ __name(skipSeparationSpace, "skipSeparationSpace");
1153
+ function testDocumentSeparator(state) {
1154
+ var _position = state.position, ch;
1155
+ ch = state.input.charCodeAt(_position);
1156
+ if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {
1157
+ _position += 3;
1158
+ ch = state.input.charCodeAt(_position);
1159
+ if (ch === 0 || is_WS_OR_EOL(ch)) {
1160
+ return true;
1161
+ }
1162
+ }
1163
+ return false;
1164
+ }
1165
+ __name(testDocumentSeparator, "testDocumentSeparator");
1166
+ function writeFoldedLines(state, count) {
1167
+ if (count === 1) {
1168
+ state.result += " ";
1169
+ } else if (count > 1) {
1170
+ state.result += common.repeat("\n", count - 1);
1171
+ }
1172
+ }
1173
+ __name(writeFoldedLines, "writeFoldedLines");
1174
+ function readPlainScalar(state, nodeIndent, withinFlowCollection) {
1175
+ var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch;
1176
+ ch = state.input.charCodeAt(state.position);
1177
+ if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) {
1178
+ return false;
1179
+ }
1180
+ if (ch === 63 || ch === 45) {
1181
+ following = state.input.charCodeAt(state.position + 1);
1182
+ if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) {
1183
+ return false;
1184
+ }
1185
+ }
1186
+ state.kind = "scalar";
1187
+ state.result = "";
1188
+ captureStart = captureEnd = state.position;
1189
+ hasPendingContent = false;
1190
+ while (ch !== 0) {
1191
+ if (ch === 58) {
1192
+ following = state.input.charCodeAt(state.position + 1);
1193
+ if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) {
1194
+ break;
1195
+ }
1196
+ } else if (ch === 35) {
1197
+ preceding = state.input.charCodeAt(state.position - 1);
1198
+ if (is_WS_OR_EOL(preceding)) {
1199
+ break;
1200
+ }
1201
+ } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && is_FLOW_INDICATOR(ch)) {
1202
+ break;
1203
+ } else if (is_EOL(ch)) {
1204
+ _line = state.line;
1205
+ _lineStart = state.lineStart;
1206
+ _lineIndent = state.lineIndent;
1207
+ skipSeparationSpace(state, false, -1);
1208
+ if (state.lineIndent >= nodeIndent) {
1209
+ hasPendingContent = true;
1210
+ ch = state.input.charCodeAt(state.position);
1211
+ continue;
1212
+ } else {
1213
+ state.position = captureEnd;
1214
+ state.line = _line;
1215
+ state.lineStart = _lineStart;
1216
+ state.lineIndent = _lineIndent;
1217
+ break;
1218
+ }
1219
+ }
1220
+ if (hasPendingContent) {
1221
+ captureSegment(state, captureStart, captureEnd, false);
1222
+ writeFoldedLines(state, state.line - _line);
1223
+ captureStart = captureEnd = state.position;
1224
+ hasPendingContent = false;
1225
+ }
1226
+ if (!is_WHITE_SPACE(ch)) {
1227
+ captureEnd = state.position + 1;
1228
+ }
1229
+ ch = state.input.charCodeAt(++state.position);
1230
+ }
1231
+ captureSegment(state, captureStart, captureEnd, false);
1232
+ if (state.result) {
1233
+ return true;
1234
+ }
1235
+ state.kind = _kind;
1236
+ state.result = _result;
1237
+ return false;
1238
+ }
1239
+ __name(readPlainScalar, "readPlainScalar");
1240
+ function readSingleQuotedScalar(state, nodeIndent) {
1241
+ var ch, captureStart, captureEnd;
1242
+ ch = state.input.charCodeAt(state.position);
1243
+ if (ch !== 39) {
1244
+ return false;
1245
+ }
1246
+ state.kind = "scalar";
1247
+ state.result = "";
1248
+ state.position++;
1249
+ captureStart = captureEnd = state.position;
1250
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1251
+ if (ch === 39) {
1252
+ captureSegment(state, captureStart, state.position, true);
1253
+ ch = state.input.charCodeAt(++state.position);
1254
+ if (ch === 39) {
1255
+ captureStart = state.position;
1256
+ state.position++;
1257
+ captureEnd = state.position;
1258
+ } else {
1259
+ return true;
1260
+ }
1261
+ } else if (is_EOL(ch)) {
1262
+ captureSegment(state, captureStart, captureEnd, true);
1263
+ writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
1264
+ captureStart = captureEnd = state.position;
1265
+ } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
1266
+ throwError(state, "unexpected end of the document within a single quoted scalar");
1267
+ } else {
1268
+ state.position++;
1269
+ captureEnd = state.position;
1270
+ }
1271
+ }
1272
+ throwError(state, "unexpected end of the stream within a single quoted scalar");
1273
+ }
1274
+ __name(readSingleQuotedScalar, "readSingleQuotedScalar");
1275
+ function readDoubleQuotedScalar(state, nodeIndent) {
1276
+ var captureStart, captureEnd, hexLength, hexResult, tmp, ch;
1277
+ ch = state.input.charCodeAt(state.position);
1278
+ if (ch !== 34) {
1279
+ return false;
1280
+ }
1281
+ state.kind = "scalar";
1282
+ state.result = "";
1283
+ state.position++;
1284
+ captureStart = captureEnd = state.position;
1285
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1286
+ if (ch === 34) {
1287
+ captureSegment(state, captureStart, state.position, true);
1288
+ state.position++;
1289
+ return true;
1290
+ } else if (ch === 92) {
1291
+ captureSegment(state, captureStart, state.position, true);
1292
+ ch = state.input.charCodeAt(++state.position);
1293
+ if (is_EOL(ch)) {
1294
+ skipSeparationSpace(state, false, nodeIndent);
1295
+ } else if (ch < 256 && simpleEscapeCheck[ch]) {
1296
+ state.result += simpleEscapeMap[ch];
1297
+ state.position++;
1298
+ } else if ((tmp = escapedHexLen(ch)) > 0) {
1299
+ hexLength = tmp;
1300
+ hexResult = 0;
1301
+ for (; hexLength > 0; hexLength--) {
1302
+ ch = state.input.charCodeAt(++state.position);
1303
+ if ((tmp = fromHexCode(ch)) >= 0) {
1304
+ hexResult = (hexResult << 4) + tmp;
1305
+ } else {
1306
+ throwError(state, "expected hexadecimal character");
1307
+ }
1308
+ }
1309
+ state.result += charFromCodepoint(hexResult);
1310
+ state.position++;
1311
+ } else {
1312
+ throwError(state, "unknown escape sequence");
1313
+ }
1314
+ captureStart = captureEnd = state.position;
1315
+ } else if (is_EOL(ch)) {
1316
+ captureSegment(state, captureStart, captureEnd, true);
1317
+ writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
1318
+ captureStart = captureEnd = state.position;
1319
+ } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
1320
+ throwError(state, "unexpected end of the document within a double quoted scalar");
1321
+ } else {
1322
+ state.position++;
1323
+ captureEnd = state.position;
1324
+ }
1325
+ }
1326
+ throwError(state, "unexpected end of the stream within a double quoted scalar");
1327
+ }
1328
+ __name(readDoubleQuotedScalar, "readDoubleQuotedScalar");
1329
+ function readFlowCollection(state, nodeIndent) {
1330
+ var readNext = true, _line, _lineStart, _pos, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, overridableKeys = /* @__PURE__ */ Object.create(null), keyNode, keyTag, valueNode, ch;
1331
+ ch = state.input.charCodeAt(state.position);
1332
+ if (ch === 91) {
1333
+ terminator = 93;
1334
+ isMapping = false;
1335
+ _result = [];
1336
+ } else if (ch === 123) {
1337
+ terminator = 125;
1338
+ isMapping = true;
1339
+ _result = {};
1340
+ } else {
1341
+ return false;
1342
+ }
1343
+ if (state.anchor !== null) {
1344
+ state.anchorMap[state.anchor] = _result;
1345
+ }
1346
+ ch = state.input.charCodeAt(++state.position);
1347
+ while (ch !== 0) {
1348
+ skipSeparationSpace(state, true, nodeIndent);
1349
+ ch = state.input.charCodeAt(state.position);
1350
+ if (ch === terminator) {
1351
+ state.position++;
1352
+ state.tag = _tag;
1353
+ state.anchor = _anchor;
1354
+ state.kind = isMapping ? "mapping" : "sequence";
1355
+ state.result = _result;
1356
+ return true;
1357
+ } else if (!readNext) {
1358
+ throwError(state, "missed comma between flow collection entries");
1359
+ } else if (ch === 44) {
1360
+ throwError(state, "expected the node content, but found ','");
1361
+ }
1362
+ keyTag = keyNode = valueNode = null;
1363
+ isPair = isExplicitPair = false;
1364
+ if (ch === 63) {
1365
+ following = state.input.charCodeAt(state.position + 1);
1366
+ if (is_WS_OR_EOL(following)) {
1367
+ isPair = isExplicitPair = true;
1368
+ state.position++;
1369
+ skipSeparationSpace(state, true, nodeIndent);
1370
+ }
1371
+ }
1372
+ _line = state.line;
1373
+ _lineStart = state.lineStart;
1374
+ _pos = state.position;
1375
+ composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
1376
+ keyTag = state.tag;
1377
+ keyNode = state.result;
1378
+ skipSeparationSpace(state, true, nodeIndent);
1379
+ ch = state.input.charCodeAt(state.position);
1380
+ if ((isExplicitPair || state.line === _line) && ch === 58) {
1381
+ isPair = true;
1382
+ ch = state.input.charCodeAt(++state.position);
1383
+ skipSeparationSpace(state, true, nodeIndent);
1384
+ composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
1385
+ valueNode = state.result;
1386
+ }
1387
+ if (isMapping) {
1388
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);
1389
+ } else if (isPair) {
1390
+ _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));
1391
+ } else {
1392
+ _result.push(keyNode);
1393
+ }
1394
+ skipSeparationSpace(state, true, nodeIndent);
1395
+ ch = state.input.charCodeAt(state.position);
1396
+ if (ch === 44) {
1397
+ readNext = true;
1398
+ ch = state.input.charCodeAt(++state.position);
1399
+ } else {
1400
+ readNext = false;
1401
+ }
1402
+ }
1403
+ throwError(state, "unexpected end of the stream within a flow collection");
1404
+ }
1405
+ __name(readFlowCollection, "readFlowCollection");
1406
+ function readBlockScalar(state, nodeIndent) {
1407
+ var captureStart, folding, chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch;
1408
+ ch = state.input.charCodeAt(state.position);
1409
+ if (ch === 124) {
1410
+ folding = false;
1411
+ } else if (ch === 62) {
1412
+ folding = true;
1413
+ } else {
1414
+ return false;
1415
+ }
1416
+ state.kind = "scalar";
1417
+ state.result = "";
1418
+ while (ch !== 0) {
1419
+ ch = state.input.charCodeAt(++state.position);
1420
+ if (ch === 43 || ch === 45) {
1421
+ if (CHOMPING_CLIP === chomping) {
1422
+ chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
1423
+ } else {
1424
+ throwError(state, "repeat of a chomping mode identifier");
1425
+ }
1426
+ } else if ((tmp = fromDecimalCode(ch)) >= 0) {
1427
+ if (tmp === 0) {
1428
+ throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
1429
+ } else if (!detectedIndent) {
1430
+ textIndent = nodeIndent + tmp - 1;
1431
+ detectedIndent = true;
1432
+ } else {
1433
+ throwError(state, "repeat of an indentation width identifier");
1434
+ }
1435
+ } else {
1436
+ break;
1437
+ }
1438
+ }
1439
+ if (is_WHITE_SPACE(ch)) {
1440
+ do {
1441
+ ch = state.input.charCodeAt(++state.position);
1442
+ } while (is_WHITE_SPACE(ch));
1443
+ if (ch === 35) {
1444
+ do {
1445
+ ch = state.input.charCodeAt(++state.position);
1446
+ } while (!is_EOL(ch) && ch !== 0);
1447
+ }
1448
+ }
1449
+ while (ch !== 0) {
1450
+ readLineBreak(state);
1451
+ state.lineIndent = 0;
1452
+ ch = state.input.charCodeAt(state.position);
1453
+ while ((!detectedIndent || state.lineIndent < textIndent) && ch === 32) {
1454
+ state.lineIndent++;
1455
+ ch = state.input.charCodeAt(++state.position);
1456
+ }
1457
+ if (!detectedIndent && state.lineIndent > textIndent) {
1458
+ textIndent = state.lineIndent;
1459
+ }
1460
+ if (is_EOL(ch)) {
1461
+ emptyLines++;
1462
+ continue;
1463
+ }
1464
+ if (state.lineIndent < textIndent) {
1465
+ if (chomping === CHOMPING_KEEP) {
1466
+ state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1467
+ } else if (chomping === CHOMPING_CLIP) {
1468
+ if (didReadContent) {
1469
+ state.result += "\n";
1470
+ }
1471
+ }
1472
+ break;
1473
+ }
1474
+ if (folding) {
1475
+ if (is_WHITE_SPACE(ch)) {
1476
+ atMoreIndented = true;
1477
+ state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1478
+ } else if (atMoreIndented) {
1479
+ atMoreIndented = false;
1480
+ state.result += common.repeat("\n", emptyLines + 1);
1481
+ } else if (emptyLines === 0) {
1482
+ if (didReadContent) {
1483
+ state.result += " ";
1484
+ }
1485
+ } else {
1486
+ state.result += common.repeat("\n", emptyLines);
1487
+ }
1488
+ } else {
1489
+ state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1490
+ }
1491
+ didReadContent = true;
1492
+ detectedIndent = true;
1493
+ emptyLines = 0;
1494
+ captureStart = state.position;
1495
+ while (!is_EOL(ch) && ch !== 0) {
1496
+ ch = state.input.charCodeAt(++state.position);
1497
+ }
1498
+ captureSegment(state, captureStart, state.position, false);
1499
+ }
1500
+ return true;
1501
+ }
1502
+ __name(readBlockScalar, "readBlockScalar");
1503
+ function readBlockSequence(state, nodeIndent) {
1504
+ var _line, _tag = state.tag, _anchor = state.anchor, _result = [], following, detected = false, ch;
1505
+ if (state.firstTabInLine !== -1) return false;
1506
+ if (state.anchor !== null) {
1507
+ state.anchorMap[state.anchor] = _result;
1508
+ }
1509
+ ch = state.input.charCodeAt(state.position);
1510
+ while (ch !== 0) {
1511
+ if (state.firstTabInLine !== -1) {
1512
+ state.position = state.firstTabInLine;
1513
+ throwError(state, "tab characters must not be used in indentation");
1514
+ }
1515
+ if (ch !== 45) {
1516
+ break;
1517
+ }
1518
+ following = state.input.charCodeAt(state.position + 1);
1519
+ if (!is_WS_OR_EOL(following)) {
1520
+ break;
1521
+ }
1522
+ detected = true;
1523
+ state.position++;
1524
+ if (skipSeparationSpace(state, true, -1)) {
1525
+ if (state.lineIndent <= nodeIndent) {
1526
+ _result.push(null);
1527
+ ch = state.input.charCodeAt(state.position);
1528
+ continue;
1529
+ }
1530
+ }
1531
+ _line = state.line;
1532
+ composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
1533
+ _result.push(state.result);
1534
+ skipSeparationSpace(state, true, -1);
1535
+ ch = state.input.charCodeAt(state.position);
1536
+ if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
1537
+ throwError(state, "bad indentation of a sequence entry");
1538
+ } else if (state.lineIndent < nodeIndent) {
1539
+ break;
1540
+ }
1541
+ }
1542
+ if (detected) {
1543
+ state.tag = _tag;
1544
+ state.anchor = _anchor;
1545
+ state.kind = "sequence";
1546
+ state.result = _result;
1547
+ return true;
1548
+ }
1549
+ return false;
1550
+ }
1551
+ __name(readBlockSequence, "readBlockSequence");
1552
+ function readBlockMapping(state, nodeIndent, flowIndent) {
1553
+ var following, allowCompact, _line, _keyLine, _keyLineStart, _keyPos, _tag = state.tag, _anchor = state.anchor, _result = {}, overridableKeys = /* @__PURE__ */ Object.create(null), keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch;
1554
+ if (state.firstTabInLine !== -1) return false;
1555
+ if (state.anchor !== null) {
1556
+ state.anchorMap[state.anchor] = _result;
1557
+ }
1558
+ ch = state.input.charCodeAt(state.position);
1559
+ while (ch !== 0) {
1560
+ if (!atExplicitKey && state.firstTabInLine !== -1) {
1561
+ state.position = state.firstTabInLine;
1562
+ throwError(state, "tab characters must not be used in indentation");
1563
+ }
1564
+ following = state.input.charCodeAt(state.position + 1);
1565
+ _line = state.line;
1566
+ if ((ch === 63 || ch === 58) && is_WS_OR_EOL(following)) {
1567
+ if (ch === 63) {
1568
+ if (atExplicitKey) {
1569
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1570
+ keyTag = keyNode = valueNode = null;
1571
+ }
1572
+ detected = true;
1573
+ atExplicitKey = true;
1574
+ allowCompact = true;
1575
+ } else if (atExplicitKey) {
1576
+ atExplicitKey = false;
1577
+ allowCompact = true;
1578
+ } else {
1579
+ throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
1580
+ }
1581
+ state.position += 1;
1582
+ ch = following;
1583
+ } else {
1584
+ _keyLine = state.line;
1585
+ _keyLineStart = state.lineStart;
1586
+ _keyPos = state.position;
1587
+ if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
1588
+ break;
1589
+ }
1590
+ if (state.line === _line) {
1591
+ ch = state.input.charCodeAt(state.position);
1592
+ while (is_WHITE_SPACE(ch)) {
1593
+ ch = state.input.charCodeAt(++state.position);
1594
+ }
1595
+ if (ch === 58) {
1596
+ ch = state.input.charCodeAt(++state.position);
1597
+ if (!is_WS_OR_EOL(ch)) {
1598
+ throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
1599
+ }
1600
+ if (atExplicitKey) {
1601
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1602
+ keyTag = keyNode = valueNode = null;
1603
+ }
1604
+ detected = true;
1605
+ atExplicitKey = false;
1606
+ allowCompact = false;
1607
+ keyTag = state.tag;
1608
+ keyNode = state.result;
1609
+ } else if (detected) {
1610
+ throwError(state, "can not read an implicit mapping pair; a colon is missed");
1611
+ } else {
1612
+ state.tag = _tag;
1613
+ state.anchor = _anchor;
1614
+ return true;
1615
+ }
1616
+ } else if (detected) {
1617
+ throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
1618
+ } else {
1619
+ state.tag = _tag;
1620
+ state.anchor = _anchor;
1621
+ return true;
1622
+ }
1623
+ }
1624
+ if (state.line === _line || state.lineIndent > nodeIndent) {
1625
+ if (atExplicitKey) {
1626
+ _keyLine = state.line;
1627
+ _keyLineStart = state.lineStart;
1628
+ _keyPos = state.position;
1629
+ }
1630
+ if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
1631
+ if (atExplicitKey) {
1632
+ keyNode = state.result;
1633
+ } else {
1634
+ valueNode = state.result;
1635
+ }
1636
+ }
1637
+ if (!atExplicitKey) {
1638
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
1639
+ keyTag = keyNode = valueNode = null;
1640
+ }
1641
+ skipSeparationSpace(state, true, -1);
1642
+ ch = state.input.charCodeAt(state.position);
1643
+ }
1644
+ if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
1645
+ throwError(state, "bad indentation of a mapping entry");
1646
+ } else if (state.lineIndent < nodeIndent) {
1647
+ break;
1648
+ }
1649
+ }
1650
+ if (atExplicitKey) {
1651
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1652
+ }
1653
+ if (detected) {
1654
+ state.tag = _tag;
1655
+ state.anchor = _anchor;
1656
+ state.kind = "mapping";
1657
+ state.result = _result;
1658
+ }
1659
+ return detected;
1660
+ }
1661
+ __name(readBlockMapping, "readBlockMapping");
1662
+ function readTagProperty(state) {
1663
+ var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch;
1664
+ ch = state.input.charCodeAt(state.position);
1665
+ if (ch !== 33) return false;
1666
+ if (state.tag !== null) {
1667
+ throwError(state, "duplication of a tag property");
1668
+ }
1669
+ ch = state.input.charCodeAt(++state.position);
1670
+ if (ch === 60) {
1671
+ isVerbatim = true;
1672
+ ch = state.input.charCodeAt(++state.position);
1673
+ } else if (ch === 33) {
1674
+ isNamed = true;
1675
+ tagHandle = "!!";
1676
+ ch = state.input.charCodeAt(++state.position);
1677
+ } else {
1678
+ tagHandle = "!";
1679
+ }
1680
+ _position = state.position;
1681
+ if (isVerbatim) {
1682
+ do {
1683
+ ch = state.input.charCodeAt(++state.position);
1684
+ } while (ch !== 0 && ch !== 62);
1685
+ if (state.position < state.length) {
1686
+ tagName = state.input.slice(_position, state.position);
1687
+ ch = state.input.charCodeAt(++state.position);
1688
+ } else {
1689
+ throwError(state, "unexpected end of the stream within a verbatim tag");
1690
+ }
1691
+ } else {
1692
+ while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1693
+ if (ch === 33) {
1694
+ if (!isNamed) {
1695
+ tagHandle = state.input.slice(_position - 1, state.position + 1);
1696
+ if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
1697
+ throwError(state, "named tag handle cannot contain such characters");
1698
+ }
1699
+ isNamed = true;
1700
+ _position = state.position + 1;
1701
+ } else {
1702
+ throwError(state, "tag suffix cannot contain exclamation marks");
1703
+ }
1704
+ }
1705
+ ch = state.input.charCodeAt(++state.position);
1706
+ }
1707
+ tagName = state.input.slice(_position, state.position);
1708
+ if (PATTERN_FLOW_INDICATORS.test(tagName)) {
1709
+ throwError(state, "tag suffix cannot contain flow indicator characters");
1710
+ }
1711
+ }
1712
+ if (tagName && !PATTERN_TAG_URI.test(tagName)) {
1713
+ throwError(state, "tag name cannot contain such characters: " + tagName);
1714
+ }
1715
+ try {
1716
+ tagName = decodeURIComponent(tagName);
1717
+ } catch (err) {
1718
+ throwError(state, "tag name is malformed: " + tagName);
1719
+ }
1720
+ if (isVerbatim) {
1721
+ state.tag = tagName;
1722
+ } else if (_hasOwnProperty$1.call(state.tagMap, tagHandle)) {
1723
+ state.tag = state.tagMap[tagHandle] + tagName;
1724
+ } else if (tagHandle === "!") {
1725
+ state.tag = "!" + tagName;
1726
+ } else if (tagHandle === "!!") {
1727
+ state.tag = "tag:yaml.org,2002:" + tagName;
1728
+ } else {
1729
+ throwError(state, 'undeclared tag handle "' + tagHandle + '"');
1730
+ }
1731
+ return true;
1732
+ }
1733
+ __name(readTagProperty, "readTagProperty");
1734
+ function readAnchorProperty(state) {
1735
+ var _position, ch;
1736
+ ch = state.input.charCodeAt(state.position);
1737
+ if (ch !== 38) return false;
1738
+ if (state.anchor !== null) {
1739
+ throwError(state, "duplication of an anchor property");
1740
+ }
1741
+ ch = state.input.charCodeAt(++state.position);
1742
+ _position = state.position;
1743
+ while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
1744
+ ch = state.input.charCodeAt(++state.position);
1745
+ }
1746
+ if (state.position === _position) {
1747
+ throwError(state, "name of an anchor node must contain at least one character");
1748
+ }
1749
+ state.anchor = state.input.slice(_position, state.position);
1750
+ return true;
1751
+ }
1752
+ __name(readAnchorProperty, "readAnchorProperty");
1753
+ function readAlias(state) {
1754
+ var _position, alias, ch;
1755
+ ch = state.input.charCodeAt(state.position);
1756
+ if (ch !== 42) return false;
1757
+ ch = state.input.charCodeAt(++state.position);
1758
+ _position = state.position;
1759
+ while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
1760
+ ch = state.input.charCodeAt(++state.position);
1761
+ }
1762
+ if (state.position === _position) {
1763
+ throwError(state, "name of an alias node must contain at least one character");
1764
+ }
1765
+ alias = state.input.slice(_position, state.position);
1766
+ if (!_hasOwnProperty$1.call(state.anchorMap, alias)) {
1767
+ throwError(state, 'unidentified alias "' + alias + '"');
1768
+ }
1769
+ state.result = state.anchorMap[alias];
1770
+ skipSeparationSpace(state, true, -1);
1771
+ return true;
1772
+ }
1773
+ __name(readAlias, "readAlias");
1774
+ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
1775
+ var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, typeList, type2, flowIndent, blockIndent;
1776
+ if (state.listener !== null) {
1777
+ state.listener("open", state);
1778
+ }
1779
+ state.tag = null;
1780
+ state.anchor = null;
1781
+ state.kind = null;
1782
+ state.result = null;
1783
+ allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;
1784
+ if (allowToSeek) {
1785
+ if (skipSeparationSpace(state, true, -1)) {
1786
+ atNewLine = true;
1787
+ if (state.lineIndent > parentIndent) {
1788
+ indentStatus = 1;
1789
+ } else if (state.lineIndent === parentIndent) {
1790
+ indentStatus = 0;
1791
+ } else if (state.lineIndent < parentIndent) {
1792
+ indentStatus = -1;
1793
+ }
1794
+ }
1795
+ }
1796
+ if (indentStatus === 1) {
1797
+ while (readTagProperty(state) || readAnchorProperty(state)) {
1798
+ if (skipSeparationSpace(state, true, -1)) {
1799
+ atNewLine = true;
1800
+ allowBlockCollections = allowBlockStyles;
1801
+ if (state.lineIndent > parentIndent) {
1802
+ indentStatus = 1;
1803
+ } else if (state.lineIndent === parentIndent) {
1804
+ indentStatus = 0;
1805
+ } else if (state.lineIndent < parentIndent) {
1806
+ indentStatus = -1;
1807
+ }
1808
+ } else {
1809
+ allowBlockCollections = false;
1810
+ }
1811
+ }
1812
+ }
1813
+ if (allowBlockCollections) {
1814
+ allowBlockCollections = atNewLine || allowCompact;
1815
+ }
1816
+ if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
1817
+ if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
1818
+ flowIndent = parentIndent;
1819
+ } else {
1820
+ flowIndent = parentIndent + 1;
1821
+ }
1822
+ blockIndent = state.position - state.lineStart;
1823
+ if (indentStatus === 1) {
1824
+ if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) {
1825
+ hasContent = true;
1826
+ } else {
1827
+ if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) {
1828
+ hasContent = true;
1829
+ } else if (readAlias(state)) {
1830
+ hasContent = true;
1831
+ if (state.tag !== null || state.anchor !== null) {
1832
+ throwError(state, "alias node should not have any properties");
1833
+ }
1834
+ } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
1835
+ hasContent = true;
1836
+ if (state.tag === null) {
1837
+ state.tag = "?";
1838
+ }
1839
+ }
1840
+ if (state.anchor !== null) {
1841
+ state.anchorMap[state.anchor] = state.result;
1842
+ }
1843
+ }
1844
+ } else if (indentStatus === 0) {
1845
+ hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
1846
+ }
1847
+ }
1848
+ if (state.tag === null) {
1849
+ if (state.anchor !== null) {
1850
+ state.anchorMap[state.anchor] = state.result;
1851
+ }
1852
+ } else if (state.tag === "?") {
1853
+ if (state.result !== null && state.kind !== "scalar") {
1854
+ throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
1855
+ }
1856
+ for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
1857
+ type2 = state.implicitTypes[typeIndex];
1858
+ if (type2.resolve(state.result)) {
1859
+ state.result = type2.construct(state.result);
1860
+ state.tag = type2.tag;
1861
+ if (state.anchor !== null) {
1862
+ state.anchorMap[state.anchor] = state.result;
1863
+ }
1864
+ break;
1865
+ }
1866
+ }
1867
+ } else if (state.tag !== "!") {
1868
+ if (_hasOwnProperty$1.call(state.typeMap[state.kind || "fallback"], state.tag)) {
1869
+ type2 = state.typeMap[state.kind || "fallback"][state.tag];
1870
+ } else {
1871
+ type2 = null;
1872
+ typeList = state.typeMap.multi[state.kind || "fallback"];
1873
+ for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {
1874
+ if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
1875
+ type2 = typeList[typeIndex];
1876
+ break;
1877
+ }
1878
+ }
1879
+ }
1880
+ if (!type2) {
1881
+ throwError(state, "unknown tag !<" + state.tag + ">");
1882
+ }
1883
+ if (state.result !== null && type2.kind !== state.kind) {
1884
+ throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type2.kind + '", not "' + state.kind + '"');
1885
+ }
1886
+ if (!type2.resolve(state.result, state.tag)) {
1887
+ throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
1888
+ } else {
1889
+ state.result = type2.construct(state.result, state.tag);
1890
+ if (state.anchor !== null) {
1891
+ state.anchorMap[state.anchor] = state.result;
1892
+ }
1893
+ }
1894
+ }
1895
+ if (state.listener !== null) {
1896
+ state.listener("close", state);
1897
+ }
1898
+ return state.tag !== null || state.anchor !== null || hasContent;
1899
+ }
1900
+ __name(composeNode, "composeNode");
1901
+ function readDocument(state) {
1902
+ var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch;
1903
+ state.version = null;
1904
+ state.checkLineBreaks = state.legacy;
1905
+ state.tagMap = /* @__PURE__ */ Object.create(null);
1906
+ state.anchorMap = /* @__PURE__ */ Object.create(null);
1907
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1908
+ skipSeparationSpace(state, true, -1);
1909
+ ch = state.input.charCodeAt(state.position);
1910
+ if (state.lineIndent > 0 || ch !== 37) {
1911
+ break;
1912
+ }
1913
+ hasDirectives = true;
1914
+ ch = state.input.charCodeAt(++state.position);
1915
+ _position = state.position;
1916
+ while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1917
+ ch = state.input.charCodeAt(++state.position);
1918
+ }
1919
+ directiveName = state.input.slice(_position, state.position);
1920
+ directiveArgs = [];
1921
+ if (directiveName.length < 1) {
1922
+ throwError(state, "directive name must not be less than one character in length");
1923
+ }
1924
+ while (ch !== 0) {
1925
+ while (is_WHITE_SPACE(ch)) {
1926
+ ch = state.input.charCodeAt(++state.position);
1927
+ }
1928
+ if (ch === 35) {
1929
+ do {
1930
+ ch = state.input.charCodeAt(++state.position);
1931
+ } while (ch !== 0 && !is_EOL(ch));
1932
+ break;
1933
+ }
1934
+ if (is_EOL(ch)) break;
1935
+ _position = state.position;
1936
+ while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1937
+ ch = state.input.charCodeAt(++state.position);
1938
+ }
1939
+ directiveArgs.push(state.input.slice(_position, state.position));
1940
+ }
1941
+ if (ch !== 0) readLineBreak(state);
1942
+ if (_hasOwnProperty$1.call(directiveHandlers, directiveName)) {
1943
+ directiveHandlers[directiveName](state, directiveName, directiveArgs);
1944
+ } else {
1945
+ throwWarning(state, 'unknown document directive "' + directiveName + '"');
1946
+ }
1947
+ }
1948
+ skipSeparationSpace(state, true, -1);
1949
+ if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) {
1950
+ state.position += 3;
1951
+ skipSeparationSpace(state, true, -1);
1952
+ } else if (hasDirectives) {
1953
+ throwError(state, "directives end mark is expected");
1954
+ }
1955
+ composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
1956
+ skipSeparationSpace(state, true, -1);
1957
+ if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
1958
+ throwWarning(state, "non-ASCII line breaks are interpreted as content");
1959
+ }
1960
+ state.documents.push(state.result);
1961
+ if (state.position === state.lineStart && testDocumentSeparator(state)) {
1962
+ if (state.input.charCodeAt(state.position) === 46) {
1963
+ state.position += 3;
1964
+ skipSeparationSpace(state, true, -1);
1965
+ }
1966
+ return;
1967
+ }
1968
+ if (state.position < state.length - 1) {
1969
+ throwError(state, "end of the stream or a document separator is expected");
1970
+ } else {
1971
+ return;
1972
+ }
1973
+ }
1974
+ __name(readDocument, "readDocument");
1975
+ function loadDocuments(input, options) {
1976
+ input = String(input);
1977
+ options = options || {};
1978
+ if (input.length !== 0) {
1979
+ if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) {
1980
+ input += "\n";
1981
+ }
1982
+ if (input.charCodeAt(0) === 65279) {
1983
+ input = input.slice(1);
1984
+ }
1985
+ }
1986
+ var state = new State$1(input, options);
1987
+ var nullpos = input.indexOf("\0");
1988
+ if (nullpos !== -1) {
1989
+ state.position = nullpos;
1990
+ throwError(state, "null byte is not allowed in input");
1991
+ }
1992
+ state.input += "\0";
1993
+ while (state.input.charCodeAt(state.position) === 32) {
1994
+ state.lineIndent += 1;
1995
+ state.position += 1;
1996
+ }
1997
+ while (state.position < state.length - 1) {
1998
+ readDocument(state);
1999
+ }
2000
+ return state.documents;
2001
+ }
2002
+ __name(loadDocuments, "loadDocuments");
2003
+ function loadAll$1(input, iterator, options) {
2004
+ if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") {
2005
+ options = iterator;
2006
+ iterator = null;
2007
+ }
2008
+ var documents = loadDocuments(input, options);
2009
+ if (typeof iterator !== "function") {
2010
+ return documents;
2011
+ }
2012
+ for (var index = 0, length = documents.length; index < length; index += 1) {
2013
+ iterator(documents[index]);
2014
+ }
2015
+ }
2016
+ __name(loadAll$1, "loadAll$1");
2017
+ function load$1(input, options) {
2018
+ var documents = loadDocuments(input, options);
2019
+ if (documents.length === 0) {
2020
+ return void 0;
2021
+ } else if (documents.length === 1) {
2022
+ return documents[0];
2023
+ }
2024
+ throw new exception("expected a single document in the stream, but found more");
2025
+ }
2026
+ __name(load$1, "load$1");
2027
+ var load_1 = load$1;
2028
+ var loader = {
2029
+ load: load_1
2030
+ };
2031
+ var _toString = Object.prototype.toString;
2032
+ var _hasOwnProperty = Object.prototype.hasOwnProperty;
2033
+ var CHAR_BOM = 65279;
2034
+ var CHAR_TAB = 9;
2035
+ var CHAR_LINE_FEED = 10;
2036
+ var CHAR_CARRIAGE_RETURN = 13;
2037
+ var CHAR_SPACE = 32;
2038
+ var CHAR_EXCLAMATION = 33;
2039
+ var CHAR_DOUBLE_QUOTE = 34;
2040
+ var CHAR_SHARP = 35;
2041
+ var CHAR_PERCENT = 37;
2042
+ var CHAR_AMPERSAND = 38;
2043
+ var CHAR_SINGLE_QUOTE = 39;
2044
+ var CHAR_ASTERISK = 42;
2045
+ var CHAR_COMMA = 44;
2046
+ var CHAR_MINUS = 45;
2047
+ var CHAR_COLON = 58;
2048
+ var CHAR_EQUALS = 61;
2049
+ var CHAR_GREATER_THAN = 62;
2050
+ var CHAR_QUESTION = 63;
2051
+ var CHAR_COMMERCIAL_AT = 64;
2052
+ var CHAR_LEFT_SQUARE_BRACKET = 91;
2053
+ var CHAR_RIGHT_SQUARE_BRACKET = 93;
2054
+ var CHAR_GRAVE_ACCENT = 96;
2055
+ var CHAR_LEFT_CURLY_BRACKET = 123;
2056
+ var CHAR_VERTICAL_LINE = 124;
2057
+ var CHAR_RIGHT_CURLY_BRACKET = 125;
2058
+ var ESCAPE_SEQUENCES = {};
2059
+ ESCAPE_SEQUENCES[0] = "\\0";
2060
+ ESCAPE_SEQUENCES[7] = "\\a";
2061
+ ESCAPE_SEQUENCES[8] = "\\b";
2062
+ ESCAPE_SEQUENCES[9] = "\\t";
2063
+ ESCAPE_SEQUENCES[10] = "\\n";
2064
+ ESCAPE_SEQUENCES[11] = "\\v";
2065
+ ESCAPE_SEQUENCES[12] = "\\f";
2066
+ ESCAPE_SEQUENCES[13] = "\\r";
2067
+ ESCAPE_SEQUENCES[27] = "\\e";
2068
+ ESCAPE_SEQUENCES[34] = '\\"';
2069
+ ESCAPE_SEQUENCES[92] = "\\\\";
2070
+ ESCAPE_SEQUENCES[133] = "\\N";
2071
+ ESCAPE_SEQUENCES[160] = "\\_";
2072
+ ESCAPE_SEQUENCES[8232] = "\\L";
2073
+ ESCAPE_SEQUENCES[8233] = "\\P";
2074
+ var DEPRECATED_BOOLEANS_SYNTAX = [
2075
+ "y",
2076
+ "Y",
2077
+ "yes",
2078
+ "Yes",
2079
+ "YES",
2080
+ "on",
2081
+ "On",
2082
+ "ON",
2083
+ "n",
2084
+ "N",
2085
+ "no",
2086
+ "No",
2087
+ "NO",
2088
+ "off",
2089
+ "Off",
2090
+ "OFF"
2091
+ ];
2092
+ var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2093
+ function compileStyleMap(schema2, map2) {
2094
+ var result, keys, index, length, tag, style, type2;
2095
+ if (map2 === null) return {};
2096
+ result = {};
2097
+ keys = Object.keys(map2);
2098
+ for (index = 0, length = keys.length; index < length; index += 1) {
2099
+ tag = keys[index];
2100
+ style = String(map2[tag]);
2101
+ if (tag.slice(0, 2) === "!!") {
2102
+ tag = "tag:yaml.org,2002:" + tag.slice(2);
2103
+ }
2104
+ type2 = schema2.compiledTypeMap["fallback"][tag];
2105
+ if (type2 && _hasOwnProperty.call(type2.styleAliases, style)) {
2106
+ style = type2.styleAliases[style];
2107
+ }
2108
+ result[tag] = style;
2109
+ }
2110
+ return result;
2111
+ }
2112
+ __name(compileStyleMap, "compileStyleMap");
2113
+ function encodeHex(character) {
2114
+ var string, handle, length;
2115
+ string = character.toString(16).toUpperCase();
2116
+ if (character <= 255) {
2117
+ handle = "x";
2118
+ length = 2;
2119
+ } else if (character <= 65535) {
2120
+ handle = "u";
2121
+ length = 4;
2122
+ } else if (character <= 4294967295) {
2123
+ handle = "U";
2124
+ length = 8;
2125
+ } else {
2126
+ throw new exception("code point within a string may not be greater than 0xFFFFFFFF");
2127
+ }
2128
+ return "\\" + handle + common.repeat("0", length - string.length) + string;
2129
+ }
2130
+ __name(encodeHex, "encodeHex");
2131
+ var QUOTING_TYPE_SINGLE = 1;
2132
+ var QUOTING_TYPE_DOUBLE = 2;
2133
+ function State(options) {
2134
+ this.schema = options["schema"] || _default;
2135
+ this.indent = Math.max(1, options["indent"] || 2);
2136
+ this.noArrayIndent = options["noArrayIndent"] || false;
2137
+ this.skipInvalid = options["skipInvalid"] || false;
2138
+ this.flowLevel = common.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"];
2139
+ this.styleMap = compileStyleMap(this.schema, options["styles"] || null);
2140
+ this.sortKeys = options["sortKeys"] || false;
2141
+ this.lineWidth = options["lineWidth"] || 80;
2142
+ this.noRefs = options["noRefs"] || false;
2143
+ this.noCompatMode = options["noCompatMode"] || false;
2144
+ this.condenseFlow = options["condenseFlow"] || false;
2145
+ this.quotingType = options["quotingType"] === '"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE;
2146
+ this.forceQuotes = options["forceQuotes"] || false;
2147
+ this.replacer = typeof options["replacer"] === "function" ? options["replacer"] : null;
2148
+ this.implicitTypes = this.schema.compiledImplicit;
2149
+ this.explicitTypes = this.schema.compiledExplicit;
2150
+ this.tag = null;
2151
+ this.result = "";
2152
+ this.duplicates = [];
2153
+ this.usedDuplicates = null;
2154
+ }
2155
+ __name(State, "State");
2156
+ function indentString(string, spaces) {
2157
+ var ind = common.repeat(" ", spaces), position = 0, next = -1, result = "", line, length = string.length;
2158
+ while (position < length) {
2159
+ next = string.indexOf("\n", position);
2160
+ if (next === -1) {
2161
+ line = string.slice(position);
2162
+ position = length;
2163
+ } else {
2164
+ line = string.slice(position, next + 1);
2165
+ position = next + 1;
2166
+ }
2167
+ if (line.length && line !== "\n") result += ind;
2168
+ result += line;
2169
+ }
2170
+ return result;
2171
+ }
2172
+ __name(indentString, "indentString");
2173
+ function generateNextLine(state, level) {
2174
+ return "\n" + common.repeat(" ", state.indent * level);
2175
+ }
2176
+ __name(generateNextLine, "generateNextLine");
2177
+ function testImplicitResolving(state, str2) {
2178
+ var index, length, type2;
2179
+ for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {
2180
+ type2 = state.implicitTypes[index];
2181
+ if (type2.resolve(str2)) {
2182
+ return true;
2183
+ }
2184
+ }
2185
+ return false;
2186
+ }
2187
+ __name(testImplicitResolving, "testImplicitResolving");
2188
+ function isWhitespace(c) {
2189
+ return c === CHAR_SPACE || c === CHAR_TAB;
2190
+ }
2191
+ __name(isWhitespace, "isWhitespace");
2192
+ function isPrintable(c) {
2193
+ return 32 <= c && c <= 126 || 161 <= c && c <= 55295 && c !== 8232 && c !== 8233 || 57344 <= c && c <= 65533 && c !== CHAR_BOM || 65536 <= c && c <= 1114111;
2194
+ }
2195
+ __name(isPrintable, "isPrintable");
2196
+ function isNsCharOrWhitespace(c) {
2197
+ return isPrintable(c) && c !== CHAR_BOM && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
2198
+ }
2199
+ __name(isNsCharOrWhitespace, "isNsCharOrWhitespace");
2200
+ function isPlainSafe(c, prev, inblock) {
2201
+ var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
2202
+ var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
2203
+ return (
2204
+ // ns-plain-safe
2205
+ (inblock ? (
2206
+ // c = flow-in
2207
+ cIsNsCharOrWhitespace
2208
+ ) : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar
2209
+ );
2210
+ }
2211
+ __name(isPlainSafe, "isPlainSafe");
2212
+ function isPlainSafeFirst(c) {
2213
+ return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
2214
+ }
2215
+ __name(isPlainSafeFirst, "isPlainSafeFirst");
2216
+ function isPlainSafeLast(c) {
2217
+ return !isWhitespace(c) && c !== CHAR_COLON;
2218
+ }
2219
+ __name(isPlainSafeLast, "isPlainSafeLast");
2220
+ function codePointAt(string, pos) {
2221
+ var first = string.charCodeAt(pos), second;
2222
+ if (first >= 55296 && first <= 56319 && pos + 1 < string.length) {
2223
+ second = string.charCodeAt(pos + 1);
2224
+ if (second >= 56320 && second <= 57343) {
2225
+ return (first - 55296) * 1024 + second - 56320 + 65536;
2226
+ }
2227
+ }
2228
+ return first;
2229
+ }
2230
+ __name(codePointAt, "codePointAt");
2231
+ function needIndentIndicator(string) {
2232
+ var leadingSpaceRe = /^\n* /;
2233
+ return leadingSpaceRe.test(string);
2234
+ }
2235
+ __name(needIndentIndicator, "needIndentIndicator");
2236
+ var STYLE_PLAIN = 1;
2237
+ var STYLE_SINGLE = 2;
2238
+ var STYLE_LITERAL = 3;
2239
+ var STYLE_FOLDED = 4;
2240
+ var STYLE_DOUBLE = 5;
2241
+ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
2242
+ var i2;
2243
+ var char = 0;
2244
+ var prevChar = null;
2245
+ var hasLineBreak = false;
2246
+ var hasFoldableLine = false;
2247
+ var shouldTrackWidth = lineWidth !== -1;
2248
+ var previousLineBreak = -1;
2249
+ var plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1));
2250
+ if (singleLineOnly || forceQuotes) {
2251
+ for (i2 = 0; i2 < string.length; char >= 65536 ? i2 += 2 : i2++) {
2252
+ char = codePointAt(string, i2);
2253
+ if (!isPrintable(char)) {
2254
+ return STYLE_DOUBLE;
2255
+ }
2256
+ plain = plain && isPlainSafe(char, prevChar, inblock);
2257
+ prevChar = char;
2258
+ }
2259
+ } else {
2260
+ for (i2 = 0; i2 < string.length; char >= 65536 ? i2 += 2 : i2++) {
2261
+ char = codePointAt(string, i2);
2262
+ if (char === CHAR_LINE_FEED) {
2263
+ hasLineBreak = true;
2264
+ if (shouldTrackWidth) {
2265
+ hasFoldableLine = hasFoldableLine || // Foldable line = too long, and not more-indented.
2266
+ i2 - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
2267
+ previousLineBreak = i2;
2268
+ }
2269
+ } else if (!isPrintable(char)) {
2270
+ return STYLE_DOUBLE;
2271
+ }
2272
+ plain = plain && isPlainSafe(char, prevChar, inblock);
2273
+ prevChar = char;
2274
+ }
2275
+ hasFoldableLine = hasFoldableLine || shouldTrackWidth && (i2 - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ");
2276
+ }
2277
+ if (!hasLineBreak && !hasFoldableLine) {
2278
+ if (plain && !forceQuotes && !testAmbiguousType(string)) {
2279
+ return STYLE_PLAIN;
2280
+ }
2281
+ return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
2282
+ }
2283
+ if (indentPerLevel > 9 && needIndentIndicator(string)) {
2284
+ return STYLE_DOUBLE;
2285
+ }
2286
+ if (!forceQuotes) {
2287
+ return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
2288
+ }
2289
+ return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
2290
+ }
2291
+ __name(chooseScalarStyle, "chooseScalarStyle");
2292
+ function writeScalar(state, string, level, iskey, inblock) {
2293
+ state.dump = function() {
2294
+ if (string.length === 0) {
2295
+ return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''";
2296
+ }
2297
+ if (!state.noCompatMode) {
2298
+ if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {
2299
+ return state.quotingType === QUOTING_TYPE_DOUBLE ? '"' + string + '"' : "'" + string + "'";
2300
+ }
2301
+ }
2302
+ var indent = state.indent * Math.max(1, level);
2303
+ var lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
2304
+ var singleLineOnly = iskey || state.flowLevel > -1 && level >= state.flowLevel;
2305
+ function testAmbiguity(string2) {
2306
+ return testImplicitResolving(state, string2);
2307
+ }
2308
+ __name(testAmbiguity, "testAmbiguity");
2309
+ switch (chooseScalarStyle(
2310
+ string,
2311
+ singleLineOnly,
2312
+ state.indent,
2313
+ lineWidth,
2314
+ testAmbiguity,
2315
+ state.quotingType,
2316
+ state.forceQuotes && !iskey,
2317
+ inblock
2318
+ )) {
2319
+ case STYLE_PLAIN:
2320
+ return string;
2321
+ case STYLE_SINGLE:
2322
+ return "'" + string.replace(/'/g, "''") + "'";
2323
+ case STYLE_LITERAL:
2324
+ return "|" + blockHeader(string, state.indent) + dropEndingNewline(indentString(string, indent));
2325
+ case STYLE_FOLDED:
2326
+ return ">" + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent));
2327
+ case STYLE_DOUBLE:
2328
+ return '"' + escapeString(string) + '"';
2329
+ default:
2330
+ throw new exception("impossible error: invalid scalar style");
2331
+ }
2332
+ }();
2333
+ }
2334
+ __name(writeScalar, "writeScalar");
2335
+ function blockHeader(string, indentPerLevel) {
2336
+ var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
2337
+ var clip = string[string.length - 1] === "\n";
2338
+ var keep = clip && (string[string.length - 2] === "\n" || string === "\n");
2339
+ var chomp = keep ? "+" : clip ? "" : "-";
2340
+ return indentIndicator + chomp + "\n";
2341
+ }
2342
+ __name(blockHeader, "blockHeader");
2343
+ function dropEndingNewline(string) {
2344
+ return string[string.length - 1] === "\n" ? string.slice(0, -1) : string;
2345
+ }
2346
+ __name(dropEndingNewline, "dropEndingNewline");
2347
+ function foldString(string, width) {
2348
+ var lineRe = /(\n+)([^\n]*)/g;
2349
+ var result = function() {
2350
+ var nextLF = string.indexOf("\n");
2351
+ nextLF = nextLF !== -1 ? nextLF : string.length;
2352
+ lineRe.lastIndex = nextLF;
2353
+ return foldLine(string.slice(0, nextLF), width);
2354
+ }();
2355
+ var prevMoreIndented = string[0] === "\n" || string[0] === " ";
2356
+ var moreIndented;
2357
+ var match;
2358
+ while (match = lineRe.exec(string)) {
2359
+ var prefix = match[1], line = match[2];
2360
+ moreIndented = line[0] === " ";
2361
+ result += prefix + (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") + foldLine(line, width);
2362
+ prevMoreIndented = moreIndented;
2363
+ }
2364
+ return result;
2365
+ }
2366
+ __name(foldString, "foldString");
2367
+ function foldLine(line, width) {
2368
+ if (line === "" || line[0] === " ") return line;
2369
+ var breakRe = / [^ ]/g;
2370
+ var match;
2371
+ var start = 0, end, curr = 0, next = 0;
2372
+ var result = "";
2373
+ while (match = breakRe.exec(line)) {
2374
+ next = match.index;
2375
+ if (next - start > width) {
2376
+ end = curr > start ? curr : next;
2377
+ result += "\n" + line.slice(start, end);
2378
+ start = end + 1;
2379
+ }
2380
+ curr = next;
2381
+ }
2382
+ result += "\n";
2383
+ if (line.length - start > width && curr > start) {
2384
+ result += line.slice(start, curr) + "\n" + line.slice(curr + 1);
2385
+ } else {
2386
+ result += line.slice(start);
2387
+ }
2388
+ return result.slice(1);
2389
+ }
2390
+ __name(foldLine, "foldLine");
2391
+ function escapeString(string) {
2392
+ var result = "";
2393
+ var char = 0;
2394
+ var escapeSeq;
2395
+ for (var i2 = 0; i2 < string.length; char >= 65536 ? i2 += 2 : i2++) {
2396
+ char = codePointAt(string, i2);
2397
+ escapeSeq = ESCAPE_SEQUENCES[char];
2398
+ if (!escapeSeq && isPrintable(char)) {
2399
+ result += string[i2];
2400
+ if (char >= 65536) result += string[i2 + 1];
2401
+ } else {
2402
+ result += escapeSeq || encodeHex(char);
2403
+ }
2404
+ }
2405
+ return result;
2406
+ }
2407
+ __name(escapeString, "escapeString");
2408
+ function writeFlowSequence(state, level, object) {
2409
+ var _result = "", _tag = state.tag, index, length, value;
2410
+ for (index = 0, length = object.length; index < length; index += 1) {
2411
+ value = object[index];
2412
+ if (state.replacer) {
2413
+ value = state.replacer.call(object, String(index), value);
2414
+ }
2415
+ if (writeNode(state, level, value, false, false) || typeof value === "undefined" && writeNode(state, level, null, false, false)) {
2416
+ if (_result !== "") _result += "," + (!state.condenseFlow ? " " : "");
2417
+ _result += state.dump;
2418
+ }
2419
+ }
2420
+ state.tag = _tag;
2421
+ state.dump = "[" + _result + "]";
2422
+ }
2423
+ __name(writeFlowSequence, "writeFlowSequence");
2424
+ function writeBlockSequence(state, level, object, compact) {
2425
+ var _result = "", _tag = state.tag, index, length, value;
2426
+ for (index = 0, length = object.length; index < length; index += 1) {
2427
+ value = object[index];
2428
+ if (state.replacer) {
2429
+ value = state.replacer.call(object, String(index), value);
2430
+ }
2431
+ if (writeNode(state, level + 1, value, true, true, false, true) || typeof value === "undefined" && writeNode(state, level + 1, null, true, true, false, true)) {
2432
+ if (!compact || _result !== "") {
2433
+ _result += generateNextLine(state, level);
2434
+ }
2435
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2436
+ _result += "-";
2437
+ } else {
2438
+ _result += "- ";
2439
+ }
2440
+ _result += state.dump;
2441
+ }
2442
+ }
2443
+ state.tag = _tag;
2444
+ state.dump = _result || "[]";
2445
+ }
2446
+ __name(writeBlockSequence, "writeBlockSequence");
2447
+ function writeFlowMapping(state, level, object) {
2448
+ var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, pairBuffer;
2449
+ for (index = 0, length = objectKeyList.length; index < length; index += 1) {
2450
+ pairBuffer = "";
2451
+ if (_result !== "") pairBuffer += ", ";
2452
+ if (state.condenseFlow) pairBuffer += '"';
2453
+ objectKey = objectKeyList[index];
2454
+ objectValue = object[objectKey];
2455
+ if (state.replacer) {
2456
+ objectValue = state.replacer.call(object, objectKey, objectValue);
2457
+ }
2458
+ if (!writeNode(state, level, objectKey, false, false)) {
2459
+ continue;
2460
+ }
2461
+ if (state.dump.length > 1024) pairBuffer += "? ";
2462
+ pairBuffer += state.dump + (state.condenseFlow ? '"' : "") + ":" + (state.condenseFlow ? "" : " ");
2463
+ if (!writeNode(state, level, objectValue, false, false)) {
2464
+ continue;
2465
+ }
2466
+ pairBuffer += state.dump;
2467
+ _result += pairBuffer;
2468
+ }
2469
+ state.tag = _tag;
2470
+ state.dump = "{" + _result + "}";
2471
+ }
2472
+ __name(writeFlowMapping, "writeFlowMapping");
2473
+ function writeBlockMapping(state, level, object, compact) {
2474
+ var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, explicitPair, pairBuffer;
2475
+ if (state.sortKeys === true) {
2476
+ objectKeyList.sort();
2477
+ } else if (typeof state.sortKeys === "function") {
2478
+ objectKeyList.sort(state.sortKeys);
2479
+ } else if (state.sortKeys) {
2480
+ throw new exception("sortKeys must be a boolean or a function");
2481
+ }
2482
+ for (index = 0, length = objectKeyList.length; index < length; index += 1) {
2483
+ pairBuffer = "";
2484
+ if (!compact || _result !== "") {
2485
+ pairBuffer += generateNextLine(state, level);
2486
+ }
2487
+ objectKey = objectKeyList[index];
2488
+ objectValue = object[objectKey];
2489
+ if (state.replacer) {
2490
+ objectValue = state.replacer.call(object, objectKey, objectValue);
2491
+ }
2492
+ if (!writeNode(state, level + 1, objectKey, true, true, true)) {
2493
+ continue;
2494
+ }
2495
+ explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024;
2496
+ if (explicitPair) {
2497
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2498
+ pairBuffer += "?";
2499
+ } else {
2500
+ pairBuffer += "? ";
2501
+ }
2502
+ }
2503
+ pairBuffer += state.dump;
2504
+ if (explicitPair) {
2505
+ pairBuffer += generateNextLine(state, level);
2506
+ }
2507
+ if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {
2508
+ continue;
2509
+ }
2510
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2511
+ pairBuffer += ":";
2512
+ } else {
2513
+ pairBuffer += ": ";
2514
+ }
2515
+ pairBuffer += state.dump;
2516
+ _result += pairBuffer;
2517
+ }
2518
+ state.tag = _tag;
2519
+ state.dump = _result || "{}";
2520
+ }
2521
+ __name(writeBlockMapping, "writeBlockMapping");
2522
+ function detectType(state, object, explicit) {
2523
+ var _result, typeList, index, length, type2, style;
2524
+ typeList = explicit ? state.explicitTypes : state.implicitTypes;
2525
+ for (index = 0, length = typeList.length; index < length; index += 1) {
2526
+ type2 = typeList[index];
2527
+ if ((type2.instanceOf || type2.predicate) && (!type2.instanceOf || typeof object === "object" && object instanceof type2.instanceOf) && (!type2.predicate || type2.predicate(object))) {
2528
+ if (explicit) {
2529
+ if (type2.multi && type2.representName) {
2530
+ state.tag = type2.representName(object);
2531
+ } else {
2532
+ state.tag = type2.tag;
2533
+ }
2534
+ } else {
2535
+ state.tag = "?";
2536
+ }
2537
+ if (type2.represent) {
2538
+ style = state.styleMap[type2.tag] || type2.defaultStyle;
2539
+ if (_toString.call(type2.represent) === "[object Function]") {
2540
+ _result = type2.represent(object, style);
2541
+ } else if (_hasOwnProperty.call(type2.represent, style)) {
2542
+ _result = type2.represent[style](object, style);
2543
+ } else {
2544
+ throw new exception("!<" + type2.tag + '> tag resolver accepts not "' + style + '" style');
2545
+ }
2546
+ state.dump = _result;
2547
+ }
2548
+ return true;
2549
+ }
2550
+ }
2551
+ return false;
2552
+ }
2553
+ __name(detectType, "detectType");
2554
+ function writeNode(state, level, object, block, compact, iskey, isblockseq) {
2555
+ state.tag = null;
2556
+ state.dump = object;
2557
+ if (!detectType(state, object, false)) {
2558
+ detectType(state, object, true);
2559
+ }
2560
+ var type2 = _toString.call(state.dump);
2561
+ var inblock = block;
2562
+ var tagStr;
2563
+ if (block) {
2564
+ block = state.flowLevel < 0 || state.flowLevel > level;
2565
+ }
2566
+ var objectOrArray = type2 === "[object Object]" || type2 === "[object Array]", duplicateIndex, duplicate;
2567
+ if (objectOrArray) {
2568
+ duplicateIndex = state.duplicates.indexOf(object);
2569
+ duplicate = duplicateIndex !== -1;
2570
+ }
2571
+ if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0) {
2572
+ compact = false;
2573
+ }
2574
+ if (duplicate && state.usedDuplicates[duplicateIndex]) {
2575
+ state.dump = "*ref_" + duplicateIndex;
2576
+ } else {
2577
+ if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {
2578
+ state.usedDuplicates[duplicateIndex] = true;
2579
+ }
2580
+ if (type2 === "[object Object]") {
2581
+ if (block && Object.keys(state.dump).length !== 0) {
2582
+ writeBlockMapping(state, level, state.dump, compact);
2583
+ if (duplicate) {
2584
+ state.dump = "&ref_" + duplicateIndex + state.dump;
2585
+ }
2586
+ } else {
2587
+ writeFlowMapping(state, level, state.dump);
2588
+ if (duplicate) {
2589
+ state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2590
+ }
2591
+ }
2592
+ } else if (type2 === "[object Array]") {
2593
+ if (block && state.dump.length !== 0) {
2594
+ if (state.noArrayIndent && !isblockseq && level > 0) {
2595
+ writeBlockSequence(state, level - 1, state.dump, compact);
2596
+ } else {
2597
+ writeBlockSequence(state, level, state.dump, compact);
2598
+ }
2599
+ if (duplicate) {
2600
+ state.dump = "&ref_" + duplicateIndex + state.dump;
2601
+ }
2602
+ } else {
2603
+ writeFlowSequence(state, level, state.dump);
2604
+ if (duplicate) {
2605
+ state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2606
+ }
2607
+ }
2608
+ } else if (type2 === "[object String]") {
2609
+ if (state.tag !== "?") {
2610
+ writeScalar(state, state.dump, level, iskey, inblock);
2611
+ }
2612
+ } else if (type2 === "[object Undefined]") {
2613
+ return false;
2614
+ } else {
2615
+ if (state.skipInvalid) return false;
2616
+ throw new exception("unacceptable kind of an object to dump " + type2);
2617
+ }
2618
+ if (state.tag !== null && state.tag !== "?") {
2619
+ tagStr = encodeURI(
2620
+ state.tag[0] === "!" ? state.tag.slice(1) : state.tag
2621
+ ).replace(/!/g, "%21");
2622
+ if (state.tag[0] === "!") {
2623
+ tagStr = "!" + tagStr;
2624
+ } else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:") {
2625
+ tagStr = "!!" + tagStr.slice(18);
2626
+ } else {
2627
+ tagStr = "!<" + tagStr + ">";
2628
+ }
2629
+ state.dump = tagStr + " " + state.dump;
2630
+ }
2631
+ }
2632
+ return true;
2633
+ }
2634
+ __name(writeNode, "writeNode");
2635
+ function getDuplicateReferences(object, state) {
2636
+ var objects = [], duplicatesIndexes = [], index, length;
2637
+ inspectNode(object, objects, duplicatesIndexes);
2638
+ for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {
2639
+ state.duplicates.push(objects[duplicatesIndexes[index]]);
2640
+ }
2641
+ state.usedDuplicates = new Array(length);
2642
+ }
2643
+ __name(getDuplicateReferences, "getDuplicateReferences");
2644
+ function inspectNode(object, objects, duplicatesIndexes) {
2645
+ var objectKeyList, index, length;
2646
+ if (object !== null && typeof object === "object") {
2647
+ index = objects.indexOf(object);
2648
+ if (index !== -1) {
2649
+ if (duplicatesIndexes.indexOf(index) === -1) {
2650
+ duplicatesIndexes.push(index);
2651
+ }
2652
+ } else {
2653
+ objects.push(object);
2654
+ if (Array.isArray(object)) {
2655
+ for (index = 0, length = object.length; index < length; index += 1) {
2656
+ inspectNode(object[index], objects, duplicatesIndexes);
2657
+ }
2658
+ } else {
2659
+ objectKeyList = Object.keys(object);
2660
+ for (index = 0, length = objectKeyList.length; index < length; index += 1) {
2661
+ inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);
2662
+ }
2663
+ }
2664
+ }
2665
+ }
2666
+ }
2667
+ __name(inspectNode, "inspectNode");
2668
+ function dump$1(input, options) {
2669
+ options = options || {};
2670
+ var state = new State(options);
2671
+ if (!state.noRefs) getDuplicateReferences(input, state);
2672
+ var value = input;
2673
+ if (state.replacer) {
2674
+ value = state.replacer.call({ "": value }, "", value);
2675
+ }
2676
+ if (writeNode(state, 0, value, true, true)) return state.dump + "\n";
2677
+ return "";
2678
+ }
2679
+ __name(dump$1, "dump$1");
2680
+ function renamed(from, to) {
2681
+ return function() {
2682
+ throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default.");
2683
+ };
2684
+ }
2685
+ __name(renamed, "renamed");
2686
+ var JSON_SCHEMA = json;
2687
+ var load = loader.load;
2688
+ /*! Bundled license information:
2689
+
2690
+ js-yaml/dist/js-yaml.mjs:
2691
+ (*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
2692
+ */
2693
+ export {
2694
+ JSON_SCHEMA,
2695
+ load
2696
+ };