@inkeep/agents-manage-ui 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/.next/standalone/agents-manage-ui/.next/BUILD_ID +1 -1
  2. package/.next/standalone/agents-manage-ui/.next/app-build-manifest.json +102 -102
  3. package/.next/standalone/agents-manage-ui/.next/app-path-routes-manifest.json +4 -4
  4. package/.next/standalone/agents-manage-ui/.next/build-manifest.json +2 -2
  5. package/.next/standalone/agents-manage-ui/.next/prerender-manifest.json +3 -27
  6. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/page.js +2 -2
  7. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/page.js.nft.json +1 -1
  8. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/page_client-reference-manifest.js +1 -1
  9. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/api-keys/page.js +3 -3
  10. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/api-keys/page.js.nft.json +1 -1
  11. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/api-keys/page_client-reference-manifest.js +1 -1
  12. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/[artifactComponentId]/page.js +2 -2
  13. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/[artifactComponentId]/page.js.nft.json +1 -1
  14. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/[artifactComponentId]/page_client-reference-manifest.js +1 -1
  15. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/new/page.js +1 -1
  16. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/new/page.js.nft.json +1 -1
  17. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/new/page_client-reference-manifest.js +1 -1
  18. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/page.js +2 -2
  19. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/page.js.nft.json +1 -1
  20. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifact-components/page_client-reference-manifest.js +1 -1
  21. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/page.js +2 -2
  22. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/page.js.nft.json +1 -1
  23. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/page_client-reference-manifest.js +1 -1
  24. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page.js +2 -2
  25. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page.js.nft.json +1 -1
  26. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page_client-reference-manifest.js +1 -1
  27. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/page.js +2 -2
  28. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/page.js.nft.json +1 -1
  29. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/page_client-reference-manifest.js +1 -1
  30. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page.js +2 -2
  31. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page.js.nft.json +1 -1
  32. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page_client-reference-manifest.js +1 -1
  33. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/page.js +2 -2
  34. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/page.js.nft.json +1 -1
  35. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/page.js +2 -2
  37. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/page.js.nft.json +1 -1
  38. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/page_client-reference-manifest.js +1 -1
  39. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/[dataComponentId]/page.js +2 -2
  40. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/[dataComponentId]/page.js.nft.json +1 -1
  41. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/[dataComponentId]/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/new/page.js +2 -2
  43. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/new/page.js.nft.json +1 -1
  44. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/new/page_client-reference-manifest.js +1 -1
  45. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/page.js +1 -1
  46. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/page.js.nft.json +1 -1
  47. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/data-components/page_client-reference-manifest.js +1 -1
  48. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/[graphId]/page.js +2 -2
  49. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/[graphId]/page.js.nft.json +1 -1
  50. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/[graphId]/page_client-reference-manifest.js +1 -1
  51. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/new/page.js +2 -2
  52. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/new/page.js.nft.json +1 -1
  53. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/new/page_client-reference-manifest.js +1 -1
  54. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/page.js +2 -2
  55. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/page.js.nft.json +1 -1
  56. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/graphs/page_client-reference-manifest.js +1 -1
  57. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/edit/page.js +2 -2
  58. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/edit/page.js.nft.json +1 -1
  59. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/edit/page_client-reference-manifest.js +1 -1
  60. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page.js +1 -1
  61. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page.js.nft.json +1 -1
  62. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page_client-reference-manifest.js +1 -1
  63. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/new/page.js +2 -2
  64. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/new/page.js.nft.json +1 -1
  65. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/new/page_client-reference-manifest.js +1 -1
  66. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/page.js +1 -1
  67. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/page.js.nft.json +1 -1
  68. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/page_client-reference-manifest.js +1 -1
  69. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/page.js +2 -2
  70. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/page.js.nft.json +1 -1
  71. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/page_client-reference-manifest.js +1 -1
  72. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/settings/page.js +1 -1
  73. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/settings/page.js.nft.json +1 -1
  74. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/settings/page_client-reference-manifest.js +1 -1
  75. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/ai-calls/page.js +2 -2
  76. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/ai-calls/page.js.nft.json +1 -1
  77. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/ai-calls/page_client-reference-manifest.js +1 -1
  78. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/page.js +2 -2
  79. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/page.js.nft.json +1 -1
  80. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/page_client-reference-manifest.js +1 -1
  81. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/page.js +3 -3
  82. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/page.js.nft.json +1 -1
  83. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/page_client-reference-manifest.js +1 -1
  84. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/page.js +2 -2
  85. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/page.js.nft.json +1 -1
  86. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/page_client-reference-manifest.js +1 -1
  87. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found/page.js +2 -2
  88. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found/page.js.nft.json +1 -1
  89. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  90. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.html +1 -1
  91. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.rsc +22 -21
  92. package/.next/standalone/agents-manage-ui/.next/server/app/api/signoz/conversations/[conversationId]/route.js +2 -2
  93. package/.next/standalone/agents-manage-ui/.next/server/app/api/signoz/conversations/[conversationId]/route_client-reference-manifest.js +1 -1
  94. package/.next/standalone/agents-manage-ui/.next/server/app/api/signoz/route.js +1 -1
  95. package/.next/standalone/agents-manage-ui/.next/server/app/api/signoz/route_client-reference-manifest.js +1 -1
  96. package/.next/standalone/agents-manage-ui/.next/server/app/page.js +2 -2
  97. package/.next/standalone/agents-manage-ui/.next/server/app/page.js.nft.json +1 -1
  98. package/.next/standalone/agents-manage-ui/.next/server/app/page_client-reference-manifest.js +1 -1
  99. package/.next/standalone/agents-manage-ui/.next/server/app-paths-manifest.json +4 -4
  100. package/.next/standalone/agents-manage-ui/.next/server/chunks/1190.js +10 -0
  101. package/.next/standalone/agents-manage-ui/.next/server/chunks/1287.js +1 -1
  102. package/.next/standalone/agents-manage-ui/.next/server/chunks/{5368.js → 2742.js} +2 -2
  103. package/.next/standalone/agents-manage-ui/.next/server/chunks/2933.js +1 -0
  104. package/.next/standalone/agents-manage-ui/.next/server/chunks/3368.js +1 -1
  105. package/.next/standalone/agents-manage-ui/.next/server/chunks/4072.js +1 -1
  106. package/.next/standalone/agents-manage-ui/.next/server/chunks/4129.js +1 -0
  107. package/.next/standalone/agents-manage-ui/.next/server/chunks/4308.js +12 -12
  108. package/.next/standalone/agents-manage-ui/.next/server/chunks/4793.js +1 -0
  109. package/.next/standalone/agents-manage-ui/.next/server/chunks/{1670.js → 5108.js} +3 -3
  110. package/.next/standalone/agents-manage-ui/.next/server/chunks/5795.js +3 -3
  111. package/.next/standalone/agents-manage-ui/.next/server/chunks/6555.js +1 -1
  112. package/.next/standalone/agents-manage-ui/.next/server/chunks/6708.js +2 -2
  113. package/.next/standalone/agents-manage-ui/.next/server/chunks/7322.js +1 -0
  114. package/.next/standalone/agents-manage-ui/.next/server/chunks/8776.js +1 -0
  115. package/.next/standalone/agents-manage-ui/.next/server/chunks/8845.js +1 -0
  116. package/.next/standalone/agents-manage-ui/.next/server/chunks/9037.js +1 -1
  117. package/.next/standalone/agents-manage-ui/.next/server/chunks/990.js +1 -0
  118. package/.next/standalone/agents-manage-ui/.next/server/pages/404.html +1 -1
  119. package/.next/standalone/agents-manage-ui/.next/server/pages/500.html +1 -1
  120. package/.next/standalone/agents-manage-ui/.next/server/server-reference-manifest.js +1 -1
  121. package/.next/standalone/agents-manage-ui/.next/server/server-reference-manifest.json +1 -1
  122. package/.next/standalone/agents-manage-ui/.next/static/chunks/{9601-b2f661f98f8cc69f.js → 1029-41f6ad7e17bca90a.js} +1 -1
  123. package/.next/standalone/agents-manage-ui/.next/static/chunks/1826-17100ace4251083b.js +15 -0
  124. package/.next/standalone/agents-manage-ui/.next/static/chunks/{6159-9e6d36b3c3860bee.js → 3207-7b15202583d5a8ef.js} +1 -1
  125. package/.next/standalone/agents-manage-ui/.next/static/chunks/4794-9141d5332ac2301f.js +1 -0
  126. package/.next/standalone/agents-manage-ui/.next/static/chunks/5068-d4afdb3ec3d15932.js +1 -0
  127. package/.next/standalone/agents-manage-ui/.next/static/chunks/5081-6d03f3fcf91e6559.js +1 -0
  128. package/.next/standalone/agents-manage-ui/.next/static/chunks/5488-f93b485144808802.js +1 -0
  129. package/.next/standalone/agents-manage-ui/.next/static/chunks/5761-7edfa410b3101135.js +1 -0
  130. package/.next/standalone/agents-manage-ui/.next/static/chunks/7119-14ff106d7e78ac44.js +1 -0
  131. package/.next/standalone/agents-manage-ui/.next/static/chunks/{8086-efb7f15e5c6f3a25.js → 8086-ffef08168d153aaf.js} +1 -1
  132. package/.next/standalone/agents-manage-ui/.next/static/chunks/9009-8eb456470fd12a71.js +1 -0
  133. package/.next/standalone/agents-manage-ui/.next/static/chunks/{1456-95544bedfb550a4c.js → 9436-b09c0c4d069c7446.js} +1 -1
  134. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/api-keys/page-3aaaadce493f6e6e.js +1 -0
  135. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifact-components/[artifactComponentId]/page-743377ad143d10ef.js +1 -0
  136. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifact-components/new/page-743377ad143d10ef.js +1 -0
  137. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifact-components/page-95763ee83409e75b.js +1 -0
  138. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/{page-3123485a5c93f80a.js → page-9f0bef09a3c5418e.js} +1 -1
  139. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page-5662fa69fd05db59.js +1 -0
  140. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page-ef468641e60fa16e.js +1 -0
  141. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/page-2708179ce37b3025.js +1 -0
  142. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/data-components/[dataComponentId]/page-d67853ed8cb27e6a.js +1 -0
  143. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/data-components/new/page-d67853ed8cb27e6a.js +1 -0
  144. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/data-components/page-89ffcf132c74038a.js +1 -0
  145. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/graphs/[graphId]/{page-ed702546246fa4e8.js → page-749622f8e7f32f7c.js} +1 -1
  146. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/graphs/new/{page-c068c0227ca82374.js → page-2d86c77707427f9b.js} +1 -1
  147. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/graphs/{page-79d8d65cdf952e85.js → page-edf75f67658bd2a6.js} +1 -1
  148. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/edit/{page-549124f8671ee1a8.js → page-5d9beee2579ac798.js} +1 -1
  149. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page-b3609acd09223e21.js +1 -0
  150. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/new/{page-ae7020d0f10675d0.js → page-b6962789605dcfec.js} +1 -1
  151. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/{page-4f863b4b6994cf76.js → page-1dbac907b75d8dff.js} +1 -1
  152. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/settings/{page-fa07d67dbe427369.js → page-3c4d8da1055f66d6.js} +1 -1
  153. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/ai-calls/{page-a45d0011f8c15e15.js → page-d75dec6bc05d43d0.js} +1 -1
  154. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/page-1a6289beb471aedf.js +1 -0
  155. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/page-1bce8970fd6ba278.js +1 -0
  156. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/page-47f49db8f7651efe.js +1 -0
  157. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/layout-8b5798e0b1068355.js +1 -0
  158. package/.next/standalone/agents-manage-ui/.next/static/css/644ed4d79ebe1364.css +1 -0
  159. package/.next/standalone/agents-manage-ui/package.json +1 -1
  160. package/.next/standalone/package.json +2 -1
  161. package/.next/standalone/packages/agents-core/package.json +3 -1
  162. package/README.md +4 -5
  163. package/package.json +4 -4
  164. package/.next/standalone/agents-manage-ui/.next/server/app/index.html +0 -1
  165. package/.next/standalone/agents-manage-ui/.next/server/app/index.meta +0 -9
  166. package/.next/standalone/agents-manage-ui/.next/server/app/index.rsc +0 -26
  167. package/.next/standalone/agents-manage-ui/.next/server/chunks/1692.js +0 -1
  168. package/.next/standalone/agents-manage-ui/.next/server/chunks/3264.js +0 -1
  169. package/.next/standalone/agents-manage-ui/.next/server/chunks/379.js +0 -1
  170. package/.next/standalone/agents-manage-ui/.next/server/chunks/4039.js +0 -1
  171. package/.next/standalone/agents-manage-ui/.next/server/chunks/5019.js +0 -1
  172. package/.next/standalone/agents-manage-ui/.next/server/chunks/5719.js +0 -1
  173. package/.next/standalone/agents-manage-ui/.next/server/chunks/5868.js +0 -1
  174. package/.next/standalone/agents-manage-ui/.next/server/chunks/748.js +0 -10
  175. package/.next/standalone/agents-manage-ui/.next/static/chunks/224-e42e4d6543f7b59e.js +0 -1
  176. package/.next/standalone/agents-manage-ui/.next/static/chunks/2326-393854a04660f124.js +0 -1
  177. package/.next/standalone/agents-manage-ui/.next/static/chunks/5068-8a8e940ec0afefb2.js +0 -1
  178. package/.next/standalone/agents-manage-ui/.next/static/chunks/5326-27b5cd82e0c5bb0d.js +0 -1
  179. package/.next/standalone/agents-manage-ui/.next/static/chunks/5761-bf68d7834668b0d2.js +0 -1
  180. package/.next/standalone/agents-manage-ui/.next/static/chunks/7119-75d010d287973f24.js +0 -1
  181. package/.next/standalone/agents-manage-ui/.next/static/chunks/7224-0fa99116bbf1298d.js +0 -1
  182. package/.next/standalone/agents-manage-ui/.next/static/chunks/8847-4bb303ebed228d8f.js +0 -15
  183. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/api-keys/page-6b7a562b775e7a8a.js +0 -1
  184. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifact-components/[artifactComponentId]/page-dea9af5e9a5da02b.js +0 -1
  185. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifact-components/new/page-dea9af5e9a5da02b.js +0 -1
  186. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifact-components/page-65fafa316b135ee9.js +0 -1
  187. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page-10565e2eded25047.js +0 -1
  188. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page-c2b570070a4c3289.js +0 -1
  189. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/page-d8ef0d7010722a86.js +0 -1
  190. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/data-components/[dataComponentId]/page-e1872f4a311c143d.js +0 -1
  191. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/data-components/new/page-e1872f4a311c143d.js +0 -1
  192. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/data-components/page-76497642943fee44.js +0 -1
  193. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page-e741836764ed7b2d.js +0 -1
  194. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/page-b54a121418c60f45.js +0 -1
  195. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/page-d0d1b8c9b7eedc22.js +0 -1
  196. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/page-8d9815d36061e999.js +0 -1
  197. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/layout-b2f8eefa11e41188.js +0 -1
  198. package/.next/standalone/agents-manage-ui/.next/static/css/87a090e510a0d73c.css +0 -1
  199. /package/.next/standalone/agents-manage-ui/.next/static/{QvdFrdxN55o4yo760kpIc → Q-bqCkkwdUB3axl2Clyqi}/_buildManifest.js +0 -0
  200. /package/.next/standalone/agents-manage-ui/.next/static/{QvdFrdxN55o4yo760kpIc → Q-bqCkkwdUB3axl2Clyqi}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6159],{1181:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},3187:(e,t,n)=>{"use strict";function r(e){return e.toLowerCase()}n.d(t,{S:()=>r})},7019:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{D:()=>r})},8612:(e,t,n)=>{"use strict";n.d(t,{BM:()=>o,CW:()=>r,Ee:()=>d,HP:()=>c,JQ:()=>l,Ny:()=>f,On:()=>h,cx:()=>a,es:()=>p,lV:()=>i,ok:()=>s,ol:()=>u});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),a=m(/[#-'*+\--9=?A-Z^-~]/);function l(e){return null!==e&&(e<32||127===e)}let o=m(/\d/),s=m(/[\dA-Fa-f]/),u=m(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function h(e){return -2===e||-1===e||32===e}let p=m(/\p{P}|\p{S}/u),f=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},9640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},11364:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,l=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(l,n)?l[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},14637:(e,t,n)=>{"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n=t.defaultOrigin,o=void 0===n?"":n,s=t.allowedLinkPrefixes,u=void 0===s?[]:s,c=t.allowedImagePrefixes,d=void 0===c?[]:c,h=t.components,p=i(t,["defaultOrigin","allowedLinkPrefixes","allowedImagePrefixes","components"]),f=u.length&&!u.every(function(e){return"*"===e}),m=d.length&&!d.every(function(e){return"*"===e});if(!o&&(f||m))throw Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");var g=function(e){if("string"!=typeof e)return null;try{var t=new URL(e);return t}catch(n){if(o)try{var t=new URL(e,o);return t}catch(e){}return null}},y=function(e){return"string"==typeof e&&e.startsWith("/")},b=function(e,t){if(!e||!g(e))return null;if(t.includes("*")){var n=y(e),r=g(e);return r?n?r.pathname+r.search+r.hash:r.href:null}var i=y(e),a=g(e);return a&&t.some(function(e){var t=g(e);return!!t&&t.origin===a.origin&&a.href.startsWith(t.href)})?i?a.pathname+a.search+a.hash:a.href:null},k=r(r({},h),{a:function(e){var t=e.href,n=e.children,o=e.node,s=i(e,["href","children","node"]),c=b(t,u);return null!==c?(null==h?void 0:h.a)?(0,l.createElement)(h.a,r({href:c,children:n,node:o,target:"_blank",rel:"noopener noreferrer"},s)):(0,a.jsx)("a",r({href:c},s,{target:"_blank",rel:"noopener noreferrer",children:n})):(0,a.jsxs)("span",{className:"text-gray-500",title:"Blocked URL: ".concat(t),children:[n," [blocked]"]})},img:function(e){var t=e.src,n=e.alt,o=e.node,s=i(e,["src","alt","node"]),u=b(t,d);return null!==u?(null==h?void 0:h.img)?(0,l.createElement)(h.img,r({src:u,alt:n,node:o},s)):(0,a.jsx)("img",r({src:u,alt:n},s)):(0,a.jsxs)("span",{className:"inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",children:["[Image blocked: ",n||"No description","]"]})}}),x=r(r({},p),{components:k});return(0,l.createElement)(e,x)}};var a=n(85012),l=n(56632)},15427:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},l=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},o=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,d=arguments[0],h=1,p=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<p;++h)if(t=arguments[h],null!=t)for(n in t)r=s(d,n),d!==(i=s(t,n))&&(f&&i&&(l(i)||(u=a(i)))?(u?(u=!1,c=r&&a(r)?r:[]):c=r&&l(r)?r:{},o(d,{name:n,newValue:e(f,c,i)})):void 0!==i&&o(d,{name:n,newValue:i}));return d}},15711:(e,t,n)=>{"use strict";n.d(t,{dc:()=>a,_Z:()=>l,VG:()=>o});var r=n(58706);let i=[],a=!1,l="skip";function o(e,t,n,o){let s;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):s=t;let u=(0,r.C)(s),c=o?-1:1;(function e(r,s,d){let h=r&&"object"==typeof r?r:{};if("string"==typeof h.type){let e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return p;function p(){var h;let p,f,m,g=i;if((!t||u(r,s,d[d.length-1]||void 0))&&(g=Array.isArray(h=n(r,d))?h:"number"==typeof h?[!0,h]:null==h?i:[h])[0]===a)return g;if("children"in r&&r.children&&r.children&&g[0]!==l)for(f=(o?r.children.length:-1)+c,m=d.concat(r);f>-1&&f<r.children.length;){if((p=e(r.children[f],f,m)())[0]===a)return p;f="number"==typeof p[1]?p[1]:f+c}return g}})(e,void 0,[])()}},16995:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},19083:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(8612);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},19287:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},20153:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},24061:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},24129:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("hammer",[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]])},26363:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});let r=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},27346:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});let r={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]}},28655:()=>{},29570:(e,t,n)=>{"use strict";function r(e){return e&&"object"==typeof e?"position"in e||"type"in e?a(e.position):"start"in e||"end"in e?a(e):"line"in e||"column"in e?i(e):"":""}function i(e){return l(e&&e.line)+":"+l(e&&e.column)}function a(e){return i(e&&e.start)+"-"+i(e&&e.end)}function l(e){return e&&"number"==typeof e?e:1}n.d(t,{L:()=>r})},30619:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),a="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;a?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(87940))},31810:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},31850:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});let r="object"==typeof self?self:globalThis,i=e=>((e,t)=>{let n=(t,n)=>(e.set(n,t),t),i=a=>{if(e.has(a))return e.get(a);let[l,o]=t[a];switch(l){case 0:case -1:return n(o,a);case 1:{let e=n([],a);for(let t of o)e.push(i(t));return e}case 2:{let e=n({},a);for(let[t,n]of o)e[i(t)]=i(n);return e}case 3:return n(new Date(o),a);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),a)}case 5:{let e=n(new Map,a);for(let[t,n]of o)e.set(i(t),i(n));return e}case 6:{let e=n(new Set,a);for(let t of o)e.add(i(t));return e}case 7:{let{name:e,message:t}=o;return n(new r[e](t),a)}case 8:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new r[l](o),a)};return i})(new Map,e)(0),{toString:a}={},{keys:l}=Object,o=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=a.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},s=([e,t])=>0===e&&("function"===t||"symbol"===t),u=(e,{json:t,lossy:n}={})=>{let r=[];return((e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[u,c]=o(r);switch(u){case 0:{let t=r;switch(c){case"bigint":u=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+c);t=null;break;case"undefined":return i([-1],r)}return i([u,t],r)}case 1:{if(c){let e=r;return"DataView"===c?e=new Uint8Array(r.buffer):"ArrayBuffer"===c&&(e=new Uint8Array(r)),i([c,[...e]],r)}let e=[],t=i([u,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(c)switch(c){case"BigInt":return i([c,r.toString()],r);case"Boolean":case"Number":case"String":return i([c,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());let n=[],d=i([u,n],r);for(let t of l(r))(e||!s(o(r[t])))&&n.push([a(t),a(r[t])]);return d}case 3:return i([u,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([u,{source:e,flags:t}],r)}case 5:{let t=[],n=i([u,t],r);for(let[n,i]of r)(e||!(s(o(n))||s(o(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([u,t],r);for(let n of r)(e||!s(o(n)))&&t.push(a(n));return n}}let{message:d}=r;return i([u,{name:c,message:d}],r)};return a})(!(t||n),!!t,new Map,r)(e),r},c="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(u(e,t)):structuredClone(e):(e,t)=>i(u(e,t))},32746:(e,t,n)=>{"use strict";n.d(t,{qy:()=>y,JW:()=>b});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var a=n(3187),l=n(42501);function o(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new l.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[(0,a.S)(r)]=r,n[(0,a.S)(o.attribute)]=r}return new r(t,n,e.space)}var s=n(64510);let u=o({properties:{ariaActiveDescendant:null,ariaAtomic:s.booleanish,ariaAutoComplete:null,ariaBusy:s.booleanish,ariaChecked:s.booleanish,ariaColCount:s.number,ariaColIndex:s.number,ariaColSpan:s.number,ariaControls:s.spaceSeparated,ariaCurrent:null,ariaDescribedBy:s.spaceSeparated,ariaDetails:null,ariaDisabled:s.booleanish,ariaDropEffect:s.spaceSeparated,ariaErrorMessage:null,ariaExpanded:s.booleanish,ariaFlowTo:s.spaceSeparated,ariaGrabbed:s.booleanish,ariaHasPopup:null,ariaHidden:s.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s.spaceSeparated,ariaLevel:s.number,ariaLive:null,ariaModal:s.booleanish,ariaMultiLine:s.booleanish,ariaMultiSelectable:s.booleanish,ariaOrientation:null,ariaOwns:s.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:s.number,ariaPressed:s.booleanish,ariaReadOnly:s.booleanish,ariaRelevant:null,ariaRequired:s.booleanish,ariaRoleDescription:s.spaceSeparated,ariaRowCount:s.number,ariaRowIndex:s.number,ariaRowSpan:s.number,ariaSelected:s.booleanish,ariaSetSize:s.number,ariaSort:null,ariaValueMax:s.number,ariaValueMin:s.number,ariaValueNow:s.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function c(e,t){return t in e?e[t]:t}function d(e,t){return c(e,t.toLowerCase())}let h=o({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:s.commaSeparated,acceptCharset:s.spaceSeparated,accessKey:s.spaceSeparated,action:null,allow:null,allowFullScreen:s.boolean,allowPaymentRequest:s.boolean,allowUserMedia:s.boolean,alt:null,as:null,async:s.boolean,autoCapitalize:null,autoComplete:s.spaceSeparated,autoFocus:s.boolean,autoPlay:s.boolean,blocking:s.spaceSeparated,capture:null,charSet:null,checked:s.boolean,cite:null,className:s.spaceSeparated,cols:s.number,colSpan:null,content:null,contentEditable:s.booleanish,controls:s.boolean,controlsList:s.spaceSeparated,coords:s.number|s.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:s.boolean,defer:s.boolean,dir:null,dirName:null,disabled:s.boolean,download:s.overloadedBoolean,draggable:s.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:s.boolean,formTarget:null,headers:s.spaceSeparated,height:s.number,hidden:s.overloadedBoolean,high:s.number,href:null,hrefLang:null,htmlFor:s.spaceSeparated,httpEquiv:s.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:s.boolean,inputMode:null,integrity:null,is:null,isMap:s.boolean,itemId:null,itemProp:s.spaceSeparated,itemRef:s.spaceSeparated,itemScope:s.boolean,itemType:s.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:s.boolean,low:s.number,manifest:null,max:null,maxLength:s.number,media:null,method:null,min:null,minLength:s.number,multiple:s.boolean,muted:s.boolean,name:null,nonce:null,noModule:s.boolean,noValidate:s.boolean,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:s.boolean,optimum:s.number,pattern:null,ping:s.spaceSeparated,placeholder:null,playsInline:s.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:s.boolean,referrerPolicy:null,rel:s.spaceSeparated,required:s.boolean,reversed:s.boolean,rows:s.number,rowSpan:s.number,sandbox:s.spaceSeparated,scope:null,scoped:s.boolean,seamless:s.boolean,selected:s.boolean,shadowRootClonable:s.boolean,shadowRootDelegatesFocus:s.boolean,shadowRootMode:null,shape:null,size:s.number,sizes:null,slot:null,span:s.number,spellCheck:s.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:s.number,step:null,style:null,tabIndex:s.number,target:null,title:null,translate:null,type:null,typeMustMatch:s.boolean,useMap:null,value:s.booleanish,width:s.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:s.spaceSeparated,axis:null,background:null,bgColor:null,border:s.number,borderColor:null,bottomMargin:s.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:s.boolean,declare:s.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:s.number,leftMargin:s.number,link:null,longDesc:null,lowSrc:null,marginHeight:s.number,marginWidth:s.number,noResize:s.boolean,noHref:s.boolean,noShade:s.boolean,noWrap:s.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:s.number,rules:null,scheme:null,scrolling:s.booleanish,standby:null,summary:null,text:null,topMargin:s.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:s.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:s.boolean,disableRemotePlayback:s.boolean,prefix:null,property:null,results:s.number,security:null,unselectable:null},space:"html",transform:d}),p=o({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",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:s.commaOrSpaceSeparated,accentHeight:s.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s.number,amplitude:s.number,arabicForm:null,ascent:s.number,attributeName:null,attributeType:null,azimuth:s.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s.number,by:null,calcMode:null,capHeight:s.number,className:s.spaceSeparated,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:s.number,diffuseConstant:s.number,direction:null,display:null,dur:null,divisor:s.number,dominantBaseline:null,download:s.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:s.number,enableBackground:null,end:null,event:null,exponent:s.number,externalResourcesRequired:null,fill:null,fillOpacity:s.number,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:s.commaSeparated,g2:s.commaSeparated,glyphName:s.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s.number,horizOriginX:s.number,horizOriginY:s.number,id:null,ideographic:s.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s.number,k:s.number,k1:s.number,k2:s.number,k3:s.number,k4:s.number,kernelMatrix:s.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s.number,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:s.number,overlineThickness:s.number,paintOrder:null,panose1:null,path:null,pathLength:s.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:s.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s.number,pointsAtY:s.number,pointsAtZ:s.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:s.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:s.commaOrSpaceSeparated,rev:s.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:s.commaOrSpaceSeparated,requiredFeatures:s.commaOrSpaceSeparated,requiredFonts:s.commaOrSpaceSeparated,requiredFormats:s.commaOrSpaceSeparated,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:s.number,specularExponent:s.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s.number,strikethroughThickness:s.number,string:null,stroke:null,strokeDashArray:s.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s.number,strokeOpacity:s.number,strokeWidth:null,style:null,surfaceScale:s.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:s.commaOrSpaceSeparated,tabIndex:s.number,tableValues:null,target:null,targetX:s.number,targetY:s.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:s.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:s.number,underlineThickness:s.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s.number,values:null,vAlphabetic:s.number,vMathematical:s.number,vectorEffect:null,vHanging:s.number,vIdeographic:s.number,version:null,vertAdvY:s.number,vertOriginX:s.number,vertOriginY:s.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c}),f=o({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),m=o({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d}),g=o({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),y=i([u,h,f,m,g],"html"),b=i([u,p,f,m,g],"svg")},33109:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]])},40973:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},41945:(e,t,n)=>{"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{B:()=>r})},42501:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var r=n(1181),i=n(64510);let a=Object.keys(i);class l extends r.R{constructor(e,t,n,r){let l=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++l<a.length;){let e=a[l];!function(e,t,n){n&&(e[t]=n)}(this,a[l],(n&i[e])===i[e])}}}l.prototype.defined=!0},43032:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},46645:(e,t,n)=>{"use strict";n.d(t,{YR:()=>i});var r=n(15711);function i(e,t,n,i){let a,l,o;"function"==typeof t&&"function"!=typeof n?(l=void 0,o=t,a=n):(l=t,o=n,a=i),(0,r.VG)(e,l,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},a)}},47739:(e,t,n)=>{"use strict";let r,i;n.d(t,{TW:()=>ex,YZ:()=>ey,Zk:()=>m});var a,l=n(56632);let o=(0,l.createContext)(null);o.displayName="PanelGroupContext";let s={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},u=l.useLayoutEffect,c=(a||(a=n.t(l,2)))["useId".toString()],d="function"==typeof c?c:()=>null,h=0;function p(e=null){let t=d(),n=(0,l.useRef)(e||t||null);return null===n.current&&(n.current=""+h++),null!=e?e:n.current}function f({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:i,forwardedRef:a,id:c,maxSize:d,minSize:h,onCollapse:f,onExpand:m,onResize:g,order:y,style:b,tagName:k="div",...x}){let v=(0,l.useContext)(o);if(null===v)throw Error("Panel components must be rendered within a PanelGroup container");let{collapsePanel:w,expandPanel:S,getPanelSize:C,getPanelStyle:_,groupId:A,isPanelCollapsed:E,reevaluatePanelConstraints:N,registerPanel:P,resizePanel:T,unregisterPanel:I}=v,L=p(c),R=(0,l.useRef)({callbacks:{onCollapse:f,onExpand:m,onResize:g},constraints:{collapsedSize:n,collapsible:r,defaultSize:i,maxSize:d,minSize:h},id:L,idIsFromProps:void 0!==c,order:y});(0,l.useRef)({didLogMissingDefaultSizeWarning:!1}),u(()=>{let{callbacks:e,constraints:t}=R.current,a={...t};R.current.id=L,R.current.idIsFromProps=void 0!==c,R.current.order=y,e.onCollapse=f,e.onExpand=m,e.onResize=g,t.collapsedSize=n,t.collapsible=r,t.defaultSize=i,t.maxSize=d,t.minSize=h,(a.collapsedSize!==t.collapsedSize||a.collapsible!==t.collapsible||a.maxSize!==t.maxSize||a.minSize!==t.minSize)&&N(R.current,a)}),u(()=>{let e=R.current;return P(e),()=>{I(e)}},[y,L,P,I]),(0,l.useImperativeHandle)(a,()=>({collapse:()=>{w(R.current)},expand:e=>{S(R.current,e)},getId:()=>L,getSize:()=>C(R.current),isCollapsed:()=>E(R.current),isExpanded:()=>!E(R.current),resize:e=>{T(R.current,e)}}),[w,S,C,E,L,T]);let M=_(R.current,i);return(0,l.createElement)(k,{...x,children:e,className:t,id:L,style:{...M,...b},[s.groupId]:A,[s.panel]:"",[s.panelCollapsible]:r||void 0,[s.panelId]:L,[s.panelSize]:parseFloat(""+M.flexGrow).toFixed(1)})}let m=(0,l.forwardRef)((e,t)=>(0,l.createElement)(f,{...e,forwardedRef:t}));f.displayName="Panel",m.displayName="forwardRef(Panel)";let g=null,y=-1,b=null;function k(e,t,n){var i,a,l;let o=function(e,t,n){let r=(t&P)!=0,i=(t&T)!=0,a=(t&I)!=0,l=(t&L)!=0;if(t){if(r)if(a)return"se-resize";else if(l)return"ne-resize";else return"e-resize";else if(i)if(a)return"sw-resize";else if(l)return"nw-resize";else return"w-resize";else if(a)return"s-resize";else if(l)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}(e,t,0);g!==o&&(g=o,null===b&&(b=document.createElement("style"),r&&b.setAttribute("nonce",r),document.head.appendChild(b)),y>=0&&(null==(l=b.sheet)||l.removeRule(y)),y=null!=(i=null==(a=b.sheet)?void 0:a.insertRule(`*{cursor: ${o} !important;}`))?i:-1)}function x(e){return"keydown"===e.type}function v(e){return e.type.startsWith("pointer")}function w(e){return e.type.startsWith("mouse")}function S(e){if(v(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(w(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}let C=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function _(e){let t=e.length;for(;t--;){let n=e[t];if(V(n,"Missing node"),function(e){let t=getComputedStyle(e);return!!("fixed"===t.position||"auto"!==t.zIndex&&("static"!==t.position||function(e){var t;let n=getComputedStyle(null!=(t=N(e))?t:e).display;return"flex"===n||"inline-flex"===n}(e))||1>+t.opacity||"transform"in t&&"none"!==t.transform||"webkitTransform"in t&&"none"!==t.webkitTransform||"mixBlendMode"in t&&"normal"!==t.mixBlendMode||"filter"in t&&"none"!==t.filter||"webkitFilter"in t&&"none"!==t.webkitFilter||"isolation"in t&&"isolate"===t.isolation||C.test(t.willChange))||"touch"===t.webkitOverflowScrolling}(n))return n}return null}function A(e){return e&&Number(getComputedStyle(e).zIndex)||0}function E(e){let t=[];for(;e;)t.push(e),e=N(e);return t}function N(e){let{parentNode:t}=e;return t&&t instanceof ShadowRoot?t.host:t}let P=1,T=2,I=4,L=8,R="coarse"===function(){if("function"==typeof matchMedia)return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}(),M=[],$=!1,O=new Map,D=new Map,j=new Set;function z(e){let{target:t}=e,{x:n,y:r}=S(e);$=!0,G({target:t,x:n,y:r}),q(),M.length>0&&(W("down",e),U(),e.preventDefault(),H(t)||e.stopImmediatePropagation())}function F(e){let{x:t,y:n}=S(e);if($&&"pointerleave"!==e.type&&0===e.buttons&&($=!1,W("up",e)),!$){let{target:r}=e;G({target:r,x:t,y:n})}W("move",e),U(),M.length>0&&e.preventDefault()}function B(e){let{target:t}=e,{x:n,y:r}=S(e);D.clear(),$=!1,M.length>0&&(e.preventDefault(),H(t)||e.stopImmediatePropagation()),W("up",e),G({target:t,x:n,y:r}),U(),q()}function H(e){let t=e;for(;t;){if(t.hasAttribute(s.resizeHandle))return!0;t=t.parentElement}return!1}function G({target:e,x:t,y:n}){M.splice(0);let r=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(r=e),j.forEach(e=>{let{element:i,hitAreaMargins:a}=e,l=i.getBoundingClientRect(),{bottom:o,left:s,right:u,top:c}=l,d=R?a.coarse:a.fine;if(t>=s-d&&t<=u+d&&n>=c-d&&n<=o+d){if(null!==r&&document.contains(r)&&i!==r&&!i.contains(r)&&!r.contains(i)&&function(e,t){let n;if(e===t)throw Error("Cannot compare node with itself");let r={a:E(e),b:E(t)};for(;r.a.at(-1)===r.b.at(-1);)e=r.a.pop(),t=r.b.pop(),n=e;V(n,"Stacking order can only be calculated for elements with a common ancestor");let i={a:A(_(r.a)),b:A(_(r.b))};if(i.a===i.b){let e=n.childNodes,t={a:r.a.at(-1),b:r.b.at(-1)},i=e.length;for(;i--;){let n=e[i];if(n===t.a)return 1;if(n===t.b)return -1}}return Math.sign(i.a-i.b)}(r,i)>0){let e=r,t=!1;for(;e;){var h;if(e.contains(i))break;if(h=e.getBoundingClientRect(),h.x<l.x+l.width&&h.x+h.width>l.x&&h.y<l.y+l.height&&h.y+h.height>l.y){t=!0;break}e=e.parentElement}if(t)return}M.push(e)}})}function U(){let e=!1,t=!1;M.forEach(n=>{let{direction:r}=n;"horizontal"===r?e=!0:t=!0});let n=0;D.forEach(e=>{n|=e}),e&&t?k("intersection",n,$):e?k("horizontal",n,$):t?k("vertical",n,$):null!==b&&(document.head.removeChild(b),g=null,b=null,y=-1)}function q(){var e;null==(e=i)||e.abort();let t={capture:!0,signal:(i=new AbortController).signal};j.size&&($?(M.length>0&&O.forEach((e,n)=>{let{body:r}=n;e>0&&(r.addEventListener("contextmenu",B,t),r.addEventListener("pointerleave",F,t),r.addEventListener("pointermove",F,t))}),O.forEach((e,n)=>{let{body:r}=n;r.addEventListener("pointerup",B,t),r.addEventListener("pointercancel",B,t)})):O.forEach((e,n)=>{let{body:r}=n;e>0&&(r.addEventListener("pointerdown",z,t),r.addEventListener("pointermove",F,t))}))}function W(e,t){j.forEach(n=>{let{setResizeHandlerState:r}=n;r(e,M.includes(n),t)})}function V(e,t){if(!e)throw console.error(t),Error(t)}function Q(e,t,n=10){return e.toFixed(n)===t.toFixed(n)?0:e>t?1:-1}function Z(e,t,n=10){return 0===Q(e,t,n)}function X(e,t,n){return 0===Q(e,t,n)}function J({panelConstraints:e,panelIndex:t,size:n}){let r=e[t];V(null!=r,`Panel constraints not found for index ${t}`);let{collapsedSize:i=0,collapsible:a,maxSize:l=100,minSize:o=0}=r;return 0>Q(n,o)&&(n=a&&0>Q(n,(i+o)/2)?i:o),n=parseFloat((n=Math.min(l,n)).toFixed(10))}function K({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:r,prevLayout:i,trigger:a}){if(X(e,0))return t;let l=[...t],[o,s]=r;V(null!=o,"Invalid first pivot index"),V(null!=s,"Invalid second pivot index");let u=0;if("keyboard"===a){{let r=e<0?s:o,i=n[r];V(i,`Panel constraints not found for index ${r}`);let{collapsedSize:a=0,collapsible:l,minSize:u=0}=i;if(l){let n=t[r];if(V(null!=n,`Previous layout not found for panel index ${r}`),X(n,a)){let t=u-n;Q(t,Math.abs(e))>0&&(e=e<0?0-t:t)}}}{let r=e<0?o:s,i=n[r];V(i,`No panel constraints found for index ${r}`);let{collapsedSize:a=0,collapsible:l,minSize:u=0}=i;if(l){let n=t[r];if(V(null!=n,`Previous layout not found for panel index ${r}`),X(n,u)){let t=n-a;Q(t,Math.abs(e))>0&&(e=e<0?0-t:t)}}}}{let r=e<0?1:-1,i=e<0?s:o,a=0;for(;;){let e=t[i];if(V(null!=e,`Previous layout not found for panel index ${i}`),a+=J({panelConstraints:n,panelIndex:i,size:100})-e,(i+=r)<0||i>=n.length)break}let l=Math.min(Math.abs(e),Math.abs(a));e=e<0?0-l:l}{let r=e<0?o:s;for(;r>=0&&r<n.length;){let i=Math.abs(e)-Math.abs(u),a=t[r];V(null!=a,`Previous layout not found for panel index ${r}`);let o=J({panelConstraints:n,panelIndex:r,size:a-i});if(!X(a,o)&&(u+=a-o,l[r]=o,u.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?r--:r++}}if(function(e,t,n){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!X(e[n],t[n],void 0))return!1;return!0}(i,l))return i;{let r=e<0?s:o,i=t[r];V(null!=i,`Previous layout not found for panel index ${r}`);let a=i+u,c=J({panelConstraints:n,panelIndex:r,size:a});if(l[r]=c,!X(c,a)){let t=a-c,r=e<0?s:o;for(;r>=0&&r<n.length;){let i=l[r];V(null!=i,`Previous layout not found for panel index ${r}`);let a=J({panelConstraints:n,panelIndex:r,size:i+t});if(X(i,a)||(t-=a-i,l[r]=a),X(t,0))break;e>0?r--:r++}}}return X(l.reduce((e,t)=>t+e,0),100)?l:i}function Y(e,t=document){return Array.from(t.querySelectorAll(`[${s.resizeHandleId}][data-panel-group-id="${e}"]`))}function ee(e,t,n=document){let r=Y(e,n).findIndex(e=>e.getAttribute(s.resizeHandleId)===t);return null!=r?r:null}function et(e,t,n){let r=ee(e,t,n);return null!=r?[r,r+1]:[-1,-1]}function en(e,t=document){if((t instanceof HTMLElement||"object"==typeof t&&null!==t&&"tagName"in t&&"getAttribute"in t)&&t.dataset.panelGroupId==e)return t;let n=t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return n||null}function er(e,t=document){let n=t.querySelector(`[${s.resizeHandleId}="${e}"]`);return n||null}function ei(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function ea(e,t){let{x:n,y:r}=S(t);return"horizontal"===e?n:r}function el(e,t,n){t.forEach((t,r)=>{let i=e[r];V(i,`Panel data not found for index ${r}`);let{callbacks:a,constraints:l,id:o}=i,{collapsedSize:s=0,collapsible:u}=l,c=n[o];if(null==c||t!==c){n[o]=t;let{onCollapse:e,onExpand:r,onResize:i}=a;i&&i(t,c),u&&(e||r)&&(r&&(null==c||Z(c,s))&&!Z(t,s)&&r(),e&&(null==c||!Z(c,s))&&Z(t,s)&&e())}})}function eo(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function es(e){try{if("undefined"!=typeof localStorage)e.getItem=e=>localStorage.getItem(e),e.setItem=(e,t)=>{localStorage.setItem(e,t)};else throw Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function eu(e){return`react-resizable-panels:${e}`}function ec(e){return e.map(e=>{let{constraints:t,id:n,idIsFromProps:r,order:i}=e;return r?n:i?`${i}:${JSON.stringify(t)}`:JSON.stringify(t)}).sort((e,t)=>e.localeCompare(t)).join(",")}function ed(e,t){try{let n=eu(e),r=t.getItem(n);if(r){let e=JSON.parse(r);if("object"==typeof e&&null!=e)return e}}catch(e){}return null}function eh(e,t,n,r,i){var a;let l=eu(e),o=ec(t),s=null!=(a=ed(e,i))?a:{};s[o]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{i.setItem(l,JSON.stringify(s))}catch(e){console.error(e)}}function ep({layout:e,panelConstraints:t}){let n=[...e],r=n.reduce((e,t)=>e+t,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(e=>`${e}%`).join(", ")}`);if(!X(r,100)&&n.length>0)for(let e=0;e<t.length;e++){let t=n[e];V(null!=t,`No layout data found for index ${e}`);let i=100/r*t;n[e]=i}let i=0;for(let e=0;e<t.length;e++){let r=n[e];V(null!=r,`No layout data found for index ${e}`);let a=J({panelConstraints:t,panelIndex:e,size:r});r!=a&&(i+=r-a,n[e]=a)}if(!X(i,0))for(let e=0;e<t.length;e++){let r=n[e];V(null!=r,`No layout data found for index ${e}`);let a=J({panelConstraints:t,panelIndex:e,size:r+i});if(r!==a&&(i-=a-r,n[e]=a,X(i,0)))break}return n}let ef={getItem:e=>(es(ef),ef.getItem(e)),setItem:(e,t)=>{es(ef),ef.setItem(e,t)}},em={};function eg({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:i,id:a=null,onLayout:c=null,keyboardResizeBy:d=null,storage:h=ef,style:f,tagName:m="div",...g}){let y=p(a),b=(0,l.useRef)(null),[k,S]=(0,l.useState)(null),[C,_]=(0,l.useState)([]),A=function(){let[e,t]=(0,l.useState)(0);return(0,l.useCallback)(()=>t(e=>e+1),[])}(),E=(0,l.useRef)({}),N=(0,l.useRef)(new Map),R=(0,l.useRef)(0),M=(0,l.useRef)({autoSaveId:e,direction:r,dragState:k,id:y,keyboardResizeBy:d,onLayout:c,storage:h}),$=(0,l.useRef)({layout:C,panelDataArray:[],panelDataArrayChanged:!1});(0,l.useRef)({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),(0,l.useImperativeHandle)(i,()=>({getId:()=>M.current.id,getLayout:()=>{let{layout:e}=$.current;return e},setLayout:e=>{let{onLayout:t}=M.current,{layout:n,panelDataArray:r}=$.current,i=ep({layout:e,panelConstraints:r.map(e=>e.constraints)});ei(n,i)||(_(i),$.current.layout=i,t&&t(i),el(r,i,E.current))}}),[]),u(()=>{M.current.autoSaveId=e,M.current.direction=r,M.current.dragState=k,M.current.id=y,M.current.onLayout=c,M.current.storage=h}),function({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:i,panelGroupElement:a,setLayout:o}){(0,l.useRef)({didWarnAboutMissingResizeHandle:!1}),u(()=>{if(!a)return;let e=Y(n,a);for(let t=0;t<i.length-1;t++){let{valueMax:n,valueMin:a,valueNow:l}=function({layout:e,panelsArray:t,pivotIndices:n}){let r=0,i=100,a=0,l=0,o=n[0];return V(null!=o,"No pivot index found"),t.forEach((e,t)=>{let{constraints:n}=e,{maxSize:s=100,minSize:u=0}=n;t===o?(r=u,i=s):(a+=u,l+=s)}),{valueMax:Math.min(i,100-a),valueMin:Math.max(r,100-l),valueNow:e[o]}}({layout:r,panelsArray:i,pivotIndices:[t,t+1]}),o=e[t];if(null==o);else{let e=i[t];V(e,`No panel data found for index "${t}"`),o.setAttribute("aria-controls",e.id),o.setAttribute("aria-valuemax",""+Math.round(n)),o.setAttribute("aria-valuemin",""+Math.round(a)),o.setAttribute("aria-valuenow",null!=l?""+Math.round(l):"")}}return()=>{e.forEach((e,t)=>{e.removeAttribute("aria-controls"),e.removeAttribute("aria-valuemax"),e.removeAttribute("aria-valuemin"),e.removeAttribute("aria-valuenow")})}},[n,r,i,a]),(0,l.useEffect)(()=>{if(!a)return;let e=t.current;V(e,"Eager values not found");let{panelDataArray:i}=e;V(null!=en(n,a),`No group found for id "${n}"`);let l=Y(n,a);V(l,`No resize handles found for group id "${n}"`);let u=l.map(e=>{let t=e.getAttribute(s.resizeHandleId);V(t,"Resize handle element has no handle id attribute");let[l,u]=function(e,t,n,r=document){var i,a,l,o;let s=er(t,r),u=Y(e,r),c=s?u.indexOf(s):-1;return[null!=(i=null==(a=n[c])?void 0:a.id)?i:null,null!=(l=null==(o=n[c+1])?void 0:o.id)?l:null]}(n,t,i,a);if(null==l||null==u)return()=>{};let c=e=>{if(!e.defaultPrevented&&"Enter"===e.key){e.preventDefault();let s=i.findIndex(e=>e.id===l);if(s>=0){let e=i[s];V(e,`No panel data found for index ${s}`);let l=r[s],{collapsedSize:u=0,collapsible:c,minSize:d=0}=e.constraints;if(null!=l&&c){let e=K({delta:X(l,u)?d-u:u-l,initialLayout:r,panelConstraints:i.map(e=>e.constraints),pivotIndices:et(n,t,a),prevLayout:r,trigger:"keyboard"});r!==e&&o(e)}}}};return e.addEventListener("keydown",c),()=>{e.removeEventListener("keydown",c)}});return()=>{u.forEach(e=>e())}},[a,e,t,n,r,i,o])}({committedValuesRef:M,eagerValuesRef:$,groupId:y,layout:C,panelDataArray:$.current.panelDataArray,setLayout:_,panelGroupElement:b.current}),(0,l.useEffect)(()=>{let{panelDataArray:t}=$.current;if(e){if(0===C.length||C.length!==t.length)return;let n=em[e];null==n&&(n=function(e,t=10){let n=null;return(...r)=>{null!==n&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}(eh,100),em[e]=n),n(e,[...t],new Map(N.current),C,h)}},[e,C,h]),(0,l.useEffect)(()=>{});let O=(0,l.useCallback)(e=>{let{onLayout:t}=M.current,{layout:n,panelDataArray:r}=$.current;if(e.constraints.collapsible){let i=r.map(e=>e.constraints),{collapsedSize:a=0,panelSize:l,pivotIndices:o}=ek(r,e,n);if(V(null!=l,`Panel size not found for panel "${e.id}"`),!Z(l,a)){N.current.set(e.id,l);let s=K({delta:eb(r,e)===r.length-1?l-a:a-l,initialLayout:n,panelConstraints:i,pivotIndices:o,prevLayout:n,trigger:"imperative-api"});eo(n,s)||(_(s),$.current.layout=s,t&&t(s),el(r,s,E.current))}}},[]),j=(0,l.useCallback)((e,t)=>{let{onLayout:n}=M.current,{layout:r,panelDataArray:i}=$.current;if(e.constraints.collapsible){let a=i.map(e=>e.constraints),{collapsedSize:l=0,panelSize:o=0,minSize:s=0,pivotIndices:u}=ek(i,e,r),c=null!=t?t:s;if(Z(o,l)){let t=N.current.get(e.id),l=null!=t&&t>=c?t:c,s=K({delta:eb(i,e)===i.length-1?o-l:l-o,initialLayout:r,panelConstraints:a,pivotIndices:u,prevLayout:r,trigger:"imperative-api"});eo(r,s)||(_(s),$.current.layout=s,n&&n(s),el(i,s,E.current))}}},[]),z=(0,l.useCallback)(e=>{let{layout:t,panelDataArray:n}=$.current,{panelSize:r}=ek(n,e,t);return V(null!=r,`Panel size not found for panel "${e.id}"`),r},[]),F=(0,l.useCallback)((e,t)=>{let{panelDataArray:n}=$.current,r=eb(n,e);return function({defaultSize:e,dragState:t,layout:n,panelData:r,panelIndex:i,precision:a=3}){let l=n[i];return{flexBasis:0,flexGrow:null==l?void 0!=e?e.toFixed(a):"1":1===r.length?"1":l.toFixed(a),flexShrink:1,overflow:"hidden",pointerEvents:null!==t?"none":void 0}}({defaultSize:t,dragState:k,layout:C,panelData:n,panelIndex:r})},[k,C]),B=(0,l.useCallback)(e=>{let{layout:t,panelDataArray:n}=$.current,{collapsedSize:r=0,collapsible:i,panelSize:a}=ek(n,e,t);return V(null!=a,`Panel size not found for panel "${e.id}"`),!0===i&&Z(a,r)},[]),H=(0,l.useCallback)(e=>{let{layout:t,panelDataArray:n}=$.current,{collapsedSize:r=0,collapsible:i,panelSize:a}=ek(n,e,t);return V(null!=a,`Panel size not found for panel "${e.id}"`),!i||Q(a,r)>0},[]),G=(0,l.useCallback)(e=>{let{panelDataArray:t}=$.current;t.push(e),t.sort((e,t)=>{let n=e.order,r=t.order;return null==n&&null==r?0:null==n?-1:null==r?1:n-r}),$.current.panelDataArrayChanged=!0,A()},[A]);u(()=>{if($.current.panelDataArrayChanged){$.current.panelDataArrayChanged=!1;let{autoSaveId:i,onLayout:a,storage:l}=M.current,{layout:o,panelDataArray:s}=$.current,u=null;if(i){var e,t,n,r;let a=(e=i,t=s,null!=(r=(null!=(n=ed(e,l))?n:{})[ec(t)])?r:null);a&&(N.current=new Map(Object.entries(a.expandToSizes)),u=a.layout)}null==u&&(u=function({panelDataArray:e}){let t=Array(e.length),n=e.map(e=>e.constraints),r=0,i=100;for(let a=0;a<e.length;a++){let e=n[a];V(e,`Panel constraints not found for index ${a}`);let{defaultSize:l}=e;null!=l&&(r++,t[a]=l,i-=l)}for(let a=0;a<e.length;a++){let l=n[a];V(l,`Panel constraints not found for index ${a}`);let{defaultSize:o}=l;if(null!=o)continue;let s=i/(e.length-r);r++,t[a]=s,i-=s}return t}({panelDataArray:s}));let c=ep({layout:u,panelConstraints:s.map(e=>e.constraints)});ei(o,c)||(_(c),$.current.layout=c,a&&a(c),el(s,c,E.current))}}),u(()=>{let e=$.current;return()=>{e.layout=[]}},[]);let U=(0,l.useCallback)(e=>{let t=!1,n=b.current;return n&&"rtl"===window.getComputedStyle(n,null).getPropertyValue("direction")&&(t=!0),function(n){var r,i;n.preventDefault();let a=b.current;if(!a)return()=>null;let{direction:l,dragState:o,id:u,keyboardResizeBy:c,onLayout:d}=M.current,{layout:h,panelDataArray:p}=$.current,{initialLayout:f}=null!=o?o:{},m=et(u,e,a),g=function(e,t,n,r,i,a){if(!x(e))return null==r?0:function(e,t,n,r,i){let a="horizontal"===n,l=er(t,i);V(l,`No resize handle element found for id "${t}"`);let o=l.getAttribute(s.groupId);V(o,"Resize handle element has no group id attribute");let{initialCursorPosition:u}=r,c=ea(n,e),d=en(o,i);V(d,`No group element found for id "${o}"`);let h=d.getBoundingClientRect();return(c-u)/(a?h.width:h.height)*100}(e,t,n,r,a);{let t="horizontal"===n,r=0;r=e.shiftKey?100:null!=i?i:10;let a=0;switch(e.key){case"ArrowDown":a=t?0:r;break;case"ArrowLeft":a=t?-r:0;break;case"ArrowRight":a=t?r:0;break;case"ArrowUp":a=t?0:-r;break;case"End":a=100;break;case"Home":a=-100}return a}}(n,e,l,o,c,a),y="horizontal"===l;y&&t&&(g=-g);let k=K({delta:g,initialLayout:null!=f?f:h,panelConstraints:p.map(e=>e.constraints),pivotIndices:m,prevLayout:h,trigger:x(n)?"keyboard":"mouse-or-touch"}),S=!eo(h,k);(v(n)||w(n))&&R.current!=g&&((R.current=g,S||0===g)?D.set(e,0):y?(r=g<0?P:T,D.set(e,r)):(i=g<0?I:L,D.set(e,i))),S&&(_(k),$.current.layout=k,d&&d(k),el(p,k,E.current))}},[]),q=(0,l.useCallback)((e,t)=>{let{onLayout:n}=M.current,{layout:r,panelDataArray:i}=$.current,a=i.map(e=>e.constraints),{panelSize:l,pivotIndices:o}=ek(i,e,r);V(null!=l,`Panel size not found for panel "${e.id}"`);let s=K({delta:eb(i,e)===i.length-1?l-t:t-l,initialLayout:r,panelConstraints:a,pivotIndices:o,prevLayout:r,trigger:"imperative-api"});eo(r,s)||(_(s),$.current.layout=s,n&&n(s),el(i,s,E.current))},[]),W=(0,l.useCallback)((e,t)=>{let{layout:n,panelDataArray:r}=$.current,{collapsedSize:i=0,collapsible:a}=t,{collapsedSize:l=0,collapsible:o,maxSize:s=100,minSize:u=0}=e.constraints,{panelSize:c}=ek(r,e,n);null!=c&&(a&&o&&Z(c,i)?Z(i,l)||q(e,l):c<u?q(e,u):c>s&&q(e,s))},[q]),J=(0,l.useCallback)((e,t)=>{let{direction:n}=M.current,{layout:r}=$.current;if(!b.current)return;let i=er(e,b.current);V(i,`Drag handle element not found for id "${e}"`);let a=ea(n,t);S({dragHandleId:e,dragHandleRect:i.getBoundingClientRect(),initialCursorPosition:a,initialLayout:r})},[]),ee=(0,l.useCallback)(()=>{S(null)},[]),es=(0,l.useCallback)(e=>{let{panelDataArray:t}=$.current,n=eb(t,e);n>=0&&(t.splice(n,1),delete E.current[e.id],$.current.panelDataArrayChanged=!0,A())},[A]),eu=(0,l.useMemo)(()=>({collapsePanel:O,direction:r,dragState:k,expandPanel:j,getPanelSize:z,getPanelStyle:F,groupId:y,isPanelCollapsed:B,isPanelExpanded:H,reevaluatePanelConstraints:W,registerPanel:G,registerResizeHandle:U,resizePanel:q,startDragging:J,stopDragging:ee,unregisterPanel:es,panelGroupElement:b.current}),[O,k,r,j,z,F,y,B,H,W,G,U,q,J,ee,es]);return(0,l.createElement)(o.Provider,{value:eu},(0,l.createElement)(m,{...g,children:t,className:n,id:a,ref:b,style:{display:"flex",flexDirection:"horizontal"===r?"row":"column",height:"100%",overflow:"hidden",width:"100%",...f},[s.group]:"",[s.groupDirection]:r,[s.groupId]:y}))}let ey=(0,l.forwardRef)((e,t)=>(0,l.createElement)(eg,{...e,forwardedRef:t}));function eb(e,t){return e.findIndex(e=>e===t||e.id===t.id)}function ek(e,t,n){let r=eb(e,t),i=r===e.length-1,a=n[r];return{...t.constraints,panelSize:a,pivotIndices:i?[r-1,r]:[r,r+1]}}function ex({children:e=null,className:t="",disabled:n=!1,hitAreaMargins:r,id:i,onBlur:a,onClick:c,onDragging:d,onFocus:h,onPointerDown:f,onPointerUp:m,style:g={},tabIndex:y=0,tagName:b="div",...k}){var x,v;let w=(0,l.useRef)(null),S=(0,l.useRef)({onClick:c,onDragging:d,onPointerDown:f,onPointerUp:m});(0,l.useEffect)(()=>{S.current.onClick=c,S.current.onDragging=d,S.current.onPointerDown=f,S.current.onPointerUp=m});let C=(0,l.useContext)(o);if(null===C)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");let{direction:_,groupId:A,registerResizeHandle:E,startDragging:N,stopDragging:P,panelGroupElement:T}=C,I=p(i),[L,R]=(0,l.useState)("inactive"),[$,z]=(0,l.useState)(!1),[F,B]=(0,l.useState)(null),H=(0,l.useRef)({state:L});u(()=>{H.current.state=L}),(0,l.useEffect)(()=>{if(n)B(null);else{let e=E(I);B(()=>e)}},[n,I,E]);let G=null!=(x=null==r?void 0:r.coarse)?x:15,W=null!=(v=null==r?void 0:r.fine)?v:5;return(0,l.useEffect)(()=>{if(n||null==F)return;let e=w.current;V(e,"Element ref not attached");let t=!1;return function(e,t,n,r,i){var a;let{ownerDocument:l}=t,o={direction:n,element:t,hitAreaMargins:r,setResizeHandlerState:i},s=null!=(a=O.get(l))?a:0;return O.set(l,s+1),j.add(o),q(),function(){var t;D.delete(e),j.delete(o);let n=null!=(t=O.get(l))?t:1;if(O.set(l,n-1),q(),1===n&&O.delete(l),M.includes(o)){let e=M.indexOf(o);e>=0&&M.splice(e,1),U(),i("up",!0,null)}}}(I,e,_,{coarse:G,fine:W},(e,n,r)=>{if(!n)return void R("inactive");switch(e){case"down":{R("drag"),t=!1,V(r,'Expected event to be defined for "down" action'),N(I,r);let{onDragging:e,onPointerDown:n}=S.current;null==e||e(!0),null==n||n();break}case"move":{let{state:e}=H.current;t=!0,"drag"!==e&&R("hover"),V(r,'Expected event to be defined for "move" action'),F(r);break}case"up":{R("hover"),P();let{onClick:e,onDragging:n,onPointerUp:r}=S.current;null==n||n(!1),null==r||r(),t||null==e||e()}}})},[G,_,n,W,E,I,F,N,P]),!function({disabled:e,handleId:t,resizeHandler:n,panelGroupElement:r}){(0,l.useEffect)(()=>{if(e||null==n||null==r)return;let i=er(t,r);if(null==i)return;let a=e=>{if(!e.defaultPrevented)switch(e.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":e.preventDefault(),n(e);break;case"F6":{e.preventDefault();let n=i.getAttribute(s.groupId);V(n,`No group element found for id "${n}"`);let a=Y(n,r),l=ee(n,t,r);V(null!==l,`No resize element found for id "${t}"`);let o=e.shiftKey?l>0?l-1:a.length-1:l+1<a.length?l+1:0;a[o].focus()}}};return i.addEventListener("keydown",a),()=>{i.removeEventListener("keydown",a)}},[r,e,t,n])}({disabled:n,handleId:I,resizeHandler:F,panelGroupElement:T}),(0,l.createElement)(b,{...k,children:e,className:t,id:i,onBlur:()=>{z(!1),null==a||a()},onFocus:()=>{z(!0),null==h||h()},ref:w,role:"separator",style:{touchAction:"none",userSelect:"none",...g},tabIndex:y,[s.groupDirection]:_,[s.groupId]:A,[s.resizeHandle]:"",[s.resizeHandleActive]:"drag"===L?"pointer":$?"keyboard":void 0,[s.resizeHandleEnabled]:!n,[s.resizeHandleId]:I,[s.resizeHandleState]:L})}eg.displayName="PanelGroup",ey.displayName="forwardRef(PanelGroup)",ex.displayName="PanelResizeHandle"},48572:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},51856:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},52263:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(8612);function i(e,t,n,i){let a=i?i-1:1/0,l=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(o){return(0,r.On)(o)&&l++<a?(e.consume(o),i):(e.exit(n),t(o))}(i)):t(i)}}},52405:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},55007:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||n.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,s):e.replace(a,s)).replace(r,o))}},57944:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},58706:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return a;if("function"==typeof e)return i(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,i(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,i(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function a(){return!0}},59374:(e,t,n)=>{"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},64103:(e,t,n)=>{"use strict";n.d(t,{h:()=>d,s:()=>h});var r=n(32746),i=n(94241);let a=/[#.]/g;var l=n(94711),o=n(3187),s=n(59374);function u(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,o,...u){let d;if(null==n)d={type:"root",children:[]},u.unshift(o);else{let h=(d=function(e,t){let n,r,i=e||"",l={},o=0;for(;o<i.length;){a.lastIndex=o;let e=a.exec(i),t=i.slice(o,e?e.index:i.length);t&&(n?"#"===n?l.id=t:Array.isArray(l.className)?l.className.push(t):l.className=[t]:r=t,o+=t.length),e&&(n=e[0],o++)}return{type:"element",tagName:r||t||"div",properties:l,children:[]}}(n,t)).tagName.toLowerCase(),p=r?r.get(h):void 0;if(d.tagName=p||h,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(o))u.unshift(o);else for(let[t,n]of Object.entries(o))!function(e,t,n,r){let a,o=(0,l.I)(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?(0,s.q)(r):o.commaSeparated?(0,i.q)(r):o.commaOrSpaceSeparated?(0,s.q)((0,i.q)(r).join(" ")):c(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(c(o,o.property,t));a=e}"className"===o.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[o.property]=a}}(e,d.properties,t,n)}for(let e of u)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(d.children,e);return"element"===d.type&&"template"===d.tagName&&(d.content={type:"root",children:d.children},d.children=[]),d}}function c(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||(0,o.S)(n)===(0,o.S)(t)))return!0}return n}let d=u(r.qy,"div"),h=u(r.JW,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"])},64510:(e,t,n)=>{"use strict";n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>c,commaSeparated:()=>u,number:()=>o,overloadedBoolean:()=>l,spaceSeparated:()=>s});let r=0,i=d(),a=d(),l=d(),o=d(),s=d(),u=d(),c=d();function d(){return 2**++r}},65571:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});let r=/[ \t\n\f\r]/g;function i(e){return"object"==typeof e?"text"===e.type&&a(e.value):a(e)}function a(e){return""===e.replace(r,"")}},65670:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(52263),i=n(8612);let a={partial:!0,tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,a,"linePrefix")(t):a(t)};function a(e){return null===e||(0,i.HP)(e)?t(e):n(e)}}}},66483:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(95723);let i={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let a,l=(i.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(a in o){i.call(l,a)||(l[a]=[]);let e=o[a];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(l[a],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},67458:(e,t,n)=>{"use strict";function r(e){if(e)throw e}n.d(t,{l:()=>d});var i=n(15427),a=n(75207);function l(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var o=n(82575);let s=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},u={}.hasOwnProperty;class c extends s{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(a,...l){let o=e[++n],s=-1;if(a)return void r(a);for(;++s<t.length;)(null===l[s]||void 0===l[s])&&(l[s]=t[s]);t=l,o?(function(e,t){let n;return function(...t){let a,l=e.length>t.length;l&&t.push(r);try{a=e.apply(this,t)}catch(e){if(l&&n)throw e;return r(e)}l||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(o,i)(...l):r(null,...l)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new c,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(i(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(f("data",this.frozen),this.namespace[e]=t,this):u.call(this.namespace,e)&&this.namespace[e]||void 0:e?(f("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=y(e),n=this.parser||this.Parser;return h("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),h("process",this.parser||this.Parser),p("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let l=y(e),o=n.parse(l);function s(e,n){e||!n?i(e):r?r(n):((0,a.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(o,l,function(e,t,r){var i,a;if(e||!t||!r)return s(e);let l=n.stringify(t,r);"string"==typeof(i=l)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=l:r.result=l,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),h("processSync",this.parser||this.Parser),p("processSync",this.compiler||this.Compiler),this.process(e,function(e,i){n=!0,r(e),t=i}),g("processSync","process",n),(0,a.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){m(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,l){(0,a.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let o=y(t);r.run(e,o,function(t,r,o){let s=r||e;t?l(t):i?i(s):((0,a.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,s,o))})}}runSync(e,t){let n,i=!1;return this.run(e,t,function(e,t){r(e),n=t,i=!0}),g("runSync","run",i),(0,a.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=y(t),r=this.compiler||this.Compiler;return p("stringify",r),m(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(f("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function a(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=i(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)s(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;s(e,t)}else a(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,a=-1;for(;++r<n.length;)if(n[r][0]===e){a=r;break}if(-1===a)n.push([e,...t]);else if(t.length>0){let[r,...o]=t,s=n[a][1];l(s)&&l(r)&&(r=i(!0,s,r)),n[a]=[e,r,...o]}}}}let d=new c().freeze();function h(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function p(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function f(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function m(e){if(!l(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function g(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function y(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new o.T(e)}},68811:(e,t,n)=>{"use strict";n.d(t,{G1:()=>l,PW:()=>i,Y:()=>r});let r=a("end"),i=a("start");function a(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function l(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},69456:(e,t,n)=>{"use strict";n.d(t,{H:()=>S});var r=n(94241),i=n(75207);let a=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o={};function s(e,t){return((t||o).jsx?l:a).test(e)}var u=n(65571),c=n(32746),d=n(94711);let h={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var p=n(59374),f=n(79275),m=n(68811),g=n(96293);let y={}.hasOwnProperty,b=new Map,k=/[A-Z]/g,x=new Set(["table","tbody","thead","tfoot","tr"]),v=new Set(["td","th"]),w="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function S(e,t){var n,r,i,a;let l;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=o,r=t.jsxDEV,l=function(e,t,i,a){let l=Array.isArray(i.children),o=(0,m.PW)(e);return r(t,i,a,l,{columnNumber:o?o.column-1:void 0,fileName:n,lineNumber:o?o.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,l=function(e,t,n,r){let l=Array.isArray(n.children)?a:i;return r?l(t,n,r):l(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:l,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?c.JW:c.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=C(s,e,void 0);return u&&"string"!=typeof u?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}function C(e,t,n){return"element"===t.type?function(e,t,n){let i=e.schema;"svg"===t.tagName.toLowerCase()&&"html"===i.space&&(e.schema=c.JW),e.ancestors.push(t);let a=N(e,t.tagName,!1),l=function(e,t){let n,i,a={};for(i in t.properties)if("children"!==i&&y.call(t.properties,i)){let l=function(e,t,n){let i=(0,d.I)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?(0,r.A)(n):(0,p.A)(n)),"style"===i.property){let t="object"==typeof n?n:function(e,t){try{return f(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new g.o("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=w+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)y.call(e,t)&&(n[function(e){let t=e.replace(k,T);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&i.space?h[i.property]||i.property:i.attribute,n]}}(e,i,t.properties[i]);if(l){let[r,i]=l;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof i&&v.has(t.tagName)?n=i:a[r]=i}}return n&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),a}(e,t),o=E(e,t);return x.has(t.tagName)&&(o=o.filter(function(e){return"string"!=typeof e||!(0,u.m)(e)})),_(e,l,a,t),A(l,o),e.ancestors.pop(),e.schema=i,e.create(t,a,l,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}P(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema;"svg"===t.name&&"html"===r.space&&(e.schema=c.JW),e.ancestors.push(t);let a=null===t.name?e.Fragment:N(e,t.name,!0),l=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,i.ok)("ObjectExpression"===a.type);let l=a.properties[0];(0,i.ok)("SpreadElement"===l.type),Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else P(e,t.position);else{let a,l=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else P(e,t.position);else a=null===r.value||r.value;n[l]=a}return n}(e,t),o=E(e,t);return _(e,l,a,t),A(l,o),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);P(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return A(r,E(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function _(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function A(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function E(e,t){let n=[],r=-1,i=e.passKeys?new Map:b;for(;++r<t.children.length;){let a,l=t.children[r];if(e.passKeys){let e="element"===l.type?l.tagName:"mdxJsxFlowElement"===l.type||"mdxJsxTextElement"===l.type?l.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let o=C(e,l,a);void 0!==o&&n.push(o)}return n}function N(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),a=-1;for(;++a<n.length;){let t=s(n[a])?{type:"Identifier",name:n[a]}:{type:"Literal",value:n[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=s(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return y.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);P(e)}function P(e,t){let n=new g.o("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=w+"#cannot-handle-mdx-estrees-without-createevaluater",n}function T(e){return"-"+e.toLowerCase()}},70731:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},72105:(e,t,n)=>{"use strict";n.d(t,{A:()=>eS});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ep,contentInitial:()=>eo,disable:()=>ef,document:()=>el,flow:()=>eu,flowInitial:()=>es,insideSpan:()=>eh,string:()=>ec,text:()=>ed});var i=n(83034),a=n(95723);class l{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&o(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),o(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),o(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);o(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);o(this.left,t.reverse())}}}function o(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}function s(e){let t,n,r,i,o,s,u,c={},d=-1,h=new l(e);for(;++d<h.length;){for(;d in c;)d=c[d];if(t=h.get(d),d&&"chunkFlow"===t[1].type&&"listItemPrefix"===h.get(d-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let n,r,i=e.get(t)[1],a=e.get(t)[2],l=t-1,o=[],s=i._tokenizer;!s&&(s=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));let u=s.events,c=[],d={},h=-1,p=i,f=0,m=0,g=[0];for(;p;){for(;e.get(++l)[1]!==p;);o.push(l),!p._tokenizer&&(n=a.sliceStream(p),p.next||n.push(null),r&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(m=h+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),h=g.length;h--;){let t=u.slice(g[h],g[h+1]),n=o.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),h=-1;++h<c.length;)d[f+c[h][0]]=f+c[h][1],f+=c[h][1]-c[h][0]-1;return d}(h,d)),d=c[d],u=!0);else if(t[1]._container){for(r=d,n=void 0;r--;)if("lineEnding"===(i=h.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(h.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...h.get(n)[1].start},(o=h.slice(n,d)).unshift(t),h.splice(n,d-n+1,o))}}return(0,a.m)(e,0,1/0,h.slice(0)),!u}var u=n(66483),c=n(52263),d=n(8612);let h={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,d.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},p={tokenize:function(e){let t,n,r,i=this,l=[],o=0;return s;function s(t){if(o<l.length){let n=l[o];return i.containerState=n[1],e.attempt(n[0].continuation,u,c)(t)}return c(t)}function u(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&x();let r=i.events.length,l=r;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){n=i.events[l][1].end;break}k(o);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return(0,a.m)(i.events,l+1,0,i.events.slice(r)),i.events.length=s,c(e)}return s(e)}function c(n){if(o===l.length){if(!t)return m(n);if(t.currentConstruct&&t.currentConstruct.concrete)return y(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(f,h,p)(n)}function h(e){return t&&x(),k(o),m(e)}function p(e){return i.parser.lazy[i.now().line]=o!==l.length,r=i.now().offset,y(e)}function m(t){return i.containerState={},e.attempt(f,g,y)(t)}function g(e){return o++,l.push([i.currentConstruct,i.containerState]),m(e)}function y(r){if(null===r){t&&x(),k(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){b(e.exit("chunkFlow"),!0),k(0),e.consume(n);return}return(0,d.HP)(n)?(e.consume(n),b(e.exit("chunkFlow")),o=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function b(e,l){let s=i.sliceStream(e);if(l&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,l=t.events.length;for(;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;let s=i.events.length,u=s;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(k(o),l=s;l<i.events.length;)i.events[l][1].end={...n},l++;(0,a.m)(i.events,u+1,0,i.events.slice(s)),i.events.length=l}}function k(t){let n=l.length;for(;n-- >t;){let t=l[n];i.containerState=t[1],t[0].exit.call(i,e)}l.length=t}function x(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,n){return(0,c.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var m=n(65670);let g={resolve:function(e){return s(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,d.HP)(t)?e.check(y,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},y={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,d.HP)(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},b={tokenize:function(e){let t=this,n=e.attempt(m.B,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,c.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(g,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},k={resolveAll:S()},x=w("string"),v=w("text");function w(e){return{resolveAll:S("text"===e?C:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,l);return a;function a(e){return s(e)?i(e):l(e)}function l(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),o)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function S(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function C(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],a=t.sliceStream(i),l=a.length,o=-1,s=0;for(;l--;){let e=a[l];if("string"==typeof e){for(o=e.length;32===e.charCodeAt(o-1);)s++,o--;if(o)break;o=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let a={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:i.start._bufferIndex+o,_index:i.start._index+l,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}let _={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){var l;return e.enter("thematicBreak"),r=l=a,function a(l){return l===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,d.On)(n)?(0,c.N)(e,a,"whitespace")(n):a(n))}(l)):i>=3&&(null===l||(0,d.HP)(l))?(e.exit("thematicBreak"),t(l)):n(l)}(l)}}},A={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(m.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,c.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,d.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(N,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,c.N)(e,e.attempt(A,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,d.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(_,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,d.BM)(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),o(i)):n(i)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(m.B,r.interrupt?n:s,e.attempt(E,c,u))}function s(e){return r.containerState.initialBlankLine=!0,a++,c(e)}function u(t){return(0,d.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},E={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,d.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},N={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},P={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,d.On)(t)?(0,c.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(P,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,d.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function T(e,t,n,r,i,a,l,o,s){let u=s||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),h):null===t||32===t||41===t||(0,d.JQ)(t)?n(t):(e.enter(r),e.enter(l),e.enter(o),e.enter("chunkString",{contentType:"string"}),m(t))};function h(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(o),h(t)):null===t||60===t||(0,d.HP)(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(i){return!c&&(null===i||41===i||(0,d.Ee)(i))?(e.exit("chunkString"),e.exit(o),e.exit(l),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,m):41===i?(e.consume(i),c--,m):null===i||32===i||40===i||(0,d.JQ)(i)?n(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function I(e,t,n,r,i,a){let l,o=this,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u};function u(h){return s>999||null===h||91===h||93===h&&!l||94===h&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(0,d.HP)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(t){return null===t||91===t||93===t||(0,d.HP)(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l||(l=!(0,d.On)(t)),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function L(e,t,n,r,i,a){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,o):n(t)};function o(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),s(n))}function s(t){return t===l?(e.exit(a),o(l)):null===t?n(t):(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===l||null===t||(0,d.HP)(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?h:u)}function h(t){return t===l||92===t?(e.consume(t),u):u(t)}}function R(e,t){let n;return function r(i){return(0,d.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,d.On)(i)?(0,c.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var M=n(41945);let $={partial:!0,tokenize:function(e,t,n){return function(t){return(0,d.Ee)(t)?R(e,r)(t):n(t)};function r(t){return L(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,d.On)(t)?(0,c.N)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,d.HP)(e)?t(e):n(e)}}},O={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,c.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):(0,d.HP)(n)?e.attempt(D,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,d.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},D={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,c.N)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,d.HP)(e)?i(e):n(e)}}},j={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",l,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=l,e.push(["exit",l,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var l;let o,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){o="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,l=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,d.On)(n)?(0,c.N)(e,a,"lineSuffix")(n):a(n))}(l)):n(t)};function a(r){return null===r||(0,d.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},z=["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"],F=["pre","script","style","textarea"],B={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(m.B,t,n)}}},H={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},G={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},U={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),(0,d.On)(t)?(0,c.N)(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=o?(e.exit("codeFencedFenceSequence"),(0,d.On)(i)?(0,c.N)(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||(0,d.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},l=0,o=0;return function(t){var a=t;let u=i.events[i.events.length-1];return l=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o<3?n(i):(e.exit("codeFencedFenceSequence"),(0,d.On)(i)?(0,c.N)(e,s,"whitespace")(i):s(i))}(a)};function s(a){return null===a||(0,d.HP)(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(G,h,g)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,d.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):(0,d.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,c.N)(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}function u(t){return null===t||(0,d.HP)(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,d.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function h(t){return e.attempt(a,g,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return l>0&&(0,d.On)(t)?(0,c.N)(e,m,"linePrefix",l+1)(t):m(t)}function m(t){return null===t||(0,d.HP)(t)?e.check(G,h,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,d.HP)(n)?(e.exit("codeFlowValue"),m(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}}},q=document.createElement("i");function W(e){let t="&"+e+";";q.innerHTML=t;let n=q.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let V={name:"characterReference",tokenize:function(e,t,n){let r,i,a=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),o};function o(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=d.lV,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=d.ok,u):(e.enter("characterReferenceValue"),r=7,i=d.BM,u(t))}function u(o){if(59===o&&l){let r=e.exit("characterReferenceValue");return i!==d.lV||W(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)}return i(o)&&l++<r?(e.consume(o),u):n(o)}}},Q={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,d.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},Z={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,c.N)(e,t,"linePrefix")}}};var X=n(84227);let J={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,a.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,l,o=e.length,s=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=o);let u={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},d={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return l=[["enter",u,t],["enter",c,t]],l=(0,a.V)(l,e.slice(r+1,r+s+3)),l=(0,a.V)(l,[["enter",d,t]]),l=(0,a.V)(l,(0,X.W)(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),l=(0,a.V)(l,[["exit",d,t],e[i-2],e[i-1],["exit",c,t]]),l=(0,a.V)(l,e.slice(i+1)),l=(0,a.V)(l,[["exit",u,t]]),(0,a.m)(e,r,e.length,l),e},tokenize:function(e,t,n){let r,i,a=this,l=a.events.length;for(;l--;)if(("labelImage"===a.events[l][1].type||"labelLink"===a.events[l][1].type)&&!a.events[l][1]._balanced){r=a.events[l][1];break}return function(t){return r?r._inactive?c(t):(i=a.parser.defined.includes((0,M.B)(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),o):n(t)};function o(t){return 40===t?e.attempt(K,u,i?u:c)(t):91===t?e.attempt(Y,u,i?s:c)(t):i?u(t):c(t)}function s(t){return e.attempt(ee,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},K={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,d.Ee)(t)?R(e,i)(t):i(t)}function i(t){return 41===t?u(t):T(e,a,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return(0,d.Ee)(t)?R(e,o)(t):u(t)}function l(e){return n(e)}function o(t){return 34===t||39===t||40===t?L(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return(0,d.Ee)(t)?R(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Y={tokenize:function(e,t,n){let r=this;return function(t){return I.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,M.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},ee={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},et={name:"labelStartImage",resolveAll:J.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var en=n(19083);let er={name:"attention",resolveAll:function(e,t){let n,r,i,l,o,s,u,c,d=-1;for(;++d<e.length;)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close){for(n=d;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[n][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;let h={...e[n][1].end},p={...e[d][1].start};ei(h,-s),ei(p,s),l={type:s>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[d][1].start},end:p},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[d][1].start}},r={type:s>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[n][1].end={...l.start},e[d][1].start={...o.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=(0,a.V)(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=(0,a.V)(u,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",i,t]]),u=(0,a.V)(u,(0,X.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),u=(0,a.V)(u,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(c=2,u=(0,a.V)(u,[["enter",e[d][1],t],["exit",e[d][1],t]])):c=0,(0,a.m)(e,n-1,d-n+3,u),d=n+u.length-c-2;break}}for(d=-1;++d<e.length;)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=(0,en.S)(i);return function(l){return n=l,e.enter("attentionSequence"),function l(o){if(o===n)return e.consume(o),l;let s=e.exit("attentionSequence"),u=(0,en.S)(o),c=!u||2===u&&a||r.includes(o),d=!a||2===a&&u||r.includes(i);return s._open=!!(42===n?c:c&&(a||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(o)}(l)}}};function ei(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let ea={name:"labelStartLink",resolveAll:J.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},el={42:A,43:A,45:A,48:A,49:A,50:A,51:A,52:A,53:A,54:A,55:A,56:A,57:A,62:P},eo={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,I.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=(0,M.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return(0,d.Ee)(t)?R(e,o)(t):o(t)}function o(t){return T(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt($,u,u)(t)}function u(t){return(0,d.On)(t)?(0,c.N)(e,h,"whitespace")(t):h(t)}function h(a){return null===a||(0,d.HP)(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},es={[-2]:O,[-1]:O,32:O},eu={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,l=3;return"whitespace"===e[3][1].type&&(l+=2),i-2>l&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(l===i-1||i-4>l&&"whitespace"===e[i-2][1].type)&&(i-=l+1===i?2:4),i>l&&(n={type:"atxHeadingText",start:e[l][1].start,end:e[i][1].end},r={type:"chunkText",start:e[l][1].start,end:e[i][1].end,contentType:"text"},(0,a.m)(e,l,i-l+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||(0,d.Ee)(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,d.HP)(r)?(e.exit("atxHeading"),t(r)):(0,d.On)(r)?(0,c.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,d.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:_,45:[j,_],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(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},tokenize:function(e,t,n){let r,i,a,l,o,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,f):63===l?(e.consume(l),r=3,s.interrupt?t:R):(0,d.CW)(l)?(e.consume(l),a=String.fromCharCode(l),m):n(l)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,l=0,p):(0,d.CW)(i)?(e.consume(i),r=4,s.interrupt?t:R):n(i)}function h(r){return 45===r?(e.consume(r),s.interrupt?t:R):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?s.interrupt?t:_:p:n(r)}function f(t){return(0,d.CW)(t)?(e.consume(t),a=String.fromCharCode(t),m):n(t)}function m(l){if(null===l||47===l||62===l||(0,d.Ee)(l)){let o=47===l,u=a.toLowerCase();return!o&&!i&&F.includes(u)?(r=1,s.interrupt?t(l):_(l)):z.includes(a.toLowerCase())?(r=6,o)?(e.consume(l),g):s.interrupt?t(l):_(l):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(l):i?function t(n){return(0,d.On)(n)?(e.consume(n),t):S(n)}(l):y(l))}return 45===l||(0,d.lV)(l)?(e.consume(l),a+=String.fromCharCode(l),m):n(l)}function g(r){return 62===r?(e.consume(r),s.interrupt?t:_):n(r)}function y(t){return 47===t?(e.consume(t),S):58===t||95===t||(0,d.CW)(t)?(e.consume(t),b):(0,d.On)(t)?(e.consume(t),y):S(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,d.lV)(t)?(e.consume(t),b):k(t)}function k(t){return 61===t?(e.consume(t),x):(0,d.On)(t)?(e.consume(t),k):y(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,v):(0,d.On)(t)?(e.consume(t),x):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,d.Ee)(n)?k(n):(e.consume(n),t)}(t)}function v(t){return t===o?(e.consume(t),o=null,w):null===t||(0,d.HP)(t)?n(t):(e.consume(t),v)}function w(e){return 47===e||62===e||(0,d.On)(e)?y(e):n(e)}function S(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||(0,d.HP)(t)?_(t):(0,d.On)(t)?(e.consume(t),C):n(t)}function _(t){return 45===t&&2===r?(e.consume(t),P):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),M):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),L):(0,d.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(B,$,A)(t)):null===t||(0,d.HP)(t)?(e.exit("htmlFlowData"),A(t)):(e.consume(t),_)}function A(t){return e.check(H,E,$)(t)}function E(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return null===t||(0,d.HP)(t)?A(t):(e.enter("htmlFlowData"),_(t))}function P(t){return 45===t?(e.consume(t),R):_(t)}function T(t){return 47===t?(e.consume(t),a="",I):_(t)}function I(t){if(62===t){let n=a.toLowerCase();return F.includes(n)?(e.consume(t),M):_(t)}return(0,d.CW)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),I):_(t)}function L(t){return 93===t?(e.consume(t),R):_(t)}function R(t){return 62===t?(e.consume(t),M):45===t&&2===r?(e.consume(t),R):_(t)}function M(t){return null===t||(0,d.HP)(t)?(e.exit("htmlFlowData"),$(t)):(e.consume(t),M)}function $(n){return e.exit("htmlFlow"),t(n)}}},61:j,95:_,96:U,126:U},ec={38:V,92:Q},ed={[-5]:Z,[-4]:Z,[-3]:Z,33:et,38:V,42:er,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,d.CW)(t)?(e.consume(t),a):64===t?n(t):o(t)}function a(t){return 43===t||45===t||46===t||(0,d.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||(0,d.lV)(n))&&r++<32?(e.consume(n),t):(r=0,o(n))}(t)):o(t)}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,d.JQ)(r)?n(r):(e.consume(r),l)}function o(t){return 64===t?(e.consume(t),s):(0,d.cx)(t)?(e.consume(t),o):n(t)}function s(i){return(0,d.lV)(i)?function i(a){return 46===a?(e.consume(a),r=0,s):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,d.lV)(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),w):63===t?(e.consume(t),x):(0,d.CW)(t)?(e.consume(t),C):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,m):(0,d.CW)(t)?(e.consume(t),k):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function h(t){return null===t?n(t):45===t?(e.consume(t),p):(0,d.HP)(t)?(a=h,L(t)):(e.consume(t),h)}function p(t){return 45===t?(e.consume(t),f):h(t)}function f(e){return 62===e?I(e):45===e?p(e):h(e)}function m(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),y):(0,d.HP)(t)?(a=g,L(t)):(e.consume(t),g)}function y(t){return 93===t?(e.consume(t),b):g(t)}function b(t){return 62===t?I(t):93===t?(e.consume(t),b):g(t)}function k(t){return null===t||62===t?I(t):(0,d.HP)(t)?(a=k,L(t)):(e.consume(t),k)}function x(t){return null===t?n(t):63===t?(e.consume(t),v):(0,d.HP)(t)?(a=x,L(t)):(e.consume(t),x)}function v(e){return 62===e?I(e):x(e)}function w(t){return(0,d.CW)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,d.lV)(t)?(e.consume(t),S):function t(n){return(0,d.HP)(n)?(a=t,L(n)):(0,d.On)(n)?(e.consume(n),t):I(n)}(t)}function C(t){return 45===t||(0,d.lV)(t)?(e.consume(t),C):47===t||62===t||(0,d.Ee)(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),I):58===t||95===t||(0,d.CW)(t)?(e.consume(t),A):(0,d.HP)(t)?(a=_,L(t)):(0,d.On)(t)?(e.consume(t),_):I(t)}function A(t){return 45===t||46===t||58===t||95===t||(0,d.lV)(t)?(e.consume(t),A):function t(n){return 61===n?(e.consume(n),E):(0,d.HP)(n)?(a=t,L(n)):(0,d.On)(n)?(e.consume(n),t):_(n)}(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,N):(0,d.HP)(t)?(a=E,L(t)):(0,d.On)(t)?(e.consume(t),E):(e.consume(t),P)}function N(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):(0,d.HP)(t)?(a=N,L(t)):(e.consume(t),N)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,d.Ee)(t)?_(t):(e.consume(t),P)}function T(e){return 47===e||62===e||(0,d.Ee)(e)?_(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return(0,d.On)(t)?(0,c.N)(e,M,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):M(t)}function M(t){return e.enter("htmlTextData"),a(t)}}}],91:ea,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,d.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},Q],93:J,95:er,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),l(n))}(t)};function l(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),l):96===s?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",o(l))}(s)):(0,d.HP)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),l):(e.enter("codeTextData"),o(s))}function o(t){return null===t||32===t||96===t||(0,d.HP)(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),o)}}}},eh={null:[er,k]},ep={null:[42,95]},ef={null:[]},em=/[\0\t\n\r]/g;function eg(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let ey=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eb(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eg(n.slice(t?2:1),t?16:10)}return W(n)||e}var ek=n(29570);let ex={}.hasOwnProperty;function ev(e){return{line:e.line,column:e.column,offset:e.offset}}function ew(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,ek.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ek.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,ek.L)({start:t.start,end:t.end})+") is still open")}function eS(e){let t=this;t.parser=function(n){var l,o;let c,f,m,g;return"string"!=typeof(l={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=l,l=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(f),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(f,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(y,a),htmlFlowData:c,htmlText:r(y,a),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(b),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(k,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(k),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eg(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=W(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=ev(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,M.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(h),hardBreakTrailing:o(h),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(ey,eb),n.identifier=(0,M.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=ev(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),d.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,M.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(ex.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},i={stack:[r],tokenStack:[],config:t,enter:l,exit:s,buffer:a,resume:u,data:n},o=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?o.push(c):c=function(e,t,n){let r,i,a,l,o=t-1,s=-1,u=!1;for(;++o<=n;){let t=e[o];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||s||a||(a=o),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let l=o;for(i=void 0;l--;){let t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=l}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||o,0,["exit",r,t[2]]),o++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(o,0,["enter",i,t[2]]),o++,n++,a=void 0,l=!0}}}return e[t][1]._spread=u,n}(e,o.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];ex.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},i),e[c][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||ew).call(i,void 0,e[0])}for(r.position={start:ev(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ev(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:ev(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||ew).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,ek.L)({start:e.start,end:e.end})+"): it’s not open");n.position.end=ev(e.end)}function u(){return(0,i.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:ev(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=ev(e.end)}function h(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function f(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function y(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function k(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!s(e););return e}((function(e){let t={constructs:(0,u.y)([r,...(e||{}).extensions||[]]),content:n(h),defined:[],document:n(p),flow:n(b),lazy:{},string:n(x),text:n(v)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},l=[],o=[],s=[],u={attempt:g(function(e,t){y(e,t.from)}),check:g(m),consume:function(e){(0,d.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=f(),c.events.push(["exit",t,c]),t},interrupt:g(m,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,b()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a,l=e[r];if("string"==typeof l)a=l;else switch(l){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(l)}n=-2===l,i.push(a)}return i.join("")}(p(e),t)},sliceStream:p,write:function(e){return(o=(0,a.V)(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),h=h(t)}else h=h(n)}}(),null!==o[o.length-1])?[]:(y(t,0),c.events=(0,X.W)(l,c.events,c),c.events)}},h=t.tokenize.call(c,u);return t.resolveAll&&l.push(t),c;function p(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,l=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,l)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[a].slice(0,l))}return n}(o,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function m(e,t){t.restore()}function g(e,t){return function(n,i,a){var l;let o,d,h,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(l=n,function(e){let t=null!==e&&l[e],n=null!==e&&l.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(o=e,d=0,0===e.length)?a:g(e[d])}function g(e){return function(n){return(p=function(){let e=f(),t=c.previous,n=c.currentConstruct,i=c.events.length,a=Array.from(s);return{from:i,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,s=a,b()}}}(),h=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?k(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,y,k)(n)}}function y(t){return e(h,p),i}function k(e){return(p.restore(),++d<o.length)?g(o[d]):a}}}function y(e,t){e.resolveAll&&!l.includes(e)&&l.push(e),e.resolve&&(0,a.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(o).document().write((f=1,m="",g=!0,function(e,t,n){let r,i,a,l,o,s=[];for(e=m+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,m="",g&&(65279===e.charCodeAt(0)&&a++,g=void 0);a<e.length;){if(em.lastIndex=a,l=(r=em.exec(e))&&void 0!==r.index?r.index:e.length,o=e.charCodeAt(l),!r){m=e.slice(a);break}if(10===o&&a===l&&c)s.push(-3),c=void 0;else switch(c&&(s.push(-5),c=void 0),a<l&&(s.push(e.slice(a,l)),f+=l-a),o){case 0:s.push(65533),f++;break;case 9:for(i=4*Math.ceil(f/4),s.push(-2);f++<i;)s.push(-1);break;case 10:s.push(-4),f=1;break;default:c=!0,f=1}a=l+1}return n&&(c&&s.push(-5),m&&s.push(m),s.push(null)),s})(n,l,!0))))}}},75207:(e,t,n)=>{"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},79275:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(30619)),i=n(55007);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,e.exports=a},81934:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},82479:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},82575:(e,t,n)=>{"use strict";n.d(t,{T:()=>u});var r=n(96293);let i={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');a(e);let r=0,i=-1,l=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1),s>-1&&(e.codePointAt(l)===t.codePointAt(s--)?s<0&&(i=l):(s=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(a(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;a(e);let n=e.length,r=-1,i=0,l=-1,o=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?l<0?l=n:1!==o&&(o=1):l>-1&&(o=-1)}return l<0||r<0||0===o||1===o&&l===r-1&&l===i+1?"":e.slice(l,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)a(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){a(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",a=0,l=-1,o=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else if(47===n)break;else n=47;if(47===n){if(l===s-1||1===o);else if(l!==s-1&&2===o){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),l=s,o=0;continue}}else if(i.length>0){i="",a=0,l=s,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(l+1,s):i=e.slice(l+1,s),a=s-l-1;l=s,o=0}else 46===n&&o>-1?o++:o=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function a(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let l={cwd:function(){return"/"}};function o(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let s=["history","path","basename","stem","extname","dirname"];class u{constructor(e){let t,n;t=e?o(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":l.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<s.length;){let e=s[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)s.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?i.basename(this.path):void 0}set basename(e){d(e,"basename"),c(e,"basename"),this.path=i.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?i.dirname(this.path):void 0}set dirname(e){h(this.basename,"dirname"),this.path=i.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?i.extname(this.path):void 0}set extname(e){if(c(e,"extname"),h(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=i.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){o(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!o(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),d(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?i.basename(this.path,this.extname):void 0}set stem(e){d(e,"stem"),c(e,"stem"),this.path=i.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let i=new r.o(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function c(e,t){if(e&&e.includes(i.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+i.sep+"`")}function d(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function h(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}},83034:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return a(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function a(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return l(e.children,t,n)}return Array.isArray(e)?l(e,t,n):""}function l(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=a(e[i],t,n);return r.join("")}},83404:(e,t,n)=>{"use strict";let r,i;n.d(t,{j:()=>lf});var a=n(56632),l=n(75207),o=n(69456),s=n(27346),u=n(85012),c=n(72105),d=n(85510),h=n(67458),p=n(46645),f=n(82575);let m=[],g={allowDangerousHtml:!0},y=/^(https?|ircs?|mailto|xmpp)$/i,b=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function k(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||y.test(e.slice(0,t))?e:""}var x=n(64103),v=n(16995);function w(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===v.t.svg?x.s:x.h,i=n===v.t.html?e.tagName.toLowerCase():e.tagName,a=n===v.t.html&&"template"===i?e.content:e,l=e.getAttributeNames(),o={},s=-1;for(;++s<l.length;)o[l[s]]=e.getAttribute(l[s])||"";return r(i,o,S(a,t))}(e,t);case 3:return{type:"text",value:e.nodeValue||""};case 8:return{type:"comment",value:e.nodeValue||""};case 9:case 11:return function(e,t){return{type:"root",children:S(e,t)}}(e,t);case 10:return{type:"doctype"};default:return}}(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function S(e,t){let n=e.childNodes,r=[],i=-1;for(;++i<n.length;){let e=w(n[i],t);void 0!==e&&r.push(e)}return r}let C=new DOMParser;var _=n(58706);let A=function(e,t,n){let r=(0,_.C)(n);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},E=function(e){if(null==e)return P;if("string"==typeof e){var t;return t=e,N(function(e){return e.tagName===t})}if("object"==typeof e){var n=e;let t=[],r=-1;for(;++r<n.length;)t[r]=E(n[r]);return N(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}if("function"==typeof e)return N(e);throw Error("Expected function, string, or array as `test`")};function N(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&"tagName"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function P(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}let T=/\n/g,I=/[\t ]+/g,L=E("br"),R=E(function(e){return"td"===e.tagName||"th"===e.tagName}),M=E("p"),$=E("tr"),O=E(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return!!(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),D=E(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function j(e,t){let n,r=String(e.value),i=[],a=[],l=0;for(;l<=r.length;){T.lastIndex=l;let e=T.exec(r),n=e&&"index"in e?e.index:r.length;i.push(function(e,t,n){let r,i=[],a=0;for(;a<e.length;){I.lastIndex=a;let n=I.exec(e);r=n?n.index:e.length,a||r||!n||t||i.push(""),a!==r&&i.push(e.slice(a,r)),a=n?r+n[0].length:r}return a===r||n||i.push(""),i.join(" ")}(r.slice(l,n).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==l||t.breakBefore,n!==r.length||t.breakAfter)),l=n+1}let o=-1;for(;++o<i.length;)8203===i[o].charCodeAt(i[o].length-1)||o<i.length-1&&8203===i[o+1].charCodeAt(0)?(a.push(i[o]),n=void 0):i[o]?("number"==typeof n&&a.push(n),a.push(i[o]),n=0):(0===o||o===i.length-1)&&a.push(0);return a}function z(e,t){if("element"===e.type){let n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}var F=n(84376),B=n(15711);let H={},G=[];var U=n(85739),q=n(97564),W=n(52263),V=n(8612);let Q={tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(e.consume(r),l++,t):l<2?n(r):(e.exit("mathFlowFenceSequence"),(0,W.N)(e,o,"whitespace")(r))}(t)};function o(t){return null===t||(0,V.HP)(t)?s(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||(0,V.HP)(r)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),s(r)):36===r?n(r):(e.consume(r),t)}(t))}function s(n){return(e.exit("mathFlowFence"),r.interrupt)?t(n):e.attempt(Z,u,h)(n)}function u(t){return e.attempt({tokenize:p,partial:!0},h,c)(t)}function c(t){return(a?(0,W.N)(e,d,"linePrefix",a+1):d)(t)}function d(t){return null===t?h(t):(0,V.HP)(t)?e.attempt(Z,u,h)(t):(e.enter("mathFlowValue"),function t(n){return null===n||(0,V.HP)(n)?(e.exit("mathFlowValue"),d(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("mathFlow"),t(n)}function p(e,t,n){let i=0;return(0,W.N)(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(i++,e.consume(r),t):i<l?n(r):(e.exit("mathFlowFenceSequence"),(0,W.N)(e,a,"whitespace")(r))}(t)},"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(r){return null===r||(0,V.HP)(r)?(e.exit("mathFlowFence"),t(r)):n(r)}}},concrete:!0,name:"mathFlow"},Z={tokenize:function(e,t,n){let r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};function X(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("mathTextData"===e[t][1].type){e[r][1].type="mathTextPadding",e[i][1].type="mathTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="mathTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e}function J(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}let K={};function Y(e){let t,n=e||K,r=this.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push({flow:{36:Q},text:{36:(null==(t=(n||{}).singleDollarTextMath)&&(t=!0),{tokenize:function(e,n,r){let i,a,l=0;return function(n){return e.enter("mathText"),e.enter("mathTextSequence"),function n(i){return 36===i?(e.consume(i),l++,n):l<2&&!t?r(i):(e.exit("mathTextSequence"),o(i))}(n)};function o(t){return null===t?r(t):36===t?(a=e.enter("mathTextSequence"),i=0,function t(r){return 36===r?(e.consume(r),i++,t):i===l?(e.exit("mathTextSequence"),e.exit("mathText"),n(r)):(a.type="mathTextData",s(r))}(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),o):(0,V.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):(e.enter("mathTextData"),s(t))}function s(t){return null===t||32===t||36===t||(0,V.HP)(t)?(e.exit("mathTextData"),o(t)):(e.consume(t),s)}},resolve:X,previous:J,name:"mathText"})}}),a.push(function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},e),this.buffer()}},exit:{mathFlow:function(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.stack[this.stack.length-1];(0,l.ok)("math"===n.type),this.exit(e),n.value=t;let r=n.data.hChildren[0];(0,l.ok)("element"===r.type),(0,l.ok)("code"===r.tagName),r.children.push({type:"text",value:t}),this.data.mathFlowInside=void 0},mathFlowFence:function(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)},mathFlowFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];(0,l.ok)("math"===t.type),t.meta=e},mathFlowValue:e,mathText:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,l.ok)("inlineMath"===n.type),this.exit(e),n.value=t,n.data.hChildren.push({type:"text",value:t})},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),o.push(function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),n.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,n,r){let i=e.value||"",a=n.createTracker(r),l="$".repeat(Math.max((0,q.D)(i,"$")+1,2)),o=n.enter("mathFlow"),s=a.move(l);if(e.meta){let t=n.enter("mathFlowMeta");s+=a.move(n.safe(e.meta,{after:"\n",before:s,encode:["$"],...a.current()})),t()}return s+=a.move("\n"),i&&(s+=a.move(i+"\n")),s+=a.move(l),o(),s},inlineMath:n}};function n(e,n,r){let i=e.value||"",a=1;for(!t&&a++;RegExp("(^|[^$])"+"\\$".repeat(a)+"([^$]|$)").test(i);)a++;let l="$".repeat(a);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=" "+i+" ");let o=-1;for(;++o<r.unsafe.length;){let e,t=r.unsafe[o];if(!t.atBreak)continue;let n=r.compilePattern(t);for(;e=n.exec(i);){let t=e.index;10===i.codePointAt(t)&&13===i.codePointAt(t-1)&&t--,i=i.slice(0,t)+" "+i.slice(e.index+1)}}return l+i+l}}(n))}n(28655);var ee=n(14637);let et=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},en=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var er={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let ei=(0,a.forwardRef)((e,t)=>{let{color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:o="",children:s,iconNode:u,...c}=e;return(0,a.createElement)("svg",{ref:t,...er,width:r,height:r,stroke:n,strokeWidth:l?24*Number(i)/Number(r):i,className:en("lucide",o),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(e=>{let[t,n]=e;return(0,a.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),ea=(e,t)=>{let n=(0,a.forwardRef)((n,r)=>{let{className:i,...l}=n;return(0,a.createElement)(ei,{ref:r,iconNode:t,className:en("lucide-".concat(et(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),i),...l})});return n.displayName=et(e),n},el=ea("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),eo=ea("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),es=ea("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);class eu extends Error{constructor(e){super(e),this.name="ShikiError"}}var ec=n(40074);function ed(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}var eh=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ep=class{static hasCaptures(e){return null!==e&&(eh.lastIndex=0,eh.test(e))}static replaceCaptures(e,t,n){return e.replace(eh,(e,r,i,a)=>{let l=n[parseInt(r||i,10)];if(!l)return e;{let e=t.substring(l.start,l.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function ef(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){var i,a;let n=(i=e[r],i<(a=t[r])?-1:+(i>a));if(0!==n)return n}return 0}return n-r}function em(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))}function eg(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var ey=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},eb=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i,a=t[e];if(!a.settings)continue;if("string"==typeof a.scope){let e=a.scope;i=(e=(e=e.replace(/^[,]+/,"")).replace(/[,]+$/,"")).split(",")}else i=Array.isArray(a.scope)?a.scope:[""];let l=-1;if("string"==typeof a.settings.fontStyle){l=0;let e=a.settings.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++)switch(e[t]){case"italic":l|=1;break;case"bold":l|=2;break;case"underline":l|=4;break;case"strikethrough":l|=8}}let o=null;"string"==typeof a.settings.foreground&&em(a.settings.foreground)&&(o=a.settings.foreground);let s=null;"string"==typeof a.settings.background&&em(a.settings.background)&&(s=a.settings.background);for(let t=0,a=i.length;t<a;t++){let a=i[t].trim().split(" "),u=a[a.length-1],c=null;a.length>1&&(c=a.slice(0,a.length-1)).reverse(),n[r++]=new ev(u,c,e,l,o,s)}}return n}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var n,r;let i=(n=e.scope,n<(r=t.scope)?-1:+(n>r));return 0!==i||0!==(i=ef(e.parentScopes,t.parentScopes))?i:e.index-t.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(r=t.foreground),null!==t.background&&(i=t.background)}let a=new eS(t),l=new ex(n,a.getId(r),a.getId(i)),o=new eA(new e_(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];o.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new eb(a,l,o)}(e,t)}_cachedMatchRoot=new ey(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(null===e)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>(function(e,t){if(0===t.length)return!0;for(let i=0;i<t.length;i++){var n,r;let a=t[i],l=!1;if(">"===a){if(i===t.length-1)return!1;a=t[++i],l=!0}for(;e&&(n=e.scopeName,!((r=a)===n||n.startsWith(r)&&"."===n[r.length]));){if(l)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return n?new ex(n.fontStyle,n.foreground,n.background):null}},ek=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e||null!==this.parent&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}},ex=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}},ev=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},ew=(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))(ew||{}),eS=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(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(null===e)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw 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)}},eC=Object.freeze([]),e_=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||eC,this.fontStyle=n,this.foreground=r,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==n&&(this.foreground=n),0!==r&&(this.background=r)}},eA=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;">"===e.parentScopes[n]&&n++,">"===t.parentScopes[r]&&r++,!(n>=e.parentScopes.length)&&!(r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(0!==i)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,n,r=t.indexOf(".");if(-1===r?(e=t,n=""):(e=t.substring(0,r),n=t.substring(r+1)),this._children.hasOwnProperty(e))return this._children[e].match(n)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,l){let o,s,u;if(""===n)return void this._doInsertHere(t,r,i,a,l);let c=n.indexOf(".");-1===c?(o=n,s=""):(o=n.substring(0,c),s=n.substring(c+1)),this._children.hasOwnProperty(o)?u=this._children[o]:(u=new e(this._mainRule.clone(),e_.cloneArr(this._rulesWithParentScopes)),this._children[o]=u),u.insert(t+1,s,r,i,a,l)}_doInsertHere(e,t,n,r,i){if(null===t)return void this._mainRule.acceptOverwrite(e,n,r,i);for(let a=0,l=this._rulesWithParentScopes.length;a<l;a++){let l=this._rulesWithParentScopes[a];if(0===ef(l.parentScopes,t))return void l.acceptOverwrite(e,n,r,i)}-1===n&&(n=this._mainRule.fontStyle),0===r&&(r=this._mainRule.foreground),0===i&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new e_(e,t,n,r,i))}},eE=class e{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:e.getForeground(t),background:e.getBackground(t)})}static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(0xff8000&e)>>>15}static getBackground(e){return(0xff000000&e)>>>24}static set(t,n,r,i,a,l,o){let s=e.getLanguageId(t),u=e.getTokenType(t),c=+!!e.containsBalancedBrackets(t),d=e.getFontStyle(t),h=e.getForeground(t),p=e.getBackground(t);return 0!==n&&(s=n),8!==r&&(u=r),null!==i&&(c=+!!i),-1!==a&&(d=a),0!==l&&(h=l),0!==o&&(p=o),(0|s|u<<8|c<<10|d<<11|h<<15|p<<24)>>>0}};function eN(e,t){var n;let r,i,a=[],l=(n=e,i=(r=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(n),{next:()=>{if(!i)return null;let e=i[0];return i=r.exec(n),e}}),o=l.next();for(;null!==o;){let e=0;if(2===o.length&&":"===o.charAt(1)){switch(o.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=l.next()}let t=u();if(a.push({matcher:t,priority:e}),","!==o)break;o=l.next()}return a;function s(){if("-"===o){o=l.next();let e=s();return t=>!!e&&!e(t)}if("("===o){o=l.next();let e=function(){let e=[],t=u();for(;t&&(e.push(t),"|"===o||","===o);){do o=l.next();while("|"===o||","===o);t=u()}return t=>e.some(e=>e(t))}();return")"===o&&(o=l.next()),e}if(eP(o)){let e=[];do e.push(o),o=l.next();while(eP(o));return n=>t(e,n)}return null}function u(){let e=[],t=s();for(;t;)e.push(t),t=s();return t=>e.every(e=>e(t))}}function eP(e){return!!e&&!!e.match(/[\w\.:]+/)}var eT=(e=>(e[e.None=0]="None",e[e.NotBeginString=1]="NotBeginString",e[e.NotEndString=2]="NotEndString",e[e.NotBeginPosition=4]="NotBeginPosition",e[e.DebugCall=8]="DebugCall",e))(eT||{});function eI(e){"function"==typeof e.dispose&&e.dispose()}var eL=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},eR=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},eM=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},e$=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new eL(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new eM;for(let n of e)!function(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof eL?eD({baseGrammar:a,selfGrammar:i},r):eO(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let l=n.injections(e.scopeName);if(l)for(let e of l)r.add(new eL(e))}(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof eL){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function eO(e,t,n){t.repository&&t.repository[e]&&ej([t.repository[e]],t,n)}function eD(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&ej(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&ej(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function ej(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?ed({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&ej(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=eU(i);switch(a.kind){case 0:eD({...t,selfGrammar:t.baseGrammar},n);break;case 1:eD(t,n);break;case 2:eO(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let l=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){let r={baseGrammar:t.baseGrammar,selfGrammar:l,repository:e};4===a.kind?eO(a.ruleName,r,n):eD(r,n)}else 4===a.kind?n.add(new eR(a.scopeName,a.ruleName)):n.add(new eL(a.scopeName))}}}var ez=class{kind=0},eF=class{kind=1},eB=class{constructor(e){this.ruleName=e}kind=2},eH=class{constructor(e){this.scopeName=e}kind=3},eG=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function eU(e){if("$base"===e)return new ez;if("$self"===e)return new eF;let t=e.indexOf("#");return -1===t?new eH(e):0===t?new eB(e.substring(1)):new eG(e.substring(0,t),e.substring(t+1))}var eq=/\\(\d+)/,eW=/\\(\d+)/g;Symbol("RuleId");var eV=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=ep.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=ep.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${function e(t){let n=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===n?t:~n==t.length-1?e(t.substring(0,t.length-1)):t.substr(~n+1)}(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return this._nameIsCapturing&&null!==this._name&&null!==e&&null!==t?ep.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?ep.replaceCaptures(this._contentName,e,t):this._contentName}},eQ=class extends eV{retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,n,r){throw Error("Not supported!")}},eZ=class extends eV{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new e0(r,this.id),this.captures=i,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 e1,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eX=class extends eV{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let 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 e1,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eJ=class extends eV{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,a,l,o,s,u){super(e,t,n,r),this._begin=new e0(i,this.id),this.beginCaptures=a,this._end=new e0(l||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=s||!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){for(let t of(this._cachedCompiledPatterns=new e1,this.patterns))e.getRule(t).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}},eK=class extends eV{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,a,l,o,s){super(e,t,n,r),this._begin=new e0(i,this.id),this.beginCaptures=a,this.whileCaptures=o,this._while=new e0(l,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=s.patterns,this.hasMissingPatterns=s.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)for(let t of(this._cachedCompiledPatterns=new e1,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 e1,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},eY=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new eQ(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new eZ(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(void 0===t.begin){t.repository&&(r=ed({},r,t.repository));let i=t.patterns;return void 0===i&&t.include&&(i=[{include:t.include}]),new eX(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new eK(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new eJ(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if("$vscodeTextmateLocation"===e)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if("$vscodeTextmateLocation"===a)continue;let l=parseInt(a,10),o=0;t[a].patterns&&(o=e.getCompiledRuleId(t[a],n,r)),i[l]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,o)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,l=t.length;a<l;a++){let l=t[a],o=-1;if(l.include){let t=eU(l.include);switch(t.kind){case 0:case 1:o=e.getCompiledRuleId(r[l.include],n,r);break;case 2:let i=r[t.ruleName];i&&(o=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,s=4===t.kind?t.ruleName:null,u=n.getExternalGrammar(a,r);if(u)if(s){let t=u.repository[s];t&&(o=e.getCompiledRuleId(t,n,u.repository))}else o=e.getCompiledRuleId(u.repository.$self,n,u.repository)}}else o=e.getCompiledRuleId(l,n,r);if(-1!==o){let e=n.getRule(o),t=!1;if((e instanceof eX||e instanceof eJ||e instanceof eK)&&e.hasMissingPatterns&&0===e.patterns.length&&(t=!0),t)continue;i.push(o)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},e0=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&"string"==typeof e){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if("\\"===e.charAt(a)&&a+1<t){let t=e.charAt(a+1);"z"===t?(r.push(e.substring(n,a)),r.push("$(?!\\n)(?<!\\n)"),n=a+2):("A"===t||"G"===t)&&(i=!0),a++}this.hasAnchor=i,0===n?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,"string"==typeof this.source?this.hasBackReferences=eq.test(this.source):this.hasBackReferences=!1}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let n=t.map(t=>e.substring(t.start,t.end));return eW.lastIndex=0,this.source.replace(eW,(e,t)=>eg(n[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,n,r;if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let i=[],a=[],l=[],o=[];for(e=0,t=this.source.length;e<t;e++)n=this.source.charAt(e),i[e]=n,a[e]=n,l[e]=n,o[e]=n,"\\"===n&&e+1<t&&("A"===(r=this.source.charAt(e+1))?(i[e+1]="￿",a[e+1]="￿",l[e+1]="A",o[e+1]="A"):"G"===r?(i[e+1]="￿",a[e+1]="G",l[e+1]="￿",o[e+1]="G"):(i[e+1]=r,a[e+1]=r,l[e+1]=r,o[e+1]=r),e++);return{A0_G0:i.join(""),A0_G1:a.join(""),A1_G0:l.join(""),A1_G1:o.join("")}}resolveAnchors(e,t){if(!this.hasAnchor||!this._anchorCache||"string"!=typeof this.source)return this.source;if(e)if(t)return this._anchorCache.A1_G1;else return this._anchorCache.A1_G0;return t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},e1=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){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(e=>e.source);this._cached=new e2(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){if(!this._hasAnchors)return this.compile(e);if(t)if(n)return this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1;else return this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0;return 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)}_resolveAnchors(e,t,n){return new e2(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},e2=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join("\n")}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},e4=class{constructor(e,t){this.languageId=e,this.tokenType=t}},e3=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new e4(e,8),this._embeddedLanguagesMatcher=new e5(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return null===t?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new e4(0,0);_getBasicScopeAttributes=new ey(e=>new e4(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},e5=class{values;scopesRegExp;constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>eg(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};void 0!==ec&&ec.env.VSCODE_TEXTMATE_DEBUG;var e9=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function e8(e,t,n,r,i,a,l,o){let s=t.content.length,u=!1,c=-1;if(l){let l=function(e,t,n,r,i,a){let l=i.beginRuleCapturedEOL?0:-1,o=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof eK&&o.push({rule:n,stack:t})}for(let p=o.pop();p;p=o.pop()){var s,u,c,d,h;let{ruleScanner:o,findOptions:f}=(s=p.rule,u=e,c=p.stack.endRule,d=n,h=r===l,{ruleScanner:s.compileWhileAG(u,c,d,h),findOptions:0}),m=o.findNextMatchSync(t,r,f);if(m){if(-2!==m.ruleId){i=p.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(a.produce(p.stack,m.captureIndices[0].start),e7(e,t,n,p.stack,a,p.rule.whileCaptures,m.captureIndices),a.produce(p.stack,m.captureIndices[0].end),l=m.captureIndices[0].end,m.captureIndices[0].end>r&&(r=m.captureIndices[0].end,n=!1))}else{i=p.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:l,isFirstLine:n}}(e,t,n,r,i,a);i=l.stack,r=l.linePos,n=l.isFirstLine,c=l.anchorPosition}let d=Date.now();for(;!u;){if(0!==o&&Date.now()-d>o)return new e9(i,!0);!function(){let l=function(e,t,n,r,i,a){let l=function(e,t,n,r,i,a){let{ruleScanner:l,findOptions:o}=e6(i.getRule(e),e,i.endRule,n,r===a),s=l.findNextMatchSync(t,r,o);return s?{captureIndices:s.captureIndices,matchedRuleId:s.ruleId}:null}(e,t,n,r,i,a),o=e.getInjections();if(0===o.length)return l;let s=function(e,t,n,r,i,a,l){let o,s=Number.MAX_VALUE,u=null,c=0,d=a.contentNameScopesList.getScopeNames();for(let a=0,h=e.length;a<h;a++){let h=e[a];if(!h.matcher(d))continue;let{ruleScanner:p,findOptions:f}=e6(t.getRule(h.ruleId),t,null,r,i===l),m=p.findNextMatchSync(n,i,f);if(!m)continue;let g=m.captureIndices[0].start;if(!(g>=s)&&(s=g,u=m.captureIndices,o=m.ruleId,c=h.priority,s===i))break}return u?{priorityMatch:-1===c,captureIndices:u,matchedRuleId:o}:null}(o,e,t,n,r,i,a);if(!s)return l;if(!l)return s;let u=l.captureIndices[0].start,c=s.captureIndices[0].start;return c<u||s.priorityMatch&&c===u?s:l}(e,t,n,r,i,c);if(!l){a.produce(i,s),u=!0;return}let o=l.captureIndices,d=l.matchedRuleId,h=!!o&&o.length>0&&o[0].end>r;if(-1===d){let l=i.getRule(e);a.produce(i,o[0].start),i=i.withContentNameScopesList(i.nameScopesList),e7(e,t,n,i,a,l.endCaptures,o),a.produce(i,o[0].end);let d=i;if(i=i.parent,c=d.getAnchorPos(),!h&&d.getEnterPos()===r){i=d,a.produce(i,s),u=!0;return}}else{let l=e.getRule(d);a.produce(i,o[0].start);let p=i,f=l.getName(t.content,o),m=i.contentNameScopesList.pushAttributed(f,e);if(i=i.push(d,r,c,o[0].end===s,null,m,m),l instanceof eJ){e7(e,t,n,i,a,l.beginCaptures,o),a.produce(i,o[0].end),c=o[0].end;let r=l.getContentName(t.content,o),d=m.pushAttributed(r,e);if(i=i.withContentNameScopesList(d),l.endHasBackReferences&&(i=i.withEndRule(l.getEndWithResolvedBackReferences(t.content,o))),!h&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(l instanceof eK){e7(e,t,n,i,a,l.beginCaptures,o),a.produce(i,o[0].end),c=o[0].end;let r=l.getContentName(t.content,o),d=m.pushAttributed(r,e);if(i=i.withContentNameScopesList(d),l.whileHasBackReferences&&(i=i.withEndRule(l.getWhileWithResolvedBackReferences(t.content,o))),!h&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(e7(e,t,n,i,a,l.captures,o),a.produce(i,o[0].end),i=i.pop(),!h){i=i.safePop(),a.produce(i,s),u=!0;return}}o[0].end>r&&(r=o[0].end,n=!1)}()}return new e9(i,!1)}function e6(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function e7(e,t,n,r,i,a,l){if(0===a.length)return;let o=t.content,s=Math.min(a.length,l.length),u=[],c=l[0].end;for(let t=0;t<s;t++){let s=a[t];if(null===s)continue;let d=l[t];if(0===d.length)continue;if(d.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=d.start;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?i.produceFromScopes(u[u.length-1].scopes,d.start):i.produce(r,d.start),s.retokenizeCapturedWithRuleId){let t=s.getName(o,l),a=r.contentNameScopesList.pushAttributed(t,e),u=s.getContentName(o,l),c=a.pushAttributed(u,e),h=r.push(s.retokenizeCapturedWithRuleId,d.start,-1,!1,null,a,c),p=e.createOnigString(o.substring(0,d.end));e8(e,p,n&&0===d.start,d.start,h,i,!1,0),eI(p);continue}let h=s.getName(o,l);if(null!==h){let t=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);u.push(new te(t,d.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var te=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function tt(e,t,n,r,i){let a=eN(t,tn),l=eY.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:l,grammar:i,priority:n.priority})}function tn(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(function(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&"."===e[n]}(t[r],e))return n=r+1,!0;return!1})}var tr=class{constructor(e,t,n,r,i,a,l,o){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=o,this._basicScopeAttributesProvider=new e3(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=ti(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i))for(let t of eN(e,tn))this._tokenTypeMatchers.push({matcher:t.matcher,type:i[e]})}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(let 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(){let e=[],t=this._rootScopeName,n=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(n){let r=n.injections;if(r)for(let t in r)tt(e,t,r[t],this,n);let i=this._grammarRepository.injections(t);i&&i.forEach(t=>{let n=this.getExternalGrammar(t);if(n){let t=n.injectionSelector;t&&tt(e,t,n,this,n)}})}return e.sort((e,t)=>e.priority-t.priority),e}getInjections(){return null===this._injections&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let 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){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ti(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let 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){let 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){let i;if(-1===this._rootId&&(this._rootId=eY.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==tl.NULL)i=!1,t.reset();else{let e;i=!0;let n=this._basicScopeAttributesProvider.getDefaultAttributes(),r=this.themeProvider.getDefaults(),a=eE.set(0,n.languageId,n.tokenType,null,r.fontStyle,r.foregroundId,r.backgroundId),l=this.getRule(this._rootId).getName(null,null);e=l?ta.createRootAndLookUpScopeName(l,a,this):ta.createRoot("unknown",a),t=new tl(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let a=this.createOnigString(e),l=a.content.length,o=new ts(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),s=e8(this,a,i,0,t,o,!0,r);return eI(a),{lineLength:l,lineTokens:o,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}};function ti(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=e(t[r]);return n}(t):t instanceof RegExp?t:"object"==typeof t?function(t){let n={};for(let r in t)n[r]=e(t[r]);return n}(t):t}(e)).repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var ta=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(let t of n)r=new e(r,i=ek.push(i,t.scopeNames),t.encodedTokenAttributes);return r}static createRoot(t,n){return new e(null,new ek(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new ek(null,t),l=r.themeProvider.themeMatch(a),o=e.mergeAttributes(n,i,l);return new e(null,a,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return e.equals(this,t)}static equals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return null!==n&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),eE.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(null===t)return this;if(-1===t.indexOf(" "))return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),l=r.themeProvider.themeMatch(a),o=e.mergeAttributes(t.tokenAttributes,i,l);return new e(t,a,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}},tl=class e{constructor(e,t,n,r,i,a,l,o){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=l,this.contentNameScopesList=o,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}_stackElementBrand=void 0;static NULL=new e(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return null!==t&&e._equals(this,t)}static _equals(e,t){return e===t||!!this._structuralEquals(e,t)&&ta.equals(e.contentNameScopesList,t.contentNameScopesList)}static _structuralEquals(e,t){for(;;){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}}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,a,l,o){return new e(this,t,n,r,i,a,l,o)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.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(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,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(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){let r=ta.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,ta.fromExtension(r,n.contentNameScopesList))}},to=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>"*"===e?(this.allowAny=!0,[]):eN(e,tn).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>eN(e,tn).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&0===this.unbalancedBracketScopes.length}get matchesNever(){return 0===this.balancedBracketScopes.length&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},ts=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=eE.set(n,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=eE.set(n,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),0===this._tokens.length&&(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()),0===this._binaryTokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},tu=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(let 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,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,new tr(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},tc=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new tu(eb.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(eb.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 to(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new e$(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n="function"==typeof this._options.getInjections?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,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},td=tl.NULL,th=n(26363),tp=n(32746),tf=n(11364);let tm=/["&'<>`]/g,tg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ty=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,tb=/[|\\{}()[\]^$+*?.]/g,tk=new WeakMap,tx=/[\dA-Fa-f]/,tv=/\d/,tw=["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"],tS={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",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:"€"},tC=["cent","copy","divide","gt","lt","not","para","times"],t_={}.hasOwnProperty,tA={};for(r in tS)t_.call(tS,r)&&(tA[tS[r]]=r);let tE=/[^\dA-Za-z]/;function tN(e,t,n){let r,i=function(e,t,n){let r="&#x"+e.toString(16).toUpperCase();return n&&t&&!tx.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){let i=String.fromCharCode(e);if(t_.call(tA,i)){let e=tA[i],a="&"+e;return n&&tw.includes(e)&&!tC.includes(e)&&(!r||t&&61!==t&&tE.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){let r=function(e,t,n){let r="&#"+String(e);return n&&t&&!tv.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length<i.length&&(i=r)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function tP(e,t){let n;var r,i=e,a=Object.assign({format:tN},t);if(i=i.replace(a.subset?(r=a.subset,(n=tk.get(r))||(n=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(tb,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(r),tk.set(r,n)),n):tm,l),a.subset||a.escapeOnly)return i;return i.replace(tg,function(e,t,n){return a.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),a)}).replace(ty,l);function l(e,t,n){return a.format(e.charCodeAt(0),n.charCodeAt(t+1),a)}}let tT=/^>|^->|<!--|-->|--!>|<!-$/g,tI=[">"],tL=["<",">"];var tR=n(7019),tM=n(94241),t$=n(94711),tO=n(59374),tD=n(65571);let tj=tB(1),tz=tB(-1),tF=[];function tB(e){return function(t,n,r){let i=t?t.children:tF,a=(n||0)+e,l=i[a];if(!r)for(;l&&(0,tD.m)(l);)a+=e,l=i[a];return l}}let tH={}.hasOwnProperty;function tG(e){return function(t,n,r){return tH.call(e,t.tagName)&&e[t.tagName](t,n,r)}}let tU=tG({body:function(e,t,n){let r=tj(n,t);return!r||"comment"!==r.type},caption:tq,colgroup:tq,dd:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){let r=tj(n,t);return!!(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:tq,html:function(e,t,n){let r=tj(n,t);return!r||"comment"!==r.type},li:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){let r=tj(n,t);return r?"element"===r.type&&("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"===r.tagName):!n||"element"!==n.type||"a"!==n.tagName&&"audio"!==n.tagName&&"del"!==n.tagName&&"ins"!==n.tagName&&"map"!==n.tagName&&"noscript"!==n.tagName&&"video"!==n.tagName},rp:tW,rt:tW,tbody:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:tV,tfoot:function(e,t,n){return!tj(n,t)},th:tV,thead:function(e,t,n){let r=tj(n,t);return!!(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});function tq(e,t,n){let r=tj(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&(0,tD.m)(r.value.charAt(0)))}function tW(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function tV(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}let tQ=tG({body:function(e){let t=tj(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&(0,tD.m)(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,n){let r=tz(n,t),i=tj(e,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&tU(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"col"===i.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=tj(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let r=tz(n,t),i=tj(e,-1);return!(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&tU(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"tr"===i.tagName)}}),tZ={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},tX=["<","&"];function tJ(e,t,n,r){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:tP(e.value,Object.assign({},r.settings.characterReferences,{subset:tX}))}let tK=(0,tf.A)("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"<?"+tP(e.value,Object.assign({},r.settings.characterReferences,{subset:tI}))+">":"\x3c!--"+e.value.replace(tT,function(e){return tP(e,Object.assign({},r.settings.characterReferences,{subset:tL}))})+"--\x3e"},doctype:function(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){let i,a=r.schema,l="svg"!==a.space&&r.settings.omitOptionalTags,o="svg"===a.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[];"html"===a.space&&"svg"===e.tagName&&(r.schema=tp.JW);let u=function(e,t){let n,r=[],i=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let i=function(e,t,n){let r,i=(0,t$.I)(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,l=+!e.settings.allowDangerousCharacters,o=e.quote;if(i.overloadedBoolean&&(n===i.attribute||""===n)?n=!0:(i.boolean||i.overloadedBoolean)&&("string"!=typeof n||n===i.attribute||""===n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let s=tP(i.attribute,Object.assign({},e.settings.characterReferences,{subset:tZ.name[a][l]}));return!0===n||(n=Array.isArray(n)?(i.commaSeparated?tM.A:tO.A)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?s:(e.settings.preferUnquoted&&(r=tP(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:tZ.unquoted[a][l]}))),r!==n&&(e.settings.quoteSmart&&(0,tR.D)(n,o)>(0,tR.D)(n,e.alternative)&&(o=e.alternative),r=o+tP(n,Object.assign({},e.settings.characterReferences,{subset:("'"===o?tZ.single:tZ.double)[a][l],attribute:!0}))+o),s+(r?"="+r:r))}(e,n,t[n]);i&&r.push(i)}}for(;++i<r.length;){let t=e.settings.tightAttributes?r[i].charAt(r[i].length-1):void 0;i!==r.length-1&&'"'!==t&&"'"!==t&&(r[i]+=" ")}return r.join("")}(r,e.properties),c=r.all("html"===a.space&&"template"===e.tagName?e.content:e);return r.schema=a,c&&(o=!1),!u&&l&&tQ(e,t,n)||(s.push("<",e.tagName,u?" "+u:""),o&&("svg"===a.space||r.settings.closeSelfClosing)&&(i=u.charAt(u.length-1),(!r.settings.tightSelfClosing||"/"===i||i&&'"'!==i&&"'"!==i)&&s.push(" "),s.push("/")),s.push(">")),s.push(c),o||l&&tU(e,t,n)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:tJ(e,t,n,r)},root:function(e,t,n,r){return r.all(e)},text:tJ}}),tY={},t0={},t1=[];function t2(e,t,n){return tK(e,t,n,this)}function t4(e){let t=[],n=e&&e.children||t1,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function t3(e,t){let n="string"==typeof e?{}:{...e.colorReplacements},r="string"==typeof e?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))"string"==typeof i?n[e]=i:e===r&&Object.assign(n,i);return n}function t5(e,t){return e&&t?.[e?.toLowerCase()]||e}async function t9(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}function t8(e){return!e||["plaintext","txt","text","plain"].includes(e)}function t6(e){return"ansi"===e||t8(e)}function t7(e){return"none"===e}function ne(e,t){if(!t)return e;for(let n of(e.properties||={},e.properties.class||=[],"string"==typeof e.properties.class&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]),Array.isArray(t)?t:t.split(/\s+/g)))n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}function nt(e,t=!1){let n=e.split(/(\r?\n)/g),r=0,i=[];for(let e=0;e<n.length;e+=2){let a=t?n[e]+(n[e+1]||""):n[e];i.push([a,r]),r+=n[e].length,r+=n[e+1]?.length||0}return i}let nn="light-dark()",nr=["color","background-color"];function ni(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&ew.Italic&&(t["font-style"]="italic"),e.fontStyle&ew.Bold&&(t["font-weight"]="bold");let n=[];e.fontStyle&ew.Underline&&n.push("underline"),e.fontStyle&ew.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function na(e){return"string"==typeof e?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}let nl=new WeakMap;function no(e,t){nl.set(e,t)}function ns(e){return nl.get(e)}class nu{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,t){return new nu(Object.fromEntries((Array.isArray(t)?t:[t]).map(e=>[e,td])),e)}constructor(...e){if(2===e.length){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){var t=this._stacks[e];let n=[],r=new Set;return!function e(t){if(r.has(t))return;r.add(t);let i=t?.nameScopesList?.scopeName;i&&n.push(i),t.parent&&e(t.parent)}(t),n}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}let nc=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new eu(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(void 0===t)throw new eu(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);let n=e.character;if(n<0&&(n=t.length+n),n<0||n>t.length)throw new eu(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:n,offset:r.posToIndex(e.line,n)}}},r=function(e){let t=nt(e,!0).map(([e])=>e);return{lines:t,indexToPos:function(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}},posToIndex:function(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+n}}}(t.source),i=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));(function(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new eu(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,a=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,l=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,o=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||a||l||o){if(i&&a||l&&o||l&&n.start.offset===n.end.offset||a&&t.start.offset===t.end.offset)continue;throw new eu(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}})(i),e.set(t.meta,{decorations:i,converter:r,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){if(this.options.decorations?.length){var n=e,r=t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]);let i=Array.from(r instanceof Set?r:new Set(r)).sort((e,t)=>e-t);return i.length?n.map(e=>e.flatMap(e=>{let t=i.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);if(!t.length)return e;let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r})):n}},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(r.length!==n.converter.lines.length)throw new eu(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let l=r[e],o="",s=-1,u=-1;if(0===t&&(s=0),0===n&&(u=0),n===1/0&&(u=l.children.length),-1===s||-1===u)for(let e=0;e<l.children.length;e++)o+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(l.children[e]),-1===s&&o.length===t&&(s=e+1),-1===u&&o.length===n&&(u=e+1);if(-1===s)throw new eu(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(-1===u)throw new eu(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let c=l.children.slice(s,u);if(i.alwaysWrap||c.length!==l.children.length)if(i.alwaysWrap||1!==c.length||"element"!==c[0].type){let e={type:"element",tagName:"span",properties:{},children:c};a(e,i,"wrapper"),l.children.splice(s,c.length,e)}else a(c[0],i,"token");else a(l,i,"line")}function a(e,t,n){let r=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&ne(e,t.properties.class),e=i(e,n)||e}let l=[];for(let e of n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset)){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.line<n.line){i(t.line,t.character,1/0,e);for(let i=t.line+1;i<n.line;i++)l.unshift(()=>{var t;r[t=i]=a(r[t],e,"line")});i(n.line,0,n.character,e)}}l.forEach(e=>e())}}}()];function nd(e){let t=function(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...nc]}var nh=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],np={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function nf(e){let t=e.shift();if("2"===t){let t=e.splice(0,3).map(e=>Number.parseInt(e));if(3!==t.length||t.some(e=>Number.isNaN(e)))return;return{type:"rgb",rgb:t}}if("5"===t){let t=e.shift();if(t)return{type:"table",index:Number(t)}}}var nm={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 ng(e,t,n={}){let{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if(t8(r)||t7(i))return nt(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:a,colorMap:l}=e.setTheme(i);if("ansi"===r)return function(e,t,n){let r,i,a,l=t3(e,n),o=nt(t),s=function(e=nm){let t;function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(r){switch(r.type){case"named":return e[r.name];case"rgb":return n(r.rgb);case"table":var i;return i=r.index,function(){if(t)return t;t=[];for(let n=0;n<nh.length;n++)t.push(e[nh[n]]);let r=[0,95,135,175,215,255];for(let e=0;e<6;e++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)t.push(n([r[e],r[i],r[a]]));let i=8;for(let e=0;e<24;e++,i+=10)t.push(n([i,i,i]));return t}()[i]}}}}(Object.fromEntries(nh.map(t=>[t,e.colors?.[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]]))),u=(r=null,i=null,a=new Set,{parse(e){let t=[],n=0;do{let l=function(e,t){let n=e.indexOf("\x1b",t);if(-1!==n&&"["===e[n+1]){let t=e.indexOf("m",n);if(-1!==t)return{sequence:e.substring(n+2,t).split(";"),startPosition:n,position:t+1}}return{position:e.length}}(e,n),o=l.sequence?e.substring(n,l.startPosition):e.substring(n);if(o.length>0&&t.push({value:o,foreground:r,background:i,decorations:new Set(a)}),l.sequence){let e=function(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r))if(0===r)t.push({type:"resetAll"});else if(r<=9)np[r]&&t.push({type:"setDecoration",value:np[r]});else if(r<=29){let e=np[r-20];e&&(t.push({type:"resetDecoration",value:e}),"dim"===e&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:nh[r-30]}});else if(38===r){let n=nf(e);n&&t.push({type:"setForegroundColor",value:n})}else if(39===r)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:nh[r-40]}});else if(48===r){let n=nf(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===r?t.push({type:"resetBackgroundColor"}):53===r?t.push({type:"setDecoration",value:"overline"}):55===r?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:nh[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:nh[r-100+8]}})}return t}(l.sequence);for(let t of e)"resetAll"===t.type?(r=null,i=null,a.clear()):"resetForegroundColor"===t.type?r=null:"resetBackgroundColor"===t.type?i=null:"resetDecoration"===t.type&&a.delete(t.value);for(let t of e)"setForegroundColor"===t.type?r=t.value:"setBackgroundColor"===t.type?i=t.value:"setDecoration"===t.type&&a.add(t.value)}n=l.position}while(n<e.length);return t}});return o.map(t=>u.parse(t[0]).map(n=>{let r,i;n.decorations.has("reverse")?(r=n.background?s.value(n.background):e.bg,i=n.foreground?s.value(n.foreground):e.fg):(r=n.foreground?s.value(n.foreground):e.fg,i=n.background?s.value(n.background):void 0),r=t5(r,l),i=t5(i,l),n.decorations.has("dim")&&(r=function(e){let t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){let e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}else if(t[2])return`#${t[1]}${t[2]}80`;else return`#${Array.from(t[1]).map(e=>`${e}${e}`).join("")}80`;let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(r));let a=ew.None;return n.decorations.has("bold")&&(a|=ew.Bold),n.decorations.has("italic")&&(a|=ew.Italic),n.decorations.has("underline")&&(a|=ew.Underline),n.decorations.has("strikethrough")&&(a|=ew.Strikethrough),{content:n.value,offset:t[1],color:r,bgColor:i,fontStyle:a}}))}(a,t,n);let o=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new eu(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(a.name))throw new eu(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${a.name}"`)}var s=t,u=o,c=a,d=l,h=n;let p=ny(s,u,c,d,h),f=new nu(ny(s,u,c,d,h).stateStack,u.name,c.name);return no(p.tokens,f),p.tokens}function ny(e,t,n,r,i){let a=t3(n,i),{tokenizeMaxLineLength:l=0,tokenizeTimeLimit:o=500}=i,s=nt(e),u=i.grammarState?function(e,t){if(!(e instanceof nu))throw new eu("Invalid grammar state");return e.getInternalStack(t)}(i.grammarState,n.name)??td:null!=i.grammarContextCode?ny(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:td,c=[],d=[];for(let e=0,h=s.length;e<h;e++){let h,p,[f,m]=s[e];if(""===f){c=[],d.push([]);continue}if(l>0&&f.length>=l){c=[],d.push([{content:f,offset:m,color:"",fontStyle:0}]);continue}i.includeExplanation&&(h=t.tokenizeLine(f,u,o).tokens,p=0);let g=t.tokenizeLine2(f,u,o),y=g.tokens.length/2;for(let e=0;e<y;e++){let t=g.tokens[2*e],l=e+1<y?g.tokens[2*e+2]:f.length;if(t===l)continue;let o=g.tokens[2*e+1],s=t5(r[eE.getForeground(o)],a),u=eE.getFontStyle(o),d={content:f.substring(t,l),offset:m+t,color:s,fontStyle:u};if(i.includeExplanation){let e=[];if("scopeName"!==i.includeExplanation)for(let t of n.settings){let n;switch(typeof t.scope){case"string":n=t.scope.split(/,/).map(e=>e.trim());break;case"object":n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}d.explanation=[];let r=0;for(;t+r<l;){let t=h[p],n=f.substring(t.startIndex,t.endIndex);r+=n.length,d.explanation.push({content:n,scopes:"scopeName"===i.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:function(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(function(e,t,n){if(!nb(e[e.length-1],t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)nb(e[r],n[i])&&(r-=1),i-=1;return -1===r}(e,t,n)){r.push(a);break}return r}(e,i,t.slice(0,r))}}return n}(e,t.scopes)}),p+=1}}c.push(d)}d.push(c),c=[],u=g.ruleStack}return{tokens:d,stateStack:u}}function nb(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function nk(e,t,n){let r=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),i=r.map(r=>{let i=ng(e,t,{...n,theme:r.theme}),a=ns(i);return{tokens:i,state:a,theme:"string"==typeof r.theme?r.theme:r.theme.name}}),a=function(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let l=i.map(()=>0),o=i.map(e=>e[0]);for(;o.every(e=>e);){let e=Math.min(...o.map(e=>e.content.length));for(let t=0;t<n;t++){let n=o[t];n.content.length===e?(a[t].push(n),l[t]+=1,o[t]=i[t][l[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),o[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}(...i.map(e=>e.tokens)),l=a[0].map((e,t)=>e.map((e,i)=>{let l={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in n&&n.includeExplanation&&(l.explanation=e.explanation),a.forEach((e,n)=>{let{content:a,explanation:o,offset:s,...u}=e[t][i];l.variants[r[n].color]=u}),l})),o=i[0].state?new nu(Object.fromEntries(i.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),i[0].state.lang):void 0;return o&&no(l,o),l}function nx(e,t,n){let r,i,a,l,o,s;if("themes"in n){let{defaultColor:u="light",cssVariablePrefix:c="--shiki-",colorsRendering:d="css-vars"}=n,h=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===u?-1:+(t.color===u));if(0===h.length)throw new eu("`themes` option must not be empty");let p=nk(e,t,n);if(s=ns(p),u&&nn!==u&&!h.find(e=>e.color===u))throw new eu(`\`themes\` option must contain the defaultColor key \`${u}\``);let f=h.map(t=>e.getTheme(t.theme)),m=h.map(e=>e.color);a=p.map(e=>e.map(e=>(function(e,t,n,r,i="css-vars"){let a={content:e.content,explanation:e.explanation,offset:e.offset},l=t.map(t=>ni(e.variants[t])),o=new Set(l.flatMap(e=>Object.keys(e))),s={},u=(e,r)=>{let i="color"===r?"":"background-color"===r?"-bg":`-${r}`;return n+t[e]+("color"===r?"":i)};return l.forEach((e,n)=>{for(let a of o){let o=e[a]||"inherit";if(0===n&&r&&nr.includes(a))if(r===nn&&l.length>1){let e=t.findIndex(e=>"light"===e),r=t.findIndex(e=>"dark"===e);if(-1===e||-1===r)throw new eu('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let c=l[e][a]||"inherit",d=l[r][a]||"inherit";s[a]=`light-dark(${c}, ${d})`,"css-vars"===i&&(s[u(n,a)]=o)}else s[a]=o;else"css-vars"===i&&(s[u(n,a)]=o)}}),a.htmlStyle=s,a})(e,m,c,u,d))),s&&no(a,s);let g=h.map(e=>t3(e.theme,n));i=nv(h,f,g,c,u,"fg",d),r=nv(h,f,g,c,u,"bg",d),l=`shiki-themes ${f.map(e=>e.name).join(" ")}`,o=u?void 0:[i,r].join(";")}else if("theme"in n){let o=t3(n.theme,n);a=ng(e,t,n);let u=e.getTheme(n.theme);r=t5(u.bg,o),i=t5(u.fg,o),l=u.name,s=ns(a)}else throw new eu("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:l,rootStyle:o,grammarState:s}}function nv(e,t,n,r,i,a,l){return e.map((o,s)=>{let u=t5(t[s][a],n[s])||"inherit",c=`${r+o.color}${"bg"===a?"-bg":""}:${u}`;if(0===s&&i){if(i===nn&&e.length>1){let r=e.findIndex(e=>"light"===e.color),i=e.findIndex(e=>"dark"===e.color);if(-1===r||-1===i)throw new eu('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let l=t5(t[r][a],n[r])||"inherit",o=t5(t[i][a],n[i])||"inherit";return`light-dark(${l}, ${o});${c}`}return u}return"css-vars"===l?c:null}).filter(e=>!!e).join(";")}function nw(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>nw(e,t,n),codeToTokens:(t,n)=>nx(e,t,n)}){let i=t;for(let e of nd(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:l,bg:o,themeName:s,rootStyle:u,grammarState:c}=nx(e,i,n),{mergeWhitespaces:d=!0,mergeSameStyleTokens:h=!1}=n;!0===d?a=a.map(e=>{let t=[],n="",r=0;return e.forEach((i,a)=>{let l=!(i.fontStyle&&(i.fontStyle&ew.Underline||i.fontStyle&ew.Strikethrough));l&&i.content.match(/^\s+$/)&&e[a+1]?(r||(r=i.offset),n+=i.content):n?(l?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=0,n=""):t.push(i)}),t}):"never"===d&&(a=a.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))),h&&(a=a.map(e=>{let t=[];for(let n of e){if(0===t.length){t.push({...n});continue}let e=t[t.length-1],r=na(e.htmlStyle||ni(e)),i=na(n.htmlStyle||ni(n)),a=e.fontStyle&&(e.fontStyle&ew.Underline||e.fontStyle&ew.Strikethrough),l=n.fontStyle&&(n.fontStyle&ew.Underline||n.fontStyle&ew.Strikethrough);a||l||r!==i?t.push({...n}):e.content+=n.content}return t}));let p={...r,get source(){return i}};for(let e of nd(n))a=e.tokens?.call(p,a)||a;return function(e,t,n,r=ns(e)){let i=nd(t),a=[],l={type:"root",children:[]},{structure:o="classic",tabindex:s="0"}=t,u={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...!1!==s&&null!=s?{tabindex:s.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([e])=>!e.startsWith("_")))},children:[]},c={type:"element",tagName:"code",properties:{},children:a},d=[],h={...n,structure:o,addClassToHast:ne,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return l},get pre(){return u},get code(){return c},get lines(){return d}};if(e.forEach((e,t)=>{t&&("inline"===o?l.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===o&&a.push({type:"text",value:"\n"}));let n={type:"element",tagName:"span",properties:{class:"line"},children:[]},r=0;for(let a of e){let e={type:"element",tagName:"span",properties:{...a.htmlAttrs},children:[{type:"text",value:a.content}]},s=na(a.htmlStyle||ni(a));for(let l of(s&&(e.properties.style=s),i))e=l?.span?.call(h,e,t+1,r,n,a)||e;"inline"===o?l.children.push(e):"classic"===o&&n.children.push(e),r+=a.content.length}if("classic"===o){for(let e of i)n=e?.line?.call(h,n,t+1)||n;d.push(n),a.push(n)}}),"classic"===o){for(let e of i)c=e?.code?.call(h,c)||c;for(let e of(u.children.push(c),i))u=e?.pre?.call(h,u)||u;l.children.push(u)}let p=l;for(let e of i)p=e?.root?.call(h,p)||p;return r&&no(p,r),p}(a,{...n,fg:l,bg:o,themeName:s,rootStyle:u},p,c)}let nS=function(e,t){let n=t||tY,r=n.quote||'"';if('"'!==r&&"'"!==r)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return({one:t2,all:t4,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||th.b,characterReferences:n.characterReferences||t0,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?tp.JW:tp.qy,quote:r,alternative:'"'===r?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)},nC={light:"#333333",dark:"#bbbbbb"},n_={light:"#fffffe",dark:"#1e1e1e"},nA="__shiki_resolved";function nE(e){if(e?.[nA])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r="light"===t.type?nC.light:nC.dark),n||(n="light"===t.type?n_.light:n_.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function l(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?l(e):(a.set(e,n),n)}for(let e of(t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),r=e.settings?.background&&!e.settings.background.startsWith("#");if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=l(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=l(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let n=l(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,nA,{enumerable:!1,writable:!1,value:!0}),t}async function nN(e){return Array.from(new Set((await Promise.all(e.filter(e=>!t6(e)).map(async e=>await t9(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function nP(e){return(await Promise.all(e.map(async e=>t7(e)?null:nE(await t9(e))))).filter(e=>!!e)}class nT extends Error{constructor(e){super(e),this.name="ShikiError"}}class nI extends tc{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=nE(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=eb.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){if(this._alias[e]){let t=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],t.has(e))throw new nT(`Circular alias \`${Array.from(t).join(" -> ")} -> ${e}\``);t.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t&&t.embeddedLangs?.some(e=>n.map(([e])=>e).includes(e))).filter(e=>!n.includes(e));throw new nT(`Missing languages ${n.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(let t of e.embeddedLangs)this._langGraph.set(t,this._langMap.get(t))}}class nL{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}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){let t=e.split("."),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(".");n=[...n,...this._injections.get(r)||[]]}return n}}let nR=0;async function nM(e){e.engine||function(e,t=3){if(!(t>3))if(1)console.trace(`[SHIKI DEPRECATE]: ${e}`);else throw Error(`[SHIKI DEPRECATE]: ${e}`)}("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([nP(e.themes||[]),nN(e.langs||[]),e.engine]);return function(e){let t;nR+=1,!1!==e.warnings&&nR>=10&&nR%10==0&&console.warn(`[Shiki] ${nR} 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 n=!1;if(!e.engine)throw new nT("`engine` option is required for synchronous mode");let r=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(nE),a=new nI(new nL(e.engine,r),i,r,e.langAlias);function l(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};u();let t=a.getTheme(e);if(!t)throw new nT(`Theme \`${e}\` not found, you may need to load it first`);return t}function o(...e){u(),a.loadLanguages(e.flat(1))}function s(...e){for(let t of(u(),e.flat(1)))a.loadTheme(t)}function u(){if(n)throw new nT("Shiki instance has been disposed")}function c(){n||(n=!0,a.dispose(),nR-=1)}return{setTheme:function(e){u();let n=l(e);return t!==e&&(a.setTheme(n),t=e),{theme:n,colorMap:a.getColorMap()}},getTheme:l,getLanguage:function(e){u();let t=a.getGrammar("string"==typeof e?e:e.name);if(!t)throw new nT(`Language \`${e}\` not found, you may need to load it first`);return t},getLoadedThemes:function(){return u(),a.getLoadedThemes()},getLoadedLanguages:function(){return u(),a.getLoadedLanguages()},loadLanguage:async function(...e){return o(await nN(e))},loadLanguageSync:o,loadTheme:async function(...e){return u(),s(await nP(e))},loadThemeSync:s,dispose:c,[Symbol.dispose]:c}}({...e,themes:t,langs:n,engine:r})}async function n$(e){let t=await nM(e);return{getLastGrammarState:(...e)=>(function(...e){if(2===e.length)return ns(e[1]);let[t,n,r={}]=e,{lang:i="text",theme:a=t.getLoadedThemes()[0]}=r;if(t8(i)||t7(a))throw new eu("Plain language does not have grammar state");if("ansi"===i)throw new eu("ANSI language does not have grammar state");let{theme:l,colorMap:o}=t.setTheme(a),s=t.getLanguage(i);return new nu(ny(n,s,l,o,r).stateStack,s.name,l.name)})(t,...e),codeToTokensBase:(e,n)=>ng(t,e,n),codeToTokensWithThemes:(e,n)=>nk(t,e,n),codeToTokens:(e,n)=>nx(t,e,n),codeToHast:(e,n)=>nw(t,e,n),codeToHtml:(e,n)=>(function(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>nw(e,t,n),codeToTokens:(t,n)=>nx(e,t,n)},i=nS(nw(e,t,n,r));for(let e of nd(n))i=e.postprocess?.call(r,i,n)||i;return i})(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}let nO=[{id:"abap",name:"ABAP",import:()=>n.e(2776).then(n.bind(n,22776))},{id:"actionscript-3",name:"ActionScript",import:()=>n.e(1269).then(n.bind(n,21269))},{id:"ada",name:"Ada",import:()=>n.e(9640).then(n.bind(n,19640))},{id:"angular-html",name:"Angular HTML",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(9574)]).then(n.bind(n,19574))},{id:"angular-ts",name:"Angular TypeScript",import:()=>Promise.all([n.e(3098),n.e(7165),n.e(7925),n.e(8149),n.e(3434),n.e(1422)]).then(n.bind(n,19586))},{id:"apache",name:"Apache Conf",import:()=>n.e(6384).then(n.bind(n,66384))},{id:"apex",name:"Apex",import:()=>n.e(3810).then(n.bind(n,73810))},{id:"apl",name:"APL",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(7585)]).then(n.bind(n,77585))},{id:"applescript",name:"AppleScript",import:()=>n.e(1965).then(n.bind(n,1965))},{id:"ara",name:"Ara",import:()=>n.e(82).then(n.bind(n,40082))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>n.e(7443).then(n.bind(n,59824))},{id:"asm",name:"Assembly",import:()=>n.e(8213).then(n.bind(n,98213))},{id:"astro",name:"Astro",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(7925),n.e(7649)]).then(n.bind(n,27649))},{id:"awk",name:"AWK",import:()=>n.e(8367).then(n.bind(n,18367))},{id:"ballerina",name:"Ballerina",import:()=>n.e(1292).then(n.bind(n,31292))},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>n.e(3029).then(n.bind(n,33029))},{id:"beancount",name:"Beancount",import:()=>n.e(7835).then(n.bind(n,47835))},{id:"berry",name:"Berry",aliases:["be"],import:()=>n.e(672).then(n.bind(n,672))},{id:"bibtex",name:"BibTeX",import:()=>n.e(6728).then(n.bind(n,46728))},{id:"bicep",name:"Bicep",import:()=>n.e(1417).then(n.bind(n,81417))},{id:"blade",name:"Blade",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(5042)]).then(n.bind(n,5042))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>n.e(9955).then(n.bind(n,9955))},{id:"c",name:"C",import:()=>n.e(8255).then(n.bind(n,28255))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>n.e(9801).then(n.bind(n,79801))},{id:"cairo",name:"Cairo",import:()=>Promise.all([n.e(5424),n.e(3548)]).then(n.bind(n,83548))},{id:"clarity",name:"Clarity",import:()=>n.e(3932).then(n.bind(n,53932))},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>n.e(1208).then(n.bind(n,41208))},{id:"cmake",name:"CMake",import:()=>n.e(3641).then(n.bind(n,53641))},{id:"cobol",name:"COBOL",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(1677)]).then(n.bind(n,51677))},{id:"codeowners",name:"CODEOWNERS",import:()=>n.e(449).then(n.bind(n,40449))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>n.e(5690).then(n.bind(n,75690))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>Promise.all([n.e(3098),n.e(8858)]).then(n.bind(n,86477))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>n.e(6552).then(n.bind(n,96552))},{id:"coq",name:"Coq",import:()=>n.e(339).then(n.bind(n,10339))},{id:"cpp",name:"C++",aliases:["c++"],import:()=>Promise.all([n.e(4488),n.e(1700),n.e(4608),n.e(8255),n.e(4462)]).then(n.bind(n,56831))},{id:"crystal",name:"Crystal",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(4608),n.e(8255),n.e(5055),n.e(1906)]).then(n.bind(n,41906))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>n.e(4691).then(n.bind(n,84691))},{id:"css",name:"CSS",import:()=>n.e(7925).then(n.bind(n,47925))},{id:"csv",name:"CSV",import:()=>n.e(7632).then(n.bind(n,37632))},{id:"cue",name:"CUE",import:()=>n.e(8597).then(n.bind(n,88597))},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>n.e(9655).then(n.bind(n,69655))},{id:"d",name:"D",import:()=>n.e(3560).then(n.bind(n,33560))},{id:"dart",name:"Dart",import:()=>n.e(6609).then(n.bind(n,76609))},{id:"dax",name:"DAX",import:()=>n.e(7579).then(n.bind(n,47579))},{id:"desktop",name:"Desktop",import:()=>n.e(5140).then(n.bind(n,25140))},{id:"diff",name:"Diff",import:()=>n.e(703).then(n.bind(n,60703))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>n.e(4534).then(n.bind(n,84534))},{id:"dotenv",name:"dotEnv",import:()=>n.e(6924).then(n.bind(n,96924))},{id:"dream-maker",name:"Dream Maker",import:()=>n.e(3730).then(n.bind(n,33730))},{id:"edge",name:"Edge",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(9293)]).then(n.bind(n,9293))},{id:"elixir",name:"Elixir",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(9155)]).then(n.bind(n,9155))},{id:"elm",name:"Elm",import:()=>Promise.all([n.e(8255),n.e(9400)]).then(n.bind(n,99400))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>n.e(6451).then(n.bind(n,72328))},{id:"erb",name:"ERB",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4488),n.e(1700),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(5055),n.e(4907),n.e(3545),n.e(549)]).then(n.bind(n,70549))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>Promise.all([n.e(2069),n.e(2203)]).then(n.bind(n,2203))},{id:"fennel",name:"Fennel",import:()=>n.e(3774).then(n.bind(n,23774))},{id:"fish",name:"Fish",import:()=>n.e(7508).then(n.bind(n,67508))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>n.e(7540).then(n.bind(n,5159))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>Promise.all([n.e(8368),n.e(2559)]).then(n.bind(n,74940))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>n.e(8368).then(n.bind(n,8368))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>Promise.all([n.e(2069),n.e(8e3)]).then(n.bind(n,48e3))},{id:"gdresource",name:"GDResource",import:()=>n.e(3035).then(n.bind(n,73035))},{id:"gdscript",name:"GDScript",import:()=>n.e(798).then(n.bind(n,58417))},{id:"gdshader",name:"GDShader",import:()=>n.e(8468).then(n.bind(n,28468))},{id:"genie",name:"Genie",import:()=>n.e(2064).then(n.bind(n,52064))},{id:"gherkin",name:"Gherkin",import:()=>n.e(9154).then(n.bind(n,9154))},{id:"git-commit",name:"Git Commit Message",import:()=>n.e(1508).then(n.bind(n,11508))},{id:"git-rebase",name:"Git Rebase Message",import:()=>Promise.all([n.e(5055),n.e(4967)]).then(n.bind(n,14967))},{id:"gleam",name:"Gleam",import:()=>n.e(2272).then(n.bind(n,22272))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(8797)]).then(n.bind(n,78797))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(1123)]).then(n.bind(n,11123))},{id:"glsl",name:"GLSL",import:()=>Promise.all([n.e(8255),n.e(7674)]).then(n.bind(n,17674))},{id:"gnuplot",name:"Gnuplot",import:()=>n.e(85).then(n.bind(n,20085))},{id:"go",name:"Go",import:()=>n.e(5572).then(n.bind(n,45572))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4907)]).then(n.bind(n,74907))},{id:"groovy",name:"Groovy",import:()=>n.e(4940).then(n.bind(n,4940))},{id:"hack",name:"Hack",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(4608),n.e(8981)]).then(n.bind(n,38981))},{id:"haml",name:"Ruby Haml",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(6748)]).then(n.bind(n,4367))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(2822)]).then(n.bind(n,92822))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>n.e(3588).then(n.bind(n,83588))},{id:"haxe",name:"Haxe",import:()=>n.e(8194).then(n.bind(n,68194))},{id:"hcl",name:"HashiCorp HCL",import:()=>n.e(5133).then(n.bind(n,95133))},{id:"hjson",name:"Hjson",import:()=>n.e(2010).then(n.bind(n,92010))},{id:"hlsl",name:"HLSL",import:()=>n.e(6916).then(n.bind(n,54535))},{id:"html",name:"HTML",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149)]).then(n.bind(n,8149))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(2715)]).then(n.bind(n,92715))},{id:"http",name:"HTTP",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(1534),n.e(5055),n.e(4907),n.e(3694)]).then(n.bind(n,43694))},{id:"hxml",name:"HXML",import:()=>n.e(7377).then(n.bind(n,97377))},{id:"hy",name:"Hy",import:()=>n.e(895).then(n.bind(n,10895))},{id:"imba",name:"Imba",import:()=>n.e(5423).then(n.bind(n,85423))},{id:"ini",name:"INI",aliases:["properties"],import:()=>n.e(5766).then(n.bind(n,35766))},{id:"java",name:"Java",import:()=>n.e(1534).then(n.bind(n,51534))},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>n.e(3098).then(n.bind(n,79403))},{id:"jinja",name:"Jinja",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(5589)]).then(n.bind(n,35589))},{id:"jison",name:"Jison",import:()=>Promise.all([n.e(3098),n.e(809)]).then(n.bind(n,60809))},{id:"json",name:"JSON",import:()=>n.e(7612).then(n.bind(n,7612))},{id:"json5",name:"JSON5",import:()=>n.e(7819).then(n.bind(n,67819))},{id:"jsonc",name:"JSON with Comments",import:()=>n.e(3965).then(n.bind(n,33965))},{id:"jsonl",name:"JSON Lines",import:()=>n.e(6218).then(n.bind(n,16218))},{id:"jsonnet",name:"Jsonnet",import:()=>n.e(5283).then(n.bind(n,45283))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>n.e(1867).then(n.bind(n,81867))},{id:"jsx",name:"JSX",import:()=>n.e(4280).then(n.bind(n,35567))},{id:"julia",name:"Julia",aliases:["jl"],import:()=>Promise.all([n.e(3098),n.e(4488),n.e(1700),n.e(4608),n.e(8255),n.e(5424),n.e(1750),n.e(206)]).then(n.bind(n,32095))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>n.e(1397).then(n.bind(n,11397))},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>n.e(7384).then(n.bind(n,67384))},{id:"latex",name:"LaTeX",import:()=>Promise.all([n.e(1750),n.e(5432)]).then(n.bind(n,95432))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>n.e(6234).then(n.bind(n,46234))},{id:"less",name:"Less",import:()=>n.e(6133).then(n.bind(n,36133))},{id:"liquid",name:"Liquid",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(6542)]).then(n.bind(n,6542))},{id:"llvm",name:"LLVM IR",import:()=>n.e(9717).then(n.bind(n,79717))},{id:"log",name:"Log file",import:()=>n.e(7678).then(n.bind(n,57678))},{id:"logo",name:"Logo",import:()=>n.e(4115).then(n.bind(n,44115))},{id:"lua",name:"Lua",import:()=>Promise.all([n.e(8255),n.e(8062)]).then(n.bind(n,78062))},{id:"luau",name:"Luau",import:()=>n.e(5929).then(n.bind(n,5929))},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>n.e(9660).then(n.bind(n,79660))},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>n.e(2069).then(n.bind(n,2069))},{id:"marko",name:"Marko",import:()=>Promise.all([n.e(7117),n.e(7925),n.e(3434),n.e(6133),n.e(8606)]).then(n.bind(n,88606))},{id:"matlab",name:"MATLAB",import:()=>n.e(5221).then(n.bind(n,45221))},{id:"mdc",name:"MDC",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(2069),n.e(9198)]).then(n.bind(n,89198))},{id:"mdx",name:"MDX",import:()=>n.e(8109).then(n.bind(n,58109))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>n.e(2149).then(n.bind(n,62149))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>n.e(4986).then(n.bind(n,24986))},{id:"mojo",name:"Mojo",import:()=>n.e(4207).then(n.bind(n,44207))},{id:"move",name:"Move",import:()=>n.e(1681).then(n.bind(n,21681))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>n.e(5262).then(n.bind(n,15262))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>n.e(2141).then(n.bind(n,22141))},{id:"nginx",name:"Nginx",import:()=>Promise.all([n.e(8255),n.e(1240)]).then(n.bind(n,81240))},{id:"nim",name:"Nim",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(8255),n.e(2069),n.e(9504)]).then(n.bind(n,9504))},{id:"nix",name:"Nix",import:()=>n.e(8661).then(n.bind(n,58661))},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>n.e(5231).then(n.bind(n,75231))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>n.e(6453).then(n.bind(n,6453))},{id:"objective-cpp",name:"Objective-C++",import:()=>n.e(505).then(n.bind(n,92453))},{id:"ocaml",name:"OCaml",import:()=>n.e(864).then(n.bind(n,70864))},{id:"pascal",name:"Pascal",import:()=>n.e(4398).then(n.bind(n,74398))},{id:"perl",name:"Perl",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8193)]).then(n.bind(n,48193))},{id:"php",name:"PHP",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(6364),n.e(6423)]).then(n.bind(n,16364))},{id:"plsql",name:"PL/SQL",import:()=>n.e(4844).then(n.bind(n,84844))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>n.e(7297).then(n.bind(n,57297))},{id:"polar",name:"Polar",import:()=>n.e(9916).then(n.bind(n,29916))},{id:"postcss",name:"PostCSS",import:()=>n.e(7023).then(n.bind(n,47023))},{id:"powerquery",name:"PowerQuery",import:()=>n.e(5759).then(n.bind(n,65759))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>n.e(2517).then(n.bind(n,2517))},{id:"prisma",name:"Prisma",import:()=>n.e(8010).then(n.bind(n,38010))},{id:"prolog",name:"Prolog",import:()=>n.e(8919).then(n.bind(n,38919))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>n.e(578).then(n.bind(n,80578))},{id:"pug",name:"Pug",aliases:["jade"],import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(6764)]).then(n.bind(n,46764))},{id:"puppet",name:"Puppet",import:()=>n.e(3056).then(n.bind(n,93056))},{id:"purescript",name:"PureScript",import:()=>n.e(2313).then(n.bind(n,42313))},{id:"python",name:"Python",aliases:["py"],import:()=>n.e(5424).then(n.bind(n,55424))},{id:"qml",name:"QML",import:()=>Promise.all([n.e(3098),n.e(8050)]).then(n.bind(n,58050))},{id:"qmldir",name:"QML Directory",import:()=>n.e(1997).then(n.bind(n,31997))},{id:"qss",name:"Qt Style Sheets",import:()=>n.e(2667).then(n.bind(n,2667))},{id:"r",name:"R",import:()=>n.e(1750).then(n.bind(n,21750))},{id:"racket",name:"Racket",import:()=>n.e(4720).then(n.bind(n,24720))},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>n.e(7261).then(n.bind(n,17261))},{id:"razor",name:"ASP.NET Razor",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(4691),n.e(1588)]).then(n.bind(n,21588))},{id:"reg",name:"Windows Registry Script",import:()=>n.e(362).then(n.bind(n,70362))},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>n.e(2173).then(n.bind(n,2173))},{id:"rel",name:"Rel",import:()=>n.e(7401).then(n.bind(n,47401))},{id:"riscv",name:"RISC-V",import:()=>n.e(989).then(n.bind(n,989))},{id:"rst",name:"reStructuredText",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4488),n.e(1700),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(5055),n.e(4907),n.e(5424),n.e(3545),n.e(8555)]).then(n.bind(n,98555))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4488),n.e(1700),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(5055),n.e(4907),n.e(3545)]).then(n.bind(n,29262))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>n.e(7368).then(n.bind(n,17368))},{id:"sas",name:"SAS",import:()=>Promise.all([n.e(4608),n.e(8879)]).then(n.bind(n,28879))},{id:"sass",name:"Sass",import:()=>n.e(9844).then(n.bind(n,69844))},{id:"scala",name:"Scala",import:()=>n.e(3802).then(n.bind(n,53802))},{id:"scheme",name:"Scheme",import:()=>n.e(4071).then(n.bind(n,54071))},{id:"scss",name:"SCSS",import:()=>Promise.all([n.e(7925),n.e(3434)]).then(n.bind(n,13434))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>n.e(1001).then(n.bind(n,91001))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>n.e(3704).then(n.bind(n,63704))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>n.e(5055).then(n.bind(n,45055))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>Promise.all([n.e(5055),n.e(9852)]).then(n.bind(n,49852))},{id:"smalltalk",name:"Smalltalk",import:()=>n.e(2491).then(n.bind(n,52491))},{id:"solidity",name:"Solidity",import:()=>n.e(173).then(n.bind(n,30173))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(5499)]).then(n.bind(n,55499))},{id:"sparql",name:"SPARQL",import:()=>n.e(7541).then(n.bind(n,87541))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>n.e(6715).then(n.bind(n,36715))},{id:"sql",name:"SQL",import:()=>n.e(4608).then(n.bind(n,54608))},{id:"ssh-config",name:"SSH Config",import:()=>n.e(1531).then(n.bind(n,21531))},{id:"stata",name:"Stata",import:()=>Promise.all([n.e(4608),n.e(8103)]).then(n.bind(n,88103))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>n.e(2448).then(n.bind(n,2448))},{id:"svelte",name:"Svelte",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(3063)]).then(n.bind(n,93063))},{id:"swift",name:"Swift",import:()=>n.e(1061).then(n.bind(n,1061))},{id:"system-verilog",name:"SystemVerilog",import:()=>n.e(376).then(n.bind(n,60376))},{id:"systemd",name:"Systemd Units",import:()=>n.e(5545).then(n.bind(n,25545))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>n.e(7685).then(n.bind(n,27685))},{id:"tasl",name:"Tasl",import:()=>n.e(8782).then(n.bind(n,8782))},{id:"tcl",name:"Tcl",import:()=>n.e(1385).then(n.bind(n,21385))},{id:"templ",name:"Templ",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(5572),n.e(2446)]).then(n.bind(n,52446))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>n.e(5619).then(n.bind(n,75619))},{id:"tex",name:"TeX",import:()=>Promise.all([n.e(1750),n.e(2807)]).then(n.bind(n,22807))},{id:"toml",name:"TOML",import:()=>n.e(8290).then(n.bind(n,38290))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(9971)]).then(n.bind(n,9971))},{id:"tsv",name:"TSV",import:()=>n.e(4371).then(n.bind(n,94371))},{id:"tsx",name:"TSX",import:()=>n.e(5280).then(n.bind(n,40205))},{id:"turtle",name:"Turtle",import:()=>n.e(9412).then(n.bind(n,19412))},{id:"twig",name:"Twig",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4488),n.e(1700),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(5055),n.e(4907),n.e(5424),n.e(3434),n.e(3545),n.e(6364),n.e(5733)]).then(n.bind(n,25733))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>n.e(7117).then(n.bind(n,37331))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>n.e(1251).then(n.bind(n,41251))},{id:"typst",name:"Typst",aliases:["typ"],import:()=>n.e(3662).then(n.bind(n,13662))},{id:"v",name:"V",import:()=>n.e(5890).then(n.bind(n,65890))},{id:"vala",name:"Vala",import:()=>n.e(8532).then(n.bind(n,68532))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>n.e(9362).then(n.bind(n,59362))},{id:"verilog",name:"Verilog",import:()=>n.e(2778).then(n.bind(n,92778))},{id:"vhdl",name:"VHDL",import:()=>n.e(5144).then(n.bind(n,75144))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>n.e(3766).then(n.bind(n,73766))},{id:"vue",name:"Vue",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(2864)]).then(n.bind(n,2864))},{id:"vue-html",name:"Vue HTML",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(2864),n.e(9524)]).then(n.bind(n,99524))},{id:"vue-vine",name:"Vue Vine",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5429),n.e(7925),n.e(8149),n.e(3434),n.e(6133),n.e(2864),n.e(9742)]).then(n.bind(n,64107))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>n.e(3844).then(n.bind(n,21463))},{id:"wasm",name:"WebAssembly",import:()=>n.e(2686).then(n.bind(n,72686))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>n.e(8232).then(n.bind(n,98232))},{id:"wgsl",name:"WGSL",import:()=>n.e(4805).then(n.bind(n,14805))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>n.e(8076).then(n.bind(n,75695))},{id:"wit",name:"WebAssembly Interface Types",import:()=>n.e(996).then(n.bind(n,90996))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>n.e(3230).then(n.bind(n,67076))},{id:"xml",name:"XML",import:()=>Promise.all([n.e(1534),n.e(1661)]).then(n.bind(n,96423))},{id:"xsl",name:"XSL",import:()=>Promise.all([n.e(1534),n.e(1981)]).then(n.bind(n,61981))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>n.e(3347).then(n.bind(n,3347))},{id:"zenscript",name:"ZenScript",import:()=>n.e(458).then(n.bind(n,90458))},{id:"zig",name:"Zig",import:()=>n.e(1198).then(n.bind(n,91198))}],nD=Object.fromEntries(nO.map(e=>[e.id,e.import])),nj=Object.fromEntries(nO.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),nz={...nD,...nj},nF=Object.fromEntries([{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>n.e(5024).then(n.bind(n,55024))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>n.e(5943).then(n.bind(n,95943))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>n.e(6800).then(n.bind(n,86800))},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xe9",type:"dark",import:()=>n.e(5695).then(n.bind(n,55695))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>n.e(4535).then(n.bind(n,34535))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>n.e(6228).then(n.bind(n,26228))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>n.e(4551).then(n.bind(n,94551))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>n.e(2211).then(n.bind(n,92211))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>n.e(9340).then(n.bind(n,69340))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>n.e(5195).then(n.bind(n,35195))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>n.e(5446).then(n.bind(n,95446))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>n.e(4880).then(n.bind(n,54880))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>n.e(8820).then(n.bind(n,78820))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>n.e(7908).then(n.bind(n,17908))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>n.e(7139).then(n.bind(n,77139))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>n.e(7460).then(n.bind(n,97460))},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>n.e(7262).then(n.bind(n,97262))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>n.e(5234).then(n.bind(n,15234))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>n.e(1313).then(n.bind(n,23694))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:()=>n.e(8934).then(n.bind(n,48934))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:()=>n.e(9468).then(n.bind(n,99468))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:()=>n.e(1493).then(n.bind(n,31493))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:()=>n.e(9680).then(n.bind(n,89680))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:()=>n.e(5298).then(n.bind(n,45298))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:()=>n.e(1007).then(n.bind(n,51007))},{id:"houston",displayName:"Houston",type:"dark",import:()=>n.e(8288).then(n.bind(n,88288))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>n.e(5447).then(n.bind(n,35447))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>n.e(8377).then(n.bind(n,98377))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>n.e(7909).then(n.bind(n,87909))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>n.e(2380).then(n.bind(n,32380))},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>n.e(7621).then(n.bind(n,17621))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>n.e(563).then(n.bind(n,30563))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>n.e(4831).then(n.bind(n,84831))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>n.e(6269).then(n.bind(n,76269))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>n.e(9746).then(n.bind(n,69746))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>n.e(3334).then(n.bind(n,73334))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>n.e(5085).then(n.bind(n,55085))},{id:"min-light",displayName:"Min Light",type:"light",import:()=>n.e(7181).then(n.bind(n,97181))},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>n.e(5892).then(n.bind(n,75892))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>n.e(4853).then(n.bind(n,4853))},{id:"nord",displayName:"Nord",type:"dark",import:()=>n.e(4935).then(n.bind(n,14935))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>n.e(19).then(n.bind(n,40019))},{id:"one-light",displayName:"One Light",type:"light",import:()=>n.e(4981).then(n.bind(n,74981))},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>n.e(690).then(n.bind(n,70690))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>n.e(3266).then(n.bind(n,53266))},{id:"red",displayName:"Red",type:"dark",import:()=>n.e(6911).then(n.bind(n,76911))},{id:"rose-pine",displayName:"Ros\xe9 Pine",type:"dark",import:()=>n.e(6598).then(n.bind(n,6598))},{id:"rose-pine-dawn",displayName:"Ros\xe9 Pine Dawn",type:"light",import:()=>n.e(5315).then(n.bind(n,45315))},{id:"rose-pine-moon",displayName:"Ros\xe9 Pine Moon",type:"dark",import:()=>n.e(8482).then(n.bind(n,8482))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>n.e(7965).then(n.bind(n,97965))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>n.e(878).then(n.bind(n,878))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>n.e(3438).then(n.bind(n,43438))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>n.e(6978).then(n.bind(n,76978))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>n.e(8420).then(n.bind(n,58420))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>n.e(1370).then(n.bind(n,31370))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>n.e(9645).then(n.bind(n,59645))},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>n.e(391).then(n.bind(n,30391))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>n.e(7333).then(n.bind(n,67333))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>n.e(5362).then(n.bind(n,55362))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>n.e(6740).then(n.bind(n,56740))}].map(e=>[e.id,e.import]));var nB=n(31369).hp;class nH extends Error{constructor(e){super(e),this.name="ShikiError"}}function nG(){return"undefined"!=typeof performance?performance.now():Date.now()}let nU=(e,t)=>e+(t-e%t)%t;async function nq(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}let a="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function l(e,t){return e?function(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&a)return a.decode(e.subarray(t,i));let l="";for(;t<i;){let n=e[t++];if(!(128&n)){l+=String.fromCharCode(n);continue}let r=63&e[t++];if((224&n)==192){l+=String.fromCharCode((31&n)<<6|r);continue}let i=63&e[t++];if((n=(240&n)==224?(15&n)<<12|r<<6|i:(7&n)<<18|r<<12|i<<6|63&e[t++])<65536)l+=String.fromCharCode(n);else{let e=n-65536;l+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return l}(r.HEAPU8,e,t):""}let o={emscripten_get_now:nG,emscripten_memcpy_big:function(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){let a=r.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;for(let r=1;r<=4;r*=2){let l=a*(1+.2/r);if(l=Math.min(l,e+0x6000000),function(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}(Math.min(0x80000000,nU(Math.max(e,l),65536))))return!0}return!1},fd_write:()=>0};async function s(){let n=await e({env:o,wasi_snapshot_preview1:o});i((t=n.memory).buffer),Object.assign(r,n),r.UTF8ToString=l}return await s(),r}var nW=Object.defineProperty,nV=(e,t,n)=>((e,t,n)=>t in e?nW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);let nQ=null;class nZ{constructor(e){nV(this,"utf16Length"),nV(this,"utf8Length"),nV(this,"utf16Value"),nV(this,"utf8Value"),nV(this,"utf16OffsetToUtf8"),nV(this,"utf8OffsetToUtf16");let t=e.length,n=nZ._utf8ByteLength(e),r=n!==t,i=r?new Uint32Array(t+1):null;r&&(i[t]=n);let a=r?new Uint32Array(n+1):null;r&&(a[n]=t);let l=new Uint8Array(n),o=0;for(let n=0;n<t;n++){let s=e.charCodeAt(n),u=s,c=!1;if(s>=55296&&s<=56319&&n+1<t){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(u=(s-55296<<10)+65536|t-56320,c=!0)}r&&(i[n]=o,c&&(i[n+1]=o),u<=127?a[o+0]=n:u<=2047?(a[o+0]=n,a[o+1]=n):u<=65535?(a[o+0]=n,a[o+1]=n,a[o+2]=n):(a[o+0]=n,a[o+1]=n,a[o+2]=n,a[o+3]=n)),u<=127?l[o++]=u:(u<=2047?l[o++]=192|(1984&u)>>>6:(u<=65535?l[o++]=224|(61440&u)>>>12:(l[o++]=240|(1835008&u)>>>18,l[o++]=128|(258048&u)>>>12),l[o++]=128|(4032&u)>>>6),l[o++]=128|(63&u)>>>0),c&&n++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,l=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,l=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,l&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}let nX=class e{constructor(t){if(nV(this,"id",++e.LAST_ID),nV(this,"_onigBinding"),nV(this,"content"),nV(this,"utf16Length"),nV(this,"utf8Length"),nV(this,"utf16OffsetToUtf8"),nV(this,"utf8OffsetToUtf16"),nV(this,"ptr"),!nQ)throw new nH("Must invoke loadWasm first.");this._onigBinding=nQ,this.content=t;let n=new nZ(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||(e._sharedPtr=nQ.omalloc(1e4)),e._sharedPtrInUse=!0,nQ.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(nQ)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};nV(nX,"LAST_ID",0),nV(nX,"_sharedPtr",0),nV(nX,"_sharedPtrInUse",!1);class nJ{constructor(e){if(nV(this,"_onigBinding"),nV(this,"_ptr"),!nQ)throw new nH("Must invoke loadWasm first.");let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new nZ(e[r]);t[r]=i.createString(nQ),n[r]=i.utf8Length}let r=nQ.omalloc(4*e.length);nQ.HEAPU32.set(t,r/4);let i=nQ.omalloc(4*e.length);nQ.HEAPU32.set(n,i/4);let a=nQ.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)nQ.ofree(t[n]);nQ.ofree(i),nQ.ofree(r),0===a&&function(e){throw new nH(e.UTF8ToString(e.getLastOnigError()))}(nQ),this._onigBinding=nQ,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if("number"==typeof n&&(r=n),"string"==typeof e){e=new nX(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(0===a)return null;let l=i.HEAPU32,o=a/4,s=l[o++],u=l[o++],c=[];for(let t=0;t<u;t++){let n=e.convertUtf8OffsetToUtf16(l[o++]),r=e.convertUtf8OffsetToUtf16(l[o++]);c[t]={start:n,end:r,length:r-n}}return{index:s,captureIndices:c}}}function nK(e){return t=>WebAssembly.instantiate(e,t)}async function nY(e){return e&&await (i||(i=async function(){nQ=await nq(async t=>{let n=e;if("function"==typeof(n=await n)&&(n=await n(t)),"function"==typeof n&&(n=await n(t)),"function"==typeof n.instantiator)n=await n.instantiator(t);else if("function"==typeof n.default)n=await n.default(t);else{var r,i,a,l;if(void 0!==n.data&&(n=n.data),r=n,"undefined"!=typeof Response&&r instanceof Response){n="function"==typeof WebAssembly.instantiateStreaming?await (a=n,e=>WebAssembly.instantiateStreaming(a,e))(t):await (l=n,async e=>{let t=await l.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(i=n,"undefined"!=typeof ArrayBuffer&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||void 0!==nB&&nB.isBuffer?.(i)||"undefined"!=typeof SharedArrayBuffer&&i instanceof SharedArrayBuffer||"undefined"!=typeof Uint32Array&&i instanceof Uint32Array||n instanceof WebAssembly.Module)?n=await nK(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await nK(n.default)(t))}return"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}())),{createScanner:e=>new nJ(e.map(e=>"string"==typeof e?e:e.source)),createString:e=>new nX(e)}}let n0=function(e){let t=e.langs,n=e.themes,r=e.engine;return async function(e){function i(n){if("string"==typeof n){if(t6(n))return[];let r=t[n=e.langAlias?.[n]||n];if(!r)throw new eu(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);return r}return n}function a(e){if(t7(e))return"none";if("string"==typeof e){let t=n[e];if(!t)throw new eu(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let l=(e.themes??[]).map(e=>a(e)),o=(e.langs??[]).map(e=>i(e)),s=await n$({engine:e.engine??r(),...e,themes:l,langs:o});return{...s,loadLanguage:(...e)=>s.loadLanguage(...e.map(i)),loadTheme:(...e)=>s.loadTheme(...e.map(a)),getBundledLanguages:()=>t,getBundledThemes:()=>n}}}({langs:nz,themes:nF,engine:()=>nY(Promise.all([n.e(8880),n.e(9204)]).then(n.bind(n,9204)))});function n1(e){if(1!=[...e].length)throw Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}let n2=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),n4=String.raw;function n3(e,t){if(null==e)throw Error(t??"Value expected");return e}let n5=n4`\[\^?`,n9=`c.? | C(?:-.?)?|${n4`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${n4`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${n4`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${n4`o\{[^\}]*\}?`}|${n4`\d{1,3}`}`,n8=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,n6=RegExp(n4`
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3207],{1181:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},3187:(e,t,n)=>{"use strict";function r(e){return e.toLowerCase()}n.d(t,{S:()=>r})},7019:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{D:()=>r})},8612:(e,t,n)=>{"use strict";n.d(t,{BM:()=>o,CW:()=>r,Ee:()=>d,HP:()=>c,JQ:()=>l,Ny:()=>f,On:()=>h,cx:()=>a,es:()=>p,lV:()=>i,ok:()=>s,ol:()=>u});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),a=m(/[#-'*+\--9=?A-Z^-~]/);function l(e){return null!==e&&(e<32||127===e)}let o=m(/\d/),s=m(/[\dA-Fa-f]/),u=m(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function h(e){return -2===e||-1===e||32===e}let p=m(/\p{P}|\p{S}/u),f=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},9640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},11364:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,l=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(l,n)?l[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},14637:(e,t,n)=>{"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n=t.defaultOrigin,o=void 0===n?"":n,s=t.allowedLinkPrefixes,u=void 0===s?[]:s,c=t.allowedImagePrefixes,d=void 0===c?[]:c,h=t.components,p=i(t,["defaultOrigin","allowedLinkPrefixes","allowedImagePrefixes","components"]),f=u.length&&!u.every(function(e){return"*"===e}),m=d.length&&!d.every(function(e){return"*"===e});if(!o&&(f||m))throw Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");var g=function(e){if("string"!=typeof e)return null;try{var t=new URL(e);return t}catch(n){if(o)try{var t=new URL(e,o);return t}catch(e){}return null}},y=function(e){return"string"==typeof e&&e.startsWith("/")},b=function(e,t){if(!e||!g(e))return null;if(t.includes("*")){var n=y(e),r=g(e);return r?n?r.pathname+r.search+r.hash:r.href:null}var i=y(e),a=g(e);return a&&t.some(function(e){var t=g(e);return!!t&&t.origin===a.origin&&a.href.startsWith(t.href)})?i?a.pathname+a.search+a.hash:a.href:null},k=r(r({},h),{a:function(e){var t=e.href,n=e.children,o=e.node,s=i(e,["href","children","node"]),c=b(t,u);return null!==c?(null==h?void 0:h.a)?(0,l.createElement)(h.a,r({href:c,children:n,node:o,target:"_blank",rel:"noopener noreferrer"},s)):(0,a.jsx)("a",r({href:c},s,{target:"_blank",rel:"noopener noreferrer",children:n})):(0,a.jsxs)("span",{className:"text-gray-500",title:"Blocked URL: ".concat(t),children:[n," [blocked]"]})},img:function(e){var t=e.src,n=e.alt,o=e.node,s=i(e,["src","alt","node"]),u=b(t,d);return null!==u?(null==h?void 0:h.img)?(0,l.createElement)(h.img,r({src:u,alt:n,node:o},s)):(0,a.jsx)("img",r({src:u,alt:n},s)):(0,a.jsxs)("span",{className:"inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",children:["[Image blocked: ",n||"No description","]"]})}}),x=r(r({},p),{components:k});return(0,l.createElement)(e,x)}};var a=n(85012),l=n(56632)},15427:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},l=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},o=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,d=arguments[0],h=1,p=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<p;++h)if(t=arguments[h],null!=t)for(n in t)r=s(d,n),d!==(i=s(t,n))&&(f&&i&&(l(i)||(u=a(i)))?(u?(u=!1,c=r&&a(r)?r:[]):c=r&&l(r)?r:{},o(d,{name:n,newValue:e(f,c,i)})):void 0!==i&&o(d,{name:n,newValue:i}));return d}},15711:(e,t,n)=>{"use strict";n.d(t,{dc:()=>a,_Z:()=>l,VG:()=>o});var r=n(58706);let i=[],a=!1,l="skip";function o(e,t,n,o){let s;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):s=t;let u=(0,r.C)(s),c=o?-1:1;(function e(r,s,d){let h=r&&"object"==typeof r?r:{};if("string"==typeof h.type){let e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return p;function p(){var h;let p,f,m,g=i;if((!t||u(r,s,d[d.length-1]||void 0))&&(g=Array.isArray(h=n(r,d))?h:"number"==typeof h?[!0,h]:null==h?i:[h])[0]===a)return g;if("children"in r&&r.children&&r.children&&g[0]!==l)for(f=(o?r.children.length:-1)+c,m=d.concat(r);f>-1&&f<r.children.length;){if((p=e(r.children[f],f,m)())[0]===a)return p;f="number"==typeof p[1]?p[1]:f+c}return g}})(e,void 0,[])()}},16995:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},19083:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(8612);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},19287:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},20153:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},24061:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},24129:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("hammer",[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]])},26363:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});let r=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},27346:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});let r={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]}},28655:()=>{},29570:(e,t,n)=>{"use strict";function r(e){return e&&"object"==typeof e?"position"in e||"type"in e?a(e.position):"start"in e||"end"in e?a(e):"line"in e||"column"in e?i(e):"":""}function i(e){return l(e&&e.line)+":"+l(e&&e.column)}function a(e){return i(e&&e.start)+"-"+i(e&&e.end)}function l(e){return e&&"number"==typeof e?e:1}n.d(t,{L:()=>r})},30619:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),a="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;a?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(87940))},31810:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},31850:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});let r="object"==typeof self?self:globalThis,i=e=>((e,t)=>{let n=(t,n)=>(e.set(n,t),t),i=a=>{if(e.has(a))return e.get(a);let[l,o]=t[a];switch(l){case 0:case -1:return n(o,a);case 1:{let e=n([],a);for(let t of o)e.push(i(t));return e}case 2:{let e=n({},a);for(let[t,n]of o)e[i(t)]=i(n);return e}case 3:return n(new Date(o),a);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),a)}case 5:{let e=n(new Map,a);for(let[t,n]of o)e.set(i(t),i(n));return e}case 6:{let e=n(new Set,a);for(let t of o)e.add(i(t));return e}case 7:{let{name:e,message:t}=o;return n(new r[e](t),a)}case 8:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new r[l](o),a)};return i})(new Map,e)(0),{toString:a}={},{keys:l}=Object,o=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=a.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},s=([e,t])=>0===e&&("function"===t||"symbol"===t),u=(e,{json:t,lossy:n}={})=>{let r=[];return((e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[u,c]=o(r);switch(u){case 0:{let t=r;switch(c){case"bigint":u=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+c);t=null;break;case"undefined":return i([-1],r)}return i([u,t],r)}case 1:{if(c){let e=r;return"DataView"===c?e=new Uint8Array(r.buffer):"ArrayBuffer"===c&&(e=new Uint8Array(r)),i([c,[...e]],r)}let e=[],t=i([u,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(c)switch(c){case"BigInt":return i([c,r.toString()],r);case"Boolean":case"Number":case"String":return i([c,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());let n=[],d=i([u,n],r);for(let t of l(r))(e||!s(o(r[t])))&&n.push([a(t),a(r[t])]);return d}case 3:return i([u,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([u,{source:e,flags:t}],r)}case 5:{let t=[],n=i([u,t],r);for(let[n,i]of r)(e||!(s(o(n))||s(o(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([u,t],r);for(let n of r)(e||!s(o(n)))&&t.push(a(n));return n}}let{message:d}=r;return i([u,{name:c,message:d}],r)};return a})(!(t||n),!!t,new Map,r)(e),r},c="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(u(e,t)):structuredClone(e):(e,t)=>i(u(e,t))},32746:(e,t,n)=>{"use strict";n.d(t,{qy:()=>y,JW:()=>b});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var a=n(3187),l=n(42501);function o(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new l.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[(0,a.S)(r)]=r,n[(0,a.S)(o.attribute)]=r}return new r(t,n,e.space)}var s=n(64510);let u=o({properties:{ariaActiveDescendant:null,ariaAtomic:s.booleanish,ariaAutoComplete:null,ariaBusy:s.booleanish,ariaChecked:s.booleanish,ariaColCount:s.number,ariaColIndex:s.number,ariaColSpan:s.number,ariaControls:s.spaceSeparated,ariaCurrent:null,ariaDescribedBy:s.spaceSeparated,ariaDetails:null,ariaDisabled:s.booleanish,ariaDropEffect:s.spaceSeparated,ariaErrorMessage:null,ariaExpanded:s.booleanish,ariaFlowTo:s.spaceSeparated,ariaGrabbed:s.booleanish,ariaHasPopup:null,ariaHidden:s.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s.spaceSeparated,ariaLevel:s.number,ariaLive:null,ariaModal:s.booleanish,ariaMultiLine:s.booleanish,ariaMultiSelectable:s.booleanish,ariaOrientation:null,ariaOwns:s.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:s.number,ariaPressed:s.booleanish,ariaReadOnly:s.booleanish,ariaRelevant:null,ariaRequired:s.booleanish,ariaRoleDescription:s.spaceSeparated,ariaRowCount:s.number,ariaRowIndex:s.number,ariaRowSpan:s.number,ariaSelected:s.booleanish,ariaSetSize:s.number,ariaSort:null,ariaValueMax:s.number,ariaValueMin:s.number,ariaValueNow:s.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function c(e,t){return t in e?e[t]:t}function d(e,t){return c(e,t.toLowerCase())}let h=o({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:s.commaSeparated,acceptCharset:s.spaceSeparated,accessKey:s.spaceSeparated,action:null,allow:null,allowFullScreen:s.boolean,allowPaymentRequest:s.boolean,allowUserMedia:s.boolean,alt:null,as:null,async:s.boolean,autoCapitalize:null,autoComplete:s.spaceSeparated,autoFocus:s.boolean,autoPlay:s.boolean,blocking:s.spaceSeparated,capture:null,charSet:null,checked:s.boolean,cite:null,className:s.spaceSeparated,cols:s.number,colSpan:null,content:null,contentEditable:s.booleanish,controls:s.boolean,controlsList:s.spaceSeparated,coords:s.number|s.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:s.boolean,defer:s.boolean,dir:null,dirName:null,disabled:s.boolean,download:s.overloadedBoolean,draggable:s.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:s.boolean,formTarget:null,headers:s.spaceSeparated,height:s.number,hidden:s.overloadedBoolean,high:s.number,href:null,hrefLang:null,htmlFor:s.spaceSeparated,httpEquiv:s.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:s.boolean,inputMode:null,integrity:null,is:null,isMap:s.boolean,itemId:null,itemProp:s.spaceSeparated,itemRef:s.spaceSeparated,itemScope:s.boolean,itemType:s.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:s.boolean,low:s.number,manifest:null,max:null,maxLength:s.number,media:null,method:null,min:null,minLength:s.number,multiple:s.boolean,muted:s.boolean,name:null,nonce:null,noModule:s.boolean,noValidate:s.boolean,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:s.boolean,optimum:s.number,pattern:null,ping:s.spaceSeparated,placeholder:null,playsInline:s.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:s.boolean,referrerPolicy:null,rel:s.spaceSeparated,required:s.boolean,reversed:s.boolean,rows:s.number,rowSpan:s.number,sandbox:s.spaceSeparated,scope:null,scoped:s.boolean,seamless:s.boolean,selected:s.boolean,shadowRootClonable:s.boolean,shadowRootDelegatesFocus:s.boolean,shadowRootMode:null,shape:null,size:s.number,sizes:null,slot:null,span:s.number,spellCheck:s.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:s.number,step:null,style:null,tabIndex:s.number,target:null,title:null,translate:null,type:null,typeMustMatch:s.boolean,useMap:null,value:s.booleanish,width:s.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:s.spaceSeparated,axis:null,background:null,bgColor:null,border:s.number,borderColor:null,bottomMargin:s.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:s.boolean,declare:s.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:s.number,leftMargin:s.number,link:null,longDesc:null,lowSrc:null,marginHeight:s.number,marginWidth:s.number,noResize:s.boolean,noHref:s.boolean,noShade:s.boolean,noWrap:s.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:s.number,rules:null,scheme:null,scrolling:s.booleanish,standby:null,summary:null,text:null,topMargin:s.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:s.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:s.boolean,disableRemotePlayback:s.boolean,prefix:null,property:null,results:s.number,security:null,unselectable:null},space:"html",transform:d}),p=o({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",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:s.commaOrSpaceSeparated,accentHeight:s.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s.number,amplitude:s.number,arabicForm:null,ascent:s.number,attributeName:null,attributeType:null,azimuth:s.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s.number,by:null,calcMode:null,capHeight:s.number,className:s.spaceSeparated,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:s.number,diffuseConstant:s.number,direction:null,display:null,dur:null,divisor:s.number,dominantBaseline:null,download:s.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:s.number,enableBackground:null,end:null,event:null,exponent:s.number,externalResourcesRequired:null,fill:null,fillOpacity:s.number,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:s.commaSeparated,g2:s.commaSeparated,glyphName:s.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s.number,horizOriginX:s.number,horizOriginY:s.number,id:null,ideographic:s.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s.number,k:s.number,k1:s.number,k2:s.number,k3:s.number,k4:s.number,kernelMatrix:s.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s.number,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:s.number,overlineThickness:s.number,paintOrder:null,panose1:null,path:null,pathLength:s.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:s.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s.number,pointsAtY:s.number,pointsAtZ:s.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:s.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:s.commaOrSpaceSeparated,rev:s.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:s.commaOrSpaceSeparated,requiredFeatures:s.commaOrSpaceSeparated,requiredFonts:s.commaOrSpaceSeparated,requiredFormats:s.commaOrSpaceSeparated,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:s.number,specularExponent:s.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s.number,strikethroughThickness:s.number,string:null,stroke:null,strokeDashArray:s.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s.number,strokeOpacity:s.number,strokeWidth:null,style:null,surfaceScale:s.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:s.commaOrSpaceSeparated,tabIndex:s.number,tableValues:null,target:null,targetX:s.number,targetY:s.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:s.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:s.number,underlineThickness:s.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s.number,values:null,vAlphabetic:s.number,vMathematical:s.number,vectorEffect:null,vHanging:s.number,vIdeographic:s.number,version:null,vertAdvY:s.number,vertOriginX:s.number,vertOriginY:s.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c}),f=o({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),m=o({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d}),g=o({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),y=i([u,h,f,m,g],"html"),b=i([u,p,f,m,g],"svg")},33109:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]])},40973:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},41945:(e,t,n)=>{"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{B:()=>r})},42501:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var r=n(1181),i=n(64510);let a=Object.keys(i);class l extends r.R{constructor(e,t,n,r){let l=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++l<a.length;){let e=a[l];!function(e,t,n){n&&(e[t]=n)}(this,a[l],(n&i[e])===i[e])}}}l.prototype.defined=!0},43032:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},46645:(e,t,n)=>{"use strict";n.d(t,{YR:()=>i});var r=n(15711);function i(e,t,n,i){let a,l,o;"function"==typeof t&&"function"!=typeof n?(l=void 0,o=t,a=n):(l=t,o=n,a=i),(0,r.VG)(e,l,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},a)}},47739:(e,t,n)=>{"use strict";let r,i;n.d(t,{TW:()=>ex,YZ:()=>ey,Zk:()=>m});var a,l=n(56632);let o=(0,l.createContext)(null);o.displayName="PanelGroupContext";let s={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},u=l.useLayoutEffect,c=(a||(a=n.t(l,2)))["useId".toString()],d="function"==typeof c?c:()=>null,h=0;function p(e=null){let t=d(),n=(0,l.useRef)(e||t||null);return null===n.current&&(n.current=""+h++),null!=e?e:n.current}function f({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:i,forwardedRef:a,id:c,maxSize:d,minSize:h,onCollapse:f,onExpand:m,onResize:g,order:y,style:b,tagName:k="div",...x}){let v=(0,l.useContext)(o);if(null===v)throw Error("Panel components must be rendered within a PanelGroup container");let{collapsePanel:w,expandPanel:S,getPanelSize:C,getPanelStyle:_,groupId:A,isPanelCollapsed:E,reevaluatePanelConstraints:N,registerPanel:P,resizePanel:T,unregisterPanel:I}=v,L=p(c),R=(0,l.useRef)({callbacks:{onCollapse:f,onExpand:m,onResize:g},constraints:{collapsedSize:n,collapsible:r,defaultSize:i,maxSize:d,minSize:h},id:L,idIsFromProps:void 0!==c,order:y});(0,l.useRef)({didLogMissingDefaultSizeWarning:!1}),u(()=>{let{callbacks:e,constraints:t}=R.current,a={...t};R.current.id=L,R.current.idIsFromProps=void 0!==c,R.current.order=y,e.onCollapse=f,e.onExpand=m,e.onResize=g,t.collapsedSize=n,t.collapsible=r,t.defaultSize=i,t.maxSize=d,t.minSize=h,(a.collapsedSize!==t.collapsedSize||a.collapsible!==t.collapsible||a.maxSize!==t.maxSize||a.minSize!==t.minSize)&&N(R.current,a)}),u(()=>{let e=R.current;return P(e),()=>{I(e)}},[y,L,P,I]),(0,l.useImperativeHandle)(a,()=>({collapse:()=>{w(R.current)},expand:e=>{S(R.current,e)},getId:()=>L,getSize:()=>C(R.current),isCollapsed:()=>E(R.current),isExpanded:()=>!E(R.current),resize:e=>{T(R.current,e)}}),[w,S,C,E,L,T]);let M=_(R.current,i);return(0,l.createElement)(k,{...x,children:e,className:t,id:L,style:{...M,...b},[s.groupId]:A,[s.panel]:"",[s.panelCollapsible]:r||void 0,[s.panelId]:L,[s.panelSize]:parseFloat(""+M.flexGrow).toFixed(1)})}let m=(0,l.forwardRef)((e,t)=>(0,l.createElement)(f,{...e,forwardedRef:t}));f.displayName="Panel",m.displayName="forwardRef(Panel)";let g=null,y=-1,b=null;function k(e,t,n){var i,a,l;let o=function(e,t,n){let r=(t&P)!=0,i=(t&T)!=0,a=(t&I)!=0,l=(t&L)!=0;if(t){if(r)if(a)return"se-resize";else if(l)return"ne-resize";else return"e-resize";else if(i)if(a)return"sw-resize";else if(l)return"nw-resize";else return"w-resize";else if(a)return"s-resize";else if(l)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}(e,t,0);g!==o&&(g=o,null===b&&(b=document.createElement("style"),r&&b.setAttribute("nonce",r),document.head.appendChild(b)),y>=0&&(null==(l=b.sheet)||l.removeRule(y)),y=null!=(i=null==(a=b.sheet)?void 0:a.insertRule(`*{cursor: ${o} !important;}`))?i:-1)}function x(e){return"keydown"===e.type}function v(e){return e.type.startsWith("pointer")}function w(e){return e.type.startsWith("mouse")}function S(e){if(v(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(w(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}let C=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function _(e){let t=e.length;for(;t--;){let n=e[t];if(V(n,"Missing node"),function(e){let t=getComputedStyle(e);return!!("fixed"===t.position||"auto"!==t.zIndex&&("static"!==t.position||function(e){var t;let n=getComputedStyle(null!=(t=N(e))?t:e).display;return"flex"===n||"inline-flex"===n}(e))||1>+t.opacity||"transform"in t&&"none"!==t.transform||"webkitTransform"in t&&"none"!==t.webkitTransform||"mixBlendMode"in t&&"normal"!==t.mixBlendMode||"filter"in t&&"none"!==t.filter||"webkitFilter"in t&&"none"!==t.webkitFilter||"isolation"in t&&"isolate"===t.isolation||C.test(t.willChange))||"touch"===t.webkitOverflowScrolling}(n))return n}return null}function A(e){return e&&Number(getComputedStyle(e).zIndex)||0}function E(e){let t=[];for(;e;)t.push(e),e=N(e);return t}function N(e){let{parentNode:t}=e;return t&&t instanceof ShadowRoot?t.host:t}let P=1,T=2,I=4,L=8,R="coarse"===function(){if("function"==typeof matchMedia)return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}(),M=[],$=!1,O=new Map,D=new Map,j=new Set;function z(e){let{target:t}=e,{x:n,y:r}=S(e);$=!0,G({target:t,x:n,y:r}),q(),M.length>0&&(W("down",e),U(),e.preventDefault(),H(t)||e.stopImmediatePropagation())}function F(e){let{x:t,y:n}=S(e);if($&&"pointerleave"!==e.type&&0===e.buttons&&($=!1,W("up",e)),!$){let{target:r}=e;G({target:r,x:t,y:n})}W("move",e),U(),M.length>0&&e.preventDefault()}function B(e){let{target:t}=e,{x:n,y:r}=S(e);D.clear(),$=!1,M.length>0&&(e.preventDefault(),H(t)||e.stopImmediatePropagation()),W("up",e),G({target:t,x:n,y:r}),U(),q()}function H(e){let t=e;for(;t;){if(t.hasAttribute(s.resizeHandle))return!0;t=t.parentElement}return!1}function G({target:e,x:t,y:n}){M.splice(0);let r=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(r=e),j.forEach(e=>{let{element:i,hitAreaMargins:a}=e,l=i.getBoundingClientRect(),{bottom:o,left:s,right:u,top:c}=l,d=R?a.coarse:a.fine;if(t>=s-d&&t<=u+d&&n>=c-d&&n<=o+d){if(null!==r&&document.contains(r)&&i!==r&&!i.contains(r)&&!r.contains(i)&&function(e,t){let n;if(e===t)throw Error("Cannot compare node with itself");let r={a:E(e),b:E(t)};for(;r.a.at(-1)===r.b.at(-1);)e=r.a.pop(),t=r.b.pop(),n=e;V(n,"Stacking order can only be calculated for elements with a common ancestor");let i={a:A(_(r.a)),b:A(_(r.b))};if(i.a===i.b){let e=n.childNodes,t={a:r.a.at(-1),b:r.b.at(-1)},i=e.length;for(;i--;){let n=e[i];if(n===t.a)return 1;if(n===t.b)return -1}}return Math.sign(i.a-i.b)}(r,i)>0){let e=r,t=!1;for(;e;){var h;if(e.contains(i))break;if(h=e.getBoundingClientRect(),h.x<l.x+l.width&&h.x+h.width>l.x&&h.y<l.y+l.height&&h.y+h.height>l.y){t=!0;break}e=e.parentElement}if(t)return}M.push(e)}})}function U(){let e=!1,t=!1;M.forEach(n=>{let{direction:r}=n;"horizontal"===r?e=!0:t=!0});let n=0;D.forEach(e=>{n|=e}),e&&t?k("intersection",n,$):e?k("horizontal",n,$):t?k("vertical",n,$):null!==b&&(document.head.removeChild(b),g=null,b=null,y=-1)}function q(){var e;null==(e=i)||e.abort();let t={capture:!0,signal:(i=new AbortController).signal};j.size&&($?(M.length>0&&O.forEach((e,n)=>{let{body:r}=n;e>0&&(r.addEventListener("contextmenu",B,t),r.addEventListener("pointerleave",F,t),r.addEventListener("pointermove",F,t))}),O.forEach((e,n)=>{let{body:r}=n;r.addEventListener("pointerup",B,t),r.addEventListener("pointercancel",B,t)})):O.forEach((e,n)=>{let{body:r}=n;e>0&&(r.addEventListener("pointerdown",z,t),r.addEventListener("pointermove",F,t))}))}function W(e,t){j.forEach(n=>{let{setResizeHandlerState:r}=n;r(e,M.includes(n),t)})}function V(e,t){if(!e)throw console.error(t),Error(t)}function Q(e,t,n=10){return e.toFixed(n)===t.toFixed(n)?0:e>t?1:-1}function Z(e,t,n=10){return 0===Q(e,t,n)}function X(e,t,n){return 0===Q(e,t,n)}function J({panelConstraints:e,panelIndex:t,size:n}){let r=e[t];V(null!=r,`Panel constraints not found for index ${t}`);let{collapsedSize:i=0,collapsible:a,maxSize:l=100,minSize:o=0}=r;return 0>Q(n,o)&&(n=a&&0>Q(n,(i+o)/2)?i:o),n=parseFloat((n=Math.min(l,n)).toFixed(10))}function K({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:r,prevLayout:i,trigger:a}){if(X(e,0))return t;let l=[...t],[o,s]=r;V(null!=o,"Invalid first pivot index"),V(null!=s,"Invalid second pivot index");let u=0;if("keyboard"===a){{let r=e<0?s:o,i=n[r];V(i,`Panel constraints not found for index ${r}`);let{collapsedSize:a=0,collapsible:l,minSize:u=0}=i;if(l){let n=t[r];if(V(null!=n,`Previous layout not found for panel index ${r}`),X(n,a)){let t=u-n;Q(t,Math.abs(e))>0&&(e=e<0?0-t:t)}}}{let r=e<0?o:s,i=n[r];V(i,`No panel constraints found for index ${r}`);let{collapsedSize:a=0,collapsible:l,minSize:u=0}=i;if(l){let n=t[r];if(V(null!=n,`Previous layout not found for panel index ${r}`),X(n,u)){let t=n-a;Q(t,Math.abs(e))>0&&(e=e<0?0-t:t)}}}}{let r=e<0?1:-1,i=e<0?s:o,a=0;for(;;){let e=t[i];if(V(null!=e,`Previous layout not found for panel index ${i}`),a+=J({panelConstraints:n,panelIndex:i,size:100})-e,(i+=r)<0||i>=n.length)break}let l=Math.min(Math.abs(e),Math.abs(a));e=e<0?0-l:l}{let r=e<0?o:s;for(;r>=0&&r<n.length;){let i=Math.abs(e)-Math.abs(u),a=t[r];V(null!=a,`Previous layout not found for panel index ${r}`);let o=J({panelConstraints:n,panelIndex:r,size:a-i});if(!X(a,o)&&(u+=a-o,l[r]=o,u.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?r--:r++}}if(function(e,t,n){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!X(e[n],t[n],void 0))return!1;return!0}(i,l))return i;{let r=e<0?s:o,i=t[r];V(null!=i,`Previous layout not found for panel index ${r}`);let a=i+u,c=J({panelConstraints:n,panelIndex:r,size:a});if(l[r]=c,!X(c,a)){let t=a-c,r=e<0?s:o;for(;r>=0&&r<n.length;){let i=l[r];V(null!=i,`Previous layout not found for panel index ${r}`);let a=J({panelConstraints:n,panelIndex:r,size:i+t});if(X(i,a)||(t-=a-i,l[r]=a),X(t,0))break;e>0?r--:r++}}}return X(l.reduce((e,t)=>t+e,0),100)?l:i}function Y(e,t=document){return Array.from(t.querySelectorAll(`[${s.resizeHandleId}][data-panel-group-id="${e}"]`))}function ee(e,t,n=document){let r=Y(e,n).findIndex(e=>e.getAttribute(s.resizeHandleId)===t);return null!=r?r:null}function et(e,t,n){let r=ee(e,t,n);return null!=r?[r,r+1]:[-1,-1]}function en(e,t=document){if((t instanceof HTMLElement||"object"==typeof t&&null!==t&&"tagName"in t&&"getAttribute"in t)&&t.dataset.panelGroupId==e)return t;let n=t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return n||null}function er(e,t=document){let n=t.querySelector(`[${s.resizeHandleId}="${e}"]`);return n||null}function ei(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function ea(e,t){let{x:n,y:r}=S(t);return"horizontal"===e?n:r}function el(e,t,n){t.forEach((t,r)=>{let i=e[r];V(i,`Panel data not found for index ${r}`);let{callbacks:a,constraints:l,id:o}=i,{collapsedSize:s=0,collapsible:u}=l,c=n[o];if(null==c||t!==c){n[o]=t;let{onCollapse:e,onExpand:r,onResize:i}=a;i&&i(t,c),u&&(e||r)&&(r&&(null==c||Z(c,s))&&!Z(t,s)&&r(),e&&(null==c||!Z(c,s))&&Z(t,s)&&e())}})}function eo(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function es(e){try{if("undefined"!=typeof localStorage)e.getItem=e=>localStorage.getItem(e),e.setItem=(e,t)=>{localStorage.setItem(e,t)};else throw Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function eu(e){return`react-resizable-panels:${e}`}function ec(e){return e.map(e=>{let{constraints:t,id:n,idIsFromProps:r,order:i}=e;return r?n:i?`${i}:${JSON.stringify(t)}`:JSON.stringify(t)}).sort((e,t)=>e.localeCompare(t)).join(",")}function ed(e,t){try{let n=eu(e),r=t.getItem(n);if(r){let e=JSON.parse(r);if("object"==typeof e&&null!=e)return e}}catch(e){}return null}function eh(e,t,n,r,i){var a;let l=eu(e),o=ec(t),s=null!=(a=ed(e,i))?a:{};s[o]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{i.setItem(l,JSON.stringify(s))}catch(e){console.error(e)}}function ep({layout:e,panelConstraints:t}){let n=[...e],r=n.reduce((e,t)=>e+t,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(e=>`${e}%`).join(", ")}`);if(!X(r,100)&&n.length>0)for(let e=0;e<t.length;e++){let t=n[e];V(null!=t,`No layout data found for index ${e}`);let i=100/r*t;n[e]=i}let i=0;for(let e=0;e<t.length;e++){let r=n[e];V(null!=r,`No layout data found for index ${e}`);let a=J({panelConstraints:t,panelIndex:e,size:r});r!=a&&(i+=r-a,n[e]=a)}if(!X(i,0))for(let e=0;e<t.length;e++){let r=n[e];V(null!=r,`No layout data found for index ${e}`);let a=J({panelConstraints:t,panelIndex:e,size:r+i});if(r!==a&&(i-=a-r,n[e]=a,X(i,0)))break}return n}let ef={getItem:e=>(es(ef),ef.getItem(e)),setItem:(e,t)=>{es(ef),ef.setItem(e,t)}},em={};function eg({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:i,id:a=null,onLayout:c=null,keyboardResizeBy:d=null,storage:h=ef,style:f,tagName:m="div",...g}){let y=p(a),b=(0,l.useRef)(null),[k,S]=(0,l.useState)(null),[C,_]=(0,l.useState)([]),A=function(){let[e,t]=(0,l.useState)(0);return(0,l.useCallback)(()=>t(e=>e+1),[])}(),E=(0,l.useRef)({}),N=(0,l.useRef)(new Map),R=(0,l.useRef)(0),M=(0,l.useRef)({autoSaveId:e,direction:r,dragState:k,id:y,keyboardResizeBy:d,onLayout:c,storage:h}),$=(0,l.useRef)({layout:C,panelDataArray:[],panelDataArrayChanged:!1});(0,l.useRef)({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),(0,l.useImperativeHandle)(i,()=>({getId:()=>M.current.id,getLayout:()=>{let{layout:e}=$.current;return e},setLayout:e=>{let{onLayout:t}=M.current,{layout:n,panelDataArray:r}=$.current,i=ep({layout:e,panelConstraints:r.map(e=>e.constraints)});ei(n,i)||(_(i),$.current.layout=i,t&&t(i),el(r,i,E.current))}}),[]),u(()=>{M.current.autoSaveId=e,M.current.direction=r,M.current.dragState=k,M.current.id=y,M.current.onLayout=c,M.current.storage=h}),function({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:i,panelGroupElement:a,setLayout:o}){(0,l.useRef)({didWarnAboutMissingResizeHandle:!1}),u(()=>{if(!a)return;let e=Y(n,a);for(let t=0;t<i.length-1;t++){let{valueMax:n,valueMin:a,valueNow:l}=function({layout:e,panelsArray:t,pivotIndices:n}){let r=0,i=100,a=0,l=0,o=n[0];return V(null!=o,"No pivot index found"),t.forEach((e,t)=>{let{constraints:n}=e,{maxSize:s=100,minSize:u=0}=n;t===o?(r=u,i=s):(a+=u,l+=s)}),{valueMax:Math.min(i,100-a),valueMin:Math.max(r,100-l),valueNow:e[o]}}({layout:r,panelsArray:i,pivotIndices:[t,t+1]}),o=e[t];if(null==o);else{let e=i[t];V(e,`No panel data found for index "${t}"`),o.setAttribute("aria-controls",e.id),o.setAttribute("aria-valuemax",""+Math.round(n)),o.setAttribute("aria-valuemin",""+Math.round(a)),o.setAttribute("aria-valuenow",null!=l?""+Math.round(l):"")}}return()=>{e.forEach((e,t)=>{e.removeAttribute("aria-controls"),e.removeAttribute("aria-valuemax"),e.removeAttribute("aria-valuemin"),e.removeAttribute("aria-valuenow")})}},[n,r,i,a]),(0,l.useEffect)(()=>{if(!a)return;let e=t.current;V(e,"Eager values not found");let{panelDataArray:i}=e;V(null!=en(n,a),`No group found for id "${n}"`);let l=Y(n,a);V(l,`No resize handles found for group id "${n}"`);let u=l.map(e=>{let t=e.getAttribute(s.resizeHandleId);V(t,"Resize handle element has no handle id attribute");let[l,u]=function(e,t,n,r=document){var i,a,l,o;let s=er(t,r),u=Y(e,r),c=s?u.indexOf(s):-1;return[null!=(i=null==(a=n[c])?void 0:a.id)?i:null,null!=(l=null==(o=n[c+1])?void 0:o.id)?l:null]}(n,t,i,a);if(null==l||null==u)return()=>{};let c=e=>{if(!e.defaultPrevented&&"Enter"===e.key){e.preventDefault();let s=i.findIndex(e=>e.id===l);if(s>=0){let e=i[s];V(e,`No panel data found for index ${s}`);let l=r[s],{collapsedSize:u=0,collapsible:c,minSize:d=0}=e.constraints;if(null!=l&&c){let e=K({delta:X(l,u)?d-u:u-l,initialLayout:r,panelConstraints:i.map(e=>e.constraints),pivotIndices:et(n,t,a),prevLayout:r,trigger:"keyboard"});r!==e&&o(e)}}}};return e.addEventListener("keydown",c),()=>{e.removeEventListener("keydown",c)}});return()=>{u.forEach(e=>e())}},[a,e,t,n,r,i,o])}({committedValuesRef:M,eagerValuesRef:$,groupId:y,layout:C,panelDataArray:$.current.panelDataArray,setLayout:_,panelGroupElement:b.current}),(0,l.useEffect)(()=>{let{panelDataArray:t}=$.current;if(e){if(0===C.length||C.length!==t.length)return;let n=em[e];null==n&&(n=function(e,t=10){let n=null;return(...r)=>{null!==n&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}(eh,100),em[e]=n),n(e,[...t],new Map(N.current),C,h)}},[e,C,h]),(0,l.useEffect)(()=>{});let O=(0,l.useCallback)(e=>{let{onLayout:t}=M.current,{layout:n,panelDataArray:r}=$.current;if(e.constraints.collapsible){let i=r.map(e=>e.constraints),{collapsedSize:a=0,panelSize:l,pivotIndices:o}=ek(r,e,n);if(V(null!=l,`Panel size not found for panel "${e.id}"`),!Z(l,a)){N.current.set(e.id,l);let s=K({delta:eb(r,e)===r.length-1?l-a:a-l,initialLayout:n,panelConstraints:i,pivotIndices:o,prevLayout:n,trigger:"imperative-api"});eo(n,s)||(_(s),$.current.layout=s,t&&t(s),el(r,s,E.current))}}},[]),j=(0,l.useCallback)((e,t)=>{let{onLayout:n}=M.current,{layout:r,panelDataArray:i}=$.current;if(e.constraints.collapsible){let a=i.map(e=>e.constraints),{collapsedSize:l=0,panelSize:o=0,minSize:s=0,pivotIndices:u}=ek(i,e,r),c=null!=t?t:s;if(Z(o,l)){let t=N.current.get(e.id),l=null!=t&&t>=c?t:c,s=K({delta:eb(i,e)===i.length-1?o-l:l-o,initialLayout:r,panelConstraints:a,pivotIndices:u,prevLayout:r,trigger:"imperative-api"});eo(r,s)||(_(s),$.current.layout=s,n&&n(s),el(i,s,E.current))}}},[]),z=(0,l.useCallback)(e=>{let{layout:t,panelDataArray:n}=$.current,{panelSize:r}=ek(n,e,t);return V(null!=r,`Panel size not found for panel "${e.id}"`),r},[]),F=(0,l.useCallback)((e,t)=>{let{panelDataArray:n}=$.current,r=eb(n,e);return function({defaultSize:e,dragState:t,layout:n,panelData:r,panelIndex:i,precision:a=3}){let l=n[i];return{flexBasis:0,flexGrow:null==l?void 0!=e?e.toFixed(a):"1":1===r.length?"1":l.toFixed(a),flexShrink:1,overflow:"hidden",pointerEvents:null!==t?"none":void 0}}({defaultSize:t,dragState:k,layout:C,panelData:n,panelIndex:r})},[k,C]),B=(0,l.useCallback)(e=>{let{layout:t,panelDataArray:n}=$.current,{collapsedSize:r=0,collapsible:i,panelSize:a}=ek(n,e,t);return V(null!=a,`Panel size not found for panel "${e.id}"`),!0===i&&Z(a,r)},[]),H=(0,l.useCallback)(e=>{let{layout:t,panelDataArray:n}=$.current,{collapsedSize:r=0,collapsible:i,panelSize:a}=ek(n,e,t);return V(null!=a,`Panel size not found for panel "${e.id}"`),!i||Q(a,r)>0},[]),G=(0,l.useCallback)(e=>{let{panelDataArray:t}=$.current;t.push(e),t.sort((e,t)=>{let n=e.order,r=t.order;return null==n&&null==r?0:null==n?-1:null==r?1:n-r}),$.current.panelDataArrayChanged=!0,A()},[A]);u(()=>{if($.current.panelDataArrayChanged){$.current.panelDataArrayChanged=!1;let{autoSaveId:i,onLayout:a,storage:l}=M.current,{layout:o,panelDataArray:s}=$.current,u=null;if(i){var e,t,n,r;let a=(e=i,t=s,null!=(r=(null!=(n=ed(e,l))?n:{})[ec(t)])?r:null);a&&(N.current=new Map(Object.entries(a.expandToSizes)),u=a.layout)}null==u&&(u=function({panelDataArray:e}){let t=Array(e.length),n=e.map(e=>e.constraints),r=0,i=100;for(let a=0;a<e.length;a++){let e=n[a];V(e,`Panel constraints not found for index ${a}`);let{defaultSize:l}=e;null!=l&&(r++,t[a]=l,i-=l)}for(let a=0;a<e.length;a++){let l=n[a];V(l,`Panel constraints not found for index ${a}`);let{defaultSize:o}=l;if(null!=o)continue;let s=i/(e.length-r);r++,t[a]=s,i-=s}return t}({panelDataArray:s}));let c=ep({layout:u,panelConstraints:s.map(e=>e.constraints)});ei(o,c)||(_(c),$.current.layout=c,a&&a(c),el(s,c,E.current))}}),u(()=>{let e=$.current;return()=>{e.layout=[]}},[]);let U=(0,l.useCallback)(e=>{let t=!1,n=b.current;return n&&"rtl"===window.getComputedStyle(n,null).getPropertyValue("direction")&&(t=!0),function(n){var r,i;n.preventDefault();let a=b.current;if(!a)return()=>null;let{direction:l,dragState:o,id:u,keyboardResizeBy:c,onLayout:d}=M.current,{layout:h,panelDataArray:p}=$.current,{initialLayout:f}=null!=o?o:{},m=et(u,e,a),g=function(e,t,n,r,i,a){if(!x(e))return null==r?0:function(e,t,n,r,i){let a="horizontal"===n,l=er(t,i);V(l,`No resize handle element found for id "${t}"`);let o=l.getAttribute(s.groupId);V(o,"Resize handle element has no group id attribute");let{initialCursorPosition:u}=r,c=ea(n,e),d=en(o,i);V(d,`No group element found for id "${o}"`);let h=d.getBoundingClientRect();return(c-u)/(a?h.width:h.height)*100}(e,t,n,r,a);{let t="horizontal"===n,r=0;r=e.shiftKey?100:null!=i?i:10;let a=0;switch(e.key){case"ArrowDown":a=t?0:r;break;case"ArrowLeft":a=t?-r:0;break;case"ArrowRight":a=t?r:0;break;case"ArrowUp":a=t?0:-r;break;case"End":a=100;break;case"Home":a=-100}return a}}(n,e,l,o,c,a),y="horizontal"===l;y&&t&&(g=-g);let k=K({delta:g,initialLayout:null!=f?f:h,panelConstraints:p.map(e=>e.constraints),pivotIndices:m,prevLayout:h,trigger:x(n)?"keyboard":"mouse-or-touch"}),S=!eo(h,k);(v(n)||w(n))&&R.current!=g&&((R.current=g,S||0===g)?D.set(e,0):y?(r=g<0?P:T,D.set(e,r)):(i=g<0?I:L,D.set(e,i))),S&&(_(k),$.current.layout=k,d&&d(k),el(p,k,E.current))}},[]),q=(0,l.useCallback)((e,t)=>{let{onLayout:n}=M.current,{layout:r,panelDataArray:i}=$.current,a=i.map(e=>e.constraints),{panelSize:l,pivotIndices:o}=ek(i,e,r);V(null!=l,`Panel size not found for panel "${e.id}"`);let s=K({delta:eb(i,e)===i.length-1?l-t:t-l,initialLayout:r,panelConstraints:a,pivotIndices:o,prevLayout:r,trigger:"imperative-api"});eo(r,s)||(_(s),$.current.layout=s,n&&n(s),el(i,s,E.current))},[]),W=(0,l.useCallback)((e,t)=>{let{layout:n,panelDataArray:r}=$.current,{collapsedSize:i=0,collapsible:a}=t,{collapsedSize:l=0,collapsible:o,maxSize:s=100,minSize:u=0}=e.constraints,{panelSize:c}=ek(r,e,n);null!=c&&(a&&o&&Z(c,i)?Z(i,l)||q(e,l):c<u?q(e,u):c>s&&q(e,s))},[q]),J=(0,l.useCallback)((e,t)=>{let{direction:n}=M.current,{layout:r}=$.current;if(!b.current)return;let i=er(e,b.current);V(i,`Drag handle element not found for id "${e}"`);let a=ea(n,t);S({dragHandleId:e,dragHandleRect:i.getBoundingClientRect(),initialCursorPosition:a,initialLayout:r})},[]),ee=(0,l.useCallback)(()=>{S(null)},[]),es=(0,l.useCallback)(e=>{let{panelDataArray:t}=$.current,n=eb(t,e);n>=0&&(t.splice(n,1),delete E.current[e.id],$.current.panelDataArrayChanged=!0,A())},[A]),eu=(0,l.useMemo)(()=>({collapsePanel:O,direction:r,dragState:k,expandPanel:j,getPanelSize:z,getPanelStyle:F,groupId:y,isPanelCollapsed:B,isPanelExpanded:H,reevaluatePanelConstraints:W,registerPanel:G,registerResizeHandle:U,resizePanel:q,startDragging:J,stopDragging:ee,unregisterPanel:es,panelGroupElement:b.current}),[O,k,r,j,z,F,y,B,H,W,G,U,q,J,ee,es]);return(0,l.createElement)(o.Provider,{value:eu},(0,l.createElement)(m,{...g,children:t,className:n,id:a,ref:b,style:{display:"flex",flexDirection:"horizontal"===r?"row":"column",height:"100%",overflow:"hidden",width:"100%",...f},[s.group]:"",[s.groupDirection]:r,[s.groupId]:y}))}let ey=(0,l.forwardRef)((e,t)=>(0,l.createElement)(eg,{...e,forwardedRef:t}));function eb(e,t){return e.findIndex(e=>e===t||e.id===t.id)}function ek(e,t,n){let r=eb(e,t),i=r===e.length-1,a=n[r];return{...t.constraints,panelSize:a,pivotIndices:i?[r-1,r]:[r,r+1]}}function ex({children:e=null,className:t="",disabled:n=!1,hitAreaMargins:r,id:i,onBlur:a,onClick:c,onDragging:d,onFocus:h,onPointerDown:f,onPointerUp:m,style:g={},tabIndex:y=0,tagName:b="div",...k}){var x,v;let w=(0,l.useRef)(null),S=(0,l.useRef)({onClick:c,onDragging:d,onPointerDown:f,onPointerUp:m});(0,l.useEffect)(()=>{S.current.onClick=c,S.current.onDragging=d,S.current.onPointerDown=f,S.current.onPointerUp=m});let C=(0,l.useContext)(o);if(null===C)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");let{direction:_,groupId:A,registerResizeHandle:E,startDragging:N,stopDragging:P,panelGroupElement:T}=C,I=p(i),[L,R]=(0,l.useState)("inactive"),[$,z]=(0,l.useState)(!1),[F,B]=(0,l.useState)(null),H=(0,l.useRef)({state:L});u(()=>{H.current.state=L}),(0,l.useEffect)(()=>{if(n)B(null);else{let e=E(I);B(()=>e)}},[n,I,E]);let G=null!=(x=null==r?void 0:r.coarse)?x:15,W=null!=(v=null==r?void 0:r.fine)?v:5;return(0,l.useEffect)(()=>{if(n||null==F)return;let e=w.current;V(e,"Element ref not attached");let t=!1;return function(e,t,n,r,i){var a;let{ownerDocument:l}=t,o={direction:n,element:t,hitAreaMargins:r,setResizeHandlerState:i},s=null!=(a=O.get(l))?a:0;return O.set(l,s+1),j.add(o),q(),function(){var t;D.delete(e),j.delete(o);let n=null!=(t=O.get(l))?t:1;if(O.set(l,n-1),q(),1===n&&O.delete(l),M.includes(o)){let e=M.indexOf(o);e>=0&&M.splice(e,1),U(),i("up",!0,null)}}}(I,e,_,{coarse:G,fine:W},(e,n,r)=>{if(!n)return void R("inactive");switch(e){case"down":{R("drag"),t=!1,V(r,'Expected event to be defined for "down" action'),N(I,r);let{onDragging:e,onPointerDown:n}=S.current;null==e||e(!0),null==n||n();break}case"move":{let{state:e}=H.current;t=!0,"drag"!==e&&R("hover"),V(r,'Expected event to be defined for "move" action'),F(r);break}case"up":{R("hover"),P();let{onClick:e,onDragging:n,onPointerUp:r}=S.current;null==n||n(!1),null==r||r(),t||null==e||e()}}})},[G,_,n,W,E,I,F,N,P]),!function({disabled:e,handleId:t,resizeHandler:n,panelGroupElement:r}){(0,l.useEffect)(()=>{if(e||null==n||null==r)return;let i=er(t,r);if(null==i)return;let a=e=>{if(!e.defaultPrevented)switch(e.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":e.preventDefault(),n(e);break;case"F6":{e.preventDefault();let n=i.getAttribute(s.groupId);V(n,`No group element found for id "${n}"`);let a=Y(n,r),l=ee(n,t,r);V(null!==l,`No resize element found for id "${t}"`);let o=e.shiftKey?l>0?l-1:a.length-1:l+1<a.length?l+1:0;a[o].focus()}}};return i.addEventListener("keydown",a),()=>{i.removeEventListener("keydown",a)}},[r,e,t,n])}({disabled:n,handleId:I,resizeHandler:F,panelGroupElement:T}),(0,l.createElement)(b,{...k,children:e,className:t,id:i,onBlur:()=>{z(!1),null==a||a()},onFocus:()=>{z(!0),null==h||h()},ref:w,role:"separator",style:{touchAction:"none",userSelect:"none",...g},tabIndex:y,[s.groupDirection]:_,[s.groupId]:A,[s.resizeHandle]:"",[s.resizeHandleActive]:"drag"===L?"pointer":$?"keyboard":void 0,[s.resizeHandleEnabled]:!n,[s.resizeHandleId]:I,[s.resizeHandleState]:L})}eg.displayName="PanelGroup",ey.displayName="forwardRef(PanelGroup)",ex.displayName="PanelResizeHandle"},48572:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},51856:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},52263:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(8612);function i(e,t,n,i){let a=i?i-1:1/0,l=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(o){return(0,r.On)(o)&&l++<a?(e.consume(o),i):(e.exit(n),t(o))}(i)):t(i)}}},55007:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||n.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,s):e.replace(a,s)).replace(r,o))}},57944:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},58706:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return a;if("function"==typeof e)return i(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,i(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,i(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function a(){return!0}},59374:(e,t,n)=>{"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},64103:(e,t,n)=>{"use strict";n.d(t,{h:()=>d,s:()=>h});var r=n(32746),i=n(94241);let a=/[#.]/g;var l=n(94711),o=n(3187),s=n(59374);function u(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,o,...u){let d;if(null==n)d={type:"root",children:[]},u.unshift(o);else{let h=(d=function(e,t){let n,r,i=e||"",l={},o=0;for(;o<i.length;){a.lastIndex=o;let e=a.exec(i),t=i.slice(o,e?e.index:i.length);t&&(n?"#"===n?l.id=t:Array.isArray(l.className)?l.className.push(t):l.className=[t]:r=t,o+=t.length),e&&(n=e[0],o++)}return{type:"element",tagName:r||t||"div",properties:l,children:[]}}(n,t)).tagName.toLowerCase(),p=r?r.get(h):void 0;if(d.tagName=p||h,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(o))u.unshift(o);else for(let[t,n]of Object.entries(o))!function(e,t,n,r){let a,o=(0,l.I)(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?(0,s.q)(r):o.commaSeparated?(0,i.q)(r):o.commaOrSpaceSeparated?(0,s.q)((0,i.q)(r).join(" ")):c(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(c(o,o.property,t));a=e}"className"===o.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[o.property]=a}}(e,d.properties,t,n)}for(let e of u)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(d.children,e);return"element"===d.type&&"template"===d.tagName&&(d.content={type:"root",children:d.children},d.children=[]),d}}function c(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||(0,o.S)(n)===(0,o.S)(t)))return!0}return n}let d=u(r.qy,"div"),h=u(r.JW,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"])},64510:(e,t,n)=>{"use strict";n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>c,commaSeparated:()=>u,number:()=>o,overloadedBoolean:()=>l,spaceSeparated:()=>s});let r=0,i=d(),a=d(),l=d(),o=d(),s=d(),u=d(),c=d();function d(){return 2**++r}},65571:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});let r=/[ \t\n\f\r]/g;function i(e){return"object"==typeof e?"text"===e.type&&a(e.value):a(e)}function a(e){return""===e.replace(r,"")}},65670:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(52263),i=n(8612);let a={partial:!0,tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,a,"linePrefix")(t):a(t)};function a(e){return null===e||(0,i.HP)(e)?t(e):n(e)}}}},66483:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(95723);let i={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let a,l=(i.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(a in o){i.call(l,a)||(l[a]=[]);let e=o[a];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(l[a],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},67458:(e,t,n)=>{"use strict";function r(e){if(e)throw e}n.d(t,{l:()=>d});var i=n(15427),a=n(75207);function l(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var o=n(82575);let s=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},u={}.hasOwnProperty;class c extends s{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(a,...l){let o=e[++n],s=-1;if(a)return void r(a);for(;++s<t.length;)(null===l[s]||void 0===l[s])&&(l[s]=t[s]);t=l,o?(function(e,t){let n;return function(...t){let a,l=e.length>t.length;l&&t.push(r);try{a=e.apply(this,t)}catch(e){if(l&&n)throw e;return r(e)}l||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(o,i)(...l):r(null,...l)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new c,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(i(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(f("data",this.frozen),this.namespace[e]=t,this):u.call(this.namespace,e)&&this.namespace[e]||void 0:e?(f("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=y(e),n=this.parser||this.Parser;return h("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),h("process",this.parser||this.Parser),p("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let l=y(e),o=n.parse(l);function s(e,n){e||!n?i(e):r?r(n):((0,a.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(o,l,function(e,t,r){var i,a;if(e||!t||!r)return s(e);let l=n.stringify(t,r);"string"==typeof(i=l)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=l:r.result=l,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),h("processSync",this.parser||this.Parser),p("processSync",this.compiler||this.Compiler),this.process(e,function(e,i){n=!0,r(e),t=i}),g("processSync","process",n),(0,a.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){m(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,l){(0,a.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let o=y(t);r.run(e,o,function(t,r,o){let s=r||e;t?l(t):i?i(s):((0,a.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,s,o))})}}runSync(e,t){let n,i=!1;return this.run(e,t,function(e,t){r(e),n=t,i=!0}),g("runSync","run",i),(0,a.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=y(t),r=this.compiler||this.Compiler;return p("stringify",r),m(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(f("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function a(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=i(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)s(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;s(e,t)}else a(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,a=-1;for(;++r<n.length;)if(n[r][0]===e){a=r;break}if(-1===a)n.push([e,...t]);else if(t.length>0){let[r,...o]=t,s=n[a][1];l(s)&&l(r)&&(r=i(!0,s,r)),n[a]=[e,r,...o]}}}}let d=new c().freeze();function h(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function p(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function f(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function m(e){if(!l(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function g(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function y(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new o.T(e)}},68811:(e,t,n)=>{"use strict";n.d(t,{G1:()=>l,PW:()=>i,Y:()=>r});let r=a("end"),i=a("start");function a(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function l(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},69456:(e,t,n)=>{"use strict";n.d(t,{H:()=>S});var r=n(94241),i=n(75207);let a=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o={};function s(e,t){return((t||o).jsx?l:a).test(e)}var u=n(65571),c=n(32746),d=n(94711);let h={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var p=n(59374),f=n(79275),m=n(68811),g=n(96293);let y={}.hasOwnProperty,b=new Map,k=/[A-Z]/g,x=new Set(["table","tbody","thead","tfoot","tr"]),v=new Set(["td","th"]),w="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function S(e,t){var n,r,i,a;let l;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=o,r=t.jsxDEV,l=function(e,t,i,a){let l=Array.isArray(i.children),o=(0,m.PW)(e);return r(t,i,a,l,{columnNumber:o?o.column-1:void 0,fileName:n,lineNumber:o?o.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,l=function(e,t,n,r){let l=Array.isArray(n.children)?a:i;return r?l(t,n,r):l(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:l,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?c.JW:c.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=C(s,e,void 0);return u&&"string"!=typeof u?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}function C(e,t,n){return"element"===t.type?function(e,t,n){let i=e.schema;"svg"===t.tagName.toLowerCase()&&"html"===i.space&&(e.schema=c.JW),e.ancestors.push(t);let a=N(e,t.tagName,!1),l=function(e,t){let n,i,a={};for(i in t.properties)if("children"!==i&&y.call(t.properties,i)){let l=function(e,t,n){let i=(0,d.I)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?(0,r.A)(n):(0,p.A)(n)),"style"===i.property){let t="object"==typeof n?n:function(e,t){try{return f(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new g.o("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=w+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)y.call(e,t)&&(n[function(e){let t=e.replace(k,T);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&i.space?h[i.property]||i.property:i.attribute,n]}}(e,i,t.properties[i]);if(l){let[r,i]=l;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof i&&v.has(t.tagName)?n=i:a[r]=i}}return n&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),a}(e,t),o=E(e,t);return x.has(t.tagName)&&(o=o.filter(function(e){return"string"!=typeof e||!(0,u.m)(e)})),_(e,l,a,t),A(l,o),e.ancestors.pop(),e.schema=i,e.create(t,a,l,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}P(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema;"svg"===t.name&&"html"===r.space&&(e.schema=c.JW),e.ancestors.push(t);let a=null===t.name?e.Fragment:N(e,t.name,!0),l=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,i.ok)("ObjectExpression"===a.type);let l=a.properties[0];(0,i.ok)("SpreadElement"===l.type),Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else P(e,t.position);else{let a,l=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else P(e,t.position);else a=null===r.value||r.value;n[l]=a}return n}(e,t),o=E(e,t);return _(e,l,a,t),A(l,o),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);P(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return A(r,E(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function _(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function A(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function E(e,t){let n=[],r=-1,i=e.passKeys?new Map:b;for(;++r<t.children.length;){let a,l=t.children[r];if(e.passKeys){let e="element"===l.type?l.tagName:"mdxJsxFlowElement"===l.type||"mdxJsxTextElement"===l.type?l.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let o=C(e,l,a);void 0!==o&&n.push(o)}return n}function N(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),a=-1;for(;++a<n.length;){let t=s(n[a])?{type:"Identifier",name:n[a]}:{type:"Literal",value:n[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=s(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return y.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);P(e)}function P(e,t){let n=new g.o("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=w+"#cannot-handle-mdx-estrees-without-createevaluater",n}function T(e){return"-"+e.toLowerCase()}},70731:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},72105:(e,t,n)=>{"use strict";n.d(t,{A:()=>eS});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ep,contentInitial:()=>eo,disable:()=>ef,document:()=>el,flow:()=>eu,flowInitial:()=>es,insideSpan:()=>eh,string:()=>ec,text:()=>ed});var i=n(83034),a=n(95723);class l{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&o(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),o(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),o(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);o(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);o(this.left,t.reverse())}}}function o(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}function s(e){let t,n,r,i,o,s,u,c={},d=-1,h=new l(e);for(;++d<h.length;){for(;d in c;)d=c[d];if(t=h.get(d),d&&"chunkFlow"===t[1].type&&"listItemPrefix"===h.get(d-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let n,r,i=e.get(t)[1],a=e.get(t)[2],l=t-1,o=[],s=i._tokenizer;!s&&(s=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));let u=s.events,c=[],d={},h=-1,p=i,f=0,m=0,g=[0];for(;p;){for(;e.get(++l)[1]!==p;);o.push(l),!p._tokenizer&&(n=a.sliceStream(p),p.next||n.push(null),r&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(m=h+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),h=g.length;h--;){let t=u.slice(g[h],g[h+1]),n=o.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),h=-1;++h<c.length;)d[f+c[h][0]]=f+c[h][1],f+=c[h][1]-c[h][0]-1;return d}(h,d)),d=c[d],u=!0);else if(t[1]._container){for(r=d,n=void 0;r--;)if("lineEnding"===(i=h.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(h.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...h.get(n)[1].start},(o=h.slice(n,d)).unshift(t),h.splice(n,d-n+1,o))}}return(0,a.m)(e,0,1/0,h.slice(0)),!u}var u=n(66483),c=n(52263),d=n(8612);let h={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,d.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},p={tokenize:function(e){let t,n,r,i=this,l=[],o=0;return s;function s(t){if(o<l.length){let n=l[o];return i.containerState=n[1],e.attempt(n[0].continuation,u,c)(t)}return c(t)}function u(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&x();let r=i.events.length,l=r;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){n=i.events[l][1].end;break}k(o);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return(0,a.m)(i.events,l+1,0,i.events.slice(r)),i.events.length=s,c(e)}return s(e)}function c(n){if(o===l.length){if(!t)return m(n);if(t.currentConstruct&&t.currentConstruct.concrete)return y(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(f,h,p)(n)}function h(e){return t&&x(),k(o),m(e)}function p(e){return i.parser.lazy[i.now().line]=o!==l.length,r=i.now().offset,y(e)}function m(t){return i.containerState={},e.attempt(f,g,y)(t)}function g(e){return o++,l.push([i.currentConstruct,i.containerState]),m(e)}function y(r){if(null===r){t&&x(),k(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){b(e.exit("chunkFlow"),!0),k(0),e.consume(n);return}return(0,d.HP)(n)?(e.consume(n),b(e.exit("chunkFlow")),o=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function b(e,l){let s=i.sliceStream(e);if(l&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,l=t.events.length;for(;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;let s=i.events.length,u=s;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(k(o),l=s;l<i.events.length;)i.events[l][1].end={...n},l++;(0,a.m)(i.events,u+1,0,i.events.slice(s)),i.events.length=l}}function k(t){let n=l.length;for(;n-- >t;){let t=l[n];i.containerState=t[1],t[0].exit.call(i,e)}l.length=t}function x(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,n){return(0,c.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var m=n(65670);let g={resolve:function(e){return s(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,d.HP)(t)?e.check(y,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},y={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,d.HP)(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},b={tokenize:function(e){let t=this,n=e.attempt(m.B,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,c.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(g,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},k={resolveAll:S()},x=w("string"),v=w("text");function w(e){return{resolveAll:S("text"===e?C:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,l);return a;function a(e){return s(e)?i(e):l(e)}function l(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),o)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function S(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function C(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],a=t.sliceStream(i),l=a.length,o=-1,s=0;for(;l--;){let e=a[l];if("string"==typeof e){for(o=e.length;32===e.charCodeAt(o-1);)s++,o--;if(o)break;o=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let a={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:i.start._bufferIndex+o,_index:i.start._index+l,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}let _={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){var l;return e.enter("thematicBreak"),r=l=a,function a(l){return l===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,d.On)(n)?(0,c.N)(e,a,"whitespace")(n):a(n))}(l)):i>=3&&(null===l||(0,d.HP)(l))?(e.exit("thematicBreak"),t(l)):n(l)}(l)}}},A={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(m.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,c.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,d.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(N,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,c.N)(e,e.attempt(A,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,d.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(_,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,d.BM)(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),o(i)):n(i)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(m.B,r.interrupt?n:s,e.attempt(E,c,u))}function s(e){return r.containerState.initialBlankLine=!0,a++,c(e)}function u(t){return(0,d.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},E={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,d.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},N={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},P={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,d.On)(t)?(0,c.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(P,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,d.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function T(e,t,n,r,i,a,l,o,s){let u=s||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),h):null===t||32===t||41===t||(0,d.JQ)(t)?n(t):(e.enter(r),e.enter(l),e.enter(o),e.enter("chunkString",{contentType:"string"}),m(t))};function h(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(o),h(t)):null===t||60===t||(0,d.HP)(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(i){return!c&&(null===i||41===i||(0,d.Ee)(i))?(e.exit("chunkString"),e.exit(o),e.exit(l),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,m):41===i?(e.consume(i),c--,m):null===i||32===i||40===i||(0,d.JQ)(i)?n(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function I(e,t,n,r,i,a){let l,o=this,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u};function u(h){return s>999||null===h||91===h||93===h&&!l||94===h&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(0,d.HP)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(t){return null===t||91===t||93===t||(0,d.HP)(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l||(l=!(0,d.On)(t)),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function L(e,t,n,r,i,a){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,o):n(t)};function o(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),s(n))}function s(t){return t===l?(e.exit(a),o(l)):null===t?n(t):(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===l||null===t||(0,d.HP)(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?h:u)}function h(t){return t===l||92===t?(e.consume(t),u):u(t)}}function R(e,t){let n;return function r(i){return(0,d.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,d.On)(i)?(0,c.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var M=n(41945);let $={partial:!0,tokenize:function(e,t,n){return function(t){return(0,d.Ee)(t)?R(e,r)(t):n(t)};function r(t){return L(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,d.On)(t)?(0,c.N)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,d.HP)(e)?t(e):n(e)}}},O={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,c.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):(0,d.HP)(n)?e.attempt(D,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,d.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},D={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,c.N)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,d.HP)(e)?i(e):n(e)}}},j={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",l,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=l,e.push(["exit",l,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var l;let o,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){o="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,l=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,d.On)(n)?(0,c.N)(e,a,"lineSuffix")(n):a(n))}(l)):n(t)};function a(r){return null===r||(0,d.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},z=["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"],F=["pre","script","style","textarea"],B={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(m.B,t,n)}}},H={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},G={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},U={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),(0,d.On)(t)?(0,c.N)(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=o?(e.exit("codeFencedFenceSequence"),(0,d.On)(i)?(0,c.N)(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||(0,d.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},l=0,o=0;return function(t){var a=t;let u=i.events[i.events.length-1];return l=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o<3?n(i):(e.exit("codeFencedFenceSequence"),(0,d.On)(i)?(0,c.N)(e,s,"whitespace")(i):s(i))}(a)};function s(a){return null===a||(0,d.HP)(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(G,h,g)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,d.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):(0,d.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,c.N)(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}function u(t){return null===t||(0,d.HP)(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,d.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function h(t){return e.attempt(a,g,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return l>0&&(0,d.On)(t)?(0,c.N)(e,m,"linePrefix",l+1)(t):m(t)}function m(t){return null===t||(0,d.HP)(t)?e.check(G,h,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,d.HP)(n)?(e.exit("codeFlowValue"),m(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}}},q=document.createElement("i");function W(e){let t="&"+e+";";q.innerHTML=t;let n=q.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let V={name:"characterReference",tokenize:function(e,t,n){let r,i,a=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),o};function o(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=d.lV,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=d.ok,u):(e.enter("characterReferenceValue"),r=7,i=d.BM,u(t))}function u(o){if(59===o&&l){let r=e.exit("characterReferenceValue");return i!==d.lV||W(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)}return i(o)&&l++<r?(e.consume(o),u):n(o)}}},Q={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,d.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},Z={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,c.N)(e,t,"linePrefix")}}};var X=n(84227);let J={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,a.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,l,o=e.length,s=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=o);let u={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},d={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return l=[["enter",u,t],["enter",c,t]],l=(0,a.V)(l,e.slice(r+1,r+s+3)),l=(0,a.V)(l,[["enter",d,t]]),l=(0,a.V)(l,(0,X.W)(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),l=(0,a.V)(l,[["exit",d,t],e[i-2],e[i-1],["exit",c,t]]),l=(0,a.V)(l,e.slice(i+1)),l=(0,a.V)(l,[["exit",u,t]]),(0,a.m)(e,r,e.length,l),e},tokenize:function(e,t,n){let r,i,a=this,l=a.events.length;for(;l--;)if(("labelImage"===a.events[l][1].type||"labelLink"===a.events[l][1].type)&&!a.events[l][1]._balanced){r=a.events[l][1];break}return function(t){return r?r._inactive?c(t):(i=a.parser.defined.includes((0,M.B)(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),o):n(t)};function o(t){return 40===t?e.attempt(K,u,i?u:c)(t):91===t?e.attempt(Y,u,i?s:c)(t):i?u(t):c(t)}function s(t){return e.attempt(ee,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},K={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,d.Ee)(t)?R(e,i)(t):i(t)}function i(t){return 41===t?u(t):T(e,a,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return(0,d.Ee)(t)?R(e,o)(t):u(t)}function l(e){return n(e)}function o(t){return 34===t||39===t||40===t?L(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return(0,d.Ee)(t)?R(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Y={tokenize:function(e,t,n){let r=this;return function(t){return I.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,M.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},ee={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},et={name:"labelStartImage",resolveAll:J.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var en=n(19083);let er={name:"attention",resolveAll:function(e,t){let n,r,i,l,o,s,u,c,d=-1;for(;++d<e.length;)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close){for(n=d;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[n][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;let h={...e[n][1].end},p={...e[d][1].start};ei(h,-s),ei(p,s),l={type:s>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[d][1].start},end:p},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[d][1].start}},r={type:s>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[n][1].end={...l.start},e[d][1].start={...o.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=(0,a.V)(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=(0,a.V)(u,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",i,t]]),u=(0,a.V)(u,(0,X.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),u=(0,a.V)(u,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(c=2,u=(0,a.V)(u,[["enter",e[d][1],t],["exit",e[d][1],t]])):c=0,(0,a.m)(e,n-1,d-n+3,u),d=n+u.length-c-2;break}}for(d=-1;++d<e.length;)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=(0,en.S)(i);return function(l){return n=l,e.enter("attentionSequence"),function l(o){if(o===n)return e.consume(o),l;let s=e.exit("attentionSequence"),u=(0,en.S)(o),c=!u||2===u&&a||r.includes(o),d=!a||2===a&&u||r.includes(i);return s._open=!!(42===n?c:c&&(a||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(o)}(l)}}};function ei(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let ea={name:"labelStartLink",resolveAll:J.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},el={42:A,43:A,45:A,48:A,49:A,50:A,51:A,52:A,53:A,54:A,55:A,56:A,57:A,62:P},eo={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,I.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=(0,M.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return(0,d.Ee)(t)?R(e,o)(t):o(t)}function o(t){return T(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt($,u,u)(t)}function u(t){return(0,d.On)(t)?(0,c.N)(e,h,"whitespace")(t):h(t)}function h(a){return null===a||(0,d.HP)(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},es={[-2]:O,[-1]:O,32:O},eu={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,l=3;return"whitespace"===e[3][1].type&&(l+=2),i-2>l&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(l===i-1||i-4>l&&"whitespace"===e[i-2][1].type)&&(i-=l+1===i?2:4),i>l&&(n={type:"atxHeadingText",start:e[l][1].start,end:e[i][1].end},r={type:"chunkText",start:e[l][1].start,end:e[i][1].end,contentType:"text"},(0,a.m)(e,l,i-l+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||(0,d.Ee)(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,d.HP)(r)?(e.exit("atxHeading"),t(r)):(0,d.On)(r)?(0,c.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,d.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:_,45:[j,_],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(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},tokenize:function(e,t,n){let r,i,a,l,o,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,f):63===l?(e.consume(l),r=3,s.interrupt?t:R):(0,d.CW)(l)?(e.consume(l),a=String.fromCharCode(l),m):n(l)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,l=0,p):(0,d.CW)(i)?(e.consume(i),r=4,s.interrupt?t:R):n(i)}function h(r){return 45===r?(e.consume(r),s.interrupt?t:R):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?s.interrupt?t:_:p:n(r)}function f(t){return(0,d.CW)(t)?(e.consume(t),a=String.fromCharCode(t),m):n(t)}function m(l){if(null===l||47===l||62===l||(0,d.Ee)(l)){let o=47===l,u=a.toLowerCase();return!o&&!i&&F.includes(u)?(r=1,s.interrupt?t(l):_(l)):z.includes(a.toLowerCase())?(r=6,o)?(e.consume(l),g):s.interrupt?t(l):_(l):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(l):i?function t(n){return(0,d.On)(n)?(e.consume(n),t):S(n)}(l):y(l))}return 45===l||(0,d.lV)(l)?(e.consume(l),a+=String.fromCharCode(l),m):n(l)}function g(r){return 62===r?(e.consume(r),s.interrupt?t:_):n(r)}function y(t){return 47===t?(e.consume(t),S):58===t||95===t||(0,d.CW)(t)?(e.consume(t),b):(0,d.On)(t)?(e.consume(t),y):S(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,d.lV)(t)?(e.consume(t),b):k(t)}function k(t){return 61===t?(e.consume(t),x):(0,d.On)(t)?(e.consume(t),k):y(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,v):(0,d.On)(t)?(e.consume(t),x):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,d.Ee)(n)?k(n):(e.consume(n),t)}(t)}function v(t){return t===o?(e.consume(t),o=null,w):null===t||(0,d.HP)(t)?n(t):(e.consume(t),v)}function w(e){return 47===e||62===e||(0,d.On)(e)?y(e):n(e)}function S(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||(0,d.HP)(t)?_(t):(0,d.On)(t)?(e.consume(t),C):n(t)}function _(t){return 45===t&&2===r?(e.consume(t),P):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),M):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),L):(0,d.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(B,$,A)(t)):null===t||(0,d.HP)(t)?(e.exit("htmlFlowData"),A(t)):(e.consume(t),_)}function A(t){return e.check(H,E,$)(t)}function E(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return null===t||(0,d.HP)(t)?A(t):(e.enter("htmlFlowData"),_(t))}function P(t){return 45===t?(e.consume(t),R):_(t)}function T(t){return 47===t?(e.consume(t),a="",I):_(t)}function I(t){if(62===t){let n=a.toLowerCase();return F.includes(n)?(e.consume(t),M):_(t)}return(0,d.CW)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),I):_(t)}function L(t){return 93===t?(e.consume(t),R):_(t)}function R(t){return 62===t?(e.consume(t),M):45===t&&2===r?(e.consume(t),R):_(t)}function M(t){return null===t||(0,d.HP)(t)?(e.exit("htmlFlowData"),$(t)):(e.consume(t),M)}function $(n){return e.exit("htmlFlow"),t(n)}}},61:j,95:_,96:U,126:U},ec={38:V,92:Q},ed={[-5]:Z,[-4]:Z,[-3]:Z,33:et,38:V,42:er,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,d.CW)(t)?(e.consume(t),a):64===t?n(t):o(t)}function a(t){return 43===t||45===t||46===t||(0,d.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||(0,d.lV)(n))&&r++<32?(e.consume(n),t):(r=0,o(n))}(t)):o(t)}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,d.JQ)(r)?n(r):(e.consume(r),l)}function o(t){return 64===t?(e.consume(t),s):(0,d.cx)(t)?(e.consume(t),o):n(t)}function s(i){return(0,d.lV)(i)?function i(a){return 46===a?(e.consume(a),r=0,s):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,d.lV)(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),w):63===t?(e.consume(t),x):(0,d.CW)(t)?(e.consume(t),C):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,m):(0,d.CW)(t)?(e.consume(t),k):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function h(t){return null===t?n(t):45===t?(e.consume(t),p):(0,d.HP)(t)?(a=h,L(t)):(e.consume(t),h)}function p(t){return 45===t?(e.consume(t),f):h(t)}function f(e){return 62===e?I(e):45===e?p(e):h(e)}function m(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),y):(0,d.HP)(t)?(a=g,L(t)):(e.consume(t),g)}function y(t){return 93===t?(e.consume(t),b):g(t)}function b(t){return 62===t?I(t):93===t?(e.consume(t),b):g(t)}function k(t){return null===t||62===t?I(t):(0,d.HP)(t)?(a=k,L(t)):(e.consume(t),k)}function x(t){return null===t?n(t):63===t?(e.consume(t),v):(0,d.HP)(t)?(a=x,L(t)):(e.consume(t),x)}function v(e){return 62===e?I(e):x(e)}function w(t){return(0,d.CW)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,d.lV)(t)?(e.consume(t),S):function t(n){return(0,d.HP)(n)?(a=t,L(n)):(0,d.On)(n)?(e.consume(n),t):I(n)}(t)}function C(t){return 45===t||(0,d.lV)(t)?(e.consume(t),C):47===t||62===t||(0,d.Ee)(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),I):58===t||95===t||(0,d.CW)(t)?(e.consume(t),A):(0,d.HP)(t)?(a=_,L(t)):(0,d.On)(t)?(e.consume(t),_):I(t)}function A(t){return 45===t||46===t||58===t||95===t||(0,d.lV)(t)?(e.consume(t),A):function t(n){return 61===n?(e.consume(n),E):(0,d.HP)(n)?(a=t,L(n)):(0,d.On)(n)?(e.consume(n),t):_(n)}(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,N):(0,d.HP)(t)?(a=E,L(t)):(0,d.On)(t)?(e.consume(t),E):(e.consume(t),P)}function N(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):(0,d.HP)(t)?(a=N,L(t)):(e.consume(t),N)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,d.Ee)(t)?_(t):(e.consume(t),P)}function T(e){return 47===e||62===e||(0,d.Ee)(e)?_(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return(0,d.On)(t)?(0,c.N)(e,M,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):M(t)}function M(t){return e.enter("htmlTextData"),a(t)}}}],91:ea,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,d.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},Q],93:J,95:er,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),l(n))}(t)};function l(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),l):96===s?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",o(l))}(s)):(0,d.HP)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),l):(e.enter("codeTextData"),o(s))}function o(t){return null===t||32===t||96===t||(0,d.HP)(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),o)}}}},eh={null:[er,k]},ep={null:[42,95]},ef={null:[]},em=/[\0\t\n\r]/g;function eg(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let ey=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eb(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eg(n.slice(t?2:1),t?16:10)}return W(n)||e}var ek=n(29570);let ex={}.hasOwnProperty;function ev(e){return{line:e.line,column:e.column,offset:e.offset}}function ew(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,ek.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ek.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,ek.L)({start:t.start,end:t.end})+") is still open")}function eS(e){let t=this;t.parser=function(n){var l,o;let c,f,m,g;return"string"!=typeof(l={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=l,l=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(f),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(f,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(y,a),htmlFlowData:c,htmlText:r(y,a),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(b),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(k,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(k),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eg(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=W(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=ev(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,M.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(h),hardBreakTrailing:o(h),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(ey,eb),n.identifier=(0,M.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=ev(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),d.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,M.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(ex.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},i={stack:[r],tokenStack:[],config:t,enter:l,exit:s,buffer:a,resume:u,data:n},o=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?o.push(c):c=function(e,t,n){let r,i,a,l,o=t-1,s=-1,u=!1;for(;++o<=n;){let t=e[o];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||s||a||(a=o),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let l=o;for(i=void 0;l--;){let t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=l}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||o,0,["exit",r,t[2]]),o++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(o,0,["enter",i,t[2]]),o++,n++,a=void 0,l=!0}}}return e[t][1]._spread=u,n}(e,o.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];ex.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},i),e[c][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||ew).call(i,void 0,e[0])}for(r.position={start:ev(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ev(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:ev(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||ew).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,ek.L)({start:e.start,end:e.end})+"): it’s not open");n.position.end=ev(e.end)}function u(){return(0,i.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:ev(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=ev(e.end)}function h(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function f(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function y(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function k(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!s(e););return e}((function(e){let t={constructs:(0,u.y)([r,...(e||{}).extensions||[]]),content:n(h),defined:[],document:n(p),flow:n(b),lazy:{},string:n(x),text:n(v)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},l=[],o=[],s=[],u={attempt:g(function(e,t){y(e,t.from)}),check:g(m),consume:function(e){(0,d.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=f(),c.events.push(["exit",t,c]),t},interrupt:g(m,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,b()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a,l=e[r];if("string"==typeof l)a=l;else switch(l){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(l)}n=-2===l,i.push(a)}return i.join("")}(p(e),t)},sliceStream:p,write:function(e){return(o=(0,a.V)(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),h=h(t)}else h=h(n)}}(),null!==o[o.length-1])?[]:(y(t,0),c.events=(0,X.W)(l,c.events,c),c.events)}},h=t.tokenize.call(c,u);return t.resolveAll&&l.push(t),c;function p(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,l=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,l)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[a].slice(0,l))}return n}(o,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function m(e,t){t.restore()}function g(e,t){return function(n,i,a){var l;let o,d,h,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(l=n,function(e){let t=null!==e&&l[e],n=null!==e&&l.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(o=e,d=0,0===e.length)?a:g(e[d])}function g(e){return function(n){return(p=function(){let e=f(),t=c.previous,n=c.currentConstruct,i=c.events.length,a=Array.from(s);return{from:i,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,s=a,b()}}}(),h=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?k(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,y,k)(n)}}function y(t){return e(h,p),i}function k(e){return(p.restore(),++d<o.length)?g(o[d]):a}}}function y(e,t){e.resolveAll&&!l.includes(e)&&l.push(e),e.resolve&&(0,a.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(o).document().write((f=1,m="",g=!0,function(e,t,n){let r,i,a,l,o,s=[];for(e=m+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,m="",g&&(65279===e.charCodeAt(0)&&a++,g=void 0);a<e.length;){if(em.lastIndex=a,l=(r=em.exec(e))&&void 0!==r.index?r.index:e.length,o=e.charCodeAt(l),!r){m=e.slice(a);break}if(10===o&&a===l&&c)s.push(-3),c=void 0;else switch(c&&(s.push(-5),c=void 0),a<l&&(s.push(e.slice(a,l)),f+=l-a),o){case 0:s.push(65533),f++;break;case 9:for(i=4*Math.ceil(f/4),s.push(-2);f++<i;)s.push(-1);break;case 10:s.push(-4),f=1;break;default:c=!0,f=1}a=l+1}return n&&(c&&s.push(-5),m&&s.push(m),s.push(null)),s})(n,l,!0))))}}},75207:(e,t,n)=>{"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},79275:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(30619)),i=n(55007);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,e.exports=a},81934:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},82479:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(82471).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},82575:(e,t,n)=>{"use strict";n.d(t,{T:()=>u});var r=n(96293);let i={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');a(e);let r=0,i=-1,l=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1),s>-1&&(e.codePointAt(l)===t.codePointAt(s--)?s<0&&(i=l):(s=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(a(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;a(e);let n=e.length,r=-1,i=0,l=-1,o=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?l<0?l=n:1!==o&&(o=1):l>-1&&(o=-1)}return l<0||r<0||0===o||1===o&&l===r-1&&l===i+1?"":e.slice(l,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)a(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){a(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",a=0,l=-1,o=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else if(47===n)break;else n=47;if(47===n){if(l===s-1||1===o);else if(l!==s-1&&2===o){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),l=s,o=0;continue}}else if(i.length>0){i="",a=0,l=s,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(l+1,s):i=e.slice(l+1,s),a=s-l-1;l=s,o=0}else 46===n&&o>-1?o++:o=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function a(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let l={cwd:function(){return"/"}};function o(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let s=["history","path","basename","stem","extname","dirname"];class u{constructor(e){let t,n;t=e?o(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":l.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<s.length;){let e=s[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)s.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?i.basename(this.path):void 0}set basename(e){d(e,"basename"),c(e,"basename"),this.path=i.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?i.dirname(this.path):void 0}set dirname(e){h(this.basename,"dirname"),this.path=i.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?i.extname(this.path):void 0}set extname(e){if(c(e,"extname"),h(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=i.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){o(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!o(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),d(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?i.basename(this.path,this.extname):void 0}set stem(e){d(e,"stem"),c(e,"stem"),this.path=i.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let i=new r.o(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function c(e,t){if(e&&e.includes(i.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+i.sep+"`")}function d(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function h(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}},83034:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return a(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function a(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return l(e.children,t,n)}return Array.isArray(e)?l(e,t,n):""}function l(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=a(e[i],t,n);return r.join("")}},83404:(e,t,n)=>{"use strict";let r,i;n.d(t,{j:()=>lf});var a=n(56632),l=n(75207),o=n(69456),s=n(27346),u=n(85012),c=n(72105),d=n(85510),h=n(67458),p=n(46645),f=n(82575);let m=[],g={allowDangerousHtml:!0},y=/^(https?|ircs?|mailto|xmpp)$/i,b=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function k(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||y.test(e.slice(0,t))?e:""}var x=n(64103),v=n(16995);function w(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===v.t.svg?x.s:x.h,i=n===v.t.html?e.tagName.toLowerCase():e.tagName,a=n===v.t.html&&"template"===i?e.content:e,l=e.getAttributeNames(),o={},s=-1;for(;++s<l.length;)o[l[s]]=e.getAttribute(l[s])||"";return r(i,o,S(a,t))}(e,t);case 3:return{type:"text",value:e.nodeValue||""};case 8:return{type:"comment",value:e.nodeValue||""};case 9:case 11:return function(e,t){return{type:"root",children:S(e,t)}}(e,t);case 10:return{type:"doctype"};default:return}}(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function S(e,t){let n=e.childNodes,r=[],i=-1;for(;++i<n.length;){let e=w(n[i],t);void 0!==e&&r.push(e)}return r}let C=new DOMParser;var _=n(58706);let A=function(e,t,n){let r=(0,_.C)(n);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},E=function(e){if(null==e)return P;if("string"==typeof e){var t;return t=e,N(function(e){return e.tagName===t})}if("object"==typeof e){var n=e;let t=[],r=-1;for(;++r<n.length;)t[r]=E(n[r]);return N(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}if("function"==typeof e)return N(e);throw Error("Expected function, string, or array as `test`")};function N(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&"tagName"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function P(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}let T=/\n/g,I=/[\t ]+/g,L=E("br"),R=E(function(e){return"td"===e.tagName||"th"===e.tagName}),M=E("p"),$=E("tr"),O=E(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return!!(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),D=E(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function j(e,t){let n,r=String(e.value),i=[],a=[],l=0;for(;l<=r.length;){T.lastIndex=l;let e=T.exec(r),n=e&&"index"in e?e.index:r.length;i.push(function(e,t,n){let r,i=[],a=0;for(;a<e.length;){I.lastIndex=a;let n=I.exec(e);r=n?n.index:e.length,a||r||!n||t||i.push(""),a!==r&&i.push(e.slice(a,r)),a=n?r+n[0].length:r}return a===r||n||i.push(""),i.join(" ")}(r.slice(l,n).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==l||t.breakBefore,n!==r.length||t.breakAfter)),l=n+1}let o=-1;for(;++o<i.length;)8203===i[o].charCodeAt(i[o].length-1)||o<i.length-1&&8203===i[o+1].charCodeAt(0)?(a.push(i[o]),n=void 0):i[o]?("number"==typeof n&&a.push(n),a.push(i[o]),n=0):(0===o||o===i.length-1)&&a.push(0);return a}function z(e,t){if("element"===e.type){let n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}var F=n(84376),B=n(15711);let H={},G=[];var U=n(85739),q=n(97564),W=n(52263),V=n(8612);let Q={tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(e.consume(r),l++,t):l<2?n(r):(e.exit("mathFlowFenceSequence"),(0,W.N)(e,o,"whitespace")(r))}(t)};function o(t){return null===t||(0,V.HP)(t)?s(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||(0,V.HP)(r)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),s(r)):36===r?n(r):(e.consume(r),t)}(t))}function s(n){return(e.exit("mathFlowFence"),r.interrupt)?t(n):e.attempt(Z,u,h)(n)}function u(t){return e.attempt({tokenize:p,partial:!0},h,c)(t)}function c(t){return(a?(0,W.N)(e,d,"linePrefix",a+1):d)(t)}function d(t){return null===t?h(t):(0,V.HP)(t)?e.attempt(Z,u,h)(t):(e.enter("mathFlowValue"),function t(n){return null===n||(0,V.HP)(n)?(e.exit("mathFlowValue"),d(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("mathFlow"),t(n)}function p(e,t,n){let i=0;return(0,W.N)(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(i++,e.consume(r),t):i<l?n(r):(e.exit("mathFlowFenceSequence"),(0,W.N)(e,a,"whitespace")(r))}(t)},"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(r){return null===r||(0,V.HP)(r)?(e.exit("mathFlowFence"),t(r)):n(r)}}},concrete:!0,name:"mathFlow"},Z={tokenize:function(e,t,n){let r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};function X(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("mathTextData"===e[t][1].type){e[r][1].type="mathTextPadding",e[i][1].type="mathTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="mathTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e}function J(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}let K={};function Y(e){let t,n=e||K,r=this.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push({flow:{36:Q},text:{36:(null==(t=(n||{}).singleDollarTextMath)&&(t=!0),{tokenize:function(e,n,r){let i,a,l=0;return function(n){return e.enter("mathText"),e.enter("mathTextSequence"),function n(i){return 36===i?(e.consume(i),l++,n):l<2&&!t?r(i):(e.exit("mathTextSequence"),o(i))}(n)};function o(t){return null===t?r(t):36===t?(a=e.enter("mathTextSequence"),i=0,function t(r){return 36===r?(e.consume(r),i++,t):i===l?(e.exit("mathTextSequence"),e.exit("mathText"),n(r)):(a.type="mathTextData",s(r))}(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),o):(0,V.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):(e.enter("mathTextData"),s(t))}function s(t){return null===t||32===t||36===t||(0,V.HP)(t)?(e.exit("mathTextData"),o(t)):(e.consume(t),s)}},resolve:X,previous:J,name:"mathText"})}}),a.push(function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},e),this.buffer()}},exit:{mathFlow:function(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.stack[this.stack.length-1];(0,l.ok)("math"===n.type),this.exit(e),n.value=t;let r=n.data.hChildren[0];(0,l.ok)("element"===r.type),(0,l.ok)("code"===r.tagName),r.children.push({type:"text",value:t}),this.data.mathFlowInside=void 0},mathFlowFence:function(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)},mathFlowFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];(0,l.ok)("math"===t.type),t.meta=e},mathFlowValue:e,mathText:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,l.ok)("inlineMath"===n.type),this.exit(e),n.value=t,n.data.hChildren.push({type:"text",value:t})},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),o.push(function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),n.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,n,r){let i=e.value||"",a=n.createTracker(r),l="$".repeat(Math.max((0,q.D)(i,"$")+1,2)),o=n.enter("mathFlow"),s=a.move(l);if(e.meta){let t=n.enter("mathFlowMeta");s+=a.move(n.safe(e.meta,{after:"\n",before:s,encode:["$"],...a.current()})),t()}return s+=a.move("\n"),i&&(s+=a.move(i+"\n")),s+=a.move(l),o(),s},inlineMath:n}};function n(e,n,r){let i=e.value||"",a=1;for(!t&&a++;RegExp("(^|[^$])"+"\\$".repeat(a)+"([^$]|$)").test(i);)a++;let l="$".repeat(a);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=" "+i+" ");let o=-1;for(;++o<r.unsafe.length;){let e,t=r.unsafe[o];if(!t.atBreak)continue;let n=r.compilePattern(t);for(;e=n.exec(i);){let t=e.index;10===i.codePointAt(t)&&13===i.codePointAt(t-1)&&t--,i=i.slice(0,t)+" "+i.slice(e.index+1)}}return l+i+l}}(n))}n(28655);var ee=n(14637);let et=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},en=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var er={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let ei=(0,a.forwardRef)((e,t)=>{let{color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:o="",children:s,iconNode:u,...c}=e;return(0,a.createElement)("svg",{ref:t,...er,width:r,height:r,stroke:n,strokeWidth:l?24*Number(i)/Number(r):i,className:en("lucide",o),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(e=>{let[t,n]=e;return(0,a.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),ea=(e,t)=>{let n=(0,a.forwardRef)((n,r)=>{let{className:i,...l}=n;return(0,a.createElement)(ei,{ref:r,iconNode:t,className:en("lucide-".concat(et(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),i),...l})});return n.displayName=et(e),n},el=ea("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),eo=ea("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),es=ea("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);class eu extends Error{constructor(e){super(e),this.name="ShikiError"}}var ec=n(40074);function ed(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}var eh=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ep=class{static hasCaptures(e){return null!==e&&(eh.lastIndex=0,eh.test(e))}static replaceCaptures(e,t,n){return e.replace(eh,(e,r,i,a)=>{let l=n[parseInt(r||i,10)];if(!l)return e;{let e=t.substring(l.start,l.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function ef(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){var i,a;let n=(i=e[r],i<(a=t[r])?-1:+(i>a));if(0!==n)return n}return 0}return n-r}function em(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))}function eg(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var ey=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},eb=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i,a=t[e];if(!a.settings)continue;if("string"==typeof a.scope){let e=a.scope;i=(e=(e=e.replace(/^[,]+/,"")).replace(/[,]+$/,"")).split(",")}else i=Array.isArray(a.scope)?a.scope:[""];let l=-1;if("string"==typeof a.settings.fontStyle){l=0;let e=a.settings.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++)switch(e[t]){case"italic":l|=1;break;case"bold":l|=2;break;case"underline":l|=4;break;case"strikethrough":l|=8}}let o=null;"string"==typeof a.settings.foreground&&em(a.settings.foreground)&&(o=a.settings.foreground);let s=null;"string"==typeof a.settings.background&&em(a.settings.background)&&(s=a.settings.background);for(let t=0,a=i.length;t<a;t++){let a=i[t].trim().split(" "),u=a[a.length-1],c=null;a.length>1&&(c=a.slice(0,a.length-1)).reverse(),n[r++]=new ev(u,c,e,l,o,s)}}return n}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var n,r;let i=(n=e.scope,n<(r=t.scope)?-1:+(n>r));return 0!==i||0!==(i=ef(e.parentScopes,t.parentScopes))?i:e.index-t.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(r=t.foreground),null!==t.background&&(i=t.background)}let a=new eS(t),l=new ex(n,a.getId(r),a.getId(i)),o=new eA(new e_(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];o.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new eb(a,l,o)}(e,t)}_cachedMatchRoot=new ey(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(null===e)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>(function(e,t){if(0===t.length)return!0;for(let i=0;i<t.length;i++){var n,r;let a=t[i],l=!1;if(">"===a){if(i===t.length-1)return!1;a=t[++i],l=!0}for(;e&&(n=e.scopeName,!((r=a)===n||n.startsWith(r)&&"."===n[r.length]));){if(l)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return n?new ex(n.fontStyle,n.foreground,n.background):null}},ek=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e||null!==this.parent&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}},ex=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}},ev=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},ew=(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))(ew||{}),eS=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(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(null===e)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw 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)}},eC=Object.freeze([]),e_=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||eC,this.fontStyle=n,this.foreground=r,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==n&&(this.foreground=n),0!==r&&(this.background=r)}},eA=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;">"===e.parentScopes[n]&&n++,">"===t.parentScopes[r]&&r++,!(n>=e.parentScopes.length)&&!(r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(0!==i)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,n,r=t.indexOf(".");if(-1===r?(e=t,n=""):(e=t.substring(0,r),n=t.substring(r+1)),this._children.hasOwnProperty(e))return this._children[e].match(n)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,l){let o,s,u;if(""===n)return void this._doInsertHere(t,r,i,a,l);let c=n.indexOf(".");-1===c?(o=n,s=""):(o=n.substring(0,c),s=n.substring(c+1)),this._children.hasOwnProperty(o)?u=this._children[o]:(u=new e(this._mainRule.clone(),e_.cloneArr(this._rulesWithParentScopes)),this._children[o]=u),u.insert(t+1,s,r,i,a,l)}_doInsertHere(e,t,n,r,i){if(null===t)return void this._mainRule.acceptOverwrite(e,n,r,i);for(let a=0,l=this._rulesWithParentScopes.length;a<l;a++){let l=this._rulesWithParentScopes[a];if(0===ef(l.parentScopes,t))return void l.acceptOverwrite(e,n,r,i)}-1===n&&(n=this._mainRule.fontStyle),0===r&&(r=this._mainRule.foreground),0===i&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new e_(e,t,n,r,i))}},eE=class e{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:e.getForeground(t),background:e.getBackground(t)})}static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(0xff8000&e)>>>15}static getBackground(e){return(0xff000000&e)>>>24}static set(t,n,r,i,a,l,o){let s=e.getLanguageId(t),u=e.getTokenType(t),c=+!!e.containsBalancedBrackets(t),d=e.getFontStyle(t),h=e.getForeground(t),p=e.getBackground(t);return 0!==n&&(s=n),8!==r&&(u=r),null!==i&&(c=+!!i),-1!==a&&(d=a),0!==l&&(h=l),0!==o&&(p=o),(0|s|u<<8|c<<10|d<<11|h<<15|p<<24)>>>0}};function eN(e,t){var n;let r,i,a=[],l=(n=e,i=(r=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(n),{next:()=>{if(!i)return null;let e=i[0];return i=r.exec(n),e}}),o=l.next();for(;null!==o;){let e=0;if(2===o.length&&":"===o.charAt(1)){switch(o.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=l.next()}let t=u();if(a.push({matcher:t,priority:e}),","!==o)break;o=l.next()}return a;function s(){if("-"===o){o=l.next();let e=s();return t=>!!e&&!e(t)}if("("===o){o=l.next();let e=function(){let e=[],t=u();for(;t&&(e.push(t),"|"===o||","===o);){do o=l.next();while("|"===o||","===o);t=u()}return t=>e.some(e=>e(t))}();return")"===o&&(o=l.next()),e}if(eP(o)){let e=[];do e.push(o),o=l.next();while(eP(o));return n=>t(e,n)}return null}function u(){let e=[],t=s();for(;t;)e.push(t),t=s();return t=>e.every(e=>e(t))}}function eP(e){return!!e&&!!e.match(/[\w\.:]+/)}var eT=(e=>(e[e.None=0]="None",e[e.NotBeginString=1]="NotBeginString",e[e.NotEndString=2]="NotEndString",e[e.NotBeginPosition=4]="NotBeginPosition",e[e.DebugCall=8]="DebugCall",e))(eT||{});function eI(e){"function"==typeof e.dispose&&e.dispose()}var eL=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},eR=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},eM=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},e$=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new eL(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new eM;for(let n of e)!function(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof eL?eD({baseGrammar:a,selfGrammar:i},r):eO(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let l=n.injections(e.scopeName);if(l)for(let e of l)r.add(new eL(e))}(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof eL){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function eO(e,t,n){t.repository&&t.repository[e]&&ej([t.repository[e]],t,n)}function eD(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&ej(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&ej(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function ej(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?ed({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&ej(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=eU(i);switch(a.kind){case 0:eD({...t,selfGrammar:t.baseGrammar},n);break;case 1:eD(t,n);break;case 2:eO(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let l=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){let r={baseGrammar:t.baseGrammar,selfGrammar:l,repository:e};4===a.kind?eO(a.ruleName,r,n):eD(r,n)}else 4===a.kind?n.add(new eR(a.scopeName,a.ruleName)):n.add(new eL(a.scopeName))}}}var ez=class{kind=0},eF=class{kind=1},eB=class{constructor(e){this.ruleName=e}kind=2},eH=class{constructor(e){this.scopeName=e}kind=3},eG=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function eU(e){if("$base"===e)return new ez;if("$self"===e)return new eF;let t=e.indexOf("#");return -1===t?new eH(e):0===t?new eB(e.substring(1)):new eG(e.substring(0,t),e.substring(t+1))}var eq=/\\(\d+)/,eW=/\\(\d+)/g;Symbol("RuleId");var eV=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=ep.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=ep.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${function e(t){let n=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===n?t:~n==t.length-1?e(t.substring(0,t.length-1)):t.substr(~n+1)}(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return this._nameIsCapturing&&null!==this._name&&null!==e&&null!==t?ep.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?ep.replaceCaptures(this._contentName,e,t):this._contentName}},eQ=class extends eV{retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,n,r){throw Error("Not supported!")}},eZ=class extends eV{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new e0(r,this.id),this.captures=i,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 e1,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eX=class extends eV{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let 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 e1,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eJ=class extends eV{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,a,l,o,s,u){super(e,t,n,r),this._begin=new e0(i,this.id),this.beginCaptures=a,this._end=new e0(l||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=s||!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){for(let t of(this._cachedCompiledPatterns=new e1,this.patterns))e.getRule(t).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}},eK=class extends eV{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,a,l,o,s){super(e,t,n,r),this._begin=new e0(i,this.id),this.beginCaptures=a,this.whileCaptures=o,this._while=new e0(l,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=s.patterns,this.hasMissingPatterns=s.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)for(let t of(this._cachedCompiledPatterns=new e1,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 e1,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},eY=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new eQ(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new eZ(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(void 0===t.begin){t.repository&&(r=ed({},r,t.repository));let i=t.patterns;return void 0===i&&t.include&&(i=[{include:t.include}]),new eX(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new eK(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new eJ(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if("$vscodeTextmateLocation"===e)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if("$vscodeTextmateLocation"===a)continue;let l=parseInt(a,10),o=0;t[a].patterns&&(o=e.getCompiledRuleId(t[a],n,r)),i[l]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,o)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,l=t.length;a<l;a++){let l=t[a],o=-1;if(l.include){let t=eU(l.include);switch(t.kind){case 0:case 1:o=e.getCompiledRuleId(r[l.include],n,r);break;case 2:let i=r[t.ruleName];i&&(o=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,s=4===t.kind?t.ruleName:null,u=n.getExternalGrammar(a,r);if(u)if(s){let t=u.repository[s];t&&(o=e.getCompiledRuleId(t,n,u.repository))}else o=e.getCompiledRuleId(u.repository.$self,n,u.repository)}}else o=e.getCompiledRuleId(l,n,r);if(-1!==o){let e=n.getRule(o),t=!1;if((e instanceof eX||e instanceof eJ||e instanceof eK)&&e.hasMissingPatterns&&0===e.patterns.length&&(t=!0),t)continue;i.push(o)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},e0=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&"string"==typeof e){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if("\\"===e.charAt(a)&&a+1<t){let t=e.charAt(a+1);"z"===t?(r.push(e.substring(n,a)),r.push("$(?!\\n)(?<!\\n)"),n=a+2):("A"===t||"G"===t)&&(i=!0),a++}this.hasAnchor=i,0===n?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,"string"==typeof this.source?this.hasBackReferences=eq.test(this.source):this.hasBackReferences=!1}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let n=t.map(t=>e.substring(t.start,t.end));return eW.lastIndex=0,this.source.replace(eW,(e,t)=>eg(n[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,n,r;if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let i=[],a=[],l=[],o=[];for(e=0,t=this.source.length;e<t;e++)n=this.source.charAt(e),i[e]=n,a[e]=n,l[e]=n,o[e]=n,"\\"===n&&e+1<t&&("A"===(r=this.source.charAt(e+1))?(i[e+1]="￿",a[e+1]="￿",l[e+1]="A",o[e+1]="A"):"G"===r?(i[e+1]="￿",a[e+1]="G",l[e+1]="￿",o[e+1]="G"):(i[e+1]=r,a[e+1]=r,l[e+1]=r,o[e+1]=r),e++);return{A0_G0:i.join(""),A0_G1:a.join(""),A1_G0:l.join(""),A1_G1:o.join("")}}resolveAnchors(e,t){if(!this.hasAnchor||!this._anchorCache||"string"!=typeof this.source)return this.source;if(e)if(t)return this._anchorCache.A1_G1;else return this._anchorCache.A1_G0;return t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},e1=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){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(e=>e.source);this._cached=new e2(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){if(!this._hasAnchors)return this.compile(e);if(t)if(n)return this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1;else return this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0;return 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)}_resolveAnchors(e,t,n){return new e2(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},e2=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join("\n")}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},e4=class{constructor(e,t){this.languageId=e,this.tokenType=t}},e3=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new e4(e,8),this._embeddedLanguagesMatcher=new e5(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return null===t?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new e4(0,0);_getBasicScopeAttributes=new ey(e=>new e4(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},e5=class{values;scopesRegExp;constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>eg(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};void 0!==ec&&ec.env.VSCODE_TEXTMATE_DEBUG;var e9=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function e8(e,t,n,r,i,a,l,o){let s=t.content.length,u=!1,c=-1;if(l){let l=function(e,t,n,r,i,a){let l=i.beginRuleCapturedEOL?0:-1,o=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof eK&&o.push({rule:n,stack:t})}for(let p=o.pop();p;p=o.pop()){var s,u,c,d,h;let{ruleScanner:o,findOptions:f}=(s=p.rule,u=e,c=p.stack.endRule,d=n,h=r===l,{ruleScanner:s.compileWhileAG(u,c,d,h),findOptions:0}),m=o.findNextMatchSync(t,r,f);if(m){if(-2!==m.ruleId){i=p.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(a.produce(p.stack,m.captureIndices[0].start),e7(e,t,n,p.stack,a,p.rule.whileCaptures,m.captureIndices),a.produce(p.stack,m.captureIndices[0].end),l=m.captureIndices[0].end,m.captureIndices[0].end>r&&(r=m.captureIndices[0].end,n=!1))}else{i=p.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:l,isFirstLine:n}}(e,t,n,r,i,a);i=l.stack,r=l.linePos,n=l.isFirstLine,c=l.anchorPosition}let d=Date.now();for(;!u;){if(0!==o&&Date.now()-d>o)return new e9(i,!0);!function(){let l=function(e,t,n,r,i,a){let l=function(e,t,n,r,i,a){let{ruleScanner:l,findOptions:o}=e6(i.getRule(e),e,i.endRule,n,r===a),s=l.findNextMatchSync(t,r,o);return s?{captureIndices:s.captureIndices,matchedRuleId:s.ruleId}:null}(e,t,n,r,i,a),o=e.getInjections();if(0===o.length)return l;let s=function(e,t,n,r,i,a,l){let o,s=Number.MAX_VALUE,u=null,c=0,d=a.contentNameScopesList.getScopeNames();for(let a=0,h=e.length;a<h;a++){let h=e[a];if(!h.matcher(d))continue;let{ruleScanner:p,findOptions:f}=e6(t.getRule(h.ruleId),t,null,r,i===l),m=p.findNextMatchSync(n,i,f);if(!m)continue;let g=m.captureIndices[0].start;if(!(g>=s)&&(s=g,u=m.captureIndices,o=m.ruleId,c=h.priority,s===i))break}return u?{priorityMatch:-1===c,captureIndices:u,matchedRuleId:o}:null}(o,e,t,n,r,i,a);if(!s)return l;if(!l)return s;let u=l.captureIndices[0].start,c=s.captureIndices[0].start;return c<u||s.priorityMatch&&c===u?s:l}(e,t,n,r,i,c);if(!l){a.produce(i,s),u=!0;return}let o=l.captureIndices,d=l.matchedRuleId,h=!!o&&o.length>0&&o[0].end>r;if(-1===d){let l=i.getRule(e);a.produce(i,o[0].start),i=i.withContentNameScopesList(i.nameScopesList),e7(e,t,n,i,a,l.endCaptures,o),a.produce(i,o[0].end);let d=i;if(i=i.parent,c=d.getAnchorPos(),!h&&d.getEnterPos()===r){i=d,a.produce(i,s),u=!0;return}}else{let l=e.getRule(d);a.produce(i,o[0].start);let p=i,f=l.getName(t.content,o),m=i.contentNameScopesList.pushAttributed(f,e);if(i=i.push(d,r,c,o[0].end===s,null,m,m),l instanceof eJ){e7(e,t,n,i,a,l.beginCaptures,o),a.produce(i,o[0].end),c=o[0].end;let r=l.getContentName(t.content,o),d=m.pushAttributed(r,e);if(i=i.withContentNameScopesList(d),l.endHasBackReferences&&(i=i.withEndRule(l.getEndWithResolvedBackReferences(t.content,o))),!h&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(l instanceof eK){e7(e,t,n,i,a,l.beginCaptures,o),a.produce(i,o[0].end),c=o[0].end;let r=l.getContentName(t.content,o),d=m.pushAttributed(r,e);if(i=i.withContentNameScopesList(d),l.whileHasBackReferences&&(i=i.withEndRule(l.getWhileWithResolvedBackReferences(t.content,o))),!h&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(e7(e,t,n,i,a,l.captures,o),a.produce(i,o[0].end),i=i.pop(),!h){i=i.safePop(),a.produce(i,s),u=!0;return}}o[0].end>r&&(r=o[0].end,n=!1)}()}return new e9(i,!1)}function e6(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function e7(e,t,n,r,i,a,l){if(0===a.length)return;let o=t.content,s=Math.min(a.length,l.length),u=[],c=l[0].end;for(let t=0;t<s;t++){let s=a[t];if(null===s)continue;let d=l[t];if(0===d.length)continue;if(d.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=d.start;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?i.produceFromScopes(u[u.length-1].scopes,d.start):i.produce(r,d.start),s.retokenizeCapturedWithRuleId){let t=s.getName(o,l),a=r.contentNameScopesList.pushAttributed(t,e),u=s.getContentName(o,l),c=a.pushAttributed(u,e),h=r.push(s.retokenizeCapturedWithRuleId,d.start,-1,!1,null,a,c),p=e.createOnigString(o.substring(0,d.end));e8(e,p,n&&0===d.start,d.start,h,i,!1,0),eI(p);continue}let h=s.getName(o,l);if(null!==h){let t=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);u.push(new te(t,d.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var te=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function tt(e,t,n,r,i){let a=eN(t,tn),l=eY.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:l,grammar:i,priority:n.priority})}function tn(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(function(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&"."===e[n]}(t[r],e))return n=r+1,!0;return!1})}var tr=class{constructor(e,t,n,r,i,a,l,o){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=o,this._basicScopeAttributesProvider=new e3(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=ti(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i))for(let t of eN(e,tn))this._tokenTypeMatchers.push({matcher:t.matcher,type:i[e]})}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(let 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(){let e=[],t=this._rootScopeName,n=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(n){let r=n.injections;if(r)for(let t in r)tt(e,t,r[t],this,n);let i=this._grammarRepository.injections(t);i&&i.forEach(t=>{let n=this.getExternalGrammar(t);if(n){let t=n.injectionSelector;t&&tt(e,t,n,this,n)}})}return e.sort((e,t)=>e.priority-t.priority),e}getInjections(){return null===this._injections&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let 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){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ti(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let 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){let 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){let i;if(-1===this._rootId&&(this._rootId=eY.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==tl.NULL)i=!1,t.reset();else{let e;i=!0;let n=this._basicScopeAttributesProvider.getDefaultAttributes(),r=this.themeProvider.getDefaults(),a=eE.set(0,n.languageId,n.tokenType,null,r.fontStyle,r.foregroundId,r.backgroundId),l=this.getRule(this._rootId).getName(null,null);e=l?ta.createRootAndLookUpScopeName(l,a,this):ta.createRoot("unknown",a),t=new tl(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let a=this.createOnigString(e),l=a.content.length,o=new ts(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),s=e8(this,a,i,0,t,o,!0,r);return eI(a),{lineLength:l,lineTokens:o,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}};function ti(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=e(t[r]);return n}(t):t instanceof RegExp?t:"object"==typeof t?function(t){let n={};for(let r in t)n[r]=e(t[r]);return n}(t):t}(e)).repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var ta=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(let t of n)r=new e(r,i=ek.push(i,t.scopeNames),t.encodedTokenAttributes);return r}static createRoot(t,n){return new e(null,new ek(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new ek(null,t),l=r.themeProvider.themeMatch(a),o=e.mergeAttributes(n,i,l);return new e(null,a,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return e.equals(this,t)}static equals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return null!==n&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),eE.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(null===t)return this;if(-1===t.indexOf(" "))return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),l=r.themeProvider.themeMatch(a),o=e.mergeAttributes(t.tokenAttributes,i,l);return new e(t,a,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}},tl=class e{constructor(e,t,n,r,i,a,l,o){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=l,this.contentNameScopesList=o,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}_stackElementBrand=void 0;static NULL=new e(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return null!==t&&e._equals(this,t)}static _equals(e,t){return e===t||!!this._structuralEquals(e,t)&&ta.equals(e.contentNameScopesList,t.contentNameScopesList)}static _structuralEquals(e,t){for(;;){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}}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,a,l,o){return new e(this,t,n,r,i,a,l,o)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.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(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,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(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){let r=ta.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,ta.fromExtension(r,n.contentNameScopesList))}},to=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>"*"===e?(this.allowAny=!0,[]):eN(e,tn).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>eN(e,tn).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&0===this.unbalancedBracketScopes.length}get matchesNever(){return 0===this.balancedBracketScopes.length&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},ts=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=eE.set(n,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=eE.set(n,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),0===this._tokens.length&&(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()),0===this._binaryTokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},tu=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(let 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,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,new tr(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},tc=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new tu(eb.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(eb.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 to(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new e$(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n="function"==typeof this._options.getInjections?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,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},td=tl.NULL,th=n(26363),tp=n(32746),tf=n(11364);let tm=/["&'<>`]/g,tg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ty=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,tb=/[|\\{}()[\]^$+*?.]/g,tk=new WeakMap,tx=/[\dA-Fa-f]/,tv=/\d/,tw=["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"],tS={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",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:"€"},tC=["cent","copy","divide","gt","lt","not","para","times"],t_={}.hasOwnProperty,tA={};for(r in tS)t_.call(tS,r)&&(tA[tS[r]]=r);let tE=/[^\dA-Za-z]/;function tN(e,t,n){let r,i=function(e,t,n){let r="&#x"+e.toString(16).toUpperCase();return n&&t&&!tx.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){let i=String.fromCharCode(e);if(t_.call(tA,i)){let e=tA[i],a="&"+e;return n&&tw.includes(e)&&!tC.includes(e)&&(!r||t&&61!==t&&tE.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){let r=function(e,t,n){let r="&#"+String(e);return n&&t&&!tv.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length<i.length&&(i=r)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function tP(e,t){let n;var r,i=e,a=Object.assign({format:tN},t);if(i=i.replace(a.subset?(r=a.subset,(n=tk.get(r))||(n=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(tb,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(r),tk.set(r,n)),n):tm,l),a.subset||a.escapeOnly)return i;return i.replace(tg,function(e,t,n){return a.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),a)}).replace(ty,l);function l(e,t,n){return a.format(e.charCodeAt(0),n.charCodeAt(t+1),a)}}let tT=/^>|^->|<!--|-->|--!>|<!-$/g,tI=[">"],tL=["<",">"];var tR=n(7019),tM=n(94241),t$=n(94711),tO=n(59374),tD=n(65571);let tj=tB(1),tz=tB(-1),tF=[];function tB(e){return function(t,n,r){let i=t?t.children:tF,a=(n||0)+e,l=i[a];if(!r)for(;l&&(0,tD.m)(l);)a+=e,l=i[a];return l}}let tH={}.hasOwnProperty;function tG(e){return function(t,n,r){return tH.call(e,t.tagName)&&e[t.tagName](t,n,r)}}let tU=tG({body:function(e,t,n){let r=tj(n,t);return!r||"comment"!==r.type},caption:tq,colgroup:tq,dd:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){let r=tj(n,t);return!!(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:tq,html:function(e,t,n){let r=tj(n,t);return!r||"comment"!==r.type},li:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){let r=tj(n,t);return r?"element"===r.type&&("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"===r.tagName):!n||"element"!==n.type||"a"!==n.tagName&&"audio"!==n.tagName&&"del"!==n.tagName&&"ins"!==n.tagName&&"map"!==n.tagName&&"noscript"!==n.tagName&&"video"!==n.tagName},rp:tW,rt:tW,tbody:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:tV,tfoot:function(e,t,n){return!tj(n,t)},th:tV,thead:function(e,t,n){let r=tj(n,t);return!!(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});function tq(e,t,n){let r=tj(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&(0,tD.m)(r.value.charAt(0)))}function tW(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function tV(e,t,n){let r=tj(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}let tQ=tG({body:function(e){let t=tj(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&(0,tD.m)(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,n){let r=tz(n,t),i=tj(e,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&tU(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"col"===i.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=tj(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let r=tz(n,t),i=tj(e,-1);return!(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&tU(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"tr"===i.tagName)}}),tZ={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},tX=["<","&"];function tJ(e,t,n,r){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:tP(e.value,Object.assign({},r.settings.characterReferences,{subset:tX}))}let tK=(0,tf.A)("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"<?"+tP(e.value,Object.assign({},r.settings.characterReferences,{subset:tI}))+">":"\x3c!--"+e.value.replace(tT,function(e){return tP(e,Object.assign({},r.settings.characterReferences,{subset:tL}))})+"--\x3e"},doctype:function(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){let i,a=r.schema,l="svg"!==a.space&&r.settings.omitOptionalTags,o="svg"===a.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[];"html"===a.space&&"svg"===e.tagName&&(r.schema=tp.JW);let u=function(e,t){let n,r=[],i=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let i=function(e,t,n){let r,i=(0,t$.I)(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,l=+!e.settings.allowDangerousCharacters,o=e.quote;if(i.overloadedBoolean&&(n===i.attribute||""===n)?n=!0:(i.boolean||i.overloadedBoolean)&&("string"!=typeof n||n===i.attribute||""===n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let s=tP(i.attribute,Object.assign({},e.settings.characterReferences,{subset:tZ.name[a][l]}));return!0===n||(n=Array.isArray(n)?(i.commaSeparated?tM.A:tO.A)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?s:(e.settings.preferUnquoted&&(r=tP(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:tZ.unquoted[a][l]}))),r!==n&&(e.settings.quoteSmart&&(0,tR.D)(n,o)>(0,tR.D)(n,e.alternative)&&(o=e.alternative),r=o+tP(n,Object.assign({},e.settings.characterReferences,{subset:("'"===o?tZ.single:tZ.double)[a][l],attribute:!0}))+o),s+(r?"="+r:r))}(e,n,t[n]);i&&r.push(i)}}for(;++i<r.length;){let t=e.settings.tightAttributes?r[i].charAt(r[i].length-1):void 0;i!==r.length-1&&'"'!==t&&"'"!==t&&(r[i]+=" ")}return r.join("")}(r,e.properties),c=r.all("html"===a.space&&"template"===e.tagName?e.content:e);return r.schema=a,c&&(o=!1),!u&&l&&tQ(e,t,n)||(s.push("<",e.tagName,u?" "+u:""),o&&("svg"===a.space||r.settings.closeSelfClosing)&&(i=u.charAt(u.length-1),(!r.settings.tightSelfClosing||"/"===i||i&&'"'!==i&&"'"!==i)&&s.push(" "),s.push("/")),s.push(">")),s.push(c),o||l&&tU(e,t,n)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:tJ(e,t,n,r)},root:function(e,t,n,r){return r.all(e)},text:tJ}}),tY={},t0={},t1=[];function t2(e,t,n){return tK(e,t,n,this)}function t4(e){let t=[],n=e&&e.children||t1,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function t3(e,t){let n="string"==typeof e?{}:{...e.colorReplacements},r="string"==typeof e?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))"string"==typeof i?n[e]=i:e===r&&Object.assign(n,i);return n}function t5(e,t){return e&&t?.[e?.toLowerCase()]||e}async function t9(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}function t8(e){return!e||["plaintext","txt","text","plain"].includes(e)}function t6(e){return"ansi"===e||t8(e)}function t7(e){return"none"===e}function ne(e,t){if(!t)return e;for(let n of(e.properties||={},e.properties.class||=[],"string"==typeof e.properties.class&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]),Array.isArray(t)?t:t.split(/\s+/g)))n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}function nt(e,t=!1){let n=e.split(/(\r?\n)/g),r=0,i=[];for(let e=0;e<n.length;e+=2){let a=t?n[e]+(n[e+1]||""):n[e];i.push([a,r]),r+=n[e].length,r+=n[e+1]?.length||0}return i}let nn="light-dark()",nr=["color","background-color"];function ni(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&ew.Italic&&(t["font-style"]="italic"),e.fontStyle&ew.Bold&&(t["font-weight"]="bold");let n=[];e.fontStyle&ew.Underline&&n.push("underline"),e.fontStyle&ew.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function na(e){return"string"==typeof e?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}let nl=new WeakMap;function no(e,t){nl.set(e,t)}function ns(e){return nl.get(e)}class nu{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,t){return new nu(Object.fromEntries((Array.isArray(t)?t:[t]).map(e=>[e,td])),e)}constructor(...e){if(2===e.length){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){var t=this._stacks[e];let n=[],r=new Set;return!function e(t){if(r.has(t))return;r.add(t);let i=t?.nameScopesList?.scopeName;i&&n.push(i),t.parent&&e(t.parent)}(t),n}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}let nc=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new eu(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(void 0===t)throw new eu(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);let n=e.character;if(n<0&&(n=t.length+n),n<0||n>t.length)throw new eu(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:n,offset:r.posToIndex(e.line,n)}}},r=function(e){let t=nt(e,!0).map(([e])=>e);return{lines:t,indexToPos:function(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}},posToIndex:function(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+n}}}(t.source),i=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));(function(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new eu(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,a=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,l=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,o=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||a||l||o){if(i&&a||l&&o||l&&n.start.offset===n.end.offset||a&&t.start.offset===t.end.offset)continue;throw new eu(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}})(i),e.set(t.meta,{decorations:i,converter:r,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){if(this.options.decorations?.length){var n=e,r=t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]);let i=Array.from(r instanceof Set?r:new Set(r)).sort((e,t)=>e-t);return i.length?n.map(e=>e.flatMap(e=>{let t=i.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);if(!t.length)return e;let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r})):n}},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(r.length!==n.converter.lines.length)throw new eu(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let l=r[e],o="",s=-1,u=-1;if(0===t&&(s=0),0===n&&(u=0),n===1/0&&(u=l.children.length),-1===s||-1===u)for(let e=0;e<l.children.length;e++)o+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(l.children[e]),-1===s&&o.length===t&&(s=e+1),-1===u&&o.length===n&&(u=e+1);if(-1===s)throw new eu(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(-1===u)throw new eu(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let c=l.children.slice(s,u);if(i.alwaysWrap||c.length!==l.children.length)if(i.alwaysWrap||1!==c.length||"element"!==c[0].type){let e={type:"element",tagName:"span",properties:{},children:c};a(e,i,"wrapper"),l.children.splice(s,c.length,e)}else a(c[0],i,"token");else a(l,i,"line")}function a(e,t,n){let r=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&ne(e,t.properties.class),e=i(e,n)||e}let l=[];for(let e of n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset)){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.line<n.line){i(t.line,t.character,1/0,e);for(let i=t.line+1;i<n.line;i++)l.unshift(()=>{var t;r[t=i]=a(r[t],e,"line")});i(n.line,0,n.character,e)}}l.forEach(e=>e())}}}()];function nd(e){let t=function(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...nc]}var nh=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],np={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function nf(e){let t=e.shift();if("2"===t){let t=e.splice(0,3).map(e=>Number.parseInt(e));if(3!==t.length||t.some(e=>Number.isNaN(e)))return;return{type:"rgb",rgb:t}}if("5"===t){let t=e.shift();if(t)return{type:"table",index:Number(t)}}}var nm={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 ng(e,t,n={}){let{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if(t8(r)||t7(i))return nt(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:a,colorMap:l}=e.setTheme(i);if("ansi"===r)return function(e,t,n){let r,i,a,l=t3(e,n),o=nt(t),s=function(e=nm){let t;function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(r){switch(r.type){case"named":return e[r.name];case"rgb":return n(r.rgb);case"table":var i;return i=r.index,function(){if(t)return t;t=[];for(let n=0;n<nh.length;n++)t.push(e[nh[n]]);let r=[0,95,135,175,215,255];for(let e=0;e<6;e++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)t.push(n([r[e],r[i],r[a]]));let i=8;for(let e=0;e<24;e++,i+=10)t.push(n([i,i,i]));return t}()[i]}}}}(Object.fromEntries(nh.map(t=>[t,e.colors?.[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]]))),u=(r=null,i=null,a=new Set,{parse(e){let t=[],n=0;do{let l=function(e,t){let n=e.indexOf("\x1b",t);if(-1!==n&&"["===e[n+1]){let t=e.indexOf("m",n);if(-1!==t)return{sequence:e.substring(n+2,t).split(";"),startPosition:n,position:t+1}}return{position:e.length}}(e,n),o=l.sequence?e.substring(n,l.startPosition):e.substring(n);if(o.length>0&&t.push({value:o,foreground:r,background:i,decorations:new Set(a)}),l.sequence){let e=function(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r))if(0===r)t.push({type:"resetAll"});else if(r<=9)np[r]&&t.push({type:"setDecoration",value:np[r]});else if(r<=29){let e=np[r-20];e&&(t.push({type:"resetDecoration",value:e}),"dim"===e&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:nh[r-30]}});else if(38===r){let n=nf(e);n&&t.push({type:"setForegroundColor",value:n})}else if(39===r)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:nh[r-40]}});else if(48===r){let n=nf(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===r?t.push({type:"resetBackgroundColor"}):53===r?t.push({type:"setDecoration",value:"overline"}):55===r?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:nh[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:nh[r-100+8]}})}return t}(l.sequence);for(let t of e)"resetAll"===t.type?(r=null,i=null,a.clear()):"resetForegroundColor"===t.type?r=null:"resetBackgroundColor"===t.type?i=null:"resetDecoration"===t.type&&a.delete(t.value);for(let t of e)"setForegroundColor"===t.type?r=t.value:"setBackgroundColor"===t.type?i=t.value:"setDecoration"===t.type&&a.add(t.value)}n=l.position}while(n<e.length);return t}});return o.map(t=>u.parse(t[0]).map(n=>{let r,i;n.decorations.has("reverse")?(r=n.background?s.value(n.background):e.bg,i=n.foreground?s.value(n.foreground):e.fg):(r=n.foreground?s.value(n.foreground):e.fg,i=n.background?s.value(n.background):void 0),r=t5(r,l),i=t5(i,l),n.decorations.has("dim")&&(r=function(e){let t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){let e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}else if(t[2])return`#${t[1]}${t[2]}80`;else return`#${Array.from(t[1]).map(e=>`${e}${e}`).join("")}80`;let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(r));let a=ew.None;return n.decorations.has("bold")&&(a|=ew.Bold),n.decorations.has("italic")&&(a|=ew.Italic),n.decorations.has("underline")&&(a|=ew.Underline),n.decorations.has("strikethrough")&&(a|=ew.Strikethrough),{content:n.value,offset:t[1],color:r,bgColor:i,fontStyle:a}}))}(a,t,n);let o=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new eu(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(a.name))throw new eu(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${a.name}"`)}var s=t,u=o,c=a,d=l,h=n;let p=ny(s,u,c,d,h),f=new nu(ny(s,u,c,d,h).stateStack,u.name,c.name);return no(p.tokens,f),p.tokens}function ny(e,t,n,r,i){let a=t3(n,i),{tokenizeMaxLineLength:l=0,tokenizeTimeLimit:o=500}=i,s=nt(e),u=i.grammarState?function(e,t){if(!(e instanceof nu))throw new eu("Invalid grammar state");return e.getInternalStack(t)}(i.grammarState,n.name)??td:null!=i.grammarContextCode?ny(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:td,c=[],d=[];for(let e=0,h=s.length;e<h;e++){let h,p,[f,m]=s[e];if(""===f){c=[],d.push([]);continue}if(l>0&&f.length>=l){c=[],d.push([{content:f,offset:m,color:"",fontStyle:0}]);continue}i.includeExplanation&&(h=t.tokenizeLine(f,u,o).tokens,p=0);let g=t.tokenizeLine2(f,u,o),y=g.tokens.length/2;for(let e=0;e<y;e++){let t=g.tokens[2*e],l=e+1<y?g.tokens[2*e+2]:f.length;if(t===l)continue;let o=g.tokens[2*e+1],s=t5(r[eE.getForeground(o)],a),u=eE.getFontStyle(o),d={content:f.substring(t,l),offset:m+t,color:s,fontStyle:u};if(i.includeExplanation){let e=[];if("scopeName"!==i.includeExplanation)for(let t of n.settings){let n;switch(typeof t.scope){case"string":n=t.scope.split(/,/).map(e=>e.trim());break;case"object":n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}d.explanation=[];let r=0;for(;t+r<l;){let t=h[p],n=f.substring(t.startIndex,t.endIndex);r+=n.length,d.explanation.push({content:n,scopes:"scopeName"===i.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:function(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(function(e,t,n){if(!nb(e[e.length-1],t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)nb(e[r],n[i])&&(r-=1),i-=1;return -1===r}(e,t,n)){r.push(a);break}return r}(e,i,t.slice(0,r))}}return n}(e,t.scopes)}),p+=1}}c.push(d)}d.push(c),c=[],u=g.ruleStack}return{tokens:d,stateStack:u}}function nb(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function nk(e,t,n){let r=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),i=r.map(r=>{let i=ng(e,t,{...n,theme:r.theme}),a=ns(i);return{tokens:i,state:a,theme:"string"==typeof r.theme?r.theme:r.theme.name}}),a=function(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let l=i.map(()=>0),o=i.map(e=>e[0]);for(;o.every(e=>e);){let e=Math.min(...o.map(e=>e.content.length));for(let t=0;t<n;t++){let n=o[t];n.content.length===e?(a[t].push(n),l[t]+=1,o[t]=i[t][l[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),o[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}(...i.map(e=>e.tokens)),l=a[0].map((e,t)=>e.map((e,i)=>{let l={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in n&&n.includeExplanation&&(l.explanation=e.explanation),a.forEach((e,n)=>{let{content:a,explanation:o,offset:s,...u}=e[t][i];l.variants[r[n].color]=u}),l})),o=i[0].state?new nu(Object.fromEntries(i.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),i[0].state.lang):void 0;return o&&no(l,o),l}function nx(e,t,n){let r,i,a,l,o,s;if("themes"in n){let{defaultColor:u="light",cssVariablePrefix:c="--shiki-",colorsRendering:d="css-vars"}=n,h=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===u?-1:+(t.color===u));if(0===h.length)throw new eu("`themes` option must not be empty");let p=nk(e,t,n);if(s=ns(p),u&&nn!==u&&!h.find(e=>e.color===u))throw new eu(`\`themes\` option must contain the defaultColor key \`${u}\``);let f=h.map(t=>e.getTheme(t.theme)),m=h.map(e=>e.color);a=p.map(e=>e.map(e=>(function(e,t,n,r,i="css-vars"){let a={content:e.content,explanation:e.explanation,offset:e.offset},l=t.map(t=>ni(e.variants[t])),o=new Set(l.flatMap(e=>Object.keys(e))),s={},u=(e,r)=>{let i="color"===r?"":"background-color"===r?"-bg":`-${r}`;return n+t[e]+("color"===r?"":i)};return l.forEach((e,n)=>{for(let a of o){let o=e[a]||"inherit";if(0===n&&r&&nr.includes(a))if(r===nn&&l.length>1){let e=t.findIndex(e=>"light"===e),r=t.findIndex(e=>"dark"===e);if(-1===e||-1===r)throw new eu('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let c=l[e][a]||"inherit",d=l[r][a]||"inherit";s[a]=`light-dark(${c}, ${d})`,"css-vars"===i&&(s[u(n,a)]=o)}else s[a]=o;else"css-vars"===i&&(s[u(n,a)]=o)}}),a.htmlStyle=s,a})(e,m,c,u,d))),s&&no(a,s);let g=h.map(e=>t3(e.theme,n));i=nv(h,f,g,c,u,"fg",d),r=nv(h,f,g,c,u,"bg",d),l=`shiki-themes ${f.map(e=>e.name).join(" ")}`,o=u?void 0:[i,r].join(";")}else if("theme"in n){let o=t3(n.theme,n);a=ng(e,t,n);let u=e.getTheme(n.theme);r=t5(u.bg,o),i=t5(u.fg,o),l=u.name,s=ns(a)}else throw new eu("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:l,rootStyle:o,grammarState:s}}function nv(e,t,n,r,i,a,l){return e.map((o,s)=>{let u=t5(t[s][a],n[s])||"inherit",c=`${r+o.color}${"bg"===a?"-bg":""}:${u}`;if(0===s&&i){if(i===nn&&e.length>1){let r=e.findIndex(e=>"light"===e.color),i=e.findIndex(e=>"dark"===e.color);if(-1===r||-1===i)throw new eu('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let l=t5(t[r][a],n[r])||"inherit",o=t5(t[i][a],n[i])||"inherit";return`light-dark(${l}, ${o});${c}`}return u}return"css-vars"===l?c:null}).filter(e=>!!e).join(";")}function nw(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>nw(e,t,n),codeToTokens:(t,n)=>nx(e,t,n)}){let i=t;for(let e of nd(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:l,bg:o,themeName:s,rootStyle:u,grammarState:c}=nx(e,i,n),{mergeWhitespaces:d=!0,mergeSameStyleTokens:h=!1}=n;!0===d?a=a.map(e=>{let t=[],n="",r=0;return e.forEach((i,a)=>{let l=!(i.fontStyle&&(i.fontStyle&ew.Underline||i.fontStyle&ew.Strikethrough));l&&i.content.match(/^\s+$/)&&e[a+1]?(r||(r=i.offset),n+=i.content):n?(l?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=0,n=""):t.push(i)}),t}):"never"===d&&(a=a.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))),h&&(a=a.map(e=>{let t=[];for(let n of e){if(0===t.length){t.push({...n});continue}let e=t[t.length-1],r=na(e.htmlStyle||ni(e)),i=na(n.htmlStyle||ni(n)),a=e.fontStyle&&(e.fontStyle&ew.Underline||e.fontStyle&ew.Strikethrough),l=n.fontStyle&&(n.fontStyle&ew.Underline||n.fontStyle&ew.Strikethrough);a||l||r!==i?t.push({...n}):e.content+=n.content}return t}));let p={...r,get source(){return i}};for(let e of nd(n))a=e.tokens?.call(p,a)||a;return function(e,t,n,r=ns(e)){let i=nd(t),a=[],l={type:"root",children:[]},{structure:o="classic",tabindex:s="0"}=t,u={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...!1!==s&&null!=s?{tabindex:s.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([e])=>!e.startsWith("_")))},children:[]},c={type:"element",tagName:"code",properties:{},children:a},d=[],h={...n,structure:o,addClassToHast:ne,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return l},get pre(){return u},get code(){return c},get lines(){return d}};if(e.forEach((e,t)=>{t&&("inline"===o?l.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===o&&a.push({type:"text",value:"\n"}));let n={type:"element",tagName:"span",properties:{class:"line"},children:[]},r=0;for(let a of e){let e={type:"element",tagName:"span",properties:{...a.htmlAttrs},children:[{type:"text",value:a.content}]},s=na(a.htmlStyle||ni(a));for(let l of(s&&(e.properties.style=s),i))e=l?.span?.call(h,e,t+1,r,n,a)||e;"inline"===o?l.children.push(e):"classic"===o&&n.children.push(e),r+=a.content.length}if("classic"===o){for(let e of i)n=e?.line?.call(h,n,t+1)||n;d.push(n),a.push(n)}}),"classic"===o){for(let e of i)c=e?.code?.call(h,c)||c;for(let e of(u.children.push(c),i))u=e?.pre?.call(h,u)||u;l.children.push(u)}let p=l;for(let e of i)p=e?.root?.call(h,p)||p;return r&&no(p,r),p}(a,{...n,fg:l,bg:o,themeName:s,rootStyle:u},p,c)}let nS=function(e,t){let n=t||tY,r=n.quote||'"';if('"'!==r&&"'"!==r)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return({one:t2,all:t4,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||th.b,characterReferences:n.characterReferences||t0,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?tp.JW:tp.qy,quote:r,alternative:'"'===r?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)},nC={light:"#333333",dark:"#bbbbbb"},n_={light:"#fffffe",dark:"#1e1e1e"},nA="__shiki_resolved";function nE(e){if(e?.[nA])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r="light"===t.type?nC.light:nC.dark),n||(n="light"===t.type?n_.light:n_.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function l(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?l(e):(a.set(e,n),n)}for(let e of(t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),r=e.settings?.background&&!e.settings.background.startsWith("#");if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=l(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=l(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let n=l(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,nA,{enumerable:!1,writable:!1,value:!0}),t}async function nN(e){return Array.from(new Set((await Promise.all(e.filter(e=>!t6(e)).map(async e=>await t9(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function nP(e){return(await Promise.all(e.map(async e=>t7(e)?null:nE(await t9(e))))).filter(e=>!!e)}class nT extends Error{constructor(e){super(e),this.name="ShikiError"}}class nI extends tc{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=nE(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=eb.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){if(this._alias[e]){let t=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],t.has(e))throw new nT(`Circular alias \`${Array.from(t).join(" -> ")} -> ${e}\``);t.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t&&t.embeddedLangs?.some(e=>n.map(([e])=>e).includes(e))).filter(e=>!n.includes(e));throw new nT(`Missing languages ${n.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(let t of e.embeddedLangs)this._langGraph.set(t,this._langMap.get(t))}}class nL{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}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){let t=e.split("."),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(".");n=[...n,...this._injections.get(r)||[]]}return n}}let nR=0;async function nM(e){e.engine||function(e,t=3){if(!(t>3))if(1)console.trace(`[SHIKI DEPRECATE]: ${e}`);else throw Error(`[SHIKI DEPRECATE]: ${e}`)}("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([nP(e.themes||[]),nN(e.langs||[]),e.engine]);return function(e){let t;nR+=1,!1!==e.warnings&&nR>=10&&nR%10==0&&console.warn(`[Shiki] ${nR} 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 n=!1;if(!e.engine)throw new nT("`engine` option is required for synchronous mode");let r=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(nE),a=new nI(new nL(e.engine,r),i,r,e.langAlias);function l(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};u();let t=a.getTheme(e);if(!t)throw new nT(`Theme \`${e}\` not found, you may need to load it first`);return t}function o(...e){u(),a.loadLanguages(e.flat(1))}function s(...e){for(let t of(u(),e.flat(1)))a.loadTheme(t)}function u(){if(n)throw new nT("Shiki instance has been disposed")}function c(){n||(n=!0,a.dispose(),nR-=1)}return{setTheme:function(e){u();let n=l(e);return t!==e&&(a.setTheme(n),t=e),{theme:n,colorMap:a.getColorMap()}},getTheme:l,getLanguage:function(e){u();let t=a.getGrammar("string"==typeof e?e:e.name);if(!t)throw new nT(`Language \`${e}\` not found, you may need to load it first`);return t},getLoadedThemes:function(){return u(),a.getLoadedThemes()},getLoadedLanguages:function(){return u(),a.getLoadedLanguages()},loadLanguage:async function(...e){return o(await nN(e))},loadLanguageSync:o,loadTheme:async function(...e){return u(),s(await nP(e))},loadThemeSync:s,dispose:c,[Symbol.dispose]:c}}({...e,themes:t,langs:n,engine:r})}async function n$(e){let t=await nM(e);return{getLastGrammarState:(...e)=>(function(...e){if(2===e.length)return ns(e[1]);let[t,n,r={}]=e,{lang:i="text",theme:a=t.getLoadedThemes()[0]}=r;if(t8(i)||t7(a))throw new eu("Plain language does not have grammar state");if("ansi"===i)throw new eu("ANSI language does not have grammar state");let{theme:l,colorMap:o}=t.setTheme(a),s=t.getLanguage(i);return new nu(ny(n,s,l,o,r).stateStack,s.name,l.name)})(t,...e),codeToTokensBase:(e,n)=>ng(t,e,n),codeToTokensWithThemes:(e,n)=>nk(t,e,n),codeToTokens:(e,n)=>nx(t,e,n),codeToHast:(e,n)=>nw(t,e,n),codeToHtml:(e,n)=>(function(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>nw(e,t,n),codeToTokens:(t,n)=>nx(e,t,n)},i=nS(nw(e,t,n,r));for(let e of nd(n))i=e.postprocess?.call(r,i,n)||i;return i})(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}let nO=[{id:"abap",name:"ABAP",import:()=>n.e(2776).then(n.bind(n,22776))},{id:"actionscript-3",name:"ActionScript",import:()=>n.e(1269).then(n.bind(n,21269))},{id:"ada",name:"Ada",import:()=>n.e(9640).then(n.bind(n,19640))},{id:"angular-html",name:"Angular HTML",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(9574)]).then(n.bind(n,19574))},{id:"angular-ts",name:"Angular TypeScript",import:()=>Promise.all([n.e(3098),n.e(7165),n.e(7925),n.e(8149),n.e(3434),n.e(1422)]).then(n.bind(n,19586))},{id:"apache",name:"Apache Conf",import:()=>n.e(6384).then(n.bind(n,66384))},{id:"apex",name:"Apex",import:()=>n.e(3810).then(n.bind(n,73810))},{id:"apl",name:"APL",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(7585)]).then(n.bind(n,77585))},{id:"applescript",name:"AppleScript",import:()=>n.e(1965).then(n.bind(n,1965))},{id:"ara",name:"Ara",import:()=>n.e(82).then(n.bind(n,40082))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>n.e(7443).then(n.bind(n,59824))},{id:"asm",name:"Assembly",import:()=>n.e(8213).then(n.bind(n,98213))},{id:"astro",name:"Astro",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(7925),n.e(7649)]).then(n.bind(n,27649))},{id:"awk",name:"AWK",import:()=>n.e(8367).then(n.bind(n,18367))},{id:"ballerina",name:"Ballerina",import:()=>n.e(1292).then(n.bind(n,31292))},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>n.e(3029).then(n.bind(n,33029))},{id:"beancount",name:"Beancount",import:()=>n.e(7835).then(n.bind(n,47835))},{id:"berry",name:"Berry",aliases:["be"],import:()=>n.e(672).then(n.bind(n,672))},{id:"bibtex",name:"BibTeX",import:()=>n.e(6728).then(n.bind(n,46728))},{id:"bicep",name:"Bicep",import:()=>n.e(1417).then(n.bind(n,81417))},{id:"blade",name:"Blade",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(5042)]).then(n.bind(n,5042))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>n.e(9955).then(n.bind(n,9955))},{id:"c",name:"C",import:()=>n.e(8255).then(n.bind(n,28255))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>n.e(9801).then(n.bind(n,79801))},{id:"cairo",name:"Cairo",import:()=>Promise.all([n.e(5424),n.e(3548)]).then(n.bind(n,83548))},{id:"clarity",name:"Clarity",import:()=>n.e(3932).then(n.bind(n,53932))},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>n.e(1208).then(n.bind(n,41208))},{id:"cmake",name:"CMake",import:()=>n.e(3641).then(n.bind(n,53641))},{id:"cobol",name:"COBOL",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(1677)]).then(n.bind(n,51677))},{id:"codeowners",name:"CODEOWNERS",import:()=>n.e(449).then(n.bind(n,40449))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>n.e(5690).then(n.bind(n,75690))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>Promise.all([n.e(3098),n.e(8858)]).then(n.bind(n,86477))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>n.e(6552).then(n.bind(n,96552))},{id:"coq",name:"Coq",import:()=>n.e(339).then(n.bind(n,10339))},{id:"cpp",name:"C++",aliases:["c++"],import:()=>Promise.all([n.e(4488),n.e(1700),n.e(4608),n.e(8255),n.e(4462)]).then(n.bind(n,56831))},{id:"crystal",name:"Crystal",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(4608),n.e(8255),n.e(5055),n.e(1906)]).then(n.bind(n,41906))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>n.e(4691).then(n.bind(n,84691))},{id:"css",name:"CSS",import:()=>n.e(7925).then(n.bind(n,47925))},{id:"csv",name:"CSV",import:()=>n.e(7632).then(n.bind(n,37632))},{id:"cue",name:"CUE",import:()=>n.e(8597).then(n.bind(n,88597))},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>n.e(9655).then(n.bind(n,69655))},{id:"d",name:"D",import:()=>n.e(3560).then(n.bind(n,33560))},{id:"dart",name:"Dart",import:()=>n.e(6609).then(n.bind(n,76609))},{id:"dax",name:"DAX",import:()=>n.e(7579).then(n.bind(n,47579))},{id:"desktop",name:"Desktop",import:()=>n.e(5140).then(n.bind(n,25140))},{id:"diff",name:"Diff",import:()=>n.e(703).then(n.bind(n,60703))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>n.e(4534).then(n.bind(n,84534))},{id:"dotenv",name:"dotEnv",import:()=>n.e(6924).then(n.bind(n,96924))},{id:"dream-maker",name:"Dream Maker",import:()=>n.e(3730).then(n.bind(n,33730))},{id:"edge",name:"Edge",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(9293)]).then(n.bind(n,9293))},{id:"elixir",name:"Elixir",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(9155)]).then(n.bind(n,9155))},{id:"elm",name:"Elm",import:()=>Promise.all([n.e(8255),n.e(9400)]).then(n.bind(n,99400))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>n.e(6451).then(n.bind(n,72328))},{id:"erb",name:"ERB",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4488),n.e(1700),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(5055),n.e(4907),n.e(3545),n.e(549)]).then(n.bind(n,70549))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>Promise.all([n.e(2069),n.e(2203)]).then(n.bind(n,2203))},{id:"fennel",name:"Fennel",import:()=>n.e(3774).then(n.bind(n,23774))},{id:"fish",name:"Fish",import:()=>n.e(7508).then(n.bind(n,67508))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>n.e(7540).then(n.bind(n,5159))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>Promise.all([n.e(8368),n.e(2559)]).then(n.bind(n,74940))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>n.e(8368).then(n.bind(n,8368))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>Promise.all([n.e(2069),n.e(8e3)]).then(n.bind(n,48e3))},{id:"gdresource",name:"GDResource",import:()=>n.e(3035).then(n.bind(n,73035))},{id:"gdscript",name:"GDScript",import:()=>n.e(798).then(n.bind(n,58417))},{id:"gdshader",name:"GDShader",import:()=>n.e(8468).then(n.bind(n,28468))},{id:"genie",name:"Genie",import:()=>n.e(2064).then(n.bind(n,52064))},{id:"gherkin",name:"Gherkin",import:()=>n.e(9154).then(n.bind(n,9154))},{id:"git-commit",name:"Git Commit Message",import:()=>n.e(1508).then(n.bind(n,11508))},{id:"git-rebase",name:"Git Rebase Message",import:()=>Promise.all([n.e(5055),n.e(4967)]).then(n.bind(n,14967))},{id:"gleam",name:"Gleam",import:()=>n.e(2272).then(n.bind(n,22272))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(8797)]).then(n.bind(n,78797))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(1123)]).then(n.bind(n,11123))},{id:"glsl",name:"GLSL",import:()=>Promise.all([n.e(8255),n.e(7674)]).then(n.bind(n,17674))},{id:"gnuplot",name:"Gnuplot",import:()=>n.e(85).then(n.bind(n,20085))},{id:"go",name:"Go",import:()=>n.e(5572).then(n.bind(n,45572))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4907)]).then(n.bind(n,74907))},{id:"groovy",name:"Groovy",import:()=>n.e(4940).then(n.bind(n,4940))},{id:"hack",name:"Hack",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(4608),n.e(8981)]).then(n.bind(n,38981))},{id:"haml",name:"Ruby Haml",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(6748)]).then(n.bind(n,4367))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(2822)]).then(n.bind(n,92822))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>n.e(3588).then(n.bind(n,83588))},{id:"haxe",name:"Haxe",import:()=>n.e(8194).then(n.bind(n,68194))},{id:"hcl",name:"HashiCorp HCL",import:()=>n.e(5133).then(n.bind(n,95133))},{id:"hjson",name:"Hjson",import:()=>n.e(2010).then(n.bind(n,92010))},{id:"hlsl",name:"HLSL",import:()=>n.e(6916).then(n.bind(n,54535))},{id:"html",name:"HTML",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149)]).then(n.bind(n,8149))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(2715)]).then(n.bind(n,92715))},{id:"http",name:"HTTP",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(1534),n.e(5055),n.e(4907),n.e(3694)]).then(n.bind(n,43694))},{id:"hxml",name:"HXML",import:()=>n.e(7377).then(n.bind(n,97377))},{id:"hy",name:"Hy",import:()=>n.e(895).then(n.bind(n,10895))},{id:"imba",name:"Imba",import:()=>n.e(5423).then(n.bind(n,85423))},{id:"ini",name:"INI",aliases:["properties"],import:()=>n.e(5766).then(n.bind(n,35766))},{id:"java",name:"Java",import:()=>n.e(1534).then(n.bind(n,51534))},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>n.e(3098).then(n.bind(n,79403))},{id:"jinja",name:"Jinja",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(5589)]).then(n.bind(n,35589))},{id:"jison",name:"Jison",import:()=>Promise.all([n.e(3098),n.e(809)]).then(n.bind(n,60809))},{id:"json",name:"JSON",import:()=>n.e(7612).then(n.bind(n,7612))},{id:"json5",name:"JSON5",import:()=>n.e(7819).then(n.bind(n,67819))},{id:"jsonc",name:"JSON with Comments",import:()=>n.e(3965).then(n.bind(n,33965))},{id:"jsonl",name:"JSON Lines",import:()=>n.e(6218).then(n.bind(n,16218))},{id:"jsonnet",name:"Jsonnet",import:()=>n.e(5283).then(n.bind(n,45283))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>n.e(1867).then(n.bind(n,81867))},{id:"jsx",name:"JSX",import:()=>n.e(4280).then(n.bind(n,35567))},{id:"julia",name:"Julia",aliases:["jl"],import:()=>Promise.all([n.e(3098),n.e(4488),n.e(1700),n.e(4608),n.e(8255),n.e(5424),n.e(1750),n.e(206)]).then(n.bind(n,32095))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>n.e(1397).then(n.bind(n,11397))},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>n.e(7384).then(n.bind(n,67384))},{id:"latex",name:"LaTeX",import:()=>Promise.all([n.e(1750),n.e(5432)]).then(n.bind(n,95432))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>n.e(6234).then(n.bind(n,46234))},{id:"less",name:"Less",import:()=>n.e(6133).then(n.bind(n,36133))},{id:"liquid",name:"Liquid",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(6542)]).then(n.bind(n,6542))},{id:"llvm",name:"LLVM IR",import:()=>n.e(9717).then(n.bind(n,79717))},{id:"log",name:"Log file",import:()=>n.e(7678).then(n.bind(n,57678))},{id:"logo",name:"Logo",import:()=>n.e(4115).then(n.bind(n,44115))},{id:"lua",name:"Lua",import:()=>Promise.all([n.e(8255),n.e(8062)]).then(n.bind(n,78062))},{id:"luau",name:"Luau",import:()=>n.e(5929).then(n.bind(n,5929))},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>n.e(9660).then(n.bind(n,79660))},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>n.e(2069).then(n.bind(n,2069))},{id:"marko",name:"Marko",import:()=>Promise.all([n.e(7117),n.e(7925),n.e(3434),n.e(6133),n.e(8606)]).then(n.bind(n,88606))},{id:"matlab",name:"MATLAB",import:()=>n.e(5221).then(n.bind(n,45221))},{id:"mdc",name:"MDC",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(2069),n.e(9198)]).then(n.bind(n,89198))},{id:"mdx",name:"MDX",import:()=>n.e(8109).then(n.bind(n,58109))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>n.e(2149).then(n.bind(n,62149))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>n.e(4986).then(n.bind(n,24986))},{id:"mojo",name:"Mojo",import:()=>n.e(4207).then(n.bind(n,44207))},{id:"move",name:"Move",import:()=>n.e(1681).then(n.bind(n,21681))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>n.e(5262).then(n.bind(n,15262))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>n.e(2141).then(n.bind(n,22141))},{id:"nginx",name:"Nginx",import:()=>Promise.all([n.e(8255),n.e(1240)]).then(n.bind(n,81240))},{id:"nim",name:"Nim",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(8255),n.e(2069),n.e(9504)]).then(n.bind(n,9504))},{id:"nix",name:"Nix",import:()=>n.e(8661).then(n.bind(n,58661))},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>n.e(5231).then(n.bind(n,75231))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>n.e(6453).then(n.bind(n,6453))},{id:"objective-cpp",name:"Objective-C++",import:()=>n.e(505).then(n.bind(n,92453))},{id:"ocaml",name:"OCaml",import:()=>n.e(864).then(n.bind(n,70864))},{id:"pascal",name:"Pascal",import:()=>n.e(4398).then(n.bind(n,74398))},{id:"perl",name:"Perl",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8193)]).then(n.bind(n,48193))},{id:"php",name:"PHP",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(6364),n.e(6423)]).then(n.bind(n,16364))},{id:"plsql",name:"PL/SQL",import:()=>n.e(4844).then(n.bind(n,84844))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>n.e(7297).then(n.bind(n,57297))},{id:"polar",name:"Polar",import:()=>n.e(9916).then(n.bind(n,29916))},{id:"postcss",name:"PostCSS",import:()=>n.e(7023).then(n.bind(n,47023))},{id:"powerquery",name:"PowerQuery",import:()=>n.e(5759).then(n.bind(n,65759))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>n.e(2517).then(n.bind(n,2517))},{id:"prisma",name:"Prisma",import:()=>n.e(8010).then(n.bind(n,38010))},{id:"prolog",name:"Prolog",import:()=>n.e(8919).then(n.bind(n,38919))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>n.e(578).then(n.bind(n,80578))},{id:"pug",name:"Pug",aliases:["jade"],import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(6764)]).then(n.bind(n,46764))},{id:"puppet",name:"Puppet",import:()=>n.e(3056).then(n.bind(n,93056))},{id:"purescript",name:"PureScript",import:()=>n.e(2313).then(n.bind(n,42313))},{id:"python",name:"Python",aliases:["py"],import:()=>n.e(5424).then(n.bind(n,55424))},{id:"qml",name:"QML",import:()=>Promise.all([n.e(3098),n.e(8050)]).then(n.bind(n,58050))},{id:"qmldir",name:"QML Directory",import:()=>n.e(1997).then(n.bind(n,31997))},{id:"qss",name:"Qt Style Sheets",import:()=>n.e(2667).then(n.bind(n,2667))},{id:"r",name:"R",import:()=>n.e(1750).then(n.bind(n,21750))},{id:"racket",name:"Racket",import:()=>n.e(4720).then(n.bind(n,24720))},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>n.e(7261).then(n.bind(n,17261))},{id:"razor",name:"ASP.NET Razor",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(4691),n.e(1588)]).then(n.bind(n,21588))},{id:"reg",name:"Windows Registry Script",import:()=>n.e(362).then(n.bind(n,70362))},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>n.e(2173).then(n.bind(n,2173))},{id:"rel",name:"Rel",import:()=>n.e(7401).then(n.bind(n,47401))},{id:"riscv",name:"RISC-V",import:()=>n.e(989).then(n.bind(n,989))},{id:"rst",name:"reStructuredText",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4488),n.e(1700),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(5055),n.e(4907),n.e(5424),n.e(3545),n.e(8555)]).then(n.bind(n,98555))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4488),n.e(1700),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(5055),n.e(4907),n.e(3545)]).then(n.bind(n,29262))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>n.e(7368).then(n.bind(n,17368))},{id:"sas",name:"SAS",import:()=>Promise.all([n.e(4608),n.e(8879)]).then(n.bind(n,28879))},{id:"sass",name:"Sass",import:()=>n.e(9844).then(n.bind(n,69844))},{id:"scala",name:"Scala",import:()=>n.e(3802).then(n.bind(n,53802))},{id:"scheme",name:"Scheme",import:()=>n.e(4071).then(n.bind(n,54071))},{id:"scss",name:"SCSS",import:()=>Promise.all([n.e(7925),n.e(3434)]).then(n.bind(n,13434))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>n.e(1001).then(n.bind(n,91001))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>n.e(3704).then(n.bind(n,63704))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>n.e(5055).then(n.bind(n,45055))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>Promise.all([n.e(5055),n.e(9852)]).then(n.bind(n,49852))},{id:"smalltalk",name:"Smalltalk",import:()=>n.e(2491).then(n.bind(n,52491))},{id:"solidity",name:"Solidity",import:()=>n.e(173).then(n.bind(n,30173))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>Promise.all([n.e(3098),n.e(7925),n.e(8149),n.e(5499)]).then(n.bind(n,55499))},{id:"sparql",name:"SPARQL",import:()=>n.e(7541).then(n.bind(n,87541))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>n.e(6715).then(n.bind(n,36715))},{id:"sql",name:"SQL",import:()=>n.e(4608).then(n.bind(n,54608))},{id:"ssh-config",name:"SSH Config",import:()=>n.e(1531).then(n.bind(n,21531))},{id:"stata",name:"Stata",import:()=>Promise.all([n.e(4608),n.e(8103)]).then(n.bind(n,88103))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>n.e(2448).then(n.bind(n,2448))},{id:"svelte",name:"Svelte",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(3063)]).then(n.bind(n,93063))},{id:"swift",name:"Swift",import:()=>n.e(1061).then(n.bind(n,1061))},{id:"system-verilog",name:"SystemVerilog",import:()=>n.e(376).then(n.bind(n,60376))},{id:"systemd",name:"Systemd Units",import:()=>n.e(5545).then(n.bind(n,25545))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>n.e(7685).then(n.bind(n,27685))},{id:"tasl",name:"Tasl",import:()=>n.e(8782).then(n.bind(n,8782))},{id:"tcl",name:"Tcl",import:()=>n.e(1385).then(n.bind(n,21385))},{id:"templ",name:"Templ",import:()=>Promise.all([n.e(3098),n.e(7925),n.e(5572),n.e(2446)]).then(n.bind(n,52446))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>n.e(5619).then(n.bind(n,75619))},{id:"tex",name:"TeX",import:()=>Promise.all([n.e(1750),n.e(2807)]).then(n.bind(n,22807))},{id:"toml",name:"TOML",import:()=>n.e(8290).then(n.bind(n,38290))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(9971)]).then(n.bind(n,9971))},{id:"tsv",name:"TSV",import:()=>n.e(4371).then(n.bind(n,94371))},{id:"tsx",name:"TSX",import:()=>n.e(5280).then(n.bind(n,40205))},{id:"turtle",name:"Turtle",import:()=>n.e(9412).then(n.bind(n,19412))},{id:"twig",name:"Twig",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5280),n.e(4280),n.e(4488),n.e(1700),n.e(7925),n.e(8149),n.e(1534),n.e(4608),n.e(8255),n.e(5055),n.e(4907),n.e(5424),n.e(3434),n.e(3545),n.e(6364),n.e(5733)]).then(n.bind(n,25733))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>n.e(7117).then(n.bind(n,37331))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>n.e(1251).then(n.bind(n,41251))},{id:"typst",name:"Typst",aliases:["typ"],import:()=>n.e(3662).then(n.bind(n,13662))},{id:"v",name:"V",import:()=>n.e(5890).then(n.bind(n,65890))},{id:"vala",name:"Vala",import:()=>n.e(8532).then(n.bind(n,68532))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>n.e(9362).then(n.bind(n,59362))},{id:"verilog",name:"Verilog",import:()=>n.e(2778).then(n.bind(n,92778))},{id:"vhdl",name:"VHDL",import:()=>n.e(5144).then(n.bind(n,75144))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>n.e(3766).then(n.bind(n,73766))},{id:"vue",name:"Vue",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(2864)]).then(n.bind(n,2864))},{id:"vue-html",name:"Vue HTML",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(7925),n.e(8149),n.e(2864),n.e(9524)]).then(n.bind(n,99524))},{id:"vue-vine",name:"Vue Vine",import:()=>Promise.all([n.e(3098),n.e(7117),n.e(5429),n.e(7925),n.e(8149),n.e(3434),n.e(6133),n.e(2864),n.e(9742)]).then(n.bind(n,64107))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>n.e(3844).then(n.bind(n,21463))},{id:"wasm",name:"WebAssembly",import:()=>n.e(2686).then(n.bind(n,72686))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>n.e(8232).then(n.bind(n,98232))},{id:"wgsl",name:"WGSL",import:()=>n.e(4805).then(n.bind(n,14805))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>n.e(8076).then(n.bind(n,75695))},{id:"wit",name:"WebAssembly Interface Types",import:()=>n.e(996).then(n.bind(n,90996))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>n.e(3230).then(n.bind(n,67076))},{id:"xml",name:"XML",import:()=>Promise.all([n.e(1534),n.e(1661)]).then(n.bind(n,96423))},{id:"xsl",name:"XSL",import:()=>Promise.all([n.e(1534),n.e(1981)]).then(n.bind(n,61981))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>n.e(3347).then(n.bind(n,3347))},{id:"zenscript",name:"ZenScript",import:()=>n.e(458).then(n.bind(n,90458))},{id:"zig",name:"Zig",import:()=>n.e(1198).then(n.bind(n,91198))}],nD=Object.fromEntries(nO.map(e=>[e.id,e.import])),nj=Object.fromEntries(nO.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),nz={...nD,...nj},nF=Object.fromEntries([{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>n.e(5024).then(n.bind(n,55024))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>n.e(5943).then(n.bind(n,95943))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>n.e(6800).then(n.bind(n,86800))},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xe9",type:"dark",import:()=>n.e(5695).then(n.bind(n,55695))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>n.e(4535).then(n.bind(n,34535))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>n.e(6228).then(n.bind(n,26228))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>n.e(4551).then(n.bind(n,94551))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>n.e(2211).then(n.bind(n,92211))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>n.e(9340).then(n.bind(n,69340))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>n.e(5195).then(n.bind(n,35195))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>n.e(5446).then(n.bind(n,95446))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>n.e(4880).then(n.bind(n,54880))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>n.e(8820).then(n.bind(n,78820))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>n.e(7908).then(n.bind(n,17908))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>n.e(7139).then(n.bind(n,77139))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>n.e(7460).then(n.bind(n,97460))},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>n.e(7262).then(n.bind(n,97262))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>n.e(5234).then(n.bind(n,15234))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>n.e(1313).then(n.bind(n,23694))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:()=>n.e(8934).then(n.bind(n,48934))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:()=>n.e(9468).then(n.bind(n,99468))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:()=>n.e(1493).then(n.bind(n,31493))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:()=>n.e(9680).then(n.bind(n,89680))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:()=>n.e(5298).then(n.bind(n,45298))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:()=>n.e(1007).then(n.bind(n,51007))},{id:"houston",displayName:"Houston",type:"dark",import:()=>n.e(8288).then(n.bind(n,88288))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>n.e(5447).then(n.bind(n,35447))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>n.e(8377).then(n.bind(n,98377))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>n.e(7909).then(n.bind(n,87909))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>n.e(2380).then(n.bind(n,32380))},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>n.e(7621).then(n.bind(n,17621))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>n.e(563).then(n.bind(n,30563))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>n.e(4831).then(n.bind(n,84831))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>n.e(6269).then(n.bind(n,76269))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>n.e(9746).then(n.bind(n,69746))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>n.e(3334).then(n.bind(n,73334))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>n.e(5085).then(n.bind(n,55085))},{id:"min-light",displayName:"Min Light",type:"light",import:()=>n.e(7181).then(n.bind(n,97181))},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>n.e(5892).then(n.bind(n,75892))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>n.e(4853).then(n.bind(n,4853))},{id:"nord",displayName:"Nord",type:"dark",import:()=>n.e(4935).then(n.bind(n,14935))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>n.e(19).then(n.bind(n,40019))},{id:"one-light",displayName:"One Light",type:"light",import:()=>n.e(4981).then(n.bind(n,74981))},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>n.e(690).then(n.bind(n,70690))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>n.e(3266).then(n.bind(n,53266))},{id:"red",displayName:"Red",type:"dark",import:()=>n.e(6911).then(n.bind(n,76911))},{id:"rose-pine",displayName:"Ros\xe9 Pine",type:"dark",import:()=>n.e(6598).then(n.bind(n,6598))},{id:"rose-pine-dawn",displayName:"Ros\xe9 Pine Dawn",type:"light",import:()=>n.e(5315).then(n.bind(n,45315))},{id:"rose-pine-moon",displayName:"Ros\xe9 Pine Moon",type:"dark",import:()=>n.e(8482).then(n.bind(n,8482))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>n.e(7965).then(n.bind(n,97965))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>n.e(878).then(n.bind(n,878))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>n.e(3438).then(n.bind(n,43438))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>n.e(6978).then(n.bind(n,76978))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>n.e(8420).then(n.bind(n,58420))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>n.e(1370).then(n.bind(n,31370))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>n.e(9645).then(n.bind(n,59645))},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>n.e(391).then(n.bind(n,30391))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>n.e(7333).then(n.bind(n,67333))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>n.e(5362).then(n.bind(n,55362))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>n.e(6740).then(n.bind(n,56740))}].map(e=>[e.id,e.import]));var nB=n(31369).hp;class nH extends Error{constructor(e){super(e),this.name="ShikiError"}}function nG(){return"undefined"!=typeof performance?performance.now():Date.now()}let nU=(e,t)=>e+(t-e%t)%t;async function nq(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}let a="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function l(e,t){return e?function(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&a)return a.decode(e.subarray(t,i));let l="";for(;t<i;){let n=e[t++];if(!(128&n)){l+=String.fromCharCode(n);continue}let r=63&e[t++];if((224&n)==192){l+=String.fromCharCode((31&n)<<6|r);continue}let i=63&e[t++];if((n=(240&n)==224?(15&n)<<12|r<<6|i:(7&n)<<18|r<<12|i<<6|63&e[t++])<65536)l+=String.fromCharCode(n);else{let e=n-65536;l+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return l}(r.HEAPU8,e,t):""}let o={emscripten_get_now:nG,emscripten_memcpy_big:function(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){let a=r.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;for(let r=1;r<=4;r*=2){let l=a*(1+.2/r);if(l=Math.min(l,e+0x6000000),function(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}(Math.min(0x80000000,nU(Math.max(e,l),65536))))return!0}return!1},fd_write:()=>0};async function s(){let n=await e({env:o,wasi_snapshot_preview1:o});i((t=n.memory).buffer),Object.assign(r,n),r.UTF8ToString=l}return await s(),r}var nW=Object.defineProperty,nV=(e,t,n)=>((e,t,n)=>t in e?nW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);let nQ=null;class nZ{constructor(e){nV(this,"utf16Length"),nV(this,"utf8Length"),nV(this,"utf16Value"),nV(this,"utf8Value"),nV(this,"utf16OffsetToUtf8"),nV(this,"utf8OffsetToUtf16");let t=e.length,n=nZ._utf8ByteLength(e),r=n!==t,i=r?new Uint32Array(t+1):null;r&&(i[t]=n);let a=r?new Uint32Array(n+1):null;r&&(a[n]=t);let l=new Uint8Array(n),o=0;for(let n=0;n<t;n++){let s=e.charCodeAt(n),u=s,c=!1;if(s>=55296&&s<=56319&&n+1<t){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(u=(s-55296<<10)+65536|t-56320,c=!0)}r&&(i[n]=o,c&&(i[n+1]=o),u<=127?a[o+0]=n:u<=2047?(a[o+0]=n,a[o+1]=n):u<=65535?(a[o+0]=n,a[o+1]=n,a[o+2]=n):(a[o+0]=n,a[o+1]=n,a[o+2]=n,a[o+3]=n)),u<=127?l[o++]=u:(u<=2047?l[o++]=192|(1984&u)>>>6:(u<=65535?l[o++]=224|(61440&u)>>>12:(l[o++]=240|(1835008&u)>>>18,l[o++]=128|(258048&u)>>>12),l[o++]=128|(4032&u)>>>6),l[o++]=128|(63&u)>>>0),c&&n++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,l=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,l=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,l&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}let nX=class e{constructor(t){if(nV(this,"id",++e.LAST_ID),nV(this,"_onigBinding"),nV(this,"content"),nV(this,"utf16Length"),nV(this,"utf8Length"),nV(this,"utf16OffsetToUtf8"),nV(this,"utf8OffsetToUtf16"),nV(this,"ptr"),!nQ)throw new nH("Must invoke loadWasm first.");this._onigBinding=nQ,this.content=t;let n=new nZ(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||(e._sharedPtr=nQ.omalloc(1e4)),e._sharedPtrInUse=!0,nQ.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(nQ)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};nV(nX,"LAST_ID",0),nV(nX,"_sharedPtr",0),nV(nX,"_sharedPtrInUse",!1);class nJ{constructor(e){if(nV(this,"_onigBinding"),nV(this,"_ptr"),!nQ)throw new nH("Must invoke loadWasm first.");let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new nZ(e[r]);t[r]=i.createString(nQ),n[r]=i.utf8Length}let r=nQ.omalloc(4*e.length);nQ.HEAPU32.set(t,r/4);let i=nQ.omalloc(4*e.length);nQ.HEAPU32.set(n,i/4);let a=nQ.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)nQ.ofree(t[n]);nQ.ofree(i),nQ.ofree(r),0===a&&function(e){throw new nH(e.UTF8ToString(e.getLastOnigError()))}(nQ),this._onigBinding=nQ,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if("number"==typeof n&&(r=n),"string"==typeof e){e=new nX(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(0===a)return null;let l=i.HEAPU32,o=a/4,s=l[o++],u=l[o++],c=[];for(let t=0;t<u;t++){let n=e.convertUtf8OffsetToUtf16(l[o++]),r=e.convertUtf8OffsetToUtf16(l[o++]);c[t]={start:n,end:r,length:r-n}}return{index:s,captureIndices:c}}}function nK(e){return t=>WebAssembly.instantiate(e,t)}async function nY(e){return e&&await (i||(i=async function(){nQ=await nq(async t=>{let n=e;if("function"==typeof(n=await n)&&(n=await n(t)),"function"==typeof n&&(n=await n(t)),"function"==typeof n.instantiator)n=await n.instantiator(t);else if("function"==typeof n.default)n=await n.default(t);else{var r,i,a,l;if(void 0!==n.data&&(n=n.data),r=n,"undefined"!=typeof Response&&r instanceof Response){n="function"==typeof WebAssembly.instantiateStreaming?await (a=n,e=>WebAssembly.instantiateStreaming(a,e))(t):await (l=n,async e=>{let t=await l.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(i=n,"undefined"!=typeof ArrayBuffer&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||void 0!==nB&&nB.isBuffer?.(i)||"undefined"!=typeof SharedArrayBuffer&&i instanceof SharedArrayBuffer||"undefined"!=typeof Uint32Array&&i instanceof Uint32Array||n instanceof WebAssembly.Module)?n=await nK(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await nK(n.default)(t))}return"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}())),{createScanner:e=>new nJ(e.map(e=>"string"==typeof e?e:e.source)),createString:e=>new nX(e)}}let n0=function(e){let t=e.langs,n=e.themes,r=e.engine;return async function(e){function i(n){if("string"==typeof n){if(t6(n))return[];let r=t[n=e.langAlias?.[n]||n];if(!r)throw new eu(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);return r}return n}function a(e){if(t7(e))return"none";if("string"==typeof e){let t=n[e];if(!t)throw new eu(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let l=(e.themes??[]).map(e=>a(e)),o=(e.langs??[]).map(e=>i(e)),s=await n$({engine:e.engine??r(),...e,themes:l,langs:o});return{...s,loadLanguage:(...e)=>s.loadLanguage(...e.map(i)),loadTheme:(...e)=>s.loadTheme(...e.map(a)),getBundledLanguages:()=>t,getBundledThemes:()=>n}}}({langs:nz,themes:nF,engine:()=>nY(Promise.all([n.e(8880),n.e(9204)]).then(n.bind(n,9204)))});function n1(e){if(1!=[...e].length)throw Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}let n2=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),n4=String.raw;function n3(e,t){if(null==e)throw Error(t??"Value expected");return e}let n5=n4`\[\^?`,n9=`c.? | C(?:-.?)?|${n4`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${n4`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${n4`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${n4`o\{[^\}]*\}?`}|${n4`\d{1,3}`}`,n8=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,n6=RegExp(n4`
2
2
  \\ (?:
3
3
  ${n9}
4
4
  | [gk]<[^>]*>?