@wyltils/ems-editor 1.0.47 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var j$e = Object.defineProperty;
2
2
  var q$e = (n, e, t) => e in n ? j$e(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var xs = (n, e, t) => q$e(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as Cr, createElementBlock as ke, openBlock as ee, createElementVNode as te, reactive as Mu, onBeforeUnmount as ho, h as dC, Fragment as si, markRaw as K$e, Teleport as JIe, createApp as Y$e, useCssVars as Voe, ref as Ge, inject as Li, provide as yu, onMounted as Js, createCommentVNode as nt, normalizeStyle as Vi, renderSlot as h8, computed as ui, unref as mt, toDisplayString as ro, watch as Fn, resolveComponent as we, createBlock as it, withCtx as X, renderList as hs, createTextVNode as Yi, nextTick as N0, normalizeClass as Is, createVNode as V, withModifiers as QIe, isRef as X$e, getCurrentInstance as Boe, readonly as eke, getCurrentScope as Z$e, onScopeDispose as J$e, shallowRef as Q$e, useSlots as eUe, withDirectives as MM, vModelText as tUe, vShow as u8, pushScopeId as kT, popScopeId as NT, resolveDynamicComponent as $ge, mergeProps as Uge } from "vue";
5
- import iUe, { ElMessageBox as BY, ElMessage as er } from "element-plus";
4
+ import { defineComponent as Cr, createElementBlock as ke, openBlock as ee, createElementVNode as te, reactive as Mu, onBeforeUnmount as ho, h as dC, Fragment as si, markRaw as K$e, Teleport as JIe, createApp as Y$e, useCssVars as Voe, ref as Ge, inject as Li, provide as yu, onMounted as Qs, createCommentVNode as nt, normalizeStyle as Vi, renderSlot as h8, computed as ui, unref as mt, toDisplayString as ro, watch as Fn, resolveComponent as we, createBlock as it, withCtx as X, renderList as hs, createTextVNode as Yi, nextTick as N0, normalizeClass as Is, createVNode as V, withModifiers as QIe, isRef as X$e, getCurrentInstance as Boe, readonly as eke, getCurrentScope as Z$e, onScopeDispose as J$e, shallowRef as Q$e, useSlots as eUe, withDirectives as MM, vModelText as tUe, vShow as u8, pushScopeId as kT, popScopeId as NT, resolveDynamicComponent as $ge, mergeProps as Uge } from "vue";
5
+ import iUe, { ElMessageBox as BY, ElMessage as $s } from "element-plus";
6
6
  import { defineStore as Woe, storeToRefs as MT } from "pinia";
7
7
  import * as fo from "monaco-editor";
8
8
  /*! Element Plus Icons Vue v2.3.2 */
@@ -24515,7 +24515,7 @@ const Vn = (n, e) => {
24515
24515
  }, a = ({ current: l }) => {
24516
24516
  i.value = { ...i.value, ...l };
24517
24517
  };
24518
- return yu("x6NodeData", i), yu("width", s), yu("height", r), Js(() => {
24518
+ return yu("x6NodeData", i), yu("width", s), yu("height", r), Qs(() => {
24519
24519
  s.value = t.size().width, r.value = t.size().height, t.on("change:data", a), t.on("change:size", o);
24520
24520
  }), ho(() => {
24521
24521
  t.off("change:data", a), t.off("change:size", o);
@@ -24548,7 +24548,7 @@ const Vn = (n, e) => {
24548
24548
  color: ((a = i.value) == null ? void 0 : a.color) || "#ffffff"
24549
24549
  };
24550
24550
  });
24551
- return Js(() => {
24551
+ return Qs(() => {
24552
24552
  }), ho(() => {
24553
24553
  }), (a, l) => (ee(), ke("div", _rt, [
24554
24554
  mt(i).svgContent ? (ee(), ke("div", {
@@ -24700,15 +24700,11 @@ const Ert = { class: "formNode" }, Irt = {
24700
24700
  return "YYYY";
24701
24701
  }
24702
24702
  }, c = Ge(!1), h = () => {
24703
- o.value.buttonConfirm ? BY.confirm(
24704
- o.value.buttonConfirmTips,
24705
- "提示",
24706
- {
24707
- confirmButtonText: "确定",
24708
- cancelButtonText: "取消",
24709
- type: "warning"
24710
- }
24711
- ).then(() => {
24703
+ o.value.buttonConfirm ? BY.confirm(o.value.buttonConfirmTips, "提示", {
24704
+ confirmButtonText: "确定",
24705
+ cancelButtonText: "取消",
24706
+ type: "warning"
24707
+ }).then(() => {
24712
24708
  s.value.dataSource.type == "http" && d(i);
24713
24709
  }).catch(() => {
24714
24710
  }) : (console.log(a.value, s.value), setTimeout(() => {
@@ -24731,13 +24727,13 @@ const Ert = { class: "formNode" }, Irt = {
24731
24727
  c.value = !0;
24732
24728
  try {
24733
24729
  r.httpRequest(m).then((v) => {
24734
- c.value = !1, v && m.parse && g(v, p.id), o.value.buttonSuccess && er.success(o.value.buttonSuccessTips);
24730
+ c.value = !1, v && v.success && m.parse && (g(v, p.id), o.value.buttonSuccess && $s.success(o.value.buttonSuccessTips)), v && !v.success && m.parse && (g(v, p.id), o.value.buttonError && $s.error(v.msg || "操作失败!"));
24735
24731
  });
24736
24732
  } catch (v) {
24737
- c.value = !1, er.error("操作失败!"), console.error(v);
24733
+ c.value = !1, $s.error("操作失败!"), console.error(v);
24738
24734
  }
24739
24735
  } else
24740
- er.error("未绑定请求!");
24736
+ $s.error("未绑定请求!");
24741
24737
  }, f = (p) => {
24742
24738
  g({}, p.id);
24743
24739
  }, g = (p, m) => {
@@ -24751,7 +24747,9 @@ const Ert = { class: "formNode" }, Irt = {
24751
24747
  let y = {};
24752
24748
  (b = _.dataSource.bindNode) == null || b.forEach((x) => {
24753
24749
  const L = e.getCellById(x).getData(), D = L.dataSource.fields;
24754
- y[e.getCellById(x).getData().name] = Object.keys(D).reduce((T, E) => (T[E] = Oae(L, D[E]) ?? null, T), {});
24750
+ y[e.getCellById(x).getData().name] = Object.keys(
24751
+ D
24752
+ ).reduce((T, E) => (T[E] = Oae(L, D[E]) ?? null, T), {});
24755
24753
  });
24756
24754
  const w = new Function("data", "$", _.dataSource.parse);
24757
24755
  _.dataSource.type == "opcua" ? w({ payload: p, pointTemp: _.dataSource.point }, y) : (_.dataSource.type == "http" || _.dataSource.type == "node") && w(p, y);
@@ -24767,13 +24765,16 @@ const Ert = { class: "formNode" }, Irt = {
24767
24765
  Object.keys(T).forEach((E) => {
24768
24766
  if (T[E] !== null) {
24769
24767
  const I = D[E], k = T[E];
24770
- L.setData(vH(L.getData(), I, k), { deep: !1 });
24768
+ L.setData(
24769
+ vH(L.getData(), I, k),
24770
+ { deep: !1 }
24771
+ );
24771
24772
  }
24772
24773
  });
24773
24774
  }
24774
24775
  }
24775
24776
  } else
24776
- er.error("没有执行操作!");
24777
+ $s.error("没有执行操作!");
24777
24778
  };
24778
24779
  return (p, m) => {
24779
24780
  const v = we("el-input"), _ = we("el-switch"), b = we("el-option"), y = we("el-select"), w = we("el-date-picker"), S = we("el-input-number"), x = we("el-button");
@@ -24792,7 +24793,10 @@ const Ert = { class: "formNode" }, Irt = {
24792
24793
  "onUpdate:modelValue": m[1] || (m[1] = (L) => a.value = L),
24793
24794
  size: o.value.size,
24794
24795
  class: "ml-2",
24795
- style: Vi({ "--el-switch-on-color": o.value.buttonOnColor, "--el-switch-off-color": o.value.buttonOffColor }),
24796
+ style: Vi({
24797
+ "--el-switch-on-color": o.value.buttonOnColor,
24798
+ "--el-switch-off-color": o.value.buttonOffColor
24799
+ }),
24796
24800
  onChange: h
24797
24801
  }, null, 8, ["modelValue", "size", "style"])) : nt("", !0),
24798
24802
  mt(s).type == "select" ? (ee(), it(y, {
@@ -24889,12 +24893,12 @@ const Ert = { class: "formNode" }, Irt = {
24889
24893
  ]);
24890
24894
  };
24891
24895
  }
24892
- }, krt = /* @__PURE__ */ Vn(Irt, [["__scopeId", "data-v-b8c42194"]]), HAe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAADMElEQVR4AeyZPYgTQRTH39topXKXXU/lUFAkEVstchYBBQsrscmhaHGFCkkQPxALG8/C6vA7u0GuOBBFSGMjNoofYCPYa7IHd4WFIGRF7c7L+N5e9pLL7W52klw2C1nmZWbfzM78f/smO8msAhE/hgBhB3AYgWEEurwD9hRSdfNe3DDfR8qK5llmV1TDvA8IVxHgaKRMwDNVL09zBCaBDgHwIUpGkgFQucAA40AHitpHK5c4FgVjrSSZ0zgDcCGyNgQIO3QDE4HR4te9ml6Z0ozyqZ1Pf2wJemMGAkA1Kk8UsWlBIM4JUF4u/f3zXeXHewCK0AE0wzQA8CKsPUbp9AotrF+2PjLHqOyZQgWIF8unae3JeqmjhfXw5hhkvOrZHyoA1vAki/A1hAm/+lABSNgIWbu0x69BuAAKlv3EcR0iLnLuZaEC0BPnnZcwxy9AvHXKbrkEgNvl3fms7P5XIGq3vXoRCAUrm3juVc/+UAFYQDV/YLoO8ZnPhYCfAOIT3fkbJP4S+/ysI4AxfWGXWpyf8+tYpo4hqrnEBBla+cSOai6ZtnLJmSB9dASwjMslEGJK1SvXgwyykW2kAWiJv0YhTtuiEGdUff6EXQ7pQwpg5PG3faTzLlkjoSips+buhqO/JSmAWCz2wkXeNvgHJRd/X1yBAehH101SlCJbnwQcoak1u77C20PtM2RdgwcC0PTFgwLgjrccu+Y8fakv26U2HyScf6Cx+K4hAgEIXAr2yER8oBmV4376m8Q7zbqCaAug0t4LjeQ+daiiNQnAEq8TrX4+dxHPbraOIXwBthfMQ4DKLR5BwuL2OtFygY94p2VHEL4ANQXo35LTv0wu0pr9T2vlmgDiVxoCSEN4AshOHUeBkwuALEHkJcQ7l0pBuAJohUqqg6njCFjNCaJAJ/y0oUwqBYZwBRAKPpQabmMaB4JYA8DTho30pMgGIdkQrKnZmoU1APhp41hzi/DLGXB0Ned1XQ2AuiNq2RAg7IhxBH71XET/OvzNAG/6N16vRxKvlWouMck7ALToROodGW25nKvmkmc4AmDRDoAVkfdjqzrr+0U2QK8D28/+Ig/wHwAA///iiMh1AAAABklEQVQDAClVhH+eelZjAAAAAElFTkSuQmCC", Nrt = { class: "imgNode" }, Mrt = ["src"], Art = {
24896
+ }, krt = /* @__PURE__ */ Vn(Irt, [["__scopeId", "data-v-a11b243d"]]), HAe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAADMElEQVR4AeyZPYgTQRTH39topXKXXU/lUFAkEVstchYBBQsrscmhaHGFCkkQPxALG8/C6vA7u0GuOBBFSGMjNoofYCPYa7IHd4WFIGRF7c7L+N5e9pLL7W52klw2C1nmZWbfzM78f/smO8msAhE/hgBhB3AYgWEEurwD9hRSdfNe3DDfR8qK5llmV1TDvA8IVxHgaKRMwDNVL09zBCaBDgHwIUpGkgFQucAA40AHitpHK5c4FgVjrSSZ0zgDcCGyNgQIO3QDE4HR4te9ml6Z0ozyqZ1Pf2wJemMGAkA1Kk8UsWlBIM4JUF4u/f3zXeXHewCK0AE0wzQA8CKsPUbp9AotrF+2PjLHqOyZQgWIF8unae3JeqmjhfXw5hhkvOrZHyoA1vAki/A1hAm/+lABSNgIWbu0x69BuAAKlv3EcR0iLnLuZaEC0BPnnZcwxy9AvHXKbrkEgNvl3fms7P5XIGq3vXoRCAUrm3juVc/+UAFYQDV/YLoO8ZnPhYCfAOIT3fkbJP4S+/ysI4AxfWGXWpyf8+tYpo4hqrnEBBla+cSOai6ZtnLJmSB9dASwjMslEGJK1SvXgwyykW2kAWiJv0YhTtuiEGdUff6EXQ7pQwpg5PG3faTzLlkjoSips+buhqO/JSmAWCz2wkXeNvgHJRd/X1yBAehH101SlCJbnwQcoak1u77C20PtM2RdgwcC0PTFgwLgjrccu+Y8fakv26U2HyScf6Cx+K4hAgEIXAr2yER8oBmV4376m8Q7zbqCaAug0t4LjeQ+daiiNQnAEq8TrX4+dxHPbraOIXwBthfMQ4DKLR5BwuL2OtFygY94p2VHEL4ANQXo35LTv0wu0pr9T2vlmgDiVxoCSEN4AshOHUeBkwuALEHkJcQ7l0pBuAJohUqqg6njCFjNCaJAJ/y0oUwqBYZwBRAKPpQabmMaB4JYA8DTho30pMgGIdkQrKnZmoU1APhp41hzi/DLGXB0Ned1XQ2AuiNq2RAg7IhxBH71XET/OvzNAG/6N16vRxKvlWouMck7ALToROodGW25nKvmkmc4AmDRDoAVkfdjqzrr+0U2QK8D28/+Ig/wHwAA///iiMh1AAAABklEQVQDAClVhH+eelZjAAAAAElFTkSuQmCC", Nrt = { class: "imgNode" }, Mrt = ["src"], Art = {
24893
24897
  __name: "imageNode",
24894
24898
  setup(n) {
24895
24899
  Li("getNode");
24896
24900
  const e = Li("x6NodeData"), t = ui(() => ({ width: `${e.value.imgWidth ?? 50}px`, height: `${e.value.imgHeight ?? 50}px` }));
24897
- return Js(() => {
24901
+ return Qs(() => {
24898
24902
  }), ho(() => {
24899
24903
  }), (i, s) => (ee(), ke("div", Nrt, [
24900
24904
  te("img", {
@@ -24989,7 +24993,7 @@ const Ert = { class: "formNode" }, Irt = {
24989
24993
  const w = g.value;
24990
24994
  w && (c.value = w.scrollHeight > w.clientHeight);
24991
24995
  }, g = Ge(null);
24992
- Js(() => {
24996
+ Qs(() => {
24993
24997
  N0(f), window.addEventListener("resize", f);
24994
24998
  }), ho(() => {
24995
24999
  window.removeEventListener("resize", f);
@@ -69008,7 +69012,7 @@ const BLt = {
69008
69012
  }, h = WAe(() => {
69009
69013
  r && r.resize();
69010
69014
  }, 200);
69011
- return Js(() => {
69015
+ return Qs(() => {
69012
69016
  a.value && setTimeout(() => {
69013
69017
  r = Mdt(s.value), c(a.value);
69014
69018
  }, 200), s.value && (o = new ResizeObserver(() => {
@@ -69593,7 +69597,7 @@ const BLt = {
69593
69597
  }
69594
69598
  }
69595
69599
  };
69596
- return Js(() => {
69600
+ return Qs(() => {
69597
69601
  r.value = !0;
69598
69602
  }), (d, f) => {
69599
69603
  const g = we("el-option"), p = we("el-select"), m = we("el-form-item"), v = we("el-input"), _ = we("el-form"), b = we("el-button"), y = we("el-dialog");
@@ -69702,7 +69706,7 @@ const BLt = {
69702
69706
  r("close");
69703
69707
  }
69704
69708
  let a = null;
69705
- return Js(() => {
69709
+ return Qs(() => {
69706
69710
  const { width: l, height: c } = t.style;
69707
69711
  a = new Se({
69708
69712
  container: i.value,
@@ -69755,7 +69759,7 @@ const BLt = {
69755
69759
  s.value = !0;
69756
69760
  }, o = () => {
69757
69761
  e.saveMenu(() => {
69758
- er.success("保存成功!"), e.loadAllMenus();
69762
+ $s.success("保存成功!"), e.loadAllMenus();
69759
69763
  });
69760
69764
  };
69761
69765
  function a(b) {
@@ -69765,19 +69769,19 @@ const BLt = {
69765
69769
  const l = () => {
69766
69770
  BY.confirm("确认清空画布吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
69767
69771
  e.clearMenu(() => {
69768
- er.success("清空成功!");
69772
+ $s.success("清空成功!");
69769
69773
  });
69770
69774
  });
69771
69775
  }, c = () => {
69772
69776
  if (!t.groupSelectedNodes()) {
69773
- er.warning("请先框选至少两个节点后再组合");
69777
+ $s.warning("请先框选至少两个节点后再组合");
69774
69778
  return;
69775
69779
  }
69776
- er.success("组合完成");
69780
+ $s.success("组合完成");
69777
69781
  }, h = () => {
69778
69782
  BY.confirm("确认删除画布吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
69779
69783
  e.removeMenu(() => {
69780
- er.success("删除成功!");
69784
+ $s.success("删除成功!");
69781
69785
  });
69782
69786
  });
69783
69787
  }, u = Ge(!1), d = () => {
@@ -69801,7 +69805,7 @@ const BLt = {
69801
69805
  return T.isNode && T.isNode() && !((E = T.id) != null && E.includes("line"));
69802
69806
  });
69803
69807
  if (w.length < 2) {
69804
- er.warning("请先框选至少两个节点");
69808
+ $s.warning("请先框选至少两个节点");
69805
69809
  return;
69806
69810
  }
69807
69811
  const S = w.reduce(
@@ -69817,7 +69821,7 @@ const BLt = {
69817
69821
  x === "1" ? R = S.minY : x === "2" ? R = L - E.height / 2 : x === "3" ? R = S.maxY - E.height : x === "4" ? N = S.minX : x === "5" ? N = D - E.width / 2 : x === "6" && (N = S.maxX - E.width), T.position(N, R);
69818
69822
  });
69819
69823
  };
69820
- return Js(() => {
69824
+ return Qs(() => {
69821
69825
  window.addEventListener("keydown", a);
69822
69826
  }), ho(() => {
69823
69827
  window.removeEventListener("keydown", a);
@@ -70058,7 +70062,7 @@ const BLt = {
70058
70062
  props: ["width", "height"],
70059
70063
  setup(n) {
70060
70064
  const e = aE(), t = io(), { style: i } = MT(t), s = n, r = Ge(null), o = Pae(), a = Li("topoApi");
70061
- return yu("graph", () => t.graph), Js(() => {
70065
+ return yu("graph", () => t.graph), Qs(() => {
70062
70066
  t.el = r.value, t.style.height = s.height || 1080, t.style.width = s.width || 1920, t.init(), e.services = a, e.loadAllMenus(!0);
70063
70067
  }), ho(() => {
70064
70068
  t.graph && t.graph.dispose();
@@ -70083,7 +70087,7 @@ const BLt = {
70083
70087
  const e = aE(), { menus: t, current: i } = MT(e), s = (r, o) => {
70084
70088
  e.setCurrentMenu(o);
70085
70089
  };
70086
- return Js(() => {
70090
+ return Qs(() => {
70087
70091
  }), (r, o) => {
70088
70092
  const a = we("el-icon"), l = we("el-menu-item"), c = we("el-sub-menu"), h = we("el-menu");
70089
70093
  return ee(), ke("div", p2t, [
@@ -70800,34 +70804,124 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70800
70804
  name: "基础",
70801
70805
  layout: "1fr 1fr 1fr",
70802
70806
  list: [
70803
- { name: "线段", renderType: "svg", icon: "icon-xianduan", data: { type: "line" } },
70804
- { name: "文本", renderType: "text", icon: "icon-wenzi", data: { type: "text", text: "测试" } },
70805
- { name: "图标", renderType: "svg", icon: "icon-tubiao", data: { type: "svg" } },
70806
- { name: "图片", renderType: "image", icon: "icon-tupian", data: { type: "img", imgData: HAe, imgWidth: 48, imgHeight: 48 } },
70807
- { name: "矩形", renderType: "text", icon: "icon-xingzhuang-juxing", data: { type: "text", text: "", borderWidth: 1, borderStyle: "solid" } },
70808
- { name: "圆形", renderType: "text", icon: "icon-radio-on-full", data: { type: "text", text: "", borderRadius: 25, backgroundColor: "rgb(242, 255, 0)" } }
70807
+ {
70808
+ name: "线段",
70809
+ renderType: "svg",
70810
+ icon: "icon-xianduan",
70811
+ data: { type: "line" }
70812
+ },
70813
+ {
70814
+ name: "文本",
70815
+ renderType: "text",
70816
+ icon: "icon-wenzi",
70817
+ data: { type: "text", text: "测试" }
70818
+ },
70819
+ {
70820
+ name: "图标",
70821
+ renderType: "svg",
70822
+ icon: "icon-tubiao",
70823
+ data: { type: "svg" }
70824
+ },
70825
+ {
70826
+ name: "图片",
70827
+ renderType: "image",
70828
+ icon: "icon-tupian",
70829
+ data: { type: "img", imgData: HAe, imgWidth: 48, imgHeight: 48 }
70830
+ },
70831
+ {
70832
+ name: "矩形",
70833
+ renderType: "text",
70834
+ icon: "icon-xingzhuang-juxing",
70835
+ data: {
70836
+ type: "text",
70837
+ text: "",
70838
+ borderWidth: 1,
70839
+ borderStyle: "solid"
70840
+ }
70841
+ },
70842
+ {
70843
+ name: "圆形",
70844
+ renderType: "text",
70845
+ icon: "icon-radio-on-full",
70846
+ data: {
70847
+ type: "text",
70848
+ text: "",
70849
+ borderRadius: 25,
70850
+ backgroundColor: "rgb(242, 255, 0)"
70851
+ }
70852
+ }
70809
70853
  ]
70810
70854
  },
70811
70855
  {
70812
70856
  name: "表单",
70813
70857
  layout: "1fr 1fr 1fr",
70814
70858
  list: [
70815
- { name: "按钮", renderType: "form", icon: "icon-biaodanzujian-anniu", data: { type: "button" } },
70816
- { name: "开关", renderType: "form", icon: "icon-kaiguan-1", data: { type: "switch" } },
70817
- { name: "文本输入框", renderType: "form", icon: "icon-biaodanzujian-shurukuang", data: { type: "input" } },
70818
- { name: "数字输入框", renderType: "form", icon: "icon-shuzhi", data: { type: "number" } },
70819
- { name: "单选框", renderType: "form", icon: "icon-biaodanzujian-xialakuang", data: { type: "select" } },
70820
- { name: "多选框", renderType: "form", icon: "icon-biaodanzujian-xialakuang", data: { type: "selectMore" } },
70821
- { name: "日期框", renderType: "form", icon: "icon-riqikuang", data: { type: "date" } },
70822
- { name: "日期范围", renderType: "form", icon: "icon-riqifanwei", data: { type: "dateRange" } },
70823
- { name: "计划时间面板", renderType: "planTime", icon: "icon-jihuashijian", data: { type: "planTime" } }
70859
+ {
70860
+ name: "按钮",
70861
+ renderType: "form",
70862
+ icon: "icon-biaodanzujian-anniu",
70863
+ data: { type: "button" }
70864
+ },
70865
+ {
70866
+ name: "开关",
70867
+ renderType: "form",
70868
+ icon: "icon-kaiguan-1",
70869
+ data: { type: "switch" }
70870
+ },
70871
+ {
70872
+ name: "文本输入框",
70873
+ renderType: "form",
70874
+ icon: "icon-biaodanzujian-shurukuang",
70875
+ data: { type: "input" }
70876
+ },
70877
+ {
70878
+ name: "数字输入框",
70879
+ renderType: "form",
70880
+ icon: "icon-shuzhi",
70881
+ data: { type: "number" }
70882
+ },
70883
+ {
70884
+ name: "单选框",
70885
+ renderType: "form",
70886
+ icon: "icon-biaodanzujian-xialakuang",
70887
+ data: { type: "select" }
70888
+ },
70889
+ {
70890
+ name: "多选框",
70891
+ renderType: "form",
70892
+ icon: "icon-biaodanzujian-xialakuang",
70893
+ data: { type: "selectMore" }
70894
+ },
70895
+ {
70896
+ name: "日期框",
70897
+ renderType: "form",
70898
+ icon: "icon-riqikuang",
70899
+ data: { type: "date" }
70900
+ },
70901
+ {
70902
+ name: "日期范围",
70903
+ renderType: "form",
70904
+ icon: "icon-riqifanwei",
70905
+ data: { type: "dateRange" }
70906
+ },
70907
+ {
70908
+ name: "计划时间面板",
70909
+ renderType: "planTime",
70910
+ icon: "icon-jihuashijian",
70911
+ data: { type: "planTime" }
70912
+ }
70824
70913
  ]
70825
70914
  },
70826
70915
  {
70827
70916
  name: "表格",
70828
70917
  layout: "1fr 1fr 1fr",
70829
70918
  list: [
70830
- { name: "列表", renderType: "table", icon: "icon-biaodanzujian-biaoge", data: { type: "table-1" } }
70919
+ {
70920
+ name: "列表",
70921
+ renderType: "table",
70922
+ icon: "icon-biaodanzujian-biaoge",
70923
+ data: { type: "table-1" }
70924
+ }
70831
70925
  ]
70832
70926
  }
70833
70927
  ]
@@ -70863,25 +70957,60 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70863
70957
  name: "折线图",
70864
70958
  layout: "1fr 1fr 1fr",
70865
70959
  list: [
70866
- { name: "折线图", renderType: "echart", icon: "icon-tubiao-zhexiantu", data: { type: "echart_1" } },
70867
- { name: "面积图", renderType: "echart", icon: "icon-tubiao-zhexiantu", data: { type: "echart_2" } },
70868
- { name: "双Y轴折线图", renderType: "echart", icon: "icon-tubiao-zhexiantu", data: { type: "echart_3" } }
70960
+ {
70961
+ name: "折线图",
70962
+ renderType: "echart",
70963
+ icon: "icon-tubiao-zhexiantu",
70964
+ data: { type: "echart_1" }
70965
+ },
70966
+ {
70967
+ name: "面积图",
70968
+ renderType: "echart",
70969
+ icon: "icon-tubiao-zhexiantu",
70970
+ data: { type: "echart_2" }
70971
+ },
70972
+ {
70973
+ name: "双Y轴折线图",
70974
+ renderType: "echart",
70975
+ icon: "icon-tubiao-zhexiantu",
70976
+ data: { type: "echart_3" }
70977
+ }
70869
70978
  ]
70870
70979
  },
70871
70980
  {
70872
70981
  name: "柱状图",
70873
70982
  layout: "1fr 1fr 1fr",
70874
70983
  list: [
70875
- { name: "柱状图", renderType: "echart", icon: "icon-icon_chart", data: { type: "echart_4" } },
70876
- { name: "堆叠柱状图", renderType: "echart", icon: "icon-icon_chart", data: { type: "echart_5" } }
70984
+ {
70985
+ name: "柱状图",
70986
+ renderType: "echart",
70987
+ icon: "icon-icon_chart",
70988
+ data: { type: "echart_4" }
70989
+ },
70990
+ {
70991
+ name: "堆叠柱状图",
70992
+ renderType: "echart",
70993
+ icon: "icon-icon_chart",
70994
+ data: { type: "echart_5" }
70995
+ }
70877
70996
  ]
70878
70997
  },
70879
70998
  {
70880
70999
  name: "饼图",
70881
71000
  layout: "1fr 1fr 1fr",
70882
71001
  list: [
70883
- { name: "基础饼图", renderType: "echart", icon: "icon-bingtu", data: { type: "echart_6" } },
70884
- { name: "环状图", renderType: "echart", icon: "icon-bingtu", data: { type: "echart_7" } }
71002
+ {
71003
+ name: "基础饼图",
71004
+ renderType: "echart",
71005
+ icon: "icon-bingtu",
71006
+ data: { type: "echart_6" }
71007
+ },
71008
+ {
71009
+ name: "环状图",
71010
+ renderType: "echart",
71011
+ icon: "icon-bingtu",
71012
+ data: { type: "echart_7" }
71013
+ }
70885
71014
  ]
70886
71015
  }
70887
71016
  // {
@@ -70904,8 +71033,22 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70904
71033
  name: "定制",
70905
71034
  layout: "1fr 1fr 1fr",
70906
71035
  list: [
70907
- { name: "流动箭头", renderType: "arrow", icon: "icon-liudongjiantou", data: { type: "arrowNode", arrowColor: "#89fce6", arrow: 0 } },
70908
- { name: "开关", renderType: "switch", icon: "icon-zhadao", data: { type: "switchNode", switchColor: "rgb(68, 205, 234)", isOpen: !0 } }
71036
+ {
71037
+ name: "流动箭头",
71038
+ renderType: "arrow",
71039
+ icon: "icon-liudongjiantou",
71040
+ data: { type: "arrowNode", arrowColor: "#89fce6", arrow: 0 }
71041
+ },
71042
+ {
71043
+ name: "开关",
71044
+ renderType: "switch",
71045
+ icon: "icon-zhadao",
71046
+ data: {
71047
+ type: "switchNode",
71048
+ switchColor: "rgb(68, 205, 234)",
71049
+ isOpen: !0
71050
+ }
71051
+ }
70909
71052
  ]
70910
71053
  },
70911
71054
  {
@@ -70933,8 +71076,14 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70933
71076
  }), s.value[i.value].active = h;
70934
71077
  }
70935
71078
  }, l = (h, u) => {
70936
- let d = e.graph.createNode({ shape: u.renderType + "-node" });
70937
- d.setData({ icon: u.icon, name: _X(u.name), ...u.data }), e.dnd.start(d, h);
71079
+ let d = e.graph.createNode({
71080
+ shape: u.renderType + "-node"
71081
+ });
71082
+ d.setData({
71083
+ icon: u.icon,
71084
+ name: _X(u.name),
71085
+ ...u.data
71086
+ }), e.dnd.start(d, h);
70938
71087
  }, c = ({ node: h }) => {
70939
71088
  var u, d, f, g, p, m, v, _, b, y, w, S, x, L, D, T, E, I, k;
70940
71089
  if (((u = h.data) == null ? void 0 : u.type) === "line") {
@@ -70975,7 +71124,13 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70975
71124
  { tagName: "path", selector: "line1" }
70976
71125
  ],
70977
71126
  attrs: {
70978
- line: { stroke: "#1bc8de80", strokeWidth: 2, connection: !0, sourceMarker: "", targetMarker: "" },
71127
+ line: {
71128
+ stroke: "#1bc8de80",
71129
+ strokeWidth: 2,
71130
+ connection: !0,
71131
+ sourceMarker: "",
71132
+ targetMarker: ""
71133
+ },
70979
71134
  line1: {
70980
71135
  display: "none",
70981
71136
  connection: !0,
@@ -71016,7 +71171,59 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71016
71171
  });
71017
71172
  e.graph.select(W);
71018
71173
  }
71019
- if (["button", "input", "number", "select", "date", "selectMore", "dateRange", "switch"].includes((d = h.data) == null ? void 0 : d.type) && (h.prop("size", { width: 150, height: 30 }), ((f = h.data) == null ? void 0 : f.type) === "button" && h.setData({ model: { modelValue: "按钮", size: "default" } }), ((g = h.data) == null ? void 0 : g.type) === "input" && h.setData({ model: { modelValue: "", placeholder: "请输入", inputType: "input" } }), ((p = h.data) == null ? void 0 : p.type) === "number" && h.setData({ model: { modelValue: "", placeholder: "请输入" } }), ((m = h.data) == null ? void 0 : m.type) === "select" && h.setData({ model: { modelValue: "", size: "default", placeholder: "请输入", option: [{ label: "选项一", value: 1 }, { label: "选项二", value: 2 }] } }), ((v = h.data) == null ? void 0 : v.type) === "selectMore" && h.setData({ model: { modelValue: [], size: "default", placeholder: "请输入", option: [{ label: "选项一", value: 1 }, { label: "选项二", value: 2 }] } }), ((_ = h.data) == null ? void 0 : _.type) === "date" && h.setData({ model: { modelValue: "", size: "default", placeholder: "请输入", dateType: "date" } }), ((b = h.data) == null ? void 0 : b.type) === "dateRange" && h.setData({ model: { modelValue: [], size: "default", placeholder: "请输入", dateType: "daterange" } }), ((y = h.data) == null ? void 0 : y.type) === "switch" && (h.prop("size", { width: 40, height: 30 }), h.setData({ model: { modelValue: !0, size: "default", buttonOnColor: "#13ce66", buttonOffColor: "#ff4949" } }))), ["table-1"].includes((w = h.data) == null ? void 0 : w.type)) {
71174
+ if ([
71175
+ "button",
71176
+ "input",
71177
+ "number",
71178
+ "select",
71179
+ "date",
71180
+ "selectMore",
71181
+ "dateRange",
71182
+ "switch"
71183
+ ].includes((d = h.data) == null ? void 0 : d.type) && (h.prop("size", { width: 150, height: 30 }), ((f = h.data) == null ? void 0 : f.type) === "button" && h.setData({ model: { modelValue: "按钮", size: "default" } }), ((g = h.data) == null ? void 0 : g.type) === "input" && h.setData({
71184
+ model: { modelValue: "", placeholder: "请输入", inputType: "input" }
71185
+ }), ((p = h.data) == null ? void 0 : p.type) === "number" && h.setData({ model: { modelValue: "", placeholder: "请输入" } }), ((m = h.data) == null ? void 0 : m.type) === "select" && h.setData({
71186
+ model: {
71187
+ modelValue: "",
71188
+ size: "default",
71189
+ placeholder: "请输入",
71190
+ option: [
71191
+ { label: "选项一", value: 1 },
71192
+ { label: "选项二", value: 2 }
71193
+ ]
71194
+ }
71195
+ }), ((v = h.data) == null ? void 0 : v.type) === "selectMore" && h.setData({
71196
+ model: {
71197
+ modelValue: [],
71198
+ size: "default",
71199
+ placeholder: "请输入",
71200
+ option: [
71201
+ { label: "选项一", value: 1 },
71202
+ { label: "选项二", value: 2 }
71203
+ ]
71204
+ }
71205
+ }), ((_ = h.data) == null ? void 0 : _.type) === "date" && h.setData({
71206
+ model: {
71207
+ modelValue: "",
71208
+ size: "default",
71209
+ placeholder: "请输入",
71210
+ dateType: "date"
71211
+ }
71212
+ }), ((b = h.data) == null ? void 0 : b.type) === "dateRange" && h.setData({
71213
+ model: {
71214
+ modelValue: [],
71215
+ size: "default",
71216
+ placeholder: "请输入",
71217
+ dateType: "daterange"
71218
+ }
71219
+ }), ((y = h.data) == null ? void 0 : y.type) === "switch" && (h.prop("size", { width: 40, height: 30 }), h.setData({
71220
+ model: {
71221
+ modelValue: !0,
71222
+ size: "default",
71223
+ buttonOnColor: "#13ce66",
71224
+ buttonOffColor: "#ff4949"
71225
+ }
71226
+ }))), ["table-1"].includes((w = h.data) == null ? void 0 : w.type)) {
71020
71227
  h.resize(600, 200);
71021
71228
  const N = {
71022
71229
  rows: 4,
@@ -71054,12 +71261,20 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71054
71261
  ]
71055
71262
  }
71056
71263
  };
71057
- h.setData({ backgroundColor: "rgba(177, 191, 255, 0.2)", table: N, dataSource: { fields: { 表头数据: "table.data.header", 表格数据: "table.data.rows" } } });
71264
+ h.setData({
71265
+ backgroundColor: "rgba(177, 191, 255, 0.2)",
71266
+ table: N,
71267
+ dataSource: {
71268
+ fields: { 表头数据: "table.data.header", 表格数据: "table.data.rows" }
71269
+ }
71270
+ });
71058
71271
  }
71059
71272
  if ((S = h.data) != null && S.type.includes("echart")) {
71060
71273
  h.resize(500, 300);
71061
71274
  const N = V2t[h.data.type]();
71062
- if (["echart_1", "echart_2", "echart_3", "echart_4", "echart_5"].includes((x = h.data) == null ? void 0 : x.type)) {
71275
+ if (["echart_1", "echart_2", "echart_3", "echart_4", "echart_5"].includes(
71276
+ (x = h.data) == null ? void 0 : x.type
71277
+ )) {
71063
71278
  const R = {
71064
71279
  data: {
71065
71280
  x: N.xAxis.data ?? [],
@@ -71067,7 +71282,13 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71067
71282
  },
71068
71283
  option: N
71069
71284
  };
71070
- h.setData({ backgroundColor: "rgba(0, 0, 0, 0.3)", chart: R, dataSource: { fields: { X轴数据: "chart.data.x", Y轴数据: "chart.data.y" } } });
71285
+ h.setData({
71286
+ backgroundColor: "rgba(0, 0, 0, 0.3)",
71287
+ chart: R,
71288
+ dataSource: {
71289
+ fields: { X轴数据: "chart.data.x", Y轴数据: "chart.data.y" }
71290
+ }
71291
+ });
71071
71292
  }
71072
71293
  if (["echart_6", "echart_7"].includes((L = h.data) == null ? void 0 : L.type)) {
71073
71294
  const R = {
@@ -71077,10 +71298,20 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71077
71298
  },
71078
71299
  option: N
71079
71300
  };
71080
- h.setData({ backgroundColor: "rgba(0, 0, 0, 0.3)", chart: R, dataSource: { fields: { X轴数据: "chart.data.x", Y轴数据: "chart.data.y" } } });
71301
+ h.setData({
71302
+ backgroundColor: "rgba(0, 0, 0, 0.3)",
71303
+ chart: R,
71304
+ dataSource: {
71305
+ fields: { X轴数据: "chart.data.x", Y轴数据: "chart.data.y" }
71306
+ }
71307
+ });
71081
71308
  }
71082
71309
  }
71083
- if (((E = h.data) == null ? void 0 : E.type) === "arrowNode" && h.setData({ dataSource: { fields: { 箭头颜色: "arrowColor", 箭头朝向: "arrow" } } }), ((I = h.data) == null ? void 0 : I.type) === "switchNode" && h.setData({ dataSource: { fields: { 开关颜色: "switchColor", 开关状态: "isOpen" } } }), ((k = h.data) == null ? void 0 : k.type) === "planTime") {
71310
+ if (((E = h.data) == null ? void 0 : E.type) === "arrowNode" && h.setData({
71311
+ dataSource: { fields: { 箭头颜色: "arrowColor", 箭头朝向: "arrow" } }
71312
+ }), ((I = h.data) == null ? void 0 : I.type) === "switchNode" && h.setData({
71313
+ dataSource: { fields: { 开关颜色: "switchColor", 开关状态: "isOpen" } }
71314
+ }), ((k = h.data) == null ? void 0 : k.type) === "planTime") {
71084
71315
  h.resize(500, 470);
71085
71316
  const N = [];
71086
71317
  for (let R = 0; R < 96; R++) {
@@ -71097,7 +71328,7 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71097
71328
  h.setData({ model: { modelValue: N } });
71098
71329
  }
71099
71330
  };
71100
- return Js(() => {
71331
+ return Qs(() => {
71101
71332
  var h;
71102
71333
  (h = e.graph) == null || h.on("node:added", c);
71103
71334
  }), ho(() => {
@@ -71160,9 +71391,13 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71160
71391
  default: X(() => [
71161
71392
  te("div", {
71162
71393
  class: "expand-content",
71163
- style: Vi({ gridTemplateColumns: v.layout ? v.layout : "1fr 1fr 1fr" })
71394
+ style: Vi({
71395
+ gridTemplateColumns: v.layout ? v.layout : "1fr 1fr 1fr"
71396
+ })
71164
71397
  }, [
71165
- (ee(!0), ke(si, null, hs(v.list.filter((b) => b.name.includes(r.value)), (b, y) => (ee(), ke("div", {
71398
+ (ee(!0), ke(si, null, hs(v.list.filter(
71399
+ (b) => b.name.includes(r.value)
71400
+ ), (b, y) => (ee(), ke("div", {
71166
71401
  key: y,
71167
71402
  class: "graphic",
71168
71403
  onMousedown: (w) => l(w, b),
@@ -71193,7 +71428,7 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71193
71428
  ]);
71194
71429
  };
71195
71430
  }
71196
- }, X2t = /* @__PURE__ */ Vn(Y2t, [["__scopeId", "data-v-7d8e4e90"]]), Z2t = { class: "datas" }, J2t = { class: "groups" }, Q2t = ["onClick"], eDt = { class: "list" }, tDt = { style: { padding: "10px" } }, iDt = ["onMousedown", "title"], nDt = { key: 1 }, sDt = ["onClick"], rDt = {
71431
+ }, X2t = /* @__PURE__ */ Vn(Y2t, [["__scopeId", "data-v-5460cad9"]]), Z2t = { class: "datas" }, J2t = { class: "groups" }, Q2t = ["onClick"], eDt = { class: "list" }, tDt = { style: { padding: "10px" } }, iDt = ["onMousedown", "title"], nDt = { key: 1 }, sDt = ["onClick"], rDt = {
71197
71432
  __name: "datas",
71198
71433
  setup(n) {
71199
71434
  const e = io(), t = Li("topoApi"), i = Li("storage"), s = Ge([]);
@@ -71294,7 +71529,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
71294
71529
  i.removeItem("copyOpcuaNode");
71295
71530
  }, 60 * 1e3);
71296
71531
  };
71297
- return Js(() => {
71532
+ return Qs(() => {
71298
71533
  var v;
71299
71534
  (v = e.graph) == null || v.on("node:added", p);
71300
71535
  }), ho(() => {
@@ -71461,14 +71696,14 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
71461
71696
  }
71462
71697
  const o = async (a) => {
71463
71698
  if (!a.type.startsWith("image/"))
71464
- return er.error("只能上传图片文件"), !1;
71699
+ return $s.error("只能上传图片文件"), !1;
71465
71700
  if (!(a.size / 1024 / 1024 < 2))
71466
- return er.error("图片大小不能超过 2MB"), !1;
71701
+ return $s.error("图片大小不能超过 2MB"), !1;
71467
71702
  try {
71468
71703
  const c = await r(a);
71469
71704
  t.value.backgroundImage = c;
71470
71705
  } catch {
71471
- return er.error("图片读取失败"), !1;
71706
+ return $s.error("图片读取失败"), !1;
71472
71707
  }
71473
71708
  return !1;
71474
71709
  };
@@ -71576,7 +71811,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
71576
71811
  visible: p
71577
71812
  // backgroundImage
71578
71813
  });
71579
- }), Js(() => {
71814
+ }), Qs(() => {
71580
71815
  t.on("change:size", ({ current: o }) => {
71581
71816
  s.value.width = o.width, s.value.height = o.height;
71582
71817
  }), t.on("change:position", ({ current: o }) => {
@@ -71956,7 +72191,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
71956
72191
  setup(n, { emit: e }) {
71957
72192
  const t = n, i = e, s = Ge(null);
71958
72193
  let r = null, o = "";
71959
- return Js(() => {
72194
+ return Qs(() => {
71960
72195
  r = fo.editor.create(s.value, {
71961
72196
  value: JSON.stringify(t.modelValue, null, 2),
71962
72197
  language: "json",
@@ -72001,7 +72236,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72001
72236
  }, a = () => {
72002
72237
  i.value.option = r.value, s.value = !1;
72003
72238
  };
72004
- return Js(() => {
72239
+ return Qs(() => {
72005
72240
  }), ho(() => {
72006
72241
  }), (l, c) => {
72007
72242
  const h = we("el-option"), u = we("el-select"), d = we("el-form-item"), f = we("el-color-picker"), g = we("el-input"), p = we("el-button"), m = we("el-drawer"), v = we("el-form");
@@ -72509,7 +72744,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72509
72744
  e.setData({
72510
72745
  model: i.value
72511
72746
  });
72512
- }), Ge(!1), Ge({}), Js(() => {
72747
+ }), Ge(!1), Ge({}), Qs(() => {
72513
72748
  }), ho(() => {
72514
72749
  }), (s, r) => {
72515
72750
  const o = we("el-switch"), a = we("el-input"), l = we("el-form-item"), c = we("el-form");
@@ -72520,7 +72755,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72520
72755
  class: "nodePanel"
72521
72756
  }, {
72522
72757
  default: X(() => [
72523
- r[4] || (r[4] = te("div", { class: "baseTitle" }, "交互", -1)),
72758
+ r[5] || (r[5] = te("div", { class: "baseTitle" }, "交互", -1)),
72524
72759
  V(l, { label: "二次确认" }, {
72525
72760
  default: X(() => [
72526
72761
  V(o, {
@@ -72556,13 +72791,24 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72556
72791
  }, null, 8, ["modelValue"])) : nt("", !0)
72557
72792
  ]),
72558
72793
  _: 1
72794
+ }),
72795
+ V(l, { label: "失败提示" }, {
72796
+ default: X(() => [
72797
+ V(o, {
72798
+ modelValue: i.value.buttonError,
72799
+ "onUpdate:modelValue": r[4] || (r[4] = (h) => i.value.buttonError = h),
72800
+ "active-text": "开启",
72801
+ "inactive-text": "关闭"
72802
+ }, null, 8, ["modelValue"])
72803
+ ]),
72804
+ _: 1
72559
72805
  })
72560
72806
  ]),
72561
72807
  _: 1
72562
72808
  });
72563
72809
  };
72564
72810
  }
72565
- }, xDt = /* @__PURE__ */ Vn(SDt, [["__scopeId", "data-v-9d29041c"]]), LDt = { style: { "margin-bottom": "10px" } }, DDt = {
72811
+ }, xDt = /* @__PURE__ */ Vn(SDt, [["__scopeId", "data-v-558252ce"]]), LDt = { style: { "margin-bottom": "10px" } }, DDt = {
72566
72812
  key: 0,
72567
72813
  style: { width: "100%", height: "160px", overflow: "auto", display: "flex", "align-items": "center", "justify-content": "center" }
72568
72814
  }, TDt = ["src"], EDt = {
@@ -72837,7 +73083,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72837
73083
  };
72838
73084
  return Fn(r, () => {
72839
73085
  t || h();
72840
- }, { deep: !0 }), Js(() => {
73086
+ }, { deep: !0 }), Qs(() => {
72841
73087
  var p;
72842
73088
  (p = e.on) == null || p.call(e, "change:data", o);
72843
73089
  }), ho(() => {
@@ -73226,7 +73472,7 @@ function qDt(n, e, t = {}) {
73226
73472
  ), pause: o, resume: a, isActive: l };
73227
73473
  }
73228
73474
  function xS(n, e = !0, t) {
73229
- GDt() ? Js(n, t) : e ? n() : N0(n);
73475
+ GDt() ? Qs(n, t) : e ? n() : N0(n);
73230
73476
  }
73231
73477
  function KDt(n, e, t = {}) {
73232
73478
  const {
@@ -73333,7 +73579,7 @@ function YDt(n, e, t = {}) {
73333
73579
  }
73334
73580
  function XDt() {
73335
73581
  const n = Ge(!1), e = Boe();
73336
- return e && Js(() => {
73582
+ return e && Qs(() => {
73337
73583
  n.value = !0;
73338
73584
  }, e), n;
73339
73585
  }
@@ -73637,14 +73883,14 @@ lt.prototype = {
73637
73883
  },
73638
73884
  toPercentageRgb: function() {
73639
73885
  return {
73640
- r: Math.round($s(this._r, 255) * 100) + "%",
73641
- g: Math.round($s(this._g, 255) * 100) + "%",
73642
- b: Math.round($s(this._b, 255) * 100) + "%",
73886
+ r: Math.round(Us(this._r, 255) * 100) + "%",
73887
+ g: Math.round(Us(this._g, 255) * 100) + "%",
73888
+ b: Math.round(Us(this._b, 255) * 100) + "%",
73643
73889
  a: this._a
73644
73890
  };
73645
73891
  },
73646
73892
  toPercentageRgbString: function() {
73647
- return this._a == 1 ? "rgb(" + Math.round($s(this._r, 255) * 100) + "%, " + Math.round($s(this._g, 255) * 100) + "%, " + Math.round($s(this._b, 255) * 100) + "%)" : "rgba(" + Math.round($s(this._r, 255) * 100) + "%, " + Math.round($s(this._g, 255) * 100) + "%, " + Math.round($s(this._b, 255) * 100) + "%, " + this._roundA + ")";
73893
+ return this._a == 1 ? "rgb(" + Math.round(Us(this._r, 255) * 100) + "%, " + Math.round(Us(this._g, 255) * 100) + "%, " + Math.round(Us(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(Us(this._r, 255) * 100) + "%, " + Math.round(Us(this._g, 255) * 100) + "%, " + Math.round(Us(this._b, 255) * 100) + "%, " + this._roundA + ")";
73648
73894
  },
73649
73895
  toName: function() {
73650
73896
  return this._a === 0 ? "transparent" : this._a < 1 ? !1 : CTt[uCe(this._r, this._g, this._b, !0)] || !1;
@@ -73743,13 +73989,13 @@ function oTt(n) {
73743
73989
  }
73744
73990
  function aTt(n, e, t) {
73745
73991
  return {
73746
- r: $s(n, 255) * 255,
73747
- g: $s(e, 255) * 255,
73748
- b: $s(t, 255) * 255
73992
+ r: Us(n, 255) * 255,
73993
+ g: Us(e, 255) * 255,
73994
+ b: Us(t, 255) * 255
73749
73995
  };
73750
73996
  }
73751
73997
  function cCe(n, e, t) {
73752
- n = $s(n, 255), e = $s(e, 255), t = $s(t, 255);
73998
+ n = Us(n, 255), e = Us(e, 255), t = Us(t, 255);
73753
73999
  var i = Math.max(n, e, t), s = Math.min(n, e, t), r, o, a = (i + s) / 2;
73754
74000
  if (i == s)
73755
74001
  r = o = 0;
@@ -73776,7 +74022,7 @@ function cCe(n, e, t) {
73776
74022
  }
73777
74023
  function lTt(n, e, t) {
73778
74024
  var i, s, r;
73779
- n = $s(n, 360), e = $s(e, 100), t = $s(t, 100);
74025
+ n = Us(n, 360), e = Us(e, 100), t = Us(t, 100);
73780
74026
  function o(c, h, u) {
73781
74027
  return u < 0 && (u += 1), u > 1 && (u -= 1), u < 1 / 6 ? c + (h - c) * 6 * u : u < 1 / 2 ? h : u < 2 / 3 ? c + (h - c) * (2 / 3 - u) * 6 : c;
73782
74028
  }
@@ -73793,7 +74039,7 @@ function lTt(n, e, t) {
73793
74039
  };
73794
74040
  }
73795
74041
  function hCe(n, e, t) {
73796
- n = $s(n, 255), e = $s(e, 255), t = $s(t, 255);
74042
+ n = Us(n, 255), e = Us(e, 255), t = Us(t, 255);
73797
74043
  var i = Math.max(n, e, t), s = Math.min(n, e, t), r, o, a = i, l = i - s;
73798
74044
  if (o = i === 0 ? 0 : l / i, i == s)
73799
74045
  r = 0;
@@ -73818,7 +74064,7 @@ function hCe(n, e, t) {
73818
74064
  };
73819
74065
  }
73820
74066
  function cTt(n, e, t) {
73821
- n = $s(n, 360) * 6, e = $s(e, 100), t = $s(t, 100);
74067
+ n = Us(n, 360) * 6, e = Us(e, 100), t = Us(t, 100);
73822
74068
  var i = Math.floor(n), s = n - i, r = t * (1 - e), o = t * (1 - s * e), a = t * (1 - (1 - s) * e), l = i % 6, c = [t, o, r, r, a, t][l], h = [a, t, t, o, r, r][l], u = [r, r, a, t, t, o][l];
73823
74069
  return {
73824
74070
  r: c * 255,
@@ -74124,7 +74370,7 @@ function STt(n) {
74124
74370
  function T6e(n) {
74125
74371
  return n = parseFloat(n), (isNaN(n) || n < 0 || n > 1) && (n = 1), n;
74126
74372
  }
74127
- function $s(n, e) {
74373
+ function Us(n, e) {
74128
74374
  xTt(n) && (n = "100%");
74129
74375
  var t = LTt(n);
74130
74376
  return n = Math.min(e, Math.max(0, parseFloat(n))), t && (n = parseInt(n * e, 10) / 100), Math.abs(n - e) < 1e-6 ? 1 : n % e / parseFloat(e);
@@ -77977,7 +78223,7 @@ const CMt = (n, e) => {
77977
78223
  })), o = (a) => {
77978
78224
  t.value && (i.value = wMt(t.value, a) % 360, s());
77979
78225
  };
77980
- return Js(() => {
78226
+ return Qs(() => {
77981
78227
  const a = {
77982
78228
  drag: (l) => {
77983
78229
  o(l);
@@ -78792,7 +79038,7 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
78792
79038
  const g = e.getData(), p = g.chart, m = JSON.parse(JSON.stringify(i.value || {}));
78793
79039
  e.setData({ ...g, chart: { ...p, option: m } }, { deep: !1 });
78794
79040
  };
78795
- return Js(() => {
79041
+ return Qs(() => {
78796
79042
  }), ho(() => {
78797
79043
  }), (g, p) => {
78798
79044
  const m = we("el-input-number"), v = we("el-form-item"), _ = we("el-divider"), b = we("el-switch"), y = we("el-radio-button"), w = we("el-radio-group"), S = we("el-option"), x = we("el-select"), L = we("el-color-picker"), D = we("el-checkbox"), T = we("el-input"), E = we("el-tab-pane"), I = we("el-tabs"), k = we("el-button"), N = we("el-drawer"), R = we("el-form");
@@ -79981,7 +80227,7 @@ function or(n) {
79981
80227
  function wAt(n, e) {
79982
80228
  return Array.isArray(n) && n.every(e);
79983
80229
  }
79984
- function js(n) {
80230
+ function qs(n) {
79985
80231
  return typeof n == "object" && n !== null && !Array.isArray(n) && !(n instanceof RegExp) && !(n instanceof Date);
79986
80232
  }
79987
80233
  function CAt(n) {
@@ -80982,28 +81228,28 @@ class vz {
80982
81228
  }
80983
81229
  }
80984
81230
  var pm;
80985
- let Qs = (pm = class {
81231
+ let er = (pm = class {
80986
81232
  constructor(e) {
80987
81233
  this.element = e, this.next = pm.Undefined, this.prev = pm.Undefined;
80988
81234
  }
80989
81235
  }, pm.Undefined = new pm(void 0), pm);
80990
81236
  class ta {
80991
81237
  constructor() {
80992
- this._first = Qs.Undefined, this._last = Qs.Undefined, this._size = 0;
81238
+ this._first = er.Undefined, this._last = er.Undefined, this._size = 0;
80993
81239
  }
80994
81240
  get size() {
80995
81241
  return this._size;
80996
81242
  }
80997
81243
  isEmpty() {
80998
- return this._first === Qs.Undefined;
81244
+ return this._first === er.Undefined;
80999
81245
  }
81000
81246
  clear() {
81001
81247
  let e = this._first;
81002
- for (; e !== Qs.Undefined; ) {
81248
+ for (; e !== er.Undefined; ) {
81003
81249
  const t = e.next;
81004
- e.prev = Qs.Undefined, e.next = Qs.Undefined, e = t;
81250
+ e.prev = er.Undefined, e.next = er.Undefined, e = t;
81005
81251
  }
81006
- this._first = Qs.Undefined, this._last = Qs.Undefined, this._size = 0;
81252
+ this._first = er.Undefined, this._last = er.Undefined, this._size = 0;
81007
81253
  }
81008
81254
  unshift(e) {
81009
81255
  return this._insert(e, !1);
@@ -81012,8 +81258,8 @@ class ta {
81012
81258
  return this._insert(e, !0);
81013
81259
  }
81014
81260
  _insert(e, t) {
81015
- const i = new Qs(e);
81016
- if (this._first === Qs.Undefined)
81261
+ const i = new er(e);
81262
+ if (this._first === er.Undefined)
81017
81263
  this._first = i, this._last = i;
81018
81264
  else if (t) {
81019
81265
  const r = this._last;
@@ -81029,27 +81275,27 @@ class ta {
81029
81275
  };
81030
81276
  }
81031
81277
  shift() {
81032
- if (this._first !== Qs.Undefined) {
81278
+ if (this._first !== er.Undefined) {
81033
81279
  const e = this._first.element;
81034
81280
  return this._remove(this._first), e;
81035
81281
  }
81036
81282
  }
81037
81283
  pop() {
81038
- if (this._last !== Qs.Undefined) {
81284
+ if (this._last !== er.Undefined) {
81039
81285
  const e = this._last.element;
81040
81286
  return this._remove(this._last), e;
81041
81287
  }
81042
81288
  }
81043
81289
  _remove(e) {
81044
- if (e.prev !== Qs.Undefined && e.next !== Qs.Undefined) {
81290
+ if (e.prev !== er.Undefined && e.next !== er.Undefined) {
81045
81291
  const t = e.prev;
81046
81292
  t.next = e.next, e.next.prev = t;
81047
- } else e.prev === Qs.Undefined && e.next === Qs.Undefined ? (this._first = Qs.Undefined, this._last = Qs.Undefined) : e.next === Qs.Undefined ? (this._last = this._last.prev, this._last.next = Qs.Undefined) : e.prev === Qs.Undefined && (this._first = this._first.next, this._first.prev = Qs.Undefined);
81293
+ } else e.prev === er.Undefined && e.next === er.Undefined ? (this._first = er.Undefined, this._last = er.Undefined) : e.next === er.Undefined ? (this._last = this._last.prev, this._last.next = er.Undefined) : e.prev === er.Undefined && (this._first = this._first.next, this._first.prev = er.Undefined);
81048
81294
  this._size -= 1;
81049
81295
  }
81050
81296
  *[Symbol.iterator]() {
81051
81297
  let e = this._first;
81052
- for (; e !== Qs.Undefined; )
81298
+ for (; e !== er.Undefined; )
81053
81299
  yield e.element, e = e.next;
81054
81300
  }
81055
81301
  }
@@ -81702,7 +81948,7 @@ const F8e = Symbol("MicrotaskDelay");
81702
81948
  function RJ(n) {
81703
81949
  return !!n && typeof n.then == "function";
81704
81950
  }
81705
- function qs(n) {
81951
+ function Ks(n) {
81706
81952
  const e = new _n(), t = n(e.token);
81707
81953
  let i = !1;
81708
81954
  const s = new Promise((r, o) => {
@@ -81859,7 +82105,7 @@ function Bg(n, e) {
81859
82105
  }, n), r = e.onCancellationRequested(() => {
81860
82106
  clearTimeout(s), r.dispose(), i(new Dh());
81861
82107
  });
81862
- }) : qs((t) => Bg(n, t));
82108
+ }) : Ks((t) => Bg(n, t));
81863
82109
  }
81864
82110
  function Qm(n, e = 0, t) {
81865
82111
  const i = setTimeout(() => {
@@ -82516,7 +82762,7 @@ function ev(n, e) {
82516
82762
  return i;
82517
82763
  return t;
82518
82764
  }
82519
- function Us(n) {
82765
+ function Gs(n) {
82520
82766
  return 55296 <= n && n <= 56319;
82521
82767
  }
82522
82768
  function Y0(n) {
@@ -82527,7 +82773,7 @@ function Fhe(n, e) {
82527
82773
  }
82528
82774
  function U7(n, e, t) {
82529
82775
  const i = n.charCodeAt(t);
82530
- if (Us(i) && t + 1 < e) {
82776
+ if (Gs(i) && t + 1 < e) {
82531
82777
  const s = n.charCodeAt(t + 1);
82532
82778
  if (Y0(s))
82533
82779
  return Fhe(i, s);
@@ -82538,7 +82784,7 @@ function _Rt(n, e) {
82538
82784
  const t = n.charCodeAt(e - 1);
82539
82785
  if (Y0(t) && e > 1) {
82540
82786
  const i = n.charCodeAt(e - 2);
82541
- if (Us(i))
82787
+ if (Gs(i))
82542
82788
  return Fhe(i, t);
82543
82789
  }
82544
82790
  return t;
@@ -83855,7 +84101,7 @@ const lB = class lB {
83855
84101
  let s = this._buffLen, r = this._leftoverHighSurrogate, o, a;
83856
84102
  for (r !== 0 ? (o = r, a = -1, r = 0) : (o = e.charCodeAt(0), a = 0); ; ) {
83857
84103
  let l = o;
83858
- if (Us(o))
84104
+ if (Gs(o))
83859
84105
  if (a + 1 < t) {
83860
84106
  const c = e.charCodeAt(a + 1);
83861
84107
  Y0(c) ? (a++, l = Fhe(o, c)) : l = 65533;
@@ -84245,7 +84491,7 @@ class NSe {
84245
84491
  t.handleEndTransaction(e);
84246
84492
  }
84247
84493
  }
84248
- var Xs;
84494
+ var Zs;
84249
84495
  (function(n) {
84250
84496
  let e = !1;
84251
84497
  function t() {
@@ -84261,7 +84507,7 @@ var Xs;
84261
84507
  return s.stackTraceLimit = r, jhe.fromStack(o, 2);
84262
84508
  }
84263
84509
  n.ofCaller = i;
84264
- })(Xs || (Xs = {}));
84510
+ })(Zs || (Zs = {}));
84265
84511
  class jhe {
84266
84512
  static fromStack(e, t) {
84267
84513
  const i = e.split(`
@@ -84416,7 +84662,7 @@ class u7e {
84416
84662
  read(e) {
84417
84663
  return e ? e.readObservable(this) : this.get();
84418
84664
  }
84419
- map(e, t, i = Xs.ofCaller()) {
84665
+ map(e, t, i = Zs.ofCaller()) {
84420
84666
  const s = t === void 0 ? void 0 : e, r = t === void 0 ? e : t;
84421
84667
  return qJ({
84422
84668
  owner: s,
@@ -84671,7 +84917,7 @@ class d7e extends nh {
84671
84917
  super(e, t, i, s, r, a), this.set = o;
84672
84918
  }
84673
84919
  }
84674
- function oe(n, e, t = Xs.ofCaller()) {
84920
+ function oe(n, e, t = Zs.ofCaller()) {
84675
84921
  return e !== void 0 ? new nh(new co(n, void 0, e), e, void 0, void 0, Bc, t) : new nh(
84676
84922
  // eslint-disable-next-line local/code-no-any-casts
84677
84923
  new co(void 0, void 0, n),
@@ -84683,17 +84929,17 @@ function oe(n, e, t = Xs.ofCaller()) {
84683
84929
  t
84684
84930
  );
84685
84931
  }
84686
- function Yhe(n, e, t, i = Xs.ofCaller()) {
84932
+ function Yhe(n, e, t, i = Zs.ofCaller()) {
84687
84933
  return new d7e(new co(n, void 0, e), e, void 0, void 0, Bc, t, i);
84688
84934
  }
84689
- function Jr(n, e, t = Xs.ofCaller()) {
84935
+ function Jr(n, e, t = Zs.ofCaller()) {
84690
84936
  return new nh(new co(n.owner, n.debugName, n.debugReferenceFn), e, void 0, n.onLastObserverRemoved, n.equalsFn ?? Bc, t);
84691
84937
  }
84692
84938
  mPt(Jr);
84693
- function PSe(n, e, t = Xs.ofCaller()) {
84939
+ function PSe(n, e, t = Zs.ofCaller()) {
84694
84940
  return new nh(new co(n.owner, n.debugName, void 0), e, n.changeTracker, void 0, n.equalityComparer ?? Bc, t);
84695
84941
  }
84696
- function ih(n, e, t = Xs.ofCaller()) {
84942
+ function ih(n, e, t = Zs.ofCaller()) {
84697
84943
  let i, s;
84698
84944
  e === void 0 ? (i = n, s = void 0) : (s = n, i = e);
84699
84945
  let r;
@@ -84834,13 +85080,13 @@ class WA {
84834
85080
  this._isRunning ? this._state = 2 : this._run();
84835
85081
  }
84836
85082
  }
84837
- function et(n, e = Xs.ofCaller()) {
85083
+ function et(n, e = Zs.ofCaller()) {
84838
85084
  return new WA(new co(void 0, void 0, n), n, void 0, e);
84839
85085
  }
84840
- function wz(n, e, t = Xs.ofCaller()) {
85086
+ function wz(n, e, t = Zs.ofCaller()) {
84841
85087
  return new WA(new co(n.owner, n.debugName, n.debugReferenceFn ?? e), e, void 0, t);
84842
85088
  }
84843
- function gE(n, e, t = Xs.ofCaller()) {
85089
+ function gE(n, e, t = Zs.ofCaller()) {
84844
85090
  return new WA(new co(n.owner, n.debugName, n.debugReferenceFn ?? e), e, n.changeTracker, t);
84845
85091
  }
84846
85092
  function yPt(n, e) {
@@ -84948,9 +85194,9 @@ class pE {
84948
85194
  }
84949
85195
  function gi(...n) {
84950
85196
  let e, t, i, s;
84951
- return n.length === 2 ? [t, i] = n : [e, t, i, s] = n, new am(new co(e, void 0, i), t, i, () => am.globalTransaction, Bc, s ?? Xs.ofCaller());
85197
+ return n.length === 2 ? [t, i] = n : [e, t, i, s] = n, new am(new co(e, void 0, i), t, i, () => am.globalTransaction, Bc, s ?? Zs.ofCaller());
84952
85198
  }
84953
- function f7e(n, e, t, i = Xs.ofCaller()) {
85199
+ function f7e(n, e, t, i = Zs.ofCaller()) {
84954
85200
  return new am(new co(n.owner, n.debugName, n.debugReferenceFn ?? t), e, t, () => am.globalTransaction, n.equalsFn ?? Bc, i);
84955
85201
  }
84956
85202
  class am extends fE {
@@ -85232,7 +85478,7 @@ function p7e(n, e) {
85232
85478
  for (const t in e)
85233
85479
  e[t] === null ? delete n[t] : n[t] && typeof n[t] == "object" && e[t] && typeof e[t] == "object" ? p7e(n[t], e[t]) : n[t] = e[t];
85234
85480
  }
85235
- function rt(n, e, t = Xs.ofCaller()) {
85481
+ function rt(n, e, t = Zs.ofCaller()) {
85236
85482
  let i;
85237
85483
  return typeof n == "string" ? i = new co(void 0, n, void 0) : i = new co(n, void 0, void 0), new HA(i, e, Bc, t);
85238
85484
  }
@@ -85278,7 +85524,7 @@ class HA extends fE {
85278
85524
  this._value = e;
85279
85525
  }
85280
85526
  }
85281
- function Jhe(n, e, t = Xs.ofCaller()) {
85527
+ function Jhe(n, e, t = Zs.ofCaller()) {
85282
85528
  let i;
85283
85529
  return typeof n == "string" ? i = new co(void 0, n, void 0) : i = new co(n, void 0, void 0), new IPt(i, e, Bc, t);
85284
85530
  }
@@ -85463,7 +85709,7 @@ const sy = class sy {
85463
85709
  }
85464
85710
  })), this._pendingChanges = null, this._changeThrottler = new EPt(), this._fullState = {}, this._flushUpdates = () => {
85465
85711
  this._pendingChanges !== null && (this._channel.api.notifications.handleChange(this._pendingChanges, !1), this._pendingChanges = null);
85466
- }, Xs.enable();
85712
+ }, Zs.enable();
85467
85713
  }
85468
85714
  _handleChange(e) {
85469
85715
  p7e(this._fullState, e), this._pendingChanges === null ? this._pendingChanges = e : g7e(this._pendingChanges, e), this._changeThrottler.throttle(this._flushUpdates, 10);
@@ -85916,17 +86162,17 @@ function Z0(n) {
85916
86162
  }
85917
86163
  return w7e(n) ? n : null;
85918
86164
  }
85919
- function Ks() {
86165
+ function Ys() {
85920
86166
  let n = bO().activeElement;
85921
86167
  for (; n != null && n.shadowRoot; )
85922
86168
  n = n.shadowRoot.activeElement;
85923
86169
  return n;
85924
86170
  }
85925
86171
  function Sz(n) {
85926
- return Ks() === n;
86172
+ return Ys() === n;
85927
86173
  }
85928
86174
  function C7e(n) {
85929
- return ar(Ks(), n);
86175
+ return ar(Ys(), n);
85930
86176
  }
85931
86177
  function bO() {
85932
86178
  return NPt() <= 1 ? Ni.document : Array.from(m7e()).map(({ window: e }) => e.document).find((e) => e.hasFocus()) ?? Ni.document;
@@ -88832,7 +89078,7 @@ class vOt {
88832
89078
  this.data = /* @__PURE__ */ new Map();
88833
89079
  }
88834
89080
  add(e, t) {
88835
- mq(or(e)), mq(js(t)), mq(!this.data.has(e), "There is already an extension with this id"), this.data.set(e, t);
89081
+ mq(or(e)), mq(qs(t)), mq(!this.data.has(e), "There is already an extension with this id"), this.data.set(e, t);
88836
89082
  }
88837
89083
  as(e) {
88838
89084
  return this.data.get(e) || null;
@@ -89983,7 +90229,7 @@ class vE extends Pz {
89983
90229
  i.trace(`Executing Command '${this.id}' which has ${this._implementations.length} bound.`);
89984
90230
  for (const r of this._implementations) {
89985
90231
  if (r.when) {
89986
- const a = s.getContext(Ks());
90232
+ const a = s.getContext(Ys());
89987
90233
  if (!r.when.evaluate(a))
89988
90234
  continue;
89989
90235
  }
@@ -90002,12 +90248,12 @@ class W7e extends Pz {
90002
90248
  return this.command.runCommand(e, t);
90003
90249
  }
90004
90250
  }
90005
- class Zs extends Pz {
90251
+ class Js extends Pz {
90006
90252
  /**
90007
90253
  * Create a command class that is bound to a certain editor contribution.
90008
90254
  */
90009
90255
  static bindToContribution(e) {
90010
- return class extends Zs {
90256
+ return class extends Js {
90011
90257
  constructor(i) {
90012
90258
  super(i), this._callback = i.handler;
90013
90259
  }
@@ -90026,10 +90272,10 @@ class Zs extends Pz {
90026
90272
  });
90027
90273
  }
90028
90274
  runCommand(e, t) {
90029
- return Zs.runEditorCommand(e, t, this.precondition, (i, s, r) => this.runEditorCommand(i, s, r));
90275
+ return Js.runEditorCommand(e, t, this.precondition, (i, s, r) => this.runEditorCommand(i, s, r));
90030
90276
  }
90031
90277
  }
90032
- class Me extends Zs {
90278
+ class Me extends Js {
90033
90279
  static convertOptions(e) {
90034
90280
  let t;
90035
90281
  Array.isArray(e.menuOpts) ? t = e.menuOpts : e.menuOpts ? t = [e.menuOpts] : t = [];
@@ -92135,7 +92381,7 @@ function rQ(n, e, t) {
92135
92381
  s.push(rQ(r, e, t));
92136
92382
  return s;
92137
92383
  }
92138
- if (js(n)) {
92384
+ if (qs(n)) {
92139
92385
  if (t.has(n))
92140
92386
  throw new Error("Cannot clone recursive data-structure");
92141
92387
  t.add(n);
@@ -92147,8 +92393,8 @@ function rQ(n, e, t) {
92147
92393
  return n;
92148
92394
  }
92149
92395
  function Bz(n, e, t = !0) {
92150
- return js(n) ? (js(e) && Object.keys(e).forEach((i) => {
92151
- i in n ? t && (js(n[i]) && js(e[i]) ? Bz(n[i], e[i], t) : n[i] = e[i]) : n[i] = e[i];
92396
+ return qs(n) ? (qs(e) && Object.keys(e).forEach((i) => {
92397
+ i in n ? t && (qs(n[i]) && qs(e[i]) ? Bz(n[i], e[i], t) : n[i] = e[i]) : n[i] = e[i];
92152
92398
  }), n) : e;
92153
92399
  }
92154
92400
  function Hl(n, e) {
@@ -92565,7 +92811,7 @@ class Tr {
92565
92811
  var l9;
92566
92812
  (function(n) {
92567
92813
  const e = function(i) {
92568
- if (!js(i))
92814
+ if (!qs(i))
92569
92815
  return !1;
92570
92816
  const s = i;
92571
92817
  return !(!or(s.to) || !Do(s.select) && !TJ(s.select) || !Do(s.by) && !or(s.by) || !Do(s.value) && !Zm(s.value) || !Do(s.noHistory) && !TJ(s.noHistory));
@@ -92927,7 +93173,7 @@ class y1 {
92927
93173
  */
92928
93174
  appendCharCode(e) {
92929
93175
  const t = this._capacity - this._bufferLength;
92930
- t <= 1 && (t === 0 || Us(e)) && this._flushBuffer(), this._buffer[this._bufferLength++] = e;
93176
+ t <= 1 && (t === 0 || Gs(e)) && this._flushBuffer(), this._buffer[this._bufferLength++] = e;
92931
93177
  }
92932
93178
  /**
92933
93179
  * Append an ASCII char code (<2^8)
@@ -93465,7 +93711,7 @@ class L3t extends j {
93465
93711
  }
93466
93712
  for (const a of Object.keys(t)) {
93467
93713
  const l = t[a];
93468
- if (js(l) && (Do(r[a]) || js(r[a]))) {
93714
+ if (qs(l) && (Do(r[a]) || qs(r[a]))) {
93469
93715
  if (r[a] = { ...r[a] ?? {}, ...l }, i)
93470
93716
  for (const h in l)
93471
93717
  o.set(`${a}.${h}`, i);
@@ -93477,14 +93723,14 @@ class L3t extends j {
93477
93723
  mergeDefaultConfigurationsForConfigurationProperty(e, t, i, s) {
93478
93724
  const r = this.configurationProperties[e], o = (s == null ? void 0 : s.value) ?? (r == null ? void 0 : r.defaultDefaultValue);
93479
93725
  let a = i;
93480
- if (js(t) && (r !== void 0 && r.type === "object" || r === void 0 && (Do(o) || js(o)))) {
93726
+ if (qs(t) && (r !== void 0 && r.type === "object" || r === void 0 && (Do(o) || qs(o)))) {
93481
93727
  if (a = (s == null ? void 0 : s.source) ?? /* @__PURE__ */ new Map(), !(a instanceof Map)) {
93482
93728
  console.error("defaultValueSource is not a Map");
93483
93729
  return;
93484
93730
  }
93485
93731
  for (const c in t)
93486
93732
  i && a.set(`${e}.${c}`, i);
93487
- t = { ...js(o) ? o : {}, ...t };
93733
+ t = { ...qs(o) ? o : {}, ...t };
93488
93734
  }
93489
93735
  return { value: t, source: a };
93490
93736
  }
@@ -95751,7 +95997,7 @@ var H;
95751
95997
  n.editorSimpleInput = new Te("editorSimpleInput", !1, !0), n.editorTextFocus = new Te("editorTextFocus", !1, C(681, "Whether the editor text has focus (cursor is blinking)")), n.focus = new Te("editorFocus", !1, C(682, "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")), n.textInputFocus = new Te("textInputFocus", !1, C(683, "Whether an editor or a rich text input has focus (cursor is blinking)")), n.readOnly = new Te("editorReadonly", !1, C(684, "Whether the editor is read-only")), n.inDiffEditor = new Te("inDiffEditor", !1, C(685, "Whether the context is a diff editor")), n.isEmbeddedDiffEditor = new Te("isEmbeddedDiffEditor", !1, C(686, "Whether the context is an embedded diff editor")), n.inMultiDiffEditor = new Te("inMultiDiffEditor", !1, C(687, "Whether the context is a multi diff editor")), n.multiDiffEditorAllCollapsed = new Te("multiDiffEditorAllCollapsed", void 0, C(688, "Whether all files in multi diff editor are collapsed")), n.hasChanges = new Te("diffEditorHasChanges", !1, C(689, "Whether the diff editor has changes")), n.comparingMovedCode = new Te("comparingMovedCode", !1, C(690, "Whether a moved code block is selected for comparison")), n.accessibleDiffViewerVisible = new Te("accessibleDiffViewerVisible", !1, C(691, "Whether the accessible diff viewer is visible")), n.diffEditorRenderSideBySideInlineBreakpointReached = new Te("diffEditorRenderSideBySideInlineBreakpointReached", !1, C(692, "Whether the diff editor render side by side inline breakpoint is reached")), n.diffEditorInlineMode = new Te("diffEditorInlineMode", !1, C(693, "Whether inline mode is active")), n.diffEditorOriginalWritable = new Te("diffEditorOriginalWritable", !1, C(694, "Whether modified is writable in the diff editor")), n.diffEditorModifiedWritable = new Te("diffEditorModifiedWritable", !1, C(695, "Whether modified is writable in the diff editor")), n.diffEditorOriginalUri = new Te("diffEditorOriginalUri", "", C(696, "The uri of the original document")), n.diffEditorModifiedUri = new Te("diffEditorModifiedUri", "", C(697, "The uri of the modified document")), n.columnSelection = new Te("editorColumnSelection", !1, C(698, "Whether `editor.columnSelection` is enabled")), n.writable = n.readOnly.toNegated(), n.hasNonEmptySelection = new Te("editorHasSelection", !1, C(699, "Whether the editor has text selected")), n.hasOnlyEmptySelection = n.hasNonEmptySelection.toNegated(), n.hasMultipleSelections = new Te("editorHasMultipleSelections", !1, C(700, "Whether the editor has multiple selections")), n.hasSingleSelection = n.hasMultipleSelections.toNegated(), n.tabMovesFocus = new Te("editorTabMovesFocus", !1, C(701, "Whether `Tab` will move focus out of the editor")), n.tabDoesNotMoveFocus = n.tabMovesFocus.toNegated(), n.isInEmbeddedEditor = new Te("isInEmbeddedEditor", !1, !0), n.canUndo = new Te("canUndo", !1, !0), n.canRedo = new Te("canRedo", !1, !0), n.hoverVisible = new Te("editorHoverVisible", !1, C(702, "Whether the editor hover is visible")), n.hoverFocused = new Te("editorHoverFocused", !1, C(703, "Whether the editor hover is focused")), n.stickyScrollFocused = new Te("stickyScrollFocused", !1, C(704, "Whether the sticky scroll is focused")), n.stickyScrollVisible = new Te("stickyScrollVisible", !1, C(705, "Whether the sticky scroll is visible")), n.standaloneColorPickerVisible = new Te("standaloneColorPickerVisible", !1, C(706, "Whether the standalone color picker is visible")), n.standaloneColorPickerFocused = new Te("standaloneColorPickerFocused", !1, C(707, "Whether the standalone color picker is focused")), n.inCompositeEditor = new Te("inCompositeEditor", void 0, C(708, "Whether the editor is part of a larger editor (e.g. notebooks)")), n.notInCompositeEditor = n.inCompositeEditor.toNegated(), n.languageId = new Te("editorLangId", "", C(709, "The language identifier of the editor")), n.hasCompletionItemProvider = new Te("editorHasCompletionItemProvider", !1, C(710, "Whether the editor has a completion item provider")), n.hasCodeActionsProvider = new Te("editorHasCodeActionsProvider", !1, C(711, "Whether the editor has a code actions provider")), n.hasCodeLensProvider = new Te("editorHasCodeLensProvider", !1, C(712, "Whether the editor has a code lens provider")), n.hasDefinitionProvider = new Te("editorHasDefinitionProvider", !1, C(713, "Whether the editor has a definition provider")), n.hasDeclarationProvider = new Te("editorHasDeclarationProvider", !1, C(714, "Whether the editor has a declaration provider")), n.hasImplementationProvider = new Te("editorHasImplementationProvider", !1, C(715, "Whether the editor has an implementation provider")), n.hasTypeDefinitionProvider = new Te("editorHasTypeDefinitionProvider", !1, C(716, "Whether the editor has a type definition provider")), n.hasHoverProvider = new Te("editorHasHoverProvider", !1, C(717, "Whether the editor has a hover provider")), n.hasDocumentHighlightProvider = new Te("editorHasDocumentHighlightProvider", !1, C(718, "Whether the editor has a document highlight provider")), n.hasDocumentSymbolProvider = new Te("editorHasDocumentSymbolProvider", !1, C(719, "Whether the editor has a document symbol provider")), n.hasReferenceProvider = new Te("editorHasReferenceProvider", !1, C(720, "Whether the editor has a reference provider")), n.hasRenameProvider = new Te("editorHasRenameProvider", !1, C(721, "Whether the editor has a rename provider")), n.hasSignatureHelpProvider = new Te("editorHasSignatureHelpProvider", !1, C(722, "Whether the editor has a signature help provider")), n.hasInlayHintsProvider = new Te("editorHasInlayHintsProvider", !1, C(723, "Whether the editor has an inline hints provider")), n.hasDocumentFormattingProvider = new Te("editorHasDocumentFormattingProvider", !1, C(724, "Whether the editor has a document formatting provider")), n.hasDocumentSelectionFormattingProvider = new Te("editorHasDocumentSelectionFormattingProvider", !1, C(725, "Whether the editor has a document selection formatting provider")), n.hasMultipleDocumentFormattingProvider = new Te("editorHasMultipleDocumentFormattingProvider", !1, C(726, "Whether the editor has multiple document formatting providers")), n.hasMultipleDocumentSelectionFormattingProvider = new Te("editorHasMultipleDocumentSelectionFormattingProvider", !1, C(727, "Whether the editor has multiple document selection formatting providers"));
95752
95998
  })(H || (H = {}));
95753
95999
  const fi = 0;
95754
- class Qn extends Zs {
96000
+ class Qn extends Js {
95755
96001
  runEditorCommand(e, t, i) {
95756
96002
  const s = t._getViewModel();
95757
96003
  s && this.runCoreEditorCommand(s, i || {});
@@ -95760,7 +96006,7 @@ class Qn extends Zs {
95760
96006
  var Ur;
95761
96007
  (function(n) {
95762
96008
  const e = function(i) {
95763
- if (!js(i))
96009
+ if (!qs(i))
95764
96010
  return !1;
95765
96011
  const s = i;
95766
96012
  return !(!or(s.to) || !Do(s.by) && !or(s.by) || !Do(s.value) && !Zm(s.value) || !Do(s.revealCursor) && !TJ(s.revealCursor));
@@ -95863,7 +96109,7 @@ var Ur;
95863
96109
  var NL;
95864
96110
  (function(n) {
95865
96111
  const e = function(t) {
95866
- if (!js(t))
96112
+ if (!qs(t))
95867
96113
  return !1;
95868
96114
  const i = t;
95869
96115
  return !(!Zm(i.lineNumber) && !or(i.lineNumber) || !Do(i.at) && !or(i.at));
@@ -95902,7 +96148,7 @@ class dQ {
95902
96148
  const s = t.get(ti).getFocusedCodeEditor();
95903
96149
  return s && s.hasTextFocus() ? this._runEditorCommand(t, s, i) : !1;
95904
96150
  }), e.addImplementation(1e3, "generic-dom-input-textarea", (t, i) => {
95905
- const s = Ks();
96151
+ const s = Ys();
95906
96152
  return s && Wd(s) ? (this.runDOMCommand(s), !0) : !1;
95907
96153
  }), e.addImplementation(0, "generic-dom", (t, i) => {
95908
96154
  const s = t.get(ti).getActiveCodeEditor();
@@ -97130,7 +97376,7 @@ function _xe(n) {
97130
97376
  }
97131
97377
  var N2;
97132
97378
  (function(n) {
97133
- class e extends Zs {
97379
+ class e extends Js {
97134
97380
  runEditorCommand(i, s, r) {
97135
97381
  const o = s._getViewModel();
97136
97382
  o && this.runCoreEditingCommand(s, o, r || {});
@@ -102751,11 +102997,11 @@ class S8t {
102751
102997
  const u = l.className, d = l.type === 1 ? 2 : l.type === 2 ? 4 : 0;
102752
102998
  if (c > 1) {
102753
102999
  const p = e.charCodeAt(c - 2);
102754
- Us(p) && c--;
103000
+ Gs(p) && c--;
102755
103001
  }
102756
103002
  if (h > 1) {
102757
103003
  const p = e.charCodeAt(h - 2);
102758
- Us(p) && h--;
103004
+ Gs(p) && h--;
102759
103005
  }
102760
103006
  const f = c - 1, g = h - 2;
102761
103007
  r = s.consumeLowerThan(f, r, i), s.count === 0 && (r = f), s.insert(g, u, d);
@@ -102763,7 +103009,7 @@ class S8t {
102763
103009
  return s.consumeLowerThan(1073741824, r, i), i;
102764
103010
  }
102765
103011
  }
102766
- class Gs {
103012
+ class js {
102767
103013
  constructor(e, t, i, s) {
102768
103014
  this.endIndex = e, this.type = t, this.metadata = i, this.containsRTL = s, this._linePartBrand = void 0;
102769
103015
  }
@@ -102912,7 +103158,7 @@ function D8t(n) {
102912
103158
  function T8t(n, e, t, i, s) {
102913
103159
  const r = [];
102914
103160
  let o = 0;
102915
- i > 0 && (r[o++] = new Gs(i, "", 0, !1));
103161
+ i > 0 && (r[o++] = new js(i, "", 0, !1));
102916
103162
  let a = i;
102917
103163
  for (let l = 0, c = t.getCount(); l < c; l++) {
102918
103164
  const h = t.getEndOffset(l);
@@ -102921,11 +103167,11 @@ function T8t(n, e, t, i, s) {
102921
103167
  const u = t.getClassName(l);
102922
103168
  if (h >= s) {
102923
103169
  const f = e ? qD(n.substring(a, s)) : !1;
102924
- r[o++] = new Gs(s, u, 0, f);
103170
+ r[o++] = new js(s, u, 0, f);
102925
103171
  break;
102926
103172
  }
102927
103173
  const d = e ? qD(n.substring(a, h)) : !1;
102928
- r[o++] = new Gs(h, u, 0, d), a = h;
103174
+ r[o++] = new js(h, u, 0, d), a = h;
102929
103175
  }
102930
103176
  return r;
102931
103177
  }
@@ -102940,8 +103186,8 @@ function E8t(n, e, t) {
102940
103186
  const h = l.type, u = l.metadata, d = l.containsRTL;
102941
103187
  let f = -1, g = i;
102942
103188
  for (let p = i; p < c; p++)
102943
- n.charCodeAt(p) === 32 && (f = p), f !== -1 && p - g >= 50 && (s[r++] = new Gs(f + 1, h, u, d), g = f + 1, f = -1);
102944
- g !== c && (s[r++] = new Gs(c, h, u, d));
103189
+ n.charCodeAt(p) === 32 && (f = p), f !== -1 && p - g >= 50 && (s[r++] = new js(f + 1, h, u, d), g = f + 1, f = -1);
103190
+ g !== c && (s[r++] = new js(c, h, u, d));
102945
103191
  } else
102946
103192
  s[r++] = l;
102947
103193
  i = c;
@@ -102956,9 +103202,9 @@ function E8t(n, e, t) {
102956
103202
  );
102957
103203
  for (let p = 1; p < g; p++) {
102958
103204
  const m = i + p * 50;
102959
- s[r++] = new Gs(m, u, d, f);
103205
+ s[r++] = new js(m, u, d, f);
102960
103206
  }
102961
- s[r++] = new Gs(c, u, d, f);
103207
+ s[r++] = new js(c, u, d, f);
102962
103208
  } else
102963
103209
  s[r++] = l;
102964
103210
  i = c;
@@ -102983,7 +103229,7 @@ function I8t(n, e) {
102983
103229
  if (s === 0)
102984
103230
  return e;
102985
103231
  const r = [];
102986
- r.push(new Gs(s, t.type, t.metadata, !1)), r.push(new Gs(i, t.type, t.metadata, t.containsRTL));
103232
+ r.push(new js(s, t.type, t.metadata, !1)), r.push(new js(i, t.type, t.metadata, t.containsRTL));
102987
103233
  for (let o = 1; o < e.length; o++)
102988
103234
  r.push(e[o]);
102989
103235
  return r;
@@ -102993,14 +103239,14 @@ function W9e(n) {
102993
103239
  }
102994
103240
  function k8t(n, e) {
102995
103241
  const t = [];
102996
- let i = new Gs(0, "", 0, !1), s = 0;
103242
+ let i = new js(0, "", 0, !1), s = 0;
102997
103243
  for (const r of e) {
102998
103244
  const o = r.endIndex;
102999
103245
  for (; s < o; s++) {
103000
103246
  const a = n.charCodeAt(s);
103001
- W9e(a) && (s > i.endIndex && (i = new Gs(s, r.type, r.metadata, r.containsRTL), t.push(i)), i = new Gs(s + 1, "mtkcontrol", r.metadata, !1), t.push(i));
103247
+ W9e(a) && (s > i.endIndex && (i = new js(s, r.type, r.metadata, r.containsRTL), t.push(i)), i = new js(s + 1, "mtkcontrol", r.metadata, !1), t.push(i));
103002
103248
  }
103003
- s > i.endIndex && (i = new Gs(o, r.type, r.metadata, r.containsRTL), t.push(i));
103249
+ s > i.endIndex && (i = new js(o, r.type, r.metadata, r.containsRTL), t.push(i));
103004
103250
  }
103005
103251
  return t;
103006
103252
  }
@@ -103036,13 +103282,13 @@ function N8t(n, e, t, i) {
103036
103282
  if (d) {
103037
103283
  const R = g > 0 ? f[g - 1].endIndex : r;
103038
103284
  for (let A = R + 1; A <= I; A++)
103039
- f[g++] = new Gs(A, "mtkw", 1, !1);
103285
+ f[g++] = new js(A, "mtkw", 1, !1);
103040
103286
  } else
103041
- f[g++] = new Gs(I, "mtkw", 1, !1);
103287
+ f[g++] = new js(I, "mtkw", 1, !1);
103042
103288
  T = T % o;
103043
103289
  }
103044
103290
  } else
103045
- (I === _ || N && I > r) && (f[g++] = new Gs(I, m, 0, v), T = T % o);
103291
+ (I === _ || N && I > r) && (f[g++] = new js(I, m, 0, v), T = T % o);
103046
103292
  for (k === 9 ? T = o : tv(k) ? T += 2 : T++, x = N; I === _ && (p++, p < b); )
103047
103293
  m = i[p].type, v = i[p].containsRTL, _ = i[p].endIndex;
103048
103294
  }
@@ -103057,11 +103303,11 @@ function N8t(n, e, t, i) {
103057
103303
  if (d) {
103058
103304
  const I = g > 0 ? f[g - 1].endIndex : r;
103059
103305
  for (let k = I + 1; k <= t; k++)
103060
- f[g++] = new Gs(k, "mtkw", 1, !1);
103306
+ f[g++] = new js(k, "mtkw", 1, !1);
103061
103307
  } else
103062
- f[g++] = new Gs(t, "mtkw", 1, !1);
103308
+ f[g++] = new js(t, "mtkw", 1, !1);
103063
103309
  else
103064
- f[g++] = new Gs(t, m, 0, v);
103310
+ f[g++] = new js(t, m, 0, v);
103065
103311
  return f;
103066
103312
  }
103067
103313
  function M8t(n, e, t, i) {
@@ -103074,20 +103320,20 @@ function M8t(n, e, t, i) {
103074
103320
  const f = t[u], g = f.endIndex, p = f.type, m = f.metadata, v = f.containsRTL;
103075
103321
  for (; o < r && s[o].startOffset < g; ) {
103076
103322
  const _ = s[o];
103077
- if (_.startOffset > c && (c = _.startOffset, a[l++] = new Gs(c, p, m, v)), _.endOffset + 1 <= g)
103078
- c = _.endOffset + 1, a[l++] = new Gs(c, p + " " + _.className, m | _.metadata, v), o++;
103323
+ if (_.startOffset > c && (c = _.startOffset, a[l++] = new js(c, p, m, v)), _.endOffset + 1 <= g)
103324
+ c = _.endOffset + 1, a[l++] = new js(c, p + " " + _.className, m | _.metadata, v), o++;
103079
103325
  else {
103080
- c = g, a[l++] = new Gs(c, p + " " + _.className, m | _.metadata, v);
103326
+ c = g, a[l++] = new js(c, p + " " + _.className, m | _.metadata, v);
103081
103327
  break;
103082
103328
  }
103083
103329
  }
103084
- g > c && (c = g, a[l++] = new Gs(c, p, m, v));
103330
+ g > c && (c = g, a[l++] = new js(c, p, m, v));
103085
103331
  }
103086
103332
  const h = t[t.length - 1].endIndex;
103087
103333
  if (o < r && s[o].startOffset === h)
103088
103334
  for (; o < r && s[o].startOffset === h; ) {
103089
103335
  const u = s[o];
103090
- a[l++] = new Gs(c, u.className, u.metadata, !1), o++;
103336
+ a[l++] = new js(c, u.className, u.metadata, !1), o++;
103091
103337
  }
103092
103338
  return a;
103093
103339
  }
@@ -105871,7 +106117,7 @@ let IQ = class extends j {
105871
106117
  this._OS === 2
105872
106118
  /* OperatingSystem.Macintosh */
105873
106119
  );
105874
- h.replacePrevCharCnt === 0 && h.text.length === 1 && (Us(h.text.charCodeAt(0)) || h.text.charCodeAt(0) === 127) || (this._textAreaState = c, (h.text !== "" || h.replacePrevCharCnt !== 0 || h.replaceNextCharCnt !== 0 || h.positionDelta !== 0) && (l.inputType === "insertFromPaste" ? this._onPaste.fire({
106120
+ h.replacePrevCharCnt === 0 && h.text.length === 1 && (Gs(h.text.charCodeAt(0)) || h.text.charCodeAt(0) === 127) || (this._textAreaState = c, (h.text !== "" || h.replacePrevCharCnt !== 0 || h.replaceNextCharCnt !== 0 || h.positionDelta !== 0) && (l.inputType === "insertFromPaste" ? this._onPaste.fire({
105875
106121
  text: h.text,
105876
106122
  metadata: Lg.INSTANCE.get(h.text)
105877
106123
  }) : this._onType.fire(h)));
@@ -105971,7 +106217,7 @@ class h7t extends j {
105971
106217
  }
105972
106218
  hasFocus() {
105973
106219
  const e = Z0(this._actual);
105974
- return e ? e.activeElement === this._actual : this._actual.isConnected ? Ks() === this._actual : !1;
106220
+ return e ? e.activeElement === this._actual : this._actual.isConnected ? Ys() === this._actual : !1;
105975
106221
  }
105976
106222
  setIgnoreSelectionChangeTime(e) {
105977
106223
  this._ignoreSelectionChangeTime = Date.now();
@@ -105999,7 +106245,7 @@ class h7t extends j {
105999
106245
  const s = this._actual;
106000
106246
  let r = null;
106001
106247
  const o = Z0(s);
106002
- o ? r = o.activeElement : r = Ks();
106248
+ o ? r = o.activeElement : r = Ys();
106003
106249
  const a = ze(r), l = r === s, c = s.selectionStart, h = s.selectionEnd;
106004
106250
  if (l && c === t && h === i) {
106005
106251
  al && a.parent !== a && s.focus();
@@ -114954,7 +115200,7 @@ let $Q = class extends LFe {
114954
115200
  _getCharacterBeforePosition(e) {
114955
115201
  if (e.column > 1) {
114956
115202
  const i = this._context.viewModel.getLineContent(e.lineNumber).charAt(e.column - 2);
114957
- if (!Us(i.charCodeAt(0)))
115203
+ if (!Gs(i.charCodeAt(0)))
114958
115204
  return i;
114959
115205
  }
114960
115206
  return "";
@@ -115210,7 +115456,7 @@ let UQ = class extends j {
115210
115456
  this._domNode.focus(), this.refreshFocusState();
115211
115457
  }
115212
115458
  refreshFocusState() {
115213
- const e = Z0(this._domNode), t = e ? e.activeElement : Ks(), i = this._domNode === t;
115459
+ const e = Z0(this._domNode), t = e ? e.activeElement : Ys(), i = this._domNode === t;
115214
115460
  this._handleFocusedChanged(i);
115215
115461
  }
115216
115462
  get isFocused() {
@@ -115925,7 +116171,7 @@ const ud = class ud {
115925
116171
  }
115926
116172
  };
115927
116173
  ud.zero = new ud(0, 0);
115928
- let Ys = ud;
116174
+ let Xs = ud;
115929
116175
  class EFe {
115930
116176
  getOffsetRange(e) {
115931
116177
  return new Fe(this.getOffset(e.getStartPosition()), this.getOffset(e.getEndPosition()));
@@ -116038,7 +116284,7 @@ class ZFt extends $ue {
116038
116284
  }
116039
116285
  get length() {
116040
116286
  const e = this._getLineContent(this._lineCount);
116041
- return new Ys(this._lineCount - 1, e.length);
116287
+ return new Xs(this._lineCount - 1, e.length);
116042
116288
  }
116043
116289
  }
116044
116290
  class V4 extends ZFt {
@@ -116079,7 +116325,7 @@ class Ol {
116079
116325
  const o = r.range.getStartPosition();
116080
116326
  if (e.isBeforeOrEqual(o))
116081
116327
  break;
116082
- const a = r.range.getEndPosition(), l = Ys.ofText(r.text);
116328
+ const a = r.range.getEndPosition(), l = Xs.ofText(r.text);
116083
116329
  if (e.isBefore(a)) {
116084
116330
  const c = new U(o.lineNumber + t, o.column + (o.lineNumber + t === i ? s : 0)), h = l.addToPosition(c);
116085
116331
  return B4(c, h);
@@ -116115,7 +116361,7 @@ class Ol {
116115
116361
  const e = [];
116116
116362
  let t = 0, i = 0, s = 0;
116117
116363
  for (const r of this.replacements) {
116118
- const o = Ys.ofText(r.text), a = U.lift({
116364
+ const o = Xs.ofText(r.text), a = U.lift({
116119
116365
  lineNumber: r.range.startLineNumber + i,
116120
116366
  column: r.range.startColumn + (r.range.startLineNumber === t ? s : 0)
116121
116367
  }), l = o.createRange(a);
@@ -116206,7 +116452,7 @@ class bs {
116206
116452
  `, `
116207
116453
  `), i = this.text.replaceAll(`\r
116208
116454
  `, `
116209
- `), s = Vu(t, i), r = Ys.ofText(t.substring(0, s)).addToPosition(this.range.getStartPosition()), o = i.substring(s), a = P.fromPositions(r, this.range.getEndPosition());
116455
+ `), s = Vu(t, i), r = Xs.ofText(t.substring(0, s)).addToPosition(this.range.getStartPosition()), o = i.substring(s), a = P.fromPositions(r, this.range.getEndPosition());
116210
116456
  return new bs(a, o);
116211
116457
  }
116212
116458
  removeCommonSuffix(e) {
@@ -116214,7 +116460,7 @@ class bs {
116214
116460
  `, `
116215
116461
  `), i = this.text.replaceAll(`\r
116216
116462
  `, `
116217
- `), s = ev(t, i), r = Ys.ofText(t.substring(0, t.length - s)).addToPosition(this.range.getStartPosition()), o = i.substring(0, i.length - s), a = P.fromPositions(this.range.getStartPosition(), r);
116463
+ `), s = ev(t, i), r = Xs.ofText(t.substring(0, t.length - s)).addToPosition(this.range.getStartPosition()), o = i.substring(0, i.length - s), a = P.fromPositions(this.range.getStartPosition(), r);
116218
116464
  return new bs(a, o);
116219
116465
  }
116220
116466
  toString() {
@@ -116234,7 +116480,7 @@ XFt({
116234
116480
  StringReplacement: Rr,
116235
116481
  TextReplacement: bs,
116236
116482
  TextEdit: Ol,
116237
- TextLength: Ys
116483
+ TextLength: Xs
116238
116484
  });
116239
116485
  var JFt = function(n, e, t, i) {
116240
116486
  var s = arguments.length, r = s < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
@@ -116534,7 +116780,7 @@ let B9 = class extends LFe {
116534
116780
  const d = u.text;
116535
116781
  if (d.length === 1) {
116536
116782
  const f = d.charCodeAt(0);
116537
- if (Us(f)) {
116783
+ if (Gs(f)) {
116538
116784
  c = d;
116539
116785
  return;
116540
116786
  }
@@ -116619,7 +116865,7 @@ let B9 = class extends LFe {
116619
116865
  this._screenReaderSupport.onWillPaste();
116620
116866
  }
116621
116867
  onWillCopy() {
116622
- this.logService.trace("NativeEditContext#onWillCopy"), this.logService.trace("NativeEditContext#isFocused : ", this.domNode.domNode === Ks());
116868
+ this.logService.trace("NativeEditContext#onWillCopy"), this.logService.trace("NativeEditContext#isFocused : ", this.domNode.domNode === Ys());
116623
116869
  }
116624
116870
  writeScreenReaderContent() {
116625
116871
  this._screenReaderSupport.writeScreenReaderContent();
@@ -117876,7 +118122,7 @@ function _s(n, e) {
117876
118122
  }
117877
118123
  function Sh(n) {
117878
118124
  const e = n, t = Math.floor(e / Nc), i = e - t * Nc;
117879
- return new Ys(t, i);
118125
+ return new Xs(t, i);
117880
118126
  }
117881
118127
  function yVt(n) {
117882
118128
  return Math.floor(n / Nc);
@@ -119851,7 +120097,7 @@ function dLe(n) {
119851
120097
  }
119852
120098
  class bR {
119853
120099
  static fromText(e) {
119854
- const t = Ys.ofText(e).lineCount, i = e.length;
120100
+ const t = Xs.ofText(e).lineCount, i = e.length;
119855
120101
  return new bR(t, 0, i, 0);
119856
120102
  }
119857
120103
  static tryCreate(e, t, i, s) {
@@ -121957,7 +122203,7 @@ class W2 extends j {
121957
122203
  for (let o = s; o <= r; o++) {
121958
122204
  const a = this.getLineContent(o), l = o === s ? e.startColumn - 1 : 0, c = o === r ? e.endColumn - 1 : a.length;
121959
122205
  for (let h = l; h < c; h++)
121960
- Us(a.charCodeAt(h)) ? (i = i + 1, h = h + 1) : i = i + 1;
122206
+ Gs(a.charCodeAt(h)) ? (i = i + 1, h = h + 1) : i = i + 1;
121961
122207
  }
121962
122208
  return i += this._getEndOfLine(t).length * (r - s), i;
121963
122209
  }
@@ -122235,7 +122481,7 @@ class ZFe {
122235
122481
  }
122236
122482
  }
122237
122483
  }
122238
- function dh(n, e = Xs.ofCaller()) {
122484
+ function dh(n, e = Zs.ofCaller()) {
122239
122485
  return typeof n == "string" ? new xLe(n, void 0, e) : new xLe(void 0, n, e);
122240
122486
  }
122241
122487
  class xLe extends fE {
@@ -122336,7 +122582,7 @@ class gBt extends fE {
122336
122582
  this._value = e;
122337
122583
  }
122338
122584
  }
122339
- function RN(n, e, t = Xs.ofCaller()) {
122585
+ function RN(n, e, t = Zs.ofCaller()) {
122340
122586
  return n.lazy ? new gBt(new co(n.owner, n.debugName, void 0), e, n.equalsFn ?? Bc, t) : new HA(new co(n.owner, n.debugName, void 0), e, n.equalsFn ?? Bc, t);
122341
122587
  }
122342
122588
  class pBt {
@@ -122495,7 +122741,7 @@ let see = class extends j {
122495
122741
  _applyEdits(e) {
122496
122742
  var t, i;
122497
122743
  for (const s of e) {
122498
- const r = Ys.ofRange(P.lift(s.range)), o = Ys.ofText(s.text), a = s.text.length === 0 ? o : r.add(o), l = {
122744
+ const r = Xs.ofRange(P.lift(s.range)), o = Xs.ofText(s.text), a = s.text.length === 0 ? o : r.add(o), l = {
122499
122745
  startIndex: s.rangeOffset,
122500
122746
  oldEndIndex: s.rangeOffset + s.rangeLength,
122501
122747
  newEndIndex: s.rangeOffset + s.text.length,
@@ -124981,7 +125227,7 @@ let $C = (Cd = class extends j {
124981
125227
  return !1;
124982
125228
  if (i === 1) {
124983
125229
  const o = this._buffer.getLineCharCode(e, t - 2);
124984
- if (Us(o))
125230
+ if (Gs(o))
124985
125231
  return !1;
124986
125232
  }
124987
125233
  return !0;
@@ -124999,7 +125245,7 @@ let $C = (Cd = class extends j {
124999
125245
  return new U(s, a);
125000
125246
  if (i === 1) {
125001
125247
  const l = this._buffer.getLineCharCode(s, r - 2);
125002
- if (Us(l))
125248
+ if (Gs(l))
125003
125249
  return new U(s, r - 1);
125004
125250
  }
125005
125251
  return new U(s, r);
@@ -125029,7 +125275,7 @@ let $C = (Cd = class extends j {
125029
125275
  ))
125030
125276
  return !1;
125031
125277
  if (t === 1) {
125032
- const a = s > 1 ? this._buffer.getLineCharCode(i, s - 2) : 0, l = o > 1 && o <= this._buffer.getLineLength(r) ? this._buffer.getLineCharCode(r, o - 2) : 0, c = Us(a), h = Us(l);
125278
+ const a = s > 1 ? this._buffer.getLineCharCode(i, s - 2) : 0, l = o > 1 && o <= this._buffer.getLineLength(r) ? this._buffer.getLineCharCode(r, o - 2) : 0, c = Gs(a), h = Gs(l);
125033
125279
  return !c && !h;
125034
125280
  }
125035
125281
  return !0;
@@ -125049,7 +125295,7 @@ let $C = (Cd = class extends j {
125049
125295
  /* StringOffsetValidationType.Relaxed */
125050
125296
  ), r = i.lineNumber, o = i.column, a = s.lineNumber, l = s.column;
125051
125297
  {
125052
- const c = o > 1 ? this._buffer.getLineCharCode(r, o - 2) : 0, h = l > 1 && l <= this._buffer.getLineLength(a) ? this._buffer.getLineCharCode(a, l - 2) : 0, u = Us(c), d = Us(h);
125298
+ const c = o > 1 ? this._buffer.getLineCharCode(r, o - 2) : 0, h = l > 1 && l <= this._buffer.getLineLength(a) ? this._buffer.getLineCharCode(a, l - 2) : 0, u = Gs(c), d = Gs(h);
125053
125299
  return !u && !d ? new P(r, o, a, l) : r === a && o === l ? new P(r, o - 1, a, l - 1) : u && d ? new P(r, o - 1, a, l + 1) : u ? new P(r, o - 1, a, l) : new P(r, o, a, l + 1);
125054
125300
  }
125055
125301
  }
@@ -125893,7 +126139,7 @@ function cWt(n, e, t, i, s, r, o, a) {
125893
126139
  for (let W = S; W < l; W++) {
125894
126140
  const $ = W, z = t.charCodeAt(W);
125895
126141
  let K, Y;
125896
- if (Us(z) ? (W++, K = 0, Y = 2) : (K = n.get(z), Y = PN(z, k, i, r)), $ > v && gee(N, R, z, K, c) && (L = $, D = k), k += Y, k > b) {
126142
+ if (Gs(z) ? (W++, K = 0, Y = 2) : (K = n.get(z), Y = PN(z, k, i, r)), $ > v && gee(N, R, z, K, c) && (L = $, D = k), k += Y, k > b) {
125897
126143
  $ > v ? (T = $, E = k - Y) : (T = W + 1, E = k), k - D > f && (L = 0), A = !1;
125898
126144
  break;
125899
126145
  }
@@ -125928,7 +126174,7 @@ function cWt(n, e, t, i, s, r, o, a) {
125928
126174
  if (W <= i) {
125929
126175
  const $ = t.charCodeAt(T);
125930
126176
  let z;
125931
- Us($) ? z = 2 : z = PN($, E, i, r), W - z < 0 && (L = 0);
126177
+ Gs($) ? z = 2 : z = PN($, E, i, r), W - z < 0 && (L = 0);
125932
126178
  }
125933
126179
  }
125934
126180
  if (A) {
@@ -125938,7 +126184,7 @@ function cWt(n, e, t, i, s, r, o, a) {
125938
126184
  }
125939
126185
  if (L === 0 && (L = T, D = E), L <= v) {
125940
126186
  const k = t.charCodeAt(v);
125941
- Us(k) ? (L = v + 2, D = _ + 2) : (L = v + 1, D = _ + PN(k, _, i, r));
126187
+ Gs(k) ? (L = v + 2, D = _ + 2) : (L = v + 1, D = _ + PN(k, _, i, r));
125942
126188
  }
125943
126189
  for (v = L, g[m] = L, _ = D, p[m] = D, m++, b = D + f; w < 0 || w < y && u[w] < D; )
125944
126190
  w++;
@@ -125962,11 +126208,11 @@ function hWt(n, e, t, i, s, r, o, a, l) {
125962
126208
  return h ? new IN(u, h, [c.length], [], 0) : null;
125963
126209
  const f = a === "keepAll", g = rVe(c, i, s, r, o), p = s - g, m = [], v = [];
125964
126210
  let _ = 0, b = 0, y = 0, w = s, S = c.charCodeAt(0), x = n.get(S), L = PN(S, 0, i, r), D = 1;
125965
- Us(S) && (L += 1, S = c.charCodeAt(1), x = n.get(S), D++);
126211
+ Gs(S) && (L += 1, S = c.charCodeAt(1), x = n.get(S), D++);
125966
126212
  for (let T = D; T < d; T++) {
125967
126213
  const E = T, I = c.charCodeAt(T);
125968
126214
  let k, N, R = !1;
125969
- Us(I) ? (T++, k = 0, N = 2) : (k = n.get(I), N = PN(I, L, i, r)), l && uWt(c, T) ? (b = E, y = L, R = !0) : gee(S, x, I, k, f) && (b = E, y = L), L += N, (L > w || R) && ((b === 0 || L - y > p) && (b = E, y = L - N), m[_] = b, v[_] = y, _++, w = y + p, b = 0), S = I, x = k;
126215
+ Gs(I) ? (T++, k = 0, N = 2) : (k = n.get(I), N = PN(I, L, i, r)), l && uWt(c, T) ? (b = E, y = L, R = !0) : gee(S, x, I, k, f) && (b = E, y = L), L += N, (L > w || R) && ((b === 0 || L - y > p) && (b = E, y = L - N), m[_] = b, v[_] = y, _++, w = y + p, b = 0), S = I, x = k;
125970
126216
  }
125971
126217
  return _ === 0 && (!t || t.length === 0) ? null : (m[_] = d, v[_] = L, new IN(u, h, m, v, g));
125972
126218
  }
@@ -130750,7 +130996,7 @@ let UC = (vw = class extends j {
130750
130996
  }
130751
130997
  _triggerEditorCommand(e, t, i) {
130752
130998
  const s = E2.getEditorCommand(t);
130753
- return s ? (i = i || {}, js(i) && (i.source = e), this._instantiationService.invokeFunction((r) => {
130999
+ return s ? (i = i || {}, qs(i) && (i.source = e), this._instantiationService.invokeFunction((r) => {
130754
131000
  Promise.resolve(s.runEditorCommand(r, this, i)).then(void 0, ht);
130755
131001
  }), !0) : !1;
130756
131002
  }
@@ -131627,12 +131873,12 @@ gt._signals = /* @__PURE__ */ new Set(), gt.errorAtPosition = gt.register({
131627
131873
  managesOwnEnablement: !0
131628
131874
  });
131629
131875
  let ba = gt;
131630
- function QLe(n, e, t, i = Xs.ofCaller()) {
131876
+ function QLe(n, e, t, i = Zs.ofCaller()) {
131631
131877
  return f7e({ debugName: () => `Configuration Key "${n}"` }, (s) => t.onDidChangeConfiguration((r) => {
131632
131878
  r.affectsConfiguration(n) && s(r);
131633
131879
  }), () => t.getValue(n) ?? e, i);
131634
131880
  }
131635
- function Af(n, e, t, i = Xs.ofCaller()) {
131881
+ function Af(n, e, t, i = Zs.ofCaller()) {
131636
131882
  const s = n.bindTo(e), r = new ie();
131637
131883
  return Jr({ debugName: () => `Set Context Key "${n.key}"` }, (o) => {
131638
131884
  const a = t(o);
@@ -135743,7 +135989,7 @@ const EB = class EB {
135743
135989
  }
135744
135990
  _setupFocusObserver(e) {
135745
135991
  this.disposables.add(Z(e, "focus", () => {
135746
- const t = Ks();
135992
+ const t = Ys();
135747
135993
  this.activeElement !== t && t !== null && (this.activeElement = t, this._scrollToActiveElement(this.activeElement, e));
135748
135994
  }, !0));
135749
135995
  }
@@ -136620,7 +136866,7 @@ class QVe {
136620
136866
  return this.isSelectionSingleChangeEvent(e) || this.isSelectionRangeChangeEvent(e);
136621
136867
  }
136622
136868
  onMouseDown(e) {
136623
- Mk(e.browserEvent.target) || Ks() !== e.browserEvent.target && this.list.domFocus();
136869
+ Mk(e.browserEvent.target) || Ys() !== e.browserEvent.target && this.list.domFocus();
136624
136870
  }
136625
136871
  onContextMenu(e) {
136626
136872
  if (Wd(e.browserEvent.target) || Mk(e.browserEvent.target))
@@ -137954,7 +138200,7 @@ class sl extends j {
137954
138200
  /* KeyCode.RightArrow */
137955
138201
  )) && this.updateFocusedItem();
137956
138202
  })), this.focusTracker = this._register(Ih(this.domNode)), this._register(this.focusTracker.onDidBlur(() => {
137957
- (Ks() === this.domNode || !ar(Ks(), this.domNode)) && (this._onDidBlur.fire(), this.previouslyFocusedItem = this.focusedItem, this.focusedItem = void 0, this.triggerKeyDown = !1);
138203
+ (Ys() === this.domNode || !ar(Ys(), this.domNode)) && (this._onDidBlur.fire(), this.previouslyFocusedItem = this.focusedItem, this.focusedItem = void 0, this.triggerKeyDown = !1);
137958
138204
  })), this._register(this.focusTracker.onDidFocus(() => this.updateFocusedItem())), this.actionsList = document.createElement("ul"), this.actionsList.className = "actions-container", this.options.highlightToggledItems && this.actionsList.classList.add("highlight-toggled"), this.actionsList.setAttribute("role", this.options.ariaRole || "toolbar"), this.options.ariaLabel && this.actionsList.setAttribute("aria-label", this.options.ariaLabel), this.domNode.appendChild(this.actionsList), e.appendChild(this.domNode);
137959
138205
  }
137960
138206
  refreshRole() {
@@ -137982,7 +138228,7 @@ class sl extends j {
137982
138228
  var e, t;
137983
138229
  for (let i = 0; i < this.actionsList.children.length; i++) {
137984
138230
  const s = this.actionsList.children[i];
137985
- if (ar(Ks(), s)) {
138231
+ if (ar(Ys(), s)) {
137986
138232
  this.focusedItem = i, (t = (e = this.viewItems[this.focusedItem]) == null ? void 0 : e.showHover) == null || t.call(e);
137987
138233
  break;
137988
138234
  }
@@ -138320,7 +138566,7 @@ function T2e(n, e) {
138320
138566
  }
138321
138567
  }
138322
138568
  function _Ut(n, e) {
138323
- return n.lineNumber === e.lineNumber ? new Ys(0, e.column - n.column) : new Ys(e.lineNumber - n.lineNumber, e.column - 1);
138569
+ return n.lineNumber === e.lineNumber ? new Xs(0, e.column - n.column) : new Xs(e.lineNumber - n.lineNumber, e.column - 1);
138324
138570
  }
138325
138571
  function bUt(n, e) {
138326
138572
  let t;
@@ -139321,7 +139567,7 @@ function cBe(n, e, t, i) {
139321
139567
  o = !1, a && c.dispose();
139322
139568
  });
139323
139569
  }
139324
- function Ml(n, e, t = Xs.ofCaller()) {
139570
+ function Ml(n, e, t = Zs.ofCaller()) {
139325
139571
  return new $Ut(typeof n == "string" ? n : new co(n, void 0, void 0), e, t);
139326
139572
  }
139327
139573
  class $Ut extends fE {
@@ -140587,7 +140833,7 @@ const u_ = class u_ extends j {
140587
140833
  this._endUpdate();
140588
140834
  }
140589
140835
  }
140590
- getOption(e, t = Xs.ofCaller()) {
140836
+ getOption(e, t = Zs.ofCaller()) {
140591
140837
  return gi(this, (i) => this.editor.onDidChangeConfiguration((s) => {
140592
140838
  s.hasChanged(e) && i(void 0);
140593
140839
  }), () => this.editor.getOption(e), t);
@@ -141840,7 +142086,7 @@ const AB = class AB extends j {
141840
142086
  return;
141841
142087
  if (ah(t))
141842
142088
  return this.delete(e, i);
141843
- const s = js(t) || Array.isArray(t) ? Rzt(t) : String(t);
142089
+ const s = qs(t) || Array.isArray(t) ? Rzt(t) : String(t);
141844
142090
  if (this.cache.get(e) !== s)
141845
142091
  return this.cache.set(e, s), this.pendingInserts.set(e, s), this.pendingDeletes.delete(e), this._onDidChangeStorage.fire({ key: e, external: i }), this.doFlush();
141846
142092
  }
@@ -143072,7 +143318,7 @@ class KC extends $ue {
143072
143318
  }
143073
143319
  get length() {
143074
143320
  const e = this._textModel.getLineCount(), t = this._textModel.getLineLength(e);
143075
- return new Ys(e - 1, t);
143321
+ return new Xs(e - 1, t);
143076
143322
  }
143077
143323
  }
143078
143324
  class wBe extends OC {
@@ -144200,7 +144446,7 @@ function QGt(n, e, t) {
144200
144446
  }) || null;
144201
144447
  }
144202
144448
  function HS(n) {
144203
- const t = n.get(ti).listDiffEditors(), i = Ks();
144449
+ const t = n.get(ti).listDiffEditors(), i = Ys();
144204
144450
  if (i) {
144205
144451
  for (const s of t)
144206
144452
  if (s.getContainerDomNode().contains(i))
@@ -144995,7 +145241,7 @@ class Fde {
144995
145241
  }
144996
145242
  class c0 extends Fde {
144997
145243
  static is(e) {
144998
- return e instanceof c0 ? !0 : js(e) && je.isUri(e.resource) && js(e.textEdit);
145244
+ return e instanceof c0 ? !0 : qs(e) && je.isUri(e.resource) && qs(e.textEdit);
144999
145245
  }
145000
145246
  static lift(e) {
145001
145247
  return e instanceof c0 ? e : new c0(e.resource, e.textEdit, e.versionId, e.metadata);
@@ -145006,7 +145252,7 @@ class c0 extends Fde {
145006
145252
  }
145007
145253
  class $2 extends Fde {
145008
145254
  static is(e) {
145009
- return e instanceof $2 ? !0 : js(e) && (!!e.newResource || !!e.oldResource);
145255
+ return e instanceof $2 ? !0 : qs(e) && (!!e.newResource || !!e.oldResource);
145010
145256
  }
145011
145257
  static lift(e) {
145012
145258
  return e instanceof $2 ? e : new $2(e.oldResource, e.newResource, e.options, e.metadata);
@@ -145052,7 +145298,7 @@ class Cjt extends _n {
145052
145298
  this._unregister(), super.dispose();
145053
145299
  }
145054
145300
  }
145055
- De(new class extends Zs {
145301
+ De(new class extends Js {
145056
145302
  constructor() {
145057
145303
  super({
145058
145304
  id: "editor.cancelOperation",
@@ -145299,7 +145545,7 @@ let zl = (p0 = class {
145299
145545
  } else
145300
145546
  this._messageWidget.value = new NK(this._editor, t, e);
145301
145547
  this._messageListeners.add(be.debounce(this._editor.onDidBlurEditorText, (s, r) => r, 0)(() => {
145302
- this._mouseOverMessage || this._messageWidget.value && ar(Ks(), this._messageWidget.value.getDomNode()) || this.closeMessage();
145548
+ this._mouseOverMessage || this._messageWidget.value && ar(Ys(), this._messageWidget.value.getDomNode()) || this.closeMessage();
145303
145549
  })), this._messageListeners.add(this._editor.onDidChangeCursorPosition(() => this.closeMessage())), this._messageListeners.add(this._editor.onDidDispose(() => this.closeMessage())), this._messageListeners.add(this._editor.onDidChangeModel(() => this.closeMessage())), this._messageListeners.add(Z(this._messageWidget.value.getDomNode(), _e.MOUSE_ENTER, () => this._mouseOverMessage = !0, !0)), this._messageListeners.add(Z(this._messageWidget.value.getDomNode(), _e.MOUSE_LEAVE, () => this._mouseOverMessage = !1, !0));
145304
145550
  let i;
145305
145551
  this._messageListeners.add(this._editor.onMouseMove((s) => {
@@ -145314,7 +145560,7 @@ zl = j6 = Njt([
145314
145560
  eDe(1, ot),
145315
145561
  eDe(2, kv)
145316
145562
  ], zl);
145317
- const Mjt = Zs.bindToContribution(zl.get);
145563
+ const Mjt = Js.bindToContribution(zl.get);
145318
145564
  De(new Mjt({
145319
145565
  id: "leaveEditorMessage",
145320
145566
  precondition: zl.MESSAGE_VISIBLE,
@@ -147437,7 +147683,7 @@ let fv = (Cw = class extends j {
147437
147683
  });
147438
147684
  const p = u.map((y) => ({
147439
147685
  providerMimeTypes: y.copyMimeTypes,
147440
- operation: qs((w) => y.prepareDocumentPaste(i, o, d, w).catch((S) => {
147686
+ operation: Ks((w) => y.prepareDocumentPaste(i, o, d, w).catch((S) => {
147441
147687
  console.error(S);
147442
147688
  }))
147443
147689
  }));
@@ -147492,7 +147738,7 @@ let fv = (Cw = class extends j {
147492
147738
  const o = this._editor;
147493
147739
  if (!o.hasModel())
147494
147740
  return;
147495
- const a = new uv(o, 3, void 0), l = qs(async (c) => {
147741
+ const a = new uv(o, 3, void 0), l = Ks(async (c) => {
147496
147742
  const h = this._editor;
147497
147743
  if (!h.hasModel())
147498
147744
  return;
@@ -147541,7 +147787,7 @@ let fv = (Cw = class extends j {
147541
147787
  }
147542
147788
  showPasteAsPick(e, t, i, s, r) {
147543
147789
  this._logService.trace("CopyPasteController#showPasteAsPick");
147544
- const o = qs(async (a) => {
147790
+ const o = Ks(async (a) => {
147545
147791
  var d;
147546
147792
  const l = this._editor;
147547
147793
  if (!l.hasModel())
@@ -148822,7 +149068,7 @@ class Cqt extends j {
148822
149068
  this.setState(Zb.Empty);
148823
149069
  return;
148824
149070
  }
148825
- const s = i.selection.getStartPosition(), r = qs(async (c) => {
149071
+ const s = i.selection.getStartPosition(), r = Ks(async (c) => {
148826
149072
  var u, d, f, g, p, m, v, _, b, y;
148827
149073
  if (this._settingEnabledNearbyQuickfixes() && i.trigger.type === 1 && (i.trigger.triggerAction === tc.QuickFix || (d = (u = i.trigger.filter) == null ? void 0 : u.include) != null && d.contains(mn.QuickFix))) {
148828
149074
  const w = await HL(this._registry, e, i.selection, i.trigger, Nd.None, c);
@@ -149415,7 +149661,7 @@ class Tqt extends Me {
149415
149661
  return zS(t, C(837, "No code actions available"), void 0, void 0, tc.QuickFix);
149416
149662
  }
149417
149663
  }
149418
- class Eqt extends Zs {
149664
+ class Eqt extends Js {
149419
149665
  constructor() {
149420
149666
  super({
149421
149667
  id: XBe,
@@ -150106,7 +150352,7 @@ let OR = (nD = class {
150106
150352
  const i = new Ai(() => {
150107
150353
  var r;
150108
150354
  const s = Date.now();
150109
- (r = this._getCodeLensModelPromise) == null || r.cancel(), this._getCodeLensModelPromise = qs((o) => iWe(this._languageFeaturesService.codeLensProvider, e, o)), this._getCodeLensModelPromise.then((o) => {
150355
+ (r = this._getCodeLensModelPromise) == null || r.cancel(), this._getCodeLensModelPromise = Ks((o) => iWe(this._languageFeaturesService.codeLensProvider, e, o)), this._getCodeLensModelPromise.then((o) => {
150110
150356
  this._currentCodeLensModel && this._oldCodeLensModels.add(this._currentCodeLensModel), this._currentCodeLensModel = o, this._codeLensCache.put(e, o);
150111
150357
  const a = this._provideCodeLensDebounce.update(e, Date.now() - s);
150112
150358
  i.delay = a, this._renderCodeLensSymbols(o), this._resolveCodeLensesInViewportSoon();
@@ -150210,7 +150456,7 @@ let OR = (nD = class {
150210
150456
  this._oldCodeLensModels.clear();
150211
150457
  return;
150212
150458
  }
150213
- const s = Date.now(), r = qs((a) => {
150459
+ const s = Date.now(), r = Ks((a) => {
150214
150460
  const l = t.map((c, h) => {
150215
150461
  const u = new Array(c.length), d = c.map((f, g) => !f.symbol.command && typeof f.provider.resolveCodeLens == "function" ? Promise.resolve(f.provider.resolveCodeLens(e, f.symbol, a)).then((p) => {
150216
150462
  u[g] = p;
@@ -150507,7 +150753,7 @@ let gT = (v0 = class extends j {
150507
150753
  })), this.beginCompute());
150508
150754
  }
150509
150755
  async beginCompute() {
150510
- this._computePromise = qs(async (e) => {
150756
+ this._computePromise = Ks(async (e) => {
150511
150757
  const t = this._editor.getModel();
150512
150758
  if (!t)
150513
150759
  return [];
@@ -158821,7 +159067,7 @@ class rHe {
158821
159067
  return this.doRefreshSubTree(e, t, i);
158822
159068
  }
158823
159069
  async doRefreshSubTree(e, t, i) {
158824
- const s = qs(async () => {
159070
+ const s = Ks(async () => {
158825
159071
  const r = await this.doRefreshNode(e, t, i);
158826
159072
  e.stale = !1, await OA.settled(r.map((o) => this.doRefreshSubTree(o, t, i)));
158827
159073
  });
@@ -158861,7 +159107,7 @@ class rHe {
158861
159107
  if (t)
158862
159108
  return t;
158863
159109
  const i = this.dataSource.getChildren(e.element);
158864
- return DJ(i) ? this.processChildren(i) : (t = qs(async () => this.processChildren(await i)), this.refreshPromises.set(e, t), t.finally(() => {
159110
+ return DJ(i) ? this.processChildren(i) : (t = Ks(async () => this.processChildren(await i)), this.refreshPromises.set(e, t), t.finally(() => {
158865
159111
  this.refreshPromises.delete(e);
158866
159112
  }));
158867
159113
  }
@@ -160649,7 +160895,7 @@ let aS = (Lw = class {
160649
160895
  this._widget.show(i), this._widget.focusOnReferenceTree();
160650
160896
  else {
160651
160897
  const o = Q6.get(r), a = this._model.clone();
160652
- this.closeWidget(), r.focus(), o == null || o.toggleWidget(i, qs((l) => Promise.resolve(a)), this._peekMode ?? !1);
160898
+ this.closeWidget(), r.focus(), o == null || o.toggleWidget(i, Ks((l) => Promise.resolve(a)), this._peekMode ?? !1);
160653
160899
  }
160654
160900
  }, (r) => {
160655
160901
  this._ignoreModelChangeEvent = !1, ht(r);
@@ -160866,7 +161112,7 @@ Ot(
160866
161112
  1
160867
161113
  /* InstantiationType.Delayed */
160868
161114
  );
160869
- De(new class extends Zs {
161115
+ De(new class extends Js {
160870
161116
  constructor() {
160871
161117
  super({
160872
161118
  id: "editor.gotoNextSymbolFromResult",
@@ -161082,7 +161328,7 @@ const eu = class eu extends Ku {
161082
161328
  }
161083
161329
  _openInPeek(e, t, i) {
161084
161330
  const s = aS.get(e);
161085
- s && e.hasModel() ? s.toggleWidget(i ?? e.getSelection(), qs((r) => Promise.resolve(t)), this.configuration.openInPeek) : t.dispose();
161331
+ s && e.hasModel() ? s.toggleWidget(i ?? e.getSelection(), Ks((r) => Promise.resolve(t)), this.configuration.openInPeek) : t.dispose();
161086
161332
  }
161087
161333
  };
161088
161334
  eu._allSymbolNavigationCommands = /* @__PURE__ */ new Map(), eu._activeAlternativeCommands = /* @__PURE__ */ new Set();
@@ -161581,7 +161827,7 @@ Yt.registerCommand({
161581
161827
  const o = aS.get(r);
161582
161828
  if (!o)
161583
161829
  return;
161584
- const a = qs((c) => qO(i.referenceProvider, r.getModel(), U.lift(t), !1, !1, c).then((h) => new $l(h, C(1064, "References")))), l = new P(t.lineNumber, t.column, t.lineNumber, t.column);
161830
+ const a = Ks((c) => qO(i.referenceProvider, r.getModel(), U.lift(t), !1, !1, c).then((h) => new $l(h, C(1064, "References")))), l = new P(t.lineNumber, t.column, t.lineNumber, t.column);
161585
161831
  return Promise.resolve(o.toggleWidget(l, a, !1));
161586
161832
  });
161587
161833
  }
@@ -162614,7 +162860,7 @@ ye(GF);
162614
162860
  ye(cie);
162615
162861
  ye(fZt);
162616
162862
  ye(gZt);
162617
- const DHe = new Te("markersNavigationVisible", !1), pZt = Zs.bindToContribution(lS.get);
162863
+ const DHe = new Te("markersNavigationVisible", !1), pZt = Js.bindToContribution(lS.get);
162618
162864
  De(new pZt({
162619
162865
  id: "closeMarkersNavigation",
162620
162866
  precondition: DHe,
@@ -162793,7 +163039,7 @@ let hie = class {
162793
163039
  return i;
162794
163040
  }
162795
163041
  getCodeActions(e) {
162796
- return qs((t) => HL(this._languageFeaturesService.codeActionProvider, this._editor.getModel(), new P(e.startLineNumber, e.startColumn, e.endLineNumber, e.endColumn), QDe, Nd.None, t));
163042
+ return Ks((t) => HL(this._languageFeaturesService.codeActionProvider, this._editor.getModel(), new P(e.startLineNumber, e.startColumn, e.endLineNumber, e.endColumn), QDe, Nd.None, t));
162797
163043
  }
162798
163044
  };
162799
163045
  hie = mZt([
@@ -164671,7 +164917,7 @@ Zt(
164671
164917
  /* EditorContributionInstantiation.Eager */
164672
164918
  );
164673
164919
  RE(hte);
164674
- De(new class extends Zs {
164920
+ De(new class extends Js {
164675
164921
  constructor() {
164676
164922
  super({
164677
164923
  id: GBe,
@@ -164687,7 +164933,7 @@ De(new class extends Zs {
164687
164933
  return (t = fv.get(e)) == null ? void 0 : t.changePasteType();
164688
164934
  }
164689
164935
  }());
164690
- De(new class extends Zs {
164936
+ De(new class extends Js {
164691
164937
  constructor() {
164692
164938
  super({
164693
164939
  id: "editor.hidePasteWidget",
@@ -164819,7 +165065,7 @@ let yT = (Bw = class extends j {
164819
165065
  if (!i.dataTransfer || !e.hasModel())
164820
165066
  return;
164821
165067
  (r = Np._currentDropOperation) == null || r.cancel(), e.focus(), e.setPosition(t);
164822
- const s = qs(async (o) => {
165068
+ const s = Ks(async (o) => {
164823
165069
  const a = new ie(), l = a.add(new uv(e, 1, void 0, o));
164824
165070
  try {
164825
165071
  const c = await this.extractDataTransferData(i);
@@ -164897,7 +165143,7 @@ Zt(
164897
165143
  /* EditorContributionInstantiation.BeforeFirstInteraction */
164898
165144
  );
164899
165145
  RE(cte);
164900
- De(new class extends Zs {
165146
+ De(new class extends Js {
164901
165147
  constructor() {
164902
165148
  super({
164903
165149
  id: NHe,
@@ -164913,7 +165159,7 @@ De(new class extends Zs {
164913
165159
  (i = yT.get(e)) == null || i.changeDropType();
164914
165160
  }
164915
165161
  }());
164916
- De(new class extends Zs {
165162
+ De(new class extends Js {
164917
165163
  constructor() {
164918
165164
  super({
164919
165165
  id: "editor.hideDropWidget",
@@ -165923,7 +166169,7 @@ ye(JZt);
165923
166169
  ye(tJt);
165924
166170
  ye(iJt);
165925
166171
  ye(nJt);
165926
- const df = Zs.bindToContribution(dl.get);
166172
+ const df = Js.bindToContribution(dl.get);
165927
166173
  De(new df({
165928
166174
  id: en.CloseFindWidgetCommand,
165929
166175
  precondition: Mv,
@@ -167098,7 +167344,7 @@ let l1 = (Hw = class extends j {
167098
167344
  const e = this.foldingModel;
167099
167345
  if (!e)
167100
167346
  return null;
167101
- const t = new cr(), i = this.getRangeProvider(e.textModel), s = this.foldingRegionPromise = qs((r) => i.compute(r));
167347
+ const t = new cr(), i = this.getRangeProvider(e.textModel), s = this.foldingRegionPromise = Ks((r) => i.compute(r));
167102
167348
  return s.then((r) => {
167103
167349
  if (r && s === this.foldingRegionPromise) {
167104
167350
  let o;
@@ -167279,7 +167525,7 @@ function TJt(n) {
167279
167525
  }
167280
167526
  function VHe(n) {
167281
167527
  if (!Do(n)) {
167282
- if (!js(n))
167528
+ if (!qs(n))
167283
167529
  return !1;
167284
167530
  const e = n;
167285
167531
  if (!Do(e.levels) && !Zm(e.levels) || !Do(e.direction) && !or(e.direction) || !Do(e.selectionLines) && (!Array.isArray(e.selectionLines) || !e.selectionLines.every(Zm)))
@@ -170911,7 +171157,7 @@ Zt(
170911
171157
  4
170912
171158
  /* EditorContributionInstantiation.Lazy */
170913
171159
  );
170914
- const B$ = Zs.bindToContribution(oa.get);
171160
+ const B$ = Js.bindToContribution(oa.get);
170915
171161
  De(new B$({
170916
171162
  id: "jumpToNextSnippetPlaceholder",
170917
171163
  precondition: le.and(oa.InSnippetMode, oa.HasNextTabstop),
@@ -171133,7 +171379,7 @@ function gm(n, e, t) {
171133
171379
  i,
171134
171380
  1
171135
171381
  /* EndOfLinePreference.LF */
171136
- ), o = Vu(r, s), a = Ys.ofText(r.substring(0, o)).addToPosition(n.range.getStartPosition()), l = s.substring(o), c = P.fromPositions(a, n.range.getEndPosition());
171382
+ ), o = Vu(r, s), a = Xs.ofText(r.substring(0, o)).addToPosition(n.range.getStartPosition()), l = s.substring(o), c = P.fromPositions(a, n.range.getEndPosition());
171137
171383
  return new bs(c, l);
171138
171384
  }
171139
171385
  function QHe(n, e) {
@@ -171248,7 +171494,7 @@ function vei(n, e) {
171248
171494
  KD(o, (l) => {
171249
171495
  t = r, s.setValue(r, l, a);
171250
171496
  });
171251
- }, Xs.ofCaller());
171497
+ }, Zs.ofCaller());
171252
171498
  return s;
171253
171499
  }
171254
171500
  var _ei = function(n, e, t, i) {
@@ -172366,7 +172612,7 @@ class JN extends nze {
172366
172612
  }
172367
172613
  canBeReused(e, t) {
172368
172614
  const i = this._textEdit.range;
172369
- return !!i && i.containsPosition(t) && this.isVisible(e, t) && Ys.ofRange(i).isGreaterThanOrEqualTo(Ys.ofRange(this._originalRange));
172615
+ return !!i && i.containsPosition(t) && this.isVisible(e, t) && Xs.ofRange(i).isGreaterThanOrEqualTo(Xs.ofRange(this._originalRange));
172370
172616
  }
172371
172617
  isVisible(e, t) {
172372
172618
  const i = this.getSingleTextEdit();
@@ -172437,8 +172683,8 @@ function Gei(n, e, t) {
172437
172683
  maxComputationTimeMs: 500
172438
172684
  }).changes.flatMap((d) => d.innerChanges ?? []);
172439
172685
  function c(d, f) {
172440
- const g = Ys.fromPosition(f.getStartPosition());
172441
- return Ys.ofRange(f).createRange(g.addToPosition(d));
172686
+ const g = Xs.fromPosition(f.getStartPosition());
172687
+ return Xs.ofRange(f).createRange(g.addToPosition(d));
172442
172688
  }
172443
172689
  const h = new $_(r);
172444
172690
  return new cv(l.map((d) => {
@@ -172873,7 +173119,7 @@ let $ie = (zw = class extends j {
172873
173119
  }
172874
173120
  _updateCompletionsEnablement(e) {
172875
173121
  const t = this._configurationService.getValue(e);
172876
- js(t) ? this._completionsEnabled = t : this._completionsEnabled = void 0;
173122
+ qs(t) ? this._completionsEnabled = t : this._completionsEnabled = void 0;
172877
173123
  }
172878
173124
  _log(e) {
172879
173125
  this._loggingEnabled.get() && this._logService.info(XQt(e)), this._structuredFetchLogger.log(e);
@@ -173837,7 +174083,7 @@ let Kie = class extends j {
173837
174083
  } finally {
173838
174084
  this._isAcceptingPartially = !1;
173839
174085
  }
173840
- const p = P.fromPositions(a.editRange.getStartPosition(), Ys.ofText(d).addToPosition(c)), v = e.getModel().getValueInRange(
174086
+ const p = P.fromPositions(a.editRange.getStartPosition(), Xs.ofText(d).addToPosition(c)), v = e.getModel().getValueInRange(
173841
174087
  p,
173842
174088
  1
173843
174089
  /* EndOfLinePreference.LF */
@@ -174591,7 +174837,7 @@ let vV = Zie = class {
174591
174837
  i = this._editor.getModel().getLineContent(a.lineNumber).substr(0, a.column - 1);
174592
174838
  }
174593
174839
  let s = "";
174594
- Y0(i.charCodeAt(i.length - 1)) ? Us(i.charCodeAt(i.length - 2)) && (s = i.substr(i.length - 2)) : s = i.charAt(i.length - 1);
174840
+ Y0(i.charCodeAt(i.length - 1)) ? Gs(i.charCodeAt(i.length - 2)) && (s = i.substr(i.length - 2)) : s = i.charAt(i.length - 1);
174595
174841
  const r = e.get(s);
174596
174842
  if (r) {
174597
174843
  const a = /* @__PURE__ */ new Map();
@@ -175529,7 +175775,7 @@ let ine = (L0 = class {
175529
175775
  return;
175530
175776
  this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);
175531
175777
  const t = e.elements[0], i = e.indexes[0];
175532
- t !== this._focusedItem && ((s = this._currentSuggestionDetails) == null || s.cancel(), this._currentSuggestionDetails = void 0, this._focusedItem = t, this._list.reveal(i), this._currentSuggestionDetails = qs(async (r) => {
175778
+ t !== this._focusedItem && ((s = this._currentSuggestionDetails) == null || s.cancel(), this._currentSuggestionDetails = void 0, this._focusedItem = t, this._list.reveal(i), this._currentSuggestionDetails = Ks(async (r) => {
175533
175779
  const o = Qm(() => {
175534
175780
  this._isDetailsVisible() && this._showDetails(!0, !1);
175535
175781
  }, 250), a = r.onCancellationRequested(() => o.dispose());
@@ -176323,7 +176569,7 @@ Zt(
176323
176569
  /* EditorContributionInstantiation.BeforeFirstInteraction */
176324
176570
  );
176325
176571
  ye(_V);
176326
- const Hc = 190, Va = Zs.bindToContribution(Md.get);
176572
+ const Hc = 190, Va = Js.bindToContribution(Md.get);
176327
176573
  De(new Va({
176328
176574
  id: "acceptSelectedSuggestion",
176329
176575
  precondition: le.and(Dt.Visible, Dt.HasFocusedSuggestion),
@@ -176564,7 +176810,7 @@ De(new Va({
176564
176810
  id: "insertBestCompletion",
176565
176811
  precondition: le.and(H.textInputFocus, le.equals("config.editor.tabCompletion", "on"), gV.AtEnd, Dt.Visible.toNegated(), CT.OtherSuggestions.toNegated(), oa.InSnippetMode.toNegated()),
176566
176812
  handler: (n, e) => {
176567
- n.triggerSuggestAndAcceptBest(js(e) ? { fallback: "tab", ...e } : { fallback: "tab" });
176813
+ n.triggerSuggestAndAcceptBest(qs(e) ? { fallback: "tab", ...e } : { fallback: "tab" });
176568
176814
  },
176569
176815
  kbOpts: {
176570
176816
  weight: Hc,
@@ -177661,7 +177907,7 @@ class dze extends j {
177661
177907
  computeStickyModel(e) {
177662
177908
  if (e.isCancellationRequested || !this.isProviderValid())
177663
177909
  return { statusPromise: this._invalid(), modelPromise: null };
177664
- const t = qs((i) => this.createModelFromProvider(i));
177910
+ const t = Ks((i) => this.createModelFromProvider(i));
177665
177911
  return {
177666
177912
  statusPromise: t.then((i) => this.isModelValid(i) ? e.isCancellationRequested ? Z_.CANCELED : (this._stickyModel = this.createStickyModel(e, i), Z_.VALID) : this._invalid()).then(void 0, (i) => (ht(i), Z_.CANCELED)),
177667
177913
  modelPromise: t
@@ -178458,7 +178704,7 @@ function Kg(n) {
178458
178704
  return e;
178459
178705
  });
178460
178706
  }
178461
- function fh(n, e = Xs.ofCaller()) {
178707
+ function fh(n, e = Zs.ofCaller()) {
178462
178708
  return {
178463
178709
  left: oe({ name: "editor.validOverlay.left" }, (t) => (
178464
178710
  /** @description left */
@@ -180524,9 +180770,9 @@ let bne = class extends j {
180524
180770
  return di.Deletion;
180525
180771
  if (fEe(i) && this._useCodeShifting.read(t) === "always")
180526
180772
  return di.InsertionMultiLine;
180527
- if (h.every((_) => Ys.ofRange(_.originalRange).columnCount < GL.MAX_LENGTH && Ys.ofRange(_.modifiedRange).columnCount < GL.MAX_LENGTH) && u && l === 1 && c === 1) {
180773
+ if (h.every((_) => Xs.ofRange(_.originalRange).columnCount < GL.MAX_LENGTH && Xs.ofRange(_.modifiedRange).columnCount < GL.MAX_LENGTH) && u && l === 1 && c === 1) {
180528
180774
  const _ = h.map((y) => s.getValueOfRange(y.modifiedRange)), b = h.map((y) => e.inlineEdit.originalText.getValueOfRange(y.originalRange));
180529
- if (!_.some((y) => y.includes(" ")) && !b.some((y) => y.includes(" ")) && (!h.some((y) => y.originalRange.isEmpty()) || !pEe(h.map((y) => new bs(y.originalRange, "")), r.originalText).some((y) => y.range.isEmpty() && Ys.ofRange(y.range).columnCount < GL.MAX_LENGTH)))
180775
+ if (!_.some((y) => y.includes(" ")) && !b.some((y) => y.includes(" ")) && (!h.some((y) => y.originalRange.isEmpty()) || !pEe(h.map((y) => new bs(y.originalRange, "")), r.originalText).some((y) => y.range.isEmpty() && Xs.ofRange(y.range).columnCount < GL.MAX_LENGTH)))
180530
180776
  return di.WordReplacements;
180531
180777
  }
180532
180778
  }
@@ -181555,7 +181801,7 @@ let nP = (D0 = class {
181555
181801
  15
181556
181802
  /* CodeEditorStateFlag.Scroll */
181557
181803
  );
181558
- this.previousPromise && (this.previousPromise.cancel(), this.previousPromise = null), this.previousPromise = qs((a) => this.findDefinition(e, a));
181804
+ this.previousPromise && (this.previousPromise.cancel(), this.previousPromise = null), this.previousPromise = Ks((a) => this.findDefinition(e, a));
181559
181805
  let s;
181560
181806
  try {
181561
181807
  s = await this.previousPromise;
@@ -182796,7 +183042,7 @@ let ST = (T0 = class {
182796
183042
  5
182797
183043
  /* CodeEditorStateFlag.Position */
182798
183044
  ), a = s.uri;
182799
- return this.editorWorkerService.canNavigateValueSet(a) ? (this.currentRequest = qs((c) => this.editorWorkerService.navigateValueSet(a, r, t)), this.currentRequest.then((c) => {
183045
+ return this.editorWorkerService.canNavigateValueSet(a) ? (this.currentRequest = Ks((c) => this.editorWorkerService.navigateValueSet(a, r, t)), this.currentRequest.then((c) => {
182800
183046
  var g;
182801
183047
  if (!c || !c.range || !c.value || !o.validate(this.editor))
182802
183048
  return;
@@ -183124,7 +183370,7 @@ class asi extends Me {
183124
183370
  return i ? Promise.resolve(i.updateRanges(!0)) : Promise.resolve();
183125
183371
  }
183126
183372
  }
183127
- const lsi = Zs.bindToContribution(xT.get);
183373
+ const lsi = Js.bindToContribution(xT.get);
183128
183374
  De(new lsi({
183129
183375
  id: "cancelLinkedEditingInput",
183130
183376
  precondition: xze,
@@ -183293,7 +183539,7 @@ let sP = (Xw = class extends j {
183293
183539
  return;
183294
183540
  const e = this.editor.getModel();
183295
183541
  if (!e.isTooLargeForSyncing() && this.providers.has(e)) {
183296
- this.activeLinksList && (this.activeLinksList.dispose(), this.activeLinksList = null), this.computePromise = qs((t) => Dze(this.providers, e, t));
183542
+ this.activeLinksList && (this.activeLinksList.dispose(), this.activeLinksList = null), this.computePromise = Ks((t) => Dze(this.providers, e, t));
183297
183543
  try {
183298
183544
  const t = new cr(!1);
183299
183545
  if (this.activeLinksList = await this.computePromise, this.debounceInformation.update(e, t.elapsed()), e.isDisposed())
@@ -184589,7 +184835,7 @@ const yW = class yW extends j {
184589
184835
  if (!this.editor.hasModel())
184590
184836
  return !1;
184591
184837
  const o = this.editor.getModel(), a = this.editor.getPosition();
184592
- this.state = new c_.Pending(qs((l) => Eze(this.providers, o, a, r, l)), i);
184838
+ this.state = new c_.Pending(Ks((l) => Eze(this.providers, o, a, r, l)), i);
184593
184839
  try {
184594
184840
  const l = await this.state.request;
184595
184841
  return e !== this.triggerId ? (l == null || l.dispose(), !1) : !l || !l.value.signatures || l.value.signatures.length === 0 ? (l == null || l.dispose(), this._lastSignatureHelpResult.clear(), this.cancel(), !1) : (this.state = new c_.Active(l.value), this._lastSignatureHelpResult.value = l, this._onChangedHints.fire(this.state.hints), !0);
@@ -184903,7 +185149,7 @@ Zt(
184903
185149
  /* EditorContributionInstantiation.BeforeFirstInteraction */
184904
185150
  );
184905
185151
  ye(Ksi);
184906
- const Ufe = 175, Gfe = Zs.bindToContribution(DT.get);
185152
+ const Ufe = 175, Gfe = Js.bindToContribution(DT.get);
184907
185153
  De(new Gfe({
184908
185154
  id: "closeParameterHints",
184909
185155
  precondition: hS.Visible,
@@ -185689,7 +185935,7 @@ Zt(
185689
185935
  /* EditorContributionInstantiation.Lazy */
185690
185936
  );
185691
185937
  ye(sri);
185692
- const Kfe = Zs.bindToContribution(c1.get);
185938
+ const Kfe = Js.bindToContribution(c1.get);
185693
185939
  De(new Kfe({
185694
185940
  id: "acceptRenameInput",
185695
185941
  precondition: FE,
@@ -186818,7 +187064,7 @@ let NV = (uD = class extends j {
186818
187064
  this._outstandingRequests = this._outstandingRequests.concat(t.map((i) => this._requestRange(e, i)));
186819
187065
  }
186820
187066
  _requestRange(e, t) {
186821
- const i = e.getVersionId(), s = qs((o) => Promise.resolve(Yfe(this._provider, e, t, o))), r = new cr(!1);
187067
+ const i = e.getVersionId(), s = Ks((o) => Promise.resolve(Yfe(this._provider, e, t, o))), r = new cr(!1);
186822
187068
  return s.then((o) => {
186823
187069
  if (this._debounceInformation.update(e, r.elapsed()), !o || !o.tokens || e.isDisposed() || e.getVersionId() !== i)
186824
187070
  return;
@@ -187389,11 +187635,11 @@ class Jfe {
187389
187635
  let y = d.index, w = d.index + d[0].length;
187390
187636
  if (y > 0) {
187391
187637
  const D = _.charCodeAt(y - 1);
187392
- Us(D) && y--;
187638
+ Gs(D) && y--;
187393
187639
  }
187394
187640
  if (w + 1 < b) {
187395
187641
  const D = _.charCodeAt(w - 1);
187396
- Us(D) && w++;
187642
+ Gs(D) && w++;
187397
187643
  }
187398
187644
  const S = _.substring(y, w);
187399
187645
  let x = KA(y + 1, oue, _, 0);
@@ -188640,7 +188886,7 @@ class Xze {
188640
188886
  this._model = e, this._selection = t, this._wordSeparators = i, this._wordRange = this._getCurrentWordRange(e, t), this._result = null;
188641
188887
  }
188642
188888
  get result() {
188643
- return this._result || (this._result = qs((e) => this._compute(this._model, this._selection, this._wordSeparators, e))), this._result;
188889
+ return this._result || (this._result = Ks((e) => this._compute(this._model, this._selection, this._wordSeparators, e))), this._result;
188644
188890
  }
188645
188891
  _getCurrentWordRange(e, t) {
188646
188892
  const i = e.getWordAtPosition(t.getPosition());
@@ -189064,7 +189310,7 @@ ye(moi);
189064
189310
  ye(voi);
189065
189311
  ye(_oi);
189066
189312
  RE(ase);
189067
- class K$ extends Zs {
189313
+ class K$ extends Js {
189068
189314
  constructor(e) {
189069
189315
  super(e), this._inSelectionMode = e.inSelectionMode, this._wordNavigationType = e.wordNavigationType;
189070
189316
  }
@@ -189320,7 +189566,7 @@ class Roi extends E1 {
189320
189566
  return super._move(Nh(qo.wordSeparators.defaultValue, e.intlSegmenterLocales), t, i, s, r);
189321
189567
  }
189322
189568
  }
189323
- class Y$ extends Zs {
189569
+ class Y$ extends Js {
189324
189570
  constructor(e) {
189325
189571
  super({ canTriggerInlineEdits: !0, ...e }), this._whitespaceHeuristics = e.whitespaceHeuristics, this._wordNavigationType = e.wordNavigationType;
189326
189572
  }
@@ -195946,7 +196192,7 @@ let Fre = class extends j {
195946
196192
  if (this._currentDelayedHover = void 0, e.content === "" || (a = this._currentHover) != null && a.isLocked || (e.id === void 0 && (e.id = cIe(e.content)), Yv(this._currentHoverOptions) === Yv(e)))
195947
196193
  return;
195948
196194
  this._currentHoverOptions = e, this._lastHoverOptions = e;
195949
- const i = e.trapFocus || this._accessibilityService.isScreenReaderOptimized(), s = Ks();
196195
+ const i = e.trapFocus || this._accessibilityService.isScreenReaderOptimized(), s = Ys();
195950
196196
  t || (i && s ? s.classList.contains("monaco-hover") || (this._lastFocusedElementBeforeOpen = s) : this._lastFocusedElementBeforeOpen = void 0);
195951
196197
  const r = new ie(), o = this._instantiationService.createInstance(Pre, e);
195952
196198
  if ((l = e.persistence) != null && l.sticky && (o.isLocked = !0), (c = e.position) != null && c.hoverPosition && !Zm(e.position.hoverPosition) && (e.target = {
@@ -195969,7 +196215,7 @@ let Fre = class extends j {
195969
196215
  r.add(Z(d, _e.CLICK, () => this.hideHover()));
195970
196216
  else
195971
196217
  r.add(Z(e.target, _e.CLICK, () => this.hideHover()));
195972
- const u = Ks();
196218
+ const u = Ys();
195973
196219
  if (u) {
195974
196220
  const d = ze(u).document;
195975
196221
  r.add(Z(u, _e.KEY_DOWN, (f) => {
@@ -196004,7 +196250,7 @@ let Fre = class extends j {
196004
196250
  this._lastHoverOptions && this.showInstantHover(this._lastHoverOptions, !0, !0);
196005
196251
  }
196006
196252
  _showAndFocusHoverForActiveElement() {
196007
- let e = Ks();
196253
+ let e = Ys();
196008
196254
  for (; e; ) {
196009
196255
  const t = this._delayedHovers.get(e) ?? this._managedHovers.get(e);
196010
196256
  if (t) {
@@ -196270,7 +196516,7 @@ class Nr {
196270
196516
  }
196271
196517
  mergeContents(e, t) {
196272
196518
  for (const i of Object.keys(t)) {
196273
- if (i in e && js(e[i]) && js(t[i])) {
196519
+ if (i in e && qs(e[i]) && qs(t[i])) {
196274
196520
  this.mergeContents(e[i], t[i]);
196275
196521
  continue;
196276
196522
  }
@@ -197639,7 +197885,7 @@ class vIe extends x$e {
197639
197885
  super(e, e, s, r), this.submenuActions = t, this.parentData = i, this.submenuOptions = s, this.mysubmenu = null, this.submenuDisposables = this._register(new ie()), this.mouseOver = !1, this.expandDirection = s && s.expandDirection !== void 0 ? s.expandDirection : { horizontal: YV.Right, vertical: zre.Below }, this.showScheduler = new Ai(() => {
197640
197886
  this.mouseOver && (this.cleanupExistingSubmenu(!1), this.createSubmenu(!1));
197641
197887
  }, 250), this.hideScheduler = new Ai(() => {
197642
- this.element && !ar(Ks(), this.element) && this.parentData.submenu === this.mysubmenu && (this.parentData.parent.focus(!1), this.cleanupExistingSubmenu(!0));
197888
+ this.element && !ar(Ys(), this.element) && this.parentData.submenu === this.mysubmenu && (this.parentData.parent.focus(!1), this.cleanupExistingSubmenu(!0));
197643
197889
  }, 750);
197644
197890
  }
197645
197891
  render(e) {
@@ -197654,7 +197900,7 @@ class vIe extends x$e {
197654
197900
  )) && (ni.stop(t, !0), this.createSubmenu(!0));
197655
197901
  })), this._register(Z(this.element, _e.KEY_DOWN, (t) => {
197656
197902
  const i = new Bi(t);
197657
- Ks() === this.item && (i.equals(
197903
+ Ys() === this.item && (i.equals(
197658
197904
  17
197659
197905
  /* KeyCode.RightArrow */
197660
197906
  ) || i.equals(
@@ -197666,7 +197912,7 @@ class vIe extends x$e {
197666
197912
  })), this._register(Z(this.element, _e.MOUSE_LEAVE, (t) => {
197667
197913
  this.mouseOver = !1;
197668
197914
  })), this._register(Z(this.element, _e.FOCUS_OUT, (t) => {
197669
- this.element && !ar(Ks(), this.element) && this.hideScheduler.schedule();
197915
+ this.element && !ar(Ys(), this.element) && this.hideScheduler.schedule();
197670
197916
  })), this._register(this.parentData.parent.onScroll(() => {
197671
197917
  this.parentData.submenu === this.mysubmenu && (this.parentData.parent.focus(!1), this.cleanupExistingSubmenu(!0));
197672
197918
  })));
@@ -198149,7 +198395,7 @@ class hci {
198149
198395
  const t = e.getActions();
198150
198396
  if (!t.length)
198151
198397
  return;
198152
- this.focusToReturn = Ks();
198398
+ this.focusToReturn = Ys();
198153
198399
  let i;
198154
198400
  const s = Yn(e.domForShadowRoot) ? e.domForShadowRoot : void 0;
198155
198401
  this.contextViewService.showContextView({
@@ -198191,7 +198437,7 @@ class hci {
198191
198437
  },
198192
198438
  onHide: (r) => {
198193
198439
  var o, a, l;
198194
- (o = e.onHide) == null || o.call(e, !!r), this.block && (this.block.remove(), this.block = null), (a = this.blockDisposable) == null || a.dispose(), this.blockDisposable = null, this.lastContainer && (Ks() === this.lastContainer || ar(Ks(), this.lastContainer)) && ((l = this.focusToReturn) == null || l.focus()), this.lastContainer = null;
198440
+ (o = e.onHide) == null || o.call(e, !!r), this.block && (this.block.remove(), this.block = null), (a = this.blockDisposable) == null || a.dispose(), this.blockDisposable = null, this.lastContainer && (Ys() === this.lastContainer || ar(Ys(), this.lastContainer)) && ((l = this.focusToReturn) == null || l.focus()), this.lastContainer = null;
198195
198441
  }
198196
198442
  }, s, !!s);
198197
198443
  }
@@ -204068,7 +204314,7 @@ function Yhi(n) {
204068
204314
  function Xhi(n) {
204069
204315
  if (typeof n.id != "string" || typeof n.label != "string" || typeof n.run != "function")
204070
204316
  throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");
204071
- const e = le.deserialize(n.precondition), t = (s, ...r) => Zs.runEditorCommand(s, r, e, (o, a, l) => Promise.resolve(n.run(a, ...l))), i = new ie();
204317
+ const e = le.deserialize(n.precondition), t = (s, ...r) => Js.runEditorCommand(s, r, e, (o, a, l) => Promise.resolve(n.run(a, ...l))), i = new ie();
204072
204318
  if (i.add(Yt.registerCommand(n.id, t)), n.contextMenuGroupId) {
204073
204319
  const s = {
204074
204320
  command: {
@@ -206037,7 +206283,7 @@ const ${ue} = ${jt};
206037
206283
  }).join(""), Xe = () => {
206038
206284
  i("close");
206039
206285
  };
206040
- Js(() => {
206286
+ Qs(() => {
206041
206287
  d(), a = fo.editor.create(r.value, {
206042
206288
  value: t.rule || Sdi,
206043
206289
  language: rk,
@@ -206246,7 +206492,7 @@ const ${ue} = ${jt};
206246
206492
  })();
206247
206493
  const d = Ge(null), f = Ge({}), g = async () => {
206248
206494
  if (d.value === null && (l.value.type === "opcua" || l.value.type === "http"))
206249
- return er.error("请获取数据!"), !1;
206495
+ return $s.error("请获取数据!"), !1;
206250
206496
  l.value.type === "opcua" && (f.value = { payload: d.value, pointTemp: r.value.dataSource.point }), l.value.type === "http" && (f.value = d.value), l.value.type === "node" && (f.value = {});
206251
206497
  const S = {};
206252
206498
  c.value.forEach((x) => {
@@ -206265,12 +206511,12 @@ const ${ue} = ${jt};
206265
206511
  d.value = null;
206266
206512
  }, m = async () => {
206267
206513
  if (!l.value.path)
206268
- return er.error("请输入点位地址!"), !1;
206514
+ return $s.error("请输入点位地址!"), !1;
206269
206515
  const S = await i.readPoints([l.value.path]);
206270
206516
  console.log(S), d.value = S[0] || { error: "未找到数据" };
206271
206517
  }, v = () => {
206272
206518
  let S = s.getItem("copyOpcuaNode");
206273
- S ? (console.log("copyOpcuaNode", S), l.value.path = S.nodeId, l.value.point = { ...S }) : er.warning("请在左侧数据来源中复制"), s.removeItem("copyOpcuaNode");
206519
+ S ? (console.log("copyOpcuaNode", S), l.value.path = S.nodeId, l.value.point = { ...S }) : $s.warning("请在左侧数据来源中复制"), s.removeItem("copyOpcuaNode");
206274
206520
  }, _ = () => {
206275
206521
  l.value.params.push({ key: "", value: "" });
206276
206522
  }, b = (S) => {
@@ -206278,7 +206524,7 @@ const ${ue} = ${jt};
206278
206524
  }, y = async () => {
206279
206525
  var D, T;
206280
206526
  if (!l.value.httpUrl)
206281
- return er.error("请输入请求地址"), !1;
206527
+ return $s.error("请输入请求地址"), !1;
206282
206528
  let S = JSON.parse(JSON.stringify(l.value));
206283
206529
  delete S.params;
206284
206530
  const x = {};
@@ -206286,7 +206532,7 @@ const ${ue} = ${jt};
206286
206532
  if (E.key)
206287
206533
  E.value && e.graph.getCellById(E.value) ? x[E.key] = (T = (D = e.graph.getCellById(E.value).getData()) == null ? void 0 : D.model) == null ? void 0 : T.modelValue : x[E.key] = E.value;
206288
206534
  else
206289
- return er.error("请完善请求参数"), !1;
206535
+ return $s.error("请完善请求参数"), !1;
206290
206536
  S.params = x;
206291
206537
  let L;
206292
206538
  try {
@@ -206298,9 +206544,9 @@ const ${ue} = ${jt};
206298
206544
  }, w = () => {
206299
206545
  var S;
206300
206546
  if (((S = l.value.bindNode) == null ? void 0 : S.length) == 0)
206301
- return er.error("请选择数据关联!"), !1;
206547
+ return $s.error("请选择数据关联!"), !1;
206302
206548
  if (d.value === null && (l.value.type === "opcua" || l.value.type === "http"))
206303
- return er.error("请获取数据!"), !1;
206549
+ return $s.error("请获取数据!"), !1;
206304
206550
  if (o.value)
206305
206551
  try {
206306
206552
  const x = new Function("data", "$", o.value);
@@ -206322,12 +206568,12 @@ const ${ue} = ${jt};
206322
206568
  });
206323
206569
  }
206324
206570
  }
206325
- t.setData({ dataSource: { parse: o.value } }), a.value = !1, er.success("解析成功!");
206571
+ t.setData({ dataSource: { parse: o.value } }), a.value = !1, $s.success("解析成功!");
206326
206572
  } catch (x) {
206327
- er.error("解析失败!"), console.error(x);
206573
+ $s.error("解析失败!"), console.error(x);
206328
206574
  }
206329
206575
  else
206330
- er.error("请填写解析函数!");
206576
+ $s.error("请填写解析函数!");
206331
206577
  };
206332
206578
  return (S, x) => {
206333
206579
  const L = we("el-option"), D = we("el-select"), T = we("el-form-item"), E = we("el-input"), I = we("el-button"), k = we("el-radio"), N = we("el-radio-group"), R = we("el-table-column"), A = we("el-table"), W = we("el-form"), $ = we("el-dialog");
@@ -206805,10 +207051,21 @@ const ${ue} = ${jt};
206805
207051
  {
206806
207052
  let d = o.getItem("menus") || [], f = null, g = crypto.randomUUID(), p = "";
206807
207053
  if (l === "0")
206808
- p = crypto.randomUUID(), f = { name: h, id: g, parentId: p, style: {}, value: {} }, d.push({ name: c, id: p, parentId: "0", children: [f] });
207054
+ p = crypto.randomUUID(), f = { name: h, id: g, parentId: p, style: {}, value: {} }, d.push({
207055
+ name: c,
207056
+ id: p,
207057
+ parentId: "0",
207058
+ children: [f]
207059
+ });
206809
207060
  else {
206810
207061
  const m = d.find((v) => v.id === l);
206811
- m && (p = m.id, m.children.push({ name: h, id: g, parentId: p, style: {}, value: {} }), f = { name: h, id: g, parentId: p, style: {}, value: {} });
207062
+ m && (p = m.id, m.children.push({
207063
+ name: h,
207064
+ id: g,
207065
+ parentId: p,
207066
+ style: {},
207067
+ value: {}
207068
+ }), f = { name: h, id: g, parentId: p, style: {}, value: {} });
206812
207069
  }
206813
207070
  return o.setItem(g, f), o.setItem("menus", d), f;
206814
207071
  }
@@ -206834,10 +207091,12 @@ const ${ue} = ${jt};
206834
207091
  else {
206835
207092
  let h = o.getItem("menus") || [];
206836
207093
  if (this.getMenu(l)) {
206837
- const d = h.find((f) => {
206838
- var g;
206839
- return (g = f.children) == null ? void 0 : g.some((p) => p.id === l);
206840
- });
207094
+ const d = h.find(
207095
+ (f) => {
207096
+ var g;
207097
+ return (g = f.children) == null ? void 0 : g.some((p) => p.id === l);
207098
+ }
207099
+ );
206841
207100
  d && (d.children = d.children.filter((f) => f.id !== l), d.children.length === 0 && (h = h.filter((f) => f.id !== d.id))), o.setItem("menus", h);
206842
207101
  }
206843
207102
  o.removeItem(l);
@@ -207048,18 +207307,22 @@ const ${ue} = ${jt};
207048
207307
  statusCode: "Good",
207049
207308
  sourceTimestamp: "2026-01-16T02:26:37.533Z",
207050
207309
  serverTimestamp: "2026-01-16T02:26:37.533Z",
207051
- aa: [
207052
- { vv: 1 },
207053
- { vv1: 1 }
207054
- ]
207310
+ aa: [{ vv: 1 }, { vv1: 1 }]
207055
207311
  }
207056
207312
  ];
207057
207313
  },
207058
207314
  async httpRequest(l) {
207059
207315
  var c, h;
207060
- return (c = r.services) != null && c.httpRequest ? await ((h = r.services) == null ? void 0 : h.httpRequest(l)) : {};
207316
+ if ((c = r.services) != null && c.httpRequest)
207317
+ try {
207318
+ return await ((h = r.services) == null ? void 0 : h.httpRequest(l));
207319
+ } catch {
207320
+ return;
207321
+ }
207322
+ else
207323
+ return {};
207061
207324
  }
207062
- }), yu("storage", o), Js(() => {
207325
+ }), yu("storage", o), Qs(() => {
207063
207326
  }), ho(() => {
207064
207327
  t.$reset(), i.$reset(), s.$reset();
207065
207328
  }), (l, c) => (ee(), ke("div", $di, [
@@ -207202,7 +207465,7 @@ const ${ue} = ${jt};
207202
207465
  }), u(d.value));
207203
207466
  },
207204
207467
  { deep: !0 }
207205
- ), Js(() => {
207468
+ ), Qs(() => {
207206
207469
  const { width: d, height: f } = e.menu.style;
207207
207470
  r = new Se({
207208
207471
  container: s.value,