kennel 0.1.8 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1263) hide show
  1. package/README.md +118 -95
  2. package/bin/kennel-native.mjs +5 -0
  3. package/dist/cli/dispatch.js +80 -15
  4. package/dist/cli/usage.js +13 -3
  5. package/dist/core/api-client.d.ts +13 -0
  6. package/dist/core/api-client.js +15254 -0
  7. package/dist/core/command.d.ts +1 -0
  8. package/dist/core/command.js +66 -0
  9. package/dist/core/core-folders.d.ts +1 -0
  10. package/dist/core/core-folders.js +42 -0
  11. package/dist/core/init.d.ts +1 -0
  12. package/dist/core/init.js +86 -0
  13. package/dist/core/runtime.d.ts +14 -0
  14. package/dist/core/runtime.js +79774 -0
  15. package/dist/deploy/cloudflare.js +10 -1
  16. package/dist/deploy/smoke-tests.d.ts +1 -0
  17. package/dist/deploy/smoke-tests.js +21 -0
  18. package/dist/deploy/vercel.d.ts +3 -0
  19. package/dist/deploy/vercel.js +67 -0
  20. package/dist/main.js +1 -0
  21. package/dist/mcp/config.js +14 -0
  22. package/dist/mcp/function-source.js +3 -1
  23. package/dist/mcp/install-page.d.ts +12 -1
  24. package/dist/mcp/install-page.js +3 -358
  25. package/dist/notifications/email-worker.js +1 -1
  26. package/dist/package/preview.d.ts +9 -0
  27. package/dist/package/preview.js +82561 -0
  28. package/dist/publish/cloudflare-init.js +5 -2
  29. package/dist/publish/config.d.ts +1 -1
  30. package/dist/publish/config.js +3 -15
  31. package/dist/publish/vercel-init.d.ts +9 -0
  32. package/dist/publish/vercel-init.js +52 -0
  33. package/dist/site/dev.js +3 -5
  34. package/dist/site/extension.d.ts +8 -0
  35. package/dist/site/extension.js +113 -0
  36. package/dist/site/folder-icons.d.ts +46 -0
  37. package/dist/site/folder-icons.js +86 -0
  38. package/dist/site/hot-viewer.d.ts +2 -0
  39. package/dist/site/hot-viewer.js +231 -0
  40. package/dist/site/kinds.d.ts +1 -0
  41. package/dist/site/kinds.js +1 -0
  42. package/dist/site/mail.d.ts +1 -0
  43. package/dist/site/mail.js +10 -0
  44. package/dist/site/renderers.d.ts +61 -0
  45. package/dist/site/renderers.js +219 -0
  46. package/dist/site/server-plugins.d.ts +54 -0
  47. package/dist/site/server-plugins.js +10300 -0
  48. package/dist/site/viewer.d.ts +36 -0
  49. package/dist/site/viewer.js +339 -0
  50. package/dist/site/vitepress.d.ts +1 -21
  51. package/dist/site/vitepress.js +1 -66
  52. package/node_modules/@libsql/client/README.md +128 -0
  53. package/node_modules/@libsql/client/lib-cjs/hrana.js +372 -0
  54. package/node_modules/@libsql/client/lib-cjs/http.js +268 -0
  55. package/node_modules/@libsql/client/lib-cjs/node.js +41 -0
  56. package/node_modules/@libsql/client/lib-cjs/package.json +3 -0
  57. package/node_modules/@libsql/client/lib-cjs/sql_cache.js +91 -0
  58. package/node_modules/@libsql/client/lib-cjs/sqlite3.js +501 -0
  59. package/node_modules/@libsql/client/lib-cjs/web.js +41 -0
  60. package/node_modules/@libsql/client/lib-cjs/ws.js +395 -0
  61. package/node_modules/@libsql/client/lib-esm/hrana.d.ts +23 -0
  62. package/node_modules/@libsql/client/lib-esm/hrana.js +341 -0
  63. package/node_modules/@libsql/client/lib-esm/http.d.ts +39 -0
  64. package/node_modules/@libsql/client/lib-esm/http.js +232 -0
  65. package/node_modules/@libsql/client/lib-esm/node.d.ts +7 -0
  66. package/node_modules/@libsql/client/lib-esm/node.js +23 -0
  67. package/node_modules/@libsql/client/lib-esm/sql_cache.d.ts +7 -0
  68. package/node_modules/@libsql/client/lib-esm/sql_cache.js +87 -0
  69. package/node_modules/@libsql/client/lib-esm/sqlite3.d.ts +35 -0
  70. package/node_modules/@libsql/client/lib-esm/sqlite3.js +477 -0
  71. package/node_modules/@libsql/client/lib-esm/web.d.ts +6 -0
  72. package/node_modules/@libsql/client/lib-esm/web.js +22 -0
  73. package/node_modules/@libsql/client/lib-esm/ws.d.ts +50 -0
  74. package/node_modules/@libsql/client/lib-esm/ws.js +359 -0
  75. package/node_modules/@libsql/client/package.json +123 -0
  76. package/node_modules/@raggle-ai/local/LICENSE +21 -0
  77. package/node_modules/@raggle-ai/local/README.md +52 -0
  78. package/node_modules/@raggle-ai/local/THIRD_PARTY_NOTICES.md +95 -0
  79. package/node_modules/@raggle-ai/local/dist/acp/client.d.ts +31 -0
  80. package/node_modules/@raggle-ai/local/dist/acp/client.js +92 -0
  81. package/node_modules/@raggle-ai/local/dist/acp/distributions.d.ts +18 -0
  82. package/node_modules/@raggle-ai/local/dist/acp/distributions.js +41 -0
  83. package/node_modules/@raggle-ai/local/dist/acp/index.d.ts +4 -0
  84. package/node_modules/@raggle-ai/local/dist/acp/index.js +14 -0
  85. package/node_modules/@raggle-ai/local/dist/acp/registry.d.ts +111 -0
  86. package/node_modules/@raggle-ai/local/dist/acp/registry.js +137 -0
  87. package/node_modules/@raggle-ai/local/dist/acp/sdk-types.d.ts +17 -0
  88. package/node_modules/@raggle-ai/local/dist/acp/sdk-types.js +2 -0
  89. package/node_modules/@raggle-ai/local/dist/adapters/agent-instructions.d.ts +100 -0
  90. package/node_modules/@raggle-ai/local/dist/adapters/agent-instructions.js +286 -0
  91. package/node_modules/@raggle-ai/local/dist/adapters/application-open.d.ts +6 -0
  92. package/node_modules/@raggle-ai/local/dist/adapters/application-open.js +37 -0
  93. package/node_modules/@raggle-ai/local/dist/adapters/base-repository.d.ts +75 -0
  94. package/node_modules/@raggle-ai/local/dist/adapters/base-repository.js +469 -0
  95. package/node_modules/@raggle-ai/local/dist/adapters/git-changes.d.ts +2 -0
  96. package/node_modules/@raggle-ai/local/dist/adapters/git-changes.js +78 -0
  97. package/node_modules/@raggle-ai/local/dist/adapters/git-clone.d.ts +12 -0
  98. package/node_modules/@raggle-ai/local/dist/adapters/git-clone.js +162 -0
  99. package/node_modules/@raggle-ai/local/dist/adapters/git-repository.d.ts +17 -0
  100. package/node_modules/@raggle-ai/local/dist/adapters/git-repository.js +86 -0
  101. package/node_modules/@raggle-ai/local/dist/adapters/git-sync.d.ts +5 -0
  102. package/node_modules/@raggle-ai/local/dist/adapters/git-sync.js +45 -0
  103. package/node_modules/@raggle-ai/local/dist/adapters/github.d.ts +72 -0
  104. package/node_modules/@raggle-ai/local/dist/adapters/github.js +301 -0
  105. package/node_modules/@raggle-ai/local/dist/adapters/import.d.ts +86 -0
  106. package/node_modules/@raggle-ai/local/dist/adapters/import.js +239 -0
  107. package/node_modules/@raggle-ai/local/dist/adapters/init.d.ts +1 -0
  108. package/node_modules/@raggle-ai/local/dist/adapters/init.js +37 -0
  109. package/node_modules/@raggle-ai/local/dist/adapters/libsql-client.d.ts +11 -0
  110. package/node_modules/@raggle-ai/local/dist/adapters/libsql-client.js +18 -0
  111. package/node_modules/@raggle-ai/local/dist/adapters/linked-workspace.d.ts +32 -0
  112. package/node_modules/@raggle-ai/local/dist/adapters/linked-workspace.js +248 -0
  113. package/node_modules/@raggle-ai/local/dist/adapters/local-folder.d.ts +4 -0
  114. package/node_modules/@raggle-ai/local/dist/adapters/local-folder.js +17 -0
  115. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata-assets.d.ts +18 -0
  116. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata-assets.js +35 -0
  117. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata.d.ts +2 -0
  118. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata.js +64 -0
  119. package/node_modules/@raggle-ai/local/dist/adapters/macos-apps.d.ts +17 -0
  120. package/node_modules/@raggle-ai/local/dist/adapters/macos-apps.js +124 -0
  121. package/node_modules/@raggle-ai/local/dist/adapters/markdown-files.d.ts +3 -0
  122. package/node_modules/@raggle-ai/local/dist/adapters/markdown-files.js +161 -0
  123. package/node_modules/@raggle-ai/local/dist/adapters/opencode-local.d.ts +12 -0
  124. package/node_modules/@raggle-ai/local/dist/adapters/opencode-local.js +124 -0
  125. package/node_modules/@raggle-ai/local/dist/adapters/project-action-plugins.d.ts +3 -0
  126. package/node_modules/@raggle-ai/local/dist/adapters/project-action-plugins.js +24 -0
  127. package/node_modules/@raggle-ai/local/dist/adapters/project-display-name.d.ts +29 -0
  128. package/node_modules/@raggle-ai/local/dist/adapters/project-display-name.js +74 -0
  129. package/node_modules/@raggle-ai/local/dist/adapters/project-favorites.d.ts +22 -0
  130. package/node_modules/@raggle-ai/local/dist/adapters/project-favorites.js +63 -0
  131. package/node_modules/@raggle-ai/local/dist/adapters/project-feed-assets.d.ts +22 -0
  132. package/node_modules/@raggle-ai/local/dist/adapters/project-feed-assets.js +52 -0
  133. package/node_modules/@raggle-ai/local/dist/adapters/project-feed.d.ts +43 -0
  134. package/node_modules/@raggle-ai/local/dist/adapters/project-feed.js +141 -0
  135. package/node_modules/@raggle-ai/local/dist/adapters/project-icons.d.ts +3 -0
  136. package/node_modules/@raggle-ai/local/dist/adapters/project-icons.js +14 -0
  137. package/node_modules/@raggle-ai/local/dist/adapters/project-recents.d.ts +11 -0
  138. package/node_modules/@raggle-ai/local/dist/adapters/project-recents.js +36 -0
  139. package/node_modules/@raggle-ai/local/dist/adapters/project-source.d.ts +46 -0
  140. package/node_modules/@raggle-ai/local/dist/adapters/project-source.js +107 -0
  141. package/node_modules/@raggle-ai/local/dist/adapters/raggle-account-api.d.ts +25 -0
  142. package/node_modules/@raggle-ai/local/dist/adapters/raggle-account-api.js +62 -0
  143. package/node_modules/@raggle-ai/local/dist/adapters/relation-annotations-api.d.ts +72 -0
  144. package/node_modules/@raggle-ai/local/dist/adapters/relation-annotations-api.js +207 -0
  145. package/node_modules/@raggle-ai/local/dist/adapters/remote-repository-config.d.ts +19 -0
  146. package/node_modules/@raggle-ai/local/dist/adapters/remote-repository-config.js +71 -0
  147. package/node_modules/@raggle-ai/local/dist/adapters/session-resolvers.d.ts +8 -0
  148. package/node_modules/@raggle-ai/local/dist/adapters/session-resolvers.js +225 -0
  149. package/node_modules/@raggle-ai/local/dist/adapters/turso-project-source.d.ts +22 -0
  150. package/node_modules/@raggle-ai/local/dist/adapters/turso-project-source.js +579 -0
  151. package/node_modules/@raggle-ai/local/dist/adapters/turso-provider.d.ts +17 -0
  152. package/node_modules/@raggle-ai/local/dist/adapters/turso-provider.js +103 -0
  153. package/node_modules/@raggle-ai/local/dist/adapters/user-project-order.d.ts +2 -0
  154. package/node_modules/@raggle-ai/local/dist/adapters/user-project-order.js +19 -0
  155. package/node_modules/@raggle-ai/local/dist/adapters/user-settings.d.ts +162 -0
  156. package/node_modules/@raggle-ai/local/dist/adapters/user-settings.js +398 -0
  157. package/node_modules/@raggle-ai/local/dist/adapters/workspace-discovery.d.ts +7 -0
  158. package/node_modules/@raggle-ai/local/dist/adapters/workspace-discovery.js +59 -0
  159. package/node_modules/@raggle-ai/local/dist/cache/clone-directory-repository-index.d.ts +23 -0
  160. package/node_modules/@raggle-ai/local/dist/cache/clone-directory-repository-index.js +186 -0
  161. package/node_modules/@raggle-ai/local/dist/cache/project-catalog.d.ts +40 -0
  162. package/node_modules/@raggle-ai/local/dist/cache/project-catalog.js +174 -0
  163. package/node_modules/@raggle-ai/local/dist/cache/project-icon-cache.d.ts +11 -0
  164. package/node_modules/@raggle-ai/local/dist/cache/project-icon-cache.js +82 -0
  165. package/node_modules/@raggle-ai/local/dist/cache/project-state-cache.d.ts +12 -0
  166. package/node_modules/@raggle-ai/local/dist/cache/project-state-cache.js +47 -0
  167. package/node_modules/@raggle-ai/local/dist/core/agent-instructions-settings.d.ts +20 -0
  168. package/node_modules/@raggle-ai/local/dist/core/agent-instructions-settings.js +35 -0
  169. package/node_modules/@raggle-ai/local/dist/core/ai-chat-clients.d.ts +1 -0
  170. package/node_modules/@raggle-ai/local/dist/core/ai-chat-clients.js +17 -0
  171. package/node_modules/@raggle-ai/local/dist/core/application-open-target.d.ts +1 -0
  172. package/node_modules/@raggle-ai/local/dist/core/application-open-target.js +5 -0
  173. package/node_modules/@raggle-ai/local/dist/core/base-repository.d.ts +60 -0
  174. package/node_modules/@raggle-ai/local/dist/core/base-repository.js +2 -0
  175. package/node_modules/@raggle-ai/local/dist/core/catalog-project.d.ts +4 -0
  176. package/node_modules/@raggle-ai/local/dist/core/catalog-project.js +45 -0
  177. package/node_modules/@raggle-ai/local/dist/core/connected-projects.d.ts +52 -0
  178. package/node_modules/@raggle-ai/local/dist/core/connected-projects.js +440 -0
  179. package/node_modules/@raggle-ai/local/dist/core/generated/cli-commands.d.ts +28 -0
  180. package/node_modules/@raggle-ai/local/dist/core/generated/cli-commands.js +401 -0
  181. package/node_modules/@raggle-ai/local/dist/core/git-change.d.ts +9 -0
  182. package/node_modules/@raggle-ai/local/dist/core/git-change.js +2 -0
  183. package/node_modules/@raggle-ai/local/dist/core/indexed-search.d.ts +32 -0
  184. package/node_modules/@raggle-ai/local/dist/core/indexed-search.js +95 -0
  185. package/node_modules/@raggle-ai/local/dist/core/link.d.ts +176 -0
  186. package/node_modules/@raggle-ai/local/dist/core/link.js +740 -0
  187. package/node_modules/@raggle-ai/local/dist/core/live-project-search.d.ts +47 -0
  188. package/node_modules/@raggle-ai/local/dist/core/live-project-search.js +122 -0
  189. package/node_modules/@raggle-ai/local/dist/core/llm-context.d.ts +29 -0
  190. package/node_modules/@raggle-ai/local/dist/core/llm-context.js +352 -0
  191. package/node_modules/@raggle-ai/local/dist/core/local-metadata.d.ts +37 -0
  192. package/node_modules/@raggle-ai/local/dist/core/local-metadata.js +4 -0
  193. package/node_modules/@raggle-ai/local/dist/core/local-repository-candidate.d.ts +7 -0
  194. package/node_modules/@raggle-ai/local/dist/core/local-repository-candidate.js +43 -0
  195. package/node_modules/@raggle-ai/local/dist/core/logging.d.ts +6 -0
  196. package/node_modules/@raggle-ai/local/dist/core/logging.js +37 -0
  197. package/node_modules/@raggle-ai/local/dist/core/markdown-file.d.ts +20 -0
  198. package/node_modules/@raggle-ai/local/dist/core/markdown-file.js +2 -0
  199. package/node_modules/@raggle-ai/local/dist/core/open-in.d.ts +18 -0
  200. package/node_modules/@raggle-ai/local/dist/core/open-in.js +37 -0
  201. package/node_modules/@raggle-ai/local/dist/core/personal-relations-sync.d.ts +27 -0
  202. package/node_modules/@raggle-ai/local/dist/core/personal-relations-sync.js +231 -0
  203. package/node_modules/@raggle-ai/local/dist/core/personal-relations.d.ts +34 -0
  204. package/node_modules/@raggle-ai/local/dist/core/personal-relations.js +128 -0
  205. package/node_modules/@raggle-ai/local/dist/core/project-action-config-source.d.ts +2 -0
  206. package/node_modules/@raggle-ai/local/dist/core/project-action-config-source.js +161 -0
  207. package/node_modules/@raggle-ai/local/dist/core/project-actions.d.ts +11 -0
  208. package/node_modules/@raggle-ai/local/dist/core/project-actions.js +2 -0
  209. package/node_modules/@raggle-ai/local/dist/core/project-add.d.ts +20 -0
  210. package/node_modules/@raggle-ai/local/dist/core/project-add.js +119 -0
  211. package/node_modules/@raggle-ai/local/dist/core/project-cache-record.d.ts +43 -0
  212. package/node_modules/@raggle-ai/local/dist/core/project-cache-record.js +85 -0
  213. package/node_modules/@raggle-ai/local/dist/core/project-emoji-preferences.d.ts +2 -0
  214. package/node_modules/@raggle-ai/local/dist/core/project-emoji-preferences.js +10 -0
  215. package/node_modules/@raggle-ai/local/dist/core/project-emoji.d.ts +15 -0
  216. package/node_modules/@raggle-ai/local/dist/core/project-emoji.js +117 -0
  217. package/node_modules/@raggle-ai/local/dist/core/project-instruction.d.ts +3 -0
  218. package/node_modules/@raggle-ai/local/dist/core/project-instruction.js +16 -0
  219. package/node_modules/@raggle-ai/local/dist/core/project-metadata-hydration.d.ts +11 -0
  220. package/node_modules/@raggle-ai/local/dist/core/project-metadata-hydration.js +17 -0
  221. package/node_modules/@raggle-ai/local/dist/core/project-metadata.d.ts +4 -0
  222. package/node_modules/@raggle-ai/local/dist/core/project-metadata.js +72 -0
  223. package/node_modules/@raggle-ai/local/dist/core/project-presentation.d.ts +14 -0
  224. package/node_modules/@raggle-ai/local/dist/core/project-presentation.js +33 -0
  225. package/node_modules/@raggle-ai/local/dist/core/project-remote.d.ts +3 -0
  226. package/node_modules/@raggle-ai/local/dist/core/project-remote.js +45 -0
  227. package/node_modules/@raggle-ai/local/dist/core/project-schema.d.ts +126 -0
  228. package/node_modules/@raggle-ai/local/dist/core/project-schema.js +10 -0
  229. package/node_modules/@raggle-ai/local/dist/core/project-source-settings.d.ts +19 -0
  230. package/node_modules/@raggle-ai/local/dist/core/project-source-settings.js +57 -0
  231. package/node_modules/@raggle-ai/local/dist/core/project-store-add.d.ts +21 -0
  232. package/node_modules/@raggle-ai/local/dist/core/project-store-add.js +36 -0
  233. package/node_modules/@raggle-ai/local/dist/core/project-subpaths.d.ts +16 -0
  234. package/node_modules/@raggle-ai/local/dist/core/project-subpaths.js +37 -0
  235. package/node_modules/@raggle-ai/local/dist/core/raggle-deep-link.d.ts +1 -0
  236. package/node_modules/@raggle-ai/local/dist/core/raggle-deep-link.js +12 -0
  237. package/node_modules/@raggle-ai/local/dist/core/relation-commands.d.ts +32 -0
  238. package/node_modules/@raggle-ai/local/dist/core/relation-commands.js +111 -0
  239. package/node_modules/@raggle-ai/local/dist/core/relation-depth.d.ts +3 -0
  240. package/node_modules/@raggle-ai/local/dist/core/relation-depth.js +5 -0
  241. package/node_modules/@raggle-ai/local/dist/core/remote-connection-code.d.ts +17 -0
  242. package/node_modules/@raggle-ai/local/dist/core/remote-connection-code.js +113 -0
  243. package/node_modules/@raggle-ai/local/dist/core/repository-subpaths.d.ts +6 -0
  244. package/node_modules/@raggle-ai/local/dist/core/repository-subpaths.js +54 -0
  245. package/node_modules/@raggle-ai/local/dist/core/search.d.ts +151 -0
  246. package/node_modules/@raggle-ai/local/dist/core/search.js +297 -0
  247. package/node_modules/@raggle-ai/local/dist/core/skills.d.ts +21 -0
  248. package/node_modules/@raggle-ai/local/dist/core/skills.js +117 -0
  249. package/node_modules/@raggle-ai/local/dist/core/types.d.ts +47 -0
  250. package/node_modules/@raggle-ai/local/dist/core/types.js +2 -0
  251. package/node_modules/@raggle-ai/local/dist/core/user-projects.d.ts +17 -0
  252. package/node_modules/@raggle-ai/local/dist/core/user-projects.js +317 -0
  253. package/node_modules/@raggle-ai/local/dist/discovery/markdown-files.d.ts +8 -0
  254. package/node_modules/@raggle-ai/local/dist/discovery/markdown-files.js +27 -0
  255. package/node_modules/@raggle-ai/local/dist/discovery/project-folders.d.ts +5 -0
  256. package/node_modules/@raggle-ai/local/dist/discovery/project-folders.js +61 -0
  257. package/node_modules/@raggle-ai/local/dist/discovery/scanner.d.ts +30 -0
  258. package/node_modules/@raggle-ai/local/dist/discovery/scanner.js +68 -0
  259. package/node_modules/@raggle-ai/local/dist/folder-metadata/assets.d.ts +6 -0
  260. package/node_modules/@raggle-ai/local/dist/folder-metadata/assets.js +39 -0
  261. package/node_modules/@raggle-ai/local/dist/folder-metadata/icons.d.ts +11 -0
  262. package/node_modules/@raggle-ai/local/dist/folder-metadata/icons.js +65 -0
  263. package/node_modules/@raggle-ai/local/dist/folder-metadata/index.d.ts +2 -0
  264. package/node_modules/@raggle-ai/local/dist/folder-metadata/index.js +9 -0
  265. package/node_modules/@raggle-ai/local/dist/folder-metadata/resolve.d.ts +14 -0
  266. package/node_modules/@raggle-ai/local/dist/folder-metadata/resolve.js +52 -0
  267. package/node_modules/@raggle-ai/local/dist/generated/project-emoji.json +1 -0
  268. package/node_modules/@raggle-ai/local/dist/index.d.ts +84 -0
  269. package/node_modules/@raggle-ai/local/dist/index.js +435 -0
  270. package/node_modules/@raggle-ai/local/dist/mcp/generated/handlers.d.ts +92 -0
  271. package/node_modules/@raggle-ai/local/dist/mcp/generated/handlers.js +108 -0
  272. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-client.d.ts +64 -0
  273. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-client.js +91 -0
  274. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/index.d.ts +15 -0
  275. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/index.js +31 -0
  276. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/match.d.ts +12 -0
  277. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/match.js +9 -0
  278. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectGet200.d.ts +12 -0
  279. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectGet200.js +2 -0
  280. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectList200.d.ts +13 -0
  281. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectList200.js +2 -0
  282. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200.d.ts +14 -0
  283. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200.js +2 -0
  284. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200ItemsItem.d.ts +12 -0
  285. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200ItemsItem.js +2 -0
  286. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearchParams.d.ts +20 -0
  287. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearchParams.js +9 -0
  288. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceProject.d.ts +19 -0
  289. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceProject.js +9 -0
  290. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceVersion200.d.ts +12 -0
  291. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceVersion200.js +9 -0
  292. package/node_modules/@raggle-ai/local/dist/mcp/generated/server.d.ts +8 -0
  293. package/node_modules/@raggle-ai/local/dist/mcp/generated/server.js +48 -0
  294. package/node_modules/@raggle-ai/local/dist/mcp/generated/tool-schemas.zod.d.ts +17 -0
  295. package/node_modules/@raggle-ai/local/dist/mcp/generated/tool-schemas.zod.js +58 -0
  296. package/node_modules/@raggle-ai/local/dist/mcp/scout-mcp-server.d.ts +6 -0
  297. package/node_modules/@raggle-ai/local/dist/mcp/scout-mcp-server.js +29 -0
  298. package/node_modules/@raggle-ai/local/dist/native/index.d.ts +396 -0
  299. package/node_modules/@raggle-ai/local/dist/native/index.js +766 -0
  300. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.darwin-arm64.node +0 -0
  301. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.darwin-x64.node +0 -0
  302. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.linux-x64-gnu.node +0 -0
  303. package/node_modules/@raggle-ai/local/dist/native-bridge.d.ts +383 -0
  304. package/node_modules/@raggle-ai/local/dist/native-bridge.js +306 -0
  305. package/node_modules/@raggle-ai/local/dist/native.d.ts +1 -0
  306. package/node_modules/@raggle-ai/local/dist/native.js +10 -0
  307. package/node_modules/@raggle-ai/local/dist/search/index.d.ts +3 -0
  308. package/node_modules/@raggle-ai/local/dist/search/index.js +23 -0
  309. package/node_modules/@raggle-ai/local/dist/service/client.d.ts +2 -0
  310. package/node_modules/@raggle-ai/local/dist/service/client.js +18 -0
  311. package/node_modules/@raggle-ai/local/dist/service/generated/client.d.ts +64 -0
  312. package/node_modules/@raggle-ai/local/dist/service/generated/client.js +84 -0
  313. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/index.d.ts +15 -0
  314. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/index.js +31 -0
  315. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/match.d.ts +12 -0
  316. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/match.js +9 -0
  317. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectGet200.d.ts +12 -0
  318. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectGet200.js +2 -0
  319. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectList200.d.ts +13 -0
  320. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectList200.js +2 -0
  321. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200.d.ts +14 -0
  322. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200.js +2 -0
  323. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200ItemsItem.d.ts +12 -0
  324. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200ItemsItem.js +2 -0
  325. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearchParams.d.ts +20 -0
  326. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearchParams.js +9 -0
  327. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceProject.d.ts +19 -0
  328. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceProject.js +9 -0
  329. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceVersion200.d.ts +12 -0
  330. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceVersion200.js +9 -0
  331. package/node_modules/@raggle-ai/local/dist/service/scout-service.d.ts +17 -0
  332. package/node_modules/@raggle-ai/local/dist/service/scout-service.js +196 -0
  333. package/node_modules/@raggle-ai/local/dist/sessions/create.d.ts +7 -0
  334. package/node_modules/@raggle-ai/local/dist/sessions/create.js +28 -0
  335. package/node_modules/@raggle-ai/local/dist/sessions/index.d.ts +48 -0
  336. package/node_modules/@raggle-ai/local/dist/sessions/index.js +686 -0
  337. package/node_modules/@raggle-ai/local/dist/sessions/resume.d.ts +74 -0
  338. package/node_modules/@raggle-ai/local/dist/sessions/resume.js +96 -0
  339. package/node_modules/@raggle-ai/local/package.json +111 -0
  340. package/node_modules/@raggle-ai/local/schemas/cli-commands.json +358 -0
  341. package/node_modules/@raggle-ai/local/schemas/config.json +473 -0
  342. package/node_modules/@raggle-ai/local/schemas/scout-service-openapi.json +189 -0
  343. package/node_modules/@raggle-ai/local/schemas/settings.json +383 -0
  344. package/node_modules/zod/LICENSE +21 -0
  345. package/node_modules/zod/README.md +191 -0
  346. package/node_modules/zod/index.cjs +33 -0
  347. package/node_modules/zod/index.d.cts +4 -0
  348. package/node_modules/zod/index.d.ts +4 -0
  349. package/node_modules/zod/index.js +4 -0
  350. package/node_modules/zod/locales/index.cjs +17 -0
  351. package/node_modules/zod/locales/index.d.cts +1 -0
  352. package/node_modules/zod/locales/index.d.ts +1 -0
  353. package/node_modules/zod/locales/index.js +1 -0
  354. package/node_modules/zod/locales/package.json +7 -0
  355. package/node_modules/zod/mini/index.cjs +32 -0
  356. package/node_modules/zod/mini/index.d.cts +3 -0
  357. package/node_modules/zod/mini/index.d.ts +3 -0
  358. package/node_modules/zod/mini/index.js +3 -0
  359. package/node_modules/zod/mini/package.json +7 -0
  360. package/node_modules/zod/package.json +135 -0
  361. package/node_modules/zod/src/index.ts +4 -0
  362. package/node_modules/zod/src/locales/index.ts +1 -0
  363. package/node_modules/zod/src/mini/index.ts +3 -0
  364. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  365. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  366. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  367. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  368. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  369. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  370. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  371. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  372. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  373. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  374. package/node_modules/zod/src/v3/errors.ts +13 -0
  375. package/node_modules/zod/src/v3/external.ts +6 -0
  376. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  377. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  378. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  379. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  380. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  381. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  382. package/node_modules/zod/src/v3/index.ts +4 -0
  383. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  384. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  385. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  386. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  387. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  388. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  389. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  390. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  391. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  392. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  393. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  394. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  395. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  396. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  397. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  398. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  399. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  400. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  401. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  402. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  403. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  404. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  405. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  406. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  407. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  408. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  409. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  410. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  411. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  412. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  413. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  414. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  415. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  416. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  417. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  418. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  419. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  420. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  421. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  422. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  423. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  424. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  425. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  426. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  427. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  428. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  429. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  430. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  431. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  432. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  433. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  434. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  435. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  436. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  437. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  438. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  439. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  440. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  441. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  442. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  443. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  444. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  445. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  446. package/node_modules/zod/src/v3/types.ts +5138 -0
  447. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  448. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  449. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  450. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  451. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  452. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  453. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  454. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  455. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  456. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  457. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  458. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  459. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  460. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  461. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  462. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  463. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  464. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  465. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  466. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  467. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  468. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  469. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  470. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  471. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  472. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  473. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  474. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  475. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  476. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  477. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  478. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  479. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  480. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  481. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  482. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  483. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  484. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  485. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  486. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  487. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  488. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  489. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  490. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  491. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  492. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  493. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  494. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  495. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  496. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  497. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  498. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  499. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  500. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  501. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  502. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  503. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  504. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  505. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  506. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  507. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  508. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  509. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  510. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  511. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  512. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  513. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  514. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  515. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  516. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  517. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  518. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  519. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  520. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  521. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  522. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  523. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  524. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  525. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  526. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  527. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  528. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  529. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  530. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  531. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  532. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  533. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  534. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  535. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  536. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  537. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  538. package/node_modules/zod/src/v4/core/config.ts +15 -0
  539. package/node_modules/zod/src/v4/core/core.ts +153 -0
  540. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  541. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  542. package/node_modules/zod/src/v4/core/index.ts +16 -0
  543. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  544. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  545. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  546. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  547. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  548. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  549. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  550. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  551. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  552. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  553. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  554. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  555. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  556. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  557. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  558. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  559. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  560. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  561. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  562. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  563. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  564. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  565. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  566. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  567. package/node_modules/zod/src/v4/core/util.ts +983 -0
  568. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  569. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  570. package/node_modules/zod/src/v4/index.ts +4 -0
  571. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  572. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  573. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  574. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  575. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  576. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  577. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  578. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  579. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  580. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  581. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  582. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  583. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  584. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  585. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  586. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  587. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  588. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  589. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  590. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  591. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  592. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  593. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  594. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  595. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  596. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  597. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  598. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  599. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  600. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  601. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  602. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  603. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  604. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  605. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  606. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  607. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  608. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  609. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  610. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  611. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  612. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  613. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  614. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  615. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  616. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  617. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  618. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  619. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  620. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  621. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  622. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  623. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  624. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  625. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  626. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  627. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  628. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  629. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  630. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  631. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  632. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  633. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  634. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  635. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  636. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  637. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  638. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  639. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  640. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  641. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  642. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  643. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  644. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  645. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  646. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  647. package/node_modules/zod/v3/ZodError.cjs +138 -0
  648. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  649. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  650. package/node_modules/zod/v3/ZodError.js +133 -0
  651. package/node_modules/zod/v3/errors.cjs +17 -0
  652. package/node_modules/zod/v3/errors.d.cts +5 -0
  653. package/node_modules/zod/v3/errors.d.ts +5 -0
  654. package/node_modules/zod/v3/errors.js +9 -0
  655. package/node_modules/zod/v3/external.cjs +22 -0
  656. package/node_modules/zod/v3/external.d.cts +6 -0
  657. package/node_modules/zod/v3/external.d.ts +6 -0
  658. package/node_modules/zod/v3/external.js +6 -0
  659. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  660. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  661. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  662. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  663. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  664. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  665. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  666. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  667. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  668. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  669. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  670. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  671. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  672. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  673. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  674. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  675. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  676. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  677. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  678. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  679. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  680. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  681. package/node_modules/zod/v3/helpers/util.js +133 -0
  682. package/node_modules/zod/v3/index.cjs +33 -0
  683. package/node_modules/zod/v3/index.d.cts +4 -0
  684. package/node_modules/zod/v3/index.d.ts +4 -0
  685. package/node_modules/zod/v3/index.js +4 -0
  686. package/node_modules/zod/v3/locales/en.cjs +112 -0
  687. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  688. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  689. package/node_modules/zod/v3/locales/en.js +109 -0
  690. package/node_modules/zod/v3/package.json +7 -0
  691. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  692. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  693. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  694. package/node_modules/zod/v3/standard-schema.js +1 -0
  695. package/node_modules/zod/v3/types.cjs +3777 -0
  696. package/node_modules/zod/v3/types.d.cts +1034 -0
  697. package/node_modules/zod/v3/types.d.ts +1034 -0
  698. package/node_modules/zod/v3/types.js +3695 -0
  699. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  700. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  701. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  702. package/node_modules/zod/v4/classic/checks.js +1 -0
  703. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  704. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  705. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  706. package/node_modules/zod/v4/classic/coerce.js +17 -0
  707. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  708. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  709. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  710. package/node_modules/zod/v4/classic/compat.js +31 -0
  711. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  712. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  713. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  714. package/node_modules/zod/v4/classic/errors.js +48 -0
  715. package/node_modules/zod/v4/classic/external.cjs +73 -0
  716. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  717. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  718. package/node_modules/zod/v4/classic/external.js +20 -0
  719. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  720. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  721. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  722. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  723. package/node_modules/zod/v4/classic/index.cjs +33 -0
  724. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  725. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  726. package/node_modules/zod/v4/classic/index.js +4 -0
  727. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  728. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  729. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  730. package/node_modules/zod/v4/classic/iso.js +30 -0
  731. package/node_modules/zod/v4/classic/package.json +7 -0
  732. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  733. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  734. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  735. package/node_modules/zod/v4/classic/parse.js +15 -0
  736. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  737. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  738. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  739. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  740. package/node_modules/zod/v4/core/api.cjs +1227 -0
  741. package/node_modules/zod/v4/core/api.d.cts +325 -0
  742. package/node_modules/zod/v4/core/api.d.ts +325 -0
  743. package/node_modules/zod/v4/core/api.js +1087 -0
  744. package/node_modules/zod/v4/core/checks.cjs +601 -0
  745. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  746. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  747. package/node_modules/zod/v4/core/checks.js +575 -0
  748. package/node_modules/zod/v4/core/core.cjs +85 -0
  749. package/node_modules/zod/v4/core/core.d.cts +70 -0
  750. package/node_modules/zod/v4/core/core.d.ts +70 -0
  751. package/node_modules/zod/v4/core/core.js +78 -0
  752. package/node_modules/zod/v4/core/doc.cjs +39 -0
  753. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  754. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  755. package/node_modules/zod/v4/core/doc.js +35 -0
  756. package/node_modules/zod/v4/core/errors.cjs +216 -0
  757. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  758. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  759. package/node_modules/zod/v4/core/errors.js +185 -0
  760. package/node_modules/zod/v4/core/index.cjs +47 -0
  761. package/node_modules/zod/v4/core/index.d.cts +16 -0
  762. package/node_modules/zod/v4/core/index.d.ts +16 -0
  763. package/node_modules/zod/v4/core/index.js +16 -0
  764. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  765. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  766. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  767. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  768. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  769. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  770. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  771. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  772. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  773. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  774. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  775. package/node_modules/zod/v4/core/json-schema.js +1 -0
  776. package/node_modules/zod/v4/core/package.json +7 -0
  777. package/node_modules/zod/v4/core/parse.cjs +131 -0
  778. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  779. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  780. package/node_modules/zod/v4/core/parse.js +93 -0
  781. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  782. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  783. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  784. package/node_modules/zod/v4/core/regexes.js +139 -0
  785. package/node_modules/zod/v4/core/registries.cjs +56 -0
  786. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  787. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  788. package/node_modules/zod/v4/core/registries.js +51 -0
  789. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  790. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  791. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  792. package/node_modules/zod/v4/core/schemas.js +2239 -0
  793. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  794. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  795. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  796. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  797. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  798. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  799. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  800. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  801. package/node_modules/zod/v4/core/util.cjs +734 -0
  802. package/node_modules/zod/v4/core/util.d.cts +200 -0
  803. package/node_modules/zod/v4/core/util.d.ts +200 -0
  804. package/node_modules/zod/v4/core/util.js +674 -0
  805. package/node_modules/zod/v4/core/versions.cjs +8 -0
  806. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  807. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  808. package/node_modules/zod/v4/core/versions.js +5 -0
  809. package/node_modules/zod/v4/index.cjs +22 -0
  810. package/node_modules/zod/v4/index.d.cts +3 -0
  811. package/node_modules/zod/v4/index.d.ts +3 -0
  812. package/node_modules/zod/v4/index.js +3 -0
  813. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  814. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  815. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  816. package/node_modules/zod/v4/locales/ar.js +106 -0
  817. package/node_modules/zod/v4/locales/az.cjs +132 -0
  818. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  819. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  820. package/node_modules/zod/v4/locales/az.js +105 -0
  821. package/node_modules/zod/v4/locales/be.cjs +183 -0
  822. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  823. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  824. package/node_modules/zod/v4/locales/be.js +156 -0
  825. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  826. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  827. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  828. package/node_modules/zod/v4/locales/bg.js +120 -0
  829. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  830. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  831. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  832. package/node_modules/zod/v4/locales/ca.js +107 -0
  833. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  834. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  835. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  836. package/node_modules/zod/v4/locales/cs.js +111 -0
  837. package/node_modules/zod/v4/locales/da.cjs +142 -0
  838. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  839. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  840. package/node_modules/zod/v4/locales/da.js +115 -0
  841. package/node_modules/zod/v4/locales/de.cjs +135 -0
  842. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  843. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  844. package/node_modules/zod/v4/locales/de.js +108 -0
  845. package/node_modules/zod/v4/locales/el.cjs +136 -0
  846. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  847. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  848. package/node_modules/zod/v4/locales/el.js +109 -0
  849. package/node_modules/zod/v4/locales/en.cjs +140 -0
  850. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  851. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  852. package/node_modules/zod/v4/locales/en.js +113 -0
  853. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  854. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  855. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  856. package/node_modules/zod/v4/locales/eo.js +109 -0
  857. package/node_modules/zod/v4/locales/es.cjs +159 -0
  858. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  859. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  860. package/node_modules/zod/v4/locales/es.js +132 -0
  861. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  862. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  863. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  864. package/node_modules/zod/v4/locales/fa.js +114 -0
  865. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  866. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  867. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  868. package/node_modules/zod/v4/locales/fi.js +112 -0
  869. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  870. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  871. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  872. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  873. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  874. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  875. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  876. package/node_modules/zod/v4/locales/fr.js +125 -0
  877. package/node_modules/zod/v4/locales/he.cjs +241 -0
  878. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  879. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  880. package/node_modules/zod/v4/locales/he.js +214 -0
  881. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  882. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  883. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  884. package/node_modules/zod/v4/locales/hr.js +122 -0
  885. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  886. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  887. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  888. package/node_modules/zod/v4/locales/hu.js +108 -0
  889. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  890. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  891. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  892. package/node_modules/zod/v4/locales/hy.js +147 -0
  893. package/node_modules/zod/v4/locales/id.cjs +133 -0
  894. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  895. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  896. package/node_modules/zod/v4/locales/id.js +106 -0
  897. package/node_modules/zod/v4/locales/index.cjs +111 -0
  898. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  899. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  900. package/node_modules/zod/v4/locales/index.js +52 -0
  901. package/node_modules/zod/v4/locales/is.cjs +136 -0
  902. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  903. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  904. package/node_modules/zod/v4/locales/is.js +109 -0
  905. package/node_modules/zod/v4/locales/it.cjs +135 -0
  906. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  907. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  908. package/node_modules/zod/v4/locales/it.js +108 -0
  909. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  910. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  911. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  912. package/node_modules/zod/v4/locales/ja.js +107 -0
  913. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  914. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  915. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  916. package/node_modules/zod/v4/locales/ka.js +112 -0
  917. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  918. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  919. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  920. package/node_modules/zod/v4/locales/kh.js +5 -0
  921. package/node_modules/zod/v4/locales/km.cjs +137 -0
  922. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  923. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  924. package/node_modules/zod/v4/locales/km.js +110 -0
  925. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  926. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  927. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  928. package/node_modules/zod/v4/locales/ko.js +111 -0
  929. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  930. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  931. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  932. package/node_modules/zod/v4/locales/lt.js +203 -0
  933. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  934. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  935. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  936. package/node_modules/zod/v4/locales/mk.js +109 -0
  937. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  938. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  939. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  940. package/node_modules/zod/v4/locales/ms.js +107 -0
  941. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  942. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  943. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  944. package/node_modules/zod/v4/locales/nl.js +110 -0
  945. package/node_modules/zod/v4/locales/no.cjs +135 -0
  946. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  947. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  948. package/node_modules/zod/v4/locales/no.js +108 -0
  949. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  950. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  951. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  952. package/node_modules/zod/v4/locales/ota.js +109 -0
  953. package/node_modules/zod/v4/locales/package.json +7 -0
  954. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  955. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  956. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  957. package/node_modules/zod/v4/locales/pl.js +109 -0
  958. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  959. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  960. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  961. package/node_modules/zod/v4/locales/ps.js +114 -0
  962. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  963. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  964. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  965. package/node_modules/zod/v4/locales/pt.js +108 -0
  966. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  967. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  968. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  969. package/node_modules/zod/v4/locales/ro.js +119 -0
  970. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  971. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  972. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  973. package/node_modules/zod/v4/locales/ru.js +156 -0
  974. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  975. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  976. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  977. package/node_modules/zod/v4/locales/sl.js +109 -0
  978. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  979. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  980. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  981. package/node_modules/zod/v4/locales/sv.js +110 -0
  982. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  983. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  984. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  985. package/node_modules/zod/v4/locales/ta.js +110 -0
  986. package/node_modules/zod/v4/locales/th.cjs +137 -0
  987. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  988. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  989. package/node_modules/zod/v4/locales/th.js +110 -0
  990. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  991. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  992. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  993. package/node_modules/zod/v4/locales/tr.js +105 -0
  994. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  995. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  996. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  997. package/node_modules/zod/v4/locales/ua.js +5 -0
  998. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  999. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1000. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1001. package/node_modules/zod/v4/locales/uk.js +108 -0
  1002. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  1003. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1004. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1005. package/node_modules/zod/v4/locales/ur.js +110 -0
  1006. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  1007. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1008. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1009. package/node_modules/zod/v4/locales/uz.js +110 -0
  1010. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  1011. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1012. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1013. package/node_modules/zod/v4/locales/vi.js +108 -0
  1014. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  1015. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1016. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1017. package/node_modules/zod/v4/locales/yo.js +107 -0
  1018. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  1019. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1020. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1021. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  1022. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  1023. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1024. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1025. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  1026. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  1027. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1028. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1029. package/node_modules/zod/v4/mini/checks.js +1 -0
  1030. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  1031. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1032. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1033. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1034. package/node_modules/zod/v4/mini/external.cjs +63 -0
  1035. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  1036. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  1037. package/node_modules/zod/v4/mini/external.js +14 -0
  1038. package/node_modules/zod/v4/mini/index.cjs +32 -0
  1039. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1040. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1041. package/node_modules/zod/v4/mini/index.js +3 -0
  1042. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  1043. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1044. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1045. package/node_modules/zod/v4/mini/iso.js +34 -0
  1046. package/node_modules/zod/v4/mini/package.json +7 -0
  1047. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  1048. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1049. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1050. package/node_modules/zod/v4/mini/parse.js +1 -0
  1051. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  1052. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  1053. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  1054. package/node_modules/zod/v4/mini/schemas.js +961 -0
  1055. package/node_modules/zod/v4/package.json +7 -0
  1056. package/node_modules/zod/v4-mini/index.cjs +32 -0
  1057. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1058. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1059. package/node_modules/zod/v4-mini/index.js +3 -0
  1060. package/node_modules/zod/v4-mini/package.json +7 -0
  1061. package/package.json +22 -11
  1062. package/web/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  1063. package/web/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  1064. package/web/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  1065. package/web/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  1066. package/web/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  1067. package/web/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  1068. package/web/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  1069. package/web/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  1070. package/web/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  1071. package/web/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  1072. package/web/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  1073. package/web/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  1074. package/web/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  1075. package/web/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  1076. package/web/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  1077. package/web/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  1078. package/web/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  1079. package/web/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  1080. package/web/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  1081. package/web/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  1082. package/web/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  1083. package/web/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  1084. package/web/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  1085. package/web/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  1086. package/web/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  1087. package/web/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  1088. package/web/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  1089. package/web/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  1090. package/web/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  1091. package/web/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  1092. package/web/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  1093. package/web/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  1094. package/web/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  1095. package/web/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  1096. package/web/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  1097. package/web/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  1098. package/web/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  1099. package/web/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  1100. package/web/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  1101. package/web/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  1102. package/web/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  1103. package/web/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  1104. package/web/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  1105. package/web/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  1106. package/web/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  1107. package/web/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  1108. package/web/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  1109. package/web/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  1110. package/web/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  1111. package/web/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  1112. package/web/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  1113. package/web/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  1114. package/web/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  1115. package/web/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  1116. package/web/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  1117. package/web/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  1118. package/web/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  1119. package/web/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  1120. package/web/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  1121. package/web/assets/abnfDiagram-VRR7QNED-Nfq-O04D.js +1 -0
  1122. package/web/assets/app-CPSmsokP.js +2 -0
  1123. package/web/assets/app-options-XEWvevsz.js +25 -0
  1124. package/web/assets/app-view-header-BKZ90ToF.js +1 -0
  1125. package/web/assets/arc-DbpbZvCt.js +1 -0
  1126. package/web/assets/architectureDiagram-ZJ3FMSHR-qhRwPNcQ.js +36 -0
  1127. package/web/assets/arrow-left-CFeHb-Z1.js +1 -0
  1128. package/web/assets/ask-tray-D2YHtbPj.js +14 -0
  1129. package/web/assets/blockDiagram-677ZJIJ3-C56P3bGu.js +132 -0
  1130. package/web/assets/button-BJ7z-ZA7.js +1 -0
  1131. package/web/assets/c4Diagram-LMCZKHZV-Ey1M72zD.js +10 -0
  1132. package/web/assets/calendar-days-DWh2XMO2.js +1 -0
  1133. package/web/assets/channel-dSRp_qTo.js +1 -0
  1134. package/web/assets/chevron-down-C5oRtqbX.js +1 -0
  1135. package/web/assets/chevron-right-CsPtvh8C.js +1 -0
  1136. package/web/assets/chevron-up-DjpU6Pyv.js +1 -0
  1137. package/web/assets/chunk-2Q5K7J3B-a6isk9VU.js +1 -0
  1138. package/web/assets/chunk-32BRIVSS-uy4kdSLL.js +1 -0
  1139. package/web/assets/chunk-5VM5RSS4-oj2sBFd7.js +15 -0
  1140. package/web/assets/chunk-EX3LRPZG-Bzl1ukAi.js +231 -0
  1141. package/web/assets/chunk-JWPE2WC7-sUph7I_t.js +1 -0
  1142. package/web/assets/chunk-MOJQB5TN-C0ERSuVK.js +88 -0
  1143. package/web/assets/chunk-RYQCIY6F-Dyw1Hfwp.js +1 -0
  1144. package/web/assets/chunk-V7JOEXUC-DnSz22rb.js +206 -0
  1145. package/web/assets/chunk-VR4S4FIN-Bp2SNel7.js +1 -0
  1146. package/web/assets/chunk-XXDRQBXY-Dqtar746.js +1 -0
  1147. package/web/assets/classDiagram-OUVF2IWQ-B7B2zLzM.js +1 -0
  1148. package/web/assets/classDiagram-v2-EOCWNBFH-B7B2zLzM.js +1 -0
  1149. package/web/assets/client-CAudjYV9.js +34 -0
  1150. package/web/assets/client-Dn9-_Gm_.js +14 -0
  1151. package/web/assets/client-Dxrf2tyq.js +102 -0
  1152. package/web/assets/client-aFI2M4pE.js +53 -0
  1153. package/web/assets/collection-icon-TbOVyORG.js +1 -0
  1154. package/web/assets/collection-page-Du6FKkuU.js +10 -0
  1155. package/web/assets/command-C_g5E1Wx.js +38 -0
  1156. package/web/assets/copy-Ikmr6Iq2.js +1 -0
  1157. package/web/assets/copy-context-Cl1TE2PJ.js +1 -0
  1158. package/web/assets/cose-bilkent-JH36ORCC-Dx1VqMjj.js +1 -0
  1159. package/web/assets/cynefin-VYW2F7L2-SjhCWmIV.js +166 -0
  1160. package/web/assets/cynefinDiagram-TSTJHNR4-Dvqz2594.js +62 -0
  1161. package/web/assets/cytoscape.esm-D3_iZ_3b.js +321 -0
  1162. package/web/assets/dagre-VKFMJZFB-Ju2m2qXt.js +4 -0
  1163. package/web/assets/defaultLocale-C4B-KCzX.js +1 -0
  1164. package/web/assets/diagram-FQU43EPY-DsHKTt0k.js +3 -0
  1165. package/web/assets/diagram-G47NLZAW-DWHAcLkJ.js +24 -0
  1166. package/web/assets/diagram-NH7WQ7WH-uUMz46ZD.js +24 -0
  1167. package/web/assets/diagram-OA4YK3LP-BRjVzjdp.js +30 -0
  1168. package/web/assets/diagram-WEI45ONY-Cb-FhBpQ.js +41 -0
  1169. package/web/assets/document-DcjNSJCk.js +2 -0
  1170. package/web/assets/ebnfDiagram-CCIWWBDH-IhhxX3IB.js +1 -0
  1171. package/web/assets/entities-DUnx74kH.js +22 -0
  1172. package/web/assets/erDiagram-Q63AITRT-D1frgeWf.js +85 -0
  1173. package/web/assets/external-link-BXmSXqqF.js +1 -0
  1174. package/web/assets/file-renderer-BRZTrYx8.js +19 -0
  1175. package/web/assets/file-text-CiiSsCDq.js +1 -0
  1176. package/web/assets/file-viewer-C1wAeVDK.js +1 -0
  1177. package/web/assets/flowDiagram-23GEKE2U-BiPPM-FY.js +156 -0
  1178. package/web/assets/folder-activity-Cv1X2ezj.js +1 -0
  1179. package/web/assets/folder-image-AXBrHUcU.js +1 -0
  1180. package/web/assets/folder-landing-BhRg7hwn.js +54 -0
  1181. package/web/assets/folder-list-rIdszVde.js +1 -0
  1182. package/web/assets/folder-metadata-puTC5QqJ.js +2 -0
  1183. package/web/assets/folder-mobile-bar-DjjRQo3T.js +1 -0
  1184. package/web/assets/folder-plugin-view-BU_kzR8j.js +6 -0
  1185. package/web/assets/ganttDiagram-NO4QXBWP-CmEOlHD7.js +292 -0
  1186. package/web/assets/gitGraphDiagram-IHSO6WYX-tTjcpZpU.js +106 -0
  1187. package/web/assets/graph-BvS0Xx32.js +1 -0
  1188. package/web/assets/index-DS2Wmd9I.css +1 -0
  1189. package/web/assets/index-DgqzSeIR.js +1 -0
  1190. package/web/assets/index-DmrKjrlM.js +1 -0
  1191. package/web/assets/index-DnlTDqaa.js +1 -0
  1192. package/web/assets/index-DztTMDFz.js +2 -0
  1193. package/web/assets/index-eL1k96k8.js +41 -0
  1194. package/web/assets/index-kY75qc96.js +1 -0
  1195. package/web/assets/index-p38i_yyY.js +1 -0
  1196. package/web/assets/infoDiagram-FWYZ7A6U-Ok2sdbc1.js +2 -0
  1197. package/web/assets/init-Gi6I4Gst.js +1 -0
  1198. package/web/assets/ishikawaDiagram-FXEZZL3T-kPnM5psX.js +70 -0
  1199. package/web/assets/journeyDiagram-5HDEW3XC-BkoT0-45.js +139 -0
  1200. package/web/assets/kanban-definition-HUTT4EX6-xnm_eFoU.js +89 -0
  1201. package/web/assets/layout-D4ui-CWC.js +1 -0
  1202. package/web/assets/linear-CLZpgLH-.js +1 -0
  1203. package/web/assets/link-2-BWKA6t--.js +1 -0
  1204. package/web/assets/link-DC_1Z6Yy.js +11 -0
  1205. package/web/assets/linked-session-header-DJYWZ_-q.js +3 -0
  1206. package/web/assets/mail-2rCdIFul.js +1 -0
  1207. package/web/assets/map-7eTsl7HP.js +1 -0
  1208. package/web/assets/markdown-njUwQKsR.js +327 -0
  1209. package/web/assets/markdown-title-dncAYYiP.js +131 -0
  1210. package/web/assets/mermaid.core-Bvxj3RoN.js +308 -0
  1211. package/web/assets/mindmap-definition-LN4V7U3C-42Uoox79.js +96 -0
  1212. package/web/assets/notes-page-DIW6rgJp.js +10 -0
  1213. package/web/assets/ordinal-Cboi1Yqb.js +1 -0
  1214. package/web/assets/pegDiagram-2B236MQR-B-GZCw3w.js +1 -0
  1215. package/web/assets/pencil-8cobiSSq.js +1 -0
  1216. package/web/assets/pieDiagram-ENE6RG2P-DRmmssIB.js +39 -0
  1217. package/web/assets/plus-BHV2wJr7.js +1 -0
  1218. package/web/assets/popover-Cmmgj-MJ.js +9 -0
  1219. package/web/assets/project-search-dialog-B730oZ1S.js +43 -0
  1220. package/web/assets/quadrantDiagram-ABIIQ3AL-BfhVQ7V9.js +7 -0
  1221. package/web/assets/railroadDiagram-RFXS5EU6-DxKx7XRp.js +1 -0
  1222. package/web/assets/react-DZzLHL-l.js +9 -0
  1223. package/web/assets/requirementDiagram-TGXJPOKE-NUzj9fw1.js +84 -0
  1224. package/web/assets/sankeyDiagram-HTMAVEWB-Cy9OMnl-.js +40 -0
  1225. package/web/assets/search-BOHZTLC-.css +1 -0
  1226. package/web/assets/search-CvlYUkN6.js +2 -0
  1227. package/web/assets/select-1SvaKQsS.js +30 -0
  1228. package/web/assets/selection-popup-ntjycEVh.js +7 -0
  1229. package/web/assets/sequenceDiagram-DBY2YBRQ-CBNE9mzn.js +162 -0
  1230. package/web/assets/sizeCapture-X5ZJPWSS-S4HhfX0n.js +1 -0
  1231. package/web/assets/sparkles-CBhGREdc.js +1 -0
  1232. package/web/assets/stateDiagram-2N3HPSRC-BEw1Mheu.js +1 -0
  1233. package/web/assets/stateDiagram-v2-6OUMAXLB-BHtjl1iD.js +1 -0
  1234. package/web/assets/swimlanes-5IMT3BWC-DJ2aLWal.js +2 -0
  1235. package/web/assets/swimlanesDiagram-G3AALYLV-Z362aroZ.js +8 -0
  1236. package/web/assets/tanstack-CD46mJkU.js +1 -0
  1237. package/web/assets/timeline-definition-FHXFAJF6-vFDUVPCX.js +120 -0
  1238. package/web/assets/use-folder-filter-BbTUlXgG.js +1 -0
  1239. package/web/assets/utils-CwHGE3BB.js +1 -0
  1240. package/web/assets/vennDiagram-L72KCM5P-AsnhK2zW.js +34 -0
  1241. package/web/assets/view-context-D-fh9AbH.js +81 -0
  1242. package/web/assets/viewer-capabilities-CROIaoqh.js +1 -0
  1243. package/web/assets/wardleyDiagram-EHGQE667-Cj1wFbNV.js +78 -0
  1244. package/web/assets/x-BUeE--I4.js +1 -0
  1245. package/web/assets/xychartDiagram-FW5EYKEG-Bbvnutsm.js +7 -0
  1246. package/web/index.html +19 -0
  1247. package/web/providers/claude.svg +1 -0
  1248. package/web/providers/codex.svg +1 -0
  1249. package/web/providers/cursor.svg +1 -0
  1250. package/web/providers/opencode.svg +1 -0
  1251. package/web/providers/pi.svg +1 -0
  1252. package/dist/mcp/data.d.ts +0 -14
  1253. package/dist/mcp/data.js +0 -120
  1254. package/dist/schema/doctor.d.ts +0 -1
  1255. package/dist/schema/doctor.js +0 -69
  1256. package/dist/schema/documents.d.ts +0 -18
  1257. package/dist/schema/documents.js +0 -127
  1258. package/dist/schema/pointers.d.ts +0 -5
  1259. package/dist/schema/pointers.js +0 -48
  1260. package/dist/schema/types.d.ts +0 -36
  1261. package/dist/schema/validation.d.ts +0 -8
  1262. package/dist/schema/validation.js +0 -212
  1263. /package/{dist/schema/types.js → node_modules/zod/v3/helpers/enumUtil.js} +0 -0
