@carbon/ai-chat-components 0.7.0 → 0.7.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/custom-elements.json +1 -1
- package/es/components/code-snippet/src/codemirror/base-setup.js +3 -3
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +1 -1
- package/es/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/editor-manager.js +1 -1
- package/es/components/code-snippet/src/codemirror/language-controller.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/theme.js +1 -1
- package/es-custom/components/card/index.d.ts +11 -0
- package/es-custom/components/card/index.js +11 -0
- package/es-custom/components/card/index.js.map +1 -0
- package/es-custom/components/card/src/card-footer.d.ts +43 -0
- package/es-custom/components/card/src/card-footer.js +141 -0
- package/es-custom/components/card/src/card-footer.js.map +1 -0
- package/es-custom/components/card/src/card-footer.scss.js +13 -0
- package/es-custom/components/card/src/card-footer.scss.js.map +1 -0
- package/es-custom/components/card/src/card-steps.d.ts +28 -0
- package/es-custom/components/card/src/card-steps.js +91 -0
- package/es-custom/components/card/src/card-steps.js.map +1 -0
- package/es-custom/components/card/src/card-steps.scss.js +13 -0
- package/es-custom/components/card/src/card-steps.scss.js.map +1 -0
- package/es-custom/components/card/src/card.d.ts +27 -0
- package/es-custom/components/card/src/card.js +65 -0
- package/es-custom/components/card/src/card.js.map +1 -0
- package/es-custom/components/card/src/card.scss.js +13 -0
- package/es-custom/components/card/src/card.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/defs.d.ts +54 -0
- package/es-custom/components/chain-of-thought/defs.js +38 -0
- package/es-custom/components/chain-of-thought/defs.js.map +1 -0
- package/es-custom/components/chain-of-thought/index.d.ts +10 -0
- package/es-custom/components/chain-of-thought/index.js +13 -0
- package/es-custom/components/chain-of-thought/index.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +43 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +351 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js +13 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +33 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +107 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +13 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +41 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js +132 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js +13 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +33 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.js +179 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js +13 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js.map +1 -0
- package/es-custom/components/chat-button/defs.d.ts +25 -0
- package/es-custom/components/chat-button/defs.js +36 -0
- package/es-custom/components/chat-button/defs.js.map +1 -0
- package/es-custom/components/chat-button/index.d.ts +9 -0
- package/es-custom/components/chat-button/index.js +9 -0
- package/es-custom/components/chat-button/index.js.map +1 -0
- package/es-custom/components/chat-button/src/chat-button.d.ts +40 -0
- package/es-custom/components/chat-button/src/chat-button.js +78 -0
- package/es-custom/components/chat-button/src/chat-button.js.map +1 -0
- package/es-custom/components/chat-button/src/chat-button.scss.js +13 -0
- package/es-custom/components/chat-button/src/chat-button.scss.js.map +1 -0
- package/es-custom/components/code-snippet/index.d.ts +3 -0
- package/es-custom/components/code-snippet/index.js +10 -0
- package/es-custom/components/code-snippet/index.js.map +1 -0
- package/es-custom/components/code-snippet/src/code-snippet-card.d.ts +63 -0
- package/es-custom/components/code-snippet/src/code-snippet-card.js +186 -0
- package/es-custom/components/code-snippet/src/code-snippet-card.js.map +1 -0
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +461 -0
- package/es-custom/components/code-snippet/src/code-snippet.js +678 -0
- package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -0
- package/es-custom/components/code-snippet/src/code-snippet.scss.js +13 -0
- package/es-custom/components/code-snippet/src/code-snippet.scss.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/base-setup.d.ts +12 -0
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js +65 -0
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.d.ts +12 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js +36 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +7 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.js +13 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/content-sync.d.ts +12 -0
- package/es-custom/components/code-snippet/src/codemirror/content-sync.js +72 -0
- package/es-custom/components/code-snippet/src/codemirror/content-sync.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.d.ts +28 -0
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.js +75 -0
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/language-controller.d.ts +38 -0
- package/es-custom/components/code-snippet/src/codemirror/language-controller.js +220 -0
- package/es-custom/components/code-snippet/src/codemirror/language-controller.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/language-data.d.ts +6 -0
- package/es-custom/components/code-snippet/src/codemirror/language-data.js +1043 -0
- package/es-custom/components/code-snippet/src/codemirror/language-data.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/language-utils.d.ts +79 -0
- package/es-custom/components/code-snippet/src/codemirror/language-utils.js +219 -0
- package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/marker-utils.d.ts +123 -0
- package/es-custom/components/code-snippet/src/codemirror/marker-utils.js +183 -0
- package/es-custom/components/code-snippet/src/codemirror/marker-utils.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/theme.d.ts +54 -0
- package/es-custom/components/code-snippet/src/codemirror/theme.js +320 -0
- package/es-custom/components/code-snippet/src/codemirror/theme.js.map +1 -0
- package/es-custom/components/code-snippet/src/dom-utils.d.ts +24 -0
- package/es-custom/components/code-snippet/src/dom-utils.js +63 -0
- package/es-custom/components/code-snippet/src/dom-utils.js.map +1 -0
- package/es-custom/components/code-snippet/src/formatters.d.ts +4 -0
- package/es-custom/components/code-snippet/src/formatters.js +19 -0
- package/es-custom/components/code-snippet/src/formatters.js.map +1 -0
- package/es-custom/components/code-snippet/src/layout-utils.d.ts +22 -0
- package/es-custom/components/code-snippet/src/layout-utils.js +63 -0
- package/es-custom/components/code-snippet/src/layout-utils.js.map +1 -0
- package/es-custom/components/code-snippet/src/streaming-manager.d.ts +24 -0
- package/es-custom/components/code-snippet/src/streaming-manager.js +120 -0
- package/es-custom/components/code-snippet/src/streaming-manager.js.map +1 -0
- package/es-custom/components/feedback/index.d.ts +4 -0
- package/es-custom/components/feedback/index.js +10 -0
- package/es-custom/components/feedback/index.js.map +1 -0
- package/es-custom/components/feedback/src/feedback-buttons.d.ts +63 -0
- package/es-custom/components/feedback/src/feedback-buttons.js +113 -0
- package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -0
- package/es-custom/components/feedback/src/feedback-buttons.scss.js +13 -0
- package/es-custom/components/feedback/src/feedback-buttons.scss.js.map +1 -0
- package/es-custom/components/feedback/src/feedback-buttons.template.d.ts +4 -0
- package/es-custom/components/feedback/src/feedback-buttons.template.js +79 -0
- package/es-custom/components/feedback/src/feedback-buttons.template.js.map +1 -0
- package/es-custom/components/feedback/src/feedback.d.ts +113 -0
- package/es-custom/components/feedback/src/feedback.js +195 -0
- package/es-custom/components/feedback/src/feedback.js.map +1 -0
- package/es-custom/components/feedback/src/feedback.scss.js +13 -0
- package/es-custom/components/feedback/src/feedback.scss.js.map +1 -0
- package/es-custom/components/feedback/src/feedback.template.d.ts +12 -0
- package/es-custom/components/feedback/src/feedback.template.js +115 -0
- package/es-custom/components/feedback/src/feedback.template.js.map +1 -0
- package/es-custom/components/markdown/index.d.ts +2 -0
- package/es-custom/components/markdown/index.js +9 -0
- package/es-custom/components/markdown/index.js.map +1 -0
- package/es-custom/components/markdown/src/markdown-renderer.d.ts +66 -0
- package/es-custom/components/markdown/src/markdown-renderer.js +359 -0
- package/es-custom/components/markdown/src/markdown-renderer.js.map +1 -0
- package/es-custom/components/markdown/src/markdown-token-tree.d.ts +32 -0
- package/es-custom/components/markdown/src/markdown-token-tree.js +180 -0
- package/es-custom/components/markdown/src/markdown-token-tree.js.map +1 -0
- package/es-custom/components/markdown/src/markdown.d.ts +72 -0
- package/es-custom/components/markdown/src/markdown.js +342 -0
- package/es-custom/components/markdown/src/markdown.js.map +1 -0
- package/es-custom/components/markdown/src/markdown.scss.js +13 -0
- package/es-custom/components/markdown/src/markdown.scss.js.map +1 -0
- package/es-custom/components/markdown/src/markdown.template.d.ts +6 -0
- package/es-custom/components/markdown/src/markdown.template.js +29 -0
- package/es-custom/components/markdown/src/markdown.template.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.d.ts +7 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js +84 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.d.ts +7 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js +59 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.d.ts +12 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +73 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/core.d.ts +26 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/core.js +330 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/core.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.d.ts +6 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js +63 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.d.ts +6 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +43 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/index.d.ts +5 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/index.js +55 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/index.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.d.ts +19 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +210 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.d.ts +13 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +156 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.d.ts +13 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +216 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/types.d.ts +34 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/types.js +8 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/types.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/utils.d.ts +25 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/utils.js +62 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/utils.js.map +1 -0
- package/es-custom/components/markdown/src/utils/html-helpers.d.ts +2 -0
- package/es-custom/components/markdown/src/utils/html-helpers.js +204 -0
- package/es-custom/components/markdown/src/utils/html-helpers.js.map +1 -0
- package/es-custom/components/markdown/src/utils/table-helpers.d.ts +31 -0
- package/es-custom/components/markdown/src/utils/table-helpers.js +106 -0
- package/es-custom/components/markdown/src/utils/table-helpers.js.map +1 -0
- package/es-custom/components/markdown/src/utils.d.ts +8 -0
- package/es-custom/components/markdown/src/utils.js +31 -0
- package/es-custom/components/markdown/src/utils.js.map +1 -0
- package/es-custom/components/processing/index.d.ts +1 -0
- package/es-custom/components/processing/index.js +9 -0
- package/es-custom/components/processing/index.js.map +1 -0
- package/es-custom/components/processing/src/processing.d.ts +16 -0
- package/es-custom/components/processing/src/processing.js +59 -0
- package/es-custom/components/processing/src/processing.js.map +1 -0
- package/es-custom/components/processing/src/processing.scss.js +13 -0
- package/es-custom/components/processing/src/processing.scss.js.map +1 -0
- package/es-custom/components/reasoning-steps/index.d.ts +4 -0
- package/es-custom/components/reasoning-steps/index.js +11 -0
- package/es-custom/components/reasoning-steps/index.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +33 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.js +251 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js +13 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +36 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +81 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +13 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.d.ts +3 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.js +43 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +19 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js +112 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js +13 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js.map +1 -0
- package/es-custom/components/table/index.d.ts +3 -0
- package/es-custom/components/table/index.js +9 -0
- package/es-custom/components/table/index.js.map +1 -0
- package/es-custom/components/table/src/table-loader.d.ts +4 -0
- package/es-custom/components/table/src/table-loader.js +28 -0
- package/es-custom/components/table/src/table-loader.js.map +1 -0
- package/es-custom/components/table/src/table-pagination.template.d.ts +27 -0
- package/es-custom/components/table/src/table-pagination.template.js +55 -0
- package/es-custom/components/table/src/table-pagination.template.js.map +1 -0
- package/es-custom/components/table/src/table-runtime.d.ts +2 -0
- package/es-custom/components/table/src/table-runtime.js +10 -0
- package/es-custom/components/table/src/table-runtime.js.map +1 -0
- package/es-custom/components/table/src/table-skeleton.template.d.ts +6 -0
- package/es-custom/components/table/src/table-skeleton.template.js +34 -0
- package/es-custom/components/table/src/table-skeleton.template.js.map +1 -0
- package/es-custom/components/table/src/table.d.ts +184 -0
- package/es-custom/components/table/src/table.js +543 -0
- package/es-custom/components/table/src/table.js.map +1 -0
- package/es-custom/components/table/src/table.scss.js +13 -0
- package/es-custom/components/table/src/table.scss.js.map +1 -0
- package/es-custom/components/table/src/table.template.d.ts +10 -0
- package/es-custom/components/table/src/table.template.js +89 -0
- package/es-custom/components/table/src/table.template.js.map +1 -0
- package/es-custom/components/table/src/types.d.ts +13 -0
- package/es-custom/components/table/src/types.js +8 -0
- package/es-custom/components/table/src/types.js.map +1 -0
- package/es-custom/components/toolbar/index.d.ts +1 -0
- package/es-custom/components/toolbar/index.js +9 -0
- package/es-custom/components/toolbar/index.js.map +1 -0
- package/es-custom/components/toolbar/src/toolbar.d.ts +38 -0
- package/es-custom/components/toolbar/src/toolbar.js +191 -0
- package/es-custom/components/toolbar/src/toolbar.js.map +1 -0
- package/es-custom/components/toolbar/src/toolbar.scss.js +13 -0
- package/es-custom/components/toolbar/src/toolbar.scss.js.map +1 -0
- package/es-custom/components/workspace-shell/index.d.ts +4 -0
- package/es-custom/components/workspace-shell/index.js +12 -0
- package/es-custom/components/workspace-shell/index.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +17 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js +50 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +40 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +144 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +13 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +28 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js +78 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js +13 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +19 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.js +56 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +13 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js.map +1 -0
- package/es-custom/globals/decorators/carbon-element.d.ts +37 -0
- package/es-custom/globals/decorators/carbon-element.js +68 -0
- package/es-custom/globals/decorators/carbon-element.js.map +1 -0
- package/es-custom/globals/decorators/index.d.ts +1 -0
- package/es-custom/globals/decorators/index.js +9 -0
- package/es-custom/globals/decorators/index.js.map +1 -0
- package/es-custom/globals/settings.d.ts +2 -0
- package/es-custom/globals/settings.js +20 -0
- package/es-custom/globals/settings.js.map +1 -0
- package/es-custom/globals/utils/uuid.d.ts +5 -0
- package/es-custom/globals/utils/uuid.js +32 -0
- package/es-custom/globals/utils/uuid.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +11 -0
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +1 -0
- package/es-custom/react/ai-label.d.ts +4 -0
- package/es-custom/react/ai-label.js +28 -0
- package/es-custom/react/ai-label.js.map +1 -0
- package/es-custom/react/button.d.ts +6 -0
- package/es-custom/react/button.js +29 -0
- package/es-custom/react/button.js.map +1 -0
- package/es-custom/react/card.d.ts +9 -0
- package/es-custom/react/card.js +43 -0
- package/es-custom/react/card.js.map +1 -0
- package/es-custom/react/chain-of-thought-step.d.ts +4 -0
- package/es-custom/react/chain-of-thought-step.js +32 -0
- package/es-custom/react/chain-of-thought-step.js.map +1 -0
- package/es-custom/react/chain-of-thought-toggle.d.ts +6 -0
- package/es-custom/react/chain-of-thought-toggle.js +31 -0
- package/es-custom/react/chain-of-thought-toggle.js.map +1 -0
- package/es-custom/react/chain-of-thought.d.ts +7 -0
- package/es-custom/react/chain-of-thought.js +33 -0
- package/es-custom/react/chain-of-thought.js.map +1 -0
- package/es-custom/react/chat-button.d.ts +13 -0
- package/es-custom/react/chat-button.js +30 -0
- package/es-custom/react/chat-button.js.map +1 -0
- package/es-custom/react/code-snippet-card.d.ts +4 -0
- package/es-custom/react/code-snippet-card.js +31 -0
- package/es-custom/react/code-snippet-card.js.map +1 -0
- package/es-custom/react/code-snippet.d.ts +4 -0
- package/es-custom/react/code-snippet.js +31 -0
- package/es-custom/react/code-snippet.js.map +1 -0
- package/es-custom/react/content-switcher.d.ts +7 -0
- package/es-custom/react/content-switcher.js +37 -0
- package/es-custom/react/content-switcher.js.map +1 -0
- package/es-custom/react/feedback-buttons.d.ts +4 -0
- package/es-custom/react/feedback-buttons.js +31 -0
- package/es-custom/react/feedback-buttons.js.map +1 -0
- package/es-custom/react/feedback.d.ts +6 -0
- package/es-custom/react/feedback.js +32 -0
- package/es-custom/react/feedback.js.map +1 -0
- package/es-custom/react/icon-button.d.ts +4 -0
- package/es-custom/react/icon-button.js +28 -0
- package/es-custom/react/icon-button.js.map +1 -0
- package/es-custom/react/icon.d.ts +4 -0
- package/es-custom/react/icon.js +28 -0
- package/es-custom/react/icon.js.map +1 -0
- package/es-custom/react/inline-notification.d.ts +4 -0
- package/es-custom/react/inline-notification.js +28 -0
- package/es-custom/react/inline-notification.js.map +1 -0
- package/es-custom/react/markdown.d.ts +4 -0
- package/es-custom/react/markdown.js +28 -0
- package/es-custom/react/markdown.js.map +1 -0
- package/es-custom/react/overflow-menu.d.ts +9 -0
- package/es-custom/react/overflow-menu.js +40 -0
- package/es-custom/react/overflow-menu.js.map +1 -0
- package/es-custom/react/processing.d.ts +4 -0
- package/es-custom/react/processing.js +28 -0
- package/es-custom/react/processing.js.map +1 -0
- package/es-custom/react/reasoning-step.d.ts +4 -0
- package/es-custom/react/reasoning-step.js +32 -0
- package/es-custom/react/reasoning-step.js.map +1 -0
- package/es-custom/react/reasoning-steps-toggle.d.ts +6 -0
- package/es-custom/react/reasoning-steps-toggle.js +31 -0
- package/es-custom/react/reasoning-steps-toggle.js.map +1 -0
- package/es-custom/react/reasoning-steps.d.ts +4 -0
- package/es-custom/react/reasoning-steps.js +28 -0
- package/es-custom/react/reasoning-steps.js.map +1 -0
- package/es-custom/react/tag.d.ts +4 -0
- package/es-custom/react/tag.js +28 -0
- package/es-custom/react/tag.js.map +1 -0
- package/es-custom/react/tile.d.ts +7 -0
- package/es-custom/react/tile.js +34 -0
- package/es-custom/react/tile.js.map +1 -0
- package/es-custom/react/tool-call-data.d.ts +4 -0
- package/es-custom/react/tool-call-data.js +28 -0
- package/es-custom/react/tool-call-data.js.map +1 -0
- package/es-custom/react/toolbar.d.ts +4 -0
- package/es-custom/react/toolbar.js +28 -0
- package/es-custom/react/toolbar.js.map +1 -0
- package/es-custom/react/utils/withWebComponentBridge.d.ts +15 -0
- package/es-custom/react/utils/withWebComponentBridge.js +95 -0
- package/es-custom/react/utils/withWebComponentBridge.js.map +1 -0
- package/es-custom/react/workspace-shell.d.ts +11 -0
- package/es-custom/react/workspace-shell.js +49 -0
- package/es-custom/react/workspace-shell.js.map +1 -0
- package/es-custom/testing/load-all-lazy-deps.d.ts +10 -0
- package/es-custom/testing/load-all-lazy-deps.js +30 -0
- package/es-custom/testing/load-all-lazy-deps.js.map +1 -0
- package/package.json +8 -6
- package/dist/16-C9Ph5740.js +0 -91
- package/dist/16-Dw0Ci4Fd.js +0 -91
- package/dist/16-FH37w-8T.js +0 -91
- package/dist/apl-ugs9-gp6.js +0 -91
- package/dist/asciiarmor-BsIYfA6P.js +0 -91
- package/dist/asn1-HkF5z2_O.js +0 -91
- package/dist/asterisk-CAIjKZq6.js +0 -91
- package/dist/button-Bc3tNCYN.js +0 -157
- package/dist/button-skeleton-DH50p4bH.js +0 -131
- package/dist/carbon-element-C38isbCs.js +0 -91
- package/dist/card.min.js +0 -193
- package/dist/chain-of-thought.min.js +0 -294
- package/dist/chat-button.min.js +0 -107
- package/dist/checkbox-skeleton-CS3inOnf.js +0 -166
- package/dist/class-map-BE4cOc2X.js +0 -128
- package/dist/clike-BIFB3b_k.js +0 -91
- package/dist/clojure-CXNiCqqB.js +0 -91
- package/dist/cmake-CR9NkLsk.js +0 -91
- package/dist/cobol-Ck90O_9v.js +0 -91
- package/dist/code-snippet.min.js +0 -91
- package/dist/codemirror-runtime-D8qZsrKE.js +0 -173
- package/dist/coffeescript-C0nvD2I-.js +0 -91
- package/dist/collection-helpers-BqatNkHh.js +0 -91
- package/dist/commonlisp-BROP4IME.js +0 -91
- package/dist/crystal-D6K96_U-.js +0 -91
- package/dist/css-CdH_tvvW.js +0 -91
- package/dist/cypher-CtHiEXsa.js +0 -91
- package/dist/d-Dcs18F9P.js +0 -91
- package/dist/diff-Bp64yuxL.js +0 -91
- package/dist/dockerfile-1DOwDLks.js +0 -91
- package/dist/dtd-DBKuh-AW.js +0 -91
- package/dist/dylan-ZUYgifRI.js +0 -91
- package/dist/ebnf-CEelJcGq.js +0 -91
- package/dist/ecl-CphVX9Cq.js +0 -91
- package/dist/eiffel-BQPneqZH.js +0 -91
- package/dist/elm-DSPAgqOt.js +0 -91
- package/dist/erlang-D_rMo9WA.js +0 -91
- package/dist/factor-CMTQjKbR.js +0 -91
- package/dist/fcl-BX3Rw6-t.js +0 -91
- package/dist/feedback.min.js +0 -281
- package/dist/forth-BGhjMNd3.js +0 -91
- package/dist/fortran-AEBjaYMh.js +0 -91
- package/dist/gas-DZXAjJGb.js +0 -91
- package/dist/gherkin-DxJx7fVg.js +0 -91
- package/dist/groovy-dfLbXlDy.js +0 -91
- package/dist/haskell-DyZ9y283.js +0 -91
- package/dist/haxe-D47ScCJn.js +0 -91
- package/dist/http-CQ5YdFwi.js +0 -91
- package/dist/icon-button-jLtiwRb4.js +0 -143
- package/dist/icon-loader-BKTEuybf.js +0 -101
- package/dist/idl-DMLd56tu.js +0 -91
- package/dist/if-defined-Dk7gHH6I.js +0 -96
- package/dist/index--CctdwCC.js +0 -91
- package/dist/index--ktPsmev.js +0 -168
- package/dist/index-BHiWR-3B.js +0 -91
- package/dist/index-BI8bnAEd.js +0 -91
- package/dist/index-BbGF94cg.js +0 -91
- package/dist/index-BnQBLEPx.js +0 -91
- package/dist/index-BsUuLdXD.js +0 -91
- package/dist/index-C2xfmTPp.js +0 -91
- package/dist/index-C3BN0MYy.js +0 -91
- package/dist/index-CD4di8Cf.js +0 -91
- package/dist/index-CVyUt3LQ.js +0 -91
- package/dist/index-Cg7m4sg1.js +0 -91
- package/dist/index-ClimwzxW.js +0 -91
- package/dist/index-CrevYuI-.js +0 -91
- package/dist/index-D5kcnwm2.js +0 -91
- package/dist/index-DCbIO0Hl.js +0 -91
- package/dist/index-Db-BDibx.js +0 -91
- package/dist/index-DmpHBiKi.js +0 -91
- package/dist/index-DzPjFlOn.js +0 -91
- package/dist/index-MgVf_8OP.js +0 -91
- package/dist/index-WHfhssUV.js +0 -91
- package/dist/index-rdaURAlB.js +0 -91
- package/dist/index-tFrMu4B_.js +0 -278
- package/dist/index-yLnmvqXN.js +0 -91
- package/dist/javascript-CB_5CYW7.js +0 -91
- package/dist/julia-DmOIk9mc.js +0 -91
- package/dist/livescript-BkgLC0lL.js +0 -91
- package/dist/loading-icon-CmnM4I_H.js +0 -106
- package/dist/lua-CWM_r9JC.js +0 -91
- package/dist/markdown.min.js +0 -298
- package/dist/mathematica-BSatVfC1.js +0 -91
- package/dist/mbox-4am1R8hd.js +0 -91
- package/dist/mirc-pdtTGW9l.js +0 -91
- package/dist/mllike-C0YFsE1U.js +0 -91
- package/dist/modelica-DVTWSHR-.js +0 -91
- package/dist/mscgen-ByAgrjGx.js +0 -91
- package/dist/mumps-X97p0_h_.js +0 -91
- package/dist/nginx-CqUadVPT.js +0 -91
- package/dist/nsis-Urp7BrWk.js +0 -91
- package/dist/ntriples-CToxeTsT.js +0 -91
- package/dist/octave-Dc4mpp8A.js +0 -91
- package/dist/oz-DX2Pk_mI.js +0 -91
- package/dist/pascal-B9GL_nqz.js +0 -91
- package/dist/perl-BvZFpXKD.js +0 -91
- package/dist/pig-BxFxDHBk.js +0 -91
- package/dist/powershell-CwCLRM7O.js +0 -91
- package/dist/processing.min.js +0 -105
- package/dist/properties-3nFD-Vnh.js +0 -91
- package/dist/protobuf-RqEyuWlw.js +0 -91
- package/dist/pug-1L6dEUb3.js +0 -91
- package/dist/puppet-C-gxR1ON.js +0 -91
- package/dist/python-BSbm1-vO.js +0 -91
- package/dist/q-4yAbTbi2.js +0 -91
- package/dist/r-BxfoMXlJ.js +0 -91
- package/dist/reasoning-steps.min.js +0 -202
- package/dist/rpm-DOp6MTEb.js +0 -91
- package/dist/ruby-DD6QCAKT.js +0 -91
- package/dist/sas-Cb-4sFOe.js +0 -91
- package/dist/scheme-CZsCl8E_.js +0 -91
- package/dist/settings-e2aItLYn.js +0 -99
- package/dist/shell-Bba6ETw_.js +0 -91
- package/dist/sieve-DZz1QovM.js +0 -91
- package/dist/simple-mode-DAyX7kcU.js +0 -91
- package/dist/smalltalk-BVigbKw-.js +0 -91
- package/dist/solr-BRh8QRgo.js +0 -91
- package/dist/sparql-DPq9GGqu.js +0 -91
- package/dist/spreadsheet-DWXWohNi.js +0 -91
- package/dist/sql-HgNux1Fi.js +0 -91
- package/dist/state-Bv4FM_9B.js +0 -96
- package/dist/stex-DB306cTl.js +0 -91
- package/dist/stylus-BVbE3BhF.js +0 -91
- package/dist/swift-k2z0otOi.js +0 -91
- package/dist/sync-D3qEZKNY.js +0 -91
- package/dist/table-runtime-Q-ak_IZE.js +0 -510
- package/dist/table.min.js +0 -91
- package/dist/tcl-BJwoeXra.js +0 -91
- package/dist/text-input-BlCqTf_p.js +0 -158
- package/dist/textile-9DAvWy-Y.js +0 -91
- package/dist/throttle-Bst9TagJ.js +0 -91
- package/dist/tiddlywiki-CDJdAycW.js +0 -91
- package/dist/tiki-Dlg5DFIR.js +0 -91
- package/dist/toml-DGqt7oU6.js +0 -91
- package/dist/toolbar.min.js +0 -178
- package/dist/troff-xJv1Y_X_.js +0 -91
- package/dist/ttcn-cfg-CrKiCUlI.js +0 -91
- package/dist/ttcn-dBogkyiy.js +0 -91
- package/dist/turtle-qtDt5E0f.js +0 -91
- package/dist/vb-h5NatM2n.js +0 -91
- package/dist/vbscript-BnXXn72l.js +0 -91
- package/dist/velocity-C_ZqzMiT.js +0 -91
- package/dist/verilog-s8oM517K.js +0 -91
- package/dist/vhdl-BgZd0MBH.js +0 -91
- package/dist/webidl-CDRn4bGa.js +0 -91
- package/dist/workspace-shell.min.js +0 -157
- package/dist/xquery-DTfjYCD7.js +0 -91
- package/dist/yacas-DxV9-gAO.js +0 -91
- package/dist/z80-PFwavMao.js +0 -91
- package/es/node_modules/@codemirror/autocomplete/dist/index.js +0 -258
- package/es/node_modules/@codemirror/autocomplete/dist/index.js.map +0 -1
- package/es/node_modules/@codemirror/commands/dist/index.js +0 -1140
- package/es/node_modules/@codemirror/commands/dist/index.js.map +0 -1
- package/es/node_modules/@codemirror/lint/dist/index.js +0 -636
- package/es/node_modules/@codemirror/lint/dist/index.js.map +0 -1
- package/es/node_modules/@lezer/common/dist/index.js +0 -253
- package/es/node_modules/@lezer/common/dist/index.js.map +0 -1
- package/es/node_modules/crelt/index.js +0 -37
- package/es/node_modules/crelt/index.js.map +0 -1
package/dist/stex-DB306cTl.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
function t(t){function e(t,e){t.cmdState.push(e)}function n(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function r(t,e,n){return function(){this.name=t,this.bracketNo=0,this.style=e,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var a={};function i(t,e){t.f=e}function c(t,r){var c;if(t.match(/^\\[a-zA-Z@\xc0-\u1fff\u2060-\uffff]+/)){var f=t.current().slice(1);return e(r,c=new(c=a.hasOwnProperty(f)?a[f]:a.DEFAULT)),i(r,o),c.style}if(t.match(/^\\[$&%#{}_]/))return"tag";if(t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return i(r,function(t,e){return u(t,e,"\\]")}),"keyword";if(t.match("\\("))return i(r,function(t,e){return u(t,e,"\\)")}),"keyword";if(t.match("$$"))return i(r,function(t,e){return u(t,e,"$$")}),"keyword";if(t.match("$"))return i(r,function(t,e){return u(t,e,"$")}),"keyword";var m=t.next();return"%"==m?(t.skipToEnd(),"comment"):"}"==m||"]"==m?(c=n(r))?(c.closeBracket(m),i(r,o),"bracket"):"error":"{"==m||"["==m?(e(r,c=new(c=a.DEFAULT)),"bracket"):/\d/.test(m)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),c=function(t){for(var e=t.cmdState,n=e.length-1;n>=0;n--){var r=e[n];if("DEFAULT"!=r.name)return r}return{styleIdentifier:function(){return null}}}(r),"begin"==c.name&&(c.argument=t.current()),c.styleIdentifier())}function u(t,e,n){if(t.eatSpace())return null;if(n&&t.match(n))return i(e,c),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variableName.special";if(t.match(/^\\[$&%#{}_]/))return"tag";if(t.match(/^\\[,;!\/]/))return"tag";if(t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var r=t.next();return"{"==r||"}"==r||"["==r||"]"==r||"("==r||")"==r?"bracket":"%"==r?(t.skipToEnd(),"comment"):"error"}function o(t,e){var r=t.peek();return"{"==r||"["==r?(n(e).openBracket(r),t.eat(r),i(e,c),"bracket"):/[ \t\r]/.test(r)?(t.eat(r),null):(i(e,c),function(t){var e=t.cmdState.pop();e&&e.closeBracket()}(e),c(t,e))}return a.importmodule=r("importmodule","tag",["string","builtin"]),a.documentclass=r("documentclass","tag",["","atom"]),a.usepackage=r("usepackage","tag",["atom"]),a.begin=r("begin","tag",["atom"]),a.end=r("end","tag",["atom"]),a.label=r("label","tag",["atom"]),a.ref=r("ref","tag",["atom"]),a.eqref=r("eqref","tag",["atom"]),a.cite=r("cite","tag",["atom"]),a.bibitem=r("bibitem","tag",["atom"]),a.Bibitem=r("Bibitem","tag",["atom"]),a.RBibitem=r("RBibitem","tag",["atom"]),a.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{name:"stex",startState:function(){return{cmdState:[],f:t?function(t,e){return u(t,e)}:c}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=c,t.cmdState.length=0},languageData:{commentTokens:{line:"%"}}}}const e=t(!1);t(!0);export{e as stex};
|
package/dist/stylus-BVbE3BhF.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
var e=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],t=["domain","regexp","url-prefix","url"],r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],a=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],o=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],n=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],l=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],s=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],c=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],d=["for","if","else","unless","from","to"],u=["null","true","false","href","title","type","not-allowed","readonly","disabled"],m=e.concat(t,r,i,a,o,l,s,n,c,d,u,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);function p(e){return e=e.sort(function(e,t){return t>e}),new RegExp("^(("+e.join(")|(")+"))\\b")}function h(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=!0;return t}var b,g,f,k,w=h(e),y=/^(a|b|i|s|col|em)$/i,v=h(a),x=h(o),z=h(s),q=h(l),$=h(t),j=p(t),B=h(i),N=h(r),L=h(n),P=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,C=p(c),_=h(d),U=new RegExp(/^\-(moz|ms|o|webkit)-/i),E=h(u),O="",W={};function A(e,t){if(O=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=O?O[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),b=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=R,R(e,t);if('"'==b||"'"==b)return e.next(),t.tokenize=S(b),t.tokenize(e,t);if("@"==b)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==b){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(U)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==b?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==b&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(j)?("("==e.peek()&&(t.tokenize=X),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variableName.special","reference"]):e.match(/^&{1}\s*$/)?["variableName.special","reference"]:e.match(C)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!F(e.current())?(e.match("."),["variable","variable-name"]):["variable","word"]:e.match(P)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(b)?(e.next(),[null,b]):(e.next(),[null,null])}function R(e,t){for(var r,i=!1;null!=(r=e.next());){if(i&&"/"==r){t.tokenize=null;break}i="*"==r}return["comment","comment"]}function S(e){return function(t,r){for(var i,a=!1;null!=(i=t.next());){if(i==e&&!a){")"==e&&t.backUp(1);break}a=!a&&"\\"==i}return(i==e||!a&&")"!=e)&&(r.tokenize=null),["string","string"]}}function X(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=S(")"),[null,"("]}function Y(e,t,r,i){this.type=e,this.indent=t,this.prev=r,this.line=i||{firstWord:"",indent:0}}function Z(e,t,r,i){return i=i>=0?i:t.indentUnit,e.context=new Y(r,t.indentation()+i,e.context),r}function T(e,t,r){var i=e.context.indent-t.indentUnit;return r=r||!1,e.context=e.context.prev,r&&(e.context.indent=i),e.context.type}function D(e,t,r,i){for(var a=1;a>0;a--)r.context=r.context.prev;return function(e,t,r){return W[r.context.type](e,t,r)}(e,t,r)}function F(e){return e.toLowerCase()in w}function I(e){return(e=e.toLowerCase())in v||e in L}function G(e){return e.toLowerCase()in _}function H(e){return e.toLowerCase().match(U)}function J(e){var t=e.toLowerCase(),r="variable";return F(e)?r="tag":G(e)?r="block-keyword":I(e)?r="property":t in z||t in E?r="atom":"return"==t||t in q?r="keyword":e.match(/^[A-Z]/)&&(r="string"),r}function K(e,t){return ee(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function M(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function Q(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function V(e){return e.sol()||e.string.match(new RegExp("^\\s*"+e.current().replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")))}function ee(e){return e.eol()||e.match(/^\s*$/,!1)}function te(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r="string"==typeof e?e.match(t):e.string.match(t);return r?r[0].replace(/^\s*/,""):""}W.block=function(e,t,r){if("comment"==e&&V(t)||","==e&&ee(t)||"mixin"==e)return Z(r,t,"block",0);if(M(e,t))return Z(r,t,"interpolation");if(ee(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!F(te(t)))return Z(r,t,"block",0);if(K(e,t))return Z(r,t,"block");if("}"==e&&ee(t))return Z(r,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||G(te(t))?Z(r,t,"variableName"):Z(r,t,"variableName",0);if("="==e)return ee(t)||G(te(t))?Z(r,t,"block"):Z(r,t,"block",0);if("*"==e&&(ee(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return k="tag",Z(r,t,"block");if(Q(e,t))return Z(r,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return Z(r,t,ee(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return Z(r,t,"keyframes");if(/@extends?/.test(e))return Z(r,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&I(t.current().slice(1))?(k="variable","block"):/(@import|@require|@charset)/.test(e)?Z(r,t,"block",0):Z(r,t,"block");if("reference"==e&&ee(t))return Z(r,t,"block");if("("==e)return Z(r,t,"parens");if("vendor-prefixes"==e)return Z(r,t,"vendorPrefixes");if("word"==e){var i=t.current();if("property"==(k=J(i)))return V(t)?Z(r,t,"block",0):(k="atom","block");if("tag"==k){if(/embed|menu|pre|progress|sub|table/.test(i)&&I(te(t)))return k="atom","block";if(t.string.match(new RegExp("\\[\\s*"+i+"|"+i+"\\s*\\]")))return k="atom","block";if(y.test(i)&&(V(t)&&t.string.match(/=/)||!V(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!F(te(t))))return k="variable",G(te(t))?"block":Z(r,t,"block",0);if(ee(t))return Z(r,t,"block")}if("block-keyword"==k)return k="keyword",t.current(/(if|unless)/)&&!V(t)?"block":Z(r,t,"block");if("return"==i)return Z(r,t,"block",0);if("variable"==k&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return Z(r,t,"block")}return r.context.type},W.parens=function(e,t,r){if("("==e)return Z(r,t,"parens");if(")"==e)return"parens"==r.context.prev.type?T(r,t):t.string.match(/^[a-z][\w-]*\(/i)&&ee(t)||G(te(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(te(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&F(te(t))?Z(r,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?Z(r,t,"block",0):ee(t)?Z(r,t,"block"):Z(r,t,"block",0);if(e&&"@"==e.charAt(0)&&I(t.current().slice(1))&&(k="variable"),"word"==e){var i=t.current();"tag"==(k=J(i))&&y.test(i)&&(k="variable"),"property"!=k&&"to"!=i||(k="atom")}return"variable-name"==e?Z(r,t,"variableName"):Q(e,t)?Z(r,t,"pseudo"):r.context.type},W.vendorPrefixes=function(e,t,r){return"word"==e?(k="property",Z(r,t,"block",0)):T(r,t)},W.pseudo=function(e,t,r){return I(te(t.string))?D(e,t,r):(t.match(/^[a-z-]+/),k="variableName.special",ee(t)?Z(r,t,"block"):T(r,t))},W.atBlock=function(e,t,r){if("("==e)return Z(r,t,"atBlock_parens");if(K(e,t))return Z(r,t,"block");if(M(e,t))return Z(r,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();if("tag"==(k=/^(only|not|and|or)$/.test(i)?"keyword":$.hasOwnProperty(i)?"tag":N.hasOwnProperty(i)?"attribute":B.hasOwnProperty(i)?"property":x.hasOwnProperty(i)?"string.special":J(t.current()))&&ee(t))return Z(r,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(k="keyword"),r.context.type},W.atBlock_parens=function(e,t,r){if("{"==e||"}"==e)return r.context.type;if(")"==e)return ee(t)?Z(r,t,"block"):Z(r,t,"atBlock");if("word"==e){var i=t.current().toLowerCase();return k=J(i),/^(max|min)/.test(i)&&(k="property"),"tag"==k&&(k=y.test(i)?"variable":"atom"),r.context.type}return W.atBlock(e,t,r)},W.keyframes=function(e,t,r){return"0"==t.indentation()&&("}"==e&&V(t)||"]"==e||"hash"==e||"qualifier"==e||F(t.current()))?D(e,t,r):"{"==e?Z(r,t,"keyframes"):"}"==e?V(t)?T(r,t,!0):Z(r,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?Z(r,t,"keyframes"):"word"==e&&"block-keyword"==(k=J(t.current()))?(k="keyword",Z(r,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?Z(r,t,ee(t)?"block":"atBlock"):"mixin"==e?Z(r,t,"block",0):r.context.type},W.interpolation=function(e,t,r){return"{"==e&&T(r,t)&&Z(r,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&F(te(t))?Z(r,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?Z(r,t,"block",0):Z(r,t,"block"):"variable-name"==e?Z(r,t,"variableName",0):("word"==e&&"tag"==(k=J(t.current()))&&(k="atom"),r.context.type)},W.extend=function(e,t,r){return"["==e||"="==e?"extend":"]"==e?T(r,t):"word"==e?(k=J(t.current()),"extend"):T(r,t)},W.variableName=function(e,t,r){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(k="variable"),"variableName"):D(e,t,r)};const re={name:"stylus",startState:function(){return{tokenize:null,state:"block",context:new Y("block",0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((g=(t.tokenize||A)(e,t))&&"object"==typeof g&&(f=g[1],g=g[0]),k=g,t.state=W[t.state](f,e,t),k)},indent:function(e,t,r){var i=e.context,a=t&&t.charAt(0),o=i.indent,n=te(t),l=i.line.indent,s=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:l;return i.prev&&("}"==a&&("block"==i.type||"atBlock"==i.type||"keyframes"==i.type)||")"==a&&("parens"==i.type||"atBlock_parens"==i.type)||"{"==a&&"at"==i.type)?o=i.indent-r.unit:/(\})/.test(a)||(/@|\$|\d/.test(a)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(s)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||G(n)?o=l:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(a)||F(n)?o=/\,\s*$/.test(s)?c:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(s)||F(s)?l<=c?c:c+r.unit:l:/,\s*$/.test(t)||!H(n)&&!I(n)||(o=G(s)?l<=c?c:c+r.unit:/^\{/.test(s)?l<=c?l:c+r.unit:H(s)||I(s)?l>=c?c:l:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(s)||/=\s*$/.test(s)||F(s)||/^\$[\w-\.\[\]\'\"]/.test(s)?c+r.unit:l)),o},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:m}};export{re as stylus};
|
package/dist/swift-k2z0otOi.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
function e(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var t=e(["_","var","let","actor","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","open","public","internal","fileprivate","private","deinit","init","new","override","self","subscript","super","convenience","dynamic","final","indirect","lazy","required","static","unowned","unowned(safe)","unowned(unsafe)","weak","as","is","break","case","continue","default","else","fallthrough","for","guard","if","in","repeat","switch","where","while","defer","return","inout","mutating","nonmutating","isolated","nonisolated","catch","do","rethrows","throw","throws","async","await","try","didSet","get","set","willSet","assignment","associativity","infix","left","none","operator","postfix","precedence","precedencegroup","prefix","right","Any","AnyObject","Type","dynamicType","Self","Protocol","__COLUMN__","__FILE__","__FUNCTION__","__LINE__"]),n=e(["var","let","actor","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","for"]),r=e(["true","false","nil","self","super","_"]),i=e(["Array","Bool","Character","Dictionary","Double","Float","Int","Int8","Int16","Int32","Int64","Never","Optional","Set","String","UInt8","UInt16","UInt32","UInt64","Void"]),a=/^\-?0b[01][01_]*/,o=/^\-?0o[0-7][0-7_]*/,u=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,c=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,f=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,s=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,l=/^\#[A-Za-z]+/,p=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function d(e,d,h){if(e.sol()&&(d.indented=e.indentation()),e.eatSpace())return null;var _,k=e.peek();if("/"==k){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return d.tokenize.push(v),v(e,d)}if(e.match(l))return"builtin";if(e.match(p))return"attribute";if(e.match(a))return"number";if(e.match(o))return"number";if(e.match(u))return"number";if(e.match(c))return"number";if(e.match(s))return"property";if("+-/*%=|&<>~^?!".indexOf(k)>-1)return e.next(),"operator";if(":;,.(){}[]".indexOf(k)>-1)return e.next(),e.match(".."),"punctuation";if(_=e.match(/("""|"|')/)){var x=m.bind(null,_[0]);return d.tokenize.push(x),x(e,d)}if(e.match(f)){var y=e.current();return i.hasOwnProperty(y)?"type":r.hasOwnProperty(y)?"atom":t.hasOwnProperty(y)?(n.hasOwnProperty(y)&&(d.prev="define"),"keyword"):"define"==h?"def":"variable"}return e.next(),null}function h(){var e=0;return function(t,n,r){var i=d(t,n,r);if("punctuation"==i)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}return i}}function m(e,t,n){for(var r,i=1==e.length,a=!1;r=t.peek();)if(a){if(t.next(),"("==r)return n.tokenize.push(h()),"string";a=!1}else{if(t.match(e))return n.tokenize.pop(),"string";t.next(),a="\\"==r}return i&&n.tokenize.pop(),"string"}function v(e,t){for(var n;n=e.next();)if("/"===n&&e.eat("*"))t.tokenize.push(v);else if("*"===n&&e.eat("/")){t.tokenize.pop();break}return"comment"}function _(e,t,n){this.prev=e,this.align=t,this.indented=n}function k(e,t){var n=t.match(/^\s*($|\/[\/\*]|[)}\]])/,!1)?null:t.column()+1;e.context=new _(e.context,n,e.indented)}function x(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}const y={name:"swift",startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var n=t.prev;t.prev=null;var r=(t.tokenize[t.tokenize.length-1]||d)(e,t,n);if(r&&"comment"!=r?t.prev||(t.prev=r):t.prev=n,"punctuation"==r){var i=/[\(\[\{]|([\]\)\}])/.exec(e.current());i&&(i[1]?x:k)(t,e)}return r},indent:function(e,t,n){var r=e.context;if(!r)return 0;var i=/^[\]\}\)]/.test(t);return null!=r.align?r.align-(i?1:0):r.indented+(i?0:n.unit)},languageData:{indentOnInput:/^\s*[\)\}\]]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}};export{y as swift};
|
package/dist/sync-D3qEZKNY.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
var t="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},r=[],e=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i=!1;function o(){i=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0;n<64;++n)r[n]=t[n],e[t.charCodeAt(n)]=n;e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63}function s(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function u(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16)+(t[o+1]<<8)+t[o+2],i.push(s(n));return i.join("")}function f(t){var e;i||o();for(var n=t.length,s=n%3,f="",a=[],h=16383,c=0,l=n-s;c<l;c+=h)a.push(u(t,c,c+h>l?l:c+h));return 1===s?(e=t[n-1],f+=r[e>>2],f+=r[e<<4&63],f+="=="):2===s&&(e=(t[n-2]<<8)+t[n-1],f+=r[e>>10],f+=r[e>>4&63],f+=r[e<<2&63],f+="="),a.push(f),a.join("")}function a(t,r,e,n,i){var o,s,u=8*i-n-1,f=(1<<u)-1,a=f>>1,h=-7,c=e?i-1:0,l=e?-1:1,p=t[r+c];for(c+=l,o=p&(1<<-h)-1,p>>=-h,h+=u;h>0;o=256*o+t[r+c],c+=l,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=256*s+t[r+c],c+=l,h-=8);if(0===o)o=1-a;else{if(o===f)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=a}return(p?-1:1)*s*Math.pow(2,o-n)}function h(t,r,e,n,i,o){var s,u,f,a=8*o-i-1,h=(1<<a)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,s=h):(s=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-s))<1&&(s--,f*=2),(r+=s+c>=1?l/f:l*Math.pow(2,1-c))*f>=2&&(s++,f/=2),s+c>=h?(u=0,s=h):s+c>=1?(u=(r*f-1)*Math.pow(2,i),s+=c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[e+p]=255&u,p+=d,u/=256,i-=8);for(s=s<<i|u,a+=i;a>0;t[e+p]=255&s,p+=d,s/=256,a-=8);t[e+p-d]|=128*g}var c={}.toString,l=Array.isArray||function(t){return"[object Array]"==c.call(t)};function p(){return g.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function d(t,r){if(p()<r)throw new RangeError("Invalid typed array length");return g.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r)).__proto__=g.prototype:(null===t&&(t=new g(r)),t.length=r),t}function g(t,r,e){if(!(g.TYPED_ARRAY_SUPPORT||this instanceof g))return new g(t,r,e);if("number"==typeof t){if("string"==typeof r)throw new Error("If encoding is specified then the first argument must be a string");return v(this,t)}return y(this,t,r,e)}function y(t,r,e,n){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?function(t,r,e,n){if(r.byteLength,e<0||r.byteLength<e)throw new RangeError("'offset' is out of bounds");if(r.byteLength<e+(n||0))throw new RangeError("'length' is out of bounds");r=void 0===e&&void 0===n?new Uint8Array(r):void 0===n?new Uint8Array(r,e):new Uint8Array(r,e,n);g.TYPED_ARRAY_SUPPORT?(t=r).__proto__=g.prototype:t=w(t,r);return t}(t,r,e,n):"string"==typeof r?function(t,r,e){"string"==typeof e&&""!==e||(e="utf8");if(!g.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var n=0|E(r,e);t=d(t,n);var i=t.write(r,e);i!==n&&(t=t.slice(0,i));return t}(t,r,e):function(t,r){if(_(r)){var e=0|b(r.length);return 0===(t=d(t,e)).length||r.copy(t,0,0,e),t}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||(n=r.length)!=n?d(t,0):w(t,r);if("Buffer"===r.type&&l(r.data))return w(t,r.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,r)}function m(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function v(t,r){if(m(r),t=d(t,r<0?0:0|b(r)),!g.TYPED_ARRAY_SUPPORT)for(var e=0;e<r;++e)t[e]=0;return t}function w(t,r){var e=r.length<0?0:0|b(r.length);t=d(t,e);for(var n=0;n<e;n+=1)t[n]=255&r[n];return t}function b(t){if(t>=p())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p().toString(16)+" bytes");return 0|t}function _(t){return!(null==t||!t._isBuffer)}function E(t,r){if(_(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var e=t.length;if(0===e)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":case void 0:return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return H(t).length;default:if(n)return G(t).length;r=(""+r).toLowerCase(),n=!0}}function A(t,r,e){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(r>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,r,e);case"utf8":case"utf-8":return C(this,r,e);case"ascii":return N(this,r,e);case"latin1":case"binary":return L(this,r,e);case"base64":return q(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function R(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function P(t,r,e,n,i){if(0===t.length)return-1;if("string"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0){if(!i)return-1;e=0}if("string"==typeof r&&(r=g.from(r,n)),_(r))return 0===r.length?-1:S(t,r,e,n,i);if("number"==typeof r)return r&=255,g.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):S(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function S(t,r,e,n,i){var o,s=1,u=t.length,f=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;s=2,u/=2,f/=2,e/=2}function a(t,r){return 1===s?t[r]:t.readUInt16BE(r*s)}if(i){var h=-1;for(o=e;o<u;o++)if(a(t,o)===a(r,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===f)return h*s}else-1!==h&&(o-=o-h),h=-1}else for(e+f>u&&(e=u-f),o=e;o>=0;o--){for(var c=!0,l=0;l<f;l++)if(a(t,o+l)!==a(r,l)){c=!1;break}if(c)return o}return-1}function T(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n))>i&&(n=i):n=i;var o=r.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var u=parseInt(r.substr(2*s,2),16);if(isNaN(u))return s;t[e+s]=u}return s}function O(t,r,e,n){return K(G(r,t.length-e),t,e,n)}function I(t,r,e,n){return K(function(t){for(var r=[],e=0;e<t.length;++e)r.push(255&t.charCodeAt(e));return r}(r),t,e,n)}function U(t,r,e,n){return I(t,r,e,n)}function B(t,r,e,n){return K(H(r),t,e,n)}function Y(t,r,e,n){return K(function(t,r){for(var e,n,i,o=[],s=0;s<t.length&&!((r-=2)<0);++s)n=(e=t.charCodeAt(s))>>8,i=e%256,o.push(i),o.push(n);return o}(r,t.length-e),t,e,n)}function q(t,r,e){return 0===r&&e===t.length?f(t):f(t.slice(r,e))}function C(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o,s,u,f,a=t[i],h=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=e)switch(c){case 1:a<128&&(h=a);break;case 2:128==(192&(o=t[i+1]))&&(f=(31&a)<<6|63&o)>127&&(h=f);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(f=(15&a)<<12|(63&o)<<6|63&s)>2047&&(f<55296||f>57343)&&(h=f);break;case 4:o=t[i+1],s=t[i+2],u=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&u)&&(f=(15&a)<<18|(63&o)<<12|(63&s)<<6|63&u)>65535&&f<1114112&&(h=f)}null===h?(h=65533,c=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=c}return function(t){var r=t.length;if(r<=x)return String.fromCharCode.apply(String,t);var e="",n=0;for(;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=x));return e}(n)}g.TYPED_ARRAY_SUPPORT=void 0===t.TYPED_ARRAY_SUPPORT||t.TYPED_ARRAY_SUPPORT,p(),g.poolSize=8192,g._augment=function(t){return t.__proto__=g.prototype,t},g.from=function(t,r,e){return y(null,t,r,e)},g.TYPED_ARRAY_SUPPORT&&(g.prototype.__proto__=Uint8Array.prototype,g.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&g[Symbol.species]),g.alloc=function(t,r,e){return function(t,r,e,n){return m(r),r<=0?d(t,r):void 0!==e?"string"==typeof n?d(t,r).fill(e,n):d(t,r).fill(e):d(t,r)}(null,t,r,e)},g.allocUnsafe=function(t){return v(null,t)},g.allocUnsafeSlow=function(t){return v(null,t)},g.isBuffer=W,g.compare=function(t,r){if(!_(t)||!_(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var e=t.length,n=r.length,i=0,o=Math.min(e,n);i<o;++i)if(t[i]!==r[i]){e=t[i],n=r[i];break}return e<n?-1:n<e?1:0},g.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},g.concat=function(t,r){if(!l(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return g.alloc(0);var e;if(void 0===r)for(r=0,e=0;e<t.length;++e)r+=t[e].length;var n=g.allocUnsafe(r),i=0;for(e=0;e<t.length;++e){var o=t[e];if(!_(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},g.byteLength=E,g.prototype._isBuffer=!0,g.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)R(this,r,r+1);return this},g.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)R(this,r,r+3),R(this,r+1,r+2);return this},g.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)R(this,r,r+7),R(this,r+1,r+6),R(this,r+2,r+5),R(this,r+3,r+4);return this},g.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):A.apply(this,arguments)},g.prototype.equals=function(t){if(!_(t))throw new TypeError("Argument must be a Buffer");return this===t||0===g.compare(this,t)},g.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},g.prototype.compare=function(t,r,e,n,i){if(!_(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),r<0||e>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&r>=e)return 0;if(n>=i)return-1;if(r>=e)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(e>>>=0)-(r>>>=0),u=Math.min(o,s),f=this.slice(n,i),a=t.slice(r,e),h=0;h<u;++h)if(f[h]!==a[h]){o=f[h],s=a[h];break}return o<s?-1:s<o?1:0},g.prototype.includes=function(t,r,e){return-1!==this.indexOf(t,r,e)},g.prototype.indexOf=function(t,r,e){return P(this,t,r,e,!0)},g.prototype.lastIndexOf=function(t,r,e){return P(this,t,r,e,!1)},g.prototype.write=function(t,r,e,n){if(void 0===r)n="utf8",e=this.length,r=0;else if(void 0===e&&"string"==typeof r)n=r,e=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r|=0,isFinite(e)?(e|=0,void 0===n&&(n="utf8")):(n=e,e=void 0)}var i=this.length-r;if((void 0===e||e>i)&&(e=i),t.length>0&&(e<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return T(this,t,r,e);case"utf8":case"utf-8":return O(this,t,r,e);case"ascii":return I(this,t,r,e);case"latin1":case"binary":return U(this,t,r,e);case"base64":return B(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,t,r,e);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var x=4096;function N(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(127&t[i]);return n}function L(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function D(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Q(t[o]);return i}function M(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function k(t,r,e){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}function j(t,r,e,n,i,o){if(!_(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}function $(t,r,e,n){r<0&&(r=65535+r+1);for(var i=0,o=Math.min(t.length-e,2);i<o;++i)t[e+i]=(r&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function J(t,r,e,n){r<0&&(r=4294967295+r+1);for(var i=0,o=Math.min(t.length-e,4);i<o;++i)t[e+i]=r>>>8*(n?i:3-i)&255}function V(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function F(t,r,e,n,i){return i||V(t,0,e,4),h(t,r,e,n,23,4),e+4}function z(t,r,e,n,i){return i||V(t,0,e,8),h(t,r,e,n,52,8),e+8}g.prototype.slice=function(t,r){var e,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(r=void 0===r?n:~~r)<0?(r+=n)<0&&(r=0):r>n&&(r=n),r<t&&(r=t),g.TYPED_ARRAY_SUPPORT)(e=this.subarray(t,r)).__proto__=g.prototype;else{var i=r-t;e=new g(i,void 0);for(var o=0;o<i;++o)e[o]=this[o+t]}return e},g.prototype.readUIntLE=function(t,r,e){t|=0,r|=0,e||k(t,r,this.length);for(var n=this[t],i=1,o=0;++o<r&&(i*=256);)n+=this[t+o]*i;return n},g.prototype.readUIntBE=function(t,r,e){t|=0,r|=0,e||k(t,r,this.length);for(var n=this[t+--r],i=1;r>0&&(i*=256);)n+=this[t+--r]*i;return n},g.prototype.readUInt8=function(t,r){return r||k(t,1,this.length),this[t]},g.prototype.readUInt16LE=function(t,r){return r||k(t,2,this.length),this[t]|this[t+1]<<8},g.prototype.readUInt16BE=function(t,r){return r||k(t,2,this.length),this[t]<<8|this[t+1]},g.prototype.readUInt32LE=function(t,r){return r||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},g.prototype.readUInt32BE=function(t,r){return r||k(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},g.prototype.readIntLE=function(t,r,e){t|=0,r|=0,e||k(t,r,this.length);for(var n=this[t],i=1,o=0;++o<r&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*r)),n},g.prototype.readIntBE=function(t,r,e){t|=0,r|=0,e||k(t,r,this.length);for(var n=r,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*r)),o},g.prototype.readInt8=function(t,r){return r||k(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},g.prototype.readInt16LE=function(t,r){r||k(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},g.prototype.readInt16BE=function(t,r){r||k(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},g.prototype.readInt32LE=function(t,r){return r||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},g.prototype.readInt32BE=function(t,r){return r||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},g.prototype.readFloatLE=function(t,r){return r||k(t,4,this.length),a(this,t,!0,23,4)},g.prototype.readFloatBE=function(t,r){return r||k(t,4,this.length),a(this,t,!1,23,4)},g.prototype.readDoubleLE=function(t,r){return r||k(t,8,this.length),a(this,t,!0,52,8)},g.prototype.readDoubleBE=function(t,r){return r||k(t,8,this.length),a(this,t,!1,52,8)},g.prototype.writeUIntLE=function(t,r,e,n){(t=+t,r|=0,e|=0,n)||j(this,t,r,e,Math.pow(2,8*e)-1,0);var i=1,o=0;for(this[r]=255&t;++o<e&&(i*=256);)this[r+o]=t/i&255;return r+e},g.prototype.writeUIntBE=function(t,r,e,n){(t=+t,r|=0,e|=0,n)||j(this,t,r,e,Math.pow(2,8*e)-1,0);var i=e-1,o=1;for(this[r+i]=255&t;--i>=0&&(o*=256);)this[r+i]=t/o&255;return r+e},g.prototype.writeUInt8=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,1,255,0),g.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},g.prototype.writeUInt16LE=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,2,65535,0),g.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):$(this,t,r,!0),r+2},g.prototype.writeUInt16BE=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,2,65535,0),g.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):$(this,t,r,!1),r+2},g.prototype.writeUInt32LE=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,4,4294967295,0),g.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):J(this,t,r,!0),r+4},g.prototype.writeUInt32BE=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,4,4294967295,0),g.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):J(this,t,r,!1),r+4},g.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r|=0,!n){var i=Math.pow(2,8*e-1);j(this,t,r,e,i-1,-i)}var o=0,s=1,u=0;for(this[r]=255&t;++o<e&&(s*=256);)t<0&&0===u&&0!==this[r+o-1]&&(u=1),this[r+o]=(t/s|0)-u&255;return r+e},g.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r|=0,!n){var i=Math.pow(2,8*e-1);j(this,t,r,e,i-1,-i)}var o=e-1,s=1,u=0;for(this[r+o]=255&t;--o>=0&&(s*=256);)t<0&&0===u&&0!==this[r+o+1]&&(u=1),this[r+o]=(t/s|0)-u&255;return r+e},g.prototype.writeInt8=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,1,127,-128),g.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=255&t,r+1},g.prototype.writeInt16LE=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,2,32767,-32768),g.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):$(this,t,r,!0),r+2},g.prototype.writeInt16BE=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,2,32767,-32768),g.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):$(this,t,r,!1),r+2},g.prototype.writeInt32LE=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,4,2147483647,-2147483648),g.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):J(this,t,r,!0),r+4},g.prototype.writeInt32BE=function(t,r,e){return t=+t,r|=0,e||j(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),g.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):J(this,t,r,!1),r+4},g.prototype.writeFloatLE=function(t,r,e){return F(this,t,r,!0,e)},g.prototype.writeFloatBE=function(t,r,e){return F(this,t,r,!1,e)},g.prototype.writeDoubleLE=function(t,r,e){return z(this,t,r,!0,e)},g.prototype.writeDoubleBE=function(t,r,e){return z(this,t,r,!1,e)},g.prototype.copy=function(t,r,e,n){if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n<e&&(n=e),n===e)return 0;if(0===t.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(e<0||e>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-e&&(n=t.length-r+e);var i,o=n-e;if(this===t&&e<r&&r<n)for(i=o-1;i>=0;--i)t[i+r]=this[i+e];else if(o<1e3||!g.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+r]=this[i+e];else Uint8Array.prototype.set.call(t,this.subarray(e,e+o),r);return o},g.prototype.fill=function(t,r,e,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,e=this.length):"string"==typeof e&&(n=e,e=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!g.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<e)throw new RangeError("Out of range index");if(e<=r)return this;var o;if(r>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0),"number"==typeof t)for(o=r;o<e;++o)this[o]=t;else{var s=_(t)?t:G(new g(t,n).toString()),u=s.length;for(o=0;o<e-r;++o)this[o+r]=s[o%u]}return this};var Z=/[^+\/0-9A-Za-z-_]/g;function Q(t){return t<16?"0"+t.toString(16):t.toString(16)}function G(t,r){var e;r=r||1/0;for(var n=t.length,i=null,o=[],s=0;s<n;++s){if((e=t.charCodeAt(s))>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return o}function H(t){return function(t){var r,s,u,f,a,h;i||o();var c=t.length;if(c%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===t[c-2]?2:"="===t[c-1]?1:0,h=new n(3*c/4-a),u=a>0?c-4:c;var l=0;for(r=0,s=0;r<u;r+=4,s+=3)f=e[t.charCodeAt(r)]<<18|e[t.charCodeAt(r+1)]<<12|e[t.charCodeAt(r+2)]<<6|e[t.charCodeAt(r+3)],h[l++]=f>>16&255,h[l++]=f>>8&255,h[l++]=255&f;return 2===a?(f=e[t.charCodeAt(r)]<<2|e[t.charCodeAt(r+1)]>>4,h[l++]=255&f):1===a&&(f=e[t.charCodeAt(r)]<<10|e[t.charCodeAt(r+1)]<<4|e[t.charCodeAt(r+2)]>>2,h[l++]=f>>8&255,h[l++]=255&f),h}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Z,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function K(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function W(t){return null!=t&&(!!t._isBuffer||X(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&X(t.slice(0,0))}(t))}function X(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}const tt=".".charCodeAt(0),rt=/\\(\\)?/g,et=RegExp("[^.[\\]]+|\\[(?:([^\"'][^[]*)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))","g"),nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,ot=function(t){const r=typeof t;return"symbol"===r||"object"===r&&t&&"[object Symbol]"===function(t){return Object.prototype.toString.call(t)}(t)},st=function(t,r){return Array.isArray(t)?t:function(t,r){if(Array.isArray(t))return!1;const e=typeof t;return!("number"!==e&&"symbol"!==e&&"boolean"!==e&&t&&!ot(t))||it.test(t)||!nt.test(t)||null!=r&&t in Object(r)}(t,r)?[t]:function(t){const r=[];return t.charCodeAt(0)===tt&&r.push(""),t.replace(et,function(t,e,n,i){let o=t;n?o=i.replace(rt,"$1"):e&&(o=e.trim()),r.push(o)}),r}(t)},ut=function(t){if("string"==typeof t||ot(t))return t;const r=`${t}`;return"0"==r&&1/t==-INFINITY?"-0":r},ft=function(t,r){let e=0;const n=(r=st(r,t)).length;for(;null!=t&&e<n;)t=t[ut(r[e++])];return e&&e===n?t:void 0},at=function(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)},ht=function(t){if(null==t)return[void 0,void 0];if("object"!=typeof t)return[Error('Invalid option "columns": expect an array or an object')];if(Array.isArray(t)){const r=[];for(const e of t)if("string"==typeof e)r.push({key:e,header:e});else{if("object"!=typeof e||null===e||Array.isArray(e))return[Error("Invalid column definition: expect a string or an object")];if(!e.key)return[Error('Invalid column definition: property "key" is required')];void 0===e.header&&(e.header=e.key),r.push(e)}t=r}else{const r=[];for(const e in t)r.push({key:e,header:t[e]});t=r}return[void 0,t]};class ct extends Error{constructor(t,r,...e){Array.isArray(r)&&(r=r.join(" ")),super(r),void 0!==Error.captureStackTrace&&Error.captureStackTrace(this,ct),this.code=t;for(const t of e)for(const r in t){const e=t[r];this[r]=W(e)?e.toString():null==e?e:JSON.parse(JSON.stringify(e))}}}const lt=function(t){return t.replace(/([A-Z])/g,function(t,r){return"_"+r.toLowerCase()})},pt=function(t){const r={};for(const e in t)r[lt(e)]=t[e];if(void 0===r.bom||null===r.bom||!1===r.bom)r.bom=!1;else if(!0!==r.bom)return[new ct("CSV_OPTION_BOOLEAN_INVALID_TYPE",["option `bom` is optional and must be a boolean value,",`got ${JSON.stringify(r.bom)}`])];if(void 0===r.delimiter||null===r.delimiter)r.delimiter=",";else if(W(r.delimiter))r.delimiter=r.delimiter.toString();else if("string"!=typeof r.delimiter)return[new ct("CSV_OPTION_DELIMITER_INVALID_TYPE",["option `delimiter` must be a buffer or a string,",`got ${JSON.stringify(r.delimiter)}`])];if(void 0===r.quote||null===r.quote)r.quote='"';else if(!0===r.quote)r.quote='"';else if(!1===r.quote)r.quote="";else if(W(r.quote))r.quote=r.quote.toString();else if("string"!=typeof r.quote)return[new ct("CSV_OPTION_QUOTE_INVALID_TYPE",["option `quote` must be a boolean, a buffer or a string,",`got ${JSON.stringify(r.quote)}`])];if(void 0!==r.quoted&&null!==r.quoted||(r.quoted=!1),void 0===r.escape_formulas||null===r.escape_formulas)r.escape_formulas=!1;else if("boolean"!=typeof r.escape_formulas)return[new ct("CSV_OPTION_ESCAPE_FORMULAS_INVALID_TYPE",["option `escape_formulas` must be a boolean,",`got ${JSON.stringify(r.escape_formulas)}`])];if(void 0!==r.quoted_empty&&null!==r.quoted_empty||(r.quoted_empty=void 0),void 0===r.quoted_match||null===r.quoted_match||!1===r.quoted_match?r.quoted_match=null:Array.isArray(r.quoted_match)||(r.quoted_match=[r.quoted_match]),r.quoted_match)for(const t of r.quoted_match){const r=t instanceof RegExp;if(!("string"==typeof t)&&!r)return[Error(`Invalid Option: quoted_match must be a string or a regex, got ${JSON.stringify(t)}`)]}if(void 0!==r.quoted_string&&null!==r.quoted_string||(r.quoted_string=!1),void 0!==r.eof&&null!==r.eof||(r.eof=!0),void 0===r.escape||null===r.escape)r.escape='"';else if(W(r.escape))r.escape=r.escape.toString();else if("string"!=typeof r.escape)return[Error(`Invalid Option: escape must be a buffer or a string, got ${JSON.stringify(r.escape)}`)];if(r.escape.length>1)return[Error(`Invalid Option: escape must be one character, got ${r.escape.length} characters`)];void 0!==r.header&&null!==r.header||(r.header=!1);const[e,n]=ht(r.columns);if(void 0!==e)return[e];if(r.columns=n,void 0!==r.quoted&&null!==r.quoted||(r.quoted=!1),void 0!==r.cast&&null!==r.cast||(r.cast={}),void 0!==r.cast.bigint&&null!==r.cast.bigint||(r.cast.bigint=t=>""+t),void 0!==r.cast.boolean&&null!==r.cast.boolean||(r.cast.boolean=t=>t?"1":""),void 0!==r.cast.date&&null!==r.cast.date||(r.cast.date=t=>""+t.getTime()),void 0!==r.cast.number&&null!==r.cast.number||(r.cast.number=t=>""+t),void 0!==r.cast.object&&null!==r.cast.object||(r.cast.object=t=>JSON.stringify(t)),void 0!==r.cast.string&&null!==r.cast.string||(r.cast.string=function(t){return t}),void 0!==r.on_record&&"function"!=typeof r.on_record)return[Error('Invalid Option: "on_record" must be a function.')];if(void 0===r.record_delimiter||null===r.record_delimiter)r.record_delimiter="\n";else if(W(r.record_delimiter))r.record_delimiter=r.record_delimiter.toString();else if("string"!=typeof r.record_delimiter)return[Error(`Invalid Option: record_delimiter must be a buffer or a string, got ${JSON.stringify(r.record_delimiter)}`)];switch(r.record_delimiter){case"unix":r.record_delimiter="\n";break;case"mac":r.record_delimiter="\r";break;case"windows":r.record_delimiter="\r\n";break;case"ascii":r.record_delimiter="";break;case"unicode":r.record_delimiter="\u2028"}return[void 0,r]},dt=g.from([239,187,191]),gt=function(t,r={}){const e=[],[n,i]=pt(r);if(void 0!==n)throw n;const o=function(t,r,e){return{options:t,state:r,info:e,__transform:function(t,r){if(!Array.isArray(t)&&"object"!=typeof t)return Error(`Invalid Record: expect an array or an object, got ${JSON.stringify(t)}`);if(0===this.info.records)if(Array.isArray(t)){if(!0===this.options.header&&void 0===this.options.columns)return Error("Undiscoverable Columns: header option requires column option or object records")}else if(void 0===this.options.columns){const[r,e]=ht(Object.keys(t));if(r)return;this.options.columns=e}if(0===this.info.records){this.bom(r);const t=this.headers(r);if(t)return t}try{this.options.on_record&&this.options.on_record(t,this.info.records)}catch(e){return e}let e,n;if(this.options.eof){if([e,n]=this.stringify(t),e)return e;if(void 0===n)return;n+=this.options.record_delimiter}else{if([e,n]=this.stringify(t),e)return e;if(void 0===n)return;(this.options.header||this.info.records)&&(n=this.options.record_delimiter+n)}this.info.records++,r(n)},stringify:function(t,r=!1){if("object"!=typeof t)return[void 0,t];const{columns:e}=this.options,n=[];if(Array.isArray(t)){e&&t.splice(e.length);for(let e=0;e<t.length;e++){const i=t[e],[o,s]=this.__cast(i,{index:e,column:e,records:this.info.records,header:r});if(o)return[o];n[e]=[s,i]}}else for(let i=0;i<e.length;i++){const o=ft(t,e[i].key),[s,u]=this.__cast(o,{index:i,column:e[i].key,records:this.info.records,header:r});if(s)return[s];n[i]=[u,o]}let i="";for(let t=0;t<n.length;t++){let r,e,[o,s]=n[t];if("string"==typeof o)r=this.options;else if(at(o)){if(r=o,o=r.value,delete r.value,"string"!=typeof o&&null!=o&&e)return[Error(`Invalid Casting Value: returned value must return a string, null or undefined, got ${JSON.stringify(o)}`)];if(r={...this.options,...r},[e,r]=pt(r),void 0!==e)return[e]}else{if(null!=o)return[Error(`Invalid Casting Value: returned value must return a string, an object, null or undefined, got ${JSON.stringify(o)}`)];r=this.options}const{delimiter:u,escape:f,quote:a,quoted:h,quoted_empty:c,quoted_string:l,quoted_match:p,record_delimiter:d,escape_formulas:g}=r;if(""===o&&""===s){let t=p&&p.filter(t=>"string"==typeof t?-1!==o.indexOf(t):t.test(o));t=t&&t.length>0,!0===(t||!0===c||!0===l&&!1!==c)&&(o=a+o+a),i+=o}else if(o){if("string"!=typeof o)return[Error(`Formatter must return a string, null or undefined, got ${JSON.stringify(o)}`)];const t=u.length&&o.indexOf(u)>=0,r=""!==a&&o.indexOf(a)>=0,e=o.indexOf(f)>=0&&f!==a,n=o.indexOf(d)>=0,c=l&&"string"==typeof s;let y=p&&p.filter(t=>"string"==typeof t?-1!==o.indexOf(t):t.test(o));if(y=y&&y.length>0,g)switch(o[0]){case"=":case"+":case"-":case"@":case"\t":case"\r":case"=":case"+":case"-":case"@":o=`'${o}`}const m=!0===r||t||n||h||c||y;if(!0===m&&!0===e){const t="\\"===f?new RegExp(f+f,"g"):new RegExp(f,"g");o=o.replace(t,f+f)}if(!0===r){const t=new RegExp(a,"g");o=o.replace(t,f+a)}!0===m&&(o=a+o+a),i+=o}else(!0===c||""===s&&!0===l&&!1!==c)&&(i+=a+a);t!==n.length-1&&(i+=u)}return[void 0,i]},bom:function(t){!0===this.options.bom&&t(dt)},headers:function(t){if(!1===this.options.header)return;if(void 0===this.options.columns)return;let r,e=this.options.columns.map(t=>t.header);if(this.options.eof?([r,e]=this.stringify(e,!0),e+=this.options.record_delimiter):[r,e]=this.stringify(e),r)return r;t(e)},__cast:function(t,r){const e=typeof t;try{return"string"===e?[void 0,this.options.cast.string(t,r)]:"bigint"===e?[void 0,this.options.cast.bigint(t,r)]:"number"===e?[void 0,this.options.cast.number(t,r)]:"boolean"===e?[void 0,this.options.cast.boolean(t,r)]:t instanceof Date?[void 0,this.options.cast.date(t,r)]:"object"===e&&null!==t?[void 0,this.options.cast.object(t,r)]:[void 0,t,t]}catch(t){return[t]}}}}(i,{stop:!1},{records:0});for(const r of t){const t=o.__transform(r,function(t){e.push(t)});if(void 0!==t)throw t}if(0===e.length){o.bom(t=>{e.push(t)});const t=o.headers(t=>{e.push(t)});if(void 0!==t)throw t}return e.join("")};export{gt as stringify};
|