@loopstack/loopstack-studio 0.20.2 → 0.21.0-rc.0
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/rolldown_runtime.js +20 -0
- package/dist/components/data-table/ConfirmDialog.js +30 -0
- package/dist/components/data-table/DataList.js +216 -0
- package/dist/components/data-table/DataTable.js +264 -0
- package/dist/components/data-table/DataTableBatchAction.js +32 -0
- package/dist/components/data-table/DataTableFilters.js +83 -0
- package/dist/components/data-table/DataTablePagination.js +108 -0
- package/dist/components/data-table/DataTableToolbar.js +70 -0
- package/dist/components/dynamic-form/ArrayController.js +100 -0
- package/dist/components/dynamic-form/CodeContent.js +174 -0
- package/dist/components/dynamic-form/Form.js +35 -0
- package/dist/components/dynamic-form/FormBody.js +26 -0
- package/dist/components/dynamic-form/FormElement.js +42 -0
- package/dist/components/dynamic-form/FormElementHeader.js +20 -0
- package/dist/components/dynamic-form/InputController.js +38 -0
- package/dist/components/dynamic-form/MarkdownContent.js +76 -0
- package/dist/components/dynamic-form/MermaidDiagram.js +41 -0
- package/dist/components/dynamic-form/ObjectController.js +32 -0
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -0
- package/dist/components/dynamic-form/fields/CheckboxField.js +53 -0
- package/dist/components/dynamic-form/fields/CodeViewField.js +63 -0
- package/dist/components/dynamic-form/fields/InputField.js +105 -0
- package/dist/components/dynamic-form/fields/RadioField.js +67 -0
- package/dist/components/dynamic-form/fields/SelectField.js +60 -0
- package/dist/components/dynamic-form/fields/SliderField.js +112 -0
- package/dist/components/dynamic-form/fields/SwitchField.js +66 -0
- package/dist/components/dynamic-form/fields/TextareaField.js +77 -0
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +33 -0
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +42 -0
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +21 -0
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +5 -0
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +5 -0
- package/dist/components/layout/MainLayout.js +24 -0
- package/dist/components/lists/CustomListView.js +87 -0
- package/dist/components/lists/ListView.js +118 -0
- package/dist/components/page/PageBreadcrumbs.js +41 -0
- package/dist/components/snackbars/ErrorSnackbar.js +30 -0
- package/dist/components/snackbars/Snackbar.js +44 -0
- package/dist/components/ui/alert-dialog.js +121 -0
- package/dist/components/ui/badge.js +28 -0
- package/dist/components/ui/breadcrumb.js +85 -0
- package/dist/components/ui/button.js +47 -0
- package/dist/components/ui/card.js +29 -0
- package/dist/components/ui/checkbox.js +26 -0
- package/dist/components/ui/collapsible.js +32 -0
- package/dist/components/ui/dialog.js +88 -0
- package/dist/components/ui/input.js +18 -0
- package/dist/components/ui/label.js +19 -0
- package/dist/components/ui/radio-group.js +38 -0
- package/dist/components/ui/select.js +125 -0
- package/dist/components/ui/sheet.js +97 -0
- package/dist/components/ui/slider.js +35 -0
- package/dist/components/ui/switch.js +24 -0
- package/dist/components/ui/table.js +81 -0
- package/dist/components/ui/textarea.js +17 -0
- package/dist/components/ui/tooltip.js +50 -0
- package/dist/features/health/LocalHealthCheck.js +95 -0
- package/dist/features/workspaces/Workspaces.js +162 -0
- package/dist/features/workspaces/components/CreateWorkspace.js +128 -0
- package/dist/features/workspaces/components/ExecutionTimeline.js +204 -0
- package/dist/features/workspaces/components/NewPipelineRunDialog.js +31 -0
- package/dist/features/workspaces/components/PipelineForm.js +152 -0
- package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +75 -0
- package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +43 -0
- package/dist/features/workspaces/components/pipeline-form/SelectionView.js +105 -0
- package/dist/hooks/use-mobile.js +3 -3
- package/dist/hooks/useAuth.js +56 -0
- package/dist/hooks/useConfig.js +46 -0
- package/dist/hooks/useDebounce.js +27 -0
- package/dist/hooks/usePipelines.js +117 -0
- package/dist/hooks/useProcessor.js +24 -0
- package/dist/hooks/useWorkspaces.js +142 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4 -1
- package/dist/lib/utils.js +6 -0
- package/dist/loopstack-studio.css +2 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +48 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +26 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +154 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +40 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +85 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +35 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +570 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +25 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +9 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +8 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +10 -0
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +9 -0
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +18 -0
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -0
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +35 -0
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +7 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +15 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +14 -0
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +54 -0
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +22 -0
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +6 -0
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +17 -0
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +18 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +60 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +28 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +787 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +30 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +55 -0
- package/dist/node_modules/ccount/index.js +8 -0
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +13 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +34 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +299 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +25 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +29 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +269 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +43 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +248 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +32 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +122 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +16 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +48 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +172 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +39 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +109 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +22 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +313 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +144 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +102 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +11 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +465 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +152 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +42 -0
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +346 -0
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +194 -0
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +32 -0
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -0
- package/dist/node_modules/comma-separated-tokens/index.js +10 -0
- package/dist/node_modules/cose-base/cose-base.js +469 -0
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +18100 -0
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +172 -0
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +604 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +1142 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +1635 -0
- package/dist/node_modules/d3/src/index.js +93 -0
- package/dist/node_modules/d3-array/src/ascending.js +4 -0
- package/dist/node_modules/d3-array/src/bisect.js +8 -0
- package/dist/node_modules/d3-array/src/bisector.js +39 -0
- package/dist/node_modules/d3-array/src/descending.js +4 -0
- package/dist/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-array/src/number.js +4 -0
- package/dist/node_modules/d3-array/src/range.js +6 -0
- package/dist/node_modules/d3-array/src/ticks.js +30 -0
- package/dist/node_modules/d3-axis/src/axis.js +61 -0
- package/dist/node_modules/d3-axis/src/identity.js +4 -0
- package/dist/node_modules/d3-brush/src/brush.js +15 -0
- package/dist/node_modules/d3-brush/src/index.js +1 -0
- package/dist/node_modules/d3-color/src/color.js +287 -0
- package/dist/node_modules/d3-color/src/define.js +9 -0
- package/dist/node_modules/d3-color/src/lab.js +70 -0
- package/dist/node_modules/d3-color/src/math.js +2 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
- package/dist/node_modules/d3-ease/src/cubic.js +4 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +11 -0
- package/dist/node_modules/d3-format/src/exponent.js +5 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +9 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +7 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +8 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +9 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +8 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +25 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +16 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +19 -0
- package/dist/node_modules/d3-format/src/identity.js +4 -0
- package/dist/node_modules/d3-format/src/locale.js +82 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +5 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +5 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/accessors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/constant.js +9 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +57 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +12 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +36 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +33 -0
- package/dist/node_modules/d3-interpolate/src/array.js +11 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +12 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +9 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +2 -0
- package/dist/node_modules/d3-interpolate/src/date.js +7 -0
- package/dist/node_modules/d3-interpolate/src/hcl.js +12 -0
- package/dist/node_modules/d3-interpolate/src/number.js +6 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +12 -0
- package/dist/node_modules/d3-interpolate/src/object.js +10 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.js +6 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +20 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.js +52 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -0
- package/dist/node_modules/d3-interpolate/src/value.js +14 -0
- package/dist/node_modules/d3-path/src/path.js +61 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +50 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +35 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-sankey/src/align.js +17 -0
- package/dist/node_modules/d3-sankey/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/src/sankey.js +224 -0
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +11 -0
- package/dist/node_modules/d3-scale/src/band.js +39 -0
- package/dist/node_modules/d3-scale/src/constant.js +6 -0
- package/dist/node_modules/d3-scale/src/continuous.js +69 -0
- package/dist/node_modules/d3-scale/src/init.js +13 -0
- package/dist/node_modules/d3-scale/src/linear.js +32 -0
- package/dist/node_modules/d3-scale/src/nice.js +6 -0
- package/dist/node_modules/d3-scale/src/number.js +4 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +27 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +27 -0
- package/dist/node_modules/d3-scale/src/time.js +43 -0
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +5 -0
- package/dist/node_modules/d3-selection/src/array.js +4 -0
- package/dist/node_modules/d3-selection/src/constant.js +6 -0
- package/dist/node_modules/d3-selection/src/creator.js +18 -0
- package/dist/node_modules/d3-selection/src/matcher.js +11 -0
- package/dist/node_modules/d3-selection/src/namespace.js +9 -0
- package/dist/node_modules/d3-selection/src/namespaces.js +8 -0
- package/dist/node_modules/d3-selection/src/select.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/append.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/attr.js +42 -0
- package/dist/node_modules/d3-selection/src/selection/call.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/classed.js +51 -0
- package/dist/node_modules/d3-selection/src/selection/clone.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/data.js +34 -0
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +19 -0
- package/dist/node_modules/d3-selection/src/selection/each.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/enter.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/exit.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/html.js +17 -0
- package/dist/node_modules/d3-selection/src/selection/index.js +84 -0
- package/dist/node_modules/d3-selection/src/selection/insert.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/join.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/lower.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/merge.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/node.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/on.js +54 -0
- package/dist/node_modules/d3-selection/src/selection/order.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/property.js +20 -0
- package/dist/node_modules/d3-selection/src/selection/raise.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/remove.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/size.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/sort.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/style.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/text.js +17 -0
- package/dist/node_modules/d3-selection/src/selector.js +7 -0
- package/dist/node_modules/d3-selection/src/selectorAll.js +9 -0
- package/dist/node_modules/d3-selection/src/window.js +4 -0
- package/dist/node_modules/d3-shape/src/arc.js +79 -0
- package/dist/node_modules/d3-shape/src/array.js +5 -0
- package/dist/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +42 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.js +26 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +52 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +67 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +56 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +32 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +21 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +90 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +35 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +43 -0
- package/dist/node_modules/d3-shape/src/descending.js +4 -0
- package/dist/node_modules/d3-shape/src/identity.js +4 -0
- package/dist/node_modules/d3-shape/src/line.js +26 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/noop.js +2 -0
- package/dist/node_modules/d3-shape/src/path.js +15 -0
- package/dist/node_modules/d3-shape/src/pie.js +39 -0
- package/dist/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-time/src/day.js +17 -0
- package/dist/node_modules/d3-time/src/duration.js +2 -0
- package/dist/node_modules/d3-time/src/hour.js +15 -0
- package/dist/node_modules/d3-time/src/interval.js +24 -0
- package/dist/node_modules/d3-time/src/millisecond.js +10 -0
- package/dist/node_modules/d3-time/src/minute.js +15 -0
- package/dist/node_modules/d3-time/src/month.js +14 -0
- package/dist/node_modules/d3-time/src/second.js +9 -0
- package/dist/node_modules/d3-time/src/ticks.js +121 -0
- package/dist/node_modules/d3-time/src/week.js +21 -0
- package/dist/node_modules/d3-time/src/year.js +22 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +58 -0
- package/dist/node_modules/d3-time-format/src/locale.js +486 -0
- package/dist/node_modules/d3-timer/src/timeout.js +8 -0
- package/dist/node_modules/d3-timer/src/timer.js +51 -0
- package/dist/node_modules/d3-transition/src/index.js +3 -0
- package/dist/node_modules/d3-transition/src/interrupt.js +15 -0
- package/dist/node_modules/d3-transition/src/selection/index.js +4 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +7 -0
- package/dist/node_modules/d3-transition/src/selection/transition.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/attr.js +47 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +36 -0
- package/dist/node_modules/d3-transition/src/transition/delay.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/duration.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/ease.js +12 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/end.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -0
- package/dist/node_modules/d3-transition/src/transition/merge.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/on.js +19 -0
- package/dist/node_modules/d3-transition/src/transition/remove.js +11 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.js +67 -0
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/selection.js +6 -0
- package/dist/node_modules/d3-transition/src/transition/style.js +43 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/text.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/transition.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/tween.js +52 -0
- package/dist/node_modules/d3-zoom/src/index.js +2 -0
- package/dist/node_modules/d3-zoom/src/transform.js +46 -0
- package/dist/node_modules/d3-zoom/src/zoom.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +34 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +22 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +69 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +4 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +241 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +66 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +32 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +14 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +33 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +55 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +43 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +27 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +40 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +216 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +31 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +84 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +20 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +117 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +16 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra-all.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +8 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/is-acyclic.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/prim.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +15 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +228 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +32 -0
- package/dist/node_modules/dayjs/dayjs.min.js +298 -0
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +37 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +160 -0
- package/dist/node_modules/dayjs/plugin/duration.js +164 -0
- package/dist/node_modules/dayjs/plugin/isoWeek.js +29 -0
- package/dist/node_modules/devlop/lib/default.js +2 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +547 -0
- package/dist/node_modules/hast-util-from-dom/lib/index.js +58 -0
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -0
- package/dist/node_modules/hast-util-is-element/lib/index.js +36 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +16 -0
- package/dist/node_modules/hast-util-to-text/lib/index.js +104 -0
- package/dist/node_modules/hastscript/lib/create-h.js +86 -0
- package/dist/node_modules/hastscript/lib/index.js +5 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -0
- package/dist/node_modules/internmap/src/index.js +36 -0
- package/dist/node_modules/katex/dist/katex.js +22103 -0
- package/dist/node_modules/khroma/dist/channels/index.js +68 -0
- package/dist/node_modules/khroma/dist/channels/reusable.js +8 -0
- package/dist/node_modules/khroma/dist/channels/type.js +20 -0
- package/dist/node_modules/khroma/dist/color/hex.js +22 -0
- package/dist/node_modules/khroma/dist/color/hsl.js +36 -0
- package/dist/node_modules/khroma/dist/color/index.js +23 -0
- package/dist/node_modules/khroma/dist/color/keyword.js +162 -0
- package/dist/node_modules/khroma/dist/color/rgb.js +23 -0
- package/dist/node_modules/khroma/dist/constants.js +9 -0
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -0
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +7 -0
- package/dist/node_modules/khroma/dist/methods/change.js +8 -0
- package/dist/node_modules/khroma/dist/methods/channel.js +4 -0
- package/dist/node_modules/khroma/dist/methods/darken.js +3 -0
- package/dist/node_modules/khroma/dist/methods/invert.js +7 -0
- package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -0
- package/dist/node_modules/khroma/dist/methods/is_light.js +3 -0
- package/dist/node_modules/khroma/dist/methods/lighten.js +3 -0
- package/dist/node_modules/khroma/dist/methods/luminance.js +7 -0
- package/dist/node_modules/khroma/dist/methods/mix.js +7 -0
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +58 -0
- package/dist/node_modules/khroma/dist/utils/index.js +9 -0
- package/dist/node_modules/khroma/dist/utils/lang.js +5 -0
- package/dist/node_modules/khroma/dist/utils/unit.js +5 -0
- package/dist/node_modules/langium/lib/default-module.js +85 -0
- package/dist/node_modules/langium/lib/dependency-injection.js +62 -0
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +11 -0
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +36 -0
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +303 -0
- package/dist/node_modules/langium/lib/index.js +182 -0
- package/dist/node_modules/langium/lib/languages/generated/ast.js +1089 -0
- package/dist/node_modules/langium/lib/languages/grammar-config.js +13 -0
- package/dist/node_modules/langium/lib/parser/async-parser.js +83 -0
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +7 -0
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +160 -0
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +11 -0
- package/dist/node_modules/langium/lib/parser/langium-parser.js +388 -0
- package/dist/node_modules/langium/lib/parser/lexer.js +50 -0
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +275 -0
- package/dist/node_modules/langium/lib/parser/token-builder.js +61 -0
- package/dist/node_modules/langium/lib/parser/value-converter.js +78 -0
- package/dist/node_modules/langium/lib/references/linker.js +190 -0
- package/dist/node_modules/langium/lib/references/name-provider.js +13 -0
- package/dist/node_modules/langium/lib/references/references.js +76 -0
- package/dist/node_modules/langium/lib/references/scope-computation.js +35 -0
- package/dist/node_modules/langium/lib/references/scope-provider.js +34 -0
- package/dist/node_modules/langium/lib/references/scope.js +73 -0
- package/dist/node_modules/langium/lib/serializer/hydrator.js +125 -0
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +145 -0
- package/dist/node_modules/langium/lib/service-registry.js +37 -0
- package/dist/node_modules/langium/lib/syntax-tree.js +70 -0
- package/dist/node_modules/langium/lib/utils/ast-utils.js +157 -0
- package/dist/node_modules/langium/lib/utils/caching.js +91 -0
- package/dist/node_modules/langium/lib/utils/cancellation.js +5 -0
- package/dist/node_modules/langium/lib/utils/collections.js +85 -0
- package/dist/node_modules/langium/lib/utils/cst-utils.js +190 -0
- package/dist/node_modules/langium/lib/utils/disposable.js +8 -0
- package/dist/node_modules/langium/lib/utils/errors.js +12 -0
- package/dist/node_modules/langium/lib/utils/event.js +5 -0
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +22 -0
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +296 -0
- package/dist/node_modules/langium/lib/utils/index.js +53 -0
- package/dist/node_modules/langium/lib/utils/promise-utils.js +30 -0
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +167 -0
- package/dist/node_modules/langium/lib/utils/stream.js +327 -0
- package/dist/node_modules/langium/lib/utils/uri-utils.js +107 -0
- package/dist/node_modules/langium/lib/validation/document-validator.js +210 -0
- package/dist/node_modules/langium/lib/validation/validation-registry.js +87 -0
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +57 -0
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +28 -0
- package/dist/node_modules/langium/lib/workspace/configuration.js +51 -0
- package/dist/node_modules/langium/lib/workspace/document-builder.js +201 -0
- package/dist/node_modules/langium/lib/workspace/documents.js +142 -0
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +34 -0
- package/dist/node_modules/langium/lib/workspace/index-manager.js +49 -0
- package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +42 -0
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +66 -0
- package/dist/node_modules/layout-base/layout-base.js +1407 -0
- package/dist/node_modules/lodash-es/_DataView.js +4 -0
- package/dist/node_modules/lodash-es/_Hash.js +15 -0
- package/dist/node_modules/lodash-es/_ListCache.js +15 -0
- package/dist/node_modules/lodash-es/_Map.js +4 -0
- package/dist/node_modules/lodash-es/_MapCache.js +15 -0
- package/dist/node_modules/lodash-es/_Promise.js +4 -0
- package/dist/node_modules/lodash-es/_Set.js +4 -0
- package/dist/node_modules/lodash-es/_SetCache.js +10 -0
- package/dist/node_modules/lodash-es/_Stack.js +12 -0
- package/dist/node_modules/lodash-es/_Symbol.js +3 -0
- package/dist/node_modules/lodash-es/_Uint8Array.js +3 -0
- package/dist/node_modules/lodash-es/_WeakMap.js +4 -0
- package/dist/node_modules/lodash-es/_apply.js +11 -0
- package/dist/node_modules/lodash-es/_arrayAggregator.js +9 -0
- package/dist/node_modules/lodash-es/_arrayEach.js +6 -0
- package/dist/node_modules/lodash-es/_arrayEvery.js +6 -0
- package/dist/node_modules/lodash-es/_arrayFilter.js +9 -0
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -0
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +6 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
- package/dist/node_modules/lodash-es/_arrayMap.js +6 -0
- package/dist/node_modules/lodash-es/_arrayPush.js +6 -0
- package/dist/node_modules/lodash-es/_arrayReduce.js +7 -0
- package/dist/node_modules/lodash-es/_arraySome.js +6 -0
- package/dist/node_modules/lodash-es/_asciiSize.js +3 -0
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -0
- package/dist/node_modules/lodash-es/_assignValue.js +9 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.js +7 -0
- package/dist/node_modules/lodash-es/_baseAggregator.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.js +11 -0
- package/dist/node_modules/lodash-es/_baseClone.js +56 -0
- package/dist/node_modules/lodash-es/_baseCreate.js +12 -0
- package/dist/node_modules/lodash-es/_baseDifference.js +22 -0
- package/dist/node_modules/lodash-es/_baseEach.js +4 -0
- package/dist/node_modules/lodash-es/_baseEvery.js +9 -0
- package/dist/node_modules/lodash-es/_baseExtremum.js +10 -0
- package/dist/node_modules/lodash-es/_baseFilter.js +9 -0
- package/dist/node_modules/lodash-es/_baseFindIndex.js +6 -0
- package/dist/node_modules/lodash-es/_baseFlatten.js +12 -0
- package/dist/node_modules/lodash-es/_baseFor.js +3 -0
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -0
- package/dist/node_modules/lodash-es/_baseGet.js +9 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -0
- package/dist/node_modules/lodash-es/_baseGt.js +5 -0
- package/dist/node_modules/lodash-es/_baseHas.js +6 -0
- package/dist/node_modules/lodash-es/_baseHasIn.js +5 -0
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -0
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +29 -0
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsMatch.js +25 -0
- package/dist/node_modules/lodash-es/_baseIsNaN.js +5 -0
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -0
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -0
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -0
- package/dist/node_modules/lodash-es/_baseKeys.js +11 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.js +12 -0
- package/dist/node_modules/lodash-es/_baseLt.js +5 -0
- package/dist/node_modules/lodash-es/_baseMap.js +10 -0
- package/dist/node_modules/lodash-es/_baseMatches.js +11 -0
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +16 -0
- package/dist/node_modules/lodash-es/_baseMerge.js +18 -0
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +30 -0
- package/dist/node_modules/lodash-es/_baseOrderBy.js +30 -0
- package/dist/node_modules/lodash-es/_basePick.js +9 -0
- package/dist/node_modules/lodash-es/_basePickBy.js +12 -0
- package/dist/node_modules/lodash-es/_baseProperty.js +7 -0
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +8 -0
- package/dist/node_modules/lodash-es/_baseRange.js +7 -0
- package/dist/node_modules/lodash-es/_baseReduce.js +7 -0
- package/dist/node_modules/lodash-es/_baseRest.js +8 -0
- package/dist/node_modules/lodash-es/_baseSet.js +21 -0
- package/dist/node_modules/lodash-es/_baseSetToString.js +12 -0
- package/dist/node_modules/lodash-es/_baseSlice.js +8 -0
- package/dist/node_modules/lodash-es/_baseSome.js +9 -0
- package/dist/node_modules/lodash-es/_baseSortBy.js +7 -0
- package/dist/node_modules/lodash-es/_baseTimes.js +6 -0
- package/dist/node_modules/lodash-es/_baseToString.js +14 -0
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -0
- package/dist/node_modules/lodash-es/_baseUnary.js +7 -0
- package/dist/node_modules/lodash-es/_baseUniq.js +26 -0
- package/dist/node_modules/lodash-es/_baseValues.js +8 -0
- package/dist/node_modules/lodash-es/_baseZipObject.js +9 -0
- package/dist/node_modules/lodash-es/_cacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_castFunction.js +6 -0
- package/dist/node_modules/lodash-es/_castPath.js +9 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +7 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -0
- package/dist/node_modules/lodash-es/_cloneDataView.js +7 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.js +7 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +7 -0
- package/dist/node_modules/lodash-es/_compareAscending.js +11 -0
- package/dist/node_modules/lodash-es/_compareMultiple.js +10 -0
- package/dist/node_modules/lodash-es/_copyArray.js +7 -0
- package/dist/node_modules/lodash-es/_copyObject.js +13 -0
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -0
- package/dist/node_modules/lodash-es/_coreJsData.js +3 -0
- package/dist/node_modules/lodash-es/_createAggregator.js +12 -0
- package/dist/node_modules/lodash-es/_createAssigner.js +14 -0
- package/dist/node_modules/lodash-es/_createBaseEach.js +11 -0
- package/dist/node_modules/lodash-es/_createBaseFor.js +11 -0
- package/dist/node_modules/lodash-es/_createFind.js +18 -0
- package/dist/node_modules/lodash-es/_createRange.js +10 -0
- package/dist/node_modules/lodash-es/_createSet.js +7 -0
- package/dist/node_modules/lodash-es/_defineProperty.js +8 -0
- package/dist/node_modules/lodash-es/_equalArrays.js +34 -0
- package/dist/node_modules/lodash-es/_equalByTag.js +34 -0
- package/dist/node_modules/lodash-es/_equalObjects.js +31 -0
- package/dist/node_modules/lodash-es/_flatRest.js +8 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js +2 -0
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -0
- package/dist/node_modules/lodash-es/_getMapData.js +7 -0
- package/dist/node_modules/lodash-es/_getMatchData.js +15 -0
- package/dist/node_modules/lodash-es/_getNative.js +8 -0
- package/dist/node_modules/lodash-es/_getPrototype.js +3 -0
- package/dist/node_modules/lodash-es/_getRawTag.js +13 -0
- package/dist/node_modules/lodash-es/_getSymbols.js +8 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +9 -0
- package/dist/node_modules/lodash-es/_getTag.js +21 -0
- package/dist/node_modules/lodash-es/_getValue.js +5 -0
- package/dist/node_modules/lodash-es/_hasPath.js +17 -0
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -0
- package/dist/node_modules/lodash-es/_hashClear.js +6 -0
- package/dist/node_modules/lodash-es/_hashDelete.js +6 -0
- package/dist/node_modules/lodash-es/_hashGet.js +12 -0
- package/dist/node_modules/lodash-es/_hashHas.js +8 -0
- package/dist/node_modules/lodash-es/_hashSet.js +8 -0
- package/dist/node_modules/lodash-es/_initCloneArray.js +7 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.js +32 -0
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -0
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -0
- package/dist/node_modules/lodash-es/_isIndex.js +7 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.js +11 -0
- package/dist/node_modules/lodash-es/_isKey.js +10 -0
- package/dist/node_modules/lodash-es/_isKeyable.js +6 -0
- package/dist/node_modules/lodash-es/_isMasked.js +10 -0
- package/dist/node_modules/lodash-es/_isPrototype.js +7 -0
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheClear.js +5 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheGet.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.js +12 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapToArray.js +8 -0
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +7 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.js +10 -0
- package/dist/node_modules/lodash-es/_nativeCreate.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeys.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +7 -0
- package/dist/node_modules/lodash-es/_nodeUtil.js +7 -0
- package/dist/node_modules/lodash-es/_objectToString.js +6 -0
- package/dist/node_modules/lodash-es/_overArg.js +7 -0
- package/dist/node_modules/lodash-es/_overRest.js +12 -0
- package/dist/node_modules/lodash-es/_root.js +3 -0
- package/dist/node_modules/lodash-es/_safeGet.js +5 -0
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -0
- package/dist/node_modules/lodash-es/_setCacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_setToArray.js +8 -0
- package/dist/node_modules/lodash-es/_setToString.js +4 -0
- package/dist/node_modules/lodash-es/_shortOut.js +13 -0
- package/dist/node_modules/lodash-es/_stackClear.js +6 -0
- package/dist/node_modules/lodash-es/_stackDelete.js +6 -0
- package/dist/node_modules/lodash-es/_stackGet.js +5 -0
- package/dist/node_modules/lodash-es/_stackHas.js +5 -0
- package/dist/node_modules/lodash-es/_stackSet.js +15 -0
- package/dist/node_modules/lodash-es/_strictIndexOf.js +6 -0
- package/dist/node_modules/lodash-es/_stringSize.js +8 -0
- package/dist/node_modules/lodash-es/_stringToPath.js +8 -0
- package/dist/node_modules/lodash-es/_toKey.js +9 -0
- package/dist/node_modules/lodash-es/_toSource.js +14 -0
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +7 -0
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -0
- package/dist/node_modules/lodash-es/assign.js +14 -0
- package/dist/node_modules/lodash-es/clone.js +7 -0
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -0
- package/dist/node_modules/lodash-es/compact.js +9 -0
- package/dist/node_modules/lodash-es/constant.js +7 -0
- package/dist/node_modules/lodash-es/defaults.js +14 -0
- package/dist/node_modules/lodash-es/difference.js +8 -0
- package/dist/node_modules/lodash-es/drop.js +8 -0
- package/dist/node_modules/lodash-es/dropRight.js +8 -0
- package/dist/node_modules/lodash-es/eq.js +5 -0
- package/dist/node_modules/lodash-es/every.js +11 -0
- package/dist/node_modules/lodash-es/filter.js +9 -0
- package/dist/node_modules/lodash-es/find.js +4 -0
- package/dist/node_modules/lodash-es/findIndex.js +12 -0
- package/dist/node_modules/lodash-es/flatMap.js +7 -0
- package/dist/node_modules/lodash-es/flatten.js +6 -0
- package/dist/node_modules/lodash-es/forEach.js +9 -0
- package/dist/node_modules/lodash-es/forIn.js +8 -0
- package/dist/node_modules/lodash-es/forOwn.js +7 -0
- package/dist/node_modules/lodash-es/get.js +7 -0
- package/dist/node_modules/lodash-es/groupBy.js +6 -0
- package/dist/node_modules/lodash-es/has.js +7 -0
- package/dist/node_modules/lodash-es/hasIn.js +7 -0
- package/dist/node_modules/lodash-es/head.js +5 -0
- package/dist/node_modules/lodash-es/identity.js +5 -0
- package/dist/node_modules/lodash-es/includes.js +13 -0
- package/dist/node_modules/lodash-es/indexOf.js +11 -0
- package/dist/node_modules/lodash-es/isArguments.js +8 -0
- package/dist/node_modules/lodash-es/isArray.js +2 -0
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -0
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -0
- package/dist/node_modules/lodash-es/isBuffer.js +4 -0
- package/dist/node_modules/lodash-es/isEmpty.js +20 -0
- package/dist/node_modules/lodash-es/isFunction.js +10 -0
- package/dist/node_modules/lodash-es/isLength.js +6 -0
- package/dist/node_modules/lodash-es/isMap.js +5 -0
- package/dist/node_modules/lodash-es/isObject.js +6 -0
- package/dist/node_modules/lodash-es/isObjectLike.js +5 -0
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -0
- package/dist/node_modules/lodash-es/isRegExp.js +5 -0
- package/dist/node_modules/lodash-es/isSet.js +5 -0
- package/dist/node_modules/lodash-es/isString.js +9 -0
- package/dist/node_modules/lodash-es/isSymbol.js +8 -0
- package/dist/node_modules/lodash-es/isTypedArray.js +5 -0
- package/dist/node_modules/lodash-es/isUndefined.js +5 -0
- package/dist/node_modules/lodash-es/keys.js +8 -0
- package/dist/node_modules/lodash-es/keysIn.js +8 -0
- package/dist/node_modules/lodash-es/last.js +6 -0
- package/dist/node_modules/lodash-es/map.js +9 -0
- package/dist/node_modules/lodash-es/mapValues.js +11 -0
- package/dist/node_modules/lodash-es/max.js +8 -0
- package/dist/node_modules/lodash-es/memoize.js +15 -0
- package/dist/node_modules/lodash-es/merge.js +6 -0
- package/dist/node_modules/lodash-es/min.js +8 -0
- package/dist/node_modules/lodash-es/minBy.js +8 -0
- package/dist/node_modules/lodash-es/negate.js +16 -0
- package/dist/node_modules/lodash-es/noop.js +3 -0
- package/dist/node_modules/lodash-es/now.js +5 -0
- package/dist/node_modules/lodash-es/pick.js +6 -0
- package/dist/node_modules/lodash-es/pickBy.js +15 -0
- package/dist/node_modules/lodash-es/property.js +9 -0
- package/dist/node_modules/lodash-es/range.js +3 -0
- package/dist/node_modules/lodash-es/reduce.js +11 -0
- package/dist/node_modules/lodash-es/reject.js +10 -0
- package/dist/node_modules/lodash-es/size.js +14 -0
- package/dist/node_modules/lodash-es/some.js +11 -0
- package/dist/node_modules/lodash-es/sortBy.js +10 -0
- package/dist/node_modules/lodash-es/stubArray.js +5 -0
- package/dist/node_modules/lodash-es/stubFalse.js +5 -0
- package/dist/node_modules/lodash-es/toFinite.js +7 -0
- package/dist/node_modules/lodash-es/toInteger.js +7 -0
- package/dist/node_modules/lodash-es/toNumber.js +18 -0
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -0
- package/dist/node_modules/lodash-es/toString.js +6 -0
- package/dist/node_modules/lodash-es/union.js +8 -0
- package/dist/node_modules/lodash-es/uniq.js +6 -0
- package/dist/node_modules/lodash-es/uniqBy.js +7 -0
- package/dist/node_modules/lodash-es/uniqueId.js +8 -0
- package/dist/node_modules/lodash-es/values.js +7 -0
- package/dist/node_modules/lodash-es/zipObject.js +7 -0
- package/dist/node_modules/longest-streak/index.js +7 -0
- package/dist/node_modules/markdown-table/index.js +57 -0
- package/dist/node_modules/marked/lib/marked.esm.js +1384 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +59 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +5 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +24 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +127 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +47 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +56 -0
- package/dist/node_modules/mdast-util-math/lib/index.js +142 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +8 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +26 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +16 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +5 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +36 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +10 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +22 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +673 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +3010 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +2955 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +8 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +1547 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +65 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +3110 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +10 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +1994 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +135 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +9 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +74 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +247 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +3516 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +1140 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +39 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +23 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +497 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +338 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +55 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +219 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +263 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +283 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +211 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +129 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +1599 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +4128 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +1688 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +621 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +18 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +883 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +931 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +117 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +1970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +2187 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +519 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +3560 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +220 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +833 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +1975 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +662 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +16 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +172 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +191 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +94 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +41 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +199 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +32 -0
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +72 -0
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +44 -0
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +9 -0
- package/dist/node_modules/micromark-factory-space/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +21 -0
- package/dist/node_modules/micromark-util-chunked/index.js +6 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +6 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +24 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +9 -0
- package/dist/node_modules/property-information/index.js +23 -0
- package/dist/node_modules/property-information/lib/aria.js +59 -0
- package/dist/node_modules/property-information/lib/find.js +29 -0
- package/dist/node_modules/property-information/lib/html.js +314 -0
- package/dist/node_modules/property-information/lib/normalize.js +4 -0
- package/dist/node_modules/property-information/lib/svg.js +560 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +5 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -0
- package/dist/node_modules/property-information/lib/util/create.js +12 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +16 -0
- package/dist/node_modules/property-information/lib/util/info.js +7 -0
- package/dist/node_modules/property-information/lib/util/merge.js +7 -0
- package/dist/node_modules/property-information/lib/util/schema.js +7 -0
- package/dist/node_modules/property-information/lib/util/types.js +15 -0
- package/dist/node_modules/property-information/lib/xlink.js +17 -0
- package/dist/node_modules/property-information/lib/xml.js +13 -0
- package/dist/node_modules/property-information/lib/xmlns.js +12 -0
- package/dist/node_modules/rehype-katex/lib/index.js +60 -0
- package/dist/node_modules/remark-gfm/lib/index.js +8 -0
- package/dist/node_modules/remark-math/lib/index.js +8 -0
- package/dist/node_modules/roughjs/bundled/rough.esm.js +1350 -0
- package/dist/node_modules/space-separated-tokens/index.js +5 -0
- package/dist/node_modules/stylis/src/Enum.js +2 -0
- package/dist/node_modules/stylis/src/Parser.js +93 -0
- package/dist/node_modules/stylis/src/Serializer.js +19 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +104 -0
- package/dist/node_modules/stylis/src/Utility.js +26 -0
- package/dist/node_modules/ts-dedent/esm/index.js +25 -0
- package/dist/node_modules/unist-util-find-after/lib/index.js +10 -0
- package/dist/node_modules/unist-util-is/lib/index.js +45 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +35 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +9 -0
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -0
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +17 -0
- package/dist/node_modules/vscode-jsonrpc/browser.js +7 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +52 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +120 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +337 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +57 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +647 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +13 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +64 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +34 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +235 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +93 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +129 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +85 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +161 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +18 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +44 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +58 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +28 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +36 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +12 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +33 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +35 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +674 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +126 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +24 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +42 -0
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +138 -0
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +1084 -0
- package/dist/node_modules/vscode-uri/lib/esm/index.js +373 -0
- package/dist/node_modules/web-namespaces/index.js +9 -0
- package/dist/pages/WorkspacePage.js +63 -0
- package/dist/pages/WorkspacesPage.js +36 -0
- package/package.json +32 -32
|
@@ -0,0 +1,1142 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
import { require_layout_base } from "../layout-base/layout-base.js";
|
|
3
|
+
var require_cose_base = /* @__PURE__ */ __commonJSMin(((e, n) => {
|
|
4
|
+
(function(r, i) {
|
|
5
|
+
typeof e == "object" && typeof n == "object" ? n.exports = i(require_layout_base()) : typeof define == "function" && define.amd ? define(["layout-base"], i) : typeof e == "object" ? e.coseBase = i(require_layout_base()) : r.coseBase = i(r.layoutBase);
|
|
6
|
+
})(e, function(e) {
|
|
7
|
+
return (() => {
|
|
8
|
+
var t = {
|
|
9
|
+
45: ((e, t, n) => {
|
|
10
|
+
var r = {};
|
|
11
|
+
r.layoutBase = n(551), r.CoSEConstants = n(806), r.CoSEEdge = n(767), r.CoSEGraph = n(880), r.CoSEGraphManager = n(578), r.CoSELayout = n(765), r.CoSENode = n(991), r.ConstraintHandler = n(902), e.exports = r;
|
|
12
|
+
}),
|
|
13
|
+
806: ((e, t, n) => {
|
|
14
|
+
var r = n(551).FDLayoutConstants;
|
|
15
|
+
function i() {}
|
|
16
|
+
for (var a in r) i[a] = r[a];
|
|
17
|
+
i.DEFAULT_USE_MULTI_LEVEL_SCALING = !1, i.DEFAULT_RADIAL_SEPARATION = r.DEFAULT_EDGE_LENGTH, i.DEFAULT_COMPONENT_SEPERATION = 60, i.TILE = !0, i.TILING_PADDING_VERTICAL = 10, i.TILING_PADDING_HORIZONTAL = 10, i.TRANSFORM_ON_CONSTRAINT_HANDLING = !0, i.ENFORCE_CONSTRAINTS = !0, i.APPLY_LAYOUT = !0, i.RELAX_MOVEMENT_ON_CONSTRAINTS = !0, i.TREE_REDUCTION_ON_INCREMENTAL = !0, i.PURE_INCREMENTAL = i.DEFAULT_INCREMENTAL, e.exports = i;
|
|
18
|
+
}),
|
|
19
|
+
767: ((e, t, n) => {
|
|
20
|
+
var r = n(551).FDLayoutEdge;
|
|
21
|
+
function i(e, t, n) {
|
|
22
|
+
r.call(this, e, t, n);
|
|
23
|
+
}
|
|
24
|
+
for (var a in i.prototype = Object.create(r.prototype), r) i[a] = r[a];
|
|
25
|
+
e.exports = i;
|
|
26
|
+
}),
|
|
27
|
+
880: ((e, t, n) => {
|
|
28
|
+
var r = n(551).LGraph;
|
|
29
|
+
function i(e, t, n) {
|
|
30
|
+
r.call(this, e, t, n);
|
|
31
|
+
}
|
|
32
|
+
for (var a in i.prototype = Object.create(r.prototype), r) i[a] = r[a];
|
|
33
|
+
e.exports = i;
|
|
34
|
+
}),
|
|
35
|
+
578: ((e, t, n) => {
|
|
36
|
+
var r = n(551).LGraphManager;
|
|
37
|
+
function i(e) {
|
|
38
|
+
r.call(this, e);
|
|
39
|
+
}
|
|
40
|
+
for (var a in i.prototype = Object.create(r.prototype), r) i[a] = r[a];
|
|
41
|
+
e.exports = i;
|
|
42
|
+
}),
|
|
43
|
+
765: ((e, t, n) => {
|
|
44
|
+
var r = n(551).FDLayout, i = n(578), a = n(880), o = n(991), s = n(767), c = n(806), l = n(902), u = n(551).FDLayoutConstants, d = n(551).LayoutConstants, f = n(551).Point, p = n(551).PointD, m = n(551).DimensionD, h = n(551).Layout, g = n(551).Integer, _ = n(551).IGeometry, v = n(551).LGraph, y = n(551).Transform, b = n(551).LinkedList;
|
|
45
|
+
function x() {
|
|
46
|
+
r.call(this), this.toBeTiled = {}, this.constraints = {};
|
|
47
|
+
}
|
|
48
|
+
for (var S in x.prototype = Object.create(r.prototype), r) x[S] = r[S];
|
|
49
|
+
x.prototype.newGraphManager = function() {
|
|
50
|
+
var e = new i(this);
|
|
51
|
+
return this.graphManager = e, e;
|
|
52
|
+
}, x.prototype.newGraph = function(e) {
|
|
53
|
+
return new a(null, this.graphManager, e);
|
|
54
|
+
}, x.prototype.newNode = function(e) {
|
|
55
|
+
return new o(this.graphManager, e);
|
|
56
|
+
}, x.prototype.newEdge = function(e) {
|
|
57
|
+
return new s(null, null, e);
|
|
58
|
+
}, x.prototype.initParameters = function() {
|
|
59
|
+
r.prototype.initParameters.call(this, arguments), this.isSubLayout || (c.DEFAULT_EDGE_LENGTH < 10 ? this.idealEdgeLength = 10 : this.idealEdgeLength = c.DEFAULT_EDGE_LENGTH, this.useSmartIdealEdgeLengthCalculation = c.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, this.gravityConstant = u.DEFAULT_GRAVITY_STRENGTH, this.compoundGravityConstant = u.DEFAULT_COMPOUND_GRAVITY_STRENGTH, this.gravityRangeFactor = u.DEFAULT_GRAVITY_RANGE_FACTOR, this.compoundGravityRangeFactor = u.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR, this.prunedNodesAll = [], this.growTreeIterations = 0, this.afterGrowthIterations = 0, this.isTreeGrowing = !1, this.isGrowthFinished = !1);
|
|
60
|
+
}, x.prototype.initSpringEmbedder = function() {
|
|
61
|
+
r.prototype.initSpringEmbedder.call(this), this.coolingCycle = 0, this.maxCoolingCycle = this.maxIterations / u.CONVERGENCE_CHECK_PERIOD, this.finalTemperature = .04, this.coolingAdjuster = 1;
|
|
62
|
+
}, x.prototype.layout = function() {
|
|
63
|
+
return d.DEFAULT_CREATE_BENDS_AS_NEEDED && (this.createBendpoints(), this.graphManager.resetAllEdges()), this.level = 0, this.classicLayout();
|
|
64
|
+
}, x.prototype.classicLayout = function() {
|
|
65
|
+
if (this.nodesWithGravity = this.calculateNodesToApplyGravitationTo(), this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity), this.calcNoOfChildrenForAllNodes(), this.graphManager.calcLowestCommonAncestors(), this.graphManager.calcInclusionTreeDepths(), this.graphManager.getRoot().calcEstimatedSize(), this.calcIdealEdgeLengths(), this.incremental) {
|
|
66
|
+
if (c.TREE_REDUCTION_ON_INCREMENTAL) {
|
|
67
|
+
this.reduceTrees(), this.graphManager.resetAllNodesToApplyGravitation();
|
|
68
|
+
var e = new Set(this.getAllNodes()), t = this.nodesWithGravity.filter(function(t) {
|
|
69
|
+
return e.has(t);
|
|
70
|
+
});
|
|
71
|
+
this.graphManager.setAllNodesToApplyGravitation(t);
|
|
72
|
+
}
|
|
73
|
+
} else {
|
|
74
|
+
var n = this.getFlatForest();
|
|
75
|
+
if (n.length > 0) this.positionNodesRadially(n);
|
|
76
|
+
else {
|
|
77
|
+
this.reduceTrees(), this.graphManager.resetAllNodesToApplyGravitation();
|
|
78
|
+
var e = new Set(this.getAllNodes()), t = this.nodesWithGravity.filter(function(t) {
|
|
79
|
+
return e.has(t);
|
|
80
|
+
});
|
|
81
|
+
this.graphManager.setAllNodesToApplyGravitation(t), this.positionNodesRandomly();
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return Object.keys(this.constraints).length > 0 && (l.handleConstraints(this), this.initConstraintVariables()), this.initSpringEmbedder(), c.APPLY_LAYOUT && this.runSpringEmbedder(), !0;
|
|
85
|
+
}, x.prototype.tick = function() {
|
|
86
|
+
if (this.totalIterations++, this.totalIterations === this.maxIterations && !this.isTreeGrowing && !this.isGrowthFinished) if (this.prunedNodesAll.length > 0) this.isTreeGrowing = !0;
|
|
87
|
+
else return !0;
|
|
88
|
+
if (this.totalIterations % u.CONVERGENCE_CHECK_PERIOD == 0 && !this.isTreeGrowing && !this.isGrowthFinished) {
|
|
89
|
+
if (this.isConverged()) if (this.prunedNodesAll.length > 0) this.isTreeGrowing = !0;
|
|
90
|
+
else return !0;
|
|
91
|
+
this.coolingCycle++, this.layoutQuality == 0 ? this.coolingAdjuster = this.coolingCycle : this.layoutQuality == 1 && (this.coolingAdjuster = this.coolingCycle / 3), this.coolingFactor = Math.max(this.initialCoolingFactor - this.coolingCycle ** +(Math.log(100 * (this.initialCoolingFactor - this.finalTemperature)) / Math.log(this.maxCoolingCycle)) / 100 * this.coolingAdjuster, this.finalTemperature), this.animationPeriod = Math.ceil(this.initialAnimationPeriod * Math.sqrt(this.coolingFactor));
|
|
92
|
+
}
|
|
93
|
+
if (this.isTreeGrowing) {
|
|
94
|
+
if (this.growTreeIterations % 10 == 0) if (this.prunedNodesAll.length > 0) {
|
|
95
|
+
this.graphManager.updateBounds(), this.updateGrid(), this.growTree(this.prunedNodesAll), this.graphManager.resetAllNodesToApplyGravitation();
|
|
96
|
+
var e = new Set(this.getAllNodes()), t = this.nodesWithGravity.filter(function(t) {
|
|
97
|
+
return e.has(t);
|
|
98
|
+
});
|
|
99
|
+
this.graphManager.setAllNodesToApplyGravitation(t), this.graphManager.updateBounds(), this.updateGrid(), c.PURE_INCREMENTAL ? this.coolingFactor = u.DEFAULT_COOLING_FACTOR_INCREMENTAL / 2 : this.coolingFactor = u.DEFAULT_COOLING_FACTOR_INCREMENTAL;
|
|
100
|
+
} else this.isTreeGrowing = !1, this.isGrowthFinished = !0;
|
|
101
|
+
this.growTreeIterations++;
|
|
102
|
+
}
|
|
103
|
+
if (this.isGrowthFinished) {
|
|
104
|
+
if (this.isConverged()) return !0;
|
|
105
|
+
this.afterGrowthIterations % 10 == 0 && (this.graphManager.updateBounds(), this.updateGrid()), c.PURE_INCREMENTAL ? this.coolingFactor = u.DEFAULT_COOLING_FACTOR_INCREMENTAL / 2 * ((100 - this.afterGrowthIterations) / 100) : this.coolingFactor = u.DEFAULT_COOLING_FACTOR_INCREMENTAL * ((100 - this.afterGrowthIterations) / 100), this.afterGrowthIterations++;
|
|
106
|
+
}
|
|
107
|
+
var n = !this.isTreeGrowing && !this.isGrowthFinished, r = this.growTreeIterations % 10 == 1 && this.isTreeGrowing || this.afterGrowthIterations % 10 == 1 && this.isGrowthFinished;
|
|
108
|
+
return this.totalDisplacement = 0, this.graphManager.updateBounds(), this.calcSpringForces(), this.calcRepulsionForces(n, r), this.calcGravitationalForces(), this.moveNodes(), this.animate(), !1;
|
|
109
|
+
}, x.prototype.getPositionsData = function() {
|
|
110
|
+
for (var e = this.graphManager.getAllNodes(), t = {}, n = 0; n < e.length; n++) {
|
|
111
|
+
var r = e[n].rect, i = e[n].id;
|
|
112
|
+
t[i] = {
|
|
113
|
+
id: i,
|
|
114
|
+
x: r.getCenterX(),
|
|
115
|
+
y: r.getCenterY(),
|
|
116
|
+
w: r.width,
|
|
117
|
+
h: r.height
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
return t;
|
|
121
|
+
}, x.prototype.runSpringEmbedder = function() {
|
|
122
|
+
this.initialAnimationPeriod = 25, this.animationPeriod = this.initialAnimationPeriod;
|
|
123
|
+
var e = !1;
|
|
124
|
+
if (u.ANIMATE === "during") this.emit("layoutstarted");
|
|
125
|
+
else {
|
|
126
|
+
for (; !e;) e = this.tick();
|
|
127
|
+
this.graphManager.updateBounds();
|
|
128
|
+
}
|
|
129
|
+
}, x.prototype.moveNodes = function() {
|
|
130
|
+
for (var e = this.getAllNodes(), t, n = 0; n < e.length; n++) t = e[n], t.calculateDisplacement();
|
|
131
|
+
Object.keys(this.constraints).length > 0 && this.updateDisplacements();
|
|
132
|
+
for (var n = 0; n < e.length; n++) t = e[n], t.move();
|
|
133
|
+
}, x.prototype.initConstraintVariables = function() {
|
|
134
|
+
var e = this;
|
|
135
|
+
this.idToNodeMap = /* @__PURE__ */ new Map(), this.fixedNodeSet = /* @__PURE__ */ new Set();
|
|
136
|
+
for (var t = this.graphManager.getAllNodes(), n = 0; n < t.length; n++) {
|
|
137
|
+
var r = t[n];
|
|
138
|
+
this.idToNodeMap.set(r.id, r);
|
|
139
|
+
}
|
|
140
|
+
var i = function t(n) {
|
|
141
|
+
for (var r = n.getChild().getNodes(), i, a = 0, o = 0; o < r.length; o++) i = r[o], i.getChild() == null ? e.fixedNodeSet.has(i.id) && (a += 100) : a += t(i);
|
|
142
|
+
return a;
|
|
143
|
+
};
|
|
144
|
+
if (this.constraints.fixedNodeConstraint) {
|
|
145
|
+
this.constraints.fixedNodeConstraint.forEach(function(t) {
|
|
146
|
+
e.fixedNodeSet.add(t.nodeId);
|
|
147
|
+
});
|
|
148
|
+
for (var t = this.graphManager.getAllNodes(), r, n = 0; n < t.length; n++) if (r = t[n], r.getChild() != null) {
|
|
149
|
+
var a = i(r);
|
|
150
|
+
a > 0 && (r.fixedNodeWeight = a);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
if (this.constraints.relativePlacementConstraint) {
|
|
154
|
+
var o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
|
|
155
|
+
if (this.dummyToNodeForVerticalAlignment = /* @__PURE__ */ new Map(), this.dummyToNodeForHorizontalAlignment = /* @__PURE__ */ new Map(), this.fixedNodesOnHorizontal = /* @__PURE__ */ new Set(), this.fixedNodesOnVertical = /* @__PURE__ */ new Set(), this.fixedNodeSet.forEach(function(t) {
|
|
156
|
+
e.fixedNodesOnHorizontal.add(t), e.fixedNodesOnVertical.add(t);
|
|
157
|
+
}), this.constraints.alignmentConstraint) {
|
|
158
|
+
if (this.constraints.alignmentConstraint.vertical) for (var l = this.constraints.alignmentConstraint.vertical, n = 0; n < l.length; n++) this.dummyToNodeForVerticalAlignment.set("dummy" + n, []), l[n].forEach(function(t) {
|
|
159
|
+
o.set(t, "dummy" + n), e.dummyToNodeForVerticalAlignment.get("dummy" + n).push(t), e.fixedNodeSet.has(t) && e.fixedNodesOnHorizontal.add("dummy" + n);
|
|
160
|
+
});
|
|
161
|
+
if (this.constraints.alignmentConstraint.horizontal) for (var u = this.constraints.alignmentConstraint.horizontal, n = 0; n < u.length; n++) this.dummyToNodeForHorizontalAlignment.set("dummy" + n, []), u[n].forEach(function(t) {
|
|
162
|
+
s.set(t, "dummy" + n), e.dummyToNodeForHorizontalAlignment.get("dummy" + n).push(t), e.fixedNodeSet.has(t) && e.fixedNodesOnVertical.add("dummy" + n);
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
if (c.RELAX_MOVEMENT_ON_CONSTRAINTS) this.shuffle = function(e) {
|
|
166
|
+
var t, n, r;
|
|
167
|
+
for (r = e.length - 1; r >= 2 * e.length / 3; r--) t = Math.floor(Math.random() * (r + 1)), n = e[r], e[r] = e[t], e[t] = n;
|
|
168
|
+
return e;
|
|
169
|
+
}, this.nodesInRelativeHorizontal = [], this.nodesInRelativeVertical = [], this.nodeToRelativeConstraintMapHorizontal = /* @__PURE__ */ new Map(), this.nodeToRelativeConstraintMapVertical = /* @__PURE__ */ new Map(), this.nodeToTempPositionMapHorizontal = /* @__PURE__ */ new Map(), this.nodeToTempPositionMapVertical = /* @__PURE__ */ new Map(), this.constraints.relativePlacementConstraint.forEach(function(t) {
|
|
170
|
+
if (t.left) {
|
|
171
|
+
var n = o.has(t.left) ? o.get(t.left) : t.left, r = o.has(t.right) ? o.get(t.right) : t.right;
|
|
172
|
+
e.nodesInRelativeHorizontal.includes(n) || (e.nodesInRelativeHorizontal.push(n), e.nodeToRelativeConstraintMapHorizontal.set(n, []), e.dummyToNodeForVerticalAlignment.has(n) ? e.nodeToTempPositionMapHorizontal.set(n, e.idToNodeMap.get(e.dummyToNodeForVerticalAlignment.get(n)[0]).getCenterX()) : e.nodeToTempPositionMapHorizontal.set(n, e.idToNodeMap.get(n).getCenterX())), e.nodesInRelativeHorizontal.includes(r) || (e.nodesInRelativeHorizontal.push(r), e.nodeToRelativeConstraintMapHorizontal.set(r, []), e.dummyToNodeForVerticalAlignment.has(r) ? e.nodeToTempPositionMapHorizontal.set(r, e.idToNodeMap.get(e.dummyToNodeForVerticalAlignment.get(r)[0]).getCenterX()) : e.nodeToTempPositionMapHorizontal.set(r, e.idToNodeMap.get(r).getCenterX())), e.nodeToRelativeConstraintMapHorizontal.get(n).push({
|
|
173
|
+
right: r,
|
|
174
|
+
gap: t.gap
|
|
175
|
+
}), e.nodeToRelativeConstraintMapHorizontal.get(r).push({
|
|
176
|
+
left: n,
|
|
177
|
+
gap: t.gap
|
|
178
|
+
});
|
|
179
|
+
} else {
|
|
180
|
+
var i = s.has(t.top) ? s.get(t.top) : t.top, a = s.has(t.bottom) ? s.get(t.bottom) : t.bottom;
|
|
181
|
+
e.nodesInRelativeVertical.includes(i) || (e.nodesInRelativeVertical.push(i), e.nodeToRelativeConstraintMapVertical.set(i, []), e.dummyToNodeForHorizontalAlignment.has(i) ? e.nodeToTempPositionMapVertical.set(i, e.idToNodeMap.get(e.dummyToNodeForHorizontalAlignment.get(i)[0]).getCenterY()) : e.nodeToTempPositionMapVertical.set(i, e.idToNodeMap.get(i).getCenterY())), e.nodesInRelativeVertical.includes(a) || (e.nodesInRelativeVertical.push(a), e.nodeToRelativeConstraintMapVertical.set(a, []), e.dummyToNodeForHorizontalAlignment.has(a) ? e.nodeToTempPositionMapVertical.set(a, e.idToNodeMap.get(e.dummyToNodeForHorizontalAlignment.get(a)[0]).getCenterY()) : e.nodeToTempPositionMapVertical.set(a, e.idToNodeMap.get(a).getCenterY())), e.nodeToRelativeConstraintMapVertical.get(i).push({
|
|
182
|
+
bottom: a,
|
|
183
|
+
gap: t.gap
|
|
184
|
+
}), e.nodeToRelativeConstraintMapVertical.get(a).push({
|
|
185
|
+
top: i,
|
|
186
|
+
gap: t.gap
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
else {
|
|
191
|
+
var d = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map();
|
|
192
|
+
this.constraints.relativePlacementConstraint.forEach(function(e) {
|
|
193
|
+
if (e.left) {
|
|
194
|
+
var t = o.has(e.left) ? o.get(e.left) : e.left, n = o.has(e.right) ? o.get(e.right) : e.right;
|
|
195
|
+
d.has(t) ? d.get(t).push(n) : d.set(t, [n]), d.has(n) ? d.get(n).push(t) : d.set(n, [t]);
|
|
196
|
+
} else {
|
|
197
|
+
var r = s.has(e.top) ? s.get(e.top) : e.top, i = s.has(e.bottom) ? s.get(e.bottom) : e.bottom;
|
|
198
|
+
f.has(r) ? f.get(r).push(i) : f.set(r, [i]), f.has(i) ? f.get(i).push(r) : f.set(i, [r]);
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
var p = function(e, t) {
|
|
202
|
+
var n = [], r = [], i = new b(), a = /* @__PURE__ */ new Set(), o = 0;
|
|
203
|
+
return e.forEach(function(s, c) {
|
|
204
|
+
if (!a.has(c)) {
|
|
205
|
+
n[o] = [], r[o] = !1;
|
|
206
|
+
var l = c;
|
|
207
|
+
for (i.push(l), a.add(l), n[o].push(l); i.length != 0;) l = i.shift(), t.has(l) && (r[o] = !0), e.get(l).forEach(function(e) {
|
|
208
|
+
a.has(e) || (i.push(e), a.add(e), n[o].push(e));
|
|
209
|
+
});
|
|
210
|
+
o++;
|
|
211
|
+
}
|
|
212
|
+
}), {
|
|
213
|
+
components: n,
|
|
214
|
+
isFixed: r
|
|
215
|
+
};
|
|
216
|
+
}, m = p(d, e.fixedNodesOnHorizontal);
|
|
217
|
+
this.componentsOnHorizontal = m.components, this.fixedComponentsOnHorizontal = m.isFixed;
|
|
218
|
+
var h = p(f, e.fixedNodesOnVertical);
|
|
219
|
+
this.componentsOnVertical = h.components, this.fixedComponentsOnVertical = h.isFixed;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}, x.prototype.updateDisplacements = function() {
|
|
223
|
+
var e = this;
|
|
224
|
+
if (this.constraints.fixedNodeConstraint && this.constraints.fixedNodeConstraint.forEach(function(t) {
|
|
225
|
+
var n = e.idToNodeMap.get(t.nodeId);
|
|
226
|
+
n.displacementX = 0, n.displacementY = 0;
|
|
227
|
+
}), this.constraints.alignmentConstraint) {
|
|
228
|
+
if (this.constraints.alignmentConstraint.vertical) for (var t = this.constraints.alignmentConstraint.vertical, n = 0; n < t.length; n++) {
|
|
229
|
+
for (var r = 0, i = 0; i < t[n].length; i++) {
|
|
230
|
+
if (this.fixedNodeSet.has(t[n][i])) {
|
|
231
|
+
r = 0;
|
|
232
|
+
break;
|
|
233
|
+
}
|
|
234
|
+
r += this.idToNodeMap.get(t[n][i]).displacementX;
|
|
235
|
+
}
|
|
236
|
+
for (var a = r / t[n].length, i = 0; i < t[n].length; i++) this.idToNodeMap.get(t[n][i]).displacementX = a;
|
|
237
|
+
}
|
|
238
|
+
if (this.constraints.alignmentConstraint.horizontal) for (var o = this.constraints.alignmentConstraint.horizontal, n = 0; n < o.length; n++) {
|
|
239
|
+
for (var s = 0, i = 0; i < o[n].length; i++) {
|
|
240
|
+
if (this.fixedNodeSet.has(o[n][i])) {
|
|
241
|
+
s = 0;
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
s += this.idToNodeMap.get(o[n][i]).displacementY;
|
|
245
|
+
}
|
|
246
|
+
for (var l = s / o[n].length, i = 0; i < o[n].length; i++) this.idToNodeMap.get(o[n][i]).displacementY = l;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
if (this.constraints.relativePlacementConstraint) if (c.RELAX_MOVEMENT_ON_CONSTRAINTS) this.totalIterations % 10 == 0 && (this.shuffle(this.nodesInRelativeHorizontal), this.shuffle(this.nodesInRelativeVertical)), this.nodesInRelativeHorizontal.forEach(function(t) {
|
|
250
|
+
if (!e.fixedNodesOnHorizontal.has(t)) {
|
|
251
|
+
var n = 0;
|
|
252
|
+
n = e.dummyToNodeForVerticalAlignment.has(t) ? e.idToNodeMap.get(e.dummyToNodeForVerticalAlignment.get(t)[0]).displacementX : e.idToNodeMap.get(t).displacementX, e.nodeToRelativeConstraintMapHorizontal.get(t).forEach(function(r) {
|
|
253
|
+
if (r.right) {
|
|
254
|
+
var i = e.nodeToTempPositionMapHorizontal.get(r.right) - e.nodeToTempPositionMapHorizontal.get(t) - n;
|
|
255
|
+
i < r.gap && (n -= r.gap - i);
|
|
256
|
+
} else {
|
|
257
|
+
var i = e.nodeToTempPositionMapHorizontal.get(t) - e.nodeToTempPositionMapHorizontal.get(r.left) + n;
|
|
258
|
+
i < r.gap && (n += r.gap - i);
|
|
259
|
+
}
|
|
260
|
+
}), e.nodeToTempPositionMapHorizontal.set(t, e.nodeToTempPositionMapHorizontal.get(t) + n), e.dummyToNodeForVerticalAlignment.has(t) ? e.dummyToNodeForVerticalAlignment.get(t).forEach(function(t) {
|
|
261
|
+
e.idToNodeMap.get(t).displacementX = n;
|
|
262
|
+
}) : e.idToNodeMap.get(t).displacementX = n;
|
|
263
|
+
}
|
|
264
|
+
}), this.nodesInRelativeVertical.forEach(function(t) {
|
|
265
|
+
if (!e.fixedNodesOnHorizontal.has(t)) {
|
|
266
|
+
var n = 0;
|
|
267
|
+
n = e.dummyToNodeForHorizontalAlignment.has(t) ? e.idToNodeMap.get(e.dummyToNodeForHorizontalAlignment.get(t)[0]).displacementY : e.idToNodeMap.get(t).displacementY, e.nodeToRelativeConstraintMapVertical.get(t).forEach(function(r) {
|
|
268
|
+
if (r.bottom) {
|
|
269
|
+
var i = e.nodeToTempPositionMapVertical.get(r.bottom) - e.nodeToTempPositionMapVertical.get(t) - n;
|
|
270
|
+
i < r.gap && (n -= r.gap - i);
|
|
271
|
+
} else {
|
|
272
|
+
var i = e.nodeToTempPositionMapVertical.get(t) - e.nodeToTempPositionMapVertical.get(r.top) + n;
|
|
273
|
+
i < r.gap && (n += r.gap - i);
|
|
274
|
+
}
|
|
275
|
+
}), e.nodeToTempPositionMapVertical.set(t, e.nodeToTempPositionMapVertical.get(t) + n), e.dummyToNodeForHorizontalAlignment.has(t) ? e.dummyToNodeForHorizontalAlignment.get(t).forEach(function(t) {
|
|
276
|
+
e.idToNodeMap.get(t).displacementY = n;
|
|
277
|
+
}) : e.idToNodeMap.get(t).displacementY = n;
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
else {
|
|
281
|
+
for (var n = 0; n < this.componentsOnHorizontal.length; n++) {
|
|
282
|
+
var u = this.componentsOnHorizontal[n];
|
|
283
|
+
if (this.fixedComponentsOnHorizontal[n]) for (var i = 0; i < u.length; i++) this.dummyToNodeForVerticalAlignment.has(u[i]) ? this.dummyToNodeForVerticalAlignment.get(u[i]).forEach(function(t) {
|
|
284
|
+
e.idToNodeMap.get(t).displacementX = 0;
|
|
285
|
+
}) : this.idToNodeMap.get(u[i]).displacementX = 0;
|
|
286
|
+
else {
|
|
287
|
+
for (var d = 0, f = 0, i = 0; i < u.length; i++) if (this.dummyToNodeForVerticalAlignment.has(u[i])) {
|
|
288
|
+
var p = this.dummyToNodeForVerticalAlignment.get(u[i]);
|
|
289
|
+
d += p.length * this.idToNodeMap.get(p[0]).displacementX, f += p.length;
|
|
290
|
+
} else d += this.idToNodeMap.get(u[i]).displacementX, f++;
|
|
291
|
+
for (var m = d / f, i = 0; i < u.length; i++) this.dummyToNodeForVerticalAlignment.has(u[i]) ? this.dummyToNodeForVerticalAlignment.get(u[i]).forEach(function(t) {
|
|
292
|
+
e.idToNodeMap.get(t).displacementX = m;
|
|
293
|
+
}) : this.idToNodeMap.get(u[i]).displacementX = m;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
for (var n = 0; n < this.componentsOnVertical.length; n++) {
|
|
297
|
+
var u = this.componentsOnVertical[n];
|
|
298
|
+
if (this.fixedComponentsOnVertical[n]) for (var i = 0; i < u.length; i++) this.dummyToNodeForHorizontalAlignment.has(u[i]) ? this.dummyToNodeForHorizontalAlignment.get(u[i]).forEach(function(t) {
|
|
299
|
+
e.idToNodeMap.get(t).displacementY = 0;
|
|
300
|
+
}) : this.idToNodeMap.get(u[i]).displacementY = 0;
|
|
301
|
+
else {
|
|
302
|
+
for (var d = 0, f = 0, i = 0; i < u.length; i++) if (this.dummyToNodeForHorizontalAlignment.has(u[i])) {
|
|
303
|
+
var p = this.dummyToNodeForHorizontalAlignment.get(u[i]);
|
|
304
|
+
d += p.length * this.idToNodeMap.get(p[0]).displacementY, f += p.length;
|
|
305
|
+
} else d += this.idToNodeMap.get(u[i]).displacementY, f++;
|
|
306
|
+
for (var m = d / f, i = 0; i < u.length; i++) this.dummyToNodeForHorizontalAlignment.has(u[i]) ? this.dummyToNodeForHorizontalAlignment.get(u[i]).forEach(function(t) {
|
|
307
|
+
e.idToNodeMap.get(t).displacementY = m;
|
|
308
|
+
}) : this.idToNodeMap.get(u[i]).displacementY = m;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}, x.prototype.calculateNodesToApplyGravitationTo = function() {
|
|
313
|
+
var e = [], t, n = this.graphManager.getGraphs(), r = n.length, i;
|
|
314
|
+
for (i = 0; i < r; i++) t = n[i], t.updateConnected(), t.isConnected || (e = e.concat(t.getNodes()));
|
|
315
|
+
return e;
|
|
316
|
+
}, x.prototype.createBendpoints = function() {
|
|
317
|
+
var e = [];
|
|
318
|
+
e = e.concat(this.graphManager.getAllEdges());
|
|
319
|
+
var t = /* @__PURE__ */ new Set(), n;
|
|
320
|
+
for (n = 0; n < e.length; n++) {
|
|
321
|
+
var r = e[n];
|
|
322
|
+
if (!t.has(r)) {
|
|
323
|
+
var i = r.getSource(), a = r.getTarget();
|
|
324
|
+
if (i == a) r.getBendpoints().push(new p()), r.getBendpoints().push(new p()), this.createDummyNodesForBendpoints(r), t.add(r);
|
|
325
|
+
else {
|
|
326
|
+
var o = [];
|
|
327
|
+
if (o = o.concat(i.getEdgeListToNode(a)), o = o.concat(a.getEdgeListToNode(i)), !t.has(o[0])) {
|
|
328
|
+
if (o.length > 1) {
|
|
329
|
+
var s;
|
|
330
|
+
for (s = 0; s < o.length; s++) {
|
|
331
|
+
var c = o[s];
|
|
332
|
+
c.getBendpoints().push(new p()), this.createDummyNodesForBendpoints(c);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
o.forEach(function(e) {
|
|
336
|
+
t.add(e);
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
if (t.size == e.length) break;
|
|
342
|
+
}
|
|
343
|
+
}, x.prototype.positionNodesRadially = function(e) {
|
|
344
|
+
for (var t = new f(0, 0), n = Math.ceil(Math.sqrt(e.length)), r = 0, i = 0, a = 0, o = new p(0, 0), s = 0; s < e.length; s++) {
|
|
345
|
+
s % n == 0 && (a = 0, i = r, s != 0 && (i += c.DEFAULT_COMPONENT_SEPERATION), r = 0);
|
|
346
|
+
var l = e[s], u = h.findCenterOfTree(l);
|
|
347
|
+
t.x = a, t.y = i, o = x.radialLayout(l, u, t), o.y > r && (r = Math.floor(o.y)), a = Math.floor(o.x + c.DEFAULT_COMPONENT_SEPERATION);
|
|
348
|
+
}
|
|
349
|
+
this.transform(new p(d.WORLD_CENTER_X - o.x / 2, d.WORLD_CENTER_Y - o.y / 2));
|
|
350
|
+
}, x.radialLayout = function(e, t, n) {
|
|
351
|
+
var r = Math.max(this.maxDiagonalInTree(e), c.DEFAULT_RADIAL_SEPARATION);
|
|
352
|
+
x.branchRadialLayout(t, null, 0, 359, 0, r);
|
|
353
|
+
var i = v.calculateBounds(e), a = new y();
|
|
354
|
+
a.setDeviceOrgX(i.getMinX()), a.setDeviceOrgY(i.getMinY()), a.setWorldOrgX(n.x), a.setWorldOrgY(n.y);
|
|
355
|
+
for (var o = 0; o < e.length; o++) e[o].transform(a);
|
|
356
|
+
var s = new p(i.getMaxX(), i.getMaxY());
|
|
357
|
+
return a.inverseTransformPoint(s);
|
|
358
|
+
}, x.branchRadialLayout = function(e, t, n, r, i, a) {
|
|
359
|
+
var o = (r - n + 1) / 2;
|
|
360
|
+
o < 0 && (o += 180);
|
|
361
|
+
var s = (o + n) % 360 * _.TWO_PI / 360, c = i * Math.cos(s), l = i * Math.sin(s);
|
|
362
|
+
e.setCenter(c, l);
|
|
363
|
+
var u = [];
|
|
364
|
+
u = u.concat(e.getEdges());
|
|
365
|
+
var d = u.length;
|
|
366
|
+
t != null && d--;
|
|
367
|
+
for (var f = 0, p = u.length, m, h = e.getEdgesBetween(t); h.length > 1;) {
|
|
368
|
+
var g = h[0];
|
|
369
|
+
h.splice(0, 1);
|
|
370
|
+
var v = u.indexOf(g);
|
|
371
|
+
v >= 0 && u.splice(v, 1), p--, d--;
|
|
372
|
+
}
|
|
373
|
+
m = t == null ? 0 : (u.indexOf(h[0]) + 1) % p;
|
|
374
|
+
for (var y = Math.abs(r - n) / d, b = m; f != d; b = ++b % p) {
|
|
375
|
+
var S = u[b].getOtherEnd(e);
|
|
376
|
+
if (S != t) {
|
|
377
|
+
var C = (n + f * y) % 360, w = (C + y) % 360;
|
|
378
|
+
x.branchRadialLayout(S, e, C, w, i + a, a), f++;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}, x.maxDiagonalInTree = function(e) {
|
|
382
|
+
for (var t = g.MIN_VALUE, n = 0; n < e.length; n++) {
|
|
383
|
+
var r = e[n].getDiagonal();
|
|
384
|
+
r > t && (t = r);
|
|
385
|
+
}
|
|
386
|
+
return t;
|
|
387
|
+
}, x.prototype.calcRepulsionRange = function() {
|
|
388
|
+
return 2 * (this.level + 1) * this.idealEdgeLength;
|
|
389
|
+
}, x.prototype.groupZeroDegreeMembers = function() {
|
|
390
|
+
var e = this, t = {};
|
|
391
|
+
this.memberGroups = {}, this.idToDummyNode = {};
|
|
392
|
+
for (var n = [], r = this.graphManager.getAllNodes(), i = 0; i < r.length; i++) {
|
|
393
|
+
var a = r[i], s = a.getParent();
|
|
394
|
+
this.getNodeDegreeWithChildren(a) === 0 && (s.id == null || !this.getToBeTiled(s)) && n.push(a);
|
|
395
|
+
}
|
|
396
|
+
for (var i = 0; i < n.length; i++) {
|
|
397
|
+
var a = n[i], c = a.getParent().id;
|
|
398
|
+
t[c] === void 0 && (t[c] = []), t[c] = t[c].concat(a);
|
|
399
|
+
}
|
|
400
|
+
Object.keys(t).forEach(function(n) {
|
|
401
|
+
if (t[n].length > 1) {
|
|
402
|
+
var r = "DummyCompound_" + n;
|
|
403
|
+
e.memberGroups[r] = t[n];
|
|
404
|
+
var i = t[n][0].getParent(), a = new o(e.graphManager);
|
|
405
|
+
a.id = r, a.paddingLeft = i.paddingLeft || 0, a.paddingRight = i.paddingRight || 0, a.paddingBottom = i.paddingBottom || 0, a.paddingTop = i.paddingTop || 0, e.idToDummyNode[r] = a;
|
|
406
|
+
var s = e.getGraphManager().add(e.newGraph(), a), c = i.getChild();
|
|
407
|
+
c.add(a);
|
|
408
|
+
for (var l = 0; l < t[n].length; l++) {
|
|
409
|
+
var u = t[n][l];
|
|
410
|
+
c.remove(u), s.add(u);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
}, x.prototype.clearCompounds = function() {
|
|
415
|
+
var e = {}, t = {};
|
|
416
|
+
this.performDFSOnCompounds();
|
|
417
|
+
for (var n = 0; n < this.compoundOrder.length; n++) t[this.compoundOrder[n].id] = this.compoundOrder[n], e[this.compoundOrder[n].id] = [].concat(this.compoundOrder[n].getChild().getNodes()), this.graphManager.remove(this.compoundOrder[n].getChild()), this.compoundOrder[n].child = null;
|
|
418
|
+
this.graphManager.resetAllNodes(), this.tileCompoundMembers(e, t);
|
|
419
|
+
}, x.prototype.clearZeroDegreeMembers = function() {
|
|
420
|
+
var e = this, t = this.tiledZeroDegreePack = [];
|
|
421
|
+
Object.keys(this.memberGroups).forEach(function(n) {
|
|
422
|
+
var r = e.idToDummyNode[n];
|
|
423
|
+
if (t[n] = e.tileNodes(e.memberGroups[n], r.paddingLeft + r.paddingRight), r.rect.width = t[n].width, r.rect.height = t[n].height, r.setCenter(t[n].centerX, t[n].centerY), r.labelMarginLeft = 0, r.labelMarginTop = 0, c.NODE_DIMENSIONS_INCLUDE_LABELS) {
|
|
424
|
+
var i = r.rect.width, a = r.rect.height;
|
|
425
|
+
r.labelWidth && (r.labelPosHorizontal == "left" ? (r.rect.x -= r.labelWidth, r.setWidth(i + r.labelWidth), r.labelMarginLeft = r.labelWidth) : r.labelPosHorizontal == "center" && r.labelWidth > i ? (r.rect.x -= (r.labelWidth - i) / 2, r.setWidth(r.labelWidth), r.labelMarginLeft = (r.labelWidth - i) / 2) : r.labelPosHorizontal == "right" && r.setWidth(i + r.labelWidth)), r.labelHeight && (r.labelPosVertical == "top" ? (r.rect.y -= r.labelHeight, r.setHeight(a + r.labelHeight), r.labelMarginTop = r.labelHeight) : r.labelPosVertical == "center" && r.labelHeight > a ? (r.rect.y -= (r.labelHeight - a) / 2, r.setHeight(r.labelHeight), r.labelMarginTop = (r.labelHeight - a) / 2) : r.labelPosVertical == "bottom" && r.setHeight(a + r.labelHeight));
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
}, x.prototype.repopulateCompounds = function() {
|
|
429
|
+
for (var e = this.compoundOrder.length - 1; e >= 0; e--) {
|
|
430
|
+
var t = this.compoundOrder[e], n = t.id, r = t.paddingLeft, i = t.paddingTop, a = t.labelMarginLeft, o = t.labelMarginTop;
|
|
431
|
+
this.adjustLocations(this.tiledMemberPack[n], t.rect.x, t.rect.y, r, i, a, o);
|
|
432
|
+
}
|
|
433
|
+
}, x.prototype.repopulateZeroDegreeMembers = function() {
|
|
434
|
+
var e = this, t = this.tiledZeroDegreePack;
|
|
435
|
+
Object.keys(t).forEach(function(n) {
|
|
436
|
+
var r = e.idToDummyNode[n], i = r.paddingLeft, a = r.paddingTop, o = r.labelMarginLeft, s = r.labelMarginTop;
|
|
437
|
+
e.adjustLocations(t[n], r.rect.x, r.rect.y, i, a, o, s);
|
|
438
|
+
});
|
|
439
|
+
}, x.prototype.getToBeTiled = function(e) {
|
|
440
|
+
var t = e.id;
|
|
441
|
+
if (this.toBeTiled[t] != null) return this.toBeTiled[t];
|
|
442
|
+
var n = e.getChild();
|
|
443
|
+
if (n == null) return this.toBeTiled[t] = !1, !1;
|
|
444
|
+
for (var r = n.getNodes(), i = 0; i < r.length; i++) {
|
|
445
|
+
var a = r[i];
|
|
446
|
+
if (this.getNodeDegree(a) > 0) return this.toBeTiled[t] = !1, !1;
|
|
447
|
+
if (a.getChild() == null) {
|
|
448
|
+
this.toBeTiled[a.id] = !1;
|
|
449
|
+
continue;
|
|
450
|
+
}
|
|
451
|
+
if (!this.getToBeTiled(a)) return this.toBeTiled[t] = !1, !1;
|
|
452
|
+
}
|
|
453
|
+
return this.toBeTiled[t] = !0, !0;
|
|
454
|
+
}, x.prototype.getNodeDegree = function(e) {
|
|
455
|
+
e.id;
|
|
456
|
+
for (var t = e.getEdges(), n = 0, r = 0; r < t.length; r++) {
|
|
457
|
+
var i = t[r];
|
|
458
|
+
i.getSource().id !== i.getTarget().id && (n += 1);
|
|
459
|
+
}
|
|
460
|
+
return n;
|
|
461
|
+
}, x.prototype.getNodeDegreeWithChildren = function(e) {
|
|
462
|
+
var t = this.getNodeDegree(e);
|
|
463
|
+
if (e.getChild() == null) return t;
|
|
464
|
+
for (var n = e.getChild().getNodes(), r = 0; r < n.length; r++) {
|
|
465
|
+
var i = n[r];
|
|
466
|
+
t += this.getNodeDegreeWithChildren(i);
|
|
467
|
+
}
|
|
468
|
+
return t;
|
|
469
|
+
}, x.prototype.performDFSOnCompounds = function() {
|
|
470
|
+
this.compoundOrder = [], this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes());
|
|
471
|
+
}, x.prototype.fillCompexOrderByDFS = function(e) {
|
|
472
|
+
for (var t = 0; t < e.length; t++) {
|
|
473
|
+
var n = e[t];
|
|
474
|
+
n.getChild() != null && this.fillCompexOrderByDFS(n.getChild().getNodes()), this.getToBeTiled(n) && this.compoundOrder.push(n);
|
|
475
|
+
}
|
|
476
|
+
}, x.prototype.adjustLocations = function(e, t, n, r, i, a, o) {
|
|
477
|
+
t += r + a, n += i + o;
|
|
478
|
+
for (var s = t, c = 0; c < e.rows.length; c++) {
|
|
479
|
+
var l = e.rows[c];
|
|
480
|
+
t = s;
|
|
481
|
+
for (var u = 0, d = 0; d < l.length; d++) {
|
|
482
|
+
var f = l[d];
|
|
483
|
+
f.rect.x = t, f.rect.y = n, t += f.rect.width + e.horizontalPadding, f.rect.height > u && (u = f.rect.height);
|
|
484
|
+
}
|
|
485
|
+
n += u + e.verticalPadding;
|
|
486
|
+
}
|
|
487
|
+
}, x.prototype.tileCompoundMembers = function(e, t) {
|
|
488
|
+
var n = this;
|
|
489
|
+
this.tiledMemberPack = [], Object.keys(e).forEach(function(r) {
|
|
490
|
+
var i = t[r];
|
|
491
|
+
if (n.tiledMemberPack[r] = n.tileNodes(e[r], i.paddingLeft + i.paddingRight), i.rect.width = n.tiledMemberPack[r].width, i.rect.height = n.tiledMemberPack[r].height, i.setCenter(n.tiledMemberPack[r].centerX, n.tiledMemberPack[r].centerY), i.labelMarginLeft = 0, i.labelMarginTop = 0, c.NODE_DIMENSIONS_INCLUDE_LABELS) {
|
|
492
|
+
var a = i.rect.width, o = i.rect.height;
|
|
493
|
+
i.labelWidth && (i.labelPosHorizontal == "left" ? (i.rect.x -= i.labelWidth, i.setWidth(a + i.labelWidth), i.labelMarginLeft = i.labelWidth) : i.labelPosHorizontal == "center" && i.labelWidth > a ? (i.rect.x -= (i.labelWidth - a) / 2, i.setWidth(i.labelWidth), i.labelMarginLeft = (i.labelWidth - a) / 2) : i.labelPosHorizontal == "right" && i.setWidth(a + i.labelWidth)), i.labelHeight && (i.labelPosVertical == "top" ? (i.rect.y -= i.labelHeight, i.setHeight(o + i.labelHeight), i.labelMarginTop = i.labelHeight) : i.labelPosVertical == "center" && i.labelHeight > o ? (i.rect.y -= (i.labelHeight - o) / 2, i.setHeight(i.labelHeight), i.labelMarginTop = (i.labelHeight - o) / 2) : i.labelPosVertical == "bottom" && i.setHeight(o + i.labelHeight));
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
}, x.prototype.tileNodes = function(e, t) {
|
|
497
|
+
var n = this.tileNodesByFavoringDim(e, t, !0), r = this.tileNodesByFavoringDim(e, t, !1), i = this.getOrgRatio(n);
|
|
498
|
+
return this.getOrgRatio(r) < i ? r : n;
|
|
499
|
+
}, x.prototype.getOrgRatio = function(e) {
|
|
500
|
+
var t = e.width / e.height;
|
|
501
|
+
return t < 1 && (t = 1 / t), t;
|
|
502
|
+
}, x.prototype.calcIdealRowWidth = function(e, t) {
|
|
503
|
+
var n = c.TILING_PADDING_VERTICAL, r = c.TILING_PADDING_HORIZONTAL, i = e.length, a = 0, o = 0, s = 0;
|
|
504
|
+
e.forEach(function(e) {
|
|
505
|
+
a += e.getWidth(), o += e.getHeight(), e.getWidth() > s && (s = e.getWidth());
|
|
506
|
+
});
|
|
507
|
+
var l = a / i, u = o / i, d = (n - r) ** 2 + 4 * (l + r) * (u + n) * i, f = (r - n + Math.sqrt(d)) / (2 * (l + r)), p;
|
|
508
|
+
t ? (p = Math.ceil(f), p == f && p++) : p = Math.floor(f);
|
|
509
|
+
var m = p * (l + r) - r;
|
|
510
|
+
return s > m && (m = s), m += r * 2, m;
|
|
511
|
+
}, x.prototype.tileNodesByFavoringDim = function(e, t, n) {
|
|
512
|
+
var r = c.TILING_PADDING_VERTICAL, i = c.TILING_PADDING_HORIZONTAL, a = c.TILING_COMPARE_BY, o = {
|
|
513
|
+
rows: [],
|
|
514
|
+
rowWidth: [],
|
|
515
|
+
rowHeight: [],
|
|
516
|
+
width: 0,
|
|
517
|
+
height: t,
|
|
518
|
+
verticalPadding: r,
|
|
519
|
+
horizontalPadding: i,
|
|
520
|
+
centerX: 0,
|
|
521
|
+
centerY: 0
|
|
522
|
+
};
|
|
523
|
+
a && (o.idealRowWidth = this.calcIdealRowWidth(e, n));
|
|
524
|
+
var s = function(e) {
|
|
525
|
+
return e.rect.width * e.rect.height;
|
|
526
|
+
}, l = function(e, t) {
|
|
527
|
+
return s(t) - s(e);
|
|
528
|
+
};
|
|
529
|
+
e.sort(function(e, t) {
|
|
530
|
+
var n = l;
|
|
531
|
+
return o.idealRowWidth ? (n = a, n(e.id, t.id)) : n(e, t);
|
|
532
|
+
});
|
|
533
|
+
for (var u = 0, d = 0, f = 0; f < e.length; f++) {
|
|
534
|
+
var p = e[f];
|
|
535
|
+
u += p.getCenterX(), d += p.getCenterY();
|
|
536
|
+
}
|
|
537
|
+
o.centerX = u / e.length, o.centerY = d / e.length;
|
|
538
|
+
for (var f = 0; f < e.length; f++) {
|
|
539
|
+
var p = e[f];
|
|
540
|
+
if (o.rows.length == 0) this.insertNodeToRow(o, p, 0, t);
|
|
541
|
+
else if (this.canAddHorizontal(o, p.rect.width, p.rect.height)) {
|
|
542
|
+
var m = o.rows.length - 1;
|
|
543
|
+
o.idealRowWidth || (m = this.getShortestRowIndex(o)), this.insertNodeToRow(o, p, m, t);
|
|
544
|
+
} else this.insertNodeToRow(o, p, o.rows.length, t);
|
|
545
|
+
this.shiftToLastRow(o);
|
|
546
|
+
}
|
|
547
|
+
return o;
|
|
548
|
+
}, x.prototype.insertNodeToRow = function(e, t, n, r) {
|
|
549
|
+
var i = r;
|
|
550
|
+
n == e.rows.length && (e.rows.push([]), e.rowWidth.push(i), e.rowHeight.push(0));
|
|
551
|
+
var a = e.rowWidth[n] + t.rect.width;
|
|
552
|
+
e.rows[n].length > 0 && (a += e.horizontalPadding), e.rowWidth[n] = a, e.width < a && (e.width = a);
|
|
553
|
+
var o = t.rect.height;
|
|
554
|
+
n > 0 && (o += e.verticalPadding);
|
|
555
|
+
var s = 0;
|
|
556
|
+
o > e.rowHeight[n] && (s = e.rowHeight[n], e.rowHeight[n] = o, s = e.rowHeight[n] - s), e.height += s, e.rows[n].push(t);
|
|
557
|
+
}, x.prototype.getShortestRowIndex = function(e) {
|
|
558
|
+
for (var t = -1, n = Number.MAX_VALUE, r = 0; r < e.rows.length; r++) e.rowWidth[r] < n && (t = r, n = e.rowWidth[r]);
|
|
559
|
+
return t;
|
|
560
|
+
}, x.prototype.getLongestRowIndex = function(e) {
|
|
561
|
+
for (var t = -1, n = Number.MIN_VALUE, r = 0; r < e.rows.length; r++) e.rowWidth[r] > n && (t = r, n = e.rowWidth[r]);
|
|
562
|
+
return t;
|
|
563
|
+
}, x.prototype.canAddHorizontal = function(e, t, n) {
|
|
564
|
+
if (e.idealRowWidth) {
|
|
565
|
+
var r = e.rows.length - 1;
|
|
566
|
+
return e.rowWidth[r] + t + e.horizontalPadding <= e.idealRowWidth;
|
|
567
|
+
}
|
|
568
|
+
var i = this.getShortestRowIndex(e);
|
|
569
|
+
if (i < 0) return !0;
|
|
570
|
+
var a = e.rowWidth[i];
|
|
571
|
+
if (a + e.horizontalPadding + t <= e.width) return !0;
|
|
572
|
+
var o = 0;
|
|
573
|
+
e.rowHeight[i] < n && i > 0 && (o = n + e.verticalPadding - e.rowHeight[i]);
|
|
574
|
+
var s = e.width - a >= t + e.horizontalPadding ? (e.height + o) / (a + t + e.horizontalPadding) : (e.height + o) / e.width;
|
|
575
|
+
o = n + e.verticalPadding;
|
|
576
|
+
var c = e.width < t ? (e.height + o) / t : (e.height + o) / e.width;
|
|
577
|
+
return c < 1 && (c = 1 / c), s < 1 && (s = 1 / s), s < c;
|
|
578
|
+
}, x.prototype.shiftToLastRow = function(e) {
|
|
579
|
+
var t = this.getLongestRowIndex(e), n = e.rowWidth.length - 1, r = e.rows[t], i = r[r.length - 1], a = i.width + e.horizontalPadding;
|
|
580
|
+
if (e.width - e.rowWidth[n] > a && t != n) {
|
|
581
|
+
r.splice(-1, 1), e.rows[n].push(i), e.rowWidth[t] = e.rowWidth[t] - a, e.rowWidth[n] = e.rowWidth[n] + a, e.width = e.rowWidth[instance.getLongestRowIndex(e)];
|
|
582
|
+
for (var o = Number.MIN_VALUE, s = 0; s < r.length; s++) r[s].height > o && (o = r[s].height);
|
|
583
|
+
t > 0 && (o += e.verticalPadding);
|
|
584
|
+
var c = e.rowHeight[t] + e.rowHeight[n];
|
|
585
|
+
e.rowHeight[t] = o, e.rowHeight[n] < i.height + e.verticalPadding && (e.rowHeight[n] = i.height + e.verticalPadding);
|
|
586
|
+
var l = e.rowHeight[t] + e.rowHeight[n];
|
|
587
|
+
e.height += l - c, this.shiftToLastRow(e);
|
|
588
|
+
}
|
|
589
|
+
}, x.prototype.tilingPreLayout = function() {
|
|
590
|
+
c.TILE && (this.groupZeroDegreeMembers(), this.clearCompounds(), this.clearZeroDegreeMembers());
|
|
591
|
+
}, x.prototype.tilingPostLayout = function() {
|
|
592
|
+
c.TILE && (this.repopulateZeroDegreeMembers(), this.repopulateCompounds());
|
|
593
|
+
}, x.prototype.reduceTrees = function() {
|
|
594
|
+
for (var e = [], t = !0, n; t;) {
|
|
595
|
+
var r = this.graphManager.getAllNodes(), i = [];
|
|
596
|
+
t = !1;
|
|
597
|
+
for (var a = 0; a < r.length; a++) if (n = r[a], n.getEdges().length == 1 && !n.getEdges()[0].isInterGraph && n.getChild() == null) {
|
|
598
|
+
if (c.PURE_INCREMENTAL) {
|
|
599
|
+
var o = n.getEdges()[0].getOtherEnd(n), s = new m(n.getCenterX() - o.getCenterX(), n.getCenterY() - o.getCenterY());
|
|
600
|
+
i.push([
|
|
601
|
+
n,
|
|
602
|
+
n.getEdges()[0],
|
|
603
|
+
n.getOwner(),
|
|
604
|
+
s
|
|
605
|
+
]);
|
|
606
|
+
} else i.push([
|
|
607
|
+
n,
|
|
608
|
+
n.getEdges()[0],
|
|
609
|
+
n.getOwner()
|
|
610
|
+
]);
|
|
611
|
+
t = !0;
|
|
612
|
+
}
|
|
613
|
+
if (t == 1) {
|
|
614
|
+
for (var l = [], u = 0; u < i.length; u++) i[u][0].getEdges().length == 1 && (l.push(i[u]), i[u][0].getOwner().remove(i[u][0]));
|
|
615
|
+
e.push(l), this.graphManager.resetAllNodes(), this.graphManager.resetAllEdges();
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
this.prunedNodesAll = e;
|
|
619
|
+
}, x.prototype.growTree = function(e) {
|
|
620
|
+
for (var t = e[e.length - 1], n, r = 0; r < t.length; r++) n = t[r], this.findPlaceforPrunedNode(n), n[2].add(n[0]), n[2].add(n[1], n[1].source, n[1].target);
|
|
621
|
+
e.splice(e.length - 1, 1), this.graphManager.resetAllNodes(), this.graphManager.resetAllEdges();
|
|
622
|
+
}, x.prototype.findPlaceforPrunedNode = function(e) {
|
|
623
|
+
var t, n, r = e[0];
|
|
624
|
+
if (n = r == e[1].source ? e[1].target : e[1].source, c.PURE_INCREMENTAL) r.setCenter(n.getCenterX() + e[3].getWidth(), n.getCenterY() + e[3].getHeight());
|
|
625
|
+
else {
|
|
626
|
+
var i = n.startX, a = n.finishX, o = n.startY, s = n.finishY, l = [
|
|
627
|
+
0,
|
|
628
|
+
0,
|
|
629
|
+
0,
|
|
630
|
+
0
|
|
631
|
+
];
|
|
632
|
+
if (o > 0) for (var d = i; d <= a; d++) l[0] += this.grid[d][o - 1].length + this.grid[d][o].length - 1;
|
|
633
|
+
if (a < this.grid.length - 1) for (var d = o; d <= s; d++) l[1] += this.grid[a + 1][d].length + this.grid[a][d].length - 1;
|
|
634
|
+
if (s < this.grid[0].length - 1) for (var d = i; d <= a; d++) l[2] += this.grid[d][s + 1].length + this.grid[d][s].length - 1;
|
|
635
|
+
if (i > 0) for (var d = o; d <= s; d++) l[3] += this.grid[i - 1][d].length + this.grid[i][d].length - 1;
|
|
636
|
+
for (var f = g.MAX_VALUE, p, m, h = 0; h < l.length; h++) l[h] < f ? (f = l[h], p = 1, m = h) : l[h] == f && p++;
|
|
637
|
+
if (p == 3 && f == 0) l[0] == 0 && l[1] == 0 && l[2] == 0 ? t = 1 : l[0] == 0 && l[1] == 0 && l[3] == 0 ? t = 0 : l[0] == 0 && l[2] == 0 && l[3] == 0 ? t = 3 : l[1] == 0 && l[2] == 0 && l[3] == 0 && (t = 2);
|
|
638
|
+
else if (p == 2 && f == 0) {
|
|
639
|
+
var _ = Math.floor(Math.random() * 2);
|
|
640
|
+
t = l[0] == 0 && l[1] == 0 ? _ == 0 ? 0 : 1 : l[0] == 0 && l[2] == 0 ? _ == 0 ? 0 : 2 : l[0] == 0 && l[3] == 0 ? _ == 0 ? 0 : 3 : l[1] == 0 && l[2] == 0 ? _ == 0 ? 1 : 2 : l[1] == 0 && l[3] == 0 ? _ == 0 ? 1 : 3 : _ == 0 ? 2 : 3;
|
|
641
|
+
} else if (p == 4 && f == 0) {
|
|
642
|
+
var _ = Math.floor(Math.random() * 4);
|
|
643
|
+
t = _;
|
|
644
|
+
} else t = m;
|
|
645
|
+
t == 0 ? r.setCenter(n.getCenterX(), n.getCenterY() - n.getHeight() / 2 - u.DEFAULT_EDGE_LENGTH - r.getHeight() / 2) : t == 1 ? r.setCenter(n.getCenterX() + n.getWidth() / 2 + u.DEFAULT_EDGE_LENGTH + r.getWidth() / 2, n.getCenterY()) : t == 2 ? r.setCenter(n.getCenterX(), n.getCenterY() + n.getHeight() / 2 + u.DEFAULT_EDGE_LENGTH + r.getHeight() / 2) : r.setCenter(n.getCenterX() - n.getWidth() / 2 - u.DEFAULT_EDGE_LENGTH - r.getWidth() / 2, n.getCenterY());
|
|
646
|
+
}
|
|
647
|
+
}, e.exports = x;
|
|
648
|
+
}),
|
|
649
|
+
991: ((e, t, n) => {
|
|
650
|
+
var r = n(551).FDLayoutNode, i = n(551).IMath;
|
|
651
|
+
function a(e, t, n, i) {
|
|
652
|
+
r.call(this, e, t, n, i);
|
|
653
|
+
}
|
|
654
|
+
for (var o in a.prototype = Object.create(r.prototype), r) a[o] = r[o];
|
|
655
|
+
a.prototype.calculateDisplacement = function() {
|
|
656
|
+
var e = this.graphManager.getLayout();
|
|
657
|
+
this.getChild() != null && this.fixedNodeWeight ? (this.displacementX += e.coolingFactor * (this.springForceX + this.repulsionForceX + this.gravitationForceX) / this.fixedNodeWeight, this.displacementY += e.coolingFactor * (this.springForceY + this.repulsionForceY + this.gravitationForceY) / this.fixedNodeWeight) : (this.displacementX += e.coolingFactor * (this.springForceX + this.repulsionForceX + this.gravitationForceX) / this.noOfChildren, this.displacementY += e.coolingFactor * (this.springForceY + this.repulsionForceY + this.gravitationForceY) / this.noOfChildren), Math.abs(this.displacementX) > e.coolingFactor * e.maxNodeDisplacement && (this.displacementX = e.coolingFactor * e.maxNodeDisplacement * i.sign(this.displacementX)), Math.abs(this.displacementY) > e.coolingFactor * e.maxNodeDisplacement && (this.displacementY = e.coolingFactor * e.maxNodeDisplacement * i.sign(this.displacementY)), this.child && this.child.getNodes().length > 0 && this.propogateDisplacementToChildren(this.displacementX, this.displacementY);
|
|
658
|
+
}, a.prototype.propogateDisplacementToChildren = function(e, t) {
|
|
659
|
+
for (var n = this.getChild().getNodes(), r, i = 0; i < n.length; i++) r = n[i], r.getChild() == null ? (r.displacementX += e, r.displacementY += t) : r.propogateDisplacementToChildren(e, t);
|
|
660
|
+
}, a.prototype.move = function() {
|
|
661
|
+
var e = this.graphManager.getLayout();
|
|
662
|
+
(this.child == null || this.child.getNodes().length == 0) && (this.moveBy(this.displacementX, this.displacementY), e.totalDisplacement += Math.abs(this.displacementX) + Math.abs(this.displacementY)), this.springForceX = 0, this.springForceY = 0, this.repulsionForceX = 0, this.repulsionForceY = 0, this.gravitationForceX = 0, this.gravitationForceY = 0, this.displacementX = 0, this.displacementY = 0;
|
|
663
|
+
}, a.prototype.setPred1 = function(e) {
|
|
664
|
+
this.pred1 = e;
|
|
665
|
+
}, a.prototype.getPred1 = function() {
|
|
666
|
+
return pred1;
|
|
667
|
+
}, a.prototype.getPred2 = function() {
|
|
668
|
+
return pred2;
|
|
669
|
+
}, a.prototype.setNext = function(e) {
|
|
670
|
+
this.next = e;
|
|
671
|
+
}, a.prototype.getNext = function() {
|
|
672
|
+
return next;
|
|
673
|
+
}, a.prototype.setProcessed = function(e) {
|
|
674
|
+
this.processed = e;
|
|
675
|
+
}, a.prototype.isProcessed = function() {
|
|
676
|
+
return processed;
|
|
677
|
+
}, e.exports = a;
|
|
678
|
+
}),
|
|
679
|
+
902: ((e, t, n) => {
|
|
680
|
+
function r(e) {
|
|
681
|
+
if (Array.isArray(e)) {
|
|
682
|
+
for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
|
|
683
|
+
return n;
|
|
684
|
+
} else return Array.from(e);
|
|
685
|
+
}
|
|
686
|
+
var i = n(806), a = n(551).LinkedList, o = n(551).Matrix, s = n(551).SVD;
|
|
687
|
+
function c() {}
|
|
688
|
+
c.handleConstraints = function(e) {
|
|
689
|
+
var t = {};
|
|
690
|
+
t.fixedNodeConstraint = e.constraints.fixedNodeConstraint, t.alignmentConstraint = e.constraints.alignmentConstraint, t.relativePlacementConstraint = e.constraints.relativePlacementConstraint;
|
|
691
|
+
for (var n = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = [], u = [], d = e.getAllNodes(), f = 0, p = 0; p < d.length; p++) {
|
|
692
|
+
var m = d[p];
|
|
693
|
+
m.getChild() ?? (c.set(m.id, f++), l.push(m.getCenterX()), u.push(m.getCenterY()), n.set(m.id, m));
|
|
694
|
+
}
|
|
695
|
+
t.relativePlacementConstraint && t.relativePlacementConstraint.forEach(function(e) {
|
|
696
|
+
!e.gap && e.gap != 0 && (e.left ? e.gap = i.DEFAULT_EDGE_LENGTH + n.get(e.left).getWidth() / 2 + n.get(e.right).getWidth() / 2 : e.gap = i.DEFAULT_EDGE_LENGTH + n.get(e.top).getHeight() / 2 + n.get(e.bottom).getHeight() / 2);
|
|
697
|
+
});
|
|
698
|
+
var h = function(e, t) {
|
|
699
|
+
return {
|
|
700
|
+
x: e.x - t.x,
|
|
701
|
+
y: e.y - t.y
|
|
702
|
+
};
|
|
703
|
+
}, g = function(e) {
|
|
704
|
+
var t = 0, n = 0;
|
|
705
|
+
return e.forEach(function(e) {
|
|
706
|
+
t += l[c.get(e)], n += u[c.get(e)];
|
|
707
|
+
}), {
|
|
708
|
+
x: t / e.size,
|
|
709
|
+
y: n / e.size
|
|
710
|
+
};
|
|
711
|
+
}, _ = function(e, t, n, i, o) {
|
|
712
|
+
function s(e, t) {
|
|
713
|
+
var n = new Set(e), r = !0, i = !1, a = void 0;
|
|
714
|
+
try {
|
|
715
|
+
for (var o = t[Symbol.iterator](), s; !(r = (s = o.next()).done); r = !0) {
|
|
716
|
+
var c = s.value;
|
|
717
|
+
n.add(c);
|
|
718
|
+
}
|
|
719
|
+
} catch (e) {
|
|
720
|
+
i = !0, a = e;
|
|
721
|
+
} finally {
|
|
722
|
+
try {
|
|
723
|
+
!r && o.return && o.return();
|
|
724
|
+
} finally {
|
|
725
|
+
if (i) throw a;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
return n;
|
|
729
|
+
}
|
|
730
|
+
var d = /* @__PURE__ */ new Map();
|
|
731
|
+
e.forEach(function(e, t) {
|
|
732
|
+
d.set(t, 0);
|
|
733
|
+
}), e.forEach(function(e, t) {
|
|
734
|
+
e.forEach(function(e) {
|
|
735
|
+
d.set(e.id, d.get(e.id) + 1);
|
|
736
|
+
});
|
|
737
|
+
});
|
|
738
|
+
var f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), m = new a();
|
|
739
|
+
d.forEach(function(e, r) {
|
|
740
|
+
e == 0 ? (m.push(r), n || (t == "horizontal" ? f.set(r, c.has(r) ? l[c.get(r)] : i.get(r)) : f.set(r, c.has(r) ? u[c.get(r)] : i.get(r)))) : f.set(r, -Infinity), n && p.set(r, new Set([r]));
|
|
741
|
+
}), n && o.forEach(function(e) {
|
|
742
|
+
var r = [];
|
|
743
|
+
if (e.forEach(function(e) {
|
|
744
|
+
n.has(e) && r.push(e);
|
|
745
|
+
}), r.length > 0) {
|
|
746
|
+
var a = 0;
|
|
747
|
+
r.forEach(function(e) {
|
|
748
|
+
t == "horizontal" ? (f.set(e, c.has(e) ? l[c.get(e)] : i.get(e)), a += f.get(e)) : (f.set(e, c.has(e) ? u[c.get(e)] : i.get(e)), a += f.get(e));
|
|
749
|
+
}), a /= r.length, e.forEach(function(e) {
|
|
750
|
+
n.has(e) || f.set(e, a);
|
|
751
|
+
});
|
|
752
|
+
} else {
|
|
753
|
+
var o = 0;
|
|
754
|
+
e.forEach(function(e) {
|
|
755
|
+
t == "horizontal" ? o += c.has(e) ? l[c.get(e)] : i.get(e) : o += c.has(e) ? u[c.get(e)] : i.get(e);
|
|
756
|
+
}), o /= e.length, e.forEach(function(e) {
|
|
757
|
+
f.set(e, o);
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
});
|
|
761
|
+
for (var h = function() {
|
|
762
|
+
var r = m.shift();
|
|
763
|
+
e.get(r).forEach(function(e) {
|
|
764
|
+
if (f.get(e.id) < f.get(r) + e.gap) if (n && n.has(e.id)) {
|
|
765
|
+
var a = void 0;
|
|
766
|
+
if (a = t == "horizontal" ? c.has(e.id) ? l[c.get(e.id)] : i.get(e.id) : c.has(e.id) ? u[c.get(e.id)] : i.get(e.id), f.set(e.id, a), a < f.get(r) + e.gap) {
|
|
767
|
+
var o = f.get(r) + e.gap - a;
|
|
768
|
+
p.get(r).forEach(function(e) {
|
|
769
|
+
f.set(e, f.get(e) - o);
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
} else f.set(e.id, f.get(r) + e.gap);
|
|
773
|
+
d.set(e.id, d.get(e.id) - 1), d.get(e.id) == 0 && m.push(e.id), n && p.set(e.id, s(p.get(r), p.get(e.id)));
|
|
774
|
+
});
|
|
775
|
+
}; m.length != 0;) h();
|
|
776
|
+
if (n) {
|
|
777
|
+
var g = /* @__PURE__ */ new Set();
|
|
778
|
+
e.forEach(function(e, t) {
|
|
779
|
+
e.length == 0 && g.add(t);
|
|
780
|
+
});
|
|
781
|
+
var _ = [];
|
|
782
|
+
p.forEach(function(e, t) {
|
|
783
|
+
if (g.has(t)) {
|
|
784
|
+
var i = !1, a = !0, o = !1, s = void 0;
|
|
785
|
+
try {
|
|
786
|
+
for (var c = e[Symbol.iterator](), l; !(a = (l = c.next()).done); a = !0) {
|
|
787
|
+
var u = l.value;
|
|
788
|
+
n.has(u) && (i = !0);
|
|
789
|
+
}
|
|
790
|
+
} catch (e) {
|
|
791
|
+
o = !0, s = e;
|
|
792
|
+
} finally {
|
|
793
|
+
try {
|
|
794
|
+
!a && c.return && c.return();
|
|
795
|
+
} finally {
|
|
796
|
+
if (o) throw s;
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
if (!i) {
|
|
800
|
+
var d = !1, f = void 0;
|
|
801
|
+
_.forEach(function(t, n) {
|
|
802
|
+
t.has([].concat(r(e))[0]) && (d = !0, f = n);
|
|
803
|
+
}), d ? e.forEach(function(e) {
|
|
804
|
+
_[f].add(e);
|
|
805
|
+
}) : _.push(new Set(e));
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}), _.forEach(function(e, n) {
|
|
809
|
+
var r = Infinity, a = Infinity, o = -Infinity, s = -Infinity, d = !0, p = !1, m = void 0;
|
|
810
|
+
try {
|
|
811
|
+
for (var h = e[Symbol.iterator](), g; !(d = (g = h.next()).done); d = !0) {
|
|
812
|
+
var _ = g.value, v = void 0;
|
|
813
|
+
v = t == "horizontal" ? c.has(_) ? l[c.get(_)] : i.get(_) : c.has(_) ? u[c.get(_)] : i.get(_);
|
|
814
|
+
var y = f.get(_);
|
|
815
|
+
v < r && (r = v), v > o && (o = v), y < a && (a = y), y > s && (s = y);
|
|
816
|
+
}
|
|
817
|
+
} catch (e) {
|
|
818
|
+
p = !0, m = e;
|
|
819
|
+
} finally {
|
|
820
|
+
try {
|
|
821
|
+
!d && h.return && h.return();
|
|
822
|
+
} finally {
|
|
823
|
+
if (p) throw m;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
var b = (r + o) / 2 - (a + s) / 2, x = !0, S = !1, C = void 0;
|
|
827
|
+
try {
|
|
828
|
+
for (var w = e[Symbol.iterator](), T; !(x = (T = w.next()).done); x = !0) {
|
|
829
|
+
var E = T.value;
|
|
830
|
+
f.set(E, f.get(E) + b);
|
|
831
|
+
}
|
|
832
|
+
} catch (e) {
|
|
833
|
+
S = !0, C = e;
|
|
834
|
+
} finally {
|
|
835
|
+
try {
|
|
836
|
+
!x && w.return && w.return();
|
|
837
|
+
} finally {
|
|
838
|
+
if (S) throw C;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
});
|
|
842
|
+
}
|
|
843
|
+
return f;
|
|
844
|
+
}, v = function(e) {
|
|
845
|
+
var t = 0, n = 0, r = 0, i = 0;
|
|
846
|
+
if (e.forEach(function(e) {
|
|
847
|
+
e.left ? l[c.get(e.left)] - l[c.get(e.right)] >= 0 ? t++ : n++ : u[c.get(e.top)] - u[c.get(e.bottom)] >= 0 ? r++ : i++;
|
|
848
|
+
}), t > n && r > i) for (var a = 0; a < c.size; a++) l[a] = -1 * l[a], u[a] = -1 * u[a];
|
|
849
|
+
else if (t > n) for (var o = 0; o < c.size; o++) l[o] = -1 * l[o];
|
|
850
|
+
else if (r > i) for (var s = 0; s < c.size; s++) u[s] = -1 * u[s];
|
|
851
|
+
}, y = function(e) {
|
|
852
|
+
var t = [], n = new a(), r = /* @__PURE__ */ new Set(), i = 0;
|
|
853
|
+
return e.forEach(function(a, o) {
|
|
854
|
+
if (!r.has(o)) {
|
|
855
|
+
t[i] = [];
|
|
856
|
+
var s = o;
|
|
857
|
+
for (n.push(s), r.add(s), t[i].push(s); n.length != 0;) s = n.shift(), e.get(s).forEach(function(e) {
|
|
858
|
+
r.has(e.id) || (n.push(e.id), r.add(e.id), t[i].push(e.id));
|
|
859
|
+
});
|
|
860
|
+
i++;
|
|
861
|
+
}
|
|
862
|
+
}), t;
|
|
863
|
+
}, b = function(e) {
|
|
864
|
+
var t = /* @__PURE__ */ new Map();
|
|
865
|
+
return e.forEach(function(e, n) {
|
|
866
|
+
t.set(n, []);
|
|
867
|
+
}), e.forEach(function(e, n) {
|
|
868
|
+
e.forEach(function(e) {
|
|
869
|
+
t.get(n).push(e), t.get(e.id).push({
|
|
870
|
+
id: n,
|
|
871
|
+
gap: e.gap,
|
|
872
|
+
direction: e.direction
|
|
873
|
+
});
|
|
874
|
+
});
|
|
875
|
+
}), t;
|
|
876
|
+
}, x = function(e) {
|
|
877
|
+
var t = /* @__PURE__ */ new Map();
|
|
878
|
+
return e.forEach(function(e, n) {
|
|
879
|
+
t.set(n, []);
|
|
880
|
+
}), e.forEach(function(e, n) {
|
|
881
|
+
e.forEach(function(e) {
|
|
882
|
+
t.get(e.id).push({
|
|
883
|
+
id: n,
|
|
884
|
+
gap: e.gap,
|
|
885
|
+
direction: e.direction
|
|
886
|
+
});
|
|
887
|
+
});
|
|
888
|
+
}), t;
|
|
889
|
+
}, S = [], C = [], w = !1, T = !1, E = /* @__PURE__ */ new Set(), D = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), k = [];
|
|
890
|
+
if (t.fixedNodeConstraint && t.fixedNodeConstraint.forEach(function(e) {
|
|
891
|
+
E.add(e.nodeId);
|
|
892
|
+
}), t.relativePlacementConstraint && (t.relativePlacementConstraint.forEach(function(e) {
|
|
893
|
+
e.left ? (D.has(e.left) ? D.get(e.left).push({
|
|
894
|
+
id: e.right,
|
|
895
|
+
gap: e.gap,
|
|
896
|
+
direction: "horizontal"
|
|
897
|
+
}) : D.set(e.left, [{
|
|
898
|
+
id: e.right,
|
|
899
|
+
gap: e.gap,
|
|
900
|
+
direction: "horizontal"
|
|
901
|
+
}]), D.has(e.right) || D.set(e.right, [])) : (D.has(e.top) ? D.get(e.top).push({
|
|
902
|
+
id: e.bottom,
|
|
903
|
+
gap: e.gap,
|
|
904
|
+
direction: "vertical"
|
|
905
|
+
}) : D.set(e.top, [{
|
|
906
|
+
id: e.bottom,
|
|
907
|
+
gap: e.gap,
|
|
908
|
+
direction: "vertical"
|
|
909
|
+
}]), D.has(e.bottom) || D.set(e.bottom, []));
|
|
910
|
+
}), O = b(D), k = y(O)), i.TRANSFORM_ON_CONSTRAINT_HANDLING) {
|
|
911
|
+
if (t.fixedNodeConstraint && t.fixedNodeConstraint.length > 1) t.fixedNodeConstraint.forEach(function(e, t) {
|
|
912
|
+
S[t] = [e.position.x, e.position.y], C[t] = [l[c.get(e.nodeId)], u[c.get(e.nodeId)]];
|
|
913
|
+
}), w = !0;
|
|
914
|
+
else if (t.alignmentConstraint) (function() {
|
|
915
|
+
var e = 0;
|
|
916
|
+
if (t.alignmentConstraint.vertical) {
|
|
917
|
+
for (var n = t.alignmentConstraint.vertical, i = function(t) {
|
|
918
|
+
var i = /* @__PURE__ */ new Set();
|
|
919
|
+
n[t].forEach(function(e) {
|
|
920
|
+
i.add(e);
|
|
921
|
+
});
|
|
922
|
+
var a = new Set([].concat(r(i)).filter(function(e) {
|
|
923
|
+
return E.has(e);
|
|
924
|
+
})), o = void 0;
|
|
925
|
+
o = a.size > 0 ? l[c.get(a.values().next().value)] : g(i).x, n[t].forEach(function(t) {
|
|
926
|
+
S[e] = [o, u[c.get(t)]], C[e] = [l[c.get(t)], u[c.get(t)]], e++;
|
|
927
|
+
});
|
|
928
|
+
}, a = 0; a < n.length; a++) i(a);
|
|
929
|
+
w = !0;
|
|
930
|
+
}
|
|
931
|
+
if (t.alignmentConstraint.horizontal) {
|
|
932
|
+
for (var o = t.alignmentConstraint.horizontal, s = function(t) {
|
|
933
|
+
var n = /* @__PURE__ */ new Set();
|
|
934
|
+
o[t].forEach(function(e) {
|
|
935
|
+
n.add(e);
|
|
936
|
+
});
|
|
937
|
+
var i = new Set([].concat(r(n)).filter(function(e) {
|
|
938
|
+
return E.has(e);
|
|
939
|
+
})), a = void 0;
|
|
940
|
+
a = i.size > 0 ? l[c.get(i.values().next().value)] : g(n).y, o[t].forEach(function(t) {
|
|
941
|
+
S[e] = [l[c.get(t)], a], C[e] = [l[c.get(t)], u[c.get(t)]], e++;
|
|
942
|
+
});
|
|
943
|
+
}, d = 0; d < o.length; d++) s(d);
|
|
944
|
+
w = !0;
|
|
945
|
+
}
|
|
946
|
+
t.relativePlacementConstraint && (T = !0);
|
|
947
|
+
})();
|
|
948
|
+
else if (t.relativePlacementConstraint) {
|
|
949
|
+
for (var A = 0, j = 0, M = 0; M < k.length; M++) k[M].length > A && (A = k[M].length, j = M);
|
|
950
|
+
if (A < O.size / 2) v(t.relativePlacementConstraint), w = !1, T = !1;
|
|
951
|
+
else {
|
|
952
|
+
var N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), F = [];
|
|
953
|
+
k[j].forEach(function(e) {
|
|
954
|
+
D.get(e).forEach(function(t) {
|
|
955
|
+
t.direction == "horizontal" ? (N.has(e) ? N.get(e).push(t) : N.set(e, [t]), N.has(t.id) || N.set(t.id, []), F.push({
|
|
956
|
+
left: e,
|
|
957
|
+
right: t.id
|
|
958
|
+
})) : (P.has(e) ? P.get(e).push(t) : P.set(e, [t]), P.has(t.id) || P.set(t.id, []), F.push({
|
|
959
|
+
top: e,
|
|
960
|
+
bottom: t.id
|
|
961
|
+
}));
|
|
962
|
+
});
|
|
963
|
+
}), v(F), T = !1;
|
|
964
|
+
var I = _(N, "horizontal"), ee = _(P, "vertical");
|
|
965
|
+
k[j].forEach(function(e, t) {
|
|
966
|
+
C[t] = [l[c.get(e)], u[c.get(e)]], S[t] = [], I.has(e) ? S[t][0] = I.get(e) : S[t][0] = l[c.get(e)], ee.has(e) ? S[t][1] = ee.get(e) : S[t][1] = u[c.get(e)];
|
|
967
|
+
}), w = !0;
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
if (w) {
|
|
971
|
+
for (var L = void 0, R = o.transpose(S), z = o.transpose(C), B = 0; B < R.length; B++) R[B] = o.multGamma(R[B]), z[B] = o.multGamma(z[B]);
|
|
972
|
+
var V = o.multMat(R, o.transpose(z)), H = s.svd(V);
|
|
973
|
+
L = o.multMat(H.V, o.transpose(H.U));
|
|
974
|
+
for (var U = 0; U < c.size; U++) {
|
|
975
|
+
var W = [l[U], u[U]], G = [L[0][0], L[1][0]], K = [L[0][1], L[1][1]];
|
|
976
|
+
l[U] = o.dotProduct(W, G), u[U] = o.dotProduct(W, K);
|
|
977
|
+
}
|
|
978
|
+
T && v(t.relativePlacementConstraint);
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
if (i.ENFORCE_CONSTRAINTS) {
|
|
982
|
+
if (t.fixedNodeConstraint && t.fixedNodeConstraint.length > 0) {
|
|
983
|
+
var q = {
|
|
984
|
+
x: 0,
|
|
985
|
+
y: 0
|
|
986
|
+
};
|
|
987
|
+
t.fixedNodeConstraint.forEach(function(e, t) {
|
|
988
|
+
var n = {
|
|
989
|
+
x: l[c.get(e.nodeId)],
|
|
990
|
+
y: u[c.get(e.nodeId)]
|
|
991
|
+
}, r = e.position, i = h(r, n);
|
|
992
|
+
q.x += i.x, q.y += i.y;
|
|
993
|
+
}), q.x /= t.fixedNodeConstraint.length, q.y /= t.fixedNodeConstraint.length, l.forEach(function(e, t) {
|
|
994
|
+
l[t] += q.x;
|
|
995
|
+
}), u.forEach(function(e, t) {
|
|
996
|
+
u[t] += q.y;
|
|
997
|
+
}), t.fixedNodeConstraint.forEach(function(e) {
|
|
998
|
+
l[c.get(e.nodeId)] = e.position.x, u[c.get(e.nodeId)] = e.position.y;
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
if (t.alignmentConstraint) {
|
|
1002
|
+
if (t.alignmentConstraint.vertical) for (var J = t.alignmentConstraint.vertical, te = function(e) {
|
|
1003
|
+
var t = /* @__PURE__ */ new Set();
|
|
1004
|
+
J[e].forEach(function(e) {
|
|
1005
|
+
t.add(e);
|
|
1006
|
+
});
|
|
1007
|
+
var n = new Set([].concat(r(t)).filter(function(e) {
|
|
1008
|
+
return E.has(e);
|
|
1009
|
+
})), i = void 0;
|
|
1010
|
+
i = n.size > 0 ? l[c.get(n.values().next().value)] : g(t).x, t.forEach(function(e) {
|
|
1011
|
+
E.has(e) || (l[c.get(e)] = i);
|
|
1012
|
+
});
|
|
1013
|
+
}, Y = 0; Y < J.length; Y++) te(Y);
|
|
1014
|
+
if (t.alignmentConstraint.horizontal) for (var X = t.alignmentConstraint.horizontal, ne = function(e) {
|
|
1015
|
+
var t = /* @__PURE__ */ new Set();
|
|
1016
|
+
X[e].forEach(function(e) {
|
|
1017
|
+
t.add(e);
|
|
1018
|
+
});
|
|
1019
|
+
var n = new Set([].concat(r(t)).filter(function(e) {
|
|
1020
|
+
return E.has(e);
|
|
1021
|
+
})), i = void 0;
|
|
1022
|
+
i = n.size > 0 ? u[c.get(n.values().next().value)] : g(t).y, t.forEach(function(e) {
|
|
1023
|
+
E.has(e) || (u[c.get(e)] = i);
|
|
1024
|
+
});
|
|
1025
|
+
}, Z = 0; Z < X.length; Z++) ne(Z);
|
|
1026
|
+
}
|
|
1027
|
+
t.relativePlacementConstraint && (function() {
|
|
1028
|
+
var e = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
|
|
1029
|
+
if (E.forEach(function(e) {
|
|
1030
|
+
s.add(e), d.add(e);
|
|
1031
|
+
}), t.alignmentConstraint) {
|
|
1032
|
+
if (t.alignmentConstraint.vertical) for (var f = t.alignmentConstraint.vertical, p = function(t) {
|
|
1033
|
+
r.set("dummy" + t, []), f[t].forEach(function(n) {
|
|
1034
|
+
e.set(n, "dummy" + t), r.get("dummy" + t).push(n), E.has(n) && s.add("dummy" + t);
|
|
1035
|
+
}), a.set("dummy" + t, l[c.get(f[t][0])]);
|
|
1036
|
+
}, m = 0; m < f.length; m++) p(m);
|
|
1037
|
+
if (t.alignmentConstraint.horizontal) for (var h = t.alignmentConstraint.horizontal, g = function(e) {
|
|
1038
|
+
i.set("dummy" + e, []), h[e].forEach(function(t) {
|
|
1039
|
+
n.set(t, "dummy" + e), i.get("dummy" + e).push(t), E.has(t) && d.add("dummy" + e);
|
|
1040
|
+
}), o.set("dummy" + e, u[c.get(h[e][0])]);
|
|
1041
|
+
}, v = 0; v < h.length; v++) g(v);
|
|
1042
|
+
}
|
|
1043
|
+
var S = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), w = function(t) {
|
|
1044
|
+
D.get(t).forEach(function(r) {
|
|
1045
|
+
var i = void 0, a = void 0;
|
|
1046
|
+
r.direction == "horizontal" ? (i = e.get(t) ? e.get(t) : t, a = e.get(r.id) ? {
|
|
1047
|
+
id: e.get(r.id),
|
|
1048
|
+
gap: r.gap,
|
|
1049
|
+
direction: r.direction
|
|
1050
|
+
} : r, S.has(i) ? S.get(i).push(a) : S.set(i, [a]), S.has(a.id) || S.set(a.id, [])) : (i = n.get(t) ? n.get(t) : t, a = n.get(r.id) ? {
|
|
1051
|
+
id: n.get(r.id),
|
|
1052
|
+
gap: r.gap,
|
|
1053
|
+
direction: r.direction
|
|
1054
|
+
} : r, C.has(i) ? C.get(i).push(a) : C.set(i, [a]), C.has(a.id) || C.set(a.id, []));
|
|
1055
|
+
});
|
|
1056
|
+
}, T = !0, O = !1, k = void 0;
|
|
1057
|
+
try {
|
|
1058
|
+
for (var A = D.keys()[Symbol.iterator](), j; !(T = (j = A.next()).done); T = !0) {
|
|
1059
|
+
var M = j.value;
|
|
1060
|
+
w(M);
|
|
1061
|
+
}
|
|
1062
|
+
} catch (e) {
|
|
1063
|
+
O = !0, k = e;
|
|
1064
|
+
} finally {
|
|
1065
|
+
try {
|
|
1066
|
+
!T && A.return && A.return();
|
|
1067
|
+
} finally {
|
|
1068
|
+
if (O) throw k;
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
var N = b(S), P = b(C), F = y(N), I = y(P), ee = x(S), L = x(C), R = [], z = [];
|
|
1072
|
+
F.forEach(function(e, t) {
|
|
1073
|
+
R[t] = [], e.forEach(function(e) {
|
|
1074
|
+
ee.get(e).length == 0 && R[t].push(e);
|
|
1075
|
+
});
|
|
1076
|
+
}), I.forEach(function(e, t) {
|
|
1077
|
+
z[t] = [], e.forEach(function(e) {
|
|
1078
|
+
L.get(e).length == 0 && z[t].push(e);
|
|
1079
|
+
});
|
|
1080
|
+
});
|
|
1081
|
+
var B = _(S, "horizontal", s, a, R), V = _(C, "vertical", d, o, z), H = function(e) {
|
|
1082
|
+
r.get(e) ? r.get(e).forEach(function(t) {
|
|
1083
|
+
l[c.get(t)] = B.get(e);
|
|
1084
|
+
}) : l[c.get(e)] = B.get(e);
|
|
1085
|
+
}, U = !0, W = !1, G = void 0;
|
|
1086
|
+
try {
|
|
1087
|
+
for (var K = B.keys()[Symbol.iterator](), q; !(U = (q = K.next()).done); U = !0) {
|
|
1088
|
+
var J = q.value;
|
|
1089
|
+
H(J);
|
|
1090
|
+
}
|
|
1091
|
+
} catch (e) {
|
|
1092
|
+
W = !0, G = e;
|
|
1093
|
+
} finally {
|
|
1094
|
+
try {
|
|
1095
|
+
!U && K.return && K.return();
|
|
1096
|
+
} finally {
|
|
1097
|
+
if (W) throw G;
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
var te = function(e) {
|
|
1101
|
+
i.get(e) ? i.get(e).forEach(function(t) {
|
|
1102
|
+
u[c.get(t)] = V.get(e);
|
|
1103
|
+
}) : u[c.get(e)] = V.get(e);
|
|
1104
|
+
}, Y = !0, X = !1, ne = void 0;
|
|
1105
|
+
try {
|
|
1106
|
+
for (var Z = V.keys()[Symbol.iterator](), Q; !(Y = (Q = Z.next()).done); Y = !0) {
|
|
1107
|
+
var J = Q.value;
|
|
1108
|
+
te(J);
|
|
1109
|
+
}
|
|
1110
|
+
} catch (e) {
|
|
1111
|
+
X = !0, ne = e;
|
|
1112
|
+
} finally {
|
|
1113
|
+
try {
|
|
1114
|
+
!Y && Z.return && Z.return();
|
|
1115
|
+
} finally {
|
|
1116
|
+
if (X) throw ne;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
})();
|
|
1120
|
+
}
|
|
1121
|
+
for (var Q = 0; Q < d.length; Q++) {
|
|
1122
|
+
var $ = d[Q];
|
|
1123
|
+
$.getChild() ?? $.setCenter(l[c.get($.id)], u[c.get($.id)]);
|
|
1124
|
+
}
|
|
1125
|
+
}, e.exports = c;
|
|
1126
|
+
}),
|
|
1127
|
+
551: ((t) => {
|
|
1128
|
+
t.exports = e;
|
|
1129
|
+
})
|
|
1130
|
+
}, n = {};
|
|
1131
|
+
function r(e) {
|
|
1132
|
+
var i = n[e];
|
|
1133
|
+
if (i !== void 0) return i.exports;
|
|
1134
|
+
var a = n[e] = { exports: {} };
|
|
1135
|
+
return t[e](a, a.exports, r), a.exports;
|
|
1136
|
+
}
|
|
1137
|
+
return r(45);
|
|
1138
|
+
})();
|
|
1139
|
+
});
|
|
1140
|
+
}));
|
|
1141
|
+
export default require_cose_base();
|
|
1142
|
+
export { require_cose_base };
|