@recombine-ai/bosun 0.3.7 → 0.3.9

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 (453) hide show
  1. package/build/client/_app/immutable/assets/0.XjKA4GPF.css +1 -0
  2. package/build/client/_app/immutable/assets/0.XjKA4GPF.css.br +0 -0
  3. package/build/client/_app/immutable/assets/0.XjKA4GPF.css.gz +0 -0
  4. package/build/client/_app/immutable/assets/2.DOE0DQ6H.css +1 -0
  5. package/build/client/_app/immutable/assets/2.DOE0DQ6H.css.br +0 -0
  6. package/build/client/_app/immutable/assets/2.DOE0DQ6H.css.gz +0 -0
  7. package/build/client/_app/immutable/assets/7.DlSPCZj0.css +1 -0
  8. package/build/client/_app/immutable/assets/7.DlSPCZj0.css.br +0 -0
  9. package/build/client/_app/immutable/assets/7.DlSPCZj0.css.gz +0 -0
  10. package/build/client/_app/immutable/assets/8.DoLA3Mkm.css +1 -0
  11. package/build/client/_app/immutable/assets/8.DoLA3Mkm.css.br +0 -0
  12. package/build/client/_app/immutable/assets/8.DoLA3Mkm.css.gz +0 -0
  13. package/build/client/_app/immutable/assets/{Tab.BxaGw9IG.css → Tab.jOjMVh6j.css} +1 -1
  14. package/build/client/_app/immutable/assets/Tab.jOjMVh6j.css.br +0 -0
  15. package/build/client/_app/immutable/assets/Tab.jOjMVh6j.css.gz +0 -0
  16. package/build/client/_app/immutable/chunks/7wcu2ga1.js +1 -0
  17. package/build/client/_app/immutable/chunks/7wcu2ga1.js.br +0 -0
  18. package/build/client/_app/immutable/chunks/7wcu2ga1.js.gz +0 -0
  19. package/build/client/_app/immutable/chunks/B3K88SyC.js +1 -0
  20. package/build/client/_app/immutable/chunks/B3K88SyC.js.br +0 -0
  21. package/build/client/_app/immutable/chunks/B3K88SyC.js.gz +0 -0
  22. package/build/client/_app/immutable/chunks/{D5fGPlBk.js → BGEE3mf3.js} +1 -1
  23. package/build/client/_app/immutable/chunks/BGEE3mf3.js.br +0 -0
  24. package/build/client/_app/immutable/chunks/BGEE3mf3.js.gz +0 -0
  25. package/build/client/_app/immutable/chunks/{BOQMymse.js → BH7VBnJ7.js} +1 -1
  26. package/build/client/_app/immutable/chunks/BH7VBnJ7.js.br +0 -0
  27. package/build/client/_app/immutable/chunks/BH7VBnJ7.js.gz +0 -0
  28. package/build/client/_app/immutable/chunks/BHkx8tAH.js +1 -0
  29. package/build/client/_app/immutable/chunks/BHkx8tAH.js.br +0 -0
  30. package/build/client/_app/immutable/chunks/BHkx8tAH.js.gz +0 -0
  31. package/build/client/_app/immutable/chunks/BMwJcaLS.js +1 -0
  32. package/build/client/_app/immutable/chunks/BMwJcaLS.js.br +2 -0
  33. package/build/client/_app/immutable/chunks/BMwJcaLS.js.gz +0 -0
  34. package/build/client/_app/immutable/chunks/{CfKHaDCm.js → BOrnwyTp.js} +1 -1
  35. package/build/client/_app/immutable/chunks/BOrnwyTp.js.br +0 -0
  36. package/build/client/_app/immutable/chunks/BOrnwyTp.js.gz +0 -0
  37. package/build/client/_app/immutable/chunks/BbaH2eDw.js +1 -0
  38. package/build/client/_app/immutable/chunks/BbaH2eDw.js.br +0 -0
  39. package/build/client/_app/immutable/chunks/BbaH2eDw.js.gz +0 -0
  40. package/build/client/_app/immutable/chunks/{C769zFCl.js → Bub2VLj9.js} +1 -1
  41. package/build/client/_app/immutable/chunks/Bub2VLj9.js.br +0 -0
  42. package/build/client/_app/immutable/chunks/Bub2VLj9.js.gz +0 -0
  43. package/build/client/_app/immutable/chunks/{yOR3vtRx.js → ByppsbS-.js} +1 -1
  44. package/build/client/_app/immutable/chunks/ByppsbS-.js.br +0 -0
  45. package/build/client/_app/immutable/chunks/ByppsbS-.js.gz +0 -0
  46. package/build/client/_app/immutable/chunks/C0mQlu7J.js +1 -0
  47. package/build/client/_app/immutable/chunks/C0mQlu7J.js.br +1 -0
  48. package/build/client/_app/immutable/chunks/C0mQlu7J.js.gz +0 -0
  49. package/build/client/_app/immutable/chunks/C0pV4x1v.js +1 -0
  50. package/build/client/_app/immutable/chunks/C0pV4x1v.js.br +2 -0
  51. package/build/client/_app/immutable/chunks/C0pV4x1v.js.gz +0 -0
  52. package/build/client/_app/immutable/chunks/C0sQKHpE.js +1 -0
  53. package/build/client/_app/immutable/chunks/C0sQKHpE.js.br +0 -0
  54. package/build/client/_app/immutable/chunks/C0sQKHpE.js.gz +0 -0
  55. package/build/client/_app/immutable/chunks/{CRlLKhPr.js → CFcfsVkY.js} +1 -1
  56. package/build/client/_app/immutable/chunks/CFcfsVkY.js.br +0 -0
  57. package/build/client/_app/immutable/chunks/CFcfsVkY.js.gz +0 -0
  58. package/build/client/_app/immutable/chunks/{BHL1bMOV.js → CYkx2jgw.js} +1 -1
  59. package/build/client/_app/immutable/chunks/CYkx2jgw.js.br +0 -0
  60. package/build/client/_app/immutable/chunks/CYkx2jgw.js.gz +0 -0
  61. package/build/client/_app/immutable/chunks/CZ6iREyA.js +8 -0
  62. package/build/client/_app/immutable/chunks/CZ6iREyA.js.br +0 -0
  63. package/build/client/_app/immutable/chunks/CZ6iREyA.js.gz +0 -0
  64. package/build/client/_app/immutable/chunks/CbCJfhin.js +1 -0
  65. package/build/client/_app/immutable/chunks/CbCJfhin.js.br +0 -0
  66. package/build/client/_app/immutable/chunks/CbCJfhin.js.gz +0 -0
  67. package/build/client/_app/immutable/chunks/{DaRvw8c-.js → CdTjAjKm.js} +7 -7
  68. package/build/client/_app/immutable/chunks/CdTjAjKm.js.br +0 -0
  69. package/build/client/_app/immutable/chunks/CdTjAjKm.js.gz +0 -0
  70. package/build/client/_app/immutable/chunks/{4PztAao_.js → CmPVG-ki.js} +1 -1
  71. package/build/client/_app/immutable/chunks/CmPVG-ki.js.br +0 -0
  72. package/build/client/_app/immutable/chunks/CmPVG-ki.js.gz +0 -0
  73. package/build/client/_app/immutable/chunks/{DJ_lsF0V.js → Cnr0cZA4.js} +1 -1
  74. package/build/client/_app/immutable/chunks/Cnr0cZA4.js.br +0 -0
  75. package/build/client/_app/immutable/chunks/Cnr0cZA4.js.gz +0 -0
  76. package/build/client/_app/immutable/chunks/CojkI8AD.js +33 -0
  77. package/build/client/_app/immutable/chunks/CojkI8AD.js.br +0 -0
  78. package/build/client/_app/immutable/chunks/CojkI8AD.js.gz +0 -0
  79. package/build/client/_app/immutable/chunks/Cp_hX0eh.js +1 -0
  80. package/build/client/_app/immutable/chunks/Cp_hX0eh.js.br +0 -0
  81. package/build/client/_app/immutable/chunks/Cp_hX0eh.js.gz +0 -0
  82. package/build/client/_app/immutable/chunks/Cv6CwVfk.js +3 -0
  83. package/build/client/_app/immutable/chunks/Cv6CwVfk.js.br +0 -0
  84. package/build/client/_app/immutable/chunks/Cv6CwVfk.js.gz +0 -0
  85. package/build/client/_app/immutable/chunks/{DAfsp-82.js → D8qEOlWC.js} +1 -1
  86. package/build/client/_app/immutable/chunks/D8qEOlWC.js.br +0 -0
  87. package/build/client/_app/immutable/chunks/D8qEOlWC.js.gz +0 -0
  88. package/build/client/_app/immutable/chunks/{Bf1oCG9-.js → DOMF1VtZ.js} +1 -1
  89. package/build/client/_app/immutable/chunks/DOMF1VtZ.js.br +0 -0
  90. package/build/client/_app/immutable/chunks/DOMF1VtZ.js.gz +0 -0
  91. package/build/client/_app/immutable/chunks/{Bd7SZbXQ.js → DRaGXt8e.js} +1 -1
  92. package/build/client/_app/immutable/chunks/DRaGXt8e.js.br +0 -0
  93. package/build/client/_app/immutable/chunks/DRaGXt8e.js.gz +0 -0
  94. package/build/client/_app/immutable/chunks/{Bw2f0Pmg.js → DU-D8S0B.js} +1 -1
  95. package/build/client/_app/immutable/chunks/DU-D8S0B.js.br +0 -0
  96. package/build/client/_app/immutable/chunks/DU-D8S0B.js.gz +0 -0
  97. package/build/client/_app/immutable/chunks/{Culo9hD6.js → DadWvtYR.js} +1 -1
  98. package/build/client/_app/immutable/chunks/DadWvtYR.js.br +0 -0
  99. package/build/client/_app/immutable/chunks/DadWvtYR.js.gz +0 -0
  100. package/build/client/_app/immutable/chunks/{Cx_xzGPa.js → DbYdNz4J.js} +1 -1
  101. package/build/client/_app/immutable/chunks/DbYdNz4J.js.br +0 -0
  102. package/build/client/_app/immutable/chunks/DbYdNz4J.js.gz +0 -0
  103. package/build/client/_app/immutable/chunks/DiFAgw_s.js +1 -0
  104. package/build/client/_app/immutable/chunks/DiFAgw_s.js.br +0 -0
  105. package/build/client/_app/immutable/chunks/DiFAgw_s.js.gz +0 -0
  106. package/build/client/_app/immutable/chunks/DrMdBz9b.js +1 -0
  107. package/build/client/_app/immutable/chunks/DrMdBz9b.js.br +0 -0
  108. package/build/client/_app/immutable/chunks/DrMdBz9b.js.gz +0 -0
  109. package/build/client/_app/immutable/chunks/{qXu78w_4.js → DsvX5v5e.js} +1 -1
  110. package/build/client/_app/immutable/chunks/DsvX5v5e.js.br +0 -0
  111. package/build/client/_app/immutable/chunks/DsvX5v5e.js.gz +0 -0
  112. package/build/client/_app/immutable/chunks/Y0ymTIHd.js +1 -0
  113. package/build/client/_app/immutable/chunks/Y0ymTIHd.js.br +0 -0
  114. package/build/client/_app/immutable/chunks/Y0ymTIHd.js.gz +0 -0
  115. package/build/client/_app/immutable/chunks/_HWrJCgx.js +1 -0
  116. package/build/client/_app/immutable/chunks/_HWrJCgx.js.br +0 -0
  117. package/build/client/_app/immutable/chunks/_HWrJCgx.js.gz +0 -0
  118. package/build/client/_app/immutable/chunks/{CRTtd6by.js → qPgPowuc.js} +1 -1
  119. package/build/client/_app/immutable/chunks/qPgPowuc.js.br +0 -0
  120. package/build/client/_app/immutable/chunks/qPgPowuc.js.gz +0 -0
  121. package/build/client/_app/immutable/chunks/ri5tqg4N.js +1 -0
  122. package/build/client/_app/immutable/chunks/ri5tqg4N.js.br +0 -0
  123. package/build/client/_app/immutable/chunks/ri5tqg4N.js.gz +0 -0
  124. package/build/client/_app/immutable/chunks/{Codln_pl.js → sdLD1XcR.js} +1 -1
  125. package/build/client/_app/immutable/chunks/sdLD1XcR.js.br +0 -0
  126. package/build/client/_app/immutable/chunks/sdLD1XcR.js.gz +0 -0
  127. package/build/client/_app/immutable/chunks/t1v2-usS.js +4 -0
  128. package/build/client/_app/immutable/chunks/t1v2-usS.js.br +0 -0
  129. package/build/client/_app/immutable/chunks/t1v2-usS.js.gz +0 -0
  130. package/build/client/_app/immutable/chunks/tLFXBP7P.js +2 -0
  131. package/build/client/_app/immutable/chunks/tLFXBP7P.js.br +0 -0
  132. package/build/client/_app/immutable/chunks/tLFXBP7P.js.gz +0 -0
  133. package/build/client/_app/immutable/entry/app.jP0Pyfdy.js +2 -0
  134. package/build/client/_app/immutable/entry/app.jP0Pyfdy.js.br +0 -0
  135. package/build/client/_app/immutable/entry/app.jP0Pyfdy.js.gz +0 -0
  136. package/build/client/_app/immutable/entry/start.KD1JZMOT.js +1 -0
  137. package/build/client/_app/immutable/entry/start.KD1JZMOT.js.br +2 -0
  138. package/build/client/_app/immutable/entry/start.KD1JZMOT.js.gz +0 -0
  139. package/build/client/_app/immutable/nodes/0.ByrdmeSo.js +3 -0
  140. package/build/client/_app/immutable/nodes/0.ByrdmeSo.js.br +0 -0
  141. package/build/client/_app/immutable/nodes/0.ByrdmeSo.js.gz +0 -0
  142. package/build/client/_app/immutable/nodes/1.VLeq38lN.js +1 -0
  143. package/build/client/_app/immutable/nodes/1.VLeq38lN.js.br +0 -0
  144. package/build/client/_app/immutable/nodes/1.VLeq38lN.js.gz +0 -0
  145. package/build/client/_app/immutable/nodes/10.BHSGZYEC.js +1 -0
  146. package/build/client/_app/immutable/nodes/10.BHSGZYEC.js.br +0 -0
  147. package/build/client/_app/immutable/nodes/10.BHSGZYEC.js.gz +0 -0
  148. package/build/client/_app/immutable/nodes/11.CZ_7M4AF.js +1 -0
  149. package/build/client/_app/immutable/nodes/11.CZ_7M4AF.js.br +0 -0
  150. package/build/client/_app/immutable/nodes/11.CZ_7M4AF.js.gz +0 -0
  151. package/build/client/_app/immutable/nodes/12.DRr2l3NZ.js +1 -0
  152. package/build/client/_app/immutable/nodes/12.DRr2l3NZ.js.br +2 -0
  153. package/build/client/_app/immutable/nodes/12.DRr2l3NZ.js.gz +0 -0
  154. package/build/client/_app/immutable/nodes/13.DetV1tDO.js +1 -0
  155. package/build/client/_app/immutable/nodes/13.DetV1tDO.js.br +0 -0
  156. package/build/client/_app/immutable/nodes/13.DetV1tDO.js.gz +0 -0
  157. package/build/client/_app/immutable/nodes/14.I-eiMWQu.js +11 -0
  158. package/build/client/_app/immutable/nodes/14.I-eiMWQu.js.br +0 -0
  159. package/build/client/_app/immutable/nodes/14.I-eiMWQu.js.gz +0 -0
  160. package/build/client/_app/immutable/nodes/2.DX9U9zLg.js +35 -0
  161. package/build/client/_app/immutable/nodes/2.DX9U9zLg.js.br +0 -0
  162. package/build/client/_app/immutable/nodes/2.DX9U9zLg.js.gz +0 -0
  163. package/build/client/_app/immutable/nodes/3.Bh8il5iy.js +1 -0
  164. package/build/client/_app/immutable/nodes/3.Bh8il5iy.js.br +0 -0
  165. package/build/client/_app/immutable/nodes/3.Bh8il5iy.js.gz +0 -0
  166. package/build/client/_app/immutable/nodes/{3.C-B1sGi_.js → 4.CtzHYc6x.js} +1 -1
  167. package/build/client/_app/immutable/nodes/4.CtzHYc6x.js.br +0 -0
  168. package/build/client/_app/immutable/nodes/4.CtzHYc6x.js.gz +0 -0
  169. package/build/client/_app/immutable/nodes/5.B4dlomkV.js +1 -0
  170. package/build/client/_app/immutable/nodes/5.B4dlomkV.js.br +0 -0
  171. package/build/client/_app/immutable/nodes/5.B4dlomkV.js.gz +0 -0
  172. package/build/client/_app/immutable/nodes/6.CPYhLc46.js +1 -0
  173. package/build/client/_app/immutable/nodes/6.CPYhLc46.js.br +4 -0
  174. package/build/client/_app/immutable/nodes/6.CPYhLc46.js.gz +0 -0
  175. package/build/client/_app/immutable/nodes/7.CBPrYfFp.js +2 -0
  176. package/build/client/_app/immutable/nodes/7.CBPrYfFp.js.br +0 -0
  177. package/build/client/_app/immutable/nodes/7.CBPrYfFp.js.gz +0 -0
  178. package/build/client/_app/immutable/nodes/8.4NTWYv4c.js +6 -0
  179. package/build/client/_app/immutable/nodes/8.4NTWYv4c.js.br +0 -0
  180. package/build/client/_app/immutable/nodes/8.4NTWYv4c.js.gz +0 -0
  181. package/build/client/_app/immutable/nodes/9.BVI-eEdV.js +1 -0
  182. package/build/client/_app/immutable/nodes/9.BVI-eEdV.js.br +0 -0
  183. package/build/client/_app/immutable/nodes/9.BVI-eEdV.js.gz +0 -0
  184. package/build/client/_app/version.json +1 -1
  185. package/build/client/_app/version.json.br +0 -0
  186. package/build/client/_app/version.json.gz +0 -0
  187. package/build/server/chunks/0-CjpeDbMt.js +9 -0
  188. package/build/server/chunks/{0-CqdHgLFy.js.map → 0-CjpeDbMt.js.map} +1 -1
  189. package/build/server/chunks/1-M0YzuUQM.js +9 -0
  190. package/build/server/chunks/{1-CptSbbsC.js.map → 1-M0YzuUQM.js.map} +1 -1
  191. package/build/server/chunks/{7-soEaW5k5.js → 10-C7WLHR92.js} +5 -5
  192. package/build/server/chunks/10-C7WLHR92.js.map +1 -0
  193. package/build/server/chunks/11-CPYwUx-7.js +21 -0
  194. package/build/server/chunks/11-CPYwUx-7.js.map +1 -0
  195. package/build/server/chunks/12-C5OSs5Op.js +20 -0
  196. package/build/server/chunks/12-C5OSs5Op.js.map +1 -0
  197. package/build/server/chunks/13-BQ9R_Ex-.js +9 -0
  198. package/build/server/chunks/13-BQ9R_Ex-.js.map +1 -0
  199. package/build/server/chunks/14-BFsI6u_W.js +9 -0
  200. package/build/server/chunks/14-BFsI6u_W.js.map +1 -0
  201. package/build/server/chunks/2-Cjh0UTU6.js +9 -0
  202. package/build/server/chunks/2-Cjh0UTU6.js.map +1 -0
  203. package/build/server/chunks/3-VrGFs76T.js +9 -0
  204. package/build/server/chunks/3-VrGFs76T.js.map +1 -0
  205. package/build/server/chunks/4-CSgrzh2F.js +9 -0
  206. package/build/server/chunks/4-CSgrzh2F.js.map +1 -0
  207. package/build/server/chunks/5-zKehYil3.js +9 -0
  208. package/build/server/chunks/5-zKehYil3.js.map +1 -0
  209. package/build/server/chunks/6-uS_X9B0s.js +21 -0
  210. package/build/server/chunks/6-uS_X9B0s.js.map +1 -0
  211. package/build/server/chunks/7-DewREBAN.js +9 -0
  212. package/build/server/chunks/7-DewREBAN.js.map +1 -0
  213. package/build/server/chunks/8-Dk3ms3jm.js +9 -0
  214. package/build/server/chunks/8-Dk3ms3jm.js.map +1 -0
  215. package/build/server/chunks/9-W6XYayeK.js +25 -0
  216. package/build/server/chunks/9-W6XYayeK.js.map +1 -0
  217. package/build/server/chunks/{AgentSidebar-BIVt78i3.js → AgentSidebar-BB_yQ9s0.js} +4 -4
  218. package/build/server/chunks/AgentSidebar-BB_yQ9s0.js.map +1 -0
  219. package/build/server/chunks/{Button-ZjVPI4zo.js → Button-Cd4Yzpdy.js} +4 -4
  220. package/build/server/chunks/Button-Cd4Yzpdy.js.map +1 -0
  221. package/build/server/chunks/{CopyTracesDropdown-B8MjGOwT.js → ChatStepTrace-cq26gF4B.js} +162 -145
  222. package/build/server/chunks/ChatStepTrace-cq26gF4B.js.map +1 -0
  223. package/build/server/chunks/ContextEditor-CfjBPLpI.js +67 -0
  224. package/build/server/chunks/ContextEditor-CfjBPLpI.js.map +1 -0
  225. package/build/server/chunks/{Icon-Csjrnozq.js → Icon-BgknHaZs.js} +2 -2
  226. package/build/server/chunks/{Icon-Csjrnozq.js.map → Icon-BgknHaZs.js.map} +1 -1
  227. package/build/server/chunks/{Input-BCU2QEQ2.js → Input-BJW36iKz.js} +2 -2
  228. package/build/server/chunks/{Input-BCU2QEQ2.js.map → Input-BJW36iKz.js.map} +1 -1
  229. package/build/server/chunks/{Modal-bmttP-F1.js → Modal-D4tx0Bdo.js} +3 -3
  230. package/build/server/chunks/Modal-D4tx0Bdo.js.map +1 -0
  231. package/build/server/chunks/{Tab-Jw_OwV7Q.js → Tab-DheAG-QC.js} +3 -3
  232. package/build/server/chunks/Tab-DheAG-QC.js.map +1 -0
  233. package/build/server/chunks/{_layout.svelte-GwcIlDHC.js → _layout.svelte-BL8XnK1E.js} +23 -28
  234. package/build/server/chunks/_layout.svelte-BL8XnK1E.js.map +1 -0
  235. package/build/server/chunks/_layout.svelte-DHgaGTP_.js +844 -0
  236. package/build/server/chunks/_layout.svelte-DHgaGTP_.js.map +1 -0
  237. package/build/server/chunks/{_layout.svelte-CrT993Da.js → _layout.svelte-Svi5xbzP.js} +1 -14
  238. package/build/server/chunks/_layout.svelte-Svi5xbzP.js.map +1 -0
  239. package/build/server/chunks/{_page.svelte-CVO2CdmB.js → _page.svelte-39hvC6-Q.js} +4 -4
  240. package/build/server/chunks/{_page.svelte-CVO2CdmB.js.map → _page.svelte-39hvC6-Q.js.map} +1 -1
  241. package/build/server/chunks/{_page.svelte-D8d07zd0.js → _page.svelte-BpnUXzfh.js} +25 -10
  242. package/build/server/chunks/_page.svelte-BpnUXzfh.js.map +1 -0
  243. package/build/server/chunks/{_page.svelte--l_LvFv_.js → _page.svelte-C1YaC_Qg.js} +498 -496
  244. package/build/server/chunks/_page.svelte-C1YaC_Qg.js.map +1 -0
  245. package/build/server/chunks/{_page.svelte-BAi74pJ3.js → _page.svelte-CbqAsz26.js} +3 -3
  246. package/build/server/chunks/_page.svelte-CbqAsz26.js.map +1 -0
  247. package/build/server/chunks/{_page.svelte-BOzS_rqK.js → _page.svelte-CmsDxzfh.js} +19 -27
  248. package/build/server/chunks/_page.svelte-CmsDxzfh.js.map +1 -0
  249. package/build/server/chunks/{_page.svelte-d8hJxmZl.js → _page.svelte-DCP-PSh0.js} +243 -379
  250. package/build/server/chunks/_page.svelte-DCP-PSh0.js.map +1 -0
  251. package/build/server/chunks/edit-workspace-context-OTOIRCI0.js +13 -0
  252. package/build/server/chunks/edit-workspace-context-OTOIRCI0.js.map +1 -0
  253. package/build/server/chunks/hooks-BJphIAi-.js +8 -0
  254. package/build/server/chunks/hooks-BJphIAi-.js.map +1 -0
  255. package/build/server/chunks/{Tab.svelte_svelte_type_style_lang-ByZ0KVzO.js → index-server-CefdgakO.js} +2 -2
  256. package/build/server/chunks/index-server-CefdgakO.js.map +1 -0
  257. package/build/server/chunks/{index2-C572SQM_.js → index2-BuOY2QE4.js} +2 -2
  258. package/build/server/chunks/{index2-C572SQM_.js.map → index2-BuOY2QE4.js.map} +1 -1
  259. package/build/server/chunks/log-content.svelte-B3ZvaoLs.js +20 -0
  260. package/build/server/chunks/log-content.svelte-B3ZvaoLs.js.map +1 -0
  261. package/build/server/index.js +3 -2
  262. package/build/server/index.js.map +1 -1
  263. package/build/server/manifest.js +51 -18
  264. package/build/server/manifest.js.map +1 -1
  265. package/package.json +3 -1
  266. package/src/backend/lib/decode-html-entities.spec.ts +29 -0
  267. package/src/backend/lib/decode-html-entities.ts +25 -0
  268. package/src/backend/roleplay/router.ts +31 -0
  269. package/src/backend/tests/academy.ts +353 -115
  270. package/src/backend/tests/analyze.ts +357 -0
  271. package/src/backend/tests/data.ts +48 -12
  272. package/src/backend/tests/emulate-agents.ts +39 -4
  273. package/src/backend/tests/prompt-issues.ts +204 -0
  274. package/src/backend/tests/router.ts +51 -4
  275. package/build/client/_app/immutable/assets/0.BPqDeVAI.css +0 -1
  276. package/build/client/_app/immutable/assets/0.BPqDeVAI.css.br +0 -0
  277. package/build/client/_app/immutable/assets/0.BPqDeVAI.css.gz +0 -0
  278. package/build/client/_app/immutable/assets/4.BIrSikaZ.css +0 -1
  279. package/build/client/_app/immutable/assets/4.BIrSikaZ.css.br +0 -0
  280. package/build/client/_app/immutable/assets/4.BIrSikaZ.css.gz +0 -0
  281. package/build/client/_app/immutable/assets/6.C4C8vBUW.css +0 -1
  282. package/build/client/_app/immutable/assets/6.C4C8vBUW.css.br +0 -0
  283. package/build/client/_app/immutable/assets/6.C4C8vBUW.css.gz +0 -0
  284. package/build/client/_app/immutable/assets/Tab.BxaGw9IG.css.br +0 -0
  285. package/build/client/_app/immutable/assets/Tab.BxaGw9IG.css.gz +0 -0
  286. package/build/client/_app/immutable/chunks/4PztAao_.js.br +0 -0
  287. package/build/client/_app/immutable/chunks/4PztAao_.js.gz +0 -0
  288. package/build/client/_app/immutable/chunks/B2gGEZTS.js +0 -1
  289. package/build/client/_app/immutable/chunks/B2gGEZTS.js.br +0 -2
  290. package/build/client/_app/immutable/chunks/B2gGEZTS.js.gz +0 -0
  291. package/build/client/_app/immutable/chunks/BHL1bMOV.js.br +0 -0
  292. package/build/client/_app/immutable/chunks/BHL1bMOV.js.gz +0 -0
  293. package/build/client/_app/immutable/chunks/BOQMymse.js.br +0 -0
  294. package/build/client/_app/immutable/chunks/BOQMymse.js.gz +0 -0
  295. package/build/client/_app/immutable/chunks/Bd7SZbXQ.js.br +0 -0
  296. package/build/client/_app/immutable/chunks/Bd7SZbXQ.js.gz +0 -0
  297. package/build/client/_app/immutable/chunks/Bf1oCG9-.js.br +0 -0
  298. package/build/client/_app/immutable/chunks/Bf1oCG9-.js.gz +0 -0
  299. package/build/client/_app/immutable/chunks/BgaIh2D4.js +0 -1
  300. package/build/client/_app/immutable/chunks/BgaIh2D4.js.br +0 -0
  301. package/build/client/_app/immutable/chunks/BgaIh2D4.js.gz +0 -0
  302. package/build/client/_app/immutable/chunks/BrDK8TTs.js +0 -2
  303. package/build/client/_app/immutable/chunks/BrDK8TTs.js.br +0 -0
  304. package/build/client/_app/immutable/chunks/BrDK8TTs.js.gz +0 -0
  305. package/build/client/_app/immutable/chunks/BsKQRAyX.js +0 -1
  306. package/build/client/_app/immutable/chunks/BsKQRAyX.js.br +0 -0
  307. package/build/client/_app/immutable/chunks/BsKQRAyX.js.gz +0 -0
  308. package/build/client/_app/immutable/chunks/Bw2f0Pmg.js.br +0 -0
  309. package/build/client/_app/immutable/chunks/Bw2f0Pmg.js.gz +0 -0
  310. package/build/client/_app/immutable/chunks/BzAx_Qn3.js +0 -1
  311. package/build/client/_app/immutable/chunks/BzAx_Qn3.js.br +0 -0
  312. package/build/client/_app/immutable/chunks/BzAx_Qn3.js.gz +0 -0
  313. package/build/client/_app/immutable/chunks/C-dTPkQy.js +0 -1
  314. package/build/client/_app/immutable/chunks/C-dTPkQy.js.br +0 -0
  315. package/build/client/_app/immutable/chunks/C-dTPkQy.js.gz +0 -0
  316. package/build/client/_app/immutable/chunks/C769zFCl.js.br +0 -0
  317. package/build/client/_app/immutable/chunks/C769zFCl.js.gz +0 -0
  318. package/build/client/_app/immutable/chunks/C7FjDhij.js +0 -4
  319. package/build/client/_app/immutable/chunks/C7FjDhij.js.br +0 -0
  320. package/build/client/_app/immutable/chunks/C7FjDhij.js.gz +0 -0
  321. package/build/client/_app/immutable/chunks/CInh9KnU.js +0 -1
  322. package/build/client/_app/immutable/chunks/CInh9KnU.js.br +0 -2
  323. package/build/client/_app/immutable/chunks/CInh9KnU.js.gz +0 -0
  324. package/build/client/_app/immutable/chunks/CRTtd6by.js.br +0 -0
  325. package/build/client/_app/immutable/chunks/CRTtd6by.js.gz +0 -0
  326. package/build/client/_app/immutable/chunks/CRlLKhPr.js.br +0 -0
  327. package/build/client/_app/immutable/chunks/CRlLKhPr.js.gz +0 -0
  328. package/build/client/_app/immutable/chunks/CUfDVPpW.js +0 -1
  329. package/build/client/_app/immutable/chunks/CUfDVPpW.js.br +0 -0
  330. package/build/client/_app/immutable/chunks/CUfDVPpW.js.gz +0 -0
  331. package/build/client/_app/immutable/chunks/CfKHaDCm.js.br +0 -0
  332. package/build/client/_app/immutable/chunks/CfKHaDCm.js.gz +0 -0
  333. package/build/client/_app/immutable/chunks/Codln_pl.js.br +0 -0
  334. package/build/client/_app/immutable/chunks/Codln_pl.js.gz +0 -0
  335. package/build/client/_app/immutable/chunks/Culo9hD6.js.br +0 -0
  336. package/build/client/_app/immutable/chunks/Culo9hD6.js.gz +0 -0
  337. package/build/client/_app/immutable/chunks/CxDLEL1d.js +0 -8
  338. package/build/client/_app/immutable/chunks/CxDLEL1d.js.br +0 -0
  339. package/build/client/_app/immutable/chunks/CxDLEL1d.js.gz +0 -0
  340. package/build/client/_app/immutable/chunks/Cx_xzGPa.js.br +0 -0
  341. package/build/client/_app/immutable/chunks/Cx_xzGPa.js.gz +0 -0
  342. package/build/client/_app/immutable/chunks/D-51TRqM.js +0 -33
  343. package/build/client/_app/immutable/chunks/D-51TRqM.js.br +0 -0
  344. package/build/client/_app/immutable/chunks/D-51TRqM.js.gz +0 -0
  345. package/build/client/_app/immutable/chunks/D5fGPlBk.js.br +0 -0
  346. package/build/client/_app/immutable/chunks/D5fGPlBk.js.gz +0 -0
  347. package/build/client/_app/immutable/chunks/D9h7-Y-f.js +0 -1
  348. package/build/client/_app/immutable/chunks/D9h7-Y-f.js.br +0 -0
  349. package/build/client/_app/immutable/chunks/D9h7-Y-f.js.gz +0 -0
  350. package/build/client/_app/immutable/chunks/DAfsp-82.js.br +0 -0
  351. package/build/client/_app/immutable/chunks/DAfsp-82.js.gz +0 -0
  352. package/build/client/_app/immutable/chunks/DJ_lsF0V.js.br +0 -0
  353. package/build/client/_app/immutable/chunks/DJ_lsF0V.js.gz +0 -0
  354. package/build/client/_app/immutable/chunks/DaRvw8c-.js.br +0 -0
  355. package/build/client/_app/immutable/chunks/DaRvw8c-.js.gz +0 -0
  356. package/build/client/_app/immutable/chunks/FawE95CY.js +0 -1
  357. package/build/client/_app/immutable/chunks/FawE95CY.js.br +0 -0
  358. package/build/client/_app/immutable/chunks/FawE95CY.js.gz +0 -0
  359. package/build/client/_app/immutable/chunks/HBgR5qMR.js +0 -3
  360. package/build/client/_app/immutable/chunks/HBgR5qMR.js.br +0 -0
  361. package/build/client/_app/immutable/chunks/HBgR5qMR.js.gz +0 -0
  362. package/build/client/_app/immutable/chunks/I-mny6CH.js +0 -1
  363. package/build/client/_app/immutable/chunks/I-mny6CH.js.br +0 -0
  364. package/build/client/_app/immutable/chunks/I-mny6CH.js.gz +0 -0
  365. package/build/client/_app/immutable/chunks/aeuWzujc.js +0 -1
  366. package/build/client/_app/immutable/chunks/aeuWzujc.js.br +0 -2
  367. package/build/client/_app/immutable/chunks/aeuWzujc.js.gz +0 -0
  368. package/build/client/_app/immutable/chunks/qXu78w_4.js.br +0 -0
  369. package/build/client/_app/immutable/chunks/qXu78w_4.js.gz +0 -0
  370. package/build/client/_app/immutable/chunks/yOR3vtRx.js.br +0 -0
  371. package/build/client/_app/immutable/chunks/yOR3vtRx.js.gz +0 -0
  372. package/build/client/_app/immutable/entry/app.Dd7V5oBZ.js +0 -2
  373. package/build/client/_app/immutable/entry/app.Dd7V5oBZ.js.br +0 -0
  374. package/build/client/_app/immutable/entry/app.Dd7V5oBZ.js.gz +0 -0
  375. package/build/client/_app/immutable/entry/start.I6276KWl.js +0 -1
  376. package/build/client/_app/immutable/entry/start.I6276KWl.js.br +0 -2
  377. package/build/client/_app/immutable/entry/start.I6276KWl.js.gz +0 -0
  378. package/build/client/_app/immutable/nodes/0.DgVTcUxG.js +0 -3
  379. package/build/client/_app/immutable/nodes/0.DgVTcUxG.js.br +0 -0
  380. package/build/client/_app/immutable/nodes/0.DgVTcUxG.js.gz +0 -0
  381. package/build/client/_app/immutable/nodes/1._3H1cdWd.js +0 -1
  382. package/build/client/_app/immutable/nodes/1._3H1cdWd.js.br +0 -0
  383. package/build/client/_app/immutable/nodes/1._3H1cdWd.js.gz +0 -0
  384. package/build/client/_app/immutable/nodes/2.BO0WBJz3.js +0 -1
  385. package/build/client/_app/immutable/nodes/2.BO0WBJz3.js.br +0 -0
  386. package/build/client/_app/immutable/nodes/2.BO0WBJz3.js.gz +0 -0
  387. package/build/client/_app/immutable/nodes/3.C-B1sGi_.js.br +0 -0
  388. package/build/client/_app/immutable/nodes/3.C-B1sGi_.js.gz +0 -0
  389. package/build/client/_app/immutable/nodes/4.SsrvuMXV.js +0 -35
  390. package/build/client/_app/immutable/nodes/4.SsrvuMXV.js.br +0 -0
  391. package/build/client/_app/immutable/nodes/4.SsrvuMXV.js.gz +0 -0
  392. package/build/client/_app/immutable/nodes/5.DM_0dw43.js +0 -1
  393. package/build/client/_app/immutable/nodes/5.DM_0dw43.js.br +0 -0
  394. package/build/client/_app/immutable/nodes/5.DM_0dw43.js.gz +0 -0
  395. package/build/client/_app/immutable/nodes/6.BLcf1-sM.js +0 -5
  396. package/build/client/_app/immutable/nodes/6.BLcf1-sM.js.br +0 -0
  397. package/build/client/_app/immutable/nodes/6.BLcf1-sM.js.gz +0 -0
  398. package/build/client/_app/immutable/nodes/7.BLozkJCY.js +0 -1
  399. package/build/client/_app/immutable/nodes/7.BLozkJCY.js.br +0 -0
  400. package/build/client/_app/immutable/nodes/7.BLozkJCY.js.gz +0 -0
  401. package/build/client/_app/immutable/nodes/8.BeHRzquW.js +0 -1
  402. package/build/client/_app/immutable/nodes/8.BeHRzquW.js.br +0 -0
  403. package/build/client/_app/immutable/nodes/8.BeHRzquW.js.gz +0 -0
  404. package/build/client/_app/immutable/nodes/9.B1qNbiqD.js +0 -11
  405. package/build/client/_app/immutable/nodes/9.B1qNbiqD.js.br +0 -0
  406. package/build/client/_app/immutable/nodes/9.B1qNbiqD.js.gz +0 -0
  407. package/build/server/chunks/0-CqdHgLFy.js +0 -9
  408. package/build/server/chunks/1-CptSbbsC.js +0 -9
  409. package/build/server/chunks/2-CVrU1q5e.js +0 -9
  410. package/build/server/chunks/2-CVrU1q5e.js.map +0 -1
  411. package/build/server/chunks/3-Bi3FZgxy.js +0 -9
  412. package/build/server/chunks/3-Bi3FZgxy.js.map +0 -1
  413. package/build/server/chunks/4-Cg81z1QT.js +0 -9
  414. package/build/server/chunks/4-Cg81z1QT.js.map +0 -1
  415. package/build/server/chunks/5-BDZ8fU2l.js +0 -9
  416. package/build/server/chunks/5-BDZ8fU2l.js.map +0 -1
  417. package/build/server/chunks/6-_jdLZ_Lr.js +0 -33
  418. package/build/server/chunks/6-_jdLZ_Lr.js.map +0 -1
  419. package/build/server/chunks/7-soEaW5k5.js.map +0 -1
  420. package/build/server/chunks/8-Yp_dUmRS.js +0 -9
  421. package/build/server/chunks/8-Yp_dUmRS.js.map +0 -1
  422. package/build/server/chunks/9-Cb4lmLGK.js +0 -9
  423. package/build/server/chunks/9-Cb4lmLGK.js.map +0 -1
  424. package/build/server/chunks/AgentSidebar-BIVt78i3.js.map +0 -1
  425. package/build/server/chunks/Button-ZjVPI4zo.js.map +0 -1
  426. package/build/server/chunks/ContextEditor-Dgs8Ax9B.js +0 -45
  427. package/build/server/chunks/ContextEditor-Dgs8Ax9B.js.map +0 -1
  428. package/build/server/chunks/CopyTracesDropdown-B8MjGOwT.js.map +0 -1
  429. package/build/server/chunks/Modal-bmttP-F1.js.map +0 -1
  430. package/build/server/chunks/Tab-Jw_OwV7Q.js.map +0 -1
  431. package/build/server/chunks/Tab.svelte_svelte_type_style_lang-ByZ0KVzO.js.map +0 -1
  432. package/build/server/chunks/_layout.svelte-CrT993Da.js.map +0 -1
  433. package/build/server/chunks/_layout.svelte-GwcIlDHC.js.map +0 -1
  434. package/build/server/chunks/_page.svelte--l_LvFv_.js.map +0 -1
  435. package/build/server/chunks/_page.svelte-BAi74pJ3.js.map +0 -1
  436. package/build/server/chunks/_page.svelte-BOzS_rqK.js.map +0 -1
  437. package/build/server/chunks/_page.svelte-D8d07zd0.js.map +0 -1
  438. package/build/server/chunks/_page.svelte-d8hJxmZl.js.map +0 -1
  439. /package/build/client/_app/immutable/assets/{9.C5apk4jm.css → 14.C5apk4jm.css} +0 -0
  440. /package/build/client/_app/immutable/assets/{9.C5apk4jm.css.br → 14.C5apk4jm.css.br} +0 -0
  441. /package/build/client/_app/immutable/assets/{9.C5apk4jm.css.gz → 14.C5apk4jm.css.gz} +0 -0
  442. /package/build/client/_app/immutable/assets/{2.Dzh7_Q8n.css → 3.Dzh7_Q8n.css} +0 -0
  443. /package/build/client/_app/immutable/assets/{2.Dzh7_Q8n.css.br → 3.Dzh7_Q8n.css.br} +0 -0
  444. /package/build/client/_app/immutable/assets/{2.Dzh7_Q8n.css.gz → 3.Dzh7_Q8n.css.gz} +0 -0
  445. /package/build/client/_app/immutable/assets/{3.CZVw96CJ.css → 4.CZVw96CJ.css} +0 -0
  446. /package/build/client/_app/immutable/assets/{3.CZVw96CJ.css.br → 4.CZVw96CJ.css.br} +0 -0
  447. /package/build/client/_app/immutable/assets/{3.CZVw96CJ.css.gz → 4.CZVw96CJ.css.gz} +0 -0
  448. /package/build/client/_app/immutable/assets/{CopyTracesDropdown.NFJFjHv0.css → ChatStepTrace.NFJFjHv0.css} +0 -0
  449. /package/build/client/_app/immutable/assets/{CopyTracesDropdown.NFJFjHv0.css.br → ChatStepTrace.NFJFjHv0.css.br} +0 -0
  450. /package/build/client/_app/immutable/assets/{CopyTracesDropdown.NFJFjHv0.css.gz → ChatStepTrace.NFJFjHv0.css.gz} +0 -0
  451. /package/build/client/_app/immutable/assets/{Modal.tn0RQdqM.css → bosun-theme.tn0RQdqM.css} +0 -0
  452. /package/build/client/_app/immutable/assets/{Modal.tn0RQdqM.css.br → bosun-theme.tn0RQdqM.css.br} +0 -0
  453. /package/build/client/_app/immutable/assets/{Modal.tn0RQdqM.css.gz → bosun-theme.tn0RQdqM.css.gz} +0 -0
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Bw2f0Pmg.js","./yOR3vtRx.js"])))=>i.map(i=>d[i]);
2
- var RY=Object.defineProperty;var MY=(o,e,t)=>e in o?RY(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Oi=(o,e,t)=>MY(o,typeof e!="symbol"?e+"":e,t);import{_ as Se}from"./BsKQRAyX.js";function er(o,e=0){return o[o.length-(1+e)]}function AY(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function ei(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;i<n;i++)if(!t(o[i],e[i]))return!1;return!0}function PY(o,e){const t=o.length-1;e<t&&(o[e]=o[t]),o.pop()}function Vv(o,e,t){return OY(o.length,i=>t(o[i],e))}function OY(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function qT(o,e,t){if(o=o|0,o>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o<n.length?qT(o,n,t):o<n.length+r.length?r[0]:qT(o-(n.length+r.length),s,t)}function gB(o,e){const t=[];let i;for(const n of o.slice(0).sort(e))!i||e(i[0],n)!==0?(i=[n],t.push(i)):i.push(n);return t}function*_4(o,e){let t,i;for(const n of o)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function V6(o,e){for(let t=0;t<=o.length;t++)e(t===0?void 0:o[t-1],t===o.length?void 0:o[t])}function FY(o,e){for(let t=0;t<o.length;t++)e(t===0?void 0:o[t-1],o[t],t+1===o.length?void 0:o[t+1])}function $r(o){return o.filter(e=>!!e)}function fB(o){let e=0;for(let t=0;t<o.length;t++)o[t]&&(o[e]=o[t],e+=1);o.length=e}function z6(o){return!Array.isArray(o)||o.length===0}function Xn(o){return Array.isArray(o)&&o.length>0}function Zc(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function b4(o,e){return o.length>0?o[0]:e}function Ds(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function YD(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function BE(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function gS(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function GT(o,e){for(const t of e)o.push(t)}function C4(o){return Array.isArray(o)?o:[o]}function WY(o,e,t){const i=U6(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r<s;r++)o[r+i]=t[r]}function mB(o,e,t,i){const n=U6(o,e);let s=o.splice(n,t);return s===void 0&&(s=[]),WY(o,n,i),s}function U6(o,e){return e<0?Math.max(e+o.length,0):Math.min(e,o.length)}var zv;(function(o){function e(s){return s<0}o.isLessThan=e;function t(s){return s<=0}o.isLessThanOrEqual=t;function i(s){return s>0}o.isGreaterThan=i;function n(s){return s===0}o.isNeitherLessOrGreaterThan=n,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(zv||(zv={}));function us(o,e){return(t,i)=>e(o(t),o(i))}function BY(...o){return(e,t)=>{for(const i of o){const n=i(e,t);if(!zv.isNeitherLessOrGreaterThan(n))return n}return zv.neitherLessOrGreaterThan}}const zr=(o,e)=>o-e,HY=(o,e)=>zr(o?1:0,e?1:0);function $6(o){return(e,t)=>-o(e,t)}class Yc{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}const Cp=class Cp{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new Cp(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new Cp(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||zv.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}};Cp.empty=new Cp(e=>{});let dg=Cp;class fy{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,s)=>t(e[n],e[s]));return new fy(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t<this._indexMap.length;t++)e[this._indexMap[t]]=t;return new fy(e)}}function Ms(o){return typeof o=="string"}function sn(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function VY(o){const e=Object.getPrototypeOf(Uint8Array);return typeof o=="object"&&o instanceof e}function Eh(o){return typeof o=="number"&&!isNaN(o)}function pB(o){return!!o&&typeof o[Symbol.iterator]=="function"}function j6(o){return o===!0||o===!1}function Yn(o){return typeof o>"u"}function El(o){return!To(o)}function To(o){return Yn(o)||o===null}function gt(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function $d(o){if(To(o))throw new Error("Assertion Failed: argument is undefined or null");return o}function Uv(o){return typeof o=="function"}function zY(o,e){const t=Math.min(o.length,e.length);for(let i=0;i<t;i++)UY(o[i],e[i])}function UY(o,e){if(Ms(e)){if(typeof o!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(Uv(e)){try{if(o instanceof e)return}catch{}if(!To(o)&&o.constructor===e||e.length===1&&e.call(void 0,o)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function bc(o){if(!o||typeof o!="object"||o instanceof RegExp)return o;const e=Array.isArray(o)?[]:{};return Object.entries(o).forEach(([t,i])=>{e[t]=i&&typeof i=="object"?bc(i):i}),e}function $Y(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(K6.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!VY(n)&&e.push(n)}}return o}const K6=Object.prototype.hasOwnProperty;function q6(o,e){return ZT(o,e,new Set)}function ZT(o,e,t){if(To(o))return o;const i=e(o);if(typeof i<"u")return i;if(Array.isArray(o)){const n=[];for(const s of o)n.push(ZT(s,e,t));return n}if(sn(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)K6.call(o,s)&&(n[s]=ZT(o[s],e,t));return t.delete(o),n}return o}function XD(o,e,t=!0){return sn(o)?(sn(e)&&Object.keys(e).forEach(i=>{i in o?t&&(sn(o[i])&&sn(e[i])?XD(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function so(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;t<o.length;t++)if(!so(o[t],e[t]))return!1}else{const n=[];for(i in o)n.push(i);n.sort();const s=[];for(i in e)s.push(i);if(s.sort(),!so(n,s))return!1;for(t=0;t<n.length;t++)if(!so(o[n[t]],e[n[t]]))return!1}return!0}function jY(o){let e=[];for(;Object.prototype!==o;)e=e.concat(Object.getOwnPropertyNames(o)),o=Object.getPrototypeOf(o);return e}function YT(o){const e=[];for(const t of jY(o))typeof o[t]=="function"&&e.push(t);return e}function KY(o,e){const t=n=>function(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}function G6(){return globalThis._VSCODE_NLS_MESSAGES}function v4(){return globalThis._VSCODE_NLS_LANGUAGE}const qY=v4()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function my(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),qY&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return my(typeof o=="number"?Z6(o,e):e,t)}function Z6(o,e){var i;const t=(i=G6())==null?void 0:i[o];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${o} !!!`)}return t}function Ee(o,e,...t){let i;typeof o=="number"?i=Z6(o,e):i=e;const n=my(i,t);return{value:n,original:e===i?n:my(e,t)}}const Gm="en";let py=!1,_y=!1,k0=!1,Y6=!1,w4=!1,S4=!1,X6=!1,fS,D0=Gm,_B=Gm,GY,na;const zc=globalThis;let ns;var F6;typeof zc.vscode<"u"&&typeof zc.vscode.process<"u"?ns=zc.vscode.process:typeof process<"u"&&typeof((F6=process==null?void 0:process.versions)==null?void 0:F6.node)=="string"&&(ns=process);var W6;const ZY=typeof((W6=ns==null?void 0:ns.versions)==null?void 0:W6.electron)=="string",YY=ZY&&(ns==null?void 0:ns.type)==="renderer";var B6;if(typeof ns=="object"){py=ns.platform==="win32",_y=ns.platform==="darwin",k0=ns.platform==="linux",k0&&ns.env.SNAP&&ns.env.SNAP_REVISION,ns.env.CI||ns.env.BUILD_ARTIFACTSTAGINGDIRECTORY,fS=Gm,D0=Gm;const o=ns.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o);fS=e.userLocale,_B=e.osLocale,D0=e.resolvedLanguage||Gm,GY=(B6=e.languagePack)==null?void 0:B6.translationsConfigFile}catch{}Y6=!0}else typeof navigator=="object"&&!YY?(na=navigator.userAgent,py=na.indexOf("Windows")>=0,_y=na.indexOf("Macintosh")>=0,S4=(na.indexOf("Macintosh")>=0||na.indexOf("iPad")>=0||na.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,k0=na.indexOf("Linux")>=0,X6=(na==null?void 0:na.indexOf("Mobi"))>=0,w4=!0,D0=v4()||Gm,fS=navigator.language.toLowerCase(),_B=fS):console.error("Unable to resolve platform.");const In=py,Je=_y,ms=k0,Ml=Y6,Zf=w4,XY=w4&&typeof zc.importScripts=="function",QY=XY?zc.origin:void 0,Ma=S4,Q6=X6,Al=na,JY=D0,eX=typeof zc.postMessage=="function"&&!zc.importScripts,J6=(()=>{if(eX){const o=[];zc.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i<n;i++){const s=o[i];if(s.id===t.data.vscodeScheduleAsyncWork){o.splice(i,1),s.callback();return}}});let e=0;return t=>{const i=++e;o.push({id:i,callback:t}),zc.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),no=_y||S4?2:py?1:3;let bB=!0,CB=!1;function ez(){if(!CB){CB=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,bB=new Uint16Array(o.buffer)[0]===513}return bB}const tz=!!(Al&&Al.indexOf("Chrome")>=0),tX=!!(Al&&Al.indexOf("Firefox")>=0),iX=!!(!tz&&Al&&Al.indexOf("Safari")>=0),nX=!!(Al&&Al.indexOf("Edg/")>=0),sX=!!(Al&&Al.indexOf("Android")>=0),Mn={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var st;(function(o){function e(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(w){yield w}o.single=n;function s(w){return e(w)?w:n(w)}o.wrap=s;function r(w){return w||t}o.from=r;function*a(w){for(let S=w.length-1;S>=0;S--)yield w[S]}o.reverse=a;function l(w){return!w||w[Symbol.iterator]().next().done===!0}o.isEmpty=l;function c(w){return w[Symbol.iterator]().next().value}o.first=c;function d(w,S){let L=0;for(const k of w)if(S(k,L++))return!0;return!1}o.some=d;function h(w,S){for(const L of w)if(S(L))return L}o.find=h;function*u(w,S){for(const L of w)S(L)&&(yield L)}o.filter=u;function*g(w,S){let L=0;for(const k of w)yield S(k,L++)}o.map=g;function*f(w,S){let L=0;for(const k of w)yield*S(k,L++)}o.flatMap=f;function*p(...w){for(const S of w)yield*S}o.concat=p;function _(w,S,L){let k=L;for(const D of w)k=S(k,D);return k}o.reduce=_;function*b(w,S,L=w.length){for(S<0&&(S+=w.length),L<0?L+=w.length:L>w.length&&(L=w.length);S<L;S++)yield w[S]}o.slice=b;function C(w,S=Number.POSITIVE_INFINITY){const L=[];if(S===0)return[L,w];const k=w[Symbol.iterator]();for(let D=0;D<S;D++){const T=k.next();if(T.done)return[L,o.empty()];L.push(T.value)}return[L,{[Symbol.iterator](){return k}}]}o.consume=C;async function v(w){const S=[];for await(const L of w)S.push(L);return Promise.resolve(S)}o.asyncToArray=v})(st||(st={}));var Oc;let ji=(Oc=class{constructor(e){this.element=e,this.next=Oc.Undefined,this.prev=Oc.Undefined}},Oc.Undefined=new Oc(void 0),Oc);class ls{constructor(){this._first=ji.Undefined,this._last=ji.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ji.Undefined}clear(){let e=this._first;for(;e!==ji.Undefined;){const t=e.next;e.prev=ji.Undefined,e.next=ji.Undefined,e=t}this._first=ji.Undefined,this._last=ji.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new ji(e);if(this._first===ji.Undefined)this._first=i,this._last=i;else if(t){const s=this._last;this._last=i,i.prev=s,s.next=i}else{const s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==ji.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ji.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ji.Undefined&&e.next!==ji.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ji.Undefined&&e.next===ji.Undefined?(this._first=ji.Undefined,this._last=ji.Undefined):e.next===ji.Undefined?(this._last=this._last.prev,this._last.next=ji.Undefined):e.prev===ji.Undefined&&(this._first=this._first.next,this._first.prev=ji.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ji.Undefined;)yield e.element,e=e.next}}const by="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function oX(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of by)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const y4=oX();function L4(o){let e=y4;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const iz=new ls;iz.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function $v(o,e,t,i,n){if(e=L4(e),n||(n=st.first(iz)),t.length>n.maxLen){let c=o-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,o+n.maxLen/2),$v(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-s>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const h=rX(e,t,r,a);if(!h&&l||(l=h,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function rX(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}const il=8;class nz{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class sz{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Xt{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return QD(e,t)}compute(e,t,i){return i}}class FC{constructor(e,t){this.newValue=e,this.didChange=t}}function QD(o,e){if(typeof o!="object"||typeof e!="object"||!o||!e)return new FC(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const i=Array.isArray(o)&&Array.isArray(e)&&ei(o,e);return new FC(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=QD(o[i],e[i]);n.didChange&&(o[i]=n.newValue,t=!0)}return new FC(o,t)}class S1{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return QD(e,t)}validate(e){return this.defaultValue}}class rb{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return QD(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function be(o,e){return typeof o>"u"?e:o==="false"?!1:!!o}class ht extends rb{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return be(e,this.defaultValue)}}function xu(o,e,t,i){if(typeof o>"u")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Mt extends rb{static clampedInt(e,t,i,n){return xu(e,t,i,n)}constructor(e,t,i,n,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}validate(e){return Mt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function aX(o,e,t,i){if(typeof o>"u")return e;const n=Po.float(o,e);return Po.clamp(n,t,i)}class Po extends rb{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,s){typeof s<"u"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}validate(e){return this.validationFn(Po.float(e,this.defaultValue))}}class Gn extends rb{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return Gn.string(e,this.defaultValue)}}function ui(o,e,t,i){return typeof o!="string"?e:i&&o in i?i[o]:t.indexOf(o)===-1?e:o}class hi extends rb{constructor(e,t,i,n,s=void 0){typeof s<"u"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return ui(e,this.defaultValue,this._allowedValues)}}class mS extends Xt{constructor(e,t,i,n,s,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function lX(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class cX extends Xt{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class dX extends Xt{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:be(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:be(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function hX(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var gn;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(gn||(gn={}));function uX(o){switch(o){case"line":return gn.Line;case"block":return gn.Block;case"underline":return gn.Underline;case"line-thin":return gn.LineThin;case"block-outline":return gn.BlockOutline;case"underline-thin":return gn.UnderlineThin}}class gX extends S1{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}}class fX extends ht{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class mX extends Xt{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:Je},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:be(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":ui(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":ui(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:be(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:be(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:be(t.loop,this.defaultValue.loop)}}}const gc=class gc extends Xt{constructor(){super(51,"fontLigatures",gc.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?gc.OFF:e==="true"?gc.ON:e:e?gc.ON:gc.OFF}};gc.OFF='"liga" off, "calt" off',gc.ON='"liga" on, "calt" on';let Nh=gc;const fc=class fc extends Xt{constructor(){super(54,"fontVariations",fc.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?fc.OFF:e==="true"?fc.TRANSLATE:e:e?fc.TRANSLATE:fc.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}};fc.OFF="normal",fc.TRANSLATE="translate";let jv=fc;class pX extends S1{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class _X extends rb{constructor(){super(52,"fontSize",gs.fontSize,{type:"number",minimum:6,maximum:100,default:gs.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=Po.float(e,this.defaultValue);return t===0?gs.fontSize:Po.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}const al=class al extends Xt{constructor(){super(53,"fontWeight",gs.fontWeight,{anyOf:[{type:"number",minimum:al.MINIMUM_VALUE,maximum:al.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:al.SUGGESTION_VALUES}],default:gs.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Mt.clampedInt(e,gs.fontWeight,al.MINIMUM_VALUE,al.MAXIMUM_VALUE))}};al.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],al.MINIMUM_VALUE=1,al.MAXIMUM_VALUE=1e3;let XT=al;class bX extends Xt{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:ui(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:t.multipleDefinitions??ui(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:t.multipleTypeDefinitions??ui(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:t.multipleDeclarations??ui(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:t.multipleImplementations??ui(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:t.multipleReferences??ui(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:t.multipleTests??ui(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Gn.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Gn.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Gn.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Gn.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Gn.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:Gn.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}class CX extends Xt{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),delay:Mt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:be(t.sticky,this.defaultValue.sticky),hidingDelay:Mt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:be(t.above,this.defaultValue.above)}}}class Pp extends S1{constructor(){super(146)}compute(e,t,i){return Pp.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const s=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/s);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,_=e.verticalScrollbarWidth,b=e.viewLineCount,C=e.remainingWidth,v=e.isViewportWrapping,w=h?2:3;let S=Math.floor(s*n);const L=S/s;let k=!1,D=!1,T=w*u,U=u/s,W=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:pe,extraLinesBeforeFirstLine:ge,extraLinesBeyondLastLine:Ae,desiredRatio:Pe,minimapLineCount:di}=Pp.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:s});if(b/di>1)k=!0,D=!0,u=1,T=1,U=u/s;else{let Dt=!1,wt=u+1;if(f==="fit"){const Ni=Math.ceil((ge+b+Ae)*T);v&&a&&C<=t.stableFitRemainingWidth?(Dt=!0,wt=t.stableFitMaxMinimapScale):Dt=Ni>S}if(f==="fill"||Dt){k=!0;const Ni=u;T=Math.min(l*s,Math.max(1,Math.floor(1/Pe))),v&&a&&C<=t.stableFitRemainingWidth&&(wt=t.stableFitMaxMinimapScale),u=Math.min(wt,Math.max(1,Math.floor(T/w))),u>Ni&&(W=Math.min(2,u/Ni)),U=u/s/W,S=Math.ceil(Math.max(pe,ge+b+Ae)*T),v?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const V=Math.floor(g*U),$=Math.min(V,Math.max(0,Math.floor((C-_-2)*U/(c+U)))+il);let B=Math.floor(s*$);const X=B/s;B=Math.floor(B*W);const ae=h?1:2,ue=p==="left"?0:i-$-_;return{renderMinimap:ae,minimapLeft:ue,minimapWidth:$,minimapHeightIsEditorHeight:k,minimapIsSampling:D,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:B,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:X,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(138),u=h==="inherit"?e.get(137):h,g=u==="inherit"?e.get(133):u,f=e.get(136),p=t.isDominatedByLongLines,_=e.get(57),b=e.get(68).renderType!==0,C=e.get(69),v=e.get(106),w=e.get(84),S=e.get(73),L=e.get(104),k=L.verticalScrollbarSize,D=L.verticalHasArrows,T=L.arrowSize,U=L.horizontalScrollbarSize,W=e.get(43),V=e.get(111)!=="never";let $=e.get(66);W&&V&&($+=16);let B=0;if(b){const Ls=Math.max(r,C);B=Math.round(Ls*l)}let X=0;_&&(X=s*t.glyphMarginDecorationLaneCount);let ae=0,ue=ae+X,pe=ue+B,ge=pe+$;const Ae=i-X-B-$;let Pe=!1,di=!1,Be=-1;u==="inherit"&&p?(Pe=!0,di=!0):g==="on"||g==="bounded"?di=!0:g==="wordWrapColumn"&&(Be=f);const Dt=Pp._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:v,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:Ae,isViewportWrapping:di},t.memory||new sz);Dt.renderMinimap!==0&&Dt.minimapLeft===0&&(ae+=Dt.minimapWidth,ue+=Dt.minimapWidth,pe+=Dt.minimapWidth,ge+=Dt.minimapWidth);const wt=Ae-Dt.minimapWidth,Ni=Math.max(1,Math.floor((wt-k-2)/a)),es=D?T:0;return di&&(Be=Math.max(1,Ni),g==="bounded"&&(Be=Math.min(Be,f))),{width:i,height:n,glyphMarginLeft:ae,glyphMarginWidth:X,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:ue,lineNumbersWidth:B,decorationsLeft:pe,decorationsWidth:$,contentLeft:ge,contentWidth:wt,minimap:Dt,viewportColumn:Ni,isWordWrapMinified:Pe,isViewportWrapping:di,wrappingColumn:Be,verticalScrollbarWidth:k,horizontalScrollbarHeight:U,overviewRuler:{top:es,width:k,height:n-2*es,right:0}}}}class vX extends Xt{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return ui(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var Ar;(function(o){o.Off="off",o.OnCode="onCode",o.On="on"})(Ar||(Ar={}));class wX extends Xt{constructor(){const e={enabled:Ar.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[Ar.Off,Ar.OnCode,Ar.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:ui(e.enabled,this.defaultValue.enabled,[Ar.Off,Ar.OnCode,Ar.On])}}}class SX extends Xt{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),maxLineCount:Mt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:ui(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:be(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class yX extends Xt{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",Je?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",Je?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:ui(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Mt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Gn.string(t.fontFamily,this.defaultValue.fontFamily),padding:be(t.padding,this.defaultValue.padding)}}}class LX extends Xt{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Mt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?Mt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class xX extends Po{constructor(){super(67,"lineHeight",gs.lineHeight,e=>Po.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height.
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DU-D8S0B.js","./ByppsbS-.js"])))=>i.map(i=>d[i]);
2
+ var RY=Object.defineProperty;var MY=(o,e,t)=>e in o?RY(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Oi=(o,e,t)=>MY(o,typeof e!="symbol"?e+"":e,t);import{_ as Se}from"./ri5tqg4N.js";function er(o,e=0){return o[o.length-(1+e)]}function AY(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function ei(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;i<n;i++)if(!t(o[i],e[i]))return!1;return!0}function PY(o,e){const t=o.length-1;e<t&&(o[e]=o[t]),o.pop()}function Vv(o,e,t){return OY(o.length,i=>t(o[i],e))}function OY(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function qT(o,e,t){if(o=o|0,o>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o<n.length?qT(o,n,t):o<n.length+r.length?r[0]:qT(o-(n.length+r.length),s,t)}function gB(o,e){const t=[];let i;for(const n of o.slice(0).sort(e))!i||e(i[0],n)!==0?(i=[n],t.push(i)):i.push(n);return t}function*_4(o,e){let t,i;for(const n of o)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function V6(o,e){for(let t=0;t<=o.length;t++)e(t===0?void 0:o[t-1],t===o.length?void 0:o[t])}function FY(o,e){for(let t=0;t<o.length;t++)e(t===0?void 0:o[t-1],o[t],t+1===o.length?void 0:o[t+1])}function $r(o){return o.filter(e=>!!e)}function fB(o){let e=0;for(let t=0;t<o.length;t++)o[t]&&(o[e]=o[t],e+=1);o.length=e}function z6(o){return!Array.isArray(o)||o.length===0}function Xn(o){return Array.isArray(o)&&o.length>0}function Zc(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function b4(o,e){return o.length>0?o[0]:e}function Ds(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function YD(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function BE(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function gS(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function GT(o,e){for(const t of e)o.push(t)}function C4(o){return Array.isArray(o)?o:[o]}function WY(o,e,t){const i=U6(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r<s;r++)o[r+i]=t[r]}function mB(o,e,t,i){const n=U6(o,e);let s=o.splice(n,t);return s===void 0&&(s=[]),WY(o,n,i),s}function U6(o,e){return e<0?Math.max(e+o.length,0):Math.min(e,o.length)}var zv;(function(o){function e(s){return s<0}o.isLessThan=e;function t(s){return s<=0}o.isLessThanOrEqual=t;function i(s){return s>0}o.isGreaterThan=i;function n(s){return s===0}o.isNeitherLessOrGreaterThan=n,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(zv||(zv={}));function us(o,e){return(t,i)=>e(o(t),o(i))}function BY(...o){return(e,t)=>{for(const i of o){const n=i(e,t);if(!zv.isNeitherLessOrGreaterThan(n))return n}return zv.neitherLessOrGreaterThan}}const zr=(o,e)=>o-e,HY=(o,e)=>zr(o?1:0,e?1:0);function $6(o){return(e,t)=>-o(e,t)}class Yc{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}const Cp=class Cp{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new Cp(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new Cp(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||zv.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}};Cp.empty=new Cp(e=>{});let dg=Cp;class fy{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,s)=>t(e[n],e[s]));return new fy(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t<this._indexMap.length;t++)e[this._indexMap[t]]=t;return new fy(e)}}function Ms(o){return typeof o=="string"}function sn(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function VY(o){const e=Object.getPrototypeOf(Uint8Array);return typeof o=="object"&&o instanceof e}function Eh(o){return typeof o=="number"&&!isNaN(o)}function pB(o){return!!o&&typeof o[Symbol.iterator]=="function"}function j6(o){return o===!0||o===!1}function Yn(o){return typeof o>"u"}function El(o){return!To(o)}function To(o){return Yn(o)||o===null}function gt(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function $d(o){if(To(o))throw new Error("Assertion Failed: argument is undefined or null");return o}function Uv(o){return typeof o=="function"}function zY(o,e){const t=Math.min(o.length,e.length);for(let i=0;i<t;i++)UY(o[i],e[i])}function UY(o,e){if(Ms(e)){if(typeof o!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(Uv(e)){try{if(o instanceof e)return}catch{}if(!To(o)&&o.constructor===e||e.length===1&&e.call(void 0,o)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function bc(o){if(!o||typeof o!="object"||o instanceof RegExp)return o;const e=Array.isArray(o)?[]:{};return Object.entries(o).forEach(([t,i])=>{e[t]=i&&typeof i=="object"?bc(i):i}),e}function $Y(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(K6.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!VY(n)&&e.push(n)}}return o}const K6=Object.prototype.hasOwnProperty;function q6(o,e){return ZT(o,e,new Set)}function ZT(o,e,t){if(To(o))return o;const i=e(o);if(typeof i<"u")return i;if(Array.isArray(o)){const n=[];for(const s of o)n.push(ZT(s,e,t));return n}if(sn(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)K6.call(o,s)&&(n[s]=ZT(o[s],e,t));return t.delete(o),n}return o}function XD(o,e,t=!0){return sn(o)?(sn(e)&&Object.keys(e).forEach(i=>{i in o?t&&(sn(o[i])&&sn(e[i])?XD(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function so(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;t<o.length;t++)if(!so(o[t],e[t]))return!1}else{const n=[];for(i in o)n.push(i);n.sort();const s=[];for(i in e)s.push(i);if(s.sort(),!so(n,s))return!1;for(t=0;t<n.length;t++)if(!so(o[n[t]],e[n[t]]))return!1}return!0}function jY(o){let e=[];for(;Object.prototype!==o;)e=e.concat(Object.getOwnPropertyNames(o)),o=Object.getPrototypeOf(o);return e}function YT(o){const e=[];for(const t of jY(o))typeof o[t]=="function"&&e.push(t);return e}function KY(o,e){const t=n=>function(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}function G6(){return globalThis._VSCODE_NLS_MESSAGES}function v4(){return globalThis._VSCODE_NLS_LANGUAGE}const qY=v4()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function my(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),qY&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return my(typeof o=="number"?Z6(o,e):e,t)}function Z6(o,e){var i;const t=(i=G6())==null?void 0:i[o];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${o} !!!`)}return t}function Ee(o,e,...t){let i;typeof o=="number"?i=Z6(o,e):i=e;const n=my(i,t);return{value:n,original:e===i?n:my(e,t)}}const Gm="en";let py=!1,_y=!1,k0=!1,Y6=!1,w4=!1,S4=!1,X6=!1,fS,D0=Gm,_B=Gm,GY,na;const zc=globalThis;let ns;var F6;typeof zc.vscode<"u"&&typeof zc.vscode.process<"u"?ns=zc.vscode.process:typeof process<"u"&&typeof((F6=process==null?void 0:process.versions)==null?void 0:F6.node)=="string"&&(ns=process);var W6;const ZY=typeof((W6=ns==null?void 0:ns.versions)==null?void 0:W6.electron)=="string",YY=ZY&&(ns==null?void 0:ns.type)==="renderer";var B6;if(typeof ns=="object"){py=ns.platform==="win32",_y=ns.platform==="darwin",k0=ns.platform==="linux",k0&&ns.env.SNAP&&ns.env.SNAP_REVISION,ns.env.CI||ns.env.BUILD_ARTIFACTSTAGINGDIRECTORY,fS=Gm,D0=Gm;const o=ns.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o);fS=e.userLocale,_B=e.osLocale,D0=e.resolvedLanguage||Gm,GY=(B6=e.languagePack)==null?void 0:B6.translationsConfigFile}catch{}Y6=!0}else typeof navigator=="object"&&!YY?(na=navigator.userAgent,py=na.indexOf("Windows")>=0,_y=na.indexOf("Macintosh")>=0,S4=(na.indexOf("Macintosh")>=0||na.indexOf("iPad")>=0||na.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,k0=na.indexOf("Linux")>=0,X6=(na==null?void 0:na.indexOf("Mobi"))>=0,w4=!0,D0=v4()||Gm,fS=navigator.language.toLowerCase(),_B=fS):console.error("Unable to resolve platform.");const In=py,Je=_y,ms=k0,Ml=Y6,Zf=w4,XY=w4&&typeof zc.importScripts=="function",QY=XY?zc.origin:void 0,Ma=S4,Q6=X6,Al=na,JY=D0,eX=typeof zc.postMessage=="function"&&!zc.importScripts,J6=(()=>{if(eX){const o=[];zc.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i<n;i++){const s=o[i];if(s.id===t.data.vscodeScheduleAsyncWork){o.splice(i,1),s.callback();return}}});let e=0;return t=>{const i=++e;o.push({id:i,callback:t}),zc.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),no=_y||S4?2:py?1:3;let bB=!0,CB=!1;function ez(){if(!CB){CB=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,bB=new Uint16Array(o.buffer)[0]===513}return bB}const tz=!!(Al&&Al.indexOf("Chrome")>=0),tX=!!(Al&&Al.indexOf("Firefox")>=0),iX=!!(!tz&&Al&&Al.indexOf("Safari")>=0),nX=!!(Al&&Al.indexOf("Edg/")>=0),sX=!!(Al&&Al.indexOf("Android")>=0),Mn={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var st;(function(o){function e(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(w){yield w}o.single=n;function s(w){return e(w)?w:n(w)}o.wrap=s;function r(w){return w||t}o.from=r;function*a(w){for(let S=w.length-1;S>=0;S--)yield w[S]}o.reverse=a;function l(w){return!w||w[Symbol.iterator]().next().done===!0}o.isEmpty=l;function c(w){return w[Symbol.iterator]().next().value}o.first=c;function d(w,S){let L=0;for(const k of w)if(S(k,L++))return!0;return!1}o.some=d;function h(w,S){for(const L of w)if(S(L))return L}o.find=h;function*u(w,S){for(const L of w)S(L)&&(yield L)}o.filter=u;function*g(w,S){let L=0;for(const k of w)yield S(k,L++)}o.map=g;function*f(w,S){let L=0;for(const k of w)yield*S(k,L++)}o.flatMap=f;function*p(...w){for(const S of w)yield*S}o.concat=p;function _(w,S,L){let k=L;for(const D of w)k=S(k,D);return k}o.reduce=_;function*b(w,S,L=w.length){for(S<0&&(S+=w.length),L<0?L+=w.length:L>w.length&&(L=w.length);S<L;S++)yield w[S]}o.slice=b;function C(w,S=Number.POSITIVE_INFINITY){const L=[];if(S===0)return[L,w];const k=w[Symbol.iterator]();for(let D=0;D<S;D++){const T=k.next();if(T.done)return[L,o.empty()];L.push(T.value)}return[L,{[Symbol.iterator](){return k}}]}o.consume=C;async function v(w){const S=[];for await(const L of w)S.push(L);return Promise.resolve(S)}o.asyncToArray=v})(st||(st={}));var Oc;let ji=(Oc=class{constructor(e){this.element=e,this.next=Oc.Undefined,this.prev=Oc.Undefined}},Oc.Undefined=new Oc(void 0),Oc);class ls{constructor(){this._first=ji.Undefined,this._last=ji.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ji.Undefined}clear(){let e=this._first;for(;e!==ji.Undefined;){const t=e.next;e.prev=ji.Undefined,e.next=ji.Undefined,e=t}this._first=ji.Undefined,this._last=ji.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new ji(e);if(this._first===ji.Undefined)this._first=i,this._last=i;else if(t){const s=this._last;this._last=i,i.prev=s,s.next=i}else{const s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==ji.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ji.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ji.Undefined&&e.next!==ji.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ji.Undefined&&e.next===ji.Undefined?(this._first=ji.Undefined,this._last=ji.Undefined):e.next===ji.Undefined?(this._last=this._last.prev,this._last.next=ji.Undefined):e.prev===ji.Undefined&&(this._first=this._first.next,this._first.prev=ji.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ji.Undefined;)yield e.element,e=e.next}}const by="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function oX(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of by)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const y4=oX();function L4(o){let e=y4;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const iz=new ls;iz.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function $v(o,e,t,i,n){if(e=L4(e),n||(n=st.first(iz)),t.length>n.maxLen){let c=o-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,o+n.maxLen/2),$v(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-s>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const h=rX(e,t,r,a);if(!h&&l||(l=h,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function rX(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}const il=8;class nz{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class sz{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Xt{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return QD(e,t)}compute(e,t,i){return i}}class FC{constructor(e,t){this.newValue=e,this.didChange=t}}function QD(o,e){if(typeof o!="object"||typeof e!="object"||!o||!e)return new FC(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const i=Array.isArray(o)&&Array.isArray(e)&&ei(o,e);return new FC(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=QD(o[i],e[i]);n.didChange&&(o[i]=n.newValue,t=!0)}return new FC(o,t)}class S1{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return QD(e,t)}validate(e){return this.defaultValue}}class rb{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return QD(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function be(o,e){return typeof o>"u"?e:o==="false"?!1:!!o}class ht extends rb{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return be(e,this.defaultValue)}}function xu(o,e,t,i){if(typeof o>"u")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Mt extends rb{static clampedInt(e,t,i,n){return xu(e,t,i,n)}constructor(e,t,i,n,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}validate(e){return Mt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function aX(o,e,t,i){if(typeof o>"u")return e;const n=Po.float(o,e);return Po.clamp(n,t,i)}class Po extends rb{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,s){typeof s<"u"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}validate(e){return this.validationFn(Po.float(e,this.defaultValue))}}class Gn extends rb{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return Gn.string(e,this.defaultValue)}}function ui(o,e,t,i){return typeof o!="string"?e:i&&o in i?i[o]:t.indexOf(o)===-1?e:o}class hi extends rb{constructor(e,t,i,n,s=void 0){typeof s<"u"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return ui(e,this.defaultValue,this._allowedValues)}}class mS extends Xt{constructor(e,t,i,n,s,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function lX(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class cX extends Xt{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class dX extends Xt{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:be(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:be(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function hX(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var gn;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(gn||(gn={}));function uX(o){switch(o){case"line":return gn.Line;case"block":return gn.Block;case"underline":return gn.Underline;case"line-thin":return gn.LineThin;case"block-outline":return gn.BlockOutline;case"underline-thin":return gn.UnderlineThin}}class gX extends S1{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}}class fX extends ht{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class mX extends Xt{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:Je},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:be(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":ui(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":ui(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:be(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:be(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:be(t.loop,this.defaultValue.loop)}}}const gc=class gc extends Xt{constructor(){super(51,"fontLigatures",gc.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?gc.OFF:e==="true"?gc.ON:e:e?gc.ON:gc.OFF}};gc.OFF='"liga" off, "calt" off',gc.ON='"liga" on, "calt" on';let Nh=gc;const fc=class fc extends Xt{constructor(){super(54,"fontVariations",fc.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?fc.OFF:e==="true"?fc.TRANSLATE:e:e?fc.TRANSLATE:fc.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}};fc.OFF="normal",fc.TRANSLATE="translate";let jv=fc;class pX extends S1{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class _X extends rb{constructor(){super(52,"fontSize",gs.fontSize,{type:"number",minimum:6,maximum:100,default:gs.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=Po.float(e,this.defaultValue);return t===0?gs.fontSize:Po.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}const al=class al extends Xt{constructor(){super(53,"fontWeight",gs.fontWeight,{anyOf:[{type:"number",minimum:al.MINIMUM_VALUE,maximum:al.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:al.SUGGESTION_VALUES}],default:gs.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Mt.clampedInt(e,gs.fontWeight,al.MINIMUM_VALUE,al.MAXIMUM_VALUE))}};al.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],al.MINIMUM_VALUE=1,al.MAXIMUM_VALUE=1e3;let XT=al;class bX extends Xt{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:ui(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:t.multipleDefinitions??ui(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:t.multipleTypeDefinitions??ui(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:t.multipleDeclarations??ui(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:t.multipleImplementations??ui(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:t.multipleReferences??ui(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:t.multipleTests??ui(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Gn.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Gn.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Gn.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Gn.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Gn.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:Gn.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}class CX extends Xt{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),delay:Mt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:be(t.sticky,this.defaultValue.sticky),hidingDelay:Mt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:be(t.above,this.defaultValue.above)}}}class Pp extends S1{constructor(){super(146)}compute(e,t,i){return Pp.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const s=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/s);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,_=e.verticalScrollbarWidth,b=e.viewLineCount,C=e.remainingWidth,v=e.isViewportWrapping,w=h?2:3;let S=Math.floor(s*n);const L=S/s;let k=!1,D=!1,T=w*u,U=u/s,W=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:pe,extraLinesBeforeFirstLine:ge,extraLinesBeyondLastLine:Ae,desiredRatio:Pe,minimapLineCount:di}=Pp.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:s});if(b/di>1)k=!0,D=!0,u=1,T=1,U=u/s;else{let Dt=!1,wt=u+1;if(f==="fit"){const Ni=Math.ceil((ge+b+Ae)*T);v&&a&&C<=t.stableFitRemainingWidth?(Dt=!0,wt=t.stableFitMaxMinimapScale):Dt=Ni>S}if(f==="fill"||Dt){k=!0;const Ni=u;T=Math.min(l*s,Math.max(1,Math.floor(1/Pe))),v&&a&&C<=t.stableFitRemainingWidth&&(wt=t.stableFitMaxMinimapScale),u=Math.min(wt,Math.max(1,Math.floor(T/w))),u>Ni&&(W=Math.min(2,u/Ni)),U=u/s/W,S=Math.ceil(Math.max(pe,ge+b+Ae)*T),v?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const V=Math.floor(g*U),$=Math.min(V,Math.max(0,Math.floor((C-_-2)*U/(c+U)))+il);let B=Math.floor(s*$);const X=B/s;B=Math.floor(B*W);const ae=h?1:2,ue=p==="left"?0:i-$-_;return{renderMinimap:ae,minimapLeft:ue,minimapWidth:$,minimapHeightIsEditorHeight:k,minimapIsSampling:D,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:B,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:X,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(138),u=h==="inherit"?e.get(137):h,g=u==="inherit"?e.get(133):u,f=e.get(136),p=t.isDominatedByLongLines,_=e.get(57),b=e.get(68).renderType!==0,C=e.get(69),v=e.get(106),w=e.get(84),S=e.get(73),L=e.get(104),k=L.verticalScrollbarSize,D=L.verticalHasArrows,T=L.arrowSize,U=L.horizontalScrollbarSize,W=e.get(43),V=e.get(111)!=="never";let $=e.get(66);W&&V&&($+=16);let B=0;if(b){const Ls=Math.max(r,C);B=Math.round(Ls*l)}let X=0;_&&(X=s*t.glyphMarginDecorationLaneCount);let ae=0,ue=ae+X,pe=ue+B,ge=pe+$;const Ae=i-X-B-$;let Pe=!1,di=!1,Be=-1;u==="inherit"&&p?(Pe=!0,di=!0):g==="on"||g==="bounded"?di=!0:g==="wordWrapColumn"&&(Be=f);const Dt=Pp._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:v,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:Ae,isViewportWrapping:di},t.memory||new sz);Dt.renderMinimap!==0&&Dt.minimapLeft===0&&(ae+=Dt.minimapWidth,ue+=Dt.minimapWidth,pe+=Dt.minimapWidth,ge+=Dt.minimapWidth);const wt=Ae-Dt.minimapWidth,Ni=Math.max(1,Math.floor((wt-k-2)/a)),es=D?T:0;return di&&(Be=Math.max(1,Ni),g==="bounded"&&(Be=Math.min(Be,f))),{width:i,height:n,glyphMarginLeft:ae,glyphMarginWidth:X,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:ue,lineNumbersWidth:B,decorationsLeft:pe,decorationsWidth:$,contentLeft:ge,contentWidth:wt,minimap:Dt,viewportColumn:Ni,isWordWrapMinified:Pe,isViewportWrapping:di,wrappingColumn:Be,verticalScrollbarWidth:k,horizontalScrollbarHeight:U,overviewRuler:{top:es,width:k,height:n-2*es,right:0}}}}class vX extends Xt{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return ui(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var Ar;(function(o){o.Off="off",o.OnCode="onCode",o.On="on"})(Ar||(Ar={}));class wX extends Xt{constructor(){const e={enabled:Ar.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[Ar.Off,Ar.OnCode,Ar.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:ui(e.enabled,this.defaultValue.enabled,[Ar.Off,Ar.OnCode,Ar.On])}}}class SX extends Xt{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),maxLineCount:Mt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:ui(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:be(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class yX extends Xt{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",Je?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",Je?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:ui(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Mt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Gn.string(t.fontFamily,this.defaultValue.fontFamily),padding:be(t.padding,this.defaultValue.padding)}}}class LX extends Xt{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Mt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?Mt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class xX extends Po{constructor(){super(67,"lineHeight",gs.lineHeight,e=>Po.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height.
3
3
  - Use 0 to automatically compute the line height from the font size.
4
4
  - Values between 0 and 8 will be used as a multiplier with the font size.
5
5
  - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}}class kX extends Xt{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9,sectionHeaderLetterSpacing:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:m("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:m("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[m("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),m("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),m("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:m("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:m("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:m("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:m("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:m("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:m("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.minimap.showRegionSectionHeaders":{type:"boolean",default:e.showRegionSectionHeaders,description:m("minimap.showRegionSectionHeaders","Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:m("minimap.showMarkSectionHeaders","Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:m("minimap.sectionHeaderFontSize","Controls the font size of section headers in the minimap.")},"editor.minimap.sectionHeaderLetterSpacing":{type:"number",default:e.sectionHeaderLetterSpacing,description:m("minimap.sectionHeaderLetterSpacing","Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),autohide:be(t.autohide,this.defaultValue.autohide),size:ui(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:ui(t.side,this.defaultValue.side,["right","left"]),showSlider:ui(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:be(t.renderCharacters,this.defaultValue.renderCharacters),scale:Mt.clampedInt(t.scale,1,1,3),maxColumn:Mt.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:be(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:be(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:Po.clamp(t.sectionHeaderFontSize??this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:Po.clamp(t.sectionHeaderLetterSpacing??this.defaultValue.sectionHeaderLetterSpacing,0,5)}}}function DX(o){return o==="ctrlCmd"?Je?"metaKey":"ctrlKey":"altKey"}class IX extends Xt{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:Mt.clampedInt(t.top,0,0,1e3),bottom:Mt.clampedInt(t.bottom,0,0,1e3)}}}class EX extends Xt{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:m("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:m("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),cycle:be(t.cycle,this.defaultValue.cycle)}}}class NX extends S1{constructor(){super(144)}compute(e,t,i){return e.pixelRatio}}class TX extends Xt{constructor(){super(88,"placeholder",void 0)}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e:this.defaultValue}}class RX extends Xt{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[m("on","Quick suggestions show inside the suggest widget"),m("inline","Quick suggestions show as ghost text"),m("off","Quick suggestions are disabled")]}];super(90,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:m("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:m("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:m("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:m("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.","`#editor.suggestOnTriggerCharacters#`")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const c=e?"on":"off";return{comments:c,strings:c,other:c}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,s=["on","inline","off"];let r,a,l;return typeof t=="boolean"?r=t?"on":"off":r=ui(t,this.defaultValue.other,s),typeof i=="boolean"?a=i?"on":"off":a=ui(i,this.defaultValue.comments,s),typeof n=="boolean"?l=n?"on":"off":l=ui(n,this.defaultValue.strings,s),{other:r,comments:a,strings:l}}}class MX extends Xt{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[m("lineNumbers.off","Line numbers are not rendered."),m("lineNumbers.on","Line numbers are rendered as absolute number."),m("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),m("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:m("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}}function Cy(o){const e=o.get(99);return e==="editable"?o.get(92):e!=="on"}class AX extends Xt{constructor(){const e=[],t={type:"number",description:m("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(103,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:m("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:m("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="number")t.push({column:Mt.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:Mt.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}class PX extends Xt{constructor(){super(93,"readOnlyMessage",void 0)}validate(e){return!e||typeof e!="object"?this.defaultValue:e}}function vB(o,e){if(typeof o!="string")return e;switch(o){case"hidden":return 2;case"visible":return 3;default:return 1}}let OX=class extends Xt{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(104,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),m("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),m("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),m("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),m("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:m("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:m("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:m("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:m("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,i=Mt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=Mt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:Mt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:vB(t.vertical,this.defaultValue.vertical),horizontal:vB(t.horizontal,this.defaultValue.horizontal),useShadows:be(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:be(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:be(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:be(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:be(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:Mt.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:Mt.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:be(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:be(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const Lo="inUntrustedWorkspace",Is={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class FX extends Xt{constructor(){const e={nonBasicASCII:Lo,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:Lo,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(126,"unicodeHighlight",e,{[Is.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Lo],default:e.nonBasicASCII,description:m("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[Is.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:m("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Is.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:m("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[Is.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Lo],default:e.includeComments,description:m("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[Is.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Lo],default:e.includeStrings,description:m("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[Is.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:m("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[Is.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:m("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(so(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},i=!0)),t.allowedLocales&&e&&(so(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},i=!0));const n=super.applyUpdate(e,t);return i?new FC(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:Op(t.nonBasicASCII,Lo,[!0,!1,Lo]),invisibleCharacters:be(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:be(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Op(t.includeComments,Lo,[!0,!1,Lo]),includeStrings:Op(t.includeStrings,Lo,[!0,!1,Lo]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!="object"||!e)return t;const i={};for(const[n,s]of Object.entries(e))s===!0&&(i[n]=!0);return i}}class WX extends Xt{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:m("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),m("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),m("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:m("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:m("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),mode:ui(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:ui(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:be(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:be(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:Gn.string(t.fontFamily,this.defaultValue.fontFamily)}}}class BX extends Xt{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:m("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),m("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),m("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:m("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineEdit.fontFamily","Controls the font family of the inline edit.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),showToolbar:ui(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:Gn.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:be(t.keepOnBlur,this.defaultValue.keepOnBlur)}}}class HX extends Xt{constructor(){const e={enabled:Mn.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:Mn.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:m("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:be(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class VX extends Xt{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairs.true","Enables bracket pair guides."),m("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),m("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:m("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),m("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),m("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:m("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:m("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:m("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[m("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),m("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),m("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:m("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:Op(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:Op(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:be(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:be(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Op(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function Op(o,e,t){const i=t.indexOf(o);return i===-1?e:t[i]}class zX extends Xt{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(119,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[m("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),m("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:m("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:m("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:m("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:m("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[m("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),m("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:m("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.","`#editor.quickSuggestions#`","`#editor.suggestOnTriggerCharacters#`")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:m("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:m("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:m("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:m("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:m("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:m("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:m("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:ui(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:be(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:be(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:be(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:be(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:ui(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:be(t.showIcons,this.defaultValue.showIcons),showStatusBar:be(t.showStatusBar,this.defaultValue.showStatusBar),preview:be(t.preview,this.defaultValue.preview),previewMode:ui(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:be(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:be(t.showMethods,this.defaultValue.showMethods),showFunctions:be(t.showFunctions,this.defaultValue.showFunctions),showConstructors:be(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:be(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:be(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:be(t.showFields,this.defaultValue.showFields),showVariables:be(t.showVariables,this.defaultValue.showVariables),showClasses:be(t.showClasses,this.defaultValue.showClasses),showStructs:be(t.showStructs,this.defaultValue.showStructs),showInterfaces:be(t.showInterfaces,this.defaultValue.showInterfaces),showModules:be(t.showModules,this.defaultValue.showModules),showProperties:be(t.showProperties,this.defaultValue.showProperties),showEvents:be(t.showEvents,this.defaultValue.showEvents),showOperators:be(t.showOperators,this.defaultValue.showOperators),showUnits:be(t.showUnits,this.defaultValue.showUnits),showValues:be(t.showValues,this.defaultValue.showValues),showConstants:be(t.showConstants,this.defaultValue.showConstants),showEnums:be(t.showEnums,this.defaultValue.showEnums),showEnumMembers:be(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:be(t.showKeywords,this.defaultValue.showKeywords),showWords:be(t.showWords,this.defaultValue.showWords),showColors:be(t.showColors,this.defaultValue.showColors),showFiles:be(t.showFiles,this.defaultValue.showFiles),showReferences:be(t.showReferences,this.defaultValue.showReferences),showFolders:be(t.showFolders,this.defaultValue.showFolders),showTypeParameters:be(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:be(t.showSnippets,this.defaultValue.showSnippets),showUsers:be(t.showUsers,this.defaultValue.showUsers),showIssues:be(t.showIssues,this.defaultValue.showIssues)}}}class UX extends Xt{constructor(){super(114,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:m("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:m("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:be(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:be(e.selectSubwords,this.defaultValue.selectSubwords)}}}class $X extends Xt{constructor(){const e=[];super(131,"wordSegmenterLocales",e,{anyOf:[{description:m("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"string"},{description:m("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"array",items:{type:"string"}}]})}validate(e){if(typeof e=="string"&&(e=[e]),Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="string")try{Intl.Segmenter.supportedLocalesOf(i).length>0&&t.push(i)}catch{}return t}return this.defaultValue}}class jX extends Xt{constructor(){super(139,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[m("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),m("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),m("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),m("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:m("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,i){return t.get(2)===2?0:i}}class KX extends S1{constructor(){super(147)}compute(e,t,i){const n=t.get(146);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class qX extends Xt{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:m("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[m("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),m("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),showDropSelector:ui(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class GX extends Xt{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:m("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[m("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),m("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),showPasteSelector:ui(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const ZX="Consolas, 'Courier New', monospace",YX="Menlo, Monaco, 'Courier New', monospace",XX="'Droid Sans Mono', 'monospace', monospace",gs={fontFamily:Je?YX:ms?XX:ZX,fontWeight:"normal",fontSize:Je?12:14,lineHeight:0,letterSpacing:0},Zm=[];function ne(o){return Zm[o.id]=o,o}const Va={acceptSuggestionOnCommitCharacter:ne(new ht(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:m("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:ne(new hi(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",m("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:m("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:ne(new cX),accessibilityPageSize:ne(new Mt(3,"accessibilityPageSize",10,1,1073741824,{description:m("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:ne(new Gn(4,"ariaLabel",m("editorViewAccessibleLabel","Editor content"))),ariaRequired:ne(new ht(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:ne(new ht(8,"screenReaderAnnounceInlineSuggestion",!0,{description:m("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:ne(new hi(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),m("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:m("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:ne(new hi(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),m("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:m("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:ne(new hi(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:ne(new hi(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:ne(new hi(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),m("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:m("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:ne(new mS(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],lX,{enumDescriptions:[m("editor.autoIndent.none","The editor will not insert indentation automatically."),m("editor.autoIndent.keep","The editor will keep the current line's indentation."),m("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),m("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),m("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:m("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:ne(new ht(13,"automaticLayout",!1)),autoSurround:ne(new hi(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[m("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),m("editor.autoSurround.quotes","Surround with quotes but not brackets."),m("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:m("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:ne(new HX),bracketPairGuides:ne(new VX),stickyTabStops:ne(new ht(117,"stickyTabStops",!1,{description:m("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:ne(new ht(17,"codeLens",!0,{description:m("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:ne(new Gn(18,"codeLensFontFamily","",{description:m("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:ne(new Mt(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:m("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:ne(new ht(20,"colorDecorators",!0,{description:m("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:ne(new hi(149,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[m("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),m("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),m("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:m("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:ne(new Mt(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:m("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:ne(new ht(22,"columnSelection",!1,{description:m("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:ne(new dX),contextmenu:ne(new ht(24,"contextmenu",!0)),copyWithSyntaxHighlighting:ne(new ht(25,"copyWithSyntaxHighlighting",!0,{description:m("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:ne(new mS(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],hX,{description:m("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:ne(new hi(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[m("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),m("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),m("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:m("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:ne(new mS(28,"cursorStyle",gn.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],uX,{description:m("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:ne(new Mt(29,"cursorSurroundingLines",0,0,1073741824,{description:m("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:ne(new hi(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[m("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),m("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:m("cursorSurroundingLinesStyle","Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:ne(new Mt(31,"cursorWidth",0,0,1073741824,{markdownDescription:m("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:ne(new ht(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:ne(new ht(33,"disableMonospaceOptimizations",!1)),domReadOnly:ne(new ht(34,"domReadOnly",!1)),dragAndDrop:ne(new ht(35,"dragAndDrop",!0,{description:m("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:ne(new fX),dropIntoEditor:ne(new qX),stickyScroll:ne(new SX),experimentalWhitespaceRendering:ne(new hi(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[m("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),m("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),m("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:m("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:ne(new Gn(39,"extraEditorClassName","")),fastScrollSensitivity:ne(new Po(40,"fastScrollSensitivity",5,o=>o<=0?5:o,{markdownDescription:m("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:ne(new mX),fixedOverflowWidgets:ne(new ht(42,"fixedOverflowWidgets",!1)),folding:ne(new ht(43,"folding",!0,{description:m("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:ne(new hi(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[m("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),m("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:m("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:ne(new ht(45,"foldingHighlight",!0,{description:m("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:ne(new ht(46,"foldingImportsByDefault",!1,{description:m("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:ne(new Mt(47,"foldingMaximumRegions",5e3,10,65e3,{description:m("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:ne(new ht(48,"unfoldOnClickAfterEndOfLine",!1,{description:m("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:ne(new Gn(49,"fontFamily",gs.fontFamily,{description:m("fontFamily","Controls the font family.")})),fontInfo:ne(new pX),fontLigatures2:ne(new Nh),fontSize:ne(new _X),fontWeight:ne(new XT),fontVariations:ne(new jv),formatOnPaste:ne(new ht(55,"formatOnPaste",!1,{description:m("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:ne(new ht(56,"formatOnType",!1,{description:m("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:ne(new ht(57,"glyphMargin",!0,{description:m("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:ne(new bX),hideCursorInOverviewRuler:ne(new ht(59,"hideCursorInOverviewRuler",!1,{description:m("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:ne(new CX),inDiffEditor:ne(new ht(61,"inDiffEditor",!1)),letterSpacing:ne(new Po(64,"letterSpacing",gs.letterSpacing,o=>Po.clamp(o,-5,20),{description:m("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:ne(new wX),lineDecorationsWidth:ne(new LX),lineHeight:ne(new xX),lineNumbers:ne(new MX),lineNumbersMinChars:ne(new Mt(69,"lineNumbersMinChars",5,1,300)),linkedEditing:ne(new ht(70,"linkedEditing",!1,{description:m("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:ne(new ht(71,"links",!0,{description:m("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:ne(new hi(72,"matchBrackets","always",["always","near","never"],{description:m("matchBrackets","Highlight matching brackets.")})),minimap:ne(new kX),mouseStyle:ne(new hi(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ne(new Po(75,"mouseWheelScrollSensitivity",1,o=>o===0?1:o,{markdownDescription:m("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:ne(new ht(76,"mouseWheelZoom",!1,{markdownDescription:Je?m("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):m("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:ne(new ht(77,"multiCursorMergeOverlapping",!0,{description:m("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:ne(new mS(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],DX,{markdownEnumDescriptions:[m("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),m("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:m({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:ne(new hi(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[m("multiCursorPaste.spread","Each cursor pastes a single line of the text."),m("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:m("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:ne(new Mt(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:m("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:ne(new hi(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[m("occurrencesHighlight.off","Does not highlight occurrences."),m("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),m("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:m("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:ne(new ht(82,"overviewRulerBorder",!0,{description:m("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:ne(new Mt(83,"overviewRulerLanes",3,0,3)),padding:ne(new IX),pasteAs:ne(new GX),parameterHints:ne(new EX),peekWidgetDefaultFocus:ne(new hi(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[m("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),m("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:m("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),placeholder:ne(new TX),definitionLinkOpensInPeek:ne(new ht(89,"definitionLinkOpensInPeek",!1,{description:m("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:ne(new RX),quickSuggestionsDelay:ne(new Mt(91,"quickSuggestionsDelay",10,0,1073741824,{description:m("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:ne(new ht(92,"readOnly",!1)),readOnlyMessage:ne(new PX),renameOnType:ne(new ht(94,"renameOnType",!1,{description:m("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:m("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:ne(new ht(95,"renderControlCharacters",!0,{description:m("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:ne(new hi(96,"renderFinalNewline",ms?"dimmed":"on",["off","on","dimmed"],{description:m("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:ne(new hi(97,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",m("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:m("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:ne(new ht(98,"renderLineHighlightOnlyWhenFocus",!1,{description:m("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:ne(new hi(99,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ne(new hi(100,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",m("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),m("renderWhitespace.selection","Render whitespace characters only on selected text."),m("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:m("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:ne(new Mt(101,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:ne(new ht(102,"roundedSelection",!0,{description:m("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:ne(new AX),scrollbar:ne(new OX),scrollBeyondLastColumn:ne(new Mt(105,"scrollBeyondLastColumn",4,0,1073741824,{description:m("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:ne(new ht(106,"scrollBeyondLastLine",!0,{description:m("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:ne(new ht(107,"scrollPredominantAxis",!0,{description:m("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:ne(new ht(108,"selectionClipboard",!0,{description:m("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:ms})),selectionHighlight:ne(new ht(109,"selectionHighlight",!0,{description:m("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:ne(new ht(110,"selectOnLineNumbers",!0)),showFoldingControls:ne(new hi(111,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[m("showFoldingControls.always","Always show the folding controls."),m("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),m("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:m("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:ne(new ht(112,"showUnused",!0,{description:m("showUnused","Controls fading out of unused code.")})),showDeprecated:ne(new ht(141,"showDeprecated",!0,{description:m("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:ne(new yX),snippetSuggestions:ne(new hi(113,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[m("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),m("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),m("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),m("snippetSuggestions.none","Do not show snippet suggestions.")],description:m("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:ne(new UX),smoothScrolling:ne(new ht(115,"smoothScrolling",!1,{description:m("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:ne(new Mt(118,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ne(new zX),inlineSuggest:ne(new WX),inlineEdit:ne(new BX),inlineCompletionsAccessibilityVerbose:ne(new ht(150,"inlineCompletionsAccessibilityVerbose",!1,{description:m("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:ne(new Mt(120,"suggestFontSize",0,0,1e3,{markdownDescription:m("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:ne(new Mt(121,"suggestLineHeight",0,0,1e3,{markdownDescription:m("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:ne(new ht(122,"suggestOnTriggerCharacters",!0,{description:m("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:ne(new hi(123,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[m("suggestSelection.first","Always select the first suggestion."),m("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),m("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:m("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:ne(new hi(124,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[m("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),m("tabCompletion.off","Disable tab completions."),m("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:m("tabCompletion","Enables tab completions.")})),tabIndex:ne(new Mt(125,"tabIndex",0,-1,1073741824)),unicodeHighlight:ne(new FX),unusualLineTerminators:ne(new hi(127,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[m("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),m("unusualLineTerminators.off","Unusual line terminators are ignored."),m("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:m("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:ne(new ht(128,"useShadowDOM",!0)),useTabStops:ne(new ht(129,"useTabStops",!0,{description:m("useTabStops","Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:ne(new hi(130,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[m("wordBreak.normal","Use the default line break rule."),m("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:m("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:ne(new $X),wordSeparators:ne(new Gn(132,"wordSeparators",by,{description:m("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:ne(new hi(133,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[m("wordWrap.off","Lines will never wrap."),m("wordWrap.on","Lines will wrap at the viewport width."),m({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),m({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:m({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:ne(new Gn(134,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:ne(new Gn(135,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:ne(new Mt(136,"wordWrapColumn",80,1,1073741824,{markdownDescription:m({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:ne(new hi(137,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:ne(new hi(138,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:ne(new gX),defaultColorDecorators:ne(new ht(148,"defaultColorDecorators",!1,{markdownDescription:m("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:ne(new NX),tabFocusMode:ne(new ht(145,"tabFocusMode",!1,{markdownDescription:m("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:ne(new Pp),wrappingInfo:ne(new KX),wrappingIndent:ne(new jX),wrappingStrategy:ne(new vX)};class QX{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?C_.isErrorNoTelemetry(e)?new C_(e.message+`
@@ -663,27 +663,27 @@ ${e.toString()}`}}class HL{constructor(e=new Lb,t=!1,i,n=Jge){this._services=e,t
663
663
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
664
664
  * Released under the MIT license
665
665
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
666
- *-----------------------------------------------------------------------------*/var Kve=Object.defineProperty,qve=Object.getOwnPropertyDescriptor,Gve=Object.getOwnPropertyNames,Zve=Object.prototype.hasOwnProperty,Yve=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Gve(e))!Zve.call(o,n)&&n!==t&&Kve(o,n,{get:()=>e[n],enumerable:!(i=qve(e,n))||i.enumerable});return o},Xve=(o,e,t)=>(Yve(o,e,"default"),t),kC={};Xve(kC,X1);var Wq={},fT={},Qve=class Bq{static getOrCreate(e){return fT[e]||(fT[e]=new Bq(e)),fT[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,Wq[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function xe(o){const e=o.id;Wq[e]=o,kC.languages.register(o);const t=Qve.getOrCreate(e);kC.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),kC.languages.onLanguageEncountered(e,async()=>{const i=await t.load();kC.languages.setLanguageConfiguration(e,i.conf)})}xe({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>Se(()=>import("./BrgZPUOV.js"),[],import.meta.url)});xe({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>Se(()=>import("./DyP6w7ZV.js"),[],import.meta.url)});xe({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>Se(()=>import("./BaLxmfj-.js"),[],import.meta.url)});xe({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>Se(()=>import("./CFOPXBzS.js"),[],import.meta.url)});xe({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>Se(()=>import("./BfEKNvv3.js"),[],import.meta.url)});xe({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Se(()=>import("./BFG1Mk7z.js"),[],import.meta.url)});xe({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>Se(()=>import("./DTECt2xU.js"),[],import.meta.url)});xe({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>Se(()=>import("./CDGzqUPQ.js"),[],import.meta.url)});xe({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>Se(()=>import("./CLLBncYj.js"),[],import.meta.url)});xe({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>Se(()=>import("./CLLBncYj.js"),[],import.meta.url)});xe({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>Se(()=>import("./dUCx_-0o.js"),[],import.meta.url)});xe({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>Se(()=>import("./5Rap-vPy.js"),[],import.meta.url)});xe({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>Se(()=>import("./D3h14YRZ.js"),[],import.meta.url)});xe({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Se(()=>import("./DrQuvNYM.js"),[],import.meta.url)});xe({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>Se(()=>import("./CFKIUWau.js"),[],import.meta.url)});xe({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>Se(()=>import("./Zznr-cwX.js"),[],import.meta.url)});xe({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>Se(()=>import("./Ce3n6wWz.js"),[],import.meta.url)});xe({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>Se(()=>import("./deUWdS0T.js"),[],import.meta.url)});xe({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>Se(()=>import("./i9-g7ZhI.js"),[],import.meta.url)});xe({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Se(()=>import("./CzKuDChf.js"),[],import.meta.url)});xe({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Se(()=>import("./CRlLKhPr.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});xe({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Se(()=>import("./CRlLKhPr.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationDollar)});xe({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Se(()=>import("./CRlLKhPr.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationDollar)});xe({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Se(()=>import("./CRlLKhPr.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationBracket)});xe({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Se(()=>import("./CRlLKhPr.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationBracket)});xe({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Se(()=>import("./CRlLKhPr.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});xe({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Se(()=>import("./CRlLKhPr.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationBracket)});xe({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Se(()=>import("./Cphgjts3.js"),[],import.meta.url)});xe({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>Se(()=>import("./Cg7bfA9N.js"),[],import.meta.url)});xe({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>Se(()=>import("./BOQMymse.js"),[],import.meta.url)});xe({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Se(()=>import("./0cvrggvQ.js"),[],import.meta.url)});xe({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>Se(()=>import("./DJ_lsF0V.js"),[],import.meta.url)});xe({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>Se(()=>import("./Drc7WvVn.js"),[],import.meta.url)});xe({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Se(()=>import("./B_fMsGYe.js"),[],import.meta.url)});xe({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Se(()=>import("./Bw2f0Pmg.js"),__vite__mapDeps([0,1]),import.meta.url)});xe({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>Se(()=>import("./Bqgm2twL.js"),[],import.meta.url)});xe({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>Se(()=>import("./BSkB5QuD.js"),[],import.meta.url)});xe({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Se(()=>import("./BsTHnhdd.js"),[],import.meta.url)});xe({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>Se(()=>import("./YWi4-JPR.js"),[],import.meta.url)});xe({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>Se(()=>import("./nf6ki56Z.js"),[],import.meta.url)});xe({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>Se(()=>import("./CRTtd6by.js"),[],import.meta.url)});xe({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>Se(()=>import("./Cpb6xl2v.js"),[],import.meta.url)});xe({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>Se(()=>import("./DSZPf7rp.js"),[],import.meta.url)});xe({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>Se(()=>import("./4PztAao_.js"),[],import.meta.url)});xe({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>Se(()=>import("./B_c3zf-v.js"),[],import.meta.url)});xe({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>Se(()=>import("./rUNN04Wq.js"),[],import.meta.url)});xe({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>Se(()=>import("./DDwshQtU.js"),[],import.meta.url)});xe({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>Se(()=>import("./B5zXfXm9.js"),[],import.meta.url)});xe({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>Se(()=>import("./CXOwvkN_.js"),[],import.meta.url)});xe({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>Se(()=>import("./Bc-ZgV77.js"),[],import.meta.url)});xe({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Se(()=>import("./CwNk8-XU.js"),[],import.meta.url)});xe({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>Se(()=>import("./tGk8EFnU.js"),[],import.meta.url)});xe({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>Se(()=>import("./CpIb_Oan.js"),[],import.meta.url)});xe({id:"pla",extensions:[".pla"],loader:()=>Se(()=>import("./B03wrqEc.js"),[],import.meta.url)});xe({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>Se(()=>import("./BKlk5iyT.js"),[],import.meta.url)});xe({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>Se(()=>import("./Bhzvs7bI.js"),[],import.meta.url)});xe({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>Se(()=>import("./Dd3NCNK9.js"),[],import.meta.url)});xe({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Se(()=>import("./COyEY5Pt.js"),[],import.meta.url)});xe({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>Se(()=>import("./BaJupSGV.js"),[],import.meta.url)});xe({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Se(()=>import("./C769zFCl.js"),[],import.meta.url)});xe({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Se(()=>import("./DXyYeYxl.js"),[],import.meta.url)});xe({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Se(()=>import("./CdQndTaG.js"),[],import.meta.url)});xe({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>Se(()=>import("./Cx_xzGPa.js"),[],import.meta.url)});xe({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>Se(()=>import("./CVwtpugi.js"),[],import.meta.url)});xe({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>Se(()=>import("./25W9uPmb.js"),[],import.meta.url)});xe({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Se(()=>import("./DfzH4Xui.js"),[],import.meta.url)});xe({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>Se(()=>import("./Cp1zYvxS.js"),[],import.meta.url)});xe({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>Se(()=>import("./D5C2fndG.js"),[],import.meta.url)});xe({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>Se(()=>import("./CDntyWJ8.js"),[],import.meta.url)});xe({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>Se(()=>import("./BoFRg7Ot.js"),[],import.meta.url)});xe({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Se(()=>import("./Bio4gycK.js"),[],import.meta.url)});xe({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>Se(()=>import("./4Ik7cdeQ.js"),[],import.meta.url)});xe({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>Se(()=>import("./CX-rkNHf.js"),[],import.meta.url)});xe({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>Se(()=>import("./Tw7wswEv.js"),[],import.meta.url)});xe({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>Se(()=>import("./C5WLch3f.js"),[],import.meta.url)});xe({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>Se(()=>import("./DHaeiCBh.js"),[],import.meta.url)});xe({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Se(()=>import("./CCSDG5nI.js"),[],import.meta.url)});xe({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Se(()=>import("./pnP8ivHi.js"),[],import.meta.url)});xe({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>Se(()=>import("./DwJ7jVG9.js"),[],import.meta.url)});xe({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>Se(()=>import("./B9Xyijhd.js"),[],import.meta.url)});xe({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>Se(()=>import("./B9Xyijhd.js"),[],import.meta.url)});xe({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>Se(()=>import("./DnHyzjbg.js"),[],import.meta.url)});xe({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>Se(()=>import("./CPajHgWi.js"),[],import.meta.url)});xe({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>Se(()=>import("./yOR3vtRx.js"),[],import.meta.url)});xe({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>Se(()=>import("./D-MeaMDU.js"),[],import.meta.url)});xe({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>Se(()=>import("./DgyLZaXg.js"),[],import.meta.url)});xe({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>Se(()=>import("./BIv9DU6q.js"),[],import.meta.url)});xe({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Se(()=>import("./DAfsp-82.js"),[],import.meta.url)});xe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>Se(()=>import("./D5fGPlBk.js"),[],import.meta.url)});/*!-----------------------------------------------------------------------------
666
+ *-----------------------------------------------------------------------------*/var Kve=Object.defineProperty,qve=Object.getOwnPropertyDescriptor,Gve=Object.getOwnPropertyNames,Zve=Object.prototype.hasOwnProperty,Yve=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Gve(e))!Zve.call(o,n)&&n!==t&&Kve(o,n,{get:()=>e[n],enumerable:!(i=qve(e,n))||i.enumerable});return o},Xve=(o,e,t)=>(Yve(o,e,"default"),t),kC={};Xve(kC,X1);var Wq={},fT={},Qve=class Bq{static getOrCreate(e){return fT[e]||(fT[e]=new Bq(e)),fT[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,Wq[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function xe(o){const e=o.id;Wq[e]=o,kC.languages.register(o);const t=Qve.getOrCreate(e);kC.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),kC.languages.onLanguageEncountered(e,async()=>{const i=await t.load();kC.languages.setLanguageConfiguration(e,i.conf)})}xe({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>Se(()=>import("./BrgZPUOV.js"),[],import.meta.url)});xe({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>Se(()=>import("./DyP6w7ZV.js"),[],import.meta.url)});xe({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>Se(()=>import("./BaLxmfj-.js"),[],import.meta.url)});xe({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>Se(()=>import("./CFOPXBzS.js"),[],import.meta.url)});xe({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>Se(()=>import("./BfEKNvv3.js"),[],import.meta.url)});xe({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Se(()=>import("./BFG1Mk7z.js"),[],import.meta.url)});xe({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>Se(()=>import("./DTECt2xU.js"),[],import.meta.url)});xe({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>Se(()=>import("./CDGzqUPQ.js"),[],import.meta.url)});xe({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>Se(()=>import("./CLLBncYj.js"),[],import.meta.url)});xe({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>Se(()=>import("./CLLBncYj.js"),[],import.meta.url)});xe({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>Se(()=>import("./dUCx_-0o.js"),[],import.meta.url)});xe({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>Se(()=>import("./5Rap-vPy.js"),[],import.meta.url)});xe({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>Se(()=>import("./D3h14YRZ.js"),[],import.meta.url)});xe({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Se(()=>import("./DrQuvNYM.js"),[],import.meta.url)});xe({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>Se(()=>import("./CFKIUWau.js"),[],import.meta.url)});xe({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>Se(()=>import("./Zznr-cwX.js"),[],import.meta.url)});xe({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>Se(()=>import("./Ce3n6wWz.js"),[],import.meta.url)});xe({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>Se(()=>import("./deUWdS0T.js"),[],import.meta.url)});xe({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>Se(()=>import("./i9-g7ZhI.js"),[],import.meta.url)});xe({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Se(()=>import("./CzKuDChf.js"),[],import.meta.url)});xe({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Se(()=>import("./CFcfsVkY.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});xe({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Se(()=>import("./CFcfsVkY.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationDollar)});xe({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Se(()=>import("./CFcfsVkY.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationDollar)});xe({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Se(()=>import("./CFcfsVkY.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationBracket)});xe({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Se(()=>import("./CFcfsVkY.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationBracket)});xe({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Se(()=>import("./CFcfsVkY.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});xe({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Se(()=>import("./CFcfsVkY.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationBracket)});xe({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Se(()=>import("./Cphgjts3.js"),[],import.meta.url)});xe({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>Se(()=>import("./Cg7bfA9N.js"),[],import.meta.url)});xe({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>Se(()=>import("./BH7VBnJ7.js"),[],import.meta.url)});xe({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Se(()=>import("./0cvrggvQ.js"),[],import.meta.url)});xe({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>Se(()=>import("./Cnr0cZA4.js"),[],import.meta.url)});xe({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>Se(()=>import("./Drc7WvVn.js"),[],import.meta.url)});xe({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Se(()=>import("./B_fMsGYe.js"),[],import.meta.url)});xe({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Se(()=>import("./DU-D8S0B.js"),__vite__mapDeps([0,1]),import.meta.url)});xe({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>Se(()=>import("./Bqgm2twL.js"),[],import.meta.url)});xe({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>Se(()=>import("./BSkB5QuD.js"),[],import.meta.url)});xe({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Se(()=>import("./BsTHnhdd.js"),[],import.meta.url)});xe({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>Se(()=>import("./YWi4-JPR.js"),[],import.meta.url)});xe({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>Se(()=>import("./nf6ki56Z.js"),[],import.meta.url)});xe({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>Se(()=>import("./qPgPowuc.js"),[],import.meta.url)});xe({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>Se(()=>import("./Cpb6xl2v.js"),[],import.meta.url)});xe({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>Se(()=>import("./DSZPf7rp.js"),[],import.meta.url)});xe({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>Se(()=>import("./CmPVG-ki.js"),[],import.meta.url)});xe({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>Se(()=>import("./B_c3zf-v.js"),[],import.meta.url)});xe({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>Se(()=>import("./rUNN04Wq.js"),[],import.meta.url)});xe({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>Se(()=>import("./DDwshQtU.js"),[],import.meta.url)});xe({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>Se(()=>import("./B5zXfXm9.js"),[],import.meta.url)});xe({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>Se(()=>import("./CXOwvkN_.js"),[],import.meta.url)});xe({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>Se(()=>import("./Bc-ZgV77.js"),[],import.meta.url)});xe({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Se(()=>import("./CwNk8-XU.js"),[],import.meta.url)});xe({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>Se(()=>import("./tGk8EFnU.js"),[],import.meta.url)});xe({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>Se(()=>import("./CpIb_Oan.js"),[],import.meta.url)});xe({id:"pla",extensions:[".pla"],loader:()=>Se(()=>import("./B03wrqEc.js"),[],import.meta.url)});xe({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>Se(()=>import("./BKlk5iyT.js"),[],import.meta.url)});xe({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>Se(()=>import("./Bhzvs7bI.js"),[],import.meta.url)});xe({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>Se(()=>import("./Dd3NCNK9.js"),[],import.meta.url)});xe({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Se(()=>import("./COyEY5Pt.js"),[],import.meta.url)});xe({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>Se(()=>import("./BaJupSGV.js"),[],import.meta.url)});xe({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Se(()=>import("./Bub2VLj9.js"),[],import.meta.url)});xe({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Se(()=>import("./DXyYeYxl.js"),[],import.meta.url)});xe({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Se(()=>import("./CdQndTaG.js"),[],import.meta.url)});xe({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>Se(()=>import("./DbYdNz4J.js"),[],import.meta.url)});xe({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>Se(()=>import("./CVwtpugi.js"),[],import.meta.url)});xe({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>Se(()=>import("./25W9uPmb.js"),[],import.meta.url)});xe({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Se(()=>import("./DfzH4Xui.js"),[],import.meta.url)});xe({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>Se(()=>import("./Cp1zYvxS.js"),[],import.meta.url)});xe({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>Se(()=>import("./D5C2fndG.js"),[],import.meta.url)});xe({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>Se(()=>import("./CDntyWJ8.js"),[],import.meta.url)});xe({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>Se(()=>import("./BoFRg7Ot.js"),[],import.meta.url)});xe({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Se(()=>import("./Bio4gycK.js"),[],import.meta.url)});xe({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>Se(()=>import("./4Ik7cdeQ.js"),[],import.meta.url)});xe({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>Se(()=>import("./CX-rkNHf.js"),[],import.meta.url)});xe({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>Se(()=>import("./Tw7wswEv.js"),[],import.meta.url)});xe({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>Se(()=>import("./C5WLch3f.js"),[],import.meta.url)});xe({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>Se(()=>import("./DHaeiCBh.js"),[],import.meta.url)});xe({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Se(()=>import("./CCSDG5nI.js"),[],import.meta.url)});xe({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Se(()=>import("./pnP8ivHi.js"),[],import.meta.url)});xe({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>Se(()=>import("./DwJ7jVG9.js"),[],import.meta.url)});xe({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>Se(()=>import("./B9Xyijhd.js"),[],import.meta.url)});xe({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>Se(()=>import("./B9Xyijhd.js"),[],import.meta.url)});xe({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>Se(()=>import("./DnHyzjbg.js"),[],import.meta.url)});xe({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>Se(()=>import("./CPajHgWi.js"),[],import.meta.url)});xe({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>Se(()=>import("./ByppsbS-.js"),[],import.meta.url)});xe({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>Se(()=>import("./D-MeaMDU.js"),[],import.meta.url)});xe({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>Se(()=>import("./DgyLZaXg.js"),[],import.meta.url)});xe({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>Se(()=>import("./BIv9DU6q.js"),[],import.meta.url)});xe({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Se(()=>import("./D8qEOlWC.js"),[],import.meta.url)});xe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>Se(()=>import("./BGEE3mf3.js"),[],import.meta.url)});/*!-----------------------------------------------------------------------------
667
667
  * Copyright (c) Microsoft Corporation. All rights reserved.
668
668
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
669
669
  * Released under the MIT license
670
670
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
671
- *-----------------------------------------------------------------------------*/var Jve=Object.defineProperty,ewe=Object.getOwnPropertyDescriptor,twe=Object.getOwnPropertyNames,iwe=Object.prototype.hasOwnProperty,nwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of twe(e))!iwe.call(o,n)&&n!==t&&Jve(o,n,{get:()=>e[n],enumerable:!(i=ewe(e,n))||i.enumerable});return o},swe=(o,e,t)=>(nwe(o,e,"default"),t),Db={};swe(Db,X1);var rW=class{constructor(e,t,i){this._onDidChange=new Db.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},aW={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},lW={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Hq=new rW("css",aW,lW),Vq=new rW("scss",aW,lW),zq=new rW("less",aW,lW);Db.languages.css={cssDefaults:Hq,lessDefaults:zq,scssDefaults:Vq};function cW(){return Se(()=>import("./Culo9hD6.js"),[],import.meta.url)}Db.languages.onLanguage("less",()=>{cW().then(o=>o.setupMode(zq))});Db.languages.onLanguage("scss",()=>{cW().then(o=>o.setupMode(Vq))});Db.languages.onLanguage("css",()=>{cW().then(o=>o.setupMode(Hq))});/*!-----------------------------------------------------------------------------
671
+ *-----------------------------------------------------------------------------*/var Jve=Object.defineProperty,ewe=Object.getOwnPropertyDescriptor,twe=Object.getOwnPropertyNames,iwe=Object.prototype.hasOwnProperty,nwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of twe(e))!iwe.call(o,n)&&n!==t&&Jve(o,n,{get:()=>e[n],enumerable:!(i=ewe(e,n))||i.enumerable});return o},swe=(o,e,t)=>(nwe(o,e,"default"),t),Db={};swe(Db,X1);var rW=class{constructor(e,t,i){this._onDidChange=new Db.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},aW={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},lW={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Hq=new rW("css",aW,lW),Vq=new rW("scss",aW,lW),zq=new rW("less",aW,lW);Db.languages.css={cssDefaults:Hq,lessDefaults:zq,scssDefaults:Vq};function cW(){return Se(()=>import("./DadWvtYR.js"),[],import.meta.url)}Db.languages.onLanguage("less",()=>{cW().then(o=>o.setupMode(zq))});Db.languages.onLanguage("scss",()=>{cW().then(o=>o.setupMode(Vq))});Db.languages.onLanguage("css",()=>{cW().then(o=>o.setupMode(Hq))});/*!-----------------------------------------------------------------------------
672
672
  * Copyright (c) Microsoft Corporation. All rights reserved.
673
673
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
674
674
  * Released under the MIT license
675
675
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
676
- *-----------------------------------------------------------------------------*/var owe=Object.defineProperty,rwe=Object.getOwnPropertyDescriptor,awe=Object.getOwnPropertyNames,lwe=Object.prototype.hasOwnProperty,cwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of awe(e))!lwe.call(o,n)&&n!==t&&owe(o,n,{get:()=>e[n],enumerable:!(i=rwe(e,n))||i.enumerable});return o},dwe=(o,e,t)=>(cwe(o,e,"default"),t),dE={};dwe(dE,X1);var hwe=class{constructor(e,t,i){this._onDidChange=new dE.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},uwe={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},hE={format:uwe,suggest:{},data:{useDefaultDataProvider:!0}};function uE(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===uv,documentFormattingEdits:o===uv,documentRangeFormattingEdits:o===uv}}var uv="html",YH="handlebars",XH="razor",Uq=gE(uv,hE,uE(uv)),gwe=Uq.defaults,$q=gE(YH,hE,uE(YH)),fwe=$q.defaults,jq=gE(XH,hE,uE(XH)),mwe=jq.defaults;dE.languages.html={htmlDefaults:gwe,razorDefaults:mwe,handlebarDefaults:fwe,htmlLanguageService:Uq,handlebarLanguageService:$q,razorLanguageService:jq,registerHTMLLanguageService:gE};function pwe(){return Se(()=>import("./qXu78w_4.js"),[],import.meta.url)}function gE(o,e=hE,t=uE(o)){const i=new hwe(o,e,t);let n;const s=dE.languages.onLanguage(o,async()=>{n=(await pwe()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}/*!-----------------------------------------------------------------------------
676
+ *-----------------------------------------------------------------------------*/var owe=Object.defineProperty,rwe=Object.getOwnPropertyDescriptor,awe=Object.getOwnPropertyNames,lwe=Object.prototype.hasOwnProperty,cwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of awe(e))!lwe.call(o,n)&&n!==t&&owe(o,n,{get:()=>e[n],enumerable:!(i=rwe(e,n))||i.enumerable});return o},dwe=(o,e,t)=>(cwe(o,e,"default"),t),dE={};dwe(dE,X1);var hwe=class{constructor(e,t,i){this._onDidChange=new dE.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},uwe={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},hE={format:uwe,suggest:{},data:{useDefaultDataProvider:!0}};function uE(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===uv,documentFormattingEdits:o===uv,documentRangeFormattingEdits:o===uv}}var uv="html",YH="handlebars",XH="razor",Uq=gE(uv,hE,uE(uv)),gwe=Uq.defaults,$q=gE(YH,hE,uE(YH)),fwe=$q.defaults,jq=gE(XH,hE,uE(XH)),mwe=jq.defaults;dE.languages.html={htmlDefaults:gwe,razorDefaults:mwe,handlebarDefaults:fwe,htmlLanguageService:Uq,handlebarLanguageService:$q,razorLanguageService:jq,registerHTMLLanguageService:gE};function pwe(){return Se(()=>import("./DsvX5v5e.js"),[],import.meta.url)}function gE(o,e=hE,t=uE(o)){const i=new hwe(o,e,t);let n;const s=dE.languages.onLanguage(o,async()=>{n=(await pwe()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}/*!-----------------------------------------------------------------------------
677
677
  * Copyright (c) Microsoft Corporation. All rights reserved.
678
678
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
679
679
  * Released under the MIT license
680
680
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
681
- *-----------------------------------------------------------------------------*/var _we=Object.defineProperty,bwe=Object.getOwnPropertyDescriptor,Cwe=Object.getOwnPropertyNames,vwe=Object.prototype.hasOwnProperty,wwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Cwe(e))!vwe.call(o,n)&&n!==t&&_we(o,n,{get:()=>e[n],enumerable:!(i=bwe(e,n))||i.enumerable});return o},Swe=(o,e,t)=>(wwe(o,e,"default"),t),Q1={};Swe(Q1,X1);var ywe=class{constructor(e,t,i){this._onDidChange=new Q1.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},Lwe={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},xwe={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},Kq=new ywe("json",Lwe,xwe),kwe=()=>qq().then(o=>o.getWorker());Q1.languages.json={jsonDefaults:Kq,getWorker:kwe};function qq(){return Se(()=>import("./Codln_pl.js"),[],import.meta.url)}Q1.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});Q1.languages.onLanguage("json",()=>{qq().then(o=>o.setupMode(Kq))});/*!-----------------------------------------------------------------------------
681
+ *-----------------------------------------------------------------------------*/var _we=Object.defineProperty,bwe=Object.getOwnPropertyDescriptor,Cwe=Object.getOwnPropertyNames,vwe=Object.prototype.hasOwnProperty,wwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Cwe(e))!vwe.call(o,n)&&n!==t&&_we(o,n,{get:()=>e[n],enumerable:!(i=bwe(e,n))||i.enumerable});return o},Swe=(o,e,t)=>(wwe(o,e,"default"),t),Q1={};Swe(Q1,X1);var ywe=class{constructor(e,t,i){this._onDidChange=new Q1.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},Lwe={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},xwe={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},Kq=new ywe("json",Lwe,xwe),kwe=()=>qq().then(o=>o.getWorker());Q1.languages.json={jsonDefaults:Kq,getWorker:kwe};function qq(){return Se(()=>import("./sdLD1XcR.js"),[],import.meta.url)}Q1.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});Q1.languages.onLanguage("json",()=>{qq().then(o=>o.setupMode(Kq))});/*!-----------------------------------------------------------------------------
682
682
  * Copyright (c) Microsoft Corporation. All rights reserved.
683
683
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
684
684
  * Released under the MIT license
685
685
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
686
- *-----------------------------------------------------------------------------*/var Dwe=Object.defineProperty,Iwe=Object.getOwnPropertyDescriptor,Ewe=Object.getOwnPropertyNames,Nwe=Object.prototype.hasOwnProperty,Twe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ewe(e))!Nwe.call(o,n)&&n!==t&&Dwe(o,n,{get:()=>e[n],enumerable:!(i=Iwe(e,n))||i.enumerable});return o},Rwe=(o,e,t)=>(Twe(o,e,"default"),t),Mwe="5.4.5",j_={};Rwe(j_,X1);var Gq=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(Gq||{}),Zq=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(Zq||{}),Yq=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(Yq||{}),Xq=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(Xq||{}),Qq=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(Qq||{}),Jq=class{constructor(o,e,t,i,n){this._onDidChange=new j_.Emitter,this._onDidExtraLibsChange=new j_.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(void 0)}},Awe=Mwe,eG={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},tG=new Jq({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},eG),iG=new Jq({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},eG),Pwe=()=>fE().then(o=>o.getTypeScriptWorker()),Owe=()=>fE().then(o=>o.getJavaScriptWorker());j_.languages.typescript={ModuleKind:Gq,JsxEmit:Zq,NewLineKind:Yq,ScriptTarget:Xq,ModuleResolutionKind:Qq,typescriptVersion:Awe,typescriptDefaults:tG,javascriptDefaults:iG,getTypeScriptWorker:Pwe,getJavaScriptWorker:Owe};function fE(){return Se(()=>import("./CfKHaDCm.js"),[],import.meta.url)}j_.languages.onLanguage("typescript",()=>fE().then(o=>o.setupTypeScript(tG)));j_.languages.onLanguage("javascript",()=>fE().then(o=>o.setupJavaScript(iG)));class Fwe extends vs{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:Ee("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:ee.map,toggled:q.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:q.has("isInDiffEditor"),menu:{when:q.has("isInDiffEditor"),id:fe.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class nG extends vs{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:Ee("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class sG extends vs{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:Ee("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}const J1=Ee("diffEditor","Diff Editor");class Wwe extends za{constructor(){super({id:"diffEditor.switchSide",title:Ee("switchSide","Switch Side"),icon:ee.arrowSwap,precondition:q.has("isInDiffEditor"),f1:!0,category:J1})}runEditorCommand(e,t,i){const n=Ib(e);if(n instanceof nd){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class Bwe extends za{constructor(){super({id:"diffEditor.exitCompareMove",title:Ee("exitCompareMove","Exit Compare Move"),icon:ee.close,precondition:I.comparingMovedCode,f1:!1,category:J1,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=Ib(e);n instanceof nd&&n.exitCompareMove()}}class Hwe extends za{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:Ee("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:ee.fold,precondition:q.has("isInDiffEditor"),f1:!0,category:J1})}runEditorCommand(e,t,...i){const n=Ib(e);n instanceof nd&&n.collapseAllUnchangedRegions()}}class Vwe extends za{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:Ee("showAllUnchangedRegions","Show All Unchanged Regions"),icon:ee.unfold,precondition:q.has("isInDiffEditor"),f1:!0,category:J1})}runEditorCommand(e,t,...i){const n=Ib(e);n instanceof nd&&n.showAllUnchangedRegions()}}class RP extends vs{constructor(){super({id:"diffEditor.revert",title:Ee("revert","Revert"),f1:!1,category:J1})}run(e,t){const i=zwe(e,t.originalUri,t.modifiedUri);i instanceof nd&&i.revertRangeMappings(t.mapping.innerChanges??[])}}const oG=Ee("accessibleDiffViewer","Accessible Diff Viewer"),lD=class lD extends vs{constructor(){super({id:lD.id,title:Ee("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:oG,precondition:q.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=Ib(e);t==null||t.accessibleDiffViewerNext()}};lD.id="editor.action.accessibleDiffViewer.next";let Gw=lD;const cD=class cD extends vs{constructor(){super({id:cD.id,title:Ee("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:oG,precondition:q.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=Ib(e);t==null||t.accessibleDiffViewerPrev()}};cD.id="editor.action.accessibleDiffViewer.prev";let mx=cD;function zwe(o,e,t){return o.get(ft).listDiffEditors().find(s=>{var l,c;const r=s.getModifiedEditor(),a=s.getOriginalEditor();return r&&((l=r.getModel())==null?void 0:l.uri.toString())===t.toString()&&a&&((c=a.getModel())==null?void 0:c.uri.toString())===e.toString()})||null}function Ib(o){const t=o.get(ft).listDiffEditors(),i=kn();if(i)for(const n of t){const s=n.getContainerDomNode();if(Uwe(s,i))return n}return null}function Uwe(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentElement}return!1}Pt(Fwe);Pt(nG);Pt(sG);on.appendMenuItem(fe.EditorTitle,{command:{id:new sG().desc.id,title:m("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:q.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:q.has("isInDiffEditor")},order:11,group:"1_diff",when:q.and(I.diffEditorRenderSideBySideInlineBreakpointReached,q.has("isInDiffEditor"))});on.appendMenuItem(fe.EditorTitle,{command:{id:new nG().desc.id,title:m("showMoves","Show Moved Code Blocks"),icon:ee.move,toggled:db.create("config.diffEditor.experimental.showMoves",!0),precondition:q.has("isInDiffEditor")},order:10,group:"1_diff",when:q.has("isInDiffEditor")});Pt(RP);for(const o of[{icon:ee.arrowRight,key:I.diffEditorInlineMode.toNegated()},{icon:ee.discard,key:I.diffEditorInlineMode}])on.appendMenuItem(fe.DiffEditorHunkToolbar,{command:{id:new RP().desc.id,title:m("revertHunk","Revert Block"),icon:o.icon},when:q.and(I.diffEditorModifiedWritable,o.key),order:5,group:"primary"}),on.appendMenuItem(fe.DiffEditorSelectionToolbar,{command:{id:new RP().desc.id,title:m("revertSelection","Revert Selection"),icon:o.icon},when:q.and(I.diffEditorModifiedWritable,o.key),order:5,group:"primary"});Pt(Wwe);Pt(Bwe);Pt(Hwe);Pt(Vwe);on.appendMenuItem(fe.EditorTitle,{command:{id:Gw.id,title:m("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:q.has("isInDiffEditor")},order:10,group:"2_diff",when:q.and(I.accessibleDiffViewerVisible.negate(),q.has("isInDiffEditor"))});ot.registerCommandAlias("editor.action.diffReview.next",Gw.id);Pt(Gw);ot.registerCommandAlias("editor.action.diffReview.prev",mx.id);Pt(mx);var $we=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},jwe=function(o,e){return function(t,i){e(t,i,o)}},MP;const mE=new le("selectionAnchorSet",!1);var Mg;let qh=(Mg=class{static get(e){return e.getContribution(MP.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=mE.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(me.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new An().appendText(m("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),bs(m("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(me.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}},MP=Mg,Mg.ID="editor.contrib.selectionAnchorController",Mg);qh=MP=$we([jwe(1,Ie)],qh);class Kwe extends de{constructor(){super({id:"editor.action.setSelectionAnchor",label:m("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:Bi(2089,2080),weight:100}})}async run(e,t){var i;(i=qh.get(t))==null||i.setSelectionAnchor()}}class qwe extends de{constructor(){super({id:"editor.action.goToSelectionAnchor",label:m("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:mE})}async run(e,t){var i;(i=qh.get(t))==null||i.goToSelectionAnchor()}}class Gwe extends de{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:m("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:mE,kbOpts:{kbExpr:I.editorTextFocus,primary:Bi(2089,2089),weight:100}})}async run(e,t){var i;(i=qh.get(t))==null||i.selectFromAnchorToCursor()}}class Zwe extends de{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:m("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:mE,kbOpts:{kbExpr:I.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=qh.get(t))==null||i.cancelSelectionAnchor()}}lt(qh.ID,qh,4);Q(Kwe);Q(qwe);Q(Gwe);Q(Zwe);const Ywe=E("editorOverviewRuler.bracketMatchForeground","#A0A0A0",m("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Xwe extends de{constructor(){super({id:"editor.action.jumpToBracket",label:m("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Ff.get(t))==null||i.jumpToBracket()}}class Qwe extends de{constructor(){super({id:"editor.action.selectToBracket",label:m("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:Ee("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var s;let n=!0;i&&i.selectBrackets===!1&&(n=!1),(s=Ff.get(t))==null||s.selectToBracket(n)}}class Jwe extends de{constructor(){super({id:"editor.action.removeBrackets",label:m("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Ff.get(t))==null||i.removeBrackets(this.id)}}class e1e{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}const Md=class Md extends F{static get(e){return e.getContribution(Md.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new kt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new me(r.lineNumber,r.column,r.lineNumber,r.column):new me(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const c=t.bracketPairs.findNextBracket(s);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new me(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h<u;h++){const g=e[h];g.isEmpty()&&(s[r++]=g.getStartPosition())}s.length>1&&s.sort(A.compare);const a=[];let l=0,c=0;const d=n.length;for(let h=0,u=s.length;h<u;h++){const g=s[h];for(;c<d&&n[c].position.isBefore(g);)c++;if(c<d&&n[c].position.equals(g))a[l++]=n[c];else{let f=t.bracketPairs.matchBracket(g,20),p=Md._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;!f&&this._matchBrackets==="always"&&(f=t.bracketPairs.findEnclosingBrackets(g,20),p=Md._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),a[l++]=new e1e(g,f,p)}}this._lastBracketsData=a,this._lastVersionId=i}};Md.ID="editor.contrib.bracketMatchingController",Md._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=Fe.register({description:"bracket-match-overview",stickiness:1,className:"bracket-match",overviewRuler:{color:fi(Ywe),position:Bo.Center}}),Md._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=Fe.register({description:"bracket-match-no-overview",stickiness:1,className:"bracket-match"});let Ff=Md;lt(Ff.ID,Ff,1);Q(Qwe);Q(Xwe);Q(Jwe);on.appendMenuItem(fe.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:m({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class t1e{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,s=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&s===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new x(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,s,i,s),a)}else{const r=new x(i,s,i,s+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new me(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new me(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class rG extends de{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const s of n)i.push(new t1e(s,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class i1e extends rG{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:m("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:I.writable})}}class n1e extends rG{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:m("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:I.writable})}}Q(i1e);Q(n1e);class s1e extends de{constructor(){super({id:"editor.action.transposeLetters",label:m("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:I.writable,kbOpts:{kbExpr:I.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=[],s=t.getSelections();for(const r of s){if(!r.isEmpty())continue;const a=r.startLineNumber,l=r.startColumn,c=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&c===2))continue;const d=l===c?r.getPosition():St.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),h=St.leftPosition(i,d),u=St.leftPosition(i,h),g=i.getValueInRange(x.fromPositions(u,h)),f=i.getValueInRange(x.fromPositions(h,d)),p=x.fromPositions(u,d);n.push(new xn(p,f+g))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}Q(s1e);const pE=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let o;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?o=crypto.getRandomValues.bind(crypto):o=function(i){for(let n=0;n<i.length;n++)i[n]=Math.floor(Math.random()*256);return i};const e=new Uint8Array(16),t=[];for(let i=0;i<256;i++)t.push(i.toString(16).padStart(2,"0"));return function(){o(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let n=0,s="";return s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+="-",s+=t[e[n++]],s+=t[e[n++]],s+="-",s+=t[e[n++]],s+=t[e[n++]],s+="-",s+=t[e[n++]],s+=t[e[n++]],s+="-",s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s}}();function dW(o){return{asString:async()=>o,asFile:()=>{},value:typeof o=="string"?o:void 0}}function o1e(o,e,t){const i={id:pE(),name:o,uri:e,data:t};return{asString:async()=>"",asFile:()=>i,value:void 0}}class aG{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return st.some(this,([i,n])=>n.asFile())&&t.push("files"),cG(px(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))==null?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return px(e)}}function px(o){return o.toLowerCase()}function lG(o,e){return cG(px(o),e.map(px))}function cG(o,e){if(o==="*/*")return e.length>0;if(e.includes(o))return!0;const t=o.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,s]=t;return s==="*"?e.some(r=>r.startsWith(n+"/")):!1}const _E=Object.freeze({create:o=>Zc(o.map(e=>e.toString())).join(`\r
686
+ *-----------------------------------------------------------------------------*/var Dwe=Object.defineProperty,Iwe=Object.getOwnPropertyDescriptor,Ewe=Object.getOwnPropertyNames,Nwe=Object.prototype.hasOwnProperty,Twe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ewe(e))!Nwe.call(o,n)&&n!==t&&Dwe(o,n,{get:()=>e[n],enumerable:!(i=Iwe(e,n))||i.enumerable});return o},Rwe=(o,e,t)=>(Twe(o,e,"default"),t),Mwe="5.4.5",j_={};Rwe(j_,X1);var Gq=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(Gq||{}),Zq=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(Zq||{}),Yq=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(Yq||{}),Xq=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(Xq||{}),Qq=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(Qq||{}),Jq=class{constructor(o,e,t,i,n){this._onDidChange=new j_.Emitter,this._onDidExtraLibsChange=new j_.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(void 0)}},Awe=Mwe,eG={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},tG=new Jq({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},eG),iG=new Jq({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},eG),Pwe=()=>fE().then(o=>o.getTypeScriptWorker()),Owe=()=>fE().then(o=>o.getJavaScriptWorker());j_.languages.typescript={ModuleKind:Gq,JsxEmit:Zq,NewLineKind:Yq,ScriptTarget:Xq,ModuleResolutionKind:Qq,typescriptVersion:Awe,typescriptDefaults:tG,javascriptDefaults:iG,getTypeScriptWorker:Pwe,getJavaScriptWorker:Owe};function fE(){return Se(()=>import("./BOrnwyTp.js"),[],import.meta.url)}j_.languages.onLanguage("typescript",()=>fE().then(o=>o.setupTypeScript(tG)));j_.languages.onLanguage("javascript",()=>fE().then(o=>o.setupJavaScript(iG)));class Fwe extends vs{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:Ee("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:ee.map,toggled:q.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:q.has("isInDiffEditor"),menu:{when:q.has("isInDiffEditor"),id:fe.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class nG extends vs{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:Ee("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class sG extends vs{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:Ee("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}const J1=Ee("diffEditor","Diff Editor");class Wwe extends za{constructor(){super({id:"diffEditor.switchSide",title:Ee("switchSide","Switch Side"),icon:ee.arrowSwap,precondition:q.has("isInDiffEditor"),f1:!0,category:J1})}runEditorCommand(e,t,i){const n=Ib(e);if(n instanceof nd){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class Bwe extends za{constructor(){super({id:"diffEditor.exitCompareMove",title:Ee("exitCompareMove","Exit Compare Move"),icon:ee.close,precondition:I.comparingMovedCode,f1:!1,category:J1,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=Ib(e);n instanceof nd&&n.exitCompareMove()}}class Hwe extends za{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:Ee("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:ee.fold,precondition:q.has("isInDiffEditor"),f1:!0,category:J1})}runEditorCommand(e,t,...i){const n=Ib(e);n instanceof nd&&n.collapseAllUnchangedRegions()}}class Vwe extends za{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:Ee("showAllUnchangedRegions","Show All Unchanged Regions"),icon:ee.unfold,precondition:q.has("isInDiffEditor"),f1:!0,category:J1})}runEditorCommand(e,t,...i){const n=Ib(e);n instanceof nd&&n.showAllUnchangedRegions()}}class RP extends vs{constructor(){super({id:"diffEditor.revert",title:Ee("revert","Revert"),f1:!1,category:J1})}run(e,t){const i=zwe(e,t.originalUri,t.modifiedUri);i instanceof nd&&i.revertRangeMappings(t.mapping.innerChanges??[])}}const oG=Ee("accessibleDiffViewer","Accessible Diff Viewer"),lD=class lD extends vs{constructor(){super({id:lD.id,title:Ee("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:oG,precondition:q.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=Ib(e);t==null||t.accessibleDiffViewerNext()}};lD.id="editor.action.accessibleDiffViewer.next";let Gw=lD;const cD=class cD extends vs{constructor(){super({id:cD.id,title:Ee("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:oG,precondition:q.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=Ib(e);t==null||t.accessibleDiffViewerPrev()}};cD.id="editor.action.accessibleDiffViewer.prev";let mx=cD;function zwe(o,e,t){return o.get(ft).listDiffEditors().find(s=>{var l,c;const r=s.getModifiedEditor(),a=s.getOriginalEditor();return r&&((l=r.getModel())==null?void 0:l.uri.toString())===t.toString()&&a&&((c=a.getModel())==null?void 0:c.uri.toString())===e.toString()})||null}function Ib(o){const t=o.get(ft).listDiffEditors(),i=kn();if(i)for(const n of t){const s=n.getContainerDomNode();if(Uwe(s,i))return n}return null}function Uwe(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentElement}return!1}Pt(Fwe);Pt(nG);Pt(sG);on.appendMenuItem(fe.EditorTitle,{command:{id:new sG().desc.id,title:m("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:q.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:q.has("isInDiffEditor")},order:11,group:"1_diff",when:q.and(I.diffEditorRenderSideBySideInlineBreakpointReached,q.has("isInDiffEditor"))});on.appendMenuItem(fe.EditorTitle,{command:{id:new nG().desc.id,title:m("showMoves","Show Moved Code Blocks"),icon:ee.move,toggled:db.create("config.diffEditor.experimental.showMoves",!0),precondition:q.has("isInDiffEditor")},order:10,group:"1_diff",when:q.has("isInDiffEditor")});Pt(RP);for(const o of[{icon:ee.arrowRight,key:I.diffEditorInlineMode.toNegated()},{icon:ee.discard,key:I.diffEditorInlineMode}])on.appendMenuItem(fe.DiffEditorHunkToolbar,{command:{id:new RP().desc.id,title:m("revertHunk","Revert Block"),icon:o.icon},when:q.and(I.diffEditorModifiedWritable,o.key),order:5,group:"primary"}),on.appendMenuItem(fe.DiffEditorSelectionToolbar,{command:{id:new RP().desc.id,title:m("revertSelection","Revert Selection"),icon:o.icon},when:q.and(I.diffEditorModifiedWritable,o.key),order:5,group:"primary"});Pt(Wwe);Pt(Bwe);Pt(Hwe);Pt(Vwe);on.appendMenuItem(fe.EditorTitle,{command:{id:Gw.id,title:m("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:q.has("isInDiffEditor")},order:10,group:"2_diff",when:q.and(I.accessibleDiffViewerVisible.negate(),q.has("isInDiffEditor"))});ot.registerCommandAlias("editor.action.diffReview.next",Gw.id);Pt(Gw);ot.registerCommandAlias("editor.action.diffReview.prev",mx.id);Pt(mx);var $we=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},jwe=function(o,e){return function(t,i){e(t,i,o)}},MP;const mE=new le("selectionAnchorSet",!1);var Mg;let qh=(Mg=class{static get(e){return e.getContribution(MP.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=mE.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(me.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new An().appendText(m("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),bs(m("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(me.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}},MP=Mg,Mg.ID="editor.contrib.selectionAnchorController",Mg);qh=MP=$we([jwe(1,Ie)],qh);class Kwe extends de{constructor(){super({id:"editor.action.setSelectionAnchor",label:m("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:Bi(2089,2080),weight:100}})}async run(e,t){var i;(i=qh.get(t))==null||i.setSelectionAnchor()}}class qwe extends de{constructor(){super({id:"editor.action.goToSelectionAnchor",label:m("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:mE})}async run(e,t){var i;(i=qh.get(t))==null||i.goToSelectionAnchor()}}class Gwe extends de{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:m("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:mE,kbOpts:{kbExpr:I.editorTextFocus,primary:Bi(2089,2089),weight:100}})}async run(e,t){var i;(i=qh.get(t))==null||i.selectFromAnchorToCursor()}}class Zwe extends de{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:m("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:mE,kbOpts:{kbExpr:I.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=qh.get(t))==null||i.cancelSelectionAnchor()}}lt(qh.ID,qh,4);Q(Kwe);Q(qwe);Q(Gwe);Q(Zwe);const Ywe=E("editorOverviewRuler.bracketMatchForeground","#A0A0A0",m("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Xwe extends de{constructor(){super({id:"editor.action.jumpToBracket",label:m("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Ff.get(t))==null||i.jumpToBracket()}}class Qwe extends de{constructor(){super({id:"editor.action.selectToBracket",label:m("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:Ee("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var s;let n=!0;i&&i.selectBrackets===!1&&(n=!1),(s=Ff.get(t))==null||s.selectToBracket(n)}}class Jwe extends de{constructor(){super({id:"editor.action.removeBrackets",label:m("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Ff.get(t))==null||i.removeBrackets(this.id)}}class e1e{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}const Md=class Md extends F{static get(e){return e.getContribution(Md.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new kt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new me(r.lineNumber,r.column,r.lineNumber,r.column):new me(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const c=t.bracketPairs.findNextBracket(s);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new me(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h<u;h++){const g=e[h];g.isEmpty()&&(s[r++]=g.getStartPosition())}s.length>1&&s.sort(A.compare);const a=[];let l=0,c=0;const d=n.length;for(let h=0,u=s.length;h<u;h++){const g=s[h];for(;c<d&&n[c].position.isBefore(g);)c++;if(c<d&&n[c].position.equals(g))a[l++]=n[c];else{let f=t.bracketPairs.matchBracket(g,20),p=Md._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;!f&&this._matchBrackets==="always"&&(f=t.bracketPairs.findEnclosingBrackets(g,20),p=Md._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),a[l++]=new e1e(g,f,p)}}this._lastBracketsData=a,this._lastVersionId=i}};Md.ID="editor.contrib.bracketMatchingController",Md._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=Fe.register({description:"bracket-match-overview",stickiness:1,className:"bracket-match",overviewRuler:{color:fi(Ywe),position:Bo.Center}}),Md._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=Fe.register({description:"bracket-match-no-overview",stickiness:1,className:"bracket-match"});let Ff=Md;lt(Ff.ID,Ff,1);Q(Qwe);Q(Xwe);Q(Jwe);on.appendMenuItem(fe.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:m({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class t1e{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,s=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&s===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new x(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,s,i,s),a)}else{const r=new x(i,s,i,s+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new me(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new me(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class rG extends de{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const s of n)i.push(new t1e(s,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class i1e extends rG{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:m("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:I.writable})}}class n1e extends rG{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:m("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:I.writable})}}Q(i1e);Q(n1e);class s1e extends de{constructor(){super({id:"editor.action.transposeLetters",label:m("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:I.writable,kbOpts:{kbExpr:I.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=[],s=t.getSelections();for(const r of s){if(!r.isEmpty())continue;const a=r.startLineNumber,l=r.startColumn,c=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&c===2))continue;const d=l===c?r.getPosition():St.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),h=St.leftPosition(i,d),u=St.leftPosition(i,h),g=i.getValueInRange(x.fromPositions(u,h)),f=i.getValueInRange(x.fromPositions(h,d)),p=x.fromPositions(u,d);n.push(new xn(p,f+g))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}Q(s1e);const pE=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let o;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?o=crypto.getRandomValues.bind(crypto):o=function(i){for(let n=0;n<i.length;n++)i[n]=Math.floor(Math.random()*256);return i};const e=new Uint8Array(16),t=[];for(let i=0;i<256;i++)t.push(i.toString(16).padStart(2,"0"));return function(){o(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let n=0,s="";return s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+="-",s+=t[e[n++]],s+=t[e[n++]],s+="-",s+=t[e[n++]],s+=t[e[n++]],s+="-",s+=t[e[n++]],s+=t[e[n++]],s+="-",s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s+=t[e[n++]],s}}();function dW(o){return{asString:async()=>o,asFile:()=>{},value:typeof o=="string"?o:void 0}}function o1e(o,e,t){const i={id:pE(),name:o,uri:e,data:t};return{asString:async()=>"",asFile:()=>i,value:void 0}}class aG{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return st.some(this,([i,n])=>n.asFile())&&t.push("files"),cG(px(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))==null?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return px(e)}}function px(o){return o.toLowerCase()}function lG(o,e){return cG(px(o),e.map(px))}function cG(o,e){if(o==="*/*")return e.length>0;if(e.includes(o))return!0;const t=o.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,s]=t;return s==="*"?e.some(r=>r.startsWith(n+"/")):!1}const _E=Object.freeze({create:o=>Zc(o.map(e=>e.toString())).join(`\r
687
687
  `),split:o=>o.split(`\r
688
688
  `),parse:o=>_E.split(o).filter(e=>!e.startsWith("#"))}),dl=class dl{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+dl.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(...e){return new dl((this.value?[this.value,...e]:e).join(dl.sep))}};dl.sep=".",dl.None=new dl("@@none@@"),dl.Empty=new dl("");let Jt=dl;const QH={EDITORS:"CodeEditors",FILES:"CodeFiles"};class r1e{}const a1e={DragAndDropContribution:"workbench.contributions.dragAndDrop"};ai.add(a1e.DragAndDropContribution,new r1e);const Fv=class Fv{constructor(){}static getInstance(){return Fv.INSTANCE}hasData(e){return e&&e===this.proto}getData(e){if(this.hasData(e))return this.data}};Fv.INSTANCE=new Fv;let AP=Fv;function dG(o){const e=new aG;for(const t of o.items){const i=t.type;if(t.kind==="string"){const n=new Promise(s=>t.getAsString(s));e.append(i,dW(n))}else if(t.kind==="file"){const n=t.getAsFile();n&&e.append(i,l1e(n))}}return e}function l1e(o){const e=o.path?we.parse(o.path):void 0;return o1e(o.name,e,async()=>new Uint8Array(await o.arrayBuffer()))}const c1e=Object.freeze([QH.EDITORS,QH.FILES,vw.RESOURCES,vw.INTERNAL_URI_LIST]);function hG(o,e=!1){const t=dG(o),i=t.get(vw.INTERNAL_URI_LIST);if(i)t.replace(Ci.uriList,i);else if(e||!t.has(Ci.uriList)){const n=[];for(const s of o.items){const r=s.getAsFile();if(r){const a=r.path;try{a?n.push(we.file(a).toString()):n.push(we.parse(r.name,!0).toString())}catch{}}}n.length&&t.replace(Ci.uriList,dW(_E.create(n)))}for(const n of c1e)t.delete(n);return t}var hW=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Zw=function(o,e){return function(t,i){e(t,i,o)}};class uW{async provideDocumentPasteEdits(e,t,i,n,s){const r=await this.getEdit(i,s);if(r)return{edits:[{insertText:r.insertText,title:r.title,kind:r.kind,handledMimeType:r.handledMimeType,yieldTo:r.yieldTo}],dispose(){}}}async provideDocumentDropEdits(e,t,i,n){const s=await this.getEdit(i,n);if(s)return{edits:[{insertText:s.insertText,title:s.title,kind:s.kind,handledMimeType:s.handledMimeType,yieldTo:s.yieldTo}],dispose(){}}}}const Wv=class Wv extends uW{constructor(){super(...arguments),this.kind=Wv.kind,this.dropMimeTypes=[Ci.text],this.pasteMimeTypes=[Ci.text]}async getEdit(e,t){const i=e.get(Ci.text);if(!i||e.has(Ci.uriList))return;const n=await i.asString();return{handledMimeType:Ci.text,title:m("text.label","Insert Plain Text"),insertText:n,kind:this.kind}}};Wv.id="text",Wv.kind=new Jt("text.plain");let Wf=Wv;class uG extends uW{constructor(){super(...arguments),this.kind=new Jt("uri.absolute"),this.dropMimeTypes=[Ci.uriList],this.pasteMimeTypes=[Ci.uriList]}async getEdit(e,t){const i=await gG(e);if(!i.length||t.isCancellationRequested)return;let n=0;const s=i.map(({uri:a,originalText:l})=>a.scheme===Oe.file?a.fsPath:(n++,l)).join(" ");let r;return n>0?r=i.length>1?m("defaultDropProvider.uriList.uris","Insert Uris"):m("defaultDropProvider.uriList.uri","Insert Uri"):r=i.length>1?m("defaultDropProvider.uriList.paths","Insert Paths"):m("defaultDropProvider.uriList.path","Insert Path"),{handledMimeType:Ci.uriList,insertText:s,title:r,kind:this.kind}}}let _x=class extends uW{constructor(e){super(),this._workspaceContextService=e,this.kind=new Jt("uri.relative"),this.dropMimeTypes=[Ci.uriList],this.pasteMimeTypes=[Ci.uriList]}async getEdit(e,t){const i=await gG(e);if(!i.length||t.isCancellationRequested)return;const n=$r(i.map(({uri:s})=>{const r=this._workspaceContextService.getWorkspaceFolder(s);return r?Dre(r.uri,s):void 0}));if(n.length)return{handledMimeType:Ci.uriList,insertText:n.join(" "),title:i.length>1?m("defaultDropProvider.uriList.relativePaths","Insert Relative Paths"):m("defaultDropProvider.uriList.relativePath","Insert Relative Path"),kind:this.kind}}};_x=hW([Zw(0,Tf)],_x);class d1e{constructor(){this.kind=new Jt("html"),this.pasteMimeTypes=["text/html"],this._yieldTo=[{mimeType:Ci.text}]}async provideDocumentPasteEdits(e,t,i,n,s){var l;if(n.triggerKind!==Gv.PasteAs&&!((l=n.only)!=null&&l.contains(this.kind)))return;const r=i.get("text/html"),a=await(r==null?void 0:r.asString());if(!(!a||s.isCancellationRequested))return{dispose(){},edits:[{insertText:a,yieldTo:this._yieldTo,title:m("pasteHtmlLabel","Insert HTML"),kind:this.kind}]}}}async function gG(o){const e=o.get(Ci.uriList);if(!e)return[];const t=await e.asString(),i=[];for(const n of _E.parse(t))try{i.push({uri:we.parse(n),originalText:n})}catch{}return i}let PP=class extends F{constructor(e,t){super(),this._register(e.documentDropEditProvider.register("*",new Wf)),this._register(e.documentDropEditProvider.register("*",new uG)),this._register(e.documentDropEditProvider.register("*",new _x(t)))}};PP=hW([Zw(0,he),Zw(1,Tf)],PP);let OP=class extends F{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register("*",new Wf)),this._register(e.documentPasteEditProvider.register("*",new uG)),this._register(e.documentPasteEditProvider.register("*",new _x(t))),this._register(e.documentPasteEditProvider.register("*",new d1e))}};OP=hW([Zw(0,he),Zw(1,Tf)],OP);const Tr=class Tr{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return e===95||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const e=this.pos;let t=0,i=this.value.charCodeAt(e),n;if(n=Tr._table[i],typeof n=="number")return this.pos+=1,{type:n,pos:e,len:1};if(Tr.isDigitCharacter(i)){n=8;do t+=1,i=this.value.charCodeAt(e+t);while(Tr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}if(Tr.isVariableCharacter(i)){n=9;do i=this.value.charCodeAt(e+ ++t);while(Tr.isVariableCharacter(i)||Tr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}n=10;do t+=1,i=this.value.charCodeAt(e+t);while(!isNaN(i)&&typeof Tr._table[i]>"u"&&!Tr.isDigitCharacter(i)&&!Tr.isVariableCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}};Tr._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};let FP=Tr;class Eb{constructor(){this._children=[]}appendChild(e){return e instanceof as&&this._children[this._children.length-1]instanceof as?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:i}=e,n=i.children.indexOf(e),s=i.children.slice(0);s.splice(n,1,...t),i._children=s,function r(a,l){for(const c of a)c.parent=l,r(c.children,c)}(t,i)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof eS)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class as extends Eb{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new as(this.value)}}class fG extends Eb{}class or extends fG{static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0}constructor(e){super(),this.index=e}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof Nb?this._children[0]:void 0}clone(){const e=new or(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}class Nb extends Eb{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof as&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const e=new Nb;return this.options.forEach(e.appendChild,e),e}}class gW extends Eb{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let i=!1,n=e.replace(this.regexp,function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!i&&this._children.some(s=>s instanceof ma&&!!s.elseValue)&&(n=this._replace([])),n}_replace(e){let t="";for(const i of this._children)if(i instanceof ma){let n=e[i.index]||"";n=i.resolve(n),t+=n}else t+=i.toString();return t}toString(){return""}clone(){const e=new gW;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(t=>t.clone()),e}}class ma extends Eb{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){return this.shorthandName==="upcase"?e?e.toLocaleUpperCase():"":this.shorthandName==="downcase"?e?e.toLocaleLowerCase():"":this.shorthandName==="capitalize"?e?e[0].toLocaleUpperCase()+e.substr(1):"":this.shorthandName==="pascalcase"?e?this._toPascalCase(e):"":this.shorthandName==="camelcase"?e?this._toCamelCase(e):"":e&&typeof this.ifValue=="string"?this.ifValue:!e&&typeof this.elseValue=="string"?this.elseValue:e||""}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(i=>i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((i,n)=>n===0?i.charAt(0).toLowerCase()+i.substr(1):i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}clone(){return new ma(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class Yw extends fG{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),t!==void 0?(this._children=[new as(t)],!0):!1}clone(){const e=new Yw(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}function JH(o,e){const t=[...o];for(;t.length>0;){const i=t.shift();if(!e(i))break;t.unshift(...i.children)}}class eS extends Eb{get placeholderInfo(){if(!this._placeholders){const e=[];let t;this.walk(function(i){return i instanceof or&&(e.push(i),t=!t||t.index<i.index?i:t),!0}),this._placeholders={all:e,last:t}}return this._placeholders}get placeholders(){const{all:e}=this.placeholderInfo;return e}offset(e){let t=0,i=!1;return this.walk(n=>n===e?(i=!0,!1):(t+=n.len(),!0)),i?t:-1}fullLen(e){let t=0;return JH([e],i=>(t+=i.len(),!0)),t}enclosingPlaceholders(e){const t=[];let{parent:i}=e;for(;i;)i instanceof or&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof Yw&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){const e=new eS;return this._children=this.children.map(t=>t.clone()),e}walk(e){JH(this.children,e)}}class Bf{constructor(){this._scanner=new FP,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){const n=new eS;return this.parseFragment(e,n),this.ensureFinalTabstop(n,i??!1,t??!1),n}parseFragment(e,t){const i=t.children.length;for(this._scanner.text(e),this._token=this._scanner.next();this._parse(t););const n=new Map,s=[];t.walk(l=>(l instanceof or&&(l.isFinalTabstop?n.set(0,void 0):!n.has(l.index)&&l.children.length>0?n.set(l.index,l.children):s.push(l)),!0));const r=(l,c)=>{const d=n.get(l.index);if(!d)return;const h=new or(l.index);h.transform=l.transform;for(const u of d){const g=u.clone();h.appendChild(g),g instanceof or&&n.has(g.index)&&!c.has(g.index)&&(c.add(g.index),r(g,c),c.delete(g.index))}t.replace(l,[h])},a=new Set;for(const l of s)r(l,a);return t.children.slice(i)}ensureFinalTabstop(e,t,i){(t||i&&e.placeholders.length>0)&&(e.placeholders.find(s=>s.index===0)||e.appendChild(new or(0)))}_accept(e,t){if(e===void 0||this._token.type===e){const i=t?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),i}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(this._token.type===14)return!1;if(this._token.type===5){const n=this._scanner.next();if(n.type!==0&&n.type!==4&&n.type!==5)return!1}this._token=this._scanner.next()}const i=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),i}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return(t=this._accept(5,!0))?(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new as(t)),!0):!1}_parseTabstopOrVariableName(e){let t;const i=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new or(Number(t)):new Yw(t)),!0):this._backTo(i)}_parseComplexPlaceholder(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(i);const s=new or(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new as("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else if(s.index>0&&this._accept(7)){const r=new Nb;for(;;){if(this._parseChoiceElement(r)){if(this._accept(2))continue;if(this._accept(7)&&(s.appendChild(r),this._accept(4)))return e.appendChild(s),!0}return this._backTo(i),!1}}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(i)}_parseChoiceElement(e){const t=this._token,i=[];for(;!(this._token.type===2||this._token.type===7);){let n;if((n=this._accept(5,!0))?n=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||n:n=this._accept(void 0,!0),!n)return this._backTo(t),!1;i.push(n)}return i.length===0?(this._backTo(t),!1):(e.appendChild(new as(i.join(""))),!0)}_parseComplexVariable(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(i);const s=new Yw(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new as("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(i)}_parseTransform(e){const t=new gW;let i="",n="";for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(6,!0)||s,i+=s;continue}if(this._token.type!==14){i+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(5,!0)||this._accept(6,!0)||s,t.appendChild(new as(s));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(this._token.type!==14){n+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(i,n)}catch{return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let i=!1;this._accept(3)&&(i=!0);const n=this._accept(8,!0);if(n)if(i){if(this._accept(4))return e.appendChild(new ma(Number(n))),!0;if(!this._accept(1))return this._backTo(t),!1}else return e.appendChild(new ma(Number(n))),!0;else return this._backTo(t),!1;if(this._accept(6)){const s=this._accept(9,!0);return!s||!this._accept(4)?(this._backTo(t),!1):(e.appendChild(new ma(Number(n),s)),!0)}else if(this._accept(11)){const s=this._until(4);if(s)return e.appendChild(new ma(Number(n),void 0,s,void 0)),!0}else if(this._accept(12)){const s=this._until(4);if(s)return e.appendChild(new ma(Number(n),void 0,void 0,s)),!0}else if(this._accept(13)){const s=this._until(1);if(s){const r=this._until(4);if(r)return e.appendChild(new ma(Number(n),void 0,s,r)),!0}}else{const s=this._until(4);if(s)return e.appendChild(new ma(Number(n),void 0,void 0,s)),!0}return this._backTo(t),!1}_parseAnything(e){return this._token.type!==14?(e.appendChild(new as(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}function mG(o,e,t){var i,n;return(typeof t.insertText=="string"?t.insertText==="":t.insertText.snippet==="")?{edits:((i=t.additionalEdit)==null?void 0:i.edits)??[]}:{edits:[...e.map(s=>new lh(o,{range:s,text:typeof t.insertText=="string"?Bf.escape(t.insertText)+"$0":t.insertText.snippet,insertAsSnippet:!0})),...((n=t.additionalEdit)==null?void 0:n.edits)??[]]}}function pG(o){function e(r,a){return"mimeType"in r?r.mimeType===a.handledMimeType:!!a.kind&&r.kind.contains(a.kind)}const t=new Map;for(const r of o)for(const a of r.yieldTo??[])for(const l of o)if(l!==r&&e(a,l)){let c=t.get(r);c||(c=[],t.set(r,c)),c.push(l)}if(!t.size)return Array.from(o);const i=new Set,n=[];function s(r){if(!r.length)return[];const a=r[0];if(n.includes(a))return console.warn("Yield to cycle detected",a),r;if(i.has(a))return s(r.slice(1));let l=[];const c=t.get(a);return c&&(n.push(a),l=s(c),n.pop()),i.add(a),[...l,a,...s(r.slice(1))]}return s(Array.from(o))}var h1e=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},u1e=function(o,e){return function(t,i){e(t,i,o)}};const g1e=Fe.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:Ez,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}}),dD=class dD extends F{constructor(e,t,i,n,s){super(),this.typeId=e,this.editor=t,this.range=i,this.delegate=s,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(n),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(e){this.domNode=ie(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=e;const t=ie("span.icon");this.domNode.append(t),t.classList.add(...De.asClassNameArray(ee.loading),"codicon-modifier-spin");const i=()=>{const n=this.editor.getOption(67);this.domNode.style.height=`${n}px`,this.domNode.style.width=`${Math.ceil(.8*n)}px`};i(),this._register(this.editor.onDidChangeConfiguration(n=>{(n.hasChanged(52)||n.hasChanged(67))&&i()})),this._register(z(this.domNode,te.CLICK,n=>{this.delegate.cancel()}))}getId(){return dD.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}};dD.baseId="editor.widget.inlineProgressWidget";let WP=dD,bx=class extends F{constructor(e,t,i){super(),this.id=e,this._editor=t,this._instantiationService=i,this._showDelay=500,this._showPromise=this._register(new Qi),this._currentWidget=this._register(new Qi),this._operationIdPool=0,this._currentDecorations=t.createDecorationsCollection()}dispose(){super.dispose(),this._currentDecorations.clear()}async showWhile(e,t,i,n,s){const r=this._operationIdPool++;this._currentOperation=r,this.clear(),this._showPromise.value=Oh(()=>{const a=x.fromPositions(e);this._currentDecorations.set([{range:a,options:g1e}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(WP,this.id,this._editor,a,t,n))},s??this._showDelay);try{return await i}finally{this._currentOperation===r&&(this.clear(),this._currentOperation=void 0)}}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};bx=h1e([u1e(2,ve)],bx);var f1e=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},eV=function(o,e){return function(t,i){e(t,i,o)}},ty,gh;let ao=(gh=class{static get(e){return e.getContribution(ty.ID)}constructor(e,t,i){this._openerService=i,this._messageWidget=new Qi,this._messageListeners=new j,this._mouseOverMessage=!1,this._editor=e,this._visible=ty.MESSAGE_VISIBLE.bindTo(t)}dispose(){var e;(e=this._message)==null||e.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){bs(Ra(e)?e.value:e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=Ra(e)?FI(e,{actionHandler:{callback:n=>{this.closeMessage(),R5(this._openerService,n,Ra(e)?e.isTrusted:void 0)},disposables:this._messageListeners}}):void 0,this._messageWidget.value=new tV(this._editor,t,typeof e=="string"?e:this._message.element),this._messageListeners.add(se.debounce(this._editor.onDidBlurEditorText,(n,s)=>s,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&Gi(kn(),this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(z(this._messageWidget.value.getDomNode(),te.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(z(this._messageWidget.value.getDomNode(),te.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new x(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(tV.fadeOut(this._messageWidget.value))}},ty=gh,gh.ID="editor.contrib.messageController",gh.MESSAGE_VISIBLE=new le("messageVisible",!1,m("messageVisible","Whether the editor is currently showing an inline message")),gh);ao=ty=f1e([eV(1,Ie),eV(2,Vs)],ao);const m1e=Ui.bindToContribution(ao.get);oe(new m1e({id:"leaveEditorMessage",precondition:ao.MESSAGE_VISIBLE,handler:o=>o.closeMessage(),kbOpts:{weight:130,primary:9}}));let tV=class{static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const s=document.createElement("div");s.classList.add("anchor","top"),this._domNode.appendChild(s);const r=document.createElement("div");typeof n=="string"?(r.classList.add("message"),r.textContent=n):(n.classList.add("message"),r.appendChild(n)),this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};lt(ao.ID,ao,4);function mT(o,e){return e&&(o.stack||o.stacktrace)?m("stackTrace.format","{0}: {1}",nV(o),iV(o.stack)||iV(o.stacktrace)):nV(o)}function iV(o){return Array.isArray(o)?o.join(`
689
689
  `):o}function nV(o){return o.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${o.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof o.code=="string"&&typeof o.errno=="number"&&typeof o.syscall=="string"?m("nodeExceptionMessage","A system error occurred ({0})",o.message):o.message||m("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function Cx(o=null,e=!1){if(!o)return m("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(o)){const t=$r(o),i=Cx(t[0],e);return t.length>1?m("error.moreErrors","{0} ({1} errors in total)",i,t.length):i}if(Ms(o))return o;if(o.detail){const t=o.detail;if(t.error)return mT(t.error,e);if(t.exception)return mT(t.exception,e)}return o.stack?mT(o,e):o.message?o.message:m("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var _G=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},s_=function(o,e){return function(t,i){e(t,i,o)}},BP,Ag;let HP=(Ag=class extends F{constructor(e,t,i,n,s,r,a,l,c,d){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=s,this.edits=r,this.onSelectNewEdit=a,this._contextMenuService=l,this._keybindingService=d,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(c),this.visibleContext.set(!0),this._register(Ce(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register(Ce(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(h=>{s.containsPosition(h.position)||this.dispose()})),this._register(se.runAndSubscribe(d.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var t;const e=(t=this._keybindingService.lookupKeybinding(this.showCommand.id))==null?void 0:t.getLabel();this.button.element.title=this.showCommand.label+(e?` (${e})`:"")}create(){this.domNode=ie(".post-edit-widget"),this.button=this._register(new xL(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(z(this.domNode,te.CLICK,()=>this.showSelector()))}getId(){return BP.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const e=vi(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>gg({id:"",label:e.title,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}},BP=Ag,Ag.baseId="editor.widget.postEditWidget",Ag);HP=BP=_G([s_(7,fo),s_(8,Ie),s_(9,vt)],HP);let vx=class extends F{constructor(e,t,i,n,s,r,a){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=s,this._bulkEditService=r,this._notificationService=a,this._currentWidget=this._register(new Qi),this._register(se.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}async applyEditAndShowIfNeeded(e,t,i,n,s){const r=this._editor.getModel();if(!r||!e.length)return;const a=t.allEdits.at(t.activeEditIndex);if(!a)return;const l=async _=>{const b=this._editor.getModel();b&&(await b.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:_,allEdits:t.allEdits},i,n,s))},c=(_,b)=>{wr(_)||(this._notificationService.error(b),i&&this.show(e[0],t,l))};let d;try{d=await n(a,s)}catch(_){return c(_,m("resolveError",`Error resolving edit '{0}':