@codingame/monaco-vscode-api 1.78.0-next.0 → 1.78.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.
package/dist/polyfill.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { VSBuffer as VSBuffer$1 } from 'monaco-editor/esm/vs/base/common/buffer.js';
2
- import { Disposable as Disposable$1, MutableDisposable, dispose as dispose$1, combinedDisposable, toDisposable, DisposableStore, RefCountedDisposable, DisposableMap as DisposableMap$1, SafeDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
2
+ import { Disposable as Disposable$2, MutableDisposable, dispose as dispose$1, combinedDisposable, toDisposable, DisposableStore as DisposableStore$1, RefCountedDisposable, DisposableMap as DisposableMap$1, SafeDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
3
3
  import { illegalArgument, onUnexpectedError, CancellationError, isCancellationError, canceled, transformErrorForSerialization, onUnexpectedExternalError, ErrorHandler as ErrorHandler$1, ErrorNoTelemetry as ErrorNoTelemetry$1, BugIndicatingError, illegalState } from 'monaco-editor/esm/vs/base/common/errors.js';
4
4
  import { registerThemingParticipant, Themable as Themable$1, IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
5
5
  import { ProgressBar as ProgressBar$1 } from 'monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar.js';
6
6
  import { RunOnceScheduler, Promises, runWhenIdle, DeferredPromise as DeferredPromise$1, ThrottledDelayer, timeout, isThenable as isThenable$1, raceCancellation, createCancelablePromise, Delayer, disposableTimeout, IntervalTimer } from 'monaco-editor/esm/vs/base/common/async.js';
7
- import { trackFocus, show, hide, DragAndDropObserver, scheduleAtNextAnimationFrame, createStyleSheet, EventHelper, isInShadowDOM, removeCSSRulesContainingSelector, asCSSUrl, getContentWidth, addDisposableListener, getContentHeight, $, getTopLeftOffset, animate, createCSSRule, asCSSPropertyValue, append, clearNode, hasParentWithClass, asCssValueWithDefault, EventType as EventType$1, h } from 'monaco-editor/esm/vs/base/browser/dom.js';
7
+ import { trackFocus, show, hide, DragAndDropObserver, scheduleAtNextAnimationFrame, createStyleSheet, EventHelper, isInShadowDOM, removeCSSRulesContainingSelector, asCSSUrl, getContentWidth, addDisposableListener, getContentHeight, $, getTopLeftOffset, animate, createCSSRule, asCSSPropertyValue, getClientArea, append, clearNode, hasParentWithClass, asCssValueWithDefault, EventType as EventType$1, h } from 'monaco-editor/esm/vs/base/browser/dom.js';
8
8
  import { assertType, isNumber, isString as isString$1, isUndefinedOrNull as isUndefinedOrNull$1, withNullAsUndefined, assertIsDefined, validateConstraint, isObject as isObject$1, isUndefined as isUndefined$1, isIterable, isDefined } from 'monaco-editor/esm/vs/base/common/types.js';
9
9
  import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
10
10
  import { LanguageService as LanguageService$1 } from 'monaco-editor/esm/vs/editor/common/services/languageService.js';
@@ -49,8 +49,7 @@ import { FuzzyScore, matchesPrefix, fuzzyScore } from 'monaco-editor/esm/vs/base
49
49
  import { Gesture, EventType } from 'monaco-editor/esm/vs/base/browser/touch.js';
50
50
  import { Color as Color$3, RGBA as RGBA$1 } from 'monaco-editor/esm/vs/base/common/color.js';
51
51
  import { LogService as LogService$1 } from 'monaco-editor/esm/vs/platform/log/common/logService.js';
52
- import { LogLevel as LogLevel$1, ILogService, CONTEXT_LOG_LEVEL, LogLevelToString, MultiplexLogger as MultiplexLogger$2 } from 'monaco-editor/esm/vs/platform/log/common/log.js';
53
- import { ConsoleLogger as ConsoleLogger$1, MultiplexLogger as MultiplexLogger$1 } from 'monaco-editor/esm/vs/platform/log/common/log';
52
+ import { LogLevel as LogLevel$1, ILogService, ConsoleLogger as ConsoleLogger$1, MultiplexLogger as MultiplexLogger$1, CONTEXT_LOG_LEVEL, LogLevelToString } from 'monaco-editor/esm/vs/platform/log/common/log.js';
54
53
  import { hash, StringSHA1 } from 'monaco-editor/esm/vs/base/common/hash.js';
55
54
  import { toErrorMessage } from 'monaco-editor/esm/vs/base/common/errorMessage.js';
56
55
  import { isEqualOrParent, toSlashes, toPosixPath, getRoot, hasDriveLetter } from 'monaco-editor/esm/vs/base/common/extpath.js';
@@ -136,6 +135,7 @@ import { registerSingleton, getSingletonServiceDescriptors } from 'monaco-editor
136
135
  import { ILabelService } from 'monaco-editor/esm/vs/platform/label/common/label.js';
137
136
  import { AudioCue } from 'monaco-editor/esm/vs/platform/audioCues/browser/audioCueService.js';
138
137
  import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
138
+ import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
139
139
  import { IEnvironmentService } from 'monaco-editor/esm/vs/platform/environment/common/environment.js';
140
140
  import { Progress, IProgressService } from 'monaco-editor/esm/vs/platform/progress/common/progress.js';
141
141
  import { StopWatch } from 'monaco-editor/esm/vs/base/common/stopwatch.js';
@@ -160,7 +160,6 @@ import { normalizeIndentation } from 'monaco-editor/esm/vs/editor/common/core/in
160
160
  import { TextModelSearch, SearchParams, isMultilineRegexSource } from 'monaco-editor/esm/vs/editor/common/model/textModelSearch.js';
161
161
  import { ensureValidWordDefinition, getWordAtText } from 'monaco-editor/esm/vs/editor/common/core/wordHelper.js';
162
162
  import { IDialogService } from 'monaco-editor/esm/vs/platform/dialogs/common/dialogs.js';
163
- import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
164
163
  import { cwd, env, platform } from 'monaco-editor/esm/vs/base/common/process.js';
165
164
  import { normalizeDriveLetter as normalizeDriveLetter$1 } from 'monaco-editor/esm/vs/base/common/labels.js';
166
165
  import { IStorageService, WillSaveStateReason as WillSaveStateReason$1 } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
@@ -185,6 +184,7 @@ import { SnippetParser } from 'monaco-editor/esm/vs/editor/contrib/snippet/brows
185
184
  import { SnippetController2 } from 'monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetController2.js';
186
185
  import { EditorState } from 'monaco-editor/esm/vs/editor/contrib/editorState/browser/editorState.js';
187
186
  import { getCodeEditor, isCodeEditor, isDiffEditor } from 'monaco-editor/esm/vs/editor/browser/editorBrowser.js';
187
+ import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
188
188
  class ErrorHandler {
189
189
  constructor() {
190
190
  this.listeners = [];
@@ -317,6 +317,68 @@ function disposeIfDisposable(disposables) {
317
317
  }
318
318
  return [];
319
319
  }
320
+ class DisposableStore {
321
+ constructor() {
322
+ this._toDispose = ( (new Set()));
323
+ this._isDisposed = false;
324
+ }
325
+ dispose() {
326
+ if (this._isDisposed) {
327
+ return;
328
+ }
329
+ this._isDisposed = true;
330
+ this.clear();
331
+ }
332
+ get isDisposed() {
333
+ return this._isDisposed;
334
+ }
335
+ clear() {
336
+ if (this._toDispose.size === 0) {
337
+ return;
338
+ }
339
+ try {
340
+ dispose(this._toDispose);
341
+ }
342
+ finally {
343
+ this._toDispose.clear();
344
+ }
345
+ }
346
+ add(o) {
347
+ if (!o) {
348
+ return o;
349
+ }
350
+ if (o === this) {
351
+ throw new Error('Cannot register a disposable on itself!');
352
+ }
353
+ if (this._isDisposed) {
354
+ if (!DisposableStore.DISABLE_DISPOSED_WARNING) {
355
+ console.warn(( (new Error(
356
+ 'Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!'
357
+ ))).stack);
358
+ }
359
+ }
360
+ else {
361
+ this._toDispose.add(o);
362
+ }
363
+ return o;
364
+ }
365
+ }
366
+ DisposableStore.DISABLE_DISPOSED_WARNING = false;
367
+ let Disposable$1 = class Disposable {
368
+ constructor() {
369
+ this._store = ( (new DisposableStore()));
370
+ }
371
+ dispose() {
372
+ this._store.dispose();
373
+ }
374
+ _register(o) {
375
+ if (o === this) {
376
+ throw new Error('Cannot register a disposable on itself!');
377
+ }
378
+ return this._store.add(o);
379
+ }
380
+ };
381
+ Disposable$1.None = ( (Object.freeze({ dispose() { } })));
320
382
  class ReferenceCollection {
321
383
  constructor() {
322
384
  this.references = ( (new Map()));
@@ -681,7 +743,7 @@ function listenStream(stream, listener) {
681
743
  function peekStream(stream, maxChunks) {
682
744
  return (
683
745
  (new Promise((resolve, reject) => {
684
- const streamListeners = ( (new DisposableStore()));
746
+ const streamListeners = ( (new DisposableStore$1()));
685
747
  const buffer = [];
686
748
  const dataListener = (chunk) => {
687
749
  buffer.push(chunk);
@@ -1221,7 +1283,7 @@ let Emitter$1 = class Emitter {
1221
1283
  }
1222
1284
  if (this._leakageMon && this._listeners.size > this._leakageMon.threshold * 3) {
1223
1285
  console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`);
1224
- return Disposable$1.None;
1286
+ return Disposable$2.None;
1225
1287
  }
1226
1288
  const firstListener = this._listeners.isEmpty();
1227
1289
  if (firstListener && this._options?.onWillAddFirstListener) {
@@ -1254,7 +1316,7 @@ let Emitter$1 = class Emitter {
1254
1316
  }
1255
1317
  }
1256
1318
  });
1257
- if (disposables instanceof DisposableStore) {
1319
+ if (disposables instanceof DisposableStore$1) {
1258
1320
  disposables.add(result);
1259
1321
  }
1260
1322
  else if (Array.isArray(disposables)) {
@@ -1380,7 +1442,7 @@ function refineServiceDecorator(serviceIdentifier) {
1380
1442
  const Extensions$4 = {
1381
1443
  ThemingContribution: 'base.contributions.theming'
1382
1444
  };
1383
- class Themable extends Disposable$1 {
1445
+ class Themable extends Disposable$2 {
1384
1446
  constructor(themeService) {
1385
1447
  super();
1386
1448
  this.themeService = themeService;
@@ -2739,7 +2801,8 @@ function registerAssets(assets) {
2739
2801
  };
2740
2802
  }
2741
2803
  function toUrl(name) {
2742
- return assetUrls[name] ?? assetUrls[name.replace(/[/.]/g, '_')];
2804
+ const url = assetUrls[name] ?? assetUrls[name.replace(/[/.]/g, '_')];
2805
+ return ( new URL(url, window.location.href).toString());
2743
2806
  }
2744
2807
  const customRequire = {
2745
2808
  toUrl
@@ -3397,7 +3460,7 @@ const CSS_ACTIVE = 'active';
3397
3460
  const CSS_INFINITE = 'infinite';
3398
3461
  const CSS_INFINITE_LONG_RUNNING = 'infinite-long-running';
3399
3462
  const CSS_DISCRETE = 'discrete';
3400
- class ProgressBar extends Disposable$1 {
3463
+ class ProgressBar extends Disposable$2 {
3401
3464
  constructor(container, options) {
3402
3465
  super();
3403
3466
  this.workedVal = 0;
@@ -3704,7 +3767,7 @@ class CallbackIterable {
3704
3767
  CallbackIterable.empty = ( (new CallbackIterable(_callback => { })));
3705
3768
  const Range$2 = monaco.Range;
3706
3769
  const FoldingRangeKind$2 = monaco.languages.FoldingRangeKind;
3707
- class LanguageService extends Disposable$1 {
3770
+ class LanguageService extends Disposable$2 {
3708
3771
  constructor(warnOnOverwrite = false) {
3709
3772
  super();
3710
3773
  this._onDidRequestBasicLanguageFeatures = this._register(( (new Emitter())));
@@ -5616,7 +5679,7 @@ class ConfigurationModelParser {
5616
5679
  return overrides;
5617
5680
  }
5618
5681
  }
5619
- class UserSettings extends Disposable$1 {
5682
+ class UserSettings extends Disposable$2 {
5620
5683
  constructor(userSettingsResource, scopes, extUri, fileService) {
5621
5684
  super();
5622
5685
  this.userSettingsResource = userSettingsResource;
@@ -8102,7 +8165,7 @@ class KeybindingsRegistryImpl {
8102
8165
  }
8103
8166
  registerKeybindingRule(rule) {
8104
8167
  const actualKb = KeybindingsRegistryImpl.bindToCurrentPlatform(rule);
8105
- const result = ( (new DisposableStore()));
8168
+ const result = ( (new DisposableStore$1()));
8106
8169
  if (actualKb && actualKb.primary) {
8107
8170
  const kk = decodeKeybinding(actualKb.primary, OS);
8108
8171
  if (kk) {
@@ -8363,7 +8426,7 @@ function format$1(args, verbose = false) {
8363
8426
  }
8364
8427
  return result;
8365
8428
  }
8366
- class AbstractLogger extends Disposable$1 {
8429
+ class AbstractLogger extends Disposable$2 {
8367
8430
  constructor() {
8368
8431
  super(...arguments);
8369
8432
  this.level = DEFAULT_LOG_LEVEL;
@@ -8536,7 +8599,7 @@ class MultiplexLogger extends AbstractLogger {
8536
8599
  }
8537
8600
  }
8538
8601
  }
8539
- class AbstractLoggerService extends Disposable$1 {
8602
+ class AbstractLoggerService extends Disposable$2 {
8540
8603
  constructor(logLevel, logsHome, loggerResources) {
8541
8604
  super();
8542
8605
  this.logLevel = logLevel;
@@ -8768,7 +8831,7 @@ class TreeNodeListDragAndDrop {
8768
8831
  constructor(modelProvider, dnd) {
8769
8832
  this.modelProvider = modelProvider;
8770
8833
  this.dnd = dnd;
8771
- this.autoExpandDisposable = Disposable$1.None;
8834
+ this.autoExpandDisposable = Disposable$2.None;
8772
8835
  }
8773
8836
  getDragURI(node) {
8774
8837
  return this.dnd.getDragURI(node.element);
@@ -8957,7 +9020,7 @@ class EventCollection {
8957
9020
  }
8958
9021
  constructor(onDidChange, _elements = []) {
8959
9022
  this._elements = _elements;
8960
- this.disposables = ( (new DisposableStore()));
9023
+ this.disposables = ( (new DisposableStore$1()));
8961
9024
  this.onDidChange = Event.forEach(onDidChange, elements => this._elements = elements, this.disposables);
8962
9025
  }
8963
9026
  dispose() {
@@ -8976,8 +9039,8 @@ class TreeRenderer {
8976
9039
  this.hideTwistiesOfChildlessElements = false;
8977
9040
  this.shouldRenderIndentGuides = false;
8978
9041
  this.activeIndentNodes = ( (new Set()));
8979
- this.indentGuidesDisposable = Disposable$1.None;
8980
- this.disposables = ( (new DisposableStore()));
9042
+ this.indentGuidesDisposable = Disposable$2.None;
9043
+ this.disposables = ( (new DisposableStore$1()));
8981
9044
  this.templateId = renderer.templateId;
8982
9045
  this.updateOptions(options);
8983
9046
  ( (Event.map(onDidChangeCollapseState, e => e.node)))(this.onDidChangeNodeTwistieState, this, this.disposables);
@@ -9002,7 +9065,7 @@ class TreeRenderer {
9002
9065
  }
9003
9066
  this.indentGuidesDisposable.dispose();
9004
9067
  if (shouldRenderIndentGuides) {
9005
- const disposables = ( (new DisposableStore()));
9068
+ const disposables = ( (new DisposableStore$1()));
9006
9069
  this.activeNodes.onDidChange(this._onDidChangeActiveNodes, this, disposables);
9007
9070
  this.indentGuidesDisposable = disposables;
9008
9071
  this._onDidChangeActiveNodes(this.activeNodes.elements);
@@ -9019,7 +9082,7 @@ class TreeRenderer {
9019
9082
  const twistie = append(el, $('.monaco-tl-twistie'));
9020
9083
  const contents = append(el, $('.monaco-tl-contents'));
9021
9084
  const templateData = this.renderer.renderTemplate(contents);
9022
- return { container, indent, twistie, indentGuidesDisposable: Disposable$1.None, templateData };
9085
+ return { container, indent, twistie, indentGuidesDisposable: Disposable$2.None, templateData };
9023
9086
  }
9024
9087
  renderElement(node, index, templateData, height) {
9025
9088
  this.renderedNodes.set(node, templateData);
@@ -9086,7 +9149,7 @@ class TreeRenderer {
9086
9149
  if (!this.shouldRenderIndentGuides) {
9087
9150
  return;
9088
9151
  }
9089
- const disposableStore = ( (new DisposableStore()));
9152
+ const disposableStore = ( (new DisposableStore$1()));
9090
9153
  const model = this.modelProvider();
9091
9154
  while (true) {
9092
9155
  const ref = model.getNodeLocation(node);
@@ -9166,7 +9229,7 @@ class FindFilter {
9166
9229
  this._matchCount = 0;
9167
9230
  this._pattern = '';
9168
9231
  this._lowercasePattern = '';
9169
- this.disposables = ( (new DisposableStore()));
9232
+ this.disposables = ( (new DisposableStore$1()));
9170
9233
  tree.onWillRefilter(this.reset, this, this.disposables);
9171
9234
  }
9172
9235
  filter(element, parentVisibility) {
@@ -9283,7 +9346,7 @@ var TreeFindMatchType;
9283
9346
  TreeFindMatchType[TreeFindMatchType["Fuzzy"] = 0] = "Fuzzy";
9284
9347
  TreeFindMatchType[TreeFindMatchType["Contiguous"] = 1] = "Contiguous";
9285
9348
  })(TreeFindMatchType || (TreeFindMatchType = {}))));
9286
- class FindWidget extends Disposable$1 {
9349
+ class FindWidget extends Disposable$2 {
9287
9350
  set mode(mode) {
9288
9351
  this.modeToggle.checked = mode === TreeFindMode.Filter;
9289
9352
  this.findInput.inputBox.setPlaceHolder(mode === TreeFindMode.Filter ? ( (localize('type to filter', "Type to filter"))) : ( (localize('type to search', "Type to search"))));
@@ -9384,7 +9447,7 @@ class FindWidget extends Disposable$1 {
9384
9447
  this.actionbar.push(closeAction, { icon: true, label: false });
9385
9448
  const onGrabMouseDown = this._register(( (new DomEmitter(this.elements.grab, 'mousedown'))));
9386
9449
  this._register(onGrabMouseDown.event(e => {
9387
- const disposables = ( (new DisposableStore()));
9450
+ const disposables = ( (new DisposableStore$1()));
9388
9451
  const onWindowMouseMove = disposables.add(( (new DomEmitter(window, 'mousemove'))));
9389
9452
  const onWindowMouseUp = disposables.add(( (new DomEmitter(window, 'mouseup'))));
9390
9453
  const startRight = this.right;
@@ -9525,8 +9588,8 @@ class FindController {
9525
9588
  this.onDidChangePattern = this._onDidChangePattern.event;
9526
9589
  this._onDidChangeOpenState = ( (new Emitter()));
9527
9590
  this.onDidChangeOpenState = this._onDidChangeOpenState.event;
9528
- this.enabledDisposables = ( (new DisposableStore()));
9529
- this.disposables = ( (new DisposableStore()));
9591
+ this.enabledDisposables = ( (new DisposableStore$1()));
9592
+ this.disposables = ( (new DisposableStore$1()));
9530
9593
  this._mode = tree.options.defaultFindMode ?? TreeFindMode.Highlight;
9531
9594
  this._matchType = tree.options.defaultFindMatchType ?? TreeFindMatchType.Fuzzy;
9532
9595
  model.onDidSplice(this.onDidSpliceModel, this, this.disposables);
@@ -9571,7 +9634,7 @@ class FindController {
9571
9634
  this._history = this.widget.getHistory();
9572
9635
  this.widget = undefined;
9573
9636
  this.enabledDisposables.dispose();
9574
- this.enabledDisposables = ( (new DisposableStore()));
9637
+ this.enabledDisposables = ( (new DisposableStore$1()));
9575
9638
  this.previousPattern = this.pattern;
9576
9639
  this.onDidChangeValue('');
9577
9640
  this.tree.domFocus();
@@ -9908,7 +9971,7 @@ class AbstractTree {
9908
9971
  this._options = _options;
9909
9972
  this.eventBufferer = ( (new EventBufferer()));
9910
9973
  this.onDidChangeFindOpenState = Event.None;
9911
- this.disposables = ( (new DisposableStore()));
9974
+ this.disposables = ( (new DisposableStore$1()));
9912
9975
  this._onWillRefilter = ( (new Emitter()));
9913
9976
  this.onWillRefilter = this._onWillRefilter.event;
9914
9977
  this._onDidUpdateOptions = ( (new Emitter()));
@@ -10716,7 +10779,7 @@ function toUserDataProfile(id, name, location, profilesCacheHome, options) {
10716
10779
  isTransient: options?.transient
10717
10780
  };
10718
10781
  }
10719
- let UserDataProfilesService = class UserDataProfilesService extends Disposable$1 {
10782
+ let UserDataProfilesService = class UserDataProfilesService extends Disposable$2 {
10720
10783
  get defaultProfile() { return this.profiles[0]; }
10721
10784
  get profiles() { return [...this.profilesObject.profiles, ...this.transientProfilesObject.profiles]; }
10722
10785
  constructor(environmentService, fileService, uriIdentityService, logService) {
@@ -11126,7 +11189,7 @@ function loadKeyTargets(storage) {
11126
11189
  }
11127
11190
  return Object.create(null);
11128
11191
  }
11129
- class AbstractStorageService extends Disposable$1 {
11192
+ class AbstractStorageService extends Disposable$2 {
11130
11193
  constructor(options = { flushInterval: AbstractStorageService.DEFAULT_FLUSH_INTERVAL }) {
11131
11194
  super();
11132
11195
  this.options = options;
@@ -11431,7 +11494,7 @@ class NullPolicyService {
11431
11494
  getPolicyValue() { return undefined; }
11432
11495
  serialize() { return undefined; }
11433
11496
  }
11434
- class DefaultConfiguration extends Disposable$1 {
11497
+ class DefaultConfiguration extends Disposable$2 {
11435
11498
  constructor() {
11436
11499
  super(...arguments);
11437
11500
  this._onDidChangeConfiguration = this._register(( (new Emitter())));
@@ -11486,7 +11549,7 @@ class NullPolicyConfiguration {
11486
11549
  }
11487
11550
  async initialize() { return this.configurationModel; }
11488
11551
  }
11489
- let PolicyConfiguration = class PolicyConfiguration extends Disposable$1 {
11552
+ let PolicyConfiguration = class PolicyConfiguration extends Disposable$2 {
11490
11553
  get configurationModel() { return this._configurationModel; }
11491
11554
  constructor(defaultConfiguration, policyService, logService) {
11492
11555
  super();
@@ -12308,7 +12371,7 @@ class LanguageIdCodec {
12308
12371
  return this._languageIdToLanguage[languageId] || NULL_LANGUAGE_ID;
12309
12372
  }
12310
12373
  }
12311
- class LanguagesRegistry extends Disposable$1 {
12374
+ class LanguagesRegistry extends Disposable$2 {
12312
12375
  constructor(useModesRegistry = true, warnOnOverwrite = false) {
12313
12376
  super();
12314
12377
  this._onDidChange = this._register(( (new Emitter())));
@@ -12797,8 +12860,8 @@ class KeyboardController {
12797
12860
  constructor(list, view, options) {
12798
12861
  this.list = list;
12799
12862
  this.view = view;
12800
- this.disposables = ( (new DisposableStore()));
12801
- this.multipleSelectionDisposables = ( (new DisposableStore()));
12863
+ this.disposables = ( (new DisposableStore$1()));
12864
+ this.multipleSelectionDisposables = ( (new DisposableStore$1()));
12802
12865
  this.onKeyDown.filter(e => e.keyCode === 3 ).on(this.onEnter, this, this.disposables);
12803
12866
  this.onKeyDown.filter(e => e.keyCode === 16 ).on(this.onUpArrow, this, this.disposables);
12804
12867
  this.onKeyDown.filter(e => e.keyCode === 18 ).on(this.onDownArrow, this, this.disposables);
@@ -12915,8 +12978,8 @@ class TypeNavigationController {
12915
12978
  this.mode = TypeNavigationMode.Automatic;
12916
12979
  this.triggered = false;
12917
12980
  this.previouslyFocused = -1;
12918
- this.enabledDisposables = ( (new DisposableStore()));
12919
- this.disposables = ( (new DisposableStore()));
12981
+ this.enabledDisposables = ( (new DisposableStore$1()));
12982
+ this.disposables = ( (new DisposableStore$1()));
12920
12983
  this.updateOptions(list.options);
12921
12984
  }
12922
12985
  updateOptions(options) {
@@ -13004,7 +13067,7 @@ class DOMFocusController {
13004
13067
  constructor(list, view) {
13005
13068
  this.list = list;
13006
13069
  this.view = view;
13007
- this.disposables = ( (new DisposableStore()));
13070
+ this.disposables = ( (new DisposableStore$1()));
13008
13071
  const onKeyDown = ( (this.disposables.add(Event.chain(this.disposables.add(( (new DomEmitter(view.domNode, 'keydown')))).event))
13009
13072
  .filter(e => !isInputElement(e.target))
13010
13073
  .map(e => ( (new StandardKeyboardEvent(e))))));
@@ -13055,7 +13118,7 @@ const DefaultMultipleSelectionController = {
13055
13118
  class MouseController {
13056
13119
  constructor(list) {
13057
13120
  this.list = list;
13058
- this.disposables = ( (new DisposableStore()));
13121
+ this.disposables = ( (new DisposableStore$1()));
13059
13122
  this._onPointer = ( (new Emitter()));
13060
13123
  this.onPointer = this._onPointer.event;
13061
13124
  if (list.options.multipleSelectionSupport !== false) {
@@ -13552,7 +13615,7 @@ class List {
13552
13615
  this.anchor = ( (new Trait('anchor')));
13553
13616
  this.eventBufferer = ( (new EventBufferer()));
13554
13617
  this._ariaLabel = '';
13555
- this.disposables = ( (new DisposableStore()));
13618
+ this.disposables = ( (new DisposableStore$1()));
13556
13619
  this._onDidDispose = ( (new Emitter()));
13557
13620
  this.onDidDispose = this._onDidDispose.event;
13558
13621
  const role = this._options.accessibilityProvider && this._options.accessibilityProvider.getWidgetRole ? this._options.accessibilityProvider?.getWidgetRole() : 'list';
@@ -14491,10 +14554,10 @@ Color$2.transparent = ( (new Color$2( (new RGBA(0, 0, 0, 0)))));
14491
14554
  })(Format.CSS || (Format.CSS = {}))));
14492
14555
  })(Color.Format || (Color.Format = {}))));
14493
14556
  })(Color$2 || (Color$2 = {}))));
14494
- class LogService extends Disposable$1 {
14557
+ class LogService extends Disposable$2 {
14495
14558
  constructor(primaryLogger, otherLoggers = []) {
14496
14559
  super();
14497
- this.logger = ( (new MultiplexLogger$2([primaryLogger, ...otherLoggers])));
14560
+ this.logger = ( (new MultiplexLogger$1([primaryLogger, ...otherLoggers])));
14498
14561
  this._register(primaryLogger.onDidChangeLogLevel(level => this.setLevel(level)));
14499
14562
  }
14500
14563
  get onDidChangeLogLevel() {
@@ -14862,7 +14925,7 @@ class AsyncDataTree {
14862
14925
  this._onDidRender = ( (new Emitter()));
14863
14926
  this._onDidChangeNodeSlowState = ( (new Emitter()));
14864
14927
  this.nodeMapper = ( (new WeakMapper(node => ( (new AsyncDataTreeNodeWrapper(node))))));
14865
- this.disposables = ( (new DisposableStore()));
14928
+ this.disposables = ( (new DisposableStore$1()));
14866
14929
  this.identityProvider = options.identityProvider;
14867
14930
  this.autoExpandSingleChildren = typeof options.autoExpandSingleChildren === 'undefined' ? false : options.autoExpandSingleChildren;
14868
14931
  this.sorter = options.sorter;
@@ -15399,7 +15462,7 @@ function isThemeColor(o) {
15399
15462
  }
15400
15463
  const EditorType = monaco.editor.EditorType;
15401
15464
  const TextModelResolvedOptions = monaco.editor.TextModelResolvedOptions;
15402
- let AbstractCodeEditorService = class AbstractCodeEditorService extends Disposable$1 {
15465
+ let AbstractCodeEditorService = class AbstractCodeEditorService extends Disposable$2 {
15403
15466
  constructor(_themeService) {
15404
15467
  super();
15405
15468
  this._themeService = _themeService;
@@ -15734,7 +15797,7 @@ class DecorationSubTypeOptionsProvider {
15734
15797
  }
15735
15798
  class DecorationTypeOptionsProvider {
15736
15799
  constructor(description, themeService, styleSheet, providerArgs) {
15737
- this._disposables = ( (new DisposableStore()));
15800
+ this._disposables = ( (new DisposableStore$1()));
15738
15801
  this.description = description;
15739
15802
  this._styleSheet = styleSheet;
15740
15803
  this._styleSheet.ref();
@@ -16173,7 +16236,7 @@ class TextModelSnapshot {
16173
16236
  }
16174
16237
  }
16175
16238
  const invalidFunc = () => { throw new Error(`Invalid change accessor`); };
16176
- let TextModel = class TextModel extends Disposable$1 {
16239
+ let TextModel = class TextModel extends Disposable$2 {
16177
16240
  static resolveOptions(textBuffer, options) {
16178
16241
  if (options.detectIndentation) {
16179
16242
  const guessedIndentation = guessIndentation(textBuffer, options.tabSize, options.insertSpaces);
@@ -16291,7 +16354,7 @@ let TextModel = class TextModel extends Disposable$1 {
16291
16354
  const emptyDisposedTextBuffer = ( (new PieceTreeTextBuffer$1([], '', '\n', false, false, true, true)));
16292
16355
  emptyDisposedTextBuffer.dispose();
16293
16356
  this._buffer = emptyDisposedTextBuffer;
16294
- this._bufferDisposable = Disposable$1.None;
16357
+ this._bufferDisposable = Disposable$2.None;
16295
16358
  }
16296
16359
  _hasListeners() {
16297
16360
  return (this._onWillDispose.hasListeners()
@@ -17824,7 +17887,7 @@ function _normalizeOptions(options) {
17824
17887
  }
17825
17888
  return ModelDecorationOptions.createDynamic(options);
17826
17889
  }
17827
- class DidChangeDecorationsEmitter extends Disposable$1 {
17890
+ class DidChangeDecorationsEmitter extends Disposable$2 {
17828
17891
  constructor(handleBeforeFire) {
17829
17892
  super();
17830
17893
  this.handleBeforeFire = handleBeforeFire;
@@ -17892,7 +17955,7 @@ class DidChangeDecorationsEmitter extends Disposable$1 {
17892
17955
  this._actual.fire(event);
17893
17956
  }
17894
17957
  }
17895
- class DidChangeContentEmitter extends Disposable$1 {
17958
+ class DidChangeContentEmitter extends Disposable$2 {
17896
17959
  constructor() {
17897
17960
  super();
17898
17961
  this._fastEmitter = this._register(( (new Emitter())));
@@ -17983,7 +18046,7 @@ let ModelData$1 = class ModelData {
17983
18046
  this.viewModel.dispose();
17984
18047
  }
17985
18048
  };
17986
- let CodeEditorWidget = class CodeEditorWidget extends Disposable$1 {
18049
+ let CodeEditorWidget = class CodeEditorWidget extends Disposable$2 {
17987
18050
  get isSimpleWidget() {
17988
18051
  return this._configuration.isSimpleWidget;
17989
18052
  }
@@ -19346,7 +19409,7 @@ CodeEditorWidget = ( (__decorate([
19346
19409
  ( (__param(10, ILanguageConfigurationService))),
19347
19410
  ( (__param(11, ILanguageFeaturesService)))
19348
19411
  ], CodeEditorWidget)));
19349
- class BooleanEventEmitter extends Disposable$1 {
19412
+ class BooleanEventEmitter extends Disposable$2 {
19350
19413
  constructor(_emitterOptions) {
19351
19414
  super();
19352
19415
  this._emitterOptions = _emitterOptions;
@@ -19380,7 +19443,7 @@ class InteractionEmitter extends Emitter {
19380
19443
  super.fire(event);
19381
19444
  }
19382
19445
  }
19383
- class EditorContextKeysManager extends Disposable$1 {
19446
+ class EditorContextKeysManager extends Disposable$2 {
19384
19447
  constructor(editor, contextKeyService) {
19385
19448
  super();
19386
19449
  this._editor = editor;
@@ -19441,7 +19504,7 @@ class EditorContextKeysManager extends Disposable$1 {
19441
19504
  this._canRedo.set(Boolean(model && model.canRedo()));
19442
19505
  }
19443
19506
  }
19444
- class EditorModeContext extends Disposable$1 {
19507
+ class EditorModeContext extends Disposable$2 {
19445
19508
  constructor(_editor, _contextKeyService, _languageFeaturesService) {
19446
19509
  super();
19447
19510
  this._editor = _editor;
@@ -19542,7 +19605,7 @@ class EditorModeContext extends Disposable$1 {
19542
19605
  });
19543
19606
  }
19544
19607
  }
19545
- class CodeEditorWidgetFocusTracker extends Disposable$1 {
19608
+ class CodeEditorWidgetFocusTracker extends Disposable$2 {
19546
19609
  constructor(domElement) {
19547
19610
  super();
19548
19611
  this._onChange = this._register(( (new Emitter())));
@@ -19806,7 +19869,7 @@ class PieceTreeTextBufferBuilder {
19806
19869
  }
19807
19870
  }
19808
19871
  }
19809
- class PieceTreeTextBuffer extends Disposable$1 {
19872
+ class PieceTreeTextBuffer extends Disposable$2 {
19810
19873
  constructor(chunks, BOM, eol, containsRTL, containsUnusualLineTerminators, isBasicASCII, eolNormalized) {
19811
19874
  super();
19812
19875
  this._onDidChangeContent = this._register(( (new Emitter())));
@@ -20309,7 +20372,7 @@ function computeModelSha1(model) {
20309
20372
  class ModelData {
20310
20373
  constructor(model, onWillDispose, onDidChangeLanguage) {
20311
20374
  this.model = model;
20312
- this._modelEventListeners = ( (new DisposableStore()));
20375
+ this._modelEventListeners = ( (new DisposableStore$1()));
20313
20376
  this.model = model;
20314
20377
  this._modelEventListeners.add(model.onWillDispose(() => onWillDispose(model)));
20315
20378
  this._modelEventListeners.add(model.onDidChangeLanguage((e) => onDidChangeLanguage(model, e)));
@@ -20331,7 +20394,7 @@ class DisposedModelInfo {
20331
20394
  this.alternativeVersionId = alternativeVersionId;
20332
20395
  }
20333
20396
  }
20334
- let ModelService = class ModelService extends Disposable$1 {
20397
+ let ModelService = class ModelService extends Disposable$2 {
20335
20398
  constructor(_configurationService, _resourcePropertiesService, _undoRedoService, _languageService, _languageConfigurationService) {
20336
20399
  super();
20337
20400
  this._configurationService = _configurationService;
@@ -21369,12 +21432,12 @@ class ListView {
21369
21432
  this.scrollableElementUpdateDisposable = null;
21370
21433
  this.scrollableElementWidthDelayer = ( (new Delayer(50)));
21371
21434
  this.splicing = false;
21372
- this.dragOverAnimationStopDisposable = Disposable$1.None;
21435
+ this.dragOverAnimationStopDisposable = Disposable$2.None;
21373
21436
  this.dragOverMouseY = 0;
21374
21437
  this.canDrop = false;
21375
- this.currentDragFeedbackDisposable = Disposable$1.None;
21376
- this.onDragLeaveTimeout = Disposable$1.None;
21377
- this.disposables = ( (new DisposableStore()));
21438
+ this.currentDragFeedbackDisposable = Disposable$2.None;
21439
+ this.onDragLeaveTimeout = Disposable$2.None;
21440
+ this.disposables = ( (new DisposableStore$1()));
21378
21441
  this._onDidChangeContentHeight = ( (new Emitter()));
21379
21442
  this.onDidChangeContentHeight = Event.latch(this._onDidChangeContentHeight.event, undefined, this.disposables);
21380
21443
  this._horizontalScrolling = false;
@@ -21556,8 +21619,8 @@ class ListView {
21556
21619
  row: null,
21557
21620
  uri: undefined,
21558
21621
  dropTarget: false,
21559
- dragStartDisposable: Disposable$1.None,
21560
- checkedDisposable: Disposable$1.None
21622
+ dragStartDisposable: Disposable$2.None,
21623
+ checkedDisposable: Disposable$2.None
21561
21624
  }))));
21562
21625
  let deleted;
21563
21626
  if (start === 0 && deleteCount >= this.items.length) {
@@ -22148,7 +22211,7 @@ class ListView {
22148
22211
  clearDragOverFeedback() {
22149
22212
  this.currentDragFeedback = undefined;
22150
22213
  this.currentDragFeedbackDisposable.dispose();
22151
- this.currentDragFeedbackDisposable = Disposable$1.None;
22214
+ this.currentDragFeedbackDisposable = Disposable$2.None;
22152
22215
  }
22153
22216
  setupDragAndDropScrollTopAnimation(event) {
22154
22217
  if (!this.dragOverAnimationDisposable) {
@@ -22375,7 +22438,7 @@ ListView.__decorator = ( (__decorate([
22375
22438
  ListView.__decorator = ( (__decorate([
22376
22439
  memoize
22377
22440
  ], ListView.prototype, "onTap", null)));
22378
- class BaseActionViewItem extends Disposable$1 {
22441
+ class BaseActionViewItem extends Disposable$2 {
22379
22442
  get action() {
22380
22443
  return this._action;
22381
22444
  }
@@ -22827,7 +22890,7 @@ class SaveSourceFactory {
22827
22890
  }
22828
22891
  }
22829
22892
  const SaveSourceRegistry = ( (new SaveSourceFactory()));
22830
- class AbstractEditorInput extends Disposable$1 {
22893
+ class AbstractEditorInput extends Disposable$2 {
22831
22894
  }
22832
22895
  function isEditorInput(editor) {
22833
22896
  return editor instanceof AbstractEditorInput;
@@ -23099,7 +23162,7 @@ function toBufferOrReadable(value) {
23099
23162
  }
23100
23163
  const IWorkbenchEnvironmentService = refineServiceDecorator(IEnvironmentService);
23101
23164
  const IWorkingCopyService = ( (createDecorator$1('workingCopyService')));
23102
- class WorkingCopyService extends Disposable$1 {
23165
+ class WorkingCopyService extends Disposable$2 {
23103
23166
  constructor() {
23104
23167
  super(...arguments);
23105
23168
  this._onDidRegister = this._register(( (new Emitter())));
@@ -23127,7 +23190,7 @@ class WorkingCopyService extends Disposable$1 {
23127
23190
  this.mapResourceToWorkingCopies.set(workingCopy.resource, workingCopiesForResource);
23128
23191
  }
23129
23192
  workingCopiesForResource.set(workingCopy.typeId, workingCopy);
23130
- const disposables = ( (new DisposableStore()));
23193
+ const disposables = ( (new DisposableStore$1()));
23131
23194
  disposables.add(workingCopy.onDidChangeContent(() => this._onDidChangeContent.fire(workingCopy)));
23132
23195
  disposables.add(workingCopy.onDidChangeDirty(() => this._onDidChangeDirty.fire(workingCopy)));
23133
23196
  disposables.add(workingCopy.onDidSave(e => this._onDidSave.fire({ workingCopy, ...e })));
@@ -23204,7 +23267,7 @@ class WorkingCopyService extends Disposable$1 {
23204
23267
  return false;
23205
23268
  }
23206
23269
  }
23207
- let WorkingCopyFileOperationParticipant = class WorkingCopyFileOperationParticipant extends Disposable$1 {
23270
+ let WorkingCopyFileOperationParticipant = class WorkingCopyFileOperationParticipant extends Disposable$2 {
23208
23271
  constructor(logService, configurationService) {
23209
23272
  super();
23210
23273
  this.logService = logService;
@@ -23237,7 +23300,7 @@ WorkingCopyFileOperationParticipant = ( (__decorate([
23237
23300
  ( (__param(0, ILogService))),
23238
23301
  ( (__param(1, IConfigurationService)))
23239
23302
  ], WorkingCopyFileOperationParticipant)));
23240
- let StoredFileWorkingCopySaveParticipant = class StoredFileWorkingCopySaveParticipant extends Disposable$1 {
23303
+ let StoredFileWorkingCopySaveParticipant = class StoredFileWorkingCopySaveParticipant extends Disposable$2 {
23241
23304
  get length() { return this.saveParticipants.length; }
23242
23305
  constructor(progressService, logService) {
23243
23306
  super();
@@ -23284,7 +23347,7 @@ StoredFileWorkingCopySaveParticipant = ( (__decorate([
23284
23347
  ( (__param(1, ILogService)))
23285
23348
  ], StoredFileWorkingCopySaveParticipant)));
23286
23349
  const IWorkingCopyFileService = ( (createDecorator$1('workingCopyFileService')));
23287
- let WorkingCopyFileService = class WorkingCopyFileService extends Disposable$1 {
23350
+ let WorkingCopyFileService = class WorkingCopyFileService extends Disposable$2 {
23288
23351
  constructor(fileService, workingCopyService, instantiationService, uriIdentityService) {
23289
23352
  super();
23290
23353
  this.fileService = fileService;
@@ -24252,7 +24315,7 @@ class LoggableHeaders {
24252
24315
  return this.headers;
24253
24316
  }
24254
24317
  }
24255
- class AbstractRequestService extends Disposable$1 {
24318
+ class AbstractRequestService extends Disposable$2 {
24256
24319
  constructor(remote, loggerService) {
24257
24320
  super();
24258
24321
  this.counter = 0;
@@ -24611,7 +24674,7 @@ class WorkbenchContributionsRegistry {
24611
24674
  Registry.add(Extensions$2.Workbench, ( (new WorkbenchContributionsRegistry())));
24612
24675
  const IUserDataInitializationService = ( (createDecorator$1('IUserDataInitializationService')));
24613
24676
  const IHostColorSchemeService = ( (createDecorator$1('hostColorSchemeService')));
24614
- class BrowserHostColorSchemeService extends Disposable$1 {
24677
+ class BrowserHostColorSchemeService extends Disposable$2 {
24615
24678
  constructor() {
24616
24679
  super();
24617
24680
  this._onDidSchemeChangeEvent = this._register(( (new Emitter())));
@@ -24667,7 +24730,7 @@ const defaultUserDataProfileIcon = ( (registerIcon(
24667
24730
  Codicon.settings,
24668
24731
  (localize('defaultProfileIcon', 'Icon for Default Profile.'))
24669
24732
  )));
24670
- let UserDataProfileService = class UserDataProfileService extends Disposable$1 {
24733
+ let UserDataProfileService = class UserDataProfileService extends Disposable$2 {
24671
24734
  get currentProfile() { return this._currentProfile; }
24672
24735
  constructor(currentProfile, userDataProfilesService) {
24673
24736
  super();
@@ -25391,7 +25454,7 @@ function getMatchStartEnd(match) {
25391
25454
  end: matchEndLine
25392
25455
  };
25393
25456
  }
25394
- let SearchService = class SearchService extends Disposable$1 {
25457
+ let SearchService = class SearchService extends Disposable$2 {
25395
25458
  constructor(modelService, editorService, telemetryService, logService, extensionService, fileService, uriIdentityService) {
25396
25459
  super();
25397
25460
  this.modelService = modelService;
@@ -25730,6 +25793,15 @@ SearchService = ( (__decorate([
25730
25793
  ], SearchService)));
25731
25794
  const IEditSessionIdentityService = ( (createDecorator$1('editSessionIdentityService')));
25732
25795
  const IWorkspaceEditingService = ( (createDecorator$1('workspaceEditingService')));
25796
+ const IWorkbenchLayoutService = refineServiceDecorator(ILayoutService);
25797
+ function positionToString(position) {
25798
+ switch (position) {
25799
+ case 0 : return 'left';
25800
+ case 1 : return 'right';
25801
+ case 2 : return 'bottom';
25802
+ default: return 'bottom';
25803
+ }
25804
+ }
25733
25805
  const ITimerService = ( (createDecorator$1('timerService')));
25734
25806
  const IExtensionsWorkbenchService = ( (createDecorator$1('extensionsWorkbenchService')));
25735
25807
  const IWorkbenchExtensionEnablementService = ( (createDecorator$1('extensionEnablementService')));
@@ -25737,7 +25809,7 @@ const ITunnelService = ( (createDecorator$1('tunnelService')));
25737
25809
  const IWorkingCopyBackupService = ( (createDecorator$1('workingCopyBackupService')));
25738
25810
  const AutoSaveAfterShortDelayContext = ( (new RawContextKey$1('autoSaveAfterShortDelayContext', false, true)));
25739
25811
  const IFilesConfigurationService = ( (createDecorator$1('filesConfigurationService')));
25740
- let FilesConfigurationService = class FilesConfigurationService extends Disposable$1 {
25812
+ let FilesConfigurationService = class FilesConfigurationService extends Disposable$2 {
25741
25813
  constructor(contextKeyService, configurationService, contextService) {
25742
25814
  super();
25743
25815
  this.configurationService = configurationService;
@@ -25848,7 +25920,7 @@ FilesConfigurationService = ( (__decorate([
25848
25920
  ( (__param(1, IConfigurationService))),
25849
25921
  ( (__param(2, IWorkspaceContextService$1)))
25850
25922
  ], FilesConfigurationService)));
25851
- class EditorModel extends Disposable$1 {
25923
+ class EditorModel extends Disposable$2 {
25852
25924
  constructor() {
25853
25925
  super(...arguments);
25854
25926
  this._onWillDispose = this._register(( (new Emitter())));
@@ -29784,7 +29856,7 @@ class WorkingCopyBackupsModel {
29784
29856
  this.cache.clear();
29785
29857
  }
29786
29858
  }
29787
- let WorkingCopyBackupServiceImpl = class WorkingCopyBackupServiceImpl extends Disposable$1 {
29859
+ let WorkingCopyBackupServiceImpl = class WorkingCopyBackupServiceImpl extends Disposable$2 {
29788
29860
  constructor(backupWorkspaceHome, fileService, logService) {
29789
29861
  super();
29790
29862
  this.backupWorkspaceHome = backupWorkspaceHome;
@@ -30786,7 +30858,7 @@ TextFileEditorModel = ( (__decorate([
30786
30858
  ( (__param(14, IPathService))),
30787
30859
  ( (__param(15, IExtensionService)))
30788
30860
  ], TextFileEditorModel)));
30789
- let TextFileSaveParticipant = class TextFileSaveParticipant extends Disposable$1 {
30861
+ let TextFileSaveParticipant = class TextFileSaveParticipant extends Disposable$2 {
30790
30862
  constructor(progressService, logService) {
30791
30863
  super();
30792
30864
  this.progressService = progressService;
@@ -30831,7 +30903,7 @@ TextFileSaveParticipant = ( (__decorate([
30831
30903
  ( (__param(0, IProgressService))),
30832
30904
  ( (__param(1, ILogService)))
30833
30905
  ], TextFileSaveParticipant)));
30834
- let TextFileEditorModelManager = class TextFileEditorModelManager extends Disposable$1 {
30906
+ let TextFileEditorModelManager = class TextFileEditorModelManager extends Disposable$2 {
30835
30907
  get models() {
30836
30908
  return [...( (this.mapResourceToModel.values()))];
30837
30909
  }
@@ -31133,7 +31205,7 @@ let TextFileEditorModelManager = class TextFileEditorModelManager extends Dispos
31133
31205
  }
31134
31206
  }
31135
31207
  registerModel(model) {
31136
- const modelListeners = ( (new DisposableStore()));
31208
+ const modelListeners = ( (new DisposableStore$1()));
31137
31209
  modelListeners.add(model.onDidResolve(reason => this._onDidResolve.fire({ model, reason })));
31138
31210
  modelListeners.add(model.onDidChangeDirty(() => this._onDidChangeDirty.fire(model)));
31139
31211
  modelListeners.add(model.onDidChangeReadonly(() => this._onDidChangeReadonly.fire(model)));
@@ -31212,7 +31284,7 @@ TextFileEditorModelManager = ( (__decorate([
31212
31284
  ( (__param(3, IWorkingCopyFileService))),
31213
31285
  ( (__param(4, IUriIdentityService)))
31214
31286
  ], TextFileEditorModelManager)));
31215
- let AbstractTextFileService = class AbstractTextFileService extends Disposable$1 {
31287
+ let AbstractTextFileService = class AbstractTextFileService extends Disposable$2 {
31216
31288
  constructor(fileService, untitledTextEditorService, lifecycleService, instantiationService, modelService, environmentService, dialogService, fileDialogService, textResourceConfigurationService, filesConfigurationService, codeEditorService, pathService, workingCopyFileService, uriIdentityService, languageService, logService, elevatedFileService, decorationsService) {
31217
31289
  super();
31218
31290
  this.fileService = fileService;
@@ -31238,7 +31310,7 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable$1
31238
31310
  this.provideDecorations();
31239
31311
  }
31240
31312
  provideDecorations() {
31241
- this.decorationsService.registerDecorationsProvider(new (class extends Disposable$1 {
31313
+ this.decorationsService.registerDecorationsProvider(new (class extends Disposable$2 {
31242
31314
  constructor(files) {
31243
31315
  super();
31244
31316
  this.files = files;
@@ -31652,7 +31724,7 @@ AbstractTextFileService = ( (__decorate([
31652
31724
  ( (__param(16, IElevatedFileService))),
31653
31725
  ( (__param(17, IDecorationsService)))
31654
31726
  ], AbstractTextFileService)));
31655
- let EncodingOracle = class EncodingOracle extends Disposable$1 {
31727
+ let EncodingOracle = class EncodingOracle extends Disposable$2 {
31656
31728
  get encodingOverrides() { return this._encodingOverrides; }
31657
31729
  set encodingOverrides(value) { this._encodingOverrides = value; }
31658
31730
  constructor(textResourceConfigurationService, environmentService, contextService, uriIdentityService) {
@@ -31892,7 +31964,7 @@ class DecorationStyles {
31892
31964
  this._themeService = _themeService;
31893
31965
  this._styleElement = createStyleSheet();
31894
31966
  this._decorationRules = ( (new Map()));
31895
- this._dispoables = ( (new DisposableStore()));
31967
+ this._dispoables = ( (new DisposableStore$1()));
31896
31968
  }
31897
31969
  dispose() {
31898
31970
  this._dispoables.dispose();
@@ -32250,7 +32322,7 @@ Entry._clock = 0;
32250
32322
  let UriIdentityService = class UriIdentityService {
32251
32323
  constructor(_fileService) {
32252
32324
  this._fileService = _fileService;
32253
- this._dispooables = ( (new DisposableStore()));
32325
+ this._dispooables = ( (new DisposableStore$1()));
32254
32326
  this._limit = 2 ** 16;
32255
32327
  const schemeIgnoresPathCasingCache = ( (new Map()));
32256
32328
  const ignorePathCasing = (uri) => {
@@ -33561,7 +33633,7 @@ var RegisteredEditorPriority;
33561
33633
  RegisteredEditorPriority["default"] = "default";
33562
33634
  })(RegisteredEditorPriority || (RegisteredEditorPriority = {}))));
33563
33635
  const ITextEditorService = ( (createDecorator$1('textEditorService')));
33564
- let TextEditorService = class TextEditorService extends Disposable$1 {
33636
+ let TextEditorService = class TextEditorService extends Disposable$2 {
33565
33637
  constructor(untitledTextEditorService, instantiationService, uriIdentityService, fileService, editorResolverService) {
33566
33638
  super();
33567
33639
  this.untitledTextEditorService = untitledTextEditorService;
@@ -33691,7 +33763,7 @@ TextEditorService = ( (__decorate([
33691
33763
  ( (__param(3, IFileService))),
33692
33764
  ( (__param(4, IEditorResolverService)))
33693
33765
  ], TextEditorService)));
33694
- let AbstractLifecycleService = class AbstractLifecycleService extends Disposable$1 {
33766
+ let AbstractLifecycleService = class AbstractLifecycleService extends Disposable$2 {
33695
33767
  get startupKind() { return this._startupKind; }
33696
33768
  get phase() { return this._phase; }
33697
33769
  constructor(logService, storageService) {
@@ -33877,7 +33949,7 @@ OutputLinkProvider = ( (__decorate([
33877
33949
  ( (__param(2, ILanguageConfigurationService))),
33878
33950
  ( (__param(3, ILanguageFeaturesService)))
33879
33951
  ], OutputLinkProvider)));
33880
- class OutputFileListener extends Disposable$1 {
33952
+ class OutputFileListener extends Disposable$2 {
33881
33953
  constructor(file, fileService, logService) {
33882
33954
  super();
33883
33955
  this.file = file;
@@ -33919,7 +33991,7 @@ class OutputFileListener extends Disposable$1 {
33919
33991
  super.dispose();
33920
33992
  }
33921
33993
  }
33922
- let FileOutputChannelModel = class FileOutputChannelModel extends Disposable$1 {
33994
+ let FileOutputChannelModel = class FileOutputChannelModel extends Disposable$2 {
33923
33995
  constructor(modelUri, language, file, fileService, modelService, logService, editorWorkerService) {
33924
33996
  super();
33925
33997
  this.modelUri = modelUri;
@@ -34141,7 +34213,7 @@ OutputChannelBackedByFile = ( (__decorate([
34141
34213
  ( (__param(7, ILogService))),
34142
34214
  ( (__param(8, IEditorWorkerService)))
34143
34215
  ], OutputChannelBackedByFile)));
34144
- let DelegatedOutputChannelModel = class DelegatedOutputChannelModel extends Disposable$1 {
34216
+ let DelegatedOutputChannelModel = class DelegatedOutputChannelModel extends Disposable$2 {
34145
34217
  constructor(id, modelUri, language, outputDir, instantiationService, fileService) {
34146
34218
  super();
34147
34219
  this.instantiationService = instantiationService;
@@ -34202,7 +34274,7 @@ OutputChannelModelService = ( (__decorate([
34202
34274
  ( (__param(2, IWorkbenchEnvironmentService)))
34203
34275
  ], OutputChannelModelService)));
34204
34276
  const OUTPUT_ACTIVE_CHANNEL_KEY = 'output.activechannel';
34205
- let OutputChannel = class OutputChannel extends Disposable$1 {
34277
+ let OutputChannel = class OutputChannel extends Disposable$2 {
34206
34278
  constructor(outputChannelDescriptor, outputChannelModelService, languageService) {
34207
34279
  super();
34208
34280
  this.outputChannelDescriptor = outputChannelDescriptor;
@@ -34229,7 +34301,7 @@ OutputChannel = ( (__decorate([
34229
34301
  ( (__param(1, IOutputChannelModelService))),
34230
34302
  ( (__param(2, ILanguageService)))
34231
34303
  ], OutputChannel)));
34232
- let OutputService = class OutputService extends Disposable$1 {
34304
+ let OutputService = class OutputService extends Disposable$2 {
34233
34305
  constructor(storageService, instantiationService, textModelResolverService, logService, lifecycleService, viewsService, contextKeyService) {
34234
34306
  super();
34235
34307
  this.storageService = storageService;
@@ -37535,7 +37607,7 @@ var UIKind;
37535
37607
  UIKind[UIKind["Desktop"] = 1] = "Desktop";
37536
37608
  UIKind[UIKind["Web"] = 2] = "Web";
37537
37609
  })(UIKind || (UIKind = {}))));
37538
- let ExtHostTelemetry = class ExtHostTelemetry extends Disposable$1 {
37610
+ let ExtHostTelemetry = class ExtHostTelemetry extends Disposable$2 {
37539
37611
  constructor(initData, loggerService) {
37540
37612
  super();
37541
37613
  this.initData = initData;
@@ -38786,7 +38858,7 @@ class ExtHostDocuments {
38786
38858
  this.onDidRemoveDocument = this._onDidRemoveDocument.event;
38787
38859
  this.onDidChangeDocument = this._onDidChangeDocument.event;
38788
38860
  this.onDidSaveDocument = this._onDidSaveDocument.event;
38789
- this._toDispose = ( (new DisposableStore()));
38861
+ this._toDispose = ( (new DisposableStore$1()));
38790
38862
  this._documentLoader = ( (new Map()));
38791
38863
  this._proxy = ( (mainContext.getProxy(MainContext.MainThreadDocuments)));
38792
38864
  this._documentsAndEditors = documentsAndEditors;
@@ -41027,7 +41099,7 @@ class ExtHostLanguages {
41027
41099
  busy: false
41028
41100
  };
41029
41101
  let soonHandle;
41030
- const commandDisposables = ( (new DisposableStore()));
41102
+ const commandDisposables = ( (new DisposableStore$1()));
41031
41103
  const updateAsync = () => {
41032
41104
  soonHandle?.dispose();
41033
41105
  soonHandle = disposableTimeout(() => {
@@ -41347,7 +41419,7 @@ class CodeLensAdapter {
41347
41419
  return undefined;
41348
41420
  }
41349
41421
  const cacheId = this._cache.add(lenses);
41350
- const disposables = ( (new DisposableStore()));
41422
+ const disposables = ( (new DisposableStore$1()));
41351
41423
  this._disposables.set(cacheId, disposables);
41352
41424
  const result = {
41353
41425
  cacheId,
@@ -41593,7 +41665,7 @@ class CodeActionAdapter {
41593
41665
  return undefined;
41594
41666
  }
41595
41667
  const cacheId = this._cache.add(commandsOrActions);
41596
- const disposables = ( (new DisposableStore()));
41668
+ const disposables = ( (new DisposableStore$1()));
41597
41669
  this._disposables.set(cacheId, disposables);
41598
41670
  const actions = [];
41599
41671
  for (let i = 0; i < commandsOrActions.length; i++) {
@@ -42071,7 +42143,7 @@ class CompletionsAdapter {
42071
42143
  }
42072
42144
  const list = Array.isArray(itemsOrList) ? ( (new CompletionList(itemsOrList))) : itemsOrList;
42073
42145
  const pid = CompletionsAdapter.supportsResolving(this._provider) ? this._cache.add(list.items) : this._cache.add([]);
42074
- const disposables = ( (new DisposableStore()));
42146
+ const disposables = ( (new DisposableStore$1()));
42075
42147
  this._disposables.set(pid, disposables);
42076
42148
  const completions = [];
42077
42149
  const result = {
@@ -42220,7 +42292,7 @@ class InlineCompletionAdapter extends InlineCompletionAdapterBase {
42220
42292
  let command = undefined;
42221
42293
  if (item.command) {
42222
42294
  if (!disposableStore) {
42223
- disposableStore = ( (new DisposableStore()));
42295
+ disposableStore = ( (new DisposableStore$1()));
42224
42296
  }
42225
42297
  command = this._commands.toInternal(item.command, disposableStore);
42226
42298
  }
@@ -42236,7 +42308,7 @@ class InlineCompletionAdapter extends InlineCompletionAdapterBase {
42236
42308
  }))),
42237
42309
  commands: ( (commands.map(c => {
42238
42310
  if (!disposableStore) {
42239
- disposableStore = ( (new DisposableStore()));
42311
+ disposableStore = ( (new DisposableStore$1()));
42240
42312
  }
42241
42313
  return this._commands.toInternal(c, disposableStore);
42242
42314
  })))
@@ -42341,7 +42413,7 @@ class InlayHintsAdapter {
42341
42413
  return undefined;
42342
42414
  }
42343
42415
  const pid = this._cache.add(hints);
42344
- this._disposables.set(pid, ( (new DisposableStore())));
42416
+ this._disposables.set(pid, ( (new DisposableStore$1())));
42345
42417
  const result = { hints: [], cacheId: pid };
42346
42418
  for (let i = 0; i < hints.length; i++) {
42347
42419
  if (this._isValidInlayHint(hints[i], range)) {
@@ -42922,7 +42994,7 @@ class ExtHostLanguageFeatures {
42922
42994
  return this._withAdapter(handle, ReferenceAdapter, adapter => adapter.provideReferences(URI.revive(resource), position, context, token), undefined, token);
42923
42995
  }
42924
42996
  registerCodeActionProvider(extension, selector, provider, metadata) {
42925
- const store = ( (new DisposableStore()));
42997
+ const store = ( (new DisposableStore$1()));
42926
42998
  const handle = this._addNewAdapter(( (new CodeActionAdapter(
42927
42999
  this._documents,
42928
43000
  this._commands.converter,
@@ -45334,7 +45406,7 @@ ExtHostLocalizationService = ( (__decorate([
45334
45406
  const IExtHostLocalizationService = ( (createDecorator$1('IExtHostLocalizationService')));
45335
45407
  var _Extension_extensionService, _Extension_originExtensionId, _Extension_identifier;
45336
45408
  const IHostUtils = ( (createDecorator$1('IHostUtils')));
45337
- let AbstractExtHostExtensionService = class AbstractExtHostExtensionService extends Disposable$1 {
45409
+ let AbstractExtHostExtensionService = class AbstractExtHostExtensionService extends Disposable$2 {
45338
45410
  constructor(instaService, hostUtils, extHostContext, extHostWorkspace, extHostConfiguration, logService, initData, storagePath, extHostTunnelService, extHostTerminalService, extHostLocalizationService) {
45339
45411
  super();
45340
45412
  this._onDidChangeRemoteConnectionData = this._register(( (new Emitter())));
@@ -46921,7 +46993,7 @@ class ExtHostVariableResolverService extends AbstractVariableResolverService {
46921
46993
  }, undefined, homeDir ? Promise.resolve(homeDir) : undefined, Promise.resolve(env));
46922
46994
  }
46923
46995
  }
46924
- let ExtHostVariableResolverProviderService = class ExtHostVariableResolverProviderService extends Disposable$1 {
46996
+ let ExtHostVariableResolverProviderService = class ExtHostVariableResolverProviderService extends Disposable$2 {
46925
46997
  constructor(extensionService, workspaceService, editorService, configurationService, editorTabs) {
46926
46998
  super();
46927
46999
  this.extensionService = extensionService;
@@ -47965,7 +48037,7 @@ function createURIReplacer(transformer) {
47965
48037
  const noop = () => { };
47966
48038
  const _RPCProtocolSymbol = Symbol.for('rpcProtocol');
47967
48039
  const _RPCProxySymbol = Symbol.for('rpcProxy');
47968
- class RPCProtocol extends Disposable$1 {
48040
+ class RPCProtocol extends Disposable$2 {
47969
48041
  constructor(protocol, logger = null, transformer = null) {
47970
48042
  super();
47971
48043
  this[_a$1] = true;
@@ -50271,7 +50343,7 @@ let ExtHostOutputService = class ExtHostOutputService {
50271
50343
  };
50272
50344
  }
50273
50345
  createExtHostLogOutputChannel(name, logLevel, channelPromise) {
50274
- const disposables = ( (new DisposableStore()));
50346
+ const disposables = ( (new DisposableStore$1()));
50275
50347
  const validate = () => {
50276
50348
  if (disposables.isDisposed) {
50277
50349
  throw new Error('Channel has been closed');
@@ -50415,7 +50487,7 @@ let MainThreadWindow = class MainThreadWindow {
50415
50487
  constructor(extHostContext, hostService, openerService) {
50416
50488
  this.hostService = hostService;
50417
50489
  this.openerService = openerService;
50418
- this.disposables = ( (new DisposableStore()));
50490
+ this.disposables = ( (new DisposableStore$1()));
50419
50491
  this.proxy = ( (extHostContext.getProxy(ExtHostContext.ExtHostWindow)));
50420
50492
  Event.latch(hostService.onDidChangeFocus)(this.proxy.$onDidChangeWindowFocus, this.proxy, this.disposables);
50421
50493
  }
@@ -50690,7 +50762,7 @@ MainThreadQuickOpen = __decorate([
50690
50762
  ( (__param(1, IQuickInputService)))
50691
50763
  ], MainThreadQuickOpen);
50692
50764
  var MainThreadTelemetry_1;
50693
- let MainThreadTelemetry = MainThreadTelemetry_1 = class MainThreadTelemetry extends Disposable$1 {
50765
+ let MainThreadTelemetry = MainThreadTelemetry_1 = class MainThreadTelemetry extends Disposable$2 {
50694
50766
  constructor(extHostContext, _telemetryService, _configurationService, _environmentService, _productService) {
50695
50767
  super();
50696
50768
  this._telemetryService = _telemetryService;
@@ -50917,7 +50989,7 @@ let MainThreadLanguages = class MainThreadLanguages {
50917
50989
  this._modelService = _modelService;
50918
50990
  this._resolverService = _resolverService;
50919
50991
  this._languageStatusService = _languageStatusService;
50920
- this._disposables = ( (new DisposableStore()));
50992
+ this._disposables = ( (new DisposableStore$1()));
50921
50993
  this._status = ( (new DisposableMap$1()));
50922
50994
  this._proxy = ( (_extHostContext.getProxy(ExtHostContext.ExtHostLanguages)));
50923
50995
  this._proxy.$acceptLanguageIds(_languageService.getRegisteredLanguageIds());
@@ -51292,7 +51364,7 @@ CommandsRegistry.registerCommand('_executeProvideSubtypes', async (_accessor, ..
51292
51364
  return model.provideSubtypes(item, CancellationToken.None);
51293
51365
  });
51294
51366
  var MainThreadLanguageFeatures_1;
51295
- let MainThreadLanguageFeatures = MainThreadLanguageFeatures_1 = class MainThreadLanguageFeatures extends Disposable$1 {
51367
+ let MainThreadLanguageFeatures = MainThreadLanguageFeatures_1 = class MainThreadLanguageFeatures extends Disposable$2 {
51296
51368
  constructor(extHostContext, _languageService, _languageConfigurationService, _languageFeaturesService, _uriIdentService) {
51297
51369
  super();
51298
51370
  this._languageService = _languageService;
@@ -52259,7 +52331,7 @@ MainThreadConfiguration = __decorate([
52259
52331
  let MainThreadDebugService = class MainThreadDebugService {
52260
52332
  constructor(extHostContext, debugService) {
52261
52333
  this.debugService = debugService;
52262
- this._toDispose = ( (new DisposableStore()));
52334
+ this._toDispose = ( (new DisposableStore$1()));
52263
52335
  this._debugAdaptersHandleCounter = 1;
52264
52336
  this._proxy = ( (extHostContext.getProxy(ExtHostContext.ExtHostDebugService)));
52265
52337
  this._toDispose.add(debugService.onDidNewSession(session => {
@@ -52755,7 +52827,7 @@ let MainThreadWorkspace = class MainThreadWorkspace {
52755
52827
  this._environmentService = _environmentService;
52756
52828
  this._workspaceTrustManagementService = _workspaceTrustManagementService;
52757
52829
  this._workspaceTrustRequestService = _workspaceTrustRequestService;
52758
- this._toDispose = ( (new DisposableStore()));
52830
+ this._toDispose = ( (new DisposableStore$1()));
52759
52831
  this._activeCancelTokens = Object.create(null);
52760
52832
  this._queryBuilder = this._instantiationService.createInstance(QueryBuilder);
52761
52833
  this.registeredEditSessionProviders = ( (new Map()));
@@ -53165,7 +53237,7 @@ MainThreadExtensionService = __decorate([
53165
53237
  ( (__param(8, IWorkbenchEnvironmentService)))
53166
53238
  ], MainThreadExtensionService);
53167
53239
  const IWorkbenchFileService = refineServiceDecorator(IFileService);
53168
- class AbstractWatcherClient extends Disposable$1 {
53240
+ class AbstractWatcherClient extends Disposable$2 {
53169
53241
  constructor(onFileChanges, onLogMessage, verboseLogging, options) {
53170
53242
  super();
53171
53243
  this.onFileChanges = onFileChanges;
@@ -53177,7 +53249,7 @@ class AbstractWatcherClient extends Disposable$1 {
53177
53249
  this.restartCounter = 0;
53178
53250
  }
53179
53251
  init() {
53180
- const disposables = ( (new DisposableStore()));
53252
+ const disposables = ( (new DisposableStore$1()));
53181
53253
  this.watcherDisposables.value = disposables;
53182
53254
  this.watcher = this.createWatcher(disposables);
53183
53255
  this.watcher.setVerboseLogging(this.verboseLogging);
@@ -53238,7 +53310,7 @@ let MainThreadFileSystem = MainThreadFileSystem_1 = class MainThreadFileSystem {
53238
53310
  this._logService = _logService;
53239
53311
  this._configurationService = _configurationService;
53240
53312
  this._fileProvider = ( (new DisposableMap$1()));
53241
- this._disposables = ( (new DisposableStore()));
53313
+ this._disposables = ( (new DisposableStore$1()));
53242
53314
  this._watches = ( (new DisposableMap$1()));
53243
53315
  this._proxy = ( (extHostContext.getProxy(ExtHostContext.ExtHostFileSystem)));
53244
53316
  const infoProxy = ( (extHostContext.getProxy(ExtHostContext.ExtHostFileSystemInfo)));
@@ -53487,7 +53559,7 @@ class RemoteFileSystemProvider {
53487
53559
  var MainThreadFileSystemEventService_1;
53488
53560
  let MainThreadFileSystemEventService = MainThreadFileSystemEventService_1 = class MainThreadFileSystemEventService {
53489
53561
  constructor(extHostContext, fileService, workingCopyFileService, bulkEditService, progressService, dialogService, storageService, logService, envService, uriIdentService) {
53490
- this._listener = ( (new DisposableStore()));
53562
+ this._listener = ( (new DisposableStore$1()));
53491
53563
  const proxy = ( (extHostContext.getProxy(ExtHostContext.ExtHostFileSystemEventService)));
53492
53564
  this._listener.add(fileService.onDidFilesChange(event => {
53493
53565
  proxy.$onFileEvent({
@@ -53745,7 +53817,7 @@ class BoundModelReferenceCollection {
53745
53817
  }
53746
53818
  }
53747
53819
  }
53748
- class ModelTracker extends Disposable$1 {
53820
+ class ModelTracker extends Disposable$2 {
53749
53821
  constructor(_model, _onIsCaughtUpWithContentChanges, _proxy, _textFileService) {
53750
53822
  super();
53751
53823
  this._model = _model;
@@ -53765,7 +53837,7 @@ class ModelTracker extends Disposable$1 {
53765
53837
  return (this._model.getVersionId() === this._knownVersionId);
53766
53838
  }
53767
53839
  }
53768
- let MainThreadDocuments = class MainThreadDocuments extends Disposable$1 {
53840
+ let MainThreadDocuments = class MainThreadDocuments extends Disposable$2 {
53769
53841
  constructor(extHostContext, _modelService, _textFileService, _fileService, _textModelResolverService, _environmentService, _uriIdentityService, workingCopyFileService, _pathService) {
53770
53842
  super();
53771
53843
  this._modelService = _modelService;
@@ -54036,8 +54108,8 @@ class MainThreadTextEditorProperties {
54036
54108
  }
54037
54109
  class MainThreadTextEditor {
54038
54110
  constructor(id, model, codeEditor, focusTracker, mainThreadDocuments, modelService, clipboardService) {
54039
- this._modelListeners = ( (new DisposableStore()));
54040
- this._codeEditorListeners = ( (new DisposableStore()));
54111
+ this._modelListeners = ( (new DisposableStore$1()));
54112
+ this._codeEditorListeners = ( (new DisposableStore$1()));
54041
54113
  this._id = id;
54042
54114
  this._model = model;
54043
54115
  this._codeEditor = null;
@@ -54364,7 +54436,7 @@ let MainThreadTextEditors = class MainThreadTextEditors {
54364
54436
  this._editorService = _editorService;
54365
54437
  this._editorGroupService = _editorGroupService;
54366
54438
  this._configurationService = _configurationService;
54367
- this._toDispose = ( (new DisposableStore()));
54439
+ this._toDispose = ( (new DisposableStore$1()));
54368
54440
  this._instanceId = String(++MainThreadTextEditors.INSTANCE_COUNT);
54369
54441
  this._proxy = ( (extHostContext.getProxy(ExtHostContext.ExtHostEditors)));
54370
54442
  this._textEditorsListenersMap = Object.create(null);
@@ -54636,7 +54708,7 @@ let MainThreadDocumentAndEditorStateComputer = class MainThreadDocumentAndEditor
54636
54708
  this._codeEditorService = _codeEditorService;
54637
54709
  this._editorService = _editorService;
54638
54710
  this._paneCompositeService = _paneCompositeService;
54639
- this._toDispose = ( (new DisposableStore()));
54711
+ this._toDispose = ( (new DisposableStore$1()));
54640
54712
  this._toDisposeOnEditorRemove = ( (new DisposableMap$1()));
54641
54713
  this._activeEditorOrder = 0 ;
54642
54714
  this._modelService.onModelAdded(this._updateStateOnModelAdd, this, this._toDispose);
@@ -54759,7 +54831,7 @@ let MainThreadDocumentsAndEditors = class MainThreadDocumentsAndEditors {
54759
54831
  this._editorService = _editorService;
54760
54832
  this._editorGroupService = _editorGroupService;
54761
54833
  this._clipboardService = _clipboardService;
54762
- this._toDispose = ( (new DisposableStore()));
54834
+ this._toDispose = ( (new DisposableStore$1()));
54763
54835
  this._textEditors = ( (new Map()));
54764
54836
  this._proxy = ( (extHostContext.getProxy(ExtHostContext.ExtHostDocumentsAndEditors)));
54765
54837
  this._mainThreadDocuments = this._toDispose.add(( (new MainThreadDocuments(
@@ -54916,7 +54988,7 @@ MainThreadDocumentsAndEditors = __decorate([
54916
54988
  ( (__param(14, IConfigurationService)))
54917
54989
  ], MainThreadDocumentsAndEditors);
54918
54990
  var MainThreadOutputService_1;
54919
- let MainThreadOutputService = MainThreadOutputService_1 = class MainThreadOutputService extends Disposable$1 {
54991
+ let MainThreadOutputService = MainThreadOutputService_1 = class MainThreadOutputService extends Disposable$2 {
54920
54992
  constructor(extHostContext, outputService, viewsService) {
54921
54993
  super();
54922
54994
  this._outputService = outputService;
@@ -55272,12 +55344,47 @@ function getConfigProvider() {
55272
55344
  }
55273
55345
  return configProvider;
55274
55346
  }
55347
+ class LayoutService {
55348
+ constructor(container) {
55349
+ this.container = container;
55350
+ this.onDidChangePartVisibility = Event.None;
55351
+ this.offset = { top: 0, quickPickTop: 0 };
55352
+ this._onDidLayout = new Emitter();
55353
+ this.onDidLayout = this._onDidLayout.event;
55354
+ window.addEventListener('resize', () => this.layout());
55355
+ this.layout();
55356
+ }
55357
+ isVisible() {
55358
+ return false;
55359
+ }
55360
+ get dimension() { return this._dimension; }
55361
+ layout() {
55362
+ this._dimension = getClientArea(window.document.body);
55363
+ this._onDidLayout.fire(this._dimension);
55364
+ }
55365
+ get hasContainer() {
55366
+ return true;
55367
+ }
55368
+ focus() {
55369
+ StandaloneServices.get(ICodeEditorService).getFocusedCodeEditor()?.focus();
55370
+ }
55371
+ }
55372
+ function getServiceOverride(container = document.body) {
55373
+ container.classList.add('monaco-workbench');
55374
+ return {
55375
+ [( ILayoutService.toString())]: new SyncDescriptor(LayoutService, [container]),
55376
+ [( IWorkbenchLayoutService.toString())]: new SyncDescriptor(LayoutService, [container])
55377
+ };
55378
+ }
55275
55379
  const serviceInitializeParticipants = [];
55276
55380
  function registerServiceInitializeParticipant(participant) {
55277
55381
  serviceInitializeParticipants.push(participant);
55278
55382
  }
55279
55383
  async function initServices(overrides) {
55280
- const instantiationService = StandaloneServices.initialize(overrides);
55384
+ const instantiationService = StandaloneServices.initialize({
55385
+ ...getServiceOverride(),
55386
+ ...overrides
55387
+ });
55281
55388
  await instantiationService.invokeFunction(async (accessor) => {
55282
55389
  const lifecycleService = accessor.get(ILifecycleService);
55283
55390
  await Promise.all(( serviceInitializeParticipants.map(participant => participant(accessor))));
@@ -55481,5 +55588,9 @@ registerServiceInitializeParticipant(async (accessor) => {
55481
55588
  telemetryService.publicLog2 ?? (telemetryService.publicLog2 = () => { });
55482
55589
  telemetryService.publicLogError ?? (telemetryService.publicLogError = () => { });
55483
55590
  telemetryService.publicLogError2 ?? (telemetryService.publicLogError2 = () => { });
55591
+ const textResourceConfigurationService = accessor.get(ITextResourceConfigurationService);
55592
+ textResourceConfigurationService.onDidChangeConfiguration ?? (textResourceConfigurationService.onDidChangeConfiguration = Event.None);
55593
+ const textModelService = accessor.get(ITextModelService);
55594
+ textModelService.registerTextModelContentProvider ?? (textModelService.registerTextModelContentProvider = () => Disposable$1.None);
55484
55595
  });
55485
- export { ACTIVE_GROUP, AbstractDialogHandler, AbstractTextEditor, AbstractTextResourceEditorInput, AbstractVariableResolverService, AsyncReferenceCollection, AutoSaveConfiguration, AutomaticLanguageDetectionLikelyWrongId, BREAKPOINTS_VIEW_ID, BREAKPOINT_EDITOR_CONTRIBUTION_ID, Barrier, Breakpoint, BrowserTextFileService, ByteSize, CALLSTACK_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_BREAKPOINTS_FOCUSED, CONTEXT_BREAKPOINT_INPUT_FOCUSED, CONTEXT_BREAKPOINT_ITEM_TYPE, CONTEXT_BREAKPOINT_SUPPORTS_CONDITION, CONTEXT_BREAKPOINT_WIDGET_VISIBLE, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_DEBUG_CONFIGURATION_TYPE, CONTEXT_DEBUG_EXTENSION_AVAILABLE, CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT, CONTEXT_DEBUG_STATE, CONTEXT_DEBUG_TYPE, CONTEXT_DEBUG_UX, CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, CONTEXT_DISASSEMBLY_VIEW_FOCUS, CONTEXT_EXCEPTION_WIDGET_VISIBLE, CONTEXT_EXPRESSION_SELECTED, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE, CONTEXT_HAS_DEBUGGED, CONTEXT_IN_BREAKPOINT_WIDGET, CONTEXT_IN_DEBUG_MODE, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_LOADED_SCRIPTS_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_VARIABLES_FOCUSED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CallHierarchyIncomingCall$1, CallHierarchyItem$1, CallHierarchyOutgoingCall$1, CancellationTokenSource, CodeAction, CodeActionKind, CodeActionTriggerKind$1, CodeLens, Color$1, ColorInformation, ColorPresentation$1, CommentMode, CommentThreadCollapsibleState, CompletionItem$1, CompletionItemKind$1, CompletionItemTag$1, CompletionList, CompletionTriggerKind$1, ConfigurationScope, ConfigurationTarget, ContextKeyExprType, CustomEditorTabInput, CustomExecution, DEBUG_MEMORY_SCHEME, DEBUG_SCHEME, DEFAULT_EDITOR_ASSOCIATION, DEFAULT_SETTINGS_EDITOR_SETTING, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConfigurationProviderTriggerKind, DebugConsoleMode, DebuggerString, DecorationRangeBehavior$1, Diagnostic$1, DiagnosticRelatedInformation$1, DiagnosticSeverity$1, DiagnosticTag$1, DiffEditorInput, Disposable, DocumentDropEdit, DocumentHighlight$1, DocumentHighlightKind, DocumentLink$1, DocumentSymbol$1, EDITOR_CONTRIBUTION_ID, ETAG_DISABLED, EXTENSION_CATEGORIES, EditorActivation, EditorExtensions, EditorInput, EditorModel, EditorResolution, EditorResourceAccessor, Emitter, EndOfLine$1, EnvironmentVariableMutatorType, EvaluatableExpression$1, ExtHostTelemetryLogger, Extension, ExtensionIdentifierMap, ExtensionKind, ExtensionMode, Extensions$1, Extensions$2, FILES_ASSOCIATIONS_CONFIG, FILES_EXCLUDE_CONFIG, FOLDER_SETTINGS_PATH, FallbackKeyboardMapper, FileChangeType, FileChangeType$1, FileChangesEvent, FileDecoration, FileOperationError, FileOperationEvent, FilePermission, FileSystemError, FileSystemProviderCapabilities, FileSystemProviderError, FileSystemProviderErrorCode, FileType, FoldingRange$1, FoldingRangeKind$1, FunctionBreakpoint, HotExitConfiguration, Hover$1, IActivityService, IBrowserWorkbenchEnvironmentService, IConfigurationResolverService, ICustomEndpointTelemetryService, IDebugService, IEditorGroupsService, IEditorResolverService, IEditorService, IExtHostExtensionService, IExtHostInitDataService, IExtensionHostDebugService, IExtensionResourceLoaderService, IExtensionService, IFileDialogService, IFileService, IFilesConfigurationService, IHistoryService, IHostColorSchemeService, IHostService, IJSONEditingService, IKeyboardLayoutService, ILanguageDetectionService, ILanguageStatusService, ILifecycleService, INTERNAL_CONSOLE_OPTIONS_SCHEMA, IPaneCompositePartService, IPathService, IPolicyService, IPreferencesService, IProductService, IRemoteAgentService, ISnippetsService, ITaskService, ITextEditorService, ITextFileService, ITextMateTokenizationService, ITunnelService, IUriIdentityService, IUserDataInitializationService, IUserDataProfileService, IUserDataProfilesService, IViewDescriptorService, IViewsService, IWorkbenchEnvironmentService, IWorkingCopyFileService, IWorkingCopyService, IWorkspaceEditingService, IWorkspaceTrustRequestService, IWorkspacesService, InlayHint$1, InlayHintKind$1, InlayHintLabelPart$1, InlineCompletionTriggerKind, InlineSuggestion, InlineSuggestionList, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, IntervalCounter, LanguageSelector, LanguageStatusSeverity, LineRange, LinkedEditingRanges, Location, MarkdownString$1, NeverShowAgainScope, NotModifiedSinceFileOperationError, NotebookDiffEditorTabInput, NotebookEditorTabInput, NotificationPriority, NotificationsFilter, NullPolicyConfiguration, NullPolicyService, NumberBadge, ParameterInformation$1, PolicyConfiguration, Position$1, Position$2, ProcessExecution, ProgressLocation$1, Queue, QuickInputButtons, QuickPickItemKind, REPL_VIEW_ID, Range$1, Range$2, ReferenceCollection, RelativePattern, ResourceQueue, SIDE_BY_SIDE_EDITOR_ID, SIDE_GROUP, SUPPORTED_ENCODINGS, Selection$1, Selection$2, SelectionRange$1, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, Sequencer, SettingMatchType, ShellExecution, ShellQuoting, SideBySideEditor, SideBySideEditorInput, SignatureHelp$1, SignatureHelpTriggerKind, SignatureInformation$1, SnippetString, SnippetTextEdit, SourceBreakpoint, StorageScope, StorageTarget, SymbolInformation, SymbolKind$1, SymbolTag$1, TEXT_DIFF_EDITOR_ID, TelemetryTrustedValue, TerminalEditorTabInput, TestMessage, TestRunProfileKind, TestRunRequest, TestTag$1, TextDiffEditorModel, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason$1, TextEdit$1, TextEditorLineNumbersStyle$1, TextEditorRevealType$1, TextEditorSelectionChangeKind, TextEditorService, TextFileEditorModel, TextResourceEditorInput, TextResourceEditorModel, ThemeColor, ThemeIcon, TooLargeFileOperationError, TreeItem, TreeItemCollapsibleState, TypeHierarchyItem$1, UIKind, USE_SPLIT_JSON_SETTING, UntitledTextEditorInput, UserSettings, VARIABLES_VIEW_ID, VIEWLET_ID, ViewColumn$1, ViewContainerLocationToString, WebviewEditorTabInput, WorkspaceEdit$1, __decorate, __param, applyEdits, areFunctions, assertAllDefined, bufferToReadable, bufferedStreamToBuffer, cleanRemoteAuthority, columnToEditorGroup, configurationDefaultsSchemaId, consumeStream, createErrorWithActions, createFileSystemProviderError, createTooLargeFileError, debuggerDisabledMessage, decodeBase64, defaultViewIcon, delta$1, disposeIfDisposable, distinct, encodeBase64, ensureFileSystemProviderError, etag, filterExceptionsFromTelemetry, findViewStateForEditor, flatten, formatPII, fromNow, getConfigProvider, getEOL, getErrorMessage, getEvaluatableExpressionAtPosition, getExtHostServices, getExtensionHostDebugSession, getExtensionId, getKeyboardLayoutId, getLargeFileConfirmationLimit, getNodeType, getPathLabel, getRemoteAuthority, getStateLabel, getStoredWorkspaceFolder, getVisibleAndSorted, hasFileAtomicReadCapability, hasFileCloneCapability, hasFileFolderCopyCapability, hasFileReadStreamCapability, hasOpenReadWriteCloseCapability, hasReadWriteCapability, hasWorkspaceFileExtension, index, indexOfPath, initialize, initialize$1, isAbsolute, isDebuggerMainContribution, isEditorGroup, isEditorIdentifier, isEditorInput, isEditorInputWithOptionsAndGroup, isEditorPaneWithSelection, isEmptyObject, isEqual, isErrorWithActions, isPreferredGroup, isProposedApiEnabled, isReadableBufferedStream, isReadableStream, isRecentFile, isRecentFolder, isRecentWorkspace, isResourceEditorInput, isSavedWorkspace, isSessionAttach, isStoredWorkspaceFolder, isStringArray, isTemporaryWorkspace, isTextEditorViewState, isUntitledWithAssociatedResource, isUntitledWorkspace, isUri, isWorkspace, isWorkspaceFolder$1, join, keyFromOverrideIdentifiers, listenStream, mark, memoizedConstructor, mergeChanges, mnemonicButtonLabel, n, newWriteableBufferStream, newWriteableStream, nodeModulesAsarPath, nodeModulesAsarUnpackedPath, nodeModulesPath, onExtHostInitialized, onRenderWorkbench, parse$1, peekReadable, peekStream, preferredSideBySideGroupDirection, productSchemaId, raceTimeout, readableToBuffer, refineServiceDecorator, registerAssets, registerServiceInitializeParticipant, restoreRecentlyOpened, rewriteWorkspaceFileForNewLocation, saveAllBeforeDebugStart, sequence, setProperty, streamToBuffer, tildify, toExtensionDescription, toFileOperationResult, toFileSystemProviderErrorCode, toStoreData, toWorkspaceFolder, toWorkspaceFolders, transform, unsupported, validateSettingsEditorOptions, visit, whenProviderRegistered, withFormatting, withUndefinedAsNull };
55596
+ export { ACTIVE_GROUP, AbstractDialogHandler, AbstractTextEditor, AbstractTextResourceEditorInput, AbstractVariableResolverService, AsyncReferenceCollection, AutoSaveConfiguration, AutomaticLanguageDetectionLikelyWrongId, BREAKPOINTS_VIEW_ID, BREAKPOINT_EDITOR_CONTRIBUTION_ID, Barrier, Breakpoint, BrowserTextFileService, ByteSize, CALLSTACK_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_BREAKPOINTS_FOCUSED, CONTEXT_BREAKPOINT_INPUT_FOCUSED, CONTEXT_BREAKPOINT_ITEM_TYPE, CONTEXT_BREAKPOINT_SUPPORTS_CONDITION, CONTEXT_BREAKPOINT_WIDGET_VISIBLE, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_DEBUG_CONFIGURATION_TYPE, CONTEXT_DEBUG_EXTENSION_AVAILABLE, CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT, CONTEXT_DEBUG_STATE, CONTEXT_DEBUG_TYPE, CONTEXT_DEBUG_UX, CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, CONTEXT_DISASSEMBLY_VIEW_FOCUS, CONTEXT_EXCEPTION_WIDGET_VISIBLE, CONTEXT_EXPRESSION_SELECTED, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE, CONTEXT_HAS_DEBUGGED, CONTEXT_IN_BREAKPOINT_WIDGET, CONTEXT_IN_DEBUG_MODE, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_LOADED_SCRIPTS_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_VARIABLES_FOCUSED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CallHierarchyIncomingCall$1, CallHierarchyItem$1, CallHierarchyOutgoingCall$1, CancellationTokenSource, CodeAction, CodeActionKind, CodeActionTriggerKind$1, CodeLens, Color$1, ColorInformation, ColorPresentation$1, CommentMode, CommentThreadCollapsibleState, CompletionItem$1, CompletionItemKind$1, CompletionItemTag$1, CompletionList, CompletionTriggerKind$1, ConfigurationScope, ConfigurationTarget, ContextKeyExprType, CustomEditorTabInput, CustomExecution, DEBUG_MEMORY_SCHEME, DEBUG_SCHEME, DEFAULT_EDITOR_ASSOCIATION, DEFAULT_SETTINGS_EDITOR_SETTING, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConfigurationProviderTriggerKind, DebugConsoleMode, DebuggerString, DecorationRangeBehavior$1, Diagnostic$1, DiagnosticRelatedInformation$1, DiagnosticSeverity$1, DiagnosticTag$1, DiffEditorInput, Disposable, DocumentDropEdit, DocumentHighlight$1, DocumentHighlightKind, DocumentLink$1, DocumentSymbol$1, EDITOR_CONTRIBUTION_ID, ETAG_DISABLED, EXTENSION_CATEGORIES, EditorActivation, EditorExtensions, EditorInput, EditorModel, EditorResolution, EditorResourceAccessor, Emitter, EndOfLine$1, EnvironmentVariableMutatorType, EvaluatableExpression$1, ExtHostTelemetryLogger, Extension, ExtensionIdentifierMap, ExtensionKind, ExtensionMode, Extensions$1, Extensions$2, FILES_ASSOCIATIONS_CONFIG, FILES_EXCLUDE_CONFIG, FOLDER_SETTINGS_PATH, FallbackKeyboardMapper, FileChangeType, FileChangeType$1, FileChangesEvent, FileDecoration, FileOperationError, FileOperationEvent, FilePermission, FileSystemError, FileSystemProviderCapabilities, FileSystemProviderError, FileSystemProviderErrorCode, FileType, FoldingRange$1, FoldingRangeKind$1, FunctionBreakpoint, HotExitConfiguration, Hover$1, IActivityService, IBrowserWorkbenchEnvironmentService, IConfigurationResolverService, ICustomEndpointTelemetryService, IDebugService, IEditorGroupsService, IEditorResolverService, IEditorService, IExtHostExtensionService, IExtHostInitDataService, IExtensionHostDebugService, IExtensionResourceLoaderService, IExtensionService, IFileDialogService, IFileService, IFilesConfigurationService, IHistoryService, IHostColorSchemeService, IHostService, IJSONEditingService, IKeyboardLayoutService, ILanguageDetectionService, ILanguageStatusService, ILifecycleService, INTERNAL_CONSOLE_OPTIONS_SCHEMA, IPaneCompositePartService, IPathService, IPolicyService, IPreferencesService, IProductService, IRemoteAgentService, ISnippetsService, ITaskService, ITextEditorService, ITextFileService, ITextMateTokenizationService, ITunnelService, IUriIdentityService, IUserDataInitializationService, IUserDataProfileService, IUserDataProfilesService, IViewDescriptorService, IViewsService, IWorkbenchEnvironmentService, IWorkbenchLayoutService, IWorkingCopyFileService, IWorkingCopyService, IWorkspaceEditingService, IWorkspaceTrustRequestService, IWorkspacesService, InlayHint$1, InlayHintKind$1, InlayHintLabelPart$1, InlineCompletionTriggerKind, InlineSuggestion, InlineSuggestionList, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, IntervalCounter, LanguageSelector, LanguageStatusSeverity, LineRange, LinkedEditingRanges, Location, MarkdownString$1, NeverShowAgainScope, NotModifiedSinceFileOperationError, NotebookDiffEditorTabInput, NotebookEditorTabInput, NotificationPriority, NotificationsFilter, NullPolicyConfiguration, NullPolicyService, NumberBadge, ParameterInformation$1, PolicyConfiguration, Position$1, Position$2, ProcessExecution, ProgressLocation$1, Queue, QuickInputButtons, QuickPickItemKind, REPL_VIEW_ID, Range$1, Range$2, ReferenceCollection, RelativePattern, ResourceQueue, SIDE_BY_SIDE_EDITOR_ID, SIDE_GROUP, SUPPORTED_ENCODINGS, Selection$1, Selection$2, SelectionRange$1, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, Sequencer, SettingMatchType, ShellExecution, ShellQuoting, SideBySideEditor, SideBySideEditorInput, SignatureHelp$1, SignatureHelpTriggerKind, SignatureInformation$1, SnippetString, SnippetTextEdit, SourceBreakpoint, StorageScope, StorageTarget, SymbolInformation, SymbolKind$1, SymbolTag$1, TEXT_DIFF_EDITOR_ID, TelemetryTrustedValue, TerminalEditorTabInput, TestMessage, TestRunProfileKind, TestRunRequest, TestTag$1, TextDiffEditorModel, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason$1, TextEdit$1, TextEditorLineNumbersStyle$1, TextEditorRevealType$1, TextEditorSelectionChangeKind, TextEditorService, TextFileEditorModel, TextResourceEditorInput, TextResourceEditorModel, ThemeColor, ThemeIcon, TooLargeFileOperationError, TreeItem, TreeItemCollapsibleState, TypeHierarchyItem$1, UIKind, USE_SPLIT_JSON_SETTING, UntitledTextEditorInput, UserSettings, VARIABLES_VIEW_ID, VIEWLET_ID, ViewColumn$1, ViewContainerLocationToString, WebviewEditorTabInput, WorkspaceEdit$1, __decorate, __param, applyEdits, areFunctions, assertAllDefined, bufferToReadable, bufferedStreamToBuffer, cleanRemoteAuthority, columnToEditorGroup, configurationDefaultsSchemaId, consumeStream, createErrorWithActions, createFileSystemProviderError, createTooLargeFileError, debuggerDisabledMessage, decodeBase64, defaultViewIcon, delta$1, disposeIfDisposable, distinct, encodeBase64, ensureFileSystemProviderError, etag, filterExceptionsFromTelemetry, findViewStateForEditor, flatten, formatPII, fromNow, getConfigProvider, getEOL, getErrorMessage, getEvaluatableExpressionAtPosition, getExtHostServices, getExtensionHostDebugSession, getExtensionId, getKeyboardLayoutId, getLargeFileConfirmationLimit, getNodeType, getPathLabel, getRemoteAuthority, getServiceOverride, getStateLabel, getStoredWorkspaceFolder, getVisibleAndSorted, hasFileAtomicReadCapability, hasFileCloneCapability, hasFileFolderCopyCapability, hasFileReadStreamCapability, hasOpenReadWriteCloseCapability, hasReadWriteCapability, hasWorkspaceFileExtension, index, indexOfPath, initialize, initialize$1, isAbsolute, isDebuggerMainContribution, isEditorGroup, isEditorIdentifier, isEditorInput, isEditorInputWithOptionsAndGroup, isEditorPaneWithSelection, isEmptyObject, isEqual, isErrorWithActions, isPreferredGroup, isProposedApiEnabled, isReadableBufferedStream, isReadableStream, isRecentFile, isRecentFolder, isRecentWorkspace, isResourceEditorInput, isSavedWorkspace, isSessionAttach, isStoredWorkspaceFolder, isStringArray, isTemporaryWorkspace, isTextEditorViewState, isUntitledWithAssociatedResource, isUntitledWorkspace, isUri, isWorkspace, isWorkspaceFolder$1, join, keyFromOverrideIdentifiers, listenStream, mark, memoizedConstructor, mergeChanges, mnemonicButtonLabel, n, newWriteableBufferStream, newWriteableStream, nodeModulesAsarPath, nodeModulesAsarUnpackedPath, nodeModulesPath, onExtHostInitialized, onRenderWorkbench, parse$1, peekReadable, peekStream, positionToString, preferredSideBySideGroupDirection, productSchemaId, raceTimeout, readableToBuffer, refineServiceDecorator, registerAssets, registerServiceInitializeParticipant, restoreRecentlyOpened, rewriteWorkspaceFileForNewLocation, saveAllBeforeDebugStart, sequence, setProperty, streamToBuffer, tildify, toExtensionDescription, toFileOperationResult, toFileSystemProviderErrorCode, toStoreData, toWorkspaceFolder, toWorkspaceFolders, transform, unsupported, validateSettingsEditorOptions, visit, whenProviderRegistered, withFormatting, withUndefinedAsNull };