@k8slens/extensions 5.4.1-git.a19f094a0d.0 → 5.4.1-git.a76fc6df84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/dist/src/common/app-event-bus/app-event-bus.injectable.d.ts +1 -1
  2. package/dist/src/common/app-paths/directory-for-binaries/directory-for-binaries.injectable.d.ts +1 -1
  3. package/dist/src/common/app-paths/directory-for-bundled-binaries/directory-for-bundled-binaries.injectable.d.ts +1 -1
  4. package/dist/src/common/app-paths/directory-for-downloads/directory-for-downloads.injectable.d.ts +1 -1
  5. package/dist/src/common/app-paths/directory-for-exes/directory-for-exes.injectable.d.ts +1 -1
  6. package/dist/src/common/app-paths/directory-for-kube-configs/directory-for-kube-configs.injectable.d.ts +1 -1
  7. package/dist/src/common/app-paths/directory-for-temp/directory-for-temp.injectable.d.ts +1 -1
  8. package/dist/src/common/app-paths/directory-for-user-data/directory-for-user-data.injectable.d.ts +1 -1
  9. package/dist/src/common/app-paths/get-custom-kube-config-directory/get-custom-kube-config-directory.injectable.d.ts +1 -1
  10. package/dist/src/common/cluster/authorization-review.injectable.d.ts +1 -1
  11. package/dist/src/common/cluster/list-namespaces.injectable.d.ts +1 -1
  12. package/dist/src/common/cluster-store/allowed-resources.injectable.d.ts +1 -1
  13. package/dist/src/common/cluster-store/cluster-store.injectable.d.ts +1 -1
  14. package/dist/src/common/cluster-store/hosted-cluster.injectable.d.ts +1 -1
  15. package/dist/src/common/directory-for-lens-local-storage/directory-for-lens-local-storage.injectable.d.ts +1 -1
  16. package/dist/src/common/fs/fs.injectable.d.ts +1 -1
  17. package/dist/src/common/fs/read-dir.injectable.d.ts +1 -1
  18. package/dist/src/common/fs/read-file.injectable.d.ts +1 -1
  19. package/dist/src/common/fs/read-json-file.injectable.d.ts +1 -1
  20. package/dist/src/common/fs/write-file.injectable.d.ts +4 -0
  21. package/dist/src/common/fs/write-json-file.injectable.d.ts +1 -1
  22. package/dist/src/common/hotbar-store.injectable.d.ts +1 -1
  23. package/dist/src/common/k8s-api/endpoints/events.api.d.ts +6 -0
  24. package/dist/src/common/k8s-api/endpoints/helm-charts.api.d.ts +5 -5
  25. package/dist/src/common/k8s-api/endpoints/metrics.api.d.ts +1 -1
  26. package/dist/src/common/k8s-api/kube-object.d.ts +15 -0
  27. package/dist/src/common/user-store/user-store.injectable.d.ts +1 -1
  28. package/dist/src/common/utils/is-allowed-resource.injectable.d.ts +1 -1
  29. package/dist/src/common/vars/context-dir.injectable.d.ts +1 -1
  30. package/dist/src/common/vars/is-development.injectable.d.ts +1 -1
  31. package/dist/src/common/vars/is-linux.injectable.d.ts +1 -1
  32. package/dist/src/common/vars/is-windows.injectable.d.ts +1 -1
  33. package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-function-for-extension-api.d.ts +2 -4
  34. package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api-with-modifications.d.ts +2 -10
  35. package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api-with-modifications.test.d.ts +1 -0
  36. package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api.d.ts +2 -2
  37. package/dist/src/extensions/common-api/get-enabled-extensions/get-enabled-extensions.injectable.d.ts +1 -1
  38. package/dist/src/extensions/extension-api.js +622 -560
  39. package/dist/src/extensions/extension-discovery/extension-discovery.injectable.d.ts +1 -1
  40. package/dist/src/extensions/extension-discovery/is-compatible-bundled-extension/is-compatible-bundled-extension.injectable.d.ts +1 -1
  41. package/dist/src/extensions/extension-discovery/is-compatible-extension/is-compatible-extension.injectable.d.ts +1 -1
  42. package/dist/src/extensions/extension-installation-state-store/extension-installation-state-store.injectable.d.ts +1 -1
  43. package/dist/src/extensions/extension-installer/extension-installer.injectable.d.ts +1 -1
  44. package/dist/src/extensions/extension-installer/extension-package-root-directory/extension-package-root-directory.injectable.d.ts +1 -1
  45. package/dist/src/extensions/extension-installer/install-extension/install-extension.injectable.d.ts +1 -1
  46. package/dist/src/extensions/extension-installer/install-extensions/install-extensions.injectable.d.ts +1 -1
  47. package/dist/src/extensions/extension-loader/create-extension-instance/create-extension-instance.injectable.d.ts +1 -1
  48. package/dist/src/extensions/extension-loader/create-extension-instance/file-system-provisioner-store/directory-for-extension-data/directory-for-extension-data.injectable.d.ts +1 -1
  49. package/dist/src/extensions/extension-loader/create-extension-instance/file-system-provisioner-store/file-system-provisioner-store.injectable.d.ts +1 -1
  50. package/dist/src/extensions/extension-loader/extension-loader.injectable.d.ts +1 -1
  51. package/dist/src/extensions/extension-loader/update-extensions-state/update-extensions-state.injectable.d.ts +1 -1
  52. package/dist/src/extensions/extension-packages-root/extension-packages-root.injectable.d.ts +1 -1
  53. package/dist/src/extensions/extensions-store/extensions-store.injectable.d.ts +1 -1
  54. package/dist/src/extensions/extensions.injectable.d.ts +1 -1
  55. package/dist/src/extensions/main-extensions.injectable.d.ts +1 -1
  56. package/dist/src/extensions/renderer-api/components.d.ts +2 -2
  57. package/dist/src/extensions/renderer-extensions.injectable.d.ts +1 -1
  58. package/dist/src/extensions/vendors-node_modules_monaco-editor_esm_vs_language_css_cssMode_js.extension-api.js +17 -17
  59. package/dist/src/extensions/vendors-node_modules_monaco-editor_esm_vs_language_html_htmlMode_js.extension-api.js +8 -8
  60. package/dist/src/extensions/vendors-node_modules_monaco-editor_esm_vs_language_json_jsonMode_js.extension-api.js +13 -13
  61. package/dist/src/extensions/vendors-node_modules_monaco-editor_esm_vs_language_typescript_tsMode_js.extension-api.js +2 -2
  62. package/dist/src/main/__test__/{router.test.d.ts → static-file-route.test.d.ts} +0 -0
  63. package/dist/src/main/app-paths/app-name/app-name.injectable.d.ts +1 -1
  64. package/dist/src/main/app-paths/app-paths.injectable.d.ts +1 -1
  65. package/dist/src/main/app-paths/directory-for-integration-testing/directory-for-integration-testing.injectable.d.ts +1 -1
  66. package/dist/src/main/app-paths/get-electron-app-path/electron-app/electron-app.injectable.d.ts +1 -1
  67. package/dist/src/main/app-paths/get-electron-app-path/get-electron-app-path.injectable.d.ts +1 -1
  68. package/dist/src/main/app-paths/register-channel/ipc-main/ipc-main.injectable.d.ts +1 -1
  69. package/dist/src/main/app-paths/register-channel/register-channel.injectable.d.ts +1 -1
  70. package/dist/src/main/app-paths/set-electron-app-path/set-electron-app-path.injectable.d.ts +1 -1
  71. package/dist/src/main/catalog-sources/kubeconfig-sync-manager/kubeconfig-sync-manager.injectable.d.ts +1 -1
  72. package/dist/src/main/child-process/spawn.injectable.d.ts +5 -0
  73. package/dist/src/main/context-handler/context-handler.d.ts +4 -1
  74. package/dist/src/main/context-handler/create-context-handler.injectable.d.ts +1 -1
  75. package/dist/src/main/create-cluster/create-cluster.injectable.d.ts +1 -1
  76. package/dist/src/main/helm/helm-release-manager.d.ts +1 -1
  77. package/dist/src/main/helm/helm-service.d.ts +1 -1
  78. package/dist/src/main/initializers/init-ipc-main-handlers/init-ipc-main-handlers.injectable.d.ts +1 -1
  79. package/dist/src/main/kube-auth-proxy/create-kube-auth-proxy-cert-files.d.ts +13 -0
  80. package/dist/src/main/kube-auth-proxy/create-kube-auth-proxy-cert-files.injectable.d.ts +3 -0
  81. package/dist/src/main/kube-auth-proxy/create-kube-auth-proxy.injectable.d.ts +3 -1
  82. package/dist/src/main/kube-auth-proxy/kube-auth-proxy-ca.injectable.d.ts +4 -0
  83. package/dist/src/main/kube-auth-proxy/kube-auth-proxy.d.ts +3 -1
  84. package/dist/src/main/kubeconfig-manager/create-kubeconfig-manager.injectable.d.ts +1 -1
  85. package/dist/src/main/kubectl/bundled-kubectl.injectable.d.ts +1 -1
  86. package/dist/src/main/kubectl/create-kubectl.injectable.d.ts +1 -1
  87. package/dist/src/main/kubectl/directory-for-kubectl-binaries/directory-for-kubectl-binaries.injectable.d.ts +1 -1
  88. package/dist/src/main/lens-proxy.d.ts +3 -3
  89. package/dist/src/main/menu/electron-menu-items.injectable.d.ts +1 -1
  90. package/dist/src/main/protocol-handler/lens-protocol-router-main/lens-protocol-router-main.injectable.d.ts +1 -1
  91. package/dist/src/main/proxy-functions/index.d.ts +1 -1
  92. package/dist/src/main/proxy-functions/{kube-api-request.d.ts → kube-api-upgrade-request.d.ts} +1 -1
  93. package/dist/src/main/proxy-functions/shell-api-request/shell-api-request.injectable.d.ts +1 -1
  94. package/dist/src/main/proxy-functions/shell-api-request/shell-request-authenticator/shell-request-authenticator.injectable.d.ts +1 -1
  95. package/dist/src/main/router/parse-request.injectable.d.ts +3 -0
  96. package/dist/src/main/router/router-content-types.d.ts +14 -0
  97. package/dist/src/main/{router.d.ts → router/router.d.ts} +26 -7
  98. package/dist/src/main/router/router.injectable.d.ts +3 -2
  99. package/dist/src/main/router/router.test.d.ts +5 -0
  100. package/dist/src/main/routes/helm/charts/get-chart-route.injectable.d.ts +9 -0
  101. package/dist/src/main/routes/helm/charts/get-chart-values-route.injectable.d.ts +4 -0
  102. package/dist/src/main/routes/helm/charts/list-charts-route.injectable.d.ts +4 -0
  103. package/dist/src/main/routes/helm/releases/delete-release-route.injectable.d.ts +4 -0
  104. package/dist/src/main/routes/helm/releases/get-release-history-route.injectable.d.ts +4 -0
  105. package/dist/src/main/routes/helm/releases/get-release-route.injectable.d.ts +4 -0
  106. package/dist/src/main/routes/helm/releases/get-release-values-route.injectable.d.ts +4 -0
  107. package/dist/src/main/routes/helm/releases/install-chart-route.injectable.d.ts +11 -0
  108. package/dist/src/main/routes/helm/releases/list-releases-route.injectable.d.ts +4 -0
  109. package/dist/src/main/routes/helm/releases/rollback-release-route.injectable.d.ts +4 -0
  110. package/dist/src/main/routes/helm/releases/update-release-route.injectable.d.ts +11 -0
  111. package/dist/src/main/routes/kubeconfig-route/get-service-account-route.injectable.d.ts +33 -0
  112. package/dist/src/main/routes/metrics/add-metrics-route.injectable.d.ts +8 -0
  113. package/dist/src/main/routes/metrics/get-metric-providers-route.injectable.d.ts +9 -0
  114. package/dist/src/main/routes/metrics/metrics-query.d.ts +7 -0
  115. package/dist/src/main/routes/port-forward/{create-port-forward.injectable.d.ts → functionality/create-port-forward.injectable.d.ts} +1 -1
  116. package/dist/src/main/routes/port-forward/{port-forward.d.ts → functionality/port-forward.d.ts} +0 -0
  117. package/dist/src/main/routes/port-forward/get-current-port-forward-route.injectable.d.ts +6 -0
  118. package/dist/src/main/routes/port-forward/start-port-forward-route.injectable.d.ts +6 -0
  119. package/dist/src/main/routes/port-forward/stop-current-port-forward-route.injectable.d.ts +6 -0
  120. package/dist/src/main/routes/resource-applier/apply-resource-route.injectable.d.ts +4 -0
  121. package/dist/src/main/routes/resource-applier/patch-resource-route.injectable.d.ts +4 -0
  122. package/dist/src/main/routes/static-file-route.injectable.d.ts +5 -0
  123. package/dist/src/main/routes/versions/get-version-route.injectable.d.ts +6 -0
  124. package/dist/src/main/shell-session/create-shell-session.injectable.d.ts +1 -1
  125. package/dist/src/main/shell-session/local-shell-session/local-shell-session.injectable.d.ts +1 -1
  126. package/dist/src/main/shell-session/node-shell-session/node-shell-session.injectable.d.ts +1 -1
  127. package/dist/src/main/shell-session/shell-env-modifier/terminal-shell-env-modify.injectable.d.ts +1 -1
  128. package/dist/src/main/tray/tray-menu-items.injectable.d.ts +1 -1
  129. package/dist/src/renderer/api/catalog-entity-registry/catalog-entity-registry.injectable.d.ts +1 -1
  130. package/dist/src/renderer/app-paths/app-paths.injectable.d.ts +1 -1
  131. package/dist/src/renderer/app-paths/get-value-from-registered-channel/get-value-from-registered-channel.injectable.d.ts +1 -1
  132. package/dist/src/renderer/app-paths/get-value-from-registered-channel/ipc-renderer/ipc-renderer.injectable.d.ts +1 -1
  133. package/dist/src/renderer/cluster-frame-context/cluster-frame-context.injectable.d.ts +1 -1
  134. package/dist/src/renderer/components/+add-cluster/add-cluster.d.ts +1 -3
  135. package/dist/src/renderer/components/+catalog/catalog-entity-store/catalog-entity-store.injectable.d.ts +1 -1
  136. package/dist/src/renderer/components/+catalog/catalog-previous-active-tab-storage/catalog-previous-active-tab-storage.injectable.d.ts +1 -1
  137. package/dist/src/renderer/components/+catalog/catalog.d.ts +1 -3
  138. package/dist/src/renderer/components/+catalog/custom-category-columns.injectable.d.ts +1 -1
  139. package/dist/src/renderer/components/+catalog/custom-views.injectable.d.ts +1 -1
  140. package/dist/src/renderer/components/+catalog/get-category-columns.injectable.d.ts +1 -1
  141. package/dist/src/renderer/components/+cluster/cluster-issues.d.ts +2 -3
  142. package/dist/src/renderer/components/+cluster/cluster-metric-switchers.d.ts +1 -3
  143. package/dist/src/renderer/components/+cluster/cluster-metrics.d.ts +1 -3
  144. package/dist/src/renderer/components/+cluster/cluster-overview-store/cluster-overview-store.injectable.d.ts +1 -1
  145. package/dist/src/renderer/components/+cluster/cluster-overview.d.ts +1 -3
  146. package/dist/src/renderer/components/+cluster/cluster-pie-charts.d.ts +1 -3
  147. package/dist/src/renderer/components/+cluster/sidebar-item.d.ts +1 -3
  148. package/dist/src/renderer/components/+config/route-tabs.injectable.d.ts +1 -1
  149. package/dist/src/renderer/components/+config/route.d.ts +1 -3
  150. package/dist/src/renderer/components/+config/sidebar-item.d.ts +1 -3
  151. package/dist/src/renderer/components/+custom-resources/crd-list.d.ts +1 -2
  152. package/dist/src/renderer/components/+custom-resources/crd-resources.d.ts +1 -2
  153. package/dist/src/renderer/components/+custom-resources/custom-resources.injectable.d.ts +1 -1
  154. package/dist/src/renderer/components/+custom-resources/grouped-custom-resources.injectable.d.ts +1 -1
  155. package/dist/src/renderer/components/+custom-resources/route-tabs.injectable.d.ts +1 -1
  156. package/dist/src/renderer/components/+custom-resources/sidebar-item.d.ts +1 -3
  157. package/dist/src/renderer/components/+events/events.d.ts +0 -1
  158. package/dist/src/renderer/components/+events/kube-event-details.d.ts +1 -3
  159. package/dist/src/renderer/components/+events/sidebar-item.d.ts +1 -3
  160. package/dist/src/renderer/components/+extensions/attempt-install/attempt-install.injectable.d.ts +1 -1
  161. package/dist/src/renderer/components/+extensions/attempt-install/create-temp-files-and-validate/create-temp-files-and-validate.injectable.d.ts +1 -1
  162. package/dist/src/renderer/components/+extensions/attempt-install/get-extension-dest-folder/get-extension-dest-folder.injectable.d.ts +1 -1
  163. package/dist/src/renderer/components/+extensions/attempt-install/unpack-extension/unpack-extension.injectable.d.ts +1 -1
  164. package/dist/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.injectable.d.ts +1 -1
  165. package/dist/src/renderer/components/+extensions/attempt-installs/attempt-installs.injectable.d.ts +1 -1
  166. package/dist/src/renderer/components/+extensions/confirm-uninstall-extension/confirm-uninstall-extension.injectable.d.ts +1 -1
  167. package/dist/src/renderer/components/+extensions/disable-extension/disable-extension.injectable.d.ts +1 -1
  168. package/dist/src/renderer/components/+extensions/enable-extension/enable-extension.injectable.d.ts +1 -1
  169. package/dist/src/renderer/components/+extensions/extensions.d.ts +1 -3
  170. package/dist/src/renderer/components/+extensions/get-base-registry-url/get-base-registry-url.injectable.d.ts +1 -1
  171. package/dist/src/renderer/components/+extensions/install-from-input/install-from-input.injectable.d.ts +1 -1
  172. package/dist/src/renderer/components/+extensions/install-from-select-file-dialog.injectable.d.ts +1 -1
  173. package/dist/src/renderer/components/+extensions/install-on-drop/install-on-drop.injectable.d.ts +1 -1
  174. package/dist/src/renderer/components/+extensions/install.d.ts +1 -3
  175. package/dist/src/renderer/components/+extensions/installed-extensions.d.ts +1 -3
  176. package/dist/src/renderer/components/+extensions/uninstall-extension/uninstall-extension.injectable.d.ts +1 -1
  177. package/dist/src/renderer/components/+extensions/user-extensions/user-extensions.injectable.d.ts +1 -1
  178. package/dist/src/renderer/components/+helm/route-tabs.injectable.d.ts +1 -1
  179. package/dist/src/renderer/components/+helm/route.d.ts +1 -3
  180. package/dist/src/renderer/components/+helm/sidebar-item.d.ts +1 -3
  181. package/dist/src/renderer/components/+helm-charts/helm-chart-details.d.ts +1 -3
  182. package/dist/src/renderer/components/+helm-releases/create-release/create-release.injectable.d.ts +1 -1
  183. package/dist/src/renderer/components/+helm-releases/delete-release/delete-release.injectable.d.ts +1 -1
  184. package/dist/src/renderer/components/+helm-releases/release-details/release-details.d.ts +1 -3
  185. package/dist/src/renderer/components/+helm-releases/release-details/release-details.injectable.d.ts +1 -1
  186. package/dist/src/renderer/components/+helm-releases/release-details/release-route-parameters.injectable.d.ts +1 -1
  187. package/dist/src/renderer/components/+helm-releases/release-details/release-values.injectable.d.ts +1 -1
  188. package/dist/src/renderer/components/+helm-releases/release-details/release.injectable.d.ts +1 -1
  189. package/dist/src/renderer/components/+helm-releases/release-details/user-supplied-values-are-shown.injectable.d.ts +2 -2
  190. package/dist/src/renderer/components/+helm-releases/release-menu.d.ts +1 -3
  191. package/dist/src/renderer/components/+helm-releases/release-rollback-dialog-model/release-rollback-dialog-model.injectable.d.ts +1 -1
  192. package/dist/src/renderer/components/+helm-releases/release-rollback-dialog.d.ts +1 -3
  193. package/dist/src/renderer/components/+helm-releases/releases.d.ts +1 -3
  194. package/dist/src/renderer/components/+helm-releases/releases.injectable.d.ts +1 -1
  195. package/dist/src/renderer/components/+helm-releases/removable-releases.injectable.d.ts +1 -1
  196. package/dist/src/renderer/components/+helm-releases/rollback-release/rollback-release.injectable.d.ts +1 -1
  197. package/dist/src/renderer/components/+helm-releases/update-release/update-release.injectable.d.ts +1 -1
  198. package/dist/src/renderer/components/+namespaces/add-namespace-dialog-model/add-namespace-dialog-model.injectable.d.ts +1 -1
  199. package/dist/src/renderer/components/+namespaces/add-namespace-dialog.d.ts +1 -3
  200. package/dist/src/renderer/components/+namespaces/namespace-details.d.ts +1 -3
  201. package/dist/src/renderer/components/+namespaces/namespace-select-filter-model/namespace-select-filter-model.injectable.d.ts +1 -1
  202. package/dist/src/renderer/components/+namespaces/namespace-select-filter.d.ts +1 -3
  203. package/dist/src/renderer/components/+namespaces/namespace-select.d.ts +1 -3
  204. package/dist/src/renderer/components/+namespaces/namespace-store/namespace-store.injectable.d.ts +1 -1
  205. package/dist/src/renderer/components/+namespaces/route.d.ts +1 -3
  206. package/dist/src/renderer/components/+namespaces/sidebar-item.d.ts +1 -3
  207. package/dist/src/renderer/components/+network/route-tabs.injectable.d.ts +1 -1
  208. package/dist/src/renderer/components/+network/route.d.ts +1 -3
  209. package/dist/src/renderer/components/+network/sidebar-item.d.ts +1 -3
  210. package/dist/src/renderer/components/+network-port-forwards/port-forward-menu.d.ts +1 -3
  211. package/dist/src/renderer/components/+network-port-forwards/port-forwards.d.ts +1 -3
  212. package/dist/src/renderer/components/+network-services/service-details.d.ts +1 -3
  213. package/dist/src/renderer/components/+network-services/service-port-component.d.ts +1 -3
  214. package/dist/src/renderer/components/+nodes/details.d.ts +1 -3
  215. package/dist/src/renderer/components/+nodes/sidebar-item.d.ts +1 -3
  216. package/dist/src/renderer/components/+preferences/app-preferences/app-preferences.injectable.d.ts +1 -1
  217. package/dist/src/renderer/components/+preferences/application.d.ts +1 -3
  218. package/dist/src/renderer/components/+preferences/extensions.d.ts +1 -3
  219. package/dist/src/renderer/components/+preferences/kubectl-binaries.d.ts +1 -3
  220. package/dist/src/renderer/components/+preferences/preferences.d.ts +1 -3
  221. package/dist/src/renderer/components/+preferences/telemetry.d.ts +1 -3
  222. package/dist/src/renderer/components/+storage/route-tabs.injectable.d.ts +1 -1
  223. package/dist/src/renderer/components/+storage/route.d.ts +1 -3
  224. package/dist/src/renderer/components/+storage/sidebar-item.d.ts +1 -3
  225. package/dist/src/renderer/components/+storage-classes/storage-class-details.d.ts +1 -3
  226. package/dist/src/renderer/components/+user-management/route-tabs.injectable.d.ts +1 -1
  227. package/dist/src/renderer/components/+user-management/route.d.ts +1 -3
  228. package/dist/src/renderer/components/+user-management/sidebar-item.d.ts +1 -3
  229. package/dist/src/renderer/components/+welcome/welcome-banner-items/welcome-banner-items.injectable.d.ts +1 -1
  230. package/dist/src/renderer/components/+welcome/welcome-menu-items/welcome-menu-items.injectable.d.ts +1 -1
  231. package/dist/src/renderer/components/+welcome/welcome.d.ts +1 -3
  232. package/dist/src/renderer/components/+workloads/route-tabs.injectable.d.ts +1 -1
  233. package/dist/src/renderer/components/+workloads/route.d.ts +1 -3
  234. package/dist/src/renderer/components/+workloads/sidebar-item.d.ts +1 -3
  235. package/dist/src/renderer/components/+workloads-cronjobs/cronjob-details.d.ts +1 -3
  236. package/dist/src/renderer/components/+workloads-daemonsets/daemonset-details.d.ts +1 -3
  237. package/dist/src/renderer/components/+workloads-deployments/deployment-details.d.ts +1 -3
  238. package/dist/src/renderer/components/+workloads-jobs/job-details.d.ts +1 -3
  239. package/dist/src/renderer/components/+workloads-overview/detail-components.injectable.d.ts +1 -1
  240. package/dist/src/renderer/components/+workloads-overview/overview-statuses.d.ts +1 -3
  241. package/dist/src/renderer/components/+workloads-overview/overview.d.ts +1 -3
  242. package/dist/src/renderer/components/+workloads-overview/workloads.injectable.d.ts +2 -2
  243. package/dist/src/renderer/components/+workloads-pods/pod-container-port.d.ts +1 -3
  244. package/dist/src/renderer/components/+workloads-pods/pod-details-container.d.ts +1 -3
  245. package/dist/src/renderer/components/+workloads-replicasets/replicaset-details.d.ts +1 -3
  246. package/dist/src/renderer/components/+workloads-statefulsets/statefulset-details.d.ts +1 -3
  247. package/dist/src/renderer/components/activate-entity-command/activate-entity-command.d.ts +1 -3
  248. package/dist/src/renderer/components/catalog-entities/weblink-add-command.d.ts +1 -3
  249. package/dist/src/renderer/components/cluster-manager/cluster-manager.d.ts +1 -3
  250. package/dist/src/renderer/components/command-palette/command-container.d.ts +1 -3
  251. package/dist/src/renderer/components/command-palette/command-dialog.d.ts +1 -3
  252. package/dist/src/renderer/components/command-palette/command-overlay.injectable.d.ts +1 -1
  253. package/dist/src/renderer/components/command-palette/registered-commands/internal-commands.injectable.d.ts +1 -1
  254. package/dist/src/renderer/components/command-palette/registered-commands/registered-commands.injectable.d.ts +1 -1
  255. package/dist/src/renderer/components/dock/create-resource/clear-create-resource-tab-data.injectable.d.ts +1 -1
  256. package/dist/src/renderer/components/dock/create-resource/create-resource-tab.injectable.d.ts +1 -1
  257. package/dist/src/renderer/components/dock/create-resource/create-resource-templates.injectable.d.ts +1 -1
  258. package/dist/src/renderer/components/dock/create-resource/lens-templates.injectable.d.ts +1 -1
  259. package/dist/src/renderer/components/dock/create-resource/store.injectable.d.ts +1 -1
  260. package/dist/src/renderer/components/dock/create-resource/user-templates.injectable.d.ts +1 -1
  261. package/dist/src/renderer/components/dock/create-resource/view.d.ts +1 -3
  262. package/dist/src/renderer/components/dock/dock/close-dock-tab.injectable.d.ts +1 -1
  263. package/dist/src/renderer/components/dock/dock/create-dock-tab.injectable.d.ts +1 -1
  264. package/dist/src/renderer/components/dock/dock/dock-storage.injectable.d.ts +1 -1
  265. package/dist/src/renderer/components/dock/dock/rename-tab.injectable.d.ts +1 -1
  266. package/dist/src/renderer/components/dock/dock/select-dock-tab.injectable.d.ts +1 -1
  267. package/dist/src/renderer/components/dock/dock/store.injectable.d.ts +1 -1
  268. package/dist/src/renderer/components/dock/dock-tab-store/create-dock-tab-store.injectable.d.ts +1 -1
  269. package/dist/src/renderer/components/dock/dock-tab.d.ts +1 -3
  270. package/dist/src/renderer/components/dock/dock.d.ts +1 -3
  271. package/dist/src/renderer/components/dock/edit-resource/clear-edit-resource-tab-data.injectable.d.ts +1 -1
  272. package/dist/src/renderer/components/dock/edit-resource/edit-resource-tab.injectable.d.ts +1 -1
  273. package/dist/src/renderer/components/dock/edit-resource/store.injectable.d.ts +1 -1
  274. package/dist/src/renderer/components/dock/edit-resource/view.d.ts +1 -3
  275. package/dist/src/renderer/components/dock/editor-panel.d.ts +1 -3
  276. package/dist/src/renderer/components/dock/info-panel.d.ts +1 -3
  277. package/dist/src/renderer/components/dock/install-chart/clear-install-chart-tab-data.injectable.d.ts +1 -1
  278. package/dist/src/renderer/components/dock/install-chart/create-install-chart-tab.injectable.d.ts +1 -1
  279. package/dist/src/renderer/components/dock/install-chart/store.injectable.d.ts +1 -1
  280. package/dist/src/renderer/components/dock/install-chart/view.d.ts +1 -3
  281. package/dist/src/renderer/components/dock/logs/are-logs-present.injectable.d.ts +1 -1
  282. package/dist/src/renderer/components/dock/logs/call-for-logs.injectable.d.ts +2 -2
  283. package/dist/src/renderer/components/dock/logs/clear-log-tab-data.injectable.d.ts +1 -1
  284. package/dist/src/renderer/components/dock/logs/controls.d.ts +1 -3
  285. package/dist/src/renderer/components/dock/logs/create-logs-tab.injectable.d.ts +1 -1
  286. package/dist/src/renderer/components/dock/logs/create-pod-logs-tab.injectable.d.ts +1 -1
  287. package/dist/src/renderer/components/dock/logs/create-workload-logs-tab.injectable.d.ts +1 -1
  288. package/dist/src/renderer/components/dock/logs/get-log-tab-data.injectable.d.ts +1 -1
  289. package/dist/src/renderer/components/dock/logs/get-logs-without-timestamps.injectable.d.ts +1 -1
  290. package/dist/src/renderer/components/dock/logs/get-logs.injectable.d.ts +1 -1
  291. package/dist/src/renderer/components/dock/logs/get-timestamp-split-logs.injectable.d.ts +1 -1
  292. package/dist/src/renderer/components/dock/logs/is-logs-tab-data-valid.injectable.d.ts +1 -1
  293. package/dist/src/renderer/components/dock/logs/load-logs.injectable.d.ts +1 -1
  294. package/dist/src/renderer/components/dock/logs/logs-view-model.injectable.d.ts +1 -1
  295. package/dist/src/renderer/components/dock/logs/reload-logs.injectable.d.ts +1 -1
  296. package/dist/src/renderer/components/dock/logs/set-log-tab-data.injectable.d.ts +1 -1
  297. package/dist/src/renderer/components/dock/logs/stop-loading-logs.injectable.d.ts +1 -1
  298. package/dist/src/renderer/components/dock/logs/store.injectable.d.ts +1 -1
  299. package/dist/src/renderer/components/dock/logs/tab-store.injectable.d.ts +1 -1
  300. package/dist/src/renderer/components/dock/logs/view.d.ts +1 -3
  301. package/dist/src/renderer/components/dock/terminal/clear-terminal-tab-data.injectable.d.ts +1 -1
  302. package/dist/src/renderer/components/dock/terminal/create-terminal-tab.injectable.d.ts +1 -1
  303. package/dist/src/renderer/components/dock/terminal/create-terminal.injectable.d.ts +1 -1
  304. package/dist/src/renderer/components/dock/terminal/dock-tab.d.ts +1 -3
  305. package/dist/src/renderer/components/dock/terminal/get-terminal-api.injectable.d.ts +1 -1
  306. package/dist/src/renderer/components/dock/terminal/send-command.injectable.d.ts +1 -1
  307. package/dist/src/renderer/components/dock/terminal/store.injectable.d.ts +1 -1
  308. package/dist/src/renderer/components/dock/terminal/view.d.ts +1 -3
  309. package/dist/src/renderer/components/dock/upgrade-chart/clear-upgrade-chart-tab-data.injectable.d.ts +1 -1
  310. package/dist/src/renderer/components/dock/upgrade-chart/create-upgrade-chart-tab.injectable.d.ts +1 -1
  311. package/dist/src/renderer/components/dock/upgrade-chart/store.injectable.d.ts +1 -1
  312. package/dist/src/renderer/components/dock/upgrade-chart/view.d.ts +1 -3
  313. package/dist/src/renderer/components/drawer/drawer-storage/drawer-storage.injectable.d.ts +2 -2
  314. package/dist/src/renderer/components/drawer/drawer.d.ts +1 -3
  315. package/dist/src/renderer/components/duration/reactive-duration.d.ts +13 -0
  316. package/dist/src/renderer/components/hotbar/hotbar-add-command.d.ts +1 -3
  317. package/dist/src/renderer/components/hotbar/hotbar-remove-command.d.ts +1 -3
  318. package/dist/src/renderer/components/hotbar/hotbar-rename-command.d.ts +1 -3
  319. package/dist/src/renderer/components/hotbar/hotbar-selector.d.ts +1 -3
  320. package/dist/src/renderer/components/hotbar/hotbar-switch-command.d.ts +1 -3
  321. package/dist/src/renderer/components/input/validators/unique-hotbar-name.injectable.d.ts +1 -1
  322. package/dist/src/renderer/components/item-object-list/content.d.ts +2 -0
  323. package/dist/src/renderer/components/item-object-list/storage.injectable.d.ts +2 -2
  324. package/dist/src/renderer/components/kube-object/age.d.ts +14 -0
  325. package/dist/src/renderer/components/kube-object-menu/dependencies/api-manager.injectable.d.ts +1 -1
  326. package/dist/src/renderer/components/kube-object-menu/dependencies/cluster-name.injectable.d.ts +1 -1
  327. package/dist/src/renderer/components/kube-object-menu/dependencies/cluster.injectable.d.ts +1 -1
  328. package/dist/src/renderer/components/kube-object-menu/dependencies/hide-details.injectable.d.ts +1 -1
  329. package/dist/src/renderer/components/kube-object-menu/dependencies/kube-object-menu-items/kube-object-menu-items.injectable.d.ts +1 -1
  330. package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-icon.d.ts +1 -3
  331. package/dist/src/renderer/components/kube-object-status-icon/status-registrations.injectable.d.ts +1 -1
  332. package/dist/src/renderer/components/kube-object-status-icon/statuses-for-kube-object.injectable.d.ts +1 -1
  333. package/dist/src/renderer/components/layout/main-layout.d.ts +1 -3
  334. package/dist/src/renderer/components/layout/sidebar-item.d.ts +1 -3
  335. package/dist/src/renderer/components/layout/sidebar-storage/sidebar-storage.injectable.d.ts +2 -2
  336. package/dist/src/renderer/components/layout/top-bar/top-bar-items/top-bar-items.injectable.d.ts +1 -1
  337. package/dist/src/renderer/components/layout/top-bar/top-bar.d.ts +2 -4
  338. package/dist/src/renderer/components/status-bar/registered-status-bar-items.injectable.d.ts +1 -1
  339. package/dist/src/renderer/components/status-bar/status-bar-items.injectable.d.ts +1 -1
  340. package/dist/src/renderer/components/status-bar/status-bar.d.ts +1 -3
  341. package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
  342. package/dist/src/renderer/components/table/table-model/table-model.injectable.d.ts +1 -1
  343. package/dist/src/renderer/create-cluster/create-cluster.injectable.d.ts +1 -1
  344. package/dist/src/renderer/frames/cluster-frame/cluster-frame.d.ts +1 -3
  345. package/dist/src/renderer/frames/cluster-frame/init-cluster-frame/frame-routing-id/frame-routing-id.injectable.d.ts +1 -1
  346. package/dist/src/renderer/frames/cluster-frame/init-cluster-frame/frame-routing-id/web-frame/web-frame.injectable.d.ts +1 -1
  347. package/dist/src/renderer/frames/cluster-frame/init-cluster-frame/init-cluster-frame.injectable.d.ts +1 -1
  348. package/dist/src/renderer/frames/root-frame/init-root-frame/init-root-frame.injectable.d.ts +1 -1
  349. package/dist/src/renderer/frames/root-frame/root-frame.d.ts +1 -3
  350. package/dist/src/renderer/initializers/workload-events.d.ts +1 -3
  351. package/dist/src/renderer/kube-watch-api/kube-watch-api.injectable.d.ts +1 -1
  352. package/dist/src/renderer/kube-watch-api/subscribe-stores.injectable.d.ts +1 -1
  353. package/dist/src/renderer/navigation/history.injectable.d.ts +1 -1
  354. package/dist/src/renderer/navigation/observable-history.injectable.d.ts +1 -1
  355. package/dist/src/renderer/port-forward/port-forward-dialog-model/port-forward-dialog-model.injectable.d.ts +1 -1
  356. package/dist/src/renderer/port-forward/port-forward-dialog.d.ts +1 -3
  357. package/dist/src/renderer/port-forward/port-forward-store/port-forward-store.injectable.d.ts +1 -1
  358. package/dist/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.injectable.d.ts +1 -1
  359. package/dist/src/renderer/protocol-handler/lens-protocol-router-renderer/lens-protocol-router-renderer.injectable.d.ts +1 -1
  360. package/dist/src/renderer/search-store/search-store.injectable.d.ts +1 -1
  361. package/dist/src/renderer/utils/create-storage/create-storage.injectable.d.ts +1 -1
  362. package/dist/src/renderer/utils/save-file.injectable.d.ts +1 -1
  363. package/dist/src/renderer/window/event-listener.injectable.d.ts +1 -1
  364. package/package.json +1 -1
  365. package/dist/src/main/routes/helm-route.d.ts +0 -18
  366. package/dist/src/main/routes/index.d.ts +0 -10
  367. package/dist/src/main/routes/kubeconfig-route.d.ts +0 -8
  368. package/dist/src/main/routes/metrics-route.d.ts +0 -12
  369. package/dist/src/main/routes/port-forward/route-port-forward/route-port-forward.d.ts +0 -11
  370. package/dist/src/main/routes/port-forward/route-port-forward/route-port-forward.injectable.d.ts +0 -3
  371. package/dist/src/main/routes/port-forward-route.d.ts +0 -9
  372. package/dist/src/main/routes/resource-applier-route.d.ts +0 -9
  373. package/dist/src/main/routes/version-route.d.ts +0 -8
@@ -15,7 +15,7 @@
15
15
  \***************************************************************************************************************/
16
16
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17
17
 
18
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ClientCapabilities\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ClientCapabilities),\n/* harmony export */ \"CodeAction\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeAction),\n/* harmony export */ \"CodeActionContext\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeActionContext),\n/* harmony export */ \"CodeActionKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeActionKind),\n/* harmony export */ \"Color\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Color),\n/* harmony export */ \"ColorInformation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ColorPresentation),\n/* harmony export */ \"Command\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Command),\n/* harmony export */ \"CompletionItem\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItem),\n/* harmony export */ \"CompletionItemKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItemKind),\n/* harmony export */ \"CompletionItemTag\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItemTag),\n/* harmony export */ \"CompletionList\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionList),\n/* harmony export */ \"Diagnostic\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Diagnostic),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DiagnosticSeverity),\n/* harmony export */ \"DocumentHighlight\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentHighlight),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentHighlightKind),\n/* harmony export */ \"DocumentLink\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentLink),\n/* harmony export */ \"DocumentSymbol\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentSymbol),\n/* harmony export */ \"FileType\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FileType),\n/* harmony export */ \"FoldingRange\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FoldingRange),\n/* harmony export */ \"FoldingRangeKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FoldingRangeKind),\n/* harmony export */ \"Hover\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Hover),\n/* harmony export */ \"InsertTextFormat\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.InsertTextFormat),\n/* harmony export */ \"Location\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Location),\n/* harmony export */ \"MarkedString\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkedString),\n/* harmony export */ \"MarkupContent\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkupContent),\n/* harmony export */ \"MarkupKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkupKind),\n/* harmony export */ \"Position\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Position),\n/* harmony export */ \"Range\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Range),\n/* harmony export */ \"SelectionRange\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SelectionRange),\n/* harmony export */ \"SymbolInformation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SymbolInformation),\n/* harmony export */ \"SymbolKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SymbolKind),\n/* harmony export */ \"TextDocument\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextDocument),\n/* harmony export */ \"TextDocumentEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextDocumentEdit),\n/* harmony export */ \"TextEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextEdit),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.VersionedTextDocumentIdentifier),\n/* harmony export */ \"WorkspaceEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.WorkspaceEdit),\n/* harmony export */ \"getDefaultCSSDataProvider\": () => (/* binding */ getDefaultCSSDataProvider),\n/* harmony export */ \"newCSSDataProvider\": () => (/* binding */ newCSSDataProvider),\n/* harmony export */ \"getCSSLanguageService\": () => (/* binding */ getCSSLanguageService),\n/* harmony export */ \"getSCSSLanguageService\": () => (/* binding */ getSCSSLanguageService),\n/* harmony export */ \"getLESSLanguageService\": () => (/* binding */ getLESSLanguageService)\n/* harmony export */ });\n/* harmony import */ var _parser_cssParser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parser/cssParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.js\");\n/* harmony import */ var _services_cssCompletion_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./services/cssCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.js\");\n/* harmony import */ var _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./services/cssHover.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssHover.js\");\n/* harmony import */ var _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./services/cssNavigation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssNavigation.js\");\n/* harmony import */ var _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./services/cssCodeActions.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCodeActions.js\");\n/* harmony import */ var _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./services/cssValidation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssValidation.js\");\n/* harmony import */ var _parser_scssParser_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parser/scssParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssParser.js\");\n/* harmony import */ var _services_scssCompletion_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./services/scssCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssCompletion.js\");\n/* harmony import */ var _parser_lessParser_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parser/lessParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessParser.js\");\n/* harmony import */ var _services_lessCompletion_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./services/lessCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lessCompletion.js\");\n/* harmony import */ var _services_cssFolding_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/cssFolding.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssFolding.js\");\n/* harmony import */ var _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./languageFacts/dataManager.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataManager.js\");\n/* harmony import */ var _languageFacts_dataProvider_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./languageFacts/dataProvider.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataProvider.js\");\n/* harmony import */ var _services_cssSelectionRange_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./services/cssSelectionRange.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssSelectionRange.js\");\n/* harmony import */ var _services_scssNavigation_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./services/scssNavigation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssNavigation.js\");\n/* harmony import */ var _data_webCustomData_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./data/webCustomData.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction getDefaultCSSDataProvider() {\n return newCSSDataProvider(_data_webCustomData_js__WEBPACK_IMPORTED_MODULE_15__.cssData);\n}\nfunction newCSSDataProvider(data) {\n return new _languageFacts_dataProvider_js__WEBPACK_IMPORTED_MODULE_12__.CSSDataProvider(data);\n}\nfunction createFacade(parser, completion, hover, navigation, codeActions, validation, cssDataManager) {\n return {\n configure: function (settings) {\n validation.configure(settings);\n completion.configure(settings === null || settings === void 0 ? void 0 : settings.completion);\n hover.configure(settings === null || settings === void 0 ? void 0 : settings.hover);\n },\n setDataProviders: cssDataManager.setDataProviders.bind(cssDataManager),\n doValidation: validation.doValidation.bind(validation),\n parseStylesheet: parser.parseStylesheet.bind(parser),\n doComplete: completion.doComplete.bind(completion),\n doComplete2: completion.doComplete2.bind(completion),\n setCompletionParticipants: completion.setCompletionParticipants.bind(completion),\n doHover: hover.doHover.bind(hover),\n findDefinition: navigation.findDefinition.bind(navigation),\n findReferences: navigation.findReferences.bind(navigation),\n findDocumentHighlights: navigation.findDocumentHighlights.bind(navigation),\n findDocumentLinks: navigation.findDocumentLinks.bind(navigation),\n findDocumentLinks2: navigation.findDocumentLinks2.bind(navigation),\n findDocumentSymbols: navigation.findDocumentSymbols.bind(navigation),\n doCodeActions: codeActions.doCodeActions.bind(codeActions),\n doCodeActions2: codeActions.doCodeActions2.bind(codeActions),\n findDocumentColors: navigation.findDocumentColors.bind(navigation),\n getColorPresentations: navigation.getColorPresentations.bind(navigation),\n doRename: navigation.doRename.bind(navigation),\n getFoldingRanges: _services_cssFolding_js__WEBPACK_IMPORTED_MODULE_10__.getFoldingRanges,\n getSelectionRanges: _services_cssSelectionRange_js__WEBPACK_IMPORTED_MODULE_13__.getSelectionRanges\n };\n}\nvar defaultLanguageServiceOptions = {};\nfunction getCSSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_cssParser_js__WEBPACK_IMPORTED_MODULE_0__.Parser(), new _services_cssCompletion_js__WEBPACK_IMPORTED_MODULE_1__.CSSCompletion(null, options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__.CSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\nfunction getSCSSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_scssParser_js__WEBPACK_IMPORTED_MODULE_6__.SCSSParser(), new _services_scssCompletion_js__WEBPACK_IMPORTED_MODULE_7__.SCSSCompletion(options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_scssNavigation_js__WEBPACK_IMPORTED_MODULE_14__.SCSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\nfunction getLESSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_lessParser_js__WEBPACK_IMPORTED_MODULE_8__.LESSParser(), new _services_lessCompletion_js__WEBPACK_IMPORTED_MODULE_9__.LESSCompletion(options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__.CSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js?");
18
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ClientCapabilities\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ClientCapabilities),\n/* harmony export */ \"CodeAction\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeAction),\n/* harmony export */ \"CodeActionContext\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeActionContext),\n/* harmony export */ \"CodeActionKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeActionKind),\n/* harmony export */ \"Color\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Color),\n/* harmony export */ \"ColorInformation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ColorPresentation),\n/* harmony export */ \"Command\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Command),\n/* harmony export */ \"CompletionItem\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItem),\n/* harmony export */ \"CompletionItemKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItemKind),\n/* harmony export */ \"CompletionItemTag\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItemTag),\n/* harmony export */ \"CompletionList\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionList),\n/* harmony export */ \"Diagnostic\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Diagnostic),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DiagnosticSeverity),\n/* harmony export */ \"DocumentHighlight\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentHighlight),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentHighlightKind),\n/* harmony export */ \"DocumentLink\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentLink),\n/* harmony export */ \"DocumentSymbol\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentSymbol),\n/* harmony export */ \"FileType\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FileType),\n/* harmony export */ \"FoldingRange\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FoldingRange),\n/* harmony export */ \"FoldingRangeKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FoldingRangeKind),\n/* harmony export */ \"Hover\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Hover),\n/* harmony export */ \"InsertTextFormat\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.InsertTextFormat),\n/* harmony export */ \"Location\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Location),\n/* harmony export */ \"MarkedString\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkedString),\n/* harmony export */ \"MarkupContent\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkupContent),\n/* harmony export */ \"MarkupKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkupKind),\n/* harmony export */ \"Position\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Position),\n/* harmony export */ \"Range\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Range),\n/* harmony export */ \"SelectionRange\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SelectionRange),\n/* harmony export */ \"SymbolInformation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SymbolInformation),\n/* harmony export */ \"SymbolKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SymbolKind),\n/* harmony export */ \"TextDocument\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextDocument),\n/* harmony export */ \"TextDocumentEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextDocumentEdit),\n/* harmony export */ \"TextEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextEdit),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.VersionedTextDocumentIdentifier),\n/* harmony export */ \"WorkspaceEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.WorkspaceEdit),\n/* harmony export */ \"getCSSLanguageService\": () => (/* binding */ getCSSLanguageService),\n/* harmony export */ \"getDefaultCSSDataProvider\": () => (/* binding */ getDefaultCSSDataProvider),\n/* harmony export */ \"getLESSLanguageService\": () => (/* binding */ getLESSLanguageService),\n/* harmony export */ \"getSCSSLanguageService\": () => (/* binding */ getSCSSLanguageService),\n/* harmony export */ \"newCSSDataProvider\": () => (/* binding */ newCSSDataProvider)\n/* harmony export */ });\n/* harmony import */ var _parser_cssParser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parser/cssParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.js\");\n/* harmony import */ var _services_cssCompletion_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./services/cssCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.js\");\n/* harmony import */ var _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./services/cssHover.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssHover.js\");\n/* harmony import */ var _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./services/cssNavigation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssNavigation.js\");\n/* harmony import */ var _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./services/cssCodeActions.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCodeActions.js\");\n/* harmony import */ var _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./services/cssValidation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssValidation.js\");\n/* harmony import */ var _parser_scssParser_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parser/scssParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssParser.js\");\n/* harmony import */ var _services_scssCompletion_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./services/scssCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssCompletion.js\");\n/* harmony import */ var _parser_lessParser_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parser/lessParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessParser.js\");\n/* harmony import */ var _services_lessCompletion_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./services/lessCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lessCompletion.js\");\n/* harmony import */ var _services_cssFolding_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/cssFolding.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssFolding.js\");\n/* harmony import */ var _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./languageFacts/dataManager.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataManager.js\");\n/* harmony import */ var _languageFacts_dataProvider_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./languageFacts/dataProvider.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataProvider.js\");\n/* harmony import */ var _services_cssSelectionRange_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./services/cssSelectionRange.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssSelectionRange.js\");\n/* harmony import */ var _services_scssNavigation_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./services/scssNavigation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssNavigation.js\");\n/* harmony import */ var _data_webCustomData_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./data/webCustomData.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction getDefaultCSSDataProvider() {\n return newCSSDataProvider(_data_webCustomData_js__WEBPACK_IMPORTED_MODULE_15__.cssData);\n}\nfunction newCSSDataProvider(data) {\n return new _languageFacts_dataProvider_js__WEBPACK_IMPORTED_MODULE_12__.CSSDataProvider(data);\n}\nfunction createFacade(parser, completion, hover, navigation, codeActions, validation, cssDataManager) {\n return {\n configure: function (settings) {\n validation.configure(settings);\n completion.configure(settings === null || settings === void 0 ? void 0 : settings.completion);\n hover.configure(settings === null || settings === void 0 ? void 0 : settings.hover);\n },\n setDataProviders: cssDataManager.setDataProviders.bind(cssDataManager),\n doValidation: validation.doValidation.bind(validation),\n parseStylesheet: parser.parseStylesheet.bind(parser),\n doComplete: completion.doComplete.bind(completion),\n doComplete2: completion.doComplete2.bind(completion),\n setCompletionParticipants: completion.setCompletionParticipants.bind(completion),\n doHover: hover.doHover.bind(hover),\n findDefinition: navigation.findDefinition.bind(navigation),\n findReferences: navigation.findReferences.bind(navigation),\n findDocumentHighlights: navigation.findDocumentHighlights.bind(navigation),\n findDocumentLinks: navigation.findDocumentLinks.bind(navigation),\n findDocumentLinks2: navigation.findDocumentLinks2.bind(navigation),\n findDocumentSymbols: navigation.findDocumentSymbols.bind(navigation),\n doCodeActions: codeActions.doCodeActions.bind(codeActions),\n doCodeActions2: codeActions.doCodeActions2.bind(codeActions),\n findDocumentColors: navigation.findDocumentColors.bind(navigation),\n getColorPresentations: navigation.getColorPresentations.bind(navigation),\n doRename: navigation.doRename.bind(navigation),\n getFoldingRanges: _services_cssFolding_js__WEBPACK_IMPORTED_MODULE_10__.getFoldingRanges,\n getSelectionRanges: _services_cssSelectionRange_js__WEBPACK_IMPORTED_MODULE_13__.getSelectionRanges\n };\n}\nvar defaultLanguageServiceOptions = {};\nfunction getCSSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_cssParser_js__WEBPACK_IMPORTED_MODULE_0__.Parser(), new _services_cssCompletion_js__WEBPACK_IMPORTED_MODULE_1__.CSSCompletion(null, options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__.CSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\nfunction getSCSSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_scssParser_js__WEBPACK_IMPORTED_MODULE_6__.SCSSParser(), new _services_scssCompletion_js__WEBPACK_IMPORTED_MODULE_7__.SCSSCompletion(options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_scssNavigation_js__WEBPACK_IMPORTED_MODULE_14__.SCSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\nfunction getLESSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_lessParser_js__WEBPACK_IMPORTED_MODULE_8__.LESSParser(), new _services_lessCompletion_js__WEBPACK_IMPORTED_MODULE_9__.LESSCompletion(options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__.CSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js?");
19
19
 
20
20
  /***/ }),
21
21
 
@@ -25,7 +25,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
25
25
  \*************************************************************************************************************/
26
26
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
27
27
 
28
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"TextDocument\": () => (/* reexport safe */ _vscode_languageserver_textdocument_lib_esm_main_js__WEBPACK_IMPORTED_MODULE_1__.TextDocument),\n/* harmony export */ \"Range\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Range),\n/* harmony export */ \"Position\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Position),\n/* harmony export */ \"MarkupContent\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupContent),\n/* harmony export */ \"MarkupKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind),\n/* harmony export */ \"Color\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Color),\n/* harmony export */ \"ColorInformation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.ColorPresentation),\n/* harmony export */ \"FoldingRange\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRange),\n/* harmony export */ \"FoldingRangeKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind),\n/* harmony export */ \"SelectionRange\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SelectionRange),\n/* harmony export */ \"Diagnostic\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Diagnostic),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity),\n/* harmony export */ \"CompletionItem\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItem),\n/* harmony export */ \"CompletionItemKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind),\n/* harmony export */ \"CompletionList\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionList),\n/* harmony export */ \"CompletionItemTag\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemTag),\n/* harmony export */ \"InsertTextFormat\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.InsertTextFormat),\n/* harmony export */ \"SymbolInformation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SymbolInformation),\n/* harmony export */ \"SymbolKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind),\n/* harmony export */ \"DocumentSymbol\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentSymbol),\n/* harmony export */ \"Location\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Location),\n/* harmony export */ \"Hover\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Hover),\n/* harmony export */ \"MarkedString\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkedString),\n/* harmony export */ \"CodeActionContext\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeActionContext),\n/* harmony export */ \"Command\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Command),\n/* harmony export */ \"CodeAction\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeAction),\n/* harmony export */ \"DocumentHighlight\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlight),\n/* harmony export */ \"DocumentLink\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentLink),\n/* harmony export */ \"WorkspaceEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.WorkspaceEdit),\n/* harmony export */ \"TextEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit),\n/* harmony export */ \"CodeActionKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeActionKind),\n/* harmony export */ \"TextDocumentEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.TextDocumentEdit),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.VersionedTextDocumentIdentifier),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind),\n/* harmony export */ \"ClientCapabilities\": () => (/* binding */ ClientCapabilities),\n/* harmony export */ \"FileType\": () => (/* binding */ FileType)\n/* harmony export */ });\n/* harmony import */ var _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../vscode-languageserver-types/main.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.js\");\n/* harmony import */ var _vscode_languageserver_textdocument_lib_esm_main_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../vscode-languageserver-textdocument/lib/esm/main.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-textdocument/lib/esm/main.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n\n\nvar ClientCapabilities;\n(function (ClientCapabilities) {\n ClientCapabilities.LATEST = {\n textDocument: {\n completion: {\n completionItem: {\n documentationFormat: [_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.Markdown, _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.PlainText]\n }\n },\n hover: {\n contentFormat: [_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.Markdown, _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.PlainText]\n }\n }\n };\n})(ClientCapabilities || (ClientCapabilities = {}));\nvar FileType;\n(function (FileType) {\n /**\n * The file type is unknown.\n */\n FileType[FileType[\"Unknown\"] = 0] = \"Unknown\";\n /**\n * A regular file.\n */\n FileType[FileType[\"File\"] = 1] = \"File\";\n /**\n * A directory.\n */\n FileType[FileType[\"Directory\"] = 2] = \"Directory\";\n /**\n * A symbolic link to a file.\n */\n FileType[FileType[\"SymbolicLink\"] = 64] = \"SymbolicLink\";\n})(FileType || (FileType = {}));\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js?");
28
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ClientCapabilities\": () => (/* binding */ ClientCapabilities),\n/* harmony export */ \"CodeAction\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeAction),\n/* harmony export */ \"CodeActionContext\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeActionContext),\n/* harmony export */ \"CodeActionKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeActionKind),\n/* harmony export */ \"Color\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Color),\n/* harmony export */ \"ColorInformation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.ColorPresentation),\n/* harmony export */ \"Command\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Command),\n/* harmony export */ \"CompletionItem\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItem),\n/* harmony export */ \"CompletionItemKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind),\n/* harmony export */ \"CompletionItemTag\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemTag),\n/* harmony export */ \"CompletionList\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionList),\n/* harmony export */ \"Diagnostic\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Diagnostic),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity),\n/* harmony export */ \"DocumentHighlight\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlight),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind),\n/* harmony export */ \"DocumentLink\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentLink),\n/* harmony export */ \"DocumentSymbol\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentSymbol),\n/* harmony export */ \"FileType\": () => (/* binding */ FileType),\n/* harmony export */ \"FoldingRange\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRange),\n/* harmony export */ \"FoldingRangeKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind),\n/* harmony export */ \"Hover\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Hover),\n/* harmony export */ \"InsertTextFormat\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.InsertTextFormat),\n/* harmony export */ \"Location\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Location),\n/* harmony export */ \"MarkedString\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkedString),\n/* harmony export */ \"MarkupContent\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupContent),\n/* harmony export */ \"MarkupKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind),\n/* harmony export */ \"Position\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Position),\n/* harmony export */ \"Range\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Range),\n/* harmony export */ \"SelectionRange\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SelectionRange),\n/* harmony export */ \"SymbolInformation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SymbolInformation),\n/* harmony export */ \"SymbolKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind),\n/* harmony export */ \"TextDocument\": () => (/* reexport safe */ _vscode_languageserver_textdocument_lib_esm_main_js__WEBPACK_IMPORTED_MODULE_1__.TextDocument),\n/* harmony export */ \"TextDocumentEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.TextDocumentEdit),\n/* harmony export */ \"TextEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.VersionedTextDocumentIdentifier),\n/* harmony export */ \"WorkspaceEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.WorkspaceEdit)\n/* harmony export */ });\n/* harmony import */ var _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../vscode-languageserver-types/main.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.js\");\n/* harmony import */ var _vscode_languageserver_textdocument_lib_esm_main_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../vscode-languageserver-textdocument/lib/esm/main.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-textdocument/lib/esm/main.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n\n\nvar ClientCapabilities;\n(function (ClientCapabilities) {\n ClientCapabilities.LATEST = {\n textDocument: {\n completion: {\n completionItem: {\n documentationFormat: [_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.Markdown, _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.PlainText]\n }\n },\n hover: {\n contentFormat: [_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.Markdown, _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.PlainText]\n }\n }\n };\n})(ClientCapabilities || (ClientCapabilities = {}));\nvar FileType;\n(function (FileType) {\n /**\n * The file type is unknown.\n */\n FileType[FileType[\"Unknown\"] = 0] = \"Unknown\";\n /**\n * A regular file.\n */\n FileType[FileType[\"File\"] = 1] = \"File\";\n /**\n * A directory.\n */\n FileType[FileType[\"Directory\"] = 2] = \"Directory\";\n /**\n * A symbolic link to a file.\n */\n FileType[FileType[\"SymbolicLink\"] = 64] = \"SymbolicLink\";\n})(FileType || (FileType = {}));\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js?");
29
29
 
30
30
  /***/ }),
31
31
 
@@ -45,7 +45,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
45
45
  \**********************************************************************************************************************/
46
46
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
47
47
 
48
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"positionKeywords\": () => (/* binding */ positionKeywords),\n/* harmony export */ \"repeatStyleKeywords\": () => (/* binding */ repeatStyleKeywords),\n/* harmony export */ \"lineStyleKeywords\": () => (/* binding */ lineStyleKeywords),\n/* harmony export */ \"lineWidthKeywords\": () => (/* binding */ lineWidthKeywords),\n/* harmony export */ \"boxKeywords\": () => (/* binding */ boxKeywords),\n/* harmony export */ \"geometryBoxKeywords\": () => (/* binding */ geometryBoxKeywords),\n/* harmony export */ \"cssWideKeywords\": () => (/* binding */ cssWideKeywords),\n/* harmony export */ \"imageFunctions\": () => (/* binding */ imageFunctions),\n/* harmony export */ \"transitionTimingFunctions\": () => (/* binding */ transitionTimingFunctions),\n/* harmony export */ \"basicShapeFunctions\": () => (/* binding */ basicShapeFunctions),\n/* harmony export */ \"units\": () => (/* binding */ units),\n/* harmony export */ \"html5Tags\": () => (/* binding */ html5Tags),\n/* harmony export */ \"svgElements\": () => (/* binding */ svgElements),\n/* harmony export */ \"pageBoxDirectives\": () => (/* binding */ pageBoxDirectives)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar positionKeywords = {\n 'bottom': 'Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.',\n 'center': 'Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.',\n 'left': 'Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.',\n 'right': 'Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.',\n 'top': 'Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset.'\n};\nvar repeatStyleKeywords = {\n 'no-repeat': 'Placed once and not repeated in this direction.',\n 'repeat': 'Repeated in this direction as often as needed to cover the background painting area.',\n 'repeat-x': 'Computes to ‘repeat no-repeat’.',\n 'repeat-y': 'Computes to ‘no-repeat repeat’.',\n 'round': 'Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.',\n 'space': 'Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area.'\n};\nvar lineStyleKeywords = {\n 'dashed': 'A series of square-ended dashes.',\n 'dotted': 'A series of round dots.',\n 'double': 'Two parallel solid lines with some space between them.',\n 'groove': 'Looks as if it were carved in the canvas.',\n 'hidden': 'Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.',\n 'inset': 'Looks as if the content on the inside of the border is sunken into the canvas.',\n 'none': 'No border. Color and width are ignored.',\n 'outset': 'Looks as if the content on the inside of the border is coming out of the canvas.',\n 'ridge': 'Looks as if it were coming out of the canvas.',\n 'solid': 'A single line segment.'\n};\nvar lineWidthKeywords = ['medium', 'thick', 'thin'];\nvar boxKeywords = {\n 'border-box': 'The background is painted within (clipped to) the border box.',\n 'content-box': 'The background is painted within (clipped to) the content box.',\n 'padding-box': 'The background is painted within (clipped to) the padding box.'\n};\nvar geometryBoxKeywords = {\n 'margin-box': 'Uses the margin box as reference box.',\n 'fill-box': 'Uses the object bounding box as reference box.',\n 'stroke-box': 'Uses the stroke bounding box as reference box.',\n 'view-box': 'Uses the nearest SVG viewport as reference box.'\n};\nvar cssWideKeywords = {\n 'initial': 'Represents the value specified as the property’s initial value.',\n 'inherit': 'Represents the computed value of the property on the element’s parent.',\n 'unset': 'Acts as either `inherit` or `initial`, depending on whether the property is inherited or not.'\n};\nvar imageFunctions = {\n 'url()': 'Reference an image file by URL',\n 'image()': 'Provide image fallbacks and annotations.',\n '-webkit-image-set()': 'Provide multiple resolutions. Remember to use unprefixed image-set() in addition.',\n 'image-set()': 'Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.',\n '-moz-element()': 'Use an element in the document as an image. Remember to use unprefixed element() in addition.',\n 'element()': 'Use an element in the document as an image.',\n 'cross-fade()': 'Indicates the two images to be combined and how far along in the transition the combination is.',\n '-webkit-gradient()': 'Deprecated. Use modern linear-gradient() or radial-gradient() instead.',\n '-webkit-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n '-moz-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n '-o-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n 'linear-gradient()': 'A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.',\n '-webkit-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n '-moz-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n '-o-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n 'repeating-linear-gradient()': 'Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.',\n '-webkit-radial-gradient()': 'Radial gradient. Remember to use unprefixed version in addition.',\n '-moz-radial-gradient()': 'Radial gradient. Remember to use unprefixed version in addition.',\n 'radial-gradient()': 'Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.',\n '-webkit-repeating-radial-gradient()': 'Repeating radial gradient. Remember to use unprefixed version in addition.',\n '-moz-repeating-radial-gradient()': 'Repeating radial gradient. Remember to use unprefixed version in addition.',\n 'repeating-radial-gradient()': 'Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.'\n};\nvar transitionTimingFunctions = {\n 'ease': 'Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).',\n 'ease-in': 'Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).',\n 'ease-in-out': 'Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).',\n 'ease-out': 'Equivalent to cubic-bezier(0, 0, 0.58, 1.0).',\n 'linear': 'Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).',\n 'step-end': 'Equivalent to steps(1, end).',\n 'step-start': 'Equivalent to steps(1, start).',\n 'steps()': 'The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.',\n 'cubic-bezier()': 'Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).',\n 'cubic-bezier(0.6, -0.28, 0.735, 0.045)': 'Ease-in Back. Overshoots.',\n 'cubic-bezier(0.68, -0.55, 0.265, 1.55)': 'Ease-in-out Back. Overshoots.',\n 'cubic-bezier(0.175, 0.885, 0.32, 1.275)': 'Ease-out Back. Overshoots.',\n 'cubic-bezier(0.6, 0.04, 0.98, 0.335)': 'Ease-in Circular. Based on half circle.',\n 'cubic-bezier(0.785, 0.135, 0.15, 0.86)': 'Ease-in-out Circular. Based on half circle.',\n 'cubic-bezier(0.075, 0.82, 0.165, 1)': 'Ease-out Circular. Based on half circle.',\n 'cubic-bezier(0.55, 0.055, 0.675, 0.19)': 'Ease-in Cubic. Based on power of three.',\n 'cubic-bezier(0.645, 0.045, 0.355, 1)': 'Ease-in-out Cubic. Based on power of three.',\n 'cubic-bezier(0.215, 0.610, 0.355, 1)': 'Ease-out Cubic. Based on power of three.',\n 'cubic-bezier(0.95, 0.05, 0.795, 0.035)': 'Ease-in Exponential. Based on two to the power ten.',\n 'cubic-bezier(1, 0, 0, 1)': 'Ease-in-out Exponential. Based on two to the power ten.',\n 'cubic-bezier(0.19, 1, 0.22, 1)': 'Ease-out Exponential. Based on two to the power ten.',\n 'cubic-bezier(0.47, 0, 0.745, 0.715)': 'Ease-in Sine.',\n 'cubic-bezier(0.445, 0.05, 0.55, 0.95)': 'Ease-in-out Sine.',\n 'cubic-bezier(0.39, 0.575, 0.565, 1)': 'Ease-out Sine.',\n 'cubic-bezier(0.55, 0.085, 0.68, 0.53)': 'Ease-in Quadratic. Based on power of two.',\n 'cubic-bezier(0.455, 0.03, 0.515, 0.955)': 'Ease-in-out Quadratic. Based on power of two.',\n 'cubic-bezier(0.25, 0.46, 0.45, 0.94)': 'Ease-out Quadratic. Based on power of two.',\n 'cubic-bezier(0.895, 0.03, 0.685, 0.22)': 'Ease-in Quartic. Based on power of four.',\n 'cubic-bezier(0.77, 0, 0.175, 1)': 'Ease-in-out Quartic. Based on power of four.',\n 'cubic-bezier(0.165, 0.84, 0.44, 1)': 'Ease-out Quartic. Based on power of four.',\n 'cubic-bezier(0.755, 0.05, 0.855, 0.06)': 'Ease-in Quintic. Based on power of five.',\n 'cubic-bezier(0.86, 0, 0.07, 1)': 'Ease-in-out Quintic. Based on power of five.',\n 'cubic-bezier(0.23, 1, 0.320, 1)': 'Ease-out Quintic. Based on power of five.'\n};\nvar basicShapeFunctions = {\n 'circle()': 'Defines a circle.',\n 'ellipse()': 'Defines an ellipse.',\n 'inset()': 'Defines an inset rectangle.',\n 'polygon()': 'Defines a polygon.'\n};\nvar units = {\n 'length': ['em', 'rem', 'ex', 'px', 'cm', 'mm', 'in', 'pt', 'pc', 'ch', 'vw', 'vh', 'vmin', 'vmax'],\n 'angle': ['deg', 'rad', 'grad', 'turn'],\n 'time': ['ms', 's'],\n 'frequency': ['Hz', 'kHz'],\n 'resolution': ['dpi', 'dpcm', 'dppx'],\n 'percentage': ['%', 'fr']\n};\nvar html5Tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption',\n 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer',\n 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link',\n 'main', 'map', 'mark', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q',\n 'rb', 'rp', 'rt', 'rtc', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td',\n 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'const', 'video', 'wbr'];\nvar svgElements = ['circle', 'clipPath', 'cursor', 'defs', 'desc', 'ellipse', 'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting',\n 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology',\n 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence', 'filter', 'foreignObject', 'g', 'hatch', 'hatchpath', 'image', 'line', 'linearGradient',\n 'marker', 'mask', 'mesh', 'meshpatch', 'meshrow', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'set', 'solidcolor', 'stop', 'svg', 'switch',\n 'symbol', 'text', 'textPath', 'tspan', 'use', 'view'];\nvar pageBoxDirectives = [\n '@bottom-center', '@bottom-left', '@bottom-left-corner', '@bottom-right', '@bottom-right-corner',\n '@left-bottom', '@left-middle', '@left-top', '@right-bottom', '@right-middle', '@right-top',\n '@top-center', '@top-left', '@top-left-corner', '@top-right', '@top-right-corner'\n];\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/builtinData.js?");
48
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"basicShapeFunctions\": () => (/* binding */ basicShapeFunctions),\n/* harmony export */ \"boxKeywords\": () => (/* binding */ boxKeywords),\n/* harmony export */ \"cssWideKeywords\": () => (/* binding */ cssWideKeywords),\n/* harmony export */ \"geometryBoxKeywords\": () => (/* binding */ geometryBoxKeywords),\n/* harmony export */ \"html5Tags\": () => (/* binding */ html5Tags),\n/* harmony export */ \"imageFunctions\": () => (/* binding */ imageFunctions),\n/* harmony export */ \"lineStyleKeywords\": () => (/* binding */ lineStyleKeywords),\n/* harmony export */ \"lineWidthKeywords\": () => (/* binding */ lineWidthKeywords),\n/* harmony export */ \"pageBoxDirectives\": () => (/* binding */ pageBoxDirectives),\n/* harmony export */ \"positionKeywords\": () => (/* binding */ positionKeywords),\n/* harmony export */ \"repeatStyleKeywords\": () => (/* binding */ repeatStyleKeywords),\n/* harmony export */ \"svgElements\": () => (/* binding */ svgElements),\n/* harmony export */ \"transitionTimingFunctions\": () => (/* binding */ transitionTimingFunctions),\n/* harmony export */ \"units\": () => (/* binding */ units)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar positionKeywords = {\n 'bottom': 'Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.',\n 'center': 'Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.',\n 'left': 'Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.',\n 'right': 'Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.',\n 'top': 'Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset.'\n};\nvar repeatStyleKeywords = {\n 'no-repeat': 'Placed once and not repeated in this direction.',\n 'repeat': 'Repeated in this direction as often as needed to cover the background painting area.',\n 'repeat-x': 'Computes to ‘repeat no-repeat’.',\n 'repeat-y': 'Computes to ‘no-repeat repeat’.',\n 'round': 'Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.',\n 'space': 'Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area.'\n};\nvar lineStyleKeywords = {\n 'dashed': 'A series of square-ended dashes.',\n 'dotted': 'A series of round dots.',\n 'double': 'Two parallel solid lines with some space between them.',\n 'groove': 'Looks as if it were carved in the canvas.',\n 'hidden': 'Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.',\n 'inset': 'Looks as if the content on the inside of the border is sunken into the canvas.',\n 'none': 'No border. Color and width are ignored.',\n 'outset': 'Looks as if the content on the inside of the border is coming out of the canvas.',\n 'ridge': 'Looks as if it were coming out of the canvas.',\n 'solid': 'A single line segment.'\n};\nvar lineWidthKeywords = ['medium', 'thick', 'thin'];\nvar boxKeywords = {\n 'border-box': 'The background is painted within (clipped to) the border box.',\n 'content-box': 'The background is painted within (clipped to) the content box.',\n 'padding-box': 'The background is painted within (clipped to) the padding box.'\n};\nvar geometryBoxKeywords = {\n 'margin-box': 'Uses the margin box as reference box.',\n 'fill-box': 'Uses the object bounding box as reference box.',\n 'stroke-box': 'Uses the stroke bounding box as reference box.',\n 'view-box': 'Uses the nearest SVG viewport as reference box.'\n};\nvar cssWideKeywords = {\n 'initial': 'Represents the value specified as the property’s initial value.',\n 'inherit': 'Represents the computed value of the property on the element’s parent.',\n 'unset': 'Acts as either `inherit` or `initial`, depending on whether the property is inherited or not.'\n};\nvar imageFunctions = {\n 'url()': 'Reference an image file by URL',\n 'image()': 'Provide image fallbacks and annotations.',\n '-webkit-image-set()': 'Provide multiple resolutions. Remember to use unprefixed image-set() in addition.',\n 'image-set()': 'Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.',\n '-moz-element()': 'Use an element in the document as an image. Remember to use unprefixed element() in addition.',\n 'element()': 'Use an element in the document as an image.',\n 'cross-fade()': 'Indicates the two images to be combined and how far along in the transition the combination is.',\n '-webkit-gradient()': 'Deprecated. Use modern linear-gradient() or radial-gradient() instead.',\n '-webkit-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n '-moz-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n '-o-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n 'linear-gradient()': 'A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.',\n '-webkit-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n '-moz-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n '-o-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n 'repeating-linear-gradient()': 'Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.',\n '-webkit-radial-gradient()': 'Radial gradient. Remember to use unprefixed version in addition.',\n '-moz-radial-gradient()': 'Radial gradient. Remember to use unprefixed version in addition.',\n 'radial-gradient()': 'Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.',\n '-webkit-repeating-radial-gradient()': 'Repeating radial gradient. Remember to use unprefixed version in addition.',\n '-moz-repeating-radial-gradient()': 'Repeating radial gradient. Remember to use unprefixed version in addition.',\n 'repeating-radial-gradient()': 'Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.'\n};\nvar transitionTimingFunctions = {\n 'ease': 'Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).',\n 'ease-in': 'Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).',\n 'ease-in-out': 'Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).',\n 'ease-out': 'Equivalent to cubic-bezier(0, 0, 0.58, 1.0).',\n 'linear': 'Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).',\n 'step-end': 'Equivalent to steps(1, end).',\n 'step-start': 'Equivalent to steps(1, start).',\n 'steps()': 'The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.',\n 'cubic-bezier()': 'Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).',\n 'cubic-bezier(0.6, -0.28, 0.735, 0.045)': 'Ease-in Back. Overshoots.',\n 'cubic-bezier(0.68, -0.55, 0.265, 1.55)': 'Ease-in-out Back. Overshoots.',\n 'cubic-bezier(0.175, 0.885, 0.32, 1.275)': 'Ease-out Back. Overshoots.',\n 'cubic-bezier(0.6, 0.04, 0.98, 0.335)': 'Ease-in Circular. Based on half circle.',\n 'cubic-bezier(0.785, 0.135, 0.15, 0.86)': 'Ease-in-out Circular. Based on half circle.',\n 'cubic-bezier(0.075, 0.82, 0.165, 1)': 'Ease-out Circular. Based on half circle.',\n 'cubic-bezier(0.55, 0.055, 0.675, 0.19)': 'Ease-in Cubic. Based on power of three.',\n 'cubic-bezier(0.645, 0.045, 0.355, 1)': 'Ease-in-out Cubic. Based on power of three.',\n 'cubic-bezier(0.215, 0.610, 0.355, 1)': 'Ease-out Cubic. Based on power of three.',\n 'cubic-bezier(0.95, 0.05, 0.795, 0.035)': 'Ease-in Exponential. Based on two to the power ten.',\n 'cubic-bezier(1, 0, 0, 1)': 'Ease-in-out Exponential. Based on two to the power ten.',\n 'cubic-bezier(0.19, 1, 0.22, 1)': 'Ease-out Exponential. Based on two to the power ten.',\n 'cubic-bezier(0.47, 0, 0.745, 0.715)': 'Ease-in Sine.',\n 'cubic-bezier(0.445, 0.05, 0.55, 0.95)': 'Ease-in-out Sine.',\n 'cubic-bezier(0.39, 0.575, 0.565, 1)': 'Ease-out Sine.',\n 'cubic-bezier(0.55, 0.085, 0.68, 0.53)': 'Ease-in Quadratic. Based on power of two.',\n 'cubic-bezier(0.455, 0.03, 0.515, 0.955)': 'Ease-in-out Quadratic. Based on power of two.',\n 'cubic-bezier(0.25, 0.46, 0.45, 0.94)': 'Ease-out Quadratic. Based on power of two.',\n 'cubic-bezier(0.895, 0.03, 0.685, 0.22)': 'Ease-in Quartic. Based on power of four.',\n 'cubic-bezier(0.77, 0, 0.175, 1)': 'Ease-in-out Quartic. Based on power of four.',\n 'cubic-bezier(0.165, 0.84, 0.44, 1)': 'Ease-out Quartic. Based on power of four.',\n 'cubic-bezier(0.755, 0.05, 0.855, 0.06)': 'Ease-in Quintic. Based on power of five.',\n 'cubic-bezier(0.86, 0, 0.07, 1)': 'Ease-in-out Quintic. Based on power of five.',\n 'cubic-bezier(0.23, 1, 0.320, 1)': 'Ease-out Quintic. Based on power of five.'\n};\nvar basicShapeFunctions = {\n 'circle()': 'Defines a circle.',\n 'ellipse()': 'Defines an ellipse.',\n 'inset()': 'Defines an inset rectangle.',\n 'polygon()': 'Defines a polygon.'\n};\nvar units = {\n 'length': ['em', 'rem', 'ex', 'px', 'cm', 'mm', 'in', 'pt', 'pc', 'ch', 'vw', 'vh', 'vmin', 'vmax'],\n 'angle': ['deg', 'rad', 'grad', 'turn'],\n 'time': ['ms', 's'],\n 'frequency': ['Hz', 'kHz'],\n 'resolution': ['dpi', 'dpcm', 'dppx'],\n 'percentage': ['%', 'fr']\n};\nvar html5Tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption',\n 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer',\n 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link',\n 'main', 'map', 'mark', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q',\n 'rb', 'rp', 'rt', 'rtc', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td',\n 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'const', 'video', 'wbr'];\nvar svgElements = ['circle', 'clipPath', 'cursor', 'defs', 'desc', 'ellipse', 'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting',\n 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology',\n 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence', 'filter', 'foreignObject', 'g', 'hatch', 'hatchpath', 'image', 'line', 'linearGradient',\n 'marker', 'mask', 'mesh', 'meshpatch', 'meshrow', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'set', 'solidcolor', 'stop', 'svg', 'switch',\n 'symbol', 'text', 'textPath', 'tspan', 'use', 'view'];\nvar pageBoxDirectives = [\n '@bottom-center', '@bottom-left', '@bottom-left-corner', '@bottom-right', '@bottom-right-corner',\n '@left-bottom', '@left-middle', '@left-top', '@right-bottom', '@right-middle', '@right-top',\n '@top-center', '@top-left', '@top-left-corner', '@top-right', '@top-right-corner'\n];\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/builtinData.js?");
49
49
 
50
50
  /***/ }),
51
51
 
@@ -55,7 +55,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
55
55
  \*****************************************************************************************************************/
56
56
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
57
57
 
58
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"colorFunctions\": () => (/* binding */ colorFunctions),\n/* harmony export */ \"colors\": () => (/* binding */ colors),\n/* harmony export */ \"colorKeywords\": () => (/* binding */ colorKeywords),\n/* harmony export */ \"isColorConstructor\": () => (/* binding */ isColorConstructor),\n/* harmony export */ \"isColorValue\": () => (/* binding */ isColorValue),\n/* harmony export */ \"hexDigit\": () => (/* binding */ hexDigit),\n/* harmony export */ \"colorFromHex\": () => (/* binding */ colorFromHex),\n/* harmony export */ \"colorFrom256RGB\": () => (/* binding */ colorFrom256RGB),\n/* harmony export */ \"colorFromHSL\": () => (/* binding */ colorFromHSL),\n/* harmony export */ \"hslFromColor\": () => (/* binding */ hslFromColor),\n/* harmony export */ \"getColorValue\": () => (/* binding */ getColorValue)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__.loadMessageBundle();\nvar colorFunctions = [\n { func: 'rgb($red, $green, $blue)', desc: localize('css.builtin.rgb', 'Creates a Color from red, green, and blue values.') },\n { func: 'rgba($red, $green, $blue, $alpha)', desc: localize('css.builtin.rgba', 'Creates a Color from red, green, blue, and alpha values.') },\n { func: 'hsl($hue, $saturation, $lightness)', desc: localize('css.builtin.hsl', 'Creates a Color from hue, saturation, and lightness values.') },\n { func: 'hsla($hue, $saturation, $lightness, $alpha)', desc: localize('css.builtin.hsla', 'Creates a Color from hue, saturation, lightness, and alpha values.') }\n];\nvar colors = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgrey: '#a9a9a9',\n darkgreen: '#006400',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n gold: '#ffd700',\n goldenrod: '#daa520',\n gray: '#808080',\n grey: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavender: '#e6e6fa',\n lavenderblush: '#fff0f5',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgrey: '#d3d3d3',\n lightgreen: '#90ee90',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370d8',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#d87093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n red: '#ff0000',\n rebeccapurple: '#663399',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32'\n};\nvar colorKeywords = {\n 'currentColor': 'The value of the \\'color\\' property. The computed value of the \\'currentColor\\' keyword is the computed value of the \\'color\\' property. If the \\'currentColor\\' keyword is set on the \\'color\\' property itself, it is treated as \\'color:inherit\\' at parse time.',\n 'transparent': 'Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.',\n};\nfunction getNumericValue(node, factor) {\n var val = node.getText();\n var m = val.match(/^([-+]?[0-9]*\\.?[0-9]+)(%?)$/);\n if (m) {\n if (m[2]) {\n factor = 100.0;\n }\n var result = parseFloat(m[1]) / factor;\n if (result >= 0 && result <= 1) {\n return result;\n }\n }\n throw new Error();\n}\nfunction getAngle(node) {\n var val = node.getText();\n var m = val.match(/^([-+]?[0-9]*\\.?[0-9]+)(deg)?$/);\n if (m) {\n return parseFloat(val) % 360;\n }\n throw new Error();\n}\nfunction isColorConstructor(node) {\n var name = node.getName();\n if (!name) {\n return false;\n }\n return /^(rgb|rgba|hsl|hsla)$/gi.test(name);\n}\n/**\n * Returns true if the node is a color value - either\n * defined a hex number, as rgb or rgba function, or\n * as color name.\n */\nfunction isColorValue(node) {\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.HexColorValue) {\n return true;\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Function) {\n return isColorConstructor(node);\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Identifier) {\n if (node.parent && node.parent.type !== _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Term) {\n return false;\n }\n var candidateColor = node.getText().toLowerCase();\n if (candidateColor === 'none') {\n return false;\n }\n if (colors[candidateColor]) {\n return true;\n }\n }\n return false;\n}\nvar Digit0 = 48;\nvar Digit9 = 57;\nvar A = 65;\nvar F = 70;\nvar a = 97;\nvar f = 102;\nfunction hexDigit(charCode) {\n if (charCode < Digit0) {\n return 0;\n }\n if (charCode <= Digit9) {\n return charCode - Digit0;\n }\n if (charCode < a) {\n charCode += (a - A);\n }\n if (charCode >= a && charCode <= f) {\n return charCode - a + 10;\n }\n return 0;\n}\nfunction colorFromHex(text) {\n if (text[0] !== '#') {\n return null;\n }\n switch (text.length) {\n case 4:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x11) / 255.0,\n green: (hexDigit(text.charCodeAt(2)) * 0x11) / 255.0,\n blue: (hexDigit(text.charCodeAt(3)) * 0x11) / 255.0,\n alpha: 1\n };\n case 5:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x11) / 255.0,\n green: (hexDigit(text.charCodeAt(2)) * 0x11) / 255.0,\n blue: (hexDigit(text.charCodeAt(3)) * 0x11) / 255.0,\n alpha: (hexDigit(text.charCodeAt(4)) * 0x11) / 255.0,\n };\n case 7:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x10 + hexDigit(text.charCodeAt(2))) / 255.0,\n green: (hexDigit(text.charCodeAt(3)) * 0x10 + hexDigit(text.charCodeAt(4))) / 255.0,\n blue: (hexDigit(text.charCodeAt(5)) * 0x10 + hexDigit(text.charCodeAt(6))) / 255.0,\n alpha: 1\n };\n case 9:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x10 + hexDigit(text.charCodeAt(2))) / 255.0,\n green: (hexDigit(text.charCodeAt(3)) * 0x10 + hexDigit(text.charCodeAt(4))) / 255.0,\n blue: (hexDigit(text.charCodeAt(5)) * 0x10 + hexDigit(text.charCodeAt(6))) / 255.0,\n alpha: (hexDigit(text.charCodeAt(7)) * 0x10 + hexDigit(text.charCodeAt(8))) / 255.0\n };\n }\n return null;\n}\nfunction colorFrom256RGB(red, green, blue, alpha) {\n if (alpha === void 0) { alpha = 1.0; }\n return {\n red: red / 255.0,\n green: green / 255.0,\n blue: blue / 255.0,\n alpha: alpha\n };\n}\nfunction colorFromHSL(hue, sat, light, alpha) {\n if (alpha === void 0) { alpha = 1.0; }\n hue = hue / 60.0;\n if (sat === 0) {\n return { red: light, green: light, blue: light, alpha: alpha };\n }\n else {\n var hueToRgb = function (t1, t2, hue) {\n while (hue < 0) {\n hue += 6;\n }\n while (hue >= 6) {\n hue -= 6;\n }\n if (hue < 1) {\n return (t2 - t1) * hue + t1;\n }\n if (hue < 3) {\n return t2;\n }\n if (hue < 4) {\n return (t2 - t1) * (4 - hue) + t1;\n }\n return t1;\n };\n var t2 = light <= 0.5 ? (light * (sat + 1)) : (light + sat - (light * sat));\n var t1 = light * 2 - t2;\n return { red: hueToRgb(t1, t2, hue + 2), green: hueToRgb(t1, t2, hue), blue: hueToRgb(t1, t2, hue - 2), alpha: alpha };\n }\n}\nfunction hslFromColor(rgba) {\n var r = rgba.red;\n var g = rgba.green;\n var b = rgba.blue;\n var a = rgba.alpha;\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var s = 0;\n var l = (min + max) / 2;\n var chroma = max - min;\n if (chroma > 0) {\n s = Math.min((l <= 0.5 ? chroma / (2 * l) : chroma / (2 - (2 * l))), 1);\n switch (max) {\n case r:\n h = (g - b) / chroma + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / chroma + 2;\n break;\n case b:\n h = (r - g) / chroma + 4;\n break;\n }\n h *= 60;\n h = Math.round(h);\n }\n return { h: h, s: s, l: l, a: a };\n}\nfunction getColorValue(node) {\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.HexColorValue) {\n var text = node.getText();\n return colorFromHex(text);\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Function) {\n var functionNode = node;\n var name = functionNode.getName();\n var colorValues = functionNode.getArguments().getChildren();\n if (!name || colorValues.length < 3 || colorValues.length > 4) {\n return null;\n }\n try {\n var alpha = colorValues.length === 4 ? getNumericValue(colorValues[3], 1) : 1;\n if (name === 'rgb' || name === 'rgba') {\n return {\n red: getNumericValue(colorValues[0], 255.0),\n green: getNumericValue(colorValues[1], 255.0),\n blue: getNumericValue(colorValues[2], 255.0),\n alpha: alpha\n };\n }\n else if (name === 'hsl' || name === 'hsla') {\n var h = getAngle(colorValues[0]);\n var s = getNumericValue(colorValues[1], 100.0);\n var l = getNumericValue(colorValues[2], 100.0);\n return colorFromHSL(h, s, l, alpha);\n }\n }\n catch (e) {\n // parse error on numeric value\n return null;\n }\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Identifier) {\n if (node.parent && node.parent.type !== _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Term) {\n return null;\n }\n var term = node.parent;\n if (term && term.parent && term.parent.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.BinaryExpression) {\n var expression = term.parent;\n if (expression.parent && expression.parent.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ListEntry && expression.parent.key === expression) {\n return null;\n }\n }\n var candidateColor = node.getText().toLowerCase();\n if (candidateColor === 'none') {\n return null;\n }\n var colorHex = colors[candidateColor];\n if (colorHex) {\n return colorFromHex(colorHex);\n }\n }\n return null;\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/colors.js?");
58
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"colorFrom256RGB\": () => (/* binding */ colorFrom256RGB),\n/* harmony export */ \"colorFromHSL\": () => (/* binding */ colorFromHSL),\n/* harmony export */ \"colorFromHex\": () => (/* binding */ colorFromHex),\n/* harmony export */ \"colorFunctions\": () => (/* binding */ colorFunctions),\n/* harmony export */ \"colorKeywords\": () => (/* binding */ colorKeywords),\n/* harmony export */ \"colors\": () => (/* binding */ colors),\n/* harmony export */ \"getColorValue\": () => (/* binding */ getColorValue),\n/* harmony export */ \"hexDigit\": () => (/* binding */ hexDigit),\n/* harmony export */ \"hslFromColor\": () => (/* binding */ hslFromColor),\n/* harmony export */ \"isColorConstructor\": () => (/* binding */ isColorConstructor),\n/* harmony export */ \"isColorValue\": () => (/* binding */ isColorValue)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__.loadMessageBundle();\nvar colorFunctions = [\n { func: 'rgb($red, $green, $blue)', desc: localize('css.builtin.rgb', 'Creates a Color from red, green, and blue values.') },\n { func: 'rgba($red, $green, $blue, $alpha)', desc: localize('css.builtin.rgba', 'Creates a Color from red, green, blue, and alpha values.') },\n { func: 'hsl($hue, $saturation, $lightness)', desc: localize('css.builtin.hsl', 'Creates a Color from hue, saturation, and lightness values.') },\n { func: 'hsla($hue, $saturation, $lightness, $alpha)', desc: localize('css.builtin.hsla', 'Creates a Color from hue, saturation, lightness, and alpha values.') }\n];\nvar colors = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgrey: '#a9a9a9',\n darkgreen: '#006400',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n gold: '#ffd700',\n goldenrod: '#daa520',\n gray: '#808080',\n grey: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavender: '#e6e6fa',\n lavenderblush: '#fff0f5',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgrey: '#d3d3d3',\n lightgreen: '#90ee90',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370d8',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#d87093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n red: '#ff0000',\n rebeccapurple: '#663399',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32'\n};\nvar colorKeywords = {\n 'currentColor': 'The value of the \\'color\\' property. The computed value of the \\'currentColor\\' keyword is the computed value of the \\'color\\' property. If the \\'currentColor\\' keyword is set on the \\'color\\' property itself, it is treated as \\'color:inherit\\' at parse time.',\n 'transparent': 'Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.',\n};\nfunction getNumericValue(node, factor) {\n var val = node.getText();\n var m = val.match(/^([-+]?[0-9]*\\.?[0-9]+)(%?)$/);\n if (m) {\n if (m[2]) {\n factor = 100.0;\n }\n var result = parseFloat(m[1]) / factor;\n if (result >= 0 && result <= 1) {\n return result;\n }\n }\n throw new Error();\n}\nfunction getAngle(node) {\n var val = node.getText();\n var m = val.match(/^([-+]?[0-9]*\\.?[0-9]+)(deg)?$/);\n if (m) {\n return parseFloat(val) % 360;\n }\n throw new Error();\n}\nfunction isColorConstructor(node) {\n var name = node.getName();\n if (!name) {\n return false;\n }\n return /^(rgb|rgba|hsl|hsla)$/gi.test(name);\n}\n/**\n * Returns true if the node is a color value - either\n * defined a hex number, as rgb or rgba function, or\n * as color name.\n */\nfunction isColorValue(node) {\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.HexColorValue) {\n return true;\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Function) {\n return isColorConstructor(node);\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Identifier) {\n if (node.parent && node.parent.type !== _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Term) {\n return false;\n }\n var candidateColor = node.getText().toLowerCase();\n if (candidateColor === 'none') {\n return false;\n }\n if (colors[candidateColor]) {\n return true;\n }\n }\n return false;\n}\nvar Digit0 = 48;\nvar Digit9 = 57;\nvar A = 65;\nvar F = 70;\nvar a = 97;\nvar f = 102;\nfunction hexDigit(charCode) {\n if (charCode < Digit0) {\n return 0;\n }\n if (charCode <= Digit9) {\n return charCode - Digit0;\n }\n if (charCode < a) {\n charCode += (a - A);\n }\n if (charCode >= a && charCode <= f) {\n return charCode - a + 10;\n }\n return 0;\n}\nfunction colorFromHex(text) {\n if (text[0] !== '#') {\n return null;\n }\n switch (text.length) {\n case 4:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x11) / 255.0,\n green: (hexDigit(text.charCodeAt(2)) * 0x11) / 255.0,\n blue: (hexDigit(text.charCodeAt(3)) * 0x11) / 255.0,\n alpha: 1\n };\n case 5:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x11) / 255.0,\n green: (hexDigit(text.charCodeAt(2)) * 0x11) / 255.0,\n blue: (hexDigit(text.charCodeAt(3)) * 0x11) / 255.0,\n alpha: (hexDigit(text.charCodeAt(4)) * 0x11) / 255.0,\n };\n case 7:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x10 + hexDigit(text.charCodeAt(2))) / 255.0,\n green: (hexDigit(text.charCodeAt(3)) * 0x10 + hexDigit(text.charCodeAt(4))) / 255.0,\n blue: (hexDigit(text.charCodeAt(5)) * 0x10 + hexDigit(text.charCodeAt(6))) / 255.0,\n alpha: 1\n };\n case 9:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x10 + hexDigit(text.charCodeAt(2))) / 255.0,\n green: (hexDigit(text.charCodeAt(3)) * 0x10 + hexDigit(text.charCodeAt(4))) / 255.0,\n blue: (hexDigit(text.charCodeAt(5)) * 0x10 + hexDigit(text.charCodeAt(6))) / 255.0,\n alpha: (hexDigit(text.charCodeAt(7)) * 0x10 + hexDigit(text.charCodeAt(8))) / 255.0\n };\n }\n return null;\n}\nfunction colorFrom256RGB(red, green, blue, alpha) {\n if (alpha === void 0) { alpha = 1.0; }\n return {\n red: red / 255.0,\n green: green / 255.0,\n blue: blue / 255.0,\n alpha: alpha\n };\n}\nfunction colorFromHSL(hue, sat, light, alpha) {\n if (alpha === void 0) { alpha = 1.0; }\n hue = hue / 60.0;\n if (sat === 0) {\n return { red: light, green: light, blue: light, alpha: alpha };\n }\n else {\n var hueToRgb = function (t1, t2, hue) {\n while (hue < 0) {\n hue += 6;\n }\n while (hue >= 6) {\n hue -= 6;\n }\n if (hue < 1) {\n return (t2 - t1) * hue + t1;\n }\n if (hue < 3) {\n return t2;\n }\n if (hue < 4) {\n return (t2 - t1) * (4 - hue) + t1;\n }\n return t1;\n };\n var t2 = light <= 0.5 ? (light * (sat + 1)) : (light + sat - (light * sat));\n var t1 = light * 2 - t2;\n return { red: hueToRgb(t1, t2, hue + 2), green: hueToRgb(t1, t2, hue), blue: hueToRgb(t1, t2, hue - 2), alpha: alpha };\n }\n}\nfunction hslFromColor(rgba) {\n var r = rgba.red;\n var g = rgba.green;\n var b = rgba.blue;\n var a = rgba.alpha;\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var s = 0;\n var l = (min + max) / 2;\n var chroma = max - min;\n if (chroma > 0) {\n s = Math.min((l <= 0.5 ? chroma / (2 * l) : chroma / (2 - (2 * l))), 1);\n switch (max) {\n case r:\n h = (g - b) / chroma + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / chroma + 2;\n break;\n case b:\n h = (r - g) / chroma + 4;\n break;\n }\n h *= 60;\n h = Math.round(h);\n }\n return { h: h, s: s, l: l, a: a };\n}\nfunction getColorValue(node) {\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.HexColorValue) {\n var text = node.getText();\n return colorFromHex(text);\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Function) {\n var functionNode = node;\n var name = functionNode.getName();\n var colorValues = functionNode.getArguments().getChildren();\n if (!name || colorValues.length < 3 || colorValues.length > 4) {\n return null;\n }\n try {\n var alpha = colorValues.length === 4 ? getNumericValue(colorValues[3], 1) : 1;\n if (name === 'rgb' || name === 'rgba') {\n return {\n red: getNumericValue(colorValues[0], 255.0),\n green: getNumericValue(colorValues[1], 255.0),\n blue: getNumericValue(colorValues[2], 255.0),\n alpha: alpha\n };\n }\n else if (name === 'hsl' || name === 'hsla') {\n var h = getAngle(colorValues[0]);\n var s = getNumericValue(colorValues[1], 100.0);\n var l = getNumericValue(colorValues[2], 100.0);\n return colorFromHSL(h, s, l, alpha);\n }\n }\n catch (e) {\n // parse error on numeric value\n return null;\n }\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Identifier) {\n if (node.parent && node.parent.type !== _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Term) {\n return null;\n }\n var term = node.parent;\n if (term && term.parent && term.parent.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.BinaryExpression) {\n var expression = term.parent;\n if (expression.parent && expression.parent.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ListEntry && expression.parent.key === expression) {\n return null;\n }\n }\n var candidateColor = node.getText().toLowerCase();\n if (candidateColor === 'none') {\n return null;\n }\n var colorHex = colors[candidateColor];\n if (colorHex) {\n return colorFromHex(colorHex);\n }\n }\n return null;\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/colors.js?");
59
59
 
60
60
  /***/ }),
61
61
 
@@ -85,7 +85,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
85
85
  \****************************************************************************************************************/
86
86
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
87
87
 
88
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"browserNames\": () => (/* binding */ browserNames),\n/* harmony export */ \"getEntryDescription\": () => (/* binding */ getEntryDescription),\n/* harmony export */ \"textToMarkedString\": () => (/* binding */ textToMarkedString),\n/* harmony export */ \"getBrowserLabel\": () => (/* binding */ getBrowserLabel)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar browserNames = {\n E: 'Edge',\n FF: 'Firefox',\n S: 'Safari',\n C: 'Chrome',\n IE: 'IE',\n O: 'Opera'\n};\nfunction getEntryStatus(status) {\n switch (status) {\n case 'experimental':\n return '⚠️ Property is experimental. Be cautious when using it.️\\n\\n';\n case 'nonstandard':\n return '🚨️ Property is nonstandard. Avoid using it.\\n\\n';\n case 'obsolete':\n return '🚨️️️ Property is obsolete. Avoid using it.\\n\\n';\n default:\n return '';\n }\n}\nfunction getEntryDescription(entry, doesSupportMarkdown, settings) {\n var result;\n if (doesSupportMarkdown) {\n result = {\n kind: 'markdown',\n value: getEntryMarkdownDescription(entry, settings)\n };\n }\n else {\n result = {\n kind: 'plaintext',\n value: getEntryStringDescription(entry, settings)\n };\n }\n if (result.value === '') {\n return undefined;\n }\n return result;\n}\nfunction textToMarkedString(text) {\n text = text.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, '\\\\$&'); // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash\n return text.replace(/</g, '&lt;').replace(/>/g, '&gt;');\n}\nfunction getEntryStringDescription(entry, settings) {\n if (!entry.description || entry.description === '') {\n return '';\n }\n if (typeof entry.description !== 'string') {\n return entry.description.value;\n }\n var result = '';\n if ((settings === null || settings === void 0 ? void 0 : settings.documentation) !== false) {\n if (entry.status) {\n result += getEntryStatus(entry.status);\n }\n result += entry.description;\n var browserLabel = getBrowserLabel(entry.browsers);\n if (browserLabel) {\n result += '\\n(' + browserLabel + ')';\n }\n if ('syntax' in entry) {\n result += \"\\n\\nSyntax: \" + entry.syntax;\n }\n }\n if (entry.references && entry.references.length > 0 && (settings === null || settings === void 0 ? void 0 : settings.references) !== false) {\n if (result.length > 0) {\n result += '\\n\\n';\n }\n result += entry.references.map(function (r) {\n return r.name + \": \" + r.url;\n }).join(' | ');\n }\n return result;\n}\nfunction getEntryMarkdownDescription(entry, settings) {\n if (!entry.description || entry.description === '') {\n return '';\n }\n var result = '';\n if ((settings === null || settings === void 0 ? void 0 : settings.documentation) !== false) {\n if (entry.status) {\n result += getEntryStatus(entry.status);\n }\n var description = typeof entry.description === 'string' ? entry.description : entry.description.value;\n result += textToMarkedString(description);\n var browserLabel = getBrowserLabel(entry.browsers);\n if (browserLabel) {\n result += '\\n\\n(' + textToMarkedString(browserLabel) + ')';\n }\n if ('syntax' in entry && entry.syntax) {\n result += \"\\n\\nSyntax: \" + textToMarkedString(entry.syntax);\n }\n }\n if (entry.references && entry.references.length > 0 && (settings === null || settings === void 0 ? void 0 : settings.references) !== false) {\n if (result.length > 0) {\n result += '\\n\\n';\n }\n result += entry.references.map(function (r) {\n return \"[\" + r.name + \"](\" + r.url + \")\";\n }).join(' | ');\n }\n return result;\n}\n/**\n * Input is like `[\"E12\",\"FF49\",\"C47\",\"IE\",\"O\"]`\n * Output is like `Edge 12, Firefox 49, Chrome 47, IE, Opera`\n */\nfunction getBrowserLabel(browsers) {\n if (browsers === void 0) { browsers = []; }\n if (browsers.length === 0) {\n return null;\n }\n return browsers\n .map(function (b) {\n var result = '';\n var matches = b.match(/([A-Z]+)(\\d+)?/);\n var name = matches[1];\n var version = matches[2];\n if (name in browserNames) {\n result += browserNames[name];\n }\n if (version) {\n result += ' ' + version;\n }\n return result;\n })\n .join(', ');\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/entry.js?");
88
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"browserNames\": () => (/* binding */ browserNames),\n/* harmony export */ \"getBrowserLabel\": () => (/* binding */ getBrowserLabel),\n/* harmony export */ \"getEntryDescription\": () => (/* binding */ getEntryDescription),\n/* harmony export */ \"textToMarkedString\": () => (/* binding */ textToMarkedString)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar browserNames = {\n E: 'Edge',\n FF: 'Firefox',\n S: 'Safari',\n C: 'Chrome',\n IE: 'IE',\n O: 'Opera'\n};\nfunction getEntryStatus(status) {\n switch (status) {\n case 'experimental':\n return '⚠️ Property is experimental. Be cautious when using it.️\\n\\n';\n case 'nonstandard':\n return '🚨️ Property is nonstandard. Avoid using it.\\n\\n';\n case 'obsolete':\n return '🚨️️️ Property is obsolete. Avoid using it.\\n\\n';\n default:\n return '';\n }\n}\nfunction getEntryDescription(entry, doesSupportMarkdown, settings) {\n var result;\n if (doesSupportMarkdown) {\n result = {\n kind: 'markdown',\n value: getEntryMarkdownDescription(entry, settings)\n };\n }\n else {\n result = {\n kind: 'plaintext',\n value: getEntryStringDescription(entry, settings)\n };\n }\n if (result.value === '') {\n return undefined;\n }\n return result;\n}\nfunction textToMarkedString(text) {\n text = text.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, '\\\\$&'); // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash\n return text.replace(/</g, '&lt;').replace(/>/g, '&gt;');\n}\nfunction getEntryStringDescription(entry, settings) {\n if (!entry.description || entry.description === '') {\n return '';\n }\n if (typeof entry.description !== 'string') {\n return entry.description.value;\n }\n var result = '';\n if ((settings === null || settings === void 0 ? void 0 : settings.documentation) !== false) {\n if (entry.status) {\n result += getEntryStatus(entry.status);\n }\n result += entry.description;\n var browserLabel = getBrowserLabel(entry.browsers);\n if (browserLabel) {\n result += '\\n(' + browserLabel + ')';\n }\n if ('syntax' in entry) {\n result += \"\\n\\nSyntax: \" + entry.syntax;\n }\n }\n if (entry.references && entry.references.length > 0 && (settings === null || settings === void 0 ? void 0 : settings.references) !== false) {\n if (result.length > 0) {\n result += '\\n\\n';\n }\n result += entry.references.map(function (r) {\n return r.name + \": \" + r.url;\n }).join(' | ');\n }\n return result;\n}\nfunction getEntryMarkdownDescription(entry, settings) {\n if (!entry.description || entry.description === '') {\n return '';\n }\n var result = '';\n if ((settings === null || settings === void 0 ? void 0 : settings.documentation) !== false) {\n if (entry.status) {\n result += getEntryStatus(entry.status);\n }\n var description = typeof entry.description === 'string' ? entry.description : entry.description.value;\n result += textToMarkedString(description);\n var browserLabel = getBrowserLabel(entry.browsers);\n if (browserLabel) {\n result += '\\n\\n(' + textToMarkedString(browserLabel) + ')';\n }\n if ('syntax' in entry && entry.syntax) {\n result += \"\\n\\nSyntax: \" + textToMarkedString(entry.syntax);\n }\n }\n if (entry.references && entry.references.length > 0 && (settings === null || settings === void 0 ? void 0 : settings.references) !== false) {\n if (result.length > 0) {\n result += '\\n\\n';\n }\n result += entry.references.map(function (r) {\n return \"[\" + r.name + \"](\" + r.url + \")\";\n }).join(' | ');\n }\n return result;\n}\n/**\n * Input is like `[\"E12\",\"FF49\",\"C47\",\"IE\",\"O\"]`\n * Output is like `Edge 12, Firefox 49, Chrome 47, IE, Opera`\n */\nfunction getBrowserLabel(browsers) {\n if (browsers === void 0) { browsers = []; }\n if (browsers.length === 0) {\n return null;\n }\n return browsers\n .map(function (b) {\n var result = '';\n var matches = b.match(/([A-Z]+)(\\d+)?/);\n var name = matches[1];\n var version = matches[2];\n if (name in browserNames) {\n result += browserNames[name];\n }\n if (version) {\n result += ' ' + version;\n }\n return result;\n })\n .join(', ');\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/entry.js?");
89
89
 
90
90
  /***/ }),
91
91
 
@@ -95,7 +95,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
95
95
  \****************************************************************************************************************/
96
96
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
97
97
 
98
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"browserNames\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.browserNames),\n/* harmony export */ \"getBrowserLabel\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.getBrowserLabel),\n/* harmony export */ \"getEntryDescription\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.getEntryDescription),\n/* harmony export */ \"textToMarkedString\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.textToMarkedString),\n/* harmony export */ \"colorFrom256RGB\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFrom256RGB),\n/* harmony export */ \"colorFromHSL\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFromHSL),\n/* harmony export */ \"colorFromHex\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFromHex),\n/* harmony export */ \"colorFunctions\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFunctions),\n/* harmony export */ \"colorKeywords\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorKeywords),\n/* harmony export */ \"colors\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colors),\n/* harmony export */ \"getColorValue\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.getColorValue),\n/* harmony export */ \"hexDigit\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.hexDigit),\n/* harmony export */ \"hslFromColor\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.hslFromColor),\n/* harmony export */ \"isColorConstructor\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.isColorConstructor),\n/* harmony export */ \"isColorValue\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.isColorValue),\n/* harmony export */ \"basicShapeFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.basicShapeFunctions),\n/* harmony export */ \"boxKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.boxKeywords),\n/* harmony export */ \"cssWideKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.cssWideKeywords),\n/* harmony export */ \"geometryBoxKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.geometryBoxKeywords),\n/* harmony export */ \"html5Tags\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.html5Tags),\n/* harmony export */ \"imageFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.imageFunctions),\n/* harmony export */ \"lineStyleKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.lineStyleKeywords),\n/* harmony export */ \"lineWidthKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.lineWidthKeywords),\n/* harmony export */ \"pageBoxDirectives\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.pageBoxDirectives),\n/* harmony export */ \"positionKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.positionKeywords),\n/* harmony export */ \"repeatStyleKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.repeatStyleKeywords),\n/* harmony export */ \"svgElements\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.svgElements),\n/* harmony export */ \"transitionTimingFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.transitionTimingFunctions),\n/* harmony export */ \"units\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.units)\n/* harmony export */ });\n/* harmony import */ var _entry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entry.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/entry.js\");\n/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./colors.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/colors.js\");\n/* harmony import */ var _builtinData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./builtinData.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/builtinData.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js?");
98
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"basicShapeFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.basicShapeFunctions),\n/* harmony export */ \"boxKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.boxKeywords),\n/* harmony export */ \"browserNames\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.browserNames),\n/* harmony export */ \"colorFrom256RGB\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFrom256RGB),\n/* harmony export */ \"colorFromHSL\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFromHSL),\n/* harmony export */ \"colorFromHex\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFromHex),\n/* harmony export */ \"colorFunctions\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFunctions),\n/* harmony export */ \"colorKeywords\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorKeywords),\n/* harmony export */ \"colors\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colors),\n/* harmony export */ \"cssWideKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.cssWideKeywords),\n/* harmony export */ \"geometryBoxKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.geometryBoxKeywords),\n/* harmony export */ \"getBrowserLabel\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.getBrowserLabel),\n/* harmony export */ \"getColorValue\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.getColorValue),\n/* harmony export */ \"getEntryDescription\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.getEntryDescription),\n/* harmony export */ \"hexDigit\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.hexDigit),\n/* harmony export */ \"hslFromColor\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.hslFromColor),\n/* harmony export */ \"html5Tags\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.html5Tags),\n/* harmony export */ \"imageFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.imageFunctions),\n/* harmony export */ \"isColorConstructor\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.isColorConstructor),\n/* harmony export */ \"isColorValue\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.isColorValue),\n/* harmony export */ \"lineStyleKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.lineStyleKeywords),\n/* harmony export */ \"lineWidthKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.lineWidthKeywords),\n/* harmony export */ \"pageBoxDirectives\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.pageBoxDirectives),\n/* harmony export */ \"positionKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.positionKeywords),\n/* harmony export */ \"repeatStyleKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.repeatStyleKeywords),\n/* harmony export */ \"svgElements\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.svgElements),\n/* harmony export */ \"textToMarkedString\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.textToMarkedString),\n/* harmony export */ \"transitionTimingFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.transitionTimingFunctions),\n/* harmony export */ \"units\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.units)\n/* harmony export */ });\n/* harmony import */ var _entry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entry.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/entry.js\");\n/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./colors.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/colors.js\");\n/* harmony import */ var _builtinData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./builtinData.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/builtinData.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js?");
99
99
 
100
100
  /***/ }),
101
101
 
@@ -115,7 +115,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
115
115
  \************************************************************************************************************/
116
116
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
117
117
 
118
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"NodeType\": () => (/* binding */ NodeType),\n/* harmony export */ \"ReferenceType\": () => (/* binding */ ReferenceType),\n/* harmony export */ \"getNodeAtOffset\": () => (/* binding */ getNodeAtOffset),\n/* harmony export */ \"getNodePath\": () => (/* binding */ getNodePath),\n/* harmony export */ \"getParentDeclaration\": () => (/* binding */ getParentDeclaration),\n/* harmony export */ \"Node\": () => (/* binding */ Node),\n/* harmony export */ \"Nodelist\": () => (/* binding */ Nodelist),\n/* harmony export */ \"Identifier\": () => (/* binding */ Identifier),\n/* harmony export */ \"Stylesheet\": () => (/* binding */ Stylesheet),\n/* harmony export */ \"Declarations\": () => (/* binding */ Declarations),\n/* harmony export */ \"BodyDeclaration\": () => (/* binding */ BodyDeclaration),\n/* harmony export */ \"RuleSet\": () => (/* binding */ RuleSet),\n/* harmony export */ \"Selector\": () => (/* binding */ Selector),\n/* harmony export */ \"SimpleSelector\": () => (/* binding */ SimpleSelector),\n/* harmony export */ \"AtApplyRule\": () => (/* binding */ AtApplyRule),\n/* harmony export */ \"AbstractDeclaration\": () => (/* binding */ AbstractDeclaration),\n/* harmony export */ \"CustomPropertySet\": () => (/* binding */ CustomPropertySet),\n/* harmony export */ \"Declaration\": () => (/* binding */ Declaration),\n/* harmony export */ \"CustomPropertyDeclaration\": () => (/* binding */ CustomPropertyDeclaration),\n/* harmony export */ \"Property\": () => (/* binding */ Property),\n/* harmony export */ \"Invocation\": () => (/* binding */ Invocation),\n/* harmony export */ \"Function\": () => (/* binding */ Function),\n/* harmony export */ \"FunctionParameter\": () => (/* binding */ FunctionParameter),\n/* harmony export */ \"FunctionArgument\": () => (/* binding */ FunctionArgument),\n/* harmony export */ \"IfStatement\": () => (/* binding */ IfStatement),\n/* harmony export */ \"ForStatement\": () => (/* binding */ ForStatement),\n/* harmony export */ \"EachStatement\": () => (/* binding */ EachStatement),\n/* harmony export */ \"WhileStatement\": () => (/* binding */ WhileStatement),\n/* harmony export */ \"ElseStatement\": () => (/* binding */ ElseStatement),\n/* harmony export */ \"FunctionDeclaration\": () => (/* binding */ FunctionDeclaration),\n/* harmony export */ \"ViewPort\": () => (/* binding */ ViewPort),\n/* harmony export */ \"FontFace\": () => (/* binding */ FontFace),\n/* harmony export */ \"NestedProperties\": () => (/* binding */ NestedProperties),\n/* harmony export */ \"Keyframe\": () => (/* binding */ Keyframe),\n/* harmony export */ \"KeyframeSelector\": () => (/* binding */ KeyframeSelector),\n/* harmony export */ \"Import\": () => (/* binding */ Import),\n/* harmony export */ \"Use\": () => (/* binding */ Use),\n/* harmony export */ \"ModuleConfiguration\": () => (/* binding */ ModuleConfiguration),\n/* harmony export */ \"Forward\": () => (/* binding */ Forward),\n/* harmony export */ \"ForwardVisibility\": () => (/* binding */ ForwardVisibility),\n/* harmony export */ \"Namespace\": () => (/* binding */ Namespace),\n/* harmony export */ \"Media\": () => (/* binding */ Media),\n/* harmony export */ \"Supports\": () => (/* binding */ Supports),\n/* harmony export */ \"Document\": () => (/* binding */ Document),\n/* harmony export */ \"Medialist\": () => (/* binding */ Medialist),\n/* harmony export */ \"MediaQuery\": () => (/* binding */ MediaQuery),\n/* harmony export */ \"SupportsCondition\": () => (/* binding */ SupportsCondition),\n/* harmony export */ \"Page\": () => (/* binding */ Page),\n/* harmony export */ \"PageBoxMarginBox\": () => (/* binding */ PageBoxMarginBox),\n/* harmony export */ \"Expression\": () => (/* binding */ Expression),\n/* harmony export */ \"BinaryExpression\": () => (/* binding */ BinaryExpression),\n/* harmony export */ \"Term\": () => (/* binding */ Term),\n/* harmony export */ \"AttributeSelector\": () => (/* binding */ AttributeSelector),\n/* harmony export */ \"Operator\": () => (/* binding */ Operator),\n/* harmony export */ \"HexColorValue\": () => (/* binding */ HexColorValue),\n/* harmony export */ \"NumericValue\": () => (/* binding */ NumericValue),\n/* harmony export */ \"VariableDeclaration\": () => (/* binding */ VariableDeclaration),\n/* harmony export */ \"Interpolation\": () => (/* binding */ Interpolation),\n/* harmony export */ \"Variable\": () => (/* binding */ Variable),\n/* harmony export */ \"ExtendsReference\": () => (/* binding */ ExtendsReference),\n/* harmony export */ \"MixinContentReference\": () => (/* binding */ MixinContentReference),\n/* harmony export */ \"MixinContentDeclaration\": () => (/* binding */ MixinContentDeclaration),\n/* harmony export */ \"MixinReference\": () => (/* binding */ MixinReference),\n/* harmony export */ \"MixinDeclaration\": () => (/* binding */ MixinDeclaration),\n/* harmony export */ \"UnknownAtRule\": () => (/* binding */ UnknownAtRule),\n/* harmony export */ \"ListEntry\": () => (/* binding */ ListEntry),\n/* harmony export */ \"LessGuard\": () => (/* binding */ LessGuard),\n/* harmony export */ \"GuardCondition\": () => (/* binding */ GuardCondition),\n/* harmony export */ \"Module\": () => (/* binding */ Module),\n/* harmony export */ \"Level\": () => (/* binding */ Level),\n/* harmony export */ \"Marker\": () => (/* binding */ Marker),\n/* harmony export */ \"ParseErrorCollector\": () => (/* binding */ ParseErrorCollector)\n/* harmony export */ });\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n/// <summary>\n/// Nodes for the css 2.1 specification. See for reference:\n/// http://www.w3.org/TR/CSS21/grammar.html#grammar\n/// </summary>\nvar NodeType;\n(function (NodeType) {\n NodeType[NodeType[\"Undefined\"] = 0] = \"Undefined\";\n NodeType[NodeType[\"Identifier\"] = 1] = \"Identifier\";\n NodeType[NodeType[\"Stylesheet\"] = 2] = \"Stylesheet\";\n NodeType[NodeType[\"Ruleset\"] = 3] = \"Ruleset\";\n NodeType[NodeType[\"Selector\"] = 4] = \"Selector\";\n NodeType[NodeType[\"SimpleSelector\"] = 5] = \"SimpleSelector\";\n NodeType[NodeType[\"SelectorInterpolation\"] = 6] = \"SelectorInterpolation\";\n NodeType[NodeType[\"SelectorCombinator\"] = 7] = \"SelectorCombinator\";\n NodeType[NodeType[\"SelectorCombinatorParent\"] = 8] = \"SelectorCombinatorParent\";\n NodeType[NodeType[\"SelectorCombinatorSibling\"] = 9] = \"SelectorCombinatorSibling\";\n NodeType[NodeType[\"SelectorCombinatorAllSiblings\"] = 10] = \"SelectorCombinatorAllSiblings\";\n NodeType[NodeType[\"SelectorCombinatorShadowPiercingDescendant\"] = 11] = \"SelectorCombinatorShadowPiercingDescendant\";\n NodeType[NodeType[\"Page\"] = 12] = \"Page\";\n NodeType[NodeType[\"PageBoxMarginBox\"] = 13] = \"PageBoxMarginBox\";\n NodeType[NodeType[\"ClassSelector\"] = 14] = \"ClassSelector\";\n NodeType[NodeType[\"IdentifierSelector\"] = 15] = \"IdentifierSelector\";\n NodeType[NodeType[\"ElementNameSelector\"] = 16] = \"ElementNameSelector\";\n NodeType[NodeType[\"PseudoSelector\"] = 17] = \"PseudoSelector\";\n NodeType[NodeType[\"AttributeSelector\"] = 18] = \"AttributeSelector\";\n NodeType[NodeType[\"Declaration\"] = 19] = \"Declaration\";\n NodeType[NodeType[\"Declarations\"] = 20] = \"Declarations\";\n NodeType[NodeType[\"Property\"] = 21] = \"Property\";\n NodeType[NodeType[\"Expression\"] = 22] = \"Expression\";\n NodeType[NodeType[\"BinaryExpression\"] = 23] = \"BinaryExpression\";\n NodeType[NodeType[\"Term\"] = 24] = \"Term\";\n NodeType[NodeType[\"Operator\"] = 25] = \"Operator\";\n NodeType[NodeType[\"Value\"] = 26] = \"Value\";\n NodeType[NodeType[\"StringLiteral\"] = 27] = \"StringLiteral\";\n NodeType[NodeType[\"URILiteral\"] = 28] = \"URILiteral\";\n NodeType[NodeType[\"EscapedValue\"] = 29] = \"EscapedValue\";\n NodeType[NodeType[\"Function\"] = 30] = \"Function\";\n NodeType[NodeType[\"NumericValue\"] = 31] = \"NumericValue\";\n NodeType[NodeType[\"HexColorValue\"] = 32] = \"HexColorValue\";\n NodeType[NodeType[\"MixinDeclaration\"] = 33] = \"MixinDeclaration\";\n NodeType[NodeType[\"MixinReference\"] = 34] = \"MixinReference\";\n NodeType[NodeType[\"VariableName\"] = 35] = \"VariableName\";\n NodeType[NodeType[\"VariableDeclaration\"] = 36] = \"VariableDeclaration\";\n NodeType[NodeType[\"Prio\"] = 37] = \"Prio\";\n NodeType[NodeType[\"Interpolation\"] = 38] = \"Interpolation\";\n NodeType[NodeType[\"NestedProperties\"] = 39] = \"NestedProperties\";\n NodeType[NodeType[\"ExtendsReference\"] = 40] = \"ExtendsReference\";\n NodeType[NodeType[\"SelectorPlaceholder\"] = 41] = \"SelectorPlaceholder\";\n NodeType[NodeType[\"Debug\"] = 42] = \"Debug\";\n NodeType[NodeType[\"If\"] = 43] = \"If\";\n NodeType[NodeType[\"Else\"] = 44] = \"Else\";\n NodeType[NodeType[\"For\"] = 45] = \"For\";\n NodeType[NodeType[\"Each\"] = 46] = \"Each\";\n NodeType[NodeType[\"While\"] = 47] = \"While\";\n NodeType[NodeType[\"MixinContentReference\"] = 48] = \"MixinContentReference\";\n NodeType[NodeType[\"MixinContentDeclaration\"] = 49] = \"MixinContentDeclaration\";\n NodeType[NodeType[\"Media\"] = 50] = \"Media\";\n NodeType[NodeType[\"Keyframe\"] = 51] = \"Keyframe\";\n NodeType[NodeType[\"FontFace\"] = 52] = \"FontFace\";\n NodeType[NodeType[\"Import\"] = 53] = \"Import\";\n NodeType[NodeType[\"Namespace\"] = 54] = \"Namespace\";\n NodeType[NodeType[\"Invocation\"] = 55] = \"Invocation\";\n NodeType[NodeType[\"FunctionDeclaration\"] = 56] = \"FunctionDeclaration\";\n NodeType[NodeType[\"ReturnStatement\"] = 57] = \"ReturnStatement\";\n NodeType[NodeType[\"MediaQuery\"] = 58] = \"MediaQuery\";\n NodeType[NodeType[\"FunctionParameter\"] = 59] = \"FunctionParameter\";\n NodeType[NodeType[\"FunctionArgument\"] = 60] = \"FunctionArgument\";\n NodeType[NodeType[\"KeyframeSelector\"] = 61] = \"KeyframeSelector\";\n NodeType[NodeType[\"ViewPort\"] = 62] = \"ViewPort\";\n NodeType[NodeType[\"Document\"] = 63] = \"Document\";\n NodeType[NodeType[\"AtApplyRule\"] = 64] = \"AtApplyRule\";\n NodeType[NodeType[\"CustomPropertyDeclaration\"] = 65] = \"CustomPropertyDeclaration\";\n NodeType[NodeType[\"CustomPropertySet\"] = 66] = \"CustomPropertySet\";\n NodeType[NodeType[\"ListEntry\"] = 67] = \"ListEntry\";\n NodeType[NodeType[\"Supports\"] = 68] = \"Supports\";\n NodeType[NodeType[\"SupportsCondition\"] = 69] = \"SupportsCondition\";\n NodeType[NodeType[\"NamespacePrefix\"] = 70] = \"NamespacePrefix\";\n NodeType[NodeType[\"GridLine\"] = 71] = \"GridLine\";\n NodeType[NodeType[\"Plugin\"] = 72] = \"Plugin\";\n NodeType[NodeType[\"UnknownAtRule\"] = 73] = \"UnknownAtRule\";\n NodeType[NodeType[\"Use\"] = 74] = \"Use\";\n NodeType[NodeType[\"ModuleConfiguration\"] = 75] = \"ModuleConfiguration\";\n NodeType[NodeType[\"Forward\"] = 76] = \"Forward\";\n NodeType[NodeType[\"ForwardVisibility\"] = 77] = \"ForwardVisibility\";\n NodeType[NodeType[\"Module\"] = 78] = \"Module\";\n})(NodeType || (NodeType = {}));\nvar ReferenceType;\n(function (ReferenceType) {\n ReferenceType[ReferenceType[\"Mixin\"] = 0] = \"Mixin\";\n ReferenceType[ReferenceType[\"Rule\"] = 1] = \"Rule\";\n ReferenceType[ReferenceType[\"Variable\"] = 2] = \"Variable\";\n ReferenceType[ReferenceType[\"Function\"] = 3] = \"Function\";\n ReferenceType[ReferenceType[\"Keyframe\"] = 4] = \"Keyframe\";\n ReferenceType[ReferenceType[\"Unknown\"] = 5] = \"Unknown\";\n ReferenceType[ReferenceType[\"Module\"] = 6] = \"Module\";\n ReferenceType[ReferenceType[\"Forward\"] = 7] = \"Forward\";\n ReferenceType[ReferenceType[\"ForwardVisibility\"] = 8] = \"ForwardVisibility\";\n})(ReferenceType || (ReferenceType = {}));\nfunction getNodeAtOffset(node, offset) {\n var candidate = null;\n if (!node || offset < node.offset || offset > node.end) {\n return null;\n }\n // Find the shortest node at the position\n node.accept(function (node) {\n if (node.offset === -1 && node.length === -1) {\n return true;\n }\n if (node.offset <= offset && node.end >= offset) {\n if (!candidate) {\n candidate = node;\n }\n else if (node.length <= candidate.length) {\n candidate = node;\n }\n return true;\n }\n return false;\n });\n return candidate;\n}\nfunction getNodePath(node, offset) {\n var candidate = getNodeAtOffset(node, offset);\n var path = [];\n while (candidate) {\n path.unshift(candidate);\n candidate = candidate.parent;\n }\n return path;\n}\nfunction getParentDeclaration(node) {\n var decl = node.findParent(NodeType.Declaration);\n var value = decl && decl.getValue();\n if (value && value.encloses(node)) {\n return decl;\n }\n return null;\n}\nvar Node = /** @class */ (function () {\n function Node(offset, len, nodeType) {\n if (offset === void 0) { offset = -1; }\n if (len === void 0) { len = -1; }\n this.parent = null;\n this.offset = offset;\n this.length = len;\n if (nodeType) {\n this.nodeType = nodeType;\n }\n }\n Object.defineProperty(Node.prototype, \"end\", {\n get: function () { return this.offset + this.length; },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"type\", {\n get: function () {\n return this.nodeType || NodeType.Undefined;\n },\n set: function (type) {\n this.nodeType = type;\n },\n enumerable: false,\n configurable: true\n });\n Node.prototype.getTextProvider = function () {\n var node = this;\n while (node && !node.textProvider) {\n node = node.parent;\n }\n if (node) {\n return node.textProvider;\n }\n return function () { return 'unknown'; };\n };\n Node.prototype.getText = function () {\n return this.getTextProvider()(this.offset, this.length);\n };\n Node.prototype.matches = function (str) {\n return this.length === str.length && this.getTextProvider()(this.offset, this.length) === str;\n };\n Node.prototype.startsWith = function (str) {\n return this.length >= str.length && this.getTextProvider()(this.offset, str.length) === str;\n };\n Node.prototype.endsWith = function (str) {\n return this.length >= str.length && this.getTextProvider()(this.end - str.length, str.length) === str;\n };\n Node.prototype.accept = function (visitor) {\n if (visitor(this) && this.children) {\n for (var _i = 0, _a = this.children; _i < _a.length; _i++) {\n var child = _a[_i];\n child.accept(visitor);\n }\n }\n };\n Node.prototype.acceptVisitor = function (visitor) {\n this.accept(visitor.visitNode.bind(visitor));\n };\n Node.prototype.adoptChild = function (node, index) {\n if (index === void 0) { index = -1; }\n if (node.parent && node.parent.children) {\n var idx = node.parent.children.indexOf(node);\n if (idx >= 0) {\n node.parent.children.splice(idx, 1);\n }\n }\n node.parent = this;\n var children = this.children;\n if (!children) {\n children = this.children = [];\n }\n if (index !== -1) {\n children.splice(index, 0, node);\n }\n else {\n children.push(node);\n }\n return node;\n };\n Node.prototype.attachTo = function (parent, index) {\n if (index === void 0) { index = -1; }\n if (parent) {\n parent.adoptChild(this, index);\n }\n return this;\n };\n Node.prototype.collectIssues = function (results) {\n if (this.issues) {\n results.push.apply(results, this.issues);\n }\n };\n Node.prototype.addIssue = function (issue) {\n if (!this.issues) {\n this.issues = [];\n }\n this.issues.push(issue);\n };\n Node.prototype.hasIssue = function (rule) {\n return Array.isArray(this.issues) && this.issues.some(function (i) { return i.getRule() === rule; });\n };\n Node.prototype.isErroneous = function (recursive) {\n if (recursive === void 0) { recursive = false; }\n if (this.issues && this.issues.length > 0) {\n return true;\n }\n return recursive && Array.isArray(this.children) && this.children.some(function (c) { return c.isErroneous(true); });\n };\n Node.prototype.setNode = function (field, node, index) {\n if (index === void 0) { index = -1; }\n if (node) {\n node.attachTo(this, index);\n this[field] = node;\n return true;\n }\n return false;\n };\n Node.prototype.addChild = function (node) {\n if (node) {\n if (!this.children) {\n this.children = [];\n }\n node.attachTo(this);\n this.updateOffsetAndLength(node);\n return true;\n }\n return false;\n };\n Node.prototype.updateOffsetAndLength = function (node) {\n if (node.offset < this.offset || this.offset === -1) {\n this.offset = node.offset;\n }\n var nodeEnd = node.end;\n if ((nodeEnd > this.end) || this.length === -1) {\n this.length = nodeEnd - this.offset;\n }\n };\n Node.prototype.hasChildren = function () {\n return !!this.children && this.children.length > 0;\n };\n Node.prototype.getChildren = function () {\n return this.children ? this.children.slice(0) : [];\n };\n Node.prototype.getChild = function (index) {\n if (this.children && index < this.children.length) {\n return this.children[index];\n }\n return null;\n };\n Node.prototype.addChildren = function (nodes) {\n for (var _i = 0, nodes_1 = nodes; _i < nodes_1.length; _i++) {\n var node = nodes_1[_i];\n this.addChild(node);\n }\n };\n Node.prototype.findFirstChildBeforeOffset = function (offset) {\n if (this.children) {\n var current = null;\n for (var i = this.children.length - 1; i >= 0; i--) {\n // iterate until we find a child that has a start offset smaller than the input offset\n current = this.children[i];\n if (current.offset <= offset) {\n return current;\n }\n }\n }\n return null;\n };\n Node.prototype.findChildAtOffset = function (offset, goDeep) {\n var current = this.findFirstChildBeforeOffset(offset);\n if (current && current.end >= offset) {\n if (goDeep) {\n return current.findChildAtOffset(offset, true) || current;\n }\n return current;\n }\n return null;\n };\n Node.prototype.encloses = function (candidate) {\n return this.offset <= candidate.offset && this.offset + this.length >= candidate.offset + candidate.length;\n };\n Node.prototype.getParent = function () {\n var result = this.parent;\n while (result instanceof Nodelist) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.findParent = function (type) {\n var result = this;\n while (result && result.type !== type) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.findAParent = function () {\n var types = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n types[_i] = arguments[_i];\n }\n var result = this;\n while (result && !types.some(function (t) { return result.type === t; })) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.setData = function (key, value) {\n if (!this.options) {\n this.options = {};\n }\n this.options[key] = value;\n };\n Node.prototype.getData = function (key) {\n if (!this.options || !this.options.hasOwnProperty(key)) {\n return null;\n }\n return this.options[key];\n };\n return Node;\n}());\n\nvar Nodelist = /** @class */ (function (_super) {\n __extends(Nodelist, _super);\n function Nodelist(parent, index) {\n if (index === void 0) { index = -1; }\n var _this = _super.call(this, -1, -1) || this;\n _this.attachTo(parent, index);\n _this.offset = -1;\n _this.length = -1;\n return _this;\n }\n return Nodelist;\n}(Node));\n\nvar Identifier = /** @class */ (function (_super) {\n __extends(Identifier, _super);\n function Identifier(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.isCustomProperty = false;\n return _this;\n }\n Object.defineProperty(Identifier.prototype, \"type\", {\n get: function () {\n return NodeType.Identifier;\n },\n enumerable: false,\n configurable: true\n });\n Identifier.prototype.containsInterpolation = function () {\n return this.hasChildren();\n };\n return Identifier;\n}(Node));\n\nvar Stylesheet = /** @class */ (function (_super) {\n __extends(Stylesheet, _super);\n function Stylesheet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Stylesheet.prototype, \"type\", {\n get: function () {\n return NodeType.Stylesheet;\n },\n enumerable: false,\n configurable: true\n });\n return Stylesheet;\n}(Node));\n\nvar Declarations = /** @class */ (function (_super) {\n __extends(Declarations, _super);\n function Declarations(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Declarations.prototype, \"type\", {\n get: function () {\n return NodeType.Declarations;\n },\n enumerable: false,\n configurable: true\n });\n return Declarations;\n}(Node));\n\nvar BodyDeclaration = /** @class */ (function (_super) {\n __extends(BodyDeclaration, _super);\n function BodyDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n BodyDeclaration.prototype.getDeclarations = function () {\n return this.declarations;\n };\n BodyDeclaration.prototype.setDeclarations = function (decls) {\n return this.setNode('declarations', decls);\n };\n return BodyDeclaration;\n}(Node));\n\nvar RuleSet = /** @class */ (function (_super) {\n __extends(RuleSet, _super);\n function RuleSet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(RuleSet.prototype, \"type\", {\n get: function () {\n return NodeType.Ruleset;\n },\n enumerable: false,\n configurable: true\n });\n RuleSet.prototype.getSelectors = function () {\n if (!this.selectors) {\n this.selectors = new Nodelist(this);\n }\n return this.selectors;\n };\n RuleSet.prototype.isNested = function () {\n return !!this.parent && this.parent.findParent(NodeType.Declarations) !== null;\n };\n return RuleSet;\n}(BodyDeclaration));\n\nvar Selector = /** @class */ (function (_super) {\n __extends(Selector, _super);\n function Selector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Selector.prototype, \"type\", {\n get: function () {\n return NodeType.Selector;\n },\n enumerable: false,\n configurable: true\n });\n return Selector;\n}(Node));\n\nvar SimpleSelector = /** @class */ (function (_super) {\n __extends(SimpleSelector, _super);\n function SimpleSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(SimpleSelector.prototype, \"type\", {\n get: function () {\n return NodeType.SimpleSelector;\n },\n enumerable: false,\n configurable: true\n });\n return SimpleSelector;\n}(Node));\n\nvar AtApplyRule = /** @class */ (function (_super) {\n __extends(AtApplyRule, _super);\n function AtApplyRule(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(AtApplyRule.prototype, \"type\", {\n get: function () {\n return NodeType.AtApplyRule;\n },\n enumerable: false,\n configurable: true\n });\n AtApplyRule.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n AtApplyRule.prototype.getIdentifier = function () {\n return this.identifier;\n };\n AtApplyRule.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return AtApplyRule;\n}(Node));\n\nvar AbstractDeclaration = /** @class */ (function (_super) {\n __extends(AbstractDeclaration, _super);\n function AbstractDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n return AbstractDeclaration;\n}(Node));\n\nvar CustomPropertySet = /** @class */ (function (_super) {\n __extends(CustomPropertySet, _super);\n function CustomPropertySet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(CustomPropertySet.prototype, \"type\", {\n get: function () {\n return NodeType.CustomPropertySet;\n },\n enumerable: false,\n configurable: true\n });\n return CustomPropertySet;\n}(BodyDeclaration));\n\nvar Declaration = /** @class */ (function (_super) {\n __extends(Declaration, _super);\n function Declaration(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.property = null;\n return _this;\n }\n Object.defineProperty(Declaration.prototype, \"type\", {\n get: function () {\n return NodeType.Declaration;\n },\n enumerable: false,\n configurable: true\n });\n Declaration.prototype.setProperty = function (node) {\n return this.setNode('property', node);\n };\n Declaration.prototype.getProperty = function () {\n return this.property;\n };\n Declaration.prototype.getFullPropertyName = function () {\n var propertyName = this.property ? this.property.getName() : 'unknown';\n if (this.parent instanceof Declarations && this.parent.getParent() instanceof NestedProperties) {\n var parentDecl = this.parent.getParent().getParent();\n if (parentDecl instanceof Declaration) {\n return parentDecl.getFullPropertyName() + propertyName;\n }\n }\n return propertyName;\n };\n Declaration.prototype.getNonPrefixedPropertyName = function () {\n var propertyName = this.getFullPropertyName();\n if (propertyName && propertyName.charAt(0) === '-') {\n var vendorPrefixEnd = propertyName.indexOf('-', 1);\n if (vendorPrefixEnd !== -1) {\n return propertyName.substring(vendorPrefixEnd + 1);\n }\n }\n return propertyName;\n };\n Declaration.prototype.setValue = function (value) {\n return this.setNode('value', value);\n };\n Declaration.prototype.getValue = function () {\n return this.value;\n };\n Declaration.prototype.setNestedProperties = function (value) {\n return this.setNode('nestedProperties', value);\n };\n Declaration.prototype.getNestedProperties = function () {\n return this.nestedProperties;\n };\n return Declaration;\n}(AbstractDeclaration));\n\nvar CustomPropertyDeclaration = /** @class */ (function (_super) {\n __extends(CustomPropertyDeclaration, _super);\n function CustomPropertyDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(CustomPropertyDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.CustomPropertyDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n CustomPropertyDeclaration.prototype.setPropertySet = function (value) {\n return this.setNode('propertySet', value);\n };\n CustomPropertyDeclaration.prototype.getPropertySet = function () {\n return this.propertySet;\n };\n return CustomPropertyDeclaration;\n}(Declaration));\n\nvar Property = /** @class */ (function (_super) {\n __extends(Property, _super);\n function Property(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Property.prototype, \"type\", {\n get: function () {\n return NodeType.Property;\n },\n enumerable: false,\n configurable: true\n });\n Property.prototype.setIdentifier = function (value) {\n return this.setNode('identifier', value);\n };\n Property.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Property.prototype.getName = function () {\n return (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.trim)(this.getText(), /[_\\+]+$/); /* +_: less merge */\n };\n Property.prototype.isCustomProperty = function () {\n return !!this.identifier && this.identifier.isCustomProperty;\n };\n return Property;\n}(Node));\n\nvar Invocation = /** @class */ (function (_super) {\n __extends(Invocation, _super);\n function Invocation(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Invocation.prototype, \"type\", {\n get: function () {\n return NodeType.Invocation;\n },\n enumerable: false,\n configurable: true\n });\n Invocation.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n return Invocation;\n}(Node));\n\nvar Function = /** @class */ (function (_super) {\n __extends(Function, _super);\n function Function(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Function.prototype, \"type\", {\n get: function () {\n return NodeType.Function;\n },\n enumerable: false,\n configurable: true\n });\n Function.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Function.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Function.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return Function;\n}(Invocation));\n\nvar FunctionParameter = /** @class */ (function (_super) {\n __extends(FunctionParameter, _super);\n function FunctionParameter(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionParameter.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionParameter;\n },\n enumerable: false,\n configurable: true\n });\n FunctionParameter.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionParameter.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionParameter.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionParameter.prototype.setDefaultValue = function (node) {\n return this.setNode('defaultValue', node, 0);\n };\n FunctionParameter.prototype.getDefaultValue = function () {\n return this.defaultValue;\n };\n return FunctionParameter;\n}(Node));\n\nvar FunctionArgument = /** @class */ (function (_super) {\n __extends(FunctionArgument, _super);\n function FunctionArgument(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionArgument.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionArgument;\n },\n enumerable: false,\n configurable: true\n });\n FunctionArgument.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionArgument.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionArgument.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionArgument.prototype.setValue = function (node) {\n return this.setNode('value', node, 0);\n };\n FunctionArgument.prototype.getValue = function () {\n return this.value;\n };\n return FunctionArgument;\n}(Node));\n\nvar IfStatement = /** @class */ (function (_super) {\n __extends(IfStatement, _super);\n function IfStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(IfStatement.prototype, \"type\", {\n get: function () {\n return NodeType.If;\n },\n enumerable: false,\n configurable: true\n });\n IfStatement.prototype.setExpression = function (node) {\n return this.setNode('expression', node, 0);\n };\n IfStatement.prototype.setElseClause = function (elseClause) {\n return this.setNode('elseClause', elseClause);\n };\n return IfStatement;\n}(BodyDeclaration));\n\nvar ForStatement = /** @class */ (function (_super) {\n __extends(ForStatement, _super);\n function ForStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ForStatement.prototype, \"type\", {\n get: function () {\n return NodeType.For;\n },\n enumerable: false,\n configurable: true\n });\n ForStatement.prototype.setVariable = function (node) {\n return this.setNode('variable', node, 0);\n };\n return ForStatement;\n}(BodyDeclaration));\n\nvar EachStatement = /** @class */ (function (_super) {\n __extends(EachStatement, _super);\n function EachStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(EachStatement.prototype, \"type\", {\n get: function () {\n return NodeType.Each;\n },\n enumerable: false,\n configurable: true\n });\n EachStatement.prototype.getVariables = function () {\n if (!this.variables) {\n this.variables = new Nodelist(this);\n }\n return this.variables;\n };\n return EachStatement;\n}(BodyDeclaration));\n\nvar WhileStatement = /** @class */ (function (_super) {\n __extends(WhileStatement, _super);\n function WhileStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(WhileStatement.prototype, \"type\", {\n get: function () {\n return NodeType.While;\n },\n enumerable: false,\n configurable: true\n });\n return WhileStatement;\n}(BodyDeclaration));\n\nvar ElseStatement = /** @class */ (function (_super) {\n __extends(ElseStatement, _super);\n function ElseStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ElseStatement.prototype, \"type\", {\n get: function () {\n return NodeType.Else;\n },\n enumerable: false,\n configurable: true\n });\n return ElseStatement;\n}(BodyDeclaration));\n\nvar FunctionDeclaration = /** @class */ (function (_super) {\n __extends(FunctionDeclaration, _super);\n function FunctionDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n FunctionDeclaration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionDeclaration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionDeclaration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return FunctionDeclaration;\n}(BodyDeclaration));\n\nvar ViewPort = /** @class */ (function (_super) {\n __extends(ViewPort, _super);\n function ViewPort(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ViewPort.prototype, \"type\", {\n get: function () {\n return NodeType.ViewPort;\n },\n enumerable: false,\n configurable: true\n });\n return ViewPort;\n}(BodyDeclaration));\n\nvar FontFace = /** @class */ (function (_super) {\n __extends(FontFace, _super);\n function FontFace(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FontFace.prototype, \"type\", {\n get: function () {\n return NodeType.FontFace;\n },\n enumerable: false,\n configurable: true\n });\n return FontFace;\n}(BodyDeclaration));\n\nvar NestedProperties = /** @class */ (function (_super) {\n __extends(NestedProperties, _super);\n function NestedProperties(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(NestedProperties.prototype, \"type\", {\n get: function () {\n return NodeType.NestedProperties;\n },\n enumerable: false,\n configurable: true\n });\n return NestedProperties;\n}(BodyDeclaration));\n\nvar Keyframe = /** @class */ (function (_super) {\n __extends(Keyframe, _super);\n function Keyframe(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Keyframe.prototype, \"type\", {\n get: function () {\n return NodeType.Keyframe;\n },\n enumerable: false,\n configurable: true\n });\n Keyframe.prototype.setKeyword = function (keyword) {\n return this.setNode('keyword', keyword, 0);\n };\n Keyframe.prototype.getKeyword = function () {\n return this.keyword;\n };\n Keyframe.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Keyframe.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Keyframe.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return Keyframe;\n}(BodyDeclaration));\n\nvar KeyframeSelector = /** @class */ (function (_super) {\n __extends(KeyframeSelector, _super);\n function KeyframeSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(KeyframeSelector.prototype, \"type\", {\n get: function () {\n return NodeType.KeyframeSelector;\n },\n enumerable: false,\n configurable: true\n });\n return KeyframeSelector;\n}(BodyDeclaration));\n\nvar Import = /** @class */ (function (_super) {\n __extends(Import, _super);\n function Import(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Import.prototype, \"type\", {\n get: function () {\n return NodeType.Import;\n },\n enumerable: false,\n configurable: true\n });\n Import.prototype.setMedialist = function (node) {\n if (node) {\n node.attachTo(this);\n return true;\n }\n return false;\n };\n return Import;\n}(Node));\n\nvar Use = /** @class */ (function (_super) {\n __extends(Use, _super);\n function Use() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Use.prototype, \"type\", {\n get: function () {\n return NodeType.Use;\n },\n enumerable: false,\n configurable: true\n });\n Use.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n Use.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Use.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return Use;\n}(Node));\n\nvar ModuleConfiguration = /** @class */ (function (_super) {\n __extends(ModuleConfiguration, _super);\n function ModuleConfiguration() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ModuleConfiguration.prototype, \"type\", {\n get: function () {\n return NodeType.ModuleConfiguration;\n },\n enumerable: false,\n configurable: true\n });\n ModuleConfiguration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n ModuleConfiguration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n ModuleConfiguration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n ModuleConfiguration.prototype.setValue = function (node) {\n return this.setNode('value', node, 0);\n };\n ModuleConfiguration.prototype.getValue = function () {\n return this.value;\n };\n return ModuleConfiguration;\n}(Node));\n\nvar Forward = /** @class */ (function (_super) {\n __extends(Forward, _super);\n function Forward() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Forward.prototype, \"type\", {\n get: function () {\n return NodeType.Forward;\n },\n enumerable: false,\n configurable: true\n });\n Forward.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Forward.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Forward.prototype.getMembers = function () {\n if (!this.members) {\n this.members = new Nodelist(this);\n }\n return this.members;\n };\n Forward.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return Forward;\n}(Node));\n\nvar ForwardVisibility = /** @class */ (function (_super) {\n __extends(ForwardVisibility, _super);\n function ForwardVisibility() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ForwardVisibility.prototype, \"type\", {\n get: function () {\n return NodeType.ForwardVisibility;\n },\n enumerable: false,\n configurable: true\n });\n ForwardVisibility.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n ForwardVisibility.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return ForwardVisibility;\n}(Node));\n\nvar Namespace = /** @class */ (function (_super) {\n __extends(Namespace, _super);\n function Namespace(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Namespace.prototype, \"type\", {\n get: function () {\n return NodeType.Namespace;\n },\n enumerable: false,\n configurable: true\n });\n return Namespace;\n}(Node));\n\nvar Media = /** @class */ (function (_super) {\n __extends(Media, _super);\n function Media(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Media.prototype, \"type\", {\n get: function () {\n return NodeType.Media;\n },\n enumerable: false,\n configurable: true\n });\n return Media;\n}(BodyDeclaration));\n\nvar Supports = /** @class */ (function (_super) {\n __extends(Supports, _super);\n function Supports(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Supports.prototype, \"type\", {\n get: function () {\n return NodeType.Supports;\n },\n enumerable: false,\n configurable: true\n });\n return Supports;\n}(BodyDeclaration));\n\nvar Document = /** @class */ (function (_super) {\n __extends(Document, _super);\n function Document(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Document.prototype, \"type\", {\n get: function () {\n return NodeType.Document;\n },\n enumerable: false,\n configurable: true\n });\n return Document;\n}(BodyDeclaration));\n\nvar Medialist = /** @class */ (function (_super) {\n __extends(Medialist, _super);\n function Medialist(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Medialist.prototype.getMediums = function () {\n if (!this.mediums) {\n this.mediums = new Nodelist(this);\n }\n return this.mediums;\n };\n return Medialist;\n}(Node));\n\nvar MediaQuery = /** @class */ (function (_super) {\n __extends(MediaQuery, _super);\n function MediaQuery(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MediaQuery.prototype, \"type\", {\n get: function () {\n return NodeType.MediaQuery;\n },\n enumerable: false,\n configurable: true\n });\n return MediaQuery;\n}(Node));\n\nvar SupportsCondition = /** @class */ (function (_super) {\n __extends(SupportsCondition, _super);\n function SupportsCondition(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(SupportsCondition.prototype, \"type\", {\n get: function () {\n return NodeType.SupportsCondition;\n },\n enumerable: false,\n configurable: true\n });\n return SupportsCondition;\n}(Node));\n\nvar Page = /** @class */ (function (_super) {\n __extends(Page, _super);\n function Page(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Page.prototype, \"type\", {\n get: function () {\n return NodeType.Page;\n },\n enumerable: false,\n configurable: true\n });\n return Page;\n}(BodyDeclaration));\n\nvar PageBoxMarginBox = /** @class */ (function (_super) {\n __extends(PageBoxMarginBox, _super);\n function PageBoxMarginBox(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(PageBoxMarginBox.prototype, \"type\", {\n get: function () {\n return NodeType.PageBoxMarginBox;\n },\n enumerable: false,\n configurable: true\n });\n return PageBoxMarginBox;\n}(BodyDeclaration));\n\nvar Expression = /** @class */ (function (_super) {\n __extends(Expression, _super);\n function Expression(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Expression.prototype, \"type\", {\n get: function () {\n return NodeType.Expression;\n },\n enumerable: false,\n configurable: true\n });\n return Expression;\n}(Node));\n\nvar BinaryExpression = /** @class */ (function (_super) {\n __extends(BinaryExpression, _super);\n function BinaryExpression(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(BinaryExpression.prototype, \"type\", {\n get: function () {\n return NodeType.BinaryExpression;\n },\n enumerable: false,\n configurable: true\n });\n BinaryExpression.prototype.setLeft = function (left) {\n return this.setNode('left', left);\n };\n BinaryExpression.prototype.getLeft = function () {\n return this.left;\n };\n BinaryExpression.prototype.setRight = function (right) {\n return this.setNode('right', right);\n };\n BinaryExpression.prototype.getRight = function () {\n return this.right;\n };\n BinaryExpression.prototype.setOperator = function (value) {\n return this.setNode('operator', value);\n };\n BinaryExpression.prototype.getOperator = function () {\n return this.operator;\n };\n return BinaryExpression;\n}(Node));\n\nvar Term = /** @class */ (function (_super) {\n __extends(Term, _super);\n function Term(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Term.prototype, \"type\", {\n get: function () {\n return NodeType.Term;\n },\n enumerable: false,\n configurable: true\n });\n Term.prototype.setOperator = function (value) {\n return this.setNode('operator', value);\n };\n Term.prototype.getOperator = function () {\n return this.operator;\n };\n Term.prototype.setExpression = function (value) {\n return this.setNode('expression', value);\n };\n Term.prototype.getExpression = function () {\n return this.expression;\n };\n return Term;\n}(Node));\n\nvar AttributeSelector = /** @class */ (function (_super) {\n __extends(AttributeSelector, _super);\n function AttributeSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(AttributeSelector.prototype, \"type\", {\n get: function () {\n return NodeType.AttributeSelector;\n },\n enumerable: false,\n configurable: true\n });\n AttributeSelector.prototype.setNamespacePrefix = function (value) {\n return this.setNode('namespacePrefix', value);\n };\n AttributeSelector.prototype.getNamespacePrefix = function () {\n return this.namespacePrefix;\n };\n AttributeSelector.prototype.setIdentifier = function (value) {\n return this.setNode('identifier', value);\n };\n AttributeSelector.prototype.getIdentifier = function () {\n return this.identifier;\n };\n AttributeSelector.prototype.setOperator = function (operator) {\n return this.setNode('operator', operator);\n };\n AttributeSelector.prototype.getOperator = function () {\n return this.operator;\n };\n AttributeSelector.prototype.setValue = function (value) {\n return this.setNode('value', value);\n };\n AttributeSelector.prototype.getValue = function () {\n return this.value;\n };\n return AttributeSelector;\n}(Node));\n\nvar Operator = /** @class */ (function (_super) {\n __extends(Operator, _super);\n function Operator(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Operator.prototype, \"type\", {\n get: function () {\n return NodeType.Operator;\n },\n enumerable: false,\n configurable: true\n });\n return Operator;\n}(Node));\n\nvar HexColorValue = /** @class */ (function (_super) {\n __extends(HexColorValue, _super);\n function HexColorValue(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(HexColorValue.prototype, \"type\", {\n get: function () {\n return NodeType.HexColorValue;\n },\n enumerable: false,\n configurable: true\n });\n return HexColorValue;\n}(Node));\n\nvar _dot = '.'.charCodeAt(0), _0 = '0'.charCodeAt(0), _9 = '9'.charCodeAt(0);\nvar NumericValue = /** @class */ (function (_super) {\n __extends(NumericValue, _super);\n function NumericValue(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(NumericValue.prototype, \"type\", {\n get: function () {\n return NodeType.NumericValue;\n },\n enumerable: false,\n configurable: true\n });\n NumericValue.prototype.getValue = function () {\n var raw = this.getText();\n var unitIdx = 0;\n var code;\n for (var i = 0, len = raw.length; i < len; i++) {\n code = raw.charCodeAt(i);\n if (!(_0 <= code && code <= _9 || code === _dot)) {\n break;\n }\n unitIdx += 1;\n }\n return {\n value: raw.substring(0, unitIdx),\n unit: unitIdx < raw.length ? raw.substring(unitIdx) : undefined\n };\n };\n return NumericValue;\n}(Node));\n\nvar VariableDeclaration = /** @class */ (function (_super) {\n __extends(VariableDeclaration, _super);\n function VariableDeclaration(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.variable = null;\n _this.value = null;\n _this.needsSemicolon = true;\n return _this;\n }\n Object.defineProperty(VariableDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.VariableDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n VariableDeclaration.prototype.setVariable = function (node) {\n if (node) {\n node.attachTo(this);\n this.variable = node;\n return true;\n }\n return false;\n };\n VariableDeclaration.prototype.getVariable = function () {\n return this.variable;\n };\n VariableDeclaration.prototype.getName = function () {\n return this.variable ? this.variable.getName() : '';\n };\n VariableDeclaration.prototype.setValue = function (node) {\n if (node) {\n node.attachTo(this);\n this.value = node;\n return true;\n }\n return false;\n };\n VariableDeclaration.prototype.getValue = function () {\n return this.value;\n };\n return VariableDeclaration;\n}(AbstractDeclaration));\n\nvar Interpolation = /** @class */ (function (_super) {\n __extends(Interpolation, _super);\n // private _interpolations: void; // workaround for https://github.com/Microsoft/TypeScript/issues/18276\n function Interpolation(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Interpolation.prototype, \"type\", {\n get: function () {\n return NodeType.Interpolation;\n },\n enumerable: false,\n configurable: true\n });\n return Interpolation;\n}(Node));\n\nvar Variable = /** @class */ (function (_super) {\n __extends(Variable, _super);\n function Variable(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Variable.prototype, \"type\", {\n get: function () {\n return NodeType.VariableName;\n },\n enumerable: false,\n configurable: true\n });\n Variable.prototype.getName = function () {\n return this.getText();\n };\n return Variable;\n}(Node));\n\nvar ExtendsReference = /** @class */ (function (_super) {\n __extends(ExtendsReference, _super);\n function ExtendsReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ExtendsReference.prototype, \"type\", {\n get: function () {\n return NodeType.ExtendsReference;\n },\n enumerable: false,\n configurable: true\n });\n ExtendsReference.prototype.getSelectors = function () {\n if (!this.selectors) {\n this.selectors = new Nodelist(this);\n }\n return this.selectors;\n };\n return ExtendsReference;\n}(Node));\n\nvar MixinContentReference = /** @class */ (function (_super) {\n __extends(MixinContentReference, _super);\n function MixinContentReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinContentReference.prototype, \"type\", {\n get: function () {\n return NodeType.MixinContentReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinContentReference.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n return MixinContentReference;\n}(Node));\n\nvar MixinContentDeclaration = /** @class */ (function (_super) {\n __extends(MixinContentDeclaration, _super);\n function MixinContentDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinContentDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.MixinContentReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinContentDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return MixinContentDeclaration;\n}(BodyDeclaration));\n\nvar MixinReference = /** @class */ (function (_super) {\n __extends(MixinReference, _super);\n function MixinReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinReference.prototype, \"type\", {\n get: function () {\n return NodeType.MixinReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinReference.prototype.getNamespaces = function () {\n if (!this.namespaces) {\n this.namespaces = new Nodelist(this);\n }\n return this.namespaces;\n };\n MixinReference.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n MixinReference.prototype.getIdentifier = function () {\n return this.identifier;\n };\n MixinReference.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n MixinReference.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n MixinReference.prototype.setContent = function (node) {\n return this.setNode('content', node);\n };\n MixinReference.prototype.getContent = function () {\n return this.content;\n };\n return MixinReference;\n}(Node));\n\nvar MixinDeclaration = /** @class */ (function (_super) {\n __extends(MixinDeclaration, _super);\n function MixinDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.MixinDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n MixinDeclaration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n MixinDeclaration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n MixinDeclaration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n MixinDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n MixinDeclaration.prototype.setGuard = function (node) {\n if (node) {\n node.attachTo(this);\n this.guard = node;\n }\n return false;\n };\n return MixinDeclaration;\n}(BodyDeclaration));\n\nvar UnknownAtRule = /** @class */ (function (_super) {\n __extends(UnknownAtRule, _super);\n function UnknownAtRule(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(UnknownAtRule.prototype, \"type\", {\n get: function () {\n return NodeType.UnknownAtRule;\n },\n enumerable: false,\n configurable: true\n });\n UnknownAtRule.prototype.setAtRuleName = function (atRuleName) {\n this.atRuleName = atRuleName;\n };\n UnknownAtRule.prototype.getAtRuleName = function () {\n return this.atRuleName;\n };\n return UnknownAtRule;\n}(BodyDeclaration));\n\nvar ListEntry = /** @class */ (function (_super) {\n __extends(ListEntry, _super);\n function ListEntry() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ListEntry.prototype, \"type\", {\n get: function () {\n return NodeType.ListEntry;\n },\n enumerable: false,\n configurable: true\n });\n ListEntry.prototype.setKey = function (node) {\n return this.setNode('key', node, 0);\n };\n ListEntry.prototype.setValue = function (node) {\n return this.setNode('value', node, 1);\n };\n return ListEntry;\n}(Node));\n\nvar LessGuard = /** @class */ (function (_super) {\n __extends(LessGuard, _super);\n function LessGuard() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LessGuard.prototype.getConditions = function () {\n if (!this.conditions) {\n this.conditions = new Nodelist(this);\n }\n return this.conditions;\n };\n return LessGuard;\n}(Node));\n\nvar GuardCondition = /** @class */ (function (_super) {\n __extends(GuardCondition, _super);\n function GuardCondition() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GuardCondition.prototype.setVariable = function (node) {\n return this.setNode('variable', node);\n };\n return GuardCondition;\n}(Node));\n\nvar Module = /** @class */ (function (_super) {\n __extends(Module, _super);\n function Module() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Module.prototype, \"type\", {\n get: function () {\n return NodeType.Module;\n },\n enumerable: false,\n configurable: true\n });\n Module.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Module.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return Module;\n}(Node));\n\nvar Level;\n(function (Level) {\n Level[Level[\"Ignore\"] = 1] = \"Ignore\";\n Level[Level[\"Warning\"] = 2] = \"Warning\";\n Level[Level[\"Error\"] = 4] = \"Error\";\n})(Level || (Level = {}));\nvar Marker = /** @class */ (function () {\n function Marker(node, rule, level, message, offset, length) {\n if (offset === void 0) { offset = node.offset; }\n if (length === void 0) { length = node.length; }\n this.node = node;\n this.rule = rule;\n this.level = level;\n this.message = message || rule.message;\n this.offset = offset;\n this.length = length;\n }\n Marker.prototype.getRule = function () {\n return this.rule;\n };\n Marker.prototype.getLevel = function () {\n return this.level;\n };\n Marker.prototype.getOffset = function () {\n return this.offset;\n };\n Marker.prototype.getLength = function () {\n return this.length;\n };\n Marker.prototype.getNode = function () {\n return this.node;\n };\n Marker.prototype.getMessage = function () {\n return this.message;\n };\n return Marker;\n}());\n\n/*\nexport class DefaultVisitor implements IVisitor {\n\n public visitNode(node:Node):boolean {\n switch (node.type) {\n case NodeType.Stylesheet:\n return this.visitStylesheet(<Stylesheet> node);\n case NodeType.FontFace:\n return this.visitFontFace(<FontFace> node);\n case NodeType.Ruleset:\n return this.visitRuleSet(<RuleSet> node);\n case NodeType.Selector:\n return this.visitSelector(<Selector> node);\n case NodeType.SimpleSelector:\n return this.visitSimpleSelector(<SimpleSelector> node);\n case NodeType.Declaration:\n return this.visitDeclaration(<Declaration> node);\n case NodeType.Function:\n return this.visitFunction(<Function> node);\n case NodeType.FunctionDeclaration:\n return this.visitFunctionDeclaration(<FunctionDeclaration> node);\n case NodeType.FunctionParameter:\n return this.visitFunctionParameter(<FunctionParameter> node);\n case NodeType.FunctionArgument:\n return this.visitFunctionArgument(<FunctionArgument> node);\n case NodeType.Term:\n return this.visitTerm(<Term> node);\n case NodeType.Declaration:\n return this.visitExpression(<Expression> node);\n case NodeType.NumericValue:\n return this.visitNumericValue(<NumericValue> node);\n case NodeType.Page:\n return this.visitPage(<Page> node);\n case NodeType.PageBoxMarginBox:\n return this.visitPageBoxMarginBox(<PageBoxMarginBox> node);\n case NodeType.Property:\n return this.visitProperty(<Property> node);\n case NodeType.NumericValue:\n return this.visitNodelist(<Nodelist> node);\n case NodeType.Import:\n return this.visitImport(<Import> node);\n case NodeType.Namespace:\n return this.visitNamespace(<Namespace> node);\n case NodeType.Keyframe:\n return this.visitKeyframe(<Keyframe> node);\n case NodeType.KeyframeSelector:\n return this.visitKeyframeSelector(<KeyframeSelector> node);\n case NodeType.MixinDeclaration:\n return this.visitMixinDeclaration(<MixinDeclaration> node);\n case NodeType.MixinReference:\n return this.visitMixinReference(<MixinReference> node);\n case NodeType.Variable:\n return this.visitVariable(<Variable> node);\n case NodeType.VariableDeclaration:\n return this.visitVariableDeclaration(<VariableDeclaration> node);\n }\n return this.visitUnknownNode(node);\n }\n\n public visitFontFace(node:FontFace):boolean {\n return true;\n }\n\n public visitKeyframe(node:Keyframe):boolean {\n return true;\n }\n\n public visitKeyframeSelector(node:KeyframeSelector):boolean {\n return true;\n }\n\n public visitStylesheet(node:Stylesheet):boolean {\n return true;\n }\n\n public visitProperty(Node:Property):boolean {\n return true;\n }\n\n public visitRuleSet(node:RuleSet):boolean {\n return true;\n }\n\n public visitSelector(node:Selector):boolean {\n return true;\n }\n\n public visitSimpleSelector(node:SimpleSelector):boolean {\n return true;\n }\n\n public visitDeclaration(node:Declaration):boolean {\n return true;\n }\n\n public visitFunction(node:Function):boolean {\n return true;\n }\n\n public visitFunctionDeclaration(node:FunctionDeclaration):boolean {\n return true;\n }\n\n public visitInvocation(node:Invocation):boolean {\n return true;\n }\n\n public visitTerm(node:Term):boolean {\n return true;\n }\n\n public visitImport(node:Import):boolean {\n return true;\n }\n\n public visitNamespace(node:Namespace):boolean {\n return true;\n }\n\n public visitExpression(node:Expression):boolean {\n return true;\n }\n\n public visitNumericValue(node:NumericValue):boolean {\n return true;\n }\n\n public visitPage(node:Page):boolean {\n return true;\n }\n\n public visitPageBoxMarginBox(node:PageBoxMarginBox):boolean {\n return true;\n }\n\n public visitNodelist(node:Nodelist):boolean {\n return true;\n }\n\n public visitVariableDeclaration(node:VariableDeclaration):boolean {\n return true;\n }\n\n public visitVariable(node:Variable):boolean {\n return true;\n }\n\n public visitMixinDeclaration(node:MixinDeclaration):boolean {\n return true;\n }\n\n public visitMixinReference(node:MixinReference):boolean {\n return true;\n }\n\n public visitUnknownNode(node:Node):boolean {\n return true;\n }\n}\n*/\nvar ParseErrorCollector = /** @class */ (function () {\n function ParseErrorCollector() {\n this.entries = [];\n }\n ParseErrorCollector.entries = function (node) {\n var visitor = new ParseErrorCollector();\n node.acceptVisitor(visitor);\n return visitor.entries;\n };\n ParseErrorCollector.prototype.visitNode = function (node) {\n if (node.isErroneous()) {\n node.collectIssues(this.entries);\n }\n return true;\n };\n return ParseErrorCollector;\n}());\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js?");
118
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"AbstractDeclaration\": () => (/* binding */ AbstractDeclaration),\n/* harmony export */ \"AtApplyRule\": () => (/* binding */ AtApplyRule),\n/* harmony export */ \"AttributeSelector\": () => (/* binding */ AttributeSelector),\n/* harmony export */ \"BinaryExpression\": () => (/* binding */ BinaryExpression),\n/* harmony export */ \"BodyDeclaration\": () => (/* binding */ BodyDeclaration),\n/* harmony export */ \"CustomPropertyDeclaration\": () => (/* binding */ CustomPropertyDeclaration),\n/* harmony export */ \"CustomPropertySet\": () => (/* binding */ CustomPropertySet),\n/* harmony export */ \"Declaration\": () => (/* binding */ Declaration),\n/* harmony export */ \"Declarations\": () => (/* binding */ Declarations),\n/* harmony export */ \"Document\": () => (/* binding */ Document),\n/* harmony export */ \"EachStatement\": () => (/* binding */ EachStatement),\n/* harmony export */ \"ElseStatement\": () => (/* binding */ ElseStatement),\n/* harmony export */ \"Expression\": () => (/* binding */ Expression),\n/* harmony export */ \"ExtendsReference\": () => (/* binding */ ExtendsReference),\n/* harmony export */ \"FontFace\": () => (/* binding */ FontFace),\n/* harmony export */ \"ForStatement\": () => (/* binding */ ForStatement),\n/* harmony export */ \"Forward\": () => (/* binding */ Forward),\n/* harmony export */ \"ForwardVisibility\": () => (/* binding */ ForwardVisibility),\n/* harmony export */ \"Function\": () => (/* binding */ Function),\n/* harmony export */ \"FunctionArgument\": () => (/* binding */ FunctionArgument),\n/* harmony export */ \"FunctionDeclaration\": () => (/* binding */ FunctionDeclaration),\n/* harmony export */ \"FunctionParameter\": () => (/* binding */ FunctionParameter),\n/* harmony export */ \"GuardCondition\": () => (/* binding */ GuardCondition),\n/* harmony export */ \"HexColorValue\": () => (/* binding */ HexColorValue),\n/* harmony export */ \"Identifier\": () => (/* binding */ Identifier),\n/* harmony export */ \"IfStatement\": () => (/* binding */ IfStatement),\n/* harmony export */ \"Import\": () => (/* binding */ Import),\n/* harmony export */ \"Interpolation\": () => (/* binding */ Interpolation),\n/* harmony export */ \"Invocation\": () => (/* binding */ Invocation),\n/* harmony export */ \"Keyframe\": () => (/* binding */ Keyframe),\n/* harmony export */ \"KeyframeSelector\": () => (/* binding */ KeyframeSelector),\n/* harmony export */ \"LessGuard\": () => (/* binding */ LessGuard),\n/* harmony export */ \"Level\": () => (/* binding */ Level),\n/* harmony export */ \"ListEntry\": () => (/* binding */ ListEntry),\n/* harmony export */ \"Marker\": () => (/* binding */ Marker),\n/* harmony export */ \"Media\": () => (/* binding */ Media),\n/* harmony export */ \"MediaQuery\": () => (/* binding */ MediaQuery),\n/* harmony export */ \"Medialist\": () => (/* binding */ Medialist),\n/* harmony export */ \"MixinContentDeclaration\": () => (/* binding */ MixinContentDeclaration),\n/* harmony export */ \"MixinContentReference\": () => (/* binding */ MixinContentReference),\n/* harmony export */ \"MixinDeclaration\": () => (/* binding */ MixinDeclaration),\n/* harmony export */ \"MixinReference\": () => (/* binding */ MixinReference),\n/* harmony export */ \"Module\": () => (/* binding */ Module),\n/* harmony export */ \"ModuleConfiguration\": () => (/* binding */ ModuleConfiguration),\n/* harmony export */ \"Namespace\": () => (/* binding */ Namespace),\n/* harmony export */ \"NestedProperties\": () => (/* binding */ NestedProperties),\n/* harmony export */ \"Node\": () => (/* binding */ Node),\n/* harmony export */ \"NodeType\": () => (/* binding */ NodeType),\n/* harmony export */ \"Nodelist\": () => (/* binding */ Nodelist),\n/* harmony export */ \"NumericValue\": () => (/* binding */ NumericValue),\n/* harmony export */ \"Operator\": () => (/* binding */ Operator),\n/* harmony export */ \"Page\": () => (/* binding */ Page),\n/* harmony export */ \"PageBoxMarginBox\": () => (/* binding */ PageBoxMarginBox),\n/* harmony export */ \"ParseErrorCollector\": () => (/* binding */ ParseErrorCollector),\n/* harmony export */ \"Property\": () => (/* binding */ Property),\n/* harmony export */ \"ReferenceType\": () => (/* binding */ ReferenceType),\n/* harmony export */ \"RuleSet\": () => (/* binding */ RuleSet),\n/* harmony export */ \"Selector\": () => (/* binding */ Selector),\n/* harmony export */ \"SimpleSelector\": () => (/* binding */ SimpleSelector),\n/* harmony export */ \"Stylesheet\": () => (/* binding */ Stylesheet),\n/* harmony export */ \"Supports\": () => (/* binding */ Supports),\n/* harmony export */ \"SupportsCondition\": () => (/* binding */ SupportsCondition),\n/* harmony export */ \"Term\": () => (/* binding */ Term),\n/* harmony export */ \"UnknownAtRule\": () => (/* binding */ UnknownAtRule),\n/* harmony export */ \"Use\": () => (/* binding */ Use),\n/* harmony export */ \"Variable\": () => (/* binding */ Variable),\n/* harmony export */ \"VariableDeclaration\": () => (/* binding */ VariableDeclaration),\n/* harmony export */ \"ViewPort\": () => (/* binding */ ViewPort),\n/* harmony export */ \"WhileStatement\": () => (/* binding */ WhileStatement),\n/* harmony export */ \"getNodeAtOffset\": () => (/* binding */ getNodeAtOffset),\n/* harmony export */ \"getNodePath\": () => (/* binding */ getNodePath),\n/* harmony export */ \"getParentDeclaration\": () => (/* binding */ getParentDeclaration)\n/* harmony export */ });\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n/// <summary>\n/// Nodes for the css 2.1 specification. See for reference:\n/// http://www.w3.org/TR/CSS21/grammar.html#grammar\n/// </summary>\nvar NodeType;\n(function (NodeType) {\n NodeType[NodeType[\"Undefined\"] = 0] = \"Undefined\";\n NodeType[NodeType[\"Identifier\"] = 1] = \"Identifier\";\n NodeType[NodeType[\"Stylesheet\"] = 2] = \"Stylesheet\";\n NodeType[NodeType[\"Ruleset\"] = 3] = \"Ruleset\";\n NodeType[NodeType[\"Selector\"] = 4] = \"Selector\";\n NodeType[NodeType[\"SimpleSelector\"] = 5] = \"SimpleSelector\";\n NodeType[NodeType[\"SelectorInterpolation\"] = 6] = \"SelectorInterpolation\";\n NodeType[NodeType[\"SelectorCombinator\"] = 7] = \"SelectorCombinator\";\n NodeType[NodeType[\"SelectorCombinatorParent\"] = 8] = \"SelectorCombinatorParent\";\n NodeType[NodeType[\"SelectorCombinatorSibling\"] = 9] = \"SelectorCombinatorSibling\";\n NodeType[NodeType[\"SelectorCombinatorAllSiblings\"] = 10] = \"SelectorCombinatorAllSiblings\";\n NodeType[NodeType[\"SelectorCombinatorShadowPiercingDescendant\"] = 11] = \"SelectorCombinatorShadowPiercingDescendant\";\n NodeType[NodeType[\"Page\"] = 12] = \"Page\";\n NodeType[NodeType[\"PageBoxMarginBox\"] = 13] = \"PageBoxMarginBox\";\n NodeType[NodeType[\"ClassSelector\"] = 14] = \"ClassSelector\";\n NodeType[NodeType[\"IdentifierSelector\"] = 15] = \"IdentifierSelector\";\n NodeType[NodeType[\"ElementNameSelector\"] = 16] = \"ElementNameSelector\";\n NodeType[NodeType[\"PseudoSelector\"] = 17] = \"PseudoSelector\";\n NodeType[NodeType[\"AttributeSelector\"] = 18] = \"AttributeSelector\";\n NodeType[NodeType[\"Declaration\"] = 19] = \"Declaration\";\n NodeType[NodeType[\"Declarations\"] = 20] = \"Declarations\";\n NodeType[NodeType[\"Property\"] = 21] = \"Property\";\n NodeType[NodeType[\"Expression\"] = 22] = \"Expression\";\n NodeType[NodeType[\"BinaryExpression\"] = 23] = \"BinaryExpression\";\n NodeType[NodeType[\"Term\"] = 24] = \"Term\";\n NodeType[NodeType[\"Operator\"] = 25] = \"Operator\";\n NodeType[NodeType[\"Value\"] = 26] = \"Value\";\n NodeType[NodeType[\"StringLiteral\"] = 27] = \"StringLiteral\";\n NodeType[NodeType[\"URILiteral\"] = 28] = \"URILiteral\";\n NodeType[NodeType[\"EscapedValue\"] = 29] = \"EscapedValue\";\n NodeType[NodeType[\"Function\"] = 30] = \"Function\";\n NodeType[NodeType[\"NumericValue\"] = 31] = \"NumericValue\";\n NodeType[NodeType[\"HexColorValue\"] = 32] = \"HexColorValue\";\n NodeType[NodeType[\"MixinDeclaration\"] = 33] = \"MixinDeclaration\";\n NodeType[NodeType[\"MixinReference\"] = 34] = \"MixinReference\";\n NodeType[NodeType[\"VariableName\"] = 35] = \"VariableName\";\n NodeType[NodeType[\"VariableDeclaration\"] = 36] = \"VariableDeclaration\";\n NodeType[NodeType[\"Prio\"] = 37] = \"Prio\";\n NodeType[NodeType[\"Interpolation\"] = 38] = \"Interpolation\";\n NodeType[NodeType[\"NestedProperties\"] = 39] = \"NestedProperties\";\n NodeType[NodeType[\"ExtendsReference\"] = 40] = \"ExtendsReference\";\n NodeType[NodeType[\"SelectorPlaceholder\"] = 41] = \"SelectorPlaceholder\";\n NodeType[NodeType[\"Debug\"] = 42] = \"Debug\";\n NodeType[NodeType[\"If\"] = 43] = \"If\";\n NodeType[NodeType[\"Else\"] = 44] = \"Else\";\n NodeType[NodeType[\"For\"] = 45] = \"For\";\n NodeType[NodeType[\"Each\"] = 46] = \"Each\";\n NodeType[NodeType[\"While\"] = 47] = \"While\";\n NodeType[NodeType[\"MixinContentReference\"] = 48] = \"MixinContentReference\";\n NodeType[NodeType[\"MixinContentDeclaration\"] = 49] = \"MixinContentDeclaration\";\n NodeType[NodeType[\"Media\"] = 50] = \"Media\";\n NodeType[NodeType[\"Keyframe\"] = 51] = \"Keyframe\";\n NodeType[NodeType[\"FontFace\"] = 52] = \"FontFace\";\n NodeType[NodeType[\"Import\"] = 53] = \"Import\";\n NodeType[NodeType[\"Namespace\"] = 54] = \"Namespace\";\n NodeType[NodeType[\"Invocation\"] = 55] = \"Invocation\";\n NodeType[NodeType[\"FunctionDeclaration\"] = 56] = \"FunctionDeclaration\";\n NodeType[NodeType[\"ReturnStatement\"] = 57] = \"ReturnStatement\";\n NodeType[NodeType[\"MediaQuery\"] = 58] = \"MediaQuery\";\n NodeType[NodeType[\"FunctionParameter\"] = 59] = \"FunctionParameter\";\n NodeType[NodeType[\"FunctionArgument\"] = 60] = \"FunctionArgument\";\n NodeType[NodeType[\"KeyframeSelector\"] = 61] = \"KeyframeSelector\";\n NodeType[NodeType[\"ViewPort\"] = 62] = \"ViewPort\";\n NodeType[NodeType[\"Document\"] = 63] = \"Document\";\n NodeType[NodeType[\"AtApplyRule\"] = 64] = \"AtApplyRule\";\n NodeType[NodeType[\"CustomPropertyDeclaration\"] = 65] = \"CustomPropertyDeclaration\";\n NodeType[NodeType[\"CustomPropertySet\"] = 66] = \"CustomPropertySet\";\n NodeType[NodeType[\"ListEntry\"] = 67] = \"ListEntry\";\n NodeType[NodeType[\"Supports\"] = 68] = \"Supports\";\n NodeType[NodeType[\"SupportsCondition\"] = 69] = \"SupportsCondition\";\n NodeType[NodeType[\"NamespacePrefix\"] = 70] = \"NamespacePrefix\";\n NodeType[NodeType[\"GridLine\"] = 71] = \"GridLine\";\n NodeType[NodeType[\"Plugin\"] = 72] = \"Plugin\";\n NodeType[NodeType[\"UnknownAtRule\"] = 73] = \"UnknownAtRule\";\n NodeType[NodeType[\"Use\"] = 74] = \"Use\";\n NodeType[NodeType[\"ModuleConfiguration\"] = 75] = \"ModuleConfiguration\";\n NodeType[NodeType[\"Forward\"] = 76] = \"Forward\";\n NodeType[NodeType[\"ForwardVisibility\"] = 77] = \"ForwardVisibility\";\n NodeType[NodeType[\"Module\"] = 78] = \"Module\";\n})(NodeType || (NodeType = {}));\nvar ReferenceType;\n(function (ReferenceType) {\n ReferenceType[ReferenceType[\"Mixin\"] = 0] = \"Mixin\";\n ReferenceType[ReferenceType[\"Rule\"] = 1] = \"Rule\";\n ReferenceType[ReferenceType[\"Variable\"] = 2] = \"Variable\";\n ReferenceType[ReferenceType[\"Function\"] = 3] = \"Function\";\n ReferenceType[ReferenceType[\"Keyframe\"] = 4] = \"Keyframe\";\n ReferenceType[ReferenceType[\"Unknown\"] = 5] = \"Unknown\";\n ReferenceType[ReferenceType[\"Module\"] = 6] = \"Module\";\n ReferenceType[ReferenceType[\"Forward\"] = 7] = \"Forward\";\n ReferenceType[ReferenceType[\"ForwardVisibility\"] = 8] = \"ForwardVisibility\";\n})(ReferenceType || (ReferenceType = {}));\nfunction getNodeAtOffset(node, offset) {\n var candidate = null;\n if (!node || offset < node.offset || offset > node.end) {\n return null;\n }\n // Find the shortest node at the position\n node.accept(function (node) {\n if (node.offset === -1 && node.length === -1) {\n return true;\n }\n if (node.offset <= offset && node.end >= offset) {\n if (!candidate) {\n candidate = node;\n }\n else if (node.length <= candidate.length) {\n candidate = node;\n }\n return true;\n }\n return false;\n });\n return candidate;\n}\nfunction getNodePath(node, offset) {\n var candidate = getNodeAtOffset(node, offset);\n var path = [];\n while (candidate) {\n path.unshift(candidate);\n candidate = candidate.parent;\n }\n return path;\n}\nfunction getParentDeclaration(node) {\n var decl = node.findParent(NodeType.Declaration);\n var value = decl && decl.getValue();\n if (value && value.encloses(node)) {\n return decl;\n }\n return null;\n}\nvar Node = /** @class */ (function () {\n function Node(offset, len, nodeType) {\n if (offset === void 0) { offset = -1; }\n if (len === void 0) { len = -1; }\n this.parent = null;\n this.offset = offset;\n this.length = len;\n if (nodeType) {\n this.nodeType = nodeType;\n }\n }\n Object.defineProperty(Node.prototype, \"end\", {\n get: function () { return this.offset + this.length; },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"type\", {\n get: function () {\n return this.nodeType || NodeType.Undefined;\n },\n set: function (type) {\n this.nodeType = type;\n },\n enumerable: false,\n configurable: true\n });\n Node.prototype.getTextProvider = function () {\n var node = this;\n while (node && !node.textProvider) {\n node = node.parent;\n }\n if (node) {\n return node.textProvider;\n }\n return function () { return 'unknown'; };\n };\n Node.prototype.getText = function () {\n return this.getTextProvider()(this.offset, this.length);\n };\n Node.prototype.matches = function (str) {\n return this.length === str.length && this.getTextProvider()(this.offset, this.length) === str;\n };\n Node.prototype.startsWith = function (str) {\n return this.length >= str.length && this.getTextProvider()(this.offset, str.length) === str;\n };\n Node.prototype.endsWith = function (str) {\n return this.length >= str.length && this.getTextProvider()(this.end - str.length, str.length) === str;\n };\n Node.prototype.accept = function (visitor) {\n if (visitor(this) && this.children) {\n for (var _i = 0, _a = this.children; _i < _a.length; _i++) {\n var child = _a[_i];\n child.accept(visitor);\n }\n }\n };\n Node.prototype.acceptVisitor = function (visitor) {\n this.accept(visitor.visitNode.bind(visitor));\n };\n Node.prototype.adoptChild = function (node, index) {\n if (index === void 0) { index = -1; }\n if (node.parent && node.parent.children) {\n var idx = node.parent.children.indexOf(node);\n if (idx >= 0) {\n node.parent.children.splice(idx, 1);\n }\n }\n node.parent = this;\n var children = this.children;\n if (!children) {\n children = this.children = [];\n }\n if (index !== -1) {\n children.splice(index, 0, node);\n }\n else {\n children.push(node);\n }\n return node;\n };\n Node.prototype.attachTo = function (parent, index) {\n if (index === void 0) { index = -1; }\n if (parent) {\n parent.adoptChild(this, index);\n }\n return this;\n };\n Node.prototype.collectIssues = function (results) {\n if (this.issues) {\n results.push.apply(results, this.issues);\n }\n };\n Node.prototype.addIssue = function (issue) {\n if (!this.issues) {\n this.issues = [];\n }\n this.issues.push(issue);\n };\n Node.prototype.hasIssue = function (rule) {\n return Array.isArray(this.issues) && this.issues.some(function (i) { return i.getRule() === rule; });\n };\n Node.prototype.isErroneous = function (recursive) {\n if (recursive === void 0) { recursive = false; }\n if (this.issues && this.issues.length > 0) {\n return true;\n }\n return recursive && Array.isArray(this.children) && this.children.some(function (c) { return c.isErroneous(true); });\n };\n Node.prototype.setNode = function (field, node, index) {\n if (index === void 0) { index = -1; }\n if (node) {\n node.attachTo(this, index);\n this[field] = node;\n return true;\n }\n return false;\n };\n Node.prototype.addChild = function (node) {\n if (node) {\n if (!this.children) {\n this.children = [];\n }\n node.attachTo(this);\n this.updateOffsetAndLength(node);\n return true;\n }\n return false;\n };\n Node.prototype.updateOffsetAndLength = function (node) {\n if (node.offset < this.offset || this.offset === -1) {\n this.offset = node.offset;\n }\n var nodeEnd = node.end;\n if ((nodeEnd > this.end) || this.length === -1) {\n this.length = nodeEnd - this.offset;\n }\n };\n Node.prototype.hasChildren = function () {\n return !!this.children && this.children.length > 0;\n };\n Node.prototype.getChildren = function () {\n return this.children ? this.children.slice(0) : [];\n };\n Node.prototype.getChild = function (index) {\n if (this.children && index < this.children.length) {\n return this.children[index];\n }\n return null;\n };\n Node.prototype.addChildren = function (nodes) {\n for (var _i = 0, nodes_1 = nodes; _i < nodes_1.length; _i++) {\n var node = nodes_1[_i];\n this.addChild(node);\n }\n };\n Node.prototype.findFirstChildBeforeOffset = function (offset) {\n if (this.children) {\n var current = null;\n for (var i = this.children.length - 1; i >= 0; i--) {\n // iterate until we find a child that has a start offset smaller than the input offset\n current = this.children[i];\n if (current.offset <= offset) {\n return current;\n }\n }\n }\n return null;\n };\n Node.prototype.findChildAtOffset = function (offset, goDeep) {\n var current = this.findFirstChildBeforeOffset(offset);\n if (current && current.end >= offset) {\n if (goDeep) {\n return current.findChildAtOffset(offset, true) || current;\n }\n return current;\n }\n return null;\n };\n Node.prototype.encloses = function (candidate) {\n return this.offset <= candidate.offset && this.offset + this.length >= candidate.offset + candidate.length;\n };\n Node.prototype.getParent = function () {\n var result = this.parent;\n while (result instanceof Nodelist) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.findParent = function (type) {\n var result = this;\n while (result && result.type !== type) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.findAParent = function () {\n var types = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n types[_i] = arguments[_i];\n }\n var result = this;\n while (result && !types.some(function (t) { return result.type === t; })) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.setData = function (key, value) {\n if (!this.options) {\n this.options = {};\n }\n this.options[key] = value;\n };\n Node.prototype.getData = function (key) {\n if (!this.options || !this.options.hasOwnProperty(key)) {\n return null;\n }\n return this.options[key];\n };\n return Node;\n}());\n\nvar Nodelist = /** @class */ (function (_super) {\n __extends(Nodelist, _super);\n function Nodelist(parent, index) {\n if (index === void 0) { index = -1; }\n var _this = _super.call(this, -1, -1) || this;\n _this.attachTo(parent, index);\n _this.offset = -1;\n _this.length = -1;\n return _this;\n }\n return Nodelist;\n}(Node));\n\nvar Identifier = /** @class */ (function (_super) {\n __extends(Identifier, _super);\n function Identifier(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.isCustomProperty = false;\n return _this;\n }\n Object.defineProperty(Identifier.prototype, \"type\", {\n get: function () {\n return NodeType.Identifier;\n },\n enumerable: false,\n configurable: true\n });\n Identifier.prototype.containsInterpolation = function () {\n return this.hasChildren();\n };\n return Identifier;\n}(Node));\n\nvar Stylesheet = /** @class */ (function (_super) {\n __extends(Stylesheet, _super);\n function Stylesheet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Stylesheet.prototype, \"type\", {\n get: function () {\n return NodeType.Stylesheet;\n },\n enumerable: false,\n configurable: true\n });\n return Stylesheet;\n}(Node));\n\nvar Declarations = /** @class */ (function (_super) {\n __extends(Declarations, _super);\n function Declarations(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Declarations.prototype, \"type\", {\n get: function () {\n return NodeType.Declarations;\n },\n enumerable: false,\n configurable: true\n });\n return Declarations;\n}(Node));\n\nvar BodyDeclaration = /** @class */ (function (_super) {\n __extends(BodyDeclaration, _super);\n function BodyDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n BodyDeclaration.prototype.getDeclarations = function () {\n return this.declarations;\n };\n BodyDeclaration.prototype.setDeclarations = function (decls) {\n return this.setNode('declarations', decls);\n };\n return BodyDeclaration;\n}(Node));\n\nvar RuleSet = /** @class */ (function (_super) {\n __extends(RuleSet, _super);\n function RuleSet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(RuleSet.prototype, \"type\", {\n get: function () {\n return NodeType.Ruleset;\n },\n enumerable: false,\n configurable: true\n });\n RuleSet.prototype.getSelectors = function () {\n if (!this.selectors) {\n this.selectors = new Nodelist(this);\n }\n return this.selectors;\n };\n RuleSet.prototype.isNested = function () {\n return !!this.parent && this.parent.findParent(NodeType.Declarations) !== null;\n };\n return RuleSet;\n}(BodyDeclaration));\n\nvar Selector = /** @class */ (function (_super) {\n __extends(Selector, _super);\n function Selector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Selector.prototype, \"type\", {\n get: function () {\n return NodeType.Selector;\n },\n enumerable: false,\n configurable: true\n });\n return Selector;\n}(Node));\n\nvar SimpleSelector = /** @class */ (function (_super) {\n __extends(SimpleSelector, _super);\n function SimpleSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(SimpleSelector.prototype, \"type\", {\n get: function () {\n return NodeType.SimpleSelector;\n },\n enumerable: false,\n configurable: true\n });\n return SimpleSelector;\n}(Node));\n\nvar AtApplyRule = /** @class */ (function (_super) {\n __extends(AtApplyRule, _super);\n function AtApplyRule(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(AtApplyRule.prototype, \"type\", {\n get: function () {\n return NodeType.AtApplyRule;\n },\n enumerable: false,\n configurable: true\n });\n AtApplyRule.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n AtApplyRule.prototype.getIdentifier = function () {\n return this.identifier;\n };\n AtApplyRule.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return AtApplyRule;\n}(Node));\n\nvar AbstractDeclaration = /** @class */ (function (_super) {\n __extends(AbstractDeclaration, _super);\n function AbstractDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n return AbstractDeclaration;\n}(Node));\n\nvar CustomPropertySet = /** @class */ (function (_super) {\n __extends(CustomPropertySet, _super);\n function CustomPropertySet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(CustomPropertySet.prototype, \"type\", {\n get: function () {\n return NodeType.CustomPropertySet;\n },\n enumerable: false,\n configurable: true\n });\n return CustomPropertySet;\n}(BodyDeclaration));\n\nvar Declaration = /** @class */ (function (_super) {\n __extends(Declaration, _super);\n function Declaration(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.property = null;\n return _this;\n }\n Object.defineProperty(Declaration.prototype, \"type\", {\n get: function () {\n return NodeType.Declaration;\n },\n enumerable: false,\n configurable: true\n });\n Declaration.prototype.setProperty = function (node) {\n return this.setNode('property', node);\n };\n Declaration.prototype.getProperty = function () {\n return this.property;\n };\n Declaration.prototype.getFullPropertyName = function () {\n var propertyName = this.property ? this.property.getName() : 'unknown';\n if (this.parent instanceof Declarations && this.parent.getParent() instanceof NestedProperties) {\n var parentDecl = this.parent.getParent().getParent();\n if (parentDecl instanceof Declaration) {\n return parentDecl.getFullPropertyName() + propertyName;\n }\n }\n return propertyName;\n };\n Declaration.prototype.getNonPrefixedPropertyName = function () {\n var propertyName = this.getFullPropertyName();\n if (propertyName && propertyName.charAt(0) === '-') {\n var vendorPrefixEnd = propertyName.indexOf('-', 1);\n if (vendorPrefixEnd !== -1) {\n return propertyName.substring(vendorPrefixEnd + 1);\n }\n }\n return propertyName;\n };\n Declaration.prototype.setValue = function (value) {\n return this.setNode('value', value);\n };\n Declaration.prototype.getValue = function () {\n return this.value;\n };\n Declaration.prototype.setNestedProperties = function (value) {\n return this.setNode('nestedProperties', value);\n };\n Declaration.prototype.getNestedProperties = function () {\n return this.nestedProperties;\n };\n return Declaration;\n}(AbstractDeclaration));\n\nvar CustomPropertyDeclaration = /** @class */ (function (_super) {\n __extends(CustomPropertyDeclaration, _super);\n function CustomPropertyDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(CustomPropertyDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.CustomPropertyDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n CustomPropertyDeclaration.prototype.setPropertySet = function (value) {\n return this.setNode('propertySet', value);\n };\n CustomPropertyDeclaration.prototype.getPropertySet = function () {\n return this.propertySet;\n };\n return CustomPropertyDeclaration;\n}(Declaration));\n\nvar Property = /** @class */ (function (_super) {\n __extends(Property, _super);\n function Property(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Property.prototype, \"type\", {\n get: function () {\n return NodeType.Property;\n },\n enumerable: false,\n configurable: true\n });\n Property.prototype.setIdentifier = function (value) {\n return this.setNode('identifier', value);\n };\n Property.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Property.prototype.getName = function () {\n return (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.trim)(this.getText(), /[_\\+]+$/); /* +_: less merge */\n };\n Property.prototype.isCustomProperty = function () {\n return !!this.identifier && this.identifier.isCustomProperty;\n };\n return Property;\n}(Node));\n\nvar Invocation = /** @class */ (function (_super) {\n __extends(Invocation, _super);\n function Invocation(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Invocation.prototype, \"type\", {\n get: function () {\n return NodeType.Invocation;\n },\n enumerable: false,\n configurable: true\n });\n Invocation.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n return Invocation;\n}(Node));\n\nvar Function = /** @class */ (function (_super) {\n __extends(Function, _super);\n function Function(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Function.prototype, \"type\", {\n get: function () {\n return NodeType.Function;\n },\n enumerable: false,\n configurable: true\n });\n Function.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Function.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Function.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return Function;\n}(Invocation));\n\nvar FunctionParameter = /** @class */ (function (_super) {\n __extends(FunctionParameter, _super);\n function FunctionParameter(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionParameter.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionParameter;\n },\n enumerable: false,\n configurable: true\n });\n FunctionParameter.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionParameter.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionParameter.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionParameter.prototype.setDefaultValue = function (node) {\n return this.setNode('defaultValue', node, 0);\n };\n FunctionParameter.prototype.getDefaultValue = function () {\n return this.defaultValue;\n };\n return FunctionParameter;\n}(Node));\n\nvar FunctionArgument = /** @class */ (function (_super) {\n __extends(FunctionArgument, _super);\n function FunctionArgument(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionArgument.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionArgument;\n },\n enumerable: false,\n configurable: true\n });\n FunctionArgument.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionArgument.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionArgument.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionArgument.prototype.setValue = function (node) {\n return this.setNode('value', node, 0);\n };\n FunctionArgument.prototype.getValue = function () {\n return this.value;\n };\n return FunctionArgument;\n}(Node));\n\nvar IfStatement = /** @class */ (function (_super) {\n __extends(IfStatement, _super);\n function IfStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(IfStatement.prototype, \"type\", {\n get: function () {\n return NodeType.If;\n },\n enumerable: false,\n configurable: true\n });\n IfStatement.prototype.setExpression = function (node) {\n return this.setNode('expression', node, 0);\n };\n IfStatement.prototype.setElseClause = function (elseClause) {\n return this.setNode('elseClause', elseClause);\n };\n return IfStatement;\n}(BodyDeclaration));\n\nvar ForStatement = /** @class */ (function (_super) {\n __extends(ForStatement, _super);\n function ForStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ForStatement.prototype, \"type\", {\n get: function () {\n return NodeType.For;\n },\n enumerable: false,\n configurable: true\n });\n ForStatement.prototype.setVariable = function (node) {\n return this.setNode('variable', node, 0);\n };\n return ForStatement;\n}(BodyDeclaration));\n\nvar EachStatement = /** @class */ (function (_super) {\n __extends(EachStatement, _super);\n function EachStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(EachStatement.prototype, \"type\", {\n get: function () {\n return NodeType.Each;\n },\n enumerable: false,\n configurable: true\n });\n EachStatement.prototype.getVariables = function () {\n if (!this.variables) {\n this.variables = new Nodelist(this);\n }\n return this.variables;\n };\n return EachStatement;\n}(BodyDeclaration));\n\nvar WhileStatement = /** @class */ (function (_super) {\n __extends(WhileStatement, _super);\n function WhileStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(WhileStatement.prototype, \"type\", {\n get: function () {\n return NodeType.While;\n },\n enumerable: false,\n configurable: true\n });\n return WhileStatement;\n}(BodyDeclaration));\n\nvar ElseStatement = /** @class */ (function (_super) {\n __extends(ElseStatement, _super);\n function ElseStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ElseStatement.prototype, \"type\", {\n get: function () {\n return NodeType.Else;\n },\n enumerable: false,\n configurable: true\n });\n return ElseStatement;\n}(BodyDeclaration));\n\nvar FunctionDeclaration = /** @class */ (function (_super) {\n __extends(FunctionDeclaration, _super);\n function FunctionDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n FunctionDeclaration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionDeclaration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionDeclaration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return FunctionDeclaration;\n}(BodyDeclaration));\n\nvar ViewPort = /** @class */ (function (_super) {\n __extends(ViewPort, _super);\n function ViewPort(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ViewPort.prototype, \"type\", {\n get: function () {\n return NodeType.ViewPort;\n },\n enumerable: false,\n configurable: true\n });\n return ViewPort;\n}(BodyDeclaration));\n\nvar FontFace = /** @class */ (function (_super) {\n __extends(FontFace, _super);\n function FontFace(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FontFace.prototype, \"type\", {\n get: function () {\n return NodeType.FontFace;\n },\n enumerable: false,\n configurable: true\n });\n return FontFace;\n}(BodyDeclaration));\n\nvar NestedProperties = /** @class */ (function (_super) {\n __extends(NestedProperties, _super);\n function NestedProperties(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(NestedProperties.prototype, \"type\", {\n get: function () {\n return NodeType.NestedProperties;\n },\n enumerable: false,\n configurable: true\n });\n return NestedProperties;\n}(BodyDeclaration));\n\nvar Keyframe = /** @class */ (function (_super) {\n __extends(Keyframe, _super);\n function Keyframe(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Keyframe.prototype, \"type\", {\n get: function () {\n return NodeType.Keyframe;\n },\n enumerable: false,\n configurable: true\n });\n Keyframe.prototype.setKeyword = function (keyword) {\n return this.setNode('keyword', keyword, 0);\n };\n Keyframe.prototype.getKeyword = function () {\n return this.keyword;\n };\n Keyframe.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Keyframe.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Keyframe.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return Keyframe;\n}(BodyDeclaration));\n\nvar KeyframeSelector = /** @class */ (function (_super) {\n __extends(KeyframeSelector, _super);\n function KeyframeSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(KeyframeSelector.prototype, \"type\", {\n get: function () {\n return NodeType.KeyframeSelector;\n },\n enumerable: false,\n configurable: true\n });\n return KeyframeSelector;\n}(BodyDeclaration));\n\nvar Import = /** @class */ (function (_super) {\n __extends(Import, _super);\n function Import(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Import.prototype, \"type\", {\n get: function () {\n return NodeType.Import;\n },\n enumerable: false,\n configurable: true\n });\n Import.prototype.setMedialist = function (node) {\n if (node) {\n node.attachTo(this);\n return true;\n }\n return false;\n };\n return Import;\n}(Node));\n\nvar Use = /** @class */ (function (_super) {\n __extends(Use, _super);\n function Use() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Use.prototype, \"type\", {\n get: function () {\n return NodeType.Use;\n },\n enumerable: false,\n configurable: true\n });\n Use.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n Use.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Use.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return Use;\n}(Node));\n\nvar ModuleConfiguration = /** @class */ (function (_super) {\n __extends(ModuleConfiguration, _super);\n function ModuleConfiguration() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ModuleConfiguration.prototype, \"type\", {\n get: function () {\n return NodeType.ModuleConfiguration;\n },\n enumerable: false,\n configurable: true\n });\n ModuleConfiguration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n ModuleConfiguration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n ModuleConfiguration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n ModuleConfiguration.prototype.setValue = function (node) {\n return this.setNode('value', node, 0);\n };\n ModuleConfiguration.prototype.getValue = function () {\n return this.value;\n };\n return ModuleConfiguration;\n}(Node));\n\nvar Forward = /** @class */ (function (_super) {\n __extends(Forward, _super);\n function Forward() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Forward.prototype, \"type\", {\n get: function () {\n return NodeType.Forward;\n },\n enumerable: false,\n configurable: true\n });\n Forward.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Forward.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Forward.prototype.getMembers = function () {\n if (!this.members) {\n this.members = new Nodelist(this);\n }\n return this.members;\n };\n Forward.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return Forward;\n}(Node));\n\nvar ForwardVisibility = /** @class */ (function (_super) {\n __extends(ForwardVisibility, _super);\n function ForwardVisibility() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ForwardVisibility.prototype, \"type\", {\n get: function () {\n return NodeType.ForwardVisibility;\n },\n enumerable: false,\n configurable: true\n });\n ForwardVisibility.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n ForwardVisibility.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return ForwardVisibility;\n}(Node));\n\nvar Namespace = /** @class */ (function (_super) {\n __extends(Namespace, _super);\n function Namespace(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Namespace.prototype, \"type\", {\n get: function () {\n return NodeType.Namespace;\n },\n enumerable: false,\n configurable: true\n });\n return Namespace;\n}(Node));\n\nvar Media = /** @class */ (function (_super) {\n __extends(Media, _super);\n function Media(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Media.prototype, \"type\", {\n get: function () {\n return NodeType.Media;\n },\n enumerable: false,\n configurable: true\n });\n return Media;\n}(BodyDeclaration));\n\nvar Supports = /** @class */ (function (_super) {\n __extends(Supports, _super);\n function Supports(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Supports.prototype, \"type\", {\n get: function () {\n return NodeType.Supports;\n },\n enumerable: false,\n configurable: true\n });\n return Supports;\n}(BodyDeclaration));\n\nvar Document = /** @class */ (function (_super) {\n __extends(Document, _super);\n function Document(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Document.prototype, \"type\", {\n get: function () {\n return NodeType.Document;\n },\n enumerable: false,\n configurable: true\n });\n return Document;\n}(BodyDeclaration));\n\nvar Medialist = /** @class */ (function (_super) {\n __extends(Medialist, _super);\n function Medialist(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Medialist.prototype.getMediums = function () {\n if (!this.mediums) {\n this.mediums = new Nodelist(this);\n }\n return this.mediums;\n };\n return Medialist;\n}(Node));\n\nvar MediaQuery = /** @class */ (function (_super) {\n __extends(MediaQuery, _super);\n function MediaQuery(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MediaQuery.prototype, \"type\", {\n get: function () {\n return NodeType.MediaQuery;\n },\n enumerable: false,\n configurable: true\n });\n return MediaQuery;\n}(Node));\n\nvar SupportsCondition = /** @class */ (function (_super) {\n __extends(SupportsCondition, _super);\n function SupportsCondition(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(SupportsCondition.prototype, \"type\", {\n get: function () {\n return NodeType.SupportsCondition;\n },\n enumerable: false,\n configurable: true\n });\n return SupportsCondition;\n}(Node));\n\nvar Page = /** @class */ (function (_super) {\n __extends(Page, _super);\n function Page(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Page.prototype, \"type\", {\n get: function () {\n return NodeType.Page;\n },\n enumerable: false,\n configurable: true\n });\n return Page;\n}(BodyDeclaration));\n\nvar PageBoxMarginBox = /** @class */ (function (_super) {\n __extends(PageBoxMarginBox, _super);\n function PageBoxMarginBox(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(PageBoxMarginBox.prototype, \"type\", {\n get: function () {\n return NodeType.PageBoxMarginBox;\n },\n enumerable: false,\n configurable: true\n });\n return PageBoxMarginBox;\n}(BodyDeclaration));\n\nvar Expression = /** @class */ (function (_super) {\n __extends(Expression, _super);\n function Expression(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Expression.prototype, \"type\", {\n get: function () {\n return NodeType.Expression;\n },\n enumerable: false,\n configurable: true\n });\n return Expression;\n}(Node));\n\nvar BinaryExpression = /** @class */ (function (_super) {\n __extends(BinaryExpression, _super);\n function BinaryExpression(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(BinaryExpression.prototype, \"type\", {\n get: function () {\n return NodeType.BinaryExpression;\n },\n enumerable: false,\n configurable: true\n });\n BinaryExpression.prototype.setLeft = function (left) {\n return this.setNode('left', left);\n };\n BinaryExpression.prototype.getLeft = function () {\n return this.left;\n };\n BinaryExpression.prototype.setRight = function (right) {\n return this.setNode('right', right);\n };\n BinaryExpression.prototype.getRight = function () {\n return this.right;\n };\n BinaryExpression.prototype.setOperator = function (value) {\n return this.setNode('operator', value);\n };\n BinaryExpression.prototype.getOperator = function () {\n return this.operator;\n };\n return BinaryExpression;\n}(Node));\n\nvar Term = /** @class */ (function (_super) {\n __extends(Term, _super);\n function Term(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Term.prototype, \"type\", {\n get: function () {\n return NodeType.Term;\n },\n enumerable: false,\n configurable: true\n });\n Term.prototype.setOperator = function (value) {\n return this.setNode('operator', value);\n };\n Term.prototype.getOperator = function () {\n return this.operator;\n };\n Term.prototype.setExpression = function (value) {\n return this.setNode('expression', value);\n };\n Term.prototype.getExpression = function () {\n return this.expression;\n };\n return Term;\n}(Node));\n\nvar AttributeSelector = /** @class */ (function (_super) {\n __extends(AttributeSelector, _super);\n function AttributeSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(AttributeSelector.prototype, \"type\", {\n get: function () {\n return NodeType.AttributeSelector;\n },\n enumerable: false,\n configurable: true\n });\n AttributeSelector.prototype.setNamespacePrefix = function (value) {\n return this.setNode('namespacePrefix', value);\n };\n AttributeSelector.prototype.getNamespacePrefix = function () {\n return this.namespacePrefix;\n };\n AttributeSelector.prototype.setIdentifier = function (value) {\n return this.setNode('identifier', value);\n };\n AttributeSelector.prototype.getIdentifier = function () {\n return this.identifier;\n };\n AttributeSelector.prototype.setOperator = function (operator) {\n return this.setNode('operator', operator);\n };\n AttributeSelector.prototype.getOperator = function () {\n return this.operator;\n };\n AttributeSelector.prototype.setValue = function (value) {\n return this.setNode('value', value);\n };\n AttributeSelector.prototype.getValue = function () {\n return this.value;\n };\n return AttributeSelector;\n}(Node));\n\nvar Operator = /** @class */ (function (_super) {\n __extends(Operator, _super);\n function Operator(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Operator.prototype, \"type\", {\n get: function () {\n return NodeType.Operator;\n },\n enumerable: false,\n configurable: true\n });\n return Operator;\n}(Node));\n\nvar HexColorValue = /** @class */ (function (_super) {\n __extends(HexColorValue, _super);\n function HexColorValue(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(HexColorValue.prototype, \"type\", {\n get: function () {\n return NodeType.HexColorValue;\n },\n enumerable: false,\n configurable: true\n });\n return HexColorValue;\n}(Node));\n\nvar _dot = '.'.charCodeAt(0), _0 = '0'.charCodeAt(0), _9 = '9'.charCodeAt(0);\nvar NumericValue = /** @class */ (function (_super) {\n __extends(NumericValue, _super);\n function NumericValue(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(NumericValue.prototype, \"type\", {\n get: function () {\n return NodeType.NumericValue;\n },\n enumerable: false,\n configurable: true\n });\n NumericValue.prototype.getValue = function () {\n var raw = this.getText();\n var unitIdx = 0;\n var code;\n for (var i = 0, len = raw.length; i < len; i++) {\n code = raw.charCodeAt(i);\n if (!(_0 <= code && code <= _9 || code === _dot)) {\n break;\n }\n unitIdx += 1;\n }\n return {\n value: raw.substring(0, unitIdx),\n unit: unitIdx < raw.length ? raw.substring(unitIdx) : undefined\n };\n };\n return NumericValue;\n}(Node));\n\nvar VariableDeclaration = /** @class */ (function (_super) {\n __extends(VariableDeclaration, _super);\n function VariableDeclaration(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.variable = null;\n _this.value = null;\n _this.needsSemicolon = true;\n return _this;\n }\n Object.defineProperty(VariableDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.VariableDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n VariableDeclaration.prototype.setVariable = function (node) {\n if (node) {\n node.attachTo(this);\n this.variable = node;\n return true;\n }\n return false;\n };\n VariableDeclaration.prototype.getVariable = function () {\n return this.variable;\n };\n VariableDeclaration.prototype.getName = function () {\n return this.variable ? this.variable.getName() : '';\n };\n VariableDeclaration.prototype.setValue = function (node) {\n if (node) {\n node.attachTo(this);\n this.value = node;\n return true;\n }\n return false;\n };\n VariableDeclaration.prototype.getValue = function () {\n return this.value;\n };\n return VariableDeclaration;\n}(AbstractDeclaration));\n\nvar Interpolation = /** @class */ (function (_super) {\n __extends(Interpolation, _super);\n // private _interpolations: void; // workaround for https://github.com/Microsoft/TypeScript/issues/18276\n function Interpolation(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Interpolation.prototype, \"type\", {\n get: function () {\n return NodeType.Interpolation;\n },\n enumerable: false,\n configurable: true\n });\n return Interpolation;\n}(Node));\n\nvar Variable = /** @class */ (function (_super) {\n __extends(Variable, _super);\n function Variable(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Variable.prototype, \"type\", {\n get: function () {\n return NodeType.VariableName;\n },\n enumerable: false,\n configurable: true\n });\n Variable.prototype.getName = function () {\n return this.getText();\n };\n return Variable;\n}(Node));\n\nvar ExtendsReference = /** @class */ (function (_super) {\n __extends(ExtendsReference, _super);\n function ExtendsReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ExtendsReference.prototype, \"type\", {\n get: function () {\n return NodeType.ExtendsReference;\n },\n enumerable: false,\n configurable: true\n });\n ExtendsReference.prototype.getSelectors = function () {\n if (!this.selectors) {\n this.selectors = new Nodelist(this);\n }\n return this.selectors;\n };\n return ExtendsReference;\n}(Node));\n\nvar MixinContentReference = /** @class */ (function (_super) {\n __extends(MixinContentReference, _super);\n function MixinContentReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinContentReference.prototype, \"type\", {\n get: function () {\n return NodeType.MixinContentReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinContentReference.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n return MixinContentReference;\n}(Node));\n\nvar MixinContentDeclaration = /** @class */ (function (_super) {\n __extends(MixinContentDeclaration, _super);\n function MixinContentDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinContentDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.MixinContentReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinContentDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return MixinContentDeclaration;\n}(BodyDeclaration));\n\nvar MixinReference = /** @class */ (function (_super) {\n __extends(MixinReference, _super);\n function MixinReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinReference.prototype, \"type\", {\n get: function () {\n return NodeType.MixinReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinReference.prototype.getNamespaces = function () {\n if (!this.namespaces) {\n this.namespaces = new Nodelist(this);\n }\n return this.namespaces;\n };\n MixinReference.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n MixinReference.prototype.getIdentifier = function () {\n return this.identifier;\n };\n MixinReference.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n MixinReference.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n MixinReference.prototype.setContent = function (node) {\n return this.setNode('content', node);\n };\n MixinReference.prototype.getContent = function () {\n return this.content;\n };\n return MixinReference;\n}(Node));\n\nvar MixinDeclaration = /** @class */ (function (_super) {\n __extends(MixinDeclaration, _super);\n function MixinDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.MixinDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n MixinDeclaration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n MixinDeclaration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n MixinDeclaration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n MixinDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n MixinDeclaration.prototype.setGuard = function (node) {\n if (node) {\n node.attachTo(this);\n this.guard = node;\n }\n return false;\n };\n return MixinDeclaration;\n}(BodyDeclaration));\n\nvar UnknownAtRule = /** @class */ (function (_super) {\n __extends(UnknownAtRule, _super);\n function UnknownAtRule(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(UnknownAtRule.prototype, \"type\", {\n get: function () {\n return NodeType.UnknownAtRule;\n },\n enumerable: false,\n configurable: true\n });\n UnknownAtRule.prototype.setAtRuleName = function (atRuleName) {\n this.atRuleName = atRuleName;\n };\n UnknownAtRule.prototype.getAtRuleName = function () {\n return this.atRuleName;\n };\n return UnknownAtRule;\n}(BodyDeclaration));\n\nvar ListEntry = /** @class */ (function (_super) {\n __extends(ListEntry, _super);\n function ListEntry() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ListEntry.prototype, \"type\", {\n get: function () {\n return NodeType.ListEntry;\n },\n enumerable: false,\n configurable: true\n });\n ListEntry.prototype.setKey = function (node) {\n return this.setNode('key', node, 0);\n };\n ListEntry.prototype.setValue = function (node) {\n return this.setNode('value', node, 1);\n };\n return ListEntry;\n}(Node));\n\nvar LessGuard = /** @class */ (function (_super) {\n __extends(LessGuard, _super);\n function LessGuard() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LessGuard.prototype.getConditions = function () {\n if (!this.conditions) {\n this.conditions = new Nodelist(this);\n }\n return this.conditions;\n };\n return LessGuard;\n}(Node));\n\nvar GuardCondition = /** @class */ (function (_super) {\n __extends(GuardCondition, _super);\n function GuardCondition() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GuardCondition.prototype.setVariable = function (node) {\n return this.setNode('variable', node);\n };\n return GuardCondition;\n}(Node));\n\nvar Module = /** @class */ (function (_super) {\n __extends(Module, _super);\n function Module() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Module.prototype, \"type\", {\n get: function () {\n return NodeType.Module;\n },\n enumerable: false,\n configurable: true\n });\n Module.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Module.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return Module;\n}(Node));\n\nvar Level;\n(function (Level) {\n Level[Level[\"Ignore\"] = 1] = \"Ignore\";\n Level[Level[\"Warning\"] = 2] = \"Warning\";\n Level[Level[\"Error\"] = 4] = \"Error\";\n})(Level || (Level = {}));\nvar Marker = /** @class */ (function () {\n function Marker(node, rule, level, message, offset, length) {\n if (offset === void 0) { offset = node.offset; }\n if (length === void 0) { length = node.length; }\n this.node = node;\n this.rule = rule;\n this.level = level;\n this.message = message || rule.message;\n this.offset = offset;\n this.length = length;\n }\n Marker.prototype.getRule = function () {\n return this.rule;\n };\n Marker.prototype.getLevel = function () {\n return this.level;\n };\n Marker.prototype.getOffset = function () {\n return this.offset;\n };\n Marker.prototype.getLength = function () {\n return this.length;\n };\n Marker.prototype.getNode = function () {\n return this.node;\n };\n Marker.prototype.getMessage = function () {\n return this.message;\n };\n return Marker;\n}());\n\n/*\nexport class DefaultVisitor implements IVisitor {\n\n public visitNode(node:Node):boolean {\n switch (node.type) {\n case NodeType.Stylesheet:\n return this.visitStylesheet(<Stylesheet> node);\n case NodeType.FontFace:\n return this.visitFontFace(<FontFace> node);\n case NodeType.Ruleset:\n return this.visitRuleSet(<RuleSet> node);\n case NodeType.Selector:\n return this.visitSelector(<Selector> node);\n case NodeType.SimpleSelector:\n return this.visitSimpleSelector(<SimpleSelector> node);\n case NodeType.Declaration:\n return this.visitDeclaration(<Declaration> node);\n case NodeType.Function:\n return this.visitFunction(<Function> node);\n case NodeType.FunctionDeclaration:\n return this.visitFunctionDeclaration(<FunctionDeclaration> node);\n case NodeType.FunctionParameter:\n return this.visitFunctionParameter(<FunctionParameter> node);\n case NodeType.FunctionArgument:\n return this.visitFunctionArgument(<FunctionArgument> node);\n case NodeType.Term:\n return this.visitTerm(<Term> node);\n case NodeType.Declaration:\n return this.visitExpression(<Expression> node);\n case NodeType.NumericValue:\n return this.visitNumericValue(<NumericValue> node);\n case NodeType.Page:\n return this.visitPage(<Page> node);\n case NodeType.PageBoxMarginBox:\n return this.visitPageBoxMarginBox(<PageBoxMarginBox> node);\n case NodeType.Property:\n return this.visitProperty(<Property> node);\n case NodeType.NumericValue:\n return this.visitNodelist(<Nodelist> node);\n case NodeType.Import:\n return this.visitImport(<Import> node);\n case NodeType.Namespace:\n return this.visitNamespace(<Namespace> node);\n case NodeType.Keyframe:\n return this.visitKeyframe(<Keyframe> node);\n case NodeType.KeyframeSelector:\n return this.visitKeyframeSelector(<KeyframeSelector> node);\n case NodeType.MixinDeclaration:\n return this.visitMixinDeclaration(<MixinDeclaration> node);\n case NodeType.MixinReference:\n return this.visitMixinReference(<MixinReference> node);\n case NodeType.Variable:\n return this.visitVariable(<Variable> node);\n case NodeType.VariableDeclaration:\n return this.visitVariableDeclaration(<VariableDeclaration> node);\n }\n return this.visitUnknownNode(node);\n }\n\n public visitFontFace(node:FontFace):boolean {\n return true;\n }\n\n public visitKeyframe(node:Keyframe):boolean {\n return true;\n }\n\n public visitKeyframeSelector(node:KeyframeSelector):boolean {\n return true;\n }\n\n public visitStylesheet(node:Stylesheet):boolean {\n return true;\n }\n\n public visitProperty(Node:Property):boolean {\n return true;\n }\n\n public visitRuleSet(node:RuleSet):boolean {\n return true;\n }\n\n public visitSelector(node:Selector):boolean {\n return true;\n }\n\n public visitSimpleSelector(node:SimpleSelector):boolean {\n return true;\n }\n\n public visitDeclaration(node:Declaration):boolean {\n return true;\n }\n\n public visitFunction(node:Function):boolean {\n return true;\n }\n\n public visitFunctionDeclaration(node:FunctionDeclaration):boolean {\n return true;\n }\n\n public visitInvocation(node:Invocation):boolean {\n return true;\n }\n\n public visitTerm(node:Term):boolean {\n return true;\n }\n\n public visitImport(node:Import):boolean {\n return true;\n }\n\n public visitNamespace(node:Namespace):boolean {\n return true;\n }\n\n public visitExpression(node:Expression):boolean {\n return true;\n }\n\n public visitNumericValue(node:NumericValue):boolean {\n return true;\n }\n\n public visitPage(node:Page):boolean {\n return true;\n }\n\n public visitPageBoxMarginBox(node:PageBoxMarginBox):boolean {\n return true;\n }\n\n public visitNodelist(node:Nodelist):boolean {\n return true;\n }\n\n public visitVariableDeclaration(node:VariableDeclaration):boolean {\n return true;\n }\n\n public visitVariable(node:Variable):boolean {\n return true;\n }\n\n public visitMixinDeclaration(node:MixinDeclaration):boolean {\n return true;\n }\n\n public visitMixinReference(node:MixinReference):boolean {\n return true;\n }\n\n public visitUnknownNode(node:Node):boolean {\n return true;\n }\n}\n*/\nvar ParseErrorCollector = /** @class */ (function () {\n function ParseErrorCollector() {\n this.entries = [];\n }\n ParseErrorCollector.entries = function (node) {\n var visitor = new ParseErrorCollector();\n node.acceptVisitor(visitor);\n return visitor.entries;\n };\n ParseErrorCollector.prototype.visitNode = function (node) {\n if (node.isErroneous()) {\n node.collectIssues(this.entries);\n }\n return true;\n };\n return ParseErrorCollector;\n}());\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js?");
119
119
 
120
120
  /***/ }),
121
121
 
@@ -135,7 +135,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
135
135
  \**************************************************************************************************************/
136
136
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
137
137
 
138
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"TokenType\": () => (/* binding */ TokenType),\n/* harmony export */ \"MultiLineStream\": () => (/* binding */ MultiLineStream),\n/* harmony export */ \"Scanner\": () => (/* binding */ Scanner)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar TokenType;\n(function (TokenType) {\n TokenType[TokenType[\"Ident\"] = 0] = \"Ident\";\n TokenType[TokenType[\"AtKeyword\"] = 1] = \"AtKeyword\";\n TokenType[TokenType[\"String\"] = 2] = \"String\";\n TokenType[TokenType[\"BadString\"] = 3] = \"BadString\";\n TokenType[TokenType[\"UnquotedString\"] = 4] = \"UnquotedString\";\n TokenType[TokenType[\"Hash\"] = 5] = \"Hash\";\n TokenType[TokenType[\"Num\"] = 6] = \"Num\";\n TokenType[TokenType[\"Percentage\"] = 7] = \"Percentage\";\n TokenType[TokenType[\"Dimension\"] = 8] = \"Dimension\";\n TokenType[TokenType[\"UnicodeRange\"] = 9] = \"UnicodeRange\";\n TokenType[TokenType[\"CDO\"] = 10] = \"CDO\";\n TokenType[TokenType[\"CDC\"] = 11] = \"CDC\";\n TokenType[TokenType[\"Colon\"] = 12] = \"Colon\";\n TokenType[TokenType[\"SemiColon\"] = 13] = \"SemiColon\";\n TokenType[TokenType[\"CurlyL\"] = 14] = \"CurlyL\";\n TokenType[TokenType[\"CurlyR\"] = 15] = \"CurlyR\";\n TokenType[TokenType[\"ParenthesisL\"] = 16] = \"ParenthesisL\";\n TokenType[TokenType[\"ParenthesisR\"] = 17] = \"ParenthesisR\";\n TokenType[TokenType[\"BracketL\"] = 18] = \"BracketL\";\n TokenType[TokenType[\"BracketR\"] = 19] = \"BracketR\";\n TokenType[TokenType[\"Whitespace\"] = 20] = \"Whitespace\";\n TokenType[TokenType[\"Includes\"] = 21] = \"Includes\";\n TokenType[TokenType[\"Dashmatch\"] = 22] = \"Dashmatch\";\n TokenType[TokenType[\"SubstringOperator\"] = 23] = \"SubstringOperator\";\n TokenType[TokenType[\"PrefixOperator\"] = 24] = \"PrefixOperator\";\n TokenType[TokenType[\"SuffixOperator\"] = 25] = \"SuffixOperator\";\n TokenType[TokenType[\"Delim\"] = 26] = \"Delim\";\n TokenType[TokenType[\"EMS\"] = 27] = \"EMS\";\n TokenType[TokenType[\"EXS\"] = 28] = \"EXS\";\n TokenType[TokenType[\"Length\"] = 29] = \"Length\";\n TokenType[TokenType[\"Angle\"] = 30] = \"Angle\";\n TokenType[TokenType[\"Time\"] = 31] = \"Time\";\n TokenType[TokenType[\"Freq\"] = 32] = \"Freq\";\n TokenType[TokenType[\"Exclamation\"] = 33] = \"Exclamation\";\n TokenType[TokenType[\"Resolution\"] = 34] = \"Resolution\";\n TokenType[TokenType[\"Comma\"] = 35] = \"Comma\";\n TokenType[TokenType[\"Charset\"] = 36] = \"Charset\";\n TokenType[TokenType[\"EscapedJavaScript\"] = 37] = \"EscapedJavaScript\";\n TokenType[TokenType[\"BadEscapedJavaScript\"] = 38] = \"BadEscapedJavaScript\";\n TokenType[TokenType[\"Comment\"] = 39] = \"Comment\";\n TokenType[TokenType[\"SingleLineComment\"] = 40] = \"SingleLineComment\";\n TokenType[TokenType[\"EOF\"] = 41] = \"EOF\";\n TokenType[TokenType[\"CustomToken\"] = 42] = \"CustomToken\";\n})(TokenType || (TokenType = {}));\nvar MultiLineStream = /** @class */ (function () {\n function MultiLineStream(source) {\n this.source = source;\n this.len = source.length;\n this.position = 0;\n }\n MultiLineStream.prototype.substring = function (from, to) {\n if (to === void 0) { to = this.position; }\n return this.source.substring(from, to);\n };\n MultiLineStream.prototype.eos = function () {\n return this.len <= this.position;\n };\n MultiLineStream.prototype.pos = function () {\n return this.position;\n };\n MultiLineStream.prototype.goBackTo = function (pos) {\n this.position = pos;\n };\n MultiLineStream.prototype.goBack = function (n) {\n this.position -= n;\n };\n MultiLineStream.prototype.advance = function (n) {\n this.position += n;\n };\n MultiLineStream.prototype.nextChar = function () {\n return this.source.charCodeAt(this.position++) || 0;\n };\n MultiLineStream.prototype.peekChar = function (n) {\n if (n === void 0) { n = 0; }\n return this.source.charCodeAt(this.position + n) || 0;\n };\n MultiLineStream.prototype.lookbackChar = function (n) {\n if (n === void 0) { n = 0; }\n return this.source.charCodeAt(this.position - n) || 0;\n };\n MultiLineStream.prototype.advanceIfChar = function (ch) {\n if (ch === this.source.charCodeAt(this.position)) {\n this.position++;\n return true;\n }\n return false;\n };\n MultiLineStream.prototype.advanceIfChars = function (ch) {\n if (this.position + ch.length > this.source.length) {\n return false;\n }\n var i = 0;\n for (; i < ch.length; i++) {\n if (this.source.charCodeAt(this.position + i) !== ch[i]) {\n return false;\n }\n }\n this.advance(i);\n return true;\n };\n MultiLineStream.prototype.advanceWhileChar = function (condition) {\n var posNow = this.position;\n while (this.position < this.len && condition(this.source.charCodeAt(this.position))) {\n this.position++;\n }\n return this.position - posNow;\n };\n return MultiLineStream;\n}());\n\nvar _a = 'a'.charCodeAt(0);\nvar _f = 'f'.charCodeAt(0);\nvar _z = 'z'.charCodeAt(0);\nvar _A = 'A'.charCodeAt(0);\nvar _F = 'F'.charCodeAt(0);\nvar _Z = 'Z'.charCodeAt(0);\nvar _0 = '0'.charCodeAt(0);\nvar _9 = '9'.charCodeAt(0);\nvar _TLD = '~'.charCodeAt(0);\nvar _HAT = '^'.charCodeAt(0);\nvar _EQS = '='.charCodeAt(0);\nvar _PIP = '|'.charCodeAt(0);\nvar _MIN = '-'.charCodeAt(0);\nvar _USC = '_'.charCodeAt(0);\nvar _PRC = '%'.charCodeAt(0);\nvar _MUL = '*'.charCodeAt(0);\nvar _LPA = '('.charCodeAt(0);\nvar _RPA = ')'.charCodeAt(0);\nvar _LAN = '<'.charCodeAt(0);\nvar _RAN = '>'.charCodeAt(0);\nvar _ATS = '@'.charCodeAt(0);\nvar _HSH = '#'.charCodeAt(0);\nvar _DLR = '$'.charCodeAt(0);\nvar _BSL = '\\\\'.charCodeAt(0);\nvar _FSL = '/'.charCodeAt(0);\nvar _NWL = '\\n'.charCodeAt(0);\nvar _CAR = '\\r'.charCodeAt(0);\nvar _LFD = '\\f'.charCodeAt(0);\nvar _DQO = '\"'.charCodeAt(0);\nvar _SQO = '\\''.charCodeAt(0);\nvar _WSP = ' '.charCodeAt(0);\nvar _TAB = '\\t'.charCodeAt(0);\nvar _SEM = ';'.charCodeAt(0);\nvar _COL = ':'.charCodeAt(0);\nvar _CUL = '{'.charCodeAt(0);\nvar _CUR = '}'.charCodeAt(0);\nvar _BRL = '['.charCodeAt(0);\nvar _BRR = ']'.charCodeAt(0);\nvar _CMA = ','.charCodeAt(0);\nvar _DOT = '.'.charCodeAt(0);\nvar _BNG = '!'.charCodeAt(0);\nvar staticTokenTable = {};\nstaticTokenTable[_SEM] = TokenType.SemiColon;\nstaticTokenTable[_COL] = TokenType.Colon;\nstaticTokenTable[_CUL] = TokenType.CurlyL;\nstaticTokenTable[_CUR] = TokenType.CurlyR;\nstaticTokenTable[_BRR] = TokenType.BracketR;\nstaticTokenTable[_BRL] = TokenType.BracketL;\nstaticTokenTable[_LPA] = TokenType.ParenthesisL;\nstaticTokenTable[_RPA] = TokenType.ParenthesisR;\nstaticTokenTable[_CMA] = TokenType.Comma;\nvar staticUnitTable = {};\nstaticUnitTable['em'] = TokenType.EMS;\nstaticUnitTable['ex'] = TokenType.EXS;\nstaticUnitTable['px'] = TokenType.Length;\nstaticUnitTable['cm'] = TokenType.Length;\nstaticUnitTable['mm'] = TokenType.Length;\nstaticUnitTable['in'] = TokenType.Length;\nstaticUnitTable['pt'] = TokenType.Length;\nstaticUnitTable['pc'] = TokenType.Length;\nstaticUnitTable['deg'] = TokenType.Angle;\nstaticUnitTable['rad'] = TokenType.Angle;\nstaticUnitTable['grad'] = TokenType.Angle;\nstaticUnitTable['ms'] = TokenType.Time;\nstaticUnitTable['s'] = TokenType.Time;\nstaticUnitTable['hz'] = TokenType.Freq;\nstaticUnitTable['khz'] = TokenType.Freq;\nstaticUnitTable['%'] = TokenType.Percentage;\nstaticUnitTable['fr'] = TokenType.Percentage;\nstaticUnitTable['dpi'] = TokenType.Resolution;\nstaticUnitTable['dpcm'] = TokenType.Resolution;\nvar Scanner = /** @class */ (function () {\n function Scanner() {\n this.stream = new MultiLineStream('');\n this.ignoreComment = true;\n this.ignoreWhitespace = true;\n this.inURL = false;\n }\n Scanner.prototype.setSource = function (input) {\n this.stream = new MultiLineStream(input);\n };\n Scanner.prototype.finishToken = function (offset, type, text) {\n return {\n offset: offset,\n len: this.stream.pos() - offset,\n type: type,\n text: text || this.stream.substring(offset)\n };\n };\n Scanner.prototype.substring = function (offset, len) {\n return this.stream.substring(offset, offset + len);\n };\n Scanner.prototype.pos = function () {\n return this.stream.pos();\n };\n Scanner.prototype.goBackTo = function (pos) {\n this.stream.goBackTo(pos);\n };\n Scanner.prototype.scanUnquotedString = function () {\n var offset = this.stream.pos();\n var content = [];\n if (this._unquotedString(content)) {\n return this.finishToken(offset, TokenType.UnquotedString, content.join(''));\n }\n return null;\n };\n Scanner.prototype.scan = function () {\n // processes all whitespaces and comments\n var triviaToken = this.trivia();\n if (triviaToken !== null) {\n return triviaToken;\n }\n var offset = this.stream.pos();\n // End of file/input\n if (this.stream.eos()) {\n return this.finishToken(offset, TokenType.EOF);\n }\n return this.scanNext(offset);\n };\n Scanner.prototype.scanNext = function (offset) {\n // CDO <!--\n if (this.stream.advanceIfChars([_LAN, _BNG, _MIN, _MIN])) {\n return this.finishToken(offset, TokenType.CDO);\n }\n // CDC -->\n if (this.stream.advanceIfChars([_MIN, _MIN, _RAN])) {\n return this.finishToken(offset, TokenType.CDC);\n }\n var content = [];\n if (this.ident(content)) {\n return this.finishToken(offset, TokenType.Ident, content.join(''));\n }\n // at-keyword\n if (this.stream.advanceIfChar(_ATS)) {\n content = ['@'];\n if (this._name(content)) {\n var keywordText = content.join('');\n if (keywordText === '@charset') {\n return this.finishToken(offset, TokenType.Charset, keywordText);\n }\n return this.finishToken(offset, TokenType.AtKeyword, keywordText);\n }\n else {\n return this.finishToken(offset, TokenType.Delim);\n }\n }\n // hash\n if (this.stream.advanceIfChar(_HSH)) {\n content = ['#'];\n if (this._name(content)) {\n return this.finishToken(offset, TokenType.Hash, content.join(''));\n }\n else {\n return this.finishToken(offset, TokenType.Delim);\n }\n }\n // Important\n if (this.stream.advanceIfChar(_BNG)) {\n return this.finishToken(offset, TokenType.Exclamation);\n }\n // Numbers\n if (this._number()) {\n var pos = this.stream.pos();\n content = [this.stream.substring(offset, pos)];\n if (this.stream.advanceIfChar(_PRC)) {\n // Percentage 43%\n return this.finishToken(offset, TokenType.Percentage);\n }\n else if (this.ident(content)) {\n var dim = this.stream.substring(pos).toLowerCase();\n var tokenType_1 = staticUnitTable[dim];\n if (typeof tokenType_1 !== 'undefined') {\n // Known dimension 43px\n return this.finishToken(offset, tokenType_1, content.join(''));\n }\n else {\n // Unknown dimension 43ft\n return this.finishToken(offset, TokenType.Dimension, content.join(''));\n }\n }\n return this.finishToken(offset, TokenType.Num);\n }\n // String, BadString\n content = [];\n var tokenType = this._string(content);\n if (tokenType !== null) {\n return this.finishToken(offset, tokenType, content.join(''));\n }\n // single character tokens\n tokenType = staticTokenTable[this.stream.peekChar()];\n if (typeof tokenType !== 'undefined') {\n this.stream.advance(1);\n return this.finishToken(offset, tokenType);\n }\n // includes ~=\n if (this.stream.peekChar(0) === _TLD && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.Includes);\n }\n // DashMatch |=\n if (this.stream.peekChar(0) === _PIP && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.Dashmatch);\n }\n // Substring operator *=\n if (this.stream.peekChar(0) === _MUL && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.SubstringOperator);\n }\n // Substring operator ^=\n if (this.stream.peekChar(0) === _HAT && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.PrefixOperator);\n }\n // Substring operator $=\n if (this.stream.peekChar(0) === _DLR && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.SuffixOperator);\n }\n // Delim\n this.stream.nextChar();\n return this.finishToken(offset, TokenType.Delim);\n };\n Scanner.prototype.trivia = function () {\n while (true) {\n var offset = this.stream.pos();\n if (this._whitespace()) {\n if (!this.ignoreWhitespace) {\n return this.finishToken(offset, TokenType.Whitespace);\n }\n }\n else if (this.comment()) {\n if (!this.ignoreComment) {\n return this.finishToken(offset, TokenType.Comment);\n }\n }\n else {\n return null;\n }\n }\n };\n Scanner.prototype.comment = function () {\n if (this.stream.advanceIfChars([_FSL, _MUL])) {\n var success_1 = false, hot_1 = false;\n this.stream.advanceWhileChar(function (ch) {\n if (hot_1 && ch === _FSL) {\n success_1 = true;\n return false;\n }\n hot_1 = ch === _MUL;\n return true;\n });\n if (success_1) {\n this.stream.advance(1);\n }\n return true;\n }\n return false;\n };\n Scanner.prototype._number = function () {\n var npeek = 0, ch;\n if (this.stream.peekChar() === _DOT) {\n npeek = 1;\n }\n ch = this.stream.peekChar(npeek);\n if (ch >= _0 && ch <= _9) {\n this.stream.advance(npeek + 1);\n this.stream.advanceWhileChar(function (ch) {\n return ch >= _0 && ch <= _9 || npeek === 0 && ch === _DOT;\n });\n return true;\n }\n return false;\n };\n Scanner.prototype._newline = function (result) {\n var ch = this.stream.peekChar();\n switch (ch) {\n case _CAR:\n case _LFD:\n case _NWL:\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n if (ch === _CAR && this.stream.advanceIfChar(_NWL)) {\n result.push('\\n');\n }\n return true;\n }\n return false;\n };\n Scanner.prototype._escape = function (result, includeNewLines) {\n var ch = this.stream.peekChar();\n if (ch === _BSL) {\n this.stream.advance(1);\n ch = this.stream.peekChar();\n var hexNumCount = 0;\n while (hexNumCount < 6 && (ch >= _0 && ch <= _9 || ch >= _a && ch <= _f || ch >= _A && ch <= _F)) {\n this.stream.advance(1);\n ch = this.stream.peekChar();\n hexNumCount++;\n }\n if (hexNumCount > 0) {\n try {\n var hexVal = parseInt(this.stream.substring(this.stream.pos() - hexNumCount), 16);\n if (hexVal) {\n result.push(String.fromCharCode(hexVal));\n }\n }\n catch (e) {\n // ignore\n }\n // optional whitespace or new line, not part of result text\n if (ch === _WSP || ch === _TAB) {\n this.stream.advance(1);\n }\n else {\n this._newline([]);\n }\n return true;\n }\n if (ch !== _CAR && ch !== _LFD && ch !== _NWL) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n else if (includeNewLines) {\n return this._newline(result);\n }\n }\n return false;\n };\n Scanner.prototype._stringChar = function (closeQuote, result) {\n // not closeQuote, not backslash, not newline\n var ch = this.stream.peekChar();\n if (ch !== 0 && ch !== closeQuote && ch !== _BSL && ch !== _CAR && ch !== _LFD && ch !== _NWL) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._string = function (result) {\n if (this.stream.peekChar() === _SQO || this.stream.peekChar() === _DQO) {\n var closeQuote = this.stream.nextChar();\n result.push(String.fromCharCode(closeQuote));\n while (this._stringChar(closeQuote, result) || this._escape(result, true)) {\n // loop\n }\n if (this.stream.peekChar() === closeQuote) {\n this.stream.nextChar();\n result.push(String.fromCharCode(closeQuote));\n return TokenType.String;\n }\n else {\n return TokenType.BadString;\n }\n }\n return null;\n };\n Scanner.prototype._unquotedChar = function (result) {\n // not closeQuote, not backslash, not newline\n var ch = this.stream.peekChar();\n if (ch !== 0 && ch !== _BSL && ch !== _SQO && ch !== _DQO && ch !== _LPA && ch !== _RPA && ch !== _WSP && ch !== _TAB && ch !== _NWL && ch !== _LFD && ch !== _CAR) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._unquotedString = function (result) {\n var hasContent = false;\n while (this._unquotedChar(result) || this._escape(result)) {\n hasContent = true;\n }\n return hasContent;\n };\n Scanner.prototype._whitespace = function () {\n var n = this.stream.advanceWhileChar(function (ch) {\n return ch === _WSP || ch === _TAB || ch === _NWL || ch === _LFD || ch === _CAR;\n });\n return n > 0;\n };\n Scanner.prototype._name = function (result) {\n var matched = false;\n while (this._identChar(result) || this._escape(result)) {\n matched = true;\n }\n return matched;\n };\n Scanner.prototype.ident = function (result) {\n var pos = this.stream.pos();\n var hasMinus = this._minus(result);\n if (hasMinus && this._minus(result) /* -- */) {\n if (this._identFirstChar(result) || this._escape(result)) {\n while (this._identChar(result) || this._escape(result)) {\n // loop\n }\n return true;\n }\n }\n else if (this._identFirstChar(result) || this._escape(result)) {\n while (this._identChar(result) || this._escape(result)) {\n // loop\n }\n return true;\n }\n this.stream.goBackTo(pos);\n return false;\n };\n Scanner.prototype._identFirstChar = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _USC || // _\n ch >= _a && ch <= _z || // a-z\n ch >= _A && ch <= _Z || // A-Z\n ch >= 0x80 && ch <= 0xFFFF) { // nonascii\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._minus = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _MIN) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._identChar = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _USC || // _\n ch === _MIN || // -\n ch >= _a && ch <= _z || // a-z\n ch >= _A && ch <= _Z || // A-Z\n ch >= _0 && ch <= _9 || // 0/9\n ch >= 0x80 && ch <= 0xFFFF) { // nonascii\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n return Scanner;\n}());\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js?");
138
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"MultiLineStream\": () => (/* binding */ MultiLineStream),\n/* harmony export */ \"Scanner\": () => (/* binding */ Scanner),\n/* harmony export */ \"TokenType\": () => (/* binding */ TokenType)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar TokenType;\n(function (TokenType) {\n TokenType[TokenType[\"Ident\"] = 0] = \"Ident\";\n TokenType[TokenType[\"AtKeyword\"] = 1] = \"AtKeyword\";\n TokenType[TokenType[\"String\"] = 2] = \"String\";\n TokenType[TokenType[\"BadString\"] = 3] = \"BadString\";\n TokenType[TokenType[\"UnquotedString\"] = 4] = \"UnquotedString\";\n TokenType[TokenType[\"Hash\"] = 5] = \"Hash\";\n TokenType[TokenType[\"Num\"] = 6] = \"Num\";\n TokenType[TokenType[\"Percentage\"] = 7] = \"Percentage\";\n TokenType[TokenType[\"Dimension\"] = 8] = \"Dimension\";\n TokenType[TokenType[\"UnicodeRange\"] = 9] = \"UnicodeRange\";\n TokenType[TokenType[\"CDO\"] = 10] = \"CDO\";\n TokenType[TokenType[\"CDC\"] = 11] = \"CDC\";\n TokenType[TokenType[\"Colon\"] = 12] = \"Colon\";\n TokenType[TokenType[\"SemiColon\"] = 13] = \"SemiColon\";\n TokenType[TokenType[\"CurlyL\"] = 14] = \"CurlyL\";\n TokenType[TokenType[\"CurlyR\"] = 15] = \"CurlyR\";\n TokenType[TokenType[\"ParenthesisL\"] = 16] = \"ParenthesisL\";\n TokenType[TokenType[\"ParenthesisR\"] = 17] = \"ParenthesisR\";\n TokenType[TokenType[\"BracketL\"] = 18] = \"BracketL\";\n TokenType[TokenType[\"BracketR\"] = 19] = \"BracketR\";\n TokenType[TokenType[\"Whitespace\"] = 20] = \"Whitespace\";\n TokenType[TokenType[\"Includes\"] = 21] = \"Includes\";\n TokenType[TokenType[\"Dashmatch\"] = 22] = \"Dashmatch\";\n TokenType[TokenType[\"SubstringOperator\"] = 23] = \"SubstringOperator\";\n TokenType[TokenType[\"PrefixOperator\"] = 24] = \"PrefixOperator\";\n TokenType[TokenType[\"SuffixOperator\"] = 25] = \"SuffixOperator\";\n TokenType[TokenType[\"Delim\"] = 26] = \"Delim\";\n TokenType[TokenType[\"EMS\"] = 27] = \"EMS\";\n TokenType[TokenType[\"EXS\"] = 28] = \"EXS\";\n TokenType[TokenType[\"Length\"] = 29] = \"Length\";\n TokenType[TokenType[\"Angle\"] = 30] = \"Angle\";\n TokenType[TokenType[\"Time\"] = 31] = \"Time\";\n TokenType[TokenType[\"Freq\"] = 32] = \"Freq\";\n TokenType[TokenType[\"Exclamation\"] = 33] = \"Exclamation\";\n TokenType[TokenType[\"Resolution\"] = 34] = \"Resolution\";\n TokenType[TokenType[\"Comma\"] = 35] = \"Comma\";\n TokenType[TokenType[\"Charset\"] = 36] = \"Charset\";\n TokenType[TokenType[\"EscapedJavaScript\"] = 37] = \"EscapedJavaScript\";\n TokenType[TokenType[\"BadEscapedJavaScript\"] = 38] = \"BadEscapedJavaScript\";\n TokenType[TokenType[\"Comment\"] = 39] = \"Comment\";\n TokenType[TokenType[\"SingleLineComment\"] = 40] = \"SingleLineComment\";\n TokenType[TokenType[\"EOF\"] = 41] = \"EOF\";\n TokenType[TokenType[\"CustomToken\"] = 42] = \"CustomToken\";\n})(TokenType || (TokenType = {}));\nvar MultiLineStream = /** @class */ (function () {\n function MultiLineStream(source) {\n this.source = source;\n this.len = source.length;\n this.position = 0;\n }\n MultiLineStream.prototype.substring = function (from, to) {\n if (to === void 0) { to = this.position; }\n return this.source.substring(from, to);\n };\n MultiLineStream.prototype.eos = function () {\n return this.len <= this.position;\n };\n MultiLineStream.prototype.pos = function () {\n return this.position;\n };\n MultiLineStream.prototype.goBackTo = function (pos) {\n this.position = pos;\n };\n MultiLineStream.prototype.goBack = function (n) {\n this.position -= n;\n };\n MultiLineStream.prototype.advance = function (n) {\n this.position += n;\n };\n MultiLineStream.prototype.nextChar = function () {\n return this.source.charCodeAt(this.position++) || 0;\n };\n MultiLineStream.prototype.peekChar = function (n) {\n if (n === void 0) { n = 0; }\n return this.source.charCodeAt(this.position + n) || 0;\n };\n MultiLineStream.prototype.lookbackChar = function (n) {\n if (n === void 0) { n = 0; }\n return this.source.charCodeAt(this.position - n) || 0;\n };\n MultiLineStream.prototype.advanceIfChar = function (ch) {\n if (ch === this.source.charCodeAt(this.position)) {\n this.position++;\n return true;\n }\n return false;\n };\n MultiLineStream.prototype.advanceIfChars = function (ch) {\n if (this.position + ch.length > this.source.length) {\n return false;\n }\n var i = 0;\n for (; i < ch.length; i++) {\n if (this.source.charCodeAt(this.position + i) !== ch[i]) {\n return false;\n }\n }\n this.advance(i);\n return true;\n };\n MultiLineStream.prototype.advanceWhileChar = function (condition) {\n var posNow = this.position;\n while (this.position < this.len && condition(this.source.charCodeAt(this.position))) {\n this.position++;\n }\n return this.position - posNow;\n };\n return MultiLineStream;\n}());\n\nvar _a = 'a'.charCodeAt(0);\nvar _f = 'f'.charCodeAt(0);\nvar _z = 'z'.charCodeAt(0);\nvar _A = 'A'.charCodeAt(0);\nvar _F = 'F'.charCodeAt(0);\nvar _Z = 'Z'.charCodeAt(0);\nvar _0 = '0'.charCodeAt(0);\nvar _9 = '9'.charCodeAt(0);\nvar _TLD = '~'.charCodeAt(0);\nvar _HAT = '^'.charCodeAt(0);\nvar _EQS = '='.charCodeAt(0);\nvar _PIP = '|'.charCodeAt(0);\nvar _MIN = '-'.charCodeAt(0);\nvar _USC = '_'.charCodeAt(0);\nvar _PRC = '%'.charCodeAt(0);\nvar _MUL = '*'.charCodeAt(0);\nvar _LPA = '('.charCodeAt(0);\nvar _RPA = ')'.charCodeAt(0);\nvar _LAN = '<'.charCodeAt(0);\nvar _RAN = '>'.charCodeAt(0);\nvar _ATS = '@'.charCodeAt(0);\nvar _HSH = '#'.charCodeAt(0);\nvar _DLR = '$'.charCodeAt(0);\nvar _BSL = '\\\\'.charCodeAt(0);\nvar _FSL = '/'.charCodeAt(0);\nvar _NWL = '\\n'.charCodeAt(0);\nvar _CAR = '\\r'.charCodeAt(0);\nvar _LFD = '\\f'.charCodeAt(0);\nvar _DQO = '\"'.charCodeAt(0);\nvar _SQO = '\\''.charCodeAt(0);\nvar _WSP = ' '.charCodeAt(0);\nvar _TAB = '\\t'.charCodeAt(0);\nvar _SEM = ';'.charCodeAt(0);\nvar _COL = ':'.charCodeAt(0);\nvar _CUL = '{'.charCodeAt(0);\nvar _CUR = '}'.charCodeAt(0);\nvar _BRL = '['.charCodeAt(0);\nvar _BRR = ']'.charCodeAt(0);\nvar _CMA = ','.charCodeAt(0);\nvar _DOT = '.'.charCodeAt(0);\nvar _BNG = '!'.charCodeAt(0);\nvar staticTokenTable = {};\nstaticTokenTable[_SEM] = TokenType.SemiColon;\nstaticTokenTable[_COL] = TokenType.Colon;\nstaticTokenTable[_CUL] = TokenType.CurlyL;\nstaticTokenTable[_CUR] = TokenType.CurlyR;\nstaticTokenTable[_BRR] = TokenType.BracketR;\nstaticTokenTable[_BRL] = TokenType.BracketL;\nstaticTokenTable[_LPA] = TokenType.ParenthesisL;\nstaticTokenTable[_RPA] = TokenType.ParenthesisR;\nstaticTokenTable[_CMA] = TokenType.Comma;\nvar staticUnitTable = {};\nstaticUnitTable['em'] = TokenType.EMS;\nstaticUnitTable['ex'] = TokenType.EXS;\nstaticUnitTable['px'] = TokenType.Length;\nstaticUnitTable['cm'] = TokenType.Length;\nstaticUnitTable['mm'] = TokenType.Length;\nstaticUnitTable['in'] = TokenType.Length;\nstaticUnitTable['pt'] = TokenType.Length;\nstaticUnitTable['pc'] = TokenType.Length;\nstaticUnitTable['deg'] = TokenType.Angle;\nstaticUnitTable['rad'] = TokenType.Angle;\nstaticUnitTable['grad'] = TokenType.Angle;\nstaticUnitTable['ms'] = TokenType.Time;\nstaticUnitTable['s'] = TokenType.Time;\nstaticUnitTable['hz'] = TokenType.Freq;\nstaticUnitTable['khz'] = TokenType.Freq;\nstaticUnitTable['%'] = TokenType.Percentage;\nstaticUnitTable['fr'] = TokenType.Percentage;\nstaticUnitTable['dpi'] = TokenType.Resolution;\nstaticUnitTable['dpcm'] = TokenType.Resolution;\nvar Scanner = /** @class */ (function () {\n function Scanner() {\n this.stream = new MultiLineStream('');\n this.ignoreComment = true;\n this.ignoreWhitespace = true;\n this.inURL = false;\n }\n Scanner.prototype.setSource = function (input) {\n this.stream = new MultiLineStream(input);\n };\n Scanner.prototype.finishToken = function (offset, type, text) {\n return {\n offset: offset,\n len: this.stream.pos() - offset,\n type: type,\n text: text || this.stream.substring(offset)\n };\n };\n Scanner.prototype.substring = function (offset, len) {\n return this.stream.substring(offset, offset + len);\n };\n Scanner.prototype.pos = function () {\n return this.stream.pos();\n };\n Scanner.prototype.goBackTo = function (pos) {\n this.stream.goBackTo(pos);\n };\n Scanner.prototype.scanUnquotedString = function () {\n var offset = this.stream.pos();\n var content = [];\n if (this._unquotedString(content)) {\n return this.finishToken(offset, TokenType.UnquotedString, content.join(''));\n }\n return null;\n };\n Scanner.prototype.scan = function () {\n // processes all whitespaces and comments\n var triviaToken = this.trivia();\n if (triviaToken !== null) {\n return triviaToken;\n }\n var offset = this.stream.pos();\n // End of file/input\n if (this.stream.eos()) {\n return this.finishToken(offset, TokenType.EOF);\n }\n return this.scanNext(offset);\n };\n Scanner.prototype.scanNext = function (offset) {\n // CDO <!--\n if (this.stream.advanceIfChars([_LAN, _BNG, _MIN, _MIN])) {\n return this.finishToken(offset, TokenType.CDO);\n }\n // CDC -->\n if (this.stream.advanceIfChars([_MIN, _MIN, _RAN])) {\n return this.finishToken(offset, TokenType.CDC);\n }\n var content = [];\n if (this.ident(content)) {\n return this.finishToken(offset, TokenType.Ident, content.join(''));\n }\n // at-keyword\n if (this.stream.advanceIfChar(_ATS)) {\n content = ['@'];\n if (this._name(content)) {\n var keywordText = content.join('');\n if (keywordText === '@charset') {\n return this.finishToken(offset, TokenType.Charset, keywordText);\n }\n return this.finishToken(offset, TokenType.AtKeyword, keywordText);\n }\n else {\n return this.finishToken(offset, TokenType.Delim);\n }\n }\n // hash\n if (this.stream.advanceIfChar(_HSH)) {\n content = ['#'];\n if (this._name(content)) {\n return this.finishToken(offset, TokenType.Hash, content.join(''));\n }\n else {\n return this.finishToken(offset, TokenType.Delim);\n }\n }\n // Important\n if (this.stream.advanceIfChar(_BNG)) {\n return this.finishToken(offset, TokenType.Exclamation);\n }\n // Numbers\n if (this._number()) {\n var pos = this.stream.pos();\n content = [this.stream.substring(offset, pos)];\n if (this.stream.advanceIfChar(_PRC)) {\n // Percentage 43%\n return this.finishToken(offset, TokenType.Percentage);\n }\n else if (this.ident(content)) {\n var dim = this.stream.substring(pos).toLowerCase();\n var tokenType_1 = staticUnitTable[dim];\n if (typeof tokenType_1 !== 'undefined') {\n // Known dimension 43px\n return this.finishToken(offset, tokenType_1, content.join(''));\n }\n else {\n // Unknown dimension 43ft\n return this.finishToken(offset, TokenType.Dimension, content.join(''));\n }\n }\n return this.finishToken(offset, TokenType.Num);\n }\n // String, BadString\n content = [];\n var tokenType = this._string(content);\n if (tokenType !== null) {\n return this.finishToken(offset, tokenType, content.join(''));\n }\n // single character tokens\n tokenType = staticTokenTable[this.stream.peekChar()];\n if (typeof tokenType !== 'undefined') {\n this.stream.advance(1);\n return this.finishToken(offset, tokenType);\n }\n // includes ~=\n if (this.stream.peekChar(0) === _TLD && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.Includes);\n }\n // DashMatch |=\n if (this.stream.peekChar(0) === _PIP && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.Dashmatch);\n }\n // Substring operator *=\n if (this.stream.peekChar(0) === _MUL && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.SubstringOperator);\n }\n // Substring operator ^=\n if (this.stream.peekChar(0) === _HAT && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.PrefixOperator);\n }\n // Substring operator $=\n if (this.stream.peekChar(0) === _DLR && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.SuffixOperator);\n }\n // Delim\n this.stream.nextChar();\n return this.finishToken(offset, TokenType.Delim);\n };\n Scanner.prototype.trivia = function () {\n while (true) {\n var offset = this.stream.pos();\n if (this._whitespace()) {\n if (!this.ignoreWhitespace) {\n return this.finishToken(offset, TokenType.Whitespace);\n }\n }\n else if (this.comment()) {\n if (!this.ignoreComment) {\n return this.finishToken(offset, TokenType.Comment);\n }\n }\n else {\n return null;\n }\n }\n };\n Scanner.prototype.comment = function () {\n if (this.stream.advanceIfChars([_FSL, _MUL])) {\n var success_1 = false, hot_1 = false;\n this.stream.advanceWhileChar(function (ch) {\n if (hot_1 && ch === _FSL) {\n success_1 = true;\n return false;\n }\n hot_1 = ch === _MUL;\n return true;\n });\n if (success_1) {\n this.stream.advance(1);\n }\n return true;\n }\n return false;\n };\n Scanner.prototype._number = function () {\n var npeek = 0, ch;\n if (this.stream.peekChar() === _DOT) {\n npeek = 1;\n }\n ch = this.stream.peekChar(npeek);\n if (ch >= _0 && ch <= _9) {\n this.stream.advance(npeek + 1);\n this.stream.advanceWhileChar(function (ch) {\n return ch >= _0 && ch <= _9 || npeek === 0 && ch === _DOT;\n });\n return true;\n }\n return false;\n };\n Scanner.prototype._newline = function (result) {\n var ch = this.stream.peekChar();\n switch (ch) {\n case _CAR:\n case _LFD:\n case _NWL:\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n if (ch === _CAR && this.stream.advanceIfChar(_NWL)) {\n result.push('\\n');\n }\n return true;\n }\n return false;\n };\n Scanner.prototype._escape = function (result, includeNewLines) {\n var ch = this.stream.peekChar();\n if (ch === _BSL) {\n this.stream.advance(1);\n ch = this.stream.peekChar();\n var hexNumCount = 0;\n while (hexNumCount < 6 && (ch >= _0 && ch <= _9 || ch >= _a && ch <= _f || ch >= _A && ch <= _F)) {\n this.stream.advance(1);\n ch = this.stream.peekChar();\n hexNumCount++;\n }\n if (hexNumCount > 0) {\n try {\n var hexVal = parseInt(this.stream.substring(this.stream.pos() - hexNumCount), 16);\n if (hexVal) {\n result.push(String.fromCharCode(hexVal));\n }\n }\n catch (e) {\n // ignore\n }\n // optional whitespace or new line, not part of result text\n if (ch === _WSP || ch === _TAB) {\n this.stream.advance(1);\n }\n else {\n this._newline([]);\n }\n return true;\n }\n if (ch !== _CAR && ch !== _LFD && ch !== _NWL) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n else if (includeNewLines) {\n return this._newline(result);\n }\n }\n return false;\n };\n Scanner.prototype._stringChar = function (closeQuote, result) {\n // not closeQuote, not backslash, not newline\n var ch = this.stream.peekChar();\n if (ch !== 0 && ch !== closeQuote && ch !== _BSL && ch !== _CAR && ch !== _LFD && ch !== _NWL) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._string = function (result) {\n if (this.stream.peekChar() === _SQO || this.stream.peekChar() === _DQO) {\n var closeQuote = this.stream.nextChar();\n result.push(String.fromCharCode(closeQuote));\n while (this._stringChar(closeQuote, result) || this._escape(result, true)) {\n // loop\n }\n if (this.stream.peekChar() === closeQuote) {\n this.stream.nextChar();\n result.push(String.fromCharCode(closeQuote));\n return TokenType.String;\n }\n else {\n return TokenType.BadString;\n }\n }\n return null;\n };\n Scanner.prototype._unquotedChar = function (result) {\n // not closeQuote, not backslash, not newline\n var ch = this.stream.peekChar();\n if (ch !== 0 && ch !== _BSL && ch !== _SQO && ch !== _DQO && ch !== _LPA && ch !== _RPA && ch !== _WSP && ch !== _TAB && ch !== _NWL && ch !== _LFD && ch !== _CAR) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._unquotedString = function (result) {\n var hasContent = false;\n while (this._unquotedChar(result) || this._escape(result)) {\n hasContent = true;\n }\n return hasContent;\n };\n Scanner.prototype._whitespace = function () {\n var n = this.stream.advanceWhileChar(function (ch) {\n return ch === _WSP || ch === _TAB || ch === _NWL || ch === _LFD || ch === _CAR;\n });\n return n > 0;\n };\n Scanner.prototype._name = function (result) {\n var matched = false;\n while (this._identChar(result) || this._escape(result)) {\n matched = true;\n }\n return matched;\n };\n Scanner.prototype.ident = function (result) {\n var pos = this.stream.pos();\n var hasMinus = this._minus(result);\n if (hasMinus && this._minus(result) /* -- */) {\n if (this._identFirstChar(result) || this._escape(result)) {\n while (this._identChar(result) || this._escape(result)) {\n // loop\n }\n return true;\n }\n }\n else if (this._identFirstChar(result) || this._escape(result)) {\n while (this._identChar(result) || this._escape(result)) {\n // loop\n }\n return true;\n }\n this.stream.goBackTo(pos);\n return false;\n };\n Scanner.prototype._identFirstChar = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _USC || // _\n ch >= _a && ch <= _z || // a-z\n ch >= _A && ch <= _Z || // A-Z\n ch >= 0x80 && ch <= 0xFFFF) { // nonascii\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._minus = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _MIN) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._identChar = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _USC || // _\n ch === _MIN || // -\n ch >= _a && ch <= _z || // a-z\n ch >= _A && ch <= _Z || // A-Z\n ch >= _0 && ch <= _9 || // 0/9\n ch >= 0x80 && ch <= 0xFFFF) { // nonascii\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n return Scanner;\n}());\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js?");
139
139
 
140
140
  /***/ }),
141
141
 
@@ -145,7 +145,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
145
145
  \******************************************************************************************************************/
146
146
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
147
147
 
148
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Scope\": () => (/* binding */ Scope),\n/* harmony export */ \"GlobalScope\": () => (/* binding */ GlobalScope),\n/* harmony export */ \"Symbol\": () => (/* binding */ Symbol),\n/* harmony export */ \"ScopeBuilder\": () => (/* binding */ ScopeBuilder),\n/* harmony export */ \"Symbols\": () => (/* binding */ Symbols)\n/* harmony export */ });\n/* harmony import */ var _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _utils_arrays_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/arrays.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/arrays.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\nvar Scope = /** @class */ (function () {\n function Scope(offset, length) {\n this.offset = offset;\n this.length = length;\n this.symbols = [];\n this.parent = null;\n this.children = [];\n }\n Scope.prototype.addChild = function (scope) {\n this.children.push(scope);\n scope.setParent(this);\n };\n Scope.prototype.setParent = function (scope) {\n this.parent = scope;\n };\n Scope.prototype.findScope = function (offset, length) {\n if (length === void 0) { length = 0; }\n if (this.offset <= offset && this.offset + this.length > offset + length || this.offset === offset && this.length === length) {\n return this.findInScope(offset, length);\n }\n return null;\n };\n Scope.prototype.findInScope = function (offset, length) {\n if (length === void 0) { length = 0; }\n // find the first scope child that has an offset larger than offset + length\n var end = offset + length;\n var idx = (0,_utils_arrays_js__WEBPACK_IMPORTED_MODULE_1__.findFirst)(this.children, function (s) { return s.offset > end; });\n if (idx === 0) {\n // all scopes have offsets larger than our end\n return this;\n }\n var res = this.children[idx - 1];\n if (res.offset <= offset && res.offset + res.length >= offset + length) {\n return res.findInScope(offset, length);\n }\n return this;\n };\n Scope.prototype.addSymbol = function (symbol) {\n this.symbols.push(symbol);\n };\n Scope.prototype.getSymbol = function (name, type) {\n for (var index = 0; index < this.symbols.length; index++) {\n var symbol = this.symbols[index];\n if (symbol.name === name && symbol.type === type) {\n return symbol;\n }\n }\n return null;\n };\n Scope.prototype.getSymbols = function () {\n return this.symbols;\n };\n return Scope;\n}());\n\nvar GlobalScope = /** @class */ (function (_super) {\n __extends(GlobalScope, _super);\n function GlobalScope() {\n return _super.call(this, 0, Number.MAX_VALUE) || this;\n }\n return GlobalScope;\n}(Scope));\n\nvar Symbol = /** @class */ (function () {\n function Symbol(name, value, node, type) {\n this.name = name;\n this.value = value;\n this.node = node;\n this.type = type;\n }\n return Symbol;\n}());\n\nvar ScopeBuilder = /** @class */ (function () {\n function ScopeBuilder(scope) {\n this.scope = scope;\n }\n ScopeBuilder.prototype.addSymbol = function (node, name, value, type) {\n if (node.offset !== -1) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current) {\n current.addSymbol(new Symbol(name, value, node, type));\n }\n }\n };\n ScopeBuilder.prototype.addScope = function (node) {\n if (node.offset !== -1) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current && (current.offset !== node.offset || current.length !== node.length)) { // scope already known?\n var newScope = new Scope(node.offset, node.length);\n current.addChild(newScope);\n return newScope;\n }\n return current;\n }\n return null;\n };\n ScopeBuilder.prototype.addSymbolToChildScope = function (scopeNode, node, name, value, type) {\n if (scopeNode && scopeNode.offset !== -1) {\n var current = this.addScope(scopeNode); // create the scope or gets the existing one\n if (current) {\n current.addSymbol(new Symbol(name, value, node, type));\n }\n }\n };\n ScopeBuilder.prototype.visitNode = function (node) {\n switch (node.type) {\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Keyframe:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Keyframe);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.CustomPropertyDeclaration:\n return this.visitCustomPropertyDeclarationNode(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.VariableDeclaration:\n return this.visitVariableDeclarationNode(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Ruleset:\n return this.visitRuleSet(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Mixin);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.FunctionDeclaration:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Function);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.FunctionParameter: {\n return this.visitFunctionParameterNode(node);\n }\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Declarations:\n this.addScope(node);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.For:\n var forNode = node;\n var scopeNode = forNode.getDeclarations();\n if (scopeNode && forNode.variable) {\n this.addSymbolToChildScope(scopeNode, forNode.variable, forNode.variable.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Each: {\n var eachNode = node;\n var scopeNode_1 = eachNode.getDeclarations();\n if (scopeNode_1) {\n var variables = eachNode.getVariables().getChildren();\n for (var _i = 0, variables_1 = variables; _i < variables_1.length; _i++) {\n var variable = variables_1[_i];\n this.addSymbolToChildScope(scopeNode_1, variable, variable.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n }\n return true;\n }\n }\n return true;\n };\n ScopeBuilder.prototype.visitRuleSet = function (node) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current) {\n for (var _i = 0, _a = node.getSelectors().getChildren(); _i < _a.length; _i++) {\n var child = _a[_i];\n if (child instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Selector) {\n if (child.getChildren().length === 1) { // only selectors with a single element can be extended\n current.addSymbol(new Symbol(child.getChild(0).getText(), void 0, child, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Rule));\n }\n }\n }\n }\n return true;\n };\n ScopeBuilder.prototype.visitVariableDeclarationNode = function (node) {\n var value = node.getValue() ? node.getValue().getText() : void 0;\n this.addSymbol(node, node.getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n return true;\n };\n ScopeBuilder.prototype.visitFunctionParameterNode = function (node) {\n // parameters are part of the body scope\n var scopeNode = node.getParent().getDeclarations();\n if (scopeNode) {\n var valueNode = node.getDefaultValue();\n var value = valueNode ? valueNode.getText() : void 0;\n this.addSymbolToChildScope(scopeNode, node, node.getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n return true;\n };\n ScopeBuilder.prototype.visitCustomPropertyDeclarationNode = function (node) {\n var value = node.getValue() ? node.getValue().getText() : '';\n this.addCSSVariable(node.getProperty(), node.getProperty().getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n return true;\n };\n ScopeBuilder.prototype.addCSSVariable = function (node, name, value, type) {\n if (node.offset !== -1) {\n this.scope.addSymbol(new Symbol(name, value, node, type));\n }\n };\n return ScopeBuilder;\n}());\n\nvar Symbols = /** @class */ (function () {\n function Symbols(node) {\n this.global = new GlobalScope();\n node.acceptVisitor(new ScopeBuilder(this.global));\n }\n Symbols.prototype.findSymbolsAtOffset = function (offset, referenceType) {\n var scope = this.global.findScope(offset, 0);\n var result = [];\n var names = {};\n while (scope) {\n var symbols = scope.getSymbols();\n for (var i = 0; i < symbols.length; i++) {\n var symbol = symbols[i];\n if (symbol.type === referenceType && !names[symbol.name]) {\n result.push(symbol);\n names[symbol.name] = true;\n }\n }\n scope = scope.parent;\n }\n return result;\n };\n Symbols.prototype.internalFindSymbol = function (node, referenceTypes) {\n var scopeNode = node;\n if (node.parent instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionParameter && node.parent.getParent() instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.BodyDeclaration) {\n scopeNode = node.parent.getParent().getDeclarations();\n }\n if (node.parent instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionArgument && node.parent.getParent() instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Function) {\n var funcId = node.parent.getParent().getIdentifier();\n if (funcId) {\n var functionSymbol = this.internalFindSymbol(funcId, [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Function]);\n if (functionSymbol) {\n scopeNode = functionSymbol.node.getDeclarations();\n }\n }\n }\n if (!scopeNode) {\n return null;\n }\n var name = node.getText();\n var scope = this.global.findScope(scopeNode.offset, scopeNode.length);\n while (scope) {\n for (var index = 0; index < referenceTypes.length; index++) {\n var type = referenceTypes[index];\n var symbol = scope.getSymbol(name, type);\n if (symbol) {\n return symbol;\n }\n }\n scope = scope.parent;\n }\n return null;\n };\n Symbols.prototype.evaluateReferenceTypes = function (node) {\n if (node instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Identifier) {\n var referenceTypes = node.referenceTypes;\n if (referenceTypes) {\n return referenceTypes;\n }\n else {\n if (node.isCustomProperty) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable];\n }\n // are a reference to a keyframe?\n var decl = _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.getParentDeclaration(node);\n if (decl) {\n var propertyName = decl.getNonPrefixedPropertyName();\n if ((propertyName === 'animation' || propertyName === 'animation-name')\n && decl.getValue() && decl.getValue().offset === node.offset) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Keyframe];\n }\n }\n }\n }\n else if (node instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Variable) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable];\n }\n var selector = node.findAParent(_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Selector, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ExtendsReference);\n if (selector) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Rule];\n }\n return null;\n };\n Symbols.prototype.findSymbolFromNode = function (node) {\n if (!node) {\n return null;\n }\n while (node.type === _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Interpolation) {\n node = node.getParent();\n }\n var referenceTypes = this.evaluateReferenceTypes(node);\n if (referenceTypes) {\n return this.internalFindSymbol(node, referenceTypes);\n }\n return null;\n };\n Symbols.prototype.matchesSymbol = function (node, symbol) {\n if (!node) {\n return false;\n }\n while (node.type === _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Interpolation) {\n node = node.getParent();\n }\n if (!node.matches(symbol.name)) {\n return false;\n }\n var referenceTypes = this.evaluateReferenceTypes(node);\n if (!referenceTypes || referenceTypes.indexOf(symbol.type) === -1) {\n return false;\n }\n var nodeSymbol = this.internalFindSymbol(node, referenceTypes);\n return nodeSymbol === symbol;\n };\n Symbols.prototype.findSymbol = function (name, type, offset) {\n var scope = this.global.findScope(offset);\n while (scope) {\n var symbol = scope.getSymbol(name, type);\n if (symbol) {\n return symbol;\n }\n scope = scope.parent;\n }\n return null;\n };\n return Symbols;\n}());\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssSymbolScope.js?");
148
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"GlobalScope\": () => (/* binding */ GlobalScope),\n/* harmony export */ \"Scope\": () => (/* binding */ Scope),\n/* harmony export */ \"ScopeBuilder\": () => (/* binding */ ScopeBuilder),\n/* harmony export */ \"Symbol\": () => (/* binding */ Symbol),\n/* harmony export */ \"Symbols\": () => (/* binding */ Symbols)\n/* harmony export */ });\n/* harmony import */ var _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _utils_arrays_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/arrays.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/arrays.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\nvar Scope = /** @class */ (function () {\n function Scope(offset, length) {\n this.offset = offset;\n this.length = length;\n this.symbols = [];\n this.parent = null;\n this.children = [];\n }\n Scope.prototype.addChild = function (scope) {\n this.children.push(scope);\n scope.setParent(this);\n };\n Scope.prototype.setParent = function (scope) {\n this.parent = scope;\n };\n Scope.prototype.findScope = function (offset, length) {\n if (length === void 0) { length = 0; }\n if (this.offset <= offset && this.offset + this.length > offset + length || this.offset === offset && this.length === length) {\n return this.findInScope(offset, length);\n }\n return null;\n };\n Scope.prototype.findInScope = function (offset, length) {\n if (length === void 0) { length = 0; }\n // find the first scope child that has an offset larger than offset + length\n var end = offset + length;\n var idx = (0,_utils_arrays_js__WEBPACK_IMPORTED_MODULE_1__.findFirst)(this.children, function (s) { return s.offset > end; });\n if (idx === 0) {\n // all scopes have offsets larger than our end\n return this;\n }\n var res = this.children[idx - 1];\n if (res.offset <= offset && res.offset + res.length >= offset + length) {\n return res.findInScope(offset, length);\n }\n return this;\n };\n Scope.prototype.addSymbol = function (symbol) {\n this.symbols.push(symbol);\n };\n Scope.prototype.getSymbol = function (name, type) {\n for (var index = 0; index < this.symbols.length; index++) {\n var symbol = this.symbols[index];\n if (symbol.name === name && symbol.type === type) {\n return symbol;\n }\n }\n return null;\n };\n Scope.prototype.getSymbols = function () {\n return this.symbols;\n };\n return Scope;\n}());\n\nvar GlobalScope = /** @class */ (function (_super) {\n __extends(GlobalScope, _super);\n function GlobalScope() {\n return _super.call(this, 0, Number.MAX_VALUE) || this;\n }\n return GlobalScope;\n}(Scope));\n\nvar Symbol = /** @class */ (function () {\n function Symbol(name, value, node, type) {\n this.name = name;\n this.value = value;\n this.node = node;\n this.type = type;\n }\n return Symbol;\n}());\n\nvar ScopeBuilder = /** @class */ (function () {\n function ScopeBuilder(scope) {\n this.scope = scope;\n }\n ScopeBuilder.prototype.addSymbol = function (node, name, value, type) {\n if (node.offset !== -1) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current) {\n current.addSymbol(new Symbol(name, value, node, type));\n }\n }\n };\n ScopeBuilder.prototype.addScope = function (node) {\n if (node.offset !== -1) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current && (current.offset !== node.offset || current.length !== node.length)) { // scope already known?\n var newScope = new Scope(node.offset, node.length);\n current.addChild(newScope);\n return newScope;\n }\n return current;\n }\n return null;\n };\n ScopeBuilder.prototype.addSymbolToChildScope = function (scopeNode, node, name, value, type) {\n if (scopeNode && scopeNode.offset !== -1) {\n var current = this.addScope(scopeNode); // create the scope or gets the existing one\n if (current) {\n current.addSymbol(new Symbol(name, value, node, type));\n }\n }\n };\n ScopeBuilder.prototype.visitNode = function (node) {\n switch (node.type) {\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Keyframe:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Keyframe);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.CustomPropertyDeclaration:\n return this.visitCustomPropertyDeclarationNode(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.VariableDeclaration:\n return this.visitVariableDeclarationNode(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Ruleset:\n return this.visitRuleSet(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Mixin);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.FunctionDeclaration:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Function);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.FunctionParameter: {\n return this.visitFunctionParameterNode(node);\n }\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Declarations:\n this.addScope(node);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.For:\n var forNode = node;\n var scopeNode = forNode.getDeclarations();\n if (scopeNode && forNode.variable) {\n this.addSymbolToChildScope(scopeNode, forNode.variable, forNode.variable.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Each: {\n var eachNode = node;\n var scopeNode_1 = eachNode.getDeclarations();\n if (scopeNode_1) {\n var variables = eachNode.getVariables().getChildren();\n for (var _i = 0, variables_1 = variables; _i < variables_1.length; _i++) {\n var variable = variables_1[_i];\n this.addSymbolToChildScope(scopeNode_1, variable, variable.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n }\n return true;\n }\n }\n return true;\n };\n ScopeBuilder.prototype.visitRuleSet = function (node) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current) {\n for (var _i = 0, _a = node.getSelectors().getChildren(); _i < _a.length; _i++) {\n var child = _a[_i];\n if (child instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Selector) {\n if (child.getChildren().length === 1) { // only selectors with a single element can be extended\n current.addSymbol(new Symbol(child.getChild(0).getText(), void 0, child, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Rule));\n }\n }\n }\n }\n return true;\n };\n ScopeBuilder.prototype.visitVariableDeclarationNode = function (node) {\n var value = node.getValue() ? node.getValue().getText() : void 0;\n this.addSymbol(node, node.getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n return true;\n };\n ScopeBuilder.prototype.visitFunctionParameterNode = function (node) {\n // parameters are part of the body scope\n var scopeNode = node.getParent().getDeclarations();\n if (scopeNode) {\n var valueNode = node.getDefaultValue();\n var value = valueNode ? valueNode.getText() : void 0;\n this.addSymbolToChildScope(scopeNode, node, node.getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n return true;\n };\n ScopeBuilder.prototype.visitCustomPropertyDeclarationNode = function (node) {\n var value = node.getValue() ? node.getValue().getText() : '';\n this.addCSSVariable(node.getProperty(), node.getProperty().getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n return true;\n };\n ScopeBuilder.prototype.addCSSVariable = function (node, name, value, type) {\n if (node.offset !== -1) {\n this.scope.addSymbol(new Symbol(name, value, node, type));\n }\n };\n return ScopeBuilder;\n}());\n\nvar Symbols = /** @class */ (function () {\n function Symbols(node) {\n this.global = new GlobalScope();\n node.acceptVisitor(new ScopeBuilder(this.global));\n }\n Symbols.prototype.findSymbolsAtOffset = function (offset, referenceType) {\n var scope = this.global.findScope(offset, 0);\n var result = [];\n var names = {};\n while (scope) {\n var symbols = scope.getSymbols();\n for (var i = 0; i < symbols.length; i++) {\n var symbol = symbols[i];\n if (symbol.type === referenceType && !names[symbol.name]) {\n result.push(symbol);\n names[symbol.name] = true;\n }\n }\n scope = scope.parent;\n }\n return result;\n };\n Symbols.prototype.internalFindSymbol = function (node, referenceTypes) {\n var scopeNode = node;\n if (node.parent instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionParameter && node.parent.getParent() instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.BodyDeclaration) {\n scopeNode = node.parent.getParent().getDeclarations();\n }\n if (node.parent instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionArgument && node.parent.getParent() instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Function) {\n var funcId = node.parent.getParent().getIdentifier();\n if (funcId) {\n var functionSymbol = this.internalFindSymbol(funcId, [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Function]);\n if (functionSymbol) {\n scopeNode = functionSymbol.node.getDeclarations();\n }\n }\n }\n if (!scopeNode) {\n return null;\n }\n var name = node.getText();\n var scope = this.global.findScope(scopeNode.offset, scopeNode.length);\n while (scope) {\n for (var index = 0; index < referenceTypes.length; index++) {\n var type = referenceTypes[index];\n var symbol = scope.getSymbol(name, type);\n if (symbol) {\n return symbol;\n }\n }\n scope = scope.parent;\n }\n return null;\n };\n Symbols.prototype.evaluateReferenceTypes = function (node) {\n if (node instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Identifier) {\n var referenceTypes = node.referenceTypes;\n if (referenceTypes) {\n return referenceTypes;\n }\n else {\n if (node.isCustomProperty) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable];\n }\n // are a reference to a keyframe?\n var decl = _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.getParentDeclaration(node);\n if (decl) {\n var propertyName = decl.getNonPrefixedPropertyName();\n if ((propertyName === 'animation' || propertyName === 'animation-name')\n && decl.getValue() && decl.getValue().offset === node.offset) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Keyframe];\n }\n }\n }\n }\n else if (node instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Variable) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable];\n }\n var selector = node.findAParent(_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Selector, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ExtendsReference);\n if (selector) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Rule];\n }\n return null;\n };\n Symbols.prototype.findSymbolFromNode = function (node) {\n if (!node) {\n return null;\n }\n while (node.type === _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Interpolation) {\n node = node.getParent();\n }\n var referenceTypes = this.evaluateReferenceTypes(node);\n if (referenceTypes) {\n return this.internalFindSymbol(node, referenceTypes);\n }\n return null;\n };\n Symbols.prototype.matchesSymbol = function (node, symbol) {\n if (!node) {\n return false;\n }\n while (node.type === _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Interpolation) {\n node = node.getParent();\n }\n if (!node.matches(symbol.name)) {\n return false;\n }\n var referenceTypes = this.evaluateReferenceTypes(node);\n if (!referenceTypes || referenceTypes.indexOf(symbol.type) === -1) {\n return false;\n }\n var nodeSymbol = this.internalFindSymbol(node, referenceTypes);\n return nodeSymbol === symbol;\n };\n Symbols.prototype.findSymbol = function (name, type, offset) {\n var scope = this.global.findScope(offset);\n while (scope) {\n var symbol = scope.getSymbol(name, type);\n if (symbol) {\n return symbol;\n }\n scope = scope.parent;\n }\n return null;\n };\n return Symbols;\n}());\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssSymbolScope.js?");
149
149
 
150
150
  /***/ }),
151
151
 
@@ -195,7 +195,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
195
195
  \***************************************************************************************************************/
196
196
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
197
197
 
198
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"VariableName\": () => (/* binding */ VariableName),\n/* harmony export */ \"InterpolationFunction\": () => (/* binding */ InterpolationFunction),\n/* harmony export */ \"Default\": () => (/* binding */ Default),\n/* harmony export */ \"EqualsOperator\": () => (/* binding */ EqualsOperator),\n/* harmony export */ \"NotEqualsOperator\": () => (/* binding */ NotEqualsOperator),\n/* harmony export */ \"GreaterEqualsOperator\": () => (/* binding */ GreaterEqualsOperator),\n/* harmony export */ \"SmallerEqualsOperator\": () => (/* binding */ SmallerEqualsOperator),\n/* harmony export */ \"Ellipsis\": () => (/* binding */ Ellipsis),\n/* harmony export */ \"Module\": () => (/* binding */ Module),\n/* harmony export */ \"SCSSScanner\": () => (/* binding */ SCSSScanner)\n/* harmony export */ });\n/* harmony import */ var _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\nvar _FSL = '/'.charCodeAt(0);\nvar _NWL = '\\n'.charCodeAt(0);\nvar _CAR = '\\r'.charCodeAt(0);\nvar _LFD = '\\f'.charCodeAt(0);\nvar _DLR = '$'.charCodeAt(0);\nvar _HSH = '#'.charCodeAt(0);\nvar _CUL = '{'.charCodeAt(0);\nvar _EQS = '='.charCodeAt(0);\nvar _BNG = '!'.charCodeAt(0);\nvar _LAN = '<'.charCodeAt(0);\nvar _RAN = '>'.charCodeAt(0);\nvar _DOT = '.'.charCodeAt(0);\nvar _ATS = '@'.charCodeAt(0);\nvar customTokenValue = _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CustomToken;\nvar VariableName = customTokenValue++;\nvar InterpolationFunction = customTokenValue++;\nvar Default = customTokenValue++;\nvar EqualsOperator = customTokenValue++;\nvar NotEqualsOperator = customTokenValue++;\nvar GreaterEqualsOperator = customTokenValue++;\nvar SmallerEqualsOperator = customTokenValue++;\nvar Ellipsis = customTokenValue++;\nvar Module = customTokenValue++;\nvar SCSSScanner = /** @class */ (function (_super) {\n __extends(SCSSScanner, _super);\n function SCSSScanner() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SCSSScanner.prototype.scanNext = function (offset) {\n // scss variable\n if (this.stream.advanceIfChar(_DLR)) {\n var content = ['$'];\n if (this.ident(content)) {\n return this.finishToken(offset, VariableName, content.join(''));\n }\n else {\n this.stream.goBackTo(offset);\n }\n }\n // scss: interpolation function #{..})\n if (this.stream.advanceIfChars([_HSH, _CUL])) {\n return this.finishToken(offset, InterpolationFunction);\n }\n // operator ==\n if (this.stream.advanceIfChars([_EQS, _EQS])) {\n return this.finishToken(offset, EqualsOperator);\n }\n // operator !=\n if (this.stream.advanceIfChars([_BNG, _EQS])) {\n return this.finishToken(offset, NotEqualsOperator);\n }\n // operators <, <=\n if (this.stream.advanceIfChar(_LAN)) {\n if (this.stream.advanceIfChar(_EQS)) {\n return this.finishToken(offset, SmallerEqualsOperator);\n }\n return this.finishToken(offset, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Delim);\n }\n // ooperators >, >=\n if (this.stream.advanceIfChar(_RAN)) {\n if (this.stream.advanceIfChar(_EQS)) {\n return this.finishToken(offset, GreaterEqualsOperator);\n }\n return this.finishToken(offset, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Delim);\n }\n // ellipis\n if (this.stream.advanceIfChars([_DOT, _DOT, _DOT])) {\n return this.finishToken(offset, Ellipsis);\n }\n return _super.prototype.scanNext.call(this, offset);\n };\n SCSSScanner.prototype.comment = function () {\n if (_super.prototype.comment.call(this)) {\n return true;\n }\n if (!this.inURL && this.stream.advanceIfChars([_FSL, _FSL])) {\n this.stream.advanceWhileChar(function (ch) {\n switch (ch) {\n case _NWL:\n case _CAR:\n case _LFD:\n return false;\n default:\n return true;\n }\n });\n return true;\n }\n else {\n return false;\n }\n };\n return SCSSScanner;\n}(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Scanner));\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssScanner.js?");
198
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Default\": () => (/* binding */ Default),\n/* harmony export */ \"Ellipsis\": () => (/* binding */ Ellipsis),\n/* harmony export */ \"EqualsOperator\": () => (/* binding */ EqualsOperator),\n/* harmony export */ \"GreaterEqualsOperator\": () => (/* binding */ GreaterEqualsOperator),\n/* harmony export */ \"InterpolationFunction\": () => (/* binding */ InterpolationFunction),\n/* harmony export */ \"Module\": () => (/* binding */ Module),\n/* harmony export */ \"NotEqualsOperator\": () => (/* binding */ NotEqualsOperator),\n/* harmony export */ \"SCSSScanner\": () => (/* binding */ SCSSScanner),\n/* harmony export */ \"SmallerEqualsOperator\": () => (/* binding */ SmallerEqualsOperator),\n/* harmony export */ \"VariableName\": () => (/* binding */ VariableName)\n/* harmony export */ });\n/* harmony import */ var _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\nvar _FSL = '/'.charCodeAt(0);\nvar _NWL = '\\n'.charCodeAt(0);\nvar _CAR = '\\r'.charCodeAt(0);\nvar _LFD = '\\f'.charCodeAt(0);\nvar _DLR = '$'.charCodeAt(0);\nvar _HSH = '#'.charCodeAt(0);\nvar _CUL = '{'.charCodeAt(0);\nvar _EQS = '='.charCodeAt(0);\nvar _BNG = '!'.charCodeAt(0);\nvar _LAN = '<'.charCodeAt(0);\nvar _RAN = '>'.charCodeAt(0);\nvar _DOT = '.'.charCodeAt(0);\nvar _ATS = '@'.charCodeAt(0);\nvar customTokenValue = _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CustomToken;\nvar VariableName = customTokenValue++;\nvar InterpolationFunction = customTokenValue++;\nvar Default = customTokenValue++;\nvar EqualsOperator = customTokenValue++;\nvar NotEqualsOperator = customTokenValue++;\nvar GreaterEqualsOperator = customTokenValue++;\nvar SmallerEqualsOperator = customTokenValue++;\nvar Ellipsis = customTokenValue++;\nvar Module = customTokenValue++;\nvar SCSSScanner = /** @class */ (function (_super) {\n __extends(SCSSScanner, _super);\n function SCSSScanner() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SCSSScanner.prototype.scanNext = function (offset) {\n // scss variable\n if (this.stream.advanceIfChar(_DLR)) {\n var content = ['$'];\n if (this.ident(content)) {\n return this.finishToken(offset, VariableName, content.join(''));\n }\n else {\n this.stream.goBackTo(offset);\n }\n }\n // scss: interpolation function #{..})\n if (this.stream.advanceIfChars([_HSH, _CUL])) {\n return this.finishToken(offset, InterpolationFunction);\n }\n // operator ==\n if (this.stream.advanceIfChars([_EQS, _EQS])) {\n return this.finishToken(offset, EqualsOperator);\n }\n // operator !=\n if (this.stream.advanceIfChars([_BNG, _EQS])) {\n return this.finishToken(offset, NotEqualsOperator);\n }\n // operators <, <=\n if (this.stream.advanceIfChar(_LAN)) {\n if (this.stream.advanceIfChar(_EQS)) {\n return this.finishToken(offset, SmallerEqualsOperator);\n }\n return this.finishToken(offset, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Delim);\n }\n // ooperators >, >=\n if (this.stream.advanceIfChar(_RAN)) {\n if (this.stream.advanceIfChar(_EQS)) {\n return this.finishToken(offset, GreaterEqualsOperator);\n }\n return this.finishToken(offset, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Delim);\n }\n // ellipis\n if (this.stream.advanceIfChars([_DOT, _DOT, _DOT])) {\n return this.finishToken(offset, Ellipsis);\n }\n return _super.prototype.scanNext.call(this, offset);\n };\n SCSSScanner.prototype.comment = function () {\n if (_super.prototype.comment.call(this)) {\n return true;\n }\n if (!this.inURL && this.stream.advanceIfChars([_FSL, _FSL])) {\n this.stream.advanceWhileChar(function (ch) {\n switch (ch) {\n case _NWL:\n case _CAR:\n case _LFD:\n return false;\n default:\n return true;\n }\n });\n return true;\n }\n else {\n return false;\n }\n };\n return SCSSScanner;\n}(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Scanner));\n\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssScanner.js?");
199
199
 
200
200
  /***/ }),
201
201
 
@@ -295,7 +295,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
295
295
  \***************************************************************************************************************/
296
296
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
297
297
 
298
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Rule\": () => (/* binding */ Rule),\n/* harmony export */ \"Setting\": () => (/* binding */ Setting),\n/* harmony export */ \"Rules\": () => (/* binding */ Rules),\n/* harmony export */ \"Settings\": () => (/* binding */ Settings),\n/* harmony export */ \"LintConfigurationSettings\": () => (/* binding */ LintConfigurationSettings)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__.loadMessageBundle();\nvar Warning = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Warning;\nvar Error = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Error;\nvar Ignore = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Ignore;\nvar Rule = /** @class */ (function () {\n function Rule(id, message, defaultValue) {\n this.id = id;\n this.message = message;\n this.defaultValue = defaultValue;\n // nothing to do\n }\n return Rule;\n}());\n\nvar Setting = /** @class */ (function () {\n function Setting(id, message, defaultValue) {\n this.id = id;\n this.message = message;\n this.defaultValue = defaultValue;\n // nothing to do\n }\n return Setting;\n}());\n\nvar Rules = {\n AllVendorPrefixes: new Rule('compatibleVendorPrefixes', localize('rule.vendorprefixes.all', \"When using a vendor-specific prefix make sure to also include all other vendor-specific properties\"), Ignore),\n IncludeStandardPropertyWhenUsingVendorPrefix: new Rule('vendorPrefix', localize('rule.standardvendorprefix.all', \"When using a vendor-specific prefix also include the standard property\"), Warning),\n DuplicateDeclarations: new Rule('duplicateProperties', localize('rule.duplicateDeclarations', \"Do not use duplicate style definitions\"), Ignore),\n EmptyRuleSet: new Rule('emptyRules', localize('rule.emptyRuleSets', \"Do not use empty rulesets\"), Warning),\n ImportStatemement: new Rule('importStatement', localize('rule.importDirective', \"Import statements do not load in parallel\"), Ignore),\n BewareOfBoxModelSize: new Rule('boxModel', localize('rule.bewareOfBoxModelSize', \"Do not use width or height when using padding or border\"), Ignore),\n UniversalSelector: new Rule('universalSelector', localize('rule.universalSelector', \"The universal selector (*) is known to be slow\"), Ignore),\n ZeroWithUnit: new Rule('zeroUnits', localize('rule.zeroWidthUnit', \"No unit for zero needed\"), Ignore),\n RequiredPropertiesForFontFace: new Rule('fontFaceProperties', localize('rule.fontFaceProperties', \"@font-face rule must define 'src' and 'font-family' properties\"), Warning),\n HexColorLength: new Rule('hexColorLength', localize('rule.hexColor', \"Hex colors must consist of three, four, six or eight hex numbers\"), Error),\n ArgsInColorFunction: new Rule('argumentsInColorFunction', localize('rule.colorFunction', \"Invalid number of parameters\"), Error),\n UnknownProperty: new Rule('unknownProperties', localize('rule.unknownProperty', \"Unknown property.\"), Warning),\n UnknownAtRules: new Rule('unknownAtRules', localize('rule.unknownAtRules', \"Unknown at-rule.\"), Warning),\n IEStarHack: new Rule('ieHack', localize('rule.ieHack', \"IE hacks are only necessary when supporting IE7 and older\"), Ignore),\n UnknownVendorSpecificProperty: new Rule('unknownVendorSpecificProperties', localize('rule.unknownVendorSpecificProperty', \"Unknown vendor specific property.\"), Ignore),\n PropertyIgnoredDueToDisplay: new Rule('propertyIgnoredDueToDisplay', localize('rule.propertyIgnoredDueToDisplay', \"Property is ignored due to the display.\"), Warning),\n AvoidImportant: new Rule('important', localize('rule.avoidImportant', \"Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.\"), Ignore),\n AvoidFloat: new Rule('float', localize('rule.avoidFloat', \"Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.\"), Ignore),\n AvoidIdSelector: new Rule('idSelector', localize('rule.avoidIdSelector', \"Selectors should not contain IDs because these rules are too tightly coupled with the HTML.\"), Ignore),\n};\nvar Settings = {\n ValidProperties: new Setting('validProperties', localize('rule.validProperties', \"A list of properties that are not validated against the `unknownProperties` rule.\"), [])\n};\nvar LintConfigurationSettings = /** @class */ (function () {\n function LintConfigurationSettings(conf) {\n if (conf === void 0) { conf = {}; }\n this.conf = conf;\n }\n LintConfigurationSettings.prototype.getRule = function (rule) {\n if (this.conf.hasOwnProperty(rule.id)) {\n var level = toLevel(this.conf[rule.id]);\n if (level) {\n return level;\n }\n }\n return rule.defaultValue;\n };\n LintConfigurationSettings.prototype.getSetting = function (setting) {\n return this.conf[setting.id];\n };\n return LintConfigurationSettings;\n}());\n\nfunction toLevel(level) {\n switch (level) {\n case 'ignore': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Ignore;\n case 'warning': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Warning;\n case 'error': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Error;\n }\n return null;\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintRules.js?");
298
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"LintConfigurationSettings\": () => (/* binding */ LintConfigurationSettings),\n/* harmony export */ \"Rule\": () => (/* binding */ Rule),\n/* harmony export */ \"Rules\": () => (/* binding */ Rules),\n/* harmony export */ \"Setting\": () => (/* binding */ Setting),\n/* harmony export */ \"Settings\": () => (/* binding */ Settings)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__.loadMessageBundle();\nvar Warning = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Warning;\nvar Error = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Error;\nvar Ignore = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Ignore;\nvar Rule = /** @class */ (function () {\n function Rule(id, message, defaultValue) {\n this.id = id;\n this.message = message;\n this.defaultValue = defaultValue;\n // nothing to do\n }\n return Rule;\n}());\n\nvar Setting = /** @class */ (function () {\n function Setting(id, message, defaultValue) {\n this.id = id;\n this.message = message;\n this.defaultValue = defaultValue;\n // nothing to do\n }\n return Setting;\n}());\n\nvar Rules = {\n AllVendorPrefixes: new Rule('compatibleVendorPrefixes', localize('rule.vendorprefixes.all', \"When using a vendor-specific prefix make sure to also include all other vendor-specific properties\"), Ignore),\n IncludeStandardPropertyWhenUsingVendorPrefix: new Rule('vendorPrefix', localize('rule.standardvendorprefix.all', \"When using a vendor-specific prefix also include the standard property\"), Warning),\n DuplicateDeclarations: new Rule('duplicateProperties', localize('rule.duplicateDeclarations', \"Do not use duplicate style definitions\"), Ignore),\n EmptyRuleSet: new Rule('emptyRules', localize('rule.emptyRuleSets', \"Do not use empty rulesets\"), Warning),\n ImportStatemement: new Rule('importStatement', localize('rule.importDirective', \"Import statements do not load in parallel\"), Ignore),\n BewareOfBoxModelSize: new Rule('boxModel', localize('rule.bewareOfBoxModelSize', \"Do not use width or height when using padding or border\"), Ignore),\n UniversalSelector: new Rule('universalSelector', localize('rule.universalSelector', \"The universal selector (*) is known to be slow\"), Ignore),\n ZeroWithUnit: new Rule('zeroUnits', localize('rule.zeroWidthUnit', \"No unit for zero needed\"), Ignore),\n RequiredPropertiesForFontFace: new Rule('fontFaceProperties', localize('rule.fontFaceProperties', \"@font-face rule must define 'src' and 'font-family' properties\"), Warning),\n HexColorLength: new Rule('hexColorLength', localize('rule.hexColor', \"Hex colors must consist of three, four, six or eight hex numbers\"), Error),\n ArgsInColorFunction: new Rule('argumentsInColorFunction', localize('rule.colorFunction', \"Invalid number of parameters\"), Error),\n UnknownProperty: new Rule('unknownProperties', localize('rule.unknownProperty', \"Unknown property.\"), Warning),\n UnknownAtRules: new Rule('unknownAtRules', localize('rule.unknownAtRules', \"Unknown at-rule.\"), Warning),\n IEStarHack: new Rule('ieHack', localize('rule.ieHack', \"IE hacks are only necessary when supporting IE7 and older\"), Ignore),\n UnknownVendorSpecificProperty: new Rule('unknownVendorSpecificProperties', localize('rule.unknownVendorSpecificProperty', \"Unknown vendor specific property.\"), Ignore),\n PropertyIgnoredDueToDisplay: new Rule('propertyIgnoredDueToDisplay', localize('rule.propertyIgnoredDueToDisplay', \"Property is ignored due to the display.\"), Warning),\n AvoidImportant: new Rule('important', localize('rule.avoidImportant', \"Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.\"), Ignore),\n AvoidFloat: new Rule('float', localize('rule.avoidFloat', \"Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.\"), Ignore),\n AvoidIdSelector: new Rule('idSelector', localize('rule.avoidIdSelector', \"Selectors should not contain IDs because these rules are too tightly coupled with the HTML.\"), Ignore),\n};\nvar Settings = {\n ValidProperties: new Setting('validProperties', localize('rule.validProperties', \"A list of properties that are not validated against the `unknownProperties` rule.\"), [])\n};\nvar LintConfigurationSettings = /** @class */ (function () {\n function LintConfigurationSettings(conf) {\n if (conf === void 0) { conf = {}; }\n this.conf = conf;\n }\n LintConfigurationSettings.prototype.getRule = function (rule) {\n if (this.conf.hasOwnProperty(rule.id)) {\n var level = toLevel(this.conf[rule.id]);\n if (level) {\n return level;\n }\n }\n return rule.defaultValue;\n };\n LintConfigurationSettings.prototype.getSetting = function (setting) {\n return this.conf[setting.id];\n };\n return LintConfigurationSettings;\n}());\n\nfunction toLevel(level) {\n switch (level) {\n case 'ignore': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Ignore;\n case 'warning': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Warning;\n case 'error': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Error;\n }\n return null;\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintRules.js?");
299
299
 
300
300
  /***/ }),
301
301
 
@@ -345,7 +345,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
345
345
  \**********************************************************************************************************************/
346
346
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
347
347
 
348
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Element\": () => (/* binding */ Element),\n/* harmony export */ \"RootElement\": () => (/* binding */ RootElement),\n/* harmony export */ \"LabelElement\": () => (/* binding */ LabelElement),\n/* harmony export */ \"toElement\": () => (/* binding */ toElement),\n/* harmony export */ \"SelectorPrinting\": () => (/* binding */ SelectorPrinting),\n/* harmony export */ \"selectorToElement\": () => (/* binding */ selectorToElement)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parser/cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_2__.loadMessageBundle();\nvar Element = /** @class */ (function () {\n function Element() {\n this.parent = null;\n this.children = null;\n this.attributes = null;\n }\n Element.prototype.findAttribute = function (name) {\n if (this.attributes) {\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n if (attribute.name === name) {\n return attribute.value;\n }\n }\n }\n return null;\n };\n Element.prototype.addChild = function (child) {\n if (child instanceof Element) {\n child.parent = this;\n }\n if (!this.children) {\n this.children = [];\n }\n this.children.push(child);\n };\n Element.prototype.append = function (text) {\n if (this.attributes) {\n var last = this.attributes[this.attributes.length - 1];\n last.value = last.value + text;\n }\n };\n Element.prototype.prepend = function (text) {\n if (this.attributes) {\n var first = this.attributes[0];\n first.value = text + first.value;\n }\n };\n Element.prototype.findRoot = function () {\n var curr = this;\n while (curr.parent && !(curr.parent instanceof RootElement)) {\n curr = curr.parent;\n }\n return curr;\n };\n Element.prototype.removeChild = function (child) {\n if (this.children) {\n var index = this.children.indexOf(child);\n if (index !== -1) {\n this.children.splice(index, 1);\n return true;\n }\n }\n return false;\n };\n Element.prototype.addAttr = function (name, value) {\n if (!this.attributes) {\n this.attributes = [];\n }\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n if (attribute.name === name) {\n attribute.value += ' ' + value;\n return;\n }\n }\n this.attributes.push({ name: name, value: value });\n };\n Element.prototype.clone = function (cloneChildren) {\n if (cloneChildren === void 0) { cloneChildren = true; }\n var elem = new Element();\n if (this.attributes) {\n elem.attributes = [];\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n elem.addAttr(attribute.name, attribute.value);\n }\n }\n if (cloneChildren && this.children) {\n elem.children = [];\n for (var index = 0; index < this.children.length; index++) {\n elem.addChild(this.children[index].clone());\n }\n }\n return elem;\n };\n Element.prototype.cloneWithParent = function () {\n var clone = this.clone(false);\n if (this.parent && !(this.parent instanceof RootElement)) {\n var parentClone = this.parent.cloneWithParent();\n parentClone.addChild(clone);\n }\n return clone;\n };\n return Element;\n}());\n\nvar RootElement = /** @class */ (function (_super) {\n __extends(RootElement, _super);\n function RootElement() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return RootElement;\n}(Element));\n\nvar LabelElement = /** @class */ (function (_super) {\n __extends(LabelElement, _super);\n function LabelElement(label) {\n var _this = _super.call(this) || this;\n _this.addAttr('name', label);\n return _this;\n }\n return LabelElement;\n}(Element));\n\nvar MarkedStringPrinter = /** @class */ (function () {\n function MarkedStringPrinter(quote) {\n this.quote = quote;\n this.result = [];\n // empty\n }\n MarkedStringPrinter.prototype.print = function (element) {\n this.result = [];\n if (element instanceof RootElement) {\n if (element.children) {\n this.doPrint(element.children, 0);\n }\n }\n else {\n this.doPrint([element], 0);\n }\n var value = this.result.join('\\n');\n return [{ language: 'html', value: value }];\n };\n MarkedStringPrinter.prototype.doPrint = function (elements, indent) {\n for (var _i = 0, elements_1 = elements; _i < elements_1.length; _i++) {\n var element = elements_1[_i];\n this.doPrintElement(element, indent);\n if (element.children) {\n this.doPrint(element.children, indent + 1);\n }\n }\n };\n MarkedStringPrinter.prototype.writeLine = function (level, content) {\n var indent = new Array(level + 1).join(' ');\n this.result.push(indent + content);\n };\n MarkedStringPrinter.prototype.doPrintElement = function (element, indent) {\n var name = element.findAttribute('name');\n // special case: a simple label\n if (element instanceof LabelElement || name === '\\u2026') {\n this.writeLine(indent, name);\n return;\n }\n // the real deal\n var content = ['<'];\n // element name\n if (name) {\n content.push(name);\n }\n else {\n content.push('element');\n }\n // attributes\n if (element.attributes) {\n for (var _i = 0, _a = element.attributes; _i < _a.length; _i++) {\n var attr = _a[_i];\n if (attr.name !== 'name') {\n content.push(' ');\n content.push(attr.name);\n var value = attr.value;\n if (value) {\n content.push('=');\n content.push(quotes.ensure(value, this.quote));\n }\n }\n }\n }\n content.push('>');\n this.writeLine(indent, content.join(''));\n };\n return MarkedStringPrinter;\n}());\nvar quotes;\n(function (quotes) {\n function ensure(value, which) {\n return which + remove(value) + which;\n }\n quotes.ensure = ensure;\n function remove(value) {\n var match = value.match(/^['\"](.*)[\"']$/);\n if (match) {\n return match[1];\n }\n return value;\n }\n quotes.remove = remove;\n})(quotes || (quotes = {}));\nvar Specificity = /** @class */ (function () {\n function Specificity() {\n /** Count of identifiers (e.g., `#app`) */\n this.id = 0;\n /** Count of attributes (`[type=\"number\"]`), classes (`.container-fluid`), and pseudo-classes (`:hover`) */\n this.attr = 0;\n /** Count of tag names (`div`), and pseudo-elements (`::before`) */\n this.tag = 0;\n }\n return Specificity;\n}());\nfunction toElement(node, parentElement) {\n var result = new Element();\n for (var _i = 0, _a = node.getChildren(); _i < _a.length; _i++) {\n var child = _a[_i];\n switch (child.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinator:\n if (parentElement) {\n var segments = child.getText().split('&');\n if (segments.length === 1) {\n // should not happen\n result.addAttr('name', segments[0]);\n break;\n }\n result = parentElement.cloneWithParent();\n if (segments[0]) {\n var root = result.findRoot();\n root.prepend(segments[0]);\n }\n for (var i = 1; i < segments.length; i++) {\n if (i > 1) {\n var clone = parentElement.cloneWithParent();\n result.addChild(clone.findRoot());\n result = clone;\n }\n result.append(segments[i]);\n }\n }\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorPlaceholder:\n if (child.matches('@at-root')) {\n return result;\n }\n // fall through\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ElementNameSelector:\n var text = child.getText();\n result.addAttr('name', text === '*' ? 'element' : unescape(text));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ClassSelector:\n result.addAttr('class', unescape(child.getText().substring(1)));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.IdentifierSelector:\n result.addAttr('id', unescape(child.getText().substring(1)));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n result.addAttr('class', child.getName());\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.PseudoSelector:\n result.addAttr(unescape(child.getText()), '');\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.AttributeSelector:\n var selector = child;\n var identifier = selector.getIdentifier();\n if (identifier) {\n var expression = selector.getValue();\n var operator = selector.getOperator();\n var value = void 0;\n if (expression && operator) {\n switch (unescape(operator.getText())) {\n case '|=':\n // excatly or followed by -words\n value = quotes.remove(unescape(expression.getText())) + \"-\\u2026\";\n break;\n case '^=':\n // prefix\n value = quotes.remove(unescape(expression.getText())) + \"\\u2026\";\n break;\n case '$=':\n // suffix\n value = \"\\u2026\" + quotes.remove(unescape(expression.getText()));\n break;\n case '~=':\n // one of a list of words\n value = \" \\u2026 \" + quotes.remove(unescape(expression.getText())) + \" \\u2026 \";\n break;\n case '*=':\n // substring\n value = \"\\u2026\" + quotes.remove(unescape(expression.getText())) + \"\\u2026\";\n break;\n default:\n value = quotes.remove(unescape(expression.getText()));\n break;\n }\n }\n result.addAttr(unescape(identifier.getText()), value);\n }\n break;\n }\n }\n return result;\n}\nfunction unescape(content) {\n var scanner = new _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.Scanner();\n scanner.setSource(content);\n var token = scanner.scanUnquotedString();\n if (token) {\n return token.text;\n }\n return content;\n}\nvar SelectorPrinting = /** @class */ (function () {\n function SelectorPrinting(cssDataManager) {\n this.cssDataManager = cssDataManager;\n }\n SelectorPrinting.prototype.selectorToMarkedString = function (node) {\n var root = selectorToElement(node);\n if (root) {\n var markedStrings = new MarkedStringPrinter('\"').print(root);\n markedStrings.push(this.selectorToSpecificityMarkedString(node));\n return markedStrings;\n }\n else {\n return [];\n }\n };\n SelectorPrinting.prototype.simpleSelectorToMarkedString = function (node) {\n var element = toElement(node);\n var markedStrings = new MarkedStringPrinter('\"').print(element);\n markedStrings.push(this.selectorToSpecificityMarkedString(node));\n return markedStrings;\n };\n SelectorPrinting.prototype.isPseudoElementIdentifier = function (text) {\n var match = text.match(/^::?([\\w-]+)/);\n if (!match) {\n return false;\n }\n return !!this.cssDataManager.getPseudoElement(\"::\" + match[1]);\n };\n SelectorPrinting.prototype.selectorToSpecificityMarkedString = function (node) {\n var _this = this;\n //https://www.w3.org/TR/selectors-3/#specificity\n var calculateScore = function (node) {\n for (var _i = 0, _a = node.getChildren(); _i < _a.length; _i++) {\n var element = _a[_i];\n switch (element.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.IdentifierSelector:\n specificity.id++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ClassSelector:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.AttributeSelector:\n specificity.attr++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ElementNameSelector:\n //ignore universal selector\n if (element.matches(\"*\")) {\n break;\n }\n specificity.tag++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.PseudoSelector:\n var text = element.getText();\n if (_this.isPseudoElementIdentifier(text)) {\n specificity.tag++; // pseudo element\n }\n else {\n //ignore psuedo class NOT\n if (text.match(/^:not/i)) {\n break;\n }\n specificity.attr++; //pseudo class\n }\n break;\n }\n if (element.getChildren().length > 0) {\n calculateScore(element);\n }\n }\n };\n var specificity = new Specificity();\n calculateScore(node);\n return localize('specificity', \"[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})\", specificity.id, specificity.attr, specificity.tag);\n };\n return SelectorPrinting;\n}());\n\nvar SelectorElementBuilder = /** @class */ (function () {\n function SelectorElementBuilder(element) {\n this.prev = null;\n this.element = element;\n }\n SelectorElementBuilder.prototype.processSelector = function (selector) {\n var parentElement = null;\n if (!(this.element instanceof RootElement)) {\n if (selector.getChildren().some(function (c) { return c.hasChildren() && c.getChild(0).type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinator; })) {\n var curr = this.element.findRoot();\n if (curr.parent instanceof RootElement) {\n parentElement = this.element;\n this.element = curr.parent;\n this.element.removeChild(curr);\n this.prev = null;\n }\n }\n }\n for (var _i = 0, _a = selector.getChildren(); _i < _a.length; _i++) {\n var selectorChild = _a[_i];\n if (selectorChild instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector) {\n if (this.prev instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector) {\n var labelElement = new LabelElement('\\u2026');\n this.element.addChild(labelElement);\n this.element = labelElement;\n }\n else if (this.prev && (this.prev.matches('+') || this.prev.matches('~')) && this.element.parent) {\n this.element = this.element.parent;\n }\n if (this.prev && this.prev.matches('~')) {\n this.element.addChild(new LabelElement('\\u22EE'));\n }\n var thisElement = toElement(selectorChild, parentElement);\n var root = thisElement.findRoot();\n this.element.addChild(root);\n this.element = thisElement;\n }\n if (selectorChild instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorParent ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorShadowPiercingDescendant ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorSibling ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorAllSiblings) {\n this.prev = selectorChild;\n }\n }\n };\n return SelectorElementBuilder;\n}());\nfunction isNewSelectorContext(node) {\n switch (node.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Stylesheet:\n return true;\n }\n return false;\n}\nfunction selectorToElement(node) {\n if (node.matches('@at-root')) {\n return null;\n }\n var root = new RootElement();\n var parentRuleSets = [];\n var ruleSet = node.getParent();\n if (ruleSet instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n var parent = ruleSet.getParent(); // parent of the selector's ruleset\n while (parent && !isNewSelectorContext(parent)) {\n if (parent instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n if (parent.getSelectors().matches('@at-root')) {\n break;\n }\n parentRuleSets.push(parent);\n }\n parent = parent.getParent();\n }\n }\n var builder = new SelectorElementBuilder(root);\n for (var i = parentRuleSets.length - 1; i >= 0; i--) {\n var selector = parentRuleSets[i].getSelectors().getChild(0);\n if (selector) {\n builder.processSelector(selector);\n }\n }\n builder.processSelector(node);\n return root;\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/selectorPrinting.js?");
348
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Element\": () => (/* binding */ Element),\n/* harmony export */ \"LabelElement\": () => (/* binding */ LabelElement),\n/* harmony export */ \"RootElement\": () => (/* binding */ RootElement),\n/* harmony export */ \"SelectorPrinting\": () => (/* binding */ SelectorPrinting),\n/* harmony export */ \"selectorToElement\": () => (/* binding */ selectorToElement),\n/* harmony export */ \"toElement\": () => (/* binding */ toElement)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parser/cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_2__.loadMessageBundle();\nvar Element = /** @class */ (function () {\n function Element() {\n this.parent = null;\n this.children = null;\n this.attributes = null;\n }\n Element.prototype.findAttribute = function (name) {\n if (this.attributes) {\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n if (attribute.name === name) {\n return attribute.value;\n }\n }\n }\n return null;\n };\n Element.prototype.addChild = function (child) {\n if (child instanceof Element) {\n child.parent = this;\n }\n if (!this.children) {\n this.children = [];\n }\n this.children.push(child);\n };\n Element.prototype.append = function (text) {\n if (this.attributes) {\n var last = this.attributes[this.attributes.length - 1];\n last.value = last.value + text;\n }\n };\n Element.prototype.prepend = function (text) {\n if (this.attributes) {\n var first = this.attributes[0];\n first.value = text + first.value;\n }\n };\n Element.prototype.findRoot = function () {\n var curr = this;\n while (curr.parent && !(curr.parent instanceof RootElement)) {\n curr = curr.parent;\n }\n return curr;\n };\n Element.prototype.removeChild = function (child) {\n if (this.children) {\n var index = this.children.indexOf(child);\n if (index !== -1) {\n this.children.splice(index, 1);\n return true;\n }\n }\n return false;\n };\n Element.prototype.addAttr = function (name, value) {\n if (!this.attributes) {\n this.attributes = [];\n }\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n if (attribute.name === name) {\n attribute.value += ' ' + value;\n return;\n }\n }\n this.attributes.push({ name: name, value: value });\n };\n Element.prototype.clone = function (cloneChildren) {\n if (cloneChildren === void 0) { cloneChildren = true; }\n var elem = new Element();\n if (this.attributes) {\n elem.attributes = [];\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n elem.addAttr(attribute.name, attribute.value);\n }\n }\n if (cloneChildren && this.children) {\n elem.children = [];\n for (var index = 0; index < this.children.length; index++) {\n elem.addChild(this.children[index].clone());\n }\n }\n return elem;\n };\n Element.prototype.cloneWithParent = function () {\n var clone = this.clone(false);\n if (this.parent && !(this.parent instanceof RootElement)) {\n var parentClone = this.parent.cloneWithParent();\n parentClone.addChild(clone);\n }\n return clone;\n };\n return Element;\n}());\n\nvar RootElement = /** @class */ (function (_super) {\n __extends(RootElement, _super);\n function RootElement() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return RootElement;\n}(Element));\n\nvar LabelElement = /** @class */ (function (_super) {\n __extends(LabelElement, _super);\n function LabelElement(label) {\n var _this = _super.call(this) || this;\n _this.addAttr('name', label);\n return _this;\n }\n return LabelElement;\n}(Element));\n\nvar MarkedStringPrinter = /** @class */ (function () {\n function MarkedStringPrinter(quote) {\n this.quote = quote;\n this.result = [];\n // empty\n }\n MarkedStringPrinter.prototype.print = function (element) {\n this.result = [];\n if (element instanceof RootElement) {\n if (element.children) {\n this.doPrint(element.children, 0);\n }\n }\n else {\n this.doPrint([element], 0);\n }\n var value = this.result.join('\\n');\n return [{ language: 'html', value: value }];\n };\n MarkedStringPrinter.prototype.doPrint = function (elements, indent) {\n for (var _i = 0, elements_1 = elements; _i < elements_1.length; _i++) {\n var element = elements_1[_i];\n this.doPrintElement(element, indent);\n if (element.children) {\n this.doPrint(element.children, indent + 1);\n }\n }\n };\n MarkedStringPrinter.prototype.writeLine = function (level, content) {\n var indent = new Array(level + 1).join(' ');\n this.result.push(indent + content);\n };\n MarkedStringPrinter.prototype.doPrintElement = function (element, indent) {\n var name = element.findAttribute('name');\n // special case: a simple label\n if (element instanceof LabelElement || name === '\\u2026') {\n this.writeLine(indent, name);\n return;\n }\n // the real deal\n var content = ['<'];\n // element name\n if (name) {\n content.push(name);\n }\n else {\n content.push('element');\n }\n // attributes\n if (element.attributes) {\n for (var _i = 0, _a = element.attributes; _i < _a.length; _i++) {\n var attr = _a[_i];\n if (attr.name !== 'name') {\n content.push(' ');\n content.push(attr.name);\n var value = attr.value;\n if (value) {\n content.push('=');\n content.push(quotes.ensure(value, this.quote));\n }\n }\n }\n }\n content.push('>');\n this.writeLine(indent, content.join(''));\n };\n return MarkedStringPrinter;\n}());\nvar quotes;\n(function (quotes) {\n function ensure(value, which) {\n return which + remove(value) + which;\n }\n quotes.ensure = ensure;\n function remove(value) {\n var match = value.match(/^['\"](.*)[\"']$/);\n if (match) {\n return match[1];\n }\n return value;\n }\n quotes.remove = remove;\n})(quotes || (quotes = {}));\nvar Specificity = /** @class */ (function () {\n function Specificity() {\n /** Count of identifiers (e.g., `#app`) */\n this.id = 0;\n /** Count of attributes (`[type=\"number\"]`), classes (`.container-fluid`), and pseudo-classes (`:hover`) */\n this.attr = 0;\n /** Count of tag names (`div`), and pseudo-elements (`::before`) */\n this.tag = 0;\n }\n return Specificity;\n}());\nfunction toElement(node, parentElement) {\n var result = new Element();\n for (var _i = 0, _a = node.getChildren(); _i < _a.length; _i++) {\n var child = _a[_i];\n switch (child.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinator:\n if (parentElement) {\n var segments = child.getText().split('&');\n if (segments.length === 1) {\n // should not happen\n result.addAttr('name', segments[0]);\n break;\n }\n result = parentElement.cloneWithParent();\n if (segments[0]) {\n var root = result.findRoot();\n root.prepend(segments[0]);\n }\n for (var i = 1; i < segments.length; i++) {\n if (i > 1) {\n var clone = parentElement.cloneWithParent();\n result.addChild(clone.findRoot());\n result = clone;\n }\n result.append(segments[i]);\n }\n }\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorPlaceholder:\n if (child.matches('@at-root')) {\n return result;\n }\n // fall through\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ElementNameSelector:\n var text = child.getText();\n result.addAttr('name', text === '*' ? 'element' : unescape(text));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ClassSelector:\n result.addAttr('class', unescape(child.getText().substring(1)));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.IdentifierSelector:\n result.addAttr('id', unescape(child.getText().substring(1)));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n result.addAttr('class', child.getName());\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.PseudoSelector:\n result.addAttr(unescape(child.getText()), '');\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.AttributeSelector:\n var selector = child;\n var identifier = selector.getIdentifier();\n if (identifier) {\n var expression = selector.getValue();\n var operator = selector.getOperator();\n var value = void 0;\n if (expression && operator) {\n switch (unescape(operator.getText())) {\n case '|=':\n // excatly or followed by -words\n value = quotes.remove(unescape(expression.getText())) + \"-\\u2026\";\n break;\n case '^=':\n // prefix\n value = quotes.remove(unescape(expression.getText())) + \"\\u2026\";\n break;\n case '$=':\n // suffix\n value = \"\\u2026\" + quotes.remove(unescape(expression.getText()));\n break;\n case '~=':\n // one of a list of words\n value = \" \\u2026 \" + quotes.remove(unescape(expression.getText())) + \" \\u2026 \";\n break;\n case '*=':\n // substring\n value = \"\\u2026\" + quotes.remove(unescape(expression.getText())) + \"\\u2026\";\n break;\n default:\n value = quotes.remove(unescape(expression.getText()));\n break;\n }\n }\n result.addAttr(unescape(identifier.getText()), value);\n }\n break;\n }\n }\n return result;\n}\nfunction unescape(content) {\n var scanner = new _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.Scanner();\n scanner.setSource(content);\n var token = scanner.scanUnquotedString();\n if (token) {\n return token.text;\n }\n return content;\n}\nvar SelectorPrinting = /** @class */ (function () {\n function SelectorPrinting(cssDataManager) {\n this.cssDataManager = cssDataManager;\n }\n SelectorPrinting.prototype.selectorToMarkedString = function (node) {\n var root = selectorToElement(node);\n if (root) {\n var markedStrings = new MarkedStringPrinter('\"').print(root);\n markedStrings.push(this.selectorToSpecificityMarkedString(node));\n return markedStrings;\n }\n else {\n return [];\n }\n };\n SelectorPrinting.prototype.simpleSelectorToMarkedString = function (node) {\n var element = toElement(node);\n var markedStrings = new MarkedStringPrinter('\"').print(element);\n markedStrings.push(this.selectorToSpecificityMarkedString(node));\n return markedStrings;\n };\n SelectorPrinting.prototype.isPseudoElementIdentifier = function (text) {\n var match = text.match(/^::?([\\w-]+)/);\n if (!match) {\n return false;\n }\n return !!this.cssDataManager.getPseudoElement(\"::\" + match[1]);\n };\n SelectorPrinting.prototype.selectorToSpecificityMarkedString = function (node) {\n var _this = this;\n //https://www.w3.org/TR/selectors-3/#specificity\n var calculateScore = function (node) {\n for (var _i = 0, _a = node.getChildren(); _i < _a.length; _i++) {\n var element = _a[_i];\n switch (element.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.IdentifierSelector:\n specificity.id++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ClassSelector:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.AttributeSelector:\n specificity.attr++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ElementNameSelector:\n //ignore universal selector\n if (element.matches(\"*\")) {\n break;\n }\n specificity.tag++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.PseudoSelector:\n var text = element.getText();\n if (_this.isPseudoElementIdentifier(text)) {\n specificity.tag++; // pseudo element\n }\n else {\n //ignore psuedo class NOT\n if (text.match(/^:not/i)) {\n break;\n }\n specificity.attr++; //pseudo class\n }\n break;\n }\n if (element.getChildren().length > 0) {\n calculateScore(element);\n }\n }\n };\n var specificity = new Specificity();\n calculateScore(node);\n return localize('specificity', \"[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})\", specificity.id, specificity.attr, specificity.tag);\n };\n return SelectorPrinting;\n}());\n\nvar SelectorElementBuilder = /** @class */ (function () {\n function SelectorElementBuilder(element) {\n this.prev = null;\n this.element = element;\n }\n SelectorElementBuilder.prototype.processSelector = function (selector) {\n var parentElement = null;\n if (!(this.element instanceof RootElement)) {\n if (selector.getChildren().some(function (c) { return c.hasChildren() && c.getChild(0).type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinator; })) {\n var curr = this.element.findRoot();\n if (curr.parent instanceof RootElement) {\n parentElement = this.element;\n this.element = curr.parent;\n this.element.removeChild(curr);\n this.prev = null;\n }\n }\n }\n for (var _i = 0, _a = selector.getChildren(); _i < _a.length; _i++) {\n var selectorChild = _a[_i];\n if (selectorChild instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector) {\n if (this.prev instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector) {\n var labelElement = new LabelElement('\\u2026');\n this.element.addChild(labelElement);\n this.element = labelElement;\n }\n else if (this.prev && (this.prev.matches('+') || this.prev.matches('~')) && this.element.parent) {\n this.element = this.element.parent;\n }\n if (this.prev && this.prev.matches('~')) {\n this.element.addChild(new LabelElement('\\u22EE'));\n }\n var thisElement = toElement(selectorChild, parentElement);\n var root = thisElement.findRoot();\n this.element.addChild(root);\n this.element = thisElement;\n }\n if (selectorChild instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorParent ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorShadowPiercingDescendant ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorSibling ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorAllSiblings) {\n this.prev = selectorChild;\n }\n }\n };\n return SelectorElementBuilder;\n}());\nfunction isNewSelectorContext(node) {\n switch (node.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Stylesheet:\n return true;\n }\n return false;\n}\nfunction selectorToElement(node) {\n if (node.matches('@at-root')) {\n return null;\n }\n var root = new RootElement();\n var parentRuleSets = [];\n var ruleSet = node.getParent();\n if (ruleSet instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n var parent = ruleSet.getParent(); // parent of the selector's ruleset\n while (parent && !isNewSelectorContext(parent)) {\n if (parent instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n if (parent.getSelectors().matches('@at-root')) {\n break;\n }\n parentRuleSets.push(parent);\n }\n parent = parent.getParent();\n }\n }\n var builder = new SelectorElementBuilder(root);\n for (var i = parentRuleSets.length - 1; i >= 0; i--) {\n var selector = parentRuleSets[i].getSelectors().getChild(0);\n if (selector) {\n builder.processSelector(selector);\n }\n }\n builder.processSelector(node);\n return root;\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/selectorPrinting.js?");
349
349
 
350
350
  /***/ }),
351
351
 
@@ -365,7 +365,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
365
365
  \**********************************************************************************************************/
366
366
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
367
367
 
368
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"values\": () => (/* binding */ values),\n/* harmony export */ \"isDefined\": () => (/* binding */ isDefined)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nfunction values(obj) {\n return Object.keys(obj).map(function (key) { return obj[key]; });\n}\nfunction isDefined(obj) {\n return typeof obj !== 'undefined';\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.js?");
368
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"isDefined\": () => (/* binding */ isDefined),\n/* harmony export */ \"values\": () => (/* binding */ values)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nfunction values(obj) {\n return Object.keys(obj).map(function (key) { return obj[key]; });\n}\nfunction isDefined(obj) {\n return typeof obj !== 'undefined';\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.js?");
369
369
 
370
370
  /***/ }),
371
371
 
@@ -385,7 +385,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
385
385
  \**********************************************************************************************************/
386
386
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
387
387
 
388
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"startsWith\": () => (/* binding */ startsWith),\n/* harmony export */ \"endsWith\": () => (/* binding */ endsWith),\n/* harmony export */ \"difference\": () => (/* binding */ difference),\n/* harmony export */ \"getLimitedString\": () => (/* binding */ getLimitedString),\n/* harmony export */ \"trim\": () => (/* binding */ trim)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nfunction startsWith(haystack, needle) {\n if (haystack.length < needle.length) {\n return false;\n }\n for (var i = 0; i < needle.length; i++) {\n if (haystack[i] !== needle[i]) {\n return false;\n }\n }\n return true;\n}\n/**\n * Determines if haystack ends with needle.\n */\nfunction endsWith(haystack, needle) {\n var diff = haystack.length - needle.length;\n if (diff > 0) {\n return haystack.lastIndexOf(needle) === diff;\n }\n else if (diff === 0) {\n return haystack === needle;\n }\n else {\n return false;\n }\n}\n/**\n * Computes the difference score for two strings. More similar strings have a higher score.\n * We use largest common subsequence dynamic programming approach but penalize in the end for length differences.\n * Strings that have a large length difference will get a bad default score 0.\n * Complexity - both time and space O(first.length * second.length)\n * Dynamic programming LCS computation http://en.wikipedia.org/wiki/Longest_common_subsequence_problem\n *\n * @param first a string\n * @param second a string\n */\nfunction difference(first, second, maxLenDelta) {\n if (maxLenDelta === void 0) { maxLenDelta = 4; }\n var lengthDifference = Math.abs(first.length - second.length);\n // We only compute score if length of the currentWord and length of entry.name are similar.\n if (lengthDifference > maxLenDelta) {\n return 0;\n }\n // Initialize LCS (largest common subsequence) matrix.\n var LCS = [];\n var zeroArray = [];\n var i, j;\n for (i = 0; i < second.length + 1; ++i) {\n zeroArray.push(0);\n }\n for (i = 0; i < first.length + 1; ++i) {\n LCS.push(zeroArray);\n }\n for (i = 1; i < first.length + 1; ++i) {\n for (j = 1; j < second.length + 1; ++j) {\n if (first[i - 1] === second[j - 1]) {\n LCS[i][j] = LCS[i - 1][j - 1] + 1;\n }\n else {\n LCS[i][j] = Math.max(LCS[i - 1][j], LCS[i][j - 1]);\n }\n }\n }\n return LCS[first.length][second.length] - Math.sqrt(lengthDifference);\n}\n/**\n * Limit of string length.\n */\nfunction getLimitedString(str, ellipsis) {\n if (ellipsis === void 0) { ellipsis = true; }\n if (!str) {\n return '';\n }\n if (str.length < 140) {\n return str;\n }\n return str.slice(0, 140) + (ellipsis ? '\\u2026' : '');\n}\n/**\n * Limit of string length.\n */\nfunction trim(str, regexp) {\n var m = regexp.exec(str);\n if (m && m[0].length) {\n return str.substr(0, str.length - m[0].length);\n }\n return str;\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js?");
388
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"difference\": () => (/* binding */ difference),\n/* harmony export */ \"endsWith\": () => (/* binding */ endsWith),\n/* harmony export */ \"getLimitedString\": () => (/* binding */ getLimitedString),\n/* harmony export */ \"startsWith\": () => (/* binding */ startsWith),\n/* harmony export */ \"trim\": () => (/* binding */ trim)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nfunction startsWith(haystack, needle) {\n if (haystack.length < needle.length) {\n return false;\n }\n for (var i = 0; i < needle.length; i++) {\n if (haystack[i] !== needle[i]) {\n return false;\n }\n }\n return true;\n}\n/**\n * Determines if haystack ends with needle.\n */\nfunction endsWith(haystack, needle) {\n var diff = haystack.length - needle.length;\n if (diff > 0) {\n return haystack.lastIndexOf(needle) === diff;\n }\n else if (diff === 0) {\n return haystack === needle;\n }\n else {\n return false;\n }\n}\n/**\n * Computes the difference score for two strings. More similar strings have a higher score.\n * We use largest common subsequence dynamic programming approach but penalize in the end for length differences.\n * Strings that have a large length difference will get a bad default score 0.\n * Complexity - both time and space O(first.length * second.length)\n * Dynamic programming LCS computation http://en.wikipedia.org/wiki/Longest_common_subsequence_problem\n *\n * @param first a string\n * @param second a string\n */\nfunction difference(first, second, maxLenDelta) {\n if (maxLenDelta === void 0) { maxLenDelta = 4; }\n var lengthDifference = Math.abs(first.length - second.length);\n // We only compute score if length of the currentWord and length of entry.name are similar.\n if (lengthDifference > maxLenDelta) {\n return 0;\n }\n // Initialize LCS (largest common subsequence) matrix.\n var LCS = [];\n var zeroArray = [];\n var i, j;\n for (i = 0; i < second.length + 1; ++i) {\n zeroArray.push(0);\n }\n for (i = 0; i < first.length + 1; ++i) {\n LCS.push(zeroArray);\n }\n for (i = 1; i < first.length + 1; ++i) {\n for (j = 1; j < second.length + 1; ++j) {\n if (first[i - 1] === second[j - 1]) {\n LCS[i][j] = LCS[i - 1][j - 1] + 1;\n }\n else {\n LCS[i][j] = Math.max(LCS[i - 1][j], LCS[i][j - 1]);\n }\n }\n }\n return LCS[first.length][second.length] - Math.sqrt(lengthDifference);\n}\n/**\n * Limit of string length.\n */\nfunction getLimitedString(str, ellipsis) {\n if (ellipsis === void 0) { ellipsis = true; }\n if (!str) {\n return '';\n }\n if (str.length < 140) {\n return str;\n }\n return str.slice(0, 140) + (ellipsis ? '\\u2026' : '');\n}\n/**\n * Limit of string length.\n */\nfunction trim(str, regexp) {\n var m = regexp.exec(str);\n if (m && m[0].length) {\n return str.substr(0, str.length - m[0].length);\n }\n return str;\n}\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js?");
389
389
 
390
390
  /***/ }),
391
391
 
@@ -405,7 +405,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
405
405
  \**************************************************************************************************/
406
406
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
407
407
 
408
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"integer\": () => (/* binding */ integer),\n/* harmony export */ \"uinteger\": () => (/* binding */ uinteger),\n/* harmony export */ \"Position\": () => (/* binding */ Position),\n/* harmony export */ \"Range\": () => (/* binding */ Range),\n/* harmony export */ \"Location\": () => (/* binding */ Location),\n/* harmony export */ \"LocationLink\": () => (/* binding */ LocationLink),\n/* harmony export */ \"Color\": () => (/* binding */ Color),\n/* harmony export */ \"ColorInformation\": () => (/* binding */ ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* binding */ ColorPresentation),\n/* harmony export */ \"FoldingRangeKind\": () => (/* binding */ FoldingRangeKind),\n/* harmony export */ \"FoldingRange\": () => (/* binding */ FoldingRange),\n/* harmony export */ \"DiagnosticRelatedInformation\": () => (/* binding */ DiagnosticRelatedInformation),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* binding */ DiagnosticSeverity),\n/* harmony export */ \"DiagnosticTag\": () => (/* binding */ DiagnosticTag),\n/* harmony export */ \"CodeDescription\": () => (/* binding */ CodeDescription),\n/* harmony export */ \"Diagnostic\": () => (/* binding */ Diagnostic),\n/* harmony export */ \"Command\": () => (/* binding */ Command),\n/* harmony export */ \"TextEdit\": () => (/* binding */ TextEdit),\n/* harmony export */ \"ChangeAnnotation\": () => (/* binding */ ChangeAnnotation),\n/* harmony export */ \"ChangeAnnotationIdentifier\": () => (/* binding */ ChangeAnnotationIdentifier),\n/* harmony export */ \"AnnotatedTextEdit\": () => (/* binding */ AnnotatedTextEdit),\n/* harmony export */ \"TextDocumentEdit\": () => (/* binding */ TextDocumentEdit),\n/* harmony export */ \"CreateFile\": () => (/* binding */ CreateFile),\n/* harmony export */ \"RenameFile\": () => (/* binding */ RenameFile),\n/* harmony export */ \"DeleteFile\": () => (/* binding */ DeleteFile),\n/* harmony export */ \"WorkspaceEdit\": () => (/* binding */ WorkspaceEdit),\n/* harmony export */ \"WorkspaceChange\": () => (/* binding */ WorkspaceChange),\n/* harmony export */ \"TextDocumentIdentifier\": () => (/* binding */ TextDocumentIdentifier),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* binding */ VersionedTextDocumentIdentifier),\n/* harmony export */ \"OptionalVersionedTextDocumentIdentifier\": () => (/* binding */ OptionalVersionedTextDocumentIdentifier),\n/* harmony export */ \"TextDocumentItem\": () => (/* binding */ TextDocumentItem),\n/* harmony export */ \"MarkupKind\": () => (/* binding */ MarkupKind),\n/* harmony export */ \"MarkupContent\": () => (/* binding */ MarkupContent),\n/* harmony export */ \"CompletionItemKind\": () => (/* binding */ CompletionItemKind),\n/* harmony export */ \"InsertTextFormat\": () => (/* binding */ InsertTextFormat),\n/* harmony export */ \"CompletionItemTag\": () => (/* binding */ CompletionItemTag),\n/* harmony export */ \"InsertReplaceEdit\": () => (/* binding */ InsertReplaceEdit),\n/* harmony export */ \"InsertTextMode\": () => (/* binding */ InsertTextMode),\n/* harmony export */ \"CompletionItem\": () => (/* binding */ CompletionItem),\n/* harmony export */ \"CompletionList\": () => (/* binding */ CompletionList),\n/* harmony export */ \"MarkedString\": () => (/* binding */ MarkedString),\n/* harmony export */ \"Hover\": () => (/* binding */ Hover),\n/* harmony export */ \"ParameterInformation\": () => (/* binding */ ParameterInformation),\n/* harmony export */ \"SignatureInformation\": () => (/* binding */ SignatureInformation),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* binding */ DocumentHighlightKind),\n/* harmony export */ \"DocumentHighlight\": () => (/* binding */ DocumentHighlight),\n/* harmony export */ \"SymbolKind\": () => (/* binding */ SymbolKind),\n/* harmony export */ \"SymbolTag\": () => (/* binding */ SymbolTag),\n/* harmony export */ \"SymbolInformation\": () => (/* binding */ SymbolInformation),\n/* harmony export */ \"DocumentSymbol\": () => (/* binding */ DocumentSymbol),\n/* harmony export */ \"CodeActionKind\": () => (/* binding */ CodeActionKind),\n/* harmony export */ \"CodeActionContext\": () => (/* binding */ CodeActionContext),\n/* harmony export */ \"CodeAction\": () => (/* binding */ CodeAction),\n/* harmony export */ \"CodeLens\": () => (/* binding */ CodeLens),\n/* harmony export */ \"FormattingOptions\": () => (/* binding */ FormattingOptions),\n/* harmony export */ \"DocumentLink\": () => (/* binding */ DocumentLink),\n/* harmony export */ \"SelectionRange\": () => (/* binding */ SelectionRange),\n/* harmony export */ \"EOL\": () => (/* binding */ EOL),\n/* harmony export */ \"TextDocument\": () => (/* binding */ TextDocument)\n/* harmony export */ });\n/* --------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n * ------------------------------------------------------------------------------------------ */\n\nvar integer;\n(function (integer) {\n integer.MIN_VALUE = -2147483648;\n integer.MAX_VALUE = 2147483647;\n})(integer || (integer = {}));\nvar uinteger;\n(function (uinteger) {\n uinteger.MIN_VALUE = 0;\n uinteger.MAX_VALUE = 2147483647;\n})(uinteger || (uinteger = {}));\n/**\n * The Position namespace provides helper functions to work with\n * [Position](#Position) literals.\n */\nvar Position;\n(function (Position) {\n /**\n * Creates a new Position literal from the given line and character.\n * @param line The position's line.\n * @param character The position's character.\n */\n function create(line, character) {\n if (line === Number.MAX_VALUE) {\n line = uinteger.MAX_VALUE;\n }\n if (character === Number.MAX_VALUE) {\n character = uinteger.MAX_VALUE;\n }\n return { line: line, character: character };\n }\n Position.create = create;\n /**\n * Checks whether the given literal conforms to the [Position](#Position) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character);\n }\n Position.is = is;\n})(Position || (Position = {}));\n/**\n * The Range namespace provides helper functions to work with\n * [Range](#Range) literals.\n */\nvar Range;\n(function (Range) {\n function create(one, two, three, four) {\n if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) {\n return { start: Position.create(one, two), end: Position.create(three, four) };\n }\n else if (Position.is(one) && Position.is(two)) {\n return { start: one, end: two };\n }\n else {\n throw new Error(\"Range#create called with invalid arguments[\" + one + \", \" + two + \", \" + three + \", \" + four + \"]\");\n }\n }\n Range.create = create;\n /**\n * Checks whether the given literal conforms to the [Range](#Range) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate) && Position.is(candidate.start) && Position.is(candidate.end);\n }\n Range.is = is;\n})(Range || (Range = {}));\n/**\n * The Location namespace provides helper functions to work with\n * [Location](#Location) literals.\n */\nvar Location;\n(function (Location) {\n /**\n * Creates a Location literal.\n * @param uri The location's uri.\n * @param range The location's range.\n */\n function create(uri, range) {\n return { uri: uri, range: range };\n }\n Location.create = create;\n /**\n * Checks whether the given literal conforms to the [Location](#Location) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));\n }\n Location.is = is;\n})(Location || (Location = {}));\n/**\n * The LocationLink namespace provides helper functions to work with\n * [LocationLink](#LocationLink) literals.\n */\nvar LocationLink;\n(function (LocationLink) {\n /**\n * Creates a LocationLink literal.\n * @param targetUri The definition's uri.\n * @param targetRange The full range of the definition.\n * @param targetSelectionRange The span of the symbol definition at the target.\n * @param originSelectionRange The span of the symbol being defined in the originating source file.\n */\n function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) {\n return { targetUri: targetUri, targetRange: targetRange, targetSelectionRange: targetSelectionRange, originSelectionRange: originSelectionRange };\n }\n LocationLink.create = create;\n /**\n * Checks whether the given literal conforms to the [LocationLink](#LocationLink) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.targetRange) && Is.string(candidate.targetUri)\n && (Range.is(candidate.targetSelectionRange) || Is.undefined(candidate.targetSelectionRange))\n && (Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));\n }\n LocationLink.is = is;\n})(LocationLink || (LocationLink = {}));\n/**\n * The Color namespace provides helper functions to work with\n * [Color](#Color) literals.\n */\nvar Color;\n(function (Color) {\n /**\n * Creates a new Color literal.\n */\n function create(red, green, blue, alpha) {\n return {\n red: red,\n green: green,\n blue: blue,\n alpha: alpha,\n };\n }\n Color.create = create;\n /**\n * Checks whether the given literal conforms to the [Color](#Color) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.numberRange(candidate.red, 0, 1)\n && Is.numberRange(candidate.green, 0, 1)\n && Is.numberRange(candidate.blue, 0, 1)\n && Is.numberRange(candidate.alpha, 0, 1);\n }\n Color.is = is;\n})(Color || (Color = {}));\n/**\n * The ColorInformation namespace provides helper functions to work with\n * [ColorInformation](#ColorInformation) literals.\n */\nvar ColorInformation;\n(function (ColorInformation) {\n /**\n * Creates a new ColorInformation literal.\n */\n function create(range, color) {\n return {\n range: range,\n color: color,\n };\n }\n ColorInformation.create = create;\n /**\n * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Range.is(candidate.range) && Color.is(candidate.color);\n }\n ColorInformation.is = is;\n})(ColorInformation || (ColorInformation = {}));\n/**\n * The Color namespace provides helper functions to work with\n * [ColorPresentation](#ColorPresentation) literals.\n */\nvar ColorPresentation;\n(function (ColorPresentation) {\n /**\n * Creates a new ColorInformation literal.\n */\n function create(label, textEdit, additionalTextEdits) {\n return {\n label: label,\n textEdit: textEdit,\n additionalTextEdits: additionalTextEdits,\n };\n }\n ColorPresentation.create = create;\n /**\n * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.string(candidate.label)\n && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate))\n && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));\n }\n ColorPresentation.is = is;\n})(ColorPresentation || (ColorPresentation = {}));\n/**\n * Enum of known range kinds\n */\nvar FoldingRangeKind;\n(function (FoldingRangeKind) {\n /**\n * Folding range for a comment\n */\n FoldingRangeKind[\"Comment\"] = \"comment\";\n /**\n * Folding range for a imports or includes\n */\n FoldingRangeKind[\"Imports\"] = \"imports\";\n /**\n * Folding range for a region (e.g. `#region`)\n */\n FoldingRangeKind[\"Region\"] = \"region\";\n})(FoldingRangeKind || (FoldingRangeKind = {}));\n/**\n * The folding range namespace provides helper functions to work with\n * [FoldingRange](#FoldingRange) literals.\n */\nvar FoldingRange;\n(function (FoldingRange) {\n /**\n * Creates a new FoldingRange literal.\n */\n function create(startLine, endLine, startCharacter, endCharacter, kind) {\n var result = {\n startLine: startLine,\n endLine: endLine\n };\n if (Is.defined(startCharacter)) {\n result.startCharacter = startCharacter;\n }\n if (Is.defined(endCharacter)) {\n result.endCharacter = endCharacter;\n }\n if (Is.defined(kind)) {\n result.kind = kind;\n }\n return result;\n }\n FoldingRange.create = create;\n /**\n * Checks whether the given literal conforms to the [FoldingRange](#FoldingRange) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine)\n && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter))\n && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter))\n && (Is.undefined(candidate.kind) || Is.string(candidate.kind));\n }\n FoldingRange.is = is;\n})(FoldingRange || (FoldingRange = {}));\n/**\n * The DiagnosticRelatedInformation namespace provides helper functions to work with\n * [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) literals.\n */\nvar DiagnosticRelatedInformation;\n(function (DiagnosticRelatedInformation) {\n /**\n * Creates a new DiagnosticRelatedInformation literal.\n */\n function create(location, message) {\n return {\n location: location,\n message: message\n };\n }\n DiagnosticRelatedInformation.create = create;\n /**\n * Checks whether the given literal conforms to the [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message);\n }\n DiagnosticRelatedInformation.is = is;\n})(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {}));\n/**\n * The diagnostic's severity.\n */\nvar DiagnosticSeverity;\n(function (DiagnosticSeverity) {\n /**\n * Reports an error.\n */\n DiagnosticSeverity.Error = 1;\n /**\n * Reports a warning.\n */\n DiagnosticSeverity.Warning = 2;\n /**\n * Reports an information.\n */\n DiagnosticSeverity.Information = 3;\n /**\n * Reports a hint.\n */\n DiagnosticSeverity.Hint = 4;\n})(DiagnosticSeverity || (DiagnosticSeverity = {}));\n/**\n * The diagnostic tags.\n *\n * @since 3.15.0\n */\nvar DiagnosticTag;\n(function (DiagnosticTag) {\n /**\n * Unused or unnecessary code.\n *\n * Clients are allowed to render diagnostics with this tag faded out instead of having\n * an error squiggle.\n */\n DiagnosticTag.Unnecessary = 1;\n /**\n * Deprecated or obsolete code.\n *\n * Clients are allowed to rendered diagnostics with this tag strike through.\n */\n DiagnosticTag.Deprecated = 2;\n})(DiagnosticTag || (DiagnosticTag = {}));\n/**\n * The CodeDescription namespace provides functions to deal with descriptions for diagnostic codes.\n *\n * @since 3.16.0\n */\nvar CodeDescription;\n(function (CodeDescription) {\n function is(value) {\n var candidate = value;\n return candidate !== undefined && candidate !== null && Is.string(candidate.href);\n }\n CodeDescription.is = is;\n})(CodeDescription || (CodeDescription = {}));\n/**\n * The Diagnostic namespace provides helper functions to work with\n * [Diagnostic](#Diagnostic) literals.\n */\nvar Diagnostic;\n(function (Diagnostic) {\n /**\n * Creates a new Diagnostic literal.\n */\n function create(range, message, severity, code, source, relatedInformation) {\n var result = { range: range, message: message };\n if (Is.defined(severity)) {\n result.severity = severity;\n }\n if (Is.defined(code)) {\n result.code = code;\n }\n if (Is.defined(source)) {\n result.source = source;\n }\n if (Is.defined(relatedInformation)) {\n result.relatedInformation = relatedInformation;\n }\n return result;\n }\n Diagnostic.create = create;\n /**\n * Checks whether the given literal conforms to the [Diagnostic](#Diagnostic) interface.\n */\n function is(value) {\n var _a;\n var candidate = value;\n return Is.defined(candidate)\n && Range.is(candidate.range)\n && Is.string(candidate.message)\n && (Is.number(candidate.severity) || Is.undefined(candidate.severity))\n && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code))\n && (Is.undefined(candidate.codeDescription) || (Is.string((_a = candidate.codeDescription) === null || _a === void 0 ? void 0 : _a.href)))\n && (Is.string(candidate.source) || Is.undefined(candidate.source))\n && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is));\n }\n Diagnostic.is = is;\n})(Diagnostic || (Diagnostic = {}));\n/**\n * The Command namespace provides helper functions to work with\n * [Command](#Command) literals.\n */\nvar Command;\n(function (Command) {\n /**\n * Creates a new Command literal.\n */\n function create(title, command) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var result = { title: title, command: command };\n if (Is.defined(args) && args.length > 0) {\n result.arguments = args;\n }\n return result;\n }\n Command.create = create;\n /**\n * Checks whether the given literal conforms to the [Command](#Command) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command);\n }\n Command.is = is;\n})(Command || (Command = {}));\n/**\n * The TextEdit namespace provides helper function to create replace,\n * insert and delete edits more easily.\n */\nvar TextEdit;\n(function (TextEdit) {\n /**\n * Creates a replace text edit.\n * @param range The range of text to be replaced.\n * @param newText The new text.\n */\n function replace(range, newText) {\n return { range: range, newText: newText };\n }\n TextEdit.replace = replace;\n /**\n * Creates a insert text edit.\n * @param position The position to insert the text at.\n * @param newText The text to be inserted.\n */\n function insert(position, newText) {\n return { range: { start: position, end: position }, newText: newText };\n }\n TextEdit.insert = insert;\n /**\n * Creates a delete text edit.\n * @param range The range of text to be deleted.\n */\n function del(range) {\n return { range: range, newText: '' };\n }\n TextEdit.del = del;\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate)\n && Is.string(candidate.newText)\n && Range.is(candidate.range);\n }\n TextEdit.is = is;\n})(TextEdit || (TextEdit = {}));\nvar ChangeAnnotation;\n(function (ChangeAnnotation) {\n function create(label, needsConfirmation, description) {\n var result = { label: label };\n if (needsConfirmation !== undefined) {\n result.needsConfirmation = needsConfirmation;\n }\n if (description !== undefined) {\n result.description = description;\n }\n return result;\n }\n ChangeAnnotation.create = create;\n function is(value) {\n var candidate = value;\n return candidate !== undefined && Is.objectLiteral(candidate) && Is.string(candidate.label) &&\n (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === undefined) &&\n (Is.string(candidate.description) || candidate.description === undefined);\n }\n ChangeAnnotation.is = is;\n})(ChangeAnnotation || (ChangeAnnotation = {}));\nvar ChangeAnnotationIdentifier;\n(function (ChangeAnnotationIdentifier) {\n function is(value) {\n var candidate = value;\n return typeof candidate === 'string';\n }\n ChangeAnnotationIdentifier.is = is;\n})(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {}));\nvar AnnotatedTextEdit;\n(function (AnnotatedTextEdit) {\n /**\n * Creates an annotated replace text edit.\n *\n * @param range The range of text to be replaced.\n * @param newText The new text.\n * @param annotation The annotation.\n */\n function replace(range, newText, annotation) {\n return { range: range, newText: newText, annotationId: annotation };\n }\n AnnotatedTextEdit.replace = replace;\n /**\n * Creates an annotated insert text edit.\n *\n * @param position The position to insert the text at.\n * @param newText The text to be inserted.\n * @param annotation The annotation.\n */\n function insert(position, newText, annotation) {\n return { range: { start: position, end: position }, newText: newText, annotationId: annotation };\n }\n AnnotatedTextEdit.insert = insert;\n /**\n * Creates an annotated delete text edit.\n *\n * @param range The range of text to be deleted.\n * @param annotation The annotation.\n */\n function del(range, annotation) {\n return { range: range, newText: '', annotationId: annotation };\n }\n AnnotatedTextEdit.del = del;\n function is(value) {\n var candidate = value;\n return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n AnnotatedTextEdit.is = is;\n})(AnnotatedTextEdit || (AnnotatedTextEdit = {}));\n/**\n * The TextDocumentEdit namespace provides helper function to create\n * an edit that manipulates a text document.\n */\nvar TextDocumentEdit;\n(function (TextDocumentEdit) {\n /**\n * Creates a new `TextDocumentEdit`\n */\n function create(textDocument, edits) {\n return { textDocument: textDocument, edits: edits };\n }\n TextDocumentEdit.create = create;\n function is(value) {\n var candidate = value;\n return Is.defined(candidate)\n && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument)\n && Array.isArray(candidate.edits);\n }\n TextDocumentEdit.is = is;\n})(TextDocumentEdit || (TextDocumentEdit = {}));\nvar CreateFile;\n(function (CreateFile) {\n function create(uri, options, annotation) {\n var result = {\n kind: 'create',\n uri: uri\n };\n if (options !== undefined && (options.overwrite !== undefined || options.ignoreIfExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n CreateFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'create' && Is.string(candidate.uri) && (candidate.options === undefined ||\n ((candidate.options.overwrite === undefined || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === undefined || Is.boolean(candidate.options.ignoreIfExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n CreateFile.is = is;\n})(CreateFile || (CreateFile = {}));\nvar RenameFile;\n(function (RenameFile) {\n function create(oldUri, newUri, options, annotation) {\n var result = {\n kind: 'rename',\n oldUri: oldUri,\n newUri: newUri\n };\n if (options !== undefined && (options.overwrite !== undefined || options.ignoreIfExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n RenameFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'rename' && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === undefined ||\n ((candidate.options.overwrite === undefined || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === undefined || Is.boolean(candidate.options.ignoreIfExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n RenameFile.is = is;\n})(RenameFile || (RenameFile = {}));\nvar DeleteFile;\n(function (DeleteFile) {\n function create(uri, options, annotation) {\n var result = {\n kind: 'delete',\n uri: uri\n };\n if (options !== undefined && (options.recursive !== undefined || options.ignoreIfNotExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n DeleteFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'delete' && Is.string(candidate.uri) && (candidate.options === undefined ||\n ((candidate.options.recursive === undefined || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === undefined || Is.boolean(candidate.options.ignoreIfNotExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n DeleteFile.is = is;\n})(DeleteFile || (DeleteFile = {}));\nvar WorkspaceEdit;\n(function (WorkspaceEdit) {\n function is(value) {\n var candidate = value;\n return candidate &&\n (candidate.changes !== undefined || candidate.documentChanges !== undefined) &&\n (candidate.documentChanges === undefined || candidate.documentChanges.every(function (change) {\n if (Is.string(change.kind)) {\n return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change);\n }\n else {\n return TextDocumentEdit.is(change);\n }\n }));\n }\n WorkspaceEdit.is = is;\n})(WorkspaceEdit || (WorkspaceEdit = {}));\nvar TextEditChangeImpl = /** @class */ (function () {\n function TextEditChangeImpl(edits, changeAnnotations) {\n this.edits = edits;\n this.changeAnnotations = changeAnnotations;\n }\n TextEditChangeImpl.prototype.insert = function (position, newText, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.insert(position, newText);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.insert(position, newText, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.insert(position, newText, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.replace = function (range, newText, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.replace(range, newText);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.replace(range, newText, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.replace(range, newText, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.delete = function (range, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.del(range);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.del(range, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.del(range, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.add = function (edit) {\n this.edits.push(edit);\n };\n TextEditChangeImpl.prototype.all = function () {\n return this.edits;\n };\n TextEditChangeImpl.prototype.clear = function () {\n this.edits.splice(0, this.edits.length);\n };\n TextEditChangeImpl.prototype.assertChangeAnnotations = function (value) {\n if (value === undefined) {\n throw new Error(\"Text edit change is not configured to manage change annotations.\");\n }\n };\n return TextEditChangeImpl;\n}());\n/**\n * A helper class\n */\nvar ChangeAnnotations = /** @class */ (function () {\n function ChangeAnnotations(annotations) {\n this._annotations = annotations === undefined ? Object.create(null) : annotations;\n this._counter = 0;\n this._size = 0;\n }\n ChangeAnnotations.prototype.all = function () {\n return this._annotations;\n };\n Object.defineProperty(ChangeAnnotations.prototype, \"size\", {\n get: function () {\n return this._size;\n },\n enumerable: false,\n configurable: true\n });\n ChangeAnnotations.prototype.manage = function (idOrAnnotation, annotation) {\n var id;\n if (ChangeAnnotationIdentifier.is(idOrAnnotation)) {\n id = idOrAnnotation;\n }\n else {\n id = this.nextId();\n annotation = idOrAnnotation;\n }\n if (this._annotations[id] !== undefined) {\n throw new Error(\"Id \" + id + \" is already in use.\");\n }\n if (annotation === undefined) {\n throw new Error(\"No annotation provided for id \" + id);\n }\n this._annotations[id] = annotation;\n this._size++;\n return id;\n };\n ChangeAnnotations.prototype.nextId = function () {\n this._counter++;\n return this._counter.toString();\n };\n return ChangeAnnotations;\n}());\n/**\n * A workspace change helps constructing changes to a workspace.\n */\nvar WorkspaceChange = /** @class */ (function () {\n function WorkspaceChange(workspaceEdit) {\n var _this = this;\n this._textEditChanges = Object.create(null);\n if (workspaceEdit !== undefined) {\n this._workspaceEdit = workspaceEdit;\n if (workspaceEdit.documentChanges) {\n this._changeAnnotations = new ChangeAnnotations(workspaceEdit.changeAnnotations);\n workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n workspaceEdit.documentChanges.forEach(function (change) {\n if (TextDocumentEdit.is(change)) {\n var textEditChange = new TextEditChangeImpl(change.edits, _this._changeAnnotations);\n _this._textEditChanges[change.textDocument.uri] = textEditChange;\n }\n });\n }\n else if (workspaceEdit.changes) {\n Object.keys(workspaceEdit.changes).forEach(function (key) {\n var textEditChange = new TextEditChangeImpl(workspaceEdit.changes[key]);\n _this._textEditChanges[key] = textEditChange;\n });\n }\n }\n else {\n this._workspaceEdit = {};\n }\n }\n Object.defineProperty(WorkspaceChange.prototype, \"edit\", {\n /**\n * Returns the underlying [WorkspaceEdit](#WorkspaceEdit) literal\n * use to be returned from a workspace edit operation like rename.\n */\n get: function () {\n this.initDocumentChanges();\n if (this._changeAnnotations !== undefined) {\n if (this._changeAnnotations.size === 0) {\n this._workspaceEdit.changeAnnotations = undefined;\n }\n else {\n this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n }\n }\n return this._workspaceEdit;\n },\n enumerable: false,\n configurable: true\n });\n WorkspaceChange.prototype.getTextEditChange = function (key) {\n if (OptionalVersionedTextDocumentIdentifier.is(key)) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var textDocument = { uri: key.uri, version: key.version };\n var result = this._textEditChanges[textDocument.uri];\n if (!result) {\n var edits = [];\n var textDocumentEdit = {\n textDocument: textDocument,\n edits: edits\n };\n this._workspaceEdit.documentChanges.push(textDocumentEdit);\n result = new TextEditChangeImpl(edits, this._changeAnnotations);\n this._textEditChanges[textDocument.uri] = result;\n }\n return result;\n }\n else {\n this.initChanges();\n if (this._workspaceEdit.changes === undefined) {\n throw new Error('Workspace edit is not configured for normal text edit changes.');\n }\n var result = this._textEditChanges[key];\n if (!result) {\n var edits = [];\n this._workspaceEdit.changes[key] = edits;\n result = new TextEditChangeImpl(edits);\n this._textEditChanges[key] = result;\n }\n return result;\n }\n };\n WorkspaceChange.prototype.initDocumentChanges = function () {\n if (this._workspaceEdit.documentChanges === undefined && this._workspaceEdit.changes === undefined) {\n this._changeAnnotations = new ChangeAnnotations();\n this._workspaceEdit.documentChanges = [];\n this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n }\n };\n WorkspaceChange.prototype.initChanges = function () {\n if (this._workspaceEdit.documentChanges === undefined && this._workspaceEdit.changes === undefined) {\n this._workspaceEdit.changes = Object.create(null);\n }\n };\n WorkspaceChange.prototype.createFile = function (uri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = CreateFile.create(uri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = CreateFile.create(uri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n WorkspaceChange.prototype.renameFile = function (oldUri, newUri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = RenameFile.create(oldUri, newUri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = RenameFile.create(oldUri, newUri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n WorkspaceChange.prototype.deleteFile = function (uri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = DeleteFile.create(uri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = DeleteFile.create(uri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n return WorkspaceChange;\n}());\n\n/**\n * The TextDocumentIdentifier namespace provides helper functions to work with\n * [TextDocumentIdentifier](#TextDocumentIdentifier) literals.\n */\nvar TextDocumentIdentifier;\n(function (TextDocumentIdentifier) {\n /**\n * Creates a new TextDocumentIdentifier literal.\n * @param uri The document's uri.\n */\n function create(uri) {\n return { uri: uri };\n }\n TextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [TextDocumentIdentifier](#TextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri);\n }\n TextDocumentIdentifier.is = is;\n})(TextDocumentIdentifier || (TextDocumentIdentifier = {}));\n/**\n * The VersionedTextDocumentIdentifier namespace provides helper functions to work with\n * [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) literals.\n */\nvar VersionedTextDocumentIdentifier;\n(function (VersionedTextDocumentIdentifier) {\n /**\n * Creates a new VersionedTextDocumentIdentifier literal.\n * @param uri The document's uri.\n * @param uri The document's text.\n */\n function create(uri, version) {\n return { uri: uri, version: version };\n }\n VersionedTextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version);\n }\n VersionedTextDocumentIdentifier.is = is;\n})(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));\n/**\n * The OptionalVersionedTextDocumentIdentifier namespace provides helper functions to work with\n * [OptionalVersionedTextDocumentIdentifier](#OptionalVersionedTextDocumentIdentifier) literals.\n */\nvar OptionalVersionedTextDocumentIdentifier;\n(function (OptionalVersionedTextDocumentIdentifier) {\n /**\n * Creates a new OptionalVersionedTextDocumentIdentifier literal.\n * @param uri The document's uri.\n * @param uri The document's text.\n */\n function create(uri, version) {\n return { uri: uri, version: version };\n }\n OptionalVersionedTextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [OptionalVersionedTextDocumentIdentifier](#OptionalVersionedTextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version));\n }\n OptionalVersionedTextDocumentIdentifier.is = is;\n})(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));\n/**\n * The TextDocumentItem namespace provides helper functions to work with\n * [TextDocumentItem](#TextDocumentItem) literals.\n */\nvar TextDocumentItem;\n(function (TextDocumentItem) {\n /**\n * Creates a new TextDocumentItem literal.\n * @param uri The document's uri.\n * @param languageId The document's language identifier.\n * @param version The document's version number.\n * @param text The document's text.\n */\n function create(uri, languageId, version, text) {\n return { uri: uri, languageId: languageId, version: version, text: text };\n }\n TextDocumentItem.create = create;\n /**\n * Checks whether the given literal conforms to the [TextDocumentItem](#TextDocumentItem) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text);\n }\n TextDocumentItem.is = is;\n})(TextDocumentItem || (TextDocumentItem = {}));\n/**\n * Describes the content type that a client supports in various\n * result literals like `Hover`, `ParameterInfo` or `CompletionItem`.\n *\n * Please note that `MarkupKinds` must not start with a `$`. This kinds\n * are reserved for internal usage.\n */\nvar MarkupKind;\n(function (MarkupKind) {\n /**\n * Plain text is supported as a content format\n */\n MarkupKind.PlainText = 'plaintext';\n /**\n * Markdown is supported as a content format\n */\n MarkupKind.Markdown = 'markdown';\n})(MarkupKind || (MarkupKind = {}));\n(function (MarkupKind) {\n /**\n * Checks whether the given value is a value of the [MarkupKind](#MarkupKind) type.\n */\n function is(value) {\n var candidate = value;\n return candidate === MarkupKind.PlainText || candidate === MarkupKind.Markdown;\n }\n MarkupKind.is = is;\n})(MarkupKind || (MarkupKind = {}));\nvar MarkupContent;\n(function (MarkupContent) {\n /**\n * Checks whether the given value conforms to the [MarkupContent](#MarkupContent) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value);\n }\n MarkupContent.is = is;\n})(MarkupContent || (MarkupContent = {}));\n/**\n * The kind of a completion entry.\n */\nvar CompletionItemKind;\n(function (CompletionItemKind) {\n CompletionItemKind.Text = 1;\n CompletionItemKind.Method = 2;\n CompletionItemKind.Function = 3;\n CompletionItemKind.Constructor = 4;\n CompletionItemKind.Field = 5;\n CompletionItemKind.Variable = 6;\n CompletionItemKind.Class = 7;\n CompletionItemKind.Interface = 8;\n CompletionItemKind.Module = 9;\n CompletionItemKind.Property = 10;\n CompletionItemKind.Unit = 11;\n CompletionItemKind.Value = 12;\n CompletionItemKind.Enum = 13;\n CompletionItemKind.Keyword = 14;\n CompletionItemKind.Snippet = 15;\n CompletionItemKind.Color = 16;\n CompletionItemKind.File = 17;\n CompletionItemKind.Reference = 18;\n CompletionItemKind.Folder = 19;\n CompletionItemKind.EnumMember = 20;\n CompletionItemKind.Constant = 21;\n CompletionItemKind.Struct = 22;\n CompletionItemKind.Event = 23;\n CompletionItemKind.Operator = 24;\n CompletionItemKind.TypeParameter = 25;\n})(CompletionItemKind || (CompletionItemKind = {}));\n/**\n * Defines whether the insert text in a completion item should be interpreted as\n * plain text or a snippet.\n */\nvar InsertTextFormat;\n(function (InsertTextFormat) {\n /**\n * The primary text to be inserted is treated as a plain string.\n */\n InsertTextFormat.PlainText = 1;\n /**\n * The primary text to be inserted is treated as a snippet.\n *\n * A snippet can define tab stops and placeholders with `$1`, `$2`\n * and `${3:foo}`. `$0` defines the final tab stop, it defaults to\n * the end of the snippet. Placeholders with equal identifiers are linked,\n * that is typing in one will update others too.\n *\n * See also: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#snippet_syntax\n */\n InsertTextFormat.Snippet = 2;\n})(InsertTextFormat || (InsertTextFormat = {}));\n/**\n * Completion item tags are extra annotations that tweak the rendering of a completion\n * item.\n *\n * @since 3.15.0\n */\nvar CompletionItemTag;\n(function (CompletionItemTag) {\n /**\n * Render a completion as obsolete, usually using a strike-out.\n */\n CompletionItemTag.Deprecated = 1;\n})(CompletionItemTag || (CompletionItemTag = {}));\n/**\n * The InsertReplaceEdit namespace provides functions to deal with insert / replace edits.\n *\n * @since 3.16.0\n */\nvar InsertReplaceEdit;\n(function (InsertReplaceEdit) {\n /**\n * Creates a new insert / replace edit\n */\n function create(newText, insert, replace) {\n return { newText: newText, insert: insert, replace: replace };\n }\n InsertReplaceEdit.create = create;\n /**\n * Checks whether the given literal conforms to the [InsertReplaceEdit](#InsertReplaceEdit) interface.\n */\n function is(value) {\n var candidate = value;\n return candidate && Is.string(candidate.newText) && Range.is(candidate.insert) && Range.is(candidate.replace);\n }\n InsertReplaceEdit.is = is;\n})(InsertReplaceEdit || (InsertReplaceEdit = {}));\n/**\n * How whitespace and indentation is handled during completion\n * item insertion.\n *\n * @since 3.16.0\n */\nvar InsertTextMode;\n(function (InsertTextMode) {\n /**\n * The insertion or replace strings is taken as it is. If the\n * value is multi line the lines below the cursor will be\n * inserted using the indentation defined in the string value.\n * The client will not apply any kind of adjustments to the\n * string.\n */\n InsertTextMode.asIs = 1;\n /**\n * The editor adjusts leading whitespace of new lines so that\n * they match the indentation up to the cursor of the line for\n * which the item is accepted.\n *\n * Consider a line like this: <2tabs><cursor><3tabs>foo. Accepting a\n * multi line completion item is indented using 2 tabs and all\n * following lines inserted will be indented using 2 tabs as well.\n */\n InsertTextMode.adjustIndentation = 2;\n})(InsertTextMode || (InsertTextMode = {}));\n/**\n * The CompletionItem namespace provides functions to deal with\n * completion items.\n */\nvar CompletionItem;\n(function (CompletionItem) {\n /**\n * Create a completion item and seed it with a label.\n * @param label The completion item's label\n */\n function create(label) {\n return { label: label };\n }\n CompletionItem.create = create;\n})(CompletionItem || (CompletionItem = {}));\n/**\n * The CompletionList namespace provides functions to deal with\n * completion lists.\n */\nvar CompletionList;\n(function (CompletionList) {\n /**\n * Creates a new completion list.\n *\n * @param items The completion items.\n * @param isIncomplete The list is not complete.\n */\n function create(items, isIncomplete) {\n return { items: items ? items : [], isIncomplete: !!isIncomplete };\n }\n CompletionList.create = create;\n})(CompletionList || (CompletionList = {}));\nvar MarkedString;\n(function (MarkedString) {\n /**\n * Creates a marked string from plain text.\n *\n * @param plainText The plain text.\n */\n function fromPlainText(plainText) {\n return plainText.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, '\\\\$&'); // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash\n }\n MarkedString.fromPlainText = fromPlainText;\n /**\n * Checks whether the given value conforms to the [MarkedString](#MarkedString) type.\n */\n function is(value) {\n var candidate = value;\n return Is.string(candidate) || (Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value));\n }\n MarkedString.is = is;\n})(MarkedString || (MarkedString = {}));\nvar Hover;\n(function (Hover) {\n /**\n * Checks whether the given value conforms to the [Hover](#Hover) interface.\n */\n function is(value) {\n var candidate = value;\n return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) ||\n MarkedString.is(candidate.contents) ||\n Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === undefined || Range.is(value.range));\n }\n Hover.is = is;\n})(Hover || (Hover = {}));\n/**\n * The ParameterInformation namespace provides helper functions to work with\n * [ParameterInformation](#ParameterInformation) literals.\n */\nvar ParameterInformation;\n(function (ParameterInformation) {\n /**\n * Creates a new parameter information literal.\n *\n * @param label A label string.\n * @param documentation A doc string.\n */\n function create(label, documentation) {\n return documentation ? { label: label, documentation: documentation } : { label: label };\n }\n ParameterInformation.create = create;\n})(ParameterInformation || (ParameterInformation = {}));\n/**\n * The SignatureInformation namespace provides helper functions to work with\n * [SignatureInformation](#SignatureInformation) literals.\n */\nvar SignatureInformation;\n(function (SignatureInformation) {\n function create(label, documentation) {\n var parameters = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n parameters[_i - 2] = arguments[_i];\n }\n var result = { label: label };\n if (Is.defined(documentation)) {\n result.documentation = documentation;\n }\n if (Is.defined(parameters)) {\n result.parameters = parameters;\n }\n else {\n result.parameters = [];\n }\n return result;\n }\n SignatureInformation.create = create;\n})(SignatureInformation || (SignatureInformation = {}));\n/**\n * A document highlight kind.\n */\nvar DocumentHighlightKind;\n(function (DocumentHighlightKind) {\n /**\n * A textual occurrence.\n */\n DocumentHighlightKind.Text = 1;\n /**\n * Read-access of a symbol, like reading a variable.\n */\n DocumentHighlightKind.Read = 2;\n /**\n * Write-access of a symbol, like writing to a variable.\n */\n DocumentHighlightKind.Write = 3;\n})(DocumentHighlightKind || (DocumentHighlightKind = {}));\n/**\n * DocumentHighlight namespace to provide helper functions to work with\n * [DocumentHighlight](#DocumentHighlight) literals.\n */\nvar DocumentHighlight;\n(function (DocumentHighlight) {\n /**\n * Create a DocumentHighlight object.\n * @param range The range the highlight applies to.\n */\n function create(range, kind) {\n var result = { range: range };\n if (Is.number(kind)) {\n result.kind = kind;\n }\n return result;\n }\n DocumentHighlight.create = create;\n})(DocumentHighlight || (DocumentHighlight = {}));\n/**\n * A symbol kind.\n */\nvar SymbolKind;\n(function (SymbolKind) {\n SymbolKind.File = 1;\n SymbolKind.Module = 2;\n SymbolKind.Namespace = 3;\n SymbolKind.Package = 4;\n SymbolKind.Class = 5;\n SymbolKind.Method = 6;\n SymbolKind.Property = 7;\n SymbolKind.Field = 8;\n SymbolKind.Constructor = 9;\n SymbolKind.Enum = 10;\n SymbolKind.Interface = 11;\n SymbolKind.Function = 12;\n SymbolKind.Variable = 13;\n SymbolKind.Constant = 14;\n SymbolKind.String = 15;\n SymbolKind.Number = 16;\n SymbolKind.Boolean = 17;\n SymbolKind.Array = 18;\n SymbolKind.Object = 19;\n SymbolKind.Key = 20;\n SymbolKind.Null = 21;\n SymbolKind.EnumMember = 22;\n SymbolKind.Struct = 23;\n SymbolKind.Event = 24;\n SymbolKind.Operator = 25;\n SymbolKind.TypeParameter = 26;\n})(SymbolKind || (SymbolKind = {}));\n/**\n * Symbol tags are extra annotations that tweak the rendering of a symbol.\n * @since 3.16\n */\nvar SymbolTag;\n(function (SymbolTag) {\n /**\n * Render a symbol as obsolete, usually using a strike-out.\n */\n SymbolTag.Deprecated = 1;\n})(SymbolTag || (SymbolTag = {}));\nvar SymbolInformation;\n(function (SymbolInformation) {\n /**\n * Creates a new symbol information literal.\n *\n * @param name The name of the symbol.\n * @param kind The kind of the symbol.\n * @param range The range of the location of the symbol.\n * @param uri The resource of the location of symbol, defaults to the current document.\n * @param containerName The name of the symbol containing the symbol.\n */\n function create(name, kind, range, uri, containerName) {\n var result = {\n name: name,\n kind: kind,\n location: { uri: uri, range: range }\n };\n if (containerName) {\n result.containerName = containerName;\n }\n return result;\n }\n SymbolInformation.create = create;\n})(SymbolInformation || (SymbolInformation = {}));\nvar DocumentSymbol;\n(function (DocumentSymbol) {\n /**\n * Creates a new symbol information literal.\n *\n * @param name The name of the symbol.\n * @param detail The detail of the symbol.\n * @param kind The kind of the symbol.\n * @param range The range of the symbol.\n * @param selectionRange The selectionRange of the symbol.\n * @param children Children of the symbol.\n */\n function create(name, detail, kind, range, selectionRange, children) {\n var result = {\n name: name,\n detail: detail,\n kind: kind,\n range: range,\n selectionRange: selectionRange\n };\n if (children !== undefined) {\n result.children = children;\n }\n return result;\n }\n DocumentSymbol.create = create;\n /**\n * Checks whether the given literal conforms to the [DocumentSymbol](#DocumentSymbol) interface.\n */\n function is(value) {\n var candidate = value;\n return candidate &&\n Is.string(candidate.name) && Is.number(candidate.kind) &&\n Range.is(candidate.range) && Range.is(candidate.selectionRange) &&\n (candidate.detail === undefined || Is.string(candidate.detail)) &&\n (candidate.deprecated === undefined || Is.boolean(candidate.deprecated)) &&\n (candidate.children === undefined || Array.isArray(candidate.children)) &&\n (candidate.tags === undefined || Array.isArray(candidate.tags));\n }\n DocumentSymbol.is = is;\n})(DocumentSymbol || (DocumentSymbol = {}));\n/**\n * A set of predefined code action kinds\n */\nvar CodeActionKind;\n(function (CodeActionKind) {\n /**\n * Empty kind.\n */\n CodeActionKind.Empty = '';\n /**\n * Base kind for quickfix actions: 'quickfix'\n */\n CodeActionKind.QuickFix = 'quickfix';\n /**\n * Base kind for refactoring actions: 'refactor'\n */\n CodeActionKind.Refactor = 'refactor';\n /**\n * Base kind for refactoring extraction actions: 'refactor.extract'\n *\n * Example extract actions:\n *\n * - Extract method\n * - Extract function\n * - Extract variable\n * - Extract interface from class\n * - ...\n */\n CodeActionKind.RefactorExtract = 'refactor.extract';\n /**\n * Base kind for refactoring inline actions: 'refactor.inline'\n *\n * Example inline actions:\n *\n * - Inline function\n * - Inline variable\n * - Inline constant\n * - ...\n */\n CodeActionKind.RefactorInline = 'refactor.inline';\n /**\n * Base kind for refactoring rewrite actions: 'refactor.rewrite'\n *\n * Example rewrite actions:\n *\n * - Convert JavaScript function to class\n * - Add or remove parameter\n * - Encapsulate field\n * - Make method static\n * - Move method to base class\n * - ...\n */\n CodeActionKind.RefactorRewrite = 'refactor.rewrite';\n /**\n * Base kind for source actions: `source`\n *\n * Source code actions apply to the entire file.\n */\n CodeActionKind.Source = 'source';\n /**\n * Base kind for an organize imports source action: `source.organizeImports`\n */\n CodeActionKind.SourceOrganizeImports = 'source.organizeImports';\n /**\n * Base kind for auto-fix source actions: `source.fixAll`.\n *\n * Fix all actions automatically fix errors that have a clear fix that do not require user input.\n * They should not suppress errors or perform unsafe fixes such as generating new types or classes.\n *\n * @since 3.15.0\n */\n CodeActionKind.SourceFixAll = 'source.fixAll';\n})(CodeActionKind || (CodeActionKind = {}));\n/**\n * The CodeActionContext namespace provides helper functions to work with\n * [CodeActionContext](#CodeActionContext) literals.\n */\nvar CodeActionContext;\n(function (CodeActionContext) {\n /**\n * Creates a new CodeActionContext literal.\n */\n function create(diagnostics, only) {\n var result = { diagnostics: diagnostics };\n if (only !== undefined && only !== null) {\n result.only = only;\n }\n return result;\n }\n CodeActionContext.create = create;\n /**\n * Checks whether the given literal conforms to the [CodeActionContext](#CodeActionContext) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === undefined || Is.typedArray(candidate.only, Is.string));\n }\n CodeActionContext.is = is;\n})(CodeActionContext || (CodeActionContext = {}));\nvar CodeAction;\n(function (CodeAction) {\n function create(title, kindOrCommandOrEdit, kind) {\n var result = { title: title };\n var checkKind = true;\n if (typeof kindOrCommandOrEdit === 'string') {\n checkKind = false;\n result.kind = kindOrCommandOrEdit;\n }\n else if (Command.is(kindOrCommandOrEdit)) {\n result.command = kindOrCommandOrEdit;\n }\n else {\n result.edit = kindOrCommandOrEdit;\n }\n if (checkKind && kind !== undefined) {\n result.kind = kind;\n }\n return result;\n }\n CodeAction.create = create;\n function is(value) {\n var candidate = value;\n return candidate && Is.string(candidate.title) &&\n (candidate.diagnostics === undefined || Is.typedArray(candidate.diagnostics, Diagnostic.is)) &&\n (candidate.kind === undefined || Is.string(candidate.kind)) &&\n (candidate.edit !== undefined || candidate.command !== undefined) &&\n (candidate.command === undefined || Command.is(candidate.command)) &&\n (candidate.isPreferred === undefined || Is.boolean(candidate.isPreferred)) &&\n (candidate.edit === undefined || WorkspaceEdit.is(candidate.edit));\n }\n CodeAction.is = is;\n})(CodeAction || (CodeAction = {}));\n/**\n * The CodeLens namespace provides helper functions to work with\n * [CodeLens](#CodeLens) literals.\n */\nvar CodeLens;\n(function (CodeLens) {\n /**\n * Creates a new CodeLens literal.\n */\n function create(range, data) {\n var result = { range: range };\n if (Is.defined(data)) {\n result.data = data;\n }\n return result;\n }\n CodeLens.create = create;\n /**\n * Checks whether the given literal conforms to the [CodeLens](#CodeLens) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.command) || Command.is(candidate.command));\n }\n CodeLens.is = is;\n})(CodeLens || (CodeLens = {}));\n/**\n * The FormattingOptions namespace provides helper functions to work with\n * [FormattingOptions](#FormattingOptions) literals.\n */\nvar FormattingOptions;\n(function (FormattingOptions) {\n /**\n * Creates a new FormattingOptions literal.\n */\n function create(tabSize, insertSpaces) {\n return { tabSize: tabSize, insertSpaces: insertSpaces };\n }\n FormattingOptions.create = create;\n /**\n * Checks whether the given literal conforms to the [FormattingOptions](#FormattingOptions) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces);\n }\n FormattingOptions.is = is;\n})(FormattingOptions || (FormattingOptions = {}));\n/**\n * The DocumentLink namespace provides helper functions to work with\n * [DocumentLink](#DocumentLink) literals.\n */\nvar DocumentLink;\n(function (DocumentLink) {\n /**\n * Creates a new DocumentLink literal.\n */\n function create(range, target, data) {\n return { range: range, target: target, data: data };\n }\n DocumentLink.create = create;\n /**\n * Checks whether the given literal conforms to the [DocumentLink](#DocumentLink) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target));\n }\n DocumentLink.is = is;\n})(DocumentLink || (DocumentLink = {}));\n/**\n * The SelectionRange namespace provides helper function to work with\n * SelectionRange literals.\n */\nvar SelectionRange;\n(function (SelectionRange) {\n /**\n * Creates a new SelectionRange\n * @param range the range.\n * @param parent an optional parent.\n */\n function create(range, parent) {\n return { range: range, parent: parent };\n }\n SelectionRange.create = create;\n function is(value) {\n var candidate = value;\n return candidate !== undefined && Range.is(candidate.range) && (candidate.parent === undefined || SelectionRange.is(candidate.parent));\n }\n SelectionRange.is = is;\n})(SelectionRange || (SelectionRange = {}));\nvar EOL = ['\\n', '\\r\\n', '\\r'];\n/**\n * @deprecated Use the text document from the new vscode-languageserver-textdocument package.\n */\nvar TextDocument;\n(function (TextDocument) {\n /**\n * Creates a new ITextDocument literal from the given uri and content.\n * @param uri The document's uri.\n * @param languageId The document's language Id.\n * @param content The document's content.\n */\n function create(uri, languageId, version, content) {\n return new FullTextDocument(uri, languageId, version, content);\n }\n TextDocument.create = create;\n /**\n * Checks whether the given literal conforms to the [ITextDocument](#ITextDocument) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount)\n && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false;\n }\n TextDocument.is = is;\n function applyEdits(document, edits) {\n var text = document.getText();\n var sortedEdits = mergeSort(edits, function (a, b) {\n var diff = a.range.start.line - b.range.start.line;\n if (diff === 0) {\n return a.range.start.character - b.range.start.character;\n }\n return diff;\n });\n var lastModifiedOffset = text.length;\n for (var i = sortedEdits.length - 1; i >= 0; i--) {\n var e = sortedEdits[i];\n var startOffset = document.offsetAt(e.range.start);\n var endOffset = document.offsetAt(e.range.end);\n if (endOffset <= lastModifiedOffset) {\n text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length);\n }\n else {\n throw new Error('Overlapping edit');\n }\n lastModifiedOffset = startOffset;\n }\n return text;\n }\n TextDocument.applyEdits = applyEdits;\n function mergeSort(data, compare) {\n if (data.length <= 1) {\n // sorted\n return data;\n }\n var p = (data.length / 2) | 0;\n var left = data.slice(0, p);\n var right = data.slice(p);\n mergeSort(left, compare);\n mergeSort(right, compare);\n var leftIdx = 0;\n var rightIdx = 0;\n var i = 0;\n while (leftIdx < left.length && rightIdx < right.length) {\n var ret = compare(left[leftIdx], right[rightIdx]);\n if (ret <= 0) {\n // smaller_equal -> take left to preserve order\n data[i++] = left[leftIdx++];\n }\n else {\n // greater -> take right\n data[i++] = right[rightIdx++];\n }\n }\n while (leftIdx < left.length) {\n data[i++] = left[leftIdx++];\n }\n while (rightIdx < right.length) {\n data[i++] = right[rightIdx++];\n }\n return data;\n }\n})(TextDocument || (TextDocument = {}));\n/**\n * @deprecated Use the text document from the new vscode-languageserver-textdocument package.\n */\nvar FullTextDocument = /** @class */ (function () {\n function FullTextDocument(uri, languageId, version, content) {\n this._uri = uri;\n this._languageId = languageId;\n this._version = version;\n this._content = content;\n this._lineOffsets = undefined;\n }\n Object.defineProperty(FullTextDocument.prototype, \"uri\", {\n get: function () {\n return this._uri;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FullTextDocument.prototype, \"languageId\", {\n get: function () {\n return this._languageId;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FullTextDocument.prototype, \"version\", {\n get: function () {\n return this._version;\n },\n enumerable: false,\n configurable: true\n });\n FullTextDocument.prototype.getText = function (range) {\n if (range) {\n var start = this.offsetAt(range.start);\n var end = this.offsetAt(range.end);\n return this._content.substring(start, end);\n }\n return this._content;\n };\n FullTextDocument.prototype.update = function (event, version) {\n this._content = event.text;\n this._version = version;\n this._lineOffsets = undefined;\n };\n FullTextDocument.prototype.getLineOffsets = function () {\n if (this._lineOffsets === undefined) {\n var lineOffsets = [];\n var text = this._content;\n var isLineStart = true;\n for (var i = 0; i < text.length; i++) {\n if (isLineStart) {\n lineOffsets.push(i);\n isLineStart = false;\n }\n var ch = text.charAt(i);\n isLineStart = (ch === '\\r' || ch === '\\n');\n if (ch === '\\r' && i + 1 < text.length && text.charAt(i + 1) === '\\n') {\n i++;\n }\n }\n if (isLineStart && text.length > 0) {\n lineOffsets.push(text.length);\n }\n this._lineOffsets = lineOffsets;\n }\n return this._lineOffsets;\n };\n FullTextDocument.prototype.positionAt = function (offset) {\n offset = Math.max(Math.min(offset, this._content.length), 0);\n var lineOffsets = this.getLineOffsets();\n var low = 0, high = lineOffsets.length;\n if (high === 0) {\n return Position.create(0, offset);\n }\n while (low < high) {\n var mid = Math.floor((low + high) / 2);\n if (lineOffsets[mid] > offset) {\n high = mid;\n }\n else {\n low = mid + 1;\n }\n }\n // low is the least x for which the line offset is larger than the current offset\n // or array.length if no line offset is larger than the current offset\n var line = low - 1;\n return Position.create(line, offset - lineOffsets[line]);\n };\n FullTextDocument.prototype.offsetAt = function (position) {\n var lineOffsets = this.getLineOffsets();\n if (position.line >= lineOffsets.length) {\n return this._content.length;\n }\n else if (position.line < 0) {\n return 0;\n }\n var lineOffset = lineOffsets[position.line];\n var nextLineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : this._content.length;\n return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n };\n Object.defineProperty(FullTextDocument.prototype, \"lineCount\", {\n get: function () {\n return this.getLineOffsets().length;\n },\n enumerable: false,\n configurable: true\n });\n return FullTextDocument;\n}());\nvar Is;\n(function (Is) {\n var toString = Object.prototype.toString;\n function defined(value) {\n return typeof value !== 'undefined';\n }\n Is.defined = defined;\n function undefined(value) {\n return typeof value === 'undefined';\n }\n Is.undefined = undefined;\n function boolean(value) {\n return value === true || value === false;\n }\n Is.boolean = boolean;\n function string(value) {\n return toString.call(value) === '[object String]';\n }\n Is.string = string;\n function number(value) {\n return toString.call(value) === '[object Number]';\n }\n Is.number = number;\n function numberRange(value, min, max) {\n return toString.call(value) === '[object Number]' && min <= value && value <= max;\n }\n Is.numberRange = numberRange;\n function integer(value) {\n return toString.call(value) === '[object Number]' && -2147483648 <= value && value <= 2147483647;\n }\n Is.integer = integer;\n function uinteger(value) {\n return toString.call(value) === '[object Number]' && 0 <= value && value <= 2147483647;\n }\n Is.uinteger = uinteger;\n function func(value) {\n return toString.call(value) === '[object Function]';\n }\n Is.func = func;\n function objectLiteral(value) {\n // Strictly speaking class instances pass this check as well. Since the LSP\n // doesn't use classes we ignore this for now. If we do we need to add something\n // like this: `Object.getPrototypeOf(Object.getPrototypeOf(x)) === null`\n return value !== null && typeof value === 'object';\n }\n Is.objectLiteral = objectLiteral;\n function typedArray(value, check) {\n return Array.isArray(value) && value.every(check);\n }\n Is.typedArray = typedArray;\n})(Is || (Is = {}));\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.js?");
408
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"AnnotatedTextEdit\": () => (/* binding */ AnnotatedTextEdit),\n/* harmony export */ \"ChangeAnnotation\": () => (/* binding */ ChangeAnnotation),\n/* harmony export */ \"ChangeAnnotationIdentifier\": () => (/* binding */ ChangeAnnotationIdentifier),\n/* harmony export */ \"CodeAction\": () => (/* binding */ CodeAction),\n/* harmony export */ \"CodeActionContext\": () => (/* binding */ CodeActionContext),\n/* harmony export */ \"CodeActionKind\": () => (/* binding */ CodeActionKind),\n/* harmony export */ \"CodeDescription\": () => (/* binding */ CodeDescription),\n/* harmony export */ \"CodeLens\": () => (/* binding */ CodeLens),\n/* harmony export */ \"Color\": () => (/* binding */ Color),\n/* harmony export */ \"ColorInformation\": () => (/* binding */ ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* binding */ ColorPresentation),\n/* harmony export */ \"Command\": () => (/* binding */ Command),\n/* harmony export */ \"CompletionItem\": () => (/* binding */ CompletionItem),\n/* harmony export */ \"CompletionItemKind\": () => (/* binding */ CompletionItemKind),\n/* harmony export */ \"CompletionItemTag\": () => (/* binding */ CompletionItemTag),\n/* harmony export */ \"CompletionList\": () => (/* binding */ CompletionList),\n/* harmony export */ \"CreateFile\": () => (/* binding */ CreateFile),\n/* harmony export */ \"DeleteFile\": () => (/* binding */ DeleteFile),\n/* harmony export */ \"Diagnostic\": () => (/* binding */ Diagnostic),\n/* harmony export */ \"DiagnosticRelatedInformation\": () => (/* binding */ DiagnosticRelatedInformation),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* binding */ DiagnosticSeverity),\n/* harmony export */ \"DiagnosticTag\": () => (/* binding */ DiagnosticTag),\n/* harmony export */ \"DocumentHighlight\": () => (/* binding */ DocumentHighlight),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* binding */ DocumentHighlightKind),\n/* harmony export */ \"DocumentLink\": () => (/* binding */ DocumentLink),\n/* harmony export */ \"DocumentSymbol\": () => (/* binding */ DocumentSymbol),\n/* harmony export */ \"EOL\": () => (/* binding */ EOL),\n/* harmony export */ \"FoldingRange\": () => (/* binding */ FoldingRange),\n/* harmony export */ \"FoldingRangeKind\": () => (/* binding */ FoldingRangeKind),\n/* harmony export */ \"FormattingOptions\": () => (/* binding */ FormattingOptions),\n/* harmony export */ \"Hover\": () => (/* binding */ Hover),\n/* harmony export */ \"InsertReplaceEdit\": () => (/* binding */ InsertReplaceEdit),\n/* harmony export */ \"InsertTextFormat\": () => (/* binding */ InsertTextFormat),\n/* harmony export */ \"InsertTextMode\": () => (/* binding */ InsertTextMode),\n/* harmony export */ \"Location\": () => (/* binding */ Location),\n/* harmony export */ \"LocationLink\": () => (/* binding */ LocationLink),\n/* harmony export */ \"MarkedString\": () => (/* binding */ MarkedString),\n/* harmony export */ \"MarkupContent\": () => (/* binding */ MarkupContent),\n/* harmony export */ \"MarkupKind\": () => (/* binding */ MarkupKind),\n/* harmony export */ \"OptionalVersionedTextDocumentIdentifier\": () => (/* binding */ OptionalVersionedTextDocumentIdentifier),\n/* harmony export */ \"ParameterInformation\": () => (/* binding */ ParameterInformation),\n/* harmony export */ \"Position\": () => (/* binding */ Position),\n/* harmony export */ \"Range\": () => (/* binding */ Range),\n/* harmony export */ \"RenameFile\": () => (/* binding */ RenameFile),\n/* harmony export */ \"SelectionRange\": () => (/* binding */ SelectionRange),\n/* harmony export */ \"SignatureInformation\": () => (/* binding */ SignatureInformation),\n/* harmony export */ \"SymbolInformation\": () => (/* binding */ SymbolInformation),\n/* harmony export */ \"SymbolKind\": () => (/* binding */ SymbolKind),\n/* harmony export */ \"SymbolTag\": () => (/* binding */ SymbolTag),\n/* harmony export */ \"TextDocument\": () => (/* binding */ TextDocument),\n/* harmony export */ \"TextDocumentEdit\": () => (/* binding */ TextDocumentEdit),\n/* harmony export */ \"TextDocumentIdentifier\": () => (/* binding */ TextDocumentIdentifier),\n/* harmony export */ \"TextDocumentItem\": () => (/* binding */ TextDocumentItem),\n/* harmony export */ \"TextEdit\": () => (/* binding */ TextEdit),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* binding */ VersionedTextDocumentIdentifier),\n/* harmony export */ \"WorkspaceChange\": () => (/* binding */ WorkspaceChange),\n/* harmony export */ \"WorkspaceEdit\": () => (/* binding */ WorkspaceEdit),\n/* harmony export */ \"integer\": () => (/* binding */ integer),\n/* harmony export */ \"uinteger\": () => (/* binding */ uinteger)\n/* harmony export */ });\n/* --------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n * ------------------------------------------------------------------------------------------ */\n\nvar integer;\n(function (integer) {\n integer.MIN_VALUE = -2147483648;\n integer.MAX_VALUE = 2147483647;\n})(integer || (integer = {}));\nvar uinteger;\n(function (uinteger) {\n uinteger.MIN_VALUE = 0;\n uinteger.MAX_VALUE = 2147483647;\n})(uinteger || (uinteger = {}));\n/**\n * The Position namespace provides helper functions to work with\n * [Position](#Position) literals.\n */\nvar Position;\n(function (Position) {\n /**\n * Creates a new Position literal from the given line and character.\n * @param line The position's line.\n * @param character The position's character.\n */\n function create(line, character) {\n if (line === Number.MAX_VALUE) {\n line = uinteger.MAX_VALUE;\n }\n if (character === Number.MAX_VALUE) {\n character = uinteger.MAX_VALUE;\n }\n return { line: line, character: character };\n }\n Position.create = create;\n /**\n * Checks whether the given literal conforms to the [Position](#Position) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character);\n }\n Position.is = is;\n})(Position || (Position = {}));\n/**\n * The Range namespace provides helper functions to work with\n * [Range](#Range) literals.\n */\nvar Range;\n(function (Range) {\n function create(one, two, three, four) {\n if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) {\n return { start: Position.create(one, two), end: Position.create(three, four) };\n }\n else if (Position.is(one) && Position.is(two)) {\n return { start: one, end: two };\n }\n else {\n throw new Error(\"Range#create called with invalid arguments[\" + one + \", \" + two + \", \" + three + \", \" + four + \"]\");\n }\n }\n Range.create = create;\n /**\n * Checks whether the given literal conforms to the [Range](#Range) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate) && Position.is(candidate.start) && Position.is(candidate.end);\n }\n Range.is = is;\n})(Range || (Range = {}));\n/**\n * The Location namespace provides helper functions to work with\n * [Location](#Location) literals.\n */\nvar Location;\n(function (Location) {\n /**\n * Creates a Location literal.\n * @param uri The location's uri.\n * @param range The location's range.\n */\n function create(uri, range) {\n return { uri: uri, range: range };\n }\n Location.create = create;\n /**\n * Checks whether the given literal conforms to the [Location](#Location) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));\n }\n Location.is = is;\n})(Location || (Location = {}));\n/**\n * The LocationLink namespace provides helper functions to work with\n * [LocationLink](#LocationLink) literals.\n */\nvar LocationLink;\n(function (LocationLink) {\n /**\n * Creates a LocationLink literal.\n * @param targetUri The definition's uri.\n * @param targetRange The full range of the definition.\n * @param targetSelectionRange The span of the symbol definition at the target.\n * @param originSelectionRange The span of the symbol being defined in the originating source file.\n */\n function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) {\n return { targetUri: targetUri, targetRange: targetRange, targetSelectionRange: targetSelectionRange, originSelectionRange: originSelectionRange };\n }\n LocationLink.create = create;\n /**\n * Checks whether the given literal conforms to the [LocationLink](#LocationLink) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.targetRange) && Is.string(candidate.targetUri)\n && (Range.is(candidate.targetSelectionRange) || Is.undefined(candidate.targetSelectionRange))\n && (Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));\n }\n LocationLink.is = is;\n})(LocationLink || (LocationLink = {}));\n/**\n * The Color namespace provides helper functions to work with\n * [Color](#Color) literals.\n */\nvar Color;\n(function (Color) {\n /**\n * Creates a new Color literal.\n */\n function create(red, green, blue, alpha) {\n return {\n red: red,\n green: green,\n blue: blue,\n alpha: alpha,\n };\n }\n Color.create = create;\n /**\n * Checks whether the given literal conforms to the [Color](#Color) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.numberRange(candidate.red, 0, 1)\n && Is.numberRange(candidate.green, 0, 1)\n && Is.numberRange(candidate.blue, 0, 1)\n && Is.numberRange(candidate.alpha, 0, 1);\n }\n Color.is = is;\n})(Color || (Color = {}));\n/**\n * The ColorInformation namespace provides helper functions to work with\n * [ColorInformation](#ColorInformation) literals.\n */\nvar ColorInformation;\n(function (ColorInformation) {\n /**\n * Creates a new ColorInformation literal.\n */\n function create(range, color) {\n return {\n range: range,\n color: color,\n };\n }\n ColorInformation.create = create;\n /**\n * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Range.is(candidate.range) && Color.is(candidate.color);\n }\n ColorInformation.is = is;\n})(ColorInformation || (ColorInformation = {}));\n/**\n * The Color namespace provides helper functions to work with\n * [ColorPresentation](#ColorPresentation) literals.\n */\nvar ColorPresentation;\n(function (ColorPresentation) {\n /**\n * Creates a new ColorInformation literal.\n */\n function create(label, textEdit, additionalTextEdits) {\n return {\n label: label,\n textEdit: textEdit,\n additionalTextEdits: additionalTextEdits,\n };\n }\n ColorPresentation.create = create;\n /**\n * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.string(candidate.label)\n && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate))\n && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));\n }\n ColorPresentation.is = is;\n})(ColorPresentation || (ColorPresentation = {}));\n/**\n * Enum of known range kinds\n */\nvar FoldingRangeKind;\n(function (FoldingRangeKind) {\n /**\n * Folding range for a comment\n */\n FoldingRangeKind[\"Comment\"] = \"comment\";\n /**\n * Folding range for a imports or includes\n */\n FoldingRangeKind[\"Imports\"] = \"imports\";\n /**\n * Folding range for a region (e.g. `#region`)\n */\n FoldingRangeKind[\"Region\"] = \"region\";\n})(FoldingRangeKind || (FoldingRangeKind = {}));\n/**\n * The folding range namespace provides helper functions to work with\n * [FoldingRange](#FoldingRange) literals.\n */\nvar FoldingRange;\n(function (FoldingRange) {\n /**\n * Creates a new FoldingRange literal.\n */\n function create(startLine, endLine, startCharacter, endCharacter, kind) {\n var result = {\n startLine: startLine,\n endLine: endLine\n };\n if (Is.defined(startCharacter)) {\n result.startCharacter = startCharacter;\n }\n if (Is.defined(endCharacter)) {\n result.endCharacter = endCharacter;\n }\n if (Is.defined(kind)) {\n result.kind = kind;\n }\n return result;\n }\n FoldingRange.create = create;\n /**\n * Checks whether the given literal conforms to the [FoldingRange](#FoldingRange) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine)\n && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter))\n && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter))\n && (Is.undefined(candidate.kind) || Is.string(candidate.kind));\n }\n FoldingRange.is = is;\n})(FoldingRange || (FoldingRange = {}));\n/**\n * The DiagnosticRelatedInformation namespace provides helper functions to work with\n * [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) literals.\n */\nvar DiagnosticRelatedInformation;\n(function (DiagnosticRelatedInformation) {\n /**\n * Creates a new DiagnosticRelatedInformation literal.\n */\n function create(location, message) {\n return {\n location: location,\n message: message\n };\n }\n DiagnosticRelatedInformation.create = create;\n /**\n * Checks whether the given literal conforms to the [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message);\n }\n DiagnosticRelatedInformation.is = is;\n})(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {}));\n/**\n * The diagnostic's severity.\n */\nvar DiagnosticSeverity;\n(function (DiagnosticSeverity) {\n /**\n * Reports an error.\n */\n DiagnosticSeverity.Error = 1;\n /**\n * Reports a warning.\n */\n DiagnosticSeverity.Warning = 2;\n /**\n * Reports an information.\n */\n DiagnosticSeverity.Information = 3;\n /**\n * Reports a hint.\n */\n DiagnosticSeverity.Hint = 4;\n})(DiagnosticSeverity || (DiagnosticSeverity = {}));\n/**\n * The diagnostic tags.\n *\n * @since 3.15.0\n */\nvar DiagnosticTag;\n(function (DiagnosticTag) {\n /**\n * Unused or unnecessary code.\n *\n * Clients are allowed to render diagnostics with this tag faded out instead of having\n * an error squiggle.\n */\n DiagnosticTag.Unnecessary = 1;\n /**\n * Deprecated or obsolete code.\n *\n * Clients are allowed to rendered diagnostics with this tag strike through.\n */\n DiagnosticTag.Deprecated = 2;\n})(DiagnosticTag || (DiagnosticTag = {}));\n/**\n * The CodeDescription namespace provides functions to deal with descriptions for diagnostic codes.\n *\n * @since 3.16.0\n */\nvar CodeDescription;\n(function (CodeDescription) {\n function is(value) {\n var candidate = value;\n return candidate !== undefined && candidate !== null && Is.string(candidate.href);\n }\n CodeDescription.is = is;\n})(CodeDescription || (CodeDescription = {}));\n/**\n * The Diagnostic namespace provides helper functions to work with\n * [Diagnostic](#Diagnostic) literals.\n */\nvar Diagnostic;\n(function (Diagnostic) {\n /**\n * Creates a new Diagnostic literal.\n */\n function create(range, message, severity, code, source, relatedInformation) {\n var result = { range: range, message: message };\n if (Is.defined(severity)) {\n result.severity = severity;\n }\n if (Is.defined(code)) {\n result.code = code;\n }\n if (Is.defined(source)) {\n result.source = source;\n }\n if (Is.defined(relatedInformation)) {\n result.relatedInformation = relatedInformation;\n }\n return result;\n }\n Diagnostic.create = create;\n /**\n * Checks whether the given literal conforms to the [Diagnostic](#Diagnostic) interface.\n */\n function is(value) {\n var _a;\n var candidate = value;\n return Is.defined(candidate)\n && Range.is(candidate.range)\n && Is.string(candidate.message)\n && (Is.number(candidate.severity) || Is.undefined(candidate.severity))\n && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code))\n && (Is.undefined(candidate.codeDescription) || (Is.string((_a = candidate.codeDescription) === null || _a === void 0 ? void 0 : _a.href)))\n && (Is.string(candidate.source) || Is.undefined(candidate.source))\n && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is));\n }\n Diagnostic.is = is;\n})(Diagnostic || (Diagnostic = {}));\n/**\n * The Command namespace provides helper functions to work with\n * [Command](#Command) literals.\n */\nvar Command;\n(function (Command) {\n /**\n * Creates a new Command literal.\n */\n function create(title, command) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var result = { title: title, command: command };\n if (Is.defined(args) && args.length > 0) {\n result.arguments = args;\n }\n return result;\n }\n Command.create = create;\n /**\n * Checks whether the given literal conforms to the [Command](#Command) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command);\n }\n Command.is = is;\n})(Command || (Command = {}));\n/**\n * The TextEdit namespace provides helper function to create replace,\n * insert and delete edits more easily.\n */\nvar TextEdit;\n(function (TextEdit) {\n /**\n * Creates a replace text edit.\n * @param range The range of text to be replaced.\n * @param newText The new text.\n */\n function replace(range, newText) {\n return { range: range, newText: newText };\n }\n TextEdit.replace = replace;\n /**\n * Creates a insert text edit.\n * @param position The position to insert the text at.\n * @param newText The text to be inserted.\n */\n function insert(position, newText) {\n return { range: { start: position, end: position }, newText: newText };\n }\n TextEdit.insert = insert;\n /**\n * Creates a delete text edit.\n * @param range The range of text to be deleted.\n */\n function del(range) {\n return { range: range, newText: '' };\n }\n TextEdit.del = del;\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate)\n && Is.string(candidate.newText)\n && Range.is(candidate.range);\n }\n TextEdit.is = is;\n})(TextEdit || (TextEdit = {}));\nvar ChangeAnnotation;\n(function (ChangeAnnotation) {\n function create(label, needsConfirmation, description) {\n var result = { label: label };\n if (needsConfirmation !== undefined) {\n result.needsConfirmation = needsConfirmation;\n }\n if (description !== undefined) {\n result.description = description;\n }\n return result;\n }\n ChangeAnnotation.create = create;\n function is(value) {\n var candidate = value;\n return candidate !== undefined && Is.objectLiteral(candidate) && Is.string(candidate.label) &&\n (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === undefined) &&\n (Is.string(candidate.description) || candidate.description === undefined);\n }\n ChangeAnnotation.is = is;\n})(ChangeAnnotation || (ChangeAnnotation = {}));\nvar ChangeAnnotationIdentifier;\n(function (ChangeAnnotationIdentifier) {\n function is(value) {\n var candidate = value;\n return typeof candidate === 'string';\n }\n ChangeAnnotationIdentifier.is = is;\n})(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {}));\nvar AnnotatedTextEdit;\n(function (AnnotatedTextEdit) {\n /**\n * Creates an annotated replace text edit.\n *\n * @param range The range of text to be replaced.\n * @param newText The new text.\n * @param annotation The annotation.\n */\n function replace(range, newText, annotation) {\n return { range: range, newText: newText, annotationId: annotation };\n }\n AnnotatedTextEdit.replace = replace;\n /**\n * Creates an annotated insert text edit.\n *\n * @param position The position to insert the text at.\n * @param newText The text to be inserted.\n * @param annotation The annotation.\n */\n function insert(position, newText, annotation) {\n return { range: { start: position, end: position }, newText: newText, annotationId: annotation };\n }\n AnnotatedTextEdit.insert = insert;\n /**\n * Creates an annotated delete text edit.\n *\n * @param range The range of text to be deleted.\n * @param annotation The annotation.\n */\n function del(range, annotation) {\n return { range: range, newText: '', annotationId: annotation };\n }\n AnnotatedTextEdit.del = del;\n function is(value) {\n var candidate = value;\n return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n AnnotatedTextEdit.is = is;\n})(AnnotatedTextEdit || (AnnotatedTextEdit = {}));\n/**\n * The TextDocumentEdit namespace provides helper function to create\n * an edit that manipulates a text document.\n */\nvar TextDocumentEdit;\n(function (TextDocumentEdit) {\n /**\n * Creates a new `TextDocumentEdit`\n */\n function create(textDocument, edits) {\n return { textDocument: textDocument, edits: edits };\n }\n TextDocumentEdit.create = create;\n function is(value) {\n var candidate = value;\n return Is.defined(candidate)\n && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument)\n && Array.isArray(candidate.edits);\n }\n TextDocumentEdit.is = is;\n})(TextDocumentEdit || (TextDocumentEdit = {}));\nvar CreateFile;\n(function (CreateFile) {\n function create(uri, options, annotation) {\n var result = {\n kind: 'create',\n uri: uri\n };\n if (options !== undefined && (options.overwrite !== undefined || options.ignoreIfExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n CreateFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'create' && Is.string(candidate.uri) && (candidate.options === undefined ||\n ((candidate.options.overwrite === undefined || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === undefined || Is.boolean(candidate.options.ignoreIfExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n CreateFile.is = is;\n})(CreateFile || (CreateFile = {}));\nvar RenameFile;\n(function (RenameFile) {\n function create(oldUri, newUri, options, annotation) {\n var result = {\n kind: 'rename',\n oldUri: oldUri,\n newUri: newUri\n };\n if (options !== undefined && (options.overwrite !== undefined || options.ignoreIfExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n RenameFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'rename' && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === undefined ||\n ((candidate.options.overwrite === undefined || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === undefined || Is.boolean(candidate.options.ignoreIfExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n RenameFile.is = is;\n})(RenameFile || (RenameFile = {}));\nvar DeleteFile;\n(function (DeleteFile) {\n function create(uri, options, annotation) {\n var result = {\n kind: 'delete',\n uri: uri\n };\n if (options !== undefined && (options.recursive !== undefined || options.ignoreIfNotExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n DeleteFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'delete' && Is.string(candidate.uri) && (candidate.options === undefined ||\n ((candidate.options.recursive === undefined || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === undefined || Is.boolean(candidate.options.ignoreIfNotExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n DeleteFile.is = is;\n})(DeleteFile || (DeleteFile = {}));\nvar WorkspaceEdit;\n(function (WorkspaceEdit) {\n function is(value) {\n var candidate = value;\n return candidate &&\n (candidate.changes !== undefined || candidate.documentChanges !== undefined) &&\n (candidate.documentChanges === undefined || candidate.documentChanges.every(function (change) {\n if (Is.string(change.kind)) {\n return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change);\n }\n else {\n return TextDocumentEdit.is(change);\n }\n }));\n }\n WorkspaceEdit.is = is;\n})(WorkspaceEdit || (WorkspaceEdit = {}));\nvar TextEditChangeImpl = /** @class */ (function () {\n function TextEditChangeImpl(edits, changeAnnotations) {\n this.edits = edits;\n this.changeAnnotations = changeAnnotations;\n }\n TextEditChangeImpl.prototype.insert = function (position, newText, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.insert(position, newText);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.insert(position, newText, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.insert(position, newText, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.replace = function (range, newText, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.replace(range, newText);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.replace(range, newText, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.replace(range, newText, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.delete = function (range, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.del(range);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.del(range, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.del(range, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.add = function (edit) {\n this.edits.push(edit);\n };\n TextEditChangeImpl.prototype.all = function () {\n return this.edits;\n };\n TextEditChangeImpl.prototype.clear = function () {\n this.edits.splice(0, this.edits.length);\n };\n TextEditChangeImpl.prototype.assertChangeAnnotations = function (value) {\n if (value === undefined) {\n throw new Error(\"Text edit change is not configured to manage change annotations.\");\n }\n };\n return TextEditChangeImpl;\n}());\n/**\n * A helper class\n */\nvar ChangeAnnotations = /** @class */ (function () {\n function ChangeAnnotations(annotations) {\n this._annotations = annotations === undefined ? Object.create(null) : annotations;\n this._counter = 0;\n this._size = 0;\n }\n ChangeAnnotations.prototype.all = function () {\n return this._annotations;\n };\n Object.defineProperty(ChangeAnnotations.prototype, \"size\", {\n get: function () {\n return this._size;\n },\n enumerable: false,\n configurable: true\n });\n ChangeAnnotations.prototype.manage = function (idOrAnnotation, annotation) {\n var id;\n if (ChangeAnnotationIdentifier.is(idOrAnnotation)) {\n id = idOrAnnotation;\n }\n else {\n id = this.nextId();\n annotation = idOrAnnotation;\n }\n if (this._annotations[id] !== undefined) {\n throw new Error(\"Id \" + id + \" is already in use.\");\n }\n if (annotation === undefined) {\n throw new Error(\"No annotation provided for id \" + id);\n }\n this._annotations[id] = annotation;\n this._size++;\n return id;\n };\n ChangeAnnotations.prototype.nextId = function () {\n this._counter++;\n return this._counter.toString();\n };\n return ChangeAnnotations;\n}());\n/**\n * A workspace change helps constructing changes to a workspace.\n */\nvar WorkspaceChange = /** @class */ (function () {\n function WorkspaceChange(workspaceEdit) {\n var _this = this;\n this._textEditChanges = Object.create(null);\n if (workspaceEdit !== undefined) {\n this._workspaceEdit = workspaceEdit;\n if (workspaceEdit.documentChanges) {\n this._changeAnnotations = new ChangeAnnotations(workspaceEdit.changeAnnotations);\n workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n workspaceEdit.documentChanges.forEach(function (change) {\n if (TextDocumentEdit.is(change)) {\n var textEditChange = new TextEditChangeImpl(change.edits, _this._changeAnnotations);\n _this._textEditChanges[change.textDocument.uri] = textEditChange;\n }\n });\n }\n else if (workspaceEdit.changes) {\n Object.keys(workspaceEdit.changes).forEach(function (key) {\n var textEditChange = new TextEditChangeImpl(workspaceEdit.changes[key]);\n _this._textEditChanges[key] = textEditChange;\n });\n }\n }\n else {\n this._workspaceEdit = {};\n }\n }\n Object.defineProperty(WorkspaceChange.prototype, \"edit\", {\n /**\n * Returns the underlying [WorkspaceEdit](#WorkspaceEdit) literal\n * use to be returned from a workspace edit operation like rename.\n */\n get: function () {\n this.initDocumentChanges();\n if (this._changeAnnotations !== undefined) {\n if (this._changeAnnotations.size === 0) {\n this._workspaceEdit.changeAnnotations = undefined;\n }\n else {\n this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n }\n }\n return this._workspaceEdit;\n },\n enumerable: false,\n configurable: true\n });\n WorkspaceChange.prototype.getTextEditChange = function (key) {\n if (OptionalVersionedTextDocumentIdentifier.is(key)) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var textDocument = { uri: key.uri, version: key.version };\n var result = this._textEditChanges[textDocument.uri];\n if (!result) {\n var edits = [];\n var textDocumentEdit = {\n textDocument: textDocument,\n edits: edits\n };\n this._workspaceEdit.documentChanges.push(textDocumentEdit);\n result = new TextEditChangeImpl(edits, this._changeAnnotations);\n this._textEditChanges[textDocument.uri] = result;\n }\n return result;\n }\n else {\n this.initChanges();\n if (this._workspaceEdit.changes === undefined) {\n throw new Error('Workspace edit is not configured for normal text edit changes.');\n }\n var result = this._textEditChanges[key];\n if (!result) {\n var edits = [];\n this._workspaceEdit.changes[key] = edits;\n result = new TextEditChangeImpl(edits);\n this._textEditChanges[key] = result;\n }\n return result;\n }\n };\n WorkspaceChange.prototype.initDocumentChanges = function () {\n if (this._workspaceEdit.documentChanges === undefined && this._workspaceEdit.changes === undefined) {\n this._changeAnnotations = new ChangeAnnotations();\n this._workspaceEdit.documentChanges = [];\n this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n }\n };\n WorkspaceChange.prototype.initChanges = function () {\n if (this._workspaceEdit.documentChanges === undefined && this._workspaceEdit.changes === undefined) {\n this._workspaceEdit.changes = Object.create(null);\n }\n };\n WorkspaceChange.prototype.createFile = function (uri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = CreateFile.create(uri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = CreateFile.create(uri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n WorkspaceChange.prototype.renameFile = function (oldUri, newUri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = RenameFile.create(oldUri, newUri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = RenameFile.create(oldUri, newUri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n WorkspaceChange.prototype.deleteFile = function (uri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = DeleteFile.create(uri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = DeleteFile.create(uri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n return WorkspaceChange;\n}());\n\n/**\n * The TextDocumentIdentifier namespace provides helper functions to work with\n * [TextDocumentIdentifier](#TextDocumentIdentifier) literals.\n */\nvar TextDocumentIdentifier;\n(function (TextDocumentIdentifier) {\n /**\n * Creates a new TextDocumentIdentifier literal.\n * @param uri The document's uri.\n */\n function create(uri) {\n return { uri: uri };\n }\n TextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [TextDocumentIdentifier](#TextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri);\n }\n TextDocumentIdentifier.is = is;\n})(TextDocumentIdentifier || (TextDocumentIdentifier = {}));\n/**\n * The VersionedTextDocumentIdentifier namespace provides helper functions to work with\n * [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) literals.\n */\nvar VersionedTextDocumentIdentifier;\n(function (VersionedTextDocumentIdentifier) {\n /**\n * Creates a new VersionedTextDocumentIdentifier literal.\n * @param uri The document's uri.\n * @param uri The document's text.\n */\n function create(uri, version) {\n return { uri: uri, version: version };\n }\n VersionedTextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version);\n }\n VersionedTextDocumentIdentifier.is = is;\n})(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));\n/**\n * The OptionalVersionedTextDocumentIdentifier namespace provides helper functions to work with\n * [OptionalVersionedTextDocumentIdentifier](#OptionalVersionedTextDocumentIdentifier) literals.\n */\nvar OptionalVersionedTextDocumentIdentifier;\n(function (OptionalVersionedTextDocumentIdentifier) {\n /**\n * Creates a new OptionalVersionedTextDocumentIdentifier literal.\n * @param uri The document's uri.\n * @param uri The document's text.\n */\n function create(uri, version) {\n return { uri: uri, version: version };\n }\n OptionalVersionedTextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [OptionalVersionedTextDocumentIdentifier](#OptionalVersionedTextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version));\n }\n OptionalVersionedTextDocumentIdentifier.is = is;\n})(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));\n/**\n * The TextDocumentItem namespace provides helper functions to work with\n * [TextDocumentItem](#TextDocumentItem) literals.\n */\nvar TextDocumentItem;\n(function (TextDocumentItem) {\n /**\n * Creates a new TextDocumentItem literal.\n * @param uri The document's uri.\n * @param languageId The document's language identifier.\n * @param version The document's version number.\n * @param text The document's text.\n */\n function create(uri, languageId, version, text) {\n return { uri: uri, languageId: languageId, version: version, text: text };\n }\n TextDocumentItem.create = create;\n /**\n * Checks whether the given literal conforms to the [TextDocumentItem](#TextDocumentItem) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text);\n }\n TextDocumentItem.is = is;\n})(TextDocumentItem || (TextDocumentItem = {}));\n/**\n * Describes the content type that a client supports in various\n * result literals like `Hover`, `ParameterInfo` or `CompletionItem`.\n *\n * Please note that `MarkupKinds` must not start with a `$`. This kinds\n * are reserved for internal usage.\n */\nvar MarkupKind;\n(function (MarkupKind) {\n /**\n * Plain text is supported as a content format\n */\n MarkupKind.PlainText = 'plaintext';\n /**\n * Markdown is supported as a content format\n */\n MarkupKind.Markdown = 'markdown';\n})(MarkupKind || (MarkupKind = {}));\n(function (MarkupKind) {\n /**\n * Checks whether the given value is a value of the [MarkupKind](#MarkupKind) type.\n */\n function is(value) {\n var candidate = value;\n return candidate === MarkupKind.PlainText || candidate === MarkupKind.Markdown;\n }\n MarkupKind.is = is;\n})(MarkupKind || (MarkupKind = {}));\nvar MarkupContent;\n(function (MarkupContent) {\n /**\n * Checks whether the given value conforms to the [MarkupContent](#MarkupContent) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value);\n }\n MarkupContent.is = is;\n})(MarkupContent || (MarkupContent = {}));\n/**\n * The kind of a completion entry.\n */\nvar CompletionItemKind;\n(function (CompletionItemKind) {\n CompletionItemKind.Text = 1;\n CompletionItemKind.Method = 2;\n CompletionItemKind.Function = 3;\n CompletionItemKind.Constructor = 4;\n CompletionItemKind.Field = 5;\n CompletionItemKind.Variable = 6;\n CompletionItemKind.Class = 7;\n CompletionItemKind.Interface = 8;\n CompletionItemKind.Module = 9;\n CompletionItemKind.Property = 10;\n CompletionItemKind.Unit = 11;\n CompletionItemKind.Value = 12;\n CompletionItemKind.Enum = 13;\n CompletionItemKind.Keyword = 14;\n CompletionItemKind.Snippet = 15;\n CompletionItemKind.Color = 16;\n CompletionItemKind.File = 17;\n CompletionItemKind.Reference = 18;\n CompletionItemKind.Folder = 19;\n CompletionItemKind.EnumMember = 20;\n CompletionItemKind.Constant = 21;\n CompletionItemKind.Struct = 22;\n CompletionItemKind.Event = 23;\n CompletionItemKind.Operator = 24;\n CompletionItemKind.TypeParameter = 25;\n})(CompletionItemKind || (CompletionItemKind = {}));\n/**\n * Defines whether the insert text in a completion item should be interpreted as\n * plain text or a snippet.\n */\nvar InsertTextFormat;\n(function (InsertTextFormat) {\n /**\n * The primary text to be inserted is treated as a plain string.\n */\n InsertTextFormat.PlainText = 1;\n /**\n * The primary text to be inserted is treated as a snippet.\n *\n * A snippet can define tab stops and placeholders with `$1`, `$2`\n * and `${3:foo}`. `$0` defines the final tab stop, it defaults to\n * the end of the snippet. Placeholders with equal identifiers are linked,\n * that is typing in one will update others too.\n *\n * See also: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#snippet_syntax\n */\n InsertTextFormat.Snippet = 2;\n})(InsertTextFormat || (InsertTextFormat = {}));\n/**\n * Completion item tags are extra annotations that tweak the rendering of a completion\n * item.\n *\n * @since 3.15.0\n */\nvar CompletionItemTag;\n(function (CompletionItemTag) {\n /**\n * Render a completion as obsolete, usually using a strike-out.\n */\n CompletionItemTag.Deprecated = 1;\n})(CompletionItemTag || (CompletionItemTag = {}));\n/**\n * The InsertReplaceEdit namespace provides functions to deal with insert / replace edits.\n *\n * @since 3.16.0\n */\nvar InsertReplaceEdit;\n(function (InsertReplaceEdit) {\n /**\n * Creates a new insert / replace edit\n */\n function create(newText, insert, replace) {\n return { newText: newText, insert: insert, replace: replace };\n }\n InsertReplaceEdit.create = create;\n /**\n * Checks whether the given literal conforms to the [InsertReplaceEdit](#InsertReplaceEdit) interface.\n */\n function is(value) {\n var candidate = value;\n return candidate && Is.string(candidate.newText) && Range.is(candidate.insert) && Range.is(candidate.replace);\n }\n InsertReplaceEdit.is = is;\n})(InsertReplaceEdit || (InsertReplaceEdit = {}));\n/**\n * How whitespace and indentation is handled during completion\n * item insertion.\n *\n * @since 3.16.0\n */\nvar InsertTextMode;\n(function (InsertTextMode) {\n /**\n * The insertion or replace strings is taken as it is. If the\n * value is multi line the lines below the cursor will be\n * inserted using the indentation defined in the string value.\n * The client will not apply any kind of adjustments to the\n * string.\n */\n InsertTextMode.asIs = 1;\n /**\n * The editor adjusts leading whitespace of new lines so that\n * they match the indentation up to the cursor of the line for\n * which the item is accepted.\n *\n * Consider a line like this: <2tabs><cursor><3tabs>foo. Accepting a\n * multi line completion item is indented using 2 tabs and all\n * following lines inserted will be indented using 2 tabs as well.\n */\n InsertTextMode.adjustIndentation = 2;\n})(InsertTextMode || (InsertTextMode = {}));\n/**\n * The CompletionItem namespace provides functions to deal with\n * completion items.\n */\nvar CompletionItem;\n(function (CompletionItem) {\n /**\n * Create a completion item and seed it with a label.\n * @param label The completion item's label\n */\n function create(label) {\n return { label: label };\n }\n CompletionItem.create = create;\n})(CompletionItem || (CompletionItem = {}));\n/**\n * The CompletionList namespace provides functions to deal with\n * completion lists.\n */\nvar CompletionList;\n(function (CompletionList) {\n /**\n * Creates a new completion list.\n *\n * @param items The completion items.\n * @param isIncomplete The list is not complete.\n */\n function create(items, isIncomplete) {\n return { items: items ? items : [], isIncomplete: !!isIncomplete };\n }\n CompletionList.create = create;\n})(CompletionList || (CompletionList = {}));\nvar MarkedString;\n(function (MarkedString) {\n /**\n * Creates a marked string from plain text.\n *\n * @param plainText The plain text.\n */\n function fromPlainText(plainText) {\n return plainText.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, '\\\\$&'); // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash\n }\n MarkedString.fromPlainText = fromPlainText;\n /**\n * Checks whether the given value conforms to the [MarkedString](#MarkedString) type.\n */\n function is(value) {\n var candidate = value;\n return Is.string(candidate) || (Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value));\n }\n MarkedString.is = is;\n})(MarkedString || (MarkedString = {}));\nvar Hover;\n(function (Hover) {\n /**\n * Checks whether the given value conforms to the [Hover](#Hover) interface.\n */\n function is(value) {\n var candidate = value;\n return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) ||\n MarkedString.is(candidate.contents) ||\n Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === undefined || Range.is(value.range));\n }\n Hover.is = is;\n})(Hover || (Hover = {}));\n/**\n * The ParameterInformation namespace provides helper functions to work with\n * [ParameterInformation](#ParameterInformation) literals.\n */\nvar ParameterInformation;\n(function (ParameterInformation) {\n /**\n * Creates a new parameter information literal.\n *\n * @param label A label string.\n * @param documentation A doc string.\n */\n function create(label, documentation) {\n return documentation ? { label: label, documentation: documentation } : { label: label };\n }\n ParameterInformation.create = create;\n})(ParameterInformation || (ParameterInformation = {}));\n/**\n * The SignatureInformation namespace provides helper functions to work with\n * [SignatureInformation](#SignatureInformation) literals.\n */\nvar SignatureInformation;\n(function (SignatureInformation) {\n function create(label, documentation) {\n var parameters = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n parameters[_i - 2] = arguments[_i];\n }\n var result = { label: label };\n if (Is.defined(documentation)) {\n result.documentation = documentation;\n }\n if (Is.defined(parameters)) {\n result.parameters = parameters;\n }\n else {\n result.parameters = [];\n }\n return result;\n }\n SignatureInformation.create = create;\n})(SignatureInformation || (SignatureInformation = {}));\n/**\n * A document highlight kind.\n */\nvar DocumentHighlightKind;\n(function (DocumentHighlightKind) {\n /**\n * A textual occurrence.\n */\n DocumentHighlightKind.Text = 1;\n /**\n * Read-access of a symbol, like reading a variable.\n */\n DocumentHighlightKind.Read = 2;\n /**\n * Write-access of a symbol, like writing to a variable.\n */\n DocumentHighlightKind.Write = 3;\n})(DocumentHighlightKind || (DocumentHighlightKind = {}));\n/**\n * DocumentHighlight namespace to provide helper functions to work with\n * [DocumentHighlight](#DocumentHighlight) literals.\n */\nvar DocumentHighlight;\n(function (DocumentHighlight) {\n /**\n * Create a DocumentHighlight object.\n * @param range The range the highlight applies to.\n */\n function create(range, kind) {\n var result = { range: range };\n if (Is.number(kind)) {\n result.kind = kind;\n }\n return result;\n }\n DocumentHighlight.create = create;\n})(DocumentHighlight || (DocumentHighlight = {}));\n/**\n * A symbol kind.\n */\nvar SymbolKind;\n(function (SymbolKind) {\n SymbolKind.File = 1;\n SymbolKind.Module = 2;\n SymbolKind.Namespace = 3;\n SymbolKind.Package = 4;\n SymbolKind.Class = 5;\n SymbolKind.Method = 6;\n SymbolKind.Property = 7;\n SymbolKind.Field = 8;\n SymbolKind.Constructor = 9;\n SymbolKind.Enum = 10;\n SymbolKind.Interface = 11;\n SymbolKind.Function = 12;\n SymbolKind.Variable = 13;\n SymbolKind.Constant = 14;\n SymbolKind.String = 15;\n SymbolKind.Number = 16;\n SymbolKind.Boolean = 17;\n SymbolKind.Array = 18;\n SymbolKind.Object = 19;\n SymbolKind.Key = 20;\n SymbolKind.Null = 21;\n SymbolKind.EnumMember = 22;\n SymbolKind.Struct = 23;\n SymbolKind.Event = 24;\n SymbolKind.Operator = 25;\n SymbolKind.TypeParameter = 26;\n})(SymbolKind || (SymbolKind = {}));\n/**\n * Symbol tags are extra annotations that tweak the rendering of a symbol.\n * @since 3.16\n */\nvar SymbolTag;\n(function (SymbolTag) {\n /**\n * Render a symbol as obsolete, usually using a strike-out.\n */\n SymbolTag.Deprecated = 1;\n})(SymbolTag || (SymbolTag = {}));\nvar SymbolInformation;\n(function (SymbolInformation) {\n /**\n * Creates a new symbol information literal.\n *\n * @param name The name of the symbol.\n * @param kind The kind of the symbol.\n * @param range The range of the location of the symbol.\n * @param uri The resource of the location of symbol, defaults to the current document.\n * @param containerName The name of the symbol containing the symbol.\n */\n function create(name, kind, range, uri, containerName) {\n var result = {\n name: name,\n kind: kind,\n location: { uri: uri, range: range }\n };\n if (containerName) {\n result.containerName = containerName;\n }\n return result;\n }\n SymbolInformation.create = create;\n})(SymbolInformation || (SymbolInformation = {}));\nvar DocumentSymbol;\n(function (DocumentSymbol) {\n /**\n * Creates a new symbol information literal.\n *\n * @param name The name of the symbol.\n * @param detail The detail of the symbol.\n * @param kind The kind of the symbol.\n * @param range The range of the symbol.\n * @param selectionRange The selectionRange of the symbol.\n * @param children Children of the symbol.\n */\n function create(name, detail, kind, range, selectionRange, children) {\n var result = {\n name: name,\n detail: detail,\n kind: kind,\n range: range,\n selectionRange: selectionRange\n };\n if (children !== undefined) {\n result.children = children;\n }\n return result;\n }\n DocumentSymbol.create = create;\n /**\n * Checks whether the given literal conforms to the [DocumentSymbol](#DocumentSymbol) interface.\n */\n function is(value) {\n var candidate = value;\n return candidate &&\n Is.string(candidate.name) && Is.number(candidate.kind) &&\n Range.is(candidate.range) && Range.is(candidate.selectionRange) &&\n (candidate.detail === undefined || Is.string(candidate.detail)) &&\n (candidate.deprecated === undefined || Is.boolean(candidate.deprecated)) &&\n (candidate.children === undefined || Array.isArray(candidate.children)) &&\n (candidate.tags === undefined || Array.isArray(candidate.tags));\n }\n DocumentSymbol.is = is;\n})(DocumentSymbol || (DocumentSymbol = {}));\n/**\n * A set of predefined code action kinds\n */\nvar CodeActionKind;\n(function (CodeActionKind) {\n /**\n * Empty kind.\n */\n CodeActionKind.Empty = '';\n /**\n * Base kind for quickfix actions: 'quickfix'\n */\n CodeActionKind.QuickFix = 'quickfix';\n /**\n * Base kind for refactoring actions: 'refactor'\n */\n CodeActionKind.Refactor = 'refactor';\n /**\n * Base kind for refactoring extraction actions: 'refactor.extract'\n *\n * Example extract actions:\n *\n * - Extract method\n * - Extract function\n * - Extract variable\n * - Extract interface from class\n * - ...\n */\n CodeActionKind.RefactorExtract = 'refactor.extract';\n /**\n * Base kind for refactoring inline actions: 'refactor.inline'\n *\n * Example inline actions:\n *\n * - Inline function\n * - Inline variable\n * - Inline constant\n * - ...\n */\n CodeActionKind.RefactorInline = 'refactor.inline';\n /**\n * Base kind for refactoring rewrite actions: 'refactor.rewrite'\n *\n * Example rewrite actions:\n *\n * - Convert JavaScript function to class\n * - Add or remove parameter\n * - Encapsulate field\n * - Make method static\n * - Move method to base class\n * - ...\n */\n CodeActionKind.RefactorRewrite = 'refactor.rewrite';\n /**\n * Base kind for source actions: `source`\n *\n * Source code actions apply to the entire file.\n */\n CodeActionKind.Source = 'source';\n /**\n * Base kind for an organize imports source action: `source.organizeImports`\n */\n CodeActionKind.SourceOrganizeImports = 'source.organizeImports';\n /**\n * Base kind for auto-fix source actions: `source.fixAll`.\n *\n * Fix all actions automatically fix errors that have a clear fix that do not require user input.\n * They should not suppress errors or perform unsafe fixes such as generating new types or classes.\n *\n * @since 3.15.0\n */\n CodeActionKind.SourceFixAll = 'source.fixAll';\n})(CodeActionKind || (CodeActionKind = {}));\n/**\n * The CodeActionContext namespace provides helper functions to work with\n * [CodeActionContext](#CodeActionContext) literals.\n */\nvar CodeActionContext;\n(function (CodeActionContext) {\n /**\n * Creates a new CodeActionContext literal.\n */\n function create(diagnostics, only) {\n var result = { diagnostics: diagnostics };\n if (only !== undefined && only !== null) {\n result.only = only;\n }\n return result;\n }\n CodeActionContext.create = create;\n /**\n * Checks whether the given literal conforms to the [CodeActionContext](#CodeActionContext) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === undefined || Is.typedArray(candidate.only, Is.string));\n }\n CodeActionContext.is = is;\n})(CodeActionContext || (CodeActionContext = {}));\nvar CodeAction;\n(function (CodeAction) {\n function create(title, kindOrCommandOrEdit, kind) {\n var result = { title: title };\n var checkKind = true;\n if (typeof kindOrCommandOrEdit === 'string') {\n checkKind = false;\n result.kind = kindOrCommandOrEdit;\n }\n else if (Command.is(kindOrCommandOrEdit)) {\n result.command = kindOrCommandOrEdit;\n }\n else {\n result.edit = kindOrCommandOrEdit;\n }\n if (checkKind && kind !== undefined) {\n result.kind = kind;\n }\n return result;\n }\n CodeAction.create = create;\n function is(value) {\n var candidate = value;\n return candidate && Is.string(candidate.title) &&\n (candidate.diagnostics === undefined || Is.typedArray(candidate.diagnostics, Diagnostic.is)) &&\n (candidate.kind === undefined || Is.string(candidate.kind)) &&\n (candidate.edit !== undefined || candidate.command !== undefined) &&\n (candidate.command === undefined || Command.is(candidate.command)) &&\n (candidate.isPreferred === undefined || Is.boolean(candidate.isPreferred)) &&\n (candidate.edit === undefined || WorkspaceEdit.is(candidate.edit));\n }\n CodeAction.is = is;\n})(CodeAction || (CodeAction = {}));\n/**\n * The CodeLens namespace provides helper functions to work with\n * [CodeLens](#CodeLens) literals.\n */\nvar CodeLens;\n(function (CodeLens) {\n /**\n * Creates a new CodeLens literal.\n */\n function create(range, data) {\n var result = { range: range };\n if (Is.defined(data)) {\n result.data = data;\n }\n return result;\n }\n CodeLens.create = create;\n /**\n * Checks whether the given literal conforms to the [CodeLens](#CodeLens) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.command) || Command.is(candidate.command));\n }\n CodeLens.is = is;\n})(CodeLens || (CodeLens = {}));\n/**\n * The FormattingOptions namespace provides helper functions to work with\n * [FormattingOptions](#FormattingOptions) literals.\n */\nvar FormattingOptions;\n(function (FormattingOptions) {\n /**\n * Creates a new FormattingOptions literal.\n */\n function create(tabSize, insertSpaces) {\n return { tabSize: tabSize, insertSpaces: insertSpaces };\n }\n FormattingOptions.create = create;\n /**\n * Checks whether the given literal conforms to the [FormattingOptions](#FormattingOptions) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces);\n }\n FormattingOptions.is = is;\n})(FormattingOptions || (FormattingOptions = {}));\n/**\n * The DocumentLink namespace provides helper functions to work with\n * [DocumentLink](#DocumentLink) literals.\n */\nvar DocumentLink;\n(function (DocumentLink) {\n /**\n * Creates a new DocumentLink literal.\n */\n function create(range, target, data) {\n return { range: range, target: target, data: data };\n }\n DocumentLink.create = create;\n /**\n * Checks whether the given literal conforms to the [DocumentLink](#DocumentLink) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target));\n }\n DocumentLink.is = is;\n})(DocumentLink || (DocumentLink = {}));\n/**\n * The SelectionRange namespace provides helper function to work with\n * SelectionRange literals.\n */\nvar SelectionRange;\n(function (SelectionRange) {\n /**\n * Creates a new SelectionRange\n * @param range the range.\n * @param parent an optional parent.\n */\n function create(range, parent) {\n return { range: range, parent: parent };\n }\n SelectionRange.create = create;\n function is(value) {\n var candidate = value;\n return candidate !== undefined && Range.is(candidate.range) && (candidate.parent === undefined || SelectionRange.is(candidate.parent));\n }\n SelectionRange.is = is;\n})(SelectionRange || (SelectionRange = {}));\nvar EOL = ['\\n', '\\r\\n', '\\r'];\n/**\n * @deprecated Use the text document from the new vscode-languageserver-textdocument package.\n */\nvar TextDocument;\n(function (TextDocument) {\n /**\n * Creates a new ITextDocument literal from the given uri and content.\n * @param uri The document's uri.\n * @param languageId The document's language Id.\n * @param content The document's content.\n */\n function create(uri, languageId, version, content) {\n return new FullTextDocument(uri, languageId, version, content);\n }\n TextDocument.create = create;\n /**\n * Checks whether the given literal conforms to the [ITextDocument](#ITextDocument) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount)\n && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false;\n }\n TextDocument.is = is;\n function applyEdits(document, edits) {\n var text = document.getText();\n var sortedEdits = mergeSort(edits, function (a, b) {\n var diff = a.range.start.line - b.range.start.line;\n if (diff === 0) {\n return a.range.start.character - b.range.start.character;\n }\n return diff;\n });\n var lastModifiedOffset = text.length;\n for (var i = sortedEdits.length - 1; i >= 0; i--) {\n var e = sortedEdits[i];\n var startOffset = document.offsetAt(e.range.start);\n var endOffset = document.offsetAt(e.range.end);\n if (endOffset <= lastModifiedOffset) {\n text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length);\n }\n else {\n throw new Error('Overlapping edit');\n }\n lastModifiedOffset = startOffset;\n }\n return text;\n }\n TextDocument.applyEdits = applyEdits;\n function mergeSort(data, compare) {\n if (data.length <= 1) {\n // sorted\n return data;\n }\n var p = (data.length / 2) | 0;\n var left = data.slice(0, p);\n var right = data.slice(p);\n mergeSort(left, compare);\n mergeSort(right, compare);\n var leftIdx = 0;\n var rightIdx = 0;\n var i = 0;\n while (leftIdx < left.length && rightIdx < right.length) {\n var ret = compare(left[leftIdx], right[rightIdx]);\n if (ret <= 0) {\n // smaller_equal -> take left to preserve order\n data[i++] = left[leftIdx++];\n }\n else {\n // greater -> take right\n data[i++] = right[rightIdx++];\n }\n }\n while (leftIdx < left.length) {\n data[i++] = left[leftIdx++];\n }\n while (rightIdx < right.length) {\n data[i++] = right[rightIdx++];\n }\n return data;\n }\n})(TextDocument || (TextDocument = {}));\n/**\n * @deprecated Use the text document from the new vscode-languageserver-textdocument package.\n */\nvar FullTextDocument = /** @class */ (function () {\n function FullTextDocument(uri, languageId, version, content) {\n this._uri = uri;\n this._languageId = languageId;\n this._version = version;\n this._content = content;\n this._lineOffsets = undefined;\n }\n Object.defineProperty(FullTextDocument.prototype, \"uri\", {\n get: function () {\n return this._uri;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FullTextDocument.prototype, \"languageId\", {\n get: function () {\n return this._languageId;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FullTextDocument.prototype, \"version\", {\n get: function () {\n return this._version;\n },\n enumerable: false,\n configurable: true\n });\n FullTextDocument.prototype.getText = function (range) {\n if (range) {\n var start = this.offsetAt(range.start);\n var end = this.offsetAt(range.end);\n return this._content.substring(start, end);\n }\n return this._content;\n };\n FullTextDocument.prototype.update = function (event, version) {\n this._content = event.text;\n this._version = version;\n this._lineOffsets = undefined;\n };\n FullTextDocument.prototype.getLineOffsets = function () {\n if (this._lineOffsets === undefined) {\n var lineOffsets = [];\n var text = this._content;\n var isLineStart = true;\n for (var i = 0; i < text.length; i++) {\n if (isLineStart) {\n lineOffsets.push(i);\n isLineStart = false;\n }\n var ch = text.charAt(i);\n isLineStart = (ch === '\\r' || ch === '\\n');\n if (ch === '\\r' && i + 1 < text.length && text.charAt(i + 1) === '\\n') {\n i++;\n }\n }\n if (isLineStart && text.length > 0) {\n lineOffsets.push(text.length);\n }\n this._lineOffsets = lineOffsets;\n }\n return this._lineOffsets;\n };\n FullTextDocument.prototype.positionAt = function (offset) {\n offset = Math.max(Math.min(offset, this._content.length), 0);\n var lineOffsets = this.getLineOffsets();\n var low = 0, high = lineOffsets.length;\n if (high === 0) {\n return Position.create(0, offset);\n }\n while (low < high) {\n var mid = Math.floor((low + high) / 2);\n if (lineOffsets[mid] > offset) {\n high = mid;\n }\n else {\n low = mid + 1;\n }\n }\n // low is the least x for which the line offset is larger than the current offset\n // or array.length if no line offset is larger than the current offset\n var line = low - 1;\n return Position.create(line, offset - lineOffsets[line]);\n };\n FullTextDocument.prototype.offsetAt = function (position) {\n var lineOffsets = this.getLineOffsets();\n if (position.line >= lineOffsets.length) {\n return this._content.length;\n }\n else if (position.line < 0) {\n return 0;\n }\n var lineOffset = lineOffsets[position.line];\n var nextLineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : this._content.length;\n return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n };\n Object.defineProperty(FullTextDocument.prototype, \"lineCount\", {\n get: function () {\n return this.getLineOffsets().length;\n },\n enumerable: false,\n configurable: true\n });\n return FullTextDocument;\n}());\nvar Is;\n(function (Is) {\n var toString = Object.prototype.toString;\n function defined(value) {\n return typeof value !== 'undefined';\n }\n Is.defined = defined;\n function undefined(value) {\n return typeof value === 'undefined';\n }\n Is.undefined = undefined;\n function boolean(value) {\n return value === true || value === false;\n }\n Is.boolean = boolean;\n function string(value) {\n return toString.call(value) === '[object String]';\n }\n Is.string = string;\n function number(value) {\n return toString.call(value) === '[object Number]';\n }\n Is.number = number;\n function numberRange(value, min, max) {\n return toString.call(value) === '[object Number]' && min <= value && value <= max;\n }\n Is.numberRange = numberRange;\n function integer(value) {\n return toString.call(value) === '[object Number]' && -2147483648 <= value && value <= 2147483647;\n }\n Is.integer = integer;\n function uinteger(value) {\n return toString.call(value) === '[object Number]' && 0 <= value && value <= 2147483647;\n }\n Is.uinteger = uinteger;\n function func(value) {\n return toString.call(value) === '[object Function]';\n }\n Is.func = func;\n function objectLiteral(value) {\n // Strictly speaking class instances pass this check as well. Since the LSP\n // doesn't use classes we ignore this for now. If we do we need to add something\n // like this: `Object.getPrototypeOf(Object.getPrototypeOf(x)) === null`\n return value !== null && typeof value === 'object';\n }\n Is.objectLiteral = objectLiteral;\n function typedArray(value, check) {\n return Array.isArray(value) && value.every(check);\n }\n Is.typedArray = typedArray;\n})(Is || (Is = {}));\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.js?");
409
409
 
410
410
  /***/ }),
411
411
 
@@ -435,7 +435,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
435
435
  \******************************************************************************/
436
436
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
437
437
 
438
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"loadMessageBundle\": () => (/* binding */ loadMessageBundle),\n/* harmony export */ \"config\": () => (/* binding */ config)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\nfunction format(message, args) {\r\n var result;\r\n if (args.length === 0) {\r\n result = message;\r\n }\r\n else {\r\n result = message.replace(/\\{(\\d+)\\}/g, function (match, rest) {\r\n var index = rest[0];\r\n return typeof args[index] !== 'undefined' ? args[index] : match;\r\n });\r\n }\r\n return result;\r\n}\r\nfunction localize(key, message) {\r\n var args = [];\r\n for (var _i = 2; _i < arguments.length; _i++) {\r\n args[_i - 2] = arguments[_i];\r\n }\r\n return format(message, args);\r\n}\r\nfunction loadMessageBundle(file) {\r\n return localize;\r\n}\r\nfunction config(opt) {\r\n return loadMessageBundle;\r\n}\r\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js?");
438
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"config\": () => (/* binding */ config),\n/* harmony export */ \"loadMessageBundle\": () => (/* binding */ loadMessageBundle)\n/* harmony export */ });\n/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\nfunction format(message, args) {\r\n var result;\r\n if (args.length === 0) {\r\n result = message;\r\n }\r\n else {\r\n result = message.replace(/\\{(\\d+)\\}/g, function (match, rest) {\r\n var index = rest[0];\r\n return typeof args[index] !== 'undefined' ? args[index] : match;\r\n });\r\n }\r\n return result;\r\n}\r\nfunction localize(key, message) {\r\n var args = [];\r\n for (var _i = 2; _i < arguments.length; _i++) {\r\n args[_i - 2] = arguments[_i];\r\n }\r\n return format(message, args);\r\n}\r\nfunction loadMessageBundle(file) {\r\n return localize;\r\n}\r\nfunction config(opt) {\r\n return loadMessageBundle;\r\n}\r\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js?");
439
439
 
440
440
  /***/ }),
441
441
 
@@ -445,7 +445,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
445
445
  \****************************************************************************/
446
446
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
447
447
 
448
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"DiagnosticsAdapter\": () => (/* binding */ DiagnosticsAdapter),\n/* harmony export */ \"CompletionAdapter\": () => (/* binding */ CompletionAdapter),\n/* harmony export */ \"HoverAdapter\": () => (/* binding */ HoverAdapter),\n/* harmony export */ \"DocumentHighlightAdapter\": () => (/* binding */ DocumentHighlightAdapter),\n/* harmony export */ \"DefinitionAdapter\": () => (/* binding */ DefinitionAdapter),\n/* harmony export */ \"ReferenceAdapter\": () => (/* binding */ ReferenceAdapter),\n/* harmony export */ \"RenameAdapter\": () => (/* binding */ RenameAdapter),\n/* harmony export */ \"DocumentSymbolAdapter\": () => (/* binding */ DocumentSymbolAdapter),\n/* harmony export */ \"DocumentColorAdapter\": () => (/* binding */ DocumentColorAdapter),\n/* harmony export */ \"FoldingRangeAdapter\": () => (/* binding */ FoldingRangeAdapter),\n/* harmony export */ \"SelectionRangeAdapter\": () => (/* binding */ SelectionRangeAdapter)\n/* harmony export */ });\n/* harmony import */ var _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_deps/vscode-css-languageservice/cssLanguageService.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js\");\n/* harmony import */ var _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fillers/monaco-editor-core.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/monaco-editor-core.js\");\n/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n\r\n// --- diagnostics --- ---\r\nvar DiagnosticsAdapter = /** @class */ (function () {\r\n function DiagnosticsAdapter(_languageId, _worker, defaults) {\r\n var _this = this;\r\n this._languageId = _languageId;\r\n this._worker = _worker;\r\n this._disposables = [];\r\n this._listener = Object.create(null);\r\n var onModelAdd = function (model) {\r\n var modeId = model.getModeId();\r\n if (modeId !== _this._languageId) {\r\n return;\r\n }\r\n var handle;\r\n _this._listener[model.uri.toString()] = model.onDidChangeContent(function () {\r\n window.clearTimeout(handle);\r\n handle = window.setTimeout(function () { return _this._doValidate(model.uri, modeId); }, 500);\r\n });\r\n _this._doValidate(model.uri, modeId);\r\n };\r\n var onModelRemoved = function (model) {\r\n _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.setModelMarkers(model, _this._languageId, []);\r\n var uriStr = model.uri.toString();\r\n var listener = _this._listener[uriStr];\r\n if (listener) {\r\n listener.dispose();\r\n delete _this._listener[uriStr];\r\n }\r\n };\r\n this._disposables.push(_fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.onDidCreateModel(onModelAdd));\r\n this._disposables.push(_fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.onWillDisposeModel(onModelRemoved));\r\n this._disposables.push(_fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.onDidChangeModelLanguage(function (event) {\r\n onModelRemoved(event.model);\r\n onModelAdd(event.model);\r\n }));\r\n defaults.onDidChange(function (_) {\r\n _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.getModels().forEach(function (model) {\r\n if (model.getModeId() === _this._languageId) {\r\n onModelRemoved(model);\r\n onModelAdd(model);\r\n }\r\n });\r\n });\r\n this._disposables.push({\r\n dispose: function () {\r\n for (var key in _this._listener) {\r\n _this._listener[key].dispose();\r\n }\r\n }\r\n });\r\n _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.getModels().forEach(onModelAdd);\r\n }\r\n DiagnosticsAdapter.prototype.dispose = function () {\r\n this._disposables.forEach(function (d) { return d && d.dispose(); });\r\n this._disposables = [];\r\n };\r\n DiagnosticsAdapter.prototype._doValidate = function (resource, languageId) {\r\n this._worker(resource)\r\n .then(function (worker) {\r\n return worker.doValidation(resource.toString());\r\n })\r\n .then(function (diagnostics) {\r\n var markers = diagnostics.map(function (d) { return toDiagnostics(resource, d); });\r\n var model = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.getModel(resource);\r\n if (model && model.getModeId() === languageId) {\r\n _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.setModelMarkers(model, languageId, markers);\r\n }\r\n })\r\n .then(undefined, function (err) {\r\n console.error(err);\r\n });\r\n };\r\n return DiagnosticsAdapter;\r\n}());\r\n\r\nfunction toSeverity(lsSeverity) {\r\n switch (lsSeverity) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity.Error:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Error;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity.Warning:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Warning;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity.Information:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Info;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity.Hint:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Hint;\r\n default:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Info;\r\n }\r\n}\r\nfunction toDiagnostics(resource, diag) {\r\n var code = typeof diag.code === 'number' ? String(diag.code) : diag.code;\r\n return {\r\n severity: toSeverity(diag.severity),\r\n startLineNumber: diag.range.start.line + 1,\r\n startColumn: diag.range.start.character + 1,\r\n endLineNumber: diag.range.end.line + 1,\r\n endColumn: diag.range.end.character + 1,\r\n message: diag.message,\r\n code: code,\r\n source: diag.source\r\n };\r\n}\r\n// --- completion ------\r\nfunction fromPosition(position) {\r\n if (!position) {\r\n return void 0;\r\n }\r\n return { character: position.column - 1, line: position.lineNumber - 1 };\r\n}\r\nfunction fromRange(range) {\r\n if (!range) {\r\n return void 0;\r\n }\r\n return {\r\n start: {\r\n line: range.startLineNumber - 1,\r\n character: range.startColumn - 1\r\n },\r\n end: { line: range.endLineNumber - 1, character: range.endColumn - 1 }\r\n };\r\n}\r\nfunction toRange(range) {\r\n if (!range) {\r\n return void 0;\r\n }\r\n return new _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.Range(range.start.line + 1, range.start.character + 1, range.end.line + 1, range.end.character + 1);\r\n}\r\nfunction isInsertReplaceEdit(edit) {\r\n return (typeof edit.insert !== 'undefined' &&\r\n typeof edit.replace !== 'undefined');\r\n}\r\nfunction toCompletionItemKind(kind) {\r\n var mItemKind = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.CompletionItemKind;\r\n switch (kind) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Text:\r\n return mItemKind.Text;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Method:\r\n return mItemKind.Method;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Function:\r\n return mItemKind.Function;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Constructor:\r\n return mItemKind.Constructor;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Field:\r\n return mItemKind.Field;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Variable:\r\n return mItemKind.Variable;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Class:\r\n return mItemKind.Class;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Interface:\r\n return mItemKind.Interface;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Module:\r\n return mItemKind.Module;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Property:\r\n return mItemKind.Property;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Unit:\r\n return mItemKind.Unit;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Value:\r\n return mItemKind.Value;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Enum:\r\n return mItemKind.Enum;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Keyword:\r\n return mItemKind.Keyword;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Snippet:\r\n return mItemKind.Snippet;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Color:\r\n return mItemKind.Color;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.File:\r\n return mItemKind.File;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Reference:\r\n return mItemKind.Reference;\r\n }\r\n return mItemKind.Property;\r\n}\r\nfunction toTextEdit(textEdit) {\r\n if (!textEdit) {\r\n return void 0;\r\n }\r\n return {\r\n range: toRange(textEdit.range),\r\n text: textEdit.newText\r\n };\r\n}\r\nfunction toCommand(c) {\r\n return c && c.command === 'editor.action.triggerSuggest' ? { id: c.command, title: c.title, arguments: c.arguments } : undefined;\r\n}\r\nvar CompletionAdapter = /** @class */ (function () {\r\n function CompletionAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n Object.defineProperty(CompletionAdapter.prototype, \"triggerCharacters\", {\r\n get: function () {\r\n return ['/', '-', ':'];\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n CompletionAdapter.prototype.provideCompletionItems = function (model, position, context, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.doComplete(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (info) {\r\n if (!info) {\r\n return;\r\n }\r\n var wordInfo = model.getWordUntilPosition(position);\r\n var wordRange = new _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.Range(position.lineNumber, wordInfo.startColumn, position.lineNumber, wordInfo.endColumn);\r\n var items = info.items.map(function (entry) {\r\n var item = {\r\n label: entry.label,\r\n insertText: entry.insertText || entry.label,\r\n sortText: entry.sortText,\r\n filterText: entry.filterText,\r\n documentation: entry.documentation,\r\n detail: entry.detail,\r\n command: toCommand(entry.command),\r\n range: wordRange,\r\n kind: toCompletionItemKind(entry.kind)\r\n };\r\n if (entry.textEdit) {\r\n if (isInsertReplaceEdit(entry.textEdit)) {\r\n item.range = {\r\n insert: toRange(entry.textEdit.insert),\r\n replace: toRange(entry.textEdit.replace)\r\n };\r\n }\r\n else {\r\n item.range = toRange(entry.textEdit.range);\r\n }\r\n item.insertText = entry.textEdit.newText;\r\n }\r\n if (entry.additionalTextEdits) {\r\n item.additionalTextEdits = entry.additionalTextEdits.map(toTextEdit);\r\n }\r\n if (entry.insertTextFormat === _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.InsertTextFormat.Snippet) {\r\n item.insertTextRules = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.CompletionItemInsertTextRule.InsertAsSnippet;\r\n }\r\n return item;\r\n });\r\n return {\r\n isIncomplete: info.isIncomplete,\r\n suggestions: items\r\n };\r\n });\r\n };\r\n return CompletionAdapter;\r\n}());\r\n\r\nfunction isMarkupContent(thing) {\r\n return (thing && typeof thing === 'object' && typeof thing.kind === 'string');\r\n}\r\nfunction toMarkdownString(entry) {\r\n if (typeof entry === 'string') {\r\n return {\r\n value: entry\r\n };\r\n }\r\n if (isMarkupContent(entry)) {\r\n if (entry.kind === 'plaintext') {\r\n return {\r\n value: entry.value.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, '\\\\$&')\r\n };\r\n }\r\n return {\r\n value: entry.value\r\n };\r\n }\r\n return { value: '```' + entry.language + '\\n' + entry.value + '\\n```\\n' };\r\n}\r\nfunction toMarkedStringArray(contents) {\r\n if (!contents) {\r\n return void 0;\r\n }\r\n if (Array.isArray(contents)) {\r\n return contents.map(toMarkdownString);\r\n }\r\n return [toMarkdownString(contents)];\r\n}\r\n// --- hover ------\r\nvar HoverAdapter = /** @class */ (function () {\r\n function HoverAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n HoverAdapter.prototype.provideHover = function (model, position, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.doHover(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (info) {\r\n if (!info) {\r\n return;\r\n }\r\n return {\r\n range: toRange(info.range),\r\n contents: toMarkedStringArray(info.contents)\r\n };\r\n });\r\n };\r\n return HoverAdapter;\r\n}());\r\n\r\n// --- document highlights ------\r\nfunction toDocumentHighlightKind(kind) {\r\n switch (kind) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Read:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.DocumentHighlightKind.Read;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Write:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.DocumentHighlightKind.Write;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Text:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.DocumentHighlightKind.Text;\r\n }\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.DocumentHighlightKind.Text;\r\n}\r\nvar DocumentHighlightAdapter = /** @class */ (function () {\r\n function DocumentHighlightAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n DocumentHighlightAdapter.prototype.provideDocumentHighlights = function (model, position, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.findDocumentHighlights(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (entries) {\r\n if (!entries) {\r\n return;\r\n }\r\n return entries.map(function (entry) {\r\n return {\r\n range: toRange(entry.range),\r\n kind: toDocumentHighlightKind(entry.kind)\r\n };\r\n });\r\n });\r\n };\r\n return DocumentHighlightAdapter;\r\n}());\r\n\r\n// --- definition ------\r\nfunction toLocation(location) {\r\n return {\r\n uri: _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.Uri.parse(location.uri),\r\n range: toRange(location.range)\r\n };\r\n}\r\nvar DefinitionAdapter = /** @class */ (function () {\r\n function DefinitionAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n DefinitionAdapter.prototype.provideDefinition = function (model, position, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.findDefinition(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (definition) {\r\n if (!definition) {\r\n return;\r\n }\r\n return [toLocation(definition)];\r\n });\r\n };\r\n return DefinitionAdapter;\r\n}());\r\n\r\n// --- references ------\r\nvar ReferenceAdapter = /** @class */ (function () {\r\n function ReferenceAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n ReferenceAdapter.prototype.provideReferences = function (model, position, context, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.findReferences(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (entries) {\r\n if (!entries) {\r\n return;\r\n }\r\n return entries.map(toLocation);\r\n });\r\n };\r\n return ReferenceAdapter;\r\n}());\r\n\r\n// --- rename ------\r\nfunction toWorkspaceEdit(edit) {\r\n if (!edit || !edit.changes) {\r\n return void 0;\r\n }\r\n var resourceEdits = [];\r\n for (var uri in edit.changes) {\r\n var _uri = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.Uri.parse(uri);\r\n // let edits: languages.TextEdit[] = [];\r\n for (var _i = 0, _a = edit.changes[uri]; _i < _a.length; _i++) {\r\n var e = _a[_i];\r\n resourceEdits.push({\r\n resource: _uri,\r\n edit: {\r\n range: toRange(e.range),\r\n text: e.newText\r\n }\r\n });\r\n }\r\n }\r\n return {\r\n edits: resourceEdits\r\n };\r\n}\r\nvar RenameAdapter = /** @class */ (function () {\r\n function RenameAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n RenameAdapter.prototype.provideRenameEdits = function (model, position, newName, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.doRename(resource.toString(), fromPosition(position), newName);\r\n })\r\n .then(function (edit) {\r\n return toWorkspaceEdit(edit);\r\n });\r\n };\r\n return RenameAdapter;\r\n}());\r\n\r\n// --- document symbols ------\r\nfunction toSymbolKind(kind) {\r\n var mKind = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.SymbolKind;\r\n switch (kind) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.File:\r\n return mKind.Array;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Module:\r\n return mKind.Module;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Namespace:\r\n return mKind.Namespace;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Package:\r\n return mKind.Package;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Class:\r\n return mKind.Class;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Method:\r\n return mKind.Method;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Property:\r\n return mKind.Property;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Field:\r\n return mKind.Field;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Constructor:\r\n return mKind.Constructor;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Enum:\r\n return mKind.Enum;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Interface:\r\n return mKind.Interface;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Function:\r\n return mKind.Function;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Variable:\r\n return mKind.Variable;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Constant:\r\n return mKind.Constant;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.String:\r\n return mKind.String;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Number:\r\n return mKind.Number;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Boolean:\r\n return mKind.Boolean;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Array:\r\n return mKind.Array;\r\n }\r\n return mKind.Function;\r\n}\r\nvar DocumentSymbolAdapter = /** @class */ (function () {\r\n function DocumentSymbolAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n DocumentSymbolAdapter.prototype.provideDocumentSymbols = function (model, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) { return worker.findDocumentSymbols(resource.toString()); })\r\n .then(function (items) {\r\n if (!items) {\r\n return;\r\n }\r\n return items.map(function (item) { return ({\r\n name: item.name,\r\n detail: '',\r\n containerName: item.containerName,\r\n kind: toSymbolKind(item.kind),\r\n tags: [],\r\n range: toRange(item.location.range),\r\n selectionRange: toRange(item.location.range)\r\n }); });\r\n });\r\n };\r\n return DocumentSymbolAdapter;\r\n}());\r\n\r\nvar DocumentColorAdapter = /** @class */ (function () {\r\n function DocumentColorAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n DocumentColorAdapter.prototype.provideDocumentColors = function (model, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) { return worker.findDocumentColors(resource.toString()); })\r\n .then(function (infos) {\r\n if (!infos) {\r\n return;\r\n }\r\n return infos.map(function (item) { return ({\r\n color: item.color,\r\n range: toRange(item.range)\r\n }); });\r\n });\r\n };\r\n DocumentColorAdapter.prototype.provideColorPresentations = function (model, info, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.getColorPresentations(resource.toString(), info.color, fromRange(info.range));\r\n })\r\n .then(function (presentations) {\r\n if (!presentations) {\r\n return;\r\n }\r\n return presentations.map(function (presentation) {\r\n var item = {\r\n label: presentation.label\r\n };\r\n if (presentation.textEdit) {\r\n item.textEdit = toTextEdit(presentation.textEdit);\r\n }\r\n if (presentation.additionalTextEdits) {\r\n item.additionalTextEdits = presentation.additionalTextEdits.map(toTextEdit);\r\n }\r\n return item;\r\n });\r\n });\r\n };\r\n return DocumentColorAdapter;\r\n}());\r\n\r\nvar FoldingRangeAdapter = /** @class */ (function () {\r\n function FoldingRangeAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n FoldingRangeAdapter.prototype.provideFoldingRanges = function (model, context, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) { return worker.getFoldingRanges(resource.toString(), context); })\r\n .then(function (ranges) {\r\n if (!ranges) {\r\n return;\r\n }\r\n return ranges.map(function (range) {\r\n var result = {\r\n start: range.startLine + 1,\r\n end: range.endLine + 1\r\n };\r\n if (typeof range.kind !== 'undefined') {\r\n result.kind = toFoldingRangeKind(range.kind);\r\n }\r\n return result;\r\n });\r\n });\r\n };\r\n return FoldingRangeAdapter;\r\n}());\r\n\r\nfunction toFoldingRangeKind(kind) {\r\n switch (kind) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind.Comment:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.FoldingRangeKind.Comment;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind.Imports:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.FoldingRangeKind.Imports;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind.Region:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.FoldingRangeKind.Region;\r\n }\r\n}\r\nvar SelectionRangeAdapter = /** @class */ (function () {\r\n function SelectionRangeAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n SelectionRangeAdapter.prototype.provideSelectionRanges = function (model, positions, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) { return worker.getSelectionRanges(resource.toString(), positions.map(fromPosition)); })\r\n .then(function (selectionRanges) {\r\n if (!selectionRanges) {\r\n return;\r\n }\r\n return selectionRanges.map(function (selectionRange) {\r\n var result = [];\r\n while (selectionRange) {\r\n result.push({ range: toRange(selectionRange.range) });\r\n selectionRange = selectionRange.parent;\r\n }\r\n return result;\r\n });\r\n });\r\n };\r\n return SelectionRangeAdapter;\r\n}());\r\n\r\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/languageFeatures.js?");
448
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"CompletionAdapter\": () => (/* binding */ CompletionAdapter),\n/* harmony export */ \"DefinitionAdapter\": () => (/* binding */ DefinitionAdapter),\n/* harmony export */ \"DiagnosticsAdapter\": () => (/* binding */ DiagnosticsAdapter),\n/* harmony export */ \"DocumentColorAdapter\": () => (/* binding */ DocumentColorAdapter),\n/* harmony export */ \"DocumentHighlightAdapter\": () => (/* binding */ DocumentHighlightAdapter),\n/* harmony export */ \"DocumentSymbolAdapter\": () => (/* binding */ DocumentSymbolAdapter),\n/* harmony export */ \"FoldingRangeAdapter\": () => (/* binding */ FoldingRangeAdapter),\n/* harmony export */ \"HoverAdapter\": () => (/* binding */ HoverAdapter),\n/* harmony export */ \"ReferenceAdapter\": () => (/* binding */ ReferenceAdapter),\n/* harmony export */ \"RenameAdapter\": () => (/* binding */ RenameAdapter),\n/* harmony export */ \"SelectionRangeAdapter\": () => (/* binding */ SelectionRangeAdapter)\n/* harmony export */ });\n/* harmony import */ var _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_deps/vscode-css-languageservice/cssLanguageService.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js\");\n/* harmony import */ var _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fillers/monaco-editor-core.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/monaco-editor-core.js\");\n/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n\r\n// --- diagnostics --- ---\r\nvar DiagnosticsAdapter = /** @class */ (function () {\r\n function DiagnosticsAdapter(_languageId, _worker, defaults) {\r\n var _this = this;\r\n this._languageId = _languageId;\r\n this._worker = _worker;\r\n this._disposables = [];\r\n this._listener = Object.create(null);\r\n var onModelAdd = function (model) {\r\n var modeId = model.getModeId();\r\n if (modeId !== _this._languageId) {\r\n return;\r\n }\r\n var handle;\r\n _this._listener[model.uri.toString()] = model.onDidChangeContent(function () {\r\n window.clearTimeout(handle);\r\n handle = window.setTimeout(function () { return _this._doValidate(model.uri, modeId); }, 500);\r\n });\r\n _this._doValidate(model.uri, modeId);\r\n };\r\n var onModelRemoved = function (model) {\r\n _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.setModelMarkers(model, _this._languageId, []);\r\n var uriStr = model.uri.toString();\r\n var listener = _this._listener[uriStr];\r\n if (listener) {\r\n listener.dispose();\r\n delete _this._listener[uriStr];\r\n }\r\n };\r\n this._disposables.push(_fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.onDidCreateModel(onModelAdd));\r\n this._disposables.push(_fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.onWillDisposeModel(onModelRemoved));\r\n this._disposables.push(_fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.onDidChangeModelLanguage(function (event) {\r\n onModelRemoved(event.model);\r\n onModelAdd(event.model);\r\n }));\r\n defaults.onDidChange(function (_) {\r\n _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.getModels().forEach(function (model) {\r\n if (model.getModeId() === _this._languageId) {\r\n onModelRemoved(model);\r\n onModelAdd(model);\r\n }\r\n });\r\n });\r\n this._disposables.push({\r\n dispose: function () {\r\n for (var key in _this._listener) {\r\n _this._listener[key].dispose();\r\n }\r\n }\r\n });\r\n _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.getModels().forEach(onModelAdd);\r\n }\r\n DiagnosticsAdapter.prototype.dispose = function () {\r\n this._disposables.forEach(function (d) { return d && d.dispose(); });\r\n this._disposables = [];\r\n };\r\n DiagnosticsAdapter.prototype._doValidate = function (resource, languageId) {\r\n this._worker(resource)\r\n .then(function (worker) {\r\n return worker.doValidation(resource.toString());\r\n })\r\n .then(function (diagnostics) {\r\n var markers = diagnostics.map(function (d) { return toDiagnostics(resource, d); });\r\n var model = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.getModel(resource);\r\n if (model && model.getModeId() === languageId) {\r\n _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.editor.setModelMarkers(model, languageId, markers);\r\n }\r\n })\r\n .then(undefined, function (err) {\r\n console.error(err);\r\n });\r\n };\r\n return DiagnosticsAdapter;\r\n}());\r\n\r\nfunction toSeverity(lsSeverity) {\r\n switch (lsSeverity) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity.Error:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Error;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity.Warning:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Warning;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity.Information:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Info;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity.Hint:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Hint;\r\n default:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.MarkerSeverity.Info;\r\n }\r\n}\r\nfunction toDiagnostics(resource, diag) {\r\n var code = typeof diag.code === 'number' ? String(diag.code) : diag.code;\r\n return {\r\n severity: toSeverity(diag.severity),\r\n startLineNumber: diag.range.start.line + 1,\r\n startColumn: diag.range.start.character + 1,\r\n endLineNumber: diag.range.end.line + 1,\r\n endColumn: diag.range.end.character + 1,\r\n message: diag.message,\r\n code: code,\r\n source: diag.source\r\n };\r\n}\r\n// --- completion ------\r\nfunction fromPosition(position) {\r\n if (!position) {\r\n return void 0;\r\n }\r\n return { character: position.column - 1, line: position.lineNumber - 1 };\r\n}\r\nfunction fromRange(range) {\r\n if (!range) {\r\n return void 0;\r\n }\r\n return {\r\n start: {\r\n line: range.startLineNumber - 1,\r\n character: range.startColumn - 1\r\n },\r\n end: { line: range.endLineNumber - 1, character: range.endColumn - 1 }\r\n };\r\n}\r\nfunction toRange(range) {\r\n if (!range) {\r\n return void 0;\r\n }\r\n return new _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.Range(range.start.line + 1, range.start.character + 1, range.end.line + 1, range.end.character + 1);\r\n}\r\nfunction isInsertReplaceEdit(edit) {\r\n return (typeof edit.insert !== 'undefined' &&\r\n typeof edit.replace !== 'undefined');\r\n}\r\nfunction toCompletionItemKind(kind) {\r\n var mItemKind = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.CompletionItemKind;\r\n switch (kind) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Text:\r\n return mItemKind.Text;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Method:\r\n return mItemKind.Method;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Function:\r\n return mItemKind.Function;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Constructor:\r\n return mItemKind.Constructor;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Field:\r\n return mItemKind.Field;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Variable:\r\n return mItemKind.Variable;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Class:\r\n return mItemKind.Class;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Interface:\r\n return mItemKind.Interface;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Module:\r\n return mItemKind.Module;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Property:\r\n return mItemKind.Property;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Unit:\r\n return mItemKind.Unit;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Value:\r\n return mItemKind.Value;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Enum:\r\n return mItemKind.Enum;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Keyword:\r\n return mItemKind.Keyword;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Snippet:\r\n return mItemKind.Snippet;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Color:\r\n return mItemKind.Color;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.File:\r\n return mItemKind.File;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Reference:\r\n return mItemKind.Reference;\r\n }\r\n return mItemKind.Property;\r\n}\r\nfunction toTextEdit(textEdit) {\r\n if (!textEdit) {\r\n return void 0;\r\n }\r\n return {\r\n range: toRange(textEdit.range),\r\n text: textEdit.newText\r\n };\r\n}\r\nfunction toCommand(c) {\r\n return c && c.command === 'editor.action.triggerSuggest' ? { id: c.command, title: c.title, arguments: c.arguments } : undefined;\r\n}\r\nvar CompletionAdapter = /** @class */ (function () {\r\n function CompletionAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n Object.defineProperty(CompletionAdapter.prototype, \"triggerCharacters\", {\r\n get: function () {\r\n return ['/', '-', ':'];\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n CompletionAdapter.prototype.provideCompletionItems = function (model, position, context, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.doComplete(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (info) {\r\n if (!info) {\r\n return;\r\n }\r\n var wordInfo = model.getWordUntilPosition(position);\r\n var wordRange = new _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.Range(position.lineNumber, wordInfo.startColumn, position.lineNumber, wordInfo.endColumn);\r\n var items = info.items.map(function (entry) {\r\n var item = {\r\n label: entry.label,\r\n insertText: entry.insertText || entry.label,\r\n sortText: entry.sortText,\r\n filterText: entry.filterText,\r\n documentation: entry.documentation,\r\n detail: entry.detail,\r\n command: toCommand(entry.command),\r\n range: wordRange,\r\n kind: toCompletionItemKind(entry.kind)\r\n };\r\n if (entry.textEdit) {\r\n if (isInsertReplaceEdit(entry.textEdit)) {\r\n item.range = {\r\n insert: toRange(entry.textEdit.insert),\r\n replace: toRange(entry.textEdit.replace)\r\n };\r\n }\r\n else {\r\n item.range = toRange(entry.textEdit.range);\r\n }\r\n item.insertText = entry.textEdit.newText;\r\n }\r\n if (entry.additionalTextEdits) {\r\n item.additionalTextEdits = entry.additionalTextEdits.map(toTextEdit);\r\n }\r\n if (entry.insertTextFormat === _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.InsertTextFormat.Snippet) {\r\n item.insertTextRules = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.CompletionItemInsertTextRule.InsertAsSnippet;\r\n }\r\n return item;\r\n });\r\n return {\r\n isIncomplete: info.isIncomplete,\r\n suggestions: items\r\n };\r\n });\r\n };\r\n return CompletionAdapter;\r\n}());\r\n\r\nfunction isMarkupContent(thing) {\r\n return (thing && typeof thing === 'object' && typeof thing.kind === 'string');\r\n}\r\nfunction toMarkdownString(entry) {\r\n if (typeof entry === 'string') {\r\n return {\r\n value: entry\r\n };\r\n }\r\n if (isMarkupContent(entry)) {\r\n if (entry.kind === 'plaintext') {\r\n return {\r\n value: entry.value.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, '\\\\$&')\r\n };\r\n }\r\n return {\r\n value: entry.value\r\n };\r\n }\r\n return { value: '```' + entry.language + '\\n' + entry.value + '\\n```\\n' };\r\n}\r\nfunction toMarkedStringArray(contents) {\r\n if (!contents) {\r\n return void 0;\r\n }\r\n if (Array.isArray(contents)) {\r\n return contents.map(toMarkdownString);\r\n }\r\n return [toMarkdownString(contents)];\r\n}\r\n// --- hover ------\r\nvar HoverAdapter = /** @class */ (function () {\r\n function HoverAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n HoverAdapter.prototype.provideHover = function (model, position, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.doHover(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (info) {\r\n if (!info) {\r\n return;\r\n }\r\n return {\r\n range: toRange(info.range),\r\n contents: toMarkedStringArray(info.contents)\r\n };\r\n });\r\n };\r\n return HoverAdapter;\r\n}());\r\n\r\n// --- document highlights ------\r\nfunction toDocumentHighlightKind(kind) {\r\n switch (kind) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Read:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.DocumentHighlightKind.Read;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Write:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.DocumentHighlightKind.Write;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Text:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.DocumentHighlightKind.Text;\r\n }\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.DocumentHighlightKind.Text;\r\n}\r\nvar DocumentHighlightAdapter = /** @class */ (function () {\r\n function DocumentHighlightAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n DocumentHighlightAdapter.prototype.provideDocumentHighlights = function (model, position, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.findDocumentHighlights(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (entries) {\r\n if (!entries) {\r\n return;\r\n }\r\n return entries.map(function (entry) {\r\n return {\r\n range: toRange(entry.range),\r\n kind: toDocumentHighlightKind(entry.kind)\r\n };\r\n });\r\n });\r\n };\r\n return DocumentHighlightAdapter;\r\n}());\r\n\r\n// --- definition ------\r\nfunction toLocation(location) {\r\n return {\r\n uri: _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.Uri.parse(location.uri),\r\n range: toRange(location.range)\r\n };\r\n}\r\nvar DefinitionAdapter = /** @class */ (function () {\r\n function DefinitionAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n DefinitionAdapter.prototype.provideDefinition = function (model, position, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.findDefinition(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (definition) {\r\n if (!definition) {\r\n return;\r\n }\r\n return [toLocation(definition)];\r\n });\r\n };\r\n return DefinitionAdapter;\r\n}());\r\n\r\n// --- references ------\r\nvar ReferenceAdapter = /** @class */ (function () {\r\n function ReferenceAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n ReferenceAdapter.prototype.provideReferences = function (model, position, context, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.findReferences(resource.toString(), fromPosition(position));\r\n })\r\n .then(function (entries) {\r\n if (!entries) {\r\n return;\r\n }\r\n return entries.map(toLocation);\r\n });\r\n };\r\n return ReferenceAdapter;\r\n}());\r\n\r\n// --- rename ------\r\nfunction toWorkspaceEdit(edit) {\r\n if (!edit || !edit.changes) {\r\n return void 0;\r\n }\r\n var resourceEdits = [];\r\n for (var uri in edit.changes) {\r\n var _uri = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.Uri.parse(uri);\r\n // let edits: languages.TextEdit[] = [];\r\n for (var _i = 0, _a = edit.changes[uri]; _i < _a.length; _i++) {\r\n var e = _a[_i];\r\n resourceEdits.push({\r\n resource: _uri,\r\n edit: {\r\n range: toRange(e.range),\r\n text: e.newText\r\n }\r\n });\r\n }\r\n }\r\n return {\r\n edits: resourceEdits\r\n };\r\n}\r\nvar RenameAdapter = /** @class */ (function () {\r\n function RenameAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n RenameAdapter.prototype.provideRenameEdits = function (model, position, newName, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.doRename(resource.toString(), fromPosition(position), newName);\r\n })\r\n .then(function (edit) {\r\n return toWorkspaceEdit(edit);\r\n });\r\n };\r\n return RenameAdapter;\r\n}());\r\n\r\n// --- document symbols ------\r\nfunction toSymbolKind(kind) {\r\n var mKind = _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.SymbolKind;\r\n switch (kind) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.File:\r\n return mKind.Array;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Module:\r\n return mKind.Module;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Namespace:\r\n return mKind.Namespace;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Package:\r\n return mKind.Package;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Class:\r\n return mKind.Class;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Method:\r\n return mKind.Method;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Property:\r\n return mKind.Property;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Field:\r\n return mKind.Field;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Constructor:\r\n return mKind.Constructor;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Enum:\r\n return mKind.Enum;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Interface:\r\n return mKind.Interface;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Function:\r\n return mKind.Function;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Variable:\r\n return mKind.Variable;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Constant:\r\n return mKind.Constant;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.String:\r\n return mKind.String;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Number:\r\n return mKind.Number;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Boolean:\r\n return mKind.Boolean;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Array:\r\n return mKind.Array;\r\n }\r\n return mKind.Function;\r\n}\r\nvar DocumentSymbolAdapter = /** @class */ (function () {\r\n function DocumentSymbolAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n DocumentSymbolAdapter.prototype.provideDocumentSymbols = function (model, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) { return worker.findDocumentSymbols(resource.toString()); })\r\n .then(function (items) {\r\n if (!items) {\r\n return;\r\n }\r\n return items.map(function (item) { return ({\r\n name: item.name,\r\n detail: '',\r\n containerName: item.containerName,\r\n kind: toSymbolKind(item.kind),\r\n tags: [],\r\n range: toRange(item.location.range),\r\n selectionRange: toRange(item.location.range)\r\n }); });\r\n });\r\n };\r\n return DocumentSymbolAdapter;\r\n}());\r\n\r\nvar DocumentColorAdapter = /** @class */ (function () {\r\n function DocumentColorAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n DocumentColorAdapter.prototype.provideDocumentColors = function (model, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) { return worker.findDocumentColors(resource.toString()); })\r\n .then(function (infos) {\r\n if (!infos) {\r\n return;\r\n }\r\n return infos.map(function (item) { return ({\r\n color: item.color,\r\n range: toRange(item.range)\r\n }); });\r\n });\r\n };\r\n DocumentColorAdapter.prototype.provideColorPresentations = function (model, info, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) {\r\n return worker.getColorPresentations(resource.toString(), info.color, fromRange(info.range));\r\n })\r\n .then(function (presentations) {\r\n if (!presentations) {\r\n return;\r\n }\r\n return presentations.map(function (presentation) {\r\n var item = {\r\n label: presentation.label\r\n };\r\n if (presentation.textEdit) {\r\n item.textEdit = toTextEdit(presentation.textEdit);\r\n }\r\n if (presentation.additionalTextEdits) {\r\n item.additionalTextEdits = presentation.additionalTextEdits.map(toTextEdit);\r\n }\r\n return item;\r\n });\r\n });\r\n };\r\n return DocumentColorAdapter;\r\n}());\r\n\r\nvar FoldingRangeAdapter = /** @class */ (function () {\r\n function FoldingRangeAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n FoldingRangeAdapter.prototype.provideFoldingRanges = function (model, context, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) { return worker.getFoldingRanges(resource.toString(), context); })\r\n .then(function (ranges) {\r\n if (!ranges) {\r\n return;\r\n }\r\n return ranges.map(function (range) {\r\n var result = {\r\n start: range.startLine + 1,\r\n end: range.endLine + 1\r\n };\r\n if (typeof range.kind !== 'undefined') {\r\n result.kind = toFoldingRangeKind(range.kind);\r\n }\r\n return result;\r\n });\r\n });\r\n };\r\n return FoldingRangeAdapter;\r\n}());\r\n\r\nfunction toFoldingRangeKind(kind) {\r\n switch (kind) {\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind.Comment:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.FoldingRangeKind.Comment;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind.Imports:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.FoldingRangeKind.Imports;\r\n case _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind.Region:\r\n return _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_1__.languages.FoldingRangeKind.Region;\r\n }\r\n}\r\nvar SelectionRangeAdapter = /** @class */ (function () {\r\n function SelectionRangeAdapter(_worker) {\r\n this._worker = _worker;\r\n }\r\n SelectionRangeAdapter.prototype.provideSelectionRanges = function (model, positions, token) {\r\n var resource = model.uri;\r\n return this._worker(resource)\r\n .then(function (worker) { return worker.getSelectionRanges(resource.toString(), positions.map(fromPosition)); })\r\n .then(function (selectionRanges) {\r\n if (!selectionRanges) {\r\n return;\r\n }\r\n return selectionRanges.map(function (selectionRange) {\r\n var result = [];\r\n while (selectionRange) {\r\n result.push({ range: toRange(selectionRange.range) });\r\n selectionRange = selectionRange.parent;\r\n }\r\n return result;\r\n });\r\n });\r\n };\r\n return SelectionRangeAdapter;\r\n}());\r\n\r\n\n\n//# sourceURL=webpack://open-lens/./node_modules/monaco-editor/esm/vs/language/css/languageFeatures.js?");
449
449
 
450
450
  /***/ }),
451
451