@@ -0,0 +1,131 @@
1
+ const et=Symbol.for("yaml.alias"),He=Symbol.for("yaml.document"),J=Symbol.for("yaml.map"),Lt=Symbol.for("yaml.pair"),q=Symbol.for("yaml.scalar"),re=Symbol.for("yaml.seq"),P=Symbol.for("yaml.node.type"),oe=n=>!!n&&typeof n=="object"&&n[P]===et,_e=n=>!!n&&typeof n=="object"&&n[P]===He,ye=n=>!!n&&typeof n=="object"&&n[P]===J,$=n=>!!n&&typeof n=="object"&&n[P]===Lt,I=n=>!!n&&typeof n=="object"&&n[P]===q,be=n=>!!n&&typeof n=="object"&&n[P]===re;function E(n){if(n&&typeof n=="object")switch(n[P]){case J:case re:return!0}return!1}function L(n){if(n&&typeof n=="object")switch(n[P]){case et:case J:case q:case re:return!0}return!1}const $t=n=>(I(n)||E(n))&&!!n.anchor,Y=Symbol("break visit"),us=Symbol("skip children"),de=Symbol("remove node");function le(n,e){const t=hs(e);_e(n)?x(null,n.contents,t,Object.freeze([n]))===de&&(n.contents=null):x(null,n,t,Object.freeze([]))}le.BREAK=Y;le.SKIP=us;le.REMOVE=de;function x(n,e,t,s){const i=ds(n,e,t,s);if(L(i)||$(i))return ps(n,s,i),x(n,i,t,s);if(typeof i!="symbol"){if(E(e)){s=Object.freeze(s.concat(e));for(let r=0;r<e.items.length;++r){const o=x(r,e.items[r],t,s);if(typeof o=="number")r=o-1;else{if(o===Y)return Y;o===de&&(e.items.splice(r,1),r-=1)}}}else if($(e)){s=Object.freeze(s.concat(e));const r=x("key",e.key,t,s);if(r===Y)return Y;r===de&&(e.key=null);const o=x("value",e.value,t,s);if(o===Y)return Y;o===de&&(e.value=null)}}return i}function hs(n){return typeof n=="object"&&(n.Collection||n.Node||n.Value)?Object.assign({Alias:n.Node,Map:n.Node,Scalar:n.Node,Seq:n.Node},n.Value&&{Map:n.Value,Scalar:n.Value,Seq:n.Value},n.Collection&&{Map:n.Collection,Seq:n.Collection},n):n}function ds(n,e,t,s){if(typeof t=="function")return t(n,e,s);if(ye(e))return t.Map?.(n,e,s);if(be(e))return t.Seq?.(n,e,s);if($(e))return t.Pair?.(n,e,s);if(I(e))return t.Scalar?.(n,e,s);if(oe(e))return t.Alias?.(n,e,s)}function ps(n,e,t){const s=e[e.length-1];if(E(s))s.items[n]=t;else if($(s))n==="key"?s.key=t:s.value=t;else if(_e(s))s.contents=t;else{const i=oe(s)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const ms={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},gs=n=>n.replace(/[!,[\]{}]/g,e=>ms[e]);class _{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},_.defaultYaml,e),this.tags=Object.assign({},_.defaultTags,t)}clone(){const e=new _(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new _(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:_.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},_.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:_.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},_.defaultTags),this.atNextDocument=!1);const s=e.trim().split(/[ \t]+/),i=s.shift();switch(i){case"%TAG":{if(s.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),s.length<2))return!1;const[r,o]=s;return this.tags[r]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,s.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;const[r]=s;if(r==="1.1"||r==="1.2")return this.yaml.version=r,!0;{const o=/^\d+\.\d+$/.test(r);return t(6,`Unsupported YAML version ${r}`,o),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){const o=e.slice(2,-1);return o==="!"||o==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),o)}const[,s,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);const r=this.tags[s];if(r)try{return r+decodeURIComponent(i)}catch(o){return t(String(o)),null}return s==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,s]of Object.entries(this.tags))if(e.startsWith(s))return t+gs(e.substring(s.length));return e[0]==="!"?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],s=Object.entries(this.tags);let i;if(e&&s.length>0&&L(e.contents)){const r={};le(e.contents,(o,l)=>{L(l)&&l.tag&&(r[l.tag]=!0)}),i=Object.keys(r)}else i=[];for(const[r,o]of s)r==="!!"&&o==="tag:yaml.org,2002:"||(!e||i.some(l=>l.startsWith(o)))&&t.push(`%TAG ${r} ${o}`);return t.join(`
2
+ `)}}_.defaultYaml={explicit:!1,version:"1.2"};_.defaultTags={"!!":"tag:yaml.org,2002:"};function Ct(n){if(/[\x00-\x19\s,[\]{}]/.test(n)){const t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(n)}`;throw new Error(t)}return!0}function vt(n){const e=new Set;return le(n,{Value(t,s){s.anchor&&e.add(s.anchor)}}),e}function _t(n,e){for(let t=1;;++t){const s=`${n}${t}`;if(!e.has(s))return s}}function ys(n,e){const t=[],s=new Map;let i=null;return{onAnchor:r=>{t.push(r),i??(i=vt(n));const o=_t(e,i);return i.add(o),o},setAnchors:()=>{for(const r of t){const o=s.get(r);if(typeof o=="object"&&o.anchor&&(I(o.node)||E(o.node)))o.node.anchor=o.anchor;else{const l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=r,l}}},sourceObjects:s}}function Z(n,e,t,s){if(s&&typeof s=="object")if(Array.isArray(s))for(let i=0,r=s.length;i<r;++i){const o=s[i],l=Z(n,s,String(i),o);l===void 0?delete s[i]:l!==o&&(s[i]=l)}else if(s instanceof Map)for(const i of Array.from(s.keys())){const r=s.get(i),o=Z(n,s,i,r);o===void 0?s.delete(i):o!==r&&s.set(i,o)}else if(s instanceof Set)for(const i of Array.from(s)){const r=Z(n,s,i,i);r===void 0?s.delete(i):r!==i&&(s.delete(i),s.add(r))}else for(const[i,r]of Object.entries(s)){const o=Z(n,s,i,r);o===void 0?delete s[i]:o!==r&&(s[i]=o)}return n.call(e,t,s)}function K(n,e,t){if(Array.isArray(n))return n.map((s,i)=>K(s,String(i),t));if(n&&typeof n.toJSON=="function"){if(!t||!$t(n))return n.toJSON(e,t);const s={aliasCount:0,count:1,res:void 0};t.anchors.set(n,s),t.onCreate=r=>{s.res=r,delete t.onCreate};const i=n.toJSON(e,t);return t.onCreate&&t.onCreate(i),i}return typeof n=="bigint"&&!t?.keep?Number(n):n}class tt{constructor(e){Object.defineProperty(this,P,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:s,onAnchor:i,reviver:r}={}){if(!_e(e))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},l=K(this,"",o);if(typeof i=="function")for(const{count:a,res:c}of o.anchors.values())i(c,a);return typeof r=="function"?Z(r,{"":l},"",l):l}}class st extends tt{constructor(e){super(et),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){if(t?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let s;t?.aliasResolveCache?s=t.aliasResolveCache:(s=[],le(e,{Node:(r,o)=>{(oe(o)||$t(o))&&s.push(o)}}),t&&(t.aliasResolveCache=s));let i;for(const r of s){if(r===this)break;r.anchor===this.source&&(i=r)}return i}toJSON(e,t){if(!t)return{source:this.source};const{anchors:s,doc:i,maxAliasCount:r}=t,o=this.resolve(i,t);if(!o){const a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(a)}let l=s.get(o);if(l||(K(o,null,t),l=s.get(o)),l?.res===void 0){const a="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(a)}if(r>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=Ie(i,o,s)),l.count*l.aliasCount>r)){const a="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(a)}return l.res}toString(e,t,s){const i=`*${this.source}`;if(e){if(Ct(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const r=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(r)}if(e.implicitKey)return`${i} `}return i}}function Ie(n,e,t){if(oe(e)){const s=e.resolve(n),i=t&&s&&t.get(s);return i?i.count*i.aliasCount:0}else if(E(e)){let s=0;for(const i of e.items){const r=Ie(n,i,t);r>s&&(s=r)}return s}else if($(e)){const s=Ie(n,e.key,t),i=Ie(n,e.value,t);return Math.max(s,i)}return 1}const Bt=n=>!n||typeof n!="function"&&typeof n!="object";class O extends tt{constructor(e){super(q),this.value=e}toJSON(e,t){return t?.keep?this.value:K(this.value,e,t)}toString(){return String(this.value)}}O.BLOCK_FOLDED="BLOCK_FOLDED";O.BLOCK_LITERAL="BLOCK_LITERAL";O.PLAIN="PLAIN";O.QUOTE_DOUBLE="QUOTE_DOUBLE";O.QUOTE_SINGLE="QUOTE_SINGLE";const bs="tag:yaml.org,2002:";function ws(n,e,t){if(e){const s=t.filter(r=>r.tag===e),i=s.find(r=>!r.format)??s[0];if(!i)throw new Error(`Tag ${e} not found`);return i}return t.find(s=>s.identify?.(n)&&!s.format)}function me(n,e,t){if(_e(n)&&(n=n.contents),L(n))return n;if($(n)){const f=t.schema[J].createNode?.(t.schema,null,t);return f.items.push(n),f}(n instanceof String||n instanceof Number||n instanceof Boolean||typeof BigInt<"u"&&n instanceof BigInt)&&(n=n.valueOf());const{aliasDuplicateObjects:s,onAnchor:i,onTagObj:r,schema:o,sourceObjects:l}=t;let a;if(s&&n&&typeof n=="object"){if(a=l.get(n),a)return a.anchor??(a.anchor=i(n)),new st(a.anchor);a={anchor:null,node:null},l.set(n,a)}e?.startsWith("!!")&&(e=bs+e.slice(2));let c=ws(n,e,o.tags);if(!c){if(n&&typeof n.toJSON=="function"&&(n=n.toJSON()),!n||typeof n!="object"){const f=new O(n);return a&&(a.node=f),f}c=n instanceof Map?o[J]:Symbol.iterator in Object(n)?o[re]:o[J]}r&&(r(c),delete t.onTagObj);const d=c?.createNode?c.createNode(t.schema,n,t):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(t.schema,n,t):new O(n);return e?d.tag=e:c.default||(d.tag=c.tag),a&&(a.node=d),d}function $e(n,e,t){let s=t;for(let i=e.length-1;i>=0;--i){const r=e[i];if(typeof r=="number"&&Number.isInteger(r)&&r>=0){const o=[];o[r]=s,s=o}else s=new Map([[r,s]])}return me(s,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:n,sourceObjects:new Map})}const ue=n=>n==null||typeof n=="object"&&!!n[Symbol.iterator]().next().done;class Mt extends tt{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(s=>L(s)||$(s)?s.clone(e):s),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(ue(e))this.add(t);else{const[s,...i]=e,r=this.get(s,!0);if(E(r))r.addIn(i,t);else if(r===void 0&&this.schema)this.set(s,$e(this.schema,i,t));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}}deleteIn(e){const[t,...s]=e;if(s.length===0)return this.delete(t);const i=this.get(t,!0);if(E(i))return i.deleteIn(s);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(e,t){const[s,...i]=e,r=this.get(s,!0);return i.length===0?!t&&I(r)?r.value:r:E(r)?r.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!$(t))return!1;const s=t.value;return s==null||e&&I(s)&&s.value==null&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(e){const[t,...s]=e;if(s.length===0)return this.has(t);const i=this.get(t,!0);return E(i)?i.hasIn(s):!1}setIn(e,t){const[s,...i]=e;if(i.length===0)this.set(s,t);else{const r=this.get(s,!0);if(E(r))r.setIn(i,t);else if(r===void 0&&this.schema)this.set(s,$e(this.schema,i,t));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}}}const ks=n=>n.replace(/^(?!$)(?: $)?/gm,"#");function F(n,e){return/^\n+$/.test(n)?n.substring(1):e?n.replace(/^(?! *$)/gm,e):n}const G=(n,e,t)=>n.endsWith(`
3
+ `)?F(t,e):t.includes(`
4
+ `)?`
5
+ `+F(t,e):(n.endsWith(" ")?"":" ")+t,Kt="flow",We="block",Ee="quoted";function Be(n,e,t="flow",{indentAtStart:s,lineWidth:i=80,minContentWidth:r=20,onFold:o,onOverflow:l}={}){if(!i||i<0)return n;i<r&&(r=0);const a=Math.max(1+r,1+i-e.length);if(n.length<=a)return n;const c=[],d={};let f=i-e.length;typeof s=="number"&&(s>i-Math.max(2,r)?c.push(0):f=i-s);let u,m,g=!1,h=-1,p=-1,b=-1;t===We&&(h=gt(n,h,e.length),h!==-1&&(f=h+a));for(let k;k=n[h+=1];){if(t===Ee&&k==="\\"){switch(p=h,n[h+1]){case"x":h+=3;break;case"u":h+=5;break;case"U":h+=9;break;default:h+=1}b=h}if(k===`
6
+ `)t===We&&(h=gt(n,h,e.length)),f=h+e.length+a,u=void 0;else{if(k===" "&&m&&m!==" "&&m!==`
7
+ `&&m!==" "){const S=n[h+1];S&&S!==" "&&S!==`
8
+ `&&S!==" "&&(u=h)}if(h>=f)if(u)c.push(u),f=u+a,u=void 0;else if(t===Ee){for(;m===" "||m===" ";)m=k,k=n[h+=1],g=!0;const S=h>b+1?h-2:p-1;if(d[S])return n;c.push(S),d[S]=!0,f=S+a,u=void 0}else g=!0}m=k}if(g&&l&&l(),c.length===0)return n;o&&o();let w=n.slice(0,c[0]);for(let k=0;k<c.length;++k){const S=c[k],N=c[k+1]||n.length;S===0?w=`
9
+ ${e}${n.slice(0,N)}`:(t===Ee&&d[S]&&(w+=`${n[S]}\\`),w+=`
10
+ ${e}${n.slice(S+1,N)}`)}return w}function gt(n,e,t){let s=e,i=e+1,r=n[i];for(;r===" "||r===" ";)if(e<i+t)r=n[++e];else{do r=n[++e];while(r&&r!==`
11
+ `);s=e,i=e+1,r=n[i]}return s}const Me=(n,e)=>({indentAtStart:e?n.indent.length:n.indentAtStart,lineWidth:n.options.lineWidth,minContentWidth:n.options.minContentWidth}),Ke=n=>/^(%|---|\.\.\.)/m.test(n);function Ss(n,e,t){if(!e||e<0)return!1;const s=e-t,i=n.length;if(i<=s)return!1;for(let r=0,o=0;r<i;++r)if(n[r]===`
12
+ `){if(r-o>s)return!0;if(o=r+1,i-o<=s)return!1}return!0}function pe(n,e){const t=JSON.stringify(n);if(e.options.doubleQuotedAsJSON)return t;const{implicitKey:s}=e,i=e.options.doubleQuotedMinMultiLineLength,r=e.indent||(Ke(n)?" ":"");let o="",l=0;for(let a=0,c=t[a];c;c=t[++a])if(c===" "&&t[a+1]==="\\"&&t[a+2]==="n"&&(o+=t.slice(l,a)+"\\ ",a+=1,l=a,c="\\"),c==="\\")switch(t[a+1]){case"u":{o+=t.slice(l,a);const d=t.substr(a+2,4);switch(d){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:d.substr(0,2)==="00"?o+="\\x"+d.substr(2):o+=t.substr(a,6)}a+=5,l=a+1}break;case"n":if(s||t[a+2]==='"'||t.length<i)a+=1;else{for(o+=t.slice(l,a)+`
13
+
14
+ `;t[a+2]==="\\"&&t[a+3]==="n"&&t[a+4]!=='"';)o+=`
15
+ `,a+=2;o+=r,t[a+2]===" "&&(o+="\\"),a+=1,l=a+1}break;default:a+=1}return o=l?o+t.slice(l):t,s?o:Be(o,r,Ee,Me(e,!1))}function Xe(n,e){if(e.options.singleQuote===!1||e.implicitKey&&n.includes(`
16
+ `)||/[ \t]\n|\n[ \t]/.test(n))return pe(n,e);const t=e.indent||(Ke(n)?" ":""),s="'"+n.replace(/'/g,"''").replace(/\n+/g,`$&
17
+ ${t}`)+"'";return e.implicitKey?s:Be(s,t,Kt,Me(e,!1))}function ee(n,e){const{singleQuote:t}=e.options;let s;if(t===!1)s=pe;else{const i=n.includes('"'),r=n.includes("'");i&&!r?s=Xe:r&&!i?s=pe:s=t?Xe:pe}return s(n,e)}let ze;try{ze=new RegExp(`(^|(?<!
18
+ ))
19
+ +(?!
20
+ |$)`,"g")}catch{ze=/\n+(?!\n|$)/g}function Le({comment:n,type:e,value:t},s,i,r){const{blockQuote:o,commentString:l,lineWidth:a}=s.options;if(!o||/\n[\t ]+$/.test(t))return ee(t,s);const c=s.indent||(s.forceBlockIndent||Ke(t)?" ":""),d=o==="literal"?!0:o==="folded"||e===O.BLOCK_FOLDED?!1:e===O.BLOCK_LITERAL?!0:!Ss(t,a,c.length);if(!t)return d?`|
21
+ `:`>
22
+ `;let f,u;for(u=t.length;u>0;--u){const N=t[u-1];if(N!==`
23
+ `&&N!==" "&&N!==" ")break}let m=t.substring(u);const g=m.indexOf(`
24
+ `);g===-1?f="-":t===m||g!==m.length-1?(f="+",r&&r()):f="",m&&(t=t.slice(0,-m.length),m[m.length-1]===`
25
+ `&&(m=m.slice(0,-1)),m=m.replace(ze,`$&${c}`));let h=!1,p,b=-1;for(p=0;p<t.length;++p){const N=t[p];if(N===" ")h=!0;else if(N===`
26
+ `)b=p;else break}let w=t.substring(0,b<p?b+1:p);w&&(t=t.substring(w.length),w=w.replace(/\n+/g,`$&${c}`));let S=(h?c?"2":"1":"")+f;if(n&&(S+=" "+l(n.replace(/ ?[\r\n]+/g," ")),i&&i()),!d){const N=t.replace(/\n+/g,`
27
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let A=!1;const T=Me(s,!0);o!=="folded"&&e!==O.BLOCK_FOLDED&&(T.onOverflow=()=>{A=!0});const y=Be(`${w}${N}${m}`,c,We,T);if(!A)return`>${S}
28
+ ${c}${y}`}return t=t.replace(/\n+/g,`$&${c}`),`|${S}
29
+ ${c}${w}${t}${m}`}function Ns(n,e,t,s){const{type:i,value:r}=n,{actualString:o,implicitKey:l,indent:a,indentStep:c,inFlow:d}=e;if(l&&r.includes(`
30
+ `)||d&&/[[\]{},]/.test(r))return ee(r,e);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(r))return l||d||!r.includes(`
31
+ `)?ee(r,e):Le(n,e,t,s);if(!l&&!d&&i!==O.PLAIN&&r.includes(`
32
+ `))return Le(n,e,t,s);if(Ke(r)){if(a==="")return e.forceBlockIndent=!0,Le(n,e,t,s);if(l&&a===c)return ee(r,e)}const f=r.replace(/\n+/g,`$&
33
+ ${a}`);if(o){const u=h=>h.default&&h.tag!=="tag:yaml.org,2002:str"&&h.test?.test(f),{compat:m,tags:g}=e.doc.schema;if(g.some(u)||m?.some(u))return ee(r,e)}return l?f:Be(f,a,Kt,Me(e,!1))}function nt(n,e,t,s){const{implicitKey:i,inFlow:r}=e,o=typeof n.value=="string"?n:Object.assign({},n,{value:String(n.value)});let{type:l}=n;l!==O.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(l=O.QUOTE_DOUBLE);const a=d=>{switch(d){case O.BLOCK_FOLDED:case O.BLOCK_LITERAL:return i||r?ee(o.value,e):Le(o,e,t,s);case O.QUOTE_DOUBLE:return pe(o.value,e);case O.QUOTE_SINGLE:return Xe(o.value,e);case O.PLAIN:return Ns(o,e,t,s);default:return null}};let c=a(l);if(c===null){const{defaultKeyType:d,defaultStringType:f}=e.options,u=i&&d||f;if(c=a(u),c===null)throw new Error(`Unsupported default string type ${u}`)}return c}function Pt(n,e){const t=Object.assign({blockQuote:!0,commentString:ks,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},n.schema.toStringOptions,e);let s;switch(t.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:n,flowCollectionPadding:t.flowCollectionPadding?" ":"",indent:"",indentStep:typeof t.indent=="number"?" ".repeat(t.indent):" ",inFlow:s,options:t}}function Os(n,e){if(e.tag){const i=n.filter(r=>r.tag===e.tag);if(i.length>0)return i.find(r=>r.format===e.format)??i[0]}let t,s;if(I(e)){s=e.value;let i=n.filter(r=>r.identify?.(s));if(i.length>1){const r=i.filter(o=>o.test);r.length>0&&(i=r)}t=i.find(r=>r.format===e.format)??i.find(r=>!r.format)}else s=e,t=n.find(i=>i.nodeClass&&s instanceof i.nodeClass);if(!t){const i=s?.constructor?.name??(s===null?"null":typeof s);throw new Error(`Tag not resolved for ${i} value`)}return t}function As(n,e,{anchors:t,doc:s}){if(!s.directives)return"";const i=[],r=(I(n)||E(n))&&n.anchor;r&&Ct(r)&&(t.add(r),i.push(`&${r}`));const o=n.tag??(e.default?null:e.tag);return o&&i.push(s.directives.tagString(o)),i.join(" ")}function ne(n,e,t,s){if($(n))return n.toString(e,t,s);if(oe(n)){if(e.doc.directives)return n.toString(e);if(e.resolvedAliases?.has(n))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(n):e.resolvedAliases=new Set([n]),n=n.resolve(e.doc)}let i;const r=L(n)?n:e.doc.createNode(n,{onTagObj:a=>i=a});i??(i=Os(e.doc.schema.tags,r));const o=As(r,i,e);o.length>0&&(e.indentAtStart=(e.indentAtStart??0)+o.length+1);const l=typeof i.stringify=="function"?i.stringify(r,e,t,s):I(r)?nt(r,e,t,s):r.toString(e,t,s);return o?I(r)||l[0]==="{"||l[0]==="["?`${o} ${l}`:`${o}
34
+ ${e.indent}${l}`:l}function Ts({key:n,value:e},t,s,i){const{allNullValues:r,doc:o,indent:l,indentStep:a,options:{commentString:c,indentSeq:d,simpleKeys:f}}=t;let u=L(n)&&n.comment||null;if(f){if(u)throw new Error("With simple keys, key nodes cannot have comments");if(E(n)||!L(n)&&typeof n=="object"){const T="With simple keys, collection cannot be used as a key value";throw new Error(T)}}let m=!f&&(!n||u&&e==null&&!t.inFlow||E(n)||(I(n)?n.type===O.BLOCK_FOLDED||n.type===O.BLOCK_LITERAL:typeof n=="object"));t=Object.assign({},t,{allNullValues:!1,implicitKey:!m&&(f||!r),indent:l+a});let g=!1,h=!1,p=ne(n,t,()=>g=!0,()=>h=!0);if(!m&&!t.inFlow&&p.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");m=!0}if(t.inFlow){if(r||e==null)return g&&s&&s(),p===""?"?":m?`? ${p}`:p}else if(r&&!f||e==null&&m)return p=`? ${p}`,u&&!g?p+=G(p,t.indent,c(u)):h&&i&&i(),p;g&&(u=null),m?(u&&(p+=G(p,t.indent,c(u))),p=`? ${p}
35
+ ${l}:`):(p=`${p}:`,u&&(p+=G(p,t.indent,c(u))));let b,w,k;L(e)?(b=!!e.spaceBefore,w=e.commentBefore,k=e.comment):(b=!1,w=null,k=null,e&&typeof e=="object"&&(e=o.createNode(e))),t.implicitKey=!1,!m&&!u&&I(e)&&(t.indentAtStart=p.length+1),h=!1,!d&&a.length>=2&&!t.inFlow&&!m&&be(e)&&!e.flow&&!e.tag&&!e.anchor&&(t.indent=t.indent.substring(2));let S=!1;const N=ne(e,t,()=>S=!0,()=>h=!0);let A=" ";if(u||b||w){if(A=b?`
36
+ `:"",w){const T=c(w);A+=`
37
+ ${F(T,t.indent)}`}N===""&&!t.inFlow?A===`
38
+ `&&k&&(A=`
39
+
40
+ `):A+=`
41
+ ${t.indent}`}else if(!m&&E(e)){const T=N[0],y=N.indexOf(`
42
+ `),C=y!==-1,U=t.inFlow??e.flow??e.items.length===0;if(C||!U){let W=!1;if(C&&(T==="&"||T==="!")){let v=N.indexOf(" ");T==="&"&&v!==-1&&v<y&&N[v+1]==="!"&&(v=N.indexOf(" ",v+1)),(v===-1||y<v)&&(W=!0)}W||(A=`
43
+ ${t.indent}`)}}else(N===""||N[0]===`
44
+ `)&&(A="");return p+=A+N,t.inFlow?S&&s&&s():k&&!S?p+=G(p,t.indent,c(k)):h&&i&&i(),p}function Is(n,e){(n==="debug"||n==="warn")&&console.warn(e)}const Se="<<",R={identify:n=>n===Se||typeof n=="symbol"&&n.description===Se,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new O(Symbol(Se)),{addToJSMap:jt}),stringify:()=>Se},Es=(n,e)=>(R.identify(e)||I(e)&&(!e.type||e.type===O.PLAIN)&&R.identify(e.value))&&n?.doc.schema.tags.some(t=>t.tag===R.tag&&t.default);function jt(n,e,t){const s=Dt(n,t);if(be(s))for(const i of s.items)Ue(n,e,i);else if(Array.isArray(s))for(const i of s)Ue(n,e,i);else Ue(n,e,s)}function Ue(n,e,t){const s=Dt(n,t);if(!ye(s))throw new Error("Merge sources must be maps or map aliases");const i=s.toJSON(null,n,Map);for(const[r,o]of i)e instanceof Map?e.has(r)||e.set(r,o):e instanceof Set?e.add(r):Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{value:o,writable:!0,enumerable:!0,configurable:!0});return e}function Dt(n,e){return n&&oe(e)?e.resolve(n.doc,n):e}function qt(n,e,{key:t,value:s}){if(L(t)&&t.addToJSMap)t.addToJSMap(n,e,s);else if(Es(n,t))jt(n,e,s);else{const i=K(t,"",n);if(e instanceof Map)e.set(i,K(s,i,n));else if(e instanceof Set)e.add(i);else{const r=Ls(t,i,n),o=K(s,r,n);r in e?Object.defineProperty(e,r,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[r]=o}}return e}function Ls(n,e,t){if(e===null)return"";if(typeof e!="object")return String(e);if(L(n)&&t?.doc){const s=Pt(t.doc,{});s.anchors=new Set;for(const r of t.anchors.keys())s.anchors.add(r.anchor);s.inFlow=!0,s.inStringifyKey=!0;const i=n.toString(s);if(!t.mapKeyWarned){let r=JSON.stringify(i);r.length>40&&(r=r.substring(0,36)+'..."'),Is(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${r}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return i}return JSON.stringify(e)}function it(n,e,t){const s=me(n,void 0,t),i=me(e,void 0,t);return new B(s,i)}class B{constructor(e,t=null){Object.defineProperty(this,P,{value:Lt}),this.key=e,this.value=t}clone(e){let{key:t,value:s}=this;return L(t)&&(t=t.clone(e)),L(s)&&(s=s.clone(e)),new B(t,s)}toJSON(e,t){const s=t?.mapAsMap?new Map:{};return qt(t,s,this)}toString(e,t,s){return e?.doc?Ts(this,e,t,s):JSON.stringify(this)}}function Ft(n,e,t){return(e.inFlow??n.flow?Cs:$s)(n,e,t)}function $s({comment:n,items:e},t,{blockItemPrefix:s,flowChars:i,itemIndent:r,onChompKeep:o,onComment:l}){const{indent:a,options:{commentString:c}}=t,d=Object.assign({},t,{indent:r,type:null});let f=!1;const u=[];for(let g=0;g<e.length;++g){const h=e[g];let p=null;if(L(h))!f&&h.spaceBefore&&u.push(""),Ce(t,u,h.commentBefore,f),h.comment&&(p=h.comment);else if($(h)){const w=L(h.key)?h.key:null;w&&(!f&&w.spaceBefore&&u.push(""),Ce(t,u,w.commentBefore,f))}f=!1;let b=ne(h,d,()=>p=null,()=>f=!0);p&&(b+=G(b,r,c(p))),f&&p&&(f=!1),u.push(s+b)}let m;if(u.length===0)m=i.start+i.end;else{m=u[0];for(let g=1;g<u.length;++g){const h=u[g];m+=h?`
45
+ ${a}${h}`:`
46
+ `}}return n?(m+=`
47
+ `+F(c(n),a),l&&l()):f&&o&&o(),m}function Cs({items:n},e,{flowChars:t,itemIndent:s}){const{indent:i,indentStep:r,flowCollectionPadding:o,options:{commentString:l}}=e;s+=r;const a=Object.assign({},e,{indent:s,inFlow:!0,type:null});let c=!1,d=0;const f=[];for(let g=0;g<n.length;++g){const h=n[g];let p=null;if(L(h))h.spaceBefore&&f.push(""),Ce(e,f,h.commentBefore,!1),h.comment&&(p=h.comment);else if($(h)){const w=L(h.key)?h.key:null;w&&(w.spaceBefore&&f.push(""),Ce(e,f,w.commentBefore,!1),w.comment&&(c=!0));const k=L(h.value)?h.value:null;k?(k.comment&&(p=k.comment),k.commentBefore&&(c=!0)):h.value==null&&w?.comment&&(p=w.comment)}p&&(c=!0);let b=ne(h,a,()=>p=null);c||(c=f.length>d||b.includes(`
48
+ `)),g<n.length-1?b+=",":e.options.trailingComma&&(e.options.lineWidth>0&&(c||(c=f.reduce((w,k)=>w+k.length+2,2)+(b.length+2)>e.options.lineWidth)),c&&(b+=",")),p&&(b+=G(b,s,l(p))),f.push(b),d=f.length}const{start:u,end:m}=t;if(f.length===0)return u+m;if(!c){const g=f.reduce((h,p)=>h+p.length+2,2);c=e.options.lineWidth>0&&g>e.options.lineWidth}if(c){let g=u;for(const h of f)g+=h?`
49
+ ${r}${i}${h}`:`
50
+ `;return`${g}
51
+ ${i}${m}`}else return`${u}${o}${f.join(" ")}${o}${m}`}function Ce({indent:n,options:{commentString:e}},t,s,i){if(s&&i&&(s=s.replace(/^\n+/,"")),s){const r=F(e(s),n);t.push(r.trimStart())}}function Q(n,e){const t=I(e)?e.value:e;for(const s of n)if($(s)&&(s.key===e||s.key===t||I(s.key)&&s.key.value===t))return s}class M extends Mt{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(J,e),this.items=[]}static from(e,t,s){const{keepUndefined:i,replacer:r}=s,o=new this(e),l=(a,c)=>{if(typeof r=="function")c=r.call(t,a,c);else if(Array.isArray(r)&&!r.includes(a))return;(c!==void 0||i)&&o.items.push(it(a,c,s))};if(t instanceof Map)for(const[a,c]of t)l(a,c);else if(t&&typeof t=="object")for(const a of Object.keys(t))l(a,t[a]);return typeof e.sortMapEntries=="function"&&o.items.sort(e.sortMapEntries),o}add(e,t){let s;$(e)?s=e:!e||typeof e!="object"||!("key"in e)?s=new B(e,e?.value):s=new B(e.key,e.value);const i=Q(this.items,s.key),r=this.schema?.sortMapEntries;if(i){if(!t)throw new Error(`Key ${s.key} already set`);I(i.value)&&Bt(s.value)?i.value.value=s.value:i.value=s.value}else if(r){const o=this.items.findIndex(l=>r(s,l)<0);o===-1?this.items.push(s):this.items.splice(o,0,s)}else this.items.push(s)}delete(e){const t=Q(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){const i=Q(this.items,e)?.value;return(!t&&I(i)?i.value:i)??void 0}has(e){return!!Q(this.items,e)}set(e,t){this.add(new B(e,t),!0)}toJSON(e,t,s){const i=s?new s:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(i);for(const r of this.items)qt(t,i,r);return i}toString(e,t,s){if(!e)return JSON.stringify(this);for(const i of this.items)if(!$(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),Ft(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:s,onComment:t})}}const ae={collection:"map",default:!0,nodeClass:M,tag:"tag:yaml.org,2002:map",resolve(n,e){return ye(n)||e("Expected a mapping for this tag"),n},createNode:(n,e,t)=>M.from(n,e,t)};class H extends Mt{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(re,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Ne(e);return typeof t!="number"?!1:this.items.splice(t,1).length>0}get(e,t){const s=Ne(e);if(typeof s!="number")return;const i=this.items[s];return!t&&I(i)?i.value:i}has(e){const t=Ne(e);return typeof t=="number"&&t<this.items.length}set(e,t){const s=Ne(e);if(typeof s!="number")throw new Error(`Expected a valid index, not ${e}.`);const i=this.items[s];I(i)&&Bt(t)?i.value=t:this.items[s]=t}toJSON(e,t){const s=[];t?.onCreate&&t.onCreate(s);let i=0;for(const r of this.items)s.push(K(r,String(i++),t));return s}toString(e,t,s){return e?Ft(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:s,onComment:t}):JSON.stringify(this)}static from(e,t,s){const{replacer:i}=s,r=new this(e);if(t&&Symbol.iterator in Object(t)){let o=0;for(let l of t){if(typeof i=="function"){const a=t instanceof Set?l:String(o++);l=i.call(t,a,l)}r.items.push(me(l,void 0,s))}}return r}}function Ne(n){let e=I(n)?n.value:n;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}const ce={collection:"seq",default:!0,nodeClass:H,tag:"tag:yaml.org,2002:seq",resolve(n,e){return be(n)||e("Expected a sequence for this tag"),n},createNode:(n,e,t)=>H.from(n,e,t)},Pe={identify:n=>typeof n=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:n=>n,stringify(n,e,t,s){return e=Object.assign({actualString:!0},e),nt(n,e,t,s)}},je={identify:n=>n==null,createNode:()=>new O(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new O(null),stringify:({source:n},e)=>typeof n=="string"&&je.test.test(n)?n:e.options.nullStr},rt={identify:n=>typeof n=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:n=>new O(n[0]==="t"||n[0]==="T"),stringify({source:n,value:e},t){if(n&&rt.test.test(n)){const s=n[0]==="t"||n[0]==="T";if(e===s)return n}return e?t.options.trueStr:t.options.falseStr}};function D({format:n,minFractionDigits:e,tag:t,value:s}){if(typeof s=="bigint")return String(s);const i=typeof s=="number"?s:Number(s);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let r=Object.is(s,-0)?"-0":JSON.stringify(s);if(!n&&e&&(!t||t==="tag:yaml.org,2002:float")&&/^-?\d/.test(r)&&!r.includes("e")){let o=r.indexOf(".");o<0&&(o=r.length,r+=".");let l=e-(r.length-o-1);for(;l-- >0;)r+="0"}return r}const Rt={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:n=>n.slice(-3).toLowerCase()==="nan"?NaN:n[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:D},Ut={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:n=>parseFloat(n),stringify(n){const e=Number(n.value);return isFinite(e)?e.toExponential():D(n)}},Vt={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(n){const e=new O(parseFloat(n)),t=n.indexOf(".");return t!==-1&&n[n.length-1]==="0"&&(e.minFractionDigits=n.length-t-1),e},stringify:D},De=n=>typeof n=="bigint"||Number.isInteger(n),ot=(n,e,t,{intAsBigInt:s})=>s?BigInt(n):parseInt(n.substring(e),t);function Jt(n,e,t){const{value:s}=n;return De(s)&&s>=0?t+s.toString(e):D(n)}const Yt={identify:n=>De(n)&&n>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(n,e,t)=>ot(n,2,8,t),stringify:n=>Jt(n,8,"0o")},Gt={identify:De,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(n,e,t)=>ot(n,0,10,t),stringify:D},Qt={identify:n=>De(n)&&n>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(n,e,t)=>ot(n,2,16,t),stringify:n=>Jt(n,16,"0x")},vs=[ae,ce,Pe,je,rt,Yt,Gt,Qt,Rt,Ut,Vt];function yt(n){return typeof n=="bigint"||Number.isInteger(n)}const Oe=({value:n})=>JSON.stringify(n),_s=[{identify:n=>typeof n=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:n=>n,stringify:Oe},{identify:n=>n==null,createNode:()=>new O(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Oe},{identify:n=>typeof n=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:n=>n==="true",stringify:Oe},{identify:yt,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(n,e,{intAsBigInt:t})=>t?BigInt(n):parseInt(n,10),stringify:({value:n})=>yt(n)?n.toString():JSON.stringify(n)},{identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:n=>parseFloat(n),stringify:Oe}],Bs={default:!0,tag:"",test:/^/,resolve(n,e){return e(`Unresolved plain scalar ${JSON.stringify(n)}`),n}},Ms=[ae,ce].concat(_s,Bs),lt={identify:n=>n instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(n,e){if(typeof atob=="function"){const t=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(t.length);for(let i=0;i<t.length;++i)s[i]=t.charCodeAt(i);return s}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),n},stringify({comment:n,type:e,value:t},s,i,r){if(!t)return"";const o=t;let l;if(typeof btoa=="function"){let a="";for(let c=0;c<o.length;++c)a+=String.fromCharCode(o[c]);l=btoa(a)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e??(e=O.BLOCK_LITERAL),e!==O.QUOTE_DOUBLE){const a=Math.max(s.options.lineWidth-s.indent.length,s.options.minContentWidth),c=Math.ceil(l.length/a),d=new Array(c);for(let f=0,u=0;f<c;++f,u+=a)d[f]=l.substr(u,a);l=d.join(e===O.BLOCK_LITERAL?`
52
+ `:" ")}return nt({comment:n,type:e,value:l},s,i,r)}};function Ht(n,e){if(be(n))for(let t=0;t<n.items.length;++t){let s=n.items[t];if(!$(s)){if(ye(s)){s.items.length>1&&e("Each pair must have its own sequence indicator");const i=s.items[0]||new B(new O(null));if(s.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${s.commentBefore}
53
+ ${i.key.commentBefore}`:s.commentBefore),s.comment){const r=i.value??i.key;r.comment=r.comment?`${s.comment}
54
+ ${r.comment}`:s.comment}s=i}n.items[t]=$(s)?s:new B(s)}}else e("Expected a sequence for this tag");return n}function Wt(n,e,t){const{replacer:s}=t,i=new H(n);i.tag="tag:yaml.org,2002:pairs";let r=0;if(e&&Symbol.iterator in Object(e))for(let o of e){typeof s=="function"&&(o=s.call(e,String(r++),o));let l,a;if(Array.isArray(o))if(o.length===2)l=o[0],a=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const c=Object.keys(o);if(c.length===1)l=c[0],a=o[l];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else l=o;i.items.push(it(l,a,t))}return i}const at={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Ht,createNode:Wt};class te extends H{constructor(){super(),this.add=M.prototype.add.bind(this),this.delete=M.prototype.delete.bind(this),this.get=M.prototype.get.bind(this),this.has=M.prototype.has.bind(this),this.set=M.prototype.set.bind(this),this.tag=te.tag}toJSON(e,t){if(!t)return super.toJSON(e);const s=new Map;t?.onCreate&&t.onCreate(s);for(const i of this.items){let r,o;if($(i)?(r=K(i.key,"",t),o=K(i.value,r,t)):r=K(i,"",t),s.has(r))throw new Error("Ordered maps must not include duplicate keys");s.set(r,o)}return s}static from(e,t,s){const i=Wt(e,t,s),r=new this;return r.items=i.items,r}}te.tag="tag:yaml.org,2002:omap";const ct={collection:"seq",identify:n=>n instanceof Map,nodeClass:te,default:!1,tag:"tag:yaml.org,2002:omap",resolve(n,e){const t=Ht(n,e),s=[];for(const{key:i}of t.items)I(i)&&(s.includes(i.value)?e(`Ordered maps must not include duplicate keys: ${i.value}`):s.push(i.value));return Object.assign(new te,t)},createNode:(n,e,t)=>te.from(n,e,t)};function Xt({value:n,source:e},t){return e&&(n?zt:xt).test.test(e)?e:n?t.options.trueStr:t.options.falseStr}const zt={identify:n=>n===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new O(!0),stringify:Xt},xt={identify:n=>n===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new O(!1),stringify:Xt},Ks={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:n=>n.slice(-3).toLowerCase()==="nan"?NaN:n[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:D},Ps={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:n=>parseFloat(n.replace(/_/g,"")),stringify(n){const e=Number(n.value);return isFinite(e)?e.toExponential():D(n)}},js={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(n){const e=new O(parseFloat(n.replace(/_/g,""))),t=n.indexOf(".");if(t!==-1){const s=n.substring(t+1).replace(/_/g,"");s[s.length-1]==="0"&&(e.minFractionDigits=s.length)}return e},stringify:D},we=n=>typeof n=="bigint"||Number.isInteger(n);function qe(n,e,t,{intAsBigInt:s}){const i=n[0];if((i==="-"||i==="+")&&(e+=1),n=n.substring(e).replace(/_/g,""),s){switch(t){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const o=BigInt(n);return i==="-"?BigInt(-1)*o:o}const r=parseInt(n,t);return i==="-"?-1*r:r}function ft(n,e,t){const{value:s}=n;if(we(s)){const i=s.toString(e);return s<0?"-"+t+i.substr(1):t+i}return D(n)}const Ds={identify:we,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(n,e,t)=>qe(n,2,2,t),stringify:n=>ft(n,2,"0b")},qs={identify:we,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(n,e,t)=>qe(n,1,8,t),stringify:n=>ft(n,8,"0")},Fs={identify:we,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(n,e,t)=>qe(n,0,10,t),stringify:D},Rs={identify:we,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(n,e,t)=>qe(n,2,16,t),stringify:n=>ft(n,16,"0x")};class se extends M{constructor(e){super(e),this.tag=se.tag}add(e){let t;$(e)?t=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?t=new B(e.key,null):t=new B(e,null),Q(this.items,t.key)||this.items.push(t)}get(e,t){const s=Q(this.items,e);return!t&&$(s)?I(s.key)?s.key.value:s.key:s}set(e,t){if(typeof t!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const s=Q(this.items,e);s&&!t?this.items.splice(this.items.indexOf(s),1):!s&&t&&this.items.push(new B(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,s){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,s);throw new Error("Set items must all have null values")}static from(e,t,s){const{replacer:i}=s,r=new this(e);if(t&&Symbol.iterator in Object(t))for(let o of t)typeof i=="function"&&(o=i.call(t,o,o)),r.items.push(it(o,null,s));return r}}se.tag="tag:yaml.org,2002:set";const ut={collection:"map",identify:n=>n instanceof Set,nodeClass:se,default:!1,tag:"tag:yaml.org,2002:set",createNode:(n,e,t)=>se.from(n,e,t),resolve(n,e){if(ye(n)){if(n.hasAllNullValues(!0))return Object.assign(new se,n);e("Set items must all have null values")}else e("Expected a mapping for this tag");return n}};function ht(n,e){const t=n[0],s=t==="-"||t==="+"?n.substring(1):n,i=o=>e?BigInt(o):Number(o),r=s.replace(/_/g,"").split(":").reduce((o,l)=>o*i(60)+i(l),i(0));return t==="-"?i(-1)*r:r}function Zt(n){let{value:e}=n,t=o=>o;if(typeof e=="bigint")t=o=>BigInt(o);else if(isNaN(e)||!isFinite(e))return D(n);let s="";e<0&&(s="-",e*=t(-1));const i=t(60),r=[e%i];return e<60?r.unshift(0):(e=(e-r[0])/i,r.unshift(e%i),e>=60&&(e=(e-r[0])/i,r.unshift(e))),s+r.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const es={identify:n=>typeof n=="bigint"||Number.isInteger(n),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(n,e,{intAsBigInt:t})=>ht(n,t),stringify:Zt},ts={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:n=>ht(n,!1),stringify:Zt},Fe={identify:n=>n instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(n){const e=n.match(Fe.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,t,s,i,r,o,l]=e.map(Number),a=e[7]?Number((e[7]+"00").substr(1,3)):0;let c=Date.UTC(t,s-1,i,r||0,o||0,l||0,a);const d=e[8];if(d&&d!=="Z"){let f=ht(d,!1);Math.abs(f)<30&&(f*=60),c-=6e4*f}return new Date(c)},stringify:({value:n})=>n?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},bt=[ae,ce,Pe,je,zt,xt,Ds,qs,Fs,Rs,Ks,Ps,js,lt,R,ct,at,ut,es,ts,Fe],wt=new Map([["core",vs],["failsafe",[ae,ce,Pe]],["json",Ms],["yaml11",bt],["yaml-1.1",bt]]),kt={binary:lt,bool:rt,float:Vt,floatExp:Ut,floatNaN:Rt,floatTime:ts,int:Gt,intHex:Qt,intOct:Yt,intTime:es,map:ae,merge:R,null:je,omap:ct,pairs:at,seq:ce,set:ut,timestamp:Fe},Us={"tag:yaml.org,2002:binary":lt,"tag:yaml.org,2002:merge":R,"tag:yaml.org,2002:omap":ct,"tag:yaml.org,2002:pairs":at,"tag:yaml.org,2002:set":ut,"tag:yaml.org,2002:timestamp":Fe};function Ve(n,e,t){const s=wt.get(e);if(s&&!n)return t&&!s.includes(R)?s.concat(R):s.slice();let i=s;if(!i)if(Array.isArray(n))i=[];else{const r=Array.from(wt.keys()).filter(o=>o!=="yaml11").map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${r} or define customTags array`)}if(Array.isArray(n))for(const r of n)i=i.concat(r);else typeof n=="function"&&(i=n(i.slice()));return t&&(i=i.concat(R)),i.reduce((r,o)=>{const l=typeof o=="string"?kt[o]:o;if(!l){const a=JSON.stringify(o),c=Object.keys(kt).map(d=>JSON.stringify(d)).join(", ");throw new Error(`Unknown custom tag ${a}; use one of ${c}`)}return r.includes(l)||r.push(l),r},[])}const Vs=(n,e)=>n.key<e.key?-1:n.key>e.key?1:0;class dt{constructor({compat:e,customTags:t,merge:s,resolveKnownTags:i,schema:r,sortMapEntries:o,toStringDefaults:l}){this.compat=Array.isArray(e)?Ve(e,"compat"):e?Ve(null,e):null,this.name=typeof r=="string"&&r||"core",this.knownTags=i?Us:{},this.tags=Ve(t,this.name,s),this.toStringOptions=l??null,Object.defineProperty(this,J,{value:ae}),Object.defineProperty(this,q,{value:Pe}),Object.defineProperty(this,re,{value:ce}),this.sortMapEntries=typeof o=="function"?o:o===!0?Vs:null}clone(){const e=Object.create(dt.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}function Js(n,e){const t=[];let s=e.directives===!0;if(e.directives!==!1&&n.directives){const a=n.directives.toString(n);a?(t.push(a),s=!0):n.directives.docStart&&(s=!0)}s&&t.push("---");const i=Pt(n,e),{commentString:r}=i.options;if(n.commentBefore){t.length!==1&&t.unshift("");const a=r(n.commentBefore);t.unshift(F(a,""))}let o=!1,l=null;if(n.contents){if(L(n.contents)){if(n.contents.spaceBefore&&s&&t.push(""),n.contents.commentBefore){const d=r(n.contents.commentBefore);t.push(F(d,""))}i.forceBlockIndent=!!n.comment,l=n.contents.comment}const a=l?void 0:()=>o=!0;let c=ne(n.contents,i,()=>l=null,a);l&&(c+=G(c,"",r(l))),(c[0]==="|"||c[0]===">")&&t[t.length-1]==="---"?t[t.length-1]=`--- ${c}`:t.push(c)}else t.push(ne(n.contents,i));if(n.directives?.docEnd)if(n.comment){const a=r(n.comment);a.includes(`
55
+ `)?(t.push("..."),t.push(F(a,""))):t.push(`... ${a}`)}else t.push("...");else{let a=n.comment;a&&o&&(a=a.replace(/^\n+/,"")),a&&((!o||l)&&t[t.length-1]!==""&&t.push(""),t.push(F(r(a),"")))}return t.join(`
56
+ `)+`
57
+ `}class Re{constructor(e,t,s){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,P,{value:He});let i=null;typeof t=="function"||Array.isArray(t)?i=t:s===void 0&&t&&(s=t,t=void 0);const r=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},s);this.options=r;let{version:o}=r;s?._directives?(this.directives=s._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new _({version:o}),this.setSchema(o,s),this.contents=e===void 0?null:this.createNode(e,i,s)}clone(){const e=Object.create(Re.prototype,{[P]:{value:He}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=L(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){X(this.contents)&&this.contents.add(e)}addIn(e,t){X(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const s=vt(this);e.anchor=!t||s.has(t)?_t(t||"a",s):t}return new st(e.anchor)}createNode(e,t,s){let i;if(typeof t=="function")e=t.call({"":e},"",e),i=t;else if(Array.isArray(t)){const p=w=>typeof w=="number"||w instanceof String||w instanceof Number,b=t.filter(p).map(String);b.length>0&&(t=t.concat(b)),i=t}else s===void 0&&t&&(s=t,t=void 0);const{aliasDuplicateObjects:r,anchorPrefix:o,flow:l,keepUndefined:a,onTagObj:c,tag:d}=s??{},{onAnchor:f,setAnchors:u,sourceObjects:m}=ys(this,o||"a"),g={aliasDuplicateObjects:r??!0,keepUndefined:a??!1,onAnchor:f,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:m},h=me(e,d,g);return l&&E(h)&&(h.flow=!0),u(),h}createPair(e,t,s={}){const i=this.createNode(e,null,s),r=this.createNode(t,null,s);return new B(i,r)}delete(e){return X(this.contents)?this.contents.delete(e):!1}deleteIn(e){return ue(e)?this.contents==null?!1:(this.contents=null,!0):X(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return E(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return ue(e)?!t&&I(this.contents)?this.contents.value:this.contents:E(this.contents)?this.contents.getIn(e,t):void 0}has(e){return E(this.contents)?this.contents.has(e):!1}hasIn(e){return ue(e)?this.contents!==void 0:E(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=$e(this.schema,[e],t):X(this.contents)&&this.contents.set(e,t)}setIn(e,t){ue(e)?this.contents=t:this.contents==null?this.contents=$e(this.schema,Array.from(e),t):X(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e=="number"&&(e=String(e));let s;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new _({version:"1.1"}),s={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new _({version:e}),s={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,s=null;break;default:{const i=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(s)this.schema=new dt(Object.assign(s,t));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:s,maxAliasCount:i,onAnchor:r,reviver:o}={}){const l={anchors:new Map,doc:this,keep:!e,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},a=K(this.contents,t??"",l);if(typeof r=="function")for(const{count:c,res:d}of l.anchors.values())r(d,c);return typeof o=="function"?Z(o,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return Js(this,e)}}function X(n){if(E(n))return!0;throw new Error("Expected a YAML collection as document contents")}class ss extends Error{constructor(e,t,s,i){super(),this.name=e,this.code=s,this.message=i,this.pos=t}}class he extends ss{constructor(e,t,s){super("YAMLParseError",e,t,s)}}class Ys extends ss{constructor(e,t,s){super("YAMLWarning",e,t,s)}}const St=(n,e)=>t=>{if(t.pos[0]===-1)return;t.linePos=t.pos.map(l=>e.linePos(l));const{line:s,col:i}=t.linePos[0];t.message+=` at line ${s}, column ${i}`;let r=i-1,o=n.substring(e.lineStarts[s-1],e.lineStarts[s]).replace(/[\n\r]+$/,"");if(r>=60&&o.length>80){const l=Math.min(r-39,o.length-79);o="…"+o.substring(l),r-=l-1}if(o.length>80&&(o=o.substring(0,79)+"…"),s>1&&/^ *$/.test(o.substring(0,r))){let l=n.substring(e.lineStarts[s-2],e.lineStarts[s-1]);l.length>80&&(l=l.substring(0,79)+`…
58
+ `),o=l+o}if(/[^ ]/.test(o)){let l=1;const a=t.linePos[1];a?.line===s&&a.col>i&&(l=Math.max(1,Math.min(a.col-i,80-r)));const c=" ".repeat(r)+"^".repeat(l);t.message+=`:
59
+
60
+ ${o}
61
+ ${c}
62
+ `}};function ie(n,{flow:e,indicator:t,next:s,offset:i,onError:r,parentIndent:o,startOnNewline:l}){let a=!1,c=l,d=l,f="",u="",m=!1,g=!1,h=null,p=null,b=null,w=null,k=null,S=null,N=null;for(const y of n)switch(g&&(y.type!=="space"&&y.type!=="newline"&&y.type!=="comma"&&r(y.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),g=!1),h&&(c&&y.type!=="comment"&&y.type!=="newline"&&r(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),h=null),y.type){case"space":!e&&(t!=="doc-start"||s?.type!=="flow-collection")&&y.source.includes(" ")&&(h=y),d=!0;break;case"comment":{d||r(y,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const C=y.source.substring(1)||" ";f?f+=u+C:f=C,u="",c=!1;break}case"newline":c?f?f+=y.source:(!S||t!=="seq-item-ind")&&(a=!0):u+=y.source,c=!0,m=!0,(p||b)&&(w=y),d=!0;break;case"anchor":p&&r(y,"MULTIPLE_ANCHORS","A node can have at most one anchor"),y.source.endsWith(":")&&r(y.offset+y.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),p=y,N??(N=y.offset),c=!1,d=!1,g=!0;break;case"tag":{b&&r(y,"MULTIPLE_TAGS","A node can have at most one tag"),b=y,N??(N=y.offset),c=!1,d=!1,g=!0;break}case t:(p||b)&&r(y,"BAD_PROP_ORDER",`Anchors and tags must be after the ${y.source} indicator`),S&&r(y,"UNEXPECTED_TOKEN",`Unexpected ${y.source} in ${e??"collection"}`),S=y,c=t==="seq-item-ind"||t==="explicit-key-ind",d=!1;break;case"comma":if(e){k&&r(y,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),k=y,c=!1,d=!1;break}default:r(y,"UNEXPECTED_TOKEN",`Unexpected ${y.type} token`),c=!1,d=!1}const A=n[n.length-1],T=A?A.offset+A.source.length:i;return g&&s&&s.type!=="space"&&s.type!=="newline"&&s.type!=="comma"&&(s.type!=="scalar"||s.source!=="")&&r(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h&&(c&&h.indent<=o||s?.type==="block-map"||s?.type==="block-seq")&&r(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:k,found:S,spaceBefore:a,comment:f,hasNewline:m,anchor:p,tag:b,newlineAfterProp:w,end:T,start:N??T}}function ge(n){if(!n)return null;switch(n.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(n.source.includes(`
63
+ `))return!0;if(n.end){for(const e of n.end)if(e.type==="newline")return!0}return!1;case"flow-collection":for(const e of n.items){for(const t of e.start)if(t.type==="newline")return!0;if(e.sep){for(const t of e.sep)if(t.type==="newline")return!0}if(ge(e.key)||ge(e.value))return!0}return!1;default:return!0}}function xe(n,e,t){if(e?.type==="flow-collection"){const s=e.end[0];s.indent===n&&(s.source==="]"||s.source==="}")&&ge(e)&&t(s,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function ns(n,e,t){const{uniqueKeys:s}=n.options;if(s===!1)return!1;const i=typeof s=="function"?s:(r,o)=>r===o||I(r)&&I(o)&&r.value===o.value;return e.some(r=>i(r.key,t))}const Nt="All mapping items must start at the same column";function Gs({composeNode:n,composeEmptyNode:e},t,s,i,r){const o=r?.nodeClass??M,l=new o(t.schema);t.atRoot&&(t.atRoot=!1);let a=s.offset,c=null;for(const d of s.items){const{start:f,key:u,sep:m,value:g}=d,h=ie(f,{indicator:"explicit-key-ind",next:u??m?.[0],offset:a,onError:i,parentIndent:s.indent,startOnNewline:!0}),p=!h.found;if(p){if(u&&(u.type==="block-seq"?i(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==s.indent&&i(a,"BAD_INDENT",Nt)),!h.anchor&&!h.tag&&!m){c=h.end,h.comment&&(l.comment?l.comment+=`
64
+ `+h.comment:l.comment=h.comment);continue}(h.newlineAfterProp||ge(u))&&i(u??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==s.indent&&i(a,"BAD_INDENT",Nt);t.atKey=!0;const b=h.end,w=u?n(t,u,h,i):e(t,b,f,null,h,i);t.schema.compat&&xe(s.indent,u,i),t.atKey=!1,ns(t,l.items,w)&&i(b,"DUPLICATE_KEY","Map keys must be unique");const k=ie(m??[],{indicator:"map-value-ind",next:g,offset:w.range[2],onError:i,parentIndent:s.indent,startOnNewline:!u||u.type==="block-scalar"});if(a=k.end,k.found){p&&(g?.type==="block-map"&&!k.hasNewline&&i(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),t.options.strict&&h.start<k.found.offset-1024&&i(w.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const S=g?n(t,g,k,i):e(t,a,m,null,k,i);t.schema.compat&&xe(s.indent,g,i),a=S.range[2];const N=new B(w,S);t.options.keepSourceTokens&&(N.srcToken=d),l.items.push(N)}else{p&&i(w.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),k.comment&&(w.comment?w.comment+=`
65
+ `+k.comment:w.comment=k.comment);const S=new B(w);t.options.keepSourceTokens&&(S.srcToken=d),l.items.push(S)}}return c&&c<a&&i(c,"IMPOSSIBLE","Map comment with trailing content"),l.range=[s.offset,a,c??a],l}function Qs({composeNode:n,composeEmptyNode:e},t,s,i,r){const o=r?.nodeClass??H,l=new o(t.schema);t.atRoot&&(t.atRoot=!1),t.atKey&&(t.atKey=!1);let a=s.offset,c=null;for(const{start:d,value:f}of s.items){const u=ie(d,{indicator:"seq-item-ind",next:f,offset:a,onError:i,parentIndent:s.indent,startOnNewline:!0});if(!u.found)if(u.anchor||u.tag||f)f?.type==="block-seq"?i(u.end,"BAD_INDENT","All sequence items must start at the same column"):i(a,"MISSING_CHAR","Sequence item without - indicator");else{c=u.end,u.comment&&(l.comment=u.comment);continue}const m=f?n(t,f,u,i):e(t,u.end,d,null,u,i);t.schema.compat&&xe(s.indent,f,i),a=m.range[2],l.items.push(m)}return l.range=[s.offset,a,c??a],l}function ke(n,e,t,s){let i="";if(n){let r=!1,o="";for(const l of n){const{source:a,type:c}=l;switch(c){case"space":r=!0;break;case"comment":{t&&!r&&s(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const d=a.substring(1)||" ";i?i+=o+d:i=d,o="";break}case"newline":i&&(o+=a),r=!0;break;default:s(l,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}e+=a.length}}return{comment:i,offset:e}}const Je="Block collections are not allowed within flow collections",Ye=n=>n&&(n.type==="block-map"||n.type==="block-seq");function Hs({composeNode:n,composeEmptyNode:e},t,s,i,r){const o=s.start.source==="{",l=o?"flow map":"flow sequence",a=r?.nodeClass??(o?M:H),c=new a(t.schema);c.flow=!0;const d=t.atRoot;d&&(t.atRoot=!1),t.atKey&&(t.atKey=!1);let f=s.offset+s.start.source.length;for(let p=0;p<s.items.length;++p){const b=s.items[p],{start:w,key:k,sep:S,value:N}=b,A=ie(w,{flow:l,indicator:"explicit-key-ind",next:k??S?.[0],offset:f,onError:i,parentIndent:s.indent,startOnNewline:!1});if(!A.found){if(!A.anchor&&!A.tag&&!S&&!N){p===0&&A.comma?i(A.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`):p<s.items.length-1&&i(A.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${l}`),A.comment&&(c.comment?c.comment+=`
66
+ `+A.comment:c.comment=A.comment),f=A.end;continue}!o&&t.options.strict&&ge(k)&&i(k,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(p===0)A.comma&&i(A.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`);else if(A.comma||i(A.start,"MISSING_CHAR",`Missing , between ${l} items`),A.comment){let T="";e:for(const y of w)switch(y.type){case"comma":case"space":break;case"comment":T=y.source.substring(1);break e;default:break e}if(T){let y=c.items[c.items.length-1];$(y)&&(y=y.value??y.key),y.comment?y.comment+=`
67
+ `+T:y.comment=T,A.comment=A.comment.substring(T.length+1)}}if(!o&&!S&&!A.found){const T=N?n(t,N,A,i):e(t,A.end,S,null,A,i);c.items.push(T),f=T.range[2],Ye(N)&&i(T.range,"BLOCK_IN_FLOW",Je)}else{t.atKey=!0;const T=A.end,y=k?n(t,k,A,i):e(t,T,w,null,A,i);Ye(k)&&i(y.range,"BLOCK_IN_FLOW",Je),t.atKey=!1;const C=ie(S??[],{flow:l,indicator:"map-value-ind",next:N,offset:y.range[2],onError:i,parentIndent:s.indent,startOnNewline:!1});if(C.found){if(!o&&!A.found&&t.options.strict){if(S)for(const v of S){if(v===C.found)break;if(v.type==="newline"){i(v,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}A.start<C.found.offset-1024&&i(C.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else N&&("source"in N&&N.source?.[0]===":"?i(N,"MISSING_CHAR",`Missing space after : in ${l}`):i(C.start,"MISSING_CHAR",`Missing , or : between ${l} items`));const U=N?n(t,N,C,i):C.found?e(t,C.end,S,null,C,i):null;U?Ye(N)&&i(U.range,"BLOCK_IN_FLOW",Je):C.comment&&(y.comment?y.comment+=`
68
+ `+C.comment:y.comment=C.comment);const W=new B(y,U);if(t.options.keepSourceTokens&&(W.srcToken=b),o){const v=c;ns(t,v.items,y)&&i(T,"DUPLICATE_KEY","Map keys must be unique"),v.items.push(W)}else{const v=new M(t.schema);v.flow=!0,v.items.push(W);const mt=(U??y).range;v.range=[y.range[0],mt[1],mt[2]],c.items.push(v)}f=U?U.range[2]:C.end}}const u=o?"}":"]",[m,...g]=s.end;let h=f;if(m?.source===u)h=m.offset+m.source.length;else{const p=l[0].toUpperCase()+l.substring(1),b=d?`${p} must end with a ${u}`:`${p} in block collection must be sufficiently indented and end with a ${u}`;i(f,d?"MISSING_CHAR":"BAD_INDENT",b),m&&m.source.length!==1&&g.unshift(m)}if(g.length>0){const p=ke(g,h,t.options.strict,i);p.comment&&(c.comment?c.comment+=`
69
+ `+p.comment:c.comment=p.comment),c.range=[s.offset,h,p.offset]}else c.range=[s.offset,h,h];return c}function Ge(n,e,t,s,i,r){const o=t.type==="block-map"?Gs(n,e,t,s,r):t.type==="block-seq"?Qs(n,e,t,s,r):Hs(n,e,t,s,r),l=o.constructor;return i==="!"||i===l.tagName?(o.tag=l.tagName,o):(i&&(o.tag=i),o)}function Ws(n,e,t,s,i){const r=s.tag,o=r?e.directives.tagName(r.source,u=>i(r,"TAG_RESOLVE_FAILED",u)):null;if(t.type==="block-seq"){const{anchor:u,newlineAfterProp:m}=s,g=u&&r?u.offset>r.offset?u:r:u??r;g&&(!m||m.offset<g.offset)&&i(g,"MISSING_CHAR","Missing newline after block sequence props")}const l=t.type==="block-map"?"map":t.type==="block-seq"?"seq":t.start.source==="{"?"map":"seq";if(!r||!o||o==="!"||o===M.tagName&&l==="map"||o===H.tagName&&l==="seq")return Ge(n,e,t,i,o);let a=e.schema.tags.find(u=>u.tag===o&&u.collection===l);if(!a){const u=e.schema.knownTags[o];if(u?.collection===l)e.schema.tags.push(Object.assign({},u,{default:!1})),a=u;else return u?i(r,"BAD_COLLECTION_TYPE",`${u.tag} used for ${l} collection, but expects ${u.collection??"scalar"}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),Ge(n,e,t,i,o)}const c=Ge(n,e,t,i,o,a),d=a.resolve?.(c,u=>i(r,"TAG_RESOLVE_FAILED",u),e.options)??c,f=L(d)?d:new O(d);return f.range=c.range,f.tag=o,a?.format&&(f.format=a.format),f}function Xs(n,e,t){const s=e.offset,i=zs(e,n.options.strict,t);if(!i)return{value:"",type:null,comment:"",range:[s,s,s]};const r=i.mode===">"?O.BLOCK_FOLDED:O.BLOCK_LITERAL,o=e.source?xs(e.source):[];let l=o.length;for(let h=o.length-1;h>=0;--h){const p=o[h][1];if(p===""||p==="\r")l=h;else break}if(l===0){const h=i.chomp==="+"&&o.length>0?`
70
+ `.repeat(Math.max(1,o.length-1)):"";let p=s+i.length;return e.source&&(p+=e.source.length),{value:h,type:r,comment:i.comment,range:[s,p,p]}}let a=e.indent+i.indent,c=e.offset+i.length,d=0;for(let h=0;h<l;++h){const[p,b]=o[h];if(b===""||b==="\r")i.indent===0&&p.length>a&&(a=p.length);else{p.length<a&&t(c+p.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(a=p.length),d=h,a===0&&!n.atRoot&&t(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=p.length+b.length+1}for(let h=o.length-1;h>=l;--h)o[h][0].length>a&&(l=h+1);let f="",u="",m=!1;for(let h=0;h<d;++h)f+=o[h][0].slice(a)+`
71
+ `;for(let h=d;h<l;++h){let[p,b]=o[h];c+=p.length+b.length+1;const w=b[b.length-1]==="\r";if(w&&(b=b.slice(0,-1)),b&&p.length<a){const S=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;t(c-b.length-(w?2:1),"BAD_INDENT",S),p=""}r===O.BLOCK_LITERAL?(f+=u+p.slice(a)+b,u=`
72
+ `):p.length>a||b[0]===" "?(u===" "?u=`
73
+ `:!m&&u===`
74
+ `&&(u=`
75
+
76
+ `),f+=u+p.slice(a)+b,u=`
77
+ `,m=!0):b===""?u===`
78
+ `?f+=`
79
+ `:u=`
80
+ `:(f+=u+b,u=" ",m=!1)}switch(i.chomp){case"-":break;case"+":for(let h=l;h<o.length;++h)f+=`
81
+ `+o[h][0].slice(a);f[f.length-1]!==`
82
+ `&&(f+=`
83
+ `);break;default:f+=`
84
+ `}const g=s+i.length+e.source.length;return{value:f,type:r,comment:i.comment,range:[s,g,g]}}function zs({offset:n,props:e},t,s){if(e[0].type!=="block-scalar-header")return s(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=e[0],r=i[0];let o=0,l="",a=-1;for(let u=1;u<i.length;++u){const m=i[u];if(!l&&(m==="-"||m==="+"))l=m;else{const g=Number(m);!o&&g?o=g:a===-1&&(a=n+u)}}a!==-1&&s(a,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,d="",f=i.length;for(let u=1;u<e.length;++u){const m=e[u];switch(m.type){case"space":c=!0;case"newline":f+=m.source.length;break;case"comment":t&&!c&&s(m,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),f+=m.source.length,d=m.source.substring(1);break;case"error":s(m,"UNEXPECTED_TOKEN",m.message),f+=m.source.length;break;default:{const g=`Unexpected token in block scalar header: ${m.type}`;s(m,"UNEXPECTED_TOKEN",g);const h=m.source;h&&typeof h=="string"&&(f+=h.length)}}}return{mode:r,indent:o,chomp:l,comment:d,length:f}}function xs(n){const e=n.split(/\n( *)/),t=e[0],s=t.match(/^( *)/),r=[s?.[1]?[s[1],t.slice(s[1].length)]:["",t]];for(let o=1;o<e.length;o+=2)r.push([e[o],e[o+1]]);return r}function Zs(n,e,t){const{offset:s,type:i,source:r,end:o}=n;let l,a;const c=(u,m,g)=>t(s+u,m,g);switch(i){case"scalar":l=O.PLAIN,a=en(r,c);break;case"single-quoted-scalar":l=O.QUOTE_SINGLE,a=tn(r,c);break;case"double-quoted-scalar":l=O.QUOTE_DOUBLE,a=sn(r,c);break;default:return t(n,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[s,s+r.length,s+r.length]}}const d=s+r.length,f=ke(o,d,e,t);return{value:a,type:l,comment:f.comment,range:[s,d,f.offset]}}function en(n,e){let t="";switch(n[0]){case" ":t="a tab character";break;case",":t="flow indicator character ,";break;case"%":t="directive indicator character %";break;case"|":case">":{t=`block scalar indicator ${n[0]}`;break}case"@":case"`":{t=`reserved character ${n[0]}`;break}}return t&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${t}`),is(n)}function tn(n,e){return(n[n.length-1]!=="'"||n.length===1)&&e(n.length,"MISSING_CHAR","Missing closing 'quote"),is(n.slice(1,-1)).replace(/''/g,"'")}function is(n){let e,t;try{e=new RegExp(`(.*?)(?<![ ])[ ]*\r?
85
+ `,"sy"),t=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
86
+ `,"sy")}catch{e=/(.*?)[ \t]*\r?\n/sy,t=/[ \t]*(.*?)[ \t]*\r?\n/sy}let s=e.exec(n);if(!s)return n;let i=s[1],r=" ",o=e.lastIndex;for(t.lastIndex=o;s=t.exec(n);)s[1]===""?r===`
87
+ `?i+=r:r=`
88
+ `:(i+=r+s[1],r=" "),o=t.lastIndex;const l=/[ \t]*(.*)/sy;return l.lastIndex=o,s=l.exec(n),i+r+(s?.[1]??"")}function sn(n,e){let t="";for(let s=1;s<n.length-1;++s){const i=n[s];if(!(i==="\r"&&n[s+1]===`
89
+ `))if(i===`
90
+ `){const{fold:r,offset:o}=nn(n,s);t+=r,s=o}else if(i==="\\"){let r=n[++s];const o=rn[r];if(o)t+=o;else if(r===`
91
+ `)for(r=n[s+1];r===" "||r===" ";)r=n[++s+1];else if(r==="\r"&&n[s+1]===`
92
+ `)for(r=n[++s+1];r===" "||r===" ";)r=n[++s+1];else if(r==="x"||r==="u"||r==="U"){const l=r==="x"?2:r==="u"?4:8;t+=on(n,s+1,l,e),s+=l}else{const l=n.substr(s-1,2);e(s-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),t+=l}}else if(i===" "||i===" "){const r=s;let o=n[s+1];for(;o===" "||o===" ";)o=n[++s+1];o!==`
93
+ `&&!(o==="\r"&&n[s+2]===`
94
+ `)&&(t+=s>r?n.slice(r,s+1):i)}else t+=i}return(n[n.length-1]!=='"'||n.length===1)&&e(n.length,"MISSING_CHAR",'Missing closing "quote'),t}function nn(n,e){let t="",s=n[e+1];for(;(s===" "||s===" "||s===`
95
+ `||s==="\r")&&!(s==="\r"&&n[e+2]!==`
96
+ `);)s===`
97
+ `&&(t+=`
98
+ `),e+=1,s=n[e+1];return t||(t=" "),{fold:t,offset:e}}const rn={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
99
+ `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function on(n,e,t,s){const i=n.substr(e,t),o=i.length===t&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;try{return String.fromCodePoint(o)}catch{const l=n.substr(e-2,t+2);return s(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),l}}function rs(n,e,t,s){const{value:i,type:r,comment:o,range:l}=e.type==="block-scalar"?Xs(n,e,s):Zs(e,n.options.strict,s),a=t?n.directives.tagName(t.source,f=>s(t,"TAG_RESOLVE_FAILED",f)):null;let c;n.options.stringKeys&&n.atKey?c=n.schema[q]:a?c=ln(n.schema,i,a,t,s):e.type==="scalar"?c=an(n,i,e,s):c=n.schema[q];let d;try{const f=c.resolve(i,u=>s(t??e,"TAG_RESOLVE_FAILED",u),n.options);d=I(f)?f:new O(f)}catch(f){const u=f instanceof Error?f.message:String(f);s(t??e,"TAG_RESOLVE_FAILED",u),d=new O(i)}return d.range=l,d.source=i,r&&(d.type=r),a&&(d.tag=a),c.format&&(d.format=c.format),o&&(d.comment=o),d}function ln(n,e,t,s,i){if(t==="!")return n[q];const r=[];for(const l of n.tags)if(!l.collection&&l.tag===t)if(l.default&&l.test)r.push(l);else return l;for(const l of r)if(l.test?.test(e))return l;const o=n.knownTags[t];return o&&!o.collection?(n.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${t}`,t!=="tag:yaml.org,2002:str"),n[q])}function an({atKey:n,directives:e,schema:t},s,i,r){const o=t.tags.find(l=>(l.default===!0||n&&l.default==="key")&&l.test?.test(s))||t[q];if(t.compat){const l=t.compat.find(a=>a.default&&a.test?.test(s))??t[q];if(o.tag!==l.tag){const a=e.tagString(o.tag),c=e.tagString(l.tag),d=`Value may be parsed as either ${a} or ${c}`;r(i,"TAG_RESOLVE_FAILED",d,!0)}}return o}function cn(n,e,t){if(e){t??(t=e.length);for(let s=t-1;s>=0;--s){let i=e[s];switch(i.type){case"space":case"comment":case"newline":n-=i.source.length;continue}for(i=e[++s];i?.type==="space";)n+=i.source.length,i=e[++s];break}}return n}const fn={composeNode:os,composeEmptyNode:pt};function os(n,e,t,s){const i=n.atKey,{spaceBefore:r,comment:o,anchor:l,tag:a}=t;let c,d=!0;switch(e.type){case"alias":c=un(n,e,s),(l||a)&&s(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=rs(n,e,a,s),l&&(c.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{c=Ws(fn,n,e,t,s),l&&(c.anchor=l.source.substring(1))}catch(f){const u=f instanceof Error?f.message:String(f);s(e,"RESOURCE_EXHAUSTION",u)}break;default:{const f=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;s(e,"UNEXPECTED_TOKEN",f),d=!1}}return c??(c=pt(n,e.offset,void 0,null,t,s)),l&&c.anchor===""&&s(l,"BAD_ALIAS","Anchor cannot be an empty string"),i&&n.options.stringKeys&&(!I(c)||typeof c.value!="string"||c.tag&&c.tag!=="tag:yaml.org,2002:str")&&s(a??e,"NON_STRING_KEY","With stringKeys, all keys must be strings"),r&&(c.spaceBefore=!0),o&&(e.type==="scalar"&&e.source===""?c.comment=o:c.commentBefore=o),n.options.keepSourceTokens&&d&&(c.srcToken=e),c}function pt(n,e,t,s,{spaceBefore:i,comment:r,anchor:o,tag:l,end:a},c){const d={type:"scalar",offset:cn(e,t,s),indent:-1,source:""},f=rs(n,d,l,c);return o&&(f.anchor=o.source.substring(1),f.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(f.spaceBefore=!0),r&&(f.comment=r,f.range[2]=a),f}function un({options:n},{offset:e,source:t,end:s},i){const r=new st(t.substring(1));r.source===""&&i(e,"BAD_ALIAS","Alias cannot be an empty string"),r.source.endsWith(":")&&i(e+t.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=e+t.length,l=ke(s,o,n.strict,i);return r.range=[e,o,l.offset],l.comment&&(r.comment=l.comment),r}function hn(n,e,{offset:t,start:s,value:i,end:r},o){const l=Object.assign({_directives:e},n),a=new Re(void 0,l),c={atKey:!1,atRoot:!0,directives:a.directives,options:a.options,schema:a.schema},d=ie(s,{indicator:"doc-start",next:i??r?.[0],offset:t,onError:o,parentIndent:0,startOnNewline:!0});d.found&&(a.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!d.hasNewline&&o(d.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),a.contents=i?os(c,i,d,o):pt(c,d.end,s,null,d,o);const f=a.contents.range[2],u=ke(r,f,!1,o);return u.comment&&(a.comment=u.comment),a.range=[t,f,u.offset],a}function fe(n){if(typeof n=="number")return[n,n+1];if(Array.isArray(n))return n.length===2?n:[n[0],n[1]];const{offset:e,source:t}=n;return[e,e+(typeof t=="string"?t.length:1)]}function Ot(n){let e="",t=!1,s=!1;for(let i=0;i<n.length;++i){const r=n[i];switch(r[0]){case"#":e+=(e===""?"":s?`
100
+
101
+ `:`
102
+ `)+(r.substring(1)||" "),t=!0,s=!1;break;case"%":n[i+1]?.[0]!=="#"&&(i+=1),t=!1;break;default:t||(s=!0),t=!1}}return{comment:e,afterEmptyLine:s}}class dn{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(t,s,i,r)=>{const o=fe(t);r?this.warnings.push(new Ys(o,s,i)):this.errors.push(new he(o,s,i))},this.directives=new _({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:s,afterEmptyLine:i}=Ot(this.prelude);if(s){const r=e.contents;if(t)e.comment=e.comment?`${e.comment}
103
+ ${s}`:s;else if(i||e.directives.docStart||!r)e.commentBefore=s;else if(E(r)&&!r.flow&&r.items.length>0){let o=r.items[0];$(o)&&(o=o.key);const l=o.commentBefore;o.commentBefore=l?`${s}
104
+ ${l}`:s}else{const o=r.commentBefore;r.commentBefore=o?`${s}
105
+ ${o}`:s}}if(t){for(let r=0;r<this.errors.length;++r)e.errors.push(this.errors[r]);for(let r=0;r<this.warnings.length;++r)e.warnings.push(this.warnings[r])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Ot(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,s=-1){for(const i of e)yield*this.next(i);yield*this.end(t,s)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,s,i)=>{const r=fe(e);r[0]+=t,this.onError(r,"BAD_DIRECTIVE",s,i)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=hn(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,s=new he(fe(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(s):this.doc.errors.push(s);break}case"doc-end":{if(!this.doc){const s="Unexpected doc-end without preceding document";this.errors.push(new he(fe(e),"UNEXPECTED_TOKEN",s));break}this.doc.directives.docEnd=!0;const t=ke(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const s=this.doc.comment;this.doc.comment=s?`${s}
106
+ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new he(fe(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const s=Object.assign({_directives:this.directives},this.options),i=new Re(void 0,s);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,t,t],this.decorate(i,!1),yield i}}}const ls="\uFEFF",as="",cs="",Ze="";function pn(n){switch(n){case ls:return"byte-order-mark";case as:return"doc-mode";case cs:return"flow-error-end";case Ze:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
107
+ `:case`\r
108
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(n[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function j(n){switch(n){case void 0:case" ":case`
109
+ `:case"\r":case" ":return!0;default:return!1}}const At=new Set("0123456789ABCDEFabcdef"),mn=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Ae=new Set(",[]{}"),gn=new Set(` ,[]{}
110
+ \r `),Qe=n=>!n||gn.has(n);class yn{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if(typeof e!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let s=this.next??"stream";for(;s&&(t||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===" "||t===" ";)t=this.buffer[++e];return!t||t==="#"||t===`
111
+ `?!0:t==="\r"?this.buffer[e+1]===`
112
+ `:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let s=0;for(;t===" ";)t=this.buffer[++s+e];if(t==="\r"){const i=this.buffer[s+e+1];if(i===`
113
+ `||!i&&!this.atEnd)return e+s+1}return t===`
114
+ `||s>=this.indentNext||!t&&!this.atEnd?e+s:-1}if(t==="-"||t==="."){const s=this.buffer.substr(e,3);if((s==="---"||s==="...")&&j(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!="number"||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
115
+ `,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext("stream");if(e[0]===ls&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let t=e.length,s=e.indexOf("#");for(;s!==-1;){const r=e[s-1];if(r===" "||r===" "){t=s-1;break}else s=e.indexOf("#",s+1)}for(;;){const r=e[t-1];if(r===" "||r===" ")t-=1;else break}const i=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield as,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if(e==="-"||e==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const t=this.peek(3);if((t==="---"||t==="...")&&j(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,t==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!j(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&j(t)){const s=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=s,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(e===null)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Qe),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,s=-1;do e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=s=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((s!==-1&&s<this.indentNext&&i[0]!=="#"||s===0&&(i.startsWith("---")||i.startsWith("..."))&&j(i[3]))&&!(s===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield cs,yield*this.parseLineStart();let r=0;for(;i[r]===",";)r+=yield*this.pushCount(1),r+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(r+=yield*this.pushIndicators(),i[r]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-r),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Qe),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const o=this.charAt(1);if(this.flowKey||j(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;t!==-1&&this.buffer[t+1]==="'";)t=this.buffer.indexOf("'",t+2);else for(;t!==-1;){let r=0;for(;this.buffer[t-1-r]==="\\";)r+=1;if(r%2===0)break;t=this.buffer.indexOf('"',t+1)}const s=this.buffer.substring(0,t);let i=s.indexOf(`
116
+ `,this.pos);if(i!==-1){for(;i!==-1;){const r=this.continueScalar(i+1);if(r===-1)break;i=s.indexOf(`
117
+ `,r)}i!==-1&&(t=i-(s[i-1]==="\r"?2:1))}if(t===-1){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if(t==="+")this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if(t!=="-")break}return yield*this.pushUntil(t=>j(t)||t==="#")}*parseBlockScalar(){let e=this.pos-1,t=0,s;e:for(let r=this.pos;s=this.buffer[r];++r)switch(s){case" ":t+=1;break;case`
118
+ `:e=r,t=0;break;case"\r":{const o=this.buffer[r+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===`
119
+ `)break}default:break e}if(!s&&!this.atEnd)return this.setNext("block-scalar");if(t>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=t:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const r=this.continueScalar(e+1);if(r===-1)break;e=this.buffer.indexOf(`
120
+ `,r)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let i=e+1;for(s=this.buffer[i];s===" ";)s=this.buffer[++i];if(s===" "){for(;s===" "||s===" "||s==="\r"||s===`
121
+ `;)s=this.buffer[++i];e=i-1}else if(!this.blockScalarKeep)do{let r=e-1,o=this.buffer[r];o==="\r"&&(o=this.buffer[--r]);const l=r;for(;o===" ";)o=this.buffer[--r];if(o===`
122
+ `&&r>=this.pos&&r+1+t>l)e=r;else break}while(!0);return yield Ze,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t=this.pos-1,s=this.pos-1,i;for(;i=this.buffer[++s];)if(i===":"){const r=this.buffer[s+1];if(j(r)||e&&Ae.has(r))break;t=s}else if(j(i)){let r=this.buffer[s+1];if(i==="\r"&&(r===`
123
+ `?(s+=1,i=`
124
+ `,r=this.buffer[s+1]):t=s),r==="#"||e&&Ae.has(r))break;if(i===`
125
+ `){const o=this.continueScalar(s+1);if(o===-1)break;s=Math.max(s,o-2)}}else{if(e&&Ae.has(i))break;t=s}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield Ze,yield*this.pushToIndex(t+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const s=this.buffer.slice(this.pos,e);return s?(yield s,this.pos+=s.length,s.length):(t&&(yield""),0)}*pushIndicators(){let e=0;e:for(;;){switch(this.charAt(0)){case"!":e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue e;case"&":e+=yield*this.pushUntil(Qe),e+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{const t=this.flowLevel>0,s=this.charAt(1);if(j(s)||t&&Ae.has(s)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue e}}}break e}return e}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2,t=this.buffer[e];for(;!j(t)&&t!==">";)t=this.buffer[++e];return yield*this.pushToIndex(t===">"?e+1:e,!1)}else{let e=this.pos+1,t=this.buffer[e];for(;t;)if(mn.has(t))t=this.buffer[++e];else if(t==="%"&&At.has(this.buffer[e+1])&&At.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return e===`
126
+ `?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
127
+ `?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,s;do s=this.buffer[++t];while(s===" "||e&&s===" ");const i=t-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=t),i}*pushUntil(e){let t=this.pos,s=this.buffer[t];for(;!e(s);)s=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class bn{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,s=this.lineStarts.length;for(;t<s;){const r=t+s>>1;this.lineStarts[r]<e?t=r+1:s=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};const i=this.lineStarts[t-1];return{line:t,col:e-i+1}}}}function V(n,e){for(let t=0;t<n.length;++t)if(n[t].type===e)return!0;return!1}function Tt(n){for(let e=0;e<n.length;++e)switch(n[e].type){case"space":case"comment":case"newline":break;default:return e}return-1}function fs(n){switch(n?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Te(n){switch(n.type){case"document":return n.start;case"block-map":{const e=n.items[n.items.length-1];return e.sep??e.start}case"block-seq":return n.items[n.items.length-1].start;default:return[]}}function z(n){if(n.length===0)return[];let e=n.length;e:for(;--e>=0;)switch(n[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;n[++e]?.type==="space";);return n.splice(e,n.length)}function ve(n,e){if(e.length<1e5)Array.prototype.push.apply(n,e);else for(let t=0;t<e.length;++t)n.push(e[t])}function It(n){if(n.start.type==="flow-seq-start")for(const e of n.items)e.sep&&!e.value&&!V(e.start,"explicit-key-ind")&&!V(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,fs(e.value)?e.value.end?ve(e.value.end,e.sep):e.value.end=e.sep:ve(e.start,e.sep),delete e.sep)}class wn{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new yn,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const s of this.lexer.lex(e,t))yield*this.next(s);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}const t=pn(e);if(t)if(t==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&e[0]===" "&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const s=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:s,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if(this.type==="doc-end"&&e?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(!t)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield t;else{const s=this.peek(1);switch(t.type==="block-scalar"?t.indent="indent"in s?s.indent:0:t.type==="flow-collection"&&s.type==="document"&&(t.indent=0),t.type==="flow-collection"&&It(t),s.type){case"document":s.value=t;break;case"block-scalar":s.props.push(t);break;case"block-map":{const i=s.items[s.items.length-1];if(i.value){s.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=t;else{Object.assign(i,{key:t,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{const i=s.items[s.items.length-1];i.value?s.items.push({start:[],value:t}):i.value=t;break}case"flow-collection":{const i=s.items[s.items.length-1];!i||i.value?s.items.push({start:[],key:t,sep:[]}):i.sep?i.value=t:Object.assign(i,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((s.type==="document"||s.type==="block-map"||s.type==="block-seq")&&(t.type==="block-map"||t.type==="block-seq")){const i=t.items[t.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&Tt(i.start)===-1&&(t.indent===0||i.start.every(r=>r.type!=="comment"||r.indent<t.indent))&&(s.type==="document"?s.end=i.start:s.items.push({start:i.start}),t.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":{Tt(e.start)!==-1?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type==="map-value-ind"){const t=Te(this.peek(2)),s=z(t);let i;e.end?(i=e.end,i.push(this.sourceToken),delete e.end):i=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let t=this.source.indexOf(`
128
+ `)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
129
+ `,t)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const s="end"in t.value?t.value.end:void 0;(Array.isArray(s)?s[s.length-1]:void 0)?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){ve(i,t.start),i.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const s=!this.onKeyLine&&this.indent===e.indent,i=s&&(t.sep||t.explicitKey)&&this.type!=="seq-item-ind";let r=[];if(i&&t.sep&&!t.value){const o=[];for(let l=0;l<t.sep.length;++l){const a=t.sep[l];switch(a.type){case"newline":o.push(l);break;case"space":break;case"comment":a.indent>e.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(r=t.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":i||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):i||t.value?(r.push(this.sourceToken),e.items.push({start:r,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(V(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(fs(t.key)&&!V(t.sep,"newline")){const o=z(t.start),l=t.key,a=t.sep;a.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:l,sep:a}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(V(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const o=z(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||i?e.items.push({start:r,key:null,sep:[this.sourceToken]}):V(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);i||t.value?(e.items.push({start:r,key:o,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(o):(Object.assign(t,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{const o=this.startBlockValue(e);if(o){if(o.type==="block-seq"){if(!t.explicitKey&&t.sep&&!V(t.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else s&&e.items.push({start:r});this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const s="end"in t.value?t.value.end:void 0;(Array.isArray(s)?s[s.length-1]:void 0)?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){ve(i,t.start),i.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||V(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){const s=this.startBlockValue(e);if(s){this.stack.push(s);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if(this.type==="flow-error-end"){let s;do yield*this.pop(),s=this.peek(1);while(s?.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:i,sep:[]}):t.sep?this.stack.push(i):Object.assign(t,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}const s=this.startBlockValue(e);s?this.stack.push(s):(yield*this.pop(),yield*this.step())}else{const s=this.peek(2);if(s.type==="block-map"&&(this.type==="map-value-ind"&&s.indent===e.indent||this.type==="newline"&&!s.items[s.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&s.type!=="flow-collection"){const i=Te(s),r=z(i);It(e);const o=e.end.splice(1,e.end.length);o.push(this.sourceToken);const l={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=l}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let t=this.source.indexOf(`
130
+ `)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
131
+ `,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Te(e),s=z(t);return s.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Te(e),s=z(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!=="comment"||this.indent<=t?!1:e.every(s=>s.type==="newline"||s.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function kn(n){const e=n.prettyErrors!==!1;return{lineCounter:n.lineCounter||e&&new bn||null,prettyErrors:e}}function Sn(n,e={}){const{lineCounter:t,prettyErrors:s}=kn(e),i=new wn(t?.addNewLine),r=new dn(e);let o=null;for(const l of r.compose(i.parse(n),!0,n.length))if(!o)o=l;else if(o.options.logLevel!=="silent"){o.errors.push(new he(l.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return s&&t&&(o.errors.forEach(St(n,t)),o.warnings.forEach(St(n,t))),o}function Nn(n){const e=/^---\s*\r?\n([\s\S]*?)\r?\n---\s*(?:\r?\n|$)/.exec(n);if(!e)return;const t=Sn(e[1]??""),s=t.errors.length?void 0:t.toJS(),i=s&&typeof s=="object"&&!Array.isArray(s)?Object.entries(s):[],r=i.find(([o])=>o==="title")?.[1];return{body:n.slice(e[0].length),entries:i,lineOffset:(e[0].match(/\n/g)??[]).length,title:typeof r=="string"&&r.trim()?r.trim():void 0}}function Et(n){return n.replaceAll(/[`*_~[\]]/g,"").replaceAll(/\s+/g," ").trim()}function On(n){const e=n.replace(/^\uFEFF/,"").split(/\r?\n/);let t=0;for(;t<e.length&&!e[t]?.trim();)t+=1;const s=e[t]?.trimEnd();if(!s)return;const i=/^(#{1,6})\s+(.+?)\s*#*\s*$/.exec(s);if(i?.[2])return Et(i[2]);const r=e[t+1]?.trim();if(r&&/^(=+|-+)$/.test(r))return Et(s.trim())}function An(n){const e=Nn(n),t=e?.body??n;return{body:t,entries:e?.entries??[],lineOffset:e?.lineOffset??0,title:e?.title??On(t)}}export{An as m};