openclaw-cortex 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +67 -0
  3. package/bin/cortex-ui.mjs +307 -0
  4. package/package.json +35 -0
  5. package/static/_app/env.js +1 -0
  6. package/static/_app/immutable/assets/0.CTZ7R4vC.css +1 -0
  7. package/static/_app/immutable/assets/2.D5MMRphb.css +1 -0
  8. package/static/_app/immutable/assets/4.Cst5sby_.css +1 -0
  9. package/static/_app/immutable/assets/KaTeX_AMS-Regular.BQhdFMY1.woff2 +0 -0
  10. package/static/_app/immutable/assets/KaTeX_AMS-Regular.DMm9YOAa.woff +0 -0
  11. package/static/_app/immutable/assets/KaTeX_AMS-Regular.DRggAlZN.ttf +0 -0
  12. package/static/_app/immutable/assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf +0 -0
  13. package/static/_app/immutable/assets/KaTeX_Caligraphic-Bold.BEiXGLvX.woff +0 -0
  14. package/static/_app/immutable/assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 +0 -0
  15. package/static/_app/immutable/assets/KaTeX_Caligraphic-Regular.CTRA-rTL.woff +0 -0
  16. package/static/_app/immutable/assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 +0 -0
  17. package/static/_app/immutable/assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf +0 -0
  18. package/static/_app/immutable/assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf +0 -0
  19. package/static/_app/immutable/assets/KaTeX_Fraktur-Bold.BsDP51OF.woff +0 -0
  20. package/static/_app/immutable/assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 +0 -0
  21. package/static/_app/immutable/assets/KaTeX_Fraktur-Regular.CB_wures.ttf +0 -0
  22. package/static/_app/immutable/assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 +0 -0
  23. package/static/_app/immutable/assets/KaTeX_Fraktur-Regular.Dxdc4cR9.woff +0 -0
  24. package/static/_app/immutable/assets/KaTeX_Main-Bold.Cx986IdX.woff2 +0 -0
  25. package/static/_app/immutable/assets/KaTeX_Main-Bold.Jm3AIy58.woff +0 -0
  26. package/static/_app/immutable/assets/KaTeX_Main-Bold.waoOVXN0.ttf +0 -0
  27. package/static/_app/immutable/assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 +0 -0
  28. package/static/_app/immutable/assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf +0 -0
  29. package/static/_app/immutable/assets/KaTeX_Main-BoldItalic.SpSLRI95.woff +0 -0
  30. package/static/_app/immutable/assets/KaTeX_Main-Italic.3WenGoN9.ttf +0 -0
  31. package/static/_app/immutable/assets/KaTeX_Main-Italic.BMLOBm91.woff +0 -0
  32. package/static/_app/immutable/assets/KaTeX_Main-Italic.NWA7e6Wa.woff2 +0 -0
  33. package/static/_app/immutable/assets/KaTeX_Main-Regular.B22Nviop.woff2 +0 -0
  34. package/static/_app/immutable/assets/KaTeX_Main-Regular.Dr94JaBh.woff +0 -0
  35. package/static/_app/immutable/assets/KaTeX_Main-Regular.ypZvNtVU.ttf +0 -0
  36. package/static/_app/immutable/assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf +0 -0
  37. package/static/_app/immutable/assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 +0 -0
  38. package/static/_app/immutable/assets/KaTeX_Math-BoldItalic.iY-2wyZ7.woff +0 -0
  39. package/static/_app/immutable/assets/KaTeX_Math-Italic.DA0__PXp.woff +0 -0
  40. package/static/_app/immutable/assets/KaTeX_Math-Italic.flOr_0UB.ttf +0 -0
  41. package/static/_app/immutable/assets/KaTeX_Math-Italic.t53AETM-.woff2 +0 -0
  42. package/static/_app/immutable/assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf +0 -0
  43. package/static/_app/immutable/assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 +0 -0
  44. package/static/_app/immutable/assets/KaTeX_SansSerif-Bold.DbIhKOiC.woff +0 -0
  45. package/static/_app/immutable/assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 +0 -0
  46. package/static/_app/immutable/assets/KaTeX_SansSerif-Italic.DN2j7dab.woff +0 -0
  47. package/static/_app/immutable/assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf +0 -0
  48. package/static/_app/immutable/assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf +0 -0
  49. package/static/_app/immutable/assets/KaTeX_SansSerif-Regular.CS6fqUqJ.woff +0 -0
  50. package/static/_app/immutable/assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 +0 -0
  51. package/static/_app/immutable/assets/KaTeX_Script-Regular.C5JkGWo-.ttf +0 -0
  52. package/static/_app/immutable/assets/KaTeX_Script-Regular.D3wIWfF6.woff2 +0 -0
  53. package/static/_app/immutable/assets/KaTeX_Script-Regular.D5yQViql.woff +0 -0
  54. package/static/_app/immutable/assets/KaTeX_Size1-Regular.C195tn64.woff +0 -0
  55. package/static/_app/immutable/assets/KaTeX_Size1-Regular.Dbsnue_I.ttf +0 -0
  56. package/static/_app/immutable/assets/KaTeX_Size1-Regular.mCD8mA8B.woff2 +0 -0
  57. package/static/_app/immutable/assets/KaTeX_Size2-Regular.B7gKUWhC.ttf +0 -0
  58. package/static/_app/immutable/assets/KaTeX_Size2-Regular.Dy4dx90m.woff2 +0 -0
  59. package/static/_app/immutable/assets/KaTeX_Size2-Regular.oD1tc_U0.woff +0 -0
  60. package/static/_app/immutable/assets/KaTeX_Size3-Regular.CTq5MqoE.woff +0 -0
  61. package/static/_app/immutable/assets/KaTeX_Size3-Regular.DgpXs0kz.ttf +0 -0
  62. package/static/_app/immutable/assets/KaTeX_Size4-Regular.BF-4gkZK.woff +0 -0
  63. package/static/_app/immutable/assets/KaTeX_Size4-Regular.DWFBv043.ttf +0 -0
  64. package/static/_app/immutable/assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2 +0 -0
  65. package/static/_app/immutable/assets/KaTeX_Typewriter-Regular.C0xS9mPB.woff +0 -0
  66. package/static/_app/immutable/assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2 +0 -0
  67. package/static/_app/immutable/assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf +0 -0
  68. package/static/_app/immutable/chunks/-Dz179kp.js +1 -0
  69. package/static/_app/immutable/chunks/0A2p0G4C.js +1 -0
  70. package/static/_app/immutable/chunks/2EtD6e53.js +1 -0
  71. package/static/_app/immutable/chunks/2UxHyX5q.js +1 -0
  72. package/static/_app/immutable/chunks/3e1v2bzS.js +1 -0
  73. package/static/_app/immutable/chunks/4A_iFExJ.js +1 -0
  74. package/static/_app/immutable/chunks/5J0xJHOV.js +321 -0
  75. package/static/_app/immutable/chunks/5i3qLPDT.js +1 -0
  76. package/static/_app/immutable/chunks/83L43bj1.js +1 -0
  77. package/static/_app/immutable/chunks/85-TOEBH.js +1 -0
  78. package/static/_app/immutable/chunks/B-drBnSa.js +1 -0
  79. package/static/_app/immutable/chunks/B0m2ddpp.js +1 -0
  80. package/static/_app/immutable/chunks/B1dDrJ26.js +1 -0
  81. package/static/_app/immutable/chunks/B1yitclQ.js +1 -0
  82. package/static/_app/immutable/chunks/B2A7gHtL.js +2 -0
  83. package/static/_app/immutable/chunks/B3DkuU-J.js +1 -0
  84. package/static/_app/immutable/chunks/B5Fyld5U.js +1 -0
  85. package/static/_app/immutable/chunks/B6aJPvgy.js +1 -0
  86. package/static/_app/immutable/chunks/B7c-h3xW.js +1 -0
  87. package/static/_app/immutable/chunks/B7mTdjB0.js +1 -0
  88. package/static/_app/immutable/chunks/B7xXCP9k.js +65 -0
  89. package/static/_app/immutable/chunks/B93PlW-d.js +1 -0
  90. package/static/_app/immutable/chunks/BBf5iR-q.js +1 -0
  91. package/static/_app/immutable/chunks/BEDo0Tqx.js +1 -0
  92. package/static/_app/immutable/chunks/BERRCDM3.js +1 -0
  93. package/static/_app/immutable/chunks/BETggiCN.js +1 -0
  94. package/static/_app/immutable/chunks/BEwlwnbL.js +1 -0
  95. package/static/_app/immutable/chunks/BFfxhgS-.js +1 -0
  96. package/static/_app/immutable/chunks/BGHnOYBU.js +1 -0
  97. package/static/_app/immutable/chunks/BGJmEYvX.js +1 -0
  98. package/static/_app/immutable/chunks/BH7IYjvW.js +1 -0
  99. package/static/_app/immutable/chunks/BHpy7Gm-.js +7 -0
  100. package/static/_app/immutable/chunks/BIGW1oBm.js +1 -0
  101. package/static/_app/immutable/chunks/BJ7Hojwm.js +165 -0
  102. package/static/_app/immutable/chunks/BJDFO7_C.js +1 -0
  103. package/static/_app/immutable/chunks/BL5jzBAz.js +1 -0
  104. package/static/_app/immutable/chunks/BLmx8bSh.js +1 -0
  105. package/static/_app/immutable/chunks/BLtJtn59.js +1 -0
  106. package/static/_app/immutable/chunks/BM1_JUlF.js +1 -0
  107. package/static/_app/immutable/chunks/BMWR74SV.js +1 -0
  108. package/static/_app/immutable/chunks/BPQ3VLAy.js +1 -0
  109. package/static/_app/immutable/chunks/BQ8w6xss.js +1 -0
  110. package/static/_app/immutable/chunks/BR5kRUq4.js +1 -0
  111. package/static/_app/immutable/chunks/BRHolxvo.js +1 -0
  112. package/static/_app/immutable/chunks/BRZ36xJF.js +1 -0
  113. package/static/_app/immutable/chunks/BTJTHyun.js +1 -0
  114. package/static/_app/immutable/chunks/BTifaqeh.js +1 -0
  115. package/static/_app/immutable/chunks/BUw7H-hv.js +1 -0
  116. package/static/_app/immutable/chunks/BV7otONQ.js +1 -0
  117. package/static/_app/immutable/chunks/BVNfpfKI.js +1 -0
  118. package/static/_app/immutable/chunks/BVQ-GDCI.js +1 -0
  119. package/static/_app/immutable/chunks/BWvSN4gD.js +1 -0
  120. package/static/_app/immutable/chunks/BXkSAIEj.js +1 -0
  121. package/static/_app/immutable/chunks/BYXRTvT-.js +1 -0
  122. package/static/_app/immutable/chunks/BYunw83y.js +1 -0
  123. package/static/_app/immutable/chunks/BZvkOJ9d.js +1 -0
  124. package/static/_app/immutable/chunks/B_m7g4N7.js +1 -0
  125. package/static/_app/immutable/chunks/Ba13S78F.js +1 -0
  126. package/static/_app/immutable/chunks/BaaWV1KV.js +1 -0
  127. package/static/_app/immutable/chunks/BbxtiRj7.js +1 -0
  128. package/static/_app/immutable/chunks/BcOcwvcX.js +1 -0
  129. package/static/_app/immutable/chunks/BcVCzyr7.js +1 -0
  130. package/static/_app/immutable/chunks/BdImnpbu.js +1 -0
  131. package/static/_app/immutable/chunks/BdnUsdx6.js +1 -0
  132. package/static/_app/immutable/chunks/Be_uRYmX.js +1 -0
  133. package/static/_app/immutable/chunks/BfHTSMKl.js +1 -0
  134. package/static/_app/immutable/chunks/BfJx3WfE.js +1 -0
  135. package/static/_app/immutable/chunks/BfQbQz2e.js +1 -0
  136. package/static/_app/immutable/chunks/BfjtVDDH.js +1 -0
  137. package/static/_app/immutable/chunks/BgCckEu3.js +43 -0
  138. package/static/_app/immutable/chunks/BgDCqdQA.js +1 -0
  139. package/static/_app/immutable/chunks/BgIZa_E2.js +1 -0
  140. package/static/_app/immutable/chunks/BhOHFoWU.js +1 -0
  141. package/static/_app/immutable/chunks/BhRPY-oY.js +1 -0
  142. package/static/_app/immutable/chunks/BkioyH1T.js +1 -0
  143. package/static/_app/immutable/chunks/Bkuqu6BP.js +1 -0
  144. package/static/_app/immutable/chunks/BmXAJ9_W.js +1 -0
  145. package/static/_app/immutable/chunks/Bmn6On1c.js +1 -0
  146. package/static/_app/immutable/chunks/Bp6g37R7.js +1 -0
  147. package/static/_app/immutable/chunks/BpQpoErY.js +30 -0
  148. package/static/_app/immutable/chunks/BqTXFGrv.js +1 -0
  149. package/static/_app/immutable/chunks/BqYA7rlc.js +1 -0
  150. package/static/_app/immutable/chunks/Br6cN0cg.js +1 -0
  151. package/static/_app/immutable/chunks/BrzmwbiE.js +1 -0
  152. package/static/_app/immutable/chunks/BsS91CYL.js +1 -0
  153. package/static/_app/immutable/chunks/BspZqrRM.js +1 -0
  154. package/static/_app/immutable/chunks/BtCnVYZw.js +1 -0
  155. package/static/_app/immutable/chunks/BtEQkMu_.js +1 -0
  156. package/static/_app/immutable/chunks/BtOb2qkB.js +1 -0
  157. package/static/_app/immutable/chunks/BthQWCQV.js +1 -0
  158. package/static/_app/immutable/chunks/BtjpZpjN.js +1 -0
  159. package/static/_app/immutable/chunks/BtqSS_iP.js +1 -0
  160. package/static/_app/immutable/chunks/BtvRca6l.js +1 -0
  161. package/static/_app/immutable/chunks/Buea-lGh.js +1 -0
  162. package/static/_app/immutable/chunks/Bv_4Rxtq.js +1 -0
  163. package/static/_app/immutable/chunks/BvzEVeQv.js +1 -0
  164. package/static/_app/immutable/chunks/Bw305WKR.js +1 -0
  165. package/static/_app/immutable/chunks/BxgE0vQu.js +1 -0
  166. package/static/_app/immutable/chunks/ByZADglo.js +7 -0
  167. package/static/_app/immutable/chunks/BzJJZx-M.js +1 -0
  168. package/static/_app/immutable/chunks/BzadFaiy.js +162 -0
  169. package/static/_app/immutable/chunks/C-HG3fhB.js +1 -0
  170. package/static/_app/immutable/chunks/C-SQnVFl.js +1 -0
  171. package/static/_app/immutable/chunks/C-sUppwS.js +1 -0
  172. package/static/_app/immutable/chunks/C0HS_06l.js +1 -0
  173. package/static/_app/immutable/chunks/C0hk2d4L.js +1 -0
  174. package/static/_app/immutable/chunks/C151Ov-r.js +1 -0
  175. package/static/_app/immutable/chunks/C28nlFVT.js +1 -0
  176. package/static/_app/immutable/chunks/C2t-YnRu.js +1 -0
  177. package/static/_app/immutable/chunks/C39BiMTA.js +1 -0
  178. package/static/_app/immutable/chunks/C3B-1QV4.js +1 -0
  179. package/static/_app/immutable/chunks/C3Wv6jpd.js +1 -0
  180. package/static/_app/immutable/chunks/C3mMm8J8.js +1 -0
  181. package/static/_app/immutable/chunks/C47S-Tmv.js +1 -0
  182. package/static/_app/immutable/chunks/C4EeE6gA.js +1 -0
  183. package/static/_app/immutable/chunks/C4IJs8-o.js +1 -0
  184. package/static/_app/immutable/chunks/C4gqWexZ.js +1 -0
  185. package/static/_app/immutable/chunks/C5YyOfLZ.js +1 -0
  186. package/static/_app/immutable/chunks/C7zT0LnQ.js +1 -0
  187. package/static/_app/immutable/chunks/C8M2exoo.js +1 -0
  188. package/static/_app/immutable/chunks/C8SIHLmM.js +1 -0
  189. package/static/_app/immutable/chunks/C8lEn-DE.js +1 -0
  190. package/static/_app/immutable/chunks/C98Dy4si.js +1 -0
  191. package/static/_app/immutable/chunks/C9E63BpL.js +1 -0
  192. package/static/_app/immutable/chunks/C9XAeP06.js +1 -0
  193. package/static/_app/immutable/chunks/C9dUb6Cb.js +1 -0
  194. package/static/_app/immutable/chunks/C9oPPf7i.js +1 -0
  195. package/static/_app/immutable/chunks/C9tS-k6U.js +1 -0
  196. package/static/_app/immutable/chunks/CDVJQ6XC.js +1 -0
  197. package/static/_app/immutable/chunks/CDx5xZoG.js +1 -0
  198. package/static/_app/immutable/chunks/CEL-wOlO.js +1 -0
  199. package/static/_app/immutable/chunks/CEu0bR-o.js +1 -0
  200. package/static/_app/immutable/chunks/CF10PKvl.js +1 -0
  201. package/static/_app/immutable/chunks/CFHQjOhq.js +1 -0
  202. package/static/_app/immutable/chunks/CG6Dc4jp.js +1 -0
  203. package/static/_app/immutable/chunks/CG8Ifv2g.js +1 -0
  204. package/static/_app/immutable/chunks/CH1njM8p.js +1 -0
  205. package/static/_app/immutable/chunks/CHBK5X1w.js +68 -0
  206. package/static/_app/immutable/chunks/CHLpvVh8.js +1 -0
  207. package/static/_app/immutable/chunks/CHM0blh-.js +1 -0
  208. package/static/_app/immutable/chunks/CI2Yzjad.js +64 -0
  209. package/static/_app/immutable/chunks/CIyB7iq8.js +1 -0
  210. package/static/_app/immutable/chunks/CIznanO1.js +1 -0
  211. package/static/_app/immutable/chunks/CJc9bBzg.js +1 -0
  212. package/static/_app/immutable/chunks/CKIfxQSi.js +1 -0
  213. package/static/_app/immutable/chunks/CLxacb5B.js +1 -0
  214. package/static/_app/immutable/chunks/CM4QnuZs.js +4 -0
  215. package/static/_app/immutable/chunks/CMTm3GFP.js +1 -0
  216. package/static/_app/immutable/chunks/CMjwMIkn.js +1 -0
  217. package/static/_app/immutable/chunks/CO1LY3CK.js +1 -0
  218. package/static/_app/immutable/chunks/COcwbKMJ.js +1 -0
  219. package/static/_app/immutable/chunks/COkxafJQ.js +1 -0
  220. package/static/_app/immutable/chunks/COt5Ahok.js +1 -0
  221. package/static/_app/immutable/chunks/CPTuQiBa.js +10 -0
  222. package/static/_app/immutable/chunks/CQ8jqdy-.js +1 -0
  223. package/static/_app/immutable/chunks/CS3Unz2-.js +1 -0
  224. package/static/_app/immutable/chunks/CSXwinHm.js +1 -0
  225. package/static/_app/immutable/chunks/CSt7grsY.js +267 -0
  226. package/static/_app/immutable/chunks/CTLgUaOw.js +15 -0
  227. package/static/_app/immutable/chunks/CTRr51gU.js +1 -0
  228. package/static/_app/immutable/chunks/CVF7vp9Z.js +1 -0
  229. package/static/_app/immutable/chunks/CVO1_9PV.js +1 -0
  230. package/static/_app/immutable/chunks/CVdnzihN.js +1 -0
  231. package/static/_app/immutable/chunks/CW8IKDeL.js +1 -0
  232. package/static/_app/immutable/chunks/CXQ1lKJR.js +1 -0
  233. package/static/_app/immutable/chunks/CXtECtnM.js +1 -0
  234. package/static/_app/immutable/chunks/CXuqG_J2.js +24 -0
  235. package/static/_app/immutable/chunks/CZhp0h8q.js +1 -0
  236. package/static/_app/immutable/chunks/CaGTHgeg.js +1 -0
  237. package/static/_app/immutable/chunks/CaL1vZnA.js +1 -0
  238. package/static/_app/immutable/chunks/CafNBF8u.js +1 -0
  239. package/static/_app/immutable/chunks/CbFg5uaA.js +1 -0
  240. package/static/_app/immutable/chunks/CbWomDEd.js +145 -0
  241. package/static/_app/immutable/chunks/CbfX1IO0.js +1 -0
  242. package/static/_app/immutable/chunks/CckKNcSY.js +1 -0
  243. package/static/_app/immutable/chunks/CeAyd5Ju.js +1 -0
  244. package/static/_app/immutable/chunks/Cehz00B_.js +36 -0
  245. package/static/_app/immutable/chunks/CenWIFCC.js +1 -0
  246. package/static/_app/immutable/chunks/CfMaDYuo.js +1 -0
  247. package/static/_app/immutable/chunks/CfQXZHmo.js +1 -0
  248. package/static/_app/immutable/chunks/Cg-RD9OK.js +1 -0
  249. package/static/_app/immutable/chunks/Ch6_qw5b.js +1 -0
  250. package/static/_app/immutable/chunks/ChMvpjG-.js +1 -0
  251. package/static/_app/immutable/chunks/ChOWTdG8.js +1 -0
  252. package/static/_app/immutable/chunks/Ci3HlJdq.js +1 -0
  253. package/static/_app/immutable/chunks/Cj5Yp3dK.js +1 -0
  254. package/static/_app/immutable/chunks/CjW8XjqM.js +1 -0
  255. package/static/_app/immutable/chunks/CjoLj4QM.js +1 -0
  256. package/static/_app/immutable/chunks/CkAYskLX.js +1 -0
  257. package/static/_app/immutable/chunks/CkByrt1z.js +1 -0
  258. package/static/_app/immutable/chunks/CkXjmgJE.js +1 -0
  259. package/static/_app/immutable/chunks/CklMAg4u.js +1 -0
  260. package/static/_app/immutable/chunks/CktI4lAE.js +1 -0
  261. package/static/_app/immutable/chunks/Cl8IGKIC.js +1 -0
  262. package/static/_app/immutable/chunks/CmIQRyeF.js +1 -0
  263. package/static/_app/immutable/chunks/CmKTTxBW.js +1 -0
  264. package/static/_app/immutable/chunks/Cmh6b_Ma.js +1 -0
  265. package/static/_app/immutable/chunks/CnnebwVN.js +1 -0
  266. package/static/_app/immutable/chunks/CnnmHF94.js +1 -0
  267. package/static/_app/immutable/chunks/CnsnAmq5.js +1 -0
  268. package/static/_app/immutable/chunks/Co6uUVPk.js +1 -0
  269. package/static/_app/immutable/chunks/CoDkCxhg.js +1 -0
  270. package/static/_app/immutable/chunks/CoP9XEcB.js +1 -0
  271. package/static/_app/immutable/chunks/Cp-IABpG.js +1 -0
  272. package/static/_app/immutable/chunks/Cq5zzVJU.js +1 -0
  273. package/static/_app/immutable/chunks/CquLrc37.js +1 -0
  274. package/static/_app/immutable/chunks/CsfeWuGM.js +1 -0
  275. package/static/_app/immutable/chunks/Csfq5Kiy.js +1 -0
  276. package/static/_app/immutable/chunks/CuPHTKiy.js +1 -0
  277. package/static/_app/immutable/chunks/Cuk6v7N8.js +1 -0
  278. package/static/_app/immutable/chunks/CvQeaAIM.js +1 -0
  279. package/static/_app/immutable/chunks/Cvjx9yec.js +1 -0
  280. package/static/_app/immutable/chunks/CwdUHN22.js +10 -0
  281. package/static/_app/immutable/chunks/CwoSXNpI.js +1 -0
  282. package/static/_app/immutable/chunks/CxGSJlkm.js +1 -0
  283. package/static/_app/immutable/chunks/CxLEBnE3.js +1 -0
  284. package/static/_app/immutable/chunks/CxbxFI8M.js +1 -0
  285. package/static/_app/immutable/chunks/CyktbL80.js +1 -0
  286. package/static/_app/immutable/chunks/CylS5w8V.js +1 -0
  287. package/static/_app/immutable/chunks/CzTSHFRz.js +1 -0
  288. package/static/_app/immutable/chunks/D-2ljcwZ.js +1 -0
  289. package/static/_app/immutable/chunks/D0YGMca9.js +1 -0
  290. package/static/_app/immutable/chunks/D0h_xhSm.js +1 -0
  291. package/static/_app/immutable/chunks/D0r3Knsf.js +1 -0
  292. package/static/_app/immutable/chunks/D17OF-Vu.js +1 -0
  293. package/static/_app/immutable/chunks/D1j8_8rp.js +1 -0
  294. package/static/_app/immutable/chunks/D2qRk260.js +1 -0
  295. package/static/_app/immutable/chunks/D3lLCCz7.js +1 -0
  296. package/static/_app/immutable/chunks/D4_iv3hh.js +1 -0
  297. package/static/_app/immutable/chunks/D4h5O-jR.js +1 -0
  298. package/static/_app/immutable/chunks/D5-asLiD.js +1 -0
  299. package/static/_app/immutable/chunks/D53aC0YG.js +1 -0
  300. package/static/_app/immutable/chunks/D5KoaKCx.js +1 -0
  301. package/static/_app/immutable/chunks/D5qUzPtI.js +24 -0
  302. package/static/_app/immutable/chunks/D6tSezzf.js +2 -0
  303. package/static/_app/immutable/chunks/D7o27uSR.js +1 -0
  304. package/static/_app/immutable/chunks/D7oLnXFd.js +1 -0
  305. package/static/_app/immutable/chunks/D82EKSYY.js +1 -0
  306. package/static/_app/immutable/chunks/D87Tk5Gz.js +1 -0
  307. package/static/_app/immutable/chunks/D8_7TLub.js +1 -0
  308. package/static/_app/immutable/chunks/D93ZcfNL.js +1 -0
  309. package/static/_app/immutable/chunks/D97Zzqfu.js +1 -0
  310. package/static/_app/immutable/chunks/DAi9KRSo.js +1 -0
  311. package/static/_app/immutable/chunks/DBpX0yWo.js +1 -0
  312. package/static/_app/immutable/chunks/DDfwx6bG.js +1 -0
  313. package/static/_app/immutable/chunks/DFQXde-d.js +1 -0
  314. package/static/_app/immutable/chunks/DFWUc33u.js +1 -0
  315. package/static/_app/immutable/chunks/DFXneXwc.js +1 -0
  316. package/static/_app/immutable/chunks/DGztddWO.js +1 -0
  317. package/static/_app/immutable/chunks/DH5Ifo-i.js +1 -0
  318. package/static/_app/immutable/chunks/DHCkPAjA.js +1 -0
  319. package/static/_app/immutable/chunks/DHJKELXO.js +1 -0
  320. package/static/_app/immutable/chunks/DHLdr2oY.js +61 -0
  321. package/static/_app/immutable/chunks/DHQR4-dF.js +1 -0
  322. package/static/_app/immutable/chunks/DHfvhpat.js +220 -0
  323. package/static/_app/immutable/chunks/DID_Ax9Y.js +1 -0
  324. package/static/_app/immutable/chunks/DM8c43g1.js +1 -0
  325. package/static/_app/immutable/chunks/DMzUqQB5.js +1 -0
  326. package/static/_app/immutable/chunks/DNstp7By.js +1 -0
  327. package/static/_app/immutable/chunks/DPfMkruS.js +1 -0
  328. package/static/_app/immutable/chunks/DPrxUVm_.js +1 -0
  329. package/static/_app/immutable/chunks/DQyhUUbL.js +1 -0
  330. package/static/_app/immutable/chunks/DR4elm4u.js +1 -0
  331. package/static/_app/immutable/chunks/DRg8JJMk.js +1 -0
  332. package/static/_app/immutable/chunks/DRw_LuNl.js +1 -0
  333. package/static/_app/immutable/chunks/DU1UobuO.js +1 -0
  334. package/static/_app/immutable/chunks/DUszq2jm.js +1 -0
  335. package/static/_app/immutable/chunks/DV7GczEv.js +1 -0
  336. package/static/_app/immutable/chunks/DVFEvuxE.js +1 -0
  337. package/static/_app/immutable/chunks/DVMEJ2y_.js +1 -0
  338. package/static/_app/immutable/chunks/DVP7Iy08.js +1 -0
  339. package/static/_app/immutable/chunks/DVxCFoDh.js +1 -0
  340. package/static/_app/immutable/chunks/DWedfzmr.js +1 -0
  341. package/static/_app/immutable/chunks/DWrx1Km3.js +1 -0
  342. package/static/_app/immutable/chunks/DX6XiGOO.js +1 -0
  343. package/static/_app/immutable/chunks/DXbdFlpD.js +1 -0
  344. package/static/_app/immutable/chunks/DXmwc3jG.js +1 -0
  345. package/static/_app/immutable/chunks/DXvB9xmW.js +1 -0
  346. package/static/_app/immutable/chunks/DYoxhk2S.js +1 -0
  347. package/static/_app/immutable/chunks/DZf3V79B.js +1 -0
  348. package/static/_app/immutable/chunks/DZxFcAj9.js +1 -0
  349. package/static/_app/immutable/chunks/D_Q5rh1f.js +1 -0
  350. package/static/_app/immutable/chunks/Da5cRb03.js +1 -0
  351. package/static/_app/immutable/chunks/DaZJ10kq.js +1 -0
  352. package/static/_app/immutable/chunks/DcOAMOlN.js +13 -0
  353. package/static/_app/immutable/chunks/DcaNXYhu.js +1 -0
  354. package/static/_app/immutable/chunks/DctEUaEs.js +122 -0
  355. package/static/_app/immutable/chunks/Dd19v3D-.js +1 -0
  356. package/static/_app/immutable/chunks/DdkO51Og.js +1 -0
  357. package/static/_app/immutable/chunks/Ddpm2sMN.js +2 -0
  358. package/static/_app/immutable/chunks/Ddv68eIx.js +1 -0
  359. package/static/_app/immutable/chunks/Des-eS-w.js +1 -0
  360. package/static/_app/immutable/chunks/Df6bDoY_.js +1 -0
  361. package/static/_app/immutable/chunks/Dg5xB15N.js +1 -0
  362. package/static/_app/immutable/chunks/DhXJpUyf.js +261 -0
  363. package/static/_app/immutable/chunks/DjeNoAoh.js +1 -0
  364. package/static/_app/immutable/chunks/DkFqJrB1.js +1 -0
  365. package/static/_app/immutable/chunks/DkwncUOv.js +1 -0
  366. package/static/_app/immutable/chunks/DmOB1nMW.js +60 -0
  367. package/static/_app/immutable/chunks/DnULxvSX.js +1 -0
  368. package/static/_app/immutable/chunks/Dntbqd40.js +1 -0
  369. package/static/_app/immutable/chunks/DpBBTLWw.js +1 -0
  370. package/static/_app/immutable/chunks/Dpen1YoG.js +1 -0
  371. package/static/_app/immutable/chunks/DqQDbK_p.js +1 -0
  372. package/static/_app/immutable/chunks/DqwNpetd.js +1 -0
  373. package/static/_app/immutable/chunks/Dr0tKAg9.js +1 -0
  374. package/static/_app/immutable/chunks/DsOJ9woJ.js +1 -0
  375. package/static/_app/immutable/chunks/Dspwwk_N.js +1 -0
  376. package/static/_app/immutable/chunks/DsqENSWP.js +1 -0
  377. package/static/_app/immutable/chunks/Dv7Oe6Be.js +1 -0
  378. package/static/_app/immutable/chunks/DvCA51Ri.js +1 -0
  379. package/static/_app/immutable/chunks/Dx-B1_4e.js +1 -0
  380. package/static/_app/immutable/chunks/DxNHbxmM.js +1 -0
  381. package/static/_app/immutable/chunks/DxSwrfjg.js +1 -0
  382. package/static/_app/immutable/chunks/DyxjwDmM.js +1 -0
  383. package/static/_app/immutable/chunks/E3gJ1_iC.js +1 -0
  384. package/static/_app/immutable/chunks/FixhtMGQ.js +1 -0
  385. package/static/_app/immutable/chunks/Gi6I4Gst.js +1 -0
  386. package/static/_app/immutable/chunks/GsRaNv29.js +1 -0
  387. package/static/_app/immutable/chunks/IF9eRakj.js +1 -0
  388. package/static/_app/immutable/chunks/IeuSbFQv.js +1 -0
  389. package/static/_app/immutable/chunks/JSbxStMO.js +1 -0
  390. package/static/_app/immutable/chunks/KBP0Pl-D.js +1 -0
  391. package/static/_app/immutable/chunks/L9t79GZl.js +1 -0
  392. package/static/_app/immutable/chunks/Lsu8CQWQ.js +1 -0
  393. package/static/_app/immutable/chunks/MzD3tlZU.js +1 -0
  394. package/static/_app/immutable/chunks/P80f7IUj.js +1 -0
  395. package/static/_app/immutable/chunks/Pmp26Uib.js +1 -0
  396. package/static/_app/immutable/chunks/QIJgUcNo.js +1 -0
  397. package/static/_app/immutable/chunks/U2OjavRo.js +160 -0
  398. package/static/_app/immutable/chunks/VCDPK7BO.js +1 -0
  399. package/static/_app/immutable/chunks/VOosw3JB.js +1 -0
  400. package/static/_app/immutable/chunks/YqXBG_HV.js +1 -0
  401. package/static/_app/immutable/chunks/Yzrsuije.js +1 -0
  402. package/static/_app/immutable/chunks/Z4qYLg5o.js +249 -0
  403. package/static/_app/immutable/chunks/_ykCGR6B.js +1 -0
  404. package/static/_app/immutable/chunks/bCR0ucgS.js +1 -0
  405. package/static/_app/immutable/chunks/bN70gL4F.js +1 -0
  406. package/static/_app/immutable/chunks/bWB8K6-D.js +5 -0
  407. package/static/_app/immutable/chunks/brMvHLvt.js +1 -0
  408. package/static/_app/immutable/chunks/d_IM0gte.js +139 -0
  409. package/static/_app/immutable/chunks/dwOrl1Do.js +1 -0
  410. package/static/_app/immutable/chunks/fKv21gyL.js +1 -0
  411. package/static/_app/immutable/chunks/fbvUeNLU.js +1 -0
  412. package/static/_app/immutable/chunks/fuZLfV_i.js +1 -0
  413. package/static/_app/immutable/chunks/g9-lgVsj.js +1 -0
  414. package/static/_app/immutable/chunks/gcz8RCvz.js +1 -0
  415. package/static/_app/immutable/chunks/ghzVJG2J.js +3 -0
  416. package/static/_app/immutable/chunks/hJgmCMqR.js +1 -0
  417. package/static/_app/immutable/chunks/hegEt444.js +1 -0
  418. package/static/_app/immutable/chunks/huq_gnMY.js +1 -0
  419. package/static/_app/immutable/chunks/k_qm7-4y.js +1 -0
  420. package/static/_app/immutable/chunks/lXgVvXCa.js +1 -0
  421. package/static/_app/immutable/chunks/m17aaUwq.js +1 -0
  422. package/static/_app/immutable/chunks/mWjccvbQ.js +1 -0
  423. package/static/_app/immutable/chunks/mjskCLCv.js +1 -0
  424. package/static/_app/immutable/chunks/n2N0HUVH.js +1 -0
  425. package/static/_app/immutable/chunks/nnazh41B.js +1 -0
  426. package/static/_app/immutable/chunks/oC1Mvi0U.js +89 -0
  427. package/static/_app/immutable/chunks/pwnRazgM.js +1 -0
  428. package/static/_app/immutable/chunks/qR_TM3YX.js +1 -0
  429. package/static/_app/immutable/chunks/qdsjHGoJ.js +1 -0
  430. package/static/_app/immutable/chunks/rBDgyNy3.js +1 -0
  431. package/static/_app/immutable/chunks/rGO070M0.js +1 -0
  432. package/static/_app/immutable/chunks/sDksUvMU.js +1 -0
  433. package/static/_app/immutable/chunks/tddw2aQM.js +112 -0
  434. package/static/_app/immutable/chunks/u5AG7uiY.js +1 -0
  435. package/static/_app/immutable/chunks/uYugtg8r.js +1 -0
  436. package/static/_app/immutable/chunks/vGWfd6FD.js +1 -0
  437. package/static/_app/immutable/chunks/wDzz0qaB.js +1 -0
  438. package/static/_app/immutable/entry/app.dIuL6Sx2.js +2 -0
  439. package/static/_app/immutable/entry/start.CPRrpmQQ.js +1 -0
  440. package/static/_app/immutable/nodes/0.C05hyQv4.js +31 -0
  441. package/static/_app/immutable/nodes/1.DNR70oez.js +1 -0
  442. package/static/_app/immutable/nodes/10.B2cLmMC7.js +10 -0
  443. package/static/_app/immutable/nodes/11.DJhRDO9i.js +10 -0
  444. package/static/_app/immutable/nodes/12.EQZXcF2X.js +15 -0
  445. package/static/_app/immutable/nodes/13.Cmr6DJCN.js +10 -0
  446. package/static/_app/immutable/nodes/14.C_0-G1-G.js +30 -0
  447. package/static/_app/immutable/nodes/15.CQpP4DKr.js +27 -0
  448. package/static/_app/immutable/nodes/16.X30_YaDj.js +6 -0
  449. package/static/_app/immutable/nodes/17.CFfybSgG.js +14 -0
  450. package/static/_app/immutable/nodes/2.BAngx7Bz.js +1 -0
  451. package/static/_app/immutable/nodes/3.DXKIOrMy.js +13 -0
  452. package/static/_app/immutable/nodes/4.DbkQP2wh.js +20 -0
  453. package/static/_app/immutable/nodes/5.ITF8-ndt.js +16 -0
  454. package/static/_app/immutable/nodes/6.c4AJxCzT.js +22 -0
  455. package/static/_app/immutable/nodes/7.BIY7aMPw.js +49 -0
  456. package/static/_app/immutable/nodes/8.z-z4LZ_8.js +17 -0
  457. package/static/_app/immutable/nodes/9.CSPrnU3x.js +4 -0
  458. package/static/_app/version.json +1 -0
  459. package/static/config.json +10 -0
  460. package/static/index.html +48 -0
  461. package/static/logo.png +0 -0
  462. package/static/manifest.json +23 -0
  463. package/static/sw.js +80 -0
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse('{"displayName":"Assembly","fileTypes":["asm","nasm","yasm","inc","s"],"name":"asm","patterns":[{"include":"#registers"},{"include":"#mnemonics"},{"include":"#constants"},{"include":"#entities"},{"include":"#support"},{"include":"#comments"},{"include":"#preprocessor"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"match":"(;|(^|\\\\s)#\\\\s).*$","name":"comment.line"},{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block"},{"begin":"^\\\\s*[#%]\\\\s*if\\\\s+0\\\\b","end":"^\\\\s*[#%]\\\\s*endif\\\\b","name":"comment.preprocessor"}]},"constants":{"patterns":[{"match":"(?i)\\\\b0[by][01][01_]*\\\\.(?:(?:[01][01_]*)?(?:p[-+]?[0-9][0-9_]*)?\\\\b)?","name":"constant.numeric.binary.floating-point.asm.x86_64"},{"match":"(?i)\\\\b0[by][01][01_]*p[-+]?[0-9][0-9_]*\\\\b","name":"constant.numeric.binary.floating-point.asm.x86_64"},{"match":"(?i)\\\\b0[oq][0-7][0-7_]*\\\\.(?:(?:[0-7][0-7_]*)?(?:p[-+]?[0-9][0-9_]*)?\\\\b)?","name":"constant.numeric.octal.floating-point.asm.x86_64"},{"match":"(?i)\\\\b0[oq][0-7][0-7_]*p[-+]?[0-9][0-9_]*\\\\b","name":"constant.numeric.octal.floating-point.asm.x86_64"},{"match":"(?i)\\\\b(?:0[dt])?[0-9][0-9_]*\\\\.(?:(?:[0-9][0-9_]*)?(?:e[-+]?[0-9][0-9_]*)?\\\\b)?","name":"constant.numeric.decimal.floating-point.asm.x86_64"},{"match":"(?i)\\\\b[0-9][0-9_]*e[-+]?[0-9][0-9_]*\\\\b","name":"constant.numeric.decimal.floating-point.asm.x86_64"},{"match":"(?i)\\\\b[0-9][0-9_]*p(?:[0-9][0-9_]*)?\\\\b","name":"constant.numeric.decimal.packed-bcd.asm.x86_64"},{"match":"(?i)\\\\b0[hx]\\\\h[_\\\\h]*\\\\.(?:(?:\\\\h[_\\\\h]*)?(?:p[-+]?[0-9][0-9_]*)?\\\\b)?","name":"constant.numeric.hex.floating-point.asm.x86_64"},{"match":"(?i)\\\\b0[hx]\\\\h[_\\\\h]*p[-+]?[0-9][0-9_]*\\\\b","name":"constant.numeric.hex.floating-point.asm.x86_64"},{"match":"(?i)\\\\$[0-9]_?(?:\\\\h[_\\\\h]*)?\\\\.(?:(?:\\\\h[_\\\\h]*)?(?:p[-+]?[0-9][0-9_]*)?\\\\b)?","name":"constant.numeric.hex.floating-point.asm.x86_64"},{"match":"(?i)\\\\$[0-9]_?\\\\h[_\\\\h]*p[-+]?[0-9][0-9_]*\\\\b","name":"constant.numeric.hex.floating-point.asm.x86_64"},{"match":"(?i)\\\\b(?:0[by][01][01_]*|[01][01_]*[by])\\\\b","name":"constant.numeric.binary.asm.x86_64"},{"match":"(?i)\\\\b(?:0[oq][0-7][0-7_]*|[0-7][0-7_]*[oq])\\\\b","name":"constant.numeric.octal.asm.x86_64"},{"match":"(?i)\\\\b(?:0[dt][0-9][0-9_]*|[0-9][0-9_]*[dt]?)\\\\b","name":"constant.numeric.decimal.asm.x86_64"},{"match":"(?i)\\\\$[0-9]_?(?:\\\\h[_\\\\h]*)?\\\\b","name":"constant.numeric.hex.asm.x86_64"},{"match":"(?i)\\\\b(?:0[hx]\\\\h[_\\\\h]*|\\\\h[_\\\\h]*[HXhx])\\\\b","name":"constant.numeric.hex.asm.x86_64"}]},"entities":{"patterns":[{"match":"((se(?:ction|gment))\\\\s+)?\\\\.((ro)?data|bss|text)","name":"entity.name.section"},{"match":"^\\\\.?(globa?l|extern|required)\\\\b","name":"entity.directive"},{"match":"(\\\\$\\\\w+)\\\\b","name":"text.variable"},{"captures":{"1":{"name":"punctuation.separator.asm.x86_64 storage.modifier.asm.x86_64"},"2":{"name":"entity.name.function.special.asm.x86_64"},"3":{"name":"punctuation.separator.asm.x86_64"}},"match":"(\\\\.\\\\.@)([?_[:alpha:]][#$.?@_~[:alnum:]]*)(?:(:)?|\\\\b)","name":"entity.name.function.asm.x86_64"},{"captures":{"1":{"name":"punctuation.separator.asm.x86_64 storage.modifier.asm.x86_64"},"2":{"name":"entity.name.function.asm.x86_64"},"3":{"name":"punctuation.separator.asm.x86_64"}},"match":"(?:(\\\\.)?|\\\\b)([?_[:alpha:]][#$.?@_~[:alnum:]]*)(:)","name":"entity.name.function.asm.x86_64"},{"captures":{"1":{"name":"punctuation.separator.asm.x86_64 storage.modifier.asm.x86_64"},"2":{"name":"entity.name.function.asm.x86_64"},"3":{"name":"punctuation.separator.asm.x86_64"}},"match":"(\\\\.)([0-9]+[#$.?@_~[:alnum:]]*)(?:(:)?|\\\\b)","name":"entity.name.function.asm.x86_64"},{"captures":{"1":{"name":"punctuation.separator.asm.x86_64 storage.modifier.asm.x86_64"},"2":{"name":"invalid.illegal.entity.name.function.asm.x86_64"},"3":{"name":"punctuation.separator.asm.x86_64"}},"match":"(?:(\\\\.)?|\\\\b)([$0-9@~][#$.?@_~[:alnum:]]*)(:)","name":"invalid.illegal.entity.name.function.asm.x86_64"}]},"mnemonics":{"patterns":[{"include":"#mnemonics-general-purpose"},{"include":"#mnemonics-fpu"},{"include":"#mnemonics-mmx"},{"include":"#mnemonics-sse"},{"include":"#mnemonics-sse2"},{"include":"#mnemonics-sse3"},{"include":"#mnemonics-sse4"},{"include":"#mnemonics-aesni"},{"include":"#mnemonics-avx"},{"include":"#mnemonics-avx2"},{"include":"#mnemonics-tsx"},{"include":"#mnemonics-sha"},{"include":"#mnemonics-avx512"},{"include":"#mnemonics-system"},{"include":"#mnemonics-64bit"},{"include":"#mnemonics-vmx"},{"include":"#mnemonics-smx"},{"include":"#mnemonics-mpx"},{"include":"#mnemonics-sgx"},{"include":"#mnemonics-cet"},{"include":"#mnemonics-amx"},{"include":"#mnemonics-uirq"},{"include":"#mnemonics-esi"},{"include":"#mnemonics-speculation"},{"include":"#mnemonics-intel-manual-listing"},{"include":"#mnemonics-intel-isa-xeon-phi"},{"include":"#mnemonics-intel-isa-keylocker"},{"include":"#mnemonics-supplemental-amd"},{"include":"#mnemonics-supplemental-cyrix"},{"include":"#mnemonics-supplemental-via"},{"include":"#mnemonics-undocumented"},{"include":"#mnemonics-future-intel"},{"include":"#mnemonics-pseudo-ops"}]},"mnemonics-64bit":{"patterns":[{"match":"(?i)\\\\b(cdqe|cqo|(cmp|lod|mov|sto)sq|cmpxchg16b|mov(ntq|sxd)|scasq|swapgs|sys(call|ret))\\\\b","name":"keyword.operator.word.mnemonic.64-bit-mode"}]},"mnemonics-aesni":{"patterns":[{"match":"(?i)\\\\b(aes((dec|enc)(last)?|imc|keygenassist)|pclmulqdq)\\\\b","name":"keyword.operator.word.mnemonic.aesni"}]},"mnemonics-amx":{"patterns":[{"match":"(?i)\\\\b((ld|st)tilecfg|tdpb(f16ps|[su]{2}d)|tile(loadd(t1)?|release|stored|zero))\\\\b","name":"keyword.operator.word.mnemonic.amx"}]},"mnemonics-avx":{"patterns":[{"match":"(?i)\\\\b(v((test|permil|maskmov)p[ds]|zero(all|upper)|(perm2|insert|extract|broadcast)f128|broadcasts[ds]))\\\\b","name":"keyword.operator.word.mnemonic.avx"},{"match":"(?i)\\\\b(v(?:aes((dec|enc)(last)?|imc|keygenassist)|pclmulqdq))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.aes"},{"match":"(?i)\\\\b(v((cmp[ps]|u?comis)[ds]|pcmp([ei]str[im]|(eq|gt)[bdqw])))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.comparison"},{"match":"(?i)\\\\b(v(cvt(dq2pd|dq2ps|pd2ps|ps2pd|sd2ss|si2sd|si2ss|ss2sd|t?(pd2dq|ps2dq|sd2si|ss2si))))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.conversion"},{"match":"(?i)\\\\b(v(?:h((add|sub)p[ds])|ph((add|sub)([dw]|sw)|minposuw)))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.horizontal-packed-arithmetic"},{"match":"(?i)\\\\b(v((andn?|x?or)p[ds]))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.logical"},{"match":"(?i)\\\\b(v(mov(([ahl]|msk|nt|u)p[ds]|(hl|lh)ps|s([ds]|[hl]dup)|q)))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.mov"},{"match":"(?i)\\\\b(v((add|div|mul|sub|max|min|round|sqrt)[ps][ds]|(addsub|dp)p[ds]|(r(?:cp|sqrt))[ps]s))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.packed-arithmetic"},{"match":"(?i)\\\\b(v(pack[su]s(dw|wb)|punpck[hl](bw|dq|wd|qdq)|unpck[hl]p[ds]))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.packed-conversion"},{"match":"(?i)\\\\b(v(?:p(shuf([bd]|[hl]w))|shufp[ds]))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.packed-shuffle"},{"match":"(?i)\\\\b(vp((abs|sign|(m(?:ax|in))[su])[bdw]|(add|sub)([bdqw]|u?s[bw])|avg[bw]|extr[bdqw]|madd(wd|ubsw)|mul(hu?w|hrsw|l[dw]|u?dq)|sadbw))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.supplemental.arithmetic"},{"match":"(?i)\\\\b(vp(andn?|x?or))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.supplemental.logical"},{"match":"(?i)\\\\b(vpblend(vb|w))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.supplemental.blending"},{"match":"(?i)\\\\b(vpmov(mskb|[sz]x(b[dqw]|w[dq]|dq)))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.supplemental.mov"},{"match":"(?i)\\\\b(vp(insr[bdqw]|sll(dq|[dqw])|srl(dq)))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.simd-integer"},{"match":"(?i)\\\\b(vp(sr(?:a[dqw]|l[dqw])))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.shift-and-rotate"},{"match":"(?i)\\\\b(vblendv?p[ds])\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.packed-blending"},{"match":"(?i)\\\\b(vp(test|alignr))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.packed-other"},{"match":"(?i)\\\\b(vmov(d(dup|qa|qu)?))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.simd-integer.mov"},{"match":"(?i)\\\\b(v((extract|insert)ps|lddqu|(ld|st)mxcsr|mpsadbw))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.other"},{"match":"(?i)\\\\b(v(m(?:askmovdqu|ovntdqa?)))\\\\b","name":"keyword.operator.word.mnemonic.avx.promoted.cacheability-control"},{"match":"(?i)\\\\b(vcvt(p(?:h2ps|s2ph)))\\\\b","name":"keyword.operator.word.mnemonic.16-bit-floating-point-conversion"},{"match":"(?i)\\\\b(vf(?:n?m((add|sub)(132|213|231)[ps][ds])|m((addsub|subadd)(132|213|231)p[ds])))\\\\b","name":"keyword.operator.word.mnemonic.fma"}]},"mnemonics-avx2":{"patterns":[{"match":"(?i)\\\\b(v((broadcast|extract|insert|perm2)i128|pmaskmov[dq]|perm([dqs]|p[ds])))\\\\b","name":"keyword.operator.word.mnemonic.avx2.promoted.simd"},{"match":"(?i)\\\\b(vpbroadcast[bdqw])\\\\b","name":"keyword.operator.word.mnemonic.avx2.promoted.packed"},{"match":"(?i)\\\\b(vp(blendd|s[lr]lv[dq]|sravd))\\\\b","name":"keyword.operator.word.mnemonic.avx2.blend"},{"match":"(?i)\\\\b(v(?:p?gather[dq][dq]|gather([dq]|dq)p[ds]))\\\\b","name":"keyword.operator.word.mnemonic.avx2.gather"}]},"mnemonics-avx512":{"patterns":[{"include":"#mnemonics-avx512f"},{"include":"#mnemonics-avx512dq"},{"include":"#mnemonics-avx512bw"},{"include":"#mnemonics-avx512-opmask"},{"include":"#mnemonics-avx512er"},{"include":"#mnemonics-avx512pf"},{"include":"#mnemonics-avx512fp16"}]},"mnemonics-avx512-opmask":{"patterns":[{"match":"(?i)\\\\bk(add|andn?|mov|not|or(test)?|shift[lr]|test|xn?or)[bdqw]\\\\b","name":"keyword.operator.word.mnemonic.avx512.opmask"},{"match":"(?i)\\\\bkunpck(bw|wd|dq)\\\\b","name":"keyword.operator.word.mnemonic.avx512.opmask.unpack"}]},"mnemonics-avx512bw":{"patterns":[{"match":"(?i)\\\\bv(dbpsadbw|movdqu(8|16))\\\\b","name":"keyword.operator.word.mnemonic.avx512.bw.dbpsad"},{"match":"(?i)\\\\bvp(blendm|cmpu?|movm2)[bw]\\\\b","name":"keyword.operator.word.mnemonic.avx512.bw.pblend"},{"match":"(?i)\\\\bvperm(w|i2[bw])\\\\b","name":"keyword.operator.word.mnemonic.avx512.bw.perpmi2"},{"match":"(?i)\\\\bvp(mov([bw]2m|u?swb))\\\\b","name":"keyword.operator.word.mnemonic.avx512.bw.pmov"},{"match":"(?i)\\\\bvp(s(ll|ra|rl)vw|testn?m[bw])\\\\b","name":"keyword.operator.word.mnemonic.avx512.bw.psll"},{"match":"(?i)\\\\bvp(broadcastm(b2q|w2d)|(conflict|lzcnt)[dq])\\\\b","name":"keyword.operator.word.mnemonic.avx512.bw.broadcast"}]},"mnemonics-avx512dq":{"patterns":[{"match":"(?i)\\\\bvcvt(t?p[ds]2u?qq|uqq2p[ds])\\\\b","name":"keyword.operator.word.mnemonic.avx512.dq.cvt"},{"match":"(?i)\\\\bv((extract|insert)[fi]64x2|(fpclass|range|reduce)[ps][ds])\\\\b","name":"keyword.operator.word.mnemonic.avx512.dq.extract"},{"match":"(?i)\\\\bvp(m(?:ov(m2[dq]|b2d|q2m)|ullq))\\\\b","name":"keyword.operator.word.mnemonic.avx512.dq.pmov"}]},"mnemonics-avx512er":{"patterns":[{"match":"(?i)\\\\bv(exp2|rcp28|rsqrt28)[ps][ds]\\\\b","name":"keyword.operator.word.mnemonic.avx512.er"}]},"mnemonics-avx512f":{"patterns":[{"match":"(?i)\\\\bv(align[dq]|(blendm|compress)p[ds])\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.align"},{"match":"(?i)\\\\bv(cvtt?[ps][ds]2u(dq|si))\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.cvtt"},{"match":"(?i)\\\\bv(cvt((q|ud)q2p|usi2s)[ds])\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.cvt"},{"match":"(?i)\\\\bv(expandp[ds]|extract[fi](32|64)x4|fixupimm[ps][ds])\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.expand"},{"match":"(?i)\\\\bv(get(exp|mant)[ps][ds]|insertf(32|64)x4|movdq[au](32|64))\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.getexp"},{"match":"(?i)\\\\bvp(blendm[dq]|cmpu?[dq]|compress[dq])\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.pblend"},{"match":"(?i)\\\\bvp(erm[it]2([dq]|p[ds])|expand[dq]|(m(?:ax|in))[su]q|movu?s(q[bdw]|d[bw]))\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.permi"},{"match":"(?i)\\\\bvp(rolv?|rorr?|scatter[dq]|testn?m|terlog)[dq]\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.prol"},{"match":"(?i)\\\\bvpsravq\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.sravq"},{"match":"(?i)\\\\bv(rcp14|(rnd)?scale|rsqrt14)[ps][ds]\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.rcp"},{"match":"(?i)\\\\bv(s(?:catter[dq]{2}|huf[fi](32|64)x[24]))\\\\b","name":"keyword.operator.word.mnemonic.avx512.f.scatter"}]},"mnemonics-avx512fp16":{"patterns":[{"match":"(?i)\\\\bv((add|cmp|div|fc?(m(?:add|ul))c|fpclass|get(exp|mant)|mul|rcp|reduce|(rnd)?scale|r?sqrt|sub)[ps]h|u?comish)\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.add"},{"match":"(?i)\\\\bvcvt(u?([dq]q|w)|pd)2ph\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.cvtx2ph"},{"match":"(?i)\\\\bvcvtph2(u?([dq]q|w)|pd)\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.cvtph2x"},{"match":"(?i)\\\\bvcvt(p(?:h2psx|s2phx))\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.cvtx"},{"match":"(?i)\\\\bvcvt(s[dis]|usi)2sh\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.cvtx2sh"},{"match":"(?i)\\\\bvcvtsh2(s[dis]|usi)\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.cvtsh2x"},{"match":"(?i)\\\\bvcvtt(ph2(u?(dq|qq|w))|sh2u?si)\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.cvttph2x"},{"match":"(?i)\\\\bvfn?m((add|sub)(132|213|231))[ps]h\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.fmadd"},{"match":"(?i)\\\\bvfm(addsub|subadd)(132|213|231)ph\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.fmaddsub"},{"match":"(?i)\\\\bv((m(?:in|ax))ph|mov(sh|w))\\\\b","name":"keyword.operator.word.mnemonic.avx512.fp16.max"}]},"mnemonics-avx512pf":{"patterns":[{"match":"(?i)\\\\bv(gather|scatter)pf[01][dq]p[ds]\\\\b","name":"keyword.operator.word.mnemonic.avx512.pf"}]},"mnemonics-cet":{"patterns":[{"match":"(?i)\\\\b((inc|save(prev)?|rstor|rd)ssp|wru?ss|(set|clr)ssbsy|endbr(32|64))\\\\b","name":"keyword.operator.word.mnemonic.cet"},{"match":"(?i)\\\\bendbranch\\\\b","name":"keyword.operator.word.mnemonic.cet.misc"}]},"mnemonics-esi":{"patterns":[{"match":"(?i)\\\\benqcmds?\\\\b","name":"keyword.operator.word.mnemonic.esi"}]},"mnemonics-fpu":{"patterns":[{"match":"(?i)\\\\b(fcmov(n?([beu]|be)))\\\\b","name":"keyword.operator.word.mnemonic.fpu.data-transfer.mov"},{"match":"(?i)\\\\b(f(i?(ld|stp?)|b(ld|stp)|xch))\\\\b","name":"keyword.operator.word.mnemonic.fpu.data-transfer.other"},{"match":"(?i)\\\\b(f((add|div|mul|sub)p?|i(add|div|mul|sub)|(div|sub)rp?|i(div|sub)r))\\\\b","name":"keyword.operator.word.mnemonic.fpu.basic-arithmetic.basic"},{"match":"(?i)\\\\b(f(prem1?|abs|chs|rndint|scale|sqrt|xtract))\\\\b","name":"keyword.operator.word.mnemonic.fpu.basic-arithmetic.other"},{"match":"(?i)\\\\b(f(u?com[ip]?p?|icomp?|tst|xam))\\\\b","name":"keyword.operator.word.mnemonic.fpu.comparison"},{"match":"(?i)\\\\b(f(sin|cos|sincos|pa?tan|2xm1|yl2x(p1)?))\\\\b","name":"keyword.operator.word.mnemonic.fpu.transcendental"},{"match":"(?i)\\\\b(fld([1z]|pi|l2[et]|l[gn]2))\\\\b","name":"keyword.operator.word.mnemonic.fpu.load-constants"},{"match":"(?i)\\\\b(f((inc|dec)stp|free|n?(init|clex|st[cs]w|stenv|save)|ld(cw|env)|rstor|nop)|f?wait)\\\\b","name":"keyword.operator.word.mnemonic.fpu.control-management"},{"match":"(?i)\\\\b(fx(save|rstor)(64)?)\\\\b","name":"keyword.operator.word.mnemonic.fpu.state-management"}]},"mnemonics-future-intel":{"patterns":[{"include":"#mnemonics-future-intel-apx"}]},"mnemonics-future-intel-apx":{"patterns":[{"match":"(?i)\\\\b(c(cmp|test)(n?[bl]e?|[ft]|n?[osz]))\\\\b","name":"keyword.operator.word.mnemonic.apx.ccmp_test"},{"match":"(?i)\\\\b(cfcmovn?([bl]e?|[opsz]))\\\\b","name":"keyword.operator.word.mnemonic.apx.cfcmov"},{"match":"(?i)\\\\b(cmpn?([bl]e?|[opsz])xadd)\\\\b","name":"keyword.operator.word.mnemonic.apx.cmpxadd"},{"match":"(?i)\\\\b(jmpabs|(p(?:ush|op))2p?)\\\\b","name":"keyword.operator.word.mnemonic.apx.other"}]},"mnemonics-general-purpose":{"patterns":[{"match":"(?i)\\\\b(?:mov(?:[sz]x)?|cmov(?:n?[abceglopsz]|n?[abgl]e|p[eo]))\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.data-transfer.mov"},{"match":"(?i)\\\\b(xchg|bswap|xadd|cmpxchg(8b)?)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.data-transfer.xchg"},{"match":"(?i)\\\\b((p(?:ush|op))(ad?)?|cwde?|cdq|cbw)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.data-transfer.other"},{"match":"(?i)\\\\b(adcx?|adox|add|sub|sbb|i?mul|i?div|inc|dec|neg|cmp)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.binary-arithmetic"},{"match":"(?i)\\\\b(daa|das|aaa|aas|aam|aad)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.decimal-arithmetic"},{"match":"(?i)\\\\b(and|x?or|not)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.logical"},{"match":"(?i)\\\\b(s[ah][lr]|sh[lr]d|r[co][lr])\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.rotate"},{"match":"(?i)\\\\b(set(n?[abceglopsz]|n?[abgl]e|p[eo]))\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.bit-and-byte.set"},{"match":"(?i)\\\\b(bt[crs]?|bs[fr]|test|crc32|popcnt)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.bit-and-byte.other"},{"match":"(?i)\\\\b(j(?:mp|n?[abceglopsz]|n?[abgl]e|p[eo]|[er]?cxz))\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.control-transfer.jmp"},{"match":"(?i)\\\\b(loop(n?[ez])?|call|ret|iret[dq]?|into?|bound|enter|leave)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.control-transfer.other"},{"match":"(?i)\\\\b((mov|cmp|sca|lod|sto)(s[bdw]?)|rep(n?[ez])?)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.strings"},{"match":"(?i)\\\\b((in|out)(s[bdw]?)?)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.io"},{"match":"(?i)\\\\b((st|cl)[cdi]|cmc|[ls]ahf|(p(?:ush|op))f[dq]?)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.flag-control"},{"match":"(?i)\\\\b(l[d-gs]s)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.segment-registers"},{"match":"(?i)\\\\b(lea|nop|ud2?|xlatb?|cpuid|movbe)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.misc"},{"match":"(?i)\\\\b(cl(flush(opt)?|demote|wb)|pcommit)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.cache-control"},{"match":"(?i)\\\\b(rd(?:rand|seed))\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.rng"},{"match":"(?i)\\\\b(andn|bextr|bls([ir]|msk)|bzhi|pdep|pext|[lt]zcnt|(mul|ror|sar|shl|shr)x)\\\\b","name":"keyword.operator.word.mnemonic.general-purpose.bmi"}]},"mnemonics-intel-isa-keylocker":{"patterns":[{"match":"(?i)\\\\b(aes(enc|dec)(wide)?(128|256)kl|encodekey(128|256)|loadiwkey)\\\\b","name":"keyword.operator.word.mnemonic.keylocker"}]},"mnemonics-intel-isa-xeon-phi":{"patterns":[{"match":"(?i)\\\\bv(4fn?(madd)[ps]s|p4dpwssds?)\\\\b","name":"keyword.operator.word.mnemonic.xeon-phi"}]},"mnemonics-intel-manual-listing":{"patterns":[{"match":"(?i)\\\\bcvtt?pd1pi\\\\b","name":"keyword.operator.word.mnemonic.other.c"},{"match":"(?i)\\\\bv?gf2p8(affine(inv)?q|mul)b\\\\b","name":"keyword.operator.word.mnemonic.other.g"},{"match":"(?i)\\\\bhreset\\\\b","name":"keyword.operator.word.mnemonic.other.h"},{"match":"(?i)\\\\bincssp[dq]\\\\b","name":"keyword.operator.word.mnemonic.other.i"},{"match":"(?i)\\\\bmovdir(i|64b)\\\\b","name":"keyword.operator.word.mnemonic.other.m"},{"match":"(?i)\\\\bp((abs|(m(?:ax|in))[su]?|mull|sra)q|config|twrite)\\\\b","name":"keyword.operator.word.mnemonic.other.p"},{"match":"(?i)\\\\brd(pid|ssp[dq])\\\\b","name":"keyword.operator.word.mnemonic.other.r"},{"match":"(?i)\\\\bserialize\\\\b","name":"keyword.operator.word.mnemonic.other.s"},{"match":"(?i)\\\\btpause\\\\b","name":"keyword.operator.word.mnemonic.other.t"},{"match":"(?i)\\\\bu(m(?:onitor|wait))\\\\b","name":"keyword.operator.word.mnemonic.other.u"},{"match":"(?i)\\\\bvbroadcast[fi](32x[248]|64x[24])\\\\b","name":"keyword.operator.word.mnemonic.other.vb"},{"match":"(?i)\\\\bv(c(?:ompressw|vtne2?ps2bf16))\\\\b","name":"keyword.operator.word.mnemonic.other.vc"},{"match":"(?i)\\\\bvdpbf16ps\\\\b","name":"keyword.operator.word.mnemonic.other.vd"},{"match":"(?i)\\\\bvextract[fi]32x8\\\\b","name":"keyword.operator.word.mnemonic.other.ve"},{"match":"(?i)\\\\bv(insert([fi]32x8|i(32|64)x4))\\\\b","name":"keyword.operator.word.mnemonic.other.vi"},{"match":"(?i)\\\\bv(maskmov|(m(?:ax|in))sh)\\\\b","name":"keyword.operator.word.mnemonic.other.vm"},{"match":"(?i)\\\\bvp((2intersect|andn?)[dq]|absq)\\\\b","name":"keyword.operator.word.mnemonic.other.vpa"},{"match":"(?i)\\\\bvpbroadcasti32x4\\\\b","name":"keyword.operator.word.mnemonic.other.vpb"},{"match":"(?i)\\\\bvpcompress[bw]\\\\b","name":"keyword.operator.word.mnemonic.other.vpc"},{"match":"(?i)\\\\bvp(dp(bu|ws)sds?)\\\\b","name":"keyword.operator.word.mnemonic.other.vpd"},{"match":"(?i)\\\\b(vp(?:erm(b|t2[bw])|(ex(?:pand[bw]|trtd))))\\\\b","name":"keyword.operator.word.mnemonic.other.vpe"},{"match":"(?i)\\\\bvp(m(?:add52[hl]uq|ov(d(2m|[bw])|q[bdw]|wb)|pov[bdqw]2m|ultishiftqb))\\\\b","name":"keyword.operator.word.mnemonic.other.vpm"},{"match":"(?i)\\\\b(vpo(?:pcnt[bdqw]|r[dq]))\\\\b","name":"keyword.operator.word.mnemonic.other.vpo"},{"match":"(?i)\\\\bvprorv[dq]\\\\b","name":"keyword.operator.word.mnemonic.other.vpr"},{"match":"(?i)\\\\bvp(sh(?:[lr]dv?[dqw]|ufbitqmb|ufps))\\\\b","name":"keyword.operator.word.mnemonic.other.vps"},{"match":"(?i)\\\\bvpternlog[dq]\\\\b","name":"keyword.operator.word.mnemonic.other.vpt"},{"match":"(?i)\\\\bvpxor[dq]\\\\b","name":"keyword.operator.word.mnemonic.other.vpx"},{"match":"(?i)\\\\bv(sca(?:lef[ps][dhs]|tter[dq]p[ds]))\\\\b","name":"keyword.operator.word.mnemonic.other.vs"},{"match":"(?i)\\\\b(w(?:bnoinvd|ru?ss[dq]))\\\\b","name":"keyword.operator.word.mnemonic.other.w"}]},"mnemonics-invalid":{"patterns":[{"include":"#mnemonics-invalid-amd-sse5"}]},"mnemonics-invalid-amd-sse5":{"patterns":[{"match":"(?i)\\\\b(com[ps][ds]|pcomu?[bdqw])\\\\b","name":"invalid.keyword.operator.word.mnemonic.sse5.comparison"},{"match":"(?i)\\\\b(cvtp(h2ps|s2ph)|frcz[ps][ds])\\\\b","name":"invalid.keyword.operator.word.mnemonic.sse5.conversion"},{"match":"(?i)\\\\b(fn?m((add|sub)[ps][ds])|ph(addu?(b[dqw]|w[dq]|dq)|sub(bw|dq|wd))|pma(css?(d(d|q[hl])|w[dw])|dcss?wd))\\\\b","name":"invalid.keyword.operator.word.mnemonic.sse5.packed-arithmetic"},{"match":"(?i)\\\\b(p(?:cmov|ermp[ds]|perm|rot[bdqw]|sh[al][bdqw]))\\\\b","name":"invalid.keyword.operator.word.mnemonic.sse5.simd-integer"}]},"mnemonics-mmx":{"patterns":[{"match":"(?i)\\\\b(mov[dq])\\\\b","name":"keyword.operator.word.mnemonic.mmx.data-transfer"},{"match":"(?i)\\\\b(p(?:ack(ssdw|[su]swb)|unpck[hl](bw|dq|wd)))\\\\b","name":"keyword.operator.word.mnemonic.mmx.conversion"},{"match":"(?i)\\\\b(p(((add|sub)(d|(u?s)?[bw]))|maddwd|mul[hl]w))\\\\b","name":"keyword.operator.word.mnemonic.mmx.packed-arithmetic"},{"match":"(?i)\\\\b(pcmp((eq|gt)[bdw]))\\\\b","name":"keyword.operator.word.mnemonic.mmx.comparison"},{"match":"(?i)\\\\b(p(?:andn?|x?or))\\\\b","name":"keyword.operator.word.mnemonic.mmx.logical"},{"match":"(?i)\\\\b(ps([lr]l[dqw]|raw|rad))\\\\b","name":"keyword.operator.word.mnemonic.mmx.shift-and-rotate"},{"match":"(?i)\\\\b(emms)\\\\b","name":"keyword.operator.word.mnemonic.mmx.state-management"}]},"mnemonics-mpx":{"patterns":[{"match":"(?i)\\\\b(bnd(mk|c[lnu]|mov|ldx|stx))\\\\b","name":"keyword.operator.word.mnemonic.mpx"}]},"mnemonics-pseudo-ops":{"patterns":[{"match":"(?i)\\\\b(cmp(n?(eq|lt|le)|(un)?ord)[ps][ds])\\\\b","name":"keyword.operator.word.pseudo-mnemonic.sse2.compare"},{"match":"(?i)\\\\b(v?pclmul([hl]q[hl]q|[hl]qh)dq)\\\\b","name":"keyword.operator.word.pseudo-mnemonic.avx.promoted.aes"},{"match":"(?i)\\\\b(vcmp(eq(_(os|uq|us))?|neq(_(oq|os|us))?|[gl][et](_oq)?|n[gl][et](_uq)?|(un)?ord(_s)?|false(_os)?|true(_us)?)[ps][ds])\\\\b","name":"keyword.operator.word.pseudo-mnemonic.avx.promoted.comparison"},{"match":"(?i)\\\\bvp(cmpn?(eq|le|lt))\\\\b","name":"keyword.operator.word.pseudo-mnemonic.avx512.compare"},{"match":"(?i)\\\\b(vpcom(n?eq|[gl][et]|false|true)(b|uw))\\\\b","name":"keyword.operator.word.pseudo-mnemonic.supplemental.amd.xop.simd"}]},"mnemonics-sgx":{"patterns":[{"match":"(?i)\\\\bencl[su]\\\\b","name":"keyword.operator.word.mnemonic.sgx"},{"match":"(?i)\\\\be(add|block|create|dbg(rd|wr)|extend|init|ld[bu]|pa|remove|track|wb)\\\\b","name":"support.constant.sgx1.supervisor"},{"match":"(?i)\\\\be(add|block|create|dbg(rd|wr)|extend|init|ld[bu]|pa|remove|track|wb)\\\\b","name":"support.constant.sgx1.supervisor"},{"match":"(?i)\\\\be(enter|exit|getkey|report|resume)\\\\b","name":"support.constant.sgx1.user"},{"match":"(?i)\\\\be(aug|mod(pr|t))\\\\b","name":"support.constant.sgx2.supervisor"},{"match":"(?i)\\\\be(accept(copy)?|modpe)\\\\b","name":"support.constant.sgx2.user"}]},"mnemonics-sha":{"patterns":[{"match":"(?i)\\\\b(sha(1rnds4|256rnds2|1nexte|(1|256)msg[12]))\\\\b","name":"keyword.operator.word.mnemonic.sha"}]},"mnemonics-smx":{"patterns":[{"match":"(?i)\\\\b(getsec)\\\\b","name":"keyword.operator.word.mnemonic.smx.getsec"},{"match":"(?i)\\\\b(capabilities|enteraccs|exitac|senter|sexit|parameters|smctrl|wakeup)\\\\b","name":"support.constant.smx"}]},"mnemonics-speculation":{"patterns":[{"match":"(?i)\\\\bib(pb|hf)\\\\b","name":"keyword.operator.word.mnemonic.speculation"}]},"mnemonics-sse":{"patterns":[{"match":"(?i)\\\\b(mov(([ahlu]|hl|lh|msk)ps|ss))\\\\b","name":"keyword.operator.word.mnemonic.sse.data-transfer"},{"match":"(?i)\\\\b((add|div|max|min|mul|rcp|r?sqrt|sub)[ps]s)\\\\b","name":"keyword.operator.word.mnemonic.sse.packed-arithmetic"},{"match":"(?i)\\\\b(cmp[ps]s|u?comiss)\\\\b","name":"keyword.operator.word.mnemonic.sse.comparison"},{"match":"(?i)\\\\b((andn?|x?or)ps)\\\\b","name":"keyword.operator.word.mnemonic.sse.logical"},{"match":"(?i)\\\\b((shuf|unpck[hl])ps)\\\\b","name":"keyword.operator.word.mnemonic.sse.shuffle-and-unpack"},{"match":"(?i)\\\\b(cvt(pi2ps|si2ss|ps2pi|tps2pi|ss2si|tss2si))\\\\b","name":"keyword.operator.word.mnemonic.sse.conversion"},{"match":"(?i)\\\\b((ld|st)mxcsr)\\\\b","name":"keyword.operator.word.mnemonic.sse.state-management"},{"match":"(?i)\\\\b(p(avg[bw]|extrw|insrw|(m(?:ax|in))(sw|ub)|sadbw|shufw|mulhuw|movmskb))\\\\b","name":"keyword.operator.word.mnemonic.sse.simd-integer"},{"match":"(?i)\\\\b(maskmovq|movntps|sfence)\\\\b","name":"keyword.operator.word.mnemonic.sse.cacheability-control"},{"match":"(?i)\\\\b(prefetch(nta|t[012]|w(t1)?))\\\\b","name":"keyword.operator.word.mnemonic.sse.prefetch"}]},"mnemonics-sse2":{"patterns":[{"match":"(?i)\\\\b(mov([ahlu]|msk)pd)\\\\b","name":"keyword.operator.word.mnemonic.sse2.data-transfer"},{"match":"(?i)\\\\b((add|div|max|min|mul|sub|sqrt)[ps]d)\\\\b","name":"keyword.operator.word.mnemonic.sse2.packed-arithmetic"},{"match":"(?i)\\\\b((andn?|x?or)pd)\\\\b","name":"keyword.operator.word.mnemonic.sse2.logical"},{"match":"(?i)\\\\b((cmpp|u?comis)d)\\\\b","name":"keyword.operator.word.mnemonic.sse2.compare"},{"match":"(?i)\\\\b((shuf|unpck[hl])pd)\\\\b","name":"keyword.operator.word.mnemonic.sse2.shuffle-and-unpack"},{"match":"(?i)\\\\b(cvt(dq2pd|pi2pd|ps2pd|pd2ps|si2sd|sd2ss|ss2sd|t?(pd2dq|pd2pi|sd2si)))\\\\b","name":"keyword.operator.word.mnemonic.sse2.conversion"},{"match":"(?i)\\\\b(cvt(dq2ps|ps2dq|tps2dq))\\\\b","name":"keyword.operator.word.mnemonic.sse2.packed-floating-point"},{"match":"(?i)\\\\b(mov(dq[au]|q2dq|dq2q))\\\\b","name":"keyword.operator.word.mnemonic.sse2.simd-integer.mov"},{"match":"(?i)\\\\b(p((add|sub|(s[lr]l|mulu|unpck[hl]q)d)q|shuf(d|[hl]w)))\\\\b","name":"keyword.operator.word.mnemonic.sse2.simd-integer.other"},{"match":"(?i)\\\\b([lm]fence|pause|maskmovdqu|movnt(dq|i|pd))\\\\b","name":"keyword.operator.word.mnemonic.sse2.cacheability-control"}]},"mnemonics-sse3":{"patterns":[{"match":"(?i)\\\\b(fisttp|lddqu|(addsub|h(add|sub))p[ds]|mov(sh|sl|d)dup|monitor|mwait)\\\\b","name":"keyword.operator.word.mnemonic.sse3"},{"match":"(?i)\\\\b(ph(add|sub)(s?w|d))\\\\b","name":"keyword.operator.word.mnemonic.sse3.supplimental.horizontal-packed-arithmetic"},{"match":"(?i)\\\\b(p((abs|sign)[bdw]|maddubsw|mulhrsw|shufb|alignr))\\\\b","name":"keyword.operator.word.mnemonic.sse3.supplimental.other"}]},"mnemonics-sse4":{"patterns":[{"match":"(?i)\\\\b(pmul(ld|dq)|dpp[ds])\\\\b","name":"keyword.operator.word.mnemonic.sse4.1.arithmetic"},{"match":"(?i)\\\\b(movntdqa)\\\\b","name":"keyword.operator.word.mnemonic.sse4.1.load-hint"},{"match":"(?i)\\\\b(blendv?p[ds]|pblend(vb|w))\\\\b","name":"keyword.operator.word.mnemonic.sse4.1.packed-blending"},{"match":"(?i)\\\\b(p(m(?:in|ax))(u[dw]|s[bd]))\\\\b","name":"keyword.operator.word.mnemonic.sse4.1.packed-integer"},{"match":"(?i)\\\\b(round[ps][ds])\\\\b","name":"keyword.operator.word.mnemonic.sse4.1.packed-floating-point"},{"match":"(?i)\\\\b((extract|insert)ps|p((ins|ext)(r[bdq])))\\\\b","name":"keyword.operator.word.mnemonic.sse4.1.insertion-and-extraction"},{"match":"(?i)\\\\b(pmov([sz]x(b[dqw]|dq|wd|wq)))\\\\b","name":"keyword.operator.word.mnemonic.sse4.1.conversion"},{"match":"(?i)\\\\b(mpsadbw|phminposuw|ptest|pcmpeqq|packusdw)\\\\b","name":"keyword.operator.word.mnemonic.sse4.1.other"},{"match":"(?i)\\\\b(pcmp([ei]str[im]|gtq))\\\\b","name":"keyword.operator.word.mnemonic.sse4.2"}]},"mnemonics-supplemental-amd":{"patterns":[{"match":"(?i)\\\\b(bl([cs](fill|ic?|msk)|cs)|t1mskc|tzmsk)\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.general-purpose"},{"match":"(?i)\\\\b(clgi|int3|invlpga|iretw|skinit|stgi|vm(load|mcall|run|save)|monitorx|mwaitx)\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.system"},{"match":"(?i)\\\\b([ls]lwpcb|lwp(ins|val))\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.profiling"},{"match":"(?i)\\\\b(movnts[ds])\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.memory-management"},{"match":"(?i)\\\\b(prefetch|clzero)\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.cache-management"},{"match":"(?i)\\\\b((extr|insert)q)\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.sse4.a"},{"match":"(?i)\\\\b(vf(?:n?m((add|sub)[ps][ds])|m((addsub|subadd)p[ds])))\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.fma4"},{"match":"(?i)\\\\b(vp(cmov|(comu?|rot|sh[al])[bdqw]|mac(s?s(d(d|q[hl])|w[dw]))|madcss?wd|perm))\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.xop.simd"},{"match":"(?i)\\\\b(vph(addu?(b[dqw]|w[dq]|dq)|sub(bw|dq|wd)))\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.xop.simd-horizontal"},{"match":"(?i)\\\\b(v(?:frcz[ps][ds]|permil2p[ds]))\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.xop.other"},{"match":"(?i)\\\\b(femms)\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.3dnow"},{"match":"(?i)\\\\b(p(?:(avgusb|(f2i|i2f)[dw]|mulhrw|swapd)|f((p?n)?acc|add|max|min|mul|rcp(it[12])?|rsqit1|rsqrt|subr?)))\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.3dnow.simd"},{"match":"(?i)\\\\b(pfcmp(eq|ge|gt))\\\\b","name":"keyword.operator.word.mnemonic.supplemental.amd.3dnow.comparison"}]},"mnemonics-supplemental-cyrix":{"patterns":[{"match":"(?i)\\\\b((sv|rs)dc|(wr|rd)shr|paddsiw)\\\\b","name":"keyword.operator.word.mnemonic.supplemental.cyrix"}]},"mnemonics-supplemental-via":{"patterns":[{"match":"(?i)\\\\b(montmul)\\\\b","name":"keyword.operator.word.mnemonic.supplemental.via"},{"match":"(?i)\\\\b(x(store(rng)?|crypt(ecb|cbc|ctr|cfb|ofb)|sha(1|256)))\\\\b","name":"keyword.operator.word.mnemonic.supplemental.via.padlock"}]},"mnemonics-system":{"patterns":[{"match":"(?i)\\\\b((cl|st)ac|[ls]([gil]dt|tr|msw)|clts|arpl|lar|lsl|ver[rw]|inv(d|lpg|pcid)|wbinvd)\\\\b","name":"keyword.operator.word.mnemonic.system"},{"match":"(?i)\\\\b(lock|hlt|rsm|(rd|wr)(msr|pkru|[fg]sbase)|rd(pmc|tscp?)|sys(e(?:nter|xit)))\\\\b","name":"keyword.operator.word.mnemonic.system"},{"match":"(?i)\\\\b(x((save(c|opt|s)?|rstors?)(64)?|[gs]etbv))\\\\b","name":"keyword.operator.word.mnemonic.system"}]},"mnemonics-tsx":{"patterns":[{"match":"(?i)\\\\b(x(abort|begin|end|test|(res|sus)ldtrk))\\\\b","name":"keyword.operator.word.mnemonic.tsx"}]},"mnemonics-uirq":{"patterns":[{"match":"(?i)\\\\b((cl|st|test)ui|senduipi|uiret)\\\\b","name":"keyword.operator.word.mnemonic.uirq"}]},"mnemonics-undocumented":{"patterns":[{"match":"(?i)\\\\b(ret[fn]|icebp|int1|int03|smi|ud1)\\\\b","name":"keyword.operator.word.mnemonic.undocumented"}]},"mnemonics-vmx":{"patterns":[{"match":"(?i)\\\\b(vm(ptr(ld|st)|clear|read|write|launch|resume|xo(ff|n)|call|func)|inv(ept|vpid))\\\\b","name":"keyword.operator.word.mnemonic.vmx"}]},"preprocessor":{"patterns":[{"begin":"^\\\\s*[#%]\\\\s*(error|warning)\\\\b","captures":{"1":{"name":"keyword.control.import.error.c"}},"end":"$","name":"meta.preprocessor.diagnostic.c","patterns":[{"match":"(?>\\\\\\\\\\\\s*\\\\n)","name":"punctuation.separator.continuation.c"}]},{"begin":"^\\\\s*[#%]\\\\s*(i(?:nclude|mport))\\\\b\\\\s+","captures":{"1":{"name":"keyword.control.import.include.c"}},"end":"(?=/[*/])|$","name":"meta.preprocessor.c.include","patterns":[{"match":"(?>\\\\\\\\\\\\s*\\\\n)","name":"punctuation.separator.continuation.c"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.double.include.c"},{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.other.lt-gt.include.c"}]},{"begin":"^\\\\s*[#%]\\\\s*(i?x?define|defined|elif(def)?|else|i[fs]n?(?:def|macro|ctx|idni?|id|num|str|token|empty|env)?|line|(i|end|uni?)?macro|pragma|endif)\\\\b","captures":{"1":{"name":"keyword.control.import.c"}},"end":"(?=/[*/])|$","name":"meta.preprocessor.c","patterns":[{"match":"(?>\\\\\\\\\\\\s*\\\\n)","name":"punctuation.separator.continuation.c"},{"include":"#preprocessor-functions"}]},{"begin":"^\\\\s*[#%]\\\\s*(assign|strlen|substr|(e(?:nd|xit))?rep|push|pop|rotate|use|ifusing|ifusable|def(?:ailas|str|tok)|undef(?:alias)?)\\\\b","captures":{"1":{"name":"keyword.control"}},"end":"$","name":"meta.preprocessor.nasm","patterns":[{"match":"(?>\\\\\\\\\\\\s*\\\\n)","name":"punctuation.separator.continuation.c"},{"include":"#preprocessor-functions"}]}]},"preprocessor-functions":{"patterns":[{"begin":"((%)(abs|cond|count|eval|isn?(?:def|macro|ctx|idni?|id|num|str|token|empty|env)?|num|sel|str(?:cat|len)?|substr|tok)\\\\s*(\\\\())","captures":{"3":{"name":"support.function.preprocessor.asm.x86_64"}},"end":"(\\\\))|$","name":"meta.preprocessor.function.asm.x86_64","patterns":[{"include":"#preprocessor-functions"}]}]},"registers":{"patterns":[{"match":"(?i)\\\\b(?:[a-d][hl]|[er]?[a-d]x|[er]?(?:di|si|bp|sp)|dil|sil|bpl|spl|r(?:[89]|1[0-5])[bdlw]?)\\\\b","name":"constant.language.register.general-purpose.asm.x86_64"},{"match":"(?i)\\\\b[c-gs]s\\\\b","name":"constant.language.register.segment.asm.x86_64"},{"match":"(?i)\\\\b[er]?flags\\\\b","name":"constant.language.register.flags.asm.x86_64"},{"match":"(?i)\\\\b[er]?ip\\\\b","name":"constant.language.register.instruction-pointer.asm.x86_64"},{"match":"(?i)\\\\bcr[0234]\\\\b","name":"constant.language.register.control.asm.x86_64"},{"match":"(?i)\\\\b(?:mm|st|fpr)[0-7]\\\\b","name":"constant.language.register.mmx.asm.x86_64"},{"match":"(?i)\\\\b(?:[xy]mm(?:[0-9]|1[0-5])|mxcsr)\\\\b","name":"constant.language.register.sse_avx.asm.x86_64"},{"match":"(?i)\\\\bzmm(?:[12]?[0-9]|30|31)\\\\b","name":"constant.language.register.avx512.asm.x86_64"},{"match":"(?i)\\\\bbnd(?:[0-3]|cfg[su]|status)\\\\b","name":"constant.language.register.memory-protection.asm.x86_64"},{"match":"(?i)\\\\b(?:[gil]dtr?|tr)\\\\b","name":"constant.language.register.system-table-pointer.asm.x86_64"},{"match":"(?i)\\\\bdr[0-367]\\\\b","name":"constant.language.register.debug.asm.x86_64"},{"match":"(?i)\\\\b(?:cr8|dr(?:[89]|1[0-5])|efer|tpr|syscfg)\\\\b","name":"constant.language.register.amd.asm.x86_64"},{"match":"(?i)\\\\b(?:db[0-367]|t[67]|tr[3-7]|st)\\\\b","name":"invalid.deprecated.constant.language.register.asm.x86_64"},{"match":"(?i)\\\\b[xy]mm(?:1[6-9]|2[0-9]|3[01])\\\\b","name":"constant.language.register.general-purpose.alias.asm.x86_64"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.asm"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.asm"}},"name":"string.quoted.double.asm","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"}]},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.asm"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.asm"}},"name":"string.quoted.single.asm","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"}]},{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.asm"}},"end":"`","endCaptures":{"0":{"name":"punctuation.definition.string.end.asm"}},"name":"string.quoted.backquote.asm","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"}]}]},"support":{"patterns":[{"match":"(?i)\\\\b(?:s?byte|(?:[doqtyz]|dq|s[dq]?)?word|(?:d|res)[bdoqtwyz]|ddq)\\\\b","name":"storage.type.asm.x86_64"},{"match":"(?i)\\\\b(?:incbin|equ|times|dup)\\\\b","name":"support.function.asm.x86_64"},{"match":"(?i)\\\\b(?:strict|nosplit|near|far|abs|rel)\\\\b","name":"storage.modifier.asm.x86_64"},{"match":"(?i)\\\\b[ao](?:16|32|64)\\\\b","name":"storage.modifier.prefix.asm.x86_64"},{"match":"(?i)\\\\b(?:rep(?:n?[ez])?|lock|xacquire|xrelease|(?:no)?bnd)\\\\b","name":"storage.modifier.prefix.asm.x86_64"},{"captures":{"1":{"name":"storage.modifier.prefix.vex.asm.x86_64"}},"match":"\\\\{(vex[23]?|evex|rex)}"},{"captures":{"1":{"name":"storage.modifier.opmask.asm.x86_64"}},"match":"\\\\{(k[1-7])}"},{"captures":{"1":{"name":"storage.modifier.precision.asm.x86_64"}},"match":"\\\\{(1to(?:8|16))}"},{"captures":{"1":{"name":"storage.modifier.rounding.asm.x86_64"}},"match":"\\\\{(z|(?:r[dnuz]-)?sae)}"},{"match":"\\\\.\\\\.(?:start|imagebase|tlvp|got(?:pc(?:rel)?|(?:tp)?off)?|plt|sym|tlsie)\\\\b","name":"support.constant.asm.x86_64"},{"match":"\\\\b__\\\\?(?:utf(?:16|32)(?:[bl]e)?|float(?:8|16|32|64|80[em]|128[hl])|bfloat16|Infinity|[QS]?NaN)\\\\?__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__(?:utf(?:16|32)(?:[bl]e)?|float(?:8|16|32|64|80[em]|128[hl])|bfloat16|Infinity|[QS]?NaN)__\\\\b","name":"support.function.legacy.asm.x86_64"},{"match":"\\\\b__\\\\?NASM_(?:MAJOR|(?:SUB)?MINOR|SNAPSHOT|VER(?:SION_ID)?)\\\\?__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b___\\\\?NASM_PATCHLEVEL\\\\?__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__\\\\?(?:FILE|LINE|BITS|OUTPUT_FORMAT|DEBUG_FORMAT)\\\\?__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__\\\\?(?:(?:UTC_)?(?:DATE|TIME)(?:_NUM)?|POSIX_TIME)\\\\?__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__\\\\?USE_\\\\w+\\\\?__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__\\\\?PASS\\\\?__\\\\b","name":"invalid.deprecated.support.constant.altreg.asm.x86_64"},{"match":"\\\\b__\\\\?ALIGNMODE\\\\?__\\\\b","name":"support.constant.smartalign.asm.x86_64"},{"match":"\\\\b__\\\\?ALIGN_(\\\\w+)\\\\?__\\\\b","name":"support.function.smartalign.asm.x86_64"},{"match":"\\\\b__NASM_(?:MAJOR|(?:SUB)?MINOR|SNAPSHOT|VER(?:SION_ID)?)__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b___NASM_PATCHLEVEL__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__(?:FILE|LINE|BITS|OUTPUT_FORMAT|DEBUG_FORMAT)__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__(?:(?:UTC_)?(?:DATE|TIME)(?:_NUM)?|POSIX_TIME)__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__USE_\\\\w+__\\\\b","name":"support.function.asm.x86_64"},{"match":"\\\\b__PASS__\\\\b","name":"invalid.deprecated.support.constant.altreg.asm.x86_64"},{"match":"\\\\b__ALIGNMODE__\\\\b","name":"support.constant.smartalign.asm.x86_64"},{"match":"\\\\b__ALIGN_(\\\\w+)__\\\\b","name":"support.function.smartalign.asm.x86_64"},{"match":"\\\\b(?:Inf|[QS]?NaN)\\\\b","name":"support.constant.fp.asm.x86_64"},{"match":"\\\\bfloat(?:8|16|32|64|80[em]|128[hl])\\\\b","name":"support.function.fp.asm.x86_64"},{"match":"(?i)\\\\bilog2(?:[cefw]|[cf]w)?\\\\b","name":"support.function.ifunc.asm.x86_64"}]}},"scopeName":"source.asm.x86_64"}')),n=[e];export{n as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse(`{"displayName":"dotEnv","name":"dotenv","patterns":[{"captures":{"1":{"patterns":[{"include":"#line-comment"}]}},"match":"^\\\\s?(#.*)$\\\\n"},{"captures":{"1":{"patterns":[{"include":"#key"}]},"2":{"name":"keyword.operator.assignment.dotenv"},"3":{"name":"property.value.dotenv","patterns":[{"include":"#line-comment"},{"include":"#double-quoted-string"},{"include":"#single-quoted-string"},{"include":"#interpolation"}]}},"match":"^\\\\s?(.*?)\\\\s?(=)(.*)$"}],"repository":{"double-quoted-string":{"captures":{"1":{"patterns":[{"include":"#interpolation"},{"include":"#escape-characters"}]}},"match":"\\"(.*)\\"","name":"string.quoted.double.dotenv"},"escape-characters":{"match":"\\\\\\\\(?:[\\"'\\\\\\\\bfnrt]|u[0-9A-F]{4})","name":"constant.character.escape.dotenv"},"interpolation":{"captures":{"1":{"name":"keyword.interpolation.begin.dotenv"},"2":{"name":"variable.interpolation.dotenv"},"3":{"name":"keyword.interpolation.end.dotenv"}},"match":"(\\\\$\\\\{)(.*)(})"},"key":{"captures":{"1":{"name":"keyword.key.export.dotenv"},"2":{"name":"variable.key.dotenv","patterns":[{"include":"#variable"}]}},"match":"(export\\\\s)?(.*)"},"line-comment":{"match":"#.*$","name":"comment.line.dotenv"},"single-quoted-string":{"match":"'(.*)'","name":"string.quoted.single.dotenv"},"variable":{"match":"[A-Z_a-z]+[0-9A-Z_a-z]*"}},"scopeName":"source.dotenv"}`)),t=[e];export{t as default};
@@ -0,0 +1 @@
1
+ import t from"./Yzrsuije.js";import e from"./Cp-IABpG.js";import n from"./BGJmEYvX.js";import a from"./C9oPPf7i.js";const s=Object.freeze(JSON.parse('{"displayName":"HTTP","fileTypes":["http","rest"],"name":"http","patterns":[{"begin":"^\\\\s*(?=curl)","end":"^\\\\s*(#{3,}.*?)?\\\\s*$","endCaptures":{"0":{"name":"comment.line.sharp.http"}},"name":"http.request.curl","patterns":[{"include":"source.shell"}]},{"begin":"\\\\s*(?=(\\\\[|\\\\{[^{]))","end":"^\\\\s*(#{3,}.*?)?\\\\s*$","endCaptures":{"0":{"name":"comment.line.sharp.http"}},"name":"http.request.body.json","patterns":[{"include":"source.json"}]},{"begin":"^\\\\s*(?=<\\\\S)","end":"^\\\\s*(#{3,}.*?)?\\\\s*$","endCaptures":{"0":{"name":"comment.line.sharp.http"}},"name":"http.request.body.xml","patterns":[{"include":"text.xml"}]},{"begin":"\\\\s*(?=(query|mutation))","end":"^\\\\s*(#{3,}.*?)?\\\\s*$","endCaptures":{"0":{"name":"comment.line.sharp.http"}},"name":"http.request.body.graphql","patterns":[{"include":"source.graphql"}]},{"begin":"\\\\s*(?=(query|mutation))","end":"^\\\\{\\\\s*$","name":"http.request.body.graphql","patterns":[{"include":"source.graphql"}]},{"include":"#metadata"},{"include":"#comments"},{"captures":{"1":{"name":"keyword.other.http"},"2":{"name":"variable.other.http"},"3":{"name":"string.other.http"}},"match":"^\\\\s*(@)([^=\\\\s]+)\\\\s*=\\\\s*(.*?)\\\\s*$","name":"http.filevariable"},{"captures":{"1":{"name":"keyword.operator.http"},"2":{"name":"variable.other.http"},"3":{"name":"string.other.http"}},"match":"^\\\\s*([\\\\&?])([^=\\\\s]+)=(.*)$","name":"http.query"},{"captures":{"1":{"name":"entity.name.tag.http"},"2":{"name":"keyword.other.http"},"3":{"name":"string.other.http"}},"match":"^([-\\\\w]+)\\\\s*(:)\\\\s*([^/].*?)\\\\s*$","name":"http.headers"},{"include":"#request-line"},{"include":"#response-line"}],"repository":{"comments":{"patterns":[{"match":"^\\\\s*#+.*$","name":"comment.line.sharp.http"},{"match":"^\\\\s*/{2,}.*$","name":"comment.line.double-slash.http"}]},"metadata":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name"},"2":{"name":"punctuation.definition.block.tag.metadata"},"3":{"name":"entity.name.type.http"}},"match":"^\\\\s*#+\\\\s+((@)name)\\\\s+([^.\\\\s]+)$","name":"comment.line.sharp.http"},{"captures":{"1":{"name":"entity.other.attribute-name"},"2":{"name":"punctuation.definition.block.tag.metadata"},"3":{"name":"entity.name.type.http"}},"match":"^\\\\s*/{2,}\\\\s+((@)name)\\\\s+([^.\\\\s]+)$","name":"comment.line.double-slash.http"},{"captures":{"1":{"name":"entity.other.attribute-name"},"2":{"name":"punctuation.definition.block.tag.metadata"}},"match":"^\\\\s*#+\\\\s+((@)note)\\\\s*$","name":"comment.line.sharp.http"},{"captures":{"1":{"name":"entity.other.attribute-name"},"2":{"name":"punctuation.definition.block.tag.metadata"}},"match":"^\\\\s*/{2,}\\\\s+((@)note)\\\\s*$","name":"comment.line.double-slash.http"},{"captures":{"1":{"name":"entity.other.attribute-name"},"2":{"name":"punctuation.definition.block.tag.metadata"},"3":{"name":"variable.other.http"},"4":{"name":"string.other.http"}},"match":"^\\\\s*#+\\\\s+((@)prompt)\\\\s+(\\\\S+)(?:\\\\s+(.*))?\\\\s*$","name":"comment.line.sharp.http"},{"captures":{"1":{"name":"entity.other.attribute-name"},"2":{"name":"punctuation.definition.block.tag.metadata"},"3":{"name":"variable.other.http"},"4":{"name":"string.other.http"}},"match":"^\\\\s*/{2,}\\\\s+((@)prompt)\\\\s+(\\\\S+)(?:\\\\s+(.*))?\\\\s*$","name":"comment.line.double-slash.http"}]},"protocol":{"patterns":[{"captures":{"1":{"name":"keyword.other.http"},"2":{"name":"constant.numeric.http"}},"match":"(HTTP)/(\\\\d+.\\\\d+)","name":"http.version"}]},"request-line":{"captures":{"1":{"name":"keyword.control.http"},"2":{"name":"const.language.http"},"3":{"patterns":[{"include":"#protocol"}]}},"match":"(?i)^(get|post|put|delete|patch|head|options|connect|trace|lock|unlock|propfind|proppatch|copy|move|mkcol|mkcalendar|acl|search)\\\\s+\\\\s*(.+?)(?:\\\\s+(HTTP/\\\\S+))?$","name":"http.requestline"},"response-line":{"captures":{"1":{"patterns":[{"include":"#protocol"}]},"2":{"name":"constant.numeric.http"},"3":{"name":"string.other.http"}},"match":"(?i)^\\\\s*(HTTP/\\\\S+)\\\\s([1-5][0-9][0-9])\\\\s(.*)$","name":"http.responseLine"}},"scopeName":"source.http","embeddedLangs":["shellscript","json","xml","graphql"]}')),h=[...t,...e,...n,...a,s];export{h as default};
@@ -0,0 +1,13 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DxNHbxmM.js","./CnnebwVN.js","./wDzz0qaB.js","./DPfMkruS.js","./JSbxStMO.js","./2EtD6e53.js","./BgIZa_E2.js","./BGJmEYvX.js","./CylS5w8V.js","./Cp-IABpG.js","./DxSwrfjg.js","./BPQ3VLAy.js","./CXtECtnM.js","./COt5Ahok.js","./brMvHLvt.js","./DBpX0yWo.js","./BLtJtn59.js","./CquLrc37.js","./DVxCFoDh.js","./CO1LY3CK.js","./B6aJPvgy.js","./Cl8IGKIC.js","./CxbxFI8M.js","./DsqENSWP.js","./CDVJQ6XC.js","./DZxFcAj9.js","./BIGW1oBm.js","./fKv21gyL.js","./Yzrsuije.js","./CvQeaAIM.js","./BfJx3WfE.js","./Ci3HlJdq.js","./DNstp7By.js","./D0h_xhSm.js","./CmIQRyeF.js","./C9oPPf7i.js","./g9-lgVsj.js","./CnsnAmq5.js","./Buea-lGh.js","./CuPHTKiy.js","./Cvjx9yec.js","./B7c-h3xW.js","./BxgE0vQu.js","./BTifaqeh.js","./CenWIFCC.js","./DkwncUOv.js","./C5YyOfLZ.js","./CxGSJlkm.js","./D97Zzqfu.js","./CSXwinHm.js","./YqXBG_HV.js","./BR5kRUq4.js","./BfQbQz2e.js","./m17aaUwq.js","./DaZJ10kq.js","./CVF7vp9Z.js","./fuZLfV_i.js","./DWrx1Km3.js","./CzTSHFRz.js","./CaGTHgeg.js","./Br6cN0cg.js","./Dntbqd40.js","./Dspwwk_N.js","./BL5jzBAz.js","./CQ8jqdy-.js","./mjskCLCv.js","./83L43bj1.js","./B1dDrJ26.js","./BtjpZpjN.js","./fbvUeNLU.js","./0A2p0G4C.js","./DR4elm4u.js","./DID_Ax9Y.js","./BLmx8bSh.js","./BVQ-GDCI.js","./CfMaDYuo.js","./COcwbKMJ.js","./C9E63BpL.js","./D1j8_8rp.js","./CG8Ifv2g.js","./BqTXFGrv.js","./D3lLCCz7.js","./Cq5zzVJU.js","./sDksUvMU.js","./BRZ36xJF.js","./BsS91CYL.js","./DM8c43g1.js","./BH7IYjvW.js","./DYoxhk2S.js","./CZhp0h8q.js","./CxLEBnE3.js","./CckKNcSY.js","./CjW8XjqM.js","./C28nlFVT.js","./DqQDbK_p.js","./CW8IKDeL.js","./BEDo0Tqx.js","./BaaWV1KV.js"])))=>i.map(i=>d[i]);
2
+ import{_ as l}from"./DpBBTLWw.js";let P=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function Er(t){return Je(t)}function Je(t){return Array.isArray(t)?vr(t):t instanceof RegExp?t:typeof t=="object"?Rr(t):t}function vr(t){let e=[];for(let r=0,n=t.length;r<n;r++)e[r]=Je(t[r]);return e}function Rr(t){let e={};for(let r in t)e[r]=Je(t[r]);return e}function kt(t,...e){return e.forEach(r=>{for(let n in r)t[n]=r[n]}),t}function wt(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?wt(t.substring(0,t.length-1)):t.substr(~e+1)}var Oe=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,se=class{static hasCaptures(t){return t===null?!1:(Oe.lastIndex=0,Oe.test(t))}static replaceCaptures(t,e,r){return t.replace(Oe,(n,i,o,a)=>{let u=r[parseInt(i||o,10)];if(u){let s=e.substring(u.start,u.end);for(;s[0]===".";)s=s.substring(1);switch(a){case"downcase":return s.toLowerCase();case"upcase":return s.toUpperCase();default:return s}}else return n})}};function Dt(t,e){return t<e?-1:t>e?1:0}function Nt(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let r=t.length,n=e.length;if(r===n){for(let i=0;i<r;i++){let o=Dt(t[i],e[i]);if(o!==0)return o}return 0}return r-n}function ut(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function xt(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Vt=class{constructor(t){this.fn=t}cache=new Map;get(t){if(this.cache.has(t))return this.cache.get(t);const e=this.fn(t);return this.cache.set(t,e),e}},de=class{constructor(t,e,r){this._colorMap=t,this._defaults=e,this._root=r}static createFromRawTheme(t,e){return this.createFromParsedTheme(br(t),e)}static createFromParsedTheme(t,e){return Sr(t,e)}_cachedMatchRoot=new Vt(t=>this._root.match(t));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,n=this._cachedMatchRoot.get(e).find(i=>Lr(t.parent,i.parentScopes));return n?new Mt(n.fontStyle,n.foreground,n.background):null}},Ce=class me{constructor(e,r){this.parent=e,this.scopeName=r}static push(e,r){for(const n of r)e=new me(e,n);return e}static from(...e){let r=null;for(let n=0;n<e.length;n++)r=new me(r,e[n]);return r}push(e){return new me(this,e)}getSegments(){let e=this;const r=[];for(;e;)r.push(e.scopeName),e=e.parent;return r.reverse(),r}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const r=[];let n=this;for(;n&&n!==e;)r.push(n.scopeName),n=n.parent;return n===e?r.reverse():void 0}};function Lr(t,e){if(e.length===0)return!0;for(let r=0;r<e.length;r++){let n=e[r],i=!1;if(n===">"){if(r===e.length-1)return!1;n=e[++r],i=!0}for(;t&&!Ar(t.scopeName,n);){if(i)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function Ar(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var Mt=class{constructor(t,e,r){this.fontStyle=t,this.foregroundId=e,this.backgroundId=r}};function br(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,r=[],n=0;for(let i=0,o=e.length;i<o;i++){let a=e[i];if(!a.settings)continue;let u;if(typeof a.scope=="string"){let p=a.scope;p=p.replace(/^[,]+/,""),p=p.replace(/[,]+$/,""),u=p.split(",")}else Array.isArray(a.scope)?u=a.scope:u=[""];let s=-1;if(typeof a.settings.fontStyle=="string"){s=0;let p=a.settings.fontStyle.split(" ");for(let _=0,d=p.length;_<d;_++)switch(p[_]){case"italic":s=s|1;break;case"bold":s=s|2;break;case"underline":s=s|4;break;case"strikethrough":s=s|8;break}}let c=null;typeof a.settings.foreground=="string"&&ut(a.settings.foreground)&&(c=a.settings.foreground);let m=null;typeof a.settings.background=="string"&&ut(a.settings.background)&&(m=a.settings.background);for(let p=0,_=u.length;p<_;p++){let h=u[p].trim().split(" "),E=h[h.length-1],R=null;h.length>1&&(R=h.slice(0,h.length-1),R.reverse()),r[n++]=new Tr(E,R,i,s,c,m)}}return r}var Tr=class{constructor(t,e,r,n,i,o){this.scope=t,this.parentScopes=e,this.index=r,this.fontStyle=n,this.foreground=i,this.background=o}},w=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t[t.Strikethrough=8]="Strikethrough",t))(w||{});function Sr(t,e){t.sort((s,c)=>{let m=Dt(s.scope,c.scope);return m!==0||(m=Nt(s.parentScopes,c.parentScopes),m!==0)?m:s.index-c.index});let r=0,n="#000000",i="#ffffff";for(;t.length>=1&&t[0].scope==="";){let s=t.shift();s.fontStyle!==-1&&(r=s.fontStyle),s.foreground!==null&&(n=s.foreground),s.background!==null&&(i=s.background)}let o=new Pr(e),a=new Mt(r,o.getId(n),o.getId(i)),u=new Or(new Me(0,null,-1,0,0),[]);for(let s=0,c=t.length;s<c;s++){let m=t[s];u.insert(0,m.scope,m.parentScopes,m.fontStyle,o.getId(m.foreground),o.getId(m.background))}return new de(o,a,u)}var Pr=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let e=0,r=t.length;e<r;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let e=this._color2id[t];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return e=++this._lastColorId,this._color2id[t]=e,this._id2color[e]=t,e}getColorMap(){return this._id2color.slice(0)}},Ir=Object.freeze([]),Me=class Bt{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,r,n,i,o){this.scopeDepth=e,this.parentScopes=r||Ir,this.fontStyle=n,this.foreground=i,this.background=o}clone(){return new Bt(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let r=[];for(let n=0,i=e.length;n<i;n++)r[n]=e[n].clone();return r}acceptOverwrite(e,r,n,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,r!==-1&&(this.fontStyle=r),n!==0&&(this.foreground=n),i!==0&&(this.background=i)}},Or=class Be{constructor(e,r=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=r}_rulesWithParentScopes;static _cmpBySpecificity(e,r){if(e.scopeDepth!==r.scopeDepth)return r.scopeDepth-e.scopeDepth;let n=0,i=0;for(;e.parentScopes[n]===">"&&n++,r.parentScopes[i]===">"&&i++,!(n>=e.parentScopes.length||i>=r.parentScopes.length);){const o=r.parentScopes[i].length-e.parentScopes[n].length;if(o!==0)return o;n++,i++}return r.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let n=e.indexOf("."),i,o;if(n===-1?(i=e,o=""):(i=e.substring(0,n),o=e.substring(n+1)),this._children.hasOwnProperty(i))return this._children[i].match(o)}const r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(Be._cmpBySpecificity),r}insert(e,r,n,i,o,a){if(r===""){this._doInsertHere(e,n,i,o,a);return}let u=r.indexOf("."),s,c;u===-1?(s=r,c=""):(s=r.substring(0,u),c=r.substring(u+1));let m;this._children.hasOwnProperty(s)?m=this._children[s]:(m=new Be(this._mainRule.clone(),Me.cloneArr(this._rulesWithParentScopes)),this._children[s]=m),m.insert(e+1,c,n,i,o,a)}_doInsertHere(e,r,n,i,o){if(r===null){this._mainRule.acceptOverwrite(e,n,i,o);return}for(let a=0,u=this._rulesWithParentScopes.length;a<u;a++){let s=this._rulesWithParentScopes[a];if(Nt(s.parentScopes,r)===0){s.acceptOverwrite(e,n,i,o);return}}n===-1&&(n=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new Me(e,r,n,i,o))}},J=class V{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const r=V.getLanguageId(e),n=V.getTokenType(e),i=V.getFontStyle(e),o=V.getForeground(e),a=V.getBackground(e);console.log({languageId:r,tokenType:n,fontStyle:i,foreground:o,background:a})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,r,n,i,o,a,u){let s=V.getLanguageId(e),c=V.getTokenType(e),m=V.containsBalancedBrackets(e)?1:0,p=V.getFontStyle(e),_=V.getForeground(e),d=V.getBackground(e);return r!==0&&(s=r),n!==8&&(c=n),i!==null&&(m=i?1:0),o!==-1&&(p=o),a!==0&&(_=a),u!==0&&(d=u),(s<<0|c<<8|m<<10|p<<11|_<<15|d<<24)>>>0}};function he(t,e){const r=[],n=Cr(t);let i=n.next();for(;i!==null;){let s=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":s=1;break;case"L":s=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=n.next()}let c=a();if(r.push({matcher:c,priority:s}),i!==",")break;i=n.next()}return r;function o(){if(i==="-"){i=n.next();const s=o();return c=>!!s&&!s(c)}if(i==="("){i=n.next();const s=u();return i===")"&&(i=n.next()),s}if(ct(i)){const s=[];do s.push(i),i=n.next();while(ct(i));return c=>e(s,c)}return null}function a(){const s=[];let c=o();for(;c;)s.push(c),c=o();return m=>s.every(p=>p(m))}function u(){const s=[];let c=a();for(;c&&(s.push(c),i==="|"||i===",");){do i=n.next();while(i==="|"||i===",");c=a()}return m=>s.some(p=>p(m))}}function ct(t){return!!t&&!!t.match(/[\w\.:]+/)}function Cr(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,r=e.exec(t);return{next:()=>{if(!r)return null;const n=r[0];return r=e.exec(t),n}}}function Gt(t){typeof t.dispose=="function"&&t.dispose()}var te=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},kr=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},wr=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},Dr=class{constructor(t,e){this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new te(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const t=this.Q;this.Q=[];const e=new wr;for(const r of t)Nr(r,this.initialScopeName,this.repo,e);for(const r of e.references)if(r instanceof te){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}};function Nr(t,e,r,n){const i=r.lookup(t.scopeName);if(!i){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const o=r.lookup(e);t instanceof te?pe({baseGrammar:o,selfGrammar:i},n):Ge(t.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},n);const a=r.injections(t.scopeName);if(a)for(const u of a)n.add(new te(u))}function Ge(t,e,r){if(e.repository&&e.repository[t]){const n=e.repository[t];_e([n],e,r)}}function pe(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&_e(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&_e(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function _e(t,e,r){for(const n of t){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);const i=n.repository?kt({},e.repository,n.repository):e.repository;Array.isArray(n.patterns)&&_e(n.patterns,{...e,repository:i},r);const o=n.include;if(!o)continue;const a=jt(o);switch(a.kind){case 0:pe({...e,selfGrammar:e.baseGrammar},r);break;case 1:pe(e,r);break;case 2:Ge(a.ruleName,{...e,repository:i},r);break;case 3:case 4:const u=a.scopeName===e.selfGrammar.scopeName?e.selfGrammar:a.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(u){const s={baseGrammar:e.baseGrammar,selfGrammar:u,repository:i};a.kind===4?Ge(a.ruleName,s,r):pe(s,r)}else a.kind===4?r.add(new kr(a.scopeName,a.ruleName)):r.add(new te(a.scopeName));break}}}var xr=class{kind=0},Vr=class{kind=1},Mr=class{constructor(t){this.ruleName=t}kind=2},Br=class{constructor(t){this.scopeName=t}kind=3},Gr=class{constructor(t,e){this.scopeName=t,this.ruleName=e}kind=4};function jt(t){if(t==="$base")return new xr;if(t==="$self")return new Vr;const e=t.indexOf("#");if(e===-1)return new Br(t);if(e===0)return new Mr(t.substring(1));{const r=t.substring(0,e),n=t.substring(e+1);return new Gr(r,n)}}var jr=/\\(\d+)/,mt=/\\(\d+)/g,$r=-1,$t=-2;var oe=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,e,r,n){this.$location=t,this.id=e,this._name=r||null,this._nameIsCapturing=se.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=se.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${wt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,e){return!this._nameIsCapturing||this._name===null||t===null||e===null?this._name:se.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:se.replaceCaptures(this._contentName,t,e)}},Ur=class extends oe{retokenizeCapturedWithRuleId;constructor(t,e,r,n,i){super(t,e,r,n),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(t,e){throw new Error("Not supported!")}compile(t,e){throw new Error("Not supported!")}compileAG(t,e,r,n){throw new Error("Not supported!")}},Fr=class extends oe{_match;captures;_cachedCompiledPatterns;constructor(t,e,r,n,i){super(t,e,r,null),this._match=new re(n,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,e){e.push(this._match)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,r,n){return this._getCachedCompiledPatterns(t).compileAG(t,r,n)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ne,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},pt=class extends oe{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,r,n,i){super(t,e,r,n),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,e){for(const r of this.patterns)t.getRule(r).collectPatterns(t,e)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,r,n){return this._getCachedCompiledPatterns(t).compileAG(t,r,n)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ne,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},je=class extends oe{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,r,n,i,o,a,u,s,c){super(t,e,r,n),this._begin=new re(i,this.id),this.beginCaptures=o,this._end=new re(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=s||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.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(t,e){return this._end.resolveBackReferences(t,e)}collectPatterns(t,e){e.push(this._begin)}compile(t,e){return this._getCachedCompiledPatterns(t,e).compile(t)}compileAG(t,e,r,n){return this._getCachedCompiledPatterns(t,e).compileAG(t,r,n)}_getCachedCompiledPatterns(t,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ne;for(const r of this.patterns)t.getRule(r).collectPatterns(t,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,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},fe=class extends oe{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,e,r,n,i,o,a,u,s){super(t,e,r,n),this._begin=new re(i,this.id),this.beginCaptures=o,this.whileCaptures=u,this._while=new re(a,$t),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(t,e){return this._while.resolveBackReferences(t,e)}collectPatterns(t,e){e.push(this._begin)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,r,n){return this._getCachedCompiledPatterns(t).compileAG(t,r,n)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ne;for(const e of this.patterns)t.getRule(e).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,e){return this._getCachedCompiledWhilePatterns(t,e).compile(t)}compileWhileAG(t,e,r,n){return this._getCachedCompiledWhilePatterns(t,e).compileAG(t,r,n)}_getCachedCompiledWhilePatterns(t,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ne,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}},Ut=class k{static createCaptureRule(e,r,n,i,o){return e.registerRule(a=>new Ur(r,a,n,i,o))}static getCompiledRuleId(e,r,n){return e.id||r.registerRule(i=>{if(e.id=i,e.match)return new Fr(e.$vscodeTextmateLocation,e.id,e.name,e.match,k._compileCaptures(e.captures,r,n));if(typeof e.begin>"u"){e.repository&&(n=kt({},n,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new pt(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,k._compilePatterns(o,r,n))}return e.while?new fe(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,k._compileCaptures(e.beginCaptures||e.captures,r,n),e.while,k._compileCaptures(e.whileCaptures||e.captures,r,n),k._compilePatterns(e.patterns,r,n)):new je(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,k._compileCaptures(e.beginCaptures||e.captures,r,n),e.end,k._compileCaptures(e.endCaptures||e.captures,r,n),e.applyEndPatternLast,k._compilePatterns(e.patterns,r,n))}),e.id}static _compileCaptures(e,r,n){let i=[];if(e){let o=0;for(const a in e){if(a==="$vscodeTextmateLocation")continue;const u=parseInt(a,10);u>o&&(o=u)}for(let a=0;a<=o;a++)i[a]=null;for(const a in e){if(a==="$vscodeTextmateLocation")continue;const u=parseInt(a,10);let s=0;e[a].patterns&&(s=k.getCompiledRuleId(e[a],r,n)),i[u]=k.createCaptureRule(r,e[a].$vscodeTextmateLocation,e[a].name,e[a].contentName,s)}}return i}static _compilePatterns(e,r,n){let i=[];if(e)for(let o=0,a=e.length;o<a;o++){const u=e[o];let s=-1;if(u.include){const c=jt(u.include);switch(c.kind){case 0:case 1:s=k.getCompiledRuleId(n[u.include],r,n);break;case 2:let m=n[c.ruleName];m&&(s=k.getCompiledRuleId(m,r,n));break;case 3:case 4:const p=c.scopeName,_=c.kind===4?c.ruleName:null,d=r.getExternalGrammar(p,n);if(d)if(_){let h=d.repository[_];h&&(s=k.getCompiledRuleId(h,r,d.repository))}else s=k.getCompiledRuleId(d.repository.$self,r,d.repository);break}}else s=k.getCompiledRuleId(u,r,n);if(s!==-1){const c=r.getRule(s);let m=!1;if((c instanceof pt||c instanceof je||c instanceof fe)&&c.hasMissingPatterns&&c.patterns.length===0&&(m=!0),m)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},re=class Ft{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,r){if(e&&typeof e=="string"){const n=e.length;let i=0,o=[],a=!1;for(let u=0;u<n;u++)if(e.charAt(u)==="\\"&&u+1<n){const c=e.charAt(u+1);c==="z"?(o.push(e.substring(i,u)),o.push("$(?!\\n)(?<!\\n)"),i=u+2):(c==="A"||c==="G")&&(a=!0),u++}this.hasAnchor=a,i===0?this.source=e:(o.push(e.substring(i,n)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=r,typeof this.source=="string"?this.hasBackReferences=jr.test(this.source):this.hasBackReferences=!1}clone(){return new Ft(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,r){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let n=r.map(i=>e.substring(i.start,i.end));return mt.lastIndex=0,this.source.replace(mt,(i,o)=>xt(n[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],r=[],n=[],i=[],o,a,u,s;for(o=0,a=this.source.length;o<a;o++)u=this.source.charAt(o),e[o]=u,r[o]=u,n[o]=u,i[o]=u,u==="\\"&&o+1<a&&(s=this.source.charAt(o+1),s==="A"?(e[o+1]="￿",r[o+1]="￿",n[o+1]="A",i[o+1]="A"):s==="G"?(e[o+1]="￿",r[o+1]="G",n[o+1]="￿",i[o+1]="G"):(e[o+1]=s,r[o+1]=s,n[o+1]=s,i[o+1]=s),o++);return{A0_G0:e.join(""),A0_G1:r.join(""),A1_G0:n.join(""),A1_G1:i.join("")}}resolveAnchors(e,r){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?r?this._anchorCache.A1_G1:this._anchorCache.A1_G0:r?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ne=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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,e){this._items[t].source!==e&&(this._disposeCaches(),this._items[t].setSource(e))}compile(t){if(!this._cached){let e=this._items.map(r=>r.source);this._cached=new dt(t,e,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,e,r){return this._hasAnchors?e?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,r){let n=this._items.map(i=>i.resolveAnchors(e,r));return new dt(t,n,this._items.map(i=>i.ruleId))}},dt=class{constructor(t,e,r){this.regExps=e,this.rules=r,this.scanner=t.createOnigScanner(e)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,r=this.rules.length;e<r;e++)t.push(" - "+this.rules[e]+": "+this.regExps[e]);return t.join(`
3
+ `)}findNextMatchSync(t,e,r){const n=this.scanner.findNextMatchSync(t,e,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},ke=class{constructor(t,e){this.languageId=t,this.tokenType=e}},Hr=class $e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,r){this._defaultAttributes=new ke(e,8),this._embeddedLanguagesMatcher=new Wr(Object.entries(r||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?$e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}static _NULL_SCOPE_METADATA=new ke(0,0);_getBasicScopeAttributes=new Vt(e=>{const r=this._scopeToLanguage(e),n=this._toStandardTokenType(e);return new ke(r,n)});_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const r=e.match($e.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},Wr=class{values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const e=t.map(([r,n])=>xt(r));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const e=t.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},ht=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function Ht(t,e,r,n,i,o,a,u){const s=e.content.length;let c=!1,m=-1;if(a){const d=zr(t,e,r,n,i,o);i=d.stack,n=d.linePos,r=d.isFirstLine,m=d.anchorPosition}const p=Date.now();for(;!c;){if(u!==0&&Date.now()-p>u)return new ht(i,!0);_()}return new ht(i,!1);function _(){const d=qr(t,e,r,n,i,m);if(!d){o.produce(i,s),c=!0;return}const h=d.captureIndices,E=d.matchedRuleId,R=h&&h.length>0?h[0].end>n:!1;if(E===$r){const y=i.getRule(t);o.produce(i,h[0].start),i=i.withContentNameScopesList(i.nameScopesList),Z(t,e,r,i,o,y.endCaptures,h),o.produce(i,h[0].end);const v=i;if(i=i.parent,m=v.getAnchorPos(),!R&&v.getEnterPos()===n){i=v,o.produce(i,s),c=!0;return}}else{const y=t.getRule(E);o.produce(i,h[0].start);const v=i,g=y.getName(e.content,h),A=i.contentNameScopesList.pushAttributed(g,t);if(i=i.push(E,n,m,h[0].end===s,null,A,A),y instanceof je){const T=y;Z(t,e,r,i,o,T.beginCaptures,h),o.produce(i,h[0].end),m=h[0].end;const N=T.getContentName(e.content,h),$=A.pushAttributed(N,t);if(i=i.withContentNameScopesList($),T.endHasBackReferences&&(i=i.withEndRule(T.getEndWithResolvedBackReferences(e.content,h))),!R&&v.hasSameRuleAs(i)){i=i.pop(),o.produce(i,s),c=!0;return}}else if(y instanceof fe){const T=y;Z(t,e,r,i,o,T.beginCaptures,h),o.produce(i,h[0].end),m=h[0].end;const N=T.getContentName(e.content,h),$=A.pushAttributed(N,t);if(i=i.withContentNameScopesList($),T.whileHasBackReferences&&(i=i.withEndRule(T.getWhileWithResolvedBackReferences(e.content,h))),!R&&v.hasSameRuleAs(i)){i=i.pop(),o.produce(i,s),c=!0;return}}else if(Z(t,e,r,i,o,y.captures,h),o.produce(i,h[0].end),i=i.pop(),!R){i=i.safePop(),o.produce(i,s),c=!0;return}}h[0].end>n&&(n=h[0].end,r=!1)}}function zr(t,e,r,n,i,o){let a=i.beginRuleCapturedEOL?0:-1;const u=[];for(let s=i;s;s=s.pop()){const c=s.getRule(t);c instanceof fe&&u.push({rule:c,stack:s})}for(let s=u.pop();s;s=u.pop()){const{ruleScanner:c,findOptions:m}=Xr(s.rule,t,s.stack.endRule,r,n===a),p=c.findNextMatchSync(e,n,m);if(p){if(p.ruleId!==$t){i=s.stack.pop();break}p.captureIndices&&p.captureIndices.length&&(o.produce(s.stack,p.captureIndices[0].start),Z(t,e,r,s.stack,o,s.rule.whileCaptures,p.captureIndices),o.produce(s.stack,p.captureIndices[0].end),a=p.captureIndices[0].end,p.captureIndices[0].end>n&&(n=p.captureIndices[0].end,r=!1))}else{i=s.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:a,isFirstLine:r}}function qr(t,e,r,n,i,o){const a=Kr(t,e,r,n,i,o),u=t.getInjections();if(u.length===0)return a;const s=Jr(u,t,e,r,n,i,o);if(!s)return a;if(!a)return s;const c=a.captureIndices[0].start,m=s.captureIndices[0].start;return m<c||s.priorityMatch&&m===c?s:a}function Kr(t,e,r,n,i,o){const a=i.getRule(t),{ruleScanner:u,findOptions:s}=Wt(a,t,i.endRule,r,n===o),c=u.findNextMatchSync(e,n,s);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Jr(t,e,r,n,i,o,a){let u=Number.MAX_VALUE,s=null,c,m=0;const p=o.contentNameScopesList.getScopeNames();for(let _=0,d=t.length;_<d;_++){const h=t[_];if(!h.matcher(p))continue;const E=e.getRule(h.ruleId),{ruleScanner:R,findOptions:y}=Wt(E,e,null,n,i===a),v=R.findNextMatchSync(r,i,y);if(!v)continue;const g=v.captureIndices[0].start;if(!(g>=u)&&(u=g,s=v.captureIndices,c=v.ruleId,m=h.priority,u===i))break}return s?{priorityMatch:m===-1,captureIndices:s,matchedRuleId:c}:null}function Wt(t,e,r,n,i){return{ruleScanner:t.compileAG(e,r,n,i),findOptions:0}}function Xr(t,e,r,n,i){return{ruleScanner:t.compileWhileAG(e,r,n,i),findOptions:0}}function Z(t,e,r,n,i,o,a){if(o.length===0)return;const u=e.content,s=Math.min(o.length,a.length),c=[],m=a[0].end;for(let p=0;p<s;p++){const _=o[p];if(_===null)continue;const d=a[p];if(d.length===0)continue;if(d.start>m)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,d.start):i.produce(n,d.start),_.retokenizeCapturedWithRuleId){const E=_.getName(u,a),R=n.contentNameScopesList.pushAttributed(E,t),y=_.getContentName(u,a),v=R.pushAttributed(y,t),g=n.push(_.retokenizeCapturedWithRuleId,d.start,-1,!1,null,R,v),A=t.createOnigString(u.substring(0,d.end));Ht(t,A,r&&d.start===0,d.start,g,i,!1,0),Gt(A);continue}const h=_.getName(u,a);if(h!==null){const R=(c.length>0?c[c.length-1].scopes:n.contentNameScopesList).pushAttributed(h,t);c.push(new Yr(R,d.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var Yr=class{scopes;endPos;constructor(t,e){this.scopes=t,this.endPos=e}};function Qr(t,e,r,n,i,o,a,u){return new en(t,e,r,n,i,o,a,u)}function _t(t,e,r,n,i){const o=he(e,ge),a=Ut.getCompiledRuleId(r,n,i.repository);for(const u of o)t.push({debugSelector:e,matcher:u.matcher,ruleId:a,grammar:i,priority:u.priority})}function ge(t,e){if(e.length<t.length)return!1;let r=0;return t.every(n=>{for(let i=r;i<e.length;i++)if(Zr(e[i],n))return r=i+1,!0;return!1})}function Zr(t,e){if(!t)return!1;if(t===e)return!0;const r=e.length;return t.length>r&&t.substr(0,r)===e&&t[r]==="."}var en=class{constructor(t,e,r,n,i,o,a,u){if(this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=u,this._basicScopeAttributesProvider=new Hr(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=ft(e,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const s of Object.keys(i)){const c=he(s,ge);for(const m of c)this._tokenTypeMatchers.push({matcher:m.matcher,type:i[s]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},e=[],r=this._rootScopeName,n=t.lookup(r);if(n){const i=n.injections;if(i)for(let a in i)_t(e,a,i[a],this,n);const o=this._grammarRepository.injections(r);o&&o.forEach(a=>{const u=this.getExternalGrammar(a);if(u){const s=u.injectionSelector;s&&_t(e,s,u,this,u)}})}return e.sort((i,o)=>i.priority-o.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const e=++this._lastRuleId,r=t(e);return this._ruleId2desc[e]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,e){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=ft(r,e&&e.$base),this._includedGrammars[t]}}tokenizeLine(t,e,r=0){const n=this._tokenize(t,e,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(t,e,r=0){const n=this._tokenize(t,e,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(t,e,r,n){this._rootId===-1&&(this._rootId=Ut.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!e||e===Ue.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),m=this.themeProvider.getDefaults(),p=J.set(0,c.languageId,c.tokenType,null,m.fontStyle,m.foregroundId,m.backgroundId),_=this.getRule(this._rootId).getName(null,null);let d;_?d=ee.createRootAndLookUpScopeName(_,p,this):d=ee.createRoot("unknown",p),e=new Ue(null,this._rootId,-1,-1,!1,null,d,d)}else i=!1,e.reset();t=t+`
4
+ `;const o=this.createOnigString(t),a=o.content.length,u=new rn(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),s=Ht(this,o,i,0,e,u,!0,n);return Gt(o),{lineLength:a,lineTokens:u,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}};function ft(t,e){return t=Er(t),t.repository=t.repository||{},t.repository.$self={$vscodeTextmateLocation:t.$vscodeTextmateLocation,patterns:t.patterns,name:t.scopeName},t.repository.$base=e||t.repository.$self,t}var ee=class M{constructor(e,r,n){this.parent=e,this.scopePath=r,this.tokenAttributes=n}static fromExtension(e,r){let n=e,i=e?.scopePath??null;for(const o of r)i=Ce.push(i,o.scopeNames),n=new M(n,i,o.encodedTokenAttributes);return n}static createRoot(e,r){return new M(null,new Ce(null,e),r)}static createRootAndLookUpScopeName(e,r,n){const i=n.getMetadataForScope(e),o=new Ce(null,e),a=n.themeProvider.themeMatch(o),u=M.mergeAttributes(r,i,a);return new M(null,o,u)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return M.equals(this,e)}static equals(e,r){do{if(e===r||!e&&!r)return!0;if(!e||!r||e.scopeName!==r.scopeName||e.tokenAttributes!==r.tokenAttributes)return!1;e=e.parent,r=r.parent}while(!0)}static mergeAttributes(e,r,n){let i=-1,o=0,a=0;return n!==null&&(i=n.fontStyle,o=n.foregroundId,a=n.backgroundId),J.set(e,r.languageId,r.tokenType,null,i,o,a)}pushAttributed(e,r){if(e===null)return this;if(e.indexOf(" ")===-1)return M._pushAttributed(this,e,r);const n=e.split(/ /g);let i=this;for(const o of n)i=M._pushAttributed(i,o,r);return i}static _pushAttributed(e,r,n){const i=n.getMetadataForScope(r),o=e.scopePath.push(r),a=n.themeProvider.themeMatch(o),u=M.mergeAttributes(e.tokenAttributes,i,a);return new M(e,o,u)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){const r=[];let n=this;for(;n&&n!==e;)r.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?r.reverse():void 0}},Ue=class U{constructor(e,r,n,i,o,a,u,s){this.parent=e,this.ruleId=r,this.beginRuleCapturedEOL=o,this.endRule=a,this.nameScopesList=u,this.contentNameScopesList=s,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=i}_stackElementBrand=void 0;static NULL=new U(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(e){return e===null?!1:U._equals(this,e)}static _equals(e,r){return e===r?!0:this._structuralEquals(e,r)?ee.equals(e.contentNameScopesList,r.contentNameScopesList):!1}static _structuralEquals(e,r){do{if(e===r||!e&&!r)return!0;if(!e||!r||e.depth!==r.depth||e.ruleId!==r.ruleId||e.endRule!==r.endRule)return!1;e=e.parent,r=r.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){U._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,r,n,i,o,a,u){return new U(this,e,r,n,i,o,a,u)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,r){return this.parent&&(r=this.parent._writeString(e,r)),e[r++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,r}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new U(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let r=this;for(;r&&r._enterPos===e._enterPos;){if(r.ruleId===e.ruleId)return!0;r=r.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(e,r){const n=ee.fromExtension(e?.nameScopesList??null,r.nameScopesList);return new U(e,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,ee.fromExtension(n,r.contentNameScopesList))}},tn=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,e){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):he(r,ge).map(n=>n.matcher)),this.unbalancedBracketScopes=e.flatMap(r=>he(r,ge).map(n=>n.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const e of this.unbalancedBracketScopes)if(e(t))return!1;for(const e of this.balancedBracketScopes)if(e(t))return!0;return this.allowAny}},rn=class{constructor(t,e,r,n){this.balancedBracketSelectors=n,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(t,e){this.produceFromScopes(t.contentNameScopesList,e)}produceFromScopes(t,e){if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let n=t?.tokenAttributes??0,i=!1;if(this.balancedBracketSelectors?.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=t?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(o)&&(n=J.set(n,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(o))}if(i&&(n=J.set(n,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=e;return}const r=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:r}),this._lastTokenEndIndex=e}getResult(t,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let n=0,i=this._binaryTokens.length;n<i;n++)r[n]=this._binaryTokens[n];return r}},nn=class{constructor(t,e){this._onigLib=e,this._theme=t}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,e){this._rawGrammars.set(t.scopeName,t),e&&this._injectionGrammars.set(t.scopeName,e)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}grammarForScopeName(t,e,r,n,i){if(!this._grammars.has(t)){let o=this._rawGrammars.get(t);if(!o)return null;this._grammars.set(t,Qr(t,o,e,r,n,i,this,this._onigLib))}return this._grammars.get(t)}},on=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new nn(de.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,r){this._syncRegistry.setTheme(de.createFromRawTheme(e,r))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,r,n){return this.loadGrammarWithConfiguration(e,r,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,r,n){return this._loadGrammar(e,r,n.embeddedLanguages,n.tokenTypes,new tn(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,r,n,i,o){const a=new Dr(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(u=>this._loadSingleGrammar(u.scopeName)),a.processQueue();return this._grammarForScopeName(e,r,n,i,o)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const r=this._options.loadGrammar(e);if(r){const n=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(r,n)}}addGrammar(e,r=[],n=0,i=null){return this._syncRegistry.addGrammar(e,r),this._grammarForScopeName(e.scopeName,n,i)}_grammarForScopeName(e,r=0,n=null,i=null,o=null){return this._syncRegistry.grammarForScopeName(e,r,n,i,o)}},Fe=Ue.NULL;const an=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ae{constructor(e,r,n){this.normal=r,this.property=e,n&&(this.space=n)}}ae.prototype.normal={};ae.prototype.property={};ae.prototype.space=void 0;function zt(t,e){const r={},n={};for(const i of t)Object.assign(r,i.property),Object.assign(n,i.normal);return new ae(r,n,e)}function He(t){return t.toLowerCase()}class D{constructor(e,r){this.attribute=r,this.property=e}}D.prototype.attribute="";D.prototype.booleanish=!1;D.prototype.boolean=!1;D.prototype.commaOrSpaceSeparated=!1;D.prototype.commaSeparated=!1;D.prototype.defined=!1;D.prototype.mustUseProperty=!1;D.prototype.number=!1;D.prototype.overloadedBoolean=!1;D.prototype.property="";D.prototype.spaceSeparated=!1;D.prototype.space=void 0;let sn=0;const L=H(),S=H(),We=H(),f=H(),b=H(),q=H(),x=H();function H(){return 2**++sn}const ze=Object.freeze(Object.defineProperty({__proto__:null,boolean:L,booleanish:S,commaOrSpaceSeparated:x,commaSeparated:q,number:f,overloadedBoolean:We,spaceSeparated:b},Symbol.toStringTag,{value:"Module"})),we=Object.keys(ze);class Xe extends D{constructor(e,r,n,i){let o=-1;if(super(e,r),gt(this,"space",i),typeof n=="number")for(;++o<we.length;){const a=we[o];gt(this,we[o],(n&ze[a])===ze[a])}}}Xe.prototype.defined=!0;function gt(t,e,r){r&&(t[e]=r)}function X(t){const e={},r={};for(const[n,i]of Object.entries(t.properties)){const o=new Xe(n,t.transform(t.attributes||{},n),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),e[n]=o,r[He(n)]=n,r[He(o.attribute)]=n}return new ae(e,r,t.space)}const qt=X({properties:{ariaActiveDescendant:null,ariaAtomic:S,ariaAutoComplete:null,ariaBusy:S,ariaChecked:S,ariaColCount:f,ariaColIndex:f,ariaColSpan:f,ariaControls:b,ariaCurrent:null,ariaDescribedBy:b,ariaDetails:null,ariaDisabled:S,ariaDropEffect:b,ariaErrorMessage:null,ariaExpanded:S,ariaFlowTo:b,ariaGrabbed:S,ariaHasPopup:null,ariaHidden:S,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:b,ariaLevel:f,ariaLive:null,ariaModal:S,ariaMultiLine:S,ariaMultiSelectable:S,ariaOrientation:null,ariaOwns:b,ariaPlaceholder:null,ariaPosInSet:f,ariaPressed:S,ariaReadOnly:S,ariaRelevant:null,ariaRequired:S,ariaRoleDescription:b,ariaRowCount:f,ariaRowIndex:f,ariaRowSpan:f,ariaSelected:S,ariaSetSize:f,ariaSort:null,ariaValueMax:f,ariaValueMin:f,ariaValueNow:f,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function Kt(t,e){return e in t?t[e]:e}function Jt(t,e){return Kt(t,e.toLowerCase())}const ln=X({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:q,acceptCharset:b,accessKey:b,action:null,allow:null,allowFullScreen:L,allowPaymentRequest:L,allowUserMedia:L,alt:null,as:null,async:L,autoCapitalize:null,autoComplete:b,autoFocus:L,autoPlay:L,blocking:b,capture:null,charSet:null,checked:L,cite:null,className:b,cols:f,colSpan:null,content:null,contentEditable:S,controls:L,controlsList:b,coords:f|q,crossOrigin:null,data:null,dateTime:null,decoding:null,default:L,defer:L,dir:null,dirName:null,disabled:L,download:We,draggable:S,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:L,formTarget:null,headers:b,height:f,hidden:We,high:f,href:null,hrefLang:null,htmlFor:b,httpEquiv:b,id:null,imageSizes:null,imageSrcSet:null,inert:L,inputMode:null,integrity:null,is:null,isMap:L,itemId:null,itemProp:b,itemRef:b,itemScope:L,itemType:b,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:L,low:f,manifest:null,max:null,maxLength:f,media:null,method:null,min:null,minLength:f,multiple:L,muted:L,name:null,nonce:null,noModule:L,noValidate:L,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:L,optimum:f,pattern:null,ping:b,placeholder:null,playsInline:L,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:L,referrerPolicy:null,rel:b,required:L,reversed:L,rows:f,rowSpan:f,sandbox:b,scope:null,scoped:L,seamless:L,selected:L,shadowRootClonable:L,shadowRootDelegatesFocus:L,shadowRootMode:null,shape:null,size:f,sizes:null,slot:null,span:f,spellCheck:S,src:null,srcDoc:null,srcLang:null,srcSet:null,start:f,step:null,style:null,tabIndex:f,target:null,title:null,translate:null,type:null,typeMustMatch:L,useMap:null,value:S,width:f,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:b,axis:null,background:null,bgColor:null,border:f,borderColor:null,bottomMargin:f,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:L,declare:L,event:null,face:null,frame:null,frameBorder:null,hSpace:f,leftMargin:f,link:null,longDesc:null,lowSrc:null,marginHeight:f,marginWidth:f,noResize:L,noHref:L,noShade:L,noWrap:L,object:null,profile:null,prompt:null,rev:null,rightMargin:f,rules:null,scheme:null,scrolling:S,standby:null,summary:null,text:null,topMargin:f,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:L,disableRemotePlayback:L,prefix:null,property:null,results:f,security:null,unselectable:null},space:"html",transform:Jt}),un=X({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:x,accentHeight:f,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:f,amplitude:f,arabicForm:null,ascent:f,attributeName:null,attributeType:null,azimuth:f,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:f,by:null,calcMode:null,capHeight:f,className:b,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:f,diffuseConstant:f,direction:null,display:null,dur:null,divisor:f,dominantBaseline:null,download:L,dx:null,dy:null,edgeMode:null,editable:null,elevation:f,enableBackground:null,end:null,event:null,exponent:f,externalResourcesRequired:null,fill:null,fillOpacity:f,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:q,g2:q,glyphName:q,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:f,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:f,horizOriginX:f,horizOriginY:f,id:null,ideographic:f,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:f,k:f,k1:f,k2:f,k3:f,k4:f,kernelMatrix:x,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:f,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:f,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:f,overlineThickness:f,paintOrder:null,panose1:null,path:null,pathLength:f,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:b,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:f,pointsAtY:f,pointsAtZ:f,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:x,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:x,rev:x,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:x,requiredFeatures:x,requiredFonts:x,requiredFormats:x,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:f,specularExponent:f,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:f,strikethroughThickness:f,string:null,stroke:null,strokeDashArray:x,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:f,strokeOpacity:f,strokeWidth:null,style:null,surfaceScale:f,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:x,tabIndex:f,tableValues:null,target:null,targetX:f,targetY:f,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:x,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:f,underlineThickness:f,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:f,values:null,vAlphabetic:f,vMathematical:f,vectorEffect:null,vHanging:f,vIdeographic:f,version:null,vertAdvY:f,vertOriginX:f,vertOriginY:f,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:f,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Kt}),Xt=X({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),Yt=X({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Jt}),Qt=X({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),cn=/[A-Z]/g,yt=/-[a-z]/g,mn=/^data[-\w.:]+$/i;function pn(t,e){const r=He(e);let n=e,i=D;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&mn.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(yt,hn);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!yt.test(o)){let a=o.replace(cn,dn);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=Xe}return new i(n,e)}function dn(t){return"-"+t.toLowerCase()}function hn(t){return t.charAt(1).toUpperCase()}const _n=zt([qt,ln,Xt,Yt,Qt],"html"),Zt=zt([qt,un,Xt,Yt,Qt],"svg"),Et={}.hasOwnProperty;function fn(t,e){const r=e||{};function n(i,...o){let a=n.invalid;const u=n.handlers;if(i&&Et.call(i,t)){const s=String(i[t]);a=Et.call(u,s)?u[s]:n.unknown}if(a)return a.call(this,i,...o)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const gn=/["&'<>`]/g,yn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,En=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,vn=/[|\\{}()[\]^$+*?.]/g,vt=new WeakMap;function Rn(t,e){if(t=t.replace(e.subset?Ln(e.subset):gn,n),e.subset||e.escapeOnly)return t;return t.replace(yn,r).replace(En,n);function r(i,o,a){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(o+2),e)}function n(i,o,a){return e.format(i.charCodeAt(0),a.charCodeAt(o+1),e)}}function Ln(t){let e=vt.get(t);return e||(e=An(t),vt.set(t,e)),e}function An(t){const e=[];let r=-1;for(;++r<t.length;)e.push(t[r].replace(vn,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const bn=/[\dA-Fa-f]/;function Tn(t,e,r){const n="&#x"+t.toString(16).toUpperCase();return r&&e&&!bn.test(String.fromCharCode(e))?n:n+";"}const Sn=/\d/;function Pn(t,e,r){const n="&#"+String(t);return r&&e&&!Sn.test(String.fromCharCode(e))?n:n+";"}const In=["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"],De={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},On=["cent","copy","divide","gt","lt","not","para","times"],er={}.hasOwnProperty,qe={};let le;for(le in De)er.call(De,le)&&(qe[De[le]]=le);const Cn=/[^\dA-Za-z]/;function kn(t,e,r,n){const i=String.fromCharCode(t);if(er.call(qe,i)){const o=qe[i],a="&"+o;return r&&In.includes(o)&&!On.includes(o)&&(!n||e&&e!==61&&Cn.test(String.fromCharCode(e)))?a:a+";"}return""}function wn(t,e,r){let n=Tn(t,e,r.omitOptionalSemicolons),i;if((r.useNamedReferences||r.useShortestReferences)&&(i=kn(t,e,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!i)&&r.useShortestReferences){const o=Pn(t,e,r.omitOptionalSemicolons);o.length<n.length&&(n=o)}return i&&(!r.useShortestReferences||i.length<n.length)?i:n}function K(t,e){return Rn(t,Object.assign({format:wn},e))}const Dn=/^>|^->|<!--|-->|--!>|<!-$/g,Nn=[">"],xn=["<",">"];function Vn(t,e,r,n){return n.settings.bogusComments?"<?"+K(t.value,Object.assign({},n.settings.characterReferences,{subset:Nn}))+">":"<!--"+t.value.replace(Dn,i)+"-->";function i(o){return K(o,Object.assign({},n.settings.characterReferences,{subset:xn}))}}function Mn(t,e,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}function Rt(t,e){const r=String(t);if(typeof e!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(e);for(;i!==-1;)n++,i=r.indexOf(e,i+e.length);return n}function Bn(t,e){const r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}function Gn(t){return t.join(" ").trim()}const jn=/[ \t\n\f\r]/g;function Ye(t){return typeof t=="object"?t.type==="text"?Lt(t.value):!1:Lt(t)}function Lt(t){return t.replace(jn,"")===""}const O=rr(1),tr=rr(-1),$n=[];function rr(t){return e;function e(r,n,i){const o=r?r.children:$n;let a=(n||0)+t,u=o[a];if(!i)for(;u&&Ye(u);)a+=t,u=o[a];return u}}const Un={}.hasOwnProperty;function nr(t){return e;function e(r,n,i){return Un.call(t,r.tagName)&&t[r.tagName](r,n,i)}}const Qe=nr({body:Hn,caption:Ne,colgroup:Ne,dd:Kn,dt:qn,head:Ne,html:Fn,li:zn,optgroup:Jn,option:Xn,p:Wn,rp:At,rt:At,tbody:Qn,td:bt,tfoot:Zn,th:bt,thead:Yn,tr:ei});function Ne(t,e,r){const n=O(r,e,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&Ye(n.value.charAt(0)))}function Fn(t,e,r){const n=O(r,e);return!n||n.type!=="comment"}function Hn(t,e,r){const n=O(r,e);return!n||n.type!=="comment"}function Wn(t,e,r){const n=O(r,e);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function zn(t,e,r){const n=O(r,e);return!n||n.type==="element"&&n.tagName==="li"}function qn(t,e,r){const n=O(r,e);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function Kn(t,e,r){const n=O(r,e);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function At(t,e,r){const n=O(r,e);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function Jn(t,e,r){const n=O(r,e);return!n||n.type==="element"&&n.tagName==="optgroup"}function Xn(t,e,r){const n=O(r,e);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function Yn(t,e,r){const n=O(r,e);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function Qn(t,e,r){const n=O(r,e);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function Zn(t,e,r){return!O(r,e)}function ei(t,e,r){const n=O(r,e);return!n||n.type==="element"&&n.tagName==="tr"}function bt(t,e,r){const n=O(r,e);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const ti=nr({body:ii,colgroup:oi,head:ni,html:ri,tbody:ai});function ri(t){const e=O(t,-1);return!e||e.type!=="comment"}function ni(t){const e=new Set;for(const n of t.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(e.has(n.tagName))return!1;e.add(n.tagName)}const r=t.children[0];return!r||r.type==="element"}function ii(t){const e=O(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ye(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function oi(t,e,r){const n=tr(r,e),i=O(t,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&Qe(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function ai(t,e,r){const n=tr(r,e),i=O(t,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&Qe(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const ue={name:[[`
5
+ \f\r &/=>`.split(""),`
6
+ \f\r "&'/=>\``.split("")],[`\0
7
+ \f\r "&'/<=>`.split(""),`\0
8
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
9
+ \f\r &>`.split(""),`\0
10
+ \f\r "&'<=>\``.split("")],[`\0
11
+ \f\r "&'<=>\``.split(""),`\0
12
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function si(t,e,r,n){const i=n.schema,o=i.space==="svg"?!1:n.settings.omitOptionalTags;let a=i.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(t.tagName.toLowerCase());const u=[];let s;i.space==="html"&&t.tagName==="svg"&&(n.schema=Zt);const c=li(n,t.properties),m=n.all(i.space==="html"&&t.tagName==="template"?t.content:t);return n.schema=i,m&&(a=!1),(c||!o||!ti(t,e,r))&&(u.push("<",t.tagName,c?" "+c:""),a&&(i.space==="svg"||n.settings.closeSelfClosing)&&(s=c.charAt(c.length-1),(!n.settings.tightSelfClosing||s==="/"||s&&s!=='"'&&s!=="'")&&u.push(" "),u.push("/")),u.push(">")),u.push(m),!a&&(!o||!Qe(t,e,r))&&u.push("</"+t.tagName+">"),u.join("")}function li(t,e){const r=[];let n=-1,i;if(e){for(i in e)if(e[i]!==null&&e[i]!==void 0){const o=ui(t,i,e[i]);o&&r.push(o)}}for(;++n<r.length;){const o=t.settings.tightAttributes?r[n].charAt(r[n].length-1):void 0;n!==r.length-1&&o!=='"'&&o!=="'"&&(r[n]+=" ")}return r.join("")}function ui(t,e,r){const n=pn(t.schema,e),i=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,o=t.settings.allowDangerousCharacters?0:1;let a=t.quote,u;if(n.overloadedBoolean&&(r===n.attribute||r==="")?r=!0:(n.boolean||n.overloadedBoolean)&&(typeof r!="string"||r===n.attribute||r==="")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";const s=K(n.attribute,Object.assign({},t.settings.characterReferences,{subset:ue.name[i][o]}));return r===!0||(r=Array.isArray(r)?(n.commaSeparated?Bn:Gn)(r,{padLeft:!t.settings.tightCommaSeparatedLists}):String(r),t.settings.collapseEmptyAttributes&&!r)?s:(t.settings.preferUnquoted&&(u=K(r,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:ue.unquoted[i][o]}))),u!==r&&(t.settings.quoteSmart&&Rt(r,a)>Rt(r,t.alternative)&&(a=t.alternative),u=a+K(r,Object.assign({},t.settings.characterReferences,{subset:(a==="'"?ue.single:ue.double)[i][o],attribute:!0}))+a),s+(u&&"="+u))}const ci=["<","&"];function ir(t,e,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?t.value:K(t.value,Object.assign({},n.settings.characterReferences,{subset:ci}))}function mi(t,e,r,n){return n.settings.allowDangerousHtml?t.value:ir(t,e,r,n)}function pi(t,e,r,n){return n.all(t)}const di=fn("type",{invalid:hi,unknown:_i,handlers:{comment:Vn,doctype:Mn,element:si,raw:mi,root:pi,text:ir}});function hi(t){throw new Error("Expected node, not `"+t+"`")}function _i(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}const fi={},gi={},yi=[];function Ei(t,e){const r=e||fi,n=r.quote||'"',i=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:vi,all:Ri,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||an,characterReferences:r.characterReferences||gi,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?Zt:_n,quote:n,alternative:i}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function vi(t,e,r){return di(t,e,r,this)}function Ri(t){const e=[],r=t&&t.children||yi;let n=-1;for(;++n<r.length;)e[n]=this.one(r[n],n,t);return e.join("")}function ye(t,e){const r=typeof t=="string"?{}:{...t.colorReplacements},n=typeof t=="string"?t:t.name;for(const[i,o]of Object.entries(e?.colorReplacements||{}))typeof o=="string"?r[i]=o:i===n&&Object.assign(r,o);return r}function j(t,e){return t&&(e?.[t?.toLowerCase()]||t)}function Li(t){return Array.isArray(t)?t:[t]}async function or(t){return Promise.resolve(typeof t=="function"?t():t).then(e=>e.default||e)}function Ze(t){return!t||["plaintext","txt","text","plain"].includes(t)}function ar(t){return t==="ansi"||Ze(t)}function et(t){return t==="none"}function sr(t){return et(t)}function lr(t,e){if(!e)return t;t.properties||={},t.properties.class||=[],typeof t.properties.class=="string"&&(t.properties.class=t.properties.class.split(/\s+/g)),Array.isArray(t.properties.class)||(t.properties.class=[]);const r=Array.isArray(e)?e:e.split(/\s+/g);for(const n of r)n&&!t.properties.class.includes(n)&&t.properties.class.push(n);return t}function Ae(t,e=!1){if(t.length===0)return[["",0]];const r=t.split(/(\r?\n)/g);let n=0;const i=[];for(let o=0;o<r.length;o+=2){const a=e?r[o]+(r[o+1]||""):r[o];i.push([a,n]),n+=r[o].length,n+=r[o+1]?.length||0}return i}function Ai(t){const e=Ae(t,!0).map(([i])=>i);function r(i){if(i===t.length)return{line:e.length-1,character:e[e.length-1].length};let o=i,a=0;for(const u of e){if(o<u.length)break;o-=u.length,a++}return{line:a,character:o}}function n(i,o){let a=0;for(let u=0;u<i;u++)a+=e[u].length;return a+=o,a}return{lines:e,indexToPos:r,posToIndex:n}}const tt="light-dark()",bi=["color","background-color"];function Ti(t,e){let r=0;const n=[];for(const i of e)i>r&&n.push({...t,content:t.content.slice(r,i),offset:t.offset+r}),r=i;return r<t.content.length&&n.push({...t,content:t.content.slice(r),offset:t.offset+r}),n}function Si(t,e){const r=Array.from(e instanceof Set?e:new Set(e)).sort((n,i)=>n-i);return r.length?t.map(n=>n.flatMap(i=>{const o=r.filter(a=>i.offset<a&&a<i.offset+i.content.length).map(a=>a-i.offset).sort((a,u)=>a-u);return o.length?Ti(i,o):i})):t}function Pi(t,e,r,n,i="css-vars"){const o={content:t.content,explanation:t.explanation,offset:t.offset},a=e.map(m=>Ee(t.variants[m])),u=new Set(a.flatMap(m=>Object.keys(m))),s={},c=(m,p)=>{const _=p==="color"?"":p==="background-color"?"-bg":`-${p}`;return r+e[m]+(p==="color"?"":_)};return a.forEach((m,p)=>{for(const _ of u){const d=m[_]||"inherit";if(p===0&&n&&bi.includes(_))if(n===tt&&a.length>1){const h=e.findIndex(v=>v==="light"),E=e.findIndex(v=>v==="dark");if(h===-1||E===-1)throw new P('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const R=a[h][_]||"inherit",y=a[E][_]||"inherit";s[_]=`light-dark(${R}, ${y})`,i==="css-vars"&&(s[c(p,_)]=d)}else s[_]=d;else i==="css-vars"&&(s[c(p,_)]=d)}}),o.htmlStyle=s,o}function Ee(t){const e={};if(t.color&&(e.color=t.color),t.bgColor&&(e["background-color"]=t.bgColor),t.fontStyle){t.fontStyle&w.Italic&&(e["font-style"]="italic"),t.fontStyle&w.Bold&&(e["font-weight"]="bold");const r=[];t.fontStyle&w.Underline&&r.push("underline"),t.fontStyle&w.Strikethrough&&r.push("line-through"),r.length&&(e["text-decoration"]=r.join(" "))}return e}function Ke(t){return typeof t=="string"?t:Object.entries(t).map(([e,r])=>`${e}:${r}`).join(";")}const ur=new WeakMap;function be(t,e){ur.set(t,e)}function ie(t){return ur.get(t)}class Y{_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,r){return new Y(Object.fromEntries(Li(r).map(n=>[n,Fe])),e)}constructor(...e){if(e.length===2){const[r,n]=e;this.lang=n,this._stacks=r}else{const[r,n,i]=e;this.lang=n,this._stacks={[i]:r}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return Ii(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function Ii(t){const e=[],r=new Set;function n(i){if(r.has(i))return;r.add(i);const o=i?.nameScopesList?.scopeName;o&&e.push(o),i.parent&&n(i.parent)}return n(t),e}function Oi(t,e){if(!(t instanceof Y))throw new P("Invalid grammar state");return t.getInternalStack(e)}function Ci(){const t=new WeakMap;function e(r){if(!t.has(r.meta)){let n=function(a){if(typeof a=="number"){if(a<0||a>r.source.length)throw new P(`Invalid decoration offset: ${a}. Code length: ${r.source.length}`);return{...i.indexToPos(a),offset:a}}else{const u=i.lines[a.line];if(u===void 0)throw new P(`Invalid decoration position ${JSON.stringify(a)}. Lines length: ${i.lines.length}`);let s=a.character;if(s<0&&(s=u.length+s),s<0||s>u.length)throw new P(`Invalid decoration position ${JSON.stringify(a)}. Line ${a.line} length: ${u.length}`);return{...a,character:s,offset:i.posToIndex(a.line,s)}}};const i=Ai(r.source),o=(r.options.decorations||[]).map(a=>({...a,start:n(a.start),end:n(a.end)}));ki(o),t.set(r.meta,{decorations:o,converter:i,source:r.source})}return t.get(r.meta)}return{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const i=e(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return Si(r,i)},code(r){if(!this.options.decorations?.length)return;const n=e(this),i=Array.from(r.children).filter(m=>m.type==="element"&&m.tagName==="span");if(i.length!==n.converter.lines.length)throw new P(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function o(m,p,_,d){const h=i[m];let E="",R=-1,y=-1;if(p===0&&(R=0),_===0&&(y=0),_===Number.POSITIVE_INFINITY&&(y=h.children.length),R===-1||y===-1)for(let g=0;g<h.children.length;g++)E+=cr(h.children[g]),R===-1&&E.length===p&&(R=g+1),y===-1&&E.length===_&&(y=g+1);if(R===-1)throw new P(`Failed to find start index for decoration ${JSON.stringify(d.start)}`);if(y===-1)throw new P(`Failed to find end index for decoration ${JSON.stringify(d.end)}`);const v=h.children.slice(R,y);if(!d.alwaysWrap&&v.length===h.children.length)u(h,d,"line");else if(!d.alwaysWrap&&v.length===1&&v[0].type==="element")u(v[0],d,"token");else{const g={type:"element",tagName:"span",properties:{},children:v};u(g,d,"wrapper"),h.children.splice(R,v.length,g)}}function a(m,p){i[m]=u(i[m],p,"line")}function u(m,p,_){const d=p.properties||{},h=p.transform||(E=>E);return m.tagName=p.tagName||"span",m.properties={...m.properties,...d,class:m.properties.class},p.properties?.class&&lr(m,p.properties.class),m=h(m,_)||m,m}const s=[],c=n.decorations.sort((m,p)=>p.start.offset-m.start.offset||m.end.offset-p.end.offset);for(const m of c){const{start:p,end:_}=m;if(p.line===_.line)o(p.line,p.character,_.character,m);else if(p.line<_.line){o(p.line,p.character,Number.POSITIVE_INFINITY,m);for(let d=p.line+1;d<_.line;d++)s.unshift(()=>a(d,m));o(_.line,0,_.character,m)}}s.forEach(m=>m())}}}function ki(t){for(let e=0;e<t.length;e++){const r=t[e];if(r.start.offset>r.end.offset)throw new P(`Invalid decoration range: ${JSON.stringify(r.start)} - ${JSON.stringify(r.end)}`);for(let n=e+1;n<t.length;n++){const i=t[n],o=r.start.offset<=i.start.offset&&i.start.offset<r.end.offset,a=r.start.offset<i.end.offset&&i.end.offset<=r.end.offset,u=i.start.offset<=r.start.offset&&r.start.offset<i.end.offset,s=i.start.offset<r.end.offset&&r.end.offset<=i.end.offset;if(o||a||u||s){if(o&&a||u&&s||u&&r.start.offset===r.end.offset||a&&i.start.offset===i.end.offset)continue;throw new P(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(i.start)} intersect.`)}}}}function cr(t){return t.type==="text"?t.value:t.type==="element"?t.children.map(cr).join(""):""}const wi=[Ci()];function ve(t){const e=Di(t.transformers||[]);return[...e.pre,...e.normal,...e.post,...wi]}function Di(t){const e=[],r=[],n=[];for(const i of t)switch(i.enforce){case"pre":e.push(i);break;case"post":r.push(i);break;default:n.push(i)}return{pre:e,post:r,normal:n}}var F=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],xe={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function Ni(t,e){const r=t.indexOf("\x1B",e);if(r!==-1&&t[r+1]==="["){const n=t.indexOf("m",r);if(n!==-1)return{sequence:t.substring(r+2,n).split(";"),startPosition:r,position:n+1}}return{position:t.length}}function Tt(t){const e=t.shift();if(e==="2"){const r=t.splice(0,3).map(n=>Number.parseInt(n));return r.length!==3||r.some(n=>Number.isNaN(n))?void 0:{type:"rgb",rgb:r}}else if(e==="5"){const r=t.shift();if(r)return{type:"table",index:Number(r)}}}function xi(t){const e=[];for(;t.length>0;){const r=t.shift();if(!r)continue;const n=Number.parseInt(r);if(!Number.isNaN(n))if(n===0)e.push({type:"resetAll"});else if(n<=9)xe[n]&&e.push({type:"setDecoration",value:xe[n]});else if(n<=29){const i=xe[n-20];i&&(e.push({type:"resetDecoration",value:i}),i==="dim"&&e.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)e.push({type:"setForegroundColor",value:{type:"named",name:F[n-30]}});else if(n===38){const i=Tt(t);i&&e.push({type:"setForegroundColor",value:i})}else if(n===39)e.push({type:"resetForegroundColor"});else if(n<=47)e.push({type:"setBackgroundColor",value:{type:"named",name:F[n-40]}});else if(n===48){const i=Tt(t);i&&e.push({type:"setBackgroundColor",value:i})}else n===49?e.push({type:"resetBackgroundColor"}):n===53?e.push({type:"setDecoration",value:"overline"}):n===55?e.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?e.push({type:"setForegroundColor",value:{type:"named",name:F[n-90+8]}}):n>=100&&n<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:F[n-100+8]}})}return e}function Vi(){let t=null,e=null,r=new Set;return{parse(n){const i=[];let o=0;do{const a=Ni(n,o),u=a.sequence?n.substring(o,a.startPosition):n.substring(o);if(u.length>0&&i.push({value:u,foreground:t,background:e,decorations:new Set(r)}),a.sequence){const s=xi(a.sequence);for(const c of s)c.type==="resetAll"?(t=null,e=null,r.clear()):c.type==="resetForegroundColor"?t=null:c.type==="resetBackgroundColor"?e=null:c.type==="resetDecoration"&&r.delete(c.value);for(const c of s)c.type==="setForegroundColor"?t=c.value:c.type==="setBackgroundColor"?e=c.value:c.type==="setDecoration"&&r.add(c.value)}o=a.position}while(o<n.length);return i}}}var Mi={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 Bi(t=Mi){function e(u){return t[u]}function r(u){return`#${u.map(s=>Math.max(0,Math.min(s,255)).toString(16).padStart(2,"0")).join("")}`}let n;function i(){if(n)return n;n=[];for(let c=0;c<F.length;c++)n.push(e(F[c]));let u=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let m=0;m<6;m++)for(let p=0;p<6;p++)n.push(r([u[c],u[m],u[p]]));let s=8;for(let c=0;c<24;c++,s+=10)n.push(r([s,s,s]));return n}function o(u){return i()[u]}function a(u){switch(u.type){case"named":return e(u.name);case"rgb":return r(u.rgb);case"table":return o(u.index)}}return{value:a}}const Gi={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function ji(t,e,r){const n=ye(t,r),i=Ae(e),o=Object.fromEntries(F.map(s=>{const c=`terminal.ansi${s[0].toUpperCase()}${s.substring(1)}`,m=t.colors?.[c];return[s,m||Gi[s]]})),a=Bi(o),u=Vi();return i.map(s=>u.parse(s[0]).map(c=>{let m,p;c.decorations.has("reverse")?(m=c.background?a.value(c.background):t.bg,p=c.foreground?a.value(c.foreground):t.fg):(m=c.foreground?a.value(c.foreground):t.fg,p=c.background?a.value(c.background):void 0),m=j(m,n),p=j(p,n),c.decorations.has("dim")&&(m=$i(m));let _=w.None;return c.decorations.has("bold")&&(_|=w.Bold),c.decorations.has("italic")&&(_|=w.Italic),c.decorations.has("underline")&&(_|=w.Underline),c.decorations.has("strikethrough")&&(_|=w.Strikethrough),{content:c.value,offset:s[1],color:m,bgColor:p,fontStyle:_}}))}function $i(t){const e=t.match(/#([0-9a-f]{3,8})/i);if(e){const n=e[1];if(n.length===8){const i=Math.round(Number.parseInt(n.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${n.slice(0,6)}${i}`}else{if(n.length===6)return`#${n}80`;if(n.length===4){const i=n[0],o=n[1],a=n[2],u=n[3],s=Math.round(Number.parseInt(`${u}${u}`,16)/2).toString(16).padStart(2,"0");return`#${i}${i}${o}${o}${a}${a}${s}`}else if(n.length===3){const i=n[0],o=n[1],a=n[2];return`#${i}${i}${o}${o}${a}${a}80`}}}const r=t.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:t}function rt(t,e,r={}){const{theme:n=t.getLoadedThemes()[0]}=r,i=t.resolveLangAlias(r.lang||"text");if(Ze(i)||et(n))return Ae(e).map(s=>[{content:s[0],offset:s[1]}]);const{theme:o,colorMap:a}=t.setTheme(n);if(i==="ansi")return ji(o,e,r);const u=t.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==u.name)throw new P(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${u.name}"`);if(!r.grammarState.themes.includes(o.name))throw new P(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${o.name}"`)}return Fi(e,u,o,a,r)}function Ui(...t){if(t.length===2)return ie(t[1]);const[e,r,n={}]=t,{lang:i="text",theme:o=e.getLoadedThemes()[0]}=n;if(Ze(i)||et(o))throw new P("Plain language does not have grammar state");if(i==="ansi")throw new P("ANSI language does not have grammar state");const{theme:a,colorMap:u}=e.setTheme(o),s=e.getLanguage(i);return new Y(nt(r,s,a,u,n).stateStack,s.name,a.name)}function Fi(t,e,r,n,i){const o=nt(t,e,r,n,i),a=new Y(o.stateStack,e.name,r.name);return be(o.tokens,a),o.tokens}function nt(t,e,r,n,i){const o=ye(r,i),{tokenizeMaxLineLength:a=0,tokenizeTimeLimit:u=500}=i,s=Ae(t);let c=i.grammarState?Oi(i.grammarState,r.name)??Fe:i.grammarContextCode!=null?nt(i.grammarContextCode,e,r,n,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:Fe,m=[];const p=[];for(let _=0,d=s.length;_<d;_++){const[h,E]=s[_];if(h===""){m=[],p.push([]);continue}if(a>0&&h.length>=a){m=[],p.push([{content:h,offset:E,color:"",fontStyle:0}]);continue}let R,y,v;i.includeExplanation&&(R=e.tokenizeLine(h,c,u),y=R.tokens,v=0);const g=e.tokenizeLine2(h,c,u),A=g.tokens.length/2;for(let T=0;T<A;T++){const N=g.tokens[2*T],$=T+1<A?g.tokens[2*T+2]:h.length;if(N===$)continue;const at=g.tokens[2*T+1],gr=j(n[J.getForeground(at)],o),yr=J.getFontStyle(at),Pe={content:h.substring(N,$),offset:E+N,color:gr,fontStyle:yr};if(i.includeExplanation){const st=[];if(i.includeExplanation!=="scopeName")for(const G of r.settings){let W;switch(typeof G.scope){case"string":W=G.scope.split(/,/).map(Ie=>Ie.trim());break;case"object":W=G.scope;break;default:continue}st.push({settings:G,selectors:W.map(Ie=>Ie.split(/ /))})}Pe.explanation=[];let lt=0;for(;N+lt<$;){const G=y[v],W=h.substring(G.startIndex,G.endIndex);lt+=W.length,Pe.explanation.push({content:W,scopes:i.includeExplanation==="scopeName"?Hi(G.scopes):Wi(st,G.scopes)}),v+=1}}m.push(Pe)}p.push(m),m=[],c=g.ruleStack}return{tokens:p,stateStack:c}}function Hi(t){return t.map(e=>({scopeName:e}))}function Wi(t,e){const r=[];for(let n=0,i=e.length;n<i;n++){const o=e[n];r[n]={scopeName:o,themeMatches:qi(t,o,e.slice(0,n))}}return r}function St(t,e){return t===e||e.substring(0,t.length)===t&&e[t.length]==="."}function zi(t,e,r){if(!St(t[t.length-1],e))return!1;let n=t.length-2,i=r.length-1;for(;n>=0&&i>=0;)St(t[n],r[i])&&(n-=1),i-=1;return n===-1}function qi(t,e,r){const n=[];for(const{selectors:i,settings:o}of t)for(const a of i)if(zi(a,e,r)){n.push(o);break}return n}function mr(t,e,r){const n=Object.entries(r.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),i=n.map(s=>{const c=rt(t,e,{...r,theme:s.theme}),m=ie(c),p=typeof s.theme=="string"?s.theme:s.theme.name;return{tokens:c,state:m,theme:p}}),o=Ki(...i.map(s=>s.tokens)),a=o[0].map((s,c)=>s.map((m,p)=>{const _={content:m.content,variants:{},offset:m.offset};return"includeExplanation"in r&&r.includeExplanation&&(_.explanation=m.explanation),o.forEach((d,h)=>{const{content:E,explanation:R,offset:y,...v}=d[c][p];_.variants[n[h].color]=v}),_})),u=i[0].state?new Y(Object.fromEntries(i.map(s=>[s.theme,s.state?.getInternalStack(s.theme)])),i[0].state.lang):void 0;return u&&be(a,u),a}function Ki(...t){const e=t.map(()=>[]),r=t.length;for(let n=0;n<t[0].length;n++){const i=t.map(s=>s[n]),o=e.map(()=>[]);e.forEach((s,c)=>s.push(o[c]));const a=i.map(()=>0),u=i.map(s=>s[0]);for(;u.every(s=>s);){const s=Math.min(...u.map(c=>c.content.length));for(let c=0;c<r;c++){const m=u[c];m.content.length===s?(o[c].push(m),a[c]+=1,u[c]=i[c][a[c]]):(o[c].push({...m,content:m.content.slice(0,s)}),u[c]={...m,content:m.content.slice(s),offset:m.offset+s})}}}return e}function Re(t,e,r){let n,i,o,a,u,s;if("themes"in r){const{defaultColor:c="light",cssVariablePrefix:m="--shiki-",colorsRendering:p="css-vars"}=r,_=Object.entries(r.themes).filter(y=>y[1]).map(y=>({color:y[0],theme:y[1]})).sort((y,v)=>y.color===c?-1:v.color===c?1:0);if(_.length===0)throw new P("`themes` option must not be empty");const d=mr(t,e,r);if(s=ie(d),c&&tt!==c&&!_.find(y=>y.color===c))throw new P(`\`themes\` option must contain the defaultColor key \`${c}\``);const h=_.map(y=>t.getTheme(y.theme)),E=_.map(y=>y.color);o=d.map(y=>y.map(v=>Pi(v,E,m,c,p))),s&&be(o,s);const R=_.map(y=>ye(y.theme,r));i=Pt(_,h,R,m,c,"fg",p),n=Pt(_,h,R,m,c,"bg",p),a=`shiki-themes ${h.map(y=>y.name).join(" ")}`,u=c?void 0:[i,n].join(";")}else if("theme"in r){const c=ye(r.theme,r);o=rt(t,e,r);const m=t.getTheme(r.theme);n=j(m.bg,c),i=j(m.fg,c),a=m.name,s=ie(o)}else throw new P("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:i,bg:n,themeName:a,rootStyle:u,grammarState:s}}function Pt(t,e,r,n,i,o,a){return t.map((u,s)=>{const c=j(e[s][o],r[s])||"inherit",m=`${n+u.color}${o==="bg"?"-bg":""}:${c}`;if(s===0&&i){if(i===tt&&t.length>1){const p=t.findIndex(E=>E.color==="light"),_=t.findIndex(E=>E.color==="dark");if(p===-1||_===-1)throw new P('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const d=j(e[p][o],r[p])||"inherit",h=j(e[_][o],r[_])||"inherit";return`light-dark(${d}, ${h});${m}`}return c}return a==="css-vars"?m:null}).filter(u=>!!u).join(";")}function Le(t,e,r,n={meta:{},options:r,codeToHast:(i,o)=>Le(t,i,o),codeToTokens:(i,o)=>Re(t,i,o)}){let i=e;for(const h of ve(r))i=h.preprocess?.call(n,i,r)||i;let{tokens:o,fg:a,bg:u,themeName:s,rootStyle:c,grammarState:m}=Re(t,i,r);const{mergeWhitespaces:p=!0,mergeSameStyleTokens:_=!1}=r;p===!0?o=Xi(o):p==="never"&&(o=Yi(o)),_&&(o=Qi(o));const d={...n,get source(){return i}};for(const h of ve(r))o=h.tokens?.call(d,o)||o;return Ji(o,{...r,fg:a,bg:u,themeName:s,rootStyle:r.rootStyle===!1?!1:r.rootStyle??c},d,m)}function Ji(t,e,r,n=ie(t)){const i=ve(e),o=[],a={type:"root",children:[]},{structure:u="classic",tabindex:s="0"}=e,c={class:`shiki ${e.themeName||""}`};e.rootStyle!==!1&&(e.rootStyle!=null?c.style=e.rootStyle:c.style=`background-color:${e.bg};color:${e.fg}`),s!==!1&&s!=null&&(c.tabindex=s.toString());for(const[E,R]of Object.entries(e.meta||{}))E.startsWith("_")||(c[E]=R);let m={type:"element",tagName:"pre",properties:c,children:[],data:e.data},p={type:"element",tagName:"code",properties:{},children:o};const _=[],d={...r,structure:u,addClassToHast:lr,get source(){return r.source},get tokens(){return t},get options(){return e},get root(){return a},get pre(){return m},get code(){return p},get lines(){return _}};if(t.forEach((E,R)=>{R&&(u==="inline"?a.children.push({type:"element",tagName:"br",properties:{},children:[]}):u==="classic"&&o.push({type:"text",value:`
13
+ `}));let y={type:"element",tagName:"span",properties:{class:"line"},children:[]},v=0;for(const g of E){let A={type:"element",tagName:"span",properties:{...g.htmlAttrs},children:[{type:"text",value:g.content}]};const T=Ke(g.htmlStyle||Ee(g));T&&(A.properties.style=T);for(const N of i)A=N?.span?.call(d,A,R+1,v,y,g)||A;u==="inline"?a.children.push(A):u==="classic"&&y.children.push(A),v+=g.content.length}if(u==="classic"){for(const g of i)y=g?.line?.call(d,y,R+1)||y;_.push(y),o.push(y)}else u==="inline"&&_.push(y)}),u==="classic"){for(const E of i)p=E?.code?.call(d,p)||p;m.children.push(p);for(const E of i)m=E?.pre?.call(d,m)||m;a.children.push(m)}else if(u==="inline"){const E=[];let R={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const g of a.children)g.type==="element"&&g.tagName==="br"?(E.push(R),R={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(g.type==="element"||g.type==="text")&&R.children.push(g);E.push(R);let v={type:"element",tagName:"code",properties:{},children:E};for(const g of i)v=g?.code?.call(d,v)||v;a.children=[];for(let g=0;g<v.children.length;g++){g>0&&a.children.push({type:"element",tagName:"br",properties:{},children:[]});const A=v.children[g];A.type==="element"&&a.children.push(...A.children)}}let h=a;for(const E of i)h=E?.root?.call(d,h)||h;return n&&be(h,n),h}function Xi(t){return t.map(e=>{const r=[];let n="",i;return e.forEach((o,a)=>{const s=!(o.fontStyle&&(o.fontStyle&w.Underline||o.fontStyle&w.Strikethrough));s&&o.content.match(/^\s+$/)&&e[a+1]?(i===void 0&&(i=o.offset),n+=o.content):n?(s?r.push({...o,offset:i,content:n+o.content}):r.push({content:n,offset:i},o),i=void 0,n=""):r.push(o)}),r})}function Yi(t){return t.map(e=>e.flatMap(r=>{if(r.content.match(/^\s+$/))return r;const n=r.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return r;const[,i,o,a]=n;if(!i&&!a)return r;const u=[{...r,offset:r.offset+i.length,content:o}];return i&&u.unshift({content:i,offset:r.offset}),a&&u.push({content:a,offset:r.offset+i.length+o.length}),u}))}function Qi(t){return t.map(e=>{const r=[];for(const n of e){if(r.length===0){r.push({...n});continue}const i=r[r.length-1],o=Ke(i.htmlStyle||Ee(i)),a=Ke(n.htmlStyle||Ee(n)),u=i.fontStyle&&(i.fontStyle&w.Underline||i.fontStyle&w.Strikethrough),s=n.fontStyle&&(n.fontStyle&w.Underline||n.fontStyle&w.Strikethrough);!u&&!s&&o===a?i.content+=n.content:r.push({...n})}return r})}const Zi=Ei;function eo(t,e,r){const n={meta:{},options:r,codeToHast:(o,a)=>Le(t,o,a),codeToTokens:(o,a)=>Re(t,o,a)};let i=Zi(Le(t,e,r,n));for(const o of ve(r))i=o.postprocess?.call(n,i,r)||i;return i}const It={light:"#333333",dark:"#bbbbbb"},Ot={light:"#fffffe",dark:"#1e1e1e"},Ct="__shiki_resolved";function it(t){if(t?.[Ct])return t;const e={...t};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||="dark",e.colorReplacements={...e.colorReplacements},e.settings||=[];let{bg:r,fg:n}=e;if(!r||!n){const u=e.settings?e.settings.find(s=>!s.name&&!s.scope):void 0;u?.settings?.foreground&&(n=u.settings.foreground),u?.settings?.background&&(r=u.settings.background),!n&&e?.colors?.["editor.foreground"]&&(n=e.colors["editor.foreground"]),!r&&e?.colors?.["editor.background"]&&(r=e.colors["editor.background"]),n||(n=e.type==="light"?It.light:It.dark),r||(r=e.type==="light"?Ot.light:Ot.dark),e.fg=n,e.bg=r}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let i=0;const o=new Map;function a(u){if(o.has(u))return o.get(u);i+=1;const s=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return e.colorReplacements?.[`#${s}`]?a(u):(o.set(u,s),s)}e.settings=e.settings.map(u=>{const s=u.settings?.foreground&&!u.settings.foreground.startsWith("#"),c=u.settings?.background&&!u.settings.background.startsWith("#");if(!s&&!c)return u;const m={...u,settings:{...u.settings}};if(s){const p=a(u.settings.foreground);e.colorReplacements[p]=u.settings.foreground,m.settings.foreground=p}if(c){const p=a(u.settings.background);e.colorReplacements[p]=u.settings.background,m.settings.background=p}return m});for(const u of Object.keys(e.colors||{}))if((u==="editor.foreground"||u==="editor.background"||u.startsWith("terminal.ansi"))&&!e.colors[u]?.startsWith("#")){const s=a(e.colors[u]);e.colorReplacements[s]=e.colors[u],e.colors[u]=s}return Object.defineProperty(e,Ct,{enumerable:!1,writable:!1,value:!0}),e}async function pr(t){return Array.from(new Set((await Promise.all(t.filter(e=>!ar(e)).map(async e=>await or(e).then(r=>Array.isArray(r)?r:[r])))).flat()))}async function dr(t){return(await Promise.all(t.map(async r=>sr(r)?null:it(await or(r))))).filter(r=>!!r)}let to=3;function ro(t,e=3){e>to||console.trace(`[SHIKI DEPRECATE]: ${t}`)}let z=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function hr(t,e){if(!e)return t;if(e[t]){const r=new Set([t]);for(;e[t];){if(t=e[t],r.has(t))throw new z(`Circular alias \`${Array.from(r).join(" -> ")} -> ${t}\``);r.add(t)}}return t}class no extends on{constructor(e,r,n,i={}){super(e),this._resolver=e,this._themes=r,this._langs=n,this._alias=i,this._themes.map(o=>this.loadTheme(o)),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 typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const r=it(e);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let r=this._textmateThemeCache.get(e);r||(r=de.createFromRawTheme(e),this._textmateThemeCache.set(e,r)),this._syncRegistry.setTheme(r)}getGrammar(e){return e=hr(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const r=new Set([...this._langMap.values()].filter(o=>o.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const i=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(i.name=e.name,this._resolvedGrammars.set(e.name,i),e.aliases&&e.aliases.forEach(o=>{this._alias[o]=e.name}),this._loadedLanguagesCache=null,r.size)for(const o of r)this._resolvedGrammars.delete(o.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(o.scopeName),this._syncRegistry?._grammars?.delete(o.scopeName),this.loadLanguage(this._langMap.get(o.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const i of e)this.resolveEmbeddedLanguages(i);const r=Array.from(this._langGraph.entries()),n=r.filter(([i,o])=>!o);if(n.length){const i=r.filter(([o,a])=>a?(a.embeddedLanguages||a.embeddedLangs)?.some(s=>n.map(([c])=>c).includes(s)):!1).filter(o=>!n.includes(o));throw new z(`Missing languages ${n.map(([o])=>`\`${o}\``).join(", ")}, required by ${i.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[i,o]of r)this._resolver.addLanguage(o);for(const[i,o]of r)this.loadLanguage(o)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const r=e.embeddedLanguages??e.embeddedLangs;if(r)for(const n of r)this._langGraph.set(n,this._langMap.get(n))}}class io{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,r){this._onigLib={createOnigScanner:n=>e.createScanner(n),createOnigString:n=>e.createString(n)},r.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(r=>{this._langs.set(r,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(r=>{this._injections.get(r)||this._injections.set(r,[]),this._injections.get(r).push(e.scopeName)})}getInjections(e){const r=e.split(".");let n=[];for(let i=1;i<=r.length;i++){const o=r.slice(0,i).join(".");n=[...n,...this._injections.get(o)||[]]}return n}}let Q=0;function oo(t){Q+=1,t.warnings!==!1&&Q>=10&&Q%10===0&&console.warn(`[Shiki] ${Q} 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 e=!1;if(!t.engine)throw new z("`engine` option is required for synchronous mode");const r=(t.langs||[]).flat(1),n=(t.themes||[]).flat(1).map(it),i=new io(t.engine,r),o=new no(i,n,r,t.langAlias);let a;function u(g){return hr(g,t.langAlias)}function s(g){y();const A=o.getGrammar(typeof g=="string"?g:g.name);if(!A)throw new z(`Language \`${g}\` not found, you may need to load it first`);return A}function c(g){if(g==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};y();const A=o.getTheme(g);if(!A)throw new z(`Theme \`${g}\` not found, you may need to load it first`);return A}function m(g){y();const A=c(g);a!==g&&(o.setTheme(A),a=g);const T=o.getColorMap();return{theme:A,colorMap:T}}function p(){return y(),o.getLoadedThemes()}function _(){return y(),o.getLoadedLanguages()}function d(...g){y(),o.loadLanguages(g.flat(1))}async function h(...g){return d(await pr(g))}function E(...g){y();for(const A of g.flat(1))o.loadTheme(A)}async function R(...g){return y(),E(await dr(g))}function y(){if(e)throw new z("Shiki instance has been disposed")}function v(){e||(e=!0,o.dispose(),Q-=1)}return{setTheme:m,getTheme:c,getLanguage:s,getLoadedThemes:p,getLoadedLanguages:_,resolveLangAlias:u,loadLanguage:h,loadLanguageSync:d,loadTheme:R,loadThemeSync:E,dispose:v,[Symbol.dispose]:v}}async function ao(t){t.engine||ro("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,r,n]=await Promise.all([dr(t.themes||[]),pr(t.langs||[]),t.engine]);return oo({...t,themes:e,langs:r,engine:n})}async function so(t){const e=await ao(t);return{getLastGrammarState:(...r)=>Ui(e,...r),codeToTokensBase:(r,n)=>rt(e,r,n),codeToTokensWithThemes:(r,n)=>mr(e,r,n),codeToTokens:(r,n)=>Re(e,r,n),codeToHast:(r,n)=>Le(e,r,n),codeToHtml:(r,n)=>eo(e,r,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...e,getInternalContext:()=>e}}function lo(t){const e=t.langs,r=t.themes,n=t.engine;async function i(o){function a(p){if(typeof p=="string"){if(p=o.langAlias?.[p]||p,ar(p))return[];const _=e[p];if(!_)throw new P(`Language \`${p}\` is not included in this bundle. You may want to load it from external source.`);return _}return p}function u(p){if(sr(p))return"none";if(typeof p=="string"){const _=r[p];if(!_)throw new P(`Theme \`${p}\` is not included in this bundle. You may want to load it from external source.`);return _}return p}const s=(o.themes??[]).map(p=>u(p)),c=(o.langs??[]).map(p=>a(p)),m=await so({engine:o.engine??n(),...o,themes:s,langs:c});return{...m,loadLanguage(...p){return m.loadLanguage(...p.map(a))},loadTheme(...p){return m.loadTheme(...p.map(u))},getBundledLanguages(){return e},getBundledThemes(){return r}}}return i}const _r=[{id:"abap",name:"ABAP",import:(()=>l(()=>import("./BdImnpbu.js"),[],import.meta.url))},{id:"actionscript-3",name:"ActionScript",import:(()=>l(()=>import("./CoDkCxhg.js"),[],import.meta.url))},{id:"ada",name:"Ada",import:(()=>l(()=>import("./bCR0ucgS.js"),[],import.meta.url))},{id:"angular-html",name:"Angular HTML",import:(()=>l(()=>import("./DxNHbxmM.js").then(t=>t.f),__vite__mapDeps([0,1,2,3]),import.meta.url))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>l(()=>import("./JSbxStMO.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url))},{id:"apache",name:"Apache Conf",import:(()=>l(()=>import("./Pmp26Uib.js"),[],import.meta.url))},{id:"apex",name:"Apex",import:(()=>l(()=>import("./D8_7TLub.js"),[],import.meta.url))},{id:"apl",name:"APL",import:(()=>l(()=>import("./BgIZa_E2.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url))},{id:"applescript",name:"AppleScript",import:(()=>l(()=>import("./Co6uUVPk.js"),[],import.meta.url))},{id:"ara",name:"Ara",import:(()=>l(()=>import("./BRHolxvo.js"),[],import.meta.url))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>l(()=>import("./Dv7Oe6Be.js"),[],import.meta.url))},{id:"asm",name:"Assembly",import:(()=>l(()=>import("./D_Q5rh1f.js"),[],import.meta.url))},{id:"astro",name:"Astro",import:(()=>l(()=>import("./DxSwrfjg.js"),__vite__mapDeps([10,9,2,11,3,12,13]),import.meta.url))},{id:"awk",name:"AWK",import:(()=>l(()=>import("./DMzUqQB5.js"),[],import.meta.url))},{id:"ballerina",name:"Ballerina",import:(()=>l(()=>import("./BFfxhgS-.js"),[],import.meta.url))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>l(()=>import("./BkioyH1T.js"),[],import.meta.url))},{id:"beancount",name:"Beancount",import:(()=>l(()=>import("./k_qm7-4y.js"),[],import.meta.url))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>l(()=>import("./uYugtg8r.js"),[],import.meta.url))},{id:"bibtex",name:"BibTeX",import:(()=>l(()=>import("./CHM0blh-.js"),[],import.meta.url))},{id:"bicep",name:"Bicep",import:(()=>l(()=>import("./Bmn6On1c.js"),[],import.meta.url))},{id:"blade",name:"Blade",import:(()=>l(()=>import("./brMvHLvt.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9]),import.meta.url))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>l(()=>import("./CquLrc37.js"),__vite__mapDeps([17,18]),import.meta.url))},{id:"c",name:"C",import:(()=>l(()=>import("./BIGW1oBm.js"),[],import.meta.url))},{id:"c3",name:"C3",import:(()=>l(()=>import("./VCDPK7BO.js"),[],import.meta.url))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>l(()=>import("./Bv_4Rxtq.js"),[],import.meta.url))},{id:"cairo",name:"Cairo",import:(()=>l(()=>import("./CO1LY3CK.js"),__vite__mapDeps([19,20]),import.meta.url))},{id:"clarity",name:"Clarity",import:(()=>l(()=>import("./D53aC0YG.js"),[],import.meta.url))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>l(()=>import("./P80f7IUj.js"),[],import.meta.url))},{id:"cmake",name:"CMake",import:(()=>l(()=>import("./D1j8_8rp.js"),[],import.meta.url))},{id:"cobol",name:"COBOL",import:(()=>l(()=>import("./Cl8IGKIC.js"),__vite__mapDeps([21,1,2,3,8]),import.meta.url))},{id:"codeowners",name:"CODEOWNERS",import:(()=>l(()=>import("./Bp6g37R7.js"),[],import.meta.url))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>l(()=>import("./DsOJ9woJ.js"),[],import.meta.url))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>l(()=>import("./CxbxFI8M.js"),__vite__mapDeps([22,2]),import.meta.url))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>l(()=>import("./Cg-RD9OK.js"),[],import.meta.url))},{id:"coq",name:"Coq",import:(()=>l(()=>import("./DkFqJrB1.js"),[],import.meta.url))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>l(()=>import("./DsqENSWP.js"),__vite__mapDeps([23,24,25,26,16]),import.meta.url))},{id:"crystal",name:"Crystal",import:(()=>l(()=>import("./fKv21gyL.js"),__vite__mapDeps([27,1,2,3,16,26,28]),import.meta.url))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>l(()=>import("./COcwbKMJ.js"),[],import.meta.url))},{id:"css",name:"CSS",import:(()=>l(()=>import("./DPfMkruS.js"),[],import.meta.url))},{id:"csv",name:"CSV",import:(()=>l(()=>import("./fuZLfV_i.js"),[],import.meta.url))},{id:"cue",name:"CUE",import:(()=>l(()=>import("./D82EKSYY.js"),[],import.meta.url))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>l(()=>import("./COkxafJQ.js"),[],import.meta.url))},{id:"d",name:"D",import:(()=>l(()=>import("./85-TOEBH.js"),[],import.meta.url))},{id:"dart",name:"Dart",import:(()=>l(()=>import("./CF10PKvl.js"),[],import.meta.url))},{id:"dax",name:"DAX",import:(()=>l(()=>import("./CEL-wOlO.js"),[],import.meta.url))},{id:"desktop",name:"Desktop",import:(()=>l(()=>import("./BmXAJ9_W.js"),[],import.meta.url))},{id:"diff",name:"Diff",import:(()=>l(()=>import("./D97Zzqfu.js"),[],import.meta.url))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>l(()=>import("./BcOcwvcX.js"),[],import.meta.url))},{id:"dotenv",name:"dotEnv",import:(()=>l(()=>import("./Da5cRb03.js"),[],import.meta.url))},{id:"dream-maker",name:"Dream Maker",import:(()=>l(()=>import("./BtqSS_iP.js"),[],import.meta.url))},{id:"edge",name:"Edge",import:(()=>l(()=>import("./CvQeaAIM.js"),__vite__mapDeps([29,11,1,2,3,15]),import.meta.url))},{id:"elixir",name:"Elixir",import:(()=>l(()=>import("./BfJx3WfE.js"),__vite__mapDeps([30,1,2,3]),import.meta.url))},{id:"elm",name:"Elm",import:(()=>l(()=>import("./Ci3HlJdq.js"),__vite__mapDeps([31,25,26]),import.meta.url))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>l(()=>import("./C9XAeP06.js"),[],import.meta.url))},{id:"erb",name:"ERB",import:(()=>l(()=>import("./DNstp7By.js"),__vite__mapDeps([32,1,2,3,33,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38]),import.meta.url))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>l(()=>import("./CuPHTKiy.js"),__vite__mapDeps([39,40]),import.meta.url))},{id:"fennel",name:"Fennel",import:(()=>l(()=>import("./BYunw83y.js"),[],import.meta.url))},{id:"fish",name:"Fish",import:(()=>l(()=>import("./BvzEVeQv.js"),[],import.meta.url))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>l(()=>import("./C4IJs8-o.js"),[],import.meta.url))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>l(()=>import("./B7c-h3xW.js"),__vite__mapDeps([41,42]),import.meta.url))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>l(()=>import("./BxgE0vQu.js"),[],import.meta.url))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>l(()=>import("./BTifaqeh.js"),__vite__mapDeps([43,40]),import.meta.url))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:(()=>l(()=>import("./CenWIFCC.js"),__vite__mapDeps([44,45,46]),import.meta.url))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:(()=>l(()=>import("./C5YyOfLZ.js"),[],import.meta.url))},{id:"gdshader",name:"GDShader",import:(()=>l(()=>import("./DkwncUOv.js"),[],import.meta.url))},{id:"genie",name:"Genie",import:(()=>l(()=>import("./D0YGMca9.js"),[],import.meta.url))},{id:"gherkin",name:"Gherkin",import:(()=>l(()=>import("./DyxjwDmM.js"),[],import.meta.url))},{id:"git-commit",name:"Git Commit Message",import:(()=>l(()=>import("./CxGSJlkm.js"),__vite__mapDeps([47,48]),import.meta.url))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>l(()=>import("./CSXwinHm.js"),__vite__mapDeps([49,28]),import.meta.url))},{id:"gleam",name:"Gleam",import:(()=>l(()=>import("./BspZqrRM.js"),[],import.meta.url))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>l(()=>import("./YqXBG_HV.js"),__vite__mapDeps([50,2,11,3,1]),import.meta.url))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>l(()=>import("./BR5kRUq4.js"),__vite__mapDeps([51,11,3,2,1]),import.meta.url))},{id:"glsl",name:"GLSL",import:(()=>l(()=>import("./DZxFcAj9.js"),__vite__mapDeps([25,26]),import.meta.url))},{id:"gn",name:"GN",import:(()=>l(()=>import("./n2N0HUVH.js"),[],import.meta.url))},{id:"gnuplot",name:"Gnuplot",import:(()=>l(()=>import("./DdkO51Og.js"),[],import.meta.url))},{id:"go",name:"Go",import:(()=>l(()=>import("./CxLEBnE3.js"),[],import.meta.url))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>l(()=>import("./C9oPPf7i.js"),__vite__mapDeps([35,2,11,36,13]),import.meta.url))},{id:"groovy",name:"Groovy",import:(()=>l(()=>import("./gcz8RCvz.js"),[],import.meta.url))},{id:"hack",name:"Hack",import:(()=>l(()=>import("./BfQbQz2e.js"),__vite__mapDeps([52,1,2,3,16]),import.meta.url))},{id:"haml",name:"Ruby Haml",import:(()=>l(()=>import("./CmIQRyeF.js"),__vite__mapDeps([34,2,3]),import.meta.url))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>l(()=>import("./m17aaUwq.js"),__vite__mapDeps([53,1,2,3,38]),import.meta.url))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>l(()=>import("./Df6bDoY_.js"),[],import.meta.url))},{id:"haxe",name:"Haxe",import:(()=>l(()=>import("./CzTSHFRz.js"),[],import.meta.url))},{id:"hcl",name:"HashiCorp HCL",import:(()=>l(()=>import("./BWvSN4gD.js"),[],import.meta.url))},{id:"hjson",name:"Hjson",import:(()=>l(()=>import("./D5-asLiD.js"),[],import.meta.url))},{id:"hlsl",name:"HLSL",import:(()=>l(()=>import("./D3lLCCz7.js"),[],import.meta.url))},{id:"html",name:"HTML",import:(()=>l(()=>import("./CnnebwVN.js"),__vite__mapDeps([1,2,3]),import.meta.url))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>l(()=>import("./DBpX0yWo.js"),__vite__mapDeps([15,1,2,3]),import.meta.url))},{id:"http",name:"HTTP",import:(()=>l(()=>import("./DaZJ10kq.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13]),import.meta.url))},{id:"hurl",name:"Hurl",import:(()=>l(()=>import("./CVF7vp9Z.js"),__vite__mapDeps([55,35,2,11,36,13,7,8,56]),import.meta.url))},{id:"hxml",name:"HXML",import:(()=>l(()=>import("./DWrx1Km3.js"),__vite__mapDeps([57,58]),import.meta.url))},{id:"hy",name:"Hy",import:(()=>l(()=>import("./DFXneXwc.js"),[],import.meta.url))},{id:"imba",name:"Imba",import:(()=>l(()=>import("./DGztddWO.js"),[],import.meta.url))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>l(()=>import("./BEwlwnbL.js"),[],import.meta.url))},{id:"java",name:"Java",import:(()=>l(()=>import("./CylS5w8V.js"),[],import.meta.url))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>l(()=>import("./wDzz0qaB.js"),[],import.meta.url))},{id:"jinja",name:"Jinja",import:(()=>l(()=>import("./CaGTHgeg.js"),__vite__mapDeps([59,1,2,3]),import.meta.url))},{id:"jison",name:"Jison",import:(()=>l(()=>import("./Br6cN0cg.js"),__vite__mapDeps([60,2]),import.meta.url))},{id:"json",name:"JSON",import:(()=>l(()=>import("./Cp-IABpG.js"),[],import.meta.url))},{id:"json5",name:"JSON5",import:(()=>l(()=>import("./C9tS-k6U.js"),[],import.meta.url))},{id:"jsonc",name:"JSON with Comments",import:(()=>l(()=>import("./Des-eS-w.js"),[],import.meta.url))},{id:"jsonl",name:"JSON Lines",import:(()=>l(()=>import("./DcaNXYhu.js"),[],import.meta.url))},{id:"jsonnet",name:"Jsonnet",import:(()=>l(()=>import("./DFQXde-d.js"),[],import.meta.url))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>l(()=>import("./C2t-YnRu.js"),[],import.meta.url))},{id:"jsx",name:"JSX",import:(()=>l(()=>import("./g9-lgVsj.js"),[],import.meta.url))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>l(()=>import("./Dntbqd40.js"),__vite__mapDeps([61,23,24,25,26,16,20,2,62]),import.meta.url))},{id:"kdl",name:"KDL",import:(()=>l(()=>import("./DV7GczEv.js"),[],import.meta.url))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>l(()=>import("./BdnUsdx6.js"),[],import.meta.url))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>l(()=>import("./DZf3V79B.js"),[],import.meta.url))},{id:"latex",name:"LaTeX",import:(()=>l(()=>import("./BL5jzBAz.js"),__vite__mapDeps([63,64,62]),import.meta.url))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>l(()=>import("./BZvkOJ9d.js"),[],import.meta.url))},{id:"less",name:"Less",import:(()=>l(()=>import("./B1dDrJ26.js"),[],import.meta.url))},{id:"liquid",name:"Liquid",import:(()=>l(()=>import("./mjskCLCv.js"),__vite__mapDeps([65,1,2,3,9]),import.meta.url))},{id:"llvm",name:"LLVM IR",import:(()=>l(()=>import("./BtvRca6l.js"),[],import.meta.url))},{id:"log",name:"Log file",import:(()=>l(()=>import("./2UxHyX5q.js"),[],import.meta.url))},{id:"logo",name:"Logo",import:(()=>l(()=>import("./BtOb2qkB.js"),[],import.meta.url))},{id:"lua",name:"Lua",import:(()=>l(()=>import("./CnsnAmq5.js"),__vite__mapDeps([37,26]),import.meta.url))},{id:"luau",name:"Luau",import:(()=>l(()=>import("./C-HG3fhB.js"),[],import.meta.url))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>l(()=>import("./CHLpvVh8.js"),[],import.meta.url))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>l(()=>import("./Cvjx9yec.js"),[],import.meta.url))},{id:"marko",name:"Marko",import:(()=>l(()=>import("./83L43bj1.js"),__vite__mapDeps([66,3,67,5,11]),import.meta.url))},{id:"matlab",name:"MATLAB",import:(()=>l(()=>import("./D7o27uSR.js"),[],import.meta.url))},{id:"mdc",name:"MDC",import:(()=>l(()=>import("./BtjpZpjN.js"),__vite__mapDeps([68,40,38,15,1,2,3]),import.meta.url))},{id:"mdx",name:"MDX",import:(()=>l(()=>import("./Cmh6b_Ma.js"),[],import.meta.url))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>l(()=>import("./mWjccvbQ.js"),[],import.meta.url))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>l(()=>import("./CKIfxQSi.js"),[],import.meta.url))},{id:"mojo",name:"Mojo",import:(()=>l(()=>import("./B93PlW-d.js"),[],import.meta.url))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:(()=>l(()=>import("./Ba13S78F.js"),[],import.meta.url))},{id:"move",name:"Move",import:(()=>l(()=>import("./IF9eRakj.js"),[],import.meta.url))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>l(()=>import("./DRg8JJMk.js"),[],import.meta.url))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>l(()=>import("./BrzmwbiE.js"),[],import.meta.url))},{id:"nginx",name:"Nginx",import:(()=>l(()=>import("./fbvUeNLU.js"),__vite__mapDeps([69,37,26]),import.meta.url))},{id:"nim",name:"Nim",import:(()=>l(()=>import("./0A2p0G4C.js"),__vite__mapDeps([70,26,1,2,3,7,8,25,40]),import.meta.url))},{id:"nix",name:"Nix",import:(()=>l(()=>import("./CwoSXNpI.js"),[],import.meta.url))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>l(()=>import("./C-sUppwS.js"),[],import.meta.url))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>l(()=>import("./DXmwc3jG.js"),[],import.meta.url))},{id:"objective-cpp",name:"Objective-C++",import:(()=>l(()=>import("./CLxacb5B.js"),[],import.meta.url))},{id:"ocaml",name:"OCaml",import:(()=>l(()=>import("./C0hk2d4L.js"),[],import.meta.url))},{id:"odin",name:"Odin",import:(()=>l(()=>import("./BBf5iR-q.js"),[],import.meta.url))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:(()=>l(()=>import("./C4EeE6gA.js"),[],import.meta.url))},{id:"pascal",name:"Pascal",import:(()=>l(()=>import("./D93ZcfNL.js"),[],import.meta.url))},{id:"perl",name:"Perl",import:(()=>l(()=>import("./DR4elm4u.js"),__vite__mapDeps([71,1,2,3,7,8,16]),import.meta.url))},{id:"php",name:"PHP",import:(()=>l(()=>import("./DID_Ax9Y.js"),__vite__mapDeps([72,1,2,3,7,8,16,9]),import.meta.url))},{id:"pkl",name:"Pkl",import:(()=>l(()=>import("./u5AG7uiY.js"),[],import.meta.url))},{id:"plsql",name:"PL/SQL",import:(()=>l(()=>import("./ChMvpjG-.js"),[],import.meta.url))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>l(()=>import("./BTJTHyun.js"),[],import.meta.url))},{id:"polar",name:"Polar",import:(()=>l(()=>import("./C0HS_06l.js"),[],import.meta.url))},{id:"postcss",name:"PostCSS",import:(()=>l(()=>import("./CXtECtnM.js"),[],import.meta.url))},{id:"powerquery",name:"PowerQuery",import:(()=>l(()=>import("./CEu0bR-o.js"),[],import.meta.url))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>l(()=>import("./Dpen1YoG.js"),[],import.meta.url))},{id:"prisma",name:"Prisma",import:(()=>l(()=>import("./Dd19v3D-.js"),[],import.meta.url))},{id:"prolog",name:"Prolog",import:(()=>l(()=>import("./CbFg5uaA.js"),[],import.meta.url))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>l(()=>import("./C7zT0LnQ.js"),[],import.meta.url))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>l(()=>import("./BLmx8bSh.js"),__vite__mapDeps([73,2,3,1]),import.meta.url))},{id:"puppet",name:"Puppet",import:(()=>l(()=>import("./BMWR74SV.js"),[],import.meta.url))},{id:"purescript",name:"PureScript",import:(()=>l(()=>import("./CklMAg4u.js"),[],import.meta.url))},{id:"python",name:"Python",aliases:["py"],import:(()=>l(()=>import("./B6aJPvgy.js"),[],import.meta.url))},{id:"qml",name:"QML",import:(()=>l(()=>import("./BVQ-GDCI.js"),__vite__mapDeps([74,2]),import.meta.url))},{id:"qmldir",name:"QML Directory",import:(()=>l(()=>import("./C8lEn-DE.js"),[],import.meta.url))},{id:"qss",name:"Qt Style Sheets",import:(()=>l(()=>import("./IeuSbFQv.js"),[],import.meta.url))},{id:"r",name:"R",import:(()=>l(()=>import("./Dspwwk_N.js"),[],import.meta.url))},{id:"racket",name:"Racket",import:(()=>l(()=>import("./BqYA7rlc.js"),[],import.meta.url))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>l(()=>import("./DXvB9xmW.js"),[],import.meta.url))},{id:"razor",name:"ASP.NET Razor",import:(()=>l(()=>import("./CfMaDYuo.js"),__vite__mapDeps([75,1,2,3,76]),import.meta.url))},{id:"reg",name:"Windows Registry Script",import:(()=>l(()=>import("./C-SQnVFl.js"),[],import.meta.url))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>l(()=>import("./CDVJQ6XC.js"),[],import.meta.url))},{id:"rel",name:"Rel",import:(()=>l(()=>import("./C3B-1QV4.js"),[],import.meta.url))},{id:"riscv",name:"RISC-V",import:(()=>l(()=>import("./BM1_JUlF.js"),[],import.meta.url))},{id:"ron",name:"RON",import:(()=>l(()=>import("./BhRPY-oY.js"),[],import.meta.url))},{id:"rosmsg",name:"ROS Interface",import:(()=>l(()=>import("./BJDFO7_C.js"),[],import.meta.url))},{id:"rst",name:"reStructuredText",import:(()=>l(()=>import("./C9E63BpL.js"),__vite__mapDeps([77,15,1,2,3,23,24,25,26,16,20,28,38,78,33,34,7,8,35,11,36,13,37]),import.meta.url))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>l(()=>import("./D0h_xhSm.js"),__vite__mapDeps([33,1,2,3,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38]),import.meta.url))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>l(()=>import("./B1yitclQ.js"),[],import.meta.url))},{id:"sas",name:"SAS",import:(()=>l(()=>import("./CG8Ifv2g.js"),__vite__mapDeps([79,16]),import.meta.url))},{id:"sass",name:"Sass",import:(()=>l(()=>import("./Cj5Yp3dK.js"),[],import.meta.url))},{id:"scala",name:"Scala",import:(()=>l(()=>import("./C151Ov-r.js"),[],import.meta.url))},{id:"scheme",name:"Scheme",import:(()=>l(()=>import("./C98Dy4si.js"),[],import.meta.url))},{id:"scss",name:"SCSS",import:(()=>l(()=>import("./2EtD6e53.js"),__vite__mapDeps([5,3]),import.meta.url))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>l(()=>import("./DVxCFoDh.js"),[],import.meta.url))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>l(()=>import("./BqTXFGrv.js"),__vite__mapDeps([80,81]),import.meta.url))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>l(()=>import("./Yzrsuije.js"),[],import.meta.url))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>l(()=>import("./Cq5zzVJU.js"),__vite__mapDeps([82,28]),import.meta.url))},{id:"smalltalk",name:"Smalltalk",import:(()=>l(()=>import("./BERRCDM3.js"),[],import.meta.url))},{id:"solidity",name:"Solidity",import:(()=>l(()=>import("./rGO070M0.js"),[],import.meta.url))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>l(()=>import("./sDksUvMU.js"),__vite__mapDeps([83,1,2,3]),import.meta.url))},{id:"sparql",name:"SPARQL",import:(()=>l(()=>import("./BRZ36xJF.js"),__vite__mapDeps([84,85]),import.meta.url))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>l(()=>import("./BtCnVYZw.js"),[],import.meta.url))},{id:"sql",name:"SQL",import:(()=>l(()=>import("./BLtJtn59.js"),[],import.meta.url))},{id:"ssh-config",name:"SSH Config",import:(()=>l(()=>import("./_ykCGR6B.js"),[],import.meta.url))},{id:"stata",name:"Stata",import:(()=>l(()=>import("./DM8c43g1.js"),__vite__mapDeps([86,16]),import.meta.url))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>l(()=>import("./BEDo0Tqx.js"),[],import.meta.url))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:(()=>l(()=>import("./BH7IYjvW.js"),__vite__mapDeps([87,2]),import.meta.url))},{id:"svelte",name:"Svelte",import:(()=>l(()=>import("./DYoxhk2S.js"),__vite__mapDeps([88,2,11,3,12]),import.meta.url))},{id:"swift",name:"Swift",import:(()=>l(()=>import("./Dg5xB15N.js"),[],import.meta.url))},{id:"system-verilog",name:"SystemVerilog",import:(()=>l(()=>import("./CnnmHF94.js"),[],import.meta.url))},{id:"systemd",name:"Systemd Units",import:(()=>l(()=>import("./4A_iFExJ.js"),[],import.meta.url))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>l(()=>import("./CkByrt1z.js"),[],import.meta.url))},{id:"tasl",name:"Tasl",import:(()=>l(()=>import("./QIJgUcNo.js"),[],import.meta.url))},{id:"tcl",name:"Tcl",import:(()=>l(()=>import("./dwOrl1Do.js"),[],import.meta.url))},{id:"templ",name:"Templ",import:(()=>l(()=>import("./CZhp0h8q.js"),__vite__mapDeps([89,90,2,3]),import.meta.url))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>l(()=>import("./BETggiCN.js"),[],import.meta.url))},{id:"tex",name:"TeX",import:(()=>l(()=>import("./CQ8jqdy-.js"),__vite__mapDeps([64,62]),import.meta.url))},{id:"toml",name:"TOML",import:(()=>l(()=>import("./vGWfd6FD.js"),[],import.meta.url))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>l(()=>import("./CckKNcSY.js"),__vite__mapDeps([91,11,3,2,25,26,1,16,7,8]),import.meta.url))},{id:"tsv",name:"TSV",import:(()=>l(()=>import("./B_m7g4N7.js"),[],import.meta.url))},{id:"tsx",name:"TSX",import:(()=>l(()=>import("./COt5Ahok.js"),[],import.meta.url))},{id:"turtle",name:"Turtle",import:(()=>l(()=>import("./BsS91CYL.js"),[],import.meta.url))},{id:"twig",name:"Twig",import:(()=>l(()=>import("./CjW8XjqM.js"),__vite__mapDeps([92,3,2,5,72,1,7,8,16,9,20,33,34,35,11,36,13,23,24,25,26,28,37,38]),import.meta.url))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>l(()=>import("./BPQ3VLAy.js"),[],import.meta.url))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>l(()=>import("./BGHnOYBU.js"),[],import.meta.url))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>l(()=>import("./DHCkPAjA.js"),[],import.meta.url))},{id:"v",name:"V",import:(()=>l(()=>import("./BcVCzyr7.js"),[],import.meta.url))},{id:"vala",name:"Vala",import:(()=>l(()=>import("./CsfeWuGM.js"),[],import.meta.url))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>l(()=>import("./D17OF-Vu.js"),[],import.meta.url))},{id:"verilog",name:"Verilog",import:(()=>l(()=>import("./BQ8w6xss.js"),[],import.meta.url))},{id:"vhdl",name:"VHDL",import:(()=>l(()=>import("./CeAyd5Ju.js"),[],import.meta.url))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>l(()=>import("./CJc9bBzg.js"),[],import.meta.url))},{id:"vue",name:"Vue",import:(()=>l(()=>import("./C28nlFVT.js"),__vite__mapDeps([93,3,2,11,9,1,15]),import.meta.url))},{id:"vue-html",name:"Vue HTML",import:(()=>l(()=>import("./DqQDbK_p.js"),__vite__mapDeps([94,2]),import.meta.url))},{id:"vue-vine",name:"Vue Vine",import:(()=>l(()=>import("./CW8IKDeL.js"),__vite__mapDeps([95,3,5,67,96,12,2]),import.meta.url))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>l(()=>import("./CDx5xZoG.js"),[],import.meta.url))},{id:"wasm",name:"WebAssembly",import:(()=>l(()=>import("./MzD3tlZU.js"),[],import.meta.url))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>l(()=>import("./BV7otONQ.js"),[],import.meta.url))},{id:"wgsl",name:"WGSL",import:(()=>l(()=>import("./Dx-B1_4e.js"),[],import.meta.url))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>l(()=>import("./BhOHFoWU.js"),[],import.meta.url))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>l(()=>import("./5i3qLPDT.js"),[],import.meta.url))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>l(()=>import("./lXgVvXCa.js"),[],import.meta.url))},{id:"xml",name:"XML",import:(()=>l(()=>import("./BGJmEYvX.js"),__vite__mapDeps([7,8]),import.meta.url))},{id:"xsl",name:"XSL",import:(()=>l(()=>import("./BaaWV1KV.js"),__vite__mapDeps([97,7,8]),import.meta.url))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>l(()=>import("./Buea-lGh.js"),[],import.meta.url))},{id:"zenscript",name:"ZenScript",import:(()=>l(()=>import("./DVFEvuxE.js"),[],import.meta.url))},{id:"zig",name:"Zig",import:(()=>l(()=>import("./VOosw3JB.js"),[],import.meta.url))}],uo=Object.fromEntries(_r.map(t=>[t.id,t.import])),co=Object.fromEntries(_r.flatMap(t=>t.aliases?.map(e=>[e,t.import])||[])),mo={...uo,...co},po=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>l(()=>import("./C4gqWexZ.js"),[],import.meta.url))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>l(()=>import("./D-2ljcwZ.js"),[],import.meta.url))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>l(()=>import("./CMjwMIkn.js"),[],import.meta.url))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:(()=>l(()=>import("./C47S-Tmv.js"),[],import.meta.url))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:(()=>l(()=>import("./CjoLj4QM.js"),[],import.meta.url))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>l(()=>import("./DFWUc33u.js"),[],import.meta.url))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>l(()=>import("./C9dUb6Cb.js"),[],import.meta.url))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>l(()=>import("./DQyhUUbL.js"),[],import.meta.url))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>l(()=>import("./D87Tk5Gz.js"),[],import.meta.url))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>l(()=>import("./C3mMm8J8.js"),[],import.meta.url))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>l(()=>import("./BzJJZx-M.js"),[],import.meta.url))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>l(()=>import("./BXkSAIEj.js"),[],import.meta.url))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>l(()=>import("./BgDCqdQA.js"),[],import.meta.url))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>l(()=>import("./C8M2exoo.js"),[],import.meta.url))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>l(()=>import("./DHJKELXO.js"),[],import.meta.url))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>l(()=>import("./Cuk6v7N8.js"),[],import.meta.url))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>l(()=>import("./DH5Ifo-i.js"),[],import.meta.url))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>l(()=>import("./E3gJ1_iC.js"),[],import.meta.url))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>l(()=>import("./DAi9KRSo.js"),[],import.meta.url))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>l(()=>import("./D7oLnXFd.js"),[],import.meta.url))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>l(()=>import("./BfjtVDDH.js"),[],import.meta.url))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>l(()=>import("./CFHQjOhq.js"),[],import.meta.url))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>l(()=>import("./GsRaNv29.js"),[],import.meta.url))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>l(()=>import("./CVdnzihN.js"),[],import.meta.url))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>l(()=>import("./CH1njM8p.js"),[],import.meta.url))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>l(()=>import("./DRw_LuNl.js"),[],import.meta.url))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>l(()=>import("./hJgmCMqR.js"),[],import.meta.url))},{id:"horizon",displayName:"Horizon",type:"dark",import:(()=>l(()=>import("./BUw7H-hv.js"),[],import.meta.url))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>l(()=>import("./DnULxvSX.js"),[],import.meta.url))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>l(()=>import("./CkXjmgJE.js"),[],import.meta.url))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>l(()=>import("./CfQXZHmo.js"),[],import.meta.url))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>l(()=>import("./DWedfzmr.js"),[],import.meta.url))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>l(()=>import("./DUszq2jm.js"),[],import.meta.url))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>l(()=>import("./B7mTdjB0.js"),[],import.meta.url))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>l(()=>import("./D5KoaKCx.js"),[],import.meta.url))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>l(()=>import("./BfHTSMKl.js"),[],import.meta.url))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>l(()=>import("./B0m2ddpp.js"),[],import.meta.url))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>l(()=>import("./CyktbL80.js"),[],import.meta.url))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>l(()=>import("./Csfq5Kiy.js"),[],import.meta.url))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>l(()=>import("./CafNBF8u.js"),[],import.meta.url))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>l(()=>import("./CTRr51gU.js"),[],import.meta.url))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>l(()=>import("./D4h5O-jR.js"),[],import.meta.url))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>l(()=>import("./C39BiMTA.js"),[],import.meta.url))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:(()=>l(()=>import("./CMTm3GFP.js"),[],import.meta.url))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>l(()=>import("./Ddv68eIx.js"),[],import.meta.url))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>l(()=>import("./DVMEJ2y_.js"),[],import.meta.url))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>l(()=>import("./C3Wv6jpd.js"),[],import.meta.url))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>l(()=>import("./3e1v2bzS.js"),[],import.meta.url))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>l(()=>import("./CS3Unz2-.js"),[],import.meta.url))},{id:"red",displayName:"Red",type:"dark",import:(()=>l(()=>import("./bN70gL4F.js"),[],import.meta.url))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>l(()=>import("./qdsjHGoJ.js"),[],import.meta.url))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>l(()=>import("./DHQR4-dF.js"),[],import.meta.url))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>l(()=>import("./D4_iv3hh.js"),[],import.meta.url))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>l(()=>import("./BthQWCQV.js"),[],import.meta.url))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>l(()=>import("./DqwNpetd.js"),[],import.meta.url))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>l(()=>import("./Bw305WKR.js"),[],import.meta.url))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>l(()=>import("./DXbdFlpD.js"),[],import.meta.url))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>l(()=>import("./L9t79GZl.js"),[],import.meta.url))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>l(()=>import("./CbfX1IO0.js"),[],import.meta.url))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>l(()=>import("./hegEt444.js"),[],import.meta.url))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>l(()=>import("./DU1UobuO.js"),[],import.meta.url))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>l(()=>import("./Bkuqu6BP.js"),[],import.meta.url))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>l(()=>import("./D0r3Knsf.js"),[],import.meta.url))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>l(()=>import("./CVO1_9PV.js"),[],import.meta.url))}],ho=Object.fromEntries(po.map(t=>[t.id,t.import]));class ot extends Error{constructor(e){super(e),this.name="ShikiError"}}function _o(){return 2147483648}function fo(){return typeof performance<"u"?performance.now():Date.now()}const go=(t,e)=>t+(e-t%e)%e;async function yo(t){let e,r;const n={};function i(d){r=d,n.HEAPU8=new Uint8Array(d),n.HEAPU32=new Uint32Array(d)}function o(d,h,E){n.HEAPU8.copyWithin(d,h,h+E)}function a(d){try{return e.grow(d-r.byteLength+65535>>>16),i(e.buffer),1}catch{}}function u(d){const h=n.HEAPU8.length;d=d>>>0;const E=_o();if(d>E)return!1;for(let R=1;R<=4;R*=2){let y=h*(1+.2/R);y=Math.min(y,d+100663296);const v=Math.min(E,go(Math.max(d,y),65536));if(a(v))return!0}return!1}const s=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(d,h,E=1024){const R=h+E;let y=h;for(;d[y]&&!(y>=R);)++y;if(y-h>16&&d.buffer&&s)return s.decode(d.subarray(h,y));let v="";for(;h<y;){let g=d[h++];if(!(g&128)){v+=String.fromCharCode(g);continue}const A=d[h++]&63;if((g&224)===192){v+=String.fromCharCode((g&31)<<6|A);continue}const T=d[h++]&63;if((g&240)===224?g=(g&15)<<12|A<<6|T:g=(g&7)<<18|A<<12|T<<6|d[h++]&63,g<65536)v+=String.fromCharCode(g);else{const N=g-65536;v+=String.fromCharCode(55296|N>>10,56320|N&1023)}}return v}function m(d,h){return d?c(n.HEAPU8,d,h):""}const p={emscripten_get_now:fo,emscripten_memcpy_big:o,emscripten_resize_heap:u,fd_write:()=>0};async function _(){const h=await t({env:p,wasi_snapshot_preview1:p});e=h.memory,i(e.buffer),Object.assign(n,h),n.UTF8ToString=m}return await _(),n}var Eo=Object.defineProperty,vo=(t,e,r)=>e in t?Eo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e,r)=>vo(t,typeof e!="symbol"?e+"":e,r);let C=null;function Ro(t){throw new ot(t.UTF8ToString(t.getLastOnigError()))}class Te{constructor(e){I(this,"utf16Length"),I(this,"utf8Length"),I(this,"utf16Value"),I(this,"utf8Value"),I(this,"utf16OffsetToUtf8"),I(this,"utf8OffsetToUtf16");const r=e.length,n=Te._utf8ByteLength(e),i=n!==r,o=i?new Uint32Array(r+1):null;i&&(o[r]=n);const a=i?new Uint32Array(n+1):null;i&&(a[n]=r);const u=new Uint8Array(n);let s=0;for(let c=0;c<r;c++){const m=e.charCodeAt(c);let p=m,_=!1;if(m>=55296&&m<=56319&&c+1<r){const d=e.charCodeAt(c+1);d>=56320&&d<=57343&&(p=(m-55296<<10)+65536|d-56320,_=!0)}i&&(o[c]=s,_&&(o[c+1]=s),p<=127?a[s+0]=c:p<=2047?(a[s+0]=c,a[s+1]=c):p<=65535?(a[s+0]=c,a[s+1]=c,a[s+2]=c):(a[s+0]=c,a[s+1]=c,a[s+2]=c,a[s+3]=c)),p<=127?u[s++]=p:p<=2047?(u[s++]=192|(p&1984)>>>6,u[s++]=128|(p&63)>>>0):p<=65535?(u[s++]=224|(p&61440)>>>12,u[s++]=128|(p&4032)>>>6,u[s++]=128|(p&63)>>>0):(u[s++]=240|(p&1835008)>>>18,u[s++]=128|(p&258048)>>>12,u[s++]=128|(p&4032)>>>6,u[s++]=128|(p&63)>>>0),_&&c++}this.utf16Length=r,this.utf8Length=n,this.utf16Value=e,this.utf8Value=u,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let r=0;for(let n=0,i=e.length;n<i;n++){const o=e.charCodeAt(n);let a=o,u=!1;if(o>=55296&&o<=56319&&n+1<i){const s=e.charCodeAt(n+1);s>=56320&&s<=57343&&(a=(o-55296<<10)+65536|s-56320,u=!0)}a<=127?r+=1:a<=2047?r+=2:a<=65535?r+=3:r+=4,u&&n++}return r}createString(e){const r=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,r),r}}const Se=class B{constructor(e){if(I(this,"id",++B.LAST_ID),I(this,"_onigBinding"),I(this,"content"),I(this,"utf16Length"),I(this,"utf8Length"),I(this,"utf16OffsetToUtf8"),I(this,"utf8OffsetToUtf16"),I(this,"ptr"),!C)throw new ot("Must invoke loadWasm first.");this._onigBinding=C,this.content=e;const r=new Te(e);this.utf16Length=r.utf16Length,this.utf8Length=r.utf8Length,this.utf16OffsetToUtf8=r.utf16OffsetToUtf8,this.utf8OffsetToUtf16=r.utf8OffsetToUtf16,this.utf8Length<1e4&&!B._sharedPtrInUse?(B._sharedPtr||(B._sharedPtr=C.omalloc(1e4)),B._sharedPtrInUse=!0,C.HEAPU8.set(r.utf8Value,B._sharedPtr),this.ptr=B._sharedPtr):this.ptr=r.createString(C)}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===B._sharedPtr?B._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};I(Se,"LAST_ID",0);I(Se,"_sharedPtr",0);I(Se,"_sharedPtrInUse",!1);let fr=Se;class Lo{constructor(e){if(I(this,"_onigBinding"),I(this,"_ptr"),!C)throw new ot("Must invoke loadWasm first.");const r=[],n=[];for(let u=0,s=e.length;u<s;u++){const c=new Te(e[u]);r[u]=c.createString(C),n[u]=c.utf8Length}const i=C.omalloc(4*e.length);C.HEAPU32.set(r,i/4);const o=C.omalloc(4*e.length);C.HEAPU32.set(n,o/4);const a=C.createOnigScanner(i,o,e.length);for(let u=0,s=e.length;u<s;u++)C.ofree(r[u]);C.ofree(o),C.ofree(i),a===0&&Ro(C),this._onigBinding=C,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,r,n){let i=0;if(typeof n=="number"&&(i=n),typeof e=="string"){e=new fr(e);const o=this._findNextMatchSync(e,r,!1,i);return e.dispose(),o}return this._findNextMatchSync(e,r,!1,i)}_findNextMatchSync(e,r,n,i){const o=this._onigBinding,a=o.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(r),i);if(a===0)return null;const u=o.HEAPU32;let s=a/4;const c=u[s++],m=u[s++],p=[];for(let _=0;_<m;_++){const d=e.convertUtf8OffsetToUtf16(u[s++]),h=e.convertUtf8OffsetToUtf16(u[s++]);p[_]={start:d,end:h,length:h-d}}return{index:c,captureIndices:p}}}function Ao(t){return typeof t.instantiator=="function"}function bo(t){return typeof t.default=="function"}function To(t){return typeof t.data<"u"}function So(t){return typeof Response<"u"&&t instanceof Response}function Po(t){return typeof ArrayBuffer<"u"&&(t instanceof ArrayBuffer||ArrayBuffer.isView(t))||typeof Buffer<"u"&&Buffer.isBuffer?.(t)||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&t instanceof Uint32Array}let ce;function Io(t){if(ce)return ce;async function e(){C=await yo(async r=>{let n=t;return n=await n,typeof n=="function"&&(n=await n(r)),typeof n=="function"&&(n=await n(r)),Ao(n)?n=await n.instantiator(r):bo(n)?n=await n.default(r):(To(n)&&(n=n.data),So(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await Oo(n)(r):n=await Co(n)(r):Po(n)?n=await Ve(n)(r):n instanceof WebAssembly.Module?n=await Ve(n)(r):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await Ve(n.default)(r))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return ce=e(),ce}function Ve(t){return e=>WebAssembly.instantiate(t,e)}function Oo(t){return e=>WebAssembly.instantiateStreaming(t,e)}function Co(t){return async e=>{const r=await t.arrayBuffer();return WebAssembly.instantiate(r,e)}}async function ko(t){return t&&await Io(t),{createScanner(e){return new Lo(e.map(r=>typeof r=="string"?r:r.source))},createString(e){return new fr(e)}}}const Vo=lo({langs:mo,themes:ho,engine:()=>ko(l(()=>import("./CG6Dc4jp.js"),[],import.meta.url))});export{P as ShikiError,lr as addClassToHast,j as applyColorReplacements,mo as bundledLanguages,co as bundledLanguagesAlias,uo as bundledLanguagesBase,_r as bundledLanguagesInfo,ho as bundledThemes,po as bundledThemesInfo,lo as createBundledHighlighter,Vo as createHighlighter,so as createHighlighterCore,ko as createOnigurumaEngine,Ai as createPositionConverter,ao as createShikiInternal,oo as createShikiInternalSync,Pi as flatTokenVariants,Ee as getTokenStyleObject,Zi as hastToHtml,et as isNoneTheme,Ze as isPlainLang,ar as isSpecialLang,sr as isSpecialTheme,Io as loadWasm,or as normalizeGetter,it as normalizeTheme,ye as resolveColorReplacements,Ae as splitLines,Ti as splitToken,Si as splitTokens,Ke as stringifyTokenStyle,Li as toArray,ji as tokenizeAnsiWithTheme,Fi as tokenizeWithTheme,Ji as tokensToHast,Ci as transformerDecorations,ro as warnDeprecated};