@wzh-/ai-chat-example 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/ChatConversation/ChatConversation.vue.d.ts +7 -0
- package/dist/components/ChatConversation/index.d.ts +1 -0
- package/dist/components/ChatPromptInputProvider/ChatPromptInputProvider.vue.d.ts +17 -0
- package/dist/components/ChatPromptInputProvider/index.d.ts +1 -0
- package/dist/components/ai-elements/artifact/Artifact.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactAction.vue.d.ts +32 -0
- package/dist/components/ai-elements/artifact/ArtifactActions.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactClose.vue.d.ts +27 -0
- package/dist/components/ai-elements/artifact/ArtifactContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactDescription.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactTitle.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/index.d.ts +8 -0
- package/dist/components/ai-elements/canvas/index.d.ts +1 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThought.vue.d.ts +30 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtImage.vue.d.ts +22 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue.d.ts +21 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue.d.ts +21 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtStep.vue.d.ts +28 -0
- package/dist/components/ai-elements/chain-of-thought/context.d.ts +6 -0
- package/dist/components/ai-elements/chain-of-thought/index.d.ts +7 -0
- package/dist/components/ai-elements/checkpoint/Checkpoint.vue.d.ts +21 -0
- package/dist/components/ai-elements/checkpoint/CheckpointIcon.vue.d.ts +21 -0
- package/dist/components/ai-elements/checkpoint/CheckpointTrigger.vue.d.ts +27 -0
- package/dist/components/ai-elements/checkpoint/index.d.ts +3 -0
- package/dist/components/ai-elements/code-block/CodeBlock.vue.d.ts +27 -0
- package/dist/components/ai-elements/code-block/CodeBlockCopyButton.vue.d.ts +30 -0
- package/dist/components/ai-elements/code-block/context.d.ts +5 -0
- package/dist/components/ai-elements/code-block/index.d.ts +2 -0
- package/dist/components/ai-elements/code-block/utils.d.ts +2 -0
- package/dist/components/ai-elements/confirmation/Confirmation.vue.d.ts +25 -0
- package/dist/components/ai-elements/confirmation/ConfirmationAccepted.vue.d.ts +17 -0
- package/dist/components/ai-elements/confirmation/ConfirmationAction.vue.d.ts +17 -0
- package/dist/components/ai-elements/confirmation/ConfirmationActions.vue.d.ts +21 -0
- package/dist/components/ai-elements/confirmation/ConfirmationRejected.vue.d.ts +17 -0
- package/dist/components/ai-elements/confirmation/ConfirmationRequest.vue.d.ts +17 -0
- package/dist/components/ai-elements/confirmation/ConfirmationTitle.vue.d.ts +21 -0
- package/dist/components/ai-elements/confirmation/context.d.ts +29 -0
- package/dist/components/ai-elements/confirmation/index.d.ts +7 -0
- package/dist/components/ai-elements/connection/Connection.vue.d.ts +3 -0
- package/dist/components/ai-elements/connection/index.d.ts +1 -0
- package/dist/components/ai-elements/context/Context.vue.d.ts +25 -0
- package/dist/components/ai-elements/context/ContextCacheUsage.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextContentBody.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextContentFooter.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextContentHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextIcon.vue.d.ts +2 -0
- package/dist/components/ai-elements/context/ContextInputUsage.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextOutputUsage.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextReasoningUsage.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextTrigger.vue.d.ts +17 -0
- package/dist/components/ai-elements/context/TokensWithCost.vue.d.ts +6 -0
- package/dist/components/ai-elements/context/context.d.ts +11 -0
- package/dist/components/ai-elements/context/index.d.ts +12 -0
- package/dist/components/ai-elements/controls/Controls.vue.d.ts +6 -0
- package/dist/components/ai-elements/controls/index.d.ts +1 -0
- package/dist/components/ai-elements/conversation/Conversation.vue.d.ts +47 -0
- package/dist/components/ai-elements/conversation/ConversationContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/conversation/ConversationEmptyState.vue.d.ts +27 -0
- package/dist/components/ai-elements/conversation/ConversationScrollButton.vue.d.ts +6 -0
- package/dist/components/ai-elements/conversation/index.d.ts +4 -0
- package/dist/components/ai-elements/edge/Animated.vue.d.ts +4 -0
- package/dist/components/ai-elements/edge/Temporary.vue.d.ts +4 -0
- package/dist/components/ai-elements/edge/index.d.ts +2 -0
- package/dist/components/ai-elements/image/Image.vue.d.ts +8 -0
- package/dist/components/ai-elements/image/index.d.ts +1 -0
- package/dist/components/ai-elements/inline-citation/InlineCitation.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCard.vue.d.ts +24 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCardBody.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCardTrigger.vue.d.ts +7 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarousel.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselContent.vue.d.ts +17 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselIndex.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselItem.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselNext.vue.d.ts +6 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselPrev.vue.d.ts +6 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationQuote.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationSource.vue.d.ts +24 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationText.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/index.d.ts +14 -0
- package/dist/components/ai-elements/loader/Loader.vue.d.ts +9 -0
- package/dist/components/ai-elements/loader/LoaderIcon.vue.d.ts +7 -0
- package/dist/components/ai-elements/loader/index.d.ts +2 -0
- package/dist/components/ai-elements/message/Message.vue.d.ts +23 -0
- package/dist/components/ai-elements/message/MessageAction.vue.d.ts +28 -0
- package/dist/components/ai-elements/message/MessageActions.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/MessageAttachment.vue.d.ts +12 -0
- package/dist/components/ai-elements/message/MessageAttachments.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/MessageAvatar.vue.d.ts +8 -0
- package/dist/components/ai-elements/message/MessageBranch.vue.d.ts +28 -0
- package/dist/components/ai-elements/message/MessageBranchContent.vue.d.ts +6 -0
- package/dist/components/ai-elements/message/MessageBranchNext.vue.d.ts +17 -0
- package/dist/components/ai-elements/message/MessageBranchPage.vue.d.ts +6 -0
- package/dist/components/ai-elements/message/MessageBranchPrevious.vue.d.ts +17 -0
- package/dist/components/ai-elements/message/MessageBranchSelector.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/MessageContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/MessageResponse.vue.d.ts +7 -0
- package/dist/components/ai-elements/message/MessageToolbar.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/context.d.ts +11 -0
- package/dist/components/ai-elements/message/index.d.ts +15 -0
- package/dist/components/ai-elements/model-selector/ModelSelector.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorContent.vue.d.ts +24 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorDialog.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorEmpty.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorGroup.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorInput.vue.d.ts +6 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorItem.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorList.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorLogo.vue.d.ts +7 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorLogoGroup.vue.d.ts +21 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorName.vue.d.ts +21 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorSeparator.vue.d.ts +2 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorShortcut.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorTrigger.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/index.d.ts +14 -0
- package/dist/components/ai-elements/node/Node.vue.d.ts +26 -0
- package/dist/components/ai-elements/node/NodeAction.vue.d.ts +17 -0
- package/dist/components/ai-elements/node/NodeContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/node/NodeDescription.vue.d.ts +17 -0
- package/dist/components/ai-elements/node/NodeFooter.vue.d.ts +21 -0
- package/dist/components/ai-elements/node/NodeHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/node/NodeTitle.vue.d.ts +17 -0
- package/dist/components/ai-elements/node/index.d.ts +7 -0
- package/dist/components/ai-elements/open-in-chat/OpenIn.vue.d.ts +20 -0
- package/dist/components/ai-elements/open-in-chat/OpenInContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/open-in-chat/OpenInItemLink.vue.d.ts +8 -0
- package/dist/components/ai-elements/open-in-chat/OpenInTrigger.vue.d.ts +17 -0
- package/dist/components/ai-elements/open-in-chat/context.d.ts +7 -0
- package/dist/components/ai-elements/open-in-chat/index.d.ts +9 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/ChatGPT.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/Claude.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/Cursor.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/Github.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/Scira.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/V0.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/index.d.ts +6 -0
- package/dist/components/ai-elements/open-in-chat/providers/index.d.ts +38 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInClaude.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInCursor.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInScira.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInT3.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInv0.vue.d.ts +2 -0
- package/dist/components/ai-elements/panel/Panel.vue.d.ts +25 -0
- package/dist/components/ai-elements/panel/index.d.ts +1 -0
- package/dist/components/ai-elements/plan/Plan.vue.d.ts +24 -0
- package/dist/components/ai-elements/plan/PlanAction.vue.d.ts +17 -0
- package/dist/components/ai-elements/plan/PlanContent.vue.d.ts +17 -0
- package/dist/components/ai-elements/plan/PlanDescription.vue.d.ts +22 -0
- package/dist/components/ai-elements/plan/PlanFooter.vue.d.ts +17 -0
- package/dist/components/ai-elements/plan/PlanHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/plan/PlanTitle.vue.d.ts +18 -0
- package/dist/components/ai-elements/plan/PlanTrigger.vue.d.ts +6 -0
- package/dist/components/ai-elements/plan/context.d.ts +7 -0
- package/dist/components/ai-elements/plan/index.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInput.vue.d.ts +46 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionAddAttachments.vue.d.ts +7 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionMenu.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionMenuContent.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionMenuItem.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputAttachment.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputAttachments.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputBody.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputButton.vue.d.ts +20 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommand.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandEmpty.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandGroup.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandInput.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandItem.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandList.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandSeparator.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputFooter.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputHeader.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputHoverCard.vue.d.ts +26 -0
- package/dist/components/ai-elements/prompt-input/PromptInputHoverCardContent.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputProvider.vue.d.ts +43 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelect.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelectContent.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelectItem.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelectTrigger.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelectValue.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSpeechButton.vue.d.ts +51 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSubmit.vue.d.ts +30 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTab.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTabBody.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTabItem.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTabLabel.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTabsList.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTextarea.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTools.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/context.d.ts +22 -0
- package/dist/components/ai-elements/prompt-input/index.d.ts +39 -0
- package/dist/components/ai-elements/prompt-input/types.d.ts +24 -0
- package/dist/components/ai-elements/queue/Queue.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItem.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemAction.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemActions.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemAttachment.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemContent.vue.d.ts +24 -0
- package/dist/components/ai-elements/queue/QueueItemDescription.vue.d.ts +24 -0
- package/dist/components/ai-elements/queue/QueueItemFile.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemImage.vue.d.ts +6 -0
- package/dist/components/ai-elements/queue/QueueItemIndicator.vue.d.ts +9 -0
- package/dist/components/ai-elements/queue/QueueList.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueSection.vue.d.ts +24 -0
- package/dist/components/ai-elements/queue/QueueSectionContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueSectionLabel.vue.d.ts +23 -0
- package/dist/components/ai-elements/queue/QueueSectionTrigger.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/index.d.ts +15 -0
- package/dist/components/ai-elements/reasoning/Reasoning.vue.d.ts +35 -0
- package/dist/components/ai-elements/reasoning/ReasoningContent.vue.d.ts +7 -0
- package/dist/components/ai-elements/reasoning/ReasoningTrigger.vue.d.ts +21 -0
- package/dist/components/ai-elements/reasoning/context.d.ts +9 -0
- package/dist/components/ai-elements/reasoning/index.d.ts +3 -0
- package/dist/components/ai-elements/shimmer/Shimmer.vue.d.ts +28 -0
- package/dist/components/ai-elements/shimmer/index.d.ts +1 -0
- package/dist/components/ai-elements/sources/Source.vue.d.ts +23 -0
- package/dist/components/ai-elements/sources/Sources.vue.d.ts +21 -0
- package/dist/components/ai-elements/sources/SourcesContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/sources/SourcesTrigger.vue.d.ts +22 -0
- package/dist/components/ai-elements/sources/index.d.ts +4 -0
- package/dist/components/ai-elements/suggestion/Suggestion.vue.d.ts +31 -0
- package/dist/components/ai-elements/suggestion/Suggestions.vue.d.ts +21 -0
- package/dist/components/ai-elements/suggestion/index.d.ts +2 -0
- package/dist/components/ai-elements/task/Task.vue.d.ts +28 -0
- package/dist/components/ai-elements/task/TaskContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/task/TaskItem.vue.d.ts +21 -0
- package/dist/components/ai-elements/task/TaskItemFile.vue.d.ts +21 -0
- package/dist/components/ai-elements/task/TaskTrigger.vue.d.ts +22 -0
- package/dist/components/ai-elements/task/index.d.ts +5 -0
- package/dist/components/ai-elements/tool/Tool.vue.d.ts +21 -0
- package/dist/components/ai-elements/tool/ToolContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/tool/ToolHeader.vue.d.ts +10 -0
- package/dist/components/ai-elements/tool/ToolInput.vue.d.ts +8 -0
- package/dist/components/ai-elements/tool/ToolOutput.vue.d.ts +9 -0
- package/dist/components/ai-elements/tool/ToolStatusBadge.vue.d.ts +6 -0
- package/dist/components/ai-elements/tool/index.d.ts +5 -0
- package/dist/components/ai-elements/toolbar/Toolbar.vue.d.ts +25 -0
- package/dist/components/ai-elements/toolbar/index.d.ts +1 -0
- package/dist/components/ai-elements/web-preview/WebPreview.vue.d.ts +34 -0
- package/dist/components/ai-elements/web-preview/WebPreviewBody.vue.d.ts +24 -0
- package/dist/components/ai-elements/web-preview/WebPreviewConsole.vue.d.ts +30 -0
- package/dist/components/ai-elements/web-preview/WebPreviewNavigation.vue.d.ts +21 -0
- package/dist/components/ai-elements/web-preview/WebPreviewNavigationButton.vue.d.ts +30 -0
- package/dist/components/ai-elements/web-preview/WebPreviewUrl.vue.d.ts +9 -0
- package/dist/components/ai-elements/web-preview/context.d.ts +9 -0
- package/dist/components/ai-elements/web-preview/index.d.ts +7 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +23 -0
- package/dist/components/ui/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/components/ui/alert/index.d.ts +8 -0
- package/dist/components/ui/avatar/Avatar.vue.d.ts +21 -0
- package/dist/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
- package/dist/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
- package/dist/components/ui/avatar/index.d.ts +3 -0
- package/dist/components/ui/badge/Badge.vue.d.ts +24 -0
- package/dist/components/ui/badge/index.d.ts +6 -0
- package/dist/components/ui/button/Button.vue.d.ts +27 -0
- package/dist/components/ui/button/index.d.ts +7 -0
- package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
- package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
- package/dist/components/ui/button-group/index.d.ts +8 -0
- package/dist/components/ui/card/Card.vue.d.ts +21 -0
- package/dist/components/ui/card/CardAction.vue.d.ts +21 -0
- package/dist/components/ui/card/CardContent.vue.d.ts +21 -0
- package/dist/components/ui/card/CardDescription.vue.d.ts +21 -0
- package/dist/components/ui/card/CardFooter.vue.d.ts +21 -0
- package/dist/components/ui/card/CardHeader.vue.d.ts +21 -0
- package/dist/components/ui/card/CardTitle.vue.d.ts +21 -0
- package/dist/components/ui/card/index.d.ts +7 -0
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +22 -0
- package/dist/components/ui/carousel/CarouselItem.vue.d.ts +18 -0
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
- package/dist/components/ui/carousel/index.d.ts +7 -0
- package/dist/components/ui/carousel/interface.d.ts +19 -0
- package/dist/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
- package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/components/ui/collapsible/index.d.ts +3 -0
- package/dist/components/ui/command/Command.vue.d.ts +40 -0
- package/dist/components/ui/command/CommandDialog.vue.d.ts +32 -0
- package/dist/components/ui/command/CommandEmpty.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandGroup.vue.d.ts +23 -0
- package/dist/components/ui/command/CommandInput.vue.d.ts +7 -0
- package/dist/components/ui/command/CommandItem.vue.d.ts +30 -0
- package/dist/components/ui/command/CommandList.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandSeparator.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandShortcut.vue.d.ts +21 -0
- package/dist/components/ui/command/index.d.ts +90 -0
- package/dist/components/ui/dialog/Dialog.vue.d.ts +25 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +39 -0
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
- package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dialog/index.d.ts +10 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/components/ui/hover-card/HoverCard.vue.d.ts +24 -0
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +24 -0
- package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +18 -0
- package/dist/components/ui/hover-card/index.d.ts +3 -0
- package/dist/components/ui/input/Input.vue.d.ts +12 -0
- package/dist/components/ui/input/index.d.ts +1 -0
- package/dist/components/ui/input-group/InputGroup.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupAddon.vue.d.ts +25 -0
- package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupInput.vue.d.ts +6 -0
- package/dist/components/ui/input-group/InputGroupText.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupTextarea.vue.d.ts +6 -0
- package/dist/components/ui/input-group/index.d.ts +22 -0
- package/dist/components/ui/progress/Progress.vue.d.ts +9 -0
- package/dist/components/ui/progress/index.d.ts +1 -0
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/components/ui/select/Select.vue.d.ts +28 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +23 -0
- package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/components/ui/separator/index.d.ts +1 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/components/ui/textarea/index.d.ts +1 -0
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
- package/dist/components/ui/tooltip/index.d.ts +4 -0
- package/dist/composables/useChat.d.ts +8 -0
- package/dist/css/style.css +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/js/_basePickBy.js +135 -0
- package/dist/js/_baseUniq.js +573 -0
- package/dist/js/angular-html.js +14 -0
- package/dist/js/angular-html2.js +5 -0
- package/dist/js/angular-ts.js +19 -0
- package/dist/js/apl.js +15 -0
- package/dist/js/arc.js +78 -0
- package/dist/js/architecture-U656AL7Q.js +8 -0
- package/dist/js/architectureDiagram-VXUJARFQ.js +4053 -0
- package/dist/js/astro.js +16 -0
- package/dist/js/bash.js +2 -0
- package/dist/js/blade.js +19 -0
- package/dist/js/blockDiagram-VD42YOAC.js +3013 -0
- package/dist/js/bsl.js +3 -0
- package/dist/js/c.js +2 -0
- package/dist/js/c4Diagram-YG6GDRKO.js +2955 -0
- package/dist/js/cairo.js +3 -0
- package/dist/js/channel.js +3 -0
- package/dist/js/chunk-4BX2VUAB.js +6 -0
- package/dist/js/chunk-55IACEB6.js +6 -0
- package/dist/js/chunk-76Q3JFCE.js +19 -0
- package/dist/js/chunk-ABZYJK2D.js +2515 -0
- package/dist/js/chunk-ATLVNIR6.js +65 -0
- package/dist/js/chunk-B4BG7PRW.js +3108 -0
- package/dist/js/chunk-CVBHYZKI.js +10 -0
- package/dist/js/chunk-DI55MBZ5.js +1994 -0
- package/dist/js/chunk-EXTU4WIE.js +7 -0
- package/dist/js/chunk-FMBD7UC4.js +3 -0
- package/dist/js/chunk-FPAJGGOC.js +12252 -0
- package/dist/js/chunk-FWNWRKHM.js +56 -0
- package/dist/js/chunk-HN2XXSSU.js +74 -0
- package/dist/js/chunk-JA3XYJ7Z.js +463 -0
- package/dist/js/chunk-JZLCHNYA.js +4861 -0
- package/dist/js/chunk-LBM3YZW2.js +19 -0
- package/dist/js/chunk-LHMN2FUI.js +19 -0
- package/dist/js/chunk-MI3HLSF2.js +1140 -0
- package/dist/js/chunk-N4CR4FBY.js +39 -0
- package/dist/js/chunk-O7ZBX7Z2.js +26 -0
- package/dist/js/chunk-QN33PNHL.js +23 -0
- package/dist/js/chunk-QXUST7PY.js +486 -0
- package/dist/js/chunk-QZHKN3VN.js +11 -0
- package/dist/js/chunk-S3R3BYOJ.js +1074 -0
- package/dist/js/chunk-S6J4BHB3.js +19 -0
- package/dist/js/chunk-T53DSG4Q.js +24 -0
- package/dist/js/chunk-TZMSLE5B.js +55 -0
- package/dist/js/classDiagram-2ON5EDUG.js +33 -0
- package/dist/js/classDiagram-v2-WZHVMYZB.js +33 -0
- package/dist/js/clone.js +7 -0
- package/dist/js/cmake.js +2 -0
- package/dist/js/cobol.js +10 -0
- package/dist/js/coffee.js +3 -0
- package/dist/js/cose-bilkent-S5V4N54A.js +2250 -0
- package/dist/js/cpp.js +16 -0
- package/dist/js/cpp2.js +6 -0
- package/dist/js/crystal.js +16 -0
- package/dist/js/csharp.js +2 -0
- package/dist/js/css.js +2 -0
- package/dist/js/csv.js +2 -0
- package/dist/js/dagre-6UL2VRFP.js +298 -0
- package/dist/js/dagre.js +1395 -0
- package/dist/js/diagram-PSM6KHXK.js +497 -0
- package/dist/js/diagram-QEK2KX5R.js +226 -0
- package/dist/js/diagram-S2PKOQOG.js +144 -0
- package/dist/js/diff.js +2 -0
- package/dist/js/dist.js +49 -0
- package/dist/js/edge.js +12 -0
- package/dist/js/elixir.js +5 -0
- package/dist/js/elm.js +4 -0
- package/dist/js/erDiagram-Q2GNP2WA.js +1603 -0
- package/dist/js/erb.js +25 -0
- package/dist/js/erlang.js +3 -0
- package/dist/js/flowDiagram-NV44I4VS.js +4132 -0
- package/dist/js/fortran-fixed-form.js +3 -0
- package/dist/js/fortran-free-form.js +2 -0
- package/dist/js/fsharp.js +3 -0
- package/dist/js/ganttDiagram-JELNMOA3.js +3009 -0
- package/dist/js/gdresource.js +8 -0
- package/dist/js/gdscript.js +2 -0
- package/dist/js/gdshader.js +2 -0
- package/dist/js/git-commit.js +3 -0
- package/dist/js/git-rebase.js +3 -0
- package/dist/js/gitGraph-F6HP7TQM.js +8 -0
- package/dist/js/gitGraphDiagram-NY62KEGX.js +634 -0
- package/dist/js/github-dark.js +2 -0
- package/dist/js/github-light.js +2 -0
- package/dist/js/glimmer-js.js +12 -0
- package/dist/js/glimmer-ts.js +12 -0
- package/dist/js/glsl.js +3 -0
- package/dist/js/glsl2.js +3 -0
- package/dist/js/go.js +2 -0
- package/dist/js/graphlib.js +223 -0
- package/dist/js/graphql.js +6 -0
- package/dist/js/graphql2.js +12 -0
- package/dist/js/hack.js +10 -0
- package/dist/js/haml.js +4 -0
- package/dist/js/haml2.js +8 -0
- package/dist/js/handlebars.js +12 -0
- package/dist/js/haxe.js +2 -0
- package/dist/js/hlsl.js +2 -0
- package/dist/js/html-derivative.js +5 -0
- package/dist/js/html-derivative2.js +3 -0
- package/dist/js/html.js +4 -0
- package/dist/js/html2.js +8 -0
- package/dist/js/http.js +17 -0
- package/dist/js/hurl.js +15 -0
- package/dist/js/hxml.js +3 -0
- package/dist/js/index.js +37693 -0
- package/dist/js/info-NVLQJR56.js +8 -0
- package/dist/js/infoDiagram-WHAUD3N6.js +31 -0
- package/dist/js/isEmpty.js +32 -0
- package/dist/js/java.js +2 -0
- package/dist/js/javascript.js +2 -0
- package/dist/js/jinja.js +5 -0
- package/dist/js/jison.js +3 -0
- package/dist/js/journeyDiagram-XKPGCS4Q.js +884 -0
- package/dist/js/json.js +2 -0
- package/dist/js/jsx.js +2 -0
- package/dist/js/julia.js +17 -0
- package/dist/js/kanban-definition-3W4ZIXB7.js +971 -0
- package/dist/js/katex.js +2 -0
- package/dist/js/latex.js +4 -0
- package/dist/js/less.js +2 -0
- package/dist/js/line.js +30 -0
- package/dist/js/linear.js +250 -0
- package/dist/js/liquid.js +12 -0
- package/dist/js/lua.js +3 -0
- package/dist/js/lua2.js +3 -0
- package/dist/js/markdown.js +2 -0
- package/dist/js/marko.js +12 -0
- package/dist/js/mdc.js +13 -0
- package/dist/js/mermaid-parser.core.js +48 -0
- package/dist/js/mermaid.core.js +895 -0
- package/dist/js/mindmap-definition-VGOIOE7T.js +960 -0
- package/dist/js/nginx.js +4 -0
- package/dist/js/nim.js +19 -0
- package/dist/js/ordinal.js +61 -0
- package/dist/js/packet-BFZMPI3H.js +8 -0
- package/dist/js/perl.js +15 -0
- package/dist/js/php.js +9 -0
- package/dist/js/php2.js +16 -0
- package/dist/js/pie-7BOR55EZ.js +8 -0
- package/dist/js/pieDiagram-ADFJNKIX.js +172 -0
- package/dist/js/postcss.js +2 -0
- package/dist/js/pug.js +10 -0
- package/dist/js/python.js +2 -0
- package/dist/js/qml.js +3 -0
- package/dist/js/quadrantDiagram-AYHSOK5B.js +1970 -0
- package/dist/js/r.js +2 -0
- package/dist/js/radar-NHE76QYJ.js +8 -0
- package/dist/js/razor.js +10 -0
- package/dist/js/regexp.js +2 -0
- package/dist/js/requirementDiagram-UZGBJVZJ.js +2194 -0
- package/dist/js/rst.js +34 -0
- package/dist/js/ruby.js +20 -0
- package/dist/js/ruby2.js +28 -0
- package/dist/js/sankeyDiagram-TZEHDZUN.js +884 -0
- package/dist/js/sas.js +3 -0
- package/dist/js/scss.js +3 -0
- package/dist/js/scss2.js +3 -0
- package/dist/js/sdbl.js +2 -0
- package/dist/js/sequenceDiagram-WL72ISMW.js +3560 -0
- package/dist/js/shaderlab.js +3 -0
- package/dist/js/shellscript.js +2 -0
- package/dist/js/shellsession.js +3 -0
- package/dist/js/soy.js +5 -0
- package/dist/js/sparql.js +3 -0
- package/dist/js/sql.js +2 -0
- package/dist/js/src.js +1975 -0
- package/dist/js/stata.js +3 -0
- package/dist/js/stateDiagram-FKZM4ZOC.js +224 -0
- package/dist/js/stateDiagram-v2-4FDKWEC3.js +32 -0
- package/dist/js/stylus.js +2 -0
- package/dist/js/svelte.js +12 -0
- package/dist/js/templ.js +10 -0
- package/dist/js/tex.js +3 -0
- package/dist/js/tex2.js +3 -0
- package/dist/js/timeline-definition-IT6M3QCI.js +830 -0
- package/dist/js/treemap-KMMF4GRG.js +8 -0
- package/dist/js/ts-tags.js +38 -0
- package/dist/js/tsx.js +2 -0
- package/dist/js/turtle.js +2 -0
- package/dist/js/twig.js +33 -0
- package/dist/js/typescript.js +2 -0
- package/dist/js/vue-html.js +13 -0
- package/dist/js/vue-vine.js +22 -0
- package/dist/js/vue.js +20 -0
- package/dist/js/vue2.js +8 -0
- package/dist/js/xml.js +3 -0
- package/dist/js/xml2.js +3 -0
- package/dist/js/xsl.js +4 -0
- package/dist/js/xychartDiagram-PRI3JC2R.js +2022 -0
- package/dist/js/yaml.js +2 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/main.d.ts +0 -0
- package/dist/request/index.d.ts +6 -0
- package/package.json +66 -64
- package/dist/_basePickBy-CkZky1V-.js +0 -135
- package/dist/_baseUniq-f11MNaXe.js +0 -573
- package/dist/ai-chat-example.css +0 -3
- package/dist/angular-html-C5vmpet2.js +0 -14
- package/dist/angular-html-CLTv4jM9.js +0 -5
- package/dist/angular-ts-BKqJWrwt.js +0 -19
- package/dist/apl-BcJs32yU.js +0 -15
- package/dist/arc-Dh_0vvHo.js +0 -78
- package/dist/architecture-U656AL7Q-BqUSHYp0.js +0 -8
- package/dist/architectureDiagram-VXUJARFQ-BQvEdgpc.js +0 -4053
- package/dist/astro-q-huTQEP.js +0 -16
- package/dist/bash-DI_p7w58.js +0 -2
- package/dist/blade-Ckff5WJQ.js +0 -19
- package/dist/blockDiagram-VD42YOAC-DKkDshq3.js +0 -3013
- package/dist/bsl-BTNab0FD.js +0 -3
- package/dist/c-BYDGkYzS.js +0 -2
- package/dist/c4Diagram-YG6GDRKO-KsGqOrVB.js +0 -2955
- package/dist/cairo-DUZgbTPW.js +0 -3
- package/dist/channel-BrxVk5HC.js +0 -3
- package/dist/chunk-4BX2VUAB-BGxl5VGr.js +0 -6
- package/dist/chunk-55IACEB6-CDMD5yu1.js +0 -6
- package/dist/chunk-76Q3JFCE-Db4Lkmow.js +0 -19
- package/dist/chunk-ABZYJK2D-BZvlc6Ej.js +0 -2515
- package/dist/chunk-ATLVNIR6-C3g7rsIT.js +0 -65
- package/dist/chunk-B4BG7PRW-Dx-bGI1r.js +0 -3108
- package/dist/chunk-CVBHYZKI-DxEBlSK7.js +0 -10
- package/dist/chunk-DI55MBZ5-CCWuZnfW.js +0 -1994
- package/dist/chunk-EXTU4WIE-BjMX7pAs.js +0 -7
- package/dist/chunk-FMBD7UC4-Dj3Ok4Bk.js +0 -3
- package/dist/chunk-FPAJGGOC-nWbO3e1v.js +0 -12252
- package/dist/chunk-FWNWRKHM-CjcwRw2u.js +0 -56
- package/dist/chunk-HN2XXSSU-Lv4Ef0co.js +0 -74
- package/dist/chunk-JA3XYJ7Z-Dhh1_u_p.js +0 -463
- package/dist/chunk-JZLCHNYA-vrb_Ucuc.js +0 -4861
- package/dist/chunk-LBM3YZW2-D8lrIfGo.js +0 -19
- package/dist/chunk-LHMN2FUI-DLQ0i8hl.js +0 -19
- package/dist/chunk-MI3HLSF2-Dy6F9XgR.js +0 -1140
- package/dist/chunk-N4CR4FBY-BdaGxHlZ.js +0 -39
- package/dist/chunk-O7ZBX7Z2-D8Yaukr5.js +0 -26
- package/dist/chunk-QN33PNHL-DnPw7tni.js +0 -23
- package/dist/chunk-QXUST7PY-D9mGQ-UP.js +0 -486
- package/dist/chunk-QZHKN3VN-ClanGuXA.js +0 -11
- package/dist/chunk-S3R3BYOJ-DHTsHczu.js +0 -1074
- package/dist/chunk-S6J4BHB3-8RrHs9bD.js +0 -19
- package/dist/chunk-T53DSG4Q-C2BDA_QX.js +0 -24
- package/dist/chunk-TZMSLE5B-F4nHm7N1.js +0 -55
- package/dist/classDiagram-2ON5EDUG-C_ZEMlKu.js +0 -33
- package/dist/classDiagram-v2-WZHVMYZB-BHb5nZOM.js +0 -33
- package/dist/clone-BRioDvRr.js +0 -7
- package/dist/cmake-CA3Lfsq7.js +0 -2
- package/dist/cobol-DhzLzJib.js +0 -10
- package/dist/coffee-P21KTKMu.js +0 -3
- package/dist/cose-bilkent-S5V4N54A-Dy-do3hl.js +0 -2250
- package/dist/cpp-C6JyDxZu.js +0 -16
- package/dist/cpp-GAIEvywS.js +0 -6
- package/dist/crystal-BJfcoGS4.js +0 -16
- package/dist/csharp-JE-9ns6W.js +0 -2
- package/dist/css-Cy-fypCV.js +0 -2
- package/dist/csv-DJ7xG4PY.js +0 -2
- package/dist/dagre-6UL2VRFP-B38_sZWh.js +0 -298
- package/dist/dagre-DtvXp3zQ.js +0 -1395
- package/dist/diagram-PSM6KHXK-D6swsG-y.js +0 -497
- package/dist/diagram-QEK2KX5R-B7Hi0LAL.js +0 -226
- package/dist/diagram-S2PKOQOG-DLx7PlpM.js +0 -144
- package/dist/diff-COB48_rb.js +0 -2
- package/dist/dist-CrnZo_23.js +0 -49
- package/dist/edge-Dm7HQa9N.js +0 -12
- package/dist/elixir-BkvHyCNd.js +0 -5
- package/dist/elm-rz9wTSrn.js +0 -4
- package/dist/erDiagram-Q2GNP2WA-B67FD8rh.js +0 -1603
- package/dist/erb-DyrwQYVz.js +0 -25
- package/dist/erlang-DLFKZs5N.js +0 -3
- package/dist/flowDiagram-NV44I4VS-DHXgrdJY.js +0 -4132
- package/dist/fortran-fixed-form-SzB0QY3n.js +0 -3
- package/dist/fortran-free-form-Js8JrQQE.js +0 -2
- package/dist/fsharp-CtWO0jvL.js +0 -3
- package/dist/ganttDiagram-JELNMOA3-CGIqBt1P.js +0 -3009
- package/dist/gdresource-CgyXKpe4.js +0 -8
- package/dist/gdscript-STdmRKv-.js +0 -2
- package/dist/gdshader-Bs2s6cSB.js +0 -2
- package/dist/git-commit--0GGwZNa.js +0 -3
- package/dist/git-rebase-orw-bSIZ.js +0 -3
- package/dist/gitGraph-F6HP7TQM-CH5XLm5Z.js +0 -8
- package/dist/gitGraphDiagram-NY62KEGX-Cq8AbOhM.js +0 -634
- package/dist/github-dark-CMN1tZPn.js +0 -2
- package/dist/github-light-Y8g-VxKq.js +0 -2
- package/dist/glimmer-js-C6E6wJv0.js +0 -12
- package/dist/glimmer-ts-C6GgTGNO.js +0 -12
- package/dist/glsl-D8_YBRKT.js +0 -3
- package/dist/glsl-rwn_QCp2.js +0 -3
- package/dist/go-BhDDN9y4.js +0 -2
- package/dist/graphlib-BZdVmxO6.js +0 -223
- package/dist/graphql-DQHhbQm2.js +0 -6
- package/dist/graphql-DoBLseH6.js +0 -12
- package/dist/hack-DEAxoi73.js +0 -10
- package/dist/haml-BG2d3iX4.js +0 -4
- package/dist/haml-mA656Lm7.js +0 -8
- package/dist/handlebars-CO5xAxJ3.js +0 -12
- package/dist/haxe-BJVSeYxy.js +0 -2
- package/dist/hlsl-Dt9-unql.js +0 -2
- package/dist/html-DFCxtjnd.js +0 -4
- package/dist/html-DKSj3FeM.js +0 -8
- package/dist/html-derivative-BCRkrTcD.js +0 -5
- package/dist/html-derivative-C-vidKoA.js +0 -3
- package/dist/http-CYP1tEDW.js +0 -17
- package/dist/hurl-BJexUSKz.js +0 -15
- package/dist/hxml-XfuSEjM-.js +0 -3
- package/dist/info-NVLQJR56-hEN1y0nS.js +0 -8
- package/dist/infoDiagram-WHAUD3N6-btPwHXxp.js +0 -31
- package/dist/isEmpty-CCym_WUL.js +0 -32
- package/dist/java-DIOGgqAD.js +0 -2
- package/dist/javascript-9-JPeKdm.js +0 -2
- package/dist/jinja-CVFxFRh6.js +0 -5
- package/dist/jison-0X6LppGq.js +0 -3
- package/dist/journeyDiagram-XKPGCS4Q-3OxtBx3I.js +0 -884
- package/dist/js/chat-example.es.js +0 -39220
- package/dist/js/chat-example.umd.js +0 -2989
- package/dist/json-DJtYdWQK.js +0 -2
- package/dist/jsx-qo0JNHpZ.js +0 -2
- package/dist/julia-ChGs-n_c.js +0 -17
- package/dist/kanban-definition-3W4ZIXB7-zdtnJaXz.js +0 -971
- package/dist/katex-K1dsczyg.js +0 -2
- package/dist/latex-BnWZlY4q.js +0 -4
- package/dist/less-B4ybD-7s.js +0 -2
- package/dist/line-EpckC7pZ.js +0 -30
- package/dist/linear-DjVN4o4U.js +0 -250
- package/dist/liquid-pc5Mduds.js +0 -12
- package/dist/lua-0TqNbT8C.js +0 -3
- package/dist/lua-6pXga3HV.js +0 -3
- package/dist/markdown-LaaQ4Eua.js +0 -2
- package/dist/marko-D8uDUUEs.js +0 -12
- package/dist/mdc-Ki3KnB5U.js +0 -13
- package/dist/mermaid-parser.core-DVXSGppp.js +0 -48
- package/dist/mermaid.core-Ra1JFCui.js +0 -895
- package/dist/mindmap-definition-VGOIOE7T-CRPO52xV.js +0 -960
- package/dist/nginx-B46vdQ9n.js +0 -4
- package/dist/nim-BxQNx10D.js +0 -19
- package/dist/ordinal-CYQpsShT.js +0 -61
- package/dist/packet-BFZMPI3H-Bnlch4JI.js +0 -8
- package/dist/perl-D1bDaADZ.js +0 -15
- package/dist/php-BX51InqL.js +0 -9
- package/dist/php-D5tmU8Cr.js +0 -16
- package/dist/pie-7BOR55EZ-B9egLHl5.js +0 -8
- package/dist/pieDiagram-ADFJNKIX-CKSgB7fx.js +0 -172
- package/dist/postcss-ainQkoyY.js +0 -2
- package/dist/pug-BcLlS7Yb.js +0 -10
- package/dist/python-CuBu5pyY.js +0 -2
- package/dist/qml-MD0NqqIl.js +0 -3
- package/dist/quadrantDiagram-AYHSOK5B-BHzqivzD.js +0 -1970
- package/dist/r-CQeHOO4c.js +0 -2
- package/dist/radar-NHE76QYJ-DdALhlvV.js +0 -8
- package/dist/razor-eRwFWsjJ.js +0 -10
- package/dist/regexp-Ca0eDBa2.js +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-Darhwvir.js +0 -2194
- package/dist/rst-DFmSdXGd.js +0 -34
- package/dist/ruby-BAEFomR0.js +0 -20
- package/dist/ruby-DDMUvAvC.js +0 -28
- package/dist/sankeyDiagram-TZEHDZUN-KiSvBN_C.js +0 -884
- package/dist/sas-TjtLSnOp.js +0 -3
- package/dist/scss-C-bthdG1.js +0 -3
- package/dist/scss-D-6-mg-f.js +0 -3
- package/dist/sdbl-gc7zIVWR.js +0 -2
- package/dist/sequenceDiagram-WL72ISMW-D2Mo7Vtj.js +0 -3560
- package/dist/shaderlab-BRlB5fpk.js +0 -3
- package/dist/shellscript-DZa_4vvb.js +0 -2
- package/dist/shellsession-CIlmlgbR.js +0 -3
- package/dist/soy-DwSCrzEF.js +0 -5
- package/dist/sparql-D9kVSpEx.js +0 -3
- package/dist/sql-Bi3LyNPb.js +0 -2
- package/dist/src-B-SBGd0A.js +0 -1975
- package/dist/stata-DkEObyNb.js +0 -3
- package/dist/stateDiagram-FKZM4ZOC-BRQN2Npg.js +0 -224
- package/dist/stateDiagram-v2-4FDKWEC3-CeeIKiFG.js +0 -32
- package/dist/stylus-DEHALDNh.js +0 -2
- package/dist/svelte-KFuclcR6.js +0 -12
- package/dist/templ-C5mtYbb_.js +0 -10
- package/dist/tex-B4uYy1vC.js +0 -3
- package/dist/tex-BoVFa1ir.js +0 -3
- package/dist/timeline-definition-IT6M3QCI-CSwH0Pnx.js +0 -830
- package/dist/treemap-KMMF4GRG-COjpj6-C.js +0 -8
- package/dist/ts-tags-DRdTXGhb.js +0 -38
- package/dist/tsx-BaaPsUbd.js +0 -2
- package/dist/turtle-BRmolh-6.js +0 -2
- package/dist/twig-cEhAbahS.js +0 -33
- package/dist/typescript-CmJ8D0yY.js +0 -2
- package/dist/vue-B3C4YeUK.js +0 -8
- package/dist/vue-DMpjAWNv.js +0 -20
- package/dist/vue-html-BIZN50ug.js +0 -13
- package/dist/vue-vine-DxezWcjL.js +0 -22
- package/dist/xml-BglBgo29.js +0 -3
- package/dist/xml-BxRdgEAX.js +0 -3
- package/dist/xsl-Cni90e0k.js +0 -4
- package/dist/xychartDiagram-PRI3JC2R-CGXFYn39.js +0 -2022
- package/dist/yaml-DQRfaSRo.js +0 -2
- /package/dist/{abap--jVlqvLx.js → js/abap.js} +0 -0
- /package/dist/{actionscript-3-N1AoJtTA.js → js/actionscript-3.js} +0 -0
- /package/dist/{ada-CYGINLea.js → js/ada.js} +0 -0
- /package/dist/{andromeeda-CvsZnG9k.js → js/andromeeda.js} +0 -0
- /package/dist/{apache-D6X-_dyJ.js → js/apache.js} +0 -0
- /package/dist/{apex-C7VgAgAE.js → js/apex.js} +0 -0
- /package/dist/{applescript-DN64Su6U.js → js/applescript.js} +0 -0
- /package/dist/{ara-Dm1jHrgg.js → js/ara.js} +0 -0
- /package/dist/{array-CkdOJbdT.js → js/array.js} +0 -0
- /package/dist/{asciidoc-BpqtqRF5.js → js/asciidoc.js} +0 -0
- /package/dist/{asm-DUGlKYIq.js → js/asm.js} +0 -0
- /package/dist/{aurora-x-DwOih-un.js → js/aurora-x.js} +0 -0
- /package/dist/{awk-DcnVbJrN.js → js/awk.js} +0 -0
- /package/dist/{ayu-dark-Bd-89MKE.js → js/ayu-dark.js} +0 -0
- /package/dist/{ballerina-BQVdQd9X.js → js/ballerina.js} +0 -0
- /package/dist/{bat-juB1J52r.js → js/bat.js} +0 -0
- /package/dist/{beancount-ThxIlRc3.js → js/beancount.js} +0 -0
- /package/dist/{berry-qC18BfC_.js → js/berry.js} +0 -0
- /package/dist/{bibtex-CahMDY_0.js → js/bibtex.js} +0 -0
- /package/dist/{bicep-CHLBKS47.js → js/bicep.js} +0 -0
- /package/dist/{c-CX6yudYR.js → js/c2.js} +0 -0
- /package/dist/{cadence-DA5J9-Di.js → js/cadence.js} +0 -0
- /package/dist/{catppuccin-frappe-CE3kxG1f.js → js/catppuccin-frappe.js} +0 -0
- /package/dist/{catppuccin-latte-DW2FXeIv.js → js/catppuccin-latte.js} +0 -0
- /package/dist/{catppuccin-macchiato-CD5qjRSF.js → js/catppuccin-macchiato.js} +0 -0
- /package/dist/{catppuccin-mocha-BYwVJvjI.js → js/catppuccin-mocha.js} +0 -0
- /package/dist/{chunk-XAJISQIX-Bz7ki7DY.js → js/chunk-XAJISQIX.js} +0 -0
- /package/dist/{chunk-DNh5sLlG.js → js/chunk.js} +0 -0
- /package/dist/{clarity-CsFOkG3c.js → js/clarity.js} +0 -0
- /package/dist/{clojure-u1TZmmdQ.js → js/clojure.js} +0 -0
- /package/dist/{cmake-K1k8HMYR.js → js/cmake2.js} +0 -0
- /package/dist/{codeowners-l4eSxhtA.js → js/codeowners.js} +0 -0
- /package/dist/{codeql-5CeQaktT.js → js/codeql.js} +0 -0
- /package/dist/{common-lisp-BVttGbYJ.js → js/common-lisp.js} +0 -0
- /package/dist/{coq-CZjzQDnb.js → js/coq.js} +0 -0
- /package/dist/{csharp-BbUwciq4.js → js/csharp2.js} +0 -0
- /package/dist/{css-Crp0iO_o.js → js/css2.js} +0 -0
- /package/dist/{csv-DtT8LmMi.js → js/csv2.js} +0 -0
- /package/dist/{cue-BwjaQTCz.js → js/cue.js} +0 -0
- /package/dist/{cypher-B7e06enY.js → js/cypher.js} +0 -0
- /package/dist/{cytoscape.esm-CWqS6puh.js → js/cytoscape.esm.js} +0 -0
- /package/dist/{d-q60wkid4.js → js/d.js} +0 -0
- /package/dist/{dark-plus-D_fA88xf.js → js/dark-plus.js} +0 -0
- /package/dist/{dart-DjkWvBgr.js → js/dart.js} +0 -0
- /package/dist/{dax-lueLIZQI.js → js/dax.js} +0 -0
- /package/dist/{defaultLocale-CoJOMwPq.js → js/defaultLocale.js} +0 -0
- /package/dist/{desktop-DaphHKD5.js → js/desktop.js} +0 -0
- /package/dist/{diff-DlXnqUMK.js → js/diff2.js} +0 -0
- /package/dist/{docker-DZKmuwpA.js → js/docker.js} +0 -0
- /package/dist/{dotenv-hmNahw-8.js → js/dotenv.js} +0 -0
- /package/dist/{dracula-soft-vfA-TA_S.js → js/dracula-soft.js} +0 -0
- /package/dist/{dracula-ddM3a7au.js → js/dracula.js} +0 -0
- /package/dist/{dream-maker-Cxa2a8FY.js → js/dream-maker.js} +0 -0
- /package/dist/{emacs-lisp-w5URnZPZ.js → js/emacs-lisp.js} +0 -0
- /package/dist/{everforest-dark-DAPtv4yI.js → js/everforest-dark.js} +0 -0
- /package/dist/{everforest-light-nQzYm8GO.js → js/everforest-light.js} +0 -0
- /package/dist/{fennel-CJDNJZTU.js → js/fennel.js} +0 -0
- /package/dist/{fish-BkYaLI4-.js → js/fish.js} +0 -0
- /package/dist/{fluent-DShra35H.js → js/fluent.js} +0 -0
- /package/dist/{fortran-free-form-CgbOAJnm.js → js/fortran-free-form2.js} +0 -0
- /package/dist/{gdscript-DnurdQnh.js → js/gdscript2.js} +0 -0
- /package/dist/{gdshader-YiVaPq6D.js → js/gdshader2.js} +0 -0
- /package/dist/{genie-BppkvzZC.js → js/genie.js} +0 -0
- /package/dist/{gherkin-Bp4zdWMb.js → js/gherkin.js} +0 -0
- /package/dist/{github-dark-default-DVCJut02.js → js/github-dark-default.js} +0 -0
- /package/dist/{github-dark-dimmed-DXu9oDqW.js → js/github-dark-dimmed.js} +0 -0
- /package/dist/{github-dark-high-contrast-BBZdE-mX.js → js/github-dark-high-contrast.js} +0 -0
- /package/dist/{github-dark-DxCf_Qaz.js → js/github-dark2.js} +0 -0
- /package/dist/{github-light-default-BNGkGE--.js → js/github-light-default.js} +0 -0
- /package/dist/{github-light-high-contrast-DiSIc-nG.js → js/github-light-high-contrast.js} +0 -0
- /package/dist/{github-light-CfdX7txK.js → js/github-light2.js} +0 -0
- /package/dist/{gleam-Lw0tKp8T.js → js/gleam.js} +0 -0
- /package/dist/{gnuplot-BeA3etmO.js → js/gnuplot.js} +0 -0
- /package/dist/{go-xfE7BrfS.js → js/go2.js} +0 -0
- /package/dist/{groovy-C5-mv4io.js → js/groovy.js} +0 -0
- /package/dist/{gruvbox-dark-hard-CULu6kVy.js → js/gruvbox-dark-hard.js} +0 -0
- /package/dist/{gruvbox-dark-medium-BJM4uQXO.js → js/gruvbox-dark-medium.js} +0 -0
- /package/dist/{gruvbox-dark-soft-CVaORUwa.js → js/gruvbox-dark-soft.js} +0 -0
- /package/dist/{gruvbox-light-hard-B-WJAGLa.js → js/gruvbox-light-hard.js} +0 -0
- /package/dist/{gruvbox-light-medium-jc8FWnuC.js → js/gruvbox-light-medium.js} +0 -0
- /package/dist/{gruvbox-light-soft-CmvYQK92.js → js/gruvbox-light-soft.js} +0 -0
- /package/dist/{haskell-Hsexh2aP.js → js/haskell.js} +0 -0
- /package/dist/{haxe-CD_Rs3P5.js → js/haxe2.js} +0 -0
- /package/dist/{hcl-D098sJ_J.js → js/hcl.js} +0 -0
- /package/dist/{hjson-BwXHX5r6.js → js/hjson.js} +0 -0
- /package/dist/{hlsl-B0pnUVYG.js → js/hlsl2.js} +0 -0
- /package/dist/{houston-C7hMWO_I.js → js/houston.js} +0 -0
- /package/dist/{hy-DPQ04rHt.js → js/hy.js} +0 -0
- /package/dist/{imba-Bgu2n5Mo.js → js/imba.js} +0 -0
- /package/dist/{ini-g9mZnyrk.js → js/ini.js} +0 -0
- /package/dist/{init-CBay3kgM.js → js/init.js} +0 -0
- /package/dist/{isArrayLikeObject-Dz_TDfw0.js → js/isArrayLikeObject.js} +0 -0
- /package/dist/{java-CUbPyze1.js → js/java2.js} +0 -0
- /package/dist/{javascript-De1qhUaI.js → js/javascript2.js} +0 -0
- /package/dist/{json-fcFpRaf3.js → js/json2.js} +0 -0
- /package/dist/{json5-CPTZJOmf.js → js/json5.js} +0 -0
- /package/dist/{jsonc-CYrayg0k.js → js/jsonc.js} +0 -0
- /package/dist/{jsonl-Bsv7LjJ3.js → js/jsonl.js} +0 -0
- /package/dist/{jsonnet-B7LkHJxg.js → js/jsonnet.js} +0 -0
- /package/dist/{jssm-BopKGZKg.js → js/jssm.js} +0 -0
- /package/dist/{jsx-Bf3Nk9Di.js → js/jsx2.js} +0 -0
- /package/dist/{kanagawa-dragon-CSqqi78I.js → js/kanagawa-dragon.js} +0 -0
- /package/dist/{kanagawa-lotus-l2vgoxpH.js → js/kanagawa-lotus.js} +0 -0
- /package/dist/{kanagawa-wave-BWhFcnLj.js → js/kanagawa-wave.js} +0 -0
- /package/dist/{katex-BcWXJDMd.js → js/katex2.js} +0 -0
- /package/dist/{kdl-BbokxoZ9.js → js/kdl.js} +0 -0
- /package/dist/{kotlin-3dXKmwyJ.js → js/kotlin.js} +0 -0
- /package/dist/{kusto-Os6_yHEz.js → js/kusto.js} +0 -0
- /package/dist/{laserwave-8RcN1zf8.js → js/laserwave.js} +0 -0
- /package/dist/{lean--0Wr4Cy4.js → js/lean.js} +0 -0
- /package/dist/{less-Cb54jO7u.js → js/less2.js} +0 -0
- /package/dist/{light-plus-CP_iZQDF.js → js/light-plus.js} +0 -0
- /package/dist/{llvm-ILH_SX7E.js → js/llvm.js} +0 -0
- /package/dist/{log-DwO_GzA0.js → js/log.js} +0 -0
- /package/dist/{logo-B4FeRowR.js → js/logo.js} +0 -0
- /package/dist/{luau-DsUEyLJN.js → js/luau.js} +0 -0
- /package/dist/{make-p6NYc19I.js → js/make.js} +0 -0
- /package/dist/{markdown-CCRtgC0b.js → js/markdown2.js} +0 -0
- /package/dist/{marked.esm-D9xINNve.js → js/marked.esm.js} +0 -0
- /package/dist/{material-theme-darker-CWC5BoMv.js → js/material-theme-darker.js} +0 -0
- /package/dist/{material-theme-lighter-BJrV5b2o.js → js/material-theme-lighter.js} +0 -0
- /package/dist/{material-theme-ocean-DYpMfDiX.js → js/material-theme-ocean.js} +0 -0
- /package/dist/{material-theme-palenight-3Ix3iI7Q.js → js/material-theme-palenight.js} +0 -0
- /package/dist/{material-theme-D__z84-n.js → js/material-theme.js} +0 -0
- /package/dist/{math-CJAnbPum.js → js/math.js} +0 -0
- /package/dist/{matlab-CL0oMGfq.js → js/matlab.js} +0 -0
- /package/dist/{mdx-BTufVkNP.js → js/mdx.js} +0 -0
- /package/dist/{mermaid-FCjIh1A7.js → js/mermaid.js} +0 -0
- /package/dist/{min-dark-B4KRMcN3.js → js/min-dark.js} +0 -0
- /package/dist/{min-light-BQVJODr0.js → js/min-light.js} +0 -0
- /package/dist/{mipsasm-Cn6AQ4lM.js → js/mipsasm.js} +0 -0
- /package/dist/{mojo-C9IiQhp4.js → js/mojo.js} +0 -0
- /package/dist/{monokai-vDwMMRi4.js → js/monokai.js} +0 -0
- /package/dist/{move-BdizQ4_I.js → js/move.js} +0 -0
- /package/dist/{narrat-BP2kx-u2.js → js/narrat.js} +0 -0
- /package/dist/{nextflow-CyRmCGOe.js → js/nextflow.js} +0 -0
- /package/dist/{night-owl-DmjkOa5g.js → js/night-owl.js} +0 -0
- /package/dist/{nix-qPhlsqZI.js → js/nix.js} +0 -0
- /package/dist/{nord-sjxbvIbg.js → js/nord.js} +0 -0
- /package/dist/{nushell-puA-1bCW.js → js/nushell.js} +0 -0
- /package/dist/{objective-c-D-qDLNy5.js → js/objective-c.js} +0 -0
- /package/dist/{objective-cpp-CFxSAM6p.js → js/objective-cpp.js} +0 -0
- /package/dist/{ocaml-CsLB7SWJ.js → js/ocaml.js} +0 -0
- /package/dist/{one-dark-pro-BHH-VjFD.js → js/one-dark-pro.js} +0 -0
- /package/dist/{one-light-BqE6erWk.js → js/one-light.js} +0 -0
- /package/dist/{openscad-DJCIQfnJ.js → js/openscad.js} +0 -0
- /package/dist/{pascal-CPg9_ZFN.js → js/pascal.js} +0 -0
- /package/dist/{path-esxOUfAH.js → js/path.js} +0 -0
- /package/dist/{pkl-BQQ96hvn.js → js/pkl.js} +0 -0
- /package/dist/{plastic-BrNUBdSC.js → js/plastic.js} +0 -0
- /package/dist/{plsql-Co7Bxe7U.js → js/plsql.js} +0 -0
- /package/dist/{po-BqzJCro7.js → js/po.js} +0 -0
- /package/dist/{poimandres-C_AK8TlO.js → js/poimandres.js} +0 -0
- /package/dist/{polar-CtdYIPEe.js → js/polar.js} +0 -0
- /package/dist/{postcss-ChqFKb46.js → js/postcss2.js} +0 -0
- /package/dist/{powerquery-CDugc1w-.js → js/powerquery.js} +0 -0
- /package/dist/{powershell-j5X-IA59.js → js/powershell.js} +0 -0
- /package/dist/{prisma-Cyl7YhUw.js → js/prisma.js} +0 -0
- /package/dist/{prolog-DELKnUYf.js → js/prolog.js} +0 -0
- /package/dist/{proto-C4A_gDBY.js → js/proto.js} +0 -0
- /package/dist/{puppet-DFC9LyFj.js → js/puppet.js} +0 -0
- /package/dist/{purescript-eECq7_n2.js → js/purescript.js} +0 -0
- /package/dist/{python-BhdCuCld.js → js/python2.js} +0 -0
- /package/dist/{qmldir-BpJII-Ze.js → js/qmldir.js} +0 -0
- /package/dist/{qss-CpMcemMc.js → js/qss.js} +0 -0
- /package/dist/{r-D90zdkbN.js → js/r2.js} +0 -0
- /package/dist/{racket-COTs6Zfi.js → js/racket.js} +0 -0
- /package/dist/{raku-DfOtwMUC.js → js/raku.js} +0 -0
- /package/dist/{red-CWGFZsim.js → js/red.js} +0 -0
- /package/dist/{reg-BX5DwoEA.js → js/reg.js} +0 -0
- /package/dist/{regexp-Cap8fK_2.js → js/regexp2.js} +0 -0
- /package/dist/{rel-CzXuLSk3.js → js/rel.js} +0 -0
- /package/dist/{riscv-DnFIiqh3.js → js/riscv.js} +0 -0
- /package/dist/{rose-pine-dawn-D5sdDB-J.js → js/rose-pine-dawn.js} +0 -0
- /package/dist/{rose-pine-moon-2Vb7bLLO.js → js/rose-pine-moon.js} +0 -0
- /package/dist/{rose-pine-C4v2iQVe.js → js/rose-pine.js} +0 -0
- /package/dist/{rosmsg-D02ul3fM.js → js/rosmsg.js} +0 -0
- /package/dist/{rust-s3hBbfQg.js → js/rust.js} +0 -0
- /package/dist/{sass-v3HeJ9Fl.js → js/sass.js} +0 -0
- /package/dist/{scala-BTIBM_Vn.js → js/scala.js} +0 -0
- /package/dist/{scheme-C4NQMf7a.js → js/scheme.js} +0 -0
- /package/dist/{sdbl-BA3l-JrH.js → js/sdbl2.js} +0 -0
- /package/dist/{shellscript-BQ8mKDAF.js → js/shellscript2.js} +0 -0
- /package/dist/{slack-dark-DhXO5DWr.js → js/slack-dark.js} +0 -0
- /package/dist/{slack-ochin-aAGl4PPH.js → js/slack-ochin.js} +0 -0
- /package/dist/{smalltalk-DbwVUw_i.js → js/smalltalk.js} +0 -0
- /package/dist/{snazzy-light-B4S5mk83.js → js/snazzy-light.js} +0 -0
- /package/dist/{solarized-dark-Dexkq3Fm.js → js/solarized-dark.js} +0 -0
- /package/dist/{solarized-light-I-Bzy8UC.js → js/solarized-light.js} +0 -0
- /package/dist/{solidity-SMk0TJDc.js → js/solidity.js} +0 -0
- /package/dist/{splunk-DXXu2r7r.js → js/splunk.js} +0 -0
- /package/dist/{sql-D0eLHBiZ.js → js/sql2.js} +0 -0
- /package/dist/{ssh-config-DyVcFTfI.js → js/ssh-config.js} +0 -0
- /package/dist/{stylus-BKTuFHcX.js → js/stylus2.js} +0 -0
- /package/dist/{swift-Cenptrnf.js → js/swift.js} +0 -0
- /package/dist/{synthwave-84-BRkDuVE-.js → js/synthwave-84.js} +0 -0
- /package/dist/{system-verilog-Cvgukx4v.js → js/system-verilog.js} +0 -0
- /package/dist/{systemd-BepdslJQ.js → js/systemd.js} +0 -0
- /package/dist/{talonscript-Q98m-VXh.js → js/talonscript.js} +0 -0
- /package/dist/{tasl-uebrX98X.js → js/tasl.js} +0 -0
- /package/dist/{tcl-B1Ny4XFf.js → js/tcl.js} +0 -0
- /package/dist/{terraform-0mA5ERTe.js → js/terraform.js} +0 -0
- /package/dist/{tokyo-night-D0mU3-u8.js → js/tokyo-night.js} +0 -0
- /package/dist/{toml-vMAjra5M.js → js/toml.js} +0 -0
- /package/dist/{tsv-BnmbkntZ.js → js/tsv.js} +0 -0
- /package/dist/{tsx-C0w0w5St.js → js/tsx2.js} +0 -0
- /package/dist/{turtle-4UWi_qX6.js → js/turtle2.js} +0 -0
- /package/dist/{typescript-4YtK2JL4.js → js/typescript2.js} +0 -0
- /package/dist/{typespec-CILw3zvZ.js → js/typespec.js} +0 -0
- /package/dist/{typst-CLajFw6q.js → js/typst.js} +0 -0
- /package/dist/{v-MJV2RQvK.js → js/v.js} +0 -0
- /package/dist/{vala-Dc1TiHw1.js → js/vala.js} +0 -0
- /package/dist/{vb-CoJdNmGs.js → js/vb.js} +0 -0
- /package/dist/{verilog-C7aVmiO0.js → js/verilog.js} +0 -0
- /package/dist/{vesper-Cvcqyrim.js → js/vesper.js} +0 -0
- /package/dist/{vhdl-CYQvzAG1.js → js/vhdl.js} +0 -0
- /package/dist/{viml-DOyjiDI8.js → js/viml.js} +0 -0
- /package/dist/{vitesse-black-CUYJaB5b.js → js/vitesse-black.js} +0 -0
- /package/dist/{vitesse-dark-BNlzDJ1Z.js → js/vitesse-dark.js} +0 -0
- /package/dist/{vitesse-light-JU98KqVa.js → js/vitesse-light.js} +0 -0
- /package/dist/{vyper-JU_r7Ch6.js → js/vyper.js} +0 -0
- /package/dist/{wasm-DJ1S--fN.js → js/wasm.js} +0 -0
- /package/dist/{wasm-eLFiAU8u.js → js/wasm2.js} +0 -0
- /package/dist/{wenyan-CqkzmyWz.js → js/wenyan.js} +0 -0
- /package/dist/{wgsl-gV62iTnF.js → js/wgsl.js} +0 -0
- /package/dist/{wikitext-BfUl8La4.js → js/wikitext.js} +0 -0
- /package/dist/{wit-kp_bCf2U.js → js/wit.js} +0 -0
- /package/dist/{wolfram-aPsN9AKt.js → js/wolfram.js} +0 -0
- /package/dist/{yaml-P2kjOPvW.js → js/yaml2.js} +0 -0
- /package/dist/{zenscript-BuY4FX-t.js → js/zenscript.js} +0 -0
- /package/dist/{zig-CGDGjytz.js → js/zig.js} +0 -0
|
@@ -1,1140 +0,0 @@
|
|
|
1
|
-
import { h as __name } from "./src-B-SBGd0A.js";
|
|
2
|
-
function isNothing(c) {
|
|
3
|
-
return c == null;
|
|
4
|
-
}
|
|
5
|
-
__name(isNothing, "isNothing");
|
|
6
|
-
function isObject(c) {
|
|
7
|
-
return typeof c == "object" && !!c;
|
|
8
|
-
}
|
|
9
|
-
__name(isObject, "isObject");
|
|
10
|
-
function toArray(c) {
|
|
11
|
-
return Array.isArray(c) ? c : isNothing(c) ? [] : [c];
|
|
12
|
-
}
|
|
13
|
-
__name(toArray, "toArray");
|
|
14
|
-
function extend(c, I) {
|
|
15
|
-
var L, R, z, B;
|
|
16
|
-
if (I) for (B = Object.keys(I), L = 0, R = B.length; L < R; L += 1) z = B[L], c[z] = I[z];
|
|
17
|
-
return c;
|
|
18
|
-
}
|
|
19
|
-
__name(extend, "extend");
|
|
20
|
-
function repeat(c, I) {
|
|
21
|
-
var L = "", R;
|
|
22
|
-
for (R = 0; R < I; R += 1) L += c;
|
|
23
|
-
return L;
|
|
24
|
-
}
|
|
25
|
-
__name(repeat, "repeat");
|
|
26
|
-
function isNegativeZero(c) {
|
|
27
|
-
return c === 0 && 1 / c == -Infinity;
|
|
28
|
-
}
|
|
29
|
-
__name(isNegativeZero, "isNegativeZero");
|
|
30
|
-
var common = {
|
|
31
|
-
isNothing,
|
|
32
|
-
isObject,
|
|
33
|
-
toArray,
|
|
34
|
-
repeat,
|
|
35
|
-
isNegativeZero,
|
|
36
|
-
extend
|
|
37
|
-
};
|
|
38
|
-
function formatError(c, I) {
|
|
39
|
-
var L = "", R = c.reason || "(unknown reason)";
|
|
40
|
-
return c.mark ? (c.mark.name && (L += "in \"" + c.mark.name + "\" "), L += "(" + (c.mark.line + 1) + ":" + (c.mark.column + 1) + ")", !I && c.mark.snippet && (L += "\n\n" + c.mark.snippet), R + " " + L) : R;
|
|
41
|
-
}
|
|
42
|
-
__name(formatError, "formatError");
|
|
43
|
-
function YAMLException$1(c, I) {
|
|
44
|
-
Error.call(this), this.name = "YAMLException", this.reason = c, this.mark = I, this.message = formatError(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ Error()).stack || "";
|
|
45
|
-
}
|
|
46
|
-
__name(YAMLException$1, "YAMLException$1"), YAMLException$1.prototype = Object.create(Error.prototype), YAMLException$1.prototype.constructor = YAMLException$1, YAMLException$1.prototype.toString = /* @__PURE__ */ __name(function(c) {
|
|
47
|
-
return this.name + ": " + formatError(this, c);
|
|
48
|
-
}, "toString");
|
|
49
|
-
var exception = YAMLException$1;
|
|
50
|
-
function getLine(c, I, L, R, z) {
|
|
51
|
-
var B = "", V = "", H = Math.floor(z / 2) - 1;
|
|
52
|
-
return R - I > H && (B = " ... ", I = R - H + B.length), L - R > H && (V = " ...", L = R + H - V.length), {
|
|
53
|
-
str: B + c.slice(I, L).replace(/\t/g, "→") + V,
|
|
54
|
-
pos: R - I + B.length
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
__name(getLine, "getLine");
|
|
58
|
-
function padStart(c, I) {
|
|
59
|
-
return common.repeat(" ", I - c.length) + c;
|
|
60
|
-
}
|
|
61
|
-
__name(padStart, "padStart");
|
|
62
|
-
function makeSnippet(c, I) {
|
|
63
|
-
if (I = Object.create(I || null), !c.buffer) return null;
|
|
64
|
-
I.maxLength ||= 79, typeof I.indent != "number" && (I.indent = 1), typeof I.linesBefore != "number" && (I.linesBefore = 3), typeof I.linesAfter != "number" && (I.linesAfter = 2);
|
|
65
|
-
for (var L = /\r?\n|\r|\0/g, R = [0], z = [], B, V = -1; B = L.exec(c.buffer);) z.push(B.index), R.push(B.index + B[0].length), c.position <= B.index && V < 0 && (V = R.length - 2);
|
|
66
|
-
V < 0 && (V = R.length - 1);
|
|
67
|
-
var U = "", W, G, J = Math.min(c.line + I.linesAfter, z.length).toString().length, Y = I.maxLength - (I.indent + J + 3);
|
|
68
|
-
for (W = 1; W <= I.linesBefore && !(V - W < 0); W++) G = getLine(c.buffer, R[V - W], z[V - W], c.position - (R[V] - R[V - W]), Y), U = common.repeat(" ", I.indent) + padStart((c.line - W + 1).toString(), J) + " | " + G.str + "\n" + U;
|
|
69
|
-
for (G = getLine(c.buffer, R[V], z[V], c.position, Y), U += common.repeat(" ", I.indent) + padStart((c.line + 1).toString(), J) + " | " + G.str + "\n", U += common.repeat("-", I.indent + J + 3 + G.pos) + "^\n", W = 1; W <= I.linesAfter && !(V + W >= z.length); W++) G = getLine(c.buffer, R[V + W], z[V + W], c.position - (R[V] - R[V + W]), Y), U += common.repeat(" ", I.indent) + padStart((c.line + W + 1).toString(), J) + " | " + G.str + "\n";
|
|
70
|
-
return U.replace(/\n$/, "");
|
|
71
|
-
}
|
|
72
|
-
__name(makeSnippet, "makeSnippet");
|
|
73
|
-
var snippet = makeSnippet, TYPE_CONSTRUCTOR_OPTIONS = [
|
|
74
|
-
"kind",
|
|
75
|
-
"multi",
|
|
76
|
-
"resolve",
|
|
77
|
-
"construct",
|
|
78
|
-
"instanceOf",
|
|
79
|
-
"predicate",
|
|
80
|
-
"represent",
|
|
81
|
-
"representName",
|
|
82
|
-
"defaultStyle",
|
|
83
|
-
"styleAliases"
|
|
84
|
-
], YAML_NODE_KINDS = [
|
|
85
|
-
"scalar",
|
|
86
|
-
"sequence",
|
|
87
|
-
"mapping"
|
|
88
|
-
];
|
|
89
|
-
function compileStyleAliases(c) {
|
|
90
|
-
var I = {};
|
|
91
|
-
return c !== null && Object.keys(c).forEach(function(L) {
|
|
92
|
-
c[L].forEach(function(c) {
|
|
93
|
-
I[String(c)] = L;
|
|
94
|
-
});
|
|
95
|
-
}), I;
|
|
96
|
-
}
|
|
97
|
-
__name(compileStyleAliases, "compileStyleAliases");
|
|
98
|
-
function Type$1(c, I) {
|
|
99
|
-
if (I ||= {}, Object.keys(I).forEach(function(I) {
|
|
100
|
-
if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(I) === -1) throw new exception("Unknown option \"" + I + "\" is met in definition of \"" + c + "\" YAML type.");
|
|
101
|
-
}), this.options = I, this.tag = c, this.kind = I.kind || null, this.resolve = I.resolve || function() {
|
|
102
|
-
return !0;
|
|
103
|
-
}, this.construct = I.construct || function(c) {
|
|
104
|
-
return c;
|
|
105
|
-
}, this.instanceOf = I.instanceOf || null, this.predicate = I.predicate || null, this.represent = I.represent || null, this.representName = I.representName || null, this.defaultStyle = I.defaultStyle || null, this.multi = I.multi || !1, this.styleAliases = compileStyleAliases(I.styleAliases || null), YAML_NODE_KINDS.indexOf(this.kind) === -1) throw new exception("Unknown kind \"" + this.kind + "\" is specified for \"" + c + "\" YAML type.");
|
|
106
|
-
}
|
|
107
|
-
__name(Type$1, "Type$1");
|
|
108
|
-
var type = Type$1;
|
|
109
|
-
function compileList(c, I) {
|
|
110
|
-
var L = [];
|
|
111
|
-
return c[I].forEach(function(c) {
|
|
112
|
-
var I = L.length;
|
|
113
|
-
L.forEach(function(L, R) {
|
|
114
|
-
L.tag === c.tag && L.kind === c.kind && L.multi === c.multi && (I = R);
|
|
115
|
-
}), L[I] = c;
|
|
116
|
-
}), L;
|
|
117
|
-
}
|
|
118
|
-
__name(compileList, "compileList");
|
|
119
|
-
function compileMap() {
|
|
120
|
-
var I = {
|
|
121
|
-
scalar: {},
|
|
122
|
-
sequence: {},
|
|
123
|
-
mapping: {},
|
|
124
|
-
fallback: {},
|
|
125
|
-
multi: {
|
|
126
|
-
scalar: [],
|
|
127
|
-
sequence: [],
|
|
128
|
-
mapping: [],
|
|
129
|
-
fallback: []
|
|
130
|
-
}
|
|
131
|
-
}, L, R;
|
|
132
|
-
function z(c) {
|
|
133
|
-
c.multi ? (I.multi[c.kind].push(c), I.multi.fallback.push(c)) : I[c.kind][c.tag] = I.fallback[c.tag] = c;
|
|
134
|
-
}
|
|
135
|
-
for (__name(z, "collectType"), L = 0, R = arguments.length; L < R; L += 1) arguments[L].forEach(z);
|
|
136
|
-
return I;
|
|
137
|
-
}
|
|
138
|
-
__name(compileMap, "compileMap");
|
|
139
|
-
function Schema$1(c) {
|
|
140
|
-
return this.extend(c);
|
|
141
|
-
}
|
|
142
|
-
__name(Schema$1, "Schema$1"), Schema$1.prototype.extend = /* @__PURE__ */ __name(function(c) {
|
|
143
|
-
var I = [], L = [];
|
|
144
|
-
if (c instanceof type) L.push(c);
|
|
145
|
-
else if (Array.isArray(c)) L = L.concat(c);
|
|
146
|
-
else if (c && (Array.isArray(c.implicit) || Array.isArray(c.explicit))) c.implicit && (I = I.concat(c.implicit)), c.explicit && (L = L.concat(c.explicit));
|
|
147
|
-
else throw new exception("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
|
|
148
|
-
I.forEach(function(c) {
|
|
149
|
-
if (!(c instanceof type)) throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
150
|
-
if (c.loadKind && c.loadKind !== "scalar") throw new exception("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
|
|
151
|
-
if (c.multi) throw new exception("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
|
|
152
|
-
}), L.forEach(function(c) {
|
|
153
|
-
if (!(c instanceof type)) throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
154
|
-
});
|
|
155
|
-
var R = Object.create(Schema$1.prototype);
|
|
156
|
-
return R.implicit = (this.implicit || []).concat(I), R.explicit = (this.explicit || []).concat(L), R.compiledImplicit = compileList(R, "implicit"), R.compiledExplicit = compileList(R, "explicit"), R.compiledTypeMap = compileMap(R.compiledImplicit, R.compiledExplicit), R;
|
|
157
|
-
}, "extend");
|
|
158
|
-
var failsafe = new Schema$1({ explicit: [
|
|
159
|
-
new type("tag:yaml.org,2002:str", {
|
|
160
|
-
kind: "scalar",
|
|
161
|
-
construct: /* @__PURE__ */ __name(function(c) {
|
|
162
|
-
return c === null ? "" : c;
|
|
163
|
-
}, "construct")
|
|
164
|
-
}),
|
|
165
|
-
new type("tag:yaml.org,2002:seq", {
|
|
166
|
-
kind: "sequence",
|
|
167
|
-
construct: /* @__PURE__ */ __name(function(c) {
|
|
168
|
-
return c === null ? [] : c;
|
|
169
|
-
}, "construct")
|
|
170
|
-
}),
|
|
171
|
-
new type("tag:yaml.org,2002:map", {
|
|
172
|
-
kind: "mapping",
|
|
173
|
-
construct: /* @__PURE__ */ __name(function(c) {
|
|
174
|
-
return c === null ? {} : c;
|
|
175
|
-
}, "construct")
|
|
176
|
-
})
|
|
177
|
-
] });
|
|
178
|
-
function resolveYamlNull(c) {
|
|
179
|
-
if (c === null) return !0;
|
|
180
|
-
var I = c.length;
|
|
181
|
-
return I === 1 && c === "~" || I === 4 && (c === "null" || c === "Null" || c === "NULL");
|
|
182
|
-
}
|
|
183
|
-
__name(resolveYamlNull, "resolveYamlNull");
|
|
184
|
-
function constructYamlNull() {
|
|
185
|
-
return null;
|
|
186
|
-
}
|
|
187
|
-
__name(constructYamlNull, "constructYamlNull");
|
|
188
|
-
function isNull(c) {
|
|
189
|
-
return c === null;
|
|
190
|
-
}
|
|
191
|
-
__name(isNull, "isNull");
|
|
192
|
-
var _null = new type("tag:yaml.org,2002:null", {
|
|
193
|
-
kind: "scalar",
|
|
194
|
-
resolve: resolveYamlNull,
|
|
195
|
-
construct: constructYamlNull,
|
|
196
|
-
predicate: isNull,
|
|
197
|
-
represent: {
|
|
198
|
-
canonical: /* @__PURE__ */ __name(function() {
|
|
199
|
-
return "~";
|
|
200
|
-
}, "canonical"),
|
|
201
|
-
lowercase: /* @__PURE__ */ __name(function() {
|
|
202
|
-
return "null";
|
|
203
|
-
}, "lowercase"),
|
|
204
|
-
uppercase: /* @__PURE__ */ __name(function() {
|
|
205
|
-
return "NULL";
|
|
206
|
-
}, "uppercase"),
|
|
207
|
-
camelcase: /* @__PURE__ */ __name(function() {
|
|
208
|
-
return "Null";
|
|
209
|
-
}, "camelcase"),
|
|
210
|
-
empty: /* @__PURE__ */ __name(function() {
|
|
211
|
-
return "";
|
|
212
|
-
}, "empty")
|
|
213
|
-
},
|
|
214
|
-
defaultStyle: "lowercase"
|
|
215
|
-
});
|
|
216
|
-
function resolveYamlBoolean(c) {
|
|
217
|
-
if (c === null) return !1;
|
|
218
|
-
var I = c.length;
|
|
219
|
-
return I === 4 && (c === "true" || c === "True" || c === "TRUE") || I === 5 && (c === "false" || c === "False" || c === "FALSE");
|
|
220
|
-
}
|
|
221
|
-
__name(resolveYamlBoolean, "resolveYamlBoolean");
|
|
222
|
-
function constructYamlBoolean(c) {
|
|
223
|
-
return c === "true" || c === "True" || c === "TRUE";
|
|
224
|
-
}
|
|
225
|
-
__name(constructYamlBoolean, "constructYamlBoolean");
|
|
226
|
-
function isBoolean(c) {
|
|
227
|
-
return Object.prototype.toString.call(c) === "[object Boolean]";
|
|
228
|
-
}
|
|
229
|
-
__name(isBoolean, "isBoolean");
|
|
230
|
-
var bool = new type("tag:yaml.org,2002:bool", {
|
|
231
|
-
kind: "scalar",
|
|
232
|
-
resolve: resolveYamlBoolean,
|
|
233
|
-
construct: constructYamlBoolean,
|
|
234
|
-
predicate: isBoolean,
|
|
235
|
-
represent: {
|
|
236
|
-
lowercase: /* @__PURE__ */ __name(function(c) {
|
|
237
|
-
return c ? "true" : "false";
|
|
238
|
-
}, "lowercase"),
|
|
239
|
-
uppercase: /* @__PURE__ */ __name(function(c) {
|
|
240
|
-
return c ? "TRUE" : "FALSE";
|
|
241
|
-
}, "uppercase"),
|
|
242
|
-
camelcase: /* @__PURE__ */ __name(function(c) {
|
|
243
|
-
return c ? "True" : "False";
|
|
244
|
-
}, "camelcase")
|
|
245
|
-
},
|
|
246
|
-
defaultStyle: "lowercase"
|
|
247
|
-
});
|
|
248
|
-
function isHexCode(c) {
|
|
249
|
-
return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102;
|
|
250
|
-
}
|
|
251
|
-
__name(isHexCode, "isHexCode");
|
|
252
|
-
function isOctCode(c) {
|
|
253
|
-
return 48 <= c && c <= 55;
|
|
254
|
-
}
|
|
255
|
-
__name(isOctCode, "isOctCode");
|
|
256
|
-
function isDecCode(c) {
|
|
257
|
-
return 48 <= c && c <= 57;
|
|
258
|
-
}
|
|
259
|
-
__name(isDecCode, "isDecCode");
|
|
260
|
-
function resolveYamlInteger(c) {
|
|
261
|
-
if (c === null) return !1;
|
|
262
|
-
var I = c.length, L = 0, R = !1, z;
|
|
263
|
-
if (!I) return !1;
|
|
264
|
-
if (z = c[L], (z === "-" || z === "+") && (z = c[++L]), z === "0") {
|
|
265
|
-
if (L + 1 === I) return !0;
|
|
266
|
-
if (z = c[++L], z === "b") {
|
|
267
|
-
for (L++; L < I; L++) if (z = c[L], z !== "_") {
|
|
268
|
-
if (z !== "0" && z !== "1") return !1;
|
|
269
|
-
R = !0;
|
|
270
|
-
}
|
|
271
|
-
return R && z !== "_";
|
|
272
|
-
}
|
|
273
|
-
if (z === "x") {
|
|
274
|
-
for (L++; L < I; L++) if (z = c[L], z !== "_") {
|
|
275
|
-
if (!isHexCode(c.charCodeAt(L))) return !1;
|
|
276
|
-
R = !0;
|
|
277
|
-
}
|
|
278
|
-
return R && z !== "_";
|
|
279
|
-
}
|
|
280
|
-
if (z === "o") {
|
|
281
|
-
for (L++; L < I; L++) if (z = c[L], z !== "_") {
|
|
282
|
-
if (!isOctCode(c.charCodeAt(L))) return !1;
|
|
283
|
-
R = !0;
|
|
284
|
-
}
|
|
285
|
-
return R && z !== "_";
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
if (z === "_") return !1;
|
|
289
|
-
for (; L < I; L++) if (z = c[L], z !== "_") {
|
|
290
|
-
if (!isDecCode(c.charCodeAt(L))) return !1;
|
|
291
|
-
R = !0;
|
|
292
|
-
}
|
|
293
|
-
return !(!R || z === "_");
|
|
294
|
-
}
|
|
295
|
-
__name(resolveYamlInteger, "resolveYamlInteger");
|
|
296
|
-
function constructYamlInteger(c) {
|
|
297
|
-
var I = c, L = 1, R;
|
|
298
|
-
if (I.indexOf("_") !== -1 && (I = I.replace(/_/g, "")), R = I[0], (R === "-" || R === "+") && (R === "-" && (L = -1), I = I.slice(1), R = I[0]), I === "0") return 0;
|
|
299
|
-
if (R === "0") {
|
|
300
|
-
if (I[1] === "b") return L * parseInt(I.slice(2), 2);
|
|
301
|
-
if (I[1] === "x") return L * parseInt(I.slice(2), 16);
|
|
302
|
-
if (I[1] === "o") return L * parseInt(I.slice(2), 8);
|
|
303
|
-
}
|
|
304
|
-
return L * parseInt(I, 10);
|
|
305
|
-
}
|
|
306
|
-
__name(constructYamlInteger, "constructYamlInteger");
|
|
307
|
-
function isInteger(c) {
|
|
308
|
-
return Object.prototype.toString.call(c) === "[object Number]" && c % 1 == 0 && !common.isNegativeZero(c);
|
|
309
|
-
}
|
|
310
|
-
__name(isInteger, "isInteger");
|
|
311
|
-
var int = new type("tag:yaml.org,2002:int", {
|
|
312
|
-
kind: "scalar",
|
|
313
|
-
resolve: resolveYamlInteger,
|
|
314
|
-
construct: constructYamlInteger,
|
|
315
|
-
predicate: isInteger,
|
|
316
|
-
represent: {
|
|
317
|
-
binary: /* @__PURE__ */ __name(function(c) {
|
|
318
|
-
return c >= 0 ? "0b" + c.toString(2) : "-0b" + c.toString(2).slice(1);
|
|
319
|
-
}, "binary"),
|
|
320
|
-
octal: /* @__PURE__ */ __name(function(c) {
|
|
321
|
-
return c >= 0 ? "0o" + c.toString(8) : "-0o" + c.toString(8).slice(1);
|
|
322
|
-
}, "octal"),
|
|
323
|
-
decimal: /* @__PURE__ */ __name(function(c) {
|
|
324
|
-
return c.toString(10);
|
|
325
|
-
}, "decimal"),
|
|
326
|
-
hexadecimal: /* @__PURE__ */ __name(function(c) {
|
|
327
|
-
return c >= 0 ? "0x" + c.toString(16).toUpperCase() : "-0x" + c.toString(16).toUpperCase().slice(1);
|
|
328
|
-
}, "hexadecimal")
|
|
329
|
-
},
|
|
330
|
-
defaultStyle: "decimal",
|
|
331
|
-
styleAliases: {
|
|
332
|
-
binary: [2, "bin"],
|
|
333
|
-
octal: [8, "oct"],
|
|
334
|
-
decimal: [10, "dec"],
|
|
335
|
-
hexadecimal: [16, "hex"]
|
|
336
|
-
}
|
|
337
|
-
}), YAML_FLOAT_PATTERN = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
338
|
-
function resolveYamlFloat(c) {
|
|
339
|
-
return !(c === null || !YAML_FLOAT_PATTERN.test(c) || c[c.length - 1] === "_");
|
|
340
|
-
}
|
|
341
|
-
__name(resolveYamlFloat, "resolveYamlFloat");
|
|
342
|
-
function constructYamlFloat(c) {
|
|
343
|
-
var I = c.replace(/_/g, "").toLowerCase(), L = I[0] === "-" ? -1 : 1;
|
|
344
|
-
return "+-".indexOf(I[0]) >= 0 && (I = I.slice(1)), I === ".inf" ? L === 1 ? Infinity : -Infinity : I === ".nan" ? NaN : L * parseFloat(I, 10);
|
|
345
|
-
}
|
|
346
|
-
__name(constructYamlFloat, "constructYamlFloat");
|
|
347
|
-
var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
|
|
348
|
-
function representYamlFloat(c, I) {
|
|
349
|
-
var L;
|
|
350
|
-
if (isNaN(c)) switch (I) {
|
|
351
|
-
case "lowercase": return ".nan";
|
|
352
|
-
case "uppercase": return ".NAN";
|
|
353
|
-
case "camelcase": return ".NaN";
|
|
354
|
-
}
|
|
355
|
-
else if (c === Infinity) switch (I) {
|
|
356
|
-
case "lowercase": return ".inf";
|
|
357
|
-
case "uppercase": return ".INF";
|
|
358
|
-
case "camelcase": return ".Inf";
|
|
359
|
-
}
|
|
360
|
-
else if (c === -Infinity) switch (I) {
|
|
361
|
-
case "lowercase": return "-.inf";
|
|
362
|
-
case "uppercase": return "-.INF";
|
|
363
|
-
case "camelcase": return "-.Inf";
|
|
364
|
-
}
|
|
365
|
-
else if (common.isNegativeZero(c)) return "-0.0";
|
|
366
|
-
return L = c.toString(10), SCIENTIFIC_WITHOUT_DOT.test(L) ? L.replace("e", ".e") : L;
|
|
367
|
-
}
|
|
368
|
-
__name(representYamlFloat, "representYamlFloat");
|
|
369
|
-
function isFloat(c) {
|
|
370
|
-
return Object.prototype.toString.call(c) === "[object Number]" && (c % 1 != 0 || common.isNegativeZero(c));
|
|
371
|
-
}
|
|
372
|
-
__name(isFloat, "isFloat");
|
|
373
|
-
var float = new type("tag:yaml.org,2002:float", {
|
|
374
|
-
kind: "scalar",
|
|
375
|
-
resolve: resolveYamlFloat,
|
|
376
|
-
construct: constructYamlFloat,
|
|
377
|
-
predicate: isFloat,
|
|
378
|
-
represent: representYamlFloat,
|
|
379
|
-
defaultStyle: "lowercase"
|
|
380
|
-
}), json = failsafe.extend({ implicit: [
|
|
381
|
-
_null,
|
|
382
|
-
bool,
|
|
383
|
-
int,
|
|
384
|
-
float
|
|
385
|
-
] }), core = json, YAML_DATE_REGEXP = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
|
386
|
-
function resolveYamlTimestamp(c) {
|
|
387
|
-
return c === null ? !1 : YAML_DATE_REGEXP.exec(c) !== null || YAML_TIMESTAMP_REGEXP.exec(c) !== null;
|
|
388
|
-
}
|
|
389
|
-
__name(resolveYamlTimestamp, "resolveYamlTimestamp");
|
|
390
|
-
function constructYamlTimestamp(c) {
|
|
391
|
-
var I, L, R, z, B, V, H, U = 0, W = null, G, K, q;
|
|
392
|
-
if (I = YAML_DATE_REGEXP.exec(c), I === null && (I = YAML_TIMESTAMP_REGEXP.exec(c)), I === null) throw Error("Date resolve error");
|
|
393
|
-
if (L = +I[1], R = I[2] - 1, z = +I[3], !I[4]) return new Date(Date.UTC(L, R, z));
|
|
394
|
-
if (B = +I[4], V = +I[5], H = +I[6], I[7]) {
|
|
395
|
-
for (U = I[7].slice(0, 3); U.length < 3;) U += "0";
|
|
396
|
-
U = +U;
|
|
397
|
-
}
|
|
398
|
-
return I[9] && (G = +I[10], K = +(I[11] || 0), W = (G * 60 + K) * 6e4, I[9] === "-" && (W = -W)), q = new Date(Date.UTC(L, R, z, B, V, H, U)), W && q.setTime(q.getTime() - W), q;
|
|
399
|
-
}
|
|
400
|
-
__name(constructYamlTimestamp, "constructYamlTimestamp");
|
|
401
|
-
function representYamlTimestamp(c) {
|
|
402
|
-
return c.toISOString();
|
|
403
|
-
}
|
|
404
|
-
__name(representYamlTimestamp, "representYamlTimestamp");
|
|
405
|
-
var timestamp = new type("tag:yaml.org,2002:timestamp", {
|
|
406
|
-
kind: "scalar",
|
|
407
|
-
resolve: resolveYamlTimestamp,
|
|
408
|
-
construct: constructYamlTimestamp,
|
|
409
|
-
instanceOf: Date,
|
|
410
|
-
represent: representYamlTimestamp
|
|
411
|
-
});
|
|
412
|
-
function resolveYamlMerge(c) {
|
|
413
|
-
return c === "<<" || c === null;
|
|
414
|
-
}
|
|
415
|
-
__name(resolveYamlMerge, "resolveYamlMerge");
|
|
416
|
-
var merge = new type("tag:yaml.org,2002:merge", {
|
|
417
|
-
kind: "scalar",
|
|
418
|
-
resolve: resolveYamlMerge
|
|
419
|
-
}), BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
|
420
|
-
function resolveYamlBinary(c) {
|
|
421
|
-
if (c === null) return !1;
|
|
422
|
-
var I, L, R = 0, z = c.length, B = BASE64_MAP;
|
|
423
|
-
for (L = 0; L < z; L++) if (I = B.indexOf(c.charAt(L)), !(I > 64)) {
|
|
424
|
-
if (I < 0) return !1;
|
|
425
|
-
R += 6;
|
|
426
|
-
}
|
|
427
|
-
return R % 8 == 0;
|
|
428
|
-
}
|
|
429
|
-
__name(resolveYamlBinary, "resolveYamlBinary");
|
|
430
|
-
function constructYamlBinary(c) {
|
|
431
|
-
var I, L, R = c.replace(/[\r\n=]/g, ""), z = R.length, B = BASE64_MAP, V = 0, H = [];
|
|
432
|
-
for (I = 0; I < z; I++) I % 4 == 0 && I && (H.push(V >> 16 & 255), H.push(V >> 8 & 255), H.push(V & 255)), V = V << 6 | B.indexOf(R.charAt(I));
|
|
433
|
-
return L = z % 4 * 6, L === 0 ? (H.push(V >> 16 & 255), H.push(V >> 8 & 255), H.push(V & 255)) : L === 18 ? (H.push(V >> 10 & 255), H.push(V >> 2 & 255)) : L === 12 && H.push(V >> 4 & 255), new Uint8Array(H);
|
|
434
|
-
}
|
|
435
|
-
__name(constructYamlBinary, "constructYamlBinary");
|
|
436
|
-
function representYamlBinary(c) {
|
|
437
|
-
var I = "", L = 0, R, z, B = c.length, V = BASE64_MAP;
|
|
438
|
-
for (R = 0; R < B; R++) R % 3 == 0 && R && (I += V[L >> 18 & 63], I += V[L >> 12 & 63], I += V[L >> 6 & 63], I += V[L & 63]), L = (L << 8) + c[R];
|
|
439
|
-
return z = B % 3, z === 0 ? (I += V[L >> 18 & 63], I += V[L >> 12 & 63], I += V[L >> 6 & 63], I += V[L & 63]) : z === 2 ? (I += V[L >> 10 & 63], I += V[L >> 4 & 63], I += V[L << 2 & 63], I += V[64]) : z === 1 && (I += V[L >> 2 & 63], I += V[L << 4 & 63], I += V[64], I += V[64]), I;
|
|
440
|
-
}
|
|
441
|
-
__name(representYamlBinary, "representYamlBinary");
|
|
442
|
-
function isBinary(c) {
|
|
443
|
-
return Object.prototype.toString.call(c) === "[object Uint8Array]";
|
|
444
|
-
}
|
|
445
|
-
__name(isBinary, "isBinary");
|
|
446
|
-
var binary = new type("tag:yaml.org,2002:binary", {
|
|
447
|
-
kind: "scalar",
|
|
448
|
-
resolve: resolveYamlBinary,
|
|
449
|
-
construct: constructYamlBinary,
|
|
450
|
-
predicate: isBinary,
|
|
451
|
-
represent: representYamlBinary
|
|
452
|
-
}), _hasOwnProperty$3 = Object.prototype.hasOwnProperty, _toString$2 = Object.prototype.toString;
|
|
453
|
-
function resolveYamlOmap(c) {
|
|
454
|
-
if (c === null) return !0;
|
|
455
|
-
var I = [], L, R, z, B, V, H = c;
|
|
456
|
-
for (L = 0, R = H.length; L < R; L += 1) {
|
|
457
|
-
if (z = H[L], V = !1, _toString$2.call(z) !== "[object Object]") return !1;
|
|
458
|
-
for (B in z) if (_hasOwnProperty$3.call(z, B)) if (!V) V = !0;
|
|
459
|
-
else return !1;
|
|
460
|
-
if (!V) return !1;
|
|
461
|
-
if (I.indexOf(B) === -1) I.push(B);
|
|
462
|
-
else return !1;
|
|
463
|
-
}
|
|
464
|
-
return !0;
|
|
465
|
-
}
|
|
466
|
-
__name(resolveYamlOmap, "resolveYamlOmap");
|
|
467
|
-
function constructYamlOmap(c) {
|
|
468
|
-
return c === null ? [] : c;
|
|
469
|
-
}
|
|
470
|
-
__name(constructYamlOmap, "constructYamlOmap");
|
|
471
|
-
var omap = new type("tag:yaml.org,2002:omap", {
|
|
472
|
-
kind: "sequence",
|
|
473
|
-
resolve: resolveYamlOmap,
|
|
474
|
-
construct: constructYamlOmap
|
|
475
|
-
}), _toString$1 = Object.prototype.toString;
|
|
476
|
-
function resolveYamlPairs(c) {
|
|
477
|
-
if (c === null) return !0;
|
|
478
|
-
var I, L, R, z, B, V = c;
|
|
479
|
-
for (B = Array(V.length), I = 0, L = V.length; I < L; I += 1) {
|
|
480
|
-
if (R = V[I], _toString$1.call(R) !== "[object Object]" || (z = Object.keys(R), z.length !== 1)) return !1;
|
|
481
|
-
B[I] = [z[0], R[z[0]]];
|
|
482
|
-
}
|
|
483
|
-
return !0;
|
|
484
|
-
}
|
|
485
|
-
__name(resolveYamlPairs, "resolveYamlPairs");
|
|
486
|
-
function constructYamlPairs(c) {
|
|
487
|
-
if (c === null) return [];
|
|
488
|
-
var I, L, R, z, B, V = c;
|
|
489
|
-
for (B = Array(V.length), I = 0, L = V.length; I < L; I += 1) R = V[I], z = Object.keys(R), B[I] = [z[0], R[z[0]]];
|
|
490
|
-
return B;
|
|
491
|
-
}
|
|
492
|
-
__name(constructYamlPairs, "constructYamlPairs");
|
|
493
|
-
var pairs = new type("tag:yaml.org,2002:pairs", {
|
|
494
|
-
kind: "sequence",
|
|
495
|
-
resolve: resolveYamlPairs,
|
|
496
|
-
construct: constructYamlPairs
|
|
497
|
-
}), _hasOwnProperty$2 = Object.prototype.hasOwnProperty;
|
|
498
|
-
function resolveYamlSet(c) {
|
|
499
|
-
if (c === null) return !0;
|
|
500
|
-
var I, L = c;
|
|
501
|
-
for (I in L) if (_hasOwnProperty$2.call(L, I) && L[I] !== null) return !1;
|
|
502
|
-
return !0;
|
|
503
|
-
}
|
|
504
|
-
__name(resolveYamlSet, "resolveYamlSet");
|
|
505
|
-
function constructYamlSet(c) {
|
|
506
|
-
return c === null ? {} : c;
|
|
507
|
-
}
|
|
508
|
-
__name(constructYamlSet, "constructYamlSet");
|
|
509
|
-
var set = new type("tag:yaml.org,2002:set", {
|
|
510
|
-
kind: "mapping",
|
|
511
|
-
resolve: resolveYamlSet,
|
|
512
|
-
construct: constructYamlSet
|
|
513
|
-
}), _default = core.extend({
|
|
514
|
-
implicit: [timestamp, merge],
|
|
515
|
-
explicit: [
|
|
516
|
-
binary,
|
|
517
|
-
omap,
|
|
518
|
-
pairs,
|
|
519
|
-
set
|
|
520
|
-
]
|
|
521
|
-
}), _hasOwnProperty$1 = Object.prototype.hasOwnProperty, CONTEXT_FLOW_IN = 1, CONTEXT_FLOW_OUT = 2, CONTEXT_BLOCK_IN = 3, CONTEXT_BLOCK_OUT = 4, CHOMPING_CLIP = 1, CHOMPING_STRIP = 2, CHOMPING_KEEP = 3, PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/, PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/, PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i, PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
522
|
-
function _class(c) {
|
|
523
|
-
return Object.prototype.toString.call(c);
|
|
524
|
-
}
|
|
525
|
-
__name(_class, "_class");
|
|
526
|
-
function is_EOL(c) {
|
|
527
|
-
return c === 10 || c === 13;
|
|
528
|
-
}
|
|
529
|
-
__name(is_EOL, "is_EOL");
|
|
530
|
-
function is_WHITE_SPACE(c) {
|
|
531
|
-
return c === 9 || c === 32;
|
|
532
|
-
}
|
|
533
|
-
__name(is_WHITE_SPACE, "is_WHITE_SPACE");
|
|
534
|
-
function is_WS_OR_EOL(c) {
|
|
535
|
-
return c === 9 || c === 32 || c === 10 || c === 13;
|
|
536
|
-
}
|
|
537
|
-
__name(is_WS_OR_EOL, "is_WS_OR_EOL");
|
|
538
|
-
function is_FLOW_INDICATOR(c) {
|
|
539
|
-
return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
|
|
540
|
-
}
|
|
541
|
-
__name(is_FLOW_INDICATOR, "is_FLOW_INDICATOR");
|
|
542
|
-
function fromHexCode(c) {
|
|
543
|
-
var I;
|
|
544
|
-
return 48 <= c && c <= 57 ? c - 48 : (I = c | 32, 97 <= I && I <= 102 ? I - 97 + 10 : -1);
|
|
545
|
-
}
|
|
546
|
-
__name(fromHexCode, "fromHexCode");
|
|
547
|
-
function escapedHexLen(c) {
|
|
548
|
-
return c === 120 ? 2 : c === 117 ? 4 : c === 85 ? 8 : 0;
|
|
549
|
-
}
|
|
550
|
-
__name(escapedHexLen, "escapedHexLen");
|
|
551
|
-
function fromDecimalCode(c) {
|
|
552
|
-
return 48 <= c && c <= 57 ? c - 48 : -1;
|
|
553
|
-
}
|
|
554
|
-
__name(fromDecimalCode, "fromDecimalCode");
|
|
555
|
-
function simpleEscapeSequence(c) {
|
|
556
|
-
return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 || c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? "\"" : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "
" : c === 95 ? "\xA0" : c === 76 ? "\u2028" : c === 80 ? "\u2029" : "";
|
|
557
|
-
}
|
|
558
|
-
__name(simpleEscapeSequence, "simpleEscapeSequence");
|
|
559
|
-
function charFromCodepoint(c) {
|
|
560
|
-
return c <= 65535 ? String.fromCharCode(c) : String.fromCharCode((c - 65536 >> 10) + 55296, (c - 65536 & 1023) + 56320);
|
|
561
|
-
}
|
|
562
|
-
__name(charFromCodepoint, "charFromCodepoint");
|
|
563
|
-
var simpleEscapeCheck = Array(256), simpleEscapeMap = Array(256);
|
|
564
|
-
for (i = 0; i < 256; i++) simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0, simpleEscapeMap[i] = simpleEscapeSequence(i);
|
|
565
|
-
var i;
|
|
566
|
-
function State$1(c, I) {
|
|
567
|
-
this.input = c, this.filename = I.filename || null, this.schema = I.schema || _default, this.onWarning = I.onWarning || null, this.legacy = I.legacy || !1, this.json = I.json || !1, this.listener = I.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = c.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
568
|
-
}
|
|
569
|
-
__name(State$1, "State$1");
|
|
570
|
-
function generateError(c, I) {
|
|
571
|
-
var L = {
|
|
572
|
-
name: c.filename,
|
|
573
|
-
buffer: c.input.slice(0, -1),
|
|
574
|
-
position: c.position,
|
|
575
|
-
line: c.line,
|
|
576
|
-
column: c.position - c.lineStart
|
|
577
|
-
};
|
|
578
|
-
return L.snippet = snippet(L), new exception(I, L);
|
|
579
|
-
}
|
|
580
|
-
__name(generateError, "generateError");
|
|
581
|
-
function throwError(c, I) {
|
|
582
|
-
throw generateError(c, I);
|
|
583
|
-
}
|
|
584
|
-
__name(throwError, "throwError");
|
|
585
|
-
function throwWarning(c, I) {
|
|
586
|
-
c.onWarning && c.onWarning.call(null, generateError(c, I));
|
|
587
|
-
}
|
|
588
|
-
__name(throwWarning, "throwWarning");
|
|
589
|
-
var directiveHandlers = {
|
|
590
|
-
YAML: /* @__PURE__ */ __name(function(c, I, L) {
|
|
591
|
-
var R, z, B;
|
|
592
|
-
c.version !== null && throwError(c, "duplication of %YAML directive"), L.length !== 1 && throwError(c, "YAML directive accepts exactly one argument"), R = /^([0-9]+)\.([0-9]+)$/.exec(L[0]), R === null && throwError(c, "ill-formed argument of the YAML directive"), z = parseInt(R[1], 10), B = parseInt(R[2], 10), z !== 1 && throwError(c, "unacceptable YAML version of the document"), c.version = L[0], c.checkLineBreaks = B < 2, B !== 1 && B !== 2 && throwWarning(c, "unsupported YAML version of the document");
|
|
593
|
-
}, "handleYamlDirective"),
|
|
594
|
-
TAG: /* @__PURE__ */ __name(function(c, I, L) {
|
|
595
|
-
var R, z;
|
|
596
|
-
L.length !== 2 && throwError(c, "TAG directive accepts exactly two arguments"), R = L[0], z = L[1], PATTERN_TAG_HANDLE.test(R) || throwError(c, "ill-formed tag handle (first argument) of the TAG directive"), _hasOwnProperty$1.call(c.tagMap, R) && throwError(c, "there is a previously declared suffix for \"" + R + "\" tag handle"), PATTERN_TAG_URI.test(z) || throwError(c, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
597
|
-
try {
|
|
598
|
-
z = decodeURIComponent(z);
|
|
599
|
-
} catch {
|
|
600
|
-
throwError(c, "tag prefix is malformed: " + z);
|
|
601
|
-
}
|
|
602
|
-
c.tagMap[R] = z;
|
|
603
|
-
}, "handleTagDirective")
|
|
604
|
-
};
|
|
605
|
-
function captureSegment(c, I, L, R) {
|
|
606
|
-
var z, B, V, H;
|
|
607
|
-
if (I < L) {
|
|
608
|
-
if (H = c.input.slice(I, L), R) for (z = 0, B = H.length; z < B; z += 1) V = H.charCodeAt(z), V === 9 || 32 <= V && V <= 1114111 || throwError(c, "expected valid JSON character");
|
|
609
|
-
else PATTERN_NON_PRINTABLE.test(H) && throwError(c, "the stream contains non-printable characters");
|
|
610
|
-
c.result += H;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
__name(captureSegment, "captureSegment");
|
|
614
|
-
function mergeMappings(c, I, L, R) {
|
|
615
|
-
var z, B, V, U;
|
|
616
|
-
for (common.isObject(L) || throwError(c, "cannot merge mappings; the provided source object is unacceptable"), z = Object.keys(L), V = 0, U = z.length; V < U; V += 1) B = z[V], _hasOwnProperty$1.call(I, B) || (I[B] = L[B], R[B] = !0);
|
|
617
|
-
}
|
|
618
|
-
__name(mergeMappings, "mergeMappings");
|
|
619
|
-
function storeMappingPair(c, I, L, R, z, B, V, H, U) {
|
|
620
|
-
var W, G;
|
|
621
|
-
if (Array.isArray(z)) for (z = Array.prototype.slice.call(z), W = 0, G = z.length; W < G; W += 1) Array.isArray(z[W]) && throwError(c, "nested arrays are not supported inside keys"), typeof z == "object" && _class(z[W]) === "[object Object]" && (z[W] = "[object Object]");
|
|
622
|
-
if (typeof z == "object" && _class(z) === "[object Object]" && (z = "[object Object]"), z = String(z), I === null && (I = {}), R === "tag:yaml.org,2002:merge") if (Array.isArray(B)) for (W = 0, G = B.length; W < G; W += 1) mergeMappings(c, I, B[W], L);
|
|
623
|
-
else mergeMappings(c, I, B, L);
|
|
624
|
-
else !c.json && !_hasOwnProperty$1.call(L, z) && _hasOwnProperty$1.call(I, z) && (c.line = V || c.line, c.lineStart = H || c.lineStart, c.position = U || c.position, throwError(c, "duplicated mapping key")), z === "__proto__" ? Object.defineProperty(I, z, {
|
|
625
|
-
configurable: !0,
|
|
626
|
-
enumerable: !0,
|
|
627
|
-
writable: !0,
|
|
628
|
-
value: B
|
|
629
|
-
}) : I[z] = B, delete L[z];
|
|
630
|
-
return I;
|
|
631
|
-
}
|
|
632
|
-
__name(storeMappingPair, "storeMappingPair");
|
|
633
|
-
function readLineBreak(c) {
|
|
634
|
-
var I = c.input.charCodeAt(c.position);
|
|
635
|
-
I === 10 ? c.position++ : I === 13 ? (c.position++, c.input.charCodeAt(c.position) === 10 && c.position++) : throwError(c, "a line break is expected"), c.line += 1, c.lineStart = c.position, c.firstTabInLine = -1;
|
|
636
|
-
}
|
|
637
|
-
__name(readLineBreak, "readLineBreak");
|
|
638
|
-
function skipSeparationSpace(c, I, L) {
|
|
639
|
-
for (var R = 0, z = c.input.charCodeAt(c.position); z !== 0;) {
|
|
640
|
-
for (; is_WHITE_SPACE(z);) z === 9 && c.firstTabInLine === -1 && (c.firstTabInLine = c.position), z = c.input.charCodeAt(++c.position);
|
|
641
|
-
if (I && z === 35) do
|
|
642
|
-
z = c.input.charCodeAt(++c.position);
|
|
643
|
-
while (z !== 10 && z !== 13 && z !== 0);
|
|
644
|
-
if (is_EOL(z)) for (readLineBreak(c), z = c.input.charCodeAt(c.position), R++, c.lineIndent = 0; z === 32;) c.lineIndent++, z = c.input.charCodeAt(++c.position);
|
|
645
|
-
else break;
|
|
646
|
-
}
|
|
647
|
-
return L !== -1 && R !== 0 && c.lineIndent < L && throwWarning(c, "deficient indentation"), R;
|
|
648
|
-
}
|
|
649
|
-
__name(skipSeparationSpace, "skipSeparationSpace");
|
|
650
|
-
function testDocumentSeparator(c) {
|
|
651
|
-
var I = c.position, L = c.input.charCodeAt(I);
|
|
652
|
-
return !!((L === 45 || L === 46) && L === c.input.charCodeAt(I + 1) && L === c.input.charCodeAt(I + 2) && (I += 3, L = c.input.charCodeAt(I), L === 0 || is_WS_OR_EOL(L)));
|
|
653
|
-
}
|
|
654
|
-
__name(testDocumentSeparator, "testDocumentSeparator");
|
|
655
|
-
function writeFoldedLines(c, I) {
|
|
656
|
-
I === 1 ? c.result += " " : I > 1 && (c.result += common.repeat("\n", I - 1));
|
|
657
|
-
}
|
|
658
|
-
__name(writeFoldedLines, "writeFoldedLines");
|
|
659
|
-
function readPlainScalar(c, I, L) {
|
|
660
|
-
var R, z, B, V, H, U, W, G, K = c.kind, q = c.result, J = c.input.charCodeAt(c.position);
|
|
661
|
-
if (is_WS_OR_EOL(J) || is_FLOW_INDICATOR(J) || J === 35 || J === 38 || J === 42 || J === 33 || J === 124 || J === 62 || J === 39 || J === 34 || J === 37 || J === 64 || J === 96 || (J === 63 || J === 45) && (z = c.input.charCodeAt(c.position + 1), is_WS_OR_EOL(z) || L && is_FLOW_INDICATOR(z))) return !1;
|
|
662
|
-
for (c.kind = "scalar", c.result = "", B = V = c.position, H = !1; J !== 0;) {
|
|
663
|
-
if (J === 58) {
|
|
664
|
-
if (z = c.input.charCodeAt(c.position + 1), is_WS_OR_EOL(z) || L && is_FLOW_INDICATOR(z)) break;
|
|
665
|
-
} else if (J === 35) {
|
|
666
|
-
if (R = c.input.charCodeAt(c.position - 1), is_WS_OR_EOL(R)) break;
|
|
667
|
-
} else if (c.position === c.lineStart && testDocumentSeparator(c) || L && is_FLOW_INDICATOR(J)) break;
|
|
668
|
-
else if (is_EOL(J)) if (U = c.line, W = c.lineStart, G = c.lineIndent, skipSeparationSpace(c, !1, -1), c.lineIndent >= I) {
|
|
669
|
-
H = !0, J = c.input.charCodeAt(c.position);
|
|
670
|
-
continue;
|
|
671
|
-
} else {
|
|
672
|
-
c.position = V, c.line = U, c.lineStart = W, c.lineIndent = G;
|
|
673
|
-
break;
|
|
674
|
-
}
|
|
675
|
-
H &&= (captureSegment(c, B, V, !1), writeFoldedLines(c, c.line - U), B = V = c.position, !1), is_WHITE_SPACE(J) || (V = c.position + 1), J = c.input.charCodeAt(++c.position);
|
|
676
|
-
}
|
|
677
|
-
return captureSegment(c, B, V, !1), c.result ? !0 : (c.kind = K, c.result = q, !1);
|
|
678
|
-
}
|
|
679
|
-
__name(readPlainScalar, "readPlainScalar");
|
|
680
|
-
function readSingleQuotedScalar(c, I) {
|
|
681
|
-
var L = c.input.charCodeAt(c.position), R, z;
|
|
682
|
-
if (L !== 39) return !1;
|
|
683
|
-
for (c.kind = "scalar", c.result = "", c.position++, R = z = c.position; (L = c.input.charCodeAt(c.position)) !== 0;) if (L === 39) if (captureSegment(c, R, c.position, !0), L = c.input.charCodeAt(++c.position), L === 39) R = c.position, c.position++, z = c.position;
|
|
684
|
-
else return !0;
|
|
685
|
-
else is_EOL(L) ? (captureSegment(c, R, z, !0), writeFoldedLines(c, skipSeparationSpace(c, !1, I)), R = z = c.position) : c.position === c.lineStart && testDocumentSeparator(c) ? throwError(c, "unexpected end of the document within a single quoted scalar") : (c.position++, z = c.position);
|
|
686
|
-
throwError(c, "unexpected end of the stream within a single quoted scalar");
|
|
687
|
-
}
|
|
688
|
-
__name(readSingleQuotedScalar, "readSingleQuotedScalar");
|
|
689
|
-
function readDoubleQuotedScalar(c, I) {
|
|
690
|
-
var L, R, z, B, V, H = c.input.charCodeAt(c.position);
|
|
691
|
-
if (H !== 34) return !1;
|
|
692
|
-
for (c.kind = "scalar", c.result = "", c.position++, L = R = c.position; (H = c.input.charCodeAt(c.position)) !== 0;) if (H === 34) return captureSegment(c, L, c.position, !0), c.position++, !0;
|
|
693
|
-
else if (H === 92) {
|
|
694
|
-
if (captureSegment(c, L, c.position, !0), H = c.input.charCodeAt(++c.position), is_EOL(H)) skipSeparationSpace(c, !1, I);
|
|
695
|
-
else if (H < 256 && simpleEscapeCheck[H]) c.result += simpleEscapeMap[H], c.position++;
|
|
696
|
-
else if ((V = escapedHexLen(H)) > 0) {
|
|
697
|
-
for (z = V, B = 0; z > 0; z--) H = c.input.charCodeAt(++c.position), (V = fromHexCode(H)) >= 0 ? B = (B << 4) + V : throwError(c, "expected hexadecimal character");
|
|
698
|
-
c.result += charFromCodepoint(B), c.position++;
|
|
699
|
-
} else throwError(c, "unknown escape sequence");
|
|
700
|
-
L = R = c.position;
|
|
701
|
-
} else is_EOL(H) ? (captureSegment(c, L, R, !0), writeFoldedLines(c, skipSeparationSpace(c, !1, I)), L = R = c.position) : c.position === c.lineStart && testDocumentSeparator(c) ? throwError(c, "unexpected end of the document within a double quoted scalar") : (c.position++, R = c.position);
|
|
702
|
-
throwError(c, "unexpected end of the stream within a double quoted scalar");
|
|
703
|
-
}
|
|
704
|
-
__name(readDoubleQuotedScalar, "readDoubleQuotedScalar");
|
|
705
|
-
function readFlowCollection(c, I) {
|
|
706
|
-
var L = !0, R, z, B, V = c.tag, H, U = c.anchor, W, G, K, q, J, Y = /* @__PURE__ */ Object.create(null), X, Z, Q, $ = c.input.charCodeAt(c.position);
|
|
707
|
-
if ($ === 91) G = 93, J = !1, H = [];
|
|
708
|
-
else if ($ === 123) G = 125, J = !0, H = {};
|
|
709
|
-
else return !1;
|
|
710
|
-
for (c.anchor !== null && (c.anchorMap[c.anchor] = H), $ = c.input.charCodeAt(++c.position); $ !== 0;) {
|
|
711
|
-
if (skipSeparationSpace(c, !0, I), $ = c.input.charCodeAt(c.position), $ === G) return c.position++, c.tag = V, c.anchor = U, c.kind = J ? "mapping" : "sequence", c.result = H, !0;
|
|
712
|
-
L ? $ === 44 && throwError(c, "expected the node content, but found ','") : throwError(c, "missed comma between flow collection entries"), Z = X = Q = null, K = q = !1, $ === 63 && (W = c.input.charCodeAt(c.position + 1), is_WS_OR_EOL(W) && (K = q = !0, c.position++, skipSeparationSpace(c, !0, I))), R = c.line, z = c.lineStart, B = c.position, composeNode(c, I, CONTEXT_FLOW_IN, !1, !0), Z = c.tag, X = c.result, skipSeparationSpace(c, !0, I), $ = c.input.charCodeAt(c.position), (q || c.line === R) && $ === 58 && (K = !0, $ = c.input.charCodeAt(++c.position), skipSeparationSpace(c, !0, I), composeNode(c, I, CONTEXT_FLOW_IN, !1, !0), Q = c.result), J ? storeMappingPair(c, H, Y, Z, X, Q, R, z, B) : K ? H.push(storeMappingPair(c, null, Y, Z, X, Q, R, z, B)) : H.push(X), skipSeparationSpace(c, !0, I), $ = c.input.charCodeAt(c.position), $ === 44 ? (L = !0, $ = c.input.charCodeAt(++c.position)) : L = !1;
|
|
713
|
-
}
|
|
714
|
-
throwError(c, "unexpected end of the stream within a flow collection");
|
|
715
|
-
}
|
|
716
|
-
__name(readFlowCollection, "readFlowCollection");
|
|
717
|
-
function readBlockScalar(c, I) {
|
|
718
|
-
var L, R, z = CHOMPING_CLIP, B = !1, V = !1, U = I, W = 0, G = !1, K, q = c.input.charCodeAt(c.position);
|
|
719
|
-
if (q === 124) R = !1;
|
|
720
|
-
else if (q === 62) R = !0;
|
|
721
|
-
else return !1;
|
|
722
|
-
for (c.kind = "scalar", c.result = ""; q !== 0;) if (q = c.input.charCodeAt(++c.position), q === 43 || q === 45) CHOMPING_CLIP === z ? z = q === 43 ? CHOMPING_KEEP : CHOMPING_STRIP : throwError(c, "repeat of a chomping mode identifier");
|
|
723
|
-
else if ((K = fromDecimalCode(q)) >= 0) K === 0 ? throwError(c, "bad explicit indentation width of a block scalar; it cannot be less than one") : V ? throwError(c, "repeat of an indentation width identifier") : (U = I + K - 1, V = !0);
|
|
724
|
-
else break;
|
|
725
|
-
if (is_WHITE_SPACE(q)) {
|
|
726
|
-
do
|
|
727
|
-
q = c.input.charCodeAt(++c.position);
|
|
728
|
-
while (is_WHITE_SPACE(q));
|
|
729
|
-
if (q === 35) do
|
|
730
|
-
q = c.input.charCodeAt(++c.position);
|
|
731
|
-
while (!is_EOL(q) && q !== 0);
|
|
732
|
-
}
|
|
733
|
-
for (; q !== 0;) {
|
|
734
|
-
for (readLineBreak(c), c.lineIndent = 0, q = c.input.charCodeAt(c.position); (!V || c.lineIndent < U) && q === 32;) c.lineIndent++, q = c.input.charCodeAt(++c.position);
|
|
735
|
-
if (!V && c.lineIndent > U && (U = c.lineIndent), is_EOL(q)) {
|
|
736
|
-
W++;
|
|
737
|
-
continue;
|
|
738
|
-
}
|
|
739
|
-
if (c.lineIndent < U) {
|
|
740
|
-
z === CHOMPING_KEEP ? c.result += common.repeat("\n", B ? 1 + W : W) : z === CHOMPING_CLIP && B && (c.result += "\n");
|
|
741
|
-
break;
|
|
742
|
-
}
|
|
743
|
-
for (R ? is_WHITE_SPACE(q) ? (G = !0, c.result += common.repeat("\n", B ? 1 + W : W)) : G ? (G = !1, c.result += common.repeat("\n", W + 1)) : W === 0 ? B && (c.result += " ") : c.result += common.repeat("\n", W) : c.result += common.repeat("\n", B ? 1 + W : W), B = !0, V = !0, W = 0, L = c.position; !is_EOL(q) && q !== 0;) q = c.input.charCodeAt(++c.position);
|
|
744
|
-
captureSegment(c, L, c.position, !1);
|
|
745
|
-
}
|
|
746
|
-
return !0;
|
|
747
|
-
}
|
|
748
|
-
__name(readBlockScalar, "readBlockScalar");
|
|
749
|
-
function readBlockSequence(c, I) {
|
|
750
|
-
var L, R = c.tag, z = c.anchor, B = [], V, H = !1, U;
|
|
751
|
-
if (c.firstTabInLine !== -1) return !1;
|
|
752
|
-
for (c.anchor !== null && (c.anchorMap[c.anchor] = B), U = c.input.charCodeAt(c.position); U !== 0 && (c.firstTabInLine !== -1 && (c.position = c.firstTabInLine, throwError(c, "tab characters must not be used in indentation")), !(U !== 45 || (V = c.input.charCodeAt(c.position + 1), !is_WS_OR_EOL(V))));) {
|
|
753
|
-
if (H = !0, c.position++, skipSeparationSpace(c, !0, -1) && c.lineIndent <= I) {
|
|
754
|
-
B.push(null), U = c.input.charCodeAt(c.position);
|
|
755
|
-
continue;
|
|
756
|
-
}
|
|
757
|
-
if (L = c.line, composeNode(c, I, CONTEXT_BLOCK_IN, !1, !0), B.push(c.result), skipSeparationSpace(c, !0, -1), U = c.input.charCodeAt(c.position), (c.line === L || c.lineIndent > I) && U !== 0) throwError(c, "bad indentation of a sequence entry");
|
|
758
|
-
else if (c.lineIndent < I) break;
|
|
759
|
-
}
|
|
760
|
-
return H ? (c.tag = R, c.anchor = z, c.kind = "sequence", c.result = B, !0) : !1;
|
|
761
|
-
}
|
|
762
|
-
__name(readBlockSequence, "readBlockSequence");
|
|
763
|
-
function readBlockMapping(c, I, L) {
|
|
764
|
-
var R, z, B, V, H, U, W = c.tag, G = c.anchor, K = {}, q = /* @__PURE__ */ Object.create(null), J = null, Y = null, X = null, Z = !1, Q = !1, $;
|
|
765
|
-
if (c.firstTabInLine !== -1) return !1;
|
|
766
|
-
for (c.anchor !== null && (c.anchorMap[c.anchor] = K), $ = c.input.charCodeAt(c.position); $ !== 0;) {
|
|
767
|
-
if (!Z && c.firstTabInLine !== -1 && (c.position = c.firstTabInLine, throwError(c, "tab characters must not be used in indentation")), R = c.input.charCodeAt(c.position + 1), B = c.line, ($ === 63 || $ === 58) && is_WS_OR_EOL(R)) $ === 63 ? (Z && (storeMappingPair(c, K, q, J, Y, null, V, H, U), J = Y = X = null), Q = !0, Z = !0, z = !0) : Z ? (Z = !1, z = !0) : throwError(c, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), c.position += 1, $ = R;
|
|
768
|
-
else {
|
|
769
|
-
if (V = c.line, H = c.lineStart, U = c.position, !composeNode(c, L, CONTEXT_FLOW_OUT, !1, !0)) break;
|
|
770
|
-
if (c.line === B) {
|
|
771
|
-
for ($ = c.input.charCodeAt(c.position); is_WHITE_SPACE($);) $ = c.input.charCodeAt(++c.position);
|
|
772
|
-
if ($ === 58) $ = c.input.charCodeAt(++c.position), is_WS_OR_EOL($) || throwError(c, "a whitespace character is expected after the key-value separator within a block mapping"), Z && (storeMappingPair(c, K, q, J, Y, null, V, H, U), J = Y = X = null), Q = !0, Z = !1, z = !1, J = c.tag, Y = c.result;
|
|
773
|
-
else if (Q) throwError(c, "can not read an implicit mapping pair; a colon is missed");
|
|
774
|
-
else return c.tag = W, c.anchor = G, !0;
|
|
775
|
-
} else if (Q) throwError(c, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
776
|
-
else return c.tag = W, c.anchor = G, !0;
|
|
777
|
-
}
|
|
778
|
-
if ((c.line === B || c.lineIndent > I) && (Z && (V = c.line, H = c.lineStart, U = c.position), composeNode(c, I, CONTEXT_BLOCK_OUT, !0, z) && (Z ? Y = c.result : X = c.result), Z || (storeMappingPair(c, K, q, J, Y, X, V, H, U), J = Y = X = null), skipSeparationSpace(c, !0, -1), $ = c.input.charCodeAt(c.position)), (c.line === B || c.lineIndent > I) && $ !== 0) throwError(c, "bad indentation of a mapping entry");
|
|
779
|
-
else if (c.lineIndent < I) break;
|
|
780
|
-
}
|
|
781
|
-
return Z && storeMappingPair(c, K, q, J, Y, null, V, H, U), Q && (c.tag = W, c.anchor = G, c.kind = "mapping", c.result = K), Q;
|
|
782
|
-
}
|
|
783
|
-
__name(readBlockMapping, "readBlockMapping");
|
|
784
|
-
function readTagProperty(c) {
|
|
785
|
-
var I, L = !1, R = !1, z, B, V = c.input.charCodeAt(c.position);
|
|
786
|
-
if (V !== 33) return !1;
|
|
787
|
-
if (c.tag !== null && throwError(c, "duplication of a tag property"), V = c.input.charCodeAt(++c.position), V === 60 ? (L = !0, V = c.input.charCodeAt(++c.position)) : V === 33 ? (R = !0, z = "!!", V = c.input.charCodeAt(++c.position)) : z = "!", I = c.position, L) {
|
|
788
|
-
do
|
|
789
|
-
V = c.input.charCodeAt(++c.position);
|
|
790
|
-
while (V !== 0 && V !== 62);
|
|
791
|
-
c.position < c.length ? (B = c.input.slice(I, c.position), V = c.input.charCodeAt(++c.position)) : throwError(c, "unexpected end of the stream within a verbatim tag");
|
|
792
|
-
} else {
|
|
793
|
-
for (; V !== 0 && !is_WS_OR_EOL(V);) V === 33 && (R ? throwError(c, "tag suffix cannot contain exclamation marks") : (z = c.input.slice(I - 1, c.position + 1), PATTERN_TAG_HANDLE.test(z) || throwError(c, "named tag handle cannot contain such characters"), R = !0, I = c.position + 1)), V = c.input.charCodeAt(++c.position);
|
|
794
|
-
B = c.input.slice(I, c.position), PATTERN_FLOW_INDICATORS.test(B) && throwError(c, "tag suffix cannot contain flow indicator characters");
|
|
795
|
-
}
|
|
796
|
-
B && !PATTERN_TAG_URI.test(B) && throwError(c, "tag name cannot contain such characters: " + B);
|
|
797
|
-
try {
|
|
798
|
-
B = decodeURIComponent(B);
|
|
799
|
-
} catch {
|
|
800
|
-
throwError(c, "tag name is malformed: " + B);
|
|
801
|
-
}
|
|
802
|
-
return L ? c.tag = B : _hasOwnProperty$1.call(c.tagMap, z) ? c.tag = c.tagMap[z] + B : z === "!" ? c.tag = "!" + B : z === "!!" ? c.tag = "tag:yaml.org,2002:" + B : throwError(c, "undeclared tag handle \"" + z + "\""), !0;
|
|
803
|
-
}
|
|
804
|
-
__name(readTagProperty, "readTagProperty");
|
|
805
|
-
function readAnchorProperty(c) {
|
|
806
|
-
var I, L = c.input.charCodeAt(c.position);
|
|
807
|
-
if (L !== 38) return !1;
|
|
808
|
-
for (c.anchor !== null && throwError(c, "duplication of an anchor property"), L = c.input.charCodeAt(++c.position), I = c.position; L !== 0 && !is_WS_OR_EOL(L) && !is_FLOW_INDICATOR(L);) L = c.input.charCodeAt(++c.position);
|
|
809
|
-
return c.position === I && throwError(c, "name of an anchor node must contain at least one character"), c.anchor = c.input.slice(I, c.position), !0;
|
|
810
|
-
}
|
|
811
|
-
__name(readAnchorProperty, "readAnchorProperty");
|
|
812
|
-
function readAlias(c) {
|
|
813
|
-
var I, L, R = c.input.charCodeAt(c.position);
|
|
814
|
-
if (R !== 42) return !1;
|
|
815
|
-
for (R = c.input.charCodeAt(++c.position), I = c.position; R !== 0 && !is_WS_OR_EOL(R) && !is_FLOW_INDICATOR(R);) R = c.input.charCodeAt(++c.position);
|
|
816
|
-
return c.position === I && throwError(c, "name of an alias node must contain at least one character"), L = c.input.slice(I, c.position), _hasOwnProperty$1.call(c.anchorMap, L) || throwError(c, "unidentified alias \"" + L + "\""), c.result = c.anchorMap[L], skipSeparationSpace(c, !0, -1), !0;
|
|
817
|
-
}
|
|
818
|
-
__name(readAlias, "readAlias");
|
|
819
|
-
function composeNode(c, I, L, R, z) {
|
|
820
|
-
var B, V, H, U = 1, W = !1, G = !1, K, q, J, Y, X, Z;
|
|
821
|
-
if (c.listener !== null && c.listener("open", c), c.tag = null, c.anchor = null, c.kind = null, c.result = null, B = V = H = CONTEXT_BLOCK_OUT === L || CONTEXT_BLOCK_IN === L, R && skipSeparationSpace(c, !0, -1) && (W = !0, c.lineIndent > I ? U = 1 : c.lineIndent === I ? U = 0 : c.lineIndent < I && (U = -1)), U === 1) for (; readTagProperty(c) || readAnchorProperty(c);) skipSeparationSpace(c, !0, -1) ? (W = !0, H = B, c.lineIndent > I ? U = 1 : c.lineIndent === I ? U = 0 : c.lineIndent < I && (U = -1)) : H = !1;
|
|
822
|
-
if (H &&= W || z, (U === 1 || CONTEXT_BLOCK_OUT === L) && (X = CONTEXT_FLOW_IN === L || CONTEXT_FLOW_OUT === L ? I : I + 1, Z = c.position - c.lineStart, U === 1 ? H && (readBlockSequence(c, Z) || readBlockMapping(c, Z, X)) || readFlowCollection(c, X) ? G = !0 : (V && readBlockScalar(c, X) || readSingleQuotedScalar(c, X) || readDoubleQuotedScalar(c, X) ? G = !0 : readAlias(c) ? (G = !0, (c.tag !== null || c.anchor !== null) && throwError(c, "alias node should not have any properties")) : readPlainScalar(c, X, CONTEXT_FLOW_IN === L) && (G = !0, c.tag === null && (c.tag = "?")), c.anchor !== null && (c.anchorMap[c.anchor] = c.result)) : U === 0 && (G = H && readBlockSequence(c, Z))), c.tag === null) c.anchor !== null && (c.anchorMap[c.anchor] = c.result);
|
|
823
|
-
else if (c.tag === "?") {
|
|
824
|
-
for (c.result !== null && c.kind !== "scalar" && throwError(c, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + c.kind + "\""), K = 0, q = c.implicitTypes.length; K < q; K += 1) if (Y = c.implicitTypes[K], Y.resolve(c.result)) {
|
|
825
|
-
c.result = Y.construct(c.result), c.tag = Y.tag, c.anchor !== null && (c.anchorMap[c.anchor] = c.result);
|
|
826
|
-
break;
|
|
827
|
-
}
|
|
828
|
-
} else if (c.tag !== "!") {
|
|
829
|
-
if (_hasOwnProperty$1.call(c.typeMap[c.kind || "fallback"], c.tag)) Y = c.typeMap[c.kind || "fallback"][c.tag];
|
|
830
|
-
else for (Y = null, J = c.typeMap.multi[c.kind || "fallback"], K = 0, q = J.length; K < q; K += 1) if (c.tag.slice(0, J[K].tag.length) === J[K].tag) {
|
|
831
|
-
Y = J[K];
|
|
832
|
-
break;
|
|
833
|
-
}
|
|
834
|
-
Y || throwError(c, "unknown tag !<" + c.tag + ">"), c.result !== null && Y.kind !== c.kind && throwError(c, "unacceptable node kind for !<" + c.tag + "> tag; it should be \"" + Y.kind + "\", not \"" + c.kind + "\""), Y.resolve(c.result, c.tag) ? (c.result = Y.construct(c.result, c.tag), c.anchor !== null && (c.anchorMap[c.anchor] = c.result)) : throwError(c, "cannot resolve a node with !<" + c.tag + "> explicit tag");
|
|
835
|
-
}
|
|
836
|
-
return c.listener !== null && c.listener("close", c), c.tag !== null || c.anchor !== null || G;
|
|
837
|
-
}
|
|
838
|
-
__name(composeNode, "composeNode");
|
|
839
|
-
function readDocument(c) {
|
|
840
|
-
var I = c.position, L, R, z, B = !1, V;
|
|
841
|
-
for (c.version = null, c.checkLineBreaks = c.legacy, c.tagMap = /* @__PURE__ */ Object.create(null), c.anchorMap = /* @__PURE__ */ Object.create(null); (V = c.input.charCodeAt(c.position)) !== 0 && (skipSeparationSpace(c, !0, -1), V = c.input.charCodeAt(c.position), !(c.lineIndent > 0 || V !== 37));) {
|
|
842
|
-
for (B = !0, V = c.input.charCodeAt(++c.position), L = c.position; V !== 0 && !is_WS_OR_EOL(V);) V = c.input.charCodeAt(++c.position);
|
|
843
|
-
for (R = c.input.slice(L, c.position), z = [], R.length < 1 && throwError(c, "directive name must not be less than one character in length"); V !== 0;) {
|
|
844
|
-
for (; is_WHITE_SPACE(V);) V = c.input.charCodeAt(++c.position);
|
|
845
|
-
if (V === 35) {
|
|
846
|
-
do
|
|
847
|
-
V = c.input.charCodeAt(++c.position);
|
|
848
|
-
while (V !== 0 && !is_EOL(V));
|
|
849
|
-
break;
|
|
850
|
-
}
|
|
851
|
-
if (is_EOL(V)) break;
|
|
852
|
-
for (L = c.position; V !== 0 && !is_WS_OR_EOL(V);) V = c.input.charCodeAt(++c.position);
|
|
853
|
-
z.push(c.input.slice(L, c.position));
|
|
854
|
-
}
|
|
855
|
-
V !== 0 && readLineBreak(c), _hasOwnProperty$1.call(directiveHandlers, R) ? directiveHandlers[R](c, R, z) : throwWarning(c, "unknown document directive \"" + R + "\"");
|
|
856
|
-
}
|
|
857
|
-
if (skipSeparationSpace(c, !0, -1), c.lineIndent === 0 && c.input.charCodeAt(c.position) === 45 && c.input.charCodeAt(c.position + 1) === 45 && c.input.charCodeAt(c.position + 2) === 45 ? (c.position += 3, skipSeparationSpace(c, !0, -1)) : B && throwError(c, "directives end mark is expected"), composeNode(c, c.lineIndent - 1, CONTEXT_BLOCK_OUT, !1, !0), skipSeparationSpace(c, !0, -1), c.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(c.input.slice(I, c.position)) && throwWarning(c, "non-ASCII line breaks are interpreted as content"), c.documents.push(c.result), c.position === c.lineStart && testDocumentSeparator(c)) {
|
|
858
|
-
c.input.charCodeAt(c.position) === 46 && (c.position += 3, skipSeparationSpace(c, !0, -1));
|
|
859
|
-
return;
|
|
860
|
-
}
|
|
861
|
-
if (c.position < c.length - 1) throwError(c, "end of the stream or a document separator is expected");
|
|
862
|
-
else return;
|
|
863
|
-
}
|
|
864
|
-
__name(readDocument, "readDocument");
|
|
865
|
-
function loadDocuments(c, I) {
|
|
866
|
-
c = String(c), I ||= {}, c.length !== 0 && (c.charCodeAt(c.length - 1) !== 10 && c.charCodeAt(c.length - 1) !== 13 && (c += "\n"), c.charCodeAt(0) === 65279 && (c = c.slice(1)));
|
|
867
|
-
var L = new State$1(c, I), R = c.indexOf("\0");
|
|
868
|
-
for (R !== -1 && (L.position = R, throwError(L, "null byte is not allowed in input")), L.input += "\0"; L.input.charCodeAt(L.position) === 32;) L.lineIndent += 1, L.position += 1;
|
|
869
|
-
for (; L.position < L.length - 1;) readDocument(L);
|
|
870
|
-
return L.documents;
|
|
871
|
-
}
|
|
872
|
-
__name(loadDocuments, "loadDocuments");
|
|
873
|
-
function loadAll$1(c, I, L) {
|
|
874
|
-
typeof I == "object" && I && L === void 0 && (L = I, I = null);
|
|
875
|
-
var R = loadDocuments(c, L);
|
|
876
|
-
if (typeof I != "function") return R;
|
|
877
|
-
for (var z = 0, B = R.length; z < B; z += 1) I(R[z]);
|
|
878
|
-
}
|
|
879
|
-
__name(loadAll$1, "loadAll$1");
|
|
880
|
-
function load$1(c, I) {
|
|
881
|
-
var L = loadDocuments(c, I);
|
|
882
|
-
if (L.length !== 0) {
|
|
883
|
-
if (L.length === 1) return L[0];
|
|
884
|
-
throw new exception("expected a single document in the stream, but found more");
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
__name(load$1, "load$1");
|
|
888
|
-
var loader = {
|
|
889
|
-
loadAll: loadAll$1,
|
|
890
|
-
load: load$1
|
|
891
|
-
}, _toString = Object.prototype.toString, _hasOwnProperty = Object.prototype.hasOwnProperty, CHAR_BOM = 65279, CHAR_TAB = 9, CHAR_LINE_FEED = 10, CHAR_CARRIAGE_RETURN = 13, CHAR_SPACE = 32, CHAR_EXCLAMATION = 33, CHAR_DOUBLE_QUOTE = 34, CHAR_SHARP = 35, CHAR_PERCENT = 37, CHAR_AMPERSAND = 38, CHAR_SINGLE_QUOTE = 39, CHAR_ASTERISK = 42, CHAR_COMMA = 44, CHAR_MINUS = 45, CHAR_COLON = 58, CHAR_EQUALS = 61, CHAR_GREATER_THAN = 62, CHAR_QUESTION = 63, CHAR_COMMERCIAL_AT = 64, CHAR_LEFT_SQUARE_BRACKET = 91, CHAR_RIGHT_SQUARE_BRACKET = 93, CHAR_GRAVE_ACCENT = 96, CHAR_LEFT_CURLY_BRACKET = 123, CHAR_VERTICAL_LINE = 124, CHAR_RIGHT_CURLY_BRACKET = 125, ESCAPE_SEQUENCES = {};
|
|
892
|
-
ESCAPE_SEQUENCES[0] = "\\0", ESCAPE_SEQUENCES[7] = "\\a", ESCAPE_SEQUENCES[8] = "\\b", ESCAPE_SEQUENCES[9] = "\\t", ESCAPE_SEQUENCES[10] = "\\n", ESCAPE_SEQUENCES[11] = "\\v", ESCAPE_SEQUENCES[12] = "\\f", ESCAPE_SEQUENCES[13] = "\\r", ESCAPE_SEQUENCES[27] = "\\e", ESCAPE_SEQUENCES[34] = "\\\"", ESCAPE_SEQUENCES[92] = "\\\\", ESCAPE_SEQUENCES[133] = "\\N", ESCAPE_SEQUENCES[160] = "\\_", ESCAPE_SEQUENCES[8232] = "\\L", ESCAPE_SEQUENCES[8233] = "\\P";
|
|
893
|
-
var DEPRECATED_BOOLEANS_SYNTAX = [
|
|
894
|
-
"y",
|
|
895
|
-
"Y",
|
|
896
|
-
"yes",
|
|
897
|
-
"Yes",
|
|
898
|
-
"YES",
|
|
899
|
-
"on",
|
|
900
|
-
"On",
|
|
901
|
-
"ON",
|
|
902
|
-
"n",
|
|
903
|
-
"N",
|
|
904
|
-
"no",
|
|
905
|
-
"No",
|
|
906
|
-
"NO",
|
|
907
|
-
"off",
|
|
908
|
-
"Off",
|
|
909
|
-
"OFF"
|
|
910
|
-
], DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
911
|
-
function compileStyleMap(c, I) {
|
|
912
|
-
var L, R, z, B, V, H, U;
|
|
913
|
-
if (I === null) return {};
|
|
914
|
-
for (L = {}, R = Object.keys(I), z = 0, B = R.length; z < B; z += 1) V = R[z], H = String(I[V]), V.slice(0, 2) === "!!" && (V = "tag:yaml.org,2002:" + V.slice(2)), U = c.compiledTypeMap.fallback[V], U && _hasOwnProperty.call(U.styleAliases, H) && (H = U.styleAliases[H]), L[V] = H;
|
|
915
|
-
return L;
|
|
916
|
-
}
|
|
917
|
-
__name(compileStyleMap, "compileStyleMap");
|
|
918
|
-
function encodeHex(c) {
|
|
919
|
-
var I = c.toString(16).toUpperCase(), L, R;
|
|
920
|
-
if (c <= 255) L = "x", R = 2;
|
|
921
|
-
else if (c <= 65535) L = "u", R = 4;
|
|
922
|
-
else if (c <= 4294967295) L = "U", R = 8;
|
|
923
|
-
else throw new exception("code point within a string may not be greater than 0xFFFFFFFF");
|
|
924
|
-
return "\\" + L + common.repeat("0", R - I.length) + I;
|
|
925
|
-
}
|
|
926
|
-
__name(encodeHex, "encodeHex");
|
|
927
|
-
var QUOTING_TYPE_SINGLE = 1, QUOTING_TYPE_DOUBLE = 2;
|
|
928
|
-
function State(c) {
|
|
929
|
-
this.schema = c.schema || _default, this.indent = Math.max(1, c.indent || 2), this.noArrayIndent = c.noArrayIndent || !1, this.skipInvalid = c.skipInvalid || !1, this.flowLevel = common.isNothing(c.flowLevel) ? -1 : c.flowLevel, this.styleMap = compileStyleMap(this.schema, c.styles || null), this.sortKeys = c.sortKeys || !1, this.lineWidth = c.lineWidth || 80, this.noRefs = c.noRefs || !1, this.noCompatMode = c.noCompatMode || !1, this.condenseFlow = c.condenseFlow || !1, this.quotingType = c.quotingType === "\"" ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE, this.forceQuotes = c.forceQuotes || !1, this.replacer = typeof c.replacer == "function" ? c.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
930
|
-
}
|
|
931
|
-
__name(State, "State");
|
|
932
|
-
function indentString(c, I) {
|
|
933
|
-
for (var L = common.repeat(" ", I), R = 0, z = -1, B = "", V, U = c.length; R < U;) z = c.indexOf("\n", R), z === -1 ? (V = c.slice(R), R = U) : (V = c.slice(R, z + 1), R = z + 1), V.length && V !== "\n" && (B += L), B += V;
|
|
934
|
-
return B;
|
|
935
|
-
}
|
|
936
|
-
__name(indentString, "indentString");
|
|
937
|
-
function generateNextLine(c, I) {
|
|
938
|
-
return "\n" + common.repeat(" ", c.indent * I);
|
|
939
|
-
}
|
|
940
|
-
__name(generateNextLine, "generateNextLine");
|
|
941
|
-
function testImplicitResolving(c, I) {
|
|
942
|
-
var L, R, z;
|
|
943
|
-
for (L = 0, R = c.implicitTypes.length; L < R; L += 1) if (z = c.implicitTypes[L], z.resolve(I)) return !0;
|
|
944
|
-
return !1;
|
|
945
|
-
}
|
|
946
|
-
__name(testImplicitResolving, "testImplicitResolving");
|
|
947
|
-
function isWhitespace(c) {
|
|
948
|
-
return c === CHAR_SPACE || c === CHAR_TAB;
|
|
949
|
-
}
|
|
950
|
-
__name(isWhitespace, "isWhitespace");
|
|
951
|
-
function isPrintable(c) {
|
|
952
|
-
return 32 <= c && c <= 126 || 161 <= c && c <= 55295 && c !== 8232 && c !== 8233 || 57344 <= c && c <= 65533 && c !== CHAR_BOM || 65536 <= c && c <= 1114111;
|
|
953
|
-
}
|
|
954
|
-
__name(isPrintable, "isPrintable");
|
|
955
|
-
function isNsCharOrWhitespace(c) {
|
|
956
|
-
return isPrintable(c) && c !== CHAR_BOM && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
|
|
957
|
-
}
|
|
958
|
-
__name(isNsCharOrWhitespace, "isNsCharOrWhitespace");
|
|
959
|
-
function isPlainSafe(c, I, L) {
|
|
960
|
-
var R = isNsCharOrWhitespace(c), z = R && !isWhitespace(c);
|
|
961
|
-
return (L ? R : R && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(I === CHAR_COLON && !z) || isNsCharOrWhitespace(I) && !isWhitespace(I) && c === CHAR_SHARP || I === CHAR_COLON && z;
|
|
962
|
-
}
|
|
963
|
-
__name(isPlainSafe, "isPlainSafe");
|
|
964
|
-
function isPlainSafeFirst(c) {
|
|
965
|
-
return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
|
|
966
|
-
}
|
|
967
|
-
__name(isPlainSafeFirst, "isPlainSafeFirst");
|
|
968
|
-
function isPlainSafeLast(c) {
|
|
969
|
-
return !isWhitespace(c) && c !== CHAR_COLON;
|
|
970
|
-
}
|
|
971
|
-
__name(isPlainSafeLast, "isPlainSafeLast");
|
|
972
|
-
function codePointAt(c, I) {
|
|
973
|
-
var L = c.charCodeAt(I), R;
|
|
974
|
-
return L >= 55296 && L <= 56319 && I + 1 < c.length && (R = c.charCodeAt(I + 1), R >= 56320 && R <= 57343) ? (L - 55296) * 1024 + R - 56320 + 65536 : L;
|
|
975
|
-
}
|
|
976
|
-
__name(codePointAt, "codePointAt");
|
|
977
|
-
function needIndentIndicator(c) {
|
|
978
|
-
return /^\n* /.test(c);
|
|
979
|
-
}
|
|
980
|
-
__name(needIndentIndicator, "needIndentIndicator");
|
|
981
|
-
var STYLE_PLAIN = 1, STYLE_SINGLE = 2, STYLE_LITERAL = 3, STYLE_FOLDED = 4, STYLE_DOUBLE = 5;
|
|
982
|
-
function chooseScalarStyle(c, I, L, R, z, B, V, H) {
|
|
983
|
-
var U, W = 0, G = null, K = !1, q = !1, J = R !== -1, Y = -1, X = isPlainSafeFirst(codePointAt(c, 0)) && isPlainSafeLast(codePointAt(c, c.length - 1));
|
|
984
|
-
if (I || V) for (U = 0; U < c.length; W >= 65536 ? U += 2 : U++) {
|
|
985
|
-
if (W = codePointAt(c, U), !isPrintable(W)) return STYLE_DOUBLE;
|
|
986
|
-
X &&= isPlainSafe(W, G, H), G = W;
|
|
987
|
-
}
|
|
988
|
-
else {
|
|
989
|
-
for (U = 0; U < c.length; W >= 65536 ? U += 2 : U++) {
|
|
990
|
-
if (W = codePointAt(c, U), W === CHAR_LINE_FEED) K = !0, J && (q ||= U - Y - 1 > R && c[Y + 1] !== " ", Y = U);
|
|
991
|
-
else if (!isPrintable(W)) return STYLE_DOUBLE;
|
|
992
|
-
X &&= isPlainSafe(W, G, H), G = W;
|
|
993
|
-
}
|
|
994
|
-
q ||= J && U - Y - 1 > R && c[Y + 1] !== " ";
|
|
995
|
-
}
|
|
996
|
-
return !K && !q ? X && !V && !z(c) ? STYLE_PLAIN : B === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE : L > 9 && needIndentIndicator(c) ? STYLE_DOUBLE : V ? B === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE : q ? STYLE_FOLDED : STYLE_LITERAL;
|
|
997
|
-
}
|
|
998
|
-
__name(chooseScalarStyle, "chooseScalarStyle");
|
|
999
|
-
function writeScalar(I, L, R, z, B) {
|
|
1000
|
-
I.dump = (function() {
|
|
1001
|
-
if (L.length === 0) return I.quotingType === QUOTING_TYPE_DOUBLE ? "\"\"" : "''";
|
|
1002
|
-
if (!I.noCompatMode && (DEPRECATED_BOOLEANS_SYNTAX.indexOf(L) !== -1 || DEPRECATED_BASE60_SYNTAX.test(L))) return I.quotingType === QUOTING_TYPE_DOUBLE ? "\"" + L + "\"" : "'" + L + "'";
|
|
1003
|
-
var V = I.indent * Math.max(1, R), H = I.lineWidth === -1 ? -1 : Math.max(Math.min(I.lineWidth, 40), I.lineWidth - V), U = z || I.flowLevel > -1 && R >= I.flowLevel;
|
|
1004
|
-
function W(c) {
|
|
1005
|
-
return testImplicitResolving(I, c);
|
|
1006
|
-
}
|
|
1007
|
-
switch (__name(W, "testAmbiguity"), chooseScalarStyle(L, U, I.indent, H, W, I.quotingType, I.forceQuotes && !z, B)) {
|
|
1008
|
-
case STYLE_PLAIN: return L;
|
|
1009
|
-
case STYLE_SINGLE: return "'" + L.replace(/'/g, "''") + "'";
|
|
1010
|
-
case STYLE_LITERAL: return "|" + blockHeader(L, I.indent) + dropEndingNewline(indentString(L, V));
|
|
1011
|
-
case STYLE_FOLDED: return ">" + blockHeader(L, I.indent) + dropEndingNewline(indentString(foldString(L, H), V));
|
|
1012
|
-
case STYLE_DOUBLE: return "\"" + escapeString(L) + "\"";
|
|
1013
|
-
default: throw new exception("impossible error: invalid scalar style");
|
|
1014
|
-
}
|
|
1015
|
-
})();
|
|
1016
|
-
}
|
|
1017
|
-
__name(writeScalar, "writeScalar");
|
|
1018
|
-
function blockHeader(c, I) {
|
|
1019
|
-
var L = needIndentIndicator(c) ? String(I) : "", R = c[c.length - 1] === "\n";
|
|
1020
|
-
return L + (R && (c[c.length - 2] === "\n" || c === "\n") ? "+" : R ? "" : "-") + "\n";
|
|
1021
|
-
}
|
|
1022
|
-
__name(blockHeader, "blockHeader");
|
|
1023
|
-
function dropEndingNewline(c) {
|
|
1024
|
-
return c[c.length - 1] === "\n" ? c.slice(0, -1) : c;
|
|
1025
|
-
}
|
|
1026
|
-
__name(dropEndingNewline, "dropEndingNewline");
|
|
1027
|
-
function foldString(c, I) {
|
|
1028
|
-
for (var L = /(\n+)([^\n]*)/g, R = (function() {
|
|
1029
|
-
var R = c.indexOf("\n");
|
|
1030
|
-
return R = R === -1 ? c.length : R, L.lastIndex = R, foldLine(c.slice(0, R), I);
|
|
1031
|
-
})(), z = c[0] === "\n" || c[0] === " ", B, V; V = L.exec(c);) {
|
|
1032
|
-
var H = V[1], U = V[2];
|
|
1033
|
-
B = U[0] === " ", R += H + (!z && !B && U !== "" ? "\n" : "") + foldLine(U, I), z = B;
|
|
1034
|
-
}
|
|
1035
|
-
return R;
|
|
1036
|
-
}
|
|
1037
|
-
__name(foldString, "foldString");
|
|
1038
|
-
function foldLine(c, I) {
|
|
1039
|
-
if (c === "" || c[0] === " ") return c;
|
|
1040
|
-
for (var L = / [^ ]/g, R, z = 0, B, V = 0, H = 0, U = ""; R = L.exec(c);) H = R.index, H - z > I && (B = V > z ? V : H, U += "\n" + c.slice(z, B), z = B + 1), V = H;
|
|
1041
|
-
return U += "\n", c.length - z > I && V > z ? U += c.slice(z, V) + "\n" + c.slice(V + 1) : U += c.slice(z), U.slice(1);
|
|
1042
|
-
}
|
|
1043
|
-
__name(foldLine, "foldLine");
|
|
1044
|
-
function escapeString(c) {
|
|
1045
|
-
for (var I = "", L = 0, R, z = 0; z < c.length; L >= 65536 ? z += 2 : z++) L = codePointAt(c, z), R = ESCAPE_SEQUENCES[L], !R && isPrintable(L) ? (I += c[z], L >= 65536 && (I += c[z + 1])) : I += R || encodeHex(L);
|
|
1046
|
-
return I;
|
|
1047
|
-
}
|
|
1048
|
-
__name(escapeString, "escapeString");
|
|
1049
|
-
function writeFlowSequence(c, I, L) {
|
|
1050
|
-
var R = "", z = c.tag, B, V, H;
|
|
1051
|
-
for (B = 0, V = L.length; B < V; B += 1) H = L[B], c.replacer && (H = c.replacer.call(L, String(B), H)), (writeNode(c, I, H, !1, !1) || H === void 0 && writeNode(c, I, null, !1, !1)) && (R !== "" && (R += "," + (c.condenseFlow ? "" : " ")), R += c.dump);
|
|
1052
|
-
c.tag = z, c.dump = "[" + R + "]";
|
|
1053
|
-
}
|
|
1054
|
-
__name(writeFlowSequence, "writeFlowSequence");
|
|
1055
|
-
function writeBlockSequence(c, I, L, R) {
|
|
1056
|
-
var z = "", B = c.tag, V, H, U;
|
|
1057
|
-
for (V = 0, H = L.length; V < H; V += 1) U = L[V], c.replacer && (U = c.replacer.call(L, String(V), U)), (writeNode(c, I + 1, U, !0, !0, !1, !0) || U === void 0 && writeNode(c, I + 1, null, !0, !0, !1, !0)) && ((!R || z !== "") && (z += generateNextLine(c, I)), c.dump && CHAR_LINE_FEED === c.dump.charCodeAt(0) ? z += "-" : z += "- ", z += c.dump);
|
|
1058
|
-
c.tag = B, c.dump = z || "[]";
|
|
1059
|
-
}
|
|
1060
|
-
__name(writeBlockSequence, "writeBlockSequence");
|
|
1061
|
-
function writeFlowMapping(c, I, L) {
|
|
1062
|
-
var R = "", z = c.tag, B = Object.keys(L), V, H, U, W, G;
|
|
1063
|
-
for (V = 0, H = B.length; V < H; V += 1) G = "", R !== "" && (G += ", "), c.condenseFlow && (G += "\""), U = B[V], W = L[U], c.replacer && (W = c.replacer.call(L, U, W)), writeNode(c, I, U, !1, !1) && (c.dump.length > 1024 && (G += "? "), G += c.dump + (c.condenseFlow ? "\"" : "") + ":" + (c.condenseFlow ? "" : " "), writeNode(c, I, W, !1, !1) && (G += c.dump, R += G));
|
|
1064
|
-
c.tag = z, c.dump = "{" + R + "}";
|
|
1065
|
-
}
|
|
1066
|
-
__name(writeFlowMapping, "writeFlowMapping");
|
|
1067
|
-
function writeBlockMapping(c, I, L, R) {
|
|
1068
|
-
var z = "", B = c.tag, V = Object.keys(L), H, U, W, K, q, J;
|
|
1069
|
-
if (c.sortKeys === !0) V.sort();
|
|
1070
|
-
else if (typeof c.sortKeys == "function") V.sort(c.sortKeys);
|
|
1071
|
-
else if (c.sortKeys) throw new exception("sortKeys must be a boolean or a function");
|
|
1072
|
-
for (H = 0, U = V.length; H < U; H += 1) J = "", (!R || z !== "") && (J += generateNextLine(c, I)), W = V[H], K = L[W], c.replacer && (K = c.replacer.call(L, W, K)), writeNode(c, I + 1, W, !0, !0, !0) && (q = c.tag !== null && c.tag !== "?" || c.dump && c.dump.length > 1024, q && (c.dump && CHAR_LINE_FEED === c.dump.charCodeAt(0) ? J += "?" : J += "? "), J += c.dump, q && (J += generateNextLine(c, I)), writeNode(c, I + 1, K, !0, q) && (c.dump && CHAR_LINE_FEED === c.dump.charCodeAt(0) ? J += ":" : J += ": ", J += c.dump, z += J));
|
|
1073
|
-
c.tag = B, c.dump = z || "{}";
|
|
1074
|
-
}
|
|
1075
|
-
__name(writeBlockMapping, "writeBlockMapping");
|
|
1076
|
-
function detectType(c, I, L) {
|
|
1077
|
-
var R, z = L ? c.explicitTypes : c.implicitTypes, B, V, H, U;
|
|
1078
|
-
for (B = 0, V = z.length; B < V; B += 1) if (H = z[B], (H.instanceOf || H.predicate) && (!H.instanceOf || typeof I == "object" && I instanceof H.instanceOf) && (!H.predicate || H.predicate(I))) {
|
|
1079
|
-
if (L ? H.multi && H.representName ? c.tag = H.representName(I) : c.tag = H.tag : c.tag = "?", H.represent) {
|
|
1080
|
-
if (U = c.styleMap[H.tag] || H.defaultStyle, _toString.call(H.represent) === "[object Function]") R = H.represent(I, U);
|
|
1081
|
-
else if (_hasOwnProperty.call(H.represent, U)) R = H.represent[U](I, U);
|
|
1082
|
-
else throw new exception("!<" + H.tag + "> tag resolver accepts not \"" + U + "\" style");
|
|
1083
|
-
c.dump = R;
|
|
1084
|
-
}
|
|
1085
|
-
return !0;
|
|
1086
|
-
}
|
|
1087
|
-
return !1;
|
|
1088
|
-
}
|
|
1089
|
-
__name(detectType, "detectType");
|
|
1090
|
-
function writeNode(c, I, L, R, z, B, V) {
|
|
1091
|
-
c.tag = null, c.dump = L, detectType(c, L, !1) || detectType(c, L, !0);
|
|
1092
|
-
var H = _toString.call(c.dump), U = R, W;
|
|
1093
|
-
R &&= c.flowLevel < 0 || c.flowLevel > I;
|
|
1094
|
-
var K = H === "[object Object]" || H === "[object Array]", q, J;
|
|
1095
|
-
if (K && (q = c.duplicates.indexOf(L), J = q !== -1), (c.tag !== null && c.tag !== "?" || J || c.indent !== 2 && I > 0) && (z = !1), J && c.usedDuplicates[q]) c.dump = "*ref_" + q;
|
|
1096
|
-
else {
|
|
1097
|
-
if (K && J && !c.usedDuplicates[q] && (c.usedDuplicates[q] = !0), H === "[object Object]") R && Object.keys(c.dump).length !== 0 ? (writeBlockMapping(c, I, c.dump, z), J && (c.dump = "&ref_" + q + c.dump)) : (writeFlowMapping(c, I, c.dump), J && (c.dump = "&ref_" + q + " " + c.dump));
|
|
1098
|
-
else if (H === "[object Array]") R && c.dump.length !== 0 ? (c.noArrayIndent && !V && I > 0 ? writeBlockSequence(c, I - 1, c.dump, z) : writeBlockSequence(c, I, c.dump, z), J && (c.dump = "&ref_" + q + c.dump)) : (writeFlowSequence(c, I, c.dump), J && (c.dump = "&ref_" + q + " " + c.dump));
|
|
1099
|
-
else if (H === "[object String]") c.tag !== "?" && writeScalar(c, c.dump, I, B, U);
|
|
1100
|
-
else if (H === "[object Undefined]") return !1;
|
|
1101
|
-
else {
|
|
1102
|
-
if (c.skipInvalid) return !1;
|
|
1103
|
-
throw new exception("unacceptable kind of an object to dump " + H);
|
|
1104
|
-
}
|
|
1105
|
-
c.tag !== null && c.tag !== "?" && (W = encodeURI(c.tag[0] === "!" ? c.tag.slice(1) : c.tag).replace(/!/g, "%21"), W = c.tag[0] === "!" ? "!" + W : W.slice(0, 18) === "tag:yaml.org,2002:" ? "!!" + W.slice(18) : "!<" + W + ">", c.dump = W + " " + c.dump);
|
|
1106
|
-
}
|
|
1107
|
-
return !0;
|
|
1108
|
-
}
|
|
1109
|
-
__name(writeNode, "writeNode");
|
|
1110
|
-
function getDuplicateReferences(c, I) {
|
|
1111
|
-
var L = [], R = [], z, B;
|
|
1112
|
-
for (inspectNode(c, L, R), z = 0, B = R.length; z < B; z += 1) I.duplicates.push(L[R[z]]);
|
|
1113
|
-
I.usedDuplicates = Array(B);
|
|
1114
|
-
}
|
|
1115
|
-
__name(getDuplicateReferences, "getDuplicateReferences");
|
|
1116
|
-
function inspectNode(c, I, L) {
|
|
1117
|
-
var R, z, B;
|
|
1118
|
-
if (typeof c == "object" && c) if (z = I.indexOf(c), z !== -1) L.indexOf(z) === -1 && L.push(z);
|
|
1119
|
-
else if (I.push(c), Array.isArray(c)) for (z = 0, B = c.length; z < B; z += 1) inspectNode(c[z], I, L);
|
|
1120
|
-
else for (R = Object.keys(c), z = 0, B = R.length; z < B; z += 1) inspectNode(c[R[z]], I, L);
|
|
1121
|
-
}
|
|
1122
|
-
__name(inspectNode, "inspectNode");
|
|
1123
|
-
function dump$1(c, I) {
|
|
1124
|
-
I ||= {};
|
|
1125
|
-
var L = new State(I);
|
|
1126
|
-
L.noRefs || getDuplicateReferences(c, L);
|
|
1127
|
-
var R = c;
|
|
1128
|
-
return L.replacer && (R = L.replacer.call({ "": R }, "", R)), writeNode(L, 0, R, !0, !0) ? L.dump + "\n" : "";
|
|
1129
|
-
}
|
|
1130
|
-
__name(dump$1, "dump$1");
|
|
1131
|
-
var dumper = { dump: dump$1 };
|
|
1132
|
-
function renamed(c, I) {
|
|
1133
|
-
return function() {
|
|
1134
|
-
throw Error("Function yaml." + c + " is removed in js-yaml 4. Use yaml." + I + " instead, which is now safe by default.");
|
|
1135
|
-
};
|
|
1136
|
-
}
|
|
1137
|
-
__name(renamed, "renamed");
|
|
1138
|
-
var JSON_SCHEMA = json, load = loader.load;
|
|
1139
|
-
loader.loadAll, dumper.dump;
|
|
1140
|
-
export { load as n, JSON_SCHEMA as t };
|