@loopstack/loopstack-studio 0.25.0 → 0.25.1
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/api/auth.js +4 -2
- package/dist/api/client.js +9 -7
- package/dist/api/config.js +4 -2
- package/dist/api/dashboard.js +4 -2
- package/dist/api/documents.js +4 -2
- package/dist/api/index.js +21 -19
- package/dist/api/processor.js +4 -2
- package/dist/api/secrets.js +4 -2
- package/dist/api/workflows.js +4 -2
- package/dist/api/workspaces.js +4 -2
- package/dist/app/EnvironmentEmbedRoot.js +24 -31
- package/dist/components/ai-elements/code-block.js +53 -71
- package/dist/components/ai-elements/message.js +41 -82
- package/dist/components/ai-elements/prompt-input.js +162 -253
- package/dist/components/ai-elements/reasoning.js +78 -116
- package/dist/components/ai-elements/shimmer.js +23 -35
- package/dist/components/ai-elements/sources.js +29 -58
- package/dist/components/data-table/ConfirmDialog.js +14 -30
- package/dist/components/data-table/DataList.js +138 -198
- package/dist/components/data-table/DataTable.js +168 -234
- package/dist/components/data-table/DataTableBatchAction.js +18 -27
- package/dist/components/data-table/DataTableFilters.js +53 -78
- package/dist/components/data-table/DataTablePagination.js +72 -104
- package/dist/components/data-table/DataTableToolbar.js +53 -65
- package/dist/components/dynamic-form/ArrayController.js +85 -103
- package/dist/components/dynamic-form/CodeContent.js +28 -36
- package/dist/components/dynamic-form/Form.js +43 -56
- package/dist/components/dynamic-form/FormBody.js +12 -10
- package/dist/components/dynamic-form/FormElement.js +31 -41
- package/dist/components/dynamic-form/FormElementHeader.js +12 -20
- package/dist/components/dynamic-form/InputController.js +36 -38
- package/dist/components/dynamic-form/MarkdownContent.js +53 -74
- package/dist/components/dynamic-form/MermaidDiagram.js +22 -24
- package/dist/components/dynamic-form/ObjectController.js +24 -32
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +35 -47
- package/dist/components/dynamic-form/fields/CheckboxField.js +39 -48
- package/dist/components/dynamic-form/fields/CodeViewField.js +42 -50
- package/dist/components/dynamic-form/fields/InputField.js +62 -90
- package/dist/components/dynamic-form/fields/MarkdownViewField.js +16 -19
- package/dist/components/dynamic-form/fields/RadioField.js +46 -62
- package/dist/components/dynamic-form/fields/SelectField.js +40 -58
- package/dist/components/dynamic-form/fields/SliderField.js +94 -100
- package/dist/components/dynamic-form/fields/SwitchField.js +42 -61
- package/dist/components/dynamic-form/fields/TextareaField.js +53 -72
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +4 -2
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +6 -5
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +19 -20
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +4 -2
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +4 -2
- package/dist/components/feedback/ErrorAlert.js +11 -17
- package/dist/components/feedback/ErrorBoundary.js +16 -14
- package/dist/components/feedback/ErrorSnackbar.js +13 -30
- package/dist/components/feedback/LoadingCentered.js +15 -28
- package/dist/components/feedback/Snackbar.js +43 -44
- package/dist/components/feedback/index.js +5 -5
- package/dist/components/index.js +47 -47
- package/dist/components/layout/MainLayout.js +17 -25
- package/dist/components/layout/StudioSidebar.js +132 -202
- package/dist/components/lists/CustomListView.js +49 -74
- package/dist/components/lists/ListView.js +66 -102
- package/dist/components/loopstack-elements/link.js +65 -104
- package/dist/components/loopstack-elements/tool.js +70 -142
- package/dist/components/messages/CompletionMessagePaper.js +53 -85
- package/dist/components/page/PageBreadcrumbs.js +64 -83
- package/dist/components/ui/DiscordLogo.js +16 -22
- package/dist/components/ui/GoogleLogo.js +40 -44
- package/dist/components/ui/accordion.js +31 -52
- package/dist/components/ui/alert-dialog.js +59 -109
- package/dist/components/ui/alert.js +22 -36
- package/dist/components/ui/avatar.js +21 -35
- package/dist/components/ui/badge.js +13 -17
- package/dist/components/ui/breadcrumb.js +46 -82
- package/dist/components/ui/button-group.js +5 -5
- package/dist/components/ui/button.js +17 -21
- package/dist/components/ui/card.js +40 -74
- package/dist/components/ui/checkbox.js +17 -23
- package/dist/components/ui/collapsible.js +17 -25
- package/dist/components/ui/command.js +1 -2
- package/dist/components/ui/context-menu.js +32 -52
- package/dist/components/ui/dialog.js +62 -107
- package/dist/components/ui/drawer.js +54 -99
- package/dist/components/ui/dropdown-menu.js +91 -159
- package/dist/components/ui/hover-card.js +1 -2
- package/dist/components/ui/input-group.js +36 -56
- package/dist/components/ui/input.js +11 -15
- package/dist/components/ui/label.js +11 -15
- package/dist/components/ui/popover.js +25 -38
- package/dist/components/ui/radio-group.js +22 -33
- package/dist/components/ui/scroll-area.js +28 -43
- package/dist/components/ui/select.js +73 -134
- package/dist/components/ui/separator.js +13 -17
- package/dist/components/ui/sheet.js +60 -105
- package/dist/components/ui/sidebar.js +269 -451
- package/dist/components/ui/skeleton.js +10 -14
- package/dist/components/ui/slider.js +17 -15
- package/dist/components/ui/switch.js +15 -21
- package/dist/components/ui/table.js +46 -85
- package/dist/components/ui/tabs.js +26 -45
- package/dist/components/ui/textarea.js +10 -14
- package/dist/components/ui/tooltip.js +26 -41
- package/dist/components/ui-widgets/UiActions.js +30 -37
- package/dist/components/ui-widgets/UiWidget.js +34 -46
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +28 -42
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +16 -21
- package/dist/components/ui-widgets/widgets/SandboxRun.js +19 -26
- package/dist/components/ui-widgets/widgets/SubmitButton.js +15 -20
- package/dist/events/api-client-events.js +4 -2
- package/dist/events/sse-client-events.js +4 -2
- package/dist/features/code-explorer/CodeExplorer.js +1 -2
- package/dist/features/code-explorer/components/CodeExplorerTree.js +2 -2
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +31 -29
- package/dist/features/code-explorer/components/FileContentViewer.js +108 -148
- package/dist/features/code-explorer/components/FileTabsBar.js +1 -2
- package/dist/features/code-explorer/components/FileTabsBarBase.js +134 -169
- package/dist/features/code-explorer/index.js +1 -1
- package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
- package/dist/features/code-explorer/utils/fileIcons.js +41 -39
- package/dist/features/dashboard/Dashboard.js +79 -121
- package/dist/features/dashboard/RunItem.js +50 -68
- package/dist/features/dashboard/RunList.js +17 -28
- package/dist/features/debug/components/ConfigFlowViewer.js +49 -67
- package/dist/features/debug/components/WorkflowDebugHeader.js +30 -46
- package/dist/features/debug/components/WorkflowDebugLegend.js +56 -68
- package/dist/features/debug/components/WorkflowFlowViewer.js +76 -96
- package/dist/features/debug/components/workflow-flow/StateNode.js +73 -102
- package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +35 -40
- package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +61 -94
- package/dist/features/debug/index.js +3 -3
- package/dist/features/debug/lib/edge-paths.js +33 -31
- package/dist/features/debug/lib/flow-utils.js +147 -145
- package/dist/features/documents/DocumentRenderer.js +73 -77
- package/dist/features/documents/components/DocumentItem.js +21 -24
- package/dist/features/documents/components/DocumentList.js +39 -45
- package/dist/features/documents/components/DocumentMetadataPills.js +44 -59
- package/dist/features/documents/document-details/DocumentDetails.js +298 -413
- package/dist/features/documents/document-details/PromptDetails.js +105 -142
- package/dist/features/documents/index.js +4 -4
- package/dist/features/documents/renderers/AiMessage.js +39 -48
- package/dist/features/documents/renderers/AiMessageContent.js +108 -164
- package/dist/features/documents/renderers/ChoicesRenderer.js +77 -89
- package/dist/features/documents/renderers/ClaudeMessage.js +74 -91
- package/dist/features/documents/renderers/ConfirmPromptRenderer.js +44 -53
- package/dist/features/documents/renderers/DocumentDebugRenderer.js +26 -30
- package/dist/features/documents/renderers/DocumentFormRenderer.js +69 -85
- package/dist/features/documents/renderers/DocumentMessageRenderer.js +10 -9
- package/dist/features/documents/renderers/ErrorMessageRenderer.js +11 -13
- package/dist/features/documents/renderers/LinkMessageRenderer.js +15 -14
- package/dist/features/documents/renderers/MarkdownMessageRenderer.js +8 -10
- package/dist/features/documents/renderers/PlainMessageRenderer.js +7 -9
- package/dist/features/documents/renderers/SecretInputRenderer.js +37 -35
- package/dist/features/documents/renderers/TextPromptRenderer.js +45 -54
- package/dist/features/documents/renderers/useDocumentTransition.js +9 -7
- package/dist/features/health/LocalHealthCheck.js +54 -53
- package/dist/features/health/index.js +1 -1
- package/dist/features/oauth/OAuthCallbackPage.js +2 -2
- package/dist/features/oauth/OAuthPromptRenderer.js +148 -197
- package/dist/features/oauth/index.js +2 -2
- package/dist/features/oauth/useOAuthPopup.js +52 -71
- package/dist/features/runs/Runs.js +145 -187
- package/dist/features/workbench/Workbench.js +72 -98
- package/dist/features/workbench/WorkflowItem.js +49 -68
- package/dist/features/workbench/WorkflowList.js +51 -66
- package/dist/features/workbench/components/NewRunDialog.js +212 -309
- package/dist/features/workbench/components/RemoteFileTabsBar.js +18 -17
- package/dist/features/workbench/components/RemoteFileTree.js +54 -85
- package/dist/features/workbench/components/WorkbenchFilesPanel.js +52 -63
- package/dist/features/workbench/components/WorkbenchFloatingPanel.js +34 -51
- package/dist/features/workbench/components/WorkbenchFlowPanel.js +35 -44
- package/dist/features/workbench/components/WorkbenchIconSidebar.js +50 -68
- package/dist/features/workbench/components/WorkbenchPreviewPanel.js +51 -49
- package/dist/features/workbench/components/WorkbenchSecretsPanel.js +143 -172
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +49 -60
- package/dist/features/workbench/components/WorkflowForms.js +17 -23
- package/dist/features/workbench/components/WorkflowHistoryItem.js +96 -122
- package/dist/features/workbench/components/WorkflowHistoryList.js +31 -54
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +70 -99
- package/dist/features/workbench/hooks/useAutoScrollBottom.js +21 -25
- package/dist/features/workbench/hooks/useScrollToListItem.js +20 -21
- package/dist/features/workbench/hooks/useWorkflowData.js +31 -44
- package/dist/features/workbench/hooks/useWorkflowListState.js +13 -12
- package/dist/features/workbench/index.js +7 -7
- package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +123 -138
- package/dist/features/workbench/providers/ScrollProvider.js +15 -19
- package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +76 -75
- package/dist/features/workspaces/Workspaces.js +161 -226
- package/dist/features/workspaces/components/CreateWorkspace.js +137 -194
- package/dist/features/workspaces/components/EnvironmentSlotSelector.js +27 -25
- package/dist/features/workspaces/components/ExecutionTimeline.js +143 -185
- package/dist/features/workspaces/components/NewWorkflowRunDialog.js +18 -26
- package/dist/features/workspaces/components/WorkflowRunForm.js +85 -133
- package/dist/features/workspaces/components/WorkspaceHomePage.js +59 -80
- package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +52 -69
- package/dist/features/workspaces/components/workflow-form/HeaderSection.js +27 -41
- package/dist/features/workspaces/components/workflow-form/SelectionView.js +64 -103
- package/dist/features/workspaces/index.js +3 -3
- package/dist/frontend/studio/node_modules/lodash/_Symbol.js +9 -0
- package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +15 -0
- package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +13 -0
- package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +8 -0
- package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +19 -0
- package/dist/frontend/studio/node_modules/lodash/_objectToString.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/_root.js +10 -0
- package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +13 -0
- package/dist/{node_modules → frontend/studio/node_modules}/lodash/debounce.js +10 -8
- package/dist/frontend/studio/node_modules/lodash/isObject.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +11 -0
- package/dist/frontend/studio/node_modules/lodash/isSymbol.js +14 -0
- package/dist/frontend/studio/node_modules/lodash/now.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/toNumber.js +24 -0
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/query-keys.js +33 -31
- package/dist/hooks/use-mobile.js +12 -11
- package/dist/hooks/useApi.js +16 -14
- package/dist/hooks/useAuth.js +38 -53
- package/dist/hooks/useConfig.js +26 -37
- package/dist/hooks/useDashboard.js +12 -15
- package/dist/hooks/useDebounce.js +12 -11
- package/dist/hooks/useDocuments.js +23 -35
- package/dist/hooks/useFiles.js +1 -2
- package/dist/hooks/useProcessor.js +14 -17
- package/dist/hooks/useSecrets.js +45 -64
- package/dist/hooks/useWorkflows.js +109 -161
- package/dist/hooks/useWorkspaces.js +83 -123
- package/dist/index.d.ts +0 -1304
- package/dist/index.js +80 -80
- package/dist/lib/requireParam.js +4 -2
- package/dist/lib/utils.js +7 -5
- package/dist/loopstack-studio.css +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -4
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +8 -6
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +19 -20
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +87 -88
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +16 -13
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +4 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +36 -34
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +138 -110
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +13 -11
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +5 -3
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +4 -2
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +4 -2
- package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1812 -1913
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +10 -8
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +12 -10
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +20 -18
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +10 -8
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +7 -5
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +38 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +33 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +1208 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +67 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +34 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +59 -45
- package/dist/node_modules/@shikijs/core/dist/index.js +583 -1119
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +163 -148
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +4 -2
- package/dist/node_modules/@shikijs/langs/dist/abap.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ada.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/angular-html.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/angular-template.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/apache.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/apex.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/apl.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/applescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ara.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/asm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/astro.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/awk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ballerina.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bat.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/beancount.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/berry.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bibtex.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bicep.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bird2.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/blade.js +19 -17
- package/dist/node_modules/@shikijs/langs/dist/bsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/c.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/c3.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cadence.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cairo.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/clarity.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/clojure.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cmake.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/codeowners.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/codeql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/coffee.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/coq.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/cpp.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/crystal.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/csharp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/css.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/csv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cue.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cypher.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/d.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dart.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dax.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/desktop.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/diff.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/docker.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dotenv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/edge.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/elixir.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/elm.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/erb.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fennel.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fish.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fluent.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gdresource.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gdshader.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/genie.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gherkin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/git-commit.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gleam.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/glsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gn.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/go.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/graphql.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/groovy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hack.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/haml.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/handlebars.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/haskell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hcl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hjson.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hlsl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/html.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/http.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/hurl.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/hxml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/hy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/imba.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ini.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/java.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/javascript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/jinja.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/jison.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/json.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/json5.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonc.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jssm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/julia.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/just.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/kdl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/kotlin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/kusto.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/latex.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/lean.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/less.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/liquid.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/llvm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/log.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/logo.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/lua.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/luau.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/make.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/marko.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/matlab.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mdc.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/mdx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mojo.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/moonbit.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/move.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/narrat.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nginx.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nim.js +19 -17
- package/dist/node_modules/@shikijs/langs/dist/nix.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nushell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/objective-c.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ocaml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/odin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/openscad.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/pascal.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/perl.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/php.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/pkl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/plsql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/po.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/polar.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/postcss.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/powerquery.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/powershell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/prisma.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/prolog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/proto.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/pug.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/puppet.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/python.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/qml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/qmldir.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/qss.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/r.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/racket.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/raku.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/razor.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/reg.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/regexp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rel.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/riscv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ron.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rst.js +21 -19
- package/dist/node_modules/@shikijs/langs/dist/ruby.js +29 -27
- package/dist/node_modules/@shikijs/langs/dist/rust.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/sas.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sass.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scala.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scheme.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scss.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sdbl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/shellscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/shellsession.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/solidity.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/soy.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sparql.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/splunk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/sql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/stata.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/stylus.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/surrealql.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/svelte.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/swift.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/systemd.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/talonscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tasl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tcl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/templ.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/terraform.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tex.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/toml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/tsv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tsx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/turtle.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/twig.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/typescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/typespec.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/typst.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/v.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vala.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vb.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/verilog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vhdl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/viml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-html.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/vue.js +25 -23
- package/dist/node_modules/@shikijs/langs/dist/vyper.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wasm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wenyan.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wgsl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wikitext.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wit.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wolfram.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/xml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/xsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/yaml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/zenscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/zig.js +3 -2
- package/dist/node_modules/@shikijs/primitive/dist/index.js +540 -0
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dracula.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/horizon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/houston.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/laserwave.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/light-plus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/min-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/min-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/monokai.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/night-owl.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/nord.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/one-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/plastic.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/poimandres.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/red.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vesper.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +4 -2
- package/dist/node_modules/@shikijs/types/dist/index.js +4 -2
- package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +949 -947
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +6 -4
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
- package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +905 -0
- package/dist/node_modules/@xyflow/react/dist/esm/index.js +904 -901
- package/dist/node_modules/@xyflow/system/dist/esm/index.js +1226 -1222
- package/dist/node_modules/bail/index.js +4 -2
- package/dist/node_modules/ccount/index.js +4 -2
- package/dist/node_modules/character-entities-html4/index.js +4 -2
- package/dist/node_modules/character-entities-legacy/index.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +6 -4
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +11 -9
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +38 -45
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +35 -36
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +26 -25
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +204 -226
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +18 -18
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +20 -19
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +14 -13
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +195 -200
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -4
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +28 -28
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +165 -170
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +17 -17
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +50 -50
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +76 -83
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +21 -21
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +117 -121
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +12 -6
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +51 -51
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +15 -14
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +81 -80
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +229 -217
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +87 -86
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +36 -44
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +287 -309
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +115 -126
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +73 -70
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +12 -10
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +45 -54
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +29 -30
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +242 -240
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +134 -133
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +11 -10
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
- package/dist/node_modules/classcat/index.js +5 -3
- package/dist/node_modules/comma-separated-tokens/index.js +5 -3
- package/dist/node_modules/cose-base/cose-base.js +21 -21
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7935 -7935
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +8 -6
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +8 -6
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +6 -4
- package/dist/node_modules/d3/src/index.js +95 -95
- package/dist/node_modules/d3-array/src/ascending.js +4 -2
- package/dist/node_modules/d3-array/src/bisect.js +8 -8
- package/dist/node_modules/d3-array/src/bisector.js +8 -6
- package/dist/node_modules/d3-array/src/descending.js +4 -2
- package/dist/node_modules/d3-array/src/max.js +4 -2
- package/dist/node_modules/d3-array/src/min.js +4 -2
- package/dist/node_modules/d3-array/src/number.js +4 -2
- package/dist/node_modules/d3-array/src/range.js +4 -2
- package/dist/node_modules/d3-array/src/ticks.js +13 -11
- package/dist/node_modules/d3-axis/src/axis.js +48 -46
- package/dist/node_modules/d3-axis/src/identity.js +4 -2
- package/dist/node_modules/d3-brush/src/brush.js +6 -4
- package/dist/node_modules/d3-color/src/color.js +86 -84
- package/dist/node_modules/d3-color/src/define.js +5 -3
- package/dist/node_modules/d3-color/src/lab.js +45 -43
- package/dist/node_modules/d3-color/src/math.js +4 -2
- package/dist/node_modules/d3-dispatch/src/dispatch.js +18 -17
- package/dist/node_modules/d3-drag/src/constant.js +4 -2
- package/dist/node_modules/d3-drag/src/drag.js +77 -75
- package/dist/node_modules/d3-drag/src/event.js +5 -3
- package/dist/node_modules/d3-drag/src/nodrag.js +11 -9
- package/dist/node_modules/d3-drag/src/noevent.js +6 -4
- package/dist/node_modules/d3-ease/src/cubic.js +4 -2
- package/dist/node_modules/d3-format/src/defaultLocale.js +8 -6
- package/dist/node_modules/d3-format/src/exponent.js +6 -4
- package/dist/node_modules/d3-format/src/formatDecimal.js +5 -3
- package/dist/node_modules/d3-format/src/formatGroup.js +4 -2
- package/dist/node_modules/d3-format/src/formatNumerals.js +4 -2
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +10 -8
- package/dist/node_modules/d3-format/src/formatRounded.js +6 -4
- package/dist/node_modules/d3-format/src/formatSpecifier.js +10 -8
- package/dist/node_modules/d3-format/src/formatTrim.js +4 -2
- package/dist/node_modules/d3-format/src/formatTypes.js +15 -13
- package/dist/node_modules/d3-format/src/identity.js +4 -2
- package/dist/node_modules/d3-format/src/locale.js +33 -31
- package/dist/node_modules/d3-format/src/precisionFixed.js +6 -4
- package/dist/node_modules/d3-format/src/precisionPrefix.js +6 -4
- package/dist/node_modules/d3-format/src/precisionRound.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/accessors.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/constant.js +5 -3
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +46 -44
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +16 -14
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +11 -9
- package/dist/node_modules/d3-interpolate/src/array.js +6 -4
- package/dist/node_modules/d3-interpolate/src/basis.js +6 -4
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +6 -4
- package/dist/node_modules/d3-interpolate/src/color.js +19 -17
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -2
- package/dist/node_modules/d3-interpolate/src/date.js +4 -2
- package/dist/node_modules/d3-interpolate/src/hcl.js +8 -6
- package/dist/node_modules/d3-interpolate/src/number.js +4 -2
- package/dist/node_modules/d3-interpolate/src/numberArray.js +5 -3
- package/dist/node_modules/d3-interpolate/src/object.js +6 -4
- package/dist/node_modules/d3-interpolate/src/rgb.js +11 -9
- package/dist/node_modules/d3-interpolate/src/round.js +4 -2
- package/dist/node_modules/d3-interpolate/src/string.js +16 -14
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +7 -5
- package/dist/node_modules/d3-interpolate/src/transform/index.js +13 -11
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -8
- package/dist/node_modules/d3-interpolate/src/value.js +14 -12
- package/dist/node_modules/d3-interpolate/src/zoom.js +13 -11
- package/dist/node_modules/d3-path/src/path.js +16 -14
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +13 -12
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +19 -17
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +5 -3
- package/dist/node_modules/d3-sankey/src/align.js +12 -10
- package/dist/node_modules/d3-sankey/src/constant.js +4 -2
- package/dist/node_modules/d3-sankey/src/sankey.js +170 -168
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +8 -6
- package/dist/node_modules/d3-scale/src/band.js +11 -9
- package/dist/node_modules/d3-scale/src/constant.js +4 -2
- package/dist/node_modules/d3-scale/src/continuous.js +49 -47
- package/dist/node_modules/d3-scale/src/init.js +4 -2
- package/dist/node_modules/d3-scale/src/linear.js +15 -13
- package/dist/node_modules/d3-scale/src/nice.js +4 -2
- package/dist/node_modules/d3-scale/src/number.js +4 -2
- package/dist/node_modules/d3-scale/src/ordinal.js +18 -16
- package/dist/node_modules/d3-scale/src/tickFormat.js +16 -14
- package/dist/node_modules/d3-scale/src/time.js +36 -34
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +5 -3
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +4 -2
- package/dist/node_modules/d3-selection/src/array.js +4 -2
- package/dist/node_modules/d3-selection/src/constant.js +4 -2
- package/dist/node_modules/d3-selection/src/creator.js +12 -10
- package/dist/node_modules/d3-selection/src/matcher.js +5 -3
- package/dist/node_modules/d3-selection/src/namespace.js +7 -5
- package/dist/node_modules/d3-selection/src/namespaces.js +5 -3
- package/dist/node_modules/d3-selection/src/pointer.js +6 -4
- package/dist/node_modules/d3-selection/src/select.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/append.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/attr.js +19 -17
- package/dist/node_modules/d3-selection/src/selection/call.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/classed.js +25 -23
- package/dist/node_modules/d3-selection/src/selection/clone.js +7 -5
- package/dist/node_modules/d3-selection/src/selection/data.js +18 -16
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +12 -10
- package/dist/node_modules/d3-selection/src/selection/each.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/enter.js +13 -11
- package/dist/node_modules/d3-selection/src/selection/exit.js +7 -5
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/html.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/index.js +80 -79
- package/dist/node_modules/d3-selection/src/selection/insert.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/join.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/lower.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/merge.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/node.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/on.js +11 -9
- package/dist/node_modules/d3-selection/src/selection/order.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/property.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/raise.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/remove.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +11 -9
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +10 -8
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +10 -8
- package/dist/node_modules/d3-selection/src/selection/size.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/sort.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/style.js +14 -12
- package/dist/node_modules/d3-selection/src/selection/text.js +8 -6
- package/dist/node_modules/d3-selection/src/selector.js +6 -4
- package/dist/node_modules/d3-selection/src/selectorAll.js +6 -4
- package/dist/node_modules/d3-selection/src/sourceEvent.js +4 -2
- package/dist/node_modules/d3-selection/src/window.js +4 -2
- package/dist/node_modules/d3-shape/src/arc.js +38 -36
- package/dist/node_modules/d3-shape/src/array.js +3 -2
- package/dist/node_modules/d3-shape/src/constant.js +4 -2
- package/dist/node_modules/d3-shape/src/curve/basis.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +18 -16
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/bump.js +15 -13
- package/dist/node_modules/d3-shape/src/curve/bundle.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +12 -10
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +19 -17
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +13 -11
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/linear.js +7 -5
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +12 -10
- package/dist/node_modules/d3-shape/src/curve/monotone.js +23 -21
- package/dist/node_modules/d3-shape/src/curve/natural.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/step.js +19 -17
- package/dist/node_modules/d3-shape/src/descending.js +4 -2
- package/dist/node_modules/d3-shape/src/identity.js +4 -2
- package/dist/node_modules/d3-shape/src/line.js +19 -17
- package/dist/node_modules/d3-shape/src/math.js +8 -6
- package/dist/node_modules/d3-shape/src/noop.js +4 -2
- package/dist/node_modules/d3-shape/src/path.js +6 -4
- package/dist/node_modules/d3-shape/src/pie.js +15 -13
- package/dist/node_modules/d3-shape/src/point.js +5 -3
- package/dist/node_modules/d3-time/src/day.js +17 -15
- package/dist/node_modules/d3-time/src/duration.js +4 -2
- package/dist/node_modules/d3-time/src/hour.js +16 -14
- package/dist/node_modules/d3-time/src/interval.js +7 -5
- package/dist/node_modules/d3-time/src/millisecond.js +7 -5
- package/dist/node_modules/d3-time/src/minute.js +16 -14
- package/dist/node_modules/d3-time/src/month.js +14 -12
- package/dist/node_modules/d3-time/src/second.js +9 -7
- package/dist/node_modules/d3-time/src/ticks.js +66 -64
- package/dist/node_modules/d3-time/src/week.js +21 -19
- package/dist/node_modules/d3-time/src/year.js +10 -8
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +8 -6
- package/dist/node_modules/d3-time-format/src/locale.js +346 -344
- package/dist/node_modules/d3-timer/src/timeout.js +6 -4
- package/dist/node_modules/d3-timer/src/timer.js +33 -31
- package/dist/node_modules/d3-transition/src/index.js +2 -2
- package/dist/node_modules/d3-transition/src/interrupt.js +4 -3
- package/dist/node_modules/d3-transition/src/selection/index.js +5 -4
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +6 -4
- package/dist/node_modules/d3-transition/src/selection/transition.js +16 -14
- package/dist/node_modules/d3-transition/src/transition/attr.js +28 -26
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +13 -11
- package/dist/node_modules/d3-transition/src/transition/delay.js +11 -9
- package/dist/node_modules/d3-transition/src/transition/duration.js +11 -9
- package/dist/node_modules/d3-transition/src/transition/ease.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/end.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/index.js +63 -61
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -7
- package/dist/node_modules/d3-transition/src/transition/merge.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/on.js +9 -7
- package/dist/node_modules/d3-transition/src/transition/remove.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/schedule.js +20 -18
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/selection.js +7 -5
- package/dist/node_modules/d3-transition/src/transition/style.js +21 -19
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/text.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/textTween.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/transition.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/tween.js +14 -12
- package/dist/node_modules/d3-zoom/src/constant.js +4 -2
- package/dist/node_modules/d3-zoom/src/event.js +4 -2
- package/dist/node_modules/d3-zoom/src/index.js +2 -2
- package/dist/node_modules/d3-zoom/src/noevent.js +5 -3
- package/dist/node_modules/d3-zoom/src/transform.js +12 -10
- package/dist/node_modules/d3-zoom/src/zoom.js +116 -114
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +14 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +11 -9
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +36 -34
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +9 -7
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +51 -49
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +165 -163
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +45 -43
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +12 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +8 -6
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +14 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +22 -20
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +36 -34
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +16 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +32 -30
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +30 -28
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +20 -18
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +12 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +150 -148
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +20 -18
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +19 -17
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +16 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +64 -63
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +15 -13
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +84 -82
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +15 -13
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +3 -2
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +3 -2
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +13 -11
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +131 -129
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +23 -21
- package/dist/node_modules/dayjs/dayjs.min.js +6 -4
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +6 -4
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +6 -4
- package/dist/node_modules/dayjs/plugin/duration.js +6 -4
- package/dist/node_modules/dayjs/plugin/isoWeek.js +6 -4
- package/dist/node_modules/decode-named-character-reference/index.dom.js +7 -5
- package/dist/node_modules/devlop/lib/default.js +4 -2
- package/dist/node_modules/dompurify/dist/purify.es.js +203 -201
- package/dist/node_modules/entities/dist/esm/decode-codepoint.js +6 -4
- package/dist/node_modules/entities/dist/esm/decode.js +87 -85
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -2
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +6 -4
- package/dist/node_modules/extend/index.js +9 -6
- package/dist/node_modules/hast-util-from-dom/lib/index.js +32 -30
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -8
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +82 -80
- package/dist/node_modules/hast-util-is-element/lib/index.js +17 -15
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +7 -5
- package/dist/node_modules/hast-util-raw/lib/index.js +136 -134
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +23 -21
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +5 -3
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +250 -249
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +6 -4
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +17 -15
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1497 -1495
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +148 -146
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +20 -19
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +800 -798
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +33 -31
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +10 -8
- package/dist/node_modules/hast-util-sanitize/lib/index.js +106 -104
- package/dist/node_modules/hast-util-sanitize/lib/schema.js +12 -11
- package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +9 -7
- package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +4 -2
- package/dist/node_modules/hast-util-to-html/lib/handle/element.js +25 -23
- package/dist/node_modules/hast-util-to-html/lib/handle/index.js +22 -21
- package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +6 -4
- package/dist/node_modules/hast-util-to-html/lib/handle/root.js +4 -2
- package/dist/node_modules/hast-util-to-html/lib/handle/text.js +7 -5
- package/dist/node_modules/hast-util-to-html/lib/index.js +38 -36
- package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +70 -68
- package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +6 -4
- package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +32 -30
- package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +10 -9
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +192 -190
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +71 -69
- package/dist/node_modules/hast-util-to-text/lib/index.js +61 -59
- package/dist/node_modules/hast-util-whitespace/lib/index.js +8 -6
- package/dist/node_modules/hastscript/lib/create-h.js +26 -24
- package/dist/node_modules/hastscript/lib/index.js +7 -5
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +4 -2
- package/dist/node_modules/html-url-attributes/lib/index.js +4 -2
- package/dist/node_modules/html-void-elements/index.js +4 -2
- package/dist/node_modules/inline-style-parser/cjs/index.js +6 -4
- package/dist/node_modules/internmap/src/index.js +22 -20
- package/dist/node_modules/katex/dist/katex.js +2914 -2873
- package/dist/node_modules/khroma/dist/channels/index.js +23 -21
- package/dist/node_modules/khroma/dist/channels/reusable.js +5 -3
- package/dist/node_modules/khroma/dist/channels/type.js +7 -5
- package/dist/node_modules/khroma/dist/color/hex.js +10 -8
- package/dist/node_modules/khroma/dist/color/hsl.js +19 -17
- package/dist/node_modules/khroma/dist/color/index.js +17 -15
- package/dist/node_modules/khroma/dist/color/keyword.js +10 -8
- package/dist/node_modules/khroma/dist/color/rgb.js +14 -12
- package/dist/node_modules/khroma/dist/constants.js +7 -5
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -6
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +8 -6
- package/dist/node_modules/khroma/dist/methods/change.js +9 -7
- package/dist/node_modules/khroma/dist/methods/channel.js +6 -4
- package/dist/node_modules/khroma/dist/methods/darken.js +5 -3
- package/dist/node_modules/khroma/dist/methods/invert.js +8 -6
- package/dist/node_modules/khroma/dist/methods/is_dark.js +5 -3
- package/dist/node_modules/khroma/dist/methods/is_light.js +5 -3
- package/dist/node_modules/khroma/dist/methods/lighten.js +5 -3
- package/dist/node_modules/khroma/dist/methods/luminance.js +8 -6
- package/dist/node_modules/khroma/dist/methods/mix.js +8 -6
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -13
- package/dist/node_modules/khroma/dist/methods/transparentize.js +5 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +8 -6
- package/dist/node_modules/khroma/dist/utils/index.js +10 -8
- package/dist/node_modules/khroma/dist/utils/lang.js +4 -2
- package/dist/node_modules/khroma/dist/utils/unit.js +4 -2
- package/dist/node_modules/langium/lib/default-module.js +66 -64
- package/dist/node_modules/langium/lib/dependency-injection.js +37 -39
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +7 -5
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +8 -6
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +204 -202
- package/dist/node_modules/langium/lib/languages/generated/ast.js +343 -534
- package/dist/node_modules/langium/lib/languages/grammar-config.js +10 -8
- package/dist/node_modules/langium/lib/parser/async-parser.js +4 -76
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +8 -6
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +56 -54
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +9 -7
- package/dist/node_modules/langium/lib/parser/langium-parser.js +190 -188
- package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +204 -203
- package/dist/node_modules/langium/lib/parser/token-builder.js +32 -30
- package/dist/node_modules/langium/lib/parser/value-converter.js +17 -15
- package/dist/node_modules/langium/lib/references/linker.js +104 -103
- package/dist/node_modules/langium/lib/references/name-provider.js +9 -7
- package/dist/node_modules/langium/lib/references/references.js +53 -51
- package/dist/node_modules/langium/lib/references/scope-computation.js +14 -12
- package/dist/node_modules/langium/lib/references/scope-provider.js +13 -11
- package/dist/node_modules/langium/lib/references/scope.js +27 -56
- package/dist/node_modules/langium/lib/serializer/hydrator.js +71 -69
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +23 -21
- package/dist/node_modules/langium/lib/service-registry.js +7 -5
- package/dist/node_modules/langium/lib/syntax-tree.js +33 -31
- package/dist/node_modules/langium/lib/utils/ast-utils.js +77 -112
- package/dist/node_modules/langium/lib/utils/caching.js +33 -42
- package/dist/node_modules/langium/lib/utils/cancellation.js +7 -5
- package/dist/node_modules/langium/lib/utils/collections.js +35 -33
- package/dist/node_modules/langium/lib/utils/cst-utils.js +46 -161
- package/dist/node_modules/langium/lib/utils/disposable.js +5 -3
- package/dist/node_modules/langium/lib/utils/errors.js +8 -9
- package/dist/node_modules/langium/lib/utils/event.js +7 -5
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +16 -14
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +172 -249
- package/dist/node_modules/langium/lib/utils/promise-utils.js +18 -19
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +53 -76
- package/dist/node_modules/langium/lib/utils/stream.js +155 -153
- package/dist/node_modules/langium/lib/utils/uri-utils.js +14 -12
- package/dist/node_modules/langium/lib/validation/document-validator.js +104 -103
- package/dist/node_modules/langium/lib/validation/validation-registry.js +15 -14
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +19 -17
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +4 -2
- package/dist/node_modules/langium/lib/workspace/configuration.js +7 -5
- package/dist/node_modules/langium/lib/workspace/document-builder.js +131 -134
- package/dist/node_modules/langium/lib/workspace/documents.js +85 -83
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +5 -4
- package/dist/node_modules/langium/lib/workspace/index-manager.js +16 -14
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +11 -9
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +35 -33
- package/dist/node_modules/layout-base/layout-base.js +6 -4
- package/dist/node_modules/lodash-es/_DataView.js +6 -4
- package/dist/node_modules/lodash-es/_Hash.js +14 -13
- package/dist/node_modules/lodash-es/_ListCache.js +14 -13
- package/dist/node_modules/lodash-es/_Map.js +6 -4
- package/dist/node_modules/lodash-es/_MapCache.js +14 -13
- package/dist/node_modules/lodash-es/_Promise.js +6 -4
- package/dist/node_modules/lodash-es/_Set.js +6 -4
- package/dist/node_modules/lodash-es/_SetCache.js +10 -9
- package/dist/node_modules/lodash-es/_Stack.js +12 -11
- package/dist/node_modules/lodash-es/_Symbol.js +5 -3
- package/dist/node_modules/lodash-es/_Uint8Array.js +5 -3
- package/dist/node_modules/lodash-es/_WeakMap.js +6 -4
- package/dist/node_modules/lodash-es/_apply.js +4 -3
- package/dist/node_modules/lodash-es/_arrayEach.js +4 -3
- package/dist/node_modules/lodash-es/_arrayFilter.js +4 -3
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -5
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +4 -3
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +13 -12
- package/dist/node_modules/lodash-es/_arrayMap.js +4 -3
- package/dist/node_modules/lodash-es/_arrayPush.js +4 -3
- package/dist/node_modules/lodash-es/_arrayReduce.js +4 -3
- package/dist/node_modules/lodash-es/_arraySome.js +4 -3
- package/dist/node_modules/lodash-es/_asciiSize.js +5 -3
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -6
- package/dist/node_modules/lodash-es/_assignValue.js +8 -7
- package/dist/node_modules/lodash-es/_assocIndexOf.js +6 -5
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -6
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -6
- package/dist/node_modules/lodash-es/_baseAssignValue.js +6 -5
- package/dist/node_modules/lodash-es/_baseClone.js +51 -50
- package/dist/node_modules/lodash-es/_baseCreate.js +7 -5
- package/dist/node_modules/lodash-es/_baseEach.js +6 -4
- package/dist/node_modules/lodash-es/_baseExtremum.js +6 -5
- package/dist/node_modules/lodash-es/_baseFilter.js +6 -5
- package/dist/node_modules/lodash-es/_baseFindIndex.js +4 -3
- package/dist/node_modules/lodash-es/_baseFlatten.js +8 -7
- package/dist/node_modules/lodash-es/_baseFor.js +5 -3
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -6
- package/dist/node_modules/lodash-es/_baseGet.js +8 -7
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +7 -6
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -8
- package/dist/node_modules/lodash-es/_baseGt.js +4 -3
- package/dist/node_modules/lodash-es/_baseHas.js +6 -5
- package/dist/node_modules/lodash-es/_baseHasIn.js +4 -3
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -6
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +23 -22
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsMatch.js +9 -8
- package/dist/node_modules/lodash-es/_baseIsNaN.js +4 -3
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -9
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -9
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -9
- package/dist/node_modules/lodash-es/_baseKeys.js +9 -8
- package/dist/node_modules/lodash-es/_baseKeysIn.js +11 -10
- package/dist/node_modules/lodash-es/_baseLt.js +4 -3
- package/dist/node_modules/lodash-es/_baseMap.js +8 -7
- package/dist/node_modules/lodash-es/_baseMatches.js +10 -9
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +15 -14
- package/dist/node_modules/lodash-es/_baseMerge.js +16 -15
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +24 -23
- package/dist/node_modules/lodash-es/_baseOrderBy.js +23 -22
- package/dist/node_modules/lodash-es/_basePick.js +8 -7
- package/dist/node_modules/lodash-es/_basePickBy.js +9 -8
- package/dist/node_modules/lodash-es/_baseProperty.js +4 -3
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +6 -5
- package/dist/node_modules/lodash-es/_baseRange.js +6 -5
- package/dist/node_modules/lodash-es/_baseReduce.js +4 -3
- package/dist/node_modules/lodash-es/_baseRest.js +8 -7
- package/dist/node_modules/lodash-es/_baseSet.js +14 -13
- package/dist/node_modules/lodash-es/_baseSetToString.js +10 -8
- package/dist/node_modules/lodash-es/_baseSortBy.js +4 -3
- package/dist/node_modules/lodash-es/_baseTimes.js +4 -3
- package/dist/node_modules/lodash-es/_baseToString.js +13 -12
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -6
- package/dist/node_modules/lodash-es/_baseUnary.js +4 -3
- package/dist/node_modules/lodash-es/_baseUniq.js +17 -16
- package/dist/node_modules/lodash-es/_baseValues.js +6 -5
- package/dist/node_modules/lodash-es/_baseZipObject.js +4 -3
- package/dist/node_modules/lodash-es/_cacheHas.js +4 -3
- package/dist/node_modules/lodash-es/_castFunction.js +6 -5
- package/dist/node_modules/lodash-es/_castPath.js +9 -8
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +6 -5
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -8
- package/dist/node_modules/lodash-es/_cloneDataView.js +6 -5
- package/dist/node_modules/lodash-es/_cloneRegExp.js +6 -5
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -6
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +6 -5
- package/dist/node_modules/lodash-es/_compareAscending.js +6 -5
- package/dist/node_modules/lodash-es/_compareMultiple.js +6 -5
- package/dist/node_modules/lodash-es/_copyArray.js +4 -3
- package/dist/node_modules/lodash-es/_copyObject.js +7 -6
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -6
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -6
- package/dist/node_modules/lodash-es/_coreJsData.js +5 -3
- package/dist/node_modules/lodash-es/_createAssigner.js +8 -7
- package/dist/node_modules/lodash-es/_createBaseEach.js +6 -5
- package/dist/node_modules/lodash-es/_createBaseFor.js +4 -3
- package/dist/node_modules/lodash-es/_createFind.js +10 -9
- package/dist/node_modules/lodash-es/_createRange.js +8 -7
- package/dist/node_modules/lodash-es/_createSet.js +9 -7
- package/dist/node_modules/lodash-es/_defineProperty.js +6 -4
- package/dist/node_modules/lodash-es/_equalArrays.js +12 -11
- package/dist/node_modules/lodash-es/_equalByTag.js +29 -28
- package/dist/node_modules/lodash-es/_equalObjects.js +9 -8
- package/dist/node_modules/lodash-es/_flatRest.js +8 -7
- package/dist/node_modules/lodash-es/_freeGlobal.js +4 -2
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -7
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -7
- package/dist/node_modules/lodash-es/_getMapData.js +6 -5
- package/dist/node_modules/lodash-es/_getMatchData.js +8 -7
- package/dist/node_modules/lodash-es/_getNative.js +8 -7
- package/dist/node_modules/lodash-es/_getPrototype.js +5 -3
- package/dist/node_modules/lodash-es/_getRawTag.js +10 -9
- package/dist/node_modules/lodash-es/_getSymbols.js +9 -7
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +10 -8
- package/dist/node_modules/lodash-es/_getTag.js +21 -19
- package/dist/node_modules/lodash-es/_getValue.js +4 -3
- package/dist/node_modules/lodash-es/_hasPath.js +13 -12
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -5
- package/dist/node_modules/lodash-es/_hashClear.js +6 -5
- package/dist/node_modules/lodash-es/_hashDelete.js +5 -4
- package/dist/node_modules/lodash-es/_hashGet.js +9 -8
- package/dist/node_modules/lodash-es/_hashHas.js +7 -6
- package/dist/node_modules/lodash-es/_hashSet.js +7 -6
- package/dist/node_modules/lodash-es/_initCloneArray.js +6 -5
- package/dist/node_modules/lodash-es/_initCloneByTag.js +29 -28
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -7
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -8
- package/dist/node_modules/lodash-es/_isIndex.js +6 -5
- package/dist/node_modules/lodash-es/_isIterateeCall.js +10 -9
- package/dist/node_modules/lodash-es/_isKey.js +9 -8
- package/dist/node_modules/lodash-es/_isKeyable.js +4 -3
- package/dist/node_modules/lodash-es/_isMasked.js +9 -8
- package/dist/node_modules/lodash-es/_isPrototype.js +6 -5
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheClear.js +4 -3
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -7
- package/dist/node_modules/lodash-es/_listCacheGet.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheSet.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheClear.js +10 -9
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -6
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheSet.js +6 -5
- package/dist/node_modules/lodash-es/_mapToArray.js +4 -3
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +4 -3
- package/dist/node_modules/lodash-es/_memoizeCapped.js +8 -7
- package/dist/node_modules/lodash-es/_nativeCreate.js +5 -3
- package/dist/node_modules/lodash-es/_nativeKeys.js +5 -3
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +4 -3
- package/dist/node_modules/lodash-es/_nodeUtil.js +6 -4
- package/dist/node_modules/lodash-es/_objectToString.js +6 -5
- package/dist/node_modules/lodash-es/_overArg.js +4 -3
- package/dist/node_modules/lodash-es/_overRest.js +9 -8
- package/dist/node_modules/lodash-es/_root.js +5 -3
- package/dist/node_modules/lodash-es/_safeGet.js +4 -3
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -5
- package/dist/node_modules/lodash-es/_setCacheHas.js +4 -3
- package/dist/node_modules/lodash-es/_setToArray.js +4 -3
- package/dist/node_modules/lodash-es/_setToString.js +6 -4
- package/dist/node_modules/lodash-es/_shortOut.js +7 -6
- package/dist/node_modules/lodash-es/_stackClear.js +6 -5
- package/dist/node_modules/lodash-es/_stackDelete.js +4 -3
- package/dist/node_modules/lodash-es/_stackGet.js +4 -3
- package/dist/node_modules/lodash-es/_stackHas.js +4 -3
- package/dist/node_modules/lodash-es/_stackSet.js +11 -10
- package/dist/node_modules/lodash-es/_strictIndexOf.js +4 -3
- package/dist/node_modules/lodash-es/_stringSize.js +8 -7
- package/dist/node_modules/lodash-es/_stringToPath.js +7 -5
- package/dist/node_modules/lodash-es/_toKey.js +8 -7
- package/dist/node_modules/lodash-es/_toSource.js +8 -7
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +6 -5
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -16
- package/dist/node_modules/lodash-es/clone.js +7 -6
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -6
- package/dist/node_modules/lodash-es/constant.js +4 -3
- package/dist/node_modules/lodash-es/defaults.js +13 -11
- package/dist/node_modules/lodash-es/eq.js +4 -3
- package/dist/node_modules/lodash-es/filter.js +9 -8
- package/dist/node_modules/lodash-es/find.js +6 -4
- package/dist/node_modules/lodash-es/findIndex.js +10 -9
- package/dist/node_modules/lodash-es/flatMap.js +7 -6
- package/dist/node_modules/lodash-es/flatten.js +6 -5
- package/dist/node_modules/lodash-es/forEach.js +9 -8
- package/dist/node_modules/lodash-es/forIn.js +8 -7
- package/dist/node_modules/lodash-es/forOwn.js +7 -6
- package/dist/node_modules/lodash-es/get.js +6 -5
- package/dist/node_modules/lodash-es/has.js +7 -6
- package/dist/node_modules/lodash-es/hasIn.js +7 -6
- package/dist/node_modules/lodash-es/identity.js +4 -3
- package/dist/node_modules/lodash-es/isArguments.js +8 -6
- package/dist/node_modules/lodash-es/isArray.js +4 -2
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -6
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -6
- package/dist/node_modules/lodash-es/isBuffer.js +6 -4
- package/dist/node_modules/lodash-es/isEmpty.js +18 -17
- package/dist/node_modules/lodash-es/isFunction.js +10 -9
- package/dist/node_modules/lodash-es/isLength.js +6 -5
- package/dist/node_modules/lodash-es/isMap.js +7 -5
- package/dist/node_modules/lodash-es/isObject.js +4 -3
- package/dist/node_modules/lodash-es/isObjectLike.js +4 -3
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -12
- package/dist/node_modules/lodash-es/isSet.js +7 -5
- package/dist/node_modules/lodash-es/isString.js +9 -8
- package/dist/node_modules/lodash-es/isSymbol.js +8 -7
- package/dist/node_modules/lodash-es/isTypedArray.js +7 -5
- package/dist/node_modules/lodash-es/isUndefined.js +4 -3
- package/dist/node_modules/lodash-es/keys.js +8 -7
- package/dist/node_modules/lodash-es/keysIn.js +8 -7
- package/dist/node_modules/lodash-es/last.js +4 -3
- package/dist/node_modules/lodash-es/map.js +9 -8
- package/dist/node_modules/lodash-es/mapValues.js +9 -8
- package/dist/node_modules/lodash-es/max.js +8 -7
- package/dist/node_modules/lodash-es/memoize.js +9 -8
- package/dist/node_modules/lodash-es/merge.js +7 -5
- package/dist/node_modules/lodash-es/min.js +8 -7
- package/dist/node_modules/lodash-es/minBy.js +8 -7
- package/dist/node_modules/lodash-es/noop.js +4 -3
- package/dist/node_modules/lodash-es/now.js +6 -4
- package/dist/node_modules/lodash-es/pick.js +7 -5
- package/dist/node_modules/lodash-es/property.js +9 -8
- package/dist/node_modules/lodash-es/range.js +5 -3
- package/dist/node_modules/lodash-es/reduce.js +11 -10
- package/dist/node_modules/lodash-es/size.js +13 -12
- package/dist/node_modules/lodash-es/sortBy.js +9 -7
- package/dist/node_modules/lodash-es/stubArray.js +4 -3
- package/dist/node_modules/lodash-es/stubFalse.js +4 -3
- package/dist/node_modules/lodash-es/toFinite.js +7 -6
- package/dist/node_modules/lodash-es/toInteger.js +6 -5
- package/dist/node_modules/lodash-es/toNumber.js +14 -13
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -6
- package/dist/node_modules/lodash-es/toString.js +6 -5
- package/dist/node_modules/lodash-es/union.js +9 -7
- package/dist/node_modules/lodash-es/uniqBy.js +7 -6
- package/dist/node_modules/lodash-es/uniqueId.js +8 -7
- package/dist/node_modules/lodash-es/values.js +7 -6
- package/dist/node_modules/lodash-es/zipObject.js +7 -6
- package/dist/node_modules/longest-streak/index.js +4 -2
- package/dist/node_modules/markdown-table/index.js +11 -9
- package/dist/node_modules/marked/lib/marked.esm.js +687 -685
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +14 -12
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +4 -2
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +182 -180
- package/dist/node_modules/mdast-util-gfm/lib/index.js +20 -18
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +69 -67
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +47 -45
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +15 -13
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +30 -28
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +16 -14
- package/dist/node_modules/mdast-util-math/lib/index.js +15 -13
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +5 -3
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +11 -9
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +55 -53
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +15 -13
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +61 -59
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +18 -16
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +43 -41
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +11 -9
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +12 -10
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +8 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +6 -4
- package/dist/node_modules/mdast-util-to-string/lib/index.js +14 -12
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +695 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +3038 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-YG6GDRKO.js → c4Diagram-AHTNJAMY.js} +581 -573
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +49 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-B4BG7PRW.js → chunk-4TB4RGXK.js} +590 -444
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +7 -5
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +3640 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +342 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +22 -20
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +82 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +570 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +5 -3
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +2348 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +2014 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +8 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +274 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +67 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +1146 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +62 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +32 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +116 -114
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +265 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +101 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +284 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +213 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +133 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-Q2GNP2WA.js → erDiagram-SMLLAGMA.js} +549 -445
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-NV44I4VS.js → flowDiagram-DWJPFMVM.js} +1366 -1345
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +1720 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +730 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +19 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +718 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +885 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-3W4ZIXB7.js → kanban-definition-6JOO6SKY.js} +124 -118
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-VGOIOE7T.js → mindmap-definition-QFDTVHPH.js} +172 -122
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +119 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{quadrantDiagram-AYHSOK5B.js → quadrantDiagram-34T5L4WZ.js} +279 -273
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-UZGBJVZJ.js → requirementDiagram-MS252O5E.js} +100 -66
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +529 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +4159 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +222 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +27 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +1073 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +961 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +578 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +2000 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +492 -445
- package/dist/node_modules/micromark/lib/constructs.js +80 -79
- package/dist/node_modules/micromark/lib/create-tokenizer.js +14 -12
- package/dist/node_modules/micromark/lib/initialize/content.js +9 -7
- package/dist/node_modules/micromark/lib/initialize/document.js +15 -14
- package/dist/node_modules/micromark/lib/initialize/flow.js +9 -7
- package/dist/node_modules/micromark/lib/initialize/text.js +8 -6
- package/dist/node_modules/micromark/lib/parse.js +20 -18
- package/dist/node_modules/micromark/lib/postprocess.js +6 -4
- package/dist/node_modules/micromark/lib/preprocess.js +6 -4
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +20 -18
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +17 -15
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +11 -9
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +15 -13
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +16 -14
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +22 -21
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +16 -15
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +13 -11
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +18 -17
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +30 -29
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +15 -13
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +68 -67
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +66 -64
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +112 -111
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +32 -31
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +12 -10
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +11 -9
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -14
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +122 -120
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +33 -31
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +11 -9
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +6 -4
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +4 -2
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +36 -34
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +20 -18
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +21 -20
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +11 -9
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +8 -6
- package/dist/node_modules/micromark-factory-destination/index.js +10 -8
- package/dist/node_modules/micromark-factory-label/index.js +7 -5
- package/dist/node_modules/micromark-factory-space/index.js +7 -5
- package/dist/node_modules/micromark-factory-title/index.js +8 -6
- package/dist/node_modules/micromark-factory-whitespace/index.js +7 -5
- package/dist/node_modules/micromark-util-character/index.js +14 -12
- package/dist/node_modules/micromark-util-chunked/index.js +6 -4
- package/dist/node_modules/micromark-util-classify-character/index.js +7 -5
- package/dist/node_modules/micromark-util-combine-extensions/index.js +13 -11
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +4 -2
- package/dist/node_modules/micromark-util-decode-string/index.js +11 -9
- package/dist/node_modules/micromark-util-html-tag-name/index.js +4 -2
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -2
- package/dist/node_modules/micromark-util-resolve-all/index.js +4 -2
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +6 -4
- package/dist/node_modules/micromark-util-subtokenize/index.js +10 -8
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +10 -8
- package/dist/node_modules/motion/dist/es/react.js +2 -2
- package/dist/node_modules/nanoid/index.browser.js +6 -4
- package/dist/node_modules/nanoid/url-alphabet/index.js +4 -2
- package/dist/node_modules/property-information/index.js +25 -23
- package/dist/node_modules/property-information/lib/aria.js +41 -39
- package/dist/node_modules/property-information/lib/find.js +18 -16
- package/dist/node_modules/property-information/lib/hast-to-react.js +4 -2
- package/dist/node_modules/property-information/lib/html.js +96 -94
- package/dist/node_modules/property-information/lib/normalize.js +4 -2
- package/dist/node_modules/property-information/lib/svg.js +79 -77
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +6 -4
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -2
- package/dist/node_modules/property-information/lib/util/create.js +10 -8
- package/dist/node_modules/property-information/lib/util/defined-info.js +13 -11
- package/dist/node_modules/property-information/lib/util/info.js +5 -3
- package/dist/node_modules/property-information/lib/util/merge.js +6 -4
- package/dist/node_modules/property-information/lib/util/schema.js +5 -3
- package/dist/node_modules/property-information/lib/util/types.js +15 -14
- package/dist/node_modules/property-information/lib/xlink.js +5 -3
- package/dist/node_modules/property-information/lib/xml.js +5 -3
- package/dist/node_modules/property-information/lib/xmlns.js +7 -5
- package/dist/node_modules/rehype-harden/dist/index.js +47 -45
- package/dist/node_modules/rehype-katex/lib/index.js +25 -23
- package/dist/node_modules/rehype-raw/lib/index.js +6 -4
- package/dist/node_modules/rehype-sanitize/lib/index.js +6 -4
- package/dist/node_modules/remark-gfm/lib/index.js +9 -7
- package/dist/node_modules/remark-math/lib/index.js +9 -7
- package/dist/node_modules/remark-parse/lib/index.js +6 -4
- package/dist/node_modules/remark-rehype/lib/index.js +7 -5
- package/dist/node_modules/remend/dist/index.js +368 -297
- package/dist/node_modules/roughjs/bundled/rough.esm.js +877 -875
- package/dist/node_modules/shiki/dist/bundle-full.js +13 -11
- package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +17 -0
- package/dist/node_modules/shiki/dist/engine-oniguruma.js +7 -0
- package/dist/node_modules/shiki/dist/{langs.js → langs-bundle-full-DfKZStlK.js} +8 -6
- package/dist/node_modules/shiki/dist/themes.js +6 -4
- package/dist/node_modules/shiki/dist/wasm.js +2 -2
- package/dist/node_modules/space-separated-tokens/index.js +5 -3
- package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +2500 -0
- package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +37 -0
- package/dist/node_modules/streamdown/dist/index.js +1 -1
- package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +3 -0
- package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +701 -699
- package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +4 -2
- package/dist/node_modules/stringify-entities/lib/core.js +18 -16
- package/dist/node_modules/stringify-entities/lib/index.js +7 -5
- package/dist/node_modules/stringify-entities/lib/util/format-smart.js +10 -8
- package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +6 -4
- package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +6 -4
- package/dist/node_modules/stringify-entities/lib/util/to-named.js +14 -12
- package/dist/node_modules/style-to-js/cjs/index.js +9 -7
- package/dist/node_modules/style-to-js/cjs/utilities.js +6 -4
- package/dist/node_modules/style-to-object/cjs/index.js +8 -6
- package/dist/node_modules/stylis/src/Enum.js +4 -2
- package/dist/node_modules/stylis/src/Parser.js +38 -36
- package/dist/node_modules/stylis/src/Serializer.js +17 -15
- package/dist/node_modules/stylis/src/Tokenizer.js +53 -51
- package/dist/node_modules/stylis/src/Utility.js +17 -15
- package/dist/node_modules/trim-lines/index.js +10 -8
- package/dist/node_modules/trough/lib/index.js +6 -4
- package/dist/node_modules/ts-dedent/esm/index.js +4 -2
- package/dist/node_modules/unified/lib/callable-instance.js +4 -2
- package/dist/node_modules/unified/lib/index.js +102 -101
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +4 -2
- package/dist/node_modules/unist-util-find-after/lib/index.js +6 -4
- package/dist/node_modules/unist-util-is/lib/index.js +31 -29
- package/dist/node_modules/unist-util-position/lib/index.js +7 -5
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +10 -8
- package/dist/node_modules/unist-util-visit/lib/index.js +6 -4
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -2
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +21 -20
- package/dist/node_modules/uuid/dist/esm-browser/native.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +8 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +7 -5
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +10 -9
- package/dist/node_modules/vaul/dist/index.js +276 -274
- package/dist/node_modules/vfile/lib/index.js +44 -42
- package/dist/node_modules/vfile/lib/minpath.browser.js +22 -20
- package/dist/node_modules/vfile/lib/minproc.browser.js +5 -3
- package/dist/node_modules/vfile/lib/minurl.browser.js +8 -6
- package/dist/node_modules/vfile/lib/minurl.shared.js +4 -2
- package/dist/node_modules/vfile-location/lib/index.js +7 -5
- package/dist/node_modules/vfile-message/lib/index.js +7 -5
- package/dist/node_modules/vscode-jsonrpc/browser.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +11 -9
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +28 -26
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +17 -15
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +13 -11
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +11 -9
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +31 -29
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +10 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +23 -21
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +14 -12
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +55 -53
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +10 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +12 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +6 -4
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +21 -19
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +849 -847
- package/dist/node_modules/vscode-uri/lib/esm/index.js +6 -4
- package/dist/node_modules/web-namespaces/index.js +4 -2
- package/dist/node_modules/zwitch/index.js +7 -5
- package/dist/packages/contracts/dist/enums/index.js +14 -12
- package/dist/packages/contracts/dist/enums/registry.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/sort-order.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/user-type.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/workflow-state.enum.js +6 -4
- package/dist/pages/DashboardPage.js +55 -99
- package/dist/pages/DebugPage.js +12 -17
- package/dist/pages/DebugWorkflowDetailsPage.js +91 -119
- package/dist/pages/DebugWorkflowsPage.js +39 -37
- package/dist/pages/EmbedWorkbenchPage.js +48 -62
- package/dist/pages/PreviewWorkbenchPage.js +243 -324
- package/dist/pages/RunsListPage.js +44 -61
- package/dist/pages/RunsPage.js +31 -48
- package/dist/pages/StudioLandingPage.js +97 -132
- package/dist/pages/WorkbenchPage.js +56 -86
- package/dist/pages/WorkflowDebugPage.js +74 -110
- package/dist/pages/WorkspacePage.js +72 -115
- package/dist/pages/WorkspaceRunsPage.js +43 -70
- package/dist/pages/WorkspacesPage.js +24 -35
- package/dist/providers/ComponentOverridesProvider.js +9 -12
- package/dist/providers/InvalidationEventsProvider.js +33 -35
- package/dist/providers/QueryProvider.js +14 -18
- package/dist/providers/SseProvider.js +28 -29
- package/dist/providers/StudioProvider.js +14 -19
- package/dist/routing/LocalRouter.js +6 -9
- package/dist/services/createApiClient.js +7 -5
- package/dist/services/eventEmitter.js +3 -2
- package/dist/services/index.js +2 -2
- package/dist/types/ai.types.js +7 -5
- package/package.json +33 -33
- package/dist/_virtual/rolldown_runtime.js +0 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +0 -60
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +0 -28
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +0 -787
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +0 -30
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +0 -3
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -2
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +0 -16
- package/dist/node_modules/langium/lib/index.js +0 -182
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +0 -141
- package/dist/node_modules/langium/lib/utils/index.js +0 -53
- package/dist/node_modules/langium/lib/workspace/profiler.js +0 -89
- package/dist/node_modules/lodash/_Symbol.js +0 -7
- package/dist/node_modules/lodash/_baseGetTag.js +0 -13
- package/dist/node_modules/lodash/_baseTrim.js +0 -11
- package/dist/node_modules/lodash/_freeGlobal.js +0 -6
- package/dist/node_modules/lodash/_getRawTag.js +0 -17
- package/dist/node_modules/lodash/_objectToString.js +0 -10
- package/dist/node_modules/lodash/_root.js +0 -8
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -11
- package/dist/node_modules/lodash/isObject.js +0 -10
- package/dist/node_modules/lodash/isObjectLike.js +0 -9
- package/dist/node_modules/lodash/isSymbol.js +0 -12
- package/dist/node_modules/lodash/now.js +0 -10
- package/dist/node_modules/lodash/toNumber.js +0 -22
- package/dist/node_modules/lodash-es/_arrayAggregator.js +0 -9
- package/dist/node_modules/lodash-es/_arrayEvery.js +0 -6
- package/dist/node_modules/lodash-es/_baseAggregator.js +0 -8
- package/dist/node_modules/lodash-es/_baseDifference.js +0 -22
- package/dist/node_modules/lodash-es/_baseEvery.js +0 -9
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +0 -8
- package/dist/node_modules/lodash-es/_baseSlice.js +0 -8
- package/dist/node_modules/lodash-es/_baseSome.js +0 -9
- package/dist/node_modules/lodash-es/_createAggregator.js +0 -12
- package/dist/node_modules/lodash-es/assign.js +0 -14
- package/dist/node_modules/lodash-es/compact.js +0 -9
- package/dist/node_modules/lodash-es/difference.js +0 -8
- package/dist/node_modules/lodash-es/drop.js +0 -8
- package/dist/node_modules/lodash-es/dropRight.js +0 -8
- package/dist/node_modules/lodash-es/every.js +0 -11
- package/dist/node_modules/lodash-es/groupBy.js +0 -6
- package/dist/node_modules/lodash-es/head.js +0 -5
- package/dist/node_modules/lodash-es/includes.js +0 -13
- package/dist/node_modules/lodash-es/indexOf.js +0 -11
- package/dist/node_modules/lodash-es/isRegExp.js +0 -5
- package/dist/node_modules/lodash-es/negate.js +0 -16
- package/dist/node_modules/lodash-es/pickBy.js +0 -15
- package/dist/node_modules/lodash-es/reject.js +0 -10
- package/dist/node_modules/lodash-es/some.js +0 -11
- package/dist/node_modules/lodash-es/uniq.js +0 -6
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +0 -673
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +0 -3010
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +0 -1547
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +0 -65
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +0 -10
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +0 -1994
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +0 -135
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +0 -9
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +0 -74
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +0 -247
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +0 -3516
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +0 -1140
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +0 -39
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +0 -23
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +0 -497
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +0 -338
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +0 -55
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +0 -26
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +0 -26
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +0 -263
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +0 -283
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +0 -211
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +0 -129
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +0 -1688
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +0 -621
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +0 -18
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +0 -883
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +0 -117
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +0 -519
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +0 -3560
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +0 -220
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +0 -25
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +0 -833
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +0 -1975
- package/dist/node_modules/streamdown/dist/chunk-RLXIAIE6.js +0 -2189
- package/dist/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js +0 -33
- package/dist/node_modules/streamdown/dist/mermaid-3ZIDBTTL.js +0 -3
|
@@ -1,341 +1,342 @@
|
|
|
1
|
-
import { CODE_POINTS
|
|
2
|
-
import { ERR } from "../common/error-codes.js";
|
|
3
|
-
import { TokenType, getTokenAttr } from "../common/token.js";
|
|
4
|
-
import { ATTRS, DOCUMENT_MODE, NS, NUMBERED_HEADERS, SPECIAL_ELEMENTS, TAG_ID, TAG_NAMES, getTagID } from "../common/html.js";
|
|
5
|
-
import { Tokenizer, TokenizerMode } from "../tokenizer/index.js";
|
|
6
|
-
import { OpenElementStack } from "./open-element-stack.js";
|
|
7
|
-
import { EntryType, FormattingElementList } from "./formatting-element-list.js";
|
|
8
|
-
import { defaultTreeAdapter } from "../tree-adapters/default.js";
|
|
9
|
-
import { getDocumentMode, isConforming } from "../common/doctype.js";
|
|
10
|
-
import { adjustTokenMathMLAttrs, adjustTokenSVGAttrs, adjustTokenSVGTagName, adjustTokenXMLAttrs, causesExit, isIntegrationPoint } from "../common/foreign-content.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { CODE_POINTS as e } from "../common/unicode.js";
|
|
2
|
+
import { ERR as t } from "../common/error-codes.js";
|
|
3
|
+
import { TokenType as n, getTokenAttr as r } from "../common/token.js";
|
|
4
|
+
import { ATTRS as i, DOCUMENT_MODE as a, NS as o, NUMBERED_HEADERS as s, SPECIAL_ELEMENTS as ee, TAG_ID as c, TAG_NAMES as l, getTagID as u } from "../common/html.js";
|
|
5
|
+
import { Tokenizer as te, TokenizerMode as d } from "../tokenizer/index.js";
|
|
6
|
+
import { OpenElementStack as ne } from "./open-element-stack.js";
|
|
7
|
+
import { EntryType as re, FormattingElementList as ie } from "./formatting-element-list.js";
|
|
8
|
+
import { defaultTreeAdapter as ae } from "../tree-adapters/default.js";
|
|
9
|
+
import { getDocumentMode as oe, isConforming as se } from "../common/doctype.js";
|
|
10
|
+
import { adjustTokenMathMLAttrs as f, adjustTokenSVGAttrs as p, adjustTokenSVGTagName as ce, adjustTokenXMLAttrs as m, causesExit as le, isIntegrationPoint as ue } from "../common/foreign-content.js";
|
|
11
|
+
//#region ../../node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js
|
|
12
|
+
var de = "hidden", fe = 8, pe = 3, h;
|
|
13
|
+
(function(e) {
|
|
14
|
+
e[e.INITIAL = 0] = "INITIAL", e[e.BEFORE_HTML = 1] = "BEFORE_HTML", e[e.BEFORE_HEAD = 2] = "BEFORE_HEAD", e[e.IN_HEAD = 3] = "IN_HEAD", e[e.IN_HEAD_NO_SCRIPT = 4] = "IN_HEAD_NO_SCRIPT", e[e.AFTER_HEAD = 5] = "AFTER_HEAD", e[e.IN_BODY = 6] = "IN_BODY", e[e.TEXT = 7] = "TEXT", e[e.IN_TABLE = 8] = "IN_TABLE", e[e.IN_TABLE_TEXT = 9] = "IN_TABLE_TEXT", e[e.IN_CAPTION = 10] = "IN_CAPTION", e[e.IN_COLUMN_GROUP = 11] = "IN_COLUMN_GROUP", e[e.IN_TABLE_BODY = 12] = "IN_TABLE_BODY", e[e.IN_ROW = 13] = "IN_ROW", e[e.IN_CELL = 14] = "IN_CELL", e[e.IN_SELECT = 15] = "IN_SELECT", e[e.IN_SELECT_IN_TABLE = 16] = "IN_SELECT_IN_TABLE", e[e.IN_TEMPLATE = 17] = "IN_TEMPLATE", e[e.AFTER_BODY = 18] = "AFTER_BODY", e[e.IN_FRAMESET = 19] = "IN_FRAMESET", e[e.AFTER_FRAMESET = 20] = "AFTER_FRAMESET", e[e.AFTER_AFTER_BODY = 21] = "AFTER_AFTER_BODY", e[e.AFTER_AFTER_FRAMESET = 22] = "AFTER_AFTER_FRAMESET";
|
|
15
|
+
})(h ||= {});
|
|
16
|
+
var me = {
|
|
16
17
|
startLine: -1,
|
|
17
18
|
startCol: -1,
|
|
18
19
|
startOffset: -1,
|
|
19
20
|
endLine: -1,
|
|
20
21
|
endCol: -1,
|
|
21
22
|
endOffset: -1
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
]),
|
|
23
|
+
}, g = new Set([
|
|
24
|
+
c.TABLE,
|
|
25
|
+
c.TBODY,
|
|
26
|
+
c.TFOOT,
|
|
27
|
+
c.THEAD,
|
|
28
|
+
c.TR
|
|
29
|
+
]), _ = {
|
|
29
30
|
scriptingEnabled: !0,
|
|
30
31
|
sourceCodeLocationInfo: !1,
|
|
31
|
-
treeAdapter:
|
|
32
|
+
treeAdapter: ae,
|
|
32
33
|
onParseError: null
|
|
33
|
-
},
|
|
34
|
-
constructor(
|
|
35
|
-
this.fragmentContext =
|
|
36
|
-
...
|
|
37
|
-
...
|
|
38
|
-
}, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document =
|
|
39
|
-
}
|
|
40
|
-
static parse(
|
|
41
|
-
let
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
static getFragmentParser(
|
|
45
|
-
let
|
|
46
|
-
...
|
|
47
|
-
...
|
|
34
|
+
}, he = class {
|
|
35
|
+
constructor(e, t, n = null, r = null) {
|
|
36
|
+
this.fragmentContext = n, this.scriptHandler = r, this.currentToken = null, this.stopped = !1, this.insertionMode = h.INITIAL, this.originalInsertionMode = h.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = {
|
|
37
|
+
..._,
|
|
38
|
+
...e
|
|
39
|
+
}, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = t ?? this.treeAdapter.createDocument(), this.tokenizer = new te(this.options, this), this.activeFormattingElements = new ie(this.treeAdapter), this.fragmentContextID = n ? u(this.treeAdapter.getTagName(n)) : c.UNKNOWN, this._setContextModes(n ?? this.document, this.fragmentContextID), this.openElements = new ne(this.document, this.treeAdapter, this);
|
|
40
|
+
}
|
|
41
|
+
static parse(e, t) {
|
|
42
|
+
let n = new this(t);
|
|
43
|
+
return n.tokenizer.write(e, !0), n.document;
|
|
44
|
+
}
|
|
45
|
+
static getFragmentParser(e, t) {
|
|
46
|
+
let n = {
|
|
47
|
+
..._,
|
|
48
|
+
...t
|
|
48
49
|
};
|
|
49
|
-
|
|
50
|
-
let
|
|
51
|
-
return
|
|
50
|
+
e ??= n.treeAdapter.createElement(l.TEMPLATE, o.HTML, []);
|
|
51
|
+
let r = n.treeAdapter.createElement("documentmock", o.HTML, []), i = new this(n, r, e);
|
|
52
|
+
return i.fragmentContextID === c.TEMPLATE && i.tmplInsertionModeStack.unshift(h.IN_TEMPLATE), i._initTokenizerForFragmentParsing(), i._insertFakeRootElement(), i._resetInsertionMode(), i._findFormInFragmentContext(), i;
|
|
52
53
|
}
|
|
53
54
|
getFragment() {
|
|
54
|
-
let
|
|
55
|
-
return this._adoptNodes(
|
|
55
|
+
let e = this.treeAdapter.getFirstChild(this.document), t = this.treeAdapter.createDocumentFragment();
|
|
56
|
+
return this._adoptNodes(e, t), t;
|
|
56
57
|
}
|
|
57
|
-
_err(
|
|
58
|
+
_err(e, t, n) {
|
|
58
59
|
if (!this.onParseError) return;
|
|
59
|
-
let
|
|
60
|
-
code:
|
|
61
|
-
startLine:
|
|
62
|
-
startCol:
|
|
63
|
-
startOffset:
|
|
64
|
-
endLine:
|
|
65
|
-
endCol:
|
|
66
|
-
endOffset:
|
|
60
|
+
let r = e.location ?? me, i = {
|
|
61
|
+
code: t,
|
|
62
|
+
startLine: r.startLine,
|
|
63
|
+
startCol: r.startCol,
|
|
64
|
+
startOffset: r.startOffset,
|
|
65
|
+
endLine: n ? r.startLine : r.endLine,
|
|
66
|
+
endCol: n ? r.startCol : r.endCol,
|
|
67
|
+
endOffset: n ? r.startOffset : r.endOffset
|
|
67
68
|
};
|
|
68
|
-
this.onParseError(
|
|
69
|
+
this.onParseError(i);
|
|
69
70
|
}
|
|
70
|
-
onItemPush(
|
|
71
|
-
var
|
|
72
|
-
(
|
|
71
|
+
onItemPush(e, t, n) {
|
|
72
|
+
var r, i;
|
|
73
|
+
(i = (r = this.treeAdapter).onItemPush) == null || i.call(r, e), n && this.openElements.stackTop > 0 && this._setContextModes(e, t);
|
|
73
74
|
}
|
|
74
|
-
onItemPop(
|
|
75
|
-
var
|
|
76
|
-
if (this.options.sourceCodeLocationInfo && this._setEndLocation(
|
|
77
|
-
let
|
|
78
|
-
this.openElements.stackTop === 0 && this.fragmentContext ? (
|
|
75
|
+
onItemPop(e, t) {
|
|
76
|
+
var n, r;
|
|
77
|
+
if (this.options.sourceCodeLocationInfo && this._setEndLocation(e, this.currentToken), (r = (n = this.treeAdapter).onItemPop) == null || r.call(n, e, this.openElements.current), t) {
|
|
78
|
+
let e, t;
|
|
79
|
+
this.openElements.stackTop === 0 && this.fragmentContext ? (e = this.fragmentContext, t = this.fragmentContextID) : {current: e, currentTagId: t} = this.openElements, this._setContextModes(e, t);
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
|
-
_setContextModes(
|
|
82
|
-
let
|
|
83
|
-
this.currentNotInHTML = !
|
|
82
|
+
_setContextModes(e, t) {
|
|
83
|
+
let n = e === this.document || e && this.treeAdapter.getNamespaceURI(e) === o.HTML;
|
|
84
|
+
this.currentNotInHTML = !n, this.tokenizer.inForeignNode = !n && e !== void 0 && t !== void 0 && !this._isIntegrationPoint(t, e);
|
|
84
85
|
}
|
|
85
|
-
_switchToTextParsing(
|
|
86
|
-
this._insertElement(
|
|
86
|
+
_switchToTextParsing(e, t) {
|
|
87
|
+
this._insertElement(e, o.HTML), this.tokenizer.state = t, this.originalInsertionMode = this.insertionMode, this.insertionMode = h.TEXT;
|
|
87
88
|
}
|
|
88
89
|
switchToPlaintextParsing() {
|
|
89
|
-
this.insertionMode =
|
|
90
|
+
this.insertionMode = h.TEXT, this.originalInsertionMode = h.IN_BODY, this.tokenizer.state = d.PLAINTEXT;
|
|
90
91
|
}
|
|
91
92
|
_getAdjustedCurrentElement() {
|
|
92
93
|
return this.openElements.stackTop === 0 && this.fragmentContext ? this.fragmentContext : this.openElements.current;
|
|
93
94
|
}
|
|
94
95
|
_findFormInFragmentContext() {
|
|
95
|
-
let
|
|
96
|
-
for (;
|
|
97
|
-
if (this.treeAdapter.getTagName(
|
|
98
|
-
this.formElement =
|
|
96
|
+
let e = this.fragmentContext;
|
|
97
|
+
for (; e;) {
|
|
98
|
+
if (this.treeAdapter.getTagName(e) === l.FORM) {
|
|
99
|
+
this.formElement = e;
|
|
99
100
|
break;
|
|
100
101
|
}
|
|
101
|
-
|
|
102
|
+
e = this.treeAdapter.getParentNode(e);
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
105
|
_initTokenizerForFragmentParsing() {
|
|
105
|
-
if (!(!this.fragmentContext || this.treeAdapter.getNamespaceURI(this.fragmentContext) !==
|
|
106
|
-
case
|
|
107
|
-
case
|
|
108
|
-
this.tokenizer.state =
|
|
106
|
+
if (!(!this.fragmentContext || this.treeAdapter.getNamespaceURI(this.fragmentContext) !== o.HTML)) switch (this.fragmentContextID) {
|
|
107
|
+
case c.TITLE:
|
|
108
|
+
case c.TEXTAREA:
|
|
109
|
+
this.tokenizer.state = d.RCDATA;
|
|
109
110
|
break;
|
|
110
|
-
case
|
|
111
|
-
case
|
|
112
|
-
case
|
|
113
|
-
case
|
|
114
|
-
case
|
|
115
|
-
case
|
|
116
|
-
this.tokenizer.state =
|
|
111
|
+
case c.STYLE:
|
|
112
|
+
case c.XMP:
|
|
113
|
+
case c.IFRAME:
|
|
114
|
+
case c.NOEMBED:
|
|
115
|
+
case c.NOFRAMES:
|
|
116
|
+
case c.NOSCRIPT:
|
|
117
|
+
this.tokenizer.state = d.RAWTEXT;
|
|
117
118
|
break;
|
|
118
|
-
case
|
|
119
|
-
this.tokenizer.state =
|
|
119
|
+
case c.SCRIPT:
|
|
120
|
+
this.tokenizer.state = d.SCRIPT_DATA;
|
|
120
121
|
break;
|
|
121
|
-
case
|
|
122
|
-
this.tokenizer.state =
|
|
122
|
+
case c.PLAINTEXT:
|
|
123
|
+
this.tokenizer.state = d.PLAINTEXT;
|
|
123
124
|
break;
|
|
124
125
|
default:
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
|
-
_setDocumentType(
|
|
128
|
-
let
|
|
129
|
-
if (this.treeAdapter.setDocumentType(this.document,
|
|
130
|
-
let
|
|
131
|
-
|
|
128
|
+
_setDocumentType(e) {
|
|
129
|
+
let t = e.name || "", n = e.publicId || "", r = e.systemId || "";
|
|
130
|
+
if (this.treeAdapter.setDocumentType(this.document, t, n, r), e.location) {
|
|
131
|
+
let t = this.treeAdapter.getChildNodes(this.document).find((e) => this.treeAdapter.isDocumentTypeNode(e));
|
|
132
|
+
t && this.treeAdapter.setNodeSourceCodeLocation(t, e.location);
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
|
-
_attachElementToTree(
|
|
135
|
+
_attachElementToTree(e, t) {
|
|
135
136
|
if (this.options.sourceCodeLocationInfo) {
|
|
136
|
-
let
|
|
137
|
-
...
|
|
138
|
-
startTag:
|
|
137
|
+
let n = t && {
|
|
138
|
+
...t,
|
|
139
|
+
startTag: t
|
|
139
140
|
};
|
|
140
|
-
this.treeAdapter.setNodeSourceCodeLocation(
|
|
141
|
+
this.treeAdapter.setNodeSourceCodeLocation(e, n);
|
|
141
142
|
}
|
|
142
|
-
if (this._shouldFosterParentOnInsertion()) this._fosterParentElement(
|
|
143
|
+
if (this._shouldFosterParentOnInsertion()) this._fosterParentElement(e);
|
|
143
144
|
else {
|
|
144
|
-
let
|
|
145
|
-
this.treeAdapter.appendChild(
|
|
145
|
+
let t = this.openElements.currentTmplContentOrNode;
|
|
146
|
+
this.treeAdapter.appendChild(t ?? this.document, e);
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
|
-
_appendElement(
|
|
149
|
-
let
|
|
150
|
-
this._attachElementToTree(
|
|
149
|
+
_appendElement(e, t) {
|
|
150
|
+
let n = this.treeAdapter.createElement(e.tagName, t, e.attrs);
|
|
151
|
+
this._attachElementToTree(n, e.location);
|
|
151
152
|
}
|
|
152
|
-
_insertElement(
|
|
153
|
-
let
|
|
154
|
-
this._attachElementToTree(
|
|
153
|
+
_insertElement(e, t) {
|
|
154
|
+
let n = this.treeAdapter.createElement(e.tagName, t, e.attrs);
|
|
155
|
+
this._attachElementToTree(n, e.location), this.openElements.push(n, e.tagID);
|
|
155
156
|
}
|
|
156
|
-
_insertFakeElement(
|
|
157
|
-
let
|
|
158
|
-
this._attachElementToTree(
|
|
157
|
+
_insertFakeElement(e, t) {
|
|
158
|
+
let n = this.treeAdapter.createElement(e, o.HTML, []);
|
|
159
|
+
this._attachElementToTree(n, null), this.openElements.push(n, t);
|
|
159
160
|
}
|
|
160
|
-
_insertTemplate(
|
|
161
|
-
let
|
|
162
|
-
this.treeAdapter.setTemplateContent(
|
|
161
|
+
_insertTemplate(e) {
|
|
162
|
+
let t = this.treeAdapter.createElement(e.tagName, o.HTML, e.attrs), n = this.treeAdapter.createDocumentFragment();
|
|
163
|
+
this.treeAdapter.setTemplateContent(t, n), this._attachElementToTree(t, e.location), this.openElements.push(t, e.tagID), this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(n, null);
|
|
163
164
|
}
|
|
164
165
|
_insertFakeRootElement() {
|
|
165
|
-
let
|
|
166
|
-
this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(
|
|
167
|
-
}
|
|
168
|
-
_appendCommentNode(
|
|
169
|
-
let
|
|
170
|
-
this.treeAdapter.appendChild(
|
|
171
|
-
}
|
|
172
|
-
_insertCharacters(
|
|
173
|
-
let
|
|
174
|
-
if (this._shouldFosterParentOnInsertion() ? ({parent:
|
|
175
|
-
let
|
|
176
|
-
if (this.treeAdapter.getNodeSourceCodeLocation(
|
|
177
|
-
let { endLine:
|
|
178
|
-
this.treeAdapter.updateNodeSourceCodeLocation(
|
|
179
|
-
endLine:
|
|
180
|
-
endCol:
|
|
181
|
-
endOffset:
|
|
166
|
+
let e = this.treeAdapter.createElement(l.HTML, o.HTML, []);
|
|
167
|
+
this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(e, null), this.treeAdapter.appendChild(this.openElements.current, e), this.openElements.push(e, c.HTML);
|
|
168
|
+
}
|
|
169
|
+
_appendCommentNode(e, t) {
|
|
170
|
+
let n = this.treeAdapter.createCommentNode(e.data);
|
|
171
|
+
this.treeAdapter.appendChild(t, n), this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(n, e.location);
|
|
172
|
+
}
|
|
173
|
+
_insertCharacters(e) {
|
|
174
|
+
let t, n;
|
|
175
|
+
if (this._shouldFosterParentOnInsertion() ? ({parent: t, beforeElement: n} = this._findFosterParentingLocation(), n ? this.treeAdapter.insertTextBefore(t, e.chars, n) : this.treeAdapter.insertText(t, e.chars)) : (t = this.openElements.currentTmplContentOrNode, this.treeAdapter.insertText(t, e.chars)), !e.location) return;
|
|
176
|
+
let r = this.treeAdapter.getChildNodes(t), i = r[(n ? r.lastIndexOf(n) : r.length) - 1];
|
|
177
|
+
if (this.treeAdapter.getNodeSourceCodeLocation(i)) {
|
|
178
|
+
let { endLine: t, endCol: n, endOffset: r } = e.location;
|
|
179
|
+
this.treeAdapter.updateNodeSourceCodeLocation(i, {
|
|
180
|
+
endLine: t,
|
|
181
|
+
endCol: n,
|
|
182
|
+
endOffset: r
|
|
182
183
|
});
|
|
183
|
-
} else this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(
|
|
184
|
-
}
|
|
185
|
-
_adoptNodes(
|
|
186
|
-
for (let
|
|
187
|
-
}
|
|
188
|
-
_setEndLocation(
|
|
189
|
-
if (this.treeAdapter.getNodeSourceCodeLocation(
|
|
190
|
-
let
|
|
191
|
-
endTag: { ...
|
|
192
|
-
endLine:
|
|
193
|
-
endCol:
|
|
194
|
-
endOffset:
|
|
184
|
+
} else this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(i, e.location);
|
|
185
|
+
}
|
|
186
|
+
_adoptNodes(e, t) {
|
|
187
|
+
for (let n = this.treeAdapter.getFirstChild(e); n; n = this.treeAdapter.getFirstChild(e)) this.treeAdapter.detachNode(n), this.treeAdapter.appendChild(t, n);
|
|
188
|
+
}
|
|
189
|
+
_setEndLocation(e, t) {
|
|
190
|
+
if (this.treeAdapter.getNodeSourceCodeLocation(e) && t.location) {
|
|
191
|
+
let r = t.location, i = this.treeAdapter.getTagName(e), a = t.type === n.END_TAG && i === t.tagName ? {
|
|
192
|
+
endTag: { ...r },
|
|
193
|
+
endLine: r.endLine,
|
|
194
|
+
endCol: r.endCol,
|
|
195
|
+
endOffset: r.endOffset
|
|
195
196
|
} : {
|
|
196
|
-
endLine:
|
|
197
|
-
endCol:
|
|
198
|
-
endOffset:
|
|
197
|
+
endLine: r.startLine,
|
|
198
|
+
endCol: r.startCol,
|
|
199
|
+
endOffset: r.startOffset
|
|
199
200
|
};
|
|
200
|
-
this.treeAdapter.updateNodeSourceCodeLocation(
|
|
201
|
+
this.treeAdapter.updateNodeSourceCodeLocation(e, a);
|
|
201
202
|
}
|
|
202
203
|
}
|
|
203
|
-
shouldProcessStartTagTokenInForeignContent(
|
|
204
|
+
shouldProcessStartTagTokenInForeignContent(e) {
|
|
204
205
|
if (!this.currentNotInHTML) return !1;
|
|
205
|
-
let
|
|
206
|
-
return this.openElements.stackTop === 0 && this.fragmentContext ? (
|
|
206
|
+
let t, n;
|
|
207
|
+
return this.openElements.stackTop === 0 && this.fragmentContext ? (t = this.fragmentContext, n = this.fragmentContextID) : {current: t, currentTagId: n} = this.openElements, e.tagID === c.SVG && this.treeAdapter.getTagName(t) === l.ANNOTATION_XML && this.treeAdapter.getNamespaceURI(t) === o.MATHML ? !1 : this.tokenizer.inForeignNode || (e.tagID === c.MGLYPH || e.tagID === c.MALIGNMARK) && n !== void 0 && !this._isIntegrationPoint(n, t, o.HTML);
|
|
207
208
|
}
|
|
208
|
-
_processToken(
|
|
209
|
-
switch (
|
|
210
|
-
case
|
|
211
|
-
this.onCharacter(
|
|
209
|
+
_processToken(e) {
|
|
210
|
+
switch (e.type) {
|
|
211
|
+
case n.CHARACTER:
|
|
212
|
+
this.onCharacter(e);
|
|
212
213
|
break;
|
|
213
|
-
case
|
|
214
|
-
this.onNullCharacter(
|
|
214
|
+
case n.NULL_CHARACTER:
|
|
215
|
+
this.onNullCharacter(e);
|
|
215
216
|
break;
|
|
216
|
-
case
|
|
217
|
-
this.onComment(
|
|
217
|
+
case n.COMMENT:
|
|
218
|
+
this.onComment(e);
|
|
218
219
|
break;
|
|
219
|
-
case
|
|
220
|
-
this.onDoctype(
|
|
220
|
+
case n.DOCTYPE:
|
|
221
|
+
this.onDoctype(e);
|
|
221
222
|
break;
|
|
222
|
-
case
|
|
223
|
-
this._processStartTag(
|
|
223
|
+
case n.START_TAG:
|
|
224
|
+
this._processStartTag(e);
|
|
224
225
|
break;
|
|
225
|
-
case
|
|
226
|
-
this.onEndTag(
|
|
226
|
+
case n.END_TAG:
|
|
227
|
+
this.onEndTag(e);
|
|
227
228
|
break;
|
|
228
|
-
case
|
|
229
|
-
this.onEof(
|
|
229
|
+
case n.EOF:
|
|
230
|
+
this.onEof(e);
|
|
230
231
|
break;
|
|
231
|
-
case
|
|
232
|
-
this.onWhitespaceCharacter(
|
|
232
|
+
case n.WHITESPACE_CHARACTER:
|
|
233
|
+
this.onWhitespaceCharacter(e);
|
|
233
234
|
break;
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
|
-
_isIntegrationPoint(
|
|
237
|
-
return
|
|
237
|
+
_isIntegrationPoint(e, t, n) {
|
|
238
|
+
return ue(e, this.treeAdapter.getNamespaceURI(t), this.treeAdapter.getAttrList(t), n);
|
|
238
239
|
}
|
|
239
240
|
_reconstructActiveFormattingElements() {
|
|
240
|
-
let
|
|
241
|
-
if (
|
|
242
|
-
let
|
|
243
|
-
for (let
|
|
244
|
-
let
|
|
245
|
-
this._insertElement(
|
|
241
|
+
let e = this.activeFormattingElements.entries.length;
|
|
242
|
+
if (e) {
|
|
243
|
+
let t = this.activeFormattingElements.entries.findIndex((e) => e.type === re.Marker || this.openElements.contains(e.element)), n = t === -1 ? e - 1 : t - 1;
|
|
244
|
+
for (let e = n; e >= 0; e--) {
|
|
245
|
+
let t = this.activeFormattingElements.entries[e];
|
|
246
|
+
this._insertElement(t.token, this.treeAdapter.getNamespaceURI(t.element)), t.element = this.openElements.current;
|
|
246
247
|
}
|
|
247
248
|
}
|
|
248
249
|
}
|
|
249
250
|
_closeTableCell() {
|
|
250
|
-
this.openElements.generateImpliedEndTags(), this.openElements.popUntilTableCellPopped(), this.activeFormattingElements.clearToLastMarker(), this.insertionMode =
|
|
251
|
+
this.openElements.generateImpliedEndTags(), this.openElements.popUntilTableCellPopped(), this.activeFormattingElements.clearToLastMarker(), this.insertionMode = h.IN_ROW;
|
|
251
252
|
}
|
|
252
253
|
_closePElement() {
|
|
253
|
-
this.openElements.generateImpliedEndTagsWithExclusion(
|
|
254
|
+
this.openElements.generateImpliedEndTagsWithExclusion(c.P), this.openElements.popUntilTagNamePopped(c.P);
|
|
254
255
|
}
|
|
255
256
|
_resetInsertionMode() {
|
|
256
|
-
for (let
|
|
257
|
-
case
|
|
258
|
-
this.insertionMode =
|
|
257
|
+
for (let e = this.openElements.stackTop; e >= 0; e--) switch (e === 0 && this.fragmentContext ? this.fragmentContextID : this.openElements.tagIDs[e]) {
|
|
258
|
+
case c.TR:
|
|
259
|
+
this.insertionMode = h.IN_ROW;
|
|
259
260
|
return;
|
|
260
|
-
case
|
|
261
|
-
case
|
|
262
|
-
case
|
|
263
|
-
this.insertionMode =
|
|
261
|
+
case c.TBODY:
|
|
262
|
+
case c.THEAD:
|
|
263
|
+
case c.TFOOT:
|
|
264
|
+
this.insertionMode = h.IN_TABLE_BODY;
|
|
264
265
|
return;
|
|
265
|
-
case
|
|
266
|
-
this.insertionMode =
|
|
266
|
+
case c.CAPTION:
|
|
267
|
+
this.insertionMode = h.IN_CAPTION;
|
|
267
268
|
return;
|
|
268
|
-
case
|
|
269
|
-
this.insertionMode =
|
|
269
|
+
case c.COLGROUP:
|
|
270
|
+
this.insertionMode = h.IN_COLUMN_GROUP;
|
|
270
271
|
return;
|
|
271
|
-
case
|
|
272
|
-
this.insertionMode =
|
|
272
|
+
case c.TABLE:
|
|
273
|
+
this.insertionMode = h.IN_TABLE;
|
|
273
274
|
return;
|
|
274
|
-
case
|
|
275
|
-
this.insertionMode =
|
|
275
|
+
case c.BODY:
|
|
276
|
+
this.insertionMode = h.IN_BODY;
|
|
276
277
|
return;
|
|
277
|
-
case
|
|
278
|
-
this.insertionMode =
|
|
278
|
+
case c.FRAMESET:
|
|
279
|
+
this.insertionMode = h.IN_FRAMESET;
|
|
279
280
|
return;
|
|
280
|
-
case
|
|
281
|
-
this._resetInsertionModeForSelect(
|
|
281
|
+
case c.SELECT:
|
|
282
|
+
this._resetInsertionModeForSelect(e);
|
|
282
283
|
return;
|
|
283
|
-
case
|
|
284
|
+
case c.TEMPLATE:
|
|
284
285
|
this.insertionMode = this.tmplInsertionModeStack[0];
|
|
285
286
|
return;
|
|
286
|
-
case
|
|
287
|
-
this.insertionMode = this.headElement ?
|
|
287
|
+
case c.HTML:
|
|
288
|
+
this.insertionMode = this.headElement ? h.AFTER_HEAD : h.BEFORE_HEAD;
|
|
288
289
|
return;
|
|
289
|
-
case
|
|
290
|
-
case
|
|
291
|
-
if (
|
|
292
|
-
this.insertionMode =
|
|
290
|
+
case c.TD:
|
|
291
|
+
case c.TH:
|
|
292
|
+
if (e > 0) {
|
|
293
|
+
this.insertionMode = h.IN_CELL;
|
|
293
294
|
return;
|
|
294
295
|
}
|
|
295
296
|
break;
|
|
296
|
-
case
|
|
297
|
-
if (
|
|
298
|
-
this.insertionMode =
|
|
297
|
+
case c.HEAD:
|
|
298
|
+
if (e > 0) {
|
|
299
|
+
this.insertionMode = h.IN_HEAD;
|
|
299
300
|
return;
|
|
300
301
|
}
|
|
301
302
|
break;
|
|
302
303
|
}
|
|
303
|
-
this.insertionMode =
|
|
304
|
-
}
|
|
305
|
-
_resetInsertionModeForSelect(
|
|
306
|
-
if (
|
|
307
|
-
let
|
|
308
|
-
if (
|
|
309
|
-
if (
|
|
310
|
-
this.insertionMode =
|
|
304
|
+
this.insertionMode = h.IN_BODY;
|
|
305
|
+
}
|
|
306
|
+
_resetInsertionModeForSelect(e) {
|
|
307
|
+
if (e > 0) for (let t = e - 1; t > 0; t--) {
|
|
308
|
+
let e = this.openElements.tagIDs[t];
|
|
309
|
+
if (e === c.TEMPLATE) break;
|
|
310
|
+
if (e === c.TABLE) {
|
|
311
|
+
this.insertionMode = h.IN_SELECT_IN_TABLE;
|
|
311
312
|
return;
|
|
312
313
|
}
|
|
313
314
|
}
|
|
314
|
-
this.insertionMode =
|
|
315
|
+
this.insertionMode = h.IN_SELECT;
|
|
315
316
|
}
|
|
316
|
-
_isElementCausesFosterParenting(
|
|
317
|
-
return
|
|
317
|
+
_isElementCausesFosterParenting(e) {
|
|
318
|
+
return g.has(e);
|
|
318
319
|
}
|
|
319
320
|
_shouldFosterParentOnInsertion() {
|
|
320
321
|
return this.fosterParentingEnabled && this.openElements.currentTagId !== void 0 && this._isElementCausesFosterParenting(this.openElements.currentTagId);
|
|
321
322
|
}
|
|
322
323
|
_findFosterParentingLocation() {
|
|
323
|
-
for (let
|
|
324
|
-
let
|
|
325
|
-
switch (this.openElements.tagIDs[
|
|
326
|
-
case
|
|
327
|
-
if (this.treeAdapter.getNamespaceURI(
|
|
328
|
-
parent: this.treeAdapter.getTemplateContent(
|
|
324
|
+
for (let e = this.openElements.stackTop; e >= 0; e--) {
|
|
325
|
+
let t = this.openElements.items[e];
|
|
326
|
+
switch (this.openElements.tagIDs[e]) {
|
|
327
|
+
case c.TEMPLATE:
|
|
328
|
+
if (this.treeAdapter.getNamespaceURI(t) === o.HTML) return {
|
|
329
|
+
parent: this.treeAdapter.getTemplateContent(t),
|
|
329
330
|
beforeElement: null
|
|
330
331
|
};
|
|
331
332
|
break;
|
|
332
|
-
case
|
|
333
|
-
let
|
|
334
|
-
return
|
|
335
|
-
parent:
|
|
336
|
-
beforeElement:
|
|
333
|
+
case c.TABLE: {
|
|
334
|
+
let n = this.treeAdapter.getParentNode(t);
|
|
335
|
+
return n ? {
|
|
336
|
+
parent: n,
|
|
337
|
+
beforeElement: t
|
|
337
338
|
} : {
|
|
338
|
-
parent: this.openElements.items[
|
|
339
|
+
parent: this.openElements.items[e - 1],
|
|
339
340
|
beforeElement: null
|
|
340
341
|
};
|
|
341
342
|
}
|
|
@@ -347,1590 +348,1591 @@ var BASE_LOC = {
|
|
|
347
348
|
beforeElement: null
|
|
348
349
|
};
|
|
349
350
|
}
|
|
350
|
-
_fosterParentElement(
|
|
351
|
-
let
|
|
352
|
-
|
|
351
|
+
_fosterParentElement(e) {
|
|
352
|
+
let t = this._findFosterParentingLocation();
|
|
353
|
+
t.beforeElement ? this.treeAdapter.insertBefore(t.parent, e, t.beforeElement) : this.treeAdapter.appendChild(t.parent, e);
|
|
353
354
|
}
|
|
354
|
-
_isSpecialElement(
|
|
355
|
-
return
|
|
355
|
+
_isSpecialElement(e, t) {
|
|
356
|
+
return ee[this.treeAdapter.getNamespaceURI(e)].has(t);
|
|
356
357
|
}
|
|
357
|
-
onCharacter(
|
|
358
|
+
onCharacter(e) {
|
|
358
359
|
if (this.skipNextNewLine = !1, this.tokenizer.inForeignNode) {
|
|
359
|
-
|
|
360
|
+
Zt(this, e);
|
|
360
361
|
return;
|
|
361
362
|
}
|
|
362
363
|
switch (this.insertionMode) {
|
|
363
|
-
case
|
|
364
|
-
|
|
364
|
+
case h.INITIAL:
|
|
365
|
+
x(this, e);
|
|
365
366
|
break;
|
|
366
|
-
case
|
|
367
|
-
|
|
367
|
+
case h.BEFORE_HTML:
|
|
368
|
+
S(this, e);
|
|
368
369
|
break;
|
|
369
|
-
case
|
|
370
|
-
|
|
370
|
+
case h.BEFORE_HEAD:
|
|
371
|
+
C(this, e);
|
|
371
372
|
break;
|
|
372
|
-
case
|
|
373
|
-
|
|
373
|
+
case h.IN_HEAD:
|
|
374
|
+
E(this, e);
|
|
374
375
|
break;
|
|
375
|
-
case
|
|
376
|
-
|
|
376
|
+
case h.IN_HEAD_NO_SCRIPT:
|
|
377
|
+
D(this, e);
|
|
377
378
|
break;
|
|
378
|
-
case
|
|
379
|
-
|
|
379
|
+
case h.AFTER_HEAD:
|
|
380
|
+
O(this, e);
|
|
380
381
|
break;
|
|
381
|
-
case
|
|
382
|
-
case
|
|
383
|
-
case
|
|
384
|
-
case
|
|
385
|
-
|
|
382
|
+
case h.IN_BODY:
|
|
383
|
+
case h.IN_CAPTION:
|
|
384
|
+
case h.IN_CELL:
|
|
385
|
+
case h.IN_TEMPLATE:
|
|
386
|
+
j(this, e);
|
|
386
387
|
break;
|
|
387
|
-
case
|
|
388
|
-
case
|
|
389
|
-
case
|
|
390
|
-
this._insertCharacters(
|
|
388
|
+
case h.TEXT:
|
|
389
|
+
case h.IN_SELECT:
|
|
390
|
+
case h.IN_SELECT_IN_TABLE:
|
|
391
|
+
this._insertCharacters(e);
|
|
391
392
|
break;
|
|
392
|
-
case
|
|
393
|
-
case
|
|
394
|
-
case
|
|
395
|
-
|
|
393
|
+
case h.IN_TABLE:
|
|
394
|
+
case h.IN_TABLE_BODY:
|
|
395
|
+
case h.IN_ROW:
|
|
396
|
+
R(this, e);
|
|
396
397
|
break;
|
|
397
|
-
case
|
|
398
|
-
|
|
398
|
+
case h.IN_TABLE_TEXT:
|
|
399
|
+
U(this, e);
|
|
399
400
|
break;
|
|
400
|
-
case
|
|
401
|
-
|
|
401
|
+
case h.IN_COLUMN_GROUP:
|
|
402
|
+
q(this, e);
|
|
402
403
|
break;
|
|
403
|
-
case
|
|
404
|
-
|
|
404
|
+
case h.AFTER_BODY:
|
|
405
|
+
Q(this, e);
|
|
405
406
|
break;
|
|
406
|
-
case
|
|
407
|
-
|
|
407
|
+
case h.AFTER_AFTER_BODY:
|
|
408
|
+
$(this, e);
|
|
408
409
|
break;
|
|
409
410
|
default:
|
|
410
411
|
}
|
|
411
412
|
}
|
|
412
|
-
onNullCharacter(
|
|
413
|
+
onNullCharacter(e) {
|
|
413
414
|
if (this.skipNextNewLine = !1, this.tokenizer.inForeignNode) {
|
|
414
|
-
|
|
415
|
+
Xt(this, e);
|
|
415
416
|
return;
|
|
416
417
|
}
|
|
417
418
|
switch (this.insertionMode) {
|
|
418
|
-
case
|
|
419
|
-
|
|
419
|
+
case h.INITIAL:
|
|
420
|
+
x(this, e);
|
|
420
421
|
break;
|
|
421
|
-
case
|
|
422
|
-
|
|
422
|
+
case h.BEFORE_HTML:
|
|
423
|
+
S(this, e);
|
|
423
424
|
break;
|
|
424
|
-
case
|
|
425
|
-
|
|
425
|
+
case h.BEFORE_HEAD:
|
|
426
|
+
C(this, e);
|
|
426
427
|
break;
|
|
427
|
-
case
|
|
428
|
-
|
|
428
|
+
case h.IN_HEAD:
|
|
429
|
+
E(this, e);
|
|
429
430
|
break;
|
|
430
|
-
case
|
|
431
|
-
|
|
431
|
+
case h.IN_HEAD_NO_SCRIPT:
|
|
432
|
+
D(this, e);
|
|
432
433
|
break;
|
|
433
|
-
case
|
|
434
|
-
|
|
434
|
+
case h.AFTER_HEAD:
|
|
435
|
+
O(this, e);
|
|
435
436
|
break;
|
|
436
|
-
case
|
|
437
|
-
this._insertCharacters(
|
|
437
|
+
case h.TEXT:
|
|
438
|
+
this._insertCharacters(e);
|
|
438
439
|
break;
|
|
439
|
-
case
|
|
440
|
-
case
|
|
441
|
-
case
|
|
442
|
-
|
|
440
|
+
case h.IN_TABLE:
|
|
441
|
+
case h.IN_TABLE_BODY:
|
|
442
|
+
case h.IN_ROW:
|
|
443
|
+
R(this, e);
|
|
443
444
|
break;
|
|
444
|
-
case
|
|
445
|
-
|
|
445
|
+
case h.IN_COLUMN_GROUP:
|
|
446
|
+
q(this, e);
|
|
446
447
|
break;
|
|
447
|
-
case
|
|
448
|
-
|
|
448
|
+
case h.AFTER_BODY:
|
|
449
|
+
Q(this, e);
|
|
449
450
|
break;
|
|
450
|
-
case
|
|
451
|
-
|
|
451
|
+
case h.AFTER_AFTER_BODY:
|
|
452
|
+
$(this, e);
|
|
452
453
|
break;
|
|
453
454
|
default:
|
|
454
455
|
}
|
|
455
456
|
}
|
|
456
|
-
onComment(
|
|
457
|
+
onComment(e) {
|
|
457
458
|
if (this.skipNextNewLine = !1, this.currentNotInHTML) {
|
|
458
|
-
|
|
459
|
+
y(this, e);
|
|
459
460
|
return;
|
|
460
461
|
}
|
|
461
462
|
switch (this.insertionMode) {
|
|
462
|
-
case
|
|
463
|
-
case
|
|
464
|
-
case
|
|
465
|
-
case
|
|
466
|
-
case
|
|
467
|
-
case
|
|
468
|
-
case
|
|
469
|
-
case
|
|
470
|
-
case
|
|
471
|
-
case
|
|
472
|
-
case
|
|
473
|
-
case
|
|
474
|
-
case
|
|
475
|
-
case
|
|
476
|
-
case
|
|
477
|
-
case
|
|
478
|
-
case
|
|
479
|
-
case
|
|
480
|
-
|
|
481
|
-
break;
|
|
482
|
-
case
|
|
483
|
-
|
|
484
|
-
break;
|
|
485
|
-
case
|
|
486
|
-
|
|
487
|
-
break;
|
|
488
|
-
case
|
|
489
|
-
case
|
|
490
|
-
|
|
463
|
+
case h.INITIAL:
|
|
464
|
+
case h.BEFORE_HTML:
|
|
465
|
+
case h.BEFORE_HEAD:
|
|
466
|
+
case h.IN_HEAD:
|
|
467
|
+
case h.IN_HEAD_NO_SCRIPT:
|
|
468
|
+
case h.AFTER_HEAD:
|
|
469
|
+
case h.IN_BODY:
|
|
470
|
+
case h.IN_TABLE:
|
|
471
|
+
case h.IN_CAPTION:
|
|
472
|
+
case h.IN_COLUMN_GROUP:
|
|
473
|
+
case h.IN_TABLE_BODY:
|
|
474
|
+
case h.IN_ROW:
|
|
475
|
+
case h.IN_CELL:
|
|
476
|
+
case h.IN_SELECT:
|
|
477
|
+
case h.IN_SELECT_IN_TABLE:
|
|
478
|
+
case h.IN_TEMPLATE:
|
|
479
|
+
case h.IN_FRAMESET:
|
|
480
|
+
case h.AFTER_FRAMESET:
|
|
481
|
+
y(this, e);
|
|
482
|
+
break;
|
|
483
|
+
case h.IN_TABLE_TEXT:
|
|
484
|
+
W(this, e);
|
|
485
|
+
break;
|
|
486
|
+
case h.AFTER_BODY:
|
|
487
|
+
Se(this, e);
|
|
488
|
+
break;
|
|
489
|
+
case h.AFTER_AFTER_BODY:
|
|
490
|
+
case h.AFTER_AFTER_FRAMESET:
|
|
491
|
+
Ce(this, e);
|
|
491
492
|
break;
|
|
492
493
|
default:
|
|
493
494
|
}
|
|
494
495
|
}
|
|
495
|
-
onDoctype(
|
|
496
|
+
onDoctype(e) {
|
|
496
497
|
switch (this.skipNextNewLine = !1, this.insertionMode) {
|
|
497
|
-
case
|
|
498
|
-
|
|
498
|
+
case h.INITIAL:
|
|
499
|
+
we(this, e);
|
|
499
500
|
break;
|
|
500
|
-
case
|
|
501
|
-
case
|
|
502
|
-
case
|
|
503
|
-
case
|
|
504
|
-
this._err(
|
|
501
|
+
case h.BEFORE_HEAD:
|
|
502
|
+
case h.IN_HEAD:
|
|
503
|
+
case h.IN_HEAD_NO_SCRIPT:
|
|
504
|
+
case h.AFTER_HEAD:
|
|
505
|
+
this._err(e, t.misplacedDoctype);
|
|
505
506
|
break;
|
|
506
|
-
case
|
|
507
|
-
|
|
507
|
+
case h.IN_TABLE_TEXT:
|
|
508
|
+
W(this, e);
|
|
508
509
|
break;
|
|
509
510
|
default:
|
|
510
511
|
}
|
|
511
512
|
}
|
|
512
|
-
onStartTag(
|
|
513
|
-
this.skipNextNewLine = !1, this.currentToken =
|
|
513
|
+
onStartTag(e) {
|
|
514
|
+
this.skipNextNewLine = !1, this.currentToken = e, this._processStartTag(e), e.selfClosing && !e.ackSelfClosing && this._err(e, t.nonVoidHtmlElementStartTagWithTrailingSolidus);
|
|
514
515
|
}
|
|
515
|
-
_processStartTag(
|
|
516
|
-
this.shouldProcessStartTagTokenInForeignContent(
|
|
516
|
+
_processStartTag(e) {
|
|
517
|
+
this.shouldProcessStartTagTokenInForeignContent(e) ? $t(this, e) : this._startTagOutsideForeignContent(e);
|
|
517
518
|
}
|
|
518
|
-
_startTagOutsideForeignContent(
|
|
519
|
+
_startTagOutsideForeignContent(e) {
|
|
519
520
|
switch (this.insertionMode) {
|
|
520
|
-
case
|
|
521
|
-
|
|
521
|
+
case h.INITIAL:
|
|
522
|
+
x(this, e);
|
|
522
523
|
break;
|
|
523
|
-
case
|
|
524
|
-
|
|
524
|
+
case h.BEFORE_HTML:
|
|
525
|
+
Te(this, e);
|
|
525
526
|
break;
|
|
526
|
-
case
|
|
527
|
-
|
|
527
|
+
case h.BEFORE_HEAD:
|
|
528
|
+
De(this, e);
|
|
528
529
|
break;
|
|
529
|
-
case
|
|
530
|
-
|
|
530
|
+
case h.IN_HEAD:
|
|
531
|
+
w(this, e);
|
|
531
532
|
break;
|
|
532
|
-
case
|
|
533
|
-
|
|
533
|
+
case h.IN_HEAD_NO_SCRIPT:
|
|
534
|
+
Ae(this, e);
|
|
534
535
|
break;
|
|
535
|
-
case
|
|
536
|
-
|
|
536
|
+
case h.AFTER_HEAD:
|
|
537
|
+
Me(this, e);
|
|
537
538
|
break;
|
|
538
|
-
case
|
|
539
|
-
|
|
539
|
+
case h.IN_BODY:
|
|
540
|
+
F(this, e);
|
|
540
541
|
break;
|
|
541
|
-
case
|
|
542
|
-
|
|
542
|
+
case h.IN_TABLE:
|
|
543
|
+
z(this, e);
|
|
543
544
|
break;
|
|
544
|
-
case
|
|
545
|
-
|
|
545
|
+
case h.IN_TABLE_TEXT:
|
|
546
|
+
W(this, e);
|
|
546
547
|
break;
|
|
547
|
-
case
|
|
548
|
-
|
|
548
|
+
case h.IN_CAPTION:
|
|
549
|
+
At(this, e);
|
|
549
550
|
break;
|
|
550
|
-
case
|
|
551
|
-
|
|
551
|
+
case h.IN_COLUMN_GROUP:
|
|
552
|
+
K(this, e);
|
|
552
553
|
break;
|
|
553
|
-
case
|
|
554
|
-
|
|
554
|
+
case h.IN_TABLE_BODY:
|
|
555
|
+
J(this, e);
|
|
555
556
|
break;
|
|
556
|
-
case
|
|
557
|
-
|
|
557
|
+
case h.IN_ROW:
|
|
558
|
+
X(this, e);
|
|
558
559
|
break;
|
|
559
|
-
case
|
|
560
|
-
|
|
560
|
+
case h.IN_CELL:
|
|
561
|
+
Nt(this, e);
|
|
561
562
|
break;
|
|
562
|
-
case
|
|
563
|
-
|
|
563
|
+
case h.IN_SELECT:
|
|
564
|
+
Ft(this, e);
|
|
564
565
|
break;
|
|
565
|
-
case
|
|
566
|
-
|
|
566
|
+
case h.IN_SELECT_IN_TABLE:
|
|
567
|
+
Lt(this, e);
|
|
567
568
|
break;
|
|
568
|
-
case
|
|
569
|
-
|
|
569
|
+
case h.IN_TEMPLATE:
|
|
570
|
+
zt(this, e);
|
|
570
571
|
break;
|
|
571
|
-
case
|
|
572
|
-
|
|
572
|
+
case h.AFTER_BODY:
|
|
573
|
+
Ht(this, e);
|
|
573
574
|
break;
|
|
574
|
-
case
|
|
575
|
-
|
|
575
|
+
case h.IN_FRAMESET:
|
|
576
|
+
Wt(this, e);
|
|
576
577
|
break;
|
|
577
|
-
case
|
|
578
|
-
|
|
578
|
+
case h.AFTER_FRAMESET:
|
|
579
|
+
Kt(this, e);
|
|
579
580
|
break;
|
|
580
|
-
case
|
|
581
|
-
|
|
581
|
+
case h.AFTER_AFTER_BODY:
|
|
582
|
+
Jt(this, e);
|
|
582
583
|
break;
|
|
583
|
-
case
|
|
584
|
-
|
|
584
|
+
case h.AFTER_AFTER_FRAMESET:
|
|
585
|
+
Yt(this, e);
|
|
585
586
|
break;
|
|
586
587
|
default:
|
|
587
588
|
}
|
|
588
589
|
}
|
|
589
|
-
onEndTag(
|
|
590
|
-
this.skipNextNewLine = !1, this.currentToken =
|
|
590
|
+
onEndTag(e) {
|
|
591
|
+
this.skipNextNewLine = !1, this.currentToken = e, this.currentNotInHTML ? en(this, e) : this._endTagOutsideForeignContent(e);
|
|
591
592
|
}
|
|
592
|
-
_endTagOutsideForeignContent(
|
|
593
|
+
_endTagOutsideForeignContent(e) {
|
|
593
594
|
switch (this.insertionMode) {
|
|
594
|
-
case
|
|
595
|
-
|
|
595
|
+
case h.INITIAL:
|
|
596
|
+
x(this, e);
|
|
596
597
|
break;
|
|
597
|
-
case
|
|
598
|
-
|
|
598
|
+
case h.BEFORE_HTML:
|
|
599
|
+
Ee(this, e);
|
|
599
600
|
break;
|
|
600
|
-
case
|
|
601
|
-
|
|
601
|
+
case h.BEFORE_HEAD:
|
|
602
|
+
Oe(this, e);
|
|
602
603
|
break;
|
|
603
|
-
case
|
|
604
|
-
|
|
604
|
+
case h.IN_HEAD:
|
|
605
|
+
ke(this, e);
|
|
605
606
|
break;
|
|
606
|
-
case
|
|
607
|
-
|
|
607
|
+
case h.IN_HEAD_NO_SCRIPT:
|
|
608
|
+
je(this, e);
|
|
608
609
|
break;
|
|
609
|
-
case
|
|
610
|
-
|
|
610
|
+
case h.AFTER_HEAD:
|
|
611
|
+
Ne(this, e);
|
|
611
612
|
break;
|
|
612
|
-
case
|
|
613
|
-
|
|
613
|
+
case h.IN_BODY:
|
|
614
|
+
L(this, e);
|
|
614
615
|
break;
|
|
615
|
-
case
|
|
616
|
-
|
|
616
|
+
case h.TEXT:
|
|
617
|
+
bt(this, e);
|
|
617
618
|
break;
|
|
618
|
-
case
|
|
619
|
-
|
|
619
|
+
case h.IN_TABLE:
|
|
620
|
+
B(this, e);
|
|
620
621
|
break;
|
|
621
|
-
case
|
|
622
|
-
|
|
622
|
+
case h.IN_TABLE_TEXT:
|
|
623
|
+
W(this, e);
|
|
623
624
|
break;
|
|
624
|
-
case
|
|
625
|
-
|
|
625
|
+
case h.IN_CAPTION:
|
|
626
|
+
jt(this, e);
|
|
626
627
|
break;
|
|
627
|
-
case
|
|
628
|
-
|
|
628
|
+
case h.IN_COLUMN_GROUP:
|
|
629
|
+
Mt(this, e);
|
|
629
630
|
break;
|
|
630
|
-
case
|
|
631
|
-
|
|
631
|
+
case h.IN_TABLE_BODY:
|
|
632
|
+
Y(this, e);
|
|
632
633
|
break;
|
|
633
|
-
case
|
|
634
|
-
|
|
634
|
+
case h.IN_ROW:
|
|
635
|
+
Z(this, e);
|
|
635
636
|
break;
|
|
636
|
-
case
|
|
637
|
-
|
|
637
|
+
case h.IN_CELL:
|
|
638
|
+
Pt(this, e);
|
|
638
639
|
break;
|
|
639
|
-
case
|
|
640
|
-
|
|
640
|
+
case h.IN_SELECT:
|
|
641
|
+
It(this, e);
|
|
641
642
|
break;
|
|
642
|
-
case
|
|
643
|
-
|
|
643
|
+
case h.IN_SELECT_IN_TABLE:
|
|
644
|
+
Rt(this, e);
|
|
644
645
|
break;
|
|
645
|
-
case
|
|
646
|
-
|
|
646
|
+
case h.IN_TEMPLATE:
|
|
647
|
+
Bt(this, e);
|
|
647
648
|
break;
|
|
648
|
-
case
|
|
649
|
-
|
|
649
|
+
case h.AFTER_BODY:
|
|
650
|
+
Ut(this, e);
|
|
650
651
|
break;
|
|
651
|
-
case
|
|
652
|
-
|
|
652
|
+
case h.IN_FRAMESET:
|
|
653
|
+
Gt(this, e);
|
|
653
654
|
break;
|
|
654
|
-
case
|
|
655
|
-
|
|
655
|
+
case h.AFTER_FRAMESET:
|
|
656
|
+
qt(this, e);
|
|
656
657
|
break;
|
|
657
|
-
case
|
|
658
|
-
|
|
658
|
+
case h.AFTER_AFTER_BODY:
|
|
659
|
+
$(this, e);
|
|
659
660
|
break;
|
|
660
661
|
default:
|
|
661
662
|
}
|
|
662
663
|
}
|
|
663
|
-
onEof(
|
|
664
|
+
onEof(e) {
|
|
664
665
|
switch (this.insertionMode) {
|
|
665
|
-
case
|
|
666
|
-
|
|
666
|
+
case h.INITIAL:
|
|
667
|
+
x(this, e);
|
|
667
668
|
break;
|
|
668
|
-
case
|
|
669
|
-
|
|
669
|
+
case h.BEFORE_HTML:
|
|
670
|
+
S(this, e);
|
|
670
671
|
break;
|
|
671
|
-
case
|
|
672
|
-
|
|
672
|
+
case h.BEFORE_HEAD:
|
|
673
|
+
C(this, e);
|
|
673
674
|
break;
|
|
674
|
-
case
|
|
675
|
-
|
|
675
|
+
case h.IN_HEAD:
|
|
676
|
+
E(this, e);
|
|
676
677
|
break;
|
|
677
|
-
case
|
|
678
|
-
|
|
678
|
+
case h.IN_HEAD_NO_SCRIPT:
|
|
679
|
+
D(this, e);
|
|
679
680
|
break;
|
|
680
|
-
case
|
|
681
|
-
|
|
681
|
+
case h.AFTER_HEAD:
|
|
682
|
+
O(this, e);
|
|
682
683
|
break;
|
|
683
|
-
case
|
|
684
|
-
case
|
|
685
|
-
case
|
|
686
|
-
case
|
|
687
|
-
case
|
|
688
|
-
case
|
|
689
|
-
case
|
|
690
|
-
case
|
|
691
|
-
case
|
|
692
|
-
|
|
684
|
+
case h.IN_BODY:
|
|
685
|
+
case h.IN_TABLE:
|
|
686
|
+
case h.IN_CAPTION:
|
|
687
|
+
case h.IN_COLUMN_GROUP:
|
|
688
|
+
case h.IN_TABLE_BODY:
|
|
689
|
+
case h.IN_ROW:
|
|
690
|
+
case h.IN_CELL:
|
|
691
|
+
case h.IN_SELECT:
|
|
692
|
+
case h.IN_SELECT_IN_TABLE:
|
|
693
|
+
yt(this, e);
|
|
693
694
|
break;
|
|
694
|
-
case
|
|
695
|
-
|
|
695
|
+
case h.TEXT:
|
|
696
|
+
xt(this, e);
|
|
696
697
|
break;
|
|
697
|
-
case
|
|
698
|
-
|
|
698
|
+
case h.IN_TABLE_TEXT:
|
|
699
|
+
W(this, e);
|
|
699
700
|
break;
|
|
700
|
-
case
|
|
701
|
-
|
|
701
|
+
case h.IN_TEMPLATE:
|
|
702
|
+
Vt(this, e);
|
|
702
703
|
break;
|
|
703
|
-
case
|
|
704
|
-
case
|
|
705
|
-
case
|
|
706
|
-
case
|
|
707
|
-
case
|
|
708
|
-
|
|
704
|
+
case h.AFTER_BODY:
|
|
705
|
+
case h.IN_FRAMESET:
|
|
706
|
+
case h.AFTER_FRAMESET:
|
|
707
|
+
case h.AFTER_AFTER_BODY:
|
|
708
|
+
case h.AFTER_AFTER_FRAMESET:
|
|
709
|
+
b(this, e);
|
|
709
710
|
break;
|
|
710
711
|
default:
|
|
711
712
|
}
|
|
712
713
|
}
|
|
713
|
-
onWhitespaceCharacter(
|
|
714
|
-
if (this.skipNextNewLine && (this.skipNextNewLine = !1,
|
|
715
|
-
if (
|
|
716
|
-
|
|
714
|
+
onWhitespaceCharacter(t) {
|
|
715
|
+
if (this.skipNextNewLine && (this.skipNextNewLine = !1, t.chars.charCodeAt(0) === e.LINE_FEED)) {
|
|
716
|
+
if (t.chars.length === 1) return;
|
|
717
|
+
t.chars = t.chars.substr(1);
|
|
717
718
|
}
|
|
718
719
|
if (this.tokenizer.inForeignNode) {
|
|
719
|
-
this._insertCharacters(
|
|
720
|
+
this._insertCharacters(t);
|
|
720
721
|
return;
|
|
721
722
|
}
|
|
722
723
|
switch (this.insertionMode) {
|
|
723
|
-
case
|
|
724
|
-
case
|
|
725
|
-
case
|
|
726
|
-
case
|
|
727
|
-
case
|
|
728
|
-
case
|
|
729
|
-
case
|
|
730
|
-
case
|
|
731
|
-
case
|
|
732
|
-
this._insertCharacters(
|
|
733
|
-
break;
|
|
734
|
-
case
|
|
735
|
-
case
|
|
736
|
-
case
|
|
737
|
-
case
|
|
738
|
-
case
|
|
739
|
-
case
|
|
740
|
-
case
|
|
741
|
-
|
|
742
|
-
break;
|
|
743
|
-
case
|
|
744
|
-
case
|
|
745
|
-
case
|
|
746
|
-
|
|
747
|
-
break;
|
|
748
|
-
case
|
|
749
|
-
|
|
724
|
+
case h.IN_HEAD:
|
|
725
|
+
case h.IN_HEAD_NO_SCRIPT:
|
|
726
|
+
case h.AFTER_HEAD:
|
|
727
|
+
case h.TEXT:
|
|
728
|
+
case h.IN_COLUMN_GROUP:
|
|
729
|
+
case h.IN_SELECT:
|
|
730
|
+
case h.IN_SELECT_IN_TABLE:
|
|
731
|
+
case h.IN_FRAMESET:
|
|
732
|
+
case h.AFTER_FRAMESET:
|
|
733
|
+
this._insertCharacters(t);
|
|
734
|
+
break;
|
|
735
|
+
case h.IN_BODY:
|
|
736
|
+
case h.IN_CAPTION:
|
|
737
|
+
case h.IN_CELL:
|
|
738
|
+
case h.IN_TEMPLATE:
|
|
739
|
+
case h.AFTER_BODY:
|
|
740
|
+
case h.AFTER_AFTER_BODY:
|
|
741
|
+
case h.AFTER_AFTER_FRAMESET:
|
|
742
|
+
A(this, t);
|
|
743
|
+
break;
|
|
744
|
+
case h.IN_TABLE:
|
|
745
|
+
case h.IN_TABLE_BODY:
|
|
746
|
+
case h.IN_ROW:
|
|
747
|
+
R(this, t);
|
|
748
|
+
break;
|
|
749
|
+
case h.IN_TABLE_TEXT:
|
|
750
|
+
H(this, t);
|
|
750
751
|
break;
|
|
751
752
|
default:
|
|
752
753
|
}
|
|
753
754
|
}
|
|
754
755
|
};
|
|
755
|
-
function
|
|
756
|
-
let
|
|
757
|
-
return
|
|
758
|
-
}
|
|
759
|
-
function
|
|
760
|
-
let
|
|
761
|
-
for (;
|
|
762
|
-
let
|
|
763
|
-
if (
|
|
764
|
-
|
|
765
|
-
}
|
|
766
|
-
return
|
|
767
|
-
}
|
|
768
|
-
function
|
|
769
|
-
let
|
|
770
|
-
for (let
|
|
771
|
-
|
|
772
|
-
let
|
|
773
|
-
!
|
|
774
|
-
}
|
|
775
|
-
return
|
|
776
|
-
}
|
|
777
|
-
function
|
|
778
|
-
let
|
|
779
|
-
return
|
|
780
|
-
}
|
|
781
|
-
function
|
|
782
|
-
let
|
|
783
|
-
if (
|
|
756
|
+
function ge(e, t) {
|
|
757
|
+
let n = e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);
|
|
758
|
+
return n ? e.openElements.contains(n.element) ? e.openElements.hasInScope(t.tagID) || (n = null) : (e.activeFormattingElements.removeEntry(n), n = null) : I(e, t), n;
|
|
759
|
+
}
|
|
760
|
+
function _e(e, t) {
|
|
761
|
+
let n = null, r = e.openElements.stackTop;
|
|
762
|
+
for (; r >= 0; r--) {
|
|
763
|
+
let i = e.openElements.items[r];
|
|
764
|
+
if (i === t.element) break;
|
|
765
|
+
e._isSpecialElement(i, e.openElements.tagIDs[r]) && (n = i);
|
|
766
|
+
}
|
|
767
|
+
return n || (e.openElements.shortenToLength(Math.max(r, 0)), e.activeFormattingElements.removeEntry(t)), n;
|
|
768
|
+
}
|
|
769
|
+
function ve(e, t, n) {
|
|
770
|
+
let r = t, i = e.openElements.getCommonAncestor(t);
|
|
771
|
+
for (let a = 0, o = i; o !== n; a++, o = i) {
|
|
772
|
+
i = e.openElements.getCommonAncestor(o);
|
|
773
|
+
let n = e.activeFormattingElements.getElementEntry(o), s = n && a >= pe;
|
|
774
|
+
!n || s ? (s && e.activeFormattingElements.removeEntry(n), e.openElements.remove(o)) : (o = ye(e, n), r === t && (e.activeFormattingElements.bookmark = n), e.treeAdapter.detachNode(r), e.treeAdapter.appendChild(o, r), r = o);
|
|
775
|
+
}
|
|
776
|
+
return r;
|
|
777
|
+
}
|
|
778
|
+
function ye(e, t) {
|
|
779
|
+
let n = e.treeAdapter.getNamespaceURI(t.element), r = e.treeAdapter.createElement(t.token.tagName, n, t.token.attrs);
|
|
780
|
+
return e.openElements.replace(t.element, r), t.element = r, r;
|
|
781
|
+
}
|
|
782
|
+
function be(e, t, n) {
|
|
783
|
+
let r = u(e.treeAdapter.getTagName(t));
|
|
784
|
+
if (e._isElementCausesFosterParenting(r)) e._fosterParentElement(n);
|
|
784
785
|
else {
|
|
785
|
-
let
|
|
786
|
-
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
function
|
|
790
|
-
let
|
|
791
|
-
|
|
792
|
-
}
|
|
793
|
-
function
|
|
794
|
-
for (let
|
|
795
|
-
let
|
|
796
|
-
if (!
|
|
797
|
-
let
|
|
798
|
-
if (!
|
|
799
|
-
|
|
800
|
-
let
|
|
801
|
-
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
function
|
|
805
|
-
|
|
806
|
-
}
|
|
807
|
-
function
|
|
808
|
-
|
|
809
|
-
}
|
|
810
|
-
function
|
|
811
|
-
|
|
812
|
-
}
|
|
813
|
-
function
|
|
814
|
-
if (
|
|
815
|
-
let
|
|
816
|
-
for (let
|
|
817
|
-
if (!
|
|
818
|
-
let
|
|
819
|
-
if (
|
|
820
|
-
let
|
|
821
|
-
|
|
786
|
+
let i = e.treeAdapter.getNamespaceURI(t);
|
|
787
|
+
r === c.TEMPLATE && i === o.HTML && (t = e.treeAdapter.getTemplateContent(t)), e.treeAdapter.appendChild(t, n);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
function xe(e, t, n) {
|
|
791
|
+
let r = e.treeAdapter.getNamespaceURI(n.element), { token: i } = n, a = e.treeAdapter.createElement(i.tagName, r, i.attrs);
|
|
792
|
+
e._adoptNodes(t, a), e.treeAdapter.appendChild(t, a), e.activeFormattingElements.insertElementAfterBookmark(a, i), e.activeFormattingElements.removeEntry(n), e.openElements.remove(n.element), e.openElements.insertAfter(t, a, i.tagID);
|
|
793
|
+
}
|
|
794
|
+
function v(e, t) {
|
|
795
|
+
for (let n = 0; n < fe; n++) {
|
|
796
|
+
let n = ge(e, t);
|
|
797
|
+
if (!n) break;
|
|
798
|
+
let r = _e(e, n);
|
|
799
|
+
if (!r) break;
|
|
800
|
+
e.activeFormattingElements.bookmark = n;
|
|
801
|
+
let i = ve(e, r, n.element), a = e.openElements.getCommonAncestor(n.element);
|
|
802
|
+
e.treeAdapter.detachNode(i), a && be(e, a, i), xe(e, r, n);
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
function y(e, t) {
|
|
806
|
+
e._appendCommentNode(t, e.openElements.currentTmplContentOrNode);
|
|
807
|
+
}
|
|
808
|
+
function Se(e, t) {
|
|
809
|
+
e._appendCommentNode(t, e.openElements.items[0]);
|
|
810
|
+
}
|
|
811
|
+
function Ce(e, t) {
|
|
812
|
+
e._appendCommentNode(t, e.document);
|
|
813
|
+
}
|
|
814
|
+
function b(e, t) {
|
|
815
|
+
if (e.stopped = !0, t.location) {
|
|
816
|
+
let n = e.fragmentContext ? 0 : 2;
|
|
817
|
+
for (let r = e.openElements.stackTop; r >= n; r--) e._setEndLocation(e.openElements.items[r], t);
|
|
818
|
+
if (!e.fragmentContext && e.openElements.stackTop >= 0) {
|
|
819
|
+
let n = e.openElements.items[0], r = e.treeAdapter.getNodeSourceCodeLocation(n);
|
|
820
|
+
if (r && !r.endTag && (e._setEndLocation(n, t), e.openElements.stackTop >= 1)) {
|
|
821
|
+
let n = e.openElements.items[1], r = e.treeAdapter.getNodeSourceCodeLocation(n);
|
|
822
|
+
r && !r.endTag && e._setEndLocation(n, t);
|
|
822
823
|
}
|
|
823
824
|
}
|
|
824
825
|
}
|
|
825
826
|
}
|
|
826
|
-
function
|
|
827
|
-
|
|
828
|
-
let
|
|
829
|
-
|
|
827
|
+
function we(e, n) {
|
|
828
|
+
e._setDocumentType(n);
|
|
829
|
+
let r = n.forceQuirks ? a.QUIRKS : oe(n);
|
|
830
|
+
se(n) || e._err(n, t.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, r), e.insertionMode = h.BEFORE_HTML;
|
|
830
831
|
}
|
|
831
|
-
function
|
|
832
|
-
|
|
832
|
+
function x(e, n) {
|
|
833
|
+
e._err(n, t.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, a.QUIRKS), e.insertionMode = h.BEFORE_HTML, e._processToken(n);
|
|
833
834
|
}
|
|
834
|
-
function
|
|
835
|
-
|
|
835
|
+
function Te(e, t) {
|
|
836
|
+
t.tagID === c.HTML ? (e._insertElement(t, o.HTML), e.insertionMode = h.BEFORE_HEAD) : S(e, t);
|
|
836
837
|
}
|
|
837
|
-
function
|
|
838
|
-
let
|
|
839
|
-
(
|
|
838
|
+
function Ee(e, t) {
|
|
839
|
+
let n = t.tagID;
|
|
840
|
+
(n === c.HTML || n === c.HEAD || n === c.BODY || n === c.BR) && S(e, t);
|
|
840
841
|
}
|
|
841
|
-
function
|
|
842
|
-
|
|
842
|
+
function S(e, t) {
|
|
843
|
+
e._insertFakeRootElement(), e.insertionMode = h.BEFORE_HEAD, e._processToken(t);
|
|
843
844
|
}
|
|
844
|
-
function
|
|
845
|
-
switch (
|
|
846
|
-
case
|
|
847
|
-
|
|
845
|
+
function De(e, t) {
|
|
846
|
+
switch (t.tagID) {
|
|
847
|
+
case c.HTML:
|
|
848
|
+
F(e, t);
|
|
848
849
|
break;
|
|
849
|
-
case
|
|
850
|
-
|
|
850
|
+
case c.HEAD:
|
|
851
|
+
e._insertElement(t, o.HTML), e.headElement = e.openElements.current, e.insertionMode = h.IN_HEAD;
|
|
851
852
|
break;
|
|
852
|
-
default:
|
|
853
|
+
default: C(e, t);
|
|
853
854
|
}
|
|
854
855
|
}
|
|
855
|
-
function
|
|
856
|
-
let
|
|
857
|
-
|
|
856
|
+
function Oe(e, n) {
|
|
857
|
+
let r = n.tagID;
|
|
858
|
+
r === c.HEAD || r === c.BODY || r === c.HTML || r === c.BR ? C(e, n) : e._err(n, t.endTagWithoutMatchingOpenElement);
|
|
858
859
|
}
|
|
859
|
-
function
|
|
860
|
-
|
|
860
|
+
function C(e, t) {
|
|
861
|
+
e._insertFakeElement(l.HEAD, c.HEAD), e.headElement = e.openElements.current, e.insertionMode = h.IN_HEAD, e._processToken(t);
|
|
861
862
|
}
|
|
862
|
-
function
|
|
863
|
-
switch (
|
|
864
|
-
case
|
|
865
|
-
|
|
863
|
+
function w(e, n) {
|
|
864
|
+
switch (n.tagID) {
|
|
865
|
+
case c.HTML:
|
|
866
|
+
F(e, n);
|
|
866
867
|
break;
|
|
867
|
-
case
|
|
868
|
-
case
|
|
869
|
-
case
|
|
870
|
-
case
|
|
871
|
-
case
|
|
872
|
-
|
|
868
|
+
case c.BASE:
|
|
869
|
+
case c.BASEFONT:
|
|
870
|
+
case c.BGSOUND:
|
|
871
|
+
case c.LINK:
|
|
872
|
+
case c.META:
|
|
873
|
+
e._appendElement(n, o.HTML), n.ackSelfClosing = !0;
|
|
873
874
|
break;
|
|
874
|
-
case
|
|
875
|
-
|
|
875
|
+
case c.TITLE:
|
|
876
|
+
e._switchToTextParsing(n, d.RCDATA);
|
|
876
877
|
break;
|
|
877
|
-
case
|
|
878
|
-
|
|
878
|
+
case c.NOSCRIPT:
|
|
879
|
+
e.options.scriptingEnabled ? e._switchToTextParsing(n, d.RAWTEXT) : (e._insertElement(n, o.HTML), e.insertionMode = h.IN_HEAD_NO_SCRIPT);
|
|
879
880
|
break;
|
|
880
|
-
case
|
|
881
|
-
case
|
|
882
|
-
|
|
881
|
+
case c.NOFRAMES:
|
|
882
|
+
case c.STYLE:
|
|
883
|
+
e._switchToTextParsing(n, d.RAWTEXT);
|
|
883
884
|
break;
|
|
884
|
-
case
|
|
885
|
-
|
|
885
|
+
case c.SCRIPT:
|
|
886
|
+
e._switchToTextParsing(n, d.SCRIPT_DATA);
|
|
886
887
|
break;
|
|
887
|
-
case
|
|
888
|
-
|
|
888
|
+
case c.TEMPLATE:
|
|
889
|
+
e._insertTemplate(n), e.activeFormattingElements.insertMarker(), e.framesetOk = !1, e.insertionMode = h.IN_TEMPLATE, e.tmplInsertionModeStack.unshift(h.IN_TEMPLATE);
|
|
889
890
|
break;
|
|
890
|
-
case
|
|
891
|
-
|
|
891
|
+
case c.HEAD:
|
|
892
|
+
e._err(n, t.misplacedStartTagForHeadElement);
|
|
892
893
|
break;
|
|
893
|
-
default:
|
|
894
|
+
default: E(e, n);
|
|
894
895
|
}
|
|
895
896
|
}
|
|
896
|
-
function
|
|
897
|
-
switch (
|
|
898
|
-
case
|
|
899
|
-
|
|
897
|
+
function ke(e, n) {
|
|
898
|
+
switch (n.tagID) {
|
|
899
|
+
case c.HEAD:
|
|
900
|
+
e.openElements.pop(), e.insertionMode = h.AFTER_HEAD;
|
|
900
901
|
break;
|
|
901
|
-
case
|
|
902
|
-
case
|
|
903
|
-
case
|
|
904
|
-
|
|
902
|
+
case c.BODY:
|
|
903
|
+
case c.BR:
|
|
904
|
+
case c.HTML:
|
|
905
|
+
E(e, n);
|
|
905
906
|
break;
|
|
906
|
-
case
|
|
907
|
-
|
|
907
|
+
case c.TEMPLATE:
|
|
908
|
+
T(e, n);
|
|
908
909
|
break;
|
|
909
|
-
default:
|
|
910
|
+
default: e._err(n, t.endTagWithoutMatchingOpenElement);
|
|
910
911
|
}
|
|
911
912
|
}
|
|
912
|
-
function
|
|
913
|
-
|
|
913
|
+
function T(e, n) {
|
|
914
|
+
e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== c.TEMPLATE && e._err(n, t.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(c.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(n, t.endTagWithoutMatchingOpenElement);
|
|
914
915
|
}
|
|
915
|
-
function
|
|
916
|
-
|
|
916
|
+
function E(e, t) {
|
|
917
|
+
e.openElements.pop(), e.insertionMode = h.AFTER_HEAD, e._processToken(t);
|
|
917
918
|
}
|
|
918
|
-
function
|
|
919
|
-
switch (
|
|
920
|
-
case
|
|
921
|
-
|
|
919
|
+
function Ae(e, n) {
|
|
920
|
+
switch (n.tagID) {
|
|
921
|
+
case c.HTML:
|
|
922
|
+
F(e, n);
|
|
922
923
|
break;
|
|
923
|
-
case
|
|
924
|
-
case
|
|
925
|
-
case
|
|
926
|
-
case
|
|
927
|
-
case
|
|
928
|
-
case
|
|
929
|
-
case
|
|
930
|
-
|
|
924
|
+
case c.BASEFONT:
|
|
925
|
+
case c.BGSOUND:
|
|
926
|
+
case c.HEAD:
|
|
927
|
+
case c.LINK:
|
|
928
|
+
case c.META:
|
|
929
|
+
case c.NOFRAMES:
|
|
930
|
+
case c.STYLE:
|
|
931
|
+
w(e, n);
|
|
931
932
|
break;
|
|
932
|
-
case
|
|
933
|
-
|
|
933
|
+
case c.NOSCRIPT:
|
|
934
|
+
e._err(n, t.nestedNoscriptInHead);
|
|
934
935
|
break;
|
|
935
|
-
default:
|
|
936
|
+
default: D(e, n);
|
|
936
937
|
}
|
|
937
938
|
}
|
|
938
|
-
function
|
|
939
|
-
switch (
|
|
940
|
-
case
|
|
941
|
-
|
|
939
|
+
function je(e, n) {
|
|
940
|
+
switch (n.tagID) {
|
|
941
|
+
case c.NOSCRIPT:
|
|
942
|
+
e.openElements.pop(), e.insertionMode = h.IN_HEAD;
|
|
942
943
|
break;
|
|
943
|
-
case
|
|
944
|
-
|
|
944
|
+
case c.BR:
|
|
945
|
+
D(e, n);
|
|
945
946
|
break;
|
|
946
|
-
default:
|
|
947
|
+
default: e._err(n, t.endTagWithoutMatchingOpenElement);
|
|
947
948
|
}
|
|
948
949
|
}
|
|
949
|
-
function
|
|
950
|
-
let
|
|
951
|
-
|
|
950
|
+
function D(e, r) {
|
|
951
|
+
let i = r.type === n.EOF ? t.openElementsLeftAfterEof : t.disallowedContentInNoscriptInHead;
|
|
952
|
+
e._err(r, i), e.openElements.pop(), e.insertionMode = h.IN_HEAD, e._processToken(r);
|
|
952
953
|
}
|
|
953
|
-
function
|
|
954
|
-
switch (
|
|
955
|
-
case
|
|
956
|
-
|
|
954
|
+
function Me(e, n) {
|
|
955
|
+
switch (n.tagID) {
|
|
956
|
+
case c.HTML:
|
|
957
|
+
F(e, n);
|
|
957
958
|
break;
|
|
958
|
-
case
|
|
959
|
-
|
|
959
|
+
case c.BODY:
|
|
960
|
+
e._insertElement(n, o.HTML), e.framesetOk = !1, e.insertionMode = h.IN_BODY;
|
|
960
961
|
break;
|
|
961
|
-
case
|
|
962
|
-
|
|
962
|
+
case c.FRAMESET:
|
|
963
|
+
e._insertElement(n, o.HTML), e.insertionMode = h.IN_FRAMESET;
|
|
963
964
|
break;
|
|
964
|
-
case
|
|
965
|
-
case
|
|
966
|
-
case
|
|
967
|
-
case
|
|
968
|
-
case
|
|
969
|
-
case
|
|
970
|
-
case
|
|
971
|
-
case
|
|
972
|
-
case
|
|
973
|
-
case
|
|
974
|
-
|
|
965
|
+
case c.BASE:
|
|
966
|
+
case c.BASEFONT:
|
|
967
|
+
case c.BGSOUND:
|
|
968
|
+
case c.LINK:
|
|
969
|
+
case c.META:
|
|
970
|
+
case c.NOFRAMES:
|
|
971
|
+
case c.SCRIPT:
|
|
972
|
+
case c.STYLE:
|
|
973
|
+
case c.TEMPLATE:
|
|
974
|
+
case c.TITLE:
|
|
975
|
+
e._err(n, t.abandonedHeadElementChild), e.openElements.push(e.headElement, c.HEAD), w(e, n), e.openElements.remove(e.headElement);
|
|
975
976
|
break;
|
|
976
|
-
case
|
|
977
|
-
|
|
977
|
+
case c.HEAD:
|
|
978
|
+
e._err(n, t.misplacedStartTagForHeadElement);
|
|
978
979
|
break;
|
|
979
|
-
default:
|
|
980
|
+
default: O(e, n);
|
|
980
981
|
}
|
|
981
982
|
}
|
|
982
|
-
function
|
|
983
|
-
switch (
|
|
984
|
-
case
|
|
985
|
-
case
|
|
986
|
-
case
|
|
987
|
-
|
|
983
|
+
function Ne(e, n) {
|
|
984
|
+
switch (n.tagID) {
|
|
985
|
+
case c.BODY:
|
|
986
|
+
case c.HTML:
|
|
987
|
+
case c.BR:
|
|
988
|
+
O(e, n);
|
|
988
989
|
break;
|
|
989
|
-
case
|
|
990
|
-
|
|
990
|
+
case c.TEMPLATE:
|
|
991
|
+
T(e, n);
|
|
991
992
|
break;
|
|
992
|
-
default:
|
|
993
|
+
default: e._err(n, t.endTagWithoutMatchingOpenElement);
|
|
993
994
|
}
|
|
994
995
|
}
|
|
995
|
-
function
|
|
996
|
-
|
|
996
|
+
function O(e, t) {
|
|
997
|
+
e._insertFakeElement(l.BODY, c.BODY), e.insertionMode = h.IN_BODY, k(e, t);
|
|
997
998
|
}
|
|
998
|
-
function
|
|
999
|
-
switch (
|
|
1000
|
-
case
|
|
1001
|
-
|
|
999
|
+
function k(e, t) {
|
|
1000
|
+
switch (t.type) {
|
|
1001
|
+
case n.CHARACTER:
|
|
1002
|
+
j(e, t);
|
|
1002
1003
|
break;
|
|
1003
|
-
case
|
|
1004
|
-
|
|
1004
|
+
case n.WHITESPACE_CHARACTER:
|
|
1005
|
+
A(e, t);
|
|
1005
1006
|
break;
|
|
1006
|
-
case
|
|
1007
|
-
|
|
1007
|
+
case n.COMMENT:
|
|
1008
|
+
y(e, t);
|
|
1008
1009
|
break;
|
|
1009
|
-
case
|
|
1010
|
-
|
|
1010
|
+
case n.START_TAG:
|
|
1011
|
+
F(e, t);
|
|
1011
1012
|
break;
|
|
1012
|
-
case
|
|
1013
|
-
|
|
1013
|
+
case n.END_TAG:
|
|
1014
|
+
L(e, t);
|
|
1014
1015
|
break;
|
|
1015
|
-
case
|
|
1016
|
-
|
|
1016
|
+
case n.EOF:
|
|
1017
|
+
yt(e, t);
|
|
1017
1018
|
break;
|
|
1018
1019
|
default:
|
|
1019
1020
|
}
|
|
1020
1021
|
}
|
|
1021
|
-
function
|
|
1022
|
-
|
|
1022
|
+
function A(e, t) {
|
|
1023
|
+
e._reconstructActiveFormattingElements(), e._insertCharacters(t);
|
|
1023
1024
|
}
|
|
1024
|
-
function
|
|
1025
|
-
|
|
1025
|
+
function j(e, t) {
|
|
1026
|
+
e._reconstructActiveFormattingElements(), e._insertCharacters(t), e.framesetOk = !1;
|
|
1026
1027
|
}
|
|
1027
|
-
function
|
|
1028
|
-
|
|
1028
|
+
function Pe(e, t) {
|
|
1029
|
+
e.openElements.tmplCount === 0 && e.treeAdapter.adoptAttributes(e.openElements.items[0], t.attrs);
|
|
1029
1030
|
}
|
|
1030
|
-
function
|
|
1031
|
-
let
|
|
1032
|
-
|
|
1031
|
+
function Fe(e, t) {
|
|
1032
|
+
let n = e.openElements.tryPeekProperlyNestedBodyElement();
|
|
1033
|
+
n && e.openElements.tmplCount === 0 && (e.framesetOk = !1, e.treeAdapter.adoptAttributes(n, t.attrs));
|
|
1033
1034
|
}
|
|
1034
|
-
function
|
|
1035
|
-
let
|
|
1036
|
-
|
|
1035
|
+
function Ie(e, t) {
|
|
1036
|
+
let n = e.openElements.tryPeekProperlyNestedBodyElement();
|
|
1037
|
+
e.framesetOk && n && (e.treeAdapter.detachNode(n), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, o.HTML), e.insertionMode = h.IN_FRAMESET);
|
|
1037
1038
|
}
|
|
1038
|
-
function
|
|
1039
|
-
|
|
1039
|
+
function Le(e, t) {
|
|
1040
|
+
e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._insertElement(t, o.HTML);
|
|
1040
1041
|
}
|
|
1041
|
-
function
|
|
1042
|
-
|
|
1042
|
+
function Re(e, t) {
|
|
1043
|
+
e.openElements.hasInButtonScope(c.P) && e._closePElement(), e.openElements.currentTagId !== void 0 && s.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, o.HTML);
|
|
1043
1044
|
}
|
|
1044
|
-
function
|
|
1045
|
-
|
|
1045
|
+
function ze(e, t) {
|
|
1046
|
+
e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._insertElement(t, o.HTML), e.skipNextNewLine = !0, e.framesetOk = !1;
|
|
1046
1047
|
}
|
|
1047
|
-
function
|
|
1048
|
-
let
|
|
1049
|
-
(!
|
|
1048
|
+
function Be(e, t) {
|
|
1049
|
+
let n = e.openElements.tmplCount > 0;
|
|
1050
|
+
(!e.formElement || n) && (e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._insertElement(t, o.HTML), n || (e.formElement = e.openElements.current));
|
|
1050
1051
|
}
|
|
1051
|
-
function
|
|
1052
|
-
|
|
1053
|
-
let
|
|
1054
|
-
for (let
|
|
1055
|
-
let
|
|
1056
|
-
if (
|
|
1057
|
-
|
|
1052
|
+
function Ve(e, t) {
|
|
1053
|
+
e.framesetOk = !1;
|
|
1054
|
+
let n = t.tagID;
|
|
1055
|
+
for (let t = e.openElements.stackTop; t >= 0; t--) {
|
|
1056
|
+
let r = e.openElements.tagIDs[t];
|
|
1057
|
+
if (n === c.LI && r === c.LI || (n === c.DD || n === c.DT) && (r === c.DD || r === c.DT)) {
|
|
1058
|
+
e.openElements.generateImpliedEndTagsWithExclusion(r), e.openElements.popUntilTagNamePopped(r);
|
|
1058
1059
|
break;
|
|
1059
1060
|
}
|
|
1060
|
-
if (
|
|
1061
|
+
if (r !== c.ADDRESS && r !== c.DIV && r !== c.P && e._isSpecialElement(e.openElements.items[t], r)) break;
|
|
1061
1062
|
}
|
|
1062
|
-
|
|
1063
|
+
e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._insertElement(t, o.HTML);
|
|
1063
1064
|
}
|
|
1064
|
-
function
|
|
1065
|
-
|
|
1065
|
+
function He(e, t) {
|
|
1066
|
+
e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._insertElement(t, o.HTML), e.tokenizer.state = d.PLAINTEXT;
|
|
1066
1067
|
}
|
|
1067
|
-
function
|
|
1068
|
-
|
|
1068
|
+
function Ue(e, t) {
|
|
1069
|
+
e.openElements.hasInScope(c.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(c.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, o.HTML), e.framesetOk = !1;
|
|
1069
1070
|
}
|
|
1070
|
-
function
|
|
1071
|
-
let
|
|
1072
|
-
|
|
1071
|
+
function We(e, t) {
|
|
1072
|
+
let n = e.activeFormattingElements.getElementEntryInScopeWithTagName(l.A);
|
|
1073
|
+
n && (v(e, t), e.openElements.remove(n.element), e.activeFormattingElements.removeEntry(n)), e._reconstructActiveFormattingElements(), e._insertElement(t, o.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
|
|
1073
1074
|
}
|
|
1074
|
-
function
|
|
1075
|
-
|
|
1075
|
+
function Ge(e, t) {
|
|
1076
|
+
e._reconstructActiveFormattingElements(), e._insertElement(t, o.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
|
|
1076
1077
|
}
|
|
1077
|
-
function
|
|
1078
|
-
|
|
1079
|
-
}
|
|
1080
|
-
function
|
|
1081
|
-
|
|
1082
|
-
}
|
|
1083
|
-
function
|
|
1084
|
-
|
|
1085
|
-
}
|
|
1086
|
-
function
|
|
1087
|
-
|
|
1088
|
-
}
|
|
1089
|
-
function
|
|
1090
|
-
let
|
|
1091
|
-
return
|
|
1092
|
-
}
|
|
1093
|
-
function
|
|
1094
|
-
|
|
1095
|
-
}
|
|
1096
|
-
function
|
|
1097
|
-
|
|
1098
|
-
}
|
|
1099
|
-
function
|
|
1100
|
-
|
|
1101
|
-
}
|
|
1102
|
-
function
|
|
1103
|
-
|
|
1104
|
-
}
|
|
1105
|
-
function
|
|
1106
|
-
|
|
1107
|
-
}
|
|
1108
|
-
function
|
|
1109
|
-
|
|
1110
|
-
}
|
|
1111
|
-
function
|
|
1112
|
-
|
|
1113
|
-
}
|
|
1114
|
-
function
|
|
1115
|
-
|
|
1116
|
-
}
|
|
1117
|
-
function
|
|
1118
|
-
|
|
1119
|
-
}
|
|
1120
|
-
function
|
|
1121
|
-
|
|
1122
|
-
}
|
|
1123
|
-
function
|
|
1124
|
-
|
|
1125
|
-
}
|
|
1126
|
-
function
|
|
1127
|
-
|
|
1128
|
-
}
|
|
1129
|
-
function
|
|
1130
|
-
|
|
1131
|
-
}
|
|
1132
|
-
function
|
|
1133
|
-
|
|
1134
|
-
}
|
|
1135
|
-
function
|
|
1136
|
-
|
|
1137
|
-
}
|
|
1138
|
-
function
|
|
1139
|
-
switch (
|
|
1140
|
-
case
|
|
1141
|
-
case
|
|
1142
|
-
case
|
|
1143
|
-
case
|
|
1144
|
-
case
|
|
1145
|
-
case
|
|
1146
|
-
case
|
|
1147
|
-
case
|
|
1148
|
-
case
|
|
1149
|
-
case
|
|
1150
|
-
case
|
|
1151
|
-
case
|
|
1152
|
-
|
|
1153
|
-
break;
|
|
1154
|
-
case
|
|
1155
|
-
|
|
1156
|
-
break;
|
|
1157
|
-
case
|
|
1158
|
-
case
|
|
1159
|
-
case
|
|
1160
|
-
case
|
|
1161
|
-
case
|
|
1162
|
-
case
|
|
1163
|
-
|
|
1164
|
-
break;
|
|
1165
|
-
case
|
|
1166
|
-
case
|
|
1167
|
-
case
|
|
1168
|
-
case
|
|
1169
|
-
case
|
|
1170
|
-
case
|
|
1171
|
-
case
|
|
1172
|
-
case
|
|
1173
|
-
case
|
|
1174
|
-
case
|
|
1175
|
-
case
|
|
1176
|
-
case
|
|
1177
|
-
case
|
|
1178
|
-
case
|
|
1179
|
-
case
|
|
1180
|
-
case
|
|
1181
|
-
case
|
|
1182
|
-
case
|
|
1183
|
-
case
|
|
1184
|
-
case
|
|
1185
|
-
case
|
|
1186
|
-
case
|
|
1187
|
-
case
|
|
1188
|
-
case
|
|
1189
|
-
case
|
|
1190
|
-
|
|
1191
|
-
break;
|
|
1192
|
-
case
|
|
1193
|
-
case
|
|
1194
|
-
case
|
|
1195
|
-
|
|
1196
|
-
break;
|
|
1197
|
-
case
|
|
1198
|
-
case
|
|
1199
|
-
case
|
|
1200
|
-
case
|
|
1201
|
-
case
|
|
1202
|
-
case
|
|
1203
|
-
|
|
1204
|
-
break;
|
|
1205
|
-
case
|
|
1206
|
-
|
|
1207
|
-
break;
|
|
1208
|
-
case
|
|
1209
|
-
case
|
|
1210
|
-
|
|
1211
|
-
break;
|
|
1212
|
-
case
|
|
1213
|
-
case
|
|
1214
|
-
|
|
1215
|
-
break;
|
|
1216
|
-
case
|
|
1217
|
-
case
|
|
1218
|
-
|
|
1219
|
-
break;
|
|
1220
|
-
case
|
|
1221
|
-
|
|
1222
|
-
break;
|
|
1223
|
-
case
|
|
1224
|
-
|
|
1225
|
-
break;
|
|
1226
|
-
case
|
|
1227
|
-
|
|
1228
|
-
break;
|
|
1229
|
-
case
|
|
1230
|
-
case
|
|
1231
|
-
case
|
|
1232
|
-
case
|
|
1233
|
-
case
|
|
1234
|
-
case
|
|
1235
|
-
case
|
|
1236
|
-
case
|
|
1237
|
-
case
|
|
1238
|
-
|
|
1239
|
-
break;
|
|
1240
|
-
case
|
|
1241
|
-
|
|
1242
|
-
break;
|
|
1243
|
-
case
|
|
1244
|
-
|
|
1245
|
-
break;
|
|
1246
|
-
case
|
|
1247
|
-
|
|
1248
|
-
break;
|
|
1249
|
-
case
|
|
1250
|
-
|
|
1251
|
-
break;
|
|
1252
|
-
case
|
|
1253
|
-
|
|
1254
|
-
break;
|
|
1255
|
-
case
|
|
1256
|
-
|
|
1257
|
-
break;
|
|
1258
|
-
case
|
|
1259
|
-
case
|
|
1260
|
-
case
|
|
1261
|
-
|
|
1262
|
-
break;
|
|
1263
|
-
case
|
|
1264
|
-
|
|
1265
|
-
break;
|
|
1266
|
-
case
|
|
1267
|
-
|
|
1268
|
-
break;
|
|
1269
|
-
case
|
|
1270
|
-
case
|
|
1271
|
-
case
|
|
1272
|
-
|
|
1273
|
-
break;
|
|
1274
|
-
case
|
|
1275
|
-
|
|
1276
|
-
break;
|
|
1277
|
-
case
|
|
1278
|
-
|
|
1279
|
-
break;
|
|
1280
|
-
case
|
|
1281
|
-
case
|
|
1282
|
-
|
|
1078
|
+
function Ke(e, t) {
|
|
1079
|
+
e._reconstructActiveFormattingElements(), e.openElements.hasInScope(c.NOBR) && (v(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, o.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
|
|
1080
|
+
}
|
|
1081
|
+
function qe(e, t) {
|
|
1082
|
+
e._reconstructActiveFormattingElements(), e._insertElement(t, o.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
|
|
1083
|
+
}
|
|
1084
|
+
function Je(e, t) {
|
|
1085
|
+
e.treeAdapter.getDocumentMode(e.document) !== a.QUIRKS && e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._insertElement(t, o.HTML), e.framesetOk = !1, e.insertionMode = h.IN_TABLE;
|
|
1086
|
+
}
|
|
1087
|
+
function M(e, t) {
|
|
1088
|
+
e._reconstructActiveFormattingElements(), e._appendElement(t, o.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
|
|
1089
|
+
}
|
|
1090
|
+
function Ye(e) {
|
|
1091
|
+
let t = r(e, i.TYPE);
|
|
1092
|
+
return t != null && t.toLowerCase() === de;
|
|
1093
|
+
}
|
|
1094
|
+
function Xe(e, t) {
|
|
1095
|
+
e._reconstructActiveFormattingElements(), e._appendElement(t, o.HTML), Ye(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
|
|
1096
|
+
}
|
|
1097
|
+
function Ze(e, t) {
|
|
1098
|
+
e._appendElement(t, o.HTML), t.ackSelfClosing = !0;
|
|
1099
|
+
}
|
|
1100
|
+
function Qe(e, t) {
|
|
1101
|
+
e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._appendElement(t, o.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
|
|
1102
|
+
}
|
|
1103
|
+
function $e(e, t) {
|
|
1104
|
+
t.tagName = l.IMG, t.tagID = c.IMG, M(e, t);
|
|
1105
|
+
}
|
|
1106
|
+
function et(e, t) {
|
|
1107
|
+
e._insertElement(t, o.HTML), e.skipNextNewLine = !0, e.tokenizer.state = d.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = h.TEXT;
|
|
1108
|
+
}
|
|
1109
|
+
function tt(e, t) {
|
|
1110
|
+
e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, d.RAWTEXT);
|
|
1111
|
+
}
|
|
1112
|
+
function nt(e, t) {
|
|
1113
|
+
e.framesetOk = !1, e._switchToTextParsing(t, d.RAWTEXT);
|
|
1114
|
+
}
|
|
1115
|
+
function N(e, t) {
|
|
1116
|
+
e._switchToTextParsing(t, d.RAWTEXT);
|
|
1117
|
+
}
|
|
1118
|
+
function rt(e, t) {
|
|
1119
|
+
e._reconstructActiveFormattingElements(), e._insertElement(t, o.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === h.IN_TABLE || e.insertionMode === h.IN_CAPTION || e.insertionMode === h.IN_TABLE_BODY || e.insertionMode === h.IN_ROW || e.insertionMode === h.IN_CELL ? h.IN_SELECT_IN_TABLE : h.IN_SELECT;
|
|
1120
|
+
}
|
|
1121
|
+
function it(e, t) {
|
|
1122
|
+
e.openElements.currentTagId === c.OPTION && e.openElements.pop(), e._reconstructActiveFormattingElements(), e._insertElement(t, o.HTML);
|
|
1123
|
+
}
|
|
1124
|
+
function at(e, t) {
|
|
1125
|
+
e.openElements.hasInScope(c.RUBY) && e.openElements.generateImpliedEndTags(), e._insertElement(t, o.HTML);
|
|
1126
|
+
}
|
|
1127
|
+
function ot(e, t) {
|
|
1128
|
+
e.openElements.hasInScope(c.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(c.RTC), e._insertElement(t, o.HTML);
|
|
1129
|
+
}
|
|
1130
|
+
function st(e, t) {
|
|
1131
|
+
e._reconstructActiveFormattingElements(), f(t), m(t), t.selfClosing ? e._appendElement(t, o.MATHML) : e._insertElement(t, o.MATHML), t.ackSelfClosing = !0;
|
|
1132
|
+
}
|
|
1133
|
+
function ct(e, t) {
|
|
1134
|
+
e._reconstructActiveFormattingElements(), p(t), m(t), t.selfClosing ? e._appendElement(t, o.SVG) : e._insertElement(t, o.SVG), t.ackSelfClosing = !0;
|
|
1135
|
+
}
|
|
1136
|
+
function P(e, t) {
|
|
1137
|
+
e._reconstructActiveFormattingElements(), e._insertElement(t, o.HTML);
|
|
1138
|
+
}
|
|
1139
|
+
function F(e, t) {
|
|
1140
|
+
switch (t.tagID) {
|
|
1141
|
+
case c.I:
|
|
1142
|
+
case c.S:
|
|
1143
|
+
case c.B:
|
|
1144
|
+
case c.U:
|
|
1145
|
+
case c.EM:
|
|
1146
|
+
case c.TT:
|
|
1147
|
+
case c.BIG:
|
|
1148
|
+
case c.CODE:
|
|
1149
|
+
case c.FONT:
|
|
1150
|
+
case c.SMALL:
|
|
1151
|
+
case c.STRIKE:
|
|
1152
|
+
case c.STRONG:
|
|
1153
|
+
Ge(e, t);
|
|
1154
|
+
break;
|
|
1155
|
+
case c.A:
|
|
1156
|
+
We(e, t);
|
|
1157
|
+
break;
|
|
1158
|
+
case c.H1:
|
|
1159
|
+
case c.H2:
|
|
1160
|
+
case c.H3:
|
|
1161
|
+
case c.H4:
|
|
1162
|
+
case c.H5:
|
|
1163
|
+
case c.H6:
|
|
1164
|
+
Re(e, t);
|
|
1165
|
+
break;
|
|
1166
|
+
case c.P:
|
|
1167
|
+
case c.DL:
|
|
1168
|
+
case c.OL:
|
|
1169
|
+
case c.UL:
|
|
1170
|
+
case c.DIV:
|
|
1171
|
+
case c.DIR:
|
|
1172
|
+
case c.NAV:
|
|
1173
|
+
case c.MAIN:
|
|
1174
|
+
case c.MENU:
|
|
1175
|
+
case c.ASIDE:
|
|
1176
|
+
case c.CENTER:
|
|
1177
|
+
case c.FIGURE:
|
|
1178
|
+
case c.FOOTER:
|
|
1179
|
+
case c.HEADER:
|
|
1180
|
+
case c.HGROUP:
|
|
1181
|
+
case c.DIALOG:
|
|
1182
|
+
case c.DETAILS:
|
|
1183
|
+
case c.ADDRESS:
|
|
1184
|
+
case c.ARTICLE:
|
|
1185
|
+
case c.SEARCH:
|
|
1186
|
+
case c.SECTION:
|
|
1187
|
+
case c.SUMMARY:
|
|
1188
|
+
case c.FIELDSET:
|
|
1189
|
+
case c.BLOCKQUOTE:
|
|
1190
|
+
case c.FIGCAPTION:
|
|
1191
|
+
Le(e, t);
|
|
1192
|
+
break;
|
|
1193
|
+
case c.LI:
|
|
1194
|
+
case c.DD:
|
|
1195
|
+
case c.DT:
|
|
1196
|
+
Ve(e, t);
|
|
1197
|
+
break;
|
|
1198
|
+
case c.BR:
|
|
1199
|
+
case c.IMG:
|
|
1200
|
+
case c.WBR:
|
|
1201
|
+
case c.AREA:
|
|
1202
|
+
case c.EMBED:
|
|
1203
|
+
case c.KEYGEN:
|
|
1204
|
+
M(e, t);
|
|
1205
|
+
break;
|
|
1206
|
+
case c.HR:
|
|
1207
|
+
Qe(e, t);
|
|
1208
|
+
break;
|
|
1209
|
+
case c.RB:
|
|
1210
|
+
case c.RTC:
|
|
1211
|
+
at(e, t);
|
|
1212
|
+
break;
|
|
1213
|
+
case c.RT:
|
|
1214
|
+
case c.RP:
|
|
1215
|
+
ot(e, t);
|
|
1216
|
+
break;
|
|
1217
|
+
case c.PRE:
|
|
1218
|
+
case c.LISTING:
|
|
1219
|
+
ze(e, t);
|
|
1220
|
+
break;
|
|
1221
|
+
case c.XMP:
|
|
1222
|
+
tt(e, t);
|
|
1223
|
+
break;
|
|
1224
|
+
case c.SVG:
|
|
1225
|
+
ct(e, t);
|
|
1226
|
+
break;
|
|
1227
|
+
case c.HTML:
|
|
1228
|
+
Pe(e, t);
|
|
1229
|
+
break;
|
|
1230
|
+
case c.BASE:
|
|
1231
|
+
case c.LINK:
|
|
1232
|
+
case c.META:
|
|
1233
|
+
case c.STYLE:
|
|
1234
|
+
case c.TITLE:
|
|
1235
|
+
case c.SCRIPT:
|
|
1236
|
+
case c.BGSOUND:
|
|
1237
|
+
case c.BASEFONT:
|
|
1238
|
+
case c.TEMPLATE:
|
|
1239
|
+
w(e, t);
|
|
1240
|
+
break;
|
|
1241
|
+
case c.BODY:
|
|
1242
|
+
Fe(e, t);
|
|
1243
|
+
break;
|
|
1244
|
+
case c.FORM:
|
|
1245
|
+
Be(e, t);
|
|
1246
|
+
break;
|
|
1247
|
+
case c.NOBR:
|
|
1248
|
+
Ke(e, t);
|
|
1249
|
+
break;
|
|
1250
|
+
case c.MATH:
|
|
1251
|
+
st(e, t);
|
|
1252
|
+
break;
|
|
1253
|
+
case c.TABLE:
|
|
1254
|
+
Je(e, t);
|
|
1255
|
+
break;
|
|
1256
|
+
case c.INPUT:
|
|
1257
|
+
Xe(e, t);
|
|
1258
|
+
break;
|
|
1259
|
+
case c.PARAM:
|
|
1260
|
+
case c.TRACK:
|
|
1261
|
+
case c.SOURCE:
|
|
1262
|
+
Ze(e, t);
|
|
1263
|
+
break;
|
|
1264
|
+
case c.IMAGE:
|
|
1265
|
+
$e(e, t);
|
|
1266
|
+
break;
|
|
1267
|
+
case c.BUTTON:
|
|
1268
|
+
Ue(e, t);
|
|
1269
|
+
break;
|
|
1270
|
+
case c.APPLET:
|
|
1271
|
+
case c.OBJECT:
|
|
1272
|
+
case c.MARQUEE:
|
|
1273
|
+
qe(e, t);
|
|
1274
|
+
break;
|
|
1275
|
+
case c.IFRAME:
|
|
1276
|
+
nt(e, t);
|
|
1277
|
+
break;
|
|
1278
|
+
case c.SELECT:
|
|
1279
|
+
rt(e, t);
|
|
1280
|
+
break;
|
|
1281
|
+
case c.OPTION:
|
|
1282
|
+
case c.OPTGROUP:
|
|
1283
|
+
it(e, t);
|
|
1283
1284
|
break;
|
|
1284
|
-
case
|
|
1285
|
-
case
|
|
1286
|
-
|
|
1285
|
+
case c.NOEMBED:
|
|
1286
|
+
case c.NOFRAMES:
|
|
1287
|
+
N(e, t);
|
|
1287
1288
|
break;
|
|
1288
|
-
case
|
|
1289
|
-
|
|
1289
|
+
case c.FRAMESET:
|
|
1290
|
+
Ie(e, t);
|
|
1290
1291
|
break;
|
|
1291
|
-
case
|
|
1292
|
-
|
|
1292
|
+
case c.TEXTAREA:
|
|
1293
|
+
et(e, t);
|
|
1293
1294
|
break;
|
|
1294
|
-
case
|
|
1295
|
-
|
|
1295
|
+
case c.NOSCRIPT:
|
|
1296
|
+
e.options.scriptingEnabled ? N(e, t) : P(e, t);
|
|
1296
1297
|
break;
|
|
1297
|
-
case
|
|
1298
|
-
|
|
1298
|
+
case c.PLAINTEXT:
|
|
1299
|
+
He(e, t);
|
|
1299
1300
|
break;
|
|
1300
|
-
case
|
|
1301
|
-
case
|
|
1302
|
-
case
|
|
1303
|
-
case
|
|
1304
|
-
case
|
|
1305
|
-
case
|
|
1306
|
-
case
|
|
1307
|
-
case
|
|
1308
|
-
case
|
|
1309
|
-
case
|
|
1310
|
-
case
|
|
1311
|
-
default:
|
|
1301
|
+
case c.COL:
|
|
1302
|
+
case c.TH:
|
|
1303
|
+
case c.TD:
|
|
1304
|
+
case c.TR:
|
|
1305
|
+
case c.HEAD:
|
|
1306
|
+
case c.FRAME:
|
|
1307
|
+
case c.TBODY:
|
|
1308
|
+
case c.TFOOT:
|
|
1309
|
+
case c.THEAD:
|
|
1310
|
+
case c.CAPTION:
|
|
1311
|
+
case c.COLGROUP: break;
|
|
1312
|
+
default: P(e, t);
|
|
1312
1313
|
}
|
|
1313
1314
|
}
|
|
1314
|
-
function
|
|
1315
|
-
if (
|
|
1316
|
-
let
|
|
1317
|
-
|
|
1315
|
+
function lt(e, t) {
|
|
1316
|
+
if (e.openElements.hasInScope(c.BODY) && (e.insertionMode = h.AFTER_BODY, e.options.sourceCodeLocationInfo)) {
|
|
1317
|
+
let n = e.openElements.tryPeekProperlyNestedBodyElement();
|
|
1318
|
+
n && e._setEndLocation(n, t);
|
|
1318
1319
|
}
|
|
1319
1320
|
}
|
|
1320
|
-
function
|
|
1321
|
-
|
|
1321
|
+
function ut(e, t) {
|
|
1322
|
+
e.openElements.hasInScope(c.BODY) && (e.insertionMode = h.AFTER_BODY, Ut(e, t));
|
|
1322
1323
|
}
|
|
1323
|
-
function
|
|
1324
|
-
let
|
|
1325
|
-
|
|
1324
|
+
function dt(e, t) {
|
|
1325
|
+
let n = t.tagID;
|
|
1326
|
+
e.openElements.hasInScope(n) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n));
|
|
1326
1327
|
}
|
|
1327
|
-
function
|
|
1328
|
-
let
|
|
1329
|
-
|
|
1328
|
+
function ft(e) {
|
|
1329
|
+
let t = e.openElements.tmplCount > 0, { formElement: n } = e;
|
|
1330
|
+
t || (e.formElement = null), (n || t) && e.openElements.hasInScope(c.FORM) && (e.openElements.generateImpliedEndTags(), t ? e.openElements.popUntilTagNamePopped(c.FORM) : n && e.openElements.remove(n));
|
|
1330
1331
|
}
|
|
1331
|
-
function
|
|
1332
|
-
|
|
1332
|
+
function pt(e) {
|
|
1333
|
+
e.openElements.hasInButtonScope(c.P) || e._insertFakeElement(l.P, c.P), e._closePElement();
|
|
1333
1334
|
}
|
|
1334
|
-
function
|
|
1335
|
-
|
|
1335
|
+
function mt(e) {
|
|
1336
|
+
e.openElements.hasInListItemScope(c.LI) && (e.openElements.generateImpliedEndTagsWithExclusion(c.LI), e.openElements.popUntilTagNamePopped(c.LI));
|
|
1336
1337
|
}
|
|
1337
|
-
function
|
|
1338
|
-
let
|
|
1339
|
-
|
|
1338
|
+
function ht(e, t) {
|
|
1339
|
+
let n = t.tagID;
|
|
1340
|
+
e.openElements.hasInScope(n) && (e.openElements.generateImpliedEndTagsWithExclusion(n), e.openElements.popUntilTagNamePopped(n));
|
|
1340
1341
|
}
|
|
1341
|
-
function
|
|
1342
|
-
|
|
1342
|
+
function gt(e) {
|
|
1343
|
+
e.openElements.hasNumberedHeaderInScope() && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilNumberedHeaderPopped());
|
|
1343
1344
|
}
|
|
1344
|
-
function
|
|
1345
|
-
let
|
|
1346
|
-
|
|
1345
|
+
function _t(e, t) {
|
|
1346
|
+
let n = t.tagID;
|
|
1347
|
+
e.openElements.hasInScope(n) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n), e.activeFormattingElements.clearToLastMarker());
|
|
1347
1348
|
}
|
|
1348
|
-
function
|
|
1349
|
-
|
|
1349
|
+
function vt(e) {
|
|
1350
|
+
e._reconstructActiveFormattingElements(), e._insertFakeElement(l.BR, c.BR), e.openElements.pop(), e.framesetOk = !1;
|
|
1350
1351
|
}
|
|
1351
|
-
function
|
|
1352
|
-
let
|
|
1353
|
-
for (let
|
|
1354
|
-
let
|
|
1355
|
-
if (
|
|
1356
|
-
|
|
1352
|
+
function I(e, t) {
|
|
1353
|
+
let n = t.tagName, r = t.tagID;
|
|
1354
|
+
for (let t = e.openElements.stackTop; t > 0; t--) {
|
|
1355
|
+
let i = e.openElements.items[t], a = e.openElements.tagIDs[t];
|
|
1356
|
+
if (r === a && (r !== c.UNKNOWN || e.treeAdapter.getTagName(i) === n)) {
|
|
1357
|
+
e.openElements.generateImpliedEndTagsWithExclusion(r), e.openElements.stackTop >= t && e.openElements.shortenToLength(t);
|
|
1357
1358
|
break;
|
|
1358
1359
|
}
|
|
1359
|
-
if (
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
function
|
|
1363
|
-
switch (
|
|
1364
|
-
case
|
|
1365
|
-
case
|
|
1366
|
-
case
|
|
1367
|
-
case
|
|
1368
|
-
case
|
|
1369
|
-
case
|
|
1370
|
-
case
|
|
1371
|
-
case
|
|
1372
|
-
case
|
|
1373
|
-
case
|
|
1374
|
-
case
|
|
1375
|
-
case
|
|
1376
|
-
case
|
|
1377
|
-
case
|
|
1378
|
-
|
|
1379
|
-
break;
|
|
1380
|
-
case
|
|
1381
|
-
|
|
1382
|
-
break;
|
|
1383
|
-
case
|
|
1384
|
-
case
|
|
1385
|
-
case
|
|
1386
|
-
case
|
|
1387
|
-
case
|
|
1388
|
-
case
|
|
1389
|
-
case
|
|
1390
|
-
case
|
|
1391
|
-
case
|
|
1392
|
-
case
|
|
1393
|
-
case
|
|
1394
|
-
case
|
|
1395
|
-
case
|
|
1396
|
-
case
|
|
1397
|
-
case
|
|
1398
|
-
case
|
|
1399
|
-
case
|
|
1400
|
-
case
|
|
1401
|
-
case
|
|
1402
|
-
case
|
|
1403
|
-
case
|
|
1404
|
-
case
|
|
1405
|
-
case
|
|
1406
|
-
case
|
|
1407
|
-
case
|
|
1408
|
-
case
|
|
1409
|
-
case
|
|
1410
|
-
|
|
1411
|
-
break;
|
|
1412
|
-
case
|
|
1413
|
-
|
|
1414
|
-
break;
|
|
1415
|
-
case
|
|
1416
|
-
case
|
|
1417
|
-
|
|
1418
|
-
break;
|
|
1419
|
-
case
|
|
1420
|
-
case
|
|
1421
|
-
case
|
|
1422
|
-
case
|
|
1423
|
-
case
|
|
1424
|
-
case
|
|
1425
|
-
|
|
1426
|
-
break;
|
|
1427
|
-
case
|
|
1428
|
-
|
|
1429
|
-
break;
|
|
1430
|
-
case
|
|
1431
|
-
|
|
1432
|
-
break;
|
|
1433
|
-
case
|
|
1434
|
-
|
|
1435
|
-
break;
|
|
1436
|
-
case
|
|
1437
|
-
|
|
1438
|
-
break;
|
|
1439
|
-
case
|
|
1440
|
-
case
|
|
1441
|
-
case
|
|
1442
|
-
|
|
1443
|
-
break;
|
|
1444
|
-
case
|
|
1445
|
-
|
|
1446
|
-
break;
|
|
1447
|
-
default:
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
function
|
|
1451
|
-
|
|
1452
|
-
}
|
|
1453
|
-
function
|
|
1454
|
-
var
|
|
1455
|
-
|
|
1456
|
-
}
|
|
1457
|
-
function
|
|
1458
|
-
|
|
1459
|
-
}
|
|
1460
|
-
function
|
|
1461
|
-
if (
|
|
1462
|
-
case
|
|
1463
|
-
|
|
1464
|
-
break;
|
|
1465
|
-
case
|
|
1466
|
-
|
|
1467
|
-
break;
|
|
1468
|
-
}
|
|
1469
|
-
else
|
|
1470
|
-
}
|
|
1471
|
-
function
|
|
1472
|
-
|
|
1473
|
-
}
|
|
1474
|
-
function
|
|
1475
|
-
|
|
1476
|
-
}
|
|
1477
|
-
function
|
|
1478
|
-
|
|
1479
|
-
}
|
|
1480
|
-
function
|
|
1481
|
-
|
|
1482
|
-
}
|
|
1483
|
-
function
|
|
1484
|
-
|
|
1485
|
-
}
|
|
1486
|
-
function
|
|
1487
|
-
|
|
1488
|
-
}
|
|
1489
|
-
function
|
|
1490
|
-
|
|
1491
|
-
}
|
|
1492
|
-
function
|
|
1493
|
-
!
|
|
1360
|
+
if (e._isSpecialElement(i, a)) break;
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
function L(e, t) {
|
|
1364
|
+
switch (t.tagID) {
|
|
1365
|
+
case c.A:
|
|
1366
|
+
case c.B:
|
|
1367
|
+
case c.I:
|
|
1368
|
+
case c.S:
|
|
1369
|
+
case c.U:
|
|
1370
|
+
case c.EM:
|
|
1371
|
+
case c.TT:
|
|
1372
|
+
case c.BIG:
|
|
1373
|
+
case c.CODE:
|
|
1374
|
+
case c.FONT:
|
|
1375
|
+
case c.NOBR:
|
|
1376
|
+
case c.SMALL:
|
|
1377
|
+
case c.STRIKE:
|
|
1378
|
+
case c.STRONG:
|
|
1379
|
+
v(e, t);
|
|
1380
|
+
break;
|
|
1381
|
+
case c.P:
|
|
1382
|
+
pt(e);
|
|
1383
|
+
break;
|
|
1384
|
+
case c.DL:
|
|
1385
|
+
case c.UL:
|
|
1386
|
+
case c.OL:
|
|
1387
|
+
case c.DIR:
|
|
1388
|
+
case c.DIV:
|
|
1389
|
+
case c.NAV:
|
|
1390
|
+
case c.PRE:
|
|
1391
|
+
case c.MAIN:
|
|
1392
|
+
case c.MENU:
|
|
1393
|
+
case c.ASIDE:
|
|
1394
|
+
case c.BUTTON:
|
|
1395
|
+
case c.CENTER:
|
|
1396
|
+
case c.FIGURE:
|
|
1397
|
+
case c.FOOTER:
|
|
1398
|
+
case c.HEADER:
|
|
1399
|
+
case c.HGROUP:
|
|
1400
|
+
case c.DIALOG:
|
|
1401
|
+
case c.ADDRESS:
|
|
1402
|
+
case c.ARTICLE:
|
|
1403
|
+
case c.DETAILS:
|
|
1404
|
+
case c.SEARCH:
|
|
1405
|
+
case c.SECTION:
|
|
1406
|
+
case c.SUMMARY:
|
|
1407
|
+
case c.LISTING:
|
|
1408
|
+
case c.FIELDSET:
|
|
1409
|
+
case c.BLOCKQUOTE:
|
|
1410
|
+
case c.FIGCAPTION:
|
|
1411
|
+
dt(e, t);
|
|
1412
|
+
break;
|
|
1413
|
+
case c.LI:
|
|
1414
|
+
mt(e);
|
|
1415
|
+
break;
|
|
1416
|
+
case c.DD:
|
|
1417
|
+
case c.DT:
|
|
1418
|
+
ht(e, t);
|
|
1419
|
+
break;
|
|
1420
|
+
case c.H1:
|
|
1421
|
+
case c.H2:
|
|
1422
|
+
case c.H3:
|
|
1423
|
+
case c.H4:
|
|
1424
|
+
case c.H5:
|
|
1425
|
+
case c.H6:
|
|
1426
|
+
gt(e);
|
|
1427
|
+
break;
|
|
1428
|
+
case c.BR:
|
|
1429
|
+
vt(e);
|
|
1430
|
+
break;
|
|
1431
|
+
case c.BODY:
|
|
1432
|
+
lt(e, t);
|
|
1433
|
+
break;
|
|
1434
|
+
case c.HTML:
|
|
1435
|
+
ut(e, t);
|
|
1436
|
+
break;
|
|
1437
|
+
case c.FORM:
|
|
1438
|
+
ft(e);
|
|
1439
|
+
break;
|
|
1440
|
+
case c.APPLET:
|
|
1441
|
+
case c.OBJECT:
|
|
1442
|
+
case c.MARQUEE:
|
|
1443
|
+
_t(e, t);
|
|
1444
|
+
break;
|
|
1445
|
+
case c.TEMPLATE:
|
|
1446
|
+
T(e, t);
|
|
1447
|
+
break;
|
|
1448
|
+
default: I(e, t);
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
function yt(e, t) {
|
|
1452
|
+
e.tmplInsertionModeStack.length > 0 ? Vt(e, t) : b(e, t);
|
|
1453
|
+
}
|
|
1454
|
+
function bt(e, t) {
|
|
1455
|
+
var n;
|
|
1456
|
+
t.tagID === c.SCRIPT && ((n = e.scriptHandler) == null || n.call(e, e.openElements.current)), e.openElements.pop(), e.insertionMode = e.originalInsertionMode;
|
|
1457
|
+
}
|
|
1458
|
+
function xt(e, n) {
|
|
1459
|
+
e._err(n, t.eofInElementThatCanContainOnlyText), e.openElements.pop(), e.insertionMode = e.originalInsertionMode, e.onEof(n);
|
|
1460
|
+
}
|
|
1461
|
+
function R(e, t) {
|
|
1462
|
+
if (e.openElements.currentTagId !== void 0 && g.has(e.openElements.currentTagId)) switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = h.IN_TABLE_TEXT, t.type) {
|
|
1463
|
+
case n.CHARACTER:
|
|
1464
|
+
U(e, t);
|
|
1465
|
+
break;
|
|
1466
|
+
case n.WHITESPACE_CHARACTER:
|
|
1467
|
+
H(e, t);
|
|
1468
|
+
break;
|
|
1469
|
+
}
|
|
1470
|
+
else V(e, t);
|
|
1471
|
+
}
|
|
1472
|
+
function St(e, t) {
|
|
1473
|
+
e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, o.HTML), e.insertionMode = h.IN_CAPTION;
|
|
1474
|
+
}
|
|
1475
|
+
function Ct(e, t) {
|
|
1476
|
+
e.openElements.clearBackToTableContext(), e._insertElement(t, o.HTML), e.insertionMode = h.IN_COLUMN_GROUP;
|
|
1477
|
+
}
|
|
1478
|
+
function wt(e, t) {
|
|
1479
|
+
e.openElements.clearBackToTableContext(), e._insertFakeElement(l.COLGROUP, c.COLGROUP), e.insertionMode = h.IN_COLUMN_GROUP, K(e, t);
|
|
1480
|
+
}
|
|
1481
|
+
function Tt(e, t) {
|
|
1482
|
+
e.openElements.clearBackToTableContext(), e._insertElement(t, o.HTML), e.insertionMode = h.IN_TABLE_BODY;
|
|
1483
|
+
}
|
|
1484
|
+
function Et(e, t) {
|
|
1485
|
+
e.openElements.clearBackToTableContext(), e._insertFakeElement(l.TBODY, c.TBODY), e.insertionMode = h.IN_TABLE_BODY, J(e, t);
|
|
1486
|
+
}
|
|
1487
|
+
function Dt(e, t) {
|
|
1488
|
+
e.openElements.hasInTableScope(c.TABLE) && (e.openElements.popUntilTagNamePopped(c.TABLE), e._resetInsertionMode(), e._processStartTag(t));
|
|
1489
|
+
}
|
|
1490
|
+
function Ot(e, t) {
|
|
1491
|
+
Ye(t) ? e._appendElement(t, o.HTML) : V(e, t), t.ackSelfClosing = !0;
|
|
1492
|
+
}
|
|
1493
|
+
function kt(e, t) {
|
|
1494
|
+
!e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, o.HTML), e.formElement = e.openElements.current, e.openElements.pop());
|
|
1494
1495
|
}
|
|
1495
|
-
function
|
|
1496
|
-
switch (
|
|
1497
|
-
case
|
|
1498
|
-
case
|
|
1499
|
-
case
|
|
1500
|
-
|
|
1496
|
+
function z(e, t) {
|
|
1497
|
+
switch (t.tagID) {
|
|
1498
|
+
case c.TD:
|
|
1499
|
+
case c.TH:
|
|
1500
|
+
case c.TR:
|
|
1501
|
+
Et(e, t);
|
|
1501
1502
|
break;
|
|
1502
|
-
case
|
|
1503
|
-
case
|
|
1504
|
-
case
|
|
1505
|
-
|
|
1503
|
+
case c.STYLE:
|
|
1504
|
+
case c.SCRIPT:
|
|
1505
|
+
case c.TEMPLATE:
|
|
1506
|
+
w(e, t);
|
|
1506
1507
|
break;
|
|
1507
|
-
case
|
|
1508
|
-
|
|
1508
|
+
case c.COL:
|
|
1509
|
+
wt(e, t);
|
|
1509
1510
|
break;
|
|
1510
|
-
case
|
|
1511
|
-
|
|
1511
|
+
case c.FORM:
|
|
1512
|
+
kt(e, t);
|
|
1512
1513
|
break;
|
|
1513
|
-
case
|
|
1514
|
-
|
|
1514
|
+
case c.TABLE:
|
|
1515
|
+
Dt(e, t);
|
|
1515
1516
|
break;
|
|
1516
|
-
case
|
|
1517
|
-
case
|
|
1518
|
-
case
|
|
1519
|
-
|
|
1517
|
+
case c.TBODY:
|
|
1518
|
+
case c.TFOOT:
|
|
1519
|
+
case c.THEAD:
|
|
1520
|
+
Tt(e, t);
|
|
1520
1521
|
break;
|
|
1521
|
-
case
|
|
1522
|
-
|
|
1522
|
+
case c.INPUT:
|
|
1523
|
+
Ot(e, t);
|
|
1523
1524
|
break;
|
|
1524
|
-
case
|
|
1525
|
-
|
|
1525
|
+
case c.CAPTION:
|
|
1526
|
+
St(e, t);
|
|
1526
1527
|
break;
|
|
1527
|
-
case
|
|
1528
|
-
|
|
1528
|
+
case c.COLGROUP:
|
|
1529
|
+
Ct(e, t);
|
|
1529
1530
|
break;
|
|
1530
|
-
default:
|
|
1531
|
+
default: V(e, t);
|
|
1531
1532
|
}
|
|
1532
1533
|
}
|
|
1533
|
-
function
|
|
1534
|
-
switch (
|
|
1535
|
-
case
|
|
1536
|
-
|
|
1534
|
+
function B(e, t) {
|
|
1535
|
+
switch (t.tagID) {
|
|
1536
|
+
case c.TABLE:
|
|
1537
|
+
e.openElements.hasInTableScope(c.TABLE) && (e.openElements.popUntilTagNamePopped(c.TABLE), e._resetInsertionMode());
|
|
1537
1538
|
break;
|
|
1538
|
-
case
|
|
1539
|
-
|
|
1539
|
+
case c.TEMPLATE:
|
|
1540
|
+
T(e, t);
|
|
1540
1541
|
break;
|
|
1541
|
-
case
|
|
1542
|
-
case
|
|
1543
|
-
case
|
|
1544
|
-
case
|
|
1545
|
-
case
|
|
1546
|
-
case
|
|
1547
|
-
case
|
|
1548
|
-
case
|
|
1549
|
-
case
|
|
1550
|
-
case
|
|
1551
|
-
case
|
|
1552
|
-
default:
|
|
1542
|
+
case c.BODY:
|
|
1543
|
+
case c.CAPTION:
|
|
1544
|
+
case c.COL:
|
|
1545
|
+
case c.COLGROUP:
|
|
1546
|
+
case c.HTML:
|
|
1547
|
+
case c.TBODY:
|
|
1548
|
+
case c.TD:
|
|
1549
|
+
case c.TFOOT:
|
|
1550
|
+
case c.TH:
|
|
1551
|
+
case c.THEAD:
|
|
1552
|
+
case c.TR: break;
|
|
1553
|
+
default: V(e, t);
|
|
1553
1554
|
}
|
|
1554
1555
|
}
|
|
1555
|
-
function
|
|
1556
|
-
let
|
|
1557
|
-
|
|
1556
|
+
function V(e, t) {
|
|
1557
|
+
let n = e.fosterParentingEnabled;
|
|
1558
|
+
e.fosterParentingEnabled = !0, k(e, t), e.fosterParentingEnabled = n;
|
|
1558
1559
|
}
|
|
1559
|
-
function
|
|
1560
|
-
|
|
1560
|
+
function H(e, t) {
|
|
1561
|
+
e.pendingCharacterTokens.push(t);
|
|
1561
1562
|
}
|
|
1562
|
-
function
|
|
1563
|
-
|
|
1563
|
+
function U(e, t) {
|
|
1564
|
+
e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
|
|
1564
1565
|
}
|
|
1565
|
-
function
|
|
1566
|
-
let
|
|
1567
|
-
if (
|
|
1568
|
-
else for (;
|
|
1569
|
-
|
|
1566
|
+
function W(e, t) {
|
|
1567
|
+
let n = 0;
|
|
1568
|
+
if (e.hasNonWhitespacePendingCharacterToken) for (; n < e.pendingCharacterTokens.length; n++) V(e, e.pendingCharacterTokens[n]);
|
|
1569
|
+
else for (; n < e.pendingCharacterTokens.length; n++) e._insertCharacters(e.pendingCharacterTokens[n]);
|
|
1570
|
+
e.insertionMode = e.originalInsertionMode, e._processToken(t);
|
|
1570
1571
|
}
|
|
1571
|
-
var
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1572
|
+
var G = new Set([
|
|
1573
|
+
c.CAPTION,
|
|
1574
|
+
c.COL,
|
|
1575
|
+
c.COLGROUP,
|
|
1576
|
+
c.TBODY,
|
|
1577
|
+
c.TD,
|
|
1578
|
+
c.TFOOT,
|
|
1579
|
+
c.TH,
|
|
1580
|
+
c.THEAD,
|
|
1581
|
+
c.TR
|
|
1581
1582
|
]);
|
|
1582
|
-
function
|
|
1583
|
-
let
|
|
1584
|
-
|
|
1585
|
-
}
|
|
1586
|
-
function
|
|
1587
|
-
let
|
|
1588
|
-
switch (
|
|
1589
|
-
case
|
|
1590
|
-
case
|
|
1591
|
-
|
|
1592
|
-
break;
|
|
1593
|
-
case
|
|
1594
|
-
case
|
|
1595
|
-
case
|
|
1596
|
-
case
|
|
1597
|
-
case
|
|
1598
|
-
case
|
|
1599
|
-
case
|
|
1600
|
-
case
|
|
1601
|
-
case
|
|
1602
|
-
case
|
|
1603
|
-
default:
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
function
|
|
1607
|
-
switch (
|
|
1608
|
-
case
|
|
1609
|
-
|
|
1610
|
-
break;
|
|
1611
|
-
case
|
|
1612
|
-
|
|
1613
|
-
break;
|
|
1614
|
-
case
|
|
1615
|
-
|
|
1616
|
-
break;
|
|
1617
|
-
default:
|
|
1618
|
-
}
|
|
1619
|
-
}
|
|
1620
|
-
function
|
|
1621
|
-
switch (
|
|
1622
|
-
case
|
|
1623
|
-
|
|
1624
|
-
break;
|
|
1625
|
-
case
|
|
1626
|
-
|
|
1627
|
-
break;
|
|
1628
|
-
case
|
|
1629
|
-
default:
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
function
|
|
1633
|
-
|
|
1634
|
-
}
|
|
1635
|
-
function
|
|
1636
|
-
switch (
|
|
1637
|
-
case
|
|
1638
|
-
|
|
1639
|
-
break;
|
|
1640
|
-
case
|
|
1641
|
-
case
|
|
1642
|
-
|
|
1643
|
-
break;
|
|
1644
|
-
case
|
|
1645
|
-
case
|
|
1646
|
-
case
|
|
1647
|
-
case
|
|
1648
|
-
case
|
|
1649
|
-
case
|
|
1650
|
-
|
|
1651
|
-
break;
|
|
1652
|
-
default:
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
|
-
function
|
|
1656
|
-
let
|
|
1657
|
-
switch (
|
|
1658
|
-
case
|
|
1659
|
-
case
|
|
1660
|
-
case
|
|
1661
|
-
|
|
1662
|
-
break;
|
|
1663
|
-
case
|
|
1664
|
-
|
|
1665
|
-
break;
|
|
1666
|
-
case
|
|
1667
|
-
case
|
|
1668
|
-
case
|
|
1669
|
-
case
|
|
1670
|
-
case
|
|
1671
|
-
case
|
|
1672
|
-
case
|
|
1673
|
-
case
|
|
1674
|
-
default:
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
function
|
|
1678
|
-
switch (
|
|
1679
|
-
case
|
|
1680
|
-
case
|
|
1681
|
-
|
|
1682
|
-
break;
|
|
1683
|
-
case
|
|
1684
|
-
case
|
|
1685
|
-
case
|
|
1686
|
-
case
|
|
1687
|
-
case
|
|
1688
|
-
case
|
|
1689
|
-
case
|
|
1690
|
-
|
|
1691
|
-
break;
|
|
1692
|
-
default:
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
function
|
|
1696
|
-
switch (
|
|
1697
|
-
case
|
|
1698
|
-
|
|
1699
|
-
break;
|
|
1700
|
-
case
|
|
1701
|
-
|
|
1583
|
+
function At(e, t) {
|
|
1584
|
+
let n = t.tagID;
|
|
1585
|
+
G.has(n) ? e.openElements.hasInTableScope(c.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(c.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = h.IN_TABLE, z(e, t)) : F(e, t);
|
|
1586
|
+
}
|
|
1587
|
+
function jt(e, t) {
|
|
1588
|
+
let n = t.tagID;
|
|
1589
|
+
switch (n) {
|
|
1590
|
+
case c.CAPTION:
|
|
1591
|
+
case c.TABLE:
|
|
1592
|
+
e.openElements.hasInTableScope(c.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(c.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = h.IN_TABLE, n === c.TABLE && B(e, t));
|
|
1593
|
+
break;
|
|
1594
|
+
case c.BODY:
|
|
1595
|
+
case c.COL:
|
|
1596
|
+
case c.COLGROUP:
|
|
1597
|
+
case c.HTML:
|
|
1598
|
+
case c.TBODY:
|
|
1599
|
+
case c.TD:
|
|
1600
|
+
case c.TFOOT:
|
|
1601
|
+
case c.TH:
|
|
1602
|
+
case c.THEAD:
|
|
1603
|
+
case c.TR: break;
|
|
1604
|
+
default: L(e, t);
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
function K(e, t) {
|
|
1608
|
+
switch (t.tagID) {
|
|
1609
|
+
case c.HTML:
|
|
1610
|
+
F(e, t);
|
|
1611
|
+
break;
|
|
1612
|
+
case c.COL:
|
|
1613
|
+
e._appendElement(t, o.HTML), t.ackSelfClosing = !0;
|
|
1614
|
+
break;
|
|
1615
|
+
case c.TEMPLATE:
|
|
1616
|
+
w(e, t);
|
|
1617
|
+
break;
|
|
1618
|
+
default: q(e, t);
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
function Mt(e, t) {
|
|
1622
|
+
switch (t.tagID) {
|
|
1623
|
+
case c.COLGROUP:
|
|
1624
|
+
e.openElements.currentTagId === c.COLGROUP && (e.openElements.pop(), e.insertionMode = h.IN_TABLE);
|
|
1625
|
+
break;
|
|
1626
|
+
case c.TEMPLATE:
|
|
1627
|
+
T(e, t);
|
|
1628
|
+
break;
|
|
1629
|
+
case c.COL: break;
|
|
1630
|
+
default: q(e, t);
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
function q(e, t) {
|
|
1634
|
+
e.openElements.currentTagId === c.COLGROUP && (e.openElements.pop(), e.insertionMode = h.IN_TABLE, e._processToken(t));
|
|
1635
|
+
}
|
|
1636
|
+
function J(e, t) {
|
|
1637
|
+
switch (t.tagID) {
|
|
1638
|
+
case c.TR:
|
|
1639
|
+
e.openElements.clearBackToTableBodyContext(), e._insertElement(t, o.HTML), e.insertionMode = h.IN_ROW;
|
|
1640
|
+
break;
|
|
1641
|
+
case c.TH:
|
|
1642
|
+
case c.TD:
|
|
1643
|
+
e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(l.TR, c.TR), e.insertionMode = h.IN_ROW, X(e, t);
|
|
1644
|
+
break;
|
|
1645
|
+
case c.CAPTION:
|
|
1646
|
+
case c.COL:
|
|
1647
|
+
case c.COLGROUP:
|
|
1648
|
+
case c.TBODY:
|
|
1649
|
+
case c.TFOOT:
|
|
1650
|
+
case c.THEAD:
|
|
1651
|
+
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = h.IN_TABLE, z(e, t));
|
|
1652
|
+
break;
|
|
1653
|
+
default: z(e, t);
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
function Y(e, t) {
|
|
1657
|
+
let n = t.tagID;
|
|
1658
|
+
switch (t.tagID) {
|
|
1659
|
+
case c.TBODY:
|
|
1660
|
+
case c.TFOOT:
|
|
1661
|
+
case c.THEAD:
|
|
1662
|
+
e.openElements.hasInTableScope(n) && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = h.IN_TABLE);
|
|
1663
|
+
break;
|
|
1664
|
+
case c.TABLE:
|
|
1665
|
+
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = h.IN_TABLE, B(e, t));
|
|
1666
|
+
break;
|
|
1667
|
+
case c.BODY:
|
|
1668
|
+
case c.CAPTION:
|
|
1669
|
+
case c.COL:
|
|
1670
|
+
case c.COLGROUP:
|
|
1671
|
+
case c.HTML:
|
|
1672
|
+
case c.TD:
|
|
1673
|
+
case c.TH:
|
|
1674
|
+
case c.TR: break;
|
|
1675
|
+
default: B(e, t);
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
function X(e, t) {
|
|
1679
|
+
switch (t.tagID) {
|
|
1680
|
+
case c.TH:
|
|
1681
|
+
case c.TD:
|
|
1682
|
+
e.openElements.clearBackToTableRowContext(), e._insertElement(t, o.HTML), e.insertionMode = h.IN_CELL, e.activeFormattingElements.insertMarker();
|
|
1683
|
+
break;
|
|
1684
|
+
case c.CAPTION:
|
|
1685
|
+
case c.COL:
|
|
1686
|
+
case c.COLGROUP:
|
|
1687
|
+
case c.TBODY:
|
|
1688
|
+
case c.TFOOT:
|
|
1689
|
+
case c.THEAD:
|
|
1690
|
+
case c.TR:
|
|
1691
|
+
e.openElements.hasInTableScope(c.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = h.IN_TABLE_BODY, J(e, t));
|
|
1692
|
+
break;
|
|
1693
|
+
default: z(e, t);
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
function Z(e, t) {
|
|
1697
|
+
switch (t.tagID) {
|
|
1698
|
+
case c.TR:
|
|
1699
|
+
e.openElements.hasInTableScope(c.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = h.IN_TABLE_BODY);
|
|
1700
|
+
break;
|
|
1701
|
+
case c.TABLE:
|
|
1702
|
+
e.openElements.hasInTableScope(c.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = h.IN_TABLE_BODY, Y(e, t));
|
|
1702
1703
|
break;
|
|
1703
|
-
case
|
|
1704
|
-
case
|
|
1705
|
-
case
|
|
1706
|
-
(
|
|
1707
|
-
break;
|
|
1708
|
-
case
|
|
1709
|
-
case
|
|
1710
|
-
case
|
|
1711
|
-
case
|
|
1712
|
-
case
|
|
1713
|
-
case
|
|
1714
|
-
case
|
|
1715
|
-
default:
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
|
-
function
|
|
1719
|
-
let
|
|
1720
|
-
|
|
1721
|
-
}
|
|
1722
|
-
function
|
|
1723
|
-
let
|
|
1724
|
-
switch (
|
|
1725
|
-
case
|
|
1726
|
-
case
|
|
1727
|
-
|
|
1728
|
-
break;
|
|
1729
|
-
case
|
|
1730
|
-
case
|
|
1731
|
-
case
|
|
1732
|
-
case
|
|
1733
|
-
case
|
|
1734
|
-
|
|
1735
|
-
break;
|
|
1736
|
-
case
|
|
1737
|
-
case
|
|
1738
|
-
case
|
|
1739
|
-
case
|
|
1740
|
-
case
|
|
1741
|
-
default:
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
function
|
|
1745
|
-
switch (
|
|
1746
|
-
case
|
|
1747
|
-
|
|
1748
|
-
break;
|
|
1749
|
-
case
|
|
1750
|
-
|
|
1751
|
-
break;
|
|
1752
|
-
case
|
|
1753
|
-
|
|
1754
|
-
break;
|
|
1755
|
-
case
|
|
1756
|
-
|
|
1757
|
-
break;
|
|
1758
|
-
case
|
|
1759
|
-
case
|
|
1760
|
-
case
|
|
1761
|
-
case
|
|
1762
|
-
|
|
1763
|
-
break;
|
|
1764
|
-
case
|
|
1765
|
-
case
|
|
1766
|
-
|
|
1704
|
+
case c.TBODY:
|
|
1705
|
+
case c.TFOOT:
|
|
1706
|
+
case c.THEAD:
|
|
1707
|
+
(e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(c.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = h.IN_TABLE_BODY, Y(e, t));
|
|
1708
|
+
break;
|
|
1709
|
+
case c.BODY:
|
|
1710
|
+
case c.CAPTION:
|
|
1711
|
+
case c.COL:
|
|
1712
|
+
case c.COLGROUP:
|
|
1713
|
+
case c.HTML:
|
|
1714
|
+
case c.TD:
|
|
1715
|
+
case c.TH: break;
|
|
1716
|
+
default: B(e, t);
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
function Nt(e, t) {
|
|
1720
|
+
let n = t.tagID;
|
|
1721
|
+
G.has(n) ? (e.openElements.hasInTableScope(c.TD) || e.openElements.hasInTableScope(c.TH)) && (e._closeTableCell(), X(e, t)) : F(e, t);
|
|
1722
|
+
}
|
|
1723
|
+
function Pt(e, t) {
|
|
1724
|
+
let n = t.tagID;
|
|
1725
|
+
switch (n) {
|
|
1726
|
+
case c.TD:
|
|
1727
|
+
case c.TH:
|
|
1728
|
+
e.openElements.hasInTableScope(n) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = h.IN_ROW);
|
|
1729
|
+
break;
|
|
1730
|
+
case c.TABLE:
|
|
1731
|
+
case c.TBODY:
|
|
1732
|
+
case c.TFOOT:
|
|
1733
|
+
case c.THEAD:
|
|
1734
|
+
case c.TR:
|
|
1735
|
+
e.openElements.hasInTableScope(n) && (e._closeTableCell(), Z(e, t));
|
|
1736
|
+
break;
|
|
1737
|
+
case c.BODY:
|
|
1738
|
+
case c.CAPTION:
|
|
1739
|
+
case c.COL:
|
|
1740
|
+
case c.COLGROUP:
|
|
1741
|
+
case c.HTML: break;
|
|
1742
|
+
default: L(e, t);
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
function Ft(e, t) {
|
|
1746
|
+
switch (t.tagID) {
|
|
1747
|
+
case c.HTML:
|
|
1748
|
+
F(e, t);
|
|
1749
|
+
break;
|
|
1750
|
+
case c.OPTION:
|
|
1751
|
+
e.openElements.currentTagId === c.OPTION && e.openElements.pop(), e._insertElement(t, o.HTML);
|
|
1752
|
+
break;
|
|
1753
|
+
case c.OPTGROUP:
|
|
1754
|
+
e.openElements.currentTagId === c.OPTION && e.openElements.pop(), e.openElements.currentTagId === c.OPTGROUP && e.openElements.pop(), e._insertElement(t, o.HTML);
|
|
1755
|
+
break;
|
|
1756
|
+
case c.HR:
|
|
1757
|
+
e.openElements.currentTagId === c.OPTION && e.openElements.pop(), e.openElements.currentTagId === c.OPTGROUP && e.openElements.pop(), e._appendElement(t, o.HTML), t.ackSelfClosing = !0;
|
|
1758
|
+
break;
|
|
1759
|
+
case c.INPUT:
|
|
1760
|
+
case c.KEYGEN:
|
|
1761
|
+
case c.TEXTAREA:
|
|
1762
|
+
case c.SELECT:
|
|
1763
|
+
e.openElements.hasInSelectScope(c.SELECT) && (e.openElements.popUntilTagNamePopped(c.SELECT), e._resetInsertionMode(), t.tagID !== c.SELECT && e._processStartTag(t));
|
|
1764
|
+
break;
|
|
1765
|
+
case c.SCRIPT:
|
|
1766
|
+
case c.TEMPLATE:
|
|
1767
|
+
w(e, t);
|
|
1767
1768
|
break;
|
|
1768
1769
|
default:
|
|
1769
1770
|
}
|
|
1770
1771
|
}
|
|
1771
|
-
function
|
|
1772
|
-
switch (
|
|
1773
|
-
case
|
|
1774
|
-
|
|
1772
|
+
function It(e, t) {
|
|
1773
|
+
switch (t.tagID) {
|
|
1774
|
+
case c.OPTGROUP:
|
|
1775
|
+
e.openElements.stackTop > 0 && e.openElements.currentTagId === c.OPTION && e.openElements.tagIDs[e.openElements.stackTop - 1] === c.OPTGROUP && e.openElements.pop(), e.openElements.currentTagId === c.OPTGROUP && e.openElements.pop();
|
|
1775
1776
|
break;
|
|
1776
|
-
case
|
|
1777
|
-
|
|
1777
|
+
case c.OPTION:
|
|
1778
|
+
e.openElements.currentTagId === c.OPTION && e.openElements.pop();
|
|
1778
1779
|
break;
|
|
1779
|
-
case
|
|
1780
|
-
|
|
1780
|
+
case c.SELECT:
|
|
1781
|
+
e.openElements.hasInSelectScope(c.SELECT) && (e.openElements.popUntilTagNamePopped(c.SELECT), e._resetInsertionMode());
|
|
1781
1782
|
break;
|
|
1782
|
-
case
|
|
1783
|
-
|
|
1783
|
+
case c.TEMPLATE:
|
|
1784
|
+
T(e, t);
|
|
1784
1785
|
break;
|
|
1785
1786
|
default:
|
|
1786
1787
|
}
|
|
1787
1788
|
}
|
|
1788
|
-
function
|
|
1789
|
-
let
|
|
1790
|
-
|
|
1789
|
+
function Lt(e, t) {
|
|
1790
|
+
let n = t.tagID;
|
|
1791
|
+
n === c.CAPTION || n === c.TABLE || n === c.TBODY || n === c.TFOOT || n === c.THEAD || n === c.TR || n === c.TD || n === c.TH ? (e.openElements.popUntilTagNamePopped(c.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : Ft(e, t);
|
|
1791
1792
|
}
|
|
1792
|
-
function
|
|
1793
|
-
let
|
|
1794
|
-
|
|
1793
|
+
function Rt(e, t) {
|
|
1794
|
+
let n = t.tagID;
|
|
1795
|
+
n === c.CAPTION || n === c.TABLE || n === c.TBODY || n === c.TFOOT || n === c.THEAD || n === c.TR || n === c.TD || n === c.TH ? e.openElements.hasInTableScope(n) && (e.openElements.popUntilTagNamePopped(c.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : It(e, t);
|
|
1795
1796
|
}
|
|
1796
|
-
function
|
|
1797
|
-
switch (
|
|
1798
|
-
case
|
|
1799
|
-
case
|
|
1800
|
-
case
|
|
1801
|
-
case
|
|
1802
|
-
case
|
|
1803
|
-
case
|
|
1804
|
-
case
|
|
1805
|
-
case
|
|
1806
|
-
case
|
|
1807
|
-
case
|
|
1808
|
-
|
|
1797
|
+
function zt(e, t) {
|
|
1798
|
+
switch (t.tagID) {
|
|
1799
|
+
case c.BASE:
|
|
1800
|
+
case c.BASEFONT:
|
|
1801
|
+
case c.BGSOUND:
|
|
1802
|
+
case c.LINK:
|
|
1803
|
+
case c.META:
|
|
1804
|
+
case c.NOFRAMES:
|
|
1805
|
+
case c.SCRIPT:
|
|
1806
|
+
case c.STYLE:
|
|
1807
|
+
case c.TEMPLATE:
|
|
1808
|
+
case c.TITLE:
|
|
1809
|
+
w(e, t);
|
|
1809
1810
|
break;
|
|
1810
|
-
case
|
|
1811
|
-
case
|
|
1812
|
-
case
|
|
1813
|
-
case
|
|
1814
|
-
case
|
|
1815
|
-
|
|
1811
|
+
case c.CAPTION:
|
|
1812
|
+
case c.COLGROUP:
|
|
1813
|
+
case c.TBODY:
|
|
1814
|
+
case c.TFOOT:
|
|
1815
|
+
case c.THEAD:
|
|
1816
|
+
e.tmplInsertionModeStack[0] = h.IN_TABLE, e.insertionMode = h.IN_TABLE, z(e, t);
|
|
1816
1817
|
break;
|
|
1817
|
-
case
|
|
1818
|
-
|
|
1818
|
+
case c.COL:
|
|
1819
|
+
e.tmplInsertionModeStack[0] = h.IN_COLUMN_GROUP, e.insertionMode = h.IN_COLUMN_GROUP, K(e, t);
|
|
1819
1820
|
break;
|
|
1820
|
-
case
|
|
1821
|
-
|
|
1821
|
+
case c.TR:
|
|
1822
|
+
e.tmplInsertionModeStack[0] = h.IN_TABLE_BODY, e.insertionMode = h.IN_TABLE_BODY, J(e, t);
|
|
1822
1823
|
break;
|
|
1823
|
-
case
|
|
1824
|
-
case
|
|
1825
|
-
|
|
1824
|
+
case c.TD:
|
|
1825
|
+
case c.TH:
|
|
1826
|
+
e.tmplInsertionModeStack[0] = h.IN_ROW, e.insertionMode = h.IN_ROW, X(e, t);
|
|
1826
1827
|
break;
|
|
1827
|
-
default:
|
|
1828
|
+
default: e.tmplInsertionModeStack[0] = h.IN_BODY, e.insertionMode = h.IN_BODY, F(e, t);
|
|
1828
1829
|
}
|
|
1829
1830
|
}
|
|
1830
|
-
function
|
|
1831
|
-
|
|
1831
|
+
function Bt(e, t) {
|
|
1832
|
+
t.tagID === c.TEMPLATE && T(e, t);
|
|
1832
1833
|
}
|
|
1833
|
-
function
|
|
1834
|
-
|
|
1834
|
+
function Vt(e, t) {
|
|
1835
|
+
e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(c.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : b(e, t);
|
|
1835
1836
|
}
|
|
1836
|
-
function
|
|
1837
|
-
|
|
1837
|
+
function Ht(e, t) {
|
|
1838
|
+
t.tagID === c.HTML ? F(e, t) : Q(e, t);
|
|
1838
1839
|
}
|
|
1839
|
-
function
|
|
1840
|
-
if (
|
|
1841
|
-
if (
|
|
1842
|
-
|
|
1843
|
-
let
|
|
1844
|
-
|
|
1840
|
+
function Ut(e, t) {
|
|
1841
|
+
if (t.tagID === c.HTML) {
|
|
1842
|
+
if (e.fragmentContext || (e.insertionMode = h.AFTER_AFTER_BODY), e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === c.HTML) {
|
|
1843
|
+
e._setEndLocation(e.openElements.items[0], t);
|
|
1844
|
+
let n = e.openElements.items[1];
|
|
1845
|
+
n && !e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag && e._setEndLocation(n, t);
|
|
1845
1846
|
}
|
|
1846
|
-
} else
|
|
1847
|
+
} else Q(e, t);
|
|
1847
1848
|
}
|
|
1848
|
-
function
|
|
1849
|
-
|
|
1849
|
+
function Q(e, t) {
|
|
1850
|
+
e.insertionMode = h.IN_BODY, k(e, t);
|
|
1850
1851
|
}
|
|
1851
|
-
function
|
|
1852
|
-
switch (
|
|
1853
|
-
case
|
|
1854
|
-
|
|
1852
|
+
function Wt(e, t) {
|
|
1853
|
+
switch (t.tagID) {
|
|
1854
|
+
case c.HTML:
|
|
1855
|
+
F(e, t);
|
|
1855
1856
|
break;
|
|
1856
|
-
case
|
|
1857
|
-
|
|
1857
|
+
case c.FRAMESET:
|
|
1858
|
+
e._insertElement(t, o.HTML);
|
|
1858
1859
|
break;
|
|
1859
|
-
case
|
|
1860
|
-
|
|
1860
|
+
case c.FRAME:
|
|
1861
|
+
e._appendElement(t, o.HTML), t.ackSelfClosing = !0;
|
|
1861
1862
|
break;
|
|
1862
|
-
case
|
|
1863
|
-
|
|
1863
|
+
case c.NOFRAMES:
|
|
1864
|
+
w(e, t);
|
|
1864
1865
|
break;
|
|
1865
1866
|
default:
|
|
1866
1867
|
}
|
|
1867
1868
|
}
|
|
1868
|
-
function
|
|
1869
|
-
|
|
1869
|
+
function Gt(e, t) {
|
|
1870
|
+
t.tagID === c.FRAMESET && !e.openElements.isRootHtmlElementCurrent() && (e.openElements.pop(), !e.fragmentContext && e.openElements.currentTagId !== c.FRAMESET && (e.insertionMode = h.AFTER_FRAMESET));
|
|
1870
1871
|
}
|
|
1871
|
-
function
|
|
1872
|
-
switch (
|
|
1873
|
-
case
|
|
1874
|
-
|
|
1872
|
+
function Kt(e, t) {
|
|
1873
|
+
switch (t.tagID) {
|
|
1874
|
+
case c.HTML:
|
|
1875
|
+
F(e, t);
|
|
1875
1876
|
break;
|
|
1876
|
-
case
|
|
1877
|
-
|
|
1877
|
+
case c.NOFRAMES:
|
|
1878
|
+
w(e, t);
|
|
1878
1879
|
break;
|
|
1879
1880
|
default:
|
|
1880
1881
|
}
|
|
1881
1882
|
}
|
|
1882
|
-
function
|
|
1883
|
-
|
|
1883
|
+
function qt(e, t) {
|
|
1884
|
+
t.tagID === c.HTML && (e.insertionMode = h.AFTER_AFTER_FRAMESET);
|
|
1884
1885
|
}
|
|
1885
|
-
function
|
|
1886
|
-
|
|
1886
|
+
function Jt(e, t) {
|
|
1887
|
+
t.tagID === c.HTML ? F(e, t) : $(e, t);
|
|
1887
1888
|
}
|
|
1888
|
-
function
|
|
1889
|
-
|
|
1889
|
+
function $(e, t) {
|
|
1890
|
+
e.insertionMode = h.IN_BODY, k(e, t);
|
|
1890
1891
|
}
|
|
1891
|
-
function
|
|
1892
|
-
switch (
|
|
1893
|
-
case
|
|
1894
|
-
|
|
1892
|
+
function Yt(e, t) {
|
|
1893
|
+
switch (t.tagID) {
|
|
1894
|
+
case c.HTML:
|
|
1895
|
+
F(e, t);
|
|
1895
1896
|
break;
|
|
1896
|
-
case
|
|
1897
|
-
|
|
1897
|
+
case c.NOFRAMES:
|
|
1898
|
+
w(e, t);
|
|
1898
1899
|
break;
|
|
1899
1900
|
default:
|
|
1900
1901
|
}
|
|
1901
1902
|
}
|
|
1902
|
-
function
|
|
1903
|
-
|
|
1903
|
+
function Xt(e, t) {
|
|
1904
|
+
t.chars = "�", e._insertCharacters(t);
|
|
1904
1905
|
}
|
|
1905
|
-
function
|
|
1906
|
-
|
|
1906
|
+
function Zt(e, t) {
|
|
1907
|
+
e._insertCharacters(t), e.framesetOk = !1;
|
|
1907
1908
|
}
|
|
1908
|
-
function
|
|
1909
|
-
for (;
|
|
1909
|
+
function Qt(e) {
|
|
1910
|
+
for (; e.treeAdapter.getNamespaceURI(e.openElements.current) !== o.HTML && e.openElements.currentTagId !== void 0 && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current);) e.openElements.pop();
|
|
1910
1911
|
}
|
|
1911
|
-
function
|
|
1912
|
-
if (
|
|
1912
|
+
function $t(e, t) {
|
|
1913
|
+
if (le(t)) Qt(e), e._startTagOutsideForeignContent(t);
|
|
1913
1914
|
else {
|
|
1914
|
-
let
|
|
1915
|
-
|
|
1915
|
+
let n = e._getAdjustedCurrentElement(), r = e.treeAdapter.getNamespaceURI(n);
|
|
1916
|
+
r === o.MATHML ? f(t) : r === o.SVG && (ce(t), p(t)), m(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
|
|
1916
1917
|
}
|
|
1917
1918
|
}
|
|
1918
|
-
function
|
|
1919
|
-
if (
|
|
1920
|
-
|
|
1919
|
+
function en(e, t) {
|
|
1920
|
+
if (t.tagID === c.P || t.tagID === c.BR) {
|
|
1921
|
+
Qt(e), e._endTagOutsideForeignContent(t);
|
|
1921
1922
|
return;
|
|
1922
1923
|
}
|
|
1923
|
-
for (let
|
|
1924
|
-
let
|
|
1925
|
-
if (
|
|
1926
|
-
|
|
1924
|
+
for (let n = e.openElements.stackTop; n > 0; n--) {
|
|
1925
|
+
let r = e.openElements.items[n];
|
|
1926
|
+
if (e.treeAdapter.getNamespaceURI(r) === o.HTML) {
|
|
1927
|
+
e._endTagOutsideForeignContent(t);
|
|
1927
1928
|
break;
|
|
1928
1929
|
}
|
|
1929
|
-
let
|
|
1930
|
-
if (
|
|
1931
|
-
|
|
1930
|
+
let i = e.treeAdapter.getTagName(r);
|
|
1931
|
+
if (i.toLowerCase() === t.tagName) {
|
|
1932
|
+
t.tagName = i, e.openElements.shortenToLength(n);
|
|
1932
1933
|
break;
|
|
1933
1934
|
}
|
|
1934
1935
|
}
|
|
1935
1936
|
}
|
|
1936
|
-
|
|
1937
|
+
//#endregion
|
|
1938
|
+
export { he as Parser };
|