@loopstack/loopstack-studio 0.25.1 → 0.25.2

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.
Files changed (1667) hide show
  1. package/dist/_virtual/rolldown_runtime.js +20 -0
  2. package/dist/api/auth.js +2 -4
  3. package/dist/api/client.js +7 -9
  4. package/dist/api/config.js +2 -4
  5. package/dist/api/dashboard.js +2 -4
  6. package/dist/api/documents.js +2 -4
  7. package/dist/api/index.js +19 -21
  8. package/dist/api/processor.js +2 -4
  9. package/dist/api/secrets.js +2 -4
  10. package/dist/api/workflows.js +2 -4
  11. package/dist/api/workspaces.js +2 -4
  12. package/dist/app/EnvironmentEmbedRoot.js +31 -24
  13. package/dist/components/ai-elements/code-block.js +71 -53
  14. package/dist/components/ai-elements/message.js +82 -41
  15. package/dist/components/ai-elements/prompt-input.js +253 -162
  16. package/dist/components/ai-elements/reasoning.js +116 -78
  17. package/dist/components/ai-elements/shimmer.js +35 -23
  18. package/dist/components/ai-elements/sources.js +58 -29
  19. package/dist/components/data-table/ConfirmDialog.js +30 -14
  20. package/dist/components/data-table/DataList.js +198 -138
  21. package/dist/components/data-table/DataTable.js +234 -168
  22. package/dist/components/data-table/DataTableBatchAction.js +27 -18
  23. package/dist/components/data-table/DataTableFilters.js +78 -53
  24. package/dist/components/data-table/DataTablePagination.js +104 -72
  25. package/dist/components/data-table/DataTableToolbar.js +65 -53
  26. package/dist/components/dynamic-form/ArrayController.js +103 -85
  27. package/dist/components/dynamic-form/CodeContent.js +36 -28
  28. package/dist/components/dynamic-form/Form.js +56 -43
  29. package/dist/components/dynamic-form/FormBody.js +10 -12
  30. package/dist/components/dynamic-form/FormElement.js +41 -31
  31. package/dist/components/dynamic-form/FormElementHeader.js +20 -12
  32. package/dist/components/dynamic-form/InputController.js +38 -36
  33. package/dist/components/dynamic-form/MarkdownContent.js +74 -53
  34. package/dist/components/dynamic-form/MermaidDiagram.js +24 -22
  35. package/dist/components/dynamic-form/ObjectController.js +32 -24
  36. package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -35
  37. package/dist/components/dynamic-form/fields/CheckboxField.js +48 -39
  38. package/dist/components/dynamic-form/fields/CodeViewField.js +50 -42
  39. package/dist/components/dynamic-form/fields/InputField.js +90 -62
  40. package/dist/components/dynamic-form/fields/MarkdownViewField.js +19 -16
  41. package/dist/components/dynamic-form/fields/RadioField.js +62 -46
  42. package/dist/components/dynamic-form/fields/SelectField.js +58 -40
  43. package/dist/components/dynamic-form/fields/SliderField.js +100 -94
  44. package/dist/components/dynamic-form/fields/SwitchField.js +61 -42
  45. package/dist/components/dynamic-form/fields/TextareaField.js +72 -53
  46. package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +2 -4
  47. package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +5 -6
  48. package/dist/components/dynamic-form/hooks/useFieldConfig.js +20 -19
  49. package/dist/components/dynamic-form/hooks/useMergeParentKey.js +2 -4
  50. package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +2 -4
  51. package/dist/components/feedback/ErrorAlert.js +17 -11
  52. package/dist/components/feedback/ErrorBoundary.js +14 -16
  53. package/dist/components/feedback/ErrorSnackbar.js +30 -13
  54. package/dist/components/feedback/LoadingCentered.js +28 -15
  55. package/dist/components/feedback/Snackbar.js +44 -43
  56. package/dist/components/feedback/index.js +5 -5
  57. package/dist/components/index.js +47 -47
  58. package/dist/components/layout/MainLayout.js +25 -17
  59. package/dist/components/layout/StudioSidebar.js +202 -132
  60. package/dist/components/lists/CustomListView.js +74 -49
  61. package/dist/components/lists/ListView.js +102 -66
  62. package/dist/components/loopstack-elements/link.js +104 -65
  63. package/dist/components/loopstack-elements/tool.js +142 -70
  64. package/dist/components/messages/CompletionMessagePaper.js +85 -53
  65. package/dist/components/page/PageBreadcrumbs.js +83 -64
  66. package/dist/components/ui/DiscordLogo.js +22 -16
  67. package/dist/components/ui/GoogleLogo.js +44 -40
  68. package/dist/components/ui/accordion.js +52 -31
  69. package/dist/components/ui/alert-dialog.js +109 -59
  70. package/dist/components/ui/alert.js +36 -22
  71. package/dist/components/ui/avatar.js +35 -21
  72. package/dist/components/ui/badge.js +17 -13
  73. package/dist/components/ui/breadcrumb.js +82 -46
  74. package/dist/components/ui/button-group.js +5 -5
  75. package/dist/components/ui/button.js +21 -17
  76. package/dist/components/ui/card.js +74 -40
  77. package/dist/components/ui/checkbox.js +23 -17
  78. package/dist/components/ui/collapsible.js +25 -17
  79. package/dist/components/ui/command.js +2 -1
  80. package/dist/components/ui/context-menu.js +52 -32
  81. package/dist/components/ui/dialog.js +107 -62
  82. package/dist/components/ui/drawer.js +99 -54
  83. package/dist/components/ui/dropdown-menu.js +159 -91
  84. package/dist/components/ui/hover-card.js +2 -1
  85. package/dist/components/ui/input-group.js +56 -36
  86. package/dist/components/ui/input.js +15 -11
  87. package/dist/components/ui/label.js +15 -11
  88. package/dist/components/ui/popover.js +38 -25
  89. package/dist/components/ui/radio-group.js +33 -22
  90. package/dist/components/ui/scroll-area.js +43 -28
  91. package/dist/components/ui/select.js +134 -73
  92. package/dist/components/ui/separator.js +17 -13
  93. package/dist/components/ui/sheet.js +105 -60
  94. package/dist/components/ui/sidebar.js +451 -269
  95. package/dist/components/ui/skeleton.js +14 -10
  96. package/dist/components/ui/slider.js +15 -17
  97. package/dist/components/ui/switch.js +21 -15
  98. package/dist/components/ui/table.js +85 -46
  99. package/dist/components/ui/tabs.js +45 -26
  100. package/dist/components/ui/textarea.js +14 -10
  101. package/dist/components/ui/tooltip.js +41 -26
  102. package/dist/components/ui-widgets/UiActions.js +37 -30
  103. package/dist/components/ui-widgets/UiWidget.js +46 -34
  104. package/dist/components/ui-widgets/widgets/AiPromptInput.js +42 -28
  105. package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +21 -16
  106. package/dist/components/ui-widgets/widgets/SandboxRun.js +26 -19
  107. package/dist/components/ui-widgets/widgets/SubmitButton.js +20 -15
  108. package/dist/events/api-client-events.js +2 -4
  109. package/dist/events/sse-client-events.js +2 -4
  110. package/dist/features/code-explorer/CodeExplorer.js +2 -1
  111. package/dist/features/code-explorer/components/CodeExplorerTree.js +2 -2
  112. package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +29 -31
  113. package/dist/features/code-explorer/components/FileContentViewer.js +148 -108
  114. package/dist/features/code-explorer/components/FileTabsBar.js +2 -1
  115. package/dist/features/code-explorer/components/FileTabsBarBase.js +169 -134
  116. package/dist/features/code-explorer/index.js +1 -1
  117. package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
  118. package/dist/features/code-explorer/utils/fileIcons.js +39 -41
  119. package/dist/features/dashboard/Dashboard.js +121 -79
  120. package/dist/features/dashboard/RunItem.js +68 -50
  121. package/dist/features/dashboard/RunList.js +28 -17
  122. package/dist/features/debug/components/ConfigFlowViewer.js +67 -49
  123. package/dist/features/debug/components/WorkflowDebugHeader.js +46 -30
  124. package/dist/features/debug/components/WorkflowDebugLegend.js +68 -56
  125. package/dist/features/debug/components/WorkflowFlowViewer.js +96 -76
  126. package/dist/features/debug/components/workflow-flow/StateNode.js +102 -73
  127. package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +40 -35
  128. package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +94 -61
  129. package/dist/features/debug/index.js +3 -3
  130. package/dist/features/debug/lib/edge-paths.js +31 -33
  131. package/dist/features/debug/lib/flow-utils.js +145 -147
  132. package/dist/features/documents/DocumentRenderer.js +77 -73
  133. package/dist/features/documents/components/DocumentItem.js +24 -21
  134. package/dist/features/documents/components/DocumentList.js +45 -39
  135. package/dist/features/documents/components/DocumentMetadataPills.js +59 -44
  136. package/dist/features/documents/document-details/DocumentDetails.js +413 -298
  137. package/dist/features/documents/document-details/PromptDetails.js +142 -105
  138. package/dist/features/documents/index.js +4 -4
  139. package/dist/features/documents/renderers/AiMessage.js +48 -39
  140. package/dist/features/documents/renderers/AiMessageContent.js +164 -108
  141. package/dist/features/documents/renderers/ChoicesRenderer.js +89 -77
  142. package/dist/features/documents/renderers/ClaudeMessage.js +91 -74
  143. package/dist/features/documents/renderers/ConfirmPromptRenderer.js +53 -44
  144. package/dist/features/documents/renderers/DocumentDebugRenderer.js +30 -26
  145. package/dist/features/documents/renderers/DocumentFormRenderer.js +85 -69
  146. package/dist/features/documents/renderers/DocumentMessageRenderer.js +9 -10
  147. package/dist/features/documents/renderers/ErrorMessageRenderer.js +13 -11
  148. package/dist/features/documents/renderers/LinkMessageRenderer.js +14 -15
  149. package/dist/features/documents/renderers/MarkdownMessageRenderer.js +10 -8
  150. package/dist/features/documents/renderers/PlainMessageRenderer.js +9 -7
  151. package/dist/features/documents/renderers/SecretInputRenderer.js +35 -37
  152. package/dist/features/documents/renderers/TextPromptRenderer.js +54 -45
  153. package/dist/features/documents/renderers/useDocumentTransition.js +7 -9
  154. package/dist/features/health/LocalHealthCheck.js +53 -54
  155. package/dist/features/health/index.js +1 -1
  156. package/dist/features/oauth/OAuthCallbackPage.js +2 -2
  157. package/dist/features/oauth/OAuthPromptRenderer.js +197 -148
  158. package/dist/features/oauth/index.js +2 -2
  159. package/dist/features/oauth/useOAuthPopup.js +71 -52
  160. package/dist/features/runs/Runs.js +187 -145
  161. package/dist/features/workbench/Workbench.js +98 -72
  162. package/dist/features/workbench/WorkflowItem.js +68 -49
  163. package/dist/features/workbench/WorkflowList.js +66 -51
  164. package/dist/features/workbench/components/NewRunDialog.js +309 -212
  165. package/dist/features/workbench/components/RemoteFileTabsBar.js +17 -18
  166. package/dist/features/workbench/components/RemoteFileTree.js +85 -54
  167. package/dist/features/workbench/components/WorkbenchFilesPanel.js +63 -52
  168. package/dist/features/workbench/components/WorkbenchFloatingPanel.js +51 -34
  169. package/dist/features/workbench/components/WorkbenchFlowPanel.js +44 -35
  170. package/dist/features/workbench/components/WorkbenchIconSidebar.js +68 -50
  171. package/dist/features/workbench/components/WorkbenchPreviewPanel.js +49 -51
  172. package/dist/features/workbench/components/WorkbenchSecretsPanel.js +172 -143
  173. package/dist/features/workbench/components/WorkbenchSettingsModal.js +60 -49
  174. package/dist/features/workbench/components/WorkflowForms.js +23 -17
  175. package/dist/features/workbench/components/WorkflowHistoryItem.js +122 -96
  176. package/dist/features/workbench/components/WorkflowHistoryList.js +54 -31
  177. package/dist/features/workbench/components/buttons/WorkflowButtons.js +99 -70
  178. package/dist/features/workbench/hooks/useAutoScrollBottom.js +25 -21
  179. package/dist/features/workbench/hooks/useScrollToListItem.js +21 -20
  180. package/dist/features/workbench/hooks/useWorkflowData.js +44 -31
  181. package/dist/features/workbench/hooks/useWorkflowListState.js +12 -13
  182. package/dist/features/workbench/index.js +7 -7
  183. package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +138 -123
  184. package/dist/features/workbench/providers/ScrollProvider.js +19 -15
  185. package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +75 -76
  186. package/dist/features/workspaces/Workspaces.js +226 -161
  187. package/dist/features/workspaces/components/CreateWorkspace.js +194 -137
  188. package/dist/features/workspaces/components/EnvironmentSlotSelector.js +25 -27
  189. package/dist/features/workspaces/components/ExecutionTimeline.js +185 -143
  190. package/dist/features/workspaces/components/NewWorkflowRunDialog.js +26 -18
  191. package/dist/features/workspaces/components/WorkflowRunForm.js +133 -85
  192. package/dist/features/workspaces/components/WorkspaceHomePage.js +80 -59
  193. package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +69 -52
  194. package/dist/features/workspaces/components/workflow-form/HeaderSection.js +41 -27
  195. package/dist/features/workspaces/components/workflow-form/SelectionView.js +103 -64
  196. package/dist/features/workspaces/index.js +3 -3
  197. package/dist/hooks/index.js +6 -6
  198. package/dist/hooks/query-keys.js +31 -33
  199. package/dist/hooks/use-mobile.js +11 -12
  200. package/dist/hooks/useApi.js +14 -16
  201. package/dist/hooks/useAuth.js +53 -38
  202. package/dist/hooks/useConfig.js +37 -26
  203. package/dist/hooks/useDashboard.js +15 -12
  204. package/dist/hooks/useDebounce.js +11 -12
  205. package/dist/hooks/useDocuments.js +35 -23
  206. package/dist/hooks/useFiles.js +2 -1
  207. package/dist/hooks/useProcessor.js +17 -14
  208. package/dist/hooks/useSecrets.js +64 -45
  209. package/dist/hooks/useWorkflows.js +161 -109
  210. package/dist/hooks/useWorkspaces.js +123 -83
  211. package/dist/index.d.ts +1304 -0
  212. package/dist/index.js +80 -80
  213. package/dist/lib/requireParam.js +2 -4
  214. package/dist/lib/utils.js +5 -7
  215. package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +4 -6
  216. package/dist/node_modules/@braintree/sanitize-url/dist/index.js +6 -8
  217. package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +17 -19
  218. package/dist/node_modules/@chevrotain/gast/lib/src/model.js +71 -73
  219. package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +13 -16
  220. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
  221. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +2 -4
  222. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +34 -36
  223. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +110 -138
  224. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +11 -13
  225. package/dist/node_modules/@chevrotain/utils/lib/src/print.js +3 -5
  226. package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +2 -4
  227. package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +2 -4
  228. package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1913 -1812
  229. package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +6 -8
  230. package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +8 -10
  231. package/dist/node_modules/@iconify/utils/lib/icon/merge.js +6 -8
  232. package/dist/node_modules/@iconify/utils/lib/icon/name.js +6 -8
  233. package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +2 -4
  234. package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +10 -12
  235. package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +2 -4
  236. package/dist/node_modules/@iconify/utils/lib/svg/build.js +18 -20
  237. package/dist/node_modules/@iconify/utils/lib/svg/defs.js +6 -8
  238. package/dist/node_modules/@iconify/utils/lib/svg/html.js +2 -4
  239. package/dist/node_modules/@iconify/utils/lib/svg/id.js +8 -10
  240. package/dist/node_modules/@iconify/utils/lib/svg/size.js +5 -7
  241. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +2 -2
  242. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +17 -20
  243. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +17 -20
  244. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +23 -28
  245. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +21 -26
  246. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +17 -20
  247. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +17 -20
  248. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +425 -436
  249. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +17 -20
  250. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +38 -45
  251. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +22 -27
  252. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +2 -2
  253. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +2 -2
  254. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +2 -2
  255. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +2 -2
  256. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +2 -2
  257. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +2 -2
  258. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +2 -2
  259. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +2 -2
  260. package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +52 -56
  261. package/dist/node_modules/@shikijs/core/dist/index.js +1119 -583
  262. package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +148 -163
  263. package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +2 -4
  264. package/dist/node_modules/@shikijs/langs/dist/abap.js +2 -3
  265. package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +2 -3
  266. package/dist/node_modules/@shikijs/langs/dist/ada.js +2 -3
  267. package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +2 -3
  268. package/dist/node_modules/@shikijs/langs/dist/angular-html.js +13 -15
  269. package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +3 -5
  270. package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +7 -9
  271. package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +3 -5
  272. package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +7 -9
  273. package/dist/node_modules/@shikijs/langs/dist/angular-template.js +3 -5
  274. package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +15 -17
  275. package/dist/node_modules/@shikijs/langs/dist/apache.js +2 -3
  276. package/dist/node_modules/@shikijs/langs/dist/apex.js +2 -3
  277. package/dist/node_modules/@shikijs/langs/dist/apl.js +13 -15
  278. package/dist/node_modules/@shikijs/langs/dist/applescript.js +2 -3
  279. package/dist/node_modules/@shikijs/langs/dist/ara.js +2 -3
  280. package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -3
  281. package/dist/node_modules/@shikijs/langs/dist/asm.js +2 -3
  282. package/dist/node_modules/@shikijs/langs/dist/astro.js +15 -17
  283. package/dist/node_modules/@shikijs/langs/dist/awk.js +2 -3
  284. package/dist/node_modules/@shikijs/langs/dist/ballerina.js +2 -3
  285. package/dist/node_modules/@shikijs/langs/dist/bat.js +2 -3
  286. package/dist/node_modules/@shikijs/langs/dist/beancount.js +2 -3
  287. package/dist/node_modules/@shikijs/langs/dist/berry.js +2 -3
  288. package/dist/node_modules/@shikijs/langs/dist/bibtex.js +2 -3
  289. package/dist/node_modules/@shikijs/langs/dist/bicep.js +2 -3
  290. package/dist/node_modules/@shikijs/langs/dist/bird2.js +2 -3
  291. package/dist/node_modules/@shikijs/langs/dist/blade.js +17 -19
  292. package/dist/node_modules/@shikijs/langs/dist/bsl.js +3 -5
  293. package/dist/node_modules/@shikijs/langs/dist/c.js +2 -3
  294. package/dist/node_modules/@shikijs/langs/dist/c3.js +2 -3
  295. package/dist/node_modules/@shikijs/langs/dist/cadence.js +2 -3
  296. package/dist/node_modules/@shikijs/langs/dist/cairo.js +3 -5
  297. package/dist/node_modules/@shikijs/langs/dist/clarity.js +2 -3
  298. package/dist/node_modules/@shikijs/langs/dist/clojure.js +2 -3
  299. package/dist/node_modules/@shikijs/langs/dist/cmake.js +2 -3
  300. package/dist/node_modules/@shikijs/langs/dist/cobol.js +7 -9
  301. package/dist/node_modules/@shikijs/langs/dist/codeowners.js +2 -3
  302. package/dist/node_modules/@shikijs/langs/dist/codeql.js +2 -3
  303. package/dist/node_modules/@shikijs/langs/dist/coffee.js +3 -5
  304. package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +2 -3
  305. package/dist/node_modules/@shikijs/langs/dist/coq.js +2 -3
  306. package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +9 -11
  307. package/dist/node_modules/@shikijs/langs/dist/cpp.js +11 -13
  308. package/dist/node_modules/@shikijs/langs/dist/crystal.js +15 -17
  309. package/dist/node_modules/@shikijs/langs/dist/csharp.js +2 -3
  310. package/dist/node_modules/@shikijs/langs/dist/css.js +2 -3
  311. package/dist/node_modules/@shikijs/langs/dist/csv.js +2 -3
  312. package/dist/node_modules/@shikijs/langs/dist/cue.js +2 -3
  313. package/dist/node_modules/@shikijs/langs/dist/cypher.js +2 -3
  314. package/dist/node_modules/@shikijs/langs/dist/d.js +2 -3
  315. package/dist/node_modules/@shikijs/langs/dist/dart.js +2 -3
  316. package/dist/node_modules/@shikijs/langs/dist/dax.js +2 -3
  317. package/dist/node_modules/@shikijs/langs/dist/desktop.js +2 -3
  318. package/dist/node_modules/@shikijs/langs/dist/diff.js +2 -3
  319. package/dist/node_modules/@shikijs/langs/dist/docker.js +2 -3
  320. package/dist/node_modules/@shikijs/langs/dist/dotenv.js +2 -3
  321. package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +2 -3
  322. package/dist/node_modules/@shikijs/langs/dist/edge.js +9 -11
  323. package/dist/node_modules/@shikijs/langs/dist/elixir.js +3 -5
  324. package/dist/node_modules/@shikijs/langs/dist/elm.js +3 -5
  325. package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +2 -3
  326. package/dist/node_modules/@shikijs/langs/dist/erb.js +7 -9
  327. package/dist/node_modules/@shikijs/langs/dist/erlang.js +3 -5
  328. package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +9 -11
  329. package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +9 -11
  330. package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +9 -11
  331. package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +7 -9
  332. package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +3 -5
  333. package/dist/node_modules/@shikijs/langs/dist/fennel.js +2 -3
  334. package/dist/node_modules/@shikijs/langs/dist/fish.js +2 -3
  335. package/dist/node_modules/@shikijs/langs/dist/fluent.js +2 -3
  336. package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +3 -5
  337. package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +2 -3
  338. package/dist/node_modules/@shikijs/langs/dist/fsharp.js +3 -5
  339. package/dist/node_modules/@shikijs/langs/dist/gdresource.js +7 -9
  340. package/dist/node_modules/@shikijs/langs/dist/gdscript.js +2 -3
  341. package/dist/node_modules/@shikijs/langs/dist/gdshader.js +2 -3
  342. package/dist/node_modules/@shikijs/langs/dist/genie.js +2 -3
  343. package/dist/node_modules/@shikijs/langs/dist/gherkin.js +2 -3
  344. package/dist/node_modules/@shikijs/langs/dist/git-commit.js +3 -5
  345. package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +3 -5
  346. package/dist/node_modules/@shikijs/langs/dist/gleam.js +2 -3
  347. package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +11 -13
  348. package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +11 -13
  349. package/dist/node_modules/@shikijs/langs/dist/glsl.js +3 -5
  350. package/dist/node_modules/@shikijs/langs/dist/gn.js +2 -3
  351. package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +2 -3
  352. package/dist/node_modules/@shikijs/langs/dist/go.js +2 -3
  353. package/dist/node_modules/@shikijs/langs/dist/graphql.js +11 -13
  354. package/dist/node_modules/@shikijs/langs/dist/groovy.js +2 -3
  355. package/dist/node_modules/@shikijs/langs/dist/hack.js +7 -9
  356. package/dist/node_modules/@shikijs/langs/dist/haml.js +7 -9
  357. package/dist/node_modules/@shikijs/langs/dist/handlebars.js +11 -13
  358. package/dist/node_modules/@shikijs/langs/dist/haskell.js +2 -3
  359. package/dist/node_modules/@shikijs/langs/dist/haxe.js +2 -3
  360. package/dist/node_modules/@shikijs/langs/dist/hcl.js +2 -3
  361. package/dist/node_modules/@shikijs/langs/dist/hjson.js +2 -3
  362. package/dist/node_modules/@shikijs/langs/dist/hlsl.js +2 -3
  363. package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +3 -5
  364. package/dist/node_modules/@shikijs/langs/dist/html.js +7 -9
  365. package/dist/node_modules/@shikijs/langs/dist/http.js +11 -13
  366. package/dist/node_modules/@shikijs/langs/dist/hurl.js +9 -11
  367. package/dist/node_modules/@shikijs/langs/dist/hxml.js +3 -5
  368. package/dist/node_modules/@shikijs/langs/dist/hy.js +2 -3
  369. package/dist/node_modules/@shikijs/langs/dist/imba.js +2 -3
  370. package/dist/node_modules/@shikijs/langs/dist/ini.js +2 -3
  371. package/dist/node_modules/@shikijs/langs/dist/java.js +2 -3
  372. package/dist/node_modules/@shikijs/langs/dist/javascript.js +2 -3
  373. package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +3 -5
  374. package/dist/node_modules/@shikijs/langs/dist/jinja.js +3 -5
  375. package/dist/node_modules/@shikijs/langs/dist/jison.js +3 -5
  376. package/dist/node_modules/@shikijs/langs/dist/json.js +2 -3
  377. package/dist/node_modules/@shikijs/langs/dist/json5.js +2 -3
  378. package/dist/node_modules/@shikijs/langs/dist/jsonc.js +2 -3
  379. package/dist/node_modules/@shikijs/langs/dist/jsonl.js +2 -3
  380. package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +2 -3
  381. package/dist/node_modules/@shikijs/langs/dist/jssm.js +2 -3
  382. package/dist/node_modules/@shikijs/langs/dist/jsx.js +2 -3
  383. package/dist/node_modules/@shikijs/langs/dist/julia.js +13 -15
  384. package/dist/node_modules/@shikijs/langs/dist/just.js +15 -17
  385. package/dist/node_modules/@shikijs/langs/dist/kdl.js +2 -3
  386. package/dist/node_modules/@shikijs/langs/dist/kotlin.js +2 -3
  387. package/dist/node_modules/@shikijs/langs/dist/kusto.js +2 -3
  388. package/dist/node_modules/@shikijs/langs/dist/latex.js +3 -5
  389. package/dist/node_modules/@shikijs/langs/dist/lean.js +2 -3
  390. package/dist/node_modules/@shikijs/langs/dist/less.js +2 -3
  391. package/dist/node_modules/@shikijs/langs/dist/liquid.js +11 -13
  392. package/dist/node_modules/@shikijs/langs/dist/llvm.js +2 -3
  393. package/dist/node_modules/@shikijs/langs/dist/log.js +2 -3
  394. package/dist/node_modules/@shikijs/langs/dist/logo.js +2 -3
  395. package/dist/node_modules/@shikijs/langs/dist/lua.js +3 -5
  396. package/dist/node_modules/@shikijs/langs/dist/luau.js +2 -3
  397. package/dist/node_modules/@shikijs/langs/dist/make.js +2 -3
  398. package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +2 -3
  399. package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +2 -3
  400. package/dist/node_modules/@shikijs/langs/dist/markdown.js +2 -3
  401. package/dist/node_modules/@shikijs/langs/dist/marko.js +11 -13
  402. package/dist/node_modules/@shikijs/langs/dist/matlab.js +2 -3
  403. package/dist/node_modules/@shikijs/langs/dist/mdc.js +9 -11
  404. package/dist/node_modules/@shikijs/langs/dist/mdx.js +2 -3
  405. package/dist/node_modules/@shikijs/langs/dist/mermaid.js +2 -3
  406. package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +2 -3
  407. package/dist/node_modules/@shikijs/langs/dist/mojo.js +2 -3
  408. package/dist/node_modules/@shikijs/langs/dist/moonbit.js +2 -3
  409. package/dist/node_modules/@shikijs/langs/dist/move.js +2 -3
  410. package/dist/node_modules/@shikijs/langs/dist/narrat.js +2 -3
  411. package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +2 -3
  412. package/dist/node_modules/@shikijs/langs/dist/nextflow.js +3 -5
  413. package/dist/node_modules/@shikijs/langs/dist/nginx.js +3 -5
  414. package/dist/node_modules/@shikijs/langs/dist/nim.js +17 -19
  415. package/dist/node_modules/@shikijs/langs/dist/nix.js +3 -5
  416. package/dist/node_modules/@shikijs/langs/dist/nushell.js +2 -3
  417. package/dist/node_modules/@shikijs/langs/dist/objective-c.js +2 -3
  418. package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +2 -3
  419. package/dist/node_modules/@shikijs/langs/dist/ocaml.js +2 -3
  420. package/dist/node_modules/@shikijs/langs/dist/odin.js +2 -3
  421. package/dist/node_modules/@shikijs/langs/dist/openscad.js +2 -3
  422. package/dist/node_modules/@shikijs/langs/dist/pascal.js +2 -3
  423. package/dist/node_modules/@shikijs/langs/dist/perl.js +13 -15
  424. package/dist/node_modules/@shikijs/langs/dist/php.js +15 -17
  425. package/dist/node_modules/@shikijs/langs/dist/pkl.js +2 -3
  426. package/dist/node_modules/@shikijs/langs/dist/plsql.js +2 -3
  427. package/dist/node_modules/@shikijs/langs/dist/po.js +2 -3
  428. package/dist/node_modules/@shikijs/langs/dist/polar.js +2 -3
  429. package/dist/node_modules/@shikijs/langs/dist/postcss.js +2 -3
  430. package/dist/node_modules/@shikijs/langs/dist/powerquery.js +2 -3
  431. package/dist/node_modules/@shikijs/langs/dist/powershell.js +2 -3
  432. package/dist/node_modules/@shikijs/langs/dist/prisma.js +2 -3
  433. package/dist/node_modules/@shikijs/langs/dist/prolog.js +2 -3
  434. package/dist/node_modules/@shikijs/langs/dist/proto.js +2 -3
  435. package/dist/node_modules/@shikijs/langs/dist/pug.js +9 -11
  436. package/dist/node_modules/@shikijs/langs/dist/puppet.js +2 -3
  437. package/dist/node_modules/@shikijs/langs/dist/purescript.js +2 -3
  438. package/dist/node_modules/@shikijs/langs/dist/python.js +2 -3
  439. package/dist/node_modules/@shikijs/langs/dist/qml.js +3 -5
  440. package/dist/node_modules/@shikijs/langs/dist/qmldir.js +2 -3
  441. package/dist/node_modules/@shikijs/langs/dist/qss.js +2 -3
  442. package/dist/node_modules/@shikijs/langs/dist/r.js +2 -3
  443. package/dist/node_modules/@shikijs/langs/dist/racket.js +2 -3
  444. package/dist/node_modules/@shikijs/langs/dist/raku.js +2 -3
  445. package/dist/node_modules/@shikijs/langs/dist/razor.js +7 -9
  446. package/dist/node_modules/@shikijs/langs/dist/reg.js +2 -3
  447. package/dist/node_modules/@shikijs/langs/dist/regexp.js +2 -3
  448. package/dist/node_modules/@shikijs/langs/dist/rel.js +2 -3
  449. package/dist/node_modules/@shikijs/langs/dist/riscv.js +2 -3
  450. package/dist/node_modules/@shikijs/langs/dist/ron.js +2 -3
  451. package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +2 -3
  452. package/dist/node_modules/@shikijs/langs/dist/rst.js +19 -21
  453. package/dist/node_modules/@shikijs/langs/dist/ruby.js +27 -29
  454. package/dist/node_modules/@shikijs/langs/dist/rust.js +2 -3
  455. package/dist/node_modules/@shikijs/langs/dist/sas.js +3 -5
  456. package/dist/node_modules/@shikijs/langs/dist/sass.js +2 -3
  457. package/dist/node_modules/@shikijs/langs/dist/scala.js +2 -3
  458. package/dist/node_modules/@shikijs/langs/dist/scheme.js +2 -3
  459. package/dist/node_modules/@shikijs/langs/dist/scss.js +3 -5
  460. package/dist/node_modules/@shikijs/langs/dist/sdbl.js +2 -3
  461. package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +3 -5
  462. package/dist/node_modules/@shikijs/langs/dist/shellscript.js +2 -3
  463. package/dist/node_modules/@shikijs/langs/dist/shellsession.js +3 -5
  464. package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +2 -3
  465. package/dist/node_modules/@shikijs/langs/dist/solidity.js +2 -3
  466. package/dist/node_modules/@shikijs/langs/dist/soy.js +3 -5
  467. package/dist/node_modules/@shikijs/langs/dist/sparql.js +3 -5
  468. package/dist/node_modules/@shikijs/langs/dist/splunk.js +2 -3
  469. package/dist/node_modules/@shikijs/langs/dist/sql.js +2 -3
  470. package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +2 -3
  471. package/dist/node_modules/@shikijs/langs/dist/stata.js +3 -5
  472. package/dist/node_modules/@shikijs/langs/dist/stylus.js +2 -3
  473. package/dist/node_modules/@shikijs/langs/dist/surrealql.js +3 -5
  474. package/dist/node_modules/@shikijs/langs/dist/svelte.js +11 -13
  475. package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -3
  476. package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +2 -3
  477. package/dist/node_modules/@shikijs/langs/dist/systemd.js +2 -3
  478. package/dist/node_modules/@shikijs/langs/dist/talonscript.js +2 -3
  479. package/dist/node_modules/@shikijs/langs/dist/tasl.js +2 -3
  480. package/dist/node_modules/@shikijs/langs/dist/tcl.js +2 -3
  481. package/dist/node_modules/@shikijs/langs/dist/templ.js +9 -11
  482. package/dist/node_modules/@shikijs/langs/dist/terraform.js +2 -3
  483. package/dist/node_modules/@shikijs/langs/dist/tex.js +3 -5
  484. package/dist/node_modules/@shikijs/langs/dist/toml.js +2 -3
  485. package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +15 -17
  486. package/dist/node_modules/@shikijs/langs/dist/tsv.js +2 -3
  487. package/dist/node_modules/@shikijs/langs/dist/tsx.js +2 -3
  488. package/dist/node_modules/@shikijs/langs/dist/turtle.js +2 -3
  489. package/dist/node_modules/@shikijs/langs/dist/twig.js +15 -17
  490. package/dist/node_modules/@shikijs/langs/dist/typescript.js +2 -3
  491. package/dist/node_modules/@shikijs/langs/dist/typespec.js +2 -3
  492. package/dist/node_modules/@shikijs/langs/dist/typst.js +2 -3
  493. package/dist/node_modules/@shikijs/langs/dist/v.js +2 -3
  494. package/dist/node_modules/@shikijs/langs/dist/vala.js +2 -3
  495. package/dist/node_modules/@shikijs/langs/dist/vb.js +2 -3
  496. package/dist/node_modules/@shikijs/langs/dist/verilog.js +2 -3
  497. package/dist/node_modules/@shikijs/langs/dist/vhdl.js +2 -3
  498. package/dist/node_modules/@shikijs/langs/dist/viml.js +2 -3
  499. package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +2 -3
  500. package/dist/node_modules/@shikijs/langs/dist/vue-html.js +3 -5
  501. package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +2 -3
  502. package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +3 -5
  503. package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +15 -17
  504. package/dist/node_modules/@shikijs/langs/dist/vue.js +23 -25
  505. package/dist/node_modules/@shikijs/langs/dist/vyper.js +2 -3
  506. package/dist/node_modules/@shikijs/langs/dist/wasm.js +2 -3
  507. package/dist/node_modules/@shikijs/langs/dist/wenyan.js +2 -3
  508. package/dist/node_modules/@shikijs/langs/dist/wgsl.js +2 -3
  509. package/dist/node_modules/@shikijs/langs/dist/wikitext.js +2 -3
  510. package/dist/node_modules/@shikijs/langs/dist/wit.js +2 -3
  511. package/dist/node_modules/@shikijs/langs/dist/wolfram.js +2 -3
  512. package/dist/node_modules/@shikijs/langs/dist/xml.js +3 -5
  513. package/dist/node_modules/@shikijs/langs/dist/xsl.js +3 -5
  514. package/dist/node_modules/@shikijs/langs/dist/yaml.js +2 -3
  515. package/dist/node_modules/@shikijs/langs/dist/zenscript.js +2 -3
  516. package/dist/node_modules/@shikijs/langs/dist/zig.js +2 -3
  517. package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +2 -4
  518. package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +2 -4
  519. package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +2 -4
  520. package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +2 -4
  521. package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +2 -4
  522. package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +2 -4
  523. package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +2 -4
  524. package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +2 -4
  525. package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +2 -4
  526. package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +2 -4
  527. package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +2 -4
  528. package/dist/node_modules/@shikijs/themes/dist/dracula.js +2 -4
  529. package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +2 -4
  530. package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +2 -4
  531. package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +2 -4
  532. package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +2 -4
  533. package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +2 -4
  534. package/dist/node_modules/@shikijs/themes/dist/github-dark.js +2 -4
  535. package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +2 -4
  536. package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +2 -4
  537. package/dist/node_modules/@shikijs/themes/dist/github-light.js +2 -4
  538. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +2 -4
  539. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +2 -4
  540. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +2 -4
  541. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +2 -4
  542. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +2 -4
  543. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +2 -4
  544. package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +2 -4
  545. package/dist/node_modules/@shikijs/themes/dist/horizon.js +2 -4
  546. package/dist/node_modules/@shikijs/themes/dist/houston.js +2 -4
  547. package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +2 -4
  548. package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +2 -4
  549. package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +2 -4
  550. package/dist/node_modules/@shikijs/themes/dist/laserwave.js +2 -4
  551. package/dist/node_modules/@shikijs/themes/dist/light-plus.js +2 -4
  552. package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +2 -4
  553. package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +2 -4
  554. package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +2 -4
  555. package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +2 -4
  556. package/dist/node_modules/@shikijs/themes/dist/material-theme.js +2 -4
  557. package/dist/node_modules/@shikijs/themes/dist/min-dark.js +2 -4
  558. package/dist/node_modules/@shikijs/themes/dist/min-light.js +2 -4
  559. package/dist/node_modules/@shikijs/themes/dist/monokai.js +2 -4
  560. package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +2 -4
  561. package/dist/node_modules/@shikijs/themes/dist/night-owl.js +2 -4
  562. package/dist/node_modules/@shikijs/themes/dist/nord.js +2 -4
  563. package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +2 -4
  564. package/dist/node_modules/@shikijs/themes/dist/one-light.js +2 -4
  565. package/dist/node_modules/@shikijs/themes/dist/plastic.js +2 -4
  566. package/dist/node_modules/@shikijs/themes/dist/poimandres.js +2 -4
  567. package/dist/node_modules/@shikijs/themes/dist/red.js +2 -4
  568. package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +2 -4
  569. package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +2 -4
  570. package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +2 -4
  571. package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +2 -4
  572. package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +2 -4
  573. package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +2 -4
  574. package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +2 -4
  575. package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +2 -4
  576. package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +2 -4
  577. package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +2 -4
  578. package/dist/node_modules/@shikijs/themes/dist/vesper.js +2 -4
  579. package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +2 -4
  580. package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +2 -4
  581. package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +2 -4
  582. package/dist/node_modules/@shikijs/types/dist/index.js +2 -4
  583. package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +947 -949
  584. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
  585. package/dist/node_modules/@ungap/structured-clone/esm/index.js +4 -6
  586. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
  587. package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
  588. package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +693 -695
  589. package/dist/node_modules/@xyflow/react/dist/esm/index.js +881 -883
  590. package/dist/node_modules/@xyflow/system/dist/esm/index.js +1221 -1223
  591. package/dist/node_modules/bail/index.js +2 -4
  592. package/dist/node_modules/ccount/index.js +2 -4
  593. package/dist/node_modules/character-entities-html4/index.js +2 -4
  594. package/dist/node_modules/character-entities-legacy/index.js +2 -4
  595. package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
  596. package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +4 -6
  597. package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -4
  598. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +9 -11
  599. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +15 -17
  600. package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +17 -19
  601. package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +24 -26
  602. package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +201 -203
  603. package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +16 -18
  604. package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +17 -19
  605. package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +12 -14
  606. package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +140 -142
  607. package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +4 -5
  608. package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +25 -27
  609. package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +149 -151
  610. package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +14 -16
  611. package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +38 -40
  612. package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +64 -65
  613. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +11 -13
  614. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +101 -103
  615. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +5 -7
  616. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +45 -47
  617. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +6 -8
  618. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +73 -75
  619. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +180 -182
  620. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +23 -24
  621. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +26 -28
  622. package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +2 -4
  623. package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +246 -246
  624. package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +2 -4
  625. package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +31 -33
  626. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +64 -67
  627. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +10 -12
  628. package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +35 -36
  629. package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +26 -28
  630. package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +240 -242
  631. package/dist/node_modules/chevrotain-allstar/lib/atn.js +133 -134
  632. package/dist/node_modules/chevrotain-allstar/lib/dfa.js +10 -11
  633. package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
  634. package/dist/node_modules/classcat/index.js +3 -5
  635. package/dist/node_modules/comma-separated-tokens/index.js +3 -5
  636. package/dist/node_modules/cose-base/cose-base.js +21 -21
  637. package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7940 -7937
  638. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +6 -8
  639. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +6 -8
  640. package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
  641. package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +4 -6
  642. package/dist/node_modules/d3/src/index.js +95 -95
  643. package/dist/node_modules/d3-array/src/ascending.js +2 -4
  644. package/dist/node_modules/d3-array/src/bisect.js +8 -8
  645. package/dist/node_modules/d3-array/src/bisector.js +6 -8
  646. package/dist/node_modules/d3-array/src/descending.js +2 -4
  647. package/dist/node_modules/d3-array/src/max.js +2 -4
  648. package/dist/node_modules/d3-array/src/min.js +2 -4
  649. package/dist/node_modules/d3-array/src/number.js +2 -4
  650. package/dist/node_modules/d3-array/src/range.js +2 -4
  651. package/dist/node_modules/d3-array/src/ticks.js +11 -13
  652. package/dist/node_modules/d3-axis/src/axis.js +46 -48
  653. package/dist/node_modules/d3-axis/src/identity.js +2 -4
  654. package/dist/node_modules/d3-brush/src/brush.js +4 -6
  655. package/dist/node_modules/d3-color/src/color.js +84 -86
  656. package/dist/node_modules/d3-color/src/define.js +3 -5
  657. package/dist/node_modules/d3-color/src/lab.js +43 -45
  658. package/dist/node_modules/d3-color/src/math.js +2 -4
  659. package/dist/node_modules/d3-dispatch/src/dispatch.js +17 -18
  660. package/dist/node_modules/d3-drag/src/constant.js +2 -4
  661. package/dist/node_modules/d3-drag/src/drag.js +75 -77
  662. package/dist/node_modules/d3-drag/src/event.js +3 -5
  663. package/dist/node_modules/d3-drag/src/nodrag.js +9 -11
  664. package/dist/node_modules/d3-drag/src/noevent.js +4 -6
  665. package/dist/node_modules/d3-ease/src/cubic.js +2 -4
  666. package/dist/node_modules/d3-format/src/defaultLocale.js +6 -8
  667. package/dist/node_modules/d3-format/src/exponent.js +4 -6
  668. package/dist/node_modules/d3-format/src/formatDecimal.js +3 -5
  669. package/dist/node_modules/d3-format/src/formatGroup.js +2 -4
  670. package/dist/node_modules/d3-format/src/formatNumerals.js +2 -4
  671. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +8 -10
  672. package/dist/node_modules/d3-format/src/formatRounded.js +4 -6
  673. package/dist/node_modules/d3-format/src/formatSpecifier.js +8 -10
  674. package/dist/node_modules/d3-format/src/formatTrim.js +2 -4
  675. package/dist/node_modules/d3-format/src/formatTypes.js +13 -15
  676. package/dist/node_modules/d3-format/src/identity.js +2 -4
  677. package/dist/node_modules/d3-format/src/locale.js +31 -33
  678. package/dist/node_modules/d3-format/src/precisionFixed.js +4 -6
  679. package/dist/node_modules/d3-format/src/precisionPrefix.js +4 -6
  680. package/dist/node_modules/d3-format/src/precisionRound.js +4 -6
  681. package/dist/node_modules/d3-hierarchy/src/accessors.js +2 -4
  682. package/dist/node_modules/d3-hierarchy/src/constant.js +3 -5
  683. package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +2 -4
  684. package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +4 -6
  685. package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +2 -4
  686. package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +2 -4
  687. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +2 -4
  688. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +2 -4
  689. package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +2 -4
  690. package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +44 -46
  691. package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +2 -4
  692. package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +2 -4
  693. package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +2 -4
  694. package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +4 -6
  695. package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +2 -4
  696. package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +2 -4
  697. package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +2 -4
  698. package/dist/node_modules/d3-hierarchy/src/treemap/index.js +14 -16
  699. package/dist/node_modules/d3-hierarchy/src/treemap/round.js +2 -4
  700. package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +2 -4
  701. package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +9 -11
  702. package/dist/node_modules/d3-interpolate/src/array.js +4 -6
  703. package/dist/node_modules/d3-interpolate/src/basis.js +4 -6
  704. package/dist/node_modules/d3-interpolate/src/basisClosed.js +4 -6
  705. package/dist/node_modules/d3-interpolate/src/color.js +17 -19
  706. package/dist/node_modules/d3-interpolate/src/constant.js +2 -4
  707. package/dist/node_modules/d3-interpolate/src/date.js +2 -4
  708. package/dist/node_modules/d3-interpolate/src/hcl.js +6 -8
  709. package/dist/node_modules/d3-interpolate/src/number.js +2 -4
  710. package/dist/node_modules/d3-interpolate/src/numberArray.js +3 -5
  711. package/dist/node_modules/d3-interpolate/src/object.js +4 -6
  712. package/dist/node_modules/d3-interpolate/src/rgb.js +9 -11
  713. package/dist/node_modules/d3-interpolate/src/round.js +2 -4
  714. package/dist/node_modules/d3-interpolate/src/string.js +14 -16
  715. package/dist/node_modules/d3-interpolate/src/transform/decompose.js +5 -7
  716. package/dist/node_modules/d3-interpolate/src/transform/index.js +11 -13
  717. package/dist/node_modules/d3-interpolate/src/transform/parse.js +8 -10
  718. package/dist/node_modules/d3-interpolate/src/value.js +12 -14
  719. package/dist/node_modules/d3-interpolate/src/zoom.js +11 -13
  720. package/dist/node_modules/d3-path/src/path.js +14 -16
  721. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +2 -4
  722. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +2 -4
  723. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +2 -4
  724. package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +12 -13
  725. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -4
  726. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +2 -4
  727. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +17 -19
  728. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +3 -5
  729. package/dist/node_modules/d3-sankey/src/align.js +10 -12
  730. package/dist/node_modules/d3-sankey/src/constant.js +2 -4
  731. package/dist/node_modules/d3-sankey/src/sankey.js +168 -170
  732. package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +6 -8
  733. package/dist/node_modules/d3-scale/src/band.js +9 -11
  734. package/dist/node_modules/d3-scale/src/constant.js +2 -4
  735. package/dist/node_modules/d3-scale/src/continuous.js +47 -49
  736. package/dist/node_modules/d3-scale/src/init.js +2 -4
  737. package/dist/node_modules/d3-scale/src/linear.js +13 -15
  738. package/dist/node_modules/d3-scale/src/nice.js +2 -4
  739. package/dist/node_modules/d3-scale/src/number.js +2 -4
  740. package/dist/node_modules/d3-scale/src/ordinal.js +16 -18
  741. package/dist/node_modules/d3-scale/src/tickFormat.js +14 -16
  742. package/dist/node_modules/d3-scale/src/time.js +34 -36
  743. package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -5
  744. package/dist/node_modules/d3-scale-chromatic/src/colors.js +2 -4
  745. package/dist/node_modules/d3-selection/src/array.js +2 -4
  746. package/dist/node_modules/d3-selection/src/constant.js +2 -4
  747. package/dist/node_modules/d3-selection/src/creator.js +10 -12
  748. package/dist/node_modules/d3-selection/src/matcher.js +3 -5
  749. package/dist/node_modules/d3-selection/src/namespace.js +5 -7
  750. package/dist/node_modules/d3-selection/src/namespaces.js +3 -5
  751. package/dist/node_modules/d3-selection/src/pointer.js +4 -6
  752. package/dist/node_modules/d3-selection/src/select.js +4 -6
  753. package/dist/node_modules/d3-selection/src/selection/append.js +4 -6
  754. package/dist/node_modules/d3-selection/src/selection/attr.js +17 -19
  755. package/dist/node_modules/d3-selection/src/selection/call.js +2 -4
  756. package/dist/node_modules/d3-selection/src/selection/classed.js +23 -25
  757. package/dist/node_modules/d3-selection/src/selection/clone.js +5 -7
  758. package/dist/node_modules/d3-selection/src/selection/data.js +16 -18
  759. package/dist/node_modules/d3-selection/src/selection/datum.js +2 -4
  760. package/dist/node_modules/d3-selection/src/selection/dispatch.js +10 -12
  761. package/dist/node_modules/d3-selection/src/selection/each.js +2 -4
  762. package/dist/node_modules/d3-selection/src/selection/empty.js +2 -4
  763. package/dist/node_modules/d3-selection/src/selection/enter.js +11 -13
  764. package/dist/node_modules/d3-selection/src/selection/exit.js +5 -7
  765. package/dist/node_modules/d3-selection/src/selection/filter.js +6 -8
  766. package/dist/node_modules/d3-selection/src/selection/html.js +6 -8
  767. package/dist/node_modules/d3-selection/src/selection/index.js +79 -80
  768. package/dist/node_modules/d3-selection/src/selection/insert.js +6 -8
  769. package/dist/node_modules/d3-selection/src/selection/iterator.js +2 -4
  770. package/dist/node_modules/d3-selection/src/selection/join.js +2 -4
  771. package/dist/node_modules/d3-selection/src/selection/lower.js +4 -6
  772. package/dist/node_modules/d3-selection/src/selection/merge.js +4 -6
  773. package/dist/node_modules/d3-selection/src/selection/node.js +2 -4
  774. package/dist/node_modules/d3-selection/src/selection/nodes.js +2 -4
  775. package/dist/node_modules/d3-selection/src/selection/on.js +9 -11
  776. package/dist/node_modules/d3-selection/src/selection/order.js +2 -4
  777. package/dist/node_modules/d3-selection/src/selection/property.js +6 -8
  778. package/dist/node_modules/d3-selection/src/selection/raise.js +4 -6
  779. package/dist/node_modules/d3-selection/src/selection/remove.js +4 -6
  780. package/dist/node_modules/d3-selection/src/selection/select.js +6 -8
  781. package/dist/node_modules/d3-selection/src/selection/selectAll.js +9 -11
  782. package/dist/node_modules/d3-selection/src/selection/selectChild.js +8 -10
  783. package/dist/node_modules/d3-selection/src/selection/selectChildren.js +8 -10
  784. package/dist/node_modules/d3-selection/src/selection/size.js +2 -4
  785. package/dist/node_modules/d3-selection/src/selection/sort.js +6 -8
  786. package/dist/node_modules/d3-selection/src/selection/sparse.js +2 -4
  787. package/dist/node_modules/d3-selection/src/selection/style.js +12 -14
  788. package/dist/node_modules/d3-selection/src/selection/text.js +6 -8
  789. package/dist/node_modules/d3-selection/src/selector.js +4 -6
  790. package/dist/node_modules/d3-selection/src/selectorAll.js +4 -6
  791. package/dist/node_modules/d3-selection/src/sourceEvent.js +2 -4
  792. package/dist/node_modules/d3-selection/src/window.js +2 -4
  793. package/dist/node_modules/d3-shape/src/arc.js +36 -38
  794. package/dist/node_modules/d3-shape/src/array.js +2 -3
  795. package/dist/node_modules/d3-shape/src/constant.js +2 -4
  796. package/dist/node_modules/d3-shape/src/curve/basis.js +8 -10
  797. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +16 -18
  798. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +7 -9
  799. package/dist/node_modules/d3-shape/src/curve/bump.js +13 -15
  800. package/dist/node_modules/d3-shape/src/curve/bundle.js +7 -9
  801. package/dist/node_modules/d3-shape/src/curve/cardinal.js +8 -10
  802. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +10 -12
  803. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +7 -9
  804. package/dist/node_modules/d3-shape/src/curve/catmullRom.js +17 -19
  805. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +11 -13
  806. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +8 -10
  807. package/dist/node_modules/d3-shape/src/curve/linear.js +5 -7
  808. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +10 -12
  809. package/dist/node_modules/d3-shape/src/curve/monotone.js +21 -23
  810. package/dist/node_modules/d3-shape/src/curve/natural.js +7 -9
  811. package/dist/node_modules/d3-shape/src/curve/step.js +17 -19
  812. package/dist/node_modules/d3-shape/src/descending.js +2 -4
  813. package/dist/node_modules/d3-shape/src/identity.js +2 -4
  814. package/dist/node_modules/d3-shape/src/line.js +17 -19
  815. package/dist/node_modules/d3-shape/src/math.js +6 -8
  816. package/dist/node_modules/d3-shape/src/noop.js +2 -4
  817. package/dist/node_modules/d3-shape/src/path.js +4 -6
  818. package/dist/node_modules/d3-shape/src/pie.js +13 -15
  819. package/dist/node_modules/d3-shape/src/point.js +3 -5
  820. package/dist/node_modules/d3-time/src/day.js +15 -17
  821. package/dist/node_modules/d3-time/src/duration.js +2 -4
  822. package/dist/node_modules/d3-time/src/hour.js +14 -16
  823. package/dist/node_modules/d3-time/src/interval.js +5 -7
  824. package/dist/node_modules/d3-time/src/millisecond.js +5 -7
  825. package/dist/node_modules/d3-time/src/minute.js +14 -16
  826. package/dist/node_modules/d3-time/src/month.js +12 -14
  827. package/dist/node_modules/d3-time/src/second.js +7 -9
  828. package/dist/node_modules/d3-time/src/ticks.js +64 -66
  829. package/dist/node_modules/d3-time/src/week.js +19 -21
  830. package/dist/node_modules/d3-time/src/year.js +8 -10
  831. package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -8
  832. package/dist/node_modules/d3-time-format/src/locale.js +344 -346
  833. package/dist/node_modules/d3-timer/src/timeout.js +4 -6
  834. package/dist/node_modules/d3-timer/src/timer.js +31 -33
  835. package/dist/node_modules/d3-transition/src/index.js +2 -2
  836. package/dist/node_modules/d3-transition/src/interrupt.js +3 -4
  837. package/dist/node_modules/d3-transition/src/selection/index.js +4 -5
  838. package/dist/node_modules/d3-transition/src/selection/interrupt.js +4 -6
  839. package/dist/node_modules/d3-transition/src/selection/transition.js +14 -16
  840. package/dist/node_modules/d3-transition/src/transition/attr.js +26 -28
  841. package/dist/node_modules/d3-transition/src/transition/attrTween.js +11 -13
  842. package/dist/node_modules/d3-transition/src/transition/delay.js +9 -11
  843. package/dist/node_modules/d3-transition/src/transition/duration.js +9 -11
  844. package/dist/node_modules/d3-transition/src/transition/ease.js +6 -8
  845. package/dist/node_modules/d3-transition/src/transition/easeVarying.js +6 -8
  846. package/dist/node_modules/d3-transition/src/transition/end.js +4 -6
  847. package/dist/node_modules/d3-transition/src/transition/filter.js +6 -8
  848. package/dist/node_modules/d3-transition/src/transition/index.js +61 -63
  849. package/dist/node_modules/d3-transition/src/transition/interpolate.js +7 -9
  850. package/dist/node_modules/d3-transition/src/transition/merge.js +4 -6
  851. package/dist/node_modules/d3-transition/src/transition/on.js +7 -9
  852. package/dist/node_modules/d3-transition/src/transition/remove.js +4 -6
  853. package/dist/node_modules/d3-transition/src/transition/schedule.js +18 -20
  854. package/dist/node_modules/d3-transition/src/transition/select.js +8 -10
  855. package/dist/node_modules/d3-transition/src/transition/selectAll.js +8 -10
  856. package/dist/node_modules/d3-transition/src/transition/selection.js +5 -7
  857. package/dist/node_modules/d3-transition/src/transition/style.js +19 -21
  858. package/dist/node_modules/d3-transition/src/transition/styleTween.js +6 -8
  859. package/dist/node_modules/d3-transition/src/transition/text.js +6 -8
  860. package/dist/node_modules/d3-transition/src/transition/textTween.js +6 -8
  861. package/dist/node_modules/d3-transition/src/transition/transition.js +8 -10
  862. package/dist/node_modules/d3-transition/src/transition/tween.js +12 -14
  863. package/dist/node_modules/d3-zoom/src/constant.js +2 -4
  864. package/dist/node_modules/d3-zoom/src/event.js +2 -4
  865. package/dist/node_modules/d3-zoom/src/index.js +2 -2
  866. package/dist/node_modules/d3-zoom/src/noevent.js +3 -5
  867. package/dist/node_modules/d3-zoom/src/transform.js +10 -12
  868. package/dist/node_modules/d3-zoom/src/zoom.js +114 -116
  869. package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +12 -14
  870. package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +9 -11
  871. package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +34 -36
  872. package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +7 -9
  873. package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +49 -51
  874. package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
  875. package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +163 -165
  876. package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +43 -45
  877. package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +10 -12
  878. package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +4 -6
  879. package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +6 -8
  880. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +12 -14
  881. package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +20 -22
  882. package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +34 -36
  883. package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +13 -15
  884. package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +30 -32
  885. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +28 -30
  886. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +18 -20
  887. package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +10 -12
  888. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +148 -150
  889. package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +18 -20
  890. package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +17 -19
  891. package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +14 -16
  892. package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +63 -64
  893. package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +8 -10
  894. package/dist/node_modules/dagre-d3-es/src/dagre/util.js +82 -84
  895. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +13 -15
  896. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -3
  897. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -3
  898. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
  899. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +4 -6
  900. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +4 -6
  901. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +11 -13
  902. package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +129 -131
  903. package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
  904. package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +16 -18
  905. package/dist/node_modules/dayjs/dayjs.min.js +4 -6
  906. package/dist/node_modules/dayjs/plugin/advancedFormat.js +4 -6
  907. package/dist/node_modules/dayjs/plugin/customParseFormat.js +4 -6
  908. package/dist/node_modules/dayjs/plugin/duration.js +4 -6
  909. package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -6
  910. package/dist/node_modules/decode-named-character-reference/index.dom.js +5 -7
  911. package/dist/node_modules/devlop/lib/default.js +2 -4
  912. package/dist/node_modules/dompurify/dist/purify.es.js +180 -182
  913. package/dist/node_modules/entities/dist/esm/decode-codepoint.js +4 -6
  914. package/dist/node_modules/entities/dist/esm/decode.js +85 -87
  915. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +2 -4
  916. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +4 -6
  917. package/dist/node_modules/extend/index.js +6 -9
  918. package/dist/node_modules/hast-util-from-dom/lib/index.js +30 -32
  919. package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +8 -10
  920. package/dist/node_modules/hast-util-from-parse5/lib/index.js +80 -82
  921. package/dist/node_modules/hast-util-is-element/lib/index.js +15 -17
  922. package/dist/node_modules/hast-util-parse-selector/lib/index.js +5 -7
  923. package/dist/node_modules/hast-util-raw/lib/index.js +134 -136
  924. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +21 -23
  925. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +3 -5
  926. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
  927. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +249 -250
  928. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +4 -6
  929. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
  930. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
  931. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +15 -17
  932. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1495 -1497
  933. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +146 -148
  934. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +19 -20
  935. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +798 -800
  936. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +31 -33
  937. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +8 -10
  938. package/dist/node_modules/hast-util-sanitize/lib/index.js +104 -106
  939. package/dist/node_modules/hast-util-sanitize/lib/schema.js +11 -12
  940. package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +7 -9
  941. package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +2 -4
  942. package/dist/node_modules/hast-util-to-html/lib/handle/element.js +23 -25
  943. package/dist/node_modules/hast-util-to-html/lib/handle/index.js +21 -22
  944. package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +4 -6
  945. package/dist/node_modules/hast-util-to-html/lib/handle/root.js +2 -4
  946. package/dist/node_modules/hast-util-to-html/lib/handle/text.js +5 -7
  947. package/dist/node_modules/hast-util-to-html/lib/index.js +36 -38
  948. package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +68 -70
  949. package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +4 -6
  950. package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +30 -32
  951. package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +9 -10
  952. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +190 -192
  953. package/dist/node_modules/hast-util-to-parse5/lib/index.js +69 -71
  954. package/dist/node_modules/hast-util-to-text/lib/index.js +59 -61
  955. package/dist/node_modules/hast-util-whitespace/lib/index.js +6 -8
  956. package/dist/node_modules/hastscript/lib/create-h.js +24 -26
  957. package/dist/node_modules/hastscript/lib/index.js +5 -7
  958. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -4
  959. package/dist/node_modules/html-url-attributes/lib/index.js +2 -4
  960. package/dist/node_modules/html-void-elements/index.js +2 -4
  961. package/dist/node_modules/inline-style-parser/cjs/index.js +4 -6
  962. package/dist/node_modules/internmap/src/index.js +20 -22
  963. package/dist/node_modules/katex/dist/katex.js +2307 -2301
  964. package/dist/node_modules/khroma/dist/channels/index.js +21 -23
  965. package/dist/node_modules/khroma/dist/channels/reusable.js +3 -5
  966. package/dist/node_modules/khroma/dist/channels/type.js +5 -7
  967. package/dist/node_modules/khroma/dist/color/hex.js +8 -10
  968. package/dist/node_modules/khroma/dist/color/hsl.js +17 -19
  969. package/dist/node_modules/khroma/dist/color/index.js +15 -17
  970. package/dist/node_modules/khroma/dist/color/keyword.js +8 -10
  971. package/dist/node_modules/khroma/dist/color/rgb.js +12 -14
  972. package/dist/node_modules/khroma/dist/constants.js +5 -7
  973. package/dist/node_modules/khroma/dist/methods/adjust.js +6 -8
  974. package/dist/node_modules/khroma/dist/methods/adjust_channel.js +6 -8
  975. package/dist/node_modules/khroma/dist/methods/change.js +7 -9
  976. package/dist/node_modules/khroma/dist/methods/channel.js +4 -6
  977. package/dist/node_modules/khroma/dist/methods/darken.js +3 -5
  978. package/dist/node_modules/khroma/dist/methods/invert.js +6 -8
  979. package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -5
  980. package/dist/node_modules/khroma/dist/methods/is_light.js +3 -5
  981. package/dist/node_modules/khroma/dist/methods/lighten.js +3 -5
  982. package/dist/node_modules/khroma/dist/methods/luminance.js +6 -8
  983. package/dist/node_modules/khroma/dist/methods/mix.js +6 -8
  984. package/dist/node_modules/khroma/dist/methods/rgba.js +13 -15
  985. package/dist/node_modules/khroma/dist/methods/transparentize.js +3 -5
  986. package/dist/node_modules/khroma/dist/utils/channel.js +6 -8
  987. package/dist/node_modules/khroma/dist/utils/index.js +8 -10
  988. package/dist/node_modules/khroma/dist/utils/lang.js +2 -4
  989. package/dist/node_modules/khroma/dist/utils/unit.js +2 -4
  990. package/dist/node_modules/langium/lib/default-module.js +64 -66
  991. package/dist/node_modules/langium/lib/dependency-injection.js +39 -37
  992. package/dist/node_modules/langium/lib/documentation/comment-provider.js +5 -7
  993. package/dist/node_modules/langium/lib/documentation/documentation-provider.js +6 -8
  994. package/dist/node_modules/langium/lib/documentation/jsdoc.js +202 -204
  995. package/dist/node_modules/langium/lib/index.js +182 -0
  996. package/dist/node_modules/langium/lib/languages/generated/ast.js +534 -343
  997. package/dist/node_modules/langium/lib/languages/grammar-config.js +8 -10
  998. package/dist/node_modules/langium/lib/parser/async-parser.js +76 -4
  999. package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +6 -8
  1000. package/dist/node_modules/langium/lib/parser/cst-node-builder.js +54 -56
  1001. package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
  1002. package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +7 -9
  1003. package/dist/node_modules/langium/lib/parser/langium-parser.js +188 -190
  1004. package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
  1005. package/dist/node_modules/langium/lib/parser/parser-builder-base.js +203 -204
  1006. package/dist/node_modules/langium/lib/parser/token-builder.js +30 -32
  1007. package/dist/node_modules/langium/lib/parser/value-converter.js +15 -17
  1008. package/dist/node_modules/langium/lib/references/linker.js +103 -104
  1009. package/dist/node_modules/langium/lib/references/name-provider.js +7 -9
  1010. package/dist/node_modules/langium/lib/references/references.js +51 -53
  1011. package/dist/node_modules/langium/lib/references/scope-computation.js +12 -14
  1012. package/dist/node_modules/langium/lib/references/scope-provider.js +11 -13
  1013. package/dist/node_modules/langium/lib/references/scope.js +56 -27
  1014. package/dist/node_modules/langium/lib/serializer/hydrator.js +69 -71
  1015. package/dist/node_modules/langium/lib/serializer/json-serializer.js +21 -23
  1016. package/dist/node_modules/langium/lib/service-registry.js +5 -7
  1017. package/dist/node_modules/langium/lib/syntax-tree.js +31 -33
  1018. package/dist/node_modules/langium/lib/utils/ast-utils.js +112 -77
  1019. package/dist/node_modules/langium/lib/utils/caching.js +42 -33
  1020. package/dist/node_modules/langium/lib/utils/cancellation.js +5 -7
  1021. package/dist/node_modules/langium/lib/utils/collections.js +33 -35
  1022. package/dist/node_modules/langium/lib/utils/cst-utils.js +161 -46
  1023. package/dist/node_modules/langium/lib/utils/disposable.js +3 -5
  1024. package/dist/node_modules/langium/lib/utils/errors.js +9 -8
  1025. package/dist/node_modules/langium/lib/utils/event.js +5 -7
  1026. package/dist/node_modules/langium/lib/utils/grammar-loader.js +14 -16
  1027. package/dist/node_modules/langium/lib/utils/grammar-utils.js +249 -172
  1028. package/dist/node_modules/langium/lib/utils/index.js +53 -0
  1029. package/dist/node_modules/langium/lib/utils/promise-utils.js +19 -18
  1030. package/dist/node_modules/langium/lib/utils/regexp-utils.js +76 -53
  1031. package/dist/node_modules/langium/lib/utils/stream.js +153 -155
  1032. package/dist/node_modules/langium/lib/utils/uri-utils.js +12 -14
  1033. package/dist/node_modules/langium/lib/validation/document-validator.js +103 -104
  1034. package/dist/node_modules/langium/lib/validation/validation-registry.js +14 -15
  1035. package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +17 -19
  1036. package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +2 -4
  1037. package/dist/node_modules/langium/lib/workspace/configuration.js +5 -7
  1038. package/dist/node_modules/langium/lib/workspace/document-builder.js +134 -131
  1039. package/dist/node_modules/langium/lib/workspace/documents.js +83 -85
  1040. package/dist/node_modules/langium/lib/workspace/file-system-provider.js +4 -5
  1041. package/dist/node_modules/langium/lib/workspace/index-manager.js +14 -16
  1042. package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
  1043. package/dist/node_modules/langium/lib/workspace/workspace-lock.js +9 -11
  1044. package/dist/node_modules/langium/lib/workspace/workspace-manager.js +33 -35
  1045. package/dist/node_modules/layout-base/layout-base.js +4 -6
  1046. package/dist/node_modules/lodash/_Symbol.js +7 -0
  1047. package/dist/node_modules/lodash/_baseGetTag.js +13 -0
  1048. package/dist/node_modules/lodash/_baseTrim.js +11 -0
  1049. package/dist/node_modules/lodash/_freeGlobal.js +6 -0
  1050. package/dist/node_modules/lodash/_getRawTag.js +17 -0
  1051. package/dist/node_modules/lodash/_objectToString.js +10 -0
  1052. package/dist/node_modules/lodash/_root.js +8 -0
  1053. package/dist/node_modules/lodash/_trimmedEndIndex.js +11 -0
  1054. package/dist/{frontend/studio/node_modules → node_modules}/lodash/debounce.js +8 -10
  1055. package/dist/node_modules/lodash/isObject.js +10 -0
  1056. package/dist/node_modules/lodash/isObjectLike.js +9 -0
  1057. package/dist/node_modules/lodash/isSymbol.js +12 -0
  1058. package/dist/node_modules/lodash/now.js +10 -0
  1059. package/dist/node_modules/lodash/toNumber.js +22 -0
  1060. package/dist/node_modules/lodash-es/_DataView.js +4 -6
  1061. package/dist/node_modules/lodash-es/_Hash.js +13 -14
  1062. package/dist/node_modules/lodash-es/_ListCache.js +13 -14
  1063. package/dist/node_modules/lodash-es/_Map.js +4 -6
  1064. package/dist/node_modules/lodash-es/_MapCache.js +13 -14
  1065. package/dist/node_modules/lodash-es/_Promise.js +4 -6
  1066. package/dist/node_modules/lodash-es/_Set.js +4 -6
  1067. package/dist/node_modules/lodash-es/_SetCache.js +9 -10
  1068. package/dist/node_modules/lodash-es/_Stack.js +11 -12
  1069. package/dist/node_modules/lodash-es/_Symbol.js +3 -5
  1070. package/dist/node_modules/lodash-es/_Uint8Array.js +3 -5
  1071. package/dist/node_modules/lodash-es/_WeakMap.js +4 -6
  1072. package/dist/node_modules/lodash-es/_apply.js +3 -4
  1073. package/dist/node_modules/lodash-es/_arrayEach.js +3 -4
  1074. package/dist/node_modules/lodash-es/_arrayFilter.js +3 -4
  1075. package/dist/node_modules/lodash-es/_arrayIncludes.js +5 -6
  1076. package/dist/node_modules/lodash-es/_arrayIncludesWith.js +3 -4
  1077. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +12 -13
  1078. package/dist/node_modules/lodash-es/_arrayMap.js +3 -4
  1079. package/dist/node_modules/lodash-es/_arrayPush.js +3 -4
  1080. package/dist/node_modules/lodash-es/_arrayReduce.js +3 -4
  1081. package/dist/node_modules/lodash-es/_arraySome.js +3 -4
  1082. package/dist/node_modules/lodash-es/_asciiSize.js +3 -5
  1083. package/dist/node_modules/lodash-es/_assignMergeValue.js +6 -7
  1084. package/dist/node_modules/lodash-es/_assignValue.js +7 -8
  1085. package/dist/node_modules/lodash-es/_assocIndexOf.js +5 -6
  1086. package/dist/node_modules/lodash-es/_baseAssign.js +6 -7
  1087. package/dist/node_modules/lodash-es/_baseAssignIn.js +6 -7
  1088. package/dist/node_modules/lodash-es/_baseAssignValue.js +5 -6
  1089. package/dist/node_modules/lodash-es/_baseClone.js +50 -51
  1090. package/dist/node_modules/lodash-es/_baseCreate.js +5 -7
  1091. package/dist/node_modules/lodash-es/_baseEach.js +4 -6
  1092. package/dist/node_modules/lodash-es/_baseExtremum.js +5 -6
  1093. package/dist/node_modules/lodash-es/_baseFilter.js +5 -6
  1094. package/dist/node_modules/lodash-es/_baseFindIndex.js +3 -4
  1095. package/dist/node_modules/lodash-es/_baseFlatten.js +7 -8
  1096. package/dist/node_modules/lodash-es/_baseFor.js +3 -5
  1097. package/dist/node_modules/lodash-es/_baseForOwn.js +6 -7
  1098. package/dist/node_modules/lodash-es/_baseGet.js +7 -8
  1099. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +6 -7
  1100. package/dist/node_modules/lodash-es/_baseGetTag.js +8 -9
  1101. package/dist/node_modules/lodash-es/_baseGt.js +3 -4
  1102. package/dist/node_modules/lodash-es/_baseHas.js +5 -6
  1103. package/dist/node_modules/lodash-es/_baseHasIn.js +3 -4
  1104. package/dist/node_modules/lodash-es/_baseIndexOf.js +7 -8
  1105. package/dist/node_modules/lodash-es/_baseIsArguments.js +7 -8
  1106. package/dist/node_modules/lodash-es/_baseIsEqual.js +6 -7
  1107. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +22 -23
  1108. package/dist/node_modules/lodash-es/_baseIsMap.js +7 -8
  1109. package/dist/node_modules/lodash-es/_baseIsMatch.js +8 -9
  1110. package/dist/node_modules/lodash-es/_baseIsNaN.js +3 -4
  1111. package/dist/node_modules/lodash-es/_baseIsNative.js +9 -10
  1112. package/dist/node_modules/lodash-es/_baseIsSet.js +7 -8
  1113. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +9 -10
  1114. package/dist/node_modules/lodash-es/_baseIteratee.js +9 -10
  1115. package/dist/node_modules/lodash-es/_baseKeys.js +8 -9
  1116. package/dist/node_modules/lodash-es/_baseKeysIn.js +10 -11
  1117. package/dist/node_modules/lodash-es/_baseLt.js +3 -4
  1118. package/dist/node_modules/lodash-es/_baseMap.js +7 -8
  1119. package/dist/node_modules/lodash-es/_baseMatches.js +9 -10
  1120. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +14 -15
  1121. package/dist/node_modules/lodash-es/_baseMerge.js +15 -16
  1122. package/dist/node_modules/lodash-es/_baseMergeDeep.js +23 -24
  1123. package/dist/node_modules/lodash-es/_baseOrderBy.js +22 -23
  1124. package/dist/node_modules/lodash-es/_basePick.js +7 -8
  1125. package/dist/node_modules/lodash-es/_basePickBy.js +8 -9
  1126. package/dist/node_modules/lodash-es/_baseProperty.js +3 -4
  1127. package/dist/node_modules/lodash-es/_basePropertyDeep.js +5 -6
  1128. package/dist/node_modules/lodash-es/_baseRange.js +5 -6
  1129. package/dist/node_modules/lodash-es/_baseReduce.js +3 -4
  1130. package/dist/node_modules/lodash-es/_baseRest.js +7 -8
  1131. package/dist/node_modules/lodash-es/_baseSet.js +13 -14
  1132. package/dist/node_modules/lodash-es/_baseSetToString.js +8 -10
  1133. package/dist/node_modules/lodash-es/_baseSortBy.js +3 -4
  1134. package/dist/node_modules/lodash-es/_baseTimes.js +3 -4
  1135. package/dist/node_modules/lodash-es/_baseToString.js +12 -13
  1136. package/dist/node_modules/lodash-es/_baseTrim.js +6 -7
  1137. package/dist/node_modules/lodash-es/_baseUnary.js +3 -4
  1138. package/dist/node_modules/lodash-es/_baseUniq.js +16 -17
  1139. package/dist/node_modules/lodash-es/_baseValues.js +5 -6
  1140. package/dist/node_modules/lodash-es/_baseZipObject.js +3 -4
  1141. package/dist/node_modules/lodash-es/_cacheHas.js +3 -4
  1142. package/dist/node_modules/lodash-es/_castFunction.js +5 -6
  1143. package/dist/node_modules/lodash-es/_castPath.js +8 -9
  1144. package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +5 -6
  1145. package/dist/node_modules/lodash-es/_cloneBuffer.js +8 -9
  1146. package/dist/node_modules/lodash-es/_cloneDataView.js +5 -6
  1147. package/dist/node_modules/lodash-es/_cloneRegExp.js +5 -6
  1148. package/dist/node_modules/lodash-es/_cloneSymbol.js +6 -7
  1149. package/dist/node_modules/lodash-es/_cloneTypedArray.js +5 -6
  1150. package/dist/node_modules/lodash-es/_compareAscending.js +5 -6
  1151. package/dist/node_modules/lodash-es/_compareMultiple.js +5 -6
  1152. package/dist/node_modules/lodash-es/_copyArray.js +3 -4
  1153. package/dist/node_modules/lodash-es/_copyObject.js +6 -7
  1154. package/dist/node_modules/lodash-es/_copySymbols.js +6 -7
  1155. package/dist/node_modules/lodash-es/_copySymbolsIn.js +6 -7
  1156. package/dist/node_modules/lodash-es/_coreJsData.js +3 -5
  1157. package/dist/node_modules/lodash-es/_createAssigner.js +7 -8
  1158. package/dist/node_modules/lodash-es/_createBaseEach.js +5 -6
  1159. package/dist/node_modules/lodash-es/_createBaseFor.js +3 -4
  1160. package/dist/node_modules/lodash-es/_createFind.js +9 -10
  1161. package/dist/node_modules/lodash-es/_createRange.js +7 -8
  1162. package/dist/node_modules/lodash-es/_createSet.js +7 -9
  1163. package/dist/node_modules/lodash-es/_defineProperty.js +4 -6
  1164. package/dist/node_modules/lodash-es/_equalArrays.js +11 -12
  1165. package/dist/node_modules/lodash-es/_equalByTag.js +28 -29
  1166. package/dist/node_modules/lodash-es/_equalObjects.js +8 -9
  1167. package/dist/node_modules/lodash-es/_flatRest.js +7 -8
  1168. package/dist/node_modules/lodash-es/_freeGlobal.js +2 -4
  1169. package/dist/node_modules/lodash-es/_getAllKeys.js +7 -8
  1170. package/dist/node_modules/lodash-es/_getAllKeysIn.js +7 -8
  1171. package/dist/node_modules/lodash-es/_getMapData.js +5 -6
  1172. package/dist/node_modules/lodash-es/_getMatchData.js +7 -8
  1173. package/dist/node_modules/lodash-es/_getNative.js +7 -8
  1174. package/dist/node_modules/lodash-es/_getPrototype.js +3 -5
  1175. package/dist/node_modules/lodash-es/_getRawTag.js +9 -10
  1176. package/dist/node_modules/lodash-es/_getSymbols.js +7 -9
  1177. package/dist/node_modules/lodash-es/_getSymbolsIn.js +8 -10
  1178. package/dist/node_modules/lodash-es/_getTag.js +19 -21
  1179. package/dist/node_modules/lodash-es/_getValue.js +3 -4
  1180. package/dist/node_modules/lodash-es/_hasPath.js +12 -13
  1181. package/dist/node_modules/lodash-es/_hasUnicode.js +5 -6
  1182. package/dist/node_modules/lodash-es/_hashClear.js +5 -6
  1183. package/dist/node_modules/lodash-es/_hashDelete.js +4 -5
  1184. package/dist/node_modules/lodash-es/_hashGet.js +8 -9
  1185. package/dist/node_modules/lodash-es/_hashHas.js +6 -7
  1186. package/dist/node_modules/lodash-es/_hashSet.js +6 -7
  1187. package/dist/node_modules/lodash-es/_initCloneArray.js +5 -6
  1188. package/dist/node_modules/lodash-es/_initCloneByTag.js +28 -29
  1189. package/dist/node_modules/lodash-es/_initCloneObject.js +7 -8
  1190. package/dist/node_modules/lodash-es/_isFlattenable.js +8 -9
  1191. package/dist/node_modules/lodash-es/_isIndex.js +5 -6
  1192. package/dist/node_modules/lodash-es/_isIterateeCall.js +9 -10
  1193. package/dist/node_modules/lodash-es/_isKey.js +8 -9
  1194. package/dist/node_modules/lodash-es/_isKeyable.js +3 -4
  1195. package/dist/node_modules/lodash-es/_isMasked.js +8 -9
  1196. package/dist/node_modules/lodash-es/_isPrototype.js +5 -6
  1197. package/dist/node_modules/lodash-es/_isStrictComparable.js +5 -6
  1198. package/dist/node_modules/lodash-es/_listCacheClear.js +3 -4
  1199. package/dist/node_modules/lodash-es/_listCacheDelete.js +7 -8
  1200. package/dist/node_modules/lodash-es/_listCacheGet.js +5 -6
  1201. package/dist/node_modules/lodash-es/_listCacheHas.js +5 -6
  1202. package/dist/node_modules/lodash-es/_listCacheSet.js +5 -6
  1203. package/dist/node_modules/lodash-es/_mapCacheClear.js +9 -10
  1204. package/dist/node_modules/lodash-es/_mapCacheDelete.js +6 -7
  1205. package/dist/node_modules/lodash-es/_mapCacheGet.js +5 -6
  1206. package/dist/node_modules/lodash-es/_mapCacheHas.js +5 -6
  1207. package/dist/node_modules/lodash-es/_mapCacheSet.js +5 -6
  1208. package/dist/node_modules/lodash-es/_mapToArray.js +3 -4
  1209. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +3 -4
  1210. package/dist/node_modules/lodash-es/_memoizeCapped.js +7 -8
  1211. package/dist/node_modules/lodash-es/_nativeCreate.js +3 -5
  1212. package/dist/node_modules/lodash-es/_nativeKeys.js +3 -5
  1213. package/dist/node_modules/lodash-es/_nativeKeysIn.js +3 -4
  1214. package/dist/node_modules/lodash-es/_nodeUtil.js +4 -6
  1215. package/dist/node_modules/lodash-es/_objectToString.js +5 -6
  1216. package/dist/node_modules/lodash-es/_overArg.js +3 -4
  1217. package/dist/node_modules/lodash-es/_overRest.js +8 -9
  1218. package/dist/node_modules/lodash-es/_root.js +3 -5
  1219. package/dist/node_modules/lodash-es/_safeGet.js +3 -4
  1220. package/dist/node_modules/lodash-es/_setCacheAdd.js +5 -6
  1221. package/dist/node_modules/lodash-es/_setCacheHas.js +3 -4
  1222. package/dist/node_modules/lodash-es/_setToArray.js +3 -4
  1223. package/dist/node_modules/lodash-es/_setToString.js +4 -6
  1224. package/dist/node_modules/lodash-es/_shortOut.js +6 -7
  1225. package/dist/node_modules/lodash-es/_stackClear.js +5 -6
  1226. package/dist/node_modules/lodash-es/_stackDelete.js +3 -4
  1227. package/dist/node_modules/lodash-es/_stackGet.js +3 -4
  1228. package/dist/node_modules/lodash-es/_stackHas.js +3 -4
  1229. package/dist/node_modules/lodash-es/_stackSet.js +10 -11
  1230. package/dist/node_modules/lodash-es/_strictIndexOf.js +3 -4
  1231. package/dist/node_modules/lodash-es/_stringSize.js +7 -8
  1232. package/dist/node_modules/lodash-es/_stringToPath.js +5 -7
  1233. package/dist/node_modules/lodash-es/_toKey.js +7 -8
  1234. package/dist/node_modules/lodash-es/_toSource.js +7 -8
  1235. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +5 -6
  1236. package/dist/node_modules/lodash-es/_unicodeSize.js +16 -17
  1237. package/dist/node_modules/lodash-es/clone.js +6 -7
  1238. package/dist/node_modules/lodash-es/cloneDeep.js +6 -7
  1239. package/dist/node_modules/lodash-es/constant.js +3 -4
  1240. package/dist/node_modules/lodash-es/defaults.js +11 -13
  1241. package/dist/node_modules/lodash-es/eq.js +3 -4
  1242. package/dist/node_modules/lodash-es/filter.js +8 -9
  1243. package/dist/node_modules/lodash-es/find.js +4 -6
  1244. package/dist/node_modules/lodash-es/findIndex.js +9 -10
  1245. package/dist/node_modules/lodash-es/flatMap.js +6 -7
  1246. package/dist/node_modules/lodash-es/flatten.js +5 -6
  1247. package/dist/node_modules/lodash-es/forEach.js +8 -9
  1248. package/dist/node_modules/lodash-es/forIn.js +7 -8
  1249. package/dist/node_modules/lodash-es/forOwn.js +6 -7
  1250. package/dist/node_modules/lodash-es/get.js +5 -6
  1251. package/dist/node_modules/lodash-es/has.js +6 -7
  1252. package/dist/node_modules/lodash-es/hasIn.js +6 -7
  1253. package/dist/node_modules/lodash-es/identity.js +3 -4
  1254. package/dist/node_modules/lodash-es/isArguments.js +6 -8
  1255. package/dist/node_modules/lodash-es/isArray.js +2 -4
  1256. package/dist/node_modules/lodash-es/isArrayLike.js +6 -7
  1257. package/dist/node_modules/lodash-es/isArrayLikeObject.js +6 -7
  1258. package/dist/node_modules/lodash-es/isBuffer.js +4 -6
  1259. package/dist/node_modules/lodash-es/isEmpty.js +17 -18
  1260. package/dist/node_modules/lodash-es/isFunction.js +9 -10
  1261. package/dist/node_modules/lodash-es/isLength.js +5 -6
  1262. package/dist/node_modules/lodash-es/isMap.js +5 -7
  1263. package/dist/node_modules/lodash-es/isObject.js +3 -4
  1264. package/dist/node_modules/lodash-es/isObjectLike.js +3 -4
  1265. package/dist/node_modules/lodash-es/isPlainObject.js +12 -13
  1266. package/dist/node_modules/lodash-es/isSet.js +5 -7
  1267. package/dist/node_modules/lodash-es/isString.js +8 -9
  1268. package/dist/node_modules/lodash-es/isSymbol.js +7 -8
  1269. package/dist/node_modules/lodash-es/isTypedArray.js +5 -7
  1270. package/dist/node_modules/lodash-es/isUndefined.js +3 -4
  1271. package/dist/node_modules/lodash-es/keys.js +7 -8
  1272. package/dist/node_modules/lodash-es/keysIn.js +7 -8
  1273. package/dist/node_modules/lodash-es/last.js +3 -4
  1274. package/dist/node_modules/lodash-es/map.js +8 -9
  1275. package/dist/node_modules/lodash-es/mapValues.js +8 -9
  1276. package/dist/node_modules/lodash-es/max.js +7 -8
  1277. package/dist/node_modules/lodash-es/memoize.js +8 -9
  1278. package/dist/node_modules/lodash-es/merge.js +5 -7
  1279. package/dist/node_modules/lodash-es/min.js +7 -8
  1280. package/dist/node_modules/lodash-es/minBy.js +7 -8
  1281. package/dist/node_modules/lodash-es/noop.js +3 -4
  1282. package/dist/node_modules/lodash-es/now.js +4 -6
  1283. package/dist/node_modules/lodash-es/pick.js +5 -7
  1284. package/dist/node_modules/lodash-es/property.js +8 -9
  1285. package/dist/node_modules/lodash-es/range.js +3 -5
  1286. package/dist/node_modules/lodash-es/reduce.js +10 -11
  1287. package/dist/node_modules/lodash-es/size.js +12 -13
  1288. package/dist/node_modules/lodash-es/sortBy.js +7 -9
  1289. package/dist/node_modules/lodash-es/stubArray.js +3 -4
  1290. package/dist/node_modules/lodash-es/stubFalse.js +3 -4
  1291. package/dist/node_modules/lodash-es/toFinite.js +6 -7
  1292. package/dist/node_modules/lodash-es/toInteger.js +5 -6
  1293. package/dist/node_modules/lodash-es/toNumber.js +13 -14
  1294. package/dist/node_modules/lodash-es/toPlainObject.js +6 -7
  1295. package/dist/node_modules/lodash-es/toString.js +5 -6
  1296. package/dist/node_modules/lodash-es/union.js +7 -9
  1297. package/dist/node_modules/lodash-es/uniqBy.js +6 -7
  1298. package/dist/node_modules/lodash-es/uniqueId.js +7 -8
  1299. package/dist/node_modules/lodash-es/values.js +6 -7
  1300. package/dist/node_modules/lodash-es/zipObject.js +6 -7
  1301. package/dist/node_modules/longest-streak/index.js +2 -4
  1302. package/dist/node_modules/markdown-table/index.js +9 -11
  1303. package/dist/node_modules/marked/lib/marked.esm.js +685 -687
  1304. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +12 -14
  1305. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +2 -4
  1306. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +180 -182
  1307. package/dist/node_modules/mdast-util-gfm/lib/index.js +18 -20
  1308. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +67 -69
  1309. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +45 -47
  1310. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +13 -15
  1311. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +28 -30
  1312. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +14 -16
  1313. package/dist/node_modules/mdast-util-math/lib/index.js +13 -15
  1314. package/dist/node_modules/mdast-util-phrasing/lib/index.js +3 -5
  1315. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +9 -11
  1316. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -4
  1317. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -4
  1318. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -4
  1319. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -4
  1320. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -4
  1321. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +4 -6
  1322. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -4
  1323. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -4
  1324. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +6 -8
  1325. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +4 -6
  1326. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +53 -55
  1327. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -4
  1328. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +6 -8
  1329. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +4 -6
  1330. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +13 -15
  1331. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -4
  1332. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -4
  1333. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -4
  1334. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -4
  1335. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -4
  1336. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -4
  1337. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +4 -6
  1338. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +4 -6
  1339. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -4
  1340. package/dist/node_modules/mdast-util-to-hast/lib/index.js +6 -8
  1341. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -4
  1342. package/dist/node_modules/mdast-util-to-hast/lib/state.js +59 -61
  1343. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +4 -6
  1344. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +4 -6
  1345. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +16 -18
  1346. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +4 -6
  1347. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +12 -14
  1348. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +6 -8
  1349. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +4 -6
  1350. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +4 -6
  1351. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +6 -8
  1352. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +41 -43
  1353. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +5 -7
  1354. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +4 -6
  1355. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +9 -11
  1356. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +5 -7
  1357. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +10 -12
  1358. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +2 -4
  1359. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +4 -6
  1360. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +12 -14
  1361. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +2 -4
  1362. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +5 -7
  1363. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +2 -4
  1364. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +4 -6
  1365. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +2 -4
  1366. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +2 -4
  1367. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +2 -4
  1368. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +2 -4
  1369. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +2 -4
  1370. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +2 -4
  1371. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +2 -4
  1372. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +2 -4
  1373. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +2 -4
  1374. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +4 -6
  1375. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +2 -4
  1376. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +7 -8
  1377. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +4 -6
  1378. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +4 -6
  1379. package/dist/node_modules/mdast-util-to-string/lib/index.js +12 -14
  1380. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +374 -378
  1381. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +1347 -1349
  1382. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AHTNJAMY.js +549 -555
  1383. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +38 -40
  1384. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +7 -9
  1385. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +4 -6
  1386. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4TB4RGXK.js +198 -204
  1387. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +5 -7
  1388. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +2345 -2347
  1389. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +253 -257
  1390. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +20 -22
  1391. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +35 -37
  1392. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +15 -17
  1393. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +344 -346
  1394. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -5
  1395. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +718 -746
  1396. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +588 -594
  1397. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +4 -8
  1398. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +204 -206
  1399. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +37 -39
  1400. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +891 -893
  1401. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +37 -39
  1402. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +13 -15
  1403. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +9 -11
  1404. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +9 -11
  1405. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +114 -116
  1406. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +188 -190
  1407. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +70 -72
  1408. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +185 -189
  1409. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +154 -156
  1410. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +72 -76
  1411. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-SMLLAGMA.js +75 -79
  1412. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-DWJPFMVM.js +896 -900
  1413. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +685 -687
  1414. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +569 -571
  1415. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +15 -17
  1416. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +304 -308
  1417. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +377 -379
  1418. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-6JOO6SKY.js +114 -116
  1419. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-QFDTVHPH.js +87 -91
  1420. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +94 -96
  1421. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-34T5L4WZ.js +273 -279
  1422. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-MS252O5E.js +59 -63
  1423. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +202 -212
  1424. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +564 -568
  1425. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +155 -157
  1426. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +9 -11
  1427. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +559 -561
  1428. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +370 -372
  1429. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +450 -454
  1430. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +658 -680
  1431. package/dist/node_modules/mermaid/dist/mermaid.core.js +430 -434
  1432. package/dist/node_modules/micromark/lib/constructs.js +79 -80
  1433. package/dist/node_modules/micromark/lib/create-tokenizer.js +12 -14
  1434. package/dist/node_modules/micromark/lib/initialize/content.js +7 -9
  1435. package/dist/node_modules/micromark/lib/initialize/document.js +14 -15
  1436. package/dist/node_modules/micromark/lib/initialize/flow.js +7 -9
  1437. package/dist/node_modules/micromark/lib/initialize/text.js +6 -8
  1438. package/dist/node_modules/micromark/lib/parse.js +18 -20
  1439. package/dist/node_modules/micromark/lib/postprocess.js +4 -6
  1440. package/dist/node_modules/micromark/lib/preprocess.js +4 -6
  1441. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +18 -20
  1442. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +15 -17
  1443. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +9 -11
  1444. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +13 -15
  1445. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +6 -8
  1446. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +14 -16
  1447. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +21 -22
  1448. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +15 -16
  1449. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +11 -13
  1450. package/dist/node_modules/micromark-core-commonmark/lib/content.js +17 -18
  1451. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +29 -30
  1452. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +6 -8
  1453. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +13 -15
  1454. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +67 -68
  1455. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +64 -66
  1456. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +111 -112
  1457. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +6 -8
  1458. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +6 -8
  1459. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +6 -8
  1460. package/dist/node_modules/micromark-core-commonmark/lib/list.js +31 -32
  1461. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +10 -12
  1462. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +9 -11
  1463. package/dist/node_modules/micromark-extension-gfm/index.js +14 -16
  1464. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +120 -122
  1465. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +31 -33
  1466. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +9 -11
  1467. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +4 -6
  1468. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +2 -4
  1469. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +34 -36
  1470. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +18 -20
  1471. package/dist/node_modules/micromark-extension-math/lib/math-flow.js +20 -21
  1472. package/dist/node_modules/micromark-extension-math/lib/math-text.js +9 -11
  1473. package/dist/node_modules/micromark-extension-math/lib/syntax.js +6 -8
  1474. package/dist/node_modules/micromark-factory-destination/index.js +8 -10
  1475. package/dist/node_modules/micromark-factory-label/index.js +5 -7
  1476. package/dist/node_modules/micromark-factory-space/index.js +5 -7
  1477. package/dist/node_modules/micromark-factory-title/index.js +6 -8
  1478. package/dist/node_modules/micromark-factory-whitespace/index.js +5 -7
  1479. package/dist/node_modules/micromark-util-character/index.js +12 -14
  1480. package/dist/node_modules/micromark-util-chunked/index.js +4 -6
  1481. package/dist/node_modules/micromark-util-classify-character/index.js +5 -7
  1482. package/dist/node_modules/micromark-util-combine-extensions/index.js +11 -13
  1483. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -4
  1484. package/dist/node_modules/micromark-util-decode-string/index.js +9 -11
  1485. package/dist/node_modules/micromark-util-html-tag-name/index.js +2 -4
  1486. package/dist/node_modules/micromark-util-normalize-identifier/index.js +2 -4
  1487. package/dist/node_modules/micromark-util-resolve-all/index.js +2 -4
  1488. package/dist/node_modules/micromark-util-sanitize-uri/index.js +4 -6
  1489. package/dist/node_modules/micromark-util-subtokenize/index.js +8 -10
  1490. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +8 -10
  1491. package/dist/node_modules/motion/dist/es/react.js +2 -2
  1492. package/dist/node_modules/nanoid/index.browser.js +4 -6
  1493. package/dist/node_modules/nanoid/url-alphabet/index.js +2 -4
  1494. package/dist/node_modules/property-information/index.js +23 -25
  1495. package/dist/node_modules/property-information/lib/aria.js +39 -41
  1496. package/dist/node_modules/property-information/lib/find.js +16 -18
  1497. package/dist/node_modules/property-information/lib/hast-to-react.js +2 -4
  1498. package/dist/node_modules/property-information/lib/html.js +94 -96
  1499. package/dist/node_modules/property-information/lib/normalize.js +2 -4
  1500. package/dist/node_modules/property-information/lib/svg.js +77 -79
  1501. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +4 -6
  1502. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -4
  1503. package/dist/node_modules/property-information/lib/util/create.js +8 -10
  1504. package/dist/node_modules/property-information/lib/util/defined-info.js +11 -13
  1505. package/dist/node_modules/property-information/lib/util/info.js +3 -5
  1506. package/dist/node_modules/property-information/lib/util/merge.js +4 -6
  1507. package/dist/node_modules/property-information/lib/util/schema.js +3 -5
  1508. package/dist/node_modules/property-information/lib/util/types.js +14 -15
  1509. package/dist/node_modules/property-information/lib/xlink.js +3 -5
  1510. package/dist/node_modules/property-information/lib/xml.js +3 -5
  1511. package/dist/node_modules/property-information/lib/xmlns.js +5 -7
  1512. package/dist/node_modules/rehype-harden/dist/index.js +45 -47
  1513. package/dist/node_modules/rehype-katex/lib/index.js +23 -25
  1514. package/dist/node_modules/rehype-raw/lib/index.js +4 -6
  1515. package/dist/node_modules/rehype-sanitize/lib/index.js +4 -6
  1516. package/dist/node_modules/remark-gfm/lib/index.js +7 -9
  1517. package/dist/node_modules/remark-math/lib/index.js +7 -9
  1518. package/dist/node_modules/remark-parse/lib/index.js +4 -6
  1519. package/dist/node_modules/remark-rehype/lib/index.js +5 -7
  1520. package/dist/node_modules/remend/dist/index.js +324 -326
  1521. package/dist/node_modules/roughjs/bundled/rough.esm.js +875 -877
  1522. package/dist/node_modules/shiki/dist/bundle-full.js +11 -13
  1523. package/dist/node_modules/shiki/dist/{langs-bundle-full-DfKZStlK.js → langs.js} +6 -8
  1524. package/dist/node_modules/shiki/dist/themes.js +4 -6
  1525. package/dist/node_modules/shiki/dist/wasm.js +2 -2
  1526. package/dist/node_modules/space-separated-tokens/index.js +3 -5
  1527. package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +699 -701
  1528. package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +8 -10
  1529. package/dist/node_modules/streamdown/dist/index.js +1 -1
  1530. package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +2 -2
  1531. package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +712 -709
  1532. package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +2 -4
  1533. package/dist/node_modules/stringify-entities/lib/core.js +16 -18
  1534. package/dist/node_modules/stringify-entities/lib/index.js +5 -7
  1535. package/dist/node_modules/stringify-entities/lib/util/format-smart.js +8 -10
  1536. package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +4 -6
  1537. package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +4 -6
  1538. package/dist/node_modules/stringify-entities/lib/util/to-named.js +12 -14
  1539. package/dist/node_modules/style-to-js/cjs/index.js +7 -9
  1540. package/dist/node_modules/style-to-js/cjs/utilities.js +4 -6
  1541. package/dist/node_modules/style-to-object/cjs/index.js +6 -8
  1542. package/dist/node_modules/stylis/src/Enum.js +2 -4
  1543. package/dist/node_modules/stylis/src/Parser.js +36 -38
  1544. package/dist/node_modules/stylis/src/Serializer.js +15 -17
  1545. package/dist/node_modules/stylis/src/Tokenizer.js +51 -53
  1546. package/dist/node_modules/stylis/src/Utility.js +15 -17
  1547. package/dist/node_modules/trim-lines/index.js +8 -10
  1548. package/dist/node_modules/trough/lib/index.js +4 -6
  1549. package/dist/node_modules/ts-dedent/esm/index.js +2 -4
  1550. package/dist/node_modules/unified/lib/callable-instance.js +2 -4
  1551. package/dist/node_modules/unified/lib/index.js +101 -102
  1552. package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +2 -4
  1553. package/dist/node_modules/unist-util-find-after/lib/index.js +4 -6
  1554. package/dist/node_modules/unist-util-is/lib/index.js +29 -31
  1555. package/dist/node_modules/unist-util-position/lib/index.js +5 -7
  1556. package/dist/node_modules/unist-util-stringify-position/lib/index.js +8 -10
  1557. package/dist/node_modules/unist-util-visit/lib/index.js +4 -6
  1558. package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -4
  1559. package/dist/node_modules/unist-util-visit-parents/lib/index.js +20 -21
  1560. package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -3
  1561. package/dist/node_modules/uuid/dist/esm-browser/rng.js +6 -8
  1562. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +5 -7
  1563. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -10
  1564. package/dist/node_modules/vaul/dist/index.js +274 -276
  1565. package/dist/node_modules/vfile/lib/index.js +42 -44
  1566. package/dist/node_modules/vfile/lib/minpath.browser.js +20 -22
  1567. package/dist/node_modules/vfile/lib/minproc.browser.js +3 -5
  1568. package/dist/node_modules/vfile/lib/minurl.browser.js +6 -8
  1569. package/dist/node_modules/vfile/lib/minurl.shared.js +2 -4
  1570. package/dist/node_modules/vfile-location/lib/index.js +5 -7
  1571. package/dist/node_modules/vfile-message/lib/index.js +5 -7
  1572. package/dist/node_modules/vscode-jsonrpc/browser.js +6 -8
  1573. package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +9 -11
  1574. package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +6 -8
  1575. package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +26 -28
  1576. package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +15 -17
  1577. package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +11 -13
  1578. package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +4 -6
  1579. package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +6 -8
  1580. package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +4 -6
  1581. package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +4 -6
  1582. package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +4 -6
  1583. package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +9 -11
  1584. package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +29 -31
  1585. package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +6 -8
  1586. package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +4 -6
  1587. package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +6 -8
  1588. package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +6 -8
  1589. package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +8 -10
  1590. package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +21 -23
  1591. package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +6 -8
  1592. package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +6 -8
  1593. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +6 -8
  1594. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +6 -8
  1595. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +6 -8
  1596. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +6 -8
  1597. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +12 -14
  1598. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +6 -8
  1599. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +6 -8
  1600. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +6 -8
  1601. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +6 -8
  1602. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +6 -8
  1603. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +6 -8
  1604. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +53 -55
  1605. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +6 -8
  1606. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +6 -8
  1607. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +8 -10
  1608. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +10 -12
  1609. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +6 -8
  1610. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +6 -8
  1611. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +6 -8
  1612. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +6 -8
  1613. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +6 -8
  1614. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +6 -8
  1615. package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +4 -6
  1616. package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +19 -21
  1617. package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +847 -849
  1618. package/dist/node_modules/vscode-uri/lib/esm/index.js +4 -6
  1619. package/dist/node_modules/web-namespaces/index.js +2 -4
  1620. package/dist/node_modules/zwitch/index.js +5 -7
  1621. package/dist/packages/contracts/dist/enums/index.js +12 -14
  1622. package/dist/packages/contracts/dist/enums/registry.enum.js +4 -6
  1623. package/dist/packages/contracts/dist/enums/sort-order.enum.js +4 -6
  1624. package/dist/packages/contracts/dist/enums/user-type.enum.js +4 -6
  1625. package/dist/packages/contracts/dist/enums/workflow-state.enum.js +4 -6
  1626. package/dist/pages/DashboardPage.js +99 -55
  1627. package/dist/pages/DebugPage.js +17 -12
  1628. package/dist/pages/DebugWorkflowDetailsPage.js +119 -91
  1629. package/dist/pages/DebugWorkflowsPage.js +37 -39
  1630. package/dist/pages/EmbedWorkbenchPage.js +62 -48
  1631. package/dist/pages/PreviewWorkbenchPage.js +324 -243
  1632. package/dist/pages/RunsListPage.js +61 -44
  1633. package/dist/pages/RunsPage.js +48 -31
  1634. package/dist/pages/StudioLandingPage.js +132 -97
  1635. package/dist/pages/WorkbenchPage.js +86 -56
  1636. package/dist/pages/WorkflowDebugPage.js +110 -74
  1637. package/dist/pages/WorkspacePage.js +115 -72
  1638. package/dist/pages/WorkspaceRunsPage.js +70 -43
  1639. package/dist/pages/WorkspacesPage.js +35 -24
  1640. package/dist/providers/ComponentOverridesProvider.js +12 -9
  1641. package/dist/providers/InvalidationEventsProvider.js +35 -33
  1642. package/dist/providers/QueryProvider.js +18 -14
  1643. package/dist/providers/SseProvider.js +29 -28
  1644. package/dist/providers/StudioProvider.js +19 -14
  1645. package/dist/routing/LocalRouter.js +9 -6
  1646. package/dist/services/createApiClient.js +5 -7
  1647. package/dist/services/eventEmitter.js +2 -3
  1648. package/dist/services/index.js +2 -2
  1649. package/dist/types/ai.types.js +5 -7
  1650. package/package.json +33 -33
  1651. package/dist/_virtual/_rolldown/runtime.js +0 -20
  1652. package/dist/frontend/studio/node_modules/lodash/_Symbol.js +0 -9
  1653. package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +0 -15
  1654. package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +0 -13
  1655. package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +0 -8
  1656. package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +0 -19
  1657. package/dist/frontend/studio/node_modules/lodash/_objectToString.js +0 -12
  1658. package/dist/frontend/studio/node_modules/lodash/_root.js +0 -10
  1659. package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +0 -13
  1660. package/dist/frontend/studio/node_modules/lodash/isObject.js +0 -12
  1661. package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +0 -11
  1662. package/dist/frontend/studio/node_modules/lodash/isSymbol.js +0 -14
  1663. package/dist/frontend/studio/node_modules/lodash/now.js +0 -12
  1664. package/dist/frontend/studio/node_modules/lodash/toNumber.js +0 -24
  1665. package/dist/node_modules/@shikijs/primitive/dist/index.js +0 -540
  1666. package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +0 -17
  1667. package/dist/node_modules/shiki/dist/engine-oniguruma.js +0 -7
