@infinilabs/discover 0.0.2 → 0.0.3

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 (244) hide show
  1. package/dist/{abap-obercqiY.cjs → abap-B18hVSsN.cjs} +1 -1
  2. package/dist/{apex-B0_UGK1B.cjs → apex-_IxnNPmz.cjs} +1 -1
  3. package/dist/{azcli-CEoytwx_.cjs → azcli-CmmdHEUf.cjs} +1 -1
  4. package/dist/{bat-D65OC-jj.cjs → bat-BzEiqWeR.cjs} +1 -1
  5. package/dist/{bicep-DvD_e5vW.cjs → bicep-DIoFd1wt.cjs} +1 -1
  6. package/dist/{cameligo-DzMHfeEs.cjs → cameligo-bKTW7lk6.cjs} +1 -1
  7. package/dist/{chunk-BjqF3vbe.cjs → chunk-Bt4DEX77.cjs} +1 -1
  8. package/dist/{classnames-eUba3oot.js → classnames-BCXlvRQ0.js} +1 -1
  9. package/dist/{classnames-BXjDNQ6Q.cjs → classnames-D729JvxH.cjs} +1 -1
  10. package/dist/{clojure-BC7BzAFK.cjs → clojure-CPT5CD4v.cjs} +1 -1
  11. package/dist/{coffee-Ca9F0OWZ.cjs → coffee-waR5WxfR.cjs} +1 -1
  12. package/dist/{common-BlOHZJzI.js → common-1_7zA8Zc.js} +3 -3
  13. package/dist/{common-Tr1I-HCs.js → common-BQBJRuts.js} +473 -1392
  14. package/dist/{common-DuYIpe6b.cjs → common-CZAeFul_.cjs} +1 -1
  15. package/dist/{common-BeXEy5sz.cjs → common-CbtzlL22.cjs} +9 -10
  16. package/dist/components-BYkEUziB.cjs +88 -0
  17. package/dist/components-BswrXYZo.js +52120 -0
  18. package/dist/{cpp-DKy9h6xR.cjs → cpp-BfChftwy.cjs} +1 -1
  19. package/dist/{csharp-CkbgT9vH.cjs → csharp-nBoW6KTT.cjs} +1 -1
  20. package/dist/{csp-C2qFd6iv.cjs → csp-BIzjPLVo.cjs} +1 -1
  21. package/dist/{css-DCKUCzD6.cjs → css-DSqM7UD_.cjs} +1 -1
  22. package/dist/{cssMode-l7eR8WSG.cjs → cssMode-BQ-UYI-y.cjs} +1 -1
  23. package/dist/{cssMode-CU2AJQMM.js → cssMode-Ci5F4dqN.js} +1 -1
  24. package/dist/{cypher-122TYSjJ.cjs → cypher-CF3LPcnK.cjs} +1 -1
  25. package/dist/{dart-DshcPGU8.cjs → dart-s1KldUPT.cjs} +1 -1
  26. package/dist/{dockerfile-CL8dwZCe.cjs → dockerfile-C8jXrAc3.cjs} +1 -1
  27. package/dist/{ecl-DVx2J_EE.cjs → ecl-DXHahiYb.cjs} +1 -1
  28. package/dist/{editor.api-CbUDOph7.js → editor.api-B3Kwz8AU.js} +1 -1
  29. package/dist/{editor.api-lY2thcaq.cjs → editor.api-DKqStM0b.cjs} +1 -1
  30. package/dist/{elixir-Xgx_1krO.cjs → elixir-Bfz_qDwz.cjs} +1 -1
  31. package/dist/filter_label-uegvGoQW.cjs +1 -0
  32. package/dist/filter_label-yraKDyOi.js +58 -0
  33. package/dist/{filter_operators-C-TaTcNc.js → filter_operators-B4Weryc1.js} +1 -1
  34. package/dist/filter_operators-BNI9krzf.cjs +1 -0
  35. package/dist/{flow9-DR-EyjYV.cjs → flow9-Dl0fmUvR.cjs} +1 -1
  36. package/dist/{freemarker2-C6Iq5MB-.js → freemarker2-ByX2nJLu.js} +1 -1
  37. package/dist/{freemarker2-BTGUjvgA.cjs → freemarker2-D-WA-CyM.cjs} +1 -1
  38. package/dist/{fsharp-DaBEigN7.cjs → fsharp-C6zPBIxE.cjs} +1 -1
  39. package/dist/{go-Xyq33f0v.cjs → go-D0pYkox6.cjs} +1 -1
  40. package/dist/{graphql-Cj7XAy25.cjs → graphql-DoB8VDUR.cjs} +1 -1
  41. package/dist/{handlebars-B2b1q7PA.cjs → handlebars-D7bIAzGa.cjs} +1 -1
  42. package/dist/{handlebars-DGGN9u4Y.js → handlebars-DcNvsS6s.js} +1 -1
  43. package/dist/{hcl-C3dpBsgU.cjs → hcl-D7mPh_NX.cjs} +1 -1
  44. package/dist/{html-qfcUzk8e.cjs → html-BBfIeaSx.cjs} +1 -1
  45. package/dist/{html-RJa-j-qT.js → html-WAHLT253.js} +1 -1
  46. package/dist/{htmlMode-CYIxo4hc.cjs → htmlMode-CWYZdyx7.cjs} +1 -1
  47. package/dist/{htmlMode-DDZ48mdp.js → htmlMode-nvsOmwpu.js} +1 -1
  48. package/dist/index.cjs +2 -303
  49. package/dist/index.d.ts +2 -0
  50. package/dist/index.js +12 -72891
  51. package/dist/index_pattern_select-BtXboNtZ.cjs +1 -0
  52. package/dist/{index_pattern_select--iGeA3sP.js → index_pattern_select-Ct7oi9xn.js} +23 -22
  53. package/dist/{ini-ChENqKh8.cjs → ini-B225Sx1g.cjs} +1 -1
  54. package/dist/{java-LZ6g7weJ.cjs → java-BNrGpLYe.cjs} +1 -1
  55. package/dist/{javascript-CN5gTHH2.js → javascript-DHdNxH1K.js} +2 -2
  56. package/dist/{javascript-CZ97a-BN.cjs → javascript-DUx3OYOm.cjs} +1 -1
  57. package/dist/{jsonMode-BZDeJMLL.cjs → jsonMode-BRQQ8h5o.cjs} +1 -1
  58. package/dist/{jsonMode-DraOl-ka.js → jsonMode-_9GP7_yD.js} +1 -1
  59. package/dist/{julia-BeebccKw.cjs → julia-BECnkWdE.cjs} +1 -1
  60. package/dist/{kotlin-M82nl514.cjs → kotlin-CvZkSUtj.cjs} +1 -1
  61. package/dist/{less-B4Q3fV9Y.cjs → less-DP_4XDqA.cjs} +1 -1
  62. package/dist/{lexon-CXQaaecE.cjs → lexon-D38Ck9oq.cjs} +1 -1
  63. package/dist/{lib-Chy_6VKj.cjs → lib-BbQB6wY_.cjs} +1 -1
  64. package/dist/{lib-C9j_E-l0.js → lib-Cdf3LT56.js} +1 -1
  65. package/dist/{liquid-DvB-d2w7.js → liquid-Bg6T1F2Y.js} +1 -1
  66. package/dist/{liquid-BYNEOJvX.cjs → liquid-P9tMrOja.cjs} +1 -1
  67. package/dist/lodash-DZJGw-mv.cjs +20 -0
  68. package/dist/{lodash-D-qGlPRW.js → lodash-Gv_ptthU.js} +653 -1132
  69. package/dist/{lua-CnG8Tpu2.cjs → lua-BhjgkZV9.cjs} +1 -1
  70. package/dist/{m3-CVcm-OIn.cjs → m3-Cj6LSzkf.cjs} +1 -1
  71. package/dist/{markdown-DrRHDVSU.cjs → markdown-DdS9Osew.cjs} +1 -1
  72. package/dist/{mdx-BbiOYPr2.cjs → mdx-D0bSf49T.cjs} +1 -1
  73. package/dist/{mdx-Fk8VTCUK.js → mdx-DrS_Ytun.js} +1 -1
  74. package/dist/{mips-D_p8UYQb.cjs → mips-s4kDsLVi.cjs} +1 -1
  75. package/dist/{monaco.contribution-BpuUCejv.cjs → monaco.contribution-1d_zL2ik.cjs} +1 -1
  76. package/dist/{monaco.contribution-Cq4QrMn0.js → monaco.contribution-DTll1C0Q.js} +2 -2
  77. package/dist/{msdax-xM1_j20x.cjs → msdax-HTzJv8D6.cjs} +1 -1
  78. package/dist/{mysql-DMsJkSnA.cjs → mysql-BSGf2DlN.cjs} +1 -1
  79. package/dist/{objective-c-BG02Lrht.cjs → objective-c-DMCjtkhm.cjs} +1 -1
  80. package/dist/{pascal-CnP2Fqes.cjs → pascal-CtrfiOgh.cjs} +1 -1
  81. package/dist/{pascaligo-BzDEm-l_.cjs → pascaligo-2Quk8B2E.cjs} +1 -1
  82. package/dist/{perl-nIxw-e4R.cjs → perl-CH3a6xob.cjs} +1 -1
  83. package/dist/{pgsql-Buk6XzVf.cjs → pgsql-BLOVjnrQ.cjs} +1 -1
  84. package/dist/{php-B3sFYUqV.cjs → php-yRnOpoyI.cjs} +1 -1
  85. package/dist/{pla-CZtnfWl6.cjs → pla-BDmxlb0M.cjs} +1 -1
  86. package/dist/{postiats-CgJZf83Q.cjs → postiats-n_UjHe5B.cjs} +1 -1
  87. package/dist/{powerquery-D9gzk2Dq.cjs → powerquery-C2Q8OWaZ.cjs} +1 -1
  88. package/dist/{powershell-CZHaQY6z.cjs → powershell-Bq3wVwgc.cjs} +1 -1
  89. package/dist/{protobuf-D_C8Guej.cjs → protobuf-Ctw52x4r.cjs} +1 -1
  90. package/dist/public-CCzsM3CD.cjs +3 -0
  91. package/dist/{public-BC9tZcui.js → public-D4Zk99Ra.js} +81 -56
  92. package/dist/{pug-quEtG4rz.cjs → pug-CRcQmIDy.cjs} +1 -1
  93. package/dist/{python-CQX8JcT4.cjs → python-BK8ePFuv.cjs} +1 -1
  94. package/dist/{python-C45c7K7W.js → python-Bxq6xlCg.js} +1 -1
  95. package/dist/{qsharp-CX1SSV_j.cjs → qsharp-D_knGg5J.cjs} +1 -1
  96. package/dist/{query_bar_top_row-63VciJSV.js → query_bar_top_row-CN8hqHeu.js} +328 -316
  97. package/dist/query_bar_top_row-CkseoHsr.cjs +1 -0
  98. package/dist/query_bar_top_row-DLh_LAtB.js +13 -0
  99. package/dist/query_bar_top_row-JglwKV8E.cjs +1 -0
  100. package/dist/query_string_input-BK5hW7Qu.js +9 -0
  101. package/dist/query_string_input-NV2-a_gh.cjs +1 -0
  102. package/dist/query_string_input-VVSBROrg.cjs +1 -0
  103. package/dist/{query_string_input-GJtRxVUU.js → query_string_input-xPxzqqXW.js} +32 -31
  104. package/dist/{r-DpVDQTST.cjs → r-84hDa72n.cjs} +1 -1
  105. package/dist/{razor-DYx4yJJn.cjs → razor-9YAbWQGm.cjs} +1 -1
  106. package/dist/{razor-BnoJmj1k.js → razor-B_jbEEwp.js} +1 -1
  107. package/dist/{redis-DsCuCZIT.cjs → redis-anq3Z0f9.cjs} +1 -1
  108. package/dist/{redshift-z5_aUfdC.cjs → redshift-C5pFXAgg.cjs} +1 -1
  109. package/dist/{restructuredtext-DdXoKocW.cjs → restructuredtext-BhKsZDmb.cjs} +1 -1
  110. package/dist/{ruby-Dj0sNBey.cjs → ruby-t5kbrNnA.cjs} +1 -1
  111. package/dist/{rust-DjkW1U4M.cjs → rust-CoY1WcgB.cjs} +1 -1
  112. package/dist/{sb-BCN0JcpS.cjs → sb-niZv2I4k.cjs} +1 -1
  113. package/dist/{scala-CyXWhZaJ.cjs → scala-C66JuPEz.cjs} +1 -1
  114. package/dist/{scheme-Cs9G6QEE.cjs → scheme-D_FsyR5V.cjs} +1 -1
  115. package/dist/{scss-Fl7taPuq.cjs → scss-BJpgvfWa.cjs} +1 -1
  116. package/dist/{search_bar-CP6HzakZ.js → search_bar-BKa-PHJo.js} +869 -660
  117. package/dist/search_bar-C_4SGRYl.cjs +1 -0
  118. package/dist/{services-BPC3fXx4.cjs → services-CDXxluYi.cjs} +2 -2
  119. package/dist/{services-9wPHk1eh.js → services-Hp7HR5A8.js} +88 -90
  120. package/dist/{shard_failure_open_modal_button-BYTThYch.js → shard_failure_open_modal_button-3Fgne-kW.js} +39 -39
  121. package/dist/shard_failure_open_modal_button-B1bDjIGP.cjs +2 -0
  122. package/dist/{shell-Cw5yNfC4.cjs → shell-DzIPFcUo.cjs} +1 -1
  123. package/dist/{solidity-BoAzg9X_.cjs → solidity-CHkFNcGN.cjs} +1 -1
  124. package/dist/{sophia-L84Jz6Ow.cjs → sophia-mtIQNQ_C.cjs} +1 -1
  125. package/dist/{sparql-D6lnG7vO.cjs → sparql-CrZwU91_.cjs} +1 -1
  126. package/dist/{sql-VXdYzIyz.cjs → sql-_m43zSZb.cjs} +1 -1
  127. package/dist/src/components/IndexPatternSelect/index.d.ts +2 -0
  128. package/dist/src/components/ResultHeader/index.d.ts +1 -0
  129. package/dist/src/components/context.d.ts +1 -2
  130. package/dist/src/components/index.d.ts +107 -1
  131. package/dist/{st-CxJLwAAK.cjs → st-bAlUFHcH.cjs} +1 -1
  132. package/dist/suggestions_component-BkDapsHi.cjs +77 -0
  133. package/dist/{suggestions_component-BBHwbjYT.js → suggestions_component-D52Ar73h.js} +85 -84
  134. package/dist/{swift-ZBC6wQdc.cjs → swift-Cmw0b-2Y.cjs} +1 -1
  135. package/dist/{systemverilog-DoSgAb1I.cjs → systemverilog-eqXMOadB.cjs} +1 -1
  136. package/dist/{tcl-IXmy-lJ0.cjs → tcl-COARXPsa.cjs} +1 -1
  137. package/dist/{tsMode-CNvH6xuC.cjs → tsMode-CPL8kC26.cjs} +1 -1
  138. package/dist/{tsMode-BrPRpJvb.js → tsMode-DEdZuvHt.js} +2 -2
  139. package/dist/{twig-CT2RXmm0.cjs → twig-ZGwnie5L.cjs} +1 -1
  140. package/dist/{typescript-BRKHcp4S.js → typescript-BYA2ifcg.js} +1 -1
  141. package/dist/typescript-Br6yZ45m.cjs +1 -0
  142. package/dist/typescript-CB8UTCwS.js +3 -0
  143. package/dist/{typescript-Bbw9fxuo.cjs → typescript-CH9SvObC.cjs} +1 -1
  144. package/dist/{typespec-CkKpvaMv.cjs → typespec-BtzyCWq0.cjs} +1 -1
  145. package/dist/{vb-R3Kcrzvd.cjs → vb-D_rFJbXI.cjs} +1 -1
  146. package/dist/{wgsl-FTDBzylH.cjs → wgsl-C3QOSd29.cjs} +1 -1
  147. package/dist/{xml-BZjE3dtf.js → xml-BBlarb4B.js} +1 -1
  148. package/dist/{xml-CxbMIueA.cjs → xml-t4MGpEOC.cjs} +1 -1
  149. package/dist/{yaml-Di_6aXC4.js → yaml-P_so8xTg.js} +1 -1
  150. package/dist/{yaml-DvaGkWBl.cjs → yaml-vvzY-F77.cjs} +1 -1
  151. package/package.json +5 -3
  152. package/dist/createLucideIcon-239Z-2by.cjs +0 -1
  153. package/dist/createLucideIcon-BO6TDGE7.js +0 -43
  154. package/dist/dist-DCz_Qv0B.js +0 -884
  155. package/dist/dist-D_2dZQH5.cjs +0 -11
  156. package/dist/filter_label-DRJC3vpe.js +0 -58
  157. package/dist/filter_label-DssaWGpx.cjs +0 -1
  158. package/dist/filter_operators-D0kyB-XI.cjs +0 -1
  159. package/dist/index_pattern_select-BeN5049F.cjs +0 -1
  160. package/dist/lodash-C_2NO1eK.cjs +0 -35
  161. package/dist/public-DWj11W6c.cjs +0 -3
  162. package/dist/query_bar_top_row-DTuo9G7b.cjs +0 -1
  163. package/dist/query_bar_top_row-Qa1UOoyA.js +0 -11
  164. package/dist/query_bar_top_row-uXjdOqmq.cjs +0 -1
  165. package/dist/query_string_input-AJgelaNH.cjs +0 -1
  166. package/dist/query_string_input-BMyni2_5.js +0 -9
  167. package/dist/query_string_input-LOqshppi.cjs +0 -1
  168. package/dist/search_bar-BmZWeddp.cjs +0 -1
  169. package/dist/shard_failure_open_modal_button-Dx8ML4VE.cjs +0 -2
  170. package/dist/suggestions_component-CF4sehth.cjs +0 -77
  171. package/dist/tsup.config.d.ts +0 -2
  172. package/dist/typescript-CQjO9XnF.js +0 -3
  173. package/dist/typescript-D6q4AO2z.cjs +0 -1
  174. /package/dist/{abap-B988NUrV.js → abap-OkMsrIvQ.js} +0 -0
  175. /package/dist/{apex-BlHPPQK-.js → apex-d2k0_z-2.js} +0 -0
  176. /package/dist/{azcli-C7iyZFGk.js → azcli-Cdmj8rOB.js} +0 -0
  177. /package/dist/{bat-Buc0l0C3.js → bat-don-D6tc.js} +0 -0
  178. /package/dist/{bicep-U66iJ-pV.js → bicep-BvuLech3.js} +0 -0
  179. /package/dist/{cameligo-C9Dwkdmm.js → cameligo-BvlaYcL9.js} +0 -0
  180. /package/dist/{chunk-CIp4IH9D.js → chunk-D-4zIDrl.js} +0 -0
  181. /package/dist/{clojure-DDWmWbSx.js → clojure-Ch9OmS1b.js} +0 -0
  182. /package/dist/{coffee-7Sx2S8NH.js → coffee-CpXCo1uE.js} +0 -0
  183. /package/dist/{cpp-CHjqaSPQ.js → cpp-DyS6q87C.js} +0 -0
  184. /package/dist/{csharp-jwStnVeK.js → csharp-Hj6_S7WZ.js} +0 -0
  185. /package/dist/{csp-DkO8Np0h.js → csp-COceLik5.js} +0 -0
  186. /package/dist/{css-BFvwcljm.js → css-ASlh9LOx.js} +0 -0
  187. /package/dist/{cypher-DaQ7hFRL.js → cypher-BxgrUQKu.js} +0 -0
  188. /package/dist/{dart-D8p_2HKP.js → dart-Bmyj-5e5.js} +0 -0
  189. /package/dist/{dockerfile-DKWOQrwp.js → dockerfile-BlydhWgZ.js} +0 -0
  190. /package/dist/{ecl-DP3PNWGB.js → ecl-BwXMRs82.js} +0 -0
  191. /package/dist/{elixir-e9tDp1p1.js → elixir-D8V-g5GN.js} +0 -0
  192. /package/dist/{flow9-C9BjpX8h.js → flow9-CaqlcxIQ.js} +0 -0
  193. /package/dist/{fsharp-BWm_FISn.js → fsharp-WVyrH5gA.js} +0 -0
  194. /package/dist/{go-cmqV0Vy_.js → go-3CS-nUOQ.js} +0 -0
  195. /package/dist/{graphql-BkFHHVmI.js → graphql-iGOXWO5L.js} +0 -0
  196. /package/dist/{hcl-5I-P7bYX.js → hcl-BRgJNQGx.js} +0 -0
  197. /package/dist/{ini-DSIAxBZt.js → ini-CP_6inF6.js} +0 -0
  198. /package/dist/{java-DGeAxsRb.js → java-CNOvl7Kv.js} +0 -0
  199. /package/dist/{julia-CU4CtsP4.js → julia-mM-7aLvT.js} +0 -0
  200. /package/dist/{kotlin-B8NxXJ89.js → kotlin-CJIQVpIl.js} +0 -0
  201. /package/dist/{less-DbeQQzer.js → less-Bz7StVdM.js} +0 -0
  202. /package/dist/{lexon-Cw9JuAKc.js → lexon-Cfo4t0ql.js} +0 -0
  203. /package/dist/{lua-yl5NzA_S.js → lua-BkXMcIht.js} +0 -0
  204. /package/dist/{m3-CdNAqvIX.js → m3-BlTfuwFL.js} +0 -0
  205. /package/dist/{markdown-C1h-EuiT.js → markdown-Bb9NwWaF.js} +0 -0
  206. /package/dist/{mips-DIWpzGF0.js → mips-vcHuXEUv.js} +0 -0
  207. /package/dist/{msdax-BiazpDQ1.js → msdax-BfzKV0XZ.js} +0 -0
  208. /package/dist/{mysql-DphBFJlP.js → mysql-D895Th5f.js} +0 -0
  209. /package/dist/{objective-c-DWZ8Qpyc.js → objective-c-4PQYfG3y.js} +0 -0
  210. /package/dist/{pascal-BcvlMOdu.js → pascal-DLURHKPf.js} +0 -0
  211. /package/dist/{pascaligo-DHEp4kzh.js → pascaligo-C8qRRmWT.js} +0 -0
  212. /package/dist/{perl-USYKPHpO.js → perl-CZUy-IFA.js} +0 -0
  213. /package/dist/{pgsql-DzPhAh9W.js → pgsql-4tk2cu8I.js} +0 -0
  214. /package/dist/{php-PfpSTefE.js → php-BZ42EuCS.js} +0 -0
  215. /package/dist/{pla-DrFOZwDB.js → pla-DtfRslJJ.js} +0 -0
  216. /package/dist/{postiats-4OGxVVUT.js → postiats-BNEouZag.js} +0 -0
  217. /package/dist/{powerquery-_h9-HEnY.js → powerquery-BifET6Dv.js} +0 -0
  218. /package/dist/{powershell-nOzcY8gy.js → powershell-BdX8IDNR.js} +0 -0
  219. /package/dist/{protobuf-DAgxhnea.js → protobuf-BsteaEG3.js} +0 -0
  220. /package/dist/{pug-raGZNmZ1.js → pug-Br-vpp5b.js} +0 -0
  221. /package/dist/{qsharp-C2jz5tuo.js → qsharp-ChycTJOw.js} +0 -0
  222. /package/dist/{r-CXkPcYYf.js → r-CniD0c5t.js} +0 -0
  223. /package/dist/{redis-giKZvbbg.js → redis-pyXNr6RN.js} +0 -0
  224. /package/dist/{redshift-qKVxBsP_.js → redshift-DyonAstC.js} +0 -0
  225. /package/dist/{restructuredtext-D0n4pabr.js → restructuredtext-DK3fWXo5.js} +0 -0
  226. /package/dist/{ruby-BNrBlpcw.js → ruby-Chq6Cfgo.js} +0 -0
  227. /package/dist/{rust-D6mpPoli.js → rust-C3Sfj6Cs.js} +0 -0
  228. /package/dist/{sb-DhS9GhXl.js → sb-DcDlxrhv.js} +0 -0
  229. /package/dist/{scala-BqxBEpi8.js → scala-CEdpCxsL.js} +0 -0
  230. /package/dist/{scheme-Bh4oGAk3.js → scheme-CJ-m-Mx4.js} +0 -0
  231. /package/dist/{scss-Byf08jwC.js → scss-BEDGxUq3.js} +0 -0
  232. /package/dist/{shell-UoRv_tpG.js → shell-DjJnS0bk.js} +0 -0
  233. /package/dist/{solidity-B5t7Lkol.js → solidity-CXRhrGeW.js} +0 -0
  234. /package/dist/{sophia-BrXXWhvp.js → sophia-ChdUx1PX.js} +0 -0
  235. /package/dist/{sparql-B8ZTY48u.js → sparql-Ds0TTAeK.js} +0 -0
  236. /package/dist/{sql-D_74hUL-.js → sql-ClwNupAF.js} +0 -0
  237. /package/dist/{st-D8Rdx9Bz.js → st-Dsx0bfk9.js} +0 -0
  238. /package/dist/{swift-s19Ivx3X.js → swift-D2JpsDUa.js} +0 -0
  239. /package/dist/{systemverilog-fA72PnKj.js → systemverilog-Cz6WMn3P.js} +0 -0
  240. /package/dist/{tcl-B8QLbcxi.js → tcl-DBbIj-92.js} +0 -0
  241. /package/dist/{twig-Dy7NkzKI.js → twig-DcqMSkOn.js} +0 -0
  242. /package/dist/{typespec-ndyv0mQx.js → typespec-Com1jZQg.js} +0 -0
  243. /package/dist/{vb-DET0NIW-.js → vb-CJkLttvN.js} +0 -0
  244. /package/dist/{wgsl-D5TeQchR.js → wgsl-AS15fsXS.js} +0 -0
