@jxsuite/studio 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (613) hide show
  1. package/README.md +1 -1
  2. package/data/elements-meta.json +5 -15
  3. package/data/html-meta.json +51 -6
  4. package/dist/chunks/{2020-xp8vnwma.js → 2020-g79n01v9.js} +14 -14
  5. package/dist/chunks/action-group-sp6tna8v.js +118 -0
  6. package/dist/chunks/adapter-nj7tnjfn.js +13 -0
  7. package/dist/chunks/cf-account-picker-fyf63pmy.js +495 -0
  8. package/dist/chunks/cf-settings-71bv5zn9.js +20 -0
  9. package/dist/chunks/color-area-v17df7b8.js +154 -0
  10. package/dist/chunks/color-field-anwybnkn.js +208 -0
  11. package/dist/chunks/color-slider-44ez96fc.js +79 -0
  12. package/dist/chunks/color-xgg3kfw7.js +35 -0
  13. package/dist/chunks/combobox-5e7jev23.js +236 -0
  14. package/dist/chunks/components-2w1f35qs.js +18 -0
  15. package/dist/chunks/content-source-3wqeas45.js +46 -0
  16. package/dist/chunks/convert-to-repeater-d0cgnb6d.js +639 -0
  17. package/dist/chunks/dialog-s890b918.js +85 -0
  18. package/dist/chunks/editor-3qhbg51x.js +35 -0
  19. package/dist/chunks/entry-commands-d6g50j7s.js +42 -0
  20. package/dist/chunks/extension-sections-fy7q4fe9.js +651 -0
  21. package/dist/chunks/file-ops-3btj6st0.js +47 -0
  22. package/dist/chunks/files-ef8fgs3w.js +72 -0
  23. package/dist/chunks/format-host-3c33nwr8.js +40 -0
  24. package/dist/chunks/fs-events-13tj6sex.js +18 -0
  25. package/dist/chunks/git-panel-4wp2rn9b.js +49 -0
  26. package/dist/chunks/icons-yy10wk9r.js +402 -0
  27. package/dist/chunks/iframe-entry-15g3n6xv.js +114 -0
  28. package/dist/chunks/iframe-entry-b27vq81n.js +203 -0
  29. package/dist/chunks/iframe-entry-nbyxee1y.js +154 -0
  30. package/dist/chunks/iframe-host-jgesd924.js +115 -0
  31. package/dist/chunks/{index-nj44jpzj.js → index-mdmyx6s2.js} +11 -11
  32. package/dist/chunks/index-n4j7qxyr.js +109 -0
  33. package/dist/chunks/{javascript-q8kpmfah.js → javascript-xvrfrpkb.js} +8 -9
  34. package/dist/chunks/{jsonMode-dkr040ga.js → jsonMode-tyx2kj6p.js} +526 -527
  35. package/dist/chunks/jx-validate-j0wxk72w.js +15 -0
  36. package/dist/chunks/layers-1nq5evsh.js +29 -0
  37. package/dist/chunks/layers-panel-ar2gh90g.js +40 -0
  38. package/dist/chunks/listbox-6v2ac08j.js +44 -0
  39. package/dist/chunks/lit-html-m244w9nh.js +17 -0
  40. package/dist/chunks/media-picker-2qbetq73.js +33 -0
  41. package/dist/chunks/menu-q99sy9rf.js +285 -0
  42. package/dist/chunks/menu-rf7n72mf.js +14 -0
  43. package/dist/chunks/{monaco-binding-rj6xpx9y.js → monaco-binding-sw6en4dw.js} +12 -15
  44. package/dist/chunks/monaco-buffer-bhy3hb6m.js +24 -0
  45. package/dist/chunks/{monaco-setup-rws7k4br.js → monaco-setup-8r62fj6y.js} +27 -37
  46. package/dist/chunks/notify-628t0anh.js +21 -0
  47. package/dist/chunks/number-field-5cndyft8.js +72 -0
  48. package/dist/chunks/parse-0zx14y15.js +10 -0
  49. package/dist/chunks/platform-ts9cg1a4.js +15 -0
  50. package/dist/chunks/popover-47z3ytva.js +25 -0
  51. package/dist/chunks/publish-panel-98f7sr3g.js +27 -0
  52. package/dist/chunks/quick-search-srzz83k2.js +45 -0
  53. package/dist/chunks/references-n553f0e1.js +26 -0
  54. package/dist/chunks/right-panel-rrgx2dn3.js +45 -0
  55. package/dist/chunks/section-registry-5pq32t0q.js +25 -0
  56. package/dist/chunks/select-2r16ez41.js +49 -0
  57. package/dist/chunks/split-g7nm1rgb.js +191 -0
  58. package/dist/chunks/studio-0hqbpbd0.js +62 -0
  59. package/dist/chunks/studio-18avnhjp.js +2430 -0
  60. package/dist/chunks/{studio-kryvsw6j.js → studio-1k325pwf.js} +48 -48
  61. package/dist/chunks/{studio-hbtp0eh1.js → studio-25hkdrkw.js} +356 -85
  62. package/dist/chunks/studio-26d7myd1.js +258 -0
  63. package/dist/chunks/{studio-p8j86wag.js → studio-38emantv.js} +22 -5
  64. package/dist/chunks/studio-3gxv60tn.js +422 -0
  65. package/dist/chunks/{studio-8swrjbny.js → studio-3hxkd92t.js} +275 -163
  66. package/dist/chunks/studio-4m0haseg.js +185 -0
  67. package/dist/chunks/{studio-ynxwkrzd.js → studio-4wbb9ct0.js} +1953 -1785
  68. package/dist/chunks/{studio-gv8vvshc.js → studio-5523bpzt.js} +11 -11
  69. package/dist/chunks/{studio-5q69gfag.js → studio-57mf66w2.js} +1753 -2484
  70. package/dist/chunks/studio-5jy81t3s.js +17463 -0
  71. package/dist/chunks/studio-5rt7sqa0.js +1168 -0
  72. package/dist/chunks/studio-5te5tqng.js +81 -0
  73. package/dist/chunks/{studio-p4ngc046.js → studio-6ewqv390.js} +9 -9
  74. package/dist/chunks/{studio-9ab8gqsm.js → studio-6nzaktvy.js} +7 -7
  75. package/dist/chunks/studio-6xa21ej9.js +28 -0
  76. package/dist/chunks/{studio-5ehhackm.js → studio-727xh0e3.js} +19 -19
  77. package/dist/chunks/{studio-eenfkt4e.js → studio-79y5sz51.js} +52 -38
  78. package/dist/chunks/{studio-4q0wznzf.js → studio-7e11jpa9.js} +461 -145
  79. package/dist/chunks/{studio-q7v10cg2.js → studio-7r42c6ca.js} +17 -7
  80. package/dist/chunks/studio-7xptrg0j.js +954 -0
  81. package/dist/chunks/{studio-cft9r4r7.js → studio-81390n6f.js} +22 -22
  82. package/dist/chunks/{studio-q43a5y9h.js → studio-8jn5yhyn.js} +16 -16
  83. package/dist/chunks/studio-8qtrpzr3.js +839 -0
  84. package/dist/chunks/{studio-dg7zyt5x.js → studio-98b3z07n.js} +1 -1
  85. package/dist/chunks/studio-9xxz1q69.js +1356 -0
  86. package/dist/chunks/studio-akbww0j5.js +13615 -0
  87. package/dist/chunks/studio-arfpe389.js +195 -0
  88. package/dist/chunks/{studio-2zkz8evn.js → studio-az3zd49t.js} +473 -281
  89. package/dist/chunks/studio-cpvb2ed1.js +1171 -0
  90. package/dist/chunks/{studio-9r6j5ev1.js → studio-d0300636.js} +5078 -19
  91. package/dist/chunks/{studio-bgxt93ga.js → studio-d055c37e.js} +13 -13
  92. package/dist/chunks/studio-d1ja2x9r.js +362 -0
  93. package/dist/chunks/{studio-b9b6t1dg.js → studio-e1f24eff.js} +5664 -5666
  94. package/dist/chunks/{studio-4pqqxbrt.js → studio-em9nw8eh.js} +301 -112
  95. package/dist/chunks/studio-erdatzvp.js +1190 -0
  96. package/dist/chunks/{studio-g1wdche0.js → studio-esrxgwh6.js} +80 -80
  97. package/dist/chunks/studio-fabxk6r9.js +2811 -0
  98. package/dist/chunks/{studio-3n4ndrzh.js → studio-h4nvnjvz.js} +303 -303
  99. package/dist/chunks/studio-hhvs4sdg.js +195 -0
  100. package/dist/chunks/{studio-68n67094.js → studio-kcgff4r0.js} +15 -18
  101. package/dist/chunks/{studio-685s0ytq.js → studio-nqgawfks.js} +572 -572
  102. package/dist/chunks/{studio-xrapxwwc.js → studio-p1dw8wfw.js} +55 -29
  103. package/dist/chunks/studio-pm6hgy7r.js +4763 -0
  104. package/dist/chunks/studio-q0a3yk4n.js +33 -0
  105. package/dist/chunks/{studio-wcy8trfx.js → studio-q3x06vmj.js} +23 -22
  106. package/dist/chunks/studio-qahxvnan.js +111 -0
  107. package/dist/chunks/{studio-53n8bp04.js → studio-r6xmmtfh.js} +1 -1
  108. package/dist/chunks/{studio-kjjsjak4.js → studio-rkstz940.js} +3661 -6136
  109. package/dist/chunks/{studio-tvgyw9xw.js → studio-rnyf3f8e.js} +83 -250
  110. package/dist/chunks/studio-rpyah2ew.js +2805 -0
  111. package/dist/chunks/studio-rs76k67r.js +12 -0
  112. package/dist/chunks/{studio-yxrkyv8a.js → studio-s6z853aq.js} +12108 -11766
  113. package/dist/chunks/{studio-sf7zjgv1.js → studio-sgdc5pfc.js} +8 -8
  114. package/dist/chunks/studio-tb3ev01j.js +763 -0
  115. package/dist/chunks/{studio-t5wqwzdh.js → studio-tjjk7jvk.js} +1 -1
  116. package/dist/chunks/studio-vhv5tgxm.js +51 -0
  117. package/dist/chunks/{studio-htsf0w6m.js → studio-vz68yn9e.js} +31 -154
  118. package/dist/chunks/studio-wqpngpsk.js +174 -0
  119. package/dist/chunks/{studio-eesa1myv.js → studio-x3rty6tr.js} +58 -58
  120. package/dist/chunks/studio-xsykpvsh.js +8448 -0
  121. package/dist/chunks/{studio-92ab2jqe.js → studio-y9zedyjn.js} +14 -14
  122. package/dist/chunks/studio-yxa81f45.js +12 -0
  123. package/dist/chunks/swatch-group-t0n6h2rn.js +139 -0
  124. package/dist/chunks/tabs-wbp1cdws.js +156 -0
  125. package/dist/chunks/textfield-abk6qyee.js +73 -0
  126. package/dist/chunks/toast-780pvfbv.js +27 -0
  127. package/dist/chunks/toast-host-3sqv46sn.js +116 -0
  128. package/dist/chunks/toolbar-xbh5bhtr.js +194 -0
  129. package/dist/chunks/tooltip-eptb614w.js +369 -0
  130. package/dist/chunks/tree-a73p0pqm.js +367 -0
  131. package/dist/chunks/{tsMode-76kr53q0.js → tsMode-jy4m86rv.js} +83 -85
  132. package/dist/chunks/workspace-wrew8zk4.js +69 -0
  133. package/dist/chunks/{ws-client-6shc5rze.js → ws-client-ny4zc51r.js} +20 -22
  134. package/dist/iframe-entry.js +1812 -698
  135. package/dist/manifest.json +7 -0
  136. package/dist/studio.js +52900 -36573
  137. package/dist/workers/editor.worker.js +1040 -1085
  138. package/dist/workers/json.worker.js +1946 -1991
  139. package/dist/workers/ts.worker.js +4960 -5005
  140. package/favicon.ico +0 -0
  141. package/index.html +2 -0
  142. package/package.json +22 -55
  143. package/src/about/about-modal.ts +73 -123
  144. package/src/browse/library-commands.ts +20 -49
  145. package/src/browse/library-layouts.ts +87 -218
  146. package/src/browse/library-pane.ts +406 -438
  147. package/src/canvas/canvas-helpers.ts +0 -49
  148. package/src/canvas/canvas-live-render.ts +25 -2
  149. package/src/canvas/canvas-render.ts +666 -231
  150. package/src/canvas/canvas-surface.ts +0 -1
  151. package/src/canvas/canvas-utils.ts +310 -117
  152. package/src/canvas/dialog-path.ts +76 -0
  153. package/src/canvas/dialog-state.ts +67 -0
  154. package/src/canvas/diff-marks.ts +252 -0
  155. package/src/canvas/diff-toolbar.ts +349 -0
  156. package/src/canvas/diff-view.ts +123 -0
  157. package/src/canvas/edit-width-drag.ts +187 -0
  158. package/src/canvas/edit-width.ts +150 -0
  159. package/src/canvas/iframe-entry.ts +125 -8
  160. package/src/canvas/iframe-host.ts +271 -15
  161. package/src/canvas/iframe-interaction.ts +133 -13
  162. package/src/canvas/iframe-patch.ts +7 -1
  163. package/src/canvas/iframe-position.ts +5 -6
  164. package/src/canvas/iframe-protocol.ts +106 -5
  165. package/src/canvas/iframe-render.ts +373 -5
  166. package/src/canvas/iframe-slash.ts +2 -2
  167. package/src/canvas/iframe-subtree.ts +5 -8
  168. package/src/canvas/path-mapping.ts +25 -3
  169. package/src/canvas/popover-path.ts +106 -0
  170. package/src/canvas/popover-state.ts +155 -0
  171. package/src/canvas/surface-registry.ts +21 -10
  172. package/src/collab/presence-chips.ts +51 -73
  173. package/src/commands/app-commands.ts +10 -0
  174. package/src/commands/budget.ts +12 -0
  175. package/src/commands/command-args.ts +369 -6
  176. package/src/commands/defaults.ts +44 -14
  177. package/src/commands/live-context.ts +11 -5
  178. package/src/commands/reference.ts +12 -2
  179. package/src/commands/registry.ts +165 -8
  180. package/src/content/entry-commands.ts +16 -23
  181. package/src/content/entry-editor.ts +144 -101
  182. package/src/editor/canvas-slash-bridge.ts +2 -2
  183. package/src/editor/context-menu.ts +49 -200
  184. package/src/editor/convert-to-component.ts +42 -82
  185. package/src/editor/convert-to-repeater.ts +132 -173
  186. package/src/editor/inline-edit.ts +11 -0
  187. package/src/editor/shortcuts.ts +65 -26
  188. package/src/editor/slash-menu.ts +150 -157
  189. package/src/files/file-ops.ts +117 -11
  190. package/src/files/files.ts +949 -664
  191. package/src/files/json-layout.ts +474 -0
  192. package/src/files/media-paths.ts +13 -42
  193. package/src/files/media-usage.ts +41 -131
  194. package/src/files/serialize-document.ts +8 -1
  195. package/src/format/convert-file.ts +16 -10
  196. package/src/format/format-host.ts +50 -1
  197. package/src/github/github-auth.ts +71 -29
  198. package/src/github/github-publish.ts +57 -65
  199. package/src/grid/cell-editors.ts +46 -4
  200. package/src/grid/cell-popovers.ts +65 -62
  201. package/src/grid/grid-open.ts +86 -64
  202. package/src/grid/grid-panel.ts +390 -469
  203. package/src/grid/redirects-grid.ts +40 -44
  204. package/src/hosting/document.ts +2 -0
  205. package/src/hosting/layout.ts +10 -0
  206. package/src/i18n/i18n-commands.ts +127 -62
  207. package/src/media/media-pane.ts +83 -133
  208. package/src/new-project/add-repo-modal.ts +125 -176
  209. package/src/new-project/import-tab.ts +201 -250
  210. package/src/new-project/location-fields.ts +101 -165
  211. package/src/new-project/new-project-modal.ts +376 -367
  212. package/src/packages/jxsuite-update.ts +76 -18
  213. package/src/panels/activity-panel.ts +137 -104
  214. package/src/panels/ai-chat/chat-markdown.ts +15 -13
  215. package/src/panels/ai-chat/chat-view.ts +307 -472
  216. package/src/panels/ai-chat/composer.ts +175 -153
  217. package/src/panels/ai-chat/sessions-view.ts +31 -62
  218. package/src/panels/ai-panel.ts +210 -185
  219. package/src/panels/block-action-bar.ts +437 -643
  220. package/src/panels/bottom-dock.ts +112 -47
  221. package/src/panels/chat-panel.ts +19 -14
  222. package/src/panels/data-explorer.ts +141 -102
  223. package/src/panels/data-grid.ts +183 -150
  224. package/src/panels/dnd.ts +75 -20
  225. package/src/panels/editors.ts +26 -19
  226. package/src/panels/elements-panel.ts +243 -186
  227. package/src/panels/empty-state.ts +26 -42
  228. package/src/panels/events-panel.ts +950 -729
  229. package/src/panels/formula-workspace.ts +434 -207
  230. package/src/panels/frontmatter-fields.ts +185 -153
  231. package/src/panels/frontmatter-panel.ts +411 -187
  232. package/src/panels/git-diff-open.ts +148 -0
  233. package/src/panels/git-panel.ts +679 -605
  234. package/src/panels/head-panel.ts +617 -435
  235. package/src/panels/i18n-panel.ts +153 -133
  236. package/src/panels/imports-panel.ts +388 -414
  237. package/src/panels/jump-bar.ts +174 -147
  238. package/src/panels/layers-panel.ts +785 -671
  239. package/src/panels/left-panel.ts +166 -94
  240. package/src/panels/navigator-panels.ts +1 -1
  241. package/src/panels/pane-context.ts +529 -677
  242. package/src/panels/pane-grid.ts +265 -241
  243. package/src/panels/panel-registry.ts +15 -4
  244. package/src/panels/problems-panel.ts +177 -99
  245. package/src/panels/properties-panel.ts +1525 -966
  246. package/src/panels/provenance.ts +31 -113
  247. package/src/panels/quick-search.ts +217 -172
  248. package/src/panels/right-panel.ts +135 -169
  249. package/src/panels/seo-modal.ts +346 -167
  250. package/src/panels/settings-menu.ts +109 -646
  251. package/src/panels/settings-pane.ts +102 -86
  252. package/src/panels/signals-panel.ts +1318 -1172
  253. package/src/panels/statement-editor.ts +556 -428
  254. package/src/panels/style-panel.ts +1367 -630
  255. package/src/panels/style-utils.ts +36 -32
  256. package/src/panels/stylebook-doc.ts +30 -73
  257. package/src/panels/stylebook-layers-panel.ts +202 -109
  258. package/src/panels/stylebook-panel.ts +124 -88
  259. package/src/panels/tab-strip.ts +385 -287
  260. package/src/platforms/cloud.ts +347 -86
  261. package/src/platforms/devserver.ts +13 -0
  262. package/src/publish/deploy-checklist.ts +124 -78
  263. package/src/publish/publish-commands.ts +4 -12
  264. package/src/publish/publish-panel.ts +165 -299
  265. package/src/services/a11y-report.ts +100 -43
  266. package/src/services/ai-command-tools.ts +468 -0
  267. package/src/services/ai-import-tools.ts +50 -12
  268. package/src/services/ai-models.ts +108 -1
  269. package/src/services/ai-session-store.ts +6 -0
  270. package/src/services/ai-system-prompt.ts +110 -18
  271. package/src/services/ai-tools.ts +28 -143
  272. package/src/services/ai-write-report.ts +174 -0
  273. package/src/services/context-manager.ts +12 -1
  274. package/src/services/document-assistant.ts +50 -2
  275. package/src/services/idle.ts +16 -14
  276. package/src/services/live-surfaces.ts +237 -0
  277. package/src/services/model-uri.ts +75 -0
  278. package/src/services/notify.ts +63 -6
  279. package/src/services/popover-report.ts +325 -0
  280. package/src/services/surface-registry.ts +56 -0
  281. package/src/services/tool-executor.ts +17 -0
  282. package/src/settings/contexts-section.ts +301 -299
  283. package/src/settings/contributed-section.ts +361 -222
  284. package/src/settings/css-vars-editor.ts +320 -325
  285. package/src/settings/defs-editor.ts +572 -535
  286. package/src/settings/dependencies-editor.ts +79 -107
  287. package/src/settings/extension-commands.ts +379 -0
  288. package/src/settings/extension-rows.ts +113 -0
  289. package/src/settings/extensions-section.ts +287 -0
  290. package/src/settings/general-settings.ts +130 -181
  291. package/src/settings/head-editor.ts +10 -305
  292. package/src/settings/locales-section.ts +146 -196
  293. package/src/settings/preferences-accounts.ts +193 -12
  294. package/src/settings/preferences-dialog.ts +384 -307
  295. package/src/settings/project-sections.ts +108 -181
  296. package/src/settings/schema-field-ui.ts +11 -399
  297. package/src/settings/section-registry.ts +8 -1
  298. package/src/settings/settings-document.ts +31 -29
  299. package/src/shell/tree.ts +42 -87
  300. package/src/shell.ts +48 -36
  301. package/src/studio.ts +90 -67
  302. package/src/style/token-ref.ts +0 -39
  303. package/src/surfaces/about.json +263 -0
  304. package/src/surfaces/about.ts +163 -0
  305. package/src/surfaces/add-repo.json +486 -0
  306. package/src/surfaces/add-repo.ts +236 -0
  307. package/src/surfaces/ai-chat.json +2185 -0
  308. package/src/surfaces/ai-chat.ts +549 -0
  309. package/src/surfaces/ai-credentials-form.json +332 -0
  310. package/src/surfaces/ai-credentials-form.ts +151 -0
  311. package/src/surfaces/ai-managed-connect.json +108 -0
  312. package/src/surfaces/ai-managed-connect.ts +123 -0
  313. package/src/surfaces/ai-model-picker.json +114 -0
  314. package/src/surfaces/ai-model-picker.ts +139 -0
  315. package/src/surfaces/block-action-bar.json +640 -0
  316. package/src/surfaces/block-action-bar.ts +368 -0
  317. package/src/surfaces/bottom-dock.json +154 -0
  318. package/src/surfaces/bottom-dock.ts +125 -0
  319. package/src/surfaces/canvas-stage.json +444 -0
  320. package/src/surfaces/canvas-stage.ts +253 -0
  321. package/src/surfaces/cf-account-picker.json +300 -0
  322. package/src/surfaces/cf-account-picker.ts +214 -0
  323. package/src/surfaces/commandbar.json +984 -0
  324. package/src/{panels/toolbar.ts → surfaces/commandbar.ts} +414 -389
  325. package/src/surfaces/convert-repeater.json +309 -0
  326. package/src/surfaces/convert-repeater.ts +276 -0
  327. package/src/surfaces/data-actions.json +157 -0
  328. package/src/surfaces/data-actions.ts +115 -0
  329. package/src/surfaces/dialog.json +289 -0
  330. package/src/surfaces/dialog.ts +343 -0
  331. package/src/surfaces/diff-toolbar.json +266 -0
  332. package/src/surfaces/diff-toolbar.ts +139 -0
  333. package/src/surfaces/doc-header.json +739 -0
  334. package/src/surfaces/doc-header.ts +223 -0
  335. package/src/surfaces/empty-state.json +152 -0
  336. package/src/surfaces/empty-state.ts +173 -0
  337. package/src/surfaces/entry-editor.json +281 -0
  338. package/src/surfaces/entry-editor.ts +191 -0
  339. package/src/surfaces/expression-editor.json +977 -0
  340. package/src/surfaces/expression-editor.ts +266 -0
  341. package/src/surfaces/files-panel.json +592 -0
  342. package/src/surfaces/files-panel.ts +301 -0
  343. package/src/surfaces/formula-palette.json +364 -0
  344. package/src/surfaces/formula-palette.ts +340 -0
  345. package/src/surfaces/git-panel.json +1822 -0
  346. package/src/surfaces/git-panel.ts +272 -0
  347. package/src/surfaces/github-auth.json +112 -0
  348. package/src/surfaces/github-auth.ts +139 -0
  349. package/src/surfaces/github-publish.json +206 -0
  350. package/src/surfaces/github-publish.ts +169 -0
  351. package/src/surfaces/grid-cell.json +218 -0
  352. package/src/surfaces/grid-cell.ts +120 -0
  353. package/src/surfaces/grid-open.json +147 -0
  354. package/src/surfaces/grid-open.ts +87 -0
  355. package/src/surfaces/grid-panel.json +706 -0
  356. package/src/surfaces/grid-panel.ts +206 -0
  357. package/src/surfaces/grid-replace.json +179 -0
  358. package/src/surfaces/grid-replace.ts +89 -0
  359. package/src/surfaces/grid-views.json +446 -0
  360. package/src/surfaces/grid-views.ts +172 -0
  361. package/src/surfaces/inspector-dock.json +187 -0
  362. package/src/surfaces/inspector-dock.ts +161 -0
  363. package/src/surfaces/jump-bar.json +243 -0
  364. package/src/surfaces/jump-bar.ts +129 -0
  365. package/src/surfaces/jxsuite-update.json +146 -0
  366. package/src/surfaces/jxsuite-update.ts +149 -0
  367. package/src/surfaces/library-pane.json +1509 -0
  368. package/src/surfaces/library-pane.ts +363 -0
  369. package/src/surfaces/logic-panel.json +1949 -0
  370. package/src/surfaces/logic-panel.ts +369 -0
  371. package/src/surfaces/logic-workspace.json +685 -0
  372. package/src/surfaces/logic-workspace.ts +238 -0
  373. package/src/surfaces/media-browser.json +303 -0
  374. package/src/surfaces/media-browser.ts +145 -0
  375. package/src/surfaces/media-field.json +163 -0
  376. package/src/surfaces/media-field.ts +116 -0
  377. package/src/surfaces/media-pane.json +513 -0
  378. package/src/surfaces/media-pane.ts +197 -0
  379. package/src/surfaces/menu.json +232 -0
  380. package/src/surfaces/menu.ts +375 -0
  381. package/src/surfaces/navigator-dock.json +113 -0
  382. package/src/surfaces/navigator-dock.ts +130 -0
  383. package/src/surfaces/new-project.json +1654 -0
  384. package/src/surfaces/new-project.ts +411 -0
  385. package/src/surfaces/palette.json +535 -0
  386. package/src/surfaces/pane-context.json +1497 -0
  387. package/src/surfaces/pane-context.ts +513 -0
  388. package/src/surfaces/pane-grid.json +188 -0
  389. package/src/surfaces/pane-grid.ts +250 -0
  390. package/src/surfaces/panel-activity.json +563 -0
  391. package/src/surfaces/panel-activity.ts +187 -0
  392. package/src/surfaces/panel-data.json +141 -0
  393. package/src/surfaces/panel-data.ts +156 -0
  394. package/src/surfaces/panel-deploy-checklist.json +283 -0
  395. package/src/surfaces/panel-deploy-checklist.ts +175 -0
  396. package/src/surfaces/panel-elements.json +367 -0
  397. package/src/surfaces/panel-elements.ts +175 -0
  398. package/src/surfaces/panel-i18n.json +569 -0
  399. package/src/surfaces/panel-i18n.ts +212 -0
  400. package/src/surfaces/panel-imports.json +780 -0
  401. package/src/surfaces/panel-imports.ts +209 -0
  402. package/src/surfaces/panel-outline.json +734 -0
  403. package/src/surfaces/panel-outline.ts +326 -0
  404. package/src/surfaces/panel-page.json +1017 -0
  405. package/src/surfaces/panel-page.ts +240 -0
  406. package/src/surfaces/panel-problems.json +497 -0
  407. package/src/surfaces/panel-problems.ts +157 -0
  408. package/src/surfaces/panel-signals.json +1973 -0
  409. package/src/surfaces/panel-signals.ts +436 -0
  410. package/src/surfaces/panel-stylebook-layers.json +317 -0
  411. package/src/surfaces/panel-stylebook-layers.ts +155 -0
  412. package/src/surfaces/preferences.json +850 -0
  413. package/src/surfaces/preferences.ts +332 -0
  414. package/src/surfaces/progress-modal.json +110 -0
  415. package/src/surfaces/progress-modal.ts +150 -0
  416. package/src/surfaces/properties-panel.json +1578 -0
  417. package/src/surfaces/properties-panel.ts +337 -0
  418. package/src/surfaces/publish.json +945 -0
  419. package/src/surfaces/publish.ts +392 -0
  420. package/src/surfaces/push-plan.json +110 -0
  421. package/src/surfaces/push-plan.ts +87 -0
  422. package/src/surfaces/rail.json +255 -0
  423. package/src/surfaces/rail.ts +206 -0
  424. package/src/surfaces/reference-field.json +191 -0
  425. package/src/surfaces/reference-field.ts +168 -0
  426. package/src/surfaces/schema-builder.json +1011 -0
  427. package/src/surfaces/schema-builder.ts +181 -0
  428. package/src/surfaces/schema-form.json +1013 -0
  429. package/src/surfaces/schema-form.ts +287 -0
  430. package/src/surfaces/secret-field.json +60 -0
  431. package/src/surfaces/secret-field.ts +146 -0
  432. package/src/surfaces/seo.json +932 -0
  433. package/src/surfaces/seo.ts +334 -0
  434. package/src/surfaces/settings-contexts.json +538 -0
  435. package/src/surfaces/settings-contexts.ts +196 -0
  436. package/src/surfaces/settings-contributed.json +489 -0
  437. package/src/surfaces/settings-contributed.ts +199 -0
  438. package/src/surfaces/settings-css-vars.json +820 -0
  439. package/src/surfaces/settings-css-vars.ts +199 -0
  440. package/src/surfaces/settings-defs.json +1363 -0
  441. package/src/surfaces/settings-defs.ts +232 -0
  442. package/src/surfaces/settings-deploy.json +108 -0
  443. package/src/surfaces/settings-deploy.ts +135 -0
  444. package/src/surfaces/settings-extensions.json +486 -0
  445. package/src/surfaces/settings-extensions.ts +201 -0
  446. package/src/surfaces/settings-head.json +779 -0
  447. package/src/surfaces/settings-head.ts +397 -0
  448. package/src/surfaces/settings-locales.json +420 -0
  449. package/src/surfaces/settings-locales.ts +137 -0
  450. package/src/surfaces/settings-overview.json +423 -0
  451. package/src/surfaces/settings-overview.ts +218 -0
  452. package/src/surfaces/settings-packages.json +549 -0
  453. package/src/surfaces/settings-packages.ts +158 -0
  454. package/src/surfaces/settings-pane.json +147 -0
  455. package/src/surfaces/settings-pane.ts +150 -0
  456. package/src/surfaces/settings-rawjson.json +104 -0
  457. package/src/surfaces/settings-rawjson.ts +107 -0
  458. package/src/surfaces/shell.json +99 -0
  459. package/src/surfaces/shell.ts +30 -0
  460. package/src/surfaces/slash-menu.json +180 -0
  461. package/src/surfaces/slash-menu.ts +272 -0
  462. package/src/surfaces/statements.json +607 -0
  463. package/src/surfaces/statements.ts +238 -0
  464. package/src/surfaces/statusbar.json +94 -0
  465. package/src/{panels → surfaces}/statusbar.ts +163 -90
  466. package/src/surfaces/style-panel.json +1643 -0
  467. package/src/surfaces/style-panel.ts +338 -0
  468. package/src/surfaces/stylebook-chrome.json +122 -0
  469. package/src/surfaces/stylebook-chrome.ts +122 -0
  470. package/src/surfaces/tab-strip.json +448 -0
  471. package/src/surfaces/tab-strip.ts +200 -0
  472. package/src/surfaces/target-line.json +419 -0
  473. package/src/surfaces/target-line.ts +349 -0
  474. package/src/surfaces/toasts.json +189 -0
  475. package/src/surfaces/welcome.json +571 -0
  476. package/src/surfaces/welcome.ts +338 -0
  477. package/src/tabs/project-config.ts +71 -15
  478. package/src/tabs/tab.ts +52 -1
  479. package/src/types.ts +49 -3
  480. package/src/ui/ai-credentials-form.ts +104 -100
  481. package/src/ui/ai-managed-connect.ts +116 -49
  482. package/src/ui/ai-model-picker.ts +102 -47
  483. package/src/ui/cf-account-picker.ts +135 -0
  484. package/src/ui/color-selector.ts +80 -301
  485. package/src/ui/dynamic-slot.ts +43 -283
  486. package/src/ui/expression-editor.ts +797 -576
  487. package/src/ui/field-input.ts +8 -181
  488. package/src/ui/form-controls.ts +838 -366
  489. package/src/ui/formula-chips.ts +80 -85
  490. package/src/ui/kit.ts +33 -0
  491. package/src/ui/layers.ts +293 -593
  492. package/src/ui/media-picker.ts +203 -284
  493. package/src/ui/panel-resize.ts +251 -64
  494. package/src/ui/popover-surface.ts +153 -0
  495. package/src/ui/progress-modal.ts +22 -60
  496. package/src/ui/regions.ts +13 -7
  497. package/src/ui/schema-form.ts +906 -440
  498. package/src/ui/surface.ts +122 -0
  499. package/src/ui/unit-selector.ts +15 -131
  500. package/src/ui/value-source.ts +14 -0
  501. package/src/ui/virtual-window.ts +88 -9
  502. package/src/utils/canvas-media.ts +72 -0
  503. package/src/utils/edit-display.ts +7 -2
  504. package/src/utils/element-selectors.ts +69 -0
  505. package/src/utils/link-target.ts +2 -2
  506. package/src/utils/studio-utils.ts +0 -10
  507. package/src/view.ts +15 -0
  508. package/src/workspace/pane-derive.ts +36 -14
  509. package/src/workspace/workspace.ts +15 -6
  510. package/styles/canvas.css +72 -467
  511. package/styles/forced-colors.css +48 -82
  512. package/styles/forced-colors.json +41 -0
  513. package/styles/inspector.css +2 -1301
  514. package/styles/overlays.css +96 -2823
  515. package/styles/panels.css +6 -1423
  516. package/styles/shell-frame.css +272 -0
  517. package/styles/shell-frame.json +227 -0
  518. package/styles/shell.css +0 -1532
  519. package/styles/tokens.css +65 -136
  520. package/styles/tokens.json +84 -0
  521. package/dist/chunks/Overlay.dev-723bv0df.js +0 -23
  522. package/dist/chunks/adapter-jkcyhgtr.js +0 -14
  523. package/dist/chunks/cf-settings-45fgyx8y.js +0 -21
  524. package/dist/chunks/components-zmx10t62.js +0 -21
  525. package/dist/chunks/content-source-t88vb2dr.js +0 -49
  526. package/dist/chunks/convert-to-repeater-dhw1nrz9.js +0 -268
  527. package/dist/chunks/editor-cptq5jp1.js +0 -37
  528. package/dist/chunks/entry-commands-6z6bhxg0.js +0 -46
  529. package/dist/chunks/extension-sections-3ydgjbdy.js +0 -311
  530. package/dist/chunks/file-ops-rskmhxyq.js +0 -48
  531. package/dist/chunks/files-0cratsr0.js +0 -92
  532. package/dist/chunks/flow-qbfgrpeh.js +0 -634
  533. package/dist/chunks/focus-trap.esm-ggawf1hy.js +0 -1024
  534. package/dist/chunks/focus-visible-6eg70z18.js +0 -167
  535. package/dist/chunks/format-host-tgcmfs4p.js +0 -43
  536. package/dist/chunks/fs-events-hrrg328g.js +0 -21
  537. package/dist/chunks/git-panel-0yywyk76.js +0 -58
  538. package/dist/chunks/index-zqxmqxmh.js +0 -109
  539. package/dist/chunks/jx-validate-8q2g05x1.js +0 -19
  540. package/dist/chunks/layers-panel-z3tqe5cd.js +0 -67
  541. package/dist/chunks/layers-q75tj2mf.js +0 -45
  542. package/dist/chunks/lit-html-j055mkh8.js +0 -22
  543. package/dist/chunks/monaco-buffer-dqw0xxpx.js +0 -25
  544. package/dist/chunks/notify-yjm79n4s.js +0 -30
  545. package/dist/chunks/parse-24d0gay3.js +0 -19
  546. package/dist/chunks/platform-ba1j1gbh.js +0 -16
  547. package/dist/chunks/publish-panel-54jvhskq.js +0 -28
  548. package/dist/chunks/quick-search-cgfmjwq5.js +0 -65
  549. package/dist/chunks/references-3qx8fkyp.js +0 -29
  550. package/dist/chunks/right-panel-cqp8bc4v.js +0 -46
  551. package/dist/chunks/section-registry-sx1ykvkw.js +0 -30
  552. package/dist/chunks/sp-overlay.dev-yztmtrs1.js +0 -18
  553. package/dist/chunks/sp-popover.dev-n2etmqdp.js +0 -9
  554. package/dist/chunks/sp-progress-circle.dev-hryhj0es.js +0 -15
  555. package/dist/chunks/sp-tooltip.dev-xcvpnqr0.js +0 -15
  556. package/dist/chunks/sp-tray.dev-tkbscm06.js +0 -199
  557. package/dist/chunks/studio-0a5qrh01.js +0 -3
  558. package/dist/chunks/studio-18j3bmcz.js +0 -14
  559. package/dist/chunks/studio-1hbqnt19.js +0 -1823
  560. package/dist/chunks/studio-4rzyrtjz.js +0 -426
  561. package/dist/chunks/studio-5rywrkxz.js +0 -1903
  562. package/dist/chunks/studio-7afd21nw.js +0 -67
  563. package/dist/chunks/studio-7nte2hj4.js +0 -613
  564. package/dist/chunks/studio-8jpzqk5s.js +0 -128
  565. package/dist/chunks/studio-8q517dfr.js +0 -24
  566. package/dist/chunks/studio-9c4k4vhv.js +0 -357
  567. package/dist/chunks/studio-9n4mrmnb.js +0 -184
  568. package/dist/chunks/studio-a0tswy0w.js +0 -58
  569. package/dist/chunks/studio-ahjfdy6e.js +0 -387
  570. package/dist/chunks/studio-ahnzd9rg.js +0 -23
  571. package/dist/chunks/studio-bw5dz6km.js +0 -608
  572. package/dist/chunks/studio-cb12yz9w.js +0 -15055
  573. package/dist/chunks/studio-d1ks410h.js +0 -175
  574. package/dist/chunks/studio-eqq1w638.js +0 -113
  575. package/dist/chunks/studio-ex8zyp98.js +0 -1813
  576. package/dist/chunks/studio-h4rxscfc.js +0 -10
  577. package/dist/chunks/studio-kyh9avvv.js +0 -28
  578. package/dist/chunks/studio-kyk2v92a.js +0 -659
  579. package/dist/chunks/studio-m3hwn7y1.js +0 -120
  580. package/dist/chunks/studio-mmv72a27.js +0 -4344
  581. package/dist/chunks/studio-n8b9wqwy.js +0 -291
  582. package/dist/chunks/studio-pdfjntbk.js +0 -6939
  583. package/dist/chunks/studio-qq6jym04.js +0 -53
  584. package/dist/chunks/studio-r1r7afxx.js +0 -1066
  585. package/dist/chunks/studio-rdx8jcxy.js +0 -83
  586. package/dist/chunks/studio-rn9ta2mz.js +0 -111
  587. package/dist/chunks/studio-t7qb9db8.js +0 -665
  588. package/dist/chunks/studio-tmc5emrw.js +0 -8
  589. package/dist/chunks/studio-txwkm6p9.js +0 -12
  590. package/dist/chunks/studio-v38hmvx1.js +0 -390
  591. package/dist/chunks/studio-vadzgkrz.js +0 -318
  592. package/dist/chunks/studio-wx5609xd.js +0 -341
  593. package/dist/chunks/studio-z6nw2ek2.js +0 -18
  594. package/dist/chunks/studio-zczps70q.js +0 -378
  595. package/dist/chunks/workspace-xpres40v.js +0 -89
  596. package/src/panels/activity-bar.ts +0 -251
  597. package/src/panels/panel-scheduler.ts +0 -219
  598. package/src/panels/style-inputs.ts +0 -237
  599. package/src/panels/target-line.ts +0 -274
  600. package/src/panels/welcome-screen.ts +0 -346
  601. package/src/ui/button-group.ts +0 -102
  602. package/src/ui/choice-field.ts +0 -72
  603. package/src/ui/field-row.ts +0 -249
  604. package/src/ui/formula-palette.ts +0 -213
  605. package/src/ui/icons.ts +0 -52
  606. package/src/ui/jx-theme.ts +0 -130
  607. package/src/ui/spectrum.ts +0 -340
  608. package/src/ui/value-selector.ts +0 -174
  609. package/src/ui/widgets.ts +0 -172
  610. /package/dist/chunks/{javascript-s56a8dpk.css → javascript-4abzjcy9.css} +0 -0
  611. /package/dist/chunks/{jsonMode-zr9sw0c7.css → jsonMode-vvmpmk34.css} +0 -0
  612. /package/dist/chunks/{monaco-setup-pav68602.css → monaco-setup-8vbyqnhr.css} +0 -0
  613. /package/dist/chunks/{tsMode-ef187txx.css → tsMode-hnxxb73h.css} +0 -0