@@ -1,77 +1,76 @@
1
- import { __name as e } from "./chunk-AGHRB4JF.js";
2
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.mjs
3
- function t(e) {
4
- return e == null;
5
- }
6
- e(t, "isNothing");
7
- function n(e) {
8
- return typeof e == "object" && !!e;
9
- }
10
- e(n, "isObject");
11
- function r(e) {
12
- return Array.isArray(e) ? e : t(e) ? [] : [e];
13
- }
14
- e(r, "toArray");
15
- function i(e, t) {
16
- var n, r, i, a;
17
- if (t) for (a = Object.keys(t), n = 0, r = a.length; n < r; n += 1) i = a[n], e[i] = t[i];
18
- return e;
19
- }
20
- e(i, "extend");
21
- function a(e, t) {
22
- var n = "", r;
23
- for (r = 0; r < t; r += 1) n += e;
24
- return n;
25
- }
26
- e(a, "repeat");
27
- function o(e) {
28
- return e === 0 && 1 / e == -Infinity;
29
- }
30
- e(o, "isNegativeZero");
31
- var s = {
32
- isNothing: t,
33
- isObject: n,
34
- toArray: r,
35
- repeat: a,
36
- isNegativeZero: o,
37
- extend: i
1
+ import { __name } from "./chunk-AGHRB4JF.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
38
37
  };
