@elmethis/core 1.0.0-alpha.146 → 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.
- package/dist/_virtual/_commonjsHelpers.mjs +6 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/dist/_virtual/advancedFormat.mjs +7 -0
- package/dist/_virtual/advancedFormat2.mjs +4 -0
- package/dist/_virtual/cancellation.mjs +5 -0
- package/dist/_virtual/cancellation2.mjs +4 -0
- package/dist/_virtual/constants.mjs +4 -0
- package/dist/_virtual/cose-base.mjs +4 -0
- package/dist/_virtual/cose-base2.mjs +4 -0
- package/dist/_virtual/customParseFormat.mjs +7 -0
- package/dist/_virtual/customParseFormat2.mjs +4 -0
- package/dist/_virtual/cytoscape-cose-bilkent.mjs +7 -0
- package/dist/_virtual/cytoscape-cose-bilkent2.mjs +4 -0
- package/dist/_virtual/cytoscape-fcose.mjs +7 -0
- package/dist/_virtual/cytoscape-fcose2.mjs +4 -0
- package/dist/_virtual/dayjs.min.mjs +7 -0
- package/dist/_virtual/dayjs.min2.mjs +4 -0
- package/dist/_virtual/events.mjs +5 -0
- package/dist/_virtual/events2.mjs +4 -0
- package/dist/_virtual/index.mjs +5 -0
- package/dist/_virtual/index2.mjs +4 -0
- package/dist/_virtual/is.mjs +4 -0
- package/dist/_virtual/isoWeek.mjs +7 -0
- package/dist/_virtual/isoWeek2.mjs +4 -0
- package/dist/_virtual/layout-base.mjs +4 -0
- package/dist/_virtual/layout-base2.mjs +4 -0
- package/dist/_virtual/ral.mjs +4 -0
- package/dist/components/badge/ElmBadge.vue.mjs +10 -0
- package/dist/components/badge/ElmBadge.vue2.mjs +33 -0
- package/dist/components/badge/ElmBadge.vue3.mjs +14 -0
- package/dist/components/badge/ElmTag.vue.mjs +10 -0
- package/dist/components/badge/ElmTag.vue2.mjs +39 -0
- package/dist/components/badge/ElmTag.vue3.mjs +14 -0
- package/dist/components/code/ElmCodeBlock.vue.mjs +10 -0
- package/dist/components/code/ElmCodeBlock.vue2.mjs +86 -0
- package/dist/components/code/ElmCodeBlock.vue3.mjs +18 -0
- package/dist/components/code/ElmKatex.vue.mjs +10 -0
- package/dist/components/code/ElmKatex.vue2.mjs +46 -0
- package/dist/components/code/ElmKatex.vue3.mjs +8 -0
- package/dist/components/code/ElmMermaid.vue.mjs +6 -0
- package/dist/components/code/ElmMermaid.vue2.mjs +56 -0
- package/dist/components/code/ElmShikiHighlighter.vue.mjs +11 -0
- package/dist/components/code/ElmShikiHighlighter.vue2.mjs +44 -0
- package/dist/components/code/ElmShikiHighlighter.vue3.mjs +8 -0
- package/dist/components/containments/ElmColumn.vue.mjs +10 -0
- package/dist/components/containments/ElmColumn.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumn.vue3.mjs +8 -0
- package/dist/components/containments/ElmColumnList.vue.mjs +10 -0
- package/dist/components/containments/ElmColumnList.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumnList.vue3.mjs +6 -0
- package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
- package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
- package/dist/components/containments/ElmDesktopWindow.vue3.mjs +14 -0
- package/dist/components/containments/ElmModal.vue.mjs +10 -0
- package/dist/components/containments/ElmModal.vue2.mjs +44 -0
- package/dist/components/containments/ElmModal.vue3.mjs +11 -0
- package/dist/components/containments/ElmParallax.vue.mjs +10 -0
- package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
- package/dist/components/containments/ElmParallax.vue3.mjs +8 -0
- package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbar.vue2.mjs +39 -0
- package/dist/components/containments/ElmSnackbar.vue3.mjs +14 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
- package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +7 -0
- package/dist/components/containments/ElmToggle.vue.mjs +10 -0
- package/dist/components/containments/ElmToggle.vue2.mjs +71 -0
- package/dist/components/containments/ElmToggle.vue3.mjs +17 -0
- package/dist/components/containments/ElmTooltip.vue.mjs +10 -0
- package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
- package/dist/components/containments/ElmTooltip.vue3.mjs +8 -0
- package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
- package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
- package/dist/components/data/ElmMultiProgress.vue3.mjs +11 -0
- package/dist/components/data/ElmProgress.vue.mjs +10 -0
- package/dist/components/data/ElmProgress.vue2.mjs +53 -0
- package/dist/components/data/ElmProgress.vue3.mjs +20 -0
- package/dist/components/data/ElmStatusMessage.vue.mjs +10 -0
- package/dist/components/data/ElmStatusMessage.vue2.mjs +75 -0
- package/dist/components/data/ElmStatusMessage.vue3.mjs +11 -0
- package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
- package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
- package/dist/components/fallback/ElmBlockFallback.vue3.mjs +6 -0
- package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
- package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
- package/dist/components/fallback/ElmRectangleWave.vue3.mjs +9 -0
- package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
- package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
- package/dist/components/fallback/ElmSpinner.vue3.mjs +12 -0
- package/dist/components/form/ElmButton.vue.mjs +10 -0
- package/dist/components/form/ElmButton.vue2.mjs +57 -0
- package/dist/components/form/ElmButton.vue3.mjs +20 -0
- package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
- package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
- package/dist/components/form/ElmCheckbox.vue3.mjs +22 -0
- package/dist/components/form/ElmSwitch.vue.mjs +10 -0
- package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
- package/dist/components/form/ElmSwitch.vue3.mjs +16 -0
- package/dist/components/form/ElmTextField.vue.mjs +10 -0
- package/dist/components/form/ElmTextField.vue2.mjs +124 -0
- package/dist/components/form/ElmTextField.vue3.mjs +34 -0
- package/dist/components/form/ElmTotp.vue.mjs +10 -0
- package/dist/components/form/ElmTotp.vue2.mjs +102 -0
- package/dist/components/form/ElmTotp.vue3.mjs +22 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue.mjs +10 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue2.mjs +54 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue3.mjs +11 -0
- package/dist/components/headings/ElmHeading1.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading1.vue2.mjs +43 -0
- package/dist/components/headings/ElmHeading1.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading2.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading2.vue2.mjs +49 -0
- package/dist/components/headings/ElmHeading2.vue3.mjs +11 -0
- package/dist/components/headings/ElmHeading3.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading3.vue2.mjs +39 -0
- package/dist/components/headings/ElmHeading3.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading4.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading4.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading4.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading5.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading5.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading5.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading6.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading6.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading6.vue3.mjs +8 -0
- package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
- package/dist/components/icon/ElmArrowIcon.vue3.mjs +17 -0
- package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +45 -0
- package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +15 -0
- package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
- package/dist/components/icon/ElmCubeIcon.vue3.mjs +12 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +14 -0
- package/dist/components/icon/ElmLanguageIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLanguageIcon.vue2.mjs +148 -0
- package/dist/components/icon/ElmLanguageIcon.vue3.mjs +11 -0
- package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLoginIcon.vue2.mjs +37 -0
- package/dist/components/icon/ElmLoginIcon.vue3.mjs +8 -0
- package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
- package/dist/components/icon/ElmToggleTheme.vue2.mjs +30 -0
- package/dist/components/icon/ElmToggleTheme.vue3.mjs +8 -0
- package/dist/{Bash-Dgvf3lDU.js → components/icon/languages/Bash.vue.mjs} +16 -15
- package/dist/components/icon/languages/Bash.vue2.mjs +8 -0
- package/dist/components/icon/languages/Css.vue.mjs +19 -0
- package/dist/components/icon/languages/Rust.vue.mjs +17 -0
- package/dist/components/inline/ElmInlineLink.vue.mjs +10 -0
- package/dist/components/inline/ElmInlineLink.vue2.mjs +53 -0
- package/dist/components/inline/ElmInlineLink.vue3.mjs +11 -0
- package/dist/components/inline/ElmInlineRuby.vue.mjs +29 -0
- package/dist/components/inline/ElmInlineRuby.vue2.mjs +4 -0
- package/dist/components/inline/ElmInlineText.vue.mjs +10 -0
- package/dist/components/inline/ElmInlineText.vue2.mjs +57 -0
- package/dist/components/inline/ElmInlineText.vue3.mjs +11 -0
- package/dist/components/media/ElmFile.vue.mjs +10 -0
- package/dist/components/media/ElmFile.vue2.mjs +77 -0
- package/dist/components/media/ElmFile.vue3.mjs +14 -0
- package/dist/components/media/ElmImage.vue.mjs +10 -0
- package/dist/components/media/ElmImage.vue2.mjs +91 -0
- package/dist/components/media/ElmImage.vue3.mjs +18 -0
- package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
- package/dist/components/navigation/ElmBookmark.vue2.mjs +115 -0
- package/dist/components/navigation/ElmBookmark.vue3.mjs +32 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
- package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +63 -0
- package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +18 -0
- package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
- package/dist/components/navigation/ElmPagetop.vue2.mjs +51 -0
- package/dist/components/navigation/ElmPagetop.vue3.mjs +18 -0
- package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
- package/dist/components/navigation/ElmTableOfContents.vue2.mjs +43 -0
- package/dist/components/navigation/ElmTableOfContents.vue3.mjs +14 -0
- package/dist/components/others/ElmColorSample.vue.mjs +10 -0
- package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
- package/dist/components/others/ElmColorSample.vue3.mjs +9 -0
- package/dist/components/others/ElmColorTable.vue.mjs +10 -0
- package/dist/components/others/ElmColorTable.vue2.mjs +45 -0
- package/dist/components/others/ElmColorTable.vue3.mjs +10 -0
- package/dist/components/renderer/ElmJsonRenderer.vue.mjs +96 -0
- package/dist/components/renderer/ElmJsonRenderer.vue2.mjs +4 -0
- package/dist/components/renderer/ElmJsonRendererAsync.vue.mjs +24 -0
- package/dist/components/renderer/ElmJsonRendererAsync.vue2.mjs +4 -0
- package/dist/components/table/ElmTable.vue.mjs +6 -0
- package/dist/components/table/ElmTable.vue2.mjs +22 -0
- package/dist/components/table/ElmTableBody.vue.mjs +15 -0
- package/dist/components/table/ElmTableBody.vue3.mjs +5 -0
- package/dist/components/table/ElmTableCell.vue.mjs +6 -0
- package/dist/components/table/ElmTableCell.vue2.mjs +22 -0
- package/dist/components/table/ElmTableHeader.vue.mjs +15 -0
- package/dist/components/table/ElmTableHeader.vue3.mjs +5 -0
- package/dist/components/table/ElmTableRow.vue.mjs +14 -0
- package/dist/components/table/ElmTableRow.vue2.mjs +4 -0
- package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
- package/dist/components/typography/ElmBlockQuote.vue2.mjs +27 -0
- package/dist/components/typography/ElmBlockQuote.vue3.mjs +8 -0
- package/dist/components/typography/ElmBulletedList.vue.mjs +27 -0
- package/dist/components/typography/ElmBulletedList.vue3.mjs +5 -0
- package/dist/components/typography/ElmCallout.vue.mjs +10 -0
- package/dist/components/typography/ElmCallout.vue2.mjs +57 -0
- package/dist/components/typography/ElmCallout.vue3.mjs +14 -0
- package/dist/components/typography/ElmDivider.vue.mjs +10 -0
- package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
- package/dist/components/typography/ElmDivider.vue3.mjs +8 -0
- package/dist/components/typography/ElmListItem.vue.mjs +10 -0
- package/dist/components/typography/ElmListItem.vue2.mjs +16 -0
- package/dist/components/typography/ElmListItem.vue3.mjs +8 -0
- package/dist/components/typography/ElmNumberedList.vue.mjs +27 -0
- package/dist/components/typography/ElmNumberedList.vue3.mjs +5 -0
- package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
- package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
- package/dist/components/typography/ElmParagraph.vue3.mjs +8 -0
- package/dist/hooks/useElmethisTheme.mjs +43 -0
- package/dist/hooks/useTyping.mjs +37 -0
- package/dist/index.mjs +150 -0
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +20 -0
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +76 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +57 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +220 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +64 -0
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +39 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +14 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +10 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +15 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +15 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +28 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +54 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +17 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +27 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +24 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +120 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +33 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +10 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +29 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +41 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +115 -0
- 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
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +393 -0
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +42 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +12 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +4 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +42 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +87 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +161 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +60 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +416 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +47 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +41 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +24 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +424 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +22 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +48 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +387 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +40 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +83 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +181 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +25 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +69 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +270 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +59 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +128 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +38 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +323 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +434 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +251 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +167 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +19 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +720 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +11 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +552 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +214 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +20 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +115 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +88 -0
- package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +1090 -0
- package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +2555 -0
- 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
- package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +1278 -0
- package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +29469 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +47 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +51 -0
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +94 -0
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +338 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +95 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +70 -0
- package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +37 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +82 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +29 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +4 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +43 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +59 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +73 -0
- package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +88 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +22 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +326 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +5 -0
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +56 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +95 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +61 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +38 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +34 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +46 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +64 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +76 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +31 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +88 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +19 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +64 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +17 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +24 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +22 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +4 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +45 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +133 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +66 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +63 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +50 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +49 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +43 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +73 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +69 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +57 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +83 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +75 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +63 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +39 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +99 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +59 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +41 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +32 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +5 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +19 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +55 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +542 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +34 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +26 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +61 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +26 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +27 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +66 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +45 -0
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +96 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +21 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +45 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +55 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +33 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +49 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +97 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +344 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +94 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +69 -0
- 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
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +29 -0
- 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
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +54 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +51 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +30 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +84 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +47 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +296 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +29 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +45 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +29 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +148 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +30 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +164 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +33 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +2 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +2 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +420 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +47 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +286 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +58 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +133 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +37 -0
- package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +965 -0
- package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +43 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +131 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +5 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +24 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +40 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +50 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +39 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +172 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +33 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +13 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +15 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +13 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +12 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +8 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +12 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +10 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +20 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +18 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +95 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +11 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +14 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +10 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +87 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +74 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +17 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +62 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +478 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +725 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +20 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +11 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +13 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +233 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +17 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +453 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +72 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +336 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +105 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +111 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +139 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +19 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +80 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +70 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +62 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +60 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +256 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +202 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +69 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +73 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +159 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +137 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +177 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +126 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +12 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +12 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +33 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +377 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +56 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +239 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +466 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +37 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +236 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +142 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +75 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +43 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +81 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +328 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +210 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +15 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +74 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +64 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +106 -0
- package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +3197 -0
- package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +3745 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +83 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +45 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +61 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +46 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +50 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +59 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +50 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +34 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +43 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +8 -0
- package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +2152 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +1093 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +3598 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +2487 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +143 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +2696 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +19 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +1828 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +1961 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +332 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +109 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +78 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +5018 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +696 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +557 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +38 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +57 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +107 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +3052 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +662 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +306 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +191 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +1168 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +2339 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +2104 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +1215 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +31 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +1201 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +1055 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +1195 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +188 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +1340 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +1168 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +670 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +3419 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +477 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +1232 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +1778 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +1222 -0
- package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.mjs +13 -0
- package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.mjs +4 -0
- package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +1001 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +16 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +164 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +29 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +156 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +38 -0
- package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +42 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +95 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +133 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +40 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +28 -0
- package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +225 -0
- package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +1262 -0
- package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +344 -0
- package/package.json +24 -26
- package/dist/Css-BDTor6my.js +0 -18
- package/dist/ElmShikiHighlighter-B6syB4ax.js +0 -44
- package/dist/Rust-BwuxPQOA.js +0 -16
- package/dist/elmethis.js +0 -70
- package/dist/index-BFwE0btN.js +0 -3523
|
@@ -0,0 +1,1195 @@
|
|
|
1
|
+
import { createText } from "./chunk-C3MQ5ANM.mjs";
|
|
2
|
+
import { parseFontSize } from "./chunk-O4NI6UNU.mjs";
|
|
3
|
+
import { selectSvgElement } from "./chunk-7B677QYD.mjs";
|
|
4
|
+
import { __name, log, getConfig2, setupGraphViewbox, defaultConfig_default, sanitizeText } from "./chunk-YTJNT7DU.mjs";
|
|
5
|
+
import cytoscape from "../../../../../../cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs";
|
|
6
|
+
import coseBilkent from "../../../../../../../../_virtual/cytoscape-cose-bilkent.mjs";
|
|
7
|
+
import "../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs";
|
|
8
|
+
import "../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs";
|
|
9
|
+
import isDark from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs";
|
|
10
|
+
import lighten from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs";
|
|
11
|
+
import darken from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs";
|
|
12
|
+
import select from "../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs";
|
|
13
|
+
var parser = function() {
|
|
14
|
+
var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
|
|
15
|
+
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
16
|
+
return o2;
|
|
17
|
+
}, "o"), $V0 = [1, 4], $V1 = [1, 13], $V2 = [1, 12], $V3 = [1, 15], $V4 = [1, 16], $V5 = [1, 20], $V6 = [1, 19], $V7 = [6, 7, 8], $V8 = [1, 26], $V9 = [1, 24], $Va = [1, 25], $Vb = [6, 7, 11], $Vc = [1, 6, 13, 15, 16, 19, 22], $Vd = [1, 33], $Ve = [1, 34], $Vf = [1, 6, 7, 11, 13, 15, 16, 19, 22];
|
|
18
|
+
var parser2 = {
|
|
19
|
+
trace: /* @__PURE__ */ __name(function trace() {
|
|
20
|
+
}, "trace"),
|
|
21
|
+
yy: {},
|
|
22
|
+
symbols_: { "error": 2, "start": 3, "mindMap": 4, "spaceLines": 5, "SPACELINE": 6, "NL": 7, "MINDMAP": 8, "document": 9, "stop": 10, "EOF": 11, "statement": 12, "SPACELIST": 13, "node": 14, "ICON": 15, "CLASS": 16, "nodeWithId": 17, "nodeWithoutId": 18, "NODE_DSTART": 19, "NODE_DESCR": 20, "NODE_DEND": 21, "NODE_ID": 22, "$accept": 0, "$end": 1 },
|
|
23
|
+
terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "MINDMAP", 11: "EOF", 13: "SPACELIST", 15: "ICON", 16: "CLASS", 19: "NODE_DSTART", 20: "NODE_DESCR", 21: "NODE_DEND", 22: "NODE_ID" },
|
|
24
|
+
productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 2], [12, 2], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [18, 3], [17, 1], [17, 4]],
|
|
25
|
+
performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
|
|
26
|
+
var $0 = $$.length - 1;
|
|
27
|
+
switch (yystate) {
|
|
28
|
+
case 6:
|
|
29
|
+
case 7:
|
|
30
|
+
return yy;
|
|
31
|
+
case 8:
|
|
32
|
+
yy.getLogger().trace("Stop NL ");
|
|
33
|
+
break;
|
|
34
|
+
case 9:
|
|
35
|
+
yy.getLogger().trace("Stop EOF ");
|
|
36
|
+
break;
|
|
37
|
+
case 11:
|
|
38
|
+
yy.getLogger().trace("Stop NL2 ");
|
|
39
|
+
break;
|
|
40
|
+
case 12:
|
|
41
|
+
yy.getLogger().trace("Stop EOF2 ");
|
|
42
|
+
break;
|
|
43
|
+
case 15:
|
|
44
|
+
yy.getLogger().info("Node: ", $$[$0].id);
|
|
45
|
+
yy.addNode($$[$0 - 1].length, $$[$0].id, $$[$0].descr, $$[$0].type);
|
|
46
|
+
break;
|
|
47
|
+
case 16:
|
|
48
|
+
yy.getLogger().trace("Icon: ", $$[$0]);
|
|
49
|
+
yy.decorateNode({ icon: $$[$0] });
|
|
50
|
+
break;
|
|
51
|
+
case 17:
|
|
52
|
+
case 21:
|
|
53
|
+
yy.decorateNode({ class: $$[$0] });
|
|
54
|
+
break;
|
|
55
|
+
case 18:
|
|
56
|
+
yy.getLogger().trace("SPACELIST");
|
|
57
|
+
break;
|
|
58
|
+
case 19:
|
|
59
|
+
yy.getLogger().trace("Node: ", $$[$0].id);
|
|
60
|
+
yy.addNode(0, $$[$0].id, $$[$0].descr, $$[$0].type);
|
|
61
|
+
break;
|
|
62
|
+
case 20:
|
|
63
|
+
yy.decorateNode({ icon: $$[$0] });
|
|
64
|
+
break;
|
|
65
|
+
case 25:
|
|
66
|
+
yy.getLogger().trace("node found ..", $$[$0 - 2]);
|
|
67
|
+
this.$ = { id: $$[$0 - 1], descr: $$[$0 - 1], type: yy.getType($$[$0 - 2], $$[$0]) };
|
|
68
|
+
break;
|
|
69
|
+
case 26:
|
|
70
|
+
this.$ = { id: $$[$0], descr: $$[$0], type: yy.nodeType.DEFAULT };
|
|
71
|
+
break;
|
|
72
|
+
case 27:
|
|
73
|
+
yy.getLogger().trace("node found ..", $$[$0 - 3]);
|
|
74
|
+
this.$ = { id: $$[$0 - 3], descr: $$[$0 - 1], type: yy.getType($$[$0 - 2], $$[$0]) };
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
}, "anonymous"),
|
|
78
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: $V0 }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: $V0 }, { 6: $V1, 7: [1, 10], 9: 9, 12: 11, 13: $V2, 14: 14, 15: $V3, 16: $V4, 17: 17, 18: 18, 19: $V5, 22: $V6 }, o($V7, [2, 3]), { 1: [2, 2] }, o($V7, [2, 4]), o($V7, [2, 5]), { 1: [2, 6], 6: $V1, 12: 21, 13: $V2, 14: 14, 15: $V3, 16: $V4, 17: 17, 18: 18, 19: $V5, 22: $V6 }, { 6: $V1, 9: 22, 12: 11, 13: $V2, 14: 14, 15: $V3, 16: $V4, 17: 17, 18: 18, 19: $V5, 22: $V6 }, { 6: $V8, 7: $V9, 10: 23, 11: $Va }, o($Vb, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: $V5, 22: $V6 }), o($Vb, [2, 18]), o($Vb, [2, 19]), o($Vb, [2, 20]), o($Vb, [2, 21]), o($Vb, [2, 23]), o($Vb, [2, 24]), o($Vb, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: $V8, 7: $V9, 10: 32, 11: $Va }, { 1: [2, 7], 6: $V1, 12: 21, 13: $V2, 14: 14, 15: $V3, 16: $V4, 17: 17, 18: 18, 19: $V5, 22: $V6 }, o($Vc, [2, 14], { 7: $Vd, 11: $Ve }), o($Vf, [2, 8]), o($Vf, [2, 9]), o($Vf, [2, 10]), o($Vb, [2, 15]), o($Vb, [2, 16]), o($Vb, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, o($Vc, [2, 13], { 7: $Vd, 11: $Ve }), o($Vf, [2, 11]), o($Vf, [2, 12]), { 21: [1, 37] }, o($Vb, [2, 25]), o($Vb, [2, 27])],
|
|
79
|
+
defaultActions: { 2: [2, 1], 6: [2, 2] },
|
|
80
|
+
parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
|
|
81
|
+
if (hash.recoverable) {
|
|
82
|
+
this.trace(str);
|
|
83
|
+
} else {
|
|
84
|
+
var error = new Error(str);
|
|
85
|
+
error.hash = hash;
|
|
86
|
+
throw error;
|
|
87
|
+
}
|
|
88
|
+
}, "parseError"),
|
|
89
|
+
parse: /* @__PURE__ */ __name(function parse(input) {
|
|
90
|
+
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
|
|
91
|
+
var args = lstack.slice.call(arguments, 1);
|
|
92
|
+
var lexer2 = Object.create(this.lexer);
|
|
93
|
+
var sharedState = { yy: {} };
|
|
94
|
+
for (var k in this.yy) {
|
|
95
|
+
if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
|
|
96
|
+
sharedState.yy[k] = this.yy[k];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
lexer2.setInput(input, sharedState.yy);
|
|
100
|
+
sharedState.yy.lexer = lexer2;
|
|
101
|
+
sharedState.yy.parser = this;
|
|
102
|
+
if (typeof lexer2.yylloc == "undefined") {
|
|
103
|
+
lexer2.yylloc = {};
|
|
104
|
+
}
|
|
105
|
+
var yyloc = lexer2.yylloc;
|
|
106
|
+
lstack.push(yyloc);
|
|
107
|
+
var ranges = lexer2.options && lexer2.options.ranges;
|
|
108
|
+
if (typeof sharedState.yy.parseError === "function") {
|
|
109
|
+
this.parseError = sharedState.yy.parseError;
|
|
110
|
+
} else {
|
|
111
|
+
this.parseError = Object.getPrototypeOf(this).parseError;
|
|
112
|
+
}
|
|
113
|
+
function popStack(n) {
|
|
114
|
+
stack.length = stack.length - 2 * n;
|
|
115
|
+
vstack.length = vstack.length - n;
|
|
116
|
+
lstack.length = lstack.length - n;
|
|
117
|
+
}
|
|
118
|
+
__name(popStack, "popStack");
|
|
119
|
+
function lex() {
|
|
120
|
+
var token;
|
|
121
|
+
token = tstack.pop() || lexer2.lex() || EOF;
|
|
122
|
+
if (typeof token !== "number") {
|
|
123
|
+
if (token instanceof Array) {
|
|
124
|
+
tstack = token;
|
|
125
|
+
token = tstack.pop();
|
|
126
|
+
}
|
|
127
|
+
token = self.symbols_[token] || token;
|
|
128
|
+
}
|
|
129
|
+
return token;
|
|
130
|
+
}
|
|
131
|
+
__name(lex, "lex");
|
|
132
|
+
var symbol, state, action, r, yyval = {}, p, len, newState, expected;
|
|
133
|
+
while (true) {
|
|
134
|
+
state = stack[stack.length - 1];
|
|
135
|
+
if (this.defaultActions[state]) {
|
|
136
|
+
action = this.defaultActions[state];
|
|
137
|
+
} else {
|
|
138
|
+
if (symbol === null || typeof symbol == "undefined") {
|
|
139
|
+
symbol = lex();
|
|
140
|
+
}
|
|
141
|
+
action = table[state] && table[state][symbol];
|
|
142
|
+
}
|
|
143
|
+
if (typeof action === "undefined" || !action.length || !action[0]) {
|
|
144
|
+
var errStr = "";
|
|
145
|
+
expected = [];
|
|
146
|
+
for (p in table[state]) {
|
|
147
|
+
if (this.terminals_[p] && p > TERROR) {
|
|
148
|
+
expected.push("'" + this.terminals_[p] + "'");
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
if (lexer2.showPosition) {
|
|
152
|
+
errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
|
|
153
|
+
} else {
|
|
154
|
+
errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
|
|
155
|
+
}
|
|
156
|
+
this.parseError(errStr, {
|
|
157
|
+
text: lexer2.match,
|
|
158
|
+
token: this.terminals_[symbol] || symbol,
|
|
159
|
+
line: lexer2.yylineno,
|
|
160
|
+
loc: yyloc,
|
|
161
|
+
expected
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
if (action[0] instanceof Array && action.length > 1) {
|
|
165
|
+
throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
|
|
166
|
+
}
|
|
167
|
+
switch (action[0]) {
|
|
168
|
+
case 1:
|
|
169
|
+
stack.push(symbol);
|
|
170
|
+
vstack.push(lexer2.yytext);
|
|
171
|
+
lstack.push(lexer2.yylloc);
|
|
172
|
+
stack.push(action[1]);
|
|
173
|
+
symbol = null;
|
|
174
|
+
{
|
|
175
|
+
yyleng = lexer2.yyleng;
|
|
176
|
+
yytext = lexer2.yytext;
|
|
177
|
+
yylineno = lexer2.yylineno;
|
|
178
|
+
yyloc = lexer2.yylloc;
|
|
179
|
+
}
|
|
180
|
+
break;
|
|
181
|
+
case 2:
|
|
182
|
+
len = this.productions_[action[1]][1];
|
|
183
|
+
yyval.$ = vstack[vstack.length - len];
|
|
184
|
+
yyval._$ = {
|
|
185
|
+
first_line: lstack[lstack.length - (len || 1)].first_line,
|
|
186
|
+
last_line: lstack[lstack.length - 1].last_line,
|
|
187
|
+
first_column: lstack[lstack.length - (len || 1)].first_column,
|
|
188
|
+
last_column: lstack[lstack.length - 1].last_column
|
|
189
|
+
};
|
|
190
|
+
if (ranges) {
|
|
191
|
+
yyval._$.range = [
|
|
192
|
+
lstack[lstack.length - (len || 1)].range[0],
|
|
193
|
+
lstack[lstack.length - 1].range[1]
|
|
194
|
+
];
|
|
195
|
+
}
|
|
196
|
+
r = this.performAction.apply(yyval, [
|
|
197
|
+
yytext,
|
|
198
|
+
yyleng,
|
|
199
|
+
yylineno,
|
|
200
|
+
sharedState.yy,
|
|
201
|
+
action[1],
|
|
202
|
+
vstack,
|
|
203
|
+
lstack
|
|
204
|
+
].concat(args));
|
|
205
|
+
if (typeof r !== "undefined") {
|
|
206
|
+
return r;
|
|
207
|
+
}
|
|
208
|
+
if (len) {
|
|
209
|
+
stack = stack.slice(0, -1 * len * 2);
|
|
210
|
+
vstack = vstack.slice(0, -1 * len);
|
|
211
|
+
lstack = lstack.slice(0, -1 * len);
|
|
212
|
+
}
|
|
213
|
+
stack.push(this.productions_[action[1]][0]);
|
|
214
|
+
vstack.push(yyval.$);
|
|
215
|
+
lstack.push(yyval._$);
|
|
216
|
+
newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
|
|
217
|
+
stack.push(newState);
|
|
218
|
+
break;
|
|
219
|
+
case 3:
|
|
220
|
+
return true;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
return true;
|
|
224
|
+
}, "parse")
|
|
225
|
+
};
|
|
226
|
+
var lexer = /* @__PURE__ */ function() {
|
|
227
|
+
var lexer2 = {
|
|
228
|
+
EOF: 1,
|
|
229
|
+
parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
|
|
230
|
+
if (this.yy.parser) {
|
|
231
|
+
this.yy.parser.parseError(str, hash);
|
|
232
|
+
} else {
|
|
233
|
+
throw new Error(str);
|
|
234
|
+
}
|
|
235
|
+
}, "parseError"),
|
|
236
|
+
// resets the lexer, sets new input
|
|
237
|
+
setInput: /* @__PURE__ */ __name(function(input, yy) {
|
|
238
|
+
this.yy = yy || this.yy || {};
|
|
239
|
+
this._input = input;
|
|
240
|
+
this._more = this._backtrack = this.done = false;
|
|
241
|
+
this.yylineno = this.yyleng = 0;
|
|
242
|
+
this.yytext = this.matched = this.match = "";
|
|
243
|
+
this.conditionStack = ["INITIAL"];
|
|
244
|
+
this.yylloc = {
|
|
245
|
+
first_line: 1,
|
|
246
|
+
first_column: 0,
|
|
247
|
+
last_line: 1,
|
|
248
|
+
last_column: 0
|
|
249
|
+
};
|
|
250
|
+
if (this.options.ranges) {
|
|
251
|
+
this.yylloc.range = [0, 0];
|
|
252
|
+
}
|
|
253
|
+
this.offset = 0;
|
|
254
|
+
return this;
|
|
255
|
+
}, "setInput"),
|
|
256
|
+
// consumes and returns one char from the input
|
|
257
|
+
input: /* @__PURE__ */ __name(function() {
|
|
258
|
+
var ch = this._input[0];
|
|
259
|
+
this.yytext += ch;
|
|
260
|
+
this.yyleng++;
|
|
261
|
+
this.offset++;
|
|
262
|
+
this.match += ch;
|
|
263
|
+
this.matched += ch;
|
|
264
|
+
var lines = ch.match(/(?:\r\n?|\n).*/g);
|
|
265
|
+
if (lines) {
|
|
266
|
+
this.yylineno++;
|
|
267
|
+
this.yylloc.last_line++;
|
|
268
|
+
} else {
|
|
269
|
+
this.yylloc.last_column++;
|
|
270
|
+
}
|
|
271
|
+
if (this.options.ranges) {
|
|
272
|
+
this.yylloc.range[1]++;
|
|
273
|
+
}
|
|
274
|
+
this._input = this._input.slice(1);
|
|
275
|
+
return ch;
|
|
276
|
+
}, "input"),
|
|
277
|
+
// unshifts one char (or a string) into the input
|
|
278
|
+
unput: /* @__PURE__ */ __name(function(ch) {
|
|
279
|
+
var len = ch.length;
|
|
280
|
+
var lines = ch.split(/(?:\r\n?|\n)/g);
|
|
281
|
+
this._input = ch + this._input;
|
|
282
|
+
this.yytext = this.yytext.substr(0, this.yytext.length - len);
|
|
283
|
+
this.offset -= len;
|
|
284
|
+
var oldLines = this.match.split(/(?:\r\n?|\n)/g);
|
|
285
|
+
this.match = this.match.substr(0, this.match.length - 1);
|
|
286
|
+
this.matched = this.matched.substr(0, this.matched.length - 1);
|
|
287
|
+
if (lines.length - 1) {
|
|
288
|
+
this.yylineno -= lines.length - 1;
|
|
289
|
+
}
|
|
290
|
+
var r = this.yylloc.range;
|
|
291
|
+
this.yylloc = {
|
|
292
|
+
first_line: this.yylloc.first_line,
|
|
293
|
+
last_line: this.yylineno + 1,
|
|
294
|
+
first_column: this.yylloc.first_column,
|
|
295
|
+
last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
|
|
296
|
+
};
|
|
297
|
+
if (this.options.ranges) {
|
|
298
|
+
this.yylloc.range = [r[0], r[0] + this.yyleng - len];
|
|
299
|
+
}
|
|
300
|
+
this.yyleng = this.yytext.length;
|
|
301
|
+
return this;
|
|
302
|
+
}, "unput"),
|
|
303
|
+
// When called from action, caches matched text and appends it on next action
|
|
304
|
+
more: /* @__PURE__ */ __name(function() {
|
|
305
|
+
this._more = true;
|
|
306
|
+
return this;
|
|
307
|
+
}, "more"),
|
|
308
|
+
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
309
|
+
reject: /* @__PURE__ */ __name(function() {
|
|
310
|
+
if (this.options.backtrack_lexer) {
|
|
311
|
+
this._backtrack = true;
|
|
312
|
+
} else {
|
|
313
|
+
return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
314
|
+
text: "",
|
|
315
|
+
token: null,
|
|
316
|
+
line: this.yylineno
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
return this;
|
|
320
|
+
}, "reject"),
|
|
321
|
+
// retain first n characters of the match
|
|
322
|
+
less: /* @__PURE__ */ __name(function(n) {
|
|
323
|
+
this.unput(this.match.slice(n));
|
|
324
|
+
}, "less"),
|
|
325
|
+
// displays already matched input, i.e. for error messages
|
|
326
|
+
pastInput: /* @__PURE__ */ __name(function() {
|
|
327
|
+
var past = this.matched.substr(0, this.matched.length - this.match.length);
|
|
328
|
+
return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
|
|
329
|
+
}, "pastInput"),
|
|
330
|
+
// displays upcoming input, i.e. for error messages
|
|
331
|
+
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
332
|
+
var next = this.match;
|
|
333
|
+
if (next.length < 20) {
|
|
334
|
+
next += this._input.substr(0, 20 - next.length);
|
|
335
|
+
}
|
|
336
|
+
return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
337
|
+
}, "upcomingInput"),
|
|
338
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
339
|
+
showPosition: /* @__PURE__ */ __name(function() {
|
|
340
|
+
var pre = this.pastInput();
|
|
341
|
+
var c = new Array(pre.length + 1).join("-");
|
|
342
|
+
return pre + this.upcomingInput() + "\n" + c + "^";
|
|
343
|
+
}, "showPosition"),
|
|
344
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
345
|
+
test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
|
|
346
|
+
var token, lines, backup;
|
|
347
|
+
if (this.options.backtrack_lexer) {
|
|
348
|
+
backup = {
|
|
349
|
+
yylineno: this.yylineno,
|
|
350
|
+
yylloc: {
|
|
351
|
+
first_line: this.yylloc.first_line,
|
|
352
|
+
last_line: this.last_line,
|
|
353
|
+
first_column: this.yylloc.first_column,
|
|
354
|
+
last_column: this.yylloc.last_column
|
|
355
|
+
},
|
|
356
|
+
yytext: this.yytext,
|
|
357
|
+
match: this.match,
|
|
358
|
+
matches: this.matches,
|
|
359
|
+
matched: this.matched,
|
|
360
|
+
yyleng: this.yyleng,
|
|
361
|
+
offset: this.offset,
|
|
362
|
+
_more: this._more,
|
|
363
|
+
_input: this._input,
|
|
364
|
+
yy: this.yy,
|
|
365
|
+
conditionStack: this.conditionStack.slice(0),
|
|
366
|
+
done: this.done
|
|
367
|
+
};
|
|
368
|
+
if (this.options.ranges) {
|
|
369
|
+
backup.yylloc.range = this.yylloc.range.slice(0);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
lines = match[0].match(/(?:\r\n?|\n).*/g);
|
|
373
|
+
if (lines) {
|
|
374
|
+
this.yylineno += lines.length;
|
|
375
|
+
}
|
|
376
|
+
this.yylloc = {
|
|
377
|
+
first_line: this.yylloc.last_line,
|
|
378
|
+
last_line: this.yylineno + 1,
|
|
379
|
+
first_column: this.yylloc.last_column,
|
|
380
|
+
last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
|
|
381
|
+
};
|
|
382
|
+
this.yytext += match[0];
|
|
383
|
+
this.match += match[0];
|
|
384
|
+
this.matches = match;
|
|
385
|
+
this.yyleng = this.yytext.length;
|
|
386
|
+
if (this.options.ranges) {
|
|
387
|
+
this.yylloc.range = [this.offset, this.offset += this.yyleng];
|
|
388
|
+
}
|
|
389
|
+
this._more = false;
|
|
390
|
+
this._backtrack = false;
|
|
391
|
+
this._input = this._input.slice(match[0].length);
|
|
392
|
+
this.matched += match[0];
|
|
393
|
+
token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
|
|
394
|
+
if (this.done && this._input) {
|
|
395
|
+
this.done = false;
|
|
396
|
+
}
|
|
397
|
+
if (token) {
|
|
398
|
+
return token;
|
|
399
|
+
} else if (this._backtrack) {
|
|
400
|
+
for (var k in backup) {
|
|
401
|
+
this[k] = backup[k];
|
|
402
|
+
}
|
|
403
|
+
return false;
|
|
404
|
+
}
|
|
405
|
+
return false;
|
|
406
|
+
}, "test_match"),
|
|
407
|
+
// return next match in input
|
|
408
|
+
next: /* @__PURE__ */ __name(function() {
|
|
409
|
+
if (this.done) {
|
|
410
|
+
return this.EOF;
|
|
411
|
+
}
|
|
412
|
+
if (!this._input) {
|
|
413
|
+
this.done = true;
|
|
414
|
+
}
|
|
415
|
+
var token, match, tempMatch, index;
|
|
416
|
+
if (!this._more) {
|
|
417
|
+
this.yytext = "";
|
|
418
|
+
this.match = "";
|
|
419
|
+
}
|
|
420
|
+
var rules = this._currentRules();
|
|
421
|
+
for (var i = 0; i < rules.length; i++) {
|
|
422
|
+
tempMatch = this._input.match(this.rules[rules[i]]);
|
|
423
|
+
if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
|
|
424
|
+
match = tempMatch;
|
|
425
|
+
index = i;
|
|
426
|
+
if (this.options.backtrack_lexer) {
|
|
427
|
+
token = this.test_match(tempMatch, rules[i]);
|
|
428
|
+
if (token !== false) {
|
|
429
|
+
return token;
|
|
430
|
+
} else if (this._backtrack) {
|
|
431
|
+
match = false;
|
|
432
|
+
continue;
|
|
433
|
+
} else {
|
|
434
|
+
return false;
|
|
435
|
+
}
|
|
436
|
+
} else if (!this.options.flex) {
|
|
437
|
+
break;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
if (match) {
|
|
442
|
+
token = this.test_match(match, rules[index]);
|
|
443
|
+
if (token !== false) {
|
|
444
|
+
return token;
|
|
445
|
+
}
|
|
446
|
+
return false;
|
|
447
|
+
}
|
|
448
|
+
if (this._input === "") {
|
|
449
|
+
return this.EOF;
|
|
450
|
+
} else {
|
|
451
|
+
return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
452
|
+
text: "",
|
|
453
|
+
token: null,
|
|
454
|
+
line: this.yylineno
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
}, "next"),
|
|
458
|
+
// return next match that has a token
|
|
459
|
+
lex: /* @__PURE__ */ __name(function lex() {
|
|
460
|
+
var r = this.next();
|
|
461
|
+
if (r) {
|
|
462
|
+
return r;
|
|
463
|
+
} else {
|
|
464
|
+
return this.lex();
|
|
465
|
+
}
|
|
466
|
+
}, "lex"),
|
|
467
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
468
|
+
begin: /* @__PURE__ */ __name(function begin(condition) {
|
|
469
|
+
this.conditionStack.push(condition);
|
|
470
|
+
}, "begin"),
|
|
471
|
+
// pop the previously active lexer condition state off the condition stack
|
|
472
|
+
popState: /* @__PURE__ */ __name(function popState() {
|
|
473
|
+
var n = this.conditionStack.length - 1;
|
|
474
|
+
if (n > 0) {
|
|
475
|
+
return this.conditionStack.pop();
|
|
476
|
+
} else {
|
|
477
|
+
return this.conditionStack[0];
|
|
478
|
+
}
|
|
479
|
+
}, "popState"),
|
|
480
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
481
|
+
_currentRules: /* @__PURE__ */ __name(function _currentRules() {
|
|
482
|
+
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
|
|
483
|
+
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
484
|
+
} else {
|
|
485
|
+
return this.conditions["INITIAL"].rules;
|
|
486
|
+
}
|
|
487
|
+
}, "_currentRules"),
|
|
488
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
489
|
+
topState: /* @__PURE__ */ __name(function topState(n) {
|
|
490
|
+
n = this.conditionStack.length - 1 - Math.abs(n || 0);
|
|
491
|
+
if (n >= 0) {
|
|
492
|
+
return this.conditionStack[n];
|
|
493
|
+
} else {
|
|
494
|
+
return "INITIAL";
|
|
495
|
+
}
|
|
496
|
+
}, "topState"),
|
|
497
|
+
// alias for begin(condition)
|
|
498
|
+
pushState: /* @__PURE__ */ __name(function pushState(condition) {
|
|
499
|
+
this.begin(condition);
|
|
500
|
+
}, "pushState"),
|
|
501
|
+
// return the number of states currently on the stack
|
|
502
|
+
stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
|
|
503
|
+
return this.conditionStack.length;
|
|
504
|
+
}, "stateStackSize"),
|
|
505
|
+
options: { "case-insensitive": true },
|
|
506
|
+
performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
|
|
507
|
+
switch ($avoiding_name_collisions) {
|
|
508
|
+
case 0:
|
|
509
|
+
yy.getLogger().trace("Found comment", yy_.yytext);
|
|
510
|
+
return 6;
|
|
511
|
+
case 1:
|
|
512
|
+
return 8;
|
|
513
|
+
case 2:
|
|
514
|
+
this.begin("CLASS");
|
|
515
|
+
break;
|
|
516
|
+
case 3:
|
|
517
|
+
this.popState();
|
|
518
|
+
return 16;
|
|
519
|
+
case 4:
|
|
520
|
+
this.popState();
|
|
521
|
+
break;
|
|
522
|
+
case 5:
|
|
523
|
+
yy.getLogger().trace("Begin icon");
|
|
524
|
+
this.begin("ICON");
|
|
525
|
+
break;
|
|
526
|
+
case 6:
|
|
527
|
+
yy.getLogger().trace("SPACELINE");
|
|
528
|
+
return 6;
|
|
529
|
+
case 7:
|
|
530
|
+
return 7;
|
|
531
|
+
case 8:
|
|
532
|
+
return 15;
|
|
533
|
+
case 9:
|
|
534
|
+
yy.getLogger().trace("end icon");
|
|
535
|
+
this.popState();
|
|
536
|
+
break;
|
|
537
|
+
case 10:
|
|
538
|
+
yy.getLogger().trace("Exploding node");
|
|
539
|
+
this.begin("NODE");
|
|
540
|
+
return 19;
|
|
541
|
+
case 11:
|
|
542
|
+
yy.getLogger().trace("Cloud");
|
|
543
|
+
this.begin("NODE");
|
|
544
|
+
return 19;
|
|
545
|
+
case 12:
|
|
546
|
+
yy.getLogger().trace("Explosion Bang");
|
|
547
|
+
this.begin("NODE");
|
|
548
|
+
return 19;
|
|
549
|
+
case 13:
|
|
550
|
+
yy.getLogger().trace("Cloud Bang");
|
|
551
|
+
this.begin("NODE");
|
|
552
|
+
return 19;
|
|
553
|
+
case 14:
|
|
554
|
+
this.begin("NODE");
|
|
555
|
+
return 19;
|
|
556
|
+
case 15:
|
|
557
|
+
this.begin("NODE");
|
|
558
|
+
return 19;
|
|
559
|
+
case 16:
|
|
560
|
+
this.begin("NODE");
|
|
561
|
+
return 19;
|
|
562
|
+
case 17:
|
|
563
|
+
this.begin("NODE");
|
|
564
|
+
return 19;
|
|
565
|
+
case 18:
|
|
566
|
+
return 13;
|
|
567
|
+
case 19:
|
|
568
|
+
return 22;
|
|
569
|
+
case 20:
|
|
570
|
+
return 11;
|
|
571
|
+
case 21:
|
|
572
|
+
this.begin("NSTR2");
|
|
573
|
+
break;
|
|
574
|
+
case 22:
|
|
575
|
+
return "NODE_DESCR";
|
|
576
|
+
case 23:
|
|
577
|
+
this.popState();
|
|
578
|
+
break;
|
|
579
|
+
case 24:
|
|
580
|
+
yy.getLogger().trace("Starting NSTR");
|
|
581
|
+
this.begin("NSTR");
|
|
582
|
+
break;
|
|
583
|
+
case 25:
|
|
584
|
+
yy.getLogger().trace("description:", yy_.yytext);
|
|
585
|
+
return "NODE_DESCR";
|
|
586
|
+
case 26:
|
|
587
|
+
this.popState();
|
|
588
|
+
break;
|
|
589
|
+
case 27:
|
|
590
|
+
this.popState();
|
|
591
|
+
yy.getLogger().trace("node end ))");
|
|
592
|
+
return "NODE_DEND";
|
|
593
|
+
case 28:
|
|
594
|
+
this.popState();
|
|
595
|
+
yy.getLogger().trace("node end )");
|
|
596
|
+
return "NODE_DEND";
|
|
597
|
+
case 29:
|
|
598
|
+
this.popState();
|
|
599
|
+
yy.getLogger().trace("node end ...", yy_.yytext);
|
|
600
|
+
return "NODE_DEND";
|
|
601
|
+
case 30:
|
|
602
|
+
this.popState();
|
|
603
|
+
yy.getLogger().trace("node end ((");
|
|
604
|
+
return "NODE_DEND";
|
|
605
|
+
case 31:
|
|
606
|
+
this.popState();
|
|
607
|
+
yy.getLogger().trace("node end (-");
|
|
608
|
+
return "NODE_DEND";
|
|
609
|
+
case 32:
|
|
610
|
+
this.popState();
|
|
611
|
+
yy.getLogger().trace("node end (-");
|
|
612
|
+
return "NODE_DEND";
|
|
613
|
+
case 33:
|
|
614
|
+
this.popState();
|
|
615
|
+
yy.getLogger().trace("node end ((");
|
|
616
|
+
return "NODE_DEND";
|
|
617
|
+
case 34:
|
|
618
|
+
this.popState();
|
|
619
|
+
yy.getLogger().trace("node end ((");
|
|
620
|
+
return "NODE_DEND";
|
|
621
|
+
case 35:
|
|
622
|
+
yy.getLogger().trace("Long description:", yy_.yytext);
|
|
623
|
+
return 20;
|
|
624
|
+
case 36:
|
|
625
|
+
yy.getLogger().trace("Long description:", yy_.yytext);
|
|
626
|
+
return 20;
|
|
627
|
+
}
|
|
628
|
+
}, "anonymous"),
|
|
629
|
+
rules: [/^(?:\s*%%.*)/i, /^(?:mindmap\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
|
|
630
|
+
conditions: { "CLASS": { "rules": [3, 4], "inclusive": false }, "ICON": { "rules": [8, 9], "inclusive": false }, "NSTR2": { "rules": [22, 23], "inclusive": false }, "NSTR": { "rules": [25, 26], "inclusive": false }, "NODE": { "rules": [21, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "inclusive": true } }
|
|
631
|
+
};
|
|
632
|
+
return lexer2;
|
|
633
|
+
}();
|
|
634
|
+
parser2.lexer = lexer;
|
|
635
|
+
function Parser() {
|
|
636
|
+
this.yy = {};
|
|
637
|
+
}
|
|
638
|
+
__name(Parser, "Parser");
|
|
639
|
+
Parser.prototype = parser2;
|
|
640
|
+
parser2.Parser = Parser;
|
|
641
|
+
return new Parser();
|
|
642
|
+
}();
|
|
643
|
+
parser.parser = parser;
|
|
644
|
+
var mindmap_default = parser;
|
|
645
|
+
var nodes = [];
|
|
646
|
+
var cnt = 0;
|
|
647
|
+
var elements = {};
|
|
648
|
+
var clear = /* @__PURE__ */ __name(() => {
|
|
649
|
+
nodes = [];
|
|
650
|
+
cnt = 0;
|
|
651
|
+
elements = {};
|
|
652
|
+
}, "clear");
|
|
653
|
+
var getParent = /* @__PURE__ */ __name(function(level) {
|
|
654
|
+
for (let i = nodes.length - 1; i >= 0; i--) {
|
|
655
|
+
if (nodes[i].level < level) {
|
|
656
|
+
return nodes[i];
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
return null;
|
|
660
|
+
}, "getParent");
|
|
661
|
+
var getMindmap = /* @__PURE__ */ __name(() => {
|
|
662
|
+
return nodes.length > 0 ? nodes[0] : null;
|
|
663
|
+
}, "getMindmap");
|
|
664
|
+
var addNode = /* @__PURE__ */ __name((level, id, descr, type) => {
|
|
665
|
+
var _a, _b;
|
|
666
|
+
log.info("addNode", level, id, descr, type);
|
|
667
|
+
const conf = getConfig2();
|
|
668
|
+
let padding = ((_a = conf.mindmap) == null ? void 0 : _a.padding) ?? defaultConfig_default.mindmap.padding;
|
|
669
|
+
switch (type) {
|
|
670
|
+
case nodeType.ROUNDED_RECT:
|
|
671
|
+
case nodeType.RECT:
|
|
672
|
+
case nodeType.HEXAGON:
|
|
673
|
+
padding *= 2;
|
|
674
|
+
}
|
|
675
|
+
const node = {
|
|
676
|
+
id: cnt++,
|
|
677
|
+
nodeId: sanitizeText(id, conf),
|
|
678
|
+
level,
|
|
679
|
+
descr: sanitizeText(descr, conf),
|
|
680
|
+
type,
|
|
681
|
+
children: [],
|
|
682
|
+
width: ((_b = conf.mindmap) == null ? void 0 : _b.maxNodeWidth) ?? defaultConfig_default.mindmap.maxNodeWidth,
|
|
683
|
+
padding
|
|
684
|
+
};
|
|
685
|
+
const parent = getParent(level);
|
|
686
|
+
if (parent) {
|
|
687
|
+
parent.children.push(node);
|
|
688
|
+
nodes.push(node);
|
|
689
|
+
} else {
|
|
690
|
+
if (nodes.length === 0) {
|
|
691
|
+
nodes.push(node);
|
|
692
|
+
} else {
|
|
693
|
+
throw new Error(
|
|
694
|
+
'There can be only one root. No parent could be found for ("' + node.descr + '")'
|
|
695
|
+
);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
}, "addNode");
|
|
699
|
+
var nodeType = {
|
|
700
|
+
DEFAULT: 0,
|
|
701
|
+
NO_BORDER: 0,
|
|
702
|
+
ROUNDED_RECT: 1,
|
|
703
|
+
RECT: 2,
|
|
704
|
+
CIRCLE: 3,
|
|
705
|
+
CLOUD: 4,
|
|
706
|
+
BANG: 5,
|
|
707
|
+
HEXAGON: 6
|
|
708
|
+
};
|
|
709
|
+
var getType = /* @__PURE__ */ __name((startStr, endStr) => {
|
|
710
|
+
log.debug("In get type", startStr, endStr);
|
|
711
|
+
switch (startStr) {
|
|
712
|
+
case "[":
|
|
713
|
+
return nodeType.RECT;
|
|
714
|
+
case "(":
|
|
715
|
+
return endStr === ")" ? nodeType.ROUNDED_RECT : nodeType.CLOUD;
|
|
716
|
+
case "((":
|
|
717
|
+
return nodeType.CIRCLE;
|
|
718
|
+
case ")":
|
|
719
|
+
return nodeType.CLOUD;
|
|
720
|
+
case "))":
|
|
721
|
+
return nodeType.BANG;
|
|
722
|
+
case "{{":
|
|
723
|
+
return nodeType.HEXAGON;
|
|
724
|
+
default:
|
|
725
|
+
return nodeType.DEFAULT;
|
|
726
|
+
}
|
|
727
|
+
}, "getType");
|
|
728
|
+
var setElementForId = /* @__PURE__ */ __name((id, element) => {
|
|
729
|
+
elements[id] = element;
|
|
730
|
+
}, "setElementForId");
|
|
731
|
+
var decorateNode = /* @__PURE__ */ __name((decoration) => {
|
|
732
|
+
if (!decoration) {
|
|
733
|
+
return;
|
|
734
|
+
}
|
|
735
|
+
const config = getConfig2();
|
|
736
|
+
const node = nodes[nodes.length - 1];
|
|
737
|
+
if (decoration.icon) {
|
|
738
|
+
node.icon = sanitizeText(decoration.icon, config);
|
|
739
|
+
}
|
|
740
|
+
if (decoration.class) {
|
|
741
|
+
node.class = sanitizeText(decoration.class, config);
|
|
742
|
+
}
|
|
743
|
+
}, "decorateNode");
|
|
744
|
+
var type2Str = /* @__PURE__ */ __name((type) => {
|
|
745
|
+
switch (type) {
|
|
746
|
+
case nodeType.DEFAULT:
|
|
747
|
+
return "no-border";
|
|
748
|
+
case nodeType.RECT:
|
|
749
|
+
return "rect";
|
|
750
|
+
case nodeType.ROUNDED_RECT:
|
|
751
|
+
return "rounded-rect";
|
|
752
|
+
case nodeType.CIRCLE:
|
|
753
|
+
return "circle";
|
|
754
|
+
case nodeType.CLOUD:
|
|
755
|
+
return "cloud";
|
|
756
|
+
case nodeType.BANG:
|
|
757
|
+
return "bang";
|
|
758
|
+
case nodeType.HEXAGON:
|
|
759
|
+
return "hexgon";
|
|
760
|
+
// cspell: disable-line
|
|
761
|
+
default:
|
|
762
|
+
return "no-border";
|
|
763
|
+
}
|
|
764
|
+
}, "type2Str");
|
|
765
|
+
var getLogger = /* @__PURE__ */ __name(() => log, "getLogger");
|
|
766
|
+
var getElementById = /* @__PURE__ */ __name((id) => elements[id], "getElementById");
|
|
767
|
+
var db = {
|
|
768
|
+
clear,
|
|
769
|
+
addNode,
|
|
770
|
+
getMindmap,
|
|
771
|
+
nodeType,
|
|
772
|
+
getType,
|
|
773
|
+
setElementForId,
|
|
774
|
+
decorateNode,
|
|
775
|
+
type2Str,
|
|
776
|
+
getLogger,
|
|
777
|
+
getElementById
|
|
778
|
+
};
|
|
779
|
+
var mindmapDb_default = db;
|
|
780
|
+
var MAX_SECTIONS = 12;
|
|
781
|
+
var defaultBkg = /* @__PURE__ */ __name(function(db2, elem, node, section) {
|
|
782
|
+
const rd = 5;
|
|
783
|
+
elem.append("path").attr("id", "node-" + node.id).attr("class", "node-bkg node-" + db2.type2Str(node.type)).attr(
|
|
784
|
+
"d",
|
|
785
|
+
`M0 ${node.height - rd} v${-node.height + 2 * rd} q0,-5 5,-5 h${node.width - 2 * rd} q5,0 5,5 v${node.height - rd} H0 Z`
|
|
786
|
+
);
|
|
787
|
+
elem.append("line").attr("class", "node-line-" + section).attr("x1", 0).attr("y1", node.height).attr("x2", node.width).attr("y2", node.height);
|
|
788
|
+
}, "defaultBkg");
|
|
789
|
+
var rectBkg = /* @__PURE__ */ __name(function(db2, elem, node) {
|
|
790
|
+
elem.append("rect").attr("id", "node-" + node.id).attr("class", "node-bkg node-" + db2.type2Str(node.type)).attr("height", node.height).attr("width", node.width);
|
|
791
|
+
}, "rectBkg");
|
|
792
|
+
var cloudBkg = /* @__PURE__ */ __name(function(db2, elem, node) {
|
|
793
|
+
const w = node.width;
|
|
794
|
+
const h = node.height;
|
|
795
|
+
const r1 = 0.15 * w;
|
|
796
|
+
const r2 = 0.25 * w;
|
|
797
|
+
const r3 = 0.35 * w;
|
|
798
|
+
const r4 = 0.2 * w;
|
|
799
|
+
elem.append("path").attr("id", "node-" + node.id).attr("class", "node-bkg node-" + db2.type2Str(node.type)).attr(
|
|
800
|
+
"d",
|
|
801
|
+
`M0 0 a${r1},${r1} 0 0,1 ${w * 0.25},${-1 * w * 0.1}
|
|
802
|
+
a${r3},${r3} 1 0,1 ${w * 0.4},${-1 * w * 0.1}
|
|
803
|
+
a${r2},${r2} 1 0,1 ${w * 0.35},${1 * w * 0.2}
|
|
804
|
+
|
|
805
|
+
a${r1},${r1} 1 0,1 ${w * 0.15},${1 * h * 0.35}
|
|
806
|
+
a${r4},${r4} 1 0,1 ${-1 * w * 0.15},${1 * h * 0.65}
|
|
807
|
+
|
|
808
|
+
a${r2},${r1} 1 0,1 ${-1 * w * 0.25},${w * 0.15}
|
|
809
|
+
a${r3},${r3} 1 0,1 ${-1 * w * 0.5},${0}
|
|
810
|
+
a${r1},${r1} 1 0,1 ${-1 * w * 0.25},${-1 * w * 0.15}
|
|
811
|
+
|
|
812
|
+
a${r1},${r1} 1 0,1 ${-1 * w * 0.1},${-1 * h * 0.35}
|
|
813
|
+
a${r4},${r4} 1 0,1 ${w * 0.1},${-1 * h * 0.65}
|
|
814
|
+
|
|
815
|
+
H0 V0 Z`
|
|
816
|
+
);
|
|
817
|
+
}, "cloudBkg");
|
|
818
|
+
var bangBkg = /* @__PURE__ */ __name(function(db2, elem, node) {
|
|
819
|
+
const w = node.width;
|
|
820
|
+
const h = node.height;
|
|
821
|
+
const r = 0.15 * w;
|
|
822
|
+
elem.append("path").attr("id", "node-" + node.id).attr("class", "node-bkg node-" + db2.type2Str(node.type)).attr(
|
|
823
|
+
"d",
|
|
824
|
+
`M0 0 a${r},${r} 1 0,0 ${w * 0.25},${-1 * h * 0.1}
|
|
825
|
+
a${r},${r} 1 0,0 ${w * 0.25},${0}
|
|
826
|
+
a${r},${r} 1 0,0 ${w * 0.25},${0}
|
|
827
|
+
a${r},${r} 1 0,0 ${w * 0.25},${1 * h * 0.1}
|
|
828
|
+
|
|
829
|
+
a${r},${r} 1 0,0 ${w * 0.15},${1 * h * 0.33}
|
|
830
|
+
a${r * 0.8},${r * 0.8} 1 0,0 ${0},${1 * h * 0.34}
|
|
831
|
+
a${r},${r} 1 0,0 ${-1 * w * 0.15},${1 * h * 0.33}
|
|
832
|
+
|
|
833
|
+
a${r},${r} 1 0,0 ${-1 * w * 0.25},${h * 0.15}
|
|
834
|
+
a${r},${r} 1 0,0 ${-1 * w * 0.25},${0}
|
|
835
|
+
a${r},${r} 1 0,0 ${-1 * w * 0.25},${0}
|
|
836
|
+
a${r},${r} 1 0,0 ${-1 * w * 0.25},${-1 * h * 0.15}
|
|
837
|
+
|
|
838
|
+
a${r},${r} 1 0,0 ${-1 * w * 0.1},${-1 * h * 0.33}
|
|
839
|
+
a${r * 0.8},${r * 0.8} 1 0,0 ${0},${-1 * h * 0.34}
|
|
840
|
+
a${r},${r} 1 0,0 ${w * 0.1},${-1 * h * 0.33}
|
|
841
|
+
|
|
842
|
+
H0 V0 Z`
|
|
843
|
+
);
|
|
844
|
+
}, "bangBkg");
|
|
845
|
+
var circleBkg = /* @__PURE__ */ __name(function(db2, elem, node) {
|
|
846
|
+
elem.append("circle").attr("id", "node-" + node.id).attr("class", "node-bkg node-" + db2.type2Str(node.type)).attr("r", node.width / 2);
|
|
847
|
+
}, "circleBkg");
|
|
848
|
+
function insertPolygonShape(parent, w, h, points, node) {
|
|
849
|
+
return parent.insert("polygon", ":first-child").attr(
|
|
850
|
+
"points",
|
|
851
|
+
points.map(function(d) {
|
|
852
|
+
return d.x + "," + d.y;
|
|
853
|
+
}).join(" ")
|
|
854
|
+
).attr("transform", "translate(" + (node.width - w) / 2 + ", " + h + ")");
|
|
855
|
+
}
|
|
856
|
+
__name(insertPolygonShape, "insertPolygonShape");
|
|
857
|
+
var hexagonBkg = /* @__PURE__ */ __name(function(_db, elem, node) {
|
|
858
|
+
const h = node.height;
|
|
859
|
+
const f = 4;
|
|
860
|
+
const m = h / f;
|
|
861
|
+
const w = node.width - node.padding + 2 * m;
|
|
862
|
+
const points = [
|
|
863
|
+
{ x: m, y: 0 },
|
|
864
|
+
{ x: w - m, y: 0 },
|
|
865
|
+
{ x: w, y: -h / 2 },
|
|
866
|
+
{ x: w - m, y: -h },
|
|
867
|
+
{ x: m, y: -h },
|
|
868
|
+
{ x: 0, y: -h / 2 }
|
|
869
|
+
];
|
|
870
|
+
insertPolygonShape(elem, w, h, points, node);
|
|
871
|
+
}, "hexagonBkg");
|
|
872
|
+
var roundedRectBkg = /* @__PURE__ */ __name(function(db2, elem, node) {
|
|
873
|
+
elem.append("rect").attr("id", "node-" + node.id).attr("class", "node-bkg node-" + db2.type2Str(node.type)).attr("height", node.height).attr("rx", node.padding).attr("ry", node.padding).attr("width", node.width);
|
|
874
|
+
}, "roundedRectBkg");
|
|
875
|
+
var drawNode = /* @__PURE__ */ __name(async function(db2, elem, node, fullSection, conf) {
|
|
876
|
+
const htmlLabels = conf.htmlLabels;
|
|
877
|
+
const section = fullSection % (MAX_SECTIONS - 1);
|
|
878
|
+
const nodeElem = elem.append("g");
|
|
879
|
+
node.section = section;
|
|
880
|
+
let sectionClass = "section-" + section;
|
|
881
|
+
if (section < 0) {
|
|
882
|
+
sectionClass += " section-root";
|
|
883
|
+
}
|
|
884
|
+
nodeElem.attr("class", (node.class ? node.class + " " : "") + "mindmap-node " + sectionClass);
|
|
885
|
+
const bkgElem = nodeElem.append("g");
|
|
886
|
+
const textElem = nodeElem.append("g");
|
|
887
|
+
const description = node.descr.replace(/(<br\/*>)/g, "\n");
|
|
888
|
+
await createText(
|
|
889
|
+
textElem,
|
|
890
|
+
description,
|
|
891
|
+
{
|
|
892
|
+
useHtmlLabels: htmlLabels,
|
|
893
|
+
width: node.width,
|
|
894
|
+
classes: "mindmap-node-label"
|
|
895
|
+
},
|
|
896
|
+
conf
|
|
897
|
+
);
|
|
898
|
+
if (!htmlLabels) {
|
|
899
|
+
textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
|
|
900
|
+
}
|
|
901
|
+
const bbox = textElem.node().getBBox();
|
|
902
|
+
const [fontSize] = parseFontSize(conf.fontSize);
|
|
903
|
+
node.height = bbox.height + fontSize * 1.1 * 0.5 + node.padding;
|
|
904
|
+
node.width = bbox.width + 2 * node.padding;
|
|
905
|
+
if (node.icon) {
|
|
906
|
+
if (node.type === db2.nodeType.CIRCLE) {
|
|
907
|
+
node.height += 50;
|
|
908
|
+
node.width += 50;
|
|
909
|
+
const icon = nodeElem.append("foreignObject").attr("height", "50px").attr("width", node.width).attr("style", "text-align: center;");
|
|
910
|
+
icon.append("div").attr("class", "icon-container").append("i").attr("class", "node-icon-" + section + " " + node.icon);
|
|
911
|
+
textElem.attr(
|
|
912
|
+
"transform",
|
|
913
|
+
"translate(" + node.width / 2 + ", " + (node.height / 2 - 1.5 * node.padding) + ")"
|
|
914
|
+
);
|
|
915
|
+
} else {
|
|
916
|
+
node.width += 50;
|
|
917
|
+
const orgHeight = node.height;
|
|
918
|
+
node.height = Math.max(orgHeight, 60);
|
|
919
|
+
const heightDiff = Math.abs(node.height - orgHeight);
|
|
920
|
+
const icon = nodeElem.append("foreignObject").attr("width", "60px").attr("height", node.height).attr("style", "text-align: center;margin-top:" + heightDiff / 2 + "px;");
|
|
921
|
+
icon.append("div").attr("class", "icon-container").append("i").attr("class", "node-icon-" + section + " " + node.icon);
|
|
922
|
+
textElem.attr(
|
|
923
|
+
"transform",
|
|
924
|
+
"translate(" + (25 + node.width / 2) + ", " + (heightDiff / 2 + node.padding / 2) + ")"
|
|
925
|
+
);
|
|
926
|
+
}
|
|
927
|
+
} else {
|
|
928
|
+
if (!htmlLabels) {
|
|
929
|
+
const dx = node.width / 2;
|
|
930
|
+
const dy = node.padding / 2;
|
|
931
|
+
textElem.attr("transform", "translate(" + dx + ", " + dy + ")");
|
|
932
|
+
} else {
|
|
933
|
+
const dx = (node.width - bbox.width) / 2;
|
|
934
|
+
const dy = (node.height - bbox.height) / 2;
|
|
935
|
+
textElem.attr("transform", "translate(" + dx + ", " + dy + ")");
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
switch (node.type) {
|
|
939
|
+
case db2.nodeType.DEFAULT:
|
|
940
|
+
defaultBkg(db2, bkgElem, node, section);
|
|
941
|
+
break;
|
|
942
|
+
case db2.nodeType.ROUNDED_RECT:
|
|
943
|
+
roundedRectBkg(db2, bkgElem, node, section);
|
|
944
|
+
break;
|
|
945
|
+
case db2.nodeType.RECT:
|
|
946
|
+
rectBkg(db2, bkgElem, node, section);
|
|
947
|
+
break;
|
|
948
|
+
case db2.nodeType.CIRCLE:
|
|
949
|
+
bkgElem.attr("transform", "translate(" + node.width / 2 + ", " + +node.height / 2 + ")");
|
|
950
|
+
circleBkg(db2, bkgElem, node, section);
|
|
951
|
+
break;
|
|
952
|
+
case db2.nodeType.CLOUD:
|
|
953
|
+
cloudBkg(db2, bkgElem, node, section);
|
|
954
|
+
break;
|
|
955
|
+
case db2.nodeType.BANG:
|
|
956
|
+
bangBkg(db2, bkgElem, node, section);
|
|
957
|
+
break;
|
|
958
|
+
case db2.nodeType.HEXAGON:
|
|
959
|
+
hexagonBkg(db2, bkgElem, node, section);
|
|
960
|
+
break;
|
|
961
|
+
}
|
|
962
|
+
db2.setElementForId(node.id, nodeElem);
|
|
963
|
+
return node.height;
|
|
964
|
+
}, "drawNode");
|
|
965
|
+
var positionNode = /* @__PURE__ */ __name(function(db2, node) {
|
|
966
|
+
const nodeElem = db2.getElementById(node.id);
|
|
967
|
+
const x = node.x || 0;
|
|
968
|
+
const y = node.y || 0;
|
|
969
|
+
nodeElem.attr("transform", "translate(" + x + "," + y + ")");
|
|
970
|
+
}, "positionNode");
|
|
971
|
+
cytoscape.use(coseBilkent);
|
|
972
|
+
async function drawNodes(db2, svg, mindmap, section, conf) {
|
|
973
|
+
await drawNode(db2, svg, mindmap, section, conf);
|
|
974
|
+
if (mindmap.children) {
|
|
975
|
+
await Promise.all(
|
|
976
|
+
mindmap.children.map(
|
|
977
|
+
(child, index) => drawNodes(db2, svg, child, section < 0 ? index : section, conf)
|
|
978
|
+
)
|
|
979
|
+
);
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
__name(drawNodes, "drawNodes");
|
|
983
|
+
function drawEdges(edgesEl, cy) {
|
|
984
|
+
cy.edges().map((edge, id) => {
|
|
985
|
+
const data = edge.data();
|
|
986
|
+
if (edge[0]._private.bodyBounds) {
|
|
987
|
+
const bounds = edge[0]._private.rscratch;
|
|
988
|
+
log.trace("Edge: ", id, data);
|
|
989
|
+
edgesEl.insert("path").attr(
|
|
990
|
+
"d",
|
|
991
|
+
`M ${bounds.startX},${bounds.startY} L ${bounds.midX},${bounds.midY} L${bounds.endX},${bounds.endY} `
|
|
992
|
+
).attr("class", "edge section-edge-" + data.section + " edge-depth-" + data.depth);
|
|
993
|
+
}
|
|
994
|
+
});
|
|
995
|
+
}
|
|
996
|
+
__name(drawEdges, "drawEdges");
|
|
997
|
+
function addNodes(mindmap, cy, conf, level) {
|
|
998
|
+
cy.add({
|
|
999
|
+
group: "nodes",
|
|
1000
|
+
data: {
|
|
1001
|
+
id: mindmap.id.toString(),
|
|
1002
|
+
labelText: mindmap.descr,
|
|
1003
|
+
height: mindmap.height,
|
|
1004
|
+
width: mindmap.width,
|
|
1005
|
+
level,
|
|
1006
|
+
nodeId: mindmap.id,
|
|
1007
|
+
padding: mindmap.padding,
|
|
1008
|
+
type: mindmap.type
|
|
1009
|
+
},
|
|
1010
|
+
position: {
|
|
1011
|
+
x: mindmap.x,
|
|
1012
|
+
y: mindmap.y
|
|
1013
|
+
}
|
|
1014
|
+
});
|
|
1015
|
+
if (mindmap.children) {
|
|
1016
|
+
mindmap.children.forEach((child) => {
|
|
1017
|
+
addNodes(child, cy, conf, level + 1);
|
|
1018
|
+
cy.add({
|
|
1019
|
+
group: "edges",
|
|
1020
|
+
data: {
|
|
1021
|
+
id: `${mindmap.id}_${child.id}`,
|
|
1022
|
+
source: mindmap.id,
|
|
1023
|
+
target: child.id,
|
|
1024
|
+
depth: level,
|
|
1025
|
+
section: child.section
|
|
1026
|
+
}
|
|
1027
|
+
});
|
|
1028
|
+
});
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
__name(addNodes, "addNodes");
|
|
1032
|
+
function layoutMindmap(node, conf) {
|
|
1033
|
+
return new Promise((resolve) => {
|
|
1034
|
+
const renderEl = select("body").append("div").attr("id", "cy").attr("style", "display:none");
|
|
1035
|
+
const cy = cytoscape({
|
|
1036
|
+
container: document.getElementById("cy"),
|
|
1037
|
+
// container to render in
|
|
1038
|
+
style: [
|
|
1039
|
+
{
|
|
1040
|
+
selector: "edge",
|
|
1041
|
+
style: {
|
|
1042
|
+
"curve-style": "bezier"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
]
|
|
1046
|
+
});
|
|
1047
|
+
renderEl.remove();
|
|
1048
|
+
addNodes(node, cy, conf, 0);
|
|
1049
|
+
cy.nodes().forEach(function(n) {
|
|
1050
|
+
n.layoutDimensions = () => {
|
|
1051
|
+
const data = n.data();
|
|
1052
|
+
return { w: data.width, h: data.height };
|
|
1053
|
+
};
|
|
1054
|
+
});
|
|
1055
|
+
cy.layout({
|
|
1056
|
+
name: "cose-bilkent",
|
|
1057
|
+
// @ts-ignore Types for cose-bilkent are not correct?
|
|
1058
|
+
quality: "proof",
|
|
1059
|
+
styleEnabled: false,
|
|
1060
|
+
animate: false
|
|
1061
|
+
}).run();
|
|
1062
|
+
cy.ready((e) => {
|
|
1063
|
+
log.info("Ready", e);
|
|
1064
|
+
resolve(cy);
|
|
1065
|
+
});
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1068
|
+
__name(layoutMindmap, "layoutMindmap");
|
|
1069
|
+
function positionNodes(db2, cy) {
|
|
1070
|
+
cy.nodes().map((node, id) => {
|
|
1071
|
+
const data = node.data();
|
|
1072
|
+
data.x = node.position().x;
|
|
1073
|
+
data.y = node.position().y;
|
|
1074
|
+
positionNode(db2, data);
|
|
1075
|
+
const el = db2.getElementById(data.nodeId);
|
|
1076
|
+
log.info("Id:", id, "Position: (", node.position().x, ", ", node.position().y, ")", data);
|
|
1077
|
+
el.attr(
|
|
1078
|
+
"transform",
|
|
1079
|
+
`translate(${node.position().x - data.width / 2}, ${node.position().y - data.height / 2})`
|
|
1080
|
+
);
|
|
1081
|
+
el.attr("attr", `apa-${id})`);
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
__name(positionNodes, "positionNodes");
|
|
1085
|
+
var draw = /* @__PURE__ */ __name(async (text, id, _version, diagObj) => {
|
|
1086
|
+
var _a, _b;
|
|
1087
|
+
log.debug("Rendering mindmap diagram\n" + text);
|
|
1088
|
+
const db2 = diagObj.db;
|
|
1089
|
+
const mm = db2.getMindmap();
|
|
1090
|
+
if (!mm) {
|
|
1091
|
+
return;
|
|
1092
|
+
}
|
|
1093
|
+
const conf = getConfig2();
|
|
1094
|
+
conf.htmlLabels = false;
|
|
1095
|
+
const svg = selectSvgElement(id);
|
|
1096
|
+
const edgesElem = svg.append("g");
|
|
1097
|
+
edgesElem.attr("class", "mindmap-edges");
|
|
1098
|
+
const nodesElem = svg.append("g");
|
|
1099
|
+
nodesElem.attr("class", "mindmap-nodes");
|
|
1100
|
+
await drawNodes(db2, nodesElem, mm, -1, conf);
|
|
1101
|
+
const cy = await layoutMindmap(mm, conf);
|
|
1102
|
+
drawEdges(edgesElem, cy);
|
|
1103
|
+
positionNodes(db2, cy);
|
|
1104
|
+
setupGraphViewbox(
|
|
1105
|
+
void 0,
|
|
1106
|
+
svg,
|
|
1107
|
+
((_a = conf.mindmap) == null ? void 0 : _a.padding) ?? defaultConfig_default.mindmap.padding,
|
|
1108
|
+
((_b = conf.mindmap) == null ? void 0 : _b.useMaxWidth) ?? defaultConfig_default.mindmap.useMaxWidth
|
|
1109
|
+
);
|
|
1110
|
+
}, "draw");
|
|
1111
|
+
var mindmapRenderer_default = {
|
|
1112
|
+
draw
|
|
1113
|
+
};
|
|
1114
|
+
var genSections = /* @__PURE__ */ __name((options) => {
|
|
1115
|
+
let sections = "";
|
|
1116
|
+
for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
|
|
1117
|
+
options["lineColor" + i] = options["lineColor" + i] || options["cScaleInv" + i];
|
|
1118
|
+
if (isDark(options["lineColor" + i])) {
|
|
1119
|
+
options["lineColor" + i] = lighten(options["lineColor" + i], 20);
|
|
1120
|
+
} else {
|
|
1121
|
+
options["lineColor" + i] = darken(options["lineColor" + i], 20);
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
|
|
1125
|
+
const sw = "" + (17 - 3 * i);
|
|
1126
|
+
sections += `
|
|
1127
|
+
.section-${i - 1} rect, .section-${i - 1} path, .section-${i - 1} circle, .section-${i - 1} polygon, .section-${i - 1} path {
|
|
1128
|
+
fill: ${options["cScale" + i]};
|
|
1129
|
+
}
|
|
1130
|
+
.section-${i - 1} text {
|
|
1131
|
+
fill: ${options["cScaleLabel" + i]};
|
|
1132
|
+
}
|
|
1133
|
+
.node-icon-${i - 1} {
|
|
1134
|
+
font-size: 40px;
|
|
1135
|
+
color: ${options["cScaleLabel" + i]};
|
|
1136
|
+
}
|
|
1137
|
+
.section-edge-${i - 1}{
|
|
1138
|
+
stroke: ${options["cScale" + i]};
|
|
1139
|
+
}
|
|
1140
|
+
.edge-depth-${i - 1}{
|
|
1141
|
+
stroke-width: ${sw};
|
|
1142
|
+
}
|
|
1143
|
+
.section-${i - 1} line {
|
|
1144
|
+
stroke: ${options["cScaleInv" + i]} ;
|
|
1145
|
+
stroke-width: 3;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.disabled, .disabled circle, .disabled text {
|
|
1149
|
+
fill: lightgray;
|
|
1150
|
+
}
|
|
1151
|
+
.disabled text {
|
|
1152
|
+
fill: #efefef;
|
|
1153
|
+
}
|
|
1154
|
+
`;
|
|
1155
|
+
}
|
|
1156
|
+
return sections;
|
|
1157
|
+
}, "genSections");
|
|
1158
|
+
var getStyles = /* @__PURE__ */ __name((options) => `
|
|
1159
|
+
.edge {
|
|
1160
|
+
stroke-width: 3;
|
|
1161
|
+
}
|
|
1162
|
+
${genSections(options)}
|
|
1163
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
1164
|
+
fill: ${options.git0};
|
|
1165
|
+
}
|
|
1166
|
+
.section-root text {
|
|
1167
|
+
fill: ${options.gitBranchLabel0};
|
|
1168
|
+
}
|
|
1169
|
+
.icon-container {
|
|
1170
|
+
height:100%;
|
|
1171
|
+
display: flex;
|
|
1172
|
+
justify-content: center;
|
|
1173
|
+
align-items: center;
|
|
1174
|
+
}
|
|
1175
|
+
.edge {
|
|
1176
|
+
fill: none;
|
|
1177
|
+
}
|
|
1178
|
+
.mindmap-node-label {
|
|
1179
|
+
dy: 1em;
|
|
1180
|
+
alignment-baseline: middle;
|
|
1181
|
+
text-anchor: middle;
|
|
1182
|
+
dominant-baseline: middle;
|
|
1183
|
+
text-align: center;
|
|
1184
|
+
}
|
|
1185
|
+
`, "getStyles");
|
|
1186
|
+
var styles_default = getStyles;
|
|
1187
|
+
var diagram = {
|
|
1188
|
+
db: mindmapDb_default,
|
|
1189
|
+
renderer: mindmapRenderer_default,
|
|
1190
|
+
parser: mindmap_default,
|
|
1191
|
+
styles: styles_default
|
|
1192
|
+
};
|
|
1193
|
+
export {
|
|
1194
|
+
diagram
|
|
1195
|
+
};
|