@@ -1,4 +1,4 @@
1
- const e=require(`./chunk-BjqF3vbe.cjs`);function t(e,t=0){return e[e.length-(1+t)]}function n(e){if(e.length===0)throw Error(`Invalid tail call`);return[e.slice(0,e.length-1),e[e.length-1]]}function r(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function i(e,t){let n=e.length-1;t<n&&(e[t]=e[n]),e.pop()}function a(e,t,n){return o(e.length,r=>n(e[r],t))}function o(e,t){let n=0,r=e-1;for(;n<=r;){let e=(n+r)/2|0,i=t(e);if(i<0)n=e+1;else if(i>0)r=e-1;else return e}return-(n+1)}function s(e,t,n){if(e|=0,e>=t.length)throw TypeError(`invalid index`);let r=t[Math.floor(t.length*Math.random())],i=[],a=[],o=[];for(let e of t){let t=n(e,r);t<0?i.push(e):t>0?a.push(e):o.push(e)}return e<i.length?s(e,i,n):e<i.length+o.length?o[0]:s(e-(i.length+o.length),a,n)}function c(e,t){let n=[],r;for(let i of e.slice(0).sort(t))!r||t(r[0],i)!==0?(r=[i],n.push(r)):r.push(i);return n}function*l(e,t){let n,r;for(let i of e)r!==void 0&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}function u(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function d(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function f(e){return e.filter(e=>!!e)}function p(e){let t=0;for(let n=0;n<e.length;n++)e[n]&&(e[t]=e[n],t+=1);e.length=t}function m(e){return!Array.isArray(e)||e.length===0}function h(e){return Array.isArray(e)&&e.length>0}function g(e,t=e=>e){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function _(e,t){return e.length>0?e[0]:t}function v(e,t){let n=typeof t==`number`?e:0;typeof t==`number`?n=e:(n=0,t=e);let r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function y(e,t,n){let r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function b(e,t){let n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function x(e,t){let n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function S(e,t){for(let n of t)e.push(n)}function C(e){return Array.isArray(e)?e:[e]}function ee(e,t,n){let r=ne(e,t),i=e.length,a=n.length;e.length=i+a;for(let t=i-1;t>=r;t--)e[t+a]=e[t];for(let t=0;t<a;t++)e[t+r]=n[t]}function te(e,t,n,r){let i=ne(e,t),a=e.splice(i,n);return a===void 0&&(a=[]),ee(e,i,r),a}function ne(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}var re;(function(e){function t(e){return e<0}e.isLessThan=t;function n(e){return e<=0}e.isLessThanOrEqual=n;function r(e){return e>0}e.isGreaterThan=r;function i(e){return e===0}e.isNeitherLessOrGreaterThan=i,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(re||={});function ie(e,t){return(n,r)=>t(e(n),e(r))}function ae(...e){return(t,n)=>{for(let r of e){let e=r(t,n);if(!re.isNeitherLessOrGreaterThan(e))return e}return re.neitherLessOrGreaterThan}}const oe=(e,t)=>e-t,se=(e,t)=>oe(e?1:0,t?1:0);function ce(e){return(t,n)=>-e(t,n)}var le=class{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++;let n=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,n}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;let n=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,n}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}},ue=class e{static#e=this.empty=new e(e=>{});constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(t){return new e(e=>this.iterate(n=>t(n)?e(n):!0))}map(t){return new e(e=>this.iterate(n=>e(t(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t,n=!0;return this.iterate(r=>((n||re.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}},de=class e{constructor(e){this._indexMap=e}static createSortPermutation(t,n){return new e(Array.from(t.keys()).sort((e,r)=>n(t[e],t[r])))}apply(e){return e.map((t,n)=>e[this._indexMap[n]])}inverse(){let t=this._indexMap.slice();for(let e=0;e<this._indexMap.length;e++)t[this._indexMap[e]]=e;return new e(t)}};function fe(e){return typeof e==`string`}function pe(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function me(e){let t=Object.getPrototypeOf(Uint8Array);return typeof e==`object`&&e instanceof t}function he(e){return typeof e==`number`&&!isNaN(e)}function ge(e){return!!e&&typeof e[Symbol.iterator]==`function`}function _e(e){return e===!0||e===!1}function ve(e){return e===void 0}function ye(e){return!be(e)}function be(e){return ve(e)||e===null}function xe(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:`Unexpected type`)}function Se(e){if(be(e))throw Error(`Assertion Failed: argument is undefined or null`);return e}function Ce(e){return typeof e==`function`}function we(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)Te(e[r],t[r])}function Te(e,t){if(fe(t)){if(typeof e!==t)throw Error(`argument does not match constraint: typeof ${t}`)}else if(Ce(t)){try{if(e instanceof t)return}catch{}if(!be(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw Error(`argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true`)}}function Ee(e){if(!e||typeof e!=`object`||e instanceof RegExp)return e;let t=Array.isArray(e)?[]:{};return Object.entries(e).forEach(([e,n])=>{t[e]=n&&typeof n==`object`?Ee(n):n}),t}function De(e){if(!e||typeof e!=`object`)return e;let t=[e];for(;t.length>0;){let e=t.shift();for(let n in Object.freeze(e),e)if(Oe.call(e,n)){let r=e[n];typeof r==`object`&&!Object.isFrozen(r)&&!me(r)&&t.push(r)}}return e}var Oe=Object.prototype.hasOwnProperty;function ke(e,t){return Ae(e,t,new Set)}function Ae(e,t,n){if(be(e))return e;let r=t(e);if(r!==void 0)return r;if(Array.isArray(e)){let r=[];for(let i of e)r.push(Ae(i,t,n));return r}if(pe(e)){if(n.has(e))throw Error(`Cannot clone recursive data-structure`);n.add(e);let r={};for(let i in e)Oe.call(e,i)&&(r[i]=Ae(e[i],t,n));return n.delete(e),r}return e}function je(e,t,n=!0){return pe(e)?(pe(t)&&Object.keys(t).forEach(r=>{r in e?n&&(pe(e[r])&&pe(t[r])?je(e[r],t[r],n):e[r]=t[r]):e[r]=t[r]}),e):t}function Me(e,t){if(e===t)return!0;if(e==null||t==null||typeof e!=typeof t||typeof e!=`object`||Array.isArray(e)!==Array.isArray(t))return!1;let n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Me(e[n],t[n]))return!1}else{let i=[];for(r in e)i.push(r);i.sort();let a=[];for(r in t)a.push(r);if(a.sort(),!Me(i,a))return!1;for(n=0;n<i.length;n++)if(!Me(e[i[n]],t[i[n]]))return!1}return!0}function Ne(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Pe(e){let t=[];for(let n of Ne(e))typeof e[n]==`function`&&t.push(n);return t}function Fe(e,t){let n=e=>function(){return t(e,Array.prototype.slice.call(arguments,0))},r={};for(let t of e)r[t]=n(t);return r}function Ie(){return globalThis._VSCODE_NLS_MESSAGES}function Le(){return globalThis._VSCODE_NLS_LANGUAGE}var Re=Le()===`pseudo`||typeof document<`u`&&document.location&&document.location.hash.indexOf(`pseudo=true`)>=0;function ze(e,t){let n;return n=t.length===0?e:e.replace(/\{(\d+)\}/g,(e,n)=>{let r=t[n[0]],i=e;return typeof r==`string`?i=r:(typeof r==`number`||typeof r==`boolean`||r==null)&&(i=String(r)),i}),Re&&(n=`[`+n.replace(/[aouei]/g,`$&$&`)+`]`),n}function w(e,t,...n){return ze(typeof e==`number`?Be(e,t):t,n)}function Be(e,t){let n=Ie()?.[e];if(typeof n!=`string`){if(typeof t==`string`)return t;throw Error(`!!! NLS MISSING: ${e} !!!`)}return n}function Ve(e,t,...n){let r;r=typeof e==`number`?Be(e,t):t;let i=ze(r,n);return{value:i,original:t===r?i:ze(t,n)}}const He=`en`;var Ue=!1,We=!1,Ge=!1,Ke=!1,qe=!1,Je=!1,Ye=!1,Xe=`en`,Ze=void 0,Qe=globalThis,$e=void 0;Qe.vscode!==void 0&&Qe.vscode.process!==void 0?$e=Qe.vscode.process:typeof process<`u`&&typeof process?.versions?.node==`string`&&($e=process);var et=typeof $e?.versions?.electron==`string`&&$e?.type===`renderer`;if(typeof $e==`object`){Ue=$e.platform===`win32`,We=$e.platform===`darwin`,Ge=$e.platform===`linux`,Ge&&$e.env.SNAP&&$e.env.SNAP_REVISION,$e.env.CI||$e.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Xe=`en`;let e=$e.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);t.userLocale,t.osLocale,Xe=t.resolvedLanguage||`en`,t.languagePack?.translationsConfigFile}catch{}Ke=!0}else typeof navigator==`object`&&!et?(Ze=navigator.userAgent,Ue=Ze.indexOf(`Windows`)>=0,We=Ze.indexOf(`Macintosh`)>=0,Je=(Ze.indexOf(`Macintosh`)>=0||Ze.indexOf(`iPad`)>=0||Ze.indexOf(`iPhone`)>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Ge=Ze.indexOf(`Linux`)>=0,Ye=Ze?.indexOf(`Mobi`)>=0,qe=!0,Xe=Le()||`en`,navigator.language.toLowerCase()):console.error(`Unable to resolve platform.`);const tt=Ue,nt=We,rt=Ge,it=Ke,at=qe,ot=qe&&typeof Qe.importScripts==`function`,st=ot?Qe.origin:void 0,ct=Je,lt=Ye,ut=Ze,dt=Xe,ft=typeof Qe.postMessage==`function`&&!Qe.importScripts,pt=(()=>{if(ft){let e=[];Qe.addEventListener(`message`,t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n<r;n++){let r=e[n];if(r.id===t.data.vscodeScheduleAsyncWork){e.splice(n,1),r.callback();return}}});let t=0;return n=>{let r=++t;e.push({id:r,callback:n}),Qe.postMessage({vscodeScheduleAsyncWork:r},`*`)}}return e=>setTimeout(e)})(),mt=We||Je?2:Ue?1:3;var ht=!0,gt=!1;function _t(){if(!gt){gt=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2,ht=new Uint16Array(e.buffer)[0]===513}return ht}const vt=!!(ut&&ut.indexOf(`Chrome`)>=0),yt=!!(ut&&ut.indexOf(`Firefox`)>=0),bt=!!(!vt&&ut&&ut.indexOf(`Safari`)>=0),xt=!!(ut&&ut.indexOf(`Edg/`)>=0),St=!!(ut&&ut.indexOf(`Android`)>=0),Ct={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var wt;(function(e){function t(e){return e&&typeof e==`object`&&typeof e[Symbol.iterator]==`function`}e.is=t;let n=Object.freeze([]);function r(){return n}e.empty=r;function*i(e){yield e}e.single=i;function a(e){return t(e)?e:i(e)}e.wrap=a;function o(e){return e||n}e.from=o;function*s(e){for(let t=e.length-1;t>=0;t--)yield e[t]}e.reverse=s;function c(e){return!e||e[Symbol.iterator]().next().done===!0}e.isEmpty=c;function l(e){return e[Symbol.iterator]().next().value}e.first=l;function u(e,t){let n=0;for(let r of e)if(t(r,n++))return!0;return!1}e.some=u;function d(e,t){for(let n of e)if(t(n))return n}e.find=d;function*f(e,t){for(let n of e)t(n)&&(yield n)}e.filter=f;function*p(e,t){let n=0;for(let r of e)yield t(r,n++)}e.map=p;function*m(e,t){let n=0;for(let r of e)yield*t(r,n++)}e.flatMap=m;function*h(...e){for(let t of e)yield*t}e.concat=h;function g(e,t,n){let r=n;for(let n of e)r=t(r,n);return r}e.reduce=g;function*_(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]}e.slice=_;function v(t,n=1/0){let r=[];if(n===0)return[r,t];let i=t[Symbol.iterator]();for(let t=0;t<n;t++){let t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator](){return i}}]}e.consume=v;async function y(e){let t=[];for await(let n of e)t.push(n);return Promise.resolve(t)}e.asyncToArray=y})(wt||={});var Tt=class e{static#e=this.Undefined=new e(void 0);constructor(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}},Et=class{constructor(){this._first=Tt.Undefined,this._last=Tt.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Tt.Undefined}clear(){let e=this._first;for(;e!==Tt.Undefined;){let t=e.next;e.prev=Tt.Undefined,e.next=Tt.Undefined,e=t}this._first=Tt.Undefined,this._last=Tt.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new Tt(e);if(this._first===Tt.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==Tt.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Tt.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Tt.Undefined&&e.next!==Tt.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Tt.Undefined&&e.next===Tt.Undefined?(this._first=Tt.Undefined,this._last=Tt.Undefined):e.next===Tt.Undefined?(this._last=this._last.prev,this._last.next=Tt.Undefined):e.prev===Tt.Undefined&&(this._first=this._first.next,this._first.prev=Tt.Undefined);--this._size}*[Symbol.iterator](){let e=this._first;for(;e!==Tt.Undefined;)yield e.element,e=e.next}};const Dt=`\`~!@#$%^&*()-=+[{]}\\|;:'",.<>/?`;function Ot(e=``){let t=`(-?\\d*\\.\\d\\w*)|([^`;for(let n of Dt)e.indexOf(n)>=0||(t+=`\\`+n);return t+=`\\s]+)`,new RegExp(t,`g`)}const kt=Ot();function At(e){let t=kt;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n=`g`;e.ignoreCase&&(n+=`i`),e.multiline&&(n+=`m`),e.unicode&&(n+=`u`),t=new RegExp(e.source,n)}return t.lastIndex=0,t}var jt=new Et;jt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Mt(e,t,n,r,i){if(t=At(t),i||=wt.first(jt),n.length>i.maxLen){let a=e-i.maxLen/2;return a<0?a=0:r+=a,n=n.substring(a,e+i.maxLen/2),Mt(e,t,n,r,i)}let a=Date.now(),o=e-1-r,s=-1,c=null;for(let e=1;!(Date.now()-a>=i.timeBudget);e++){let r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);let a=Nt(t,n,o,s);if(!a&&c||(c=a,r<=0))break;s=r}if(c){let e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,e}return null}function Nt(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}const eee=8;var Pt=class{constructor(e){this._values=e}hasChanged(e){return this._values[e]}},Ft=class{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}},It=class{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return Rt(e,t)}compute(e,t,n){return n}},Lt=class{constructor(e,t){this.newValue=e,this.didChange=t}};function Rt(e,t){if(typeof e!=`object`||typeof t!=`object`||!e||!t)return new Lt(t,e!==t);if(Array.isArray(e)||Array.isArray(t))return new Lt(t,!(Array.isArray(e)&&Array.isArray(t)&&r(e,t)));let n=!1;for(let r in t)if(t.hasOwnProperty(r)){let i=Rt(e[r],t[r]);i.didChange&&(e[r]=i.newValue,n=!0)}return new Lt(e,n)}var zt=class{constructor(e){this.schema=void 0,this.id=e,this.name=`_never_`,this.defaultValue=void 0}applyUpdate(e,t){return Rt(e,t)}validate(e){return this.defaultValue}},Bt=class{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return Rt(e,t)}validate(e){return e===void 0?this.defaultValue:e}compute(e,t,n){return n}};function T(e,t){return e===void 0?t:e===`false`?!1:!!e}var Vt=class extends Bt{constructor(e,t,n,r=void 0){r!==void 0&&(r.type=`boolean`,r.default=n),super(e,t,n,r)}validate(e){return T(e,this.defaultValue)}};function Ht(e,t,n,r){if(e===void 0)return t;let i=parseInt(e,10);return isNaN(i)?t:(i=Math.max(n,i),i=Math.min(r,i),i|0)}var Ut=class e extends Bt{static clampedInt(e,t,n,r){return Ht(e,t,n,r)}constructor(e,t,n,r,i,a=void 0){a!==void 0&&(a.type=`integer`,a.default=n,a.minimum=r,a.maximum=i),super(e,t,n,a),this.minimum=r,this.maximum=i}validate(t){return e.clampedInt(t,this.defaultValue,this.minimum,this.maximum)}};function Wt(e,t,n,r){if(e===void 0)return t;let i=Gt.float(e,t);return Gt.clamp(i,n,r)}var Gt=class e extends Bt{static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if(typeof e==`number`)return e;if(e===void 0)return t;let n=parseFloat(e);return isNaN(n)?t:n}constructor(e,t,n,r,i){i!==void 0&&(i.type=`number`,i.default=n),super(e,t,n,i),this.validationFn=r}validate(t){return this.validationFn(e.float(t,this.defaultValue))}},Kt=class e extends Bt{static string(e,t){return typeof e==`string`?e:t}constructor(e,t,n,r=void 0){r!==void 0&&(r.type=`string`,r.default=n),super(e,t,n,r)}validate(t){return e.string(t,this.defaultValue)}};function qt(e,t,n,r){return typeof e==`string`?r&&e in r?r[e]:n.indexOf(e)===-1?t:e:t}var Jt=class extends Bt{constructor(e,t,n,r,i=void 0){i!==void 0&&(i.type=`string`,i.enum=r,i.default=n),super(e,t,n,i),this._allowedValues=r}validate(e){return qt(e,this.defaultValue,this._allowedValues)}},Yt=class extends It{constructor(e,t,n,r,i,a,o=void 0){o!==void 0&&(o.type=`string`,o.enum=i,o.default=r),super(e,t,n,o),this._allowedValues=i,this._convert=a}validate(e){return typeof e!=`string`||this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}};function Xt(e){switch(e){case`none`:return 0;case`keep`:return 1;case`brackets`:return 2;case`advanced`:return 3;case`full`:return 4}}var Zt=class extends It{constructor(){super(2,`accessibilitySupport`,0,{type:`string`,enum:[`auto`,`on`,`off`],enumDescriptions:[w(`accessibilitySupport.auto`,`Use platform APIs to detect when a Screen Reader is attached.`),w(`accessibilitySupport.on`,`Optimize for usage with a Screen Reader.`),w(`accessibilitySupport.off`,`Assume a screen reader is not attached.`)],default:`auto`,tags:[`accessibility`],description:w(`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,n){return n===0?e.accessibilitySupport:n}},Qt=class extends It{constructor(){let e={insertSpace:!0,ignoreEmptyLines:!0};super(23,`comments`,e,{"editor.comments.insertSpace":{type:`boolean`,default:e.insertSpace,description:w(`comments.insertSpace`,`Controls whether a space character is inserted when commenting.`)},"editor.comments.ignoreEmptyLines":{type:`boolean`,default:e.ignoreEmptyLines,description:w(`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;let t=e;return{insertSpace:T(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:T(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}};function $t(e){switch(e){case`blink`:return 1;case`smooth`:return 2;case`phase`:return 3;case`expand`:return 4;case`solid`:return 5}}var en;(function(e){e[e.Line=1]=`Line`,e[e.Block=2]=`Block`,e[e.Underline=3]=`Underline`,e[e.LineThin=4]=`LineThin`,e[e.BlockOutline=5]=`BlockOutline`,e[e.UnderlineThin=6]=`UnderlineThin`})(en||={});function tn(e){switch(e){case`line`:return en.Line;case`block`:return en.Block;case`underline`:return en.Underline;case`line-thin`:return en.LineThin;case`block-outline`:return en.BlockOutline;case`underline-thin`:return en.UnderlineThin}}var nn=class extends zt{constructor(){super(143)}compute(e,t,n){let r=[`monaco-editor`];return t.get(39)&&r.push(t.get(39)),e.extraEditorClassName&&r.push(e.extraEditorClassName),t.get(74)===`default`?r.push(`mouse-default`):t.get(74)===`copy`&&r.push(`mouse-copy`),t.get(112)&&r.push(`showUnused`),t.get(141)&&r.push(`showDeprecated`),r.join(` `)}},rn=class extends Vt{constructor(){super(37,`emptySelectionClipboard`,!0,{description:w(`emptySelectionClipboard`,`Controls whether copying without a selection copies the current line.`)})}compute(e,t,n){return n&&e.emptySelectionClipboard}},an=class extends It{constructor(){let 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:w(`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:[w(`editor.find.seedSearchStringFromSelection.never`,`Never seed search string from the editor selection.`),w(`editor.find.seedSearchStringFromSelection.always`,`Always seed search string from the editor selection, including word at cursor position.`),w(`editor.find.seedSearchStringFromSelection.selection`,`Only seed search string from the editor selection.`)],description:w(`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:[w(`editor.find.autoFindInSelection.never`,`Never turn on Find in Selection automatically (default).`),w(`editor.find.autoFindInSelection.always`,`Always turn on Find in Selection automatically.`),w(`editor.find.autoFindInSelection.multiline`,`Turn on Find in Selection automatically when multiple lines of content are selected.`)],description:w(`find.autoFindInSelection`,`Controls the condition for turning on Find in Selection automatically.`)},"editor.find.globalFindClipboard":{type:`boolean`,default:e.globalFindClipboard,description:w(`find.globalFindClipboard`,`Controls whether the Find Widget should read or modify the shared find clipboard on macOS.`),included:nt},"editor.find.addExtraSpaceOnTop":{type:`boolean`,default:e.addExtraSpaceOnTop,description:w(`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:w(`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;let t=e;return{cursorMoveOnType:T(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection==`boolean`?e.seedSearchStringFromSelection?`always`:`never`:qt(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,[`never`,`always`,`selection`]),autoFindInSelection:typeof e.autoFindInSelection==`boolean`?e.autoFindInSelection?`always`:`never`:qt(t.autoFindInSelection,this.defaultValue.autoFindInSelection,[`never`,`always`,`multiline`]),globalFindClipboard:T(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:T(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:T(t.loop,this.defaultValue.loop)}}},on=class e extends It{static#e=this.OFF=`"liga" off, "calt" off`;static#t=this.ON=`"liga" on, "calt" on`;constructor(){super(51,`fontLigatures`,e.OFF,{anyOf:[{type:`boolean`,description:w(`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:w(`fontFeatureSettings`,`Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.`)}],description:w(`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(t){return t===void 0?this.defaultValue:typeof t==`string`?t===`false`||t.length===0?e.OFF:t===`true`?e.ON:t:t?e.ON:e.OFF}},sn=class e extends It{static#e=this.OFF=`normal`;static#t=this.TRANSLATE=`translate`;constructor(){super(54,`fontVariations`,e.OFF,{anyOf:[{type:`boolean`,description:w(`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:w(`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:w(`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(t){return t===void 0?this.defaultValue:typeof t==`string`?t===`false`?e.OFF:t===`true`?e.TRANSLATE:t:t?e.TRANSLATE:e.OFF}compute(e,t,n){return e.fontInfo.fontVariationSettings}},cn=class extends zt{constructor(){super(50)}compute(e,t,n){return e.fontInfo}},ln=class extends Bt{constructor(){super(52,`fontSize`,Qn.fontSize,{type:`number`,minimum:6,maximum:100,default:Qn.fontSize,description:w(`fontSize`,`Controls the font size in pixels.`)})}validate(e){let t=Gt.float(e,this.defaultValue);return t===0?Qn.fontSize:Gt.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}},un=class e extends It{static#e=this.SUGGESTION_VALUES=[`normal`,`bold`,`100`,`200`,`300`,`400`,`500`,`600`,`700`,`800`,`900`];static#t=this.MINIMUM_VALUE=1;static#n=this.MAXIMUM_VALUE=1e3;constructor(){super(53,`fontWeight`,Qn.fontWeight,{anyOf:[{type:`number`,minimum:e.MINIMUM_VALUE,maximum:e.MAXIMUM_VALUE,errorMessage:w(`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:e.SUGGESTION_VALUES}],default:Qn.fontWeight,description:w(`fontWeight`,`Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.`)})}validate(t){return t===`normal`||t===`bold`?t:String(Ut.clampedInt(t,Qn.fontWeight,e.MINIMUM_VALUE,e.MAXIMUM_VALUE))}},dn=class extends It{constructor(){let 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:[w(`editor.gotoLocation.multiple.peek`,`Show Peek view of the results (default)`),w(`editor.gotoLocation.multiple.gotoAndPeek`,`Go to the primary result and show a Peek view`),w(`editor.gotoLocation.multiple.goto`,`Go to the primary result and enable Peek-less navigation to others`)]},n=[``,`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:w(`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:w(`editor.editor.gotoLocation.multipleDefinitions`,`Controls the behavior the 'Go to Definition'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:w(`editor.editor.gotoLocation.multipleTypeDefinitions`,`Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleDeclarations":{description:w(`editor.editor.gotoLocation.multipleDeclarations`,`Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleImplementations":{description:w(`editor.editor.gotoLocation.multipleImplemenattions`,`Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleReferences":{description:w(`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:n,description:w(`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:n,description:w(`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:n,description:w(`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:n,description:w(`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:n,description:w(`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;let t=e;return{multiple:qt(t.multiple,this.defaultValue.multiple,[`peek`,`gotoAndPeek`,`goto`]),multipleDefinitions:t.multipleDefinitions??qt(t.multipleDefinitions,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleTypeDefinitions:t.multipleTypeDefinitions??qt(t.multipleTypeDefinitions,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleDeclarations:t.multipleDeclarations??qt(t.multipleDeclarations,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleImplementations:t.multipleImplementations??qt(t.multipleImplementations,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleReferences:t.multipleReferences??qt(t.multipleReferences,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleTests:t.multipleTests??qt(t.multipleTests,`peek`,[`peek`,`gotoAndPeek`,`goto`]),alternativeDefinitionCommand:Kt.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Kt.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Kt.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Kt.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Kt.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:Kt.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}},fn=class extends It{constructor(){let e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,`hover`,e,{"editor.hover.enabled":{type:`boolean`,default:e.enabled,description:w(`hover.enabled`,`Controls whether the hover is shown.`)},"editor.hover.delay":{type:`number`,default:e.delay,minimum:0,maximum:1e4,description:w(`hover.delay`,`Controls the delay in milliseconds after which the hover is shown.`)},"editor.hover.sticky":{type:`boolean`,default:e.sticky,description:w(`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:w(`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:w(`hover.above`,`Prefer showing hovers above the line, if there's space.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),delay:Ut.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:T(t.sticky,this.defaultValue.sticky),hidingDelay:Ut.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:T(t.above,this.defaultValue.above)}}},pn=class e extends zt{constructor(){super(146)}compute(t,n,r){return e.computeLayout(n,{memory:t.memory,outerWidth:t.outerWidth,outerHeight:t.outerHeight,isDominatedByLongLines:t.isDominatedByLongLines,lineHeight:t.fontInfo.lineHeight,viewLineCount:t.viewLineCount,lineNumbersDigitCount:t.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:t.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:t.fontInfo.maxDigitWidth,pixelRatio:t.pixelRatio,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){let t=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight),r=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(r=Math.max(r,t-1));let i=(n+e.viewLineCount+r)/(e.pixelRatio*e.height),a=Math.floor(e.viewLineCount/i);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:r,desiredRatio:i,minimapLineCount:a}}static _computeMinimapLayout(t,n){let r=t.outerWidth,i=t.outerHeight,a=t.pixelRatio;if(!t.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(a*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};let o=n.stableMinimapLayoutInput,s=o&&t.outerHeight===o.outerHeight&&t.lineHeight===o.lineHeight&&t.typicalHalfwidthCharacterWidth===o.typicalHalfwidthCharacterWidth&&t.pixelRatio===o.pixelRatio&&t.scrollBeyondLastLine===o.scrollBeyondLastLine&&t.paddingTop===o.paddingTop&&t.paddingBottom===o.paddingBottom&&t.minimap.enabled===o.minimap.enabled&&t.minimap.side===o.minimap.side&&t.minimap.size===o.minimap.size&&t.minimap.showSlider===o.minimap.showSlider&&t.minimap.renderCharacters===o.minimap.renderCharacters&&t.minimap.maxColumn===o.minimap.maxColumn&&t.minimap.scale===o.minimap.scale&&t.verticalScrollbarWidth===o.verticalScrollbarWidth&&t.isViewportWrapping===o.isViewportWrapping,c=t.lineHeight,l=t.typicalHalfwidthCharacterWidth,u=t.scrollBeyondLastLine,d=t.minimap.renderCharacters,f=a>=2?Math.round(t.minimap.scale*2):t.minimap.scale,p=t.minimap.maxColumn,m=t.minimap.size,h=t.minimap.side,g=t.verticalScrollbarWidth,_=t.viewLineCount,v=t.remainingWidth,y=t.isViewportWrapping,b=d?2:3,x=Math.floor(a*i),S=x/a,C=!1,ee=!1,te=b*f,ne=f/a,re=1;if(m===`fill`||m===`fit`){let{typicalViewportLineCount:r,extraLinesBeforeFirstLine:o,extraLinesBeyondLastLine:l,desiredRatio:d,minimapLineCount:p}=e.computeContainedMinimapLineCount({viewLineCount:_,scrollBeyondLastLine:u,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,height:i,lineHeight:c,pixelRatio:a});if(_/p>1)C=!0,ee=!0,f=1,te=1,ne=f/a;else{let e=!1,i=f+1;if(m===`fit`){let t=Math.ceil((o+_+l)*te);y&&s&&v<=n.stableFitRemainingWidth?(e=!0,i=n.stableFitMaxMinimapScale):e=t>x}if(m===`fill`||e){C=!0;let e=f;te=Math.min(c*a,Math.max(1,Math.floor(1/d))),y&&s&&v<=n.stableFitRemainingWidth&&(i=n.stableFitMaxMinimapScale),f=Math.min(i,Math.max(1,Math.floor(te/b))),f>e&&(re=Math.min(2,f/e)),ne=f/a/re,x=Math.ceil(Math.max(r,o+_+l)*te),y?(n.stableMinimapLayoutInput=t,n.stableFitRemainingWidth=v,n.stableFitMaxMinimapScale=f):(n.stableMinimapLayoutInput=null,n.stableFitRemainingWidth=0)}}}let ie=Math.floor(p*ne),ae=Math.min(ie,Math.max(0,Math.floor((v-g-2)*ne/(l+ne)))+8),oe=Math.floor(a*ae),se=oe/a;return oe=Math.floor(oe*re),{renderMinimap:d?1:2,minimapLeft:h===`left`?0:r-ae-g,minimapWidth:ae,minimapHeightIsEditorHeight:C,minimapIsSampling:ee,minimapScale:f,minimapLineHeight:te,minimapCanvasInnerWidth:oe,minimapCanvasInnerHeight:x,minimapCanvasOuterWidth:se,minimapCanvasOuterHeight:S}}static computeLayout(t,n){let r=n.outerWidth|0,i=n.outerHeight|0,a=n.lineHeight|0,o=n.lineNumbersDigitCount|0,s=n.typicalHalfwidthCharacterWidth,c=n.maxDigitWidth,l=n.pixelRatio,u=n.viewLineCount,d=t.get(138),f=d===`inherit`?t.get(137):d,p=f===`inherit`?t.get(133):f,m=t.get(136),h=n.isDominatedByLongLines,g=t.get(57),_=t.get(68).renderType!==0,v=t.get(69),y=t.get(106),b=t.get(84),x=t.get(73),S=t.get(104),C=S.verticalScrollbarSize,ee=S.verticalHasArrows,te=S.arrowSize,ne=S.horizontalScrollbarSize,re=t.get(43),ie=t.get(111)!==`never`,ae=t.get(66);re&&ie&&(ae+=16);let oe=0;if(_){let e=Math.max(o,v);oe=Math.round(e*c)}let se=0;g&&(se=a*n.glyphMarginDecorationLaneCount);let ce=0,le=ce+se,ue=le+oe,de=ue+ae,fe=r-se-oe-ae,pe=!1,me=!1,he=-1;f===`inherit`&&h?(pe=!0,me=!0):p===`on`||p===`bounded`?me=!0:p===`wordWrapColumn`&&(he=m);let ge=e._computeMinimapLayout({outerWidth:r,outerHeight:i,lineHeight:a,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:y,paddingTop:b.top,paddingBottom:b.bottom,minimap:x,verticalScrollbarWidth:C,viewLineCount:u,remainingWidth:fe,isViewportWrapping:me},n.memory||new Ft);ge.renderMinimap!==0&&ge.minimapLeft===0&&(ce+=ge.minimapWidth,le+=ge.minimapWidth,ue+=ge.minimapWidth,de+=ge.minimapWidth);let _e=fe-ge.minimapWidth,ve=Math.max(1,Math.floor((_e-C-2)/s)),ye=ee?te:0;return me&&(he=Math.max(1,ve),p===`bounded`&&(he=Math.min(he,m))),{width:r,height:i,glyphMarginLeft:ce,glyphMarginWidth:se,glyphMarginDecorationLaneCount:n.glyphMarginDecorationLaneCount,lineNumbersLeft:le,lineNumbersWidth:oe,decorationsLeft:ue,decorationsWidth:ae,contentLeft:de,contentWidth:_e,minimap:ge,viewportColumn:ve,isWordWrapMinified:pe,isViewportWrapping:me,wrappingColumn:he,verticalScrollbarWidth:C,horizontalScrollbarHeight:ne,overviewRuler:{top:ye,width:C,height:i-2*ye,right:0}}}},mn=class extends It{constructor(){super(140,`wrappingStrategy`,`simple`,{"editor.wrappingStrategy":{enumDescriptions:[w(`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.`),w(`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:w(`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 qt(e,`simple`,[`simple`,`advanced`])}compute(e,t,n){return t.get(2)===2?`advanced`:n}},hn;(function(e){e.Off=`off`,e.OnCode=`onCode`,e.On=`on`})(hn||={});var gn=class extends It{constructor(){let e={enabled:hn.OnCode};super(65,`lightbulb`,e,{"editor.lightbulb.enabled":{type:`string`,tags:[`experimental`],enum:[hn.Off,hn.OnCode,hn.On],default:e.enabled,enumDescriptions:[w(`editor.lightbulb.enabled.off`,`Disable the code action menu.`),w(`editor.lightbulb.enabled.onCode`,`Show the code action menu when the cursor is on lines with code.`),w(`editor.lightbulb.enabled.on`,`Show the code action menu when the cursor is on lines with code or on empty lines.`)],description:w(`enabled`,`Enables the Code Action lightbulb in the editor.`)}})}validate(e){return!e||typeof e!=`object`?this.defaultValue:{enabled:qt(e.enabled,this.defaultValue.enabled,[hn.Off,hn.OnCode,hn.On])}}},_n=class extends It{constructor(){let e={enabled:!0,maxLineCount:5,defaultModel:`outlineModel`,scrollWithEditor:!0};super(116,`stickyScroll`,e,{"editor.stickyScroll.enabled":{type:`boolean`,default:e.enabled,description:w(`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:w(`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:w(`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:w(`editor.stickyScroll.scrollWithEditor`,`Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),maxLineCount:Ut.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:qt(t.defaultModel,this.defaultValue.defaultModel,[`outlineModel`,`foldingProviderModel`,`indentationModel`]),scrollWithEditor:T(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}},vn=class extends It{constructor(){let e={enabled:`on`,fontSize:0,fontFamily:``,padding:!1};super(142,`inlayHints`,e,{"editor.inlayHints.enabled":{type:`string`,default:e.enabled,description:w(`inlayHints.enable`,`Enables the inlay hints in the editor.`),enum:[`on`,`onUnlessPressed`,`offUnlessPressed`,`off`],markdownEnumDescriptions:[w(`editor.inlayHints.on`,`Inlay hints are enabled`),w(`editor.inlayHints.onUnlessPressed`,`Inlay hints are showing by default and hide when holding {0}`,nt?`Ctrl+Option`:`Ctrl+Alt`),w(`editor.inlayHints.offUnlessPressed`,`Inlay hints are hidden by default and show when holding {0}`,nt?`Ctrl+Option`:`Ctrl+Alt`),w(`editor.inlayHints.off`,`Inlay hints are disabled`)]},"editor.inlayHints.fontSize":{type:`number`,default:e.fontSize,markdownDescription:w(`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:w(`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:w(`inlayHints.padding`,`Enables the padding around the inlay hints in the editor.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return typeof t.enabled==`boolean`&&(t.enabled=t.enabled?`on`:`off`),{enabled:qt(t.enabled,this.defaultValue.enabled,[`on`,`off`,`offUnlessPressed`,`onUnlessPressed`]),fontSize:Ut.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Kt.string(t.fontFamily,this.defaultValue.fontFamily),padding:T(t.padding,this.defaultValue.padding)}}},yn=class extends It{constructor(){super(66,`lineDecorationsWidth`,10)}validate(e){return typeof e==`string`&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Ut.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,n){return n<0?Ut.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}},bn=class extends Gt{constructor(){super(67,`lineHeight`,Qn.lineHeight,e=>Gt.clamp(e,0,150),{markdownDescription:w(`lineHeight`,`Controls the line height.
1
+ const e=require(`./chunk-Bt4DEX77.cjs`);function t(e,t=0){return e[e.length-(1+t)]}function n(e){if(e.length===0)throw Error(`Invalid tail call`);return[e.slice(0,e.length-1),e[e.length-1]]}function r(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function i(e,t){let n=e.length-1;t<n&&(e[t]=e[n]),e.pop()}function a(e,t,n){return o(e.length,r=>n(e[r],t))}function o(e,t){let n=0,r=e-1;for(;n<=r;){let e=(n+r)/2|0,i=t(e);if(i<0)n=e+1;else if(i>0)r=e-1;else return e}return-(n+1)}function s(e,t,n){if(e|=0,e>=t.length)throw TypeError(`invalid index`);let r=t[Math.floor(t.length*Math.random())],i=[],a=[],o=[];for(let e of t){let t=n(e,r);t<0?i.push(e):t>0?a.push(e):o.push(e)}return e<i.length?s(e,i,n):e<i.length+o.length?o[0]:s(e-(i.length+o.length),a,n)}function c(e,t){let n=[],r;for(let i of e.slice(0).sort(t))!r||t(r[0],i)!==0?(r=[i],n.push(r)):r.push(i);return n}function*l(e,t){let n,r;for(let i of e)r!==void 0&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}function u(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function d(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function f(e){return e.filter(e=>!!e)}function p(e){let t=0;for(let n=0;n<e.length;n++)e[n]&&(e[t]=e[n],t+=1);e.length=t}function m(e){return!Array.isArray(e)||e.length===0}function h(e){return Array.isArray(e)&&e.length>0}function g(e,t=e=>e){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function _(e,t){return e.length>0?e[0]:t}function v(e,t){let n=typeof t==`number`?e:0;typeof t==`number`?n=e:(n=0,t=e);let r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function y(e,t,n){let r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function b(e,t){let n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function x(e,t){let n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function S(e,t){for(let n of t)e.push(n)}function C(e){return Array.isArray(e)?e:[e]}function ee(e,t,n){let r=ne(e,t),i=e.length,a=n.length;e.length=i+a;for(let t=i-1;t>=r;t--)e[t+a]=e[t];for(let t=0;t<a;t++)e[t+r]=n[t]}function te(e,t,n,r){let i=ne(e,t),a=e.splice(i,n);return a===void 0&&(a=[]),ee(e,i,r),a}function ne(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}var re;(function(e){function t(e){return e<0}e.isLessThan=t;function n(e){return e<=0}e.isLessThanOrEqual=n;function r(e){return e>0}e.isGreaterThan=r;function i(e){return e===0}e.isNeitherLessOrGreaterThan=i,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(re||={});function ie(e,t){return(n,r)=>t(e(n),e(r))}function ae(...e){return(t,n)=>{for(let r of e){let e=r(t,n);if(!re.isNeitherLessOrGreaterThan(e))return e}return re.neitherLessOrGreaterThan}}const oe=(e,t)=>e-t,se=(e,t)=>oe(e?1:0,t?1:0);function ce(e){return(t,n)=>-e(t,n)}var le=class{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++;let n=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,n}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;let n=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,n}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}},ue=class e{static#e=this.empty=new e(e=>{});constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(t){return new e(e=>this.iterate(n=>t(n)?e(n):!0))}map(t){return new e(e=>this.iterate(n=>e(t(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t,n=!0;return this.iterate(r=>((n||re.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}},de=class e{constructor(e){this._indexMap=e}static createSortPermutation(t,n){return new e(Array.from(t.keys()).sort((e,r)=>n(t[e],t[r])))}apply(e){return e.map((t,n)=>e[this._indexMap[n]])}inverse(){let t=this._indexMap.slice();for(let e=0;e<this._indexMap.length;e++)t[this._indexMap[e]]=e;return new e(t)}};function fe(e){return typeof e==`string`}function pe(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function me(e){let t=Object.getPrototypeOf(Uint8Array);return typeof e==`object`&&e instanceof t}function he(e){return typeof e==`number`&&!isNaN(e)}function ge(e){return!!e&&typeof e[Symbol.iterator]==`function`}function _e(e){return e===!0||e===!1}function ve(e){return e===void 0}function ye(e){return!be(e)}function be(e){return ve(e)||e===null}function xe(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:`Unexpected type`)}function Se(e){if(be(e))throw Error(`Assertion Failed: argument is undefined or null`);return e}function Ce(e){return typeof e==`function`}function we(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)Te(e[r],t[r])}function Te(e,t){if(fe(t)){if(typeof e!==t)throw Error(`argument does not match constraint: typeof ${t}`)}else if(Ce(t)){try{if(e instanceof t)return}catch{}if(!be(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw Error(`argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true`)}}function Ee(e){if(!e||typeof e!=`object`||e instanceof RegExp)return e;let t=Array.isArray(e)?[]:{};return Object.entries(e).forEach(([e,n])=>{t[e]=n&&typeof n==`object`?Ee(n):n}),t}function De(e){if(!e||typeof e!=`object`)return e;let t=[e];for(;t.length>0;){let e=t.shift();for(let n in Object.freeze(e),e)if(Oe.call(e,n)){let r=e[n];typeof r==`object`&&!Object.isFrozen(r)&&!me(r)&&t.push(r)}}return e}var Oe=Object.prototype.hasOwnProperty;function ke(e,t){return Ae(e,t,new Set)}function Ae(e,t,n){if(be(e))return e;let r=t(e);if(r!==void 0)return r;if(Array.isArray(e)){let r=[];for(let i of e)r.push(Ae(i,t,n));return r}if(pe(e)){if(n.has(e))throw Error(`Cannot clone recursive data-structure`);n.add(e);let r={};for(let i in e)Oe.call(e,i)&&(r[i]=Ae(e[i],t,n));return n.delete(e),r}return e}function je(e,t,n=!0){return pe(e)?(pe(t)&&Object.keys(t).forEach(r=>{r in e?n&&(pe(e[r])&&pe(t[r])?je(e[r],t[r],n):e[r]=t[r]):e[r]=t[r]}),e):t}function Me(e,t){if(e===t)return!0;if(e==null||t==null||typeof e!=typeof t||typeof e!=`object`||Array.isArray(e)!==Array.isArray(t))return!1;let n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Me(e[n],t[n]))return!1}else{let i=[];for(r in e)i.push(r);i.sort();let a=[];for(r in t)a.push(r);if(a.sort(),!Me(i,a))return!1;for(n=0;n<i.length;n++)if(!Me(e[i[n]],t[i[n]]))return!1}return!0}function Ne(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Pe(e){let t=[];for(let n of Ne(e))typeof e[n]==`function`&&t.push(n);return t}function Fe(e,t){let n=e=>function(){return t(e,Array.prototype.slice.call(arguments,0))},r={};for(let t of e)r[t]=n(t);return r}function Ie(){return globalThis._VSCODE_NLS_MESSAGES}function Le(){return globalThis._VSCODE_NLS_LANGUAGE}var Re=Le()===`pseudo`||typeof document<`u`&&document.location&&document.location.hash.indexOf(`pseudo=true`)>=0;function ze(e,t){let n;return n=t.length===0?e:e.replace(/\{(\d+)\}/g,(e,n)=>{let r=t[n[0]],i=e;return typeof r==`string`?i=r:(typeof r==`number`||typeof r==`boolean`||r==null)&&(i=String(r)),i}),Re&&(n=`[`+n.replace(/[aouei]/g,`$&$&`)+`]`),n}function w(e,t,...n){return ze(typeof e==`number`?Be(e,t):t,n)}function Be(e,t){let n=Ie()?.[e];if(typeof n!=`string`){if(typeof t==`string`)return t;throw Error(`!!! NLS MISSING: ${e} !!!`)}return n}function Ve(e,t,...n){let r;r=typeof e==`number`?Be(e,t):t;let i=ze(r,n);return{value:i,original:t===r?i:ze(t,n)}}const He=`en`;var Ue=!1,We=!1,Ge=!1,Ke=!1,qe=!1,Je=!1,Ye=!1,Xe=`en`,Ze=void 0,Qe=globalThis,$e=void 0;Qe.vscode!==void 0&&Qe.vscode.process!==void 0?$e=Qe.vscode.process:typeof process<`u`&&typeof process?.versions?.node==`string`&&($e=process);var et=typeof $e?.versions?.electron==`string`&&$e?.type===`renderer`;if(typeof $e==`object`){Ue=$e.platform===`win32`,We=$e.platform===`darwin`,Ge=$e.platform===`linux`,Ge&&$e.env.SNAP&&$e.env.SNAP_REVISION,$e.env.CI||$e.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Xe=`en`;let e=$e.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);t.userLocale,t.osLocale,Xe=t.resolvedLanguage||`en`,t.languagePack?.translationsConfigFile}catch{}Ke=!0}else typeof navigator==`object`&&!et?(Ze=navigator.userAgent,Ue=Ze.indexOf(`Windows`)>=0,We=Ze.indexOf(`Macintosh`)>=0,Je=(Ze.indexOf(`Macintosh`)>=0||Ze.indexOf(`iPad`)>=0||Ze.indexOf(`iPhone`)>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Ge=Ze.indexOf(`Linux`)>=0,Ye=Ze?.indexOf(`Mobi`)>=0,qe=!0,Xe=Le()||`en`,navigator.language.toLowerCase()):console.error(`Unable to resolve platform.`);const tt=Ue,nt=We,rt=Ge,it=Ke,at=qe,ot=qe&&typeof Qe.importScripts==`function`,st=ot?Qe.origin:void 0,ct=Je,lt=Ye,ut=Ze,dt=Xe,ft=typeof Qe.postMessage==`function`&&!Qe.importScripts,pt=(()=>{if(ft){let e=[];Qe.addEventListener(`message`,t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n<r;n++){let r=e[n];if(r.id===t.data.vscodeScheduleAsyncWork){e.splice(n,1),r.callback();return}}});let t=0;return n=>{let r=++t;e.push({id:r,callback:n}),Qe.postMessage({vscodeScheduleAsyncWork:r},`*`)}}return e=>setTimeout(e)})(),mt=We||Je?2:Ue?1:3;var ht=!0,gt=!1;function _t(){if(!gt){gt=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2,ht=new Uint16Array(e.buffer)[0]===513}return ht}const vt=!!(ut&&ut.indexOf(`Chrome`)>=0),yt=!!(ut&&ut.indexOf(`Firefox`)>=0),bt=!!(!vt&&ut&&ut.indexOf(`Safari`)>=0),xt=!!(ut&&ut.indexOf(`Edg/`)>=0),St=!!(ut&&ut.indexOf(`Android`)>=0),Ct={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var wt;(function(e){function t(e){return e&&typeof e==`object`&&typeof e[Symbol.iterator]==`function`}e.is=t;let n=Object.freeze([]);function r(){return n}e.empty=r;function*i(e){yield e}e.single=i;function a(e){return t(e)?e:i(e)}e.wrap=a;function o(e){return e||n}e.from=o;function*s(e){for(let t=e.length-1;t>=0;t--)yield e[t]}e.reverse=s;function c(e){return!e||e[Symbol.iterator]().next().done===!0}e.isEmpty=c;function l(e){return e[Symbol.iterator]().next().value}e.first=l;function u(e,t){let n=0;for(let r of e)if(t(r,n++))return!0;return!1}e.some=u;function d(e,t){for(let n of e)if(t(n))return n}e.find=d;function*f(e,t){for(let n of e)t(n)&&(yield n)}e.filter=f;function*p(e,t){let n=0;for(let r of e)yield t(r,n++)}e.map=p;function*m(e,t){let n=0;for(let r of e)yield*t(r,n++)}e.flatMap=m;function*h(...e){for(let t of e)yield*t}e.concat=h;function g(e,t,n){let r=n;for(let n of e)r=t(r,n);return r}e.reduce=g;function*_(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]}e.slice=_;function v(t,n=1/0){let r=[];if(n===0)return[r,t];let i=t[Symbol.iterator]();for(let t=0;t<n;t++){let t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator](){return i}}]}e.consume=v;async function y(e){let t=[];for await(let n of e)t.push(n);return Promise.resolve(t)}e.asyncToArray=y})(wt||={});var Tt=class e{static#e=this.Undefined=new e(void 0);constructor(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}},Et=class{constructor(){this._first=Tt.Undefined,this._last=Tt.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Tt.Undefined}clear(){let e=this._first;for(;e!==Tt.Undefined;){let t=e.next;e.prev=Tt.Undefined,e.next=Tt.Undefined,e=t}this._first=Tt.Undefined,this._last=Tt.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new Tt(e);if(this._first===Tt.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==Tt.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Tt.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Tt.Undefined&&e.next!==Tt.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Tt.Undefined&&e.next===Tt.Undefined?(this._first=Tt.Undefined,this._last=Tt.Undefined):e.next===Tt.Undefined?(this._last=this._last.prev,this._last.next=Tt.Undefined):e.prev===Tt.Undefined&&(this._first=this._first.next,this._first.prev=Tt.Undefined);--this._size}*[Symbol.iterator](){let e=this._first;for(;e!==Tt.Undefined;)yield e.element,e=e.next}};const Dt=`\`~!@#$%^&*()-=+[{]}\\|;:'",.<>/?`;function Ot(e=``){let t=`(-?\\d*\\.\\d\\w*)|([^`;for(let n of Dt)e.indexOf(n)>=0||(t+=`\\`+n);return t+=`\\s]+)`,new RegExp(t,`g`)}const kt=Ot();function At(e){let t=kt;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n=`g`;e.ignoreCase&&(n+=`i`),e.multiline&&(n+=`m`),e.unicode&&(n+=`u`),t=new RegExp(e.source,n)}return t.lastIndex=0,t}var jt=new Et;jt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Mt(e,t,n,r,i){if(t=At(t),i||=wt.first(jt),n.length>i.maxLen){let a=e-i.maxLen/2;return a<0?a=0:r+=a,n=n.substring(a,e+i.maxLen/2),Mt(e,t,n,r,i)}let a=Date.now(),o=e-1-r,s=-1,c=null;for(let e=1;!(Date.now()-a>=i.timeBudget);e++){let r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);let a=Nt(t,n,o,s);if(!a&&c||(c=a,r<=0))break;s=r}if(c){let e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,e}return null}function Nt(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}const eee=8;var Pt=class{constructor(e){this._values=e}hasChanged(e){return this._values[e]}},Ft=class{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}},It=class{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return Rt(e,t)}compute(e,t,n){return n}},Lt=class{constructor(e,t){this.newValue=e,this.didChange=t}};function Rt(e,t){if(typeof e!=`object`||typeof t!=`object`||!e||!t)return new Lt(t,e!==t);if(Array.isArray(e)||Array.isArray(t))return new Lt(t,!(Array.isArray(e)&&Array.isArray(t)&&r(e,t)));let n=!1;for(let r in t)if(t.hasOwnProperty(r)){let i=Rt(e[r],t[r]);i.didChange&&(e[r]=i.newValue,n=!0)}return new Lt(e,n)}var zt=class{constructor(e){this.schema=void 0,this.id=e,this.name=`_never_`,this.defaultValue=void 0}applyUpdate(e,t){return Rt(e,t)}validate(e){return this.defaultValue}},Bt=class{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return Rt(e,t)}validate(e){return e===void 0?this.defaultValue:e}compute(e,t,n){return n}};function T(e,t){return e===void 0?t:e===`false`?!1:!!e}var Vt=class extends Bt{constructor(e,t,n,r=void 0){r!==void 0&&(r.type=`boolean`,r.default=n),super(e,t,n,r)}validate(e){return T(e,this.defaultValue)}};function Ht(e,t,n,r){if(e===void 0)return t;let i=parseInt(e,10);return isNaN(i)?t:(i=Math.max(n,i),i=Math.min(r,i),i|0)}var Ut=class e extends Bt{static clampedInt(e,t,n,r){return Ht(e,t,n,r)}constructor(e,t,n,r,i,a=void 0){a!==void 0&&(a.type=`integer`,a.default=n,a.minimum=r,a.maximum=i),super(e,t,n,a),this.minimum=r,this.maximum=i}validate(t){return e.clampedInt(t,this.defaultValue,this.minimum,this.maximum)}};function Wt(e,t,n,r){if(e===void 0)return t;let i=Gt.float(e,t);return Gt.clamp(i,n,r)}var Gt=class e extends Bt{static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if(typeof e==`number`)return e;if(e===void 0)return t;let n=parseFloat(e);return isNaN(n)?t:n}constructor(e,t,n,r,i){i!==void 0&&(i.type=`number`,i.default=n),super(e,t,n,i),this.validationFn=r}validate(t){return this.validationFn(e.float(t,this.defaultValue))}},Kt=class e extends Bt{static string(e,t){return typeof e==`string`?e:t}constructor(e,t,n,r=void 0){r!==void 0&&(r.type=`string`,r.default=n),super(e,t,n,r)}validate(t){return e.string(t,this.defaultValue)}};function qt(e,t,n,r){return typeof e==`string`?r&&e in r?r[e]:n.indexOf(e)===-1?t:e:t}var Jt=class extends Bt{constructor(e,t,n,r,i=void 0){i!==void 0&&(i.type=`string`,i.enum=r,i.default=n),super(e,t,n,i),this._allowedValues=r}validate(e){return qt(e,this.defaultValue,this._allowedValues)}},Yt=class extends It{constructor(e,t,n,r,i,a,o=void 0){o!==void 0&&(o.type=`string`,o.enum=i,o.default=r),super(e,t,n,o),this._allowedValues=i,this._convert=a}validate(e){return typeof e!=`string`||this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}};function Xt(e){switch(e){case`none`:return 0;case`keep`:return 1;case`brackets`:return 2;case`advanced`:return 3;case`full`:return 4}}var Zt=class extends It{constructor(){super(2,`accessibilitySupport`,0,{type:`string`,enum:[`auto`,`on`,`off`],enumDescriptions:[w(`accessibilitySupport.auto`,`Use platform APIs to detect when a Screen Reader is attached.`),w(`accessibilitySupport.on`,`Optimize for usage with a Screen Reader.`),w(`accessibilitySupport.off`,`Assume a screen reader is not attached.`)],default:`auto`,tags:[`accessibility`],description:w(`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,n){return n===0?e.accessibilitySupport:n}},Qt=class extends It{constructor(){let e={insertSpace:!0,ignoreEmptyLines:!0};super(23,`comments`,e,{"editor.comments.insertSpace":{type:`boolean`,default:e.insertSpace,description:w(`comments.insertSpace`,`Controls whether a space character is inserted when commenting.`)},"editor.comments.ignoreEmptyLines":{type:`boolean`,default:e.ignoreEmptyLines,description:w(`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;let t=e;return{insertSpace:T(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:T(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}};function $t(e){switch(e){case`blink`:return 1;case`smooth`:return 2;case`phase`:return 3;case`expand`:return 4;case`solid`:return 5}}var en;(function(e){e[e.Line=1]=`Line`,e[e.Block=2]=`Block`,e[e.Underline=3]=`Underline`,e[e.LineThin=4]=`LineThin`,e[e.BlockOutline=5]=`BlockOutline`,e[e.UnderlineThin=6]=`UnderlineThin`})(en||={});function tn(e){switch(e){case`line`:return en.Line;case`block`:return en.Block;case`underline`:return en.Underline;case`line-thin`:return en.LineThin;case`block-outline`:return en.BlockOutline;case`underline-thin`:return en.UnderlineThin}}var nn=class extends zt{constructor(){super(143)}compute(e,t,n){let r=[`monaco-editor`];return t.get(39)&&r.push(t.get(39)),e.extraEditorClassName&&r.push(e.extraEditorClassName),t.get(74)===`default`?r.push(`mouse-default`):t.get(74)===`copy`&&r.push(`mouse-copy`),t.get(112)&&r.push(`showUnused`),t.get(141)&&r.push(`showDeprecated`),r.join(` `)}},rn=class extends Vt{constructor(){super(37,`emptySelectionClipboard`,!0,{description:w(`emptySelectionClipboard`,`Controls whether copying without a selection copies the current line.`)})}compute(e,t,n){return n&&e.emptySelectionClipboard}},an=class extends It{constructor(){let 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:w(`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:[w(`editor.find.seedSearchStringFromSelection.never`,`Never seed search string from the editor selection.`),w(`editor.find.seedSearchStringFromSelection.always`,`Always seed search string from the editor selection, including word at cursor position.`),w(`editor.find.seedSearchStringFromSelection.selection`,`Only seed search string from the editor selection.`)],description:w(`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:[w(`editor.find.autoFindInSelection.never`,`Never turn on Find in Selection automatically (default).`),w(`editor.find.autoFindInSelection.always`,`Always turn on Find in Selection automatically.`),w(`editor.find.autoFindInSelection.multiline`,`Turn on Find in Selection automatically when multiple lines of content are selected.`)],description:w(`find.autoFindInSelection`,`Controls the condition for turning on Find in Selection automatically.`)},"editor.find.globalFindClipboard":{type:`boolean`,default:e.globalFindClipboard,description:w(`find.globalFindClipboard`,`Controls whether the Find Widget should read or modify the shared find clipboard on macOS.`),included:nt},"editor.find.addExtraSpaceOnTop":{type:`boolean`,default:e.addExtraSpaceOnTop,description:w(`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:w(`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;let t=e;return{cursorMoveOnType:T(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection==`boolean`?e.seedSearchStringFromSelection?`always`:`never`:qt(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,[`never`,`always`,`selection`]),autoFindInSelection:typeof e.autoFindInSelection==`boolean`?e.autoFindInSelection?`always`:`never`:qt(t.autoFindInSelection,this.defaultValue.autoFindInSelection,[`never`,`always`,`multiline`]),globalFindClipboard:T(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:T(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:T(t.loop,this.defaultValue.loop)}}},on=class e extends It{static#e=this.OFF=`"liga" off, "calt" off`;static#t=this.ON=`"liga" on, "calt" on`;constructor(){super(51,`fontLigatures`,e.OFF,{anyOf:[{type:`boolean`,description:w(`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:w(`fontFeatureSettings`,`Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.`)}],description:w(`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(t){return t===void 0?this.defaultValue:typeof t==`string`?t===`false`||t.length===0?e.OFF:t===`true`?e.ON:t:t?e.ON:e.OFF}},sn=class e extends It{static#e=this.OFF=`normal`;static#t=this.TRANSLATE=`translate`;constructor(){super(54,`fontVariations`,e.OFF,{anyOf:[{type:`boolean`,description:w(`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:w(`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:w(`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(t){return t===void 0?this.defaultValue:typeof t==`string`?t===`false`?e.OFF:t===`true`?e.TRANSLATE:t:t?e.TRANSLATE:e.OFF}compute(e,t,n){return e.fontInfo.fontVariationSettings}},cn=class extends zt{constructor(){super(50)}compute(e,t,n){return e.fontInfo}},ln=class extends Bt{constructor(){super(52,`fontSize`,Qn.fontSize,{type:`number`,minimum:6,maximum:100,default:Qn.fontSize,description:w(`fontSize`,`Controls the font size in pixels.`)})}validate(e){let t=Gt.float(e,this.defaultValue);return t===0?Qn.fontSize:Gt.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}},un=class e extends It{static#e=this.SUGGESTION_VALUES=[`normal`,`bold`,`100`,`200`,`300`,`400`,`500`,`600`,`700`,`800`,`900`];static#t=this.MINIMUM_VALUE=1;static#n=this.MAXIMUM_VALUE=1e3;constructor(){super(53,`fontWeight`,Qn.fontWeight,{anyOf:[{type:`number`,minimum:e.MINIMUM_VALUE,maximum:e.MAXIMUM_VALUE,errorMessage:w(`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:e.SUGGESTION_VALUES}],default:Qn.fontWeight,description:w(`fontWeight`,`Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.`)})}validate(t){return t===`normal`||t===`bold`?t:String(Ut.clampedInt(t,Qn.fontWeight,e.MINIMUM_VALUE,e.MAXIMUM_VALUE))}},dn=class extends It{constructor(){let 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:[w(`editor.gotoLocation.multiple.peek`,`Show Peek view of the results (default)`),w(`editor.gotoLocation.multiple.gotoAndPeek`,`Go to the primary result and show a Peek view`),w(`editor.gotoLocation.multiple.goto`,`Go to the primary result and enable Peek-less navigation to others`)]},n=[``,`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:w(`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:w(`editor.editor.gotoLocation.multipleDefinitions`,`Controls the behavior the 'Go to Definition'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:w(`editor.editor.gotoLocation.multipleTypeDefinitions`,`Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleDeclarations":{description:w(`editor.editor.gotoLocation.multipleDeclarations`,`Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleImplementations":{description:w(`editor.editor.gotoLocation.multipleImplemenattions`,`Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleReferences":{description:w(`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:n,description:w(`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:n,description:w(`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:n,description:w(`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:n,description:w(`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:n,description:w(`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;let t=e;return{multiple:qt(t.multiple,this.defaultValue.multiple,[`peek`,`gotoAndPeek`,`goto`]),multipleDefinitions:t.multipleDefinitions??qt(t.multipleDefinitions,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleTypeDefinitions:t.multipleTypeDefinitions??qt(t.multipleTypeDefinitions,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleDeclarations:t.multipleDeclarations??qt(t.multipleDeclarations,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleImplementations:t.multipleImplementations??qt(t.multipleImplementations,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleReferences:t.multipleReferences??qt(t.multipleReferences,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleTests:t.multipleTests??qt(t.multipleTests,`peek`,[`peek`,`gotoAndPeek`,`goto`]),alternativeDefinitionCommand:Kt.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Kt.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Kt.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Kt.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Kt.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:Kt.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}},fn=class extends It{constructor(){let e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,`hover`,e,{"editor.hover.enabled":{type:`boolean`,default:e.enabled,description:w(`hover.enabled`,`Controls whether the hover is shown.`)},"editor.hover.delay":{type:`number`,default:e.delay,minimum:0,maximum:1e4,description:w(`hover.delay`,`Controls the delay in milliseconds after which the hover is shown.`)},"editor.hover.sticky":{type:`boolean`,default:e.sticky,description:w(`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:w(`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:w(`hover.above`,`Prefer showing hovers above the line, if there's space.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),delay:Ut.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:T(t.sticky,this.defaultValue.sticky),hidingDelay:Ut.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:T(t.above,this.defaultValue.above)}}},pn=class e extends zt{constructor(){super(146)}compute(t,n,r){return e.computeLayout(n,{memory:t.memory,outerWidth:t.outerWidth,outerHeight:t.outerHeight,isDominatedByLongLines:t.isDominatedByLongLines,lineHeight:t.fontInfo.lineHeight,viewLineCount:t.viewLineCount,lineNumbersDigitCount:t.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:t.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:t.fontInfo.maxDigitWidth,pixelRatio:t.pixelRatio,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){let t=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight),r=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(r=Math.max(r,t-1));let i=(n+e.viewLineCount+r)/(e.pixelRatio*e.height),a=Math.floor(e.viewLineCount/i);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:r,desiredRatio:i,minimapLineCount:a}}static _computeMinimapLayout(t,n){let r=t.outerWidth,i=t.outerHeight,a=t.pixelRatio;if(!t.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(a*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};let o=n.stableMinimapLayoutInput,s=o&&t.outerHeight===o.outerHeight&&t.lineHeight===o.lineHeight&&t.typicalHalfwidthCharacterWidth===o.typicalHalfwidthCharacterWidth&&t.pixelRatio===o.pixelRatio&&t.scrollBeyondLastLine===o.scrollBeyondLastLine&&t.paddingTop===o.paddingTop&&t.paddingBottom===o.paddingBottom&&t.minimap.enabled===o.minimap.enabled&&t.minimap.side===o.minimap.side&&t.minimap.size===o.minimap.size&&t.minimap.showSlider===o.minimap.showSlider&&t.minimap.renderCharacters===o.minimap.renderCharacters&&t.minimap.maxColumn===o.minimap.maxColumn&&t.minimap.scale===o.minimap.scale&&t.verticalScrollbarWidth===o.verticalScrollbarWidth&&t.isViewportWrapping===o.isViewportWrapping,c=t.lineHeight,l=t.typicalHalfwidthCharacterWidth,u=t.scrollBeyondLastLine,d=t.minimap.renderCharacters,f=a>=2?Math.round(t.minimap.scale*2):t.minimap.scale,p=t.minimap.maxColumn,m=t.minimap.size,h=t.minimap.side,g=t.verticalScrollbarWidth,_=t.viewLineCount,v=t.remainingWidth,y=t.isViewportWrapping,b=d?2:3,x=Math.floor(a*i),S=x/a,C=!1,ee=!1,te=b*f,ne=f/a,re=1;if(m===`fill`||m===`fit`){let{typicalViewportLineCount:r,extraLinesBeforeFirstLine:o,extraLinesBeyondLastLine:l,desiredRatio:d,minimapLineCount:p}=e.computeContainedMinimapLineCount({viewLineCount:_,scrollBeyondLastLine:u,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,height:i,lineHeight:c,pixelRatio:a});if(_/p>1)C=!0,ee=!0,f=1,te=1,ne=f/a;else{let e=!1,i=f+1;if(m===`fit`){let t=Math.ceil((o+_+l)*te);y&&s&&v<=n.stableFitRemainingWidth?(e=!0,i=n.stableFitMaxMinimapScale):e=t>x}if(m===`fill`||e){C=!0;let e=f;te=Math.min(c*a,Math.max(1,Math.floor(1/d))),y&&s&&v<=n.stableFitRemainingWidth&&(i=n.stableFitMaxMinimapScale),f=Math.min(i,Math.max(1,Math.floor(te/b))),f>e&&(re=Math.min(2,f/e)),ne=f/a/re,x=Math.ceil(Math.max(r,o+_+l)*te),y?(n.stableMinimapLayoutInput=t,n.stableFitRemainingWidth=v,n.stableFitMaxMinimapScale=f):(n.stableMinimapLayoutInput=null,n.stableFitRemainingWidth=0)}}}let ie=Math.floor(p*ne),ae=Math.min(ie,Math.max(0,Math.floor((v-g-2)*ne/(l+ne)))+8),oe=Math.floor(a*ae),se=oe/a;return oe=Math.floor(oe*re),{renderMinimap:d?1:2,minimapLeft:h===`left`?0:r-ae-g,minimapWidth:ae,minimapHeightIsEditorHeight:C,minimapIsSampling:ee,minimapScale:f,minimapLineHeight:te,minimapCanvasInnerWidth:oe,minimapCanvasInnerHeight:x,minimapCanvasOuterWidth:se,minimapCanvasOuterHeight:S}}static computeLayout(t,n){let r=n.outerWidth|0,i=n.outerHeight|0,a=n.lineHeight|0,o=n.lineNumbersDigitCount|0,s=n.typicalHalfwidthCharacterWidth,c=n.maxDigitWidth,l=n.pixelRatio,u=n.viewLineCount,d=t.get(138),f=d===`inherit`?t.get(137):d,p=f===`inherit`?t.get(133):f,m=t.get(136),h=n.isDominatedByLongLines,g=t.get(57),_=t.get(68).renderType!==0,v=t.get(69),y=t.get(106),b=t.get(84),x=t.get(73),S=t.get(104),C=S.verticalScrollbarSize,ee=S.verticalHasArrows,te=S.arrowSize,ne=S.horizontalScrollbarSize,re=t.get(43),ie=t.get(111)!==`never`,ae=t.get(66);re&&ie&&(ae+=16);let oe=0;if(_){let e=Math.max(o,v);oe=Math.round(e*c)}let se=0;g&&(se=a*n.glyphMarginDecorationLaneCount);let ce=0,le=ce+se,ue=le+oe,de=ue+ae,fe=r-se-oe-ae,pe=!1,me=!1,he=-1;f===`inherit`&&h?(pe=!0,me=!0):p===`on`||p===`bounded`?me=!0:p===`wordWrapColumn`&&(he=m);let ge=e._computeMinimapLayout({outerWidth:r,outerHeight:i,lineHeight:a,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:y,paddingTop:b.top,paddingBottom:b.bottom,minimap:x,verticalScrollbarWidth:C,viewLineCount:u,remainingWidth:fe,isViewportWrapping:me},n.memory||new Ft);ge.renderMinimap!==0&&ge.minimapLeft===0&&(ce+=ge.minimapWidth,le+=ge.minimapWidth,ue+=ge.minimapWidth,de+=ge.minimapWidth);let _e=fe-ge.minimapWidth,ve=Math.max(1,Math.floor((_e-C-2)/s)),ye=ee?te:0;return me&&(he=Math.max(1,ve),p===`bounded`&&(he=Math.min(he,m))),{width:r,height:i,glyphMarginLeft:ce,glyphMarginWidth:se,glyphMarginDecorationLaneCount:n.glyphMarginDecorationLaneCount,lineNumbersLeft:le,lineNumbersWidth:oe,decorationsLeft:ue,decorationsWidth:ae,contentLeft:de,contentWidth:_e,minimap:ge,viewportColumn:ve,isWordWrapMinified:pe,isViewportWrapping:me,wrappingColumn:he,verticalScrollbarWidth:C,horizontalScrollbarHeight:ne,overviewRuler:{top:ye,width:C,height:i-2*ye,right:0}}}},mn=class extends It{constructor(){super(140,`wrappingStrategy`,`simple`,{"editor.wrappingStrategy":{enumDescriptions:[w(`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.`),w(`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:w(`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 qt(e,`simple`,[`simple`,`advanced`])}compute(e,t,n){return t.get(2)===2?`advanced`:n}},hn;(function(e){e.Off=`off`,e.OnCode=`onCode`,e.On=`on`})(hn||={});var gn=class extends It{constructor(){let e={enabled:hn.OnCode};super(65,`lightbulb`,e,{"editor.lightbulb.enabled":{type:`string`,tags:[`experimental`],enum:[hn.Off,hn.OnCode,hn.On],default:e.enabled,enumDescriptions:[w(`editor.lightbulb.enabled.off`,`Disable the code action menu.`),w(`editor.lightbulb.enabled.onCode`,`Show the code action menu when the cursor is on lines with code.`),w(`editor.lightbulb.enabled.on`,`Show the code action menu when the cursor is on lines with code or on empty lines.`)],description:w(`enabled`,`Enables the Code Action lightbulb in the editor.`)}})}validate(e){return!e||typeof e!=`object`?this.defaultValue:{enabled:qt(e.enabled,this.defaultValue.enabled,[hn.Off,hn.OnCode,hn.On])}}},_n=class extends It{constructor(){let e={enabled:!0,maxLineCount:5,defaultModel:`outlineModel`,scrollWithEditor:!0};super(116,`stickyScroll`,e,{"editor.stickyScroll.enabled":{type:`boolean`,default:e.enabled,description:w(`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:w(`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:w(`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:w(`editor.stickyScroll.scrollWithEditor`,`Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),maxLineCount:Ut.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:qt(t.defaultModel,this.defaultValue.defaultModel,[`outlineModel`,`foldingProviderModel`,`indentationModel`]),scrollWithEditor:T(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}},vn=class extends It{constructor(){let e={enabled:`on`,fontSize:0,fontFamily:``,padding:!1};super(142,`inlayHints`,e,{"editor.inlayHints.enabled":{type:`string`,default:e.enabled,description:w(`inlayHints.enable`,`Enables the inlay hints in the editor.`),enum:[`on`,`onUnlessPressed`,`offUnlessPressed`,`off`],markdownEnumDescriptions:[w(`editor.inlayHints.on`,`Inlay hints are enabled`),w(`editor.inlayHints.onUnlessPressed`,`Inlay hints are showing by default and hide when holding {0}`,nt?`Ctrl+Option`:`Ctrl+Alt`),w(`editor.inlayHints.offUnlessPressed`,`Inlay hints are hidden by default and show when holding {0}`,nt?`Ctrl+Option`:`Ctrl+Alt`),w(`editor.inlayHints.off`,`Inlay hints are disabled`)]},"editor.inlayHints.fontSize":{type:`number`,default:e.fontSize,markdownDescription:w(`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:w(`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:w(`inlayHints.padding`,`Enables the padding around the inlay hints in the editor.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return typeof t.enabled==`boolean`&&(t.enabled=t.enabled?`on`:`off`),{enabled:qt(t.enabled,this.defaultValue.enabled,[`on`,`off`,`offUnlessPressed`,`onUnlessPressed`]),fontSize:Ut.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Kt.string(t.fontFamily,this.defaultValue.fontFamily),padding:T(t.padding,this.defaultValue.padding)}}},yn=class extends It{constructor(){super(66,`lineDecorationsWidth`,10)}validate(e){return typeof e==`string`&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Ut.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,n){return n<0?Ut.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}},bn=class extends Gt{constructor(){super(67,`lineHeight`,Qn.lineHeight,e=>Gt.clamp(e,0,150),{markdownDescription:w(`lineHeight`,`Controls the line height.
2
2
  - Use 0 to automatically compute the line height from the font size.
3
3
  - Values between 0 and 8 will be used as a multiplier with the font size.
4
4
  - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,n){return e.fontInfo.lineHeight}},xn=class extends It{constructor(){let 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:w(`minimap.enabled`,`Controls whether the minimap is shown.`)},"editor.minimap.autohide":{type:`boolean`,default:e.autohide,description:w(`minimap.autohide`,`Controls whether the minimap is hidden automatically.`)},"editor.minimap.size":{type:`string`,enum:[`proportional`,`fill`,`fit`],enumDescriptions:[w(`minimap.size.proportional`,`The minimap has the same size as the editor contents (and might scroll).`),w(`minimap.size.fill`,`The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling).`),w(`minimap.size.fit`,`The minimap will shrink as necessary to never be larger than the editor (no scrolling).`)],default:e.size,description:w(`minimap.size`,`Controls the size of the minimap.`)},"editor.minimap.side":{type:`string`,enum:[`left`,`right`],default:e.side,description:w(`minimap.side`,`Controls the side where to render the minimap.`)},"editor.minimap.showSlider":{type:`string`,enum:[`always`,`mouseover`],default:e.showSlider,description:w(`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:w(`minimap.scale`,`Scale of content drawn in the minimap: 1, 2 or 3.`)},"editor.minimap.renderCharacters":{type:`boolean`,default:e.renderCharacters,description:w(`minimap.renderCharacters`,`Render the actual characters on a line as opposed to color blocks.`)},"editor.minimap.maxColumn":{type:`number`,default:e.maxColumn,description:w(`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:w(`minimap.showRegionSectionHeaders`,`Controls whether named regions are shown as section headers in the minimap.`)},"editor.minimap.showMarkSectionHeaders":{type:`boolean`,default:e.showMarkSectionHeaders,description:w(`minimap.showMarkSectionHeaders`,`Controls whether MARK: comments are shown as section headers in the minimap.`)},"editor.minimap.sectionHeaderFontSize":{type:`number`,default:e.sectionHeaderFontSize,description:w(`minimap.sectionHeaderFontSize`,`Controls the font size of section headers in the minimap.`)},"editor.minimap.sectionHeaderLetterSpacing":{type:`number`,default:e.sectionHeaderLetterSpacing,description:w(`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;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),autohide:T(t.autohide,this.defaultValue.autohide),size:qt(t.size,this.defaultValue.size,[`proportional`,`fill`,`fit`]),side:qt(t.side,this.defaultValue.side,[`right`,`left`]),showSlider:qt(t.showSlider,this.defaultValue.showSlider,[`always`,`mouseover`]),renderCharacters:T(t.renderCharacters,this.defaultValue.renderCharacters),scale:Ut.clampedInt(t.scale,1,1,3),maxColumn:Ut.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:T(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:T(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:Gt.clamp(t.sectionHeaderFontSize??this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:Gt.clamp(t.sectionHeaderLetterSpacing??this.defaultValue.sectionHeaderLetterSpacing,0,5)}}};function Sn(e){return e===`ctrlCmd`?nt?`metaKey`:`ctrlKey`:`altKey`}var Cn=class extends It{constructor(){super(84,`padding`,{top:0,bottom:0},{"editor.padding.top":{type:`number`,default:0,minimum:0,maximum:1e3,description:w(`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:w(`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;let t=e;return{top:Ut.clampedInt(t.top,0,0,1e3),bottom:Ut.clampedInt(t.bottom,0,0,1e3)}}},wn=class extends It{constructor(){let e={enabled:!0,cycle:!0};super(86,`parameterHints`,e,{"editor.parameterHints.enabled":{type:`boolean`,default:e.enabled,description:w(`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:w(`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;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),cycle:T(t.cycle,this.defaultValue.cycle)}}},Tn=class extends zt{constructor(){super(144)}compute(e,t,n){return e.pixelRatio}},En=class extends It{constructor(){super(88,`placeholder`,void 0)}validate(e){return e===void 0?this.defaultValue:typeof e==`string`?e:this.defaultValue}},Dn=class extends It{constructor(){let e={other:`on`,comments:`off`,strings:`off`},t=[{type:`boolean`},{type:`string`,enum:[`on`,`inline`,`off`],enumDescriptions:[w(`on`,`Quick suggestions show inside the suggest widget`),w(`inline`,`Quick suggestions show as ghost text`),w(`off`,`Quick suggestions are disabled`)]}];super(90,`quickSuggestions`,e,{type:`object`,additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:w(`quickSuggestions.strings`,`Enable quick suggestions inside strings.`)},comments:{anyOf:t,default:e.comments,description:w(`quickSuggestions.comments`,`Enable quick suggestions inside comments.`)},other:{anyOf:t,default:e.other,description:w(`quickSuggestions.other`,`Enable quick suggestions outside of strings and comments.`)}},default:e,markdownDescription:w(`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`){let t=e?`on`:`off`;return{comments:t,strings:t,other:t}}if(!e||typeof e!=`object`)return this.defaultValue;let{other:t,comments:n,strings:r}=e,i=[`on`,`inline`,`off`],a,o,s;return a=typeof t==`boolean`?t?`on`:`off`:qt(t,this.defaultValue.other,i),o=typeof n==`boolean`?n?`on`:`off`:qt(n,this.defaultValue.comments,i),s=typeof r==`boolean`?r?`on`:`off`:qt(r,this.defaultValue.strings,i),{other:a,comments:o,strings:s}}},On=class extends It{constructor(){super(68,`lineNumbers`,{renderType:1,renderFn:null},{type:`string`,enum:[`off`,`on`,`relative`,`interval`],enumDescriptions:[w(`lineNumbers.off`,`Line numbers are not rendered.`),w(`lineNumbers.on`,`Line numbers are rendered as absolute number.`),w(`lineNumbers.relative`,`Line numbers are rendered as distance in lines to cursor position.`),w(`lineNumbers.interval`,`Line numbers are rendered every 10 lines.`)],default:`on`,description:w(`lineNumbers`,`Controls the display of line numbers.`)})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return e!==void 0&&(typeof e==`function`?(t=4,n=e):t=e===`interval`?3:e===`relative`?2:e===`on`?1:0),{renderType:t,renderFn:n}}};function kn(e){let t=e.get(99);return t===`editable`?e.get(92):t!==`on`}var An=class extends It{constructor(){let e=[],t={type:`number`,description:w(`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:w(`rulers.color`,`Color of this editor ruler.`),format:`color-hex`}}}]},default:e,description:w(`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)){let t=[];for(let n of e)if(typeof n==`number`)t.push({column:Ut.clampedInt(n,0,0,1e4),color:null});else if(n&&typeof n==`object`){let e=n;t.push({column:Ut.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}},jn=class extends It{constructor(){super(93,`readOnlyMessage`,void 0)}validate(e){return!e||typeof e!=`object`?this.defaultValue:e}};function Mn(e,t){if(typeof e!=`string`)return t;switch(e){case`hidden`:return 2;case`visible`:return 3;default:return 1}}var Nn=class extends It{constructor(){let 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:[w(`scrollbar.vertical.auto`,`The vertical scrollbar will be visible only when necessary.`),w(`scrollbar.vertical.visible`,`The vertical scrollbar will always be visible.`),w(`scrollbar.vertical.fit`,`The vertical scrollbar will always be hidden.`)],default:`auto`,description:w(`scrollbar.vertical`,`Controls the visibility of the vertical scrollbar.`)},"editor.scrollbar.horizontal":{type:`string`,enum:[`auto`,`visible`,`hidden`],enumDescriptions:[w(`scrollbar.horizontal.auto`,`The horizontal scrollbar will be visible only when necessary.`),w(`scrollbar.horizontal.visible`,`The horizontal scrollbar will always be visible.`),w(`scrollbar.horizontal.fit`,`The horizontal scrollbar will always be hidden.`)],default:`auto`,description:w(`scrollbar.horizontal`,`Controls the visibility of the horizontal scrollbar.`)},"editor.scrollbar.verticalScrollbarSize":{type:`number`,default:e.verticalScrollbarSize,description:w(`scrollbar.verticalScrollbarSize`,`The width of the vertical scrollbar.`)},"editor.scrollbar.horizontalScrollbarSize":{type:`number`,default:e.horizontalScrollbarSize,description:w(`scrollbar.horizontalScrollbarSize`,`The height of the horizontal scrollbar.`)},"editor.scrollbar.scrollByPage":{type:`boolean`,default:e.scrollByPage,description:w(`scrollbar.scrollByPage`,`Controls whether clicks scroll by page or jump to click position.`)},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:`boolean`,default:e.ignoreHorizontalScrollbarInContentHeight,description:w(`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;let t=e,n=Ut.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),r=Ut.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:Ut.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:Mn(t.vertical,this.defaultValue.vertical),horizontal:Mn(t.horizontal,this.defaultValue.horizontal),useShadows:T(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:T(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:T(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:T(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:T(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:Ut.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:r,verticalSliderSize:Ut.clampedInt(t.verticalSliderSize,r,0,1e3),scrollByPage:T(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:T(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const Pn=`inUntrustedWorkspace`,Fn={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`};var In=class extends It{constructor(){let e={nonBasicASCII:Pn,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:Pn,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(126,`unicodeHighlight`,e,{[Fn.nonBasicASCII]:{restricted:!0,type:[`boolean`,`string`],enum:[!0,!1,Pn],default:e.nonBasicASCII,description:w(`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.`)},[Fn.invisibleCharacters]:{restricted:!0,type:`boolean`,default:e.invisibleCharacters,description:w(`unicodeHighlight.invisibleCharacters`,`Controls whether characters that just reserve space or have no width at all are highlighted.`)},[Fn.ambiguousCharacters]:{restricted:!0,type:`boolean`,default:e.ambiguousCharacters,description:w(`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.`)},[Fn.includeComments]:{restricted:!0,type:[`boolean`,`string`],enum:[!0,!1,Pn],default:e.includeComments,description:w(`unicodeHighlight.includeComments`,`Controls whether characters in comments should also be subject to Unicode highlighting.`)},[Fn.includeStrings]:{restricted:!0,type:[`boolean`,`string`],enum:[!0,!1,Pn],default:e.includeStrings,description:w(`unicodeHighlight.includeStrings`,`Controls whether characters in strings should also be subject to Unicode highlighting.`)},[Fn.allowedCharacters]:{restricted:!0,type:`object`,default:e.allowedCharacters,description:w(`unicodeHighlight.allowedCharacters`,`Defines allowed characters that are not being highlighted.`),additionalProperties:{type:`boolean`}},[Fn.allowedLocales]:{restricted:!0,type:`object`,additionalProperties:{type:`boolean`},default:e.allowedLocales,description:w(`unicodeHighlight.allowedLocales`,`Unicode characters that are common in allowed locales are not being highlighted.`)}})}applyUpdate(e,t){let n=!1;t.allowedCharacters&&e&&(Me(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},n=!0)),t.allowedLocales&&e&&(Me(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},n=!0));let r=super.applyUpdate(e,t);return n?new Lt(r.newValue,!0):r}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{nonBasicASCII:Vn(t.nonBasicASCII,Pn,[!0,!1,Pn]),invisibleCharacters:T(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:T(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Vn(t.includeComments,Pn,[!0,!1,Pn]),includeStrings:Vn(t.includeStrings,Pn,[!0,!1,Pn]),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;let n={};for(let[t,r]of Object.entries(e))r===!0&&(n[t]=!0);return n}},Ln=class extends It{constructor(){let 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:w(`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:[w(`inlineSuggest.showToolbar.always`,`Show the inline suggestion toolbar whenever an inline suggestion is shown.`),w(`inlineSuggest.showToolbar.onHover`,`Show the inline suggestion toolbar when hovering over an inline suggestion.`),w(`inlineSuggest.showToolbar.never`,`Never show the inline suggestion toolbar.`)],description:w(`inlineSuggest.showToolbar`,`Controls when to show the inline suggestion toolbar.`)},"editor.inlineSuggest.suppressSuggestions":{type:`boolean`,default:e.suppressSuggestions,description:w(`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:w(`inlineSuggest.fontFamily`,`Controls the font family of the inline suggestions.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),mode:qt(t.mode,this.defaultValue.mode,[`prefix`,`subword`,`subwordSmart`]),showToolbar:qt(t.showToolbar,this.defaultValue.showToolbar,[`always`,`onHover`,`never`]),suppressSuggestions:T(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:T(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:Kt.string(t.fontFamily,this.defaultValue.fontFamily)}}},Rn=class extends It{constructor(){let e={enabled:!1,showToolbar:`onHover`,fontFamily:`default`,keepOnBlur:!1};super(63,`experimentalInlineEdit`,e,{"editor.experimentalInlineEdit.enabled":{type:`boolean`,default:e.enabled,description:w(`inlineEdit.enabled`,`Controls whether to show inline edits in the editor.`)},"editor.experimentalInlineEdit.showToolbar":{type:`string`,default:e.showToolbar,enum:[`always`,`onHover`,`never`],enumDescriptions:[w(`inlineEdit.showToolbar.always`,`Show the inline edit toolbar whenever an inline suggestion is shown.`),w(`inlineEdit.showToolbar.onHover`,`Show the inline edit toolbar when hovering over an inline suggestion.`),w(`inlineEdit.showToolbar.never`,`Never show the inline edit toolbar.`)],description:w(`inlineEdit.showToolbar`,`Controls when to show the inline edit toolbar.`)},"editor.experimentalInlineEdit.fontFamily":{type:`string`,default:e.fontFamily,description:w(`inlineEdit.fontFamily`,`Controls the font family of the inline edit.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),showToolbar:qt(t.showToolbar,this.defaultValue.showToolbar,[`always`,`onHover`,`never`]),fontFamily:Kt.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:T(t.keepOnBlur,this.defaultValue.keepOnBlur)}}},zn=class extends It{constructor(){let e={enabled:Ct.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:Ct.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,`bracketPairColorization`,e,{"editor.bracketPairColorization.enabled":{type:`boolean`,default:e.enabled,markdownDescription:w(`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:w(`bracketPairColorization.independentColorPoolPerBracketType`,`Controls whether each bracket type has its own independent color pool.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:T(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}},Bn=class extends It{constructor(){let 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:[w(`editor.guides.bracketPairs.true`,`Enables bracket pair guides.`),w(`editor.guides.bracketPairs.active`,`Enables bracket pair guides only for the active bracket pair.`),w(`editor.guides.bracketPairs.false`,`Disables bracket pair guides.`)],default:e.bracketPairs,description:w(`editor.guides.bracketPairs`,`Controls whether bracket pair guides are enabled or not.`)},"editor.guides.bracketPairsHorizontal":{type:[`boolean`,`string`],enum:[!0,`active`,!1],enumDescriptions:[w(`editor.guides.bracketPairsHorizontal.true`,`Enables horizontal guides as addition to vertical bracket pair guides.`),w(`editor.guides.bracketPairsHorizontal.active`,`Enables horizontal guides only for the active bracket pair.`),w(`editor.guides.bracketPairsHorizontal.false`,`Disables horizontal bracket pair guides.`)],default:e.bracketPairsHorizontal,description:w(`editor.guides.bracketPairsHorizontal`,`Controls whether horizontal bracket pair guides are enabled or not.`)},"editor.guides.highlightActiveBracketPair":{type:`boolean`,default:e.highlightActiveBracketPair,description:w(`editor.guides.highlightActiveBracketPair`,`Controls whether the editor should highlight the active bracket pair.`)},"editor.guides.indentation":{type:`boolean`,default:e.indentation,description:w(`editor.guides.indentation`,`Controls whether the editor should render indent guides.`)},"editor.guides.highlightActiveIndentation":{type:[`boolean`,`string`],enum:[!0,`always`,!1],enumDescriptions:[w(`editor.guides.highlightActiveIndentation.true`,`Highlights the active indent guide.`),w(`editor.guides.highlightActiveIndentation.always`,`Highlights the active indent guide even if bracket guides are highlighted.`),w(`editor.guides.highlightActiveIndentation.false`,`Do not highlight the active indent guide.`)],default:e.highlightActiveIndentation,description:w(`editor.guides.highlightActiveIndentation`,`Controls whether the editor should highlight the active indent guide.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{bracketPairs:Vn(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,`active`]),bracketPairsHorizontal:Vn(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,`active`]),highlightActiveBracketPair:T(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:T(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Vn(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,`always`])}}};function Vn(e,t,n){let r=n.indexOf(e);return r===-1?t:n[r]}var Hn=class extends It{constructor(){let 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:[w(`suggest.insertMode.insert`,`Insert suggestion without overwriting text right of the cursor.`),w(`suggest.insertMode.replace`,`Insert suggestion and overwrite text right of the cursor.`)],default:e.insertMode,description:w(`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:w(`suggest.filterGraceful`,`Controls whether filtering and sorting suggestions accounts for small typos.`)},"editor.suggest.localityBonus":{type:`boolean`,default:e.localityBonus,description:w(`suggest.localityBonus`,`Controls whether sorting favors words that appear close to the cursor.`)},"editor.suggest.shareSuggestSelections":{type:`boolean`,default:e.shareSuggestSelections,markdownDescription:w(`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:[w(`suggest.insertMode.always`,`Always select a suggestion when automatically triggering IntelliSense.`),w(`suggest.insertMode.never`,`Never select a suggestion when automatically triggering IntelliSense.`),w(`suggest.insertMode.whenTriggerCharacter`,`Select a suggestion only when triggering IntelliSense from a trigger character.`),w(`suggest.insertMode.whenQuickSuggestion`,`Select a suggestion only when triggering IntelliSense as you type.`)],default:e.selectionMode,markdownDescription:w(`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:w(`suggest.snippetsPreventQuickSuggestions`,`Controls whether an active snippet prevents quick suggestions.`)},"editor.suggest.showIcons":{type:`boolean`,default:e.showIcons,description:w(`suggest.showIcons`,`Controls whether to show or hide icons in suggestions.`)},"editor.suggest.showStatusBar":{type:`boolean`,default:e.showStatusBar,description:w(`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:w(`suggest.preview`,`Controls whether to preview the suggestion outcome in the editor.`)},"editor.suggest.showInlineDetails":{type:`boolean`,default:e.showInlineDetails,description:w(`suggest.showInlineDetails`,`Controls whether suggest details show inline with the label or only in the details widget.`)},"editor.suggest.maxVisibleSuggestions":{type:`number`,deprecationMessage:w(`suggest.maxVisibleSuggestions.dep`,`This setting is deprecated. The suggest widget can now be resized.`)},"editor.suggest.filteredTypes":{type:`object`,deprecationMessage:w(`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:w(`editor.suggest.showMethods`,"When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showFunctions`,"When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showConstructors`,"When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showDeprecated`,"When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:`boolean`,default:!0,markdownDescription:w(`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:w(`editor.suggest.showFields`,"When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showVariables`,"When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showClasss`,"When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showStructs`,"When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showInterfaces`,"When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showModules`,"When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showPropertys`,"When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showEvents`,"When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showOperators`,"When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showUnits`,"When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showValues`,"When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showConstants`,"When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showEnums`,"When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showEnumMembers`,"When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showKeywords`,"When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showTexts`,"When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showColors`,"When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showFiles`,"When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showReferences`,"When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showCustomcolors`,"When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showFolders`,"When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showTypeParameters`,"When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showSnippets`,"When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showUsers`,"When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:`boolean`,default:!0,markdownDescription:w(`editor.suggest.showIssues`,"When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{insertMode:qt(t.insertMode,this.defaultValue.insertMode,[`insert`,`replace`]),filterGraceful:T(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:T(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:T(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:T(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:qt(t.selectionMode,this.defaultValue.selectionMode,[`always`,`never`,`whenQuickSuggestion`,`whenTriggerCharacter`]),showIcons:T(t.showIcons,this.defaultValue.showIcons),showStatusBar:T(t.showStatusBar,this.defaultValue.showStatusBar),preview:T(t.preview,this.defaultValue.preview),previewMode:qt(t.previewMode,this.defaultValue.previewMode,[`prefix`,`subword`,`subwordSmart`]),showInlineDetails:T(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:T(t.showMethods,this.defaultValue.showMethods),showFunctions:T(t.showFunctions,this.defaultValue.showFunctions),showConstructors:T(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:T(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:T(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:T(t.showFields,this.defaultValue.showFields),showVariables:T(t.showVariables,this.defaultValue.showVariables),showClasses:T(t.showClasses,this.defaultValue.showClasses),showStructs:T(t.showStructs,this.defaultValue.showStructs),showInterfaces:T(t.showInterfaces,this.defaultValue.showInterfaces),showModules:T(t.showModules,this.defaultValue.showModules),showProperties:T(t.showProperties,this.defaultValue.showProperties),showEvents:T(t.showEvents,this.defaultValue.showEvents),showOperators:T(t.showOperators,this.defaultValue.showOperators),showUnits:T(t.showUnits,this.defaultValue.showUnits),showValues:T(t.showValues,this.defaultValue.showValues),showConstants:T(t.showConstants,this.defaultValue.showConstants),showEnums:T(t.showEnums,this.defaultValue.showEnums),showEnumMembers:T(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:T(t.showKeywords,this.defaultValue.showKeywords),showWords:T(t.showWords,this.defaultValue.showWords),showColors:T(t.showColors,this.defaultValue.showColors),showFiles:T(t.showFiles,this.defaultValue.showFiles),showReferences:T(t.showReferences,this.defaultValue.showReferences),showFolders:T(t.showFolders,this.defaultValue.showFolders),showTypeParameters:T(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:T(t.showSnippets,this.defaultValue.showSnippets),showUsers:T(t.showUsers,this.defaultValue.showUsers),showIssues:T(t.showIssues,this.defaultValue.showIssues)}}},Un=class extends It{constructor(){super(114,`smartSelect`,{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:w(`selectLeadingAndTrailingWhitespace`,`Whether leading and trailing whitespace should always be selected.`),default:!0,type:`boolean`},"editor.smartSelect.selectSubwords":{description:w(`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:T(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:T(e.selectSubwords,this.defaultValue.selectSubwords)}}},Wn=class extends It{constructor(){super(131,`wordSegmenterLocales`,[],{anyOf:[{description:w(`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:w(`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)){let t=[];for(let n of e)if(typeof n==`string`)try{Intl.Segmenter.supportedLocalesOf(n).length>0&&t.push(n)}catch{}return t}return this.defaultValue}},Gn=class extends It{constructor(){super(139,`wrappingIndent`,1,{"editor.wrappingIndent":{type:`string`,enum:[`none`,`same`,`indent`,`deepIndent`],enumDescriptions:[w(`wrappingIndent.none`,`No indentation. Wrapped lines begin at column 1.`),w(`wrappingIndent.same`,`Wrapped lines get the same indentation as the parent.`),w(`wrappingIndent.indent`,`Wrapped lines get +1 indentation toward the parent.`),w(`wrappingIndent.deepIndent`,`Wrapped lines get +2 indentation toward the parent.`)],description:w(`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,n){return t.get(2)===2?0:n}},Kn=class extends zt{constructor(){super(147)}compute(e,t,n){let r=t.get(146);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:r.isWordWrapMinified,isViewportWrapping:r.isViewportWrapping,wrappingColumn:r.wrappingColumn}}},qn=class extends It{constructor(){let e={enabled:!0,showDropSelector:`afterDrop`};super(36,`dropIntoEditor`,e,{"editor.dropIntoEditor.enabled":{type:`boolean`,default:e.enabled,markdownDescription:w(`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:w(`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:[w(`dropIntoEditor.showDropSelector.afterDrop`,`Show the drop selector widget after a file is dropped into the editor.`),w(`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;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),showDropSelector:qt(t.showDropSelector,this.defaultValue.showDropSelector,[`afterDrop`,`never`])}}},Jn=class extends It{constructor(){let e={enabled:!0,showPasteSelector:`afterPaste`};super(85,`pasteAs`,e,{"editor.pasteAs.enabled":{type:`boolean`,default:e.enabled,markdownDescription:w(`pasteAs.enabled`,`Controls whether you can paste content in different ways.`)},"editor.pasteAs.showPasteSelector":{type:`string`,markdownDescription:w(`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:[w(`pasteAs.showPasteSelector.afterPaste`,`Show the paste selector widget after content is pasted into the editor.`),w(`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;let t=e;return{enabled:T(t.enabled,this.defaultValue.enabled),showPasteSelector:qt(t.showPasteSelector,this.defaultValue.showPasteSelector,[`afterPaste`,`never`])}}},Yn=`Consolas, 'Courier New', monospace`,Xn=`Menlo, Monaco, 'Courier New', monospace`,Zn=`'Droid Sans Mono', 'monospace', monospace`;const Qn={fontFamily:nt?Xn:rt?Zn:Yn,fontWeight:`normal`,fontSize:nt?12:14,lineHeight:0,letterSpacing:0},$n=[];function E(e){return $n[e.id]=e,e}const er={acceptSuggestionOnCommitCharacter:E(new Vt(0,`acceptSuggestionOnCommitCharacter`,!0,{markdownDescription:w(`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:E(new Jt(1,`acceptSuggestionOnEnter`,`on`,[`on`,`smart`,`off`],{markdownEnumDescriptions:[``,w(`acceptSuggestionOnEnterSmart`,"Only accept a suggestion with `Enter` when it makes a textual change."),``],markdownDescription:w(`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:E(new Zt),accessibilityPageSize:E(new Ut(3,`accessibilityPageSize`,10,1,1073741824,{description:w(`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:E(new Kt(4,`ariaLabel`,w(`editorViewAccessibleLabel`,`Editor content`))),ariaRequired:E(new Vt(5,`ariaRequired`,!1,void 0)),screenReaderAnnounceInlineSuggestion:E(new Vt(8,`screenReaderAnnounceInlineSuggestion`,!0,{description:w(`screenReaderAnnounceInlineSuggestion`,`Control whether inline suggestions are announced by a screen reader.`),tags:[`accessibility`]})),autoClosingBrackets:E(new Jt(6,`autoClosingBrackets`,`languageDefined`,[`always`,`languageDefined`,`beforeWhitespace`,`never`],{enumDescriptions:[``,w(`editor.autoClosingBrackets.languageDefined`,`Use language configurations to determine when to autoclose brackets.`),w(`editor.autoClosingBrackets.beforeWhitespace`,`Autoclose brackets only when the cursor is to the left of whitespace.`),``],description:w(`autoClosingBrackets`,`Controls whether the editor should automatically close brackets after the user adds an opening bracket.`)})),autoClosingComments:E(new Jt(7,`autoClosingComments`,`languageDefined`,[`always`,`languageDefined`,`beforeWhitespace`,`never`],{enumDescriptions:[``,w(`editor.autoClosingComments.languageDefined`,`Use language configurations to determine when to autoclose comments.`),w(`editor.autoClosingComments.beforeWhitespace`,`Autoclose comments only when the cursor is to the left of whitespace.`),``],description:w(`autoClosingComments`,`Controls whether the editor should automatically close comments after the user adds an opening comment.`)})),autoClosingDelete:E(new Jt(9,`autoClosingDelete`,`auto`,[`always`,`auto`,`never`],{enumDescriptions:[``,w(`editor.autoClosingDelete.auto`,`Remove adjacent closing quotes or brackets only if they were automatically inserted.`),``],description:w(`autoClosingDelete`,`Controls whether the editor should remove adjacent closing quotes or brackets when deleting.`)})),autoClosingOvertype:E(new Jt(10,`autoClosingOvertype`,`auto`,[`always`,`auto`,`never`],{enumDescriptions:[``,w(`editor.autoClosingOvertype.auto`,`Type over closing quotes or brackets only if they were automatically inserted.`),``],description:w(`autoClosingOvertype`,`Controls whether the editor should type over closing quotes or brackets.`)})),autoClosingQuotes:E(new Jt(11,`autoClosingQuotes`,`languageDefined`,[`always`,`languageDefined`,`beforeWhitespace`,`never`],{enumDescriptions:[``,w(`editor.autoClosingQuotes.languageDefined`,`Use language configurations to determine when to autoclose quotes.`),w(`editor.autoClosingQuotes.beforeWhitespace`,`Autoclose quotes only when the cursor is to the left of whitespace.`),``],description:w(`autoClosingQuotes`,`Controls whether the editor should automatically close quotes after the user adds an opening quote.`)})),autoIndent:E(new Yt(12,`autoIndent`,4,`full`,[`none`,`keep`,`brackets`,`advanced`,`full`],Xt,{enumDescriptions:[w(`editor.autoIndent.none`,`The editor will not insert indentation automatically.`),w(`editor.autoIndent.keep`,`The editor will keep the current line's indentation.`),w(`editor.autoIndent.brackets`,`The editor will keep the current line's indentation and honor language defined brackets.`),w(`editor.autoIndent.advanced`,`The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages.`),w(`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:w(`autoIndent`,`Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.`)})),automaticLayout:E(new Vt(13,`automaticLayout`,!1)),autoSurround:E(new Jt(14,`autoSurround`,`languageDefined`,[`languageDefined`,`quotes`,`brackets`,`never`],{enumDescriptions:[w(`editor.autoSurround.languageDefined`,`Use language configurations to determine when to automatically surround selections.`),w(`editor.autoSurround.quotes`,`Surround with quotes but not brackets.`),w(`editor.autoSurround.brackets`,`Surround with brackets but not quotes.`),``],description:w(`autoSurround`,`Controls whether the editor should automatically surround selections when typing quotes or brackets.`)})),bracketPairColorization:E(new zn),bracketPairGuides:E(new Bn),stickyTabStops:E(new Vt(117,`stickyTabStops`,!1,{description:w(`stickyTabStops`,`Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.`)})),codeLens:E(new Vt(17,`codeLens`,!0,{description:w(`codeLens`,`Controls whether the editor shows CodeLens.`)})),codeLensFontFamily:E(new Kt(18,`codeLensFontFamily`,``,{description:w(`codeLensFontFamily`,`Controls the font family for CodeLens.`)})),codeLensFontSize:E(new Ut(19,`codeLensFontSize`,0,0,100,{type:`number`,default:0,minimum:0,maximum:100,markdownDescription:w(`codeLensFontSize`,"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:E(new Vt(20,`colorDecorators`,!0,{description:w(`colorDecorators`,`Controls whether the editor should render the inline color decorators and color picker.`)})),colorDecoratorActivatedOn:E(new Jt(149,`colorDecoratorsActivatedOn`,`clickAndHover`,[`clickAndHover`,`hover`,`click`],{enumDescriptions:[w(`editor.colorDecoratorActivatedOn.clickAndHover`,`Make the color picker appear both on click and hover of the color decorator`),w(`editor.colorDecoratorActivatedOn.hover`,`Make the color picker appear on hover of the color decorator`),w(`editor.colorDecoratorActivatedOn.click`,`Make the color picker appear on click of the color decorator`)],description:w(`colorDecoratorActivatedOn`,`Controls the condition to make a color picker appear from a color decorator`)})),colorDecoratorsLimit:E(new Ut(21,`colorDecoratorsLimit`,500,1,1e6,{markdownDescription:w(`colorDecoratorsLimit`,`Controls the max number of color decorators that can be rendered in an editor at once.`)})),columnSelection:E(new Vt(22,`columnSelection`,!1,{description:w(`columnSelection`,`Enable that the selection with the mouse and keys is doing column selection.`)})),comments:E(new Qt),contextmenu:E(new Vt(24,`contextmenu`,!0)),copyWithSyntaxHighlighting:E(new Vt(25,`copyWithSyntaxHighlighting`,!0,{description:w(`copyWithSyntaxHighlighting`,`Controls whether syntax highlighting should be copied into the clipboard.`)})),cursorBlinking:E(new Yt(26,`cursorBlinking`,1,`blink`,[`blink`,`smooth`,`phase`,`expand`,`solid`],$t,{description:w(`cursorBlinking`,`Control the cursor animation style.`)})),cursorSmoothCaretAnimation:E(new Jt(27,`cursorSmoothCaretAnimation`,`off`,[`off`,`explicit`,`on`],{enumDescriptions:[w(`cursorSmoothCaretAnimation.off`,`Smooth caret animation is disabled.`),w(`cursorSmoothCaretAnimation.explicit`,`Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture.`),w(`cursorSmoothCaretAnimation.on`,`Smooth caret animation is always enabled.`)],description:w(`cursorSmoothCaretAnimation`,`Controls whether the smooth caret animation should be enabled.`)})),cursorStyle:E(new Yt(28,`cursorStyle`,en.Line,`line`,[`line`,`block`,`underline`,`line-thin`,`block-outline`,`underline-thin`],tn,{description:w(`cursorStyle`,`Controls the cursor style.`)})),cursorSurroundingLines:E(new Ut(29,`cursorSurroundingLines`,0,0,1073741824,{description:w(`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:E(new Jt(30,`cursorSurroundingLinesStyle`,`default`,[`default`,`all`],{enumDescriptions:[w(`cursorSurroundingLinesStyle.default`,"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),w(`cursorSurroundingLinesStyle.all`,"`cursorSurroundingLines` is enforced always.")],markdownDescription:w(`cursorSurroundingLinesStyle`,"Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:E(new Ut(31,`cursorWidth`,0,0,1073741824,{markdownDescription:w(`cursorWidth`,"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:E(new Vt(32,`disableLayerHinting`,!1)),disableMonospaceOptimizations:E(new Vt(33,`disableMonospaceOptimizations`,!1)),domReadOnly:E(new Vt(34,`domReadOnly`,!1)),dragAndDrop:E(new Vt(35,`dragAndDrop`,!0,{description:w(`dragAndDrop`,`Controls whether the editor should allow moving selections via drag and drop.`)})),emptySelectionClipboard:E(new rn),dropIntoEditor:E(new qn),stickyScroll:E(new _n),experimentalWhitespaceRendering:E(new Jt(38,`experimentalWhitespaceRendering`,`svg`,[`svg`,`font`,`off`],{enumDescriptions:[w(`experimentalWhitespaceRendering.svg`,`Use a new rendering method with svgs.`),w(`experimentalWhitespaceRendering.font`,`Use a new rendering method with font characters.`),w(`experimentalWhitespaceRendering.off`,`Use the stable rendering method.`)],description:w(`experimentalWhitespaceRendering`,`Controls whether whitespace is rendered with a new, experimental method.`)})),extraEditorClassName:E(new Kt(39,`extraEditorClassName`,``)),fastScrollSensitivity:E(new Gt(40,`fastScrollSensitivity`,5,e=>e<=0?5:e,{markdownDescription:w(`fastScrollSensitivity`,"Scrolling speed multiplier when pressing `Alt`.")})),find:E(new an),fixedOverflowWidgets:E(new Vt(42,`fixedOverflowWidgets`,!1)),folding:E(new Vt(43,`folding`,!0,{description:w(`folding`,`Controls whether the editor has code folding enabled.`)})),foldingStrategy:E(new Jt(44,`foldingStrategy`,`auto`,[`auto`,`indentation`],{enumDescriptions:[w(`foldingStrategy.auto`,`Use a language-specific folding strategy if available, else the indentation-based one.`),w(`foldingStrategy.indentation`,`Use the indentation-based folding strategy.`)],description:w(`foldingStrategy`,`Controls the strategy for computing folding ranges.`)})),foldingHighlight:E(new Vt(45,`foldingHighlight`,!0,{description:w(`foldingHighlight`,`Controls whether the editor should highlight folded ranges.`)})),foldingImportsByDefault:E(new Vt(46,`foldingImportsByDefault`,!1,{description:w(`foldingImportsByDefault`,`Controls whether the editor automatically collapses import ranges.`)})),foldingMaximumRegions:E(new Ut(47,`foldingMaximumRegions`,5e3,10,65e3,{description:w(`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:E(new Vt(48,`unfoldOnClickAfterEndOfLine`,!1,{description:w(`unfoldOnClickAfterEndOfLine`,`Controls whether clicking on the empty content after a folded line will unfold the line.`)})),fontFamily:E(new Kt(49,`fontFamily`,Qn.fontFamily,{description:w(`fontFamily`,`Controls the font family.`)})),fontInfo:E(new cn),fontLigatures2:E(new on),fontSize:E(new ln),fontWeight:E(new un),fontVariations:E(new sn),formatOnPaste:E(new Vt(55,`formatOnPaste`,!1,{description:w(`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:E(new Vt(56,`formatOnType`,!1,{description:w(`formatOnType`,`Controls whether the editor should automatically format the line after typing.`)})),glyphMargin:E(new Vt(57,`glyphMargin`,!0,{description:w(`glyphMargin`,`Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.`)})),gotoLocation:E(new dn),hideCursorInOverviewRuler:E(new Vt(59,`hideCursorInOverviewRuler`,!1,{description:w(`hideCursorInOverviewRuler`,`Controls whether the cursor should be hidden in the overview ruler.`)})),hover:E(new fn),inDiffEditor:E(new Vt(61,`inDiffEditor`,!1)),letterSpacing:E(new Gt(64,`letterSpacing`,Qn.letterSpacing,e=>Gt.clamp(e,-5,20),{description:w(`letterSpacing`,`Controls the letter spacing in pixels.`)})),lightbulb:E(new gn),lineDecorationsWidth:E(new yn),lineHeight:E(new bn),lineNumbers:E(new On),lineNumbersMinChars:E(new Ut(69,`lineNumbersMinChars`,5,1,300)),linkedEditing:E(new Vt(70,`linkedEditing`,!1,{description:w(`linkedEditing`,`Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.`)})),links:E(new Vt(71,`links`,!0,{description:w(`links`,`Controls whether the editor should detect links and make them clickable.`)})),matchBrackets:E(new Jt(72,`matchBrackets`,`always`,[`always`,`near`,`never`],{description:w(`matchBrackets`,`Highlight matching brackets.`)})),minimap:E(new xn),mouseStyle:E(new Jt(74,`mouseStyle`,`text`,[`text`,`default`,`copy`])),mouseWheelScrollSensitivity:E(new Gt(75,`mouseWheelScrollSensitivity`,1,e=>e===0?1:e,{markdownDescription:w(`mouseWheelScrollSensitivity`,"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:E(new Vt(76,`mouseWheelZoom`,!1,{markdownDescription:nt?w(`mouseWheelZoom.mac`,"Zoom the font of the editor when using mouse wheel and holding `Cmd`."):w(`mouseWheelZoom`,"Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:E(new Vt(77,`multiCursorMergeOverlapping`,!0,{description:w(`multiCursorMergeOverlapping`,`Merge multiple cursors when they are overlapping.`)})),multiCursorModifier:E(new Yt(78,`multiCursorModifier`,`altKey`,`alt`,[`ctrlCmd`,`alt`],Sn,{markdownEnumDescriptions:[w(`multiCursorModifier.ctrlCmd`,"Maps to `Control` on Windows and Linux and to `Command` on macOS."),w(`multiCursorModifier.alt`,"Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:w({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:E(new Jt(79,`multiCursorPaste`,`spread`,[`spread`,`full`],{markdownEnumDescriptions:[w(`multiCursorPaste.spread`,`Each cursor pastes a single line of the text.`),w(`multiCursorPaste.full`,`Each cursor pastes the full text.`)],markdownDescription:w(`multiCursorPaste`,`Controls pasting when the line count of the pasted text matches the cursor count.`)})),multiCursorLimit:E(new Ut(80,`multiCursorLimit`,1e4,1,1e5,{markdownDescription:w(`multiCursorLimit`,`Controls the max number of cursors that can be in an active editor at once.`)})),occurrencesHighlight:E(new Jt(81,`occurrencesHighlight`,`singleFile`,[`off`,`singleFile`,`multiFile`],{markdownEnumDescriptions:[w(`occurrencesHighlight.off`,`Does not highlight occurrences.`),w(`occurrencesHighlight.singleFile`,`Highlights occurrences only in the current file.`),w(`occurrencesHighlight.multiFile`,`Experimental: Highlights occurrences across all valid open files.`)],markdownDescription:w(`occurrencesHighlight`,`Controls whether occurrences should be highlighted across open files.`)})),overviewRulerBorder:E(new Vt(82,`overviewRulerBorder`,!0,{description:w(`overviewRulerBorder`,`Controls whether a border should be drawn around the overview ruler.`)})),overviewRulerLanes:E(new Ut(83,`overviewRulerLanes`,3,0,3)),padding:E(new Cn),pasteAs:E(new Jn),parameterHints:E(new wn),peekWidgetDefaultFocus:E(new Jt(87,`peekWidgetDefaultFocus`,`tree`,[`tree`,`editor`],{enumDescriptions:[w(`peekWidgetDefaultFocus.tree`,`Focus the tree when opening peek`),w(`peekWidgetDefaultFocus.editor`,`Focus the editor when opening peek`)],description:w(`peekWidgetDefaultFocus`,`Controls whether to focus the inline editor or the tree in the peek widget.`)})),placeholder:E(new En),definitionLinkOpensInPeek:E(new Vt(89,`definitionLinkOpensInPeek`,!1,{description:w(`definitionLinkOpensInPeek`,`Controls whether the Go to Definition mouse gesture always opens the peek widget.`)})),quickSuggestions:E(new Dn),quickSuggestionsDelay:E(new Ut(91,`quickSuggestionsDelay`,10,0,1073741824,{description:w(`quickSuggestionsDelay`,`Controls the delay in milliseconds after which quick suggestions will show up.`)})),readOnly:E(new Vt(92,`readOnly`,!1)),readOnlyMessage:E(new jn),renameOnType:E(new Vt(94,`renameOnType`,!1,{description:w(`renameOnType`,`Controls whether the editor auto renames on type.`),markdownDeprecationMessage:w(`renameOnTypeDeprecate`,"Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:E(new Vt(95,`renderControlCharacters`,!0,{description:w(`renderControlCharacters`,`Controls whether the editor should render control characters.`),restricted:!0})),renderFinalNewline:E(new Jt(96,`renderFinalNewline`,rt?`dimmed`:`on`,[`off`,`on`,`dimmed`],{description:w(`renderFinalNewline`,`Render last line number when the file ends with a newline.`)})),renderLineHighlight:E(new Jt(97,`renderLineHighlight`,`line`,[`none`,`gutter`,`line`,`all`],{enumDescriptions:[``,``,``,w(`renderLineHighlight.all`,`Highlights both the gutter and the current line.`)],description:w(`renderLineHighlight`,`Controls how the editor should render the current line highlight.`)})),renderLineHighlightOnlyWhenFocus:E(new Vt(98,`renderLineHighlightOnlyWhenFocus`,!1,{description:w(`renderLineHighlightOnlyWhenFocus`,`Controls if the editor should render the current line highlight only when the editor is focused.`)})),renderValidationDecorations:E(new Jt(99,`renderValidationDecorations`,`editable`,[`editable`,`on`,`off`])),renderWhitespace:E(new Jt(100,`renderWhitespace`,`selection`,[`none`,`boundary`,`selection`,`trailing`,`all`],{enumDescriptions:[``,w(`renderWhitespace.boundary`,`Render whitespace characters except for single spaces between words.`),w(`renderWhitespace.selection`,`Render whitespace characters only on selected text.`),w(`renderWhitespace.trailing`,`Render only trailing whitespace characters.`),``],description:w(`renderWhitespace`,`Controls how the editor should render whitespace characters.`)})),revealHorizontalRightPadding:E(new Ut(101,`revealHorizontalRightPadding`,15,0,1e3)),roundedSelection:E(new Vt(102,`roundedSelection`,!0,{description:w(`roundedSelection`,`Controls whether selections should have rounded corners.`)})),rulers:E(new An),scrollbar:E(new Nn),scrollBeyondLastColumn:E(new Ut(105,`scrollBeyondLastColumn`,4,0,1073741824,{description:w(`scrollBeyondLastColumn`,`Controls the number of extra characters beyond which the editor will scroll horizontally.`)})),scrollBeyondLastLine:E(new Vt(106,`scrollBeyondLastLine`,!0,{description:w(`scrollBeyondLastLine`,`Controls whether the editor will scroll beyond the last line.`)})),scrollPredominantAxis:E(new Vt(107,`scrollPredominantAxis`,!0,{description:w(`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:E(new Vt(108,`selectionClipboard`,!0,{description:w(`selectionClipboard`,`Controls whether the Linux primary clipboard should be supported.`),included:rt})),selectionHighlight:E(new Vt(109,`selectionHighlight`,!0,{description:w(`selectionHighlight`,`Controls whether the editor should highlight matches similar to the selection.`)})),selectOnLineNumbers:E(new Vt(110,`selectOnLineNumbers`,!0)),showFoldingControls:E(new Jt(111,`showFoldingControls`,`mouseover`,[`always`,`never`,`mouseover`],{enumDescriptions:[w(`showFoldingControls.always`,`Always show the folding controls.`),w(`showFoldingControls.never`,`Never show the folding controls and reduce the gutter size.`),w(`showFoldingControls.mouseover`,`Only show the folding controls when the mouse is over the gutter.`)],description:w(`showFoldingControls`,`Controls when the folding controls on the gutter are shown.`)})),showUnused:E(new Vt(112,`showUnused`,!0,{description:w(`showUnused`,`Controls fading out of unused code.`)})),showDeprecated:E(new Vt(141,`showDeprecated`,!0,{description:w(`showDeprecated`,`Controls strikethrough deprecated variables.`)})),inlayHints:E(new vn),snippetSuggestions:E(new Jt(113,`snippetSuggestions`,`inline`,[`top`,`bottom`,`inline`,`none`],{enumDescriptions:[w(`snippetSuggestions.top`,`Show snippet suggestions on top of other suggestions.`),w(`snippetSuggestions.bottom`,`Show snippet suggestions below other suggestions.`),w(`snippetSuggestions.inline`,`Show snippets suggestions with other suggestions.`),w(`snippetSuggestions.none`,`Do not show snippet suggestions.`)],description:w(`snippetSuggestions`,`Controls whether snippets are shown with other suggestions and how they are sorted.`)})),smartSelect:E(new Un),smoothScrolling:E(new Vt(115,`smoothScrolling`,!1,{description:w(`smoothScrolling`,`Controls whether the editor will scroll using an animation.`)})),stopRenderingLineAfter:E(new Ut(118,`stopRenderingLineAfter`,1e4,-1,1073741824)),suggest:E(new Hn),inlineSuggest:E(new Ln),inlineEdit:E(new Rn),inlineCompletionsAccessibilityVerbose:E(new Vt(150,`inlineCompletionsAccessibilityVerbose`,!1,{description:w(`inlineCompletionsAccessibilityVerbose`,`Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.`)})),suggestFontSize:E(new Ut(120,`suggestFontSize`,0,0,1e3,{markdownDescription:w(`suggestFontSize`,`Font size for the suggest widget. When set to {0}, the value of {1} is used.`,"`0`","`#editor.fontSize#`")})),suggestLineHeight:E(new Ut(121,`suggestLineHeight`,0,0,1e3,{markdownDescription:w(`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:E(new Vt(122,`suggestOnTriggerCharacters`,!0,{description:w(`suggestOnTriggerCharacters`,`Controls whether suggestions should automatically show up when typing trigger characters.`)})),suggestSelection:E(new Jt(123,`suggestSelection`,`first`,[`first`,`recentlyUsed`,`recentlyUsedByPrefix`],{markdownEnumDescriptions:[w(`suggestSelection.first`,`Always select the first suggestion.`),w(`suggestSelection.recentlyUsed`,"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),w(`suggestSelection.recentlyUsedByPrefix`,"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:w(`suggestSelection`,`Controls how suggestions are pre-selected when showing the suggest list.`)})),tabCompletion:E(new Jt(124,`tabCompletion`,`off`,[`on`,`off`,`onlySnippets`],{enumDescriptions:[w(`tabCompletion.on`,`Tab complete will insert the best matching suggestion when pressing tab.`),w(`tabCompletion.off`,`Disable tab completions.`),w(`tabCompletion.onlySnippets`,`Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.`)],description:w(`tabCompletion`,`Enables tab completions.`)})),tabIndex:E(new Ut(125,`tabIndex`,0,-1,1073741824)),unicodeHighlight:E(new In),unusualLineTerminators:E(new Jt(127,`unusualLineTerminators`,`prompt`,[`auto`,`off`,`prompt`],{enumDescriptions:[w(`unusualLineTerminators.auto`,`Unusual line terminators are automatically removed.`),w(`unusualLineTerminators.off`,`Unusual line terminators are ignored.`),w(`unusualLineTerminators.prompt`,`Unusual line terminators prompt to be removed.`)],description:w(`unusualLineTerminators`,`Remove unusual line terminators that might cause problems.`)})),useShadowDOM:E(new Vt(128,`useShadowDOM`,!0)),useTabStops:E(new Vt(129,`useTabStops`,!0,{description:w(`useTabStops`,`Spaces and tabs are inserted and deleted in alignment with tab stops.`)})),wordBreak:E(new Jt(130,`wordBreak`,`normal`,[`normal`,`keepAll`],{markdownEnumDescriptions:[w(`wordBreak.normal`,`Use the default line break rule.`),w(`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:w(`wordBreak`,`Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.`)})),wordSegmenterLocales:E(new Wn),wordSeparators:E(new Kt(132,`wordSeparators`,Dt,{description:w(`wordSeparators`,`Characters that will be used as word separators when doing word related navigations or operations.`)})),wordWrap:E(new Jt(133,`wordWrap`,`off`,[`off`,`on`,`wordWrapColumn`,`bounded`],{markdownEnumDescriptions:[w(`wordWrap.off`,`Lines will never wrap.`),w(`wordWrap.on`,`Lines will wrap at the viewport width.`),w({key:`wordWrap.wordWrapColumn`,comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),w({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:w({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:E(new Kt(134,`wordWrapBreakAfterCharacters`,` })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」`)),wordWrapBreakBeforeCharacters:E(new Kt(135,`wordWrapBreakBeforeCharacters`,`([{‘“〈《「『【〔([{「£¥$£¥++`)),wordWrapColumn:E(new Ut(136,`wordWrapColumn`,80,1,1073741824,{markdownDescription:w({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:E(new Jt(137,`wordWrapOverride1`,`inherit`,[`off`,`on`,`inherit`])),wordWrapOverride2:E(new Jt(138,`wordWrapOverride2`,`inherit`,[`off`,`on`,`inherit`])),editorClassName:E(new nn),defaultColorDecorators:E(new Vt(148,`defaultColorDecorators`,!1,{markdownDescription:w(`defaultColorDecorators`,`Controls whether inline color decorations should be shown using the default document color provider`)})),pixelRatio:E(new Tn),tabFocusMode:E(new Vt(145,`tabFocusMode`,!1,{markdownDescription:w(`tabFocusMode`,`Controls whether the editor receives tabs or defers them to the workbench for navigation.`)})),layoutInfo:E(new pn),wrappingInfo:E(new Kn),wrappingIndent:E(new Gn),wrappingStrategy:E(new mn)};var tr=class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?pr.isErrorNoTelemetry(e)?new pr(e.message+`
@@ -1 +1 @@
1
- const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`'`,close:`'`},{open:`"`,close:`"`}],autoClosingPairs:[{open:`'`,close:`'`,notIn:[`string`,`comment`]},{open:`"`,close:`"`,notIn:[`comment`]},{open:`"""`,close:`"""`},{open:"`",close:"`",notIn:[`string`,`comment`]},{open:`(`,close:`)`},{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`<<`,close:`>>`}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},n={defaultToken:`source`,tokenPostfix:`.elixir`,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`<<`,close:`>>`,token:`delimiter.angle.special`}],declarationKeywords:[`def`,`defp`,`defn`,`defnp`,`defguard`,`defguardp`,`defmacro`,`defmacrop`,`defdelegate`,`defcallback`,`defmacrocallback`,`defmodule`,`defprotocol`,`defexception`,`defimpl`,`defstruct`],operatorKeywords:[`and`,`in`,`not`,`or`,`when`],namespaceKeywords:[`alias`,`import`,`require`,`use`],otherKeywords:[`after`,`case`,`catch`,`cond`,`do`,`else`,`end`,`fn`,`for`,`if`,`quote`,`raise`,`receive`,`rescue`,`super`,`throw`,`try`,`unless`,`unquote_splicing`,`unquote`,`with`],constants:[`true`,`false`,`nil`],nameBuiltin:[`__MODULE__`,`__DIR__`,`__ENV__`,`__CALLER__`,`__STACKTRACE__`],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:`@whitespace`},{include:`@comments`},{include:`@keywordsShorthand`},{include:`@numbers`},{include:`@identifiers`},{include:`@strings`},{include:`@atoms`},{include:`@sigils`},{include:`@attributes`},{include:`@symbols`}],whitespace:[[/\s+/,`white`]],comments:[[/(#)(.*)/,[`comment.punctuation`,`comment`]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,[`constant`,`constant.punctuation`,`white`]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:`constant.delimiter`,next:`@doubleQuotedStringKeyword`}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:`constant.delimiter`,next:`@singleQuotedStringKeyword`}]],doubleQuotedStringKeyword:[[/":/,{token:`constant.delimiter`,next:`@pop`}],{include:`@stringConstantContentInterpol`}],singleQuotedStringKeyword:[[/':/,{token:`constant.delimiter`,next:`@pop`}],{include:`@stringConstantContentInterpol`}],numbers:[[/0b@binary/,`number.binary`],[/0o@octal/,`number.octal`],[/0x@hex/,`number.hex`],[/@decimal\.@decimal([eE]-?@decimal)?/,`number.float`],[/@decimal/,`number`]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,[`keyword.declaration`,`white`,{cases:{unquote:`keyword`,"@default":`function`}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":`keyword.declaration`,"@namespaceKeywords":`keyword`,"@otherKeywords":`keyword`,"@default":`function.call`}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,[`type.identifier`,`white`,`operator`,`white`,`function.call`]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,[`constant.punctuation`,`constant`,`white`,`operator`,`white`,`function.call`]],[/(\|>)(\s*)(@variableName)/,[`operator`,`white`,{cases:{"@otherKeywords":`keyword`,"@default":`function.call`}}]],[/(&)(\s*)(@variableName)/,[`operator`,`white`,`function.call`]],[/@variableName/,{cases:{"@declarationKeywords":`keyword.declaration`,"@operatorKeywords":`keyword.operator`,"@namespaceKeywords":`keyword`,"@otherKeywords":`keyword`,"@constants":`constant.language`,"@nameBuiltin":`variable.language`,"_.*":`comment.unused`,"@default":`identifier`}}],[/@moduleName/,`type.identifier`]],strings:[[/"""/,{token:`string.delimiter`,next:`@doubleQuotedHeredoc`}],[/'''/,{token:`string.delimiter`,next:`@singleQuotedHeredoc`}],[/"/,{token:`string.delimiter`,next:`@doubleQuotedString`}],[/'/,{token:`string.delimiter`,next:`@singleQuotedString`}]],doubleQuotedHeredoc:[[/"""/,{token:`string.delimiter`,next:`@pop`}],{include:`@stringContentInterpol`}],singleQuotedHeredoc:[[/'''/,{token:`string.delimiter`,next:`@pop`}],{include:`@stringContentInterpol`}],doubleQuotedString:[[/"/,{token:`string.delimiter`,next:`@pop`}],{include:`@stringContentInterpol`}],singleQuotedString:[[/'/,{token:`string.delimiter`,next:`@pop`}],{include:`@stringContentInterpol`}],atoms:[[/(:)(@atomName)/,[`constant.punctuation`,`constant`]],[/:"/,{token:`constant.delimiter`,next:`@doubleQuotedStringAtom`}],[/:'/,{token:`constant.delimiter`,next:`@singleQuotedStringAtom`}]],doubleQuotedStringAtom:[[/"/,{token:`constant.delimiter`,next:`@pop`}],{include:`@stringConstantContentInterpol`}],singleQuotedStringAtom:[[/'/,{token:`constant.delimiter`,next:`@pop`}],{include:`@stringConstantContentInterpol`}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:`@rematch`,next:`@sigil.interpol`}],[/~([A-Z]+)@sigilStartDelimiter/,{token:`@rematch`,next:`@sigil.noInterpol`}]],sigil:[[/~([a-z]|[A-Z]+)\{/,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.{.}`}],[/~([a-z]|[A-Z]+)\[/,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.[.]`}],[/~([a-z]|[A-Z]+)\(/,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.(.)`}],[/~([a-z]|[A-Z]+)\</,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.<.>`}],[/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.$2.$2`}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:`string.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`string.delimiter`,next:`@pop`},"@default":`string`}}],{include:`@stringContentInterpol`}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:`string.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,`string`],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`string.delimiter`,next:`@pop`},"@default":`string`}}],{include:`@stringContent`}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:`regexp.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`regexp.delimiter`,next:`@pop`},"@default":`regexp`}}],{include:`@regexpContentInterpol`}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:`regexp.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,`regexp`],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`regexp.delimiter`,next:`@pop`},"@default":`regexp`}}],{include:`@regexpContent`}],"sigilStart.interpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:`sigil.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`sigil.delimiter`,next:`@pop`},"@default":`sigil`}}],{include:`@sigilContentInterpol`}],"sigilStart.noInterpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:`sigil.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,`sigil`],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`sigil.delimiter`,next:`@pop`},"@default":`sigil`}}],{include:`@sigilContent`}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:`comment.block.documentation`,next:`@doubleQuotedHeredocDocstring`}],[/\@(module|type)?doc (~[sS])?'''/,{token:`comment.block.documentation`,next:`@singleQuotedHeredocDocstring`}],[/\@(module|type)?doc (~[sS])?"/,{token:`comment.block.documentation`,next:`@doubleQuotedStringDocstring`}],[/\@(module|type)?doc (~[sS])?'/,{token:`comment.block.documentation`,next:`@singleQuotedStringDocstring`}],[/\@(module|type)?doc false/,`comment.block.documentation`],[/\@(@variableName)/,`variable`]],doubleQuotedHeredocDocstring:[[/"""/,{token:`comment.block.documentation`,next:`@pop`}],{include:`@docstringContent`}],singleQuotedHeredocDocstring:[[/'''/,{token:`comment.block.documentation`,next:`@pop`}],{include:`@docstringContent`}],doubleQuotedStringDocstring:[[/"/,{token:`comment.block.documentation`,next:`@pop`}],{include:`@docstringContent`}],singleQuotedStringDocstring:[[/'/,{token:`comment.block.documentation`,next:`@pop`}],{include:`@docstringContent`}],symbols:[[/\?(\\.|[^\\\s])/,`number.constant`],[/&\d+/,`operator`],[/<<<|>>>/,`operator`],[/[()\[\]\{\}]|<<|>>/,`@brackets`],[/\.\.\./,`identifier`],[/=>/,`punctuation`],[/@operator/,`operator`],[/[:;,.%]/,`punctuation`]],stringContentInterpol:[{include:`@interpolation`},{include:`@escapeChar`},{include:`@stringContent`}],stringContent:[[/./,`string`]],stringConstantContentInterpol:[{include:`@interpolation`},{include:`@escapeChar`},{include:`@stringConstantContent`}],stringConstantContent:[[/./,`constant`]],regexpContentInterpol:[{include:`@interpolation`},{include:`@escapeChar`},{include:`@regexpContent`}],regexpContent:[[/(\s)(#)(\s.*)$/,[`white`,`comment.punctuation`,`comment`]],[/./,`regexp`]],sigilContentInterpol:[{include:`@interpolation`},{include:`@escapeChar`},{include:`@sigilContent`}],sigilContent:[[/./,`sigil`]],docstringContent:[[/./,`comment.block.documentation`]],escapeChar:[[/@escape/,`constant.character.escape`]],interpolation:[[/#{/,{token:`delimiter.bracket.embed`,next:`@interpolationContinue`}]],interpolationContinue:[[/}/,{token:`delimiter.bracket.embed`,next:`@pop`}],{include:`@root`}]}};exports.conf=t,exports.language=n;
1
+ const e=require(`./chunk-Bt4DEX77.cjs`);var t={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`'`,close:`'`},{open:`"`,close:`"`}],autoClosingPairs:[{open:`'`,close:`'`,notIn:[`string`,`comment`]},{open:`"`,close:`"`,notIn:[`comment`]},{open:`"""`,close:`"""`},{open:"`",close:"`",notIn:[`string`,`comment`]},{open:`(`,close:`)`},{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`<<`,close:`>>`}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},n={defaultToken:`source`,tokenPostfix:`.elixir`,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`<<`,close:`>>`,token:`delimiter.angle.special`}],declarationKeywords:[`def`,`defp`,`defn`,`defnp`,`defguard`,`defguardp`,`defmacro`,`defmacrop`,`defdelegate`,`defcallback`,`defmacrocallback`,`defmodule`,`defprotocol`,`defexception`,`defimpl`,`defstruct`],operatorKeywords:[`and`,`in`,`not`,`or`,`when`],namespaceKeywords:[`alias`,`import`,`require`,`use`],otherKeywords:[`after`,`case`,`catch`,`cond`,`do`,`else`,`end`,`fn`,`for`,`if`,`quote`,`raise`,`receive`,`rescue`,`super`,`throw`,`try`,`unless`,`unquote_splicing`,`unquote`,`with`],constants:[`true`,`false`,`nil`],nameBuiltin:[`__MODULE__`,`__DIR__`,`__ENV__`,`__CALLER__`,`__STACKTRACE__`],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:`@whitespace`},{include:`@comments`},{include:`@keywordsShorthand`},{include:`@numbers`},{include:`@identifiers`},{include:`@strings`},{include:`@atoms`},{include:`@sigils`},{include:`@attributes`},{include:`@symbols`}],whitespace:[[/\s+/,`white`]],comments:[[/(#)(.*)/,[`comment.punctuation`,`comment`]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,[`constant`,`constant.punctuation`,`white`]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:`constant.delimiter`,next:`@doubleQuotedStringKeyword`}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:`constant.delimiter`,next:`@singleQuotedStringKeyword`}]],doubleQuotedStringKeyword:[[/":/,{token:`constant.delimiter`,next:`@pop`}],{include:`@stringConstantContentInterpol`}],singleQuotedStringKeyword:[[/':/,{token:`constant.delimiter`,next:`@pop`}],{include:`@stringConstantContentInterpol`}],numbers:[[/0b@binary/,`number.binary`],[/0o@octal/,`number.octal`],[/0x@hex/,`number.hex`],[/@decimal\.@decimal([eE]-?@decimal)?/,`number.float`],[/@decimal/,`number`]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,[`keyword.declaration`,`white`,{cases:{unquote:`keyword`,"@default":`function`}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":`keyword.declaration`,"@namespaceKeywords":`keyword`,"@otherKeywords":`keyword`,"@default":`function.call`}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,[`type.identifier`,`white`,`operator`,`white`,`function.call`]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,[`constant.punctuation`,`constant`,`white`,`operator`,`white`,`function.call`]],[/(\|>)(\s*)(@variableName)/,[`operator`,`white`,{cases:{"@otherKeywords":`keyword`,"@default":`function.call`}}]],[/(&)(\s*)(@variableName)/,[`operator`,`white`,`function.call`]],[/@variableName/,{cases:{"@declarationKeywords":`keyword.declaration`,"@operatorKeywords":`keyword.operator`,"@namespaceKeywords":`keyword`,"@otherKeywords":`keyword`,"@constants":`constant.language`,"@nameBuiltin":`variable.language`,"_.*":`comment.unused`,"@default":`identifier`}}],[/@moduleName/,`type.identifier`]],strings:[[/"""/,{token:`string.delimiter`,next:`@doubleQuotedHeredoc`}],[/'''/,{token:`string.delimiter`,next:`@singleQuotedHeredoc`}],[/"/,{token:`string.delimiter`,next:`@doubleQuotedString`}],[/'/,{token:`string.delimiter`,next:`@singleQuotedString`}]],doubleQuotedHeredoc:[[/"""/,{token:`string.delimiter`,next:`@pop`}],{include:`@stringContentInterpol`}],singleQuotedHeredoc:[[/'''/,{token:`string.delimiter`,next:`@pop`}],{include:`@stringContentInterpol`}],doubleQuotedString:[[/"/,{token:`string.delimiter`,next:`@pop`}],{include:`@stringContentInterpol`}],singleQuotedString:[[/'/,{token:`string.delimiter`,next:`@pop`}],{include:`@stringContentInterpol`}],atoms:[[/(:)(@atomName)/,[`constant.punctuation`,`constant`]],[/:"/,{token:`constant.delimiter`,next:`@doubleQuotedStringAtom`}],[/:'/,{token:`constant.delimiter`,next:`@singleQuotedStringAtom`}]],doubleQuotedStringAtom:[[/"/,{token:`constant.delimiter`,next:`@pop`}],{include:`@stringConstantContentInterpol`}],singleQuotedStringAtom:[[/'/,{token:`constant.delimiter`,next:`@pop`}],{include:`@stringConstantContentInterpol`}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:`@rematch`,next:`@sigil.interpol`}],[/~([A-Z]+)@sigilStartDelimiter/,{token:`@rematch`,next:`@sigil.noInterpol`}]],sigil:[[/~([a-z]|[A-Z]+)\{/,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.{.}`}],[/~([a-z]|[A-Z]+)\[/,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.[.]`}],[/~([a-z]|[A-Z]+)\(/,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.(.)`}],[/~([a-z]|[A-Z]+)\</,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.<.>`}],[/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,{token:`@rematch`,switchTo:`@sigilStart.$S2.$1.$2.$2`}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:`string.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`string.delimiter`,next:`@pop`},"@default":`string`}}],{include:`@stringContentInterpol`}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:`string.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,`string`],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`string.delimiter`,next:`@pop`},"@default":`string`}}],{include:`@stringContent`}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:`regexp.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`regexp.delimiter`,next:`@pop`},"@default":`regexp`}}],{include:`@regexpContentInterpol`}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:`regexp.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,`regexp`],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`regexp.delimiter`,next:`@pop`},"@default":`regexp`}}],{include:`@regexpContent`}],"sigilStart.interpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:`sigil.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`sigil.delimiter`,next:`@pop`},"@default":`sigil`}}],{include:`@sigilContentInterpol`}],"sigilStart.noInterpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:`sigil.delimiter`,switchTo:`@sigilContinue.$S2.$S3.$S4.$S5`}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,`sigil`],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:`sigil.delimiter`,next:`@pop`},"@default":`sigil`}}],{include:`@sigilContent`}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:`comment.block.documentation`,next:`@doubleQuotedHeredocDocstring`}],[/\@(module|type)?doc (~[sS])?'''/,{token:`comment.block.documentation`,next:`@singleQuotedHeredocDocstring`}],[/\@(module|type)?doc (~[sS])?"/,{token:`comment.block.documentation`,next:`@doubleQuotedStringDocstring`}],[/\@(module|type)?doc (~[sS])?'/,{token:`comment.block.documentation`,next:`@singleQuotedStringDocstring`}],[/\@(module|type)?doc false/,`comment.block.documentation`],[/\@(@variableName)/,`variable`]],doubleQuotedHeredocDocstring:[[/"""/,{token:`comment.block.documentation`,next:`@pop`}],{include:`@docstringContent`}],singleQuotedHeredocDocstring:[[/'''/,{token:`comment.block.documentation`,next:`@pop`}],{include:`@docstringContent`}],doubleQuotedStringDocstring:[[/"/,{token:`comment.block.documentation`,next:`@pop`}],{include:`@docstringContent`}],singleQuotedStringDocstring:[[/'/,{token:`comment.block.documentation`,next:`@pop`}],{include:`@docstringContent`}],symbols:[[/\?(\\.|[^\\\s])/,`number.constant`],[/&\d+/,`operator`],[/<<<|>>>/,`operator`],[/[()\[\]\{\}]|<<|>>/,`@brackets`],[/\.\.\./,`identifier`],[/=>/,`punctuation`],[/@operator/,`operator`],[/[:;,.%]/,`punctuation`]],stringContentInterpol:[{include:`@interpolation`},{include:`@escapeChar`},{include:`@stringContent`}],stringContent:[[/./,`string`]],stringConstantContentInterpol:[{include:`@interpolation`},{include:`@escapeChar`},{include:`@stringConstantContent`}],stringConstantContent:[[/./,`constant`]],regexpContentInterpol:[{include:`@interpolation`},{include:`@escapeChar`},{include:`@regexpContent`}],regexpContent:[[/(\s)(#)(\s.*)$/,[`white`,`comment.punctuation`,`comment`]],[/./,`regexp`]],sigilContentInterpol:[{include:`@interpolation`},{include:`@escapeChar`},{include:`@sigilContent`}],sigilContent:[[/./,`sigil`]],docstringContent:[[/./,`comment.block.documentation`]],escapeChar:[[/@escape/,`constant.character.escape`]],interpolation:[[/#{/,{token:`delimiter.bracket.embed`,next:`@interpolationContinue`}]],interpolationContinue:[[/}/,{token:`delimiter.bracket.embed`,next:`@pop`}],{include:`@root`}]}};exports.conf=t,exports.language=n;
@@ -0,0 +1 @@
1
+ const e=require(`./chunk-Bt4DEX77.cjs`);require(`./lodash-DZJGw-mv.cjs`),require(`./common-CZAeFul_.cjs`),require(`./lib-BbQB6wY_.cjs`);const t=require(`./common-CbtzlL22.cjs`),n=require(`./filter_operators-BNI9krzf.cjs`);let r=require(`react`);r=e.a(r);let i=require(`@elastic/eui`),a=require(`react/jsx-runtime`);function o({filter:e,valueLabel:o,filterLabelStatus:s}){let c=e.meta.negate?` 'NOT '`:``,l=e.meta.negate&&!e.meta.disabled?(0,a.jsx)(i.EuiTextColor,{color:`danger`,children:c}):c,u=e=>(0,a.jsx)(`span`,{className:`globalFilterLabel__value text-[var(--ant-color-success-active)]`,children:e});if(e.meta.alias!==null)return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.alias,s&&(0,a.jsxs)(a.Fragment,{children:[`: `,u(o)]})]});switch(e.meta.type){case t.W.EXISTS:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(`${n.n.message}`)]});case t.W.GEO_BOUNDING_BOX:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(o)]});case t.W.GEO_POLYGON:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(o)]});case t.W.PHRASES:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(`${n.r.message} ${o}`)]});case t.W.QUERY_STRING:return(0,a.jsxs)(r.Fragment,{children:[l,u(`${o}`)]});case t.W.PHRASE:case t.W.RANGE:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(o)]});default:return(0,a.jsxs)(r.Fragment,{children:[l,u(`${JSON.stringify(e.query)||e.meta.value}`)]})}}exports.default=o;
@@ -0,0 +1,58 @@
1
+ import "./lodash-Gv_ptthU.js";
2
+ import "./common-1_7zA8Zc.js";
3
+ import "./lib-Cdf3LT56.js";
4
+ import { W as FILTERS } from "./common-BQBJRuts.js";
5
+ import { n as existsOperator, r as isOneOfOperator } from "./filter_operators-B4Weryc1.js";
6
+ import React, { Fragment } from "react";
7
+ import { EuiTextColor } from "@elastic/eui";
8
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
9
+ function FilterLabel({ filter: c, valueLabel: l, filterLabelStatus: u }) {
10
+ let d = c.meta.negate ? " 'NOT '" : "", f = c.meta.negate && !c.meta.disabled ? /* @__PURE__ */ jsx(EuiTextColor, {
11
+ color: "danger",
12
+ children: d
13
+ }) : d, p = (e) => /* @__PURE__ */ jsx("span", {
14
+ className: "globalFilterLabel__value text-[var(--ant-color-success-active)]",
15
+ children: e
16
+ });
17
+ if (c.meta.alias !== null) return /* @__PURE__ */ jsxs(Fragment, { children: [
18
+ f,
19
+ c.meta.alias,
20
+ u && /* @__PURE__ */ jsxs(Fragment$1, { children: [": ", p(l)] })
21
+ ] });
22
+ switch (c.meta.type) {
23
+ case FILTERS.EXISTS: return /* @__PURE__ */ jsxs(Fragment, { children: [
24
+ f,
25
+ c.meta.key,
26
+ ": ",
27
+ p(`${existsOperator.message}`)
28
+ ] });
29
+ case FILTERS.GEO_BOUNDING_BOX: return /* @__PURE__ */ jsxs(Fragment, { children: [
30
+ f,
31
+ c.meta.key,
32
+ ": ",
33
+ p(l)
34
+ ] });
35
+ case FILTERS.GEO_POLYGON: return /* @__PURE__ */ jsxs(Fragment, { children: [
36
+ f,
37
+ c.meta.key,
38
+ ": ",
39
+ p(l)
40
+ ] });
41
+ case FILTERS.PHRASES: return /* @__PURE__ */ jsxs(Fragment, { children: [
42
+ f,
43
+ c.meta.key,
44
+ ": ",
45
+ p(`${isOneOfOperator.message} ${l}`)
46
+ ] });
47
+ case FILTERS.QUERY_STRING: return /* @__PURE__ */ jsxs(Fragment, { children: [f, p(`${l}`)] });
48
+ case FILTERS.PHRASE:
49
+ case FILTERS.RANGE: return /* @__PURE__ */ jsxs(Fragment, { children: [
50
+ f,
51
+ c.meta.key,
52
+ ": ",
53
+ p(l)
54
+ ] });
55
+ default: return /* @__PURE__ */ jsxs(Fragment, { children: [f, p(`${JSON.stringify(c.query) || c.meta.value}`)] });
56
+ }
57
+ }
58
+ export { FilterLabel as default };
@@ -1,4 +1,4 @@
1
- import { G as FILTERS } from "./common-Tr1I-HCs.js";
1
+ import { W as FILTERS } from "./common-BQBJRuts.js";
2
2
  const isOperator = {
3
3
  message: "is",
4
4
  type: FILTERS.PHRASE,
@@ -0,0 +1 @@
1
+ const e=require(`./common-CbtzlL22.cjs`),t={message:`is`,type:e.W.PHRASE,negate:!1},n={message:`is not`,type:e.W.PHRASE,negate:!0},r={message:`is one of`,type:e.W.PHRASES,negate:!1,fieldTypes:[`string`,`number`,`date`,`ip`,`geo_point`,`geo_shape`]},i={message:`is not one of`,type:e.W.PHRASES,negate:!0,fieldTypes:[`string`,`number`,`date`,`ip`,`geo_point`,`geo_shape`]},a={message:`is between`,type:e.W.RANGE,negate:!1,fieldTypes:[`number`,`date`,`ip`]},o={message:`is not between`,type:e.W.RANGE,negate:!0,fieldTypes:[`number`,`date`,`ip`]},s={message:`exists`,type:e.W.EXISTS,negate:!1},c={message:`does not exist`,type:e.W.EXISTS,negate:!0},l=[t,n,r,i,a,o,s,c];Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
@@ -1 +1 @@
1
- const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{blockComment:[`/*`,`*/`],lineComment:`//`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`,notIn:[`string`]},{open:`[`,close:`]`,notIn:[`string`]},{open:`(`,close:`)`,notIn:[`string`]},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`<`,close:`>`}]},n={defaultToken:``,tokenPostfix:`.flow`,keywords:[`import`,`require`,`export`,`forbid`,`native`,`if`,`else`,`cast`,`unsafe`,`switch`,`default`],types:[`io`,`mutable`,`bool`,`int`,`double`,`string`,`flow`,`void`,`ref`,`true`,`false`,`with`],operators:[`=`,`>`,`<`,`<=`,`>=`,`==`,`!`,`!=`,`:=`,`::=`,`&&`,`||`,`+`,`-`,`*`,`/`,`@`,`&`,`%`,`:`,`->`,`\\`,`$`,`??`,`^`],symbols:/[@$=><!~?:&|+\-*\\\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":`keyword`,"@types":`type`,"@default":`identifier`}}],{include:`@whitespace`},[/[{}()\[\]]/,`delimiter`],[/[<>](?!@symbols)/,`delimiter`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,`number`],[/[;,.]/,`delimiter`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]]}};exports.conf=t,exports.language=n;
1
+ const e=require(`./chunk-Bt4DEX77.cjs`);var t={comments:{blockComment:[`/*`,`*/`],lineComment:`//`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`,notIn:[`string`]},{open:`[`,close:`]`,notIn:[`string`]},{open:`(`,close:`)`,notIn:[`string`]},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`<`,close:`>`}]},n={defaultToken:``,tokenPostfix:`.flow`,keywords:[`import`,`require`,`export`,`forbid`,`native`,`if`,`else`,`cast`,`unsafe`,`switch`,`default`],types:[`io`,`mutable`,`bool`,`int`,`double`,`string`,`flow`,`void`,`ref`,`true`,`false`,`with`],operators:[`=`,`>`,`<`,`<=`,`>=`,`==`,`!`,`!=`,`:=`,`::=`,`&&`,`||`,`+`,`-`,`*`,`/`,`@`,`&`,`%`,`:`,`->`,`\\`,`$`,`??`,`^`],symbols:/[@$=><!~?:&|+\-*\\\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":`keyword`,"@types":`type`,"@default":`identifier`}}],{include:`@whitespace`},[/[{}()\[\]]/,`delimiter`],[/[<>](?!@symbols)/,`delimiter`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,`number`],[/[;,.]/,`delimiter`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]]}};exports.conf=t,exports.language=n;
@@ -1,4 +1,4 @@
1
- import { m as editor_api_exports } from "./editor.api-CbUDOph7.js";
1
+ import { m as editor_api_exports } from "./editor.api-B3Kwz8AU.js";
2
2
  var __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __hasOwnProp = Object.prototype.hasOwnProperty, __copyProps = (e, x, S, C) => {
3
3
  if (x && typeof x == "object" || typeof x == "function") for (let w of __getOwnPropNames(x)) !__hasOwnProp.call(e, w) && w !== S && __defProp(e, w, {
4
4
  get: () => x[w],
@@ -1,3 +1,3 @@
1
- const e=require(`./chunk-BjqF3vbe.cjs`),t=require(`./editor.api-lY2thcaq.cjs`);var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},s=(e,t,n)=>(o(e,t,`default`),n&&o(n,t,`default`)),c={};s(c,t.m);var l=[`assign`,`flush`,`ftl`,`return`,`global`,`import`,`include`,`break`,`continue`,`local`,`nested`,`nt`,`setting`,`stop`,`t`,`lt`,`rt`,`fallback`],u=[`attempt`,`autoesc`,`autoEsc`,`compress`,`comment`,`escape`,`noescape`,`function`,`if`,`list`,`items`,`sep`,`macro`,`noparse`,`noParse`,`noautoesc`,`noAutoEsc`,`outputformat`,`switch`,`visit`,`recurse`],d={close:`>`,id:`angle`,open:`<`},f={close:`\\]`,id:`bracket`,open:`\\[`},p={close:`[>\\]]`,id:`auto`,open:`[<\\[]`},m={close:`\\}`,id:`dollar`,open1:`\\$`,open2:`\\{`},h={close:`\\]`,id:`bracket`,open1:`\\[`,open2:`=`};function g(e){return{brackets:[[`<`,`>`],[`[`,`]`],[`(`,`)`],[`{`,`}`]],comments:{blockComment:[`${e.open}--`,`--${e.close}`]},autoCloseBefore:`
1
+ const e=require(`./chunk-Bt4DEX77.cjs`),t=require(`./editor.api-DKqStM0b.cjs`);var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},s=(e,t,n)=>(o(e,t,`default`),n&&o(n,t,`default`)),c={};s(c,t.m);var l=[`assign`,`flush`,`ftl`,`return`,`global`,`import`,`include`,`break`,`continue`,`local`,`nested`,`nt`,`setting`,`stop`,`t`,`lt`,`rt`,`fallback`],u=[`attempt`,`autoesc`,`autoEsc`,`compress`,`comment`,`escape`,`noescape`,`function`,`if`,`list`,`items`,`sep`,`macro`,`noparse`,`noParse`,`noautoesc`,`noAutoEsc`,`outputformat`,`switch`,`visit`,`recurse`],d={close:`>`,id:`angle`,open:`<`},f={close:`\\]`,id:`bracket`,open:`\\[`},p={close:`[>\\]]`,id:`auto`,open:`[<\\[]`},m={close:`\\}`,id:`dollar`,open1:`\\$`,open2:`\\{`},h={close:`\\]`,id:`bracket`,open1:`\\[`,open2:`=`};function g(e){return{brackets:[[`<`,`>`],[`[`,`]`],[`(`,`)`],[`{`,`}`]],comments:{blockComment:[`${e.open}--`,`--${e.close}`]},autoCloseBefore:`
2
2
  \r }]),.:;=`,autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`]}],surroundingPairs:[{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`}],folding:{markers:{start:RegExp(`${e.open}#(?:${u.join(`|`)})([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),end:RegExp(`${e.open}/#(?:${u.join(`|`)})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:RegExp(`${e.open}#(?!(?:${l.join(`|`)}))([a-zA-Z_]+)([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),afterText:RegExp(`^${e.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${e.close}$`),action:{indentAction:c.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`${e.open}#(?!(?:${l.join(`|`)}))([a-zA-Z_]+)([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),action:{indentAction:c.languages.IndentAction.Indent}}]}}function _(){return{brackets:[[`<`,`>`],[`[`,`]`],[`(`,`)`],[`{`,`}`]],autoCloseBefore:`
3
3
  \r }]),.:;=`,autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`]}],surroundingPairs:[{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`}],folding:{markers:{start:RegExp(`[<\\[]#(?:${u.join(`|`)})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:RegExp(`[<\\[]/#(?:${u.join(`|`)})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:RegExp(`[<\\[]#(?!(?:${l.join(`|`)}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:RegExp(`^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$`),action:{indentAction:c.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`[<\\[]#(?!(?:${l.join(`|`)}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:c.languages.IndentAction.Indent}}]}}function v(e,t){let n=`_${e.id}_${t.id}`,r=e=>e.replace(/__id__/g,n),i=e=>{let t=e.source.replace(/__id__/g,n);return new RegExp(t,e.flags)};return{unicode:!0,includeLF:!1,start:r(`default__id__`),ignoreCase:!1,defaultToken:`invalid`,tokenPostfix:`.freemarker2`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],[r(`open__id__`)]:new RegExp(e.open),[r(`close__id__`)]:new RegExp(e.close),[r(`iOpen1__id__`)]:new RegExp(t.open1),[r(`iOpen2__id__`)]:new RegExp(t.open2),[r(`iClose__id__`)]:new RegExp(t.close),[r(`startTag__id__`)]:i(/(@open__id__)(#)/),[r(`endTag__id__`)]:i(/(@open__id__)(\/#)/),[r(`startOrEndTag__id__`)]:i(/(@open__id__)(\/?#)/),[r(`closeTag1__id__`)]:i(/((?:@blank)*)(@close__id__)/),[r(`closeTag2__id__`)]:i(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:[`false`,`true`,`in`,`as`,`using`],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:[`->`,`-&gt;`],delimiters:[`;`,`:`,`,`,`.`],stringOperators:[`lte`,`lt`,`gte`,`gt`],noParseTags:[`noparse`,`noParse`,`comment`],tokenizer:{[r(`default__id__`)]:[{include:r(`@directive_token__id__`)},{include:r(`@interpolation_and_text_token__id__`)}],[r(`fmExpression__id__.directive`)]:[{include:r(`@blank_and_expression_comment_token__id__`)},{include:r(`@directive_end_token__id__`)},{include:r(`@expression_token__id__`)}],[r(`fmExpression__id__.interpolation`)]:[{include:r(`@blank_and_expression_comment_token__id__`)},{include:r(`@expression_token__id__`)},{include:r(`@greater_operators_token__id__`)}],[r(`inParen__id__.plain`)]:[{include:r(`@blank_and_expression_comment_token__id__`)},{include:r(`@directive_end_token__id__`)},{include:r(`@expression_token__id__`)}],[r(`inParen__id__.gt`)]:[{include:r(`@blank_and_expression_comment_token__id__`)},{include:r(`@expression_token__id__`)},{include:r(`@greater_operators_token__id__`)}],[r(`noSpaceExpression__id__`)]:[{include:r(`@no_space_expression_end_token__id__`)},{include:r(`@directive_end_token__id__`)},{include:r(`@expression_token__id__`)}],[r(`unifiedCall__id__`)]:[{include:r(`@unified_call_token__id__`)}],[r(`singleString__id__`)]:[{include:r(`@string_single_token__id__`)}],[r(`doubleString__id__`)]:[{include:r(`@string_double_token__id__`)}],[r(`rawSingleString__id__`)]:[{include:r(`@string_single_raw_token__id__`)}],[r(`rawDoubleString__id__`)]:[{include:r(`@string_double_raw_token__id__`)}],[r(`expressionComment__id__`)]:[{include:r(`@expression_comment_token__id__`)}],[r(`noParse__id__`)]:[{include:r(`@no_parse_token__id__`)}],[r(`terseComment__id__`)]:[{include:r(`@terse_comment_token__id__`)}],[r(`directive_token__id__`)]:[[i(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{cases:{"@noParseTags":{token:`tag`,next:r(`@noParse__id__.$3`)},"@default":{token:`tag`}}},{token:`delimiter.directive`},{token:`@brackets.directive`}]],[i(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:`delimiter.directive`},{token:`@brackets.directive`}]],[i(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:``,next:r(`@fmExpression__id__.directive`)}]],[i(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:`delimiter.directive`},{token:`@brackets.directive`}]],[i(/(@open__id__)(@)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`,next:r(`@unifiedCall__id__`)}]],[i(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:`delimiter.directive`},{token:`@brackets.directive`}]],[i(/(@open__id__)#--/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:{token:`comment`,next:r(`@terseComment__id__`)}],[i(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag.invalid`,next:r(`@fmExpression__id__.directive`)}]]],[r(`interpolation_and_text_token__id__`)]:[[i(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:t.id===`bracket`?`@brackets.interpolation`:`delimiter.interpolation`},{token:t.id===`bracket`?`delimiter.interpolation`:`@brackets.interpolation`,next:r(`@fmExpression__id__.interpolation`)}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:`source`}]],[r(`string_single_token__id__`)]:[[/[^'\\]/,{token:`string`}],[/@escapedChar/,{token:`string.escape`}],[/'/,{token:`string`,next:`@pop`}]],[r(`string_double_token__id__`)]:[[/[^"\\]/,{token:`string`}],[/@escapedChar/,{token:`string.escape`}],[/"/,{token:`string`,next:`@pop`}]],[r(`string_single_raw_token__id__`)]:[[/[^']+/,{token:`string.raw`}],[/'/,{token:`string.raw`,next:`@pop`}]],[r(`string_double_raw_token__id__`)]:[[/[^"]+/,{token:`string.raw`}],[/"/,{token:`string.raw`,next:`@pop`}]],[r(`expression_token__id__`)]:[[/(r?)(['"])/,{cases:{"r'":[{token:`keyword`},{token:`string.raw`,next:r(`@rawSingleString__id__`)}],'r"':[{token:`keyword`},{token:`string.raw`,next:r(`@rawDoubleString__id__`)}],"'":[{token:`source`},{token:`string`,next:r(`@singleString__id__`)}],'"':[{token:`source`},{token:`string`,next:r(`@doubleString__id__`)}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:`number`},"@default":{token:`number.float`}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:`delimiter`},{token:``},{token:`identifier`}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:`meta.arrow`},"@delimiters":{token:`delimiter`},"@default":{token:`operators`}}}],[/@id/,{cases:{"@keywords":{token:`keyword.$0`},"@stringOperators":{token:`operators`},"@default":{token:`identifier`}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:`@brackets`,next:r(`@inParen__id__.gt`)},"@default":{token:`@brackets`,next:r(`@inParen__id__.plain`)}}},"\\]":{cases:{...t.id===`bracket`?{"$S2==interpolation":{token:`@brackets.interpolation`,next:`@popall`}}:{},...e.id===`bracket`?{"$S2==directive":{token:`@brackets.directive`,next:`@popall`}}:{},[r(`$S1==inParen__id__`)]:{token:`@brackets`,next:`@pop`},"@default":{token:`@brackets`}}},"\\(":{token:`@brackets`,next:r(`@inParen__id__.gt`)},"\\)":{cases:{[r(`$S1==inParen__id__`)]:{token:`@brackets`,next:`@pop`},"@default":{token:`@brackets`}}},"\\{":{cases:{"$S2==gt":{token:`@brackets`,next:r(`@inParen__id__.gt`)},"@default":{token:`@brackets`,next:r(`@inParen__id__.plain`)}}},"\\}":{cases:{...t.id===`bracket`?{}:{"$S2==interpolation":{token:`@brackets.interpolation`,next:`@popall`}},[r(`$S1==inParen__id__`)]:{token:`@brackets`,next:`@pop`},"@default":{token:`@brackets`}}}}}],[/\$\{/,{token:`delimiter.invalid`}]],[r(`blank_and_expression_comment_token__id__`)]:[[/(?:@blank)+/,{token:``}],[/[<\[][#!]--/,{token:`comment`,next:r(`@expressionComment__id__`)}]],[r(`directive_end_token__id__`)]:[[/>/,e.id===`bracket`?{token:`operators`}:{token:`@brackets.directive`,next:`@popall`}],[i(/(\/)(@close__id__)/),[{token:`delimiter.directive`},{token:`@brackets.directive`,next:`@popall`}]]],[r(`greater_operators_token__id__`)]:[[/>/,{token:`operators`}],[/>=/,{token:`operators`}]],[r(`no_space_expression_end_token__id__`)]:[[/(?:@blank)+/,{token:``,switchTo:r(`@fmExpression__id__.directive`)}]],[r(`unified_call_token__id__`)]:[[/(@id)((?:@blank)+)/,[{token:`tag`},{token:``,next:r(`@fmExpression__id__.directive`)}]],[i(/(@id)(\/?)(@close__id__)/),[{token:`tag`},{token:`delimiter.directive`},{token:`@brackets.directive`,next:`@popall`}]],[/./,{token:`@rematch`,next:r(`@noSpaceExpression__id__`)}]],[r(`no_parse_token__id__`)]:[[i(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:``},{token:`@brackets.directive`,next:`@popall`}],"$S2==comment":[{token:`comment`},{token:`comment`},{token:`comment`},{token:`comment`},{token:`comment`}],"@default":[{token:`source`},{token:`source`},{token:`source`},{token:`source`},{token:`source`}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:`comment`},"@default":{token:`source`}}}]],[r(`expression_comment_token__id__`)]:[[/--[>\]]/,{token:`comment`,next:`@pop`}],[/[^\->\]]+|[>\]\-]/,{token:`comment`}]],[r(`terse_comment_token__id__`)]:[[i(/--(?:@close__id__)/),{token:`comment`,next:`@popall`}],[/[^<\[\-]+|[<\[\-]/,{token:`comment`}]]}}}function y(e){let t=v(d,e),n=v(f,e),r=v(p,e);return{...t,...n,...r,unicode:!0,includeLF:!1,start:`default_auto_${e.id}`,ignoreCase:!1,defaultToken:`invalid`,tokenPostfix:`.freemarker2`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],tokenizer:{...t.tokenizer,...n.tokenizer,...r.tokenizer}}}var b={conf:g(d),language:v(d,m)},x={conf:g(f),language:v(f,m)},S={conf:g(d),language:v(d,h)},C={conf:g(f),language:v(f,h)},w={conf:_(),language:y(m)},T={conf:_(),language:y(h)};exports.TagAngleInterpolationBracket=S,exports.TagAngleInterpolationDollar=b,exports.TagAutoInterpolationBracket=T,exports.TagAutoInterpolationDollar=w,exports.TagBracketInterpolationBracket=C,exports.TagBracketInterpolationDollar=x;