39
- function c(e, t) {
40
- var n = "", r = e.reason || "(unknown reason)";
41
- return e.mark ? (e.mark.name && (n += "in \"" + e.mark.name + "\" "), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += "\n\n" + e.mark.snippet), r + " " + n) : r;
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;
42
41
  }
43
- e(c, "formatError");
44
- function l(e, t) {
45
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = c(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ Error()).stack || "";
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 || "";
46
45
  }
47
- e(l, "YAMLException$1"), l.prototype = Object.create(Error.prototype), l.prototype.constructor = l, l.prototype.toString = /* @__PURE__ */ e(function(e) {
48
- return this.name + ": " + c(this, e);
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);
49
48
  }, "toString");
50
- var u = l;
51
- function d(e, t, n, r, i) {
52
- var a = "", o = "", s = Math.floor(i / 2) - 1;
53
- return r - t > s && (a = " ... ", t = r - s + a.length), n - r > s && (o = " ...", n = r + s - o.length), {
54
- str: a + e.slice(t, n).replace(/\t/g, "→") + o,
55
- pos: r - t + a.length
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
56
55
  };
57
56
  }
58
- e(d, "getLine");
59
- function f(e, t) {
60
- return s.repeat(" ", t - e.length) + e;
61
- }
62
- e(f, "padStart");
63
- function p(e, t) {
64
- if (t = Object.create(t || null), !e.buffer) return null;
65
- t.maxLength ||= 79, typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
66
- for (var n = /\r?\n|\r|\0/g, r = [0], i = [], a, o = -1; a = n.exec(e.buffer);) i.push(a.index), r.push(a.index + a[0].length), e.position <= a.index && o < 0 && (o = r.length - 2);
67
- o < 0 && (o = r.length - 1);
68
- var c = "", l, u, p = Math.min(e.line + t.linesAfter, i.length).toString().length, m = t.maxLength - (t.indent + p + 3);
69
- for (l = 1; l <= t.linesBefore && !(o - l < 0); l++) u = d(e.buffer, r[o - l], i[o - l], e.position - (r[o] - r[o - l]), m), c = s.repeat(" ", t.indent) + f((e.line - l + 1).toString(), p) + " | " + u.str + "\n" + c;
70
- for (u = d(e.buffer, r[o], i[o], e.position, m), c += s.repeat(" ", t.indent) + f((e.line + 1).toString(), p) + " | " + u.str + "\n", c += s.repeat("-", t.indent + p + 3 + u.pos) + "^\n", l = 1; l <= t.linesAfter && !(o + l >= i.length); l++) u = d(e.buffer, r[o + l], i[o + l], e.position - (r[o] - r[o + l]), m), c += s.repeat(" ", t.indent) + f((e.line + l + 1).toString(), p) + " | " + u.str + "\n";
71
- return c.replace(/\n$/, "");
72
- }
73
- e(p, "makeSnippet");
74
- var m = p, h = [
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 = [
75
74
  "kind",
76
75
  "multi",
77
76
  "resolve",
@@ -82,43 +81,43 @@ var m = p, h = [
82
81
  "representName",
83
82
  "defaultStyle",
84
83
  "styleAliases"
85
- ], g = [
84
+ ], YAML_NODE_KINDS = [
86
85
  "scalar",
87
86
  "sequence",
88
87
  "mapping"
89
88
  ];
90
- function _(e) {
91
- var t = {};
92
- return e !== null && Object.keys(e).forEach(function(n) {
93
- e[n].forEach(function(e) {
94
- t[String(e)] = n;
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;
95
94
  });
96
- }), t;
95
+ }), I;
97
96
  }
