@qqbrowser/qbot-dsh 0.0.10 → 0.0.12

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 (307) hide show
  1. package/lib/bin.js +1 -1
  2. package/lib/{dump-config-BD79jvHi.js → dump-config-xQTUTTDD.js} +1 -1
  3. package/lib/{plugin-B3Ecl7VN.js → plugin-DNAeLZbb.js} +1 -1
  4. package/lib/profile-boot-BkordgJK.js +1 -0
  5. package/node_modules/@deepseek-ai/cordis/package.json +1 -1
  6. package/node_modules/@deepseek-ai/cordis-plugin-hmr/lib/index.js +2 -2
  7. package/node_modules/@deepseek-ai/cordis-plugin-hmr/package.json +1 -1
  8. package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +1 -1
  9. package/node_modules/@deepseek-ai/dsh-agent/package.json +1 -1
  10. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +1 -1
  11. package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +3 -3
  12. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +1 -1
  13. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +1 -1
  14. package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +1 -1
  15. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +1 -1
  16. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +1 -1
  17. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +1 -1
  18. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +2 -2
  19. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +1 -1
  20. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +12 -12
  21. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +1 -1
  22. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
  23. package/node_modules/@deepseek-ai/dsh-attachment/package.json +1 -1
  24. package/node_modules/@deepseek-ai/dsh-attachment-local/lib/index.js +1 -1
  25. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +1 -1
  26. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +4 -4
  27. package/node_modules/@deepseek-ai/dsh-base/package.json +1 -1
  28. package/node_modules/@deepseek-ai/dsh-bash-local/lib/index.js +1 -1
  29. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +1 -1
  30. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +1 -1
  31. package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
  32. package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +6 -6
  33. package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +2 -2
  34. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +1 -1
  35. package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +1 -1
  36. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +1 -1
  37. package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +1 -1
  38. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +1 -1
  39. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +1 -1
  40. package/node_modules/@deepseek-ai/dsh-client-runtime/lib/client.js +2 -2
  41. package/node_modules/@deepseek-ai/dsh-client-runtime/package.json +1 -1
  42. package/node_modules/@deepseek-ai/dsh-client-schema-form/package.json +1 -1
  43. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
  44. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +1 -1
  45. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +1 -1
  46. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +1 -1
  47. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +1 -1
  48. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +6 -6
  49. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +1 -1
  50. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +1 -1
  51. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +1 -1
  52. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +1 -1
  53. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +1 -1
  54. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +1 -1
  55. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +1 -1
  56. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +1 -1
  57. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
  58. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +1 -1
  59. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +1 -1
  60. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +1 -1
  61. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
  62. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +1 -1
  63. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +1 -1
  64. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +1 -1
  65. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +1 -1
  66. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +1 -1
  67. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +1 -1
  68. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +1 -1
  69. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +1 -1
  70. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +1 -1
  71. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +1 -1
  72. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +1 -1
  73. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +11 -11
  74. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +1 -1
  75. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +1 -1
  76. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  77. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +1 -1
  78. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1 -1
  79. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +1 -1
  80. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
  81. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +1 -1
  82. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
  83. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +1 -1
  84. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  85. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +1 -1
  86. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -1
  87. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +1 -1
  88. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/index.js +1 -1
  89. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +1 -1
  90. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +1 -1
  91. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +1 -1
  92. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
  93. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +1 -1
  94. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -1
  95. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +1 -1
  96. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +13 -13
  97. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +1 -1
  98. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1 -1
  99. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +1 -1
  100. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
  101. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +1 -1
  102. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +1 -1
  103. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +1 -1
  104. package/node_modules/@deepseek-ai/dsh-client-web/package.json +1 -1
  105. package/node_modules/@deepseek-ai/dsh-client-web-react/lib/index.js +1 -1
  106. package/node_modules/@deepseek-ai/dsh-client-web-react/package.json +1 -1
  107. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  108. package/node_modules/@deepseek-ai/dsh-code-runtime/package.json +1 -1
  109. package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/lib/index.js +2 -2
  110. package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/lib/worker.cjs +4 -2
  111. package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/package.json +1 -1
  112. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +1 -1
  113. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +1 -1
  114. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +1 -1
  115. package/node_modules/@deepseek-ai/dsh-commands/package.json +1 -1
  116. package/node_modules/@deepseek-ai/dsh-compaction/package.json +1 -1
  117. package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +1 -1
  118. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +1 -1
  119. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +1 -1
  120. package/node_modules/@deepseek-ai/dsh-content-review/package.json +1 -1
  121. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +7 -7
  122. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +1 -1
  123. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +1 -1
  124. package/node_modules/@deepseek-ai/dsh-credentials/package.json +1 -1
  125. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +1 -1
  126. package/node_modules/@deepseek-ai/dsh-fs/package.json +1 -1
  127. package/node_modules/@deepseek-ai/dsh-fs-local/lib/index.js +4 -4
  128. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +1 -1
  129. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +1 -1
  130. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +1 -1
  131. package/node_modules/@deepseek-ai/dsh-goal/package.json +1 -1
  132. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +1 -1
  133. package/node_modules/@deepseek-ai/dsh-headless/package.json +1 -1
  134. package/node_modules/@deepseek-ai/dsh-home-paths/lib/index.js +1 -1
  135. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
  136. package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/lib/index.js +1 -1
  137. package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/package.json +1 -1
  138. package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/index.js +4 -4
  139. package/node_modules/@deepseek-ai/dsh-host-apiproxy/package.json +1 -1
  140. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
  141. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +1 -1
  142. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +1 -1
  143. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/lib/worker.cjs +9 -7
  144. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +1 -1
  145. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +1 -1
  146. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +1 -1
  147. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
  148. package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
  149. package/node_modules/@deepseek-ai/dsh-jobs/package.json +1 -1
  150. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +1 -1
  151. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
  152. package/node_modules/@deepseek-ai/dsh-llm/lib/invariant.js +1 -1
  153. package/node_modules/@deepseek-ai/dsh-llm/package.json +1 -1
  154. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +1 -1
  155. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +1 -1
  156. package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/lib/index.js +1 -1
  157. package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/package.json +1 -1
  158. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +1 -1
  159. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +1 -1
  160. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +1 -1
  161. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +2 -2
  162. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +1 -1
  163. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +1 -1
  164. package/node_modules/@deepseek-ai/dsh-native-command/package.json +1 -1
  165. package/node_modules/@deepseek-ai/dsh-output-retention/lib/index.js +1 -1
  166. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
  167. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +1 -1
  168. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +1 -1
  169. package/node_modules/@deepseek-ai/dsh-persona/package.json +1 -1
  170. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +1 -1
  171. package/node_modules/@deepseek-ai/dsh-pwsh-local/lib/index.js +1 -1
  172. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +1 -1
  173. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +1 -1
  174. package/node_modules/@deepseek-ai/dsh-qb-auth/lib/index.js +3 -3
  175. package/node_modules/@deepseek-ai/dsh-qb-auth/package.json +1 -1
  176. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +1 -1
  177. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +1 -1
  178. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +1 -1
  179. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +1 -1
  180. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/index.js +1 -1
  181. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
  182. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-D2_FQYSK.js +1 -0
  183. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +1 -1
  184. package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +1 -1
  185. package/node_modules/@deepseek-ai/dsh-schedule/package.json +1 -1
  186. package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
  187. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +1 -1
  188. package/node_modules/@deepseek-ai/dsh-session/lib/invariant.js +1 -1
  189. package/node_modules/@deepseek-ai/dsh-session/package.json +1 -1
  190. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +1 -1
  191. package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +1 -1
  192. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +1 -1
  193. package/node_modules/@deepseek-ai/dsh-session-persistence/lib/index.js +1 -1
  194. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +1 -1
  195. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +1 -1
  196. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +1 -1
  197. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +1 -1
  198. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +1 -1
  199. package/node_modules/@deepseek-ai/dsh-session-query/package.json +1 -1
  200. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +1 -1
  201. package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +4 -4
  202. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +1 -1
  203. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +1 -1
  204. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +1 -1
  205. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +1 -1
  206. package/node_modules/@deepseek-ai/dsh-session-title/lib/index.js +2 -2
  207. package/node_modules/@deepseek-ai/dsh-session-title/package.json +1 -1
  208. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +1 -1
  209. package/node_modules/@deepseek-ai/dsh-session-title-llm/lib/index.js +3 -3
  210. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +1 -1
  211. package/node_modules/@deepseek-ai/dsh-settings/lib/invariant.js +1 -1
  212. package/node_modules/@deepseek-ai/dsh-settings/package.json +1 -1
  213. package/node_modules/@deepseek-ai/dsh-settings-file/package.json +1 -1
  214. package/node_modules/@deepseek-ai/dsh-shell/package.json +1 -1
  215. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +1 -1
  216. package/node_modules/@deepseek-ai/dsh-skill/package.json +1 -1
  217. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +1 -1
  218. package/node_modules/@deepseek-ai/dsh-skill-filesystem/lib/index.js +1 -1
  219. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +1 -1
  220. package/node_modules/@deepseek-ai/dsh-spill/package.json +1 -1
  221. package/node_modules/@deepseek-ai/dsh-spill-local/lib/index.js +1 -1
  222. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +1 -1
  223. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/index.js +2 -2
  224. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +1 -1
  225. package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
  226. package/node_modules/@deepseek-ai/dsh-storage-domain/lib/invariant.js +1 -1
  227. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +1 -1
  228. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -1
  229. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +1 -1
  230. package/node_modules/@deepseek-ai/dsh-subagent/package.json +1 -1
  231. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +1 -1
  232. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +1 -1
  233. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +1 -1
  234. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +1 -1
  235. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +1 -1
  236. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +1 -1
  237. package/node_modules/@deepseek-ai/dsh-terminal/package.json +1 -1
  238. package/node_modules/@deepseek-ai/dsh-terminal-bash/lib/index.js +2 -2
  239. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +1 -1
  240. package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +1 -1
  241. package/node_modules/@deepseek-ai/dsh-time-context/lib/invariant.js +1 -1
  242. package/node_modules/@deepseek-ai/dsh-time-context/package.json +1 -1
  243. package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
  244. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +1 -1
  245. package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +1 -1
  246. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +1 -1
  247. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +1 -1
  248. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +1 -1
  249. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +1 -1
  250. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +1 -1
  251. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +1 -1
  252. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +2 -2
  253. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +1 -1
  254. package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +1 -1
  255. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +1 -1
  256. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +1 -1
  257. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +1 -1
  258. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +1 -1
  259. package/node_modules/@deepseek-ai/dsh-tool-ralph/lib/index.js +1 -1
  260. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +1 -1
  261. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +1 -1
  262. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/lib/index.js +6 -6
  263. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +1 -1
  264. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +1 -1
  265. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +1 -1
  266. package/node_modules/@deepseek-ai/dsh-tool-subagent-report/package.json +1 -1
  267. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +1 -1
  268. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +1 -1
  269. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +2 -2
  270. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +1 -1
  271. package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +26 -26
  272. package/node_modules/@deepseek-ai/dsh-tools/package.json +1 -1
  273. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +1 -1
  274. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +1 -1
  275. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +1 -1
  276. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +1 -1
  277. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +1 -1
  278. package/node_modules/@deepseek-ai/dsh-web/lib/index.js +1 -1
  279. package/node_modules/@deepseek-ai/dsh-web/package.json +1 -1
  280. package/node_modules/@deepseek-ai/dsh-web-app/package.json +1 -1
  281. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-Dqw48FrP.js → index-BQQQ5Qt-.js} +2 -2
  282. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cpp-DddhVWhK.js +1 -0
  283. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{php-D-uCvoST.js → php-9bx0az3O.js} +1 -1
  284. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{ruby-DEItuUFs.js → ruby-HDLHRjSL.js} +1 -1
  285. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/swift-C2oV4EkX.js +1 -0
  286. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{vendor-Cjbwl5VI.js → vendor-CeMKrCZm.js} +24 -24
  287. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  288. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +1 -1
  289. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/LICENSE +21 -0
  290. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +1 -0
  291. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/invariant.js +1 -0
  292. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +1 -0
  293. package/node_modules/@deepseek-ai/dsh-web-search-dsh/lib/index.js +1 -1
  294. package/node_modules/@deepseek-ai/dsh-web-search-dsh/package.json +1 -1
  295. package/node_modules/@deepseek-ai/dsh-workflow/package.json +1 -1
  296. package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/lib/index.js +2 -2
  297. package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/lib/worker.cjs +3 -4
  298. package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/package.json +1 -1
  299. package/node_modules/@deepseek-ai/dsh-workspace/lib/invariant.js +1 -1
  300. package/node_modules/@deepseek-ai/dsh-workspace/package.json +1 -1
  301. package/node_modules/@deepseek-ai/node-addon-landlock-run/package.json +1 -1
  302. package/package.json +1 -1
  303. package/lib/profile-boot-_PCyp_wB.js +0 -1
  304. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-BjBvdldw.js +0 -1
  305. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cpp-DIPi6g--.js +0 -1
  306. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/swift-D82vCrfD.js +0 -1
  307. /package/lib/{profile-boot-B71dQloK.js → profile-boot-DDo03lXi.js} +0 -0
@@ -1,6 +1,6 @@
1
- var l0=Object.defineProperty;var o=(e,t)=>l0(e,"name",{value:t,configurable:!0});var c0=Object.defineProperty,u0=Object.getPrototypeOf,p0=Reflect.get,ji=o(e=>{throw TypeError(e)},"qs"),h0=o((e,t,n)=>t in e?c0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"cc"),N=o((e,t,n)=>h0(e,typeof t!="symbol"?t+"":t,n),"z"),Da=o((e,t,n)=>t.has(e)||ji("Cannot "+n),"qa"),Ze=o((e,t,n)=>(Da(e,t,"read from private field"),n?n.call(e):t.get(e)),"je"),Sn=o((e,t,n)=>t.has(e)?ji("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),"cn"),bt=o((e,t,n,r)=>(Da(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),"gt"),Di=o((e,t,n)=>(Da(e,t,"access private method"),n),"ja"),m0=o((e,t,n)=>p0(u0(e),n,t),"js"),ve=class extends Error{static{o(this,"be")}constructor(e){super(e),this.name="ShikiError"}};function d0(e){return Ha(e)}o(d0,"mc");function Ha(e){return Array.isArray(e)?g0(e):e instanceof RegExp?e:typeof e=="object"?f0(e):e}o(Ha,"cs");function g0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ha(e[n]);return t}o(g0,"hc");function f0(e){let t={};for(let n in e)t[n]=Ha(e[n]);return t}o(f0,"pc");function Hi(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}o(Hi,"Nl");function Gi(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Gi(e.substring(0,e.length-1)):e.substr(~t+1)}o(Gi,"Bl");var Ga=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Tr=class{static{o(this,"Ar")}static hasCaptures(e){return e===null?!1:(Ga.lastIndex=0,Ga.test(e))}static replaceCaptures(e,t,n){return e.replace(Ga,(r,a,s,i)=>{let l=n[parseInt(a||s,10)];if(l){let c=t.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(i){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return r})}};function Ui(e,t){return e<t?-1:e>t?1:0}o(Ui,"Dl");function Wi(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let a=0;a<n;a++){let s=Ui(e[a],t[a]);if(s!==0)return s}return 0}return n-r}o(Wi,"Ll");function Vi(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}o(Vi,"Gs");function Xi(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}o(Xi,"Fl");var Yi=class{static{o(this,"Pl")}constructor(e){N(this,"cache",new Map),this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Ir=class{static{o(this,"Yr")}constructor(e,t,n){N(this,"_cachedMatchRoot",new Yi(r=>this._root.match(r))),this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(v0(e),t)}static createFromParsedTheme(e,t){return x0(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,n=this._cachedMatchRoot.get(t).find(r=>b0(e.parent,r.parentScopes));return n?new Zi(n.fontStyle,n.foreground,n.background):null}},Ua=class La{static{o(this,"jr")}constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new La(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new La(n,t[r]);return n}push(t){return new La(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function b0(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],a=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],a=!0}for(;e&&!y0(e.scopeName,r);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}o(b0,"dc");function y0(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}o(y0,"fc");var Zi=class{static{o(this,"Ol")}constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function v0(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let a=0,s=t.length;a<s;a++){let i=t[a];if(!i.settings)continue;let l;if(typeof i.scope=="string"){let p=i.scope;p=p.replace(/^[,]+/,""),p=p.replace(/[,]+$/,""),l=p.split(",")}else Array.isArray(i.scope)?l=i.scope:l=[""];let c=-1;if(typeof i.settings.fontStyle=="string"){c=0;let p=i.settings.fontStyle.split(" ");for(let f=0,g=p.length;f<g;f++)switch(p[f]){case"italic":c=c|1;break;case"bold":c=c|2;break;case"underline":c=c|4;break;case"strikethrough":c=c|8;break}}let u=null;typeof i.settings.foreground=="string"&&Vi(i.settings.foreground)&&(u=i.settings.foreground);let m=null;typeof i.settings.background=="string"&&Vi(i.settings.background)&&(m=i.settings.background);for(let p=0,f=l.length;p<f;p++){let g=l[p].trim().split(" "),y=g[g.length-1],_=null;g.length>1&&(_=g.slice(0,g.length-1),_.reverse()),n[r++]=new w0(y,_,a,c,u,m)}}return n}o(v0,"gc");var w0=class{static{o(this,"bc")}constructor(e,t,n,r,a,s){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=a,this.background=s}},Oe=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Oe||{});function x0(e,t){e.sort((c,u)=>{let m=Ui(c.scope,u.scope);return m!==0||(m=Wi(c.parentScopes,u.parentScopes),m!==0)?m:c.index-u.index});let n=0,r="#000000",a="#ffffff";for(;e.length>=1&&e[0].scope==="";){let c=e.shift();c.fontStyle!==-1&&(n=c.fontStyle),c.foreground!==null&&(r=c.foreground),c.background!==null&&(a=c.background)}let s=new k0(t),i=new Zi(n,s.getId(r),s.getId(a)),l=new $0(new Wa(0,null,-1,0,0),[]);for(let c=0,u=e.length;c<u;c++){let m=e[c];l.insert(0,m.scope,m.parentScopes,m.fontStyle,s.getId(m.foreground),s.getId(m.background))}return new Ir(s,i,l)}o(x0,"yc");var k0=class{static{o(this,"vc")}constructor(e){if(N(this,"_isFrozen"),N(this,"_lastColorId"),N(this,"_id2color"),N(this,"_color2id"),this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},_0=Object.freeze([]),Wa=class s0{static{o(this,"ql")}constructor(t,n,r,a,s){N(this,"scopeDepth"),N(this,"parentScopes"),N(this,"fontStyle"),N(this,"foreground"),N(this,"background"),this.scopeDepth=t,this.parentScopes=n||_0,this.fontStyle=r,this.foreground=a,this.background=s}clone(){return new s0(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,a=t.length;r<a;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,a){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),a!==0&&(this.background=a)}},$0=class qi{static{o(this,"$i")}constructor(t,n=[],r={}){N(this,"_rulesWithParentScopes"),this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,a=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[a]===">"&&a++,!(r>=t.parentScopes.length||a>=n.parentScopes.length);){const s=n.parentScopes[a].length-t.parentScopes[r].length;if(s!==0)return s;r++,a++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),a,s;if(r===-1?(a=t,s=""):(a=t.substring(0,r),s=t.substring(r+1)),this._children.hasOwnProperty(a))return this._children[a].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(qi._cmpBySpecificity),n}insert(t,n,r,a,s,i){if(n===""){this._doInsertHere(t,r,a,s,i);return}let l=n.indexOf("."),c,u;l===-1?(c=n,u=""):(c=n.substring(0,l),u=n.substring(l+1));let m;this._children.hasOwnProperty(c)?m=this._children[c]:(m=new qi(this._mainRule.clone(),Wa.cloneArr(this._rulesWithParentScopes)),this._children[c]=m),m.insert(t+1,u,r,a,s,i)}_doInsertHere(t,n,r,a,s){if(n===null){this._mainRule.acceptOverwrite(t,r,a,s);return}for(let i=0,l=this._rulesWithParentScopes.length;i<l;i++){let c=this._rulesWithParentScopes[i];if(Wi(c.parentScopes,n)===0){c.acceptOverwrite(t,r,a,s);return}}r===-1&&(r=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Wa(t,n,r,a,s))}},sn=class ht{static{o(this,"ot")}static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=ht.getLanguageId(t),r=ht.getTokenType(t),a=ht.getFontStyle(t),s=ht.getForeground(t),i=ht.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:a,foreground:s,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,a,s,i,l){let c=ht.getLanguageId(t),u=ht.getTokenType(t),m=ht.containsBalancedBrackets(t)?1:0,p=ht.getFontStyle(t),f=ht.getForeground(t),g=ht.getBackground(t);return n!==0&&(c=n),r!==8&&(u=r),a!==null&&(m=a?1:0),s!==-1&&(p=s),i!==0&&(f=i),l!==0&&(g=l),(c<<0|u<<8|m<<10|p<<11|f<<15|g<<24)>>>0}};function Mr(e,t){const n=[],r=C0(e);let a=r.next();for(;a!==null;){let c=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":c=1;break;case"L":c=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=r.next()}let u=i();if(n.push({matcher:u,priority:c}),a!==",")break;a=r.next()}return n;function s(){if(a==="-"){a=r.next();const c=s();return u=>!!c&&!c(u)}if(a==="("){a=r.next();const c=l();return a===")"&&(a=r.next()),c}if(Ki(a)){const c=[];do c.push(a),a=r.next();while(Ki(a));return u=>t(c,u)}return null}function i(){const c=[];let u=s();for(;u;)c.push(u),u=s();return m=>c.every(p=>p(m))}function l(){const c=[];let u=i();for(;u&&(c.push(u),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");u=i()}return m=>c.some(p=>p(m))}}o(Mr,"Zr");function Ki(e){return!!e&&!!e.match(/[\w\.:]+/)}o(Ki,"Hs");function C0(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:o(()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r},"next")}}o(C0,"kc");function Qi(e){typeof e.dispose=="function"&&e.dispose()}o(Qi,"jl");var Qn=class{static{o(this,"sr")}constructor(e){this.scopeName=e}toKey(){return this.scopeName}},S0=class{static{o(this,"_c")}constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},A0=class{static{o(this,"$c")}constructor(){N(this,"_references",[]),N(this,"_seenReferenceKeys",new Set),N(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},T0=class{static{o(this,"Cc")}constructor(e,t){N(this,"seenFullScopeRequests",new Set),N(this,"seenPartialScopeRequests",new Set),N(this,"Q"),this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Qn(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new A0;for(const n of e)I0(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Qn){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function I0(e,t,n,r){const a=n.lookup(e.scopeName);if(!a){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof Qn?zr({baseGrammar:s,selfGrammar:a},r):Va(e.ruleName,{baseGrammar:s,selfGrammar:a,repository:a.repository},r);const i=n.injections(e.scopeName);if(i)for(const l of i)r.add(new Qn(l))}o(I0,"Sc");function Va(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Er([r],t,n)}}o(Va,"Ci");function zr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Er(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Er(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}o(zr,"Gr");function Er(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?Hi({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Er(r.patterns,{...t,repository:a},n);const s=r.include;if(!s)continue;const i=Ji(s);switch(i.kind){case 0:zr({...t,selfGrammar:t.baseGrammar},n);break;case 1:zr(t,n);break;case 2:Va(i.ruleName,{...t,repository:a},n);break;case 3:case 4:const l=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const c={baseGrammar:t.baseGrammar,selfGrammar:l,repository:a};i.kind===4?Va(i.ruleName,c,n):zr(c,n)}else i.kind===4?n.add(new S0(i.scopeName,i.ruleName)):n.add(new Qn(i.scopeName));break}}}o(Er,"Kr");var M0=class{static{o(this,"Ac")}constructor(){N(this,"kind",0)}},z0=class{static{o(this,"Tc")}constructor(){N(this,"kind",1)}},E0=class{static{o(this,"Ec")}constructor(e){N(this,"kind",2),this.ruleName=e}},N0=class{static{o(this,"Mc")}constructor(e){N(this,"kind",3),this.scopeName=e}},B0=class{static{o(this,"Ic")}constructor(e,t){N(this,"kind",4),this.scopeName=e,this.ruleName=t}};function Ji(e){if(e==="$base")return new M0;if(e==="$self")return new z0;const t=e.indexOf("#");if(t===-1)return new N0(e);if(t===0)return new E0(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new B0(n,r)}}o(Ji,"Gl");var R0=/\\(\d+)/,eo=/\\(\d+)/g,P0=-1,to=-2,Jn=class{static{o(this,"dr")}constructor(e,t,n,r){N(this,"$location"),N(this,"id"),N(this,"_nameIsCapturing"),N(this,"_name"),N(this,"_contentNameIsCapturing"),N(this,"_contentName"),this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Tr.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Tr.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Gi(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Tr.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Tr.replaceCaptures(this._contentName,e,t)}},L0=class extends Jn{static{o(this,"Nc")}constructor(e,t,n,r,a){super(e,t,n,r),N(this,"retokenizeCapturedWithRuleId"),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},O0=class extends Jn{static{o(this,"Bc")}constructor(e,t,n,r,a){super(e,t,n,null),N(this,"_match"),N(this,"captures"),N(this,"_cachedCompiledPatterns"),this._match=new er(r,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new tr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},no=class extends Jn{static{o(this,"Ws")}constructor(e,t,n,r,a){super(e,t,n,r),N(this,"hasMissingPatterns"),N(this,"patterns"),N(this,"_cachedCompiledPatterns"),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new tr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xa=class extends Jn{static{o(this,"Si")}constructor(e,t,n,r,a,s,i,l,c,u){super(e,t,n,r),N(this,"_begin"),N(this,"beginCaptures"),N(this,"_end"),N(this,"endHasBackReferences"),N(this,"endCaptures"),N(this,"applyEndPatternLast"),N(this,"hasMissingPatterns"),N(this,"patterns"),N(this,"_cachedCompiledPatterns"),this._begin=new er(a,this.id),this.beginCaptures=s,this._end=new er(i||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new tr;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Nr=class extends Jn{static{o(this,"Qr")}constructor(e,t,n,r,a,s,i,l,c){super(e,t,n,r),N(this,"_begin"),N(this,"beginCaptures"),N(this,"whileCaptures"),N(this,"_while"),N(this,"whileHasBackReferences"),N(this,"hasMissingPatterns"),N(this,"patterns"),N(this,"_cachedCompiledPatterns"),N(this,"_cachedCompiledWhilePatterns"),this._begin=new er(a,this.id),this.beginCaptures=s,this.whileCaptures=l,this._while=new er(i,to),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new tr;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new tr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},ro=class je{static{o(this,"Le")}static createCaptureRule(t,n,r,a,s){return t.registerRule(i=>new L0(n,i,r,a,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(a=>{if(t.id=a,t.match)return new O0(t.$vscodeTextmateLocation,t.id,t.name,t.match,je._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Hi({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new no(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,je._compilePatterns(s,n,r))}return t.while?new Nr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,je._compileCaptures(t.whileCaptures||t.captures,n,r),je._compilePatterns(t.patterns,n,r)):new Xa(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,je._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,je._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let a=[];if(t){let s=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);l>s&&(s=l)}for(let i=0;i<=s;i++)a[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);let c=0;t[i].patterns&&(c=je.getCompiledRuleId(t[i],n,r)),a[l]=je.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,c)}}return a}static _compilePatterns(t,n,r){let a=[];if(t)for(let s=0,i=t.length;s<i;s++){const l=t[s];let c=-1;if(l.include){const u=Ji(l.include);switch(u.kind){case 0:case 1:c=je.getCompiledRuleId(r[l.include],n,r);break;case 2:let m=r[u.ruleName];m&&(c=je.getCompiledRuleId(m,n,r));break;case 3:case 4:const p=u.scopeName,f=u.kind===4?u.ruleName:null,g=n.getExternalGrammar(p,r);if(g)if(f){let y=g.repository[f];y&&(c=je.getCompiledRuleId(y,n,g.repository))}else c=je.getCompiledRuleId(g.repository.$self,n,g.repository);break}}else c=je.getCompiledRuleId(l,n,r);if(c!==-1){const u=n.getRule(c);let m=!1;if((u instanceof no||u instanceof Xa||u instanceof Nr)&&u.hasMissingPatterns&&u.patterns.length===0&&(m=!0),m)continue;a.push(c)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},er=class i0{static{o(this,"Wl")}constructor(t,n){if(N(this,"source"),N(this,"ruleId"),N(this,"hasAnchor"),N(this,"hasBackReferences"),N(this,"_anchorCache"),t&&typeof t=="string"){const r=t.length;let a=0,s=[],i=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(s.push(t.substring(a,l)),s.push("$(?!\\n)(?<!\\n)"),a=l+2):(c==="A"||c==="G")&&(i=!0),l++}this.hasAnchor=i,a===0?this.source=t:(s.push(t.substring(a,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=R0.test(this.source):this.hasBackReferences=!1}clone(){return new i0(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(a=>t.substring(a.start,a.end));return eo.lastIndex=0,this.source.replace(eo,(a,s)=>Xi(r[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],a=[],s,i,l,c;for(s=0,i=this.source.length;s<i;s++)l=this.source.charAt(s),t[s]=l,n[s]=l,r[s]=l,a[s]=l,l==="\\"&&s+1<i&&(c=this.source.charAt(s+1),c==="A"?(t[s+1]="￿",n[s+1]="￿",r[s+1]="A",a[s+1]="A"):c==="G"?(t[s+1]="￿",n[s+1]="G",r[s+1]="￿",a[s+1]="G"):(t[s+1]=c,n[s+1]=c,r[s+1]=c,a[s+1]=c),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:a.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},tr=class{static{o(this,"lr")}constructor(){N(this,"_items"),N(this,"_hasAnchors"),N(this,"_cached"),N(this,"_anchorCache"),this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new ao(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(a=>a.resolveAnchors(t,n));return new ao(e,r,this._items.map(a=>a.ruleId))}},ao=class{static{o(this,"Vs")}constructor(e,t,n){N(this,"scanner"),this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
2
- `)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Ya=class{static{o(this,"Ua")}constructor(e,t){this.languageId=e,this.tokenType=t}},An,F0=(An=class{static{o(this,"Dt")}constructor(e,t){N(this,"_defaultAttributes"),N(this,"_embeddedLanguagesMatcher"),N(this,"_getBasicScopeAttributes",new Yi(n=>{const r=this._scopeToLanguage(n),a=this._toStandardTokenType(n);return new Ya(r,a)})),this._defaultAttributes=new Ya(e,8),this._embeddedLanguagesMatcher=new q0(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?An._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(An.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},N(An,"_NULL_SCOPE_METADATA",new Ya(0,0)),N(An,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),An),q0=class{static{o(this,"Lc")}constructor(e){if(N(this,"values"),N(this,"scopesRegExp"),e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Xi(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},so=class{static{o(this,"Xs")}constructor(e,t){this.stack=e,this.stoppedEarly=t}};function io(e,t,n,r,a,s,i,l){const c=t.content.length;let u=!1,m=-1;if(i){const g=j0(e,t,n,r,a,s);a=g.stack,r=g.linePos,n=g.isFirstLine,m=g.anchorPosition}const p=Date.now();for(;!u;){if(l!==0&&Date.now()-p>l)return new so(a,!0);f()}return new so(a,!1);function f(){const g=D0(e,t,n,r,a,m);if(!g){s.produce(a,c),u=!0;return}const y=g.captureIndices,_=g.matchedRuleId,T=y&&y.length>0?y[0].end>r:!1;if(_===P0){const k=a.getRule(e);s.produce(a,y[0].start),a=a.withContentNameScopesList(a.nameScopesList),nr(e,t,n,a,s,k.endCaptures,y),s.produce(a,y[0].end);const $=a;if(a=a.parent,m=$.getAnchorPos(),!T&&$.getEnterPos()===r){a=$,s.produce(a,c),u=!0;return}}else{const k=e.getRule(_);s.produce(a,y[0].start);const $=a,M=k.getName(t.content,y),E=a.contentNameScopesList.pushAttributed(M,e);if(a=a.push(_,r,m,y[0].end===c,null,E,E),k instanceof Xa){const P=k;nr(e,t,n,a,s,P.beginCaptures,y),s.produce(a,y[0].end),m=y[0].end;const I=P.getContentName(t.content,y),L=E.pushAttributed(I,e);if(a=a.withContentNameScopesList(L),P.endHasBackReferences&&(a=a.withEndRule(P.getEndWithResolvedBackReferences(t.content,y))),!T&&$.hasSameRuleAs(a)){a=a.pop(),s.produce(a,c),u=!0;return}}else if(k instanceof Nr){const P=k;nr(e,t,n,a,s,P.beginCaptures,y),s.produce(a,y[0].end),m=y[0].end;const I=P.getContentName(t.content,y),L=E.pushAttributed(I,e);if(a=a.withContentNameScopesList(L),P.whileHasBackReferences&&(a=a.withEndRule(P.getWhileWithResolvedBackReferences(t.content,y))),!T&&$.hasSameRuleAs(a)){a=a.pop(),s.produce(a,c),u=!0;return}}else if(nr(e,t,n,a,s,k.captures,y),s.produce(a,y[0].end),a=a.pop(),!T){a=a.safePop(),s.produce(a,c),u=!0;return}}y[0].end>r&&(r=y[0].end,n=!1)}}o(io,"Vl");function j0(e,t,n,r,a,s){let i=a.beginRuleCapturedEOL?0:-1;const l=[];for(let c=a;c;c=c.pop()){const u=c.getRule(e);u instanceof Nr&&l.push({rule:u,stack:c})}for(let c=l.pop();c;c=l.pop()){const{ruleScanner:u,findOptions:m}=U0(c.rule,e,c.stack.endRule,n,r===i),p=u.findNextMatchSync(t,r,m);if(p){if(p.ruleId!==to){a=c.stack.pop();break}p.captureIndices&&p.captureIndices.length&&(s.produce(c.stack,p.captureIndices[0].start),nr(e,t,n,c.stack,s,c.rule.whileCaptures,p.captureIndices),s.produce(c.stack,p.captureIndices[0].end),i=p.captureIndices[0].end,p.captureIndices[0].end>r&&(r=p.captureIndices[0].end,n=!1))}else{a=c.stack.pop();break}}return{stack:a,linePos:r,anchorPosition:i,isFirstLine:n}}o(j0,"Fc");function D0(e,t,n,r,a,s){const i=H0(e,t,n,r,a,s),l=e.getInjections();if(l.length===0)return i;const c=G0(l,e,t,n,r,a,s);if(!c)return i;if(!i)return c;const u=i.captureIndices[0].start,m=c.captureIndices[0].start;return m<u||c.priorityMatch&&m===u?c:i}o(D0,"Pc");function H0(e,t,n,r,a,s){const i=a.getRule(e),{ruleScanner:l,findOptions:c}=oo(i,e,a.endRule,n,r===s),u=l.findNextMatchSync(t,r,c);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}o(H0,"Oc");function G0(e,t,n,r,a,s,i){let l=Number.MAX_VALUE,c=null,u,m=0;const p=s.contentNameScopesList.getScopeNames();for(let f=0,g=e.length;f<g;f++){const y=e[f];if(!y.matcher(p))continue;const _=t.getRule(y.ruleId),{ruleScanner:T,findOptions:k}=oo(_,t,null,r,a===i),$=T.findNextMatchSync(n,a,k);if(!$)continue;const M=$.captureIndices[0].start;if(!(M>=l)&&(l=M,c=$.captureIndices,u=$.ruleId,m=y.priority,l===a))break}return c?{priorityMatch:m===-1,captureIndices:c,matchedRuleId:u}:null}o(G0,"qc");function oo(e,t,n,r,a){return{ruleScanner:e.compileAG(t,n,r,a),findOptions:0}}o(oo,"Xl");function U0(e,t,n,r,a){return{ruleScanner:e.compileWhileAG(t,n,r,a),findOptions:0}}o(U0,"jc");function nr(e,t,n,r,a,s,i){if(s.length===0)return;const l=t.content,c=Math.min(s.length,i.length),u=[],m=i[0].end;for(let p=0;p<c;p++){const f=s[p];if(f===null)continue;const g=i[p];if(g.length===0)continue;if(g.start>m)break;for(;u.length>0&&u[u.length-1].endPos<=g.start;)a.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?a.produceFromScopes(u[u.length-1].scopes,g.start):a.produce(r,g.start),f.retokenizeCapturedWithRuleId){const _=f.getName(l,i),T=r.contentNameScopesList.pushAttributed(_,e),k=f.getContentName(l,i),$=T.pushAttributed(k,e),M=r.push(f.retokenizeCapturedWithRuleId,g.start,-1,!1,null,T,$),E=e.createOnigString(l.substring(0,g.end));io(e,E,n&&g.start===0,g.start,M,a,!1,0),Qi(E);continue}const y=f.getName(l,i);if(y!==null){const _=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(y,e);u.push(new W0(_,g.end))}}for(;u.length>0;)a.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}o(nr,"er");var W0=class{static{o(this,"Gc")}constructor(e,t){N(this,"scopes"),N(this,"endPos"),this.scopes=e,this.endPos=t}};function V0(e,t,n,r,a,s,i,l){return new Y0(e,t,n,r,a,s,i,l)}o(V0,"Hc");function lo(e,t,n,r,a){const s=Mr(t,Br),i=ro.getCompiledRuleId(n,r,a.repository);for(const l of s)e.push({debugSelector:t,matcher:l.matcher,ruleId:i,grammar:a,priority:l.priority})}o(lo,"Ys");function Br(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let a=n;a<t.length;a++)if(X0(t[a],r))return n=a+1,!0;return!1})}o(Br,"Jr");function X0(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}o(X0,"Uc");var Y0=class{static{o(this,"Wc")}constructor(e,t,n,r,a,s,i,l){if(N(this,"_rootId"),N(this,"_lastRuleId"),N(this,"_ruleId2desc"),N(this,"_includedGrammars"),N(this,"_grammarRepository"),N(this,"_grammar"),N(this,"_injections"),N(this,"_basicScopeAttributesProvider"),N(this,"_tokenTypeMatchers"),this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=l,this._basicScopeAttributesProvider=new F0(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=co(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const c of Object.keys(a)){const u=Mr(c,Br);for(const m of u)this._tokenTypeMatchers.push({matcher:m.matcher,type:a[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o(a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),"lookup"),injections:o(a=>this._grammarRepository.injections(a),"injections")},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const a=r.injections;if(a)for(let i in a)lo(t,i,a[i],this,r);const s=this._grammarRepository.injections(n);s&&s.forEach(i=>{const l=this.getExternalGrammar(i);if(l){const c=l.injectionSelector;c&&lo(t,c,l,this,l)}})}return t.sort((a,s)=>a.priority-s.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=co(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=ro.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===Za.NULL){a=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),m=this.themeProvider.getDefaults(),p=sn.set(0,u.languageId,u.tokenType,null,m.fontStyle,m.foregroundId,m.backgroundId),f=this.getRule(this._rootId).getName(null,null);let g;f?g=rr.createRootAndLookUpScopeName(f,p,this):g=rr.createRoot("unknown",p),t=new Za(null,this._rootId,-1,-1,!1,null,g,g)}else a=!1,t.reset();e=e+`
3
- `;const s=this.createOnigString(e),i=s.content.length,l=new K0(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=io(this,s,a,0,t,l,!0,r);return Qi(s),{lineLength:i,lineTokens:l,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function co(e,t){return e=d0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}o(co,"Zs");var rr=class $t{static{o(this,"xt")}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,a=t?.scopePath??null;for(const s of n)a=Ua.push(a,s.scopeNames),r=new $t(r,a,s.encodedTokenAttributes);return r}static createRoot(t,n){return new $t(null,new Ua(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const a=r.getMetadataForScope(t),s=new Ua(null,t),i=r.themeProvider.themeMatch(s),l=$t.mergeAttributes(n,a,i);return new $t(null,s,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return $t.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let a=-1,s=0,i=0;return r!==null&&(a=r.fontStyle,s=r.foregroundId,i=r.backgroundId),sn.set(t,n.languageId,n.tokenType,null,a,s,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return $t._pushAttributed(this,t,n);const r=t.split(/ /g);let a=this;for(const s of r)a=$t._pushAttributed(a,s,n);return a}static _pushAttributed(t,n,r){const a=r.getMetadataForScope(n),s=t.scopePath.push(n),i=r.themeProvider.themeMatch(s),l=$t.mergeAttributes(t.tokenAttributes,a,i);return new $t(t,s,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var n;const r=[];let a=this;for(;a&&a!==t;)r.push({encodedTokenAttributes:a.tokenAttributes,scopeNames:a.scopePath.getExtensionIfDefined(((n=a.parent)==null?void 0:n.scopePath)??null)}),a=a.parent;return a===t?r.reverse():void 0}},Mt,Za=(Mt=class{static{o(this,"ut")}constructor(e,t,n,r,a,s,i,l){N(this,"_stackElementBrand"),N(this,"_enterPos"),N(this,"_anchorPos"),N(this,"depth"),this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=a,this.endRule=s,this.nameScopesList=i,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}equals(e){return e===null?!1:Mt._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?rr.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){Mt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,n,r,a,s,i){return new Mt(this,e,t,n,r,a,s,i)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var n,r;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(r=this.contentNameScopesList)==null?void 0:r.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new Mt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,n;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((n=this.contentNameScopesList)==null?void 0:n.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const n=rr.fromExtension(e?.nameScopesList??null,t.nameScopesList);return new Mt(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,n,rr.fromExtension(n,t.contentNameScopesList))}},N(Mt,"NULL",new Mt(null,0,0,0,!1,null,null,null)),Mt),Z0=class{static{o(this,"Vc")}constructor(e,t){N(this,"balancedBracketScopes"),N(this,"unbalancedBracketScopes"),N(this,"allowAny",!1),this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Mr(n,Br).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Mr(n,Br).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},K0=class{static{o(this,"Xc")}constructor(e,t,n,r){N(this,"_emitBinaryTokens"),N(this,"_lineText"),N(this,"_tokens"),N(this,"_binaryTokens"),N(this,"_lastTokenEndIndex"),N(this,"_tokenTypeOverrides"),this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let a=e?.tokenAttributes??0,s=!1;if((n=this.balancedBracketSelectors)!=null&&n.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=e?.getScopeNames()??[];for(const l of this._tokenTypeOverrides)l.matcher(i)&&(a=sn.set(a,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(i))}if(s&&(a=sn.set(a,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===a){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(a),this._lastTokenEndIndex=t;return}const r=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,a=this._binaryTokens.length;r<a;r++)n[r]=this._binaryTokens[r];return n}},Q0=class{static{o(this,"Yc")}constructor(e,t){N(this,"_grammars",new Map),N(this,"_rawGrammars",new Map),N(this,"_injectionGrammars",new Map),N(this,"_theme"),this._onigLib=t,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,a){if(!this._grammars.has(e)){let s=this._rawGrammars.get(e);if(!s)return null;this._grammars.set(e,V0(e,s,t,n,r,a,this,this._onigLib))}return this._grammars.get(e)}},J0=class{static{o(this,"Zc")}constructor(e){N(this,"_options"),N(this,"_syncRegistry"),N(this,"_ensureGrammarCache"),this._options=e,this._syncRegistry=new Q0(Ir.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Ir.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new Z0(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,a){const s=new T0(this._syncRegistry,e);for(;s.Q.length>0;)s.Q.map(i=>this._loadSingleGrammar(i.scopeName)),s.processQueue();return this._grammarForScopeName(e,t,n,r,a)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const n=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,a=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,a)}},Ka=Za.NULL;function Rr(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[a,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[a]=s:a===r&&Object.assign(n,s);return n}o(Rr,"ea");function Ht(e,t){return e&&(t?.[e?.toLowerCase()]||e)}o(Ht,"Qt");function ep(e){return Array.isArray(e)?e:[e]}o(ep,"Kc");async function uo(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}o(uo,"Yl");function Pr(e){return!e||["plaintext","txt","text","plain"].includes(e)}o(Pr,"da");function tp(e){return e==="ansi"||Pr(e)}o(tp,"Qc");function Lr(e){return e==="none"}o(Lr,"fa");function np(e){return Lr(e)}o(np,"Jc");const rp=/(\r?\n)/g;function Or(e,t=!1){var n;if(e.length===0)return[["",0]];const r=e.split(rp);let a=0;const s=[];for(let i=0;i<r.length;i+=2){const l=t?r[i]+(r[i+1]||""):r[i];s.push([l,a]),a+=r[i].length,a+=((n=r[i+1])==null?void 0:n.length)||0}return s}o(Or,"ga");const po={light:"#333333",dark:"#bbbbbb"},ho={light:"#fffffe",dark:"#1e1e1e"},mo="__shiki_resolved";function Qa(e){var t,n,r,a,s;if(e!=null&&e[mo])return e;const i={...e};i.tokenColors&&!i.settings&&(i.settings=i.tokenColors,delete i.tokenColors),i.type||(i.type="dark"),i.colorReplacements={...i.colorReplacements},i.settings||(i.settings=[]);let{bg:l,fg:c}=i;if(!l||!c){const f=i.settings?i.settings.find(g=>!g.name&&!g.scope):void 0;(t=f?.settings)!=null&&t.foreground&&(c=f.settings.foreground),(n=f?.settings)!=null&&n.background&&(l=f.settings.background),!c&&(r=i?.colors)!=null&&r["editor.foreground"]&&(c=i.colors["editor.foreground"]),!l&&(a=i?.colors)!=null&&a["editor.background"]&&(l=i.colors["editor.background"]),c||(c=i.type==="light"?po.light:po.dark),l||(l=i.type==="light"?ho.light:ho.dark),i.fg=c,i.bg=l}i.settings[0]&&i.settings[0].settings&&!i.settings[0].scope||i.settings.unshift({settings:{foreground:i.fg,background:i.bg}});let u=0;const m=new Map;function p(f){var g;if(m.has(f))return m.get(f);u+=1;const y=`#${u.toString(16).padStart(8,"0").toLowerCase()}`;return(g=i.colorReplacements)!=null&&g[`#${y}`]?p(f):(m.set(f,y),y)}o(p,"s"),i.settings=i.settings.map(f=>{var g,y;const _=((g=f.settings)==null?void 0:g.foreground)&&!f.settings.foreground.startsWith("#"),T=((y=f.settings)==null?void 0:y.background)&&!f.settings.background.startsWith("#");if(!_&&!T)return f;const k={...f,settings:{...f.settings}};if(_){const $=p(f.settings.foreground);i.colorReplacements[$]=f.settings.foreground,k.settings.foreground=$}if(T){const $=p(f.settings.background);i.colorReplacements[$]=f.settings.background,k.settings.background=$}return k});for(const f of Object.keys(i.colors||{}))if((f==="editor.foreground"||f==="editor.background"||f.startsWith("terminal.ansi"))&&!((s=i.colors[f])!=null&&s.startsWith("#"))){const g=p(i.colors[f]);i.colorReplacements[g]=i.colors[f],i.colors[f]=g}return Object.defineProperty(i,mo,{enumerable:!1,writable:!1,value:!0}),i}o(Qa,"ms");async function ap(e){return[...new Set((await Promise.all(e.filter(t=>!tp(t)).map(async t=>await uo(t).then(n=>Array.isArray(n)?n:[n])))).flat())]}o(ap,"tm");async function sp(e){return(await Promise.all(e.map(async t=>np(t)?null:Qa(await uo(t))))).filter(t=>!!t)}o(sp,"nm");function go(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new ve(`Circular alias \`${[...n].join(" -> ")} -> ${e}\``);n.add(e)}}return e}o(go,"Zl");var ip=class extends J0{static{o(this,"rm")}constructor(e,t,n,r={}){super(e),N(this,"_resolver"),N(this,"_themes"),N(this,"_langs"),N(this,"_alias"),N(this,"_resolvedThemes",new Map),N(this,"_resolvedGrammars",new Map),N(this,"_langMap",new Map),N(this,"_langGraph",new Map),N(this,"_textmateThemeCache",new WeakMap),N(this,"_loadedThemesCache",null),N(this,"_loadedLanguagesCache",null),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(a=>this.loadTheme(a)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=Qa(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=Ir.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=go(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){var t,n,r,a;if(this.getGrammar(e.name))return;const s=new Set([...this._langMap.values()].filter(c=>{var u;return(u=c.embeddedLangsLazy)==null?void 0:u.includes(e.name)}));this._resolver.addLanguage(e);const i={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const l=this.loadGrammarWithConfiguration(e.scopeName,1,i);if(l.name=e.name,this._resolvedGrammars.set(e.name,l),e.aliases&&e.aliases.forEach(c=>{this._alias[c]=e.name}),this._loadedLanguagesCache=null,s.size)for(const c of s)this._resolvedGrammars.delete(c.name),this._loadedLanguagesCache=null,(n=(t=this._syncRegistry)==null?void 0:t._injectionGrammars)==null||n.delete(c.scopeName),(a=(r=this._syncRegistry)==null?void 0:r._grammars)==null||a.delete(c.scopeName),this.loadLanguage(this._langMap.get(c.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const r of e)this.resolveEmbeddedLanguages(r);const t=[...this._langGraph.entries()],n=t.filter(([r,a])=>!a);if(n.length){const r=t.filter(([a,s])=>{var i;return s?(i=s.embeddedLanguages||s.embeddedLangs)==null?void 0:i.some(l=>n.map(([c])=>c).includes(l)):!1}).filter(a=>!n.includes(a));throw new ve(`Missing languages ${n.map(([a])=>`\`${a}\``).join(", ")}, required by ${r.map(([a])=>`\`${a}\``).join(", ")}`)}for(const[r,a]of t)this._resolver.addLanguage(a);for(const[r,a]of t)this.loadLanguage(a)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const n of t)this._langGraph.set(n,this._langMap.get(n))}},op=class{static{o(this,"am")}constructor(e,t){N(this,"_langs",new Map),N(this,"_scopeToLang",new Map),N(this,"_injections",new Map),N(this,"_onigLib"),this._onigLib={createOnigScanner:o(n=>e.createScanner(n),"createOnigScanner"),createOnigString:o(n=>e.createString(n),"createOnigString")},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let r=1;r<=t.length;r++){const a=t.slice(0,r).join(".");n=[...n,...this._injections.get(a)||[]]}return n}};let ar=0;function lp(e){ar+=1,e.warnings!==!1&&ar>=10&&ar%10===0&&console.warn(`[Shiki] ${ar} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new ve("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(Qa),a=new ip(new op(e.engine,n),r,n,e.langAlias);let s;function i($){return go($,e.langAlias)}o(i,"s");function l($){T();const M=a.getGrammar(typeof $=="string"?$:$.name);if(!M)throw new ve(`Language \`${$}\` not found, you may need to load it first`);return M}o(l,"o");function c($){if($==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};T();const M=a.getTheme($);if(!M)throw new ve(`Theme \`${$}\` not found, you may need to load it first`);return M}o(c,"l");function u($){T();const M=c($);return s!==$&&(a.setTheme(M),s=$),{theme:M,colorMap:a.getColorMap()}}o(u,"u");function m(){return T(),a.getLoadedThemes()}o(m,"h");function p(){return T(),a.getLoadedLanguages()}o(p,"c");function f(...$){T(),a.loadLanguages($.flat(1))}o(f,"f");async function g(...$){return f(await ap($))}o(g,"d");function y(...$){T();for(const M of $.flat(1))a.loadTheme(M)}o(y,"b");async function _(...$){return T(),y(await sp($))}o(_,"w");function T(){if(t)throw new ve("Shiki instance has been disposed")}o(T,"A");function k(){t||(t=!0,a.dispose(),ar-=1)}return o(k,"k"),{setTheme:u,getTheme:c,getLanguage:l,getLoadedThemes:m,getLoadedLanguages:p,resolveLangAlias:i,loadLanguage:g,loadLanguageSync:f,loadTheme:_,loadThemeSync:y,dispose:k,[Symbol.dispose]:k}}o(lp,"im");const fo=new WeakMap;function Fr(e,t){fo.set(e,t)}o(Fr,"ba");function sr(e){return fo.get(e)}o(sr,"ur");var qr=class o0{static{o(this,"Ql")}constructor(...t){if(N(this,"_stacks",{}),N(this,"lang"),t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,a]=t;this.lang=r,this._stacks={[a]:n}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new o0(Object.fromEntries(ep(n).map(r=>[r,Ka])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return cp(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function cp(e){const t=[],n=new Set;function r(a){var s;if(n.has(a))return;n.add(a);const i=(s=a?.nameScopesList)==null?void 0:s.scopeName;i&&t.push(i),a.parent&&r(a.parent)}return o(r,"r"),r(e),t}o(cp,"sm");function up(e,t){if(!(e instanceof qr))throw new ve("Invalid grammar state");return e.getInternalStack(t)}o(up,"om");const pp=/,/,hp=/ /;function bo(e,t,n={}){const{theme:r=e.getLoadedThemes()[0]}=n;if(Pr(e.resolveLangAlias(n.lang||"text"))||Lr(r))return Or(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:a,colorMap:s}=e.setTheme(r),i=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==i.name)throw new ve(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${i.name}"`);if(!n.grammarState.themes.includes(a.name))throw new ve(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return dp(t,i,a,s,n)}o(bo,"Jl");function mp(...e){if(e.length===2)return sr(e[1]);const[t,n,r={}]=e,{lang:a="text",theme:s=t.getLoadedThemes()[0]}=r;if(Pr(a)||Lr(s))throw new ve("Plain language does not have grammar state");if(a==="ansi")throw new ve("ANSI language does not have grammar state");const{theme:i,colorMap:l}=t.setTheme(s),c=t.getLanguage(a);return new qr(Ja(n,c,i,l,r).stateStack,c.name,i.name)}o(mp,"cm");function dp(e,t,n,r,a){const s=Ja(e,t,n,r,a),i=new qr(s.stateStack,t.name,n.name);return Fr(s.tokens,i),s.tokens}o(dp,"mm");function Ja(e,t,n,r,a){const s=Rr(n,a),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:l=500,includeExplanation:c=!1}=a,u=Or(e);let m=a.grammarState?up(a.grammarState,n.name)??Ka:a.grammarContextCode!=null?Ja(a.grammarContextCode,t,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:Ka,p=[];const f=[];for(let g=0,y=u.length;g<y;g++){const[_,T]=u[g];if(_===""){p=[],f.push([]);continue}if(i>0&&_.length>=i){p=[],f.push([{content:_,offset:T,color:"",fontStyle:0}]);continue}let k,$,M;c&&c!=="tokenType"&&(k=t.tokenizeLine(_,m,l),$=k.tokens,M=0);const E=t.tokenizeLine2(_,m,l),P=E.tokens.length/2;for(let I=0;I<P;I++){const L=E.tokens[2*I],U=I+1<P?E.tokens[2*I+2]:_.length;if(L===U)continue;const V=E.tokens[2*I+1],z=Ht(r[sn.getForeground(V)],s),G=sn.getFontStyle(V),W={content:_.substring(L,U),offset:T+L,color:z,fontStyle:G};if(c==="tokenType")W.type=sn.getTokenType(V);else if(c){const ae=[];if(c!=="scopeName")for(const K of n.settings){let pe;switch(typeof K.scope){case"string":pe=K.scope.split(pp).map(he=>he.trim());break;case"object":pe=K.scope;break;default:continue}ae.push({settings:K,selectors:pe.map(he=>he.split(hp))})}W.explanation=[];let oe=0;for(;L+oe<U;){const K=$[M],pe=_.substring(K.startIndex,K.endIndex);oe+=pe.length,W.explanation.push({content:pe,scopes:c==="scopeName"?gp(K.scopes):fp(ae,K.scopes)}),M+=1}}p.push(W)}f.push(p),p=[],m=E.ruleStack}return{tokens:f,stateStack:m}}o(Ja,"hs");function gp(e){return e.map(t=>({scopeName:t}))}o(gp,"hm");function fp(e,t){const n=[];for(let r=0,a=t.length;r<a;r++){const s=t[r];n[r]={scopeName:s,themeMatches:yp(e,s,t.slice(0,r))}}return n}o(fp,"pm");function yo(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}o(yo,"eo");function bp(e,t,n){if(!yo(e.at(-1),t))return!1;let r=e.length-2,a=n.length-1;for(;r>=0&&a>=0;)yo(e[r],n[a])&&(r-=1),a-=1;return r===-1}o(bp,"dm");function yp(e,t,n){const r=[];for(const{selectors:a,settings:s}of e)for(const i of a)if(bp(i,t,n)){r.push(s);break}return r}o(yp,"fm");function vo(e,t,n,r=bo){const a=Object.entries(n.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),s=a.map(u=>{const m=r(e,t,{...n,theme:u.theme});return{tokens:m,state:sr(m),theme:typeof u.theme=="string"?u.theme:u.theme.name}}),i=vp(...s.map(u=>u.tokens)),l=i[0].map((u,m)=>u.map((p,f)=>{const g={content:p.content,variants:{},offset:p.offset};return"includeExplanation"in n&&n.includeExplanation&&(g.explanation=p.explanation),i.forEach((y,_)=>{const{content:T,explanation:k,offset:$,...M}=y[m][f];g.variants[a[_].color]=M}),g})),c=s[0].state?new qr(Object.fromEntries(s.map(u=>{var m;return[u.theme,(m=u.state)==null?void 0:m.getInternalStack(u.theme)]})),s[0].state.lang):void 0;return c&&Fr(l,c),l}o(vo,"e0");function vp(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const a=e.map(c=>c[r]),s=t.map(()=>[]);t.forEach((c,u)=>c.push(s[u]));const i=a.map(()=>0),l=a.map(c=>c[0]);for(;l.every(c=>c);){const c=Math.min(...l.map(u=>u.content.length));for(let u=0;u<n;u++){const m=l[u];m.content.length===c?(s[u].push(m),i[u]+=1,l[u]=a[u][i[u]]):(s[u].push({...m,content:m.content.slice(0,c)}),l[u]={...m,content:m.content.slice(c),offset:m.offset+c})}}}return t}o(vp,"gm");const wp=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ir{static{o(this,"fr")}constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ir.prototype.normal={},ir.prototype.property={},ir.prototype.space=void 0;function wo(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new ir(n,r,t)}o(wo,"t0");function es(e){return e.toLowerCase()}o(es,"Ei");class Ke{static{o(this,"Ze")}constructor(t,n){this.attribute=n,this.property=t}}Ke.prototype.attribute="",Ke.prototype.booleanish=!1,Ke.prototype.boolean=!1,Ke.prototype.commaOrSpaceSeparated=!1,Ke.prototype.commaSeparated=!1,Ke.prototype.defined=!1,Ke.prototype.mustUseProperty=!1,Ke.prototype.number=!1,Ke.prototype.overloadedBoolean=!1,Ke.prototype.property="",Ke.prototype.spaceSeparated=!1,Ke.prototype.space=void 0;let xp=0;const te=ln(),Ae=ln(),ts=ln(),F=ln(),de=ln(),on=ln(),tt=ln();function ln(){return 2**++xp}o(ln,"Cn");const ns=Object.freeze(Object.defineProperty({__proto__:null,boolean:te,booleanish:Ae,commaOrSpaceSeparated:tt,commaSeparated:on,number:F,overloadedBoolean:ts,spaceSeparated:de},Symbol.toStringTag,{value:"Module"})),rs=Object.keys(ns);class as extends Ke{static{o(this,"ps")}constructor(t,n,r,a){let s=-1;if(super(t,n),xo(this,"space",a),typeof r=="number")for(;++s<rs.length;){const i=rs[s];xo(this,rs[s],(r&ns[i])===ns[i])}}}as.prototype.defined=!0;function xo(e,t,n){n&&(e[t]=n)}o(xo,"to");function Tn(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const s=new as(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[es(r)]=r,n[es(s.attribute)]=r}return new ir(t,n,e.space)}o(Tn,"qn");const ko=Tn({properties:{ariaActiveDescendant:null,ariaAtomic:Ae,ariaAutoComplete:null,ariaBusy:Ae,ariaChecked:Ae,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:de,ariaCurrent:null,ariaDescribedBy:de,ariaDetails:null,ariaDisabled:Ae,ariaDropEffect:de,ariaErrorMessage:null,ariaExpanded:Ae,ariaFlowTo:de,ariaGrabbed:Ae,ariaHasPopup:null,ariaHidden:Ae,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:de,ariaLevel:F,ariaLive:null,ariaModal:Ae,ariaMultiLine:Ae,ariaMultiSelectable:Ae,ariaOrientation:null,ariaOwns:de,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:Ae,ariaReadOnly:Ae,ariaRelevant:null,ariaRequired:Ae,ariaRoleDescription:de,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:Ae,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function _o(e,t){return t in e?e[t]:t}o(_o,"r0");function $o(e,t){return _o(e,t.toLowerCase())}o($o,"a0");const kp=Tn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:on,acceptCharset:de,accessKey:de,action:null,allow:null,allowFullScreen:te,allowPaymentRequest:te,allowUserMedia:te,alpha:te,alt:null,as:null,async:te,autoCapitalize:null,autoComplete:de,autoFocus:te,autoPlay:te,blocking:de,capture:null,charSet:null,checked:te,cite:null,className:de,closedBy:null,colorSpace:null,cols:F,colSpan:F,command:null,commandFor:null,content:null,contentEditable:Ae,controls:te,controlsList:de,coords:F|on,crossOrigin:null,data:null,dateTime:null,decoding:null,default:te,defer:te,dir:null,dirName:null,disabled:te,download:ts,draggable:Ae,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:te,formTarget:null,headers:de,height:F,hidden:ts,high:F,href:null,hrefLang:null,htmlFor:de,httpEquiv:de,id:null,imageSizes:null,imageSrcSet:null,inert:te,inputMode:null,integrity:null,is:null,isMap:te,itemId:null,itemProp:de,itemRef:de,itemScope:te,itemType:de,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:te,low:F,manifest:null,max:null,maxLength:F,media:null,method:null,min:null,minLength:F,multiple:te,muted:te,name:null,nonce:null,noModule:te,noValidate:te,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:te,optimum:F,pattern:null,ping:de,placeholder:null,playsInline:te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:te,referrerPolicy:null,rel:de,required:te,reversed:te,rows:F,rowSpan:F,sandbox:de,scope:null,scoped:te,seamless:te,selected:te,shadowRootClonable:te,shadowRootCustomElementRegistry:te,shadowRootDelegatesFocus:te,shadowRootMode:null,shadowRootSerializable:te,shape:null,size:F,sizes:null,slot:null,span:F,spellCheck:Ae,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F,step:null,style:null,tabIndex:F,target:null,title:null,translate:null,type:null,typeMustMatch:te,useMap:null,value:Ae,width:F,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:de,axis:null,background:null,bgColor:null,border:F,borderColor:null,bottomMargin:F,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:te,declare:te,event:null,face:null,frame:null,frameBorder:null,hSpace:F,leftMargin:F,link:null,longDesc:null,lowSrc:null,marginHeight:F,marginWidth:F,noResize:te,noHref:te,noShade:te,noWrap:te,object:null,profile:null,prompt:null,rev:null,rightMargin:F,rules:null,scheme:null,scrolling:Ae,standby:null,summary:null,text:null,topMargin:F,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:te,disablePictureInPicture:te,disableRemotePlayback:te,exportParts:on,part:de,prefix:null,property:null,results:F,security:null,unselectable:null},space:"html",transform:$o}),_p=Tn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:tt,accentHeight:F,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F,amplitude:F,arabicForm:null,ascent:F,attributeName:null,attributeType:null,azimuth:F,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F,by:null,calcMode:null,capHeight:F,className:de,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:F,diffuseConstant:F,direction:null,display:null,dur:null,divisor:F,dominantBaseline:null,download:te,dx:null,dy:null,edgeMode:null,editable:null,elevation:F,enableBackground:null,end:null,event:null,exponent:F,externalResourcesRequired:null,fill:null,fillOpacity:F,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:on,g2:on,glyphName:on,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F,horizOriginX:F,horizOriginY:F,id:null,ideographic:F,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F,k:F,k1:F,k2:F,k3:F,k4:F,kernelMatrix:tt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:F,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:F,overlineThickness:F,paintOrder:null,panose1:null,path:null,pathLength:F,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:de,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F,pointsAtY:F,pointsAtZ:F,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tt,rev:tt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tt,requiredFeatures:tt,requiredFonts:tt,requiredFormats:tt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:F,specularExponent:F,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F,strikethroughThickness:F,string:null,stroke:null,strokeDashArray:tt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F,strokeOpacity:F,strokeWidth:null,style:null,surfaceScale:F,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tt,tabIndex:F,tableValues:null,target:null,targetX:F,targetY:F,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F,underlineThickness:F,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F,values:null,vAlphabetic:F,vMathematical:F,vectorEffect:null,vHanging:F,vIdeographic:F,version:null,vertAdvY:F,vertOriginX:F,vertOriginY:F,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:_o}),Co=Tn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),So=Tn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$o}),Ao=Tn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$p=/[A-Z]/g,To=/-[a-z]/g,Cp=/^data[-\w.:]+$/i;function Sp(e,t){const n=es(t);let r=t,a=Ke;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Cp.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(To,Tp);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!To.test(s)){let i=s.replace($p,Ap);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=as}return new a(r,t)}o(Sp,"_m");function Ap(e){return"-"+e.toLowerCase()}o(Ap,"$m");function Tp(e){return e.charAt(1).toUpperCase()}o(Tp,"Cm");const Ip=wo([ko,kp,Co,So,Ao],"html"),Io=wo([ko,_p,Co,So,Ao],"svg"),Mo={}.hasOwnProperty;function Mp(e,t){const n=t||{};function r(a,...s){let i=r.invalid;const l=r.handlers;if(a&&Mo.call(a,e)){const c=String(a[e]);i=Mo.call(l,c)?l[c]:r.unknown}if(i)return i.call(this,a,...s)}return o(r,"r"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}o(Mp,"Am");const zp=/["&'<>`]/g,Ep=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Np=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Bp=/[|\\{}()[\]^$+*?.]/g,zo=new WeakMap;function Rp(e,t){if(e=e.replace(t.subset?Pp(t.subset):zp,r),t.subset||t.escapeOnly)return e;return e.replace(Ep,n).replace(Np,r);function n(a,s,i){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,i.charCodeAt(s+2),t)}function r(a,s,i){return t.format(a.charCodeAt(0),i.charCodeAt(s+1),t)}}o(Rp,"zm");function Pp(e){let t=zo.get(e);return t||(t=Lp(e),zo.set(e,t)),t}o(Pp,"Rm");function Lp(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Bp,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}o(Lp,"Nm");const Op=/[\dA-Fa-f]/;function Fp(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!Op.test(String.fromCharCode(t))?r:r+";"}o(Fp,"Dm");const qp=/\d/;function jp(e,t,n){const r="&#"+String(e);return n&&t&&!qp.test(String.fromCharCode(t))?r:r+";"}o(jp,"Fm");const Dp=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],ss={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Hp=["cent","copy","divide","gt","lt","not","para","times"],Eo={}.hasOwnProperty,is={};let jr;for(jr in ss)Eo.call(ss,jr)&&(is[ss[jr]]=jr);const Gp=/[^\dA-Za-z]/;function Up(e,t,n,r){const a=String.fromCharCode(e);if(Eo.call(is,a)){const s=is[a],i="&"+s;return n&&Dp.includes(s)&&!Hp.includes(s)&&(!r||t&&t!==61&&Gp.test(String.fromCharCode(t)))?i:i+";"}return""}o(Up,"jm");function Wp(e,t,n){let r=Fp(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=Up(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const s=jp(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}o(Wp,"Gm");function In(e,t){return Rp(e,Object.assign({format:Wp},t))}o(In,"Dn");const Vp=/^>|^->|<!--|-->|--!>|<!-$/g,Xp=[">"],Yp=["<",">"];function Zp(e,t,n,r){return r.settings.bogusComments?"<?"+In(e.value,Object.assign({},r.settings.characterReferences,{subset:Xp}))+">":"<!--"+e.value.replace(Vp,a)+"-->";function a(s){return In(s,Object.assign({},r.settings.characterReferences,{subset:Yp}))}}o(Zp,"Vm");function Kp(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}o(Kp,"Xm");function Dr(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}o(Dr,"ta");function Qp(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}o(Qp,"Ym");function Jp(e){return e.join(" ").trim()}o(Jp,"Zm");const eh=/[ \t\n\f\r]/g;function os(e){return typeof e=="object"?e.type==="text"?No(e.value):!1:No(e)}o(os,"ds");function No(e){return e.replace(eh,"")===""}o(No,"io");const ze=Ro(1),Bo=Ro(-1),th=[];function Ro(e){return t;function t(n,r,a){const s=n?n.children:th;let i=(r||0)+e,l=s[i];if(!a)for(;l&&os(l);)i+=e,l=s[i];return l}}o(Ro,"m0");const nh={}.hasOwnProperty;function Po(e){return t;function t(n,r,a){return nh.call(e,n.tagName)&&e[n.tagName](n,r,a)}}o(Po,"h0");const ls=Po({body:ah,caption:cs,colgroup:cs,dd:lh,dt:oh,head:cs,html:rh,li:ih,optgroup:ch,option:uh,p:sh,rp:Lo,rt:Lo,tbody:hh,td:Oo,tfoot:mh,th:Oo,thead:ph,tr:dh});function cs(e,t,n){const r=ze(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&os(r.value.charAt(0)))}o(cs,"Xa");function rh(e,t,n){const r=ze(n,t);return!r||r.type!=="comment"}o(rh,"eh");function ah(e,t,n){const r=ze(n,t);return!r||r.type!=="comment"}o(ah,"th");function sh(e,t,n){const r=ze(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}o(sh,"nh");function ih(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&r.tagName==="li"}o(ih,"rh");function oh(e,t,n){const r=ze(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}o(oh,"ah");function lh(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}o(lh,"ih");function Lo(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}o(Lo,"so");function ch(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}o(ch,"sh");function uh(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}o(uh,"oh");function ph(e,t,n){const r=ze(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}o(ph,"lh");function hh(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}o(hh,"uh");function mh(e,t,n){return!ze(n,t)}o(mh,"ch");function dh(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&r.tagName==="tr"}o(dh,"mh");function Oo(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}o(Oo,"oo");const gh=Po({body:yh,colgroup:vh,head:bh,html:fh,tbody:wh});function fh(e){const t=ze(e,-1);return!t||t.type!=="comment"}o(fh,"ph");function bh(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}o(bh,"dh");function yh(e){const t=ze(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&os(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}o(yh,"fh");function vh(e,t,n){const r=Bo(n,t),a=ze(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ls(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}o(vh,"gh");function wh(e,t,n){const r=Bo(n,t),a=ze(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ls(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}o(wh,"bh");const Hr={name:[[`
1
+ var l0=Object.defineProperty;var o=(e,t)=>l0(e,"name",{value:t,configurable:!0});var c0=Object.defineProperty,u0=Object.getPrototypeOf,p0=Reflect.get,ji=o(e=>{throw TypeError(e)},"qs"),h0=o((e,t,n)=>t in e?c0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"cc"),N=o((e,t,n)=>h0(e,typeof t!="symbol"?t+"":t,n),"z"),Da=o((e,t,n)=>t.has(e)||ji("Cannot "+n),"qa"),Ze=o((e,t,n)=>(Da(e,t,"read from private field"),n?n.call(e):t.get(e)),"je"),Cn=o((e,t,n)=>t.has(e)?ji("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),"cn"),bt=o((e,t,n,r)=>(Da(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),"gt"),Di=o((e,t,n)=>(Da(e,t,"access private method"),n),"ja"),m0=o((e,t,n)=>p0(u0(e),n,t),"js"),ve=class extends Error{static{o(this,"be")}constructor(e){super(e),this.name="ShikiError"}};function d0(e){return Ha(e)}o(d0,"mc");function Ha(e){return Array.isArray(e)?g0(e):e instanceof RegExp?e:typeof e=="object"?f0(e):e}o(Ha,"cs");function g0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ha(e[n]);return t}o(g0,"hc");function f0(e){let t={};for(let n in e)t[n]=Ha(e[n]);return t}o(f0,"pc");function Hi(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}o(Hi,"Nl");function Gi(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Gi(e.substring(0,e.length-1)):e.substr(~t+1)}o(Gi,"Bl");var Ga=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Tr=class{static{o(this,"Ar")}static hasCaptures(e){return e===null?!1:(Ga.lastIndex=0,Ga.test(e))}static replaceCaptures(e,t,n){return e.replace(Ga,(r,a,s,i)=>{let l=n[parseInt(a||s,10)];if(l){let c=t.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(i){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return r})}};function Ui(e,t){return e<t?-1:e>t?1:0}o(Ui,"Dl");function Wi(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let a=0;a<n;a++){let s=Ui(e[a],t[a]);if(s!==0)return s}return 0}return n-r}o(Wi,"Ll");function Vi(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}o(Vi,"Gs");function Xi(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}o(Xi,"Fl");var Yi=class{static{o(this,"Pl")}constructor(e){N(this,"cache",new Map),this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Ir=class{static{o(this,"Yr")}constructor(e,t,n){N(this,"_cachedMatchRoot",new Yi(r=>this._root.match(r))),this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(v0(e),t)}static createFromParsedTheme(e,t){return x0(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,n=this._cachedMatchRoot.get(t).find(r=>b0(e.parent,r.parentScopes));return n?new Zi(n.fontStyle,n.foreground,n.background):null}},Ua=class La{static{o(this,"jr")}constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new La(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new La(n,t[r]);return n}push(t){return new La(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function b0(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],a=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],a=!0}for(;e&&!y0(e.scopeName,r);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}o(b0,"dc");function y0(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}o(y0,"fc");var Zi=class{static{o(this,"Ol")}constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function v0(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let a=0,s=t.length;a<s;a++){let i=t[a];if(!i.settings)continue;let l;if(typeof i.scope=="string"){let p=i.scope;p=p.replace(/^[,]+/,""),p=p.replace(/[,]+$/,""),l=p.split(",")}else Array.isArray(i.scope)?l=i.scope:l=[""];let c=-1;if(typeof i.settings.fontStyle=="string"){c=0;let p=i.settings.fontStyle.split(" ");for(let f=0,g=p.length;f<g;f++)switch(p[f]){case"italic":c=c|1;break;case"bold":c=c|2;break;case"underline":c=c|4;break;case"strikethrough":c=c|8;break}}let u=null;typeof i.settings.foreground=="string"&&Vi(i.settings.foreground)&&(u=i.settings.foreground);let m=null;typeof i.settings.background=="string"&&Vi(i.settings.background)&&(m=i.settings.background);for(let p=0,f=l.length;p<f;p++){let g=l[p].trim().split(" "),y=g[g.length-1],$=null;g.length>1&&($=g.slice(0,g.length-1),$.reverse()),n[r++]=new w0(y,$,a,c,u,m)}}return n}o(v0,"gc");var w0=class{static{o(this,"bc")}constructor(e,t,n,r,a,s){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=a,this.background=s}},Oe=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Oe||{});function x0(e,t){e.sort((c,u)=>{let m=Ui(c.scope,u.scope);return m!==0||(m=Wi(c.parentScopes,u.parentScopes),m!==0)?m:c.index-u.index});let n=0,r="#000000",a="#ffffff";for(;e.length>=1&&e[0].scope==="";){let c=e.shift();c.fontStyle!==-1&&(n=c.fontStyle),c.foreground!==null&&(r=c.foreground),c.background!==null&&(a=c.background)}let s=new k0(t),i=new Zi(n,s.getId(r),s.getId(a)),l=new $0(new Wa(0,null,-1,0,0),[]);for(let c=0,u=e.length;c<u;c++){let m=e[c];l.insert(0,m.scope,m.parentScopes,m.fontStyle,s.getId(m.foreground),s.getId(m.background))}return new Ir(s,i,l)}o(x0,"yc");var k0=class{static{o(this,"vc")}constructor(e){if(N(this,"_isFrozen"),N(this,"_lastColorId"),N(this,"_id2color"),N(this,"_color2id"),this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},_0=Object.freeze([]),Wa=class s0{static{o(this,"ql")}constructor(t,n,r,a,s){N(this,"scopeDepth"),N(this,"parentScopes"),N(this,"fontStyle"),N(this,"foreground"),N(this,"background"),this.scopeDepth=t,this.parentScopes=n||_0,this.fontStyle=r,this.foreground=a,this.background=s}clone(){return new s0(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,a=t.length;r<a;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,a){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),a!==0&&(this.background=a)}},$0=class qi{static{o(this,"$i")}constructor(t,n=[],r={}){N(this,"_rulesWithParentScopes"),this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,a=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[a]===">"&&a++,!(r>=t.parentScopes.length||a>=n.parentScopes.length);){const s=n.parentScopes[a].length-t.parentScopes[r].length;if(s!==0)return s;r++,a++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),a,s;if(r===-1?(a=t,s=""):(a=t.substring(0,r),s=t.substring(r+1)),this._children.hasOwnProperty(a))return this._children[a].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(qi._cmpBySpecificity),n}insert(t,n,r,a,s,i){if(n===""){this._doInsertHere(t,r,a,s,i);return}let l=n.indexOf("."),c,u;l===-1?(c=n,u=""):(c=n.substring(0,l),u=n.substring(l+1));let m;this._children.hasOwnProperty(c)?m=this._children[c]:(m=new qi(this._mainRule.clone(),Wa.cloneArr(this._rulesWithParentScopes)),this._children[c]=m),m.insert(t+1,u,r,a,s,i)}_doInsertHere(t,n,r,a,s){if(n===null){this._mainRule.acceptOverwrite(t,r,a,s);return}for(let i=0,l=this._rulesWithParentScopes.length;i<l;i++){let c=this._rulesWithParentScopes[i];if(Wi(c.parentScopes,n)===0){c.acceptOverwrite(t,r,a,s);return}}r===-1&&(r=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Wa(t,n,r,a,s))}},sn=class ht{static{o(this,"ot")}static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=ht.getLanguageId(t),r=ht.getTokenType(t),a=ht.getFontStyle(t),s=ht.getForeground(t),i=ht.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:a,foreground:s,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,a,s,i,l){let c=ht.getLanguageId(t),u=ht.getTokenType(t),m=ht.containsBalancedBrackets(t)?1:0,p=ht.getFontStyle(t),f=ht.getForeground(t),g=ht.getBackground(t);return n!==0&&(c=n),r!==8&&(u=r),a!==null&&(m=a?1:0),s!==-1&&(p=s),i!==0&&(f=i),l!==0&&(g=l),(c<<0|u<<8|m<<10|p<<11|f<<15|g<<24)>>>0}};function Mr(e,t){const n=[],r=S0(e);let a=r.next();for(;a!==null;){let c=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":c=1;break;case"L":c=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=r.next()}let u=i();if(n.push({matcher:u,priority:c}),a!==",")break;a=r.next()}return n;function s(){if(a==="-"){a=r.next();const c=s();return u=>!!c&&!c(u)}if(a==="("){a=r.next();const c=l();return a===")"&&(a=r.next()),c}if(Ki(a)){const c=[];do c.push(a),a=r.next();while(Ki(a));return u=>t(c,u)}return null}function i(){const c=[];let u=s();for(;u;)c.push(u),u=s();return m=>c.every(p=>p(m))}function l(){const c=[];let u=i();for(;u&&(c.push(u),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");u=i()}return m=>c.some(p=>p(m))}}o(Mr,"Zr");function Ki(e){return!!e&&!!e.match(/[\w\.:]+/)}o(Ki,"Hs");function S0(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:o(()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r},"next")}}o(S0,"kc");function Qi(e){typeof e.dispose=="function"&&e.dispose()}o(Qi,"jl");var Qn=class{static{o(this,"sr")}constructor(e){this.scopeName=e}toKey(){return this.scopeName}},C0=class{static{o(this,"_c")}constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},A0=class{static{o(this,"$c")}constructor(){N(this,"_references",[]),N(this,"_seenReferenceKeys",new Set),N(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},T0=class{static{o(this,"Cc")}constructor(e,t){N(this,"seenFullScopeRequests",new Set),N(this,"seenPartialScopeRequests",new Set),N(this,"Q"),this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Qn(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new A0;for(const n of e)I0(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Qn){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function I0(e,t,n,r){const a=n.lookup(e.scopeName);if(!a){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof Qn?zr({baseGrammar:s,selfGrammar:a},r):Va(e.ruleName,{baseGrammar:s,selfGrammar:a,repository:a.repository},r);const i=n.injections(e.scopeName);if(i)for(const l of i)r.add(new Qn(l))}o(I0,"Sc");function Va(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Er([r],t,n)}}o(Va,"Ci");function zr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Er(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Er(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}o(zr,"Gr");function Er(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?Hi({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Er(r.patterns,{...t,repository:a},n);const s=r.include;if(!s)continue;const i=Ji(s);switch(i.kind){case 0:zr({...t,selfGrammar:t.baseGrammar},n);break;case 1:zr(t,n);break;case 2:Va(i.ruleName,{...t,repository:a},n);break;case 3:case 4:const l=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const c={baseGrammar:t.baseGrammar,selfGrammar:l,repository:a};i.kind===4?Va(i.ruleName,c,n):zr(c,n)}else i.kind===4?n.add(new C0(i.scopeName,i.ruleName)):n.add(new Qn(i.scopeName));break}}}o(Er,"Kr");var M0=class{static{o(this,"Ac")}constructor(){N(this,"kind",0)}},z0=class{static{o(this,"Tc")}constructor(){N(this,"kind",1)}},E0=class{static{o(this,"Ec")}constructor(e){N(this,"kind",2),this.ruleName=e}},N0=class{static{o(this,"Mc")}constructor(e){N(this,"kind",3),this.scopeName=e}},B0=class{static{o(this,"Ic")}constructor(e,t){N(this,"kind",4),this.scopeName=e,this.ruleName=t}};function Ji(e){if(e==="$base")return new M0;if(e==="$self")return new z0;const t=e.indexOf("#");if(t===-1)return new N0(e);if(t===0)return new E0(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new B0(n,r)}}o(Ji,"Gl");var R0=/\\(\d+)/,eo=/\\(\d+)/g,P0=-1,to=-2,Jn=class{static{o(this,"dr")}constructor(e,t,n,r){N(this,"$location"),N(this,"id"),N(this,"_nameIsCapturing"),N(this,"_name"),N(this,"_contentNameIsCapturing"),N(this,"_contentName"),this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Tr.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Tr.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Gi(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Tr.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Tr.replaceCaptures(this._contentName,e,t)}},L0=class extends Jn{static{o(this,"Nc")}constructor(e,t,n,r,a){super(e,t,n,r),N(this,"retokenizeCapturedWithRuleId"),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},O0=class extends Jn{static{o(this,"Bc")}constructor(e,t,n,r,a){super(e,t,n,null),N(this,"_match"),N(this,"captures"),N(this,"_cachedCompiledPatterns"),this._match=new er(r,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new tr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},no=class extends Jn{static{o(this,"Ws")}constructor(e,t,n,r,a){super(e,t,n,r),N(this,"hasMissingPatterns"),N(this,"patterns"),N(this,"_cachedCompiledPatterns"),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new tr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xa=class extends Jn{static{o(this,"Si")}constructor(e,t,n,r,a,s,i,l,c,u){super(e,t,n,r),N(this,"_begin"),N(this,"beginCaptures"),N(this,"_end"),N(this,"endHasBackReferences"),N(this,"endCaptures"),N(this,"applyEndPatternLast"),N(this,"hasMissingPatterns"),N(this,"patterns"),N(this,"_cachedCompiledPatterns"),this._begin=new er(a,this.id),this.beginCaptures=s,this._end=new er(i||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new tr;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Nr=class extends Jn{static{o(this,"Qr")}constructor(e,t,n,r,a,s,i,l,c){super(e,t,n,r),N(this,"_begin"),N(this,"beginCaptures"),N(this,"whileCaptures"),N(this,"_while"),N(this,"whileHasBackReferences"),N(this,"hasMissingPatterns"),N(this,"patterns"),N(this,"_cachedCompiledPatterns"),N(this,"_cachedCompiledWhilePatterns"),this._begin=new er(a,this.id),this.beginCaptures=s,this.whileCaptures=l,this._while=new er(i,to),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new tr;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new tr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},ro=class je{static{o(this,"Le")}static createCaptureRule(t,n,r,a,s){return t.registerRule(i=>new L0(n,i,r,a,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(a=>{if(t.id=a,t.match)return new O0(t.$vscodeTextmateLocation,t.id,t.name,t.match,je._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Hi({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new no(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,je._compilePatterns(s,n,r))}return t.while?new Nr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,je._compileCaptures(t.whileCaptures||t.captures,n,r),je._compilePatterns(t.patterns,n,r)):new Xa(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,je._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,je._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let a=[];if(t){let s=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);l>s&&(s=l)}for(let i=0;i<=s;i++)a[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);let c=0;t[i].patterns&&(c=je.getCompiledRuleId(t[i],n,r)),a[l]=je.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,c)}}return a}static _compilePatterns(t,n,r){let a=[];if(t)for(let s=0,i=t.length;s<i;s++){const l=t[s];let c=-1;if(l.include){const u=Ji(l.include);switch(u.kind){case 0:case 1:c=je.getCompiledRuleId(r[l.include],n,r);break;case 2:let m=r[u.ruleName];m&&(c=je.getCompiledRuleId(m,n,r));break;case 3:case 4:const p=u.scopeName,f=u.kind===4?u.ruleName:null,g=n.getExternalGrammar(p,r);if(g)if(f){let y=g.repository[f];y&&(c=je.getCompiledRuleId(y,n,g.repository))}else c=je.getCompiledRuleId(g.repository.$self,n,g.repository);break}}else c=je.getCompiledRuleId(l,n,r);if(c!==-1){const u=n.getRule(c);let m=!1;if((u instanceof no||u instanceof Xa||u instanceof Nr)&&u.hasMissingPatterns&&u.patterns.length===0&&(m=!0),m)continue;a.push(c)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},er=class i0{static{o(this,"Wl")}constructor(t,n){if(N(this,"source"),N(this,"ruleId"),N(this,"hasAnchor"),N(this,"hasBackReferences"),N(this,"_anchorCache"),t&&typeof t=="string"){const r=t.length;let a=0,s=[],i=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(s.push(t.substring(a,l)),s.push("$(?!\\n)(?<!\\n)"),a=l+2):(c==="A"||c==="G")&&(i=!0),l++}this.hasAnchor=i,a===0?this.source=t:(s.push(t.substring(a,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=R0.test(this.source):this.hasBackReferences=!1}clone(){return new i0(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(a=>t.substring(a.start,a.end));return eo.lastIndex=0,this.source.replace(eo,(a,s)=>Xi(r[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],a=[],s,i,l,c;for(s=0,i=this.source.length;s<i;s++)l=this.source.charAt(s),t[s]=l,n[s]=l,r[s]=l,a[s]=l,l==="\\"&&s+1<i&&(c=this.source.charAt(s+1),c==="A"?(t[s+1]="￿",n[s+1]="￿",r[s+1]="A",a[s+1]="A"):c==="G"?(t[s+1]="￿",n[s+1]="G",r[s+1]="￿",a[s+1]="G"):(t[s+1]=c,n[s+1]=c,r[s+1]=c,a[s+1]=c),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:a.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},tr=class{static{o(this,"lr")}constructor(){N(this,"_items"),N(this,"_hasAnchors"),N(this,"_cached"),N(this,"_anchorCache"),this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new ao(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(a=>a.resolveAnchors(t,n));return new ao(e,r,this._items.map(a=>a.ruleId))}},ao=class{static{o(this,"Vs")}constructor(e,t,n){N(this,"scanner"),this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
2
+ `)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Ya=class{static{o(this,"Ua")}constructor(e,t){this.languageId=e,this.tokenType=t}},An,F0=(An=class{static{o(this,"Dt")}constructor(e,t){N(this,"_defaultAttributes"),N(this,"_embeddedLanguagesMatcher"),N(this,"_getBasicScopeAttributes",new Yi(n=>{const r=this._scopeToLanguage(n),a=this._toStandardTokenType(n);return new Ya(r,a)})),this._defaultAttributes=new Ya(e,8),this._embeddedLanguagesMatcher=new q0(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?An._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(An.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},N(An,"_NULL_SCOPE_METADATA",new Ya(0,0)),N(An,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),An),q0=class{static{o(this,"Lc")}constructor(e){if(N(this,"values"),N(this,"scopesRegExp"),e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Xi(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},so=class{static{o(this,"Xs")}constructor(e,t){this.stack=e,this.stoppedEarly=t}};function io(e,t,n,r,a,s,i,l){const c=t.content.length;let u=!1,m=-1;if(i){const g=j0(e,t,n,r,a,s);a=g.stack,r=g.linePos,n=g.isFirstLine,m=g.anchorPosition}const p=Date.now();for(;!u;){if(l!==0&&Date.now()-p>l)return new so(a,!0);f()}return new so(a,!1);function f(){const g=D0(e,t,n,r,a,m);if(!g){s.produce(a,c),u=!0;return}const y=g.captureIndices,$=g.matchedRuleId,T=y&&y.length>0?y[0].end>r:!1;if($===P0){const k=a.getRule(e);s.produce(a,y[0].start),a=a.withContentNameScopesList(a.nameScopesList),nr(e,t,n,a,s,k.endCaptures,y),s.produce(a,y[0].end);const _=a;if(a=a.parent,m=_.getAnchorPos(),!T&&_.getEnterPos()===r){a=_,s.produce(a,c),u=!0;return}}else{const k=e.getRule($);s.produce(a,y[0].start);const _=a,M=k.getName(t.content,y),E=a.contentNameScopesList.pushAttributed(M,e);if(a=a.push($,r,m,y[0].end===c,null,E,E),k instanceof Xa){const P=k;nr(e,t,n,a,s,P.beginCaptures,y),s.produce(a,y[0].end),m=y[0].end;const I=P.getContentName(t.content,y),L=E.pushAttributed(I,e);if(a=a.withContentNameScopesList(L),P.endHasBackReferences&&(a=a.withEndRule(P.getEndWithResolvedBackReferences(t.content,y))),!T&&_.hasSameRuleAs(a)){a=a.pop(),s.produce(a,c),u=!0;return}}else if(k instanceof Nr){const P=k;nr(e,t,n,a,s,P.beginCaptures,y),s.produce(a,y[0].end),m=y[0].end;const I=P.getContentName(t.content,y),L=E.pushAttributed(I,e);if(a=a.withContentNameScopesList(L),P.whileHasBackReferences&&(a=a.withEndRule(P.getWhileWithResolvedBackReferences(t.content,y))),!T&&_.hasSameRuleAs(a)){a=a.pop(),s.produce(a,c),u=!0;return}}else if(nr(e,t,n,a,s,k.captures,y),s.produce(a,y[0].end),a=a.pop(),!T){a=a.safePop(),s.produce(a,c),u=!0;return}}y[0].end>r&&(r=y[0].end,n=!1)}}o(io,"Vl");function j0(e,t,n,r,a,s){let i=a.beginRuleCapturedEOL?0:-1;const l=[];for(let c=a;c;c=c.pop()){const u=c.getRule(e);u instanceof Nr&&l.push({rule:u,stack:c})}for(let c=l.pop();c;c=l.pop()){const{ruleScanner:u,findOptions:m}=U0(c.rule,e,c.stack.endRule,n,r===i),p=u.findNextMatchSync(t,r,m);if(p){if(p.ruleId!==to){a=c.stack.pop();break}p.captureIndices&&p.captureIndices.length&&(s.produce(c.stack,p.captureIndices[0].start),nr(e,t,n,c.stack,s,c.rule.whileCaptures,p.captureIndices),s.produce(c.stack,p.captureIndices[0].end),i=p.captureIndices[0].end,p.captureIndices[0].end>r&&(r=p.captureIndices[0].end,n=!1))}else{a=c.stack.pop();break}}return{stack:a,linePos:r,anchorPosition:i,isFirstLine:n}}o(j0,"Fc");function D0(e,t,n,r,a,s){const i=H0(e,t,n,r,a,s),l=e.getInjections();if(l.length===0)return i;const c=G0(l,e,t,n,r,a,s);if(!c)return i;if(!i)return c;const u=i.captureIndices[0].start,m=c.captureIndices[0].start;return m<u||c.priorityMatch&&m===u?c:i}o(D0,"Pc");function H0(e,t,n,r,a,s){const i=a.getRule(e),{ruleScanner:l,findOptions:c}=oo(i,e,a.endRule,n,r===s),u=l.findNextMatchSync(t,r,c);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}o(H0,"Oc");function G0(e,t,n,r,a,s,i){let l=Number.MAX_VALUE,c=null,u,m=0;const p=s.contentNameScopesList.getScopeNames();for(let f=0,g=e.length;f<g;f++){const y=e[f];if(!y.matcher(p))continue;const $=t.getRule(y.ruleId),{ruleScanner:T,findOptions:k}=oo($,t,null,r,a===i),_=T.findNextMatchSync(n,a,k);if(!_)continue;const M=_.captureIndices[0].start;if(!(M>=l)&&(l=M,c=_.captureIndices,u=_.ruleId,m=y.priority,l===a))break}return c?{priorityMatch:m===-1,captureIndices:c,matchedRuleId:u}:null}o(G0,"qc");function oo(e,t,n,r,a){return{ruleScanner:e.compileAG(t,n,r,a),findOptions:0}}o(oo,"Xl");function U0(e,t,n,r,a){return{ruleScanner:e.compileWhileAG(t,n,r,a),findOptions:0}}o(U0,"jc");function nr(e,t,n,r,a,s,i){if(s.length===0)return;const l=t.content,c=Math.min(s.length,i.length),u=[],m=i[0].end;for(let p=0;p<c;p++){const f=s[p];if(f===null)continue;const g=i[p];if(g.length===0)continue;if(g.start>m)break;for(;u.length>0&&u[u.length-1].endPos<=g.start;)a.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?a.produceFromScopes(u[u.length-1].scopes,g.start):a.produce(r,g.start),f.retokenizeCapturedWithRuleId){const $=f.getName(l,i),T=r.contentNameScopesList.pushAttributed($,e),k=f.getContentName(l,i),_=T.pushAttributed(k,e),M=r.push(f.retokenizeCapturedWithRuleId,g.start,-1,!1,null,T,_),E=e.createOnigString(l.substring(0,g.end));io(e,E,n&&g.start===0,g.start,M,a,!1,0),Qi(E);continue}const y=f.getName(l,i);if(y!==null){const $=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(y,e);u.push(new W0($,g.end))}}for(;u.length>0;)a.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}o(nr,"er");var W0=class{static{o(this,"Gc")}constructor(e,t){N(this,"scopes"),N(this,"endPos"),this.scopes=e,this.endPos=t}};function V0(e,t,n,r,a,s,i,l){return new Y0(e,t,n,r,a,s,i,l)}o(V0,"Hc");function lo(e,t,n,r,a){const s=Mr(t,Br),i=ro.getCompiledRuleId(n,r,a.repository);for(const l of s)e.push({debugSelector:t,matcher:l.matcher,ruleId:i,grammar:a,priority:l.priority})}o(lo,"Ys");function Br(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let a=n;a<t.length;a++)if(X0(t[a],r))return n=a+1,!0;return!1})}o(Br,"Jr");function X0(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}o(X0,"Uc");var Y0=class{static{o(this,"Wc")}constructor(e,t,n,r,a,s,i,l){if(N(this,"_rootId"),N(this,"_lastRuleId"),N(this,"_ruleId2desc"),N(this,"_includedGrammars"),N(this,"_grammarRepository"),N(this,"_grammar"),N(this,"_injections"),N(this,"_basicScopeAttributesProvider"),N(this,"_tokenTypeMatchers"),this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=l,this._basicScopeAttributesProvider=new F0(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=co(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const c of Object.keys(a)){const u=Mr(c,Br);for(const m of u)this._tokenTypeMatchers.push({matcher:m.matcher,type:a[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o(a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),"lookup"),injections:o(a=>this._grammarRepository.injections(a),"injections")},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const a=r.injections;if(a)for(let i in a)lo(t,i,a[i],this,r);const s=this._grammarRepository.injections(n);s&&s.forEach(i=>{const l=this.getExternalGrammar(i);if(l){const c=l.injectionSelector;c&&lo(t,c,l,this,l)}})}return t.sort((a,s)=>a.priority-s.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=co(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=ro.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===Za.NULL){a=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),m=this.themeProvider.getDefaults(),p=sn.set(0,u.languageId,u.tokenType,null,m.fontStyle,m.foregroundId,m.backgroundId),f=this.getRule(this._rootId).getName(null,null);let g;f?g=rr.createRootAndLookUpScopeName(f,p,this):g=rr.createRoot("unknown",p),t=new Za(null,this._rootId,-1,-1,!1,null,g,g)}else a=!1,t.reset();e=e+`
3
+ `;const s=this.createOnigString(e),i=s.content.length,l=new K0(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=io(this,s,a,0,t,l,!0,r);return Qi(s),{lineLength:i,lineTokens:l,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function co(e,t){return e=d0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}o(co,"Zs");var rr=class $t{static{o(this,"xt")}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,a=t?.scopePath??null;for(const s of n)a=Ua.push(a,s.scopeNames),r=new $t(r,a,s.encodedTokenAttributes);return r}static createRoot(t,n){return new $t(null,new Ua(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const a=r.getMetadataForScope(t),s=new Ua(null,t),i=r.themeProvider.themeMatch(s),l=$t.mergeAttributes(n,a,i);return new $t(null,s,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return $t.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let a=-1,s=0,i=0;return r!==null&&(a=r.fontStyle,s=r.foregroundId,i=r.backgroundId),sn.set(t,n.languageId,n.tokenType,null,a,s,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return $t._pushAttributed(this,t,n);const r=t.split(/ /g);let a=this;for(const s of r)a=$t._pushAttributed(a,s,n);return a}static _pushAttributed(t,n,r){const a=r.getMetadataForScope(n),s=t.scopePath.push(n),i=r.themeProvider.themeMatch(s),l=$t.mergeAttributes(t.tokenAttributes,a,i);return new $t(t,s,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var n;const r=[];let a=this;for(;a&&a!==t;)r.push({encodedTokenAttributes:a.tokenAttributes,scopeNames:a.scopePath.getExtensionIfDefined(((n=a.parent)==null?void 0:n.scopePath)??null)}),a=a.parent;return a===t?r.reverse():void 0}},Mt,Za=(Mt=class{static{o(this,"ut")}constructor(e,t,n,r,a,s,i,l){N(this,"_stackElementBrand"),N(this,"_enterPos"),N(this,"_anchorPos"),N(this,"depth"),this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=a,this.endRule=s,this.nameScopesList=i,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}equals(e){return e===null?!1:Mt._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?rr.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){Mt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,n,r,a,s,i){return new Mt(this,e,t,n,r,a,s,i)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var n,r;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(r=this.contentNameScopesList)==null?void 0:r.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new Mt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,n;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((n=this.contentNameScopesList)==null?void 0:n.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const n=rr.fromExtension(e?.nameScopesList??null,t.nameScopesList);return new Mt(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,n,rr.fromExtension(n,t.contentNameScopesList))}},N(Mt,"NULL",new Mt(null,0,0,0,!1,null,null,null)),Mt),Z0=class{static{o(this,"Vc")}constructor(e,t){N(this,"balancedBracketScopes"),N(this,"unbalancedBracketScopes"),N(this,"allowAny",!1),this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Mr(n,Br).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Mr(n,Br).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},K0=class{static{o(this,"Xc")}constructor(e,t,n,r){N(this,"_emitBinaryTokens"),N(this,"_lineText"),N(this,"_tokens"),N(this,"_binaryTokens"),N(this,"_lastTokenEndIndex"),N(this,"_tokenTypeOverrides"),this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let a=e?.tokenAttributes??0,s=!1;if((n=this.balancedBracketSelectors)!=null&&n.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=e?.getScopeNames()??[];for(const l of this._tokenTypeOverrides)l.matcher(i)&&(a=sn.set(a,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(i))}if(s&&(a=sn.set(a,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===a){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(a),this._lastTokenEndIndex=t;return}const r=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,a=this._binaryTokens.length;r<a;r++)n[r]=this._binaryTokens[r];return n}},Q0=class{static{o(this,"Yc")}constructor(e,t){N(this,"_grammars",new Map),N(this,"_rawGrammars",new Map),N(this,"_injectionGrammars",new Map),N(this,"_theme"),this._onigLib=t,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,a){if(!this._grammars.has(e)){let s=this._rawGrammars.get(e);if(!s)return null;this._grammars.set(e,V0(e,s,t,n,r,a,this,this._onigLib))}return this._grammars.get(e)}},J0=class{static{o(this,"Zc")}constructor(e){N(this,"_options"),N(this,"_syncRegistry"),N(this,"_ensureGrammarCache"),this._options=e,this._syncRegistry=new Q0(Ir.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Ir.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new Z0(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,a){const s=new T0(this._syncRegistry,e);for(;s.Q.length>0;)s.Q.map(i=>this._loadSingleGrammar(i.scopeName)),s.processQueue();return this._grammarForScopeName(e,t,n,r,a)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const n=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,a=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,a)}},Ka=Za.NULL;function Rr(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[a,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[a]=s:a===r&&Object.assign(n,s);return n}o(Rr,"ea");function Ht(e,t){return e&&(t?.[e?.toLowerCase()]||e)}o(Ht,"Qt");function ep(e){return Array.isArray(e)?e:[e]}o(ep,"Kc");async function uo(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}o(uo,"Yl");function Pr(e){return!e||["plaintext","txt","text","plain"].includes(e)}o(Pr,"da");function tp(e){return e==="ansi"||Pr(e)}o(tp,"Qc");function Lr(e){return e==="none"}o(Lr,"fa");function np(e){return Lr(e)}o(np,"Jc");const rp=/(\r?\n)/g;function Or(e,t=!1){var n;if(e.length===0)return[["",0]];const r=e.split(rp);let a=0;const s=[];for(let i=0;i<r.length;i+=2){const l=t?r[i]+(r[i+1]||""):r[i];s.push([l,a]),a+=r[i].length,a+=((n=r[i+1])==null?void 0:n.length)||0}return s}o(Or,"ga");const po={light:"#333333",dark:"#bbbbbb"},ho={light:"#fffffe",dark:"#1e1e1e"},mo="__shiki_resolved";function Qa(e){var t,n,r,a,s;if(e!=null&&e[mo])return e;const i={...e};i.tokenColors&&!i.settings&&(i.settings=i.tokenColors,delete i.tokenColors),i.type||(i.type="dark"),i.colorReplacements={...i.colorReplacements},i.settings||(i.settings=[]);let{bg:l,fg:c}=i;if(!l||!c){const f=i.settings?i.settings.find(g=>!g.name&&!g.scope):void 0;(t=f?.settings)!=null&&t.foreground&&(c=f.settings.foreground),(n=f?.settings)!=null&&n.background&&(l=f.settings.background),!c&&(r=i?.colors)!=null&&r["editor.foreground"]&&(c=i.colors["editor.foreground"]),!l&&(a=i?.colors)!=null&&a["editor.background"]&&(l=i.colors["editor.background"]),c||(c=i.type==="light"?po.light:po.dark),l||(l=i.type==="light"?ho.light:ho.dark),i.fg=c,i.bg=l}i.settings[0]&&i.settings[0].settings&&!i.settings[0].scope||i.settings.unshift({settings:{foreground:i.fg,background:i.bg}});let u=0;const m=new Map;function p(f){var g;if(m.has(f))return m.get(f);u+=1;const y=`#${u.toString(16).padStart(8,"0").toLowerCase()}`;return(g=i.colorReplacements)!=null&&g[`#${y}`]?p(f):(m.set(f,y),y)}o(p,"s"),i.settings=i.settings.map(f=>{var g,y;const $=((g=f.settings)==null?void 0:g.foreground)&&!f.settings.foreground.startsWith("#"),T=((y=f.settings)==null?void 0:y.background)&&!f.settings.background.startsWith("#");if(!$&&!T)return f;const k={...f,settings:{...f.settings}};if($){const _=p(f.settings.foreground);i.colorReplacements[_]=f.settings.foreground,k.settings.foreground=_}if(T){const _=p(f.settings.background);i.colorReplacements[_]=f.settings.background,k.settings.background=_}return k});for(const f of Object.keys(i.colors||{}))if((f==="editor.foreground"||f==="editor.background"||f.startsWith("terminal.ansi"))&&!((s=i.colors[f])!=null&&s.startsWith("#"))){const g=p(i.colors[f]);i.colorReplacements[g]=i.colors[f],i.colors[f]=g}return Object.defineProperty(i,mo,{enumerable:!1,writable:!1,value:!0}),i}o(Qa,"ms");async function ap(e){return[...new Set((await Promise.all(e.filter(t=>!tp(t)).map(async t=>await uo(t).then(n=>Array.isArray(n)?n:[n])))).flat())]}o(ap,"tm");async function sp(e){return(await Promise.all(e.map(async t=>np(t)?null:Qa(await uo(t))))).filter(t=>!!t)}o(sp,"nm");function go(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new ve(`Circular alias \`${[...n].join(" -> ")} -> ${e}\``);n.add(e)}}return e}o(go,"Zl");var ip=class extends J0{static{o(this,"rm")}constructor(e,t,n,r={}){super(e),N(this,"_resolver"),N(this,"_themes"),N(this,"_langs"),N(this,"_alias"),N(this,"_resolvedThemes",new Map),N(this,"_resolvedGrammars",new Map),N(this,"_langMap",new Map),N(this,"_langGraph",new Map),N(this,"_textmateThemeCache",new WeakMap),N(this,"_loadedThemesCache",null),N(this,"_loadedLanguagesCache",null),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(a=>this.loadTheme(a)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=Qa(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=Ir.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=go(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){var t,n,r,a;if(this.getGrammar(e.name))return;const s=new Set([...this._langMap.values()].filter(c=>{var u;return(u=c.embeddedLangsLazy)==null?void 0:u.includes(e.name)}));this._resolver.addLanguage(e);const i={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const l=this.loadGrammarWithConfiguration(e.scopeName,1,i);if(l.name=e.name,this._resolvedGrammars.set(e.name,l),e.aliases&&e.aliases.forEach(c=>{this._alias[c]=e.name}),this._loadedLanguagesCache=null,s.size)for(const c of s)this._resolvedGrammars.delete(c.name),this._loadedLanguagesCache=null,(n=(t=this._syncRegistry)==null?void 0:t._injectionGrammars)==null||n.delete(c.scopeName),(a=(r=this._syncRegistry)==null?void 0:r._grammars)==null||a.delete(c.scopeName),this.loadLanguage(this._langMap.get(c.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const r of e)this.resolveEmbeddedLanguages(r);const t=[...this._langGraph.entries()],n=t.filter(([r,a])=>!a);if(n.length){const r=t.filter(([a,s])=>{var i;return s?(i=s.embeddedLanguages||s.embeddedLangs)==null?void 0:i.some(l=>n.map(([c])=>c).includes(l)):!1}).filter(a=>!n.includes(a));throw new ve(`Missing languages ${n.map(([a])=>`\`${a}\``).join(", ")}, required by ${r.map(([a])=>`\`${a}\``).join(", ")}`)}for(const[r,a]of t)this._resolver.addLanguage(a);for(const[r,a]of t)this.loadLanguage(a)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const n of t)this._langGraph.set(n,this._langMap.get(n))}},op=class{static{o(this,"am")}constructor(e,t){N(this,"_langs",new Map),N(this,"_scopeToLang",new Map),N(this,"_injections",new Map),N(this,"_onigLib"),this._onigLib={createOnigScanner:o(n=>e.createScanner(n),"createOnigScanner"),createOnigString:o(n=>e.createString(n),"createOnigString")},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let r=1;r<=t.length;r++){const a=t.slice(0,r).join(".");n=[...n,...this._injections.get(a)||[]]}return n}};let ar=0;function lp(e){ar+=1,e.warnings!==!1&&ar>=10&&ar%10===0&&console.warn(`[Shiki] ${ar} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new ve("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(Qa),a=new ip(new op(e.engine,n),r,n,e.langAlias);let s;function i(_){return go(_,e.langAlias)}o(i,"s");function l(_){T();const M=a.getGrammar(typeof _=="string"?_:_.name);if(!M)throw new ve(`Language \`${_}\` not found, you may need to load it first`);return M}o(l,"o");function c(_){if(_==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};T();const M=a.getTheme(_);if(!M)throw new ve(`Theme \`${_}\` not found, you may need to load it first`);return M}o(c,"l");function u(_){T();const M=c(_);return s!==_&&(a.setTheme(M),s=_),{theme:M,colorMap:a.getColorMap()}}o(u,"u");function m(){return T(),a.getLoadedThemes()}o(m,"h");function p(){return T(),a.getLoadedLanguages()}o(p,"c");function f(..._){T(),a.loadLanguages(_.flat(1))}o(f,"f");async function g(..._){return f(await ap(_))}o(g,"d");function y(..._){T();for(const M of _.flat(1))a.loadTheme(M)}o(y,"b");async function $(..._){return T(),y(await sp(_))}o($,"w");function T(){if(t)throw new ve("Shiki instance has been disposed")}o(T,"A");function k(){t||(t=!0,a.dispose(),ar-=1)}return o(k,"k"),{setTheme:u,getTheme:c,getLanguage:l,getLoadedThemes:m,getLoadedLanguages:p,resolveLangAlias:i,loadLanguage:g,loadLanguageSync:f,loadTheme:$,loadThemeSync:y,dispose:k,[Symbol.dispose]:k}}o(lp,"im");const fo=new WeakMap;function Fr(e,t){fo.set(e,t)}o(Fr,"ba");function sr(e){return fo.get(e)}o(sr,"ur");var qr=class o0{static{o(this,"Ql")}constructor(...t){if(N(this,"_stacks",{}),N(this,"lang"),t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,a]=t;this.lang=r,this._stacks={[a]:n}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new o0(Object.fromEntries(ep(n).map(r=>[r,Ka])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return cp(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function cp(e){const t=[],n=new Set;function r(a){var s;if(n.has(a))return;n.add(a);const i=(s=a?.nameScopesList)==null?void 0:s.scopeName;i&&t.push(i),a.parent&&r(a.parent)}return o(r,"r"),r(e),t}o(cp,"sm");function up(e,t){if(!(e instanceof qr))throw new ve("Invalid grammar state");return e.getInternalStack(t)}o(up,"om");const pp=/,/,hp=/ /;function bo(e,t,n={}){const{theme:r=e.getLoadedThemes()[0]}=n;if(Pr(e.resolveLangAlias(n.lang||"text"))||Lr(r))return Or(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:a,colorMap:s}=e.setTheme(r),i=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==i.name)throw new ve(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${i.name}"`);if(!n.grammarState.themes.includes(a.name))throw new ve(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return dp(t,i,a,s,n)}o(bo,"Jl");function mp(...e){if(e.length===2)return sr(e[1]);const[t,n,r={}]=e,{lang:a="text",theme:s=t.getLoadedThemes()[0]}=r;if(Pr(a)||Lr(s))throw new ve("Plain language does not have grammar state");if(a==="ansi")throw new ve("ANSI language does not have grammar state");const{theme:i,colorMap:l}=t.setTheme(s),c=t.getLanguage(a);return new qr(Ja(n,c,i,l,r).stateStack,c.name,i.name)}o(mp,"cm");function dp(e,t,n,r,a){const s=Ja(e,t,n,r,a),i=new qr(s.stateStack,t.name,n.name);return Fr(s.tokens,i),s.tokens}o(dp,"mm");function Ja(e,t,n,r,a){const s=Rr(n,a),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:l=500,includeExplanation:c=!1}=a,u=Or(e);let m=a.grammarState?up(a.grammarState,n.name)??Ka:a.grammarContextCode!=null?Ja(a.grammarContextCode,t,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:Ka,p=[];const f=[];for(let g=0,y=u.length;g<y;g++){const[$,T]=u[g];if($===""){p=[],f.push([]);continue}if(i>0&&$.length>=i){p=[],f.push([{content:$,offset:T,color:"",fontStyle:0}]);continue}let k,_,M;c&&c!=="tokenType"&&(k=t.tokenizeLine($,m,l),_=k.tokens,M=0);const E=t.tokenizeLine2($,m,l),P=E.tokens.length/2;for(let I=0;I<P;I++){const L=E.tokens[2*I],U=I+1<P?E.tokens[2*I+2]:$.length;if(L===U)continue;const V=E.tokens[2*I+1],z=Ht(r[sn.getForeground(V)],s),G=sn.getFontStyle(V),W={content:$.substring(L,U),offset:T+L,color:z,fontStyle:G};if(c==="tokenType")W.type=sn.getTokenType(V);else if(c){const ae=[];if(c!=="scopeName")for(const K of n.settings){let pe;switch(typeof K.scope){case"string":pe=K.scope.split(pp).map(he=>he.trim());break;case"object":pe=K.scope;break;default:continue}ae.push({settings:K,selectors:pe.map(he=>he.split(hp))})}W.explanation=[];let oe=0;for(;L+oe<U;){const K=_[M],pe=$.substring(K.startIndex,K.endIndex);oe+=pe.length,W.explanation.push({content:pe,scopes:c==="scopeName"?gp(K.scopes):fp(ae,K.scopes)}),M+=1}}p.push(W)}f.push(p),p=[],m=E.ruleStack}return{tokens:f,stateStack:m}}o(Ja,"hs");function gp(e){return e.map(t=>({scopeName:t}))}o(gp,"hm");function fp(e,t){const n=[];for(let r=0,a=t.length;r<a;r++){const s=t[r];n[r]={scopeName:s,themeMatches:yp(e,s,t.slice(0,r))}}return n}o(fp,"pm");function yo(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}o(yo,"eo");function bp(e,t,n){if(!yo(e.at(-1),t))return!1;let r=e.length-2,a=n.length-1;for(;r>=0&&a>=0;)yo(e[r],n[a])&&(r-=1),a-=1;return r===-1}o(bp,"dm");function yp(e,t,n){const r=[];for(const{selectors:a,settings:s}of e)for(const i of a)if(bp(i,t,n)){r.push(s);break}return r}o(yp,"fm");function vo(e,t,n,r=bo){const a=Object.entries(n.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),s=a.map(u=>{const m=r(e,t,{...n,theme:u.theme});return{tokens:m,state:sr(m),theme:typeof u.theme=="string"?u.theme:u.theme.name}}),i=vp(...s.map(u=>u.tokens)),l=i[0].map((u,m)=>u.map((p,f)=>{const g={content:p.content,variants:{},offset:p.offset};return"includeExplanation"in n&&n.includeExplanation&&(g.explanation=p.explanation),i.forEach((y,$)=>{const{content:T,explanation:k,offset:_,...M}=y[m][f];g.variants[a[$].color]=M}),g})),c=s[0].state?new qr(Object.fromEntries(s.map(u=>{var m;return[u.theme,(m=u.state)==null?void 0:m.getInternalStack(u.theme)]})),s[0].state.lang):void 0;return c&&Fr(l,c),l}o(vo,"e0");function vp(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const a=e.map(c=>c[r]),s=t.map(()=>[]);t.forEach((c,u)=>c.push(s[u]));const i=a.map(()=>0),l=a.map(c=>c[0]);for(;l.every(c=>c);){const c=Math.min(...l.map(u=>u.content.length));for(let u=0;u<n;u++){const m=l[u];m.content.length===c?(s[u].push(m),i[u]+=1,l[u]=a[u][i[u]]):(s[u].push({...m,content:m.content.slice(0,c)}),l[u]={...m,content:m.content.slice(c),offset:m.offset+c})}}}return t}o(vp,"gm");const wp=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ir{static{o(this,"fr")}constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ir.prototype.normal={},ir.prototype.property={},ir.prototype.space=void 0;function wo(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new ir(n,r,t)}o(wo,"t0");function es(e){return e.toLowerCase()}o(es,"Ei");class Ke{static{o(this,"Ze")}constructor(t,n){this.attribute=n,this.property=t}}Ke.prototype.attribute="",Ke.prototype.booleanish=!1,Ke.prototype.boolean=!1,Ke.prototype.commaOrSpaceSeparated=!1,Ke.prototype.commaSeparated=!1,Ke.prototype.defined=!1,Ke.prototype.mustUseProperty=!1,Ke.prototype.number=!1,Ke.prototype.overloadedBoolean=!1,Ke.prototype.property="",Ke.prototype.spaceSeparated=!1,Ke.prototype.space=void 0;let xp=0;const te=ln(),Ae=ln(),ts=ln(),F=ln(),de=ln(),on=ln(),tt=ln();function ln(){return 2**++xp}o(ln,"Cn");const ns=Object.freeze(Object.defineProperty({__proto__:null,boolean:te,booleanish:Ae,commaOrSpaceSeparated:tt,commaSeparated:on,number:F,overloadedBoolean:ts,spaceSeparated:de},Symbol.toStringTag,{value:"Module"})),rs=Object.keys(ns);class as extends Ke{static{o(this,"ps")}constructor(t,n,r,a){let s=-1;if(super(t,n),xo(this,"space",a),typeof r=="number")for(;++s<rs.length;){const i=rs[s];xo(this,rs[s],(r&ns[i])===ns[i])}}}as.prototype.defined=!0;function xo(e,t,n){n&&(e[t]=n)}o(xo,"to");function Tn(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const s=new as(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[es(r)]=r,n[es(s.attribute)]=r}return new ir(t,n,e.space)}o(Tn,"qn");const ko=Tn({properties:{ariaActiveDescendant:null,ariaAtomic:Ae,ariaAutoComplete:null,ariaBusy:Ae,ariaChecked:Ae,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:de,ariaCurrent:null,ariaDescribedBy:de,ariaDetails:null,ariaDisabled:Ae,ariaDropEffect:de,ariaErrorMessage:null,ariaExpanded:Ae,ariaFlowTo:de,ariaGrabbed:Ae,ariaHasPopup:null,ariaHidden:Ae,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:de,ariaLevel:F,ariaLive:null,ariaModal:Ae,ariaMultiLine:Ae,ariaMultiSelectable:Ae,ariaOrientation:null,ariaOwns:de,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:Ae,ariaReadOnly:Ae,ariaRelevant:null,ariaRequired:Ae,ariaRoleDescription:de,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:Ae,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function _o(e,t){return t in e?e[t]:t}o(_o,"r0");function $o(e,t){return _o(e,t.toLowerCase())}o($o,"a0");const kp=Tn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:on,acceptCharset:de,accessKey:de,action:null,allow:null,allowFullScreen:te,allowPaymentRequest:te,allowUserMedia:te,alpha:te,alt:null,as:null,async:te,autoCapitalize:null,autoComplete:de,autoFocus:te,autoPlay:te,blocking:de,capture:null,charSet:null,checked:te,cite:null,className:de,closedBy:null,colorSpace:null,cols:F,colSpan:F,command:null,commandFor:null,content:null,contentEditable:Ae,controls:te,controlsList:de,coords:F|on,crossOrigin:null,data:null,dateTime:null,decoding:null,default:te,defer:te,dir:null,dirName:null,disabled:te,download:ts,draggable:Ae,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:te,formTarget:null,headers:de,height:F,hidden:ts,high:F,href:null,hrefLang:null,htmlFor:de,httpEquiv:de,id:null,imageSizes:null,imageSrcSet:null,inert:te,inputMode:null,integrity:null,is:null,isMap:te,itemId:null,itemProp:de,itemRef:de,itemScope:te,itemType:de,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:te,low:F,manifest:null,max:null,maxLength:F,media:null,method:null,min:null,minLength:F,multiple:te,muted:te,name:null,nonce:null,noModule:te,noValidate:te,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:te,optimum:F,pattern:null,ping:de,placeholder:null,playsInline:te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:te,referrerPolicy:null,rel:de,required:te,reversed:te,rows:F,rowSpan:F,sandbox:de,scope:null,scoped:te,seamless:te,selected:te,shadowRootClonable:te,shadowRootCustomElementRegistry:te,shadowRootDelegatesFocus:te,shadowRootMode:null,shadowRootSerializable:te,shape:null,size:F,sizes:null,slot:null,span:F,spellCheck:Ae,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F,step:null,style:null,tabIndex:F,target:null,title:null,translate:null,type:null,typeMustMatch:te,useMap:null,value:Ae,width:F,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:de,axis:null,background:null,bgColor:null,border:F,borderColor:null,bottomMargin:F,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:te,declare:te,event:null,face:null,frame:null,frameBorder:null,hSpace:F,leftMargin:F,link:null,longDesc:null,lowSrc:null,marginHeight:F,marginWidth:F,noResize:te,noHref:te,noShade:te,noWrap:te,object:null,profile:null,prompt:null,rev:null,rightMargin:F,rules:null,scheme:null,scrolling:Ae,standby:null,summary:null,text:null,topMargin:F,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:te,disablePictureInPicture:te,disableRemotePlayback:te,exportParts:on,part:de,prefix:null,property:null,results:F,security:null,unselectable:null},space:"html",transform:$o}),_p=Tn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:tt,accentHeight:F,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F,amplitude:F,arabicForm:null,ascent:F,attributeName:null,attributeType:null,azimuth:F,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F,by:null,calcMode:null,capHeight:F,className:de,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:F,diffuseConstant:F,direction:null,display:null,dur:null,divisor:F,dominantBaseline:null,download:te,dx:null,dy:null,edgeMode:null,editable:null,elevation:F,enableBackground:null,end:null,event:null,exponent:F,externalResourcesRequired:null,fill:null,fillOpacity:F,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:on,g2:on,glyphName:on,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F,horizOriginX:F,horizOriginY:F,id:null,ideographic:F,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F,k:F,k1:F,k2:F,k3:F,k4:F,kernelMatrix:tt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:F,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:F,overlineThickness:F,paintOrder:null,panose1:null,path:null,pathLength:F,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:de,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F,pointsAtY:F,pointsAtZ:F,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tt,rev:tt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tt,requiredFeatures:tt,requiredFonts:tt,requiredFormats:tt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:F,specularExponent:F,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F,strikethroughThickness:F,string:null,stroke:null,strokeDashArray:tt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F,strokeOpacity:F,strokeWidth:null,style:null,surfaceScale:F,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tt,tabIndex:F,tableValues:null,target:null,targetX:F,targetY:F,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F,underlineThickness:F,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F,values:null,vAlphabetic:F,vMathematical:F,vectorEffect:null,vHanging:F,vIdeographic:F,version:null,vertAdvY:F,vertOriginX:F,vertOriginY:F,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:_o}),So=Tn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Co=Tn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$o}),Ao=Tn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$p=/[A-Z]/g,To=/-[a-z]/g,Sp=/^data[-\w.:]+$/i;function Cp(e,t){const n=es(t);let r=t,a=Ke;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Sp.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(To,Tp);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!To.test(s)){let i=s.replace($p,Ap);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=as}return new a(r,t)}o(Cp,"_m");function Ap(e){return"-"+e.toLowerCase()}o(Ap,"$m");function Tp(e){return e.charAt(1).toUpperCase()}o(Tp,"Cm");const Ip=wo([ko,kp,So,Co,Ao],"html"),Io=wo([ko,_p,So,Co,Ao],"svg"),Mo={}.hasOwnProperty;function Mp(e,t){const n=t||{};function r(a,...s){let i=r.invalid;const l=r.handlers;if(a&&Mo.call(a,e)){const c=String(a[e]);i=Mo.call(l,c)?l[c]:r.unknown}if(i)return i.call(this,a,...s)}return o(r,"r"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}o(Mp,"Am");const zp=/["&'<>`]/g,Ep=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Np=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Bp=/[|\\{}()[\]^$+*?.]/g,zo=new WeakMap;function Rp(e,t){if(e=e.replace(t.subset?Pp(t.subset):zp,r),t.subset||t.escapeOnly)return e;return e.replace(Ep,n).replace(Np,r);function n(a,s,i){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,i.charCodeAt(s+2),t)}function r(a,s,i){return t.format(a.charCodeAt(0),i.charCodeAt(s+1),t)}}o(Rp,"zm");function Pp(e){let t=zo.get(e);return t||(t=Lp(e),zo.set(e,t)),t}o(Pp,"Rm");function Lp(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Bp,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}o(Lp,"Nm");const Op=/[\dA-Fa-f]/;function Fp(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!Op.test(String.fromCharCode(t))?r:r+";"}o(Fp,"Dm");const qp=/\d/;function jp(e,t,n){const r="&#"+String(e);return n&&t&&!qp.test(String.fromCharCode(t))?r:r+";"}o(jp,"Fm");const Dp=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],ss={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Hp=["cent","copy","divide","gt","lt","not","para","times"],Eo={}.hasOwnProperty,is={};let jr;for(jr in ss)Eo.call(ss,jr)&&(is[ss[jr]]=jr);const Gp=/[^\dA-Za-z]/;function Up(e,t,n,r){const a=String.fromCharCode(e);if(Eo.call(is,a)){const s=is[a],i="&"+s;return n&&Dp.includes(s)&&!Hp.includes(s)&&(!r||t&&t!==61&&Gp.test(String.fromCharCode(t)))?i:i+";"}return""}o(Up,"jm");function Wp(e,t,n){let r=Fp(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=Up(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const s=jp(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}o(Wp,"Gm");function In(e,t){return Rp(e,Object.assign({format:Wp},t))}o(In,"Dn");const Vp=/^>|^->|<!--|-->|--!>|<!-$/g,Xp=[">"],Yp=["<",">"];function Zp(e,t,n,r){return r.settings.bogusComments?"<?"+In(e.value,Object.assign({},r.settings.characterReferences,{subset:Xp}))+">":"<!--"+e.value.replace(Vp,a)+"-->";function a(s){return In(s,Object.assign({},r.settings.characterReferences,{subset:Yp}))}}o(Zp,"Vm");function Kp(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}o(Kp,"Xm");function Dr(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}o(Dr,"ta");function Qp(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}o(Qp,"Ym");function Jp(e){return e.join(" ").trim()}o(Jp,"Zm");const eh=/[ \t\n\f\r]/g;function os(e){return typeof e=="object"?e.type==="text"?No(e.value):!1:No(e)}o(os,"ds");function No(e){return e.replace(eh,"")===""}o(No,"io");const ze=Ro(1),Bo=Ro(-1),th=[];function Ro(e){return t;function t(n,r,a){const s=n?n.children:th;let i=(r||0)+e,l=s[i];if(!a)for(;l&&os(l);)i+=e,l=s[i];return l}}o(Ro,"m0");const nh={}.hasOwnProperty;function Po(e){return t;function t(n,r,a){return nh.call(e,n.tagName)&&e[n.tagName](n,r,a)}}o(Po,"h0");const ls=Po({body:ah,caption:cs,colgroup:cs,dd:lh,dt:oh,head:cs,html:rh,li:ih,optgroup:ch,option:uh,p:sh,rp:Lo,rt:Lo,tbody:hh,td:Oo,tfoot:mh,th:Oo,thead:ph,tr:dh});function cs(e,t,n){const r=ze(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&os(r.value.charAt(0)))}o(cs,"Xa");function rh(e,t,n){const r=ze(n,t);return!r||r.type!=="comment"}o(rh,"eh");function ah(e,t,n){const r=ze(n,t);return!r||r.type!=="comment"}o(ah,"th");function sh(e,t,n){const r=ze(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}o(sh,"nh");function ih(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&r.tagName==="li"}o(ih,"rh");function oh(e,t,n){const r=ze(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}o(oh,"ah");function lh(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}o(lh,"ih");function Lo(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}o(Lo,"so");function ch(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}o(ch,"sh");function uh(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}o(uh,"oh");function ph(e,t,n){const r=ze(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}o(ph,"lh");function hh(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}o(hh,"uh");function mh(e,t,n){return!ze(n,t)}o(mh,"ch");function dh(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&r.tagName==="tr"}o(dh,"mh");function Oo(e,t,n){const r=ze(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}o(Oo,"oo");const gh=Po({body:yh,colgroup:vh,head:bh,html:fh,tbody:wh});function fh(e){const t=ze(e,-1);return!t||t.type!=="comment"}o(fh,"ph");function bh(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}o(bh,"dh");function yh(e){const t=ze(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&os(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}o(yh,"fh");function vh(e,t,n){const r=Bo(n,t),a=ze(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ls(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}o(vh,"gh");function wh(e,t,n){const r=Bo(n,t),a=ze(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ls(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}o(wh,"bh");const Hr={name:[[`
4
4
  \f\r &/=>`.split(""),`
5
5
  \f\r "&'/=>\``.split("")],[`\0
6
6
  \f\r "&'/<=>`.split(""),`\0
@@ -8,8 +8,8 @@ var l0=Object.defineProperty;var o=(e,t)=>l0(e,"name",{value:t,configurable:!0})
8
8
  \f\r &>`.split(""),`\0
9
9
  \f\r "&'<=>\``.split("")],[`\0
10
10
  \f\r "&'<=>\``.split(""),`\0
11
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function xh(e,t,n,r){const a=r.schema,s=a.space==="svg"?!1:r.settings.omitOptionalTags;let i=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let c;a.space==="html"&&e.tagName==="svg"&&(r.schema=Io);const u=kh(r,e.properties),m=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,m&&(i=!1),(u||!s||!gh(e,t,n))&&(l.push("<",e.tagName,u?" "+u:""),i&&(a.space==="svg"||r.settings.closeSelfClosing)&&(c=u.charAt(u.length-1),(!r.settings.tightSelfClosing||c==="/"||c&&c!=='"'&&c!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(m),!i&&(!s||!ls(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}o(xh,"yh");function kh(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const s=_h(e,a,t[a]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}o(kh,"vh");function _h(e,t,n){const r=Sp(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let i=e.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const c=In(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Hr.name[a][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Qp:Jp)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(l=In(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Hr.unquoted[a][s]}))),l!==n&&(e.settings.quoteSmart&&Dr(n,i)>Dr(n,e.alternative)&&(i=e.alternative),l=i+In(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Hr.single:Hr.double)[a][s],attribute:!0}))+i),c+(l&&"="+l))}o(_h,"wh");const $h=["<","&"];function Fo(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:In(e.value,Object.assign({},r.settings.characterReferences,{subset:$h}))}o(Fo,"p0");function Ch(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Fo(e,t,n,r)}o(Ch,"kh");function Sh(e,t,n,r){return r.all(e)}o(Sh,"_h");const Ah=Mp("type",{invalid:Th,unknown:Ih,handlers:{comment:Zp,doctype:Kp,element:xh,raw:Ch,root:Sh,text:Fo}});function Th(e){throw new Error("Expected node, not `"+e+"`")}o(Th,"Ch");function Ih(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}o(Ih,"Sh");const Mh={},zh={},Eh=[];function Nh(e,t){const n=t||Mh,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Bh,all:Rh,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||wp,characterReferences:n.characterReferences||zh,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Io:Ip,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}o(Nh,"Mh");function Bh(e,t,n){return Ah(e,t,n,this)}o(Bh,"Ih");function Rh(e){const t=[],n=e&&e.children||Eh;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}o(Rh,"zh");const qo=/\s+/g;function jo(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(qo)),Array.isArray(e.properties.class)||(e.properties.class=[]);const r=Array.isArray(t)?t:t.split(qo);for(const a of r)a&&!e.properties.class.includes(a)&&e.properties.class.push(a);return e}o(jo,"d0");function Ph(e){const t=Or(e,!0).map(([a])=>a);function n(a){if(a===e.length)return{line:t.length-1,character:t.at(-1).length};let s=a,i=0;for(const l of t){if(s<l.length)break;s-=l.length,i++}return{line:i,character:s}}o(n,"n");function r(a,s){let i=0;for(let l=0;l<a;l++)i+=t[l].length;return i+=s,i}return o(r,"r"),{lines:t,indexToPos:n,posToIndex:r}}o(Ph,"Rh");const Lh=["color","background-color"];function Oh(e,t){let n=0;const r=[];for(const a of t)a>n&&r.push({...e,content:e.content.slice(n,a),offset:e.offset+n}),n=a;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}o(Oh,"Bh");function Fh(e,t){const n=[...t instanceof Set?t:new Set(t)].sort((r,a)=>r-a);return n.length?e.map(r=>r.flatMap(a=>{const s=n.filter(i=>a.offset<i&&i<a.offset+a.content.length).map(i=>i-a.offset).sort((i,l)=>i-l);return s.length?Oh(a,s):a})):e}o(Fh,"Dh");function qh(e,t,n,r,a="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(m=>Gr(e.variants[m])),l=new Set(i.flatMap(m=>Object.keys(m))),c={},u=o((m,p)=>{const f=p==="color"?"":p==="background-color"?"-bg":`-${p}`;return n+t[m]+(p==="color"?"":f)},"u");return i.forEach((m,p)=>{for(const f of l){const g=m[f]||"inherit";if(p===0&&r&&Lh.includes(f))if(r==="light-dark()"&&i.length>1){const y=t.findIndex(T=>T==="light"),_=t.findIndex(T=>T==="dark");if(y===-1||_===-1)throw new ve('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');c[f]=`light-dark(${i[y][f]||"inherit"}, ${i[_][f]||"inherit"})`,a==="css-vars"&&(c[u(p,f)]=g)}else c[f]=g;else a==="css-vars"&&(c[u(p,f)]=g)}}),s.htmlStyle=c,s}o(qh,"Lh");function Gr(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Oe.Italic&&(t["font-style"]="italic"),e.fontStyle&Oe.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Oe.Underline&&n.push("underline"),e.fontStyle&Oe.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}o(Gr,"na");function us(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}o(us,"Ri");function jh(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=o(function(i){if(typeof i=="number"){if(i<0||i>n.source.length)throw new ve(`Invalid decoration offset: ${i}. Code length: ${n.source.length}`);return{...a.indexToPos(i),offset:i}}else{const l=a.lines[i.line];if(l===void 0)throw new ve(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${a.lines.length}`);let c=i.character;if(c<0&&(c=l.length+c),c<0||c>l.length)throw new ve(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${l.length}`);return{...i,character:c,offset:a.posToIndex(i.line,c)}}},"a");const a=Ph(n.source),s=(n.options.decorations||[]).map(i=>({...i,start:r(i.start),end:r(i.end)}));Dh(s),e.set(n.meta,{decorations:s,converter:a,source:n.source})}return e.get(n.meta)}return o(t,"t"),{name:"shiki:decorations",tokens(n){var r;if((r=this.options.decorations)!=null&&r.length)return Fh(n,t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]))},code(n){var r;if(!((r=this.options.decorations)!=null&&r.length))return;const a=t(this),s=[...n.children].filter(p=>p.type==="element"&&p.tagName==="span");if(s.length!==a.converter.lines.length)throw new ve(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${a.converter.lines.length}). Failed to apply decorations.`);function i(p,f,g,y){const _=s[p];let T="",k=-1,$=-1;if(f===0&&(k=0),g===0&&($=0),g===Number.POSITIVE_INFINITY&&($=_.children.length),k===-1||$===-1)for(let E=0;E<_.children.length;E++)T+=Do(_.children[E]),k===-1&&T.length===f&&(k=E+1),$===-1&&T.length===g&&($=E+1);if(k===-1)throw new ve(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);if($===-1)throw new ve(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);const M=_.children.slice(k,$);if(!y.alwaysWrap&&M.length===_.children.length)c(_,y,"line");else if(!y.alwaysWrap&&M.length===1&&M[0].type==="element")c(M[0],y,"token");else{const E={type:"element",tagName:"span",properties:{},children:M};c(E,y,"wrapper"),_.children.splice(k,M.length,E)}}o(i,"i");function l(p,f){s[p]=c(s[p],f,"line")}o(l,"s");function c(p,f,g){var y;const _=f.properties||{},T=f.transform||(k=>k);return p.tagName=f.tagName||"span",p.properties={...p.properties,..._,class:p.properties.class},(y=f.properties)!=null&&y.class&&jo(p,f.properties.class),p=T(p,g)||p,p}o(c,"o");const u=[],m=a.decorations.sort((p,f)=>f.start.offset-p.start.offset||p.end.offset-f.end.offset);for(const p of m){const{start:f,end:g}=p;if(f.line===g.line)i(f.line,f.character,g.character,p);else if(f.line<g.line){i(f.line,f.character,Number.POSITIVE_INFINITY,p);for(let y=f.line+1;y<g.line;y++)u.unshift(()=>l(y,p));i(g.line,0,g.character,p)}}u.forEach(p=>p())}}}o(jh,"Fh");function Dh(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new ve(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const a=e[r],s=n.start.offset<=a.start.offset&&a.start.offset<n.end.offset,i=n.start.offset<a.end.offset&&a.end.offset<=n.end.offset,l=a.start.offset<=n.start.offset&&n.start.offset<a.end.offset,c=a.start.offset<n.end.offset&&n.end.offset<=a.end.offset;if(s||i||l||c){if(s&&i||l&&c||l&&n.start.offset===n.end.offset||i&&a.start.offset===a.end.offset)continue;throw new ve(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}o(Dh,"Ph");function Do(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Do).join(""):""}o(Do,"f0");const Hh=[jh()];function Ur(e){const t=Gh(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...Hh]}o(Ur,"ra");function Gh(e){const t=[],n=[],r=[];for(const a of e)switch(a.enforce){case"pre":t.push(a);break;case"post":n.push(a);break;default:r.push(a)}return{pre:t,post:n,normal:r}}o(Gh,"qh");var cn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],ps={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function Uh(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}o(Uh,"jh");function Ho(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}o(Ho,"uo");function Wh(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)ps[r]&&t.push({type:"setDecoration",value:ps[r]});else if(r<=29){const a=ps[r-20];a&&(t.push({type:"resetDecoration",value:a}),a==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:cn[r-30]}});else if(r===38){const a=Ho(e);a&&t.push({type:"setForegroundColor",value:a})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:cn[r-40]}});else if(r===48){const a=Ho(e);a&&t.push({type:"setBackgroundColor",value:a})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:cn[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:cn[r-100+8]}})}return t}o(Wh,"Gh");function Vh(){let e=null,t=null,n=new Set;return{parse(r){const a=[];let s=0;do{const i=Uh(r,s),l=i.sequence?r.substring(s,i.startPosition):r.substring(s);if(l.length>0&&a.push({value:l,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const c=Wh(i.sequence);for(const u of c)u.type==="resetAll"?(e=null,t=null,n.clear()):u.type==="resetForegroundColor"?e=null:u.type==="resetBackgroundColor"?t=null:u.type==="resetDecoration"&&n.delete(u.value);for(const u of c)u.type==="setForegroundColor"?e=u.value:u.type==="setBackgroundColor"?t=u.value:u.type==="setDecoration"&&n.add(u.value)}s=i.position}while(s<r.length);return a}}}o(Vh,"Hh");var Xh={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Yh(e=Xh){function t(l){return e[l]}o(t,"t");function n(l){return`#${l.map(c=>Math.max(0,Math.min(c,255)).toString(16).padStart(2,"0")).join("")}`}o(n,"n");let r;function a(){if(r)return r;r=[];for(let u=0;u<cn.length;u++)r.push(t(cn[u]));let l=[0,95,135,175,215,255];for(let u=0;u<6;u++)for(let m=0;m<6;m++)for(let p=0;p<6;p++)r.push(n([l[u],l[m],l[p]]));let c=8;for(let u=0;u<24;u++,c+=10)r.push(n([c,c,c]));return r}o(a,"a");function s(l){return a()[l]}o(s,"i");function i(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return s(l.index)}}return o(i,"s"),{value:i}}o(Yh,"Wh");const Zh=/#([0-9a-f]{3,8})/i,Kh=/var\((--[\w-]+-ansi-[\w-]+)\)/,Qh={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function Jh(e,t,n){const r=Rr(e,n),a=Or(t),s=Yh(Object.fromEntries(cn.map(l=>{var c;const u=`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`;return[l,((c=e.colors)==null?void 0:c[u])||Qh[l]]}))),i=Vh();return a.map(l=>i.parse(l[0]).map(c=>{let u,m;c.decorations.has("reverse")?(u=c.background?s.value(c.background):e.bg,m=c.foreground?s.value(c.foreground):e.fg):(u=c.foreground?s.value(c.foreground):e.fg,m=c.background?s.value(c.background):void 0),u=Ht(u,r),m=Ht(m,r),c.decorations.has("dim")&&(u=em(u));let p=Oe.None;return c.decorations.has("bold")&&(p|=Oe.Bold),c.decorations.has("italic")&&(p|=Oe.Italic),c.decorations.has("underline")&&(p|=Oe.Underline),c.decorations.has("strikethrough")&&(p|=Oe.Strikethrough),{content:c.value,offset:l[1],color:u,bgColor:m,fontStyle:p}}))}o(Jh,"Zh");function em(e){const t=e.match(Zh);if(t){const r=t[1];if(r.length===8){const a=Math.round(Number.parseInt(r.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${r.slice(0,6)}${a}`}else{if(r.length===6)return`#${r}80`;if(r.length===4){const a=r[0],s=r[1],i=r[2],l=r[3];return`#${a}${a}${s}${s}${i}${i}${Math.round(Number.parseInt(`${l}${l}`,16)/2).toString(16).padStart(2,"0")}`}else if(r.length===3){const a=r[0],s=r[1],i=r[2];return`#${a}${a}${s}${s}${i}${i}80`}}}const n=e.match(Kh);return n?`var(${n[1]}-dim)`:e}o(em,"Kh");function hs(e,t,n={}){const r=e.resolveLangAlias(n.lang||"text"),{theme:a=e.getLoadedThemes()[0]}=n;if(!Pr(r)&&!Lr(a)&&r==="ansi"){const{theme:s}=e.setTheme(a);return Jh(s,t,n)}return bo(e,t,n)}o(hs,"Ni");function Wr(e,t,n){let r,a,s,i,l,c;if("themes"in n){const{defaultColor:u="light",cssVariablePrefix:m="--shiki-",colorsRendering:p="css-vars"}=n,f=Object.entries(n.themes).filter(k=>k[1]).map(k=>({color:k[0],theme:k[1]})).sort((k,$)=>k.color===u?-1:$.color===u?1:0);if(f.length===0)throw new ve("`themes` option must not be empty");const g=vo(e,t,n,hs);if(c=sr(g),u&&u!=="light-dark()"&&!f.some(k=>k.color===u))throw new ve(`\`themes\` option must contain the defaultColor key \`${u}\``);const y=f.map(k=>e.getTheme(k.theme)),_=f.map(k=>k.color);s=g.map(k=>k.map($=>qh($,_,m,u,p))),c&&Fr(s,c);const T=f.map(k=>Rr(k.theme,n));a=Go(f,y,T,m,u,"fg",p),r=Go(f,y,T,m,u,"bg",p),i=`shiki-themes ${y.map(k=>k.name).join(" ")}`,l=u?void 0:[a,r].join(";")}else if("theme"in n){const u=Rr(n.theme,n);s=hs(e,t,n);const m=e.getTheme(n.theme);r=Ht(m.bg,u),a=Ht(m.fg,u),i=m.name,c=sr(s)}else throw new ve("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:a,bg:r,themeName:i,rootStyle:l,grammarState:c}}o(Wr,"aa");function Go(e,t,n,r,a,s,i){return e.map((l,c)=>{const u=Ht(t[c][s],n[c])||"inherit",m=`${r+l.color}${s==="bg"?"-bg":""}:${u}`;if(c===0&&a){if(a==="light-dark()"&&e.length>1){const p=e.findIndex(g=>g.color==="light"),f=e.findIndex(g=>g.color==="dark");if(p===-1||f===-1)throw new ve('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${Ht(t[p][s],n[p])||"inherit"}, ${Ht(t[f][s],n[f])||"inherit"});${m}`}return u}return i==="css-vars"?m:null}).filter(l=>!!l).join(";")}o(Go,"co");const Uo=/^\s+$/,tm=/^(\s*)(.*?)(\s*)$/;function Vr(e,t,n,r={meta:{},options:n,codeToHast:o((a,s)=>Vr(e,a,s),"codeToHast"),codeToTokens:o((a,s)=>Wr(e,a,s),"codeToTokens")}){var a,s;let i=t;for(const T of Ur(n))i=((a=T.preprocess)==null?void 0:a.call(r,i,n))||i;let{tokens:l,fg:c,bg:u,themeName:m,rootStyle:p,grammarState:f}=Wr(e,i,n);const{mergeWhitespaces:g=!0,mergeSameStyleTokens:y=!1}=n;g===!0?l=rm(l):g==="never"&&(l=am(l)),y&&(l=sm(l));const _={...r,get source(){return i}};for(const T of Ur(n))l=((s=T.tokens)==null?void 0:s.call(_,l))||l;return nm(l,{...n,fg:c,bg:u,themeName:m,rootStyle:n.rootStyle===!1?!1:n.rootStyle??p},_,f)}o(Vr,"ia");function nm(e,t,n,r=sr(e)){var a,s,i,l;const c=Ur(t),u=[],m={type:"root",children:[]},{structure:p="classic",tabindex:f="0"}=t,g={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?g.style=t.rootStyle:g.style=`background-color:${t.bg};color:${t.fg}`),f!==!1&&f!=null&&(g.tabindex=f.toString());for(const[M,E]of Object.entries(t.meta||{}))M.startsWith("_")||(g[M]=E);let y={type:"element",tagName:"pre",properties:g,children:[],data:t.data},_={type:"element",tagName:"code",properties:{},children:u};const T=[],k={...n,structure:p,addClassToHast:jo,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return m},get pre(){return y},get code(){return _},get lines(){return T}};if(e.forEach((M,E)=>{var P,I;E&&(p==="inline"?m.children.push({type:"element",tagName:"br",properties:{},children:[]}):p==="classic"&&u.push({type:"text",value:`
12
- `}));let L={type:"element",tagName:"span",properties:{class:"line"},children:[]},U=0;for(const V of M){let z={type:"element",tagName:"span",properties:{...V.htmlAttrs},children:[{type:"text",value:V.content}]};const G=us(V.htmlStyle||Gr(V));G&&(z.properties.style=G);for(const W of c)z=((P=W?.span)==null?void 0:P.call(k,z,E+1,U,L,V))||z;p==="inline"?m.children.push(z):p==="classic"&&L.children.push(z),U+=V.content.length}if(p==="classic"){for(const V of c)L=((I=V?.line)==null?void 0:I.call(k,L,E+1))||L;T.push(L),u.push(L)}else p==="inline"&&T.push(L)}),p==="classic"){for(const M of c)_=((a=M?.code)==null?void 0:a.call(k,_))||_;y.children.push(_);for(const M of c)y=((s=M?.pre)==null?void 0:s.call(k,y))||y;m.children.push(y)}else if(p==="inline"){const M=[];let E={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const I of m.children)I.type==="element"&&I.tagName==="br"?(M.push(E),E={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(I.type==="element"||I.type==="text")&&E.children.push(I);M.push(E);let P={type:"element",tagName:"code",properties:{},children:M};for(const I of c)P=((i=I?.code)==null?void 0:i.call(k,P))||P;m.children=[];for(let I=0;I<P.children.length;I++){I>0&&m.children.push({type:"element",tagName:"br",properties:{},children:[]});const L=P.children[I];L.type==="element"&&m.children.push(...L.children)}}let $=m;for(const M of c)$=((l=M?.root)==null?void 0:l.call(k,$))||$;return r&&Fr($,r),$}o(nm,"Jh");function rm(e){return e.map(t=>{const n=[];let r="",a;return t.forEach((s,i)=>{const l=!(s.fontStyle&&(s.fontStyle&Oe.Underline||s.fontStyle&Oe.Strikethrough));l&&Uo.test(s.content)&&t[i+1]?(a===void 0&&(a=s.offset),r+=s.content):r?(l?n.push({...s,offset:a,content:r+s.content}):n.push({content:r,offset:a},s),a=void 0,r=""):n.push(s)}),n})}o(rm,"ep");function am(e){return e.map(t=>t.flatMap(n=>{if(Uo.test(n.content))return n;const r=n.content.match(tm);if(!r)return n;const[,a,s,i]=r;if(!a&&!i)return n;const l=[{...n,offset:n.offset+a.length,content:s}];return a&&l.unshift({content:a,offset:n.offset}),i&&l.push({content:i,offset:n.offset+a.length+s.length}),l}))}o(am,"tp");function sm(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const a=n.at(-1),s=us(a.htmlStyle||Gr(a)),i=us(r.htmlStyle||Gr(r)),l=a.fontStyle&&(a.fontStyle&Oe.Underline||a.fontStyle&Oe.Strikethrough),c=r.fontStyle&&(r.fontStyle&Oe.Underline||r.fontStyle&Oe.Strikethrough);!l&&!c&&s===i?a.content+=r.content:n.push({...r})}return n})}o(sm,"np");const im=Nh;function om(e,t,n){var r;const a={meta:{},options:n,codeToHast:o((i,l)=>Vr(e,i,l),"codeToHast"),codeToTokens:o((i,l)=>Wr(e,i,l),"codeToTokens")};let s=im(Vr(e,t,n,a));for(const i of Ur(n))s=((r=i.postprocess)==null?void 0:r.call(a,s,n))||s;return s}o(om,"ap");function lm(e){const t=lp(e);return{getLastGrammarState:o((...n)=>mp(t,...n),"getLastGrammarState"),codeToTokensBase:o((n,r)=>hs(t,n,r),"codeToTokensBase"),codeToTokensWithThemes:o((n,r)=>vo(t,n,r),"codeToTokensWithThemes"),codeToTokens:o((n,r)=>Wr(t,n,r),"codeToTokens"),codeToHast:o((n,r)=>Vr(t,n,r),"codeToHast"),codeToHtml:o((n,r)=>om(t,n,r),"codeToHtml"),getBundledLanguages:o(()=>({}),"getBundledLanguages"),getBundledThemes:o(()=>({}),"getBundledThemes"),...t,getInternalContext:o(()=>t,"getInternalContext")}}o(lm,"k5");function cm(e={}){var t;const{name:n="css-variables",variablePrefix:r="--shiki-",fontStyle:a=!0}=e,s=o(l=>{var c;return(c=e.variableDefaults)!=null&&c[l]?`var(${r}${l}, ${e.variableDefaults[l]})`:`var(${r}${l})`},"a"),i={name:n,type:"dark",colors:{"editor.foreground":s("foreground"),"editor.background":s("background"),"terminal.ansiBlack":s("ansi-black"),"terminal.ansiRed":s("ansi-red"),"terminal.ansiGreen":s("ansi-green"),"terminal.ansiYellow":s("ansi-yellow"),"terminal.ansiBlue":s("ansi-blue"),"terminal.ansiMagenta":s("ansi-magenta"),"terminal.ansiCyan":s("ansi-cyan"),"terminal.ansiWhite":s("ansi-white"),"terminal.ansiBrightBlack":s("ansi-bright-black"),"terminal.ansiBrightRed":s("ansi-bright-red"),"terminal.ansiBrightGreen":s("ansi-bright-green"),"terminal.ansiBrightYellow":s("ansi-bright-yellow"),"terminal.ansiBrightBlue":s("ansi-bright-blue"),"terminal.ansiBrightMagenta":s("ansi-bright-magenta"),"terminal.ansiBrightCyan":s("ansi-bright-cyan"),"terminal.ansiBrightWhite":s("ansi-bright-white")},tokenColors:[{scope:["keyword.operator.accessor","meta.group.braces.round.function.arguments","meta.template.expression","markup.fenced_code meta.embedded.block"],settings:{foreground:s("foreground")}},{scope:"emphasis",settings:{fontStyle:"italic"}},{scope:["strong","markup.heading.markdown","markup.bold.markdown"],settings:{fontStyle:"bold"}},{scope:["markup.italic.markdown"],settings:{fontStyle:"italic"}},{scope:"meta.link.inline.markdown",settings:{fontStyle:"underline",foreground:s("token-link")}},{scope:["string","markup.fenced_code","markup.inline"],settings:{foreground:s("token-string")}},{scope:["comment","string.quoted.docstring.multi"],settings:{foreground:s("token-comment")}},{scope:["constant.numeric","constant.language","constant.other.placeholder","constant.character.format.placeholder","variable.language.this","variable.other.object","variable.other.class","variable.other.constant","meta.property-name","meta.property-value","support"],settings:{foreground:s("token-constant")}},{scope:["keyword","storage.modifier","storage.type","storage.control.clojure","entity.name.function.clojure","entity.name.tag.yaml","support.function.node","support.type.property-name.json","punctuation.separator.key-value","punctuation.definition.template-expression"],settings:{foreground:s("token-keyword")}},{scope:"variable.parameter.function",settings:{foreground:s("token-parameter")}},{scope:["support.function","entity.name.type","entity.other.inherited-class","meta.function-call","meta.instance.constructor","entity.other.attribute-name","entity.name.function","constant.keyword.clojure"],settings:{foreground:s("token-function")}},{scope:["entity.name.tag","string.quoted","string.regexp","string.interpolated","string.template","string.unquoted.plain.out.yaml","keyword.other.template"],settings:{foreground:s("token-string-expression")}},{scope:["punctuation.definition.arguments","punctuation.definition.dict","punctuation.separator","meta.function-call.arguments"],settings:{foreground:s("token-punctuation")}},{scope:["markup.underline.link","punctuation.definition.metadata.markdown"],settings:{foreground:s("token-link")}},{scope:["beginning.punctuation.definition.list.markdown"],settings:{foreground:s("token-string")}},{scope:["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","string.other.link.title.markdown","string.other.link.description.markdown"],settings:{foreground:s("token-keyword")}},{scope:["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],settings:{foreground:s("token-inserted")}},{scope:["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],settings:{foreground:s("token-deleted")}},{scope:["markup.changed","punctuation.definition.changed"],settings:{foreground:s("token-changed")}}]};return a||(i.tokenColors=(t=i.tokenColors)==null?void 0:t.map(l=>{var c;return(c=l.settings)!=null&&c.fontStyle&&delete l.settings.fontStyle,l})),i}o(cm,"_5");const Wo=4294967295;var um=class{static{o(this,"ip")}constructor(e,t={}){N(this,"patterns"),N(this,"options"),N(this,"regexps"),this.patterns=e,this.options=t;const{forgiving:n=!1,cache:r,regexConstructor:a}=t;if(!a)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(s=>{if(typeof s!="string")return s;const i=r?.get(s);if(i){if(i instanceof RegExp)return i;if(n)return null;throw i}try{const l=a(s);return r?.set(s,l),l}catch(l){if(r?.set(s,l),n)return null;throw l}})}findNextMatchSync(e,t,n){const r=typeof e=="string"?e:e.content,a=[];function s(i,l,c=0){return{index:i,captureIndices:l.indices.map(u=>u==null?{start:Wo,end:Wo,length:0}:{start:u[0]+c,end:u[1]+c,length:u[1]-u[0]})}}o(s,"i");for(let i=0;i<this.regexps.length;i++){const l=this.regexps[i];if(l)try{l.lastIndex=t;const c=l.exec(r);if(!c)continue;if(c.index===t)return s(i,c,0);a.push([i,c,0])}catch(c){if(this.options.forgiving)continue;throw c}}if(a.length){const i=Math.min(...a.map(l=>l[1].index));for(const[l,c,u]of a)if(c.index===i)return s(l,c,u)}return null}};function Mn(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}o(Mn,"jn");function pm(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}o(pm,"sp");const ms=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),Pe=String.raw;function zn(e,t){if(e==null)throw new Error(t??"Value expected");return e}o(zn,"Gn");const Vo=Pe`\[\^?`,Xo=`c.? | C(?:-.?)?|${Pe`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Pe`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Pe`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Pe`o\{[^\}]*\}?`}|${Pe`\d{1,3}`}`,ds=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Xr=new RegExp(Pe`
11
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function xh(e,t,n,r){const a=r.schema,s=a.space==="svg"?!1:r.settings.omitOptionalTags;let i=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let c;a.space==="html"&&e.tagName==="svg"&&(r.schema=Io);const u=kh(r,e.properties),m=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,m&&(i=!1),(u||!s||!gh(e,t,n))&&(l.push("<",e.tagName,u?" "+u:""),i&&(a.space==="svg"||r.settings.closeSelfClosing)&&(c=u.charAt(u.length-1),(!r.settings.tightSelfClosing||c==="/"||c&&c!=='"'&&c!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(m),!i&&(!s||!ls(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}o(xh,"yh");function kh(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const s=_h(e,a,t[a]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}o(kh,"vh");function _h(e,t,n){const r=Cp(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let i=e.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const c=In(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Hr.name[a][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Qp:Jp)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(l=In(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Hr.unquoted[a][s]}))),l!==n&&(e.settings.quoteSmart&&Dr(n,i)>Dr(n,e.alternative)&&(i=e.alternative),l=i+In(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Hr.single:Hr.double)[a][s],attribute:!0}))+i),c+(l&&"="+l))}o(_h,"wh");const $h=["<","&"];function Fo(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:In(e.value,Object.assign({},r.settings.characterReferences,{subset:$h}))}o(Fo,"p0");function Sh(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Fo(e,t,n,r)}o(Sh,"kh");function Ch(e,t,n,r){return r.all(e)}o(Ch,"_h");const Ah=Mp("type",{invalid:Th,unknown:Ih,handlers:{comment:Zp,doctype:Kp,element:xh,raw:Sh,root:Ch,text:Fo}});function Th(e){throw new Error("Expected node, not `"+e+"`")}o(Th,"Ch");function Ih(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}o(Ih,"Sh");const Mh={},zh={},Eh=[];function Nh(e,t){const n=t||Mh,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Bh,all:Rh,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||wp,characterReferences:n.characterReferences||zh,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Io:Ip,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}o(Nh,"Mh");function Bh(e,t,n){return Ah(e,t,n,this)}o(Bh,"Ih");function Rh(e){const t=[],n=e&&e.children||Eh;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}o(Rh,"zh");const qo=/\s+/g;function jo(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(qo)),Array.isArray(e.properties.class)||(e.properties.class=[]);const r=Array.isArray(t)?t:t.split(qo);for(const a of r)a&&!e.properties.class.includes(a)&&e.properties.class.push(a);return e}o(jo,"d0");function Ph(e){const t=Or(e,!0).map(([a])=>a);function n(a){if(a===e.length)return{line:t.length-1,character:t.at(-1).length};let s=a,i=0;for(const l of t){if(s<l.length)break;s-=l.length,i++}return{line:i,character:s}}o(n,"n");function r(a,s){let i=0;for(let l=0;l<a;l++)i+=t[l].length;return i+=s,i}return o(r,"r"),{lines:t,indexToPos:n,posToIndex:r}}o(Ph,"Rh");const Lh=["color","background-color"];function Oh(e,t){let n=0;const r=[];for(const a of t)a>n&&r.push({...e,content:e.content.slice(n,a),offset:e.offset+n}),n=a;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}o(Oh,"Bh");function Fh(e,t){let n=0,r=e.length;for(;n<r;){const a=n+(r-n>>1);e[a]<=t?n=a+1:r=a}return n}o(Fh,"Dh");function qh(e,t){const n=[...t instanceof Set?t:new Set(t)].sort((r,a)=>r-a);return n.length?e.map(r=>r.flatMap(a=>{const s=a.offset+a.content.length,i=Fh(n,a.offset);let l=i;for(;l<n.length&&n[l]<s;)l++;if(i===l)return a;const c=n.slice(i,l);for(let u=0;u<c.length;u++)c[u]-=a.offset;return Oh(a,c)})):e}o(qh,"Lh");function jh(e,t,n,r,a="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(m=>Gr(e.variants[m])),l=new Set(i.flatMap(m=>Object.keys(m))),c={},u=o((m,p)=>{const f=p==="color"?"":p==="background-color"?"-bg":`-${p}`;return n+t[m]+(p==="color"?"":f)},"u");return i.forEach((m,p)=>{for(const f of l){const g=m[f]||"inherit";if(p===0&&r&&Lh.includes(f))if(r==="light-dark()"&&i.length>1){const y=t.findIndex(_=>_==="light"),$=t.findIndex(_=>_==="dark");if(y===-1||$===-1)throw new ve('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const T=i[y][f]||"inherit",k=i[$][f]||"inherit";c[f]=`light-dark(${T}, ${k})`,a==="css-vars"&&(c[u(p,f)]=g)}else c[f]=g;else a==="css-vars"&&(c[u(p,f)]=g)}}),s.htmlStyle=c,s}o(jh,"Fh");function Gr(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Oe.Italic&&(t["font-style"]="italic"),e.fontStyle&Oe.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Oe.Underline&&n.push("underline"),e.fontStyle&Oe.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}o(Gr,"na");function us(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}o(us,"Ri");function Dh(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=o(function(i){if(typeof i=="number"){if(i<0||i>n.source.length)throw new ve(`Invalid decoration offset: ${i}. Code length: ${n.source.length}`);return{...a.indexToPos(i),offset:i}}else{const l=a.lines[i.line];if(l===void 0)throw new ve(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${a.lines.length}`);let c=i.character;if(c<0&&(c=l.length+c),c<0||c>l.length)throw new ve(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${l.length}`);return{...i,character:c,offset:a.posToIndex(i.line,c)}}},"a");const a=Ph(n.source),s=(n.options.decorations||[]).map(i=>({...i,start:r(i.start),end:r(i.end)}));Hh(s),e.set(n.meta,{decorations:s,converter:a,source:n.source})}return e.get(n.meta)}return o(t,"t"),{name:"shiki:decorations",tokens(n){var r;if((r=this.options.decorations)!=null&&r.length)return qh(n,t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]))},code(n){var r;if(!((r=this.options.decorations)!=null&&r.length))return;const a=t(this),s=[...n.children].filter(p=>p.type==="element"&&p.tagName==="span");if(s.length!==a.converter.lines.length)throw new ve(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${a.converter.lines.length}). Failed to apply decorations.`);function i(p,f,g,y){const $=s[p];let T="",k=-1,_=-1;if(f===0&&(k=0),g===0&&(_=0),g===Number.POSITIVE_INFINITY&&(_=$.children.length),k===-1||_===-1)for(let E=0;E<$.children.length;E++)T+=Do($.children[E]),k===-1&&T.length===f&&(k=E+1),_===-1&&T.length===g&&(_=E+1);if(k===-1)throw new ve(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);if(_===-1)throw new ve(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);const M=$.children.slice(k,_);if(!y.alwaysWrap&&M.length===$.children.length)c($,y,"line");else if(!y.alwaysWrap&&M.length===1&&M[0].type==="element")c(M[0],y,"token");else{const E={type:"element",tagName:"span",properties:{},children:M};c(E,y,"wrapper"),$.children.splice(k,M.length,E)}}o(i,"i");function l(p,f){s[p]=c(s[p],f,"line")}o(l,"s");function c(p,f,g){var y;const $=f.properties||{},T=f.transform||(k=>k);return p.tagName=f.tagName||"span",p.properties={...p.properties,...$,class:p.properties.class},(y=f.properties)!=null&&y.class&&jo(p,f.properties.class),p=T(p,g)||p,p}o(c,"o");const u=[],m=a.decorations.sort((p,f)=>f.start.offset-p.start.offset||p.end.offset-f.end.offset);for(const p of m){const{start:f,end:g}=p;if(f.line===g.line)i(f.line,f.character,g.character,p);else if(f.line<g.line){i(f.line,f.character,Number.POSITIVE_INFINITY,p);for(let y=f.line+1;y<g.line;y++)u.unshift(()=>l(y,p));i(g.line,0,g.character,p)}}u.forEach(p=>p())}}}o(Dh,"Ph");function Hh(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new ve(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const a=e[r],s=n.start.offset<=a.start.offset&&a.start.offset<n.end.offset,i=n.start.offset<a.end.offset&&a.end.offset<=n.end.offset,l=a.start.offset<=n.start.offset&&n.start.offset<a.end.offset,c=a.start.offset<n.end.offset&&n.end.offset<=a.end.offset;if(s||i||l||c){if(s&&i||l&&c||l&&n.start.offset===n.end.offset||i&&a.start.offset===a.end.offset)continue;throw new ve(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}o(Hh,"Oh");function Do(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Do).join(""):""}o(Do,"f0");const Gh=[Dh()];function Ur(e){const t=Uh(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...Gh]}o(Ur,"ra");function Uh(e){const t=[],n=[],r=[];for(const a of e)switch(a.enforce){case"pre":t.push(a);break;case"post":n.push(a);break;default:r.push(a)}return{pre:t,post:n,normal:r}}o(Uh,"jh");var cn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],ps={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function Wh(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}o(Wh,"Gh");function Ho(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}o(Ho,"uo");function Vh(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)ps[r]&&t.push({type:"setDecoration",value:ps[r]});else if(r<=29){const a=ps[r-20];a&&(t.push({type:"resetDecoration",value:a}),a==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:cn[r-30]}});else if(r===38){const a=Ho(e);a&&t.push({type:"setForegroundColor",value:a})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:cn[r-40]}});else if(r===48){const a=Ho(e);a&&t.push({type:"setBackgroundColor",value:a})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:cn[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:cn[r-100+8]}})}return t}o(Vh,"Hh");function Xh(){let e=null,t=null,n=new Set;return{parse(r){const a=[];let s=0;do{const i=Wh(r,s),l=i.sequence?r.substring(s,i.startPosition):r.substring(s);if(l.length>0&&a.push({value:l,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const c=Vh(i.sequence);for(const u of c)u.type==="resetAll"?(e=null,t=null,n.clear()):u.type==="resetForegroundColor"?e=null:u.type==="resetBackgroundColor"?t=null:u.type==="resetDecoration"&&n.delete(u.value);for(const u of c)u.type==="setForegroundColor"?e=u.value:u.type==="setBackgroundColor"?t=u.value:u.type==="setDecoration"&&n.add(u.value)}s=i.position}while(s<r.length);return a}}}o(Xh,"Uh");var Yh={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Zh(e=Yh){function t(l){return e[l]}o(t,"t");function n(l){return`#${l.map(c=>Math.max(0,Math.min(c,255)).toString(16).padStart(2,"0")).join("")}`}o(n,"n");let r;function a(){if(r)return r;r=[];for(let u=0;u<cn.length;u++)r.push(t(cn[u]));let l=[0,95,135,175,215,255];for(let u=0;u<6;u++)for(let m=0;m<6;m++)for(let p=0;p<6;p++)r.push(n([l[u],l[m],l[p]]));let c=8;for(let u=0;u<24;u++,c+=10)r.push(n([c,c,c]));return r}o(a,"a");function s(l){return a()[l]}o(s,"i");function i(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return s(l.index)}}return o(i,"s"),{value:i}}o(Zh,"Vh");const Kh=/#([0-9a-f]{3,8})/i,Qh=/var\((--[\w-]+-ansi-[\w-]+)\)/,Jh={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function em(e,t,n){const r=Rr(e,n),a=Or(t),s=Zh(Object.fromEntries(cn.map(l=>{var c;const u=`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`;return[l,((c=e.colors)==null?void 0:c[u])||Jh[l]]}))),i=Xh();return a.map(l=>i.parse(l[0]).map(c=>{let u,m;c.decorations.has("reverse")?(u=c.background?s.value(c.background):e.bg,m=c.foreground?s.value(c.foreground):e.fg):(u=c.foreground?s.value(c.foreground):e.fg,m=c.background?s.value(c.background):void 0),u=Ht(u,r),m=Ht(m,r),c.decorations.has("dim")&&(u=tm(u));let p=Oe.None;return c.decorations.has("bold")&&(p|=Oe.Bold),c.decorations.has("italic")&&(p|=Oe.Italic),c.decorations.has("underline")&&(p|=Oe.Underline),c.decorations.has("strikethrough")&&(p|=Oe.Strikethrough),{content:c.value,offset:l[1],color:u,bgColor:m,fontStyle:p}}))}o(em,"Kh");function tm(e){const t=e.match(Kh);if(t){const r=t[1];if(r.length===8){const a=Math.round(Number.parseInt(r.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${r.slice(0,6)}${a}`}else{if(r.length===6)return`#${r}80`;if(r.length===4){const a=r[0],s=r[1],i=r[2],l=r[3];return`#${a}${a}${s}${s}${i}${i}${Math.round(Number.parseInt(`${l}${l}`,16)/2).toString(16).padStart(2,"0")}`}else if(r.length===3){const a=r[0],s=r[1],i=r[2];return`#${a}${a}${s}${s}${i}${i}80`}}}const n=e.match(Qh);return n?`var(${n[1]}-dim)`:e}o(tm,"Qh");function hs(e,t,n={}){const r=e.resolveLangAlias(n.lang||"text"),{theme:a=e.getLoadedThemes()[0]}=n;if(!Pr(r)&&!Lr(a)&&r==="ansi"){const{theme:s}=e.setTheme(a);return em(s,t,n)}return bo(e,t,n)}o(hs,"Ni");function Wr(e,t,n){let r,a,s,i,l,c;if("themes"in n){const{defaultColor:u="light",cssVariablePrefix:m="--shiki-",colorsRendering:p="css-vars"}=n,f=Object.entries(n.themes).filter(k=>k[1]).map(k=>({color:k[0],theme:k[1]})).sort((k,_)=>k.color===u?-1:_.color===u?1:0);if(f.length===0)throw new ve("`themes` option must not be empty");const g=vo(e,t,n,hs);if(c=sr(g),u&&u!=="light-dark()"&&!f.some(k=>k.color===u))throw new ve(`\`themes\` option must contain the defaultColor key \`${u}\``);const y=f.map(k=>e.getTheme(k.theme)),$=f.map(k=>k.color);s=g.map(k=>k.map(_=>jh(_,$,m,u,p))),c&&Fr(s,c);const T=f.map(k=>Rr(k.theme,n));a=Go(f,y,T,m,u,"fg",p),r=Go(f,y,T,m,u,"bg",p),i=`shiki-themes ${y.map(k=>k.name).join(" ")}`,l=u?void 0:[a,r].join(";")}else if("theme"in n){const u=Rr(n.theme,n);s=hs(e,t,n);const m=e.getTheme(n.theme);r=Ht(m.bg,u),a=Ht(m.fg,u),i=m.name,c=sr(s)}else throw new ve("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:a,bg:r,themeName:i,rootStyle:l,grammarState:c}}o(Wr,"aa");function Go(e,t,n,r,a,s,i){return e.map((l,c)=>{const u=Ht(t[c][s],n[c])||"inherit",m=`${r+l.color}${s==="bg"?"-bg":""}:${u}`;if(c===0&&a){if(a==="light-dark()"&&e.length>1){const p=e.findIndex(g=>g.color==="light"),f=e.findIndex(g=>g.color==="dark");if(p===-1||f===-1)throw new ve('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${Ht(t[p][s],n[p])||"inherit"}, ${Ht(t[f][s],n[f])||"inherit"});${m}`}return u}return i==="css-vars"?m:null}).filter(l=>!!l).join(";")}o(Go,"co");const Uo=/^\s+$/,nm=/^(\s*)(.*?)(\s*)$/;function Vr(e,t,n,r={meta:{},options:n,codeToHast:o((a,s)=>Vr(e,a,s),"codeToHast"),codeToTokens:o((a,s)=>Wr(e,a,s),"codeToTokens")}){var a,s;let i=t;for(const T of Ur(n))i=((a=T.preprocess)==null?void 0:a.call(r,i,n))||i;let{tokens:l,fg:c,bg:u,themeName:m,rootStyle:p,grammarState:f}=Wr(e,i,n);const{mergeWhitespaces:g=!0,mergeSameStyleTokens:y=!1}=n;g===!0?l=am(l):g==="never"&&(l=sm(l)),y&&(l=im(l));const $={...r,get source(){return i}};for(const T of Ur(n))l=((s=T.tokens)==null?void 0:s.call($,l))||l;return rm(l,{...n,fg:c,bg:u,themeName:m,rootStyle:n.rootStyle===!1?!1:n.rootStyle??p},$,f)}o(Vr,"ia");function rm(e,t,n,r=sr(e)){var a,s,i,l;const c=Ur(t),u=[],m={type:"root",children:[]},{structure:p="classic",tabindex:f="0"}=t,g={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?g.style=t.rootStyle:g.style=`background-color:${t.bg};color:${t.fg}`),f!==!1&&f!=null&&(g.tabindex=f.toString());for(const[M,E]of Object.entries(t.meta||{}))M.startsWith("_")||(g[M]=E);let y={type:"element",tagName:"pre",properties:g,children:[],data:t.data},$={type:"element",tagName:"code",properties:{},children:u};const T=[],k={...n,structure:p,addClassToHast:jo,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return m},get pre(){return y},get code(){return $},get lines(){return T}};if(e.forEach((M,E)=>{var P,I;E&&(p==="inline"?m.children.push({type:"element",tagName:"br",properties:{},children:[]}):p==="classic"&&u.push({type:"text",value:`
12
+ `}));let L={type:"element",tagName:"span",properties:{class:"line"},children:[]},U=0;for(const V of M){let z={type:"element",tagName:"span",properties:{...V.htmlAttrs},children:[{type:"text",value:V.content}]};const G=us(V.htmlStyle||Gr(V));G&&(z.properties.style=G);for(const W of c)z=((P=W?.span)==null?void 0:P.call(k,z,E+1,U,L,V))||z;p==="inline"?m.children.push(z):p==="classic"&&L.children.push(z),U+=V.content.length}if(p==="classic"){for(const V of c)L=((I=V?.line)==null?void 0:I.call(k,L,E+1))||L;T.push(L),u.push(L)}else p==="inline"&&T.push(L)}),p==="classic"){for(const M of c)$=((a=M?.code)==null?void 0:a.call(k,$))||$;y.children.push($);for(const M of c)y=((s=M?.pre)==null?void 0:s.call(k,y))||y;m.children.push(y)}else if(p==="inline"){const M=[];let E={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const I of m.children)I.type==="element"&&I.tagName==="br"?(M.push(E),E={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(I.type==="element"||I.type==="text")&&E.children.push(I);M.push(E);let P={type:"element",tagName:"code",properties:{},children:M};for(const I of c)P=((i=I?.code)==null?void 0:i.call(k,P))||P;m.children=[];for(let I=0;I<P.children.length;I++){I>0&&m.children.push({type:"element",tagName:"br",properties:{},children:[]});const L=P.children[I];L.type==="element"&&m.children.push(...L.children)}}let _=m;for(const M of c)_=((l=M?.root)==null?void 0:l.call(k,_))||_;return r&&Fr(_,r),_}o(rm,"ep");function am(e){return e.map(t=>{const n=[];let r="",a;return t.forEach((s,i)=>{const l=!(s.fontStyle&&(s.fontStyle&Oe.Underline||s.fontStyle&Oe.Strikethrough));l&&Uo.test(s.content)&&t[i+1]?(a===void 0&&(a=s.offset),r+=s.content):r?(l?n.push({...s,offset:a,content:r+s.content}):n.push({content:r,offset:a},s),a=void 0,r=""):n.push(s)}),n})}o(am,"tp");function sm(e){return e.map(t=>t.flatMap(n=>{if(Uo.test(n.content))return n;const r=n.content.match(nm);if(!r)return n;const[,a,s,i]=r;if(!a&&!i)return n;const l=[{...n,offset:n.offset+a.length,content:s}];return a&&l.unshift({content:a,offset:n.offset}),i&&l.push({content:i,offset:n.offset+a.length+s.length}),l}))}o(sm,"np");function im(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const a=n.at(-1),s=us(a.htmlStyle||Gr(a)),i=us(r.htmlStyle||Gr(r)),l=a.fontStyle&&(a.fontStyle&Oe.Underline||a.fontStyle&Oe.Strikethrough),c=r.fontStyle&&(r.fontStyle&Oe.Underline||r.fontStyle&Oe.Strikethrough);!l&&!c&&s===i?a.content+=r.content:n.push({...r})}return n})}o(im,"rp");const om=Nh;function lm(e,t,n){var r;const a={meta:{},options:n,codeToHast:o((i,l)=>Vr(e,i,l),"codeToHast"),codeToTokens:o((i,l)=>Wr(e,i,l),"codeToTokens")};let s=om(Vr(e,t,n,a));for(const i of Ur(n))s=((r=i.postprocess)==null?void 0:r.call(a,s,n))||s;return s}o(lm,"ip");function cm(e){const t=lp(e);return{getLastGrammarState:o((...n)=>mp(t,...n),"getLastGrammarState"),codeToTokensBase:o((n,r)=>hs(t,n,r),"codeToTokensBase"),codeToTokensWithThemes:o((n,r)=>vo(t,n,r),"codeToTokensWithThemes"),codeToTokens:o((n,r)=>Wr(t,n,r),"codeToTokens"),codeToHast:o((n,r)=>Vr(t,n,r),"codeToHast"),codeToHtml:o((n,r)=>lm(t,n,r),"codeToHtml"),getBundledLanguages:o(()=>({}),"getBundledLanguages"),getBundledThemes:o(()=>({}),"getBundledThemes"),...t,getInternalContext:o(()=>t,"getInternalContext")}}o(cm,"_5");function um(e={}){var t;const{name:n="css-variables",variablePrefix:r="--shiki-",fontStyle:a=!0}=e,s=o(l=>{var c;return(c=e.variableDefaults)!=null&&c[l]?`var(${r}${l}, ${e.variableDefaults[l]})`:`var(${r}${l})`},"a"),i={name:n,type:"dark",colors:{"editor.foreground":s("foreground"),"editor.background":s("background"),"terminal.ansiBlack":s("ansi-black"),"terminal.ansiRed":s("ansi-red"),"terminal.ansiGreen":s("ansi-green"),"terminal.ansiYellow":s("ansi-yellow"),"terminal.ansiBlue":s("ansi-blue"),"terminal.ansiMagenta":s("ansi-magenta"),"terminal.ansiCyan":s("ansi-cyan"),"terminal.ansiWhite":s("ansi-white"),"terminal.ansiBrightBlack":s("ansi-bright-black"),"terminal.ansiBrightRed":s("ansi-bright-red"),"terminal.ansiBrightGreen":s("ansi-bright-green"),"terminal.ansiBrightYellow":s("ansi-bright-yellow"),"terminal.ansiBrightBlue":s("ansi-bright-blue"),"terminal.ansiBrightMagenta":s("ansi-bright-magenta"),"terminal.ansiBrightCyan":s("ansi-bright-cyan"),"terminal.ansiBrightWhite":s("ansi-bright-white")},tokenColors:[{scope:["keyword.operator.accessor","meta.group.braces.round.function.arguments","meta.template.expression","markup.fenced_code meta.embedded.block"],settings:{foreground:s("foreground")}},{scope:"emphasis",settings:{fontStyle:"italic"}},{scope:["strong","markup.heading.markdown","markup.bold.markdown"],settings:{fontStyle:"bold"}},{scope:["markup.italic.markdown"],settings:{fontStyle:"italic"}},{scope:"meta.link.inline.markdown",settings:{fontStyle:"underline",foreground:s("token-link")}},{scope:["string","markup.fenced_code","markup.inline"],settings:{foreground:s("token-string")}},{scope:["comment","string.quoted.docstring.multi"],settings:{foreground:s("token-comment")}},{scope:["constant.numeric","constant.language","constant.other.placeholder","constant.character.format.placeholder","variable.language.this","variable.other.object","variable.other.class","variable.other.constant","meta.property-name","meta.property-value","support"],settings:{foreground:s("token-constant")}},{scope:["keyword","storage.modifier","storage.type","storage.control.clojure","entity.name.function.clojure","entity.name.tag.yaml","support.function.node","support.type.property-name.json","punctuation.separator.key-value","punctuation.definition.template-expression"],settings:{foreground:s("token-keyword")}},{scope:"variable.parameter.function",settings:{foreground:s("token-parameter")}},{scope:["support.function","entity.name.type","entity.other.inherited-class","meta.function-call","meta.instance.constructor","entity.other.attribute-name","entity.name.function","constant.keyword.clojure"],settings:{foreground:s("token-function")}},{scope:["entity.name.tag","string.quoted","string.regexp","string.interpolated","string.template","string.unquoted.plain.out.yaml","keyword.other.template"],settings:{foreground:s("token-string-expression")}},{scope:["punctuation.definition.arguments","punctuation.definition.dict","punctuation.separator","meta.function-call.arguments"],settings:{foreground:s("token-punctuation")}},{scope:["markup.underline.link","punctuation.definition.metadata.markdown"],settings:{foreground:s("token-link")}},{scope:["beginning.punctuation.definition.list.markdown"],settings:{foreground:s("token-string")}},{scope:["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","string.other.link.title.markdown","string.other.link.description.markdown"],settings:{foreground:s("token-keyword")}},{scope:["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],settings:{foreground:s("token-inserted")}},{scope:["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],settings:{foreground:s("token-deleted")}},{scope:["markup.changed","punctuation.definition.changed"],settings:{foreground:s("token-changed")}}]};return a||(i.tokenColors=(t=i.tokenColors)==null?void 0:t.map(l=>{var c;return(c=l.settings)!=null&&c.fontStyle&&delete l.settings.fontStyle,l})),i}o(um,"$5");const Wo=4294967295;var pm=class{static{o(this,"sp")}constructor(e,t={}){N(this,"patterns"),N(this,"options"),N(this,"regexps"),this.patterns=e,this.options=t;const{forgiving:n=!1,cache:r,regexConstructor:a}=t;if(!a)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(s=>{if(typeof s!="string")return s;const i=r?.get(s);if(i){if(i instanceof RegExp)return i;if(n)return null;throw i}try{const l=a(s);return r?.set(s,l),l}catch(l){if(r?.set(s,l),n)return null;throw l}})}findNextMatchSync(e,t,n){const r=typeof e=="string"?e:e.content,a=[];function s(i,l,c=0){return{index:i,captureIndices:l.indices.map(u=>u==null?{start:Wo,end:Wo,length:0}:{start:u[0]+c,end:u[1]+c,length:u[1]-u[0]})}}o(s,"i");for(let i=0;i<this.regexps.length;i++){const l=this.regexps[i];if(l)try{l.lastIndex=t;const c=l.exec(r);if(!c)continue;if(c.index===t)return s(i,c,0);a.push([i,c,0])}catch(c){if(this.options.forgiving)continue;throw c}}if(a.length){const i=Math.min(...a.map(l=>l[1].index));for(const[l,c,u]of a)if(c.index===i)return s(l,c,u)}return null}};function Mn(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}o(Mn,"jn");function hm(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}o(hm,"op");const ms=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),Pe=String.raw;function zn(e,t){if(e==null)throw new Error(t??"Value expected");return e}o(zn,"Gn");const Vo=Pe`\[\^?`,Xo=`c.? | C(?:-.?)?|${Pe`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Pe`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Pe`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Pe`o\{[^\}]*\}?`}|${Pe`\d{1,3}`}`,ds=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Xr=new RegExp(Pe`
13
13
  \\ (?:
14
14
  ${Xo}
15
15
  | [gk]<[^>]*>?
@@ -40,8 +40,8 @@ var l0=Object.defineProperty;var o=(e,t)=>l0(e,"name",{value:t,configurable:!0})
40
40
  | ${Vo}
41
41
  | &&
42
42
  | .
43
- `.replace(/\s+/g,""),"gsu");function hm(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=zm(n.flags),a=[r.extended],s={captureGroup:n.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(p){a.push(p)},replaceCurrentModX(p){a[a.length-1]=p},singleline:n.rules.singleline};let i=[],l;for(Xr.lastIndex=0;l=Xr.exec(e);){const p=mm(s,e,l[0],Xr.lastIndex);p.tokens?i.push(...p.tokens):p.token&&i.push(p.token),p.lastIndex!==void 0&&(Xr.lastIndex=p.lastIndex)}const c=[];let u=0;i.filter(p=>p.type==="GroupOpen").forEach(p=>{p.kind==="capturing"?p.number=++u:p.raw==="("&&c.push(p)}),u||c.forEach((p,f)=>{p.kind="capturing",p.number=f+1});const m=u||c.length;return{tokens:i.map(p=>p.type==="EscapedNumber"?Nm(p,m):p).flat(),flags:r}}o(hm,"op");function mm(e,t,n,r){const[a,s]=n;if(n==="["||n==="[^"){const i=dm(t,n,r);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(s))return{token:Zo(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:$m(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:Ko(n)}}if(s==="K")return{token:Jo("keep",n)};if(s==="N"||s==="R")return{token:un("newline",n,{negate:s==="N"})};if(s==="O")return{token:un("any",n)};if(s==="X")return{token:un("text_segment",n)};const i=Yo(n,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(a==="("){if(s==="*")return{token:Tm(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:Am(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:En("group",n)};if(n==="(?>")return{token:En("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:En(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:En("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:En("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:xm(n)}}if(e.getCurrentModX()){if(n==="#"){const i=t.indexOf(`
44
- `,r);return{lastIndex:i===-1?t.length:i}}if(/^\s$/.test(n)){const i=/\s+/y;return i.lastIndex=r,{lastIndex:i.exec(t)?i.lastIndex:r}}}if(n===".")return{token:un("dot",n)};if(n==="^"||n==="$"){const i=e.singleline?{"^":Pe`\A`,$:Pe`\Z`}[n]:n;return{token:Zo(i,n)}}return n==="|"?{token:fm(n)}:ds.test(n)?{tokens:Bm(n)}:{token:zt(Mn(n),n)}}o(mm,"lp");function dm(e,t,n){const r=[Qo(t[1]==="^",t)];let a=1,s;for(gs.lastIndex=n;s=gs.exec(e);){const i=s[0];if(i[0]==="["&&i[1]!==":")a++,r.push(Qo(i[1]==="^",i));else if(i==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(zt(93,i));else if(a--,r.push(bm(i)),!a)break}else{const l=gm(i);Array.isArray(l)?r.push(...l):r.push(l)}}return{tokens:r,lastIndex:gs.lastIndex||e.length}}o(dm,"up");function gm(e){if(e[0]==="\\")return Yo(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!ms.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return un("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?ym(e):e==="&&"?vm(e):zt(Mn(e),e)}o(gm,"cp");function Yo(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return Sm(e);if("dDhHsSwW".includes(n))return Im(e);if(e.startsWith(Pe`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return Mm(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(i=>parseInt(i,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),s=new TextEncoder;return[...a].map(i=>{const l=[...s.encode(i)].map(c=>`\\x${c.toString(16)}`).join("");return zt(Mn(i),l)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return zt(Em(e),e);if(el.has(n))return zt(el.get(n),e);if(/\d/.test(n))return wm(t,e);if(e==="\\")throw new Error(Pe`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return zt(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}o(Yo,"v0");function fm(e){return{type:"Alternator",raw:e}}o(fm,"mp");function Zo(e,t){return{type:"Assertion",kind:e,raw:t}}o(Zo,"ho");function Ko(e){return{type:"Backreference",raw:e}}o(Ko,"w0");function zt(e,t){return{type:"Character",value:e,raw:t}}o(zt,"Lt");function bm(e){return{type:"CharacterClassClose",raw:e}}o(bm,"hp");function ym(e){return{type:"CharacterClassHyphen",raw:e}}o(ym,"pp");function vm(e){return{type:"CharacterClassIntersector",raw:e}}o(vm,"dp");function Qo(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}o(Qo,"po");function un(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}o(un,"yn");function Jo(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:zn(n.flags),raw:t}}o(Jo,"x0");function wm(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}o(wm,"fp");function xm(e){return{type:"GroupClose",raw:e}}o(xm,"gp");function En(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}o(En,"Rn");function km(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}o(km,"bp");function _m(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}o(_m,"yp");function $m(e){return{type:"Subroutine",raw:e}}o($m,"vp");const Cm=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),el=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function Sm(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return zt(Mn(t.toUpperCase())-64,e)}o(Sm,"xp");function Am(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??(r="");const a=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),s=nl(n),i=nl(r),l={};if(s&&(l.enable=s),i&&(l.disable=i),e.endsWith(")"))return t.replaceCurrentModX(a),Jo("flags",e,{flags:l});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,En("group",e,{...(s||i)&&{flags:l}});throw new Error(`Unexpected flag modifier "${e}"`)}o(Am,"kp");function Tm(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:a}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const s=a?a.split(",").filter(m=>m!=="").map(m=>/^[+-]?\d+$/.test(m)?+m:m):[],[i,l,c]=s,u=Cm.has(n)?n.toLowerCase():"custom";switch(u){case"fail":case"mismatch":case"skip":if(s.length>0)throw new Error(`Named callout arguments not allowed "${s}"`);break;case"error":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(typeof i=="string")throw new Error(`Named callout argument must be a number "${i}"`);break;case"max":if(!s.length||s.length>2)throw new Error(`Named callout must have one or two arguments "${s}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(s.length===2&&(typeof l=="number"||!/^[<>X]$/.test(l)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${l}"`);break;case"count":case"total_count":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(s.length===1&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${i}"`);break;case"cmp":if(s.length!==3)throw new Error(`Named callout must have three arguments "${s}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(typeof l=="number"||!/^(?:[<>!=]=|[<>])$/.test(l))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${l}"`);if(typeof c=="string"&&!/^[A-Za-z_]\w*$/.test(c))throw new Error(`Named callout argument three must be a tag or number "${c}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${u}"`)}return km(u,r??null,a?.split(",")??null,e)}o(Tm,"_p");function tl(e){let t=null,n,r;if(e[0]==="{"){const{minStr:a,maxStr:s}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,i=1e5;if(+a>i||s&&+s>i)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+a,r=s===void 0?+a:s===""?1/0:+s,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return _m(t,n,r,e)}o(tl,"go");function Im(e){const t=e[1].toLowerCase();return un({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}o(Im,"$p");function Mm(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return un("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}o(Mm,"Cp");function nl(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}o(nl,"bo");function zm(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}o(zm,"Sp");function Em(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}o(Em,"Ap");function Nm(e,t){const{raw:n,inCharClass:r}=e,a=n.slice(1);if(!r&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=t))return[Ko(n)];const s=[],i=a.match(/^[0-7]+|\d/g);for(let l=0;l<i.length;l++){const c=i[l];let u;if(l===0&&c!=="8"&&c!=="9"){if(u=parseInt(c,8),u>127)throw new Error(Pe`Octal encoded byte above 177 unsupported "${n}"`)}else u=Mn(c);s.push(zt(u,(l===0?"\\":"")+c))}return s}o(Nm,"Tp");function Bm(e){const t=[],n=new RegExp(ds,"gy");let r;for(;r=n.exec(e);){const a=r[0];if(a[0]==="{"){const s=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(a);if(s){const{min:i,max:l}=s.groups;if(+i>+l&&a.endsWith("?")){n.lastIndex--,t.push(tl(a.slice(0,-1)));continue}}}t.push(tl(a))}return t}o(Bm,"Ep");function rl(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}o(rl,"k0");function Rm(e){return Pm.has(e.type)}o(Rm,"Mp");const Pm=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function al(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=hm(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=o((f,g)=>{const y=r.tokens[s.nextIndex];switch(s.parent=f,s.nextIndex++,y.type){case"Alternator":return pn();case"Assertion":return Lm(y);case"Backreference":return Om(y,s);case"Character":return Yr(y.value,{useLastValid:!!g.isCheckingRangeEnd});case"CharacterClassHyphen":return Fm(y,s,g);case"CharacterClassOpen":return qm(y,s,g);case"CharacterSet":return jm(y,s);case"Directive":return Vm(y.kind,{flags:y.flags});case"GroupOpen":return Dm(y,s,g);case"NamedCallout":return Ym(y.kind,y.tag,y.arguments);case"Quantifier":return Hm(y,s);case"Subroutine":return Gm(y,s);default:throw new Error(`Unexpected token type "${y.type}"`)}},"a"),s={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:a},i=Km(Xm(r.flags));let l=i.body[0];for(;s.nextIndex<r.tokens.length;){const f=a(l,{});f.type==="Alternative"?(i.body.push(f),l=f):l.body.push(f)}const{capturingGroups:c,hasNumberedRef:u,namedGroupsByName:m,subroutines:p}=s;if(u&&m.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:f}of p)if(typeof f=="number"){if(f>c.length)throw new Error("Subroutine uses a group number that's not defined");f&&(c[f-1].isSubroutined=!0)}else if(m.has(f)){if(m.get(f).length>1)throw new Error(Pe`Subroutine uses a duplicate group name "\g<${f}>"`);m.get(f)[0].isSubroutined=!0}else throw new Error(Pe`Subroutine uses a group name that's not defined "\g<${f}>"`);return i}o(al,"_0");function Lm({kind:e}){return fs(zn({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===Pe`\B`||e===Pe`\Y`})}o(Lm,"zp");function Om({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),a=o((s,i=!1)=>{const l=t.capturingGroups.length;let c=!1;if(s>l)if(t.skipBackrefValidation)c=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,bs(i?l+1-s:s,{orphan:c})},"a");if(n){const s=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(s)return a(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return bs(r)}return a(+r)}o(Om,"Rp");function Fm(e,t,n){const{tokens:r,walk:a}=t,s=t.parent,i=s.body.at(-1),l=r[t.nextIndex];if(!n.isCheckingRangeEnd&&i&&i.type!=="CharacterClass"&&i.type!=="CharacterClassRange"&&l&&l.type!=="CharacterClassOpen"&&l.type!=="CharacterClassClose"&&l.type!=="CharacterClassIntersector"){const c=a(s,{...n,isCheckingRangeEnd:!0});if(i.type==="Character"&&c.type==="Character")return s.body.pop(),Wm(i,c);throw new Error("Invalid character class range")}return Yr(Mn("-"))}o(Fm,"Np");function qm({negate:e},t,n){const{tokens:r,walk:a}=t,s=[Zr()],i=r[t.nextIndex];let l=pl(i);for(;l.type!=="CharacterClassClose";){if(l.type==="CharacterClassIntersector")s.push(Zr()),t.nextIndex++;else{const u=s.at(-1);u.body.push(a(u,n))}l=pl(r[t.nextIndex],i)}const c=Zr({negate:e});return s.length===1?c.body=s[0].body:(c.kind="intersection",c.body=s.map(u=>u.body.length===1?u.body[0]:u)),t.nextIndex++,c}o(qm,"Bp");function jm({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:i}=r;if(e==="property"){const l=Kr(n);if(ms.has(l)&&!(i!=null&&i.has(l)))e="posix",n=l;else return Nn(n,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:i})}return e==="posix"?Zm(n,{negate:t}):ys(e,{negate:t})}o(jm,"Dp");function Dm(e,t,n){const{tokens:r,capturingGroups:a,namedGroupsByName:s,skipLookbehindValidation:i,walk:l}=t,c=Qm(e),u=c.type==="AbsenceFunction",m=ul(c),p=m&&c.negate;if(c.type==="CapturingGroup"&&(a.push(c),c.name&&pm(s,c.name,[]).push(c)),u&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let f=hl(r[t.nextIndex]);for(;f.type!=="GroupClose";){if(f.type==="Alternator")c.body.push(pn()),t.nextIndex++;else{const g=c.body.at(-1),y=l(g,{...n,isInAbsenceFunction:n.isInAbsenceFunction||u,isInLookbehind:n.isInLookbehind||m,isInNegLookbehind:n.isInNegLookbehind||p});if(g.body.push(y),(m||n.isInLookbehind)&&!i){const _="Lookbehind includes a pattern not allowed by Oniguruma";if(p||n.isInNegLookbehind){if(cl(y)||y.type==="CapturingGroup")throw new Error(_)}else if(cl(y)||ul(y)&&y.negate)throw new Error(_)}}f=hl(r[t.nextIndex])}return t.nextIndex++,c}o(Dm,"Lp");function Hm({kind:e,min:t,max:n},r){const a=r.parent,s=a.body.at(-1);if(!s||!Rm(s))throw new Error("Quantifier requires a repeatable token");const i=il(e,t,n,s);return a.body.pop(),i}o(Hm,"Fp");function Gm({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let a=e.slice(3,-1);const s=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(a);if(s){const l=+s.groups.num,c=n.length;if(t.hasNumberedRef=!0,a={"":l,"+":c+l,"-":c+1-l}[s.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const i=ol(a);return r.push(i),i}o(Gm,"Pp");function Um(e,t){return{type:"AbsenceFunction",kind:e,body:or(t?.body)}}o(Um,"Op");function pn(e){return{type:"Alternative",body:ll(e?.body)}}o(pn,"_n");function fs(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!(t!=null&&t.negate)),n}o(fs,"Bi");function bs(e,t){const n=!!(t!=null&&t.orphan);return{type:"Backreference",ref:e,...n&&{orphan:n}}}o(bs,"Di");function sl(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!Jm(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:or(t?.body)}}o(sl,"$0");function Yr(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}o(Yr,"va");function Zr(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:ll(e?.body)}}o(Zr,"Hr");function Wm(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}o(Wm,"qp");function ys(e,t){const n=!!(t!=null&&t.negate),r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}o(ys,"Li");function Vm(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:zn(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}o(Vm,"jp");function Xm(e){return{type:"Flags",...e}}o(Xm,"Gp");function mt(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:or(e?.body)}}o(mt,"bt");function hn(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:or(e?.body)}}o(hn,"fn");function Ym(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}o(Ym,"Hp");function Zm(e,t){const n=!!(t!=null&&t.negate);if(!ms.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}o(Zm,"Up");function il(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}o(il,"C0");function Km(e,t){return{type:"Regex",body:or(t?.body),flags:e}}o(Km,"Wp");function ol(e){return{type:"Subroutine",ref:e}}o(ol,"S0");function Nn(e,t){var n;const r={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let a=(n=r.unicodePropertyMap)==null?void 0:n.get(Kr(e));if(!a){if(r.normalizeUnknownPropertyNames)a=ed(e);else if(r.unicodePropertyMap&&!r.skipPropertyNameValidation)throw new Error(Pe`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:a??e,negate:r.negate}}o(Nn,"Nn");function Qm({flags:e,kind:t,name:n,negate:r,number:a}){switch(t){case"absence_repeater":return Um("repeater");case"atomic":return mt({atomic:!0});case"capturing":return sl(a,{name:n});case"group":return mt({flags:e});case"lookahead":case"lookbehind":return hn({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}o(Qm,"Vp");function or(e){if(e===void 0)e=[pn()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}o(or,"gr");function ll(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}o(ll,"A0");function cl(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}o(cl,"yo");function ul(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}o(ul,"vo");function Jm(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}o(Jm,"Xp");function ed(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}o(ed,"Yp");function Kr(e){return e.replace(/[- _]+/g,"").toLowerCase()}o(Kr,"wa");function pl(e,t){const n=t;return zn(e,`Unclosed character class${n?.type==="Character"&&n.value===93&&n.raw==="]"?' (started with "]")':""}`)}o(pl,"wo");function hl(e){return zn(e,"Unclosed group")}o(hl,"xo");function lr(e,t,n=null){function r(s,i){for(let l=0;l<s.length;l++){const c=a(s[l],i,l,s);l=Math.max(-1,l+c)}}o(r,"r");function a(s,i=null,l=null,c=null){var u,m;let p=0,f=!1;const g={node:s,parent:i,key:l,container:c,root:e,remove(){Qr(c).splice(Math.max(0,Bn(l)+p),1),p--,f=!0},removeAllNextSiblings(){return Qr(c).splice(Bn(l)+1)},removeAllPrevSiblings(){const M=Bn(l)+p;return p-=M,Qr(c).splice(0,Math.max(0,M))},replaceWith(M,E={}){const P=!!E.traverse;c?c[Math.max(0,Bn(l)+p)]=M:zn(i,"Can't replace root node")[l]=M,P&&a(M,i,l,c),f=!0},replaceWithMultiple(M,E={}){const P=!!E.traverse;if(Qr(c).splice(Math.max(0,Bn(l)+p),1,...M),p+=M.length-1,P){let I=0;for(let L=0;L<M.length;L++)I+=a(M[L],i,Bn(l)+L+I,c)}f=!0},skip(){f=!0}},{type:y}=s,_=t["*"],T=t[y],k=typeof _=="function"?_:_?.enter,$=typeof T=="function"?T:T?.enter;if(k?.(g,n),$?.(g,n),!f)switch(y){case"AbsenceFunction":case"Alternative":case"CapturingGroup":case"CharacterClass":case"Group":case"LookaroundAssertion":r(s.body,s);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":a(s.min,s,"min"),a(s.max,s,"max");break;case"Quantifier":a(s.body,s,"body");break;case"Regex":r(s.body,s),a(s.flags,s,"flags");break;default:throw new Error(`Unexpected node type "${y}"`)}return(u=T?.exit)==null||u.call(T,g,n),(m=_?.exit)==null||m.call(_,g,n),p}return o(a,"a"),a(e),e}o(lr,"rr");function Qr(e){if(!Array.isArray(e))throw new Error("Container expected");return e}o(Qr,"Ir");function Bn(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}o(Bn,"Mn");const td=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function nd(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}o(nd,"Kp");function rd(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}o(rd,"Qp");const ot=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function vs(e,t,n,r){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let i=0,l="";for(const c of e.matchAll(a)){const{0:u,groups:{$skip:m}}=c;if(!m&&(!r||r===ot.DEFAULT==!i)){n instanceof Function?l+=n(c,{context:i?ot.CHAR_CLASS:ot.DEFAULT,negated:s[s.length-1]}):l+=n;continue}u[0]==="["?(i++,s.push(u[1]==="^")):u==="]"&&i&&(i--,s.pop()),l+=u}return l}o(vs,"ys");function ml(e,t,n,r){vs(e,t,n,r)}o(ml,"T0");function ad(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const a=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=n;let s=0,i;for(;i=a.exec(e);){const{0:l,groups:{$skip:c}}=i;if(!c&&(!r||r===ot.DEFAULT==!s))return i;l==="["?s++:l==="]"&&s&&s--,a.lastIndex==i.index&&a.lastIndex++}return null}o(ad,"Jp");function Jr(e,t,n){return!!ad(e,t,0,n)}o(Jr,"zr");function sd(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,a=0,s=1,i;for(;i=n.exec(e);){const[l]=i;if(l==="[")a++;else if(a)l==="]"&&a--;else if(l==="(")s++;else if(l===")"&&(s--,!s)){r=i.index;break}}return e.slice(t,r)}o(sd,"ed");const dl=new RegExp(String.raw`(?<noncapturingStart>${td})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function id(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const a="(?>",s="(?:(?=(",i=[0],l=[];let c=0,u=0,m=NaN,p;do{p=!1;let f=0,g=0,y=!1,_;for(dl.lastIndex=Number.isNaN(m)?0:m+s.length;_=dl.exec(e);){const{0:T,index:k,groups:{capturingStart:$,noncapturingStart:M}}=_;if(T==="[")f++;else if(f)T==="]"&&f--;else if(T===a&&!y)m=k,y=!0;else if(y&&M)g++;else if($)y?g++:(c++,i.push(c+u));else if(T===")"&&y){if(!g){u++;const E=c+u;if(e=`${e.slice(0,m)}${s}${e.slice(m+a.length,k)}))<$$${E}>)${e.slice(k+1)}`,p=!0,l.push(E),nd(n,E),r.size){const P=new Map;r.forEach((I,L)=>{P.set(L>=E?L+1:L,I.map(U=>U>=E?U+1:U))}),r=P}break}g--}}}while(p);return n.push(...l),e=vs(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:f,groups:{backrefNum:g,wrappedBackrefNum:y}})=>{if(g){const _=+g;if(_>i.length-1)throw new Error(`Backref "${f}" greater than number of captures`);return`\\${i[_]}`}return`\\${y}`},ot.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}o(id,"td");const gl=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,ws=new RegExp(String.raw`
43
+ `.replace(/\s+/g,""),"gsu");function mm(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=Em(n.flags),a=[r.extended],s={captureGroup:n.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(p){a.push(p)},replaceCurrentModX(p){a[a.length-1]=p},singleline:n.rules.singleline};let i=[],l;for(Xr.lastIndex=0;l=Xr.exec(e);){const p=dm(s,e,l[0],Xr.lastIndex);p.tokens?i.push(...p.tokens):p.token&&i.push(p.token),p.lastIndex!==void 0&&(Xr.lastIndex=p.lastIndex)}const c=[];let u=0;i.filter(p=>p.type==="GroupOpen").forEach(p=>{p.kind==="capturing"?p.number=++u:p.raw==="("&&c.push(p)}),u||c.forEach((p,f)=>{p.kind="capturing",p.number=f+1});const m=u||c.length;return{tokens:i.map(p=>p.type==="EscapedNumber"?Bm(p,m):p).flat(),flags:r}}o(mm,"lp");function dm(e,t,n,r){const[a,s]=n;if(n==="["||n==="[^"){const i=gm(t,n,r);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(s))return{token:Zo(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:Sm(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:Ko(n)}}if(s==="K")return{token:Jo("keep",n)};if(s==="N"||s==="R")return{token:un("newline",n,{negate:s==="N"})};if(s==="O")return{token:un("any",n)};if(s==="X")return{token:un("text_segment",n)};const i=Yo(n,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(a==="("){if(s==="*")return{token:Im(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:Tm(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:En("group",n)};if(n==="(?>")return{token:En("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:En(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:En("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:En("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:km(n)}}if(e.getCurrentModX()){if(n==="#"){const i=t.indexOf(`
44
+ `,r);return{lastIndex:i===-1?t.length:i}}if(/^\s$/.test(n)){const i=/\s+/y;return i.lastIndex=r,{lastIndex:i.exec(t)?i.lastIndex:r}}}if(n===".")return{token:un("dot",n)};if(n==="^"||n==="$"){const i=e.singleline?{"^":Pe`\A`,$:Pe`\Z`}[n]:n;return{token:Zo(i,n)}}return n==="|"?{token:bm(n)}:ds.test(n)?{tokens:Rm(n)}:{token:zt(Mn(n),n)}}o(dm,"up");function gm(e,t,n){const r=[Qo(t[1]==="^",t)];let a=1,s;for(gs.lastIndex=n;s=gs.exec(e);){const i=s[0];if(i[0]==="["&&i[1]!==":")a++,r.push(Qo(i[1]==="^",i));else if(i==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(zt(93,i));else if(a--,r.push(ym(i)),!a)break}else{const l=fm(i);Array.isArray(l)?r.push(...l):r.push(l)}}return{tokens:r,lastIndex:gs.lastIndex||e.length}}o(gm,"cp");function fm(e){if(e[0]==="\\")return Yo(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!ms.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return un("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?vm(e):e==="&&"?wm(e):zt(Mn(e),e)}o(fm,"mp");function Yo(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return Am(e);if("dDhHsSwW".includes(n))return Mm(e);if(e.startsWith(Pe`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return zm(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(i=>parseInt(i,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),s=new TextEncoder;return[...a].map(i=>{const l=[...s.encode(i)].map(c=>`\\x${c.toString(16)}`).join("");return zt(Mn(i),l)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return zt(Nm(e),e);if(el.has(n))return zt(el.get(n),e);if(/\d/.test(n))return xm(t,e);if(e==="\\")throw new Error(Pe`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return zt(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}o(Yo,"v0");function bm(e){return{type:"Alternator",raw:e}}o(bm,"hp");function Zo(e,t){return{type:"Assertion",kind:e,raw:t}}o(Zo,"ho");function Ko(e){return{type:"Backreference",raw:e}}o(Ko,"w0");function zt(e,t){return{type:"Character",value:e,raw:t}}o(zt,"Lt");function ym(e){return{type:"CharacterClassClose",raw:e}}o(ym,"pp");function vm(e){return{type:"CharacterClassHyphen",raw:e}}o(vm,"dp");function wm(e){return{type:"CharacterClassIntersector",raw:e}}o(wm,"fp");function Qo(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}o(Qo,"po");function un(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}o(un,"yn");function Jo(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:zn(n.flags),raw:t}}o(Jo,"x0");function xm(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}o(xm,"gp");function km(e){return{type:"GroupClose",raw:e}}o(km,"bp");function En(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}o(En,"Rn");function _m(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}o(_m,"yp");function $m(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}o($m,"vp");function Sm(e){return{type:"Subroutine",raw:e}}o(Sm,"wp");const Cm=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),el=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function Am(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return zt(Mn(t.toUpperCase())-64,e)}o(Am,"kp");function Tm(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??(r="");const a=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),s=nl(n),i=nl(r),l={};if(s&&(l.enable=s),i&&(l.disable=i),e.endsWith(")"))return t.replaceCurrentModX(a),Jo("flags",e,{flags:l});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,En("group",e,{...(s||i)&&{flags:l}});throw new Error(`Unexpected flag modifier "${e}"`)}o(Tm,"_p");function Im(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:a}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const s=a?a.split(",").filter(m=>m!=="").map(m=>/^[+-]?\d+$/.test(m)?+m:m):[],[i,l,c]=s,u=Cm.has(n)?n.toLowerCase():"custom";switch(u){case"fail":case"mismatch":case"skip":if(s.length>0)throw new Error(`Named callout arguments not allowed "${s}"`);break;case"error":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(typeof i=="string")throw new Error(`Named callout argument must be a number "${i}"`);break;case"max":if(!s.length||s.length>2)throw new Error(`Named callout must have one or two arguments "${s}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(s.length===2&&(typeof l=="number"||!/^[<>X]$/.test(l)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${l}"`);break;case"count":case"total_count":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(s.length===1&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${i}"`);break;case"cmp":if(s.length!==3)throw new Error(`Named callout must have three arguments "${s}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(typeof l=="number"||!/^(?:[<>!=]=|[<>])$/.test(l))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${l}"`);if(typeof c=="string"&&!/^[A-Za-z_]\w*$/.test(c))throw new Error(`Named callout argument three must be a tag or number "${c}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${u}"`)}return _m(u,r??null,a?.split(",")??null,e)}o(Im,"$p");function tl(e){let t=null,n,r;if(e[0]==="{"){const{minStr:a,maxStr:s}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,i=1e5;if(+a>i||s&&+s>i)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+a,r=s===void 0?+a:s===""?1/0:+s,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return $m(t,n,r,e)}o(tl,"go");function Mm(e){const t=e[1].toLowerCase();return un({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}o(Mm,"Cp");function zm(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return un("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}o(zm,"Sp");function nl(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}o(nl,"bo");function Em(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}o(Em,"Ap");function Nm(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}o(Nm,"Tp");function Bm(e,t){const{raw:n,inCharClass:r}=e,a=n.slice(1);if(!r&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=t))return[Ko(n)];const s=[],i=a.match(/^[0-7]+|\d/g);for(let l=0;l<i.length;l++){const c=i[l];let u;if(l===0&&c!=="8"&&c!=="9"){if(u=parseInt(c,8),u>127)throw new Error(Pe`Octal encoded byte above 177 unsupported "${n}"`)}else u=Mn(c);s.push(zt(u,(l===0?"\\":"")+c))}return s}o(Bm,"Ep");function Rm(e){const t=[],n=new RegExp(ds,"gy");let r;for(;r=n.exec(e);){const a=r[0];if(a[0]==="{"){const s=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(a);if(s){const{min:i,max:l}=s.groups;if(+i>+l&&a.endsWith("?")){n.lastIndex--,t.push(tl(a.slice(0,-1)));continue}}}t.push(tl(a))}return t}o(Rm,"Mp");function rl(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}o(rl,"k0");function Pm(e){return Lm.has(e.type)}o(Pm,"Ip");const Lm=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function al(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=mm(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=o((f,g)=>{const y=r.tokens[s.nextIndex];switch(s.parent=f,s.nextIndex++,y.type){case"Alternator":return pn();case"Assertion":return Om(y);case"Backreference":return Fm(y,s);case"Character":return Yr(y.value,{useLastValid:!!g.isCheckingRangeEnd});case"CharacterClassHyphen":return qm(y,s,g);case"CharacterClassOpen":return jm(y,s,g);case"CharacterSet":return Dm(y,s);case"Directive":return Xm(y.kind,{flags:y.flags});case"GroupOpen":return Hm(y,s,g);case"NamedCallout":return Zm(y.kind,y.tag,y.arguments);case"Quantifier":return Gm(y,s);case"Subroutine":return Um(y,s);default:throw new Error(`Unexpected token type "${y.type}"`)}},"a"),s={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:a},i=Qm(Ym(r.flags));let l=i.body[0];for(;s.nextIndex<r.tokens.length;){const f=a(l,{});f.type==="Alternative"?(i.body.push(f),l=f):l.body.push(f)}const{capturingGroups:c,hasNumberedRef:u,namedGroupsByName:m,subroutines:p}=s;if(u&&m.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:f}of p)if(typeof f=="number"){if(f>c.length)throw new Error("Subroutine uses a group number that's not defined");f&&(c[f-1].isSubroutined=!0)}else if(m.has(f)){if(m.get(f).length>1)throw new Error(Pe`Subroutine uses a duplicate group name "\g<${f}>"`);m.get(f)[0].isSubroutined=!0}else throw new Error(Pe`Subroutine uses a group name that's not defined "\g<${f}>"`);return i}o(al,"_0");function Om({kind:e}){return fs(zn({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===Pe`\B`||e===Pe`\Y`})}o(Om,"Rp");function Fm({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),a=o((s,i=!1)=>{const l=t.capturingGroups.length;let c=!1;if(s>l)if(t.skipBackrefValidation)c=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,bs(i?l+1-s:s,{orphan:c})},"a");if(n){const s=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(s)return a(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return bs(r)}return a(+r)}o(Fm,"Np");function qm(e,t,n){const{tokens:r,walk:a}=t,s=t.parent,i=s.body.at(-1),l=r[t.nextIndex];if(!n.isCheckingRangeEnd&&i&&i.type!=="CharacterClass"&&i.type!=="CharacterClassRange"&&l&&l.type!=="CharacterClassOpen"&&l.type!=="CharacterClassClose"&&l.type!=="CharacterClassIntersector"){const c=a(s,{...n,isCheckingRangeEnd:!0});if(i.type==="Character"&&c.type==="Character")return s.body.pop(),Vm(i,c);throw new Error("Invalid character class range")}return Yr(Mn("-"))}o(qm,"Bp");function jm({negate:e},t,n){const{tokens:r,walk:a}=t,s=[Zr()],i=r[t.nextIndex];let l=pl(i);for(;l.type!=="CharacterClassClose";){if(l.type==="CharacterClassIntersector")s.push(Zr()),t.nextIndex++;else{const u=s.at(-1);u.body.push(a(u,n))}l=pl(r[t.nextIndex],i)}const c=Zr({negate:e});return s.length===1?c.body=s[0].body:(c.kind="intersection",c.body=s.map(u=>u.body.length===1?u.body[0]:u)),t.nextIndex++,c}o(jm,"Dp");function Dm({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:i}=r;if(e==="property"){const l=Kr(n);if(ms.has(l)&&!(i!=null&&i.has(l)))e="posix",n=l;else return Nn(n,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:i})}return e==="posix"?Km(n,{negate:t}):ys(e,{negate:t})}o(Dm,"Lp");function Hm(e,t,n){const{tokens:r,capturingGroups:a,namedGroupsByName:s,skipLookbehindValidation:i,walk:l}=t,c=Jm(e),u=c.type==="AbsenceFunction",m=ul(c),p=m&&c.negate;if(c.type==="CapturingGroup"&&(a.push(c),c.name&&hm(s,c.name,[]).push(c)),u&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let f=hl(r[t.nextIndex]);for(;f.type!=="GroupClose";){if(f.type==="Alternator")c.body.push(pn()),t.nextIndex++;else{const g=c.body.at(-1),y=l(g,{...n,isInAbsenceFunction:n.isInAbsenceFunction||u,isInLookbehind:n.isInLookbehind||m,isInNegLookbehind:n.isInNegLookbehind||p});if(g.body.push(y),(m||n.isInLookbehind)&&!i){const $="Lookbehind includes a pattern not allowed by Oniguruma";if(p||n.isInNegLookbehind){if(cl(y)||y.type==="CapturingGroup")throw new Error($)}else if(cl(y)||ul(y)&&y.negate)throw new Error($)}}f=hl(r[t.nextIndex])}return t.nextIndex++,c}o(Hm,"Fp");function Gm({kind:e,min:t,max:n},r){const a=r.parent,s=a.body.at(-1);if(!s||!Pm(s))throw new Error("Quantifier requires a repeatable token");const i=il(e,t,n,s);return a.body.pop(),i}o(Gm,"Pp");function Um({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let a=e.slice(3,-1);const s=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(a);if(s){const l=+s.groups.num,c=n.length;if(t.hasNumberedRef=!0,a={"":l,"+":c+l,"-":c+1-l}[s.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const i=ol(a);return r.push(i),i}o(Um,"Op");function Wm(e,t){return{type:"AbsenceFunction",kind:e,body:or(t?.body)}}o(Wm,"qp");function pn(e){return{type:"Alternative",body:ll(e?.body)}}o(pn,"_n");function fs(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!(t!=null&&t.negate)),n}o(fs,"Bi");function bs(e,t){const n=!!(t!=null&&t.orphan);return{type:"Backreference",ref:e,...n&&{orphan:n}}}o(bs,"Di");function sl(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!ed(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:or(t?.body)}}o(sl,"$0");function Yr(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}o(Yr,"va");function Zr(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:ll(e?.body)}}o(Zr,"Hr");function Vm(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}o(Vm,"jp");function ys(e,t){const n=!!(t!=null&&t.negate),r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}o(ys,"Li");function Xm(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:zn(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}o(Xm,"Gp");function Ym(e){return{type:"Flags",...e}}o(Ym,"Hp");function mt(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:or(e?.body)}}o(mt,"bt");function hn(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:or(e?.body)}}o(hn,"fn");function Zm(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}o(Zm,"Up");function Km(e,t){const n=!!(t!=null&&t.negate);if(!ms.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}o(Km,"Wp");function il(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}o(il,"C0");function Qm(e,t){return{type:"Regex",body:or(t?.body),flags:e}}o(Qm,"Vp");function ol(e){return{type:"Subroutine",ref:e}}o(ol,"S0");function Nn(e,t){var n;const r={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let a=(n=r.unicodePropertyMap)==null?void 0:n.get(Kr(e));if(!a){if(r.normalizeUnknownPropertyNames)a=td(e);else if(r.unicodePropertyMap&&!r.skipPropertyNameValidation)throw new Error(Pe`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:a??e,negate:r.negate}}o(Nn,"Nn");function Jm({flags:e,kind:t,name:n,negate:r,number:a}){switch(t){case"absence_repeater":return Wm("repeater");case"atomic":return mt({atomic:!0});case"capturing":return sl(a,{name:n});case"group":return mt({flags:e});case"lookahead":case"lookbehind":return hn({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}o(Jm,"Xp");function or(e){if(e===void 0)e=[pn()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}o(or,"gr");function ll(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}o(ll,"A0");function cl(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}o(cl,"yo");function ul(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}o(ul,"vo");function ed(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}o(ed,"Yp");function td(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}o(td,"Zp");function Kr(e){return e.replace(/[- _]+/g,"").toLowerCase()}o(Kr,"wa");function pl(e,t){const n=t;return zn(e,`Unclosed character class${n?.type==="Character"&&n.value===93&&n.raw==="]"?' (started with "]")':""}`)}o(pl,"wo");function hl(e){return zn(e,"Unclosed group")}o(hl,"xo");function lr(e,t,n=null){function r(s,i){for(let l=0;l<s.length;l++){const c=a(s[l],i,l,s);l=Math.max(-1,l+c)}}o(r,"r");function a(s,i=null,l=null,c=null){var u,m;let p=0,f=!1;const g={node:s,parent:i,key:l,container:c,root:e,remove(){Qr(c).splice(Math.max(0,Bn(l)+p),1),p--,f=!0},removeAllNextSiblings(){return Qr(c).splice(Bn(l)+1)},removeAllPrevSiblings(){const M=Bn(l)+p;return p-=M,Qr(c).splice(0,Math.max(0,M))},replaceWith(M,E={}){const P=!!E.traverse;c?c[Math.max(0,Bn(l)+p)]=M:zn(i,"Can't replace root node")[l]=M,P&&a(M,i,l,c),f=!0},replaceWithMultiple(M,E={}){const P=!!E.traverse;if(Qr(c).splice(Math.max(0,Bn(l)+p),1,...M),p+=M.length-1,P){let I=0;for(let L=0;L<M.length;L++)I+=a(M[L],i,Bn(l)+L+I,c)}f=!0},skip(){f=!0}},{type:y}=s,$=t["*"],T=t[y],k=typeof $=="function"?$:$?.enter,_=typeof T=="function"?T:T?.enter;if(k?.(g,n),_?.(g,n),!f)switch(y){case"AbsenceFunction":case"Alternative":case"CapturingGroup":case"CharacterClass":case"Group":case"LookaroundAssertion":r(s.body,s);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":a(s.min,s,"min"),a(s.max,s,"max");break;case"Quantifier":a(s.body,s,"body");break;case"Regex":r(s.body,s),a(s.flags,s,"flags");break;default:throw new Error(`Unexpected node type "${y}"`)}return(u=T?.exit)==null||u.call(T,g,n),(m=$?.exit)==null||m.call($,g,n),p}return o(a,"a"),a(e),e}o(lr,"rr");function Qr(e){if(!Array.isArray(e))throw new Error("Container expected");return e}o(Qr,"Ir");function Bn(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}o(Bn,"Mn");const nd=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function rd(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}o(rd,"Qp");function ad(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}o(ad,"Jp");const ot=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function vs(e,t,n,r){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let i=0,l="";for(const c of e.matchAll(a)){const{0:u,groups:{$skip:m}}=c;if(!m&&(!r||r===ot.DEFAULT==!i)){n instanceof Function?l+=n(c,{context:i?ot.CHAR_CLASS:ot.DEFAULT,negated:s[s.length-1]}):l+=n;continue}u[0]==="["?(i++,s.push(u[1]==="^")):u==="]"&&i&&(i--,s.pop()),l+=u}return l}o(vs,"ys");function ml(e,t,n,r){vs(e,t,n,r)}o(ml,"T0");function sd(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const a=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=n;let s=0,i;for(;i=a.exec(e);){const{0:l,groups:{$skip:c}}=i;if(!c&&(!r||r===ot.DEFAULT==!s))return i;l==="["?s++:l==="]"&&s&&s--,a.lastIndex==i.index&&a.lastIndex++}return null}o(sd,"ed");function Jr(e,t,n){return!!sd(e,t,0,n)}o(Jr,"zr");function id(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,a=0,s=1,i;for(;i=n.exec(e);){const[l]=i;if(l==="[")a++;else if(a)l==="]"&&a--;else if(l==="(")s++;else if(l===")"&&(s--,!s)){r=i.index;break}}return e.slice(t,r)}o(id,"td");const dl=new RegExp(String.raw`(?<noncapturingStart>${nd})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function od(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const a="(?>",s="(?:(?=(",i=[0],l=[];let c=0,u=0,m=NaN,p;do{p=!1;let f=0,g=0,y=!1,$;for(dl.lastIndex=Number.isNaN(m)?0:m+s.length;$=dl.exec(e);){const{0:T,index:k,groups:{capturingStart:_,noncapturingStart:M}}=$;if(T==="[")f++;else if(f)T==="]"&&f--;else if(T===a&&!y)m=k,y=!0;else if(y&&M)g++;else if(_)y?g++:(c++,i.push(c+u));else if(T===")"&&y){if(!g){u++;const E=c+u;if(e=`${e.slice(0,m)}${s}${e.slice(m+a.length,k)}))<$$${E}>)${e.slice(k+1)}`,p=!0,l.push(E),rd(n,E),r.size){const P=new Map;r.forEach((I,L)=>{P.set(L>=E?L+1:L,I.map(U=>U>=E?U+1:U))}),r=P}break}g--}}}while(p);return n.push(...l),e=vs(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:f,groups:{backrefNum:g,wrappedBackrefNum:y}})=>{if(g){const $=+g;if($>i.length-1)throw new Error(`Backref "${f}" greater than number of captures`);return`\\${i[$]}`}return`\\${y}`},ot.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}o(od,"nd");const gl=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,ws=new RegExp(String.raw`
45
45
  \\(?: \d+
46
46
  | c[A-Za-z]
47
47
  | [gk]<[^>]+>
@@ -56,7 +56,7 @@ var l0=Object.defineProperty;var o=(e,t)=>l0(e,"name",{value:t,configurable:!0})
56
56
  ))?
57
57
  | (?<qBase>${gl})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
58
58
  | \\?.
59
- `.replace(/\s+/g,""),"gsu");function od(e){if(!new RegExp(`${gl}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,a="",s=0,i;for(ws.lastIndex=0;i=ws.exec(e);){const{0:l,index:c,groups:{qBase:u,qMod:m,invalidQ:p}}=i;if(l==="[")s||(r=c),s++;else if(l==="]")s?s--:r=null;else if(!s)if(m==="+"&&a&&!a.startsWith("(")){if(p)throw new Error(`Invalid quantifier "${l}"`);let f=-1;if(/^\{\d+\}$/.test(u))e=rd(e,c+u.length,m,"");else{if(a===")"||a==="]"){const g=a===")"?n:r;if(g===null)throw new Error(`Invalid unmatched "${a}"`);e=`${e.slice(0,g)}(?>${e.slice(g,c)}${u})${e.slice(c+l.length)}`}else e=`${e.slice(0,c-a.length)}(?>${a}${u})${e.slice(c+l.length)}`;f+=4}ws.lastIndex+=f}else l[0]==="("?t.push(c):l===")"&&(n=t.length?t.pop():null);a=l}return{pattern:e}}o(od,"nd");const lt=String.raw,ld=lt`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,xs=lt`\(\?R=(?<rDepth>[^\)]+)\)|${ld}`,ea=lt`\(\?<(?![=!])(?<captureName>[^>]+)>`,fl=lt`${ea}|(?<unnamed>\()(?!\?)`,mn=new RegExp(lt`${ea}|${xs}|\(\?|\\?.`,"gsu"),ks="Cannot use multiple overlapping recursions";function cd(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(xs,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&Jr(e,lt`\(\?\(DEFINE\)`,ot.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],i=Jr(e,lt`\\[1-9]`,ot.DEFAULT),l=new Map,c=[];let u=!1,m=0,p=0,f;for(mn.lastIndex=0;f=mn.exec(e);){const{0:g,groups:{captureName:y,rDepth:_,gRNameOrNum:T,gRDepth:k}}=f;if(g==="[")m++;else if(m)g==="]"&&m--;else if(_){if(bl(_),u)throw new Error(ks);if(i)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const $=e.slice(0,f.index),M=e.slice(mn.lastIndex);if(Jr(M,xs,ot.DEFAULT))throw new Error(ks);const E=+_-1;e=yl($,M,E,!1,n,s,p),a=wl(a,$,E,s.length,0,p);break}else if(T){bl(k);let $=!1;for(const W of c)if(W.name===T||W.num===+T){if($=!0,W.hasRecursedWithin)throw new Error(ks);break}if(!$)throw new Error(lt`Recursive \g cannot be used outside the referenced group "${r==="external"?T:lt`\g<${T}&R=${k}>`}"`);const M=l.get(T),E=sd(e,M);if(i&&Jr(E,lt`${ea}|\((?!\?)`,ot.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const P=e.slice(M,f.index),I=E.slice(P.length+g.length),L=s.length,U=+k-1,V=yl(P,I,U,!0,n,s,p);a=wl(a,P,U,s.length-L,L,p);const z=e.slice(0,M),G=e.slice(M+E.length);e=`${z}${V}${G}`,mn.lastIndex+=V.length-g.length-P.length-I.length,c.forEach(W=>W.hasRecursedWithin=!0),u=!0}else if(y)p++,l.set(String(p),mn.lastIndex),l.set(y,mn.lastIndex),c.push({num:p,name:y});else if(g[0]==="("){const $=g==="(";$&&(p++,l.set(String(p),mn.lastIndex)),c.push($?{num:p}:{})}else g===")"&&c.pop()}return n.push(...s),{pattern:e,captureTransfers:a,hiddenCaptures:n}}o(cd,"ad");function bl(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}o(bl,"_o");function yl(e,t,n,r,a,s,i){const l=new Set;r&&ml(e+t,ea,({groups:{captureName:u}})=>{l.add(u)},ot.DEFAULT);const c=[n,r?l:null,a,s,i];return`${e}${vl(`(?:${e}`,"forward",...c)}(?:)${vl(`${t})`,"backward",...c)}${t}`}o(yl,"$o");function vl(e,t,n,r,a,s,i){const l=o(u=>t==="forward"?u+2:n-u+2-1,"l");let c="";for(let u=0;u<n;u++){const m=l(u);c+=vs(e,lt`${fl}|\\k<(?<backref>[^>]+)>`,({0:p,groups:{captureName:f,unnamed:g,backref:y}})=>{if(y&&r&&!r.has(y))return p;const _=`_$${m}`;if(g||f){const T=i+s.length+1;return s.push(T),ud(a,T),g?p:`(?<${f}${_}>`}return lt`\k<${y}${_}>`},ot.DEFAULT)}return c}o(vl,"Co");function ud(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}o(ud,"id");function wl(e,t,n,r,a,s){if(e.size&&r){let i=0;ml(t,fl,()=>i++,ot.DEFAULT);const l=s-i+a,c=new Map;return e.forEach((u,m)=>{const p=(r-i*n)/n,f=i*n,g=m>l+i?m+r:m,y=[];for(const _ of u)if(_<=l)y.push(_);else if(_>l+i+p)y.push(_+r);else if(_<=l+i)for(let T=0;T<=n;T++)y.push(_+i*T);else for(let T=0;T<=n;T++)y.push(_+f+p*T);c.set(g,y)}),c}return e}o(wl,"So");var Ee=String.fromCodePoint,re=String.raw,dt={},ta=globalThis.RegExp;dt.flagGroups=(()=>{try{new ta("(?i:)")}catch{return!1}return!0})(),dt.unicodeSets=(()=>{try{new ta("[[]]","v")}catch{return!1}return!0})(),dt.bugFlagVLiteralHyphenIsRange=dt.unicodeSets?(()=>{try{new ta(re`[\d\-a]`,"v")}catch{return!0}return!1})():!1,dt.bugNestedClassIgnoresNegation=dt.unicodeSets&&new ta("[[^a]]","v").test("a");function na(e,{enable:t,disable:n}){return{dotAll:!(n!=null&&n.dotAll)&&!!(t!=null&&t.dotAll||e.dotAll),ignoreCase:!(n!=null&&n.ignoreCase)&&!!(t!=null&&t.ignoreCase||e.ignoreCase)}}o(na,"sa");function cr(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}o(cr,"cr");function _s(e,t){return xl[e]>=xl[t]}o(_s,"Pi");function pd(e,t){if(e==null)throw new Error(t??"Value expected");return e}o(pd,"sd");var xl={ES2025:2025,ES2024:2024,ES2018:2018},hd={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function kl(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!hd[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=dt.flagGroups?"ES2025":dt.unicodeSets?"ES2024":"ES2018"),t}o(kl,"I0");var md="[ -\r ]",dd=new Set([Ee(304),Ee(305)]),Et=re`[\p{L}\p{M}\p{N}\p{Pc}]`;function _l(e){if(dd.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),a=bd.get(n),s=gd.get(n),i=fd.get(n);return[...r].length===1&&t.add(r),i&&t.add(i),a&&t.add(a),t.add(n),s&&t.add(s),[...t]}o(_l,"z0");var $s=new Map(`C Other
59
+ `.replace(/\s+/g,""),"gsu");function ld(e){if(!new RegExp(`${gl}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,a="",s=0,i;for(ws.lastIndex=0;i=ws.exec(e);){const{0:l,index:c,groups:{qBase:u,qMod:m,invalidQ:p}}=i;if(l==="[")s||(r=c),s++;else if(l==="]")s?s--:r=null;else if(!s)if(m==="+"&&a&&!a.startsWith("(")){if(p)throw new Error(`Invalid quantifier "${l}"`);let f=-1;if(/^\{\d+\}$/.test(u))e=ad(e,c+u.length,m,"");else{if(a===")"||a==="]"){const g=a===")"?n:r;if(g===null)throw new Error(`Invalid unmatched "${a}"`);e=`${e.slice(0,g)}(?>${e.slice(g,c)}${u})${e.slice(c+l.length)}`}else e=`${e.slice(0,c-a.length)}(?>${a}${u})${e.slice(c+l.length)}`;f+=4}ws.lastIndex+=f}else l[0]==="("?t.push(c):l===")"&&(n=t.length?t.pop():null);a=l}return{pattern:e}}o(ld,"rd");const lt=String.raw,cd=lt`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,xs=lt`\(\?R=(?<rDepth>[^\)]+)\)|${cd}`,ea=lt`\(\?<(?![=!])(?<captureName>[^>]+)>`,fl=lt`${ea}|(?<unnamed>\()(?!\?)`,mn=new RegExp(lt`${ea}|${xs}|\(\?|\\?.`,"gsu"),ks="Cannot use multiple overlapping recursions";function ud(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(xs,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&Jr(e,lt`\(\?\(DEFINE\)`,ot.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],i=Jr(e,lt`\\[1-9]`,ot.DEFAULT),l=new Map,c=[];let u=!1,m=0,p=0,f;for(mn.lastIndex=0;f=mn.exec(e);){const{0:g,groups:{captureName:y,rDepth:$,gRNameOrNum:T,gRDepth:k}}=f;if(g==="[")m++;else if(m)g==="]"&&m--;else if($){if(bl($),u)throw new Error(ks);if(i)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const _=e.slice(0,f.index),M=e.slice(mn.lastIndex);if(Jr(M,xs,ot.DEFAULT))throw new Error(ks);const E=+$-1;e=yl(_,M,E,!1,n,s,p),a=wl(a,_,E,s.length,0,p);break}else if(T){bl(k);let _=!1;for(const W of c)if(W.name===T||W.num===+T){if(_=!0,W.hasRecursedWithin)throw new Error(ks);break}if(!_)throw new Error(lt`Recursive \g cannot be used outside the referenced group "${r==="external"?T:lt`\g<${T}&R=${k}>`}"`);const M=l.get(T),E=id(e,M);if(i&&Jr(E,lt`${ea}|\((?!\?)`,ot.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const P=e.slice(M,f.index),I=E.slice(P.length+g.length),L=s.length,U=+k-1,V=yl(P,I,U,!0,n,s,p);a=wl(a,P,U,s.length-L,L,p);const z=e.slice(0,M),G=e.slice(M+E.length);e=`${z}${V}${G}`,mn.lastIndex+=V.length-g.length-P.length-I.length,c.forEach(W=>W.hasRecursedWithin=!0),u=!0}else if(y)p++,l.set(String(p),mn.lastIndex),l.set(y,mn.lastIndex),c.push({num:p,name:y});else if(g[0]==="("){const _=g==="(";_&&(p++,l.set(String(p),mn.lastIndex)),c.push(_?{num:p}:{})}else g===")"&&c.pop()}return n.push(...s),{pattern:e,captureTransfers:a,hiddenCaptures:n}}o(ud,"id");function bl(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}o(bl,"_o");function yl(e,t,n,r,a,s,i){const l=new Set;r&&ml(e+t,ea,({groups:{captureName:u}})=>{l.add(u)},ot.DEFAULT);const c=[n,r?l:null,a,s,i];return`${e}${vl(`(?:${e}`,"forward",...c)}(?:)${vl(`${t})`,"backward",...c)}${t}`}o(yl,"$o");function vl(e,t,n,r,a,s,i){const l=o(u=>t==="forward"?u+2:n-u+2-1,"l");let c="";for(let u=0;u<n;u++){const m=l(u);c+=vs(e,lt`${fl}|\\k<(?<backref>[^>]+)>`,({0:p,groups:{captureName:f,unnamed:g,backref:y}})=>{if(y&&r&&!r.has(y))return p;const $=`_$${m}`;if(g||f){const T=i+s.length+1;return s.push(T),pd(a,T),g?p:`(?<${f}${$}>`}return lt`\k<${y}${$}>`},ot.DEFAULT)}return c}o(vl,"Co");function pd(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}o(pd,"sd");function wl(e,t,n,r,a,s){if(e.size&&r){let i=0;ml(t,fl,()=>i++,ot.DEFAULT);const l=s-i+a,c=new Map;return e.forEach((u,m)=>{const p=(r-i*n)/n,f=i*n,g=m>l+i?m+r:m,y=[];for(const $ of u)if($<=l)y.push($);else if($>l+i+p)y.push($+r);else if($<=l+i)for(let T=0;T<=n;T++)y.push($+i*T);else for(let T=0;T<=n;T++)y.push($+f+p*T);c.set(g,y)}),c}return e}o(wl,"So");var Ee=String.fromCodePoint,re=String.raw,dt={},ta=globalThis.RegExp;dt.flagGroups=(()=>{try{new ta("(?i:)")}catch{return!1}return!0})(),dt.unicodeSets=(()=>{try{new ta("[[]]","v")}catch{return!1}return!0})(),dt.bugFlagVLiteralHyphenIsRange=dt.unicodeSets?(()=>{try{new ta(re`[\d\-a]`,"v")}catch{return!0}return!1})():!1,dt.bugNestedClassIgnoresNegation=dt.unicodeSets&&new ta("[[^a]]","v").test("a");function na(e,{enable:t,disable:n}){return{dotAll:!(n!=null&&n.dotAll)&&!!(t!=null&&t.dotAll||e.dotAll),ignoreCase:!(n!=null&&n.ignoreCase)&&!!(t!=null&&t.ignoreCase||e.ignoreCase)}}o(na,"sa");function cr(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}o(cr,"cr");function _s(e,t){return xl[e]>=xl[t]}o(_s,"Pi");function hd(e,t){if(e==null)throw new Error(t??"Value expected");return e}o(hd,"od");var xl={ES2025:2025,ES2024:2024,ES2018:2018},md={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function kl(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!md[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=dt.flagGroups?"ES2025":dt.unicodeSets?"ES2024":"ES2018"),t}o(kl,"I0");var dd="[ -\r ]",gd=new Set([Ee(304),Ee(305)]),Et=re`[\p{L}\p{M}\p{N}\p{Pc}]`;function _l(e){if(gd.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),a=yd.get(n),s=fd.get(n),i=bd.get(n);return[...r].length===1&&t.add(r),i&&t.add(i),a&&t.add(a),t.add(n),s&&t.add(s),[...t]}o(_l,"z0");var $s=new Map(`C Other
60
60
  Cc Control cntrl
61
61
  Cf Format
62
62
  Cn Unassigned
@@ -146,12 +146,12 @@ Uppercase Upper
146
146
  Variation_Selector VS
147
147
  White_Space space
148
148
  XID_Continue XIDC
149
- XID_Start XIDS`.split(/\s/).map(e=>[Kr(e),e])),gd=new Map([["s",Ee(383)],[Ee(383),"s"]]),fd=new Map([[Ee(223),Ee(7838)],[Ee(107),Ee(8490)],[Ee(229),Ee(8491)],[Ee(969),Ee(8486)]]),bd=new Map([Gt(453),Gt(456),Gt(459),Gt(498),...Cs(8072,8079),...Cs(8088,8095),...Cs(8104,8111),Gt(8124),Gt(8140),Gt(8188)]),yd=new Map([["alnum",re`[\p{Alpha}\p{Nd}]`],["alpha",re`\p{Alpha}`],["ascii",re`\p{ASCII}`],["blank",re`[\p{Zs}\t]`],["cntrl",re`\p{Cc}`],["digit",re`\p{Nd}`],["graph",re`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",re`\p{Lower}`],["print",re`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",re`[\p{P}\p{S}]`],["space",re`\p{space}`],["upper",re`\p{Upper}`],["word",re`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",re`\p{AHex}`]]);function vd(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}o(vd,"dd");function Gt(e){const t=Ee(e);return[t.toLowerCase(),t]}o(Gt,"Vt");function Cs(e,t){return vd(e,t).map(n=>Gt(n))}o(Cs,"Ja");var $l=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function wd(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};Cl(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:_s(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};lr(e,xd,r);const a={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},s={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};lr(e,kd,s);const i={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return lr(e,_d,i),e._originMap=s.groupOriginByCopy,e._strategy=r.strategy,e}o(wd,"fd");var xd={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:a}=e;if(a==="repeater"){const s=mt();s.body[0].body.push(hn({negate:!0,body:r}),Nn("Any"));const i=mt();i.body[0].body.push(il("greedy",0,1/0,s)),n(Se(i,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const a=e.body.filter(s=>s.kind==="flags");for(let s=n+1;s<t.body.length;s++){const i=t.body[s];cr(r,i,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){var n;if((n=t.get(e))!=null&&n.length){const r=Tl(t.get(e));if(r){const a=mt({flags:r});a.body[0].body=e.body,e.body=[Se(a,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:a,remove:s,replaceWith:i},l){const{kind:c,negate:u}=e,{asciiWordBoundaries:m,avoidSubclass:p,supportedGNodes:f,wordIsAscii:g}=l;if(c==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${u?"Y":"y"}"`);if(c==="line_end")i(Se(hn({body:[pn({body:[fs("string_end")]}),pn({body:[Yr(10)]})]}),t));else if(c==="line_start")i(Se(Nt(re`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(c==="search_start")if(f.has(e))a.flags.sticky=!0,s();else{const y=r[n-1];if(y&&Id(y))i(Se(hn({negate:!0}),t));else{if(p)throw new Error(re`Uses "\G" in a way that requires a subclass`);i(Ut(fs("string_start"),t)),l.strategy="clip_search"}}else if(!(c==="string_end"||c==="string_start"))if(c==="string_end_newline")i(Se(Nt(re`(?=\n?\z)`),t));else if(c==="word_boundary"){if(!g&&!m){const y=`(?:(?<=${Et})(?!${Et})|(?<!${Et})(?=${Et}))`,_=`(?:(?<=${Et})(?=${Et})|(?<!${Et})(?!${Et}))`;i(Se(Nt(u?_:y),t))}}else throw new Error(`Unexpected assertion kind "${c}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!As(n)&&(n=Ss(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!As(r)&&(r=Ss(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=Zr({body:[e]});n(Se(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:a,digitIsAscii:s,spaceIsAscii:i,wordIsAscii:l}){const{kind:c,negate:u,value:m}=e;if(s&&(c==="digit"||m==="digit")){n(Ut(ys("digit",{negate:u}),t));return}if(i&&(c==="space"||m==="space")){n(Se(Ts(Nt(md),u),t));return}if(l&&(c==="word"||m==="word")){n(Ut(ys("word",{negate:u}),t));return}if(c==="any")n(Ut(Nn("Any"),t));else if(c==="digit")n(Ut(Nn("Nd",{negate:u}),t));else if(c!=="dot")if(c==="text_segment"){if(r==="strict")throw new Error(re`Use of "\X" requires non-strict accuracy`);const p="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",f=re`\p{RI}{2}|${p}(?:\u200D${p})*`;n(Se(Nt(re`(?>\r\n|${a?re`\p{RGI_Emoji}`:f}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(c==="hex")n(Ut(Nn("AHex",{negate:u}),t));else if(c==="newline")n(Se(Nt(u?`[^
149
+ XID_Start XIDS`.split(/\s/).map(e=>[Kr(e),e])),fd=new Map([["s",Ee(383)],[Ee(383),"s"]]),bd=new Map([[Ee(223),Ee(7838)],[Ee(107),Ee(8490)],[Ee(229),Ee(8491)],[Ee(969),Ee(8486)]]),yd=new Map([Gt(453),Gt(456),Gt(459),Gt(498),...Ss(8072,8079),...Ss(8088,8095),...Ss(8104,8111),Gt(8124),Gt(8140),Gt(8188)]),vd=new Map([["alnum",re`[\p{Alpha}\p{Nd}]`],["alpha",re`\p{Alpha}`],["ascii",re`\p{ASCII}`],["blank",re`[\p{Zs}\t]`],["cntrl",re`\p{Cc}`],["digit",re`\p{Nd}`],["graph",re`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",re`\p{Lower}`],["print",re`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",re`[\p{P}\p{S}]`],["space",re`\p{space}`],["upper",re`\p{Upper}`],["word",re`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",re`\p{AHex}`]]);function wd(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}o(wd,"fd");function Gt(e){const t=Ee(e);return[t.toLowerCase(),t]}o(Gt,"Vt");function Ss(e,t){return wd(e,t).map(n=>Gt(n))}o(Ss,"Ja");var $l=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function xd(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};Sl(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:_s(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};lr(e,kd,r);const a={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},s={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};lr(e,_d,s);const i={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return lr(e,$d,i),e._originMap=s.groupOriginByCopy,e._strategy=r.strategy,e}o(xd,"gd");var kd={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:a}=e;if(a==="repeater"){const s=mt();s.body[0].body.push(hn({negate:!0,body:r}),Nn("Any"));const i=mt();i.body[0].body.push(il("greedy",0,1/0,s)),n(Ce(i,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const a=e.body.filter(s=>s.kind==="flags");for(let s=n+1;s<t.body.length;s++){const i=t.body[s];cr(r,i,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){var n;if((n=t.get(e))!=null&&n.length){const r=Tl(t.get(e));if(r){const a=mt({flags:r});a.body[0].body=e.body,e.body=[Ce(a,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:a,remove:s,replaceWith:i},l){const{kind:c,negate:u}=e,{asciiWordBoundaries:m,avoidSubclass:p,supportedGNodes:f,wordIsAscii:g}=l;if(c==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${u?"Y":"y"}"`);if(c==="line_end")i(Ce(hn({body:[pn({body:[fs("string_end")]}),pn({body:[Yr(10)]})]}),t));else if(c==="line_start")i(Ce(Nt(re`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(c==="search_start")if(f.has(e))a.flags.sticky=!0,s();else{const y=r[n-1];if(y&&Md(y))i(Ce(hn({negate:!0}),t));else{if(p)throw new Error(re`Uses "\G" in a way that requires a subclass`);i(Ut(fs("string_start"),t)),l.strategy="clip_search"}}else if(!(c==="string_end"||c==="string_start"))if(c==="string_end_newline")i(Ce(Nt(re`(?=\n?\z)`),t));else if(c==="word_boundary"){if(!g&&!m){const y=`(?:(?<=${Et})(?!${Et})|(?<!${Et})(?=${Et}))`,$=`(?:(?<=${Et})(?=${Et})|(?<!${Et})(?!${Et}))`;i(Ce(Nt(u?$:y),t))}}else throw new Error(`Unexpected assertion kind "${c}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!As(n)&&(n=Cs(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!As(r)&&(r=Cs(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=Zr({body:[e]});n(Ce(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:a,digitIsAscii:s,spaceIsAscii:i,wordIsAscii:l}){const{kind:c,negate:u,value:m}=e;if(s&&(c==="digit"||m==="digit")){n(Ut(ys("digit",{negate:u}),t));return}if(i&&(c==="space"||m==="space")){n(Ce(Ts(Nt(dd),u),t));return}if(l&&(c==="word"||m==="word")){n(Ut(ys("word",{negate:u}),t));return}if(c==="any")n(Ut(Nn("Any"),t));else if(c==="digit")n(Ut(Nn("Nd",{negate:u}),t));else if(c!=="dot")if(c==="text_segment"){if(r==="strict")throw new Error(re`Use of "\X" requires non-strict accuracy`);const p="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",f=re`\p{RI}{2}|${p}(?:\u200D${p})*`;n(Ce(Nt(re`(?>\r\n|${a?re`\p{RGI_Emoji}`:f}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(c==="hex")n(Ut(Nn("AHex",{negate:u}),t));else if(c==="newline")n(Ce(Nt(u?`[^
150
150
  ]`:`(?>\r
151
151
  ?|[
152
- \v\f…\u2028\u2029])`),t));else if(c==="posix")if(!a&&(m==="graph"||m==="print")){if(r==="strict")throw new Error(`POSIX class "${m}" requires min target ES2024 or non-strict accuracy`);let p={graph:"!-~",print:" -~"}[m];u&&(p=`\0-${Ee(p.codePointAt(0)-1)}${Ee(p.codePointAt(2)+1)}-􏿿`),n(Se(Nt(`[${p}]`),t))}else n(Se(Ts(Nt(yd.get(m)),u),t));else if(c==="property")$s.has(Kr(m))||(e.key="sc");else if(c==="space")n(Ut(Nn("space",{negate:u}),t));else if(c==="word")n(Se(Ts(Nt(Et),u),t));else throw new Error(`Unexpected character set kind "${c}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:s,removeAllNextSiblings:i}){const{kind:l,flags:c}=e;if(l==="flags")if(!c.enable&&!c.disable)r();else{const u=mt({flags:c});u.body[0].body=i(),a(Se(u,t),{traverse:!0})}else if(l==="keep"){const u=n.body[0],m=n.body.length===1&&rl(u,{type:"Group"})&&u.body[0].body.length===1?u.body[0]:n;if(t.parent!==m||m.body.length>1)throw new Error(re`Uses "\K" in a way that's unsupported`);const p=hn({behind:!0});p.body[0].body=s(),a(Se(p,t))}else throw new Error(`Unexpected directive kind "${l}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t!=null&&t.extended&&delete t.extended,n!=null&&n.extended&&delete n.extended,t!=null&&t.dotAll&&n!=null&&n.dotAll&&delete t.dotAll,t!=null&&t.ignoreCase&&n!=null&&n.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(Se(hn({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=mt();t.body[0].body.push(e.body),e.body=Se(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,a=!1;for(const s of e.body)if(s.body.length===1&&s.body[0].kind==="search_start")s.body.pop();else{const i=Ml(s.body);i?(r=!0,Array.isArray(i)?n.push(...i):n.push(i)):a=!0}r&&!a&&n.forEach(s=>t.add(s))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(re`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!As(n)&&(n=Ss(n,t),e.ref=n)}},kd={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:a}=e;r||n.set(e,[...t.get(a).map(({node:s})=>s)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:a,groupsByName:s,multiplexCapturesToLeftByRef:i,openRefs:l,reffedNodesByReferencer:c}){const u=a.get(e);if(u&&l.has(e.number)){const p=Ut(Al(e.number),t);c.set(p,l.get(e.number)),n(p);return}l.set(e.number,e),i.set(e.number,[]),e.name&&cr(i,e.name,[]);const m=i.get(e.name??e.number);for(let p=0;p<m.length;p++){const f=m[p];if(u===f.node||u&&u===f.origin||e===f.origin){m.splice(p,1);break}}if(i.get(e.number).push({node:e,origin:u}),e.name&&i.get(e.name).push({node:e,origin:u}),e.name){const p=cr(s,e.name,new Map);let f=!1;if(u)f=!0;else for(const g of p.values())if(!g.hasDuplicateNameToRemove){f=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:f})}},exit({node:e},{openRefs:t}){t.get(e.number)===e&&t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=na(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:a,ref:s}=e;if(a){let m=t;for(;(m=m.parent)&&!(m.type==="CapturingGroup"&&(m.name===s||m.number===s)););r.reffedNodesByReferencer.set(e,m);return}const i=r.subroutineRefMap.get(s),l=s===0,c=l?Al(0):Sl(i,r.groupOriginByCopy,null);let u=c;if(!l){const m=Tl(Sd(i,f=>f.type==="Group"&&!!f.flags)),p=m?na(r.globalFlags,m):r.globalFlags;$d(p,r.currentFlags)||(u=mt({flags:Ad(p)}),u.body[0].body.push(c))}n(Se(u,t),{traverse:!l})}},_d={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const a=r.reffedNodesByReferencer.get(e).filter(s=>Cd(s,e));if(!a.length)n(Se(hn({negate:!0}),t));else if(a.length>1){const s=mt({atomic:!0,body:a.reverse().map(i=>pn({body:[bs(i.number)]}))});n(Se(s,t))}else e.ref=a[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const a=sl();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function Cl(e){lr(e,{"*"({node:t,parent:n}){t.parent=n}})}o(Cl,"N0");function $d(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}o($d,"vd");function Cd(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=Il(n.parent);for(const a of r){if(a===n)break;if(a===e||zl(a,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}o(Cd,"wd");function Sl(e,t,n,r){const a=Array.isArray(e)?[]:{};for(const[s,i]of Object.entries(e))s==="parent"?a.parent=Array.isArray(n)?r:n:i&&typeof i=="object"?a[s]=Sl(i,t,a,n):(s==="type"&&i==="CapturingGroup"&&t.set(a,t.get(e)??e),a[s]=i);return a}o(Sl,"B0");function Al(e){const t=ol(e);return t.isRecursive=!0,t}o(Al,"To");function Sd(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}o(Sd,"xd");function Ss(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}o(Ss,"ei");function Tl(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(a=>{var s,i;(s=r.enable)!=null&&s[a]&&(delete n.disable[a],n.enable[a]=!0),(i=r.disable)!=null&&i[a]&&(n.disable[a]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}o(Tl,"D0");function Ad({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}o(Ad,"kd");function Il(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}o(Il,"L0");function Ml(e){const t=e.find(n=>n.kind==="search_start"||Md(n,{negate:!1})||!Td(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const a=Ml(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}o(Ml,"F0");function zl(e,t){const n=Il(e)??[];for(const r of n)if(r===t||zl(r,t))return!0;return!1}o(zl,"P0");function Td({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}o(Td,"_d");function Id(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}o(Id,"$d");function Md(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&rl(e.body[0],{type:"Assertion",kind:"search_start"})}o(Md,"Cd");function As(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}o(As,"ti");function Nt(e,t){const n=al(e,{...t,unicodePropertyMap:$s}).body;return n.length>1||n[0].body.length>1?mt({body:n}):n[0].body[0]}o(Nt,"zt");function Ts(e,t){return e.negate=t,e}o(Ts,"ni");function Ut(e,t){return e.parent=t,e}o(Ut,"Xt");function Se(e,t){return Cl(e),e.parent=t,e}o(Se,"_e");function zd(e,t){const n=kl(t),r=_s(n.target,"ES2024"),a=_s(n.target,"ES2025"),s=n.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,l=null;if(!a){const g=[e.flags.ignoreCase];lr(e,Ed,{getCurrentModI:o(()=>g.at(-1),"getCurrentModI"),popModI(){g.pop()},pushModI(y){g.push(y)},setHasCasedChar(){g.at(-1)?i=!0:l=!0}})}const c={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!l)};let u=e;const m={accuracy:n.accuracy,appliedGlobalFlags:c,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:u,originMap:e._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!a&&i&&l),useFlagMods:a,useFlagV:r,verbose:n.verbose};function p(g){return m.lastNode=u,u=g,pd(Nd[g.type],`Unexpected node type "${g.type}"`)(g,m,p)}o(p,"c");const f={pattern:e.body.map(p).join("|"),flags:p(e.flags),options:{...e.options}};return r||(delete f.options.force.v,f.options.disable.v=!0,f.options.unicodeSetsPlugin=null),f._captureTransfers=new Map,f._hiddenCaptures=[],m.captureMap.forEach((g,y)=>{g.hidden&&f._hiddenCaptures.push(y),g.transferTo&&cr(f._captureTransfers,g.transferTo,[]).push(y)}),f}o(zd,"Sd");var Ed={"*":{enter({node:e},t){if(Bl(e)){const n=t.getCurrentModI();t.pushModI(e.flags?na({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){Bl(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){Is(Ee(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),Nl(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&$l.has(e.value)&&t.setHasCasedChar()}},Nd={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?re`\B`:re`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:r,name:a,number:s}=e,i={ignoreCase:t.currentFlags.ignoreCase},l=t.originMap.get(e);return l&&(i.hidden=!0,s>l.number&&(i.transferTo=l.number)),t.captureMap.set(s,i),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=Ee(e),r=Rn(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Is(n)){const a=_l(n);return t.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:a,parent:s}=e;let{body:i}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");dt.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&i.some(Rl)&&(i=[Yr(45),...i.filter(u=>!Rl(u))]);const l=o(()=>`[${a?"^":""}${i.map(n).join(r==="intersection"?"&&":"")}]`,"o");if(!t.inCharClass){if((!t.useFlagV||dt.bugNestedClassIgnoresNegation)&&!a){const m=i.filter(p=>p.type==="CharacterClass"&&p.kind==="union"&&p.negate);if(m.length){const p=mt(),f=p.body[0];return p.parent=s,f.parent=p,i=i.filter(g=>!m.includes(g)),e.body=i,i.length?(e.parent=f,f.body.push(e)):p.body.pop(),m.forEach(g=>{const y=pn({body:[g]});g.parent=y,y.parent=p,p.body.push(y)}),n(p)}}t.inCharClass=!0;const u=l();return t.inCharClass=!1,u}const c=i[0];if(r==="union"&&!a&&c&&((!t.useFlagV||!t.verbose)&&s.kind==="union"&&!(dt.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&s.kind==="intersection"&&i.length===1&&c.type!=="CharacterClassRange"))return i.map(n).join("");if(!t.useFlagV&&s.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return l()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},s=Rn(n,a),i=Rn(r,a),l=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const c=Nl(e);Od(c).forEach(u=>{l.add(Array.isArray(u)?`${Rn(u[0],a)}-${Rn(u[1],a)}`:Rn(u,a))})}return`${s}-${i}${[...l].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},a){if(e==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":re`[^\n]`;if(e==="digit")return t?re`\D`:re`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&$l.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?re`\P`:re`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?re`\W`:re`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},a,s){const i=a.currentFlags;n&&(a.currentFlags=na(i,n));const l=t.map(s).join("|"),c=!a.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!a.useFlagMods||!n)?l:`(?${Fd(e,n,a.useFlagMods)}${l})`;return a.currentFlags=i,c},LookaroundAssertion({body:e,kind:t,negate:n},r,a){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(a).join("|")})`},Quantifier(e,t,n){return n(e.body)+qd(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:re`\g<${t}&R=${r}>`}},Bd=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),Rd=new Set(["-","\\","]","^","["]),Pd=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),El=new Map([[9,re`\t`],[10,re`\n`],[11,re`\v`],[12,re`\f`],[13,re`\r`],[8232,re`\u2028`],[8233,re`\u2029`],[65279,re`\uFEFF`]]),Ld=new RegExp("^\\p{Cased}$","u");function Is(e){return Ld.test(e)}o(Is,"ws");function Nl(e,t){const n=!!(t!=null&&t.firstOnly),r=e.min.value,a=e.max.value,s=[];if(r<65&&(a===65535||a>=131071)||r===65536&&a>=131071)return s;for(let i=r;i<=a;i++){const l=Ee(i);if(!Is(l))continue;const c=_l(l).filter(u=>{const m=u.codePointAt(0);return m<r||m>a});if(c.length&&(s.push(...c),n))break}return s}o(Nl,"O0");function Rn(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(El.has(e))return El.get(e);if(e<32||e>126&&e<160||e>262143||t&&jd(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?Pd:Rd:Bd,s=Ee(e);return(a.has(s)?"\\":"")+s}o(Rn,"In");function Od(e){const t=e.map(a=>a.codePointAt(0)).sort((a,s)=>a-s),n=[];let r=null;for(let a=0;a<t.length;a++)t[a+1]===t[a]+1?r??(r=t[a]):r===null?n.push(t[a]):(n.push([r,t[a]]),r=null);return n}o(Od,"Rd");function Fd(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:a,disable:s}=t;r=(a!=null&&a.ignoreCase?"i":"")+(a!=null&&a.dotAll?"s":"")+(s?"-":"")+(s!=null&&s.ignoreCase?"i":"")+(s!=null&&s.dotAll?"s":"")}return`${r}:`}o(Fd,"Nd");function qd({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}o(qd,"Bd");function Bl({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}o(Bl,"Mo");function jd(e){return e>47&&e<58}o(jd,"Dd");function Rl({type:e,value:t}){return e==="Character"&&t===45}o(Rl,"Io");var dn,Wt,Pn,gn,Ln,ra,Ms,ur,Dd=(ur=class extends RegExp{static{o(this,"Jt")}constructor(e,t,n){var r=o((...s)=>(super(...s),Sn(this,ra),Sn(this,dn,new Map),Sn(this,Wt,null),Sn(this,Pn),Sn(this,gn,null),Sn(this,Ln,null),N(this,"rawOptions",{}),this),"t");const a=!!(n!=null&&n.lazyCompile);if(e instanceof RegExp){if(n)throw new Error("Cannot provide options when copying a regexp");const s=e;r(s,t),bt(this,Pn,s.source),s instanceof ur&&(bt(this,dn,Ze(s,dn)),bt(this,gn,Ze(s,gn)),bt(this,Ln,Ze(s,Ln)),this.rawOptions=s.rawOptions)}else{const s={hiddenCaptures:[],strategy:null,transfers:[],...n};r(a?"":e,t),bt(this,Pn,e),bt(this,dn,Gd(s.hiddenCaptures,s.transfers)),bt(this,Ln,s.strategy),this.rawOptions=n??{}}a||bt(this,Wt,this)}get source(){return Ze(this,Pn)||"(?:)"}exec(e){if(!Ze(this,Wt)){const{lazyCompile:r,...a}=this.rawOptions;bt(this,Wt,new ur(Ze(this,Pn),this.flags,a))}const t=this.global||this.sticky,n=this.lastIndex;if(Ze(this,Ln)==="clip_search"&&t&&n){this.lastIndex=0;const r=Di(this,ra,Ms).call(this,e.slice(n));return r&&(Hd(r,n,e,this.hasIndices),this.lastIndex+=n),r}return Di(this,ra,Ms).call(this,e)}},dn=new WeakMap,Wt=new WeakMap,Pn=new WeakMap,gn=new WeakMap,Ln=new WeakMap,ra=new WeakSet,Ms=o(function(e){Ze(this,Wt).lastIndex=this.lastIndex;const t=m0(ur.prototype,this,"exec").call(Ze(this,Wt),e);if(this.lastIndex=Ze(this,Wt).lastIndex,!t||!Ze(this,dn).size)return t;const n=[...t];t.length=1;let r;this.hasIndices&&(r=[...t.indices],t.indices.length=1);const a=[0];for(let s=1;s<n.length;s++){const{hidden:i,transferTo:l}=Ze(this,dn).get(s)??{};if(i?a.push(null):(a.push(t.length),t.push(n[s]),this.hasIndices&&t.indices.push(r[s])),l&&n[s]!==void 0){const c=a[l];if(!c)throw new Error(`Invalid capture transfer to "${c}"`);if(t[c]=n[s],this.hasIndices&&(t.indices[c]=r[s]),t.groups){Ze(this,gn)||bt(this,gn,Ud(this.source));const u=Ze(this,gn).get(l);u&&(t.groups[u]=n[s],this.hasIndices&&(t.indices.groups[u]=r[s]))}}}return t},"Oi"),ur);function Hd(e,t,n,r){if(e.index+=t,e.input=n,r){const a=e.indices;for(let i=0;i<a.length;i++){const l=a[i];l&&(a[i]=[l[0]+t,l[1]+t])}const s=a.groups;s&&Object.keys(s).forEach(i=>{const l=s[i];l&&(s[i]=[l[0]+t,l[1]+t])})}}o(Hd,"Fd");function Gd(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,a]of t)for(const s of a)cr(n,s,{}).transferTo=r;return n}o(Gd,"Pd");function Ud(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,a=0,s;for(;s=t.exec(e);){const{0:i,groups:{capture:l,name:c}}=s;i==="["?r++:r?i==="]"&&r--:l&&(a++,c&&n.set(a,c))}return n}o(Ud,"Od");function Wd(e,t){const n=Vd(e,t);return n.options?new Dd(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}o(Wd,"qd");function Vd(e,t){const n=kl(t),r=al(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:$s}),a=wd(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),s=zd(a,n),i=cd(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),l=od(i.pattern),c=id(l.pattern,{captureTransfers:i.captureTransfers,hiddenCaptures:i.hiddenCaptures}),u={pattern:c.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const m=c.hiddenCaptures.sort((y,_)=>y-_),p=Array.from(c.captureTransfers),f=a._strategy,g=u.pattern.length>=n.lazyCompileLength;(m.length||p.length||f||g)&&(u.options={...m.length&&{hiddenCaptures:m},...p.length&&{transfers:p},...f&&{strategy:f},...g&&{lazyCompile:g}})}return u}o(Vd,"jd");function Pl(e,t){return Wd(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}o(Pl,"Gd");function Xd(e={}){const t={target:"auto",cache:new Map,...e};return t.regexConstructor||(t.regexConstructor=n=>Pl(n,{target:t.target})),{createScanner(n){return new um(n,t)},createString(n){return{content:n}}}}o(Xd,"$5");const Yd=Object.freeze(JSON.parse('{"displayName":"TypeScript","name":"typescript","patterns":[{"include":"#directives"},{"include":"#statements"},{"include":"#shebang"}],"repository":{"access-modifier":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(abstract|declare|override|public|protected|private|readonly|static)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},"after-operator-block-as-object-literal":{"begin":"(?<!\\\\+\\\\+|--)(?<=[!(+,:=>?\\\\[]|^await|[^$._[:alnum:]]await|^return|[^$._[:alnum:]]return|^yield|[^$._[:alnum:]]yield|^throw|[^$._[:alnum:]]throw|^in|[^$._[:alnum:]]in|^of|[^$._[:alnum:]]of|^typeof|[^$._[:alnum:]]typeof|&&|\\\\|\\\\||\\\\*)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.objectliteral.ts","patterns":[{"include":"#object-member"}]},"array-binding-pattern":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.array.ts"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.ts"}},"patterns":[{"include":"#binding-element"},{"include":"#punctuation-comma"}]},"array-binding-pattern-const":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.array.ts"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.ts"}},"patterns":[{"include":"#binding-element-const"},{"include":"#punctuation-comma"}]},"array-literal":{"begin":"\\\\s*(\\\\[)","beginCaptures":{"1":{"name":"meta.brace.square.ts"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.ts"}},"name":"meta.array.literal.ts","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"arrow-function":{"patterns":[{"captures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"variable.parameter.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\b(async)\\\\s+)?([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?==>)","name":"meta.arrow.ts"},{"begin":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\b(async))?((?<![]!)}])\\\\s*(?=((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?==>|\\\\{|^(\\\\s*(export|function|class|interface|let|var|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|const|import|enum|namespace|module|type|abstract|declare)\\\\s+))","name":"meta.arrow.ts","patterns":[{"include":"#comment"},{"include":"#type-parameters"},{"include":"#function-parameters"},{"include":"#arrow-return-type"},{"include":"#possibly-arrow-return-type"}]},{"begin":"=>","beginCaptures":{"0":{"name":"storage.type.function.arrow.ts"}},"end":"((?<=[}\\\\S])(?<!=>)|((?!\\\\{)(?=\\\\S)))(?!/[*/])","name":"meta.arrow.ts","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#decl-block"},{"include":"#expression"}]}]},"arrow-return-type":{"begin":"(?<=\\\\))\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?==>|\\\\{|^(\\\\s*(export|function|class|interface|let|var|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|const|import|enum|namespace|module|type|abstract|declare)\\\\s+))","name":"meta.return.type.arrow.ts","patterns":[{"include":"#arrow-return-type-body"}]},"arrow-return-type-body":{"patterns":[{"begin":"(?<=:)(?=\\\\s*\\\\{)","end":"(?<=})","patterns":[{"include":"#type-object"}]},{"include":"#type-predicate-operator"},{"include":"#type"}]},"async-modifier":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(async)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.async.ts"},"binding-element":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numeric-literal"},{"include":"#regex"},{"include":"#object-binding-pattern"},{"include":"#array-binding-pattern"},{"include":"#destructuring-variable-rest"},{"include":"#variable-initializer"}]},"binding-element-const":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numeric-literal"},{"include":"#regex"},{"include":"#object-binding-pattern-const"},{"include":"#array-binding-pattern-const"},{"include":"#destructuring-variable-rest-const"},{"include":"#variable-initializer"}]},"boolean-literal":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))true(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.boolean.true.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))false(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.boolean.false.ts"}]},"brackets":{"patterns":[{"begin":"\\\\{","end":"}|(?=\\\\*/)","patterns":[{"include":"#brackets"}]},{"begin":"\\\\[","end":"]|(?=\\\\*/)","patterns":[{"include":"#brackets"}]}]},"cast":{"patterns":[{"captures":{"1":{"name":"meta.brace.angle.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"meta.brace.angle.ts"}},"match":"\\\\s*(<)\\\\s*(const)\\\\s*(>)","name":"cast.expr.ts"},{"begin":"(?<!\\\\+\\\\+|--)(?<=^return|[^$._[:alnum:]]return|^throw|[^$._[:alnum:]]throw|^yield|[^$._[:alnum:]]yield|^await|[^$._[:alnum:]]await|^default|[^$._[:alnum:]]default|[\\\\&(*,:=>?^|]|[^$_[:alnum:]](?:\\\\+\\\\+|--)|[^+]\\\\+|[^-]-)\\\\s*(<)(?!<?=)(?!\\\\s*$)","beginCaptures":{"1":{"name":"meta.brace.angle.ts"}},"end":"(>)","endCaptures":{"1":{"name":"meta.brace.angle.ts"}},"name":"cast.expr.ts","patterns":[{"include":"#type"}]},{"begin":"(?<=^)\\\\s*(<)(?=[$_[:alpha:]][$_[:alnum:]]*\\\\s*>)","beginCaptures":{"1":{"name":"meta.brace.angle.ts"}},"end":"(>)","endCaptures":{"1":{"name":"meta.brace.angle.ts"}},"name":"cast.expr.ts","patterns":[{"include":"#type"}]}]},"class-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(?:(abstract)\\\\s+)?\\\\b(class)\\\\b(?=\\\\s+|/[*/])","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.type.class.ts"}},"end":"(?<=})","name":"meta.class.ts","patterns":[{"include":"#class-declaration-or-expression-patterns"}]},"class-declaration-or-expression-patterns":{"patterns":[{"include":"#comment"},{"include":"#class-or-interface-heritage"},{"captures":{"0":{"name":"entity.name.type.class.ts"}},"match":"[$_[:alpha:]][$_[:alnum:]]*"},{"include":"#type-parameters"},{"include":"#class-or-interface-body"}]},"class-expression":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(abstract)\\\\s+)?(class)\\\\b(?=\\\\s+|[<{]|/[*/])","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"storage.type.class.ts"}},"end":"(?<=})","name":"meta.class.ts","patterns":[{"include":"#class-declaration-or-expression-patterns"}]},"class-or-interface-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"patterns":[{"include":"#comment"},{"include":"#decorator"},{"begin":"(?<=:)\\\\s*","end":"(?=[-\\\\])+,:;}\\\\s]|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#expression"}]},{"include":"#method-declaration"},{"include":"#indexer-declaration"},{"include":"#field-declaration"},{"include":"#string"},{"include":"#type-annotation"},{"include":"#variable-initializer"},{"include":"#access-modifier"},{"include":"#property-accessor"},{"include":"#async-modifier"},{"include":"#after-operator-block-as-object-literal"},{"include":"#decl-block"},{"include":"#expression"},{"include":"#punctuation-comma"},{"include":"#punctuation-semicolon"}]},"class-or-interface-heritage":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\b(extends|implements)\\\\b(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"storage.modifier.ts"}},"end":"(?=\\\\{)","patterns":[{"include":"#comment"},{"include":"#class-or-interface-heritage"},{"include":"#type-parameters"},{"include":"#expressionWithoutIdentifiers"},{"captures":{"1":{"name":"entity.name.type.module.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))(?=\\\\s*[$_[:alpha:]][$_[:alnum:]]*(\\\\s*\\\\??\\\\.\\\\s*[$_[:alpha:]][$_[:alnum:]]*)*\\\\s*)"},{"captures":{"1":{"name":"entity.other.inherited-class.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)"},{"include":"#expressionPunctuations"}]},"comment":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.ts"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.ts"}},"name":"comment.block.documentation.ts","patterns":[{"include":"#docblock"}]},{"begin":"(/\\\\*)(?:\\\\s*((@)internal)(?=\\\\s|(\\\\*/)))?","beginCaptures":{"1":{"name":"punctuation.definition.comment.ts"},"2":{"name":"storage.type.internaldeclaration.ts"},"3":{"name":"punctuation.decorator.internaldeclaration.ts"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.ts"}},"name":"comment.block.ts"},{"begin":"(^[\\\\t ]+)?((//)(?:\\\\s*((@)internal)(?=\\\\s|$))?)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ts"},"2":{"name":"comment.line.double-slash.ts"},"3":{"name":"punctuation.definition.comment.ts"},"4":{"name":"storage.type.internaldeclaration.ts"},"5":{"name":"punctuation.decorator.internaldeclaration.ts"}},"contentName":"comment.line.double-slash.ts","end":"(?=$)"}]},"control-statement":{"patterns":[{"include":"#switch-statement"},{"include":"#for-loop"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(catch|finally|throw|try)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.trycatch.ts"},{"captures":{"1":{"name":"keyword.control.loop.ts"},"2":{"name":"entity.name.label.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(break|continue|goto)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(break|continue|do|goto|while)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.loop.ts"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(return)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"0":{"name":"keyword.control.flow.ts"}},"end":"(?=[;}]|$|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#expression"}]},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(case|default|switch)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.switch.ts"},{"include":"#if-statement"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(else|if)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.conditional.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(with)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.with.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(package)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(debugger)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.other.debugger.ts"}]},"decl-block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.block.ts","patterns":[{"include":"#statements"}]},"declaration":{"patterns":[{"include":"#decorator"},{"include":"#var-expr"},{"include":"#function-declaration"},{"include":"#class-declaration"},{"include":"#interface-declaration"},{"include":"#enum-declaration"},{"include":"#namespace-declaration"},{"include":"#type-alias-declaration"},{"include":"#import-equals-declaration"},{"include":"#import-declaration"},{"include":"#export-declaration"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(declare|export)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"}]},"decorator":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))@","beginCaptures":{"0":{"name":"punctuation.decorator.ts"}},"end":"(?=\\\\s)","name":"meta.decorator.ts","patterns":[{"include":"#expression"}]},"destructuring-const":{"patterns":[{"begin":"(?<![:=]|^of|[^$._[:alnum:]]of|^in|[^$._[:alnum:]]in)\\\\s*(?=\\\\{)","end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","name":"meta.object-binding-pattern-variable.ts","patterns":[{"include":"#object-binding-pattern-const"},{"include":"#type-annotation"},{"include":"#comment"}]},{"begin":"(?<![:=]|^of|[^$._[:alnum:]]of|^in|[^$._[:alnum:]]in)\\\\s*(?=\\\\[)","end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","name":"meta.array-binding-pattern-variable.ts","patterns":[{"include":"#array-binding-pattern-const"},{"include":"#type-annotation"},{"include":"#comment"}]}]},"destructuring-parameter":{"patterns":[{"begin":"(?<![:=])\\\\s*(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\{)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.object.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.ts"}},"name":"meta.parameter.object-binding-pattern.ts","patterns":[{"include":"#parameter-object-binding-element"}]},{"begin":"(?<![:=])\\\\s*(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.array.ts"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.ts"}},"name":"meta.paramter.array-binding-pattern.ts","patterns":[{"include":"#parameter-binding-element"},{"include":"#punctuation-comma"}]}]},"destructuring-parameter-rest":{"captures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"variable.parameter.ts"}},"match":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)"},"destructuring-variable":{"patterns":[{"begin":"(?<![:=]|^of|[^$._[:alnum:]]of|^in|[^$._[:alnum:]]in)\\\\s*(?=\\\\{)","end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","name":"meta.object-binding-pattern-variable.ts","patterns":[{"include":"#object-binding-pattern"},{"include":"#type-annotation"},{"include":"#comment"}]},{"begin":"(?<![:=]|^of|[^$._[:alnum:]]of|^in|[^$._[:alnum:]]in)\\\\s*(?=\\\\[)","end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","name":"meta.array-binding-pattern-variable.ts","patterns":[{"include":"#array-binding-pattern"},{"include":"#type-annotation"},{"include":"#comment"}]}]},"destructuring-variable-rest":{"captures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"meta.definition.variable.ts variable.other.readwrite.ts"}},"match":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)"},"destructuring-variable-rest-const":{"captures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"meta.definition.variable.ts variable.other.constant.ts"}},"match":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)"},"directives":{"begin":"^(///)\\\\s*(?=<(reference|amd-dependency|amd-module)(\\\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\\\s*=\\\\s*((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)))+\\\\s*/>\\\\s*$)","beginCaptures":{"1":{"name":"punctuation.definition.comment.ts"}},"end":"(?=$)","name":"comment.line.triple-slash.directive.ts","patterns":[{"begin":"(<)(reference|amd-dependency|amd-module)","beginCaptures":{"1":{"name":"punctuation.definition.tag.directive.ts"},"2":{"name":"entity.name.tag.directive.ts"}},"end":"/>","endCaptures":{"0":{"name":"punctuation.definition.tag.directive.ts"}},"name":"meta.tag.ts","patterns":[{"match":"path|types|no-default-lib|lib|name|resolution-mode","name":"entity.other.attribute-name.directive.ts"},{"match":"=","name":"keyword.operator.assignment.ts"},{"include":"#string"}]}]},"docblock":{"patterns":[{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"constant.language.access-type.jsdoc"}},"match":"((@)a(?:ccess|pi))\\\\s+(p(?:rivate|rotected|ublic))\\\\b"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"entity.name.type.instance.jsdoc"},"4":{"name":"punctuation.definition.bracket.angle.begin.jsdoc"},"5":{"name":"constant.other.email.link.underline.jsdoc"},"6":{"name":"punctuation.definition.bracket.angle.end.jsdoc"}},"match":"((@)author)\\\\s+([^*/<>@\\\\s](?:[^*/<>@]|\\\\*[^/])*)(?:\\\\s*(<)([^>\\\\s]+)(>))?"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"entity.name.type.instance.jsdoc"},"4":{"name":"keyword.operator.control.jsdoc"},"5":{"name":"entity.name.type.instance.jsdoc"}},"match":"((@)borrows)\\\\s+((?:[^*/@\\\\s]|\\\\*[^/])+)\\\\s+(as)\\\\s+((?:[^*/@\\\\s]|\\\\*[^/])+)"},{"begin":"((@)example)\\\\s+","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=@|\\\\*/)","name":"meta.example.jsdoc","patterns":[{"match":"^\\\\s\\\\*\\\\s+"},{"begin":"\\\\G(<)caption(>)","beginCaptures":{"0":{"name":"entity.name.tag.inline.jsdoc"},"1":{"name":"punctuation.definition.bracket.angle.begin.jsdoc"},"2":{"name":"punctuation.definition.bracket.angle.end.jsdoc"}},"contentName":"constant.other.description.jsdoc","end":"(</)caption(>)|(?=\\\\*/)","endCaptures":{"0":{"name":"entity.name.tag.inline.jsdoc"},"1":{"name":"punctuation.definition.bracket.angle.begin.jsdoc"},"2":{"name":"punctuation.definition.bracket.angle.end.jsdoc"}}},{"captures":{"0":{"name":"source.embedded.ts"}},"match":"[^*@\\\\s](?:[^*]|\\\\*[^/])*"}]},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"constant.language.symbol-type.jsdoc"}},"match":"((@)kind)\\\\s+(class|constant|event|external|file|function|member|mixin|module|namespace|typedef)\\\\b"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.link.underline.jsdoc"},"4":{"name":"entity.name.type.instance.jsdoc"}},"match":"((@)see)\\\\s+(?:((?=https?://)(?:[^*\\\\s]|\\\\*[^/])+)|((?!https?://|(?:\\\\[[^]\\\\[]*])?\\\\{@(?:link|linkcode|linkplain|tutorial)\\\\b)(?:[^*/@\\\\s]|\\\\*[^/])+))"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.jsdoc"}},"match":"((@)template)\\\\s+([$A-Z_a-z][]$.\\\\[\\\\w]*(?:\\\\s*,\\\\s*[$A-Z_a-z][]$.\\\\[\\\\w]*)*)"},{"begin":"((@)template)\\\\s+(?=\\\\{)","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=\\\\s|\\\\*/|[^]$A-\\\\[_a-{}])","patterns":[{"include":"#jsdoctype"},{"match":"([$A-Z_a-z][]$.\\\\[\\\\w]*)","name":"variable.other.jsdoc"}]},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.jsdoc"}},"match":"((@)(?:arg|argument|const|constant|member|namespace|param|var))\\\\s+([$A-Z_a-z][]$.\\\\[\\\\w]*)"},{"begin":"((@)typedef)\\\\s+(?=\\\\{)","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=\\\\s|\\\\*/|[^]$A-\\\\[_a-{}])","patterns":[{"include":"#jsdoctype"},{"match":"(?:[^*/@\\\\s]|\\\\*[^/])+","name":"entity.name.type.instance.jsdoc"}]},{"begin":"((@)(?:arg|argument|const|constant|member|namespace|param|prop|property|var))\\\\s+(?=\\\\{)","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=\\\\s|\\\\*/|[^]$A-\\\\[_a-{}])","patterns":[{"include":"#jsdoctype"},{"match":"([$A-Z_a-z][]$.\\\\[\\\\w]*)","name":"variable.other.jsdoc"},{"captures":{"1":{"name":"punctuation.definition.optional-value.begin.bracket.square.jsdoc"},"2":{"name":"keyword.operator.assignment.jsdoc"},"3":{"name":"source.embedded.ts"},"4":{"name":"punctuation.definition.optional-value.end.bracket.square.jsdoc"},"5":{"name":"invalid.illegal.syntax.jsdoc"}},"match":"(\\\\[)\\\\s*[$\\\\w]+(?:(?:\\\\[])?\\\\.[$\\\\w]+)*(?:\\\\s*(=)\\\\s*((?>\\"(?:\\\\*(?!/)|\\\\\\\\(?!\\")|[^*\\\\\\\\])*?\\"|\'(?:\\\\*(?!/)|\\\\\\\\(?!\')|[^*\\\\\\\\])*?\'|\\\\[(?:\\\\*(?!/)|[^*])*?]|(?:\\\\*(?!/)|\\\\s(?!\\\\s*])|\\\\[.*?(?:]|(?=\\\\*/))|[^]*\\\\[\\\\s])*)*))?\\\\s*(?:(])((?:[^*\\\\s]|\\\\*[^/\\\\s])+)?|(?=\\\\*/))","name":"variable.other.jsdoc"}]},{"begin":"((@)(?:define|enum|exception|export|extends|lends|implements|modifies|namespace|private|protected|returns?|satisfies|suppress|this|throws|type|yields?))\\\\s+(?=\\\\{)","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=\\\\s|\\\\*/|[^]$A-\\\\[_a-{}])","patterns":[{"include":"#jsdoctype"}]},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"entity.name.type.instance.jsdoc"}},"match":"((@)(?:alias|augments|callback|constructs|emits|event|fires|exports?|extends|external|function|func|host|lends|listens|interface|memberof!?|method|module|mixes|mixin|name|requires|see|this|typedef|uses))\\\\s+((?:[^*@{}\\\\s]|\\\\*[^/])+)"},{"begin":"((@)(?:default(?:value)?|license|version))\\\\s+(([\\"\']))","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.jsdoc"},"4":{"name":"punctuation.definition.string.begin.jsdoc"}},"contentName":"variable.other.jsdoc","end":"(\\\\3)|(?=$|\\\\*/)","endCaptures":{"0":{"name":"variable.other.jsdoc"},"1":{"name":"punctuation.definition.string.end.jsdoc"}}},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.jsdoc"}},"match":"((@)(?:default(?:value)?|license|tutorial|variation|version))\\\\s+([^*\\\\s]+)"},{"captures":{"1":{"name":"punctuation.definition.block.tag.jsdoc"}},"match":"(@)(?:abstract|access|alias|api|arg|argument|async|attribute|augments|author|beta|borrows|bubbles|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exception|exports?|extends|extension(?:_?for)?|external|externs|file|fileoverview|final|fires|for|func|function|generator|global|hideconstructor|host|ignore|implements|implicitCast|inherit[Dd]oc|inner|instance|interface|internal|kind|lends|license|listens|main|member|memberof!?|method|mixes|mixins?|modifies|module|name|namespace|noalias|nocollapse|nocompile|nosideeffects|override|overview|package|param|polymer(?:Behavior)?|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|writeOnce|yields?)\\\\b","name":"storage.type.class.jsdoc"},{"include":"#inline-tags"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"match":"((@)[$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s+)"}]},"enum-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?(?:\\\\b(const)\\\\s+)?\\\\b(enum)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.type.enum.ts"},"5":{"name":"entity.name.type.enum.ts"}},"end":"(?<=})","name":"meta.enum.declaration.ts","patterns":[{"include":"#comment"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"patterns":[{"include":"#comment"},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"0":{"name":"variable.other.enummember.ts"}},"end":"(?=[,}]|$)","patterns":[{"include":"#comment"},{"include":"#variable-initializer"}]},{"begin":"(?=((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+])))","end":"(?=[,}]|$)","patterns":[{"include":"#string"},{"include":"#array-literal"},{"include":"#comment"},{"include":"#variable-initializer"}]},{"include":"#punctuation-comma"}]}]},"export-declaration":{"patterns":[{"captures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"keyword.control.as.ts"},"3":{"name":"storage.type.namespace.ts"},"4":{"name":"entity.name.type.module.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(export)\\\\s+(as)\\\\s+(namespace)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(export)(?:\\\\s+(type))?(?:\\\\s*(=)|\\\\s+(default)(?=\\\\s+))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"keyword.control.type.ts"},"3":{"name":"keyword.operator.assignment.ts"},"4":{"name":"keyword.control.default.ts"}},"end":"(?=$|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","name":"meta.export.default.ts","patterns":[{"include":"#interface-declaration"},{"include":"#expression"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(export)(?:\\\\s+(type))?\\\\b(?!(\\\\$)|(\\\\s*:))((?=\\\\s*[*{])|((?=\\\\s*[$_[:alpha:]][$_[:alnum:]]*([,\\\\s]))(?!\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"keyword.control.type.ts"}},"end":"(?=$|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","name":"meta.export.ts","patterns":[{"include":"#import-export-declaration"}]}]},"expression":{"patterns":[{"include":"#expressionWithoutIdentifiers"},{"include":"#identifiers"},{"include":"#expressionPunctuations"}]},"expression-inside-possibly-arrow-parens":{"patterns":[{"include":"#expressionWithoutIdentifiers"},{"include":"#comment"},{"include":"#string"},{"include":"#decorator"},{"include":"#destructuring-parameter"},{"captures":{"1":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|protected|private|readonly)\\\\s+(?=(override|public|protected|private|readonly)\\\\s+)"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"entity.name.function.ts variable.language.this.ts"},"4":{"name":"entity.name.function.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)(?=\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"variable.parameter.ts variable.language.this.ts"},"4":{"name":"variable.parameter.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)(?=\\\\s*[,:]|$)"},{"include":"#type-annotation"},{"include":"#variable-initializer"},{"match":",","name":"punctuation.separator.parameter.ts"},{"include":"#identifiers"},{"include":"#expressionPunctuations"}]},"expression-operators":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(await)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.flow.ts"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(yield)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?=\\\\s*/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*\\\\*)","beginCaptures":{"1":{"name":"keyword.control.flow.ts"}},"end":"\\\\*","endCaptures":{"0":{"name":"keyword.generator.asterisk.ts"}},"patterns":[{"include":"#comment"}]},{"captures":{"1":{"name":"keyword.control.flow.ts"},"2":{"name":"keyword.generator.asterisk.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(yield)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?:\\\\s*(\\\\*))?"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))delete(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.delete.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))in(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?!\\\\()","name":"keyword.operator.expression.in.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))of(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?!\\\\()","name":"keyword.operator.expression.of.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))instanceof(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.instanceof.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))new(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.new.ts"},{"include":"#typeof-operator"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))void(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.void.ts"},{"captures":{"1":{"name":"keyword.control.as.ts"},"2":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+(const)(?=\\\\s*($|[]),:;}]))"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(as)|(satisfies))\\\\s+","beginCaptures":{"1":{"name":"keyword.control.as.ts"},"2":{"name":"keyword.control.satisfies.ts"}},"end":"(?=^|[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as|satisfies)\\\\s+)|(\\\\s+<))","patterns":[{"include":"#type"}]},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.spread.ts"},{"match":"(?:\\\\*|(?<!\\\\()/|[-%+])=","name":"keyword.operator.assignment.compound.ts"},{"match":"(?:[\\\\&^]|<<|>>>??|\\\\|)=","name":"keyword.operator.assignment.compound.bitwise.ts"},{"match":"<<|>>>?","name":"keyword.operator.bitwise.shift.ts"},{"match":"[!=]==?","name":"keyword.operator.comparison.ts"},{"match":"<=|>=|<>|[<>]","name":"keyword.operator.relational.ts"},{"captures":{"1":{"name":"keyword.operator.logical.ts"},"2":{"name":"keyword.operator.assignment.compound.ts"},"3":{"name":"keyword.operator.arithmetic.ts"}},"match":"(?<=[$_[:alnum:]])(!)\\\\s*(?:(/=)|(/)(?![*/]))"},{"match":"!|&&|\\\\|\\\\||\\\\?\\\\?","name":"keyword.operator.logical.ts"},{"match":"[\\\\&^|~]","name":"keyword.operator.bitwise.ts"},{"match":"=","name":"keyword.operator.assignment.ts"},{"match":"--","name":"keyword.operator.decrement.ts"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.ts"},{"match":"[-%*+/]","name":"keyword.operator.arithmetic.ts"},{"begin":"(?<=[]$)_[:alnum:]])\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)+(?:(/=)|(/)(?![*/])))","end":"(/=)|(/)(?!\\\\*([^*]|(\\\\*[^/]))*\\\\*/)","endCaptures":{"1":{"name":"keyword.operator.assignment.compound.ts"},"2":{"name":"keyword.operator.arithmetic.ts"}},"patterns":[{"include":"#comment"}]},{"captures":{"1":{"name":"keyword.operator.assignment.compound.ts"},"2":{"name":"keyword.operator.arithmetic.ts"}},"match":"(?<=[]$)_[:alnum:]])\\\\s*(?:(/=)|(/)(?![*/]))"}]},"expressionPunctuations":{"patterns":[{"include":"#punctuation-comma"},{"include":"#punctuation-accessor"}]},"expressionWithoutIdentifiers":{"patterns":[{"include":"#string"},{"include":"#regex"},{"include":"#comment"},{"include":"#function-expression"},{"include":"#class-expression"},{"include":"#arrow-function"},{"include":"#paren-expression-possibly-arrow"},{"include":"#cast"},{"include":"#ternary-expression"},{"include":"#new-expr"},{"include":"#instanceof-expr"},{"include":"#object-literal"},{"include":"#expression-operators"},{"include":"#function-call"},{"include":"#literal"},{"include":"#support-objects"},{"include":"#paren-expression"}]},"field-declaration":{"begin":"(?<!\\\\()(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(readonly)\\\\s+)?(?=\\\\s*(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|(#?[$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(?:(?:(\\\\?)|(!))\\\\s*)?([,:;=}]|$))","beginCaptures":{"1":{"name":"storage.modifier.ts"}},"end":"(?=[,;}]|$|^((?!\\\\s*(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|(#?[$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(?:(?:(\\\\?)|(!))\\\\s*)?([,:;=]|$))))|(?<=})","name":"meta.field.declaration.ts","patterns":[{"include":"#variable-initializer"},{"include":"#type-annotation"},{"include":"#string"},{"include":"#array-literal"},{"include":"#numeric-literal"},{"include":"#comment"},{"captures":{"1":{"name":"meta.definition.property.ts entity.name.function.ts"},"2":{"name":"keyword.operator.optional.ts"},"3":{"name":"keyword.operator.definiteassignment.ts"}},"match":"(#?[$_[:alpha:]][$_[:alnum:]]*)(?:(\\\\?)|(!))?(?=\\\\s*\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))"},{"match":"#?[$_[:alpha:]][$_[:alnum:]]*","name":"meta.definition.property.ts variable.object.property.ts"},{"match":"\\\\?","name":"keyword.operator.optional.ts"},{"match":"!","name":"keyword.operator.definiteassignment.ts"}]},"for-loop":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))for(?=((\\\\s+|(\\\\s*/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*))await)?\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)?(\\\\())","beginCaptures":{"0":{"name":"keyword.control.loop.ts"}},"end":"(?<=\\\\))","patterns":[{"include":"#comment"},{"match":"await","name":"keyword.control.loop.ts"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#var-expr"},{"include":"#expression"},{"include":"#punctuation-semicolon"}]}]},"function-body":{"patterns":[{"include":"#comment"},{"include":"#type-parameters"},{"include":"#function-parameters"},{"include":"#return-type"},{"include":"#type-function-return-type"},{"include":"#decl-block"},{"match":"\\\\*","name":"keyword.generator.asterisk.ts"}]},"function-call":{"patterns":[{"begin":"(?=(((([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))|(?<=\\\\)))\\\\s*(?:(\\\\?\\\\.\\\\s*)|(!))?((<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?\\\\())","end":"(?<=\\\\))(?!(((([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))|(?<=\\\\)))\\\\s*(?:(\\\\?\\\\.\\\\s*)|(!))?((<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?\\\\())","patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))","end":"(?=\\\\s*(?:(\\\\?\\\\.\\\\s*)|(!))?((<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?\\\\())","name":"meta.function-call.ts","patterns":[{"include":"#function-call-target"}]},{"include":"#comment"},{"include":"#function-call-optionals"},{"include":"#type-arguments"},{"include":"#paren-expression"}]},{"begin":"(?=(((([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))|(?<=\\\\)))(<\\\\s*[(\\\\[{]\\\\s*)$)","end":"(?<=>)(?!(((([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))|(?<=\\\\)))(<\\\\s*[(\\\\[{]\\\\s*)$)","patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))","end":"(?=(<\\\\s*[(\\\\[{]\\\\s*)$)","name":"meta.function-call.ts","patterns":[{"include":"#function-call-target"}]},{"include":"#comment"},{"include":"#function-call-optionals"},{"include":"#type-arguments"}]}]},"function-call-optionals":{"patterns":[{"match":"\\\\?\\\\.","name":"meta.function-call.ts punctuation.accessor.optional.ts"},{"match":"!","name":"meta.function-call.ts keyword.operator.definiteassignment.ts"}]},"function-call-target":{"patterns":[{"include":"#support-function-call-identifiers"},{"match":"(#?[$_[:alpha:]][$_[:alnum:]]*)","name":"entity.name.function.ts"}]},"function-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?(?:(async)\\\\s+)?(function)\\\\b(?:\\\\s*(\\\\*))?(?:(?:\\\\s+|(?<=\\\\*))([$_[:alpha:]][$_[:alnum:]]*))?\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.async.ts"},"4":{"name":"storage.type.function.ts"},"5":{"name":"keyword.generator.asterisk.ts"},"6":{"name":"meta.definition.function.ts entity.name.function.ts"}},"end":"(?=;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)|(?<=})","name":"meta.function.ts","patterns":[{"include":"#function-name"},{"include":"#function-body"}]},"function-expression":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(async)\\\\s+)?(function)\\\\b(?:\\\\s*(\\\\*))?(?:(?:\\\\s+|(?<=\\\\*))([$_[:alpha:]][$_[:alnum:]]*))?\\\\s*","beginCaptures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"storage.type.function.ts"},"3":{"name":"keyword.generator.asterisk.ts"},"4":{"name":"meta.definition.function.ts entity.name.function.ts"}},"end":"(?=;)|(?<=})","name":"meta.function.expression.ts","patterns":[{"include":"#function-name"},{"include":"#single-line-comment-consuming-line-ending"},{"include":"#function-body"}]},"function-name":{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"meta.definition.function.ts entity.name.function.ts"},"function-parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.ts"}},"name":"meta.parameters.ts","patterns":[{"include":"#function-parameters-body"}]},"function-parameters-body":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#decorator"},{"include":"#destructuring-parameter"},{"include":"#parameter-name"},{"include":"#parameter-type-annotation"},{"include":"#variable-initializer"},{"match":",","name":"punctuation.separator.parameter.ts"}]},"identifiers":{"patterns":[{"include":"#object-identifiers"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"entity.name.function.ts"}},"match":"(?:(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"variable.other.constant.property.ts"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(#?\\\\p{upper}[$_\\\\d[:upper:]]*)(?![$_[:alnum:]])"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"variable.other.property.ts"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*)"},{"match":"(\\\\p{upper}[$_\\\\d[:upper:]]*)(?![$_[:alnum:]])","name":"variable.other.constant.ts"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"variable.other.readwrite.ts"}]},"if-statement":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?=\\\\bif\\\\s*(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))\\\\s*(?!\\\\{))","end":"(?=;|$|})","patterns":[{"include":"#comment"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(if)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.conditional.ts"},"2":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression"}]},{"begin":"(?<=\\\\))\\\\s*/(?![*/])(?=(?:[^/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[([^]\\\\\\\\]|\\\\\\\\.)*])+/([dgimsuvy]+|(?![*/])|(?=/\\\\*))(?!\\\\s*[$0-9A-Z_a-z]))","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ts"}},"end":"(/)([dgimsuvy]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"keyword.other.ts"}},"name":"string.regexp.ts","patterns":[{"include":"#regexp"}]},{"include":"#statements"}]}]},"import-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(import)(?:\\\\s+(type)(?!\\\\s+from))?(?!\\\\s*[(:])(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"keyword.control.import.ts"},"4":{"name":"keyword.control.type.ts"}},"end":"(?<!(?:^|[^$._[:alnum:]])import)(?=;|$|^)","name":"meta.import.ts","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"include":"#string"},{"begin":"(?<=(?:^|[^$._[:alnum:]])import)(?!\\\\s*[\\"\'])","end":"\\\\bfrom\\\\b","endCaptures":{"0":{"name":"keyword.control.from.ts"}},"patterns":[{"include":"#import-export-declaration"}]},{"include":"#import-export-declaration"}]},"import-equals-declaration":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(import)(?:\\\\s+(type))?\\\\s+([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(=)\\\\s*(require)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"keyword.control.import.ts"},"4":{"name":"keyword.control.type.ts"},"5":{"name":"variable.other.readwrite.alias.ts"},"6":{"name":"keyword.operator.assignment.ts"},"7":{"name":"keyword.control.require.ts"},"8":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"name":"meta.import-equals.external.ts","patterns":[{"include":"#comment"},{"include":"#string"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(import)(?:\\\\s+(type))?\\\\s+([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(=)\\\\s*(?!require\\\\b)","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"keyword.control.import.ts"},"4":{"name":"keyword.control.type.ts"},"5":{"name":"variable.other.readwrite.alias.ts"},"6":{"name":"keyword.operator.assignment.ts"}},"end":"(?=;|$|^)","name":"meta.import-equals.internal.ts","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"captures":{"1":{"name":"entity.name.type.module.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"variable.other.readwrite.ts"}]}]},"import-export-assert-clause":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(with)|(assert))\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.control.with.ts"},"2":{"name":"keyword.control.assert.ts"},"3":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"patterns":[{"include":"#comment"},{"include":"#string"},{"match":"[$_[:alpha:]][$_[:alnum:]]*\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:)","name":"meta.object-literal.key.ts"},{"match":":","name":"punctuation.separator.key-value.ts"}]},"import-export-block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.block.ts","patterns":[{"include":"#import-export-clause"}]},"import-export-clause":{"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.control.type.ts"},"2":{"name":"keyword.control.default.ts"},"3":{"name":"constant.language.import-export-all.ts"},"4":{"name":"variable.other.readwrite.ts"},"5":{"name":"string.quoted.alias.ts"},"12":{"name":"keyword.control.as.ts"},"13":{"name":"keyword.control.default.ts"},"14":{"name":"variable.other.readwrite.alias.ts"},"15":{"name":"string.quoted.alias.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(type)\\\\s+)?(?:\\\\b(default)|(\\\\*)|\\\\b([$_[:alpha:]][$_[:alnum:]]*)|((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)))\\\\s+(as)\\\\s+(?:(default(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|([$_[:alpha:]][$_[:alnum:]]*)|((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)))"},{"include":"#punctuation-comma"},{"match":"\\\\*","name":"constant.language.import-export-all.ts"},{"match":"\\\\b(default)\\\\b","name":"keyword.control.default.ts"},{"captures":{"1":{"name":"keyword.control.type.ts"},"2":{"name":"variable.other.readwrite.alias.ts"},"3":{"name":"string.quoted.alias.ts"}},"match":"(?:\\\\b(type)\\\\s+)?(?:([$_[:alpha:]][$_[:alnum:]]*)|((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)))"}]},"import-export-declaration":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#import-export-block"},{"match":"\\\\bfrom\\\\b","name":"keyword.control.from.ts"},{"include":"#import-export-assert-clause"},{"include":"#import-export-clause"}]},"indexer-declaration":{"begin":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(readonly)\\\\s*)?\\\\s*(\\\\[)\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=:)","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"meta.brace.square.ts"},"3":{"name":"variable.parameter.ts"}},"end":"(])\\\\s*(\\\\?\\\\s*)?|$","endCaptures":{"1":{"name":"meta.brace.square.ts"},"2":{"name":"keyword.operator.optional.ts"}},"name":"meta.indexer.declaration.ts","patterns":[{"include":"#type-annotation"}]},"indexer-mapped-type-declaration":{"begin":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))([-+])?(readonly)\\\\s*)?\\\\s*(\\\\[)\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s+(in)\\\\s+","beginCaptures":{"1":{"name":"keyword.operator.type.modifier.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"meta.brace.square.ts"},"4":{"name":"entity.name.type.ts"},"5":{"name":"keyword.operator.expression.in.ts"}},"end":"(])([-+])?\\\\s*(\\\\?\\\\s*)?|$","endCaptures":{"1":{"name":"meta.brace.square.ts"},"2":{"name":"keyword.operator.type.modifier.ts"},"3":{"name":"keyword.operator.optional.ts"}},"name":"meta.indexer.mappedtype.declaration.ts","patterns":[{"captures":{"1":{"name":"keyword.control.as.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+"},{"include":"#type"}]},"inline-tags":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.bracket.square.begin.jsdoc"},"2":{"name":"punctuation.definition.bracket.square.end.jsdoc"}},"match":"(\\\\[)[^]]+(])(?=\\\\{@(?:link|linkcode|linkplain|tutorial))","name":"constant.other.description.jsdoc"},{"begin":"(\\\\{)((@)(?:link(?:code|plain)?|tutorial))\\\\s*","beginCaptures":{"1":{"name":"punctuation.definition.bracket.curly.begin.jsdoc"},"2":{"name":"storage.type.class.jsdoc"},"3":{"name":"punctuation.definition.inline.tag.jsdoc"}},"end":"}|(?=\\\\*/)","endCaptures":{"0":{"name":"punctuation.definition.bracket.curly.end.jsdoc"}},"name":"entity.name.type.instance.jsdoc","patterns":[{"captures":{"1":{"name":"variable.other.link.underline.jsdoc"},"2":{"name":"punctuation.separator.pipe.jsdoc"}},"match":"\\\\G((?=https?://)(?:[^*|}\\\\s]|\\\\*/)+)(\\\\|)?"},{"captures":{"1":{"name":"variable.other.description.jsdoc"},"2":{"name":"punctuation.separator.pipe.jsdoc"}},"match":"\\\\G((?:[^*@{|}\\\\s]|\\\\*[^/])+)(\\\\|)?"}]}]},"instanceof-expr":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(instanceof)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.operator.expression.instanceof.ts"}},"end":"(?<=\\\\))|(?=[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|([!=]==?)|(([\\\\&^|~]\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s+instanceof(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))function((\\\\s+[$_[:alpha:]][$_[:alnum:]]*)|(\\\\s*\\\\())))","patterns":[{"include":"#type"}]},"interface-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(?:(abstract)\\\\s+)?\\\\b(interface)\\\\b(?=\\\\s+|/[*/])","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.type.interface.ts"}},"end":"(?<=})","name":"meta.interface.ts","patterns":[{"include":"#comment"},{"include":"#class-or-interface-heritage"},{"captures":{"0":{"name":"entity.name.type.interface.ts"}},"match":"[$_[:alpha:]][$_[:alnum:]]*"},{"include":"#type-parameters"},{"include":"#class-or-interface-body"}]},"jsdoctype":{"patterns":[{"begin":"\\\\G(\\\\{)","beginCaptures":{"0":{"name":"entity.name.type.instance.jsdoc"},"1":{"name":"punctuation.definition.bracket.curly.begin.jsdoc"}},"contentName":"entity.name.type.instance.jsdoc","end":"((}))\\\\s*|(?=\\\\*/)","endCaptures":{"1":{"name":"entity.name.type.instance.jsdoc"},"2":{"name":"punctuation.definition.bracket.curly.end.jsdoc"}},"patterns":[{"include":"#brackets"}]}]},"label":{"patterns":[{"begin":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(:)(?=\\\\s*\\\\{)","beginCaptures":{"1":{"name":"entity.name.label.ts"},"2":{"name":"punctuation.separator.label.ts"}},"end":"(?<=})","patterns":[{"include":"#decl-block"}]},{"captures":{"1":{"name":"entity.name.label.ts"},"2":{"name":"punctuation.separator.label.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(:)"}]},"literal":{"patterns":[{"include":"#numeric-literal"},{"include":"#boolean-literal"},{"include":"#null-literal"},{"include":"#undefined-literal"},{"include":"#numericConstant-literal"},{"include":"#array-literal"},{"include":"#this-literal"},{"include":"#super-literal"}]},"method-declaration":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(override)\\\\s+)?(?:\\\\b(p(?:ublic|rivate|rotected))\\\\s+)?(?:\\\\b(abstract)\\\\s+)?(?:\\\\b(async)\\\\s+)?\\\\s*\\\\b(constructor)\\\\b(?!:)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.modifier.async.ts"},"5":{"name":"storage.type.ts"}},"end":"(?=[,;}]|$)|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#method-declaration-name"},{"include":"#function-body"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(override)\\\\s+)?(?:\\\\b(p(?:ublic|rivate|rotected))\\\\s+)?(?:\\\\b(abstract)\\\\s+)?(?:\\\\b(async)\\\\s+)?(?:\\\\s*\\\\b(new)\\\\b(?!:)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))|(?:(\\\\*)\\\\s*)?)(?=\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.modifier.async.ts"},"5":{"name":"keyword.operator.new.ts"},"6":{"name":"keyword.generator.asterisk.ts"}},"end":"(?=[,;}]|$)|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#method-declaration-name"},{"include":"#function-body"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(override)\\\\s+)?(?:\\\\b(p(?:ublic|rivate|rotected))\\\\s+)?(?:\\\\b(abstract)\\\\s+)?(?:\\\\b(async)\\\\s+)?(?:\\\\b([gs]et)\\\\s+)?(?:(\\\\*)\\\\s*)?(?=\\\\s*((\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(\\\\??))\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.modifier.async.ts"},"5":{"name":"storage.type.property.ts"},"6":{"name":"keyword.generator.asterisk.ts"}},"end":"(?=[,;}]|$)|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#method-declaration-name"},{"include":"#function-body"}]}]},"method-declaration-name":{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(\\\\??)\\\\s*[(<])","end":"(?=[(<])","patterns":[{"include":"#string"},{"include":"#array-literal"},{"include":"#numeric-literal"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"meta.definition.method.ts entity.name.function.ts"},{"match":"\\\\?","name":"keyword.operator.optional.ts"}]},"namespace-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(namespace|module)\\\\s+(?=[\\"$\'_`[:alpha:]])","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.namespace.ts"}},"end":"(?<=})|(?=;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","name":"meta.namespace.declaration.ts","patterns":[{"include":"#comment"},{"include":"#string"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"entity.name.type.module.ts"},{"include":"#punctuation-accessor"},{"include":"#decl-block"}]},"new-expr":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(new)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.operator.new.ts"}},"end":"(?<=\\\\))|(?=[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))new(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))function((\\\\s+[$_[:alpha:]][$_[:alnum:]]*)|(\\\\s*\\\\())))","name":"new.expr.ts","patterns":[{"include":"#expression"}]},"null-literal":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))null(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.null.ts"},"numeric-literal":{"patterns":[{"captures":{"1":{"name":"storage.type.numeric.bigint.ts"}},"match":"\\\\b(?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$)","name":"constant.numeric.hex.ts"},{"captures":{"1":{"name":"storage.type.numeric.bigint.ts"}},"match":"\\\\b(?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$)","name":"constant.numeric.binary.ts"},{"captures":{"1":{"name":"storage.type.numeric.bigint.ts"}},"match":"\\\\b(?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$)","name":"constant.numeric.octal.ts"},{"captures":{"0":{"name":"constant.numeric.decimal.ts"},"1":{"name":"meta.delimiter.decimal.period.ts"},"2":{"name":"storage.type.numeric.bigint.ts"},"3":{"name":"meta.delimiter.decimal.period.ts"},"4":{"name":"storage.type.numeric.bigint.ts"},"5":{"name":"meta.delimiter.decimal.period.ts"},"6":{"name":"storage.type.numeric.bigint.ts"},"7":{"name":"storage.type.numeric.bigint.ts"},"8":{"name":"meta.delimiter.decimal.period.ts"},"9":{"name":"storage.type.numeric.bigint.ts"},"10":{"name":"meta.delimiter.decimal.period.ts"},"11":{"name":"storage.type.numeric.bigint.ts"},"12":{"name":"meta.delimiter.decimal.period.ts"},"13":{"name":"storage.type.numeric.bigint.ts"},"14":{"name":"storage.type.numeric.bigint.ts"}},"match":"(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$)"}]},"numericConstant-literal":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))NaN(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.nan.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Infinity(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.infinity.ts"}]},"object-binding-element":{"patterns":[{"include":"#comment"},{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(:))","end":"(?=[,}])","patterns":[{"include":"#object-binding-element-propertyName"},{"include":"#binding-element"}]},{"include":"#object-binding-pattern"},{"include":"#destructuring-variable-rest"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"}]},"object-binding-element-const":{"patterns":[{"include":"#comment"},{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(:))","end":"(?=[,}])","patterns":[{"include":"#object-binding-element-propertyName"},{"include":"#binding-element-const"}]},{"include":"#object-binding-pattern-const"},{"include":"#destructuring-variable-rest-const"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"}]},"object-binding-element-propertyName":{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(:))","end":"(:)","endCaptures":{"0":{"name":"punctuation.destructuring.ts"}},"patterns":[{"include":"#string"},{"include":"#array-literal"},{"include":"#numeric-literal"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"variable.object.property.ts"}]},"object-binding-pattern":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\{)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.object.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.ts"}},"patterns":[{"include":"#object-binding-element"}]},"object-binding-pattern-const":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\{)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.object.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.ts"}},"patterns":[{"include":"#object-binding-element-const"}]},"object-identifiers":{"patterns":[{"match":"([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*\\\\??\\\\.\\\\s*prototype\\\\b(?!\\\\$))","name":"support.class.ts"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"variable.other.constant.object.property.ts"},"4":{"name":"variable.other.object.property.ts"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(?:(#?\\\\p{upper}[$_\\\\d[:upper:]]*)|(#?[$_[:alpha:]][$_[:alnum:]]*))(?=\\\\s*\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*)"},{"captures":{"1":{"name":"variable.other.constant.object.ts"},"2":{"name":"variable.other.object.ts"}},"match":"(?:(\\\\p{upper}[$_\\\\d[:upper:]]*)|([$_[:alpha:]][$_[:alnum:]]*))(?=\\\\s*\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*)"}]},"object-literal":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.objectliteral.ts","patterns":[{"include":"#object-member"}]},"object-literal-method-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(async)\\\\s+)?(?:\\\\b([gs]et)\\\\s+)?(?:(\\\\*)\\\\s*)?(?=\\\\s*((\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(\\\\??))\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()","beginCaptures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"storage.type.property.ts"},"3":{"name":"keyword.generator.asterisk.ts"}},"end":"(?=[,;}])|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#method-declaration-name"},{"include":"#function-body"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(async)\\\\s+)?(?:\\\\b([gs]et)\\\\s+)?(?:(\\\\*)\\\\s*)?(?=\\\\s*((\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(\\\\??))\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()","beginCaptures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"storage.type.property.ts"},"3":{"name":"keyword.generator.asterisk.ts"}},"end":"(?=[(<])","patterns":[{"include":"#method-declaration-name"}]}]},"object-member":{"patterns":[{"include":"#comment"},{"include":"#object-literal-method-declaration"},{"begin":"(?=\\\\[)","end":"(?=:)|((?<=])(?=\\\\s*[(<]))","name":"meta.object.member.ts meta.object-literal.key.ts","patterns":[{"include":"#comment"},{"include":"#array-literal"}]},{"begin":"(?=[\\"\'`])","end":"(?=:)|((?<=[\\"\'`])(?=((\\\\s*[(,<}])|(\\\\s+(as|satisifies)\\\\s+))))","name":"meta.object.member.ts meta.object-literal.key.ts","patterns":[{"include":"#comment"},{"include":"#string"}]},{"begin":"(?=\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$)))","end":"(?=:)|(?=\\\\s*([(,<}])|(\\\\s+as|satisifies\\\\s+))","name":"meta.object.member.ts meta.object-literal.key.ts","patterns":[{"include":"#comment"},{"include":"#numeric-literal"}]},{"begin":"(?<=[]\\"\'`])(?=\\\\s*[(<])","end":"(?=[,;}])|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#function-body"}]},{"captures":{"0":{"name":"meta.object-literal.key.ts"},"1":{"name":"constant.numeric.decimal.ts"}},"match":"(?![$_[:alpha:]])(\\\\d+)\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:)","name":"meta.object.member.ts"},{"captures":{"0":{"name":"meta.object-literal.key.ts"},"1":{"name":"entity.name.function.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:(\\\\s*/\\\\*([^*]|(\\\\*[^/]))*\\\\*/)*\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))","name":"meta.object.member.ts"},{"captures":{"0":{"name":"meta.object-literal.key.ts"}},"match":"[$_[:alpha:]][$_[:alnum:]]*\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:)","name":"meta.object.member.ts"},{"begin":"\\\\.\\\\.\\\\.","beginCaptures":{"0":{"name":"keyword.operator.spread.ts"}},"end":"(?=[,}])","name":"meta.object.member.ts","patterns":[{"include":"#expression"}]},{"captures":{"1":{"name":"variable.other.readwrite.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=[,}]|$|//|/\\\\*)","name":"meta.object.member.ts"},{"captures":{"1":{"name":"keyword.control.as.ts"},"2":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+(const)(?=\\\\s*([,}]|$))","name":"meta.object.member.ts"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(as)|(satisfies))\\\\s+","beginCaptures":{"1":{"name":"keyword.control.as.ts"},"2":{"name":"keyword.control.satisfies.ts"}},"end":"(?=[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|^|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as|satisifies)\\\\s+))","name":"meta.object.member.ts","patterns":[{"include":"#type"}]},{"begin":"(?=[$_[:alpha:]][$_[:alnum:]]*\\\\s*=)","end":"(?=[,}]|$|//|/\\\\*)","name":"meta.object.member.ts","patterns":[{"include":"#expression"}]},{"begin":":","beginCaptures":{"0":{"name":"meta.object-literal.key.ts punctuation.separator.key-value.ts"}},"end":"(?=[,}])","name":"meta.object.member.ts","patterns":[{"begin":"(?<=:)\\\\s*(async)?(?=\\\\s*(<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?<=\\\\))","patterns":[{"include":"#type-parameters"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression-inside-possibly-arrow-parens"}]}]},{"begin":"(?<=:)\\\\s*(async)?\\\\s*(\\\\()(?=\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))","beginCaptures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression-inside-possibly-arrow-parens"}]},{"begin":"(?<=:)\\\\s*(async)?\\\\s*(?=<\\\\s*$)","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?<=>)","patterns":[{"include":"#type-parameters"}]},{"begin":"(?<=>)\\\\s*(\\\\()(?=\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))","beginCaptures":{"1":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression-inside-possibly-arrow-parens"}]},{"include":"#possibly-arrow-return-type"},{"include":"#expression"}]},{"include":"#punctuation-comma"},{"include":"#decl-block"}]},"parameter-array-binding-pattern":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.array.ts"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.ts"}},"patterns":[{"include":"#parameter-binding-element"},{"include":"#punctuation-comma"}]},"parameter-binding-element":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numeric-literal"},{"include":"#regex"},{"include":"#parameter-object-binding-pattern"},{"include":"#parameter-array-binding-pattern"},{"include":"#destructuring-parameter-rest"},{"include":"#variable-initializer"}]},"parameter-name":{"patterns":[{"captures":{"1":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|protected|private|readonly)\\\\s+(?=(override|public|protected|private|readonly)\\\\s+)"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"entity.name.function.ts variable.language.this.ts"},"4":{"name":"entity.name.function.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)(?=\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"variable.parameter.ts variable.language.this.ts"},"4":{"name":"variable.parameter.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)"}]},"parameter-object-binding-element":{"patterns":[{"include":"#comment"},{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(:))","end":"(?=[,}])","patterns":[{"include":"#object-binding-element-propertyName"},{"include":"#parameter-binding-element"},{"include":"#paren-expression"}]},{"include":"#parameter-object-binding-pattern"},{"include":"#destructuring-parameter-rest"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"}]},"parameter-object-binding-pattern":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\{)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.object.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.ts"}},"patterns":[{"include":"#parameter-object-binding-element"}]},"parameter-type-annotation":{"patterns":[{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?=[),])|(?==[^>])","name":"meta.type.annotation.ts","patterns":[{"include":"#type"}]}]},"paren-expression":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression"}]},"paren-expression-possibly-arrow":{"patterns":[{"begin":"(?<=[(,=])\\\\s*(async)?(?=\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?<=\\\\))","patterns":[{"include":"#paren-expression-possibly-arrow-with-typeparameters"}]},{"begin":"(?<=[(,=]|=>|^return|[^$._[:alnum:]]return)\\\\s*(async)?(?=\\\\s*((((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()|(<)|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)))\\\\s*$)","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?<=\\\\))","patterns":[{"include":"#paren-expression-possibly-arrow-with-typeparameters"}]},{"include":"#possibly-arrow-return-type"}]},"paren-expression-possibly-arrow-with-typeparameters":{"patterns":[{"include":"#type-parameters"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression-inside-possibly-arrow-parens"}]}]},"possibly-arrow-return-type":{"begin":"(?<=\\\\)|^)\\\\s*(:)(?=\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*=>)","beginCaptures":{"1":{"name":"meta.arrow.ts meta.return.type.arrow.ts keyword.operator.type.annotation.ts"}},"contentName":"meta.arrow.ts meta.return.type.arrow.ts","end":"(?==>|\\\\{|^(\\\\s*(export|function|class|interface|let|var|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|const|import|enum|namespace|module|type|abstract|declare)\\\\s+))","patterns":[{"include":"#arrow-return-type-body"}]},"property-accessor":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(accessor|get|set)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.type.property.ts"},"punctuation-accessor":{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"}},"match":"(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d))"},"punctuation-comma":{"match":",","name":"punctuation.separator.comma.ts"},"punctuation-semicolon":{"match":";","name":"punctuation.terminator.statement.ts"},"qstring-double":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ts"}},"end":"(\\")|([^\\\\n\\\\\\\\])$","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"invalid.illegal.newline.ts"}},"name":"string.quoted.double.ts","patterns":[{"include":"#string-character-escape"}]},"qstring-single":{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ts"}},"end":"(\')|([^\\\\n\\\\\\\\])$","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"invalid.illegal.newline.ts"}},"name":"string.quoted.single.ts","patterns":[{"include":"#string-character-escape"}]},"regex":{"patterns":[{"begin":"(?<!\\\\+\\\\+|--|})(?<=[!(+,:=?\\\\[]|^return|[^$._[:alnum:]]return|^case|[^$._[:alnum:]]case|=>|&&|\\\\|\\\\||\\\\*/)\\\\s*(/)(?![*/])(?=(?:[^()/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[([^]\\\\\\\\]|\\\\\\\\.)+]|\\\\(([^)\\\\\\\\]|\\\\\\\\.)+\\\\))+/([dgimsuvy]+|(?![*/])|(?=/\\\\*))(?!\\\\s*[$0-9A-Z_a-z]))","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.ts"}},"end":"(/)([dgimsuvy]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"keyword.other.ts"}},"name":"string.regexp.ts","patterns":[{"include":"#regexp"}]},{"begin":"((?<![]$)_[:alnum:]]|\\\\+\\\\+|--|}|\\\\*/)|((?<=^return|[^$._[:alnum:]]return|^case|[^$._[:alnum:]]case))\\\\s*)/(?![*/])(?=(?:[^/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[([^]\\\\\\\\]|\\\\\\\\.)*])+/([dgimsuvy]+|(?![*/])|(?=/\\\\*))(?!\\\\s*[$0-9A-Z_a-z]))","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ts"}},"end":"(/)([dgimsuvy]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"keyword.other.ts"}},"name":"string.regexp.ts","patterns":[{"include":"#regexp"}]}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdfnrstvw]|\\\\.","name":"constant.other.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x\\\\h{2}|u\\\\h{4})","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"regexp":{"patterns":[{"match":"\\\\\\\\[Bb]|[$^]","name":"keyword.control.anchor.regexp"},{"captures":{"0":{"name":"keyword.other.back-reference.regexp"},"1":{"name":"variable.other.regexp"}},"match":"\\\\\\\\(?:[1-9]\\\\d*|k<([$A-Z_a-z][$\\\\w]*)>)"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!)|(\\\\?<=)|(\\\\?<!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"},"5":{"name":"meta.assertion.look-behind.regexp"},"6":{"name":"meta.assertion.negative-look-behind.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#regexp"}]},{"begin":"\\\\((?:(\\\\?:)|\\\\?<([$A-Z_a-z][$\\\\w]*)>)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"},"1":{"name":"punctuation.definition.group.no-capture.regexp"},"2":{"name":"variable.other.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#regexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"}]},"return-type":{"patterns":[{"begin":"(?<=\\\\))\\\\s*(:)(?=\\\\s*\\\\S)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?<![\\\\&:|])(?=$|^|[,;{}]|//)","name":"meta.return.type.ts","patterns":[{"include":"#return-type-core"}]},{"begin":"(?<=\\\\))\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?<![\\\\&:|])((?=[,;{}]|//|^\\\\s*$)|((?<=\\\\S)(?=\\\\s*$)))","name":"meta.return.type.ts","patterns":[{"include":"#return-type-core"}]}]},"return-type-core":{"patterns":[{"include":"#comment"},{"begin":"(?<=[\\\\&:|])(?=\\\\s*\\\\{)","end":"(?<=})","patterns":[{"include":"#type-object"}]},{"include":"#type-predicate-operator"},{"include":"#type"}]},"shebang":{"captures":{"1":{"name":"punctuation.definition.comment.ts"}},"match":"\\\\A(#!).*(?=$)","name":"comment.line.shebang.ts"},"single-line-comment-consuming-line-ending":{"begin":"(^[\\\\t ]+)?((//)(?:\\\\s*((@)internal)(?=\\\\s|$))?)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ts"},"2":{"name":"comment.line.double-slash.ts"},"3":{"name":"punctuation.definition.comment.ts"},"4":{"name":"storage.type.internaldeclaration.ts"},"5":{"name":"punctuation.decorator.internaldeclaration.ts"}},"contentName":"comment.line.double-slash.ts","end":"(?=^)"},"statements":{"patterns":[{"include":"#declaration"},{"include":"#control-statement"},{"include":"#after-operator-block-as-object-literal"},{"include":"#decl-block"},{"include":"#label"},{"include":"#expression"},{"include":"#punctuation-semicolon"},{"include":"#string"},{"include":"#comment"}]},"string":{"patterns":[{"include":"#qstring-single"},{"include":"#qstring-double"},{"include":"#template"}]},"string-character-escape":{"match":"\\\\\\\\(x\\\\h{2}|u\\\\h{4}|u\\\\{\\\\h+}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)","name":"constant.character.escape.ts"},"super-literal":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))super\\\\b(?!\\\\$)","name":"variable.language.super.ts"},"support-function-call-identifiers":{"patterns":[{"include":"#literal"},{"include":"#support-objects"},{"include":"#object-identifiers"},{"include":"#punctuation-accessor"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))import(?=\\\\s*\\\\(\\\\s*[\\"\'`])","name":"keyword.operator.expression.import.ts"}]},"support-objects":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(arguments)\\\\b(?!\\\\$)","name":"variable.language.arguments.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(Promise)\\\\b(?!\\\\$)","name":"support.class.promise.ts"},{"captures":{"1":{"name":"keyword.control.import.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"},"4":{"name":"support.variable.property.importmeta.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(import)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(meta)\\\\b(?!\\\\$)"},{"captures":{"1":{"name":"keyword.operator.new.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"},"4":{"name":"support.variable.property.target.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(new)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(target)\\\\b(?!\\\\$)"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"support.variable.property.ts"},"4":{"name":"support.constant.ts"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(?:(constructor|length|prototype|__proto__)\\\\b(?!\\\\$|\\\\s*(<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\()|(EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY)\\\\b(?!\\\\$))"},{"captures":{"1":{"name":"support.type.object.module.ts"},"2":{"name":"support.type.object.module.ts"},"3":{"name":"punctuation.accessor.ts"},"4":{"name":"punctuation.accessor.optional.ts"},"5":{"name":"support.type.object.module.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(exports)|(module)(?:(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))(exports|id|filename|loaded|parent|children))?)\\\\b(?!\\\\$)"}]},"switch-statement":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?=\\\\bswitch\\\\s*\\\\()","end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"switch-statement.expr.ts","patterns":[{"include":"#comment"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(switch)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.switch.ts"},"2":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"name":"switch-expression.expr.ts","patterns":[{"include":"#expression"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"(?=})","name":"switch-block.expr.ts","patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(case|default(?=:))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.control.switch.ts"}},"end":"(?=:)","name":"case-clause.expr.ts","patterns":[{"include":"#expression"}]},{"begin":"(:)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"case-clause.expr.ts punctuation.definition.section.case-statement.ts"},"2":{"name":"meta.block.ts punctuation.definition.block.ts"}},"contentName":"meta.block.ts","end":"}","endCaptures":{"0":{"name":"meta.block.ts punctuation.definition.block.ts"}},"patterns":[{"include":"#statements"}]},{"captures":{"0":{"name":"case-clause.expr.ts punctuation.definition.section.case-statement.ts"}},"match":"(:)"},{"include":"#statements"}]}]},"template":{"patterns":[{"include":"#template-call"},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)?(`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"},"2":{"name":"string.template.ts punctuation.definition.string.template.begin.ts"}},"contentName":"string.template.ts","end":"`","endCaptures":{"0":{"name":"string.template.ts punctuation.definition.string.template.end.ts"}},"patterns":[{"include":"#template-substitution-element"},{"include":"#string-character-escape"}]}]},"template-call":{"patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*\\\\s*\\\\??\\\\.\\\\s*)*|(\\\\??\\\\.\\\\s*)?)([$_[:alpha:]][$_[:alnum:]]*)(<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?`)","end":"(?=`)","patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*\\\\s*\\\\??\\\\.\\\\s*)*|(\\\\??\\\\.\\\\s*)?)([$_[:alpha:]][$_[:alnum:]]*))","end":"(?=(<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?`)","patterns":[{"include":"#support-function-call-identifiers"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"entity.name.function.tagged-template.ts"}]},{"include":"#type-arguments"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)?\\\\s*(?=(<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"}},"end":"(?=`)","patterns":[{"include":"#type-arguments"}]}]},"template-substitution-element":{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.ts"}},"contentName":"meta.embedded.line.ts","end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.ts"}},"name":"meta.template.expression.ts","patterns":[{"include":"#expression"}]},"template-type":{"patterns":[{"include":"#template-call"},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)?(`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"},"2":{"name":"string.template.ts punctuation.definition.string.template.begin.ts"}},"contentName":"string.template.ts","end":"`","endCaptures":{"0":{"name":"string.template.ts punctuation.definition.string.template.end.ts"}},"patterns":[{"include":"#template-type-substitution-element"},{"include":"#string-character-escape"}]}]},"template-type-substitution-element":{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.ts"}},"contentName":"meta.embedded.line.ts","end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.ts"}},"name":"meta.template.expression.ts","patterns":[{"include":"#type"}]},"ternary-expression":{"begin":"(?!\\\\?\\\\.\\\\s*\\\\D)(\\\\?)(?!\\\\?)","beginCaptures":{"1":{"name":"keyword.operator.ternary.ts"}},"end":"\\\\s*(:)","endCaptures":{"1":{"name":"keyword.operator.ternary.ts"}},"patterns":[{"include":"#expression"}]},"this-literal":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))this\\\\b(?!\\\\$)","name":"variable.language.this.ts"},"type":{"patterns":[{"include":"#comment"},{"include":"#type-string"},{"include":"#numeric-literal"},{"include":"#type-primitive"},{"include":"#type-builtin-literals"},{"include":"#type-parameters"},{"include":"#type-tuple"},{"include":"#type-object"},{"include":"#type-operators"},{"include":"#type-conditional"},{"include":"#type-fn-type-parameters"},{"include":"#type-paren-or-function-parameters"},{"include":"#type-function-return-type"},{"captures":{"1":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(readonly)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*"},{"include":"#type-name"}]},"type-alias-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(type)\\\\b\\\\s+([$_[:alpha:]][$_[:alnum:]]*)\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.type.ts"},"4":{"name":"entity.name.type.alias.ts"}},"end":"(?=[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","name":"meta.type.declaration.ts","patterns":[{"include":"#comment"},{"include":"#type-parameters"},{"begin":"(=)\\\\s*(intrinsic)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.operator.assignment.ts"},"2":{"name":"keyword.control.intrinsic.ts"}},"end":"(?=[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#type"}]},{"begin":"(=)\\\\s*","beginCaptures":{"1":{"name":"keyword.operator.assignment.ts"}},"end":"(?=[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#type"}]}]},"type-annotation":{"patterns":[{"begin":"(:)(?=\\\\s*\\\\S)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?<![\\\\&:|])(?!\\\\s*[\\\\&|]\\\\s+)((?=^|[]),;}]|//)|(?==[^>])|((?<=[]$)>_}[:alpha:]])\\\\s*(?=\\\\{)))","name":"meta.type.annotation.ts","patterns":[{"include":"#type"}]},{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?<![\\\\&:|])((?=[]),;}]|//)|(?==[^>])|(?=^\\\\s*$)|((?<=[]$)>_}[:alpha:]])\\\\s*(?=\\\\{)))","name":"meta.type.annotation.ts","patterns":[{"include":"#type"}]}]},"type-arguments":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.typeparameters.begin.ts"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.typeparameters.end.ts"}},"name":"meta.type.parameters.ts","patterns":[{"include":"#type-arguments-body"}]},"type-arguments-body":{"patterns":[{"captures":{"0":{"name":"keyword.operator.type.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(_)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))"},{"include":"#type"},{"include":"#punctuation-comma"}]},"type-builtin-literals":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(this|true|false|undefined|null|object)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"support.type.builtin.ts"},"type-conditional":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends)\\\\s+","beginCaptures":{"1":{"name":"storage.modifier.ts"}},"end":"(?<=:)","patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"keyword.operator.ternary.ts"}},"end":":","endCaptures":{"0":{"name":"keyword.operator.ternary.ts"}},"patterns":[{"include":"#type"}]},{"include":"#type"}]}]},"type-fn-type-parameters":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(abstract)\\\\s+)?(new)\\\\b(?=\\\\s*<)","beginCaptures":{"1":{"name":"meta.type.constructor.ts storage.modifier.ts"},"2":{"name":"meta.type.constructor.ts keyword.control.new.ts"}},"end":"(?<=>)","patterns":[{"include":"#comment"},{"include":"#type-parameters"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(abstract)\\\\s+)?(new)\\\\b\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.control.new.ts"}},"end":"(?<=\\\\))","name":"meta.type.constructor.ts","patterns":[{"include":"#function-parameters"}]},{"begin":"((?=\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>))))))","end":"(?<=\\\\))","name":"meta.type.function.ts","patterns":[{"include":"#function-parameters"}]}]},"type-function-return-type":{"patterns":[{"begin":"(=>)(?=\\\\s*\\\\S)","beginCaptures":{"1":{"name":"storage.type.function.arrow.ts"}},"end":"(?<!=>)(?<![\\\\&|])(?=[]),:;=>?{}]|//|$)","name":"meta.type.function.return.ts","patterns":[{"include":"#type-function-return-type-core"}]},{"begin":"=>","beginCaptures":{"0":{"name":"storage.type.function.arrow.ts"}},"end":"(?<!=>)(?<![\\\\&|])((?=[]),:;=>?{}]|//|^\\\\s*$)|((?<=\\\\S)(?=\\\\s*$)))","name":"meta.type.function.return.ts","patterns":[{"include":"#type-function-return-type-core"}]}]},"type-function-return-type-core":{"patterns":[{"include":"#comment"},{"begin":"(?<==>)(?=\\\\s*\\\\{)","end":"(?<=})","patterns":[{"include":"#type-object"}]},{"include":"#type-predicate-operator"},{"include":"#type"}]},"type-infer":{"patterns":[{"captures":{"1":{"name":"keyword.operator.expression.infer.ts"},"2":{"name":"entity.name.type.ts"},"3":{"name":"keyword.operator.expression.extends.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(infer)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?:\\\\s+(extends)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))?","name":"meta.type.infer.ts"}]},"type-name":{"patterns":[{"begin":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(<)","captures":{"1":{"name":"entity.name.type.module.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"},"4":{"name":"meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts"}},"contentName":"meta.type.parameters.ts","end":"(>)","endCaptures":{"1":{"name":"meta.type.parameters.ts punctuation.definition.typeparameters.end.ts"}},"patterns":[{"include":"#type-arguments-body"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(<)","beginCaptures":{"1":{"name":"entity.name.type.ts"},"2":{"name":"meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts"}},"contentName":"meta.type.parameters.ts","end":"(>)","endCaptures":{"1":{"name":"meta.type.parameters.ts punctuation.definition.typeparameters.end.ts"}},"patterns":[{"include":"#type-arguments-body"}]},{"captures":{"1":{"name":"entity.name.type.module.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"entity.name.type.ts"}]},"type-object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.object.type.ts","patterns":[{"include":"#comment"},{"include":"#method-declaration"},{"include":"#indexer-declaration"},{"include":"#indexer-mapped-type-declaration"},{"include":"#field-declaration"},{"include":"#type-annotation"},{"begin":"\\\\.\\\\.\\\\.","beginCaptures":{"0":{"name":"keyword.operator.spread.ts"}},"end":"(?=[,;}]|$)|(?<=})","patterns":[{"include":"#type"}]},{"include":"#punctuation-comma"},{"include":"#punctuation-semicolon"},{"include":"#type"}]},"type-operators":{"patterns":[{"include":"#typeof-operator"},{"include":"#type-infer"},{"begin":"([\\\\&|])(?=\\\\s*\\\\{)","beginCaptures":{"0":{"name":"keyword.operator.type.ts"}},"end":"(?<=})","patterns":[{"include":"#type-object"}]},{"begin":"[\\\\&|]","beginCaptures":{"0":{"name":"keyword.operator.type.ts"}},"end":"(?=\\\\S)"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))keyof(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.keyof.ts"},{"match":"([:?])","name":"keyword.operator.ternary.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))import(?=\\\\s*\\\\()","name":"keyword.operator.expression.import.ts"}]},"type-parameters":{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.typeparameters.begin.ts"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.typeparameters.end.ts"}},"name":"meta.type.parameters.ts","patterns":[{"include":"#comment"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends|in|out|const)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},{"include":"#type"},{"include":"#punctuation-comma"},{"match":"(=)(?!>)","name":"keyword.operator.assignment.ts"}]},"type-paren-or-function-parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"name":"meta.type.paren.cover.ts","patterns":[{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"entity.name.function.ts variable.language.this.ts"},"4":{"name":"entity.name.function.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))\\\\s*(\\\\??)(?=\\\\s*(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))))"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"variable.parameter.ts variable.language.this.ts"},"4":{"name":"variable.parameter.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))\\\\s*(\\\\??)(?=:)"},{"include":"#type-annotation"},{"match":",","name":"punctuation.separator.parameter.ts"},{"include":"#type"}]},"type-predicate-operator":{"patterns":[{"captures":{"1":{"name":"keyword.operator.type.asserts.ts"},"2":{"name":"variable.parameter.ts variable.language.this.ts"},"3":{"name":"variable.parameter.ts"},"4":{"name":"keyword.operator.expression.is.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(asserts)\\\\s+)?(?!asserts)(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))\\\\s(is)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))"},{"captures":{"1":{"name":"keyword.operator.type.asserts.ts"},"2":{"name":"variable.parameter.ts variable.language.this.ts"},"3":{"name":"variable.parameter.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(asserts)\\\\s+(?!is)(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))asserts(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.type.asserts.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))is(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.is.ts"}]},"type-primitive":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(string|number|bigint|boolean|symbol|any|void|never|unknown)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"support.type.primitive.ts"},"type-string":{"patterns":[{"include":"#qstring-single"},{"include":"#qstring-double"},{"include":"#template-type"}]},"type-tuple":{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.brace.square.ts"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.ts"}},"name":"meta.type.tuple.ts","patterns":[{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.rest.ts"},{"captures":{"1":{"name":"entity.name.label.ts"},"2":{"name":"keyword.operator.optional.ts"},"3":{"name":"punctuation.separator.label.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(\\\\?)?\\\\s*(:)"},{"include":"#type"},{"include":"#punctuation-comma"}]},"typeof-operator":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))typeof(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"0":{"name":"keyword.operator.expression.typeof.ts"}},"end":"(?=[]\\\\&),:;=>?{|}]|(extends\\\\s+)|$|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#type-arguments"},{"include":"#expression"}]},"undefined-literal":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))undefined(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.undefined.ts"},"var-expr":{"patterns":[{"begin":"(?=(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(var|let)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))","end":"(?!(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(var|let)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))((?=^|[;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)|((?<!^let|[^$._[:alnum:]]let|^var|[^$._[:alnum:]]var)(?=\\\\s*$)))","name":"meta.var.expr.ts","patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(var|let)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?=\\\\S)"},{"include":"#destructuring-variable"},{"include":"#var-single-variable"},{"include":"#variable-initializer"},{"include":"#comment"},{"begin":"(,)\\\\s*(?=$|//)","beginCaptures":{"1":{"name":"punctuation.separator.comma.ts"}},"end":"(?<!,)(((?=[;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|^\\\\s*$))|((?<=\\\\S)(?=\\\\s*$)))","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"include":"#destructuring-variable"},{"include":"#var-single-variable"},{"include":"#punctuation-comma"}]},{"include":"#punctuation-comma"}]},{"begin":"(?=(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(const(?!\\\\s+enum\\\\b))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?!(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(const(?!\\\\s+enum\\\\b))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))((?=^|[;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)|((?<!(?:^|[^$._[:alnum:]])const)(?=\\\\s*$)))","name":"meta.var.expr.ts","patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(const(?!\\\\s+enum\\\\b))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?=\\\\S)"},{"include":"#destructuring-const"},{"include":"#var-single-const"},{"include":"#variable-initializer"},{"include":"#comment"},{"begin":"(,)\\\\s*(?=$|//)","beginCaptures":{"1":{"name":"punctuation.separator.comma.ts"}},"end":"(?<!,)(((?=[;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|^\\\\s*$))|((?<=\\\\S)(?=\\\\s*$)))","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"include":"#destructuring-const"},{"include":"#var-single-const"},{"include":"#punctuation-comma"}]},{"include":"#punctuation-comma"}]},{"begin":"(?=(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b\\\\b(using(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])|await\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b)\\\\b(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?!(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b\\\\b(using(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])|await\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b)\\\\b(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))((?=[;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)|((?<!(?:^|[^$._[:alnum:]]|^await\\\\s+|[^$._[:alnum:]]await\\\\s+)using)(?=\\\\s*$)))","name":"meta.var.expr.ts","patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b\\\\b(using(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])|await\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b)\\\\b(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?=\\\\S)"},{"include":"#var-single-const"},{"include":"#variable-initializer"},{"include":"#comment"},{"begin":"(,)\\\\s*((?!\\\\S)|(?=//))","beginCaptures":{"1":{"name":"punctuation.separator.comma.ts"}},"end":"(?<!,)(((?=[;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|^\\\\s*$))|((?<=\\\\S)(?=\\\\s*$)))","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"include":"#var-single-const"},{"include":"#punctuation-comma"}]},{"include":"#punctuation-comma"}]}]},"var-single-const":{"patterns":[{"begin":"([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))","beginCaptures":{"1":{"name":"meta.definition.variable.ts variable.other.constant.ts entity.name.function.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"1":{"name":"meta.definition.variable.ts variable.other.constant.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]}]},"var-single-variable":{"patterns":[{"begin":"([$_[:alpha:]][$_[:alnum:]]*)(!)?(?=\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))","beginCaptures":{"1":{"name":"meta.definition.variable.ts entity.name.function.ts"},"2":{"name":"keyword.operator.definiteassignment.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]},{"begin":"(\\\\p{upper}[$_\\\\d[:upper:]]*)(?![$_[:alnum:]])(!)?","beginCaptures":{"1":{"name":"meta.definition.variable.ts variable.other.constant.ts"},"2":{"name":"keyword.operator.definiteassignment.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)(!)?","beginCaptures":{"1":{"name":"meta.definition.variable.ts variable.other.readwrite.ts"},"2":{"name":"keyword.operator.definiteassignment.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]}]},"var-single-variable-type-annotation":{"patterns":[{"include":"#type-annotation"},{"include":"#string"},{"include":"#comment"}]},"variable-initializer":{"patterns":[{"begin":"(?<![!=])(=)(?!=)(?=\\\\s*\\\\S)(?!\\\\s*.*=>\\\\s*$)","beginCaptures":{"1":{"name":"keyword.operator.assignment.ts"}},"end":"(?=$|^|[]),;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","patterns":[{"include":"#expression"}]},{"begin":"(?<![!=])(=)(?!=)","beginCaptures":{"1":{"name":"keyword.operator.assignment.ts"}},"end":"(?=[]),;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))|(?=^\\\\s*$)|(?<![-\\\\&*+/|])(?<=\\\\S)(?<!=)(?=\\\\s*$)","patterns":[{"include":"#expression"}]}]}},"scopeName":"source.ts","aliases":["ts","cts","mts"]}')),Zd=[Yd],Kd=Object.freeze(JSON.parse(`{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"')}])([^\\\\t\\\\n\\\\r \\"\\\\&');->\`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|('))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*(('))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=\`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;\`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\['\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}`)),Qd=[Kd],Jd=Object.freeze(JSON.parse('{"displayName":"JSON","name":"json","patterns":[{"include":"#value"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.json"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.json"}},"name":"meta.structure.array.json","patterns":[{"include":"#value"},{"match":",","name":"punctuation.separator.array.json"},{"match":"[^]\\\\s]","name":"invalid.illegal.expected-array-separator.json"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.documentation.json"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.json"},{"captures":{"1":{"name":"punctuation.definition.comment.json"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.js"}]},"constant":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.json"},"number":{"match":"-?(?:0|[1-9]\\\\d*)(?:(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)?","name":"constant.numeric.json"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.json"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.json"}},"name":"meta.structure.dictionary.json","patterns":[{"include":"#objectkey"},{"include":"#comments"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.dictionary.key-value.json"}},"end":"(,)|(?=})","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.json"}},"name":"meta.structure.dictionary.value.json","patterns":[{"include":"#value"},{"match":"[^,\\\\s]","name":"invalid.illegal.expected-dictionary-separator.json"}]},{"match":"[^}\\\\s]","name":"invalid.illegal.expected-dictionary-separator.json"}]},"objectkey":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.support.type.property-name.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.support.type.property-name.end.json"}},"name":"string.json support.type.property-name.json","patterns":[{"include":"#stringcontent"}]},"string":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.json"}},"name":"string.quoted.double.json","patterns":[{"include":"#stringcontent"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\(?:[\\"/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.json"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.json"}]},"value":{"patterns":[{"include":"#constant"},{"include":"#number"},{"include":"#string"},{"include":"#array"},{"include":"#object"},{"include":"#comments"}]}},"scopeName":"source.json"}')),e1=[Jd],t1={};function n1(e,t){const n=t1,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ll(e,r,a)}o(n1,"Xd");function Ll(e,t,n){if(r1(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ol(e.children,t,n)}return Array.isArray(e)?Ol(e,t,n):""}o(Ll,"q0");function Ol(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=Ll(e[a],t,n);return r.join("")}o(Ol,"zo");function r1(e){return!!(e&&typeof e=="object")}o(r1,"Yd");const Fl=document.createElement("i");function zs(e){const t="&"+e+";";Fl.innerHTML=t;const n=Fl.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}o(zs,"xs");function nt(e,t,n,r){const a=e.length;let s=0,i;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}o(nt,"tt");function ct(e,t){return e.length>0?(nt(e,e.length,0,t),e):t}o(ct,"lt");const ql={}.hasOwnProperty;function jl(e){const t={};let n=-1;for(;++n<e.length;)a1(t,e[n]);return t}o(jl,"j0");function a1(e,t){let n;for(n in t){const r=(ql.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){ql.call(r,s)||(r[s]=[]);const i=a[s];s1(r[s],Array.isArray(i)?i:i?[i]:[])}}}o(a1,"Zd");function s1(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);nt(e,0,0,r)}o(s1,"Kd");function Dl(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}o(Dl,"G0");function gt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}o(gt,"vt");const Ge=Vt(/[A-Za-z]/),Fe=Vt(/[\dA-Za-z]/),i1=Vt(/[#-'*+\--9=?A-Z^-~]/);function aa(e){return e!==null&&(e<32||e===127)}o(aa,"oa");const Es=Vt(/\d/),o1=Vt(/[\dA-Fa-f]/),l1=Vt(/[!-/:-@[-`{-~]/);function Z(e){return e!==null&&e<-2}o(Z,"Y");function ge(e){return e!==null&&(e<0||e===32)}o(ge,"fe");function le(e){return e===-2||e===-1||e===32}o(le,"oe");const pr=Vt(new RegExp("\\p{P}|\\p{S}","u")),fn=Vt(/\s/);function Vt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}o(Vt,"an");function c1(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let i="";if(s===37&&Fe(e.charCodeAt(n+1))&&Fe(e.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(i=String.fromCharCode(s));else if(s>55295&&s<57344){const l=e.charCodeAt(n+1);s<56320&&l>56319&&l<57344?(i=String.fromCharCode(s,l),a=1):i="�"}else i=String.fromCharCode(s);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}o(c1,"T5");function ie(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let s=0;return i;function i(c){return le(c)?(e.enter(n),l(c)):t(c)}function l(c){return le(c)&&s++<a?(e.consume(c),l):(e.exit(n),t(c))}}o(ie,"ie");const u1={tokenize:p1};function p1(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ie(e,t,"linePrefix")}function a(l){return e.enter("paragraph"),s(l)}function s(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,i(l)}function i(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return Z(l)?(e.consume(l),e.exit("chunkText"),s):(e.consume(l),i)}}o(p1,"n1");const h1={tokenize:m1},Hl={tokenize:d1};function m1(e){const t=this,n=[];let r=0,a,s,i;return l;function l(M){if(r<n.length){const E=n[r];return t.containerState=E[1],e.attempt(E[0].continuation,c,u)(M)}return u(M)}function c(M){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&$();const E=t.events.length;let P=E,I;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){I=t.events[P][1].end;break}k(r);let L=E;for(;L<t.events.length;)t.events[L][1].end={...I},L++;return nt(t.events,P+1,0,t.events.slice(E)),t.events.length=L,u(M)}return l(M)}function u(M){if(r===n.length){if(!a)return f(M);if(a.currentConstruct&&a.currentConstruct.concrete)return y(M);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Hl,m,p)(M)}function m(M){return a&&$(),k(r),f(M)}function p(M){return t.parser.lazy[t.now().line]=r!==n.length,i=t.now().offset,y(M)}function f(M){return t.containerState={},e.attempt(Hl,g,y)(M)}function g(M){return r++,n.push([t.currentConstruct,t.containerState]),f(M)}function y(M){if(M===null){a&&$(),k(0),e.consume(M);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),_(M)}function _(M){if(M===null){T(e.exit("chunkFlow"),!0),k(0),e.consume(M);return}return Z(M)?(e.consume(M),T(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(M),_)}function T(M,E){const P=t.sliceStream(M);if(E&&P.push(null),M.previous=s,s&&(s.next=M),s=M,a.defineSkip(M.start),a.write(P),t.parser.lazy[M.start.line]){let I=a.events.length;for(;I--;)if(a.events[I][1].start.offset<i&&(!a.events[I][1].end||a.events[I][1].end.offset>i))return;const L=t.events.length;let U=L,V,z;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){if(V){z=t.events[U][1].end;break}V=!0}for(k(r),I=L;I<t.events.length;)t.events[I][1].end={...z},I++;nt(t.events,U+1,0,t.events.slice(L)),t.events.length=I}}function k(M){let E=n.length;for(;E-- >M;){const P=n[E];t.containerState=P[1],P[0].exit.call(t,e)}n.length=M}function $(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}o(m1,"a1");function d1(e,t,n){return ie(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}o(d1,"i1");function hr(e){if(e===null||ge(e)||fn(e))return 1;if(pr(e))return 2}o(hr,"la");function sa(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}o(sa,"$a");const ia={name:"attention",resolveAll:g1,tokenize:f1};function g1(e,t){let n=-1,r,a,s,i,l,c,u,m;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[r][1].end},f={...e[n][1].start};Gl(p,-c),Gl(f,c),i={type:c>1?"strongSequence":"emphasisSequence",start:p,end:{...e[r][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},s={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:c>1?"strong":"emphasis",start:{...i.start},end:{...l.end}},e[r][1].end={...i.start},e[n][1].start={...l.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=ct(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=ct(u,[["enter",a,t],["enter",i,t],["exit",i,t],["enter",s,t]]),u=ct(u,sa(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=ct(u,[["exit",s,t],["enter",l,t],["exit",l,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,u=ct(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):m=0,nt(e,r-1,n-r+3,u),n=r+u.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}o(g1,"s1");function f1(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=hr(r);let s;return i;function i(c){return s=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===s)return e.consume(c),l;const u=e.exit("attentionSequence"),m=hr(c),p=!m||m===2&&a||n.includes(c),f=!a||a===2&&m||n.includes(r);return u._open=!!(s===42?p:p&&(a||!f)),u._close=!!(s===42?f:f&&(m||!p)),t(c)}}o(f1,"o1");function Gl(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}o(Gl,"Do");const b1={name:"autolink",tokenize:y1};function y1(e,t,n){let r=0;return a;function a(g){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(g){return Ge(g)?(e.consume(g),i):g===64?n(g):u(g)}function i(g){return g===43||g===45||g===46||Fe(g)?(r=1,l(g)):u(g)}function l(g){return g===58?(e.consume(g),r=0,c):(g===43||g===45||g===46||Fe(g))&&r++<32?(e.consume(g),l):(r=0,u(g))}function c(g){return g===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):g===null||g===32||g===60||aa(g)?n(g):(e.consume(g),c)}function u(g){return g===64?(e.consume(g),m):i1(g)?(e.consume(g),u):n(g)}function m(g){return Fe(g)?p(g):n(g)}function p(g){return g===46?(e.consume(g),r=0,m):g===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):f(g)}function f(g){if((g===45||Fe(g))&&r++<63){const y=g===45?f:p;return e.consume(g),y}return n(g)}}o(y1,"u1");const mr={partial:!0,tokenize:v1};function v1(e,t,n){return r;function r(s){return le(s)?ie(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||Z(s)?t(s):n(s)}}o(v1,"c1");const Ul={continuation:{tokenize:x1},exit:k1,name:"blockQuote",tokenize:w1};function w1(e,t,n){const r=this;return a;function a(i){if(i===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),s}return n(i)}function s(i){return le(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(i))}}o(w1,"m1");function x1(e,t,n){const r=this;return a;function a(i){return le(i)?ie(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):s(i)}function s(i){return e.attempt(Ul,t,n)(i)}}o(x1,"h1");function k1(e){e.exit("blockQuote")}o(k1,"p1");const Wl={name:"characterEscape",tokenize:_1};function _1(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return l1(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}o(_1,"d1");const Vl={name:"characterReference",tokenize:$1};function $1(e,t,n){const r=this;let a=0,s,i;return l;function l(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),c}function c(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),s=31,i=Fe,m(p))}function u(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,i=o1,m):(e.enter("characterReferenceValue"),s=7,i=Es,m(p))}function m(p){if(p===59&&a){const f=e.exit("characterReferenceValue");return i===Fe&&!zs(r.sliceSerialize(f))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return i(p)&&a++<s?(e.consume(p),m):n(p)}}o($1,"f1");const Xl={partial:!0,tokenize:S1},Yl={concrete:!0,name:"codeFenced",tokenize:C1};function C1(e,t,n){const r=this,a={partial:!0,tokenize:P};let s=0,i=0,l;return c;function c(I){return u(I)}function u(I){const L=r.events[r.events.length-1];return s=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,l=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(I)}function m(I){return I===l?(i++,e.consume(I),m):i<3?n(I):(e.exit("codeFencedFenceSequence"),le(I)?ie(e,p,"whitespace")(I):p(I))}function p(I){return I===null||Z(I)?(e.exit("codeFencedFence"),r.interrupt?t(I):e.check(Xl,_,E)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(I))}function f(I){return I===null||Z(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(I)):le(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ie(e,g,"whitespace")(I)):I===96&&I===l?n(I):(e.consume(I),f)}function g(I){return I===null||Z(I)?p(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(I))}function y(I){return I===null||Z(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(I)):I===96&&I===l?n(I):(e.consume(I),y)}function _(I){return e.attempt(a,E,T)(I)}function T(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),k}function k(I){return s>0&&le(I)?ie(e,$,"linePrefix",s+1)(I):$(I)}function $(I){return I===null||Z(I)?e.check(Xl,_,E)(I):(e.enter("codeFlowValue"),M(I))}function M(I){return I===null||Z(I)?(e.exit("codeFlowValue"),$(I)):(e.consume(I),M)}function E(I){return e.exit("codeFenced"),t(I)}function P(I,L,U){let V=0;return z;function z(K){return I.enter("lineEnding"),I.consume(K),I.exit("lineEnding"),G}function G(K){return I.enter("codeFencedFence"),le(K)?ie(I,W,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(K):W(K)}function W(K){return K===l?(I.enter("codeFencedFenceSequence"),ae(K)):U(K)}function ae(K){return K===l?(V++,I.consume(K),ae):V>=i?(I.exit("codeFencedFenceSequence"),le(K)?ie(I,oe,"whitespace")(K):oe(K)):U(K)}function oe(K){return K===null||Z(K)?(I.exit("codeFencedFence"),L(K)):U(K)}}}o(C1,"g1");function S1(e,t,n){const r=this;return a;function a(i){return i===null?n(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}o(S1,"b1");const Ns={name:"codeIndented",tokenize:T1},A1={partial:!0,tokenize:I1};function T1(e,t,n){const r=this;return a;function a(u){return e.enter("codeIndented"),ie(e,s,"linePrefix",5)(u)}function s(u){const m=r.events[r.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?i(u):n(u)}function i(u){return u===null?c(u):Z(u)?e.attempt(A1,i,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||Z(u)?(e.exit("codeFlowValue"),i(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}o(T1,"v1");function I1(e,t,n){const r=this;return a;function a(i){return r.parser.lazy[r.now().line]?n(i):Z(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):ie(e,s,"linePrefix",5)(i)}function s(i){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):Z(i)?a(i):n(i)}}o(I1,"w1");const M1={name:"codeText",previous:E1,resolve:z1,tokenize:N1};function z1(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}o(z1,"k1");function E1(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}o(E1,"_1");function N1(e,t,n){let r=0,a,s;return i;function i(p){return e.enter("codeText"),e.enter("codeTextSequence"),l(p)}function l(p){return p===96?(e.consume(p),r++,l):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(s=e.enter("codeTextSequence"),a=0,m(p)):Z(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||Z(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),u)}function m(p){return p===96?(e.consume(p),a++,m):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(s.type="codeTextData",u(p))}}o(N1,"$1");class B1{static{o(this,"C1")}constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&dr(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),dr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),dr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);dr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);dr(this.left,n.reverse())}}}function dr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}o(dr,"Jn");function Zl(e){const t={};let n=-1,r,a,s,i,l,c,u;const m=new B1(e);for(;++n<m.length;){for(;n in t;)n=t[n];if(r=m.get(n),n&&r[1].type==="chunkFlow"&&m.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,s=0,s<c.length&&c[s][1].type==="lineEndingBlank"&&(s+=2),s<c.length&&c[s][1].type==="content"))for(;++s<c.length&&c[s][1].type!=="content";)c[s][1].type==="chunkText"&&(c[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,R1(m,n)),n=t[n],u=!0);else if(r[1]._container){for(s=n,a=void 0;s--;)if(i=m.get(s),i[1].type==="lineEnding"||i[1].type==="lineEndingBlank")i[0]==="enter"&&(a&&(m.get(a)[1].type="lineEndingBlank"),i[1].type="lineEnding",a=s);else if(!(i[1].type==="linePrefix"||i[1].type==="listItemIndent"))break;a&&(r[1].end={...m.get(a)[1].start},l=m.slice(a,n),l.unshift(r),m.splice(a,n-a+1,l))}}return nt(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!u}o(Zl,"V0");function R1(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const s=[];let i=n._tokenizer;i||(i=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(i._contentTypeTextTrailing=!0));const l=i.events,c=[],u={};let m,p,f=-1,g=n,y=0,_=0;const T=[_];for(;g;){for(;e.get(++a)[1]!==g;);s.push(a),g._tokenizer||(m=r.sliceStream(g),g.next||m.push(null),p&&i.defineSkip(g.start),g._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(m),g._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),p=g,g=g.next}for(g=n;++f<l.length;)l[f][0]==="exit"&&l[f-1][0]==="enter"&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(_=f+1,T.push(_),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(i.events=[],g?(g._tokenizer=void 0,g.previous=void 0):T.pop(),f=T.length;f--;){const k=l.slice(T[f],T[f+1]),$=s.pop();c.push([$,$+k.length-1]),e.splice($,2,k)}for(c.reverse(),f=-1;++f<c.length;)u[y+c[f][0]]=y+c[f][1],y+=c[f][1]-c[f][0]-1;return u}o(R1,"S1");const P1={resolve:O1,tokenize:F1},L1={partial:!0,tokenize:q1};function O1(e){return Zl(e),e}o(O1,"E1");function F1(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(l)}function a(l){return l===null?s(l):Z(l)?e.check(L1,i,s)(l):(e.consume(l),a)}function s(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function i(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}o(F1,"M1");function q1(e,t,n){const r=this;return a;function a(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),ie(e,s,"linePrefix")}function s(i){if(i===null||Z(i))return n(i);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}o(q1,"I1");function Kl(e,t,n,r,a,s,i,l,c){const u=c||Number.POSITIVE_INFINITY;let m=0;return p;function p(k){return k===60?(e.enter(r),e.enter(a),e.enter(s),e.consume(k),e.exit(s),f):k===null||k===32||k===41||aa(k)?n(k):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),_(k))}function f(k){return k===62?(e.enter(s),e.consume(k),e.exit(s),e.exit(a),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),g(k))}function g(k){return k===62?(e.exit("chunkString"),e.exit(l),f(k)):k===null||k===60||Z(k)?n(k):(e.consume(k),k===92?y:g)}function y(k){return k===60||k===62||k===92?(e.consume(k),g):g(k)}function _(k){return!m&&(k===null||k===41||ge(k))?(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(k)):m<u&&k===40?(e.consume(k),m++,_):k===41?(e.consume(k),m--,_):k===null||k===32||k===40||aa(k)?n(k):(e.consume(k),k===92?T:_)}function T(k){return k===40||k===41||k===92?(e.consume(k),_):_(k)}}o(Kl,"X0");function Ql(e,t,n,r,a,s){const i=this;let l=0,c;return u;function u(g){return e.enter(r),e.enter(a),e.consume(g),e.exit(a),e.enter(s),m}function m(g){return l>999||g===null||g===91||g===93&&!c||g===94&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?n(g):g===93?(e.exit(s),e.enter(a),e.consume(g),e.exit(a),e.exit(r),t):Z(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===null||g===91||g===93||Z(g)||l++>999?(e.exit("chunkString"),m(g)):(e.consume(g),c||(c=!le(g)),g===92?f:p)}function f(g){return g===91||g===92||g===93?(e.consume(g),l++,p):p(g)}}o(Ql,"Y0");function Jl(e,t,n,r,a,s){let i;return l;function l(f){return f===34||f===39||f===40?(e.enter(r),e.enter(a),e.consume(f),e.exit(a),i=f===40?41:f,c):n(f)}function c(f){return f===i?(e.enter(a),e.consume(f),e.exit(a),e.exit(r),t):(e.enter(s),u(f))}function u(f){return f===i?(e.exit(s),c(i)):f===null?n(f):Z(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),ie(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(f))}function m(f){return f===i||f===null||Z(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?p:m)}function p(f){return f===i||f===92?(e.consume(f),m):m(f)}}o(Jl,"Z0");function gr(e,t){let n;return r;function r(a){return Z(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):le(a)?ie(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}o(gr,"ar");const j1={name:"definition",tokenize:H1},D1={partial:!0,tokenize:G1};function H1(e,t,n){const r=this;let a;return s;function s(g){return e.enter("definition"),i(g)}function i(g){return Ql.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function l(g){return a=gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),c):n(g)}function c(g){return ge(g)?gr(e,u)(g):u(g)}function u(g){return Kl(e,m,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function m(g){return e.attempt(D1,p,p)(g)}function p(g){return le(g)?ie(e,f,"whitespace")(g):f(g)}function f(g){return g===null||Z(g)?(e.exit("definition"),r.parser.defined.push(a),t(g)):n(g)}}o(H1,"N1");function G1(e,t,n){return r;function r(l){return ge(l)?gr(e,a)(l):n(l)}function a(l){return Jl(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function s(l){return le(l)?ie(e,i,"whitespace")(l):i(l)}function i(l){return l===null||Z(l)?t(l):n(l)}}o(G1,"B1");const U1={name:"hardBreakEscape",tokenize:W1};function W1(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return Z(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}o(W1,"L1");const V1={name:"headingAtx",resolve:X1,tokenize:Y1};function X1(e,t){let n=e.length-2,r=3,a,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},nt(e,r,n-r+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}o(X1,"P1");function Y1(e,t,n){let r=0;return a;function a(m){return e.enter("atxHeading"),s(m)}function s(m){return e.enter("atxHeadingSequence"),i(m)}function i(m){return m===35&&r++<6?(e.consume(m),i):m===null||ge(m)?(e.exit("atxHeadingSequence"),l(m)):n(m)}function l(m){return m===35?(e.enter("atxHeadingSequence"),c(m)):m===null||Z(m)?(e.exit("atxHeading"),t(m)):le(m)?ie(e,l,"whitespace")(m):(e.enter("atxHeadingText"),u(m))}function c(m){return m===35?(e.consume(m),c):(e.exit("atxHeadingSequence"),l(m))}function u(m){return m===null||m===35||ge(m)?(e.exit("atxHeadingText"),l(m)):(e.consume(m),u)}}o(Y1,"O1");const Z1=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ec=["pre","script","style","textarea"],K1={concrete:!0,name:"htmlFlow",resolveTo:eg,tokenize:tg},Q1={partial:!0,tokenize:rg},J1={partial:!0,tokenize:ng};function eg(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}o(eg,"U1");function tg(e,t,n){const r=this;let a,s,i,l,c;return u;function u(S){return m(S)}function m(S){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(S),p}function p(S){return S===33?(e.consume(S),f):S===47?(e.consume(S),s=!0,_):S===63?(e.consume(S),a=3,r.interrupt?t:C):Ge(S)?(e.consume(S),i=String.fromCharCode(S),T):n(S)}function f(S){return S===45?(e.consume(S),a=2,g):S===91?(e.consume(S),a=5,l=0,y):Ge(S)?(e.consume(S),a=4,r.interrupt?t:C):n(S)}function g(S){return S===45?(e.consume(S),r.interrupt?t:C):n(S)}function y(S){const Ye="CDATA[";return S===Ye.charCodeAt(l++)?(e.consume(S),l===Ye.length?r.interrupt?t:W:y):n(S)}function _(S){return Ge(S)?(e.consume(S),i=String.fromCharCode(S),T):n(S)}function T(S){if(S===null||S===47||S===62||ge(S)){const Ye=S===47,Ct=i.toLowerCase();return!Ye&&!s&&ec.includes(Ct)?(a=1,r.interrupt?t(S):W(S)):Z1.includes(i.toLowerCase())?(a=6,Ye?(e.consume(S),k):r.interrupt?t(S):W(S)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(S):s?$(S):M(S))}return S===45||Fe(S)?(e.consume(S),i+=String.fromCharCode(S),T):n(S)}function k(S){return S===62?(e.consume(S),r.interrupt?t:W):n(S)}function $(S){return le(S)?(e.consume(S),$):z(S)}function M(S){return S===47?(e.consume(S),z):S===58||S===95||Ge(S)?(e.consume(S),E):le(S)?(e.consume(S),M):z(S)}function E(S){return S===45||S===46||S===58||S===95||Fe(S)?(e.consume(S),E):P(S)}function P(S){return S===61?(e.consume(S),I):le(S)?(e.consume(S),P):M(S)}function I(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),c=S,L):le(S)?(e.consume(S),I):U(S)}function L(S){return S===c?(e.consume(S),c=null,V):S===null||Z(S)?n(S):(e.consume(S),L)}function U(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||ge(S)?P(S):(e.consume(S),U)}function V(S){return S===47||S===62||le(S)?M(S):n(S)}function z(S){return S===62?(e.consume(S),G):n(S)}function G(S){return S===null||Z(S)?W(S):le(S)?(e.consume(S),G):n(S)}function W(S){return S===45&&a===2?(e.consume(S),pe):S===60&&a===1?(e.consume(S),he):S===62&&a===4?(e.consume(S),Le):S===63&&a===3?(e.consume(S),C):S===93&&a===5?(e.consume(S),Re):Z(S)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(Q1,Ce,ae)(S)):S===null||Z(S)?(e.exit("htmlFlowData"),ae(S)):(e.consume(S),W)}function ae(S){return e.check(J1,oe,Ce)(S)}function oe(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),K}function K(S){return S===null||Z(S)?ae(S):(e.enter("htmlFlowData"),W(S))}function pe(S){return S===45?(e.consume(S),C):W(S)}function he(S){return S===47?(e.consume(S),i="",De):W(S)}function De(S){if(S===62){const Ye=i.toLowerCase();return ec.includes(Ye)?(e.consume(S),Le):W(S)}return Ge(S)&&i.length<8?(e.consume(S),i+=String.fromCharCode(S),De):W(S)}function Re(S){return S===93?(e.consume(S),C):W(S)}function C(S){return S===62?(e.consume(S),Le):S===45&&a===2?(e.consume(S),C):W(S)}function Le(S){return S===null||Z(S)?(e.exit("htmlFlowData"),Ce(S)):(e.consume(S),Le)}function Ce(S){return e.exit("htmlFlow"),t(S)}}o(tg,"W1");function ng(e,t,n){const r=this;return a;function a(i){return Z(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s):n(i)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}o(ng,"V1");function rg(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(mr,t,n)}}o(rg,"X1");const ag={name:"htmlText",tokenize:sg};function sg(e,t,n){const r=this;let a,s,i;return l;function l(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),c}function c(C){return C===33?(e.consume(C),u):C===47?(e.consume(C),P):C===63?(e.consume(C),M):Ge(C)?(e.consume(C),U):n(C)}function u(C){return C===45?(e.consume(C),m):C===91?(e.consume(C),s=0,y):Ge(C)?(e.consume(C),$):n(C)}function m(C){return C===45?(e.consume(C),g):n(C)}function p(C){return C===null?n(C):C===45?(e.consume(C),f):Z(C)?(i=p,he(C)):(e.consume(C),p)}function f(C){return C===45?(e.consume(C),g):p(C)}function g(C){return C===62?pe(C):C===45?f(C):p(C)}function y(C){const Le="CDATA[";return C===Le.charCodeAt(s++)?(e.consume(C),s===Le.length?_:y):n(C)}function _(C){return C===null?n(C):C===93?(e.consume(C),T):Z(C)?(i=_,he(C)):(e.consume(C),_)}function T(C){return C===93?(e.consume(C),k):_(C)}function k(C){return C===62?pe(C):C===93?(e.consume(C),k):_(C)}function $(C){return C===null||C===62?pe(C):Z(C)?(i=$,he(C)):(e.consume(C),$)}function M(C){return C===null?n(C):C===63?(e.consume(C),E):Z(C)?(i=M,he(C)):(e.consume(C),M)}function E(C){return C===62?pe(C):M(C)}function P(C){return Ge(C)?(e.consume(C),I):n(C)}function I(C){return C===45||Fe(C)?(e.consume(C),I):L(C)}function L(C){return Z(C)?(i=L,he(C)):le(C)?(e.consume(C),L):pe(C)}function U(C){return C===45||Fe(C)?(e.consume(C),U):C===47||C===62||ge(C)?V(C):n(C)}function V(C){return C===47?(e.consume(C),pe):C===58||C===95||Ge(C)?(e.consume(C),z):Z(C)?(i=V,he(C)):le(C)?(e.consume(C),V):pe(C)}function z(C){return C===45||C===46||C===58||C===95||Fe(C)?(e.consume(C),z):G(C)}function G(C){return C===61?(e.consume(C),W):Z(C)?(i=G,he(C)):le(C)?(e.consume(C),G):V(C)}function W(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),a=C,ae):Z(C)?(i=W,he(C)):le(C)?(e.consume(C),W):(e.consume(C),oe)}function ae(C){return C===a?(e.consume(C),a=void 0,K):C===null?n(C):Z(C)?(i=ae,he(C)):(e.consume(C),ae)}function oe(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===47||C===62||ge(C)?V(C):(e.consume(C),oe)}function K(C){return C===47||C===62||ge(C)?V(C):n(C)}function pe(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}function he(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),De}function De(C){return le(C)?ie(e,Re,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):Re(C)}function Re(C){return e.enter("htmlTextData"),i(C)}}o(sg,"Z1");const Bs={name:"labelEnd",resolveAll:cg,resolveTo:ug,tokenize:pg},ig={tokenize:hg},og={tokenize:mg},lg={tokenize:dg};function cg(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&nt(e,0,e.length,n),e}o(cg,"ef");function ug(e,t){let n=e.length,r=0,a,s,i,l;for(;n--;)if(a=e[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(i){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(i=n);const c={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[s][1].start},end:{...e[i][1].end}},m={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[i-2][1].start}};return l=[["enter",c,t],["enter",u,t]],l=ct(l,e.slice(s+1,s+r+3)),l=ct(l,[["enter",m,t]]),l=ct(l,sa(t.parser.constructs.insideSpan.null,e.slice(s+r+4,i-3),t)),l=ct(l,[["exit",m,t],e[i-2],e[i-1],["exit",u,t]]),l=ct(l,e.slice(i+1)),l=ct(l,[["exit",c,t]]),nt(e,s,e.length,l),e}o(ug,"tf");function pg(e,t,n){const r=this;let a=r.events.length,s,i;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){s=r.events[a][1];break}return l;function l(f){return s?s._inactive?p(f):(i=r.parser.defined.includes(gt(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),c):n(f)}function c(f){return f===40?e.attempt(ig,m,i?m:p)(f):f===91?e.attempt(og,m,i?u:p)(f):i?m(f):p(f)}function u(f){return e.attempt(lg,m,p)(f)}function m(f){return t(f)}function p(f){return s._balanced=!0,n(f)}}o(pg,"nf");function hg(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),a}function a(p){return ge(p)?gr(e,s)(p):s(p)}function s(p){return p===41?m(p):Kl(e,i,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function i(p){return ge(p)?gr(e,c)(p):m(p)}function l(p){return n(p)}function c(p){return p===34||p===39||p===40?Jl(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):m(p)}function u(p){return ge(p)?gr(e,m)(p):m(p)}function m(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}o(hg,"rf");function mg(e,t,n){const r=this;return a;function a(l){return Ql.call(r,e,s,i,"reference","referenceMarker","referenceString")(l)}function s(l){return r.parser.defined.includes(gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function i(l){return n(l)}}o(mg,"af");function dg(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}o(dg,"sf");const gg={name:"labelStartImage",resolveAll:Bs.resolveAll,tokenize:fg};function fg(e,t,n){const r=this;return a;function a(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),s}function s(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),i):n(l)}function i(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}o(fg,"lf");const bg={name:"labelStartLink",resolveAll:Bs.resolveAll,tokenize:yg};function yg(e,t,n){const r=this;return a;function a(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),s}function s(i){return i===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(i):t(i)}}o(yg,"cf");const Rs={name:"lineEnding",tokenize:vg};function vg(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ie(e,t,"linePrefix")}}o(vg,"mf");const oa={name:"thematicBreak",tokenize:wg};function wg(e,t,n){let r=0,a;return s;function s(u){return e.enter("thematicBreak"),i(u)}function i(u){return a=u,l(u)}function l(u){return u===a?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||Z(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===a?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),le(u)?ie(e,l,"whitespace")(u):l(u))}}o(wg,"hf");const Qe={continuation:{tokenize:$g},exit:Sg,name:"list",tokenize:_g},xg={partial:!0,tokenize:Ag},kg={partial:!0,tokenize:Cg};function _g(e,t,n){const r=this,a=r.events[r.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,i=0;return l;function l(g){const y=r.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||g===r.containerState.marker:Es(g)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(oa,n,u)(g):u(g);if(!r.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(g)}return n(g)}function c(g){return Es(g)&&++i<10?(e.consume(g),c):(!r.interrupt||i<2)&&(r.containerState.marker?g===r.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),u(g)):n(g)}function u(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||g,e.check(mr,r.interrupt?n:m,e.attempt(xg,f,p))}function m(g){return r.containerState.initialBlankLine=!0,s++,f(g)}function p(g){return le(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),f):n(g)}function f(g){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}o(_g,"ff");function $g(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(mr,a,s);function a(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ie(e,t,"listItemIndent",r.containerState.size+1)(l)}function s(l){return r.containerState.furtherBlankLines||!le(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(kg,t,i)(l))}function i(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,ie(e,e.attempt(Qe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}o($g,"gf");function Cg(e,t,n){const r=this;return ie(e,a,"listItemIndent",r.containerState.size+1);function a(s){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(s):n(s)}}o(Cg,"bf");function Sg(e){e.exit(this.containerState.type)}o(Sg,"yf");function Ag(e,t,n){const r=this;return ie(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const i=r.events[r.events.length-1];return!le(s)&&i&&i[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}o(Ag,"vf");const tc={name:"setextUnderline",resolveTo:Tg,tokenize:Ig};function Tg(e,t){let n=e.length,r,a,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const i={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",i,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=i,e.push(["exit",i,t]),e}o(Tg,"wf");function Ig(e,t,n){const r=this;let a;return s;function s(u){let m=r.events.length,p;for(;m--;)if(r.events[m][1].type!=="lineEnding"&&r.events[m][1].type!=="linePrefix"&&r.events[m][1].type!=="content"){p=r.events[m][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),a=u,i(u)):n(u)}function i(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===a?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),le(u)?ie(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||Z(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}o(Ig,"xf");const Mg={tokenize:zg};function zg(e){const t=this,n=e.attempt(mr,r,e.attempt(this.parser.constructs.flowInitial,a,ie(e,e.attempt(this.parser.constructs.flow,a,e.attempt(P1,a)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}o(zg,"_f");const Eg={resolveAll:rc()},Ng=nc("string"),Bg=nc("text");function nc(e){return{resolveAll:rc(e==="text"?Rg:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],s=n.attempt(a,i,l);return i;function i(m){return u(m)?s(m):l(m)}function l(m){if(m===null){n.consume(m);return}return n.enter("data"),n.consume(m),c}function c(m){return u(m)?(n.exit("data"),s(m)):(n.consume(m),c)}function u(m){if(m===null)return!0;const p=a[m];let f=-1;if(p)for(;++f<p.length;){const g=p[f];if(!g.previous||g.previous.call(r,r.previous))return!0}return!1}}}o(nc,"K0");function rc(e){return t;function t(n,r){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(n,r):n}}o(rc,"Q0");function Rg(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let s=a.length,i=-1,l=0,c;for(;s--;){const u=a[s];if(typeof u=="string"){for(i=u.length;u.charCodeAt(i-1)===32;)l++,i--;if(i)break;i=-1}else if(u===-2)c=!0,l++;else if(u!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?i:r.start._bufferIndex+i,_index:r.start._index+s,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}o(Rg,"Af");const Pg={42:Qe,43:Qe,45:Qe,48:Qe,49:Qe,50:Qe,51:Qe,52:Qe,53:Qe,54:Qe,55:Qe,56:Qe,57:Qe,62:Ul},Lg={91:j1},Og={[-2]:Ns,[-1]:Ns,32:Ns},Fg={35:V1,42:oa,45:[tc,oa],60:K1,61:tc,95:oa,96:Yl,126:Yl},qg={38:Vl,92:Wl},jg={[-5]:Rs,[-4]:Rs,[-3]:Rs,33:gg,38:Vl,42:ia,60:[b1,ag],91:bg,92:[U1,Wl],93:Bs,95:ia,96:M1},Dg={null:[ia,Eg]},Hg={null:[42,95]},Gg={null:[]},Ug=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Hg,contentInitial:Lg,disable:Gg,document:Pg,flow:Fg,flowInitial:Og,insideSpan:Dg,string:qg,text:jg},Symbol.toStringTag,{value:"Module"}));function Wg(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let i=[],l=[];const c={attempt:L(P),check:L(I),consume:$,enter:M,exit:E,interrupt:L(I,{interrupt:!0})},u={code:null,containerState:{},defineSkip:_,events:[],now:y,parser:e,previous:null,sliceSerialize:f,sliceStream:g,write:p};let m=t.tokenize.call(u,c);return t.resolveAll&&s.push(t),u;function p(G){return i=ct(i,G),T(),i[i.length-1]!==null?[]:(U(t,0),u.events=sa(s,u.events,u),u.events)}function f(G,W){return Xg(g(G),W)}function g(G){return Vg(i,G)}function y(){const{_bufferIndex:G,_index:W,line:ae,column:oe,offset:K}=r;return{_bufferIndex:G,_index:W,line:ae,column:oe,offset:K}}function _(G){a[G.line]=G.column,z()}function T(){let G;for(;r._index<i.length;){const W=i[r._index];if(typeof W=="string")for(G=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===G&&r._bufferIndex<W.length;)k(W.charCodeAt(r._bufferIndex));else k(W)}}function k(G){m=m(G)}function $(G){Z(G)?(r.line++,r.column=1,r.offset+=G===-3?2:1,z()):G!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=G}function M(G,W){const ae=W||{};return ae.type=G,ae.start=y(),u.events.push(["enter",ae,u]),l.push(ae),ae}function E(G){const W=l.pop();return W.end=y(),u.events.push(["exit",W,u]),W}function P(G,W){U(G,W.from)}function I(G,W){W.restore()}function L(G,W){return ae;function ae(oe,K,pe){let he,De,Re,C;return Array.isArray(oe)?Ce(oe):"tokenize"in oe?Ce([oe]):Le(oe);function Le(ye){return Dt;function Dt(He){const St=He!==null&&ye[He],At=He!==null&&ye.null,rn=[...Array.isArray(St)?St:St?[St]:[],...Array.isArray(At)?At:At?[At]:[]];return Ce(rn)(He)}}function Ce(ye){return he=ye,De=0,ye.length===0?pe:S(ye[De])}function S(ye){return Dt;function Dt(He){return C=V(),Re=ye,ye.partial||(u.currentConstruct=ye),ye.name&&u.parser.constructs.disable.null.includes(ye.name)?Ct():ye.tokenize.call(W?Object.assign(Object.create(u),W):u,c,Ye,Ct)(He)}}function Ye(ye){return G(Re,C),K}function Ct(ye){return C.restore(),++De<he.length?S(he[De]):pe}}}function U(G,W){G.resolveAll&&!s.includes(G)&&s.push(G),G.resolve&&nt(u.events,W,u.events.length-W,G.resolve(u.events.slice(W),u)),G.resolveTo&&(u.events=G.resolveTo(u.events,u))}function V(){const G=y(),W=u.previous,ae=u.currentConstruct,oe=u.events.length,K=Array.from(l);return{from:oe,restore:pe};function pe(){r=G,u.previous=W,u.currentConstruct=ae,u.events.length=oe,l=K,z()}}function z(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}o(Wg,"Ff");function Vg(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let i;if(n===a)i=[e[n].slice(r,s)];else{if(i=e.slice(n,a),r>-1){const l=i[0];typeof l=="string"?i[0]=l.slice(r):i.shift()}s>0&&i.push(e[a].slice(0,s))}return i}o(Vg,"Pf");function Xg(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const s=e[n];let i;if(typeof s=="string")i=s;else switch(s){case-5:{i="\r";break}case-4:{i=`
152
+ \v\f…\u2028\u2029])`),t));else if(c==="posix")if(!a&&(m==="graph"||m==="print")){if(r==="strict")throw new Error(`POSIX class "${m}" requires min target ES2024 or non-strict accuracy`);let p={graph:"!-~",print:" -~"}[m];u&&(p=`\0-${Ee(p.codePointAt(0)-1)}${Ee(p.codePointAt(2)+1)}-􏿿`),n(Ce(Nt(`[${p}]`),t))}else n(Ce(Ts(Nt(vd.get(m)),u),t));else if(c==="property")$s.has(Kr(m))||(e.key="sc");else if(c==="space")n(Ut(Nn("space",{negate:u}),t));else if(c==="word")n(Ce(Ts(Nt(Et),u),t));else throw new Error(`Unexpected character set kind "${c}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:s,removeAllNextSiblings:i}){const{kind:l,flags:c}=e;if(l==="flags")if(!c.enable&&!c.disable)r();else{const u=mt({flags:c});u.body[0].body=i(),a(Ce(u,t),{traverse:!0})}else if(l==="keep"){const u=n.body[0],m=n.body.length===1&&rl(u,{type:"Group"})&&u.body[0].body.length===1?u.body[0]:n;if(t.parent!==m||m.body.length>1)throw new Error(re`Uses "\K" in a way that's unsupported`);const p=hn({behind:!0});p.body[0].body=s(),a(Ce(p,t))}else throw new Error(`Unexpected directive kind "${l}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t!=null&&t.extended&&delete t.extended,n!=null&&n.extended&&delete n.extended,t!=null&&t.dotAll&&n!=null&&n.dotAll&&delete t.dotAll,t!=null&&t.ignoreCase&&n!=null&&n.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(Ce(hn({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=mt();t.body[0].body.push(e.body),e.body=Ce(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,a=!1;for(const s of e.body)if(s.body.length===1&&s.body[0].kind==="search_start")s.body.pop();else{const i=Ml(s.body);i?(r=!0,Array.isArray(i)?n.push(...i):n.push(i)):a=!0}r&&!a&&n.forEach(s=>t.add(s))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(re`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!As(n)&&(n=Cs(n,t),e.ref=n)}},_d={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:a}=e;r||n.set(e,[...t.get(a).map(({node:s})=>s)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:a,groupsByName:s,multiplexCapturesToLeftByRef:i,openRefs:l,reffedNodesByReferencer:c}){const u=a.get(e);if(u&&l.has(e.number)){const p=Ut(Al(e.number),t);c.set(p,l.get(e.number)),n(p);return}l.set(e.number,e),i.set(e.number,[]),e.name&&cr(i,e.name,[]);const m=i.get(e.name??e.number);for(let p=0;p<m.length;p++){const f=m[p];if(u===f.node||u&&u===f.origin||e===f.origin){m.splice(p,1);break}}if(i.get(e.number).push({node:e,origin:u}),e.name&&i.get(e.name).push({node:e,origin:u}),e.name){const p=cr(s,e.name,new Map);let f=!1;if(u)f=!0;else for(const g of p.values())if(!g.hasDuplicateNameToRemove){f=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:f})}},exit({node:e},{openRefs:t}){t.get(e.number)===e&&t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=na(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:a,ref:s}=e;if(a){let m=t;for(;(m=m.parent)&&!(m.type==="CapturingGroup"&&(m.name===s||m.number===s)););r.reffedNodesByReferencer.set(e,m);return}const i=r.subroutineRefMap.get(s),l=s===0,c=l?Al(0):Cl(i,r.groupOriginByCopy,null);let u=c;if(!l){const m=Tl(Ad(i,f=>f.type==="Group"&&!!f.flags)),p=m?na(r.globalFlags,m):r.globalFlags;Sd(p,r.currentFlags)||(u=mt({flags:Td(p)}),u.body[0].body.push(c))}n(Ce(u,t),{traverse:!l})}},$d={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const a=r.reffedNodesByReferencer.get(e).filter(s=>Cd(s,e));if(!a.length)n(Ce(hn({negate:!0}),t));else if(a.length>1){const s=mt({atomic:!0,body:a.reverse().map(i=>pn({body:[bs(i.number)]}))});n(Ce(s,t))}else e.ref=a[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const a=sl();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function Sl(e){lr(e,{"*"({node:t,parent:n}){t.parent=n}})}o(Sl,"N0");function Sd(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}o(Sd,"wd");function Cd(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=Il(n.parent);for(const a of r){if(a===n)break;if(a===e||zl(a,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}o(Cd,"xd");function Cl(e,t,n,r){const a=Array.isArray(e)?[]:{};for(const[s,i]of Object.entries(e))s==="parent"?a.parent=Array.isArray(n)?r:n:i&&typeof i=="object"?a[s]=Cl(i,t,a,n):(s==="type"&&i==="CapturingGroup"&&t.set(a,t.get(e)??e),a[s]=i);return a}o(Cl,"B0");function Al(e){const t=ol(e);return t.isRecursive=!0,t}o(Al,"To");function Ad(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}o(Ad,"kd");function Cs(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}o(Cs,"ei");function Tl(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(a=>{var s,i;(s=r.enable)!=null&&s[a]&&(delete n.disable[a],n.enable[a]=!0),(i=r.disable)!=null&&i[a]&&(n.disable[a]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}o(Tl,"D0");function Td({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}o(Td,"_d");function Il(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}o(Il,"L0");function Ml(e){const t=e.find(n=>n.kind==="search_start"||zd(n,{negate:!1})||!Id(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const a=Ml(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}o(Ml,"F0");function zl(e,t){const n=Il(e)??[];for(const r of n)if(r===t||zl(r,t))return!0;return!1}o(zl,"P0");function Id({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}o(Id,"$d");function Md(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}o(Md,"Cd");function zd(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&rl(e.body[0],{type:"Assertion",kind:"search_start"})}o(zd,"Sd");function As(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}o(As,"ti");function Nt(e,t){const n=al(e,{...t,unicodePropertyMap:$s}).body;return n.length>1||n[0].body.length>1?mt({body:n}):n[0].body[0]}o(Nt,"zt");function Ts(e,t){return e.negate=t,e}o(Ts,"ni");function Ut(e,t){return e.parent=t,e}o(Ut,"Xt");function Ce(e,t){return Sl(e),e.parent=t,e}o(Ce,"_e");function Ed(e,t){const n=kl(t),r=_s(n.target,"ES2024"),a=_s(n.target,"ES2025"),s=n.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,l=null;if(!a){const g=[e.flags.ignoreCase];lr(e,Nd,{getCurrentModI:o(()=>g.at(-1),"getCurrentModI"),popModI(){g.pop()},pushModI(y){g.push(y)},setHasCasedChar(){g.at(-1)?i=!0:l=!0}})}const c={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!l)};let u=e;const m={accuracy:n.accuracy,appliedGlobalFlags:c,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:u,originMap:e._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!a&&i&&l),useFlagMods:a,useFlagV:r,verbose:n.verbose};function p(g){return m.lastNode=u,u=g,hd(Bd[g.type],`Unexpected node type "${g.type}"`)(g,m,p)}o(p,"c");const f={pattern:e.body.map(p).join("|"),flags:p(e.flags),options:{...e.options}};return r||(delete f.options.force.v,f.options.disable.v=!0,f.options.unicodeSetsPlugin=null),f._captureTransfers=new Map,f._hiddenCaptures=[],m.captureMap.forEach((g,y)=>{g.hidden&&f._hiddenCaptures.push(y),g.transferTo&&cr(f._captureTransfers,g.transferTo,[]).push(y)}),f}o(Ed,"Ad");var Nd={"*":{enter({node:e},t){if(Bl(e)){const n=t.getCurrentModI();t.pushModI(e.flags?na({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){Bl(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){Is(Ee(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),Nl(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&$l.has(e.value)&&t.setHasCasedChar()}},Bd={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?re`\B`:re`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:r,name:a,number:s}=e,i={ignoreCase:t.currentFlags.ignoreCase},l=t.originMap.get(e);return l&&(i.hidden=!0,s>l.number&&(i.transferTo=l.number)),t.captureMap.set(s,i),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=Ee(e),r=Rn(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Is(n)){const a=_l(n);return t.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:a,parent:s}=e;let{body:i}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");dt.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&i.some(Rl)&&(i=[Yr(45),...i.filter(u=>!Rl(u))]);const l=o(()=>`[${a?"^":""}${i.map(n).join(r==="intersection"?"&&":"")}]`,"o");if(!t.inCharClass){if((!t.useFlagV||dt.bugNestedClassIgnoresNegation)&&!a){const m=i.filter(p=>p.type==="CharacterClass"&&p.kind==="union"&&p.negate);if(m.length){const p=mt(),f=p.body[0];return p.parent=s,f.parent=p,i=i.filter(g=>!m.includes(g)),e.body=i,i.length?(e.parent=f,f.body.push(e)):p.body.pop(),m.forEach(g=>{const y=pn({body:[g]});g.parent=y,y.parent=p,p.body.push(y)}),n(p)}}t.inCharClass=!0;const u=l();return t.inCharClass=!1,u}const c=i[0];if(r==="union"&&!a&&c&&((!t.useFlagV||!t.verbose)&&s.kind==="union"&&!(dt.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&s.kind==="intersection"&&i.length===1&&c.type!=="CharacterClassRange"))return i.map(n).join("");if(!t.useFlagV&&s.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return l()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},s=Rn(n,a),i=Rn(r,a),l=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const c=Nl(e);Fd(c).forEach(u=>{l.add(Array.isArray(u)?`${Rn(u[0],a)}-${Rn(u[1],a)}`:Rn(u,a))})}return`${s}-${i}${[...l].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},a){if(e==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":re`[^\n]`;if(e==="digit")return t?re`\D`:re`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&$l.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?re`\P`:re`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?re`\W`:re`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},a,s){const i=a.currentFlags;n&&(a.currentFlags=na(i,n));const l=t.map(s).join("|"),c=!a.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!a.useFlagMods||!n)?l:`(?${qd(e,n,a.useFlagMods)}${l})`;return a.currentFlags=i,c},LookaroundAssertion({body:e,kind:t,negate:n},r,a){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(a).join("|")})`},Quantifier(e,t,n){return n(e.body)+jd(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:re`\g<${t}&R=${r}>`}},Rd=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),Pd=new Set(["-","\\","]","^","["]),Ld=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),El=new Map([[9,re`\t`],[10,re`\n`],[11,re`\v`],[12,re`\f`],[13,re`\r`],[8232,re`\u2028`],[8233,re`\u2029`],[65279,re`\uFEFF`]]),Od=new RegExp("^\\p{Cased}$","u");function Is(e){return Od.test(e)}o(Is,"ws");function Nl(e,t){const n=!!(t!=null&&t.firstOnly),r=e.min.value,a=e.max.value,s=[];if(r<65&&(a===65535||a>=131071)||r===65536&&a>=131071)return s;for(let i=r;i<=a;i++){const l=Ee(i);if(!Is(l))continue;const c=_l(l).filter(u=>{const m=u.codePointAt(0);return m<r||m>a});if(c.length&&(s.push(...c),n))break}return s}o(Nl,"O0");function Rn(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(El.has(e))return El.get(e);if(e<32||e>126&&e<160||e>262143||t&&Dd(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?Ld:Pd:Rd,s=Ee(e);return(a.has(s)?"\\":"")+s}o(Rn,"In");function Fd(e){const t=e.map(a=>a.codePointAt(0)).sort((a,s)=>a-s),n=[];let r=null;for(let a=0;a<t.length;a++)t[a+1]===t[a]+1?r??(r=t[a]):r===null?n.push(t[a]):(n.push([r,t[a]]),r=null);return n}o(Fd,"Nd");function qd(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:a,disable:s}=t;r=(a!=null&&a.ignoreCase?"i":"")+(a!=null&&a.dotAll?"s":"")+(s?"-":"")+(s!=null&&s.ignoreCase?"i":"")+(s!=null&&s.dotAll?"s":"")}return`${r}:`}o(qd,"Bd");function jd({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}o(jd,"Dd");function Bl({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}o(Bl,"Mo");function Dd(e){return e>47&&e<58}o(Dd,"Ld");function Rl({type:e,value:t}){return e==="Character"&&t===45}o(Rl,"Io");var dn,Wt,Pn,gn,Ln,ra,Ms,ur,Hd=(ur=class extends RegExp{static{o(this,"Jt")}constructor(e,t,n){var r=o((...s)=>(super(...s),Cn(this,ra),Cn(this,dn,new Map),Cn(this,Wt,null),Cn(this,Pn),Cn(this,gn,null),Cn(this,Ln,null),N(this,"rawOptions",{}),this),"t");const a=!!(n!=null&&n.lazyCompile);if(e instanceof RegExp){if(n)throw new Error("Cannot provide options when copying a regexp");const s=e;r(s,t),bt(this,Pn,s.source),s instanceof ur&&(bt(this,dn,Ze(s,dn)),bt(this,gn,Ze(s,gn)),bt(this,Ln,Ze(s,Ln)),this.rawOptions=s.rawOptions)}else{const s={hiddenCaptures:[],strategy:null,transfers:[],...n};r(a?"":e,t),bt(this,Pn,e),bt(this,dn,Ud(s.hiddenCaptures,s.transfers)),bt(this,Ln,s.strategy),this.rawOptions=n??{}}a||bt(this,Wt,this)}get source(){return Ze(this,Pn)||"(?:)"}exec(e){if(!Ze(this,Wt)){const{lazyCompile:r,...a}=this.rawOptions;bt(this,Wt,new ur(Ze(this,Pn),this.flags,a))}const t=this.global||this.sticky,n=this.lastIndex;if(Ze(this,Ln)==="clip_search"&&t&&n){this.lastIndex=0;const r=Di(this,ra,Ms).call(this,e.slice(n));return r&&(Gd(r,n,e,this.hasIndices),this.lastIndex+=n),r}return Di(this,ra,Ms).call(this,e)}},dn=new WeakMap,Wt=new WeakMap,Pn=new WeakMap,gn=new WeakMap,Ln=new WeakMap,ra=new WeakSet,Ms=o(function(e){Ze(this,Wt).lastIndex=this.lastIndex;const t=m0(ur.prototype,this,"exec").call(Ze(this,Wt),e);if(this.lastIndex=Ze(this,Wt).lastIndex,!t||!Ze(this,dn).size)return t;const n=[...t];t.length=1;let r;this.hasIndices&&(r=[...t.indices],t.indices.length=1);const a=[0];for(let s=1;s<n.length;s++){const{hidden:i,transferTo:l}=Ze(this,dn).get(s)??{};if(i?a.push(null):(a.push(t.length),t.push(n[s]),this.hasIndices&&t.indices.push(r[s])),l&&n[s]!==void 0){const c=a[l];if(!c)throw new Error(`Invalid capture transfer to "${c}"`);if(t[c]=n[s],this.hasIndices&&(t.indices[c]=r[s]),t.groups){Ze(this,gn)||bt(this,gn,Wd(this.source));const u=Ze(this,gn).get(l);u&&(t.groups[u]=n[s],this.hasIndices&&(t.indices.groups[u]=r[s]))}}}return t},"Oi"),ur);function Gd(e,t,n,r){if(e.index+=t,e.input=n,r){const a=e.indices;for(let i=0;i<a.length;i++){const l=a[i];l&&(a[i]=[l[0]+t,l[1]+t])}const s=a.groups;s&&Object.keys(s).forEach(i=>{const l=s[i];l&&(s[i]=[l[0]+t,l[1]+t])})}}o(Gd,"Pd");function Ud(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,a]of t)for(const s of a)cr(n,s,{}).transferTo=r;return n}o(Ud,"Od");function Wd(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,a=0,s;for(;s=t.exec(e);){const{0:i,groups:{capture:l,name:c}}=s;i==="["?r++:r?i==="]"&&r--:l&&(a++,c&&n.set(a,c))}return n}o(Wd,"qd");function Vd(e,t){const n=Xd(e,t);return n.options?new Hd(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}o(Vd,"jd");function Xd(e,t){const n=kl(t),r=al(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:$s}),a=xd(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),s=Ed(a,n),i=ud(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),l=ld(i.pattern),c=od(l.pattern,{captureTransfers:i.captureTransfers,hiddenCaptures:i.hiddenCaptures}),u={pattern:c.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const m=c.hiddenCaptures.sort((y,$)=>y-$),p=Array.from(c.captureTransfers),f=a._strategy,g=u.pattern.length>=n.lazyCompileLength;(m.length||p.length||f||g)&&(u.options={...m.length&&{hiddenCaptures:m},...p.length&&{transfers:p},...f&&{strategy:f},...g&&{lazyCompile:g}})}return u}o(Xd,"Gd");function Pl(e,t){return Vd(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}o(Pl,"Hd");function Yd(e={}){const t={target:"auto",cache:new Map,...e};return t.regexConstructor||(t.regexConstructor=n=>Pl(n,{target:t.target})),{createScanner(n){return new pm(n,t)},createString(n){return{content:n}}}}o(Yd,"C5");const Zd=Object.freeze(JSON.parse('{"displayName":"TypeScript","name":"typescript","patterns":[{"include":"#directives"},{"include":"#statements"},{"include":"#shebang"}],"repository":{"access-modifier":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(abstract|declare|override|public|protected|private|readonly|static)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},"after-operator-block-as-object-literal":{"begin":"(?<!\\\\+\\\\+|--)(?<=[!(+,:=>?\\\\[]|^await|[^$._[:alnum:]]await|^return|[^$._[:alnum:]]return|^yield|[^$._[:alnum:]]yield|^throw|[^$._[:alnum:]]throw|^in|[^$._[:alnum:]]in|^of|[^$._[:alnum:]]of|^typeof|[^$._[:alnum:]]typeof|&&|\\\\|\\\\||\\\\*)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.objectliteral.ts","patterns":[{"include":"#object-member"}]},"array-binding-pattern":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.array.ts"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.ts"}},"patterns":[{"include":"#binding-element"},{"include":"#punctuation-comma"}]},"array-binding-pattern-const":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.array.ts"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.ts"}},"patterns":[{"include":"#binding-element-const"},{"include":"#punctuation-comma"}]},"array-literal":{"begin":"\\\\s*(\\\\[)","beginCaptures":{"1":{"name":"meta.brace.square.ts"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.ts"}},"name":"meta.array.literal.ts","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"arrow-function":{"patterns":[{"captures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"variable.parameter.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\b(async)\\\\s+)?([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?==>)","name":"meta.arrow.ts"},{"begin":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\b(async))?((?<![]!)}])\\\\s*(?=((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?==>|\\\\{|^(\\\\s*(export|function|class|interface|let|var|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|const|import|enum|namespace|module|type|abstract|declare)\\\\s+))","name":"meta.arrow.ts","patterns":[{"include":"#comment"},{"include":"#type-parameters"},{"include":"#function-parameters"},{"include":"#arrow-return-type"},{"include":"#possibly-arrow-return-type"}]},{"begin":"=>","beginCaptures":{"0":{"name":"storage.type.function.arrow.ts"}},"end":"((?<=[}\\\\S])(?<!=>)|((?!\\\\{)(?=\\\\S)))(?!/[*/])","name":"meta.arrow.ts","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#decl-block"},{"include":"#expression"}]}]},"arrow-return-type":{"begin":"(?<=\\\\))\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?==>|\\\\{|^(\\\\s*(export|function|class|interface|let|var|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|const|import|enum|namespace|module|type|abstract|declare)\\\\s+))","name":"meta.return.type.arrow.ts","patterns":[{"include":"#arrow-return-type-body"}]},"arrow-return-type-body":{"patterns":[{"begin":"(?<=:)(?=\\\\s*\\\\{)","end":"(?<=})","patterns":[{"include":"#type-object"}]},{"include":"#type-predicate-operator"},{"include":"#type"}]},"async-modifier":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(async)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.async.ts"},"binding-element":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numeric-literal"},{"include":"#regex"},{"include":"#object-binding-pattern"},{"include":"#array-binding-pattern"},{"include":"#destructuring-variable-rest"},{"include":"#variable-initializer"}]},"binding-element-const":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numeric-literal"},{"include":"#regex"},{"include":"#object-binding-pattern-const"},{"include":"#array-binding-pattern-const"},{"include":"#destructuring-variable-rest-const"},{"include":"#variable-initializer"}]},"boolean-literal":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))true(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.boolean.true.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))false(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.boolean.false.ts"}]},"brackets":{"patterns":[{"begin":"\\\\{","end":"}|(?=\\\\*/)","patterns":[{"include":"#brackets"}]},{"begin":"\\\\[","end":"]|(?=\\\\*/)","patterns":[{"include":"#brackets"}]}]},"cast":{"patterns":[{"captures":{"1":{"name":"meta.brace.angle.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"meta.brace.angle.ts"}},"match":"\\\\s*(<)\\\\s*(const)\\\\s*(>)","name":"cast.expr.ts"},{"begin":"(?<!\\\\+\\\\+|--)(?<=^return|[^$._[:alnum:]]return|^throw|[^$._[:alnum:]]throw|^yield|[^$._[:alnum:]]yield|^await|[^$._[:alnum:]]await|^default|[^$._[:alnum:]]default|[\\\\&(*,:=>?^|]|[^$_[:alnum:]](?:\\\\+\\\\+|--)|[^+]\\\\+|[^-]-)\\\\s*(<)(?!<?=)(?!\\\\s*$)","beginCaptures":{"1":{"name":"meta.brace.angle.ts"}},"end":"(>)","endCaptures":{"1":{"name":"meta.brace.angle.ts"}},"name":"cast.expr.ts","patterns":[{"include":"#type"}]},{"begin":"(?<=^)\\\\s*(<)(?=[$_[:alpha:]][$_[:alnum:]]*\\\\s*>)","beginCaptures":{"1":{"name":"meta.brace.angle.ts"}},"end":"(>)","endCaptures":{"1":{"name":"meta.brace.angle.ts"}},"name":"cast.expr.ts","patterns":[{"include":"#type"}]}]},"class-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(?:(abstract)\\\\s+)?\\\\b(class)\\\\b(?=\\\\s+|/[*/])","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.type.class.ts"}},"end":"(?<=})","name":"meta.class.ts","patterns":[{"include":"#class-declaration-or-expression-patterns"}]},"class-declaration-or-expression-patterns":{"patterns":[{"include":"#comment"},{"include":"#class-or-interface-heritage"},{"captures":{"0":{"name":"entity.name.type.class.ts"}},"match":"[$_[:alpha:]][$_[:alnum:]]*"},{"include":"#type-parameters"},{"include":"#class-or-interface-body"}]},"class-expression":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(abstract)\\\\s+)?(class)\\\\b(?=\\\\s+|[<{]|/[*/])","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"storage.type.class.ts"}},"end":"(?<=})","name":"meta.class.ts","patterns":[{"include":"#class-declaration-or-expression-patterns"}]},"class-or-interface-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"patterns":[{"include":"#comment"},{"include":"#decorator"},{"begin":"(?<=:)\\\\s*","end":"(?=[-\\\\])+,:;}\\\\s]|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#expression"}]},{"include":"#method-declaration"},{"include":"#indexer-declaration"},{"include":"#field-declaration"},{"include":"#string"},{"include":"#type-annotation"},{"include":"#variable-initializer"},{"include":"#access-modifier"},{"include":"#property-accessor"},{"include":"#async-modifier"},{"include":"#after-operator-block-as-object-literal"},{"include":"#decl-block"},{"include":"#expression"},{"include":"#punctuation-comma"},{"include":"#punctuation-semicolon"}]},"class-or-interface-heritage":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\b(extends|implements)\\\\b(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"storage.modifier.ts"}},"end":"(?=\\\\{)","patterns":[{"include":"#comment"},{"include":"#class-or-interface-heritage"},{"include":"#type-parameters"},{"include":"#expressionWithoutIdentifiers"},{"captures":{"1":{"name":"entity.name.type.module.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))(?=\\\\s*[$_[:alpha:]][$_[:alnum:]]*(\\\\s*\\\\??\\\\.\\\\s*[$_[:alpha:]][$_[:alnum:]]*)*\\\\s*)"},{"captures":{"1":{"name":"entity.other.inherited-class.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)"},{"include":"#expressionPunctuations"}]},"comment":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.ts"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.ts"}},"name":"comment.block.documentation.ts","patterns":[{"include":"#docblock"}]},{"begin":"(/\\\\*)(?:\\\\s*((@)internal)(?=\\\\s|(\\\\*/)))?","beginCaptures":{"1":{"name":"punctuation.definition.comment.ts"},"2":{"name":"storage.type.internaldeclaration.ts"},"3":{"name":"punctuation.decorator.internaldeclaration.ts"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.ts"}},"name":"comment.block.ts"},{"begin":"(^[\\\\t ]+)?((//)(?:\\\\s*((@)internal)(?=\\\\s|$))?)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ts"},"2":{"name":"comment.line.double-slash.ts"},"3":{"name":"punctuation.definition.comment.ts"},"4":{"name":"storage.type.internaldeclaration.ts"},"5":{"name":"punctuation.decorator.internaldeclaration.ts"}},"contentName":"comment.line.double-slash.ts","end":"(?=$)"}]},"control-statement":{"patterns":[{"include":"#switch-statement"},{"include":"#for-loop"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(catch|finally|throw|try)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.trycatch.ts"},{"captures":{"1":{"name":"keyword.control.loop.ts"},"2":{"name":"entity.name.label.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(break|continue|goto)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(break|continue|do|goto|while)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.loop.ts"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(return)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"0":{"name":"keyword.control.flow.ts"}},"end":"(?=[;}]|$|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#expression"}]},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(case|default|switch)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.switch.ts"},{"include":"#if-statement"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(else|if)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.conditional.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(with)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.with.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(package)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(debugger)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.other.debugger.ts"}]},"decl-block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.block.ts","patterns":[{"include":"#statements"}]},"declaration":{"patterns":[{"include":"#decorator"},{"include":"#var-expr"},{"include":"#function-declaration"},{"include":"#class-declaration"},{"include":"#interface-declaration"},{"include":"#enum-declaration"},{"include":"#namespace-declaration"},{"include":"#type-alias-declaration"},{"include":"#import-equals-declaration"},{"include":"#import-declaration"},{"include":"#export-declaration"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(declare|export)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"}]},"decorator":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))@","beginCaptures":{"0":{"name":"punctuation.decorator.ts"}},"end":"(?=\\\\s)","name":"meta.decorator.ts","patterns":[{"include":"#expression"}]},"destructuring-const":{"patterns":[{"begin":"(?<![:=]|^of|[^$._[:alnum:]]of|^in|[^$._[:alnum:]]in)\\\\s*(?=\\\\{)","end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","name":"meta.object-binding-pattern-variable.ts","patterns":[{"include":"#object-binding-pattern-const"},{"include":"#type-annotation"},{"include":"#comment"}]},{"begin":"(?<![:=]|^of|[^$._[:alnum:]]of|^in|[^$._[:alnum:]]in)\\\\s*(?=\\\\[)","end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","name":"meta.array-binding-pattern-variable.ts","patterns":[{"include":"#array-binding-pattern-const"},{"include":"#type-annotation"},{"include":"#comment"}]}]},"destructuring-parameter":{"patterns":[{"begin":"(?<![:=])\\\\s*(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\{)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.object.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.ts"}},"name":"meta.parameter.object-binding-pattern.ts","patterns":[{"include":"#parameter-object-binding-element"}]},{"begin":"(?<![:=])\\\\s*(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.array.ts"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.ts"}},"name":"meta.paramter.array-binding-pattern.ts","patterns":[{"include":"#parameter-binding-element"},{"include":"#punctuation-comma"}]}]},"destructuring-parameter-rest":{"captures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"variable.parameter.ts"}},"match":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)"},"destructuring-variable":{"patterns":[{"begin":"(?<![:=]|^of|[^$._[:alnum:]]of|^in|[^$._[:alnum:]]in)\\\\s*(?=\\\\{)","end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","name":"meta.object-binding-pattern-variable.ts","patterns":[{"include":"#object-binding-pattern"},{"include":"#type-annotation"},{"include":"#comment"}]},{"begin":"(?<![:=]|^of|[^$._[:alnum:]]of|^in|[^$._[:alnum:]]in)\\\\s*(?=\\\\[)","end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","name":"meta.array-binding-pattern-variable.ts","patterns":[{"include":"#array-binding-pattern"},{"include":"#type-annotation"},{"include":"#comment"}]}]},"destructuring-variable-rest":{"captures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"meta.definition.variable.ts variable.other.readwrite.ts"}},"match":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)"},"destructuring-variable-rest-const":{"captures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"meta.definition.variable.ts variable.other.constant.ts"}},"match":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)"},"directives":{"begin":"^(///)\\\\s*(?=<(reference|amd-dependency|amd-module)(\\\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\\\s*=\\\\s*((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)))+\\\\s*/>\\\\s*$)","beginCaptures":{"1":{"name":"punctuation.definition.comment.ts"}},"end":"(?=$)","name":"comment.line.triple-slash.directive.ts","patterns":[{"begin":"(<)(reference|amd-dependency|amd-module)","beginCaptures":{"1":{"name":"punctuation.definition.tag.directive.ts"},"2":{"name":"entity.name.tag.directive.ts"}},"end":"/>","endCaptures":{"0":{"name":"punctuation.definition.tag.directive.ts"}},"name":"meta.tag.ts","patterns":[{"match":"path|types|no-default-lib|lib|name|resolution-mode","name":"entity.other.attribute-name.directive.ts"},{"match":"=","name":"keyword.operator.assignment.ts"},{"include":"#string"}]}]},"docblock":{"patterns":[{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"constant.language.access-type.jsdoc"}},"match":"((@)a(?:ccess|pi))\\\\s+(p(?:rivate|rotected|ublic))\\\\b"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"entity.name.type.instance.jsdoc"},"4":{"name":"punctuation.definition.bracket.angle.begin.jsdoc"},"5":{"name":"constant.other.email.link.underline.jsdoc"},"6":{"name":"punctuation.definition.bracket.angle.end.jsdoc"}},"match":"((@)author)\\\\s+([^*/<>@\\\\s](?:[^*/<>@]|\\\\*[^/])*)(?:\\\\s*(<)([^>\\\\s]+)(>))?"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"entity.name.type.instance.jsdoc"},"4":{"name":"keyword.operator.control.jsdoc"},"5":{"name":"entity.name.type.instance.jsdoc"}},"match":"((@)borrows)\\\\s+((?:[^*/@\\\\s]|\\\\*[^/])+)\\\\s+(as)\\\\s+((?:[^*/@\\\\s]|\\\\*[^/])+)"},{"begin":"((@)example)\\\\s+","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=@|\\\\*/)","name":"meta.example.jsdoc","patterns":[{"match":"^\\\\s\\\\*\\\\s+"},{"begin":"\\\\G(<)caption(>)","beginCaptures":{"0":{"name":"entity.name.tag.inline.jsdoc"},"1":{"name":"punctuation.definition.bracket.angle.begin.jsdoc"},"2":{"name":"punctuation.definition.bracket.angle.end.jsdoc"}},"contentName":"constant.other.description.jsdoc","end":"(</)caption(>)|(?=\\\\*/)","endCaptures":{"0":{"name":"entity.name.tag.inline.jsdoc"},"1":{"name":"punctuation.definition.bracket.angle.begin.jsdoc"},"2":{"name":"punctuation.definition.bracket.angle.end.jsdoc"}}},{"captures":{"0":{"name":"source.embedded.ts"}},"match":"[^*@\\\\s](?:[^*]|\\\\*[^/])*"}]},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"constant.language.symbol-type.jsdoc"}},"match":"((@)kind)\\\\s+(class|constant|event|external|file|function|member|mixin|module|namespace|typedef)\\\\b"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.link.underline.jsdoc"},"4":{"name":"entity.name.type.instance.jsdoc"}},"match":"((@)see)\\\\s+(?:((?=https?://)(?:[^*\\\\s]|\\\\*[^/])+)|((?!https?://|(?:\\\\[[^]\\\\[]*])?\\\\{@(?:link|linkcode|linkplain|tutorial)\\\\b)(?:[^*/@\\\\s]|\\\\*[^/])+))"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.jsdoc"}},"match":"((@)template)\\\\s+([$A-Z_a-z][]$.\\\\[\\\\w]*(?:\\\\s*,\\\\s*[$A-Z_a-z][]$.\\\\[\\\\w]*)*)"},{"begin":"((@)template)\\\\s+(?=\\\\{)","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=\\\\s|\\\\*/|[^]$A-\\\\[_a-{}])","patterns":[{"include":"#jsdoctype"},{"match":"([$A-Z_a-z][]$.\\\\[\\\\w]*)","name":"variable.other.jsdoc"}]},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.jsdoc"}},"match":"((@)(?:arg|argument|const|constant|member|namespace|param|var))\\\\s+([$A-Z_a-z][]$.\\\\[\\\\w]*)"},{"begin":"((@)typedef)\\\\s+(?=\\\\{)","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=\\\\s|\\\\*/|[^]$A-\\\\[_a-{}])","patterns":[{"include":"#jsdoctype"},{"match":"(?:[^*/@\\\\s]|\\\\*[^/])+","name":"entity.name.type.instance.jsdoc"}]},{"begin":"((@)(?:arg|argument|const|constant|member|namespace|param|prop|property|var))\\\\s+(?=\\\\{)","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=\\\\s|\\\\*/|[^]$A-\\\\[_a-{}])","patterns":[{"include":"#jsdoctype"},{"match":"([$A-Z_a-z][]$.\\\\[\\\\w]*)","name":"variable.other.jsdoc"},{"captures":{"1":{"name":"punctuation.definition.optional-value.begin.bracket.square.jsdoc"},"2":{"name":"keyword.operator.assignment.jsdoc"},"3":{"name":"source.embedded.ts"},"4":{"name":"punctuation.definition.optional-value.end.bracket.square.jsdoc"},"5":{"name":"invalid.illegal.syntax.jsdoc"}},"match":"(\\\\[)\\\\s*[$\\\\w]+(?:(?:\\\\[])?\\\\.[$\\\\w]+)*(?:\\\\s*(=)\\\\s*((?>\\"(?:\\\\*(?!/)|\\\\\\\\(?!\\")|[^*\\\\\\\\])*?\\"|\'(?:\\\\*(?!/)|\\\\\\\\(?!\')|[^*\\\\\\\\])*?\'|\\\\[(?:\\\\*(?!/)|[^*])*?]|(?:\\\\*(?!/)|\\\\s(?!\\\\s*])|\\\\[.*?(?:]|(?=\\\\*/))|[^]*\\\\[\\\\s])*)*))?\\\\s*(?:(])((?:[^*\\\\s]|\\\\*[^/\\\\s])+)?|(?=\\\\*/))","name":"variable.other.jsdoc"}]},{"begin":"((@)(?:define|enum|exception|export|extends|lends|implements|modifies|namespace|private|protected|returns?|satisfies|suppress|this|throws|type|yields?))\\\\s+(?=\\\\{)","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"end":"(?=\\\\s|\\\\*/|[^]$A-\\\\[_a-{}])","patterns":[{"include":"#jsdoctype"}]},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"entity.name.type.instance.jsdoc"}},"match":"((@)(?:alias|augments|callback|constructs|emits|event|fires|exports?|extends|external|function|func|host|lends|listens|interface|memberof!?|method|module|mixes|mixin|name|requires|see|this|typedef|uses))\\\\s+((?:[^*@{}\\\\s]|\\\\*[^/])+)"},{"begin":"((@)(?:default(?:value)?|license|version))\\\\s+(([\\"\']))","beginCaptures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.jsdoc"},"4":{"name":"punctuation.definition.string.begin.jsdoc"}},"contentName":"variable.other.jsdoc","end":"(\\\\3)|(?=$|\\\\*/)","endCaptures":{"0":{"name":"variable.other.jsdoc"},"1":{"name":"punctuation.definition.string.end.jsdoc"}}},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"},"3":{"name":"variable.other.jsdoc"}},"match":"((@)(?:default(?:value)?|license|tutorial|variation|version))\\\\s+([^*\\\\s]+)"},{"captures":{"1":{"name":"punctuation.definition.block.tag.jsdoc"}},"match":"(@)(?:abstract|access|alias|api|arg|argument|async|attribute|augments|author|beta|borrows|bubbles|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exception|exports?|extends|extension(?:_?for)?|external|externs|file|fileoverview|final|fires|for|func|function|generator|global|hideconstructor|host|ignore|implements|implicitCast|inherit[Dd]oc|inner|instance|interface|internal|kind|lends|license|listens|main|member|memberof!?|method|mixes|mixins?|modifies|module|name|namespace|noalias|nocollapse|nocompile|nosideeffects|override|overview|package|param|polymer(?:Behavior)?|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|writeOnce|yields?)\\\\b","name":"storage.type.class.jsdoc"},{"include":"#inline-tags"},{"captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"punctuation.definition.block.tag.jsdoc"}},"match":"((@)[$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s+)"}]},"enum-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?(?:\\\\b(const)\\\\s+)?\\\\b(enum)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.type.enum.ts"},"5":{"name":"entity.name.type.enum.ts"}},"end":"(?<=})","name":"meta.enum.declaration.ts","patterns":[{"include":"#comment"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"patterns":[{"include":"#comment"},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"0":{"name":"variable.other.enummember.ts"}},"end":"(?=[,}]|$)","patterns":[{"include":"#comment"},{"include":"#variable-initializer"}]},{"begin":"(?=((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+])))","end":"(?=[,}]|$)","patterns":[{"include":"#string"},{"include":"#array-literal"},{"include":"#comment"},{"include":"#variable-initializer"}]},{"include":"#punctuation-comma"}]}]},"export-declaration":{"patterns":[{"captures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"keyword.control.as.ts"},"3":{"name":"storage.type.namespace.ts"},"4":{"name":"entity.name.type.module.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(export)\\\\s+(as)\\\\s+(namespace)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(export)(?:\\\\s+(type))?(?:\\\\s*(=)|\\\\s+(default)(?=\\\\s+))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"keyword.control.type.ts"},"3":{"name":"keyword.operator.assignment.ts"},"4":{"name":"keyword.control.default.ts"}},"end":"(?=$|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","name":"meta.export.default.ts","patterns":[{"include":"#interface-declaration"},{"include":"#expression"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(export)(?:\\\\s+(type))?\\\\b(?!(\\\\$)|(\\\\s*:))((?=\\\\s*[*{])|((?=\\\\s*[$_[:alpha:]][$_[:alnum:]]*([,\\\\s]))(?!\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"keyword.control.type.ts"}},"end":"(?=$|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","name":"meta.export.ts","patterns":[{"include":"#import-export-declaration"}]}]},"expression":{"patterns":[{"include":"#expressionWithoutIdentifiers"},{"include":"#identifiers"},{"include":"#expressionPunctuations"}]},"expression-inside-possibly-arrow-parens":{"patterns":[{"include":"#expressionWithoutIdentifiers"},{"include":"#comment"},{"include":"#string"},{"include":"#decorator"},{"include":"#destructuring-parameter"},{"captures":{"1":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|protected|private|readonly)\\\\s+(?=(override|public|protected|private|readonly)\\\\s+)"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"entity.name.function.ts variable.language.this.ts"},"4":{"name":"entity.name.function.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)(?=\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"variable.parameter.ts variable.language.this.ts"},"4":{"name":"variable.parameter.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)(?=\\\\s*[,:]|$)"},{"include":"#type-annotation"},{"include":"#variable-initializer"},{"match":",","name":"punctuation.separator.parameter.ts"},{"include":"#identifiers"},{"include":"#expressionPunctuations"}]},"expression-operators":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(await)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.flow.ts"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(yield)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?=\\\\s*/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*\\\\*)","beginCaptures":{"1":{"name":"keyword.control.flow.ts"}},"end":"\\\\*","endCaptures":{"0":{"name":"keyword.generator.asterisk.ts"}},"patterns":[{"include":"#comment"}]},{"captures":{"1":{"name":"keyword.control.flow.ts"},"2":{"name":"keyword.generator.asterisk.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(yield)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?:\\\\s*(\\\\*))?"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))delete(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.delete.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))in(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?!\\\\()","name":"keyword.operator.expression.in.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))of(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?!\\\\()","name":"keyword.operator.expression.of.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))instanceof(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.instanceof.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))new(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.new.ts"},{"include":"#typeof-operator"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))void(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.void.ts"},{"captures":{"1":{"name":"keyword.control.as.ts"},"2":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+(const)(?=\\\\s*($|[]),:;}]))"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(as)|(satisfies))\\\\s+","beginCaptures":{"1":{"name":"keyword.control.as.ts"},"2":{"name":"keyword.control.satisfies.ts"}},"end":"(?=^|[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as|satisfies)\\\\s+)|(\\\\s+<))","patterns":[{"include":"#type"}]},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.spread.ts"},{"match":"(?:\\\\*|(?<!\\\\()/|[-%+])=","name":"keyword.operator.assignment.compound.ts"},{"match":"(?:[\\\\&^]|<<|>>>??|\\\\|)=","name":"keyword.operator.assignment.compound.bitwise.ts"},{"match":"<<|>>>?","name":"keyword.operator.bitwise.shift.ts"},{"match":"[!=]==?","name":"keyword.operator.comparison.ts"},{"match":"<=|>=|<>|[<>]","name":"keyword.operator.relational.ts"},{"captures":{"1":{"name":"keyword.operator.logical.ts"},"2":{"name":"keyword.operator.assignment.compound.ts"},"3":{"name":"keyword.operator.arithmetic.ts"}},"match":"(?<=[$_[:alnum:]])(!)\\\\s*(?:(/=)|(/)(?![*/]))"},{"match":"!|&&|\\\\|\\\\||\\\\?\\\\?","name":"keyword.operator.logical.ts"},{"match":"[\\\\&^|~]","name":"keyword.operator.bitwise.ts"},{"match":"=","name":"keyword.operator.assignment.ts"},{"match":"--","name":"keyword.operator.decrement.ts"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.ts"},{"match":"[-%*+/]","name":"keyword.operator.arithmetic.ts"},{"begin":"(?<=[]$)_[:alnum:]])\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)+(?:(/=)|(/)(?![*/])))","end":"(/=)|(/)(?!\\\\*([^*]|(\\\\*[^/]))*\\\\*/)","endCaptures":{"1":{"name":"keyword.operator.assignment.compound.ts"},"2":{"name":"keyword.operator.arithmetic.ts"}},"patterns":[{"include":"#comment"}]},{"captures":{"1":{"name":"keyword.operator.assignment.compound.ts"},"2":{"name":"keyword.operator.arithmetic.ts"}},"match":"(?<=[]$)_[:alnum:]])\\\\s*(?:(/=)|(/)(?![*/]))"}]},"expressionPunctuations":{"patterns":[{"include":"#punctuation-comma"},{"include":"#punctuation-accessor"}]},"expressionWithoutIdentifiers":{"patterns":[{"include":"#string"},{"include":"#regex"},{"include":"#comment"},{"include":"#function-expression"},{"include":"#class-expression"},{"include":"#arrow-function"},{"include":"#paren-expression-possibly-arrow"},{"include":"#cast"},{"include":"#ternary-expression"},{"include":"#new-expr"},{"include":"#instanceof-expr"},{"include":"#object-literal"},{"include":"#expression-operators"},{"include":"#function-call"},{"include":"#literal"},{"include":"#support-objects"},{"include":"#paren-expression"}]},"field-declaration":{"begin":"(?<!\\\\()(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(readonly)\\\\s+)?(?=\\\\s*(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|(#?[$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(?:(?:(\\\\?)|(!))\\\\s*)?([,:;=}]|$))","beginCaptures":{"1":{"name":"storage.modifier.ts"}},"end":"(?=[,;}]|$|^((?!\\\\s*(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|(#?[$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(?:(?:(\\\\?)|(!))\\\\s*)?([,:;=]|$))))|(?<=})","name":"meta.field.declaration.ts","patterns":[{"include":"#variable-initializer"},{"include":"#type-annotation"},{"include":"#string"},{"include":"#array-literal"},{"include":"#numeric-literal"},{"include":"#comment"},{"captures":{"1":{"name":"meta.definition.property.ts entity.name.function.ts"},"2":{"name":"keyword.operator.optional.ts"},"3":{"name":"keyword.operator.definiteassignment.ts"}},"match":"(#?[$_[:alpha:]][$_[:alnum:]]*)(?:(\\\\?)|(!))?(?=\\\\s*\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))"},{"match":"#?[$_[:alpha:]][$_[:alnum:]]*","name":"meta.definition.property.ts variable.object.property.ts"},{"match":"\\\\?","name":"keyword.operator.optional.ts"},{"match":"!","name":"keyword.operator.definiteassignment.ts"}]},"for-loop":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))for(?=((\\\\s+|(\\\\s*/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*))await)?\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)?(\\\\())","beginCaptures":{"0":{"name":"keyword.control.loop.ts"}},"end":"(?<=\\\\))","patterns":[{"include":"#comment"},{"match":"await","name":"keyword.control.loop.ts"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#var-expr"},{"include":"#expression"},{"include":"#punctuation-semicolon"}]}]},"function-body":{"patterns":[{"include":"#comment"},{"include":"#type-parameters"},{"include":"#function-parameters"},{"include":"#return-type"},{"include":"#type-function-return-type"},{"include":"#decl-block"},{"match":"\\\\*","name":"keyword.generator.asterisk.ts"}]},"function-call":{"patterns":[{"begin":"(?=(((([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))|(?<=\\\\)))\\\\s*(?:(\\\\?\\\\.\\\\s*)|(!))?((<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?\\\\())","end":"(?<=\\\\))(?!(((([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))|(?<=\\\\)))\\\\s*(?:(\\\\?\\\\.\\\\s*)|(!))?((<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?\\\\())","patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))","end":"(?=\\\\s*(?:(\\\\?\\\\.\\\\s*)|(!))?((<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?\\\\())","name":"meta.function-call.ts","patterns":[{"include":"#function-call-target"}]},{"include":"#comment"},{"include":"#function-call-optionals"},{"include":"#type-arguments"},{"include":"#paren-expression"}]},{"begin":"(?=(((([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))|(?<=\\\\)))(<\\\\s*[(\\\\[{]\\\\s*)$)","end":"(?<=>)(?!(((([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))|(?<=\\\\)))(<\\\\s*[(\\\\[{]\\\\s*)$)","patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*)(\\\\s*\\\\??\\\\.\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*)|(\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*))","end":"(?=(<\\\\s*[(\\\\[{]\\\\s*)$)","name":"meta.function-call.ts","patterns":[{"include":"#function-call-target"}]},{"include":"#comment"},{"include":"#function-call-optionals"},{"include":"#type-arguments"}]}]},"function-call-optionals":{"patterns":[{"match":"\\\\?\\\\.","name":"meta.function-call.ts punctuation.accessor.optional.ts"},{"match":"!","name":"meta.function-call.ts keyword.operator.definiteassignment.ts"}]},"function-call-target":{"patterns":[{"include":"#support-function-call-identifiers"},{"match":"(#?[$_[:alpha:]][$_[:alnum:]]*)","name":"entity.name.function.ts"}]},"function-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?(?:(async)\\\\s+)?(function)\\\\b(?:\\\\s*(\\\\*))?(?:(?:\\\\s+|(?<=\\\\*))([$_[:alpha:]][$_[:alnum:]]*))?\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.async.ts"},"4":{"name":"storage.type.function.ts"},"5":{"name":"keyword.generator.asterisk.ts"},"6":{"name":"meta.definition.function.ts entity.name.function.ts"}},"end":"(?=;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)|(?<=})","name":"meta.function.ts","patterns":[{"include":"#function-name"},{"include":"#function-body"}]},"function-expression":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(async)\\\\s+)?(function)\\\\b(?:\\\\s*(\\\\*))?(?:(?:\\\\s+|(?<=\\\\*))([$_[:alpha:]][$_[:alnum:]]*))?\\\\s*","beginCaptures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"storage.type.function.ts"},"3":{"name":"keyword.generator.asterisk.ts"},"4":{"name":"meta.definition.function.ts entity.name.function.ts"}},"end":"(?=;)|(?<=})","name":"meta.function.expression.ts","patterns":[{"include":"#function-name"},{"include":"#single-line-comment-consuming-line-ending"},{"include":"#function-body"}]},"function-name":{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"meta.definition.function.ts entity.name.function.ts"},"function-parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.ts"}},"name":"meta.parameters.ts","patterns":[{"include":"#function-parameters-body"}]},"function-parameters-body":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#decorator"},{"include":"#destructuring-parameter"},{"include":"#parameter-name"},{"include":"#parameter-type-annotation"},{"include":"#variable-initializer"},{"match":",","name":"punctuation.separator.parameter.ts"}]},"identifiers":{"patterns":[{"include":"#object-identifiers"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"entity.name.function.ts"}},"match":"(?:(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"variable.other.constant.property.ts"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(#?\\\\p{upper}[$_\\\\d[:upper:]]*)(?![$_[:alnum:]])"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"variable.other.property.ts"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*)"},{"match":"(\\\\p{upper}[$_\\\\d[:upper:]]*)(?![$_[:alnum:]])","name":"variable.other.constant.ts"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"variable.other.readwrite.ts"}]},"if-statement":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?=\\\\bif\\\\s*(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))\\\\s*(?!\\\\{))","end":"(?=;|$|})","patterns":[{"include":"#comment"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(if)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.conditional.ts"},"2":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression"}]},{"begin":"(?<=\\\\))\\\\s*/(?![*/])(?=(?:[^/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[([^]\\\\\\\\]|\\\\\\\\.)*])+/([dgimsuvy]+|(?![*/])|(?=/\\\\*))(?!\\\\s*[$0-9A-Z_a-z]))","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ts"}},"end":"(/)([dgimsuvy]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"keyword.other.ts"}},"name":"string.regexp.ts","patterns":[{"include":"#regexp"}]},{"include":"#statements"}]}]},"import-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(import)(?:\\\\s+(type)(?!\\\\s+from))?(?!\\\\s*[(:])(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"keyword.control.import.ts"},"4":{"name":"keyword.control.type.ts"}},"end":"(?<!(?:^|[^$._[:alnum:]])import)(?=;|$|^)","name":"meta.import.ts","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"include":"#string"},{"begin":"(?<=(?:^|[^$._[:alnum:]])import)(?!\\\\s*[\\"\'])","end":"\\\\bfrom\\\\b","endCaptures":{"0":{"name":"keyword.control.from.ts"}},"patterns":[{"include":"#import-export-declaration"}]},{"include":"#import-export-declaration"}]},"import-equals-declaration":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(import)(?:\\\\s+(type))?\\\\s+([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(=)\\\\s*(require)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"keyword.control.import.ts"},"4":{"name":"keyword.control.type.ts"},"5":{"name":"variable.other.readwrite.alias.ts"},"6":{"name":"keyword.operator.assignment.ts"},"7":{"name":"keyword.control.require.ts"},"8":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"name":"meta.import-equals.external.ts","patterns":[{"include":"#comment"},{"include":"#string"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(import)(?:\\\\s+(type))?\\\\s+([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(=)\\\\s*(?!require\\\\b)","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"keyword.control.import.ts"},"4":{"name":"keyword.control.type.ts"},"5":{"name":"variable.other.readwrite.alias.ts"},"6":{"name":"keyword.operator.assignment.ts"}},"end":"(?=;|$|^)","name":"meta.import-equals.internal.ts","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"captures":{"1":{"name":"entity.name.type.module.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"variable.other.readwrite.ts"}]}]},"import-export-assert-clause":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(with)|(assert))\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.control.with.ts"},"2":{"name":"keyword.control.assert.ts"},"3":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"patterns":[{"include":"#comment"},{"include":"#string"},{"match":"[$_[:alpha:]][$_[:alnum:]]*\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:)","name":"meta.object-literal.key.ts"},{"match":":","name":"punctuation.separator.key-value.ts"}]},"import-export-block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.block.ts","patterns":[{"include":"#import-export-clause"}]},"import-export-clause":{"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.control.type.ts"},"2":{"name":"keyword.control.default.ts"},"3":{"name":"constant.language.import-export-all.ts"},"4":{"name":"variable.other.readwrite.ts"},"5":{"name":"string.quoted.alias.ts"},"12":{"name":"keyword.control.as.ts"},"13":{"name":"keyword.control.default.ts"},"14":{"name":"variable.other.readwrite.alias.ts"},"15":{"name":"string.quoted.alias.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(type)\\\\s+)?(?:\\\\b(default)|(\\\\*)|\\\\b([$_[:alpha:]][$_[:alnum:]]*)|((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)))\\\\s+(as)\\\\s+(?:(default(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|([$_[:alpha:]][$_[:alnum:]]*)|((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)))"},{"include":"#punctuation-comma"},{"match":"\\\\*","name":"constant.language.import-export-all.ts"},{"match":"\\\\b(default)\\\\b","name":"keyword.control.default.ts"},{"captures":{"1":{"name":"keyword.control.type.ts"},"2":{"name":"variable.other.readwrite.alias.ts"},"3":{"name":"string.quoted.alias.ts"}},"match":"(?:\\\\b(type)\\\\s+)?(?:([$_[:alpha:]][$_[:alnum:]]*)|((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)))"}]},"import-export-declaration":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#import-export-block"},{"match":"\\\\bfrom\\\\b","name":"keyword.control.from.ts"},{"include":"#import-export-assert-clause"},{"include":"#import-export-clause"}]},"indexer-declaration":{"begin":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(readonly)\\\\s*)?\\\\s*(\\\\[)\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=:)","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"meta.brace.square.ts"},"3":{"name":"variable.parameter.ts"}},"end":"(])\\\\s*(\\\\?\\\\s*)?|$","endCaptures":{"1":{"name":"meta.brace.square.ts"},"2":{"name":"keyword.operator.optional.ts"}},"name":"meta.indexer.declaration.ts","patterns":[{"include":"#type-annotation"}]},"indexer-mapped-type-declaration":{"begin":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))([-+])?(readonly)\\\\s*)?\\\\s*(\\\\[)\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s+(in)\\\\s+","beginCaptures":{"1":{"name":"keyword.operator.type.modifier.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"meta.brace.square.ts"},"4":{"name":"entity.name.type.ts"},"5":{"name":"keyword.operator.expression.in.ts"}},"end":"(])([-+])?\\\\s*(\\\\?\\\\s*)?|$","endCaptures":{"1":{"name":"meta.brace.square.ts"},"2":{"name":"keyword.operator.type.modifier.ts"},"3":{"name":"keyword.operator.optional.ts"}},"name":"meta.indexer.mappedtype.declaration.ts","patterns":[{"captures":{"1":{"name":"keyword.control.as.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+"},{"include":"#type"}]},"inline-tags":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.bracket.square.begin.jsdoc"},"2":{"name":"punctuation.definition.bracket.square.end.jsdoc"}},"match":"(\\\\[)[^]]+(])(?=\\\\{@(?:link|linkcode|linkplain|tutorial))","name":"constant.other.description.jsdoc"},{"begin":"(\\\\{)((@)(?:link(?:code|plain)?|tutorial))\\\\s*","beginCaptures":{"1":{"name":"punctuation.definition.bracket.curly.begin.jsdoc"},"2":{"name":"storage.type.class.jsdoc"},"3":{"name":"punctuation.definition.inline.tag.jsdoc"}},"end":"}|(?=\\\\*/)","endCaptures":{"0":{"name":"punctuation.definition.bracket.curly.end.jsdoc"}},"name":"entity.name.type.instance.jsdoc","patterns":[{"captures":{"1":{"name":"variable.other.link.underline.jsdoc"},"2":{"name":"punctuation.separator.pipe.jsdoc"}},"match":"\\\\G((?=https?://)(?:[^*|}\\\\s]|\\\\*/)+)(\\\\|)?"},{"captures":{"1":{"name":"variable.other.description.jsdoc"},"2":{"name":"punctuation.separator.pipe.jsdoc"}},"match":"\\\\G((?:[^*@{|}\\\\s]|\\\\*[^/])+)(\\\\|)?"}]}]},"instanceof-expr":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(instanceof)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.operator.expression.instanceof.ts"}},"end":"(?<=\\\\))|(?=[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|([!=]==?)|(([\\\\&^|~]\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s+instanceof(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))function((\\\\s+[$_[:alpha:]][$_[:alnum:]]*)|(\\\\s*\\\\())))","patterns":[{"include":"#type"}]},"interface-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(?:(abstract)\\\\s+)?\\\\b(interface)\\\\b(?=\\\\s+|/[*/])","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.type.interface.ts"}},"end":"(?<=})","name":"meta.interface.ts","patterns":[{"include":"#comment"},{"include":"#class-or-interface-heritage"},{"captures":{"0":{"name":"entity.name.type.interface.ts"}},"match":"[$_[:alpha:]][$_[:alnum:]]*"},{"include":"#type-parameters"},{"include":"#class-or-interface-body"}]},"jsdoctype":{"patterns":[{"begin":"\\\\G(\\\\{)","beginCaptures":{"0":{"name":"entity.name.type.instance.jsdoc"},"1":{"name":"punctuation.definition.bracket.curly.begin.jsdoc"}},"contentName":"entity.name.type.instance.jsdoc","end":"((}))\\\\s*|(?=\\\\*/)","endCaptures":{"1":{"name":"entity.name.type.instance.jsdoc"},"2":{"name":"punctuation.definition.bracket.curly.end.jsdoc"}},"patterns":[{"include":"#brackets"}]}]},"label":{"patterns":[{"begin":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(:)(?=\\\\s*\\\\{)","beginCaptures":{"1":{"name":"entity.name.label.ts"},"2":{"name":"punctuation.separator.label.ts"}},"end":"(?<=})","patterns":[{"include":"#decl-block"}]},{"captures":{"1":{"name":"entity.name.label.ts"},"2":{"name":"punctuation.separator.label.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(:)"}]},"literal":{"patterns":[{"include":"#numeric-literal"},{"include":"#boolean-literal"},{"include":"#null-literal"},{"include":"#undefined-literal"},{"include":"#numericConstant-literal"},{"include":"#array-literal"},{"include":"#this-literal"},{"include":"#super-literal"}]},"method-declaration":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(override)\\\\s+)?(?:\\\\b(p(?:ublic|rivate|rotected))\\\\s+)?(?:\\\\b(abstract)\\\\s+)?(?:\\\\b(async)\\\\s+)?\\\\s*\\\\b(constructor)\\\\b(?!:)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.modifier.async.ts"},"5":{"name":"storage.type.ts"}},"end":"(?=[,;}]|$)|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#method-declaration-name"},{"include":"#function-body"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(override)\\\\s+)?(?:\\\\b(p(?:ublic|rivate|rotected))\\\\s+)?(?:\\\\b(abstract)\\\\s+)?(?:\\\\b(async)\\\\s+)?(?:\\\\s*\\\\b(new)\\\\b(?!:)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))|(?:(\\\\*)\\\\s*)?)(?=\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.modifier.async.ts"},"5":{"name":"keyword.operator.new.ts"},"6":{"name":"keyword.generator.asterisk.ts"}},"end":"(?=[,;}]|$)|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#method-declaration-name"},{"include":"#function-body"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(override)\\\\s+)?(?:\\\\b(p(?:ublic|rivate|rotected))\\\\s+)?(?:\\\\b(abstract)\\\\s+)?(?:\\\\b(async)\\\\s+)?(?:\\\\b([gs]et)\\\\s+)?(?:(\\\\*)\\\\s*)?(?=\\\\s*((\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(\\\\??))\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.modifier.async.ts"},"5":{"name":"storage.type.property.ts"},"6":{"name":"keyword.generator.asterisk.ts"}},"end":"(?=[,;}]|$)|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#method-declaration-name"},{"include":"#function-body"}]}]},"method-declaration-name":{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(\\\\??)\\\\s*[(<])","end":"(?=[(<])","patterns":[{"include":"#string"},{"include":"#array-literal"},{"include":"#numeric-literal"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"meta.definition.method.ts entity.name.function.ts"},{"match":"\\\\?","name":"keyword.operator.optional.ts"}]},"namespace-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(namespace|module)\\\\s+(?=[\\"$\'_`[:alpha:]])","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.namespace.ts"}},"end":"(?<=})|(?=;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","name":"meta.namespace.declaration.ts","patterns":[{"include":"#comment"},{"include":"#string"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"entity.name.type.module.ts"},{"include":"#punctuation-accessor"},{"include":"#decl-block"}]},"new-expr":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(new)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.operator.new.ts"}},"end":"(?<=\\\\))|(?=[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))new(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))function((\\\\s+[$_[:alpha:]][$_[:alnum:]]*)|(\\\\s*\\\\())))","name":"new.expr.ts","patterns":[{"include":"#expression"}]},"null-literal":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))null(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.null.ts"},"numeric-literal":{"patterns":[{"captures":{"1":{"name":"storage.type.numeric.bigint.ts"}},"match":"\\\\b(?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$)","name":"constant.numeric.hex.ts"},{"captures":{"1":{"name":"storage.type.numeric.bigint.ts"}},"match":"\\\\b(?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$)","name":"constant.numeric.binary.ts"},{"captures":{"1":{"name":"storage.type.numeric.bigint.ts"}},"match":"\\\\b(?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$)","name":"constant.numeric.octal.ts"},{"captures":{"0":{"name":"constant.numeric.decimal.ts"},"1":{"name":"meta.delimiter.decimal.period.ts"},"2":{"name":"storage.type.numeric.bigint.ts"},"3":{"name":"meta.delimiter.decimal.period.ts"},"4":{"name":"storage.type.numeric.bigint.ts"},"5":{"name":"meta.delimiter.decimal.period.ts"},"6":{"name":"storage.type.numeric.bigint.ts"},"7":{"name":"storage.type.numeric.bigint.ts"},"8":{"name":"meta.delimiter.decimal.period.ts"},"9":{"name":"storage.type.numeric.bigint.ts"},"10":{"name":"meta.delimiter.decimal.period.ts"},"11":{"name":"storage.type.numeric.bigint.ts"},"12":{"name":"meta.delimiter.decimal.period.ts"},"13":{"name":"storage.type.numeric.bigint.ts"},"14":{"name":"storage.type.numeric.bigint.ts"}},"match":"(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$)"}]},"numericConstant-literal":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))NaN(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.nan.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Infinity(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.infinity.ts"}]},"object-binding-element":{"patterns":[{"include":"#comment"},{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(:))","end":"(?=[,}])","patterns":[{"include":"#object-binding-element-propertyName"},{"include":"#binding-element"}]},{"include":"#object-binding-pattern"},{"include":"#destructuring-variable-rest"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"}]},"object-binding-element-const":{"patterns":[{"include":"#comment"},{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(:))","end":"(?=[,}])","patterns":[{"include":"#object-binding-element-propertyName"},{"include":"#binding-element-const"}]},{"include":"#object-binding-pattern-const"},{"include":"#destructuring-variable-rest-const"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"}]},"object-binding-element-propertyName":{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(:))","end":"(:)","endCaptures":{"0":{"name":"punctuation.destructuring.ts"}},"patterns":[{"include":"#string"},{"include":"#array-literal"},{"include":"#numeric-literal"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"variable.object.property.ts"}]},"object-binding-pattern":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\{)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.object.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.ts"}},"patterns":[{"include":"#object-binding-element"}]},"object-binding-pattern-const":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\{)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.object.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.ts"}},"patterns":[{"include":"#object-binding-element-const"}]},"object-identifiers":{"patterns":[{"match":"([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*\\\\??\\\\.\\\\s*prototype\\\\b(?!\\\\$))","name":"support.class.ts"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"variable.other.constant.object.property.ts"},"4":{"name":"variable.other.object.property.ts"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(?:(#?\\\\p{upper}[$_\\\\d[:upper:]]*)|(#?[$_[:alpha:]][$_[:alnum:]]*))(?=\\\\s*\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*)"},{"captures":{"1":{"name":"variable.other.constant.object.ts"},"2":{"name":"variable.other.object.ts"}},"match":"(?:(\\\\p{upper}[$_\\\\d[:upper:]]*)|([$_[:alpha:]][$_[:alnum:]]*))(?=\\\\s*\\\\??\\\\.\\\\s*#?[$_[:alpha:]][$_[:alnum:]]*)"}]},"object-literal":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.objectliteral.ts","patterns":[{"include":"#object-member"}]},"object-literal-method-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(async)\\\\s+)?(?:\\\\b([gs]et)\\\\s+)?(?:(\\\\*)\\\\s*)?(?=\\\\s*((\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(\\\\??))\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()","beginCaptures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"storage.type.property.ts"},"3":{"name":"keyword.generator.asterisk.ts"}},"end":"(?=[,;}])|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#method-declaration-name"},{"include":"#function-body"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(async)\\\\s+)?(?:\\\\b([gs]et)\\\\s+)?(?:(\\\\*)\\\\s*)?(?=\\\\s*((\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(\\\\??))\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()","beginCaptures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"storage.type.property.ts"},"3":{"name":"keyword.generator.asterisk.ts"}},"end":"(?=[(<])","patterns":[{"include":"#method-declaration-name"}]}]},"object-member":{"patterns":[{"include":"#comment"},{"include":"#object-literal-method-declaration"},{"begin":"(?=\\\\[)","end":"(?=:)|((?<=])(?=\\\\s*[(<]))","name":"meta.object.member.ts meta.object-literal.key.ts","patterns":[{"include":"#comment"},{"include":"#array-literal"}]},{"begin":"(?=[\\"\'`])","end":"(?=:)|((?<=[\\"\'`])(?=((\\\\s*[(,<}])|(\\\\s+(as|satisifies)\\\\s+))))","name":"meta.object.member.ts meta.object-literal.key.ts","patterns":[{"include":"#comment"},{"include":"#string"}]},{"begin":"(?=\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$)))","end":"(?=:)|(?=\\\\s*([(,<}])|(\\\\s+as|satisifies\\\\s+))","name":"meta.object.member.ts meta.object-literal.key.ts","patterns":[{"include":"#comment"},{"include":"#numeric-literal"}]},{"begin":"(?<=[]\\"\'`])(?=\\\\s*[(<])","end":"(?=[,;}])|(?<=})","name":"meta.method.declaration.ts","patterns":[{"include":"#function-body"}]},{"captures":{"0":{"name":"meta.object-literal.key.ts"},"1":{"name":"constant.numeric.decimal.ts"}},"match":"(?![$_[:alpha:]])(\\\\d+)\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:)","name":"meta.object.member.ts"},{"captures":{"0":{"name":"meta.object-literal.key.ts"},"1":{"name":"entity.name.function.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:(\\\\s*/\\\\*([^*]|(\\\\*[^/]))*\\\\*/)*\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))","name":"meta.object.member.ts"},{"captures":{"0":{"name":"meta.object-literal.key.ts"}},"match":"[$_[:alpha:]][$_[:alnum:]]*\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:)","name":"meta.object.member.ts"},{"begin":"\\\\.\\\\.\\\\.","beginCaptures":{"0":{"name":"keyword.operator.spread.ts"}},"end":"(?=[,}])","name":"meta.object.member.ts","patterns":[{"include":"#expression"}]},{"captures":{"1":{"name":"variable.other.readwrite.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=[,}]|$|//|/\\\\*)","name":"meta.object.member.ts"},{"captures":{"1":{"name":"keyword.control.as.ts"},"2":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+(const)(?=\\\\s*([,}]|$))","name":"meta.object.member.ts"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(as)|(satisfies))\\\\s+","beginCaptures":{"1":{"name":"keyword.control.as.ts"},"2":{"name":"keyword.control.satisfies.ts"}},"end":"(?=[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|^|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as|satisifies)\\\\s+))","name":"meta.object.member.ts","patterns":[{"include":"#type"}]},{"begin":"(?=[$_[:alpha:]][$_[:alnum:]]*\\\\s*=)","end":"(?=[,}]|$|//|/\\\\*)","name":"meta.object.member.ts","patterns":[{"include":"#expression"}]},{"begin":":","beginCaptures":{"0":{"name":"meta.object-literal.key.ts punctuation.separator.key-value.ts"}},"end":"(?=[,}])","name":"meta.object.member.ts","patterns":[{"begin":"(?<=:)\\\\s*(async)?(?=\\\\s*(<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?<=\\\\))","patterns":[{"include":"#type-parameters"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression-inside-possibly-arrow-parens"}]}]},{"begin":"(?<=:)\\\\s*(async)?\\\\s*(\\\\()(?=\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))","beginCaptures":{"1":{"name":"storage.modifier.async.ts"},"2":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression-inside-possibly-arrow-parens"}]},{"begin":"(?<=:)\\\\s*(async)?\\\\s*(?=<\\\\s*$)","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?<=>)","patterns":[{"include":"#type-parameters"}]},{"begin":"(?<=>)\\\\s*(\\\\()(?=\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))","beginCaptures":{"1":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression-inside-possibly-arrow-parens"}]},{"include":"#possibly-arrow-return-type"},{"include":"#expression"}]},{"include":"#punctuation-comma"},{"include":"#decl-block"}]},"parameter-array-binding-pattern":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.array.ts"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.ts"}},"patterns":[{"include":"#parameter-binding-element"},{"include":"#punctuation-comma"}]},"parameter-binding-element":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numeric-literal"},{"include":"#regex"},{"include":"#parameter-object-binding-pattern"},{"include":"#parameter-array-binding-pattern"},{"include":"#destructuring-parameter-rest"},{"include":"#variable-initializer"}]},"parameter-name":{"patterns":[{"captures":{"1":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|protected|private|readonly)\\\\s+(?=(override|public|protected|private|readonly)\\\\s+)"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"entity.name.function.ts variable.language.this.ts"},"4":{"name":"entity.name.function.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)(?=\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"variable.parameter.ts variable.language.this.ts"},"4":{"name":"variable.parameter.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(override|public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)"}]},"parameter-object-binding-element":{"patterns":[{"include":"#comment"},{"begin":"(?=(\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$))|([$_[:alpha:]][$_[:alnum:]]*)|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+]))\\\\s*(:))","end":"(?=[,}])","patterns":[{"include":"#object-binding-element-propertyName"},{"include":"#parameter-binding-element"},{"include":"#paren-expression"}]},{"include":"#parameter-object-binding-pattern"},{"include":"#destructuring-parameter-rest"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"}]},"parameter-object-binding-pattern":{"begin":"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\{)","beginCaptures":{"1":{"name":"keyword.operator.rest.ts"},"2":{"name":"punctuation.definition.binding-pattern.object.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.ts"}},"patterns":[{"include":"#parameter-object-binding-element"}]},"parameter-type-annotation":{"patterns":[{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?=[),])|(?==[^>])","name":"meta.type.annotation.ts","patterns":[{"include":"#type"}]}]},"paren-expression":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression"}]},"paren-expression-possibly-arrow":{"patterns":[{"begin":"(?<=[(,=])\\\\s*(async)?(?=\\\\s*((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?<=\\\\))","patterns":[{"include":"#paren-expression-possibly-arrow-with-typeparameters"}]},{"begin":"(?<=[(,=]|=>|^return|[^$._[:alnum:]]return)\\\\s*(async)?(?=\\\\s*((((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*))?\\\\()|(<)|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)))\\\\s*$)","beginCaptures":{"1":{"name":"storage.modifier.async.ts"}},"end":"(?<=\\\\))","patterns":[{"include":"#paren-expression-possibly-arrow-with-typeparameters"}]},{"include":"#possibly-arrow-return-type"}]},"paren-expression-possibly-arrow-with-typeparameters":{"patterns":[{"include":"#type-parameters"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"patterns":[{"include":"#expression-inside-possibly-arrow-parens"}]}]},"possibly-arrow-return-type":{"begin":"(?<=\\\\)|^)\\\\s*(:)(?=\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*=>)","beginCaptures":{"1":{"name":"meta.arrow.ts meta.return.type.arrow.ts keyword.operator.type.annotation.ts"}},"contentName":"meta.arrow.ts meta.return.type.arrow.ts","end":"(?==>|\\\\{|^(\\\\s*(export|function|class|interface|let|var|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|const|import|enum|namespace|module|type|abstract|declare)\\\\s+))","patterns":[{"include":"#arrow-return-type-body"}]},"property-accessor":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(accessor|get|set)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.type.property.ts"},"punctuation-accessor":{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"}},"match":"(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d))"},"punctuation-comma":{"match":",","name":"punctuation.separator.comma.ts"},"punctuation-semicolon":{"match":";","name":"punctuation.terminator.statement.ts"},"qstring-double":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ts"}},"end":"(\\")|([^\\\\n\\\\\\\\])$","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"invalid.illegal.newline.ts"}},"name":"string.quoted.double.ts","patterns":[{"include":"#string-character-escape"}]},"qstring-single":{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ts"}},"end":"(\')|([^\\\\n\\\\\\\\])$","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"invalid.illegal.newline.ts"}},"name":"string.quoted.single.ts","patterns":[{"include":"#string-character-escape"}]},"regex":{"patterns":[{"begin":"(?<!\\\\+\\\\+|--|})(?<=[!(+,:=?\\\\[]|^return|[^$._[:alnum:]]return|^case|[^$._[:alnum:]]case|=>|&&|\\\\|\\\\||\\\\*/)\\\\s*(/)(?![*/])(?=(?:[^()/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[([^]\\\\\\\\]|\\\\\\\\.)+]|\\\\(([^)\\\\\\\\]|\\\\\\\\.)+\\\\))+/([dgimsuvy]+|(?![*/])|(?=/\\\\*))(?!\\\\s*[$0-9A-Z_a-z]))","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.ts"}},"end":"(/)([dgimsuvy]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"keyword.other.ts"}},"name":"string.regexp.ts","patterns":[{"include":"#regexp"}]},{"begin":"((?<![]$)_[:alnum:]]|\\\\+\\\\+|--|}|\\\\*/)|((?<=^return|[^$._[:alnum:]]return|^case|[^$._[:alnum:]]case))\\\\s*)/(?![*/])(?=(?:[^/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[([^]\\\\\\\\]|\\\\\\\\.)*])+/([dgimsuvy]+|(?![*/])|(?=/\\\\*))(?!\\\\s*[$0-9A-Z_a-z]))","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ts"}},"end":"(/)([dgimsuvy]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.ts"},"2":{"name":"keyword.other.ts"}},"name":"string.regexp.ts","patterns":[{"include":"#regexp"}]}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdfnrstvw]|\\\\.","name":"constant.other.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x\\\\h{2}|u\\\\h{4})","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"regexp":{"patterns":[{"match":"\\\\\\\\[Bb]|[$^]","name":"keyword.control.anchor.regexp"},{"captures":{"0":{"name":"keyword.other.back-reference.regexp"},"1":{"name":"variable.other.regexp"}},"match":"\\\\\\\\(?:[1-9]\\\\d*|k<([$A-Z_a-z][$\\\\w]*)>)"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!)|(\\\\?<=)|(\\\\?<!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"},"5":{"name":"meta.assertion.look-behind.regexp"},"6":{"name":"meta.assertion.negative-look-behind.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#regexp"}]},{"begin":"\\\\((?:(\\\\?:)|\\\\?<([$A-Z_a-z][$\\\\w]*)>)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"},"1":{"name":"punctuation.definition.group.no-capture.regexp"},"2":{"name":"variable.other.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#regexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"}]},"return-type":{"patterns":[{"begin":"(?<=\\\\))\\\\s*(:)(?=\\\\s*\\\\S)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?<![\\\\&:|])(?=$|^|[,;{}]|//)","name":"meta.return.type.ts","patterns":[{"include":"#return-type-core"}]},{"begin":"(?<=\\\\))\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?<![\\\\&:|])((?=[,;{}]|//|^\\\\s*$)|((?<=\\\\S)(?=\\\\s*$)))","name":"meta.return.type.ts","patterns":[{"include":"#return-type-core"}]}]},"return-type-core":{"patterns":[{"include":"#comment"},{"begin":"(?<=[\\\\&:|])(?=\\\\s*\\\\{)","end":"(?<=})","patterns":[{"include":"#type-object"}]},{"include":"#type-predicate-operator"},{"include":"#type"}]},"shebang":{"captures":{"1":{"name":"punctuation.definition.comment.ts"}},"match":"\\\\A(#!).*(?=$)","name":"comment.line.shebang.ts"},"single-line-comment-consuming-line-ending":{"begin":"(^[\\\\t ]+)?((//)(?:\\\\s*((@)internal)(?=\\\\s|$))?)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ts"},"2":{"name":"comment.line.double-slash.ts"},"3":{"name":"punctuation.definition.comment.ts"},"4":{"name":"storage.type.internaldeclaration.ts"},"5":{"name":"punctuation.decorator.internaldeclaration.ts"}},"contentName":"comment.line.double-slash.ts","end":"(?=^)"},"statements":{"patterns":[{"include":"#declaration"},{"include":"#control-statement"},{"include":"#after-operator-block-as-object-literal"},{"include":"#decl-block"},{"include":"#label"},{"include":"#expression"},{"include":"#punctuation-semicolon"},{"include":"#string"},{"include":"#comment"}]},"string":{"patterns":[{"include":"#qstring-single"},{"include":"#qstring-double"},{"include":"#template"}]},"string-character-escape":{"match":"\\\\\\\\(x\\\\h{2}|u\\\\h{4}|u\\\\{\\\\h+}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)","name":"constant.character.escape.ts"},"super-literal":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))super\\\\b(?!\\\\$)","name":"variable.language.super.ts"},"support-function-call-identifiers":{"patterns":[{"include":"#literal"},{"include":"#support-objects"},{"include":"#object-identifiers"},{"include":"#punctuation-accessor"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))import(?=\\\\s*\\\\(\\\\s*[\\"\'`])","name":"keyword.operator.expression.import.ts"}]},"support-objects":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(arguments)\\\\b(?!\\\\$)","name":"variable.language.arguments.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(Promise)\\\\b(?!\\\\$)","name":"support.class.promise.ts"},{"captures":{"1":{"name":"keyword.control.import.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"},"4":{"name":"support.variable.property.importmeta.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(import)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(meta)\\\\b(?!\\\\$)"},{"captures":{"1":{"name":"keyword.operator.new.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"},"4":{"name":"support.variable.property.target.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(new)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(target)\\\\b(?!\\\\$)"},{"captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"},"3":{"name":"support.variable.property.ts"},"4":{"name":"support.constant.ts"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(?:(constructor|length|prototype|__proto__)\\\\b(?!\\\\$|\\\\s*(<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\()|(EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY)\\\\b(?!\\\\$))"},{"captures":{"1":{"name":"support.type.object.module.ts"},"2":{"name":"support.type.object.module.ts"},"3":{"name":"punctuation.accessor.ts"},"4":{"name":"punctuation.accessor.optional.ts"},"5":{"name":"support.type.object.module.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(exports)|(module)(?:(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))(exports|id|filename|loaded|parent|children))?)\\\\b(?!\\\\$)"}]},"switch-statement":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?=\\\\bswitch\\\\s*\\\\()","end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"switch-statement.expr.ts","patterns":[{"include":"#comment"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(switch)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.switch.ts"},"2":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"name":"switch-expression.expr.ts","patterns":[{"include":"#expression"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"(?=})","name":"switch-block.expr.ts","patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(case|default(?=:))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.control.switch.ts"}},"end":"(?=:)","name":"case-clause.expr.ts","patterns":[{"include":"#expression"}]},{"begin":"(:)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"case-clause.expr.ts punctuation.definition.section.case-statement.ts"},"2":{"name":"meta.block.ts punctuation.definition.block.ts"}},"contentName":"meta.block.ts","end":"}","endCaptures":{"0":{"name":"meta.block.ts punctuation.definition.block.ts"}},"patterns":[{"include":"#statements"}]},{"captures":{"0":{"name":"case-clause.expr.ts punctuation.definition.section.case-statement.ts"}},"match":"(:)"},{"include":"#statements"}]}]},"template":{"patterns":[{"include":"#template-call"},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)?(`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"},"2":{"name":"string.template.ts punctuation.definition.string.template.begin.ts"}},"contentName":"string.template.ts","end":"`","endCaptures":{"0":{"name":"string.template.ts punctuation.definition.string.template.end.ts"}},"patterns":[{"include":"#template-substitution-element"},{"include":"#string-character-escape"}]}]},"template-call":{"patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*\\\\s*\\\\??\\\\.\\\\s*)*|(\\\\??\\\\.\\\\s*)?)([$_[:alpha:]][$_[:alnum:]]*)(<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?`)","end":"(?=`)","patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*\\\\s*\\\\??\\\\.\\\\s*)*|(\\\\??\\\\.\\\\s*)?)([$_[:alpha:]][$_[:alnum:]]*))","end":"(?=(<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?`)","patterns":[{"include":"#support-function-call-identifiers"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"entity.name.function.tagged-template.ts"}]},{"include":"#type-arguments"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)?\\\\s*(?=(<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"}},"end":"(?=`)","patterns":[{"include":"#type-arguments"}]}]},"template-substitution-element":{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.ts"}},"contentName":"meta.embedded.line.ts","end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.ts"}},"name":"meta.template.expression.ts","patterns":[{"include":"#expression"}]},"template-type":{"patterns":[{"include":"#template-call"},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)?(`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"},"2":{"name":"string.template.ts punctuation.definition.string.template.begin.ts"}},"contentName":"string.template.ts","end":"`","endCaptures":{"0":{"name":"string.template.ts punctuation.definition.string.template.end.ts"}},"patterns":[{"include":"#template-type-substitution-element"},{"include":"#string-character-escape"}]}]},"template-type-substitution-element":{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.ts"}},"contentName":"meta.embedded.line.ts","end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.ts"}},"name":"meta.template.expression.ts","patterns":[{"include":"#type"}]},"ternary-expression":{"begin":"(?!\\\\?\\\\.\\\\s*\\\\D)(\\\\?)(?!\\\\?)","beginCaptures":{"1":{"name":"keyword.operator.ternary.ts"}},"end":"\\\\s*(:)","endCaptures":{"1":{"name":"keyword.operator.ternary.ts"}},"patterns":[{"include":"#expression"}]},"this-literal":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))this\\\\b(?!\\\\$)","name":"variable.language.this.ts"},"type":{"patterns":[{"include":"#comment"},{"include":"#type-string"},{"include":"#numeric-literal"},{"include":"#type-primitive"},{"include":"#type-builtin-literals"},{"include":"#type-parameters"},{"include":"#type-tuple"},{"include":"#type-object"},{"include":"#type-operators"},{"include":"#type-conditional"},{"include":"#type-fn-type-parameters"},{"include":"#type-paren-or-function-parameters"},{"include":"#type-function-return-type"},{"captures":{"1":{"name":"storage.modifier.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(readonly)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*"},{"include":"#type-name"}]},"type-alias-declaration":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(type)\\\\b\\\\s+([$_[:alpha:]][$_[:alnum:]]*)\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.type.ts"},"4":{"name":"entity.name.type.alias.ts"}},"end":"(?=[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","name":"meta.type.declaration.ts","patterns":[{"include":"#comment"},{"include":"#type-parameters"},{"begin":"(=)\\\\s*(intrinsic)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"1":{"name":"keyword.operator.assignment.ts"},"2":{"name":"keyword.control.intrinsic.ts"}},"end":"(?=[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#type"}]},{"begin":"(=)\\\\s*","beginCaptures":{"1":{"name":"keyword.operator.assignment.ts"}},"end":"(?=[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#type"}]}]},"type-annotation":{"patterns":[{"begin":"(:)(?=\\\\s*\\\\S)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?<![\\\\&:|])(?!\\\\s*[\\\\&|]\\\\s+)((?=^|[]),;}]|//)|(?==[^>])|((?<=[]$)>_}[:alpha:]])\\\\s*(?=\\\\{)))","name":"meta.type.annotation.ts","patterns":[{"include":"#type"}]},{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ts"}},"end":"(?<![\\\\&:|])((?=[]),;}]|//)|(?==[^>])|(?=^\\\\s*$)|((?<=[]$)>_}[:alpha:]])\\\\s*(?=\\\\{)))","name":"meta.type.annotation.ts","patterns":[{"include":"#type"}]}]},"type-arguments":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.typeparameters.begin.ts"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.typeparameters.end.ts"}},"name":"meta.type.parameters.ts","patterns":[{"include":"#type-arguments-body"}]},"type-arguments-body":{"patterns":[{"captures":{"0":{"name":"keyword.operator.type.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(_)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))"},{"include":"#type"},{"include":"#punctuation-comma"}]},"type-builtin-literals":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(this|true|false|undefined|null|object)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"support.type.builtin.ts"},"type-conditional":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends)\\\\s+","beginCaptures":{"1":{"name":"storage.modifier.ts"}},"end":"(?<=:)","patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"keyword.operator.ternary.ts"}},"end":":","endCaptures":{"0":{"name":"keyword.operator.ternary.ts"}},"patterns":[{"include":"#type"}]},{"include":"#type"}]}]},"type-fn-type-parameters":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(abstract)\\\\s+)?(new)\\\\b(?=\\\\s*<)","beginCaptures":{"1":{"name":"meta.type.constructor.ts storage.modifier.ts"},"2":{"name":"meta.type.constructor.ts keyword.control.new.ts"}},"end":"(?<=>)","patterns":[{"include":"#comment"},{"include":"#type-parameters"}]},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(abstract)\\\\s+)?(new)\\\\b\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.control.new.ts"}},"end":"(?<=\\\\))","name":"meta.type.constructor.ts","patterns":[{"include":"#function-parameters"}]},{"begin":"((?=\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>))))))","end":"(?<=\\\\))","name":"meta.type.function.ts","patterns":[{"include":"#function-parameters"}]}]},"type-function-return-type":{"patterns":[{"begin":"(=>)(?=\\\\s*\\\\S)","beginCaptures":{"1":{"name":"storage.type.function.arrow.ts"}},"end":"(?<!=>)(?<![\\\\&|])(?=[]),:;=>?{}]|//|$)","name":"meta.type.function.return.ts","patterns":[{"include":"#type-function-return-type-core"}]},{"begin":"=>","beginCaptures":{"0":{"name":"storage.type.function.arrow.ts"}},"end":"(?<!=>)(?<![\\\\&|])((?=[]),:;=>?{}]|//|^\\\\s*$)|((?<=\\\\S)(?=\\\\s*$)))","name":"meta.type.function.return.ts","patterns":[{"include":"#type-function-return-type-core"}]}]},"type-function-return-type-core":{"patterns":[{"include":"#comment"},{"begin":"(?<==>)(?=\\\\s*\\\\{)","end":"(?<=})","patterns":[{"include":"#type-object"}]},{"include":"#type-predicate-operator"},{"include":"#type"}]},"type-infer":{"patterns":[{"captures":{"1":{"name":"keyword.operator.expression.infer.ts"},"2":{"name":"entity.name.type.ts"},"3":{"name":"keyword.operator.expression.extends.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(infer)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))(?:\\\\s+(extends)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))?","name":"meta.type.infer.ts"}]},"type-name":{"patterns":[{"begin":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(<)","captures":{"1":{"name":"entity.name.type.module.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"},"4":{"name":"meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts"}},"contentName":"meta.type.parameters.ts","end":"(>)","endCaptures":{"1":{"name":"meta.type.parameters.ts punctuation.definition.typeparameters.end.ts"}},"patterns":[{"include":"#type-arguments-body"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(<)","beginCaptures":{"1":{"name":"entity.name.type.ts"},"2":{"name":"meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts"}},"contentName":"meta.type.parameters.ts","end":"(>)","endCaptures":{"1":{"name":"meta.type.parameters.ts punctuation.definition.typeparameters.end.ts"}},"patterns":[{"include":"#type-arguments-body"}]},{"captures":{"1":{"name":"entity.name.type.module.ts"},"2":{"name":"punctuation.accessor.ts"},"3":{"name":"punctuation.accessor.optional.ts"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"entity.name.type.ts"}]},"type-object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ts"}},"name":"meta.object.type.ts","patterns":[{"include":"#comment"},{"include":"#method-declaration"},{"include":"#indexer-declaration"},{"include":"#indexer-mapped-type-declaration"},{"include":"#field-declaration"},{"include":"#type-annotation"},{"begin":"\\\\.\\\\.\\\\.","beginCaptures":{"0":{"name":"keyword.operator.spread.ts"}},"end":"(?=[,;}]|$)|(?<=})","patterns":[{"include":"#type"}]},{"include":"#punctuation-comma"},{"include":"#punctuation-semicolon"},{"include":"#type"}]},"type-operators":{"patterns":[{"include":"#typeof-operator"},{"include":"#type-infer"},{"begin":"([\\\\&|])(?=\\\\s*\\\\{)","beginCaptures":{"0":{"name":"keyword.operator.type.ts"}},"end":"(?<=})","patterns":[{"include":"#type-object"}]},{"begin":"[\\\\&|]","beginCaptures":{"0":{"name":"keyword.operator.type.ts"}},"end":"(?=\\\\S)"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))keyof(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.keyof.ts"},{"match":"([:?])","name":"keyword.operator.ternary.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))import(?=\\\\s*\\\\()","name":"keyword.operator.expression.import.ts"}]},"type-parameters":{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.typeparameters.begin.ts"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.typeparameters.end.ts"}},"name":"meta.type.parameters.ts","patterns":[{"include":"#comment"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends|in|out|const)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},{"include":"#type"},{"include":"#punctuation-comma"},{"match":"(=)(?!>)","name":"keyword.operator.assignment.ts"}]},"type-paren-or-function-parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ts"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ts"}},"name":"meta.type.paren.cover.ts","patterns":[{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"entity.name.function.ts variable.language.this.ts"},"4":{"name":"entity.name.function.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))\\\\s*(\\\\??)(?=\\\\s*(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))))"},{"captures":{"1":{"name":"storage.modifier.ts"},"2":{"name":"keyword.operator.rest.ts"},"3":{"name":"variable.parameter.ts variable.language.this.ts"},"4":{"name":"variable.parameter.ts"},"5":{"name":"keyword.operator.optional.ts"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(public|private|protected|readonly)\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))\\\\s*(\\\\??)(?=:)"},{"include":"#type-annotation"},{"match":",","name":"punctuation.separator.parameter.ts"},{"include":"#type"}]},"type-predicate-operator":{"patterns":[{"captures":{"1":{"name":"keyword.operator.type.asserts.ts"},"2":{"name":"variable.parameter.ts variable.language.this.ts"},"3":{"name":"variable.parameter.ts"},"4":{"name":"keyword.operator.expression.is.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(asserts)\\\\s+)?(?!asserts)(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))\\\\s(is)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))"},{"captures":{"1":{"name":"keyword.operator.type.asserts.ts"},"2":{"name":"variable.parameter.ts variable.language.this.ts"},"3":{"name":"variable.parameter.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(asserts)\\\\s+(?!is)(?:(this)|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))asserts(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.type.asserts.ts"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))is(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.operator.expression.is.ts"}]},"type-primitive":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(string|number|bigint|boolean|symbol|any|void|never|unknown)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"support.type.primitive.ts"},"type-string":{"patterns":[{"include":"#qstring-single"},{"include":"#qstring-double"},{"include":"#template-type"}]},"type-tuple":{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.brace.square.ts"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.ts"}},"name":"meta.type.tuple.ts","patterns":[{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.rest.ts"},{"captures":{"1":{"name":"entity.name.label.ts"},"2":{"name":"keyword.operator.optional.ts"},"3":{"name":"punctuation.separator.label.ts"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(\\\\?)?\\\\s*(:)"},{"include":"#type"},{"include":"#punctuation-comma"}]},"typeof-operator":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))typeof(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"0":{"name":"keyword.operator.expression.typeof.ts"}},"end":"(?=[]\\\\&),:;=>?{|}]|(extends\\\\s+)|$|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)","patterns":[{"include":"#type-arguments"},{"include":"#expression"}]},"undefined-literal":{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))undefined(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"constant.language.undefined.ts"},"var-expr":{"patterns":[{"begin":"(?=(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(var|let)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))","end":"(?!(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(var|let)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))((?=^|[;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)|((?<!^let|[^$._[:alnum:]]let|^var|[^$._[:alnum:]]var)(?=\\\\s*$)))","name":"meta.var.expr.ts","patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(var|let)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?=\\\\S)"},{"include":"#destructuring-variable"},{"include":"#var-single-variable"},{"include":"#variable-initializer"},{"include":"#comment"},{"begin":"(,)\\\\s*(?=$|//)","beginCaptures":{"1":{"name":"punctuation.separator.comma.ts"}},"end":"(?<!,)(((?=[;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|^\\\\s*$))|((?<=\\\\S)(?=\\\\s*$)))","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"include":"#destructuring-variable"},{"include":"#var-single-variable"},{"include":"#punctuation-comma"}]},{"include":"#punctuation-comma"}]},{"begin":"(?=(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(const(?!\\\\s+enum\\\\b))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?!(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(const(?!\\\\s+enum\\\\b))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))((?=^|[;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)|((?<!(?:^|[^$._[:alnum:]])const)(?=\\\\s*$)))","name":"meta.var.expr.ts","patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b(const(?!\\\\s+enum\\\\b))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?=\\\\S)"},{"include":"#destructuring-const"},{"include":"#var-single-const"},{"include":"#variable-initializer"},{"include":"#comment"},{"begin":"(,)\\\\s*(?=$|//)","beginCaptures":{"1":{"name":"punctuation.separator.comma.ts"}},"end":"(?<!,)(((?=[;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|^\\\\s*$))|((?<=\\\\S)(?=\\\\s*$)))","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"include":"#destructuring-const"},{"include":"#var-single-const"},{"include":"#punctuation-comma"}]},{"include":"#punctuation-comma"}]},{"begin":"(?=(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b\\\\b(using(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])|await\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b)\\\\b(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?!(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b\\\\b(using(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])|await\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b)\\\\b(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))((?=[;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b)|((?<!(?:^|[^$._[:alnum:]]|^await\\\\s+|[^$._[:alnum:]]await\\\\s+)using)(?=\\\\s*$)))","name":"meta.var.expr.ts","patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(export)\\\\s+)?(?:\\\\b(declare)\\\\s+)?\\\\b\\\\b(using(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])|await\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b)\\\\b(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.ts"}},"end":"(?=\\\\S)"},{"include":"#var-single-const"},{"include":"#variable-initializer"},{"include":"#comment"},{"begin":"(,)\\\\s*((?!\\\\S)|(?=//))","beginCaptures":{"1":{"name":"punctuation.separator.comma.ts"}},"end":"(?<!,)(((?=[;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|^\\\\s*$))|((?<=\\\\S)(?=\\\\s*$)))","patterns":[{"include":"#single-line-comment-consuming-line-ending"},{"include":"#comment"},{"include":"#var-single-const"},{"include":"#punctuation-comma"}]},{"include":"#punctuation-comma"}]}]},"var-single-const":{"patterns":[{"begin":"([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))","beginCaptures":{"1":{"name":"meta.definition.variable.ts variable.other.constant.ts entity.name.function.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"1":{"name":"meta.definition.variable.ts variable.other.constant.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]}]},"var-single-variable":{"patterns":[{"begin":"([$_[:alpha:]][$_[:alnum:]]*)(!)?(?=\\\\s*(=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))|(:\\\\s*((<)|(\\\\(\\\\s*((\\\\))|(\\\\.\\\\.\\\\.)|([$_[:alnum:]]+\\\\s*(([,:=?])|(\\\\)\\\\s*=>)))))))|(:\\\\s*(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))Function(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.)))|(:\\\\s*((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))))))|(:\\\\s*(=>|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(<[^<>]*>)|[^(),<=>])+=\\\\s*(((async\\\\s+)?((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((async\\\\s*)?(((<\\\\s*)$|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>))))))","beginCaptures":{"1":{"name":"meta.definition.variable.ts entity.name.function.ts"},"2":{"name":"keyword.operator.definiteassignment.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]},{"begin":"(\\\\p{upper}[$_\\\\d[:upper:]]*)(?![$_[:alnum:]])(!)?","beginCaptures":{"1":{"name":"meta.definition.variable.ts variable.other.constant.ts"},"2":{"name":"keyword.operator.definiteassignment.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)(!)?","beginCaptures":{"1":{"name":"meta.definition.variable.ts variable.other.readwrite.ts"},"2":{"name":"keyword.operator.definiteassignment.ts"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+)|(;|^\\\\s*$|^\\\\s*(?:abstract|async|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|var|while)\\\\b))","name":"meta.var-single-variable.expr.ts","patterns":[{"include":"#var-single-variable-type-annotation"}]}]},"var-single-variable-type-annotation":{"patterns":[{"include":"#type-annotation"},{"include":"#string"},{"include":"#comment"}]},"variable-initializer":{"patterns":[{"begin":"(?<![!=])(=)(?!=)(?=\\\\s*\\\\S)(?!\\\\s*.*=>\\\\s*$)","beginCaptures":{"1":{"name":"keyword.operator.assignment.ts"}},"end":"(?=$|^|[]),;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))","patterns":[{"include":"#expression"}]},{"begin":"(?<![!=])(=)(?!=)","beginCaptures":{"1":{"name":"keyword.operator.assignment.ts"}},"end":"(?=[]),;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(of|in)\\\\s+))|(?=^\\\\s*$)|(?<![-\\\\&*+/|])(?<=\\\\S)(?<!=)(?=\\\\s*$)","patterns":[{"include":"#expression"}]}]}},"scopeName":"source.ts","aliases":["ts","cts","mts"]}')),Kd=[Zd],Qd=Object.freeze(JSON.parse(`{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"')}])([^\\\\t\\\\n\\\\r \\"\\\\&');->\`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|('))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*(('))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=\`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;\`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\['\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}`)),Jd=[Qd],e1=Object.freeze(JSON.parse('{"displayName":"JSON","name":"json","patterns":[{"include":"#value"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.json"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.json"}},"name":"meta.structure.array.json","patterns":[{"include":"#value"},{"match":",","name":"punctuation.separator.array.json"},{"match":"[^]\\\\s]","name":"invalid.illegal.expected-array-separator.json"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.documentation.json"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.json"},{"captures":{"1":{"name":"punctuation.definition.comment.json"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.js"}]},"constant":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.json"},"number":{"match":"-?(?:0|[1-9]\\\\d*)(?:(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)?","name":"constant.numeric.json"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.json"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.json"}},"name":"meta.structure.dictionary.json","patterns":[{"include":"#objectkey"},{"include":"#comments"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.dictionary.key-value.json"}},"end":"(,)|(?=})","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.json"}},"name":"meta.structure.dictionary.value.json","patterns":[{"include":"#value"},{"match":"[^,\\\\s]","name":"invalid.illegal.expected-dictionary-separator.json"}]},{"match":"[^}\\\\s]","name":"invalid.illegal.expected-dictionary-separator.json"}]},"objectkey":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.support.type.property-name.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.support.type.property-name.end.json"}},"name":"string.json support.type.property-name.json","patterns":[{"include":"#stringcontent"}]},"string":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.json"}},"name":"string.quoted.double.json","patterns":[{"include":"#stringcontent"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\(?:[\\"/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.json"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.json"}]},"value":{"patterns":[{"include":"#constant"},{"include":"#number"},{"include":"#string"},{"include":"#array"},{"include":"#object"},{"include":"#comments"}]}},"scopeName":"source.json"}')),t1=[e1],n1={};function r1(e,t){const n=n1,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ll(e,r,a)}o(r1,"Yd");function Ll(e,t,n){if(a1(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ol(e.children,t,n)}return Array.isArray(e)?Ol(e,t,n):""}o(Ll,"q0");function Ol(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=Ll(e[a],t,n);return r.join("")}o(Ol,"zo");function a1(e){return!!(e&&typeof e=="object")}o(a1,"Zd");const Fl=document.createElement("i");function zs(e){const t="&"+e+";";Fl.innerHTML=t;const n=Fl.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}o(zs,"xs");function nt(e,t,n,r){const a=e.length;let s=0,i;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}o(nt,"tt");function ct(e,t){return e.length>0?(nt(e,e.length,0,t),e):t}o(ct,"lt");const ql={}.hasOwnProperty;function jl(e){const t={};let n=-1;for(;++n<e.length;)s1(t,e[n]);return t}o(jl,"j0");function s1(e,t){let n;for(n in t){const r=(ql.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){ql.call(r,s)||(r[s]=[]);const i=a[s];i1(r[s],Array.isArray(i)?i:i?[i]:[])}}}o(s1,"Kd");function i1(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);nt(e,0,0,r)}o(i1,"Qd");function Dl(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}o(Dl,"G0");function gt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}o(gt,"vt");const Ge=Vt(/[A-Za-z]/),Fe=Vt(/[\dA-Za-z]/),o1=Vt(/[#-'*+\--9=?A-Z^-~]/);function aa(e){return e!==null&&(e<32||e===127)}o(aa,"oa");const Es=Vt(/\d/),l1=Vt(/[\dA-Fa-f]/),c1=Vt(/[!-/:-@[-`{-~]/);function Z(e){return e!==null&&e<-2}o(Z,"Y");function ge(e){return e!==null&&(e<0||e===32)}o(ge,"fe");function le(e){return e===-2||e===-1||e===32}o(le,"oe");const pr=Vt(new RegExp("\\p{P}|\\p{S}","u")),fn=Vt(/\s/);function Vt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}o(Vt,"an");function u1(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let i="";if(s===37&&Fe(e.charCodeAt(n+1))&&Fe(e.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(i=String.fromCharCode(s));else if(s>55295&&s<57344){const l=e.charCodeAt(n+1);s<56320&&l>56319&&l<57344?(i=String.fromCharCode(s,l),a=1):i="�"}else i=String.fromCharCode(s);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}o(u1,"E5");function ie(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let s=0;return i;function i(c){return le(c)?(e.enter(n),l(c)):t(c)}function l(c){return le(c)&&s++<a?(e.consume(c),l):(e.exit(n),t(c))}}o(ie,"ie");const p1={tokenize:h1};function h1(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ie(e,t,"linePrefix")}function a(l){return e.enter("paragraph"),s(l)}function s(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,i(l)}function i(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return Z(l)?(e.consume(l),e.exit("chunkText"),s):(e.consume(l),i)}}o(h1,"r1");const m1={tokenize:d1},Hl={tokenize:g1};function d1(e){const t=this,n=[];let r=0,a,s,i;return l;function l(M){if(r<n.length){const E=n[r];return t.containerState=E[1],e.attempt(E[0].continuation,c,u)(M)}return u(M)}function c(M){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&_();const E=t.events.length;let P=E,I;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){I=t.events[P][1].end;break}k(r);let L=E;for(;L<t.events.length;)t.events[L][1].end={...I},L++;return nt(t.events,P+1,0,t.events.slice(E)),t.events.length=L,u(M)}return l(M)}function u(M){if(r===n.length){if(!a)return f(M);if(a.currentConstruct&&a.currentConstruct.concrete)return y(M);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Hl,m,p)(M)}function m(M){return a&&_(),k(r),f(M)}function p(M){return t.parser.lazy[t.now().line]=r!==n.length,i=t.now().offset,y(M)}function f(M){return t.containerState={},e.attempt(Hl,g,y)(M)}function g(M){return r++,n.push([t.currentConstruct,t.containerState]),f(M)}function y(M){if(M===null){a&&_(),k(0),e.consume(M);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),$(M)}function $(M){if(M===null){T(e.exit("chunkFlow"),!0),k(0),e.consume(M);return}return Z(M)?(e.consume(M),T(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(M),$)}function T(M,E){const P=t.sliceStream(M);if(E&&P.push(null),M.previous=s,s&&(s.next=M),s=M,a.defineSkip(M.start),a.write(P),t.parser.lazy[M.start.line]){let I=a.events.length;for(;I--;)if(a.events[I][1].start.offset<i&&(!a.events[I][1].end||a.events[I][1].end.offset>i))return;const L=t.events.length;let U=L,V,z;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){if(V){z=t.events[U][1].end;break}V=!0}for(k(r),I=L;I<t.events.length;)t.events[I][1].end={...z},I++;nt(t.events,U+1,0,t.events.slice(L)),t.events.length=I}}function k(M){let E=n.length;for(;E-- >M;){const P=n[E];t.containerState=P[1],P[0].exit.call(t,e)}n.length=M}function _(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}o(d1,"i1");function g1(e,t,n){return ie(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}o(g1,"s1");function hr(e){if(e===null||ge(e)||fn(e))return 1;if(pr(e))return 2}o(hr,"la");function sa(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}o(sa,"$a");const ia={name:"attention",resolveAll:f1,tokenize:b1};function f1(e,t){let n=-1,r,a,s,i,l,c,u,m;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[r][1].end},f={...e[n][1].start};Gl(p,-c),Gl(f,c),i={type:c>1?"strongSequence":"emphasisSequence",start:p,end:{...e[r][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},s={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:c>1?"strong":"emphasis",start:{...i.start},end:{...l.end}},e[r][1].end={...i.start},e[n][1].start={...l.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=ct(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=ct(u,[["enter",a,t],["enter",i,t],["exit",i,t],["enter",s,t]]),u=ct(u,sa(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=ct(u,[["exit",s,t],["enter",l,t],["exit",l,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,u=ct(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):m=0,nt(e,r-1,n-r+3,u),n=r+u.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}o(f1,"o1");function b1(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=hr(r);let s;return i;function i(c){return s=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===s)return e.consume(c),l;const u=e.exit("attentionSequence"),m=hr(c),p=!m||m===2&&a||n.includes(c),f=!a||a===2&&m||n.includes(r);return u._open=!!(s===42?p:p&&(a||!f)),u._close=!!(s===42?f:f&&(m||!p)),t(c)}}o(b1,"l1");function Gl(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}o(Gl,"Do");const y1={name:"autolink",tokenize:v1};function v1(e,t,n){let r=0;return a;function a(g){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(g){return Ge(g)?(e.consume(g),i):g===64?n(g):u(g)}function i(g){return g===43||g===45||g===46||Fe(g)?(r=1,l(g)):u(g)}function l(g){return g===58?(e.consume(g),r=0,c):(g===43||g===45||g===46||Fe(g))&&r++<32?(e.consume(g),l):(r=0,u(g))}function c(g){return g===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):g===null||g===32||g===60||aa(g)?n(g):(e.consume(g),c)}function u(g){return g===64?(e.consume(g),m):o1(g)?(e.consume(g),u):n(g)}function m(g){return Fe(g)?p(g):n(g)}function p(g){return g===46?(e.consume(g),r=0,m):g===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):f(g)}function f(g){if((g===45||Fe(g))&&r++<63){const y=g===45?f:p;return e.consume(g),y}return n(g)}}o(v1,"c1");const mr={partial:!0,tokenize:w1};function w1(e,t,n){return r;function r(s){return le(s)?ie(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||Z(s)?t(s):n(s)}}o(w1,"m1");const Ul={continuation:{tokenize:k1},exit:_1,name:"blockQuote",tokenize:x1};function x1(e,t,n){const r=this;return a;function a(i){if(i===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),s}return n(i)}function s(i){return le(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(i))}}o(x1,"h1");function k1(e,t,n){const r=this;return a;function a(i){return le(i)?ie(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):s(i)}function s(i){return e.attempt(Ul,t,n)(i)}}o(k1,"p1");function _1(e){e.exit("blockQuote")}o(_1,"d1");const Wl={name:"characterEscape",tokenize:$1};function $1(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return c1(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}o($1,"f1");const Vl={name:"characterReference",tokenize:S1};function S1(e,t,n){const r=this;let a=0,s,i;return l;function l(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),c}function c(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),s=31,i=Fe,m(p))}function u(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,i=l1,m):(e.enter("characterReferenceValue"),s=7,i=Es,m(p))}function m(p){if(p===59&&a){const f=e.exit("characterReferenceValue");return i===Fe&&!zs(r.sliceSerialize(f))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return i(p)&&a++<s?(e.consume(p),m):n(p)}}o(S1,"g1");const Xl={partial:!0,tokenize:A1},Yl={concrete:!0,name:"codeFenced",tokenize:C1};function C1(e,t,n){const r=this,a={partial:!0,tokenize:P};let s=0,i=0,l;return c;function c(I){return u(I)}function u(I){const L=r.events[r.events.length-1];return s=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,l=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(I)}function m(I){return I===l?(i++,e.consume(I),m):i<3?n(I):(e.exit("codeFencedFenceSequence"),le(I)?ie(e,p,"whitespace")(I):p(I))}function p(I){return I===null||Z(I)?(e.exit("codeFencedFence"),r.interrupt?t(I):e.check(Xl,$,E)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(I))}function f(I){return I===null||Z(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(I)):le(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ie(e,g,"whitespace")(I)):I===96&&I===l?n(I):(e.consume(I),f)}function g(I){return I===null||Z(I)?p(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(I))}function y(I){return I===null||Z(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(I)):I===96&&I===l?n(I):(e.consume(I),y)}function $(I){return e.attempt(a,E,T)(I)}function T(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),k}function k(I){return s>0&&le(I)?ie(e,_,"linePrefix",s+1)(I):_(I)}function _(I){return I===null||Z(I)?e.check(Xl,$,E)(I):(e.enter("codeFlowValue"),M(I))}function M(I){return I===null||Z(I)?(e.exit("codeFlowValue"),_(I)):(e.consume(I),M)}function E(I){return e.exit("codeFenced"),t(I)}function P(I,L,U){let V=0;return z;function z(K){return I.enter("lineEnding"),I.consume(K),I.exit("lineEnding"),G}function G(K){return I.enter("codeFencedFence"),le(K)?ie(I,W,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(K):W(K)}function W(K){return K===l?(I.enter("codeFencedFenceSequence"),ae(K)):U(K)}function ae(K){return K===l?(V++,I.consume(K),ae):V>=i?(I.exit("codeFencedFenceSequence"),le(K)?ie(I,oe,"whitespace")(K):oe(K)):U(K)}function oe(K){return K===null||Z(K)?(I.exit("codeFencedFence"),L(K)):U(K)}}}o(C1,"b1");function A1(e,t,n){const r=this;return a;function a(i){return i===null?n(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}o(A1,"y1");const Ns={name:"codeIndented",tokenize:I1},T1={partial:!0,tokenize:M1};function I1(e,t,n){const r=this;return a;function a(u){return e.enter("codeIndented"),ie(e,s,"linePrefix",5)(u)}function s(u){const m=r.events[r.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?i(u):n(u)}function i(u){return u===null?c(u):Z(u)?e.attempt(T1,i,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||Z(u)?(e.exit("codeFlowValue"),i(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}o(I1,"w1");function M1(e,t,n){const r=this;return a;function a(i){return r.parser.lazy[r.now().line]?n(i):Z(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):ie(e,s,"linePrefix",5)(i)}function s(i){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):Z(i)?a(i):n(i)}}o(M1,"x1");const z1={name:"codeText",previous:N1,resolve:E1,tokenize:B1};function E1(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}o(E1,"_1");function N1(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}o(N1,"$1");function B1(e,t,n){let r=0,a,s;return i;function i(p){return e.enter("codeText"),e.enter("codeTextSequence"),l(p)}function l(p){return p===96?(e.consume(p),r++,l):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(s=e.enter("codeTextSequence"),a=0,m(p)):Z(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||Z(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),u)}function m(p){return p===96?(e.consume(p),a++,m):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(s.type="codeTextData",u(p))}}o(B1,"C1");class R1{static{o(this,"S1")}constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&dr(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),dr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),dr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);dr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);dr(this.left,n.reverse())}}}function dr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}o(dr,"Jn");function Zl(e){const t={};let n=-1,r,a,s,i,l,c,u;const m=new R1(e);for(;++n<m.length;){for(;n in t;)n=t[n];if(r=m.get(n),n&&r[1].type==="chunkFlow"&&m.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,s=0,s<c.length&&c[s][1].type==="lineEndingBlank"&&(s+=2),s<c.length&&c[s][1].type==="content"))for(;++s<c.length&&c[s][1].type!=="content";)c[s][1].type==="chunkText"&&(c[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,P1(m,n)),n=t[n],u=!0);else if(r[1]._container){for(s=n,a=void 0;s--;)if(i=m.get(s),i[1].type==="lineEnding"||i[1].type==="lineEndingBlank")i[0]==="enter"&&(a&&(m.get(a)[1].type="lineEndingBlank"),i[1].type="lineEnding",a=s);else if(!(i[1].type==="linePrefix"||i[1].type==="listItemIndent"))break;a&&(r[1].end={...m.get(a)[1].start},l=m.slice(a,n),l.unshift(r),m.splice(a,n-a+1,l))}}return nt(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!u}o(Zl,"V0");function P1(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const s=[];let i=n._tokenizer;i||(i=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(i._contentTypeTextTrailing=!0));const l=i.events,c=[],u={};let m,p,f=-1,g=n,y=0,$=0;const T=[$];for(;g;){for(;e.get(++a)[1]!==g;);s.push(a),g._tokenizer||(m=r.sliceStream(g),g.next||m.push(null),p&&i.defineSkip(g.start),g._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(m),g._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),p=g,g=g.next}for(g=n;++f<l.length;)l[f][0]==="exit"&&l[f-1][0]==="enter"&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&($=f+1,T.push($),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(i.events=[],g?(g._tokenizer=void 0,g.previous=void 0):T.pop(),f=T.length;f--;){const k=l.slice(T[f],T[f+1]),_=s.pop();c.push([_,_+k.length-1]),e.splice(_,2,k)}for(c.reverse(),f=-1;++f<c.length;)u[y+c[f][0]]=y+c[f][1],y+=c[f][1]-c[f][0]-1;return u}o(P1,"A1");const L1={resolve:F1,tokenize:q1},O1={partial:!0,tokenize:j1};function F1(e){return Zl(e),e}o(F1,"M1");function q1(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(l)}function a(l){return l===null?s(l):Z(l)?e.check(O1,i,s)(l):(e.consume(l),a)}function s(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function i(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}o(q1,"I1");function j1(e,t,n){const r=this;return a;function a(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),ie(e,s,"linePrefix")}function s(i){if(i===null||Z(i))return n(i);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}o(j1,"z1");function Kl(e,t,n,r,a,s,i,l,c){const u=c||Number.POSITIVE_INFINITY;let m=0;return p;function p(k){return k===60?(e.enter(r),e.enter(a),e.enter(s),e.consume(k),e.exit(s),f):k===null||k===32||k===41||aa(k)?n(k):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),$(k))}function f(k){return k===62?(e.enter(s),e.consume(k),e.exit(s),e.exit(a),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),g(k))}function g(k){return k===62?(e.exit("chunkString"),e.exit(l),f(k)):k===null||k===60||Z(k)?n(k):(e.consume(k),k===92?y:g)}function y(k){return k===60||k===62||k===92?(e.consume(k),g):g(k)}function $(k){return!m&&(k===null||k===41||ge(k))?(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(k)):m<u&&k===40?(e.consume(k),m++,$):k===41?(e.consume(k),m--,$):k===null||k===32||k===40||aa(k)?n(k):(e.consume(k),k===92?T:$)}function T(k){return k===40||k===41||k===92?(e.consume(k),$):$(k)}}o(Kl,"X0");function Ql(e,t,n,r,a,s){const i=this;let l=0,c;return u;function u(g){return e.enter(r),e.enter(a),e.consume(g),e.exit(a),e.enter(s),m}function m(g){return l>999||g===null||g===91||g===93&&!c||g===94&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?n(g):g===93?(e.exit(s),e.enter(a),e.consume(g),e.exit(a),e.exit(r),t):Z(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===null||g===91||g===93||Z(g)||l++>999?(e.exit("chunkString"),m(g)):(e.consume(g),c||(c=!le(g)),g===92?f:p)}function f(g){return g===91||g===92||g===93?(e.consume(g),l++,p):p(g)}}o(Ql,"Y0");function Jl(e,t,n,r,a,s){let i;return l;function l(f){return f===34||f===39||f===40?(e.enter(r),e.enter(a),e.consume(f),e.exit(a),i=f===40?41:f,c):n(f)}function c(f){return f===i?(e.enter(a),e.consume(f),e.exit(a),e.exit(r),t):(e.enter(s),u(f))}function u(f){return f===i?(e.exit(s),c(i)):f===null?n(f):Z(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),ie(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(f))}function m(f){return f===i||f===null||Z(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?p:m)}function p(f){return f===i||f===92?(e.consume(f),m):m(f)}}o(Jl,"Z0");function gr(e,t){let n;return r;function r(a){return Z(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):le(a)?ie(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}o(gr,"ar");const D1={name:"definition",tokenize:G1},H1={partial:!0,tokenize:U1};function G1(e,t,n){const r=this;let a;return s;function s(g){return e.enter("definition"),i(g)}function i(g){return Ql.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function l(g){return a=gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),c):n(g)}function c(g){return ge(g)?gr(e,u)(g):u(g)}function u(g){return Kl(e,m,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function m(g){return e.attempt(H1,p,p)(g)}function p(g){return le(g)?ie(e,f,"whitespace")(g):f(g)}function f(g){return g===null||Z(g)?(e.exit("definition"),r.parser.defined.push(a),t(g)):n(g)}}o(G1,"B1");function U1(e,t,n){return r;function r(l){return ge(l)?gr(e,a)(l):n(l)}function a(l){return Jl(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function s(l){return le(l)?ie(e,i,"whitespace")(l):i(l)}function i(l){return l===null||Z(l)?t(l):n(l)}}o(U1,"D1");const W1={name:"hardBreakEscape",tokenize:V1};function V1(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return Z(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}o(V1,"F1");const X1={name:"headingAtx",resolve:Y1,tokenize:Z1};function Y1(e,t){let n=e.length-2,r=3,a,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},nt(e,r,n-r+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}o(Y1,"O1");function Z1(e,t,n){let r=0;return a;function a(m){return e.enter("atxHeading"),s(m)}function s(m){return e.enter("atxHeadingSequence"),i(m)}function i(m){return m===35&&r++<6?(e.consume(m),i):m===null||ge(m)?(e.exit("atxHeadingSequence"),l(m)):n(m)}function l(m){return m===35?(e.enter("atxHeadingSequence"),c(m)):m===null||Z(m)?(e.exit("atxHeading"),t(m)):le(m)?ie(e,l,"whitespace")(m):(e.enter("atxHeadingText"),u(m))}function c(m){return m===35?(e.consume(m),c):(e.exit("atxHeadingSequence"),l(m))}function u(m){return m===null||m===35||ge(m)?(e.exit("atxHeadingText"),l(m)):(e.consume(m),u)}}o(Z1,"q1");const K1=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ec=["pre","script","style","textarea"],Q1={concrete:!0,name:"htmlFlow",resolveTo:tg,tokenize:ng},J1={partial:!0,tokenize:ag},eg={partial:!0,tokenize:rg};function tg(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}o(tg,"W1");function ng(e,t,n){const r=this;let a,s,i,l,c;return u;function u(C){return m(C)}function m(C){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(C),p}function p(C){return C===33?(e.consume(C),f):C===47?(e.consume(C),s=!0,$):C===63?(e.consume(C),a=3,r.interrupt?t:S):Ge(C)?(e.consume(C),i=String.fromCharCode(C),T):n(C)}function f(C){return C===45?(e.consume(C),a=2,g):C===91?(e.consume(C),a=5,l=0,y):Ge(C)?(e.consume(C),a=4,r.interrupt?t:S):n(C)}function g(C){return C===45?(e.consume(C),r.interrupt?t:S):n(C)}function y(C){const Ye="CDATA[";return C===Ye.charCodeAt(l++)?(e.consume(C),l===Ye.length?r.interrupt?t:W:y):n(C)}function $(C){return Ge(C)?(e.consume(C),i=String.fromCharCode(C),T):n(C)}function T(C){if(C===null||C===47||C===62||ge(C)){const Ye=C===47,St=i.toLowerCase();return!Ye&&!s&&ec.includes(St)?(a=1,r.interrupt?t(C):W(C)):K1.includes(i.toLowerCase())?(a=6,Ye?(e.consume(C),k):r.interrupt?t(C):W(C)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(C):s?_(C):M(C))}return C===45||Fe(C)?(e.consume(C),i+=String.fromCharCode(C),T):n(C)}function k(C){return C===62?(e.consume(C),r.interrupt?t:W):n(C)}function _(C){return le(C)?(e.consume(C),_):z(C)}function M(C){return C===47?(e.consume(C),z):C===58||C===95||Ge(C)?(e.consume(C),E):le(C)?(e.consume(C),M):z(C)}function E(C){return C===45||C===46||C===58||C===95||Fe(C)?(e.consume(C),E):P(C)}function P(C){return C===61?(e.consume(C),I):le(C)?(e.consume(C),P):M(C)}function I(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),c=C,L):le(C)?(e.consume(C),I):U(C)}function L(C){return C===c?(e.consume(C),c=null,V):C===null||Z(C)?n(C):(e.consume(C),L)}function U(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||ge(C)?P(C):(e.consume(C),U)}function V(C){return C===47||C===62||le(C)?M(C):n(C)}function z(C){return C===62?(e.consume(C),G):n(C)}function G(C){return C===null||Z(C)?W(C):le(C)?(e.consume(C),G):n(C)}function W(C){return C===45&&a===2?(e.consume(C),pe):C===60&&a===1?(e.consume(C),he):C===62&&a===4?(e.consume(C),Le):C===63&&a===3?(e.consume(C),S):C===93&&a===5?(e.consume(C),Re):Z(C)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(J1,Se,ae)(C)):C===null||Z(C)?(e.exit("htmlFlowData"),ae(C)):(e.consume(C),W)}function ae(C){return e.check(eg,oe,Se)(C)}function oe(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),K}function K(C){return C===null||Z(C)?ae(C):(e.enter("htmlFlowData"),W(C))}function pe(C){return C===45?(e.consume(C),S):W(C)}function he(C){return C===47?(e.consume(C),i="",De):W(C)}function De(C){if(C===62){const Ye=i.toLowerCase();return ec.includes(Ye)?(e.consume(C),Le):W(C)}return Ge(C)&&i.length<8?(e.consume(C),i+=String.fromCharCode(C),De):W(C)}function Re(C){return C===93?(e.consume(C),S):W(C)}function S(C){return C===62?(e.consume(C),Le):C===45&&a===2?(e.consume(C),S):W(C)}function Le(C){return C===null||Z(C)?(e.exit("htmlFlowData"),Se(C)):(e.consume(C),Le)}function Se(C){return e.exit("htmlFlow"),t(C)}}o(ng,"V1");function rg(e,t,n){const r=this;return a;function a(i){return Z(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s):n(i)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}o(rg,"X1");function ag(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(mr,t,n)}}o(ag,"Y1");const sg={name:"htmlText",tokenize:ig};function ig(e,t,n){const r=this;let a,s,i;return l;function l(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),c}function c(S){return S===33?(e.consume(S),u):S===47?(e.consume(S),P):S===63?(e.consume(S),M):Ge(S)?(e.consume(S),U):n(S)}function u(S){return S===45?(e.consume(S),m):S===91?(e.consume(S),s=0,y):Ge(S)?(e.consume(S),_):n(S)}function m(S){return S===45?(e.consume(S),g):n(S)}function p(S){return S===null?n(S):S===45?(e.consume(S),f):Z(S)?(i=p,he(S)):(e.consume(S),p)}function f(S){return S===45?(e.consume(S),g):p(S)}function g(S){return S===62?pe(S):S===45?f(S):p(S)}function y(S){const Le="CDATA[";return S===Le.charCodeAt(s++)?(e.consume(S),s===Le.length?$:y):n(S)}function $(S){return S===null?n(S):S===93?(e.consume(S),T):Z(S)?(i=$,he(S)):(e.consume(S),$)}function T(S){return S===93?(e.consume(S),k):$(S)}function k(S){return S===62?pe(S):S===93?(e.consume(S),k):$(S)}function _(S){return S===null||S===62?pe(S):Z(S)?(i=_,he(S)):(e.consume(S),_)}function M(S){return S===null?n(S):S===63?(e.consume(S),E):Z(S)?(i=M,he(S)):(e.consume(S),M)}function E(S){return S===62?pe(S):M(S)}function P(S){return Ge(S)?(e.consume(S),I):n(S)}function I(S){return S===45||Fe(S)?(e.consume(S),I):L(S)}function L(S){return Z(S)?(i=L,he(S)):le(S)?(e.consume(S),L):pe(S)}function U(S){return S===45||Fe(S)?(e.consume(S),U):S===47||S===62||ge(S)?V(S):n(S)}function V(S){return S===47?(e.consume(S),pe):S===58||S===95||Ge(S)?(e.consume(S),z):Z(S)?(i=V,he(S)):le(S)?(e.consume(S),V):pe(S)}function z(S){return S===45||S===46||S===58||S===95||Fe(S)?(e.consume(S),z):G(S)}function G(S){return S===61?(e.consume(S),W):Z(S)?(i=G,he(S)):le(S)?(e.consume(S),G):V(S)}function W(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),a=S,ae):Z(S)?(i=W,he(S)):le(S)?(e.consume(S),W):(e.consume(S),oe)}function ae(S){return S===a?(e.consume(S),a=void 0,K):S===null?n(S):Z(S)?(i=ae,he(S)):(e.consume(S),ae)}function oe(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||ge(S)?V(S):(e.consume(S),oe)}function K(S){return S===47||S===62||ge(S)?V(S):n(S)}function pe(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function he(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),De}function De(S){return le(S)?ie(e,Re,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):Re(S)}function Re(S){return e.enter("htmlTextData"),i(S)}}o(ig,"K1");const Bs={name:"labelEnd",resolveAll:ug,resolveTo:pg,tokenize:hg},og={tokenize:mg},lg={tokenize:dg},cg={tokenize:gg};function ug(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&nt(e,0,e.length,n),e}o(ug,"tf");function pg(e,t){let n=e.length,r=0,a,s,i,l;for(;n--;)if(a=e[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(i){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(i=n);const c={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[s][1].start},end:{...e[i][1].end}},m={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[i-2][1].start}};return l=[["enter",c,t],["enter",u,t]],l=ct(l,e.slice(s+1,s+r+3)),l=ct(l,[["enter",m,t]]),l=ct(l,sa(t.parser.constructs.insideSpan.null,e.slice(s+r+4,i-3),t)),l=ct(l,[["exit",m,t],e[i-2],e[i-1],["exit",u,t]]),l=ct(l,e.slice(i+1)),l=ct(l,[["exit",c,t]]),nt(e,s,e.length,l),e}o(pg,"nf");function hg(e,t,n){const r=this;let a=r.events.length,s,i;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){s=r.events[a][1];break}return l;function l(f){return s?s._inactive?p(f):(i=r.parser.defined.includes(gt(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),c):n(f)}function c(f){return f===40?e.attempt(og,m,i?m:p)(f):f===91?e.attempt(lg,m,i?u:p)(f):i?m(f):p(f)}function u(f){return e.attempt(cg,m,p)(f)}function m(f){return t(f)}function p(f){return s._balanced=!0,n(f)}}o(hg,"rf");function mg(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),a}function a(p){return ge(p)?gr(e,s)(p):s(p)}function s(p){return p===41?m(p):Kl(e,i,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function i(p){return ge(p)?gr(e,c)(p):m(p)}function l(p){return n(p)}function c(p){return p===34||p===39||p===40?Jl(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):m(p)}function u(p){return ge(p)?gr(e,m)(p):m(p)}function m(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}o(mg,"af");function dg(e,t,n){const r=this;return a;function a(l){return Ql.call(r,e,s,i,"reference","referenceMarker","referenceString")(l)}function s(l){return r.parser.defined.includes(gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function i(l){return n(l)}}o(dg,"sf");function gg(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}o(gg,"of");const fg={name:"labelStartImage",resolveAll:Bs.resolveAll,tokenize:bg};function bg(e,t,n){const r=this;return a;function a(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),s}function s(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),i):n(l)}function i(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}o(bg,"uf");const yg={name:"labelStartLink",resolveAll:Bs.resolveAll,tokenize:vg};function vg(e,t,n){const r=this;return a;function a(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),s}function s(i){return i===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(i):t(i)}}o(vg,"mf");const Rs={name:"lineEnding",tokenize:wg};function wg(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ie(e,t,"linePrefix")}}o(wg,"hf");const oa={name:"thematicBreak",tokenize:xg};function xg(e,t,n){let r=0,a;return s;function s(u){return e.enter("thematicBreak"),i(u)}function i(u){return a=u,l(u)}function l(u){return u===a?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||Z(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===a?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),le(u)?ie(e,l,"whitespace")(u):l(u))}}o(xg,"pf");const Qe={continuation:{tokenize:Sg},exit:Ag,name:"list",tokenize:$g},kg={partial:!0,tokenize:Tg},_g={partial:!0,tokenize:Cg};function $g(e,t,n){const r=this,a=r.events[r.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,i=0;return l;function l(g){const y=r.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||g===r.containerState.marker:Es(g)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(oa,n,u)(g):u(g);if(!r.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(g)}return n(g)}function c(g){return Es(g)&&++i<10?(e.consume(g),c):(!r.interrupt||i<2)&&(r.containerState.marker?g===r.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),u(g)):n(g)}function u(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||g,e.check(mr,r.interrupt?n:m,e.attempt(kg,f,p))}function m(g){return r.containerState.initialBlankLine=!0,s++,f(g)}function p(g){return le(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),f):n(g)}function f(g){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}o($g,"gf");function Sg(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(mr,a,s);function a(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ie(e,t,"listItemIndent",r.containerState.size+1)(l)}function s(l){return r.containerState.furtherBlankLines||!le(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(_g,t,i)(l))}function i(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,ie(e,e.attempt(Qe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}o(Sg,"bf");function Cg(e,t,n){const r=this;return ie(e,a,"listItemIndent",r.containerState.size+1);function a(s){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(s):n(s)}}o(Cg,"yf");function Ag(e){e.exit(this.containerState.type)}o(Ag,"vf");function Tg(e,t,n){const r=this;return ie(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const i=r.events[r.events.length-1];return!le(s)&&i&&i[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}o(Tg,"wf");const tc={name:"setextUnderline",resolveTo:Ig,tokenize:Mg};function Ig(e,t){let n=e.length,r,a,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const i={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",i,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=i,e.push(["exit",i,t]),e}o(Ig,"xf");function Mg(e,t,n){const r=this;let a;return s;function s(u){let m=r.events.length,p;for(;m--;)if(r.events[m][1].type!=="lineEnding"&&r.events[m][1].type!=="linePrefix"&&r.events[m][1].type!=="content"){p=r.events[m][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),a=u,i(u)):n(u)}function i(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===a?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),le(u)?ie(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||Z(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}o(Mg,"kf");const zg={tokenize:Eg};function Eg(e){const t=this,n=e.attempt(mr,r,e.attempt(this.parser.constructs.flowInitial,a,ie(e,e.attempt(this.parser.constructs.flow,a,e.attempt(L1,a)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}o(Eg,"$f");const Ng={resolveAll:rc()},Bg=nc("string"),Rg=nc("text");function nc(e){return{resolveAll:rc(e==="text"?Pg:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],s=n.attempt(a,i,l);return i;function i(m){return u(m)?s(m):l(m)}function l(m){if(m===null){n.consume(m);return}return n.enter("data"),n.consume(m),c}function c(m){return u(m)?(n.exit("data"),s(m)):(n.consume(m),c)}function u(m){if(m===null)return!0;const p=a[m];let f=-1;if(p)for(;++f<p.length;){const g=p[f];if(!g.previous||g.previous.call(r,r.previous))return!0}return!1}}}o(nc,"K0");function rc(e){return t;function t(n,r){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(n,r):n}}o(rc,"Q0");function Pg(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let s=a.length,i=-1,l=0,c;for(;s--;){const u=a[s];if(typeof u=="string"){for(i=u.length;u.charCodeAt(i-1)===32;)l++,i--;if(i)break;i=-1}else if(u===-2)c=!0,l++;else if(u!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?i:r.start._bufferIndex+i,_index:r.start._index+s,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}o(Pg,"Tf");const Lg={42:Qe,43:Qe,45:Qe,48:Qe,49:Qe,50:Qe,51:Qe,52:Qe,53:Qe,54:Qe,55:Qe,56:Qe,57:Qe,62:Ul},Og={91:D1},Fg={[-2]:Ns,[-1]:Ns,32:Ns},qg={35:X1,42:oa,45:[tc,oa],60:Q1,61:tc,95:oa,96:Yl,126:Yl},jg={38:Vl,92:Wl},Dg={[-5]:Rs,[-4]:Rs,[-3]:Rs,33:fg,38:Vl,42:ia,60:[y1,sg],91:yg,92:[W1,Wl],93:Bs,95:ia,96:z1},Hg={null:[ia,Ng]},Gg={null:[42,95]},Ug={null:[]},Wg=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Gg,contentInitial:Og,disable:Ug,document:Lg,flow:qg,flowInitial:Fg,insideSpan:Hg,string:jg,text:Dg},Symbol.toStringTag,{value:"Module"}));function Vg(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let i=[],l=[];const c={attempt:L(P),check:L(I),consume:_,enter:M,exit:E,interrupt:L(I,{interrupt:!0})},u={code:null,containerState:{},defineSkip:$,events:[],now:y,parser:e,previous:null,sliceSerialize:f,sliceStream:g,write:p};let m=t.tokenize.call(u,c);return t.resolveAll&&s.push(t),u;function p(G){return i=ct(i,G),T(),i[i.length-1]!==null?[]:(U(t,0),u.events=sa(s,u.events,u),u.events)}function f(G,W){return Yg(g(G),W)}function g(G){return Xg(i,G)}function y(){const{_bufferIndex:G,_index:W,line:ae,column:oe,offset:K}=r;return{_bufferIndex:G,_index:W,line:ae,column:oe,offset:K}}function $(G){a[G.line]=G.column,z()}function T(){let G;for(;r._index<i.length;){const W=i[r._index];if(typeof W=="string")for(G=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===G&&r._bufferIndex<W.length;)k(W.charCodeAt(r._bufferIndex));else k(W)}}function k(G){m=m(G)}function _(G){Z(G)?(r.line++,r.column=1,r.offset+=G===-3?2:1,z()):G!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=G}function M(G,W){const ae=W||{};return ae.type=G,ae.start=y(),u.events.push(["enter",ae,u]),l.push(ae),ae}function E(G){const W=l.pop();return W.end=y(),u.events.push(["exit",W,u]),W}function P(G,W){U(G,W.from)}function I(G,W){W.restore()}function L(G,W){return ae;function ae(oe,K,pe){let he,De,Re,S;return Array.isArray(oe)?Se(oe):"tokenize"in oe?Se([oe]):Le(oe);function Le(ye){return Dt;function Dt(He){const Ct=He!==null&&ye[He],At=He!==null&&ye.null,rn=[...Array.isArray(Ct)?Ct:Ct?[Ct]:[],...Array.isArray(At)?At:At?[At]:[]];return Se(rn)(He)}}function Se(ye){return he=ye,De=0,ye.length===0?pe:C(ye[De])}function C(ye){return Dt;function Dt(He){return S=V(),Re=ye,ye.partial||(u.currentConstruct=ye),ye.name&&u.parser.constructs.disable.null.includes(ye.name)?St():ye.tokenize.call(W?Object.assign(Object.create(u),W):u,c,Ye,St)(He)}}function Ye(ye){return G(Re,S),K}function St(ye){return S.restore(),++De<he.length?C(he[De]):pe}}}function U(G,W){G.resolveAll&&!s.includes(G)&&s.push(G),G.resolve&&nt(u.events,W,u.events.length-W,G.resolve(u.events.slice(W),u)),G.resolveTo&&(u.events=G.resolveTo(u.events,u))}function V(){const G=y(),W=u.previous,ae=u.currentConstruct,oe=u.events.length,K=Array.from(l);return{from:oe,restore:pe};function pe(){r=G,u.previous=W,u.currentConstruct=ae,u.events.length=oe,l=K,z()}}function z(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}o(Vg,"Pf");function Xg(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let i;if(n===a)i=[e[n].slice(r,s)];else{if(i=e.slice(n,a),r>-1){const l=i[0];typeof l=="string"?i[0]=l.slice(r):i.shift()}s>0&&i.push(e[a].slice(0,s))}return i}o(Xg,"Of");function Yg(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const s=e[n];let i;if(typeof s=="string")i=s;else switch(s){case-5:{i="\r";break}case-4:{i=`
153
153
  `;break}case-3:{i=`\r
154
- `;break}case-2:{i=t?" ":" ";break}case-1:{if(!t&&a)continue;i=" ";break}default:i=String.fromCharCode(s)}a=s===-2,r.push(i)}return r.join("")}o(Xg,"Of");function Yg(e){const t={constructs:jl([Ug,...(e||{}).extensions||[]]),content:n(u1),defined:[],document:n(h1),flow:n(Mg),lazy:{},string:n(Ng),text:n(Bg)};return t;function n(r){return a;function a(s){return Wg(t,r,s)}}}o(Yg,"qf");function Zg(e){for(;!Zl(e););return e}o(Zg,"jf");const ac=/[\0\t\n\r]/g;function Kg(){let e=1,t="",n=!0,r;return a;function a(s,i,l){const c=[];let u,m,p,f,g;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(i||void 0).decode(s)),p=0,t="",n&&(s.charCodeAt(0)===65279&&p++,n=void 0);p<s.length;){if(ac.lastIndex=p,u=ac.exec(s),f=u&&u.index!==void 0?u.index:s.length,g=s.charCodeAt(f),!u){t=s.slice(p);break}if(g===10&&p===f&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),p<f&&(c.push(s.slice(p,f)),e+=f-p),g){case 0:{c.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,c.push(-2);e++<m;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}p=f+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}o(Kg,"Gf");const Qg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Jg(e){return e.replace(Qg,ef)}o(Jg,"Uf");function ef(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),a=r===120||r===88;return Dl(n.slice(a?2:1),a?16:10)}return zs(n)||e}o(ef,"Wf");function la(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?sc(e.position):"start"in e||"end"in e?sc(e):"line"in e||"column"in e?Ps(e):""}o(la,"Wr");function Ps(e){return ic(e&&e.line)+":"+ic(e&&e.column)}o(Ps,"Gi");function sc(e){return Ps(e&&e.start)+"-"+Ps(e&&e.end)}o(sc,"jo");function ic(e){return e&&typeof e=="number"?e:1}o(ic,"Go");const oc={}.hasOwnProperty;function tf(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),nf(n)(Zg(Yg(n).document().write(Kg()(e,t,!0))))}o(tf,"E5");function nf(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(an),autolinkProtocol:V,autolinkEmail:V,atxHeading:s(kr),blockQuote:s(At),characterEscape:V,characterReference:V,codeFenced:s(rn),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:s(rn,i),codeText:s(kn,i),codeTextData:V,data:V,codeFlowValue:V,definition:s(_n),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:s(Fa),hardBreakEscape:s(_r),hardBreakTrailing:s(_r),htmlFlow:s(Xn,i),htmlFlowData:V,htmlText:s(Xn,i),htmlTextData:V,image:s($r),label:i,link:s(an),listItem:s(qa),listItemValue:f,listOrdered:s(Cr,p),listUnordered:s(Cr),paragraph:s(Yn),reference:S,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:s(kr),strong:s(Sr),thematicBreak:s(ja)},exit:{atxHeading:c(),atxHeadingSequence:P,autolink:c(),autolinkEmail:St,autolinkProtocol:He,blockQuote:c(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:Ct,characterReferenceMarkerNumeric:Ct,characterReferenceValue:ye,characterReference:Dt,codeFenced:c(T),codeFencedFence:_,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:z,codeIndented:c(k),codeText:c(K),codeTextData:z,data:z,definition:c(),definitionDestinationString:E,definitionLabelString:$,definitionTitleString:M,emphasis:c(),hardBreakEscape:c(W),hardBreakTrailing:c(W),htmlFlow:c(ae),htmlFlowData:z,htmlText:c(oe),htmlTextData:z,image:c(he),label:Re,labelText:De,lineEnding:G,link:c(pe),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Ye,resourceDestinationString:C,resourceTitleString:Le,resource:Ce,setextHeading:c(U),setextHeadingLineSequence:L,setextHeadingText:I,strong:c(),thematicBreak:c()}};lc(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(B){let D={type:"root",children:[]};const J={stack:[D],tokenStack:[],config:t,enter:l,exit:u,buffer:i,resume:m,data:n},me=[];let be=-1;for(;++be<B.length;)if(B[be][1].type==="listOrdered"||B[be][1].type==="listUnordered")if(B[be][0]==="enter")me.push(be);else{const ft=me.pop();be=a(B,ft,be)}for(be=-1;++be<B.length;){const ft=t[B[be][0]];oc.call(ft,B[be][1].type)&&ft[B[be][1].type].call(Object.assign({sliceSerialize:B[be][2].sliceSerialize},J),B[be][1])}if(J.tokenStack.length>0){const ft=J.tokenStack[J.tokenStack.length-1];(ft[1]||cc).call(J,void 0,ft[0])}for(D.position={start:Xt(B.length>0?B[0][1].start:{line:1,column:1,offset:0}),end:Xt(B.length>0?B[B.length-2][1].end:{line:1,column:1,offset:0})},be=-1;++be<t.transforms.length;)D=t.transforms[be](D)||D;return D}function a(B,D,J){let me=D-1,be=-1,ft=!1,$n,Tt,Zn,Kn;for(;++me<=J;){const et=B[me];switch(et[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{et[0]==="enter"?be++:be--,Kn=void 0;break}case"lineEndingBlank":{et[0]==="enter"&&($n&&!Kn&&!be&&!Zn&&(Zn=me),Kn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Kn=void 0}if(!be&&et[0]==="enter"&&et[1].type==="listItemPrefix"||be===-1&&et[0]==="exit"&&(et[1].type==="listUnordered"||et[1].type==="listOrdered")){if($n){let Cn=me;for(Tt=void 0;Cn--;){const It=B[Cn];if(It[1].type==="lineEnding"||It[1].type==="lineEndingBlank"){if(It[0]==="exit")continue;Tt&&(B[Tt][1].type="lineEndingBlank",ft=!0),It[1].type="lineEnding",Tt=Cn}else if(!(It[1].type==="linePrefix"||It[1].type==="blockQuotePrefix"||It[1].type==="blockQuotePrefixWhitespace"||It[1].type==="blockQuoteMarker"||It[1].type==="listItemIndent"))break}Zn&&(!Tt||Zn<Tt)&&($n._spread=!0),$n.end=Object.assign({},Tt?B[Tt][1].start:et[1].end),B.splice(Tt||me,0,["exit",$n,et[2]]),me++,J++}if(et[1].type==="listItemPrefix"){const Cn={type:"listItem",_spread:!1,start:Object.assign({},et[1].start),end:void 0};$n=Cn,B.splice(me,0,["enter",Cn,et[2]]),me++,J++,Zn=void 0,Kn=!0}}}return B[D][1]._spread=ft,J}function s(B,D){return J;function J(me){l.call(this,B(me),me),D&&D.call(this,me)}}function i(){this.stack.push({type:"fragment",children:[]})}function l(B,D,J){this.stack[this.stack.length-1].children.push(B),this.stack.push(B),this.tokenStack.push([D,J||void 0]),B.position={start:Xt(D.start),end:void 0}}function c(B){return D;function D(J){B&&B.call(this,J),u.call(this,J)}}function u(B,D){const J=this.stack.pop(),me=this.tokenStack.pop();if(me)me[0].type!==B.type&&(D?D.call(this,B,me[0]):(me[1]||cc).call(this,B,me[0]));else throw new Error("Cannot close `"+B.type+"` ("+la({start:B.start,end:B.end})+"): it’s not open");J.position.end=Xt(B.end)}function m(){return n1(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function f(B){if(this.data.expectingFirstListItemValue){const D=this.stack[this.stack.length-2];D.start=Number.parseInt(this.sliceSerialize(B),10),this.data.expectingFirstListItemValue=void 0}}function g(){const B=this.resume(),D=this.stack[this.stack.length-1];D.lang=B}function y(){const B=this.resume(),D=this.stack[this.stack.length-1];D.meta=B}function _(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B.replace(/(\r?\n|\r)$/g,"")}function $(B){const D=this.resume(),J=this.stack[this.stack.length-1];J.label=D,J.identifier=gt(this.sliceSerialize(B)).toLowerCase()}function M(){const B=this.resume(),D=this.stack[this.stack.length-1];D.title=B}function E(){const B=this.resume(),D=this.stack[this.stack.length-1];D.url=B}function P(B){const D=this.stack[this.stack.length-1];if(!D.depth){const J=this.sliceSerialize(B).length;D.depth=J}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function L(B){const D=this.stack[this.stack.length-1];D.depth=this.sliceSerialize(B).codePointAt(0)===61?1:2}function U(){this.data.setextHeadingSlurpLineEnding=void 0}function V(B){const D=this.stack[this.stack.length-1].children;let J=D[D.length-1];(!J||J.type!=="text")&&(J=Ar(),J.position={start:Xt(B.start),end:void 0},D.push(J)),this.stack.push(J)}function z(B){const D=this.stack.pop();D.value+=this.sliceSerialize(B),D.position.end=Xt(B.end)}function G(B){const D=this.stack[this.stack.length-1];if(this.data.atHardBreak){const J=D.children[D.children.length-1];J.position.end=Xt(B.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(D.type)&&(V.call(this,B),z.call(this,B))}function W(){this.data.atHardBreak=!0}function ae(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B}function oe(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B}function K(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B}function pe(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const D=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=D,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function he(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const D=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=D,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function De(B){const D=this.sliceSerialize(B),J=this.stack[this.stack.length-2];J.label=Jg(D),J.identifier=gt(D).toLowerCase()}function Re(){const B=this.stack[this.stack.length-1],D=this.resume(),J=this.stack[this.stack.length-1];if(this.data.inReference=!0,J.type==="link"){const me=B.children;J.children=me}else J.alt=D}function C(){const B=this.resume(),D=this.stack[this.stack.length-1];D.url=B}function Le(){const B=this.resume(),D=this.stack[this.stack.length-1];D.title=B}function Ce(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function Ye(B){const D=this.resume(),J=this.stack[this.stack.length-1];J.label=D,J.identifier=gt(this.sliceSerialize(B)).toLowerCase(),this.data.referenceType="full"}function Ct(B){this.data.characterReferenceType=B.type}function ye(B){const D=this.sliceSerialize(B),J=this.data.characterReferenceType;let me;J?(me=Dl(D,J==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):me=zs(D);const be=this.stack[this.stack.length-1];be.value+=me}function Dt(B){const D=this.stack.pop();D.position.end=Xt(B.end)}function He(B){z.call(this,B);const D=this.stack[this.stack.length-1];D.url=this.sliceSerialize(B)}function St(B){z.call(this,B);const D=this.stack[this.stack.length-1];D.url="mailto:"+this.sliceSerialize(B)}function At(){return{type:"blockquote",children:[]}}function rn(){return{type:"code",lang:null,meta:null,value:""}}function kn(){return{type:"inlineCode",value:""}}function _n(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fa(){return{type:"emphasis",children:[]}}function kr(){return{type:"heading",depth:0,children:[]}}function _r(){return{type:"break"}}function Xn(){return{type:"html",value:""}}function $r(){return{type:"image",title:null,url:"",alt:null}}function an(){return{type:"link",title:null,url:"",children:[]}}function Cr(B){return{type:"list",ordered:B.type==="listOrdered",start:null,spread:B._spread,children:[]}}function qa(B){return{type:"listItem",spread:B._spread,checked:null,children:[]}}function Yn(){return{type:"paragraph",children:[]}}function Sr(){return{type:"strong",children:[]}}function Ar(){return{type:"text",value:""}}function ja(){return{type:"thematicBreak"}}}o(nf,"Vf");function Xt(e){return{line:e.line,column:e.column,offset:e.offset}}o(Xt,"Ht");function lc(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?lc(e,r):rf(e,r)}}o(lc,"eu");function rf(e,t){let n;for(n in t)if(oc.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}o(rf,"Xf");function cc(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+la({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+la({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+la({start:t.start,end:t.end})+") is still open")}o(cc,"Ho");function af(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}o(af,"Yf");const Ls=o((function(e){if(e==null)return cf;if(typeof e=="function")return ca(e);if(typeof e=="object")return Array.isArray(e)?sf(e):of(e);if(typeof e=="string")return lf(e);throw new Error("Expected function, string, or object as test")}),"_s");function sf(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ls(e[n]);return ca(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}o(sf,"Zf");function of(e){const t=e;return ca(n);function n(r){const a=r;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}o(of,"Kf");function lf(e){return ca(t);function t(n){return n&&n.type===e}}o(lf,"Qf");function ca(e){return t;function t(n,r,a){return!!(uf(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}o(ca,"Ca");function cf(){return!0}o(cf,"Jf");function uf(e){return e!==null&&typeof e=="object"&&"type"in e}o(uf,"eg");const uc=[],pf=!0,pc=!1,hf="skip";function mf(e,t,n,r){let a;a=t;const s=Ls(a),i=1;l(e,void 0,[])();function l(c,u,m){const p=c&&typeof c=="object"?c:{};if(typeof p.type=="string"){const g=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(c.type+(g?"<"+g+">":""))+")"})}return f;function f(){let g=uc,y,_,T;if(s(c,u,m[m.length-1]||void 0)&&(g=df(n(c,m)),g[0]===pc))return g;if("children"in c&&c.children){const k=c;if(k.children&&g[0]!==hf)for(_=-1+i,T=m.concat(k);_>-1&&_<k.children.length;){const $=k.children[_];if(y=l($,_,T)(),y[0]===pc)return y;_=typeof y[1]=="number"?y[1]:_+i}}return g}}o(l,"o")}o(mf,"rg");function df(e){return Array.isArray(e)?e:typeof e=="number"?[pf,e]:e==null?uc:[e]}o(df,"ag");function gf(e,t,n){const r=Ls((n||{}).ignore||[]),a=ff(t);let s=-1;for(;++s<a.length;)mf(e,"text",i);function i(c,u){let m=-1,p;for(;++m<u.length;){const f=u[m],g=p?p.children:void 0;if(r(f,g?g.indexOf(f):void 0,p))return;p=f}if(p)return l(c,u)}o(i,"o");function l(c,u){const m=u[u.length-1],p=a[s][0],f=a[s][1];let g=0;const y=m.children.indexOf(c);let _=!1,T=[];p.lastIndex=0;let k=p.exec(c.value);for(;k;){const $=k.index,M={index:k.index,input:k.input,stack:[...u,c]};let E=f(...k,M);if(typeof E=="string"&&(E=E.length>0?{type:"text",value:E}:void 0),E===!1?p.lastIndex=$+1:(g!==$&&T.push({type:"text",value:c.value.slice(g,$)}),Array.isArray(E)?T.push(...E):E&&T.push(E),g=$+k[0].length,_=!0),!p.global)break;k=p.exec(c.value)}return _?(g<c.value.length&&T.push({type:"text",value:c.value.slice(g)}),m.children.splice(y,1,...T)):T=[c],y+T.length}o(l,"l")}o(gf,"ig");function ff(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const a=n[r];t.push([bf(a[0]),yf(a[1])])}return t}o(ff,"sg");function bf(e){return typeof e=="string"?new RegExp(af(e),"g"):e}o(bf,"og");function yf(e){return typeof e=="function"?e:function(){return e}}o(yf,"lg");function vf(){return{transforms:[Cf],enter:{literalAutolink:wf,literalAutolinkEmail:Os,literalAutolinkHttp:Os,literalAutolinkWww:Os},exit:{literalAutolink:$f,literalAutolinkEmail:_f,literalAutolinkHttp:xf,literalAutolinkWww:kf}}}o(vf,"ug");function wf(e){this.enter({type:"link",title:null,url:"",children:[]},e)}o(wf,"cg");function Os(e){this.config.enter.autolinkProtocol.call(this,e)}o(Os,"ii");function xf(e){this.config.exit.autolinkProtocol.call(this,e)}o(xf,"mg");function kf(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}o(kf,"hg");function _f(e){this.config.exit.autolinkEmail.call(this,e)}o(_f,"pg");function $f(e){this.exit(e)}o($f,"dg");function Cf(e){gf(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Sf],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Af]],{ignore:["link","linkReference"]})}o(Cf,"fg");function Sf(e,t,n,r,a){let s="";if(!hc(a)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!Tf(n)))return!1;const i=If(n+r);if(!i[0])return!1;const l={type:"link",title:null,url:s+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}o(Sf,"gg");function Af(e,t,n,r){return!hc(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}o(Af,"bg");function Tf(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}o(Tf,"yg");function If(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=Dr(e,"(");let s=Dr(e,")");for(;r!==-1&&a>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}o(If,"vg");function hc(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||fn(n)||pr(n))&&(!t||n!==47)}o(hc,"nu");function Mf(){this.buffer()}o(Mf,"wg");function zf(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}o(zf,"xg");function Ef(){this.buffer()}o(Ef,"kg");function Nf(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}o(Nf,"_g");function Bf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=gt(this.sliceSerialize(e)).toLowerCase(),n.label=t}o(Bf,"$g");function Rf(e){this.exit(e)}o(Rf,"Cg");function Pf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=gt(this.sliceSerialize(e)).toLowerCase(),n.label=t}o(Pf,"Sg");function Lf(e){this.exit(e)}o(Lf,"Ag");function Of(){return{enter:{gfmFootnoteCallString:Mf,gfmFootnoteCall:zf,gfmFootnoteDefinitionLabelString:Ef,gfmFootnoteDefinition:Nf},exit:{gfmFootnoteCallString:Bf,gfmFootnoteCall:Rf,gfmFootnoteDefinitionLabelString:Pf,gfmFootnoteDefinition:Lf}}}o(Of,"Tg");function Ff(){return{canContainEols:["delete"],enter:{strikethrough:qf},exit:{strikethrough:jf}}}o(Ff,"Eg");function qf(e){this.enter({type:"delete",children:[]},e)}o(qf,"Mg");function jf(e){this.exit(e)}o(jf,"Ig");function Df(){return{enter:{table:Hf,tableData:mc,tableHeader:mc,tableRow:Uf},exit:{codeText:Wf,table:Gf,tableData:Fs,tableHeader:Fs,tableRow:Fs}}}o(Df,"zg");function Hf(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}o(Hf,"Rg");function Gf(e){this.exit(e),this.data.inTable=void 0}o(Gf,"Ng");function Uf(e){this.enter({type:"tableRow",children:[]},e)}o(Uf,"Bg");function Fs(e){this.exit(e)}o(Fs,"si");function mc(e){this.enter({type:"tableCell",children:[]},e)}o(mc,"Wo");function Wf(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Vf));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}o(Wf,"Dg");function Vf(e,t){return t==="|"?t:e}o(Vf,"Lg");function Xf(){return{exit:{taskListCheckValueChecked:dc,taskListCheckValueUnchecked:dc,paragraph:Yf}}}o(Xf,"Fg");function dc(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}o(dc,"Vo");function Yf(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let s=-1,i;for(;++s<a.length;){const l=a[s];if(l.type==="paragraph"){i=l;break}}i===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}o(Yf,"Pg");function Zf(){return[vf(),Of(),Ff(),Df(),Xf()]}o(Zf,"M5");function Kf(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:l,mathText:i,mathTextData:l}};function e(c){const u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},c)}function t(){this.buffer()}function n(){const c=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=c}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(c){const u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),m=this.stack[this.stack.length-1];m.type,this.exit(c),m.value=u;const p=m.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function s(c){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},c),this.buffer()}function i(c){const u=this.resume(),m=this.stack[this.stack.length-1];m.type,this.exit(c),m.value=u,m.data.hChildren.push({type:"text",value:u})}function l(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}o(Kf,"I5");const Qf={tokenize:a4,partial:!0},gc={tokenize:s4,partial:!0},fc={tokenize:i4,partial:!0},bc={tokenize:o4,partial:!0},Jf={tokenize:l4,partial:!0},yc={name:"wwwAutolink",tokenize:n4,previous:wc},vc={name:"protocolAutolink",tokenize:r4,previous:xc},Bt={name:"emailAutolink",tokenize:t4,previous:kc},yt={};function e4(){return{text:yt}}o(e4,"jg");let bn=48;for(;bn<123;)yt[bn]=Bt,bn++,bn===58?bn=65:bn===91&&(bn=97);yt[43]=Bt,yt[45]=Bt,yt[46]=Bt,yt[95]=Bt,yt[72]=[Bt,vc],yt[104]=[Bt,vc],yt[87]=[Bt,yc],yt[119]=[Bt,yc];function t4(e,t,n){const r=this;let a,s;return i;function i(p){return!qs(p)||!kc.call(r,r.previous)||js(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(p))}function l(p){return qs(p)?(e.consume(p),l):p===64?(e.consume(p),c):n(p)}function c(p){return p===46?e.check(Jf,m,u)(p):p===45||p===95||Fe(p)?(s=!0,e.consume(p),c):m(p)}function u(p){return e.consume(p),a=!0,c}function m(p){return s&&a&&Ge(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}o(t4,"Gg");function n4(e,t,n){const r=this;return a;function a(i){return i!==87&&i!==119||!wc.call(r,r.previous)||js(r.events)?n(i):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Qf,e.attempt(gc,e.attempt(fc,s),n),n)(i))}function s(i){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(i)}}o(n4,"Hg");function r4(e,t,n){const r=this;let a="",s=!1;return i;function i(p){return(p===72||p===104)&&xc.call(r,r.previous)&&!js(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(p),e.consume(p),l):n(p)}function l(p){if(Ge(p)&&a.length<5)return a+=String.fromCodePoint(p),e.consume(p),l;if(p===58){const f=a.toLowerCase();if(f==="http"||f==="https")return e.consume(p),c}return n(p)}function c(p){return p===47?(e.consume(p),s?u:(s=!0,c)):n(p)}function u(p){return p===null||aa(p)||ge(p)||fn(p)||pr(p)?n(p):e.attempt(gc,e.attempt(fc,m),n)(p)}function m(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}o(r4,"Ug");function a4(e,t,n){let r=0;return a;function a(i){return(i===87||i===119)&&r<3?(r++,e.consume(i),a):i===46&&r===3?(e.consume(i),s):n(i)}function s(i){return i===null?n(i):t(i)}}o(a4,"Wg");function s4(e,t,n){let r,a,s;return i;function i(u){return u===46||u===95?e.check(bc,c,l)(u):u===null||ge(u)||fn(u)||u!==45&&pr(u)?c(u):(s=!0,e.consume(u),i)}function l(u){return u===95?r=!0:(a=r,r=void 0),e.consume(u),i}function c(u){return a||r||!s?n(u):t(u)}}o(s4,"Vg");function i4(e,t){let n=0,r=0;return a;function a(i){return i===40?(n++,e.consume(i),a):i===41&&r<n?s(i):i===33||i===34||i===38||i===39||i===41||i===42||i===44||i===46||i===58||i===59||i===60||i===63||i===93||i===95||i===126?e.check(bc,t,s)(i):i===null||ge(i)||fn(i)?t(i):(e.consume(i),a)}function s(i){return i===41&&r++,e.consume(i),a}}o(i4,"Xg");function o4(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),s):l===93?(e.consume(l),a):l===60||l===null||ge(l)||fn(l)?t(l):n(l)}function a(l){return l===null||l===40||l===91||ge(l)||fn(l)?t(l):r(l)}function s(l){return Ge(l)?i(l):n(l)}function i(l){return l===59?(e.consume(l),r):Ge(l)?(e.consume(l),i):n(l)}}o(o4,"Yg");function l4(e,t,n){return r;function r(s){return e.consume(s),a}function a(s){return Fe(s)?n(s):t(s)}}o(l4,"Zg");function wc(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ge(e)}o(wc,"lu");function xc(e){return!Ge(e)}o(xc,"uu");function kc(e){return!(e===47||qs(e))}o(kc,"cu");function qs(e){return e===43||e===45||e===46||e===95||Fe(e)}o(qs,"Hi");function js(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}o(js,"$s");const c4={tokenize:b4,partial:!0};function u4(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:d4,continuation:{tokenize:g4},exit:f4}},text:{91:{name:"gfmFootnoteCall",tokenize:m4},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:p4,resolveTo:h4}}}}o(u4,"Qg");function p4(e,t,n){const r=this;let a=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;a--;){const c=r.events[a][1];if(c.type==="labelImage"){i=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!i||!i._balanced)return n(c);const u=gt(r.sliceSerialize({start:i.end,end:r.now()}));return u.codePointAt(0)!==94||!s.includes(u.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}o(p4,"Jg");function h4(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",s,t],["enter",i,t],["exit",i,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}o(h4,"e4");function m4(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,i;return l;function l(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),c}function c(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(p){if(s>999||p===93&&!i||p===null||p===91||ge(p))return n(p);if(p===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(gt(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return ge(p)||(i=!0),s++,e.consume(p),p===92?m:u}function m(p){return p===91||p===92||p===93?(e.consume(p),s++,u):u(p)}}o(m4,"t4");function d4(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,i=0,l;return c;function c(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",m):n(y)}function m(y){if(i>999||y===93&&!l||y===null||y===91||ge(y))return n(y);if(y===93){e.exit("chunkString");const _=e.exit("gfmFootnoteDefinitionLabelString");return s=gt(r.sliceSerialize(_)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return ge(y)||(l=!0),i++,e.consume(y),y===92?p:m}function p(y){return y===91||y===92||y===93?(e.consume(y),i++,m):m(y)}function f(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),a.includes(s)||a.push(s),ie(e,g,"gfmFootnoteDefinitionWhitespace")):n(y)}function g(y){return t(y)}}o(d4,"n4");function g4(e,t,n){return e.check(mr,t,e.attempt(c4,t,n))}o(g4,"r4");function f4(e){e.exit("gfmFootnoteDefinition")}o(f4,"a4");function b4(e,t,n){const r=this;return ie(e,a,"gfmFootnoteDefinitionIndent",5);function a(s){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?t(s):n(s)}}o(b4,"i4");function y4(e){let t={}.singleTilde;const n={name:"strikethrough",tokenize:a,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(s,i){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},m={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},p=[["enter",u,i],["enter",s[c][1],i],["exit",s[c][1],i],["enter",m,i]],f=i.parser.constructs.insideSpan.null;f&&nt(p,p.length,0,sa(f,s.slice(c+1,l),i)),nt(p,p.length,0,[["exit",m,i],["enter",s[l][1],i],["exit",s[l][1],i],["exit",u,i]]),nt(s,c-1,l-c+3,p),l=c+p.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function a(s,i,l){const c=this.previous,u=this.events;let m=0;return p;function p(g){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),f(g))}function f(g){const y=hr(c);if(g===126)return m>1?l(g):(s.consume(g),m++,f);if(m<2&&!t)return l(g);const _=s.exit("strikethroughSequenceTemporary"),T=hr(g);return _._open=!T||T===2&&!!y,_._close=!y||y===2&&!!T,i(g)}}}o(y4,"s4");class v4{static{o(this,"o4")}constructor(){this.map=[]}add(t,n,r){w4(this,t,n,r)}consume(t){if(this.map.sort(function(s,i){return s[0]-i[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let a=r.pop();for(;a;){for(const s of a)t.push(s);a=r.pop()}this.map.length=0}}function w4(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}o(w4,"l4");function x4(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}o(x4,"u4");function k4(){return{flow:{null:{name:"table",tokenize:_4,resolveAll:$4}}}}o(k4,"c4");function _4(e,t,n){const r=this;let a=0,s=0,i;return l;function l(z){let G=r.events.length-1;for(;G>-1;){const oe=r.events[G][1].type;if(oe==="lineEnding"||oe==="linePrefix")G--;else break}const W=G>-1?r.events[G][1].type:null,ae=W==="tableHead"||W==="tableRow"?I:c;return ae===I&&r.parser.lazy[r.now().line]?n(z):ae(z)}function c(z){return e.enter("tableHead"),e.enter("tableRow"),u(z)}function u(z){return z===124||(i=!0,s+=1),m(z)}function m(z){return z===null?n(z):Z(z)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),g):n(z):le(z)?ie(e,m,"whitespace")(z):(s+=1,i&&(i=!1,a+=1),z===124?(e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),i=!0,m):(e.enter("data"),p(z)))}function p(z){return z===null||z===124||ge(z)?(e.exit("data"),m(z)):(e.consume(z),z===92?f:p)}function f(z){return z===92||z===124?(e.consume(z),p):p(z)}function g(z){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(z):(e.enter("tableDelimiterRow"),i=!1,le(z)?ie(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):y(z))}function y(z){return z===45||z===58?T(z):z===124?(i=!0,e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),_):P(z)}function _(z){return le(z)?ie(e,T,"whitespace")(z):T(z)}function T(z){return z===58?(s+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(z),e.exit("tableDelimiterMarker"),k):z===45?(s+=1,k(z)):z===null||Z(z)?E(z):P(z)}function k(z){return z===45?(e.enter("tableDelimiterFiller"),$(z)):P(z)}function $(z){return z===45?(e.consume(z),$):z===58?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(z),e.exit("tableDelimiterMarker"),M):(e.exit("tableDelimiterFiller"),M(z))}function M(z){return le(z)?ie(e,E,"whitespace")(z):E(z)}function E(z){return z===124?y(z):z===null||Z(z)?!i||a!==s?P(z):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(z)):P(z)}function P(z){return n(z)}function I(z){return e.enter("tableRow"),L(z)}function L(z){return z===124?(e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),L):z===null||Z(z)?(e.exit("tableRow"),t(z)):le(z)?ie(e,L,"whitespace")(z):(e.enter("data"),U(z))}function U(z){return z===null||z===124||ge(z)?(e.exit("data"),L(z)):(e.consume(z),z===92?V:U)}function V(z){return z===92||z===124?(e.consume(z),U):U(z)}}o(_4,"m4");function $4(e,t){let n=-1,r=!0,a=0,s=[0,0,0,0],i=[0,0,0,0],l=!1,c=0,u,m,p;const f=new v4;for(;++n<e.length;){const g=e[n],y=g[1];g[0]==="enter"?y.type==="tableHead"?(l=!1,c!==0&&(_c(f,t,c,u,m),m=void 0,c=0),u={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},f.add(n,0,[["enter",u,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(r=!0,p=void 0,s=[0,0,0,0],i=[0,n+1,0,0],l&&(l=!1,m={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},f.add(n,0,[["enter",m,t]])),a=y.type==="tableDelimiterRow"?2:m?3:1):a&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(r=!1,i[2]===0&&(s[1]!==0&&(i[0]=i[1],p=ua(f,t,s,a,void 0,p),s=[0,0,0,0]),i[2]=n)):y.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(i[0]=i[1],p=ua(f,t,s,a,void 0,p)),s=i,i=[s[1],n,0,0])):y.type==="tableHead"?(l=!0,c=n):y.type==="tableRow"||y.type==="tableDelimiterRow"?(c=n,s[1]!==0?(i[0]=i[1],p=ua(f,t,s,a,n,p)):i[1]!==0&&(p=ua(f,t,i,a,n,p)),a=0):a&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(i[3]=n)}for(c!==0&&_c(f,t,c,u,m),f.consume(t.events),n=-1;++n<t.events.length;){const g=t.events[n];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=x4(t.events,n))}return e}o($4,"h4");function ua(e,t,n,r,a,s){const i=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(s.end=Object.assign({},On(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const c=On(t.events,n[1]);if(s={type:i,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const u=On(t.events,n[2]),m=On(t.events,n[3]),p={type:l,start:Object.assign({},u),end:Object.assign({},m)};if(e.add(n[2],0,[["enter",p,t]]),r!==2){const f=t.events[n[2]],g=t.events[n[3]];if(f[1].end=Object.assign({},g[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const y=n[2]+1,_=n[3]-n[2]-1;e.add(y,_,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return a!==void 0&&(s.end=Object.assign({},On(t.events,a)),e.add(a,0,[["exit",s,t]]),s=void 0),s}o(ua,"Rr");function _c(e,t,n,r,a){const s=[],i=On(t.events,n);a&&(a.end=Object.assign({},i),s.push(["exit",a,t])),r.end=Object.assign({},i),s.push(["exit",r,t]),e.add(n+1,0,s)}o(_c,"Xo");function On(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}o(On,"Bn");const C4={name:"tasklistCheck",tokenize:A4};function S4(){return{text:{91:C4}}}o(S4,"d4");function A4(e,t,n){const r=this;return a;function a(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),s)}function s(c){return ge(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),i):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),i):n(c)}function i(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return Z(c)?t(c):le(c)?e.check({tokenize:T4},t,n)(c):n(c)}}o(A4,"f4");function T4(e,t,n){return ie(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}o(T4,"g4");function I4(e){return jl([e4(),u4(),y4(),k4(),S4()])}o(I4,"z5");const M4={tokenize:z4,concrete:!0,name:"mathFlow"},$c={tokenize:E4,partial:!0};function z4(e,t,n){const r=this,a=r.events[r.events.length-1],s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let i=0;return l;function l($){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),c($)}function c($){return $===36?(e.consume($),i++,c):i<2?n($):(e.exit("mathFlowFenceSequence"),ie(e,u,"whitespace")($))}function u($){return $===null||Z($)?p($):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),m($))}function m($){return $===null||Z($)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),p($)):$===36?n($):(e.consume($),m)}function p($){return e.exit("mathFlowFence"),r.interrupt?t($):e.attempt($c,f,T)($)}function f($){return e.attempt({tokenize:k,partial:!0},T,g)($)}function g($){return(s?ie(e,y,"linePrefix",s+1):y)($)}function y($){return $===null?T($):Z($)?e.attempt($c,f,T)($):(e.enter("mathFlowValue"),_($))}function _($){return $===null||Z($)?(e.exit("mathFlowValue"),y($)):(e.consume($),_)}function T($){return e.exit("mathFlow"),t($)}function k($,M,E){let P=0;return ie($,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function I(V){return $.enter("mathFlowFence"),$.enter("mathFlowFenceSequence"),L(V)}function L(V){return V===36?(P++,$.consume(V),L):P<i?E(V):($.exit("mathFlowFenceSequence"),ie($,U,"whitespace")(V))}function U(V){return V===null||Z(V)?($.exit("mathFlowFence"),M(V)):E(V)}}}o(z4,"y4");function E4(e,t,n){const r=this;return a;function a(i){return i===null?t(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}o(E4,"v4");function N4(e){let t={}.singleDollarTextMath;return t==null&&(t=!0),{tokenize:n,resolve:B4,previous:R4,name:"mathText"};function n(r,a,s){let i=0,l,c;return u;function u(y){return r.enter("mathText"),r.enter("mathTextSequence"),m(y)}function m(y){return y===36?(r.consume(y),i++,m):i<2&&!t?s(y):(r.exit("mathTextSequence"),p(y))}function p(y){return y===null?s(y):y===36?(c=r.enter("mathTextSequence"),l=0,g(y)):y===32?(r.enter("space"),r.consume(y),r.exit("space"),p):Z(y)?(r.enter("lineEnding"),r.consume(y),r.exit("lineEnding"),p):(r.enter("mathTextData"),f(y))}function f(y){return y===null||y===32||y===36||Z(y)?(r.exit("mathTextData"),p(y)):(r.consume(y),f)}function g(y){return y===36?(r.consume(y),l++,g):l===i?(r.exit("mathTextSequence"),r.exit("mathText"),a(y)):(c.type="mathTextData",f(y))}}}o(N4,"w4");function B4(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="mathTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}o(B4,"x4");function R4(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}o(R4,"k4");function P4(e){return{flow:{36:M4},text:{36:N4()}}}o(P4,"R5");class j extends Error{static{o(this,"P")}constructor(t,n){var r="KaTeX parse error: "+t,a,s,i=n&&n.loc;if(i&&i.start<=i.end){var l=i.lexer.input;a=i.start,s=i.end,a===l.length?r+=" at end of input: ":r+=" at position "+(a+1)+": ";var c=l.slice(a,s).replace(/[^]/g,"$&̲"),u;a>15?u="…"+l.slice(a-15,a):u=l.slice(0,a);var m;s+15<l.length?m=l.slice(s,s+15)+"…":m=l.slice(s),r+=u+c+m}super(r),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,j.prototype),this.position=a,a!=null&&s!=null&&(this.length=s-a),this.rawMessage=t}}var L4=/([A-Z])/g,O4=o(e=>e.replace(L4,"-$1").toLowerCase(),"$4"),F4={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},q4=/[&><"']/g,qe=o(e=>String(e).replace(q4,t=>F4[t]),"Oe"),Ds=o(e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?Ds(e.body[0]):e:e.type==="font"?Ds(e.body):e,"Vr"),j4=new Set(["mathord","textord","atom"]),Rt=o(e=>j4.has(Ds(e).type),"qt"),D4=o(e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},"T4"),Hs={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:o(e=>"#"+e,"cliProcessor")},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:o((e,t)=>(t.push(e),t),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:o(e=>Math.max(0,e),"processor"),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:o(e=>Math.max(0,e),"processor"),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:o(e=>Math.max(0,e),"processor"),cli:"-e, --max-expand <n>",cliProcessor:o(e=>e==="Infinity"?1/0:parseInt(e),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};function H4(e){if(typeof e!="string")return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}o(H4,"E4");function G4(e){if(e.default!==void 0)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;return H4(t)}o(G4,"M4");function U4(e,t,n,r){var a=n[t];e[t]=a!==void 0?r.processor?r.processor(a):a:G4(r)}o(U4,"I4");class Gs{static{o(this,"Cs")}constructor(t){t===void 0&&(t={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n of Object.keys(Hs)){var r=Hs[n];r&&U4(this,n,t,r)}}reportNonstrict(t,n,r){var a=this.strict;if(typeof a=="function"&&(a=a(t,n,r)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new j("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var a=this.strict;if(typeof a=="function")try{a=a(t,n,r)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var n=D4(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class Yt{static{o(this,"Ut")}constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return vt[W4[this.id]]}sub(){return vt[V4[this.id]]}fracNum(){return vt[X4[this.id]]}fracDen(){return vt[Y4[this.id]]}cramp(){return vt[Z4[this.id]]}text(){return vt[K4[this.id]]}isTight(){return this.size>=2}}var Us=0,pa=1,Fn=2,Pt=3,fr=4,ut=5,qn=6,Ue=7,vt=[new Yt(Us,0,!1),new Yt(pa,0,!0),new Yt(Fn,1,!1),new Yt(Pt,1,!0),new Yt(fr,2,!1),new Yt(ut,2,!0),new Yt(qn,3,!1),new Yt(Ue,3,!0)],W4=[fr,ut,fr,ut,qn,Ue,qn,Ue],V4=[ut,ut,ut,ut,Ue,Ue,Ue,Ue],X4=[Fn,Pt,fr,ut,qn,Ue,qn,Ue],Y4=[Pt,Pt,ut,ut,Ue,Ue,Ue,Ue],Z4=[pa,pa,Pt,Pt,ut,ut,Ue,Ue],K4=[Us,pa,Fn,Pt,Fn,Pt,Fn,Pt],ne={DISPLAY:vt[Us],TEXT:vt[Fn],SCRIPT:vt[fr],SCRIPTSCRIPT:vt[qn]},Ws=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Q4(e){for(var t=0;t<Ws.length;t++)for(var n=Ws[t],r=0;r<n.blocks.length;r++){var a=n.blocks[r];if(e>=a[0]&&e<=a[1])return n.name}return null}o(Q4,"F4");var ha=[];Ws.forEach(e=>e.blocks.forEach(t=>ha.push(...t)));function Cc(e){for(var t=0;t<ha.length;t+=2)if(e>=ha[t]&&e<=ha[t+1])return!0;return!1}o(Cc,"mu");var Ne=o(e=>e+" "+e,"Me"),jn=80,J4=o(function(e,t){return"M95,"+(622+e+t)+`
154
+ `;break}case-2:{i=t?" ":" ";break}case-1:{if(!t&&a)continue;i=" ";break}default:i=String.fromCharCode(s)}a=s===-2,r.push(i)}return r.join("")}o(Yg,"qf");function Zg(e){const t={constructs:jl([Wg,...(e||{}).extensions||[]]),content:n(p1),defined:[],document:n(m1),flow:n(zg),lazy:{},string:n(Bg),text:n(Rg)};return t;function n(r){return a;function a(s){return Vg(t,r,s)}}}o(Zg,"jf");function Kg(e){for(;!Zl(e););return e}o(Kg,"Gf");const ac=/[\0\t\n\r]/g;function Qg(){let e=1,t="",n=!0,r;return a;function a(s,i,l){const c=[];let u,m,p,f,g;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(i||void 0).decode(s)),p=0,t="",n&&(s.charCodeAt(0)===65279&&p++,n=void 0);p<s.length;){if(ac.lastIndex=p,u=ac.exec(s),f=u&&u.index!==void 0?u.index:s.length,g=s.charCodeAt(f),!u){t=s.slice(p);break}if(g===10&&p===f&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),p<f&&(c.push(s.slice(p,f)),e+=f-p),g){case 0:{c.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,c.push(-2);e++<m;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}p=f+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}o(Qg,"Hf");const Jg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ef(e){return e.replace(Jg,tf)}o(ef,"Wf");function tf(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),a=r===120||r===88;return Dl(n.slice(a?2:1),a?16:10)}return zs(n)||e}o(tf,"Vf");function la(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?sc(e.position):"start"in e||"end"in e?sc(e):"line"in e||"column"in e?Ps(e):""}o(la,"Wr");function Ps(e){return ic(e&&e.line)+":"+ic(e&&e.column)}o(Ps,"Gi");function sc(e){return Ps(e&&e.start)+"-"+Ps(e&&e.end)}o(sc,"jo");function ic(e){return e&&typeof e=="number"?e:1}o(ic,"Go");const oc={}.hasOwnProperty;function nf(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),rf(n)(Kg(Zg(n).document().write(Qg()(e,t,!0))))}o(nf,"M5");function rf(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(an),autolinkProtocol:V,autolinkEmail:V,atxHeading:s(kr),blockQuote:s(At),characterEscape:V,characterReference:V,codeFenced:s(rn),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:s(rn,i),codeText:s(kn,i),codeTextData:V,data:V,codeFlowValue:V,definition:s(_n),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:s(Fa),hardBreakEscape:s(_r),hardBreakTrailing:s(_r),htmlFlow:s(Xn,i),htmlFlowData:V,htmlText:s(Xn,i),htmlTextData:V,image:s($r),label:i,link:s(an),listItem:s(qa),listItemValue:f,listOrdered:s(Sr,p),listUnordered:s(Sr),paragraph:s(Yn),reference:C,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:s(kr),strong:s(Cr),thematicBreak:s(ja)},exit:{atxHeading:c(),atxHeadingSequence:P,autolink:c(),autolinkEmail:Ct,autolinkProtocol:He,blockQuote:c(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:St,characterReferenceMarkerNumeric:St,characterReferenceValue:ye,characterReference:Dt,codeFenced:c(T),codeFencedFence:$,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:z,codeIndented:c(k),codeText:c(K),codeTextData:z,data:z,definition:c(),definitionDestinationString:E,definitionLabelString:_,definitionTitleString:M,emphasis:c(),hardBreakEscape:c(W),hardBreakTrailing:c(W),htmlFlow:c(ae),htmlFlowData:z,htmlText:c(oe),htmlTextData:z,image:c(he),label:Re,labelText:De,lineEnding:G,link:c(pe),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Ye,resourceDestinationString:S,resourceTitleString:Le,resource:Se,setextHeading:c(U),setextHeadingLineSequence:L,setextHeadingText:I,strong:c(),thematicBreak:c()}};lc(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(B){let D={type:"root",children:[]};const J={stack:[D],tokenStack:[],config:t,enter:l,exit:u,buffer:i,resume:m,data:n},me=[];let be=-1;for(;++be<B.length;)if(B[be][1].type==="listOrdered"||B[be][1].type==="listUnordered")if(B[be][0]==="enter")me.push(be);else{const ft=me.pop();be=a(B,ft,be)}for(be=-1;++be<B.length;){const ft=t[B[be][0]];oc.call(ft,B[be][1].type)&&ft[B[be][1].type].call(Object.assign({sliceSerialize:B[be][2].sliceSerialize},J),B[be][1])}if(J.tokenStack.length>0){const ft=J.tokenStack[J.tokenStack.length-1];(ft[1]||cc).call(J,void 0,ft[0])}for(D.position={start:Xt(B.length>0?B[0][1].start:{line:1,column:1,offset:0}),end:Xt(B.length>0?B[B.length-2][1].end:{line:1,column:1,offset:0})},be=-1;++be<t.transforms.length;)D=t.transforms[be](D)||D;return D}function a(B,D,J){let me=D-1,be=-1,ft=!1,$n,Tt,Zn,Kn;for(;++me<=J;){const et=B[me];switch(et[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{et[0]==="enter"?be++:be--,Kn=void 0;break}case"lineEndingBlank":{et[0]==="enter"&&($n&&!Kn&&!be&&!Zn&&(Zn=me),Kn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Kn=void 0}if(!be&&et[0]==="enter"&&et[1].type==="listItemPrefix"||be===-1&&et[0]==="exit"&&(et[1].type==="listUnordered"||et[1].type==="listOrdered")){if($n){let Sn=me;for(Tt=void 0;Sn--;){const It=B[Sn];if(It[1].type==="lineEnding"||It[1].type==="lineEndingBlank"){if(It[0]==="exit")continue;Tt&&(B[Tt][1].type="lineEndingBlank",ft=!0),It[1].type="lineEnding",Tt=Sn}else if(!(It[1].type==="linePrefix"||It[1].type==="blockQuotePrefix"||It[1].type==="blockQuotePrefixWhitespace"||It[1].type==="blockQuoteMarker"||It[1].type==="listItemIndent"))break}Zn&&(!Tt||Zn<Tt)&&($n._spread=!0),$n.end=Object.assign({},Tt?B[Tt][1].start:et[1].end),B.splice(Tt||me,0,["exit",$n,et[2]]),me++,J++}if(et[1].type==="listItemPrefix"){const Sn={type:"listItem",_spread:!1,start:Object.assign({},et[1].start),end:void 0};$n=Sn,B.splice(me,0,["enter",Sn,et[2]]),me++,J++,Zn=void 0,Kn=!0}}}return B[D][1]._spread=ft,J}function s(B,D){return J;function J(me){l.call(this,B(me),me),D&&D.call(this,me)}}function i(){this.stack.push({type:"fragment",children:[]})}function l(B,D,J){this.stack[this.stack.length-1].children.push(B),this.stack.push(B),this.tokenStack.push([D,J||void 0]),B.position={start:Xt(D.start),end:void 0}}function c(B){return D;function D(J){B&&B.call(this,J),u.call(this,J)}}function u(B,D){const J=this.stack.pop(),me=this.tokenStack.pop();if(me)me[0].type!==B.type&&(D?D.call(this,B,me[0]):(me[1]||cc).call(this,B,me[0]));else throw new Error("Cannot close `"+B.type+"` ("+la({start:B.start,end:B.end})+"): it’s not open");J.position.end=Xt(B.end)}function m(){return r1(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function f(B){if(this.data.expectingFirstListItemValue){const D=this.stack[this.stack.length-2];D.start=Number.parseInt(this.sliceSerialize(B),10),this.data.expectingFirstListItemValue=void 0}}function g(){const B=this.resume(),D=this.stack[this.stack.length-1];D.lang=B}function y(){const B=this.resume(),D=this.stack[this.stack.length-1];D.meta=B}function $(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B.replace(/(\r?\n|\r)$/g,"")}function _(B){const D=this.resume(),J=this.stack[this.stack.length-1];J.label=D,J.identifier=gt(this.sliceSerialize(B)).toLowerCase()}function M(){const B=this.resume(),D=this.stack[this.stack.length-1];D.title=B}function E(){const B=this.resume(),D=this.stack[this.stack.length-1];D.url=B}function P(B){const D=this.stack[this.stack.length-1];if(!D.depth){const J=this.sliceSerialize(B).length;D.depth=J}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function L(B){const D=this.stack[this.stack.length-1];D.depth=this.sliceSerialize(B).codePointAt(0)===61?1:2}function U(){this.data.setextHeadingSlurpLineEnding=void 0}function V(B){const D=this.stack[this.stack.length-1].children;let J=D[D.length-1];(!J||J.type!=="text")&&(J=Ar(),J.position={start:Xt(B.start),end:void 0},D.push(J)),this.stack.push(J)}function z(B){const D=this.stack.pop();D.value+=this.sliceSerialize(B),D.position.end=Xt(B.end)}function G(B){const D=this.stack[this.stack.length-1];if(this.data.atHardBreak){const J=D.children[D.children.length-1];J.position.end=Xt(B.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(D.type)&&(V.call(this,B),z.call(this,B))}function W(){this.data.atHardBreak=!0}function ae(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B}function oe(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B}function K(){const B=this.resume(),D=this.stack[this.stack.length-1];D.value=B}function pe(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const D=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=D,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function he(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const D=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=D,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function De(B){const D=this.sliceSerialize(B),J=this.stack[this.stack.length-2];J.label=ef(D),J.identifier=gt(D).toLowerCase()}function Re(){const B=this.stack[this.stack.length-1],D=this.resume(),J=this.stack[this.stack.length-1];if(this.data.inReference=!0,J.type==="link"){const me=B.children;J.children=me}else J.alt=D}function S(){const B=this.resume(),D=this.stack[this.stack.length-1];D.url=B}function Le(){const B=this.resume(),D=this.stack[this.stack.length-1];D.title=B}function Se(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function Ye(B){const D=this.resume(),J=this.stack[this.stack.length-1];J.label=D,J.identifier=gt(this.sliceSerialize(B)).toLowerCase(),this.data.referenceType="full"}function St(B){this.data.characterReferenceType=B.type}function ye(B){const D=this.sliceSerialize(B),J=this.data.characterReferenceType;let me;J?(me=Dl(D,J==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):me=zs(D);const be=this.stack[this.stack.length-1];be.value+=me}function Dt(B){const D=this.stack.pop();D.position.end=Xt(B.end)}function He(B){z.call(this,B);const D=this.stack[this.stack.length-1];D.url=this.sliceSerialize(B)}function Ct(B){z.call(this,B);const D=this.stack[this.stack.length-1];D.url="mailto:"+this.sliceSerialize(B)}function At(){return{type:"blockquote",children:[]}}function rn(){return{type:"code",lang:null,meta:null,value:""}}function kn(){return{type:"inlineCode",value:""}}function _n(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fa(){return{type:"emphasis",children:[]}}function kr(){return{type:"heading",depth:0,children:[]}}function _r(){return{type:"break"}}function Xn(){return{type:"html",value:""}}function $r(){return{type:"image",title:null,url:"",alt:null}}function an(){return{type:"link",title:null,url:"",children:[]}}function Sr(B){return{type:"list",ordered:B.type==="listOrdered",start:null,spread:B._spread,children:[]}}function qa(B){return{type:"listItem",spread:B._spread,checked:null,children:[]}}function Yn(){return{type:"paragraph",children:[]}}function Cr(){return{type:"strong",children:[]}}function Ar(){return{type:"text",value:""}}function ja(){return{type:"thematicBreak"}}}o(rf,"Xf");function Xt(e){return{line:e.line,column:e.column,offset:e.offset}}o(Xt,"Ht");function lc(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?lc(e,r):af(e,r)}}o(lc,"eu");function af(e,t){let n;for(n in t)if(oc.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}o(af,"Yf");function cc(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+la({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+la({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+la({start:t.start,end:t.end})+") is still open")}o(cc,"Ho");function sf(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}o(sf,"Zf");const Ls=o((function(e){if(e==null)return uf;if(typeof e=="function")return ca(e);if(typeof e=="object")return Array.isArray(e)?of(e):lf(e);if(typeof e=="string")return cf(e);throw new Error("Expected function, string, or object as test")}),"_s");function of(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ls(e[n]);return ca(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}o(of,"Kf");function lf(e){const t=e;return ca(n);function n(r){const a=r;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}o(lf,"Qf");function cf(e){return ca(t);function t(n){return n&&n.type===e}}o(cf,"Jf");function ca(e){return t;function t(n,r,a){return!!(pf(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}o(ca,"Ca");function uf(){return!0}o(uf,"eg");function pf(e){return e!==null&&typeof e=="object"&&"type"in e}o(pf,"tg");const uc=[],hf=!0,pc=!1,mf="skip";function df(e,t,n,r){let a;a=t;const s=Ls(a),i=1;l(e,void 0,[])();function l(c,u,m){const p=c&&typeof c=="object"?c:{};if(typeof p.type=="string"){const g=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(c.type+(g?"<"+g+">":""))+")"})}return f;function f(){let g=uc,y,$,T;if(s(c,u,m[m.length-1]||void 0)&&(g=gf(n(c,m)),g[0]===pc))return g;if("children"in c&&c.children){const k=c;if(k.children&&g[0]!==mf)for($=-1+i,T=m.concat(k);$>-1&&$<k.children.length;){const _=k.children[$];if(y=l(_,$,T)(),y[0]===pc)return y;$=typeof y[1]=="number"?y[1]:$+i}}return g}}o(l,"o")}o(df,"ag");function gf(e){return Array.isArray(e)?e:typeof e=="number"?[hf,e]:e==null?uc:[e]}o(gf,"ig");function ff(e,t,n){const r=Ls((n||{}).ignore||[]),a=bf(t);let s=-1;for(;++s<a.length;)df(e,"text",i);function i(c,u){let m=-1,p;for(;++m<u.length;){const f=u[m],g=p?p.children:void 0;if(r(f,g?g.indexOf(f):void 0,p))return;p=f}if(p)return l(c,u)}o(i,"o");function l(c,u){const m=u[u.length-1],p=a[s][0],f=a[s][1];let g=0;const y=m.children.indexOf(c);let $=!1,T=[];p.lastIndex=0;let k=p.exec(c.value);for(;k;){const _=k.index,M={index:k.index,input:k.input,stack:[...u,c]};let E=f(...k,M);if(typeof E=="string"&&(E=E.length>0?{type:"text",value:E}:void 0),E===!1?p.lastIndex=_+1:(g!==_&&T.push({type:"text",value:c.value.slice(g,_)}),Array.isArray(E)?T.push(...E):E&&T.push(E),g=_+k[0].length,$=!0),!p.global)break;k=p.exec(c.value)}return $?(g<c.value.length&&T.push({type:"text",value:c.value.slice(g)}),m.children.splice(y,1,...T)):T=[c],y+T.length}o(l,"l")}o(ff,"sg");function bf(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const a=n[r];t.push([yf(a[0]),vf(a[1])])}return t}o(bf,"og");function yf(e){return typeof e=="string"?new RegExp(sf(e),"g"):e}o(yf,"lg");function vf(e){return typeof e=="function"?e:function(){return e}}o(vf,"ug");function wf(){return{transforms:[Cf],enter:{literalAutolink:xf,literalAutolinkEmail:Os,literalAutolinkHttp:Os,literalAutolinkWww:Os},exit:{literalAutolink:Sf,literalAutolinkEmail:$f,literalAutolinkHttp:kf,literalAutolinkWww:_f}}}o(wf,"cg");function xf(e){this.enter({type:"link",title:null,url:"",children:[]},e)}o(xf,"mg");function Os(e){this.config.enter.autolinkProtocol.call(this,e)}o(Os,"ii");function kf(e){this.config.exit.autolinkProtocol.call(this,e)}o(kf,"hg");function _f(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}o(_f,"pg");function $f(e){this.config.exit.autolinkEmail.call(this,e)}o($f,"dg");function Sf(e){this.exit(e)}o(Sf,"fg");function Cf(e){ff(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Af],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Tf]],{ignore:["link","linkReference"]})}o(Cf,"gg");function Af(e,t,n,r,a){let s="";if(!hc(a)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!If(n)))return!1;const i=Mf(n+r);if(!i[0])return!1;const l={type:"link",title:null,url:s+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}o(Af,"bg");function Tf(e,t,n,r){return!hc(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}o(Tf,"yg");function If(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}o(If,"vg");function Mf(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=Dr(e,"(");let s=Dr(e,")");for(;r!==-1&&a>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}o(Mf,"wg");function hc(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||fn(n)||pr(n))&&(!t||n!==47)}o(hc,"nu");function zf(){this.buffer()}o(zf,"xg");function Ef(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}o(Ef,"kg");function Nf(){this.buffer()}o(Nf,"_g");function Bf(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}o(Bf,"$g");function Rf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=gt(this.sliceSerialize(e)).toLowerCase(),n.label=t}o(Rf,"Cg");function Pf(e){this.exit(e)}o(Pf,"Sg");function Lf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=gt(this.sliceSerialize(e)).toLowerCase(),n.label=t}o(Lf,"Ag");function Of(e){this.exit(e)}o(Of,"Tg");function Ff(){return{enter:{gfmFootnoteCallString:zf,gfmFootnoteCall:Ef,gfmFootnoteDefinitionLabelString:Nf,gfmFootnoteDefinition:Bf},exit:{gfmFootnoteCallString:Rf,gfmFootnoteCall:Pf,gfmFootnoteDefinitionLabelString:Lf,gfmFootnoteDefinition:Of}}}o(Ff,"Eg");function qf(){return{canContainEols:["delete"],enter:{strikethrough:jf},exit:{strikethrough:Df}}}o(qf,"Mg");function jf(e){this.enter({type:"delete",children:[]},e)}o(jf,"Ig");function Df(e){this.exit(e)}o(Df,"zg");function Hf(){return{enter:{table:Gf,tableData:mc,tableHeader:mc,tableRow:Wf},exit:{codeText:Vf,table:Uf,tableData:Fs,tableHeader:Fs,tableRow:Fs}}}o(Hf,"Rg");function Gf(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}o(Gf,"Ng");function Uf(e){this.exit(e),this.data.inTable=void 0}o(Uf,"Bg");function Wf(e){this.enter({type:"tableRow",children:[]},e)}o(Wf,"Dg");function Fs(e){this.exit(e)}o(Fs,"si");function mc(e){this.enter({type:"tableCell",children:[]},e)}o(mc,"Wo");function Vf(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Xf));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}o(Vf,"Lg");function Xf(e,t){return t==="|"?t:e}o(Xf,"Fg");function Yf(){return{exit:{taskListCheckValueChecked:dc,taskListCheckValueUnchecked:dc,paragraph:Zf}}}o(Yf,"Pg");function dc(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}o(dc,"Vo");function Zf(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let s=-1,i;for(;++s<a.length;){const l=a[s];if(l.type==="paragraph"){i=l;break}}i===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}o(Zf,"Og");function Kf(){return[wf(),Ff(),qf(),Hf(),Yf()]}o(Kf,"I5");function Qf(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:l,mathText:i,mathTextData:l}};function e(c){const u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},c)}function t(){this.buffer()}function n(){const c=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=c}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(c){const u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),m=this.stack[this.stack.length-1];m.type,this.exit(c),m.value=u;const p=m.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function s(c){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},c),this.buffer()}function i(c){const u=this.resume(),m=this.stack[this.stack.length-1];m.type,this.exit(c),m.value=u,m.data.hChildren.push({type:"text",value:u})}function l(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}o(Qf,"z5");const Jf={tokenize:s4,partial:!0},gc={tokenize:i4,partial:!0},fc={tokenize:o4,partial:!0},bc={tokenize:l4,partial:!0},e4={tokenize:c4,partial:!0},yc={name:"wwwAutolink",tokenize:r4,previous:wc},vc={name:"protocolAutolink",tokenize:a4,previous:xc},Bt={name:"emailAutolink",tokenize:n4,previous:kc},yt={};function t4(){return{text:yt}}o(t4,"Gg");let bn=48;for(;bn<123;)yt[bn]=Bt,bn++,bn===58?bn=65:bn===91&&(bn=97);yt[43]=Bt,yt[45]=Bt,yt[46]=Bt,yt[95]=Bt,yt[72]=[Bt,vc],yt[104]=[Bt,vc],yt[87]=[Bt,yc],yt[119]=[Bt,yc];function n4(e,t,n){const r=this;let a,s;return i;function i(p){return!qs(p)||!kc.call(r,r.previous)||js(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(p))}function l(p){return qs(p)?(e.consume(p),l):p===64?(e.consume(p),c):n(p)}function c(p){return p===46?e.check(e4,m,u)(p):p===45||p===95||Fe(p)?(s=!0,e.consume(p),c):m(p)}function u(p){return e.consume(p),a=!0,c}function m(p){return s&&a&&Ge(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}o(n4,"Hg");function r4(e,t,n){const r=this;return a;function a(i){return i!==87&&i!==119||!wc.call(r,r.previous)||js(r.events)?n(i):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Jf,e.attempt(gc,e.attempt(fc,s),n),n)(i))}function s(i){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(i)}}o(r4,"Ug");function a4(e,t,n){const r=this;let a="",s=!1;return i;function i(p){return(p===72||p===104)&&xc.call(r,r.previous)&&!js(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(p),e.consume(p),l):n(p)}function l(p){if(Ge(p)&&a.length<5)return a+=String.fromCodePoint(p),e.consume(p),l;if(p===58){const f=a.toLowerCase();if(f==="http"||f==="https")return e.consume(p),c}return n(p)}function c(p){return p===47?(e.consume(p),s?u:(s=!0,c)):n(p)}function u(p){return p===null||aa(p)||ge(p)||fn(p)||pr(p)?n(p):e.attempt(gc,e.attempt(fc,m),n)(p)}function m(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}o(a4,"Wg");function s4(e,t,n){let r=0;return a;function a(i){return(i===87||i===119)&&r<3?(r++,e.consume(i),a):i===46&&r===3?(e.consume(i),s):n(i)}function s(i){return i===null?n(i):t(i)}}o(s4,"Vg");function i4(e,t,n){let r,a,s;return i;function i(u){return u===46||u===95?e.check(bc,c,l)(u):u===null||ge(u)||fn(u)||u!==45&&pr(u)?c(u):(s=!0,e.consume(u),i)}function l(u){return u===95?r=!0:(a=r,r=void 0),e.consume(u),i}function c(u){return a||r||!s?n(u):t(u)}}o(i4,"Xg");function o4(e,t){let n=0,r=0;return a;function a(i){return i===40?(n++,e.consume(i),a):i===41&&r<n?s(i):i===33||i===34||i===38||i===39||i===41||i===42||i===44||i===46||i===58||i===59||i===60||i===63||i===93||i===95||i===126?e.check(bc,t,s)(i):i===null||ge(i)||fn(i)?t(i):(e.consume(i),a)}function s(i){return i===41&&r++,e.consume(i),a}}o(o4,"Yg");function l4(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),s):l===93?(e.consume(l),a):l===60||l===null||ge(l)||fn(l)?t(l):n(l)}function a(l){return l===null||l===40||l===91||ge(l)||fn(l)?t(l):r(l)}function s(l){return Ge(l)?i(l):n(l)}function i(l){return l===59?(e.consume(l),r):Ge(l)?(e.consume(l),i):n(l)}}o(l4,"Zg");function c4(e,t,n){return r;function r(s){return e.consume(s),a}function a(s){return Fe(s)?n(s):t(s)}}o(c4,"Kg");function wc(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ge(e)}o(wc,"lu");function xc(e){return!Ge(e)}o(xc,"uu");function kc(e){return!(e===47||qs(e))}o(kc,"cu");function qs(e){return e===43||e===45||e===46||e===95||Fe(e)}o(qs,"Hi");function js(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}o(js,"$s");const u4={tokenize:y4,partial:!0};function p4(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:g4,continuation:{tokenize:f4},exit:b4}},text:{91:{name:"gfmFootnoteCall",tokenize:d4},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:h4,resolveTo:m4}}}}o(p4,"Jg");function h4(e,t,n){const r=this;let a=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;a--;){const c=r.events[a][1];if(c.type==="labelImage"){i=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!i||!i._balanced)return n(c);const u=gt(r.sliceSerialize({start:i.end,end:r.now()}));return u.codePointAt(0)!==94||!s.includes(u.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}o(h4,"e4");function m4(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",s,t],["enter",i,t],["exit",i,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}o(m4,"t4");function d4(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,i;return l;function l(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),c}function c(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(p){if(s>999||p===93&&!i||p===null||p===91||ge(p))return n(p);if(p===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(gt(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return ge(p)||(i=!0),s++,e.consume(p),p===92?m:u}function m(p){return p===91||p===92||p===93?(e.consume(p),s++,u):u(p)}}o(d4,"n4");function g4(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,i=0,l;return c;function c(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",m):n(y)}function m(y){if(i>999||y===93&&!l||y===null||y===91||ge(y))return n(y);if(y===93){e.exit("chunkString");const $=e.exit("gfmFootnoteDefinitionLabelString");return s=gt(r.sliceSerialize($)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return ge(y)||(l=!0),i++,e.consume(y),y===92?p:m}function p(y){return y===91||y===92||y===93?(e.consume(y),i++,m):m(y)}function f(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),a.includes(s)||a.push(s),ie(e,g,"gfmFootnoteDefinitionWhitespace")):n(y)}function g(y){return t(y)}}o(g4,"r4");function f4(e,t,n){return e.check(mr,t,e.attempt(u4,t,n))}o(f4,"a4");function b4(e){e.exit("gfmFootnoteDefinition")}o(b4,"i4");function y4(e,t,n){const r=this;return ie(e,a,"gfmFootnoteDefinitionIndent",5);function a(s){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?t(s):n(s)}}o(y4,"s4");function v4(e){let t={}.singleTilde;const n={name:"strikethrough",tokenize:a,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(s,i){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},m={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},p=[["enter",u,i],["enter",s[c][1],i],["exit",s[c][1],i],["enter",m,i]],f=i.parser.constructs.insideSpan.null;f&&nt(p,p.length,0,sa(f,s.slice(c+1,l),i)),nt(p,p.length,0,[["exit",m,i],["enter",s[l][1],i],["exit",s[l][1],i],["exit",u,i]]),nt(s,c-1,l-c+3,p),l=c+p.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function a(s,i,l){const c=this.previous,u=this.events;let m=0;return p;function p(g){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),f(g))}function f(g){const y=hr(c);if(g===126)return m>1?l(g):(s.consume(g),m++,f);if(m<2&&!t)return l(g);const $=s.exit("strikethroughSequenceTemporary"),T=hr(g);return $._open=!T||T===2&&!!y,$._close=!y||y===2&&!!T,i(g)}}}o(v4,"o4");class w4{static{o(this,"l4")}constructor(){this.map=[]}add(t,n,r){x4(this,t,n,r)}consume(t){if(this.map.sort(function(s,i){return s[0]-i[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let a=r.pop();for(;a;){for(const s of a)t.push(s);a=r.pop()}this.map.length=0}}function x4(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}o(x4,"u4");function k4(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}o(k4,"c4");function _4(){return{flow:{null:{name:"table",tokenize:$4,resolveAll:S4}}}}o(_4,"m4");function $4(e,t,n){const r=this;let a=0,s=0,i;return l;function l(z){let G=r.events.length-1;for(;G>-1;){const oe=r.events[G][1].type;if(oe==="lineEnding"||oe==="linePrefix")G--;else break}const W=G>-1?r.events[G][1].type:null,ae=W==="tableHead"||W==="tableRow"?I:c;return ae===I&&r.parser.lazy[r.now().line]?n(z):ae(z)}function c(z){return e.enter("tableHead"),e.enter("tableRow"),u(z)}function u(z){return z===124||(i=!0,s+=1),m(z)}function m(z){return z===null?n(z):Z(z)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),g):n(z):le(z)?ie(e,m,"whitespace")(z):(s+=1,i&&(i=!1,a+=1),z===124?(e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),i=!0,m):(e.enter("data"),p(z)))}function p(z){return z===null||z===124||ge(z)?(e.exit("data"),m(z)):(e.consume(z),z===92?f:p)}function f(z){return z===92||z===124?(e.consume(z),p):p(z)}function g(z){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(z):(e.enter("tableDelimiterRow"),i=!1,le(z)?ie(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):y(z))}function y(z){return z===45||z===58?T(z):z===124?(i=!0,e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),$):P(z)}function $(z){return le(z)?ie(e,T,"whitespace")(z):T(z)}function T(z){return z===58?(s+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(z),e.exit("tableDelimiterMarker"),k):z===45?(s+=1,k(z)):z===null||Z(z)?E(z):P(z)}function k(z){return z===45?(e.enter("tableDelimiterFiller"),_(z)):P(z)}function _(z){return z===45?(e.consume(z),_):z===58?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(z),e.exit("tableDelimiterMarker"),M):(e.exit("tableDelimiterFiller"),M(z))}function M(z){return le(z)?ie(e,E,"whitespace")(z):E(z)}function E(z){return z===124?y(z):z===null||Z(z)?!i||a!==s?P(z):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(z)):P(z)}function P(z){return n(z)}function I(z){return e.enter("tableRow"),L(z)}function L(z){return z===124?(e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),L):z===null||Z(z)?(e.exit("tableRow"),t(z)):le(z)?ie(e,L,"whitespace")(z):(e.enter("data"),U(z))}function U(z){return z===null||z===124||ge(z)?(e.exit("data"),L(z)):(e.consume(z),z===92?V:U)}function V(z){return z===92||z===124?(e.consume(z),U):U(z)}}o($4,"h4");function S4(e,t){let n=-1,r=!0,a=0,s=[0,0,0,0],i=[0,0,0,0],l=!1,c=0,u,m,p;const f=new w4;for(;++n<e.length;){const g=e[n],y=g[1];g[0]==="enter"?y.type==="tableHead"?(l=!1,c!==0&&(_c(f,t,c,u,m),m=void 0,c=0),u={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},f.add(n,0,[["enter",u,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(r=!0,p=void 0,s=[0,0,0,0],i=[0,n+1,0,0],l&&(l=!1,m={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},f.add(n,0,[["enter",m,t]])),a=y.type==="tableDelimiterRow"?2:m?3:1):a&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(r=!1,i[2]===0&&(s[1]!==0&&(i[0]=i[1],p=ua(f,t,s,a,void 0,p),s=[0,0,0,0]),i[2]=n)):y.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(i[0]=i[1],p=ua(f,t,s,a,void 0,p)),s=i,i=[s[1],n,0,0])):y.type==="tableHead"?(l=!0,c=n):y.type==="tableRow"||y.type==="tableDelimiterRow"?(c=n,s[1]!==0?(i[0]=i[1],p=ua(f,t,s,a,n,p)):i[1]!==0&&(p=ua(f,t,i,a,n,p)),a=0):a&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(i[3]=n)}for(c!==0&&_c(f,t,c,u,m),f.consume(t.events),n=-1;++n<t.events.length;){const g=t.events[n];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=k4(t.events,n))}return e}o(S4,"p4");function ua(e,t,n,r,a,s){const i=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(s.end=Object.assign({},On(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const c=On(t.events,n[1]);if(s={type:i,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const u=On(t.events,n[2]),m=On(t.events,n[3]),p={type:l,start:Object.assign({},u),end:Object.assign({},m)};if(e.add(n[2],0,[["enter",p,t]]),r!==2){const f=t.events[n[2]],g=t.events[n[3]];if(f[1].end=Object.assign({},g[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const y=n[2]+1,$=n[3]-n[2]-1;e.add(y,$,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return a!==void 0&&(s.end=Object.assign({},On(t.events,a)),e.add(a,0,[["exit",s,t]]),s=void 0),s}o(ua,"Rr");function _c(e,t,n,r,a){const s=[],i=On(t.events,n);a&&(a.end=Object.assign({},i),s.push(["exit",a,t])),r.end=Object.assign({},i),s.push(["exit",r,t]),e.add(n+1,0,s)}o(_c,"Xo");function On(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}o(On,"Bn");const C4={name:"tasklistCheck",tokenize:T4};function A4(){return{text:{91:C4}}}o(A4,"f4");function T4(e,t,n){const r=this;return a;function a(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),s)}function s(c){return ge(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),i):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),i):n(c)}function i(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return Z(c)?t(c):le(c)?e.check({tokenize:I4},t,n)(c):n(c)}}o(T4,"g4");function I4(e,t,n){return ie(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}o(I4,"b4");function M4(e){return jl([t4(),p4(),v4(),_4(),A4()])}o(M4,"R5");const z4={tokenize:E4,concrete:!0,name:"mathFlow"},$c={tokenize:N4,partial:!0};function E4(e,t,n){const r=this,a=r.events[r.events.length-1],s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let i=0;return l;function l(_){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),c(_)}function c(_){return _===36?(e.consume(_),i++,c):i<2?n(_):(e.exit("mathFlowFenceSequence"),ie(e,u,"whitespace")(_))}function u(_){return _===null||Z(_)?p(_):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(_))}function m(_){return _===null||Z(_)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),p(_)):_===36?n(_):(e.consume(_),m)}function p(_){return e.exit("mathFlowFence"),r.interrupt?t(_):e.attempt($c,f,T)(_)}function f(_){return e.attempt({tokenize:k,partial:!0},T,g)(_)}function g(_){return(s?ie(e,y,"linePrefix",s+1):y)(_)}function y(_){return _===null?T(_):Z(_)?e.attempt($c,f,T)(_):(e.enter("mathFlowValue"),$(_))}function $(_){return _===null||Z(_)?(e.exit("mathFlowValue"),y(_)):(e.consume(_),$)}function T(_){return e.exit("mathFlow"),t(_)}function k(_,M,E){let P=0;return ie(_,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function I(V){return _.enter("mathFlowFence"),_.enter("mathFlowFenceSequence"),L(V)}function L(V){return V===36?(P++,_.consume(V),L):P<i?E(V):(_.exit("mathFlowFenceSequence"),ie(_,U,"whitespace")(V))}function U(V){return V===null||Z(V)?(_.exit("mathFlowFence"),M(V)):E(V)}}}o(E4,"v4");function N4(e,t,n){const r=this;return a;function a(i){return i===null?t(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}o(N4,"w4");function B4(e){let t={}.singleDollarTextMath;return t==null&&(t=!0),{tokenize:n,resolve:R4,previous:P4,name:"mathText"};function n(r,a,s){let i=0,l,c;return u;function u(y){return r.enter("mathText"),r.enter("mathTextSequence"),m(y)}function m(y){return y===36?(r.consume(y),i++,m):i<2&&!t?s(y):(r.exit("mathTextSequence"),p(y))}function p(y){return y===null?s(y):y===36?(c=r.enter("mathTextSequence"),l=0,g(y)):y===32?(r.enter("space"),r.consume(y),r.exit("space"),p):Z(y)?(r.enter("lineEnding"),r.consume(y),r.exit("lineEnding"),p):(r.enter("mathTextData"),f(y))}function f(y){return y===null||y===32||y===36||Z(y)?(r.exit("mathTextData"),p(y)):(r.consume(y),f)}function g(y){return y===36?(r.consume(y),l++,g):l===i?(r.exit("mathTextSequence"),r.exit("mathText"),a(y)):(c.type="mathTextData",f(y))}}}o(B4,"x4");function R4(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="mathTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}o(R4,"k4");function P4(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}o(P4,"_4");function L4(e){return{flow:{36:z4},text:{36:B4()}}}o(L4,"N5");class j extends Error{static{o(this,"P")}constructor(t,n){var r="KaTeX parse error: "+t,a,s,i=n&&n.loc;if(i&&i.start<=i.end){var l=i.lexer.input;a=i.start,s=i.end,a===l.length?r+=" at end of input: ":r+=" at position "+(a+1)+": ";var c=l.slice(a,s).replace(/[^]/g,"$&̲"),u;a>15?u="…"+l.slice(a-15,a):u=l.slice(0,a);var m;s+15<l.length?m=l.slice(s,s+15)+"…":m=l.slice(s),r+=u+c+m}super(r),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,j.prototype),this.position=a,a!=null&&s!=null&&(this.length=s-a),this.rawMessage=t}}var O4=/([A-Z])/g,F4=o(e=>e.replace(O4,"-$1").toLowerCase(),"C4"),q4={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},j4=/[&><"']/g,qe=o(e=>String(e).replace(j4,t=>q4[t]),"Oe"),Ds=o(e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?Ds(e.body[0]):e:e.type==="font"?Ds(e.body):e,"Vr"),D4=new Set(["mathord","textord","atom"]),Rt=o(e=>D4.has(Ds(e).type),"qt"),H4=o(e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},"E4"),Hs={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:o(e=>"#"+e,"cliProcessor")},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:o((e,t)=>(t.push(e),t),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:o(e=>Math.max(0,e),"processor"),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:o(e=>Math.max(0,e),"processor"),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:o(e=>Math.max(0,e),"processor"),cli:"-e, --max-expand <n>",cliProcessor:o(e=>e==="Infinity"?1/0:parseInt(e),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};function G4(e){if(typeof e!="string")return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}o(G4,"M4");function U4(e){if(e.default!==void 0)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;return G4(t)}o(U4,"I4");function W4(e,t,n,r){var a=n[t];e[t]=a!==void 0?r.processor?r.processor(a):a:U4(r)}o(W4,"z4");class Gs{static{o(this,"Cs")}constructor(t){t===void 0&&(t={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n of Object.keys(Hs)){var r=Hs[n];r&&W4(this,n,t,r)}}reportNonstrict(t,n,r){var a=this.strict;if(typeof a=="function"&&(a=a(t,n,r)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new j("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var a=this.strict;if(typeof a=="function")try{a=a(t,n,r)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var n=H4(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class Yt{static{o(this,"Ut")}constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return vt[V4[this.id]]}sub(){return vt[X4[this.id]]}fracNum(){return vt[Y4[this.id]]}fracDen(){return vt[Z4[this.id]]}cramp(){return vt[K4[this.id]]}text(){return vt[Q4[this.id]]}isTight(){return this.size>=2}}var Us=0,pa=1,Fn=2,Pt=3,fr=4,ut=5,qn=6,Ue=7,vt=[new Yt(Us,0,!1),new Yt(pa,0,!0),new Yt(Fn,1,!1),new Yt(Pt,1,!0),new Yt(fr,2,!1),new Yt(ut,2,!0),new Yt(qn,3,!1),new Yt(Ue,3,!0)],V4=[fr,ut,fr,ut,qn,Ue,qn,Ue],X4=[ut,ut,ut,ut,Ue,Ue,Ue,Ue],Y4=[Fn,Pt,fr,ut,qn,Ue,qn,Ue],Z4=[Pt,Pt,ut,ut,Ue,Ue,Ue,Ue],K4=[pa,pa,Pt,Pt,ut,ut,Ue,Ue],Q4=[Us,pa,Fn,Pt,Fn,Pt,Fn,Pt],ne={DISPLAY:vt[Us],TEXT:vt[Fn],SCRIPT:vt[fr],SCRIPTSCRIPT:vt[qn]},Ws=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function J4(e){for(var t=0;t<Ws.length;t++)for(var n=Ws[t],r=0;r<n.blocks.length;r++){var a=n.blocks[r];if(e>=a[0]&&e<=a[1])return n.name}return null}o(J4,"P4");var ha=[];Ws.forEach(e=>e.blocks.forEach(t=>ha.push(...t)));function Sc(e){for(var t=0;t<ha.length;t+=2)if(e>=ha[t]&&e<=ha[t+1])return!0;return!1}o(Sc,"mu");var Ne=o(e=>e+" "+e,"Me"),jn=80,e5=o(function(e,t){return"M95,"+(622+e+t)+`
155
155
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
156
156
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
157
157
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
@@ -162,7 +162,7 @@ c5.3,-9.3,12,-14,20,-14
162
162
  H400000v`+(40+e)+`H845.2724
163
163
  s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
164
164
  c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
165
- M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},"P4"),e5=o(function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119
165
+ M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},"O4"),t5=o(function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119
166
166
  c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
167
167
  c340,-704.7,510.7,-1060.3,512,-1067
168
168
  l`+e/2.084+" -"+e+`
@@ -172,7 +172,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,
172
172
  c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
173
173
  s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
174
174
  c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
175
- M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},"O4"),t5=o(function(e,t){return"M983 "+(10+e+t)+`
175
+ M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},"q4"),n5=o(function(e,t){return"M983 "+(10+e+t)+`
176
176
  l`+e/3.13+" -"+e+`
177
177
  c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
178
178
  H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
@@ -181,7 +181,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
181
181
  c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
182
182
  c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
183
183
  c53.7,-170.3,84.5,-266.8,92.5,-289.5z
184
- M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},"q4"),n5=o(function(e,t){return"M424,"+(2398+e+t)+`
184
+ M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},"j4"),r5=o(function(e,t){return"M424,"+(2398+e+t)+`
185
185
  c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
186
186
  c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
187
187
  s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
@@ -191,18 +191,18 @@ v`+(40+e)+`H1014.6
191
191
  s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
192
192
  c-2,6,-10,9,-24,9
193
193
  c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+t+`
194
- h400000v`+(40+e)+"h-400000z"},"j4"),r5=o(function(e,t){return"M473,"+(2713+e+t)+`
194
+ h400000v`+(40+e)+"h-400000z"},"G4"),a5=o(function(e,t){return"M473,"+(2713+e+t)+`
195
195
  c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
196
196
  c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
197
197
  s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
198
198
  c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
199
199
  c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
200
200
  s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
201
- 606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},"G4"),a5=o(function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},"H4"),s5=o(function(e,t,n){var r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
201
+ 606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},"H4"),s5=o(function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},"U4"),i5=o(function(e,t,n){var r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
202
202
  H742v`+r+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
203
203
  h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
204
204
  c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
205
- 219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},"U4"),i5=o(function(e,t,n){t=1e3*t;var r="";switch(e){case"sqrtMain":r=J4(t,jn);break;case"sqrtSize1":r=e5(t,jn);break;case"sqrtSize2":r=t5(t,jn);break;case"sqrtSize3":r=n5(t,jn);break;case"sqrtSize4":r=r5(t,jn);break;case"sqrtTall":r=s5(t,jn,n)}return r},"W4"),o5=o(function(e,t){switch(e){case"⎜":return Ne("M291 0 H417 V"+t+" H291z");case"∣":return Ne("M145 0 H188 V"+t+" H145z");case"∥":return Ne("M145 0 H188 V"+t+" H145z")+Ne("M367 0 H410 V"+t+" H367z");case"⎟":return Ne("M457 0 H583 V"+t+" H457z");case"⎢":return Ne("M319 0 H403 V"+t+" H319z");case"⎥":return Ne("M263 0 H347 V"+t+" H263z");case"⎪":return Ne("M384 0 H504 V"+t+" H384z");case"⏐":return Ne("M312 0 H355 V"+t+" H312z");case"‖":return Ne("M257 0 H300 V"+t+" H257z")+Ne("M478 0 H521 V"+t+" H478z");default:return""}},"V4"),Sc={doubleleftarrow:`M262 157
205
+ 219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},"W4"),o5=o(function(e,t,n){t=1e3*t;var r="";switch(e){case"sqrtMain":r=e5(t,jn);break;case"sqrtSize1":r=t5(t,jn);break;case"sqrtSize2":r=n5(t,jn);break;case"sqrtSize3":r=r5(t,jn);break;case"sqrtSize4":r=a5(t,jn);break;case"sqrtTall":r=i5(t,jn,n)}return r},"V4"),l5=o(function(e,t){switch(e){case"⎜":return Ne("M291 0 H417 V"+t+" H291z");case"∣":return Ne("M145 0 H188 V"+t+" H145z");case"∥":return Ne("M145 0 H188 V"+t+" H145z")+Ne("M367 0 H410 V"+t+" H367z");case"⎟":return Ne("M457 0 H583 V"+t+" H457z");case"⎢":return Ne("M319 0 H403 V"+t+" H319z");case"⎥":return Ne("M263 0 H347 V"+t+" H263z");case"⎪":return Ne("M384 0 H504 V"+t+" H384z");case"⏐":return Ne("M312 0 H355 V"+t+" H312z");case"‖":return Ne("M257 0 H300 V"+t+" H257z")+Ne("M478 0 H521 V"+t+" H478z");default:return""}},"X4"),Cc={doubleleftarrow:`M262 157
206
206
  l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
207
207
  0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
208
208
  14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
@@ -373,7 +373,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`
373
373
  c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
374
374
  -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
375
375
  c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
376
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},l5=o(function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 v84 h347 v-84
376
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},c5=o(function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 v84 h347 v-84
377
377
  H403z M403 1759 V0 H319 V1759 v`+t+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z
378
378
  M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
379
379
  c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
@@ -401,10 +401,10 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6
401
401
  c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
402
402
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
403
403
  l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
404
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},"X4");function c5(e){return"toText"in e}o(c5,"Y4");class Dn{static{o(this,"Hn")}constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){return this.children.map(t=>{if(c5(t))return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)}).join("")}}var Vs={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},u5={ex:!0,em:!0,mu:!0},Ac=o(function(e){return typeof e!="string"&&(e=e.unit),e in Vs||e in u5||e==="ex"},"hu"),ke=o(function(e,t){var n;if(e.unit in Vs)n=Vs[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")n=t.fontMetrics().cssEmPerMu;else{var r;if(t.style.isTight()?r=t.havingStyle(t.style.text()):r=t,e.unit==="ex")n=r.fontMetrics().xHeight;else if(e.unit==="em")n=r.fontMetrics().quad;else throw new j("Invalid unit: '"+e.unit+"'");r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},"xe"),H=o(function(e){return+e.toFixed(4)+"em"},"G"),Zt=o(function(e){return e.filter(t=>t).join(" ")},"en"),Xs=o(function(e){var t="";for(var n of Object.keys(e)){var r=e[n];r!==void 0&&(t+=O4(n)+":"+r+";")}return t},"As"),Tc=o(function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},"pu"),Ic=o(function(e){var t=document.createElement(e);t.className=Zt(this.classes),Object.assign(t.style,this.style);for(var n of Object.keys(this.attributes))t.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},"du"),p5=/[\s"'>/=\x00-\x1f]/,Mc=o(function(e){var t="<"+e;this.classes.length&&(t+=' class="'+qe(Zt(this.classes))+'"');var n=Xs(this.style);n&&(t+=' style="'+qe(n)+'"');for(var r of Object.keys(this.attributes)){if(p5.test(r))throw new j("Invalid attribute name '"+r+"'");t+=" "+r+'="'+qe(this.attributes[r])+'"'}t+=">";for(var a=0;a<this.children.length;a++)t+=this.children[a].toMarkup();return t+="</"+e+">",t},"fu");class Hn{static{o(this,"Un")}constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,Tc.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return Ic.call(this,"span")}toMarkup(){return Mc.call(this,"span")}}class ma{static{o(this,"Sa")}constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Tc.call(this,n,a),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return Ic.call(this,"a")}toMarkup(){return Mc.call(this,"a")}}class h5{static{o(this,"Q4")}constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");return t.src=this.src,t.alt=this.alt,t.className="mord",Object.assign(t.style,this.style),t}toMarkup(){var t='<img src="'+qe(this.src)+'"'+(' alt="'+qe(this.alt)+'"'),n=Xs(this.style);return n&&(t+=' style="'+qe(n)+'"'),t+="'/>",t}}var m5={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class rt{static{o(this,"rt")}constructor(t,n,r,a,s,i,l,c){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=r||0,this.italic=a||0,this.skew=s||0,this.width=i||0,this.classes=l||[],this.style=c||{},this.maxFontSize=0;var u=Q4(this.text.charCodeAt(0));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=m5[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;return this.italic>0&&(n=document.createElement("span"),n.style.marginRight=H(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Zt(this.classes)),Object.keys(this.style).length>0&&(n=n||document.createElement("span"),Object.assign(n.style,this.style)),n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=qe(Zt(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+H(this.italic)+";"),r+=Xs(this.style),r&&(t=!0,n+=' style="'+qe(r)+'"');var a=qe(this.text);return t?(n+=">",n+=a,n+="</span>",n):a}}class Lt{static{o(this,"Pt")}constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n of Object.keys(this.attributes))t+=" "+n+'="'+qe(this.attributes[n])+'"';t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class Kt{static{o(this,"tn")}constructor(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",Sc[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+qe(this.alternate)+'"/>':'<path d="'+qe(Sc[this.pathName])+'"/>'}}class Ys{static{o(this,"Xi")}constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n of Object.keys(this.attributes))t+=" "+n+'="'+qe(this.attributes[n])+'"';return t+="/>",t}}function d5(e){if(e instanceof rt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}o(d5,"e2");function g5(e){if(e instanceof Hn)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}o(g5,"t2");var f5=o(e=>e instanceof Hn||e instanceof ma||e instanceof Dn,"n2"),wt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},da={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},zc={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function b5(e,t){wt[e]=t}o(b5,"r2");function Zs(e,t,n){if(!wt[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=wt[t][r];if(!a&&e[0]in zc&&(r=zc[e[0]].charCodeAt(0),a=wt[t][r]),!a&&n==="text"&&Cc(r)&&(a=wt[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}o(Zs,"Ts");var Ks={};function y5(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Ks[t]){var n=Ks[t]={cssEmPerMu:da.quad[t]/18};for(var r in da)da.hasOwnProperty(r)&&(n[r]=da[r][t])}return Ks[t]}o(y5,"a2");var we={math:{},text:{}};function h(e,t,n,r,a,s){we[e][a]={font:t,group:n,replace:r},s&&r&&(we[e][r]=we[e][a])}o(h,"m");var d="math",R="text",b="main",w="ams",xe="accent-token",Y="bin",We="close",Gn="inner",Q="mathord",Te="op-token",at="open",br="punct",x="rel",Ot="spacing",A="textord";h(d,b,x,"≡","\\equiv",!0),h(d,b,x,"≺","\\prec",!0),h(d,b,x,"≻","\\succ",!0),h(d,b,x,"∼","\\sim",!0),h(d,b,x,"⊥","\\perp"),h(d,b,x,"⪯","\\preceq",!0),h(d,b,x,"⪰","\\succeq",!0),h(d,b,x,"≃","\\simeq",!0),h(d,b,x,"∣","\\mid",!0),h(d,b,x,"≪","\\ll",!0),h(d,b,x,"≫","\\gg",!0),h(d,b,x,"≍","\\asymp",!0),h(d,b,x,"∥","\\parallel"),h(d,b,x,"⋈","\\bowtie",!0),h(d,b,x,"⌣","\\smile",!0),h(d,b,x,"⊑","\\sqsubseteq",!0),h(d,b,x,"⊒","\\sqsupseteq",!0),h(d,b,x,"≐","\\doteq",!0),h(d,b,x,"⌢","\\frown",!0),h(d,b,x,"∋","\\ni",!0),h(d,b,x,"∝","\\propto",!0),h(d,b,x,"⊢","\\vdash",!0),h(d,b,x,"⊣","\\dashv",!0),h(d,b,x,"∋","\\owns"),h(d,b,br,".","\\ldotp"),h(d,b,br,"⋅","\\cdotp"),h(d,b,br,"⋅","·"),h(R,b,A,"⋅","·"),h(d,b,A,"#","\\#"),h(R,b,A,"#","\\#"),h(d,b,A,"&","\\&"),h(R,b,A,"&","\\&"),h(d,b,A,"ℵ","\\aleph",!0),h(d,b,A,"∀","\\forall",!0),h(d,b,A,"ℏ","\\hbar",!0),h(d,b,A,"∃","\\exists",!0),h(d,b,A,"∇","\\nabla",!0),h(d,b,A,"♭","\\flat",!0),h(d,b,A,"ℓ","\\ell",!0),h(d,b,A,"♮","\\natural",!0),h(d,b,A,"♣","\\clubsuit",!0),h(d,b,A,"℘","\\wp",!0),h(d,b,A,"♯","\\sharp",!0),h(d,b,A,"♢","\\diamondsuit",!0),h(d,b,A,"ℜ","\\Re",!0),h(d,b,A,"♡","\\heartsuit",!0),h(d,b,A,"ℑ","\\Im",!0),h(d,b,A,"♠","\\spadesuit",!0),h(d,b,A,"§","\\S",!0),h(R,b,A,"§","\\S"),h(d,b,A,"¶","\\P",!0),h(R,b,A,"¶","\\P"),h(d,b,A,"†","\\dag"),h(R,b,A,"†","\\dag"),h(R,b,A,"†","\\textdagger"),h(d,b,A,"‡","\\ddag"),h(R,b,A,"‡","\\ddag"),h(R,b,A,"‡","\\textdaggerdbl"),h(d,b,We,"⎱","\\rmoustache",!0),h(d,b,at,"⎰","\\lmoustache",!0),h(d,b,We,"⟯","\\rgroup",!0),h(d,b,at,"⟮","\\lgroup",!0),h(d,b,Y,"∓","\\mp",!0),h(d,b,Y,"⊖","\\ominus",!0),h(d,b,Y,"⊎","\\uplus",!0),h(d,b,Y,"⊓","\\sqcap",!0),h(d,b,Y,"∗","\\ast"),h(d,b,Y,"⊔","\\sqcup",!0),h(d,b,Y,"◯","\\bigcirc",!0),h(d,b,Y,"∙","\\bullet",!0),h(d,b,Y,"‡","\\ddagger"),h(d,b,Y,"≀","\\wr",!0),h(d,b,Y,"⨿","\\amalg"),h(d,b,Y,"&","\\And"),h(d,b,x,"⟵","\\longleftarrow",!0),h(d,b,x,"⇐","\\Leftarrow",!0),h(d,b,x,"⟸","\\Longleftarrow",!0),h(d,b,x,"⟶","\\longrightarrow",!0),h(d,b,x,"⇒","\\Rightarrow",!0),h(d,b,x,"⟹","\\Longrightarrow",!0),h(d,b,x,"↔","\\leftrightarrow",!0),h(d,b,x,"⟷","\\longleftrightarrow",!0),h(d,b,x,"⇔","\\Leftrightarrow",!0),h(d,b,x,"⟺","\\Longleftrightarrow",!0),h(d,b,x,"↦","\\mapsto",!0),h(d,b,x,"⟼","\\longmapsto",!0),h(d,b,x,"↗","\\nearrow",!0),h(d,b,x,"↩","\\hookleftarrow",!0),h(d,b,x,"↪","\\hookrightarrow",!0),h(d,b,x,"↘","\\searrow",!0),h(d,b,x,"↼","\\leftharpoonup",!0),h(d,b,x,"⇀","\\rightharpoonup",!0),h(d,b,x,"↙","\\swarrow",!0),h(d,b,x,"↽","\\leftharpoondown",!0),h(d,b,x,"⇁","\\rightharpoondown",!0),h(d,b,x,"↖","\\nwarrow",!0),h(d,b,x,"⇌","\\rightleftharpoons",!0),h(d,w,x,"≮","\\nless",!0),h(d,w,x,"","\\@nleqslant"),h(d,w,x,"","\\@nleqq"),h(d,w,x,"⪇","\\lneq",!0),h(d,w,x,"≨","\\lneqq",!0),h(d,w,x,"","\\@lvertneqq"),h(d,w,x,"⋦","\\lnsim",!0),h(d,w,x,"⪉","\\lnapprox",!0),h(d,w,x,"⊀","\\nprec",!0),h(d,w,x,"⋠","\\npreceq",!0),h(d,w,x,"⋨","\\precnsim",!0),h(d,w,x,"⪹","\\precnapprox",!0),h(d,w,x,"≁","\\nsim",!0),h(d,w,x,"","\\@nshortmid"),h(d,w,x,"∤","\\nmid",!0),h(d,w,x,"⊬","\\nvdash",!0),h(d,w,x,"⊭","\\nvDash",!0),h(d,w,x,"⋪","\\ntriangleleft"),h(d,w,x,"⋬","\\ntrianglelefteq",!0),h(d,w,x,"⊊","\\subsetneq",!0),h(d,w,x,"","\\@varsubsetneq"),h(d,w,x,"⫋","\\subsetneqq",!0),h(d,w,x,"","\\@varsubsetneqq"),h(d,w,x,"≯","\\ngtr",!0),h(d,w,x,"","\\@ngeqslant"),h(d,w,x,"","\\@ngeqq"),h(d,w,x,"⪈","\\gneq",!0),h(d,w,x,"≩","\\gneqq",!0),h(d,w,x,"","\\@gvertneqq"),h(d,w,x,"⋧","\\gnsim",!0),h(d,w,x,"⪊","\\gnapprox",!0),h(d,w,x,"⊁","\\nsucc",!0),h(d,w,x,"⋡","\\nsucceq",!0),h(d,w,x,"⋩","\\succnsim",!0),h(d,w,x,"⪺","\\succnapprox",!0),h(d,w,x,"≆","\\ncong",!0),h(d,w,x,"","\\@nshortparallel"),h(d,w,x,"∦","\\nparallel",!0),h(d,w,x,"⊯","\\nVDash",!0),h(d,w,x,"⋫","\\ntriangleright"),h(d,w,x,"⋭","\\ntrianglerighteq",!0),h(d,w,x,"","\\@nsupseteqq"),h(d,w,x,"⊋","\\supsetneq",!0),h(d,w,x,"","\\@varsupsetneq"),h(d,w,x,"⫌","\\supsetneqq",!0),h(d,w,x,"","\\@varsupsetneqq"),h(d,w,x,"⊮","\\nVdash",!0),h(d,w,x,"⪵","\\precneqq",!0),h(d,w,x,"⪶","\\succneqq",!0),h(d,w,x,"","\\@nsubseteqq"),h(d,w,Y,"⊴","\\unlhd"),h(d,w,Y,"⊵","\\unrhd"),h(d,w,x,"↚","\\nleftarrow",!0),h(d,w,x,"↛","\\nrightarrow",!0),h(d,w,x,"⇍","\\nLeftarrow",!0),h(d,w,x,"⇏","\\nRightarrow",!0),h(d,w,x,"↮","\\nleftrightarrow",!0),h(d,w,x,"⇎","\\nLeftrightarrow",!0),h(d,w,x,"△","\\vartriangle"),h(d,w,A,"ℏ","\\hslash"),h(d,w,A,"▽","\\triangledown"),h(d,w,A,"◊","\\lozenge"),h(d,w,A,"Ⓢ","\\circledS"),h(d,w,A,"®","\\circledR"),h(R,w,A,"®","\\circledR"),h(d,w,A,"∡","\\measuredangle",!0),h(d,w,A,"∄","\\nexists"),h(d,w,A,"℧","\\mho"),h(d,w,A,"Ⅎ","\\Finv",!0),h(d,w,A,"⅁","\\Game",!0),h(d,w,A,"‵","\\backprime"),h(d,w,A,"▲","\\blacktriangle"),h(d,w,A,"▼","\\blacktriangledown"),h(d,w,A,"■","\\blacksquare"),h(d,w,A,"⧫","\\blacklozenge"),h(d,w,A,"★","\\bigstar"),h(d,w,A,"∢","\\sphericalangle",!0),h(d,w,A,"∁","\\complement",!0),h(d,w,A,"ð","\\eth",!0),h(R,b,A,"ð","ð"),h(d,w,A,"╱","\\diagup"),h(d,w,A,"╲","\\diagdown"),h(d,w,A,"□","\\square"),h(d,w,A,"□","\\Box"),h(d,w,A,"◊","\\Diamond"),h(d,w,A,"¥","\\yen",!0),h(R,w,A,"¥","\\yen",!0),h(d,w,A,"✓","\\checkmark",!0),h(R,w,A,"✓","\\checkmark"),h(d,w,A,"ℶ","\\beth",!0),h(d,w,A,"ℸ","\\daleth",!0),h(d,w,A,"ℷ","\\gimel",!0),h(d,w,A,"ϝ","\\digamma",!0),h(d,w,A,"ϰ","\\varkappa"),h(d,w,at,"┌","\\@ulcorner",!0),h(d,w,We,"┐","\\@urcorner",!0),h(d,w,at,"└","\\@llcorner",!0),h(d,w,We,"┘","\\@lrcorner",!0),h(d,w,x,"≦","\\leqq",!0),h(d,w,x,"⩽","\\leqslant",!0),h(d,w,x,"⪕","\\eqslantless",!0),h(d,w,x,"≲","\\lesssim",!0),h(d,w,x,"⪅","\\lessapprox",!0),h(d,w,x,"≊","\\approxeq",!0),h(d,w,Y,"⋖","\\lessdot"),h(d,w,x,"⋘","\\lll",!0),h(d,w,x,"≶","\\lessgtr",!0),h(d,w,x,"⋚","\\lesseqgtr",!0),h(d,w,x,"⪋","\\lesseqqgtr",!0),h(d,w,x,"≑","\\doteqdot"),h(d,w,x,"≓","\\risingdotseq",!0),h(d,w,x,"≒","\\fallingdotseq",!0),h(d,w,x,"∽","\\backsim",!0),h(d,w,x,"⋍","\\backsimeq",!0),h(d,w,x,"⫅","\\subseteqq",!0),h(d,w,x,"⋐","\\Subset",!0),h(d,w,x,"⊏","\\sqsubset",!0),h(d,w,x,"≼","\\preccurlyeq",!0),h(d,w,x,"⋞","\\curlyeqprec",!0),h(d,w,x,"≾","\\precsim",!0),h(d,w,x,"⪷","\\precapprox",!0),h(d,w,x,"⊲","\\vartriangleleft"),h(d,w,x,"⊴","\\trianglelefteq"),h(d,w,x,"⊨","\\vDash",!0),h(d,w,x,"⊪","\\Vvdash",!0),h(d,w,x,"⌣","\\smallsmile"),h(d,w,x,"⌢","\\smallfrown"),h(d,w,x,"≏","\\bumpeq",!0),h(d,w,x,"≎","\\Bumpeq",!0),h(d,w,x,"≧","\\geqq",!0),h(d,w,x,"⩾","\\geqslant",!0),h(d,w,x,"⪖","\\eqslantgtr",!0),h(d,w,x,"≳","\\gtrsim",!0),h(d,w,x,"⪆","\\gtrapprox",!0),h(d,w,Y,"⋗","\\gtrdot"),h(d,w,x,"⋙","\\ggg",!0),h(d,w,x,"≷","\\gtrless",!0),h(d,w,x,"⋛","\\gtreqless",!0),h(d,w,x,"⪌","\\gtreqqless",!0),h(d,w,x,"≖","\\eqcirc",!0),h(d,w,x,"≗","\\circeq",!0),h(d,w,x,"≜","\\triangleq",!0),h(d,w,x,"∼","\\thicksim"),h(d,w,x,"≈","\\thickapprox"),h(d,w,x,"⫆","\\supseteqq",!0),h(d,w,x,"⋑","\\Supset",!0),h(d,w,x,"⊐","\\sqsupset",!0),h(d,w,x,"≽","\\succcurlyeq",!0),h(d,w,x,"⋟","\\curlyeqsucc",!0),h(d,w,x,"≿","\\succsim",!0),h(d,w,x,"⪸","\\succapprox",!0),h(d,w,x,"⊳","\\vartriangleright"),h(d,w,x,"⊵","\\trianglerighteq"),h(d,w,x,"⊩","\\Vdash",!0),h(d,w,x,"∣","\\shortmid"),h(d,w,x,"∥","\\shortparallel"),h(d,w,x,"≬","\\between",!0),h(d,w,x,"⋔","\\pitchfork",!0),h(d,w,x,"∝","\\varpropto"),h(d,w,x,"◀","\\blacktriangleleft"),h(d,w,x,"∴","\\therefore",!0),h(d,w,x,"∍","\\backepsilon"),h(d,w,x,"▶","\\blacktriangleright"),h(d,w,x,"∵","\\because",!0),h(d,w,x,"⋘","\\llless"),h(d,w,x,"⋙","\\gggtr"),h(d,w,Y,"⊲","\\lhd"),h(d,w,Y,"⊳","\\rhd"),h(d,w,x,"≂","\\eqsim",!0),h(d,b,x,"⋈","\\Join"),h(d,w,x,"≑","\\Doteq",!0),h(d,w,Y,"∔","\\dotplus",!0),h(d,w,Y,"∖","\\smallsetminus"),h(d,w,Y,"⋒","\\Cap",!0),h(d,w,Y,"⋓","\\Cup",!0),h(d,w,Y,"⩞","\\doublebarwedge",!0),h(d,w,Y,"⊟","\\boxminus",!0),h(d,w,Y,"⊞","\\boxplus",!0),h(d,w,Y,"⋇","\\divideontimes",!0),h(d,w,Y,"⋉","\\ltimes",!0),h(d,w,Y,"⋊","\\rtimes",!0),h(d,w,Y,"⋋","\\leftthreetimes",!0),h(d,w,Y,"⋌","\\rightthreetimes",!0),h(d,w,Y,"⋏","\\curlywedge",!0),h(d,w,Y,"⋎","\\curlyvee",!0),h(d,w,Y,"⊝","\\circleddash",!0),h(d,w,Y,"⊛","\\circledast",!0),h(d,w,Y,"⋅","\\centerdot"),h(d,w,Y,"⊺","\\intercal",!0),h(d,w,Y,"⋒","\\doublecap"),h(d,w,Y,"⋓","\\doublecup"),h(d,w,Y,"⊠","\\boxtimes",!0),h(d,w,x,"⇢","\\dashrightarrow",!0),h(d,w,x,"⇠","\\dashleftarrow",!0),h(d,w,x,"⇇","\\leftleftarrows",!0),h(d,w,x,"⇆","\\leftrightarrows",!0),h(d,w,x,"⇚","\\Lleftarrow",!0),h(d,w,x,"↞","\\twoheadleftarrow",!0),h(d,w,x,"↢","\\leftarrowtail",!0),h(d,w,x,"↫","\\looparrowleft",!0),h(d,w,x,"⇋","\\leftrightharpoons",!0),h(d,w,x,"↶","\\curvearrowleft",!0),h(d,w,x,"↺","\\circlearrowleft",!0),h(d,w,x,"↰","\\Lsh",!0),h(d,w,x,"⇈","\\upuparrows",!0),h(d,w,x,"↿","\\upharpoonleft",!0),h(d,w,x,"⇃","\\downharpoonleft",!0),h(d,b,x,"⊶","\\origof",!0),h(d,b,x,"⊷","\\imageof",!0),h(d,w,x,"⊸","\\multimap",!0),h(d,w,x,"↭","\\leftrightsquigarrow",!0),h(d,w,x,"⇉","\\rightrightarrows",!0),h(d,w,x,"⇄","\\rightleftarrows",!0),h(d,w,x,"↠","\\twoheadrightarrow",!0),h(d,w,x,"↣","\\rightarrowtail",!0),h(d,w,x,"↬","\\looparrowright",!0),h(d,w,x,"↷","\\curvearrowright",!0),h(d,w,x,"↻","\\circlearrowright",!0),h(d,w,x,"↱","\\Rsh",!0),h(d,w,x,"⇊","\\downdownarrows",!0),h(d,w,x,"↾","\\upharpoonright",!0),h(d,w,x,"⇂","\\downharpoonright",!0),h(d,w,x,"⇝","\\rightsquigarrow",!0),h(d,w,x,"⇝","\\leadsto"),h(d,w,x,"⇛","\\Rrightarrow",!0),h(d,w,x,"↾","\\restriction"),h(d,b,A,"‘","`"),h(d,b,A,"$","\\$"),h(R,b,A,"$","\\$"),h(R,b,A,"$","\\textdollar"),h(d,b,A,"%","\\%"),h(R,b,A,"%","\\%"),h(d,b,A,"_","\\_"),h(R,b,A,"_","\\_"),h(R,b,A,"_","\\textunderscore"),h(d,b,A,"∠","\\angle",!0),h(d,b,A,"∞","\\infty",!0),h(d,b,A,"′","\\prime"),h(d,b,A,"△","\\triangle"),h(d,b,A,"Γ","\\Gamma",!0),h(d,b,A,"Δ","\\Delta",!0),h(d,b,A,"Θ","\\Theta",!0),h(d,b,A,"Λ","\\Lambda",!0),h(d,b,A,"Ξ","\\Xi",!0),h(d,b,A,"Π","\\Pi",!0),h(d,b,A,"Σ","\\Sigma",!0),h(d,b,A,"Υ","\\Upsilon",!0),h(d,b,A,"Φ","\\Phi",!0),h(d,b,A,"Ψ","\\Psi",!0),h(d,b,A,"Ω","\\Omega",!0),h(d,b,A,"A","Α"),h(d,b,A,"B","Β"),h(d,b,A,"E","Ε"),h(d,b,A,"Z","Ζ"),h(d,b,A,"H","Η"),h(d,b,A,"I","Ι"),h(d,b,A,"K","Κ"),h(d,b,A,"M","Μ"),h(d,b,A,"N","Ν"),h(d,b,A,"O","Ο"),h(d,b,A,"P","Ρ"),h(d,b,A,"T","Τ"),h(d,b,A,"X","Χ"),h(d,b,A,"¬","\\neg",!0),h(d,b,A,"¬","\\lnot"),h(d,b,A,"⊤","\\top"),h(d,b,A,"⊥","\\bot"),h(d,b,A,"∅","\\emptyset"),h(d,w,A,"∅","\\varnothing"),h(d,b,Q,"α","\\alpha",!0),h(d,b,Q,"β","\\beta",!0),h(d,b,Q,"γ","\\gamma",!0),h(d,b,Q,"δ","\\delta",!0),h(d,b,Q,"ϵ","\\epsilon",!0),h(d,b,Q,"ζ","\\zeta",!0),h(d,b,Q,"η","\\eta",!0),h(d,b,Q,"θ","\\theta",!0),h(d,b,Q,"ι","\\iota",!0),h(d,b,Q,"κ","\\kappa",!0),h(d,b,Q,"λ","\\lambda",!0),h(d,b,Q,"μ","\\mu",!0),h(d,b,Q,"ν","\\nu",!0),h(d,b,Q,"ξ","\\xi",!0),h(d,b,Q,"ο","\\omicron",!0),h(d,b,Q,"π","\\pi",!0),h(d,b,Q,"ρ","\\rho",!0),h(d,b,Q,"σ","\\sigma",!0),h(d,b,Q,"τ","\\tau",!0),h(d,b,Q,"υ","\\upsilon",!0),h(d,b,Q,"ϕ","\\phi",!0),h(d,b,Q,"χ","\\chi",!0),h(d,b,Q,"ψ","\\psi",!0),h(d,b,Q,"ω","\\omega",!0),h(d,b,Q,"ε","\\varepsilon",!0),h(d,b,Q,"ϑ","\\vartheta",!0),h(d,b,Q,"ϖ","\\varpi",!0),h(d,b,Q,"ϱ","\\varrho",!0),h(d,b,Q,"ς","\\varsigma",!0),h(d,b,Q,"φ","\\varphi",!0),h(d,b,Y,"∗","*",!0),h(d,b,Y,"+","+"),h(d,b,Y,"−","-",!0),h(d,b,Y,"⋅","\\cdot",!0),h(d,b,Y,"∘","\\circ",!0),h(d,b,Y,"÷","\\div",!0),h(d,b,Y,"±","\\pm",!0),h(d,b,Y,"×","\\times",!0),h(d,b,Y,"∩","\\cap",!0),h(d,b,Y,"∪","\\cup",!0),h(d,b,Y,"∖","\\setminus",!0),h(d,b,Y,"∧","\\land"),h(d,b,Y,"∨","\\lor"),h(d,b,Y,"∧","\\wedge",!0),h(d,b,Y,"∨","\\vee",!0),h(d,b,A,"√","\\surd"),h(d,b,at,"⟨","\\langle",!0),h(d,b,at,"∣","\\lvert"),h(d,b,at,"∥","\\lVert"),h(d,b,We,"?","?"),h(d,b,We,"!","!"),h(d,b,We,"⟩","\\rangle",!0),h(d,b,We,"∣","\\rvert"),h(d,b,We,"∥","\\rVert"),h(d,b,x,"=","="),h(d,b,x,":",":"),h(d,b,x,"≈","\\approx",!0),h(d,b,x,"≅","\\cong",!0),h(d,b,x,"≥","\\ge"),h(d,b,x,"≥","\\geq",!0),h(d,b,x,"←","\\gets"),h(d,b,x,">","\\gt",!0),h(d,b,x,"∈","\\in",!0),h(d,b,x,"","\\@not"),h(d,b,x,"⊂","\\subset",!0),h(d,b,x,"⊃","\\supset",!0),h(d,b,x,"⊆","\\subseteq",!0),h(d,b,x,"⊇","\\supseteq",!0),h(d,w,x,"⊈","\\nsubseteq",!0),h(d,w,x,"⊉","\\nsupseteq",!0),h(d,b,x,"⊨","\\models"),h(d,b,x,"←","\\leftarrow",!0),h(d,b,x,"≤","\\le"),h(d,b,x,"≤","\\leq",!0),h(d,b,x,"<","\\lt",!0),h(d,b,x,"→","\\rightarrow",!0),h(d,b,x,"→","\\to"),h(d,w,x,"≱","\\ngeq",!0),h(d,w,x,"≰","\\nleq",!0),h(d,b,Ot," ","\\ "),h(d,b,Ot," ","\\space"),h(d,b,Ot," ","\\nobreakspace"),h(R,b,Ot," ","\\ "),h(R,b,Ot," "," "),h(R,b,Ot," ","\\space"),h(R,b,Ot," ","\\nobreakspace"),h(d,b,Ot,"","\\nobreak"),h(d,b,Ot,"","\\allowbreak"),h(d,b,br,",",","),h(d,b,br,";",";"),h(d,w,Y,"⊼","\\barwedge",!0),h(d,w,Y,"⊻","\\veebar",!0),h(d,b,Y,"⊙","\\odot",!0),h(d,b,Y,"⊕","\\oplus",!0),h(d,b,Y,"⊗","\\otimes",!0),h(d,b,A,"∂","\\partial",!0),h(d,b,Y,"⊘","\\oslash",!0),h(d,w,Y,"⊚","\\circledcirc",!0),h(d,w,Y,"⊡","\\boxdot",!0),h(d,b,Y,"△","\\bigtriangleup"),h(d,b,Y,"▽","\\bigtriangledown"),h(d,b,Y,"†","\\dagger"),h(d,b,Y,"⋄","\\diamond"),h(d,b,Y,"⋆","\\star"),h(d,b,Y,"◃","\\triangleleft"),h(d,b,Y,"▹","\\triangleright"),h(d,b,at,"{","\\{"),h(R,b,A,"{","\\{"),h(R,b,A,"{","\\textbraceleft"),h(d,b,We,"}","\\}"),h(R,b,A,"}","\\}"),h(R,b,A,"}","\\textbraceright"),h(d,b,at,"{","\\lbrace"),h(d,b,We,"}","\\rbrace"),h(d,b,at,"[","\\lbrack",!0),h(R,b,A,"[","\\lbrack",!0),h(d,b,We,"]","\\rbrack",!0),h(R,b,A,"]","\\rbrack",!0),h(d,b,at,"(","\\lparen",!0),h(d,b,We,")","\\rparen",!0),h(R,b,A,"<","\\textless",!0),h(R,b,A,">","\\textgreater",!0),h(d,b,at,"⌊","\\lfloor",!0),h(d,b,We,"⌋","\\rfloor",!0),h(d,b,at,"⌈","\\lceil",!0),h(d,b,We,"⌉","\\rceil",!0),h(d,b,A,"\\","\\backslash"),h(d,b,A,"∣","|"),h(d,b,A,"∣","\\vert"),h(R,b,A,"|","\\textbar",!0),h(d,b,A,"∥","\\|"),h(d,b,A,"∥","\\Vert"),h(R,b,A,"∥","\\textbardbl"),h(R,b,A,"~","\\textasciitilde"),h(R,b,A,"\\","\\textbackslash"),h(R,b,A,"^","\\textasciicircum"),h(d,b,x,"↑","\\uparrow",!0),h(d,b,x,"⇑","\\Uparrow",!0),h(d,b,x,"↓","\\downarrow",!0),h(d,b,x,"⇓","\\Downarrow",!0),h(d,b,x,"↕","\\updownarrow",!0),h(d,b,x,"⇕","\\Updownarrow",!0),h(d,b,Te,"∐","\\coprod"),h(d,b,Te,"⋁","\\bigvee"),h(d,b,Te,"⋀","\\bigwedge"),h(d,b,Te,"⨄","\\biguplus"),h(d,b,Te,"⋂","\\bigcap"),h(d,b,Te,"⋃","\\bigcup"),h(d,b,Te,"∫","\\int"),h(d,b,Te,"∫","\\intop"),h(d,b,Te,"∬","\\iint"),h(d,b,Te,"∭","\\iiint"),h(d,b,Te,"∏","\\prod"),h(d,b,Te,"∑","\\sum"),h(d,b,Te,"⨂","\\bigotimes"),h(d,b,Te,"⨁","\\bigoplus"),h(d,b,Te,"⨀","\\bigodot"),h(d,b,Te,"∮","\\oint"),h(d,b,Te,"∯","\\oiint"),h(d,b,Te,"∰","\\oiiint"),h(d,b,Te,"⨆","\\bigsqcup"),h(d,b,Te,"∫","\\smallint"),h(R,b,Gn,"…","\\textellipsis"),h(d,b,Gn,"…","\\mathellipsis"),h(R,b,Gn,"…","\\ldots",!0),h(d,b,Gn,"…","\\ldots",!0),h(d,b,Gn,"⋯","\\@cdots",!0),h(d,b,Gn,"⋱","\\ddots",!0),h(d,b,A,"⋮","\\varvdots"),h(R,b,A,"⋮","\\varvdots"),h(d,b,xe,"ˊ","\\acute"),h(d,b,xe,"ˋ","\\grave"),h(d,b,xe,"¨","\\ddot"),h(d,b,xe,"~","\\tilde"),h(d,b,xe,"ˉ","\\bar"),h(d,b,xe,"˘","\\breve"),h(d,b,xe,"ˇ","\\check"),h(d,b,xe,"^","\\hat"),h(d,b,xe,"⃗","\\vec"),h(d,b,xe,"˙","\\dot"),h(d,b,xe,"˚","\\mathring"),h(d,b,Q,"","\\@imath"),h(d,b,Q,"","\\@jmath"),h(d,b,A,"ı","ı"),h(d,b,A,"ȷ","ȷ"),h(R,b,A,"ı","\\i",!0),h(R,b,A,"ȷ","\\j",!0),h(R,b,A,"ß","\\ss",!0),h(R,b,A,"æ","\\ae",!0),h(R,b,A,"œ","\\oe",!0),h(R,b,A,"ø","\\o",!0),h(R,b,A,"Æ","\\AE",!0),h(R,b,A,"Œ","\\OE",!0),h(R,b,A,"Ø","\\O",!0),h(R,b,xe,"ˊ","\\'"),h(R,b,xe,"ˋ","\\`"),h(R,b,xe,"ˆ","\\^"),h(R,b,xe,"˜","\\~"),h(R,b,xe,"ˉ","\\="),h(R,b,xe,"˘","\\u"),h(R,b,xe,"˙","\\."),h(R,b,xe,"¸","\\c"),h(R,b,xe,"˚","\\r"),h(R,b,xe,"ˇ","\\v"),h(R,b,xe,"¨",'\\"'),h(R,b,xe,"˝","\\H"),h(R,b,xe,"◯","\\textcircled");var Ec={"--":!0,"---":!0,"``":!0,"''":!0};h(R,b,A,"–","--",!0),h(R,b,A,"–","\\textendash"),h(R,b,A,"—","---",!0),h(R,b,A,"—","\\textemdash"),h(R,b,A,"‘","`",!0),h(R,b,A,"‘","\\textquoteleft"),h(R,b,A,"’","'",!0),h(R,b,A,"’","\\textquoteright"),h(R,b,A,"“","``",!0),h(R,b,A,"“","\\textquotedblleft"),h(R,b,A,"”","''",!0),h(R,b,A,"”","\\textquotedblright"),h(d,b,A,"°","\\degree",!0),h(R,b,A,"°","\\degree"),h(R,b,A,"°","\\textdegree",!0),h(d,b,A,"£","\\pounds"),h(d,b,A,"£","\\mathsterling",!0),h(R,b,A,"£","\\pounds"),h(R,b,A,"£","\\textsterling",!0),h(d,w,A,"✠","\\maltese"),h(R,w,A,"✠","\\maltese");for(var Nc='0123456789/@."',Qs=0;Qs<Nc.length;Qs++){var Bc=Nc.charAt(Qs);h(d,b,A,Bc,Bc)}for(var Rc='0123456789!@*()-=+";:?/.,',Js=0;Js<Rc.length;Js++){var Pc=Rc.charAt(Js);h(R,b,A,Pc,Pc)}for(var ga="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ei=0;ei<ga.length;ei++){var fa=ga.charAt(ei);h(d,b,Q,fa,fa),h(R,b,A,fa,fa)}h(d,w,A,"C","ℂ"),h(R,w,A,"C","ℂ"),h(d,w,A,"H","ℍ"),h(R,w,A,"H","ℍ"),h(d,w,A,"N","ℕ"),h(R,w,A,"N","ℕ"),h(d,w,A,"P","ℙ"),h(R,w,A,"P","ℙ"),h(d,w,A,"Q","ℚ"),h(R,w,A,"Q","ℚ"),h(d,w,A,"R","ℝ"),h(R,w,A,"R","ℝ"),h(d,w,A,"Z","ℤ"),h(R,w,A,"Z","ℤ"),h(d,b,Q,"h","ℎ"),h(R,b,Q,"h","ℎ");for(var ee,Ve=0;Ve<ga.length;Ve++){var $e=ga.charAt(Ve);ee=String.fromCharCode(55349,56320+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56372+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56424+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56580+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56684+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56736+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56788+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56840+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56944+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),Ve<26&&(ee=String.fromCharCode(55349,56632+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56476+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee))}ee="𝕜",h(d,b,Q,"k",ee),h(R,b,A,"k",ee);for(var yn=0;yn<10;yn++){var Qt=yn.toString();ee=String.fromCharCode(55349,57294+yn),h(d,b,Q,Qt,ee),h(R,b,A,Qt,ee),ee=String.fromCharCode(55349,57314+yn),h(d,b,Q,Qt,ee),h(R,b,A,Qt,ee),ee=String.fromCharCode(55349,57324+yn),h(d,b,Q,Qt,ee),h(R,b,A,Qt,ee),ee=String.fromCharCode(55349,57334+yn),h(d,b,Q,Qt,ee),h(R,b,A,Qt,ee)}for(var ti="ÐÞþ",ni=0;ni<ti.length;ni++){var ba=ti.charAt(ni);h(d,b,Q,ba,ba),h(R,b,A,ba,ba)}var ri={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},Lc={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},Oc={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},v5={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},vn={mathClass:"",textClass:"",font:""},Fc={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},qc={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},jc={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},ai={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},si={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},Dc={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},ii={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},Hc=[ri,ri,Lc,Lc,Oc,Oc,v5,vn,vn,vn,Fc,Fc,qc,qc,jc,jc,ai,ai,si,si,Dc,Dc,vn,vn,ii,ii],w5=[ri,vn,ai,si,ii],x5=o(e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),r=(t-55296)*1024+(n-56320)+65536;if(119808<=r&&r<120484){var a=Math.floor((r-119808)/26);return Hc[a]}else if(120782<=r&&r<=120831){var s=Math.floor((r-120782)/10);return w5[s]}else{if(r===120485||r===120486)return Hc[0];if(120486<r&&r<120782)return vn;throw new j("Unsupported character: "+e)}},"o2"),ya=o(function(e,t,n){if(we[n][e]){var r=we[n][e].replace;r&&(e=r)}return{value:e,metrics:Zs(e,t,n)}},"Aa"),Xe=o(function(e,t,n,r,a){var s=ya(e,t,n),i=s.metrics;e=s.value;var l;if(i){var c=i.italic;(n==="text"||r&&r.font==="mathit")&&(c=0),l=new rt(e,i.height,i.depth,c,i.skew,i.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+n+"'")),l=new rt(e,0,0,0,0,0,a);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");var u=r.getColor();u&&(l.style.color=u)}return l},"He"),oi=o(function(e,t,n,r){return r===void 0&&(r=[]),n.font==="boldsymbol"&&ya(e,"Main-Bold",t).metrics?Xe(e,"Main-Bold",t,n,r.concat(["mathbf"])):e==="\\"||we[t][e].font==="main"?Xe(e,"Main-Regular",t,n,r):Xe(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},"Es"),k5=o(function(e,t,n){return n!=="textord"&&ya(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},"l2"),va=o(function(e,t,n){var r=e.mode,a=e.text,s=["mord"],{font:i,fontFamily:l,fontWeight:c,fontShape:u}=t,m=r==="math"||r==="text"&&!!i,p=m?i:l,f="",g="";if(a.charCodeAt(0)===55349){var y=x5(a);f=y.font,g=y[r+"Class"]}if(f)return Xe(a,f,r,t,s.concat(g));if(p){var _,T;if(p==="boldsymbol"){var k=k5(a,r,n);_=k.fontName,T=[k.fontClass]}else m?(_=ci[i].fontName,T=[i]):(_=wa(l,c,u),T=[l,c,u]);if(ya(a,_,r).metrics)return Xe(a,_,r,t,s.concat(T));if(Ec.hasOwnProperty(a)&&_.slice(0,10)==="Typewriter"){for(var $=[],M=0;M<a.length;M++)$.push(Xe(a[M],_,r,t,s.concat(T)));return Ft($)}}if(n==="mathord")return Xe(a,"Math-Italic",r,t,s.concat(["mathnormal"]));if(n==="textord"){var E=we[r][a]&&we[r][a].font;if(E==="ams"){var P=wa("amsrm",c,u);return Xe(a,P,r,t,s.concat("amsrm",c,u))}else if(E==="main"||!E){var I=wa("textrm",c,u);return Xe(a,I,r,t,s.concat(c,u))}else{var L=wa(E,c,u);return Xe(a,L,r,t,s.concat(L,c,u))}}else throw new Error("unexpected type: "+n+" in makeOrd")},"Ta"),_5=o((e,t)=>{if(Zt(e.classes)!==Zt(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},"u2"),Gc=o(e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof rt&&r instanceof rt&&_5(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},"bu"),li=o(function(e){for(var t=0,n=0,r=0,a=0;a<e.children.length;a++){var s=e.children[a];s.height>t&&(t=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>r&&(r=s.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},"Ms"),O=o(function(e,t,n,r){var a=new Hn(e,t,n,r);return li(a),a},"D"),Jt=o((e,t,n,r)=>new Hn(e,t,n,r),"nn"),Un=o(function(e,t,n){var r=O([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=H(r.height),r.maxFontSize=1,r},"Pn"),$5=o(function(e,t,n,r){var a=new ma(e,t,n,r);return li(a),a},"c2"),Ft=o(function(e){var t=new Dn(e);return li(t),t},"Gt"),Wn=o(function(e,t){return e instanceof Dn?O([],[e],t):e},"On"),C5=o(function(e){if(e.positionType==="individualShift"){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,a=r,s=1;s<t.length;s++){var i=-t[s].shift-a-t[s].elem.depth,l=i-(t[s-1].elem.height+t[s-1].elem.depth);a=a+i,n.push({type:"kern",size:l}),n.push(t[s])}return{children:n,depth:r}}var c;if(e.positionType==="top"){for(var u=e.positionData,m=0;m<e.children.length;m++){var p=e.children[m];u-=p.type==="kern"?p.size:p.elem.height+p.elem.depth}c=u}else if(e.positionType==="bottom")c=-e.positionData;else{var f=e.children[0];if(f.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")c=-f.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")c=-f.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:c}},"m2"),ce=o(function(e,t){for(var{children:n,depth:r}=C5(e),a=0,s=0;s<n.length;s++){var i=n[s];if(i.type==="elem"){var l=i.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var c=O(["pstrut"],[]);c.style.height=H(a);for(var u=[],m=r,p=r,f=r,g=0;g<n.length;g++){var y=n[g];if(y.type==="kern")f+=y.size;else{var _=y.elem,T=y.wrapperClasses||[],k=y.wrapperStyle||{},$=O(T,[c,_],void 0,k);$.style.top=H(-a-f-_.depth),y.marginLeft&&($.style.marginLeft=y.marginLeft),y.marginRight&&($.style.marginRight=y.marginRight),u.push($),f+=_.height+_.depth}m=Math.min(m,f),p=Math.max(p,f)}var M=O(["vlist"],u);M.style.height=H(p);var E;if(m<0){var P=O([],[]),I=O(["vlist"],[P]);I.style.height=H(-m);var L=O(["vlist-s"],[new rt("​")]);E=[O(["vlist-r"],[M,L]),O(["vlist-r"],[I])]}else E=[O(["vlist-r"],[M])];var U=O(["vlist-t"],E);return E.length===2&&U.classes.push("vlist-t2"),U.height=p,U.depth=-m,U},"ce"),Uc=o((e,t)=>{var n=O(["mspace"],[],t),r=ke(e,t);return n.style.marginRight=H(r),n},"yu"),wa=o((e,t,n)=>{var r,a;switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return t==="textbf"&&n==="textit"?a="BoldItalic":t==="textbf"?a="Bold":n==="textit"?a="Italic":a="Regular",r+"-"+a},"Lr"),ci={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Wc={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Vc=o(function(e,t){var[n,r,a]=Wc[e],s=new Kt(n),i=new Lt([s],{width:H(r),height:H(a),style:"width:"+H(r),viewBox:"0 0 "+1e3*r+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=Jt(["overlay"],[i],t);return l.height=a,l.style.height=H(a),l.style.width=H(r),l},"wu"),_e={number:3,unit:"mu"},wn={number:4,unit:"mu"},qt={number:5,unit:"mu"},S5={mord:{mop:_e,mbin:wn,mrel:qt,minner:_e},mop:{mord:_e,mop:_e,mrel:qt,minner:_e},mbin:{mord:wn,mop:wn,mopen:wn,minner:wn},mrel:{mord:qt,mop:qt,mopen:qt,minner:qt},mopen:{},mclose:{mop:_e,mbin:wn,mrel:qt,minner:_e},mpunct:{mord:_e,mop:_e,mrel:qt,mopen:_e,mclose:_e,mpunct:_e,minner:_e},minner:{mord:_e,mop:_e,mbin:wn,mrel:qt,mopen:_e,mpunct:_e,minner:_e}},A5={mord:{mop:_e},mop:{mord:_e,mop:_e},mbin:{},mrel:{},mopen:{},mclose:{mop:_e},mpunct:{},minner:{mop:_e}},Xc={},xa={},ka={};function X(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:i}=e,l={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:a},c=0;c<n.length;++c)Xc[n[c]]=l;t&&(s&&(xa[t]=s),i&&(ka[t]=i))}o(X,"W");function xn(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;X({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}o(xn,"Sn");var _a=o(function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},"pa"),Ie=o(function(e){return e.type==="ordgroup"?e.body:[e]},"Se"),T5=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),I5=new Set(["rightmost","mrel","mclose","mpunct"]),M5={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT},z5={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Be=o(function(e,t,n,r){r===void 0&&(r=[null,null]);for(var a=[],s=0;s<e.length;s++){var i=ue(e[s],t);if(i instanceof Dn){var l=i.children;a.push(...l)}else a.push(i)}if(Gc(a),!n)return a;var c=t;if(e.length===1){var u=e[0];u.type==="sizing"?c=t.havingSize(u.size):u.type==="styling"&&(c=t.havingStyle(M5[u.style]))}var m=O([r[0]||"leftmost"],[],t),p=O([r[1]||"rightmost"],[],t),f=n==="root";return ui(a,(g,y)=>{var _=y.classes[0],T=g.classes[0];_==="mbin"&&I5.has(T)?y.classes[0]="mord":T==="mbin"&&T5.has(_)&&(g.classes[0]="mord")},{node:m},p,f),ui(a,(g,y)=>{var _,T,k=hi(y),$=hi(g),M=k&&$?g.hasClass("mtight")?(_=A5[k])==null?void 0:_[$]:(T=S5[k])==null?void 0:T[$]:null;if(M)return Uc(M,c)},{node:m},p,f),a},"ze"),ui=o(function(e,t,n,r,a){r&&e.push(r);for(var s=0;s<e.length;s++){var i=e[s],l=Yc(i);if(l){ui(l.children,t,n,null,a);continue}var c=!i.hasClass("mspace");if(c){var u=t(i,n.node);u&&(n.insertAfter?n.insertAfter(u):(e.unshift(u),s++))}c?n.node=i:a&&i.hasClass("newline")&&(n.node=O(["leftmost"])),n.insertAfter=(m=>p=>{e.splice(m+1,0,p),s++})(s)}r&&e.pop()},"ts"),Yc=o(function(e){return e instanceof Dn||e instanceof ma||e instanceof Hn&&e.hasClass("enclosing")?e:null},"ku"),pi=o(function(e,t){var n=Yc(e);if(n){var r=n.children;if(r.length){if(t==="right")return pi(r[r.length-1],"right");if(t==="left")return pi(r[0],"left")}}return e},"ns"),hi=o(function(e,t){if(!e)return null;t&&(e=pi(e,t));var n=e.classes[0];return z5[n]||null},"rs"),yr=o(function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return O(t.concat(n))},"hr"),ue=o(function(e,t,n){if(!e)return O();if(xa[e.type]){var r=xa[e.type](e,t);if(n&&t.size!==n.size){r=O(t.sizingClasses(n),[r],t);var a=t.sizeMultiplier/n.sizeMultiplier;r.height*=a,r.depth*=a}return r}else throw new j("Got group of unknown type: '"+e.type+"'")},"me");function $a(e,t){var n=O(["base"],e,t),r=O(["strut"]);return r.style.height=H(n.height+n.depth),n.depth&&(r.style.verticalAlign=H(-n.depth)),n.children.unshift(r),n}o($a,"Fr");function mi(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Be(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var s=[],i=[],l=0;l<r.length;l++)if(i.push(r[l]),r[l].hasClass("mbin")||r[l].hasClass("mrel")||r[l].hasClass("allowbreak")){for(var c=!1;l<r.length-1&&r[l+1].hasClass("mspace")&&!r[l+1].hasClass("newline");)l++,i.push(r[l]),r[l].hasClass("nobreak")&&(c=!0);c||(s.push($a(i,t)),i=[])}else r[l].hasClass("newline")&&(i.pop(),i.length>0&&(s.push($a(i,t)),i=[]),s.push(r[l]));i.length>0&&s.push($a(i,t));var u;n?(u=$a(Be(n,t,!0),t),u.classes=["tag"],s.push(u)):a&&s.push(a);var m=O(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),u){var p=u.children[0];p.style.height=H(m.height+m.depth),m.depth&&(p.style.verticalAlign=H(-m.depth))}return m}o(mi,"as");function Zc(e){return new Dn(e)}o(Zc,"_u");class q{static{o(this,"O")}constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=Zt(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof Me&&this.children[r+1]instanceof Me){for(var a=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof Me;)a+=this.children[++r].toText();t.appendChild(new Me(a).toNode())}else t.appendChild(this.children[r].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=qe(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+qe(Zt(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Me{static{o(this,"Ae")}constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return qe(this.toText())}toText(){return this.text}}class Kc{static{o(this,"$u")}constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",H(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+H(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var E5=new Set(["\\imath","\\jmath"]),N5=new Set(["mrow","mtable"]),pt=o(function(e,t,n){return we[t][e]&&we[t][e].replace&&e.charCodeAt(0)!==55349&&!(Ec.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=we[t][e].replace),new Me(e)},"pt"),di=o(function(e){return e.length===1?e[0]:new q("mrow",e)},"Is"),B5={mathit:"italic",boldsymbol:o(e=>e.type==="textord"?"bold":"bold-italic","boldsymbol"),mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},gi=o((e,t)=>{if(e.mode==="text"){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold"}var n=t.font;if(!n||n==="mathnormal")return null;var r=e.mode,a=B5[n];if(a)return typeof a=="function"?a(e):a;var s=e.text;if(E5.has(s))return null;if(we[r][s]){var i=we[r][s].replace;i&&(s=i)}var l=ci[n].fontName;return Zs(s,l,r)?ci[n].variant:null},"zs");function fi(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Me&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof Me&&n.text===","}else return!1}o(fi,"hi");var st=o(function(e,t,n){if(e.length===1){var r=fe(e[0],t);return n&&r instanceof q&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var a=[],s,i=0;i<e.length;i++){var l=fe(e[i],t);if(l instanceof q&&s instanceof q){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(fi(l)&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mn"&&fi(s))l.children=[...s.children,...l.children],a.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(s.type==="mn"||fi(s))){var c=l.children[0];c instanceof q&&c.type==="mn"&&(c.children=[...s.children,...c.children],a.pop())}else if(s.type==="mi"&&s.children.length===1){var u=s.children[0];if(u instanceof Me&&u.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var m=l.children[0];m instanceof Me&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),a.pop())}}}a.push(l),s=l}return a},"it"),en=o(function(e,t,n){return di(st(e,t,n))},"rn"),fe=o(function(e,t){if(!e)return new q("mrow");if(ka[e.type])return ka[e.type](e,t);throw new j("Got group of unknown type: '"+e.type+"'")},"ge");function Qc(e,t,n,r,a){var s=st(e,n),i;s.length===1&&s[0]instanceof q&&N5.has(s[0].type)?i=s[0]:i=new q("mrow",s);var l=new q("annotation",[new Me(t)]);l.setAttribute("encoding","application/x-tex");var c=new q("semantics",[i,l]),u=new q("math",[c]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&u.setAttribute("display","block");var m=a?"katex":"katex-mathml";return O([m],[u])}o(Qc,"ul");var R5=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Jc=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],eu=o(function(e,t){return t.size<2?e:R5[e-1][t.size-1]},"ml");class jt{static{o(this,"Nt")}constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||jt.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Jc[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(n,t),new jt(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:eu(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Jc[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=eu(jt.BASESIZE,t);return this.size===n&&this.textSize===jt.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==jt.BASESIZE?["sizing","reset-size"+this.size,"size"+jt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=y5(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}jt.BASESIZE=6;var tu=o(function(e){return new jt({style:e.displayMode?ne.DISPLAY:ne.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},"Cu"),nu=o(function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=O(n,[e])}return e},"Su"),P5=o(function(e,t,n){var r=tu(n),a;if(n.output==="mathml")return Qc(e,t,r,n.displayMode,!0);if(n.output==="html"){var s=mi(e,r);a=O(["katex"],[s])}else{var i=Qc(e,t,r,n.displayMode,!1),l=mi(e,r);a=O(["katex"],[i,l])}return nu(a,n)},"k2"),L5=o(function(e,t,n){var r=tu(n),a=mi(e,r),s=O(["katex"],[a]);return nu(s,n)},"_2"),O5={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Ca=o(function(e){var t=new q("mo",[new Me(O5[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},"Ea"),F5={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},q5=new Set(["widehat","widecheck","widetilde","utilde"]),Sa=o(function(e,t){function n(){var i=4e5,l=e.label.slice(1);if(q5.has(l)&&"base"in e){var c=e.base.type==="ordgroup"?e.base.body.length:1,u,m,p;if(c>5)l==="widehat"||l==="widecheck"?(u=420,i=2364,p=.42,m=l+"4"):(u=312,i=2340,p=.34,m="tilde4");else{var f=[1,1,2,2,3,3][c];l==="widehat"||l==="widecheck"?(i=[0,1062,2364,2364,2364][f],u=[0,239,300,360,420][f],p=[0,.24,.3,.3,.36,.42][f],m=l+f):(i=[0,600,1033,2339,2340][f],u=[0,260,286,306,312][f],p=[0,.26,.286,.3,.306,.34][f],m="tilde"+f)}var g=new Kt(m),y=new Lt([g],{width:"100%",height:H(p),viewBox:"0 0 "+i+" "+u,preserveAspectRatio:"none"});return{span:Jt([],[y],t),minWidth:0,height:p}}else{var _=[],T=F5[l];if(!T)throw new Error('No SVG data for "'+l+'".');var[k,$,M]=T,E=M/1e3,P=k.length,I,L;if(P===1){if(T.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+l+'".');I=["hide-tail"],L=[T[3]]}else if(P===2)I=["halfarrow-left","halfarrow-right"],L=["xMinYMin","xMaxYMin"];else if(P===3)I=["brace-left","brace-center","brace-right"],L=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
405
- `+P+" children.");for(var U=0;U<P;U++){var V=new Kt(k[U]),z=new Lt([V],{width:"400em",height:H(E),viewBox:"0 0 "+i+" "+M,preserveAspectRatio:L[U]+" slice"}),G=Jt([I[U]],[z],t);if(P===1)return{span:G,minWidth:$,height:E};G.style.height=H(E),_.push(G)}return{span:O(["stretchy"],_,t),minWidth:$,height:E}}}o(n,"r");var{span:r,minWidth:a,height:s}=n();return r.height=s,r.style.height=H(s),a>0&&(r.style.minWidth=H(a)),r},"Ma"),j5=o(function(e,t,n,r,a){var s,i=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(s=O(["stretchy",t],[],a),t==="fbox"){var l=a.color&&a.getColor();l&&(s.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new Ys({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new Ys({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new Lt(c,{width:"100%",height:H(i)});s=Jt([],[u],a)}return s.height=i,s.style.height=H(i),s},"A2"),D5={bin:1,close:1,inner:1,open:1,punct:1,rel:1},H5={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function G5(e){return e in D5}o(G5,"M2");function se(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}o(se,"re");function Aa(e){var t=Ta(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}o(Aa,"Ia");function Ta(e){return e&&(e.type==="atom"||H5.hasOwnProperty(e.type))?e:null}o(Ta,"za");var ru=o(e=>{if(e instanceof rt)return e;if(f5(e)&&e.children.length===1)return ru(e.children[0])},"Au"),bi=o((e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=se(e.base,"accent"),n=r.base,e.base=n,a=g5(ue(e,t)),e.base=r):(r=se(e,"accent"),n=r.base);var s=ue(n,t.havingCrampedStyle()),i=r.isShifty&&Rt(n),l=0;if(i){var c,u;l=(c=(u=ru(s))==null?void 0:u.skew)!=null?c:0}var m=r.label==="\\c",p=m?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),f;if(r.isStretchy)f=Sa(r,t),f=ce({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+H(2*l)+")",marginLeft:H(2*l)}:void 0}]});else{var g,y;r.label==="\\vec"?(g=Vc("vec",t),y=Wc.vec[1]):(g=va({mode:r.mode,text:r.label},t,"textord"),g=d5(g),g.italic=0,y=g.width,m&&(p+=g.depth)),f=O(["accent-body"],[g]);var _=r.label==="\\textcircled";_&&(f.classes.push("accent-full"),p=s.height);var T=l;_||(T-=y/2),f.style.left=H(T),r.label==="\\textcircled"&&(f.style.top=".2em"),f=ce({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-p},{type:"elem",elem:f}]})}var k=O(["mord","accent"],[f],t);return a?(a.children[0]=k,a.height=Math.max(k.height,a.height),a.classes[0]="mord",a):k},"Rs"),au=o((e,t)=>{var n=e.isStretchy?Ca(e.label):new q("mo",[pt(e.label,e.mode)]),r=new q("mover",[fe(e.base,t),n]);return r.setAttribute("accent","true"),r},"Tu"),U5=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));X({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:o((e,t)=>{var n=_a(t[0]),r=!U5.test(e.funcName),a=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:a,base:n}},"handler"),htmlBuilder:bi,mathmlBuilder:au}),X({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:o((e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},"handler"),htmlBuilder:bi,mathmlBuilder:au}),X({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:a}},"handler"),htmlBuilder:o((e,t)=>{var n=ue(e.base,t),r=Sa(e,t),a=e.label==="\\utilde"?.12:0,s=ce({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]});return O(["mord","accentunder"],[s],t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=Ca(e.label),r=new q("munder",[fe(e.base,t),n]);return r.setAttribute("accentunder","true"),r},"mathmlBuilder")});var Ia=o(e=>{var t=new q("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t},"Pr");X({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:a}=e;return{type:"xArrow",mode:r.mode,label:a,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),a=Wn(ue(e.body,r,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var i;e.below&&(r=t.havingStyle(n.sub()),i=Wn(ue(e.below,r,t),t),i.classes.push(s+"-arrow-pad"));var l=Sa(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(u-=a.depth);var m;if(i){var p=-t.fontMetrics().axisHeight+i.height+.5*l.height+.111;m=ce({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:l,shift:c,wrapperClasses:["svg-align"]},{type:"elem",elem:i,shift:p}]})}else m=ce({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:l,shift:c,wrapperClasses:["svg-align"]}]});return O(["mrel","x-arrow"],[m],t)},mathmlBuilder(e,t){var n=Ca(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=Ia(fe(e.body,t));if(e.below){var s=Ia(fe(e.below,t));r=new q("munderover",[n,s,a])}else r=new q("mover",[n,a])}else if(e.below){var i=Ia(fe(e.below,t));r=new q("munder",[n,i])}else r=Ia(),r=new q("mover",[n,r]);return r}});function su(e,t){var n=Be(e.body,t,!0);return O([e.mclass],n,t)}o(su,"Eu");function iu(e,t){var n,r=st(e.body,t);return e.mclass==="minner"?n=new q("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new q("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new q("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}o(iu,"Mu"),X({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Ie(a),isCharacterBox:Rt(a)}},htmlBuilder:su,mathmlBuilder:iu});var Ma=o(e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"},"Ra");X({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Ma(t[0]),body:Ie(t[1]),isCharacterBox:Rt(t[1])}}}),X({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,a=t[1],s=t[0],i;r!=="\\stackrel"?i=Ma(a):i="mrel";var l={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Ie(a)},c={type:"supsub",mode:s.mode,base:l,sup:r==="\\underset"?null:s,sub:r==="\\underset"?s:null};return{type:"mclass",mode:n.mode,mclass:i,body:[c],isCharacterBox:Rt(c)}},htmlBuilder:su,mathmlBuilder:iu}),X({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Ma(t[0]),body:Ie(t[0])}},htmlBuilder(e,t){var n=Be(e.body,t,!0),r=O([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=st(e.body,t),r=new q("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var W5={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ou=o(()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),"hl"),lu=o(e=>e.type==="textord"&&e.text==="@","pl"),V5=o((e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t,"R2");function X5(e,t,n){var r=W5[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=n.callFunction("\\\\cdleft",[t[0]],[]),s={type:"atom",text:r,mode:"math",family:"rel"},i=n.callFunction("\\Big",[s],[]),l=n.callFunction("\\\\cdright",[t[1]],[]),c={type:"ordgroup",mode:"math",body:[a,i,l]};return n.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}o(X5,"N2");function Y5(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new j("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],s=0;s<t.length;s++){for(var i=t[s],l=ou(),c=0;c<i.length;c++)if(!lu(i[c]))l.body.push(i[c]);else{r.push(l),c+=1;var u=Aa(i[c]).text,m=new Array(2);if(m[0]={type:"ordgroup",mode:"math",body:[]},m[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(u))if("<>AV".includes(u))for(var p=0;p<2;p++){for(var f=!0,g=c+1;g<i.length;g++){if(V5(i[g],u)){f=!1,c=g;break}if(lu(i[g]))throw new j("Missing a "+u+" character to complete a CD arrow.",i[g]);m[p].body.push(i[g])}if(f)throw new j("Missing a "+u+" character to complete a CD arrow.",i[c])}else throw new j('Expected one of "<>AV=|." after @',i[c]);var y=X5(u,m,e),_={type:"styling",body:[y],mode:"math",style:"display",resetFont:!0};r.push(_),l=ou()}s%2===0?r.push(l):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var T=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:T,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}o(Y5,"B2"),X({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Wn(ue(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=H(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new q("mrow",[fe(e.label,t)]);return n=new q("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new q("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),X({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=Wn(ue(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new q("mrow",[fe(e.fragment,t)])}}),X({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=se(t[0],"ordgroup"),a=r.body,s="",i=0;i<a.length;i++){var l=se(a[i],"textord");s+=l.text}var c=parseInt(s),u;if(isNaN(c))throw new j("\\@char has non-numeric argument "+s);if(c<0||c>=1114111)throw new j("\\@char with invalid code point "+s);return c<=65535?u=String.fromCharCode(c):(c-=65536,u=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:"textord",mode:n.mode,text:u}}});var cu=o((e,t)=>{var n=Be(e.body,t.withColor(e.color),!1);return Ft(n)},"Iu"),uu=o((e,t)=>{var n=st(e.body,t.withColor(e.color)),r=new q("mstyle",n);return r.setAttribute("mathcolor",e.color),r},"zu");X({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=se(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:Ie(a)}},htmlBuilder:cu,mathmlBuilder:uu}),X({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=se(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var s=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:a,body:s}},htmlBuilder:cu,mathmlBuilder:uu}),X({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,a=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:s,size:a&&se(a,"size").value}},htmlBuilder(e,t){var n=O(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=H(ke(e.size,t)))),n},mathmlBuilder(e,t){var n=new q("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",H(ke(e.size,t)))),n}});var yi={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},pu=o(e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new j("Expected a control sequence",e);return t},"Ru"),Z5=o(e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},"D2"),hu=o((e,t,n,r)=>{var a=e.gullet.macros.get(n.text);a==null&&(n.noexpand=!0,a={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,a,r)},"Nu");X({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(yi[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=yi[r.text]),se(t.parseFunction(),"internal");throw new j("Invalid token after macro prefix",r)}}),X({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),a=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new j("Expected a control sequence",r);for(var s=0,i,l=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){i=t.gullet.future(),l[s].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new j('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==s+1)throw new j('Argument number "'+r.text+'" out of order');s++,l.push([])}else{if(r.text==="EOF")throw new j("Expected a macro definition");l[s].push(r.text)}var{tokens:c}=t.gullet.consumeArg();return i&&c.unshift(i),(n==="\\edef"||n==="\\xdef")&&(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(a,{tokens:c,numArgs:s,delimiters:l},n===yi[n]),{type:"internal",mode:t.mode}}}),X({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=pu(t.gullet.popToken());t.gullet.consumeSpaces();var a=Z5(t);return hu(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}}),X({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=pu(t.gullet.popToken()),a=t.gullet.popToken(),s=t.gullet.popToken();return hu(t,r,s,n==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var vr=o(function(e,t,n){var r=we.math[e]&&we.math[e].replace,a=Zs(r||e,t,n);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return a},"tr"),vi=o(function(e,t,n,r){var a=n.havingBaseStyle(t),s=O(r.concat(a.sizingClasses(n)),[e],n),i=a.sizeMultiplier/n.sizeMultiplier;return s.height*=i,s.depth*=i,s.maxFontSize=a.sizeMultiplier,s},"Ns"),mu=o(function(e,t,n){var r=t.havingBaseStyle(n),a=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=H(a),e.height-=a,e.depth+=a},"Bu"),K5=o(function(e,t,n,r,a,s){var i=Xe(e,"Main-Regular",a,r),l=vi(i,t,r,s);return mu(l,r,t),l},"L2"),Q5=o(function(e,t,n,r){return Xe(e,"Size"+t+"-Regular",n,r)},"F2"),du=o(function(e,t,n,r,a,s){var i=Q5(e,t,a,r),l=vi(O(["delimsizing","size"+t],[i],r),ne.TEXT,r,s);return n&&mu(l,r,ne.TEXT),l},"Du"),wi=o(function(e,t,n){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var a=O(["delimsizinginner",r],[O([],[Xe(e,t,n)])]);return{type:"elem",elem:a}},"pi"),xi=o(function(e,t,n){var r=wt["Size4-Regular"][e.charCodeAt(0)]?wt["Size4-Regular"][e.charCodeAt(0)][4]:wt["Size1-Regular"][e.charCodeAt(0)][4],a=new Kt("inner",o5(e,Math.round(1e3*t))),s=new Lt([a],{width:H(r),height:H(t),style:"width:"+H(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),i=Jt([],[s],n);return i.height=t,i.style.height=H(t),i.style.width=H(r),{type:"elem",elem:i}},"di"),ki=.008,za={type:"kern",size:-1*ki},J5=new Set(["|","\\lvert","\\rvert","\\vert"]),e3=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),gu=o(function(e,t,n,r,a,s){var i,l,c,u,m="",p=0;i=c=u=e,l=null;var f="Size1-Regular";e==="\\uparrow"?c=u="⏐":e==="\\Uparrow"?c=u="‖":e==="\\downarrow"?i=c="⏐":e==="\\Downarrow"?i=c="‖":e==="\\updownarrow"?(i="\\uparrow",c="⏐",u="\\downarrow"):e==="\\Updownarrow"?(i="\\Uparrow",c="‖",u="\\Downarrow"):J5.has(e)?(c="∣",m="vert",p=333):e3.has(e)?(c="∥",m="doublevert",p=556):e==="["||e==="\\lbrack"?(i="⎡",c="⎢",u="⎣",f="Size4-Regular",m="lbrack",p=667):e==="]"||e==="\\rbrack"?(i="⎤",c="⎥",u="⎦",f="Size4-Regular",m="rbrack",p=667):e==="\\lfloor"||e==="⌊"?(c=i="⎢",u="⎣",f="Size4-Regular",m="lfloor",p=667):e==="\\lceil"||e==="⌈"?(i="⎡",c=u="⎢",f="Size4-Regular",m="lceil",p=667):e==="\\rfloor"||e==="⌋"?(c=i="⎥",u="⎦",f="Size4-Regular",m="rfloor",p=667):e==="\\rceil"||e==="⌉"?(i="⎤",c=u="⎥",f="Size4-Regular",m="rceil",p=667):e==="("||e==="\\lparen"?(i="⎛",c="⎜",u="⎝",f="Size4-Regular",m="lparen",p=875):e===")"||e==="\\rparen"?(i="⎞",c="⎟",u="⎠",f="Size4-Regular",m="rparen",p=875):e==="\\{"||e==="\\lbrace"?(i="⎧",l="⎨",u="⎩",c="⎪",f="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(i="⎫",l="⎬",u="⎭",c="⎪",f="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(i="⎧",u="⎩",c="⎪",f="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(i="⎫",u="⎭",c="⎪",f="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(i="⎧",u="⎭",c="⎪",f="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(i="⎫",u="⎩",c="⎪",f="Size4-Regular");var g=vr(i,f,a),y=g.height+g.depth,_=vr(c,f,a),T=_.height+_.depth,k=vr(u,f,a),$=k.height+k.depth,M=0,E=1;if(l!==null){var P=vr(l,f,a);M=P.height+P.depth,E=2}var I=y+$+M,L=Math.max(0,Math.ceil((t-I)/(E*T))),U=I+L*E*T,V=r.fontMetrics().axisHeight;n&&(V*=r.sizeMultiplier);var z=U/2-V,G=[];if(m.length>0){var W=U-y-$,ae=Math.round(U*1e3),oe=l5(m,Math.round(W*1e3)),K=new Kt(m,oe),pe=H(p/1e3),he=H(ae/1e3),De=new Lt([K],{width:pe,height:he,viewBox:"0 0 "+p+" "+ae}),Re=Jt([],[De],r);Re.height=ae/1e3,Re.style.width=pe,Re.style.height=he,G.push({type:"elem",elem:Re})}else{if(G.push(wi(u,f,a)),G.push(za),l===null){var C=U-y-$+2*ki;G.push(xi(c,C,r))}else{var Le=(U-y-$-M)/2+2*ki;G.push(xi(c,Le,r)),G.push(za),G.push(wi(l,f,a)),G.push(za),G.push(xi(c,Le,r))}G.push(za),G.push(wi(i,f,a))}var Ce=r.havingBaseStyle(ne.TEXT),S=ce({positionType:"bottom",positionData:z,children:G});return vi(O(["delimsizing","mult"],[S],Ce),ne.TEXT,r,s)},"Lu"),_i=80,$i=.08,Ci=o(function(e,t,n,r,a){var s=i5(e,r,n),i=new Kt(e,s),l=new Lt([i],{width:"400em",height:H(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Jt(["hide-tail"],[l],a)},"bi"),t3=o(function(e,t){var n=t.havingBaseSizing(),r=wu("\\surd",e*n.sizeMultiplier,vu,n),a=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),i,l,c,u,m;return r.type==="small"?(u=1e3+1e3*s+_i,e<1?a=1:e<1.4&&(a=.7),l=(1+s+$i)/a,c=(1+s)/a,i=Ci("sqrtMain",l,u,s,t),i.style.minWidth="0.853em",m=.833/a):r.type==="large"?(u=(1e3+_i)*wr[r.size],c=(wr[r.size]+s)/a,l=(wr[r.size]+s+$i)/a,i=Ci("sqrtSize"+r.size,l,u,s,t),i.style.minWidth="1.02em",m=1/a):(l=e+s+$i,c=e+s,u=Math.floor(1e3*e+s)+_i,i=Ci("sqrtTall",l,u,s,t),i.style.minWidth="0.742em",m=1.056),i.height=c,i.style.height=H(l),{span:i,advanceWidth:m,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},"q2"),fu=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),n3=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),bu=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),wr=[0,1.2,1.8,2.4,3],yu=o(function(e,t,n,r,a){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),fu.has(e)||bu.has(e))return du(e,t,!1,n,r,a);if(n3.has(e))return gu(e,wr[t],!1,n,r,a);throw new j("Illegal delimiter: '"+e+"'")},"Ou"),r3=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],a3=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],vu=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],s3=o(function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";var t=e.type;throw new Error("Add support for delim type '"+t+"' here.")},"U2"),wu=o(function(e,t,n,r){for(var a=Math.min(2,3-r.style.size),s=a;s<n.length;s++){var i=n[s];if(i.type==="stack")break;var l=vr(e,s3(i),"math"),c=l.height+l.depth;if(i.type==="small"){var u=r.havingBaseStyle(i.style);c*=u.sizeMultiplier}if(c>t)return i}return n[n.length-1]},"ju"),Si=o(function(e,t,n,r,a,s){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var i;bu.has(e)?i=r3:fu.has(e)?i=vu:i=a3;var l=wu(e,t,i,r);return l.type==="small"?K5(e,l.style,n,r,a,s):l.type==="large"?du(e,l.size,n,r,a,s):gu(e,t,n,r,a,s)},"os"),Ai=o(function(e,t,n,r,a,s){var i=r.fontMetrics().axisHeight*r.sizeMultiplier,l=901,c=5/r.fontMetrics().ptPerEm,u=Math.max(t-i,n+i),m=Math.max(u/500*l,2*u-c);return Si(e,m,!0,r,a,s)},"yi"),xu={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},i3=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function ku(e){return"isMiddle"in e}o(ku,"fl");function Ea(e,t){var n=Ta(e);if(n&&i3.has(n.text))return n;throw n?new j("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new j("Invalid delimiter type '"+e.type+"'",e)}o(Ea,"Na"),X({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:o((e,t)=>{var n=Ea(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:xu[e.funcName].size,mclass:xu[e.funcName].mclass,delim:n.text}},"handler"),htmlBuilder:o((e,t)=>e.delim==="."?O([e.mclass]):yu(e.delim,e.size,t,e.mode,[e.mclass]),"htmlBuilder"),mathmlBuilder:o(e=>{var t=[];e.delim!=="."&&t.push(pt(e.delim,e.mode));var n=new q("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=H(wr[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n},"mathmlBuilder")});function _u(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}o(_u,"gl"),X({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:o((e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new j("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Ea(t[0],e).text,color:n}},"handler")}),X({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:o((e,t)=>{var n=Ea(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var s=se(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:s.delim,rightColor:s.color}},"handler"),htmlBuilder:o((e,t)=>{_u(e);for(var n=Be(e.body,t,!0,["mopen","mclose"]),r=0,a=0,s=!1,i=0;i<n.length;i++){var l=n[i];ku(l)?s=!0:(r=Math.max(n[i].height,r),a=Math.max(n[i].depth,a))}r*=t.sizeMultiplier,a*=t.sizeMultiplier;var c;if(e.left==="."?c=yr(t,["mopen"]):c=Ai(e.left,r,a,t,e.mode,["mopen"]),n.unshift(c),s)for(var u=1;u<n.length;u++){var m=n[u];if(ku(m)){var p=m.isMiddle;n[u]=Ai(p.delim,r,a,p.options,e.mode,[])}}var f;if(e.right===".")f=yr(t,["mclose"]);else{var g=e.rightColor?t.withColor(e.rightColor):t;f=Ai(e.right,r,a,g,e.mode,["mclose"])}return n.push(f),O(["minner"],n,t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{_u(e);var n=st(e.body,t);if(e.left!=="."){var r=new q("mo",[pt(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new q("mo",[pt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return di(n)},"mathmlBuilder")}),X({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:o((e,t)=>{var n=Ea(t[0],e);if(!e.parser.leftrightDepth)throw new j("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},"handler"),htmlBuilder:o((e,t)=>{var n;return e.delim==="."?n=yr(t,[]):(n=yu(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?pt("|","text"):pt(e.delim,e.mode),r=new q("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r},"mathmlBuilder")});var Na=o((e,t)=>{var n=Wn(ue(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,s,i,l=Rt(e.body);if(r==="sout")s=O(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/a,i=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var c=ke({number:.6,unit:"pt"},t),u=ke({number:.35,unit:"ex"},t),m=t.havingBaseSizing();a=a/m.sizeMultiplier;var p=n.height+n.depth+c+u;n.style.paddingLeft=H(p/2+c);var f=Math.floor(1e3*p*a),g=a5(f),y=new Lt([new Kt("phase",g)],{width:"400em",height:H(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});s=Jt(["hide-tail"],[y],t),s.style.height=H(p),i=n.depth+c+u}else{/cancel/.test(r)?l||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var _,T,k=0;/box/.test(r)?(k=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),_=t.fontMetrics().fboxsep+(r==="colorbox"?0:k),T=_):r==="angl"?(k=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),_=4*k,T=Math.max(0,.25-n.depth)):(_=l?.2:0,T=_),s=j5(n,r,_,T,t),/fbox|boxed|fcolorbox/.test(r)?(s.style.borderStyle="solid",s.style.borderWidth=H(k)):r==="angl"&&k!==.049&&(s.style.borderTopWidth=H(k),s.style.borderRightWidth=H(k)),i=n.depth+T,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var $;if(e.backgroundColor)$=ce({positionType:"individualShift",children:[{type:"elem",elem:s,shift:i},{type:"elem",elem:n,shift:0}]});else{var M=/cancel|phase/.test(r)?["svg-align"]:[];$=ce({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:i,wrapperClasses:M}]})}return/cancel/.test(r)&&($.height=n.height,$.depth=n.depth),/cancel/.test(r)&&!l?O(["mord","cancel-lap"],[$],t):O(["mord"],[$],t)},"Ba"),Ba=o((e,t)=>{var n,r=new q(e.label.includes("colorbox")?"mpadded":"menclose",[fe(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+H(a)+" solid "+e.borderColor)}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r},"Da");X({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=se(t[0],"color-token").color,i=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:s,body:i}},htmlBuilder:Na,mathmlBuilder:Ba}),X({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=se(t[0],"color-token").color,i=se(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:i,borderColor:s,body:l}},htmlBuilder:Na,mathmlBuilder:Ba}),X({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),X({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:Na,mathmlBuilder:Ba}),X({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e;n.mode==="math"&&n.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:Na,mathmlBuilder:Ba}),X({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var $u={};function xt(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:i}=e,l={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},c=0;c<n.length;++c)$u[n[c]]=l;s&&(xa[t]=s),i&&(ka[t]=i)}o(xt,"Ct");var Cu={};function v(e,t){Cu[e]=t}o(v,"y");class Je{static{o(this,"Ye")}constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Je(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class it{static{o(this,"nt")}constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new it(n,Je.range(this,t))}}function Su(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n==="\\relax"&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n==="\\hline"||n==="\\hdashline";)e.consume(),t.push(n==="\\hdashline"),e.consumeSpaces(),n=e.fetch().text;return t}o(Su,"bl");var Ra=o(e=>{var t=e.parser.settings;if(!t.displayMode)throw new j("{"+e.envName+"} can be used only in display mode.")},"La"),o3=new Set(["gather","gather*"]);function Ti(e){if(!e.includes("ed"))return!e.includes("*")}o(Ti,"Bs");function tn(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:s,arraystretch:i,colSeparationType:l,autoTag:c,singleRow:u,emptySingleRow:m,maxNumCols:p,leqno:f}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var g=e.gullet.expandMacroAsText("\\arraystretch");if(g==null)i=1;else if(i=parseFloat(g),!i||i<0)throw new j("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var y=[],_=[y],T=[],k=[],$=c!=null?[]:void 0;function M(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}o(M,"T");function E(){$&&(e.gullet.macros.get("\\df@tag")?($.push(e.subparse([new it("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):$.push(!!c&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(o(E,"I"),M(),k.push(Su(e));;){var P=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var I={type:"ordgroup",mode:e.mode,body:P};n&&(I={type:"styling",mode:e.mode,style:n,resetFont:!0,body:[I]}),y.push(I);var L=e.fetch().text;if(L==="&"){if(p&&y.length===p){if(u||l)throw new j("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(L==="\\end"){E(),y.length===1&&I.type==="styling"&&I.body.length===1&&I.body[0].type==="ordgroup"&&I.body[0].body.length===0&&(_.length>1||!m)&&_.pop(),k.length<_.length+1&&k.push([]);break}else if(L==="\\\\"){e.consume();var U=void 0;e.gullet.future().text!==" "&&(U=e.parseSizeGroup(!0)),T.push(U?U.value:null),E(),k.push(Su(e)),y=[],_.push(y),M()}else throw new j("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:i,body:_,cols:s,rowGaps:T,hskipBeforeAndAfter:r,hLinesBeforeRow:k,colSeparationType:l,tags:$,leqno:f}}o(tn,"sn");function Ii(e){return e.slice(0,1)==="d"?"display":"text"}o(Ii,"Ds");var kt=o(function(e,t){var n,r,a=e.body.length,s=e.hLinesBeforeRow,i=0,l=new Array(a),c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),m=1/t.fontMetrics().ptPerEm,p=5*m;if(e.colSeparationType&&e.colSeparationType==="small"){var f=t.havingStyle(ne.SCRIPT).sizeMultiplier;p=.2778*(f/t.sizeMultiplier)}var g=e.colSeparationType==="CD"?ke({number:3,unit:"ex"},t):12*m,y=3*m,_=e.arraystretch*g,T=.7*_,k=.3*_,$=0;function M(D){for(var J=0;J<D.length;++J)J>0&&($+=.25),c.push({pos:$,isDashed:D[J]})}for(o(M,"I"),M(s[0]),n=0;n<e.body.length;++n){var E=e.body[n],P=T,I=k;i<E.length&&(i=E.length);var L={cells:new Array(E.length),height:0,depth:0,pos:0};for(r=0;r<E.length;++r){var U=ue(E[r],t);I<U.depth&&(I=U.depth),P<U.height&&(P=U.height),L.cells[r]=U}var V=e.rowGaps[n],z=0;V&&(z=ke(V,t),z>0&&(z+=k,I<z&&(I=z),z=0)),e.addJot&&n<e.body.length-1&&(I+=y),L.height=P,L.depth=I,$+=P,L.pos=$,$+=I+z,l[n]=L,M(s[n+1])}var G=$/2+t.fontMetrics().axisHeight,W=e.cols||[],ae=[],oe,K,pe=[];if(e.tags&&e.tags.some(D=>D))for(n=0;n<a;++n){var he=l[n],De=he.pos-G,Re=e.tags[n],C=void 0;Re===!0?C=O(["eqn-num"],[],t):Re===!1?C=O([],[],t):C=O([],Be(Re,t,!0),t),C.depth=he.depth,C.height=he.height,pe.push({type:"elem",elem:C,shift:De})}for(r=0,K=0;r<i||K<W.length;++r,++K){for(var Le,Ce=W[K],S=!0;((Ye=Ce)==null?void 0:Ye.type)==="separator";){var Ye;if(S||(oe=O(["arraycolsep"],[]),oe.style.width=H(t.fontMetrics().doubleRuleSep),ae.push(oe)),Ce.separator==="|"||Ce.separator===":"){var Ct=Ce.separator==="|"?"solid":"dashed",ye=O(["vertical-separator"],[],t);ye.style.height=H($),ye.style.borderRightWidth=H(u),ye.style.borderRightStyle=Ct,ye.style.margin="0 "+H(-u/2);var Dt=$-G;Dt&&(ye.style.verticalAlign=H(-Dt)),ae.push(ye)}else throw new j("Invalid separator type: "+Ce.separator);K++,Ce=W[K],S=!1}if(!(r>=i)){var He=void 0;if(r>0||e.hskipBeforeAndAfter){var St,At;He=(St=(At=Ce)==null?void 0:At.pregap)!=null?St:p,He!==0&&(oe=O(["arraycolsep"],[]),oe.style.width=H(He),ae.push(oe))}var rn=[];for(n=0;n<a;++n){var kn=l[n],_n=kn.cells[r];if(_n){var Fa=kn.pos-G;_n.depth=kn.depth,_n.height=kn.height,rn.push({type:"elem",elem:_n,shift:Fa})}}var kr=ce({positionType:"individualShift",children:rn}),_r=O(["col-align-"+(((Le=Ce)==null?void 0:Le.align)||"c")],[kr]);if(ae.push(_r),r<i-1||e.hskipBeforeAndAfter){var Xn,$r;He=(Xn=($r=Ce)==null?void 0:$r.postgap)!=null?Xn:p,He!==0&&(oe=O(["arraycolsep"],[]),oe.style.width=H(He),ae.push(oe))}}}var an=O(["mtable"],ae);if(c.length>0){for(var Cr=Un("hline",t,u),qa=Un("hdashline",t,u),Yn=[{type:"elem",elem:an,shift:0}];c.length>0;){var Sr=c.pop(),Ar=Sr.pos-G;Sr.isDashed?Yn.push({type:"elem",elem:qa,shift:Ar}):Yn.push({type:"elem",elem:Cr,shift:Ar})}an=ce({positionType:"individualShift",children:Yn})}if(pe.length===0)return O(["mord"],[an],t);var ja=ce({positionType:"individualShift",children:pe}),B=O(["tag"],[ja],t);return Ft([an,B])},"St"),l3={c:"center ",l:"left ",r:"right "},_t=o(function(e,t){for(var n=[],r=new q("mtd",[],["mtr-glue"]),a=new q("mtd",[],["mml-eqn-num"]),s=0;s<e.body.length;s++){for(var i=e.body[s],l=[],c=0;c<i.length;c++)l.push(new q("mtd",[fe(i[c],t)]));e.tags&&e.tags[s]&&(l.unshift(r),l.push(r),e.leqno?l.unshift(a):l.push(a)),n.push(new q("mtr",l))}var u=new q("mtable",n),m=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);u.setAttribute("rowspacing",H(m));var p="",f="";if(e.cols&&e.cols.length>0){var g=e.cols,y="",_=!1,T=0,k=g.length;g[0].type==="separator"&&(p+="top ",T=1),g[g.length-1].type==="separator"&&(p+="bottom ",k-=1);for(var $=T;$<k;$++){var M=g[$];M.type==="align"?(f+=l3[M.align],_&&(y+="none "),_=!0):M.type==="separator"&&_&&(y+=M.separator==="|"?"solid ":"dashed ",_=!1)}u.setAttribute("columnalign",f.trim()),/[sd]/.test(y)&&u.setAttribute("columnlines",y.trim())}if(e.colSeparationType==="align"){for(var E=e.cols||[],P="",I=1;I<E.length;I++)P+=I%2?"0em ":"1em ";u.setAttribute("columnspacing",P.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?u.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?u.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?u.setAttribute("columnspacing","0.5em"):u.setAttribute("columnspacing","1em");var L="",U=e.hLinesBeforeRow;p+=U[0].length>0?"left ":"",p+=U[U.length-1].length>0?"right ":"";for(var V=1;V<U.length-1;V++)L+=U[V].length===0?"none ":U[V][0]?"dashed ":"solid ";return/[sd]/.test(L)&&u.setAttribute("rowlines",L.trim()),p!==""&&(u=new q("menclose",[u]),u.setAttribute("notation",p.trim())),e.arraystretch&&e.arraystretch<1&&(u=new q("mstyle",[u]),u.setAttribute("scriptlevel","1")),u},"At"),Au=o(function(e,t){e.envName.includes("ed")||Ra(e);var n=[],r=e.envName.includes("at")?"alignat":"align",a=e.envName==="split",s=tn(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:Ti(e.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),i=0,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var u="",m=0;m<t[0].body.length;m++){var p=se(t[0].body[m],"textord");u+=p.text}i=Number(u),l=i*2}var f=!l;s.body.forEach(function(T){for(var k=1;k<T.length;k+=2){var $=se(T[k],"styling"),M=se($.body[0],"ordgroup");M.body.unshift(c)}if(f)l<T.length&&(l=T.length);else{var E=T.length/2;if(i<E)throw new j("Too many math in a row: "+("expected "+i+", but got "+E),T[0])}});for(var g=0;g<l;++g){var y="r",_=0;g%2===1?y="l":g>0&&f&&(_=1),n[g]={type:"align",align:y,pregap:_,postgap:0}}return s.colSeparationType=f?"align":"alignat",s},"Uu");xt({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=Ta(t[0]),r=n?[t[0]]:se(t[0],"ordgroup").body,a=r.map(function(i){var l=Aa(i),c=l.text;if("lcr".includes(c))return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new j("Unknown column alignment: "+c,i)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return tn(e.parser,s,Ii(e.envName))},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),n=a.fetch().text,!"lcr".includes(n))throw new j("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var s=tn(e.parser,r,Ii(e.envName)),i=Math.max(0,...s.body.map(l=>l.length));return s.cols=new Array(i).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=tn(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=Ta(t[0]),r=n?[t[0]]:se(t[0],"ordgroup").body,a=r.map(function(l){var c=Aa(l),u=c.text;if("lc".includes(u))return{type:"align",align:u};throw new j("Unknown column alignment: "+u,l)});if(a.length>1)throw new j("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},i=tn(e.parser,s,"script");if(i.body.length>0&&i.body[0].length>1)throw new j("{subarray} can contain only one column");return i},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=tn(e.parser,t,Ii(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Au,htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){o3.has(e.envName)&&Ra(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ti(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return tn(e.parser,t,"display")},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Au,htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Ra(e);var t={autoTag:Ti(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return tn(e.parser,t,"display")},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Ra(e),Y5(e.parser)},htmlBuilder:kt,mathmlBuilder:_t}),v("\\nonumber","\\gdef\\@eqnsw{0}"),v("\\notag","\\nonumber"),X({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new j(e.funcName+" valid only within array environment")}});var Tu=$u;X({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];if(a.type!=="ordgroup")throw new j("Invalid environment name",a);for(var s="",i=0;i<a.body.length;++i)s+=se(a.body[i],"textord").text;if(r==="\\begin"){if(!Tu.hasOwnProperty(s))throw new j("No such environment: "+s,a);var l=Tu[s],{args:c,optArgs:u}=n.parseArguments("\\begin{"+s+"}",l),m={mode:n.mode,envName:s,parser:n},p=l.handler(m,c,u);n.expect("\\end",!1);var f=n.nextToken,g=se(n.parseFunction(),"environment");if(g.name!==s)throw new j("Mismatch: \\begin{"+s+"} matched by \\end{"+g.name+"}",f);return p}return{type:"environment",mode:n.mode,name:s,nameGroup:a}}});var Iu=o((e,t)=>{var n=e.font,r=t.withFont(n);return ue(e.body,r)},"Wu"),Mu=o((e,t)=>{var n=e.font,r=t.withFont(n);return fe(e.body,r)},"Vu"),zu={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};X({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=_a(t[0]),s=r;return s in zu&&(s=zu[s]),{type:"font",mode:n.mode,font:s.slice(1),body:a}},"handler"),htmlBuilder:Iu,mathmlBuilder:Mu}),X({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:o((e,t)=>{var{parser:n}=e,r=t[0];return{type:"mclass",mode:n.mode,mclass:Ma(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:Rt(r)}},"handler")}),X({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:o((e,t)=>{var{parser:n,funcName:r,breakOnTokenText:a}=e,{mode:s}=n,i=n.parseExpression(!0,a);return{type:"font",mode:s,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:i}}},"handler"),htmlBuilder:Iu,mathmlBuilder:Mu});var c3=o((e,t)=>{var n=t.style,r=n.fracNum(),a=n.fracDen(),s;s=t.havingStyle(r);var i=ue(e.numer,s,t);if(e.continued){var l=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;i.height=i.height<l?l:i.height,i.depth=i.depth<c?c:i.depth}s=t.havingStyle(a);var u=ue(e.denom,s,t),m,p,f;e.hasBarLine?(e.barSize?(p=ke(e.barSize,t),m=Un("frac-line",t,p)):m=Un("frac-line",t),p=m.height,f=m.height):(m=null,p=0,f=t.fontMetrics().defaultRuleThickness);var g,y,_;n.size===ne.DISPLAY.size?(g=t.fontMetrics().num1,p>0?y=3*f:y=7*f,_=t.fontMetrics().denom1):(p>0?(g=t.fontMetrics().num2,y=f):(g=t.fontMetrics().num3,y=3*f),_=t.fontMetrics().denom2);var T;if(m){var k=t.fontMetrics().axisHeight;g-i.depth-(k+.5*p)<y&&(g+=y-(g-i.depth-(k+.5*p))),k-.5*p-(u.height-_)<y&&(_+=y-(k-.5*p-(u.height-_)));var $=-(k-.5*p);T=ce({positionType:"individualShift",children:[{type:"elem",elem:u,shift:_},{type:"elem",elem:m,shift:$},{type:"elem",elem:i,shift:-g}]})}else{var M=g-i.depth-(u.height-_);M<y&&(g+=.5*(y-M),_+=.5*(y-M)),T=ce({positionType:"individualShift",children:[{type:"elem",elem:u,shift:_},{type:"elem",elem:i,shift:-g}]})}s=t.havingStyle(n),T.height*=s.sizeMultiplier/t.sizeMultiplier,T.depth*=s.sizeMultiplier/t.sizeMultiplier;var E;n.size===ne.DISPLAY.size?E=t.fontMetrics().delim1:n.size===ne.SCRIPTSCRIPT.size?E=t.havingStyle(ne.SCRIPT).fontMetrics().delim2:E=t.fontMetrics().delim2;var P,I;return e.leftDelim==null?P=yr(t,["mopen"]):P=Si(e.leftDelim,E,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?I=O([]):e.rightDelim==null?I=yr(t,["mclose"]):I=Si(e.rightDelim,E,!0,t.havingStyle(n),e.mode,["mclose"]),O(["mord"].concat(s.sizingClasses(t)),[P,O(["mfrac"],[T]),I],t)},"Y2"),u3=o((e,t)=>{var n=new q("mfrac",[fe(e.numer,t),fe(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=ke(e.barSize,t);n.setAttribute("linethickness",H(r))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var s=new q("mo",[new Me(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),e.rightDelim!=null){var i=new q("mo",[new Me(e.rightDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}return di(a)}return n},"Z2"),Eu=o((e,t)=>{if(!t)return e;var n={type:"styling",mode:e.mode,style:t,body:[e]};return n},"Xu");X({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=t[1],i,l=null,c=null;switch(r){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,l="(",c=")";break;case"\\\\bracefrac":i=!1,l="\\{",c="\\}";break;case"\\\\brackfrac":i=!1,l="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}var u=r==="\\cfrac",m=null;return u||r.startsWith("\\d")?m="display":r.startsWith("\\t")&&(m="text"),Eu({type:"genfrac",mode:n.mode,numer:a,denom:s,continued:u,hasBarLine:i,leftDelim:l,rightDelim:c,barSize:null},m)},"handler"),htmlBuilder:c3,mathmlBuilder:u3}),X({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,a;switch(n){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:r}}});var Nu=["display","text","script","scriptscript"],Bu=o(function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t},"xl");X({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],a=t[5],s=_a(t[0]),i=s.type==="atom"&&s.family==="open"?Bu(s.text):null,l=_a(t[1]),c=l.type==="atom"&&l.family==="close"?Bu(l.text):null,u=se(t[2],"size"),m,p=null;u.isBlank?m=!0:(p=u.value,m=p.number>0);var f=null,g=t[3];if(g.type==="ordgroup"){if(g.body.length>0){var y=se(g.body[0],"textord");f=Nu[Number(y.text)]}}else g=se(g,"textord"),f=Nu[Number(g.text)];return Eu({type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:m,barSize:p,leftDelim:i,rightDelim:c},f)}}),X({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:a}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:se(t[0],"size").value,token:a}}}),X({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=se(t[1],"infix").size;if(!s)throw new Error("\\\\abovefrac expected size, but got "+String(s));var i=t[2],l=s.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:l,barSize:s,leftDelim:null,rightDelim:null}},"handler")});var Ru=o((e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?ue(e.sup,t.havingStyle(n.sup()),t):ue(e.sub,t.havingStyle(n.sub()),t),a=se(e.base,"horizBrace")):a=se(e,"horizBrace");var s=ue(a.base,t.havingBaseStyle(ne.DISPLAY)),i=Sa(a,t),l;if(a.isOver?l=ce({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i,wrapperClasses:["svg-align"]}]}):l=ce({positionType:"bottom",positionData:s.depth+.1+i.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:s}]}),r){var c=O(["minner",a.isOver?"mover":"munder"],[l],t);a.isOver?l=ce({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:r}]}):l=ce({positionType:"bottom",positionData:c.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:c}]})}return O(["minner",a.isOver?"mover":"munder"],[l],t)},"Yu"),p3=o((e,t)=>{var n=Ca(e.label);return new q(e.isOver?"mover":"munder",[fe(e.base,t),n])},"K2");X({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:r.includes("\\over"),base:t[0]}},htmlBuilder:Ru,mathmlBuilder:p3}),X({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e,r=t[1],a=se(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:Ie(r)}:n.formatUnsupportedCmd("\\href")},"handler"),htmlBuilder:o((e,t)=>{var n=Be(e.body,t,!1);return $5(e.href,[],n,t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=en(e.body,t);return n instanceof q||(n=new q("mrow",[n])),n.setAttribute("href",e.href),n},"mathmlBuilder")}),X({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e,r=se(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var a=[],s=0;s<r.length;s++){var i=r[s];i==="~"&&(i="\\textasciitilde"),a.push({type:"textord",mode:"text",text:i})}var l={type:"text",mode:n.mode,font:"\\texttt",body:a};return{type:"href",mode:n.mode,href:r,body:Ie(l)}},"handler")}),X({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:Ie(t[0])}},htmlBuilder(e,t){var n=Be(e.body,t.withFont(""),!1);return Ft(n)},mathmlBuilder(e,t){return new q("mrow",st(e.body,t.withFont("")))}}),X({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:o((e,t)=>{var{parser:n,funcName:r,token:a}=e,s=se(t[0],"raw").string,i=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,c={};switch(r){case"\\htmlClass":c.class=s,l={command:"\\htmlClass",class:s};break;case"\\htmlId":c.id=s,l={command:"\\htmlId",id:s};break;case"\\htmlStyle":c.style=s,l={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var u=s.split(","),m=0;m<u.length;m++){var p=u[m],f=p.indexOf("=");if(f<0)throw new j("\\htmlData key/value '"+p+"' missing equals sign");var g=p.slice(0,f),y=p.slice(f+1);c["data-"+g.trim()]=y}l={command:"\\htmlData",attributes:c};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(l)?{type:"html",mode:n.mode,attributes:c,body:Ie(i)}:n.formatUnsupportedCmd(r)},"handler"),htmlBuilder:o((e,t)=>{var n=Be(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=O(r,n,t);for(var s in e.attributes)s!=="class"&&e.attributes.hasOwnProperty(s)&&a.setAttribute(s,e.attributes[s]);return a},"htmlBuilder"),mathmlBuilder:o((e,t)=>en(e.body,t),"mathmlBuilder")}),X({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Ie(t[0]),mathml:Ie(t[1])}},"handler"),htmlBuilder:o((e,t)=>{var n=Be(e.html,t,!1);return Ft(n)},"htmlBuilder"),mathmlBuilder:o((e,t)=>en(e.mathml,t),"mathmlBuilder")});var Mi=o(function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new j("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!Ac(n))throw new j("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n},"vi");X({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:o((e,t,n)=>{var{parser:r}=e,a={number:0,unit:"em"},s={number:.9,unit:"em"},i={number:0,unit:"em"},l="";if(n[0])for(var c=se(n[0],"raw").string,u=c.split(","),m=0;m<u.length;m++){var p=u[m].split("=");if(p.length===2){var f=p[1].trim();switch(p[0].trim()){case"alt":l=f;break;case"width":a=Mi(f);break;case"height":s=Mi(f);break;case"totalheight":i=Mi(f);break;default:throw new j("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var g=se(t[0],"url").url;return l===""&&(l=g,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:g})?{type:"includegraphics",mode:r.mode,alt:l,width:a,height:s,totalheight:i,src:g}:r.formatUnsupportedCmd("\\includegraphics")},"handler"),htmlBuilder:o((e,t)=>{var n=ke(e.height,t),r=0;e.totalheight.number>0&&(r=ke(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=ke(e.width,t));var s={height:H(n+r)};a>0&&(s.width=H(a)),r>0&&(s.verticalAlign=H(-r));var i=new h5(e.src,e.alt,s);return i.height=n,i.depth=r,i},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=new q("mglyph",[]);n.setAttribute("alt",e.alt);var r=ke(e.height,t),a=0;if(e.totalheight.number>0&&(a=ke(e.totalheight,t)-r,n.setAttribute("valign",H(-a))),n.setAttribute("height",H(r+a)),e.width.number>0){var s=ke(e.width,t);n.setAttribute("width",H(s))}return n.setAttribute("src",e.src),n},"mathmlBuilder")}),X({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=se(t[0],"size");if(n.settings.strict){var s=r[1]==="m",i=a.value.unit==="mu";s?(i||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+a.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):i&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:a.value}},htmlBuilder(e,t){return Uc(e.dimension,t)},mathmlBuilder(e,t){var n=ke(e.dimension,t);return new Kc(n)}}),X({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:a}},"handler"),htmlBuilder:o((e,t)=>{var n;e.alignment==="clap"?(n=O([],[ue(e.body,t)]),n=O(["inner"],[n],t)):n=O(["inner"],[ue(e.body,t)]);var r=O(["fix"],[]),a=O([e.alignment],[n,r],t),s=O(["strut"]);return s.style.height=H(a.height+a.depth),a.depth&&(s.style.verticalAlign=H(-a.depth)),a.children.unshift(s),a=O(["thinbox"],[a],t),O(["mord","vbox"],[a],t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=new q("mpadded",[fe(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n},"mathmlBuilder")}),X({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,a=r.mode;r.switchMode("math");var s=n==="\\("?"\\)":"$",i=r.parseExpression(!1,s);return r.expect(s),r.switchMode(a),{type:"styling",mode:r.mode,style:"text",resetFont:!0,body:i}}}),X({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new j("Mismatched "+e.funcName)}});var Pu=o((e,t)=>{switch(t.style.size){case ne.DISPLAY.size:return e.display;case ne.TEXT.size:return e.text;case ne.SCRIPT.size:return e.script;case ne.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}},"kl");X({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:o((e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Ie(t[0]),text:Ie(t[1]),script:Ie(t[2]),scriptscript:Ie(t[3])}},"handler"),htmlBuilder:o((e,t)=>{var n=Pu(e,t),r=Be(n,t,!1);return Ft(r)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=Pu(e,t);return en(n,t)},"mathmlBuilder")});var Lu=o((e,t,n,r,a,s,i)=>{e=O([],[e]);var l=n&&Rt(n),c,u;if(t){var m=ue(t,r.havingStyle(a.sup()),r);u={elem:m,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-m.depth)}}if(n){var p=ue(n,r.havingStyle(a.sub()),r);c={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-p.height)}}var f;if(u&&c){var g=r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+i;f=ce({positionType:"bottom",positionData:g,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:H(-s)},{type:"kern",size:c.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:H(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]})}else if(c){var y=e.height-i;f=ce({positionType:"top",positionData:y,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:H(-s)},{type:"kern",size:c.kern},{type:"elem",elem:e}]})}else if(u){var _=e.depth+i;f=ce({positionType:"bottom",positionData:_,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:H(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]})}else return e;var T=[f];if(c&&s!==0&&!l){var k=O(["mspace"],[],r);k.style.marginRight=H(s),T.unshift(k)}return O(["mop","op-limits"],T,r)},"Zu"),Ou=new Set(["\\smallint"]),Vn=o((e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=se(e.base,"op"),a=!0):s=se(e,"op");var i=t.style,l=!1;i.size===ne.DISPLAY.size&&s.symbol&&!Ou.has(s.name)&&(l=!0);var c,u;if(s.symbol){var m=l?"Size2-Regular":"Size1-Regular",p="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(p=s.name.slice(1),s.name=p==="oiint"?"\\iint":"\\iiint"),c=Xe(s.name,m,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u=c.italic,p.length>0){var f=Vc(p+"Size"+(l?"2":"1"),t);c=ce({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:f,shift:l?.08:0}]}),s.name="\\"+p,c.classes.unshift("mop"),c.italic=u}}else if(s.body){var g=Be(s.body,t,!0);g.length===1&&g[0]instanceof rt?(c=g[0],c.classes[0]="mop"):c=O(["mop"],g,t)}else{for(var y=[],_=1;_<s.name.length;_++)y.push(oi(s.name[_],s.mode,t));c=O(["mop"],y,t)}var T=0,k=0;if((c instanceof rt||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift){var $;T=(c.height-c.depth)/2-t.fontMetrics().axisHeight,k=($=c.italic)!=null?$:0}return a?Lu(c,n,r,t,i,k,T):(T&&(c.style.position="relative",c.style.top=H(T)),c)},"Vn"),xr=o((e,t)=>{var n;if(e.symbol)n=new q("mo",[pt(e.name,e.mode)]),Ou.has(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new q("mo",st(e.body,t));else{n=new q("mi",[new Me(e.name.slice(1))]);var r=new q("mo",[pt("⁡","text")]);e.parentIsSupSub?n=new q("mrow",[n,r]):n=Zc([n,r])}return n},"vr"),h3={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};X({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=r;return a.length===1&&(a=h3[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},"handler"),htmlBuilder:Vn,mathmlBuilder:xr}),X({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:o((e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ie(r)}},"handler"),htmlBuilder:Vn,mathmlBuilder:xr});var m3={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};X({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Vn,mathmlBuilder:xr}),X({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Vn,mathmlBuilder:xr}),X({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=m3[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Vn,mathmlBuilder:xr});var Fu=o((e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=se(e.base,"operatorname"),a=!0):s=se(e,"operatorname");var i;if(s.body.length>0){for(var l=s.body.map(p=>{var f="text"in p?p.text:void 0;return typeof f=="string"?{type:"textord",mode:p.mode,text:f}:p}),c=Be(l,t.withFont("mathrm"),!0),u=0;u<c.length;u++){var m=c[u];m instanceof rt&&(m.text=m.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=O(["mop"],c,t)}else i=O(["mop"],[],t);return a?Lu(i,n,r,t,t.style,0,0):i},"Qu"),d3=o((e,t)=>{for(var n=st(e.body,t.withFont("mathrm")),r=!0,a=0;a<n.length;a++){var s=n[a];if(!(s instanceof Kc))if(s instanceof q)switch(s.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var i=s.children[0];s.children.length===1&&i instanceof Me?i.text=i.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var l=n.map(m=>m.toText()).join("");n=[new Me(l)]}var c=new q("mi",n);c.setAttribute("mathvariant","normal");var u=new q("mo",[pt("⁡","text")]);return e.parentIsSupSub?new q("mrow",[c,u]):Zc([c,u])},"e5");X({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:Ie(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},"handler"),htmlBuilder:Fu,mathmlBuilder:d3}),v("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),xn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Ft(Be(e.body,t,!1)):O(["mord"],Be(e.body,t,!0),t)},mathmlBuilder(e,t){return en(e.body,t,!0)}}),X({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=ue(e.body,t.havingCrampedStyle()),r=Un("overline-line",t),a=t.fontMetrics().defaultRuleThickness,s=ce({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r},{type:"kern",size:a}]});return O(["mord","overline"],[s],t)},mathmlBuilder(e,t){var n=new q("mo",[new Me("‾")]);n.setAttribute("stretchy","true");var r=new q("mover",[fe(e.body,t),n]);return r.setAttribute("accent","true"),r}}),X({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:Ie(r)}},"handler"),htmlBuilder:o((e,t)=>{var n=Be(e.body,t.withPhantom(),!1);return Ft(n)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=st(e.body,t);return new q("mphantom",n)},"mathmlBuilder")}),v("\\hphantom","\\smash{\\phantom{#1}}"),X({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},"handler"),htmlBuilder:o((e,t)=>{var n=O(["inner"],[ue(e.body,t.withPhantom())]),r=O(["fix"],[]);return O(["mord","rlap"],[n,r],t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=st(Ie(e.body),t),r=new q("mphantom",n),a=new q("mpadded",[r]);return a.setAttribute("width","0px"),a},"mathmlBuilder")}),X({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=se(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=ue(e.body,t),r=ke(e.dy,t);return ce({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new q("mpadded",[fe(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),X({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),X({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,a=n[0],s=se(t[0],"size"),i=se(t[1],"size");return{type:"rule",mode:r.mode,shift:a&&se(a,"size").value,width:s.value,height:i.value}},htmlBuilder(e,t){var n=O(["mord","rule"],[],t),r=ke(e.width,t),a=ke(e.height,t),s=e.shift?ke(e.shift,t):0;return n.style.borderRightWidth=H(r),n.style.borderTopWidth=H(a),n.style.bottom=H(s),n.width=r,n.height=a+s,n.depth=-s,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=ke(e.width,t),r=ke(e.height,t),a=e.shift?ke(e.shift,t):0,s=t.color&&t.getColor()||"black",i=new q("mspace");i.setAttribute("mathbackground",s),i.setAttribute("width",H(n)),i.setAttribute("height",H(r));var l=new q("mpadded",[i]);return a>=0?l.setAttribute("height",H(a)):(l.setAttribute("height",H(a)),l.setAttribute("depth",H(-a))),l.setAttribute("voffset",H(a)),l}});function qu(e,t,n){for(var r=Be(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,s=0;s<r.length;s++){var i=r[s].classes.indexOf("sizing");i<0?Array.prototype.push.apply(r[s].classes,t.sizingClasses(n)):r[s].classes[i+1]==="reset-size"+t.size&&(r[s].classes[i+1]="reset-size"+n.size),r[s].height*=a,r[s].depth*=a}return Ft(r)}o(qu,"Ju");var ju=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],g3=o((e,t)=>{var n=t.havingSize(e.size);return qu(e.body,n,t)},"t5");X({type:"sizing",names:ju,props:{numArgs:0,allowedInText:!0},handler:o((e,t)=>{var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:ju.indexOf(r)+1,body:s}},"handler"),htmlBuilder:g3,mathmlBuilder:o((e,t)=>{var n=t.havingSize(e.size),r=st(e.body,n),a=new q("mstyle",r);return a.setAttribute("mathsize",H(n.sizeMultiplier)),a},"mathmlBuilder")}),X({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:o((e,t,n)=>{var{parser:r}=e,a=!1,s=!1,i=n[0]&&se(n[0],"ordgroup");if(i)for(var l,c=0;c<i.body.length;++c){var u=i.body[c];if(l=Aa(u).text,l==="t")a=!0;else if(l==="b")s=!0;else{a=!1,s=!1;break}}else a=!0,s=!0;var m=t[0];return{type:"smash",mode:r.mode,body:m,smashHeight:a,smashDepth:s}},"handler"),htmlBuilder:o((e,t)=>{var n=O([],[ue(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return O(["mord","smash"],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);var a=ce({positionType:"firstBaseline",children:[{type:"elem",elem:n}]});return O(["mord"],[a],t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=new q("mpadded",[fe(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n},"mathmlBuilder")}),X({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,a=n[0],s=t[0];return{type:"sqrt",mode:r.mode,body:s,index:a}},htmlBuilder(e,t){var n=ue(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Wn(n,t);var r=t.fontMetrics(),a=r.defaultRuleThickness,s=a;t.style.id<ne.TEXT.id&&(s=t.fontMetrics().xHeight);var i=a+s/4,l=n.height+n.depth+i+a,{span:c,ruleWidth:u,advanceWidth:m}=t3(l,t),p=c.height-u;p>n.height+n.depth+i&&(i=(i+p-n.height-n.depth)/2);var f=c.height-n.height-i-u;n.style.paddingLeft=H(m);var g=ce({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:c},{type:"kern",size:u}]});if(e.index){var y=t.havingStyle(ne.SCRIPTSCRIPT),_=ue(e.index,y,t),T=.6*(g.height-g.depth),k=ce({positionType:"shift",positionData:-T,children:[{type:"elem",elem:_}]}),$=O(["root"],[k]);return O(["mord","sqrt"],[$,g],t)}else return O(["mord","sqrt"],[g],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new q("mroot",[fe(n,t),fe(r,t)]):new q("msqrt",[fe(n,t)])}});var zi={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};function f3(e){return e in zi}o(f3,"n5"),X({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!0,n),i=r.slice(1,r.length-5);if(!f3(i))throw new Error("Unknown style: "+i);return{type:"styling",mode:a.mode,style:i,body:s}},htmlBuilder(e,t){var n=zi[e.style],r=t.havingStyle(n);return e.resetFont&&(r=r.withFont("")),qu(e.body,r,t)},mathmlBuilder(e,t){var n=zi[e.style],r=t.havingStyle(n);e.resetFont&&(r=r.withFont(""));var a=st(e.body,r),s=new q("mstyle",a),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=i[e.style];return s.setAttribute("scriptlevel",l[0]),s.setAttribute("displaystyle",l[1]),s}});var b3=o(function(e,t){var n=e.base;if(n)if(n.type==="op"){var r=n.limits&&(t.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return r?Vn:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(t.style.size===ne.DISPLAY.size||n.limits);return a?Fu:null}else{if(n.type==="accent")return Rt(n.base)?bi:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?Ru:null}else return null}else return null},"r5");xn({type:"supsub",htmlBuilder(e,t){var n=b3(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:s}=e,i=ue(r,t),l,c,u=t.fontMetrics(),m=0,p=0,f=r&&Rt(r);if(a){var g=t.havingStyle(t.style.sup());l=ue(a,g,t),f||(m=i.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(s){var y=t.havingStyle(t.style.sub());c=ue(s,y,t),f||(p=i.depth+y.fontMetrics().subDrop*y.sizeMultiplier/t.sizeMultiplier)}var _;t.style===ne.DISPLAY?_=u.sup1:t.style.cramped?_=u.sup3:_=u.sup2;var T=t.sizeMultiplier,k=H(.5/u.ptPerEm/T),$=null;if(c){var M=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");if(i instanceof rt||M){var E;$=H(-((E=i.italic)!=null?E:0))}}var P;if(l&&c){m=Math.max(m,_,l.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var I=u.defaultRuleThickness,L=4*I;if(m-l.depth-(c.height-p)<L){p=L-(m-l.depth)+c.height;var U=.8*u.xHeight-(m-l.depth);U>0&&(m+=U,p-=U)}var V=[{type:"elem",elem:c,shift:p,marginRight:k,marginLeft:$},{type:"elem",elem:l,shift:-m,marginRight:k}];P=ce({positionType:"individualShift",children:V})}else if(c){p=Math.max(p,u.sub1,c.height-.8*u.xHeight);var z=[{type:"elem",elem:c,marginLeft:$,marginRight:k}];P=ce({positionType:"shift",positionData:p,children:z})}else if(l)m=Math.max(m,_,l.depth+.25*u.xHeight),P=ce({positionType:"shift",positionData:-m,children:[{type:"elem",elem:l,marginRight:k}]});else throw new Error("supsub must have either sup or sub.");var G=hi(i,"right")||"mord";return O([G],[i,O(["msupsub"],[P])],t)},mathmlBuilder(e,t){var n=!1,r,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var s=[fe(e.base,t)];e.sub&&s.push(fe(e.sub,t)),e.sup&&s.push(fe(e.sup,t));var i;if(n)i=r?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===ne.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===ne.DISPLAY||l.limits)?i="munderover":i="msubsup"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===ne.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===ne.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===ne.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===ne.DISPLAY)?i="mover":i="msup"}return new q(i,s)}}),xn({type:"atom",htmlBuilder(e,t){return oi(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new q("mo",[pt(e.text,e.mode)]);if(e.family==="bin"){var r=gi(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var Du={mi:"italic",mn:"normal",mtext:"normal"};xn({type:"mathord",htmlBuilder(e,t){return va(e,t,"mathord")},mathmlBuilder(e,t){var n=new q("mi",[pt(e.text,e.mode,t)]),r=gi(e,t)||"italic";return r!==Du[n.type]&&n.setAttribute("mathvariant",r),n}}),xn({type:"textord",htmlBuilder(e,t){return va(e,t,"textord")},mathmlBuilder(e,t){var n=pt(e.text,e.mode,t),r=gi(e,t)||"normal",a;return e.mode==="text"?a=new q("mtext",[n]):/[0-9]/.test(e.text)?a=new q("mn",[n]):e.text==="\\prime"?a=new q("mo",[n]):a=new q("mi",[n]),r!==Du[a.type]&&a.setAttribute("mathvariant",r),a}});var Ei={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ni={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};xn({type:"spacing",htmlBuilder(e,t){if(Ni.hasOwnProperty(e.text)){var n=Ni[e.text].className||"";if(e.mode==="text"){var r=va(e,t,"textord");return r.classes.push(n),r}else return O(["mspace",n],[oi(e.text,e.mode,t)],t)}else{if(Ei.hasOwnProperty(e.text))return O(["mspace",Ei[e.text]],[],t);throw new j('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Ni.hasOwnProperty(e.text))n=new q("mtext",[new Me(" ")]);else{if(Ei.hasOwnProperty(e.text))return new q("mspace");throw new j('Unknown type of space "'+e.text+'"')}return n}});var Hu=o(()=>{var e=new q("mtd",[]);return e.setAttribute("width","50%"),e},"$l");xn({type:"tag",mathmlBuilder(e,t){var n=new q("mtable",[new q("mtr",[Hu(),new q("mtd",[en(e.body,t)]),Hu(),new q("mtd",[en(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Gu={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Uu={"\\textbf":"textbf","\\textmd":"textmd"},y3={"\\textit":"textit","\\textup":"textup"},Wu=o((e,t)=>{var n=e.font;if(n){if(Gu[n])return t.withTextFontFamily(Gu[n]);if(Uu[n])return t.withTextFontWeight(Uu[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(y3[n])},"Al");X({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"text",mode:n.mode,body:Ie(a),font:r}},htmlBuilder(e,t){var n=Wu(e,t),r=Be(e.body,n,!0);return O(["mord","text"],r,n)},mathmlBuilder(e,t){var n=Wu(e,t);return en(e.body,n)}}),X({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=ue(e.body,t),r=Un("underline-line",t),a=t.fontMetrics().defaultRuleThickness,s=ce({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n}]});return O(["mord","underline"],[s],t)},mathmlBuilder(e,t){var n=new q("mo",[new Me("‾")]);n.setAttribute("stretchy","true");var r=new q("munder",[fe(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),X({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=ue(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return ce({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new q("mpadded",[fe(e.body,t)],["vcenter"]);return new q("mrow",[n])}}),X({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new j("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=Vu(e),r=[],a=t.havingStyle(t.style.text()),s=0;s<n.length;s++){var i=n[s];i==="~"&&(i="\\textasciitilde"),r.push(Xe(i,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return O(["mord","text"].concat(a.sizingClasses(t)),Gc(r),a)},mathmlBuilder(e,t){var n=new Me(Vu(e)),r=new q("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var Vu=o(e=>e.body.replace(/ /g,e.star?"␣":" "),"Tl"),nn=Xc,Xu=`[ \r
406
- ]`,v3="\\\\[a-zA-Z@]+",w3="\\\\[^\uD800-\uDFFF]",x3="("+v3+")"+Xu+"*",k3=`\\\\(
404
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},"Y4");function u5(e){return"toText"in e}o(u5,"Z4");class Dn{static{o(this,"Hn")}constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){return this.children.map(t=>{if(u5(t))return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)}).join("")}}var Vs={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},p5={ex:!0,em:!0,mu:!0},Ac=o(function(e){return typeof e!="string"&&(e=e.unit),e in Vs||e in p5||e==="ex"},"hu"),ke=o(function(e,t){var n;if(e.unit in Vs)n=Vs[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")n=t.fontMetrics().cssEmPerMu;else{var r;if(t.style.isTight()?r=t.havingStyle(t.style.text()):r=t,e.unit==="ex")n=r.fontMetrics().xHeight;else if(e.unit==="em")n=r.fontMetrics().quad;else throw new j("Invalid unit: '"+e.unit+"'");r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},"xe"),H=o(function(e){return+e.toFixed(4)+"em"},"G"),Zt=o(function(e){return e.filter(t=>t).join(" ")},"en"),Xs=o(function(e){var t="";for(var n of Object.keys(e)){var r=e[n];r!==void 0&&(t+=F4(n)+":"+r+";")}return t},"As"),Tc=o(function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},"pu"),Ic=o(function(e){var t=document.createElement(e);t.className=Zt(this.classes),Object.assign(t.style,this.style);for(var n of Object.keys(this.attributes))t.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},"du"),h5=/[\s"'>/=\x00-\x1f]/,Mc=o(function(e){var t="<"+e;this.classes.length&&(t+=' class="'+qe(Zt(this.classes))+'"');var n=Xs(this.style);n&&(t+=' style="'+qe(n)+'"');for(var r of Object.keys(this.attributes)){if(h5.test(r))throw new j("Invalid attribute name '"+r+"'");t+=" "+r+'="'+qe(this.attributes[r])+'"'}t+=">";for(var a=0;a<this.children.length;a++)t+=this.children[a].toMarkup();return t+="</"+e+">",t},"fu");class Hn{static{o(this,"Un")}constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,Tc.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return Ic.call(this,"span")}toMarkup(){return Mc.call(this,"span")}}class ma{static{o(this,"Sa")}constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Tc.call(this,n,a),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return Ic.call(this,"a")}toMarkup(){return Mc.call(this,"a")}}class m5{static{o(this,"J4")}constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");return t.src=this.src,t.alt=this.alt,t.className="mord",Object.assign(t.style,this.style),t}toMarkup(){var t='<img src="'+qe(this.src)+'"'+(' alt="'+qe(this.alt)+'"'),n=Xs(this.style);return n&&(t+=' style="'+qe(n)+'"'),t+="'/>",t}}var d5={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class rt{static{o(this,"rt")}constructor(t,n,r,a,s,i,l,c){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=r||0,this.italic=a||0,this.skew=s||0,this.width=i||0,this.classes=l||[],this.style=c||{},this.maxFontSize=0;var u=J4(this.text.charCodeAt(0));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=d5[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;return this.italic>0&&(n=document.createElement("span"),n.style.marginRight=H(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Zt(this.classes)),Object.keys(this.style).length>0&&(n=n||document.createElement("span"),Object.assign(n.style,this.style)),n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=qe(Zt(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+H(this.italic)+";"),r+=Xs(this.style),r&&(t=!0,n+=' style="'+qe(r)+'"');var a=qe(this.text);return t?(n+=">",n+=a,n+="</span>",n):a}}class Lt{static{o(this,"Pt")}constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n of Object.keys(this.attributes))t+=" "+n+'="'+qe(this.attributes[n])+'"';t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class Kt{static{o(this,"tn")}constructor(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",Cc[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+qe(this.alternate)+'"/>':'<path d="'+qe(Cc[this.pathName])+'"/>'}}class Ys{static{o(this,"Xi")}constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n of Object.keys(this.attributes))t+=" "+n+'="'+qe(this.attributes[n])+'"';return t+="/>",t}}function g5(e){if(e instanceof rt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}o(g5,"t2");function f5(e){if(e instanceof Hn)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}o(f5,"n2");var b5=o(e=>e instanceof Hn||e instanceof ma||e instanceof Dn,"r2"),wt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},da={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},zc={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function y5(e,t){wt[e]=t}o(y5,"a2");function Zs(e,t,n){if(!wt[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=wt[t][r];if(!a&&e[0]in zc&&(r=zc[e[0]].charCodeAt(0),a=wt[t][r]),!a&&n==="text"&&Sc(r)&&(a=wt[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}o(Zs,"Ts");var Ks={};function v5(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Ks[t]){var n=Ks[t]={cssEmPerMu:da.quad[t]/18};for(var r in da)da.hasOwnProperty(r)&&(n[r]=da[r][t])}return Ks[t]}o(v5,"i2");var we={math:{},text:{}};function h(e,t,n,r,a,s){we[e][a]={font:t,group:n,replace:r},s&&r&&(we[e][r]=we[e][a])}o(h,"m");var d="math",R="text",b="main",w="ams",xe="accent-token",Y="bin",We="close",Gn="inner",Q="mathord",Te="op-token",at="open",br="punct",x="rel",Ot="spacing",A="textord";h(d,b,x,"≡","\\equiv",!0),h(d,b,x,"≺","\\prec",!0),h(d,b,x,"≻","\\succ",!0),h(d,b,x,"∼","\\sim",!0),h(d,b,x,"⊥","\\perp"),h(d,b,x,"⪯","\\preceq",!0),h(d,b,x,"⪰","\\succeq",!0),h(d,b,x,"≃","\\simeq",!0),h(d,b,x,"∣","\\mid",!0),h(d,b,x,"≪","\\ll",!0),h(d,b,x,"≫","\\gg",!0),h(d,b,x,"≍","\\asymp",!0),h(d,b,x,"∥","\\parallel"),h(d,b,x,"⋈","\\bowtie",!0),h(d,b,x,"⌣","\\smile",!0),h(d,b,x,"⊑","\\sqsubseteq",!0),h(d,b,x,"⊒","\\sqsupseteq",!0),h(d,b,x,"≐","\\doteq",!0),h(d,b,x,"⌢","\\frown",!0),h(d,b,x,"∋","\\ni",!0),h(d,b,x,"∝","\\propto",!0),h(d,b,x,"⊢","\\vdash",!0),h(d,b,x,"⊣","\\dashv",!0),h(d,b,x,"∋","\\owns"),h(d,b,br,".","\\ldotp"),h(d,b,br,"⋅","\\cdotp"),h(d,b,br,"⋅","·"),h(R,b,A,"⋅","·"),h(d,b,A,"#","\\#"),h(R,b,A,"#","\\#"),h(d,b,A,"&","\\&"),h(R,b,A,"&","\\&"),h(d,b,A,"ℵ","\\aleph",!0),h(d,b,A,"∀","\\forall",!0),h(d,b,A,"ℏ","\\hbar",!0),h(d,b,A,"∃","\\exists",!0),h(d,b,A,"∇","\\nabla",!0),h(d,b,A,"♭","\\flat",!0),h(d,b,A,"ℓ","\\ell",!0),h(d,b,A,"♮","\\natural",!0),h(d,b,A,"♣","\\clubsuit",!0),h(d,b,A,"℘","\\wp",!0),h(d,b,A,"♯","\\sharp",!0),h(d,b,A,"♢","\\diamondsuit",!0),h(d,b,A,"ℜ","\\Re",!0),h(d,b,A,"♡","\\heartsuit",!0),h(d,b,A,"ℑ","\\Im",!0),h(d,b,A,"♠","\\spadesuit",!0),h(d,b,A,"§","\\S",!0),h(R,b,A,"§","\\S"),h(d,b,A,"¶","\\P",!0),h(R,b,A,"¶","\\P"),h(d,b,A,"†","\\dag"),h(R,b,A,"†","\\dag"),h(R,b,A,"†","\\textdagger"),h(d,b,A,"‡","\\ddag"),h(R,b,A,"‡","\\ddag"),h(R,b,A,"‡","\\textdaggerdbl"),h(d,b,We,"⎱","\\rmoustache",!0),h(d,b,at,"⎰","\\lmoustache",!0),h(d,b,We,"⟯","\\rgroup",!0),h(d,b,at,"⟮","\\lgroup",!0),h(d,b,Y,"∓","\\mp",!0),h(d,b,Y,"⊖","\\ominus",!0),h(d,b,Y,"⊎","\\uplus",!0),h(d,b,Y,"⊓","\\sqcap",!0),h(d,b,Y,"∗","\\ast"),h(d,b,Y,"⊔","\\sqcup",!0),h(d,b,Y,"◯","\\bigcirc",!0),h(d,b,Y,"∙","\\bullet",!0),h(d,b,Y,"‡","\\ddagger"),h(d,b,Y,"≀","\\wr",!0),h(d,b,Y,"⨿","\\amalg"),h(d,b,Y,"&","\\And"),h(d,b,x,"⟵","\\longleftarrow",!0),h(d,b,x,"⇐","\\Leftarrow",!0),h(d,b,x,"⟸","\\Longleftarrow",!0),h(d,b,x,"⟶","\\longrightarrow",!0),h(d,b,x,"⇒","\\Rightarrow",!0),h(d,b,x,"⟹","\\Longrightarrow",!0),h(d,b,x,"↔","\\leftrightarrow",!0),h(d,b,x,"⟷","\\longleftrightarrow",!0),h(d,b,x,"⇔","\\Leftrightarrow",!0),h(d,b,x,"⟺","\\Longleftrightarrow",!0),h(d,b,x,"↦","\\mapsto",!0),h(d,b,x,"⟼","\\longmapsto",!0),h(d,b,x,"↗","\\nearrow",!0),h(d,b,x,"↩","\\hookleftarrow",!0),h(d,b,x,"↪","\\hookrightarrow",!0),h(d,b,x,"↘","\\searrow",!0),h(d,b,x,"↼","\\leftharpoonup",!0),h(d,b,x,"⇀","\\rightharpoonup",!0),h(d,b,x,"↙","\\swarrow",!0),h(d,b,x,"↽","\\leftharpoondown",!0),h(d,b,x,"⇁","\\rightharpoondown",!0),h(d,b,x,"↖","\\nwarrow",!0),h(d,b,x,"⇌","\\rightleftharpoons",!0),h(d,w,x,"≮","\\nless",!0),h(d,w,x,"","\\@nleqslant"),h(d,w,x,"","\\@nleqq"),h(d,w,x,"⪇","\\lneq",!0),h(d,w,x,"≨","\\lneqq",!0),h(d,w,x,"","\\@lvertneqq"),h(d,w,x,"⋦","\\lnsim",!0),h(d,w,x,"⪉","\\lnapprox",!0),h(d,w,x,"⊀","\\nprec",!0),h(d,w,x,"⋠","\\npreceq",!0),h(d,w,x,"⋨","\\precnsim",!0),h(d,w,x,"⪹","\\precnapprox",!0),h(d,w,x,"≁","\\nsim",!0),h(d,w,x,"","\\@nshortmid"),h(d,w,x,"∤","\\nmid",!0),h(d,w,x,"⊬","\\nvdash",!0),h(d,w,x,"⊭","\\nvDash",!0),h(d,w,x,"⋪","\\ntriangleleft"),h(d,w,x,"⋬","\\ntrianglelefteq",!0),h(d,w,x,"⊊","\\subsetneq",!0),h(d,w,x,"","\\@varsubsetneq"),h(d,w,x,"⫋","\\subsetneqq",!0),h(d,w,x,"","\\@varsubsetneqq"),h(d,w,x,"≯","\\ngtr",!0),h(d,w,x,"","\\@ngeqslant"),h(d,w,x,"","\\@ngeqq"),h(d,w,x,"⪈","\\gneq",!0),h(d,w,x,"≩","\\gneqq",!0),h(d,w,x,"","\\@gvertneqq"),h(d,w,x,"⋧","\\gnsim",!0),h(d,w,x,"⪊","\\gnapprox",!0),h(d,w,x,"⊁","\\nsucc",!0),h(d,w,x,"⋡","\\nsucceq",!0),h(d,w,x,"⋩","\\succnsim",!0),h(d,w,x,"⪺","\\succnapprox",!0),h(d,w,x,"≆","\\ncong",!0),h(d,w,x,"","\\@nshortparallel"),h(d,w,x,"∦","\\nparallel",!0),h(d,w,x,"⊯","\\nVDash",!0),h(d,w,x,"⋫","\\ntriangleright"),h(d,w,x,"⋭","\\ntrianglerighteq",!0),h(d,w,x,"","\\@nsupseteqq"),h(d,w,x,"⊋","\\supsetneq",!0),h(d,w,x,"","\\@varsupsetneq"),h(d,w,x,"⫌","\\supsetneqq",!0),h(d,w,x,"","\\@varsupsetneqq"),h(d,w,x,"⊮","\\nVdash",!0),h(d,w,x,"⪵","\\precneqq",!0),h(d,w,x,"⪶","\\succneqq",!0),h(d,w,x,"","\\@nsubseteqq"),h(d,w,Y,"⊴","\\unlhd"),h(d,w,Y,"⊵","\\unrhd"),h(d,w,x,"↚","\\nleftarrow",!0),h(d,w,x,"↛","\\nrightarrow",!0),h(d,w,x,"⇍","\\nLeftarrow",!0),h(d,w,x,"⇏","\\nRightarrow",!0),h(d,w,x,"↮","\\nleftrightarrow",!0),h(d,w,x,"⇎","\\nLeftrightarrow",!0),h(d,w,x,"△","\\vartriangle"),h(d,w,A,"ℏ","\\hslash"),h(d,w,A,"▽","\\triangledown"),h(d,w,A,"◊","\\lozenge"),h(d,w,A,"Ⓢ","\\circledS"),h(d,w,A,"®","\\circledR"),h(R,w,A,"®","\\circledR"),h(d,w,A,"∡","\\measuredangle",!0),h(d,w,A,"∄","\\nexists"),h(d,w,A,"℧","\\mho"),h(d,w,A,"Ⅎ","\\Finv",!0),h(d,w,A,"⅁","\\Game",!0),h(d,w,A,"‵","\\backprime"),h(d,w,A,"▲","\\blacktriangle"),h(d,w,A,"▼","\\blacktriangledown"),h(d,w,A,"■","\\blacksquare"),h(d,w,A,"⧫","\\blacklozenge"),h(d,w,A,"★","\\bigstar"),h(d,w,A,"∢","\\sphericalangle",!0),h(d,w,A,"∁","\\complement",!0),h(d,w,A,"ð","\\eth",!0),h(R,b,A,"ð","ð"),h(d,w,A,"╱","\\diagup"),h(d,w,A,"╲","\\diagdown"),h(d,w,A,"□","\\square"),h(d,w,A,"□","\\Box"),h(d,w,A,"◊","\\Diamond"),h(d,w,A,"¥","\\yen",!0),h(R,w,A,"¥","\\yen",!0),h(d,w,A,"✓","\\checkmark",!0),h(R,w,A,"✓","\\checkmark"),h(d,w,A,"ℶ","\\beth",!0),h(d,w,A,"ℸ","\\daleth",!0),h(d,w,A,"ℷ","\\gimel",!0),h(d,w,A,"ϝ","\\digamma",!0),h(d,w,A,"ϰ","\\varkappa"),h(d,w,at,"┌","\\@ulcorner",!0),h(d,w,We,"┐","\\@urcorner",!0),h(d,w,at,"└","\\@llcorner",!0),h(d,w,We,"┘","\\@lrcorner",!0),h(d,w,x,"≦","\\leqq",!0),h(d,w,x,"⩽","\\leqslant",!0),h(d,w,x,"⪕","\\eqslantless",!0),h(d,w,x,"≲","\\lesssim",!0),h(d,w,x,"⪅","\\lessapprox",!0),h(d,w,x,"≊","\\approxeq",!0),h(d,w,Y,"⋖","\\lessdot"),h(d,w,x,"⋘","\\lll",!0),h(d,w,x,"≶","\\lessgtr",!0),h(d,w,x,"⋚","\\lesseqgtr",!0),h(d,w,x,"⪋","\\lesseqqgtr",!0),h(d,w,x,"≑","\\doteqdot"),h(d,w,x,"≓","\\risingdotseq",!0),h(d,w,x,"≒","\\fallingdotseq",!0),h(d,w,x,"∽","\\backsim",!0),h(d,w,x,"⋍","\\backsimeq",!0),h(d,w,x,"⫅","\\subseteqq",!0),h(d,w,x,"⋐","\\Subset",!0),h(d,w,x,"⊏","\\sqsubset",!0),h(d,w,x,"≼","\\preccurlyeq",!0),h(d,w,x,"⋞","\\curlyeqprec",!0),h(d,w,x,"≾","\\precsim",!0),h(d,w,x,"⪷","\\precapprox",!0),h(d,w,x,"⊲","\\vartriangleleft"),h(d,w,x,"⊴","\\trianglelefteq"),h(d,w,x,"⊨","\\vDash",!0),h(d,w,x,"⊪","\\Vvdash",!0),h(d,w,x,"⌣","\\smallsmile"),h(d,w,x,"⌢","\\smallfrown"),h(d,w,x,"≏","\\bumpeq",!0),h(d,w,x,"≎","\\Bumpeq",!0),h(d,w,x,"≧","\\geqq",!0),h(d,w,x,"⩾","\\geqslant",!0),h(d,w,x,"⪖","\\eqslantgtr",!0),h(d,w,x,"≳","\\gtrsim",!0),h(d,w,x,"⪆","\\gtrapprox",!0),h(d,w,Y,"⋗","\\gtrdot"),h(d,w,x,"⋙","\\ggg",!0),h(d,w,x,"≷","\\gtrless",!0),h(d,w,x,"⋛","\\gtreqless",!0),h(d,w,x,"⪌","\\gtreqqless",!0),h(d,w,x,"≖","\\eqcirc",!0),h(d,w,x,"≗","\\circeq",!0),h(d,w,x,"≜","\\triangleq",!0),h(d,w,x,"∼","\\thicksim"),h(d,w,x,"≈","\\thickapprox"),h(d,w,x,"⫆","\\supseteqq",!0),h(d,w,x,"⋑","\\Supset",!0),h(d,w,x,"⊐","\\sqsupset",!0),h(d,w,x,"≽","\\succcurlyeq",!0),h(d,w,x,"⋟","\\curlyeqsucc",!0),h(d,w,x,"≿","\\succsim",!0),h(d,w,x,"⪸","\\succapprox",!0),h(d,w,x,"⊳","\\vartriangleright"),h(d,w,x,"⊵","\\trianglerighteq"),h(d,w,x,"⊩","\\Vdash",!0),h(d,w,x,"∣","\\shortmid"),h(d,w,x,"∥","\\shortparallel"),h(d,w,x,"≬","\\between",!0),h(d,w,x,"⋔","\\pitchfork",!0),h(d,w,x,"∝","\\varpropto"),h(d,w,x,"◀","\\blacktriangleleft"),h(d,w,x,"∴","\\therefore",!0),h(d,w,x,"∍","\\backepsilon"),h(d,w,x,"▶","\\blacktriangleright"),h(d,w,x,"∵","\\because",!0),h(d,w,x,"⋘","\\llless"),h(d,w,x,"⋙","\\gggtr"),h(d,w,Y,"⊲","\\lhd"),h(d,w,Y,"⊳","\\rhd"),h(d,w,x,"≂","\\eqsim",!0),h(d,b,x,"⋈","\\Join"),h(d,w,x,"≑","\\Doteq",!0),h(d,w,Y,"∔","\\dotplus",!0),h(d,w,Y,"∖","\\smallsetminus"),h(d,w,Y,"⋒","\\Cap",!0),h(d,w,Y,"⋓","\\Cup",!0),h(d,w,Y,"⩞","\\doublebarwedge",!0),h(d,w,Y,"⊟","\\boxminus",!0),h(d,w,Y,"⊞","\\boxplus",!0),h(d,w,Y,"⋇","\\divideontimes",!0),h(d,w,Y,"⋉","\\ltimes",!0),h(d,w,Y,"⋊","\\rtimes",!0),h(d,w,Y,"⋋","\\leftthreetimes",!0),h(d,w,Y,"⋌","\\rightthreetimes",!0),h(d,w,Y,"⋏","\\curlywedge",!0),h(d,w,Y,"⋎","\\curlyvee",!0),h(d,w,Y,"⊝","\\circleddash",!0),h(d,w,Y,"⊛","\\circledast",!0),h(d,w,Y,"⋅","\\centerdot"),h(d,w,Y,"⊺","\\intercal",!0),h(d,w,Y,"⋒","\\doublecap"),h(d,w,Y,"⋓","\\doublecup"),h(d,w,Y,"⊠","\\boxtimes",!0),h(d,w,x,"⇢","\\dashrightarrow",!0),h(d,w,x,"⇠","\\dashleftarrow",!0),h(d,w,x,"⇇","\\leftleftarrows",!0),h(d,w,x,"⇆","\\leftrightarrows",!0),h(d,w,x,"⇚","\\Lleftarrow",!0),h(d,w,x,"↞","\\twoheadleftarrow",!0),h(d,w,x,"↢","\\leftarrowtail",!0),h(d,w,x,"↫","\\looparrowleft",!0),h(d,w,x,"⇋","\\leftrightharpoons",!0),h(d,w,x,"↶","\\curvearrowleft",!0),h(d,w,x,"↺","\\circlearrowleft",!0),h(d,w,x,"↰","\\Lsh",!0),h(d,w,x,"⇈","\\upuparrows",!0),h(d,w,x,"↿","\\upharpoonleft",!0),h(d,w,x,"⇃","\\downharpoonleft",!0),h(d,b,x,"⊶","\\origof",!0),h(d,b,x,"⊷","\\imageof",!0),h(d,w,x,"⊸","\\multimap",!0),h(d,w,x,"↭","\\leftrightsquigarrow",!0),h(d,w,x,"⇉","\\rightrightarrows",!0),h(d,w,x,"⇄","\\rightleftarrows",!0),h(d,w,x,"↠","\\twoheadrightarrow",!0),h(d,w,x,"↣","\\rightarrowtail",!0),h(d,w,x,"↬","\\looparrowright",!0),h(d,w,x,"↷","\\curvearrowright",!0),h(d,w,x,"↻","\\circlearrowright",!0),h(d,w,x,"↱","\\Rsh",!0),h(d,w,x,"⇊","\\downdownarrows",!0),h(d,w,x,"↾","\\upharpoonright",!0),h(d,w,x,"⇂","\\downharpoonright",!0),h(d,w,x,"⇝","\\rightsquigarrow",!0),h(d,w,x,"⇝","\\leadsto"),h(d,w,x,"⇛","\\Rrightarrow",!0),h(d,w,x,"↾","\\restriction"),h(d,b,A,"‘","`"),h(d,b,A,"$","\\$"),h(R,b,A,"$","\\$"),h(R,b,A,"$","\\textdollar"),h(d,b,A,"%","\\%"),h(R,b,A,"%","\\%"),h(d,b,A,"_","\\_"),h(R,b,A,"_","\\_"),h(R,b,A,"_","\\textunderscore"),h(d,b,A,"∠","\\angle",!0),h(d,b,A,"∞","\\infty",!0),h(d,b,A,"′","\\prime"),h(d,b,A,"△","\\triangle"),h(d,b,A,"Γ","\\Gamma",!0),h(d,b,A,"Δ","\\Delta",!0),h(d,b,A,"Θ","\\Theta",!0),h(d,b,A,"Λ","\\Lambda",!0),h(d,b,A,"Ξ","\\Xi",!0),h(d,b,A,"Π","\\Pi",!0),h(d,b,A,"Σ","\\Sigma",!0),h(d,b,A,"Υ","\\Upsilon",!0),h(d,b,A,"Φ","\\Phi",!0),h(d,b,A,"Ψ","\\Psi",!0),h(d,b,A,"Ω","\\Omega",!0),h(d,b,A,"A","Α"),h(d,b,A,"B","Β"),h(d,b,A,"E","Ε"),h(d,b,A,"Z","Ζ"),h(d,b,A,"H","Η"),h(d,b,A,"I","Ι"),h(d,b,A,"K","Κ"),h(d,b,A,"M","Μ"),h(d,b,A,"N","Ν"),h(d,b,A,"O","Ο"),h(d,b,A,"P","Ρ"),h(d,b,A,"T","Τ"),h(d,b,A,"X","Χ"),h(d,b,A,"¬","\\neg",!0),h(d,b,A,"¬","\\lnot"),h(d,b,A,"⊤","\\top"),h(d,b,A,"⊥","\\bot"),h(d,b,A,"∅","\\emptyset"),h(d,w,A,"∅","\\varnothing"),h(d,b,Q,"α","\\alpha",!0),h(d,b,Q,"β","\\beta",!0),h(d,b,Q,"γ","\\gamma",!0),h(d,b,Q,"δ","\\delta",!0),h(d,b,Q,"ϵ","\\epsilon",!0),h(d,b,Q,"ζ","\\zeta",!0),h(d,b,Q,"η","\\eta",!0),h(d,b,Q,"θ","\\theta",!0),h(d,b,Q,"ι","\\iota",!0),h(d,b,Q,"κ","\\kappa",!0),h(d,b,Q,"λ","\\lambda",!0),h(d,b,Q,"μ","\\mu",!0),h(d,b,Q,"ν","\\nu",!0),h(d,b,Q,"ξ","\\xi",!0),h(d,b,Q,"ο","\\omicron",!0),h(d,b,Q,"π","\\pi",!0),h(d,b,Q,"ρ","\\rho",!0),h(d,b,Q,"σ","\\sigma",!0),h(d,b,Q,"τ","\\tau",!0),h(d,b,Q,"υ","\\upsilon",!0),h(d,b,Q,"ϕ","\\phi",!0),h(d,b,Q,"χ","\\chi",!0),h(d,b,Q,"ψ","\\psi",!0),h(d,b,Q,"ω","\\omega",!0),h(d,b,Q,"ε","\\varepsilon",!0),h(d,b,Q,"ϑ","\\vartheta",!0),h(d,b,Q,"ϖ","\\varpi",!0),h(d,b,Q,"ϱ","\\varrho",!0),h(d,b,Q,"ς","\\varsigma",!0),h(d,b,Q,"φ","\\varphi",!0),h(d,b,Y,"∗","*",!0),h(d,b,Y,"+","+"),h(d,b,Y,"−","-",!0),h(d,b,Y,"⋅","\\cdot",!0),h(d,b,Y,"∘","\\circ",!0),h(d,b,Y,"÷","\\div",!0),h(d,b,Y,"±","\\pm",!0),h(d,b,Y,"×","\\times",!0),h(d,b,Y,"∩","\\cap",!0),h(d,b,Y,"∪","\\cup",!0),h(d,b,Y,"∖","\\setminus",!0),h(d,b,Y,"∧","\\land"),h(d,b,Y,"∨","\\lor"),h(d,b,Y,"∧","\\wedge",!0),h(d,b,Y,"∨","\\vee",!0),h(d,b,A,"√","\\surd"),h(d,b,at,"⟨","\\langle",!0),h(d,b,at,"∣","\\lvert"),h(d,b,at,"∥","\\lVert"),h(d,b,We,"?","?"),h(d,b,We,"!","!"),h(d,b,We,"⟩","\\rangle",!0),h(d,b,We,"∣","\\rvert"),h(d,b,We,"∥","\\rVert"),h(d,b,x,"=","="),h(d,b,x,":",":"),h(d,b,x,"≈","\\approx",!0),h(d,b,x,"≅","\\cong",!0),h(d,b,x,"≥","\\ge"),h(d,b,x,"≥","\\geq",!0),h(d,b,x,"←","\\gets"),h(d,b,x,">","\\gt",!0),h(d,b,x,"∈","\\in",!0),h(d,b,x,"","\\@not"),h(d,b,x,"⊂","\\subset",!0),h(d,b,x,"⊃","\\supset",!0),h(d,b,x,"⊆","\\subseteq",!0),h(d,b,x,"⊇","\\supseteq",!0),h(d,w,x,"⊈","\\nsubseteq",!0),h(d,w,x,"⊉","\\nsupseteq",!0),h(d,b,x,"⊨","\\models"),h(d,b,x,"←","\\leftarrow",!0),h(d,b,x,"≤","\\le"),h(d,b,x,"≤","\\leq",!0),h(d,b,x,"<","\\lt",!0),h(d,b,x,"→","\\rightarrow",!0),h(d,b,x,"→","\\to"),h(d,w,x,"≱","\\ngeq",!0),h(d,w,x,"≰","\\nleq",!0),h(d,b,Ot," ","\\ "),h(d,b,Ot," ","\\space"),h(d,b,Ot," ","\\nobreakspace"),h(R,b,Ot," ","\\ "),h(R,b,Ot," "," "),h(R,b,Ot," ","\\space"),h(R,b,Ot," ","\\nobreakspace"),h(d,b,Ot,"","\\nobreak"),h(d,b,Ot,"","\\allowbreak"),h(d,b,br,",",","),h(d,b,br,";",";"),h(d,w,Y,"⊼","\\barwedge",!0),h(d,w,Y,"⊻","\\veebar",!0),h(d,b,Y,"⊙","\\odot",!0),h(d,b,Y,"⊕","\\oplus",!0),h(d,b,Y,"⊗","\\otimes",!0),h(d,b,A,"∂","\\partial",!0),h(d,b,Y,"⊘","\\oslash",!0),h(d,w,Y,"⊚","\\circledcirc",!0),h(d,w,Y,"⊡","\\boxdot",!0),h(d,b,Y,"△","\\bigtriangleup"),h(d,b,Y,"▽","\\bigtriangledown"),h(d,b,Y,"†","\\dagger"),h(d,b,Y,"⋄","\\diamond"),h(d,b,Y,"⋆","\\star"),h(d,b,Y,"◃","\\triangleleft"),h(d,b,Y,"▹","\\triangleright"),h(d,b,at,"{","\\{"),h(R,b,A,"{","\\{"),h(R,b,A,"{","\\textbraceleft"),h(d,b,We,"}","\\}"),h(R,b,A,"}","\\}"),h(R,b,A,"}","\\textbraceright"),h(d,b,at,"{","\\lbrace"),h(d,b,We,"}","\\rbrace"),h(d,b,at,"[","\\lbrack",!0),h(R,b,A,"[","\\lbrack",!0),h(d,b,We,"]","\\rbrack",!0),h(R,b,A,"]","\\rbrack",!0),h(d,b,at,"(","\\lparen",!0),h(d,b,We,")","\\rparen",!0),h(R,b,A,"<","\\textless",!0),h(R,b,A,">","\\textgreater",!0),h(d,b,at,"⌊","\\lfloor",!0),h(d,b,We,"⌋","\\rfloor",!0),h(d,b,at,"⌈","\\lceil",!0),h(d,b,We,"⌉","\\rceil",!0),h(d,b,A,"\\","\\backslash"),h(d,b,A,"∣","|"),h(d,b,A,"∣","\\vert"),h(R,b,A,"|","\\textbar",!0),h(d,b,A,"∥","\\|"),h(d,b,A,"∥","\\Vert"),h(R,b,A,"∥","\\textbardbl"),h(R,b,A,"~","\\textasciitilde"),h(R,b,A,"\\","\\textbackslash"),h(R,b,A,"^","\\textasciicircum"),h(d,b,x,"↑","\\uparrow",!0),h(d,b,x,"⇑","\\Uparrow",!0),h(d,b,x,"↓","\\downarrow",!0),h(d,b,x,"⇓","\\Downarrow",!0),h(d,b,x,"↕","\\updownarrow",!0),h(d,b,x,"⇕","\\Updownarrow",!0),h(d,b,Te,"∐","\\coprod"),h(d,b,Te,"⋁","\\bigvee"),h(d,b,Te,"⋀","\\bigwedge"),h(d,b,Te,"⨄","\\biguplus"),h(d,b,Te,"⋂","\\bigcap"),h(d,b,Te,"⋃","\\bigcup"),h(d,b,Te,"∫","\\int"),h(d,b,Te,"∫","\\intop"),h(d,b,Te,"∬","\\iint"),h(d,b,Te,"∭","\\iiint"),h(d,b,Te,"∏","\\prod"),h(d,b,Te,"∑","\\sum"),h(d,b,Te,"⨂","\\bigotimes"),h(d,b,Te,"⨁","\\bigoplus"),h(d,b,Te,"⨀","\\bigodot"),h(d,b,Te,"∮","\\oint"),h(d,b,Te,"∯","\\oiint"),h(d,b,Te,"∰","\\oiiint"),h(d,b,Te,"⨆","\\bigsqcup"),h(d,b,Te,"∫","\\smallint"),h(R,b,Gn,"…","\\textellipsis"),h(d,b,Gn,"…","\\mathellipsis"),h(R,b,Gn,"…","\\ldots",!0),h(d,b,Gn,"…","\\ldots",!0),h(d,b,Gn,"⋯","\\@cdots",!0),h(d,b,Gn,"⋱","\\ddots",!0),h(d,b,A,"⋮","\\varvdots"),h(R,b,A,"⋮","\\varvdots"),h(d,b,xe,"ˊ","\\acute"),h(d,b,xe,"ˋ","\\grave"),h(d,b,xe,"¨","\\ddot"),h(d,b,xe,"~","\\tilde"),h(d,b,xe,"ˉ","\\bar"),h(d,b,xe,"˘","\\breve"),h(d,b,xe,"ˇ","\\check"),h(d,b,xe,"^","\\hat"),h(d,b,xe,"⃗","\\vec"),h(d,b,xe,"˙","\\dot"),h(d,b,xe,"˚","\\mathring"),h(d,b,Q,"","\\@imath"),h(d,b,Q,"","\\@jmath"),h(d,b,A,"ı","ı"),h(d,b,A,"ȷ","ȷ"),h(R,b,A,"ı","\\i",!0),h(R,b,A,"ȷ","\\j",!0),h(R,b,A,"ß","\\ss",!0),h(R,b,A,"æ","\\ae",!0),h(R,b,A,"œ","\\oe",!0),h(R,b,A,"ø","\\o",!0),h(R,b,A,"Æ","\\AE",!0),h(R,b,A,"Œ","\\OE",!0),h(R,b,A,"Ø","\\O",!0),h(R,b,xe,"ˊ","\\'"),h(R,b,xe,"ˋ","\\`"),h(R,b,xe,"ˆ","\\^"),h(R,b,xe,"˜","\\~"),h(R,b,xe,"ˉ","\\="),h(R,b,xe,"˘","\\u"),h(R,b,xe,"˙","\\."),h(R,b,xe,"¸","\\c"),h(R,b,xe,"˚","\\r"),h(R,b,xe,"ˇ","\\v"),h(R,b,xe,"¨",'\\"'),h(R,b,xe,"˝","\\H"),h(R,b,xe,"◯","\\textcircled");var Ec={"--":!0,"---":!0,"``":!0,"''":!0};h(R,b,A,"–","--",!0),h(R,b,A,"–","\\textendash"),h(R,b,A,"—","---",!0),h(R,b,A,"—","\\textemdash"),h(R,b,A,"‘","`",!0),h(R,b,A,"‘","\\textquoteleft"),h(R,b,A,"’","'",!0),h(R,b,A,"’","\\textquoteright"),h(R,b,A,"“","``",!0),h(R,b,A,"“","\\textquotedblleft"),h(R,b,A,"”","''",!0),h(R,b,A,"”","\\textquotedblright"),h(d,b,A,"°","\\degree",!0),h(R,b,A,"°","\\degree"),h(R,b,A,"°","\\textdegree",!0),h(d,b,A,"£","\\pounds"),h(d,b,A,"£","\\mathsterling",!0),h(R,b,A,"£","\\pounds"),h(R,b,A,"£","\\textsterling",!0),h(d,w,A,"✠","\\maltese"),h(R,w,A,"✠","\\maltese");for(var Nc='0123456789/@."',Qs=0;Qs<Nc.length;Qs++){var Bc=Nc.charAt(Qs);h(d,b,A,Bc,Bc)}for(var Rc='0123456789!@*()-=+";:?/.,',Js=0;Js<Rc.length;Js++){var Pc=Rc.charAt(Js);h(R,b,A,Pc,Pc)}for(var ga="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ei=0;ei<ga.length;ei++){var fa=ga.charAt(ei);h(d,b,Q,fa,fa),h(R,b,A,fa,fa)}h(d,w,A,"C","ℂ"),h(R,w,A,"C","ℂ"),h(d,w,A,"H","ℍ"),h(R,w,A,"H","ℍ"),h(d,w,A,"N","ℕ"),h(R,w,A,"N","ℕ"),h(d,w,A,"P","ℙ"),h(R,w,A,"P","ℙ"),h(d,w,A,"Q","ℚ"),h(R,w,A,"Q","ℚ"),h(d,w,A,"R","ℝ"),h(R,w,A,"R","ℝ"),h(d,w,A,"Z","ℤ"),h(R,w,A,"Z","ℤ"),h(d,b,Q,"h","ℎ"),h(R,b,Q,"h","ℎ");for(var ee,Ve=0;Ve<ga.length;Ve++){var $e=ga.charAt(Ve);ee=String.fromCharCode(55349,56320+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56372+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56424+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56580+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56684+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56736+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56788+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56840+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56944+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),Ve<26&&(ee=String.fromCharCode(55349,56632+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee),ee=String.fromCharCode(55349,56476+Ve),h(d,b,Q,$e,ee),h(R,b,A,$e,ee))}ee="𝕜",h(d,b,Q,"k",ee),h(R,b,A,"k",ee);for(var yn=0;yn<10;yn++){var Qt=yn.toString();ee=String.fromCharCode(55349,57294+yn),h(d,b,Q,Qt,ee),h(R,b,A,Qt,ee),ee=String.fromCharCode(55349,57314+yn),h(d,b,Q,Qt,ee),h(R,b,A,Qt,ee),ee=String.fromCharCode(55349,57324+yn),h(d,b,Q,Qt,ee),h(R,b,A,Qt,ee),ee=String.fromCharCode(55349,57334+yn),h(d,b,Q,Qt,ee),h(R,b,A,Qt,ee)}for(var ti="ÐÞþ",ni=0;ni<ti.length;ni++){var ba=ti.charAt(ni);h(d,b,Q,ba,ba),h(R,b,A,ba,ba)}var ri={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},Lc={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},Oc={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},w5={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},vn={mathClass:"",textClass:"",font:""},Fc={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},qc={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},jc={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},ai={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},si={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},Dc={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},ii={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},Hc=[ri,ri,Lc,Lc,Oc,Oc,w5,vn,vn,vn,Fc,Fc,qc,qc,jc,jc,ai,ai,si,si,Dc,Dc,vn,vn,ii,ii],x5=[ri,vn,ai,si,ii],k5=o(e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),r=(t-55296)*1024+(n-56320)+65536;if(119808<=r&&r<120484){var a=Math.floor((r-119808)/26);return Hc[a]}else if(120782<=r&&r<=120831){var s=Math.floor((r-120782)/10);return x5[s]}else{if(r===120485||r===120486)return Hc[0];if(120486<r&&r<120782)return vn;throw new j("Unsupported character: "+e)}},"l2"),ya=o(function(e,t,n){if(we[n][e]){var r=we[n][e].replace;r&&(e=r)}return{value:e,metrics:Zs(e,t,n)}},"Aa"),Xe=o(function(e,t,n,r,a){var s=ya(e,t,n),i=s.metrics;e=s.value;var l;if(i){var c=i.italic;(n==="text"||r&&r.font==="mathit")&&(c=0),l=new rt(e,i.height,i.depth,c,i.skew,i.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+n+"'")),l=new rt(e,0,0,0,0,0,a);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");var u=r.getColor();u&&(l.style.color=u)}return l},"He"),oi=o(function(e,t,n,r){return r===void 0&&(r=[]),n.font==="boldsymbol"&&ya(e,"Main-Bold",t).metrics?Xe(e,"Main-Bold",t,n,r.concat(["mathbf"])):e==="\\"||we[t][e].font==="main"?Xe(e,"Main-Regular",t,n,r):Xe(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},"Es"),_5=o(function(e,t,n){return n!=="textord"&&ya(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},"u2"),va=o(function(e,t,n){var r=e.mode,a=e.text,s=["mord"],{font:i,fontFamily:l,fontWeight:c,fontShape:u}=t,m=r==="math"||r==="text"&&!!i,p=m?i:l,f="",g="";if(a.charCodeAt(0)===55349){var y=k5(a);f=y.font,g=y[r+"Class"]}if(f)return Xe(a,f,r,t,s.concat(g));if(p){var $,T;if(p==="boldsymbol"){var k=_5(a,r,n);$=k.fontName,T=[k.fontClass]}else m?($=ci[i].fontName,T=[i]):($=wa(l,c,u),T=[l,c,u]);if(ya(a,$,r).metrics)return Xe(a,$,r,t,s.concat(T));if(Ec.hasOwnProperty(a)&&$.slice(0,10)==="Typewriter"){for(var _=[],M=0;M<a.length;M++)_.push(Xe(a[M],$,r,t,s.concat(T)));return Ft(_)}}if(n==="mathord")return Xe(a,"Math-Italic",r,t,s.concat(["mathnormal"]));if(n==="textord"){var E=we[r][a]&&we[r][a].font;if(E==="ams"){var P=wa("amsrm",c,u);return Xe(a,P,r,t,s.concat("amsrm",c,u))}else if(E==="main"||!E){var I=wa("textrm",c,u);return Xe(a,I,r,t,s.concat(c,u))}else{var L=wa(E,c,u);return Xe(a,L,r,t,s.concat(L,c,u))}}else throw new Error("unexpected type: "+n+" in makeOrd")},"Ta"),$5=o((e,t)=>{if(Zt(e.classes)!==Zt(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},"c2"),Gc=o(e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof rt&&r instanceof rt&&$5(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},"bu"),li=o(function(e){for(var t=0,n=0,r=0,a=0;a<e.children.length;a++){var s=e.children[a];s.height>t&&(t=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>r&&(r=s.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},"Ms"),O=o(function(e,t,n,r){var a=new Hn(e,t,n,r);return li(a),a},"D"),Jt=o((e,t,n,r)=>new Hn(e,t,n,r),"nn"),Un=o(function(e,t,n){var r=O([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=H(r.height),r.maxFontSize=1,r},"Pn"),S5=o(function(e,t,n,r){var a=new ma(e,t,n,r);return li(a),a},"m2"),Ft=o(function(e){var t=new Dn(e);return li(t),t},"Gt"),Wn=o(function(e,t){return e instanceof Dn?O([],[e],t):e},"On"),C5=o(function(e){if(e.positionType==="individualShift"){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,a=r,s=1;s<t.length;s++){var i=-t[s].shift-a-t[s].elem.depth,l=i-(t[s-1].elem.height+t[s-1].elem.depth);a=a+i,n.push({type:"kern",size:l}),n.push(t[s])}return{children:n,depth:r}}var c;if(e.positionType==="top"){for(var u=e.positionData,m=0;m<e.children.length;m++){var p=e.children[m];u-=p.type==="kern"?p.size:p.elem.height+p.elem.depth}c=u}else if(e.positionType==="bottom")c=-e.positionData;else{var f=e.children[0];if(f.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")c=-f.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")c=-f.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:c}},"h2"),ce=o(function(e,t){for(var{children:n,depth:r}=C5(e),a=0,s=0;s<n.length;s++){var i=n[s];if(i.type==="elem"){var l=i.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var c=O(["pstrut"],[]);c.style.height=H(a);for(var u=[],m=r,p=r,f=r,g=0;g<n.length;g++){var y=n[g];if(y.type==="kern")f+=y.size;else{var $=y.elem,T=y.wrapperClasses||[],k=y.wrapperStyle||{},_=O(T,[c,$],void 0,k);_.style.top=H(-a-f-$.depth),y.marginLeft&&(_.style.marginLeft=y.marginLeft),y.marginRight&&(_.style.marginRight=y.marginRight),u.push(_),f+=$.height+$.depth}m=Math.min(m,f),p=Math.max(p,f)}var M=O(["vlist"],u);M.style.height=H(p);var E;if(m<0){var P=O([],[]),I=O(["vlist"],[P]);I.style.height=H(-m);var L=O(["vlist-s"],[new rt("​")]);E=[O(["vlist-r"],[M,L]),O(["vlist-r"],[I])]}else E=[O(["vlist-r"],[M])];var U=O(["vlist-t"],E);return E.length===2&&U.classes.push("vlist-t2"),U.height=p,U.depth=-m,U},"ce"),Uc=o((e,t)=>{var n=O(["mspace"],[],t),r=ke(e,t);return n.style.marginRight=H(r),n},"yu"),wa=o((e,t,n)=>{var r,a;switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return t==="textbf"&&n==="textit"?a="BoldItalic":t==="textbf"?a="Bold":n==="textit"?a="Italic":a="Regular",r+"-"+a},"Lr"),ci={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Wc={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Vc=o(function(e,t){var[n,r,a]=Wc[e],s=new Kt(n),i=new Lt([s],{width:H(r),height:H(a),style:"width:"+H(r),viewBox:"0 0 "+1e3*r+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=Jt(["overlay"],[i],t);return l.height=a,l.style.height=H(a),l.style.width=H(r),l},"wu"),_e={number:3,unit:"mu"},wn={number:4,unit:"mu"},qt={number:5,unit:"mu"},A5={mord:{mop:_e,mbin:wn,mrel:qt,minner:_e},mop:{mord:_e,mop:_e,mrel:qt,minner:_e},mbin:{mord:wn,mop:wn,mopen:wn,minner:wn},mrel:{mord:qt,mop:qt,mopen:qt,minner:qt},mopen:{},mclose:{mop:_e,mbin:wn,mrel:qt,minner:_e},mpunct:{mord:_e,mop:_e,mrel:qt,mopen:_e,mclose:_e,mpunct:_e,minner:_e},minner:{mord:_e,mop:_e,mbin:wn,mrel:qt,mopen:_e,mpunct:_e,minner:_e}},T5={mord:{mop:_e},mop:{mord:_e,mop:_e},mbin:{},mrel:{},mopen:{},mclose:{mop:_e},mpunct:{},minner:{mop:_e}},Xc={},xa={},ka={};function X(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:i}=e,l={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:a},c=0;c<n.length;++c)Xc[n[c]]=l;t&&(s&&(xa[t]=s),i&&(ka[t]=i))}o(X,"W");function xn(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;X({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}o(xn,"Sn");var _a=o(function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},"pa"),Ie=o(function(e){return e.type==="ordgroup"?e.body:[e]},"Se"),I5=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),M5=new Set(["rightmost","mrel","mclose","mpunct"]),z5={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT},E5={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Be=o(function(e,t,n,r){r===void 0&&(r=[null,null]);for(var a=[],s=0;s<e.length;s++){var i=ue(e[s],t);if(i instanceof Dn){var l=i.children;a.push(...l)}else a.push(i)}if(Gc(a),!n)return a;var c=t;if(e.length===1){var u=e[0];u.type==="sizing"?c=t.havingSize(u.size):u.type==="styling"&&(c=t.havingStyle(z5[u.style]))}var m=O([r[0]||"leftmost"],[],t),p=O([r[1]||"rightmost"],[],t),f=n==="root";return ui(a,(g,y)=>{var $=y.classes[0],T=g.classes[0];$==="mbin"&&M5.has(T)?y.classes[0]="mord":T==="mbin"&&I5.has($)&&(g.classes[0]="mord")},{node:m},p,f),ui(a,(g,y)=>{var $,T,k=hi(y),_=hi(g),M=k&&_?g.hasClass("mtight")?($=T5[k])==null?void 0:$[_]:(T=A5[k])==null?void 0:T[_]:null;if(M)return Uc(M,c)},{node:m},p,f),a},"ze"),ui=o(function(e,t,n,r,a){r&&e.push(r);for(var s=0;s<e.length;s++){var i=e[s],l=Yc(i);if(l){ui(l.children,t,n,null,a);continue}var c=!i.hasClass("mspace");if(c){var u=t(i,n.node);u&&(n.insertAfter?n.insertAfter(u):(e.unshift(u),s++))}c?n.node=i:a&&i.hasClass("newline")&&(n.node=O(["leftmost"])),n.insertAfter=(m=>p=>{e.splice(m+1,0,p),s++})(s)}r&&e.pop()},"ts"),Yc=o(function(e){return e instanceof Dn||e instanceof ma||e instanceof Hn&&e.hasClass("enclosing")?e:null},"ku"),pi=o(function(e,t){var n=Yc(e);if(n){var r=n.children;if(r.length){if(t==="right")return pi(r[r.length-1],"right");if(t==="left")return pi(r[0],"left")}}return e},"ns"),hi=o(function(e,t){if(!e)return null;t&&(e=pi(e,t));var n=e.classes[0];return E5[n]||null},"rs"),yr=o(function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return O(t.concat(n))},"hr"),ue=o(function(e,t,n){if(!e)return O();if(xa[e.type]){var r=xa[e.type](e,t);if(n&&t.size!==n.size){r=O(t.sizingClasses(n),[r],t);var a=t.sizeMultiplier/n.sizeMultiplier;r.height*=a,r.depth*=a}return r}else throw new j("Got group of unknown type: '"+e.type+"'")},"me");function $a(e,t){var n=O(["base"],e,t),r=O(["strut"]);return r.style.height=H(n.height+n.depth),n.depth&&(r.style.verticalAlign=H(-n.depth)),n.children.unshift(r),n}o($a,"Fr");function mi(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Be(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var s=[],i=[],l=0;l<r.length;l++)if(i.push(r[l]),r[l].hasClass("mbin")||r[l].hasClass("mrel")||r[l].hasClass("allowbreak")){for(var c=!1;l<r.length-1&&r[l+1].hasClass("mspace")&&!r[l+1].hasClass("newline");)l++,i.push(r[l]),r[l].hasClass("nobreak")&&(c=!0);c||(s.push($a(i,t)),i=[])}else r[l].hasClass("newline")&&(i.pop(),i.length>0&&(s.push($a(i,t)),i=[]),s.push(r[l]));i.length>0&&s.push($a(i,t));var u;n?(u=$a(Be(n,t,!0),t),u.classes=["tag"],s.push(u)):a&&s.push(a);var m=O(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),u){var p=u.children[0];p.style.height=H(m.height+m.depth),m.depth&&(p.style.verticalAlign=H(-m.depth))}return m}o(mi,"as");function Zc(e){return new Dn(e)}o(Zc,"_u");class q{static{o(this,"O")}constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=Zt(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof Me&&this.children[r+1]instanceof Me){for(var a=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof Me;)a+=this.children[++r].toText();t.appendChild(new Me(a).toNode())}else t.appendChild(this.children[r].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=qe(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+qe(Zt(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Me{static{o(this,"Ae")}constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return qe(this.toText())}toText(){return this.text}}class Kc{static{o(this,"$u")}constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",H(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+H(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var N5=new Set(["\\imath","\\jmath"]),B5=new Set(["mrow","mtable"]),pt=o(function(e,t,n){return we[t][e]&&we[t][e].replace&&e.charCodeAt(0)!==55349&&!(Ec.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=we[t][e].replace),new Me(e)},"pt"),di=o(function(e){return e.length===1?e[0]:new q("mrow",e)},"Is"),R5={mathit:"italic",boldsymbol:o(e=>e.type==="textord"?"bold":"bold-italic","boldsymbol"),mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},gi=o((e,t)=>{if(e.mode==="text"){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold"}var n=t.font;if(!n||n==="mathnormal")return null;var r=e.mode,a=R5[n];if(a)return typeof a=="function"?a(e):a;var s=e.text;if(N5.has(s))return null;if(we[r][s]){var i=we[r][s].replace;i&&(s=i)}var l=ci[n].fontName;return Zs(s,l,r)?ci[n].variant:null},"zs");function fi(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Me&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof Me&&n.text===","}else return!1}o(fi,"hi");var st=o(function(e,t,n){if(e.length===1){var r=fe(e[0],t);return n&&r instanceof q&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var a=[],s,i=0;i<e.length;i++){var l=fe(e[i],t);if(l instanceof q&&s instanceof q){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(fi(l)&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mn"&&fi(s))l.children=[...s.children,...l.children],a.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(s.type==="mn"||fi(s))){var c=l.children[0];c instanceof q&&c.type==="mn"&&(c.children=[...s.children,...c.children],a.pop())}else if(s.type==="mi"&&s.children.length===1){var u=s.children[0];if(u instanceof Me&&u.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var m=l.children[0];m instanceof Me&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),a.pop())}}}a.push(l),s=l}return a},"it"),en=o(function(e,t,n){return di(st(e,t,n))},"rn"),fe=o(function(e,t){if(!e)return new q("mrow");if(ka[e.type])return ka[e.type](e,t);throw new j("Got group of unknown type: '"+e.type+"'")},"ge");function Qc(e,t,n,r,a){var s=st(e,n),i;s.length===1&&s[0]instanceof q&&B5.has(s[0].type)?i=s[0]:i=new q("mrow",s);var l=new q("annotation",[new Me(t)]);l.setAttribute("encoding","application/x-tex");var c=new q("semantics",[i,l]),u=new q("math",[c]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&u.setAttribute("display","block");var m=a?"katex":"katex-mathml";return O([m],[u])}o(Qc,"ul");var P5=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Jc=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],eu=o(function(e,t){return t.size<2?e:P5[e-1][t.size-1]},"ml");class jt{static{o(this,"Nt")}constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||jt.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Jc[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(n,t),new jt(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:eu(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Jc[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=eu(jt.BASESIZE,t);return this.size===n&&this.textSize===jt.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==jt.BASESIZE?["sizing","reset-size"+this.size,"size"+jt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=v5(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}jt.BASESIZE=6;var tu=o(function(e){return new jt({style:e.displayMode?ne.DISPLAY:ne.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},"Cu"),nu=o(function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=O(n,[e])}return e},"Su"),L5=o(function(e,t,n){var r=tu(n),a;if(n.output==="mathml")return Qc(e,t,r,n.displayMode,!0);if(n.output==="html"){var s=mi(e,r);a=O(["katex"],[s])}else{var i=Qc(e,t,r,n.displayMode,!1),l=mi(e,r);a=O(["katex"],[i,l])}return nu(a,n)},"_2"),O5=o(function(e,t,n){var r=tu(n),a=mi(e,r),s=O(["katex"],[a]);return nu(s,n)},"$2"),F5={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Sa=o(function(e){var t=new q("mo",[new Me(F5[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},"Ea"),q5={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},j5=new Set(["widehat","widecheck","widetilde","utilde"]),Ca=o(function(e,t){function n(){var i=4e5,l=e.label.slice(1);if(j5.has(l)&&"base"in e){var c=e.base.type==="ordgroup"?e.base.body.length:1,u,m,p;if(c>5)l==="widehat"||l==="widecheck"?(u=420,i=2364,p=.42,m=l+"4"):(u=312,i=2340,p=.34,m="tilde4");else{var f=[1,1,2,2,3,3][c];l==="widehat"||l==="widecheck"?(i=[0,1062,2364,2364,2364][f],u=[0,239,300,360,420][f],p=[0,.24,.3,.3,.36,.42][f],m=l+f):(i=[0,600,1033,2339,2340][f],u=[0,260,286,306,312][f],p=[0,.26,.286,.3,.306,.34][f],m="tilde"+f)}var g=new Kt(m),y=new Lt([g],{width:"100%",height:H(p),viewBox:"0 0 "+i+" "+u,preserveAspectRatio:"none"});return{span:Jt([],[y],t),minWidth:0,height:p}}else{var $=[],T=q5[l];if(!T)throw new Error('No SVG data for "'+l+'".');var[k,_,M]=T,E=M/1e3,P=k.length,I,L;if(P===1){if(T.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+l+'".');I=["hide-tail"],L=[T[3]]}else if(P===2)I=["halfarrow-left","halfarrow-right"],L=["xMinYMin","xMaxYMin"];else if(P===3)I=["brace-left","brace-center","brace-right"],L=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
405
+ `+P+" children.");for(var U=0;U<P;U++){var V=new Kt(k[U]),z=new Lt([V],{width:"400em",height:H(E),viewBox:"0 0 "+i+" "+M,preserveAspectRatio:L[U]+" slice"}),G=Jt([I[U]],[z],t);if(P===1)return{span:G,minWidth:_,height:E};G.style.height=H(E),$.push(G)}return{span:O(["stretchy"],$,t),minWidth:_,height:E}}}o(n,"r");var{span:r,minWidth:a,height:s}=n();return r.height=s,r.style.height=H(s),a>0&&(r.style.minWidth=H(a)),r},"Ma"),D5=o(function(e,t,n,r,a){var s,i=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(s=O(["stretchy",t],[],a),t==="fbox"){var l=a.color&&a.getColor();l&&(s.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new Ys({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new Ys({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new Lt(c,{width:"100%",height:H(i)});s=Jt([],[u],a)}return s.height=i,s.style.height=H(i),s},"T2"),H5={bin:1,close:1,inner:1,open:1,punct:1,rel:1},G5={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function U5(e){return e in H5}o(U5,"I2");function se(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}o(se,"re");function Aa(e){var t=Ta(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}o(Aa,"Ia");function Ta(e){return e&&(e.type==="atom"||G5.hasOwnProperty(e.type))?e:null}o(Ta,"za");var ru=o(e=>{if(e instanceof rt)return e;if(b5(e)&&e.children.length===1)return ru(e.children[0])},"Au"),bi=o((e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=se(e.base,"accent"),n=r.base,e.base=n,a=f5(ue(e,t)),e.base=r):(r=se(e,"accent"),n=r.base);var s=ue(n,t.havingCrampedStyle()),i=r.isShifty&&Rt(n),l=0;if(i){var c,u;l=(c=(u=ru(s))==null?void 0:u.skew)!=null?c:0}var m=r.label==="\\c",p=m?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),f;if(r.isStretchy)f=Ca(r,t),f=ce({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+H(2*l)+")",marginLeft:H(2*l)}:void 0}]});else{var g,y;r.label==="\\vec"?(g=Vc("vec",t),y=Wc.vec[1]):(g=va({mode:r.mode,text:r.label},t,"textord"),g=g5(g),g.italic=0,y=g.width,m&&(p+=g.depth)),f=O(["accent-body"],[g]);var $=r.label==="\\textcircled";$&&(f.classes.push("accent-full"),p=s.height);var T=l;$||(T-=y/2),f.style.left=H(T),r.label==="\\textcircled"&&(f.style.top=".2em"),f=ce({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-p},{type:"elem",elem:f}]})}var k=O(["mord","accent"],[f],t);return a?(a.children[0]=k,a.height=Math.max(k.height,a.height),a.classes[0]="mord",a):k},"Rs"),au=o((e,t)=>{var n=e.isStretchy?Sa(e.label):new q("mo",[pt(e.label,e.mode)]),r=new q("mover",[fe(e.base,t),n]);return r.setAttribute("accent","true"),r},"Tu"),W5=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));X({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:o((e,t)=>{var n=_a(t[0]),r=!W5.test(e.funcName),a=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:a,base:n}},"handler"),htmlBuilder:bi,mathmlBuilder:au}),X({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:o((e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},"handler"),htmlBuilder:bi,mathmlBuilder:au}),X({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:a}},"handler"),htmlBuilder:o((e,t)=>{var n=ue(e.base,t),r=Ca(e,t),a=e.label==="\\utilde"?.12:0,s=ce({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]});return O(["mord","accentunder"],[s],t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=Sa(e.label),r=new q("munder",[fe(e.base,t),n]);return r.setAttribute("accentunder","true"),r},"mathmlBuilder")});var Ia=o(e=>{var t=new q("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t},"Pr");X({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:a}=e;return{type:"xArrow",mode:r.mode,label:a,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),a=Wn(ue(e.body,r,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var i;e.below&&(r=t.havingStyle(n.sub()),i=Wn(ue(e.below,r,t),t),i.classes.push(s+"-arrow-pad"));var l=Ca(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(u-=a.depth);var m;if(i){var p=-t.fontMetrics().axisHeight+i.height+.5*l.height+.111;m=ce({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:l,shift:c,wrapperClasses:["svg-align"]},{type:"elem",elem:i,shift:p}]})}else m=ce({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:l,shift:c,wrapperClasses:["svg-align"]}]});return O(["mrel","x-arrow"],[m],t)},mathmlBuilder(e,t){var n=Sa(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=Ia(fe(e.body,t));if(e.below){var s=Ia(fe(e.below,t));r=new q("munderover",[n,s,a])}else r=new q("mover",[n,a])}else if(e.below){var i=Ia(fe(e.below,t));r=new q("munder",[n,i])}else r=Ia(),r=new q("mover",[n,r]);return r}});function su(e,t){var n=Be(e.body,t,!0);return O([e.mclass],n,t)}o(su,"Eu");function iu(e,t){var n,r=st(e.body,t);return e.mclass==="minner"?n=new q("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new q("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new q("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}o(iu,"Mu"),X({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Ie(a),isCharacterBox:Rt(a)}},htmlBuilder:su,mathmlBuilder:iu});var Ma=o(e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"},"Ra");X({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Ma(t[0]),body:Ie(t[1]),isCharacterBox:Rt(t[1])}}}),X({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,a=t[1],s=t[0],i;r!=="\\stackrel"?i=Ma(a):i="mrel";var l={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Ie(a)},c={type:"supsub",mode:s.mode,base:l,sup:r==="\\underset"?null:s,sub:r==="\\underset"?s:null};return{type:"mclass",mode:n.mode,mclass:i,body:[c],isCharacterBox:Rt(c)}},htmlBuilder:su,mathmlBuilder:iu}),X({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Ma(t[0]),body:Ie(t[0])}},htmlBuilder(e,t){var n=Be(e.body,t,!0),r=O([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=st(e.body,t),r=new q("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var V5={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ou=o(()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),"hl"),lu=o(e=>e.type==="textord"&&e.text==="@","pl"),X5=o((e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t,"N2");function Y5(e,t,n){var r=V5[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=n.callFunction("\\\\cdleft",[t[0]],[]),s={type:"atom",text:r,mode:"math",family:"rel"},i=n.callFunction("\\Big",[s],[]),l=n.callFunction("\\\\cdright",[t[1]],[]),c={type:"ordgroup",mode:"math",body:[a,i,l]};return n.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}o(Y5,"B2");function Z5(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new j("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],s=0;s<t.length;s++){for(var i=t[s],l=ou(),c=0;c<i.length;c++)if(!lu(i[c]))l.body.push(i[c]);else{r.push(l),c+=1;var u=Aa(i[c]).text,m=new Array(2);if(m[0]={type:"ordgroup",mode:"math",body:[]},m[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(u))if("<>AV".includes(u))for(var p=0;p<2;p++){for(var f=!0,g=c+1;g<i.length;g++){if(X5(i[g],u)){f=!1,c=g;break}if(lu(i[g]))throw new j("Missing a "+u+" character to complete a CD arrow.",i[g]);m[p].body.push(i[g])}if(f)throw new j("Missing a "+u+" character to complete a CD arrow.",i[c])}else throw new j('Expected one of "<>AV=|." after @',i[c]);var y=Y5(u,m,e),$={type:"styling",body:[y],mode:"math",style:"display",resetFont:!0};r.push($),l=ou()}s%2===0?r.push(l):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var T=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:T,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}o(Z5,"D2"),X({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Wn(ue(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=H(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new q("mrow",[fe(e.label,t)]);return n=new q("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new q("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),X({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=Wn(ue(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new q("mrow",[fe(e.fragment,t)])}}),X({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=se(t[0],"ordgroup"),a=r.body,s="",i=0;i<a.length;i++){var l=se(a[i],"textord");s+=l.text}var c=parseInt(s),u;if(isNaN(c))throw new j("\\@char has non-numeric argument "+s);if(c<0||c>=1114111)throw new j("\\@char with invalid code point "+s);return c<=65535?u=String.fromCharCode(c):(c-=65536,u=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:"textord",mode:n.mode,text:u}}});var cu=o((e,t)=>{var n=Be(e.body,t.withColor(e.color),!1);return Ft(n)},"Iu"),uu=o((e,t)=>{var n=st(e.body,t.withColor(e.color)),r=new q("mstyle",n);return r.setAttribute("mathcolor",e.color),r},"zu");X({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=se(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:Ie(a)}},htmlBuilder:cu,mathmlBuilder:uu}),X({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=se(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var s=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:a,body:s}},htmlBuilder:cu,mathmlBuilder:uu}),X({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,a=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:s,size:a&&se(a,"size").value}},htmlBuilder(e,t){var n=O(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=H(ke(e.size,t)))),n},mathmlBuilder(e,t){var n=new q("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",H(ke(e.size,t)))),n}});var yi={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},pu=o(e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new j("Expected a control sequence",e);return t},"Ru"),K5=o(e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},"L2"),hu=o((e,t,n,r)=>{var a=e.gullet.macros.get(n.text);a==null&&(n.noexpand=!0,a={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,a,r)},"Nu");X({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(yi[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=yi[r.text]),se(t.parseFunction(),"internal");throw new j("Invalid token after macro prefix",r)}}),X({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),a=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new j("Expected a control sequence",r);for(var s=0,i,l=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){i=t.gullet.future(),l[s].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new j('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==s+1)throw new j('Argument number "'+r.text+'" out of order');s++,l.push([])}else{if(r.text==="EOF")throw new j("Expected a macro definition");l[s].push(r.text)}var{tokens:c}=t.gullet.consumeArg();return i&&c.unshift(i),(n==="\\edef"||n==="\\xdef")&&(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(a,{tokens:c,numArgs:s,delimiters:l},n===yi[n]),{type:"internal",mode:t.mode}}}),X({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=pu(t.gullet.popToken());t.gullet.consumeSpaces();var a=K5(t);return hu(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}}),X({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=pu(t.gullet.popToken()),a=t.gullet.popToken(),s=t.gullet.popToken();return hu(t,r,s,n==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var vr=o(function(e,t,n){var r=we.math[e]&&we.math[e].replace,a=Zs(r||e,t,n);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return a},"tr"),vi=o(function(e,t,n,r){var a=n.havingBaseStyle(t),s=O(r.concat(a.sizingClasses(n)),[e],n),i=a.sizeMultiplier/n.sizeMultiplier;return s.height*=i,s.depth*=i,s.maxFontSize=a.sizeMultiplier,s},"Ns"),mu=o(function(e,t,n){var r=t.havingBaseStyle(n),a=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=H(a),e.height-=a,e.depth+=a},"Bu"),Q5=o(function(e,t,n,r,a,s){var i=Xe(e,"Main-Regular",a,r),l=vi(i,t,r,s);return mu(l,r,t),l},"F2"),J5=o(function(e,t,n,r){return Xe(e,"Size"+t+"-Regular",n,r)},"P2"),du=o(function(e,t,n,r,a,s){var i=J5(e,t,a,r),l=vi(O(["delimsizing","size"+t],[i],r),ne.TEXT,r,s);return n&&mu(l,r,ne.TEXT),l},"Du"),wi=o(function(e,t,n){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var a=O(["delimsizinginner",r],[O([],[Xe(e,t,n)])]);return{type:"elem",elem:a}},"pi"),xi=o(function(e,t,n){var r=wt["Size4-Regular"][e.charCodeAt(0)]?wt["Size4-Regular"][e.charCodeAt(0)][4]:wt["Size1-Regular"][e.charCodeAt(0)][4],a=new Kt("inner",l5(e,Math.round(1e3*t))),s=new Lt([a],{width:H(r),height:H(t),style:"width:"+H(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),i=Jt([],[s],n);return i.height=t,i.style.height=H(t),i.style.width=H(r),{type:"elem",elem:i}},"di"),ki=.008,za={type:"kern",size:-1*ki},e3=new Set(["|","\\lvert","\\rvert","\\vert"]),t3=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),gu=o(function(e,t,n,r,a,s){var i,l,c,u,m="",p=0;i=c=u=e,l=null;var f="Size1-Regular";e==="\\uparrow"?c=u="⏐":e==="\\Uparrow"?c=u="‖":e==="\\downarrow"?i=c="⏐":e==="\\Downarrow"?i=c="‖":e==="\\updownarrow"?(i="\\uparrow",c="⏐",u="\\downarrow"):e==="\\Updownarrow"?(i="\\Uparrow",c="‖",u="\\Downarrow"):e3.has(e)?(c="∣",m="vert",p=333):t3.has(e)?(c="∥",m="doublevert",p=556):e==="["||e==="\\lbrack"?(i="⎡",c="⎢",u="⎣",f="Size4-Regular",m="lbrack",p=667):e==="]"||e==="\\rbrack"?(i="⎤",c="⎥",u="⎦",f="Size4-Regular",m="rbrack",p=667):e==="\\lfloor"||e==="⌊"?(c=i="⎢",u="⎣",f="Size4-Regular",m="lfloor",p=667):e==="\\lceil"||e==="⌈"?(i="⎡",c=u="⎢",f="Size4-Regular",m="lceil",p=667):e==="\\rfloor"||e==="⌋"?(c=i="⎥",u="⎦",f="Size4-Regular",m="rfloor",p=667):e==="\\rceil"||e==="⌉"?(i="⎤",c=u="⎥",f="Size4-Regular",m="rceil",p=667):e==="("||e==="\\lparen"?(i="⎛",c="⎜",u="⎝",f="Size4-Regular",m="lparen",p=875):e===")"||e==="\\rparen"?(i="⎞",c="⎟",u="⎠",f="Size4-Regular",m="rparen",p=875):e==="\\{"||e==="\\lbrace"?(i="⎧",l="⎨",u="⎩",c="⎪",f="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(i="⎫",l="⎬",u="⎭",c="⎪",f="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(i="⎧",u="⎩",c="⎪",f="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(i="⎫",u="⎭",c="⎪",f="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(i="⎧",u="⎭",c="⎪",f="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(i="⎫",u="⎩",c="⎪",f="Size4-Regular");var g=vr(i,f,a),y=g.height+g.depth,$=vr(c,f,a),T=$.height+$.depth,k=vr(u,f,a),_=k.height+k.depth,M=0,E=1;if(l!==null){var P=vr(l,f,a);M=P.height+P.depth,E=2}var I=y+_+M,L=Math.max(0,Math.ceil((t-I)/(E*T))),U=I+L*E*T,V=r.fontMetrics().axisHeight;n&&(V*=r.sizeMultiplier);var z=U/2-V,G=[];if(m.length>0){var W=U-y-_,ae=Math.round(U*1e3),oe=c5(m,Math.round(W*1e3)),K=new Kt(m,oe),pe=H(p/1e3),he=H(ae/1e3),De=new Lt([K],{width:pe,height:he,viewBox:"0 0 "+p+" "+ae}),Re=Jt([],[De],r);Re.height=ae/1e3,Re.style.width=pe,Re.style.height=he,G.push({type:"elem",elem:Re})}else{if(G.push(wi(u,f,a)),G.push(za),l===null){var S=U-y-_+2*ki;G.push(xi(c,S,r))}else{var Le=(U-y-_-M)/2+2*ki;G.push(xi(c,Le,r)),G.push(za),G.push(wi(l,f,a)),G.push(za),G.push(xi(c,Le,r))}G.push(za),G.push(wi(i,f,a))}var Se=r.havingBaseStyle(ne.TEXT),C=ce({positionType:"bottom",positionData:z,children:G});return vi(O(["delimsizing","mult"],[C],Se),ne.TEXT,r,s)},"Lu"),_i=80,$i=.08,Si=o(function(e,t,n,r,a){var s=o5(e,r,n),i=new Kt(e,s),l=new Lt([i],{width:"400em",height:H(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Jt(["hide-tail"],[l],a)},"bi"),n3=o(function(e,t){var n=t.havingBaseSizing(),r=wu("\\surd",e*n.sizeMultiplier,vu,n),a=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),i,l,c,u,m;return r.type==="small"?(u=1e3+1e3*s+_i,e<1?a=1:e<1.4&&(a=.7),l=(1+s+$i)/a,c=(1+s)/a,i=Si("sqrtMain",l,u,s,t),i.style.minWidth="0.853em",m=.833/a):r.type==="large"?(u=(1e3+_i)*wr[r.size],c=(wr[r.size]+s)/a,l=(wr[r.size]+s+$i)/a,i=Si("sqrtSize"+r.size,l,u,s,t),i.style.minWidth="1.02em",m=1/a):(l=e+s+$i,c=e+s,u=Math.floor(1e3*e+s)+_i,i=Si("sqrtTall",l,u,s,t),i.style.minWidth="0.742em",m=1.056),i.height=c,i.style.height=H(l),{span:i,advanceWidth:m,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},"j2"),fu=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),r3=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),bu=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),wr=[0,1.2,1.8,2.4,3],yu=o(function(e,t,n,r,a){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),fu.has(e)||bu.has(e))return du(e,t,!1,n,r,a);if(r3.has(e))return gu(e,wr[t],!1,n,r,a);throw new j("Illegal delimiter: '"+e+"'")},"Ou"),a3=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],s3=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],vu=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],i3=o(function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";var t=e.type;throw new Error("Add support for delim type '"+t+"' here.")},"W2"),wu=o(function(e,t,n,r){for(var a=Math.min(2,3-r.style.size),s=a;s<n.length;s++){var i=n[s];if(i.type==="stack")break;var l=vr(e,i3(i),"math"),c=l.height+l.depth;if(i.type==="small"){var u=r.havingBaseStyle(i.style);c*=u.sizeMultiplier}if(c>t)return i}return n[n.length-1]},"ju"),Ci=o(function(e,t,n,r,a,s){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var i;bu.has(e)?i=a3:fu.has(e)?i=vu:i=s3;var l=wu(e,t,i,r);return l.type==="small"?Q5(e,l.style,n,r,a,s):l.type==="large"?du(e,l.size,n,r,a,s):gu(e,t,n,r,a,s)},"os"),Ai=o(function(e,t,n,r,a,s){var i=r.fontMetrics().axisHeight*r.sizeMultiplier,l=901,c=5/r.fontMetrics().ptPerEm,u=Math.max(t-i,n+i),m=Math.max(u/500*l,2*u-c);return Ci(e,m,!0,r,a,s)},"yi"),xu={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},o3=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function ku(e){return"isMiddle"in e}o(ku,"fl");function Ea(e,t){var n=Ta(e);if(n&&o3.has(n.text))return n;throw n?new j("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new j("Invalid delimiter type '"+e.type+"'",e)}o(Ea,"Na"),X({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:o((e,t)=>{var n=Ea(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:xu[e.funcName].size,mclass:xu[e.funcName].mclass,delim:n.text}},"handler"),htmlBuilder:o((e,t)=>e.delim==="."?O([e.mclass]):yu(e.delim,e.size,t,e.mode,[e.mclass]),"htmlBuilder"),mathmlBuilder:o(e=>{var t=[];e.delim!=="."&&t.push(pt(e.delim,e.mode));var n=new q("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=H(wr[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n},"mathmlBuilder")});function _u(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}o(_u,"gl"),X({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:o((e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new j("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Ea(t[0],e).text,color:n}},"handler")}),X({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:o((e,t)=>{var n=Ea(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var s=se(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:s.delim,rightColor:s.color}},"handler"),htmlBuilder:o((e,t)=>{_u(e);for(var n=Be(e.body,t,!0,["mopen","mclose"]),r=0,a=0,s=!1,i=0;i<n.length;i++){var l=n[i];ku(l)?s=!0:(r=Math.max(n[i].height,r),a=Math.max(n[i].depth,a))}r*=t.sizeMultiplier,a*=t.sizeMultiplier;var c;if(e.left==="."?c=yr(t,["mopen"]):c=Ai(e.left,r,a,t,e.mode,["mopen"]),n.unshift(c),s)for(var u=1;u<n.length;u++){var m=n[u];if(ku(m)){var p=m.isMiddle;n[u]=Ai(p.delim,r,a,p.options,e.mode,[])}}var f;if(e.right===".")f=yr(t,["mclose"]);else{var g=e.rightColor?t.withColor(e.rightColor):t;f=Ai(e.right,r,a,g,e.mode,["mclose"])}return n.push(f),O(["minner"],n,t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{_u(e);var n=st(e.body,t);if(e.left!=="."){var r=new q("mo",[pt(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new q("mo",[pt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return di(n)},"mathmlBuilder")}),X({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:o((e,t)=>{var n=Ea(t[0],e);if(!e.parser.leftrightDepth)throw new j("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},"handler"),htmlBuilder:o((e,t)=>{var n;return e.delim==="."?n=yr(t,[]):(n=yu(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?pt("|","text"):pt(e.delim,e.mode),r=new q("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r},"mathmlBuilder")});var Na=o((e,t)=>{var n=Wn(ue(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,s,i,l=Rt(e.body);if(r==="sout")s=O(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/a,i=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var c=ke({number:.6,unit:"pt"},t),u=ke({number:.35,unit:"ex"},t),m=t.havingBaseSizing();a=a/m.sizeMultiplier;var p=n.height+n.depth+c+u;n.style.paddingLeft=H(p/2+c);var f=Math.floor(1e3*p*a),g=s5(f),y=new Lt([new Kt("phase",g)],{width:"400em",height:H(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});s=Jt(["hide-tail"],[y],t),s.style.height=H(p),i=n.depth+c+u}else{/cancel/.test(r)?l||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var $,T,k=0;/box/.test(r)?(k=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),$=t.fontMetrics().fboxsep+(r==="colorbox"?0:k),T=$):r==="angl"?(k=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),$=4*k,T=Math.max(0,.25-n.depth)):($=l?.2:0,T=$),s=D5(n,r,$,T,t),/fbox|boxed|fcolorbox/.test(r)?(s.style.borderStyle="solid",s.style.borderWidth=H(k)):r==="angl"&&k!==.049&&(s.style.borderTopWidth=H(k),s.style.borderRightWidth=H(k)),i=n.depth+T,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var _;if(e.backgroundColor)_=ce({positionType:"individualShift",children:[{type:"elem",elem:s,shift:i},{type:"elem",elem:n,shift:0}]});else{var M=/cancel|phase/.test(r)?["svg-align"]:[];_=ce({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:i,wrapperClasses:M}]})}return/cancel/.test(r)&&(_.height=n.height,_.depth=n.depth),/cancel/.test(r)&&!l?O(["mord","cancel-lap"],[_],t):O(["mord"],[_],t)},"Ba"),Ba=o((e,t)=>{var n,r=new q(e.label.includes("colorbox")?"mpadded":"menclose",[fe(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+H(a)+" solid "+e.borderColor)}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r},"Da");X({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=se(t[0],"color-token").color,i=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:s,body:i}},htmlBuilder:Na,mathmlBuilder:Ba}),X({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=se(t[0],"color-token").color,i=se(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:i,borderColor:s,body:l}},htmlBuilder:Na,mathmlBuilder:Ba}),X({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),X({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:Na,mathmlBuilder:Ba}),X({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e;n.mode==="math"&&n.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:Na,mathmlBuilder:Ba}),X({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var $u={};function xt(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:i}=e,l={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},c=0;c<n.length;++c)$u[n[c]]=l;s&&(xa[t]=s),i&&(ka[t]=i)}o(xt,"Ct");var Su={};function v(e,t){Su[e]=t}o(v,"y");class Je{static{o(this,"Ye")}constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Je(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class it{static{o(this,"nt")}constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new it(n,Je.range(this,t))}}function Cu(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n==="\\relax"&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n==="\\hline"||n==="\\hdashline";)e.consume(),t.push(n==="\\hdashline"),e.consumeSpaces(),n=e.fetch().text;return t}o(Cu,"bl");var Ra=o(e=>{var t=e.parser.settings;if(!t.displayMode)throw new j("{"+e.envName+"} can be used only in display mode.")},"La"),l3=new Set(["gather","gather*"]);function Ti(e){if(!e.includes("ed"))return!e.includes("*")}o(Ti,"Bs");function tn(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:s,arraystretch:i,colSeparationType:l,autoTag:c,singleRow:u,emptySingleRow:m,maxNumCols:p,leqno:f}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var g=e.gullet.expandMacroAsText("\\arraystretch");if(g==null)i=1;else if(i=parseFloat(g),!i||i<0)throw new j("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var y=[],$=[y],T=[],k=[],_=c!=null?[]:void 0;function M(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}o(M,"T");function E(){_&&(e.gullet.macros.get("\\df@tag")?(_.push(e.subparse([new it("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):_.push(!!c&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(o(E,"I"),M(),k.push(Cu(e));;){var P=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var I={type:"ordgroup",mode:e.mode,body:P};n&&(I={type:"styling",mode:e.mode,style:n,resetFont:!0,body:[I]}),y.push(I);var L=e.fetch().text;if(L==="&"){if(p&&y.length===p){if(u||l)throw new j("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(L==="\\end"){E(),y.length===1&&I.type==="styling"&&I.body.length===1&&I.body[0].type==="ordgroup"&&I.body[0].body.length===0&&($.length>1||!m)&&$.pop(),k.length<$.length+1&&k.push([]);break}else if(L==="\\\\"){e.consume();var U=void 0;e.gullet.future().text!==" "&&(U=e.parseSizeGroup(!0)),T.push(U?U.value:null),E(),k.push(Cu(e)),y=[],$.push(y),M()}else throw new j("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:i,body:$,cols:s,rowGaps:T,hskipBeforeAndAfter:r,hLinesBeforeRow:k,colSeparationType:l,tags:_,leqno:f}}o(tn,"sn");function Ii(e){return e.slice(0,1)==="d"?"display":"text"}o(Ii,"Ds");var kt=o(function(e,t){var n,r,a=e.body.length,s=e.hLinesBeforeRow,i=0,l=new Array(a),c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),m=1/t.fontMetrics().ptPerEm,p=5*m;if(e.colSeparationType&&e.colSeparationType==="small"){var f=t.havingStyle(ne.SCRIPT).sizeMultiplier;p=.2778*(f/t.sizeMultiplier)}var g=e.colSeparationType==="CD"?ke({number:3,unit:"ex"},t):12*m,y=3*m,$=e.arraystretch*g,T=.7*$,k=.3*$,_=0;function M(D){for(var J=0;J<D.length;++J)J>0&&(_+=.25),c.push({pos:_,isDashed:D[J]})}for(o(M,"I"),M(s[0]),n=0;n<e.body.length;++n){var E=e.body[n],P=T,I=k;i<E.length&&(i=E.length);var L={cells:new Array(E.length),height:0,depth:0,pos:0};for(r=0;r<E.length;++r){var U=ue(E[r],t);I<U.depth&&(I=U.depth),P<U.height&&(P=U.height),L.cells[r]=U}var V=e.rowGaps[n],z=0;V&&(z=ke(V,t),z>0&&(z+=k,I<z&&(I=z),z=0)),e.addJot&&n<e.body.length-1&&(I+=y),L.height=P,L.depth=I,_+=P,L.pos=_,_+=I+z,l[n]=L,M(s[n+1])}var G=_/2+t.fontMetrics().axisHeight,W=e.cols||[],ae=[],oe,K,pe=[];if(e.tags&&e.tags.some(D=>D))for(n=0;n<a;++n){var he=l[n],De=he.pos-G,Re=e.tags[n],S=void 0;Re===!0?S=O(["eqn-num"],[],t):Re===!1?S=O([],[],t):S=O([],Be(Re,t,!0),t),S.depth=he.depth,S.height=he.height,pe.push({type:"elem",elem:S,shift:De})}for(r=0,K=0;r<i||K<W.length;++r,++K){for(var Le,Se=W[K],C=!0;((Ye=Se)==null?void 0:Ye.type)==="separator";){var Ye;if(C||(oe=O(["arraycolsep"],[]),oe.style.width=H(t.fontMetrics().doubleRuleSep),ae.push(oe)),Se.separator==="|"||Se.separator===":"){var St=Se.separator==="|"?"solid":"dashed",ye=O(["vertical-separator"],[],t);ye.style.height=H(_),ye.style.borderRightWidth=H(u),ye.style.borderRightStyle=St,ye.style.margin="0 "+H(-u/2);var Dt=_-G;Dt&&(ye.style.verticalAlign=H(-Dt)),ae.push(ye)}else throw new j("Invalid separator type: "+Se.separator);K++,Se=W[K],C=!1}if(!(r>=i)){var He=void 0;if(r>0||e.hskipBeforeAndAfter){var Ct,At;He=(Ct=(At=Se)==null?void 0:At.pregap)!=null?Ct:p,He!==0&&(oe=O(["arraycolsep"],[]),oe.style.width=H(He),ae.push(oe))}var rn=[];for(n=0;n<a;++n){var kn=l[n],_n=kn.cells[r];if(_n){var Fa=kn.pos-G;_n.depth=kn.depth,_n.height=kn.height,rn.push({type:"elem",elem:_n,shift:Fa})}}var kr=ce({positionType:"individualShift",children:rn}),_r=O(["col-align-"+(((Le=Se)==null?void 0:Le.align)||"c")],[kr]);if(ae.push(_r),r<i-1||e.hskipBeforeAndAfter){var Xn,$r;He=(Xn=($r=Se)==null?void 0:$r.postgap)!=null?Xn:p,He!==0&&(oe=O(["arraycolsep"],[]),oe.style.width=H(He),ae.push(oe))}}}var an=O(["mtable"],ae);if(c.length>0){for(var Sr=Un("hline",t,u),qa=Un("hdashline",t,u),Yn=[{type:"elem",elem:an,shift:0}];c.length>0;){var Cr=c.pop(),Ar=Cr.pos-G;Cr.isDashed?Yn.push({type:"elem",elem:qa,shift:Ar}):Yn.push({type:"elem",elem:Sr,shift:Ar})}an=ce({positionType:"individualShift",children:Yn})}if(pe.length===0)return O(["mord"],[an],t);var ja=ce({positionType:"individualShift",children:pe}),B=O(["tag"],[ja],t);return Ft([an,B])},"St"),c3={c:"center ",l:"left ",r:"right "},_t=o(function(e,t){for(var n=[],r=new q("mtd",[],["mtr-glue"]),a=new q("mtd",[],["mml-eqn-num"]),s=0;s<e.body.length;s++){for(var i=e.body[s],l=[],c=0;c<i.length;c++)l.push(new q("mtd",[fe(i[c],t)]));e.tags&&e.tags[s]&&(l.unshift(r),l.push(r),e.leqno?l.unshift(a):l.push(a)),n.push(new q("mtr",l))}var u=new q("mtable",n),m=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);u.setAttribute("rowspacing",H(m));var p="",f="";if(e.cols&&e.cols.length>0){var g=e.cols,y="",$=!1,T=0,k=g.length;g[0].type==="separator"&&(p+="top ",T=1),g[g.length-1].type==="separator"&&(p+="bottom ",k-=1);for(var _=T;_<k;_++){var M=g[_];M.type==="align"?(f+=c3[M.align],$&&(y+="none "),$=!0):M.type==="separator"&&$&&(y+=M.separator==="|"?"solid ":"dashed ",$=!1)}u.setAttribute("columnalign",f.trim()),/[sd]/.test(y)&&u.setAttribute("columnlines",y.trim())}if(e.colSeparationType==="align"){for(var E=e.cols||[],P="",I=1;I<E.length;I++)P+=I%2?"0em ":"1em ";u.setAttribute("columnspacing",P.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?u.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?u.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?u.setAttribute("columnspacing","0.5em"):u.setAttribute("columnspacing","1em");var L="",U=e.hLinesBeforeRow;p+=U[0].length>0?"left ":"",p+=U[U.length-1].length>0?"right ":"";for(var V=1;V<U.length-1;V++)L+=U[V].length===0?"none ":U[V][0]?"dashed ":"solid ";return/[sd]/.test(L)&&u.setAttribute("rowlines",L.trim()),p!==""&&(u=new q("menclose",[u]),u.setAttribute("notation",p.trim())),e.arraystretch&&e.arraystretch<1&&(u=new q("mstyle",[u]),u.setAttribute("scriptlevel","1")),u},"At"),Au=o(function(e,t){e.envName.includes("ed")||Ra(e);var n=[],r=e.envName.includes("at")?"alignat":"align",a=e.envName==="split",s=tn(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:Ti(e.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),i=0,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var u="",m=0;m<t[0].body.length;m++){var p=se(t[0].body[m],"textord");u+=p.text}i=Number(u),l=i*2}var f=!l;s.body.forEach(function(T){for(var k=1;k<T.length;k+=2){var _=se(T[k],"styling"),M=se(_.body[0],"ordgroup");M.body.unshift(c)}if(f)l<T.length&&(l=T.length);else{var E=T.length/2;if(i<E)throw new j("Too many math in a row: "+("expected "+i+", but got "+E),T[0])}});for(var g=0;g<l;++g){var y="r",$=0;g%2===1?y="l":g>0&&f&&($=1),n[g]={type:"align",align:y,pregap:$,postgap:0}}return s.colSeparationType=f?"align":"alignat",s},"Uu");xt({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=Ta(t[0]),r=n?[t[0]]:se(t[0],"ordgroup").body,a=r.map(function(i){var l=Aa(i),c=l.text;if("lcr".includes(c))return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new j("Unknown column alignment: "+c,i)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return tn(e.parser,s,Ii(e.envName))},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),n=a.fetch().text,!"lcr".includes(n))throw new j("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var s=tn(e.parser,r,Ii(e.envName)),i=Math.max(0,...s.body.map(l=>l.length));return s.cols=new Array(i).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=tn(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=Ta(t[0]),r=n?[t[0]]:se(t[0],"ordgroup").body,a=r.map(function(l){var c=Aa(l),u=c.text;if("lc".includes(u))return{type:"align",align:u};throw new j("Unknown column alignment: "+u,l)});if(a.length>1)throw new j("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},i=tn(e.parser,s,"script");if(i.body.length>0&&i.body[0].length>1)throw new j("{subarray} can contain only one column");return i},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=tn(e.parser,t,Ii(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Au,htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){l3.has(e.envName)&&Ra(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ti(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return tn(e.parser,t,"display")},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Au,htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Ra(e);var t={autoTag:Ti(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return tn(e.parser,t,"display")},htmlBuilder:kt,mathmlBuilder:_t}),xt({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Ra(e),Z5(e.parser)},htmlBuilder:kt,mathmlBuilder:_t}),v("\\nonumber","\\gdef\\@eqnsw{0}"),v("\\notag","\\nonumber"),X({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new j(e.funcName+" valid only within array environment")}});var Tu=$u;X({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];if(a.type!=="ordgroup")throw new j("Invalid environment name",a);for(var s="",i=0;i<a.body.length;++i)s+=se(a.body[i],"textord").text;if(r==="\\begin"){if(!Tu.hasOwnProperty(s))throw new j("No such environment: "+s,a);var l=Tu[s],{args:c,optArgs:u}=n.parseArguments("\\begin{"+s+"}",l),m={mode:n.mode,envName:s,parser:n},p=l.handler(m,c,u);n.expect("\\end",!1);var f=n.nextToken,g=se(n.parseFunction(),"environment");if(g.name!==s)throw new j("Mismatch: \\begin{"+s+"} matched by \\end{"+g.name+"}",f);return p}return{type:"environment",mode:n.mode,name:s,nameGroup:a}}});var Iu=o((e,t)=>{var n=e.font,r=t.withFont(n);return ue(e.body,r)},"Wu"),Mu=o((e,t)=>{var n=e.font,r=t.withFont(n);return fe(e.body,r)},"Vu"),zu={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};X({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=_a(t[0]),s=r;return s in zu&&(s=zu[s]),{type:"font",mode:n.mode,font:s.slice(1),body:a}},"handler"),htmlBuilder:Iu,mathmlBuilder:Mu}),X({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:o((e,t)=>{var{parser:n}=e,r=t[0];return{type:"mclass",mode:n.mode,mclass:Ma(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:Rt(r)}},"handler")}),X({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:o((e,t)=>{var{parser:n,funcName:r,breakOnTokenText:a}=e,{mode:s}=n,i=n.parseExpression(!0,a);return{type:"font",mode:s,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:i}}},"handler"),htmlBuilder:Iu,mathmlBuilder:Mu});var u3=o((e,t)=>{var n=t.style,r=n.fracNum(),a=n.fracDen(),s;s=t.havingStyle(r);var i=ue(e.numer,s,t);if(e.continued){var l=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;i.height=i.height<l?l:i.height,i.depth=i.depth<c?c:i.depth}s=t.havingStyle(a);var u=ue(e.denom,s,t),m,p,f;e.hasBarLine?(e.barSize?(p=ke(e.barSize,t),m=Un("frac-line",t,p)):m=Un("frac-line",t),p=m.height,f=m.height):(m=null,p=0,f=t.fontMetrics().defaultRuleThickness);var g,y,$;n.size===ne.DISPLAY.size?(g=t.fontMetrics().num1,p>0?y=3*f:y=7*f,$=t.fontMetrics().denom1):(p>0?(g=t.fontMetrics().num2,y=f):(g=t.fontMetrics().num3,y=3*f),$=t.fontMetrics().denom2);var T;if(m){var k=t.fontMetrics().axisHeight;g-i.depth-(k+.5*p)<y&&(g+=y-(g-i.depth-(k+.5*p))),k-.5*p-(u.height-$)<y&&($+=y-(k-.5*p-(u.height-$)));var _=-(k-.5*p);T=ce({positionType:"individualShift",children:[{type:"elem",elem:u,shift:$},{type:"elem",elem:m,shift:_},{type:"elem",elem:i,shift:-g}]})}else{var M=g-i.depth-(u.height-$);M<y&&(g+=.5*(y-M),$+=.5*(y-M)),T=ce({positionType:"individualShift",children:[{type:"elem",elem:u,shift:$},{type:"elem",elem:i,shift:-g}]})}s=t.havingStyle(n),T.height*=s.sizeMultiplier/t.sizeMultiplier,T.depth*=s.sizeMultiplier/t.sizeMultiplier;var E;n.size===ne.DISPLAY.size?E=t.fontMetrics().delim1:n.size===ne.SCRIPTSCRIPT.size?E=t.havingStyle(ne.SCRIPT).fontMetrics().delim2:E=t.fontMetrics().delim2;var P,I;return e.leftDelim==null?P=yr(t,["mopen"]):P=Ci(e.leftDelim,E,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?I=O([]):e.rightDelim==null?I=yr(t,["mclose"]):I=Ci(e.rightDelim,E,!0,t.havingStyle(n),e.mode,["mclose"]),O(["mord"].concat(s.sizingClasses(t)),[P,O(["mfrac"],[T]),I],t)},"Z2"),p3=o((e,t)=>{var n=new q("mfrac",[fe(e.numer,t),fe(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=ke(e.barSize,t);n.setAttribute("linethickness",H(r))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var s=new q("mo",[new Me(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),e.rightDelim!=null){var i=new q("mo",[new Me(e.rightDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}return di(a)}return n},"K2"),Eu=o((e,t)=>{if(!t)return e;var n={type:"styling",mode:e.mode,style:t,body:[e]};return n},"Xu");X({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=t[1],i,l=null,c=null;switch(r){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,l="(",c=")";break;case"\\\\bracefrac":i=!1,l="\\{",c="\\}";break;case"\\\\brackfrac":i=!1,l="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}var u=r==="\\cfrac",m=null;return u||r.startsWith("\\d")?m="display":r.startsWith("\\t")&&(m="text"),Eu({type:"genfrac",mode:n.mode,numer:a,denom:s,continued:u,hasBarLine:i,leftDelim:l,rightDelim:c,barSize:null},m)},"handler"),htmlBuilder:u3,mathmlBuilder:p3}),X({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,a;switch(n){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:r}}});var Nu=["display","text","script","scriptscript"],Bu=o(function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t},"xl");X({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],a=t[5],s=_a(t[0]),i=s.type==="atom"&&s.family==="open"?Bu(s.text):null,l=_a(t[1]),c=l.type==="atom"&&l.family==="close"?Bu(l.text):null,u=se(t[2],"size"),m,p=null;u.isBlank?m=!0:(p=u.value,m=p.number>0);var f=null,g=t[3];if(g.type==="ordgroup"){if(g.body.length>0){var y=se(g.body[0],"textord");f=Nu[Number(y.text)]}}else g=se(g,"textord"),f=Nu[Number(g.text)];return Eu({type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:m,barSize:p,leftDelim:i,rightDelim:c},f)}}),X({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:a}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:se(t[0],"size").value,token:a}}}),X({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=se(t[1],"infix").size;if(!s)throw new Error("\\\\abovefrac expected size, but got "+String(s));var i=t[2],l=s.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:l,barSize:s,leftDelim:null,rightDelim:null}},"handler")});var Ru=o((e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?ue(e.sup,t.havingStyle(n.sup()),t):ue(e.sub,t.havingStyle(n.sub()),t),a=se(e.base,"horizBrace")):a=se(e,"horizBrace");var s=ue(a.base,t.havingBaseStyle(ne.DISPLAY)),i=Ca(a,t),l;if(a.isOver?l=ce({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i,wrapperClasses:["svg-align"]}]}):l=ce({positionType:"bottom",positionData:s.depth+.1+i.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:s}]}),r){var c=O(["minner",a.isOver?"mover":"munder"],[l],t);a.isOver?l=ce({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:r}]}):l=ce({positionType:"bottom",positionData:c.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:c}]})}return O(["minner",a.isOver?"mover":"munder"],[l],t)},"Yu"),h3=o((e,t)=>{var n=Sa(e.label);return new q(e.isOver?"mover":"munder",[fe(e.base,t),n])},"Q2");X({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:r.includes("\\over"),base:t[0]}},htmlBuilder:Ru,mathmlBuilder:h3}),X({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e,r=t[1],a=se(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:Ie(r)}:n.formatUnsupportedCmd("\\href")},"handler"),htmlBuilder:o((e,t)=>{var n=Be(e.body,t,!1);return S5(e.href,[],n,t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=en(e.body,t);return n instanceof q||(n=new q("mrow",[n])),n.setAttribute("href",e.href),n},"mathmlBuilder")}),X({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e,r=se(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var a=[],s=0;s<r.length;s++){var i=r[s];i==="~"&&(i="\\textasciitilde"),a.push({type:"textord",mode:"text",text:i})}var l={type:"text",mode:n.mode,font:"\\texttt",body:a};return{type:"href",mode:n.mode,href:r,body:Ie(l)}},"handler")}),X({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:Ie(t[0])}},htmlBuilder(e,t){var n=Be(e.body,t.withFont(""),!1);return Ft(n)},mathmlBuilder(e,t){return new q("mrow",st(e.body,t.withFont("")))}}),X({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:o((e,t)=>{var{parser:n,funcName:r,token:a}=e,s=se(t[0],"raw").string,i=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,c={};switch(r){case"\\htmlClass":c.class=s,l={command:"\\htmlClass",class:s};break;case"\\htmlId":c.id=s,l={command:"\\htmlId",id:s};break;case"\\htmlStyle":c.style=s,l={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var u=s.split(","),m=0;m<u.length;m++){var p=u[m],f=p.indexOf("=");if(f<0)throw new j("\\htmlData key/value '"+p+"' missing equals sign");var g=p.slice(0,f),y=p.slice(f+1);c["data-"+g.trim()]=y}l={command:"\\htmlData",attributes:c};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(l)?{type:"html",mode:n.mode,attributes:c,body:Ie(i)}:n.formatUnsupportedCmd(r)},"handler"),htmlBuilder:o((e,t)=>{var n=Be(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=O(r,n,t);for(var s in e.attributes)s!=="class"&&e.attributes.hasOwnProperty(s)&&a.setAttribute(s,e.attributes[s]);return a},"htmlBuilder"),mathmlBuilder:o((e,t)=>en(e.body,t),"mathmlBuilder")}),X({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Ie(t[0]),mathml:Ie(t[1])}},"handler"),htmlBuilder:o((e,t)=>{var n=Be(e.html,t,!1);return Ft(n)},"htmlBuilder"),mathmlBuilder:o((e,t)=>en(e.mathml,t),"mathmlBuilder")});var Mi=o(function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new j("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!Ac(n))throw new j("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n},"vi");X({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:o((e,t,n)=>{var{parser:r}=e,a={number:0,unit:"em"},s={number:.9,unit:"em"},i={number:0,unit:"em"},l="";if(n[0])for(var c=se(n[0],"raw").string,u=c.split(","),m=0;m<u.length;m++){var p=u[m].split("=");if(p.length===2){var f=p[1].trim();switch(p[0].trim()){case"alt":l=f;break;case"width":a=Mi(f);break;case"height":s=Mi(f);break;case"totalheight":i=Mi(f);break;default:throw new j("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var g=se(t[0],"url").url;return l===""&&(l=g,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:g})?{type:"includegraphics",mode:r.mode,alt:l,width:a,height:s,totalheight:i,src:g}:r.formatUnsupportedCmd("\\includegraphics")},"handler"),htmlBuilder:o((e,t)=>{var n=ke(e.height,t),r=0;e.totalheight.number>0&&(r=ke(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=ke(e.width,t));var s={height:H(n+r)};a>0&&(s.width=H(a)),r>0&&(s.verticalAlign=H(-r));var i=new m5(e.src,e.alt,s);return i.height=n,i.depth=r,i},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=new q("mglyph",[]);n.setAttribute("alt",e.alt);var r=ke(e.height,t),a=0;if(e.totalheight.number>0&&(a=ke(e.totalheight,t)-r,n.setAttribute("valign",H(-a))),n.setAttribute("height",H(r+a)),e.width.number>0){var s=ke(e.width,t);n.setAttribute("width",H(s))}return n.setAttribute("src",e.src),n},"mathmlBuilder")}),X({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=se(t[0],"size");if(n.settings.strict){var s=r[1]==="m",i=a.value.unit==="mu";s?(i||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+a.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):i&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:a.value}},htmlBuilder(e,t){return Uc(e.dimension,t)},mathmlBuilder(e,t){var n=ke(e.dimension,t);return new Kc(n)}}),X({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:a}},"handler"),htmlBuilder:o((e,t)=>{var n;e.alignment==="clap"?(n=O([],[ue(e.body,t)]),n=O(["inner"],[n],t)):n=O(["inner"],[ue(e.body,t)]);var r=O(["fix"],[]),a=O([e.alignment],[n,r],t),s=O(["strut"]);return s.style.height=H(a.height+a.depth),a.depth&&(s.style.verticalAlign=H(-a.depth)),a.children.unshift(s),a=O(["thinbox"],[a],t),O(["mord","vbox"],[a],t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=new q("mpadded",[fe(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n},"mathmlBuilder")}),X({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,a=r.mode;r.switchMode("math");var s=n==="\\("?"\\)":"$",i=r.parseExpression(!1,s);return r.expect(s),r.switchMode(a),{type:"styling",mode:r.mode,style:"text",resetFont:!0,body:i}}}),X({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new j("Mismatched "+e.funcName)}});var Pu=o((e,t)=>{switch(t.style.size){case ne.DISPLAY.size:return e.display;case ne.TEXT.size:return e.text;case ne.SCRIPT.size:return e.script;case ne.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}},"kl");X({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:o((e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Ie(t[0]),text:Ie(t[1]),script:Ie(t[2]),scriptscript:Ie(t[3])}},"handler"),htmlBuilder:o((e,t)=>{var n=Pu(e,t),r=Be(n,t,!1);return Ft(r)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=Pu(e,t);return en(n,t)},"mathmlBuilder")});var Lu=o((e,t,n,r,a,s,i)=>{e=O([],[e]);var l=n&&Rt(n),c,u;if(t){var m=ue(t,r.havingStyle(a.sup()),r);u={elem:m,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-m.depth)}}if(n){var p=ue(n,r.havingStyle(a.sub()),r);c={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-p.height)}}var f;if(u&&c){var g=r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+i;f=ce({positionType:"bottom",positionData:g,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:H(-s)},{type:"kern",size:c.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:H(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]})}else if(c){var y=e.height-i;f=ce({positionType:"top",positionData:y,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:H(-s)},{type:"kern",size:c.kern},{type:"elem",elem:e}]})}else if(u){var $=e.depth+i;f=ce({positionType:"bottom",positionData:$,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:H(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]})}else return e;var T=[f];if(c&&s!==0&&!l){var k=O(["mspace"],[],r);k.style.marginRight=H(s),T.unshift(k)}return O(["mop","op-limits"],T,r)},"Zu"),Ou=new Set(["\\smallint"]),Vn=o((e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=se(e.base,"op"),a=!0):s=se(e,"op");var i=t.style,l=!1;i.size===ne.DISPLAY.size&&s.symbol&&!Ou.has(s.name)&&(l=!0);var c,u;if(s.symbol){var m=l?"Size2-Regular":"Size1-Regular",p="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(p=s.name.slice(1),s.name=p==="oiint"?"\\iint":"\\iiint"),c=Xe(s.name,m,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u=c.italic,p.length>0){var f=Vc(p+"Size"+(l?"2":"1"),t);c=ce({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:f,shift:l?.08:0}]}),s.name="\\"+p,c.classes.unshift("mop"),c.italic=u}}else if(s.body){var g=Be(s.body,t,!0);g.length===1&&g[0]instanceof rt?(c=g[0],c.classes[0]="mop"):c=O(["mop"],g,t)}else{for(var y=[],$=1;$<s.name.length;$++)y.push(oi(s.name[$],s.mode,t));c=O(["mop"],y,t)}var T=0,k=0;if((c instanceof rt||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift){var _;T=(c.height-c.depth)/2-t.fontMetrics().axisHeight,k=(_=c.italic)!=null?_:0}return a?Lu(c,n,r,t,i,k,T):(T&&(c.style.position="relative",c.style.top=H(T)),c)},"Vn"),xr=o((e,t)=>{var n;if(e.symbol)n=new q("mo",[pt(e.name,e.mode)]),Ou.has(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new q("mo",st(e.body,t));else{n=new q("mi",[new Me(e.name.slice(1))]);var r=new q("mo",[pt("⁡","text")]);e.parentIsSupSub?n=new q("mrow",[n,r]):n=Zc([n,r])}return n},"vr"),m3={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};X({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=r;return a.length===1&&(a=m3[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},"handler"),htmlBuilder:Vn,mathmlBuilder:xr}),X({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:o((e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ie(r)}},"handler"),htmlBuilder:Vn,mathmlBuilder:xr});var d3={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};X({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Vn,mathmlBuilder:xr}),X({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Vn,mathmlBuilder:xr}),X({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=d3[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Vn,mathmlBuilder:xr});var Fu=o((e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=se(e.base,"operatorname"),a=!0):s=se(e,"operatorname");var i;if(s.body.length>0){for(var l=s.body.map(p=>{var f="text"in p?p.text:void 0;return typeof f=="string"?{type:"textord",mode:p.mode,text:f}:p}),c=Be(l,t.withFont("mathrm"),!0),u=0;u<c.length;u++){var m=c[u];m instanceof rt&&(m.text=m.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=O(["mop"],c,t)}else i=O(["mop"],[],t);return a?Lu(i,n,r,t,t.style,0,0):i},"Qu"),g3=o((e,t)=>{for(var n=st(e.body,t.withFont("mathrm")),r=!0,a=0;a<n.length;a++){var s=n[a];if(!(s instanceof Kc))if(s instanceof q)switch(s.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var i=s.children[0];s.children.length===1&&i instanceof Me?i.text=i.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var l=n.map(m=>m.toText()).join("");n=[new Me(l)]}var c=new q("mi",n);c.setAttribute("mathvariant","normal");var u=new q("mo",[pt("⁡","text")]);return e.parentIsSupSub?new q("mrow",[c,u]):Zc([c,u])},"t5");X({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:o((e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:Ie(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},"handler"),htmlBuilder:Fu,mathmlBuilder:g3}),v("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),xn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Ft(Be(e.body,t,!1)):O(["mord"],Be(e.body,t,!0),t)},mathmlBuilder(e,t){return en(e.body,t,!0)}}),X({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=ue(e.body,t.havingCrampedStyle()),r=Un("overline-line",t),a=t.fontMetrics().defaultRuleThickness,s=ce({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r},{type:"kern",size:a}]});return O(["mord","overline"],[s],t)},mathmlBuilder(e,t){var n=new q("mo",[new Me("‾")]);n.setAttribute("stretchy","true");var r=new q("mover",[fe(e.body,t),n]);return r.setAttribute("accent","true"),r}}),X({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:Ie(r)}},"handler"),htmlBuilder:o((e,t)=>{var n=Be(e.body,t.withPhantom(),!1);return Ft(n)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=st(e.body,t);return new q("mphantom",n)},"mathmlBuilder")}),v("\\hphantom","\\smash{\\phantom{#1}}"),X({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:o((e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},"handler"),htmlBuilder:o((e,t)=>{var n=O(["inner"],[ue(e.body,t.withPhantom())]),r=O(["fix"],[]);return O(["mord","rlap"],[n,r],t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=st(Ie(e.body),t),r=new q("mphantom",n),a=new q("mpadded",[r]);return a.setAttribute("width","0px"),a},"mathmlBuilder")}),X({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=se(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=ue(e.body,t),r=ke(e.dy,t);return ce({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new q("mpadded",[fe(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),X({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),X({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,a=n[0],s=se(t[0],"size"),i=se(t[1],"size");return{type:"rule",mode:r.mode,shift:a&&se(a,"size").value,width:s.value,height:i.value}},htmlBuilder(e,t){var n=O(["mord","rule"],[],t),r=ke(e.width,t),a=ke(e.height,t),s=e.shift?ke(e.shift,t):0;return n.style.borderRightWidth=H(r),n.style.borderTopWidth=H(a),n.style.bottom=H(s),n.width=r,n.height=a+s,n.depth=-s,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=ke(e.width,t),r=ke(e.height,t),a=e.shift?ke(e.shift,t):0,s=t.color&&t.getColor()||"black",i=new q("mspace");i.setAttribute("mathbackground",s),i.setAttribute("width",H(n)),i.setAttribute("height",H(r));var l=new q("mpadded",[i]);return a>=0?l.setAttribute("height",H(a)):(l.setAttribute("height",H(a)),l.setAttribute("depth",H(-a))),l.setAttribute("voffset",H(a)),l}});function qu(e,t,n){for(var r=Be(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,s=0;s<r.length;s++){var i=r[s].classes.indexOf("sizing");i<0?Array.prototype.push.apply(r[s].classes,t.sizingClasses(n)):r[s].classes[i+1]==="reset-size"+t.size&&(r[s].classes[i+1]="reset-size"+n.size),r[s].height*=a,r[s].depth*=a}return Ft(r)}o(qu,"Ju");var ju=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],f3=o((e,t)=>{var n=t.havingSize(e.size);return qu(e.body,n,t)},"n5");X({type:"sizing",names:ju,props:{numArgs:0,allowedInText:!0},handler:o((e,t)=>{var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:ju.indexOf(r)+1,body:s}},"handler"),htmlBuilder:f3,mathmlBuilder:o((e,t)=>{var n=t.havingSize(e.size),r=st(e.body,n),a=new q("mstyle",r);return a.setAttribute("mathsize",H(n.sizeMultiplier)),a},"mathmlBuilder")}),X({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:o((e,t,n)=>{var{parser:r}=e,a=!1,s=!1,i=n[0]&&se(n[0],"ordgroup");if(i)for(var l,c=0;c<i.body.length;++c){var u=i.body[c];if(l=Aa(u).text,l==="t")a=!0;else if(l==="b")s=!0;else{a=!1,s=!1;break}}else a=!0,s=!0;var m=t[0];return{type:"smash",mode:r.mode,body:m,smashHeight:a,smashDepth:s}},"handler"),htmlBuilder:o((e,t)=>{var n=O([],[ue(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return O(["mord","smash"],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);var a=ce({positionType:"firstBaseline",children:[{type:"elem",elem:n}]});return O(["mord"],[a],t)},"htmlBuilder"),mathmlBuilder:o((e,t)=>{var n=new q("mpadded",[fe(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n},"mathmlBuilder")}),X({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,a=n[0],s=t[0];return{type:"sqrt",mode:r.mode,body:s,index:a}},htmlBuilder(e,t){var n=ue(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Wn(n,t);var r=t.fontMetrics(),a=r.defaultRuleThickness,s=a;t.style.id<ne.TEXT.id&&(s=t.fontMetrics().xHeight);var i=a+s/4,l=n.height+n.depth+i+a,{span:c,ruleWidth:u,advanceWidth:m}=n3(l,t),p=c.height-u;p>n.height+n.depth+i&&(i=(i+p-n.height-n.depth)/2);var f=c.height-n.height-i-u;n.style.paddingLeft=H(m);var g=ce({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:c},{type:"kern",size:u}]});if(e.index){var y=t.havingStyle(ne.SCRIPTSCRIPT),$=ue(e.index,y,t),T=.6*(g.height-g.depth),k=ce({positionType:"shift",positionData:-T,children:[{type:"elem",elem:$}]}),_=O(["root"],[k]);return O(["mord","sqrt"],[_,g],t)}else return O(["mord","sqrt"],[g],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new q("mroot",[fe(n,t),fe(r,t)]):new q("msqrt",[fe(n,t)])}});var zi={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};function b3(e){return e in zi}o(b3,"r5"),X({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!0,n),i=r.slice(1,r.length-5);if(!b3(i))throw new Error("Unknown style: "+i);return{type:"styling",mode:a.mode,style:i,body:s}},htmlBuilder(e,t){var n=zi[e.style],r=t.havingStyle(n);return e.resetFont&&(r=r.withFont("")),qu(e.body,r,t)},mathmlBuilder(e,t){var n=zi[e.style],r=t.havingStyle(n);e.resetFont&&(r=r.withFont(""));var a=st(e.body,r),s=new q("mstyle",a),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=i[e.style];return s.setAttribute("scriptlevel",l[0]),s.setAttribute("displaystyle",l[1]),s}});var y3=o(function(e,t){var n=e.base;if(n)if(n.type==="op"){var r=n.limits&&(t.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return r?Vn:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(t.style.size===ne.DISPLAY.size||n.limits);return a?Fu:null}else{if(n.type==="accent")return Rt(n.base)?bi:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?Ru:null}else return null}else return null},"a5");xn({type:"supsub",htmlBuilder(e,t){var n=y3(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:s}=e,i=ue(r,t),l,c,u=t.fontMetrics(),m=0,p=0,f=r&&Rt(r);if(a){var g=t.havingStyle(t.style.sup());l=ue(a,g,t),f||(m=i.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(s){var y=t.havingStyle(t.style.sub());c=ue(s,y,t),f||(p=i.depth+y.fontMetrics().subDrop*y.sizeMultiplier/t.sizeMultiplier)}var $;t.style===ne.DISPLAY?$=u.sup1:t.style.cramped?$=u.sup3:$=u.sup2;var T=t.sizeMultiplier,k=H(.5/u.ptPerEm/T),_=null;if(c){var M=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");if(i instanceof rt||M){var E;_=H(-((E=i.italic)!=null?E:0))}}var P;if(l&&c){m=Math.max(m,$,l.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var I=u.defaultRuleThickness,L=4*I;if(m-l.depth-(c.height-p)<L){p=L-(m-l.depth)+c.height;var U=.8*u.xHeight-(m-l.depth);U>0&&(m+=U,p-=U)}var V=[{type:"elem",elem:c,shift:p,marginRight:k,marginLeft:_},{type:"elem",elem:l,shift:-m,marginRight:k}];P=ce({positionType:"individualShift",children:V})}else if(c){p=Math.max(p,u.sub1,c.height-.8*u.xHeight);var z=[{type:"elem",elem:c,marginLeft:_,marginRight:k}];P=ce({positionType:"shift",positionData:p,children:z})}else if(l)m=Math.max(m,$,l.depth+.25*u.xHeight),P=ce({positionType:"shift",positionData:-m,children:[{type:"elem",elem:l,marginRight:k}]});else throw new Error("supsub must have either sup or sub.");var G=hi(i,"right")||"mord";return O([G],[i,O(["msupsub"],[P])],t)},mathmlBuilder(e,t){var n=!1,r,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var s=[fe(e.base,t)];e.sub&&s.push(fe(e.sub,t)),e.sup&&s.push(fe(e.sup,t));var i;if(n)i=r?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===ne.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===ne.DISPLAY||l.limits)?i="munderover":i="msubsup"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===ne.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===ne.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===ne.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===ne.DISPLAY)?i="mover":i="msup"}return new q(i,s)}}),xn({type:"atom",htmlBuilder(e,t){return oi(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new q("mo",[pt(e.text,e.mode)]);if(e.family==="bin"){var r=gi(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var Du={mi:"italic",mn:"normal",mtext:"normal"};xn({type:"mathord",htmlBuilder(e,t){return va(e,t,"mathord")},mathmlBuilder(e,t){var n=new q("mi",[pt(e.text,e.mode,t)]),r=gi(e,t)||"italic";return r!==Du[n.type]&&n.setAttribute("mathvariant",r),n}}),xn({type:"textord",htmlBuilder(e,t){return va(e,t,"textord")},mathmlBuilder(e,t){var n=pt(e.text,e.mode,t),r=gi(e,t)||"normal",a;return e.mode==="text"?a=new q("mtext",[n]):/[0-9]/.test(e.text)?a=new q("mn",[n]):e.text==="\\prime"?a=new q("mo",[n]):a=new q("mi",[n]),r!==Du[a.type]&&a.setAttribute("mathvariant",r),a}});var Ei={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ni={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};xn({type:"spacing",htmlBuilder(e,t){if(Ni.hasOwnProperty(e.text)){var n=Ni[e.text].className||"";if(e.mode==="text"){var r=va(e,t,"textord");return r.classes.push(n),r}else return O(["mspace",n],[oi(e.text,e.mode,t)],t)}else{if(Ei.hasOwnProperty(e.text))return O(["mspace",Ei[e.text]],[],t);throw new j('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Ni.hasOwnProperty(e.text))n=new q("mtext",[new Me(" ")]);else{if(Ei.hasOwnProperty(e.text))return new q("mspace");throw new j('Unknown type of space "'+e.text+'"')}return n}});var Hu=o(()=>{var e=new q("mtd",[]);return e.setAttribute("width","50%"),e},"$l");xn({type:"tag",mathmlBuilder(e,t){var n=new q("mtable",[new q("mtr",[Hu(),new q("mtd",[en(e.body,t)]),Hu(),new q("mtd",[en(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Gu={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Uu={"\\textbf":"textbf","\\textmd":"textmd"},v3={"\\textit":"textit","\\textup":"textup"},Wu=o((e,t)=>{var n=e.font;if(n){if(Gu[n])return t.withTextFontFamily(Gu[n]);if(Uu[n])return t.withTextFontWeight(Uu[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(v3[n])},"Al");X({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"text",mode:n.mode,body:Ie(a),font:r}},htmlBuilder(e,t){var n=Wu(e,t),r=Be(e.body,n,!0);return O(["mord","text"],r,n)},mathmlBuilder(e,t){var n=Wu(e,t);return en(e.body,n)}}),X({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=ue(e.body,t),r=Un("underline-line",t),a=t.fontMetrics().defaultRuleThickness,s=ce({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n}]});return O(["mord","underline"],[s],t)},mathmlBuilder(e,t){var n=new q("mo",[new Me("‾")]);n.setAttribute("stretchy","true");var r=new q("munder",[fe(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),X({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=ue(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return ce({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new q("mpadded",[fe(e.body,t)],["vcenter"]);return new q("mrow",[n])}}),X({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new j("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=Vu(e),r=[],a=t.havingStyle(t.style.text()),s=0;s<n.length;s++){var i=n[s];i==="~"&&(i="\\textasciitilde"),r.push(Xe(i,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return O(["mord","text"].concat(a.sizingClasses(t)),Gc(r),a)},mathmlBuilder(e,t){var n=new Me(Vu(e)),r=new q("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var Vu=o(e=>e.body.replace(/ /g,e.star?"␣":" "),"Tl"),nn=Xc,Xu=`[ \r
406
+ ]`,w3="\\\\[a-zA-Z@]+",x3="\\\\[^\uD800-\uDFFF]",k3="("+w3+")"+Xu+"*",_3=`\\\\(
407
407
  |[ \r ]+
408
- ?)[ \r ]*`,Bi="[̀-ͯ]",_3=new RegExp(Bi+"+$"),$3="("+Xu+"+)|"+(k3+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Bi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Bi+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+x3)+("|"+w3+")");class Yu{static{o(this,"El")}constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp($3,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new it("EOF",new Je(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new j("Unexpected character: '"+t[n]+"'",new it(t[n],new Je(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=t.indexOf(`
409
- `,this.tokenRegex.lastIndex);return s===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new it(a,new Je(this,n,this.tokenRegex.lastIndex))}}class C3{static{o(this,"m5")}constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new j("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(t)&&(s[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var S3=Cu;v("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),v("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),v("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),v("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),v("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),v("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),v("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Zu={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};v("\\char",function(e){var t=e.popToken(),n,r=0;if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new j("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Zu[t.text],r==null||r>=n)throw new j("Invalid base-"+n+" digit "+t.text);for(var a;(a=Zu[e.future().text])!=null&&a<n;)r*=n,r+=a,e.popToken()}return"\\@char{"+r+"}"});var Ri=o((e,t,n,r)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new j("\\newcommand's first argument must be a macro name");var s=a[0].text,i=e.isDefined(s);if(i&&!t)throw new j("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!i&&!n)throw new j("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var l=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var c="",u=e.expandNextToken();u.text!=="]"&&u.text!=="EOF";)c+=u.text,u=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new j("Invalid number of arguments: "+c);l=parseInt(c),a=e.consumeArg().tokens}return i&&r||e.macros.set(s,{tokens:a,numArgs:l}),""},"Ls");v("\\newcommand",e=>Ri(e,!1,!0,!1)),v("\\renewcommand",e=>Ri(e,!0,!1,!1)),v("\\providecommand",e=>Ri(e,!0,!0,!0)),v("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""}),v("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""}),v("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),nn[n],we.math[n],we.text[n]),""}),v("\\bgroup","{"),v("\\egroup","}"),v("~","\\nobreakspace"),v("\\lq","`"),v("\\rq","'"),v("\\aa","\\r a"),v("\\AA","\\r A"),v("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),v("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),v("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),v("ℬ","\\mathscr{B}"),v("ℰ","\\mathscr{E}"),v("ℱ","\\mathscr{F}"),v("ℋ","\\mathscr{H}"),v("ℐ","\\mathscr{I}"),v("ℒ","\\mathscr{L}"),v("ℳ","\\mathscr{M}"),v("ℛ","\\mathscr{R}"),v("ℭ","\\mathfrak{C}"),v("ℌ","\\mathfrak{H}"),v("ℨ","\\mathfrak{Z}"),v("\\Bbbk","\\Bbb{k}"),v("\\llap","\\mathllap{\\textrm{#1}}"),v("\\rlap","\\mathrlap{\\textrm{#1}}"),v("\\clap","\\mathclap{\\textrm{#1}}"),v("\\mathstrut","\\vphantom{(}"),v("\\underbar","\\underline{\\text{#1}}"),v("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),v("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),v("\\ne","\\neq"),v("≠","\\neq"),v("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),v("∉","\\notin"),v("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),v("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),v("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),v("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),v("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),v("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),v("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),v("⟂","\\perp"),v("‼","\\mathclose{!\\mkern-0.8mu!}"),v("∌","\\notni"),v("⌜","\\ulcorner"),v("⌝","\\urcorner"),v("⌞","\\llcorner"),v("⌟","\\lrcorner"),v("©","\\copyright"),v("®","\\textregistered"),v("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),v("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),v("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),v("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),v("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),v("⋮","\\vdots"),v("\\varGamma","\\mathit{\\Gamma}"),v("\\varDelta","\\mathit{\\Delta}"),v("\\varTheta","\\mathit{\\Theta}"),v("\\varLambda","\\mathit{\\Lambda}"),v("\\varXi","\\mathit{\\Xi}"),v("\\varPi","\\mathit{\\Pi}"),v("\\varSigma","\\mathit{\\Sigma}"),v("\\varUpsilon","\\mathit{\\Upsilon}"),v("\\varPhi","\\mathit{\\Phi}"),v("\\varPsi","\\mathit{\\Psi}"),v("\\varOmega","\\mathit{\\Omega}"),v("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),v("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),v("\\boxed","\\fbox{$\\displaystyle{#1}$}"),v("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),v("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),v("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),v("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),v("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Ku={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},A3=new Set(["bin","rel"]);v("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Ku?t=Ku[n]:(n.slice(0,4)==="\\not"||n in we.math&&A3.has(we.math[n].group))&&(t="\\dotsb"),t});var Pi={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};v("\\dotso",function(e){var t=e.future().text;return t in Pi?"\\ldots\\,":"\\ldots"}),v("\\dotsc",function(e){var t=e.future().text;return t in Pi&&t!==","?"\\ldots\\,":"\\ldots"}),v("\\cdots",function(e){var t=e.future().text;return t in Pi?"\\@cdots\\,":"\\@cdots"}),v("\\dotsb","\\cdots"),v("\\dotsm","\\cdots"),v("\\dotsi","\\!\\cdots"),v("\\dotsx","\\ldots\\,"),v("\\DOTSI","\\relax"),v("\\DOTSB","\\relax"),v("\\DOTSX","\\relax"),v("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),v("\\,","\\tmspace+{3mu}{.1667em}"),v("\\thinspace","\\,"),v("\\>","\\mskip{4mu}"),v("\\:","\\tmspace+{4mu}{.2222em}"),v("\\medspace","\\:"),v("\\;","\\tmspace+{5mu}{.2777em}"),v("\\thickspace","\\;"),v("\\!","\\tmspace-{3mu}{.1667em}"),v("\\negthinspace","\\!"),v("\\negmedspace","\\tmspace-{4mu}{.2222em}"),v("\\negthickspace","\\tmspace-{5mu}{.277em}"),v("\\enspace","\\kern.5em "),v("\\enskip","\\hskip.5em\\relax"),v("\\quad","\\hskip1em\\relax"),v("\\qquad","\\hskip2em\\relax"),v("\\tag","\\@ifstar\\tag@literal\\tag@paren"),v("\\tag@paren","\\tag@literal{({#1})}"),v("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new j("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),v("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),v("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),v("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),v("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),v("\\newline","\\\\\\relax"),v("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Qu=H(wt["Main-Regular"][84][1]-.7*wt["Main-Regular"][65][1]);v("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Qu+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),v("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Qu+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),v("\\hspace","\\@ifstar\\@hspacer\\@hspace"),v("\\@hspace","\\hskip #1\\relax"),v("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),v("\\ordinarycolon",":"),v("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),v("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),v("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),v("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),v("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),v("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),v("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),v("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),v("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),v("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),v("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),v("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),v("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),v("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),v("∷","\\dblcolon"),v("∹","\\eqcolon"),v("≔","\\coloneqq"),v("≕","\\eqqcolon"),v("⩴","\\Coloneqq"),v("\\ratio","\\vcentcolon"),v("\\coloncolon","\\dblcolon"),v("\\colonequals","\\coloneqq"),v("\\coloncolonequals","\\Coloneqq"),v("\\equalscolon","\\eqqcolon"),v("\\equalscoloncolon","\\Eqqcolon"),v("\\colonminus","\\coloneq"),v("\\coloncolonminus","\\Coloneq"),v("\\minuscolon","\\eqcolon"),v("\\minuscoloncolon","\\Eqcolon"),v("\\coloncolonapprox","\\Colonapprox"),v("\\coloncolonsim","\\Colonsim"),v("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),v("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),v("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),v("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),v("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),v("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),v("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),v("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),v("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),v("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),v("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),v("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),v("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),v("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),v("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),v("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),v("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),v("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),v("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),v("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),v("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),v("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),v("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),v("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),v("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),v("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),v("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),v("\\imath","\\html@mathml{\\@imath}{ı}"),v("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),v("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),v("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),v("⟦","\\llbracket"),v("⟧","\\rrbracket"),v("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),v("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),v("⦃","\\lBrace"),v("⦄","\\rBrace"),v("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),v("⦵","\\minuso"),v("\\darr","\\downarrow"),v("\\dArr","\\Downarrow"),v("\\Darr","\\Downarrow"),v("\\lang","\\langle"),v("\\rang","\\rangle"),v("\\uarr","\\uparrow"),v("\\uArr","\\Uparrow"),v("\\Uarr","\\Uparrow"),v("\\N","\\mathbb{N}"),v("\\R","\\mathbb{R}"),v("\\Z","\\mathbb{Z}"),v("\\alef","\\aleph"),v("\\alefsym","\\aleph"),v("\\Alpha","\\mathrm{A}"),v("\\Beta","\\mathrm{B}"),v("\\bull","\\bullet"),v("\\Chi","\\mathrm{X}"),v("\\clubs","\\clubsuit"),v("\\cnums","\\mathbb{C}"),v("\\Complex","\\mathbb{C}"),v("\\Dagger","\\ddagger"),v("\\diamonds","\\diamondsuit"),v("\\empty","\\emptyset"),v("\\Epsilon","\\mathrm{E}"),v("\\Eta","\\mathrm{H}"),v("\\exist","\\exists"),v("\\harr","\\leftrightarrow"),v("\\hArr","\\Leftrightarrow"),v("\\Harr","\\Leftrightarrow"),v("\\hearts","\\heartsuit"),v("\\image","\\Im"),v("\\infin","\\infty"),v("\\Iota","\\mathrm{I}"),v("\\isin","\\in"),v("\\Kappa","\\mathrm{K}"),v("\\larr","\\leftarrow"),v("\\lArr","\\Leftarrow"),v("\\Larr","\\Leftarrow"),v("\\lrarr","\\leftrightarrow"),v("\\lrArr","\\Leftrightarrow"),v("\\Lrarr","\\Leftrightarrow"),v("\\Mu","\\mathrm{M}"),v("\\natnums","\\mathbb{N}"),v("\\Nu","\\mathrm{N}"),v("\\Omicron","\\mathrm{O}"),v("\\plusmn","\\pm"),v("\\rarr","\\rightarrow"),v("\\rArr","\\Rightarrow"),v("\\Rarr","\\Rightarrow"),v("\\real","\\Re"),v("\\reals","\\mathbb{R}"),v("\\Reals","\\mathbb{R}"),v("\\Rho","\\mathrm{P}"),v("\\sdot","\\cdot"),v("\\sect","\\S"),v("\\spades","\\spadesuit"),v("\\sub","\\subset"),v("\\sube","\\subseteq"),v("\\supe","\\supseteq"),v("\\Tau","\\mathrm{T}"),v("\\thetasym","\\vartheta"),v("\\weierp","\\wp"),v("\\Zeta","\\mathrm{Z}"),v("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),v("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),v("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),v("\\bra","\\mathinner{\\langle{#1}|}"),v("\\ket","\\mathinner{|{#1}\\rangle}"),v("\\braket","\\mathinner{\\langle{#1}\\rangle}"),v("\\Bra","\\left\\langle#1\\right|"),v("\\Ket","\\left|#1\\right\\rangle");var Ju=o(e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,i=t.macros.get("|"),l=t.macros.get("\\|");t.macros.beginGroup();var c=o(p=>f=>{e&&(f.macros.set("|",i),a.length&&f.macros.set("\\|",l));var g=p;if(!p&&a.length){var y=f.future();y.text==="|"&&(f.popToken(),g=!0)}return{tokens:g?a:r,numArgs:0}},"l");t.macros.set("|",c(!1)),a.length&&t.macros.set("\\|",c(!0));var u=t.consumeArg().tokens,m=t.expandTokens([...s,...u,...n]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}},"rc");v("\\bra@ket",Ju(!1)),v("\\bra@set",Ju(!0)),v("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),v("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),v("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),v("\\angln","{\\angl n}"),v("\\blue","\\textcolor{##6495ed}{#1}"),v("\\orange","\\textcolor{##ffa500}{#1}"),v("\\pink","\\textcolor{##ff00af}{#1}"),v("\\red","\\textcolor{##df0030}{#1}"),v("\\green","\\textcolor{##28ae7b}{#1}"),v("\\gray","\\textcolor{gray}{#1}"),v("\\purple","\\textcolor{##9d38bd}{#1}"),v("\\blueA","\\textcolor{##ccfaff}{#1}"),v("\\blueB","\\textcolor{##80f6ff}{#1}"),v("\\blueC","\\textcolor{##63d9ea}{#1}"),v("\\blueD","\\textcolor{##11accd}{#1}"),v("\\blueE","\\textcolor{##0c7f99}{#1}"),v("\\tealA","\\textcolor{##94fff5}{#1}"),v("\\tealB","\\textcolor{##26edd5}{#1}"),v("\\tealC","\\textcolor{##01d1c1}{#1}"),v("\\tealD","\\textcolor{##01a995}{#1}"),v("\\tealE","\\textcolor{##208170}{#1}"),v("\\greenA","\\textcolor{##b6ffb0}{#1}"),v("\\greenB","\\textcolor{##8af281}{#1}"),v("\\greenC","\\textcolor{##74cf70}{#1}"),v("\\greenD","\\textcolor{##1fab54}{#1}"),v("\\greenE","\\textcolor{##0d923f}{#1}"),v("\\goldA","\\textcolor{##ffd0a9}{#1}"),v("\\goldB","\\textcolor{##ffbb71}{#1}"),v("\\goldC","\\textcolor{##ff9c39}{#1}"),v("\\goldD","\\textcolor{##e07d10}{#1}"),v("\\goldE","\\textcolor{##a75a05}{#1}"),v("\\redA","\\textcolor{##fca9a9}{#1}"),v("\\redB","\\textcolor{##ff8482}{#1}"),v("\\redC","\\textcolor{##f9685d}{#1}"),v("\\redD","\\textcolor{##e84d39}{#1}"),v("\\redE","\\textcolor{##bc2612}{#1}"),v("\\maroonA","\\textcolor{##ffbde0}{#1}"),v("\\maroonB","\\textcolor{##ff92c6}{#1}"),v("\\maroonC","\\textcolor{##ed5fa6}{#1}"),v("\\maroonD","\\textcolor{##ca337c}{#1}"),v("\\maroonE","\\textcolor{##9e034e}{#1}"),v("\\purpleA","\\textcolor{##ddd7ff}{#1}"),v("\\purpleB","\\textcolor{##c6b9fc}{#1}"),v("\\purpleC","\\textcolor{##aa87ff}{#1}"),v("\\purpleD","\\textcolor{##7854ab}{#1}"),v("\\purpleE","\\textcolor{##543b78}{#1}"),v("\\mintA","\\textcolor{##f5f9e8}{#1}"),v("\\mintB","\\textcolor{##edf2df}{#1}"),v("\\mintC","\\textcolor{##e0e5cc}{#1}"),v("\\grayA","\\textcolor{##f6f7f7}{#1}"),v("\\grayB","\\textcolor{##f0f1f2}{#1}"),v("\\grayC","\\textcolor{##e3e5e6}{#1}"),v("\\grayD","\\textcolor{##d6d8da}{#1}"),v("\\grayE","\\textcolor{##babec2}{#1}"),v("\\grayF","\\textcolor{##888d93}{#1}"),v("\\grayG","\\textcolor{##626569}{#1}"),v("\\grayH","\\textcolor{##3b3e40}{#1}"),v("\\grayI","\\textcolor{##21242c}{#1}"),v("\\kaBlue","\\textcolor{##314453}{#1}"),v("\\kaGreen","\\textcolor{##71B307}{#1}");var e0={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class T3{static{o(this,"d5")}constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new C3(S3,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new Yu(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:n,end:r}=this.consumeArg());return this.pushToken(new it("EOF",r.loc)),this.pushTokens(a),new it("",Je.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var a=this.future(),s,i=0,l=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++i;else if(s.text==="}"){if(--i,i===-1)throw new j("Extra }",s)}else if(s.text==="EOF")throw new j("Unexpected end of input in a macro argument, expected '"+(t&&r?t[l]:"}")+"'",s);if(t&&r)if((i===0||i===1&&t[l]==="{")&&s.text===t[l]){if(++l,l===t.length){n.splice(-l,l);break}}else l=0}while(i!==0||r);return a.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:a,end:s}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new j("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;a<r.length;a++){var s=this.popToken();if(r[a]!==s.text)throw new j("Use of the macro doesn't match its definition",s)}}for(var i=[],l=0;l<t;l++)i.push(this.consumeArg(n&&n[l+1]).tokens);return i}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new j("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,a=n.noexpand?null:this._getExpansion(r);if(a==null||t&&a.unexpandable){if(t&&a==null&&r[0]==="\\"&&!this.isDefined(r))throw new j("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var s=a.tokens,i=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){s=s.slice();for(var l=s.length-1;l>=0;--l){var c=s[l];if(c.text==="#"){if(l===0)throw new j("Incomplete placeholder at end of macro body",c);if(c=s[--l],c.text==="#")s.splice(l+1,1);else if(/^[1-9]$/.test(c.text))s.splice(l,2,...i[+c.text-1]);else throw new j("Not a valid argument number",c)}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new it(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),n.push(a)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var s=0;if(a.includes("#"))for(var i=a.replace(/##/g,"");i.includes("#"+(s+1));)++s;for(var l=new Yu(a,this.settings),c=[],u=l.lex();u.text!=="EOF";)c.push(u),u=l.lex();c.reverse();var m={tokens:c,numArgs:s};return m}return a}isDefined(t){return this.macros.has(t)||nn.hasOwnProperty(t)||we.math.hasOwnProperty(t)||we.text.hasOwnProperty(t)||e0.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:nn.hasOwnProperty(t)&&!nn[t].primitive}}var t0=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Pa=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Li={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},n0={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Oa{static{o(this,"Fa")}constructor(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new T3(t,n,this.mode),this.settings=n,this.leftrightDepth=0,this.nextToken=null}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new j("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new it("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(Oa.endOfExpression.has(a.text)||n&&a.text===n||t&&nn[a.text]&&nn[a.text].infix)break;var s=this.parseAtom(n);if(s){if(s.type==="internal")continue}else break;r.push(s)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,a=0;a<t.length;a++){var s=t[a];if(s.type==="infix"){if(n!==-1)throw new j("only one infix operator per group",s.token);n=a,r=s.replaceWith}}if(n!==-1&&r){var i,l,c=t.slice(0,n),u=t.slice(n+1);c.length===1&&c[0].type==="ordgroup"?i=c[0]:i={type:"ordgroup",mode:this.mode,body:c},u.length===1&&u[0].type==="ordgroup"?l=u[0]:l={type:"ordgroup",mode:this.mode,body:u};var m;return r==="\\\\abovefrac"?m=this.callFunction(r,[i,t[n],l],[]):m=this.callFunction(r,[i,l],[]),[m]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var a;do{var s;a=this.parseGroup(t)}while(((s=a)==null?void 0:s.type)==="internal");if(!a)throw new j("Expected group after '"+r+"'",n);return a}formatUnsupportedCmd(t){for(var n=[],r=0;r<t.length;r++)n.push({type:"textord",mode:"text",text:t[r]});var a={type:"text",mode:this.mode,body:n},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return s}parseAtom(t){var n=this.parseGroup("atom",t);if(n?.type==="internal"||this.mode==="text")return n;for(var r,a;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(n&&n.type==="op"){var i=s.text==="\\limits";n.limits=i,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new j("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(r)throw new j("Double superscript",s);r=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(a)throw new j("Double subscript",s);a=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(r)throw new j("Double superscript",s);var l={type:"textord",mode:this.mode,text:"\\prime"},c=[l];for(this.consume();this.fetch().text==="'";)c.push(l),this.consume();this.fetch().text==="^"&&c.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:c}}else if(Pa[s.text]){var u=t0.test(s.text),m=[];for(m.push(new it(Pa[s.text])),this.consume();;){var p=this.fetch().text;if(!Pa[p]||t0.test(p)!==u)break;m.unshift(new it(Pa[p])),this.consume()}var f=this.subparse(m);u?a={type:"ordgroup",mode:"math",body:f}:r={type:"ordgroup",mode:"math",body:f}}else break}return r||a?{type:"supsub",mode:this.mode,base:n,sup:r,sub:a}:n}parseFunction(t,n){var r=this.fetch(),a=r.text,s=nn[a];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new j("Got function '"+a+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!s.allowedInText)throw new j("Can't use function '"+a+"' in text mode",r);if(this.mode==="math"&&s.allowedInMath===!1)throw new j("Can't use function '"+a+"' in math mode",r);var{args:i,optArgs:l}=this.parseArguments(a,s);return this.callFunction(a,i,l,r,t)}callFunction(t,n,r,a,s){var i={funcName:t,parser:this,token:a,breakOnTokenText:s},l=nn[t];if(l&&l.handler)return l.handler(i,n,r);throw new j("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var a=[],s=[],i=0;i<r;i++){var l=n.argTypes&&n.argTypes[i],c=i<n.numOptionalArgs;("primitive"in n&&n.primitive&&l==null||n.type==="sqrt"&&i===1&&s[0]==null)&&(l="primitive");var u=this.parseGroupOfType("argument to '"+t+"'",l,c);if(c)s.push(u);else if(u!=null)a.push(u);else throw new j("Null argument, please report this as a bug")}return{args:a,optArgs:s}}parseGroupOfType(t,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var a=this.parseArgumentGroup(r,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text",resetFont:!0}:null}case"raw":{var s=this.parseStringGroup("raw",r);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(r)throw new j("A primitive argument cannot be optional");var i=this.parseGroup(t);if(i==null)throw new j("Expected group as "+t,this.fetch());return i}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new j("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var a="",s;(s=this.fetch()).text!=="EOF";)a+=s.text,this.consume();return this.consume(),r.text=a,r}parseRegexGroup(t,n){for(var r=this.fetch(),a=r,s="",i;(i=this.fetch()).text!=="EOF"&&t.test(s+i.text);)a=i,s+=a.text,this.consume();if(s==="")throw new j("Invalid "+n+": '"+r.text+"'",r);return r.range(a,s)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new j("Invalid color: '"+n.text+"'",n);var a=r[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var n,r=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",t),!n)return null;!t&&n.text.length===0&&(n.text="0pt",r=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!a)throw new j("Invalid size: '"+n.text+"'",n);var s={number:+(a[1]+a[2]),unit:a[3]};if(!Ac(s))throw new j("Invalid unit: '"+s.unit+"'",n);return{type:"size",mode:this.mode,value:s,isBlank:r}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,n){var r=this.gullet.scanArgument(t);if(r==null)return null;var a=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:r.loc,body:s};return n&&this.switchMode(a),i}parseGroup(t,n){var r=this.fetch(),a=r.text,s;if(a==="{"||a==="\\begingroup"){this.consume();var i=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,i),c=this.fetch();this.expect(i),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:Je.range(r,c),body:l,semisimple:a==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,t)||this.parseSymbol(),s==null&&a[0]==="\\"&&!e0.hasOwnProperty(a)){if(this.settings.throwOnError)throw new j("Undefined control sequence: "+a,r);s=this.formatUnsupportedCmd(a),this.consume()}return s}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var a=t[r];if(a.type==="textord"){var s=a.text,i=t[r+1];if(!(!i||i.type!=="textord")){if(s==="-"&&i.text==="-"){var l=t[r+2];r+1<n&&l&&l.type==="textord"&&l.text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:Je.range(a,l),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Je.range(a,i),text:"--"}),n-=1)}(s==="'"||s==="`")&&i.text===s&&(t.splice(r,2,{type:"textord",mode:"text",loc:Je.range(a,i),text:s+s}),n-=1)}}}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),a=r.charAt(0)==="*";if(a&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new j(`\\verb assertion failed --
410
- please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:a}}n0.hasOwnProperty(n[0])&&!we[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=n0[n[0]]+n.slice(1));var s=_3.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var i;if(we[this.mode][n]){this.settings.strict&&this.mode==="math"&&ti.includes(n)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var l=we[this.mode][n].group,c=Je.range(t),u;G5(l)?u={type:"atom",mode:this.mode,family:l,loc:c,text:n}:u={type:l,mode:this.mode,loc:c,text:n},i=u}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Cc(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),i={type:"textord",mode:"text",loc:Je.range(t),text:n};else return null;if(this.consume(),s)for(var m=0;m<s[0].length;m++){var p=s[0][m];if(!Li[p])throw new j("Unknown accent ' "+p+"'",t);var f=Li[p][this.mode]||Li[p].text;if(!f)throw new j("Accent "+p+" unsupported in "+this.mode+" mode",t);i={type:"accent",mode:this.mode,loc:Je.range(t),label:f,isStretchy:!1,isShifty:!0,base:i}}return i}}Oa.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Oi=o(function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Oa(e,t);delete n.gullet.macros.current["\\df@tag"];var r=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new j("\\tag works only in display equations");r=[{type:"tag",mode:"text",body:r,tag:n.subparse([new it("\\df@tag")])}]}return r},"Ps"),r0=o(function(e,t,n){t.textContent="";var r=Fi(e,n).toNode();t.appendChild(r)},"ic");typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),r0=o(function(){throw new j("KaTeX doesn't work in quirks mode.")},"ic"));var I3=o(function(e,t){var n=Fi(e,t).toMarkup();return n},"f5"),M3=o(function(e,t){var n=new Gs(t);return Oi(e,n)},"g5"),a0=o(function(e,t,n){if(n.throwOnError||!(e instanceof j))throw e;var r=O(["katex-error"],[new rt(t)]);return r.setAttribute("title",e.toString()),r.setAttribute("style","color:"+n.errorColor),r},"sc"),Fi=o(function(e,t){var n=new Gs(t);try{var r=Oi(e,n);return P5(r,e,n)}catch(a){return a0(a,e,n)}},"Os"),z3=o(function(e,t){var n=new Gs(t);try{var r=Oi(e,n);return L5(r,e,n)}catch(a){return a0(a,e,n)}},"b5"),E3="0.16.47",N3={Span:Hn,Anchor:ma,SymbolNode:rt,SvgNode:Lt,PathNode:Kt,LineNode:Ys},B3={version:E3,render:r0,renderToString:I3,ParseError:j,SETTINGS_SCHEMA:Hs,__parse:M3,__renderToDomTree:Fi,__renderToHTMLTree:z3,__setFontMetrics:b5,__defineSymbol:h,__defineFunction:X,__defineMacro:v,__domTree:N3};const R3={eof:null,dollarSign:36,leftParenthesis:40,rightParenthesis:41,asterisk:42,leftSquareBracket:91,backslash:92,rightSquareBracket:93},P3={characterGroupPunctuation:2,tabSize:4},L3={whitespace:"whitespace",lineEnding:"lineEnding",linePrefix:"linePrefix",characterEscape:"characterEscape",chunkString:"chunkString"};export{Xd as a,lm as b,cm as c,Pl as d,ia as e,R3 as f,hr as g,P3 as h,L3 as i,e1 as j,ie as k,tf as l,Z as m,I4 as n,P4 as o,Zf as p,Kf as q,B3 as r,Qd as s,Zd as t,pr as u,c1 as v};
408
+ ?)[ \r ]*`,Bi="[̀-ͯ]",$3=new RegExp(Bi+"+$"),S3="("+Xu+"+)|"+(_3+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Bi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Bi+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+k3)+("|"+x3+")");class Yu{static{o(this,"El")}constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(S3,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new it("EOF",new Je(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new j("Unexpected character: '"+t[n]+"'",new it(t[n],new Je(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=t.indexOf(`
409
+ `,this.tokenRegex.lastIndex);return s===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new it(a,new Je(this,n,this.tokenRegex.lastIndex))}}class C3{static{o(this,"h5")}constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new j("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(t)&&(s[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var A3=Su;v("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),v("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),v("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),v("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),v("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),v("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),v("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Zu={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};v("\\char",function(e){var t=e.popToken(),n,r=0;if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new j("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Zu[t.text],r==null||r>=n)throw new j("Invalid base-"+n+" digit "+t.text);for(var a;(a=Zu[e.future().text])!=null&&a<n;)r*=n,r+=a,e.popToken()}return"\\@char{"+r+"}"});var Ri=o((e,t,n,r)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new j("\\newcommand's first argument must be a macro name");var s=a[0].text,i=e.isDefined(s);if(i&&!t)throw new j("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!i&&!n)throw new j("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var l=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var c="",u=e.expandNextToken();u.text!=="]"&&u.text!=="EOF";)c+=u.text,u=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new j("Invalid number of arguments: "+c);l=parseInt(c),a=e.consumeArg().tokens}return i&&r||e.macros.set(s,{tokens:a,numArgs:l}),""},"Ls");v("\\newcommand",e=>Ri(e,!1,!0,!1)),v("\\renewcommand",e=>Ri(e,!0,!1,!1)),v("\\providecommand",e=>Ri(e,!0,!0,!0)),v("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""}),v("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""}),v("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),nn[n],we.math[n],we.text[n]),""}),v("\\bgroup","{"),v("\\egroup","}"),v("~","\\nobreakspace"),v("\\lq","`"),v("\\rq","'"),v("\\aa","\\r a"),v("\\AA","\\r A"),v("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),v("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),v("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),v("ℬ","\\mathscr{B}"),v("ℰ","\\mathscr{E}"),v("ℱ","\\mathscr{F}"),v("ℋ","\\mathscr{H}"),v("ℐ","\\mathscr{I}"),v("ℒ","\\mathscr{L}"),v("ℳ","\\mathscr{M}"),v("ℛ","\\mathscr{R}"),v("ℭ","\\mathfrak{C}"),v("ℌ","\\mathfrak{H}"),v("ℨ","\\mathfrak{Z}"),v("\\Bbbk","\\Bbb{k}"),v("\\llap","\\mathllap{\\textrm{#1}}"),v("\\rlap","\\mathrlap{\\textrm{#1}}"),v("\\clap","\\mathclap{\\textrm{#1}}"),v("\\mathstrut","\\vphantom{(}"),v("\\underbar","\\underline{\\text{#1}}"),v("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),v("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),v("\\ne","\\neq"),v("≠","\\neq"),v("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),v("∉","\\notin"),v("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),v("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),v("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),v("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),v("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),v("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),v("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),v("⟂","\\perp"),v("‼","\\mathclose{!\\mkern-0.8mu!}"),v("∌","\\notni"),v("⌜","\\ulcorner"),v("⌝","\\urcorner"),v("⌞","\\llcorner"),v("⌟","\\lrcorner"),v("©","\\copyright"),v("®","\\textregistered"),v("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),v("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),v("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),v("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),v("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),v("⋮","\\vdots"),v("\\varGamma","\\mathit{\\Gamma}"),v("\\varDelta","\\mathit{\\Delta}"),v("\\varTheta","\\mathit{\\Theta}"),v("\\varLambda","\\mathit{\\Lambda}"),v("\\varXi","\\mathit{\\Xi}"),v("\\varPi","\\mathit{\\Pi}"),v("\\varSigma","\\mathit{\\Sigma}"),v("\\varUpsilon","\\mathit{\\Upsilon}"),v("\\varPhi","\\mathit{\\Phi}"),v("\\varPsi","\\mathit{\\Psi}"),v("\\varOmega","\\mathit{\\Omega}"),v("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),v("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),v("\\boxed","\\fbox{$\\displaystyle{#1}$}"),v("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),v("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),v("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),v("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),v("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Ku={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},T3=new Set(["bin","rel"]);v("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Ku?t=Ku[n]:(n.slice(0,4)==="\\not"||n in we.math&&T3.has(we.math[n].group))&&(t="\\dotsb"),t});var Pi={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};v("\\dotso",function(e){var t=e.future().text;return t in Pi?"\\ldots\\,":"\\ldots"}),v("\\dotsc",function(e){var t=e.future().text;return t in Pi&&t!==","?"\\ldots\\,":"\\ldots"}),v("\\cdots",function(e){var t=e.future().text;return t in Pi?"\\@cdots\\,":"\\@cdots"}),v("\\dotsb","\\cdots"),v("\\dotsm","\\cdots"),v("\\dotsi","\\!\\cdots"),v("\\dotsx","\\ldots\\,"),v("\\DOTSI","\\relax"),v("\\DOTSB","\\relax"),v("\\DOTSX","\\relax"),v("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),v("\\,","\\tmspace+{3mu}{.1667em}"),v("\\thinspace","\\,"),v("\\>","\\mskip{4mu}"),v("\\:","\\tmspace+{4mu}{.2222em}"),v("\\medspace","\\:"),v("\\;","\\tmspace+{5mu}{.2777em}"),v("\\thickspace","\\;"),v("\\!","\\tmspace-{3mu}{.1667em}"),v("\\negthinspace","\\!"),v("\\negmedspace","\\tmspace-{4mu}{.2222em}"),v("\\negthickspace","\\tmspace-{5mu}{.277em}"),v("\\enspace","\\kern.5em "),v("\\enskip","\\hskip.5em\\relax"),v("\\quad","\\hskip1em\\relax"),v("\\qquad","\\hskip2em\\relax"),v("\\tag","\\@ifstar\\tag@literal\\tag@paren"),v("\\tag@paren","\\tag@literal{({#1})}"),v("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new j("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),v("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),v("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),v("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),v("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),v("\\newline","\\\\\\relax"),v("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Qu=H(wt["Main-Regular"][84][1]-.7*wt["Main-Regular"][65][1]);v("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Qu+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),v("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Qu+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),v("\\hspace","\\@ifstar\\@hspacer\\@hspace"),v("\\@hspace","\\hskip #1\\relax"),v("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),v("\\ordinarycolon",":"),v("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),v("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),v("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),v("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),v("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),v("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),v("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),v("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),v("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),v("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),v("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),v("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),v("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),v("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),v("∷","\\dblcolon"),v("∹","\\eqcolon"),v("≔","\\coloneqq"),v("≕","\\eqqcolon"),v("⩴","\\Coloneqq"),v("\\ratio","\\vcentcolon"),v("\\coloncolon","\\dblcolon"),v("\\colonequals","\\coloneqq"),v("\\coloncolonequals","\\Coloneqq"),v("\\equalscolon","\\eqqcolon"),v("\\equalscoloncolon","\\Eqqcolon"),v("\\colonminus","\\coloneq"),v("\\coloncolonminus","\\Coloneq"),v("\\minuscolon","\\eqcolon"),v("\\minuscoloncolon","\\Eqcolon"),v("\\coloncolonapprox","\\Colonapprox"),v("\\coloncolonsim","\\Colonsim"),v("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),v("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),v("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),v("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),v("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),v("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),v("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),v("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),v("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),v("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),v("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),v("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),v("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),v("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),v("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),v("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),v("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),v("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),v("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),v("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),v("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),v("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),v("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),v("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),v("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),v("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),v("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),v("\\imath","\\html@mathml{\\@imath}{ı}"),v("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),v("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),v("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),v("⟦","\\llbracket"),v("⟧","\\rrbracket"),v("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),v("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),v("⦃","\\lBrace"),v("⦄","\\rBrace"),v("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),v("⦵","\\minuso"),v("\\darr","\\downarrow"),v("\\dArr","\\Downarrow"),v("\\Darr","\\Downarrow"),v("\\lang","\\langle"),v("\\rang","\\rangle"),v("\\uarr","\\uparrow"),v("\\uArr","\\Uparrow"),v("\\Uarr","\\Uparrow"),v("\\N","\\mathbb{N}"),v("\\R","\\mathbb{R}"),v("\\Z","\\mathbb{Z}"),v("\\alef","\\aleph"),v("\\alefsym","\\aleph"),v("\\Alpha","\\mathrm{A}"),v("\\Beta","\\mathrm{B}"),v("\\bull","\\bullet"),v("\\Chi","\\mathrm{X}"),v("\\clubs","\\clubsuit"),v("\\cnums","\\mathbb{C}"),v("\\Complex","\\mathbb{C}"),v("\\Dagger","\\ddagger"),v("\\diamonds","\\diamondsuit"),v("\\empty","\\emptyset"),v("\\Epsilon","\\mathrm{E}"),v("\\Eta","\\mathrm{H}"),v("\\exist","\\exists"),v("\\harr","\\leftrightarrow"),v("\\hArr","\\Leftrightarrow"),v("\\Harr","\\Leftrightarrow"),v("\\hearts","\\heartsuit"),v("\\image","\\Im"),v("\\infin","\\infty"),v("\\Iota","\\mathrm{I}"),v("\\isin","\\in"),v("\\Kappa","\\mathrm{K}"),v("\\larr","\\leftarrow"),v("\\lArr","\\Leftarrow"),v("\\Larr","\\Leftarrow"),v("\\lrarr","\\leftrightarrow"),v("\\lrArr","\\Leftrightarrow"),v("\\Lrarr","\\Leftrightarrow"),v("\\Mu","\\mathrm{M}"),v("\\natnums","\\mathbb{N}"),v("\\Nu","\\mathrm{N}"),v("\\Omicron","\\mathrm{O}"),v("\\plusmn","\\pm"),v("\\rarr","\\rightarrow"),v("\\rArr","\\Rightarrow"),v("\\Rarr","\\Rightarrow"),v("\\real","\\Re"),v("\\reals","\\mathbb{R}"),v("\\Reals","\\mathbb{R}"),v("\\Rho","\\mathrm{P}"),v("\\sdot","\\cdot"),v("\\sect","\\S"),v("\\spades","\\spadesuit"),v("\\sub","\\subset"),v("\\sube","\\subseteq"),v("\\supe","\\supseteq"),v("\\Tau","\\mathrm{T}"),v("\\thetasym","\\vartheta"),v("\\weierp","\\wp"),v("\\Zeta","\\mathrm{Z}"),v("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),v("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),v("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),v("\\bra","\\mathinner{\\langle{#1}|}"),v("\\ket","\\mathinner{|{#1}\\rangle}"),v("\\braket","\\mathinner{\\langle{#1}\\rangle}"),v("\\Bra","\\left\\langle#1\\right|"),v("\\Ket","\\left|#1\\right\\rangle");var Ju=o(e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,i=t.macros.get("|"),l=t.macros.get("\\|");t.macros.beginGroup();var c=o(p=>f=>{e&&(f.macros.set("|",i),a.length&&f.macros.set("\\|",l));var g=p;if(!p&&a.length){var y=f.future();y.text==="|"&&(f.popToken(),g=!0)}return{tokens:g?a:r,numArgs:0}},"l");t.macros.set("|",c(!1)),a.length&&t.macros.set("\\|",c(!0));var u=t.consumeArg().tokens,m=t.expandTokens([...s,...u,...n]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}},"rc");v("\\bra@ket",Ju(!1)),v("\\bra@set",Ju(!0)),v("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),v("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),v("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),v("\\angln","{\\angl n}"),v("\\blue","\\textcolor{##6495ed}{#1}"),v("\\orange","\\textcolor{##ffa500}{#1}"),v("\\pink","\\textcolor{##ff00af}{#1}"),v("\\red","\\textcolor{##df0030}{#1}"),v("\\green","\\textcolor{##28ae7b}{#1}"),v("\\gray","\\textcolor{gray}{#1}"),v("\\purple","\\textcolor{##9d38bd}{#1}"),v("\\blueA","\\textcolor{##ccfaff}{#1}"),v("\\blueB","\\textcolor{##80f6ff}{#1}"),v("\\blueC","\\textcolor{##63d9ea}{#1}"),v("\\blueD","\\textcolor{##11accd}{#1}"),v("\\blueE","\\textcolor{##0c7f99}{#1}"),v("\\tealA","\\textcolor{##94fff5}{#1}"),v("\\tealB","\\textcolor{##26edd5}{#1}"),v("\\tealC","\\textcolor{##01d1c1}{#1}"),v("\\tealD","\\textcolor{##01a995}{#1}"),v("\\tealE","\\textcolor{##208170}{#1}"),v("\\greenA","\\textcolor{##b6ffb0}{#1}"),v("\\greenB","\\textcolor{##8af281}{#1}"),v("\\greenC","\\textcolor{##74cf70}{#1}"),v("\\greenD","\\textcolor{##1fab54}{#1}"),v("\\greenE","\\textcolor{##0d923f}{#1}"),v("\\goldA","\\textcolor{##ffd0a9}{#1}"),v("\\goldB","\\textcolor{##ffbb71}{#1}"),v("\\goldC","\\textcolor{##ff9c39}{#1}"),v("\\goldD","\\textcolor{##e07d10}{#1}"),v("\\goldE","\\textcolor{##a75a05}{#1}"),v("\\redA","\\textcolor{##fca9a9}{#1}"),v("\\redB","\\textcolor{##ff8482}{#1}"),v("\\redC","\\textcolor{##f9685d}{#1}"),v("\\redD","\\textcolor{##e84d39}{#1}"),v("\\redE","\\textcolor{##bc2612}{#1}"),v("\\maroonA","\\textcolor{##ffbde0}{#1}"),v("\\maroonB","\\textcolor{##ff92c6}{#1}"),v("\\maroonC","\\textcolor{##ed5fa6}{#1}"),v("\\maroonD","\\textcolor{##ca337c}{#1}"),v("\\maroonE","\\textcolor{##9e034e}{#1}"),v("\\purpleA","\\textcolor{##ddd7ff}{#1}"),v("\\purpleB","\\textcolor{##c6b9fc}{#1}"),v("\\purpleC","\\textcolor{##aa87ff}{#1}"),v("\\purpleD","\\textcolor{##7854ab}{#1}"),v("\\purpleE","\\textcolor{##543b78}{#1}"),v("\\mintA","\\textcolor{##f5f9e8}{#1}"),v("\\mintB","\\textcolor{##edf2df}{#1}"),v("\\mintC","\\textcolor{##e0e5cc}{#1}"),v("\\grayA","\\textcolor{##f6f7f7}{#1}"),v("\\grayB","\\textcolor{##f0f1f2}{#1}"),v("\\grayC","\\textcolor{##e3e5e6}{#1}"),v("\\grayD","\\textcolor{##d6d8da}{#1}"),v("\\grayE","\\textcolor{##babec2}{#1}"),v("\\grayF","\\textcolor{##888d93}{#1}"),v("\\grayG","\\textcolor{##626569}{#1}"),v("\\grayH","\\textcolor{##3b3e40}{#1}"),v("\\grayI","\\textcolor{##21242c}{#1}"),v("\\kaBlue","\\textcolor{##314453}{#1}"),v("\\kaGreen","\\textcolor{##71B307}{#1}");var e0={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class I3{static{o(this,"f5")}constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new C3(A3,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new Yu(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:n,end:r}=this.consumeArg());return this.pushToken(new it("EOF",r.loc)),this.pushTokens(a),new it("",Je.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var a=this.future(),s,i=0,l=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++i;else if(s.text==="}"){if(--i,i===-1)throw new j("Extra }",s)}else if(s.text==="EOF")throw new j("Unexpected end of input in a macro argument, expected '"+(t&&r?t[l]:"}")+"'",s);if(t&&r)if((i===0||i===1&&t[l]==="{")&&s.text===t[l]){if(++l,l===t.length){n.splice(-l,l);break}}else l=0}while(i!==0||r);return a.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:a,end:s}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new j("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;a<r.length;a++){var s=this.popToken();if(r[a]!==s.text)throw new j("Use of the macro doesn't match its definition",s)}}for(var i=[],l=0;l<t;l++)i.push(this.consumeArg(n&&n[l+1]).tokens);return i}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new j("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,a=n.noexpand?null:this._getExpansion(r);if(a==null||t&&a.unexpandable){if(t&&a==null&&r[0]==="\\"&&!this.isDefined(r))throw new j("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var s=a.tokens,i=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){s=s.slice();for(var l=s.length-1;l>=0;--l){var c=s[l];if(c.text==="#"){if(l===0)throw new j("Incomplete placeholder at end of macro body",c);if(c=s[--l],c.text==="#")s.splice(l+1,1);else if(/^[1-9]$/.test(c.text))s.splice(l,2,...i[+c.text-1]);else throw new j("Not a valid argument number",c)}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new it(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),n.push(a)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var s=0;if(a.includes("#"))for(var i=a.replace(/##/g,"");i.includes("#"+(s+1));)++s;for(var l=new Yu(a,this.settings),c=[],u=l.lex();u.text!=="EOF";)c.push(u),u=l.lex();c.reverse();var m={tokens:c,numArgs:s};return m}return a}isDefined(t){return this.macros.has(t)||nn.hasOwnProperty(t)||we.math.hasOwnProperty(t)||we.text.hasOwnProperty(t)||e0.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:nn.hasOwnProperty(t)&&!nn[t].primitive}}var t0=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Pa=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Li={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},n0={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Oa{static{o(this,"Fa")}constructor(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new I3(t,n,this.mode),this.settings=n,this.leftrightDepth=0,this.nextToken=null}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new j("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new it("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(Oa.endOfExpression.has(a.text)||n&&a.text===n||t&&nn[a.text]&&nn[a.text].infix)break;var s=this.parseAtom(n);if(s){if(s.type==="internal")continue}else break;r.push(s)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,a=0;a<t.length;a++){var s=t[a];if(s.type==="infix"){if(n!==-1)throw new j("only one infix operator per group",s.token);n=a,r=s.replaceWith}}if(n!==-1&&r){var i,l,c=t.slice(0,n),u=t.slice(n+1);c.length===1&&c[0].type==="ordgroup"?i=c[0]:i={type:"ordgroup",mode:this.mode,body:c},u.length===1&&u[0].type==="ordgroup"?l=u[0]:l={type:"ordgroup",mode:this.mode,body:u};var m;return r==="\\\\abovefrac"?m=this.callFunction(r,[i,t[n],l],[]):m=this.callFunction(r,[i,l],[]),[m]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var a;do{var s;a=this.parseGroup(t)}while(((s=a)==null?void 0:s.type)==="internal");if(!a)throw new j("Expected group after '"+r+"'",n);return a}formatUnsupportedCmd(t){for(var n=[],r=0;r<t.length;r++)n.push({type:"textord",mode:"text",text:t[r]});var a={type:"text",mode:this.mode,body:n},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return s}parseAtom(t){var n=this.parseGroup("atom",t);if(n?.type==="internal"||this.mode==="text")return n;for(var r,a;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(n&&n.type==="op"){var i=s.text==="\\limits";n.limits=i,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new j("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(r)throw new j("Double superscript",s);r=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(a)throw new j("Double subscript",s);a=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(r)throw new j("Double superscript",s);var l={type:"textord",mode:this.mode,text:"\\prime"},c=[l];for(this.consume();this.fetch().text==="'";)c.push(l),this.consume();this.fetch().text==="^"&&c.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:c}}else if(Pa[s.text]){var u=t0.test(s.text),m=[];for(m.push(new it(Pa[s.text])),this.consume();;){var p=this.fetch().text;if(!Pa[p]||t0.test(p)!==u)break;m.unshift(new it(Pa[p])),this.consume()}var f=this.subparse(m);u?a={type:"ordgroup",mode:"math",body:f}:r={type:"ordgroup",mode:"math",body:f}}else break}return r||a?{type:"supsub",mode:this.mode,base:n,sup:r,sub:a}:n}parseFunction(t,n){var r=this.fetch(),a=r.text,s=nn[a];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new j("Got function '"+a+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!s.allowedInText)throw new j("Can't use function '"+a+"' in text mode",r);if(this.mode==="math"&&s.allowedInMath===!1)throw new j("Can't use function '"+a+"' in math mode",r);var{args:i,optArgs:l}=this.parseArguments(a,s);return this.callFunction(a,i,l,r,t)}callFunction(t,n,r,a,s){var i={funcName:t,parser:this,token:a,breakOnTokenText:s},l=nn[t];if(l&&l.handler)return l.handler(i,n,r);throw new j("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var a=[],s=[],i=0;i<r;i++){var l=n.argTypes&&n.argTypes[i],c=i<n.numOptionalArgs;("primitive"in n&&n.primitive&&l==null||n.type==="sqrt"&&i===1&&s[0]==null)&&(l="primitive");var u=this.parseGroupOfType("argument to '"+t+"'",l,c);if(c)s.push(u);else if(u!=null)a.push(u);else throw new j("Null argument, please report this as a bug")}return{args:a,optArgs:s}}parseGroupOfType(t,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var a=this.parseArgumentGroup(r,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text",resetFont:!0}:null}case"raw":{var s=this.parseStringGroup("raw",r);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(r)throw new j("A primitive argument cannot be optional");var i=this.parseGroup(t);if(i==null)throw new j("Expected group as "+t,this.fetch());return i}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new j("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var a="",s;(s=this.fetch()).text!=="EOF";)a+=s.text,this.consume();return this.consume(),r.text=a,r}parseRegexGroup(t,n){for(var r=this.fetch(),a=r,s="",i;(i=this.fetch()).text!=="EOF"&&t.test(s+i.text);)a=i,s+=a.text,this.consume();if(s==="")throw new j("Invalid "+n+": '"+r.text+"'",r);return r.range(a,s)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new j("Invalid color: '"+n.text+"'",n);var a=r[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var n,r=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",t),!n)return null;!t&&n.text.length===0&&(n.text="0pt",r=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!a)throw new j("Invalid size: '"+n.text+"'",n);var s={number:+(a[1]+a[2]),unit:a[3]};if(!Ac(s))throw new j("Invalid unit: '"+s.unit+"'",n);return{type:"size",mode:this.mode,value:s,isBlank:r}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,n){var r=this.gullet.scanArgument(t);if(r==null)return null;var a=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:r.loc,body:s};return n&&this.switchMode(a),i}parseGroup(t,n){var r=this.fetch(),a=r.text,s;if(a==="{"||a==="\\begingroup"){this.consume();var i=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,i),c=this.fetch();this.expect(i),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:Je.range(r,c),body:l,semisimple:a==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,t)||this.parseSymbol(),s==null&&a[0]==="\\"&&!e0.hasOwnProperty(a)){if(this.settings.throwOnError)throw new j("Undefined control sequence: "+a,r);s=this.formatUnsupportedCmd(a),this.consume()}return s}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var a=t[r];if(a.type==="textord"){var s=a.text,i=t[r+1];if(!(!i||i.type!=="textord")){if(s==="-"&&i.text==="-"){var l=t[r+2];r+1<n&&l&&l.type==="textord"&&l.text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:Je.range(a,l),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Je.range(a,i),text:"--"}),n-=1)}(s==="'"||s==="`")&&i.text===s&&(t.splice(r,2,{type:"textord",mode:"text",loc:Je.range(a,i),text:s+s}),n-=1)}}}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),a=r.charAt(0)==="*";if(a&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new j(`\\verb assertion failed --
410
+ please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:a}}n0.hasOwnProperty(n[0])&&!we[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=n0[n[0]]+n.slice(1));var s=$3.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var i;if(we[this.mode][n]){this.settings.strict&&this.mode==="math"&&ti.includes(n)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var l=we[this.mode][n].group,c=Je.range(t),u;U5(l)?u={type:"atom",mode:this.mode,family:l,loc:c,text:n}:u={type:l,mode:this.mode,loc:c,text:n},i=u}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Sc(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),i={type:"textord",mode:"text",loc:Je.range(t),text:n};else return null;if(this.consume(),s)for(var m=0;m<s[0].length;m++){var p=s[0][m];if(!Li[p])throw new j("Unknown accent ' "+p+"'",t);var f=Li[p][this.mode]||Li[p].text;if(!f)throw new j("Accent "+p+" unsupported in "+this.mode+" mode",t);i={type:"accent",mode:this.mode,loc:Je.range(t),label:f,isStretchy:!1,isShifty:!0,base:i}}return i}}Oa.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Oi=o(function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Oa(e,t);delete n.gullet.macros.current["\\df@tag"];var r=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new j("\\tag works only in display equations");r=[{type:"tag",mode:"text",body:r,tag:n.subparse([new it("\\df@tag")])}]}return r},"Ps"),r0=o(function(e,t,n){t.textContent="";var r=Fi(e,n).toNode();t.appendChild(r)},"ic");typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),r0=o(function(){throw new j("KaTeX doesn't work in quirks mode.")},"ic"));var M3=o(function(e,t){var n=Fi(e,t).toMarkup();return n},"g5"),z3=o(function(e,t){var n=new Gs(t);return Oi(e,n)},"b5"),a0=o(function(e,t,n){if(n.throwOnError||!(e instanceof j))throw e;var r=O(["katex-error"],[new rt(t)]);return r.setAttribute("title",e.toString()),r.setAttribute("style","color:"+n.errorColor),r},"sc"),Fi=o(function(e,t){var n=new Gs(t);try{var r=Oi(e,n);return L5(r,e,n)}catch(a){return a0(a,e,n)}},"Os"),E3=o(function(e,t){var n=new Gs(t);try{var r=Oi(e,n);return O5(r,e,n)}catch(a){return a0(a,e,n)}},"y5"),N3="0.16.47",B3={Span:Hn,Anchor:ma,SymbolNode:rt,SvgNode:Lt,PathNode:Kt,LineNode:Ys},R3={version:N3,render:r0,renderToString:M3,ParseError:j,SETTINGS_SCHEMA:Hs,__parse:z3,__renderToDomTree:Fi,__renderToHTMLTree:E3,__setFontMetrics:y5,__defineSymbol:h,__defineFunction:X,__defineMacro:v,__domTree:B3};const P3={eof:null,dollarSign:36,leftParenthesis:40,rightParenthesis:41,asterisk:42,leftSquareBracket:91,backslash:92,rightSquareBracket:93},L3={characterGroupPunctuation:2,tabSize:4},O3={whitespace:"whitespace",lineEnding:"lineEnding",linePrefix:"linePrefix",characterEscape:"characterEscape",chunkString:"chunkString"};export{Yd as a,cm as b,um as c,Pl as d,ia as e,P3 as f,hr as g,L3 as h,O3 as i,t1 as j,ie as k,nf as l,Z as m,M4 as n,L4 as o,Kf as p,Qf as q,R3 as r,Jd as s,Kd as t,pr as u,u1 as v};