@@ -1,241 +1,241 @@
1
1
  import {
2
- AbstractEditorNavigationQuickAccessProvider,
3
- AnimationFrameScheduler,
4
- ColorDetector,
5
- ColorPickerWidget,
6
- ColorPresentationsCollector,
7
- ContentHoverController,
8
- CopyPasteController,
9
- DefaultDocumentColorProvider,
10
- DefaultDocumentColorProviderFeature,
11
- DefaultDropProvidersFeature,
12
- DefaultPasteProvidersFeature,
13
- DefaultTextPasteOrDropEditProvider,
14
- EditorHoverStatusBar,
15
- ExtColorDataCollector,
16
- HierarchicalKind,
17
- HoverColorPickerParticipant,
18
- HoverParticipantRegistry,
19
- IFileService,
20
- IOutlineModelService,
21
- InlayHintsController,
22
- InlayHintsHover,
23
- InlineProgressManager,
24
- PostEditWidgetManager,
25
- ReferencesController,
26
- StickyScrollController,
27
- _findColorData,
28
- _setupColorCommand,
29
- changePasteTypeCommandId,
30
- createColorHover,
31
- getColors,
32
- getHighlightDecorationOptions,
33
- isOnColorDecorator,
34
- pasteWidgetVisibleCtx,
35
- sortEditsByYieldTo,
36
- toErrorMessage,
37
- updateColorPresentations,
38
- updateEditorModel
39
- } from "./studio-ynxwkrzd.js";
40
- import {
41
- $,
42
- Action2,
43
- CancellationToken,
44
- CancellationTokenSource,
45
- Codicon,
46
- Color,
47
- CommandsRegistry,
48
- ContextKeyEqualsExpr,
49
- ContextKeyExpr,
50
- DeferredPromise,
51
- Delayer,
52
- DiffEditorWidget,
53
- Dimension,
54
- Disposable,
55
- DisposableCancellationTokenSource,
2
+ coalesce,
3
+ isNonEmptyArray,
4
+ compareBy,
5
+ numberComparator,
6
+ reverseOrder,
7
+ onUnexpectedError,
8
+ onUnexpectedExternalError,
9
+ isCancellationError,
10
+ illegalArgument,
11
+ assertType,
12
+ isFunction,
13
+ localize,
14
+ localize2,
15
+ isWindows,
16
+ isIOS,
17
+ isLittleEndian,
18
+ createSingleCallFunction,
19
+ isDisposable,
20
+ dispose,
21
+ toDisposable,
56
22
  DisposableStore,
57
- DocumentHighlightKind,
58
- EDITOR_FONT_DEFAULTS,
59
- EditOperation,
60
- EditorAction,
61
- EditorAction2,
62
- EditorCommand,
63
- EditorContextKeys,
64
- EditorState,
65
- EditorStateCancellationTokenSource,
66
- EditorZoom,
67
- Emitter,
68
- Event,
69
- Extensions1 as Extensions,
70
- GlyphRasterizer,
71
- HC_BLACK_THEME_NAME,
72
- HC_LIGHT_THEME_NAME,
73
- HideUnchangedRegionsFeature,
74
- ICodeEditorService,
75
- ICommandService,
76
- IConfigurationService,
77
- IContextKeyService,
78
- IDialogService,
79
- IEditorWorkerService,
80
- IHoverService,
81
- IInstantiationService,
82
- IKeybindingService,
83
- ILanguageConfigurationService,
84
- ILanguageFeatureDebounceService,
85
- ILanguageFeaturesService,
86
- ILanguageService,
87
- ILogService,
88
- IMarkerService,
89
- IMenuService,
90
- IModelService,
91
- INotificationService,
92
- IQuickInputService,
93
- ISemanticTokensStylingService,
94
- IStandaloneThemeService,
95
- IStorageService,
96
- ITelemetryService,
97
- ITextModelService,
98
- IThemeService,
99
- IWorkspaceContextService,
100
- InspectTokensNLS,
101
- ItemActivation,
102
- KeyChord,
103
- LRUCache,
104
- LineRange,
105
- LocalSelectionTransfer,
106
- MarkdownString,
107
- MarkerSeverity,
108
- MenuEntryActionViewItem,
109
- MenuId,
110
- MenuItemAction,
111
- MenuRegistry,
112
- MenuWorkbenchToolBar,
113
- ModelDecorationOptions,
114
- MoveOperations,
23
+ Disposable,
115
24
  MutableDisposable,
116
- NullState,
117
- Point,
118
- Position,
119
- QuickCommandNLS,
120
- QuickHelpNLS,
121
- QuickOutlineNLS,
122
- Range,
123
- RawContextKey,
124
- Registry,
125
- ReplaceCommand,
126
- ResourceMap,
127
- RunOnceScheduler,
128
- Schemas,
129
- Selection,
130
- Separator,
131
- StableEditorScrollState,
132
25
  StopWatch,
26
+ Event2,
27
+ Emitter2,
28
+ EditorZoom,
29
+ EDITOR_FONT_DEFAULTS,
30
+ USUAL_WORD_SEPARATORS,
31
+ CancellationToken,
32
+ CancellationTokenSource2,
33
+ KeyChord,
34
+ sep,
35
+ URI,
36
+ Position2,
37
+ Range2,
38
+ Selection2,
39
+ Codicon,
40
+ DocumentHighlightKind,
41
+ getAriaLabelForSymbol,
133
42
  SymbolKinds,
134
- ThemeIcon,
135
- ToggleHighContrastNLS,
136
- TokenMetadata,
137
43
  TokenizationRegistry,
138
- URI,
139
- USUAL_WORD_SEPARATORS,
140
- VSBuffer,
141
- VSDataTransfer,
142
- VS_DARK_THEME_NAME,
143
- VS_LIGHT_THEME_NAME,
144
- ViewGpuContext,
145
- WillSaveStateReason,
146
- addDisposableListener,
147
- alert,
148
- append,
149
- appendRemoveOnDispose,
150
- assertType,
151
- autorun,
152
- autorunWithStore,
153
- basename1 as basename,
154
- coalesce,
44
+ mainWindow,
45
+ format,
46
+ trim,
47
+ lastNonWhitespaceIndex,
155
48
  commonPrefixLength,
156
49
  commonSuffixLength,
157
- compareBy,
158
- constObservable,
159
50
  createCancelablePromise,
160
- createDecorator,
161
- createMatches,
162
- createSingleCallFunction,
51
+ raceCancellation,
52
+ Delayer,
53
+ timeout,
54
+ disposableTimeout,
55
+ first,
56
+ RunOnceScheduler,
57
+ DeferredPromise,
58
+ Schemas,
59
+ matchesScheme,
60
+ VSBuffer,
61
+ structuralEquals,
163
62
  derived,
164
- derivedObservableWithCache,
165
63
  derivedOpts,
64
+ autorun,
65
+ autorunWithStore,
66
+ observableValue,
166
67
  disposableObservableValue,
167
- disposableTimeout,
168
- dispose,
169
- editor,
170
- ensureNonNullable,
171
- findLast,
172
- first,
173
- format,
174
- fuzzyScore,
175
- getActionBarActions,
68
+ observableFromEvent,
69
+ derivedObservableWithCache,
70
+ getWindow,
71
+ addDisposableListener,
72
+ runWhenWindowIdle,
73
+ Dimension,
176
74
  getActiveElement,
177
75
  getActiveWindow,
178
- getAriaLabelForSymbol,
179
- getWindow,
180
- ghostTextForeground,
76
+ trackFocus,
77
+ append,
78
+ reset,
79
+ $,
181
80
  h,
182
- illegalArgument,
183
- isCancellationError,
184
- isDark,
185
- isDiffEditor,
186
- isDisposable,
187
- isEqual,
188
- isFunction,
189
- isHighContrast,
190
- isIOS,
191
- isKeyModified,
192
- isLittleEndian,
193
- isLocalizedString,
194
- isNonEmptyArray,
195
- isWindows,
196
- lastNonWhitespaceIndex,
197
- localize,
198
- localize2,
199
- mainWindow,
200
- matchesBaseContiguousSubString,
201
- matchesScheme,
202
- matchesWords,
203
81
  n,
204
- nullTokenize,
205
- nullTokenizeEncoded,
206
- numberComparator,
207
- observableCodeEditor,
208
- observableFromEvent,
209
- observableSignalFromEvent,
210
- observableValue,
211
- onUnexpectedError,
212
- onUnexpectedExternalError,
213
- or,
214
- raceCancellation,
82
+ IInstantiationService,
83
+ createDecorator,
84
+ ICodeEditorService,
85
+ IModelService,
86
+ ITextModelService,
87
+ Separator,
88
+ ThemeIcon,
89
+ ICommandService,
90
+ CommandsRegistry,
91
+ ContextKeyExpr,
92
+ ContextKeyEqualsExpr,
93
+ RawContextKey,
94
+ IContextKeyService,
95
+ Registry,
96
+ MenuId,
97
+ IMenuService,
98
+ MenuRegistry,
99
+ MenuItemAction,
100
+ Action2,
215
101
  registerAction2,
216
- registerColor,
217
- registerEditorAction,
102
+ ITelemetryService,
103
+ ResourceMap,
104
+ LRUCache,
105
+ isEqual,
106
+ basename2,
107
+ ILogService,
108
+ EditorCommand,
109
+ EditorAction,
110
+ EditorAction2,
111
+ registerModelAndPositionCommand,
218
112
  registerEditorCommand,
113
+ registerEditorAction,
219
114
  registerEditorContribution,
220
- registerEditorFeature,
221
- registerModelAndPositionCommand,
115
+ IConfigurationService,
116
+ ILanguageService,
222
117
  registerSingleton,
223
- renderLabelWithIcons,
224
- reset,
225
- reverseOrder,
226
- runWhenWindowIdle,
227
- score,
228
- sep,
118
+ ILanguageConfigurationService,
229
119
  shouldSynchronizeModel,
230
- stripIcons,
231
- structuralEquals,
232
- timeout,
233
- toDisposable,
120
+ findLast,
121
+ LineRange,
122
+ Color,
123
+ ILanguageFeaturesService,
124
+ NullState,
125
+ nullTokenize,
126
+ nullTokenizeEncoded,
127
+ TokenMetadata,
128
+ alert,
129
+ IEditorWorkerService,
130
+ registerColor,
131
+ isHighContrast,
132
+ isDark,
133
+ VSDataTransfer,
134
+ LocalSelectionTransfer,
234
135
  toExternalVSDataTransfer,
136
+ ReplaceCommand,
137
+ MoveOperations,
138
+ EditorContextKeys,
139
+ IThemeService,
140
+ ghostTextForeground,
141
+ ensureNonNullable,
142
+ GlyphRasterizer,
143
+ INotificationService,
144
+ ViewGpuContext,
145
+ IKeybindingService,
146
+ ModelDecorationOptions,
147
+ IHoverService,
148
+ or,
149
+ matchesBaseContiguousSubString,
150
+ matchesWords,
151
+ createMatches,
152
+ fuzzyScore,
153
+ stripIcons,
154
+ MarkdownString,
155
+ renderLabelWithIcons,
156
+ IDialogService,
157
+ isKeyModified,
158
+ ItemActivation,
159
+ IQuickInputService,
160
+ IStorageService,
161
+ WillSaveStateReason,
162
+ ILanguageFeatureDebounceService,
163
+ score,
235
164
  toMultilineTokens2,
236
- trackFocus,
237
- trim
238
- } from "./studio-b9b6t1dg.js";
165
+ ISemanticTokensStylingService,
166
+ constObservable,
167
+ isLocalizedString,
168
+ getActionBarActions,
169
+ MenuEntryActionViewItem,
170
+ MarkerSeverity2,
171
+ IMarkerService,
172
+ IWorkspaceContextService,
173
+ EditOperation,
174
+ registerEditorFeature,
175
+ InspectTokensNLS,
176
+ QuickHelpNLS,
177
+ QuickCommandNLS,
178
+ QuickOutlineNLS,
179
+ ToggleHighContrastNLS,
180
+ IStandaloneThemeService,
181
+ Extensions2,
182
+ VS_LIGHT_THEME_NAME,
183
+ VS_DARK_THEME_NAME,
184
+ HC_BLACK_THEME_NAME,
185
+ HC_LIGHT_THEME_NAME,
186
+ StableEditorScrollState,
187
+ appendRemoveOnDispose,
188
+ DisposableCancellationTokenSource,
189
+ observableSignalFromEvent,
190
+ Point,
191
+ observableCodeEditor,
192
+ MenuWorkbenchToolBar,
193
+ HideUnchangedRegionsFeature,
194
+ DiffEditorWidget,
195
+ isDiffEditor,
196
+ EditorState,
197
+ EditorStateCancellationTokenSource,
198
+ editor2
199
+ } from "./studio-e1f24eff.js";
200
+ import {
201
+ HierarchicalKind,
202
+ InlineProgressManager,
203
+ DefaultTextPasteOrDropEditProvider,
204
+ DefaultDropProvidersFeature,
205
+ DefaultPasteProvidersFeature,
206
+ sortEditsByYieldTo,
207
+ toErrorMessage,
208
+ PostEditWidgetManager,
209
+ changePasteTypeCommandId,
210
+ pasteWidgetVisibleCtx,
211
+ CopyPasteController,
212
+ getHighlightDecorationOptions,
213
+ AbstractEditorNavigationQuickAccessProvider,
214
+ ReferencesController,
215
+ HoverParticipantRegistry,
216
+ EditorHoverStatusBar,
217
+ DefaultDocumentColorProvider,
218
+ DefaultDocumentColorProviderFeature,
219
+ getColors,
220
+ ExtColorDataCollector,
221
+ ColorPresentationsCollector,
222
+ _findColorData,
223
+ _setupColorCommand,
224
+ ColorDetector,
225
+ ColorPickerWidget,
226
+ createColorHover,
227
+ updateEditorModel,
228
+ updateColorPresentations,
229
+ HoverColorPickerParticipant,
230
+ InlayHintsController,
231
+ InlayHintsHover,
232
+ isOnColorDecorator,
233
+ ContentHoverController,
234
+ AnimationFrameScheduler,
235
+ IFileService,
236
+ IOutlineModelService,
237
+ StickyScrollController
238
+ } from "./studio-4wbb9ct0.js";
239
239
 
