@arcgis/coding-components 4.29.0-beta.93 → 4.29.0-beta.94

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 (160) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +6 -1
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +466 -26
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +466 -26
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +466 -26
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +466 -26
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +466 -26
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +466 -26
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +466 -26
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +466 -26
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +466 -26
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +466 -26
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +466 -26
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +466 -26
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +466 -26
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +466 -26
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +466 -26
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +466 -26
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +466 -26
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +466 -26
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +466 -26
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +466 -26
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +466 -26
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +466 -26
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +466 -26
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +466 -26
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +466 -26
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +466 -26
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +466 -26
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +466 -26
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +466 -26
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +466 -26
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +466 -26
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +466 -26
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +466 -26
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +466 -26
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +466 -26
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +466 -26
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +466 -26
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +466 -26
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +466 -26
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +466 -26
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +9 -2
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +9 -2
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +9 -2
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +9 -2
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +9 -2
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +9 -2
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +9 -2
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +9 -2
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +9 -2
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +9 -2
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +9 -2
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +9 -2
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +9 -2
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +9 -2
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +9 -2
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +9 -2
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +9 -2
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +9 -2
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +9 -2
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +9 -2
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +9 -2
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +9 -2
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +9 -2
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +9 -2
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +9 -2
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +9 -2
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +9 -2
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +9 -2
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +9 -2
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +9 -2
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +9 -2
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +9 -2
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +9 -2
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +9 -2
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +9 -2
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +9 -2
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +9 -2
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +9 -2
  80. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +9 -2
  81. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +9 -2
  82. package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +1 -1
  83. package/dist/arcgis-coding-components/index.esm.js +6 -1
  84. package/dist/arcgis-coding-components/{p-a1a4f5fc.js → p-06b7a85d.js} +6 -1
  85. package/dist/arcgis-coding-components/{p-4c959bce.js → p-22837217.js} +15 -10
  86. package/dist/arcgis-coding-components/{p-ccafed7f.js → p-2b1aca7c.js} +5 -0
  87. package/dist/arcgis-coding-components/{p-75ae922a.js → p-4c4149bc.js} +6 -1
  88. package/dist/arcgis-coding-components/{p-79707082.js → p-5fb23065.js} +6 -1
  89. package/dist/arcgis-coding-components/{p-009eaccf.js → p-8f020f20.js} +5 -0
  90. package/dist/arcgis-coding-components/p-a051ec0a.entry.js +6 -0
  91. package/dist/arcgis-coding-components/{p-cdfe57a1.js → p-a17571b6.js} +6 -1
  92. package/dist/arcgis-coding-components/{p-1d062d47.js → p-a6429039.js} +6 -1
  93. package/dist/arcgis-coding-components/{p-590b795b.js → p-c2344fd6.js} +6 -1
  94. package/dist/arcgis-coding-components/{p-ca7059d4.js → p-d37fa51c.js} +6 -1
  95. package/dist/arcgis-coding-components/p-db60fe10.js +6 -0
  96. package/dist/cjs/{arcade-defaults-7faf4d5f.js → arcade-defaults-042fbece.js} +487 -362
  97. package/dist/cjs/{arcade-mode-26b8bc7a.js → arcade-mode-b495cb6f.js} +24 -20
  98. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +176 -112
  99. package/dist/cjs/arcgis-coding-components.cjs.js +6 -1
  100. package/dist/cjs/{css-eb1c8e5c.js → css-19093b80.js} +5 -0
  101. package/dist/cjs/{cssMode-90f06d02.js → cssMode-ce70c012.js} +7 -2
  102. package/dist/cjs/{html-1aa8e458.js → html-04cbd899.js} +7 -2
  103. package/dist/cjs/{htmlMode-d3283acc.js → htmlMode-5e973c6f.js} +7 -2
  104. package/dist/cjs/{index-aaf14a3e.js → index-30445be8.js} +5 -0
  105. package/dist/cjs/index.cjs.js +7 -2
  106. package/dist/cjs/{javascript-7a4d9023.js → javascript-8717f18b.js} +8 -3
  107. package/dist/cjs/{jsonMode-73be73dc.js → jsonMode-b93b2667.js} +7 -2
  108. package/dist/cjs/loader.cjs.js +6 -1
  109. package/dist/cjs/{tsMode-95a699e0.js → tsMode-73e2fe2f.js} +7 -2
  110. package/dist/cjs/{typescript-588df930.js → typescript-a75c0ef4.js} +7 -2
  111. package/dist/components/arcade-api.js +11 -6
  112. package/dist/components/arcade-contribution.js +16 -6
  113. package/dist/components/arcade-defaults.js +243 -118
  114. package/dist/components/arcade-mode.js +22 -18
  115. package/dist/components/arcade-results.js +137 -85
  116. package/dist/components/arcade-suggestions.js +9 -4
  117. package/dist/components/arcade-variables.js +10 -5
  118. package/dist/components/arcgis-arcade-api.js +5 -0
  119. package/dist/components/arcgis-arcade-editor.js +20 -8
  120. package/dist/components/arcgis-arcade-results.js +5 -0
  121. package/dist/components/arcgis-arcade-suggestions.js +5 -0
  122. package/dist/components/arcgis-arcade-variables.js +5 -0
  123. package/dist/components/arcgis-code-editor.js +5 -0
  124. package/dist/components/code-editor.js +9 -4
  125. package/dist/components/fields.js +5 -0
  126. package/dist/components/functional-components.js +5 -0
  127. package/dist/components/index.js +5 -0
  128. package/dist/components/index2.js +7 -2
  129. package/dist/components/markdown.js +5 -0
  130. package/dist/components/utilities.js +7 -2
  131. package/dist/esm/{arcade-defaults-0bc49d1c.js → arcade-defaults-106e7abf.js} +479 -354
  132. package/dist/esm/{arcade-mode-01365fb8.js → arcade-mode-a890a073.js} +24 -20
  133. package/dist/esm/arcgis-arcade-api_6.entry.js +176 -112
  134. package/dist/esm/arcgis-coding-components.js +7 -2
  135. package/dist/esm/{css-aade9167.js → css-5029659c.js} +5 -0
  136. package/dist/esm/{cssMode-edce5a89.js → cssMode-c3ebc40a.js} +7 -2
  137. package/dist/esm/{html-00b724af.js → html-13c9342a.js} +7 -2
  138. package/dist/esm/{htmlMode-ad3459b7.js → htmlMode-053279f0.js} +7 -2
  139. package/dist/esm/{index-3732acb8.js → index-c845e955.js} +5 -0
  140. package/dist/esm/index.js +7 -2
  141. package/dist/esm/{javascript-bdd52d83.js → javascript-c580af02.js} +8 -3
  142. package/dist/esm/{jsonMode-7b4c07fb.js → jsonMode-cd51566e.js} +7 -2
  143. package/dist/esm/loader.js +7 -2
  144. package/dist/esm/{tsMode-0bd06180.js → tsMode-c0164816.js} +7 -2
  145. package/dist/esm/{typescript-dfdad07a.js → typescript-7e6d57f4.js} +7 -2
  146. package/dist/loader/cdn.js +5 -1
  147. package/dist/loader/index.cjs.js +5 -1
  148. package/dist/loader/index.es2017.js +5 -1
  149. package/dist/loader/index.js +5 -1
  150. package/dist/types/components/arcade-editor/arcade-editor.d.ts +1 -1
  151. package/dist/types/components/arcade-results/arcade-results.d.ts +0 -5
  152. package/dist/types/components.d.ts +3 -3
  153. package/dist/types/utils/arcade-executor.d.ts +12 -4
  154. package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +6 -4
  155. package/dist/types/utils/profile/editor-profile.d.ts +10 -5
  156. package/dist/types/utils/profile/types.d.ts +3 -3
  157. package/dist/types/utils/profile/utils.d.ts +4 -0
  158. package/package.json +10 -10
  159. package/dist/arcgis-coding-components/p-86772125.js +0 -1
  160. package/dist/arcgis-coding-components/p-ac769046.entry.js +0 -1
@@ -1,6 +1,11 @@
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
+ * v4.29.0-beta.94
5
+ */
1
6
  'use strict';
2
7
 
3
- const index = require('./index-aaf14a3e.js');
8
+ const index = require('./index-30445be8.js');
4
9
 
