@andrew.ng/symbion 0.1.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 (417) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +125 -0
  3. package/apps/daemon/dist/boot/menu.d.ts +11 -0
  4. package/apps/daemon/dist/boot/menu.d.ts.map +1 -0
  5. package/apps/daemon/dist/boot/menu.js +32 -0
  6. package/apps/daemon/dist/boot/menu.js.map +1 -0
  7. package/apps/daemon/dist/fs/folderPick.d.ts +13 -0
  8. package/apps/daemon/dist/fs/folderPick.d.ts.map +1 -0
  9. package/apps/daemon/dist/fs/folderPick.js +4 -0
  10. package/apps/daemon/dist/fs/folderPick.js.map +1 -0
  11. package/apps/daemon/dist/fs/listDir.d.ts +13 -0
  12. package/apps/daemon/dist/fs/listDir.d.ts.map +1 -0
  13. package/apps/daemon/dist/fs/listDir.js +121 -0
  14. package/apps/daemon/dist/fs/listDir.js.map +1 -0
  15. package/apps/daemon/dist/fs/readTargetFiles.d.ts +20 -0
  16. package/apps/daemon/dist/fs/readTargetFiles.d.ts.map +1 -0
  17. package/apps/daemon/dist/fs/readTargetFiles.js +76 -0
  18. package/apps/daemon/dist/fs/readTargetFiles.js.map +1 -0
  19. package/apps/daemon/dist/fs/writeFiles.d.ts +32 -0
  20. package/apps/daemon/dist/fs/writeFiles.d.ts.map +1 -0
  21. package/apps/daemon/dist/fs/writeFiles.js +93 -0
  22. package/apps/daemon/dist/fs/writeFiles.js.map +1 -0
  23. package/apps/daemon/dist/git/status.d.ts +11 -0
  24. package/apps/daemon/dist/git/status.d.ts.map +1 -0
  25. package/apps/daemon/dist/git/status.js +30 -0
  26. package/apps/daemon/dist/git/status.js.map +1 -0
  27. package/apps/daemon/dist/index.d.ts +2 -0
  28. package/apps/daemon/dist/index.d.ts.map +1 -0
  29. package/apps/daemon/dist/index.js +69 -0
  30. package/apps/daemon/dist/index.js.map +1 -0
  31. package/apps/daemon/dist/llm/anthropicProvider.d.ts +26 -0
  32. package/apps/daemon/dist/llm/anthropicProvider.d.ts.map +1 -0
  33. package/apps/daemon/dist/llm/anthropicProvider.js +90 -0
  34. package/apps/daemon/dist/llm/anthropicProvider.js.map +1 -0
  35. package/apps/daemon/dist/llm/geminiProvider.d.ts +25 -0
  36. package/apps/daemon/dist/llm/geminiProvider.d.ts.map +1 -0
  37. package/apps/daemon/dist/llm/geminiProvider.js +89 -0
  38. package/apps/daemon/dist/llm/geminiProvider.js.map +1 -0
  39. package/apps/daemon/dist/llm/installInstructions.d.ts +40 -0
  40. package/apps/daemon/dist/llm/installInstructions.d.ts.map +1 -0
  41. package/apps/daemon/dist/llm/installInstructions.js +80 -0
  42. package/apps/daemon/dist/llm/installInstructions.js.map +1 -0
  43. package/apps/daemon/dist/llm/ollamaProvider.d.ts +55 -0
  44. package/apps/daemon/dist/llm/ollamaProvider.d.ts.map +1 -0
  45. package/apps/daemon/dist/llm/ollamaProvider.js +213 -0
  46. package/apps/daemon/dist/llm/ollamaProvider.js.map +1 -0
  47. package/apps/daemon/dist/llm/openaiProvider.d.ts +25 -0
  48. package/apps/daemon/dist/llm/openaiProvider.d.ts.map +1 -0
  49. package/apps/daemon/dist/llm/openaiProvider.js +90 -0
  50. package/apps/daemon/dist/llm/openaiProvider.js.map +1 -0
  51. package/apps/daemon/dist/llm/providerStatus.d.ts +60 -0
  52. package/apps/daemon/dist/llm/providerStatus.d.ts.map +1 -0
  53. package/apps/daemon/dist/llm/providerStatus.js +88 -0
  54. package/apps/daemon/dist/llm/providerStatus.js.map +1 -0
  55. package/apps/daemon/dist/llm/registry.d.ts +14 -0
  56. package/apps/daemon/dist/llm/registry.d.ts.map +1 -0
  57. package/apps/daemon/dist/llm/registry.js +35 -0
  58. package/apps/daemon/dist/llm/registry.js.map +1 -0
  59. package/apps/daemon/dist/llm/remoteProvider.d.ts +25 -0
  60. package/apps/daemon/dist/llm/remoteProvider.d.ts.map +1 -0
  61. package/apps/daemon/dist/llm/remoteProvider.js +88 -0
  62. package/apps/daemon/dist/llm/remoteProvider.js.map +1 -0
  63. package/apps/daemon/dist/llm/secrets.d.ts +55 -0
  64. package/apps/daemon/dist/llm/secrets.d.ts.map +1 -0
  65. package/apps/daemon/dist/llm/secrets.js +167 -0
  66. package/apps/daemon/dist/llm/secrets.js.map +1 -0
  67. package/apps/daemon/dist/llm/types.d.ts +50 -0
  68. package/apps/daemon/dist/llm/types.d.ts.map +1 -0
  69. package/apps/daemon/dist/llm/types.js +16 -0
  70. package/apps/daemon/dist/llm/types.js.map +1 -0
  71. package/apps/daemon/dist/net/findOpenPort.d.ts +26 -0
  72. package/apps/daemon/dist/net/findOpenPort.d.ts.map +1 -0
  73. package/apps/daemon/dist/net/findOpenPort.js +37 -0
  74. package/apps/daemon/dist/net/findOpenPort.js.map +1 -0
  75. package/apps/daemon/dist/rpc/contract.d.ts +10 -0
  76. package/apps/daemon/dist/rpc/contract.d.ts.map +1 -0
  77. package/apps/daemon/dist/rpc/contract.js +2 -0
  78. package/apps/daemon/dist/rpc/contract.js.map +1 -0
  79. package/apps/daemon/dist/rpc/guard.d.ts +18 -0
  80. package/apps/daemon/dist/rpc/guard.d.ts.map +1 -0
  81. package/apps/daemon/dist/rpc/guard.js +75 -0
  82. package/apps/daemon/dist/rpc/guard.js.map +1 -0
  83. package/apps/daemon/dist/rpc/handlers.d.ts +118 -0
  84. package/apps/daemon/dist/rpc/handlers.d.ts.map +1 -0
  85. package/apps/daemon/dist/rpc/handlers.js +694 -0
  86. package/apps/daemon/dist/rpc/handlers.js.map +1 -0
  87. package/apps/daemon/dist/rpc/pathStyle.d.ts +27 -0
  88. package/apps/daemon/dist/rpc/pathStyle.d.ts.map +1 -0
  89. package/apps/daemon/dist/rpc/pathStyle.js +43 -0
  90. package/apps/daemon/dist/rpc/pathStyle.js.map +1 -0
  91. package/apps/daemon/dist/rpc/rpcError.d.ts +13 -0
  92. package/apps/daemon/dist/rpc/rpcError.d.ts.map +1 -0
  93. package/apps/daemon/dist/rpc/rpcError.js +16 -0
  94. package/apps/daemon/dist/rpc/rpcError.js.map +1 -0
  95. package/apps/daemon/dist/server.d.ts +18 -0
  96. package/apps/daemon/dist/server.d.ts.map +1 -0
  97. package/apps/daemon/dist/server.js +208 -0
  98. package/apps/daemon/dist/server.js.map +1 -0
  99. package/apps/daemon/dist/store/publishLog.d.ts +6 -0
  100. package/apps/daemon/dist/store/publishLog.d.ts.map +1 -0
  101. package/apps/daemon/dist/store/publishLog.js +27 -0
  102. package/apps/daemon/dist/store/publishLog.js.map +1 -0
  103. package/apps/daemon/dist/store/store.d.ts +35 -0
  104. package/apps/daemon/dist/store/store.d.ts.map +1 -0
  105. package/apps/daemon/dist/store/store.js +129 -0
  106. package/apps/daemon/dist/store/store.js.map +1 -0
  107. package/apps/daemon/dist/templates/githubFetch.d.ts +49 -0
  108. package/apps/daemon/dist/templates/githubFetch.d.ts.map +1 -0
  109. package/apps/daemon/dist/templates/githubFetch.js +168 -0
  110. package/apps/daemon/dist/templates/githubFetch.js.map +1 -0
  111. package/apps/web/out/404.html +1 -0
  112. package/apps/web/out/_next/static/IIw50lkv8jQuwHOBZJifS/_buildManifest.js +1 -0
  113. package/apps/web/out/_next/static/IIw50lkv8jQuwHOBZJifS/_ssgManifest.js +1 -0
  114. package/apps/web/out/_next/static/chunks/1dd3208c-6a745fea7bd2124a.js +1 -0
  115. package/apps/web/out/_next/static/chunks/426-deb95a16531d3b4b.js +25 -0
  116. package/apps/web/out/_next/static/chunks/528-6e64508688610bfe.js +2 -0
  117. package/apps/web/out/_next/static/chunks/656-fd1628581ad77b01.js +1 -0
  118. package/apps/web/out/_next/static/chunks/777-d587bc7cc0fc6be8.js +1 -0
  119. package/apps/web/out/_next/static/chunks/990-f2445c68c17fa077.js +1 -0
  120. package/apps/web/out/_next/static/chunks/app/_not-found/page-e0d77774c4eb9aef.js +1 -0
  121. package/apps/web/out/_next/static/chunks/app/layout-e5023aba6634ce53.js +1 -0
  122. package/apps/web/out/_next/static/chunks/app/page-a545c902535ac2e3.js +1 -0
  123. package/apps/web/out/_next/static/chunks/app/settings/page-a68ed4ae2ccb8840.js +1 -0
  124. package/apps/web/out/_next/static/chunks/app/templates/page-e5f0cefb905e5b72.js +1 -0
  125. package/apps/web/out/_next/static/chunks/baeaa4ff-28d2e32e4dd119b9.js +1 -0
  126. package/apps/web/out/_next/static/chunks/eb0351e1-329719bc902eaf71.js +1 -0
  127. package/apps/web/out/_next/static/chunks/framework-3664cab31236a9fa.js +1 -0
  128. package/apps/web/out/_next/static/chunks/main-app-d515c42ecb17b8e8.js +1 -0
  129. package/apps/web/out/_next/static/chunks/main-ff24788874d4ec1b.js +1 -0
  130. package/apps/web/out/_next/static/chunks/pages/_app-10a93ab5b7c32eb3.js +1 -0
  131. package/apps/web/out/_next/static/chunks/pages/_error-2d792b2a41857be4.js +1 -0
  132. package/apps/web/out/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  133. package/apps/web/out/_next/static/chunks/webpack-ae7ee8fe97fdceba.js +1 -0
  134. package/apps/web/out/_next/static/css/0a42edcfc2beb916.css +3 -0
  135. package/apps/web/out/_next/static/css/a275cc2b185e04f8.css +1 -0
  136. package/apps/web/out/_next/static/media/011e180705008d6f-s.woff2 +0 -0
  137. package/apps/web/out/_next/static/media/20535187d867b7b9-s.woff2 +0 -0
  138. package/apps/web/out/_next/static/media/26d4368bf94c0ec4-s.p.woff2 +0 -0
  139. package/apps/web/out/_next/static/media/2801417b65625cf5-s.woff2 +0 -0
  140. package/apps/web/out/_next/static/media/28793f5c5e3d822d-s.woff2 +0 -0
  141. package/apps/web/out/_next/static/media/5356a6a4f2c8c8d8-s.woff2 +0 -0
  142. package/apps/web/out/_next/static/media/58f386aa6b1a2a92-s.woff2 +0 -0
  143. package/apps/web/out/_next/static/media/73cb51aac9c97f90-s.woff2 +0 -0
  144. package/apps/web/out/_next/static/media/7b19b489dc6743ba-s.woff2 +0 -0
  145. package/apps/web/out/_next/static/media/7ba5fb2a8c88521c-s.woff2 +0 -0
  146. package/apps/web/out/_next/static/media/92eeb95d069020cc-s.woff2 +0 -0
  147. package/apps/web/out/_next/static/media/98e207f02528a563-s.p.woff2 +0 -0
  148. package/apps/web/out/_next/static/media/99dcf268bda04fe5-s.woff2 +0 -0
  149. package/apps/web/out/_next/static/media/b3bf17a9041d9433-s.woff2 +0 -0
  150. package/apps/web/out/_next/static/media/c9c3823090ec8b55-s.woff2 +0 -0
  151. package/apps/web/out/_next/static/media/d26bbd13d6b70f89-s.woff2 +0 -0
  152. package/apps/web/out/_next/static/media/d29838c109ef09b4-s.woff2 +0 -0
  153. package/apps/web/out/_next/static/media/d3ebbfd689654d3a-s.p.woff2 +0 -0
  154. package/apps/web/out/_next/static/media/db96af6b531dc71f-s.p.woff2 +0 -0
  155. package/apps/web/out/_next/static/media/e40af3453d7c920a-s.woff2 +0 -0
  156. package/apps/web/out/_next/static/media/ef4d5661765d0e49-s.woff2 +0 -0
  157. package/apps/web/out/index.html +1 -0
  158. package/apps/web/out/index.txt +6 -0
  159. package/apps/web/out/settings.html +1 -0
  160. package/apps/web/out/settings.txt +6 -0
  161. package/apps/web/out/templates.html +1 -0
  162. package/apps/web/out/templates.txt +6 -0
  163. package/bin/symbion.mjs +41 -0
  164. package/node_modules/@symbion/core/dist/adapters/claude.d.ts +3 -0
  165. package/node_modules/@symbion/core/dist/adapters/claude.d.ts.map +1 -0
  166. package/node_modules/@symbion/core/dist/adapters/claude.js +43 -0
  167. package/node_modules/@symbion/core/dist/adapters/claude.js.map +1 -0
  168. package/node_modules/@symbion/core/dist/adapters/codex.d.ts +3 -0
  169. package/node_modules/@symbion/core/dist/adapters/codex.d.ts.map +1 -0
  170. package/node_modules/@symbion/core/dist/adapters/codex.js +58 -0
  171. package/node_modules/@symbion/core/dist/adapters/codex.js.map +1 -0
  172. package/node_modules/@symbion/core/dist/adapters/registry.d.ts +5 -0
  173. package/node_modules/@symbion/core/dist/adapters/registry.d.ts.map +1 -0
  174. package/node_modules/@symbion/core/dist/adapters/registry.js +14 -0
  175. package/node_modules/@symbion/core/dist/adapters/registry.js.map +1 -0
  176. package/node_modules/@symbion/core/dist/adapters/types.d.ts +34 -0
  177. package/node_modules/@symbion/core/dist/adapters/types.d.ts.map +1 -0
  178. package/node_modules/@symbion/core/dist/adapters/types.js +2 -0
  179. package/node_modules/@symbion/core/dist/adapters/types.js.map +1 -0
  180. package/node_modules/@symbion/core/dist/diff/conflict.d.ts +19 -0
  181. package/node_modules/@symbion/core/dist/diff/conflict.d.ts.map +1 -0
  182. package/node_modules/@symbion/core/dist/diff/conflict.js +20 -0
  183. package/node_modules/@symbion/core/dist/diff/conflict.js.map +1 -0
  184. package/node_modules/@symbion/core/dist/diff/diff.d.ts +44 -0
  185. package/node_modules/@symbion/core/dist/diff/diff.d.ts.map +1 -0
  186. package/node_modules/@symbion/core/dist/diff/diff.js +124 -0
  187. package/node_modules/@symbion/core/dist/diff/diff.js.map +1 -0
  188. package/node_modules/@symbion/core/dist/generate/bodyPrompt.d.ts +27 -0
  189. package/node_modules/@symbion/core/dist/generate/bodyPrompt.d.ts.map +1 -0
  190. package/node_modules/@symbion/core/dist/generate/bodyPrompt.js +55 -0
  191. package/node_modules/@symbion/core/dist/generate/bodyPrompt.js.map +1 -0
  192. package/node_modules/@symbion/core/dist/generate/description.d.ts +18 -0
  193. package/node_modules/@symbion/core/dist/generate/description.d.ts.map +1 -0
  194. package/node_modules/@symbion/core/dist/generate/description.js +164 -0
  195. package/node_modules/@symbion/core/dist/generate/description.js.map +1 -0
  196. package/node_modules/@symbion/core/dist/index.d.ts +23 -0
  197. package/node_modules/@symbion/core/dist/index.d.ts.map +1 -0
  198. package/node_modules/@symbion/core/dist/index.js +24 -0
  199. package/node_modules/@symbion/core/dist/index.js.map +1 -0
  200. package/node_modules/@symbion/core/dist/ir/refs.d.ts +11 -0
  201. package/node_modules/@symbion/core/dist/ir/refs.d.ts.map +1 -0
  202. package/node_modules/@symbion/core/dist/ir/refs.js +25 -0
  203. package/node_modules/@symbion/core/dist/ir/refs.js.map +1 -0
  204. package/node_modules/@symbion/core/dist/ir/types.d.ts +107 -0
  205. package/node_modules/@symbion/core/dist/ir/types.d.ts.map +1 -0
  206. package/node_modules/@symbion/core/dist/ir/types.js +19 -0
  207. package/node_modules/@symbion/core/dist/ir/types.js.map +1 -0
  208. package/node_modules/@symbion/core/dist/ir/validate.d.ts +13 -0
  209. package/node_modules/@symbion/core/dist/ir/validate.d.ts.map +1 -0
  210. package/node_modules/@symbion/core/dist/ir/validate.js +114 -0
  211. package/node_modules/@symbion/core/dist/ir/validate.js.map +1 -0
  212. package/node_modules/@symbion/core/dist/parse/scan.d.ts +47 -0
  213. package/node_modules/@symbion/core/dist/parse/scan.d.ts.map +1 -0
  214. package/node_modules/@symbion/core/dist/parse/scan.js +109 -0
  215. package/node_modules/@symbion/core/dist/parse/scan.js.map +1 -0
  216. package/node_modules/@symbion/core/dist/render/frontmatter.d.ts +29 -0
  217. package/node_modules/@symbion/core/dist/render/frontmatter.d.ts.map +1 -0
  218. package/node_modules/@symbion/core/dist/render/frontmatter.js +99 -0
  219. package/node_modules/@symbion/core/dist/render/frontmatter.js.map +1 -0
  220. package/node_modules/@symbion/core/dist/render/marker.d.ts +30 -0
  221. package/node_modules/@symbion/core/dist/render/marker.d.ts.map +1 -0
  222. package/node_modules/@symbion/core/dist/render/marker.js +48 -0
  223. package/node_modules/@symbion/core/dist/render/marker.js.map +1 -0
  224. package/node_modules/@symbion/core/dist/render/render.d.ts +12 -0
  225. package/node_modules/@symbion/core/dist/render/render.d.ts.map +1 -0
  226. package/node_modules/@symbion/core/dist/render/render.js +10 -0
  227. package/node_modules/@symbion/core/dist/render/render.js.map +1 -0
  228. package/node_modules/@symbion/core/dist/runcommand/render.d.ts +13 -0
  229. package/node_modules/@symbion/core/dist/runcommand/render.d.ts.map +1 -0
  230. package/node_modules/@symbion/core/dist/runcommand/render.js +19 -0
  231. package/node_modules/@symbion/core/dist/runcommand/render.js.map +1 -0
  232. package/node_modules/@symbion/core/dist/templates/authorSource.d.ts +55 -0
  233. package/node_modules/@symbion/core/dist/templates/authorSource.d.ts.map +1 -0
  234. package/node_modules/@symbion/core/dist/templates/authorSource.js +24 -0
  235. package/node_modules/@symbion/core/dist/templates/authorSource.js.map +1 -0
  236. package/node_modules/@symbion/core/dist/templates/matchAuthorFolders.d.ts +28 -0
  237. package/node_modules/@symbion/core/dist/templates/matchAuthorFolders.d.ts.map +1 -0
  238. package/node_modules/@symbion/core/dist/templates/matchAuthorFolders.js +54 -0
  239. package/node_modules/@symbion/core/dist/templates/matchAuthorFolders.js.map +1 -0
  240. package/node_modules/@symbion/core/dist/templates/parseTemplate.d.ts +42 -0
  241. package/node_modules/@symbion/core/dist/templates/parseTemplate.d.ts.map +1 -0
  242. package/node_modules/@symbion/core/dist/templates/parseTemplate.js +56 -0
  243. package/node_modules/@symbion/core/dist/templates/parseTemplate.js.map +1 -0
  244. package/node_modules/@symbion/core/dist/templates/templateListItem.d.ts +39 -0
  245. package/node_modules/@symbion/core/dist/templates/templateListItem.d.ts.map +1 -0
  246. package/node_modules/@symbion/core/dist/templates/templateListItem.js +2 -0
  247. package/node_modules/@symbion/core/dist/templates/templateListItem.js.map +1 -0
  248. package/node_modules/@symbion/core/dist/util/sha256.d.ts +9 -0
  249. package/node_modules/@symbion/core/dist/util/sha256.d.ts.map +1 -0
  250. package/node_modules/@symbion/core/dist/util/sha256.js +91 -0
  251. package/node_modules/@symbion/core/dist/util/sha256.js.map +1 -0
  252. package/node_modules/@symbion/core/dist/version/semver.d.ts +18 -0
  253. package/node_modules/@symbion/core/dist/version/semver.d.ts.map +1 -0
  254. package/node_modules/@symbion/core/dist/version/semver.js +53 -0
  255. package/node_modules/@symbion/core/dist/version/semver.js.map +1 -0
  256. package/node_modules/@symbion/core/package.json +14 -0
  257. package/node_modules/@symbion/rpc-types/dist/index.d.ts +444 -0
  258. package/node_modules/@symbion/rpc-types/dist/index.d.ts.map +1 -0
  259. package/node_modules/@symbion/rpc-types/dist/index.js +2 -0
  260. package/node_modules/@symbion/rpc-types/dist/index.js.map +1 -0
  261. package/node_modules/@symbion/rpc-types/package.json +11 -0
  262. package/node_modules/yaml/dist/cli.d.ts +8 -0
  263. package/node_modules/yaml/dist/cli.mjs +201 -0
  264. package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  265. package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  266. package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  267. package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  268. package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  269. package/node_modules/yaml/dist/compose/compose-node.js +112 -0
  270. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  271. package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  272. package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  273. package/node_modules/yaml/dist/compose/composer.js +224 -0
  274. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  275. package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  276. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  277. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  278. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  279. package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  280. package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  281. package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  282. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  283. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  284. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  285. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +227 -0
  286. package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  287. package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  288. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  289. package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  290. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  291. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  292. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  293. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  294. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  295. package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  296. package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  297. package/node_modules/yaml/dist/doc/Document.js +337 -0
  298. package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  299. package/node_modules/yaml/dist/doc/anchors.js +76 -0
  300. package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  301. package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  302. package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  303. package/node_modules/yaml/dist/doc/createNode.js +90 -0
  304. package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  305. package/node_modules/yaml/dist/doc/directives.js +178 -0
  306. package/node_modules/yaml/dist/errors.d.ts +21 -0
  307. package/node_modules/yaml/dist/errors.js +62 -0
  308. package/node_modules/yaml/dist/index.d.ts +25 -0
  309. package/node_modules/yaml/dist/index.js +50 -0
  310. package/node_modules/yaml/dist/log.d.ts +3 -0
  311. package/node_modules/yaml/dist/log.js +19 -0
  312. package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  313. package/node_modules/yaml/dist/nodes/Alias.js +118 -0
  314. package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  315. package/node_modules/yaml/dist/nodes/Collection.js +151 -0
  316. package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  317. package/node_modules/yaml/dist/nodes/Node.js +40 -0
  318. package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  319. package/node_modules/yaml/dist/nodes/Pair.js +39 -0
  320. package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
  321. package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  322. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  323. package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  324. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  325. package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  326. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  327. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  328. package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  329. package/node_modules/yaml/dist/nodes/identity.js +53 -0
  330. package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  331. package/node_modules/yaml/dist/nodes/toJS.js +39 -0
  332. package/node_modules/yaml/dist/options.d.ts +350 -0
  333. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  334. package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  335. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  336. package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  337. package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  338. package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  339. package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  340. package/node_modules/yaml/dist/parse/cst.js +112 -0
  341. package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  342. package/node_modules/yaml/dist/parse/lexer.js +723 -0
  343. package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  344. package/node_modules/yaml/dist/parse/line-counter.js +41 -0
  345. package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  346. package/node_modules/yaml/dist/parse/parser.js +980 -0
  347. package/node_modules/yaml/dist/public-api.d.ts +44 -0
  348. package/node_modules/yaml/dist/public-api.js +107 -0
  349. package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  350. package/node_modules/yaml/dist/schema/Schema.js +39 -0
  351. package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  352. package/node_modules/yaml/dist/schema/common/map.js +19 -0
  353. package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  354. package/node_modules/yaml/dist/schema/common/null.js +17 -0
  355. package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  356. package/node_modules/yaml/dist/schema/common/seq.js +19 -0
  357. package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  358. package/node_modules/yaml/dist/schema/common/string.js +16 -0
  359. package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  360. package/node_modules/yaml/dist/schema/core/bool.js +21 -0
  361. package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  362. package/node_modules/yaml/dist/schema/core/float.js +47 -0
  363. package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  364. package/node_modules/yaml/dist/schema/core/int.js +42 -0
  365. package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  366. package/node_modules/yaml/dist/schema/core/schema.js +25 -0
  367. package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  368. package/node_modules/yaml/dist/schema/json/schema.js +64 -0
  369. package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  370. package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  371. package/node_modules/yaml/dist/schema/tags.js +99 -0
  372. package/node_modules/yaml/dist/schema/types.d.ts +92 -0
  373. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  374. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  375. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  376. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  377. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  378. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  379. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  380. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  381. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  382. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
  383. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  384. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  385. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  386. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  387. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  388. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  389. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  390. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  391. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  392. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  393. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  394. package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  395. package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  396. package/node_modules/yaml/dist/stringify/stringify.js +132 -0
  397. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  398. package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
  399. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  400. package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  401. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  402. package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  403. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  404. package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
  405. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  406. package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  407. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  408. package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  409. package/node_modules/yaml/dist/test-events.d.ts +4 -0
  410. package/node_modules/yaml/dist/test-events.js +134 -0
  411. package/node_modules/yaml/dist/util.d.ts +16 -0
  412. package/node_modules/yaml/dist/util.js +28 -0
  413. package/node_modules/yaml/dist/visit.d.ts +102 -0
  414. package/node_modules/yaml/dist/visit.js +236 -0
  415. package/node_modules/yaml/package.json +20 -0
  416. package/node_modules/yaml/util.js +2 -0
  417. package/package.json +39 -0
@@ -0,0 +1,25 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[426],{5224:function(e,t,n){n.d(t,{B1:function(){return ev},GA:function(){return eQ},Gn:function(){return ea},Mb:function(){return l},TK:function(){return o},eC:function(){return c},vQ:function(){return ef},ys:function(){return ex}});var i=n(2130),r=n(4877),s=n(8744);class o{constructor(e,t,n,i){this.state=e,this.pos=t,this.explicit=n,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),r=i.search(u(e,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function a(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function l(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,i]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let e=1;e<i.length;e++)n[i[e]]=!0}let i=a(t)+a(n)+"*$";return[RegExp("^"+i),new RegExp(i)]}(t);return e=>{let r=e.matchBefore(i);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:n}:null}}function c(e,t){return n=>{for(let t=(0,s.qz)(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}class h{constructor(e,t,n,i){this.completion=e,this.source=t,this.match=n,this.score=i}}function O(e){return e.selection.main.from}function u(e,t){var n;let{source:i}=e,r=t&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}let f=i.q6.define(),p=new WeakMap;function d(e){if(!Array.isArray(e))return e;let t=p.get(e);return t||p.set(e,t=l(e)),t}let m=i.Py.define(),g=i.Py.define();class y{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=(0,i.gm)(e,t),r=(0,i.nZ)(n);this.chars.push(n);let s=e.slice(t,t+r),o=s.toUpperCase();this.folded.push((0,i.gm)(o==s?s.toLowerCase():o,0)),t+=r}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:r,precise:s,byWord:o}=this;if(1==t.length){let r=(0,i.gm)(e,0),s=(0,i.nZ)(r),o=s==e.length?0:-100;if(r==t[0]);else{if(r!=n[0])return null;o+=-200}return this.ret(o,[0,s])}let a=e.indexOf(this.pattern);if(0==a)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=t.length,c=0;if(a<0){for(let s=0,o=Math.min(e.length,200);s<o&&c<l;){let o=(0,i.gm)(e,s);(o==t[c]||o==n[c])&&(r[c++]=s),s+=(0,i.nZ)(o)}if(c<l)return null}let h=0,O=0,u=!1,f=0,p=-1,d=-1,m=/[a-z]/.test(e),g=!0;for(let r=0,c=Math.min(e.length,200),y=0;r<c&&O<l;){let c=(0,i.gm)(e,r);a<0&&(h<l&&c==t[h]&&(s[h++]=r),f<l&&(c==t[f]||c==n[f]?(0==f&&(p=r),d=r+1,f++):f=0));let Q,S=c<255?c>=48&&c<=57||c>=97&&c<=122?2:c>=65&&c<=90?1:0:(Q=(0,i.bg)(c))!=Q.toLowerCase()?1:Q!=Q.toUpperCase()?2:0;(!r||1==S&&m||0==y&&0!=S)&&(t[O]==c||n[O]==c&&(u=!0)?o[O++]=r:o.length&&(g=!1)),y=S,r+=(0,i.nZ)(c)}return O==l&&0==o[0]&&g?this.result(-100+(u?-200:0),o,e):f==l&&0==p?this.ret(-200-e.length+(d==e.length?0:-100),[0,d]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):f==l?this.ret(-900-e.length,[p,d]):O==l?this.result(-100+(u?-200:0)+-700+(g?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[],s=0;for(let e of t){let t=e+(this.astral?(0,i.nZ)((0,i.gm)(n,e)):1);s&&r[s-1]==e?r[s-1]=t:(r[s++]=e,r[s++]=t)}return this.ret(e-n.length,r)}}class Q{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==n?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}}let S=i.r$.define({combine:e=>(0,i.BO)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:b,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>k(e(n),t(n)),optionClass:(e,t)=>n=>k(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function k(e,t){return e?t?e+" "+t:e:t}function b(e,t,n,i,s,o){let a=e.textDirection==r.Nm.RTL,l=a,c=!1,h="top",O,u,f=t.left-s.left,p=s.right-t.right,d=i.right-i.left,m=i.bottom-i.top;if(l&&f<Math.min(d,p)?l=!1:!l&&p<Math.min(d,f)&&(l=!0),d<=(l?f:p))O=Math.max(s.top,Math.min(n.top,s.bottom-m))-t.top,u=Math.min(400,l?f:p);else{c=!0,u=Math.min(400,(a?t.right:s.right-t.left)-30);let e=s.bottom-t.bottom;e>=m||e>t.top?O=n.bottom-t.top:(h="bottom",O=t.bottom-n.top)}let g=(t.bottom-t.top)/o.offsetHeight,y=(t.right-t.left)/o.offsetWidth;return{style:`${h}: ${O/g}px; max-width: ${u/y}px`,class:"cm-completionInfo-"+(c?a?"left-narrow":"right-narrow":l?"left":"right")}}let $=i.Py.define();function x(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let i=Math.ceil((e-t)/n);return{from:e-i*n,to:e-(i-1)*n}}class v{constructor(e,t,n){let i;this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:s,selected:o}=r.open,a=e.state.facet(S);this.optionContent=(i=a.addToOptions.slice(),a.icons&&i.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),i.push({render(e,t,n,i){let r=document.createElement("span");r.className="cm-completionLabel";let s=e.displayLabel||e.label,o=0;for(let e=0;e<i.length;){let t=i[e++],n=i[e++];t>o&&r.appendChild(document.createTextNode(s.slice(o,t)));let a=r.appendChild(document.createElement("span"));a.appendChild(document.createTextNode(s.slice(t,n))),a.className="cm-completionMatchedText",o=n}return o<s.length&&r.appendChild(document.createTextNode(s.slice(o))),r},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),i.sort((e,t)=>e.position-t.position).map(e=>e.render)),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=x(s.length,o,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:i}=e.state.field(t).open;for(let t=n.target,r;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(r=/-(\d+)$/.exec(t.id))&&+r[1]<i.length){this.applyCompletion(e,i[+r[1]]),n.preventDefault();return}if(n.target==this.list){let t=this.list.classList.contains("cm-completionListIncompleteTop")&&n.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&n.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;null!=t&&(e.dispatch({effects:$.of(t)}),n.preventDefault())}}),this.dom.addEventListener("focusout",t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(S).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:g.of(null)})}),this.showOptions(s,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),i=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=i){let{options:r,selected:s,disabled:o}=n.open;i.open&&i.open.options==r||(this.range=x(r.length,s,e.state.facet(S).maxRenderedOptions),this.showOptions(r,n.id)),this.updateSel(),o!=(null===(t=i.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=x(t.options.length,t.selected,this.view.state.facet(S).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:i}=t.options[t.selected],{info:s}=i;if(!s)return;let o="string"==typeof s?document.createTextNode(s):s(i);if(!o)return;"then"in o?o.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,i)}).catch(e=>(0,r.OO)(this.view.state,e,"completion info")):(this.addInfoPane(o,i),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:i}=e;n.appendChild(t),this.infoDestroy=i||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){var t,n;let i,r,s,o=null;for(let t=this.list.firstChild,n=this.range.from;t;t=t.nextSibling,n++)"LI"==t.nodeName&&t.id?n==e?t.hasAttribute("aria-selected")||(t.setAttribute("aria-selected","true"),o=t):t.hasAttribute("aria-selected")&&(t.removeAttribute("aria-selected"),t.removeAttribute("aria-describedby")):n--;return o&&(t=this.list,n=o,i=t.getBoundingClientRect(),r=n.getBoundingClientRect(),s=i.height/t.offsetHeight,r.top<i.top?t.scrollTop-=(i.top-r.top)/s:r.bottom>i.bottom&&(t.scrollTop+=(r.bottom-i.bottom)/s)),o}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),r=this.space;if(!r){let e=this.dom.ownerDocument.documentElement;r={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return i.top>Math.min(r.bottom,t.bottom)-10||i.bottom<Math.max(r.top,t.top)+10?null:this.view.state.facet(S).positionInfo(this.view,t,i,n,r,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,n){let i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions")),i.addEventListener("mousedown",e=>{e.target==i&&e.preventDefault()});let r=null;for(let s=n.from;s<n.to;s++){let{completion:o,match:a}=e[s],{section:l}=o;if(l){let e="string"==typeof l?l:l.name;e!=r&&(s>n.from||0==n.from)&&(r=e,"string"!=typeof l&&l.header?i.appendChild(l.header(l)):i.appendChild(document.createElement("completion-section")).textContent=e)}let c=i.appendChild(document.createElement("li"));c.id=t+"-"+s,c.setAttribute("role","option");let h=this.optionClass(o);for(let e of(h&&(c.className=h),this.optionContent)){let t=e(o,this.view.state,this.view,a);t&&c.appendChild(t)}}return n.from&&i.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&i.classList.add("cm-completionListIncompleteBottom"),i}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function w(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class P{constructor(e,t,n,i,r,s){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=i,this.selected=r,this.disabled=s}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new P(this.options,j(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,i,r,s){if(i&&!s&&e.some(e=>e.isPending))return i.setDisabled();let o=function(e,t){let n=[],i=null,r=null,s=e=>{n.push(e);let{section:t}=e.completion;if(t){i||(i=[]);let e="string"==typeof t?t:t.name;i.some(t=>t.name==e)||i.push("string"==typeof t?{name:e}:t)}},o=t.facet(S);for(let i of e)if(i.hasResult()){let e=i.result.getMatch;if(!1===i.result.filter)for(let t of i.result.options)s(new h(t,i.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(i.from,i.to),a,l=o.filterStrict?new Q(n):new y(n);for(let t of i.result.options)if(a=l.match(t.label)){let n=t.displayLabel?e?e(t,a.matched):[]:a.matched,o=a.score+(t.boost||0);if(s(new h(t,i.source,n,o)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;r||(r=Object.create(null)),r[e]=Math.max(o,r[e]||-1e9)}}}}if(i){let e=Object.create(null),t=0;for(let n of i.sort((e,t)=>("dynamic"===e.rank&&"dynamic"===t.rank?r[t.name]-r[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.name<t.name?-1:1)))t-=1e5,e[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e["string"==typeof n?n:n.name])}}let a=[],l=null,c=o.compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||c(e.completion,t.completion))){let t=e.completion;l&&l.label==t.label&&l.detail==t.detail&&(null==l.type||null==t.type||l.type==t.type)&&l.apply==t.apply&&l.boost==t.boost?w(e.completion)>w(l)&&(a[a.length-1]=e):a.push(e),l=e.completion}return a}(e,t);if(!o.length)return i&&e.some(e=>e.isPending)?i.setDisabled():null;let a=t.facet(S).selectOnOpen?0:-1;if(i&&i.selected!=a&&-1!=i.selected){let e=i.options[i.selected].completion;for(let t=0;t<o.length;t++)if(o[t].completion==e){a=t;break}}return new P(o,j(n,a),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:I,above:r.aboveCursor},i?i.timestamp:Date.now(),a,!1)}map(e){return new P(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new P(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class T{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new T(_,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(S),i=(n.override||t.languageDataAt("autocomplete",O(t)).map(d)).map(t=>(this.active.find(e=>e.source==t)||new C(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let r=this.open,s=e.effects.some(e=>e.is(E));for(let o of(r&&e.docChanged&&(r=r.map(e.changes)),e.selection||i.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,i=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;i<t.length&&!t[i].hasResult();)i++;let r=n==e.length,s=i==t.length;if(r||s)return r==s;if(e[n++].result!=t[i++].result)return!1}}(i,this.active)||s?r=P.build(i,t,this.id,r,n,s):r&&r.disabled&&!i.some(e=>e.isPending)&&(r=null),!r&&i.every(e=>!e.isPending)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new C(e.source,0):e)),e.effects))o.is($)&&(r=r&&r.setSelected(o.value,this.id));return i==this.active&&r==this.open?this:new T(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?Z:X}}let Z={"aria-autocomplete":"list"},X={};function j(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let _=[];function A(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(f);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class C{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=A(e,t),i=this;for(let t of((8&n||16&n&&this.touches(e))&&(i=new C(i.source,0)),4&n&&0==i.state&&(i=new C(this.source,1)),i=i.updateFor(e,n),e.effects))if(t.is(m))i=new C(i.source,1,t.value);else if(t.is(g))i=new C(i.source,0);else if(t.is(E))for(let e of t.value)e.source==i.source&&(i=e);return i}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(O(e.state))}}class R extends C{constructor(e,t,n,i,r,s){super(e,3,t),this.limit=n,this.result=i,this.from=r,this.to=s}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let i=this.result;i.map&&!e.changes.empty&&(i=i.map(i,e.changes));let r=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=O(e.state);if(a>s||!i||2&t&&(O(e.startState)==this.from||a<this.limit))return new C(this.source,4&t?1:0);let l=e.changes.mapPos(this.limit);return!function(e,t,n,i){if(!e)return!1;let r=t.sliceDoc(n,i);return"function"==typeof e?e(r,n,i,t):u(e,!0).test(r)}(i.validFor,e.state,r,s)?i.update&&(i=i.update(i,r,s,new o(e.state,a,!1)))?new R(this.source,this.explicit,l,i,i.from,null!==(n=i.to)&&void 0!==n?n:O(e.state)):new C(this.source,1,this.explicit):new R(this.source,this.explicit,l,i,r,s)}map(e){if(e.empty)return this;let t=this.result.map?this.result.map(this.result,e):this.result;return t?new R(this.source,this.explicit,e.mapPos(this.limit),t,e.mapPos(this.from),e.mapPos(this.to,1)):new C(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}let E=i.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),Y=i.QQ.define({create:()=>T.start(),update:(e,t)=>e.update(t),provide:e=>[r.hJ.from(e,e=>e.tooltip),r.tk.contentAttributes.from(e,e=>e.attrs)]});function q(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(Y).active.find(e=>e.source==t.source);return r instanceof R&&("string"==typeof n?e.dispatch({...function(e,t,n,r){let{main:s}=e.selection,o=n-s.from,a=r-s.from;return{...e.changeByRange(l=>{if(l!=s&&n!=r&&e.sliceDoc(l.from+o,l.from+a)!=e.sliceDoc(n,r))return{range:l};let c=e.toText(t);return{changes:{from:l.from+o,to:r==s.from?l.to:l.from+a,insert:c},range:i.jT.cursor(l.from+o+c.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(e.state,n,r.from,r.to),annotations:f.of(t.completion)}):n(e,t.completion,r.from,r.to),!0)}let I=e=>new v(e,Y,q);function z(e,t="option"){return n=>{let i=n.state.field(Y,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp<n.state.facet(S).interactionDelay)return!1;let s=1,o;"page"==t&&(o=(0,r.gB)(n,i.open.tooltip))&&(s=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:a}=i.open.options,l=i.open.selected>-1?i.open.selected+s*(e?1:-1):e?0:a-1;return l<0?l="page"==t?0:a-1:l>=a&&(l="page"==t?a-1:0),n.dispatch({effects:$.of(l)}),!0}}let L=e=>!!e.state.field(Y,!1)&&(e.dispatch({effects:m.of(!0)}),!0);class M{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let V=r.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,e.state.field(Y).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(Y),n=e.state.facet(S);if(!e.selectionSet&&!e.docChanged&&e.startState.field(Y)==t)return;let i=e.transactions.some(e=>{let t=A(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t<this.running.length;t++){let n=this.running[t];if(i||n.context.abortOnDocChange&&e.docChanged||n.updates.length+e.transactions.length>50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){(0,r.OO)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(m)))&&(this.pendingStart=!0);let s=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),s):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(Y);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(S).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=O(t),i=new o(t,n,e.explicit,this.view),s=new M(e,i);this.running.push(s),Promise.resolve(e.source(i)).then(e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:g.of(null)}),(0,r.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(S).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(S),i=this.view.state.field(Y);for(let r=0;r<this.running.length;r++){let s=this.running[r];if(void 0===s.done)continue;if(this.running.splice(r--,1),s.done){let i=O(s.updates.length?s.updates[0].startState:this.view.state),r=Math.min(i,s.done.from+(s.active.explicit?0:1)),o=new R(s.active.source,s.active.explicit,r,s.done,s.done.from,null!==(e=s.done.to)&&void 0!==e?e:i);for(let e of s.updates)o=o.update(e,n);if(o.hasResult()){t.push(o);continue}}let o=i.active.find(e=>e.source==s.active.source);if(o&&o.isPending){if(null==s.done){let e=new C(s.active.source,0);for(let t of s.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(o)}}(t.length||i.open&&i.open.disabled)&&this.view.dispatch({effects:E.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(Y,!1);if(t&&t.tooltip&&this.view.state.facet(S).closeOnBlur){let n=t.open&&(0,r.gB)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:g.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:m.of(!1)}),20),this.composing=0}}}),W="object"==typeof navigator&&/Win/.test(navigator.platform),N=i.Wl.highest(r.tk.domEventHandlers({keydown(e,t){let n=t.state.field(Y,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(W&&e.altKey)||e.metaKey)return!1;let i=n.open.options[n.open.selected],r=n.active.find(e=>e.source==i.source),s=i.completion.commitCharacters||r.result.commitCharacters;return s&&s.indexOf(e.key)>-1&&q(t,i),!1}})),G=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class U{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class B{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,i.gc.TrackDel),n=e.mapPos(this.to,1,i.gc.TrackDel);return null==t||null==n?null:new B(this.field,t,n)}}class D{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let r of this.lines){if(n.length){let n=o,a=/^\t*/.exec(r)[0].length;for(let t=0;t<a;t++)n+=e.facet(s.c);i.push(t+n.length-a),r=n+r.slice(a)}n.push(r),t+=r.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new B(e.field,i[e.line]+e.from,i[e.line]+e.to))}}static parse(e){let t=[],n=[],i=[],r;for(let s of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(s);){let e=r[1]?+r[1]:null,o=r[2]||r[3]||"",a=-1;0===e&&(e=1e9);let l=o.replace(/\\[{}]/g,e=>e[1]);for(let n=0;n<t.length;n++)(null!=e?t[n].seq==e:l&&t[n].name==l)&&(a=n);if(a<0){let n=0;for(;n<t.length&&(null==e||null!=t[n].seq&&t[n].seq<e);)n++;for(let r of(t.splice(n,0,{seq:e,name:l}),a=n,i))r.field>=a&&r.field++}for(let e of i)if(e.line==n.length&&e.from>r.index){let t=r[2]?3+(r[1]||"").length:2;e.from-=t,e.to-=t}i.push(new U(a,n.length,r.index,r.index+l.length)),s=s.slice(0,r.index)+o+s.slice(r.index+r[0].length)}s=s.replace(/\\([{}])/g,(e,t,r)=>{for(let e of i)e.line==n.length&&e.from>r&&(e.from--,e.to--);return t}),n.push(s)}return new D(n,i)}}let J=r.p.widget({widget:new class extends r.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),F=r.p.mark({class:"cm-snippetField"});class K{constructor(e,t){this.ranges=e,this.active=t,this.deco=r.p.set(e.map(e=>(e.from==e.to?J:F).range(e.from,e.to)),!0)}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new K(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let H=i.Py.define({map:(e,t)=>e&&e.map(t)}),ee=i.Py.define(),et=i.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(H))return n.value;if(n.is(ee)&&e)return new K(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>r.tk.decorations.from(e,e=>e?e.deco:r.p.none)});function en(e,t){return i.jT.create(e.filter(e=>e.field==t).map(e=>i.jT.range(e.from,e.to)))}function ei(e){return({state:t,dispatch:n})=>{let i=t.field(et,!1);if(!i||e<0&&0==i.active)return!1;let r=i.active+e,s=e>0&&!i.ranges.some(t=>t.field==r+e);return n(t.update({selection:en(i.ranges,r),effects:H.of(s?null:new K(i.ranges,r)),scrollIntoView:!0})),!0}}let er=[{key:"Tab",run:ei(1),shift:ei(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(et,!1)&&(t(e.update({effects:H.of(null)})),!0)}],es=i.r$.define({combine:e=>e.length?e[0]:er}),eo=i.Wl.highest(r.$f.compute([es],e=>e.facet(es)));function ea(e,t){let n;return{...t,apply:(n=D.parse(e),(e,t,r,s)=>{let{text:o,ranges:a}=n.instantiate(e.state,r),{main:l}=e.state.selection,c={changes:{from:r,to:s==l.from?l.to:s,insert:i.xv.of(o)},scrollIntoView:!0,annotations:t?[f.of(t),i.YW.userEvent.of("input.complete")]:void 0};if(a.length&&(c.selection=en(a,0)),a.some(e=>e.field>0)){let t=new K(a,0),n=c.effects=[H.of(t)];void 0===e.state.field(et,!1)&&n.push(i.Py.appendConfig.of([et,eo,el,G]))}e.dispatch(e.state.update(c))})}}let el=r.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(et,!1),i;if(!n||null==(i=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=n.ranges.find(e=>e.from<=i&&e.to>=i);return!!r&&r.field!=n.active&&(t.dispatch({selection:en(n.ranges,r.field),effects:H.of(n.ranges.some(e=>e.field>r.field)?new K(n.ranges,r.field):null),scrollIntoView:!0}),!0)}}),ec={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},eh=i.Py.define({map(e,t){let n=t.mapPos(e,-1,i.gc.TrackAfter);return null==n?void 0:n}}),eO=new class extends i.uU{};eO.startSide=1,eO.endSide=-1;let eu=i.QQ.define({create:()=>i.Xs.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(eh)&&(e=e.update({add:[eO.range(n.value,n.value+1)]}));return e}});function ef(){return[ey,eu]}let ep="()[]{}<>\xab\xbb\xbb\xab[]{}";function ed(e){for(let t=0;t<ep.length;t+=2)if(ep.charCodeAt(t)==e)return ep.charAt(t+1);return(0,i.bg)(e<128?e:e+1)}function em(e,t){return e.languageDataAt("closeBrackets",t)[0]||ec}let eg="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),ey=r.tk.inputHandler.of((e,t,n,r)=>{if((eg?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||t!=o.from||n!=o.to)return!1;let a=function(e,t){let n=em(e,e.selection.main.head),r=n.brackets||ec.brackets;for(let o of r){let a=ed((0,i.gm)(o,0));if(t==o)return a==o?function(e,t,n,r){let o=r.stringPrefixes||ec.stringPrefixes,a=null,l=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:eh.of(r.to+t.length),range:i.jT.range(r.anchor+t.length,r.head+t.length)};let l=r.head,c=ek(e.doc,l),h;if(c==t){if(eb(e,l))return{changes:{insert:t+t,from:l},effects:eh.of(l+t.length),range:i.jT.cursor(l+t.length)};if(eS(e,l)){let r=n&&e.sliceDoc(l,l+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+r.length,insert:r},range:i.jT.cursor(l+r.length)}}}else if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(h=e$(e,l-2*t.length,o))>-1&&eb(e,h))return{changes:{insert:t+t+t+t,from:l},effects:eh.of(l+t.length),range:i.jT.cursor(l+t.length)};else if(e.charCategorizer(l)(c)!=i.D0.Word&&e$(e,l,o)>-1&&!function(e,t,n,i){let r=(0,s.qz)(e).resolveInner(t,-1),o=i.reduce((e,t)=>Math.max(e,t.length),0);for(let s=0;s<5;s++){let s=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),a=s.indexOf(n);if(!a||a>-1&&i.indexOf(s.slice(0,a))>-1){let t=r.firstChild;for(;t&&t.from==r.from&&t.to-t.from>n.length+a;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let l=r.to==t&&r.parent;if(!l)break;r=l}return!1}(e,l,t,o))return{changes:{insert:t+t,from:l},effects:eh.of(l+t.length),range:i.jT.cursor(l+t.length)};return{range:a=r}});return a?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,r.indexOf(o+o+o)>-1,n):function(e,t,n,r){let s=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:eh.of(o.to+t.length),range:i.jT.range(o.anchor+t.length,o.head+t.length)};let a=ek(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:eh.of(o.head+t.length),range:i.jT.cursor(o.head+t.length)}:{range:s=o}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,a,n.before||ec.before);if(t==a&&eS(e,e.selection.main.from))return function(e,t,n){let r=null,s=e.changeByRange(t=>t.empty&&ek(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:i.jT.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}(e,0,a)}return null}(e.state,r);return!!a&&(e.dispatch(a),!0)}),eQ=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=em(e,e.selection.main.head).brackets||ec.brackets,r=null,s=e.changeByRange(t=>{if(t.empty){var s,o;let r;let a=(s=e.doc,o=t.head,r=s.sliceString(o-2,o),(0,i.nZ)((0,i.gm)(r,0))==r.length?r:r.slice(1));for(let r of n)if(r==a&&ek(e.doc,t.head)==ed((0,i.gm)(r,0)))return{changes:{from:t.head-r.length,to:t.head+r.length},range:i.jT.cursor(t.head-r.length)}}return{range:r=t}});return r||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function eS(e,t){let n=!1;return e.field(eu).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function ek(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function eb(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function e$(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=i.D0.Word)return t;for(let s of n){let n=t-s.length;if(e.sliceDoc(n,t)==s&&r(e.sliceDoc(n-1,n))!=i.D0.Word)return n}return -1}function ex(e={}){return[N,Y,S.of(e),V,ew,G]}let ev=[{key:"Ctrl-Space",run:L},{mac:"Alt-`",run:L},{mac:"Alt-i",run:L},{key:"Escape",run:e=>{let t=e.state.field(Y,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:g.of(null)}),!0)}},{key:"ArrowDown",run:z(!0)},{key:"ArrowUp",run:z(!1)},{key:"PageDown",run:z(!0,"page")},{key:"PageUp",run:z(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(Y,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(S).interactionDelay)&&q(e,t.open.options[t.open.selected])}}],ew=i.Wl.highest(r.$f.computeN([S],e=>e.facet(S).defaultKeymap?[ev]:[]))},1332:function(e,t,n){let i;n.d(t,{JH:function(){return ie}});var r,s,o=n(2130),a=n(4877),l=n(8744),c=n(5224),h=n(5188),O=n(7429);class u{static create(e,t,n,i,r){return new u(e,t,n,i+(i<<8)+e+(t<<4)|0,r,[],[])}constructor(e,t,n,i,r,s,o){this.type=e,this.value=t,this.from=n,this.hash=i,this.end=r,this.children=s,this.positions=o,this.hashProp=[[h.md.contextHash,i]]}addChild(e,t){e.prop(h.md.contextHash)!=this.hash&&(e=new h.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new h.mp(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new h.mp(h.Jq.none,e,t,n,this.hashProp)})}}(r=s||(s={}))[r.Document=1]="Document",r[r.CodeBlock=2]="CodeBlock",r[r.FencedCode=3]="FencedCode",r[r.Blockquote=4]="Blockquote",r[r.HorizontalRule=5]="HorizontalRule",r[r.BulletList=6]="BulletList",r[r.OrderedList=7]="OrderedList",r[r.ListItem=8]="ListItem",r[r.ATXHeading1=9]="ATXHeading1",r[r.ATXHeading2=10]="ATXHeading2",r[r.ATXHeading3=11]="ATXHeading3",r[r.ATXHeading4=12]="ATXHeading4",r[r.ATXHeading5=13]="ATXHeading5",r[r.ATXHeading6=14]="ATXHeading6",r[r.SetextHeading1=15]="SetextHeading1",r[r.SetextHeading2=16]="SetextHeading2",r[r.HTMLBlock=17]="HTMLBlock",r[r.LinkReference=18]="LinkReference",r[r.Paragraph=19]="Paragraph",r[r.CommentBlock=20]="CommentBlock",r[r.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",r[r.Escape=22]="Escape",r[r.Entity=23]="Entity",r[r.HardBreak=24]="HardBreak",r[r.Emphasis=25]="Emphasis",r[r.StrongEmphasis=26]="StrongEmphasis",r[r.Link=27]="Link",r[r.Image=28]="Image",r[r.InlineCode=29]="InlineCode",r[r.HTMLTag=30]="HTMLTag",r[r.Comment=31]="Comment",r[r.ProcessingInstruction=32]="ProcessingInstruction",r[r.Autolink=33]="Autolink",r[r.HeaderMark=34]="HeaderMark",r[r.QuoteMark=35]="QuoteMark",r[r.ListMark=36]="ListMark",r[r.LinkMark=37]="LinkMark",r[r.EmphasisMark=38]="EmphasisMark",r[r.CodeMark=39]="CodeMark",r[r.CodeText=40]="CodeText",r[r.CodeInfo=41]="CodeInfo",r[r.LinkTitle=42]="LinkTitle",r[r.LinkLabel=43]="LinkLabel",r[r.URL=44]="URL";class f{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class p{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return y(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let i=t;i<e;i++)n+=9==this.text.charCodeAt(i)?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?4-n%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e="";for(let t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}function d(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let i=(e.type==s.OrderedList?v:x)(n,t,!1);return i>0&&(e.type!=s.BulletList||0>b(n,t,!1))&&n.text.charCodeAt(n.pos+i-1)==e.value}let m={[s.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(J(s.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(g(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[s.ListItem]:(e,t,n)=>(!(n.indent<n.baseIndent+e.value)||!(n.next>-1))&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[s.OrderedList]:d,[s.BulletList]:d,[s.Document]:()=>!0};function g(e){return 32==e||9==e||10==e||13==e}function y(e,t=0){for(;t<e.length&&g(e.charCodeAt(t));)t++;return t}function Q(e,t,n){for(;t>n&&g(e.charCodeAt(t-1));)t--;return t}function S(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return -1;if(96==e.next){for(let n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return -1}return t}function k(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function b(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)return -1;let i=1;for(let t=e.pos+1;t<e.text.length;t++){let n=e.text.charCodeAt(t);if(n==e.next)i++;else if(!g(n))return -1}return n&&45==e.next&&P(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(I.SetextHeading)>-1?-1:i<3?-1:1}function $(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function x(e,t,n){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||g(e.text.charCodeAt(e.pos+1)))&&(!n||$(t,s.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?1:-1}function v(e,t,n){let i=e.pos,r=e.next;for(;r>=48&&r<=57;){if(++i==e.text.length)return -1;r=e.text.charCodeAt(i)}return i==e.pos||i>e.pos+9||46!=r&&41!=r||i<e.text.length-1&&!g(e.text.charCodeAt(i+1))||n&&!$(t,s.OrderedList)&&(e.skipSpace(i+1)==e.text.length||i>e.pos+1||49!=e.next)?-1:i+1-e.pos}function w(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return -1;let n=t-e.pos;return n>6?-1:n}function P(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;let n=t;for(;t<e.text.length&&g(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}let T=/^[ \t]*$/,Z=/-->/,X=/\?>/,j=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Z],[/^\s*<\?/,X],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,T],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,T]];function _(e,t,n){if(60!=e.next)return -1;let i=e.text.slice(e.pos);for(let e=0,t=j.length-(n?1:0);e<t;e++)if(j[e][0].test(i))return e;return -1}function A(e,t){let n=e.countIndent(t,e.pos,e.indent),i=e.countIndent(e.skipSpace(t),t,n);return i>=n+5?n+1:i}function C(e,t,n){let i=e.length-1;i>=0&&e[i].to==t&&e[i].type==s.CodeText?e[i].to=n:e.push(J(s.CodeText,t,n))}let R={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let i=t.findColumn(n),r=e.lineStart+i,o=e.lineStart+t.text.length,a=[],l=[];for(C(a,r,o);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length)for(let n of(C(l,e.lineStart-1,e.lineStart),t.markers))l.push(n);else if(t.indent<n)break;else{if(l.length){for(let e of l)e.type==s.CodeText?C(a,e.from,e.to):a.push(e);l=[]}for(let n of(C(a,e.lineStart-1,e.lineStart),t.markers))a.push(n);o=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<o&&C(a,n,o)}return l.length&&(l=l.filter(e=>e.type!=s.CodeText)).length&&(t.markers=l.concat(t.markers)),e.addNode(e.buffer.writeElements(a,-r).finish(s.CodeBlock,o-r),r),!0},FencedCode(e,t){let n=S(t);if(n<0)return!1;let i=e.lineStart+t.pos,r=t.next,o=n-t.pos,a=t.skipSpace(n),l=Q(t.text,t.text.length,a),c=[J(s.CodeMark,i,i+o)];a<l&&c.push(J(s.CodeInfo,e.lineStart+a,e.lineStart+l));for(let n=!0,i=!0,a=!1;e.nextLine()&&t.depth>=e.stack.length;n=!1){let l=t.pos;if(t.indent-t.baseIndent<4)for(;l<t.text.length&&t.text.charCodeAt(l)==r;)l++;if(l-t.pos>=o&&t.skipSpace(l)==t.text.length){for(let e of t.markers)c.push(e);i&&a&&C(c,e.lineStart-1,e.lineStart),c.push(J(s.CodeMark,e.lineStart+t.pos,e.lineStart+l)),e.nextLine();break}{for(let r of(a=!0,n||(C(c,e.lineStart-1,e.lineStart),i=!1),t.markers))c.push(r);let r=e.lineStart+t.basePos,s=e.lineStart+t.text.length;r<s&&(C(c,r,s),i=!1)}}return e.addNode(e.buffer.writeElements(c,-i).finish(s.FencedCode,e.prevLineEnd()-i),i),!0},Blockquote(e,t){let n=k(t);return!(n<0)&&(e.startContext(s.Blockquote,t.pos),e.addNode(s.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(0>b(t,e,!1))return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(s.HorizontalRule,n),!0},BulletList(e,t){let n=x(t,e,!1);if(n<0)return!1;e.block.type!=s.BulletList&&e.startContext(s.BulletList,t.basePos,t.next);let i=A(t,t.pos+1);return e.startContext(s.ListItem,t.basePos,i-t.baseIndent),e.addNode(s.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(i),null},OrderedList(e,t){let n=v(t,e,!1);if(n<0)return!1;e.block.type!=s.OrderedList&&e.startContext(s.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let i=A(t,t.pos+n);return e.startContext(s.ListItem,t.basePos,i-t.baseIndent),e.addNode(s.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(i),null},ATXHeading(e,t){let n=w(t);if(n<0)return!1;let i=t.pos,r=e.lineStart+i,o=Q(t.text,t.text.length,i),a=o;for(;a>i&&t.text.charCodeAt(a-1)==t.next;)a--;a!=o&&a!=i&&g(t.text.charCodeAt(a-1))||(a=t.text.length);let l=e.buffer.write(s.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(i+n+1,a),r+n+1),-r);a<t.text.length&&l.write(s.HeaderMark,a-i,o-i);let c=l.finish(s.ATXHeading1-1+n,t.text.length-i);return e.nextLine(),e.addNode(c,r),!0},HTMLBlock(e,t){let n=_(t,e,!1);if(n<0)return!1;let i=e.lineStart+t.pos,r=j[n][1],o=[],a=r!=T;for(;!r.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){a=!1;break}for(let e of t.markers)o.push(e)}a&&e.nextLine();let l=r==Z?s.CommentBlock:r==X?s.ProcessingInstructionBlock:s.HTMLBlock,c=e.prevLineEnd();return e.addNode(e.buffer.writeElements(o,-i).finish(l,c-i),i),!0},SetextHeading:void 0};class E{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(-1==this.stage)return!1;let i=n.content+"\n"+t.scrub(),r=this.advance(i);return r>-1&&r<i.length&&this.complete(e,n,r)}finish(e,t){return(2==this.stage||3==this.stage)&&y(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,J(s.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(!1===e&&(this.stage=-1),!1)}advance(e){for(;;){if(-1==this.stage)return -1;if(0==this.stage){if(!this.nextStage(ea(e,this.pos,this.start,!0)))return -1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(J(s.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(1==this.stage){if(!this.nextStage(es(e,y(e,this.pos),this.start)))return -1}else{if(2!=this.stage)return Y(e,this.pos);let t=y(e,this.pos),n=0;if(t>this.pos){let i=eo(e,t,this.start);if(i){let t=Y(e,i.to-this.start);t>0&&(this.nextStage(i),n=t)}}return n||(n=Y(e,this.pos)),n>0&&n<e.length?n:-1}}}}function Y(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!g(n))return -1}return t}class q{nextLine(e,t,n){let i=t.depth<e.stack.length?-1:P(t),r=t.next;if(i<0)return!1;let o=J(s.HeaderMark,e.lineStart+t.pos,e.lineStart+i);return e.nextLine(),e.addLeafElement(n,J(61==r?s.SetextHeading1:s.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),o])),!0}finish(){return!1}}let I={LinkReference:(e,t)=>91==t.content.charCodeAt(0)?new E(t):null,SetextHeading:()=>new q},z={text:"",end:0};class L{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.line=new p,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=i[i.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=i[0].from,this.block=u.create(s.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new eO(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let t=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;t<e.markers.length&&(!n||e.markers[t].from<n.end);){let n=e.markers[t++];this.addNode(n.type,n.from,n.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let t of this.parser.blockParsers)if(t){let n=t(this,e);if(!1!=n){if(!0==n)return null;e.forward();continue e}}break}let t=new f(this.lineStart+e.pos,e.text.slice(e.pos));for(let e of this.parser.leafBlockParsers)if(e){let n=e(this,t);n&&t.parsers.push(n)}t:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,t))break t}for(let n of t.parsers)if(n.nextLine(this,e,t))return null;for(let n of(t.content+="\n"+e.scrub(),e.markers))t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let t=this.fragments.takeNodes(this);return!!t&&(this.absoluteLineStart+=t,this.lineStart=eu(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++):this.atEnd=!0,this.readLine(),!0)}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return(this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to)?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){if(z.end=e,e>=this.to)z.text="";else if(z.text=this.lineChunkAt(e),z.end+=z.text.length,this.ranges.length>1){let e=this.absoluteLineStart,t=this.rangeI;for(;this.ranges[t].to<z.end;){t++;let n=this.ranges[t].from,i=this.lineChunkAt(n);z.end=n+i.length,z.text=z.text.slice(0,this.ranges[t-1].to-e)+i,e=z.end-z.text.length}}return z}readLine(){let{line:e}=this,{text:t,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(t);e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],n=this.parser.skipContextMarkup[t.type];if(!n)throw Error("Unhandled block context "+s[t.type]);let i=this.line.markers.length;if(!n(t,this,e)){this.line.markers.length>i&&(t.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let t=this.input.chunk(e),n;if(this.input.lineChunks)n="\n"==t?"":t;else{let e=t.indexOf("\n");n=e<0?t:t.slice(0,e)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=u.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){"number"==typeof e&&(e=new h.mp(this.parser.nodeSet.types[e],G,G,(null!=n?n:this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(ec(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?function e(t,n,i,r,s){let o=t[n].to,a=[],l=[],c=i.from+r;function O(e,i){for(;i?e>=o:e>o;){let i=t[n+1].from-o;r+=i,e+=i,o=t[++n].to}}for(let h=i.firstChild;h;h=h.nextSibling){O(h.from+r,!0);let i=h.from+r,u,f=s.get(h.tree);f?u=f:h.to+r>o?(u=e(t,n,h,r,s),O(h.to+r,!1)):u=h.toTree(),a.push(u),l.push(i-c)}return O(i.to+r,!1),new h.mp(i.type,a,l,i.to+r-c,i.tree?i.tree.propValues:void 0)}(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let t of e.parsers)if(t.finish(this,e))return;let t=ec(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(s.Paragraph,e.content.length),e.start)}elt(e,t,n,i){return"string"==typeof e?J(this.parser.getNodeType(e),t,n,i):new D(e,t)}get buffer(){return new U(this.parser.nodeSet)}}class M extends h._b{constructor(e,t,n,i,r,s,o,a,l){for(let c of(super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=i,this.endLeafBlock=r,this.skipContextMarkup=s,this.inlineParsers=o,this.inlineNames=a,this.wrappers=l,this.nodeTypes=Object.create(null),e.types))this.nodeTypes[c.name]=c.id}createParse(e,t,n){let i=new L(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}configure(e){let t=function e(t){if(!Array.isArray(t))return t;if(0==t.length)return null;let n=e(t[0]);if(1==t.length)return n;let i=e(t.slice(1));if(!i||!n)return n||i;let r=(e,t)=>(e||G).concat(t||G),s=n.wrap,o=i.wrap;return{props:r(n.props,i.props),defineNodes:r(n.defineNodes,i.defineNodes),parseBlock:r(n.parseBlock,i.parseBlock),parseInline:r(n.parseInline,i.parseInline),remove:r(n.remove,i.remove),wrap:s?o?(e,t,n,i)=>s(o(e,t,n,i),t,n,i):s:o}}(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:i}=this,r=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),a=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),u=this.endLeafBlock.slice(),f=this.wrappers;if(V(t.defineNodes)){i=Object.assign({},i);let e=n.types.slice(),r;for(let n of t.defineNodes){let{name:t,block:o,composite:a,style:l}="string"==typeof n?{name:n}:n;if(e.some(e=>e.name==t))continue;a&&(i[e.length]=(e,t,n)=>a(t,n,e.value));let c=e.length,u=a?["Block","BlockContext"]:o?c>=s.ATXHeading1&&c<=s.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;e.push(h.Jq.define({id:c,name:t,props:u&&[[h.md.group,u]]})),l&&(r||(r={}),Array.isArray(l)||l instanceof O.Vp?r[t]=l:Object.assign(r,l))}n=new h.Lj(e),r&&(n=n.extend((0,O.Gv)(r)))}if(V(t.props)&&(n=n.extend(...t.props)),V(t.remove))for(let e of t.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(r[t]=o[t]=void 0),n>-1&&(l[n]=void 0)}if(V(t.parseBlock))for(let e of t.parseBlock){let t=a.indexOf(e.name);if(t>-1)r[t]=e.parse,o[t]=e.leaf;else{let t=e.before?W(a,e.before):e.after?W(a,e.after)+1:a.length-1;r.splice(t,0,e.parse),o.splice(t,0,e.leaf),a.splice(t,0,e.name)}e.endLeaf&&u.push(e.endLeaf)}if(V(t.parseInline))for(let e of t.parseInline){let t=c.indexOf(e.name);if(t>-1)l[t]=e.parse;else{let t=e.before?W(c,e.before):e.after?W(c,e.after)+1:c.length-1;l.splice(t,0,e.parse),c.splice(t,0,e.name)}}return t.wrap&&(f=f.concat(t.wrap)),new M(n,r,o,a,u,i,l,c,f)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new el(this,e,t);n:for(let e=t;e<n.end;){let t=n.char(e);for(let i of this.inlineParsers)if(i){let r=i(n,t,e);if(r>=0){e=r;continue n}}e++}return n.resolveMarkers(0)}}function V(e){return null!=e&&e.length>0}function W(e,t){let n=e.indexOf(t);if(n<0)throw RangeError(`Position specified relative to unknown parser ${t}`);return n}let N=[h.Jq.none];for(let e=1,t;t=s[e];e++)N[e]=h.Jq.define({id:e,name:t,props:e>=s.Escape?[]:[[h.md.group,e in m?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==t});let G=[];class U{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,i=0){return this.content.push(e,t,n,4+4*i),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return h.mp.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class B{constructor(e,t,n,i=G){this.type=e,this.from=t,this.to=n,this.children=i}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new U(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class D{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return G}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function J(e,t,n,i){return new B(e,t,n,i)}let F={resolve:"Emphasis",mark:"EmphasisMark"},K={resolve:"Emphasis",mark:"EmphasisMark"},H={},ee={};class et{constructor(e,t,n,i){this.type=e,this.from=t,this.to=n,this.side=i}}let en="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",ei=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{ei=RegExp("[\\p{S}|\\p{P}]","u")}catch(e){}let er={Escape(e,t,n){if(92!=t||n==e.end-1)return -1;let i=e.char(n+1);for(let t=0;t<en.length;t++)if(en.charCodeAt(t)==i)return e.append(J(s.Escape,n,n+2));return -1},Entity(e,t,n){if(38!=t)return -1;let i=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return i?e.append(J(s.Entity,n,n+1+i[0].length)):-1},InlineCode(e,t,n){if(96!=t||n&&96==e.char(n-1))return -1;let i=n+1;for(;i<e.end&&96==e.char(i);)i++;let r=i-n,o=0;for(;i<e.end;i++)if(96==e.char(i)){if(++o==r&&96!=e.char(i+1))return e.append(J(s.InlineCode,n,i+1,[J(s.CodeMark,n,n+r),J(s.CodeMark,i+1-r,i+1)]))}else o=0;return -1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return -1;let i=e.slice(n+1,e.end),r=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(i);if(r)return e.append(J(s.Autolink,n,n+1+r[0].length,[J(s.LinkMark,n,n+1),J(s.URL,n+1,n+r[0].length),J(s.LinkMark,n+r[0].length,n+1+r[0].length)]));let o=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(i);if(o)return e.append(J(s.Comment,n,n+1+o[0].length));let a=/^\?[^]*?\?>/.exec(i);if(a)return e.append(J(s.ProcessingInstruction,n,n+1+a[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return l?e.append(J(s.HTMLTag,n,n+1+l[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return -1;let i=n+1;for(;e.char(i)==t;)i++;let r=e.slice(n-1,n),s=e.slice(i,i+1),o=ei.test(r),a=ei.test(s),l=/\s|^$/.test(r),c=/\s|^$/.test(s),h=!c&&(!a||l||o),O=!l&&(!o||c||a);return e.append(new et(95==t?F:K,n,i,(h&&(42==t||!O||o)?1:0)|(O&&(42==t||!h||a)?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(J(s.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(J(s.HardBreak,n,t+1))}return -1},Link:(e,t,n)=>91==t?e.append(new et(H,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new et(ee,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return -1;for(let t=e.parts.length-1;t>=0;t--){let i=e.parts[t];if(i instanceof et&&(i.type==H||i.type==ee)){if(!i.side||e.skipSpace(i.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let r=e.takeContent(t),o=e.parts[t]=function(e,t,n,i,r){let{text:o}=e,a=e.char(r),l=r;if(t.unshift(J(s.LinkMark,i,i+(n==s.Image?2:1))),t.push(J(s.LinkMark,r-1,r)),40==a){let n=e.skipSpace(r+1),i=es(o,n-e.offset,e.offset),a;i&&(n=e.skipSpace(i.to))!=i.to&&(a=eo(o,n-e.offset,e.offset))&&(n=e.skipSpace(a.to)),41==e.char(n)&&(t.push(J(s.LinkMark,r,r+1)),l=n+1,i&&t.push(i),a&&t.push(a),t.push(J(s.LinkMark,n,l)))}else if(91==a){let n=ea(o,r-e.offset,e.offset,!1);n&&(t.push(n),l=n.to)}return J(n,i,l,t)}(e,r,i.type==H?s.Link:s.Image,i.from,n+1);if(i.type==H)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof et&&t.type==H&&(t.side=0)}return o.to}}return -1}};function es(e,t,n){if(60==e.charCodeAt(t)){for(let i=t+1;i<e.length;i++){let r=e.charCodeAt(i);if(62==r)return J(s.URL,t+n,i+1+n);if(60==r||10==r)return!1}return null}{let i=0,r=t;for(let t=!1;r<e.length;r++){let n=e.charCodeAt(r);if(g(n))break;if(t)t=!1;else if(40==n)i++;else if(41==n){if(!i)break;i--}else 92==n&&(t=!0)}return r>t?J(s.URL,t+n,r+n):r==e.length&&null}}function eo(e,t,n){let i=e.charCodeAt(t);if(39!=i&&34!=i&&40!=i)return!1;let r=40==i?41:i;for(let i=t+1,o=!1;i<e.length;i++){let a=e.charCodeAt(i);if(o)o=!1;else{if(a==r)return J(s.LinkTitle,t+n,i+1+n);92==a&&(o=!0)}}return null}function ea(e,t,n,i){for(let r=!1,o=t+1,a=Math.min(e.length,o+999);o<a;o++){let a=e.charCodeAt(o);if(r)r=!1;else{if(93==a)return!i&&J(s.LinkLabel,t+n,o+1+n);if(i&&!g(a)&&(i=!1),91==a)return!1;92==a&&(r=!0)}}return null}class el{constructor(e,t,n){this.parser=e,this.text=t,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,i,r){return this.append(new et(e,t,n,(i?1:0)|(r?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof et&&(t.type==H||t.type==ee))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t<this.parts.length;t++){let n=this.parts[t];if(!(n instanceof et&&n.type.resolve&&2&n.side))continue;let i=n.type==F||n.type==K,r=n.to-n.from,s,o=t-1;for(;o>=e;o--){let e=this.parts[o];if(e instanceof et&&1&e.side&&e.type==n.type&&!(i&&(1&n.side||2&e.side)&&(e.to-e.from+r)%3==0&&((e.to-e.from)%3||r%3))){s=e;break}}if(!s)continue;let a=n.type.resolve,l=[],c=s.from,h=n.to;if(i){let e=Math.min(2,s.to-s.from,r);c=s.to-e,h=n.from+e,a=1==e?"Emphasis":"StrongEmphasis"}s.type.mark&&l.push(this.elt(s.type.mark,c,s.to));for(let e=o+1;e<t;e++)this.parts[e]instanceof B&&l.push(this.parts[e]),this.parts[e]=null;n.type.mark&&l.push(this.elt(n.type.mark,n.from,h));let O=this.elt(a,c,h,l);this.parts[o]=i&&s.from!=c?new et(s.type,s.from,c,s.side):null,(this.parts[t]=i&&n.to!=h?new et(n.type,h,n.to,n.side):null)?this.parts.splice(t,0,O):this.parts[t]=O}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof B&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof et&&n.type==e&&1&n.side)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}getDelimiterAt(e){let t=this.parts[e];return t instanceof et?t:null}skipSpace(e){return y(this.text,e-this.offset)+this.offset}elt(e,t,n,i){return"string"==typeof e?J(this.parser.getNodeType(e),t,n,i):new D(e,t)}}function ec(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),i=0;for(let e of t){for(;i<n.length&&n[i].to<e.to;)i++;if(i<n.length&&n[i].from<e.from){let t=n[i];t instanceof B&&(n[i]=new B(t.type,t.from,t.to,ec(t.children,[e])))}else n.splice(i++,0,e)}return n}el.linkStart=H,el.imageStart=ee;let eh=[s.CodeBlock,s.ListItem,s.OrderedList,s.BulletList];class eO{constructor(e,t){this.fragments=e,this.input=t,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor()).firstChild();let i=e+this.fragment.offset;for(;n.to<=i;)if(!n.parent())return!1;for(;;){if(n.from>=i)return this.fragment.from<=t;if(!n.childAfter(i))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(h.md.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,o=r,a=e.block.children.length,l=o,c=a;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}let r=eu(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,r);else{let n=new h.mp(e.parser.nodeSet.types[s.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,r)}if(t.type.is("Block")&&(0>eh.indexOf(t.type.id)?(o=t.to-n,a=e.block.children.length):(o=l,a=c),l=t.to-n,c=e.block.children.length),!t.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return o-r}}function eu(e,t){let n=e;for(let i=1;i<t.length;i++){let r=t[i-1].to,s=t[i].from;r<e&&(n-=s-r)}return n}let ef=(0,O.Gv)({"Blockquote/...":O.pJ.quote,HorizontalRule:O.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":O.pJ.heading1,"ATXHeading2/... SetextHeading2/...":O.pJ.heading2,"ATXHeading3/...":O.pJ.heading3,"ATXHeading4/...":O.pJ.heading4,"ATXHeading5/...":O.pJ.heading5,"ATXHeading6/...":O.pJ.heading6,"Comment CommentBlock":O.pJ.comment,Escape:O.pJ.escape,Entity:O.pJ.character,"Emphasis/...":O.pJ.emphasis,"StrongEmphasis/...":O.pJ.strong,"Link/... Image/...":O.pJ.link,"OrderedList/... BulletList/...":O.pJ.list,"BlockQuote/...":O.pJ.quote,"InlineCode CodeText":O.pJ.monospace,"URL Autolink":O.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":O.pJ.processingInstruction,"CodeInfo LinkLabel":O.pJ.labelName,LinkTitle:O.pJ.string,Paragraph:O.pJ.content}),ep=new M(new h.Lj(N).extend(ef),Object.keys(R).map(e=>R[e]),Object.keys(R).map(e=>I[e]),Object.keys(R),[(e,t)=>w(t)>=0,(e,t)=>S(t)>=0,(e,t)=>k(t)>=0,(e,t)=>x(t,e,!0)>=0,(e,t)=>v(t,e,!0)>=0,(e,t)=>b(t,e,!0)>=0,(e,t)=>_(t,e,!0)>=0],m,Object.keys(er).map(e=>er[e]),Object.keys(er),[]),ed={resolve:"Strikethrough",mark:"StrikethroughMark"},em={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":O.pJ.strikethrough}},{name:"StrikethroughMark",style:O.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return -1;let i=e.slice(n-1,n),r=e.slice(n+2,n+3),s=/\s|^$/.test(i),o=/\s|^$/.test(r),a=ei.test(i),l=ei.test(r);return e.addDelimiter(ed,n,n+2,!o&&(!l||s||a),!s&&(!a||o||l))},after:"Emphasis"}]};function eg(e,t,n=0,i,r=0){let s=0,o=!0,a=-1,l=-1,c=!1,h=()=>{i.push(e.elt("TableCell",r+a,r+l,e.parser.parseInline(t.slice(a,l),r+a)))};for(let O=n;O<t.length;O++){let n=t.charCodeAt(O);124!=n||c?(c||32!=n&&9!=n)&&(a<0&&(a=O),l=O+1):((!o||a>-1)&&s++,o=!1,i&&(a>-1&&h(),i.push(e.elt("TableDelimiter",O+r,O+r+1))),a=l=-1),c=!c&&92==n}return a>-1&&(s++,i&&h()),s}function ey(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(124==t)return!0;92==t&&n++}return!1}let eQ=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class eS{constructor(){this.rows=null}nextLine(e,t,n){if(null==this.rows){let i;if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&eQ.test(i=t.text.slice(t.pos))){let r=[];eg(e,n.content,0,r,n.start)==eg(e,i,0)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,r),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];eg(e,t.text,t.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,n))}return!1}finish(e,t){return!!this.rows&&(e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows)),!0)}}let ek={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":O.pJ.heading}},"TableRow",{name:"TableCell",style:O.pJ.content},{name:"TableDelimiter",style:O.pJ.processingInstruction}],parseBlock:[{name:"Table",leaf:(e,t)=>ey(t.content,0)?new eS:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof eS)||!ey(t.text,t.basePos))return!1;let i=e.peekLine();return eQ.test(i)&&eg(e,t.text,t.basePos)==eg(e,i,t.basePos)},before:"SetextHeading"}]};class eb{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let e$={defineNodes:[{name:"Task",block:!0,style:O.pJ.list},{name:"TaskMarker",style:O.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new eb:null,after:"SetextHeading"}]},ex=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,ev=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,ew=/[\w-]+\.[\w-]+($|[/:])/,eP=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,eT=/\/[a-zA-Z\d@.]+/gy;function eZ(e,t,n,i){let r=0;for(let s=t;s<n;s++)e[s]==i&&r++;return r}function eX(e,t){eP.lastIndex=t;let n=eP.exec(e);if(!n)return -1;let i=n[0][n[0].length-1];return"_"==i||"-"==i?-1:t+n[0].length-("."==i?1:0)}let ej=[ek,e$,em,{parseInline:[{name:"Autolink",parse(e,t,n){let i=n-e.offset;if(i&&/\w/.test(e.text[i-1]))return -1;ex.lastIndex=i;let r=ex.exec(e.text),s=-1;if(!r)return -1;if(r[1]||r[2]){if((s=function(e,t){ev.lastIndex=t;let n=ev.exec(e);if(!n||ew.exec(n[0])[0].indexOf("_")>-1)return -1;let i=t+n[0].length;for(;;){let n=e[i-1],r;if(/[?!.,:*_~]/.test(n)||")"==n&&eZ(e,t,i,")")>eZ(e,t,i,"("))i--;else if(";"==n&&(r=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,i))))i=t+r.index;else break}return i}(e.text,i+r[0].length))>-1&&e.hasOpenLink){let t=/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(i,s));s=i+t[0].length}}else r[3]?s=eX(e.text,i):(s=eX(e.text,i+r[0].length))>-1&&"xmpp:"==r[0]&&(eT.lastIndex=s,(r=eT.exec(e.text))&&(s=r.index+r[0].length));return s<0?-1:(e.addElement(e.elt("URL",n,s+e.offset)),s+e.offset)}}]}];function e_(e,t,n){return(i,r,s)=>{if(r!=e||i.char(s+1)==e)return -1;let o=[i.elt(n,s,s+1)];for(let r=s+1;r<i.end;r++){let a=i.char(r);if(a==e)return i.addElement(i.elt(t,s,r+1,o.concat(i.elt(n,r,r+1))));if(92==a&&o.push(i.elt("Escape",r,r+++2)),g(a))break}return -1}}let eA={defineNodes:[{name:"Superscript",style:O.pJ.special(O.pJ.content)},{name:"SuperscriptMark",style:O.pJ.processingInstruction}],parseInline:[{name:"Superscript",parse:e_(94,"Superscript","SuperscriptMark")}]},eC={defineNodes:[{name:"Subscript",style:O.pJ.special(O.pJ.content)},{name:"SubscriptMark",style:O.pJ.processingInstruction}],parseInline:[{name:"Subscript",parse:e_(126,"Subscript","SubscriptMark")}]},eR={defineNodes:[{name:"Emoji",style:O.pJ.character}],parseInline:[{name:"Emoji",parse(e,t,n){let i;return 58==t&&(i=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+i[0].length)):-1}}]};var eE=n(4859);class eY{constructor(e,t,n,i,r,s,o,a,l,c=0,h){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=c,this.parent=h}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new eY(e,[],t,n,n,0,[],0,i?new eq(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,i=65535&e,{parser:r}=this.p,s=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),o=r.dynamicPrecedence(i);if(o&&(this.score+=o),0==n){i<r.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(r.getGoto(this.state,i,!0),this.reducePos),i<r.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,s?8:4,!0),this.reduceContext(i,this.reducePos);return}let a=this.stack.length-(n-1)*3-(262144&e?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from;i<r.minRepeatTerm&&l==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let c=this.reducePos-l;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[i])||void 0===t?void 0:t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let h=a?this.stack[a-1]:0,O=this.bufferBase+this.buffer.length-h;if(i<r.minRepeatTerm||131072&e){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,e,O+4,!0)}if(262144&e)this.state=this.stack[a];else{let e=this.stack[a-3];this.state=r.getGoto(e,i,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(i,l)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this.buffer.length;if(e>0&&0==this.buffer[e-4]&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t){this.buffer[e-2]=n;return}}}if(r&&this.pos!=n){let r=this.buffer.length;if(r>0&&(0!=this.buffer[r-4]||this.buffer[r-1]<0)){let e=!1;for(let t=r;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;r>0&&this.buffer[r-2]>n;)this.buffer[r]=this.buffer[r-4],this.buffer[r+1]=this.buffer[r-3],this.buffer[r+2]=this.buffer[r-2],this.buffer[r+3]=this.buffer[r-1],r-=4,i>4&&(i-=4)}this.buffer[r]=e,this.buffer[r+1]=t,this.buffer[r+2]=n,this.buffer[r+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n,i){if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:r}=this.p;this.pos=i;let s=r.stateFlag(e,1);!s&&(i>n||t<=r.maxNode)&&(this.reducePos=i),this.pushState(e,s?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=r.maxNode&&this.buffer.push(t,n,i,4)}else this.pos=i,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,i,4)}apply(e,t,n,i){65536&e?this.reduce(e):this.shift(e,t,n,i)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(t&&0==e.buffer[t-4]&&(t-=4);t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new eY(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new eI(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if((65536&n)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i=0,r;i<t.length;i+=2)(r=t[i+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[i],r);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let i=t[e+1];n.some((e,t)=>1&t&&e==i)||n.push(t[e],i)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let i=t[e+1];if(i==this.state)continue;let r=this.split();r.pushState(i,this.pos),r.storeNode(0,r.pos,r.pos,4,!0),r.shiftContext(t[e],this.pos),r.reducePos=this.pos,r.score-=200,n.push(r)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if((65536&t)==0)return!1;if(!e.validAction(this.state,t)){let n=t>>19,i=65535&t,r=this.stack.length-3*n;if(r<0||0>e.getGoto(this.stack[r],i,!1)){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(i,r)=>{if(!t.includes(i))return t.push(i),e.allActions(i,t=>{if(393216&t);else if(65536&t){let n=(t>>19)-r;if(n>1){let i=65535&t,r=this.stack.length-3*n;if(r>=0&&e.getGoto(this.stack[r],i,!1)>=0)return n<<19|65536|i}}else{let e=n(t,r+1);if(null!=e)return e}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new eq(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return!(e<=this.lookAhead)&&(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class eq{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class eI{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class ez{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new ez(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new ez(this.stack,this.pos,this.index)}}function eL(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i<e.length;){let s=0;for(;;){let t=e.charCodeAt(i++),n=!1;if(126==t){s=65535;break}t>=92&&t--,t>=34&&t--;let r=t-32;if(r>=46&&(r-=46,n=!0),s+=r,n)break;s*=46}n?n[r++]=s:n=new t(s)}return n}class eM{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let eV=new eM;class eW{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=eV,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;r<n.from;){if(!i)return null;let e=this.ranges[--i];r-=n.from-e.to,n=e}for(;t<0?r>n.to:r>=n.to;){if(i==this.ranges.length-1)return null;let e=this.ranges[++i];r+=e.from-n.to,n=e}return r}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t<this.chunk.length)n=this.pos+e,i=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(null==t)return -1;if((n=t)>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)i=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=eV,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class eN{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;eB(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}eN.prototype.contextual=eN.prototype.fallback=eN.prototype.extend=!1;class eG{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?eL(e):e}token(e,t){let n=e.pos,i=0;for(;;){let n=e.next<0,r=e.resolveOffset(1,1);if(eB(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(!n&&i++,null==r)break;e.reset(r,e.token)}i&&(e.reset(n,e.token),e.acceptToken(this.elseToken,i))}}eG.prototype.contextual=eN.prototype.fallback=eN.prototype.extend=!1;class eU{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function eB(e,t,n,i,r,s){let o=0,a=1<<i,{dialect:l}=n.p.parser;i:for(;(a&e[o])!=0;){let n=e[o+1];for(let i=o+3;i<n;i+=2)if((e[i+1]&a)>0){let n=e[i];if(l.allows(n)&&(-1==t.token.value||t.token.value==n||function(e,t,n,i){let r=eD(n,i,t);return r<0||eD(n,i,e)<r}(n,t.token.value,r,s))){t.acceptToken(n);break}}let i=t.next,c=0,h=e[o+2];if(t.next<0&&h>c&&65535==e[n+3*h-3]){o=e[n+3*h-1];continue}for(;c<h;){let r=c+h>>1,s=n+r+(r<<1),a=e[s],l=e[s+1]||65536;if(i<a)h=r;else if(i>=l)c=r+1;else{o=e[s+2],t.advance();continue i}}break}}function eD(e,t,n){for(let i=t,r;65535!=(r=e[i]);i++)if(r==n)return i-t;return -1}let eJ=void 0!==eE&&eE.env&&/\bparse\b/.test(eE.env.LOG),eF=null;function eK(e,t,n){let i=e.cursor(h.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.to<t:i.from>t)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}class eH{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?eK(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?eK(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let r=n.children[i],s=this.start[t]+n.positions[i];if(s>e)return this.nextStart=s,null;if(r instanceof h.mp){if(s==e){if(s<this.safeFrom)return null;let e=s+r.length;if(e<=this.safeTo){let t=r.prop(h.md.lookAhead);if(!t||e+t<this.fragment.to)return r}}this.index[t]++,s+r.length>=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+r.length}}}class e0{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new eM)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let i=0;i<r.length;i++){if((1<<i&s)==0)continue;let l=r[i],c=this.tokens[i];if((!n||l.fallback)&&((l.contextual||c.start!=e.pos||c.mask!=s||c.context!=o)&&(this.updateCachedToken(c,l,e),c.mask=s,c.context=o),c.lookAhead>c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let i=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!l.extend&&(n=c,t>i))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||((n=new eM).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new eM,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:t}=n.p;for(let i=0;i<t.specialized.length;i++)if(t.specialized[i]==e.value){let r=t.specializers[i](this.stream.read(e.start,e.end),n);if(r>=0&&n.p.parser.dialect.allows(r>>1)){(1&r)==0?e.value=r>>1:e.extended=r>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let t=0;t<i;t+=3)if(this.actions[t]==e)return i;return this.actions[i++]=e,this.actions[i++]=t,this.actions[i++]=n,i}addActions(e,t,n,i){let{state:r}=e,{parser:s}=e.p,{data:o}=s;for(let e=0;e<2;e++)for(let a=s.stateSlot(r,e?2:1);;a+=3){if(65535==o[a]){if(1==o[a+1])a=e9(o,a+2);else{0==i&&2==o[a+1]&&(i=this.putAction(e9(o,a+2),t,n,i));break}}o[a]==t&&(i=this.putAction(e9(o,a+1),t,n,i))}return i}}class e1{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new eW(t,i),this.tokens=new e0(e,this.stream),this.topTerm=e.top[1];let{from:r}=i[0];this.stacks=[eY.start(this,e.top[0],r)],this.fragments=n.length&&this.stream.end-r>4*e.bufferLength?new eH(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<n.length;s++){let o=n[s];for(;;){if(this.tokens.mainToken=null,o.pos>i)r.push(o);else{if(this.advanceStack(o,r,n))continue;e||(e=[],t=[]),e.push(o);let i=this.tokens.getMainToken(o);t.push(i.value,i.end)}break}}if(!r.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return eJ&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw eJ&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,r);if(n)return eJ&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(r.length>e)for(r.sort((e,t)=>t.score-e.score);r.length>e;)r.pop();r.some(e=>e.reducePos>i)&&this.recovering--}else if(r.length>1){n:for(let e=0;e<r.length-1;e++){let t=r[e];for(let n=e+1;n<r.length;n++){let i=r[n];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500){if((t.score-i.score||t.buffer.length-i.buffer.length)>0)r.splice(n--,1);else{r.splice(e--,1);continue n}}}}r.length>12&&(r.sort((e,t)=>t.score-e.score),r.splice(12,r.length-12))}this.minStackPos=r[0].pos;for(let e=1;e<r.length;e++)r[e].pos<this.minStackPos&&(this.minStackPos=r[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:r}=this,s=eJ?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let o=this.fragments.nodeAt(i);o;){let i=this.parser.nodeSet.types[o.type.id]==o.type?r.getGoto(e.state,o.type.id):-1;if(i>-1&&o.length&&(!t||(o.prop(h.md.contextHash)||0)==n))return e.useNode(o,i),eJ&&console.log(s+this.stackID(e)+` (via reuse of ${r.getName(o.type.id)})`),!0;if(!(o instanceof h.mp)||0==o.children.length||o.positions[0]>0)break;let a=o.children[0];if(a instanceof h.mp&&0==o.positions[0])o=a;else break}}let o=r.stateSlot(e.state,4);if(o>0)return e.reduce(o),eJ&&console.log(s+this.stackID(e)+` (via always-reduce ${r.getName(65535&o)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let o=0;o<a.length;){let l=a[o++],c=a[o++],h=a[o++],O=o==a.length||!n,u=O?e:e.split(),f=this.tokens.mainToken;if(u.apply(l,c,f?f.start:u.pos,h),eJ&&console.log(s+this.stackID(u)+` (via ${(65536&l)==0?"shift":`reduce of ${r.getName(65535&l)}`} for ${r.getName(c)} @ ${i}${u==e?"":", split"})`),O)return!0;u.pos>i?t.push(u):n.push(u)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return e2(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s<e.length;s++){let o=e[s],a=t[s<<1],l=t[(s<<1)+1],c=eJ?this.stackID(o)+" -> ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),eJ&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let h=o.split(),O=c;for(let e=0;e<10&&h.forceReduce()&&(eJ&&console.log(O+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));e++)eJ&&(O=this.stackID(h)+" -> ");for(let e of o.recoverByInsert(a))eJ&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),eJ&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),e2(o,n)):(!i||i.score<h.score)&&(i=h)}return i}stackToTree(e){return e.close(),h.mp.build({buffer:ez.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(eF||(eF=new WeakMap)).get(e);return t||eF.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function e2(e,t){for(let n=0;n<t.length;n++){let i=t[n];if(i.pos==e.pos&&i.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}class e5{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}let e3=e=>e;class e4{constructor(e){this.start=e.start,this.shift=e.shift||e3,this.reduce=e.reduce||e3,this.reuse=e.reuse||e3,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class e7 extends h._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push("");let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),i=[];for(let e=0;e<t.length;e++)i.push([]);function r(e,t,n){i[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=h.md[e]);for(let n=1;n<t.length;){let i=t[n++];if(i>=0)r(i,e,t[n++]);else{let s=t[n+-i];for(let o=-i;o>0;o--)r(t[n++],e,s);n++}}}this.nodeSet=new h.Lj(t.map((t,r)=>h.Jq.define({name:r>=this.minRepeatTerm?void 0:t,id:r,props:i[r],top:n.indexOf(r)>-1,error:0==r,skipped:e.skippedNodes&&e.skippedNodes.indexOf(r)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=h.L3;let s=eL(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(e6),this.states=eL(e.states,Uint32Array),this.data=eL(e.stateData),this.goto=eL(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new eN(s,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new e1(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return -1;for(let r=i[t+1];;){let t=i[r++],s=1&t,o=i[r++];if(s&&n)return o;for(let n=r+(t>>1);r<n;r++)if(i[r]==e)return o;if(s)return -1}}hasAction(e,t){let n=this.data;for(let i=0;i<2;i++)for(let r=this.stateSlot(e,i?2:1),s;;r+=3){if(65535==(s=n[r])){if(1==n[r+1])s=n[r=e9(n,r+2)];else if(2==n[r+1])return e9(n,r+2);else break}if(s==t||0==s)return e9(n,r+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let n=this.stateSlot(e,4),i=n?t(n):void 0;for(let n=this.stateSlot(e,1);null==i;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=e9(this.data,n+2);else break}i=t(e9(this.data,n+1))}return i}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=e9(this.data,n+2);else break}if((1&this.data[n+2])==0){let e=this.data[n+1];t.some((t,n)=>1&n&&t==e)||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(e7.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=e.specializers.find(e=>e.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=e6(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let e=t.indexOf(i);e>=0&&(n[e]=!0)}let i=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],r;65535!=(r=this.data[n++]);)(i||(i=new Uint8Array(this.maxTerm+1)))[r]=1;return new e5(e,n,i)}static deserialize(e){return new e7(e)}}function e9(e,t){return e[t]|e[t+1]<<16}function e6(e){if(e.external){let t=e.extend?1:0;return(n,i)=>e.external(n,i)<<1|t}return e.get}let e8={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},te={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},tt={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},tn=null,ti=null,tr=0;function ts(e,t){var n;let i=e.pos+t;if(tr==i&&ti==e)return tn;let r=e.peek(t),s="";for(;45==(n=r)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)s+=String.fromCharCode(r),r=e.peek(++t);return ti=e,tr=i,tn=s?s.toLowerCase():r==to||r==ta?void 0:null}let to=63,ta=33;function tl(e,t){this.name=e,this.parent=t}let tc=[6,10,7,8,9],th=new e4({start:null,shift:(e,t,n,i)=>tc.indexOf(t)>-1?new tl(ts(i,1)||"",e):e,reduce:(e,t)=>21==t&&e?e.parent:e,reuse(e,t,n,i){let r=t.type.id;return 6==r||37==r?new tl(ts(i,1)||"",e):e},strict:!1}),tO=new eU((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(58);return}e.advance();let n=47==e.next;n&&e.advance();let i=ts(e,0);if(void 0===i)return;if(!i)return e.acceptToken(n?15:14);let r=t.context?t.context.name:null;if(n){if(i==r)return e.acceptToken(11);if(r&&te[r])return e.acceptToken(58,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==i)return;e.acceptToken(13)}else{if("script"==i)return e.acceptToken(7);if("style"==i)return e.acceptToken(8);if("textarea"==i)return e.acceptToken(9);if(e8.hasOwnProperty(i))return e.acceptToken(10);r&&tt[r]&&tt[r][i]?e.acceptToken(58,-1):e.acceptToken(6)}},{contextual:!0}),tu=new eU(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(59);break}if(45==e.next)t++;else if(62==e.next&&t>=2){n>=3&&e.acceptToken(59,-2);break}else t=0;e.advance()}}),tf=new eU((e,t)=>{if(47==e.next&&62==e.peek(1)){let n=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)});function tp(e,t,n){let i=2+e.length;return new eU(r=>{for(let s=0,o=0,a=0;;a++){if(r.next<0){a&&r.acceptToken(t);break}if(0==s&&60==r.next||1==s&&47==r.next||s>=2&&s<i&&r.next==e.charCodeAt(s-2))s++,o++;else if(s==i&&62==r.next){a>o?r.acceptToken(t,-o):r.acceptToken(n,-(o-2));break}else if((10==r.next||13==r.next)&&a){r.acceptToken(t,1);break}else s=o=0;r.advance()}})}let td=tp("script",55,1),tm=tp("style",56,2),tg=tp("textarea",57,3),ty=(0,O.Gv)({"Text RawText IncompleteTag IncompleteCloseTag":O.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":O.pJ.angleBracket,TagName:O.pJ.tagName,"MismatchedCloseTag/TagName":[O.pJ.tagName,O.pJ.invalid],AttributeName:O.pJ.attributeName,"AttributeValue UnquotedAttributeValue":O.pJ.attributeValue,Is:O.pJ.definitionOperator,"EntityReference CharacterReference":O.pJ.character,Comment:O.pJ.blockComment,ProcessingInst:O.pJ.processingInstruction,DoctypeDecl:O.pJ.documentMeta}),tQ=e7.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOO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~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:th,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[ty],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!dpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!b`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vw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;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[td,tm,tg,tf,tO,tu,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function tS(e,t){let n=Object.create(null);for(let i of e.getChildren(24)){let e=i.getChild(25),r=i.getChild(27)||i.getChild(28);e&&(n[t.read(e.from,e.to)]=r?27==r.type.id?t.read(r.from+1,r.to-1):t.read(r.from,r.to):"")}return n}function tk(e,t){let n=e.getChild(23);return n?t.read(n.from,n.to):" "}function tb(e,t,n){let i;for(let r of n)if(!r.attrs||r.attrs(i||(i=tS(e.node.parent.firstChild,t))))return{parser:r.parser,bracketed:!0};return null}function t$(e=[],t=[]){let n=[],i=[],r=[],s=[];for(let t of e)("script"==t.tag?n:"style"==t.tag?i:"textarea"==t.tag?r:s).push(t);let o=t.length?Object.create(null):null;for(let e of t)(o[e.name]||(o[e.name]=[])).push(e);return(0,h.FE)((e,t)=>{let a=e.type.id;if(29==a)return tb(e,t,n);if(32==a)return tb(e,t,i);if(35==a)return tb(e,t,r);if(21==a&&s.length){let n=e.node,i=n.firstChild,r=i&&tk(i,t),o;if(r){for(let e of s)if(e.tag==r&&(!e.attrs||e.attrs(o||(o=tS(i,t))))){let t=n.lastChild,r=38==t.type.id?t.from:n.to;if(r>i.to)return{parser:e.parser,overlay:[{from:i.to,to:r}]}}}}if(o&&24==a){let n=e.node,i;if(i=n.firstChild){let e=o[t.read(i.from,i.to)];if(e)for(let i of e){if(i.tagName&&i.tagName!=tk(n.parent,t))continue;let e=n.lastChild;if(27==e.type.id){let t=e.from+1,n=e.lastChild,r=e.to-(n&&n.isError?0:1);if(r>t)return{parser:i.parser,overlay:[{from:t,to:r}],bracketed:!0}}else if(28==e.type.id)return{parser:i.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}let tx=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function tv(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function tw(e){return e>=48&&e<=57}function tP(e){return tw(e)||e>=97&&e<=102||e>=65&&e<=70}let tT=(e,t,n)=>(i,r)=>{for(let s=!1,o=0,a=0;;a++){let{next:l}=i;if(tv(l)||45==l||95==l||s&&tw(l))!s&&(45!=l||a>0)&&(s=!0),o===a&&45==l&&o++,i.advance();else if(92==l&&10!=i.peek(1)){if(i.advance(),tP(i.next)){do i.advance();while(tP(i.next));32==i.next&&i.advance()}else i.next>-1&&i.advance();s=!0}else{s&&i.acceptToken(2==o&&r.canShift(2)?t:40==l?n:e);break}}},tZ=new eU(tT(136,2,137),{contextual:!0}),tX=new eU(tT(138,3,4),{contextual:!0}),tj=new eU(e=>{if(tx.includes(e.peek(-1))){let{next:t}=e;(tv(t)||95==t||35==t||46==t||42==t||91==t||58==t&&tv(e.peek(1))||45==t||38==t)&&e.acceptToken(135)}}),t_=new eU(e=>{if(!tx.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),tv(t)){do e.advance();while(tv(e.next)||tw(e.next));e.acceptToken(1)}}}),tA=(0,O.Gv)({"AtKeyword import charset namespace keyframes media supports font-feature-values":O.pJ.definitionKeyword,"from to selector scope MatchFlag":O.pJ.keyword,NamespaceName:O.pJ.namespace,KeyframeName:O.pJ.labelName,KeyframeRangeName:O.pJ.operatorKeyword,TagName:O.pJ.tagName,ClassName:O.pJ.className,PseudoClassName:O.pJ.constant(O.pJ.className),IdName:O.pJ.labelName,"FeatureName PropertyName":O.pJ.propertyName,AttributeName:O.pJ.attributeName,NumberLiteral:O.pJ.number,KeywordQuery:O.pJ.keyword,UnaryQueryOp:O.pJ.operatorKeyword,"CallTag ValueName FontName":O.pJ.atom,VariableName:O.pJ.variableName,Callee:O.pJ.operatorKeyword,Unit:O.pJ.unit,"UniversalSelector NestingSelector":O.pJ.definitionOperator,"MatchOp CompareOp":O.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":O.pJ.logicOperator,BinOp:O.pJ.arithmeticOperator,Important:O.pJ.modifier,Comment:O.pJ.blockComment,ColorLiteral:O.pJ.color,"ParenthesizedContent StringLiteral":O.pJ.string,":":O.pJ.punctuation,"PseudoOp #":O.pJ.derefOperator,"; , |":O.pJ.separator,"( )":O.pJ.paren,"[ ]":O.pJ.squareBracket,"{ }":O.pJ.brace}),tC={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:132,"url-prefix":132,domain:132,regexp:132},tR={__proto__:null,or:104,and:104,not:112,only:112,layer:186},tE={__proto__:null,selector:118,layer:182},tY={__proto__:null,"@import":178,"@media":190,"@charset":194,"@namespace":198,"@keyframes":204,"@supports":216,"@scope":220,"@font-feature-values":226},tq={__proto__:null,to:223},tI=e7.deserialize({version:14,states:"IpQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FdO&XQd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assName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",maxTerm:159,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[tA],skippedNodes:[0,5,117],repeatNodeCount:17,tokenData:"K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`KY<%lO%Z`%^SOy%jz;'S%j;'S;=`%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;=`%{<%lO%jbHoU!e`Oy%jz#h%j#h#iIR#i;'S%j;'S;=`%{<%lO%jbIYS$cQ!e`Oy%jz;'S%j;'S;=`%{<%lO%jjIkSsYOy%jz;'S%j;'S;=`%{<%lO%jfI|U$XUOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jjJeSrYOy%jz;'S%j;'S;=`%{<%lO%jfJvU!uQOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%j`K]P;=`<%l%Z",tokenizers:[tj,t_,tZ,tX,1,2,3,4,new eG("m~RRYZ[z{a~~g~aO$T~~dP!P!Qg~lO$U~~",28,142)],topRules:{StyleSheet:[0,6],Styles:[1,116]},dynamicPrecedences:{84:1},specialized:[{term:137,get:e=>tC[e]||-1},{term:138,get:e=>tR[e]||-1},{term:4,get:e=>tE[e]||-1},{term:28,get:e=>tY[e]||-1},{term:136,get:e=>tq[e]||-1}],tokenPrec:2256}),tz=null;function tL(){if(!tz&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let i in e)"cssText"==i||"cssFloat"==i||"string"!=typeof e[i]||(/[A-Z]/.test(i)&&(i=i.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())),n.has(i)||(t.push(i),n.add(i)));tz=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return tz||[]}let tM=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),tV=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),tW=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),tN=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),tG=/^(\w[\w-]*|-\w[\w-]*|)$/,tU=/^-(-[\w-]*)?$/,tB=new h.hr,tD=["Declaration"],tJ=(i=e=>"VariableName"==e.name,e=>{let{state:t,pos:n}=e,r=(0,l.qz)(t).resolveInner(n,-1),s=r.type.isError&&r.from==r.to-1&&"-"==t.doc.sliceString(r.from,r.to);if("PropertyName"==r.name||(s||"TagName"==r.name)&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:tL(),validFor:tG};if("ValueName"==r.name)return{from:r.from,options:tV,validFor:tG};if("PseudoClassName"==r.name)return{from:r.from,options:tM,validFor:tG};if(i(r)||(e.explicit||s)&&function(e,t){var n;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let i=null===(n=e.parent)||void 0===n?void 0:n.firstChild;return(null==i?void 0:i.name)=="Callee"&&"var"==t.sliceString(i.from,i.to)}(r,t.doc))return{from:i(r)||s?r.from:n,options:function e(t,n,i){if(n.to-n.from>4096){let r=tB.get(n);if(r)return r;let s=[],o=new Set,a=n.cursor(h.vj.IncludeAnonymous);if(a.firstChild())do for(let n of e(t,a.node,i))o.has(n.label)||(o.add(n.label),s.push(n));while(a.nextSibling());return tB.set(n,s),s}{let e=[],r=new Set;return n.cursor().iterate(n=>{var s;if(i(n)&&n.matchContext(tD)&&(null===(s=n.node.nextSibling)||void 0===s?void 0:s.name)==":"){let i=t.sliceString(n.from,n.to);r.has(i)||(r.add(i),e.push({label:i,type:"variable"}))}}),e}}(t.doc,function(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}(r),i),validFor:tU};if("TagName"==r.name){for(let{parent:e}=r;e;e=e.parent)if("Block"==e.name)return{from:r.from,options:tL(),validFor:tG};return{from:r.from,options:tW,validFor:tG}}if("AtKeyword"==r.name)return{from:r.from,options:tN,validFor:tG};if(!e.explicit)return null;let o=r.resolve(n),a=o.childBefore(n);return a&&":"==a.name&&"PseudoClassSelector"==o.name?{from:n,options:tM,validFor:tG}:a&&":"==a.name&&"Declaration"==o.name||"ArgList"==o.name?{from:n,options:tV,validFor:tG}:"Block"==o.name||"Styles"==o.name?{from:n,options:tL(),validFor:tG}:null}),tF=l.qp.define({name:"css",parser:tI.configure({props:[l.uj.add({Declaration:(0,l.tC)()}),l.x0.add({"Block KeyframeList":l.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),tK=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],tH=new e4({start:!1,shift:(e,t)=>5==t||6==t||320==t?e:321==t,strict:!1}),t0=new eU((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(318)},{contextual:!0,fallback:!0}),t1=new eU((e,t)=>{let{next:n}=e,i;!(tK.indexOf(n)>-1)&&(47==n&&(47==(i=e.peek(1))||42==i)||125==n||59==n||-1==n||t.context||e.acceptToken(316))},{contextual:!0}),t2=new eU((e,t)=>{91!=e.next||t.context||e.acceptToken(317)},{contextual:!0}),t5=new eU((e,t)=>{let{next:n}=e;if(43==n||45==n){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1);e.acceptToken(n?1:2)}}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0});function t3(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}let t4=new eU((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let n=0;for(;tK.indexOf(e.next)>-1;)e.advance(),n++;if(t3(e.next,!0)){for(e.advance(),n++;t3(e.next,!1);)e.advance(),n++;for(;tK.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!t3(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)}),t7=(0,O.Gv)({"get set async static":O.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case defer":O.pJ.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":O.pJ.operatorKeyword,"let var const using function class extends":O.pJ.definitionKeyword,"import export from":O.pJ.moduleKeyword,"with debugger new":O.pJ.keyword,TemplateString:O.pJ.special(O.pJ.string),super:O.pJ.atom,BooleanLiteral:O.pJ.bool,this:O.pJ.self,null:O.pJ.null,Star:O.pJ.modifier,VariableName:O.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":O.pJ.function(O.pJ.variableName),VariableDefinition:O.pJ.definition(O.pJ.variableName),Label:O.pJ.labelName,PropertyName:O.pJ.propertyName,PrivatePropertyName:O.pJ.special(O.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":O.pJ.function(O.pJ.propertyName),"FunctionDeclaration/VariableDefinition":O.pJ.function(O.pJ.definition(O.pJ.variableName)),"ClassDeclaration/VariableDefinition":O.pJ.definition(O.pJ.className),"NewExpression/VariableName":O.pJ.className,PropertyDefinition:O.pJ.definition(O.pJ.propertyName),PrivatePropertyDefinition:O.pJ.definition(O.pJ.special(O.pJ.propertyName)),UpdateOp:O.pJ.updateOperator,"LineComment Hashbang":O.pJ.lineComment,BlockComment:O.pJ.blockComment,Number:O.pJ.number,String:O.pJ.string,Escape:O.pJ.escape,ArithOp:O.pJ.arithmeticOperator,LogicOp:O.pJ.logicOperator,BitOp:O.pJ.bitwiseOperator,CompareOp:O.pJ.compareOperator,RegExp:O.pJ.regexp,Equals:O.pJ.definitionOperator,Arrow:O.pJ.function(O.pJ.punctuation),": Spread":O.pJ.punctuation,"( )":O.pJ.paren,"[ ]":O.pJ.squareBracket,"{ }":O.pJ.brace,"InterpolationStart InterpolationEnd":O.pJ.special(O.pJ.brace),".":O.pJ.derefOperator,", ;":O.pJ.separator,"@":O.pJ.meta,TypeName:O.pJ.typeName,TypeDefinition:O.pJ.definition(O.pJ.typeName),"type enum interface implements namespace module declare":O.pJ.definitionKeyword,"abstract global Privacy readonly override":O.pJ.modifier,"is keyof unique infer asserts":O.pJ.operatorKeyword,JSXAttributeValue:O.pJ.attributeValue,JSXText:O.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":O.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":O.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":O.pJ.attributeName,"JSXBuiltin/JSXIdentifier":O.pJ.standard(O.pJ.tagName)}),t9={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},t6={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},t8={__proto__:null,"<":193},ne=e7.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#E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ctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:tH,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[t7],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<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W&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[t1,t2,t5,t4,2,3,4,5,6,7,8,9,10,11,12,13,14,t0,new eG("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new eG("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:e=>t9[e]||-1},{term:343,get:e=>t6[e]||-1},{term:95,get:e=>t8[e]||-1}],tokenPrec:15201}),nt=[(0,c.Gn)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,c.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,c.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,c.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,c.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,c.Gn)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,c.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,c.Gn)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,c.Gn)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,c.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,c.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],nn=nt.concat([(0,c.Gn)("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),(0,c.Gn)("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),(0,c.Gn)("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),ni=new h.hr,nr=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function ns(e){return(t,n)=>{let i=t.node.getChild("VariableDefinition");return i&&n(i,e),!0}}let no=["FunctionDeclaration"],na={FunctionDeclaration:ns("function"),ClassDeclaration:ns("class"),ClassExpression:()=>!0,EnumDeclaration:ns("constant"),TypeAliasDeclaration:ns("type"),NamespaceDeclaration:ns("namespace"),VariableDefinition(e,t){e.matchContext(no)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},nl=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,nc=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function nh(e){let t=(0,l.qz)(e.state).resolveInner(e.pos,-1);if(nc.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&nl.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let i=[];for(let n=t;n;n=n.parent)nr.has(n.name)&&(i=i.concat(function e(t,n){let i=ni.get(n);if(i)return i;let r=[],s=!0;function o(e,n){let i=t.sliceString(e.from,e.to);r.push({label:i,type:n})}return n.cursor(h.vj.IncludeAnonymous).iterate(n=>{if(s)s=!1;else if(n.name){let e=na[n.name];if(e&&e(n,o)||nr.has(n.name))return!1}else if(n.to-n.from>8192){for(let i of e(t,n.node))r.push(i);return!1}}),ni.set(n,r),r}(e.state.doc,n)));return{options:i,from:n?t.from:e.pos,validFor:nl}}let nO=l.qp.define({name:"javascript",parser:ne.configure({props:[l.uj.add({IfStatement:(0,l.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,l.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:l.ze,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),i=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:i?1:2)*e.unit},Block:(0,l.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,l.tC)({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),l.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":l.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2}),JSXElement(e){let t=e.firstChild;if(!t||"JSXSelfClosingTag"==t.name)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let n=null===(t=e.firstChild)||void 0===t?void 0:t.nextSibling,i=e.lastChild;return!n||n.type.isError?null:{from:n.to,to:i.type.isError?e.to:i.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),nu={test:e=>/^JSX/.test(e.name),facet:(0,l.kU)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},nf=nO.configure({dialect:"ts"},"typescript"),np=nO.configure({dialect:"jsx",props:[l.KC.add(e=>e.isTop?[nu]:void 0)]}),nd=nO.configure({dialect:"jsx ts",props:[l.KC.add(e=>e.isTop?[nu]:void 0)]},"typescript"),nm=e=>({label:e,type:"keyword"}),ng="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(nm),ny=ng.concat(["declare","implements","private","protected","public"].map(nm));function nQ(e,t,n=e.length){for(let i=null==t?void 0:t.firstChild;i;i=i.nextSibling)if("JSXIdentifier"==i.name||"JSXBuiltin"==i.name||"JSXNamespacedName"==i.name||"JSXMemberExpression"==i.name)return e.sliceString(i.from,Math.min(i.to,n));return""}let nS="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),nk=a.tk.inputHandler.of((e,t,n,i,r)=>{if((nS?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!nO.isActiveAt(e.state,t,-1))return!1;let s=r(),{state:a}=s,c=a.changeByRange(e=>{var t;let{head:n}=e,r=(0,l.qz)(a).resolveInner(n-1,-1),s;if("JSXStartTag"==r.name&&(r=r.parent),a.doc.sliceString(n-1,n)!=i||"JSXAttributeValue"==r.name&&r.to>n);else if(">"==i&&"JSXFragmentTag"==r.name)return{range:e,changes:{from:n,insert:"</>"}};else if("/"==i&&"JSXStartCloseTag"==r.name){let e=r.parent,i=e.parent;if(i&&e.from==n-2&&((s=nQ(a.doc,i.firstChild,n))||(null===(t=i.firstChild)||void 0===t?void 0:t.name)=="JSXFragmentTag")){let e=`${s}>`;return{range:o.jT.cursor(n+e.length,-1),changes:{from:n,insert:e}}}}else if(">"==i){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(r);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(a.doc.sliceString(n,n+2))&&(s=nQ(a.doc,t,n)))return{range:e,changes:{from:n,insert:`</${s}>`}}}return{range:e}});return!c.changes.empty&&(e.dispatch([s,a.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),nb=["_blank","_self","_top","_parent"],n$=["ascii","utf-8","utf-16","latin1","latin1"],nx=["get","post","put","delete"],nv=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],nw=["true","false"],nP={},nT={a:{attrs:{href:null,ping:null,type:null,media:null,target:nb,hreflang:null}},abbr:nP,address:nP,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:nP,aside:nP,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:nP,base:{attrs:{href:null,target:nb}},bdi:nP,bdo:nP,blockquote:{attrs:{cite:null}},body:nP,br:nP,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:nv,formmethod:nx,formnovalidate:["novalidate"],formtarget:nb,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:nP,center:nP,cite:nP,code:nP,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:nP,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:nP,div:nP,dl:nP,dt:nP,em:nP,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:nP,figure:nP,footer:nP,form:{attrs:{action:null,name:null,"accept-charset":n$,autocomplete:["on","off"],enctype:nv,method:nx,novalidate:["novalidate"],target:nb}},h1:nP,h2:nP,h3:nP,h4:nP,h5:nP,h6:nP,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:nP,hgroup:nP,hr:nP,html:{attrs:{manifest:null}},i:nP,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:nv,formmethod:nx,formnovalidate:["novalidate"],formtarget:nb,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:nP,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:nP,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:nP,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:n$,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:nP,noscript:nP,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:nP,param:{attrs:{name:null,value:null}},pre:nP,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:nP,rt:nP,ruby:nP,samp:nP,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:n$}},section:nP,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:nP,source:{attrs:{src:null,type:null,media:null}},span:nP,strong:nP,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:nP,summary:nP,sup:nP,table:nP,tbody:nP,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:nP,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:nP,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:nP,time:{attrs:{datetime:null}},title:nP,tr:nP,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:nP,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:nP},nZ={accesskey:null,class:null,contenteditable:nw,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:nw,autocorrect:nw,autocapitalize:nw,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":nw,"aria-autocomplete":["inline","list","both","none"],"aria-busy":nw,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":nw,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":nw,"aria-hidden":nw,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":nw,"aria-multiselectable":nw,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":nw,"aria-relevant":null,"aria-required":nw,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},nX="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of nX)nZ[e]=null;class nj{constructor(e,t){this.tags={...nT,...e},this.globalAttrs={...nZ,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function n_(e,t,n=e.length){if(!t)return"";let i=t.firstChild,r=i&&i.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,n)):""}function nA(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function nC(e,t,n){let i=n.tags[n_(e,nA(t))];return(null==i?void 0:i.children)||n.allTags}function nR(e,t){let n=[];for(let i=nA(t);i&&!i.type.isTop;i=nA(i.parent)){let r=n_(e,i);if(r&&"CloseTag"==i.lastChild.name)break;r&&0>n.indexOf(r)&&("EndTag"==t.name||t.from>=i.firstChild.to)&&n.push(r)}return n}nj.default=new nj;let nE=/^[:\-\.\w\u00b7-\uffff]*$/;function nY(e,t,n,i,r){let s=/\s*>/.test(e.sliceDoc(r,r+5))?"":">",o=nA(n,"StartTag"==n.name||"TagName"==n.name);return{from:i,to:r,options:nC(e.doc,o,t).map(e=>({label:e,type:"type"})).concat(nR(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+s,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function nq(e,t,n,i){let r=/\s*>/.test(e.sliceDoc(i,i+5))?"":">";return{from:n,to:i,options:nR(e.doc,t).map((e,t)=>({label:e,apply:e+r,type:"type",boost:99-t})),validFor:nE}}function nI(e,t){let{state:n,pos:i}=t,r=(0,l.qz)(n).resolveInner(i,-1),s=r.resolve(i);for(let e=i,t;s==r&&(t=r.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;s=r=t,e=n.from}if("TagName"==r.name)return r.parent&&/CloseTag$/.test(r.parent.name)?nq(n,r,r.from,i):nY(n,e,r,r.from,i);if("StartTag"==r.name||"IncompleteTag"==r.name)return nY(n,e,r,i,i);if("StartCloseTag"==r.name||"IncompleteCloseTag"==r.name)return nq(n,r,i,i);if("OpenTag"==r.name||"SelfClosingTag"==r.name||"AttributeName"==r.name){var o,a;let t,s,l;return o=r,a="AttributeName"==r.name?r.from:i,l=(s=(t=nA(o))?e.tags[n_(n.doc,t)]:null)&&s.attrs?Object.keys(s.attrs):[],{from:a,to:i,options:(s&&!1===s.globalAttrs?l:l.length?l.concat(e.globalAttrNames):e.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:nE}}return"Is"==r.name||"AttributeValue"==r.name||"UnquotedAttributeValue"==r.name?function(e,t,n,i,r){var s;let o=null===(s=n.parent)||void 0===s?void 0:s.getChild("AttributeName"),a=[],l;if(o){let s=e.sliceDoc(o.from,o.to),c=t.globalAttrs[s];if(!c){let i=nA(n),r=i?t.tags[n_(e.doc,i)]:null;c=(null==r?void 0:r.attrs)&&r.attrs[s]}if(c){let t=e.sliceDoc(i,r).toLowerCase(),n='"',s='"';for(let o of(/^['"]/.test(t)?(l='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",s=e.sliceDoc(r,r+1)==t[0]?"":t[0],t=t.slice(1),i++):l=/^[^\s<>='"]*$/,c))a.push({label:o,apply:n+o+s,type:"constant"})}}return{from:i,to:r,options:a,validFor:l}}(n,e,r,"Is"==r.name?i:r.from,i):t.explicit&&("Element"==s.name||"Text"==s.name||"Document"==s.name)?function(e,t,n,i){let r=[],s=0;for(let i of nC(e.doc,n,t))r.push({label:"<"+i,type:"type"});for(let t of nR(e.doc,n))r.push({label:"</"+t+">",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,r,i):null}let nz=nO.parser.configure({top:"SingleExpression"}),nL=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:nf.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:np.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:nd.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:nz},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:nO.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:tF.parser}],nM=[{name:"style",parser:tF.parser.configure({top:"Styles"})}].concat(nX.map(e=>({name:e,parser:nO.parser}))),nV=l.qp.define({name:"html",parser:tQ.configure({props:[l.uj.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||"Element"!=e.name||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&("CloseTag"==n.name||"SelfClosingTag"==n.name))?e.lineIndent(t.from)+e.unit:null}}),l.x0.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),l.a0.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),nW=nV.configure({wrap:t$(nL,nM)}),nN=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),nG=a.tk.inputHandler.of((e,t,n,i,r)=>{if(e.composing||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!nW.isActiveAt(e.state,t,-1))return!1;let s=r(),{state:a}=s,c=a.changeByRange(e=>{var t,n,r;let s=a.doc.sliceString(e.from-1,e.to)==i,{head:c}=e,h=(0,l.qz)(a).resolveInner(c,-1),O;if(s&&">"==i&&"EndTag"==h.name){let i=h.parent;if((null===(n=null===(t=i.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)!="CloseTag"&&(O=n_(a.doc,i.parent,c))&&!nN.has(O)){let t=c+(">"===a.doc.sliceString(c,c+1)?1:0);return{range:e,changes:{from:c,to:t,insert:`</${O}>`}}}}else if(s&&"/"==i&&"IncompleteCloseTag"==h.name){let e=h.parent;if(h.from==c-2&&(null===(r=e.lastChild)||void 0===r?void 0:r.name)!="CloseTag"&&(O=n_(a.doc,e,c))&&!nN.has(O)){let e=c+(">"===a.doc.sliceString(c,c+1)?1:0),t=`${O}>`;return{range:o.jT.cursor(c+t.length,-1),changes:{from:c,to:e,insert:t}}}}return{range:e}});return!c.changes.empty&&(e.dispatch([s,a.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),nU=(0,l.kU)({commentTokens:{block:{open:"<!--",close:"-->"}}}),nB=new h.md,nD=ep.configure({props:[l.x0.add(e=>{var t;return!e.is("Block")||e.is("Document")||null!=nJ(e)||"OrderedList"==(t=e).name||"BulletList"==t.name?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),nB.add(nJ),l.uj.add({Document:()=>null}),l.pp.add({Document:nU})]});function nJ(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}let nF=l.rs.of((e,t,n)=>{for(let i=(0,l.qz)(e).resolveInner(n,-1);i&&!(i.from<t);i=i.parent){let e=i.type.prop(nB);if(null==e)continue;let t=function(e,t){let n=e;for(;;){let e=n.nextSibling,i;if(!e||null!=(i=nJ(e.type))&&i<=t)break;n=e}return n.to}(i,e);if(t>n)return{from:n,to:t}}return null});function nK(e){return new l.SQ(nU,e,[],"markdown")}let nH=nK(nD),n0=nK(nD.configure([ej,eC,eA,eR,{props:[l.x0.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));class n1{constructor(e,t,n,i,r,s,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=i,this.spaceAfter=r,this.type=s,this.item=o}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;n.length<e;)n+=" ";return n}for(let e=this.to-this.from-n.length-this.spaceAfter.length;e>0;e--)n+=" ";return n+(t?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+n5(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function n2(e,t){let n=[],i=[];for(let t=e;t;t=t.parent){if("FencedCode"==t.name)return i;("ListItem"==t.name||"Blockquote"==t.name)&&n.push(t)}for(let e=n.length-1;e>=0;e--){let r=n[e],s,o=t.lineAt(r.from),a=r.from-o.from;if("Blockquote"==r.name&&(s=/^ *>( ?)/.exec(o.text.slice(a))))i.push(new n1(r,a,a+s[0].length,"",s[1],">",null));else if("ListItem"==r.name&&"OrderedList"==r.parent.name&&(s=/^( *)\d+([.)])( *)/.exec(o.text.slice(a)))){let e=s[3],t=s[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),i.push(new n1(r.parent,a,a+t,s[1],e,s[2],r))}else if("ListItem"==r.name&&"BulletList"==r.parent.name&&(s=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(a)))){let e=s[4],t=s[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=s[2];s[3]&&(n+=s[3].replace(/[xX]/," ")),i.push(new n1(r.parent,a,a+t,s[1],e,n,r))}}return i}function n5(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function n3(e,t,n,i=0){for(let r=-1,s=e;;){if("ListItem"==s.name){let e=n5(s,t),o=+e[2];if(r>=0){if(o!=r+1)return;n.push({from:s.from+e[1].length,to:s.from+e[0].length,insert:String(r+2+i)})}r=o}let e=s.nextSibling;if(!e)break;s=e}}function n4(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||" "!=t.facet(l.c))return e;let i=(0,o.IS)(e,4,n),r="";for(let e=i;e>0;)e>=4?(r+=" ",e-=4):(r+=" ",e--);return r+e.slice(n)}function n7(e){return"QuoteMark"==e.name||"ListMark"==e.name}function n9(e,t,n){let i="";for(let t=0,r=e.length-2;t<=r;t++)i+=e[t].blank(t<r?(0,o.IS)(n.text,4,e[t+1].from)-i.length:null,t<r);return n4(i,t)}let n6=[{key:"Enter",run:((e={})=>({state:t,dispatch:n})=>{let i=(0,l.qz)(t),{doc:r}=t,s=null,a=t.changeByRange(n=>{if(!n.empty||!n0.isActiveAt(t,n.from,-1)&&!n0.isActiveAt(t,n.from,1))return s={range:n};let a=n.from,l=r.lineAt(a),c=n2(i.resolveInner(a,-1),r);for(;c.length&&c[c.length-1].from>a-l.from;)c.pop();if(!c.length)return s={range:n};let h=c[c.length-1];if(h.to-h.spaceAfter.length>a-l.from)return s={range:n};let O=a>=h.to-h.spaceAfter.length&&!/\S/.test(l.text.slice(h.to));if(h.item&&O){let n=h.node.firstChild,i=h.node.getChild("ListItem","ListItem");if(n.to>=a||i&&i.to<a||l.from>0&&!/[^\s>]/.test(r.lineAt(l.from-1).text)||!1===e.nonTightLists){let e=c.length>1?c[c.length-2]:null,t,n="";e&&e.item?(t=l.from+e.from,n=e.marker(r,1)):t=l.from+(e?e.to:0);let i=[{from:t,to:a,insert:n}];return"OrderedList"==h.node.name&&n3(h.item,r,i,-2),e&&"OrderedList"==e.node.name&&n3(e.item,r,i),{range:o.jT.cursor(t+n.length),changes:i}}{let e=n9(c,t,l);return{range:o.jT.cursor(a+e.length+1),changes:{from:l.from,insert:e+t.lineBreak}}}}if("Blockquote"==h.node.name&&O&&l.from){let e=r.lineAt(l.from-1),i=/>\s*$/.exec(e.text);if(i&&i.index==h.from){let r=t.changes([{from:e.from+i.index,to:e.to},{from:l.from+h.from,to:l.to}]);return{range:n.map(r),changes:r}}}let u=[];"OrderedList"==h.node.name&&n3(h.item,r,u);let f=h.item&&h.item.from<l.from,p="";if(!f||/^[\s\d.)\-+*>]*/.exec(l.text)[0].length>=h.to)for(let e=0,t=c.length-1;e<=t;e++)p+=e!=t||f?c[e].blank(e<t?(0,o.IS)(l.text,4,c[e+1].from)-p.length:null):c[e].marker(r,1);let d=a;for(;d>l.from&&/\s/.test(l.text.charAt(d-l.from-1));)d--;return p=n4(p,t),function(e,t){if("OrderedList"!=e.name&&"BulletList"!=e.name)return!1;let n=e.firstChild,i=e.getChild("ListItem","ListItem");if(!i)return!1;let r=t.lineAt(n.to),s=t.lineAt(i.from),o=/^[\s>]*$/.test(r.text);return r.number+(o?0:1)<s.number}(h.node,t.doc)&&(p=n9(c,t,l)+t.lineBreak+p),u.push({from:d,to:a,insert:t.lineBreak+p}),{range:o.jT.cursor(d+p.length+1),changes:u}});return!s&&(n(t.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)})()},{key:"Backspace",run:({state:e,dispatch:t})=>{let n=(0,l.qz)(e),i=null,r=e.changeByRange(t=>{let r=t.from,{doc:s}=e;if(t.empty&&n0.isActiveAt(e,t.from)){let t=s.lineAt(r),i=n2(function(e,t){let n=e.resolveInner(t,-1),i=t;n7(n)&&(i=n.from,n=n.parent);for(let e;e=n.childBefore(i);)if(n7(e))i=e.from;else if("OrderedList"==e.name||"BulletList"==e.name)i=(n=e.lastChild).to;else break;return n}(n,r),s);if(i.length){let n=i[i.length-1],s=n.to-n.spaceAfter.length+(n.spaceAfter?1:0);if(r-t.from>s&&!/\S/.test(t.text.slice(s,r-t.from)))return{range:o.jT.cursor(t.from+s),changes:{from:t.from+s,to:r}};if(r-t.from==s&&(!n.item||t.from<=n.item.from||!/\S/.test(t.text.slice(0,n.to)))){let i=t.from+n.from;if(n.item&&n.node.from<n.item.from&&/\S/.test(t.text.slice(n.from,n.to))){let r=n.blank((0,o.IS)(t.text,4,n.to)-(0,o.IS)(t.text,4,n.from));return i==t.from&&(r=n4(r,e)),{range:o.jT.cursor(i+r.length),changes:{from:i,to:t.from+n.to,insert:r}}}if(i<r)return{range:o.jT.cursor(i),changes:{from:i,to:r}}}}}return i={range:t}});return!i&&(t(e.update(r,{scrollIntoView:!0,userEvent:"delete"})),!0)}}],n8=function(e={}){let t="",n;!1===e.matchClosingTags&&(t="noMatch"),!0===e.selfClosingTags&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=t$((e.nestedLanguages||[]).concat(nL),(e.nestedAttributes||[]).concat(nM)));let i=n?nV.configure({wrap:n,dialect:t}):t?nW.configure({dialect:t}):nW;return new l.ri(i,[nW.data.of({autocomplete:function(e){let{extraTags:t,extraGlobalAttributes:n}=e,i=n||t?new nj(t,n):nj.default;return e=>nI(i,e)}(e)}),!1!==e.autoCloseTags?nG:[],function(e={}){let t=e.jsx?e.typescript?nd:np:e.typescript?nf:nO,n=e.typescript?nn.concat(ny):nt.concat(ng);return new l.ri(t,[nO.data.of({autocomplete:(0,c.eC)(nc,(0,c.Mb)(n))}),nO.data.of({autocomplete:nh}),e.jsx?nk:[]])}().support,new l.ri(tF,tF.data.of({autocomplete:tJ})).support])}({matchClosingTags:!1});function ie(e={}){var t;let{codeLanguages:n,defaultCodeLanguage:i,addKeymap:r=!0,base:{parser:c}=nH,completeHTMLTags:O=!0,pasteURLAsLink:u=!0,htmlTagLanguage:f=n8}=e;if(!(c instanceof M))throw RangeError("Base parser provided to `markdown` should be a Markdown parser");let p=e.extensions?[e.extensions]:[],d=[f.support,nF],m;u&&d.push(is),i instanceof l.ri?(d.push(i.support),m=i.language):i&&(m=i);let g=n||m?(t=m,e=>{if(e&&n){let t=null;if(e=/\S*/.exec(e)[0],(t="function"==typeof n?n(e):l.c6.matchLanguageName(n,e,!0))instanceof l.c6)return t.support?t.support.language.parser:l.Be.getSkippingParser(t.load());if(t)return t.parser}return t?t.parser:null}):void 0;p.push(function(e){let{codeParser:t,htmlParser:n}=e;return{wrap:(0,h.FE)((e,i)=>{let r=e.type.id;if(t&&(r==s.CodeBlock||r==s.FencedCode)){let n="";if(r==s.FencedCode){let t=e.node.getChild(s.CodeInfo);t&&(n=i.read(t.from,t.to))}let o=t(n);if(o)return{parser:o,overlay:e=>e.type.id==s.CodeText,bracketed:r==s.FencedCode}}else if(n&&(r==s.HTMLBlock||r==s.HTMLTag||r==s.CommentBlock))return{parser:n,overlay:function(e,t,n){let i=[];for(let r=e.firstChild,s=t;;r=r.nextSibling){let e=r?r.from:n;if(e>s&&i.push({from:s,to:e}),!r)break;s=r.to}return i}(e.node,e.from,e.to)};return null})}}({codeParser:g,htmlParser:f.language.parser})),r&&d.push(o.Wl.high(a.$f.of(n6)));let y=nK(c.configure(p));return O&&d.push(y.data.of({autocomplete:it})),new l.ri(y,d)}function it(e){let{state:t,pos:n}=e,i=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!i)return null;let r=(0,l.qz)(t).resolveInner(n,-1);for(;r&&!r.type.isTop;){if("CodeBlock"==r.name||"FencedCode"==r.name||"ProcessingInstructionBlock"==r.name||"CommentBlock"==r.name||"Link"==r.name||"Image"==r.name)return null;r=r.parent}return{from:n-i[0].length,to:n,options:function(){var e;if(ii)return ii;let t=(e=new c.TK(o.yy.create({extensions:n8}),0,!0),nI(nj.default,e));return ii=t?t.options:[]}(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let ii=null,ir=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,is=a.tk.domEventHandlers({paste:(e,t)=>{var n;let{main:i}=t.state.selection;if(i.empty)return!1;let r=null===(n=e.clipboardData)||void 0===n?void 0:n.getData("text/plain");if(!r||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(r)||(/^www\./.test(r)&&(r="https://"+r),!n0.isActiveAt(t.state,i.from,1)))return!1;let s=(0,l.qz)(t.state),o=!1;return s.iterate({from:i.from,to:i.to,enter:e=>{(e.from>i.from||ir.test(e.name))&&(o=!0)},leave:e=>{e.to<i.to&&(o=!0)}}),!o&&(t.dispatch({changes:[{from:i.from,insert:"["},{from:i.to,insert:`](${r})`}],userEvent:"input.paste",scrollIntoView:!0}),!0)}})},8744:function(e,t,n){n.d(t,{Be:function(){return y},Dv:function(){return W},Gn:function(){return _},K0:function(){return j},KC:function(){return O},Qf:function(){return eu},R_:function(){return eQ},SQ:function(){return u},SS:function(){return X},Um:function(){return e_},a0:function(){return eZ},c:function(){return T},c6:function(){return w},e7:function(){return et},kU:function(){return h},mi:function(){return eh},n$:function(){return eT},nF:function(){return em},nY:function(){return L},pp:function(){return c},qp:function(){return p},qz:function(){return d},ri:function(){return v},rs:function(){return M},tC:function(){return z},uj:function(){return A},vw:function(){return Y},x0:function(){return V},y1:function(){return Z},ze:function(){return I}});var i,r=n(5188),s=n(2130),o=n(4877),a=n(7429),l=n(4596);let c=new r.md;function h(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}let O=new r.md;class u{constructor(e,t,n=[],i=""){this.data=e,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return d(this)}}),this.parser=t,this.extension=[x.of(this),s.yy.languageData.of((e,t,n)=>{let i=f(e,t,n),r=i.type.prop(c);if(!r)return[];let s=e.facet(r),o=i.type.prop(O);if(o){let r=i.resolve(t-i.from,n);for(let t of o)if(t.test(r,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(s)}}return s})].concat(n)}isActiveAt(e,t,n=-1){return f(e,t,n).type.prop(c)==this.data}findRegions(e){let t=e.facet(x);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(c)==this.data){n.push({from:t,to:t+e.length});return}let s=e.prop(r.md.mounted);if(s){if(s.tree.prop(c)==this.data){if(s.overlay)for(let e of s.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let e=n.length;if(i(s.tree,s.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let s=e.children[n];s instanceof r.mp&&i(s,e.positions[n]+t)}};return i(d(e),0),n}get allowsNesting(){return!0}}function f(e,t,n){let i=e.facet(x),s=d(e).topNode;if(!i||i.allowsNesting)for(let e=s;e;e=e.enter(t,n,r.vj.ExcludeBuffers|r.vj.EnterBracketed))e.type.isTop&&(s=e);return s}u.setState=s.Py.define();class p extends u{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=h(e.languageData);return new p(t,e.parser.configure({props:[c.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new p(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function d(e){let t=e.field(u.state,!1);return t?t.tree:r.mp.empty}class m{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let g=null;class y{constructor(e,t,n=[],i,r,s,o,a){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new y(e,t,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new m(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=r.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let i=this.parse.advance();if(i){if(this.fragments=this.withoutTempSkipped(r.i9.addTree(i,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,this.tree=i,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=g;g=this;try{return e()}finally{g=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Q(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,i,r)=>t.push({fromA:e,toA:n,fromB:i,toB:r})),n=r.i9.applyChanges(n,t),i=r.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let t of(a=[],this.skipped)){let n=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);n<i&&a.push({from:n,to:i})}}return new y(this.parser,t,n,i,s,o,a,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:n,to:i}=this.skipped[t];n<e.to&&i>e.from&&(this.fragments=Q(this.fragments,n,i),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends r._b{createParse(t,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let t=g;if(t){for(let e of i)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return g}}function Q(e,t,n){return r.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class S{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new S(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=y.create(e.facet(x).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new S(n)}}u.state=s.QQ.define({create:S.init,update(e,t){for(let e of t.effects)if(e.is(u.setState))return e.value;return t.startState.facet(x)!=t.state.facet(x)?S.init(t.state):e.apply(t)}});let k=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(k=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let b="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,$=o.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(u.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(u.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=k(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:i}}=this.view,r=n.field(u.state);if(r.tree==r.context.tree&&r.context.isDone(i+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!b?Math.max(25,e.timeRemaining()-5):1e9),o=r.context.treeLen<i&&n.doc.length>i+1e3,a=r.context.work(()=>b&&b()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:u.setState.of(new S(r.context))})),this.chunkBudget>0&&!(a&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,o.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),x=s.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[u.state,$,o.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class v{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class w{constructor(e,t,n,i,r,s){this.name=e,this.alias=t,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new w(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let n=/\.([^.]+)$/.exec(t);if(n){for(let t of e)if(t.extensions.indexOf(n[1])>-1)return t}return null}static matchLanguageName(e,t,n=!0){for(let n of(t=t.toLowerCase(),e))if(n.alias.some(e=>e==t))return n;if(n)for(let n of e)for(let e of n.alias){let i=t.indexOf(e);if(i>-1&&(e.length>2||!/\w/.test(t[i-1])&&!/\w/.test(t[i+e.length])))return n}return null}}let P=s.r$.define(),T=s.r$.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function Z(e){let t=e.facet(T);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function X(e,t){let n="",i=e.tabSize,r=e.facet(T)[0];if(" "==r){for(;t>=i;)n+=" ",t-=i;r=" "}for(let e=0;e<t;e++)n+=r;return n}function j(e,t){for(let n of(e instanceof s.yy&&(e=new _(e)),e.state.facet(P))){let i=n(e,t);if(void 0!==i)return i}let n=d(e.state);return n.length>=t?function(e,t,n){let i=t.resolveStack(n),r=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(r!=i.node){let e=[];for(let t=r;t&&!(t.from<i.node.from||t.to>i.node.to||t.from==i.node.from&&t.type==i.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)i={node:e[t],next:i}}return C(i,e,n)}(e,n,t):null}class _{constructor(e,t={}){this.state=e,this.options=t,this.unit=Z(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:r}=this.options;return null!=i&&i>=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i<e:i<=e)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:i}=this.lineAt(e,t);return n.slice(e-i,Math.min(n.length,e+100-i))}column(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.countColumn(n,e-i),s=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return s>-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let e=r(i);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let A=new r.md;function C(e,t,n){for(let i=e;i;i=i.next){let e=function(e){let t=e.type.prop(A);if(t)return t;let n=e.firstChild,i;if(n&&(i=n.type.prop(r.md.closedBy))){let t=e.lastChild,n=t&&i.indexOf(t.name)>-1;return e=>q(e,!0,1,void 0,n&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?R:null}(i.node);if(e)return e(E.create(t,n,i))}return 0}function R(){return 0}class E extends _{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new E(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return C(this.context.next,this.base,this.pos)}}function Y({closing:e,align:t=!0,units:n=1}){return i=>q(i,t,n,e)}function q(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==e.pos+o,l=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let e=n.to;;){let r=t.childAfter(e);if(!r||r==i)return null;if(!r.type.isSkipped){if(r.from>=o)return null;let e=/^ */.exec(s.text.slice(n.to-s.from))[0].length;return{from:n.from,to:n.to+e}}e=r.to}}(e):null;return l?a?e.column(l.from):e.column(l.to):e.baseIndent+(a?0:e.unit*n)}let I=e=>e.baseIndent;function z({except:e,units:t=1}={}){return n=>{let i=e&&e.test(n.textAfter);return n.baseIndent+(i?0:t*n.unit)}}function L(){return s.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,a=-1,l=[];for(let{head:e}of o.selection.ranges){let t=o.doc.lineAt(e);if(t.from==a)continue;a=t.from;let n=j(o,t.from);if(null==n)continue;let i=/^\s*/.exec(t.text)[0],r=X(o,n);i!=r&&l.push({from:t.from,to:t.from+i.length,insert:r})}return l.length?[e,{changes:l,sequential:!0}]:e})}let M=s.r$.define(),V=new r.md;function W(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function N(e,t,n){for(let i of e.facet(M)){let r=i(e,t,n);if(r)return r}return function(e,t,n){let i=d(e);if(i.length<n)return null;let r=i.resolveStack(n,1),s=null;for(let o=r;o;o=o.next){let r=o.node;if(r.to<=n||r.from>n)continue;if(s&&r.from<t)break;let a=r.type.prop(V);if(a&&(r.to<i.length-50||i.length==e.doc.length||!function(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}(r))){let i=a(r,e);i&&i.from<=n&&i.from>=t&&i.to>n&&(s=i)}}return s}(e,t,n)}function G(e,t){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);return n>=i?void 0:{from:n,to:i}}let U=s.Py.define({map:G}),B=s.Py.define({map:G});function D(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let J=s.QQ.define({create:()=>o.p.none,update(e,t){t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=F(e,t,n)),e=e.map(t.changes);let n=[];for(let i of t.effects)i.is(U)&&!function(e,t,n){let i=!1;return e.between(t,t,(e,r)=>{e==t&&r==n&&(i=!0)}),i}(e,i.value.from,i.value.to)?n.push(i.value):i.is(B)&&(e=e.update({filter:(e,t)=>i.value.from!=e||i.value.to!=t,filterFrom:i.value.from,filterTo:i.value.to}));if(n.length){let{preparePlaceholder:i}=t.state.facet(ei),r=n.map(e=>(i?o.p.replace({widget:new ea(i(t.state,e))}):eo).range(e.from,e.to));e=e.update({add:r})}return t.selection&&(e=F(e,t.selection.main.head)),e},provide:e=>o.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let i=e[n++],r=e[n++];if("number"!=typeof i||"number"!=typeof r)throw RangeError("Invalid JSON for fold state");t.push(eo.range(i,r))}return o.p.set(t,!0)}});function F(e,t,n=t){let i=!1;return e.between(t,n,(e,r)=>{e<n&&r>t&&(i=!0)}),i?e.update({filterFrom:t,filterTo:n,filter:(e,i)=>e>=n||i<=t}):e}function K(e,t,n){var i;let r=null;return null===(i=e.field(J,!1))||void 0===i||i.between(t,n,(e,t)=>{(!r||r.from>e)&&(r={from:e,to:t})}),r}function H(e,t){return e.field(J,!1)?t:t.concat(s.Py.appendConfig.of(er()))}function ee(e,t,n=!0){let i=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${e.state.phrase("to")} ${r}.`)}let et=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of D(e)){let n=N(e.state,t.from,t.to);if(n)return e.dispatch({effects:H(e.state,[U.of(n),ee(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(J,!1))return!1;let t=[];for(let n of D(e)){let i=K(e.state,n.from,n.to);i&&t.push(B.of(i),ee(e,i,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let i=0;i<t.doc.length;){let r=e.lineBlockAt(i),s=N(t,r.from,r.to);s&&n.push(U.of(s)),i=(s?e.lineBlockAt(s.to):r).to+1}return n.length&&e.dispatch({effects:H(e.state,n)}),!!n.length}},{key:"Ctrl-Alt-]",run:e=>{let t=e.state.field(J,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(B.of({from:e,to:t}))}),e.dispatch({effects:n}),!0}}],en={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},ei=s.r$.define({combine:e=>(0,s.BO)(e,en)});function er(e){let t=[J,eO];return e&&t.push(ei.of(e)),t}function es(e,t){let{state:n}=e,i=n.facet(ei),r=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),i=K(e.state,n.from,n.to);i&&e.dispatch({effects:B.of(i)}),t.preventDefault()};if(i.placeholderDOM)return i.placeholderDOM(e,r,t);let s=document.createElement("span");return s.textContent=i.placeholderText,s.setAttribute("aria-label",n.phrase("folded code")),s.title=n.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=r,s}let eo=o.p.replace({widget:new class extends o.l9{toDOM(e){return es(e,null)}}});class ea extends o.l9{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return es(e,this.value)}}let el={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ec extends o.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function eh(e={}){let t={...el,...e},n=new ec(t,!0),i=new ec(t,!1),r=o.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(x)!=e.state.facet(x)||e.startState.field(J,!1)!=e.state.field(J,!1)||d(e.startState)!=d(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let r of e.viewportLineBlocks){let s=K(e.state,r.from,r.to)?i:N(e.state,r.from,r.to)?n:null;s&&t.add(r.from,r.from,s)}return t.finish()}}),{domEventHandlers:a}=t;return[r,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new ec(t,!1),domEventHandlers:{...a,click:(e,t,n)=>{if(a.click&&a.click(e,t,n))return!0;let i=K(e.state,t.from,t.to);if(i)return e.dispatch({effects:B.of(i)}),!0;let r=N(e.state,t.from,t.to);return!!r&&(e.dispatch({effects:U.of(r)}),!0)}}}),er()]}let eO=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class eu{constructor(e,t){let n;function i(e){let t=l.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof u?e=>e.prop(c)==s.data:s?e=>e==s:void 0,this.style=(0,a.QR)(e.map(e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=n?new l.V(n):null,this.themeType=t.themeType}static define(e,t){return new eu(e,t||{})}}let ef=s.r$.define(),ep=s.r$.define({combine:e=>e.length?[e[0]]:null});function ed(e){let t=e.facet(ef);return t.length?t:e.facet(ep)}function em(e,t){let n=[ey],i;return e instanceof eu&&(e.module&&n.push(o.tk.styleModule.of(e.module)),i=e.themeType),(null==t?void 0:t.fallback)?n.push(ep.of(e)):i?n.push(ef.computeN([o.tk.darkTheme],t=>t.facet(o.tk.darkTheme)==("dark"==i)?[e]:[])):n.push(ef.of(e)),n}class eg{constructor(e){this.markCache=Object.create(null),this.tree=d(e.state),this.decorations=this.buildDeco(e,ed(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=d(e.state),n=ed(e.state),i=n!=ed(e.startState),{viewport:r}=e.view,s=e.changes.mapPos(this.decoratedTo,1);t.length<r.to&&!i&&t.type==this.tree.type&&s>=r.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(t!=this.tree||e.viewportChanged||i)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=r.to)}buildDeco(e,t){if(!t||!this.tree.length)return o.p.none;let n=new s.f_;for(let{from:i,to:r}of e.visibleRanges)(0,a.bW)(this.tree,t,(e,t,i)=>{n.add(e,t,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))},i,r);return n.finish()}}let ey=s.Wl.high(o.lg.fromClass(eg,{decorations:e=>e.decorations})),eQ=eu.define([{tag:a.pJ.meta,color:"#404740"},{tag:a.pJ.link,textDecoration:"underline"},{tag:a.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.pJ.emphasis,fontStyle:"italic"},{tag:a.pJ.strong,fontWeight:"bold"},{tag:a.pJ.strikethrough,textDecoration:"line-through"},{tag:a.pJ.keyword,color:"#708"},{tag:[a.pJ.atom,a.pJ.bool,a.pJ.url,a.pJ.contentSeparator,a.pJ.labelName],color:"#219"},{tag:[a.pJ.literal,a.pJ.inserted],color:"#164"},{tag:[a.pJ.string,a.pJ.deleted],color:"#a11"},{tag:[a.pJ.regexp,a.pJ.escape,a.pJ.special(a.pJ.string)],color:"#e40"},{tag:a.pJ.definition(a.pJ.variableName),color:"#00f"},{tag:a.pJ.local(a.pJ.variableName),color:"#30a"},{tag:[a.pJ.typeName,a.pJ.namespace],color:"#085"},{tag:a.pJ.className,color:"#167"},{tag:[a.pJ.special(a.pJ.variableName),a.pJ.macroName],color:"#256"},{tag:a.pJ.definition(a.pJ.propertyName),color:"#00c"},{tag:a.pJ.comment,color:"#940"},{tag:a.pJ.invalid,color:"#f00"}]),eS=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ek="()[]{}",eb=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:ek,maxScanDistance:1e4,renderMatch:ev})}),e$=o.p.mark({class:"cm-matchingBracket"}),ex=o.p.mark({class:"cm-nonmatchingBracket"});function ev(e){let t=[],n=e.matched?e$:ex;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function ew(e){let t=[],n=e.facet(eb);for(let i of e.selection.ranges){if(!i.empty)continue;let r=e_(e,i.head,-1,n)||i.head>0&&e_(e,i.head-1,1,n)||n.afterCursor&&(e_(e,i.head,1,n)||i.head<e.doc.length&&e_(e,i.head+1,-1,n));r&&(t=t.concat(n.renderMatch(r,e)))}return o.p.set(t,!0)}let eP=[o.lg.fromClass(class{constructor(e){this.paused=!1,this.decorations=ew(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=ew(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),eS];function eT(e={}){return[eb.of(e),eP]}let eZ=new r.md;function eX(e,t,n){let i=e.prop(t<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==e.name.length){let i=n.indexOf(e.name);if(i>-1&&i%2==(t<0?1:0))return[n[i+t]]}return null}function ej(e){let t=e.type.prop(eZ);return t?t(e.node):e}function e_(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||ek,o=d(e),a=o.resolveInner(t,n);for(let e=a;e;e=e.parent){let i=eX(e.type,n,s);if(i&&e.from<e.to){let r=ej(e);if(r&&(n>0?t>=r.from&&t<r.to:t>r.from&&t<=r.to))return function(e,t,n,i,r,s,o){let a=i.parent,l={from:r.from,to:r.to},c=0,h=null==a?void 0:a.cursor();if(h&&(n<0?h.childBefore(i.from):h.childAfter(i.to)))do if(n<0?h.to<=i.from:h.from>=i.to){if(0==c&&s.indexOf(h.type.name)>-1&&h.from<h.to){let e=ej(h);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(eX(h.type,n,o))c++;else if(eX(h.type,-n,o)){if(0==c){let e=ej(h);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}while(n<0?h.prevSibling():h.nextSibling());return{start:l,matched:!1}}(0,0,n,e,r,i,s)}}return function(e,t,n,i,r,s,o){if(n<0?!t:t==e.doc.length)return null;let a=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=o.indexOf(a);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},h=e.doc.iterRange(t,n>0?e.doc.length:0),O=0;for(let e=0;!h.next().done&&e<=s;){let s=h.value;n<0&&(e+=s.length);let a=t+e*n;for(let e=n>0?0:s.length-1,t=n>0?s.length:-1;e!=t;e+=n){let t=o.indexOf(s[e]);if(!(t<0)&&i.resolveInner(a+e,1).type==r){if(t%2==0==n>0)O++;else{if(1==O)return{start:c,end:{from:a+e,to:a+e+1},matched:t>>1==l>>1};O--}}}n>0&&(e+=s.length)}return h.done?{start:c,matched:!1}:null}(e,t,n,o,a.type,r,s)}let eA=Object.create(null),eC=[r.Jq.none],eR=[],eE=Object.create(null),eY=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eY[e]=function(e,t){let n=[];for(let i of t.split(" ")){let t=[];for(let n of i.split(".")){let i=e[n]||a.pJ[n];i?"function"==typeof i?t.length?t=t.map(i):eq(n,`Modifier ${n} used at start of tag`):t.length?eq(n,`Tag ${n} used as modifier`):t=Array.isArray(i)?i:[i]:eq(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let i=t.replace(/ /g,"_"),s=i+" "+n.map(e=>e.id),o=eE[s];if(o)return o.id;let l=eE[s]=r.Jq.define({id:eC.length,name:i,props:[(0,a.Gv)({[i]:n})]});return eC.push(l),l.id}(eA,t);function eq(e,t){eR.indexOf(e)>-1||(eR.push(e),console.warn(t))}o.Nm.RTL,o.Nm.LTR},2130:function(e,t,n){let i;n.d(t,{q6:function(){return eh},n0:function(){return Z},as:function(){return X},D0:function(){return eQ},jT:function(){return q},yy:function(){return ek},r$:function(){return L},gc:function(){return T},Wl:function(){return J},Xs:function(){return eT},f_:function(){return eZ},uU:function(){return e$},Py:function(){return ef},QQ:function(){return U},xv:function(){return u},YW:function(){return ep},gm:function(){return b},nZ:function(){return x},BO:function(){return eb},IS:function(){return ez},cp:function(){return k},Gz:function(){return eL},bg:function(){return $}});let r=[],s=[];function o(e){return e>=127462&&e<=127487}function a(e,t,n){if(t==e.length)return t;t&&c(e.charCodeAt(t))&&h(e.charCodeAt(t-1))&&t--;let i=l(e,t);for(t+=O(i);t<e.length;){let a=l(e,t);if(8205==i||8205==a||n&&function(e){if(e<768)return!1;for(let t=0,n=r.length;;){let i=t+n>>1;if(e<r[i])n=i;else{if(!(e>=s[i]))return!0;t=i+1}if(t==n)return!1}}(a))t+=O(a),i=a;else if(o(a)){let n=0,i=t-2;for(;i>=0&&o(l(e,i));)n++,i-=2;if(n%2==0)break;t+=2}else break}return t}function l(e,t){let n=e.charCodeAt(t);if(!h(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return c(i)?(n-55296<<10)+(i-56320)+65536:n}function c(e){return e>=56320&&e<57344}function h(e){return e>=55296&&e<56320}function O(e){return e<65536?1:2}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,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3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?s:r).push(n+=e[t])})();class u{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=S(this,e,t);let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),p.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=S(this,e,t);let n=[];return this.decompose(e,t,n,0),p.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new m(this),r=new m(e);for(let e=t,s=t;;){if(i.next(e),r.next(e),e=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(s+=i.value.length,i.done||s>=n)return!0}}iter(e=1){return new m(this,e)}iterRange(e,t=this.length){return new g(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new y(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new f(e):p.from(f.split(e,[])):u.empty}}class f extends u{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new Q(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let r=e<=0&&t>=this.length?this:new f(d(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let e=n.pop(),t=d(r.text,e.text.slice(),0,r.length);if(t.length<=32)n.push(new f(t,e.length+r.length));else{let e=t.length>>1;n.push(new f(t.slice(0,e)),new f(t.slice(e)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof f))return super.replace(e,t,n);[e,t]=S(this,e,t);let i=d(this.text,d(n.text,d(this.text,[""],0,e)),t),r=this.length+n.length-(t-e);return i.length<=32?new f(i,r):p.from(f.split(i,[]),r)}sliceString(e,t=this.length,n="\n"){[e,t]=S(this,e,t);let i="";for(let r=0,s=0;r<=t&&s<this.text.length;s++){let o=this.text[s],a=r+o.length;r>e&&s&&(i+=n),e<a&&t>r&&(i+=o.slice(Math.max(0,e-r),t-r)),r=a+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let r of e)n.push(r),i+=r.length+1,32==n.length&&(t.push(new f(n,i)),n=[],i=-1);return i>-1&&t.push(new f(n,i)),t}}class p extends u{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,a=n+s.lines-1;if((t?a:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=a+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r<this.children.length;r++){let o=this.children[r],a=s+o.length;if(e<=a&&t>=s){let r=i&((s<=e?1:0)|(a>=t?2:0));s>=e&&a<=t&&!r?n.push(o):o.decompose(e-s,t-s,n,r)}s=a+1}}replace(e,t,n){if([e,t]=S(this,e,t),n.lines<this.lines)for(let i=0,r=0;i<this.children.length;i++){let s=this.children[i],o=r+s.length;if(e>=r&&t<=o){let a=s.replace(e-r,t-r,n),l=this.lines-s.lines+a.lines;if(a.lines<l>>4&&a.lines>l>>6){let r=this.children.slice();return r[i]=a,new p(r,this.length-(t-e)+n.length)}return super.replace(r,o,a)}r=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=S(this,e,t);let i="";for(let r=0,s=0;r<this.children.length&&s<=t;r++){let o=this.children[r],a=s+o.length;s>e&&r&&(i+=n),e<a&&t>s&&(i+=o.sliceString(e-s,t-s,n)),s=a+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof p))return 0;let n=0,[i,r,s,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==s||r==o)return n;let a=this.children[i],l=e.children[r];if(a!=l)return n+a.scanIdentical(l,t);n+=a.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new f(n,t)}let i=Math.max(32,n>>5),r=i<<1,s=i>>1,o=[],a=0,l=-1,c=[];function h(){0!=a&&(o.push(1==c.length?c[0]:p.from(c,l)),l=-1,a=c.length=0)}for(let t of e)!function e(t){let n;if(t.lines>r&&t instanceof p)for(let n of t.children)e(n);else t.lines>s&&(a>s||!a)?(h(),o.push(t)):t instanceof f&&a&&(n=c[c.length-1])instanceof f&&t.lines+n.lines<=32?(a+=t.lines,l+=t.length+1,c[c.length-1]=new f(n.text.concat(t.text),n.length+1+t.length)):(a+t.lines>i&&h(),a+=t.lines,l+=t.length+1,c.push(t))}(t);return h(),1==o.length?o[0]:new p(o,t)}}function d(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s<e.length&&r<=i;s++){let a=e[s],l=r+a.length;l>=n&&(l>i&&(a=a.slice(0,i-r)),r<n&&(a=a.slice(n-r)),o?(t[t.length-1]+=a,o=!1):t.push(a)),r=l+1}return t}u.empty=new f([""],0);class m{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof f?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],s=r>>1,o=i instanceof f?i.text.length:i.children.length;if(s==(t>0?o:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof f){let r=i.text[s+(t<0?-1:0)];if(this.offsets[n]+=t,r.length>Math.max(0,e))return this.value=0==e?r:t>0?r.slice(e):r.slice(0,r.length-e),this;e-=r.length}else{let r=i.children[s+(t<0?-1:0)];e>r.length?(e-=r.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(r),this.offsets.push(t>0?1:(r instanceof f?r.text.length:r.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class g{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new m(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class y{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(u.prototype[Symbol.iterator]=function(){return this.iter()},m.prototype[Symbol.iterator]=g.prototype[Symbol.iterator]=y.prototype[Symbol.iterator]=function(){return this});class Q{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}function S(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function k(e,t,n=!0,i=!0){return function(e,t,n=!0,i=!0){return(n?a:function(e,t,n){for(;t>0;){let i=a(e,t-2,n);if(i<t)return i;t--}return 0})(e,t,i)}(e,t,n,i)}function b(e,t){let n=e.charCodeAt(t);if(!(n>=55296&&n<56320)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return i>=56320&&i<57344?(n-55296<<10)+(i-56320)+65536:n}function $(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function x(e){return e<65536?1:2}let v=/\r\n?|\n/;var w,P,T=((w=T||(T={}))[w.Simple=0]="Simple",w[w.TrackDel=1]="TrackDel",w[w.TrackBefore=2]="TrackBefore",w[w.TrackAfter=3]="TrackAfter",w);class Z{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,i=0;t<this.sections.length;){let r=this.sections[t++],s=this.sections[t++];s<0?(e(n,i,r),i+=r):i+=s,n+=r}}iterChangedRanges(e,t=!1){A(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];i<0?e.push(n,i):e.push(i,n)}return new Z(e)}composeDesc(e){return this.empty?e:e.empty?this:R(this,e)}mapDesc(e,t=!1){return e.empty?this:C(this,e,t)}mapPos(e,t=-1,n=T.Simple){let i=0,r=0;for(let s=0;s<this.sections.length;){let o=this.sections[s++],a=this.sections[s++],l=i+o;if(a<0){if(l>e)return r+(e-i);r+=o}else{if(n!=T.Simple&&l>=e&&(n==T.TrackDel&&i<e&&l>e||n==T.TrackBefore&&i<e||n==T.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!o)return e==i||t<0?r:r+a;r+=a}i=l}if(e>i)throw RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n<this.sections.length&&i<=t;){let r=this.sections[n++],s=this.sections[n++],o=i+r;if(s>=0&&i<=t&&o>=e)return!(i<e)||!(o>t)||"cover";i=o}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];e+=(e?" ":"")+n+(i>=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new Z(e)}static create(e){return new Z(e)}}class X extends Z{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return A(this,(t,n,i,r,s)=>e=e.replace(i,i+(n-t),s),!1),e}mapDesc(e,t=!1){return C(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,r=0;i<t.length;i+=2){let s=t[i],o=t[i+1];if(o>=0){t[i]=o,t[i+1]=s;let a=i>>1;for(;n.length<a;)n.push(u.empty);n.push(s?e.slice(r,r+s):u.empty)}r+=s}return new X(t,n)}compose(e){return this.empty?e:e.empty?this:R(this,e,!0)}map(e,t=!1){return e.empty?this:C(this,e,t,!0)}iterChanges(e,t=!1){A(this,e,t)}get desc(){return Z.create(this.sections)}filter(e){let t=[],n=[],i=[],r=new E(this);r:for(let s=0,o=0;;){let a=s==e.length?1e9:e[s++];for(;o<a||o==a&&0==r.len;){if(r.done)break r;let e=Math.min(r.len,a-o);j(i,e,-1);let s=-1==r.ins?-1:0==r.off?r.ins:0;j(t,e,s),s>0&&_(n,t,r.text),r.forward(e),o+=e}let l=e[s++];for(;o<l;){if(r.done)break r;let e=Math.min(r.len,l-o);j(t,e,-1),j(i,e,-1==r.ins?-1:0==r.off?r.ins:0),r.forward(e),o+=e}}return{changes:new X(t,n),filtered:Z.create(i)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],i=this.sections[t+1];i<0?e.push(n):0==i?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let i=[],r=[],s=0,o=null;function a(e=!1){if(!e&&!i.length)return;s<t&&j(i,t-s,-1);let n=new X(i,r);o=o?o.compose(n.map(o)):n,i=[],r=[],s=0}return!function e(l){if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof X){if(l.length!=t)throw RangeError(`Mismatched change set length (got ${l.length}, expected ${t})`);a(),o=o?o.compose(l.map(o)):l}else{let{from:e,to:o=e,insert:c}=l;if(e>o||e<0||o>t)throw RangeError(`Invalid change range ${e} to ${o} (in doc of length ${t})`);let h=c?"string"==typeof c?u.of(c.split(n||v)):c:u.empty,O=h.length;if(e==o&&0==O)return;e<s&&a(),e>s&&j(i,e-s,-1),j(i,o-e,O),_(r,i,h),s=o}}(e),a(!o),o}static empty(e){return new X(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;i<e.length;i++){let r=e[i];if("number"==typeof r)t.push(r,-1);else if(!Array.isArray(r)||"number"!=typeof r[0]||r.some((e,t)=>t&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==r.length)t.push(r[0],0);else{for(;n.length<i;)n.push(u.empty);n[i]=u.of(r.slice(1)),t.push(r[0],n[i].length)}}return new X(t,n)}static createSet(e,t){return new X(e,t)}}function j(e,t,n,i=!1){if(0==t&&n<=0)return;let r=e.length-2;r>=0&&n<=0&&n==e[r+1]?e[r]+=t:r>=0&&0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function _(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<i;)e.push(u.empty);e.push(n)}}function A(e,t,n){let i=e.inserted;for(let r=0,s=0,o=0;o<e.sections.length;){let a=e.sections[o++],l=e.sections[o++];if(l<0)r+=a,s+=a;else{let c=r,h=s,O=u.empty;for(;c+=a,h+=l,l&&i&&(O=O.append(i[o-2>>1])),!n&&o!=e.sections.length&&!(e.sections[o+1]<0);)a=e.sections[o++],l=e.sections[o++];t(r,c,s,h,O),r=c,s=h}}}function C(e,t,n,i=!1){let r=[],s=i?[]:null,o=new E(e),a=new E(t);for(let e=-1;;){if(o.done&&a.len||a.done&&o.len)throw Error("Mismatched change set lengths");if(-1==o.ins&&-1==a.ins){let e=Math.min(o.len,a.len);j(r,e,-1),o.forward(e),a.forward(e)}else if(a.ins>=0&&(o.ins<0||e==o.i||0==o.off&&(a.len<o.len||a.len==o.len&&!n))){let t=a.len;for(j(r,a.ins,-1);t;){let n=Math.min(o.len,t);o.ins>=0&&e<o.i&&o.len<=n&&(j(r,0,o.ins),s&&_(s,r,o.text),e=o.i),o.forward(n),t-=n}a.next()}else if(o.ins>=0){let t=0,n=o.len;for(;n;)if(-1==a.ins){let e=Math.min(n,a.len);t+=e,n-=e,a.forward(e)}else if(0==a.ins&&a.len<n)n-=a.len,a.next();else break;j(r,t,e<o.i?o.ins:0),s&&e<o.i&&_(s,r,o.text),e=o.i,o.forward(o.len-n)}else if(o.done&&a.done)return s?X.createSet(r,s):Z.create(r);else throw Error("Mismatched change set lengths")}}function R(e,t,n=!1){let i=[],r=n?[]:null,s=new E(e),o=new E(t);for(let e=!1;;){if(s.done&&o.done)return r?X.createSet(i,r):Z.create(i);if(0==s.ins)j(i,s.len,0,e),s.next();else if(0!=o.len||o.done){if(s.done||o.done)throw Error("Mismatched change set lengths");{let t=Math.min(s.len2,o.len),n=i.length;if(-1==s.ins){let n=-1==o.ins?-1:o.off?0:o.ins;j(i,t,n,e),r&&n&&_(r,i,o.text)}else -1==o.ins?(j(i,s.off?0:s.len,t,e),r&&_(r,i,s.textBit(t))):(j(i,s.off?0:s.len,o.off?0:o.ins,e),r&&!o.off&&_(r,i,o.text));e=(s.ins>t||o.ins>=0&&o.len>t)&&(e||i.length>n),s.forward2(t),o.forward(t)}}else j(i,0,o.ins,e),r&&_(r,i,o.text),o.next()}}class E{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return -2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?u.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?u.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Y{constructor(e,t,n,i){this.from=e,this.to=t,this.flags=n,this.goalColumn=i}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get undirectional(){return(64&this.flags)>0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new Y(n,i,this.flags,this.goalColumn)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return q.range(e,t,void 0,void 0,n);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return q.range(this.anchor,i,void 0,void 0,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return q.range(e.anchor,e.head)}static create(e,t,n,i){return new Y(e,t,n,i)}}class q{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:q.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new q([this.main],0)}addRange(e,t=!0){return q.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,q.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new q(e.ranges.map(e=>Y.fromJSON(e)),e.main)}static single(e,t=e){return new q([q.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,i=0;i<e.length;i++){let r=e[i];if(r.empty?r.from<=n:r.from<n)return q.normalized(e.slice(),t);n=r.to}return new q(e,t)}static cursor(e,t=0,n,i){return Y.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n)),i)}static range(e,t,n,i,r){let s=null==i?7:Math.min(6,i);return r||e==t||(r=t<e?1:-1),r&&(s|=r<0?8:16),t<e?Y.create(t,e,32|s,n):Y.create(e,t,s,n)}static undirectionalRange(e,t){return Y.create(e,t,64,void 0)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;n<e.length;n++){let i=e[n],r=e[n-1];if(i.empty?i.from<=r.to:i.from<r.to){let s=r.from,o=Math.max(i.to,r.to);n<=t&&t--,e.splice(--n,2,i.anchor>i.head?q.range(o,s):q.range(s,o))}}return new q(e,t)}}function I(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let z=0;class L{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=z++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}get reader(){return this}static define(e={}){return new L(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:M),!!e.static,e.enables)}of(e){return new V([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new V(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new V(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function M(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class V{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=z++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,a=!1,l=!1,c=[];for(let n of this.dependencies)"doc"==n?a=!0:"selection"==n?l=!0:((null!==(t=e[n.id])&&void 0!==t?t:1)&1)==0&&c.push(e[n.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||N(e,c)){let t=n(e);if(o?!W(t,e.values[s],i):!i(t,e.values[s]))return e.values[s]=t,1}return 0},reconfigure:(e,t)=>{let a,l=t.config.address[r];if(null!=l){let r=en(t,l);if(this.dependencies.every(n=>n instanceof L?t.facet(n)===e.facet(n):!(n instanceof U)||t.field(n,!1)==e.field(n,!1))||(o?W(a=n(e),r,i):i(a=n(e),r)))return e.values[s]=r,0}else a=n(e);return e.values[s]=a,1}}}}function W(e,t,n){if(e.length!=t.length)return!1;for(let i=0;i<e.length;i++)if(!n(e[i],t[i]))return!1;return!0}function N(e,t){let n=!1;for(let i of t)1&et(e,i)&&(n=!0);return n}let G=L.define({static:!0});class U{constructor(e,t,n,i,r){this.id=e,this.createF=t,this.updateF=n,this.compareF=i,this.spec=r,this.provides=void 0}static define(e){let t=new U(z++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(G).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>{let i=e.facet(G),r=n.facet(G),s;return(s=i.find(e=>e.field==this))&&s!=r.find(e=>e.field==this)?(e.values[t]=s.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,G.of({field:this,create:e})]}get extension(){return this}}let B={lowest:4,low:3,default:2,high:1,highest:0};function D(e){return t=>new F(t,e)}let J={highest:D(B.highest),high:D(B.high),default:D(B.default),low:D(B.low),lowest:D(B.lowest)};class F{constructor(e,t){this.inner=e,this.prec=t}}class K{of(e){return new H(this,e)}reconfigure(e){return K.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class H{constructor(e,t){this.compartment=e,this.inner=t}}class ee{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){let i,r,s=[],o=Object.create(null),a=new Map;for(let n of(i=[[],[],[],[],[]],r=new Map,!function e(n,s){let o=r.get(n);if(null!=o){if(o<=s)return;let e=i[o].indexOf(n);e>-1&&i[o].splice(e,1),n instanceof H&&a.delete(n.compartment)}if(r.set(n,s),Array.isArray(n))for(let t of n)e(t,s);else if(n instanceof H){if(a.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let i=t.get(n.compartment)||n.inner;a.set(n.compartment,i),e(i,s)}else if(n instanceof F)e(n.inner,n.prec);else if(n instanceof U)i[s].push(n),n.provides&&e(n.provides,s);else if(n instanceof V)i[s].push(n),n.facet.extensions&&e(n.facet.extensions,B.default);else{let t=n.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(t,s)}}(e,B.default),i.reduce((e,t)=>e.concat(t))))n instanceof U?s.push(n):(o[n.facet.id]||(o[n.facet.id]=[])).push(n);let l=Object.create(null),c=[],h=[];for(let e of s)l[e.id]=h.length<<1,h.push(t=>e.slot(t));let O=null==n?void 0:n.config.facets;for(let e in o){let t=o[e],i=t[0].facet,r=O&&O[e]||[];if(t.every(e=>0==e.type)){if(l[i.id]=c.length<<1|1,M(r,t))c.push(n.facet(i));else{let e=i.combine(t.map(e=>e.value));c.push(n&&i.compare(e,n.facet(i))?n.facet(i):e)}}else{for(let e of t)0==e.type?(l[e.id]=c.length<<1|1,c.push(e.value)):(l[e.id]=h.length<<1,h.push(t=>e.dynamicSlot(t)));l[i.id]=h.length<<1,h.push(e=>(function(e,t,n){let i=n.map(t=>e[t.id]),r=n.map(e=>e.type),s=i.filter(e=>!(1&e)),o=e[t.id]>>1;function a(e){let n=[];for(let t=0;t<i.length;t++){let s=en(e,i[t]);if(2==r[t])for(let e of s)n.push(e);else n.push(s)}return t.combine(n)}return{create(e){for(let t of i)et(e,t);return e.values[o]=a(e),1},update(e,n){if(!N(e,s))return 0;let i=a(e);return t.compare(i,e.values[o])?0:(e.values[o]=i,1)},reconfigure(e,r){let s=N(e,i),l=r.config.facets[t.id],c=r.facet(t);if(l&&!s&&M(n,l))return e.values[o]=c,0;let h=a(e);return t.compare(h,c)?(e.values[o]=c,0):(e.values[o]=h,1)}}})(e,i,t))}}return new ee(e,a,h.map(e=>e(l)),l,c,o)}}function et(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function en(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let ei=L.define(),er=L.define({combine:e=>e.some(e=>e),static:!0}),es=L.define({combine:e=>e.length?e[0]:void 0,static:!0}),eo=L.define(),ea=L.define(),el=L.define(),ec=L.define({combine:e=>!!e.length&&e[0]});class eh{constructor(e,t){this.type=e,this.value=t}static define(){return new eO}}class eO{of(e){return new eh(this,e)}}class eu{constructor(e){this.map=e}of(e){return new ef(this,e)}}class ef{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new ef(this.type,t)}is(e){return this.type==e}static define(e={}){return new eu(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let e=i.map(t);e&&n.push(e)}return n}}ef.reconfigure=ef.define(),ef.appendConfig=ef.define();class ep{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&I(n,t.newLength),r.some(e=>e.type==ep.time)||(this.annotations=r.concat(ep.time.of(Date.now())))}static create(e,t,n,i,r,s){return new ep(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(ep.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ed(e,t,n){var i;let r,s,o;return n?(r=t.changes,s=X.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(s):null===(i=e.selection)||void 0===i?void 0:i.map(r),effects:ef.mapEffects(e.effects,r).concat(ef.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function em(e,t,n){let i=t.selection,r=ey(t.annotations);return t.userEvent&&(r=r.concat(ep.userEvent.of(t.userEvent))),{changes:t.changes instanceof X?t.changes:X.of(t.changes||[],n,e.facet(es)),selection:i&&(i instanceof q?i:q.single(i.anchor,i.head)),effects:ey(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}ep.time=eh.define(),ep.userEvent=eh.define(),ep.addToHistory=eh.define(),ep.remote=eh.define();let eg=[];function ey(e){return null==e?eg:Array.isArray(e)?e:[e]}var eQ=((P=eQ||(eQ={}))[P.Word=0]="Word",P[P.Space=1]="Space",P[P.Other=2]="Other",P);let eS=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{i=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class ek{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)et(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null==n){if(t)throw RangeError("Field is not present in this state");return}return et(this,n),en(this,n)}update(...e){return function e(t,n,i){let r=em(t,n.length?n[0]:{},t.doc.length);n.length&&!1===n[0].filter&&(i=!1);for(let e=1;e<n.length;e++){!1===n[e].filter&&(i=!1);let s=!!n[e].sequential;r=ed(r,em(t,n[e],s?r.changes.newLength:t.doc.length),s)}let s=ep.create(t,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){let t=e.startState,n=t.facet(el),i=e;for(let r=n.length-1;r>=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=ed(i,em(t,s,e.changes.newLength),!0))}return i==e?e:ep.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(i?function(t){let n=t.startState,i=!0;for(let e of n.facet(eo)){let n=e(t);if(!1===n){i=!1;break}Array.isArray(n)&&(i=!0===i?n:function(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i<e.length&&(r==t.length||t[r]>=e[i]))s=e[i++],o=e[i++];else{if(!(r<t.length))return n;s=t[r++],o=t[r++]}!n.length||n[n.length-1]<s?n.push(s,o):n[n.length-1]<o&&(n[n.length-1]=o)}}(i,n))}if(!0!==i){let e,r;if(!1===i)r=t.changes.invertedDesc,e=X.empty(n.doc.length);else{let n=t.changes.filter(i);e=n.changes,r=n.filtered.mapDesc(n.changes).invertedDesc}t=ep.create(n,e,t.selection&&t.selection.map(r),ef.mapEffects(t.effects,r),t.annotations,t.scrollIntoView)}let r=n.facet(ea);for(let i=r.length-1;i>=0;i--){let s=r[i](t);t=s instanceof ep?s:Array.isArray(s)&&1==s.length&&s[0]instanceof ep?s[0]:e(n,ey(s),!1)}return t}(s):s)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:i,compartments:r}=n;for(let t of e.effects)t.is(K.reconfigure)?(n&&(r=new Map,n.compartments.forEach((e,t)=>r.set(t,e)),n=null),r.set(t.value.compartment,t.value.extension)):t.is(ef.reconfigure)?(n=null,i=t.value):t.is(ef.appendConfig)&&(n=null,i=ey(i).concat(t.value));t=n?e.startState.values.slice():new ek(n=ee.resolve(i,r,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let s=e.startState.facet(er)?e.newSelection:e.newSelection.asSingle();new ek(n,e.newDoc,s,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:q.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=ey(n.effects);for(let n=1;n<t.ranges.length;n++){let o=e(t.ranges[n]),a=this.changes(o.changes),l=a.map(i);for(let e=0;e<n;e++)r[e]=r[e].map(l);let c=i.mapDesc(a,!0);r.push(o.range.map(c)),i=i.compose(l),s=ef.mapEffects(s,l).concat(ef.mapEffects(ey(o.effects),c))}return{changes:i,selection:q.create(r,t.mainIndex),effects:s}}changes(e=[]){return e instanceof X?e:X.of(e,this.doc.length,this.facet(ek.lineSeparator))}toText(e){return u.of(e.split(this.facet(ek.lineSeparator)||v))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(et(this,t),en(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let i=e[n];i instanceof U&&null!=this.config.address[i.id]&&(t[n]=i.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||"string"!=typeof e.doc)throw RangeError("Invalid JSON representation for EditorState");let i=[];if(n){for(let t in n)if(Object.prototype.hasOwnProperty.call(e,t)){let r=n[t],s=e[t];i.push(r.init(e=>r.spec.fromJSON(s,e)))}}return ek.create({doc:e.doc,selection:q.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=ee.resolve(e.extensions||[],new Map),n=e.doc instanceof u?e.doc:u.of((e.doc||"").split(t.staticFacet(ek.lineSeparator)||v)),i=e.selection?e.selection instanceof q?e.selection:q.single(e.selection.anchor,e.selection.head):q.single(0);return I(i,n.length),t.staticFacet(er)||(i=i.asSingle()),new ek(t,n,i,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ek.tabSize)}get lineBreak(){return this.facet(ek.lineSeparator)||"\n"}get readOnly(){return this.facet(ec)}phrase(e,...t){for(let t of this.facet(ek.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(ei))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){var t;let n=this.languageDataAt("wordChars",e);return t=n.length?n[0]:"",e=>{if(!/\S/.test(e))return eQ.Space;if(function(e){if(i)return i.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"\x80"&&(n.toUpperCase()!=n.toLowerCase()||eS.test(n)))return!0}return!1}(e))return eQ.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return eQ.Word;return eQ.Other}}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let e=k(t,s,!1);if(r(t.slice(e,s))!=eQ.Word)break;s=e}for(;o<i;){let e=k(t,o);if(r(t.slice(o,e))!=eQ.Word)break;o=e}return s==o?null:q.range(s+n,o+n)}}function eb(e,t,n={}){let i={};for(let t of e)for(let e of Object.keys(t)){let r=t[e],s=i[e];if(void 0===s)i[e]=r;else if(s===r||void 0===r);else if(Object.hasOwnProperty.call(n,e))i[e]=n[e](s,r);else throw Error("Config merge conflict for field "+e)}for(let e in t)void 0===i[e]&&(i[e]=t[e]);return i}ek.allowMultipleSelections=er,ek.tabSize=L.define({combine:e=>e.length?e[0]:4}),ek.lineSeparator=es,ek.readOnly=ec,ek.phrases=L.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every(n=>e[n]==t[n])}}),ek.languageData=ei,ek.changeFilter=eo,ek.transactionFilter=ea,ek.transactionExtender=el,K.reconfigure=ef.define();class e${eq(e){return this==e}range(e,t=e){return ev.create(e,t,this)}}function ex(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}e$.prototype.startSide=e$.prototype.endSide=0,e$.prototype.point=!1,e$.prototype.mapMode=T.TrackDel;class ev{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ev(e,t,n)}}function ew(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eP{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let i=s+o>>1,a=r[i]-e||(n?this.value[i].endSide:this.value[i].startSide)-t;if(i==s)return a>=0?s:o;a>=0?o=i:s=i+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r<s;r++)if(!1===i(this.from[r]+e,this.to[r]+e,this.value[r]))return!1}map(e,t){let n=[],i=[],r=[],s=-1,o=-1;for(let a=0;a<this.value.length;a++){let l=this.value[a],c=this.from[a]+e,h=this.to[a]+e,O,u;if(c==h){let e=t.mapPos(c,l.startSide,l.mapMode);if(null==e||(O=u=e,l.startSide!=l.endSide&&(u=t.mapPos(c,l.endSide))<O))continue}else if((O=t.mapPos(c,l.startSide))>(u=t.mapPos(h,l.endSide))||O==u&&l.startSide>0&&l.endSide<=0)continue;0>(u-O||l.endSide-l.startSide)||(s<0&&(s=O),l.point&&(o=Math.max(o,u-O)),n.push(l),i.push(O-s),r.push(u-s))}return{mapped:n.length?new eP(i,r,n,o):null,pos:s}}}class eT{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new eT(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(ew)),this.isEmpty)return t.length?eT.of(t):this;let o=new ej(this,null,-1).goto(0),a=0,l=[],c=new eZ;for(;o.value||a<t.length;)if(a<t.length&&(o.from-t[a].from||o.startSide-t[a].value.startSide)>=0){let e=t[a++];c.addInner(e.from,e.to,e.value)||l.push(e)}else 1==o.rangeIndex&&o.chunkIndex<this.chunk.length&&(a==t.length||this.chunkEnd(o.chunkIndex)<t[a].from)&&(!s||i>this.chunkEnd(o.chunkIndex)||r<this.chunkPos[o.chunkIndex])&&c.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!s||i>o.to||r<o.from||s(o.from,o.to,o.value))&&!c.addInner(o.from,o.to,o.value)&&l.push(ev.create(o.from,o.to,o.value)),o.next());return c.finishInner(this.nextLayer.isEmpty&&!l.length?eT.empty:this.nextLayer.update({add:l,filter:s,filterFrom:i,filterTo:r}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],i=-1;for(let r=0;r<this.chunk.length;r++){let s=this.chunkPos[r],o=this.chunk[r],a=e.touchesRange(s,s+o.length);if(!1===a)i=Math.max(i,o.maxPoint),t.push(o),n.push(e.mapPos(s));else if(!0===a){let{mapped:r,pos:a}=o.map(s,e);r&&(i=Math.max(i,r.maxPoint),t.push(r),n.push(a))}}let r=this.nextLayer.map(e);return 0==t.length?r:new eT(n,t,r||eT.empty,i)}between(e,t,n){if(!this.isEmpty){for(let i=0;i<this.chunk.length;i++){let r=this.chunkPos[i],s=this.chunk[i];if(t>=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return e_.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return e_.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),a=eX(s,o,n),l=new eC(s,a,r),c=new eC(o,a,r);n.iterGaps((e,t,n)=>eR(l,e,c,t,n,i)),n.empty&&0==n.length&&eR(l,0,c,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=999999999);let r=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),s=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=eX(r,s),a=new eC(r,o,0).goto(n),l=new eC(s,o,0).goto(n);for(;;){if(a.to!=l.to||!eE(a.active,l.active)||a.point&&(!l.point||!ex(a.point,l.point)))return!1;if(a.to>i)return!0;a.next(),l.next()}}static spans(e,t,n,i,r=-1){let s=new eC(e,null,r).goto(t),o=t,a=s.openStart;for(;;){let e=Math.min(s.to,n);if(s.point){let n=s.activeForPoint(s.to),r=s.pointFrom<t?n.length+1:s.point.startSide<0?n.length:Math.min(n.length,a);i.point(o,e,s.point,n,r,s.pointRank),a=Math.min(s.openEnd(e),n.length)}else e>o&&(i.span(o,e,s.active,a),a=s.openEnd(e));if(s.to>n)return a+(s.point&&s.to>n?1:0);o=s.to,s.next()}}static of(e,t=!1){let n=new eZ;for(let i of e instanceof ev?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let i=e[n];if(ew(t,i)>0)return e.slice().sort(ew);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}static join(e){if(!e.length)return eT.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let i=e[n];i!=eT.empty;i=i.nextLayer)t=new eT(i.chunkPos,i.chunk,t,Math.max(i.maxPoint,t.maxPoint));return t}}eT.empty=new eT([],[],null,-1),eT.empty.nextLayer=eT.empty;class eZ{finishChunk(e){this.chunks.push(new eP(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eZ)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eT.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eT.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eX(e,t,n){let i=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&i.set(t.chunk[e],t.chunkPos[e]);let r=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let s=i.get(e.chunk[t]);null==s||(n?n.mapPos(s):s)!=e.chunkPos[t]||(null==n?void 0:n.touchesRange(s,s+e.chunk[t].length))||r.add(e.chunk[t])}return r}class ej{constructor(e,t,n,i=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}forward(e,t){0>(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class e_{constructor(e){this.heap=e}static from(e,t=null,n=-1){let i=[];for(let r=0;r<e.length;r++)for(let s=e[r];!s.isEmpty;s=s.nextLayer)s.maxPoint>=n&&i.push(new ej(s,t,n,r));return 1==i.length?i[0]:new e_(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)eA(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)eA(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eA(this.heap,0)}}}function eA(e,t){for(let n=e[t];;){let i=(t<<1)+1;if(i>=e.length)break;let r=e[i];if(i+1<e.length&&r.compare(e[i+1])>=0&&(r=e[i+1],i++),0>n.compare(r))break;e[i]=n,e[t]=r,t=i}}class eC{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=e_.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eY(this.active,e),eY(this.activeTo,e),eY(this.activeRank,e),this.minActive=eI(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t<this.activeRank.length&&(r-this.activeRank[t]||i-this.activeTo[t])>0;)t++;eq(this.active,t,n),eq(this.activeTo,t,i),eq(this.activeRank,t,r),e&&eq(e,t,this.cursor.from),this.minActive=eI(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&0>(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&eY(n,i)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else this.addActive(n),this.cursor.next()}}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eR(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,a=i,l=i-t,c=!!s.boundChange;for(let t=!1;;){let i=e.to+l-n.to,r=i||e.endSide-n.endSide,h=r<0?e.to+l:n.to,O=Math.min(h,o);if(e.point||n.point?(e.point&&n.point&&ex(e.point,n.point)&&eE(e.activeForPoint(e.to),n.activeForPoint(n.to))||s.comparePoint(a,O,e.point,n.point),t=!1):(t&&s.boundChange(a),O>a&&!eE(e.active,n.active)&&s.compareRange(a,O,e.active,n.active),c&&O<o&&(i||e.openEnd(h)!=n.openEnd(h))&&(t=!0)),h>o)break;a=h,r<=0&&e.next(),r>=0&&n.next()}}function eE(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!ex(e[n],t[n]))return!1;return!0}function eY(e,t){for(let n=t,i=e.length-1;n<i;n++)e[n]=e[n+1];e.pop()}function eq(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function eI(e,t){let n=-1,i=1e9;for(let r=0;r<t.length;r++)0>(t[r]-i||e[r].endSide-e[n].endSide)&&(n=r,i=t[r]);return n}function ez(e,t,n=e.length){let i=0;for(let r=0;r<n&&r<e.length;)9==e.charCodeAt(r)?(i+=t-i%t,r++):(i++,r=k(e,r));return i}function eL(e,t,n,i){for(let i=0,r=0;;){if(r>=t)return i;if(i==e.length)break;r+=9==e.charCodeAt(i)?n-r%n:1,i=k(e,i)}return!0===i?-1:e.length}},5188:function(e,t,n){var i,r;n.d(t,{FE:function(){return Y},Jq:function(){return O},L3:function(){return s},Lj:function(){return u},_b:function(){return R},hr:function(){return A},i9:function(){return C},md:function(){return l},mp:function(){return d},vj:function(){return i}});let s=1024,o=0;class a{constructor(e,t){this.from=e,this.to=t}}class l{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=O.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}l.closedBy=new l({deserialize:e=>e.split(" ")}),l.openedBy=new l({deserialize:e=>e.split(" ")}),l.group=new l({deserialize:e=>e.split(" ")}),l.isolate=new l({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),l.contextHash=new l({perNode:!0}),l.lookAhead=new l({perNode:!0}),l.mounted=new l({perNode:!0});class c{constructor(e,t,n,i=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=i}static get(e){return e&&e.props&&e.props[l.mounted.id]}}let h=Object.create(null);class O{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):h,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new O(e.name||"",t,e.id,n);if(e.props){for(let n of e.props)if(Array.isArray(n)||(n=n(i)),n){if(n[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(l.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(l.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}O.none=new O("",Object.create(null),0,8);class u{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let i=null;for(let t of e){let e=t(n);if(e){i||(i=Object.assign({},n.props));let t=e[1],r=e[0];r.combine&&r.id in i&&(t=r.combine(i[r.id],t)),i[r.id]=t}}t.push(i?new O(n.name,i,n.id,n.flags):n)}return new u(t)}}let f=new WeakMap,p=new WeakMap;(r=i||(i={}))[r.ExcludeBuffers=1]="ExcludeBuffers",r[r.IncludeAnonymous=2]="IncludeAnonymous",r[r.IgnoreMounts=4]="IgnoreMounts",r[r.IgnoreOverlays=8]="IgnoreOverlays",r[r.EnterBracketed=16]="EnterBracketed";class d{constructor(e,t,n,i,r){if(this.type=e,this.children=t,this.positions=n,this.length=i,this.props=null,r&&r.length)for(let[e,t]of(this.props=Object.create(null),r))this.props["number"==typeof e?e:e.id]=t}toString(){let e=c.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let n=e.toString();n&&(t&&(t+=","),t+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new T(this.topNode,e)}cursorAt(e,t=0,n=0){let i=new T(f.get(this)||this.topNode);return i.moveTo(e,t),f.set(this,i._tree),i}get topNode(){return new k(this,0,0,null)}resolve(e,t=0){let n=Q(f.get(this)||this.topNode,e,t,!1);return f.set(this,n),n}resolveInner(e,t=0){let n=Q(p.get(this)||this.topNode,e,t,!0);return p.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let i=e.resolveInner(t,n),r=null;for(let e=i instanceof k?i:i.context.parent;e;e=e.parent)if(e.index<0){let s=e.parent;(r||(r=[i])).push(s.resolve(t,n)),e=s}else{let s=c.get(e.tree);if(s&&s.overlay&&s.overlay[0].from<=t&&s.overlay[s.overlay.length-1].to>=t){let o=new k(s.tree,s.overlay[0].from+e.from,-1,e);(r||(r=[i])).push(Q(o,t,n,!1))}}return r?w(r):i}(this,e,t)}iterate(e){let{enter:t,leave:n,from:r=0,to:s=this.length}=e,o=e.mode||0,a=(o&i.IncludeAnonymous)>0;for(let e=this.cursor(o|i.IncludeAnonymous);;){let i=!1;if(e.from<=s&&e.to>=r&&(!a&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;i=!0}for(;i&&n&&(a||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;i=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:_(O.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new d(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new d(O.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:r=s,reused:o=[],minRepeatType:a=i.types.length}=e,c=Array.isArray(n)?new m(n,n.length):n,h=i.types,O=0,u=0;function f(e,t,n,r,s,o,a,l,c){let h=[],O=[];for(;e.length>r;)h.push(e.pop()),O.push(t.pop()+n-s);e.push(p(i.types[a],h,O,o-s,l-o,c)),t.push(s-n)}function p(e,t,n,i,r,s,o){if(s){let e=[l.contextHash,s];o=o?[e].concat(o):[e]}if(r>25){let e=[l.lookAhead,r];o=o?[e].concat(o):[e]}return new d(e,t,n,i,o)}let y=[],Q=[];for(;c.pos>0;)!function e(t,n,s,m,y,Q){let{id:S,start:k,end:b,size:$}=c,x=u,v=O;if($<0){if(c.next(),-1==$){let e=o[S];s.push(e),m.push(k-t);return}if(-3==$){O=S;return}if(-4==$){u=S;return}throw RangeError(`Unrecognized record size: ${$}`)}let w=h[S],P,T,Z=k-t;if(b-k<=r&&(T=function(e,t){let n=c.fork(),i=0,s=0,o=0,l=n.end-r,h={size:0,start:0,skip:0};i:for(let r=n.pos-e;n.pos>r;){let e=n.size;if(n.id==t&&e>=0){h.size=i,h.start=s,h.skip=o,o+=4,i+=4,n.next();continue}let c=n.pos-e;if(e<0||c<r||n.start<l)break;let O=n.id>=a?4:0,u=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3==n.size||-4==n.size)O+=4;else break i}else n.id>=a&&(O+=4);n.next()}s=u,i+=e,o+=O}return(t<0||i==e)&&(h.size=i,h.start=s,h.skip=o),h.size>4?h:void 0}(c.pos-n,y))){let e=new Uint16Array(T.size-T.skip),n=c.pos-T.size,r=e.length;for(;c.pos>n;)r=function e(t,n,i){let{id:r,start:s,end:o,size:l}=c;if(c.next(),l>=0&&r<a){let a=i;if(l>4){let r=c.pos-(l-4);for(;c.pos>r;)i=e(t,n,i)}n[--i]=a,n[--i]=o-t,n[--i]=s-t,n[--i]=r}else -3==l?O=r:-4==l&&(u=r);return i}(T.start,e,r);P=new g(e,b-T.start,i),Z=T.start-t}else{let t=c.pos-$;c.next();let n=[],s=[],o=S>=a?S:-1,h=0,O=b;for(;c.pos>t;)o>=0&&c.id==o&&c.size>=0?(c.end<=O-r&&(f(n,s,k,h,c.end,O,o,x,v),h=n.length,O=c.end),c.next()):Q>2500?function(e,t,n,s){let o=[],a=0,l=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:i}=c;if(i>4)c.next();else if(l>-1&&t<l)break;else l<0&&(l=n-r),o.push(e,t,n),a++,c.next()}if(a){let t=new Uint16Array(4*a),r=o[o.length-2];for(let e=o.length-3,n=0;e>=0;e-=3)t[n++]=o[e],t[n++]=o[e+1]-r,t[n++]=o[e+2]-r,t[n++]=n;n.push(new g(t,o[2]-r,i)),s.push(r-e)}}(k,t,n,s):e(k,t,n,s,o,Q+1);if(o>=0&&h>0&&h<n.length&&f(n,s,k,h,k,O,o,x,v),n.reverse(),s.reverse(),o>-1&&h>0){let e=function(e,t){return(n,i,r)=>{let s=0,o=n.length-1,a,c;if(o>=0&&(a=n[o])instanceof d){if(!o&&a.type==e&&a.length==r)return a;(c=a.prop(l.lookAhead))&&(s=i[o]+a.length+c)}return p(e,n,i,r,s,t)}}(w,v);P=_(w,n,s,0,n.length,0,b-k,e,e)}else P=p(w,n,s,b-k,x-b,v)}s.push(P),m.push(Z)}(e.start||0,e.bufferStart||0,y,Q,-1,0);let S=null!==(t=e.length)&&void 0!==t?t:y.length?Q[0]+y[0].length:0;return new d(h[e.topID],y.reverse(),Q.reverse(),S)}(e)}}d.empty=new d(O.none,[],[],0);class m{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new m(this.buffer,this.index)}}class g{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return O.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],i=this.set.types[t],r=i.name;if(/\W/.test(r)&&!i.isError&&(r=JSON.stringify(r)),n==(e+=4))return r;let s=[];for(;e<n;)s.push(this.childString(e)),e=this.buffer[e+3];return r+"("+s.join(",")+")"}findChild(e,t,n,i,r){let{buffer:s}=this,o=-1;for(let a=e;a!=t&&(!y(r,i,s[a+1],s[a+2])||(o=a,!(n>0)));a=s[a+3]);return o}slice(e,t,n){let i=this.buffer,r=new Uint16Array(t-e),s=0;for(let o=e,a=0;o<t;){r[a++]=i[o++],r[a++]=i[o++]-n;let t=r[a++]=i[o++]-n;r[a++]=i[o++]-e,s=Math.max(s,t)}return new g(r,s,this.set)}}function y(e,t,n,i){switch(e){case -2:return n<t;case -1:return i>=t&&n<t;case 0:return n<t&&i>t;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function Q(e,t,n,r){for(var s;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof k&&e.index<0?null:e.parent;if(!t)return e;e=t}let o=r?0:i.IgnoreOverlays;if(r)for(let i=e,r=i.parent;r;r=(i=r).parent)i instanceof k&&i.index<0&&(null===(s=r.enter(t,n,o))||void 0===s?void 0:s.from)!=i.from&&(e=r);for(;;){let i=e.enter(t,n,o);if(!i)return e;e=i}}class S{cursor(e=0){return new T(this,e)}getChild(e,t=null,n=null){let i=b(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return b(this,e,t,n)}resolve(e,t=0){return Q(this,e,t,!1)}resolveInner(e,t=0){return Q(this,e,t,!0)}matchContext(e){return $(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class k extends S{constructor(e,t,n,i){super(),this._tree=e,this.from=t,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,r,s=0){for(let o=this;;){for(let{children:a,positions:l}=o._tree,h=t>0?a.length:-1;e!=h;e+=t){let h=a[e],O=l[e]+o.from,u;if(s&i.EnterBracketed&&h instanceof d&&(u=c.get(h))&&!u.overlay&&u.bracketed&&n>=O&&n<=O+h.length||y(r,n,O,O+h.length)){if(h instanceof g){if(s&i.ExcludeBuffers)continue;let a=h.findChild(0,h.buffer.length,t,n-O,r);if(a>-1)return new v(new x(o,h,e,O),null,a)}else if(s&i.IncludeAnonymous||!h.type.isAnonymous||Z(h)){let a;if(!(s&i.IgnoreMounts)&&(a=c.get(h))&&!a.overlay)return new k(a.tree,O,e,o);let l=new k(h,O,e,o);return s&i.IncludeAnonymous||!l.type.isAnonymous?l:l.nextChild(t<0?h.children.length-1:0,t,n,r,s)}}}if(s&i.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let r;if(!(n&i.IgnoreOverlays)&&(r=c.get(this._tree))&&r.overlay){let s=e-this.from,o=n&i.EnterBracketed&&r.bracketed;for(let{from:e,to:n}of r.overlay)if((t>0||o?e<=s:e<s)&&(t<0||o?n>=s:n>s))return new k(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function b(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n){for(let e=!1;!e;)if(e=r.type.is(n),!r.nextSibling())return s}for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function $(e,t,n=t.length-1){for(let i=e;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class x{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class v extends S{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new v(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&i.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new v(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new v(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new v(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1];e.push(n.slice(i,r,s)),t.push(0)}return new d(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function w(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let r=e[i];(r.from>n.from||r.to<n.to)&&(n=r,t=i)}let i=n instanceof k&&n.index<0?null:n.parent,r=e.slice();return i?r[t]=i:r.splice(t,1),new P(r,n)}class P{constructor(e,t){this.heads=e,this.node=t}get next(){return w(this.heads)}}class T{get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~i.EnterBracketed,e instanceof k)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof k?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&i.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&i.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&i.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=r)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let r=t+e,s=e<0?-1:n._tree.children.length;r!=s;r+=e){let e=n._tree.children[r];if(this.mode&i.IncludeAnonymous||e instanceof g||!e.type.isAnonymous||Z(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)i:for(let i=this.index,r=this.stack.length;r>=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break i}i=this.stack[--r]}for(let e=n;e<this.stack.length;e++)t=new v(this.buffer,t,this.stack[e]);return this.bufferNode=new v(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let i=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;;){if(i&&t&&t(this),i=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,i=!0}}}matchContext(e){if(!this.buffer)return $(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let i=e.length-1,r=this.stack.length-1;i>=0;r--){if(r<0)return $(this._tree,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function Z(e){return e.children.some(e=>e instanceof g||!e.type.isAnonymous||Z(e))}let X=new WeakMap;function j(e,t){if(!e.isAnonymous||t instanceof g||t.type!=e)return 1;let n=X.get(t);if(null==n){for(let i of(n=1,t.children)){if(i.type!=e||!(i instanceof d)){n=1;break}n+=j(e,i)}X.set(t,n)}return n}function _(e,t,n,i,r,s,o,a,l){let c=0;for(let n=i;n<r;n++)c+=j(e,t[n]);let h=Math.ceil(1.5*c/8),O=[],u=[];return!function t(n,i,r,o,a){for(let c=r;c<o;){let r=c,f=i[c],p=j(e,n[c]);for(c++;c<o;c++){let t=j(e,n[c]);if(p+t>=h)break;p+=t}if(c==r+1){if(p>h){let e=n[r];t(e.children,e.positions,0,e.children.length,i[r]+a);continue}O.push(n[r])}else{let t=i[c-1]+n[c-1].length-f;O.push(_(e,n,i,r,c,f,t,null,l))}u.push(f+a-s)}}(t,n,i,r,0),(a||l)(O,u,o)}class A{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof v?this.setBuffer(e.context.buffer,e.index,t):e instanceof k&&this.map.set(e.tree,t)}get(e){return e instanceof v?this.getBuffer(e.context.buffer,e.index):e instanceof k?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class C{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new C(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&i.push(n);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,a=0,l=0;;o++){let c=o<t.length?t[o]:null,h=c?c.fromA:1e9;if(h-a>=n)for(;s&&s.from<h;){let t=s;if(a>=t.from||h<=t.to||l){let e=Math.max(t.from,a)-l,n=Math.min(t.to,h)-l;t=e>=n?null:new C(e,n,t.tree,t.offset+l,o>0,!!c)}if(t&&i.push(t),s.to>h)break;s=r<e.length?e[r++]:null}if(!c)break;a=c.toA,l=c.toA-c.toB}return i}}class R{startParse(e,t,n){return"string"==typeof e&&(e=new E(e)),n=n?n.length?n.map(e=>new a(e.from,e.to)):[new a(0,0)]:[new a(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let e=i.advance();if(e)return e}}}class E{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function Y(e){return(t,n,i,r)=>new M(t,e,n,i,r)}class q{constructor(e,t,n,i,r,s){this.parser=e,this.parse=t,this.overlay=n,this.bracketed=i,this.target=r,this.from=s}}function I(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class z{constructor(e,t,n,i,r,s,o,a){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.bracketed=s,this.target=o,this.prev=a,this.depth=0,this.ranges=[]}}let L=new l({perNode:!0});class M{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new d(e.type,e.children,e.positions,e.length,e.propValues.concat([[L,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[l.mounted.id]=new c(t,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new N(this.fragments),t=null,n=null,r=new T(new k(this.baseTree,this.ranges[0].from,0,null),i.IncludeAnonymous|i.IgnoreMounts);i:for(let i,s;;){let o=!0,l;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)o=!1;else if(e.hasNode(r)){if(t){let e=t.mounts.find(e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(e)for(let n of e.mount.overlay){let i=n.from+e.pos,s=n.to+e.pos;i>=r.from&&s<=r.to&&!t.ranges.some(e=>e.from<s&&e.to>i)&&t.ranges.push({from:i,to:s})}}o=!1}else if(n&&(s=function(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))o=2!=s;else if(!r.type.isAnonymous&&(i=this.nest(r,this.input))&&(r.from<r.to||!i.overlay)){!r.tree&&(function(e){let{node:t}=e,n=[],i=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let r=e.tree,s=r.children.indexOf(i),o=r.children[s],a=o.buffer,l=[s];for(let i of(r.children[s]=function e(i,r,s,c,h,O){let u=n[O],f=[],p=[];V(o,i,u,f,p,c);let m=a[u+1],g=a[u+2];l.push(f.length);let y=O?e(u+4,a[u+3],o.set.types[a[u]],m,g-m,O-1):t.toTree();return f.push(y),p.push(m-c),V(o,a[u+3],r,f,p,c),new d(s,f,p,h)}(0,a.length,O.none,0,o.length,n.length-1),l)){let t=e.tree.children[i],n=e.tree.positions[i];e.yield(new k(t,n+e.from,i,e._tree))}}(r),t&&t.depth++,n&&n.depth++);let s=e.findMounts(r.from,i.parser);if("function"==typeof i.overlay)t=new z(i.parser,i.overlay,s,this.inner.length,r.from,!!i.bracketed,r.tree,t);else{let e=G(this.ranges,i.overlay||(r.from<r.to?[new a(r.from,r.to)]:[]));e.length&&I(e),(e.length||!i.overlay)&&this.inner.push(new q(i.parser,e.length?i.parser.startParse(this.input,U(s,e),e):i.parser.startParse(""),i.overlay?i.overlay.map(e=>new a(e.from-r.from,e.to-r.from)):null,!!i.bracketed,r.tree,e.length?e[0].from:r.from)),i.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):o=!1}}else if(t&&(l=t.predicate(r))&&(!0===l&&(l=new a(r.from,r.to)),l.from<l.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==l.from?t.ranges[e]={from:t.ranges[e].from,to:l.to}:t.ranges.push(l)}if(o&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break i;if(t&&!--t.depth){let e=G(this.ranges,t.ranges);e.length&&(I(e),this.inner.splice(t.index,0,new q(t.parser,t.parser.startParse(this.input,U(t.mounts,e),e),t.ranges.map(e=>new a(e.from-t.start,e.to-t.start)),t.bracketed,t.target,e[0].from))),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function V(e,t,n,i,r,s){if(t<n){let o=e.buffer[t+1];i.push(e.slice(t,n,o)),r.push(o-s)}}class W{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(i.IncludeAnonymous|i.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)if(t.to>=e&&t.enter(n,1,i.IgnoreOverlays|i.ExcludeBuffers));else if(t.to<=e)t.next(!1)||(this.done=!0);else break}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof d)t=t.children[0];else break}return!1}}class N{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(L))&&void 0!==t?t:n.to,this.inner=new W(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(L))&&void 0!==e?e:t.to,this.inner=new W(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let r=null===(n=e.tree)||void 0===n?void 0:n.prop(l.mounted);if(r&&r.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&i.push({frag:n,pos:e.from-n.offset,mount:r})}}}return i}}function G(e,t){let n=null,i=t;for(let r=1,s=0;r<e.length;r++){let o=e[r-1].to,l=e[r].from;for(;s<i.length;s++){let e=i[s];if(e.from>=l)break;!(e.to<=o)&&(n||(i=n=t.slice()),e.from<o?(n[s]=new a(e.from,o),e.to>l&&n.splice(s+1,0,new a(l,e.to))):e.to>l?n[s--]=new a(l,e.to):n.splice(s--,1))}}return i}function U(e,t){let n=[];for(let{pos:i,mount:r,frag:s}of e){let e=i+(r.overlay?r.overlay[0].from:0),o=e+r.tree.length,l=Math.max(s.from,e),c=Math.min(s.to,o);if(r.overlay){let o=function(e,t,n,i){let r=0,s=0,o=!1,l=!1,c=-1e9,h=[];for(;;){let O=r==e.length?1e9:o?e[r].to:e[r].from,u=s==t.length?1e9:l?t[s].to:t[s].from;if(o!=l){let e=Math.max(c,n),t=Math.min(O,u,i);e<t&&h.push(new a(e,t))}if(1e9==(c=Math.min(O,u)))break;O==c&&(o?(o=!1,r++):o=!0),u==c&&(l?(l=!1,s++):l=!0)}return h}(t,r.overlay.map(e=>new a(e.from+i,e.to+i)),l,c);for(let t=0,i=l;;t++){let a=t==o.length,l=a?c:o[t].from;if(l>i&&n.push(new C(i,l,r.tree,-e,s.from>=i||s.openStart,s.to<=l||s.openEnd)),a)break;i=o[t].to}}else n.push(new C(l,c,r.tree,-e,s.from>=e||s.openStart,s.to<=o||s.openEnd))}return n}},7429:function(e,t,n){n.d(t,{Gv:function(){return l},QR:function(){return O},Vp:function(){return s},bW:function(){return u},pJ:function(){return Z}});var i=n(5188);let r=0;class s{constructor(e,t,n,i){this.name=e,this.set=t,this.base=n,this.modified=i,this.id=r++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){if(e instanceof s&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let n=new s("string"==typeof e?e:"?",[],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(e){let t=new a(e);return e=>e.modified.indexOf(t)>-1?e:a.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let o=0;class a{constructor(e){this.name=e,this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var i;return n.base==e&&(i=n.modified,t.length==i.length&&t.every((e,t)=>e==i[t]))});if(n)return n;let i=[],r=new s(e.name,i,e,t);for(let e of t)e.instances.push(r);let o=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let i=0,r=t.length;i<r;i++)t.push(t[i].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of o)i.push(a.get(t,e));return r}}function l(e){let t=Object.create(null);for(let n in e){let i=e[n];for(let e of(Array.isArray(i)||(i=[i]),n.split(" ")))if(e){let n=[],r=2,s=e;for(let t=0;;){if("..."==s&&t>0&&t+3==e.length){r=1;break}let i=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!i)throw RangeError("Invalid path: "+e);if(n.push("*"==i[0]?"":'"'==i[0][0]?JSON.parse(i[0]):i[0]),(t+=i[0].length)==e.length)break;let o=e[t++];if(t==e.length&&"!"==o){r=0;break}if("/"!=o)throw RangeError("Invalid path: "+e);s=e.slice(t)}let o=n.length-1,a=n[o];if(!a)throw RangeError("Invalid path: "+e);let l=new h(i,r,o>0?n.slice(0,o):null);t[a]=l.sort(t[a])}}return c.add(t)}let c=new i.md({combine(e,t){let n,i,r;for(;e||t;){if(!e||t&&e.depth>=t.depth?(r=t,t=t.next):(r=e,e=e.next),n&&n.mode==r.mode&&!r.context&&!n.context)continue;let s=new h(r.tags,r.mode,r.context);n?n.next=s:i=s,n=s}return i}});class h{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function O(e,t){let n=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)n[e.id]=t.class;else n[t.tag.id]=t.class;let{scope:i,all:r=null}=t||{};return{style:e=>{let t=r;for(let i of e)for(let e of i.set){let i=n[e.id];if(i){t=t?t+" "+i:i;break}}return t},scope:i}}function u(e,t,n,i=0,r=e.length){let s=new f(i,Array.isArray(t)?t:[t],n);s.highlightRange(e.cursor(),i,r,"",s.highlighters),s.flush(r)}h.empty=new h([],2,null);class f{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,s){let{type:o,from:a,to:l}=e;if(a>=n||l<=t)return;o.isTop&&(s=this.highlighters.filter(e=>!e.scope||e.scope(o)));let O=r,u=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||h.empty,f=function(e,t){let n=null;for(let i of e){let e=i.style(t);e&&(n=n?n+" "+e:e)}return n}(s,u.tags);if(f&&(O&&(O+=" "),O+=f,1==u.mode&&(r+=(r?" ":"")+f)),this.startSpan(Math.max(t,a),O),u.opaque)return;let p=e.tree&&e.tree.prop(i.md.mounted);if(p&&p.overlay){let i=e.node.enter(p.overlay[0].from+a,1),o=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),c=e.firstChild();for(let h=0,u=a;;h++){let f=h<p.overlay.length?p.overlay[h]:null,d=f?f.from+a:l,m=Math.max(t,u),g=Math.min(n,d);if(m<g&&c)for(;e.from<g&&(this.highlightRange(e,m,g,r,s),this.startSpan(Math.min(g,e.to),O),!(e.to>=d)&&e.nextSibling()););if(!f||d>n)break;(u=f.to+a)>t&&(this.highlightRange(i.cursor(),Math.max(t,f.from+a),Math.min(n,u),"",o),this.startSpan(Math.min(n,u),O))}c&&e.parent()}else if(e.firstChild()){p&&(r="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),O)}while(e.nextSibling());e.parent()}}}let p=s.define,d=p(),m=p(),g=p(m),y=p(m),Q=p(),S=p(Q),k=p(Q),b=p(),$=p(b),x=p(),v=p(),w=p(),P=p(w),T=p(),Z={comment:d,lineComment:p(d),blockComment:p(d),docComment:p(d),name:m,variableName:p(m),typeName:g,tagName:p(g),propertyName:y,attributeName:p(y),className:p(m),labelName:p(m),namespace:p(m),macroName:p(m),literal:Q,string:S,docString:p(S),character:p(S),attributeValue:p(S),number:k,integer:p(k),float:p(k),bool:p(Q),regexp:p(Q),escape:p(Q),color:p(Q),url:p(Q),keyword:x,self:p(x),null:p(x),atom:p(x),unit:p(x),modifier:p(x),operatorKeyword:p(x),controlKeyword:p(x),definitionKeyword:p(x),moduleKeyword:p(x),operator:v,derefOperator:p(v),arithmeticOperator:p(v),logicOperator:p(v),bitwiseOperator:p(v),compareOperator:p(v),updateOperator:p(v),definitionOperator:p(v),typeOperator:p(v),controlOperator:p(v),punctuation:w,separator:p(w),bracket:P,angleBracket:p(P),squareBracket:p(P),paren:p(P),brace:p(P),content:b,heading:$,heading1:p($),heading2:p($),heading3:p($),heading4:p($),heading5:p($),heading6:p($),contentSeparator:p(b),list:p(b),quote:p(b),emphasis:p(b),strong:p(b),link:p(b),monospace:p(b),strikethrough:p(b),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:T,documentMeta:p(T),annotation:p(T),processingInstruction:p(T),definition:s.defineModifier("definition"),constant:s.defineModifier("constant"),function:s.defineModifier("function"),standard:s.defineModifier("standard"),local:s.defineModifier("local"),special:s.defineModifier("special")};for(let e in Z){let t=Z[e];t instanceof s&&(t.name=e)}O([{tag:Z.link,class:"tok-link"},{tag:Z.heading,class:"tok-heading"},{tag:Z.emphasis,class:"tok-emphasis"},{tag:Z.strong,class:"tok-strong"},{tag:Z.keyword,class:"tok-keyword"},{tag:Z.atom,class:"tok-atom"},{tag:Z.bool,class:"tok-bool"},{tag:Z.url,class:"tok-url"},{tag:Z.labelName,class:"tok-labelName"},{tag:Z.inserted,class:"tok-inserted"},{tag:Z.deleted,class:"tok-deleted"},{tag:Z.literal,class:"tok-literal"},{tag:Z.string,class:"tok-string"},{tag:Z.number,class:"tok-number"},{tag:[Z.regexp,Z.escape,Z.special(Z.string)],class:"tok-string2"},{tag:Z.variableName,class:"tok-variableName"},{tag:Z.local(Z.variableName),class:"tok-variableName tok-local"},{tag:Z.definition(Z.variableName),class:"tok-variableName tok-definition"},{tag:Z.special(Z.variableName),class:"tok-variableName2"},{tag:Z.definition(Z.propertyName),class:"tok-propertyName tok-definition"},{tag:Z.typeName,class:"tok-typeName"},{tag:Z.namespace,class:"tok-namespace"},{tag:Z.className,class:"tok-className"},{tag:Z.macroName,class:"tok-macroName"},{tag:Z.propertyName,class:"tok-propertyName"},{tag:Z.operator,class:"tok-operator"},{tag:Z.comment,class:"tok-comment"},{tag:Z.meta,class:"tok-meta"},{tag:Z.invalid,class:"tok-invalid"},{tag:Z.punctuation,class:"tok-punctuation"}])},1578:function(e,t,n){function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}n.d(t,{ZP:function(){return na}});var r=n(7653),s=n(2130),o=n(4877),a=n(8744),l=n(5188);function c(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}let h=c(function(e,t,n=t.selection.ranges){let i=[],r=-1;s:for(let{from:e,to:s}of n){let n=i.length,o=1e9,a;for(let n=e;n<=s;){let l=t.doc.lineAt(n);if(void 0==a&&!(a=f(t,l.from).line))continue s;if(l.from>r&&(e==s||s>l.from)){r=l.from;let e=/^\s*/.exec(l.text)[0].length,t=e==l.length,n=l.text.slice(e,e+a.length)==a?e:-1;e<l.text.length&&e<o&&(o=e),i.push({line:l,comment:n,token:a,indent:e,empty:t,single:!1})}n=l.to+1}if(o<1e9)for(let e=n;e<i.length;e++)i[e].indent<i[e].line.text.length&&(i[e].indent=o);i.length==n+1&&(i[n].single=!0)}if(2!=e&&i.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:r,empty:s,single:o}of i)(o||!s)&&e.push({from:t.from+r,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&i.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:r}of i)if(n>=0){let i=t.from+n,s=i+r.length;" "==t.text[s-t.from]&&s++,e.push({from:i,to:s})}return{changes:e}}return null},0),O=c(p,0),u=c((e,t)=>p(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to);r.from>i.from&&r.from==n.to&&(r=n.to==i.to+1?i:e.doc.lineAt(n.to-1));let s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from+/^\s*/.exec(i.text)[0].length,to:r.to})}return t}(t)),0);function f(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}function p(e,t,n=t.selection.ranges){let i=n.map(e=>f(t,e.from).block);if(!i.every(e=>e))return null;let r=n.map((e,n)=>(function(e,{open:t,close:n},i,r){let s,o,a=e.sliceDoc(i-50,i),l=e.sliceDoc(r,r+50),c=/\s*$/.exec(a)[0].length,h=/^\s*/.exec(l)[0].length,O=a.length-c;if(a.slice(O-t.length,O)==t&&l.slice(h,h+n.length)==n)return{open:{pos:i-c,margin:c&&1},close:{pos:r+h,margin:h&&1}};r-i<=100?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+50),o=e.sliceDoc(r-50,r));let u=/^\s*/.exec(s)[0].length,f=/\s*$/.exec(o)[0].length,p=o.length-f-n.length;return s.slice(u,u+t.length)==t&&o.slice(p,p+n.length)==n?{open:{pos:i+u+t.length,margin:/\s/.test(s.charAt(u+t.length))?1:0},close:{pos:r-f-n.length,margin:/\s/.test(o.charAt(p-1))?1:0}}:null})(t,i[n],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(n.map((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}]))};if(1!=e&&r.some(e=>e)){let e=[];for(let t=0,n;t<r.length;t++)if(n=r[t]){let r=i[t],{open:s,close:o}=n;e.push({from:s.pos-r.open.length,to:s.pos+s.margin},{from:o.pos-o.margin,to:o.pos+r.close.length})}return{changes:e}}return null}let d=s.q6.define(),m=s.q6.define(),g=s.r$.define(),y=s.r$.define({combine:e=>(0,s.BO)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,i)=>e(n,i)||t(n,i)})}),Q=s.QQ.define({create:()=>_.empty,update(e,t){let n=t.state.facet(y),i=t.annotation(d);if(i){let r=v.fromTransaction(t,i.selection),s=i.side,o=0==s?e.undone:e.done;return o=r?w(o,o.length,n.minDepth,r):Z(o,t.startState.selection),new _(0==s?i.rest:o,0==s?o:i.rest)}let r=t.annotation(m);if(("full"==r||"before"==r)&&(e=e.isolate()),!1===t.annotation(s.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=v.fromTransaction(t),a=t.annotation(s.YW.time),l=t.annotation(s.YW.userEvent);return o?e=e.addChanges(o,a,l,n,t):t.selection&&(e=e.addSelection(t.startState.selection,a,l,n.newGroupDelay)),("full"==r||"after"==r)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new _(e.done.map(v.fromJSON),e.undone.map(v.fromJSON))});function S(e,t){return function({state:n,dispatch:i}){if(!t&&n.readOnly)return!1;let r=n.field(Q,!1);if(!r)return!1;let s=r.pop(e,n,t);return!!s&&(i(s),!0)}}let k=S(0,!1),b=S(1,!1),$=S(0,!0),x=S(1,!0);class v{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new v(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new v(e.changes&&s.as.fromJSON(e.changes),[],e.mapped&&s.n0.fromJSON(e.mapped),e.startSelection&&s.jT.fromJSON(e.startSelection),e.selectionsAfter.map(s.jT.fromJSON))}static fromTransaction(e,t){let n=T;for(let t of e.startState.facet(g)){let i=t(e);i.length&&(n=n.concat(i))}return!n.length&&e.changes.empty?null:new v(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,T)}static selection(e){return new v(void 0,T,void 0,void 0,e)}}function w(e,t,n,i){let r=e.slice(t+1>n+20?t-n-1:0,t);return r.push(i),r}function P(e,t){return e.length?t.length?e.concat(t):e:t}let T=[];function Z(e,t){if(!e.length)return[v.selection([t])];{let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),w(e,e.length-1,1e9,n.setSelAfter(i)))}}function X(e,t){if(!e.length)return e;let n=e.length,i=T;for(;n;){let r=function(e,t,n){let i=P(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):T,n);if(!e.changes)return v.selection(i);let r=e.changes.map(t),o=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(o):o;return new v(r,s.Py.mapEffects(e.effects,t),a,e.startSelection.map(o),i)}(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let t=e.slice(0,n);return t[n-1]=r,t}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[v.selection(i)]:T}let j=/^(input\.type|delete)($|\.)/;class _{constructor(e,t,n=0,i){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new _(this.done,this.undone):this}addChanges(e,t,n,i,r){var o,a;let l,c,h=this.done,O=h[h.length-1];return new _(h=O&&O.changes&&!O.changes.empty&&e.changes&&(!n||j.test(n))&&(!O.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(r,(o=O.changes,a=e.changes,l=[],c=!1,o.iterChangedRanges((e,t)=>l.push(e,t)),a.iterChangedRanges((e,t,n,i)=>{for(let e=0;e<l.length;){let t=l[e++],r=l[e++];i>=t&&n<=r&&(c=!0)}}),c))||"input.type.compose"==n)?w(h,h.length-1,i.minDepth,new v(e.changes.compose(O.changes),P(s.Py.mapEffects(e.effects,O.changes),O.effects),O.mapped,O.startSelection,T)):w(h,h.length,i.minDepth,e),T,t,n)}addSelection(e,t,n,i){var r;let s=this.done.length?this.done[this.done.length-1].selectionsAfter:T;return s.length>0&&t-this.prevTime<i&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(r=s[s.length-1]).ranges.length==e.ranges.length&&0===r.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length?this:new _(Z(this.done,e),this.undone,t,n)}addMapping(e){return new _(X(this.done,e),X(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1],s=r.selectionsAfter[0]||(r.startSelection?r.startSelection.map(r.changes.invertedDesc,1):t.selection);if(n&&r.selectionsAfter.length){let n,o;return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:d.of({side:e,rest:(n=i[i.length-1],(o=i.slice())[i.length-1]=n.setSelAfter(n.selectionsAfter.slice(0,n.selectionsAfter.length-1)),o),selection:s}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let n=1==i.length?T:i.slice(0,i.length-1);return r.mapped&&(n=X(n,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:d.of({side:e,rest:n,selection:s}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}_.empty=new _(T,T);let A=[{key:"Mod-z",run:k,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:b,preventDefault:!0},{linux:"Ctrl-Shift-z",run:b,preventDefault:!0},{key:"Mod-u",run:$,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:x,preventDefault:!0}];function C(e,t){return s.jT.create(e.ranges.map(t),e.mainIndex)}function R(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function E({state:e,dispatch:t},n){let i=C(e.selection,n);return!i.eq(e.selection,!0)&&(t(R(e,i)),!0)}function Y(e,t){return s.jT.cursor(t?e.to:e.from)}function q(e,t){return E(e,n=>n.empty?e.moveByChar(n,t):Y(n,t))}function I(e){return e.textDirectionAt(e.state.selection.main.head)==o.Nm.LTR}let z=e=>q(e,!I(e)),L=e=>q(e,I(e));function M(e,t){return E(e,n=>n.empty?e.moveByGroup(n,t):Y(n,t))}function V(e,t,n){let i,r,o=(0,a.qz)(e).resolveInner(t.head),c=n?l.md.closedBy:l.md.openedBy;for(let i=t.head;;){let t=n?o.childAfter(i):o.childBefore(i);if(!t)break;!function(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,t,c)?i=n?t.to:t.from:o=t}return r=o.type.prop(c)&&(i=n?(0,a.Um)(e,o.from,1):(0,a.Um)(e,o.to,-1))&&i.matched?n?i.end.to:i.end.from:n?o.to:o.from,s.jT.cursor(r,n?-1:1)}function W(e,t){return E(e,n=>{if(!n.empty)return Y(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)})}"undefined"!=typeof Intl&&Intl.Segmenter;let N=e=>W(e,!1),G=e=>W(e,!0);function U(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,i=0,r;if(t){for(let t of e.state.facet(o.tk.scrollMargins)){let r=t(e);(null==r?void 0:r.top)&&(n=Math.max(null==r?void 0:r.top,n)),(null==r?void 0:r.bottom)&&(i=Math.max(null==r?void 0:r.bottom,i))}r=e.scrollDOM.clientHeight-n-i}else r=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:i,selfScroll:t,height:Math.max(e.defaultLineHeight,r-5)}}function B(e,t){let n,i=U(e),{state:r}=e,s=C(r.selection,n=>n.empty?e.moveVertically(n,t,i.height):Y(n,t));if(s.eq(r.selection))return!1;if(i.selfScroll){let t=e.coordsAtPos(r.selection.main.head),a=e.scrollDOM.getBoundingClientRect(),l=a.top+i.marginTop,c=a.bottom-i.marginBottom;t&&t.top>l&&t.bottom<c&&(n=o.tk.scrollIntoView(s.main.head,{y:"start",yMargin:t.top-l}))}return e.dispatch(R(r,s),{effects:n}),!0}let D=e=>B(e,!1),J=e=>B(e,!0);function F(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let n=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;n&&t.head!=i.from+n&&(r=s.jT.cursor(i.from+n))}return r}function K(e,t,n){let i=C(e.state.selection,e=>{e.undirectional&&e.head>=e.anchor!=t&&(e=s.jT.range(e.head,e.anchor));let i=n(e);return s.jT.range(e.anchor,i.head,i.goalColumn,i.bidiLevel||void 0,i.assoc)});return!i.eq(e.state.selection)&&(e.dispatch(R(e.state,i)),!0)}function H(e,t){return K(e,t,n=>e.moveByChar(n,t))}let ee=e=>H(e,!I(e)),et=e=>H(e,I(e));function en(e,t){return K(e,t,n=>e.moveByGroup(n,t))}function ei(e,t){return K(e,t,n=>e.moveVertically(n,t))}let er=e=>ei(e,!1),es=e=>ei(e,!0);function eo(e,t){return K(e,t,n=>e.moveVertically(n,t,U(e).height))}let ea=e=>eo(e,!1),el=e=>eo(e,!0),ec=({state:e,dispatch:t})=>(t(R(e,{anchor:0})),!0),eh=({state:e,dispatch:t})=>(t(R(e,{anchor:e.doc.length})),!0),eO=({state:e,dispatch:t})=>(t(R(e,{anchor:e.selection.main.anchor,head:0})),!0),eu=({state:e,dispatch:t})=>(t(R(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function ef(e,t){let{state:n}=e,i=n.selection,r=n.selection.ranges.slice();for(let i of n.selection.ranges){let s=n.doc.lineAt(i.head);if(t?s.to<e.state.doc.length:s.from>0)for(let n=i;;){let i=e.moveVertically(n,t);if(i.head<s.from||i.head>s.to){r.some(e=>e.head==i.head)||r.push(i);break}if(i.head==n.head)break;n=i}}return r.length!=i.ranges.length&&(e.dispatch(R(n,s.jT.create(r,r.length-1))),!0)}function ep(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange(i=>{let{from:r,to:o}=i;if(r==o){let s=t(i);s<r?(n="delete.backward",s=ed(e,s,!1)):s>r&&(n="delete.forward",s=ed(e,s,!0)),r=Math.min(r,s),o=Math.max(o,s)}else r=ed(e,r,!1),o=ed(e,o,!0);return r==o?{range:i}:{changes:{from:r,to:o},range:s.jT.cursor(r,r<i.head?-1:1)}});return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?o.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function ed(e,t,n){if(e instanceof o.tk)for(let i of e.state.facet(o.tk.atomicRanges).map(t=>t(e)))i.between(t,t,(e,i)=>{e<t&&i>t&&(t=n?i:e)});return t}let em=(e,t,n)=>ep(e,i=>{let r=i.from,{state:o}=e,l=o.doc.lineAt(r),c,h;if(n&&!t&&r>l.from&&r<l.from+200&&!/[^ \t]/.test(c=l.text.slice(0,r-l.from))){if(" "==c[c.length-1])return r-1;let e=(0,s.IS)(c,o.tabSize)%(0,a.y1)(o)||(0,a.y1)(o);for(let t=0;t<e&&" "==c[c.length-1-t];t++)r--;h=r}else(h=(0,s.cp)(l.text,r-l.from,t,t)+l.from)==r&&l.number!=(t?o.doc.lines:1)?h+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(l.text.slice(h-l.from,r-l.from))&&(h=(0,s.cp)(l.text,h-l.from,!1,!1)+l.from);return h}),eg=e=>em(e,!1,!0),ey=e=>em(e,!0,!1),eQ=(e,t)=>ep(e,n=>{let i=n.head,{state:r}=e,o=r.doc.lineAt(i),a=r.charCategorizer(i);for(let e=null;;){if(i==(t?o.to:o.from)){i==n.head&&o.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let l=(0,s.cp)(o.text,i-o.from,t)+o.from,c=o.text.slice(Math.min(i,l)-o.from,Math.max(i,l)-o.from),h=a(c);if(null!=e&&h!=e)break;(" "!=c||i!=n.head)&&(e=h),i=l}return i}),eS=e=>eQ(e,!1);function ek(e){let t=[],n=-1;for(let i of e.selection.ranges){let r=e.doc.lineAt(i.from),s=e.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=e.doc.lineAt(i.to-1)),n>=r.number){let e=t[t.length-1];e.to=s.to,e.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function eb(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let t of ek(e)){if(n?t.to==e.doc.length:0==t.from)continue;let o=e.doc.lineAt(n?t.to+1:t.from-1),a=o.length+1;if(n)for(let n of(i.push({from:t.to,to:o.to},{from:t.from,insert:o.text+e.lineBreak}),t.ranges))r.push(s.jT.range(Math.min(e.doc.length,n.anchor+a),Math.min(e.doc.length,n.head+a)));else for(let n of(i.push({from:o.from,to:t.from},{from:t.to,insert:e.lineBreak+o.text}),t.ranges))r.push(s.jT.range(n.anchor-a,n.head-a))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:s.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}function e$(e,t,n){if(e.readOnly)return!1;let i=[];for(let t of ek(e))n?i.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):i.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});let r=e.changes(i);return t(e.update({changes:r,selection:e.selection.map(r,n?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}let ex=ew(!1),ev=ew(!0);function ew(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:r}=n,o=t.doc.lineAt(i),c=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,a.qz)(e).resolveInner(t),i=n.childBefore(t),r=n.childAfter(t),s;return i&&r&&i.to<=t&&r.from>=t&&(s=i.type.prop(l.md.closedBy))&&s.indexOf(r.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(r.from).from&&!/\S/.test(e.sliceDoc(i.to,r.from))?{from:i.to,to:r.from}:null}(t,i);e&&(i=r=(r<=o.to?o:t.doc.lineAt(r)).to);let h=new a.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!c}),O=(0,a.K0)(h,i);for(null==O&&(O=(0,s.IS)(/^\s*/.exec(t.doc.lineAt(i).text)[0],t.tabSize));r<o.to&&/\s/.test(o.text[r-o.from]);)r++;c?{from:i,to:r}=c:i>o.from&&i<o.from+100&&!/\S/.test(o.text.slice(0,i))&&(i=o.from);let u=["",(0,a.SS)(t,O)];return c&&u.push((0,a.SS)(t,h.lineIndent(o.from,-1))),{changes:{from:i,to:r,insert:s.xv.of(u)},range:s.jT.cursor(i+1+u[1].length)}});return n(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function eP(e,t){let n=-1;return e.changeByRange(i=>{let r=[];for(let s=i.from;s<=i.to;){let o=e.doc.lineAt(s);o.number>n&&(i.empty||i.to>o.from)&&(t(o,r,i),n=o.number),s=o.to+1}let o=e.changes(r);return{changes:r,range:s.jT.range(o.mapPos(i.anchor,1),o.mapPos(i.head,1))}})}let eT=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eP(e,(t,n)=>{n.push({from:t.from,insert:e.facet(a.c)})}),{userEvent:"input.indent"})),!0),eZ=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eP(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=(0,s.IS)(i,e.tabSize),o=0,l=(0,a.SS)(e,Math.max(0,r-(0,a.y1)(e)));for(;o<i.length&&o<l.length&&i.charCodeAt(o)==l.charCodeAt(o);)o++;n.push({from:t.from+o,to:t.from+i.length,insert:l.slice(o)})}),{userEvent:"delete.dedent"})),!0),eX=[{key:"Ctrl-b",run:z,shift:ee,preventDefault:!0},{key:"Ctrl-f",run:L,shift:et},{key:"Ctrl-p",run:N,shift:er},{key:"Ctrl-n",run:G,shift:es},{key:"Ctrl-a",run:e=>E(e,t=>s.jT.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>K(e,!1,t=>s.jT.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>E(e,t=>s.jT.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>K(e,!0,t=>s.jT.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:ey},{key:"Ctrl-h",run:eg},{key:"Ctrl-k",run:e=>ep(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)})},{key:"Ctrl-Alt-h",run:eS},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:s.xv.of(["",""])},range:s.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:(0,s.cp)(i.text,n-i.from,!1)+i.from,o=n==i.to?n+1:(0,s.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:o,insert:e.doc.slice(n,o).append(e.doc.slice(r,n))},range:s.jT.cursor(o)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:J}],ej=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>E(e,t=>V(e.state,t,!I(e))),shift:e=>{let t=!I(e);return K(e,t,n=>V(e.state,n,t))}},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>E(e,t=>V(e.state,t,I(e))),shift:e=>{let t=I(e);return K(e,t,n=>V(e.state,n,t))}},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>eb(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>e$(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>eb(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>e$(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>ef(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>ef(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=s.jT.create([n.main]):n.main.empty||(i=s.jT.create([s.jT.cursor(n.main.head)])),!!i&&(t(R(e,i)),!0)}},{key:"Mod-Enter",run:ev},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=ek(e).map(({from:t,to:n})=>s.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:s.jT.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=C(e.selection,t=>{let n=(0,a.qz)(e),i=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=i.node.from&&e.node.to<=i.node.to&&(i=e)}for(let e=i;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return s.jT.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(R(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:eZ},{key:"Mod-]",run:eT},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new a.Gn(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),r=eP(e,(t,r,s)=>{let o=(0,a.K0)(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let l=/^\s*/.exec(t.text)[0],c=(0,a.SS)(e,o);(l!=c||s.from<t.from+l.length)&&(n[t.from]=o,r.push({from:t.from,to:t.from+l.length,insert:c}))});return r.changes.empty||t(e.update(r,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(ek(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),i=C(t.selection,t=>{let n;if(e.lineWrapping){let i=e.lineBlockAt(t.head),r=e.coordsAtPos(t.head,t.assoc||1);r&&(n=i.bottom+e.documentTop-r.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>{let n,i;return n=!1,i=C(e.selection,t=>{let i=(0,a.Um)(e,t.head,-1)||(0,a.Um)(e,t.head,1)||t.head>0&&(0,a.Um)(e,t.head-1,1)||t.head<e.doc.length&&(0,a.Um)(e,t.head+1,-1);if(!i||!i.end)return t;n=!0;let r=i.start.from==t.head?i.end.to:i.end.from;return s.jT.cursor(r)}),!!n&&(t(R(e,i)),!0)}},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),i=f(e.state,n.from);return i.line?h(e):!!i.block&&u(e)}},{key:"Alt-A",run:O},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:z,shift:ee,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>M(e,!I(e)),shift:e=>en(e,!I(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>E(e,t=>F(e,t,!I(e))),shift:e=>{let t=!I(e);return K(e,t,n=>F(e,n,t))},preventDefault:!0},{key:"ArrowRight",run:L,shift:et,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>M(e,I(e)),shift:e=>en(e,I(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>E(e,t=>F(e,t,I(e))),shift:e=>{let t=I(e);return K(e,t,n=>F(e,n,t))},preventDefault:!0},{key:"ArrowUp",run:N,shift:er,preventDefault:!0},{mac:"Cmd-ArrowUp",run:ec,shift:eO},{mac:"Ctrl-ArrowUp",run:D,shift:ea},{key:"ArrowDown",run:G,shift:es,preventDefault:!0},{mac:"Cmd-ArrowDown",run:eh,shift:eu},{mac:"Ctrl-ArrowDown",run:J,shift:el},{key:"PageUp",run:D,shift:ea},{key:"PageDown",run:J,shift:el},{key:"Home",run:e=>E(e,t=>F(e,t,!1)),shift:e=>K(e,!1,t=>F(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:ec,shift:eO},{key:"End",run:e=>E(e,t=>F(e,t,!0)),shift:e=>K(e,!0,t=>F(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:eh,shift:eu},{key:"Enter",run:ex,shift:ex},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:eg,shift:eg,preventDefault:!0},{key:"Delete",run:ey,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:eS,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>eQ(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>ep(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:e=>ep(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),preventDefault:!0}].concat(eX.map(e=>({mac:e.key,run:e.run,shift:e.shift})))),e_={key:"Tab",run:eT,shift:eZ};var eA=n(1979);let eC="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class eR{constructor(e,t,n=0,i=e.length,r,s){this.test=s,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=r?e=>r(eC(e)):eC,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,s.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,s.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,s.nZ)(e);let i=this.normalize(t);if(i.length)for(let e=0,r=n,s=!0;;e++){let n=i.charCodeAt(e),o=this.match(n,r,s,this.bufferPos+this.bufferStart,e==i.length-1);if(o)return this.value=o,this;if(e==i.length-1)break;s&&e<t.length&&t.charCodeAt(e)==n?r++:s=!1}}}match(e,t,n,i,r){let s=null;for(let t=0;t<this.matches.length;){let n=this.matches[t],o=!1;this.query.charCodeAt(n.index)==e&&(n.index==this.query.length-1?s={from:n.from,to:i,precise:r&&n.precise}:(n.index++,o=!0)),o?t++:this.matches.splice(t,1)}return this.query.charCodeAt(0)==e&&(1==this.query.length?s={from:t,to:i,precise:n&&r}:this.matches.push({from:t,index:1,precise:n})),s&&this.test&&!this.test(s.from,s.to,this.buffer,this.bufferStart)&&(s=null),s}}"undefined"!=typeof Symbol&&(eR.prototype[Symbol.iterator]=function(){return this});let eE={from:-1,to:-1,match:/.*/.exec(""),precise:!0},eY="gm"+(null==/x/.unicode?"":"u");class eq{constructor(e,t,n,i=0,r=e.length){if(this.text=e,this.to=r,this.curLine="",this.done=!1,this.value=eE,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new eL(e,t,n,i,r);this.re=new RegExp(t,eY+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.iter=e.iter();let s=e.lineAt(i);this.curLineStart=s.from,this.matchPos=eM(e,i),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=eM(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<i||n>this.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,precise:!0,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}let eI=new WeakMap;class ez{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let i=eI.get(e);if(!i||i.from>=n||i.to<=t){let i=new ez(t,e.sliceString(t,n));return eI.set(e,i),i}if(i.from==t&&i.to==n)return i;let{text:r,from:s}=i;return s>t&&(r=e.sliceString(t,s)+r,s=t),i.to<n&&(r+=e.sliceString(i.to,n)),eI.set(e,new ez(s,r)),new ez(t,r.slice(t-s,n-s))}}class eL{constructor(e,t,n,i,r){this.text=e,this.to=r,this.done=!1,this.value=eE,this.matchPos=eM(e,i),this.re=new RegExp(t,eY+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.flat=ez.get(e,i,this.chunkEnd(i+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,precise:!0,match:t},this.matchPos=eM(this.text,n+(e==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=ez.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function eM(e,t){if(t>=e.length)return t;let n=e.lineAt(t),i;for(;t<n.to&&(i=n.text.charCodeAt(t-n.from))>=56320&&i<57344;)t++;return t}"undefined"!=typeof Symbol&&(eq.prototype[Symbol.iterator]=eL.prototype[Symbol.iterator]=function(){return this});let eV={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},eW=s.r$.define({combine:e=>(0,s.BO)(e,eV,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),eN=o.p.mark({class:"cm-selectionMatch"}),eG=o.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function eU(e,t,n,i){return(0==n||e(t.sliceDoc(n-1,n))!=s.D0.Word)&&(i==t.doc.length||e(t.sliceDoc(i,i+1))!=s.D0.Word)}let eB=o.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(eW),{state:n}=e,i=n.selection;if(i.ranges.length>1)return o.p.none;let r=i.main,a,l=null;if(r.empty){if(!t.highlightWordAroundCursor)return o.p.none;let e=n.wordAt(r.head);if(!e)return o.p.none;l=n.charCategorizer(r.head),a=n.sliceDoc(e.from,e.to)}else{let e=r.to-r.from;if(e<t.minSelectionLength||e>200)return o.p.none;if(t.wholeWords){var c,h,O;if(a=n.sliceDoc(r.from,r.to),!(eU(l=n.charCategorizer(r.head),n,r.from,r.to)&&(c=l,h=r.from,O=r.to,c(n.sliceDoc(h,h+1))==s.D0.Word&&c(n.sliceDoc(O-1,O))==s.D0.Word)))return o.p.none}else if(!(a=n.sliceDoc(r.from,r.to)))return o.p.none}let u=[];for(let i of e.visibleRanges){let e=new eR(n.doc,a,i.from,i.to);for(;!e.next().done;){let{from:i,to:s}=e.value;if((!l||eU(l,n,i,s))&&(r.empty&&i<=r.from&&s>=r.to?u.push(eG.range(i,s)):(i>=r.to||s<=r.from)&&u.push(eN.range(i,s)),u.length>t.maxMatches))return o.p.none}}return o.p.set(u)}},{decorations:e=>e.decorations}),eD=o.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),eJ=({state:e,dispatch:t})=>{let{selection:n}=e,i=s.jT.create(n.ranges.map(t=>e.wordAt(t.head)||s.jT.cursor(t.head)),n.mainIndex);return!i.eq(n)&&(t(e.update({selection:i})),!0)},eF=s.r$.define({combine:e=>(0,s.BO)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new tm(e),scrollToMatch:e=>o.tk.scrollIntoView(e)})});class eK{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,eY),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new e4(this):new e1(this)}getCursor(e,t=0,n){let i=e.doc?e:s.yy.create({doc:e});return null==n&&(n=i.doc.length),this.regexp?e2(this,i,t,n):e0(this,i,t,n)}}class eH{constructor(e){this.spec=e}}function e0(e,t,n,i){var r,o,a,l;let c;return e.wholeWord&&(r=t.doc,o=t.charCategorizer(t.selection.main.head),c=(e,t,n,i)=>((i>e||i+n.length<t)&&(i=Math.max(0,e-2),n=r.sliceString(i,Math.min(r.length,t+2))),(o(e5(n,e-i))!=s.D0.Word||o(e3(n,e-i))!=s.D0.Word)&&(o(e3(n,t-i))!=s.D0.Word||o(e5(n,t-i))!=s.D0.Word))),e.test&&(a=e.test,l=c,c=(e,n,i,r)=>(!l||!!l(e,n,i,r))&&a(e>=r&&n<=r+i.length?i.slice(e-r,n-r):t.doc.sliceString(e,n),t,e,n)),new eR(t.doc,e.unquoted,n,i,e.caseSensitive?void 0:e=>e.toLowerCase(),c)}class e1 extends eH{constructor(e){super(e)}nextMatch(e,t,n){let i=e0(this.spec,e,n,e.doc.length).nextOverlapping();if(i.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);i=e0(this.spec,e,0,n).nextOverlapping()}return i.done||i.value.from==t&&i.value.to==n?null:i.value}prevMatchInRange(e,t,n){for(let i=n;;){let n=Math.max(t,i-1e4-this.spec.unquoted.length),r=e0(this.spec,e,n,i),s=null;for(;!r.nextOverlapping().done;)s=r.value;if(s)return s;if(n==t)return null;i-=1e4}}prevMatch(e,t,n){let i=this.prevMatchInRange(e,0,t);return i||(i=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),i&&(i.from!=t||i.to!=n)?i:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=e0(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=e0(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function e2(e,t,n,i){var r,o,a;let l;return e.wholeWord&&(r=t.charCategorizer(t.selection.main.head),l=(e,t,n)=>!n[0].length||(r(e5(n.input,n.index))!=s.D0.Word||r(e3(n.input,n.index))!=s.D0.Word)&&(r(e3(n.input,n.index+n[0].length))!=s.D0.Word||r(e5(n.input,n.index+n[0].length))!=s.D0.Word)),e.test&&(o=e.test,a=l,l=(e,n,i)=>(!a||a(e,n,i))&&o(i[0],t,e,n)),new eq(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:l},n,i)}function e5(e,t){return e.slice((0,s.cp)(e,t,!1),t)}function e3(e,t){return e.slice(t,(0,s.cp)(e,t))}class e4 extends eH{nextMatch(e,t,n){let i=e2(this.spec,e,n,e.doc.length).next();return i.done&&(i=e2(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let r=Math.max(t,n-1e4*i),s=e2(this.spec,e,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==t||o.from>r+10))return o;if(r==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let t=n.length;t>0;t--){let i=+n.slice(0,t);if(i>0&&i<e.match.length)return e.match[i]+n.slice(t)}return t})}matchAll(e,t){let n=e2(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=e2(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}let e7=s.Py.define(),e9=s.Py.define(),e6=s.QQ.define({create:e=>new e8(th(e).create(),null),update(e,t){for(let n of t.effects)n.is(e7)?e=new e8(n.value.create(),e.panel):n.is(e9)&&(e=new e8(e.query,n.value?tc:null));return e},provide:e=>o.mH.from(e,e=>e.panel)});class e8{constructor(e,t){this.query=e,this.panel=t}}let te=o.p.mark({class:"cm-searchMatch"}),tt=o.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tn=o.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(e6))}update(e){let t=e.state.field(e6);(t!=e.startState.field(e6)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return o.p.none;let{view:n}=this,i=new s.f_;for(let t=0,r=n.visibleRanges,s=r.length;t<s;t++){let{from:o,to:a}=r[t];for(;t<s-1&&a>r[t+1].from-500;)a=r[++t].to;e.highlight(n.state,o,a,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);i.add(e,t,r?tt:te)})}return i.finish()}},{decorations:e=>e.decorations});function ti(e){return t=>{let n=t.state.field(e6,!1);return n&&n.query.spec.valid?e(t,n):tf(t)}}let tr=ti((e,{query:t})=>{let{to:n}=e.state.selection.main,i=t.nextMatch(e.state,n,n);if(!i)return!1;let r=s.jT.single(i.from,i.to),o=e.state.facet(eF);return e.dispatch({selection:r,effects:[tQ(e,i),o.scrollToMatch(r.main,e)],userEvent:"select.search"}),tu(e),!0}),ts=ti((e,{query:t})=>{let{state:n}=e,{from:i}=n.selection.main,r=t.prevMatch(n,i,i);if(!r)return!1;let o=s.jT.single(r.from,r.to),a=e.state.facet(eF);return e.dispatch({selection:o,effects:[tQ(e,r),a.scrollToMatch(o.main,e)],userEvent:"select.search"}),tu(e),!0}),to=ti((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:s.jT.create(n.map(e=>s.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),ta=ti((e,{query:t})=>{let{state:n}=e,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let a=t.nextMatch(n,i,i);if(!a)return!1;let l=a,c=[],h,O,u=[];l.precise?l.from==i&&l.to==r&&(O=n.toText(t.getReplacement(l)),c.push({from:l.from,to:l.to,insert:O}),l=t.nextMatch(n,l.from,l.to),u.push(o.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))):l=t.nextMatch(n,l.from,l.to);let f=e.state.changes(c);return l&&(h=s.jT.single(l.from,l.to).map(f),u.push(tQ(e,l)),u.push(n.facet(eF).scrollToMatch(h.main,e))),e.dispatch({changes:f,selection:h,effects:u,userEvent:"input.replace"}),!0}),tl=ti((e,{query:t})=>{if(e.state.readOnly)return!1;let n=[];for(let i of t.matchAll(e.state,1e9)){let{from:e,to:r,precise:s}=i;s&&n.push({from:e,to:r,insert:t.getReplacement(i)})}if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:o.tk.announce.of(i),userEvent:"input.replace.all"}),!0});function tc(e){return e.state.facet(eF).createPanel(e)}function th(e,t){var n,i,r,s,o;let a=e.selection.main,l=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!l)return t;let c=e.facet(eF);return new eK({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null==t?void 0:t.caseSensitive)&&void 0!==i?i:c.caseSensitive,literal:null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:c.literal,regexp:null!==(s=null==t?void 0:t.regexp)&&void 0!==s?s:c.regexp,wholeWord:null!==(o=null==t?void 0:t.wholeWord)&&void 0!==o?o:c.wholeWord})}function tO(e){let t=(0,o.Sd)(e,tc);return t&&t.dom.querySelector("[main-field]")}function tu(e){let t=tO(e);t&&t==e.root.activeElement&&t.select()}let tf=e=>{let t=e.state.field(e6,!1);if(t&&t.panel){let n=tO(e);if(n&&n!=e.root.activeElement){let i=th(e.state,t.query.spec);i.valid&&e.dispatch({effects:e7.of(i)}),n.focus(),n.select()}}else e.dispatch({effects:[e9.of(!0),t?e7.of(th(e.state,t.query.spec)):s.Py.appendConfig.of(tk)]});return!0},tp=e=>{let t=e.state.field(e6,!1);if(!t||!t.panel)return!1;let n=(0,o.Sd)(e,tc);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:e9.of(!1)}),!0},td=[{key:"Mod-f",run:tf,scope:"editor search-panel"},{key:"F3",run:tr,shift:ts,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:tr,shift:ts,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:tp,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,o=[],a=0;for(let t=new eR(e.doc,e.sliceDoc(i,r));!t.next().done;){if(o.length>1e3)return!1;t.value.from==i&&(a=o.length),o.push(s.jT.range(t.value.from,t.value.to))}return t(e.update({selection:s.jT.create(o,a),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let{state:t}=e,n=String(t.doc.lineAt(e.state.selection.main.head).number),{close:i,result:r}=(0,o.vC)(e,{label:t.phrase("Go to line"),input:{type:"text",name:"line",value:n},focus:!0,submitLabel:t.phrase("go")});return r.then(n=>{let r=n&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.elements.line.value);if(!r){e.dispatch({effects:i});return}let a=t.doc.lineAt(t.selection.main.head),[,l,c,h,O]=r,u=h?+h.slice(1):0,f=c?+c:a.number;if(c&&O){let e=f/100;l&&(e=e*("-"==l?-1:1)+a.number/t.doc.lines),f=Math.round(t.doc.lines*e)}else c&&l&&(f=f*("-"==l?-1:1)+a.number);let p=t.doc.line(Math.max(1,Math.min(t.doc.lines,f))),d=s.jT.cursor(p.from+Math.max(0,Math.min(u,p.length)));e.dispatch({effects:[i,o.tk.scrollIntoView(d.from,{y:"center"})],selection:d})}),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return eJ({state:e,dispatch:t});let i=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=i))return!1;let r=function(e,t){let{main:n,ranges:i}=e.selection,r=e.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let n=!1,r=new eR(e.doc,t,i[i.length-1].to);;)if(r.next(),r.done){if(n)return null;r=new eR(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),n=!0}else{if(n&&i.some(e=>e.from==r.value.from))continue;if(s){let t=e.wordAt(r.value.from);if(!t||t.from!=r.value.from||t.to!=r.value.to)continue}return r.value}}(e,i);return!!r&&(t(e.update({selection:e.selection.addRange(s.jT.range(r.from,r.to),!1),effects:o.tk.scrollIntoView(r.to)})),!0)},preventDefault:!0}];class tm{constructor(e){this.view=e;let t=this.query=e.state.field(e6).query.spec;function n(e,t,n){return(0,eA.Z)("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=(0,eA.Z)("input",{value:t.search,placeholder:tg(e,"Find"),"aria-label":tg(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=(0,eA.Z)("input",{value:t.replace,placeholder:tg(e,"Replace"),"aria-label":tg(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=(0,eA.Z)("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=(0,eA.Z)("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=(0,eA.Z)("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=(0,eA.Z)("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>tr(e),[tg(e,"next")]),n("prev",()=>ts(e),[tg(e,"previous")]),n("select",()=>to(e),[tg(e,"all")]),(0,eA.Z)("label",null,[this.caseField,tg(e,"match case")]),(0,eA.Z)("label",null,[this.reField,tg(e,"regexp")]),(0,eA.Z)("label",null,[this.wordField,tg(e,"by word")]),...e.state.readOnly?[]:[(0,eA.Z)("br"),this.replaceField,n("replace",()=>ta(e),[tg(e,"replace")]),n("replaceAll",()=>tl(e),[tg(e,"replace all")])],(0,eA.Z)("button",{name:"close",onclick:()=>tp(e),"aria-label":tg(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new eK({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:e7.of(e)}))}keydown(e){(0,o.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?ts:tr)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),ta(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(e7)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(eF).top}}function tg(e,t){return e.state.phrase(t)}let ty=/[\s\.,:;?!]/;function tQ(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),r=e.state.doc.lineAt(n).to,s=Math.max(i.from,t-30),a=Math.min(r,n+30),l=e.state.sliceDoc(s,a);if(s!=i.from){for(let e=0;e<30;e++)if(!ty.test(l[e+1])&&ty.test(l[e])){l=l.slice(e);break}}if(a!=r){for(let e=l.length-1;e>l.length-30;e--)if(!ty.test(l[e-1])&&ty.test(l[e])){l=l.slice(0,e);break}}return o.tk.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${i.number}.`)}let tS=o.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),tk=[e6,s.Wl.low(tn),tS];var tb=n(5224);class t${constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class tx{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=n.facet(tC).markerFilter;i&&(e=i(e,n));let r=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),a=new s.f_,l=[],c=0,h=n.doc.iter(),O=0,u=n.doc.length;for(let e=0;;){let t,n,i=e==r.length?null:r[e];if(!i&&!l.length)break;if(l.length)t=c,n=l.reduce((e,t)=>Math.min(e,t.to),i&&i.from>t?i.from:1e8);else{if((t=i.from)>u)break;n=i.to,l.push(i),e++}for(;e<r.length;){let i=r[e];if(i.from==t&&(i.to>i.from||i.to==t))l.push(i),e++,n=Math.min(i.to,n);else{n=Math.min(i.from,n);break}}n=Math.min(n,u);let s=!1;if(l.some(e=>e.from==t&&(e.to==n||n==u))&&!(s=t==n)&&n-t<10){let e=t-(O+h.value.length);e>0&&(h.next(e),O=t);for(let e=t;;){if(e>=n){s=!0;break}if(!h.lineBreak&&O+h.value.length>e)break;e=O+h.value.length,O+=h.value.length,h.next()}}let f=function(e){let t="hint",n=1;for(let r of e){var i;let e="error"==(i=r.severity)?4:"warning"==i?3:"info"==i?2:1;e>n&&(n=e,t=r.severity)}return t}(l);if(s)a.add(t,t,o.p.widget({widget:new tq(f),diagnostics:l.slice()}));else{let e=l.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");a.add(t,n,o.p.mark({class:"cm-lintRange cm-lintRange-"+f+e,diagnostics:l.slice(),inclusiveEnd:l.some(e=>e.to>n)}))}if((c=n)==u)break;for(let e=0;e<l.length;e++)l[e].to<=c&&l.splice(e--,1)}let f=a.finish();return new tx(f,t,tv(f))}}function tv(e,t=null,n=0){let i=null;return e.between(n,1e9,(e,n,{spec:r})=>{if(!(t&&0>r.diagnostics.indexOf(t))){if(i){if(0>r.diagnostics.indexOf(i.diagnostic))return!1;i=new t$(i.from,n,i.diagnostic)}else i=new t$(e,n,t||r.diagnostics[0])}}),i}function tw(e,t){let n=t.pos,i=t.end||n,r=e.state.facet(tC).hideOn(e,n,i);if(null!=r)return r;let s=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(tP))||e.changes.touchesRange(s.from,Math.max(s.to,i)))}let tP=s.Py.define(),tT=s.Py.define(),tZ=s.Py.define(),tX=s.QQ.define({create:()=>new tx(o.p.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),i=null,r=e.panel;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=tv(n,e.selected.diagnostic,r)||tv(n,null,r)}!n.size&&r&&t.state.facet(tC).autoPanel&&(r=null),e=new tx(n,r,i)}for(let n of t.effects)if(n.is(tP)){let i=t.state.facet(tC).autoPanel?n.value.length?tz.open:null:e.panel;e=tx.init(n.value,i,t.state)}else n.is(tT)?e=new tx(e.diagnostics,n.value?tz.open:null,e.selected):n.is(tZ)&&(e=new tx(e.diagnostics,e.panel,n.value));return e},provide:e=>[o.mH.from(e,e=>e.panel),o.tk.decorations.from(e,e=>e.diagnostics)]}),tj=o.p.mark({class:"cm-lintRange cm-lintRange-active"}),t_=e=>{let t=e.state.field(tX,!1);return!!t&&!!t.panel&&(e.dispatch({effects:tT.of(!1)}),!0)},tA=[{key:"Mod-Shift-m",run:e=>{var t,n;let i=e.state.field(tX,!1);i&&i.panel||e.dispatch({effects:(t=e.state,n=[tT.of(!0)],t.field(tX,!1)?n:n.concat(s.Py.appendConfig.of(tN)))});let r=(0,o.Sd)(e,tz.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(tX,!1);if(!t)return!1;let n=e.state.selection.main,i=tv(t.diagnostics,null,n.to+1);return!!(i||(i=tv(t.diagnostics,null,0))&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),(0,o.iH)(e,i.from,1,{tooltip:tW,until:e=>e.docChanged||e.newSelection.main.head<i.from||e.newSelection.main.head>i.to}),!0)}}],tC=s.r$.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...(0,s.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:tR,tooltipFilter:tR,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,i,r)=>e(n,i,r)||t(n,i,r):e:t,autoPanel:(e,t)=>e||t})})});function tR(e,t){return e?t?(n,i)=>t(e(n,i),i):e:t}function tE(e){let t=[];if(e)o:for(let{name:n}of e){for(let e=0;e<n.length;e++){let i=n[e];if(/[a-zA-Z]/.test(i)&&!t.some(e=>e.toLowerCase()==i.toLowerCase())){t.push(i);continue o}}t.push("")}return t}function tY(e,t,n){var i;let r=n?tE(t.actions):[];return(0,eA.Z)("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},(0,eA.Z)("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null===(i=t.actions)||void 0===i?void 0:i.map((n,i)=>{let s=!1,o=i=>{if(i.preventDefault(),s)return;s=!0;let r=tv(e.state.field(tX).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:a}=n,l=r[i]?a.indexOf(r[i]):-1,c=l<0?a:[a.slice(0,l),(0,eA.Z)("u",a.slice(l,l+1)),a.slice(l+1)],h=n.markClass?" "+n.markClass:"";return(0,eA.Z)("button",{type:"button",class:"cm-diagnosticAction"+h,onclick:o,onmousedown:o,"aria-label":` Action: ${a}${l<0?"":` (access key "${r[i]})"`}.`},c)}),t.source&&(0,eA.Z)("div",{class:"cm-diagnosticSource"},t.source))}class tq extends o.l9{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return(0,eA.Z)("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class tI{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=tY(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class tz{constructor(e){this.view=e,this.items=[],this.list=(0,eA.Z)("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(!t.ctrlKey&&!t.altKey&&!t.metaKey){if(27==t.keyCode)t_(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],i=tE(n.actions);for(let r=0;r<i.length;r++)if(i[r].toUpperCase().charCodeAt(0)==t.keyCode){let t=tv(this.view.state.field(tX).diagnostics,n);t&&n.actions[r].apply(e,t.from,t.to)}}t.preventDefault()}},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=(0,eA.Z)("div",{class:"cm-panel-lint"},this.list,(0,eA.Z)("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>t_(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(tX).selected;if(!e)return -1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return -1}update(){let{diagnostics:e,selected:t}=this.view.state.field(tX),n=0,i=!1,r=null,s=new Set;for(e.between(0,this.view.state.doc.length,(e,o,{spec:a})=>{for(let e of a.diagnostics){if(s.has(e))continue;s.add(e);let o=-1,a;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){o=t;break}o<0?(a=new tI(this.view,e),this.items.splice(n,0,a),i=!0):(a=this.items[o],o>n&&(this.items.splice(n,o-n),i=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),r=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++}});n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)i=!0,this.items.pop();0==this.items.length&&(this.items.push(new tI(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),r?(this.list.setAttribute("aria-activedescendant",r.id),this.view.requestMeasure({key:this,read:()=>({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=tv(this.view.state.field(tX).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:tZ.of(t)})}static open(e){return new tz(e)}}function tL(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}let tM=o.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:tL("#f11")},".cm-lintRange-warning":{backgroundImage:tL("orange")},".cm-lintRange-info":{backgroundImage:tL("#999")},".cm-lintRange-hint":{backgroundImage:tL("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});o.SJ;let tV=s.Py.define(),tW=(0,o.bF)(function(e,t,n){let{diagnostics:i}=e.state.field(tX),r,s=-1,o=-1;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:a})=>{if(t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t<i||n<0)))return r=a.diagnostics,s=e,o=i,!1});let a=e.state.facet(tC).tooltipFilter;return(r&&a&&(r=a(r,e.state)),r)?{pos:s,end:o,above:!0,create:()=>{var t,n;return{dom:(t=e,n=r,(0,eA.Z)("ul",{class:"cm-tooltip-lint"},n.map(e=>tY(t,e,!1))))}}}:null},{hideOn:tw}),tN=[tX,o.tk.decorations.compute([tX],e=>{let{selected:t,panel:n}=e.field(tX);return t&&n&&t.from!=t.to?o.p.set([tj.range(t.from,t.to)]):o.p.none}),tW,tM];var tG=function(e){void 0===e&&(e={});var t=e.crosshairCursor,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(tb.GA)),!1!==e.defaultKeymap&&(n=n.concat(ej)),!1!==e.searchKeymap&&(n=n.concat(td)),!1!==e.historyKeymap&&(n=n.concat(A)),!1!==e.foldKeymap&&(n=n.concat(a.e7)),!1!==e.completionKeymap&&(n=n.concat(tb.B1)),!1!==e.lintKeymap&&(n=n.concat(tA));var i=[];if(!1!==e.lineNumbers&&i.push((0,o.Eu)()),!1!==e.highlightActiveLineGutter&&i.push((0,o.HQ)()),!1!==e.highlightSpecialChars&&i.push((0,o.AE)()),!1!==e.history&&i.push(function(e={}){return[Q,y.of(e),o.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?k:"historyRedo"==e.inputType?b:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&i.push((0,a.mi)()),!1!==e.drawSelection&&i.push((0,o.Uw)()),!1!==e.dropCursor&&i.push((0,o.qr)()),!1!==e.allowMultipleSelections&&i.push(s.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&i.push((0,a.nY)()),!1!==e.syntaxHighlighting&&i.push((0,a.nF)(a.R_,{fallback:!0})),!1!==e.bracketMatching&&i.push((0,a.n$)()),!1!==e.closeBrackets&&i.push((0,tb.vQ)()),!1!==e.autocompletion&&i.push((0,tb.ys)()),!1!==e.rectangularSelection&&i.push((0,o.Zs)()),!1!==(void 0!==t&&t)&&i.push((0,o.S2)()),!1!==e.highlightActiveLine&&i.push((0,o.ZO)()),!1!==e.highlightSelectionMatches)i.push([eD,eB]);return e.tabSize&&"number"==typeof e.tabSize&&i.push(a.c.of(" ".repeat(e.tabSize))),i.concat([o.$f.of(n.flat())]).filter(Boolean)},tU=n(7429);let tB="#e06c75",tD="#abb2bf",tJ="#7d8799",tF="#d19a66",tK="#2c313a",tH="#282c34",t0="#353a42",t1="#528bff",t2=o.tk.theme({"&":{color:tD,backgroundColor:tH},".cm-content":{caretColor:t1},".cm-cursor, .cm-dropCursor":{borderLeftColor:t1},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:tD},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:tH,color:tJ,border:"none"},".cm-activeLineGutter":{backgroundColor:tK},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:t0},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:t0,borderBottomColor:t0},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:tK,color:tD}}},{dark:!0}),t5=a.Qf.define([{tag:tU.pJ.keyword,color:"#c678dd"},{tag:[tU.pJ.name,tU.pJ.deleted,tU.pJ.character,tU.pJ.propertyName,tU.pJ.macroName],color:tB},{tag:[tU.pJ.function(tU.pJ.variableName),tU.pJ.labelName],color:"#61afef"},{tag:[tU.pJ.color,tU.pJ.constant(tU.pJ.name),tU.pJ.standard(tU.pJ.name)],color:tF},{tag:[tU.pJ.definition(tU.pJ.name),tU.pJ.separator],color:tD},{tag:[tU.pJ.typeName,tU.pJ.className,tU.pJ.number,tU.pJ.changed,tU.pJ.annotation,tU.pJ.modifier,tU.pJ.self,tU.pJ.namespace],color:"#e5c07b"},{tag:[tU.pJ.operator,tU.pJ.operatorKeyword,tU.pJ.url,tU.pJ.escape,tU.pJ.regexp,tU.pJ.link,tU.pJ.special(tU.pJ.string)],color:"#56b6c2"},{tag:[tU.pJ.meta,tU.pJ.comment],color:tJ},{tag:tU.pJ.strong,fontWeight:"bold"},{tag:tU.pJ.emphasis,fontStyle:"italic"},{tag:tU.pJ.strikethrough,textDecoration:"line-through"},{tag:tU.pJ.link,color:tJ,textDecoration:"underline"},{tag:tU.pJ.heading,fontWeight:"bold",color:tB},{tag:[tU.pJ.atom,tU.pJ.bool,tU.pJ.special(tU.pJ.variableName)],color:tF},{tag:[tU.pJ.processingInstruction,tU.pJ.string,tU.pJ.inserted],color:"#98c379"},{tag:tU.pJ.invalid,color:"#ffffff"}]),t3=[t2,(0,a.nF)(t5)];var t4=o.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),t7=function(e){void 0===e&&(e={});var t=e,n=t.indentWithTab,i=t.editable,r=t.readOnly,a=t.theme,l=void 0===a?"light":a,c=t.placeholder,h=void 0===c?"":c,O=t.basicSetup,u=void 0===O||O,f=[];switch((void 0===n||n)&&f.unshift(o.$f.of([e_])),u&&("boolean"==typeof u?f.unshift(tG()):f.unshift(tG(u))),h&&f.unshift((0,o.W$)(h)),l){case"light":f.push(t4);break;case"dark":f.push(t3);break;case"none":break;default:f.push(l)}return!1===(void 0===i||i)&&f.push(o.tk.editable.of(!1)),void 0!==r&&r&&f.push(s.yy.readOnly.of(!0)),[...f]},t9=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)});class t6{constructor(e,t){this.timeLeftMS=void 0,this.timeoutMS=void 0,this.isCancelled=!1,this.isTimeExhausted=!1,this.callbacks=[],this.timeLeftMS=t,this.timeoutMS=t,this.callbacks.push(e)}tick(){if(!this.isCancelled&&!this.isTimeExhausted&&(this.timeLeftMS--,this.timeLeftMS<=0)){this.isTimeExhausted=!0;var e=this.callbacks.slice();this.callbacks.length=0,e.forEach(e=>{try{e()}catch(e){console.error("TimeoutLatch callback error:",e)}})}}cancel(){this.isCancelled=!0,this.callbacks.length=0}reset(){this.timeLeftMS=this.timeoutMS,this.isCancelled=!1,this.isTimeExhausted=!1}get isDone(){return this.isCancelled||this.isTimeExhausted}}class t8{constructor(){this.interval=null,this.latches=new Set}add(e){this.latches.add(e),this.start()}remove(e){this.latches.delete(e),0===this.latches.size&&this.stop()}start(){null===this.interval&&(this.interval=setInterval(()=>{this.latches.forEach(e=>{e.tick(),e.isDone&&this.remove(e)})},1))}stop(){null!==this.interval&&(clearInterval(this.interval),this.interval=null)}}var ne=null,nt=()=>"undefined"==typeof window?new t8:(ne||(ne=new t8),ne),nn=s.q6.define(),ni=[],nr=n(7573),ns=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],no=(0,r.forwardRef)((e,t)=>{var n,a,l,c,h,O,u,f,p,d,m,g,y,Q,S,k,b,$,x,v,w,P,T,Z,X,j,_,A,C,R,E,Y,q,I,z,L,M,V,W,N,G,U,B,D,J,F,K,H,ee,et=e.className,en=e.value,ei=void 0===en?"":en,er=e.selection,es=e.extensions,eo=e.onChange,ea=e.onStatistics,el=e.onCreateEditor,ec=e.onUpdate,eh=e.autoFocus,eO=e.theme,eu=void 0===eO?"light":eO,ef=e.height,ep=e.minHeight,ed=e.maxHeight,em=e.width,eg=e.minWidth,ey=e.maxWidth,eQ=e.basicSetup,eS=e.placeholder,ek=e.indentWithTab,eb=e.editable,e$=e.readOnly,ex=e.root,ev=e.initialState,ew=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,ns),eP=(0,r.useRef)(null),eT=(a=(n={root:ex,value:ei,autoFocus:eh,theme:eu,height:ef,minHeight:ep,maxHeight:ed,width:em,minWidth:eg,maxWidth:ey,basicSetup:eQ,placeholder:eS,indentWithTab:ek,editable:eb,readOnly:e$,selection:er,onChange:eo,onStatistics:ea,onCreateEditor:el,onUpdate:ec,extensions:void 0===es?[]:es,initialState:ev}).value,l=n.selection,c=n.onChange,h=n.onStatistics,O=n.onCreateEditor,u=n.onUpdate,p=void 0===(f=n.extensions)?ni:f,d=n.autoFocus,g=void 0===(m=n.theme)?"light":m,Q=void 0===(y=n.height)?null:y,k=void 0===(S=n.minHeight)?null:S,$=void 0===(b=n.maxHeight)?null:b,v=void 0===(x=n.width)?null:x,P=void 0===(w=n.minWidth)?null:w,Z=void 0===(T=n.maxWidth)?null:T,j=void 0===(X=n.placeholder)?"":X,A=void 0===(_=n.editable)||_,R=void 0!==(C=n.readOnly)&&C,Y=void 0===(E=n.indentWithTab)||E,I=void 0===(q=n.basicSetup)||q,z=n.root,L=n.initialState,V=(M=(0,r.useState)())[0],W=M[1],G=(N=(0,r.useState)())[0],U=N[1],D=(B=(0,r.useState)())[0],J=B[1],F=(0,r.useState)(()=>({current:null}))[0],K=(0,r.useState)(()=>({current:null}))[0],H=o.tk.theme({"&":{height:Q,minHeight:k,maxHeight:$,width:v,minWidth:P,maxWidth:Z},"& .cm-scroller":{height:"100% !important"}}),ee=[o.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof c&&!e.transactions.some(e=>e.annotation(nn))&&(F.current?F.current.reset():(F.current=new t6(()=>{if(K.current){var e=K.current;K.current=null,e()}F.current=null},200),nt().add(F.current)),c(e.state.doc.toString(),e)),h&&h(t9(e))}),H,...t7({theme:g,editable:A,readOnly:R,placeholder:j,indentWithTab:Y,basicSetup:I})],u&&"function"==typeof u&&ee.push(o.tk.updateListener.of(u)),ee=ee.concat(p),(0,r.useLayoutEffect)(()=>{if(V&&!D){var e={doc:a,selection:l,extensions:ee},t=L?s.yy.fromJSON(L.json,e,L.fields):s.yy.create(e);if(J(t),!G){var n=new o.tk({state:t,parent:V,root:z});U(n),O&&O(n,t)}}return()=>{G&&(J(void 0),U(void 0))}},[V,D]),(0,r.useEffect)(()=>{n.container&&W(n.container)},[n.container]),(0,r.useEffect)(()=>()=>{G&&(G.destroy(),U(void 0)),F.current&&(F.current.cancel(),F.current=null)},[G]),(0,r.useEffect)(()=>{d&&G&&G.focus()},[d,G]),(0,r.useEffect)(()=>{G&&G.dispatch({effects:s.Py.reconfigure.of(ee)})},[g,p,Q,k,$,v,P,Z,j,A,R,Y,I,c,u]),(0,r.useEffect)(()=>{if(void 0!==a){var e=G?G.state.doc.toString():"";if(G&&a!==e){var t=F.current&&!F.current.isDone,n=()=>{G&&a!==G.state.doc.toString()&&G.dispatch({changes:{from:0,to:G.state.doc.toString().length,insert:a||""},annotations:[nn.of(!0)]})};t?K.current=n:n()}}},[a,G]),{state:D,setState:J,view:G,setView:U,container:V,setContainer:W}),eZ=eT.state,eX=eT.view,ej=eT.container,e_=eT.setContainer;(0,r.useImperativeHandle)(t,()=>({editor:eP.current,state:eZ,view:eX}),[eP,ej,eZ,eX]);var eA=(0,r.useCallback)(e=>{eP.current=e,e_(e)},[e_]);if("string"!=typeof ei)throw Error("value must be typeof string but got "+typeof ei);var eC="string"==typeof eu?"cm-theme-"+eu:"cm-theme";return(0,nr.jsx)("div",i({ref:eA,className:""+eC+(et?" "+et:"")},ew))});no.displayName="CodeMirror";var na=no},1979:function(e,t,n){function i(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;t<arguments.length;t++)!function e(t,n){if("string"==typeof n)t.appendChild(document.createTextNode(n));else if(null==n);else if(null!=n.nodeType)t.appendChild(n);else if(Array.isArray(n))for(var i=0;i<n.length;i++)e(t,n[i]);else throw RangeError("Unsupported child node: "+n)}(e,arguments[t]);return e}n.d(t,{Z:function(){return i}})},4596:function(e,t,n){n.d(t,{V:function(){return o}});let i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,r,s,o){let a=[],l=/^@(\w+)\b/.exec(t[0]),c=l&&"keyframes"==l[1];if(l&&null==r)return s.push(t[0]+";");for(let n in r){let o=r[n];if(/&/.test(n))e(n.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),o,s);else if(o&&"object"==typeof o){if(!l)throw RangeError("The value of a property ("+n+") should be a primitive value.");e(i(n),o,a,c)}else null!=o&&a.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+o+";")}(a.length||c)&&s.push((!n||l||o?t:t.map(n)).join(", ")+" {"+a.join(" ")+"}")}(i(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[i]||1;return s[i]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let i=e[r],s=n&&n.nonce;i?s&&i.setNonce(s):i=new l(e,s),i.mount(Array.isArray(t)?t:[t],e)}}let a=new Map;class l{constructor(e,t){let n=e.ownerDocument||e,i=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let t=a.get(n);if(t)return e[r]=t;this.sheet=new i.CSSStyleSheet,a.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[r]=this}mount(e,t){let n=this.sheet,i=0,r=0;for(let t=0;t<e.length;t++){let s=e[t],o=this.modules.indexOf(s);if(o<r&&o>-1&&(this.modules.splice(o,1),r--,o=-1),-1==o){if(this.modules.splice(r++,0,s),n)for(let e=0;e<s.rules.length;e++)n.insertRule(s.rules[e],i++)}else{for(;r<o;)i+=this.modules[r++].rules.length;i+=s.rules.length,r++}}if(n)0>t.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},2034:function(e,t,n){n.d(t,{YG:function(){return c},uY:function(){return r},ue:function(){return i}});for(var i={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),o="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)i[48+a]=i[96+a]=String(a);for(var a=1;a<=24;a++)i[a+111]="F"+a;for(var a=65;a<=90;a++)i[a]=String.fromCharCode(a+32),r[a]=String.fromCharCode(a);for(var l in i)r.hasOwnProperty(l)||(r[l]=i[l]);function c(e){var t=!(s&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||o&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},3175:function(e,t,n){let i;n.d(t,{Qc:function(){return tD}});let r=Symbol.for("yaml.alias"),s=Symbol.for("yaml.document"),o=Symbol.for("yaml.map"),a=Symbol.for("yaml.pair"),l=Symbol.for("yaml.scalar"),c=Symbol.for("yaml.seq"),h=Symbol.for("yaml.node.type"),O=e=>!!e&&"object"==typeof e&&e[h]===r,u=e=>!!e&&"object"==typeof e&&e[h]===s,f=e=>!!e&&"object"==typeof e&&e[h]===o,p=e=>!!e&&"object"==typeof e&&e[h]===a,d=e=>!!e&&"object"==typeof e&&e[h]===l,m=e=>!!e&&"object"==typeof e&&e[h]===c;function g(e){if(e&&"object"==typeof e)switch(e[h]){case o:case c:return!0}return!1}function y(e){if(e&&"object"==typeof e)switch(e[h]){case r:case o:case l:case c:return!0}return!1}let Q=e=>(d(e)||g(e))&&!!e.anchor,S=Symbol("break visit"),k=Symbol("skip children"),b=Symbol("remove node");function $(e,t){let n=P(t);u(e)?x(null,e.contents,n,Object.freeze([e]))===b&&(e.contents=null):x(null,e,n,Object.freeze([]))}function x(e,t,n,i){let r=T(e,t,n,i);if(y(r)||p(r))return Z(e,i,r),x(e,r,n,i);if("symbol"!=typeof r){if(g(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){let r=x(e,t.items[e],n,i);if("number"==typeof r)e=r-1;else{if(r===S)return S;r===b&&(t.items.splice(e,1),e-=1)}}}else if(p(t)){i=Object.freeze(i.concat(t));let e=x("key",t.key,n,i);if(e===S)return S;e===b&&(t.key=null);let r=x("value",t.value,n,i);if(r===S)return S;r===b&&(t.value=null)}}return r}async function v(e,t){let n=P(t);u(e)?await w(null,e.contents,n,Object.freeze([e]))===b&&(e.contents=null):await w(null,e,n,Object.freeze([]))}async function w(e,t,n,i){let r=await T(e,t,n,i);if(y(r)||p(r))return Z(e,i,r),w(e,r,n,i);if("symbol"!=typeof r){if(g(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){let r=await w(e,t.items[e],n,i);if("number"==typeof r)e=r-1;else{if(r===S)return S;r===b&&(t.items.splice(e,1),e-=1)}}}else if(p(t)){i=Object.freeze(i.concat(t));let e=await w("key",t.key,n,i);if(e===S)return S;e===b&&(t.key=null);let r=await w("value",t.value,n,i);if(r===S)return S;r===b&&(t.value=null)}}return r}function P(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function T(e,t,n,i){return"function"==typeof n?n(e,t,i):f(t)?n.Map?.(e,t,i):m(t)?n.Seq?.(e,t,i):p(t)?n.Pair?.(e,t,i):d(t)?n.Scalar?.(e,t,i):O(t)?n.Alias?.(e,t,i):void 0}function Z(e,t,n){let i=t[t.length-1];if(g(i))i.items[e]=n;else if(p(i))"key"===e?i.key=n:i.value=n;else if(u(i))i.contents=n;else{let e=O(i)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}$.BREAK=S,$.SKIP=k,$.REMOVE=b,v.BREAK=S,v.SKIP=k,v.REMOVE=b;let X={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},j=e=>e.replace(/[!,[\]{}]/g,e=>X[e]);class _{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},_.defaultYaml,e),this.tags=Object.assign({},_.defaultTags,t)}clone(){let e=new _(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let 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)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:_.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},_.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,i]=n;return this.tags[e]=i,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!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]){let n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);let r=this.tags[n];if(r)try{return r+decodeURIComponent(i)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+j(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t;let n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);if(e&&i.length>0&&y(e.contents)){let n={};$(e.contents,(e,t)=>{y(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[r,s]of i)("!!"!==r||"tag:yaml.org,2002:"!==s)&&(!e||t.some(e=>e.startsWith(s)))&&n.push(`%TAG ${r} ${s}`);return n.join("\n")}}function A(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function C(e){let t=new Set;return $(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function R(e,t){for(let n=1;;++n){let i=`${e}${n}`;if(!t.has(i))return i}}function E(e,t,n,i){if(i&&"object"==typeof i){if(Array.isArray(i))for(let t=0,n=i.length;t<n;++t){let n=i[t],r=E(e,i,String(t),n);void 0===r?delete i[t]:r!==n&&(i[t]=r)}else if(i instanceof Map)for(let t of Array.from(i.keys())){let n=i.get(t),r=E(e,i,t,n);void 0===r?i.delete(t):r!==n&&i.set(t,r)}else if(i instanceof Set)for(let t of Array.from(i)){let n=E(e,i,t,t);void 0===n?i.delete(t):n!==t&&(i.delete(t),i.add(n))}else for(let[t,n]of Object.entries(i)){let r=E(e,i,t,n);void 0===r?delete i[t]:r!==n&&(i[t]=r)}}return e.call(t,n,i)}function Y(e,t,n){if(Array.isArray(e))return e.map((e,t)=>Y(e,String(t),n));if(e&&"function"==typeof e.toJSON){if(!n||!Q(e))return e.toJSON(t,n);let i={aliasCount:0,count:1,res:void 0};n.anchors.set(e,i),n.onCreate=e=>{i.res=e,delete n.onCreate};let r=e.toJSON(t,n);return n.onCreate&&n.onCreate(r),r}return"bigint"!=typeof e||n?.keep?e:Number(e)}_.defaultYaml={explicit:!1,version:"1.2"},_.defaultTags={"!!":"tag:yaml.org,2002:"};class q{constructor(e){Object.defineProperty(this,h,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:i,reviver:r}={}){if(!u(e))throw TypeError("A document argument is required");let s={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=Y(this,"",s);if("function"==typeof i)for(let{count:e,res:t}of s.anchors.values())i(t,e);return"function"==typeof r?E(r,{"":o},"",o):o}}class I extends q{constructor(e){super(r),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let n,i;if(t?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let r of(t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],$(e,{Node:(e,t)=>{(O(t)||Q(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n)),n)){if(r===this)break;r.anchor===this.source&&(i=r)}return i}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:i,maxAliasCount:r}=t,s=this.resolve(i,t);if(!s)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let o=n.get(s);if(o||(Y(s,null,t),o=n.get(s)),o?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(r>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=function e(t,n,i){if(O(n)){let e=n.resolve(t),r=i&&e&&i.get(e);return r?r.count*r.aliasCount:0}if(g(n)){let r=0;for(let s of n.items){let n=e(t,s,i);n>r&&(r=n)}return r}return p(n)?Math.max(e(t,n.key,i),e(t,n.value,i)):1}(i,s,n)),o.count*o.aliasCount>r))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return o.res}toString(e,t,n){let i=`*${this.source}`;if(e){if(A(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${i} `}return i}}let z=e=>!e||"function"!=typeof e&&"object"!=typeof e;class L extends q{constructor(e){super(l),this.value=e}toJSON(e,t){return t?.keep?this.value:Y(this.value,e,t)}toString(){return String(this.value)}}function M(e,t,n){let i;if(u(e)&&(e=e.contents),y(e))return e;if(p(e)){let t=n.schema[o].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:s,onTagObj:a,schema:l,sourceObjects:h}=n;if(r&&e&&"object"==typeof e){if(i=h.get(e))return i.anchor??(i.anchor=s(e)),new I(i.anchor);i={anchor:null,node:null},h.set(e,i)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let O=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),i=e.find(e=>!e.format)??e[0];if(!i)throw Error(`Tag ${t} not found`);return i}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,l.tags);if(!O){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new L(e);return i&&(i.node=t),t}O=e instanceof Map?l[o]:Symbol.iterator in Object(e)?l[c]:l[o]}a&&(a(O),delete n.onTagObj);let f=O?.createNode?O.createNode(n.schema,e,n):"function"==typeof O?.nodeClass?.from?O.nodeClass.from(n.schema,e,n):new L(e);return t?f.tag=t:O.default||(f.tag=O.tag),i&&(i.node=f),f}function V(e,t,n){let i=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=i,i=e}else i=new Map([[n,i]])}return M(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}L.BLOCK_FOLDED="BLOCK_FOLDED",L.BLOCK_LITERAL="BLOCK_LITERAL",L.PLAIN="PLAIN",L.QUOTE_DOUBLE="QUOTE_DOUBLE",L.QUOTE_SINGLE="QUOTE_SINGLE";let W=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class N extends q{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>y(t)||p(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(W(e))this.add(t);else{let[n,...i]=e,r=this.get(n,!0);if(g(r))r.addIn(i,t);else if(void 0===r&&this.schema)this.set(n,V(this.schema,i,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let i=this.get(t,!0);if(g(i))return i.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...i]=e,r=this.get(n,!0);return 0===i.length?!t&&d(r)?r.value:r:g(r)?r.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!p(t))return!1;let n=t.value;return null==n||e&&d(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let i=this.get(t,!0);return!!g(i)&&i.hasIn(n)}setIn(e,t){let[n,...i]=e;if(0===i.length)this.set(n,t);else{let e=this.get(n,!0);if(g(e))e.setIn(i,t);else if(void 0===e&&this.schema)this.set(n,V(this.schema,i,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}}let G=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function U(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let B=(e,t,n)=>e.endsWith("\n")?U(n,t):n.includes("\n")?"\n"+U(n,t):(e.endsWith(" ")?"":" ")+n,D="flow",J="block",F="quoted";function K(e,t,n="flow",{indentAtStart:i,lineWidth:r=80,minContentWidth:s=20,onFold:o,onOverflow:a}={}){let l,c,h;if(!r||r<0)return e;r<s&&(s=0);let O=Math.max(1+s,1+r-t.length);if(e.length<=O)return e;let u=[],f={},p=r-t.length;"number"==typeof i&&(i>r-Math.max(2,s)?u.push(0):p=r-i);let d=!1,m=-1,g=-1,y=-1;for(n===J&&-1!==(m=H(e,m,t.length))&&(p=m+O);h=e[m+=1];){if(n===F&&"\\"===h){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===h)n===J&&(m=H(e,m,t.length)),p=m+t.length+O,l=void 0;else{if(" "===h&&c&&" "!==c&&"\n"!==c&&" "!==c){let t=e[m+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(l=m)}if(m>=p){if(l)u.push(l),p=l+O,l=void 0;else if(n===F){for(;" "===c||" "===c;)c=h,h=e[m+=1],d=!0;let t=m>y+1?m-2:g-1;if(f[t])return e;u.push(t),f[t]=!0,p=t+O,l=void 0}else d=!0}}c=h}if(d&&a&&a(),0===u.length)return e;o&&o();let Q=e.slice(0,u[0]);for(let i=0;i<u.length;++i){let r=u[i],s=u[i+1]||e.length;0===r?Q=`
2
+ ${t}${e.slice(0,s)}`:(n===F&&f[r]&&(Q+=`${e[r]}\\`),Q+=`
3
+ ${t}${e.slice(r+1,s)}`)}return Q}function H(e,t,n){let i=t,r=t+1,s=e[r];for(;" "===s||" "===s;)if(t<r+n)s=e[++t];else{do s=e[++t];while(s&&"\n"!==s);i=t,s=e[r=t+1]}return i}let ee=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),et=e=>/^(%|---|\.\.\.)/m.test(e);function en(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:i}=t,r=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(et(e)?" ":""),o="",a=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(o+=n.slice(a,e)+"\\ ",e+=1,a=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{o+=n.slice(a,e);let t=n.substr(e+2,4);switch(t){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:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=n.substr(e,6)}e+=5,a=e+1}break;case"n":if(i||'"'===n[e+2]||n.length<r)e+=1;else{for(o+=n.slice(a,e)+"\n\n";"\\"===n[e+2]&&"n"===n[e+3]&&'"'!==n[e+4];)o+="\n",e+=2;o+=s," "===n[e+2]&&(o+="\\"),e+=1,a=e+1}break;default:e+=1}return o=a?o+n.slice(a):n,i?o:K(o,s,F,ee(t,!1))}function ei(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return en(e,t);let n=t.indent||(et(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
4
+ ${n}`)+"'";return t.implicitKey?i:K(i,n,D,ee(t,!1))}function er(e,t){let n;let{singleQuote:i}=t.options;if(!1===i)n=en;else{let t=e.includes('"'),r=e.includes("'");n=t&&!r?ei:r&&!t?en:i?ei:en}return n(e,t)}try{i=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{i=/\n+(?!\n|$)/g}function es({comment:e,type:t,value:n},r,s,o){let a,l,c;let{blockQuote:h,commentString:O,lineWidth:u}=r.options;if(!h||/\n[\t ]+$/.test(n))return er(n,r);let f=r.indent||(r.forceBlockIndent||et(n)?" ":""),p="literal"===h||"folded"!==h&&t!==L.BLOCK_FOLDED&&(t===L.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;let i=t-n,r=e.length;if(r<=i)return!1;for(let t=0,n=0;t<r;++t)if("\n"===e[t]){if(t-n>i)return!0;if(r-(n=t+1)<=i)return!1}return!0}(n,u,f.length));if(!n)return p?"|\n":">\n";for(l=n.length;l>0;--l){let e=n[l-1];if("\n"!==e&&" "!==e&&" "!==e)break}let d=n.substring(l),m=d.indexOf("\n");-1===m?a="-":n===d||m!==d.length-1?(a="+",o&&o()):a="",d&&(n=n.slice(0,-d.length),"\n"===d[d.length-1]&&(d=d.slice(0,-1)),d=d.replace(i,`$&${f}`));let g=!1,y=-1;for(c=0;c<n.length;++c){let e=n[c];if(" "===e)g=!0;else if("\n"===e)y=c;else break}let Q=n.substring(0,y<c?y+1:c);Q&&(n=n.substring(Q.length),Q=Q.replace(/\n+/g,`$&${f}`));let S=f?"2":"1",k=(g?S:"")+a;if(e&&(k+=" "+O(e.replace(/ ?[\r\n]+/g," ")),s&&s()),!p){let e=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${f}`),i=!1,s=ee(r,!0);"folded"!==h&&t!==L.BLOCK_FOLDED&&(s.onOverflow=()=>{i=!0});let o=K(`${Q}${e}${d}`,f,J,s);if(!i)return`>${k}
5
+ ${f}${o}`}return n=n.replace(/\n+/g,`$&${f}`),`|${k}
6
+ ${f}${Q}${n}${d}`}function eo(e,t,n,i){let{implicitKey:r,inFlow:s}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:a}=e;a!==L.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=L.QUOTE_DOUBLE);let l=e=>{switch(e){case L.BLOCK_FOLDED:case L.BLOCK_LITERAL:return r||s?er(o.value,t):es(o,t,n,i);case L.QUOTE_DOUBLE:return en(o.value,t);case L.QUOTE_SINGLE:return ei(o.value,t);case L.PLAIN:return function(e,t,n,i){let{type:r,value:s}=e,{actualString:o,implicitKey:a,indent:l,indentStep:c,inFlow:h}=t;if(a&&s.includes("\n")||h&&/[[\]{},]/.test(s))return er(s,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return a||h||!s.includes("\n")?er(s,t):es(e,t,n,i);if(!a&&!h&&r!==L.PLAIN&&s.includes("\n"))return es(e,t,n,i);if(et(s)){if(""===l)return t.forceBlockIndent=!0,es(e,t,n,i);if(a&&l===c)return er(s,t)}let O=s.replace(/\n+/g,`$&
7
+ ${l}`);if(o){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(O),{compat:n,tags:i}=t.doc.schema;if(i.some(e)||n?.some(e))return er(s,t)}return a?O:K(O,l,D,ee(t,!1))}(o,t,n,i);default:return null}},c=l(a);if(null===c){let{defaultKeyType:e,defaultStringType:n}=t.options,i=r&&e||n;if(null===(c=l(i)))throw Error(`Unsupported default string type ${i}`)}return c}function ea(e,t){let n;let i=Object.assign({blockQuote:!0,commentString:G,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},e.schema.toStringOptions,t);switch(i.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:i.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof i.indent?" ".repeat(i.indent):" ",inFlow:n,options:i}}function el(e,t,n,i){let r;if(p(e))return e.toString(t,n,i);if(O(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s=y(e)?e:t.doc.createNode(e,{onTagObj:e=>r=e});r??(r=function(e,t){let n,i;if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}if(d(t)){n=t.value;let r=e.filter(e=>e.identify?.(n));if(r.length>1){let e=r.filter(e=>e.test);e.length>0&&(r=e)}i=r.find(e=>e.format===t.format)??r.find(e=>!e.format)}else n=t,i=e.find(e=>e.nodeClass&&n instanceof e.nodeClass);if(!i){let e=n?.constructor?.name??(null===n?"null":typeof n);throw Error(`Tag not resolved for ${e} value`)}return i}(t.doc.schema.tags,s));let o=function(e,t,{anchors:n,doc:i}){if(!i.directives)return"";let r=[],s=(d(e)||g(e))&&e.anchor;s&&A(s)&&(n.add(s),r.push(`&${s}`));let o=e.tag??(t.default?null:t.tag);return o&&r.push(i.directives.tagString(o)),r.join(" ")}(s,r,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let a="function"==typeof r.stringify?r.stringify(s,t,n,i):d(s)?eo(s,t,n,i):s.toString(t,n,i);return o?d(s)||"{"===a[0]||"["===a[0]?`${o} ${a}`:`${o}
8
+ ${t.indent}${a}`:a}function ec(e,t){("debug"===e||"warn"===e)&&console.warn(t)}let eh={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new L(Symbol("<<")),{addToJSMap:eu}),stringify:()=>"<<"},eO=(e,t)=>(eh.identify(t)||d(t)&&(!t.type||t.type===L.PLAIN)&&eh.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===eh.tag&&e.default);function eu(e,t,n){let i=ep(e,n);if(m(i))for(let n of i.items)ef(e,t,n);else if(Array.isArray(i))for(let n of i)ef(e,t,n);else ef(e,t,i)}function ef(e,t,n){let i=ep(e,n);if(!f(i))throw Error("Merge sources must be maps or map aliases");for(let[n,r]of i.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,r):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:r,writable:!0,enumerable:!0,configurable:!0});return t}function ep(e,t){return e&&O(t)?t.resolve(e.doc,e):t}function ed(e,t,{key:n,value:i}){if(y(n)&&n.addToJSMap)n.addToJSMap(e,t,i);else if(eO(e,n))eu(e,t,i);else{let r=Y(n,"",e);if(t instanceof Map)t.set(r,Y(i,r,e));else if(t instanceof Set)t.add(r);else{let s=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(y(e)&&n?.doc){let t=ea(n.doc,{});for(let e of(t.anchors=new Set,n.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let i=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(i);e.length>40&&(e=e.substring(0,36)+'..."'),ec(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}(n,r,e),o=Y(i,s,e);s in t?Object.defineProperty(t,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[s]=o}}return t}function em(e,t,n){return new eg(M(e,void 0,n),M(t,void 0,n))}class eg{constructor(e,t=null){Object.defineProperty(this,h,{value:a}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return y(t)&&(t=t.clone(e)),y(n)&&(n=n.clone(e)),new eg(t,n)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return ed(t,n,this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,i,r){let s,o,a;let{allNullValues:l,doc:c,indent:h,indentStep:O,options:{commentString:u,indentSeq:f,simpleKeys:p}}=n,Q=y(e)&&e.comment||null;if(p){if(Q)throw Error("With simple keys, key nodes cannot have comments");if(g(e)||!y(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let S=!p&&(!e||Q&&null==t&&!n.inFlow||g(e)||(d(e)?e.type===L.BLOCK_FOLDED||e.type===L.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!S&&(p||!l),indent:h+O});let k=!1,b=!1,$=el(e,n,()=>k=!0,()=>b=!0);if(!S&&!n.inFlow&&$.length>1024){if(p)throw Error("With simple keys, single line scalar must not span more than 1024 characters");S=!0}if(n.inFlow){if(l||null==t)return k&&i&&i(),""===$?"?":S?`? ${$}`:$}else if(l&&!p||null==t&&S)return $=`? ${$}`,Q&&!k?$+=B($,n.indent,u(Q)):b&&r&&r(),$;k&&(Q=null),S?(Q&&($+=B($,n.indent,u(Q))),$=`? ${$}
9
+ ${h}:`):($=`${$}:`,Q&&($+=B($,n.indent,u(Q)))),y(t)?(s=!!t.spaceBefore,o=t.commentBefore,a=t.comment):(s=!1,o=null,a=null,t&&"object"==typeof t&&(t=c.createNode(t))),n.implicitKey=!1,!S&&!Q&&d(t)&&(n.indentAtStart=$.length+1),b=!1,!(!f&&O.length>=2&&!n.inFlow&&!S&&m(t))||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let x=!1,v=el(t,n,()=>x=!0,()=>b=!0),w=" ";if(Q||s||o){if(w=s?"\n":"",o){let e=u(o);w+=`
10
+ ${U(e,n.indent)}`}""!==v||n.inFlow?w+=`
11
+ ${n.indent}`:"\n"===w&&a&&(w="\n\n")}else if(!S&&g(t)){let e=v[0],i=v.indexOf("\n"),r=-1!==i,s=n.inFlow??t.flow??0===t.items.length;if(r||!s){let t=!1;if(r&&("&"===e||"!"===e)){let n=v.indexOf(" ");"&"===e&&-1!==n&&n<i&&"!"===v[n+1]&&(n=v.indexOf(" ",n+1)),(-1===n||i<n)&&(t=!0)}t||(w=`
12
+ ${n.indent}`)}}else(""===v||"\n"===v[0])&&(w="");return $+=w+v,n.inFlow?x&&i&&i():a&&!x?$+=B($,n.indent,u(a)):b&&r&&r(),$}(this,e,t,n):JSON.stringify(this)}}function ey(e,t,n){return(t.inFlow??e.flow?function({items:e},t,{flowChars:n,itemIndent:i}){let{indent:r,indentStep:s,flowCollectionPadding:o,options:{commentString:a}}=t,l=Object.assign({},t,{indent:i+=s,inFlow:!0,type:null}),c=!1,h=0,O=[];for(let n=0;n<e.length;++n){let r=e[n],s=null;if(y(r))r.spaceBefore&&O.push(""),eQ(t,O,r.commentBefore,!1),r.comment&&(s=r.comment);else if(p(r)){let e=y(r.key)?r.key:null;e&&(e.spaceBefore&&O.push(""),eQ(t,O,e.commentBefore,!1),e.comment&&(c=!0));let n=y(r.value)?r.value:null;n?(n.comment&&(s=n.comment),n.commentBefore&&(c=!0)):null==r.value&&e?.comment&&(s=e.comment)}s&&(c=!0);let o=el(r,l,()=>s=null);c||(c=O.length>h||o.includes("\n")),n<e.length-1?o+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(c||(c=O.reduce((e,t)=>e+t.length+2,2)+(o.length+2)>t.options.lineWidth)),c&&(o+=",")),s&&(o+=B(o,i,a(s))),O.push(o),h=O.length}let{start:u,end:f}=n;if(0===O.length)return u+f;if(!c){let e=O.reduce((e,t)=>e+t.length+2,2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(!c)return`${u}${o}${O.join(" ")}${o}${f}`;{let e=u;for(let t of O)e+=t?`
13
+ ${s}${r}${t}`:"\n";return`${e}
14
+ ${r}${f}`}}:function({comment:e,items:t},n,{blockItemPrefix:i,flowChars:r,itemIndent:s,onChompKeep:o,onComment:a}){let l;let{indent:c,options:{commentString:h}}=n,O=Object.assign({},n,{indent:s,type:null}),u=!1,f=[];for(let e=0;e<t.length;++e){let r=t[e],o=null;if(y(r))!u&&r.spaceBefore&&f.push(""),eQ(n,f,r.commentBefore,u),r.comment&&(o=r.comment);else if(p(r)){let e=y(r.key)?r.key:null;e&&(!u&&e.spaceBefore&&f.push(""),eQ(n,f,e.commentBefore,u))}u=!1;let a=el(r,O,()=>o=null,()=>u=!0);o&&(a+=B(a,s,h(o))),u&&o&&(u=!1),f.push(i+a)}if(0===f.length)l=r.start+r.end;else{l=f[0];for(let e=1;e<f.length;++e){let t=f[e];l+=t?`
15
+ ${c}${t}`:"\n"}}return e?(l+="\n"+U(h(e),c),a&&a()):u&&o&&o(),l})(e,t,n)}function eQ({indent:e,options:{commentString:t}},n,i,r){if(i&&r&&(i=i.replace(/^\n+/,"")),i){let r=U(t(i),e);n.push(r.trimStart())}}function eS(e,t){let n=d(t)?t.value:t;for(let i of e)if(p(i)&&(i.key===t||i.key===n||d(i.key)&&i.key.value===n))return i}class ek extends N{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(o,e),this.items=[]}static from(e,t,n){let{keepUndefined:i,replacer:r}=n,s=new this(e),o=(e,o)=>{if("function"==typeof r)o=r.call(t,e,o);else if(Array.isArray(r)&&!r.includes(e))return;(void 0!==o||i)&&s.items.push(em(e,o,n))};if(t instanceof Map)for(let[e,n]of t)o(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&s.items.sort(e.sortMapEntries),s}add(e,t){let n;n=p(e)?e:e&&"object"==typeof e&&"key"in e?new eg(e.key,e.value):new eg(e,e?.value);let i=eS(this.items,n.key),r=this.schema?.sortMapEntries;if(i){if(!t)throw Error(`Key ${n.key} already set`);d(i.value)&&z(n.value)?i.value.value=n.value:i.value=n.value}else if(r){let e=this.items.findIndex(e=>0>r(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=eS(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=eS(this.items,e),i=n?.value;return(!t&&d(i)?i.value:i)??void 0}has(e){return!!eS(this.items,e)}set(e,t){this.add(new eg(e,t),!0)}toJSON(e,t,n){let i=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(i),this.items))ed(t,i,e);return i}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!p(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),ey(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}let eb={collection:"map",default:!0,nodeClass:ek,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(f(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ek.from(e,t,n)};class e$ extends N{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(c,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=ex(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let n=ex(e);if("number"!=typeof n)return;let i=this.items[n];return!t&&d(i)?i.value:i}has(e){let t=ex(e);return"number"==typeof t&&t<this.items.length}set(e,t){let n=ex(e);if("number"!=typeof n)throw Error(`Expected a valid index, not ${e}.`);let i=this.items[n];d(i)&&z(t)?i.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let i=0;for(let e of this.items)n.push(Y(e,String(i++),t));return n}toString(e,t,n){return e?ey(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:i}=n,r=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let s of t){if("function"==typeof i){let n=t instanceof Set?s:String(e++);s=i.call(t,n,s)}r.items.push(M(s,void 0,n))}}return r}}function ex(e){let t=d(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}let ev={collection:"seq",default:!0,nodeClass:e$,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(m(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>e$.from(e,t,n)},ew={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,i)=>eo(e,t=Object.assign({actualString:!0},t),n,i)},eP={identify:e=>null==e,createNode:()=>new L(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new L(null),stringify:({source:e},t)=>"string"==typeof e&&eP.test.test(e)?e:t.options.nullStr},eT={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new L("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&eT.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};function eZ({format:e,minFractionDigits:t,tag:n,value:i}){if("bigint"==typeof i)return String(i);let r="number"==typeof i?i:Number(i);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=Object.is(i,-0)?"-0":JSON.stringify(i);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^-?\d/.test(s)&&!s.includes("e")){let e=s.indexOf(".");e<0&&(e=s.length,s+=".");let n=t-(s.length-e-1);for(;n-- >0;)s+="0"}return s}let eX={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:eZ},ej={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():eZ(e)}},e_={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new L(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:eZ},eA=e=>"bigint"==typeof e||Number.isInteger(e),eC=(e,t,n,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(t),n);function eR(e,t,n){let{value:i}=e;return eA(i)&&i>=0?n+i.toString(t):eZ(e)}let eE={identify:e=>eA(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>eC(e,2,8,n),stringify:e=>eR(e,8,"0o")},eY={identify:eA,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>eC(e,0,10,n),stringify:eZ},eq={identify:e=>eA(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>eC(e,2,16,n),stringify:e=>eR(e,16,"0x")},eI=[eb,ev,ew,eP,eT,eE,eY,eq,eX,ej,e_];function ez(e){return"bigint"==typeof e||Number.isInteger(e)}let eL=({value:e})=>JSON.stringify(e),eM=[eb,ev].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:eL},{identify:e=>null==e,createNode:()=>new L(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:eL},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:eL},{identify:ez,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>ez(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:eL}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),eV={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}},stringify({comment:e,type:t,value:n},i,r,s){let o;if(!n)return"";if("function"==typeof btoa){let e="";for(let t=0;t<n.length;++t)e+=String.fromCharCode(n[t]);o=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=L.BLOCK_LITERAL),t!==L.QUOTE_DOUBLE){let e=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),n=Math.ceil(o.length/e),r=Array(n);for(let t=0,i=0;t<n;++t,i+=e)r[t]=o.substr(i,e);o=r.join(t===L.BLOCK_LITERAL?"\n":" ")}return eo({comment:e,type:t,value:o},i,r,s)}};function eW(e,t){if(m(e))for(let n=0;n<e.items.length;++n){let i=e.items[n];if(!p(i)){if(f(i)){i.items.length>1&&t("Each pair must have its own sequence indicator");let e=i.items[0]||new eg(new L(null));if(i.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${i.commentBefore}
16
+ ${e.key.commentBefore}`:i.commentBefore),i.comment){let t=e.value??e.key;t.comment=t.comment?`${i.comment}
17
+ ${t.comment}`:i.comment}i=e}e.items[n]=p(i)?i:new eg(i)}}else t("Expected a sequence for this tag");return e}function eN(e,t,n){let{replacer:i}=n,r=new e$(e);r.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,a;if("function"==typeof i&&(e=i.call(t,String(s++),e)),Array.isArray(e)){if(2===e.length)o=e[0],a=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`)}else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)a=e[o=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else o=e;r.items.push(em(o,a,n))}return r}let eG={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:eW,createNode:eN};class eU extends e${constructor(){super(),this.add=ek.prototype.add.bind(this),this.delete=ek.prototype.delete.bind(this),this.get=ek.prototype.get.bind(this),this.has=ek.prototype.has.bind(this),this.set=ek.prototype.set.bind(this),this.tag=eU.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let i,r;if(p(e)?(i=Y(e.key,"",t),r=Y(e.value,i,t)):i=Y(e,"",t),n.has(i))throw Error("Ordered maps must not include duplicate keys");n.set(i,r)}return n}static from(e,t,n){let i=eN(e,t,n),r=new this;return r.items=i.items,r}}eU.tag="tag:yaml.org,2002:omap";let eB={collection:"seq",identify:e=>e instanceof Map,nodeClass:eU,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=eW(e,t),i=[];for(let{key:e}of n.items)d(e)&&(i.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):i.push(e.value));return Object.assign(new eU,n)},createNode:(e,t,n)=>eU.from(e,t,n)};function eD({value:e,source:t},n){return t&&(e?eJ:eF).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let eJ={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new L(!0),stringify:eD},eF={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new L(!1),stringify:eD},eK=e=>"bigint"==typeof e||Number.isInteger(e);function eH(e,t,n,{intAsBigInt:i}){let r=e[0];if(("-"===r||"+"===r)&&(t+=1),e=e.substring(t).replace(/_/g,""),i){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===r?BigInt(-1)*t:t}let s=parseInt(e,n);return"-"===r?-1*s:s}function e0(e,t,n){let{value:i}=e;if(eK(i)){let e=i.toString(t);return i<0?"-"+n+e.substr(1):n+e}return eZ(e)}class e1 extends ek{constructor(e){super(e),this.tag=e1.tag}add(e){let t;t=p(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new eg(e.key,null):new eg(e,null),eS(this.items,t.key)||this.items.push(t)}get(e,t){let n=eS(this.items,e);return!t&&p(n)?d(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=eS(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new eg(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:i}=n,r=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof i&&(e=i.call(t,e,e)),r.items.push(em(e,null,n));return r}}e1.tag="tag:yaml.org,2002:set";let e2={collection:"map",identify:e=>e instanceof Set,nodeClass:e1,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>e1.from(e,t,n),resolve(e,t){if(f(e)){if(e.hasAllNullValues(!0))return Object.assign(new e1,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function e5(e,t){let n=e[0],i="-"===n||"+"===n?e.substring(1):e,r=e=>t?BigInt(e):Number(e),s=i.replace(/_/g,"").split(":").reduce((e,t)=>e*r(60)+r(t),r(0));return"-"===n?r(-1)*s:s}function e3(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return eZ(e);let i="";t<0&&(i="-",t*=n(-1));let r=n(60),s=[t%r];return t<60?s.unshift(0):(t=(t-s[0])/r,s.unshift(t%r),t>=60&&(t=(t-s[0])/r,s.unshift(t))),i+s.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let e4={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>e5(e,n),stringify:e3},e7={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>e5(e,!1),stringify:e3},e9={identify:e=>e 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(e){let t=e.match(e9.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,i,r,s,o,a]=t.map(Number),l=Date.UTC(n,i-1,r,s||0,o||0,a||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=e5(c,!1);30>Math.abs(e)&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},e6=[eb,ev,ew,eP,eJ,eF,{identify:eK,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>eH(e,2,2,n),stringify:e=>e0(e,2,"0b")},{identify:eK,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>eH(e,1,8,n),stringify:e=>e0(e,8,"0")},{identify:eK,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>eH(e,0,10,n),stringify:eZ},{identify:eK,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>eH(e,2,16,n),stringify:e=>e0(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:eZ},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():eZ(e)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new L(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let i=e.substring(n+1).replace(/_/g,"");"0"===i[i.length-1]&&(t.minFractionDigits=i.length)}return t},stringify:eZ},eV,eh,eB,eG,e2,e4,e7,e9],e8=new Map([["core",eI],["failsafe",[eb,ev,ew]],["json",eM],["yaml11",e6],["yaml-1.1",e6]]),te={binary:eV,bool:eT,float:e_,floatExp:ej,floatNaN:eX,floatTime:e7,int:eY,intHex:eq,intOct:eE,intTime:e4,map:eb,merge:eh,null:eP,omap:eB,pairs:eG,seq:ev,set:e2,timestamp:e9},tt={"tag:yaml.org,2002:binary":eV,"tag:yaml.org,2002:merge":eh,"tag:yaml.org,2002:omap":eB,"tag:yaml.org,2002:pairs":eG,"tag:yaml.org,2002:set":e2,"tag:yaml.org,2002:timestamp":e9};function tn(e,t,n){let i=e8.get(t);if(i&&!e)return n&&!i.includes(eh)?i.concat(eh):i.slice();let r=i;if(!r){if(Array.isArray(e))r=[];else{let e=Array.from(e8.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}}if(Array.isArray(e))for(let t of e)r=r.concat(t);else"function"==typeof e&&(r=e(r.slice()));return n&&(r=r.concat(eh)),r.reduce((e,t)=>{let n="string"==typeof t?te[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(te).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}let ti=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class tr{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:i,schema:r,sortMapEntries:s,toStringDefaults:a}){this.compat=Array.isArray(e)?tn(e,"compat"):e?tn(null,e):null,this.name="string"==typeof r&&r||"core",this.knownTags=i?tt:{},this.tags=tn(t,this.name,n),this.toStringOptions=a??null,Object.defineProperty(this,o,{value:eb}),Object.defineProperty(this,l,{value:ew}),Object.defineProperty(this,c,{value:ev}),this.sortMapEntries="function"==typeof s?s:!0===s?ti:null}clone(){let e=Object.create(tr.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class ts{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,h,{value:s});let i=null;"function"==typeof t||Array.isArray(t)?i=t:void 0===n&&t&&(n=t,t=void 0);let r=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=r;let{version:o}=r;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new _({version:o}),this.setSchema(o,n),this.contents=void 0===e?null:this.createNode(e,i,n)}clone(){let e=Object.create(ts.prototype,{[h]:{value:s}});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=y(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){to(this.contents)&&this.contents.add(e)}addIn(e,t){to(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=C(this);e.anchor=!t||n.has(t)?R(t||"a",n):t}return new I(e.anchor)}createNode(e,t,n){let i;if("function"==typeof t)e=t.call({"":e},"",e),i=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),i=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:r,anchorPrefix:s,flow:o,keepUndefined:a,onTagObj:l,tag:c}=n??{},{onAnchor:h,setAnchors:O,sourceObjects:u}=function(e,t){let n=[],i=new Map,r=null;return{onAnchor:i=>{n.push(i),r??(r=C(e));let s=R(t,r);return r.add(s),s},setAnchors:()=>{for(let e of n){let t=i.get(e);if("object"==typeof t&&t.anchor&&(d(t.node)||g(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:i}}(this,s||"a"),f={aliasDuplicateObjects:r??!0,keepUndefined:a??!1,onAnchor:h,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:u},p=M(e,c,f);return o&&g(p)&&(p.flow=!0),O(),p}createPair(e,t,n={}){return new eg(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return!!to(this.contents)&&this.contents.delete(e)}deleteIn(e){return W(e)?null!=this.contents&&(this.contents=null,!0):!!to(this.contents)&&this.contents.deleteIn(e)}get(e,t){return g(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return W(e)?!t&&d(this.contents)?this.contents.value:this.contents:g(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!g(this.contents)&&this.contents.has(e)}hasIn(e){return W(e)?void 0!==this.contents:!!g(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=V(this.schema,[e],t):to(this.contents)&&this.contents.set(e,t)}setIn(e,t){W(e)?this.contents=t:null==this.contents?this.contents=V(this.schema,Array.from(e),t):to(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new _({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new _({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new tr(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:i,onAnchor:r,reviver:s}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof i?i:100},a=Y(this.contents,t??"",o);if("function"==typeof r)for(let{count:e,res:t}of o.anchors.values())r(t,e);return"function"==typeof s?E(s,{"":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 Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let n=[],i=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),i=!0):e.directives.docStart&&(i=!0)}i&&n.push("---");let r=ea(e,t),{commentString:s}=r.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=s(e.commentBefore);n.unshift(U(t,""))}let o=!1,a=null;if(e.contents){if(y(e.contents)){if(e.contents.spaceBefore&&i&&n.push(""),e.contents.commentBefore){let t=s(e.contents.commentBefore);n.push(U(t,""))}r.forceBlockIndent=!!e.comment,a=e.contents.comment}let t=a?void 0:()=>o=!0,l=el(e.contents,r,()=>a=null,t);a&&(l+=B(l,"",s(a))),("|"===l[0]||">"===l[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${l}`:n.push(l)}else n.push(el(e.contents,r));if(e.directives?.docEnd){if(e.comment){let t=s(e.comment);t.includes("\n")?(n.push("..."),n.push(U(t,""))):n.push(`... ${t}`)}else n.push("...")}else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&((!o||a)&&""!==n[n.length-1]&&n.push(""),n.push(U(s(t),"")))}return n.join("\n")+"\n"}(this,e)}}function to(e){if(g(e))return!0;throw Error("Expected a YAML collection as document contents")}class ta extends Error{constructor(e,t,n,i){super(),this.name=e,this.code=n,this.message=i,this.pos=t}}class tl extends ta{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class tc extends ta{constructor(e,t,n){super("YAMLWarning",e,t,n)}}let th=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:i,col:r}=n.linePos[0];n.message+=` at line ${i}, column ${r}`;let s=r-1,o=e.substring(t.lineStarts[i-1],t.lineStarts[i]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){let e=Math.min(s-39,o.length-79);o="…"+o.substring(e),s-=e-1}if(o.length>80&&(o=o.substring(0,79)+"…"),i>1&&/^ *$/.test(o.substring(0,s))){let n=e.substring(t.lineStarts[i-2],t.lineStarts[i-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===i&&t.col>r&&(e=Math.max(1,Math.min(t.col-r,80-s)));let a=" ".repeat(s)+"^".repeat(e);n.message+=`:
18
+
19
+ ${o}
20
+ ${a}
21
+ `}};function tO(e,{flow:t,indicator:n,next:i,offset:r,onError:s,parentIndent:o,startOnNewline:a}){let l=!1,c=a,h=a,O="",u="",f=!1,p=!1,d=null,m=null,g=null,y=null,Q=null,S=null,k=null;for(let r of e)switch(p&&("space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),d&&(c&&"comment"!==r.type&&"newline"!==r.type&&s(d,"TAB_AS_INDENT","Tabs are not allowed as indentation"),d=null),r.type){case"space":!t&&("doc-start"!==n||i?.type!=="flow-collection")&&r.source.includes(" ")&&(d=r),h=!0;break;case"comment":{h||s(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=r.source.substring(1)||" ";O?O+=u+e:O=e,u="",c=!1;break}case"newline":c?O?O+=r.source:S&&"seq-item-ind"===n||(l=!0):u+=r.source,c=!0,f=!0,(m||g)&&(y=r),h=!0;break;case"anchor":m&&s(r,"MULTIPLE_ANCHORS","A node can have at most one anchor"),r.source.endsWith(":")&&s(r.offset+r.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=r,k??(k=r.offset),c=!1,h=!1,p=!0;break;case"tag":g&&s(r,"MULTIPLE_TAGS","A node can have at most one tag"),g=r,k??(k=r.offset),c=!1,h=!1,p=!0;break;case n:(m||g)&&s(r,"BAD_PROP_ORDER",`Anchors and tags must be after the ${r.source} indicator`),S&&s(r,"UNEXPECTED_TOKEN",`Unexpected ${r.source} in ${t??"collection"}`),S=r,c="seq-item-ind"===n||"explicit-key-ind"===n,h=!1;break;case"comma":if(t){Q&&s(r,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),Q=r,c=!1,h=!1;break}default:s(r,"UNEXPECTED_TOKEN",`Unexpected ${r.type} token`),c=!1,h=!1}let b=e[e.length-1],$=b?b.offset+b.source.length:r;return p&&i&&"space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&("scalar"!==i.type||""!==i.source)&&s(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d&&(c&&d.indent<=o||i?.type==="block-map"||i?.type==="block-seq")&&s(d,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:Q,found:S,spaceBefore:l,comment:O,hasNewline:f,anchor:m,tag:g,newlineAfterProp:y,end:$,start:k??$}}function tu(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(tu(t.key)||tu(t.value))return!0}return!1;default:return!0}}function tf(e,t,n){if(t?.type==="flow-collection"){let i=t.end[0];i.indent===e&&("]"===i.source||"}"===i.source)&&tu(t)&&n(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function tp(e,t,n){let{uniqueKeys:i}=e.options;if(!1===i)return!1;let r="function"==typeof i?i:(e,t)=>e===t||d(e)&&d(t)&&e.value===t.value;return t.some(e=>r(e.key,n))}let td="All mapping items must start at the same column";function tm(e,t,n,i){let r="";if(e){let s=!1,o="";for(let a of e){let{source:e,type:l}=a;switch(l){case"space":s=!0;break;case"comment":{n&&!s&&i(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";r?r+=o+t:r=t,o="";break}case"newline":r&&(o+=e),s=!0;break;default:i(a,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:r,offset:t}}let tg="Block collections are not allowed within flow collections",ty=e=>e&&("block-map"===e.type||"block-seq"===e.type);function tQ(e,t,n,i,r,s){let o="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,i,r,s){let o=new(s?.nodeClass??ek)(n.schema);n.atRoot&&(n.atRoot=!1);let a=i.offset,l=null;for(let s of i.items){let{start:c,key:h,sep:O,value:u}=s,f=tO(c,{indicator:"explicit-key-ind",next:h??O?.[0],offset:a,onError:r,parentIndent:i.indent,startOnNewline:!0}),p=!f.found;if(p){if(h&&("block-seq"===h.type?r(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in h&&h.indent!==i.indent&&r(a,"BAD_INDENT",td)),!f.anchor&&!f.tag&&!O){l=f.end,f.comment&&(o.comment?o.comment+="\n"+f.comment:o.comment=f.comment);continue}(f.newlineAfterProp||tu(h))&&r(h??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else f.found?.indent!==i.indent&&r(a,"BAD_INDENT",td);n.atKey=!0;let d=f.end,m=h?e(n,h,f,r):t(n,d,c,null,f,r);n.schema.compat&&tf(i.indent,h,r),n.atKey=!1,tp(n,o.items,m)&&r(d,"DUPLICATE_KEY","Map keys must be unique");let g=tO(O??[],{indicator:"map-value-ind",next:u,offset:m.range[2],onError:r,parentIndent:i.indent,startOnNewline:!h||"block-scalar"===h.type});if(a=g.end,g.found){p&&(u?.type!=="block-map"||g.hasNewline||r(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&f.start<g.found.offset-1024&&r(m.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let l=u?e(n,u,g,r):t(n,a,O,null,g,r);n.schema.compat&&tf(i.indent,u,r),a=l.range[2];let c=new eg(m,l);n.options.keepSourceTokens&&(c.srcToken=s),o.items.push(c)}else{p&&r(m.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),g.comment&&(m.comment?m.comment+="\n"+g.comment:m.comment=g.comment);let e=new eg(m);n.options.keepSourceTokens&&(e.srcToken=s),o.items.push(e)}}return l&&l<a&&r(l,"IMPOSSIBLE","Map comment with trailing content"),o.range=[i.offset,a,l??a],o}(e,t,n,i,s):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,i,r,s){let o=new(s?.nodeClass??e$)(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let a=i.offset,l=null;for(let{start:s,value:c}of i.items){let h=tO(s,{indicator:"seq-item-ind",next:c,offset:a,onError:r,parentIndent:i.indent,startOnNewline:!0});if(!h.found){if(h.anchor||h.tag||c)c?.type==="block-seq"?r(h.end,"BAD_INDENT","All sequence items must start at the same column"):r(a,"MISSING_CHAR","Sequence item without - indicator");else{l=h.end,h.comment&&(o.comment=h.comment);continue}}let O=c?e(n,c,h,r):t(n,h.end,s,null,h,r);n.schema.compat&&tf(i.indent,c,r),a=O.range[2],o.items.push(O)}return o.range=[i.offset,a,l??a],o}(e,t,n,i,s):function({composeNode:e,composeEmptyNode:t},n,i,r,s){let o="{"===i.start.source,a=o?"flow map":"flow sequence",l=new(s?.nodeClass??(o?ek:e$))(n.schema);l.flow=!0;let c=n.atRoot;c&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let h=i.offset+i.start.source.length;for(let s=0;s<i.items.length;++s){let c=i.items[s],{start:O,key:u,sep:f,value:d}=c,m=tO(O,{flow:a,indicator:"explicit-key-ind",next:u??f?.[0],offset:h,onError:r,parentIndent:i.indent,startOnNewline:!1});if(!m.found){if(!m.anchor&&!m.tag&&!f&&!d){0===s&&m.comma?r(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):s<i.items.length-1&&r(m.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),m.comment&&(l.comment?l.comment+="\n"+m.comment:l.comment=m.comment),h=m.end;continue}!o&&n.options.strict&&tu(u)&&r(u,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===s)m.comma&&r(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(m.comma||r(m.start,"MISSING_CHAR",`Missing , between ${a} items`),m.comment){let e="";a:for(let t of O)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break a;default:break a}if(e){let t=l.items[l.items.length-1];p(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,m.comment=m.comment.substring(e.length+1)}}if(o||f||m.found){n.atKey=!0;let s=m.end,p=u?e(n,u,m,r):t(n,s,O,null,m,r);ty(u)&&r(p.range,"BLOCK_IN_FLOW",tg),n.atKey=!1;let g=tO(f??[],{flow:a,indicator:"map-value-ind",next:d,offset:p.range[2],onError:r,parentIndent:i.indent,startOnNewline:!1});if(g.found){if(!o&&!m.found&&n.options.strict){if(f)for(let e of f){if(e===g.found)break;if("newline"===e.type){r(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}m.start<g.found.offset-1024&&r(g.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else d&&("source"in d&&d.source?.[0]===":"?r(d,"MISSING_CHAR",`Missing space after : in ${a}`):r(g.start,"MISSING_CHAR",`Missing , or : between ${a} items`));let y=d?e(n,d,g,r):g.found?t(n,g.end,f,null,g,r):null;y?ty(d)&&r(y.range,"BLOCK_IN_FLOW",tg):g.comment&&(p.comment?p.comment+="\n"+g.comment:p.comment=g.comment);let Q=new eg(p,y);if(n.options.keepSourceTokens&&(Q.srcToken=c),o)tp(n,l.items,p)&&r(s,"DUPLICATE_KEY","Map keys must be unique"),l.items.push(Q);else{let e=new ek(n.schema);e.flow=!0,e.items.push(Q);let t=(y??p).range;e.range=[p.range[0],t[1],t[2]],l.items.push(e)}h=y?y.range[2]:g.end}else{let i=d?e(n,d,m,r):t(n,m.end,f,null,m,r);l.items.push(i),h=i.range[2],ty(d)&&r(i.range,"BLOCK_IN_FLOW",tg)}}let O=o?"}":"]",[u,...f]=i.end,d=h;if(u?.source===O)d=u.offset+u.source.length;else{let e=a[0].toUpperCase()+a.substring(1),t=c?`${e} must end with a ${O}`:`${e} in block collection must be sufficiently indented and end with a ${O}`;r(h,c?"MISSING_CHAR":"BAD_INDENT",t),u&&1!==u.source.length&&f.unshift(u)}if(f.length>0){let e=tm(f,d,n.options.strict,r);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[i.offset,d,e.offset]}else l.range=[i.offset,d,d];return l}(e,t,n,i,s),a=o.constructor;return"!"===r||r===a.tagName?o.tag=a.tagName:r&&(o.tag=r),o}function tS(e){let t,n;try{t=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),n=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let i=t.exec(e);if(!i)return e;let r=i[1],s=" ",o=t.lastIndex;for(n.lastIndex=o;i=n.exec(e);)""===i[1]?"\n"===s?r+=s:s="\n":(r+=s+i[1],s=" "),o=n.lastIndex;let a=/[ \t]*(.*)/sy;return a.lastIndex=o,i=a.exec(e),r+s+(i?.[1]??"")}let tk={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function tb(e,t,n,i){let r,s;let{value:o,type:a,comment:c,range:h}="block-scalar"===t.type?function(e,t,n){let i=t.offset,r=function({offset:e,props:t},n,i){if("block-scalar-header"!==t[0].type)return i(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:r}=t[0],s=r[0],o=0,a="",l=-1;for(let t=1;t<r.length;++t){let n=r[t];if(a||"-"!==n&&"+"!==n){let i=Number(n);!o&&i?o=i:-1===l&&(l=e+t)}else a=n}-1!==l&&i(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${r}`);let c=!1,h="",O=r.length;for(let e=1;e<t.length;++e){let r=t[e];switch(r.type){case"space":c=!0;case"newline":O+=r.source.length;break;case"comment":n&&!c&&i(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),O+=r.source.length,h=r.source.substring(1);break;case"error":i(r,"UNEXPECTED_TOKEN",r.message),O+=r.source.length;break;default:{let e=`Unexpected token in block scalar header: ${r.type}`;i(r,"UNEXPECTED_TOKEN",e);let t=r.source;t&&"string"==typeof t&&(O+=t.length)}}}return{mode:s,indent:o,chomp:a,comment:h,length:O}}(t,e.options.strict,n);if(!r)return{value:"",type:null,comment:"",range:[i,i,i]};let s=">"===r.mode?L.BLOCK_FOLDED:L.BLOCK_LITERAL,o=t.source?function(e){let t=e.split(/\n( *)/),n=t[0],i=n.match(/^( *)/),r=[i?.[1]?[i[1],n.slice(i[1].length)]:["",n]];for(let e=1;e<t.length;e+=2)r.push([t[e],t[e+1]]);return r}(t.source):[],a=o.length;for(let e=o.length-1;e>=0;--e){let t=o[e][1];if(""===t||"\r"===t)a=e;else break}if(0===a){let e="+"===r.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"",n=i+r.length;return t.source&&(n+=t.source.length),{value:e,type:s,comment:r.comment,range:[i,n,n]}}let l=t.indent+r.indent,c=t.offset+r.length,h=0;for(let t=0;t<a;++t){let[i,s]=o[t];if(""===s||"\r"===s)0===r.indent&&i.length>l&&(l=i.length);else{i.length<l&&n(c+i.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===r.indent&&(l=i.length),h=t,0!==l||e.atRoot||n(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=i.length+s.length+1}for(let e=o.length-1;e>=a;--e)o[e][0].length>l&&(a=e+1);let O="",u="",f=!1;for(let e=0;e<h;++e)O+=o[e][0].slice(l)+"\n";for(let e=h;e<a;++e){let[t,i]=o[e];c+=t.length+i.length+1;let a="\r"===i[i.length-1];if(a&&(i=i.slice(0,-1)),i&&t.length<l){let e=r.indent?"explicit indentation indicator":"first line",s=`Block scalar lines must not be less indented than their ${e}`;n(c-i.length-(a?2:1),"BAD_INDENT",s),t=""}s===L.BLOCK_LITERAL?(O+=u+t.slice(l)+i,u="\n"):t.length>l||" "===i[0]?(" "===u?u="\n":f||"\n"!==u||(u="\n\n"),O+=u+t.slice(l)+i,u="\n",f=!0):""===i?"\n"===u?O+="\n":u="\n":(O+=u+i,u=" ",f=!1)}switch(r.chomp){case"-":break;case"+":for(let e=a;e<o.length;++e)O+="\n"+o[e][0].slice(l);"\n"!==O[O.length-1]&&(O+="\n");break;default:O+="\n"}let p=i+r.length+t.source.length;return{value:O,type:s,comment:r.comment,range:[i,p,p]}}(e,t,i):function(e,t,n){let i,r;let{offset:s,type:o,source:a,end:l}=e,c=(e,t,i)=>n(s+e,t,i);switch(o){case"scalar":i=L.PLAIN,r=function(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),tS(e)}(a,c);break;case"single-quoted-scalar":i=L.QUOTE_SINGLE,("'"!==a[a.length-1]||1===a.length)&&c(a.length,"MISSING_CHAR","Missing closing 'quote"),r=tS(a.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":i=L.QUOTE_DOUBLE,r=function(e,t){let n="";for(let i=1;i<e.length-1;++i){let r=e[i];if("\r"!==r||"\n"!==e[i+1]){if("\n"===r){let{fold:t,offset:r}=function(e,t){let n="",i=e[t+1];for(;(" "===i||" "===i||"\n"===i||"\r"===i)&&("\r"!==i||"\n"===e[t+2]);)"\n"===i&&(n+="\n"),t+=1,i=e[t+1];return n||(n=" "),{fold:n,offset:t}}(e,i);n+=t,i=r}else if("\\"===r){let r=e[++i],s=tk[r];if(s)n+=s;else if("\n"===r)for(r=e[i+1];" "===r||" "===r;)r=e[++i+1];else if("\r"===r&&"\n"===e[i+1])for(r=e[++i+1];" "===r||" "===r;)r=e[++i+1];else if("x"===r||"u"===r||"U"===r){let s="x"===r?2:"u"===r?4:8;n+=function(e,t,n,i){let r=e.substr(t,n),s=r.length===n&&/^[0-9a-fA-F]+$/.test(r)?parseInt(r,16):NaN;try{return String.fromCodePoint(s)}catch{let r=e.substr(t-2,n+2);return i(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${r}`),r}}(e,i+1,s,t),i+=s}else{let r=e.substr(i-1,2);t(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${r}`),n+=r}}else if(" "===r||" "===r){let t=i,s=e[i+1];for(;" "===s||" "===s;)s=e[++i+1];"\n"===s||"\r"===s&&"\n"===e[i+2]||(n+=i>t?e.slice(t,i+1):r)}else n+=r}}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(a,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[s,s+a.length,s+a.length]}}let h=s+a.length,O=tm(l,h,t,n);return{value:r,type:i,comment:O.comment,range:[s,h,O.offset]}}(t,e.options.strict,i),O=n?e.directives.tagName(n.source,e=>i(n,"TAG_RESOLVE_FAILED",e)):null;r=e.options.stringKeys&&e.atKey?e.schema[l]:O?function(e,t,n,i,r){if("!"===n)return e[l];let s=[];for(let t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;s.push(t)}for(let e of s)if(e.test?.test(t))return e;let o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[l])}(e.schema,o,O,n,i):"scalar"===t.type?function({atKey:e,directives:t,schema:n},i,r,s){let o=n.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(i))||n[l];if(n.compat){let e=n.compat.find(e=>e.default&&e.test?.test(i))??n[l];if(o.tag!==e.tag){let n=t.tagString(o.tag),i=t.tagString(e.tag);s(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${n} or ${i}`,!0)}}return o}(e,o,t,i):e.schema[l];try{let a=r.resolve(o,e=>i(n??t,"TAG_RESOLVE_FAILED",e),e.options);s=d(a)?a:new L(a)}catch(e){i(n??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),s=new L(o)}return s.range=h,s.source=o,a&&(s.type=a),O&&(s.tag=O),r.format&&(s.format=r.format),c&&(s.comment=c),s}let t$={composeNode:tx,composeEmptyNode:tv};function tx(e,t,n,i){let r;let s=e.atKey,{spaceBefore:o,comment:a,anchor:l,tag:c}=n,h=!0;switch(t.type){case"alias":r=function({options:e},{offset:t,source:n,end:i},r){let s=new I(n.substring(1));""===s.source&&r(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&r(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=t+n.length,a=tm(i,o,e.strict,r);return s.range=[t,o,a.offset],a.comment&&(s.comment=a.comment),s}(e,t,i),(l||c)&&i(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":r=tb(e,t,c,i),l&&(r.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{r=function(e,t,n,i,r){let s=i.tag,o=s?t.directives.tagName(s.source,e=>r(s,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===n.type){let{anchor:e,newlineAfterProp:t}=i,n=e&&s?e.offset>s.offset?e:s:e??s;n&&(!t||t.offset<n.offset)&&r(n,"MISSING_CHAR","Missing newline after block sequence props")}let a="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!s||!o||"!"===o||o===ek.tagName&&"map"===a||o===e$.tagName&&"seq"===a)return tQ(e,t,n,r,o);let l=t.schema.tags.find(e=>e.tag===o&&e.collection===a);if(!l){let i=t.schema.knownTags[o];if(i?.collection!==a)return i?r(s,"BAD_COLLECTION_TYPE",`${i.tag} used for ${a} collection, but expects ${i.collection??"scalar"}`,!0):r(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),tQ(e,t,n,r,o);t.schema.tags.push(Object.assign({},i,{default:!1})),l=i}let c=tQ(e,t,n,r,o,l),h=l.resolve?.(c,e=>r(s,"TAG_RESOLVE_FAILED",e),t.options)??c,O=y(h)?h:new L(h);return O.range=c.range,O.tag=o,l?.format&&(O.format=l.format),O}(t$,e,t,n,i),l&&(r.anchor=l.source.substring(1))}catch(e){i(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:{let e="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;i(t,"UNEXPECTED_TOKEN",e),h=!1}}return r??(r=tv(e,t.offset,void 0,null,n,i)),l&&""===r.anchor&&i(l,"BAD_ALIAS","Anchor cannot be an empty string"),s&&e.options.stringKeys&&(!d(r)||"string"!=typeof r.value||r.tag&&"tag:yaml.org,2002:str"!==r.tag)&&i(c??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),o&&(r.spaceBefore=!0),a&&("scalar"===t.type&&""===t.source?r.comment=a:r.commentBefore=a),e.options.keepSourceTokens&&h&&(r.srcToken=t),r}function tv(e,t,n,i,{spaceBefore:r,comment:s,anchor:o,tag:a,end:l},c){let h=tb(e,{type:"scalar",offset:function(e,t,n){if(t){n??(n=t.length);for(let i=n-1;i>=0;--i){let n=t[i];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++i];n?.type==="space";)e+=n.source.length,n=t[++i];break}}return e}(t,n,i),indent:-1,source:""},a,c);return o&&(h.anchor=o.source.substring(1),""===h.anchor&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(h.spaceBefore=!0),s&&(h.comment=s,h.range[2]=l),h}function tw(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function tP(e){let t="",n=!1,i=!1;for(let r=0;r<e.length;++r){let s=e[r];switch(s[0]){case"#":t+=(""===t?"":i?"\n\n":"\n")+(s.substring(1)||" "),n=!0,i=!1;break;case"%":e[r+1]?.[0]!=="#"&&(r+=1),n=!1;break;default:n||(i=!0),n=!1}}return{comment:t,afterEmptyLine:i}}class tT{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,i)=>{let r=tw(e);i?this.warnings.push(new tc(r,t,n)):this.errors.push(new tl(r,t,n))},this.directives=new _({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:i}=tP(this.prelude);if(n){let r=e.contents;if(t)e.comment=e.comment?`${e.comment}
22
+ ${n}`:n;else if(i||e.directives.docStart||!r)e.commentBefore=n;else if(g(r)&&!r.flow&&r.items.length>0){let e=r.items[0];p(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n}
23
+ ${t}`:n}else{let e=r.commentBefore;r.commentBefore=e?`${n}
24
+ ${e}`:n}}if(t){for(let t=0;t<this.errors.length;++t)e.errors.push(this.errors[t]);for(let t=0;t<this.warnings.length;++t)e.warnings.push(this.warnings[t])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:tP(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,i)=>{let r=tw(e);r[0]+=t,this.onError(r,"BAD_DIRECTIVE",n,i)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:n,start:i,value:r,end:s},o){let a=new ts(void 0,Object.assign({_directives:t},e)),l={atKey:!1,atRoot:!0,directives:a.directives,options:a.options,schema:a.schema},c=tO(i,{indicator:"doc-start",next:r??s?.[0],offset:n,onError:o,parentIndent:0,startOnNewline:!0});c.found&&(a.directives.docStart=!0,r&&("block-map"===r.type||"block-seq"===r.type)&&!c.hasNewline&&o(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),a.contents=r?tx(l,r,c,o):tv(l,c.end,i,null,c,o);let h=a.contents.range[2],O=tm(s,h,!1,o);return O.comment&&(a.comment=O.comment),a.range=[n,h,O.offset],a}(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":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new tl(tw(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){this.errors.push(new tl(tw(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=tm(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e}
25
+ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new tl(tw(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){let e=new ts(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}let tZ=Symbol("break visit"),tX=Symbol("skip children"),tj=Symbol("remove item");function t_(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,i){let r=i(n,t);if("symbol"==typeof r)return r;for(let s of["key","value"]){let o=n[s];if(o&&"items"in o){for(let n=0;n<o.items.length;++n){let r=e(Object.freeze(t.concat([[s,n]])),o.items[n],i);if("number"==typeof r)n=r-1;else{if(r===tZ)return tZ;r===tj&&(o.items.splice(n,1),n-=1)}}"function"==typeof r&&"key"===s&&(r=r(n,t))}}return"function"==typeof r?r(n,t):r}(Object.freeze([]),e,t)}function tA(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}t_.BREAK=tZ,t_.SKIP=tX,t_.REMOVE=tj,t_.itemAtPath=(e,t)=>{let n=e;for(let[e,i]of t){let t=n?.[e];if(!t||!("items"in t))return;n=t.items[i]}return n},t_.parentCollection=(e,t)=>{let n=t_.itemAtPath(e,t.slice(0,-1)),i=t[t.length-1][0],r=n?.[i];if(r&&"items"in r)return r;throw Error("Parent collection not found")};let tC=new Set("0123456789ABCDEFabcdef"),tR=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),tE=new Set(",[]{}"),tY=new Set(" ,[]{}\n\r "),tq=e=>!e||tY.has(e);class tI{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("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){let t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"!==t&&!(n>=this.indentNext)&&(t||this.atEnd)?-1:e+n}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&tA(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(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(null===e)return this.setNext("stream");if("\uFEFF"===e[0]&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,n=e.indexOf("#");for(;-1!==n;){let i=e[n-1];if(" "===i||" "===i){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){let n=e[t-1];if(" "===n||" "===n)t-=1;else break}let i=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield"\x02",yield*this.parseLineStart()}*parseLineStart(){let 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");let e=this.peek(3);if(("---"===e||"..."===e)&&tA(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!tA(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&tA(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)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(tq),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader())+(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;let n=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let i=this.getLine();if(null===i)return this.setNext("flow");if((-1!==n&&n<this.indentNext&&"#"!==i[0]||0===n&&(i.startsWith("---")||i.startsWith("..."))&&tA(i[3]))&&!(n===this.indentNext-1&&1===this.flowLevel&&("]"===i[0]||"}"===i[0])))return this.flowLevel=0,yield"\x18",yield*this.parseLineStart();let r=0;for(;","===i[r];)r+=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(i[r+=yield*this.pushIndicators()]){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(tq),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||tA(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let n=this.buffer.substring(0,t),i=n.indexOf("\n",this.pos);if(-1!==i){for(;-1!==i;){let e=this.continueScalar(i+1);if(-1===e)break;i=n.indexOf("\n",e)}-1!==i&&(t=i-("\r"===n[i-1]?2:1))}if(-1===t){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(;;){let 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(e=>tA(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,n=0;a:for(let i=this.pos;e=this.buffer[i];++i)switch(e){case" ":n+=1;break;case"\n":t=i,n=0;break;case"\r":{let e=this.buffer[i+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break a}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let i=t+1;for(e=this.buffer[i];" "===e;)e=this.buffer[++i];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++i];t=i-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,i=this.buffer[e];"\r"===i&&(i=this.buffer[--e]);let r=e;for(;" "===i;)i=this.buffer[--e];if("\n"===i&&e>=this.pos&&e+1+n>r)t=e;else break}return yield"\x1f",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e;let t=this.flowLevel>0,n=this.pos-1,i=this.pos-1;for(;e=this.buffer[++i];)if(":"===e){let e=this.buffer[i+1];if(tA(e)||t&&tE.has(e))break;n=i}else if(tA(e)){let r=this.buffer[i+1];if("\r"===e&&("\n"===r?(i+=1,e="\n",r=this.buffer[i+1]):n=i),"#"===r||t&&tE.has(r))break;if("\n"===e){let e=this.continueScalar(i+1);if(-1===e)break;i=Math.max(i,e-2)}}else{if(t&&tE.has(e))break;n=i}return e||this.atEnd?(yield"\x1f",yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){let e=0;for(;;){switch(this.charAt(0)){case"!":e+=(yield*this.pushTag())+(yield*this.pushSpaces(!0));continue;case"&":e+=(yield*this.pushUntil(tq))+(yield*this.pushSpaces(!0));continue;case"-":case"?":case":":{let t=this.flowLevel>0,n=this.charAt(1);if(tA(n)||t&&tE.has(n)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));continue}}}break}return e}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!tA(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(tR.has(t))t=this.buffer[++e];else if("%"===t&&tC.has(this.buffer[e+1])&&tC.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do t=this.buffer[++n];while(" "===t||e&&" "===t);let i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}function tz(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function tL(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function tM(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function tV(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function tW(e){if(0===e.length)return[];let t=e.length;a:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break a}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function tN(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n<t.length;++n)e.push(t[n])}function tG(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||tz(t.start,"explicit-key-ind")||tz(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,tM(t.value)?t.value.end?tN(t.value.end,t.sep):t.value.end=t.sep:tN(t.start,t.sep),delete t.sep)}class tU{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 tI,this.onNewLine=e}*parse(e,t=!1){for(let n of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=function(e){switch(e){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":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(e[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}(e);if(t){if("scalar"===t)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{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,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(){let e=this.peek(1);if("doc-end"===this.type&&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){let t=e??this.stack.pop();if(t){if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&tG(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case"block-seq":{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===tL(n.start)&&(0===t.indent||n.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*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":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&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":-1!==tL(e.start)?(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}let 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("map-value-ind"===this.type){let t;let n=tW(tV(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}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 e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let n="end"in t.value?t.value.end:void 0,i=Array.isArray(n)?n[n.length-1]:void 0;i?.type==="comment"?n?.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)){let n=e.items[e.items.length-2],i=n?.value?.end;if(Array.isArray(i)){tN(i,t.start),i.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,i=n&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,r=[];if(i&&t.sep&&!t.value){let n=[];for(let i=0;i<t.sep.length;++i){let r=t.sep[i];switch(r.type){case"newline":n.push(i);break;case"space":break;case"comment":r.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[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?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}]}):(t.start.push(this.sourceToken),t.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(tz(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(tM(t.key)&&!tz(t.sep,"newline")){let e=tW(t.start),n=t.key,i=t.sep;i.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:i}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken)}else if(tz(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=tW(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}}else t.sep?t.value||i?e.items.push({start:r,key:null,sep:[this.sourceToken]}):tz(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":{let n=this.flowScalar(this.type);i||t.value?(e.items.push({start:r,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let i=this.startBlockValue(e);if(i){if("block-seq"===i.type){if(!t.explicitKey&&t.sep&&!tz(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 n&&e.items.push({start:r});this.stack.push(i);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let n="end"in t.value?t.value.end:void 0,i=Array.isArray(n)?n[n.length-1]:void 0;i?.type==="comment"?n?.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)){let n=e.items[e.items.length-2],i=n?.value?.end;if(Array.isArray(i)){tN(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||tz(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e?.type==="flow-collection")}else if(0===e.end.length){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":{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep)){if("map-value-ind"===this.type&&"flow-collection"!==t.type){let n=tW(tV(t));tG(e);let i=e.end.splice(1,e.end.length);i.push(this.sourceToken);let r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+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;let t=tW(tV(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=tW(tV(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(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],"newline"===this.type&&(yield*this.pop())}}}class tB{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){let i=t+n>>1;this.lineStarts[i]<e?t=i+1:n=i}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let i=this.lineStarts[t-1];return{line:t,col:e-i+1}}}}function tD(e,t,n){let i;"function"==typeof t?i=t:void 0===n&&t&&"object"==typeof t&&(n=t);let r=function(e,t={}){let{lineCounter:n,prettyErrors:i}=function(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new tB||null,prettyErrors:t}}(t),r=new tU(n?.addNewLine),s=new tT(t),o=null;for(let t of s.compose(r.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new tl(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return i&&n&&(o.errors.forEach(th(e,n)),o.warnings.forEach(th(e,n))),o}(e,n);if(!r)return null;if(r.warnings.forEach(e=>ec(r.options.logLevel,e)),r.errors.length>0){if("silent"!==r.options.logLevel)throw r.errors[0];r.errors=[]}return r.toJS(Object.assign({reviver:i},n))}}}]);