98
- e(_, "compileStyleAliases");
99
- function v(e, t) {
100
- if (t ||= {}, Object.keys(t).forEach(function(t) {
101
- if (h.indexOf(t) === -1) throw new u("Unknown option \"" + t + "\" is met in definition of \"" + e + "\" YAML type.");
102
- }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
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() {
103
102
  return !0;
104
- }, this.construct = t.construct || function(e) {
105
- return e;
106
- }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = _(t.styleAliases || null), g.indexOf(this.kind) === -1) throw new u("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
107
- }
108
- e(v, "Type$1");
109
- var y = v;
110
- function b(e, t) {
111
- var n = [];
112
- return e[t].forEach(function(e) {
113
- var t = n.length;
114
- n.forEach(function(n, r) {
115
- n.tag === e.tag && n.kind === e.kind && n.multi === e.multi && (t = r);
116
- }), n[t] = e;
117
- }), n;
118
- }
119
- e(b, "compileList");
120
- function ee() {
121
- var t = {
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 = {
122
121
  scalar: {},
123
122
  sequence: {},
124
123
  mapping: {},
@@ -129,203 +128,203 @@ function ee() {
129
128
  mapping: [],
130
129
  fallback: []
131
130
  }
132
- }, n, r;
133
- function i(e) {
134
- e.multi ? (t.multi[e.kind].push(e), t.multi.fallback.push(e)) : t[e.kind][e.tag] = t.fallback[e.tag] = e;
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;
135
134
  }
136
- for (e(i, "collectType"), n = 0, r = arguments.length; n < r; n += 1) arguments[n].forEach(i);
137
- return t;
138
- }
139
- e(ee, "compileMap");
140
- function x(e) {
141
- return this.extend(e);
142
- }
143
- e(x, "Schema$1"), x.prototype.extend = /* @__PURE__ */ e(function(e) {
144
- var t = [], n = [];
145
- if (e instanceof y) n.push(e);
146
- else if (Array.isArray(e)) n = n.concat(e);
147
- else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit))) e.implicit && (t = t.concat(e.implicit)), e.explicit && (n = n.concat(e.explicit));
148
- else throw new u("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
149
- t.forEach(function(e) {
150
- if (!(e instanceof y)) throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");
151
- if (e.loadKind && e.loadKind !== "scalar") throw new u("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
152
- if (e.multi) throw new u("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
153
- }), n.forEach(function(e) {
154
- if (!(e instanceof y)) throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");
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.");
155
154
  });
156
- var r = Object.create(x.prototype);
157
- return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = b(r, "implicit"), r.compiledExplicit = b(r, "explicit"), r.compiledTypeMap = ee(r.compiledImplicit, r.compiledExplicit), r;
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;
158
157
  }, "extend");
159
- var te = new x({ explicit: [
160
- new y("tag:yaml.org,2002:str", {
158
+ var failsafe = new Schema$1({ explicit: [
159
+ new type("tag:yaml.org,2002:str", {
161
160
  kind: "scalar",
162
- construct: /* @__PURE__ */ e(function(e) {
163
- return e === null ? "" : e;
161
+ construct: /* @__PURE__ */ __name(function(c) {
162
+ return c === null ? "" : c;
164
163
  }, "construct")
165
164
  }),
166
- new y("tag:yaml.org,2002:seq", {
165
+ new type("tag:yaml.org,2002:seq", {
167
166
  kind: "sequence",
168
- construct: /* @__PURE__ */ e(function(e) {
169
- return e === null ? [] : e;
167
+ construct: /* @__PURE__ */ __name(function(c) {
168
+ return c === null ? [] : c;
170
169
  }, "construct")
171
170
  }),
172
- new y("tag:yaml.org,2002:map", {
171
+ new type("tag:yaml.org,2002:map", {
173
172
  kind: "mapping",
174
- construct: /* @__PURE__ */ e(function(e) {
175
- return e === null ? {} : e;
173
+ construct: /* @__PURE__ */ __name(function(c) {
174
+ return c === null ? {} : c;
176
175
  }, "construct")
177
176
  })
178
177
  ] });
179
- function ne(e) {
180
- if (e === null) return !0;
181
- var t = e.length;
182
- return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
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");
183
182
  }
184
- e(ne, "resolveYamlNull");
185
- function re() {
183
+ __name(resolveYamlNull, "resolveYamlNull");
184
+ function constructYamlNull() {
186
185
  return null;
187
186
  }
188
- e(re, "constructYamlNull");
189
- function ie(e) {
190
- return e === null;
187
+ __name(constructYamlNull, "constructYamlNull");
188
+ function isNull(c) {
189
+ return c === null;
191
190
  }
192
- e(ie, "isNull");
193
- var ae = new y("tag:yaml.org,2002:null", {
191
+ __name(isNull, "isNull");
192
+ var _null = new type("tag:yaml.org,2002:null", {
194
193
  kind: "scalar",
195
- resolve: ne,
196
- construct: re,
197
- predicate: ie,
194
+ resolve: resolveYamlNull,
195
+ construct: constructYamlNull,
196
+ predicate: isNull,
198
197
  represent: {
199
- canonical: /* @__PURE__ */ e(function() {
198
+ canonical: /* @__PURE__ */ __name(function() {
200
199
  return "~";
201
200
  }, "canonical"),
202
- lowercase: /* @__PURE__ */ e(function() {
201
+ lowercase: /* @__PURE__ */ __name(function() {
203
202
  return "null";
204
203
  }, "lowercase"),
205
- uppercase: /* @__PURE__ */ e(function() {
204
+ uppercase: /* @__PURE__ */ __name(function() {
206
205
  return "NULL";
207
206
  }, "uppercase"),
208
- camelcase: /* @__PURE__ */ e(function() {
207
+ camelcase: /* @__PURE__ */ __name(function() {
209
208
  return "Null";
210
209
  }, "camelcase"),
211
- empty: /* @__PURE__ */ e(function() {
210
+ empty: /* @__PURE__ */ __name(function() {
212
211
  return "";
213
212
  }, "empty")
214
213
  },
215
214
  defaultStyle: "lowercase"
216
215
  });
217
- function oe(e) {
218
- if (e === null) return !1;
219
- var t = e.length;
220
- return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
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");
221
220
  }
222
- e(oe, "resolveYamlBoolean");
223
- function se(e) {
224
- return e === "true" || e === "True" || e === "TRUE";
221
+ __name(resolveYamlBoolean, "resolveYamlBoolean");
222
+ function constructYamlBoolean(c) {
223
+ return c === "true" || c === "True" || c === "TRUE";
225
224
  }
226
- e(se, "constructYamlBoolean");
227
- function ce(e) {
228
- return Object.prototype.toString.call(e) === "[object Boolean]";
225
+ __name(constructYamlBoolean, "constructYamlBoolean");
226
+ function isBoolean(c) {
227
+ return Object.prototype.toString.call(c) === "[object Boolean]";
229
228
  }
230
- e(ce, "isBoolean");
231
- var le = new y("tag:yaml.org,2002:bool", {
229
+ __name(isBoolean, "isBoolean");
230
+ var bool = new type("tag:yaml.org,2002:bool", {
232
231
  kind: "scalar",
233
- resolve: oe,
234
- construct: se,
235
- predicate: ce,
232
+ resolve: resolveYamlBoolean,
233
+ construct: constructYamlBoolean,
234
+ predicate: isBoolean,
236
235
  represent: {
237
- lowercase: /* @__PURE__ */ e(function(e) {
238
- return e ? "true" : "false";
236
+ lowercase: /* @__PURE__ */ __name(function(c) {
237
+ return c ? "true" : "false";
239
238
  }, "lowercase"),
240
- uppercase: /* @__PURE__ */ e(function(e) {
241
- return e ? "TRUE" : "FALSE";
239
+ uppercase: /* @__PURE__ */ __name(function(c) {
240
+ return c ? "TRUE" : "FALSE";
242
241
  }, "uppercase"),
243
- camelcase: /* @__PURE__ */ e(function(e) {
244
- return e ? "True" : "False";
242
+ camelcase: /* @__PURE__ */ __name(function(c) {
243
+ return c ? "True" : "False";
245
244
  }, "camelcase")
246
245
  },
247
246
  defaultStyle: "lowercase"
248
247
  });
249
- function ue(e) {
250
- return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
251
- }
252
- e(ue, "isHexCode");
253
- function de(e) {
254
- return 48 <= e && e <= 55;
255
- }
256
- e(de, "isOctCode");
257
- function fe(e) {
258
- return 48 <= e && e <= 57;
259
- }
260
- e(fe, "isDecCode");
261
- function pe(e) {
262
- if (e === null) return !1;
263
- var t = e.length, n = 0, r = !1, i;
264
- if (!t) return !1;
265
- if (i = e[n], (i === "-" || i === "+") && (i = e[++n]), i === "0") {
266
- if (n + 1 === t) return !0;
267
- if (i = e[++n], i === "b") {
268
- for (n++; n < t; n++) if (i = e[n], i !== "_") {
269
- if (i !== "0" && i !== "1") return !1;
270
- r = !0;
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;
271
270
  }
272
- return r && i !== "_";
271
+ return R && z !== "_";
273
272
  }
274
- if (i === "x") {
275
- for (n++; n < t; n++) if (i = e[n], i !== "_") {
276
- if (!ue(e.charCodeAt(n))) return !1;
277
- r = !0;
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;
278
277
  }
279
- return r && i !== "_";
278
+ return R && z !== "_";
280
279
  }
281
- if (i === "o") {
282
- for (n++; n < t; n++) if (i = e[n], i !== "_") {
283
- if (!de(e.charCodeAt(n))) return !1;
284
- r = !0;
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;
285
284
  }
286
- return r && i !== "_";
285
+ return R && z !== "_";
287
286
  }
288
287
  }
289
- if (i === "_") return !1;
290
- for (; n < t; n++) if (i = e[n], i !== "_") {
291
- if (!fe(e.charCodeAt(n))) return !1;
292
- r = !0;
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;
293
292
  }
294
- return !(!r || i === "_");
295
- }
296
- e(pe, "resolveYamlInteger");
297
- function me(e) {
298
- var t = e, n = 1, r;
299
- if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0") return 0;
300
- if (r === "0") {
301
- if (t[1] === "b") return n * parseInt(t.slice(2), 2);
302
- if (t[1] === "x") return n * parseInt(t.slice(2), 16);
303
- if (t[1] === "o") return n * parseInt(t.slice(2), 8);
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);
304
303
  }
305
- return n * parseInt(t, 10);
304
+ return L * parseInt(I, 10);
306
305
  }
307
- e(me, "constructYamlInteger");
308
- function he(e) {
309
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 == 0 && !s.isNegativeZero(e);
306
+ __name(constructYamlInteger, "constructYamlInteger");
307
+ function isInteger(c) {
308
+ return Object.prototype.toString.call(c) === "[object Number]" && c % 1 == 0 && !common.isNegativeZero(c);
310
309
  }
311
- e(he, "isInteger");
312
- var ge = new y("tag:yaml.org,2002:int", {
310
+ __name(isInteger, "isInteger");
311
+ var int = new type("tag:yaml.org,2002:int", {
313
312
  kind: "scalar",
314
- resolve: pe,
315
- construct: me,
316
- predicate: he,
313
+ resolve: resolveYamlInteger,
314
+ construct: constructYamlInteger,
315
+ predicate: isInteger,
317
316
  represent: {
318
- binary: /* @__PURE__ */ e(function(e) {
319
- return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
317
+ binary: /* @__PURE__ */ __name(function(c) {
318
+ return c >= 0 ? "0b" + c.toString(2) : "-0b" + c.toString(2).slice(1);
320
319
  }, "binary"),
321
- octal: /* @__PURE__ */ e(function(e) {
322
- return e >= 0 ? "0o" + e.toString(8) : "-0o" + e.toString(8).slice(1);
320
+ octal: /* @__PURE__ */ __name(function(c) {
321
+ return c >= 0 ? "0o" + c.toString(8) : "-0o" + c.toString(8).slice(1);
323
322
  }, "octal"),
324
- decimal: /* @__PURE__ */ e(function(e) {
325
- return e.toString(10);
323
+ decimal: /* @__PURE__ */ __name(function(c) {
324
+ return c.toString(10);
326
325
  }, "decimal"),
327
- hexadecimal: /* @__PURE__ */ e(function(e) {
328
- return e >= 0 ? "0x" + e.toString(16).toUpperCase() : "-0x" + e.toString(16).toUpperCase().slice(1);
326
+ hexadecimal: /* @__PURE__ */ __name(function(c) {
327
+ return c >= 0 ? "0x" + c.toString(16).toUpperCase() : "-0x" + c.toString(16).toUpperCase().slice(1);
329
328
  }, "hexadecimal")
330
329
  },
331
330
  defaultStyle: "decimal",
@@ -335,567 +334,567 @@ var ge = new y("tag:yaml.org,2002:int", {
335
334
  decimal: [10, "dec"],
336
335
  hexadecimal: [16, "hex"]
337
336
  }
338
- }), _e = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
339
- function ve(e) {
340
- return !(e === null || !_e.test(e) || e[e.length - 1] === "_");
341
- }
342
- e(ve, "resolveYamlFloat");
343
- function ye(e) {
344
- var t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1;
345
- return "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Infinity : -Infinity : t === ".nan" ? NaN : n * parseFloat(t, 10);
346
- }
347
- e(ye, "constructYamlFloat");
348
- var be = /^[-+]?[0-9]+e/;
349
- function xe(e, t) {
350
- var n;
351
- if (isNaN(e)) switch (t) {
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) {
352
351
  case "lowercase": return ".nan";
353
352
  case "uppercase": return ".NAN";
354
353
  case "camelcase": return ".NaN";
355
354
  }
356
- else if (e === Infinity) switch (t) {
355
+ else if (c === Infinity) switch (I) {
357
356
  case "lowercase": return ".inf";
358
357
  case "uppercase": return ".INF";
359
358
  case "camelcase": return ".Inf";
360
359
  }
361
- else if (e === -Infinity) switch (t) {
360
+ else if (c === -Infinity) switch (I) {
362
361
  case "lowercase": return "-.inf";
363
362
  case "uppercase": return "-.INF";
364
363
  case "camelcase": return "-.Inf";
365
364
  }
366
- else if (s.isNegativeZero(e)) return "-0.0";
367
- return n = e.toString(10), be.test(n) ? n.replace("e", ".e") : n;
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;
368
367
  }
369
- e(xe, "representYamlFloat");
370
- function Se(e) {
371
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 != 0 || s.isNegativeZero(e));
368
+ __name(representYamlFloat, "representYamlFloat");
369
+ function isFloat(c) {
370
+ return Object.prototype.toString.call(c) === "[object Number]" && (c % 1 != 0 || common.isNegativeZero(c));
372
371
  }
373
- e(Se, "isFloat");
374
- var Ce = new y("tag:yaml.org,2002:float", {
372
+ __name(isFloat, "isFloat");
373
+ var float = new type("tag:yaml.org,2002:float", {
375
374
  kind: "scalar",
376
- resolve: ve,
377
- construct: ye,
378
- predicate: Se,
379
- represent: xe,
375
+ resolve: resolveYamlFloat,
376
+ construct: constructYamlFloat,
377
+ predicate: isFloat,
378
+ represent: representYamlFloat,
380
379
  defaultStyle: "lowercase"
381
- }), we = te.extend({ implicit: [
382
- ae,
383
- le,
384
- ge,
385
- Ce
386
- ] }), Te = we, Ee = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), De = /* @__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]))?))?$");
387
- function Oe(e) {
388
- return e === null ? !1 : Ee.exec(e) !== null || De.exec(e) !== null;
389
- }
390
- e(Oe, "resolveYamlTimestamp");
391
- function ke(e) {
392
- var t, n, r, i, a, o, s, c = 0, l = null, u, d, f;
393
- if (t = Ee.exec(e), t === null && (t = De.exec(e)), t === null) throw Error("Date resolve error");
394
- if (n = +t[1], r = t[2] - 1, i = +t[3], !t[4]) return new Date(Date.UTC(n, r, i));
395
- if (a = +t[4], o = +t[5], s = +t[6], t[7]) {
396
- for (c = t[7].slice(0, 3); c.length < 3;) c += "0";
397
- c = +c;
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;
398
397
  }
399
- return t[9] && (u = +t[10], d = +(t[11] || 0), l = (u * 60 + d) * 6e4, t[9] === "-" && (l = -l)), f = new Date(Date.UTC(n, r, i, a, o, s, c)), l && f.setTime(f.getTime() - l), f;
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;
400
399
  }
401
- e(ke, "constructYamlTimestamp");
402
- function Ae(e) {
403
- return e.toISOString();
400
+ __name(constructYamlTimestamp, "constructYamlTimestamp");
401
+ function representYamlTimestamp(c) {
402
+ return c.toISOString();
404
403
  }
405
- e(Ae, "representYamlTimestamp");
406
- var je = new y("tag:yaml.org,2002:timestamp", {
404
+ __name(representYamlTimestamp, "representYamlTimestamp");
405
+ var timestamp = new type("tag:yaml.org,2002:timestamp", {
407
406
  kind: "scalar",
408
- resolve: Oe,
409
- construct: ke,
407
+ resolve: resolveYamlTimestamp,
408
+ construct: constructYamlTimestamp,
410
409
  instanceOf: Date,
411
- represent: Ae
410
+ represent: representYamlTimestamp
412
411
  });
413
- function Me(e) {
414
- return e === "<<" || e === null;
412
+ function resolveYamlMerge(c) {
413
+ return c === "<<" || c === null;
415
414
  }
416
- e(Me, "resolveYamlMerge");
417
- var Ne = new y("tag:yaml.org,2002:merge", {
415
+ __name(resolveYamlMerge, "resolveYamlMerge");
416
+ var merge = new type("tag:yaml.org,2002:merge", {
418
417
  kind: "scalar",
419
- resolve: Me
420
- }), S = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
421
- function Pe(e) {
422
- if (e === null) return !1;
423
- var t, n, r = 0, i = e.length, a = S;
424
- for (n = 0; n < i; n++) if (t = a.indexOf(e.charAt(n)), !(t > 64)) {
425
- if (t < 0) return !1;
426
- r += 6;
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;
427
426
  }
428
- return r % 8 == 0;
429
- }
430
- e(Pe, "resolveYamlBinary");
431
- function Fe(e) {
432
- var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = S, o = 0, s = [];
433
- for (t = 0; t < i; t++) t % 4 == 0 && t && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | a.indexOf(r.charAt(t));
434
- return n = i % 4 * 6, n === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : n === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : n === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
435
- }
436
- e(Fe, "constructYamlBinary");
437
- function Ie(e) {
438
- var t = "", n = 0, r, i, a = e.length, o = S;
439
- for (r = 0; r < a; r++) r % 3 == 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
440
- return i = a % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
441
- }
442
- e(Ie, "representYamlBinary");
443
- function Le(e) {
444
- return Object.prototype.toString.call(e) === "[object Uint8Array]";
445
- }
446
- e(Le, "isBinary");
447
- var Re = new y("tag:yaml.org,2002:binary", {
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", {
448
447
  kind: "scalar",
449
- resolve: Pe,
450
- construct: Fe,
451
- predicate: Le,
452
- represent: Ie
453
- }), ze = Object.prototype.hasOwnProperty, Be = Object.prototype.toString;
454
- function Ve(e) {
455
- if (e === null) return !0;
456
- var t = [], n, r, i, a, o, s = e;
457
- for (n = 0, r = s.length; n < r; n += 1) {
458
- if (i = s[n], o = !1, Be.call(i) !== "[object Object]") return !1;
459
- for (a in i) if (ze.call(i, a)) if (!o) o = !0;
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;
460
459
  else return !1;
461
- if (!o) return !1;
462
- if (t.indexOf(a) === -1) t.push(a);
460
+ if (!V) return !1;
461
+ if (I.indexOf(B) === -1) I.push(B);
463
462
  else return !1;
464
463
  }
465
464
  return !0;
466
465
  }
467
- e(Ve, "resolveYamlOmap");
468
- function He(e) {
469
- return e === null ? [] : e;
466
+ __name(resolveYamlOmap, "resolveYamlOmap");
467
+ function constructYamlOmap(c) {
468
+ return c === null ? [] : c;
470
469
  }
471
- e(He, "constructYamlOmap");
472
- var Ue = new y("tag:yaml.org,2002:omap", {
470
+ __name(constructYamlOmap, "constructYamlOmap");
471
+ var omap = new type("tag:yaml.org,2002:omap", {
473
472
  kind: "sequence",
474
- resolve: Ve,
475
- construct: He
476
- }), We = Object.prototype.toString;
477
- function Ge(e) {
478
- if (e === null) return !0;
479
- var t, n, r, i, a, o = e;
480
- for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) {
481
- if (r = o[t], We.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
482
- a[t] = [i[0], r[i[0]]];
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]]];
483
482
  }
484
483
  return !0;
485
484
  }
486
- e(Ge, "resolveYamlPairs");
487
- function Ke(e) {
488
- if (e === null) return [];
489
- var t, n, r, i, a, o = e;
490
- for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) r = o[t], i = Object.keys(r), a[t] = [i[0], r[i[0]]];
491
- return a;
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;
492
491
  }
493
- e(Ke, "constructYamlPairs");
494
- var qe = new y("tag:yaml.org,2002:pairs", {
492
+ __name(constructYamlPairs, "constructYamlPairs");
493
+ var pairs = new type("tag:yaml.org,2002:pairs", {
495
494
  kind: "sequence",
496
- resolve: Ge,
497
- construct: Ke
498
- }), Je = Object.prototype.hasOwnProperty;
499
- function Ye(e) {
500
- if (e === null) return !0;
501
- var t, n = e;
502
- for (t in n) if (Je.call(n, t) && n[t] !== null) return !1;
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;
503
502
  return !0;
504
503
  }
505
- e(Ye, "resolveYamlSet");
506
- function Xe(e) {
507
- return e === null ? {} : e;
504
+ __name(resolveYamlSet, "resolveYamlSet");
505
+ function constructYamlSet(c) {
506
+ return c === null ? {} : c;
508
507
  }
509
- e(Xe, "constructYamlSet");
510
- var Ze = new y("tag:yaml.org,2002:set", {
508
+ __name(constructYamlSet, "constructYamlSet");
509
+ var set = new type("tag:yaml.org,2002:set", {
511
510
  kind: "mapping",
512
- resolve: Ye,
513
- construct: Xe
514
- }), Qe = Te.extend({
515
- implicit: [je, Ne],
511
+ resolve: resolveYamlSet,
512
+ construct: constructYamlSet
513
+ }), _default = core.extend({
514
+ implicit: [timestamp, merge],
516
515
  explicit: [
517
- Re,
518
- Ue,
519
- qe,
520
- Ze
516
+ binary,
517
+ omap,
518
+ pairs,
519
+ set
521
520
  ]
522
- }), C = Object.prototype.hasOwnProperty, w = 1, $e = 2, et = 3, T = 4, E = 1, tt = 2, nt = 3, rt = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, it = /[\x85\u2028\u2029]/, at = /[,\[\]\{\}]/, ot = /^(?:!|!!|![a-z\-]+!)$/i, st = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
523
- function D(e) {
524
- return Object.prototype.toString.call(e);
525
- }
526
- e(D, "_class");
527
- function O(e) {
528
- return e === 10 || e === 13;
529
- }
530
- e(O, "is_EOL");
531
- function k(e) {
532
- return e === 9 || e === 32;
533
- }
534
- e(k, "is_WHITE_SPACE");
535
- function A(e) {
536
- return e === 9 || e === 32 || e === 10 || e === 13;
537
- }
538
- e(A, "is_WS_OR_EOL");
539
- function j(e) {
540
- return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
541
- }
542
- e(j, "is_FLOW_INDICATOR");
543
- function ct(e) {
544
- var t;
545
- return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
546
- }
547
- e(ct, "fromHexCode");
548
- function lt(e) {
549
- return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
550
- }
551
- e(lt, "escapedHexLen");
552
- function ut(e) {
553
- return 48 <= e && e <= 57 ? e - 48 : -1;
554
- }
555
- e(ut, "fromDecimalCode");
556
- function dt(e) {
557
- return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? "\n" : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? "\"" : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? "\xA0" : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
558
- }
559
- e(dt, "simpleEscapeSequence");
560
- function ft(e) {
561
- return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
562
- }
563
- e(ft, "charFromCodepoint");
564
- function pt(e, t, n) {
565
- t === "__proto__" ? Object.defineProperty(e, t, {
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
+ function setProperty(c, I, L) {
564
+ I === "__proto__" ? Object.defineProperty(c, I, {
566
565
  configurable: !0,
567
566
  enumerable: !0,
568
567
  writable: !0,
569
- value: n
570
- }) : e[t] = n;
571
- }
572
- e(pt, "setProperty");
573
- var mt = Array(256), ht = Array(256);
574
- for (M = 0; M < 256; M++) mt[M] = +!!dt(M), ht[M] = dt(M);
575
- var M;
576
- function gt(e, t) {
577
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || Qe, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
578
- }
579
- e(gt, "State$1");
580
- function _t(e, t) {
581
- var n = {
582
- name: e.filename,
583
- buffer: e.input.slice(0, -1),
584
- position: e.position,
585
- line: e.line,
586
- column: e.position - e.lineStart
568
+ value: L
569
+ }) : c[I] = L;
570
+ }
571
+ __name(setProperty, "setProperty");
572
+ var simpleEscapeCheck = Array(256), simpleEscapeMap = Array(256);
573
+ for (i = 0; i < 256; i++) simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0, simpleEscapeMap[i] = simpleEscapeSequence(i);
574
+ var i;
575
+ function State$1(c, I) {
576
+ 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 = [];
577
+ }
578
+ __name(State$1, "State$1");
579
+ function generateError(c, I) {
580
+ var L = {
581
+ name: c.filename,
582
+ buffer: c.input.slice(0, -1),
583
+ position: c.position,
584
+ line: c.line,
585
+ column: c.position - c.lineStart
587
586
  };
588
- return n.snippet = m(n), new u(t, n);
587
+ return L.snippet = snippet(L), new exception(I, L);
589
588
  }
590
- e(_t, "generateError");
591
- function N(e, t) {
592
- throw _t(e, t);
589
+ __name(generateError, "generateError");
590
+ function throwError(c, I) {
591
+ throw generateError(c, I);
593
592
  }
594
- e(N, "throwError");
595
- function P(e, t) {
596
- e.onWarning && e.onWarning.call(null, _t(e, t));
593
+ __name(throwError, "throwError");
594
+ function throwWarning(c, I) {
595
+ c.onWarning && c.onWarning.call(null, generateError(c, I));
597
596
  }
598
- e(P, "throwWarning");
599
- var vt = {
600
- YAML: /* @__PURE__ */ e(function(e, t, n) {
601
- var r, i, a;
602
- e.version !== null && N(e, "duplication of %YAML directive"), n.length !== 1 && N(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && N(e, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && N(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && P(e, "unsupported YAML version of the document");
597
+ __name(throwWarning, "throwWarning");
598
+ var directiveHandlers = {
599
+ YAML: /* @__PURE__ */ __name(function(c, I, L) {
600
+ var R, z, B;
601
+ 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");
603
602
  }, "handleYamlDirective"),
604
- TAG: /* @__PURE__ */ e(function(e, t, n) {
605
- var r, i;
606
- n.length !== 2 && N(e, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], ot.test(r) || N(e, "ill-formed tag handle (first argument) of the TAG directive"), C.call(e.tagMap, r) && N(e, "there is a previously declared suffix for \"" + r + "\" tag handle"), st.test(i) || N(e, "ill-formed tag prefix (second argument) of the TAG directive");
603
+ TAG: /* @__PURE__ */ __name(function(c, I, L) {
604
+ var R, z;
605
+ 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");
607
606
  try {
608
- i = decodeURIComponent(i);
607
+ z = decodeURIComponent(z);
609
608
  } catch {
610
- N(e, "tag prefix is malformed: " + i);
609
+ throwError(c, "tag prefix is malformed: " + z);
611
610
  }
612
- e.tagMap[r] = i;
611
+ c.tagMap[R] = z;
613
612
  }, "handleTagDirective")
614
613
  };
615
- function F(e, t, n, r) {
616
- var i, a, o, s;
617
- if (t < n) {
618
- if (s = e.input.slice(t, n), r) for (i = 0, a = s.length; i < a; i += 1) o = s.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || N(e, "expected valid JSON character");
619
- else rt.test(s) && N(e, "the stream contains non-printable characters");
620
- e.result += s;
614
+ function captureSegment(c, I, L, R) {
615
+ var z, B, V, H;
616
+ if (I < L) {
617
+ 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");
618
+ else PATTERN_NON_PRINTABLE.test(H) && throwError(c, "the stream contains non-printable characters");
619
+ c.result += H;
621
620
  }
622
621
  }
623
- e(F, "captureSegment");
624
- function yt(e, t, n, r) {
625
- var i, a, o, c;
626
- for (s.isObject(n) || N(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, c = i.length; o < c; o += 1) a = i[o], C.call(t, a) || (pt(t, a, n[a]), r[a] = !0);
627
- }
628
- e(yt, "mergeMappings");
629
- function I(e, t, n, r, i, a, o, s, c) {
630
- var l, u;
631
- if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && N(e, "nested arrays are not supported inside keys"), typeof i == "object" && D(i[l]) === "[object Object]" && (i[l] = "[object Object]");
632
- if (typeof i == "object" && D(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") if (Array.isArray(a)) for (l = 0, u = a.length; l < u; l += 1) yt(e, t, a[l], n);
633
- else yt(e, t, a, n);
634
- else !e.json && !C.call(n, i) && C.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, N(e, "duplicated mapping key")), pt(t, i, a), delete n[i];
635
- return t;
636
- }
637
- e(I, "storeMappingPair");
638
- function L(e) {
639
- var t = e.input.charCodeAt(e.position);
640
- t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : N(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
641
- }
642
- e(L, "readLineBreak");
643
- function R(e, t, n) {
644
- for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0;) {
645
- for (; k(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
646
- if (t && i === 35) do
647
- i = e.input.charCodeAt(++e.position);
648
- while (i !== 10 && i !== 13 && i !== 0);
649
- if (O(i)) for (L(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
622
+ __name(captureSegment, "captureSegment");
623
+ function mergeMappings(c, I, L, R) {
624
+ var z, B, V, U;
625
+ 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) || (setProperty(I, B, L[B]), R[B] = !0);
626
+ }
627
+ __name(mergeMappings, "mergeMappings");
628
+ function storeMappingPair(c, I, L, R, z, B, V, H, U) {
629
+ var W, G;
630
+ 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]");
631
+ 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);
632
+ else mergeMappings(c, I, B, L);
633
+ 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")), setProperty(I, z, B), delete L[z];
634
+ return I;
635
+ }
636
+ __name(storeMappingPair, "storeMappingPair");
637
+ function readLineBreak(c) {
638
+ var I = c.input.charCodeAt(c.position);
639
+ 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;
640
+ }
641
+ __name(readLineBreak, "readLineBreak");
642
+ function skipSeparationSpace(c, I, L) {
643
+ for (var R = 0, z = c.input.charCodeAt(c.position); z !== 0;) {
644
+ for (; is_WHITE_SPACE(z);) z === 9 && c.firstTabInLine === -1 && (c.firstTabInLine = c.position), z = c.input.charCodeAt(++c.position);
645
+ if (I && z === 35) do
646
+ z = c.input.charCodeAt(++c.position);
647
+ while (z !== 10 && z !== 13 && z !== 0);
648
+ 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);
650
649
  else break;
651
650
  }
652
- return n !== -1 && r !== 0 && e.lineIndent < n && P(e, "deficient indentation"), r;
653
- }
654
- e(R, "skipSeparationSpace");
655
- function z(e) {
656
- var t = e.position, n = e.input.charCodeAt(t);
657
- return !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || A(n)));
658
- }
659
- e(z, "testDocumentSeparator");
660
- function B(e, t) {
661
- t === 1 ? e.result += " " : t > 1 && (e.result += s.repeat("\n", t - 1));
662
- }
663
- e(B, "writeFoldedLines");
664
- function bt(e, t, n) {
665
- var r, i, a, o, s, c, l, u, d = e.kind, f = e.result, p = e.input.charCodeAt(e.position);
666
- if (A(p) || j(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (i = e.input.charCodeAt(e.position + 1), A(i) || n && j(i))) return !1;
667
- for (e.kind = "scalar", e.result = "", a = o = e.position, s = !1; p !== 0;) {
668
- if (p === 58) {
669
- if (i = e.input.charCodeAt(e.position + 1), A(i) || n && j(i)) break;
670
- } else if (p === 35) {
671
- if (r = e.input.charCodeAt(e.position - 1), A(r)) break;
672
- } else if (e.position === e.lineStart && z(e) || n && j(p)) break;
673
- else if (O(p)) if (c = e.line, l = e.lineStart, u = e.lineIndent, R(e, !1, -1), e.lineIndent >= t) {
674
- s = !0, p = e.input.charCodeAt(e.position);
651
+ return L !== -1 && R !== 0 && c.lineIndent < L && throwWarning(c, "deficient indentation"), R;
652
+ }
653
+ __name(skipSeparationSpace, "skipSeparationSpace");
654
+ function testDocumentSeparator(c) {
655
+ var I = c.position, L = c.input.charCodeAt(I);
656
+ 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)));
657
+ }
658
+ __name(testDocumentSeparator, "testDocumentSeparator");
659
+ function writeFoldedLines(c, I) {
660
+ I === 1 ? c.result += " " : I > 1 && (c.result += common.repeat("\n", I - 1));
661
+ }
662
+ __name(writeFoldedLines, "writeFoldedLines");
663
+ function readPlainScalar(c, I, L) {
664
+ var R, z, B, V, H, U, W, G, K = c.kind, q = c.result, J = c.input.charCodeAt(c.position);
665
+ 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;
666
+ for (c.kind = "scalar", c.result = "", B = V = c.position, H = !1; J !== 0;) {
667
+ if (J === 58) {
668
+ if (z = c.input.charCodeAt(c.position + 1), is_WS_OR_EOL(z) || L && is_FLOW_INDICATOR(z)) break;
669
+ } else if (J === 35) {
670
+ if (R = c.input.charCodeAt(c.position - 1), is_WS_OR_EOL(R)) break;
671
+ } else if (c.position === c.lineStart && testDocumentSeparator(c) || L && is_FLOW_INDICATOR(J)) break;
672
+ else if (is_EOL(J)) if (U = c.line, W = c.lineStart, G = c.lineIndent, skipSeparationSpace(c, !1, -1), c.lineIndent >= I) {
673
+ H = !0, J = c.input.charCodeAt(c.position);
675
674
  continue;
676
675
  } else {
677
- e.position = o, e.line = c, e.lineStart = l, e.lineIndent = u;
676
+ c.position = V, c.line = U, c.lineStart = W, c.lineIndent = G;
678
677
  break;
679
678
  }
680
- s &&= (F(e, a, o, !1), B(e, e.line - c), a = o = e.position, !1), k(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
679
+ 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);
681
680
  }
682
- return F(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
681
+ return captureSegment(c, B, V, !1), c.result ? !0 : (c.kind = K, c.result = q, !1);
683
682
  }
684
- e(bt, "readPlainScalar");
685
- function xt(e, t) {
686
- var n = e.input.charCodeAt(e.position), r, i;
687
- if (n !== 39) return !1;
688
- for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) if (F(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
683
+ __name(readPlainScalar, "readPlainScalar");
684
+ function readSingleQuotedScalar(c, I) {
685
+ var L = c.input.charCodeAt(c.position), R, z;
686
+ if (L !== 39) return !1;
687
+ 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;
689
688
  else return !0;
690
- else O(n) ? (F(e, r, i, !0), B(e, R(e, !1, t)), r = i = e.position) : e.position === e.lineStart && z(e) ? N(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
691
- N(e, "unexpected end of the stream within a single quoted scalar");
692
- }
693
- e(xt, "readSingleQuotedScalar");
694
- function St(e, t) {
695
- var n, r, i, a, o, s = e.input.charCodeAt(e.position);
696
- if (s !== 34) return !1;
697
- for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return F(e, n, e.position, !0), e.position++, !0;
698
- else if (s === 92) {
699
- if (F(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), O(s)) R(e, !1, t);
700
- else if (s < 256 && mt[s]) e.result += ht[s], e.position++;
701
- else if ((o = lt(s)) > 0) {
702
- for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = ct(s)) >= 0 ? a = (a << 4) + o : N(e, "expected hexadecimal character");
703
- e.result += ft(a), e.position++;
704
- } else N(e, "unknown escape sequence");
705
- n = r = e.position;
706
- } else O(s) ? (F(e, n, r, !0), B(e, R(e, !1, t)), n = r = e.position) : e.position === e.lineStart && z(e) ? N(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
707
- N(e, "unexpected end of the stream within a double quoted scalar");
708
- }
709
- e(St, "readDoubleQuotedScalar");
710
- function Ct(e, t) {
711
- var n = !0, r, i, a, o = e.tag, s, c = e.anchor, l, u, d, f, p, m = /* @__PURE__ */ Object.create(null), h, g, _, v = e.input.charCodeAt(e.position);
712
- if (v === 91) u = 93, p = !1, s = [];
713
- else if (v === 123) u = 125, p = !0, s = {};
689
+ 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);
690
+ throwError(c, "unexpected end of the stream within a single quoted scalar");
691
+ }
692
+ __name(readSingleQuotedScalar, "readSingleQuotedScalar");
693
+ function readDoubleQuotedScalar(c, I) {
694
+ var L, R, z, B, V, H = c.input.charCodeAt(c.position);
695
+ if (H !== 34) return !1;
696
+ 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;
697
+ else if (H === 92) {
698
+ if (captureSegment(c, L, c.position, !0), H = c.input.charCodeAt(++c.position), is_EOL(H)) skipSeparationSpace(c, !1, I);
699
+ else if (H < 256 && simpleEscapeCheck[H]) c.result += simpleEscapeMap[H], c.position++;
700
+ else if ((V = escapedHexLen(H)) > 0) {
701
+ 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");
702
+ c.result += charFromCodepoint(B), c.position++;
703
+ } else throwError(c, "unknown escape sequence");
704
+ L = R = c.position;
705
+ } 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);
706
+ throwError(c, "unexpected end of the stream within a double quoted scalar");
707
+ }
708
+ __name(readDoubleQuotedScalar, "readDoubleQuotedScalar");
709
+ function readFlowCollection(c, I) {
710
+ 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);
711
+ if ($ === 91) G = 93, J = !1, H = [];
712
+ else if ($ === 123) G = 125, J = !0, H = {};
714
713
  else return !1;
715
- for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0;) {
716
- if (R(e, !0, t), v = e.input.charCodeAt(e.position), v === u) return e.position++, e.tag = o, e.anchor = c, e.kind = p ? "mapping" : "sequence", e.result = s, !0;
717
- n ? v === 44 && N(e, "expected the node content, but found ','") : N(e, "missed comma between flow collection entries"), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), A(l) && (d = f = !0, e.position++, R(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, V(e, t, w, !1, !0), g = e.tag, h = e.result, R(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), R(e, !0, t), V(e, t, w, !1, !0), _ = e.result), p ? I(e, s, m, g, h, _, r, i, a) : d ? s.push(I(e, null, m, g, h, _, r, i, a)) : s.push(h), R(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
714
+ for (c.anchor !== null && (c.anchorMap[c.anchor] = H), $ = c.input.charCodeAt(++c.position); $ !== 0;) {
715
+ 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;
716
+ 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;
718
717
  }
719
- N(e, "unexpected end of the stream within a flow collection");
718
+ throwError(c, "unexpected end of the stream within a flow collection");
720
719
  }
721
- e(Ct, "readFlowCollection");
722
- function wt(e, t) {
723
- var n, r, i = E, a = !1, o = !1, c = t, l = 0, u = !1, d, f = e.input.charCodeAt(e.position);
724
- if (f === 124) r = !1;
725
- else if (f === 62) r = !0;
720
+ __name(readFlowCollection, "readFlowCollection");
721
+ function readBlockScalar(c, I) {
722
+ var L, R, z = CHOMPING_CLIP, B = !1, V = !1, U = I, W = 0, G = !1, K, q = c.input.charCodeAt(c.position);
723
+ if (q === 124) R = !1;
724
+ else if (q === 62) R = !0;
726
725
  else return !1;
727
- for (e.kind = "scalar", e.result = ""; f !== 0;) if (f = e.input.charCodeAt(++e.position), f === 43 || f === 45) E === i ? i = f === 43 ? nt : tt : N(e, "repeat of a chomping mode identifier");
728
- else if ((d = ut(f)) >= 0) d === 0 ? N(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? N(e, "repeat of an indentation width identifier") : (c = t + d - 1, o = !0);
726
+ 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");
727
+ 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);
729
728
  else break;
730
- if (k(f)) {
729
+ if (is_WHITE_SPACE(q)) {
731
730
  do
732
- f = e.input.charCodeAt(++e.position);
733
- while (k(f));
734
- if (f === 35) do
735
- f = e.input.charCodeAt(++e.position);
736
- while (!O(f) && f !== 0);
731
+ q = c.input.charCodeAt(++c.position);
732
+ while (is_WHITE_SPACE(q));
733
+ if (q === 35) do
734
+ q = c.input.charCodeAt(++c.position);
735
+ while (!is_EOL(q) && q !== 0);
737
736
  }
738
- for (; f !== 0;) {
739
- for (L(e), e.lineIndent = 0, f = e.input.charCodeAt(e.position); (!o || e.lineIndent < c) && f === 32;) e.lineIndent++, f = e.input.charCodeAt(++e.position);
740
- if (!o && e.lineIndent > c && (c = e.lineIndent), O(f)) {
741
- l++;
737
+ for (; q !== 0;) {
738
+ 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);
739
+ if (!V && c.lineIndent > U && (U = c.lineIndent), is_EOL(q)) {
740
+ W++;
742
741
  continue;
743
742
  }
744
- if (e.lineIndent < c) {
745
- i === nt ? e.result += s.repeat("\n", a ? 1 + l : l) : i === E && a && (e.result += "\n");
743
+ if (c.lineIndent < U) {
744
+ z === CHOMPING_KEEP ? c.result += common.repeat("\n", B ? 1 + W : W) : z === CHOMPING_CLIP && B && (c.result += "\n");
746
745
  break;
747
746
  }
748
- for (r ? k(f) ? (u = !0, e.result += s.repeat("\n", a ? 1 + l : l)) : u ? (u = !1, e.result += s.repeat("\n", l + 1)) : l === 0 ? a && (e.result += " ") : e.result += s.repeat("\n", l) : e.result += s.repeat("\n", a ? 1 + l : l), a = !0, o = !0, l = 0, n = e.position; !O(f) && f !== 0;) f = e.input.charCodeAt(++e.position);
749
- F(e, n, e.position, !1);
747
+ 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);
748
+ captureSegment(c, L, c.position, !1);
750
749
  }
751
750
  return !0;
752
751
  }
753
- e(wt, "readBlockScalar");
754
- function Tt(e, t) {
755
- var n, r = e.tag, i = e.anchor, a = [], o, s = !1, c;
756
- if (e.firstTabInLine !== -1) return !1;
757
- for (e.anchor !== null && (e.anchorMap[e.anchor] = a), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, N(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !A(o))));) {
758
- if (s = !0, e.position++, R(e, !0, -1) && e.lineIndent <= t) {
759
- a.push(null), c = e.input.charCodeAt(e.position);
752
+ __name(readBlockScalar, "readBlockScalar");
753
+ function readBlockSequence(c, I) {
754
+ var L, R = c.tag, z = c.anchor, B = [], V, H = !1, U;
755
+ if (c.firstTabInLine !== -1) return !1;
756
+ 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))));) {
757
+ if (H = !0, c.position++, skipSeparationSpace(c, !0, -1) && c.lineIndent <= I) {
758
+ B.push(null), U = c.input.charCodeAt(c.position);
760
759
  continue;
761
760
  }
762
- if (n = e.line, V(e, t, et, !1, !0), a.push(e.result), R(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) N(e, "bad indentation of a sequence entry");
763
- else if (e.lineIndent < t) break;
761
+ 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");
762
+ else if (c.lineIndent < I) break;
764
763
  }
765
- return s ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
766
- }
767
- e(Tt, "readBlockSequence");
768
- function Et(e, t, n) {
769
- var r, i, a, o, s, c, l = e.tag, u = e.anchor, d = {}, f = /* @__PURE__ */ Object.create(null), p = null, m = null, h = null, g = !1, _ = !1, v;
770
- if (e.firstTabInLine !== -1) return !1;
771
- for (e.anchor !== null && (e.anchorMap[e.anchor] = d), v = e.input.charCodeAt(e.position); v !== 0;) {
772
- if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, N(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && A(r)) v === 63 ? (g && (I(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : N(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
764
+ return H ? (c.tag = R, c.anchor = z, c.kind = "sequence", c.result = B, !0) : !1;
765
+ }
766
+ __name(readBlockSequence, "readBlockSequence");
767
+ function readBlockMapping(c, I, L) {
768
+ 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, $;
769
+ if (c.firstTabInLine !== -1) return !1;
770
+ for (c.anchor !== null && (c.anchorMap[c.anchor] = K), $ = c.input.charCodeAt(c.position); $ !== 0;) {
771
+ 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;
773
772
  else {
774
- if (o = e.line, s = e.lineStart, c = e.position, !V(e, n, $e, !1, !0)) break;
775
- if (e.line === a) {
776
- for (v = e.input.charCodeAt(e.position); k(v);) v = e.input.charCodeAt(++e.position);
777
- if (v === 58) v = e.input.charCodeAt(++e.position), A(v) || N(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (I(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
778
- else if (_) N(e, "can not read an implicit mapping pair; a colon is missed");
779
- else return e.tag = l, e.anchor = u, !0;
780
- } else if (_) N(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
781
- else return e.tag = l, e.anchor = u, !0;
773
+ if (V = c.line, H = c.lineStart, U = c.position, !composeNode(c, L, CONTEXT_FLOW_OUT, !1, !0)) break;
774
+ if (c.line === B) {
775
+ for ($ = c.input.charCodeAt(c.position); is_WHITE_SPACE($);) $ = c.input.charCodeAt(++c.position);
776
+ 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;
777
+ else if (Q) throwError(c, "can not read an implicit mapping pair; a colon is missed");
778
+ else return c.tag = W, c.anchor = G, !0;
779
+ } else if (Q) throwError(c, "can not read a block mapping entry; a multiline key may not be an implicit key");
780
+ else return c.tag = W, c.anchor = G, !0;
782
781
  }
783
- if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), V(e, t, T, !0, i) && (g ? m = e.result : h = e.result), g || (I(e, d, f, p, m, h, o, s, c), p = m = h = null), R(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) N(e, "bad indentation of a mapping entry");
784
- else if (e.lineIndent < t) break;
782
+ 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");
783
+ else if (c.lineIndent < I) break;
785
784
  }
786
- return g && I(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = "mapping", e.result = d), _;
785
+ 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;
787
786
  }
788
- e(Et, "readBlockMapping");
789
- function Dt(e) {
790
- var t, n = !1, r = !1, i, a, o = e.input.charCodeAt(e.position);
791
- if (o !== 33) return !1;
792
- if (e.tag !== null && N(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
787
+ __name(readBlockMapping, "readBlockMapping");
788
+ function readTagProperty(c) {
789
+ var I, L = !1, R = !1, z, B, V = c.input.charCodeAt(c.position);
790
+ if (V !== 33) return !1;
791
+ 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) {
793
792
  do
794
- o = e.input.charCodeAt(++e.position);
795
- while (o !== 0 && o !== 62);
796
- e.position < e.length ? (a = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : N(e, "unexpected end of the stream within a verbatim tag");
793
+ V = c.input.charCodeAt(++c.position);
794
+ while (V !== 0 && V !== 62);
795
+ 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");
797
796
  } else {
798
- for (; o !== 0 && !A(o);) o === 33 && (r ? N(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), ot.test(i) || N(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
799
- a = e.input.slice(t, e.position), at.test(a) && N(e, "tag suffix cannot contain flow indicator characters");
797
+ 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);
798
+ B = c.input.slice(I, c.position), PATTERN_FLOW_INDICATORS.test(B) && throwError(c, "tag suffix cannot contain flow indicator characters");
800
799
  }
801
- a && !st.test(a) && N(e, "tag name cannot contain such characters: " + a);
800
+ B && !PATTERN_TAG_URI.test(B) && throwError(c, "tag name cannot contain such characters: " + B);
802
801
  try {
803
- a = decodeURIComponent(a);
802
+ B = decodeURIComponent(B);
804
803
  } catch {
805
- N(e, "tag name is malformed: " + a);
804
+ throwError(c, "tag name is malformed: " + B);
806
805
  }
807
- return n ? e.tag = a : C.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : N(e, "undeclared tag handle \"" + i + "\""), !0;
808
- }
809
- e(Dt, "readTagProperty");
810
- function Ot(e) {
811
- var t, n = e.input.charCodeAt(e.position);
812
- if (n !== 38) return !1;
813
- for (e.anchor !== null && N(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !A(n) && !j(n);) n = e.input.charCodeAt(++e.position);
814
- return e.position === t && N(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
815
- }
816
- e(Ot, "readAnchorProperty");
817
- function kt(e) {
818
- var t, n, r = e.input.charCodeAt(e.position);
819
- if (r !== 42) return !1;
820
- for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !A(r) && !j(r);) r = e.input.charCodeAt(++e.position);
821
- return e.position === t && N(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), C.call(e.anchorMap, n) || N(e, "unidentified alias \"" + n + "\""), e.result = e.anchorMap[n], R(e, !0, -1), !0;
822
- }
823
- e(kt, "readAlias");
824
- function V(e, t, n, r, i) {
825
- var a, o, s, c = 1, l = !1, u = !1, d, f, p, m, h, g;
826
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = s = T === n || et === n, r && R(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; Dt(e) || Ot(e);) R(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
827
- if (s &&= l || i, (c === 1 || T === n) && (h = w === n || $e === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (Tt(e, g) || Et(e, g, h)) || Ct(e, h) ? u = !0 : (o && wt(e, h) || xt(e, h) || St(e, h) ? u = !0 : kt(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && N(e, "alias node should not have any properties")) : bt(e, h, w === n) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && Tt(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
828
- else if (e.tag === "?") {
829
- for (e.result !== null && e.kind !== "scalar" && N(e, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e.kind + "\""), d = 0, f = e.implicitTypes.length; d < f; d += 1) if (m = e.implicitTypes[d], m.resolve(e.result)) {
830
- e.result = m.construct(e.result), e.tag = m.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
806
+ 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;
807
+ }
808
+ __name(readTagProperty, "readTagProperty");
809
+ function readAnchorProperty(c) {
810
+ var I, L = c.input.charCodeAt(c.position);
811
+ if (L !== 38) return !1;
812
+ 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);
813
+ 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;
814
+ }
815
+ __name(readAnchorProperty, "readAnchorProperty");
816
+ function readAlias(c) {
817
+ var I, L, R = c.input.charCodeAt(c.position);
818
+ if (R !== 42) return !1;
819
+ 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);
820
+ 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;
821
+ }
822
+ __name(readAlias, "readAlias");
823
+ function composeNode(c, I, L, R, z) {
824
+ var B, V, H, U = 1, W = !1, G = !1, K, q, J, Y, X, Z;
825
+ 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;
826
+ 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);
827
+ else if (c.tag === "?") {
828
+ 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)) {
829
+ c.result = Y.construct(c.result), c.tag = Y.tag, c.anchor !== null && (c.anchorMap[c.anchor] = c.result);
831
830
  break;
832
831
  }
833
- } else if (e.tag !== "!") {
834
- if (C.call(e.typeMap[e.kind || "fallback"], e.tag)) m = e.typeMap[e.kind || "fallback"][e.tag];
835
- else for (m = null, p = e.typeMap.multi[e.kind || "fallback"], d = 0, f = p.length; d < f; d += 1) if (e.tag.slice(0, p[d].tag.length) === p[d].tag) {
836
- m = p[d];
832
+ } else if (c.tag !== "!") {
833
+ if (_hasOwnProperty$1.call(c.typeMap[c.kind || "fallback"], c.tag)) Y = c.typeMap[c.kind || "fallback"][c.tag];
834
+ 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) {
835
+ Y = J[K];
837
836
  break;
838
837
  }
839
- m || N(e, "unknown tag !<" + e.tag + ">"), e.result !== null && m.kind !== e.kind && N(e, "unacceptable node kind for !<" + e.tag + "> tag; it should be \"" + m.kind + "\", not \"" + e.kind + "\""), m.resolve(e.result, e.tag) ? (e.result = m.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : N(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
838
+ 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");
840
839
  }
841
- return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || u;
842
- }
843
- e(V, "composeNode");
844
- function At(e) {
845
- var t = e.position, n, r, i, a = !1, o;
846
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (R(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
847
- for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !A(o);) o = e.input.charCodeAt(++e.position);
848
- for (r = e.input.slice(n, e.position), i = [], r.length < 1 && N(e, "directive name must not be less than one character in length"); o !== 0;) {
849
- for (; k(o);) o = e.input.charCodeAt(++e.position);
850
- if (o === 35) {
840
+ return c.listener !== null && c.listener("close", c), c.tag !== null || c.anchor !== null || G;
841
+ }
842
+ __name(composeNode, "composeNode");
843
+ function readDocument(c) {
844
+ var I = c.position, L, R, z, B = !1, V;
845
+ 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));) {
846
+ 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);
847
+ 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;) {
848
+ for (; is_WHITE_SPACE(V);) V = c.input.charCodeAt(++c.position);
849
+ if (V === 35) {
851
850
  do
852
- o = e.input.charCodeAt(++e.position);
853
- while (o !== 0 && !O(o));
851
+ V = c.input.charCodeAt(++c.position);
852
+ while (V !== 0 && !is_EOL(V));
854
853
  break;
855
854
  }
856
- if (O(o)) break;
857
- for (n = e.position; o !== 0 && !A(o);) o = e.input.charCodeAt(++e.position);
858
- i.push(e.input.slice(n, e.position));
855
+ if (is_EOL(V)) break;
856
+ for (L = c.position; V !== 0 && !is_WS_OR_EOL(V);) V = c.input.charCodeAt(++c.position);
857
+ z.push(c.input.slice(L, c.position));
859
858
  }
860
- o !== 0 && L(e), C.call(vt, r) ? vt[r](e, r, i) : P(e, "unknown document directive \"" + r + "\"");
859
+ V !== 0 && readLineBreak(c), _hasOwnProperty$1.call(directiveHandlers, R) ? directiveHandlers[R](c, R, z) : throwWarning(c, "unknown document directive \"" + R + "\"");
861
860
  }
862
- if (R(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, R(e, !0, -1)) : a && N(e, "directives end mark is expected"), V(e, e.lineIndent - 1, T, !1, !0), R(e, !0, -1), e.checkLineBreaks && it.test(e.input.slice(t, e.position)) && P(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && z(e)) {
863
- e.input.charCodeAt(e.position) === 46 && (e.position += 3, R(e, !0, -1));
861
+ 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)) {
862
+ c.input.charCodeAt(c.position) === 46 && (c.position += 3, skipSeparationSpace(c, !0, -1));
864
863
  return;
865
864
  }
866
- if (e.position < e.length - 1) N(e, "end of the stream or a document separator is expected");
865
+ if (c.position < c.length - 1) throwError(c, "end of the stream or a document separator is expected");
867
866
  else return;
868
867
  }
869
- e(At, "readDocument");
870
- function jt(e, t) {
871
- e = String(e), t ||= {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += "\n"), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
872
- var n = new gt(e, t), r = e.indexOf("\0");
873
- for (r !== -1 && (n.position = r, N(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32;) n.lineIndent += 1, n.position += 1;
874
- for (; n.position < n.length - 1;) At(n);
875
- return n.documents;
876
- }
877
- e(jt, "loadDocuments");
878
- function Mt(e, t, n) {
879
- typeof t == "object" && t && n === void 0 && (n = t, t = null);
880
- var r = jt(e, n);
881
- if (typeof t != "function") return r;
882
- for (var i = 0, a = r.length; i < a; i += 1) t(r[i]);
883
- }
884
- e(Mt, "loadAll$1");
885
- function Nt(e, t) {
886
- var n = jt(e, t);
887
- if (n.length !== 0) {
888
- if (n.length === 1) return n[0];
889
- throw new u("expected a single document in the stream, but found more");
868
+ __name(readDocument, "readDocument");
869
+ function loadDocuments(c, I) {
870
+ 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)));
871
+ var L = new State$1(c, I), R = c.indexOf("\0");
872
+ 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;
873
+ for (; L.position < L.length - 1;) readDocument(L);
874
+ return L.documents;
875
+ }
876
+ __name(loadDocuments, "loadDocuments");
877
+ function loadAll$1(c, I, L) {
878
+ typeof I == "object" && I && L === void 0 && (L = I, I = null);
879
+ var R = loadDocuments(c, L);
880
+ if (typeof I != "function") return R;
881
+ for (var z = 0, B = R.length; z < B; z += 1) I(R[z]);
882
+ }
883
+ __name(loadAll$1, "loadAll$1");
884
+ function load$1(c, I) {
885
+ var L = loadDocuments(c, I);
886
+ if (L.length !== 0) {
887
+ if (L.length === 1) return L[0];
888
+ throw new exception("expected a single document in the stream, but found more");
890
889
  }
891
890
  }
892
- e(Nt, "load$1");
893
- var Pt = {
894
- loadAll: Mt,
895
- load: Nt
896
- }, Ft = Object.prototype.toString, It = Object.prototype.hasOwnProperty, Lt = 65279, Rt = 9, H = 10, zt = 13, Bt = 32, Vt = 33, Ht = 34, Ut = 35, Wt = 37, Gt = 38, Kt = 39, qt = 42, Jt = 44, Yt = 45, U = 58, Xt = 61, Zt = 62, Qt = 63, $t = 64, en = 91, tn = 93, nn = 96, rn = 123, an = 124, on = 125, W = {};
897
- W[0] = "\\0", W[7] = "\\a", W[8] = "\\b", W[9] = "\\t", W[10] = "\\n", W[11] = "\\v", W[12] = "\\f", W[13] = "\\r", W[27] = "\\e", W[34] = "\\\"", W[92] = "\\\\", W[133] = "\\N", W[160] = "\\_", W[8232] = "\\L", W[8233] = "\\P";
898
- var sn = [
891
+ __name(load$1, "load$1");
892
+ var loader = {
893
+ loadAll: loadAll$1,
894
+ load: load$1
895
+ }, _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 = {};
896
+ 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";
897
+ var DEPRECATED_BOOLEANS_SYNTAX = [
899
898
  "y",
900
899
  "Y",
901
900
  "yes",
@@ -912,235 +911,234 @@ var sn = [
912
911
  "off",
913
912
  "Off",
914
913
  "OFF"
915
- ], cn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
916
- function ln(e, t) {
917
- var n, r, i, a, o, s, c;
918
- if (t === null) return {};
919
- for (n = {}, r = Object.keys(t), i = 0, a = r.length; i < a; i += 1) o = r[i], s = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && It.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
920
- return n;
921
- }
922
- e(ln, "compileStyleMap");
923
- function un(e) {
924
- var t = e.toString(16).toUpperCase(), n, r;
925
- if (e <= 255) n = "x", r = 2;
926
- else if (e <= 65535) n = "u", r = 4;
927
- else if (e <= 4294967295) n = "U", r = 8;
928
- else throw new u("code point within a string may not be greater than 0xFFFFFFFF");
929
- return "\\" + n + s.repeat("0", r - t.length) + t;
930
- }
931
- e(un, "encodeHex");
932
- var dn = 1, G = 2;
933
- function fn(e) {
934
- this.schema = e.schema || Qe, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = s.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = ln(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === "\"" ? G : dn, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
935
- }
936
- e(fn, "State");
937
- function pn(e, t) {
938
- for (var n = s.repeat(" ", t), r = 0, i = -1, a = "", o, c = e.length; r < c;) i = e.indexOf("\n", r), i === -1 ? (o = e.slice(r), r = c) : (o = e.slice(r, i + 1), r = i + 1), o.length && o !== "\n" && (a += n), a += o;
939
- return a;
940
- }
941
- e(pn, "indentString");
942
- function K(e, t) {
943
- return "\n" + s.repeat(" ", e.indent * t);
944
- }
945
- e(K, "generateNextLine");
946
- function mn(e, t) {
947
- var n, r, i;
948
- for (n = 0, r = e.implicitTypes.length; n < r; n += 1) if (i = e.implicitTypes[n], i.resolve(t)) return !0;
914
+ ], DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
915
+ function compileStyleMap(c, I) {
916
+ var L, R, z, B, V, H, U;
917
+ if (I === null) return {};
918
+ 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;
919
+ return L;
920
+ }
921
+ __name(compileStyleMap, "compileStyleMap");
922
+ function encodeHex(c) {
923
+ var I = c.toString(16).toUpperCase(), L, R;
924
+ if (c <= 255) L = "x", R = 2;
925
+ else if (c <= 65535) L = "u", R = 4;
926
+ else if (c <= 4294967295) L = "U", R = 8;
927
+ else throw new exception("code point within a string may not be greater than 0xFFFFFFFF");
928
+ return "\\" + L + common.repeat("0", R - I.length) + I;
929
+ }
930
+ __name(encodeHex, "encodeHex");
931
+ var QUOTING_TYPE_SINGLE = 1, QUOTING_TYPE_DOUBLE = 2;
932
+ function State(c) {
933
+ 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;
934
+ }
935
+ __name(State, "State");
936
+ function indentString(c, I) {
937
+ 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;
938
+ return B;
939
+ }
940
+ __name(indentString, "indentString");
941
+ function generateNextLine(c, I) {
942
+ return "\n" + common.repeat(" ", c.indent * I);
943
+ }
944
+ __name(generateNextLine, "generateNextLine");
945
+ function testImplicitResolving(c, I) {
946
+ var L, R, z;
947
+ for (L = 0, R = c.implicitTypes.length; L < R; L += 1) if (z = c.implicitTypes[L], z.resolve(I)) return !0;
949
948
  return !1;
950
949
  }
951
- e(mn, "testImplicitResolving");
952
- function q(e) {
953
- return e === Bt || e === Rt;
954
- }
955
- e(q, "isWhitespace");
956
- function J(e) {
957
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Lt || 65536 <= e && e <= 1114111;
958
- }
959
- e(J, "isPrintable");
960
- function hn(e) {
961
- return J(e) && e !== Lt && e !== zt && e !== H;
962
- }
963
- e(hn, "isNsCharOrWhitespace");
964
- function gn(e, t, n) {
965
- var r = hn(e), i = r && !q(e);
966
- return (n ? r : r && e !== Jt && e !== en && e !== tn && e !== rn && e !== on) && e !== Ut && !(t === U && !i) || hn(t) && !q(t) && e === Ut || t === U && i;
967
- }
968
- e(gn, "isPlainSafe");
969
- function _n(e) {
970
- return J(e) && e !== Lt && !q(e) && e !== Yt && e !== Qt && e !== U && e !== Jt && e !== en && e !== tn && e !== rn && e !== on && e !== Ut && e !== Gt && e !== qt && e !== Vt && e !== an && e !== Xt && e !== Zt && e !== Kt && e !== Ht && e !== Wt && e !== $t && e !== nn;
971
- }
972
- e(_n, "isPlainSafeFirst");
973
- function vn(e) {
974
- return !q(e) && e !== U;
975
- }
976
- e(vn, "isPlainSafeLast");
977
- function Y(e, t) {
978
- var n = e.charCodeAt(t), r;
979
- return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
980
- }
981
- e(Y, "codePointAt");
982
- function yn(e) {
983
- return /^\n* /.test(e);
984
- }
985
- e(yn, "needIndentIndicator");
986
- var bn = 1, xn = 2, Sn = 3, Cn = 4, X = 5;
987
- function wn(e, t, n, r, i, a, o, s) {
988
- var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = _n(Y(e, 0)) && vn(Y(e, e.length - 1));
989
- if (t || o) for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
990
- if (l = Y(e, c), !J(l)) return X;
991
- h &&= gn(l, u, s), u = l;
950
+ __name(testImplicitResolving, "testImplicitResolving");
951
+ function isWhitespace(c) {
952
+ return c === CHAR_SPACE || c === CHAR_TAB;
953
+ }
954
+ __name(isWhitespace, "isWhitespace");
955
+ function isPrintable(c) {
956
+ return 32 <= c && c <= 126 || 161 <= c && c <= 55295 && c !== 8232 && c !== 8233 || 57344 <= c && c <= 65533 && c !== CHAR_BOM || 65536 <= c && c <= 1114111;
957
+ }
958
+ __name(isPrintable, "isPrintable");
959
+ function isNsCharOrWhitespace(c) {
960
+ return isPrintable(c) && c !== CHAR_BOM && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
961
+ }
962
+ __name(isNsCharOrWhitespace, "isNsCharOrWhitespace");
963
+ function isPlainSafe(c, I, L) {
964
+ var R = isNsCharOrWhitespace(c), z = R && !isWhitespace(c);
965
+ 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;
966
+ }
967
+ __name(isPlainSafe, "isPlainSafe");
968
+ function isPlainSafeFirst(c) {
969
+ 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;
970
+ }
971
+ __name(isPlainSafeFirst, "isPlainSafeFirst");
972
+ function isPlainSafeLast(c) {
973
+ return !isWhitespace(c) && c !== CHAR_COLON;
974
+ }
975
+ __name(isPlainSafeLast, "isPlainSafeLast");
976
+ function codePointAt(c, I) {
977
+ var L = c.charCodeAt(I), R;
978
+ 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;
979
+ }
980
+ __name(codePointAt, "codePointAt");
981
+ function needIndentIndicator(c) {
982
+ return /^\n* /.test(c);
983
+ }
984
+ __name(needIndentIndicator, "needIndentIndicator");
985
+ var STYLE_PLAIN = 1, STYLE_SINGLE = 2, STYLE_LITERAL = 3, STYLE_FOLDED = 4, STYLE_DOUBLE = 5;
986
+ function chooseScalarStyle(c, I, L, R, z, B, V, H) {
987
+ 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));
988
+ if (I || V) for (U = 0; U < c.length; W >= 65536 ? U += 2 : U++) {
989
+ if (W = codePointAt(c, U), !isPrintable(W)) return STYLE_DOUBLE;
990
+ X &&= isPlainSafe(W, G, H), G = W;
992
991
  }
993
992
  else {
994
- for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
995
- if (l = Y(e, c), l === H) d = !0, p && (f ||= c - m - 1 > r && e[m + 1] !== " ", m = c);
996
- else if (!J(l)) return X;
997
- h &&= gn(l, u, s), u = l;
993
+ for (U = 0; U < c.length; W >= 65536 ? U += 2 : U++) {
994
+ if (W = codePointAt(c, U), W === CHAR_LINE_FEED) K = !0, J && (q ||= U - Y - 1 > R && c[Y + 1] !== " ", Y = U);
995
+ else if (!isPrintable(W)) return STYLE_DOUBLE;
996
+ X &&= isPlainSafe(W, G, H), G = W;
998
997
  }
999
- f ||= p && c - m - 1 > r && e[m + 1] !== " ";
998
+ q ||= J && U - Y - 1 > R && c[Y + 1] !== " ";
1000
999
  }
1001
- return !d && !f ? h && !o && !i(e) ? bn : a === G ? X : xn : n > 9 && yn(e) ? X : o ? a === G ? X : xn : f ? Cn : Sn;
1002
- }
1003
- e(wn, "chooseScalarStyle");
1004
- function Tn(t, n, r, i, a) {
1005
- t.dump = (function() {
1006
- if (n.length === 0) return t.quotingType === G ? "\"\"" : "''";
1007
- if (!t.noCompatMode && (sn.indexOf(n) !== -1 || cn.test(n))) return t.quotingType === G ? "\"" + n + "\"" : "'" + n + "'";
1008
- var o = t.indent * Math.max(1, r), s = t.lineWidth === -1 ? -1 : Math.max(Math.min(t.lineWidth, 40), t.lineWidth - o), c = i || t.flowLevel > -1 && r >= t.flowLevel;
1009
- function l(e) {
1010
- return mn(t, e);
1000
+ 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;
1001
+ }
1002
+ __name(chooseScalarStyle, "chooseScalarStyle");
1003
+ function writeScalar(I, L, R, z, B) {
1004
+ I.dump = (function() {
1005
+ if (L.length === 0) return I.quotingType === QUOTING_TYPE_DOUBLE ? "\"\"" : "''";
1006
+ if (!I.noCompatMode && (DEPRECATED_BOOLEANS_SYNTAX.indexOf(L) !== -1 || DEPRECATED_BASE60_SYNTAX.test(L))) return I.quotingType === QUOTING_TYPE_DOUBLE ? "\"" + L + "\"" : "'" + L + "'";
1007
+ 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;
1008
+ function W(c) {
1009
+ return testImplicitResolving(I, c);
1011
1010
  }
1012
- switch (e(l, "testAmbiguity"), wn(n, c, t.indent, s, l, t.quotingType, t.forceQuotes && !i, a)) {
1013
- case bn: return n;
1014
- case xn: return "'" + n.replace(/'/g, "''") + "'";
1015
- case Sn: return "|" + En(n, t.indent) + Dn(pn(n, o));
1016
- case Cn: return ">" + En(n, t.indent) + Dn(pn(On(n, s), o));
1017
- case X: return "\"" + An(n) + "\"";
1018
- default: throw new u("impossible error: invalid scalar style");
1011
+ switch (__name(W, "testAmbiguity"), chooseScalarStyle(L, U, I.indent, H, W, I.quotingType, I.forceQuotes && !z, B)) {
1012
+ case STYLE_PLAIN: return L;
1013
+ case STYLE_SINGLE: return "'" + L.replace(/'/g, "''") + "'";
1014
+ case STYLE_LITERAL: return "|" + blockHeader(L, I.indent) + dropEndingNewline(indentString(L, V));
1015
+ case STYLE_FOLDED: return ">" + blockHeader(L, I.indent) + dropEndingNewline(indentString(foldString(L, H), V));
1016
+ case STYLE_DOUBLE: return "\"" + escapeString(L) + "\"";
1017
+ default: throw new exception("impossible error: invalid scalar style");
1019
1018
  }
1020
1019
  })();
1021
1020
  }
1022
- e(Tn, "writeScalar");
1023
- function En(e, t) {
1024
- var n = yn(e) ? String(t) : "", r = e[e.length - 1] === "\n";
1025
- return n + (r && (e[e.length - 2] === "\n" || e === "\n") ? "+" : r ? "" : "-") + "\n";
1026
- }
1027
- e(En, "blockHeader");
1028
- function Dn(e) {
1029
- return e[e.length - 1] === "\n" ? e.slice(0, -1) : e;
1030
- }
1031
- e(Dn, "dropEndingNewline");
1032
- function On(e, t) {
1033
- for (var n = /(\n+)([^\n]*)/g, r = (function() {
1034
- var r = e.indexOf("\n");
1035
- return r = r === -1 ? e.length : r, n.lastIndex = r, kn(e.slice(0, r), t);
1036
- })(), i = e[0] === "\n" || e[0] === " ", a, o; o = n.exec(e);) {
1037
- var s = o[1], c = o[2];
1038
- a = c[0] === " ", r += s + (!i && !a && c !== "" ? "\n" : "") + kn(c, t), i = a;
1021
+ __name(writeScalar, "writeScalar");
1022
+ function blockHeader(c, I) {
1023
+ var L = needIndentIndicator(c) ? String(I) : "", R = c[c.length - 1] === "\n";
1024
+ return L + (R && (c[c.length - 2] === "\n" || c === "\n") ? "+" : R ? "" : "-") + "\n";
1025
+ }
1026
+ __name(blockHeader, "blockHeader");
1027
+ function dropEndingNewline(c) {
1028
+ return c[c.length - 1] === "\n" ? c.slice(0, -1) : c;
1029
+ }
1030
+ __name(dropEndingNewline, "dropEndingNewline");
1031
+ function foldString(c, I) {
1032
+ for (var L = /(\n+)([^\n]*)/g, R = (function() {
1033
+ var R = c.indexOf("\n");
1034
+ return R = R === -1 ? c.length : R, L.lastIndex = R, foldLine(c.slice(0, R), I);
1035
+ })(), z = c[0] === "\n" || c[0] === " ", B, V; V = L.exec(c);) {
1036
+ var H = V[1], U = V[2];
1037
+ B = U[0] === " ", R += H + (!z && !B && U !== "" ? "\n" : "") + foldLine(U, I), z = B;
1039
1038
  }
1040
- return r;
1041
- }
1042
- e(On, "foldString");
1043
- function kn(e, t) {
1044
- if (e === "" || e[0] === " ") return e;
1045
- for (var n = / [^ ]/g, r, i = 0, a, o = 0, s = 0, c = ""; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += "\n" + e.slice(i, a), i = a + 1), o = s;
1046
- return c += "\n", e.length - i > t && o > i ? c += e.slice(i, o) + "\n" + e.slice(o + 1) : c += e.slice(i), c.slice(1);
1047
- }
1048
- e(kn, "foldLine");
1049
- function An(e) {
1050
- for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = Y(e, i), r = W[n], !r && J(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || un(n);
1051
- return t;
1052
- }
1053
- e(An, "escapeString");
1054
- function jn(e, t, n) {
1055
- var r = "", i = e.tag, a, o, s;
1056
- for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (Q(e, t, s, !1, !1) || s === void 0 && Q(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
1057
- e.tag = i, e.dump = "[" + r + "]";
1058
- }
1059
- e(jn, "writeFlowSequence");
1060
- function Mn(e, t, n, r) {
1061
- var i = "", a = e.tag, o, s, c;
1062
- for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (Q(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && Q(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += K(e, t)), e.dump && H === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
1063
- e.tag = a, e.dump = i || "[]";
1064
- }
1065
- e(Mn, "writeBlockSequence");
1066
- function Nn(e, t, n) {
1067
- var r = "", i = e.tag, a = Object.keys(n), o, s, c, l, u;
1068
- for (o = 0, s = a.length; o < s; o += 1) u = "", r !== "" && (u += ", "), e.condenseFlow && (u += "\""), c = a[o], l = n[c], e.replacer && (l = e.replacer.call(n, c, l)), Q(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += "? "), u += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), Q(e, t, l, !1, !1) && (u += e.dump, r += u));
1069
- e.tag = i, e.dump = "{" + r + "}";
1070
- }
1071
- e(Nn, "writeFlowMapping");
1072
- function Pn(e, t, n, r) {
1073
- var i = "", a = e.tag, o = Object.keys(n), s, c, l, d, f, p;
1074
- if (e.sortKeys === !0) o.sort();
1075
- else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
1076
- else if (e.sortKeys) throw new u("sortKeys must be a boolean or a function");
1077
- for (s = 0, c = o.length; s < c; s += 1) p = "", (!r || i !== "") && (p += K(e, t)), l = o[s], d = n[l], e.replacer && (d = e.replacer.call(n, l, d)), Q(e, t + 1, l, !0, !0, !0) && (f = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, f && (e.dump && H === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, f && (p += K(e, t)), Q(e, t + 1, d, !0, f) && (e.dump && H === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, i += p));
1078
- e.tag = a, e.dump = i || "{}";
1079
- }
1080
- e(Pn, "writeBlockMapping");
1081
- function Z(e, t, n) {
1082
- var r, i = n ? e.explicitTypes : e.implicitTypes, a, o, s, c;
1083
- for (a = 0, o = i.length; a < o; a += 1) if (s = i[a], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof t == "object" && t instanceof s.instanceOf) && (!s.predicate || s.predicate(t))) {
1084
- if (n ? s.multi && s.representName ? e.tag = s.representName(t) : e.tag = s.tag : e.tag = "?", s.represent) {
1085
- if (c = e.styleMap[s.tag] || s.defaultStyle, Ft.call(s.represent) === "[object Function]") r = s.represent(t, c);
1086
- else if (It.call(s.represent, c)) r = s.represent[c](t, c);
1087
- else throw new u("!<" + s.tag + "> tag resolver accepts not \"" + c + "\" style");
1088
- e.dump = r;
1039
+ return R;
1040
+ }
1041
+ __name(foldString, "foldString");
1042
+ function foldLine(c, I) {
1043
+ if (c === "" || c[0] === " ") return c;
1044
+ 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;
1045
+ 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);
1046
+ }
1047
+ __name(foldLine, "foldLine");
1048
+ function escapeString(c) {
1049
+ 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);
1050
+ return I;
1051
+ }
1052
+ __name(escapeString, "escapeString");
1053
+ function writeFlowSequence(c, I, L) {
1054
+ var R = "", z = c.tag, B, V, H;
1055
+ 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);
1056
+ c.tag = z, c.dump = "[" + R + "]";
1057
+ }
1058
+ __name(writeFlowSequence, "writeFlowSequence");
1059
+ function writeBlockSequence(c, I, L, R) {
1060
+ var z = "", B = c.tag, V, H, U;
1061
+ 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);
1062
+ c.tag = B, c.dump = z || "[]";
1063
+ }
1064
+ __name(writeBlockSequence, "writeBlockSequence");
1065
+ function writeFlowMapping(c, I, L) {
1066
+ var R = "", z = c.tag, B = Object.keys(L), V, H, U, W, G;
1067
+ 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));
1068
+ c.tag = z, c.dump = "{" + R + "}";
1069
+ }
1070
+ __name(writeFlowMapping, "writeFlowMapping");
1071
+ function writeBlockMapping(c, I, L, R) {
1072
+ var z = "", B = c.tag, V = Object.keys(L), H, U, W, K, q, J;
1073
+ if (c.sortKeys === !0) V.sort();
1074
+ else if (typeof c.sortKeys == "function") V.sort(c.sortKeys);
1075
+ else if (c.sortKeys) throw new exception("sortKeys must be a boolean or a function");
1076
+ 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));
1077
+ c.tag = B, c.dump = z || "{}";
1078
+ }
1079
+ __name(writeBlockMapping, "writeBlockMapping");
1080
+ function detectType(c, I, L) {
1081
+ var R, z = L ? c.explicitTypes : c.implicitTypes, B, V, H, U;
1082
+ 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))) {
1083
+ if (L ? H.multi && H.representName ? c.tag = H.representName(I) : c.tag = H.tag : c.tag = "?", H.represent) {
1084
+ if (U = c.styleMap[H.tag] || H.defaultStyle, _toString.call(H.represent) === "[object Function]") R = H.represent(I, U);
1085
+ else if (_hasOwnProperty.call(H.represent, U)) R = H.represent[U](I, U);
1086
+ else throw new exception("!<" + H.tag + "> tag resolver accepts not \"" + U + "\" style");
1087
+ c.dump = R;
1089
1088
  }
1090
1089
  return !0;
1091
1090
  }
1092
1091
  return !1;
1093
1092
  }
1094
- e(Z, "detectType");
1095
- function Q(e, t, n, r, i, a, o) {
1096
- e.tag = null, e.dump = n, Z(e, n, !1) || Z(e, n, !0);
1097
- var s = Ft.call(e.dump), c = r, l;
1098
- r &&= e.flowLevel < 0 || e.flowLevel > t;
1099
- var d = s === "[object Object]" || s === "[object Array]", f, p;
1100
- if (d && (f = e.duplicates.indexOf(n), p = f !== -1), (e.tag !== null && e.tag !== "?" || p || e.indent !== 2 && t > 0) && (i = !1), p && e.usedDuplicates[f]) e.dump = "*ref_" + f;
1093
+ __name(detectType, "detectType");
1094
+ function writeNode(c, I, L, R, z, B, V) {
1095
+ c.tag = null, c.dump = L, detectType(c, L, !1) || detectType(c, L, !0);
1096
+ var H = _toString.call(c.dump), U = R, W;
1097
+ R &&= c.flowLevel < 0 || c.flowLevel > I;
1098
+ var K = H === "[object Object]" || H === "[object Array]", q, J;
1099
+ 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;
1101
1100
  else {
1102
- if (d && p && !e.usedDuplicates[f] && (e.usedDuplicates[f] = !0), s === "[object Object]") r && Object.keys(e.dump).length !== 0 ? (Pn(e, t, e.dump, i), p && (e.dump = "&ref_" + f + e.dump)) : (Nn(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
1103
- else if (s === "[object Array]") r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Mn(e, t - 1, e.dump, i) : Mn(e, t, e.dump, i), p && (e.dump = "&ref_" + f + e.dump)) : (jn(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
1104
- else if (s === "[object String]") e.tag !== "?" && Tn(e, e.dump, t, a, c);
1105
- else if (s === "[object Undefined]") return !1;
1101
+ 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));
1102
+ 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));
1103
+ else if (H === "[object String]") c.tag !== "?" && writeScalar(c, c.dump, I, B, U);
1104
+ else if (H === "[object Undefined]") return !1;
1106
1105
  else {
1107
- if (e.skipInvalid) return !1;
1108
- throw new u("unacceptable kind of an object to dump " + s);
1106
+ if (c.skipInvalid) return !1;
1107
+ throw new exception("unacceptable kind of an object to dump " + H);
1109
1108
  }
1110
- e.tag !== null && e.tag !== "?" && (l = encodeURI(e.tag[0] === "!" ? e.tag.slice(1) : e.tag).replace(/!/g, "%21"), l = e.tag[0] === "!" ? "!" + l : l.slice(0, 18) === "tag:yaml.org,2002:" ? "!!" + l.slice(18) : "!<" + l + ">", e.dump = l + " " + e.dump);
1109
+ 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);
1111
1110
  }
1112
1111
  return !0;
1113
1112
  }
1114
- e(Q, "writeNode");
1115
- function Fn(e, t) {
1116
- var n = [], r = [], i, a;
1117
- for ($(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
1118
- t.usedDuplicates = Array(a);
1119
- }
1120
- e(Fn, "getDuplicateReferences");
1121
- function $(e, t, n) {
1122
- var r, i, a;
1123
- if (typeof e == "object" && e) if (i = t.indexOf(e), i !== -1) n.indexOf(i) === -1 && n.push(i);
1124
- else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) $(e[i], t, n);
1125
- else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) $(e[r[i]], t, n);
1126
- }
1127
- e($, "inspectNode");
1128
- function In(e, t) {
1129
- t ||= {};
1130
- var n = new fn(t);
1131
- n.noRefs || Fn(e, n);
1132
- var r = e;
1133
- return n.replacer && (r = n.replacer.call({ "": r }, "", r)), Q(n, 0, r, !0, !0) ? n.dump + "\n" : "";
1134
- }
1135
- e(In, "dump$1");
1136
- var Ln = { dump: In };
1137
- function Rn(e, t) {
1113
+ __name(writeNode, "writeNode");
1114
+ function getDuplicateReferences(c, I) {
1115
+ var L = [], R = [], z, B;
1116
+ for (inspectNode(c, L, R), z = 0, B = R.length; z < B; z += 1) I.duplicates.push(L[R[z]]);
1117
+ I.usedDuplicates = Array(B);
1118
+ }
1119
+ __name(getDuplicateReferences, "getDuplicateReferences");
1120
+ function inspectNode(c, I, L) {
1121
+ var R, z, B;
1122
+ if (typeof c == "object" && c) if (z = I.indexOf(c), z !== -1) L.indexOf(z) === -1 && L.push(z);
1123
+ else if (I.push(c), Array.isArray(c)) for (z = 0, B = c.length; z < B; z += 1) inspectNode(c[z], I, L);
1124
+ else for (R = Object.keys(c), z = 0, B = R.length; z < B; z += 1) inspectNode(c[R[z]], I, L);
1125
+ }
1126
+ __name(inspectNode, "inspectNode");
1127
+ function dump$1(c, I) {
1128
+ I ||= {};
1129
+ var L = new State(I);
1130
+ L.noRefs || getDuplicateReferences(c, L);
1131
+ var R = c;
1132
+ return L.replacer && (R = L.replacer.call({ "": R }, "", R)), writeNode(L, 0, R, !0, !0) ? L.dump + "\n" : "";
1133
+ }
1134
+ __name(dump$1, "dump$1");
1135
+ var dumper = { dump: dump$1 };
1136
+ function renamed(c, I) {
1138
1137
  return function() {
1139
- throw Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
1138
+ throw Error("Function yaml." + c + " is removed in js-yaml 4. Use yaml." + I + " instead, which is now safe by default.");
1140
1139
  };
1141
1140
  }
1142
- e(Rn, "renamed");
1143
- var zn = we, Bn = Pt.load;
1144
- Pt.loadAll, Ln.dump;
1145
- //#endregion
1146
- export { zn as JSON_SCHEMA, Bn as load };
1141
+ __name(renamed, "renamed");
1142
+ var JSON_SCHEMA = json, load = loader.load;
1143
+ loader.loadAll, dumper.dump;
1144
+ export { JSON_SCHEMA, load };