5
10
  function _interopNamespace(e) {
6
11
  if (e && e.__esModule) return e;
@@ -20247,10 +20252,10 @@ function _$(namespace, description, attrs, ...children) {
20247
20252
  result.append(...children);
20248
20253
  return result;
20249
20254
  }
20250
- function $$e(description, attrs, ...children) {
20255
+ function $$d(description, attrs, ...children) {
20251
20256
  return _$(Namespace.HTML, description, attrs, ...children);
20252
20257
  }
20253
- $$e.SVG = function (description, attrs, ...children) {
20258
+ $$d.SVG = function (description, attrs, ...children) {
20254
20259
  return _$(Namespace.SVG, description, attrs, ...children);
20255
20260
  };
20256
20261
  function setVisibility(visible, ...elements) {
@@ -82181,7 +82186,7 @@ class ContextView extends Disposable {
82181
82186
  this.toDisposeOnSetContainer = Disposable.None;
82182
82187
  this.shadowRoot = null;
82183
82188
  this.shadowRootHostElement = null;
82184
- this.view = $$e('.context-view');
82189
+ this.view = $$d('.context-view');
82185
82190
  hide(this.view);
82186
82191
  this.setContainer(container, domPosition);
82187
82192
  this._register(toDisposable(() => this.setContainer(null, 1 /* ContextViewDOMPosition.ABSOLUTE */)));
@@ -82210,14 +82215,14 @@ class ContextView extends Disposable {
82210
82215
  if (container) {
82211
82216
  this.container = container;
82212
82217
  if (this.useShadowDOM) {
82213
- this.shadowRootHostElement = $$e('.shadow-root-host');
82218
+ this.shadowRootHostElement = $$d('.shadow-root-host');
82214
82219
  this.container.appendChild(this.shadowRootHostElement);
82215
82220
  this.shadowRoot = this.shadowRootHostElement.attachShadow({ mode: 'open' });
82216
82221
  const style = document.createElement('style');
82217
82222
  style.textContent = SHADOW_ROOT_CSS;
82218
82223
  this.shadowRoot.appendChild(style);
82219
82224
  this.shadowRoot.appendChild(this.view);
82220
- this.shadowRoot.appendChild($$e('slot'));
82225
+ this.shadowRoot.appendChild($$d('slot'));
82221
82226
  }
82222
82227
  else {
82223
82228
  this.container.appendChild(this.view);
@@ -84698,7 +84703,7 @@ function renderLabelWithIcons(text) {
84698
84703
  return elements;
84699
84704
  }
84700
84705
  function renderIcon(icon) {
84701
- const node = $$e(`span`);
84706
+ const node = $$d(`span`);
84702
84707
  node.classList.add(...ThemeIcon.asClassNameArray(icon));
84703
84708
  return node;
84704
84709
  }
@@ -88730,7 +88735,7 @@ class RowCache {
88730
88735
  }
88731
88736
  }
88732
88737
  else {
88733
- const domNode = $$e('.monaco-list-row');
88738
+ const domNode = $$d('.monaco-list-row');
88734
88739
  const renderer = this.getRenderer(templateId);
88735
88740
  const templateData = renderer.renderTemplate(domNode);
88736
88741
  result = { domNode, templateId, templateData };
@@ -89494,7 +89499,7 @@ class ListView {
89494
89499
  if (typeof label === 'undefined') {
89495
89500
  label = String(elements.length);
89496
89501
  }
89497
- const dragImage = $$e('.monaco-drag-image');
89502
+ const dragImage = $$d('.monaco-drag-image');
89498
89503
  dragImage.textContent = label;
89499
89504
  const getDragImageContainer = (e) => {
89500
89505
  while (e && !e.classList.contains('monaco-workbench')) {
@@ -91355,16 +91360,16 @@ __decorate$1V([
91355
91360
  * Copyright (c) Microsoft Corporation. All rights reserved.
91356
91361
  * Licensed under the MIT License. See License.txt in the project root for license information.
91357
91362
  *--------------------------------------------------------------------------------------------*/
91358
- const $$d = $$e;
91363
+ const $$c = $$d;
91359
91364
  const SELECT_OPTION_ENTRY_TEMPLATE_ID = 'selectOption.entry.template';
91360
91365
  class SelectListRenderer {
91361
91366
  get templateId() { return SELECT_OPTION_ENTRY_TEMPLATE_ID; }
91362
91367
  renderTemplate(container) {
91363
91368
  const data = Object.create(null);
91364
91369
  data.root = container;
91365
- data.text = append$1(container, $$d('.option-text'));
91366
- data.detail = append$1(container, $$d('.option-detail'));
91367
- data.decoratorRight = append$1(container, $$d('.option-decorator-right'));
91370
+ data.text = append$1(container, $$c('.option-text'));
91371
+ data.detail = append$1(container, $$c('.option-detail'));
91372
+ data.decoratorRight = append$1(container, $$c('.option-decorator-right'));
91368
91373
  return data;
91369
91374
  }
91370
91375
  renderElement(element, index, templateData) {
@@ -91435,14 +91440,14 @@ class SelectBoxList extends Disposable {
91435
91440
  constructSelectDropDown(contextViewProvider) {
91436
91441
  // SetUp ContextView container to hold select Dropdown
91437
91442
  this.contextViewProvider = contextViewProvider;
91438
- this.selectDropDownContainer = $$e('.monaco-select-box-dropdown-container');
91443
+ this.selectDropDownContainer = $$d('.monaco-select-box-dropdown-container');
91439
91444
  // Use custom CSS vars for padding calculation (shared with parent select)
91440
91445
  this.selectDropDownContainer.classList.add('monaco-select-box-dropdown-padding');
91441
91446
  // Setup container for select option details
91442
- this.selectionDetailsPane = append$1(this.selectDropDownContainer, $$d('.select-box-details-pane'));
91447
+ this.selectionDetailsPane = append$1(this.selectDropDownContainer, $$c('.select-box-details-pane'));
91443
91448
  // Create span flex box item/div we can measure and control
91444
- const widthControlOuterDiv = append$1(this.selectDropDownContainer, $$d('.select-box-dropdown-container-width-control'));
91445
- const widthControlInnerDiv = append$1(widthControlOuterDiv, $$d('.width-control-div'));
91449
+ const widthControlOuterDiv = append$1(this.selectDropDownContainer, $$c('.select-box-dropdown-container-width-control'));
91450
+ const widthControlInnerDiv = append$1(widthControlOuterDiv, $$c('.width-control-div'));
91446
91451
  this.widthControlElement = document.createElement('span');
91447
91452
  this.widthControlElement.className = 'option-text-width-control';
91448
91453
  append$1(widthControlInnerDiv, this.widthControlElement);
@@ -91885,7 +91890,7 @@ class SelectBoxList extends Disposable {
91885
91890
  return;
91886
91891
  }
91887
91892
  // SetUp container for list
91888
- this.selectDropDownListContainer = append$1(parent, $$d('.select-box-dropdown-list-container'));
91893
+ this.selectDropDownListContainer = append$1(parent, $$c('.select-box-dropdown-list-container'));
91889
91894
  this.listRenderer = new SelectListRenderer();
91890
91895
  this.selectList = new List('SelectBoxCustom', this.selectDropDownListContainer, this, [this.listRenderer], {
91891
91896
  useShadows: false,
@@ -92733,8 +92738,8 @@ class BaseDropdown extends ActionRunner {
92733
92738
  super();
92734
92739
  this._onDidChangeVisibility = this._register(new Emitter$1());
92735
92740
  this.onDidChangeVisibility = this._onDidChangeVisibility.event;
92736
- this._element = append$1(container, $$e('.monaco-dropdown'));
92737
- this._label = append$1(this._element, $$e('.dropdown-label'));
92741
+ this._element = append$1(container, $$d('.monaco-dropdown'));
92742
+ this._label = append$1(this._element, $$d('.dropdown-label'));
92738
92743
  let labelRenderer = options.labelRenderer;
92739
92744
  if (!labelRenderer) {
92740
92745
  labelRenderer = (container) => {
@@ -92874,7 +92879,7 @@ class DropdownMenuActionViewItem extends BaseActionViewItem {
92874
92879
  render(container) {
92875
92880
  this.actionItem = container;
92876
92881
  const labelRenderer = (el) => {
92877
- this.element = append$1(el, $$e('a.action-label'));
92882
+ this.element = append$1(el, $$d('a.action-label'));
92878
92883
  let classNames = [];
92879
92884
  if (typeof this.options.classNames === 'string') {
92880
92885
  classNames = this.options.classNames.split(/\s+/g).filter(s => !!s);
@@ -93803,7 +93808,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
93803
93808
  }
93804
93809
  }();
93805
93810
  if (this._container) {
93806
- this._defaultAction.render(prepend$1(this._container, $$e('.action-container')));
93811
+ this._defaultAction.render(prepend$1(this._container, $$d('.action-container')));
93807
93812
  }
93808
93813
  }
93809
93814
  _getDefaultActionKeybindingLabel(defaultAction) {
@@ -93826,7 +93831,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
93826
93831
  this._container = container;
93827
93832
  super.render(this._container);
93828
93833
  this._container.classList.add('monaco-dropdown-with-default');
93829
- const primaryContainer = $$e('.action-container');
93834
+ const primaryContainer = $$d('.action-container');
93830
93835
  this._defaultAction.render(append$1(this._container, primaryContainer));
93831
93836
  this._register(addDisposableListener(primaryContainer, EventType$1.KEY_DOWN, (e) => {
93832
93837
  const event = new StandardKeyboardEvent(e);
@@ -93836,7 +93841,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
93836
93841
  event.stopPropagation();
93837
93842
  }
93838
93843
  }));
93839
- const dropdownContainer = $$e('.dropdown-action-container');
93844
+ const dropdownContainer = $$d('.dropdown-action-container');
93840
93845
  this._dropdown.render(append$1(this._container, dropdownContainer));
93841
93846
  this._register(addDisposableListener(dropdownContainer, EventType$1.KEY_DOWN, (e) => {
93842
93847
  var _a;
@@ -94683,7 +94688,7 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
94683
94688
  return;
94684
94689
  }
94685
94690
  this.container = container;
94686
- this.item = append$1(this.element, $$e('a.action-menu-item'));
94691
+ this.item = append$1(this.element, $$d('a.action-menu-item'));
94687
94692
  if (this._action.id === Separator.ID) {
94688
94693
  // A separator is a presentation item
94689
94694
  this.item.setAttribute('role', 'presentation');
@@ -94694,11 +94699,11 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
94694
94699
  this.item.setAttribute('aria-keyshortcuts', `${this.mnemonic}`);
94695
94700
  }
94696
94701
  }
94697
- this.check = append$1(this.item, $$e('span.menu-item-check' + ThemeIcon.asCSSSelector(Codicon.menuSelection)));
94702
+ this.check = append$1(this.item, $$d('span.menu-item-check' + ThemeIcon.asCSSSelector(Codicon.menuSelection)));
94698
94703
  this.check.setAttribute('role', 'none');
94699
- this.label = append$1(this.item, $$e('span.action-label'));
94704
+ this.label = append$1(this.item, $$d('span.action-label'));
94700
94705
  if (this.options.label && this.options.keybinding) {
94701
- append$1(this.item, $$e('span.keybinding')).textContent = this.options.keybinding;
94706
+ append$1(this.item, $$d('span.keybinding')).textContent = this.options.keybinding;
94702
94707
  }
94703
94708
  // Adds mouse up listener to actually run the action
94704
94709
  this.runOnceToEnableMouseUp.schedule();
@@ -94751,7 +94756,7 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
94751
94756
  }
94752
94757
  const replaceDoubleEscapes = (str) => str.replace(/&&/g, '&');
94753
94758
  if (escMatch) {
94754
- this.label.append(ltrim(replaceDoubleEscapes(label.substr(0, escMatch.index)), ' '), $$e('u', { 'aria-hidden': 'true' }, escMatch[3]), rtrim(replaceDoubleEscapes(label.substr(escMatch.index + escMatch[0].length)), ' '));
94759
+ this.label.append(ltrim(replaceDoubleEscapes(label.substr(0, escMatch.index)), ' '), $$d('u', { 'aria-hidden': 'true' }, escMatch[3]), rtrim(replaceDoubleEscapes(label.substr(escMatch.index + escMatch[0].length)), ' '));
94755
94760
  }
94756
94761
  else {
94757
94762
  this.label.innerText = replaceDoubleEscapes(label).trim();
@@ -94874,7 +94879,7 @@ class SubmenuMenuActionViewItem extends BaseMenuActionViewItem {
94874
94879
  this.item.tabIndex = 0;
94875
94880
  this.item.setAttribute('aria-haspopup', 'true');
94876
94881
  this.updateAriaExpanded('false');
94877
- this.submenuIndicator = append$1(this.item, $$e('span.submenu-indicator' + ThemeIcon.asCSSSelector(Codicon.menuSubmenu)));
94882
+ this.submenuIndicator = append$1(this.item, $$d('span.submenu-indicator' + ThemeIcon.asCSSSelector(Codicon.menuSubmenu)));
94878
94883
  this.submenuIndicator.setAttribute('aria-hidden', 'true');
94879
94884
  }
94880
94885
  this._register(addDisposableListener(this.element, EventType$1.KEY_UP, e => {
@@ -94965,7 +94970,7 @@ class SubmenuMenuActionViewItem extends BaseMenuActionViewItem {
94965
94970
  }
94966
94971
  if (!this.parentData.submenu) {
94967
94972
  this.updateAriaExpanded('true');
94968
- this.submenuContainer = append$1(this.element, $$e('div.monaco-submenu'));
94973
+ this.submenuContainer = append$1(this.element, $$d('div.monaco-submenu'));
94969
94974
  this.submenuContainer.classList.add('menubar-menu-items-holder', 'context-view');
94970
94975
  // Set the top value of the menu container before construction
94971
94976
  // This allows the menu constructor to calculate the proper max height
@@ -95503,7 +95508,7 @@ class ContextMenuHandler {
95503
95508
  }
95504
95509
  // Render invisible div to block mouse interaction in the rest of the UI
95505
95510
  if (this.options.blockMouse) {
95506
- this.block = container.appendChild($$e('.context-view-block'));
95511
+ this.block = container.appendChild($$d('.context-view-block'));
95507
95512
  this.block.style.position = 'fixed';
95508
95513
  this.block.style.cursor = 'initial';
95509
95514
  this.block.style.left = '0';
@@ -96957,7 +96962,7 @@ class Sash extends Disposable {
96957
96962
  const onChange = (state) => {
96958
96963
  this.orthogonalStartDragHandleDisposables.clear();
96959
96964
  if (state !== 0 /* SashState.Disabled */) {
96960
- this._orthogonalStartDragHandle = append$1(this.el, $$e('.orthogonal-drag-handle.start'));
96965
+ this._orthogonalStartDragHandle = append$1(this.el, $$d('.orthogonal-drag-handle.start'));
96961
96966
  this.orthogonalStartDragHandleDisposables.add(toDisposable(() => this._orthogonalStartDragHandle.remove()));
96962
96967
  this.orthogonalStartDragHandleDisposables.add(new DomEmitter(this._orthogonalStartDragHandle, 'mouseenter')).event(() => Sash.onMouseEnter(sash), undefined, this.orthogonalStartDragHandleDisposables);
96963
96968
  this.orthogonalStartDragHandleDisposables.add(new DomEmitter(this._orthogonalStartDragHandle, 'mouseleave')).event(() => Sash.onMouseLeave(sash), undefined, this.orthogonalStartDragHandleDisposables);
@@ -96986,7 +96991,7 @@ class Sash extends Disposable {
96986
96991
  const onChange = (state) => {
96987
96992
  this.orthogonalEndDragHandleDisposables.clear();
96988
96993
  if (state !== 0 /* SashState.Disabled */) {
96989
- this._orthogonalEndDragHandle = append$1(this.el, $$e('.orthogonal-drag-handle.end'));
96994
+ this._orthogonalEndDragHandle = append$1(this.el, $$d('.orthogonal-drag-handle.end'));
96990
96995
  this.orthogonalEndDragHandleDisposables.add(toDisposable(() => this._orthogonalEndDragHandle.remove()));
96991
96996
  this.orthogonalEndDragHandleDisposables.add(new DomEmitter(this._orthogonalEndDragHandle, 'mouseenter')).event(() => Sash.onMouseEnter(sash), undefined, this.orthogonalEndDragHandleDisposables);
96992
96997
  this.orthogonalEndDragHandleDisposables.add(new DomEmitter(this._orthogonalEndDragHandle, 'mouseleave')).event(() => Sash.onMouseLeave(sash), undefined, this.orthogonalEndDragHandleDisposables);
@@ -97035,7 +97040,7 @@ class Sash extends Disposable {
97035
97040
  * Useful in 2x2 grids. Not meant for widespread usage.
97036
97041
  */
97037
97042
  this.linkedSash = undefined;
97038
- this.el = append$1(container, $$e('.monaco-sash'));
97043
+ this.el = append$1(container, $$d('.monaco-sash'));
97039
97044
  if (options.orthogonalEdge) {
97040
97045
  this.el.classList.add(`orthogonal-edge-${options.orthogonalEdge}`);
97041
97046
  }
@@ -97487,8 +97492,8 @@ class SplitView extends Disposable {
97487
97492
  this.el.classList.add('monaco-split-view2');
97488
97493
  this.el.classList.add(this.orientation === 0 /* Orientation.VERTICAL */ ? 'vertical' : 'horizontal');
97489
97494
  container.appendChild(this.el);
97490
- this.sashContainer = append$1(this.el, $$e('.sash-container'));
97491
- this.viewContainer = $$e('.split-view-container');
97495
+ this.sashContainer = append$1(this.el, $$d('.sash-container'));
97496
+ this.viewContainer = $$d('.split-view-container');
97492
97497
  this.scrollable = this._register(new Scrollable({
97493
97498
  forceIntegerValues: true,
97494
97499
  smoothScrollDuration: 125,
@@ -97773,7 +97778,7 @@ class SplitView extends Disposable {
97773
97778
  this.state = State.Busy;
97774
97779
  try {
97775
97780
  // Add view
97776
- const container = $$e('.split-view-view');
97781
+ const container = $$d('.split-view-view');
97777
97782
  if (index === this.viewItems.length) {
97778
97783
  this.viewContainer.appendChild(container);
97779
97784
  }
@@ -98099,12 +98104,12 @@ class TableListRenderer {
98099
98104
  }
98100
98105
  }
98101
98106
  renderTemplate(container) {
98102
- const rowContainer = append$1(container, $$e('.monaco-table-tr'));
98107
+ const rowContainer = append$1(container, $$d('.monaco-table-tr'));
98103
98108
  const cellContainers = [];
98104
98109
  const cellTemplateData = [];
98105
98110
  for (let i = 0; i < this.columns.length; i++) {
98106
98111
  const renderer = this.renderers[i];
98107
- const cellContainer = append$1(rowContainer, $$e('.monaco-table-td', { 'data-col-index': i }));
98112
+ const cellContainer = append$1(rowContainer, $$d('.monaco-table-td', { 'data-col-index': i }));
98108
98113
  cellContainer.style.width = `${this.getColumnSize(i)}px`;
98109
98114
  cellContainers.push(cellContainer);
98110
98115
  cellTemplateData.push(renderer.renderTemplate(cellContainer));
@@ -98161,7 +98166,7 @@ class ColumnHeader {
98161
98166
  this.index = index;
98162
98167
  this._onDidLayout = new Emitter$1();
98163
98168
  this.onDidLayout = this._onDidLayout.event;
98164
- this.element = $$e('.monaco-table-th', { 'data-col-index': index, title: column.tooltip }, column.label);
98169
+ this.element = $$d('.monaco-table-th', { 'data-col-index': index, title: column.tooltip }, column.label);
98165
98170
  }
98166
98171
  layout(size) {
98167
98172
  this._onDidLayout.fire([this.index, size]);
@@ -98185,7 +98190,7 @@ class Table {
98185
98190
  this.disposables = new DisposableStore();
98186
98191
  this.cachedWidth = 0;
98187
98192
  this.cachedHeight = 0;
98188
- this.domNode = append$1(container, $$e(`.monaco-table.${this.domId}`));
98193
+ this.domNode = append$1(container, $$d(`.monaco-table.${this.domId}`));
98189
98194
  const headers = columns.map((c, i) => new ColumnHeader(c, i));
98190
98195
  const descriptor = {
98191
98196
  size: headers.reduce((a, b) => a + b.column.weight, 0),
@@ -98489,7 +98494,7 @@ class HistoryNavigator {
98489
98494
  * Copyright (c) Microsoft Corporation. All rights reserved.
98490
98495
  * Licensed under the MIT License. See License.txt in the project root for license information.
98491
98496
  *--------------------------------------------------------------------------------------------*/
98492
- const $$c = $$e;
98497
+ const $$b = $$d;
98493
98498
  class InputBox$1 extends Widget$1 {
98494
98499
  constructor(container, contextViewProvider, options) {
98495
98500
  var _a;
@@ -98509,10 +98514,10 @@ class InputBox$1 extends Widget$1 {
98509
98514
  if (this.options.validationOptions) {
98510
98515
  this.validation = this.options.validationOptions.validation;
98511
98516
  }
98512
- this.element = append$1(container, $$c('.monaco-inputbox.idle'));
98517
+ this.element = append$1(container, $$b('.monaco-inputbox.idle'));
98513
98518
  const tagName = this.options.flexibleHeight ? 'textarea' : 'input';
98514
- const wrapper = append$1(this.element, $$c('.ibwrapper'));
98515
- this.input = append$1(wrapper, $$c(tagName + '.input.empty'));
98519
+ const wrapper = append$1(this.element, $$b('.ibwrapper'));
98520
+ this.input = append$1(wrapper, $$b(tagName + '.input.empty'));
98516
98521
  this.input.setAttribute('autocorrect', 'off');
98517
98522
  this.input.setAttribute('autocapitalize', 'off');
98518
98523
  this.input.setAttribute('spellcheck', 'false');
@@ -98520,7 +98525,7 @@ class InputBox$1 extends Widget$1 {
98520
98525
  this.onblur(this.input, () => this.element.classList.remove('synthetic-focus'));
98521
98526
  if (this.options.flexibleHeight) {
98522
98527
  this.maxHeight = typeof this.options.flexibleMaxHeight === 'number' ? this.options.flexibleMaxHeight : Number.POSITIVE_INFINITY;
98523
- this.mirror = append$1(wrapper, $$c('div.mirror'));
98528
+ this.mirror = append$1(wrapper, $$b('div.mirror'));
98524
98529
  this.mirror.innerText = '\u00a0';
98525
98530
  this.scrollableElement = new ScrollableElement(this.element, { vertical: 1 /* ScrollbarVisibility.Auto */ });
98526
98531
  if (this.options.flexibleWidth) {
@@ -98717,7 +98722,7 @@ class InputBox$1 extends Widget$1 {
98717
98722
  if (!this.message) {
98718
98723
  return null;
98719
98724
  }
98720
- div = append$1(container, $$c('.monaco-inputbox-container'));
98725
+ div = append$1(container, $$b('.monaco-inputbox-container'));
98721
98726
  layout();
98722
98727
  const renderOptions = {
98723
98728
  inline: true,
@@ -100065,10 +100070,10 @@ class TreeRenderer {
100065
100070
  }
100066
100071
  }
100067
100072
  renderTemplate(container) {
100068
- const el = append$1(container, $$e('.monaco-tl-row'));
100069
- const indent = append$1(el, $$e('.monaco-tl-indent'));
100070
- const twistie = append$1(el, $$e('.monaco-tl-twistie'));
100071
- const contents = append$1(el, $$e('.monaco-tl-contents'));
100073
+ const el = append$1(container, $$d('.monaco-tl-row'));
100074
+ const indent = append$1(el, $$d('.monaco-tl-indent'));
100075
+ const twistie = append$1(el, $$d('.monaco-tl-twistie'));
100076
+ const contents = append$1(el, $$d('.monaco-tl-contents'));
100072
100077
  const templateData = this.renderer.renderTemplate(contents);
100073
100078
  return { container, indent, twistie, indentGuidesDisposable: Disposable.None, templateData };
100074
100079
  }
@@ -100147,7 +100152,7 @@ class TreeRenderer {
100147
100152
  break;
100148
100153
  }
100149
100154
  const parent = model.getNode(parentRef);
100150
- const guide = $$e('.indent-guide', { style: `width: ${this.indent}px` });
100155
+ const guide = $$d('.indent-guide', { style: `width: ${this.indent}px` });
100151
100156
  if (this.activeIndentNodes.has(parent)) {
100152
100157
  guide.classList.add('active');
100153
100158
  }
@@ -100636,7 +100641,7 @@ class StickyScrollWidget$1 {
100636
100641
  state.addDisposable(disposable);
100637
100642
  }
100638
100643
  // Add shadow element to the end of the widget
100639
- const shadow = $$e('.monaco-tree-sticky-container-shadow');
100644
+ const shadow = $$d('.monaco-tree-sticky-container-shadow');
100640
100645
  this._rootDomNode.appendChild(shadow);
100641
100646
  state.addDisposable(toDisposable(() => shadow.remove()));
100642
100647
  // Set the height of the widget to the bottom of the last sticky node
@@ -104326,7 +104331,7 @@ class CountBadge {
104326
104331
  this.options = options;
104327
104332
  this.styles = styles;
104328
104333
  this.count = 0;
104329
- this.element = append$1(container, $$e('.monaco-count-badge'));
104334
+ this.element = append$1(container, $$d('.monaco-count-badge'));
104330
104335
  this.countFormat = this.options.countFormat || '{0}';
104331
104336
  this.titleFormat = this.options.titleFormat || '';
104332
104337
  this.setCount(this.options.count || 0);
@@ -104452,7 +104457,7 @@ ProgressBar.LONG_RUNNING_INFINITE_THRESHOLD = 10000;
104452
104457
  * Copyright (c) Microsoft Corporation. All rights reserved.
104453
104458
  * Licensed under the MIT License. See License.txt in the project root for license information.
104454
104459
  *--------------------------------------------------------------------------------------------*/
104455
- const $$b = $$e;
104460
+ const $$a = $$d;
104456
104461
  class QuickInputBox extends Disposable {
104457
104462
  constructor(parent, inputBoxStyles, toggleStyles) {
104458
104463
  super();
@@ -104466,7 +104471,7 @@ class QuickInputBox extends Disposable {
104466
104471
  this.onDidChange = (handler) => {
104467
104472
  return this.findInput.onDidChange(handler);
104468
104473
  };
104469
- this.container = append$1(this.parent, $$b('.quick-input-box'));
104474
+ this.container = append$1(this.parent, $$a('.quick-input-box'));
104470
104475
  this.findInput = this._register(new FindInput(this.container, undefined, { label: '', inputBoxStyles, toggleStyles }));
104471
104476
  const input = this.findInput.inputBox.inputElement;
104472
104477
  input.role = 'combobox';
@@ -104555,7 +104560,7 @@ class HighlightedLabel {
104555
104560
  this.highlights = [];
104556
104561
  this.didEverRender = false;
104557
104562
  this.supportIcons = (_a = options === null || options === void 0 ? void 0 : options.supportIcons) !== null && _a !== void 0 ? _a : false;
104558
- this.domNode = append$1(container, $$e('span.monaco-highlighted-label'));
104563
+ this.domNode = append$1(container, $$d('span.monaco-highlighted-label'));
104559
104564
  }
104560
104565
  /**
104561
104566
  * The label's DOM node.
@@ -104606,7 +104611,7 @@ class HighlightedLabel {
104606
104611
  pos = highlight.start;
104607
104612
  }
104608
104613
  const substring = this.text.substring(pos, highlight.end);
104609
- const element = $$e('span.highlight', undefined, ...this.supportIcons ? renderLabelWithIcons(substring) : [substring]);
104614
+ const element = $$d('span.highlight', undefined, ...this.supportIcons ? renderLabelWithIcons(substring) : [substring]);
104610
104615
  if (highlight.extraClasses) {
104611
104616
  element.classList.add(...highlight.extraClasses);
104612
104617
  }
@@ -104695,9 +104700,9 @@ class IconLabel extends Disposable {
104695
104700
  super();
104696
104701
  this.customHovers = new Map();
104697
104702
  this.creationOptions = options;
104698
- this.domNode = this._register(new FastLabelNode(append$1(container, $$e('.monaco-icon-label'))));
104699
- this.labelContainer = append$1(this.domNode.element, $$e('.monaco-icon-label-container'));
104700
- this.nameContainer = append$1(this.labelContainer, $$e('span.monaco-icon-name-container'));
104703
+ this.domNode = this._register(new FastLabelNode(append$1(container, $$d('.monaco-icon-label'))));
104704
+ this.labelContainer = append$1(this.domNode.element, $$d('.monaco-icon-label-container'));
104705
+ this.nameContainer = append$1(this.labelContainer, $$d('span.monaco-icon-name-container'));
104701
104706
  if ((options === null || options === void 0 ? void 0 : options.supportHighlights) || (options === null || options === void 0 ? void 0 : options.supportIcons)) {
104702
104707
  this.nameNode = new LabelWithHighlights(this.nameContainer, !!options.supportIcons);
104703
104708
  }
@@ -104787,20 +104792,20 @@ class IconLabel extends Disposable {
104787
104792
  }
104788
104793
  getOrCreateSuffixNode() {
104789
104794
  if (!this.suffixNode) {
104790
- const suffixContainer = this._register(new FastLabelNode(after(this.nameContainer, $$e('span.monaco-icon-suffix-container'))));
104791
- this.suffixNode = this._register(new FastLabelNode(append$1(suffixContainer.element, $$e('span.label-suffix'))));
104795
+ const suffixContainer = this._register(new FastLabelNode(after(this.nameContainer, $$d('span.monaco-icon-suffix-container'))));
104796
+ this.suffixNode = this._register(new FastLabelNode(append$1(suffixContainer.element, $$d('span.label-suffix'))));
104792
104797
  }
104793
104798
  return this.suffixNode;
104794
104799
  }
104795
104800
  getOrCreateDescriptionNode() {
104796
104801
  var _a;
104797
104802
  if (!this.descriptionNode) {
104798
- const descriptionContainer = this._register(new FastLabelNode(append$1(this.labelContainer, $$e('span.monaco-icon-description-container'))));
104803
+ const descriptionContainer = this._register(new FastLabelNode(append$1(this.labelContainer, $$d('span.monaco-icon-description-container'))));
104799
104804
  if ((_a = this.creationOptions) === null || _a === void 0 ? void 0 : _a.supportDescriptionHighlights) {
104800
- this.descriptionNode = new HighlightedLabel(append$1(descriptionContainer.element, $$e('span.label-description')), { supportIcons: !!this.creationOptions.supportIcons });
104805
+ this.descriptionNode = new HighlightedLabel(append$1(descriptionContainer.element, $$d('span.label-description')), { supportIcons: !!this.creationOptions.supportIcons });
104801
104806
  }
104802
104807
  else {
104803
- this.descriptionNode = this._register(new FastLabelNode(append$1(descriptionContainer.element, $$e('span.label-description'))));
104808
+ this.descriptionNode = this._register(new FastLabelNode(append$1(descriptionContainer.element, $$d('span.label-description'))));
104804
104809
  }
104805
104810
  }
104806
104811
  return this.descriptionNode;
@@ -104822,7 +104827,7 @@ class Label {
104822
104827
  if (!this.singleLabel) {
104823
104828
  this.container.innerText = '';
104824
104829
  this.container.classList.remove('multiple');
104825
- this.singleLabel = append$1(this.container, $$e('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId }));
104830
+ this.singleLabel = append$1(this.container, $$d('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId }));
104826
104831
  }
104827
104832
  this.singleLabel.textContent = label;
104828
104833
  }
@@ -104833,9 +104838,9 @@ class Label {
104833
104838
  for (let i = 0; i < label.length; i++) {
104834
104839
  const l = label[i];
104835
104840
  const id = (options === null || options === void 0 ? void 0 : options.domId) && `${options === null || options === void 0 ? void 0 : options.domId}_${i}`;
104836
- append$1(this.container, $$e('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' }, l));
104841
+ append$1(this.container, $$d('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' }, l));
104837
104842
  if (i < label.length - 1) {
104838
- append$1(this.container, $$e('span.label-separator', undefined, (options === null || options === void 0 ? void 0 : options.separator) || '/'));
104843
+ append$1(this.container, $$d('span.label-separator', undefined, (options === null || options === void 0 ? void 0 : options.separator) || '/'));
104839
104844
  }
104840
104845
  }
104841
104846
  }
@@ -104873,7 +104878,7 @@ class LabelWithHighlights {
104873
104878
  if (!this.singleLabel) {
104874
104879
  this.container.innerText = '';
104875
104880
  this.container.classList.remove('multiple');
104876
- this.singleLabel = new HighlightedLabel(append$1(this.container, $$e('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId })), { supportIcons: this.supportIcons });
104881
+ this.singleLabel = new HighlightedLabel(append$1(this.container, $$d('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId })), { supportIcons: this.supportIcons });
104877
104882
  }
104878
104883
  this.singleLabel.set(label, options === null || options === void 0 ? void 0 : options.matches, undefined, options === null || options === void 0 ? void 0 : options.labelEscapeNewLines);
104879
104884
  }
@@ -104887,11 +104892,11 @@ class LabelWithHighlights {
104887
104892
  const l = label[i];
104888
104893
  const m = matches ? matches[i] : undefined;
104889
104894
  const id = (options === null || options === void 0 ? void 0 : options.domId) && `${options === null || options === void 0 ? void 0 : options.domId}_${i}`;
104890
- const name = $$e('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' });
104895
+ const name = $$d('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' });
104891
104896
  const highlightedLabel = new HighlightedLabel(append$1(this.container, name), { supportIcons: this.supportIcons });
104892
104897
  highlightedLabel.set(l, m, undefined, options === null || options === void 0 ? void 0 : options.labelEscapeNewLines);
104893
104898
  if (i < label.length - 1) {
104894
- append$1(name, $$e('span.label-separator', undefined, separator));
104899
+ append$1(name, $$d('span.label-separator', undefined, separator));
104895
104900
  }
104896
104901
  }
104897
104902
  }
@@ -104902,7 +104907,7 @@ class LabelWithHighlights {
104902
104907
  * Copyright (c) Microsoft Corporation. All rights reserved.
104903
104908
  * Licensed under the MIT License. See License.txt in the project root for license information.
104904
104909
  *--------------------------------------------------------------------------------------------*/
104905
- const $$a = $$e;
104910
+ const $$9 = $$d;
104906
104911
  const unthemedKeybindingLabelOptions = {
104907
104912
  keybindingLabelBackground: undefined,
104908
104913
  keybindingLabelForeground: undefined,
@@ -104916,7 +104921,7 @@ class KeybindingLabel {
104916
104921
  this.keyElements = new Set();
104917
104922
  this.options = options || Object.create(null);
104918
104923
  const labelForeground = this.options.keybindingLabelForeground;
104919
- this.domNode = append$1(container, $$a('.monaco-keybinding'));
104924
+ this.domNode = append$1(container, $$9('.monaco-keybinding'));
104920
104925
  if (labelForeground) {
104921
104926
  this.domNode.style.color = labelForeground;
104922
104927
  }
@@ -104943,7 +104948,7 @@ class KeybindingLabel {
104943
104948
  this.renderChord(this.domNode, chords[0], this.matches ? this.matches.firstPart : null);
104944
104949
  }
104945
104950
  for (let i = 1; i < chords.length; i++) {
104946
- append$1(this.domNode, $$a('span.monaco-keybinding-key-chord-separator', undefined, ' '));
104951
+ append$1(this.domNode, $$9('span.monaco-keybinding-key-chord-separator', undefined, ' '));
104947
104952
  this.renderChord(this.domNode, chords[i], this.matches ? this.matches.chordPart : null);
104948
104953
  }
104949
104954
  const title = ((_a = this.options.disableTitle) !== null && _a !== void 0 ? _a : false) ? undefined : this.keybinding.getAriaLabel() || undefined;
@@ -104985,14 +104990,14 @@ class KeybindingLabel {
104985
104990
  renderKey(parent, label, highlight, separator) {
104986
104991
  append$1(parent, this.createKeyElement(label, highlight ? '.highlight' : ''));
104987
104992
  if (separator) {
104988
- append$1(parent, $$a('span.monaco-keybinding-key-separator', undefined, separator));
104993
+ append$1(parent, $$9('span.monaco-keybinding-key-separator', undefined, separator));
104989
104994
  }
104990
104995
  }
104991
104996
  renderUnbound(parent) {
104992
104997
  append$1(parent, this.createKeyElement(localize('unbound', "Unbound")));
104993
104998
  }
104994
104999
  createKeyElement(label, extraClass = '') {
104995
- const keyElement = $$a('span.monaco-keybinding-key' + extraClass, undefined, label);
105000
+ const keyElement = $$9('span.monaco-keybinding-key' + extraClass, undefined, label);
104996
105001
  this.keyElements.add(keyElement);
104997
105002
  if (this.options.keybindingLabelBackground) {
104998
105003
  keyElement.style.backgroundColor = this.options.keybindingLabelBackground;
@@ -105169,7 +105174,7 @@ function renderQuickInputDescription(description, container, actionHandler) {
105169
105174
  else if (!title) {
105170
105175
  title = node.href;
105171
105176
  }
105172
- const anchor = $$e('a', { href: node.href, title, tabIndex: tabIndex++ }, node.label);
105177
+ const anchor = $$d('a', { href: node.href, title, tabIndex: tabIndex++ }, node.label);
105173
105178
  anchor.style.textDecoration = 'underline';
105174
105179
  const handleOpen = (e) => {
105175
105180
  if (isEventLike(e)) {
@@ -105201,7 +105206,7 @@ var __decorate$1K = (undefined && undefined.__decorate) || function (decorators,
105201
105206
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
105202
105207
  return c > 3 && r && Object.defineProperty(target, key, r), r;
105203
105208
  };
105204
- const $$9 = $$e;
105209
+ const $$8 = $$d;
105205
105210
  class ListElement {
105206
105211
  constructor(mainItem, previous, index, hasCheckbox, fireButtonTriggered, fireSeparatorButtonTriggered, onCheckedEmitter) {
105207
105212
  var _a, _b, _c;
@@ -105315,36 +105320,36 @@ class ListElementRenderer {
105315
105320
  const data = Object.create(null);
105316
105321
  data.toDisposeElement = [];
105317
105322
  data.toDisposeTemplate = [];
105318
- data.entry = append$1(container, $$9('.quick-input-list-entry'));
105323
+ data.entry = append$1(container, $$8('.quick-input-list-entry'));
105319
105324
  // Checkbox
105320
- const label = append$1(data.entry, $$9('label.quick-input-list-label'));
105325
+ const label = append$1(data.entry, $$8('label.quick-input-list-label'));
105321
105326
  data.toDisposeTemplate.push(addStandardDisposableListener(label, EventType$1.CLICK, e => {
105322
105327
  if (!data.checkbox.offsetParent) { // If checkbox not visible:
105323
105328
  e.preventDefault(); // Prevent toggle of checkbox when it is immediately shown afterwards. #91740
105324
105329
  }
105325
105330
  }));
105326
- data.checkbox = append$1(label, $$9('input.quick-input-list-checkbox'));
105331
+ data.checkbox = append$1(label, $$8('input.quick-input-list-checkbox'));
105327
105332
  data.checkbox.type = 'checkbox';
105328
105333
  data.toDisposeTemplate.push(addStandardDisposableListener(data.checkbox, EventType$1.CHANGE, e => {
105329
105334
  data.element.checked = data.checkbox.checked;
105330
105335
  }));
105331
105336
  // Rows
105332
- const rows = append$1(label, $$9('.quick-input-list-rows'));
105333
- const row1 = append$1(rows, $$9('.quick-input-list-row'));
105334
- const row2 = append$1(rows, $$9('.quick-input-list-row'));
105337
+ const rows = append$1(label, $$8('.quick-input-list-rows'));
105338
+ const row1 = append$1(rows, $$8('.quick-input-list-row'));
105339
+ const row2 = append$1(rows, $$8('.quick-input-list-row'));
105335
105340
  // Label
105336
105341
  data.label = new IconLabel(row1, { supportHighlights: true, supportDescriptionHighlights: true, supportIcons: true });
105337
105342
  data.toDisposeTemplate.push(data.label);
105338
- data.icon = prepend$1(data.label.element, $$9('.quick-input-list-icon'));
105343
+ data.icon = prepend$1(data.label.element, $$8('.quick-input-list-icon'));
105339
105344
  // Keybinding
105340
- const keybindingContainer = append$1(row1, $$9('.quick-input-list-entry-keybinding'));
105345
+ const keybindingContainer = append$1(row1, $$8('.quick-input-list-entry-keybinding'));
105341
105346
  data.keybinding = new KeybindingLabel(keybindingContainer, OS);
105342
105347
  // Detail
105343
- const detailContainer = append$1(row2, $$9('.quick-input-list-label-meta'));
105348
+ const detailContainer = append$1(row2, $$8('.quick-input-list-label-meta'));
105344
105349
  data.detail = new IconLabel(detailContainer, { supportHighlights: true, supportIcons: true });
105345
105350
  data.toDisposeTemplate.push(data.detail);
105346
105351
  // Separator
105347
- data.separator = append$1(data.entry, $$9('.quick-input-list-separator'));
105352
+ data.separator = append$1(data.entry, $$8('.quick-input-list-separator'));
105348
105353
  // Actions
105349
105354
  data.actionBar = new ActionBar(data.entry);
105350
105355
  data.actionBar.domNode.classList.add('quick-input-list-entry-action-bar');
@@ -105507,7 +105512,7 @@ class QuickInputList {
105507
105512
  this.elementDisposables = [];
105508
105513
  this.disposables = [];
105509
105514
  this.id = id;
105510
- this.container = append$1(this.parent, $$9('.quick-input-list'));
105515
+ this.container = append$1(this.parent, $$8('.quick-input-list'));
105511
105516
  const delegate = new ListElementDelegate();
105512
105517
  const accessibilityProvider = new QuickInputAccessibilityProvider();
105513
105518
  this.list = options.createList('QuickInput', this.container, delegate, [new ListElementRenderer(themeService)], {
@@ -107013,7 +107018,7 @@ class InputBox extends QuickInput {
107013
107018
  * Copyright (c) Microsoft Corporation. All rights reserved.
107014
107019
  * Licensed under the MIT License. See License.txt in the project root for license information.
107015
107020
  *--------------------------------------------------------------------------------------------*/
107016
- const $$8 = $$e;
107021
+ const $$7 = $$d;
107017
107022
  class QuickInputController extends Disposable {
107018
107023
  constructor(options, themeService, layoutService) {
107019
107024
  super();
@@ -107064,19 +107069,19 @@ class QuickInputController extends Disposable {
107064
107069
  }
107065
107070
  return this.ui;
107066
107071
  }
107067
- const container = append$1(this.parentElement, $$8('.quick-input-widget.show-file-icons'));
107072
+ const container = append$1(this.parentElement, $$7('.quick-input-widget.show-file-icons'));
107068
107073
  container.tabIndex = -1;
107069
107074
  container.style.display = 'none';
107070
107075
  const styleSheet = createStyleSheet(container);
107071
- const titleBar = append$1(container, $$8('.quick-input-titlebar'));
107076
+ const titleBar = append$1(container, $$7('.quick-input-titlebar'));
107072
107077
  const actionBarOption = this.options.hoverDelegate ? { hoverDelegate: this.options.hoverDelegate } : undefined;
107073
107078
  const leftActionBar = this._register(new ActionBar(titleBar, actionBarOption));
107074
107079
  leftActionBar.domNode.classList.add('quick-input-left-action-bar');
107075
- const title = append$1(titleBar, $$8('.quick-input-title'));
107080
+ const title = append$1(titleBar, $$7('.quick-input-title'));
107076
107081
  const rightActionBar = this._register(new ActionBar(titleBar, actionBarOption));
107077
107082
  rightActionBar.domNode.classList.add('quick-input-right-action-bar');
107078
- const headerContainer = append$1(container, $$8('.quick-input-header'));
107079
- const checkAll = append$1(headerContainer, $$8('input.quick-input-check-all'));
107083
+ const headerContainer = append$1(container, $$7('.quick-input-header'));
107084
+ const checkAll = append$1(headerContainer, $$7('input.quick-input-check-all'));
107080
107085
  checkAll.type = 'checkbox';
107081
107086
  checkAll.setAttribute('aria-label', localize('quickInput.checkAll', "Toggle all checkboxes"));
107082
107087
  this._register(addStandardDisposableListener(checkAll, EventType$1.CHANGE, e => {
@@ -107088,36 +107093,36 @@ class QuickInputController extends Disposable {
107088
107093
  inputBox.setFocus();
107089
107094
  }
107090
107095
  }));
107091
- const description2 = append$1(headerContainer, $$8('.quick-input-description'));
107092
- const inputContainer = append$1(headerContainer, $$8('.quick-input-and-message'));
107093
- const filterContainer = append$1(inputContainer, $$8('.quick-input-filter'));
107096
+ const description2 = append$1(headerContainer, $$7('.quick-input-description'));
107097
+ const inputContainer = append$1(headerContainer, $$7('.quick-input-and-message'));
107098
+ const filterContainer = append$1(inputContainer, $$7('.quick-input-filter'));
107094
107099
  const inputBox = this._register(new QuickInputBox(filterContainer, this.styles.inputBox, this.styles.toggle));
107095
107100
  inputBox.setAttribute('aria-describedby', `${this.idPrefix}message`);
107096
- const visibleCountContainer = append$1(filterContainer, $$8('.quick-input-visible-count'));
107101
+ const visibleCountContainer = append$1(filterContainer, $$7('.quick-input-visible-count'));
107097
107102
  visibleCountContainer.setAttribute('aria-live', 'polite');
107098
107103
  visibleCountContainer.setAttribute('aria-atomic', 'true');
107099
107104
  const visibleCount = new CountBadge(visibleCountContainer, { countFormat: localize({ key: 'quickInput.visibleCount', comment: ['This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers.'] }, "{0} Results") }, this.styles.countBadge);
107100
- const countContainer = append$1(filterContainer, $$8('.quick-input-count'));
107105
+ const countContainer = append$1(filterContainer, $$7('.quick-input-count'));
107101
107106
  countContainer.setAttribute('aria-live', 'polite');
107102
107107
  const count = new CountBadge(countContainer, { countFormat: localize({ key: 'quickInput.countSelected', comment: ['This tells the user how many items are selected in a list of items to select from. The items can be anything.'] }, "{0} Selected") }, this.styles.countBadge);
107103
- const okContainer = append$1(headerContainer, $$8('.quick-input-action'));
107108
+ const okContainer = append$1(headerContainer, $$7('.quick-input-action'));
107104
107109
  const ok = this._register(new Button(okContainer, this.styles.button));
107105
107110
  ok.label = localize('ok', "OK");
107106
107111
  this._register(ok.onDidClick(e => {
107107
107112
  this.onDidAcceptEmitter.fire();
107108
107113
  }));
107109
- const customButtonContainer = append$1(headerContainer, $$8('.quick-input-action'));
107114
+ const customButtonContainer = append$1(headerContainer, $$7('.quick-input-action'));
107110
107115
  const customButton = this._register(new Button(customButtonContainer, this.styles.button));
107111
107116
  customButton.label = localize('custom', "Custom");
107112
107117
  this._register(customButton.onDidClick(e => {
107113
107118
  this.onDidCustomEmitter.fire();
107114
107119
  }));
107115
- const message = append$1(inputContainer, $$8(`#${this.idPrefix}message.quick-input-message`));
107120
+ const message = append$1(inputContainer, $$7(`#${this.idPrefix}message.quick-input-message`));
107116
107121
  const progressBar = this._register(new ProgressBar(container, this.styles.progressBar));
107117
107122
  progressBar.getContainer().classList.add('quick-input-progress');
107118
- const widget = append$1(container, $$8('.quick-input-html-widget'));
107123
+ const widget = append$1(container, $$7('.quick-input-html-widget'));
107119
107124
  widget.tabIndex = -1;
107120
- const description1 = append$1(container, $$8('.quick-input-description'));
107125
+ const description1 = append$1(container, $$7('.quick-input-description'));
107121
107126
  const listId = this.idPrefix + 'list';
107122
107127
  const list = this._register(new QuickInputList(container, listId, this.options, this.themeService));
107123
107128
  inputBox.setAttribute('aria-controls', listId);
@@ -109462,7 +109467,7 @@ let BrowserClipboardService = class BrowserClipboardService extends Disposable {
109462
109467
  // Fallback to textarea and execCommand solution
109463
109468
  const activeDocument = getActiveDocument();
109464
109469
  const activeElement = activeDocument.activeElement;
109465
- const textArea = activeDocument.body.appendChild($$e('textarea', { 'aria-hidden': true }));
109470
+ const textArea = activeDocument.body.appendChild($$d('textarea', { 'aria-hidden': true }));
109466
109471
  textArea.style.height = '1px';
109467
109472
  textArea.style.width = '1px';
109468
109473
  textArea.style.position = 'absolute';
@@ -114584,7 +114589,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
114584
114589
  this._nodes = h$1('div.diff-hidden-lines', [
114585
114590
  h$1('div.top@top', { title: localize('diff.hiddenLines.top', 'Click or drag to show more above') }),
114586
114591
  h$1('div.center@content', { style: { display: 'flex' } }, [
114587
- h$1('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$$e('a', { title: localize('showUnchangedRegion', 'Show Unchanged Region'), role: 'button', onclick: () => { this._unchangedRegion.showAll(undefined); } }, ...renderLabelWithIcons('$(unfold)'))]),
114592
+ h$1('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$$d('a', { title: localize('showUnchangedRegion', 'Show Unchanged Region'), role: 'button', onclick: () => { this._unchangedRegion.showAll(undefined); } }, ...renderLabelWithIcons('$(unfold)'))]),
114588
114593
  h$1('div@others', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } }),
114589
114594
  ]),
114590
114595
  h$1('div.bottom@bottom', { title: localize('diff.bottom', 'Click or drag to show more below'), role: 'button' }),
@@ -114696,7 +114701,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
114696
114701
  if (!this._hide) {
114697
114702
  const lineCount = _unchangedRegion.getHiddenModifiedRange(reader).length;
114698
114703
  const linesHiddenText = localize('hiddenLines', '{0} hidden lines', lineCount);
114699
- const span = $$e('span', { title: localize('diff.hiddenLines.expandAll', 'Double click to unfold') }, linesHiddenText);
114704
+ const span = $$d('span', { title: localize('diff.hiddenLines.expandAll', 'Double click to unfold') }, linesHiddenText);
114700
114705
  span.addEventListener('dblclick', e => {
114701
114706
  if (e.button !== 0) {
114702
114707
  return;
@@ -114708,7 +114713,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
114708
114713
  const range = this._unchangedRegion.getHiddenModifiedRange(reader);
114709
114714
  const items = this._modifiedOutlineSource.getBreadcrumbItems(range, reader);
114710
114715
  if (items.length > 0) {
114711
- children.push($$e('span', undefined, '\u00a0\u00a0|\u00a0\u00a0'));
114716
+ children.push($$d('span', undefined, '\u00a0\u00a0|\u00a0\u00a0'));
114712
114717
  for (let i = 0; i < items.length; i++) {
114713
114718
  const item = items[i];
114714
114719
  const icon = SymbolKinds.toIcon(item.kind);
@@ -115841,7 +115846,7 @@ let ViewZoneManager = class ViewZoneManager extends Disposable {
115841
115846
  e.stopPropagation();
115842
115847
  _diffEditorWidget.revert(a.diff);
115843
115848
  }));
115844
- return $$e('div', {}, arrow);
115849
+ return $$d('div', {}, arrow);
115845
115850
  }
115846
115851
  let marginDomNode = undefined;
115847
115852
  if (a.diff && a.diff.modified.isEmpty && this._options.shouldRenderRevertArrows.read(reader)) {
@@ -116610,7 +116615,7 @@ let DiffEditorWidget = class DiffEditorWidget extends DelegatingEditor {
116610
116615
  this._audioCueService = _audioCueService;
116611
116616
  this._editorProgressService = _editorProgressService;
116612
116617
  this.elements = h$1('div.monaco-diff-editor.side-by-side', { style: { position: 'relative', height: '100%' } }, [
116613
- h$1('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$$e('span', {}, 'No Changes')]),
116618
+ h$1('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$$d('span', {}, 'No Changes')]),
116614
116619
  h$1('div.editor.original@original', { style: { position: 'absolute', height: '100%' } }),
116615
116620
  h$1('div.editor.modified@modified', { style: { position: 'absolute', height: '100%' } }),
116616
116621
  h$1('div.accessibleDiffViewer@accessibleDiffViewer', { style: { position: 'absolute', height: '100%' } }),
@@ -120539,7 +120544,7 @@ registerLanguage({
120539
120544
  mimetypes: ["text/css"],
120540
120545
  loader: () => {
120541
120546
  {
120542
- return Promise.resolve().then(function () { return require('./css-eb1c8e5c.js'); });
120547
+ return Promise.resolve().then(function () { return require('./css-19093b80.js'); });
120543
120548
  }
120544
120549
  }
120545
120550
  });
@@ -120557,7 +120562,7 @@ registerLanguage({
120557
120562
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
120558
120563
  loader: () => {
120559
120564
  {
120560
- return Promise.resolve().then(function () { return require('./html-1aa8e458.js'); });
120565
+ return Promise.resolve().then(function () { return require('./html-04cbd899.js'); });
120561
120566
  }
120562
120567
  }
120563
120568
  });
@@ -120577,7 +120582,7 @@ registerLanguage({
120577
120582
  mimetypes: ["text/javascript"],
120578
120583
  loader: () => {
120579
120584
  {
120580
- return Promise.resolve().then(function () { return require('./javascript-7a4d9023.js'); });
120585
+ return Promise.resolve().then(function () { return require('./javascript-8717f18b.js'); });
120581
120586
  }
120582
120587
  }
120583
120588
  });
@@ -120595,7 +120600,7 @@ registerLanguage({
120595
120600
  mimetypes: ["text/typescript"],
120596
120601
  loader: () => {
120597
120602
  {
120598
- return Promise.resolve().then(function () { return require('./typescript-588df930.js'); });
120603
+ return Promise.resolve().then(function () { return require('./typescript-a75c0ef4.js'); });
120599
120604
  }
120600
120605
  }
120601
120606
  });
@@ -120716,7 +120721,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
120716
120721
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
120717
120722
  function getMode$3() {
120718
120723
  {
120719
- return Promise.resolve().then(function () { return require('./cssMode-90f06d02.js'); });
120724
+ return Promise.resolve().then(function () { return require('./cssMode-ce70c012.js'); });
120720
120725
  }
120721
120726
  }
120722
120727
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -120841,7 +120846,7 @@ monaco_editor_core_exports$2.languages.html = {
120841
120846
  };
120842
120847
  function getMode$2() {
120843
120848
  {
120844
- return Promise.resolve().then(function () { return require('./htmlMode-d3283acc.js'); });
120849
+ return Promise.resolve().then(function () { return require('./htmlMode-5e973c6f.js'); });
120845
120850
  }
120846
120851
  }
120847
120852
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -120943,7 +120948,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
120943
120948
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
120944
120949
  function getMode$1() {
120945
120950
  {
120946
- return Promise.resolve().then(function () { return require('./jsonMode-73be73dc.js'); });
120951
+ return Promise.resolve().then(function () { return require('./jsonMode-b93b2667.js'); });
120947
120952
  }
120948
120953
  }
120949
120954
  monaco_editor_core_exports$1.languages.register({
@@ -121212,7 +121217,7 @@ monaco_editor_core_exports.languages.typescript = {
121212
121217
  };
121213
121218
  function getMode() {
121214
121219
  {
121215
- return Promise.resolve().then(function () { return require('./tsMode-95a699e0.js'); });
121220
+ return Promise.resolve().then(function () { return require('./tsMode-73e2fe2f.js'); });
121216
121221
  }
121217
121222
  }
121218
121223
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -123164,7 +123169,7 @@ let LightBulbWidget = LightBulbWidget_1 = class LightBulbWidget extends Disposab
123164
123169
  this.onClick = this._onClick.event;
123165
123170
  this._state = LightBulbState.Hidden;
123166
123171
  this._iconClasses = [];
123167
- this._domNode = $$e('div.lightBulbWidget');
123172
+ this._domNode = $$d('div.lightBulbWidget');
123168
123173
  this._register(Gesture.ignoreTarget(this._domNode));
123169
123174
  this._editor.addContentWidget(this);
123170
123175
  this._register(this._editor.onDidChangeModelContent(_ => {
@@ -124020,7 +124025,7 @@ let ActionWidgetService = class ActionWidgetService extends Disposable {
124020
124025
  if (!actions.length) {
124021
124026
  return undefined;
124022
124027
  }
124023
- const container = $$e(className);
124028
+ const container = $$d(className);
124024
124029
  const actionBar = new ActionBar(container);
124025
124030
  actionBar.push(actions, { icon: false, label: true });
124026
124031
  return actionBar;
@@ -125214,20 +125219,20 @@ class CodeLensContentWidget {
125214
125219
  if (lens.command) {
125215
125220
  const title = renderLabelWithIcons(lens.command.title.trim());
125216
125221
  if (lens.command.id) {
125217
- children.push($$e('a', { id: String(i), title: lens.command.tooltip, role: 'button' }, ...title));
125222
+ children.push($$d('a', { id: String(i), title: lens.command.tooltip, role: 'button' }, ...title));
125218
125223
  this._commands.set(String(i), lens.command);
125219
125224
  }
125220
125225
  else {
125221
- children.push($$e('span', { title: lens.command.tooltip }, ...title));
125226
+ children.push($$d('span', { title: lens.command.tooltip }, ...title));
125222
125227
  }
125223
125228
  if (i + 1 < lenses.length) {
125224
- children.push($$e('span', undefined, '\u00a0|\u00a0'));
125229
+ children.push($$d('span', undefined, '\u00a0|\u00a0'));
125225
125230
  }
125226
125231
  }
125227
125232
  }
125228
125233
  if (!hasSymbol) {
125229
125234
  // symbols but no commands
125230
- reset(this._domNode, $$e('span', undefined, 'no commands'));
125235
+ reset(this._domNode, $$d('span', undefined, 'no commands'));
125231
125236
  }
125232
125237
  else {
125233
125238
  // symbols and commands
@@ -126325,22 +126330,22 @@ class ColorPickerModel {
126325
126330
  * Copyright (c) Microsoft Corporation. All rights reserved.
126326
126331
  * Licensed under the MIT License. See License.txt in the project root for license information.
126327
126332
  *--------------------------------------------------------------------------------------------*/
126328
- const $$7 = $$e;
126333
+ const $$6 = $$d;
126329
126334
  class ColorPickerHeader extends Disposable {
126330
126335
  constructor(container, model, themeService, showingStandaloneColorPicker = false) {
126331
126336
  super();
126332
126337
  this.model = model;
126333
126338
  this.showingStandaloneColorPicker = showingStandaloneColorPicker;
126334
126339
  this._closeButton = null;
126335
- this._domNode = $$7('.colorpicker-header');
126340
+ this._domNode = $$6('.colorpicker-header');
126336
126341
  append$1(container, this._domNode);
126337
- this._pickedColorNode = append$1(this._domNode, $$7('.picked-color'));
126338
- append$1(this._pickedColorNode, $$7('span.codicon.codicon-color-mode'));
126342
+ this._pickedColorNode = append$1(this._domNode, $$6('.picked-color'));
126343
+ append$1(this._pickedColorNode, $$6('span.codicon.codicon-color-mode'));
126339
126344
  this._pickedColorPresentation = append$1(this._pickedColorNode, document.createElement('span'));
126340
126345
  this._pickedColorPresentation.classList.add('picked-color-presentation');
126341
126346
  const tooltip = localize('clickToToggleColorOptions', "Click to toggle color options (rgb/hsl/hex)");
126342
126347
  this._pickedColorNode.setAttribute('title', tooltip);
126343
- this._originalColorNode = append$1(this._domNode, $$7('.original-color'));
126348
+ this._originalColorNode = append$1(this._domNode, $$6('.original-color'));
126344
126349
  this._originalColorNode.style.backgroundColor = Color.Format.CSS.format(this.model.originalColor) || '';
126345
126350
  this.backgroundColor = themeService.getColorTheme().getColor(editorHoverBackground) || Color.white;
126346
126351
  this._register(themeService.onDidColorThemeChange(theme => {
@@ -126391,7 +126396,7 @@ class CloseButton extends Disposable {
126391
126396
  const innerDiv = document.createElement('div');
126392
126397
  innerDiv.classList.add('close-button-inner-div');
126393
126398
  append$1(this._button, innerDiv);
126394
- const closeButton = append$1(innerDiv, $$7('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize('closeIcon', 'Icon to close the color picker')))));
126399
+ const closeButton = append$1(innerDiv, $$6('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize('closeIcon', 'Icon to close the color picker')))));
126395
126400
  closeButton.classList.add('close-icon');
126396
126401
  this._button.onclick = () => {
126397
126402
  this._onClicked.fire();
@@ -126404,7 +126409,7 @@ class ColorPickerBody extends Disposable {
126404
126409
  this.model = model;
126405
126410
  this.pixelRatio = pixelRatio;
126406
126411
  this._insertButton = null;
126407
- this._domNode = $$7('.colorpicker-body');
126412
+ this._domNode = $$6('.colorpicker-body');
126408
126413
  append$1(container, this._domNode);
126409
126414
  this._saturationBox = new SaturationBox(this._domNode, this.model, this.pixelRatio);
126410
126415
  this._register(this._saturationBox);
@@ -126463,14 +126468,14 @@ class SaturationBox extends Disposable {
126463
126468
  this.onDidChange = this._onDidChange.event;
126464
126469
  this._onColorFlushed = new Emitter$1();
126465
126470
  this.onColorFlushed = this._onColorFlushed.event;
126466
- this._domNode = $$7('.saturation-wrap');
126471
+ this._domNode = $$6('.saturation-wrap');
126467
126472
  append$1(container, this._domNode);
126468
126473
  // Create canvas, draw selected color
126469
126474
  this._canvas = document.createElement('canvas');
126470
126475
  this._canvas.className = 'saturation-box';
126471
126476
  append$1(this._domNode, this._canvas);
126472
126477
  // Add selection circle
126473
- this.selection = $$7('.saturation-selection');
126478
+ this.selection = $$6('.saturation-selection');
126474
126479
  append$1(this._domNode, this.selection);
126475
126480
  this.layout();
126476
126481
  this._register(addDisposableListener(this._domNode, EventType$1.POINTER_DOWN, e => this.onPointerDown(e)));
@@ -126555,14 +126560,14 @@ class Strip extends Disposable {
126555
126560
  this._onColorFlushed = new Emitter$1();
126556
126561
  this.onColorFlushed = this._onColorFlushed.event;
126557
126562
  if (showingStandaloneColorPicker) {
126558
- this.domNode = append$1(container, $$7('.standalone-strip'));
126559
- this.overlay = append$1(this.domNode, $$7('.standalone-overlay'));
126563
+ this.domNode = append$1(container, $$6('.standalone-strip'));
126564
+ this.overlay = append$1(this.domNode, $$6('.standalone-overlay'));
126560
126565
  }
126561
126566
  else {
126562
- this.domNode = append$1(container, $$7('.strip'));
126563
- this.overlay = append$1(this.domNode, $$7('.overlay'));
126567
+ this.domNode = append$1(container, $$6('.strip'));
126568
+ this.overlay = append$1(this.domNode, $$6('.overlay'));
126564
126569
  }
126565
- this.slider = append$1(this.domNode, $$7('.slider'));
126570
+ this.slider = append$1(this.domNode, $$6('.slider'));
126566
126571
  this.slider.style.top = `0px`;
126567
126572
  this._register(addDisposableListener(this.domNode, EventType$1.POINTER_DOWN, e => this.onPointerDown(e)));
126568
126573
  this._register(model.onDidChangeColor(this.onDidChangeColor, this));
@@ -126652,7 +126657,7 @@ class ColorPickerWidget extends Widget$1 {
126652
126657
  this.model = model;
126653
126658
  this.pixelRatio = pixelRatio;
126654
126659
  this._register(PixelRatio.onDidChange(() => this.layout()));
126655
- const element = $$7('.colorpicker-widget');
126660
+ const element = $$6('.colorpicker-widget');
126656
126661
  container.appendChild(element);
126657
126662
  this.header = this._register(new ColorPickerHeader(element, this.model, themeService, standaloneColorPicker));
126658
126663
  this.body = this._register(new ColorPickerBody(element, this.model, this.pixelRatio, standaloneColorPicker));
@@ -127577,26 +127582,26 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
127577
127582
  }
127578
127583
  _fillContainer(container) {
127579
127584
  this.setCssClass('peekview-widget');
127580
- this._headElement = $$e('.head');
127581
- this._bodyElement = $$e('.body');
127585
+ this._headElement = $$d('.head');
127586
+ this._bodyElement = $$d('.body');
127582
127587
  this._fillHead(this._headElement);
127583
127588
  this._fillBody(this._bodyElement);
127584
127589
  container.appendChild(this._headElement);
127585
127590
  container.appendChild(this._bodyElement);
127586
127591
  }
127587
127592
  _fillHead(container, noCloseAction) {
127588
- this._titleElement = $$e('.peekview-title');
127593
+ this._titleElement = $$d('.peekview-title');
127589
127594
  if (this.options.supportOnTitleClick) {
127590
127595
  this._titleElement.classList.add('clickable');
127591
127596
  addStandardDisposableListener(this._titleElement, 'click', event => this._onTitleClick(event));
127592
127597
  }
127593
127598
  append$1(this._headElement, this._titleElement);
127594
127599
  this._fillTitleIcon(this._titleElement);
127595
- this._primaryHeading = $$e('span.filename');
127596
- this._secondaryHeading = $$e('span.dirname');
127597
- this._metaHeading = $$e('span.meta');
127600
+ this._primaryHeading = $$d('span.filename');
127601
+ this._secondaryHeading = $$d('span.dirname');
127602
+ this._metaHeading = $$d('span.meta');
127598
127603
  append$1(this._titleElement, this._primaryHeading, this._secondaryHeading, this._metaHeading);
127599
- const actionsContainer = $$e('.peekview-actions');
127604
+ const actionsContainer = $$d('.peekview-actions');
127600
127605
  append$1(this._headElement, actionsContainer);
127601
127606
  const actionBarOptions = this._getActionBarOptions();
127602
127607
  this._actionbarWidget = new ActionBar(actionsContainer, actionBarOptions);
@@ -128009,7 +128014,7 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
128009
128014
  const parent = document.createElement('div');
128010
128015
  parent.classList.add('reference-file');
128011
128016
  this.file = this._register(new IconLabel(parent, { supportHighlights: true }));
128012
- this.badge = new CountBadge(append$1(parent, $$e('.count')), {}, defaultCountBadgeStyles);
128017
+ this.badge = new CountBadge(append$1(parent, $$d('.count')), {}, defaultCountBadgeStyles);
128013
128018
  container.appendChild(parent);
128014
128019
  }
128015
128020
  set(element, matches) {
@@ -128312,11 +128317,11 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
128312
128317
  _fillBody(containerElement) {
128313
128318
  this.setCssClass('reference-zone-widget');
128314
128319
  // message pane
128315
- this._messageContainer = append$1(containerElement, $$e('div.messages'));
128320
+ this._messageContainer = append$1(containerElement, $$d('div.messages'));
128316
128321
  hide(this._messageContainer);
128317
128322
  this._splitView = new SplitView(containerElement, { orientation: 1 /* Orientation.HORIZONTAL */ });
128318
128323
  // editor
128319
- this._previewContainer = append$1(containerElement, $$e('div.preview.inline'));
128324
+ this._previewContainer = append$1(containerElement, $$d('div.preview.inline'));
128320
128325
  const options = {
128321
128326
  scrollBeyondLastLine: false,
128322
128327
  scrollbar: {
@@ -128337,7 +128342,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
128337
128342
  hide(this._previewContainer);
128338
128343
  this._previewNotAvailableMessage = new TextModel(localize('missingPreviewMessage', "no preview available"), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null, this._undoRedoService, this._languageService, this._languageConfigurationService);
128339
128344
  // tree
128340
- this._treeContainer = append$1(containerElement, $$e('div.ref-tree.inline'));
128345
+ this._treeContainer = append$1(containerElement, $$d('div.ref-tree.inline'));
128341
128346
  const treeOptions = {
128342
128347
  keyboardSupport: this._defaultTreeKeyboardSupport,
128343
128348
  accessibilityProvider: new AccessibilityProvider(),
@@ -130113,7 +130118,7 @@ registerEditorContribution(GotoDefinitionAtPositionEditorContribution.ID, GotoDe
130113
130118
  * Copyright (c) Microsoft Corporation. All rights reserved.
130114
130119
  * Licensed under the MIT License. See License.txt in the project root for license information.
130115
130120
  *--------------------------------------------------------------------------------------------*/
130116
- const $$6 = $$e;
130121
+ const $$5 = $$d;
130117
130122
  class HoverWidget extends Disposable {
130118
130123
  constructor() {
130119
130124
  super();
@@ -130138,14 +130143,14 @@ class HoverAction extends Disposable {
130138
130143
  }
130139
130144
  constructor(parent, actionOptions, keybindingLabel) {
130140
130145
  super();
130141
- this.actionContainer = append$1(parent, $$6('div.action-container'));
130146
+ this.actionContainer = append$1(parent, $$5('div.action-container'));
130142
130147
  this.actionContainer.setAttribute('tabindex', '0');
130143
- this.action = append$1(this.actionContainer, $$6('a.action'));
130148
+ this.action = append$1(this.actionContainer, $$5('a.action'));
130144
130149
  this.action.setAttribute('role', 'button');
130145
130150
  if (actionOptions.iconClass) {
130146
- append$1(this.action, $$6(`span.icon.${actionOptions.iconClass}`));
130151
+ append$1(this.action, $$5(`span.icon.${actionOptions.iconClass}`));
130147
130152
  }
130148
- const label = append$1(this.action, $$6('span'));
130153
+ const label = append$1(this.action, $$5('span'));
130149
130154
  label.textContent = keybindingLabel ? `${actionOptions.label} (${keybindingLabel})` : actionOptions.label;
130150
130155
  this._register(addDisposableListener(this.actionContainer, EventType$1.CLICK, e => {
130151
130156
  e.stopPropagation();
@@ -130615,7 +130620,7 @@ var __param$14 = (undefined && undefined.__param) || function (paramIndex, decor
130615
130620
  return function (target, key) { decorator(target, key, paramIndex); }
130616
130621
  };
130617
130622
  var ContentHoverController_1, ContentHoverWidget_1;
130618
- const $$5 = $$e;
130623
+ const $$4 = $$d;
130619
130624
  let ContentHoverController = ContentHoverController_1 = class ContentHoverController extends Disposable {
130620
130625
  constructor(_editor, _instantiationService, _keybindingService) {
130621
130626
  super();
@@ -131356,8 +131361,8 @@ let EditorHoverStatusBar = class EditorHoverStatusBar extends Disposable {
131356
131361
  super();
131357
131362
  this._keybindingService = _keybindingService;
131358
131363
  this._hasContent = false;
131359
- this.hoverElement = $$5('div.hover-row.status-bar');
131360
- this.actionsElement = append$1(this.hoverElement, $$5('div.actions'));
131364
+ this.hoverElement = $$4('div.hover-row.status-bar');
131365
+ this.actionsElement = append$1(this.hoverElement, $$4('div.actions'));
131361
131366
  }
131362
131367
  addAction(actionOptions) {
131363
131368
  const keybinding = this._keybindingService.lookupKeybinding(actionOptions.commandId);
@@ -131459,7 +131464,7 @@ function computeDistanceFromPointToRectangle(pointX, pointY, left, top, width, h
131459
131464
  * Copyright (c) Microsoft Corporation. All rights reserved.
131460
131465
  * Licensed under the MIT License. See License.txt in the project root for license information.
131461
131466
  *--------------------------------------------------------------------------------------------*/
131462
- const $$4 = $$e;
131467
+ const $$3 = $$d;
131463
131468
  class MarginHoverWidget extends Disposable {
131464
131469
  constructor(editor, languageService, openerService) {
131465
131470
  super();
@@ -131540,8 +131545,8 @@ class MarginHoverWidget extends Disposable {
131540
131545
  this._renderDisposeables.clear();
131541
131546
  const fragment = document.createDocumentFragment();
131542
131547
  for (const msg of messages) {
131543
- const markdownHoverElement = $$4('div.hover-row.markdown-hover');
131544
- const hoverContentsElement = append$1(markdownHoverElement, $$4('div.hover-contents'));
131548
+ const markdownHoverElement = $$3('div.hover-row.markdown-hover');
131549
+ const hoverContentsElement = append$1(markdownHoverElement, $$3('div.hover-contents'));
131545
131550
  const renderedContents = this._renderDisposeables.add(this._markdownRenderer.render(msg.value));
131546
131551
  hoverContentsElement.appendChild(renderedContents.element);
131547
131552
  fragment.appendChild(markdownHoverElement);
@@ -131660,7 +131665,7 @@ var __decorate$13 = (undefined && undefined.__decorate) || function (decorators,
131660
131665
  var __param$13 = (undefined && undefined.__param) || function (paramIndex, decorator) {
131661
131666
  return function (target, key) { decorator(target, key, paramIndex); }
131662
131667
  };
131663
- const $$3 = $$e;
131668
+ const $$2 = $$d;
131664
131669
  class MarkdownHover {
131665
131670
  constructor(owner, range, contents, isBeforeContent, ordinal) {
131666
131671
  this.owner = owner;
@@ -131765,8 +131770,8 @@ function renderMarkdownHovers(context, hoverParts, editor, languageService, open
131765
131770
  if (isEmptyMarkdownString(contents)) {
131766
131771
  continue;
131767
131772
  }
131768
- const markdownHoverElement = $$3('div.hover-row.markdown-hover');
131769
- const hoverContentsElement = append$1(markdownHoverElement, $$3('div.hover-contents'));
131773
+ const markdownHoverElement = $$2('div.hover-row.markdown-hover');
131774
+ const hoverContentsElement = append$1(markdownHoverElement, $$2('div.hover-contents'));
131770
131775
  const renderer = disposables.add(new MarkdownRenderer({ editor }, languageService, openerService));
131771
131776
  disposables.add(renderer.onDidRenderAsync(() => {
131772
131777
  hoverContentsElement.className = 'hover-contents code-hover-contents';
@@ -132087,14 +132092,14 @@ class MessageWidget {
132087
132092
  detailsElement.appendChild(codeElement);
132088
132093
  }
132089
132094
  else {
132090
- this._codeLink = $$e('a.code-link');
132095
+ this._codeLink = $$d('a.code-link');
132091
132096
  this._codeLink.setAttribute('href', `${code.target.toString()}`);
132092
132097
  this._codeLink.onclick = (e) => {
132093
132098
  this._openerService.open(code.target, { allowCommands: true });
132094
132099
  e.preventDefault();
132095
132100
  e.stopPropagation();
132096
132101
  };
132097
- const codeElement = append$1(this._codeLink, $$e('span'));
132102
+ const codeElement = append$1(this._codeLink, $$d('span'));
132098
132103
  codeElement.innerText = code.value;
132099
132104
  detailsElement.appendChild(this._codeLink);
132100
132105
  }
@@ -132218,7 +132223,7 @@ let MarkerNavigationWidget = MarkerNavigationWidget_1 = class MarkerNavigationWi
132218
132223
  menu.dispose();
132219
132224
  }
132220
132225
  _fillTitleIcon(container) {
132221
- this._icon = append$1(container, $$e(''));
132226
+ this._icon = append$1(container, $$d(''));
132222
132227
  }
132223
132228
  _fillBody(container) {
132224
132229
  this._parentContainer = container;
@@ -132574,7 +132579,7 @@ var __decorate$$ = (undefined && undefined.__decorate) || function (decorators,
132574
132579
  var __param$$ = (undefined && undefined.__param) || function (paramIndex, decorator) {
132575
132580
  return function (target, key) { decorator(target, key, paramIndex); }
132576
132581
  };
132577
- const $$2 = $$e;
132582
+ const $$1 = $$d;
132578
132583
  class MarkerHover {
132579
132584
  constructor(owner, range, marker) {
132580
132585
  this.owner = owner;
@@ -132632,36 +132637,36 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
132632
132637
  return disposables;
132633
132638
  }
132634
132639
  renderMarkerHover(markerHover, disposables) {
132635
- const hoverElement = $$2('div.hover-row');
132636
- const markerElement = append$1(hoverElement, $$2('div.marker.hover-contents'));
132640
+ const hoverElement = $$1('div.hover-row');
132641
+ const markerElement = append$1(hoverElement, $$1('div.marker.hover-contents'));
132637
132642
  const { source, message, code, relatedInformation } = markerHover.marker;
132638
132643
  this._editor.applyFontInfo(markerElement);
132639
- const messageElement = append$1(markerElement, $$2('span'));
132644
+ const messageElement = append$1(markerElement, $$1('span'));
132640
132645
  messageElement.style.whiteSpace = 'pre-wrap';
132641
132646
  messageElement.innerText = message;
132642
132647
  if (source || code) {
132643
132648
  // Code has link
132644
132649
  if (code && typeof code !== 'string') {
132645
- const sourceAndCodeElement = $$2('span');
132650
+ const sourceAndCodeElement = $$1('span');
132646
132651
  if (source) {
132647
- const sourceElement = append$1(sourceAndCodeElement, $$2('span'));
132652
+ const sourceElement = append$1(sourceAndCodeElement, $$1('span'));
132648
132653
  sourceElement.innerText = source;
132649
132654
  }
132650
- const codeLink = append$1(sourceAndCodeElement, $$2('a.code-link'));
132655
+ const codeLink = append$1(sourceAndCodeElement, $$1('a.code-link'));
132651
132656
  codeLink.setAttribute('href', code.target.toString());
132652
132657
  disposables.add(addDisposableListener(codeLink, 'click', (e) => {
132653
132658
  this._openerService.open(code.target, { allowCommands: true });
132654
132659
  e.preventDefault();
132655
132660
  e.stopPropagation();
132656
132661
  }));
132657
- const codeElement = append$1(codeLink, $$2('span'));
132662
+ const codeElement = append$1(codeLink, $$1('span'));
132658
132663
  codeElement.innerText = code.value;
132659
132664
  const detailsElement = append$1(markerElement, sourceAndCodeElement);
132660
132665
  detailsElement.style.opacity = '0.6';
132661
132666
  detailsElement.style.paddingLeft = '6px';
132662
132667
  }
132663
132668
  else {
132664
- const detailsElement = append$1(markerElement, $$2('span'));
132669
+ const detailsElement = append$1(markerElement, $$1('span'));
132665
132670
  detailsElement.style.opacity = '0.6';
132666
132671
  detailsElement.style.paddingLeft = '6px';
132667
132672
  detailsElement.innerText = source && code ? `${source}(${code})` : source ? source : `(${code})`;
@@ -132669,9 +132674,9 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
132669
132674
  }
132670
132675
  if (isNonEmptyArray(relatedInformation)) {
132671
132676
  for (const { message, resource, startLineNumber, startColumn } of relatedInformation) {
132672
- const relatedInfoContainer = append$1(markerElement, $$2('div'));
132677
+ const relatedInfoContainer = append$1(markerElement, $$1('div'));
132673
132678
  relatedInfoContainer.style.marginTop = '8px';
132674
- const a = append$1(relatedInfoContainer, $$2('a'));
132679
+ const a = append$1(relatedInfoContainer, $$1('a'));
132675
132680
  a.innerText = `${basename(resource)}(${startLineNumber}, ${startColumn}): `;
132676
132681
  a.style.cursor = 'pointer';
132677
132682
  disposables.add(addDisposableListener(a, 'click', (e) => {
@@ -132684,7 +132689,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
132684
132689
  }).catch(onUnexpectedError);
132685
132690
  }
132686
132691
  }));
132687
- const messageElement = append$1(relatedInfoContainer, $$2('span'));
132692
+ const messageElement = append$1(relatedInfoContainer, $$1('span'));
132688
132693
  messageElement.innerText = message;
132689
132694
  this._editor.applyFontInfo(messageElement);
132690
132695
  }
@@ -132705,7 +132710,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
132705
132710
  });
132706
132711
  }
132707
132712
  if (!this._editor.getOption(90 /* EditorOption.readOnly */)) {
132708
- const quickfixPlaceholderElement = context.statusBar.append($$2('div'));
132713
+ const quickfixPlaceholderElement = context.statusBar.append($$1('div'));
132709
132714
  if (this.recentMarkerCodeActionsInfo) {
132710
132715
  if (IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === IMarkerData.makeKey(markerHover.marker)) {
132711
132716
  if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
@@ -135793,10 +135798,10 @@ class InlineProgressWidget extends Disposable {
135793
135798
  this.editor.layoutContentWidget(this);
135794
135799
  }
135795
135800
  create(title) {
135796
- this.domNode = $$e('.inline-progress-widget');
135801
+ this.domNode = $$d('.inline-progress-widget');
135797
135802
  this.domNode.role = 'button';
135798
135803
  this.domNode.title = title;
135799
- const iconElement = $$e('span.icon');
135804
+ const iconElement = $$d('span.icon');
135800
135805
  this.domNode.append(iconElement);
135801
135806
  iconElement.classList.add(...ThemeIcon.asClassNameArray(Codicon.loading), 'codicon-modifier-spin');
135802
135807
  const updateSize = () => {
@@ -135928,7 +135933,7 @@ let PostEditWidget = PostEditWidget_1 = class PostEditWidget extends Disposable
135928
135933
  this.button.element.title = this.showCommand.label + (binding ? ` (${binding})` : '');
135929
135934
  }
135930
135935
  create() {
135931
- this.domNode = $$e('.post-edit-widget');
135936
+ this.domNode = $$d('.post-edit-widget');
135932
135937
  this.button = this._register(new Button(this.domNode, {
135933
135938
  supportIcons: true,
135934
135939
  }));
@@ -149597,7 +149602,7 @@ let SuggestWidgetStatus = class SuggestWidgetStatus {
149597
149602
  this._menuService = _menuService;
149598
149603
  this._contextKeyService = _contextKeyService;
149599
149604
  this._menuDisposables = new DisposableStore();
149600
- this.element = append$1(container, $$e('.suggest-status-bar'));
149605
+ this.element = append$1(container, $$d('.suggest-status-bar'));
149601
149606
  const actionViewItemProvider = (action => {
149602
149607
  return action instanceof MenuItemAction ? instantiationService.createInstance(StatusBarViewItem, action, undefined) : undefined;
149603
149608
  });
@@ -149670,20 +149675,20 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
149670
149675
  this._renderDisposeable = new DisposableStore();
149671
149676
  this._borderWidth = 1;
149672
149677
  this._size = new Dimension(330, 0);
149673
- this.domNode = $$e('.suggest-details');
149678
+ this.domNode = $$d('.suggest-details');
149674
149679
  this.domNode.classList.add('no-docs');
149675
149680
  this._markdownRenderer = instaService.createInstance(MarkdownRenderer, { editor: _editor });
149676
- this._body = $$e('.body');
149681
+ this._body = $$d('.body');
149677
149682
  this._scrollbar = new DomScrollableElement(this._body, {
149678
149683
  alwaysConsumeMouseWheel: true,
149679
149684
  });
149680
149685
  append$1(this.domNode, this._scrollbar.getDomNode());
149681
149686
  this._disposables.add(this._scrollbar);
149682
- this._header = append$1(this._body, $$e('.header'));
149683
- this._close = append$1(this._header, $$e('span' + ThemeIcon.asCSSSelector(Codicon.close)));
149687
+ this._header = append$1(this._body, $$d('.header'));
149688
+ this._close = append$1(this._header, $$d('span' + ThemeIcon.asCSSSelector(Codicon.close)));
149684
149689
  this._close.title = localize('details.close', "Close");
149685
- this._type = append$1(this._header, $$e('p.type'));
149686
- this._docs = append$1(this._body, $$e('p.docs'));
149690
+ this._type = append$1(this._header, $$d('p.type'));
149691
+ this._docs = append$1(this._body, $$d('p.docs'));
149687
149692
  this._configureFont();
149688
149693
  this._disposables.add(this._editor.onDidChangeConfiguration(e => {
149689
149694
  if (e.hasChanged(50 /* EditorOption.fontInfo */)) {
@@ -150171,19 +150176,19 @@ let ItemRenderer = class ItemRenderer {
150171
150176
  const disposables = new DisposableStore();
150172
150177
  const root = container;
150173
150178
  root.classList.add('show-file-icons');
150174
- const icon = append$1(container, $$e('.icon'));
150175
- const colorspan = append$1(icon, $$e('span.colorspan'));
150176
- const text = append$1(container, $$e('.contents'));
150177
- const main = append$1(text, $$e('.main'));
150178
- const iconContainer = append$1(main, $$e('.icon-label.codicon'));
150179
- const left = append$1(main, $$e('span.left'));
150180
- const right = append$1(main, $$e('span.right'));
150179
+ const icon = append$1(container, $$d('.icon'));
150180
+ const colorspan = append$1(icon, $$d('span.colorspan'));
150181
+ const text = append$1(container, $$d('.contents'));
150182
+ const main = append$1(text, $$d('.main'));
150183
+ const iconContainer = append$1(main, $$d('.icon-label.codicon'));
150184
+ const left = append$1(main, $$d('span.left'));
150185
+ const right = append$1(main, $$d('span.right'));
150181
150186
  const iconLabel = new IconLabel(left, { supportHighlights: true, supportIcons: true });
150182
150187
  disposables.add(iconLabel);
150183
- const parametersLabel = append$1(left, $$e('span.signature-label'));
150184
- const qualifierLabel = append$1(left, $$e('span.qualifier-label'));
150185
- const detailsLabel = append$1(right, $$e('span.details-label'));
150186
- const readMore = append$1(right, $$e('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
150188
+ const parametersLabel = append$1(left, $$d('span.signature-label'));
150189
+ const qualifierLabel = append$1(left, $$d('span.qualifier-label'));
150190
+ const detailsLabel = append$1(right, $$d('span.details-label'));
150191
+ const readMore = append$1(right, $$d('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
150187
150192
  readMore.title = localize('readMore', "Read More");
150188
150193
  const configureFont = () => {
150189
150194
  const options = this._editor.getOptions();
@@ -150428,8 +150433,8 @@ let SuggestWidget = SuggestWidget_1 = class SuggestWidget {
150428
150433
  this._contentWidget.unlockPreference();
150429
150434
  state = undefined;
150430
150435
  }));
150431
- this._messageElement = append$1(this.element.domNode, $$e('.message'));
150432
- this._listElement = append$1(this.element.domNode, $$e('.tree'));
150436
+ this._messageElement = append$1(this.element.domNode, $$d('.message'));
150437
+ this._listElement = append$1(this.element.domNode, $$d('.tree'));
150433
150438
  const details = this._disposables.add(instantiationService.createInstance(SuggestDetailsWidget, this.editor));
150434
150439
  details.onDidClose(this.toggleDetails, this, this._disposables);
150435
150440
  this._details = new SuggestDetailsOverlay(details, this.editor);
@@ -152669,7 +152674,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
152669
152674
  return disposableStore;
152670
152675
  }
152671
152676
  renderScreenReaderText(context, part, disposableStore) {
152672
- const $ = $$e;
152677
+ const $ = $$d;
152673
152678
  const markdownHoverElement = $('div.hover-row.markdown-hover');
152674
152679
  const hoverContentsElement = append$1(markdownHoverElement, $('div.hover-contents', { ['aria-live']: 'assertive' }));
152675
152680
  const renderer = disposableStore.add(new MarkdownRenderer({ editor: this._editor }, this._languageService, this._openerService));
@@ -158341,7 +158346,7 @@ var __param$n = (undefined && undefined.__param) || function (paramIndex, decora
158341
158346
  return function (target, key) { decorator(target, key, paramIndex); }
158342
158347
  };
158343
158348
  var ParameterHintsWidget_1;
158344
- const $$1 = $$e;
158349
+ const $ = $$d;
158345
158350
  const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, localize('parameterHintsNextIcon', 'Icon for show next parameter hint.'));
158346
158351
  const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, localize('parameterHintsPreviousIcon', 'Icon for show previous parameter hint.'));
158347
158352
  let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget extends Disposable {
@@ -158359,13 +158364,13 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158359
158364
  this.keyMultipleSignatures = Context.MultipleSignatures.bindTo(contextKeyService);
158360
158365
  }
158361
158366
  createParameterHintDOMNodes() {
158362
- const element = $$1('.editor-widget.parameter-hints-widget');
158363
- const wrapper = append$1(element, $$1('.phwrapper'));
158367
+ const element = $('.editor-widget.parameter-hints-widget');
158368
+ const wrapper = append$1(element, $('.phwrapper'));
158364
158369
  wrapper.tabIndex = -1;
158365
- const controls = append$1(wrapper, $$1('.controls'));
158366
- const previous = append$1(controls, $$1('.button' + ThemeIcon.asCSSSelector(parameterHintsPreviousIcon)));
158367
- const overloads = append$1(controls, $$1('.overloads'));
158368
- const next = append$1(controls, $$1('.button' + ThemeIcon.asCSSSelector(parameterHintsNextIcon)));
158370
+ const controls = append$1(wrapper, $('.controls'));
158371
+ const previous = append$1(controls, $('.button' + ThemeIcon.asCSSSelector(parameterHintsPreviousIcon)));
158372
+ const overloads = append$1(controls, $('.overloads'));
158373
+ const next = append$1(controls, $('.button' + ThemeIcon.asCSSSelector(parameterHintsNextIcon)));
158369
158374
  this._register(addDisposableListener(previous, 'click', e => {
158370
158375
  EventHelper.stop(e);
158371
158376
  this.previous();
@@ -158374,14 +158379,14 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158374
158379
  EventHelper.stop(e);
158375
158380
  this.next();
158376
158381
  }));
158377
- const body = $$1('.body');
158382
+ const body = $('.body');
158378
158383
  const scrollbar = new DomScrollableElement(body, {
158379
158384
  alwaysConsumeMouseWheel: true,
158380
158385
  });
158381
158386
  this._register(scrollbar);
158382
158387
  wrapper.appendChild(scrollbar.getDomNode());
158383
- const signature = append$1(body, $$1('.signature'));
158384
- const docs = append$1(body, $$1('.docs'));
158388
+ const signature = append$1(body, $('.signature'));
158389
+ const docs = append$1(body, $('.docs'));
158385
158390
  element.style.userSelect = 'text';
158386
158391
  this.domNodes = {
158387
158392
  element,
@@ -158461,14 +158466,14 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158461
158466
  if (!signature) {
158462
158467
  return;
158463
158468
  }
158464
- const code = append$1(this.domNodes.signature, $$1('.code'));
158469
+ const code = append$1(this.domNodes.signature, $('.code'));
158465
158470
  const fontInfo = this.editor.getOption(50 /* EditorOption.fontInfo */);
158466
158471
  code.style.fontSize = `${fontInfo.fontSize}px`;
158467
158472
  code.style.fontFamily = fontInfo.fontFamily;
158468
158473
  const hasParameters = signature.parameters.length > 0;
158469
158474
  const activeParameterIndex = (_a = signature.activeParameter) !== null && _a !== void 0 ? _a : hints.activeParameter;
158470
158475
  if (!hasParameters) {
158471
- const label = append$1(code, $$1('span'));
158476
+ const label = append$1(code, $('span'));
158472
158477
  label.textContent = signature.label;
158473
158478
  }
158474
158479
  else {
@@ -158476,7 +158481,7 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158476
158481
  }
158477
158482
  const activeParameter = signature.parameters[activeParameterIndex];
158478
158483
  if (activeParameter === null || activeParameter === void 0 ? void 0 : activeParameter.documentation) {
158479
- const documentation = $$1('span.documentation');
158484
+ const documentation = $('span.documentation');
158480
158485
  if (typeof activeParameter.documentation === 'string') {
158481
158486
  documentation.textContent = activeParameter.documentation;
158482
158487
  }
@@ -158484,11 +158489,11 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158484
158489
  const renderedContents = this.renderMarkdownDocs(activeParameter.documentation);
158485
158490
  documentation.appendChild(renderedContents.element);
158486
158491
  }
158487
- append$1(this.domNodes.docs, $$1('p', {}, documentation));
158492
+ append$1(this.domNodes.docs, $('p', {}, documentation));
158488
158493
  }
158489
158494
  if (signature.documentation === undefined) ;
158490
158495
  else if (typeof signature.documentation === 'string') {
158491
- append$1(this.domNodes.docs, $$1('p', {}, signature.documentation));
158496
+ append$1(this.domNodes.docs, $('p', {}, signature.documentation));
158492
158497
  }
158493
158498
  else {
158494
158499
  const renderedContents = this.renderMarkdownDocs(signature.documentation);
@@ -162171,7 +162176,7 @@ let Link = class Link extends Disposable {
162171
162176
  super();
162172
162177
  this._link = _link;
162173
162178
  this._enabled = true;
162174
- this.el = append$1(container, $$e('a.monaco-link', {
162179
+ this.el = append$1(container, $$d('a.monaco-link', {
162175
162180
  tabIndex: (_a = _link.tabIndex) !== null && _a !== void 0 ? _a : 0,
162176
162181
  href: _link.href,
162177
162182
  title: _link.title
@@ -162245,7 +162250,7 @@ let Banner = class Banner extends Disposable {
162245
162250
  super();
162246
162251
  this.instantiationService = instantiationService;
162247
162252
  this.markdownRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
162248
- this.element = $$e('div.editor-banner');
162253
+ this.element = $$d('div.editor-banner');
162249
162254
  this.element.tabIndex = 0;
162250
162255
  }
162251
162256
  getAriaLabel(item) {
@@ -162259,7 +162264,7 @@ let Banner = class Banner extends Disposable {
162259
162264
  }
162260
162265
  getBannerMessage(message) {
162261
162266
  if (typeof message === 'string') {
162262
- const element = $$e('span');
162267
+ const element = $$d('span');
162263
162268
  element.innerText = message;
162264
162269
  return element;
162265
162270
  }
@@ -162277,24 +162282,24 @@ let Banner = class Banner extends Disposable {
162277
162282
  this.element.setAttribute('aria-label', ariaLabel);
162278
162283
  }
162279
162284
  // Icon
162280
- const iconContainer = append$1(this.element, $$e('div.icon-container'));
162285
+ const iconContainer = append$1(this.element, $$d('div.icon-container'));
162281
162286
  iconContainer.setAttribute('aria-hidden', 'true');
162282
162287
  if (item.icon) {
162283
- iconContainer.appendChild($$e(`div${ThemeIcon.asCSSSelector(item.icon)}`));
162288
+ iconContainer.appendChild($$d(`div${ThemeIcon.asCSSSelector(item.icon)}`));
162284
162289
  }
162285
162290
  // Message
162286
- const messageContainer = append$1(this.element, $$e('div.message-container'));
162291
+ const messageContainer = append$1(this.element, $$d('div.message-container'));
162287
162292
  messageContainer.setAttribute('aria-hidden', 'true');
162288
162293
  messageContainer.appendChild(this.getBannerMessage(item.message));
162289
162294
  // Message Actions
162290
- this.messageActionsContainer = append$1(this.element, $$e('div.message-actions-container'));
162295
+ this.messageActionsContainer = append$1(this.element, $$d('div.message-actions-container'));
162291
162296
  if (item.actions) {
162292
162297
  for (const action of item.actions) {
162293
162298
  this._register(this.instantiationService.createInstance(Link, this.messageActionsContainer, { ...action, tabIndex: -1 }, {}));
162294
162299
  }
162295
162300
  }
162296
162301
  // Action
162297
- const actionBarContainer = append$1(this.element, $$e('div.action-container'));
162302
+ const actionBarContainer = append$1(this.element, $$d('div.action-container'));
162298
162303
  this.actionBar = this._register(new ActionBar(actionBarContainer));
162299
162304
  this.actionBar.push(this._register(new Action('banner.close', 'Close Banner', ThemeIcon.asClassName(widgetClose), true, () => {
162300
162305
  if (typeof item.onClose === 'function') {
@@ -164607,13 +164612,13 @@ class InspectTokensWidget extends Disposable {
164607
164612
  const tokenEndIndex = token1Index + 1 < data.tokens1.length ? data.tokens1[token1Index + 1].offset : lineContent.length;
164608
164613
  tokenText = lineContent.substring(tokenStartIndex, tokenEndIndex);
164609
164614
  }
164610
- reset(this._domNode, $$e('h2.tm-token', undefined, renderTokenText(tokenText), $$e('span.tm-token-length', undefined, `${tokenText.length} ${tokenText.length === 1 ? 'char' : 'chars'}`)));
164611
- append$1(this._domNode, $$e('hr.tokens-inspect-separator', { 'style': 'clear:both' }));
164615
+ reset(this._domNode, $$d('h2.tm-token', undefined, renderTokenText(tokenText), $$d('span.tm-token-length', undefined, `${tokenText.length} ${tokenText.length === 1 ? 'char' : 'chars'}`)));
164616
+ append$1(this._domNode, $$d('hr.tokens-inspect-separator', { 'style': 'clear:both' }));
164612
164617
  const metadata = (token2Index << 1) + 1 < data.tokens2.length ? this._decodeMetadata(data.tokens2[(token2Index << 1) + 1]) : null;
164613
- append$1(this._domNode, $$e('table.tm-metadata-table', undefined, $$e('tbody', undefined, $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'language'), $$e('td.tm-metadata-value', undefined, `${metadata ? metadata.languageId : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'token type'), $$e('td.tm-metadata-value', undefined, `${metadata ? this._tokenTypeToString(metadata.tokenType) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'font style'), $$e('td.tm-metadata-value', undefined, `${metadata ? this._fontStyleToString(metadata.fontStyle) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'foreground'), $$e('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.foreground) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'background'), $$e('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.background) : '-?-'}`)))));
164614
- append$1(this._domNode, $$e('hr.tokens-inspect-separator'));
164618
+ append$1(this._domNode, $$d('table.tm-metadata-table', undefined, $$d('tbody', undefined, $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'language'), $$d('td.tm-metadata-value', undefined, `${metadata ? metadata.languageId : '-?-'}`)), $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'token type'), $$d('td.tm-metadata-value', undefined, `${metadata ? this._tokenTypeToString(metadata.tokenType) : '-?-'}`)), $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'font style'), $$d('td.tm-metadata-value', undefined, `${metadata ? this._fontStyleToString(metadata.fontStyle) : '-?-'}`)), $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'foreground'), $$d('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.foreground) : '-?-'}`)), $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'background'), $$d('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.background) : '-?-'}`)))));
164619
+ append$1(this._domNode, $$d('hr.tokens-inspect-separator'));
164615
164620
  if (token1Index < data.tokens1.length) {
164616
- append$1(this._domNode, $$e('span.tm-token-type', undefined, data.tokens1[token1Index].type));
164621
+ append$1(this._domNode, $$d('span.tm-token-type', undefined, data.tokens1[token1Index].type));
164617
164622
  }
164618
164623
  this._editor.layoutContentWidget(this);
164619
164624
  }
@@ -169032,6 +169037,13 @@ function isQueryableLayerInstance(item) {
169032
169037
  "queryFeatures" in item &&
169033
169038
  typeof item.queryFeatures === "function");
169034
169039
  }
169040
+ function isSubtypeSublayerInstance(item) {
169041
+ return (!!item &&
169042
+ typeof item === "object" &&
169043
+ "declaredClass" in item &&
169044
+ typeof item.declaredClass === "string" &&
169045
+ item.declaredClass === "esri.layers.support.SubtypeSublayer");
169046
+ }
169035
169047
  function isGroupLayerInstance(item) {
169036
169048
  return (!!item &&
169037
169049
  typeof item === "object" &&
@@ -169058,6 +169070,24 @@ function isFieldsDefinition(item) {
169058
169070
  function isUrlDefinition(item) {
169059
169071
  return (!!item && typeof item === "object" && "url" in item && typeof item.url === "string" && !("declaredClass" in item));
169060
169072
  }
169073
+ function isSubtypeInstance(item) {
169074
+ return (!!item &&
169075
+ typeof item === "object" &&
169076
+ "declaredClass" in item &&
169077
+ item.declaredClass === "esri.layers.support.Subtype");
169078
+ }
169079
+ function isCodedValueDomainInstance(item) {
169080
+ return (!!item &&
169081
+ typeof item === "object" &&
169082
+ "declaredClass" in item &&
169083
+ item.declaredClass === "esri.layers.support.CodedValueDomain");
169084
+ }
169085
+ function isInheritedDomainInstance(item) {
169086
+ return (!!item &&
169087
+ typeof item === "object" &&
169088
+ "declaredClass" in item &&
169089
+ item.declaredClass === "esri.layers.support.InheritedDomain");
169090
+ }
169061
169091
  function isPredefinedProfile(item) {
169062
169092
  return (!!item &&
169063
169093
  typeof item === "object" &&
@@ -169068,7 +169098,7 @@ function isPredefinedProfile(item) {
169068
169098
  !Array.isArray(item.definitions));
169069
169099
  }
169070
169100
 
169071
- var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function y(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function T(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)y(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function x(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function $(e){let t=x(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return x(e,`[${t}]`)?.getAttribute(t)??n}function S(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!S(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function j(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function F(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function C(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,M=new WeakMap;async function W(e,t,n){m.set(e,t),p.set(e,T(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function B(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=C(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=M.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),u=`${s}/${i}/t9n`,l=`${i}.t9n.`;o=await N(r,u,l);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function q(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,u,l,g)=>u+l+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,u,l,g)=>u+l+L(`\\${t}`,g.length)),t+e+t}function Q(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function D(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function G(e){return `\u200E${e??""}\u200E`}function V(e){return e!==null}function X(e){return e!==void 0}function te(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function ne(e){try{return new URL(e),!0}catch{return !1}}
169101
+ var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function S(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function O(e){let t=T(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}function M(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function U(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function z(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function R(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function H(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function q(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=R(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await N(r,l,u);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function D(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,l,u,g)=>l+u+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,l,u,g)=>l+u+L(`\\${t}`,g.length)),t+e+t}function G(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function I(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function J(e){return `\u200E${e??""}\u200E`}function Z(e){return e!==null}function ee(e){return e!==void 0}function oe(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function se(e){try{return new URL(e),!0}catch{return !1}}
169072
169102
 
169073
169103
  /**
169074
169104
  * Filters a collection of items by the given keys and filter word.
@@ -169081,7 +169111,7 @@ function filterCollection(collection, keys, filterWord, beforeFilteringFn) {
169081
169111
  if (!_keys.length) {
169082
169112
  return [];
169083
169113
  }
169084
- const filterExpression = Q(filterWord);
169114
+ const filterExpression = G(filterWord);
169085
169115
  return collection.filter((item) => {
169086
169116
  if (beforeFilteringFn) {
169087
169117
  const res = beforeFilteringFn(item);
@@ -169185,29 +169215,29 @@ function supportedFields(fields) {
169185
169215
  });
169186
169216
  }
169187
169217
 
169188
- function resolveIntlPath(dictionary, path) {
169189
- if (!dictionary) {
169190
- return "";
169191
- }
169192
- const pathSegments = path.split(".");
169193
- let pathSegment = pathSegments.shift();
169194
- let entry = dictionary;
169195
- while (entry && pathSegment) {
169196
- // @ts-expect-error
169197
- entry = entry[pathSegment];
169198
- pathSegment = pathSegments.shift();
169199
- }
169200
- return typeof entry === "string" ? entry : path;
169218
+ function isTitleCapableSource(item) {
169219
+ return !!item && typeof item === "object" && "title" in item && typeof item.title === "string";
169201
169220
  }
169202
- function isTypesCapabaleLayer(item) {
169203
- return !!item && typeof item === "object" && "typeIdField" in item;
169221
+ function isUrlCapableSource(item) {
169222
+ return !!item && typeof item === "object" && "url" in item && typeof item.url === "string";
169223
+ }
169224
+ function isLayerIdCapableSource(item) {
169225
+ return !!item && typeof item === "object" && "layerId" in item && typeof item.layerId === "number";
169226
+ }
169227
+ function isFeatureTypesCapableLayer(item) {
169228
+ return !!item && typeof item === "object" && "typeIdField" in item && "types" in item;
169204
169229
  }
169205
169230
  function isDomainsCapableLayer(item) {
169206
169231
  return !!item && typeof item === "object" && "getFieldDomain" in item && typeof item.getFieldDomain === "function";
169207
169232
  }
169233
+ function isSubtypeFieldCapableLayer(item) {
169234
+ return !!item && typeof item === "object" && "subtypeField" in item;
169235
+ }
169236
+ function isSubtypesCapableLayer(item) {
169237
+ return isSubtypeFieldCapableLayer(item) && "subtypes" in item;
169238
+ }
169208
169239
  function isRelationshipsCapableLayer(item) {
169209
- return (!!item &&
169210
- typeof item === "object" &&
169240
+ return (isLayerIdCapableSource(item) &&
169211
169241
  "relationships" in item &&
169212
169242
  "url" in item &&
169213
169243
  Array.isArray(item.relationships) &&
@@ -169234,7 +169264,23 @@ function sortFields(layer) {
169234
169264
  if (secondField.type === "oid") {
169235
169265
  return 1;
169236
169266
  }
169237
- if (isTypesCapabaleLayer(layer)) {
169267
+ if (isSubtypeSublayerInstance(layer)) {
169268
+ if (firstField.name === layer.parent.subtypeField) {
169269
+ return -1;
169270
+ }
169271
+ if (secondField.name === layer.parent.subtypeField) {
169272
+ return 1;
169273
+ }
169274
+ }
169275
+ if (isSubtypeFieldCapableLayer(layer)) {
169276
+ if (firstField.name === layer.subtypeField) {
169277
+ return -1;
169278
+ }
169279
+ if (secondField.name === layer.subtypeField) {
169280
+ return 1;
169281
+ }
169282
+ }
169283
+ if (isFeatureTypesCapableLayer(layer)) {
169238
169284
  if (firstField.name === layer.typeIdField) {
169239
169285
  return -1;
169240
169286
  }
@@ -169245,20 +169291,19 @@ function sortFields(layer) {
169245
169291
  return firstField.name.localeCompare(secondField.name, "en", { sensitivity: "base" });
169246
169292
  };
169247
169293
  }
169248
- function getSubtypesProperties(profile, types, field) {
169294
+ function getTypeOrSubtypeDomainGroup(profile, types, field) {
169249
169295
  // Try the coded domain first
169250
- const group = getDomainValuesProperties(profile, field.domain, { code: "subtypes" });
169251
- if (group) {
169252
- return group;
169253
- }
169254
- // No coded domain for the subtypes, we will manufacture it
169255
- const values = types.map((t) => new ValueVariable({ profile, label: `${t.id}`, description: t.name, snippet: `"${t.id}"` }));
169296
+ if (isCodedValueDomainInstance(field.domain)) {
169297
+ return getCodedValueDomainGroup(profile, field.domain, { code: "subtypes" });
169298
+ }
169299
+ // No coded domain, we will manufacture it
169300
+ const values = types?.map((t) => {
169301
+ const label = isSubtypeInstance(t) ? t.code : t.id;
169302
+ return new ValueVariable({ profile, label: `${label}`, description: t.name, snippet: `"${label}"` });
169303
+ }) ?? [];
169256
169304
  return new GroupOfVariables(profile, { code: "subtypes" }, values);
169257
169305
  }
169258
- function getDomainValuesProperties(profile, domain, label) {
169259
- if (!domain || domain.type !== "coded-value") {
169260
- return null;
169261
- }
169306
+ function getCodedValueDomainGroup(profile, domain, label) {
169262
169307
  const values = domain.codedValues.map((v) => new ValueVariable({
169263
169308
  profile,
169264
169309
  label: `${v.code}`,
@@ -169268,29 +169313,33 @@ function getDomainValuesProperties(profile, domain, label) {
169268
169313
  }));
169269
169314
  return new GroupOfVariables(profile, label, values);
169270
169315
  }
169271
- function getDomainValuesBySubtypeGroup(profile, types, field) {
169316
+ function getDomainValuesGroup(profile, types, field) {
169272
169317
  const variables = [];
169273
- types.forEach((t) => {
169274
- let domain = t.domains[field.name];
169318
+ if (!types || types.length === 0) {
169319
+ return null;
169320
+ }
169321
+ types.forEach((type) => {
169322
+ let domain = type.domains[field.name];
169275
169323
  if (!domain) {
169276
169324
  return;
169277
169325
  }
169278
- if (domain.type === "inherited") {
169326
+ if (isInheritedDomainInstance(domain)) {
169279
169327
  domain = field.domain;
169280
169328
  return;
169281
169329
  }
169282
- const domainValuesGroup = getDomainValuesProperties(profile, domain, {
169330
+ if (!isCodedValueDomainInstance(domain)) {
169331
+ return;
169332
+ }
169333
+ const domainValuesGroup = getCodedValueDomainGroup(profile, domain, {
169283
169334
  code: "domainvaluesfortypeformat",
169284
169335
  formatValues: {
169285
169336
  fieldName: field.alias ?? field.name,
169286
- typeName: t.name
169337
+ typeName: type.name
169287
169338
  }
169288
169339
  });
169289
- if (!domainValuesGroup) {
169290
- return;
169291
- }
169292
- const label = `${t.id}`;
169293
- const snippet = `"${t.id}""`;
169340
+ const id = isSubtypeInstance(type) ? type.code : type.id;
169341
+ const label = `${id}`;
169342
+ const snippet = `"${id}""`;
169294
169343
  const subtypeDictionary = new DictionaryVariable({ profile, label, snippet });
169295
169344
  subtypeDictionary.variables = [domainValuesGroup];
169296
169345
  variables.push(subtypeDictionary);
@@ -169300,6 +169349,9 @@ function getDomainValuesBySubtypeGroup(profile, types, field) {
169300
169349
  }
169301
169350
  return new GroupOfVariables(profile, { code: "domainvaluesbysubtypes" }, variables);
169302
169351
  }
169352
+ function areAllDomainsInherited(types, field) {
169353
+ return types?.every((type) => type.domains[field.name]?.type === "inherited") ?? false;
169354
+ }
169303
169355
  // const validIdentifierExpr = new RegExp(/^[a-z_$][\w$]*$/gi);
169304
169356
  const validIdentifierExpr = /^[a-z_$][a-z0-9_$]*$/giu;
169305
169357
  function getMemberExpressionProperty(prop, includeDot = true) {
@@ -169362,10 +169414,7 @@ function filterFeatureLayerInfos(layers, queryCapability) {
169362
169414
  //#endregion
169363
169415
  //#region Functions to Editor Variables to a language service variables
169364
169416
  async function variablesToLSVariable(editorVariables, kind = main.CompletionItemKind.Variable) {
169365
- if (!editorVariables) {
169366
- return [];
169367
- }
169368
- const properties = await Promise.all(editorVariables.map(async (editorVariable) => {
169417
+ return await Promise.all(editorVariables.map(async (editorVariable) => {
169369
169418
  switch (editorVariable.type) {
169370
169419
  case "dictionary":
169371
169420
  return await dictionaryToLSDictionary(editorVariable, kind);
@@ -169375,7 +169424,6 @@ async function variablesToLSVariable(editorVariables, kind = main.CompletionItem
169375
169424
  return variableToLSVariable(editorVariable, kind);
169376
169425
  }
169377
169426
  }));
169378
- return properties.filter((p) => p);
169379
169427
  }
169380
169428
  function variableToLSVariable(editorVariable, kind) {
169381
169429
  const { name, type } = editorVariable;
@@ -169493,7 +169541,7 @@ async function dictionaryToLSDictionary(editorDictionary, kind) {
169493
169541
  previous += ` \n${description}`;
169494
169542
  }
169495
169543
  return previous;
169496
- }, description ?? "");
169544
+ }, description);
169497
169545
  return {
169498
169546
  name,
169499
169547
  description,
@@ -169534,9 +169582,9 @@ class ProfileItemBase {
169534
169582
  // If the component is under RTL, the string is messed up.
169535
169583
  // It is converted from $feature to feature$, This is not acceptable since the label
169536
169584
  // represents a variable name. We are adding in front of the $ sign a right to left mark.
169537
- return G(this._label);
169585
+ return J(this._label);
169538
169586
  }
169539
- return D(this._profile?.intlStrings[this._label.code], this._label.formatValues);
169587
+ return I(this._profile?.intlStrings[this._label.code], this._label.formatValues);
169540
169588
  }
169541
169589
  /**
169542
169590
  * Returns the description string.
@@ -169548,7 +169596,7 @@ class ProfileItemBase {
169548
169596
  if (typeof this.description === "string") {
169549
169597
  return this.description;
169550
169598
  }
169551
- return D(this._profile?.intlStrings[this.description.code ?? ""], this.description.formatValues);
169599
+ return I(this._profile?.intlStrings[this.description.code], this.description.formatValues);
169552
169600
  }
169553
169601
  /**
169554
169602
  * Returns true if the item pass the filter test
@@ -169571,7 +169619,7 @@ class VariableBase extends ProfileItemBase {
169571
169619
  super(props.profile, props.label, props.description ?? props.declaration?.description);
169572
169620
  this.declaration = props.declaration ?? {};
169573
169621
  this.name = props.declaration?.name ?? "";
169574
- this.snippet = props.snippet || "";
169622
+ this.snippet = props.snippet ?? "";
169575
169623
  this.nonInteractive = props.nonInteractive ?? false;
169576
169624
  this.filterDescription = props.filterDescription ?? false;
169577
169625
  this.icon = props.icon;
@@ -169589,7 +169637,7 @@ class ValueVariable extends VariableBase {
169589
169637
  }
169590
169638
  getDescription() {
169591
169639
  if (this.description == null) {
169592
- return resolveIntlPath(this._profile?.intlStrings, this.type.toLowerCase()) ?? "";
169640
+ return this._profile?.intlStrings[this.type.toLowerCase()] ?? "";
169593
169641
  }
169594
169642
  return super.getDescription();
169595
169643
  }
@@ -169610,7 +169658,7 @@ class ArrayVariable extends VariableBase {
169610
169658
  }
169611
169659
  getDescription() {
169612
169660
  if (this.description == null) {
169613
- return resolveIntlPath(this._profile?.intlStrings, this.type.toLowerCase()) ?? "";
169661
+ return this._profile?.intlStrings[this.type.toLowerCase()] ?? "";
169614
169662
  }
169615
169663
  return super.getDescription();
169616
169664
  }
@@ -169625,8 +169673,8 @@ class ArrayVariable extends VariableBase {
169625
169673
  * collection is ready or not.
169626
169674
  */
169627
169675
  class CollectionBasedVariable extends VariableBase {
169628
- constructor(props) {
169629
- super(props);
169676
+ constructor() {
169677
+ super(...arguments);
169630
169678
  this.isCollection = true;
169631
169679
  this._loaded = true;
169632
169680
  /**
@@ -169762,42 +169810,53 @@ class SourceBasedVariable extends CollectionBasedVariable {
169762
169810
  this._definition = props.declaration?.definition;
169763
169811
  }
169764
169812
  get title() {
169765
- return this._source?.title ?? "";
169813
+ return isTitleCapableSource(this._source) ? this._source.title : "";
169766
169814
  }
169767
169815
  get url() {
169768
- return this._definition?.url ?? "";
169816
+ return isUrlCapableSource(this._source) ? this._source.url : "";
169769
169817
  }
169770
169818
  get informationUrl() {
169771
169819
  if (!this.loaded) {
169772
169820
  return null;
169773
169821
  }
169774
- const url = this._source?.url;
169775
- if (!url) {
169822
+ if (!this.url) {
169776
169823
  return null;
169777
169824
  }
169778
- const layerId = this._source?.layerId ?? "";
169779
- return `${url}/${layerId}`;
169825
+ return isLayerIdCapableSource(this._source) ? `${this.url}/${this._source.layerId}` : this.url;
169780
169826
  }
169781
169827
  get informationType() {
169782
169828
  return this._profile?.intlStrings.layer ?? "layer";
169783
169829
  }
169784
169830
  async loadSource() {
169785
- if (V(this._loadPromise) && X(this._loadPromise)) {
169831
+ if (Z(this._loadPromise) && ee(this._loadPromise)) {
169786
169832
  return await this._loadPromise;
169787
169833
  }
169788
169834
  this._loadPromise = this._loadSource();
169789
169835
  return await this._loadPromise;
169790
169836
  }
169837
+ _getValueSnippet(field) {
169838
+ // If the source is a feature, then we want to assemble the snippet ($feature) with the field name as a member expression
169839
+ return this.type === "feature" ? assembleMemberExpression(this.snippet, field.name) : field.name;
169840
+ }
169841
+ _getSubtypeOrDomainNameSnippet(field) {
169842
+ if (this.type !== "feature") {
169843
+ return null;
169844
+ }
169845
+ if (isSubtypeFieldCapableLayer(this._source) && field.name === this._source.subtypeField) {
169846
+ return `SubtypeName(${this.snippet})`;
169847
+ }
169848
+ return `DomainName(${this.snippet}, "${field.name}")`;
169849
+ }
169791
169850
  _getFieldProperty(field) {
169792
169851
  // Check if the field is the type id field or of the field has a coded domain.
169793
169852
  // If it has then the property will be an exanpdable property (dictionary).
169794
169853
  // Otherwise just return a simple value property.
169795
- const subtypesOrDomainValuesDictionary = this._getSubtypesOrDomainValuesDictionary(field);
169854
+ const subtypesOrDomainValuesDictionary = this._getDomainDictionary(field);
169796
169855
  if (subtypesOrDomainValuesDictionary) {
169797
169856
  return subtypesOrDomainValuesDictionary;
169798
169857
  }
169799
169858
  // Create the value property
169800
- const valueSnippet = this.type === "feature" ? assembleMemberExpression(this.snippet, field.name) : field.name;
169859
+ const valueSnippet = this._getValueSnippet(field);
169801
169860
  return new ValueVariable({
169802
169861
  profile: this._profile,
169803
169862
  label: valueSnippet,
@@ -169807,12 +169866,107 @@ class SourceBasedVariable extends CollectionBasedVariable {
169807
169866
  filterDescription: true
169808
169867
  });
169809
169868
  }
169810
- _getSubtypesOrDomainValuesDictionary(field) {
169869
+ _getDomainDictionary(field) {
169811
169870
  if (!isDomainsCapableLayer(this._source)) {
169812
169871
  return null;
169813
169872
  }
169814
- // Create the domain dictionary, we may not use it
169815
- const valueSnippet = this.type === "feature" ? assembleMemberExpression(this.snippet, field.name) : field.name;
169873
+ // Note we have multiple scenarios:
169874
+ // - Layers without subtypes or feature types: We will check if the field has a domain
169875
+ // - Layers with only subtypes: We will parse the subtypes metadata and create a dictionary
169876
+ // - Layers with only feature types: We will parse the feature types metadata
169877
+ // - Layers with both subtypes and feature types: we will actually use the subtypes metadata
169878
+ // Summary, we will always use the subtypes metadata if available.
169879
+ if (isSubtypeFieldCapableLayer(this._source) && !!this._source.subtypeField) {
169880
+ return this._getSubtypeDomainDictionary(field);
169881
+ }
169882
+ if (isFeatureTypesCapableLayer(this._source) && !!this._source.typeIdField) {
169883
+ return this._getFeatureTypeDomainDictionary(field);
169884
+ }
169885
+ return this._getFieldDomainDictionary(field);
169886
+ }
169887
+ _getSubtypeDomainDictionary(field) {
169888
+ // Should be tested before calling this function
169889
+ if (!isSubtypeFieldCapableLayer(this._source)) {
169890
+ return null;
169891
+ }
169892
+ // If the source has a subtype field but doesn't have subtypes, it is certainly a subtype sublayer
169893
+ if (!isSubtypesCapableLayer(this._source)) {
169894
+ // For the subtype field there is no domain
169895
+ if (field.name === this._source.subtypeField) {
169896
+ return null;
169897
+ }
169898
+ // For the other fields, we will use the getFieldDomain function
169899
+ return this._getFieldDomainDictionary(field);
169900
+ }
169901
+ // The code here shoud be executed for layers that have subtypes
169902
+ // Sepcial case for the subtype field
169903
+ if (field.name === this._source.subtypeField) {
169904
+ const domainDictionary = this._createDomainDictionary(field);
169905
+ domainDictionary.variables.push(getTypeOrSubtypeDomainGroup(this._profile, this._source.subtypes, field));
169906
+ return domainDictionary;
169907
+ }
169908
+ // Check if all the domains for the field in the types are inherited.
169909
+ // If it is we can simplify the structure by avoiding splitting in subtypes
169910
+ if (areAllDomainsInherited(this._source.subtypes, field)) {
169911
+ return this._getFieldDomainDictionary(field);
169912
+ }
169913
+ // We have domains per subtype
169914
+ // We need to go thru each types and create a dictionary.
169915
+ const domainValuesBySubtypeGroup = getDomainValuesGroup(this._profile, this._source.subtypes, field);
169916
+ if (!domainValuesBySubtypeGroup) {
169917
+ return null;
169918
+ }
169919
+ const domainDictionary = this._createDomainDictionary(field);
169920
+ domainDictionary.variables.push(domainValuesBySubtypeGroup);
169921
+ return domainDictionary;
169922
+ }
169923
+ _getFeatureTypeDomainDictionary(field) {
169924
+ // SHould be tested before calling this function
169925
+ if (!isFeatureTypesCapableLayer(this._source)) {
169926
+ return null;
169927
+ }
169928
+ // Special case for the type id field
169929
+ if (field.name === this._source.typeIdField) {
169930
+ const domainDictionary = this._createDomainDictionary(field);
169931
+ domainDictionary.variables.push(getTypeOrSubtypeDomainGroup(this._profile, this._source.types, field));
169932
+ return domainDictionary;
169933
+ }
169934
+ // Check if all the domains for the field in the types are inherited.
169935
+ // If it is we can simplify the structure by avoiding splitting in subtypes
169936
+ if (areAllDomainsInherited(this._source.types, field)) {
169937
+ return this._getFieldDomainDictionary(field);
169938
+ }
169939
+ // We have domains per feature type
169940
+ // We need to go thru each types and create a dictionary.
169941
+ const domainValuesByFeatureTypeGroup = getDomainValuesGroup(this._profile, this._source.types, field);
169942
+ if (!domainValuesByFeatureTypeGroup) {
169943
+ return null;
169944
+ }
169945
+ const domainDictionary = this._createDomainDictionary(field);
169946
+ domainDictionary.variables.push(domainValuesByFeatureTypeGroup);
169947
+ return domainDictionary;
169948
+ }
169949
+ _getFieldDomainDictionary(field) {
169950
+ // SHould be tested before calling this function
169951
+ if (!isDomainsCapableLayer(this._source)) {
169952
+ return null;
169953
+ }
169954
+ const fieldDomain = this._source.getFieldDomain(field.name);
169955
+ if (!isCodedValueDomainInstance(fieldDomain)) {
169956
+ return null;
169957
+ }
169958
+ const domainValuesGroup = getCodedValueDomainGroup(this._profile, fieldDomain, {
169959
+ code: "domainvalues"
169960
+ });
169961
+ const domainDictionary = this._createDomainDictionary(field);
169962
+ domainDictionary.variables.push(domainValuesGroup);
169963
+ return domainDictionary;
169964
+ }
169965
+ _createDomainDictionary(field) {
169966
+ // Create the domain dictionary.
169967
+ // The dictionary will have a header group and a value group.
169968
+ // At this point we are only creating the header group in the dictionary.
169969
+ const valueSnippet = this._getValueSnippet(field);
169816
169970
  const domainDictionary = new DictionaryVariable({
169817
169971
  profile: this._profile,
169818
169972
  label: valueSnippet,
@@ -169830,45 +169984,16 @@ class SourceBasedVariable extends CollectionBasedVariable {
169830
169984
  })
169831
169985
  ]);
169832
169986
  domainDictionary.variables = [headerGroup];
169833
- // If it is the subtype field then get its coded domain values
169834
- if (isTypesCapabaleLayer(this._source) && field.name === this._source.typeIdField) {
169835
- const subtypesGroup = getSubtypesProperties(this._profile, this._source.types, field);
169836
- domainDictionary.variables.push(subtypesGroup);
169837
- return domainDictionary;
169838
- }
169839
- // Since its' not the subtype field then add the snippet for the domain name
169840
- if (this.type === "feature") {
169841
- const domainNameSnippet = `DomainName(${this.snippet}, "${field.name}")`;
169987
+ // Add the SubtypeName or DomainName snippet if available
169988
+ const subtypeOrDomainNameSnippet = this._getSubtypeOrDomainNameSnippet(field);
169989
+ if (subtypeOrDomainNameSnippet) {
169842
169990
  headerGroup.variables.push(new ValueVariable({
169843
169991
  profile: this._profile,
169844
- label: domainNameSnippet,
169992
+ label: subtypeOrDomainNameSnippet,
169845
169993
  description: "",
169846
- snippet: domainNameSnippet
169994
+ snippet: subtypeOrDomainNameSnippet
169847
169995
  }));
169848
169996
  }
169849
- if (isTypesCapabaleLayer(this._source)) {
169850
- // Check if all the domains for the field in the types are inherited.
169851
- // If it is we can simplify the structure by avoiding splitting in subtypes
169852
- const allInherited = this._source.types.every((t) => t.domains[field.name].type === "inherited");
169853
- if (!allInherited) {
169854
- // We have domains per subtype
169855
- // We need to go thru each types and create a dictionary.
169856
- const domainValuesBySubtypeGroup = getDomainValuesBySubtypeGroup(this._profile, this._source.types, field);
169857
- if (!domainValuesBySubtypeGroup) {
169858
- return null;
169859
- }
169860
- domainDictionary.variables.push(domainValuesBySubtypeGroup);
169861
- return domainDictionary;
169862
- }
169863
- }
169864
- // Either we have types but all the domains are inherited or we don't have types
169865
- const domainValuesGroup = getDomainValuesProperties(this._profile, this._source.getFieldDomain(field.name), {
169866
- code: "domainvalues"
169867
- });
169868
- if (!domainValuesGroup) {
169869
- return null;
169870
- }
169871
- domainDictionary.variables.push(domainValuesGroup);
169872
169997
  return domainDictionary;
169873
169998
  }
169874
169999
  async _getRelationshipsProperty() {
@@ -169899,7 +170024,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
169899
170024
  nonInteractive: true
169900
170025
  }, [new ValueVariable({ profile: this._profile, label: snippet, description: "", snippet })], { exposeRelationships: true, sourceTableId: source.layerId });
169901
170026
  }));
169902
- relationshipsGroup.variables = relationshipItems.filter(V);
170027
+ relationshipsGroup.variables = relationshipItems.filter(Z);
169903
170028
  if (!relationshipsGroup.variables.length) {
169904
170029
  return null;
169905
170030
  }
@@ -170057,7 +170182,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170057
170182
  return this._profile?.intlStrings.featureservice ?? "featureservice";
170058
170183
  }
170059
170184
  async loadSource() {
170060
- if (V(this._loadPromise) && X(this._loadPromise)) {
170185
+ if (Z(this._loadPromise) && ee(this._loadPromise)) {
170061
170186
  return await this._loadPromise;
170062
170187
  }
170063
170188
  this._loadPromise = this._loadSource();
@@ -170078,7 +170203,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170078
170203
  : {
170079
170204
  code: "webmapformat",
170080
170205
  formatValues: {
170081
- webMapTitle: this._featureSetCollections.source.portalItem.title ?? "Untitled map"
170206
+ webMapTitle: this._featureSetCollections.source.portalItem.title || "Untitled map"
170082
170207
  }
170083
170208
  };
170084
170209
  const headerGroup = new GroupOfVariables(this._profile, groupLabel, [
@@ -170155,22 +170280,25 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170155
170280
  }
170156
170281
  }
170157
170282
  async _featureSetCollectionFromUrl(url) {
170158
- url = url.replace(/\/featureserver\/[0-9]*/iu, "/FeatureServer");
170159
- url = url.replace(/\/mapserver\/[0-9]*/iu, "/MapServer");
170160
- url = url.split("?")[0];
170161
- const metadata = await serviceMetaData(url);
170283
+ let processedUrl = url.replace(/\/featureserver\/[0-9]*/iu, "/FeatureServer");
170284
+ processedUrl = processedUrl.replace(/\/mapserver\/[0-9]*/iu, "/MapServer");
170285
+ processedUrl = processedUrl.split("?")[0];
170286
+ if (!processedUrl) {
170287
+ return null;
170288
+ }
170289
+ const metadata = await serviceMetaData(processedUrl);
170162
170290
  const layersPromise = Promise.all(metadata.layers.map(async (layerInfo) => {
170163
- const featureLayer = await newFeatureLayer({ url: `${url}/${layerInfo.id}` });
170291
+ const featureLayer = await newFeatureLayer({ url: `${processedUrl}/${layerInfo.id}` });
170164
170292
  await featureLayer.load();
170165
170293
  return this._createFeatureSetVariable(featureLayer);
170166
170294
  }));
170167
170295
  const tablesPromise = Promise.all(metadata.tables.map(async (layerInfo) => {
170168
- const table = await newFeatureLayer({ url: `${url}/${layerInfo.id}` });
170296
+ const table = await newFeatureLayer({ url: `${processedUrl}/${layerInfo.id}` });
170169
170297
  await table.load();
170170
170298
  return this._createFeatureSetVariable(table);
170171
170299
  }));
170172
170300
  const [layers, tables] = await Promise.all([layersPromise, tablesPromise]);
170173
- return { layers, tables, source: url };
170301
+ return { layers, tables, source: processedUrl };
170174
170302
  }
170175
170303
  _convertWebMapLayersToVariables(layers, filteringTables = false) {
170176
170304
  const layerVariables = [];
@@ -170305,7 +170433,7 @@ async function getSdkPredefinedProfiles(locale = "en") {
170305
170433
  try {
170306
170434
  const response = await fetch(index.getAssetPath(`./assets/arcade-language/profiles/arcade-profiles.t9n.${locale}.json`));
170307
170435
  if (response.ok) {
170308
- return cacheSdkPredefinedProfiles(locale, await response.json());
170436
+ return cacheSdkPredefinedProfiles(locale, (await response.json()));
170309
170437
  }
170310
170438
  if (locale === "en") {
170311
170439
  return null;
@@ -170333,13 +170461,10 @@ async function getSdkPredefinedProfile(id, locale = "en") {
170333
170461
  const profiles = await getSdkPredefinedProfiles(locale);
170334
170462
  return profiles?.get(id) ?? null;
170335
170463
  }
170336
- function isExtendedPredefinedProfileDefinition(predefinedProfileDefinition) {
170337
- return Array.isArray(predefinedProfileDefinition?.additionalVariables);
170464
+ function isExtendedPredefinedProfileDefinition(item) {
170465
+ return !!item && typeof item === "object" && "additionalVariables" in item && Array.isArray(item.additionalVariables);
170338
170466
  }
170339
170467
  function convertApiVariables(variables) {
170340
- if (!variables) {
170341
- return [];
170342
- }
170343
170468
  return variables.map(convertApiVariable);
170344
170469
  }
170345
170470
  function convertApiVariable(variable) {
@@ -170555,21 +170680,20 @@ const arcade = {
170555
170680
  setProfileForModel: arcadeDefaults.setProfileForModel.bind(arcadeDefaults)
170556
170681
  };
170557
170682
 
170558
- exports.$ = $;
170559
- exports.B = B;
170560
170683
  exports.D = D;
170561
170684
  exports.Emitter = Emitter;
170562
- exports.F = F;
170563
170685
  exports.G = G;
170686
+ exports.H = H;
170687
+ exports.I = I;
170564
170688
  exports.IStandaloneThemeService = IStandaloneThemeService;
170689
+ exports.J = J;
170565
170690
  exports.KeyCode = KeyCode;
170566
170691
  exports.KeyMod = KeyMod;
170567
170692
  exports.MarkerSeverity = MarkerSeverity;
170568
- exports.Q = Q;
170693
+ exports.O = O;
170569
170694
  exports.Range = Range;
170570
- exports.T = T;
170695
+ exports.U = U;
170571
170696
  exports.Uri = Uri;
170572
- exports.W = W;
170573
170697
  exports.arcade = arcade;
170574
170698
  exports.arcadeDefaults = arcadeDefaults;
170575
170699
  exports.commonjsGlobal = commonjsGlobal;
@@ -170580,12 +170704,13 @@ exports.generateTokensCSSForColorMap = generateTokensCSSForColorMap;
170580
170704
  exports.h = h;
170581
170705
  exports.importArcade = importArcade;
170582
170706
  exports.importRequest = importRequest;
170583
- exports.j = j;
170584
170707
  exports.languages = languages;
170585
170708
  exports.main = main;
170586
170709
  exports.monaco_editor_core_star = monaco_editor_core_star;
170587
- exports.ne = ne;
170710
+ exports.oe = oe;
170588
170711
  exports.q = q;
170712
+ exports.se = se;
170589
170713
  exports.supportedFields = supportedFields;
170590
- exports.te = te;
170591
170714
  exports.typescriptDefaults = typescriptDefaults;
170715
+ exports.x = x;
170716
+ exports.z = z;