240
240
  // ../../node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/commands.js
241
241
  class ToggleCollapseUnchangedRegions extends Action2 {
@@ -303,7 +303,7 @@ class SwitchSide extends EditorAction2 {
303
303
  category: diffEditorCategory
304
304
  });
305
305
  }
306
- runEditorCommand(accessor, editor2, arg) {
306
+ runEditorCommand(accessor, editor, arg) {
307
307
  const diffEditor = findFocusedDiffEditor(accessor);
308
308
  if (diffEditor instanceof DiffEditorWidget) {
309
309
  if (arg && arg.dryRun) {
@@ -331,7 +331,7 @@ class ExitCompareMove extends EditorAction2 {
331
331
  }
332
332
  });
333
333
  }
334
- runEditorCommand(accessor, editor2, ...args) {
334
+ runEditorCommand(accessor, editor, ...args) {
335
335
  const diffEditor = findFocusedDiffEditor(accessor);
336
336
  if (diffEditor instanceof DiffEditorWidget) {
337
337
  diffEditor.exitCompareMove();
@@ -350,7 +350,7 @@ class CollapseAllUnchangedRegions extends EditorAction2 {
350
350
  category: diffEditorCategory
351
351
  });
352
352
  }
353
- runEditorCommand(accessor, editor2, ...args) {
353
+ runEditorCommand(accessor, editor, ...args) {
354
354
  const diffEditor = findFocusedDiffEditor(accessor);
355
355
  if (diffEditor instanceof DiffEditorWidget) {
356
356
  diffEditor.collapseAllUnchangedRegions();
@@ -369,7 +369,7 @@ class ShowAllUnchangedRegions extends EditorAction2 {
369
369
  category: diffEditorCategory
370
370
  });
371
371
  }
372
- runEditorCommand(accessor, editor2, ...args) {
372
+ runEditorCommand(accessor, editor, ...args) {
373
373
  const diffEditor = findFocusedDiffEditor(accessor);
374
374
  if (diffEditor instanceof DiffEditorWidget) {
375
375
  diffEditor.showAllUnchangedRegions();
@@ -566,20 +566,20 @@ var __param = function(paramIndex, decorator) {
566
566
  };
567
567
  var SelectionAnchorController_1;
568
568
  var SelectionAnchorSet = new RawContextKey("selectionAnchorSet", false);
569
- var SelectionAnchorController = class SelectionAnchorController2 {
569
+ var SelectionAnchorController = class SelectionAnchorController {
570
570
  static {
571
571
  SelectionAnchorController_1 = this;
572
572
  }
573
573
  static {
574
574
  this.ID = "editor.contrib.selectionAnchorController";
575
575
  }
576
- static get(editor2) {
577
- return editor2.getContribution(SelectionAnchorController_1.ID);
576
+ static get(editor) {
577
+ return editor.getContribution(SelectionAnchorController_1.ID);
578
578
  }
579
- constructor(editor2, contextKeyService) {
580
- this.editor = editor2;
579
+ constructor(editor, contextKeyService) {
580
+ this.editor = editor;
581
581
  this.selectionAnchorSetContextKey = SelectionAnchorSet.bindTo(contextKeyService);
582
- this.modelChangeListener = editor2.onDidChangeModel(() => this.selectionAnchorSetContextKey.reset());
582
+ this.modelChangeListener = editor.onDidChangeModel(() => this.selectionAnchorSetContextKey.reset());
583
583
  }
584
584
  setSelectionAnchor() {
585
585
  if (this.editor.hasModel()) {
@@ -588,7 +588,7 @@ var SelectionAnchorController = class SelectionAnchorController2 {
588
588
  if (this.decorationId) {
589
589
  accessor.removeDecoration(this.decorationId);
590
590
  }
591
- this.decorationId = accessor.addDecoration(Selection.fromPositions(position, position), {
591
+ this.decorationId = accessor.addDecoration(Selection2.fromPositions(position, position), {
592
592
  description: "selection-anchor",
593
593
  stickiness: 1,
594
594
  hoverMessage: new MarkdownString().appendText(localize(834, "Selection Anchor")),
@@ -612,7 +612,7 @@ var SelectionAnchorController = class SelectionAnchorController2 {
612
612
  const start = this.editor.getModel().getDecorationRange(this.decorationId);
613
613
  if (start) {
614
614
  const end = this.editor.getPosition();
615
- this.editor.setSelection(Selection.fromPositions(start.getStartPosition(), end));
615
+ this.editor.setSelection(Selection2.fromPositions(start.getStartPosition(), end));
616
616
  this.cancelSelectionAnchor();
617
617
  }
618
618
  }
@@ -649,8 +649,8 @@ class SetSelectionAnchor extends EditorAction {
649
649
  }
650
650
  });
651
651
  }
652
- async run(_accessor, editor2) {
653
- SelectionAnchorController.get(editor2)?.setSelectionAnchor();
652
+ async run(_accessor, editor) {
653
+ SelectionAnchorController.get(editor)?.setSelectionAnchor();
654
654
  }
655
655
  }
656
656
 
@@ -662,8 +662,8 @@ class GoToSelectionAnchor extends EditorAction {
662
662
  precondition: SelectionAnchorSet
663
663
  });
664
664
  }
665
- async run(_accessor, editor2) {
666
- SelectionAnchorController.get(editor2)?.goToSelectionAnchor();
665
+ async run(_accessor, editor) {
666
+ SelectionAnchorController.get(editor)?.goToSelectionAnchor();
667
667
  }
668
668
  }
669
669
 
@@ -680,8 +680,8 @@ class SelectFromAnchorToCursor extends EditorAction {
680
680
  }
681
681
  });
682
682
  }
683
- async run(_accessor, editor2) {
684
- SelectionAnchorController.get(editor2)?.selectFromAnchorToCursor();
683
+ async run(_accessor, editor) {
684
+ SelectionAnchorController.get(editor)?.selectFromAnchorToCursor();
685
685
  }
686
686
  }
687
687
 
@@ -698,8 +698,8 @@ class CancelSelectionAnchor extends EditorAction {
698
698
  }
699
699
  });
700
700
  }
701
- async run(_accessor, editor2) {
702
- SelectionAnchorController.get(editor2)?.cancelSelectionAnchor();
701
+ async run(_accessor, editor) {
702
+ SelectionAnchorController.get(editor)?.cancelSelectionAnchor();
703
703
  }
704
704
  }
705
705
  registerEditorContribution(SelectionAnchorController.ID, SelectionAnchorController, 4);
@@ -728,22 +728,22 @@ class MoveCaretCommand {
728
728
  return;
729
729
  }
730
730
  if (this._isMovingLeft) {
731
- const rangeBefore = new Range(lineNumber, startColumn - 1, lineNumber, startColumn);
731
+ const rangeBefore = new Range2(lineNumber, startColumn - 1, lineNumber, startColumn);
732
732
  const charBefore = model.getValueInRange(rangeBefore);
733
733
  builder.addEditOperation(rangeBefore, null);
734
- builder.addEditOperation(new Range(lineNumber, endColumn, lineNumber, endColumn), charBefore);
734
+ builder.addEditOperation(new Range2(lineNumber, endColumn, lineNumber, endColumn), charBefore);
735
735
  } else {
736
- const rangeAfter = new Range(lineNumber, endColumn, lineNumber, endColumn + 1);
736
+ const rangeAfter = new Range2(lineNumber, endColumn, lineNumber, endColumn + 1);
737
737
  const charAfter = model.getValueInRange(rangeAfter);
738
738
  builder.addEditOperation(rangeAfter, null);
739
- builder.addEditOperation(new Range(lineNumber, startColumn, lineNumber, startColumn), charAfter);
739
+ builder.addEditOperation(new Range2(lineNumber, startColumn, lineNumber, startColumn), charAfter);
740
740
  }
741
741
  }
742
742
  computeCursorState(model, helper) {
743
743
  if (this._isMovingLeft) {
744
- return new Selection(this._selection.startLineNumber, this._selection.startColumn - 1, this._selection.endLineNumber, this._selection.endColumn - 1);
744
+ return new Selection2(this._selection.startLineNumber, this._selection.startColumn - 1, this._selection.endLineNumber, this._selection.endColumn - 1);
745
745
  } else {
746
- return new Selection(this._selection.startLineNumber, this._selection.startColumn + 1, this._selection.endLineNumber, this._selection.endColumn + 1);
746
+ return new Selection2(this._selection.startLineNumber, this._selection.startColumn + 1, this._selection.endLineNumber, this._selection.endColumn + 1);
747
747
  }
748
748
  }
749
749
  }
@@ -754,18 +754,18 @@ class MoveCaretAction extends EditorAction {
754
754
  super(opts);
755
755
  this.left = left;
756
756
  }
757
- run(accessor, editor2) {
758
- if (!editor2.hasModel()) {
757
+ run(accessor, editor) {
758
+ if (!editor.hasModel()) {
759
759
  return;
760
760
  }
761
761
  const commands = [];
762
- const selections = editor2.getSelections();
762
+ const selections = editor.getSelections();
763
763
  for (const selection of selections) {
764
764
  commands.push(new MoveCaretCommand(selection, this.left));
765
765
  }
766
- editor2.pushUndoStop();
767
- editor2.executeCommands(this.id, commands);
768
- editor2.pushUndoStop();
766
+ editor.pushUndoStop();
767
+ editor.executeCommands(this.id, commands);
768
+ editor.pushUndoStop();
769
769
  }
770
770
  }
771
771
 
@@ -808,13 +808,13 @@ class TransposeLettersAction extends EditorAction {
808
808
  }
809
809
  });
810
810
  }
811
- run(accessor, editor2) {
812
- if (!editor2.hasModel()) {
811
+ run(accessor, editor) {
812
+ if (!editor.hasModel()) {
813
813
  return;
814
814
  }
815
- const model = editor2.getModel();
815
+ const model = editor.getModel();
816
816
  const commands = [];
817
- const selections = editor2.getSelections();
817
+ const selections = editor.getSelections();
818
818
  for (const selection of selections) {
819
819
  if (!selection.isEmpty()) {
820
820
  continue;
@@ -828,15 +828,15 @@ class TransposeLettersAction extends EditorAction {
828
828
  const endPosition = column === lastColumn ? selection.getPosition() : MoveOperations.rightPosition(model, selection.getPosition().lineNumber, selection.getPosition().column);
829
829
  const middlePosition = MoveOperations.leftPosition(model, endPosition);
830
830
  const beginPosition = MoveOperations.leftPosition(model, middlePosition);
831
- const leftChar = model.getValueInRange(Range.fromPositions(beginPosition, middlePosition));
832
- const rightChar = model.getValueInRange(Range.fromPositions(middlePosition, endPosition));
833
- const replaceRange = Range.fromPositions(beginPosition, endPosition);
831
+ const leftChar = model.getValueInRange(Range2.fromPositions(beginPosition, middlePosition));
832
+ const rightChar = model.getValueInRange(Range2.fromPositions(middlePosition, endPosition));
833
+ const replaceRange = Range2.fromPositions(beginPosition, endPosition);
834
834
  commands.push(new ReplaceCommand(replaceRange, rightChar + leftChar));
835
835
  }
836
836
  if (commands.length > 0) {
837
- editor2.pushUndoStop();
838
- editor2.executeCommands(this.id, commands);
839
- editor2.pushUndoStop();
837
+ editor.pushUndoStop();
838
+ editor.executeCommands(this.id, commands);
839
+ editor.pushUndoStop();
840
840
  }
841
841
  }
842
842
  }
@@ -870,12 +870,12 @@ async function getCodeLensModel(registry, model, token) {
870
870
  const provider = registry.ordered(model);
871
871
  const providerRanks = new Map;
872
872
  const result = new CodeLensModel;
873
- const promises = provider.map(async (provider2, i) => {
874
- providerRanks.set(provider2, i);
873
+ const promises = provider.map(async (provider, i) => {
874
+ providerRanks.set(provider, i);
875
875
  try {
876
- const list = await Promise.resolve(provider2.provideCodeLenses(model, token));
876
+ const list = await Promise.resolve(provider.provideCodeLenses(model, token));
877
877
  if (list) {
878
- result.add(list, provider2);
878
+ result.add(list, provider);
879
879
  }
880
880
  } catch (err) {
881
881
  onUnexpectedExternalError(err);
@@ -958,7 +958,7 @@ class CacheItem {
958
958
  this.data = data;
959
959
  }
960
960
  }
961
- var CodeLensCache = class CodeLensCache2 {
961
+ var CodeLensCache = class CodeLensCache {
962
962
  constructor(storageService) {
963
963
  this._fakeProvider = new class {
964
964
  provideCodeLenses() {
@@ -971,16 +971,16 @@ var CodeLensCache = class CodeLensCache2 {
971
971
  const key = "codelens/cache2";
972
972
  const raw = storageService.get(key, 1, "{}");
973
973
  this._deserialize(raw);
974
- const onWillSaveStateBecauseOfShutdown = Event.filter(storageService.onWillSaveState, (e) => e.reason === WillSaveStateReason.SHUTDOWN);
975
- Event.once(onWillSaveStateBecauseOfShutdown)((e) => {
974
+ const onWillSaveStateBecauseOfShutdown = Event2.filter(storageService.onWillSaveState, (e) => e.reason === WillSaveStateReason.SHUTDOWN);
975
+ Event2.once(onWillSaveStateBecauseOfShutdown)((e) => {
976
976
  storageService.store(key, this._serialize(), 1, 1);
977
977
  });
978
978
  }
979
979
  put(model, data) {
980
- const copyItems = data.lenses.map((item2) => {
980
+ const copyItems = data.lenses.map((item) => {
981
981
  return {
982
- range: item2.symbol.range,
983
- command: item2.symbol.command && { id: "", title: item2.symbol.command?.title }
982
+ range: item.symbol.range,
983
+ command: item.symbol.command && { id: "", title: item.symbol.command?.title }
984
984
  };
985
985
  });
986
986
  const copyModel = new CodeLensModel;
@@ -1016,7 +1016,7 @@ var CodeLensCache = class CodeLensCache2 {
1016
1016
  const element = data[key];
1017
1017
  const lenses = [];
1018
1018
  for (const line of element.lines) {
1019
- lenses.push({ range: new Range(line, 1, line, 11) });
1019
+ lenses.push({ range: new Range2(line, 1, line, 11) });
1020
1020
  }
1021
1021
  const model = new CodeLensModel;
1022
1022
  model.add({ lenses }, this._fakeProvider);
@@ -1057,12 +1057,12 @@ class CodeLensContentWidget {
1057
1057
  static {
1058
1058
  this._idPool = 0;
1059
1059
  }
1060
- constructor(editor2, line) {
1060
+ constructor(editor, line) {
1061
1061
  this.allowEditorOverflow = false;
1062
1062
  this.suppressMouseDown = true;
1063
1063
  this._commands = new Map;
1064
1064
  this._isEmpty = true;
1065
- this._editor = editor2;
1065
+ this._editor = editor;
1066
1066
  this._id = `codelens.widget-${CodeLensContentWidget._idPool++}`;
1067
1067
  this.updatePosition(line);
1068
1068
  this._domNode = document.createElement("span");
@@ -1149,9 +1149,9 @@ var codeLensDecorationOptions = ModelDecorationOptions.register({
1149
1149
  });
1150
1150
 
1151
1151
  class CodeLensWidget {
1152
- constructor(data, editor2, helper, viewZoneChangeAccessor, heightInPx, updateCallback) {
1152
+ constructor(data, editor, helper, viewZoneChangeAccessor, heightInPx, updateCallback) {
1153
1153
  this._isDisposed = false;
1154
- this._editor = editor2;
1154
+ this._editor = editor;
1155
1155
  this._data = data;
1156
1156
  this._decorationIds = [];
1157
1157
  let range;
@@ -1165,9 +1165,9 @@ class CodeLensWidget {
1165
1165
  options: codeLensDecorationOptions
1166
1166
  }, (id) => this._decorationIds[i] = id);
1167
1167
  if (!range) {
1168
- range = Range.lift(codeLensData.symbol.range);
1168
+ range = Range2.lift(codeLensData.symbol.range);
1169
1169
  } else {
1170
- range = Range.plusRange(range, codeLensData.symbol.range);
1170
+ range = Range2.plusRange(range, codeLensData.symbol.range);
1171
1171
  }
1172
1172
  });
1173
1173
  this._viewZone = new CodeLensViewZone(range.startLineNumber - 1, heightInPx, updateCallback);
@@ -1202,7 +1202,7 @@ class CodeLensWidget {
1202
1202
  return this._decorationIds.some((id, i) => {
1203
1203
  const range = this._editor.getModel().getDecorationRange(id);
1204
1204
  const symbol = this._data[i].symbol;
1205
- return !!(range && Range.isEmpty(symbol.range) === range.isEmpty());
1205
+ return !!(range && Range2.isEmpty(symbol.range) === range.isEmpty());
1206
1206
  });
1207
1207
  }
1208
1208
  updateCodeLensSymbols(data, helper) {
@@ -1287,7 +1287,7 @@ var __param3 = function(paramIndex, decorator) {
1287
1287
  decorator(target, key, paramIndex);
1288
1288
  };
1289
1289
  };
1290
- var CodeLensContribution = class CodeLensContribution2 {
1290
+ var CodeLensContribution = class CodeLensContribution {
1291
1291
  static {
1292
1292
  this.ID = "css.editor.codeLens";
1293
1293
  }
@@ -1583,17 +1583,17 @@ var CodeLensContribution = class CodeLensContribution2 {
1583
1583
  const resolvePromise = createCancelablePromise((token) => {
1584
1584
  const promises = toResolve.map((request, i) => {
1585
1585
  const resolvedSymbols = new Array(request.length);
1586
- const promises2 = request.map((request2, i2) => {
1587
- if (!request2.symbol.command && typeof request2.provider.resolveCodeLens === "function") {
1588
- return Promise.resolve(request2.provider.resolveCodeLens(model, request2.symbol, token)).then((symbol) => {
1589
- resolvedSymbols[i2] = symbol;
1586
+ const promises = request.map((request, i) => {
1587
+ if (!request.symbol.command && typeof request.provider.resolveCodeLens === "function") {
1588
+ return Promise.resolve(request.provider.resolveCodeLens(model, request.symbol, token)).then((symbol) => {
1589
+ resolvedSymbols[i] = symbol;
1590
1590
  }, onUnexpectedExternalError);
1591
1591
  } else {
1592
- resolvedSymbols[i2] = request2.symbol;
1592
+ resolvedSymbols[i] = request.symbol;
1593
1593
  return Promise.resolve(undefined);
1594
1594
  }
1595
1595
  });
1596
- return Promise.all(promises2).then(() => {
1596
+ return Promise.all(promises).then(() => {
1597
1597
  if (!token.isCancellationRequested && !lenses[i].isDisposed()) {
1598
1598
  lenses[i].updateCommands(resolvedSymbols);
1599
1599
  }
@@ -1641,15 +1641,15 @@ registerEditorAction(class ShowLensesInCurrentLine extends EditorAction {
1641
1641
  label: localize2(920, "Show CodeLens Commands for Current Line")
1642
1642
  });
1643
1643
  }
1644
- async run(accessor, editor2) {
1645
- if (!editor2.hasModel()) {
1644
+ async run(accessor, editor) {
1645
+ if (!editor.hasModel()) {
1646
1646
  return;
1647
1647
  }
1648
1648
  const quickInputService = accessor.get(IQuickInputService);
1649
1649
  const commandService = accessor.get(ICommandService);
1650
1650
  const notificationService = accessor.get(INotificationService);
1651
- const lineNumber = editor2.getSelection().positionLineNumber;
1652
- const codelensController = editor2.getContribution(CodeLensContribution.ID);
1651
+ const lineNumber = editor.getSelection().positionLineNumber;
1652
+ const codelensController = editor.getContribution(CodeLensContribution.ID);
1653
1653
  if (!codelensController) {
1654
1654
  return;
1655
1655
  }
@@ -1725,7 +1725,7 @@ class HoverColorPickerContribution extends Disposable {
1725
1725
  if (!targetRange) {
1726
1726
  return;
1727
1727
  }
1728
- const range = new Range(targetRange.startLineNumber, targetRange.startColumn + 1, targetRange.endLineNumber, targetRange.endColumn + 1);
1728
+ const range = new Range2(targetRange.startLineNumber, targetRange.startColumn + 1, targetRange.endLineNumber, targetRange.endColumn + 1);
1729
1729
  hoverController.showContentHover(range, 1, 1, false);
1730
1730
  }
1731
1731
  }
@@ -1760,28 +1760,28 @@ class StandaloneColorPickerHover {
1760
1760
  }
1761
1761
 
1762
1762
  class StandaloneColorPickerRenderedParts extends Disposable {
1763
- constructor(editor2, context, colorHover, themeService) {
1763
+ constructor(editor, context, colorHover, themeService) {
1764
1764
  super();
1765
- const editorModel = editor2.getModel();
1765
+ const editorModel = editor.getModel();
1766
1766
  const colorPickerModel = colorHover.model;
1767
1767
  this.color = colorHover.model.color;
1768
- this.colorPicker = this._register(new ColorPickerWidget(context.fragment, colorPickerModel, editor2.getOption(163), themeService, "standalone"));
1768
+ this.colorPicker = this._register(new ColorPickerWidget(context.fragment, colorPickerModel, editor.getOption(163), themeService, "standalone"));
1769
1769
  this._register(colorPickerModel.onColorFlushed((color) => {
1770
1770
  this.color = color;
1771
1771
  }));
1772
1772
  this._register(colorPickerModel.onDidChangeColor((color) => {
1773
1773
  updateColorPresentations(editorModel, colorPickerModel, color, colorHover.range, colorHover);
1774
1774
  }));
1775
- this._register(editor2.onDidChangeModelContent((e) => {
1775
+ this._register(editor.onDidChangeModelContent((e) => {
1776
1776
  {
1777
1777
  context.hide();
1778
- editor2.focus();
1778
+ editor.focus();
1779
1779
  }
1780
1780
  }));
1781
1781
  updateColorPresentations(editorModel, colorPickerModel, this.color, colorHover.range, colorHover);
1782
1782
  }
1783
1783
  }
1784
- var StandaloneColorPickerParticipant = class StandaloneColorPickerParticipant2 {
1784
+ var StandaloneColorPickerParticipant = class StandaloneColorPickerParticipant {
1785
1785
  constructor(_editor, _themeService) {
1786
1786
  this._editor = _editor;
1787
1787
  this._themeService = _themeService;
@@ -1798,9 +1798,9 @@ var StandaloneColorPickerParticipant = class StandaloneColorPickerParticipant2 {
1798
1798
  let foundColorInfo = null;
1799
1799
  let foundColorProvider = null;
1800
1800
  for (const colorData of colors) {
1801
- const colorInfo2 = colorData.colorInfo;
1802
- if (Range.containsRange(colorInfo2.range, defaultColorInfo.range)) {
1803
- foundColorInfo = colorInfo2;
1801
+ const colorInfo = colorData.colorInfo;
1802
+ if (Range2.containsRange(colorInfo.range, defaultColorInfo.range)) {
1803
+ foundColorInfo = colorInfo;
1804
1804
  foundColorProvider = colorData.provider;
1805
1805
  }
1806
1806
  }
@@ -1815,7 +1815,7 @@ var StandaloneColorPickerParticipant = class StandaloneColorPickerParticipant2 {
1815
1815
  return;
1816
1816
  }
1817
1817
  const colorPickerModel = colorHoverData.model;
1818
- let range = new Range(colorHoverData.range.startLineNumber, colorHoverData.range.startColumn, colorHoverData.range.endLineNumber, colorHoverData.range.endColumn);
1818
+ let range = new Range2(colorHoverData.range.startLineNumber, colorHoverData.range.startColumn, colorHoverData.range.endLineNumber, colorHoverData.range.endColumn);
1819
1819
  if (this._color) {
1820
1820
  await updateColorPresentations(this._editor.getModel(), colorPickerModel, this._color, range, colorHoverData);
1821
1821
  range = updateEditorModel(this._editor, range, colorPickerModel);
@@ -1867,7 +1867,7 @@ class StandaloneColorPickerResult {
1867
1867
  }
1868
1868
  var PADDING = 8;
1869
1869
  var CLOSE_BUTTON_WIDTH = 22;
1870
- var StandaloneColorPickerWidget = class StandaloneColorPickerWidget2 extends Disposable {
1870
+ var StandaloneColorPickerWidget = class StandaloneColorPickerWidget extends Disposable {
1871
1871
  static {
1872
1872
  StandaloneColorPickerWidget_1 = this;
1873
1873
  }
@@ -1888,7 +1888,7 @@ var StandaloneColorPickerWidget = class StandaloneColorPickerWidget2 extends Dis
1888
1888
  this._body = document.createElement("div");
1889
1889
  this._colorHover = null;
1890
1890
  this._selectionSetInEditor = false;
1891
- this._onResult = this._register(new Emitter);
1891
+ this._onResult = this._register(new Emitter2);
1892
1892
  this.onResult = this._onResult.event;
1893
1893
  this._renderedHoverParts = this._register(new MutableDisposable);
1894
1894
  this._renderedStatusBar = this._register(new MutableDisposable);
@@ -2061,7 +2061,7 @@ var __param6 = function(paramIndex, decorator) {
2061
2061
  };
2062
2062
  };
2063
2063
  var StandaloneColorPickerController_1;
2064
- var StandaloneColorPickerController = class StandaloneColorPickerController2 extends Disposable {
2064
+ var StandaloneColorPickerController = class StandaloneColorPickerController extends Disposable {
2065
2065
  static {
2066
2066
  StandaloneColorPickerController_1 = this;
2067
2067
  }
@@ -2096,8 +2096,8 @@ var StandaloneColorPickerController = class StandaloneColorPickerController2 ext
2096
2096
  this._standaloneColorPickerWidget?.updateEditor();
2097
2097
  this.hide();
2098
2098
  }
2099
- static get(editor2) {
2100
- return editor2.getContribution(StandaloneColorPickerController_1.ID);
2099
+ static get(editor) {
2100
+ return editor.getContribution(StandaloneColorPickerController_1.ID);
2101
2101
  }
2102
2102
  };
2103
2103
  StandaloneColorPickerController = StandaloneColorPickerController_1 = __decorate6([
@@ -2123,8 +2123,8 @@ class ShowOrFocusStandaloneColorPicker extends EditorAction2 {
2123
2123
  }
2124
2124
  });
2125
2125
  }
2126
- runEditorCommand(_accessor, editor2) {
2127
- StandaloneColorPickerController.get(editor2)?.showOrFocus();
2126
+ runEditorCommand(_accessor, editor) {
2127
+ StandaloneColorPickerController.get(editor)?.showOrFocus();
2128
2128
  }
2129
2129
  }
2130
2130
 
@@ -2143,8 +2143,8 @@ class HideStandaloneColorPicker extends EditorAction {
2143
2143
  }
2144
2144
  });
2145
2145
  }
2146
- run(_accessor, editor2) {
2147
- StandaloneColorPickerController.get(editor2)?.hide();
2146
+ run(_accessor, editor) {
2147
+ StandaloneColorPickerController.get(editor)?.hide();
2148
2148
  }
2149
2149
  }
2150
2150
 
@@ -2163,8 +2163,8 @@ class InsertColorWithStandaloneColorPicker extends EditorAction {
2163
2163
  }
2164
2164
  });
2165
2165
  }
2166
- run(_accessor, editor2) {
2167
- StandaloneColorPickerController.get(editor2)?.insertColor();
2166
+ run(_accessor, editor) {
2167
+ StandaloneColorPickerController.get(editor)?.insertColor();
2168
2168
  }
2169
2169
  }
2170
2170
 
@@ -2191,7 +2191,7 @@ CommandsRegistry.registerCommand("_executeColorPresentationProvider", function(a
2191
2191
  return;
2192
2192
  }
2193
2193
  const { uri, range } = context;
2194
- if (!(uri instanceof URI) || !Array.isArray(color) || color.length !== 4 || !Range.isIRange(range)) {
2194
+ if (!(uri instanceof URI) || !Array.isArray(color) || color.length !== 4 || !Range2.isIRange(range)) {
2195
2195
  throw illegalArgument();
2196
2196
  }
2197
2197
  const { model, colorProviderRegistry, defaultColorDecoratorsEnablement } = _setupColorCommand(accessor, uri);
@@ -2214,8 +2214,8 @@ registerEditorCommand(new class extends EditorCommand {
2214
2214
  }
2215
2215
  });
2216
2216
  }
2217
- runEditorCommand(_accessor, editor2) {
2218
- return CopyPasteController.get(editor2)?.changePasteType();
2217
+ runEditorCommand(_accessor, editor) {
2218
+ return CopyPasteController.get(editor)?.changePasteType();
2219
2219
  }
2220
2220
  });
2221
2221
  registerEditorCommand(new class extends EditorCommand {
@@ -2229,8 +2229,8 @@ registerEditorCommand(new class extends EditorCommand {
2229
2229
  }
2230
2230
  });
2231
2231
  }
2232
- runEditorCommand(_accessor, editor2) {
2233
- CopyPasteController.get(editor2)?.clearWidgets();
2232
+ runEditorCommand(_accessor, editor) {
2233
+ CopyPasteController.get(editor)?.clearWidgets();
2234
2234
  }
2235
2235
  });
2236
2236
  registerEditorAction(class PasteAsAction extends EditorAction {
@@ -2278,7 +2278,7 @@ The first edit matching the preferences will be applied.`),
2278
2278
  canTriggerInlineEdits: true
2279
2279
  });
2280
2280
  }
2281
- run(_accessor, editor2, args) {
2281
+ run(_accessor, editor, args) {
2282
2282
  let preference;
2283
2283
  if (args) {
2284
2284
  if ("kind" in args) {
@@ -2287,7 +2287,7 @@ The first edit matching the preferences will be applied.`),
2287
2287
  preference = { preferences: args.preferences.map((kind) => new HierarchicalKind(kind)) };
2288
2288
  }
2289
2289
  }
2290
- return CopyPasteController.get(editor2)?.pasteAs(preference);
2290
+ return CopyPasteController.get(editor)?.pasteAs(preference);
2291
2291
  }
2292
2292
  });
2293
2293
  registerEditorAction(class extends EditorAction {
@@ -2299,8 +2299,8 @@ registerEditorAction(class extends EditorAction {
2299
2299
  canTriggerInlineEdits: true
2300
2300
  });
2301
2301
  }
2302
- run(_accessor, editor2) {
2303
- return CopyPasteController.get(editor2)?.pasteAs({ providerId: DefaultTextPasteOrDropEditProvider.id });
2302
+ run(_accessor, editor) {
2303
+ return CopyPasteController.get(editor)?.pasteAs({ providerId: DefaultTextPasteOrDropEditProvider.id });
2304
2304
  }
2305
2305
  });
2306
2306
 
@@ -2349,25 +2349,25 @@ var DropIntoEditorController_1;
2349
2349
  var dropAsPreferenceConfig = "editor.dropIntoEditor.preferences";
2350
2350
  var changeDropTypeCommandId = "editor.changeDropType";
2351
2351
  var dropWidgetVisibleCtx = new RawContextKey("dropWidgetVisible", false, localize(973, "Whether the drop widget is showing"));
2352
- var DropIntoEditorController = class DropIntoEditorController2 extends Disposable {
2352
+ var DropIntoEditorController = class DropIntoEditorController extends Disposable {
2353
2353
  static {
2354
2354
  DropIntoEditorController_1 = this;
2355
2355
  }
2356
2356
  static {
2357
2357
  this.ID = "editor.contrib.dropIntoEditorController";
2358
2358
  }
2359
- static get(editor2) {
2360
- return editor2.getContribution(DropIntoEditorController_1.ID);
2359
+ static get(editor) {
2360
+ return editor.getContribution(DropIntoEditorController_1.ID);
2361
2361
  }
2362
- constructor(editor2, instantiationService, _configService, _languageFeaturesService, _treeViewsDragAndDropService) {
2362
+ constructor(editor, instantiationService, _configService, _languageFeaturesService, _treeViewsDragAndDropService) {
2363
2363
  super();
2364
2364
  this._configService = _configService;
2365
2365
  this._languageFeaturesService = _languageFeaturesService;
2366
2366
  this._treeViewsDragAndDropService = _treeViewsDragAndDropService;
2367
2367
  this.treeItemsTransfer = LocalSelectionTransfer.getInstance();
2368
- this._dropProgressManager = this._register(instantiationService.createInstance(InlineProgressManager, "dropIntoEditor", editor2));
2369
- this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, "dropIntoEditor", editor2, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(974, "Show drop options...") }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
2370
- this._register(editor2.onDropIntoEditor((e) => this.onDropIntoEditor(editor2, e.position, e.event)));
2368
+ this._dropProgressManager = this._register(instantiationService.createInstance(InlineProgressManager, "dropIntoEditor", editor));
2369
+ this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, "dropIntoEditor", editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(974, "Show drop options...") }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
2370
+ this._register(editor.onDropIntoEditor((e) => this.onDropIntoEditor(editor, e.position, e.event)));
2371
2371
  }
2372
2372
  clearWidgets() {
2373
2373
  this._postDropWidgetManager.clear();
@@ -2375,22 +2375,22 @@ var DropIntoEditorController = class DropIntoEditorController2 extends Disposabl
2375
2375
  changeDropType() {
2376
2376
  this._postDropWidgetManager.tryShowSelector();
2377
2377
  }
2378
- async onDropIntoEditor(editor2, position, dragEvent) {
2379
- if (!dragEvent.dataTransfer || !editor2.hasModel()) {
2378
+ async onDropIntoEditor(editor, position, dragEvent) {
2379
+ if (!dragEvent.dataTransfer || !editor.hasModel()) {
2380
2380
  return;
2381
2381
  }
2382
2382
  DropIntoEditorController_1._currentDropOperation?.cancel();
2383
- editor2.focus();
2384
- editor2.setPosition(position);
2383
+ editor.focus();
2384
+ editor.setPosition(position);
2385
2385
  const p = createCancelablePromise(async (token) => {
2386
2386
  const disposables = new DisposableStore;
2387
- const tokenSource = disposables.add(new EditorStateCancellationTokenSource(editor2, 1, undefined, token));
2387
+ const tokenSource = disposables.add(new EditorStateCancellationTokenSource(editor, 1, undefined, token));
2388
2388
  try {
2389
2389
  const ourDataTransfer = await this.extractDataTransferData(dragEvent);
2390
2390
  if (ourDataTransfer.size === 0 || tokenSource.token.isCancellationRequested) {
2391
2391
  return;
2392
2392
  }
2393
- const model = editor2.getModel();
2393
+ const model = editor.getModel();
2394
2394
  if (!model) {
2395
2395
  return;
2396
2396
  }
@@ -2406,8 +2406,8 @@ var DropIntoEditorController = class DropIntoEditorController2 extends Disposabl
2406
2406
  }
2407
2407
  if (editSession.edits.length) {
2408
2408
  const activeEditIndex = this.getInitialActiveEditIndex(model, editSession.edits);
2409
- const canShowWidget = editor2.getOption(43).showDropSelector === "afterDrop";
2410
- await this._postDropWidgetManager.applyEditAndShowIfNeeded([Range.fromPositions(position)], { activeEditIndex, allEdits: editSession.edits }, canShowWidget, async (edit) => edit, token);
2409
+ const canShowWidget = editor.getOption(43).showDropSelector === "afterDrop";
2410
+ await this._postDropWidgetManager.applyEditAndShowIfNeeded([Range2.fromPositions(position)], { activeEditIndex, allEdits: editSession.edits }, canShowWidget, async (edit) => edit, token);
2411
2411
  }
2412
2412
  } finally {
2413
2413
  disposables.dispose();
@@ -2423,11 +2423,11 @@ var DropIntoEditorController = class DropIntoEditorController2 extends Disposabl
2423
2423
  const disposables = new DisposableStore;
2424
2424
  const results = await raceCancellation(Promise.all(providers.map(async (provider) => {
2425
2425
  try {
2426
- const edits2 = await provider.provideDocumentDropEdits(model, position, dataTransfer, token);
2427
- if (edits2) {
2428
- disposables.add(edits2);
2426
+ const edits = await provider.provideDocumentDropEdits(model, position, dataTransfer, token);
2427
+ if (edits) {
2428
+ disposables.add(edits);
2429
2429
  }
2430
- return edits2?.edits.map((edit) => ({ ...edit, providerId: provider.id }));
2430
+ return edits?.edits.map((edit) => ({ ...edit, providerId: provider.id }));
2431
2431
  } catch (err) {
2432
2432
  if (!isCancellationError(err)) {
2433
2433
  console.error(err);
@@ -2495,8 +2495,8 @@ registerEditorCommand(new class extends EditorCommand {
2495
2495
  }
2496
2496
  });
2497
2497
  }
2498
- runEditorCommand(_accessor, editor2, _args) {
2499
- DropIntoEditorController.get(editor2)?.changeDropType();
2498
+ runEditorCommand(_accessor, editor, _args) {
2499
+ DropIntoEditorController.get(editor)?.changeDropType();
2500
2500
  }
2501
2501
  });
2502
2502
  registerEditorCommand(new class extends EditorCommand {
@@ -2510,8 +2510,8 @@ registerEditorCommand(new class extends EditorCommand {
2510
2510
  }
2511
2511
  });
2512
2512
  }
2513
- runEditorCommand(_accessor, editor2, _args) {
2514
- DropIntoEditorController.get(editor2)?.clearWidgets();
2513
+ runEditorCommand(_accessor, editor, _args) {
2514
+ DropIntoEditorController.get(editor)?.clearWidgets();
2515
2515
  }
2516
2516
  });
2517
2517
 
@@ -2524,7 +2524,7 @@ class EditorFontZoomIn extends EditorAction {
2524
2524
  precondition: undefined
2525
2525
  });
2526
2526
  }
2527
- run(accessor, editor2) {
2527
+ run(accessor, editor) {
2528
2528
  EditorZoom.setZoomLevel(EditorZoom.getZoomLevel() + 1);
2529
2529
  }
2530
2530
  }
@@ -2537,7 +2537,7 @@ class EditorFontZoomOut extends EditorAction {
2537
2537
  precondition: undefined
2538
2538
  });
2539
2539
  }
2540
- run(accessor, editor2) {
2540
+ run(accessor, editor) {
2541
2541
  EditorZoom.setZoomLevel(EditorZoom.getZoomLevel() - 1);
2542
2542
  }
2543
2543
  }
@@ -2550,7 +2550,7 @@ class EditorFontZoomReset extends EditorAction {
2550
2550
  precondition: undefined
2551
2551
  });
2552
2552
  }
2553
- run(accessor, editor2) {
2553
+ run(accessor, editor) {
2554
2554
  EditorZoom.setZoomLevel(0);
2555
2555
  }
2556
2556
  }
@@ -2588,7 +2588,7 @@ var __param8 = function(paramIndex, decorator) {
2588
2588
  decorator(target, key, paramIndex);
2589
2589
  };
2590
2590
  };
2591
- var MarkerSelectionStatus = class MarkerSelectionStatus2 extends Disposable {
2591
+ var MarkerSelectionStatus = class MarkerSelectionStatus extends Disposable {
2592
2592
  static {
2593
2593
  this.ID = "editor.contrib.markerSelectionStatus";
2594
2594
  }
@@ -2620,9 +2620,9 @@ var MarkerSelectionStatus = class MarkerSelectionStatus2 extends Disposable {
2620
2620
  }
2621
2621
  const markers = this._markerService.read({
2622
2622
  resource: model.uri,
2623
- severities: MarkerSeverity.Error | MarkerSeverity.Warning | MarkerSeverity.Info
2623
+ severities: MarkerSeverity2.Error | MarkerSeverity2.Warning | MarkerSeverity2.Info
2624
2624
  });
2625
- const hasIntersecting = markers.some((marker) => Range.areIntersecting({ startLineNumber: marker.startLineNumber, startColumn: marker.startColumn, endLineNumber: marker.endLineNumber, endColumn: marker.endColumn }, selection));
2625
+ const hasIntersecting = markers.some((marker) => Range2.areIntersecting({ startLineNumber: marker.startLineNumber, startColumn: marker.startColumn, endLineNumber: marker.endLineNumber, endColumn: marker.endColumn }, selection));
2626
2626
  this._ctxHasDiagnostics.set(hasIntersecting);
2627
2627
  }
2628
2628
  };
@@ -2641,7 +2641,7 @@ class DebugEditorGpuRendererAction extends EditorAction {
2641
2641
  precondition: ContextKeyExpr.true()
2642
2642
  });
2643
2643
  }
2644
- async run(accessor, editor2) {
2644
+ async run(accessor, editor) {
2645
2645
  const instantiationService = accessor.get(IInstantiationService);
2646
2646
  const quickInputService = accessor.get(IQuickInputService);
2647
2647
  const choice = await quickInputService.pick([
@@ -2663,8 +2663,8 @@ class DebugEditorGpuRendererAction extends EditorAction {
2663
2663
  }
2664
2664
  switch (choice.id) {
2665
2665
  case "logTextureAtlasStats":
2666
- instantiationService.invokeFunction((accessor2) => {
2667
- const logService = accessor2.get(ILogService);
2666
+ instantiationService.invokeFunction((accessor) => {
2667
+ const logService = accessor.get(ILogService);
2668
2668
  const atlas = ViewGpuContext.atlas;
2669
2669
  if (!ViewGpuContext.atlas) {
2670
2670
  logService.error("No texture atlas found");
@@ -2677,9 +2677,9 @@ class DebugEditorGpuRendererAction extends EditorAction {
2677
2677
  });
2678
2678
  break;
2679
2679
  case "saveTextureAtlas":
2680
- instantiationService.invokeFunction(async (accessor2) => {
2681
- const workspaceContextService = accessor2.get(IWorkspaceContextService);
2682
- const fileService = accessor2.get(IFileService);
2680
+ instantiationService.invokeFunction(async (accessor) => {
2681
+ const workspaceContextService = accessor.get(IWorkspaceContextService);
2682
+ const fileService = accessor.get(IFileService);
2683
2683
  const folders = workspaceContextService.getWorkspace().folders;
2684
2684
  if (folders.length > 0) {
2685
2685
  const atlas = ViewGpuContext.atlas;
@@ -2695,11 +2695,11 @@ class DebugEditorGpuRendererAction extends EditorAction {
2695
2695
  });
2696
2696
  break;
2697
2697
  case "drawGlyph":
2698
- instantiationService.invokeFunction(async (accessor2) => {
2699
- const configurationService = accessor2.get(IConfigurationService);
2700
- const fileService = accessor2.get(IFileService);
2701
- const quickInputService2 = accessor2.get(IQuickInputService);
2702
- const workspaceContextService = accessor2.get(IWorkspaceContextService);
2698
+ instantiationService.invokeFunction(async (accessor) => {
2699
+ const configurationService = accessor.get(IConfigurationService);
2700
+ const fileService = accessor.get(IFileService);
2701
+ const quickInputService = accessor.get(IQuickInputService);
2702
+ const workspaceContextService = accessor.get(IWorkspaceContextService);
2703
2703
  const folders = workspaceContextService.getWorkspace().folders;
2704
2704
  if (folders.length === 0) {
2705
2705
  return;
@@ -2708,7 +2708,7 @@ class DebugEditorGpuRendererAction extends EditorAction {
2708
2708
  const fontFamily = configurationService.getValue("editor.fontFamily");
2709
2709
  const fontSize = configurationService.getValue("editor.fontSize");
2710
2710
  const rasterizer = new GlyphRasterizer(fontSize, fontFamily, getActiveWindow().devicePixelRatio, ViewGpuContext.decorationStyleCache);
2711
- let chars = await quickInputService2.input({
2711
+ let chars = await quickInputService.input({
2712
2712
  prompt: "Enter a character to draw (prefix with 0x for code point))"
2713
2713
  });
2714
2714
  if (!chars) {
@@ -2759,9 +2759,9 @@ class InPlaceReplaceCommand {
2759
2759
  const inverseEditOperations = helper.getInverseEditOperations();
2760
2760
  const srcRange = inverseEditOperations[0].range;
2761
2761
  if (!this._originalSelection.isEmpty()) {
2762
- return new Selection(srcRange.endLineNumber, srcRange.endColumn - this._text.length, srcRange.endLineNumber, srcRange.endColumn);
2762
+ return new Selection2(srcRange.endLineNumber, srcRange.endColumn - this._text.length, srcRange.endLineNumber, srcRange.endColumn);
2763
2763
  }
2764
- return new Selection(srcRange.endLineNumber, Math.min(this._originalSelection.positionColumn, srcRange.endColumn), srcRange.endLineNumber, Math.min(this._originalSelection.positionColumn, srcRange.endColumn));
2764
+ return new Selection2(srcRange.endLineNumber, Math.min(this._originalSelection.positionColumn, srcRange.endColumn), srcRange.endLineNumber, Math.min(this._originalSelection.positionColumn, srcRange.endColumn));
2765
2765
  }
2766
2766
  }
2767
2767
 
@@ -2782,15 +2782,15 @@ var __param9 = function(paramIndex, decorator) {
2782
2782
  };
2783
2783
  };
2784
2784
  var InPlaceReplaceController_1;
2785
- var InPlaceReplaceController = class InPlaceReplaceController2 {
2785
+ var InPlaceReplaceController = class InPlaceReplaceController {
2786
2786
  static {
2787
2787
  InPlaceReplaceController_1 = this;
2788
2788
  }
2789
2789
  static {
2790
2790
  this.ID = "editor.contrib.inPlaceReplaceController";
2791
2791
  }
2792
- static get(editor2) {
2793
- return editor2.getContribution(InPlaceReplaceController_1.ID);
2792
+ static get(editor) {
2793
+ return editor.getContribution(InPlaceReplaceController_1.ID);
2794
2794
  }
2795
2795
  static {
2796
2796
  this.DECORATION = ModelDecorationOptions.register({
@@ -2798,8 +2798,8 @@ var InPlaceReplaceController = class InPlaceReplaceController2 {
2798
2798
  className: "valueSetReplacement"
2799
2799
  });
2800
2800
  }
2801
- constructor(editor2, editorWorkerService) {
2802
- this.editor = editor2;
2801
+ constructor(editor, editorWorkerService) {
2802
+ this.editor = editor;
2803
2803
  this.editorWorkerService = editorWorkerService;
2804
2804
  this.decorations = this.editor.createDecorationsCollection();
2805
2805
  }
@@ -2828,7 +2828,7 @@ var InPlaceReplaceController = class InPlaceReplaceController2 {
2828
2828
  if (!state.validate(this.editor)) {
2829
2829
  return;
2830
2830
  }
2831
- const editRange = Range.lift(result.range);
2831
+ const editRange = Range2.lift(result.range);
2832
2832
  let highlightRange = result.range;
2833
2833
  const diff = result.value.length - (selection.endColumn - selection.startColumn);
2834
2834
  highlightRange = {
@@ -2838,7 +2838,7 @@ var InPlaceReplaceController = class InPlaceReplaceController2 {
2838
2838
  endColumn: highlightRange.startColumn + result.value.length
2839
2839
  };
2840
2840
  if (diff > 1) {
2841
- selection = new Selection(selection.startLineNumber, selection.startColumn, selection.endLineNumber, selection.endColumn + diff - 1);
2841
+ selection = new Selection2(selection.startLineNumber, selection.startColumn, selection.endLineNumber, selection.endColumn + diff - 1);
2842
2842
  }
2843
2843
  const command = new InPlaceReplaceCommand(editRange, selection, result.value);
2844
2844
  this.editor.pushUndoStop();
@@ -2871,8 +2871,8 @@ class InPlaceReplaceUp extends EditorAction {
2871
2871
  }
2872
2872
  });
2873
2873
  }
2874
- run(accessor, editor2) {
2875
- const controller = InPlaceReplaceController.get(editor2);
2874
+ run(accessor, editor) {
2875
+ const controller = InPlaceReplaceController.get(editor);
2876
2876
  if (!controller) {
2877
2877
  return Promise.resolve(undefined);
2878
2878
  }
@@ -2893,8 +2893,8 @@ class InPlaceReplaceDown extends EditorAction {
2893
2893
  }
2894
2894
  });
2895
2895
  }
2896
- run(accessor, editor2) {
2897
- const controller = InPlaceReplaceController.get(editor2);
2896
+ run(accessor, editor) {
2897
+ const controller = InPlaceReplaceController.get(editor);
2898
2898
  if (!controller) {
2899
2899
  return Promise.resolve(undefined);
2900
2900
  }
@@ -2929,7 +2929,7 @@ function insertFinalNewLine(model) {
2929
2929
  if (!lineCount || lastLineIsEmptyOrWhitespace) {
2930
2930
  return;
2931
2931
  }
2932
- return EditOperation.insert(new Position(lineCount, model.getLineMaxColumn(lineCount)), model.getEOL());
2932
+ return EditOperation.insert(new Position2(lineCount, model.getLineMaxColumn(lineCount)), model.getEOL());
2933
2933
  }
2934
2934
 
2935
2935
  // ../../node_modules/monaco-editor/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js
@@ -2944,15 +2944,15 @@ class InsertFinalNewLineAction extends EditorAction {
2944
2944
  precondition: EditorContextKeys.writable
2945
2945
  });
2946
2946
  }
2947
- run(_accessor, editor2, args) {
2948
- const selection = editor2.getSelection();
2947
+ run(_accessor, editor, args) {
2948
+ const selection = editor.getSelection();
2949
2949
  if (selection === null) {
2950
2950
  return;
2951
2951
  }
2952
2952
  const command = new InsertFinalNewLineCommand(selection);
2953
- editor2.pushUndoStop();
2954
- editor2.executeCommands(this.id, [command]);
2955
- editor2.pushUndoStop();
2953
+ editor.pushUndoStop();
2954
+ editor.executeCommands(this.id, [command]);
2955
+ editor.pushUndoStop();
2956
2956
  }
2957
2957
  }
2958
2958
  registerEditorAction(InsertFinalNewLineAction);
@@ -2976,7 +2976,7 @@ var __param10 = function(paramIndex, decorator) {
2976
2976
  var LinkedEditingContribution_1;
2977
2977
  var CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE = new RawContextKey("LinkedEditingInputVisible", false);
2978
2978
  var DECORATION_CLASS_NAME = "linked-editing-decoration";
2979
- var LinkedEditingContribution = class LinkedEditingContribution2 extends Disposable {
2979
+ var LinkedEditingContribution = class LinkedEditingContribution extends Disposable {
2980
2980
  static {
2981
2981
  LinkedEditingContribution_1 = this;
2982
2982
  }
@@ -2990,15 +2990,15 @@ var LinkedEditingContribution = class LinkedEditingContribution2 extends Disposa
2990
2990
  className: DECORATION_CLASS_NAME
2991
2991
  });
2992
2992
  }
2993
- static get(editor2) {
2994
- return editor2.getContribution(LinkedEditingContribution_1.ID);
2993
+ static get(editor) {
2994
+ return editor.getContribution(LinkedEditingContribution_1.ID);
2995
2995
  }
2996
- constructor(editor2, contextKeyService, languageFeaturesService, languageConfigurationService, languageFeatureDebounceService) {
2996
+ constructor(editor, contextKeyService, languageFeaturesService, languageConfigurationService, languageFeatureDebounceService) {
2997
2997
  super();
2998
2998
  this.languageConfigurationService = languageConfigurationService;
2999
2999
  this._syncRangesToken = 0;
3000
3000
  this._localToDispose = this._register(new DisposableStore);
3001
- this._editor = editor2;
3001
+ this._editor = editor;
3002
3002
  this._providers = languageFeaturesService.linkedEditingRangeProvider;
3003
3003
  this._enabled = false;
3004
3004
  this._visibleContextKey = CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE.bindTo(contextKeyService);
@@ -3035,7 +3035,7 @@ var LinkedEditingContribution = class LinkedEditingContribution2 extends Disposa
3035
3035
  if (!isEnabled || model === null) {
3036
3036
  return;
3037
3037
  }
3038
- this._localToDispose.add(Event.runAndSubscribe(model.onDidChangeLanguageConfiguration, () => {
3038
+ this._localToDispose.add(Event2.runAndSubscribe(model.onDidChangeLanguageConfiguration, () => {
3039
3039
  this._languageWordPattern = this.languageConfigurationService.getLanguageConfiguration(model.getLanguageId()).getWordDefinition();
3040
3040
  }));
3041
3041
  const rangeUpdateScheduler = new Delayer(this._debounceInformation.get(model));
@@ -3112,7 +3112,7 @@ var LinkedEditingContribution = class LinkedEditingContribution2 extends Disposa
3112
3112
  newValue = newValue.substr(0, newValue.length - commonSuffixLength$1);
3113
3113
  if (rangeStartColumn !== rangeEndColumn || newValue.length !== 0) {
3114
3114
  edits.push({
3115
- range: new Range(mirrorRange.startLineNumber, rangeStartColumn, mirrorRange.endLineNumber, rangeEndColumn),
3115
+ range: new Range2(mirrorRange.startLineNumber, rangeStartColumn, mirrorRange.endLineNumber, rangeEndColumn),
3116
3116
  text: newValue
3117
3117
  });
3118
3118
  }
@@ -3175,7 +3175,7 @@ var LinkedEditingContribution = class LinkedEditingContribution2 extends Disposa
3175
3175
  }
3176
3176
  this._currentRequestPosition = position;
3177
3177
  this._currentRequestModelVersion = modelVersionId;
3178
- const currentRequestCts = this._currentRequestCts = new CancellationTokenSource;
3178
+ const currentRequestCts = this._currentRequestCts = new CancellationTokenSource2;
3179
3179
  try {
3180
3180
  const sw = new StopWatch(false);
3181
3181
  const response = await getLinkedEditingRanges(this._providers, model, position, currentRequestCts.token);
@@ -3194,7 +3194,7 @@ var LinkedEditingContribution = class LinkedEditingContribution2 extends Disposa
3194
3194
  this._currentWordPattern = response?.wordPattern || this._languageWordPattern;
3195
3195
  let foundReferenceRange = false;
3196
3196
  for (let i = 0, len = ranges.length;i < len; i++) {
3197
- if (Range.containsPosition(ranges[i], position)) {
3197
+ if (Range2.containsPosition(ranges[i], position)) {
3198
3198
  foundReferenceRange = true;
3199
3199
  if (i !== 0) {
3200
3200
  const referenceRange = ranges[i];
@@ -3245,22 +3245,22 @@ class LinkedEditingAction extends EditorAction {
3245
3245
  runCommand(accessor, args) {
3246
3246
  const editorService = accessor.get(ICodeEditorService);
3247
3247
  const [uri, pos] = Array.isArray(args) && args || [undefined, undefined];
3248
- if (URI.isUri(uri) && Position.isIPosition(pos)) {
3249
- return editorService.openCodeEditor({ resource: uri }, editorService.getActiveCodeEditor()).then((editor2) => {
3250
- if (!editor2) {
3248
+ if (URI.isUri(uri) && Position2.isIPosition(pos)) {
3249
+ return editorService.openCodeEditor({ resource: uri }, editorService.getActiveCodeEditor()).then((editor) => {
3250
+ if (!editor) {
3251
3251
  return;
3252
3252
  }
3253
- editor2.setPosition(pos);
3254
- editor2.invokeWithinContext((accessor2) => {
3255
- this.reportTelemetry(accessor2, editor2);
3256
- return this.run(accessor2, editor2);
3253
+ editor.setPosition(pos);
3254
+ editor.invokeWithinContext((accessor) => {
3255
+ this.reportTelemetry(accessor, editor);
3256
+ return this.run(accessor, editor);
3257
3257
  });
3258
3258
  }, onUnexpectedError);
3259
3259
  }
3260
3260
  return super.runCommand(accessor, args);
3261
3261
  }
3262
- run(_accessor, editor2) {
3263
- const controller = LinkedEditingContribution.get(editor2);
3262
+ run(_accessor, editor) {
3263
+ const controller = LinkedEditingContribution.get(editor);
3264
3264
  if (controller) {
3265
3265
  return Promise.resolve(controller.updateRanges(true));
3266
3266
  }
@@ -3360,24 +3360,24 @@ class MiddleScrollController extends Disposable {
3360
3360
  didScroll: false,
3361
3361
  dispose: () => store.dispose()
3362
3362
  }, undefined);
3363
- store.add(this._editor.onMouseUp((e2) => {
3364
- const session2 = scrollingSession.read(undefined);
3365
- if (session2 && session2.didScroll) {
3363
+ store.add(this._editor.onMouseUp((e) => {
3364
+ const session = scrollingSession.read(undefined);
3365
+ if (session && session.didScroll) {
3366
3366
  scrollingSession.set(undefined, undefined);
3367
3367
  }
3368
3368
  }));
3369
- store.add(this._editor.onKeyDown((e2) => {
3369
+ store.add(this._editor.onKeyDown((e) => {
3370
3370
  scrollingSession.set(undefined, undefined);
3371
3371
  }));
3372
3372
  }));
3373
- reader.store.add(autorun((reader2) => {
3374
- const session = scrollingSession.read(reader2);
3373
+ reader.store.add(autorun((reader) => {
3374
+ const session = scrollingSession.read(reader);
3375
3375
  if (!session) {
3376
3376
  return;
3377
3377
  }
3378
3378
  let lastTime = Date.now();
3379
- reader2.store.add(autorun((reader3) => {
3380
- AnimationFrameScheduler.instance.invalidateOnNextAnimationFrame(reader3);
3379
+ reader.store.add(autorun((reader) => {
3380
+ AnimationFrameScheduler.instance.invalidateOnNextAnimationFrame(reader);
3381
3381
  const curTime = Date.now();
3382
3382
  const frameDurationMs = curTime - lastTime;
3383
3383
  lastTime = curTime;
@@ -3390,15 +3390,15 @@ class MiddleScrollController extends Disposable {
3390
3390
  session.didScroll = true;
3391
3391
  }
3392
3392
  }));
3393
- const directionAttr = derived((reader3) => {
3394
- const delta = session.mouseDeltaAfterThreshold.read(reader3);
3393
+ const directionAttr = derived((reader) => {
3394
+ const delta = session.mouseDeltaAfterThreshold.read(reader);
3395
3395
  let direction = "";
3396
3396
  direction += delta.y < 0 ? "n" : delta.y > 0 ? "s" : "";
3397
3397
  direction += delta.x < 0 ? "w" : delta.x > 0 ? "e" : "";
3398
3398
  return direction;
3399
3399
  });
3400
- reader2.store.add(autorun((reader3) => {
3401
- editorDomNode.setAttribute("data-scroll-direction", directionAttr.read(reader3));
3400
+ reader.store.add(autorun((reader) => {
3401
+ editorDomNode.setAttribute("data-scroll-direction", directionAttr.read(reader));
3402
3402
  }));
3403
3403
  }));
3404
3404
  const dotDomElem = reader.store.add(n.div({
@@ -3409,8 +3409,8 @@ class MiddleScrollController extends Disposable {
3409
3409
  }
3410
3410
  }).toDisposableLiveElement());
3411
3411
  reader.store.add(appendRemoveOnDispose(editorDomNode, dotDomElem.element));
3412
- reader.store.add(autorun((reader2) => {
3413
- const session = scrollingSession.read(reader2);
3412
+ reader.store.add(autorun((reader) => {
3413
+ const session = scrollingSession.read(reader);
3414
3414
  editorDomNode.classList.toggle("scroll-editor-on-middle-click-editor", !!session);
3415
3415
  }));
3416
3416
  }));
@@ -3459,22 +3459,22 @@ class PlaceholderTextContribution extends Disposable {
3459
3459
  return;
3460
3460
  }
3461
3461
  const element = h("div.editorPlaceholder");
3462
- reader.store.add(autorun((reader2) => {
3463
- const data = this._state.read(reader2);
3462
+ reader.store.add(autorun((reader) => {
3463
+ const data = this._state.read(reader);
3464
3464
  const shouldBeVisibile = data?.placeholder !== undefined;
3465
3465
  element.root.style.display = shouldBeVisibile ? "block" : "none";
3466
3466
  element.root.innerText = data?.placeholder ?? "";
3467
3467
  }));
3468
- reader.store.add(autorun((reader2) => {
3469
- const info = this._editorObs.layoutInfo.read(reader2);
3468
+ reader.store.add(autorun((reader) => {
3469
+ const info = this._editorObs.layoutInfo.read(reader);
3470
3470
  element.root.style.left = `${info.contentLeft}px`;
3471
3471
  element.root.style.width = info.contentWidth - info.verticalScrollbarWidth + "px";
3472
3472
  element.root.style.top = `${this._editor.getTopForLineNumber(0)}px`;
3473
3473
  }));
3474
- reader.store.add(autorun((reader2) => {
3475
- element.root.style.fontFamily = this._editorObs.getOption(58).read(reader2);
3476
- element.root.style.fontSize = this._editorObs.getOption(61).read(reader2) + "px";
3477
- element.root.style.lineHeight = this._editorObs.getOption(75).read(reader2) + "px";
3474
+ reader.store.add(autorun((reader) => {
3475
+ element.root.style.fontFamily = this._editorObs.getOption(58).read(reader);
3476
+ element.root.style.fontSize = this._editorObs.getOption(61).read(reader) + "px";
3477
+ element.root.style.lineHeight = this._editorObs.getOption(75).read(reader) + "px";
3478
3478
  }));
3479
3479
  reader.store.add(this._editorObs.createOverlayWidget({
3480
3480
  allowEditorOverflow: false,
@@ -3521,7 +3521,7 @@ class BaseClass {
3521
3521
  function wrapInReloadableClass1(getClass) {
3522
3522
  return getClass();
3523
3523
  }
3524
- var BaseClass1 = class BaseClass12 extends BaseClass {
3524
+ var BaseClass1 = class BaseClass1 extends BaseClass {
3525
3525
  constructor(param1, i) {
3526
3526
  super(i);
3527
3527
  this.init(param1);
@@ -3551,28 +3551,28 @@ var __param12 = function(paramIndex, decorator) {
3551
3551
  decorator(target, key, paramIndex);
3552
3552
  };
3553
3553
  };
3554
- var SectionHeaderDetector = class SectionHeaderDetector2 extends Disposable {
3554
+ var SectionHeaderDetector = class SectionHeaderDetector extends Disposable {
3555
3555
  static {
3556
3556
  this.ID = "editor.sectionHeaderDetector";
3557
3557
  }
3558
- constructor(editor2, languageConfigurationService, editorWorkerService) {
3558
+ constructor(editor, languageConfigurationService, editorWorkerService) {
3559
3559
  super();
3560
- this.editor = editor2;
3560
+ this.editor = editor;
3561
3561
  this.languageConfigurationService = languageConfigurationService;
3562
3562
  this.editorWorkerService = editorWorkerService;
3563
3563
  this.decorations = this.editor.createDecorationsCollection();
3564
- this.options = this.createOptions(editor2.getOption(81));
3564
+ this.options = this.createOptions(editor.getOption(81));
3565
3565
  this.computePromise = null;
3566
3566
  this.currentOccurrences = {};
3567
- this._register(editor2.onDidChangeModel((e) => {
3567
+ this._register(editor.onDidChangeModel((e) => {
3568
3568
  this.currentOccurrences = {};
3569
- this.options = this.createOptions(editor2.getOption(81));
3569
+ this.options = this.createOptions(editor.getOption(81));
3570
3570
  this.stop();
3571
3571
  this.computeSectionHeaders.schedule(0);
3572
3572
  }));
3573
- this._register(editor2.onDidChangeModelLanguage((e) => {
3573
+ this._register(editor.onDidChangeModelLanguage((e) => {
3574
3574
  this.currentOccurrences = {};
3575
- this.options = this.createOptions(editor2.getOption(81));
3575
+ this.options = this.createOptions(editor.getOption(81));
3576
3576
  this.stop();
3577
3577
  this.computeSectionHeaders.schedule(0);
3578
3578
  }));
@@ -3580,16 +3580,16 @@ var SectionHeaderDetector = class SectionHeaderDetector2 extends Disposable {
3580
3580
  const editorLanguageId = this.editor.getModel()?.getLanguageId();
3581
3581
  if (editorLanguageId && e.affects(editorLanguageId)) {
3582
3582
  this.currentOccurrences = {};
3583
- this.options = this.createOptions(editor2.getOption(81));
3583
+ this.options = this.createOptions(editor.getOption(81));
3584
3584
  this.stop();
3585
3585
  this.computeSectionHeaders.schedule(0);
3586
3586
  }
3587
3587
  }));
3588
- this._register(editor2.onDidChangeConfiguration((e) => {
3588
+ this._register(editor.onDidChangeConfiguration((e) => {
3589
3589
  if (this.options && !e.hasChanged(81)) {
3590
3590
  return;
3591
3591
  }
3592
- this.options = this.createOptions(editor2.getOption(81));
3592
+ this.options = this.createOptions(editor.getOption(81));
3593
3593
  this.updateDecorations([]);
3594
3594
  this.stop();
3595
3595
  this.computeSectionHeaders.schedule(0);
@@ -3597,7 +3597,7 @@ var SectionHeaderDetector = class SectionHeaderDetector2 extends Disposable {
3597
3597
  this._register(this.editor.onDidChangeModelContent((e) => {
3598
3598
  this.computeSectionHeaders.schedule();
3599
3599
  }));
3600
- this._register(editor2.onDidChangeModelTokens((e) => {
3600
+ this._register(editor.onDidChangeModelTokens((e) => {
3601
3601
  if (!this.computeSectionHeaders.isScheduled()) {
3602
3602
  this.computeSectionHeaders.schedule(1000);
3603
3603
  }
@@ -3920,11 +3920,11 @@ CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokensLegend", as
3920
3920
  if (providers.length === 1) {
3921
3921
  return providers[0].getLegend();
3922
3922
  }
3923
- if (!range || !Range.isIRange(range)) {
3923
+ if (!range || !Range2.isIRange(range)) {
3924
3924
  console.warn(`provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in`);
3925
3925
  return providers[0].getLegend();
3926
3926
  }
3927
- const result = await getDocumentRangeSemanticTokens(documentRangeSemanticTokensProvider, model, Range.lift(range), CancellationToken.None);
3927
+ const result = await getDocumentRangeSemanticTokens(documentRangeSemanticTokensProvider, model, Range2.lift(range), CancellationToken.None);
3928
3928
  if (!result) {
3929
3929
  return;
3930
3930
  }
@@ -3933,13 +3933,13 @@ CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokensLegend", as
3933
3933
  CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokens", async (accessor, ...args) => {
3934
3934
  const [uri, range] = args;
3935
3935
  assertType(uri instanceof URI);
3936
- assertType(Range.isIRange(range));
3936
+ assertType(Range2.isIRange(range));
3937
3937
  const model = accessor.get(IModelService).getModel(uri);
3938
3938
  if (!model) {
3939
3939
  return;
3940
3940
  }
3941
3941
  const { documentRangeSemanticTokensProvider } = accessor.get(ILanguageFeaturesService);
3942
- const result = await getDocumentRangeSemanticTokens(documentRangeSemanticTokensProvider, model, Range.lift(range), CancellationToken.None);
3942
+ const result = await getDocumentRangeSemanticTokens(documentRangeSemanticTokensProvider, model, Range2.lift(range), CancellationToken.None);
3943
3943
  if (!result || !result.tokens) {
3944
3944
  return;
3945
3945
  }
@@ -3977,7 +3977,7 @@ var __param13 = function(paramIndex, decorator) {
3977
3977
  };
3978
3978
  };
3979
3979
  var ModelSemanticColoring_1;
3980
- var DocumentSemanticTokensFeature = class DocumentSemanticTokensFeature2 extends Disposable {
3980
+ var DocumentSemanticTokensFeature = class DocumentSemanticTokensFeature extends Disposable {
3981
3981
  constructor(semanticTokensStylingService, modelService, themeService, configurationService, languageFeatureDebounceService, languageFeaturesService) {
3982
3982
  super();
3983
3983
  this._watchers = new ResourceMap;
@@ -4061,7 +4061,7 @@ DocumentSemanticTokensFeature = __decorate13([
4061
4061
  __param13(4, ILanguageFeatureDebounceService),
4062
4062
  __param13(5, ILanguageFeaturesService)
4063
4063
  ], DocumentSemanticTokensFeature);
4064
- var ModelSemanticColoring = class ModelSemanticColoring2 extends Disposable {
4064
+ var ModelSemanticColoring = class ModelSemanticColoring extends Disposable {
4065
4065
  static {
4066
4066
  ModelSemanticColoring_1 = this;
4067
4067
  }
@@ -4156,7 +4156,7 @@ var ModelSemanticColoring = class ModelSemanticColoring2 extends Disposable {
4156
4156
  if (!this._model.isAttachedToEditor()) {
4157
4157
  return;
4158
4158
  }
4159
- const cancellationTokenSource = new CancellationTokenSource;
4159
+ const cancellationTokenSource = new CancellationTokenSource2;
4160
4160
  const lastProvider = this._currentDocumentResponse ? this._currentDocumentResponse.provider : null;
4161
4161
  const lastResultId = this._currentDocumentResponse ? this._currentDocumentResponse.resultId || null : null;
4162
4162
  const request = getDocumentSemanticTokens(this._provider, this._model, lastProvider, lastResultId, cancellationTokenSource.token);
@@ -4324,16 +4324,16 @@ var __param14 = function(paramIndex, decorator) {
4324
4324
  decorator(target, key, paramIndex);
4325
4325
  };
4326
4326
  };
4327
- var ViewportSemanticTokensContribution = class ViewportSemanticTokensContribution2 extends Disposable {
4327
+ var ViewportSemanticTokensContribution = class ViewportSemanticTokensContribution extends Disposable {
4328
4328
  static {
4329
4329
  this.ID = "editor.contrib.viewportSemanticTokens";
4330
4330
  }
4331
- constructor(editor2, _semanticTokensStylingService, _themeService, _configurationService, languageFeatureDebounceService, languageFeaturesService) {
4331
+ constructor(editor, _semanticTokensStylingService, _themeService, _configurationService, languageFeatureDebounceService, languageFeaturesService) {
4332
4332
  super();
4333
4333
  this._semanticTokensStylingService = _semanticTokensStylingService;
4334
4334
  this._themeService = _themeService;
4335
4335
  this._configurationService = _configurationService;
4336
- this._editor = editor2;
4336
+ this._editor = editor;
4337
4337
  this._provider = languageFeaturesService.documentRangeSemanticTokensProvider;
4338
4338
  this._debounceInformation = languageFeatureDebounceService.for(this._provider, "DocumentRangeSemanticTokens", { min: 100, max: 500 });
4339
4339
  this._tokenizeViewport = this._register(new RunOnceScheduler(() => this._tokenizeViewportNow(), 100));
@@ -4499,13 +4499,13 @@ class ToggleStickyScroll extends EditorAction2 {
4499
4499
  ]
4500
4500
  });
4501
4501
  }
4502
- async runEditorCommand(accessor, editor2) {
4502
+ async runEditorCommand(accessor, editor) {
4503
4503
  const configurationService = accessor.get(IConfigurationService);
4504
4504
  const newValue = !configurationService.getValue("editor.stickyScroll.enabled");
4505
- const isFocused = StickyScrollController.get(editor2)?.isFocused();
4505
+ const isFocused = StickyScrollController.get(editor)?.isFocused();
4506
4506
  configurationService.updateValue("editor.stickyScroll.enabled", newValue);
4507
4507
  if (isFocused) {
4508
- editor2.focus();
4508
+ editor.focus();
4509
4509
  }
4510
4510
  }
4511
4511
  }
@@ -4525,8 +4525,8 @@ class FocusStickyScroll extends EditorAction2 {
4525
4525
  ]
4526
4526
  });
4527
4527
  }
4528
- runEditorCommand(_accessor, editor2) {
4529
- StickyScrollController.get(editor2)?.focus();
4528
+ runEditorCommand(_accessor, editor) {
4529
+ StickyScrollController.get(editor)?.focus();
4530
4530
  }
4531
4531
  }
4532
4532
 
@@ -4542,8 +4542,8 @@ class SelectNextStickyScrollLine extends EditorAction2 {
4542
4542
  }
4543
4543
  });
4544
4544
  }
4545
- runEditorCommand(_accessor, editor2) {
4546
- StickyScrollController.get(editor2)?.focusNext();
4545
+ runEditorCommand(_accessor, editor) {
4546
+ StickyScrollController.get(editor)?.focusNext();
4547
4547
  }
4548
4548
  }
4549
4549
 
@@ -4559,8 +4559,8 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
4559
4559
  }
4560
4560
  });
4561
4561
  }
4562
- runEditorCommand(_accessor, editor2) {
4563
- StickyScrollController.get(editor2)?.focusPrevious();
4562
+ runEditorCommand(_accessor, editor) {
4563
+ StickyScrollController.get(editor)?.focusPrevious();
4564
4564
  }
4565
4565
  }
4566
4566
 
@@ -4576,8 +4576,8 @@ class GoToStickyScrollLine extends EditorAction2 {
4576
4576
  }
4577
4577
  });
4578
4578
  }
4579
- runEditorCommand(_accessor, editor2) {
4580
- StickyScrollController.get(editor2)?.goToFocused();
4579
+ runEditorCommand(_accessor, editor) {
4580
+ StickyScrollController.get(editor)?.goToFocused();
4581
4581
  }
4582
4582
  }
4583
4583
 
@@ -4593,8 +4593,8 @@ class SelectEditor extends EditorAction2 {
4593
4593
  }
4594
4594
  });
4595
4595
  }
4596
- runEditorCommand(_accessor, editor2) {
4597
- StickyScrollController.get(editor2)?.selectEditor();
4596
+ runEditorCommand(_accessor, editor) {
4597
+ StickyScrollController.get(editor)?.selectEditor();
4598
4598
  }
4599
4599
  }
4600
4600
 
@@ -4630,7 +4630,7 @@ function writeIgnoreState(codeEditorService, model, state) {
4630
4630
  function readIgnoreState(codeEditorService, model) {
4631
4631
  return codeEditorService.getModelProperty(model.uri, ignoreUnusualLineTerminators);
4632
4632
  }
4633
- var UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector2 extends Disposable {
4633
+ var UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extends Disposable {
4634
4634
  static {
4635
4635
  this.ID = "editor.contrib.unusualLineTerminatorsDetector";
4636
4636
  }
@@ -4689,7 +4689,7 @@ var UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector2 exten
4689
4689
  result = await this._dialogService.confirm({
4690
4690
  title: localize(1610, "Unusual Line Terminators"),
4691
4691
  message: localize(1611, "Detected unusual line terminators"),
4692
- detail: localize(1612, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", basename(model.uri)),
4692
+ detail: localize(1612, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", basename2(model.uri)),
4693
4693
  primaryButton: localize(1613, "&&Remove Unusual Line Terminators"),
4694
4694
  cancelButton: localize(1614, "Ignore")
4695
4695
  });
@@ -4776,7 +4776,7 @@ class TextualDocumentHighlightProvider {
4776
4776
  return result;
4777
4777
  }
4778
4778
  }
4779
- var TextualMultiDocumentHighlightFeature = class TextualMultiDocumentHighlightFeature2 extends Disposable {
4779
+ var TextualMultiDocumentHighlightFeature = class TextualMultiDocumentHighlightFeature extends Disposable {
4780
4780
  constructor(languageFeaturesService) {
4781
4781
  super();
4782
4782
  this._register(languageFeaturesService.documentHighlightProvider.register("*", new TextualDocumentHighlightProvider));
@@ -4848,7 +4848,7 @@ class OccurenceAtPositionRequest {
4848
4848
  _getCurrentWordRange(model, selection) {
4849
4849
  const word = model.getWordAtPosition(selection.getPosition());
4850
4850
  if (word) {
4851
- return new Range(selection.startLineNumber, word.startColumn, selection.startLineNumber, word.endColumn);
4851
+ return new Range2(selection.startLineNumber, word.startColumn, selection.startLineNumber, word.endColumn);
4852
4852
  }
4853
4853
  return null;
4854
4854
  }
@@ -4898,7 +4898,7 @@ registerModelAndPositionCommand("_executeDocumentHighlights", async (accessor, m
4898
4898
  const map = await getOccurrencesAtPosition(languageFeaturesService.documentHighlightProvider, model, position, CancellationToken.None);
4899
4899
  return map?.get(model.uri);
4900
4900
  });
4901
- var WordHighlighter = class WordHighlighter2 {
4901
+ var WordHighlighter = class WordHighlighter {
4902
4902
  static {
4903
4903
  WordHighlighter_1 = this;
4904
4904
  }
@@ -4908,7 +4908,7 @@ var WordHighlighter = class WordHighlighter2 {
4908
4908
  static {
4909
4909
  this.query = null;
4910
4910
  }
4911
- constructor(editor2, providers, multiProviders, contextKeyService, textModelService, codeEditorService, configurationService, logService) {
4911
+ constructor(editor, providers, multiProviders, contextKeyService, textModelService, codeEditorService, configurationService, logService) {
4912
4912
  this.toUnhook = new DisposableStore;
4913
4913
  this.workerRequestTokenId = 0;
4914
4914
  this.workerRequestCompleted = false;
@@ -4916,7 +4916,7 @@ var WordHighlighter = class WordHighlighter2 {
4916
4916
  this.lastCursorPositionChangeTime = 0;
4917
4917
  this.renderDecorationsTimer = undefined;
4918
4918
  this.runDelayer = this.toUnhook.add(new Delayer(50));
4919
- this.editor = editor2;
4919
+ this.editor = editor;
4920
4920
  this.providers = providers;
4921
4921
  this.multiDocumentProviders = multiProviders;
4922
4922
  this.codeEditorService = codeEditorService;
@@ -4928,7 +4928,7 @@ var WordHighlighter = class WordHighlighter2 {
4928
4928
  this.occurrencesHighlightEnablement = this.editor.getOption(90);
4929
4929
  this.occurrencesHighlightDelay = this.configurationService.getValue("editor.occurrencesHighlightDelay");
4930
4930
  this.model = this.editor.getModel();
4931
- this.toUnhook.add(editor2.onDidChangeCursorPosition((e) => {
4931
+ this.toUnhook.add(editor.onDidChangeCursorPosition((e) => {
4932
4932
  if (this._ignorePositionChangeEvent) {
4933
4933
  return;
4934
4934
  }
@@ -4939,7 +4939,7 @@ var WordHighlighter = class WordHighlighter2 {
4939
4939
  this._onPositionChanged(e);
4940
4940
  }).catch(onUnexpectedError);
4941
4941
  }));
4942
- this.toUnhook.add(editor2.onDidFocusEditorText((e) => {
4942
+ this.toUnhook.add(editor.onDidFocusEditorText((e) => {
4943
4943
  if (this.occurrencesHighlightEnablement === "off") {
4944
4944
  return;
4945
4945
  }
@@ -4949,19 +4949,19 @@ var WordHighlighter = class WordHighlighter2 {
4949
4949
  }).catch(onUnexpectedError);
4950
4950
  }
4951
4951
  }));
4952
- this.toUnhook.add(editor2.onDidChangeModelContent((e) => {
4952
+ this.toUnhook.add(editor.onDidChangeModelContent((e) => {
4953
4953
  if (!matchesScheme(this.model.uri, "output")) {
4954
4954
  this._stopAll();
4955
4955
  }
4956
4956
  }));
4957
- this.toUnhook.add(editor2.onDidChangeModel((e) => {
4957
+ this.toUnhook.add(editor.onDidChangeModel((e) => {
4958
4958
  if (!e.newModelUrl && e.oldModelUrl) {
4959
4959
  this._stopSingular();
4960
4960
  } else if (WordHighlighter_1.query) {
4961
4961
  this._run();
4962
4962
  }
4963
4963
  }));
4964
- this.toUnhook.add(editor2.onDidChangeConfiguration((e) => {
4964
+ this.toUnhook.add(editor.onDidChangeConfiguration((e) => {
4965
4965
  const newEnablement = this.editor.getOption(90);
4966
4966
  if (this.occurrencesHighlightEnablement !== newEnablement) {
4967
4967
  this.occurrencesHighlightEnablement = newEnablement;
@@ -4991,7 +4991,7 @@ var WordHighlighter = class WordHighlighter2 {
4991
4991
  }
4992
4992
  }
4993
4993
  }));
4994
- this.toUnhook.add(editor2.onDidBlurEditorWidget(() => {
4994
+ this.toUnhook.add(editor.onDidBlurEditorWidget(() => {
4995
4995
  const activeEditor = this.codeEditorService.getFocusedCodeEditor();
4996
4996
  if (!activeEditor) {
4997
4997
  this._stopAll();
@@ -5028,7 +5028,7 @@ var WordHighlighter = class WordHighlighter2 {
5028
5028
  this._stopAll();
5029
5029
  }
5030
5030
  _getSortedHighlights() {
5031
- return this.decorations.getRanges().sort(Range.compareRangesUsingStarts);
5031
+ return this.decorations.getRanges().sort(Range2.compareRangesUsingStarts);
5032
5032
  }
5033
5033
  moveNext() {
5034
5034
  const highlights = this._getSortedHighlights();
@@ -5084,17 +5084,17 @@ var WordHighlighter = class WordHighlighter2 {
5084
5084
  _removeAllDecorations(preservedModel) {
5085
5085
  const currentEditors = this.codeEditorService.listCodeEditors();
5086
5086
  const deleteURI = [];
5087
- for (const editor2 of currentEditors) {
5088
- if (!editor2.hasModel() || isEqual(editor2.getModel().uri, preservedModel)) {
5087
+ for (const editor of currentEditors) {
5088
+ if (!editor.hasModel() || isEqual(editor.getModel().uri, preservedModel)) {
5089
5089
  continue;
5090
5090
  }
5091
- const currentDecorationIDs = WordHighlighter_1.storedDecorationIDs.get(editor2.getModel().uri);
5091
+ const currentDecorationIDs = WordHighlighter_1.storedDecorationIDs.get(editor.getModel().uri);
5092
5092
  if (!currentDecorationIDs) {
5093
5093
  continue;
5094
5094
  }
5095
- editor2.removeDecorations(currentDecorationIDs);
5096
- deleteURI.push(editor2.getModel().uri);
5097
- const editorHighlighterContrib = WordHighlighterContribution.get(editor2);
5095
+ editor.removeDecorations(currentDecorationIDs);
5096
+ deleteURI.push(editor.getModel().uri);
5097
+ const editorHighlighterContrib = WordHighlighterContribution.get(editor);
5098
5098
  if (!editorHighlighterContrib?.wordHighlighter) {
5099
5099
  continue;
5100
5100
  }
@@ -5177,23 +5177,23 @@ var WordHighlighter = class WordHighlighter2 {
5177
5177
  }
5178
5178
  const isNotebookEditor = model.uri.scheme === Schemas.vscodeNotebookCell;
5179
5179
  if (isNotebookEditor) {
5180
- const currentModels2 = [];
5181
- const currentEditors2 = this.codeEditorService.listCodeEditors();
5182
- for (const editor2 of currentEditors2) {
5183
- const tempModel = editor2.getModel();
5180
+ const currentModels = [];
5181
+ const currentEditors = this.codeEditorService.listCodeEditors();
5182
+ for (const editor of currentEditors) {
5183
+ const tempModel = editor.getModel();
5184
5184
  if (tempModel && tempModel !== model && tempModel.uri.scheme === Schemas.vscodeNotebookCell) {
5185
- currentModels2.push(tempModel);
5185
+ currentModels.push(tempModel);
5186
5186
  }
5187
5187
  }
5188
- return currentModels2;
5188
+ return currentModels;
5189
5189
  }
5190
5190
  const currentModels = [];
5191
5191
  const currentEditors = this.codeEditorService.listCodeEditors();
5192
- for (const editor2 of currentEditors) {
5193
- if (!isDiffEditor(editor2)) {
5192
+ for (const editor of currentEditors) {
5193
+ if (!isDiffEditor(editor)) {
5194
5194
  continue;
5195
5195
  }
5196
- const diffModel = editor2.getModel();
5196
+ const diffModel = editor.getModel();
5197
5197
  if (!diffModel) {
5198
5198
  continue;
5199
5199
  }
@@ -5207,8 +5207,8 @@ var WordHighlighter = class WordHighlighter2 {
5207
5207
  if (this.occurrencesHighlightEnablement === "singleFile") {
5208
5208
  return [];
5209
5209
  }
5210
- for (const editor2 of currentEditors) {
5211
- const tempModel = editor2.getModel();
5210
+ for (const editor of currentEditors) {
5211
+ const tempModel = editor.getModel();
5212
5212
  const isValidModel = tempModel && tempModel !== model;
5213
5213
  if (isValidModel) {
5214
5214
  currentModels.push(tempModel);
@@ -5322,13 +5322,13 @@ var WordHighlighter = class WordHighlighter2 {
5322
5322
  renderDecorations() {
5323
5323
  this.renderDecorationsTimer = undefined;
5324
5324
  const currentEditors = this.codeEditorService.listCodeEditors();
5325
- for (const editor2 of currentEditors) {
5326
- const editorHighlighterContrib = WordHighlighterContribution.get(editor2);
5325
+ for (const editor of currentEditors) {
5326
+ const editorHighlighterContrib = WordHighlighterContribution.get(editor);
5327
5327
  if (!editorHighlighterContrib) {
5328
5328
  continue;
5329
5329
  }
5330
5330
  const newDecorations = [];
5331
- const uri = editor2.getModel()?.uri;
5331
+ const uri = editor.getModel()?.uri;
5332
5332
  if (uri && this.workerRequestValue.has(uri)) {
5333
5333
  const oldDecorationIDs = WordHighlighter_1.storedDecorationIDs.get(uri);
5334
5334
  const newDocumentHighlights = this.workerRequestValue.get(uri);
@@ -5344,7 +5344,7 @@ var WordHighlighter = class WordHighlighter2 {
5344
5344
  }
5345
5345
  }
5346
5346
  let newDecorationIDs = [];
5347
- editor2.changeDecorations((changeAccessor) => {
5347
+ editor.changeDecorations((changeAccessor) => {
5348
5348
  newDecorationIDs = changeAccessor.deltaDecorations(oldDecorationIDs ?? [], newDecorations);
5349
5349
  });
5350
5350
  WordHighlighter_1.storedDecorationIDs = WordHighlighter_1.storedDecorationIDs.set(uri, newDecorationIDs);
@@ -5367,25 +5367,25 @@ WordHighlighter = WordHighlighter_1 = __decorate17([
5367
5367
  __param17(6, IConfigurationService),
5368
5368
  __param17(7, ILogService)
5369
5369
  ], WordHighlighter);
5370
- var WordHighlighterContribution = class WordHighlighterContribution2 extends Disposable {
5370
+ var WordHighlighterContribution = class WordHighlighterContribution extends Disposable {
5371
5371
  static {
5372
5372
  WordHighlighterContribution_1 = this;
5373
5373
  }
5374
5374
  static {
5375
5375
  this.ID = "editor.contrib.wordHighlighter";
5376
5376
  }
5377
- static get(editor2) {
5378
- return editor2.getContribution(WordHighlighterContribution_1.ID);
5377
+ static get(editor) {
5378
+ return editor.getContribution(WordHighlighterContribution_1.ID);
5379
5379
  }
5380
- constructor(editor2, contextKeyService, languageFeaturesService, codeEditorService, textModelService, configurationService, logService) {
5380
+ constructor(editor, contextKeyService, languageFeaturesService, codeEditorService, textModelService, configurationService, logService) {
5381
5381
  super();
5382
5382
  this._wordHighlighter = null;
5383
5383
  const createWordHighlighterIfPossible = () => {
5384
- if (editor2.hasModel() && !editor2.getModel().isTooLargeForTokenization() && editor2.getModel().uri.scheme !== Schemas.accessibleView) {
5385
- this._wordHighlighter = new WordHighlighter(editor2, languageFeaturesService.documentHighlightProvider, languageFeaturesService.multiDocumentHighlightProvider, contextKeyService, textModelService, codeEditorService, configurationService, logService);
5384
+ if (editor.hasModel() && !editor.getModel().isTooLargeForTokenization() && editor.getModel().uri.scheme !== Schemas.accessibleView) {
5385
+ this._wordHighlighter = new WordHighlighter(editor, languageFeaturesService.documentHighlightProvider, languageFeaturesService.multiDocumentHighlightProvider, contextKeyService, textModelService, codeEditorService, configurationService, logService);
5386
5386
  }
5387
5387
  };
5388
- this._register(editor2.onDidChangeModel((e) => {
5388
+ this._register(editor.onDidChangeModel((e) => {
5389
5389
  if (this._wordHighlighter) {
5390
5390
  if (!e.newModelUrl && e.oldModelUrl?.scheme !== Schemas.vscodeNotebookCell) {
5391
5391
  this.wordHighlighter?.stop();
@@ -5439,8 +5439,8 @@ class WordHighlightNavigationAction extends EditorAction {
5439
5439
  super(opts);
5440
5440
  this._isNext = next;
5441
5441
  }
5442
- run(accessor, editor2) {
5443
- const controller = WordHighlighterContribution.get(editor2);
5442
+ run(accessor, editor) {
5443
+ const controller = WordHighlighterContribution.get(editor);
5444
5444
  if (!controller) {
5445
5445
  return;
5446
5446
  }
@@ -5495,8 +5495,8 @@ class TriggerWordHighlightAction extends EditorAction {
5495
5495
  }
5496
5496
  });
5497
5497
  }
5498
- run(accessor, editor2) {
5499
- const controller = WordHighlighterContribution.get(editor2);
5498
+ run(accessor, editor) {
5499
+ const controller = WordHighlighterContribution.get(editor);
5500
5500
  if (!controller) {
5501
5501
  return;
5502
5502
  }
@@ -5525,7 +5525,7 @@ var __param18 = function(paramIndex, decorator) {
5525
5525
  decorator(target, key, paramIndex);
5526
5526
  };
5527
5527
  };
5528
- var DiffEditorBreadcrumbsSource = class DiffEditorBreadcrumbsSource2 extends Disposable {
5528
+ var DiffEditorBreadcrumbsSource = class DiffEditorBreadcrumbsSource extends Disposable {
5529
5529
  constructor(_textModel, _languageFeaturesService, _outlineModelService) {
5530
5530
  super();
5531
5531
  this._textModel = _textModel;
@@ -5533,7 +5533,7 @@ var DiffEditorBreadcrumbsSource = class DiffEditorBreadcrumbsSource2 extends Dis
5533
5533
  this._outlineModelService = _outlineModelService;
5534
5534
  this._currentModel = observableValue(this, undefined);
5535
5535
  const documentSymbolProviderChanged = observableSignalFromEvent("documentSymbolProvider.onDidChange", this._languageFeaturesService.documentSymbolProvider.onDidChange);
5536
- const textModelChanged = observableSignalFromEvent("_textModel.onDidChangeContent", Event.debounce((e) => this._textModel.onDidChangeContent(e), () => {
5536
+ const textModelChanged = observableSignalFromEvent("_textModel.onDidChangeContent", Event2.debounce((e) => this._textModel.onDidChangeContent(e), () => {
5537
5537
  return;
5538
5538
  }, 100));
5539
5539
  this._register(autorunWithStore(async (reader, store) => {
@@ -5593,15 +5593,15 @@ var __param19 = function(paramIndex, decorator) {
5593
5593
  decorator(target, key, paramIndex);
5594
5594
  };
5595
5595
  };
5596
- var FloatingEditorToolbar = class FloatingEditorToolbar2 extends Disposable {
5596
+ var FloatingEditorToolbar = class FloatingEditorToolbar extends Disposable {
5597
5597
  static {
5598
5598
  this.ID = "editor.contrib.floatingToolbar";
5599
5599
  }
5600
- constructor(editor2, instantiationService, keybindingService, menuService) {
5600
+ constructor(editor, instantiationService, keybindingService, menuService) {
5601
5601
  super();
5602
- const editorObs = this._register(observableCodeEditor(editor2));
5602
+ const editorObs = this._register(observableCodeEditor(editor));
5603
5603
  const editorUriObs = derived((reader) => editorObs.model.read(reader)?.uri);
5604
- const widget = this._register(instantiationService.createInstance(FloatingEditorToolbarWidget, MenuId.EditorContent, editor2.contextKeyService, editorUriObs));
5604
+ const widget = this._register(instantiationService.createInstance(FloatingEditorToolbarWidget, MenuId.EditorContent, editor.contextKeyService, editorUriObs));
5605
5605
  this._register(autorun((reader) => {
5606
5606
  const hasActions = widget.hasActions.read(reader);
5607
5607
  if (!hasActions) {
@@ -5623,7 +5623,7 @@ FloatingEditorToolbar = __decorate19([
5623
5623
  __param19(2, IKeybindingService),
5624
5624
  __param19(3, IMenuService)
5625
5625
  ], FloatingEditorToolbar);
5626
- var FloatingEditorToolbarWidget = class FloatingEditorToolbarWidget2 extends Disposable {
5626
+ var FloatingEditorToolbarWidget = class FloatingEditorToolbarWidget extends Disposable {
5627
5627
  constructor(_menuId, _scopedContextKeyService, _toolbarContext, instantiationService, keybindingService, menuService) {
5628
5628
  super();
5629
5629
  const menu = this._register(menuService.createMenu(_menuId, _scopedContextKeyService));
@@ -5678,8 +5678,8 @@ var FloatingEditorToolbarWidget = class FloatingEditorToolbarWidget2 extends Dis
5678
5678
  }
5679
5679
  });
5680
5680
  reader.store.add(toolbar);
5681
- reader.store.add(autorun((reader2) => {
5682
- const context = _toolbarContext.read(reader2);
5681
+ reader.store.add(autorun((reader) => {
5682
+ const context = _toolbarContext.read(reader);
5683
5683
  toolbar.context = context;
5684
5684
  }));
5685
5685
  }));
@@ -5699,12 +5699,12 @@ class IPadShowKeyboard extends Disposable {
5699
5699
  static {
5700
5700
  this.ID = "editor.contrib.iPadShowKeyboard";
5701
5701
  }
5702
- constructor(editor2) {
5702
+ constructor(editor) {
5703
5703
  super();
5704
- this.editor = editor2;
5704
+ this.editor = editor;
5705
5705
  this.widget = null;
5706
5706
  if (isIOS) {
5707
- this._register(editor2.onDidChangeConfiguration(() => this.update()));
5707
+ this._register(editor.onDidChangeConfiguration(() => this.update()));
5708
5708
  this.update();
5709
5709
  }
5710
5710
  }
@@ -5730,9 +5730,9 @@ class ShowKeyboardWidget extends Disposable {
5730
5730
  static {
5731
5731
  this.ID = "editor.contrib.ShowKeyboardWidget";
5732
5732
  }
5733
- constructor(editor2) {
5733
+ constructor(editor) {
5734
5734
  super();
5735
- this.editor = editor2;
5735
+ this.editor = editor;
5736
5736
  this._domNode = document.createElement("textarea");
5737
5737
  this._domNode.className = "iPadShowKeyboard";
5738
5738
  this._register(addDisposableListener(this._domNode, "touchstart", (e) => {
@@ -5778,19 +5778,19 @@ var __param20 = function(paramIndex, decorator) {
5778
5778
  };
5779
5779
  };
5780
5780
  var InspectTokensController_1;
5781
- var InspectTokensController = class InspectTokensController2 extends Disposable {
5781
+ var InspectTokensController = class InspectTokensController extends Disposable {
5782
5782
  static {
5783
5783
  InspectTokensController_1 = this;
5784
5784
  }
5785
5785
  static {
5786
5786
  this.ID = "editor.contrib.inspectTokens";
5787
5787
  }
5788
- static get(editor2) {
5789
- return editor2.getContribution(InspectTokensController_1.ID);
5788
+ static get(editor) {
5789
+ return editor.getContribution(InspectTokensController_1.ID);
5790
5790
  }
5791
- constructor(editor2, standaloneColorService, languageService) {
5791
+ constructor(editor, standaloneColorService, languageService) {
5792
5792
  super();
5793
- this._editor = editor2;
5793
+ this._editor = editor;
5794
5794
  this._languageService = languageService;
5795
5795
  this._widget = null;
5796
5796
  this._register(this._editor.onDidChangeModel((e) => this.stop()));
@@ -5832,8 +5832,8 @@ class InspectTokens extends EditorAction {
5832
5832
  precondition: undefined
5833
5833
  });
5834
5834
  }
5835
- run(accessor, editor2) {
5836
- const controller = InspectTokensController.get(editor2);
5835
+ run(accessor, editor) {
5836
+ const controller = InspectTokensController.get(editor);
5837
5837
  controller?.launch();
5838
5838
  }
5839
5839
  }
@@ -5871,10 +5871,10 @@ class InspectTokensWidget extends Disposable {
5871
5871
  static {
5872
5872
  this._ID = "editor.contrib.inspectTokensWidget";
5873
5873
  }
5874
- constructor(editor2, languageService) {
5874
+ constructor(editor, languageService) {
5875
5875
  super();
5876
5876
  this.allowEditorOverflow = true;
5877
- this._editor = editor2;
5877
+ this._editor = editor;
5878
5878
  this._languageService = languageService;
5879
5879
  this._model = this._editor.getModel();
5880
5880
  this._domNode = document.createElement("div");
@@ -6022,7 +6022,7 @@ var __param21 = function(paramIndex, decorator) {
6022
6022
  };
6023
6023
  };
6024
6024
  var HelpQuickAccessProvider_1;
6025
- var HelpQuickAccessProvider = class HelpQuickAccessProvider2 {
6025
+ var HelpQuickAccessProvider = class HelpQuickAccessProvider {
6026
6026
  static {
6027
6027
  HelpQuickAccessProvider_1 = this;
6028
6028
  }
@@ -6033,7 +6033,7 @@ var HelpQuickAccessProvider = class HelpQuickAccessProvider2 {
6033
6033
  this.quickInputService = quickInputService;
6034
6034
  this.keybindingService = keybindingService;
6035
6035
  this.contextKeyService = contextKeyService;
6036
- this.registry = Registry.as(Extensions.Quickaccess);
6036
+ this.registry = Registry.as(Extensions2.Quickaccess);
6037
6037
  }
6038
6038
  provide(picker) {
6039
6039
  const disposables = new DisposableStore;
@@ -6077,7 +6077,7 @@ HelpQuickAccessProvider = HelpQuickAccessProvider_1 = __decorate21([
6077
6077
  ], HelpQuickAccessProvider);
6078
6078
 
6079
6079
  // ../../node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneHelpQuickAccess.js
6080
- Registry.as(Extensions.Quickaccess).registerQuickAccessProvider({
6080
+ Registry.as(Extensions2.Quickaccess).registerQuickAccessProvider({
6081
6081
  ctor: HelpQuickAccessProvider,
6082
6082
  prefix: "",
6083
6083
  helpEntries: [{ description: QuickHelpNLS.helpQuickAccessActionLabel }]
@@ -6096,21 +6096,21 @@ function doScoreFuzzy2Multiple(target, query, patternStart, wordStart) {
6096
6096
  let totalScore = 0;
6097
6097
  const totalMatches = [];
6098
6098
  for (const queryPiece of query) {
6099
- const [score2, matches] = doScoreFuzzy2Single(target, queryPiece, patternStart, wordStart);
6100
- if (typeof score2 !== "number") {
6099
+ const [score, matches] = doScoreFuzzy2Single(target, queryPiece, patternStart, wordStart);
6100
+ if (typeof score !== "number") {
6101
6101
  return NO_SCORE2;
6102
6102
  }
6103
- totalScore += score2;
6103
+ totalScore += score;
6104
6104
  totalMatches.push(...matches);
6105
6105
  }
6106
6106
  return [totalScore, normalizeMatches(totalMatches)];
6107
6107
  }
6108
6108
  function doScoreFuzzy2Single(target, query, patternStart, wordStart) {
6109
- const score2 = fuzzyScore(query.normalized, query.normalizedLowercase, patternStart, target, target.toLowerCase(), wordStart, { firstMatchCanBeWeak: true, boostFullMatch: true });
6110
- if (!score2) {
6109
+ const score = fuzzyScore(query.normalized, query.normalizedLowercase, patternStart, target, target.toLowerCase(), wordStart, { firstMatchCanBeWeak: true, boostFullMatch: true });
6110
+ if (!score) {
6111
6111
  return NO_SCORE2;
6112
6112
  }
6113
- return [score2[0], createMatches(score2)];
6113
+ return [score[0], createMatches(score)];
6114
6114
  }
6115
6115
  function normalizeMatches(matches) {
6116
6116
  const sortedMatches = matches.sort((matchA, matchB) => {
@@ -6211,7 +6211,7 @@ var __param22 = function(paramIndex, decorator) {
6211
6211
  };
6212
6212
  };
6213
6213
  var AbstractGotoSymbolQuickAccessProvider_1;
6214
- var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessProvider2 extends AbstractEditorNavigationQuickAccessProvider {
6214
+ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessProvider extends AbstractEditorNavigationQuickAccessProvider {
6215
6215
  static {
6216
6216
  AbstractGotoSymbolQuickAccessProvider_1 = this;
6217
6217
  }
@@ -6236,8 +6236,8 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
6236
6236
  return Disposable.None;
6237
6237
  }
6238
6238
  provideWithTextEditor(context, picker, token, runOptions) {
6239
- const editor2 = context.editor;
6240
- const model = this.getModel(editor2);
6239
+ const editor = context.editor;
6240
+ const model = this.getModel(editor);
6241
6241
  if (!model) {
6242
6242
  return Disposable.None;
6243
6243
  }
@@ -6277,7 +6277,7 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
6277
6277
  return symbolProviderRegistryPromise.p;
6278
6278
  }
6279
6279
  doProvideWithEditorSymbols(context, model, picker, token, runOptions) {
6280
- const editor2 = context.editor;
6280
+ const editor = context.editor;
6281
6281
  const disposables = new DisposableStore;
6282
6282
  disposables.add(picker.onDidAccept((event) => {
6283
6283
  const [item] = picker.selectedItems;
@@ -6304,7 +6304,7 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
6304
6304
  const updatePickerItems = async (positionToEnclose) => {
6305
6305
  picksCts?.value?.cancel();
6306
6306
  picker.busy = false;
6307
- picksCts.value = new CancellationTokenSource;
6307
+ picksCts.value = new CancellationTokenSource2;
6308
6308
  picker.busy = true;
6309
6309
  try {
6310
6310
  const query = prepareQuery(picker.value.substr(AbstractGotoSymbolQuickAccessProvider_1.PREFIX.length).trim());
@@ -6315,7 +6315,7 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
6315
6315
  if (items.length > 0) {
6316
6316
  picker.items = items;
6317
6317
  if (positionToEnclose && query.original.length === 0) {
6318
- const candidate = findLast(items, (item) => Boolean(item.type !== "separator" && item.range && Range.containsPosition(item.range.decoration, positionToEnclose)));
6318
+ const candidate = findLast(items, (item) => Boolean(item.type !== "separator" && item.range && Range2.containsPosition(item.range.decoration, positionToEnclose)));
6319
6319
  if (candidate) {
6320
6320
  picker.activeItems = [candidate];
6321
6321
  }
@@ -6334,12 +6334,12 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
6334
6334
  }
6335
6335
  };
6336
6336
  disposables.add(picker.onDidChangeValue(() => updatePickerItems(undefined)));
6337
- updatePickerItems(editor2.getSelection()?.getPosition());
6337
+ updatePickerItems(editor.getSelection()?.getPosition());
6338
6338
  disposables.add(picker.onDidChangeActive(() => {
6339
6339
  const [item] = picker.activeItems;
6340
6340
  if (item && item.range) {
6341
- editor2.revealRangeInCenter(item.range.selection, 0);
6342
- this.addDecorations(editor2, item.range.decoration);
6341
+ editor.revealRangeInCenter(item.range.selection, 0);
6342
+ this.addDecorations(editor, item.range.decoration);
6343
6343
  }
6344
6344
  }));
6345
6345
  return disposables;
@@ -6424,7 +6424,7 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
6424
6424
  description: containerMatches
6425
6425
  },
6426
6426
  range: {
6427
- selection: Range.collapseToStart(symbol.selectionRange),
6427
+ selection: Range2.collapseToStart(symbol.selectionRange),
6428
6428
  decoration: symbol.range
6429
6429
  },
6430
6430
  uri: model.uri,
@@ -6548,11 +6548,11 @@ var __param23 = function(paramIndex, decorator) {
6548
6548
  decorator(target, key, paramIndex);
6549
6549
  };
6550
6550
  };
6551
- var StandaloneGotoSymbolQuickAccessProvider = class StandaloneGotoSymbolQuickAccessProvider2 extends AbstractGotoSymbolQuickAccessProvider {
6551
+ var StandaloneGotoSymbolQuickAccessProvider = class StandaloneGotoSymbolQuickAccessProvider extends AbstractGotoSymbolQuickAccessProvider {
6552
6552
  constructor(editorService, languageFeaturesService, outlineModelService) {
6553
6553
  super(languageFeaturesService, outlineModelService);
6554
6554
  this.editorService = editorService;
6555
- this.onDidActiveTextEditorControlChange = Event.None;
6555
+ this.onDidActiveTextEditorControlChange = Event2.None;
6556
6556
  }
6557
6557
  get activeTextEditorControl() {
6558
6558
  return this.editorService.getFocusedCodeEditor() ?? undefined;
@@ -6590,7 +6590,7 @@ class GotoSymbolAction extends EditorAction {
6590
6590
  }
6591
6591
  }
6592
6592
  registerEditorAction(GotoSymbolAction);
6593
- Registry.as(Extensions.Quickaccess).registerQuickAccessProvider({
6593
+ Registry.as(Extensions2.Quickaccess).registerQuickAccessProvider({
6594
6594
  ctor: StandaloneGotoSymbolQuickAccessProvider,
6595
6595
  prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
6596
6596
  helpEntries: [
@@ -6623,9 +6623,9 @@ class TfIdfCalculator {
6623
6623
  return [];
6624
6624
  }
6625
6625
  for (const chunk of doc.chunks) {
6626
- const score2 = this.computeSimilarityScore(chunk, embedding, idfCache);
6627
- if (score2 > 0) {
6628
- scores.push({ key, score: score2 });
6626
+ const score = this.computeSimilarityScore(chunk, embedding, idfCache);
6627
+ if (score > 0) {
6628
+ scores.push({ key, score });
6629
6629
  }
6630
6630
  }
6631
6631
  }
@@ -6728,8 +6728,8 @@ function normalizeTfIdfScores(scores) {
6728
6728
  result.sort((a, b) => b.score - a.score);
6729
6729
  const max = result[0]?.score ?? 0;
6730
6730
  if (max > 0) {
6731
- for (const score2 of result) {
6732
- score2.score /= max;
6731
+ for (const score of result) {
6732
+ score.score /= max;
6733
6733
  }
6734
6734
  }
6735
6735
  return result;
@@ -6737,11 +6737,11 @@ function normalizeTfIdfScores(scores) {
6737
6737
 
6738
6738
  // ../../node_modules/monaco-editor/esm/vs/platform/quickinput/browser/pickerQuickAccess.js
6739
6739
  var TriggerAction;
6740
- (function(TriggerAction2) {
6741
- TriggerAction2[TriggerAction2["NO_ACTION"] = 0] = "NO_ACTION";
6742
- TriggerAction2[TriggerAction2["CLOSE_PICKER"] = 1] = "CLOSE_PICKER";
6743
- TriggerAction2[TriggerAction2["REFRESH_PICKER"] = 2] = "REFRESH_PICKER";
6744
- TriggerAction2[TriggerAction2["REMOVE_ITEM"] = 3] = "REMOVE_ITEM";
6740
+ (function(TriggerAction) {
6741
+ TriggerAction[TriggerAction["NO_ACTION"] = 0] = "NO_ACTION";
6742
+ TriggerAction[TriggerAction["CLOSE_PICKER"] = 1] = "CLOSE_PICKER";
6743
+ TriggerAction[TriggerAction["REFRESH_PICKER"] = 2] = "REFRESH_PICKER";
6744
+ TriggerAction[TriggerAction["REMOVE_ITEM"] = 3] = "REMOVE_ITEM";
6745
6745
  })(TriggerAction || (TriggerAction = {}));
6746
6746
  function isPicksWithActive(obj) {
6747
6747
  const candidate = obj;
@@ -6768,7 +6768,7 @@ class PickerQuickAccessProvider extends Disposable {
6768
6768
  picksCts?.dispose(true);
6769
6769
  picker.busy = false;
6770
6770
  const picksDisposables = picksDisposable.value = new DisposableStore;
6771
- picksCts = picksDisposables.add(new CancellationTokenSource(token));
6771
+ picksCts = picksDisposables.add(new CancellationTokenSource2(token));
6772
6772
  const picksToken = picksCts.token;
6773
6773
  let picksFilter = picker.value.substring(this.prefix.length);
6774
6774
  if (!this.options?.shouldSkipTrimPickFilter) {
@@ -6973,7 +6973,7 @@ var __param24 = function(paramIndex, decorator) {
6973
6973
  };
6974
6974
  var AbstractCommandsQuickAccessProvider_1;
6975
6975
  var CommandsHistory_1;
6976
- var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvider2 extends PickerQuickAccessProvider {
6976
+ var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvider extends PickerQuickAccessProvider {
6977
6977
  static {
6978
6978
  AbstractCommandsQuickAccessProvider_1 = this;
6979
6979
  }
@@ -7010,7 +7010,7 @@ var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
7010
7010
  textChunks: [this.getTfIdfChunk(commandPick)]
7011
7011
  })));
7012
7012
  const result = tfidf.calculateScores(filter, token);
7013
- return normalizeTfIdfScores(result).filter((score2) => score2.score > AbstractCommandsQuickAccessProvider_1.TFIDF_THRESHOLD).slice(0, AbstractCommandsQuickAccessProvider_1.TFIDF_MAX_RESULTS);
7013
+ return normalizeTfIdfScores(result).filter((score) => score.score > AbstractCommandsQuickAccessProvider_1.TFIDF_THRESHOLD).slice(0, AbstractCommandsQuickAccessProvider_1.TFIDF_MAX_RESULTS);
7014
7014
  });
7015
7015
  const filteredCommandPicks = [];
7016
7016
  for (const commandPick of allCommandPicks) {
@@ -7032,7 +7032,7 @@ var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
7032
7032
  if (token.isCancellationRequested) {
7033
7033
  return [];
7034
7034
  }
7035
- const tfidfScore = tfidf.find((score2) => score2.key === commandPick.commandId);
7035
+ const tfidfScore = tfidf.find((score) => score.key === commandPick.commandId);
7036
7036
  if (tfidfScore) {
7037
7037
  commandPick.tfIdfScore = tfidfScore.score;
7038
7038
  filteredCommandPicks.push(commandPick);
@@ -7130,11 +7130,11 @@ var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
7130
7130
  if (token.isCancellationRequested) {
7131
7131
  return [];
7132
7132
  }
7133
- const commandPicks2 = additionalCommandPicks.map((commandPick) => this.toCommandPick(commandPick, runOptions));
7134
- if (addSuggestedSeparator && commandPicks2[0]?.type !== "separator") {
7135
- commandPicks2.unshift({ type: "separator", label: localize(1807, "similar commands") });
7133
+ const commandPicks = additionalCommandPicks.map((commandPick) => this.toCommandPick(commandPick, runOptions));
7134
+ if (addSuggestedSeparator && commandPicks[0]?.type !== "separator") {
7135
+ commandPicks.unshift({ type: "separator", label: localize(1807, "similar commands") });
7136
7136
  }
7137
- return commandPicks2;
7137
+ return commandPicks;
7138
7138
  })()
7139
7139
  };
7140
7140
  }
@@ -7205,7 +7205,7 @@ AbstractCommandsQuickAccessProvider = AbstractCommandsQuickAccessProvider_1 = __
7205
7205
  __param24(4, ITelemetryService),
7206
7206
  __param24(5, IDialogService)
7207
7207
  ], AbstractCommandsQuickAccessProvider);
7208
- var CommandsHistory = class CommandsHistory2 extends Disposable {
7208
+ var CommandsHistory = class CommandsHistory extends Disposable {
7209
7209
  static {
7210
7210
  CommandsHistory_1 = this;
7211
7211
  }
@@ -7366,7 +7366,7 @@ var __param25 = function(paramIndex, decorator) {
7366
7366
  decorator(target, key, paramIndex);
7367
7367
  };
7368
7368
  };
7369
- var StandaloneCommandsQuickAccessProvider = class StandaloneCommandsQuickAccessProvider2 extends AbstractEditorCommandsQuickAccessProvider {
7369
+ var StandaloneCommandsQuickAccessProvider = class StandaloneCommandsQuickAccessProvider extends AbstractEditorCommandsQuickAccessProvider {
7370
7370
  get activeTextEditorControl() {
7371
7371
  return this.codeEditorService.getFocusedCodeEditor() ?? undefined;
7372
7372
  }
@@ -7419,7 +7419,7 @@ class GotoLineAction extends EditorAction {
7419
7419
  }
7420
7420
  }
7421
7421
  registerEditorAction(GotoLineAction);
7422
- Registry.as(Extensions.Quickaccess).registerQuickAccessProvider({
7422
+ Registry.as(Extensions2.Quickaccess).registerQuickAccessProvider({
7423
7423
  ctor: StandaloneCommandsQuickAccessProvider,
7424
7424
  prefix: StandaloneCommandsQuickAccessProvider.PREFIX,
7425
7425
  helpEntries: [{ description: QuickCommandNLS.quickCommandHelp, commandId: GotoLineAction.ID }]
@@ -7441,9 +7441,9 @@ var __param26 = function(paramIndex, decorator) {
7441
7441
  decorator(target, key, paramIndex);
7442
7442
  };
7443
7443
  };
7444
- var StandaloneReferencesController = class StandaloneReferencesController2 extends ReferencesController {
7445
- constructor(editor2, contextKeyService, editorService, notificationService, instantiationService, storageService, configurationService) {
7446
- super(true, editor2, contextKeyService, editorService, notificationService, instantiationService, storageService, configurationService);
7444
+ var StandaloneReferencesController = class StandaloneReferencesController extends ReferencesController {
7445
+ constructor(editor, contextKeyService, editorService, notificationService, instantiationService, storageService, configurationService) {
7446
+ super(true, editor, contextKeyService, editorService, notificationService, instantiationService, storageService, configurationService);
7447
7447
  }
7448
7448
  };
7449
7449
  StandaloneReferencesController = __decorate26([
@@ -7467,7 +7467,7 @@ class ToggleHighContrast extends EditorAction {
7467
7467
  });
7468
7468
  this._originalThemeName = null;
7469
7469
  }
7470
- run(accessor, editor2) {
7470
+ run(accessor, editor) {
7471
7471
  const standaloneThemeService = accessor.get(IStandaloneThemeService);
7472
7472
  const currentTheme = standaloneThemeService.getColorTheme();
7473
7473
  if (isHighContrast(currentTheme.type)) {
@@ -7534,7 +7534,7 @@ function createWebWorker(opts) {
7534
7534
  w.postMessage(opts.createData);
7535
7535
  return w;
7536
7536
  });
7537
- return editor.createWebWorker({
7537
+ return editor2.createWebWorker({
7538
7538
  worker,
7539
7539
  host: opts.host,
7540
7540
  keepIdleModels: opts.keepIdleModels
@@ -7543,5 +7543,5 @@ function createWebWorker(opts) {
7543
7543
 
7544
7544
  export { createWebWorker };
7545
7545
 
7546
- //# debugId=2EE01D553D5D47C264756E2164756E21
7547
- //# sourceMappingURL=studio-685s0ytq.js.map
7546
+ //# debugId=D8DDF918ED1620D364756E2164756E21
7547
+ //# sourceMappingURL=studio-nqgawfks.js.map