@wyltils/ems-editor 1.0.51 → 1.0.52
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 +706 -696
- package/dist/index.umd.js +83 -83
- package/dist/style.css +1 -1
- package/package.json +1 -1
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
|
-
var
|
|
4
|
-
import { defineComponent as Cr, createElementBlock as ke, openBlock as ee, createElementVNode as ie, reactive as Mu, onBeforeUnmount as ho, h as fC, Fragment as ni, 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 Bi, renderSlot as u8, computed as ui, unref as mt, toDisplayString as ro, watch as Fn, resolveComponent as we, createBlock as it, withCtx as X, renderList as
|
|
5
|
-
import nUe, { ElMessageBox as WY, ElMessage as
|
|
3
|
+
var Ls = (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 ie, reactive as Mu, onBeforeUnmount as ho, h as fC, Fragment as ni, 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 Bi, renderSlot as u8, computed as ui, unref as mt, toDisplayString as ro, watch as Fn, resolveComponent as we, createBlock as it, withCtx as X, renderList as us, createTextVNode as Fi, nextTick as N0, normalizeClass as ks, createVNode as F, withModifiers as QIe, resolveDirective as X$e, withDirectives as pD, isRef as Z$e, getCurrentInstance as Boe, readonly as eke, getCurrentScope as J$e, onScopeDispose as Q$e, shallowRef as eUe, useSlots as tUe, vModelText as iUe, vShow as d8, pushScopeId as NT, popScopeId as MT, resolveDynamicComponent as $ge, mergeProps as Uge } from "vue";
|
|
5
|
+
import nUe, { ElMessageBox as WY, ElMessage as cs } from "element-plus";
|
|
6
6
|
import { defineStore as Woe, storeToRefs as AT } from "pinia";
|
|
7
7
|
import * as fo from "monaco-editor";
|
|
8
8
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
@@ -471,11 +471,11 @@ var dke = Object.prototype, mGe = dke.hasOwnProperty, vGe = dke.propertyIsEnumer
|
|
|
471
471
|
function _Ge() {
|
|
472
472
|
return !1;
|
|
473
473
|
}
|
|
474
|
-
var fke = typeof exports == "object" && exports && !exports.nodeType && exports, Qge = fke && typeof module == "object" && module && !module.nodeType && module, bGe = Qge && Qge.exports === fke, epe = bGe ? rf.Buffer : void 0, yGe = epe ? epe.isBuffer : void 0, vD = yGe || _Ge, wGe = "[object Arguments]", CGe = "[object Array]", SGe = "[object Boolean]", xGe = "[object Date]", LGe = "[object Error]", DGe = "[object Function]", TGe = "[object Map]", EGe = "[object Number]", IGe = "[object Object]", kGe = "[object RegExp]", NGe = "[object Set]", MGe = "[object String]", AGe = "[object WeakMap]", RGe = "[object ArrayBuffer]", PGe = "[object DataView]", OGe = "[object Float32Array]", FGe = "[object Float64Array]", VGe = "[object Int8Array]", BGe = "[object Int16Array]", WGe = "[object Int32Array]", HGe = "[object Uint8Array]", zGe = "[object Uint8ClampedArray]", $Ge = "[object Uint16Array]", UGe = "[object Uint32Array]",
|
|
475
|
-
|
|
476
|
-
|
|
474
|
+
var fke = typeof exports == "object" && exports && !exports.nodeType && exports, Qge = fke && typeof module == "object" && module && !module.nodeType && module, bGe = Qge && Qge.exports === fke, epe = bGe ? rf.Buffer : void 0, yGe = epe ? epe.isBuffer : void 0, vD = yGe || _Ge, wGe = "[object Arguments]", CGe = "[object Array]", SGe = "[object Boolean]", xGe = "[object Date]", LGe = "[object Error]", DGe = "[object Function]", TGe = "[object Map]", EGe = "[object Number]", IGe = "[object Object]", kGe = "[object RegExp]", NGe = "[object Set]", MGe = "[object String]", AGe = "[object WeakMap]", RGe = "[object ArrayBuffer]", PGe = "[object DataView]", OGe = "[object Float32Array]", FGe = "[object Float64Array]", VGe = "[object Int8Array]", BGe = "[object Int16Array]", WGe = "[object Int32Array]", HGe = "[object Uint8Array]", zGe = "[object Uint8ClampedArray]", $Ge = "[object Uint16Array]", UGe = "[object Uint32Array]", Ps = {};
|
|
475
|
+
Ps[OGe] = Ps[FGe] = Ps[VGe] = Ps[BGe] = Ps[WGe] = Ps[HGe] = Ps[zGe] = Ps[$Ge] = Ps[UGe] = !0;
|
|
476
|
+
Ps[wGe] = Ps[CGe] = Ps[RGe] = Ps[SGe] = Ps[PGe] = Ps[xGe] = Ps[LGe] = Ps[DGe] = Ps[TGe] = Ps[EGe] = Ps[IGe] = Ps[kGe] = Ps[NGe] = Ps[MGe] = Ps[AGe] = !1;
|
|
477
477
|
function GGe(n) {
|
|
478
|
-
return Ud(n) && joe(n.length) && !!
|
|
478
|
+
return Ud(n) && joe(n.length) && !!Ps[u1(n)];
|
|
479
479
|
}
|
|
480
480
|
function XW(n) {
|
|
481
481
|
return function(e) {
|
|
@@ -1206,9 +1206,9 @@ var bpe = _D && _D.isMap, tYe = bpe ? XW(bpe) : eYe, iYe = "[object Set]";
|
|
|
1206
1206
|
function nYe(n) {
|
|
1207
1207
|
return Ud(n) && cu(n) == iYe;
|
|
1208
1208
|
}
|
|
1209
|
-
var ype = _D && _D.isSet, sYe = ype ? XW(ype) : nYe, rYe = 1, oYe = 2, aYe = 4, Kke = "[object Arguments]", lYe = "[object Array]", cYe = "[object Boolean]", hYe = "[object Date]", uYe = "[object Error]", Yke = "[object Function]", dYe = "[object GeneratorFunction]", fYe = "[object Map]", gYe = "[object Number]", Xke = "[object Object]", pYe = "[object RegExp]", mYe = "[object Set]", vYe = "[object String]", _Ye = "[object Symbol]", bYe = "[object WeakMap]", yYe = "[object ArrayBuffer]", wYe = "[object DataView]", CYe = "[object Float32Array]", SYe = "[object Float64Array]", xYe = "[object Int8Array]", LYe = "[object Int16Array]", DYe = "[object Int32Array]", TYe = "[object Uint8Array]", EYe = "[object Uint8ClampedArray]", IYe = "[object Uint16Array]", kYe = "[object Uint32Array]",
|
|
1210
|
-
|
|
1211
|
-
|
|
1209
|
+
var ype = _D && _D.isSet, sYe = ype ? XW(ype) : nYe, rYe = 1, oYe = 2, aYe = 4, Kke = "[object Arguments]", lYe = "[object Array]", cYe = "[object Boolean]", hYe = "[object Date]", uYe = "[object Error]", Yke = "[object Function]", dYe = "[object GeneratorFunction]", fYe = "[object Map]", gYe = "[object Number]", Xke = "[object Object]", pYe = "[object RegExp]", mYe = "[object Set]", vYe = "[object String]", _Ye = "[object Symbol]", bYe = "[object WeakMap]", yYe = "[object ArrayBuffer]", wYe = "[object DataView]", CYe = "[object Float32Array]", SYe = "[object Float64Array]", xYe = "[object Int8Array]", LYe = "[object Int16Array]", DYe = "[object Int32Array]", TYe = "[object Uint8Array]", EYe = "[object Uint8ClampedArray]", IYe = "[object Uint16Array]", kYe = "[object Uint32Array]", Ts = {};
|
|
1210
|
+
Ts[Kke] = Ts[lYe] = Ts[yYe] = Ts[wYe] = Ts[cYe] = Ts[hYe] = Ts[CYe] = Ts[SYe] = Ts[xYe] = Ts[LYe] = Ts[DYe] = Ts[fYe] = Ts[gYe] = Ts[Xke] = Ts[pYe] = Ts[mYe] = Ts[vYe] = Ts[_Ye] = Ts[TYe] = Ts[EYe] = Ts[IYe] = Ts[kYe] = !0;
|
|
1211
|
+
Ts[uYe] = Ts[Yke] = Ts[bYe] = !1;
|
|
1212
1212
|
function Kk(n, e, t, i, s, r) {
|
|
1213
1213
|
var o, a = e & rYe, l = e & oYe, c = e & aYe;
|
|
1214
1214
|
if (o !== void 0)
|
|
@@ -1227,7 +1227,7 @@ function Kk(n, e, t, i, s, r) {
|
|
|
1227
1227
|
if (o = l || d ? {} : qke(n), !a)
|
|
1228
1228
|
return l ? _Ke(n, uKe(o, n)) : mKe(n, hKe(o, n));
|
|
1229
1229
|
} else {
|
|
1230
|
-
if (!
|
|
1230
|
+
if (!Ts[u])
|
|
1231
1231
|
return s ? n : {};
|
|
1232
1232
|
o = JKe(n, u, a);
|
|
1233
1233
|
}
|
|
@@ -1721,7 +1721,7 @@ function XXe(n, e, t) {
|
|
|
1721
1721
|
function ZXe(n) {
|
|
1722
1722
|
return n && n.length ? XXe(n, RT, WXe) : void 0;
|
|
1723
1723
|
}
|
|
1724
|
-
var
|
|
1724
|
+
var ds = uke(function(n, e, t) {
|
|
1725
1725
|
rH(n, e, t);
|
|
1726
1726
|
});
|
|
1727
1727
|
function JXe(n, e, t, i) {
|
|
@@ -5055,10 +5055,10 @@ function ct(n, e) {
|
|
|
5055
5055
|
}
|
|
5056
5056
|
}
|
|
5057
5057
|
}
|
|
5058
|
-
function
|
|
5058
|
+
function Ns(n, e) {
|
|
5059
5059
|
if (n != null) {
|
|
5060
5060
|
if (typeof e == "function")
|
|
5061
|
-
return
|
|
5061
|
+
return Ns(n, e(wD(n)));
|
|
5062
5062
|
if ((!e || typeof e == "string") && n.nodeType === 1) {
|
|
5063
5063
|
const t = (e || "").match(rae) || [], i = yD(wD(n)).replace(sae, " ");
|
|
5064
5064
|
let s = t.reduce((r, o) => {
|
|
@@ -5072,13 +5072,13 @@ function ks(n, e) {
|
|
|
5072
5072
|
function _d(n, e, t) {
|
|
5073
5073
|
if (!(n == null || e == null)) {
|
|
5074
5074
|
if (t != null && typeof e == "string") {
|
|
5075
|
-
t ? ct(n, e) :
|
|
5075
|
+
t ? ct(n, e) : Ns(n, e);
|
|
5076
5076
|
return;
|
|
5077
5077
|
}
|
|
5078
5078
|
if (typeof e == "function")
|
|
5079
5079
|
return _d(n, e(wD(n), t), t);
|
|
5080
5080
|
typeof e == "string" && (e.match(rae) || []).forEach((s) => {
|
|
5081
|
-
ug(n, s) ?
|
|
5081
|
+
ug(n, s) ? Ns(n, s) : ct(n, s);
|
|
5082
5082
|
});
|
|
5083
5083
|
}
|
|
5084
5084
|
}
|
|
@@ -5783,7 +5783,7 @@ class Ft {
|
|
|
5783
5783
|
return ct(this.node, e), this;
|
|
5784
5784
|
}
|
|
5785
5785
|
removeClass(e) {
|
|
5786
|
-
return
|
|
5786
|
+
return Ns(this.node, e), this;
|
|
5787
5787
|
}
|
|
5788
5788
|
toggleClass(e, t) {
|
|
5789
5789
|
return _d(this.node, e, t), this;
|
|
@@ -6748,7 +6748,7 @@ function ZJe(n, e, t, i) {
|
|
|
6748
6748
|
}
|
|
6749
6749
|
return s.result;
|
|
6750
6750
|
}
|
|
6751
|
-
let
|
|
6751
|
+
let hs = class {
|
|
6752
6752
|
static on(e, t, i, s, r) {
|
|
6753
6753
|
return Jk.on(e, t, i, s, r), e;
|
|
6754
6754
|
}
|
|
@@ -8662,14 +8662,14 @@ const Sn = {
|
|
|
8662
8662
|
},
|
|
8663
8663
|
unhighlight(n, e, t) {
|
|
8664
8664
|
const i = t && t.className || tme;
|
|
8665
|
-
|
|
8665
|
+
Ns(e, i);
|
|
8666
8666
|
}
|
|
8667
8667
|
}, ime = Sn.prefix("highlight-opacity"), ztt = {
|
|
8668
8668
|
highlight(n, e) {
|
|
8669
8669
|
ct(e, ime);
|
|
8670
8670
|
},
|
|
8671
8671
|
unhighlight(n, e) {
|
|
8672
|
-
|
|
8672
|
+
Ns(e, ime);
|
|
8673
8673
|
}
|
|
8674
8674
|
}, $tt = {
|
|
8675
8675
|
padding: 3,
|
|
@@ -9805,7 +9805,7 @@ let zc = class extends nc {
|
|
|
9805
9805
|
return ct(t, Array.isArray(e) ? e.join(" ") : e), this;
|
|
9806
9806
|
}
|
|
9807
9807
|
removeClass(e, t = this.container) {
|
|
9808
|
-
return
|
|
9808
|
+
return Ns(t, Array.isArray(e) ? e.join(" ") : e), this;
|
|
9809
9809
|
}
|
|
9810
9810
|
setStyle(e, t = this.container) {
|
|
9811
9811
|
return Ln(t, e), this;
|
|
@@ -9877,7 +9877,7 @@ let zc = class extends nc {
|
|
|
9877
9877
|
}), this;
|
|
9878
9878
|
}
|
|
9879
9879
|
undelegateEvents() {
|
|
9880
|
-
return
|
|
9880
|
+
return hs.off(this.container, this.getEventNamespace()), this;
|
|
9881
9881
|
}
|
|
9882
9882
|
delegateDocumentEvents(e, t) {
|
|
9883
9883
|
return this.addEventListeners(document, e, t), this;
|
|
@@ -9886,11 +9886,11 @@ let zc = class extends nc {
|
|
|
9886
9886
|
return this.removeEventListeners(document), this;
|
|
9887
9887
|
}
|
|
9888
9888
|
delegateEvent(e, t, i) {
|
|
9889
|
-
return
|
|
9889
|
+
return hs.on(this.container, e + this.getEventNamespace(), t, i), this;
|
|
9890
9890
|
}
|
|
9891
9891
|
undelegateEvent(e, t, i) {
|
|
9892
9892
|
const s = e + this.getEventNamespace();
|
|
9893
|
-
return t == null ?
|
|
9893
|
+
return t == null ? hs.off(this.container, s) : typeof t == "string" ? hs.off(this.container, s, t, i) : hs.off(this.container, s, t), this;
|
|
9894
9894
|
}
|
|
9895
9895
|
addEventListeners(e, t, i) {
|
|
9896
9896
|
if (t == null)
|
|
@@ -9898,11 +9898,11 @@ let zc = class extends nc {
|
|
|
9898
9898
|
const s = this.getEventNamespace();
|
|
9899
9899
|
return Object.keys(t).forEach((r) => {
|
|
9900
9900
|
const o = this.getEventHandler(t[r]);
|
|
9901
|
-
typeof o == "function" &&
|
|
9901
|
+
typeof o == "function" && hs.on(e, r + s, i, o);
|
|
9902
9902
|
}), this;
|
|
9903
9903
|
}
|
|
9904
9904
|
removeEventListeners(e) {
|
|
9905
|
-
return e != null &&
|
|
9905
|
+
return e != null && hs.off(e, this.getEventNamespace()), this;
|
|
9906
9906
|
}
|
|
9907
9907
|
getEventNamespace() {
|
|
9908
9908
|
return `.${Sn.prefixCls}-event-${this.cid}`;
|
|
@@ -9973,7 +9973,7 @@ class Ws extends zc {
|
|
|
9973
9973
|
this.defaults = this.getOptions(e);
|
|
9974
9974
|
}
|
|
9975
9975
|
static getOptions(e) {
|
|
9976
|
-
return
|
|
9976
|
+
return ds(Os(this.getDefaults()), e);
|
|
9977
9977
|
}
|
|
9978
9978
|
get graph() {
|
|
9979
9979
|
return this.cellView.graph;
|
|
@@ -10117,7 +10117,7 @@ class _nt {
|
|
|
10117
10117
|
}
|
|
10118
10118
|
}), r.forEach((a) => {
|
|
10119
10119
|
const l = o.get(a), c = l.attrs;
|
|
10120
|
-
l.attrs = c.reduceRight((h, u) =>
|
|
10120
|
+
l.attrs = c.reduceRight((h, u) => ds(h, u), {});
|
|
10121
10121
|
}), o;
|
|
10122
10122
|
}
|
|
10123
10123
|
updateRelativeAttrs(e, t, i) {
|
|
@@ -10308,7 +10308,7 @@ class Xo extends zc {
|
|
|
10308
10308
|
return s && (i.bootstrap = t(i.bootstrap, s)), r && Object.entries(r).forEach(([c, h]) => {
|
|
10309
10309
|
const u = i.actions[c];
|
|
10310
10310
|
h && u ? i.actions[c] = t(u, h) : h && (i.actions[c] = t(h));
|
|
10311
|
-
}), o && (i.events = Object.assign(Object.assign({}, i.events), o)), e.documentEvents && (i.documentEvents = Object.assign(Object.assign({}, i.documentEvents), a)),
|
|
10311
|
+
}), o && (i.events = Object.assign(Object.assign({}, i.events), o)), e.documentEvents && (i.documentEvents = Object.assign(Object.assign({}, i.documentEvents), a)), ds(i, l);
|
|
10312
10312
|
}
|
|
10313
10313
|
get [Symbol.toStringTag]() {
|
|
10314
10314
|
return fme;
|
|
@@ -11305,7 +11305,7 @@ OP.defaults = Object.assign(Object.assign({}, Ws.getDefaults()), { tagName: "div
|
|
|
11305
11305
|
} });
|
|
11306
11306
|
class KMe extends OP {
|
|
11307
11307
|
}
|
|
11308
|
-
KMe.defaults =
|
|
11308
|
+
KMe.defaults = ds({}, OP.defaults, {
|
|
11309
11309
|
attrs: {
|
|
11310
11310
|
fontSize: 14,
|
|
11311
11311
|
fontFamily: "Arial, helvetica, sans-serif",
|
|
@@ -11317,7 +11317,7 @@ KMe.defaults = us({}, OP.defaults, {
|
|
|
11317
11317
|
});
|
|
11318
11318
|
class YMe extends OP {
|
|
11319
11319
|
}
|
|
11320
|
-
YMe.defaults =
|
|
11320
|
+
YMe.defaults = ds({}, OP.defaults, {
|
|
11321
11321
|
attrs: {
|
|
11322
11322
|
fontSize: 14,
|
|
11323
11323
|
fontFamily: "Arial, helvetica, sans-serif",
|
|
@@ -12048,7 +12048,7 @@ class XMe extends nc {
|
|
|
12048
12048
|
WT(c, r, t, s);
|
|
12049
12049
|
const d = Os(this.data);
|
|
12050
12050
|
i.rewrite && zpe(d, e, s);
|
|
12051
|
-
const f =
|
|
12051
|
+
const f = ds(d, c);
|
|
12052
12052
|
this.set(a, f[a], i);
|
|
12053
12053
|
}
|
|
12054
12054
|
return this;
|
|
@@ -12170,7 +12170,7 @@ class Gi extends nc {
|
|
|
12170
12170
|
const { markup: t, propHooks: i, attrHooks: s } = e, r = Ti(e, ["markup", "propHooks", "attrHooks"]);
|
|
12171
12171
|
t != null && (this.markup = t), i && (this.propHooks = this.propHooks.slice(), Array.isArray(i) ? this.propHooks.push(...i) : typeof i == "function" ? this.propHooks.push(i) : Object.values(i).forEach((o) => {
|
|
12172
12172
|
typeof o == "function" && this.propHooks.push(o);
|
|
12173
|
-
})), s && (this.attrHooks = Object.assign(Object.assign({}, this.attrHooks), s)), this.defaults =
|
|
12173
|
+
})), s && (this.attrHooks = Object.assign(Object.assign({}, this.attrHooks), s)), this.defaults = ds({}, this.defaults, r);
|
|
12174
12174
|
}
|
|
12175
12175
|
static getMarkup() {
|
|
12176
12176
|
return this.markup;
|
|
@@ -12194,7 +12194,7 @@ class Gi extends nc {
|
|
|
12194
12194
|
}
|
|
12195
12195
|
constructor(e = {}) {
|
|
12196
12196
|
super();
|
|
12197
|
-
const i = this.constructor.getDefaults(!0), s =
|
|
12197
|
+
const i = this.constructor.getDefaults(!0), s = ds({}, this.preprocess(i), this.preprocess(e));
|
|
12198
12198
|
this.id = s.id || Gi.generateId(e), this.store = new XMe(s), this.animationManager = new Ant(), this.setup(), this.init(), this.postprocess(e);
|
|
12199
12199
|
}
|
|
12200
12200
|
init() {
|
|
@@ -12272,7 +12272,7 @@ class Gi extends nc {
|
|
|
12272
12272
|
this.store.set(e, t, i);
|
|
12273
12273
|
else {
|
|
12274
12274
|
const s = this.preprocess(e, !0);
|
|
12275
|
-
this.store.set(
|
|
12275
|
+
this.store.set(ds({}, this.getProp(), s), t), this.postprocess(e);
|
|
12276
12276
|
}
|
|
12277
12277
|
return this;
|
|
12278
12278
|
}
|
|
@@ -12383,7 +12383,7 @@ class Gi extends nc {
|
|
|
12383
12383
|
i(e);
|
|
12384
12384
|
else {
|
|
12385
12385
|
const s = this.getAttrs();
|
|
12386
|
-
t.deep === !1 ? i(Object.assign(Object.assign({}, s), e)) : i(
|
|
12386
|
+
t.deep === !1 ? i(Object.assign(Object.assign({}, s), e)) : i(ds({}, s, e));
|
|
12387
12387
|
}
|
|
12388
12388
|
}
|
|
12389
12389
|
return this;
|
|
@@ -12467,7 +12467,7 @@ class Gi extends nc {
|
|
|
12467
12467
|
i(e);
|
|
12468
12468
|
else {
|
|
12469
12469
|
const s = this.getData();
|
|
12470
|
-
t.deep === !1 ? i(typeof e == "object" ? Object.assign(Object.assign({}, s), e) : e) : i(
|
|
12470
|
+
t.deep === !1 ? i(typeof e == "object" ? Object.assign(Object.assign({}, s), e) : e) : i(ds({}, s, e));
|
|
12471
12471
|
}
|
|
12472
12472
|
}
|
|
12473
12473
|
return this;
|
|
@@ -12851,13 +12851,13 @@ class Ont {
|
|
|
12851
12851
|
}
|
|
12852
12852
|
parsePort(e) {
|
|
12853
12853
|
const t = Object.assign({}, e), i = this.getGroup(e.group) || {};
|
|
12854
|
-
return t.markup = t.markup || i.markup, t.attrs =
|
|
12854
|
+
return t.markup = t.markup || i.markup, t.attrs = ds({}, i.attrs, t.attrs), t.position = this.createPosition(i, t), t.label = ds({}, i.label, this.getLabel(t)), t.zIndex = this.getZIndex(i, t), t.size = Object.assign(Object.assign({}, i.size), t.size), t;
|
|
12855
12855
|
}
|
|
12856
12856
|
getZIndex(e, t) {
|
|
12857
12857
|
return typeof t.zIndex == "number" ? t.zIndex : typeof e.zIndex == "number" || e.zIndex === "auto" ? e.zIndex : "auto";
|
|
12858
12858
|
}
|
|
12859
12859
|
createPosition(e, t) {
|
|
12860
|
-
return
|
|
12860
|
+
return ds({
|
|
12861
12861
|
name: "left",
|
|
12862
12862
|
args: {}
|
|
12863
12863
|
}, e.position, { args: t.args });
|
|
@@ -13499,9 +13499,9 @@ let So = class hL extends Gi {
|
|
|
13499
13499
|
}
|
|
13500
13500
|
setTerminal(e, t, i, s = {}) {
|
|
13501
13501
|
if (Gi.isCell(t))
|
|
13502
|
-
return this.store.set(e,
|
|
13502
|
+
return this.store.set(e, ds({}, i, { cell: t.id }), s), this;
|
|
13503
13503
|
const r = t;
|
|
13504
|
-
return se.isPoint(t) || r.x != null && r.y != null ? (this.store.set(e,
|
|
13504
|
+
return se.isPoint(t) || r.x != null && r.y != null ? (this.store.set(e, ds({}, i, { x: r.x, y: r.y }), s), this) : (this.store.set(e, Os(t), s), this);
|
|
13505
13505
|
}
|
|
13506
13506
|
getSourcePoint() {
|
|
13507
13507
|
return this.getTerminalPoint("source");
|
|
@@ -14630,7 +14630,7 @@ function $T(n, e, t = {}) {
|
|
|
14630
14630
|
[n]: Object.assign({}, tAe)
|
|
14631
14631
|
}
|
|
14632
14632
|
};
|
|
14633
|
-
return (t.parent || FP).define(
|
|
14633
|
+
return (t.parent || FP).define(ds(i, e, { shape: n }));
|
|
14634
14634
|
}
|
|
14635
14635
|
function iAe(n) {
|
|
14636
14636
|
return typeof n == "string" ? n : n.map((e) => Array.isArray(e) ? e.join(",") : se.isPointLike(e) ? `${e.x}, ${e.y}` : "").join(" ");
|
|
@@ -14742,7 +14742,7 @@ class Ru extends Xo {
|
|
|
14742
14742
|
const t = e.target;
|
|
14743
14743
|
if (t.hasAttribute("magnet")) {
|
|
14744
14744
|
const i = this.prefixClassName("port-unconnectable");
|
|
14745
|
-
this.can("magnetConnectable") ?
|
|
14745
|
+
this.can("magnetConnectable") ? Ns(t, i) : ct(t, i);
|
|
14746
14746
|
} else {
|
|
14747
14747
|
const i = this.prefixClassName("node-immovable");
|
|
14748
14748
|
this.can("nodeMovable") ? this.removeClass(i) : this.addClass(i);
|
|
@@ -15499,7 +15499,7 @@ class P0 extends Xo {
|
|
|
15499
15499
|
for (let r = 0, o = t.length; r < o; r += 1) {
|
|
15500
15500
|
const a = this.labelCache[r], l = this.labelSelectors[r];
|
|
15501
15501
|
a.setAttribute("cursor", i ? "move" : "default");
|
|
15502
|
-
const c = t[r], h =
|
|
15502
|
+
const c = t[r], h = ds({}, s.attrs, c.attrs);
|
|
15503
15503
|
this.updateAttrs(a, h, {
|
|
15504
15504
|
selectors: l,
|
|
15505
15505
|
rootBBox: c.size ? Ue.fromSize(c.size) : void 0
|
|
@@ -15740,7 +15740,7 @@ class P0 extends Xo {
|
|
|
15740
15740
|
const l = i[o], c = this.labelCache[o];
|
|
15741
15741
|
if (!c)
|
|
15742
15742
|
continue;
|
|
15743
|
-
const h = this.normalizeLabelPosition(l.position), u =
|
|
15743
|
+
const h = this.normalizeLabelPosition(l.position), u = ds({}, r, h), d = this.getLabelTransformationMatrix(u);
|
|
15744
15744
|
c.setAttribute("transform", kP(d));
|
|
15745
15745
|
}
|
|
15746
15746
|
return this;
|
|
@@ -15778,7 +15778,7 @@ class P0 extends Xo {
|
|
|
15778
15778
|
return e.position.options;
|
|
15779
15779
|
}
|
|
15780
15780
|
mergeLabelPositionArgs(e, t) {
|
|
15781
|
-
return e === null ? null : e === void 0 ? t === null ? null : t :
|
|
15781
|
+
return e === null ? null : e === void 0 ? t === null ? null : t : ds({}, t, e);
|
|
15782
15782
|
}
|
|
15783
15783
|
// #endregion
|
|
15784
15784
|
getConnection() {
|
|
@@ -16314,7 +16314,7 @@ class P0 extends Xo {
|
|
|
16314
16314
|
this.graph.view.delegateDragEvents(e, this);
|
|
16315
16315
|
}
|
|
16316
16316
|
dragLabel(e, t, i) {
|
|
16317
|
-
const s = this.getEventData(e), r = this.cell.getLabelAt(s.index), o =
|
|
16317
|
+
const s = this.getEventData(e), r = this.cell.getLabelAt(s.index), o = ds({}, r, {
|
|
16318
16318
|
position: this.getLabelPosition(t, i, s.positionAngle, s.positionArgs)
|
|
16319
16319
|
});
|
|
16320
16320
|
this.cell.setLabelAt(s.index, o);
|
|
@@ -17382,7 +17382,7 @@ function Jnt(n) {
|
|
|
17382
17382
|
r.width == null && (r.width = o.clientWidth), r.height == null && (r.height = o.clientHeight);
|
|
17383
17383
|
else
|
|
17384
17384
|
throw new Error("Ensure the container of the graph is specified and valid");
|
|
17385
|
-
const a =
|
|
17385
|
+
const a = ds({}, Qnt, r), l = { size: 10, visible: !1 };
|
|
17386
17386
|
return typeof e == "number" ? a.grid = { size: e, visible: !1 } : typeof e == "boolean" ? a.grid = Object.assign(Object.assign({}, l), { visible: e }) : a.grid = Object.assign(Object.assign({}, l), e), [
|
|
17387
17387
|
"panning",
|
|
17388
17388
|
"mousewheel",
|
|
@@ -17488,13 +17488,13 @@ class hAe extends zu {
|
|
|
17488
17488
|
this.onRightMouseDown = this.onRightMouseDown.bind(this), this.onKeyDown = this.onKeyDown.bind(this), this.onKeyUp = this.onKeyUp.bind(this), this.startListening(), this.updateClassName();
|
|
17489
17489
|
}
|
|
17490
17490
|
startListening() {
|
|
17491
|
-
this.graph.on("blank:mousedown", this.onMouseDown, this), this.graph.on("node:unhandled:mousedown", this.onMouseDown, this), this.graph.on("edge:unhandled:mousedown", this.onMouseDown, this),
|
|
17491
|
+
this.graph.on("blank:mousedown", this.onMouseDown, this), this.graph.on("node:unhandled:mousedown", this.onMouseDown, this), this.graph.on("edge:unhandled:mousedown", this.onMouseDown, this), hs.on(this.graph.container, "mousedown", this.onRightMouseDown), hs.on(document.body, {
|
|
17492
17492
|
keydown: this.onKeyDown,
|
|
17493
17493
|
keyup: this.onKeyUp
|
|
17494
17494
|
}), this.mousewheelHandle = new $Ne(this.graph.container, this.onMouseWheel.bind(this), this.allowMouseWheel.bind(this)), this.mousewheelHandle.enable();
|
|
17495
17495
|
}
|
|
17496
17496
|
stopListening() {
|
|
17497
|
-
this.graph.off("blank:mousedown", this.onMouseDown, this), this.graph.off("node:unhandled:mousedown", this.onMouseDown, this), this.graph.off("edge:unhandled:mousedown", this.onMouseDown, this),
|
|
17497
|
+
this.graph.off("blank:mousedown", this.onMouseDown, this), this.graph.off("node:unhandled:mousedown", this.onMouseDown, this), this.graph.off("edge:unhandled:mousedown", this.onMouseDown, this), hs.off(this.graph.container, "mousedown", this.onRightMouseDown), hs.off(document.body, {
|
|
17498
17498
|
keydown: this.onKeyDown,
|
|
17499
17499
|
keyup: this.onKeyUp
|
|
17500
17500
|
}), this.mousewheelHandle && this.mousewheelHandle.disable();
|
|
@@ -17504,11 +17504,11 @@ class hAe extends zu {
|
|
|
17504
17504
|
}
|
|
17505
17505
|
startPanning(e) {
|
|
17506
17506
|
const t = this.view.normalizeEvent(e);
|
|
17507
|
-
this.clientX = t.clientX, this.clientY = t.clientY, this.panning = !0, this.updateClassName(e),
|
|
17507
|
+
this.clientX = t.clientX, this.clientY = t.clientY, this.panning = !0, this.updateClassName(e), hs.on(document.body, {
|
|
17508
17508
|
"mousemove.panning touchmove.panning": this.pan.bind(this),
|
|
17509
17509
|
"mouseup.panning touchend.panning": this.stopPanning.bind(this),
|
|
17510
17510
|
"mouseleave.panning": this.stopPanning.bind(this)
|
|
17511
|
-
}),
|
|
17511
|
+
}), hs.on(window, "mouseup.panning", this.stopPanning.bind(this));
|
|
17512
17512
|
}
|
|
17513
17513
|
pan(e) {
|
|
17514
17514
|
const t = this.view.normalizeEvent(e), i = t.clientX - this.clientX, s = t.clientY - this.clientY;
|
|
@@ -17516,14 +17516,14 @@ class hAe extends zu {
|
|
|
17516
17516
|
}
|
|
17517
17517
|
// eslint-disable-next-line
|
|
17518
17518
|
stopPanning(e) {
|
|
17519
|
-
this.panning = !1, this.updateClassName(e),
|
|
17519
|
+
this.panning = !1, this.updateClassName(e), hs.off(document.body, ".panning"), hs.off(window, ".panning");
|
|
17520
17520
|
}
|
|
17521
17521
|
updateClassName(e) {
|
|
17522
17522
|
const t = this.widgetOptions.eventTypes;
|
|
17523
17523
|
if ((t == null ? void 0 : t.length) === 1 && t.includes("mouseWheel"))
|
|
17524
17524
|
return;
|
|
17525
17525
|
const i = this.view.container, s = this.view.prefixClassName("graph-panning"), r = this.view.prefixClassName("graph-pannable"), o = this.graph.getPlugin("selection"), a = o && o.allowRubberband(e, !0), l = (t == null ? void 0 : t.includes("leftMouseDown")) && !a;
|
|
17526
|
-
this.allowPanning(e ?? {}, !0) || this.allowPanning(e ?? {}) && l ? this.panning ? (ct(i, s),
|
|
17526
|
+
this.allowPanning(e ?? {}, !0) || this.allowPanning(e ?? {}) && l ? this.panning ? (ct(i, s), Ns(i, r)) : (Ns(i, s), ct(i, r)) : this.panning || (Ns(i, s), Ns(i, r));
|
|
17527
17527
|
}
|
|
17528
17528
|
onMouseDown({ e }) {
|
|
17529
17529
|
if (!this.allowBlankMouseDown(e))
|
|
@@ -18200,7 +18200,7 @@ class dAe extends zu {
|
|
|
18200
18200
|
const t = e.container;
|
|
18201
18201
|
t && (this.scrollerScrollHandler = (i) => {
|
|
18202
18202
|
this.resetRenderArea();
|
|
18203
|
-
},
|
|
18203
|
+
}, hs.on(t, "scroll", this.scrollerScrollHandler));
|
|
18204
18204
|
}
|
|
18205
18205
|
startListening() {
|
|
18206
18206
|
this.graph.on("translate", this.resetRenderArea, this), this.graph.on("scale", this.resetRenderArea, this), this.graph.on("resize", this.resetRenderArea, this);
|
|
@@ -18217,7 +18217,7 @@ class dAe extends zu {
|
|
|
18217
18217
|
if (this.scrollerRef) {
|
|
18218
18218
|
typeof this.scrollerRef.off == "function" && (this.scrollerRef.off("pan:start", this.resetRenderArea, this), this.scrollerRef.off("panning", this.resetRenderArea, this), this.scrollerRef.off("pan:stop", this.resetRenderArea, this));
|
|
18219
18219
|
const e = this.scrollerRef.container;
|
|
18220
|
-
e && this.scrollerScrollHandler &&
|
|
18220
|
+
e && this.scrollerScrollHandler && hs.off(e, "scroll", this.scrollerScrollHandler), this.scrollerRef = void 0, this.scrollerScrollHandler = void 0;
|
|
18221
18221
|
}
|
|
18222
18222
|
}
|
|
18223
18223
|
setVirtualEnabled(e) {
|
|
@@ -19964,7 +19964,7 @@ class Rae extends zc {
|
|
|
19964
19964
|
this.draggingNode && (this.sourceNode = null, this.draggingNode.remove(), this.draggingNode = null, this.draggingView = null, this.delta = null, this.padding = null, this.snapOffset = null, this.undelegateDocumentEvents());
|
|
19965
19965
|
}
|
|
19966
19966
|
onDropped(e) {
|
|
19967
|
-
this.draggingNode === e && (this.clearDragging(),
|
|
19967
|
+
this.draggingNode === e && (this.clearDragging(), Ns(this.container, "dragging"), wu(this.container));
|
|
19968
19968
|
}
|
|
19969
19969
|
onDropInvalid() {
|
|
19970
19970
|
const e = this.draggingNode;
|
|
@@ -21380,13 +21380,13 @@ class EAe extends zc {
|
|
|
21380
21380
|
}), this.hide(), wu(this.$boxes), this.boxCount = 0;
|
|
21381
21381
|
}
|
|
21382
21382
|
hide() {
|
|
21383
|
-
|
|
21383
|
+
Ns(this.container, this.prefixClassName(Zu.rubberband)), Ns(this.container, this.prefixClassName(Zu.selected));
|
|
21384
21384
|
}
|
|
21385
21385
|
showRubberband() {
|
|
21386
21386
|
ct(this.container, this.prefixClassName(Zu.rubberband));
|
|
21387
21387
|
}
|
|
21388
21388
|
hideRubberband() {
|
|
21389
|
-
|
|
21389
|
+
Ns(this.container, this.prefixClassName(Zu.rubberband));
|
|
21390
21390
|
}
|
|
21391
21391
|
showSelected() {
|
|
21392
21392
|
uae(this.container, "style"), ct(this.container, this.prefixClassName(Zu.selected));
|
|
@@ -22052,7 +22052,7 @@ class Zst extends zc {
|
|
|
22052
22052
|
this.targetGraph = this.options.createGraph ? this.options.createGraph(i) : new xe(i), this.updatePaper(this.sourceGraph.options.width, this.sourceGraph.options.height), this.startListening();
|
|
22053
22053
|
}
|
|
22054
22054
|
startListening() {
|
|
22055
|
-
this.scroller ?
|
|
22055
|
+
this.scroller ? hs.on(this.graphContainer, `scroll${this.getEventNamespace()}`, this.updateViewport) : (this.sourceGraph.on("translate", this.onTransform, this), this.sourceGraph.on("scale", this.onTransform, this), this.sourceGraph.on("model:updated", this.onModelUpdated, this)), this.sourceGraph.on("resize", this.updatePaper, this), this.delegateEvents({
|
|
22056
22056
|
mousedown: "startAction",
|
|
22057
22057
|
touchstart: "startAction",
|
|
22058
22058
|
[`mousedown .${this.prefixClassName("graph")}`]: "scrollTo",
|
|
@@ -22060,7 +22060,7 @@ class Zst extends zc {
|
|
|
22060
22060
|
});
|
|
22061
22061
|
}
|
|
22062
22062
|
stopListening() {
|
|
22063
|
-
this.scroller ?
|
|
22063
|
+
this.scroller ? hs.off(this.graphContainer, this.getEventNamespace()) : (this.sourceGraph.off("translate", this.onTransform, this), this.sourceGraph.off("scale", this.onTransform, this), this.sourceGraph.off("model:updated", this.onModelUpdated, this)), this.sourceGraph.off("resize", this.updatePaper, this), this.undelegateEvents();
|
|
22064
22064
|
}
|
|
22065
22065
|
onRemove() {
|
|
22066
22066
|
this.stopListening(), this.targetGraph.dispose(!1);
|
|
@@ -22158,7 +22158,7 @@ const _H = "graph-scroller", Jst = `${_H}-paged`, Qst = `${_H}-content`, ert = `
|
|
|
22158
22158
|
autoResize: !0
|
|
22159
22159
|
};
|
|
22160
22160
|
function MAe(n) {
|
|
22161
|
-
const e =
|
|
22161
|
+
const e = ds({}, trt, n);
|
|
22162
22162
|
e.pageWidth == null && (e.pageWidth = n.graph.options.width), e.pageHeight == null && (e.pageHeight = n.graph.options.height);
|
|
22163
22163
|
const t = n.graph.options;
|
|
22164
22164
|
return t.background && e.enabled && e.background == null && (e.background = t.background, n.graph.background.clear()), e;
|
|
@@ -22475,7 +22475,7 @@ class AAe extends zc {
|
|
|
22475
22475
|
s = `scale(${a / o})`, r = `${g.x}px ${g.y}px`;
|
|
22476
22476
|
}
|
|
22477
22477
|
const u = i.onTransitionEnd;
|
|
22478
|
-
return ct(this.container, zme),
|
|
22478
|
+
return ct(this.container, zme), hs.off(this.content, xU), hs.on(this.content, xU, (d) => {
|
|
22479
22479
|
this.syncTransition(a, { x: e, y: t }), typeof u == "function" && Tt(u, this, d.originalEvent);
|
|
22480
22480
|
}), Ln(this.content, {
|
|
22481
22481
|
transform: s,
|
|
@@ -22490,7 +22490,7 @@ class AAe extends zc {
|
|
|
22490
22490
|
return this.beforeManipulation(), this.graph.scale(e), this.removeTransition(), this.centerPoint(t.x, t.y), this.afterManipulation(), this;
|
|
22491
22491
|
}
|
|
22492
22492
|
removeTransition() {
|
|
22493
|
-
return
|
|
22493
|
+
return Ns(this.container, zme), hs.off(this.content, xU), Ln(this.content, {
|
|
22494
22494
|
transform: "",
|
|
22495
22495
|
transformOrigin: "",
|
|
22496
22496
|
transition: "",
|
|
@@ -22506,18 +22506,18 @@ class AAe extends zc {
|
|
|
22506
22506
|
}
|
|
22507
22507
|
startPanning(e) {
|
|
22508
22508
|
const t = this.normalizeEvent(e);
|
|
22509
|
-
this.clientX = t.clientX, this.clientY = t.clientY, this.trigger("pan:start", { e: t }),
|
|
22509
|
+
this.clientX = t.clientX, this.clientY = t.clientY, this.trigger("pan:start", { e: t }), hs.on(document.body, {
|
|
22510
22510
|
"mousemove.panning touchmove.panning": this.pan.bind(this),
|
|
22511
22511
|
"mouseup.panning touchend.panning": this.stopPanning.bind(this),
|
|
22512
22512
|
"mouseleave.panning": this.stopPanning.bind(this)
|
|
22513
|
-
}),
|
|
22513
|
+
}), hs.on(window, "mouseup.panning", this.stopPanning.bind(this));
|
|
22514
22514
|
}
|
|
22515
22515
|
pan(e) {
|
|
22516
22516
|
const t = this.normalizeEvent(e), i = t.clientX - this.clientX, s = t.clientY - this.clientY;
|
|
22517
22517
|
this.container.scrollTop -= s, this.container.scrollLeft -= i, this.clientX = t.clientX, this.clientY = t.clientY, this.trigger("panning", { e: t });
|
|
22518
22518
|
}
|
|
22519
22519
|
stopPanning(e) {
|
|
22520
|
-
|
|
22520
|
+
hs.off(document.body, ".panning"), hs.off(window, ".panning"), this.trigger("pan:stop", { e });
|
|
22521
22521
|
}
|
|
22522
22522
|
clientToLocalPoint(e, t) {
|
|
22523
22523
|
let i = typeof e == "object" ? e.x : e, s = typeof e == "object" ? e.y : t;
|
|
@@ -22837,12 +22837,12 @@ class RAe extends nc {
|
|
|
22837
22837
|
startListening() {
|
|
22838
22838
|
let e = [];
|
|
22839
22839
|
const t = this.options.pannable;
|
|
22840
|
-
typeof t == "object" ? e = t.eventTypes || [] : e = ["leftMouseDown"], e.includes("leftMouseDown") && (this.graph.on("blank:mousedown", this.preparePanning, this), this.graph.on("node:unhandled:mousedown", this.preparePanning, this), this.graph.on("edge:unhandled:mousedown", this.preparePanning, this)), e.includes("rightMouseDown") && (this.onRightMouseDown = this.onRightMouseDown.bind(this),
|
|
22840
|
+
typeof t == "object" ? e = t.eventTypes || [] : e = ["leftMouseDown"], e.includes("leftMouseDown") && (this.graph.on("blank:mousedown", this.preparePanning, this), this.graph.on("node:unhandled:mousedown", this.preparePanning, this), this.graph.on("edge:unhandled:mousedown", this.preparePanning, this)), e.includes("rightMouseDown") && (this.onRightMouseDown = this.onRightMouseDown.bind(this), hs.on(this.scrollerImpl.container, "mousedown", this.onRightMouseDown));
|
|
22841
22841
|
}
|
|
22842
22842
|
stopListening() {
|
|
22843
22843
|
let e = [];
|
|
22844
22844
|
const t = this.options.pannable;
|
|
22845
|
-
typeof t == "object" ? e = t.eventTypes || [] : e = ["leftMouseDown"], e.includes("leftMouseDown") && (this.graph.off("blank:mousedown", this.preparePanning, this), this.graph.off("node:unhandled:mousedown", this.preparePanning, this), this.graph.off("edge:unhandled:mousedown", this.preparePanning, this)), e.includes("rightMouseDown") &&
|
|
22845
|
+
typeof t == "object" ? e = t.eventTypes || [] : e = ["leftMouseDown"], e.includes("leftMouseDown") && (this.graph.off("blank:mousedown", this.preparePanning, this), this.graph.off("node:unhandled:mousedown", this.preparePanning, this), this.graph.off("edge:unhandled:mousedown", this.preparePanning, this)), e.includes("rightMouseDown") && hs.off(this.scrollerImpl.container, "mousedown", this.onRightMouseDown);
|
|
22846
22846
|
}
|
|
22847
22847
|
onRightMouseDown(e) {
|
|
22848
22848
|
e.button === 2 && this.allowPanning(e, !0) && (this.updateClassName(!0), this.scrollerImpl.startPanning(e), this.scrollerImpl.once("pan:stop", () => this.updateClassName(!1)));
|
|
@@ -22856,7 +22856,7 @@ class RAe extends nc {
|
|
|
22856
22856
|
}
|
|
22857
22857
|
updateClassName(e) {
|
|
22858
22858
|
const t = this.scrollerImpl.container, i = Sn.prefix("graph-scroller-pannable");
|
|
22859
|
-
this.pannable ? (ct(t, i), t.dataset.panning = (!!e).toString()) :
|
|
22859
|
+
this.pannable ? (ct(t, i), t.dataset.panning = (!!e).toString()) : Ns(t, i);
|
|
22860
22860
|
}
|
|
22861
22861
|
/**
|
|
22862
22862
|
* 当 Scroller 插件启用时,默认关闭 Graph 的内置 panning,
|
|
@@ -23231,7 +23231,7 @@ class crt extends zc {
|
|
|
23231
23231
|
expandGroup(e) {
|
|
23232
23232
|
if (this.isGroupCollapsable(e)) {
|
|
23233
23233
|
const t = this.groups[e];
|
|
23234
|
-
t && this.isGroupCollapsed(e) && (this.trigger("group:expand", { name: e }),
|
|
23234
|
+
t && this.isGroupCollapsed(e) && (this.trigger("group:expand", { name: e }), Ns(t, "collapsed"));
|
|
23235
23235
|
}
|
|
23236
23236
|
return this;
|
|
23237
23237
|
}
|
|
@@ -23320,7 +23320,7 @@ class crt extends zc {
|
|
|
23320
23320
|
}
|
|
23321
23321
|
}
|
|
23322
23322
|
setCollapsableState() {
|
|
23323
|
-
this.options.collapsable = this.options.collapsable && this.options.groups && this.options.groups.some((e) => e.collapsable !== !1), this.options.collapsable ? (ct(this.container, "collapsable"), this.options.groups && this.options.groups.every((t) => t.collapsed || t.collapsable === !1) ? ct(this.container, "collapsed") :
|
|
23323
|
+
this.options.collapsable = this.options.collapsable && this.options.groups && this.options.groups.some((e) => e.collapsable !== !1), this.options.collapsable ? (ct(this.container, "collapsable"), this.options.groups && this.options.groups.every((t) => t.collapsed || t.collapsable === !1) ? ct(this.container, "collapsed") : Ns(this.container, "collapsed")) : Ns(this.container, "collapsable");
|
|
23324
23324
|
}
|
|
23325
23325
|
setTitle() {
|
|
23326
23326
|
const e = document.createElement("div");
|
|
@@ -23426,7 +23426,7 @@ class crt extends zc {
|
|
|
23426
23426
|
ct(this.container, "is-focused");
|
|
23427
23427
|
}
|
|
23428
23428
|
onSearchFocusOut() {
|
|
23429
|
-
|
|
23429
|
+
Ns(this.container, "is-focused");
|
|
23430
23430
|
}
|
|
23431
23431
|
onTitleClick() {
|
|
23432
23432
|
this.options.collapsable && (_d(this.container, "collapsed"), ug(this.container, "collapsed") ? this.collapseGroups() : this.expandGroups());
|
|
@@ -24072,7 +24072,7 @@ class FAe extends zc {
|
|
|
24072
24072
|
if (t !== this.prevShift) {
|
|
24073
24073
|
const i = nx.slice(t).concat(nx.slice(0, t)), s = (o) => `${this.containerClassName}-cursor-${o}`;
|
|
24074
24074
|
this.container.querySelectorAll(`.${this.resizeClassName}`).forEach((o, a) => {
|
|
24075
|
-
|
|
24075
|
+
Ns(o, nx.map((l) => s(l)).join(" ")), ct(o, s(i[a]));
|
|
24076
24076
|
}), this.prevShift = t;
|
|
24077
24077
|
}
|
|
24078
24078
|
}
|
|
@@ -24196,12 +24196,12 @@ class FAe extends zc {
|
|
|
24196
24196
|
}
|
|
24197
24197
|
}
|
|
24198
24198
|
stopHandle() {
|
|
24199
|
-
if (
|
|
24200
|
-
|
|
24199
|
+
if (Ns(this.container, `${this.containerClassName}-active`), this.handle) {
|
|
24200
|
+
Ns(this.handle, `${this.containerClassName}-active-handle`);
|
|
24201
24201
|
const e = this.handle.getAttribute("data-position");
|
|
24202
24202
|
if (e) {
|
|
24203
24203
|
const t = nx[M1.indexOf(e)];
|
|
24204
|
-
|
|
24204
|
+
Ns(this.container, `${this.containerClassName}-cursor-${t}`);
|
|
24205
24205
|
}
|
|
24206
24206
|
this.handle = null;
|
|
24207
24207
|
}
|
|
@@ -24374,7 +24374,7 @@ xe.registerNode("vue-shape", {
|
|
|
24374
24374
|
};
|
|
24375
24375
|
break;
|
|
24376
24376
|
}
|
|
24377
|
-
n.attrs =
|
|
24377
|
+
n.attrs = ds({}, {
|
|
24378
24378
|
body: Object.assign({ refWidth: null, refHeight: null }, t)
|
|
24379
24379
|
}, n.attrs || {});
|
|
24380
24380
|
}
|
|
@@ -24727,13 +24727,13 @@ const Irt = { class: "formNode" }, krt = {
|
|
|
24727
24727
|
c.value = !0;
|
|
24728
24728
|
try {
|
|
24729
24729
|
r.httpRequest(m).then((v) => {
|
|
24730
|
-
c.value = !1, v && v.success && (m.parse && g(v, p.id), o.value.buttonSuccess &&
|
|
24730
|
+
c.value = !1, v && v.success && (m.parse && g(v, p.id), o.value.buttonSuccess && cs.success(o.value.buttonSuccessTips)), v && !v.success && (m.parse && g(v, p.id), o.value.buttonError && cs.error(v.msg || "操作失败!"));
|
|
24731
24731
|
});
|
|
24732
24732
|
} catch (v) {
|
|
24733
|
-
c.value = !1,
|
|
24733
|
+
c.value = !1, cs.error("操作失败!"), console.error(v);
|
|
24734
24734
|
}
|
|
24735
24735
|
} else
|
|
24736
|
-
|
|
24736
|
+
cs.error("未绑定请求!");
|
|
24737
24737
|
}, f = (p) => {
|
|
24738
24738
|
g({}, p.id);
|
|
24739
24739
|
}, g = (p, m) => {
|
|
@@ -24774,7 +24774,7 @@ const Irt = { class: "formNode" }, krt = {
|
|
|
24774
24774
|
}
|
|
24775
24775
|
}
|
|
24776
24776
|
} else
|
|
24777
|
-
|
|
24777
|
+
cs.error("没有执行操作!");
|
|
24778
24778
|
};
|
|
24779
24779
|
return (p, m) => {
|
|
24780
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");
|
|
@@ -24811,7 +24811,7 @@ const Irt = { class: "formNode" }, krt = {
|
|
|
24811
24811
|
default: X(() => {
|
|
24812
24812
|
var L, D;
|
|
24813
24813
|
return [
|
|
24814
|
-
(L = o.value) != null && L.option ? (ee(!0), ke(ni, { key: 0 },
|
|
24814
|
+
(L = o.value) != null && L.option ? (ee(!0), ke(ni, { key: 0 }, us((D = o.value) == null ? void 0 : D.option, (T, E) => (ee(), it(b, {
|
|
24815
24815
|
label: T.label,
|
|
24816
24816
|
value: T.value
|
|
24817
24817
|
}, null, 8, ["label", "value"]))), 256)) : nt("", !0)
|
|
@@ -24833,7 +24833,7 @@ const Irt = { class: "formNode" }, krt = {
|
|
|
24833
24833
|
default: X(() => {
|
|
24834
24834
|
var L, D;
|
|
24835
24835
|
return [
|
|
24836
|
-
(L = o.value) != null && L.option ? (ee(!0), ke(ni, { key: 0 },
|
|
24836
|
+
(L = o.value) != null && L.option ? (ee(!0), ke(ni, { key: 0 }, us((D = o.value) == null ? void 0 : D.option, (T, E) => (ee(), it(b, {
|
|
24837
24837
|
label: T.label,
|
|
24838
24838
|
value: T.value
|
|
24839
24839
|
}, null, 8, ["label", "value"]))), 256)) : nt("", !0)
|
|
@@ -25042,7 +25042,7 @@ const Irt = { class: "formNode" }, krt = {
|
|
|
25042
25042
|
}, [
|
|
25043
25043
|
ie("table", Frt, [
|
|
25044
25044
|
ie("colgroup", null, [
|
|
25045
|
-
(ee(!0), ke(ni, null,
|
|
25045
|
+
(ee(!0), ke(ni, null, us(h.value, (x, L) => (ee(), ke("col", {
|
|
25046
25046
|
key: L,
|
|
25047
25047
|
style: Bi({ width: x.width + "px" })
|
|
25048
25048
|
}, null, 4))), 128))
|
|
@@ -25051,7 +25051,7 @@ const Irt = { class: "formNode" }, krt = {
|
|
|
25051
25051
|
ie("tr", {
|
|
25052
25052
|
style: Bi({ height: a.value + "px" })
|
|
25053
25053
|
}, [
|
|
25054
|
-
(ee(!0), ke(ni, null,
|
|
25054
|
+
(ee(!0), ke(ni, null, us(h.value, (x, L) => (ee(), ke("th", {
|
|
25055
25055
|
key: L,
|
|
25056
25056
|
style: Bi(_.value)
|
|
25057
25057
|
}, [
|
|
@@ -25075,17 +25075,17 @@ const Irt = { class: "formNode" }, krt = {
|
|
|
25075
25075
|
}, [
|
|
25076
25076
|
ie("table", Brt, [
|
|
25077
25077
|
ie("colgroup", null, [
|
|
25078
|
-
(ee(!0), ke(ni, null,
|
|
25078
|
+
(ee(!0), ke(ni, null, us(h.value, (x, L) => (ee(), ke("col", {
|
|
25079
25079
|
key: L,
|
|
25080
25080
|
style: Bi({ width: x.width + "px" })
|
|
25081
25081
|
}, null, 4))), 128))
|
|
25082
25082
|
]),
|
|
25083
25083
|
ie("tbody", null, [
|
|
25084
|
-
(ee(!0), ke(ni, null,
|
|
25084
|
+
(ee(!0), ke(ni, null, us(s.value, (x) => (ee(), ke("tr", {
|
|
25085
25085
|
key: x,
|
|
25086
25086
|
style: Bi({ height: p(x - 1) + "px" })
|
|
25087
25087
|
}, [
|
|
25088
|
-
(ee(!0), ke(ni, null,
|
|
25088
|
+
(ee(!0), ke(ni, null, us(h.value, (L, D) => (ee(), ke("td", {
|
|
25089
25089
|
key: D,
|
|
25090
25090
|
style: Bi(y(x - 1, D)),
|
|
25091
25091
|
title: v(x - 1, D)
|
|
@@ -25560,7 +25560,7 @@ var yX = function(n, e) {
|
|
|
25560
25560
|
for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (t[s] = i[s]);
|
|
25561
25561
|
}, yX(n, e);
|
|
25562
25562
|
};
|
|
25563
|
-
function
|
|
25563
|
+
function ms(n, e) {
|
|
25564
25564
|
if (typeof e != "function" && e !== null)
|
|
25565
25565
|
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
25566
25566
|
yX(n, e);
|
|
@@ -26139,7 +26139,7 @@ function Dot() {
|
|
|
26139
26139
|
zm(this.event);
|
|
26140
26140
|
}
|
|
26141
26141
|
var Tot = function(n) {
|
|
26142
|
-
|
|
26142
|
+
ms(e, n);
|
|
26143
26143
|
function e() {
|
|
26144
26144
|
var t = n !== null && n.apply(this, arguments) || this;
|
|
26145
26145
|
return t.handler = null, t;
|
|
@@ -26162,7 +26162,7 @@ var Tot = function(n) {
|
|
|
26162
26162
|
"mousemove",
|
|
26163
26163
|
"contextmenu"
|
|
26164
26164
|
], IU = new Kt(0, 0, 0, 0), JAe = function(n) {
|
|
26165
|
-
|
|
26165
|
+
ms(e, n);
|
|
26166
26166
|
function e(t, i, s, r, o) {
|
|
26167
26167
|
var a = n.call(this) || this;
|
|
26168
26168
|
return a._hovered = new jE(0, 0), a.storage = t, a.painter = i, a.painterRoot = r, a._pointerSize = o, s = s || new Tot(), a.proxy = null, a.setHandlerProxy(s), a._draggingMgr = new uot(a), a;
|
|
@@ -27747,7 +27747,7 @@ function DL() {
|
|
|
27747
27747
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
27748
27748
|
}
|
|
27749
27749
|
var tat = function(n) {
|
|
27750
|
-
|
|
27750
|
+
ms(e, n);
|
|
27751
27751
|
function e(t) {
|
|
27752
27752
|
var i = n.call(this) || this;
|
|
27753
27753
|
return i._running = !1, i._time = 0, i._pausedTime = 0, i._pauseStart = 0, i._paused = !1, t = t || {}, i.stage = t.stage || {}, i;
|
|
@@ -27963,7 +27963,7 @@ var mve = /* @__PURE__ */ function() {
|
|
|
27963
27963
|
}
|
|
27964
27964
|
return n;
|
|
27965
27965
|
}(), lat = function(n) {
|
|
27966
|
-
|
|
27966
|
+
ms(e, n);
|
|
27967
27967
|
function e(t, i) {
|
|
27968
27968
|
var s = n.call(this) || this;
|
|
27969
27969
|
return s.__pointerCapturing = !1, s.dom = t, s.painterRoot = i, s._localHandlerScope = new mve(t, od), FU && (s._globalHandlerScope = new mve(document, VX)), oat(s, s._localHandlerScope), s;
|
|
@@ -28604,7 +28604,7 @@ function bRe(n, e, t, i, s, r, o, a) {
|
|
|
28604
28604
|
}
|
|
28605
28605
|
}
|
|
28606
28606
|
var Et = function(n) {
|
|
28607
|
-
|
|
28607
|
+
ms(e, n);
|
|
28608
28608
|
function e(t) {
|
|
28609
28609
|
var i = n.call(this) || this;
|
|
28610
28610
|
return i.isGroup = !0, i._children = [], i.attr(t), i;
|
|
@@ -29749,7 +29749,7 @@ var jX = "__zr_style_" + Math.round(Math.random() * 10), Gy = {
|
|
|
29749
29749
|
};
|
|
29750
29750
|
Gy[jX] = !0;
|
|
29751
29751
|
var Ave = ["z", "z2", "invisible"], dlt = ["invisible"], Pu = function(n) {
|
|
29752
|
-
|
|
29752
|
+
ms(e, n);
|
|
29753
29753
|
function e(t) {
|
|
29754
29754
|
return n.call(this, t) || this;
|
|
29755
29755
|
}
|
|
@@ -30432,7 +30432,7 @@ var W8 = wt({
|
|
|
30432
30432
|
"zlevel",
|
|
30433
30433
|
"parent"
|
|
30434
30434
|
]), ci = function(n) {
|
|
30435
|
-
|
|
30435
|
+
ms(e, n);
|
|
30436
30436
|
function e(t) {
|
|
30437
30437
|
return n.call(this, t) || this;
|
|
30438
30438
|
}
|
|
@@ -30584,7 +30584,7 @@ var W8 = wt({
|
|
|
30584
30584
|
return !1;
|
|
30585
30585
|
}, e.extend = function(t) {
|
|
30586
30586
|
var i = function(r) {
|
|
30587
|
-
|
|
30587
|
+
ms(o, r);
|
|
30588
30588
|
function o(a) {
|
|
30589
30589
|
var l = r.call(this, a) || this;
|
|
30590
30590
|
return t.init && t.init.call(l, a), l;
|
|
@@ -30611,7 +30611,7 @@ var W8 = wt({
|
|
|
30611
30611
|
textBaseline: "top",
|
|
30612
30612
|
miterLimit: 2
|
|
30613
30613
|
}, W8), DD = function(n) {
|
|
30614
|
-
|
|
30614
|
+
ms(e, n);
|
|
30615
30615
|
function e() {
|
|
30616
30616
|
return n !== null && n.apply(this, arguments) || this;
|
|
30617
30617
|
}
|
|
@@ -30663,7 +30663,7 @@ function Nlt(n) {
|
|
|
30663
30663
|
return !!(n && typeof n != "string" && n.width && n.height);
|
|
30664
30664
|
}
|
|
30665
30665
|
var aa = function(n) {
|
|
30666
|
-
|
|
30666
|
+
ms(e, n);
|
|
30667
30667
|
function e() {
|
|
30668
30668
|
return n !== null && n.apply(this, arguments) || this;
|
|
30669
30669
|
}
|
|
@@ -30725,7 +30725,7 @@ var Alt = /* @__PURE__ */ function() {
|
|
|
30725
30725
|
}
|
|
30726
30726
|
return n;
|
|
30727
30727
|
}(), Rlt = {}, Mi = function(n) {
|
|
30728
|
-
|
|
30728
|
+
ms(e, n);
|
|
30729
30729
|
function e(t) {
|
|
30730
30730
|
return n.call(this, t) || this;
|
|
30731
30731
|
}
|
|
@@ -30768,7 +30768,7 @@ var Vve = {
|
|
|
30768
30768
|
borderRadius: !0
|
|
30769
30769
|
}, kH.style)
|
|
30770
30770
|
}, Pi = function(n) {
|
|
30771
|
-
|
|
30771
|
+
ms(e, n);
|
|
30772
30772
|
function e(t) {
|
|
30773
30773
|
var i = n.call(this) || this;
|
|
30774
30774
|
return i.type = "text", i._children = [], i._defaultStyle = Vve, i.attr(t), i;
|
|
@@ -31425,7 +31425,7 @@ function oct(n) {
|
|
|
31425
31425
|
return e.toStatic(), e;
|
|
31426
31426
|
}
|
|
31427
31427
|
var ePe = function(n) {
|
|
31428
|
-
|
|
31428
|
+
ms(e, n);
|
|
31429
31429
|
function e() {
|
|
31430
31430
|
return n !== null && n.apply(this, arguments) || this;
|
|
31431
31431
|
}
|
|
@@ -31455,7 +31455,7 @@ function nPe(n, e) {
|
|
|
31455
31455
|
}
|
|
31456
31456
|
function act(n, e) {
|
|
31457
31457
|
var t = iPe(n, e), i = function(s) {
|
|
31458
|
-
|
|
31458
|
+
ms(r, s);
|
|
31459
31459
|
function r(o) {
|
|
31460
31460
|
var a = s.call(this, o) || this;
|
|
31461
31461
|
return a.applyTransform = t.applyTransform, a.buildPath = t.buildPath, a;
|
|
@@ -31489,7 +31489,7 @@ var cct = /* @__PURE__ */ function() {
|
|
|
31489
31489
|
}
|
|
31490
31490
|
return n;
|
|
31491
31491
|
}(), wv = function(n) {
|
|
31492
|
-
|
|
31492
|
+
ms(e, n);
|
|
31493
31493
|
function e(t) {
|
|
31494
31494
|
return n.call(this, t) || this;
|
|
31495
31495
|
}
|
|
@@ -31506,7 +31506,7 @@ var hct = /* @__PURE__ */ function() {
|
|
|
31506
31506
|
}
|
|
31507
31507
|
return n;
|
|
31508
31508
|
}(), RH = function(n) {
|
|
31509
|
-
|
|
31509
|
+
ms(e, n);
|
|
31510
31510
|
function e(t) {
|
|
31511
31511
|
return n.call(this, t) || this;
|
|
31512
31512
|
}
|
|
@@ -31599,7 +31599,7 @@ var pct = /* @__PURE__ */ function() {
|
|
|
31599
31599
|
}
|
|
31600
31600
|
return n;
|
|
31601
31601
|
}(), ql = function(n) {
|
|
31602
|
-
|
|
31602
|
+
ms(e, n);
|
|
31603
31603
|
function e(t) {
|
|
31604
31604
|
return n.call(this, t) || this;
|
|
31605
31605
|
}
|
|
@@ -31618,7 +31618,7 @@ var mct = /* @__PURE__ */ function() {
|
|
|
31618
31618
|
}
|
|
31619
31619
|
return n;
|
|
31620
31620
|
}(), $P = function(n) {
|
|
31621
|
-
|
|
31621
|
+
ms(e, n);
|
|
31622
31622
|
function e(t) {
|
|
31623
31623
|
return n.call(this, t) || this;
|
|
31624
31624
|
}
|
|
@@ -31679,7 +31679,7 @@ var _ct = /* @__PURE__ */ function() {
|
|
|
31679
31679
|
}
|
|
31680
31680
|
return n;
|
|
31681
31681
|
}(), Kl = function(n) {
|
|
31682
|
-
|
|
31682
|
+
ms(e, n);
|
|
31683
31683
|
function e(t) {
|
|
31684
31684
|
return n.call(this, t) || this;
|
|
31685
31685
|
}
|
|
@@ -31696,7 +31696,7 @@ var bct = /* @__PURE__ */ function() {
|
|
|
31696
31696
|
}
|
|
31697
31697
|
return n;
|
|
31698
31698
|
}(), sc = function(n) {
|
|
31699
|
-
|
|
31699
|
+
ms(e, n);
|
|
31700
31700
|
function e(t) {
|
|
31701
31701
|
return n.call(this, t) || this;
|
|
31702
31702
|
}
|
|
@@ -31718,7 +31718,7 @@ var yct = {}, wct = /* @__PURE__ */ function() {
|
|
|
31718
31718
|
}
|
|
31719
31719
|
return n;
|
|
31720
31720
|
}(), xo = function(n) {
|
|
31721
|
-
|
|
31721
|
+
ms(e, n);
|
|
31722
31722
|
function e(t) {
|
|
31723
31723
|
return n.call(this, t) || this;
|
|
31724
31724
|
}
|
|
@@ -31764,7 +31764,7 @@ function o_e(n, e, t) {
|
|
|
31764
31764
|
];
|
|
31765
31765
|
}
|
|
31766
31766
|
var UP = function(n) {
|
|
31767
|
-
|
|
31767
|
+
ms(e, n);
|
|
31768
31768
|
function e(t) {
|
|
31769
31769
|
return n.call(this, t) || this;
|
|
31770
31770
|
}
|
|
@@ -31792,7 +31792,7 @@ var Sct = /* @__PURE__ */ function() {
|
|
|
31792
31792
|
}
|
|
31793
31793
|
return n;
|
|
31794
31794
|
}(), PH = function(n) {
|
|
31795
|
-
|
|
31795
|
+
ms(e, n);
|
|
31796
31796
|
function e(t) {
|
|
31797
31797
|
return n.call(this, t) || this;
|
|
31798
31798
|
}
|
|
@@ -31810,7 +31810,7 @@ var Sct = /* @__PURE__ */ function() {
|
|
|
31810
31810
|
}(ci);
|
|
31811
31811
|
PH.prototype.type = "arc";
|
|
31812
31812
|
var ale = function(n) {
|
|
31813
|
-
|
|
31813
|
+
ms(e, n);
|
|
31814
31814
|
function e() {
|
|
31815
31815
|
var t = n !== null && n.apply(this, arguments) || this;
|
|
31816
31816
|
return t.type = "compound", t;
|
|
@@ -31843,14 +31843,14 @@ var ale = function(n) {
|
|
|
31843
31843
|
});
|
|
31844
31844
|
}, n;
|
|
31845
31845
|
}(), GP = function(n) {
|
|
31846
|
-
|
|
31846
|
+
ms(e, n);
|
|
31847
31847
|
function e(t, i, s, r, o, a) {
|
|
31848
31848
|
var l = n.call(this, o) || this;
|
|
31849
31849
|
return l.x = t ?? 0, l.y = i ?? 0, l.x2 = s ?? 1, l.y2 = r ?? 0, l.type = "linear", l.global = a || !1, l;
|
|
31850
31850
|
}
|
|
31851
31851
|
return e;
|
|
31852
31852
|
}(oPe), aPe = function(n) {
|
|
31853
|
-
|
|
31853
|
+
ms(e, n);
|
|
31854
31854
|
function e(t, i, s, r, o) {
|
|
31855
31855
|
var a = n.call(this, r) || this;
|
|
31856
31856
|
return a.x = t ?? 0.5, a.y = i ?? 0.5, a.r = s ?? 0.5, a.type = "radial", a.global = o || !1, a;
|
|
@@ -31898,7 +31898,7 @@ var ale = function(n) {
|
|
|
31898
31898
|
i[0] = a, i[1] = l;
|
|
31899
31899
|
}, n;
|
|
31900
31900
|
}(), xct = [], Lct = function(n) {
|
|
31901
|
-
|
|
31901
|
+
ms(e, n);
|
|
31902
31902
|
function e() {
|
|
31903
31903
|
var t = n !== null && n.apply(this, arguments) || this;
|
|
31904
31904
|
return t.notClear = !0, t.incremental = !0, t._displayables = [], t._temporaryDisplayables = [], t._cursor = 0, t;
|
|
@@ -32005,7 +32005,7 @@ function lle(n, e, t, i, s, r, o) {
|
|
|
32005
32005
|
function $i(n, e, t, i, s, r) {
|
|
32006
32006
|
lle("update", n, e, t, i, s, r);
|
|
32007
32007
|
}
|
|
32008
|
-
function
|
|
32008
|
+
function Cs(n, e, t, i, s, r) {
|
|
32009
32009
|
lle("enter", n, e, t, i, s, r);
|
|
32010
32010
|
}
|
|
32011
32011
|
function _2(n) {
|
|
@@ -32288,7 +32288,7 @@ const bS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
32288
32288
|
getShapeClass: cle,
|
|
32289
32289
|
getTransform: Ky,
|
|
32290
32290
|
groupTransition: jP,
|
|
32291
|
-
initProps:
|
|
32291
|
+
initProps: Cs,
|
|
32292
32292
|
isElementRemoved: _2,
|
|
32293
32293
|
lineLineIntersect: fPe,
|
|
32294
32294
|
linePolygonIntersect: pk,
|
|
@@ -32478,7 +32478,7 @@ function mPe(n, e, t, i, s) {
|
|
|
32478
32478
|
}, r.statesModels, u);
|
|
32479
32479
|
gPe(n, d);
|
|
32480
32480
|
}
|
|
32481
|
-
n.percent = 0, (r.prevValue == null ?
|
|
32481
|
+
n.percent = 0, (r.prevValue == null ? Cs : $i)(n, {
|
|
32482
32482
|
// percent is used to prevent animation from being aborted #15916
|
|
32483
32483
|
percent: 1
|
|
32484
32484
|
}, i, e, null, c);
|
|
@@ -36047,7 +36047,7 @@ function uZ(n) {
|
|
|
36047
36047
|
return i;
|
|
36048
36048
|
}
|
|
36049
36049
|
}
|
|
36050
|
-
var
|
|
36050
|
+
var Ms = (
|
|
36051
36051
|
/** @class */
|
|
36052
36052
|
function() {
|
|
36053
36053
|
function n() {
|
|
@@ -36066,8 +36066,8 @@ var Ns = (
|
|
|
36066
36066
|
}, n;
|
|
36067
36067
|
}()
|
|
36068
36068
|
);
|
|
36069
|
-
Jae(
|
|
36070
|
-
EH(
|
|
36069
|
+
Jae(Ms);
|
|
36070
|
+
EH(Ms);
|
|
36071
36071
|
function nE() {
|
|
36072
36072
|
var n = Ri();
|
|
36073
36073
|
return function(e) {
|
|
@@ -37988,7 +37988,7 @@ var px, xG, U3, Hv, LG, DG, TG, iI, nI, g0e, p0e, EG, m0e, G3, v0e, POe, zh, _0e
|
|
|
37988
37988
|
S.__requireNewView = !1;
|
|
37989
37989
|
var L = "_ec_" + S.id + "_" + S.type, D = !x && m[L];
|
|
37990
37990
|
if (!D) {
|
|
37991
|
-
var T = gg(S.type), E = d ?
|
|
37991
|
+
var T = gg(S.type), E = d ? Ms.getClass(T.main, T.sub) : (
|
|
37992
37992
|
// FIXME:TS
|
|
37993
37993
|
// (ChartView as ChartViewConstructor).getClass('series', classType.sub)
|
|
37994
37994
|
// For backward compat, still support a chart type declared as only subType
|
|
@@ -38550,7 +38550,7 @@ var w0e = [], Hdt = {
|
|
|
38550
38550
|
registerImpl: pdt,
|
|
38551
38551
|
PRIORITY: Edt,
|
|
38552
38552
|
ComponentModel: hi,
|
|
38553
|
-
ComponentView:
|
|
38553
|
+
ComponentView: Ms,
|
|
38554
38554
|
SeriesModel: ss,
|
|
38555
38555
|
ChartView: On,
|
|
38556
38556
|
// TODO Use ComponentModel and SeriesModel instead of Constructor
|
|
@@ -38558,7 +38558,7 @@ var w0e = [], Hdt = {
|
|
|
38558
38558
|
hi.registerClass(n);
|
|
38559
38559
|
},
|
|
38560
38560
|
registerComponentView: function(n) {
|
|
38561
|
-
|
|
38561
|
+
Ms.registerClass(n);
|
|
38562
38562
|
},
|
|
38563
38563
|
registerSeriesModel: function(n) {
|
|
38564
38564
|
ss.registerClass(n);
|
|
@@ -41385,7 +41385,7 @@ var J3 = ["x", "y", "rotation"], hgt = (
|
|
|
41385
41385
|
d && (ei(d, "select") >= 0 && i.attr(r.oldLayoutSelect), ei(d, "emphasis") >= 0 && i.attr(r.oldLayoutEmphasis)), $i(i, c, t, l);
|
|
41386
41386
|
} else if (i.attr(c), !ZT(i).valueAnimation) {
|
|
41387
41387
|
var u = Mt(i.style.opacity, 1);
|
|
41388
|
-
i.style.opacity = 0,
|
|
41388
|
+
i.style.opacity = 0, Cs(i, {
|
|
41389
41389
|
style: {
|
|
41390
41390
|
opacity: u
|
|
41391
41391
|
}
|
|
@@ -41409,7 +41409,7 @@ var J3 = ["x", "y", "rotation"], hgt = (
|
|
|
41409
41409
|
shape: o
|
|
41410
41410
|
}), $i(s, {
|
|
41411
41411
|
shape: p
|
|
41412
|
-
}, t)) : (s.setShape(p), s.style.strokePercent = 0,
|
|
41412
|
+
}, t)) : (s.setShape(p), s.style.strokePercent = 0, Cs(s, {
|
|
41413
41413
|
style: {
|
|
41414
41414
|
strokePercent: 1
|
|
41415
41415
|
}
|
|
@@ -41700,8 +41700,8 @@ function ez(n, e, t, i) {
|
|
|
41700
41700
|
var _i = Ht.keyframes, Ui = Ht.propName;
|
|
41701
41701
|
if (Le && (Ui = Le(Ui)), Ui)
|
|
41702
41702
|
for (var wn = 0; wn < _i.length; wn++) {
|
|
41703
|
-
var zs = _i[wn], Jn = Math.round(zs.time / We * 100) + "%",
|
|
41704
|
-
(Ye(Hr) || Hi(Hr)) && (ue[Jn] = ue[Jn] || {}, ue[Jn][Ui] = zs.rawValue,
|
|
41703
|
+
var zs = _i[wn], Jn = Math.round(zs.time / We * 100) + "%", As = B0e(zs.easing), Hr = zs.rawValue;
|
|
41704
|
+
(Ye(Hr) || Hi(Hr)) && (ue[Jn] = ue[Jn] || {}, ue[Jn][Ui] = zs.rawValue, As && (ue[Jn][L] = As));
|
|
41705
41705
|
}
|
|
41706
41706
|
}
|
|
41707
41707
|
}
|
|
@@ -42258,7 +42258,7 @@ function X0e(n, e, t) {
|
|
|
42258
42258
|
return o && (o.position = "absolute", o.left = "0", o.top = "0", o.width = s + "px", o.height = r + "px", i.setAttribute("data-zr-dom-id", n)), i.width = s * t, i.height = r * t, i;
|
|
42259
42259
|
}
|
|
42260
42260
|
var HG = function(n) {
|
|
42261
|
-
|
|
42261
|
+
ms(e, n);
|
|
42262
42262
|
function e(t, i, s) {
|
|
42263
42263
|
var r = n.call(this) || this;
|
|
42264
42264
|
r.motionBlur = !1, r.lastFrameAlpha = 0.7, r.dpr = 1, r.virtual = !1, r.config = {}, r.incremental = !1, r.zlevel = 0, r.maxRepaintRectCount = 5, r.__dirty = !0, r.__firstTimePaint = !0, r.__used = !1, r.__drawIndex = 0, r.__startIndex = 0, r.__endIndex = 0, r.__prevStartIndex = null, r.__prevEndIndex = null;
|
|
@@ -42837,7 +42837,7 @@ var ZP = (
|
|
|
42837
42837
|
opacity: d.style.opacity
|
|
42838
42838
|
}
|
|
42839
42839
|
};
|
|
42840
|
-
d.scaleX = d.scaleY = 0, d.style.opacity = 0,
|
|
42840
|
+
d.scaleX = d.scaleY = 0, d.style.opacity = 0, Cs(d, f, a, i);
|
|
42841
42841
|
}
|
|
42842
42842
|
}
|
|
42843
42843
|
h && this.childAt(0).stopAnimation("leave");
|
|
@@ -43278,7 +43278,7 @@ function U3e(n, e, t, i, s) {
|
|
|
43278
43278
|
var p = pt(s) ? function(m) {
|
|
43279
43279
|
s(m, u);
|
|
43280
43280
|
} : null;
|
|
43281
|
-
|
|
43281
|
+
Cs(u, {
|
|
43282
43282
|
shape: {
|
|
43283
43283
|
width: l,
|
|
43284
43284
|
height: c,
|
|
@@ -43303,7 +43303,7 @@ function G3e(n, e, t) {
|
|
|
43303
43303
|
});
|
|
43304
43304
|
if (e) {
|
|
43305
43305
|
var a = n.getBaseAxis().dim === "angle";
|
|
43306
|
-
a ? o.shape.endAngle = i.startAngle : o.shape.r = s,
|
|
43306
|
+
a ? o.shape.endAngle = i.startAngle : o.shape.r = s, Cs(o, {
|
|
43307
43307
|
shape: {
|
|
43308
43308
|
endAngle: i.endAngle,
|
|
43309
43309
|
r
|
|
@@ -43570,7 +43570,7 @@ var fpt = (
|
|
|
43570
43570
|
var k = m.getClipPath();
|
|
43571
43571
|
if (k) {
|
|
43572
43572
|
var N = $G(this, r, !1, t);
|
|
43573
|
-
|
|
43573
|
+
Cs(k, {
|
|
43574
43574
|
shape: N.shape
|
|
43575
43575
|
}, t);
|
|
43576
43576
|
} else
|
|
@@ -44212,7 +44212,7 @@ var Cpt = (
|
|
|
44212
44212
|
var R = o1e[c.type](t, a, E, k, u, d, h.model, !1, m);
|
|
44213
44213
|
f && (R.forceLabelAnimation = !0), h1e(R, a, E, I, k, t, u, c.type === "polar"), S ? R.attr({
|
|
44214
44214
|
shape: k
|
|
44215
|
-
}) : f ? a1e(f, d, R, k, E, u, !1, !1) :
|
|
44215
|
+
}) : f ? a1e(f, d, R, k, E, u, !1, !1) : Cs(R, {
|
|
44216
44216
|
shape: k
|
|
44217
44217
|
}, t, E), a.setItemGraphicEl(E, R), o.add(R), R.ignore = N;
|
|
44218
44218
|
}
|
|
@@ -44388,7 +44388,7 @@ var Cpt = (
|
|
|
44388
44388
|
isRoundCap: c === l7
|
|
44389
44389
|
}), r) {
|
|
44390
44390
|
var d = h.shape, f = s ? "r" : "endAngle", g = {};
|
|
44391
|
-
d[f] = s ? i.r0 : i.startAngle, g[f] = i[f], (a ? $i :
|
|
44391
|
+
d[f] = s ? i.r0 : i.startAngle, g[f] = i[f], (a ? $i : Cs)(h, {
|
|
44392
44392
|
shape: g
|
|
44393
44393
|
// __value: typeof dataValue === 'string' ? parseInt(dataValue, 10) : dataValue
|
|
44394
44394
|
}, r);
|
|
@@ -44418,11 +44418,11 @@ function a1e(n, e, t, i, s, r, o, a) {
|
|
|
44418
44418
|
}, l = {
|
|
44419
44419
|
x: i.x,
|
|
44420
44420
|
width: i.width
|
|
44421
|
-
}), a || (o ? $i :
|
|
44421
|
+
}), a || (o ? $i : Cs)(t, {
|
|
44422
44422
|
shape: l
|
|
44423
44423
|
}, e, s, null);
|
|
44424
44424
|
var h = e ? n.baseAxis.model : null;
|
|
44425
|
-
(o ? $i :
|
|
44425
|
+
(o ? $i : Cs)(t, {
|
|
44426
44426
|
shape: c
|
|
44427
44427
|
}, h, s);
|
|
44428
44428
|
}
|
|
@@ -44867,8 +44867,8 @@ function Ppt(n) {
|
|
|
44867
44867
|
} else if (wn === "tangential" && k !== "outside" && k !== "outer") {
|
|
44868
44868
|
var Jn = Math.atan2(K, J);
|
|
44869
44869
|
Jn < 0 && (Jn = _i * 2 + Jn);
|
|
44870
|
-
var
|
|
44871
|
-
|
|
44870
|
+
var As = J > 0;
|
|
44871
|
+
As && (Jn = _i + Jn), Ui = Jn - _i;
|
|
44872
44872
|
}
|
|
44873
44873
|
if (r = !!Ui, D.x = te, D.y = he, D.rotation = Ui, D.setStyle({
|
|
44874
44874
|
verticalAlign: "middle"
|
|
@@ -44945,20 +44945,20 @@ var Opt = (
|
|
|
44945
44945
|
if (r) {
|
|
44946
44946
|
o.setShape(u);
|
|
44947
44947
|
var d = a.getShallow("animationType");
|
|
44948
|
-
a.ecModel.ssr ? (
|
|
44948
|
+
a.ecModel.ssr ? (Cs(o, {
|
|
44949
44949
|
scaleX: 0,
|
|
44950
44950
|
scaleY: 0
|
|
44951
44951
|
}, a, {
|
|
44952
44952
|
dataIndex: i,
|
|
44953
44953
|
isFrom: !0
|
|
44954
|
-
}), o.originX = u.cx, o.originY = u.cy) : d === "scale" ? (o.shape.r = h.r0,
|
|
44954
|
+
}), o.originX = u.cx, o.originY = u.cy) : d === "scale" ? (o.shape.r = h.r0, Cs(o, {
|
|
44955
44955
|
shape: {
|
|
44956
44956
|
r: h.r
|
|
44957
44957
|
}
|
|
44958
44958
|
}, a, i)) : s != null ? (o.setShape({
|
|
44959
44959
|
startAngle: s,
|
|
44960
44960
|
endAngle: s
|
|
44961
|
-
}),
|
|
44961
|
+
}), Cs(o, {
|
|
44962
44962
|
shape: {
|
|
44963
44963
|
startAngle: h.startAngle,
|
|
44964
44964
|
endAngle: h.endAngle
|
|
@@ -46539,7 +46539,7 @@ var XG = {}, SS = (
|
|
|
46539
46539
|
}, e.getAxisPointerClass = function(t) {
|
|
46540
46540
|
return t && XG[t];
|
|
46541
46541
|
}, e.type = "axis", e;
|
|
46542
|
-
}(
|
|
46542
|
+
}(Ms)
|
|
46543
46543
|
), IZ = Ri();
|
|
46544
46544
|
function r4e(n, e, t, i) {
|
|
46545
46545
|
var s = t.axis;
|
|
@@ -46711,7 +46711,7 @@ var pmt = ["axisLine", "axisTickLabel", "axisName"], mmt = ["splitArea", "splitL
|
|
|
46711
46711
|
z2: -1
|
|
46712
46712
|
}));
|
|
46713
46713
|
}, e.type = "grid", e;
|
|
46714
|
-
}(
|
|
46714
|
+
}(Ms)
|
|
46715
46715
|
), L1e = {
|
|
46716
46716
|
// gridIndex: 0,
|
|
46717
46717
|
// gridId: '',
|
|
@@ -46812,7 +46812,7 @@ var Smt = (
|
|
|
46812
46812
|
points: f
|
|
46813
46813
|
}
|
|
46814
46814
|
};
|
|
46815
|
-
g.shape.points = u(f), p.shape.points = u(f),
|
|
46815
|
+
g.shape.points = u(f), p.shape.points = u(f), Cs(g, m, t, d), Cs(p, m, t, d);
|
|
46816
46816
|
var v = new Et(), _ = new Et();
|
|
46817
46817
|
v.add(p), v.add(g), v.add(_), h(p.shape.points, f, _, a, d, !0), a.setItemGraphicEl(d, v);
|
|
46818
46818
|
}
|
|
@@ -47118,7 +47118,7 @@ var Lmt = (
|
|
|
47118
47118
|
}));
|
|
47119
47119
|
}, this);
|
|
47120
47120
|
}, e.type = "radar", e;
|
|
47121
|
-
}(
|
|
47121
|
+
}(Ms)
|
|
47122
47122
|
), Emt = (
|
|
47123
47123
|
/** @class */
|
|
47124
47124
|
function(n) {
|
|
@@ -48980,7 +48980,7 @@ var pvt = (
|
|
|
48980
48980
|
}, e.prototype.dispose = function() {
|
|
48981
48981
|
this._mapDraw && this._mapDraw.remove();
|
|
48982
48982
|
}, e.type = "geo", e;
|
|
48983
|
-
}(
|
|
48983
|
+
}(Ms)
|
|
48984
48984
|
);
|
|
48985
48985
|
function mvt(n, e, t) {
|
|
48986
48986
|
Km.registerMap(n, e, t);
|
|
@@ -50618,10 +50618,10 @@ function r_t(n, e, t, i, s, r, o, a, l, c) {
|
|
|
50618
50618
|
Se && (Me.setTextConfig({
|
|
50619
50619
|
layoutRect: Se
|
|
50620
50620
|
}), _i.disableLabelLayout = !0), _i.beforeUpdate = function() {
|
|
50621
|
-
var Jn = Math.max((Se ? Se.width : Me.shape.width) - wn[1] - wn[3], 0),
|
|
50622
|
-
(Ui.width !== Jn || Ui.height !==
|
|
50621
|
+
var Jn = Math.max((Se ? Se.width : Me.shape.width) - wn[1] - wn[3], 0), As = Math.max((Se ? Se.height : Me.shape.height) - wn[0] - wn[2], 0);
|
|
50622
|
+
(Ui.width !== Jn || Ui.height !== As) && _i.setStyle({
|
|
50623
50623
|
width: Jn,
|
|
50624
|
-
height:
|
|
50624
|
+
height: As
|
|
50625
50625
|
});
|
|
50626
50626
|
}, Ui.truncateMinChar = 2, Ui.lineOverflow = "truncate", te(Ui, Se, h);
|
|
50627
50627
|
var zs = _i.getState("emphasis");
|
|
@@ -51696,7 +51696,7 @@ var oce = (
|
|
|
51696
51696
|
}
|
|
51697
51697
|
return e.prototype._createLine = function(t, i, s) {
|
|
51698
51698
|
var r = t.hostModel, o = t.getItemLayout(i), a = U_t(o);
|
|
51699
|
-
a.shape.percent = 0,
|
|
51699
|
+
a.shape.percent = 0, Cs(a, {
|
|
51700
51700
|
shape: {
|
|
51701
51701
|
percent: 1
|
|
51702
51702
|
}
|
|
@@ -52720,13 +52720,13 @@ var e0t = (
|
|
|
52720
52720
|
var E = _.get(b, T);
|
|
52721
52721
|
if (p) {
|
|
52722
52722
|
var I = L(T, a);
|
|
52723
|
-
|
|
52723
|
+
Cs(I, {
|
|
52724
52724
|
rotation: -((isNaN(+E) ? x[0] : ln(E, S, x, !0)) + Math.PI / 2)
|
|
52725
52725
|
}, t), u.add(I), _.setItemGraphicEl(T, I);
|
|
52726
52726
|
}
|
|
52727
52727
|
if (v) {
|
|
52728
52728
|
var k = D(T, a), N = m.get("clip");
|
|
52729
|
-
|
|
52729
|
+
Cs(k, {
|
|
52730
52730
|
shape: {
|
|
52731
52731
|
endAngle: ln(E, S, x, N)
|
|
52732
52732
|
}
|
|
@@ -52984,7 +52984,7 @@ var n0t = ["itemStyle", "opacity"], s0t = (
|
|
|
52984
52984
|
var r = this, o = t.hostModel, a = t.getItemModel(i), l = t.getItemLayout(i), c = a.getModel("emphasis"), h = a.get(n0t);
|
|
52985
52985
|
h = h ?? 1, s || qd(r), r.useStyle(t.getItemVisual(i, "style")), r.style.lineJoin = "round", s ? (r.setShape({
|
|
52986
52986
|
points: l.points
|
|
52987
|
-
}), r.style.opacity = 0,
|
|
52987
|
+
}), r.style.opacity = 0, Cs(r, {
|
|
52988
52988
|
style: {
|
|
52989
52989
|
opacity: h
|
|
52990
52990
|
}
|
|
@@ -53295,7 +53295,7 @@ function g0t(n, e, t) {
|
|
|
53295
53295
|
height: s.height
|
|
53296
53296
|
}
|
|
53297
53297
|
}), o = i.get("layout") === "horizontal" ? "width" : "height";
|
|
53298
|
-
return r.setShape(o, 0),
|
|
53298
|
+
return r.setShape(o, 0), Cs(r, {
|
|
53299
53299
|
shape: {
|
|
53300
53300
|
width: s.width,
|
|
53301
53301
|
height: s.height
|
|
@@ -53455,7 +53455,7 @@ var x0t = 5, L0t = (
|
|
|
53455
53455
|
type: "parallelAxisExpand"
|
|
53456
53456
|
}, t));
|
|
53457
53457
|
}, e.type = "parallel", e;
|
|
53458
|
-
}(
|
|
53458
|
+
}(Ms)
|
|
53459
53459
|
), D0t = {
|
|
53460
53460
|
mousedown: function(n) {
|
|
53461
53461
|
vj(this, "click") && (this._mouseDownPoint = [n.offsetX, n.offsetY]);
|
|
@@ -54335,7 +54335,7 @@ var Z0t = ["axisLine", "axisTickLabel", "axisName"], J0t = (
|
|
|
54335
54335
|
}, e.prototype.dispose = function() {
|
|
54336
54336
|
this._brushController.dispose();
|
|
54337
54337
|
}, e.type = "parallelAxis", e;
|
|
54338
|
-
}(
|
|
54338
|
+
}(Ms)
|
|
54339
54339
|
);
|
|
54340
54340
|
function Q0t(n, e, t) {
|
|
54341
54341
|
return t && t.type === "axisAreaSelect" && e.findComponents({
|
|
@@ -54545,7 +54545,7 @@ function c1t(n, e, t) {
|
|
|
54545
54545
|
height: n.height + 20
|
|
54546
54546
|
}
|
|
54547
54547
|
});
|
|
54548
|
-
return
|
|
54548
|
+
return Cs(i, {
|
|
54549
54549
|
shape: {
|
|
54550
54550
|
width: n.width + 20
|
|
54551
54551
|
}
|
|
@@ -55320,7 +55320,7 @@ var q1t = {
|
|
|
55320
55320
|
if (a && Pbe(c, u))
|
|
55321
55321
|
return;
|
|
55322
55322
|
var d = wj(u, h, !0);
|
|
55323
|
-
|
|
55323
|
+
Cs(d, {
|
|
55324
55324
|
shape: {
|
|
55325
55325
|
points: u.ends
|
|
55326
55326
|
}
|
|
@@ -56980,7 +56980,7 @@ function Fbt(n, e, t) {
|
|
|
56980
56980
|
height: n.height + 20
|
|
56981
56981
|
}
|
|
56982
56982
|
});
|
|
56983
|
-
return
|
|
56983
|
+
return Cs(i, {
|
|
56984
56984
|
shape: {
|
|
56985
56985
|
x: n.x - 50,
|
|
56986
56986
|
width: n.width + 100,
|
|
@@ -57190,7 +57190,7 @@ var zbt = 2, $bt = 4, Ybe = (
|
|
|
57190
57190
|
b.style = y.getItemStyle();
|
|
57191
57191
|
var w = Cy(y, u);
|
|
57192
57192
|
w && (b.shape = w);
|
|
57193
|
-
}), t ? (a.setShape(u), a.shape.r = h.r0,
|
|
57193
|
+
}), t ? (a.setShape(u), a.shape.r = h.r0, Cs(a, {
|
|
57194
57194
|
shape: {
|
|
57195
57195
|
r: h.r
|
|
57196
57196
|
}
|
|
@@ -58963,7 +58963,7 @@ var $yt = (
|
|
|
58963
58963
|
}, e.prototype.dispose = function(t, i) {
|
|
58964
58964
|
qZ("axisPointer", i);
|
|
58965
58965
|
}, e.type = "axisPointer", e;
|
|
58966
|
-
}(
|
|
58966
|
+
}(Ms)
|
|
58967
58967
|
);
|
|
58968
58968
|
function O5e(n, e) {
|
|
58969
58969
|
var t = [], i = n.seriesIndex, s;
|
|
@@ -59901,7 +59901,7 @@ var wwt = {
|
|
|
59901
59901
|
return t.type = e.type, t;
|
|
59902
59902
|
}
|
|
59903
59903
|
return e.type = "polar", e;
|
|
59904
|
-
}(
|
|
59904
|
+
}(Ms)
|
|
59905
59905
|
);
|
|
59906
59906
|
function xwt(n) {
|
|
59907
59907
|
ri(rO), SS.registerAxisPointerClass("PolarAxisPointer", Qyt), n.registerCoordinateSystem("polar", hwt), n.registerComponentModel(iwt), n.registerComponentView(Swt), MD(n, "angle", nwt, wwt), MD(n, "radius", swt, Cwt), n.registerComponentView(dwt), n.registerComponentView(mwt), n.registerLayout(Bt(bwt, "bar"));
|
|
@@ -60236,7 +60236,7 @@ var Owt = (
|
|
|
60236
60236
|
return t.type = e.type, t;
|
|
60237
60237
|
}
|
|
60238
60238
|
return e.type = "single", e;
|
|
60239
|
-
}(
|
|
60239
|
+
}(Ms)
|
|
60240
60240
|
);
|
|
60241
60241
|
function Fwt(n) {
|
|
60242
60242
|
ri(rO), SS.registerAxisPointerClass("SingleAxisPointer", Rwt), n.registerComponentView(Owt), n.registerComponentView(Twt), n.registerComponentModel(y6), MD(n, "single", y6, y6.defaultOption), n.registerCoordinateSystem("single", Mwt);
|
|
@@ -60497,7 +60497,7 @@ var Bwt = (
|
|
|
60497
60497
|
}
|
|
60498
60498
|
}
|
|
60499
60499
|
}, e.type = "calendar", e;
|
|
60500
|
-
}(
|
|
60500
|
+
}(Ms)
|
|
60501
60501
|
), Rj = 864e5, Wwt = (
|
|
60502
60502
|
/** @class */
|
|
60503
60503
|
function() {
|
|
@@ -60852,7 +60852,7 @@ var jwt = (
|
|
|
60852
60852
|
}, e.prototype.dispose = function() {
|
|
60853
60853
|
this._clear();
|
|
60854
60854
|
}, e.type = "graphic", e;
|
|
60855
|
-
}(
|
|
60855
|
+
}(Ms)
|
|
60856
60856
|
);
|
|
60857
60857
|
function YZ(n) {
|
|
60858
60858
|
process.env.NODE_ENV !== "production" && bt(n, "graphic type MUST be set");
|
|
@@ -61173,7 +61173,7 @@ var eCt = (
|
|
|
61173
61173
|
return e.prototype.render = function(t, i, s, r) {
|
|
61174
61174
|
this.dataZoomModel = t, this.ecModel = i, this.api = s;
|
|
61175
61175
|
}, e.type = "dataZoom", e;
|
|
61176
|
-
}(
|
|
61176
|
+
}(Ms)
|
|
61177
61177
|
), tCt = (
|
|
61178
61178
|
/** @class */
|
|
61179
61179
|
function(n) {
|
|
@@ -61580,7 +61580,7 @@ var cCt = (
|
|
|
61580
61580
|
s instanceof uu && s.dispose && s.dispose(t, i);
|
|
61581
61581
|
});
|
|
61582
61582
|
}, e.type = "toolbox", e;
|
|
61583
|
-
}(
|
|
61583
|
+
}(Ms)
|
|
61584
61584
|
);
|
|
61585
61585
|
function hCt(n) {
|
|
61586
61586
|
return n.indexOf("my") === 0;
|
|
@@ -63070,7 +63070,7 @@ var XCt = new Mi({
|
|
|
63070
63070
|
}, e.prototype.dispose = function(t, i) {
|
|
63071
63071
|
li.node || !i.getDom() || (fA(this, "_updatePosition"), this._tooltipContent.dispose(), qZ("itemTooltip", i));
|
|
63072
63072
|
}, e.type = "tooltip", e;
|
|
63073
|
-
}(
|
|
63073
|
+
}(Ms)
|
|
63074
63074
|
);
|
|
63075
63075
|
function gI(n, e, t) {
|
|
63076
63076
|
var i = e.ecModel, s;
|
|
@@ -63486,7 +63486,7 @@ var gSt = (
|
|
|
63486
63486
|
$from: i
|
|
63487
63487
|
});
|
|
63488
63488
|
}, e.type = "brush", e;
|
|
63489
|
-
}(
|
|
63489
|
+
}(Ms)
|
|
63490
63490
|
), pSt = "#ddd", mSt = (
|
|
63491
63491
|
/** @class */
|
|
63492
63492
|
function(n) {
|
|
@@ -63725,7 +63725,7 @@ var ySt = (
|
|
|
63725
63725
|
r.add(x);
|
|
63726
63726
|
}
|
|
63727
63727
|
}, e.type = "title", e;
|
|
63728
|
-
}(
|
|
63728
|
+
}(Ms)
|
|
63729
63729
|
);
|
|
63730
63730
|
function CSt(n) {
|
|
63731
63731
|
n.registerComponentModel(ySt), n.registerComponentView(wSt);
|
|
@@ -63916,7 +63916,7 @@ var SSt = (
|
|
|
63916
63916
|
return t.type = e.type, t;
|
|
63917
63917
|
}
|
|
63918
63918
|
return e.type = "timeline", e;
|
|
63919
|
-
}(
|
|
63919
|
+
}(Ms)
|
|
63920
63920
|
), xSt = (
|
|
63921
63921
|
/** @class */
|
|
63922
63922
|
function(n) {
|
|
@@ -64539,7 +64539,7 @@ var Wj = Ri(), Wce = (
|
|
|
64539
64539
|
}
|
|
64540
64540
|
});
|
|
64541
64541
|
}, e.type = "marker", e;
|
|
64542
|
-
}(
|
|
64542
|
+
}(Ms)
|
|
64543
64543
|
);
|
|
64544
64544
|
function fwe(n, e, t) {
|
|
64545
64545
|
var i = e.coordinateSystem;
|
|
@@ -65386,7 +65386,7 @@ var JSt = function(n, e) {
|
|
|
65386
65386
|
}, e.prototype.remove = function() {
|
|
65387
65387
|
this.getContentGroup().removeAll(), this._isFirstRender = !0;
|
|
65388
65388
|
}, e.type = "legend.plain", e;
|
|
65389
|
-
}(
|
|
65389
|
+
}(Ms)
|
|
65390
65390
|
);
|
|
65391
65391
|
function QSt(n, e, t, i, s, r, o) {
|
|
65392
65392
|
function a(m, v) {
|
|
@@ -66796,7 +66796,7 @@ var h6e = (
|
|
|
66796
66796
|
});
|
|
66797
66797
|
}, e.prototype.doRender = function(t, i, s, r) {
|
|
66798
66798
|
}, e.type = "visualMap", e;
|
|
66799
|
-
}(
|
|
66799
|
+
}(Ms)
|
|
66800
66800
|
), kwe = [["left", "right", "width"], ["top", "bottom", "height"]];
|
|
66801
66801
|
function u6e(n, e, t) {
|
|
66802
66802
|
var i = n.option, s = i.align;
|
|
@@ -67962,7 +67962,7 @@ var hLt = (
|
|
|
67962
67962
|
return t.type = "dataset", t;
|
|
67963
67963
|
}
|
|
67964
67964
|
return e.type = "dataset", e;
|
|
67965
|
-
}(
|
|
67965
|
+
}(Ms)
|
|
67966
67966
|
);
|
|
67967
67967
|
function dLt(n) {
|
|
67968
67968
|
n.registerComponentModel(hLt), n.registerComponentView(uLt);
|
|
@@ -68665,7 +68665,7 @@ function Jwe(n) {
|
|
|
68665
68665
|
}
|
|
68666
68666
|
function Yj(n, e, t) {
|
|
68667
68667
|
n.traverse(function(i) {
|
|
68668
|
-
i instanceof ci &&
|
|
68668
|
+
i instanceof ci && Cs(i, {
|
|
68669
68669
|
style: {
|
|
68670
68670
|
opacity: 0
|
|
68671
68671
|
}
|
|
@@ -69051,7 +69051,7 @@ const WLt = {
|
|
|
69051
69051
|
style: Bi({ transform: t.value })
|
|
69052
69052
|
}, [
|
|
69053
69053
|
ie("div", zLt, [
|
|
69054
|
-
(ee(), ke(ni, null,
|
|
69054
|
+
(ee(), ke(ni, null, us(4, (o) => ie("div", {
|
|
69055
69055
|
class: "arrow-triangle",
|
|
69056
69056
|
key: o,
|
|
69057
69057
|
style: Bi({ animationDelay: `${(o - 1) * -0.4}s` })
|
|
@@ -69073,7 +69073,7 @@ const WLt = {
|
|
|
69073
69073
|
s[0] || (s[0] = ie("div", { class: "switchLeft" }, null, -1)),
|
|
69074
69074
|
s[1] || (s[1] = ie("div", { class: "switchRight" }, null, -1)),
|
|
69075
69075
|
ie("div", {
|
|
69076
|
-
class:
|
|
69076
|
+
class: ks({ switchLine: !0, open: mt(e).isOpen })
|
|
69077
69077
|
}, null, 2),
|
|
69078
69078
|
s[2] || (s[2] = ie("div", { class: "switchLeftLine" }, null, -1)),
|
|
69079
69079
|
s[3] || (s[3] = ie("div", { class: "switchRightLine" }, null, -1))
|
|
@@ -69651,7 +69651,7 @@ const WLt = {
|
|
|
69651
69651
|
value: "0",
|
|
69652
69652
|
label: "根目录"
|
|
69653
69653
|
}),
|
|
69654
|
-
(ee(!0), ke(ni, null,
|
|
69654
|
+
(ee(!0), ke(ni, null, us(mt(i), (w) => (ee(), it(g, {
|
|
69655
69655
|
key: w.id,
|
|
69656
69656
|
label: w.name,
|
|
69657
69657
|
value: w.id
|
|
@@ -69759,7 +69759,7 @@ const WLt = {
|
|
|
69759
69759
|
s.value = !0;
|
|
69760
69760
|
}, o = () => {
|
|
69761
69761
|
e.saveMenu(() => {
|
|
69762
|
-
|
|
69762
|
+
cs.success("保存成功!"), e.loadAllMenus();
|
|
69763
69763
|
});
|
|
69764
69764
|
};
|
|
69765
69765
|
function a(b) {
|
|
@@ -69769,19 +69769,19 @@ const WLt = {
|
|
|
69769
69769
|
const l = () => {
|
|
69770
69770
|
WY.confirm("确认清空画布吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
69771
69771
|
e.clearMenu(() => {
|
|
69772
|
-
|
|
69772
|
+
cs.success("清空成功!");
|
|
69773
69773
|
});
|
|
69774
69774
|
});
|
|
69775
69775
|
}, c = () => {
|
|
69776
69776
|
if (!t.groupSelectedNodes()) {
|
|
69777
|
-
|
|
69777
|
+
cs.warning("请先框选至少两个节点后再组合");
|
|
69778
69778
|
return;
|
|
69779
69779
|
}
|
|
69780
|
-
|
|
69780
|
+
cs.success("组合完成");
|
|
69781
69781
|
}, h = () => {
|
|
69782
69782
|
WY.confirm("确认删除画布吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
69783
69783
|
e.removeMenu(() => {
|
|
69784
|
-
|
|
69784
|
+
cs.success("删除成功!");
|
|
69785
69785
|
});
|
|
69786
69786
|
});
|
|
69787
69787
|
}, u = Ge(!1), d = () => {
|
|
@@ -69805,7 +69805,7 @@ const WLt = {
|
|
|
69805
69805
|
return T.isNode && T.isNode() && !((E = T.id) != null && E.includes("line"));
|
|
69806
69806
|
});
|
|
69807
69807
|
if (w.length < 2) {
|
|
69808
|
-
|
|
69808
|
+
cs.warning("请先框选至少两个节点");
|
|
69809
69809
|
return;
|
|
69810
69810
|
}
|
|
69811
69811
|
const S = w.reduce(
|
|
@@ -69909,7 +69909,7 @@ const WLt = {
|
|
|
69909
69909
|
dropdown: X(() => [
|
|
69910
69910
|
F(x, null, {
|
|
69911
69911
|
default: X(() => [
|
|
69912
|
-
(ee(), ke(ni, null,
|
|
69912
|
+
(ee(), ke(ni, null, us(20, (T) => (ee(), ke(ni, null, [
|
|
69913
69913
|
T >= 5 && T <= 20 ? (ee(), it(S, {
|
|
69914
69914
|
key: 0,
|
|
69915
69915
|
command: T
|
|
@@ -70097,7 +70097,7 @@ const WLt = {
|
|
|
70097
70097
|
"background-color": "transparent"
|
|
70098
70098
|
}, {
|
|
70099
70099
|
default: X(() => [
|
|
70100
|
-
(ee(!0), ke(ni, null,
|
|
70100
|
+
(ee(!0), ke(ni, null, us(mt(t), (u) => (ee(), it(c, {
|
|
70101
70101
|
key: u.id,
|
|
70102
70102
|
index: u.id,
|
|
70103
70103
|
"popper-offset": 100
|
|
@@ -70112,7 +70112,7 @@ const WLt = {
|
|
|
70112
70112
|
ie("span", null, ro(u.name), 1)
|
|
70113
70113
|
]),
|
|
70114
70114
|
default: X(() => [
|
|
70115
|
-
(ee(!0), ke(ni, null,
|
|
70115
|
+
(ee(!0), ke(ni, null, us(u.children, (d) => (ee(), it(l, {
|
|
70116
70116
|
key: d.id,
|
|
70117
70117
|
index: d.id
|
|
70118
70118
|
}, {
|
|
@@ -71338,13 +71338,13 @@ const V2t = Object.entries(A2t).map(([n, e]) => ({
|
|
|
71338
71338
|
const d = we("el-input"), f = we("el-tooltip"), g = we("el-image"), p = we("el-collapse-item"), m = we("el-collapse");
|
|
71339
71339
|
return ee(), ke("div", W2t, [
|
|
71340
71340
|
ie("div", H2t, [
|
|
71341
|
-
(ee(!0), ke(ni, null,
|
|
71341
|
+
(ee(!0), ke(ni, null, us(s.value, (v, _) => (ee(), ke("div", {
|
|
71342
71342
|
key: v.index,
|
|
71343
|
-
class:
|
|
71343
|
+
class: ks(["group", { active: i.value === _ }]),
|
|
71344
71344
|
onClick: (b) => o(_)
|
|
71345
71345
|
}, [
|
|
71346
71346
|
ie("i", {
|
|
71347
|
-
class:
|
|
71347
|
+
class: ks(v.icon)
|
|
71348
71348
|
}, null, 2),
|
|
71349
71349
|
ie("span", null, ro(v.name), 1)
|
|
71350
71350
|
], 10, z2t))), 128))
|
|
@@ -71383,7 +71383,7 @@ const V2t = Object.entries(A2t).map(([n, e]) => ({
|
|
|
71383
71383
|
style: { border: "none", "background-color": "transparent" }
|
|
71384
71384
|
}, {
|
|
71385
71385
|
default: X(() => [
|
|
71386
|
-
(ee(!0), ke(ni, null,
|
|
71386
|
+
(ee(!0), ke(ni, null, us(s.value[i.value].children, (v, _) => (ee(), it(p, {
|
|
71387
71387
|
key: _,
|
|
71388
71388
|
title: v.name,
|
|
71389
71389
|
name: _
|
|
@@ -71395,7 +71395,7 @@ const V2t = Object.entries(A2t).map(([n, e]) => ({
|
|
|
71395
71395
|
gridTemplateColumns: v.layout ? v.layout : "1fr 1fr 1fr"
|
|
71396
71396
|
})
|
|
71397
71397
|
}, [
|
|
71398
|
-
(ee(!0), ke(ni, null,
|
|
71398
|
+
(ee(!0), ke(ni, null, us(v.list.filter(
|
|
71399
71399
|
(b) => b.name.includes(r.value)
|
|
71400
71400
|
), (b, y) => (ee(), ke("div", {
|
|
71401
71401
|
key: y,
|
|
@@ -71439,7 +71439,13 @@ const V2t = Object.entries(A2t).map(([n, e]) => ({
|
|
|
71439
71439
|
},
|
|
71440
71440
|
{ name: "Redis", icon: "iconfont icon-icon_chart", children: [] }
|
|
71441
71441
|
]), a = Ge(0), l = Ge(""), c = (y) => {
|
|
71442
|
-
a.value
|
|
71442
|
+
if (a.value !== y) {
|
|
71443
|
+
if (r.value) {
|
|
71444
|
+
ElMessage.warning("正在加载数据,请稍后再试");
|
|
71445
|
+
return;
|
|
71446
|
+
}
|
|
71447
|
+
a.value = y, l.value = "", h(), f();
|
|
71448
|
+
}
|
|
71443
71449
|
}, h = async () => {
|
|
71444
71450
|
r.value = !0, a.value === 0 ? s.value = await t.getDeviceList() : a.value === 1 && (s.value = await t.getRedisDeviceList()), r.value = !1;
|
|
71445
71451
|
};
|
|
@@ -71618,13 +71624,13 @@ $.${S}.字体颜色 = colorMap[statusCode] || '#fff';`;
|
|
|
71618
71624
|
const S = we("el-button"), x = we("el-input"), L = we("el-icon"), D = we("el-popover"), T = we("el-tree-v2"), E = X$e("loading");
|
|
71619
71625
|
return ee(), ke("div", J2t, [
|
|
71620
71626
|
ie("div", Q2t, [
|
|
71621
|
-
(ee(!0), ke(ni, null,
|
|
71627
|
+
(ee(!0), ke(ni, null, us(o.value, (I, k) => (ee(), ke("div", {
|
|
71622
71628
|
key: I.index,
|
|
71623
|
-
class:
|
|
71629
|
+
class: ks(["group", { active: a.value === k }]),
|
|
71624
71630
|
onClick: (N) => c(k)
|
|
71625
71631
|
}, [
|
|
71626
71632
|
ie("i", {
|
|
71627
|
-
class:
|
|
71633
|
+
class: ks(I.icon)
|
|
71628
71634
|
}, null, 2),
|
|
71629
71635
|
ie("span", null, ro(I.name), 1)
|
|
71630
71636
|
], 10, eDt))), 128))
|
|
@@ -71697,7 +71703,7 @@ $.${S}.字体颜色 = colorMap[statusCode] || '#fff';`;
|
|
|
71697
71703
|
_: 1
|
|
71698
71704
|
}, 8, ["data"])
|
|
71699
71705
|
], 64)) : (ee(), ke(ni, { key: 1 }, [
|
|
71700
|
-
(ee(!0), ke(ni, null,
|
|
71706
|
+
(ee(!0), ke(ni, null, us(y.httpData, (I, k) => (ee(), ke("div", {
|
|
71701
71707
|
class: "httpPanel",
|
|
71702
71708
|
onClick: (N) => y.handleOpen(I),
|
|
71703
71709
|
key: k
|
|
@@ -71720,26 +71726,26 @@ $.${S}.字体颜色 = colorMap[statusCode] || '#fff';`;
|
|
|
71720
71726
|
]);
|
|
71721
71727
|
};
|
|
71722
71728
|
}
|
|
71723
|
-
}, aDt = /* @__PURE__ */ Vn(oDt, [["__scopeId", "data-v-
|
|
71729
|
+
}, aDt = /* @__PURE__ */ Vn(oDt, [["__scopeId", "data-v-71391502"]]), lDt = { class: "graphics" }, cDt = { class: "menus" }, hDt = {
|
|
71724
71730
|
__name: "index",
|
|
71725
71731
|
setup(n) {
|
|
71726
71732
|
const e = Ge(0);
|
|
71727
71733
|
return (t, i) => (ee(), ke("div", lDt, [
|
|
71728
71734
|
ie("div", cDt, [
|
|
71729
71735
|
ie("div", {
|
|
71730
|
-
class:
|
|
71736
|
+
class: ks(["menu", { active: e.value === 0 }]),
|
|
71731
71737
|
onClick: i[0] || (i[0] = (s) => e.value = 0)
|
|
71732
71738
|
}, "菜单目录", 2),
|
|
71733
71739
|
ie("div", {
|
|
71734
|
-
class:
|
|
71740
|
+
class: ks(["menu", { active: e.value === 1 }]),
|
|
71735
71741
|
onClick: i[1] || (i[1] = (s) => e.value = 1)
|
|
71736
71742
|
}, "系统资源", 2),
|
|
71737
71743
|
ie("div", {
|
|
71738
|
-
class:
|
|
71744
|
+
class: ks(["menu", { active: e.value === 2 }]),
|
|
71739
71745
|
onClick: i[2] || (i[2] = (s) => e.value = 2)
|
|
71740
71746
|
}, "我的资源", 2),
|
|
71741
71747
|
ie("div", {
|
|
71742
|
-
class:
|
|
71748
|
+
class: ks(["menu", { active: e.value === 3 }]),
|
|
71743
71749
|
onClick: i[3] || (i[3] = (s) => e.value = 3)
|
|
71744
71750
|
}, "数据来源", 2)
|
|
71745
71751
|
]),
|
|
@@ -71776,14 +71782,14 @@ $.${S}.字体颜色 = colorMap[statusCode] || '#fff';`;
|
|
|
71776
71782
|
}
|
|
71777
71783
|
const o = async (a) => {
|
|
71778
71784
|
if (!a.type.startsWith("image/"))
|
|
71779
|
-
return
|
|
71785
|
+
return cs.error("只能上传图片文件"), !1;
|
|
71780
71786
|
if (!(a.size / 1024 / 1024 < 2))
|
|
71781
|
-
return
|
|
71787
|
+
return cs.error("图片大小不能超过 2MB"), !1;
|
|
71782
71788
|
try {
|
|
71783
71789
|
const c = await r(a);
|
|
71784
71790
|
t.value.backgroundImage = c;
|
|
71785
71791
|
} catch {
|
|
71786
|
-
return
|
|
71792
|
+
return cs.error("图片读取失败"), !1;
|
|
71787
71793
|
}
|
|
71788
71794
|
return !1;
|
|
71789
71795
|
};
|
|
@@ -72639,7 +72645,7 @@ $.${S}.字体颜色 = colorMap[statusCode] || '#fff';`;
|
|
|
72639
72645
|
style: { width: "90px" }
|
|
72640
72646
|
}, {
|
|
72641
72647
|
default: X(() => [
|
|
72642
|
-
(ee(), ke(ni, null,
|
|
72648
|
+
(ee(), ke(ni, null, us(7, (f) => (ee(), ke(ni, null, [
|
|
72643
72649
|
f > 2 ? (ee(), it(o, {
|
|
72644
72650
|
key: f,
|
|
72645
72651
|
label: f * 100,
|
|
@@ -73303,7 +73309,7 @@ $.${S}.字体颜色 = colorMap[statusCode] || '#fff';`;
|
|
|
73303
73309
|
style: { width: "100px", "margin-right": "8px" }
|
|
73304
73310
|
}, {
|
|
73305
73311
|
default: X(() => [
|
|
73306
|
-
(ee(!0), ke(ni, null,
|
|
73312
|
+
(ee(!0), ke(ni, null, us(a.value, (E, I) => (ee(), it(x, {
|
|
73307
73313
|
key: I,
|
|
73308
73314
|
label: E,
|
|
73309
73315
|
value: I
|
|
@@ -75655,8 +75661,8 @@ function xEt(n) {
|
|
|
75655
75661
|
S[y] = Ui, I[y] = Ui - W;
|
|
75656
75662
|
}
|
|
75657
75663
|
if (a) {
|
|
75658
|
-
var wn, zs = y === "x" ? Mc : Ac, Jn = y === "x" ? Ou : Fu,
|
|
75659
|
-
S[w] = WE, I[w] = WE -
|
|
75664
|
+
var wn, zs = y === "x" ? Mc : Ac, Jn = y === "x" ? Ou : Fu, As = S[w], Hr = w === "y" ? "height" : "width", Rv = As + m[zs], ml = As - m[Jn], op = [Mc, Ac].indexOf(v) !== -1, ap = (wn = E == null ? void 0 : E[w]) != null ? wn : 0, lp = op ? Rv : As - x[Hr] - L[Hr] - ap + T.altAxis, BE = op ? As + x[Hr] + L[Hr] - ap - T.altAxis : ml, WE = f && op ? KTt(lp, As, BE) : mN(f ? lp : Rv, As, f ? BE : ml);
|
|
75665
|
+
S[w] = WE, I[w] = WE - As;
|
|
75660
75666
|
}
|
|
75661
75667
|
e.modifiersData[i] = I;
|
|
75662
75668
|
}
|
|
@@ -77422,7 +77428,7 @@ const gq = (n, e, t) => e < t ? n < e ? e : n > t ? t : n : n < t ? t : n > e ?
|
|
|
77422
77428
|
Fn(
|
|
77423
77429
|
() => n.color,
|
|
77424
77430
|
(u) => {
|
|
77425
|
-
u && (s = u,
|
|
77431
|
+
u && (s = u, ds(r, {
|
|
77426
77432
|
red: u.red,
|
|
77427
77433
|
green: u.green,
|
|
77428
77434
|
blue: u.blue,
|
|
@@ -77473,7 +77479,7 @@ const gq = (n, e, t) => e < t ? n < e ? e : n > t ? t : n : n < t ? t : n > e ?
|
|
|
77473
77479
|
];
|
|
77474
77480
|
function xNt(n, e, t, i, s, r) {
|
|
77475
77481
|
return ee(), ke("div", {
|
|
77476
|
-
class:
|
|
77482
|
+
class: ks(["vc-alpha-slider", "transparent", { "small-slider": n.size === "small" }])
|
|
77477
77483
|
}, [
|
|
77478
77484
|
ie("div", {
|
|
77479
77485
|
ref: "barElement",
|
|
@@ -77482,7 +77488,7 @@ function xNt(n, e, t, i, s, r) {
|
|
|
77482
77488
|
onClick: e[0] || (e[0] = (...o) => n.onClickSider && n.onClickSider(...o))
|
|
77483
77489
|
}, [
|
|
77484
77490
|
ie("div", {
|
|
77485
|
-
class:
|
|
77491
|
+
class: ks(["vc-alpha-slider__bar-pointer", { "small-bar": n.size === "small" }]),
|
|
77486
77492
|
ref: "cursorElement",
|
|
77487
77493
|
style: Bi(n.getCursorStyle)
|
|
77488
77494
|
}, SNt, 6)
|
|
@@ -77573,17 +77579,17 @@ const mhe = /* @__PURE__ */ ju(yNt, [["render", xNt], ["__scopeId", "data-v-1892
|
|
|
77573
77579
|
}), TNt = { class: "vc-compact" }, ENt = ["onClick"];
|
|
77574
77580
|
function INt(n, e, t, i, s, r) {
|
|
77575
77581
|
return ee(), ke("div", TNt, [
|
|
77576
|
-
(ee(!0), ke(ni, null,
|
|
77582
|
+
(ee(!0), ke(ni, null, us(n.palettes, (o, a) => (ee(), ke("div", {
|
|
77577
77583
|
key: a,
|
|
77578
77584
|
class: "vc-compact__row"
|
|
77579
77585
|
}, [
|
|
77580
|
-
(ee(!0), ke(ni, null,
|
|
77586
|
+
(ee(!0), ke(ni, null, us(o, (l, c) => (ee(), ke("div", {
|
|
77581
77587
|
key: c,
|
|
77582
77588
|
class: "vc-compact__color-cube--wrap",
|
|
77583
77589
|
onClick: (h) => n.onColorChange(l)
|
|
77584
77590
|
}, [
|
|
77585
77591
|
ie("div", {
|
|
77586
|
-
class:
|
|
77592
|
+
class: ks([
|
|
77587
77593
|
"vc-compact__color_cube",
|
|
77588
77594
|
{
|
|
77589
77595
|
advance: l === "advance",
|
|
@@ -77646,7 +77652,7 @@ const w8e = /* @__PURE__ */ ju(DNt, [["render", INt], ["__scopeId", "data-v-b969
|
|
|
77646
77652
|
}), Qa(
|
|
77647
77653
|
() => n.color,
|
|
77648
77654
|
(b) => {
|
|
77649
|
-
|
|
77655
|
+
ds(l, {
|
|
77650
77656
|
hueColor: new pr({ h: b.hue, s: 1, v: 1 }).toHexString(),
|
|
77651
77657
|
saturation: b.saturation,
|
|
77652
77658
|
brightness: b.brightness
|
|
@@ -77661,7 +77667,7 @@ const w8e = /* @__PURE__ */ ju(DNt, [["render", INt], ["__scopeId", "data-v-b969
|
|
|
77661
77667
|
function PNt(n, e, t, i, s, r) {
|
|
77662
77668
|
return ee(), ke("div", {
|
|
77663
77669
|
ref: "boardElement",
|
|
77664
|
-
class:
|
|
77670
|
+
class: ks(["vc-saturation", { "vc-saturation__chrome": n.round, "vc-saturation__hidden": n.hide }]),
|
|
77665
77671
|
style: Bi({ backgroundColor: n.state.hueColor }),
|
|
77666
77672
|
onMousedown: e[0] || (e[0] = (...o) => n.onClickBoard && n.onClickBoard(...o)),
|
|
77667
77673
|
onMousemove: e[1] || (e[1] = (...o) => n.onDrag && n.onDrag(...o)),
|
|
@@ -77692,7 +77698,7 @@ const _he = /* @__PURE__ */ ju(kNt, [["render", PNt], ["__scopeId", "data-v-7f0c
|
|
|
77692
77698
|
Fn(
|
|
77693
77699
|
() => n.color,
|
|
77694
77700
|
(h) => {
|
|
77695
|
-
h && (s = h,
|
|
77701
|
+
h && (s = h, ds(r, { hue: s.hue }));
|
|
77696
77702
|
},
|
|
77697
77703
|
{ deep: !0 }
|
|
77698
77704
|
);
|
|
@@ -77733,7 +77739,7 @@ const _he = /* @__PURE__ */ ju(kNt, [["render", PNt], ["__scopeId", "data-v-7f0c
|
|
|
77733
77739
|
];
|
|
77734
77740
|
function WNt(n, e, t, i, s, r) {
|
|
77735
77741
|
return ee(), ke("div", {
|
|
77736
|
-
class:
|
|
77742
|
+
class: ks(["vc-hue-slider", { "small-slider": n.size === "small" }])
|
|
77737
77743
|
}, [
|
|
77738
77744
|
ie("div", {
|
|
77739
77745
|
ref: "barElement",
|
|
@@ -77741,7 +77747,7 @@ function WNt(n, e, t, i, s, r) {
|
|
|
77741
77747
|
onClick: e[0] || (e[0] = (...o) => n.onClickSider && n.onClickSider(...o))
|
|
77742
77748
|
}, [
|
|
77743
77749
|
ie("div", {
|
|
77744
|
-
class:
|
|
77750
|
+
class: ks(["vc-hue-slider__bar-pointer", { "small-bar": n.size === "small" }]),
|
|
77745
77751
|
ref: "cursorElement",
|
|
77746
77752
|
style: Bi(n.getCursorStyle)
|
|
77747
77753
|
}, BNt, 6)
|
|
@@ -77769,7 +77775,7 @@ const bhe = /* @__PURE__ */ ju(ONt, [["render", WNt], ["__scopeId", "data-v-e1a0
|
|
|
77769
77775
|
if (g) {
|
|
77770
77776
|
s = g;
|
|
77771
77777
|
const [p, m, v] = s.HSL;
|
|
77772
|
-
|
|
77778
|
+
ds(l, {
|
|
77773
77779
|
hue: p,
|
|
77774
77780
|
saturation: m,
|
|
77775
77781
|
lightness: v
|
|
@@ -77841,7 +77847,7 @@ const bhe = /* @__PURE__ */ ju(ONt, [["render", WNt], ["__scopeId", "data-v-e1a0
|
|
|
77841
77847
|
];
|
|
77842
77848
|
function GNt(n, e, t, i, s, r) {
|
|
77843
77849
|
return ee(), ke("div", {
|
|
77844
|
-
class:
|
|
77850
|
+
class: ks(["vc-lightness-slider", { "small-slider": n.size === "small" }])
|
|
77845
77851
|
}, [
|
|
77846
77852
|
ie("div", {
|
|
77847
77853
|
ref: "barElement",
|
|
@@ -77850,7 +77856,7 @@ function GNt(n, e, t, i, s, r) {
|
|
|
77850
77856
|
onClick: e[0] || (e[0] = (...o) => n.onClickSider && n.onClickSider(...o))
|
|
77851
77857
|
}, [
|
|
77852
77858
|
ie("div", {
|
|
77853
|
-
class:
|
|
77859
|
+
class: ks(["vc-lightness-slider__bar-pointer", { "small-bar": n.size === "small" }]),
|
|
77854
77860
|
ref: "cursorElement",
|
|
77855
77861
|
style: Bi(n.getCursorStyle)
|
|
77856
77862
|
}, UNt, 6)
|
|
@@ -77876,9 +77882,9 @@ const C8e = /* @__PURE__ */ ju(HNt, [["render", GNt], ["__scopeId", "data-v-94a5
|
|
|
77876
77882
|
function XNt(n, e, t, i, s, r) {
|
|
77877
77883
|
return n.colors && n.colors.length > 0 ? (ee(), ke("div", qNt, [
|
|
77878
77884
|
ie("div", KNt, [
|
|
77879
|
-
(ee(!0), ke(ni, null,
|
|
77885
|
+
(ee(!0), ke(ni, null, us(n.colors, (o, a) => (ee(), ke("div", {
|
|
77880
77886
|
key: a,
|
|
77881
|
-
class:
|
|
77887
|
+
class: ks(["color-item", "transparent", { "color-item__round": n.round }]),
|
|
77882
77888
|
onClick: (l) => n.onColorSelect(o)
|
|
77883
77889
|
}, [
|
|
77884
77890
|
ie("div", {
|
|
@@ -78012,7 +78018,7 @@ function aMt(n, e, t, i, s, r) {
|
|
|
78012
78018
|
Fi("% ")
|
|
78013
78019
|
]))
|
|
78014
78020
|
])) : n.state.rgba ? (ee(), ke("div", rMt, [
|
|
78015
|
-
(ee(!0), ke(ni, null,
|
|
78021
|
+
(ee(!0), ke(ni, null, us(n.state.rgba, (o, a) => (ee(), ke("div", {
|
|
78016
78022
|
class: "vc-color-input",
|
|
78017
78023
|
key: a
|
|
78018
78024
|
}, [
|
|
@@ -78531,8 +78537,8 @@ function jMt(n, e, t, i, s, r) {
|
|
|
78531
78537
|
]),
|
|
78532
78538
|
ie("div", IMt, [
|
|
78533
78539
|
ie("div", kMt, [
|
|
78534
|
-
(ee(), ke(ni, null,
|
|
78535
|
-
class:
|
|
78540
|
+
(ee(), ke(ni, null, us(["linear", "radial"], (m) => ie("div", {
|
|
78541
|
+
class: ks(["vc-gradient__type", { active: n.state.type === m }]),
|
|
78536
78542
|
key: m,
|
|
78537
78543
|
onClick: e[1] || (e[1] = (...v) => n.onTypeChange && n.onTypeChange(...v))
|
|
78538
78544
|
}, ro(n.lang ? n.lang[m] : m), 3)), 64))
|
|
@@ -78569,7 +78575,7 @@ function jMt(n, e, t, i, s, r) {
|
|
|
78569
78575
|
}, null, 4),
|
|
78570
78576
|
ie("div", BMt, [
|
|
78571
78577
|
ie("div", {
|
|
78572
|
-
class:
|
|
78578
|
+
class: ks(["vc-gradient__stop", {
|
|
78573
78579
|
"vc-gradient__stop--current": n.state.startActive
|
|
78574
78580
|
}]),
|
|
78575
78581
|
ref: "startGradientRef",
|
|
@@ -78577,7 +78583,7 @@ function jMt(n, e, t, i, s, r) {
|
|
|
78577
78583
|
style: Bi({ left: n.getStartColorLeft + "px", backgroundColor: n.state.startColorRgba })
|
|
78578
78584
|
}, zMt, 14, WMt),
|
|
78579
78585
|
ie("div", {
|
|
78580
|
-
class:
|
|
78586
|
+
class: ks(["vc-gradient__stop", {
|
|
78581
78587
|
"vc-gradient__stop--current": !n.state.startActive
|
|
78582
78588
|
}]),
|
|
78583
78589
|
ref: "stopGradientRef",
|
|
@@ -78653,13 +78659,13 @@ const pSe = /* @__PURE__ */ ju(DMt, [["render", jMt], ["__scopeId", "data-v-c4d6
|
|
|
78653
78659
|
function QMt(n, e, t, i, s, r) {
|
|
78654
78660
|
var o, a;
|
|
78655
78661
|
return ee(), ke("div", {
|
|
78656
|
-
class:
|
|
78662
|
+
class: ks(["vc-colorpicker", n.theme])
|
|
78657
78663
|
}, [
|
|
78658
78664
|
ie("div", KMt, [
|
|
78659
78665
|
n.showTab ? (ee(), ke("div", YMt, [
|
|
78660
78666
|
ie("div", XMt, [
|
|
78661
78667
|
ie("div", {
|
|
78662
|
-
class:
|
|
78668
|
+
class: ks([
|
|
78663
78669
|
"vc-colorpicker--tabs__btn",
|
|
78664
78670
|
{
|
|
78665
78671
|
"vc-btn-active": n.state.activeKey === "pure"
|
|
@@ -78672,7 +78678,7 @@ function QMt(n, e, t, i, s, r) {
|
|
|
78672
78678
|
])
|
|
78673
78679
|
], 2),
|
|
78674
78680
|
ie("div", {
|
|
78675
|
-
class:
|
|
78681
|
+
class: ks([
|
|
78676
78682
|
"vc-colorpicker--tabs__btn",
|
|
78677
78683
|
{
|
|
78678
78684
|
"vc-btn-active": n.state.activeKey === "gradient"
|
|
@@ -78987,7 +78993,7 @@ function lAt(n, e, t, i, s, r) {
|
|
|
78987
78993
|
}, 8, ["active-key", "show-tab", "style", "theme", "onChange"])) : nt("", !0),
|
|
78988
78994
|
n.isWidget ? nt("", !0) : (ee(), ke(ni, { key: 1 }, [
|
|
78989
78995
|
ie("div", {
|
|
78990
|
-
class:
|
|
78996
|
+
class: ks(["vc-color-wrap transparent", { round: n.shape === "circle" }]),
|
|
78991
78997
|
ref: "colorCubeRef"
|
|
78992
78998
|
}, [
|
|
78993
78999
|
ie("div", {
|
|
@@ -79876,7 +79882,7 @@ const cAt = /* @__PURE__ */ ju(rAt, [["render", lAt], ["__scopeId", "data-v-354c
|
|
|
79876
79882
|
size: "small"
|
|
79877
79883
|
}, {
|
|
79878
79884
|
default: X(() => [
|
|
79879
|
-
(ee(!0), ke(ni, null,
|
|
79885
|
+
(ee(!0), ke(ni, null, us(i.value.series, (A) => (ee(), it(E, {
|
|
79880
79886
|
key: A.tabTitle,
|
|
79881
79887
|
label: A.tabTitle,
|
|
79882
79888
|
name: A.tabTitle
|
|
@@ -80222,7 +80228,7 @@ function $7(n) {
|
|
|
80222
80228
|
function ht(n) {
|
|
80223
80229
|
$c(n) || Lhe.onUnexpectedError(n);
|
|
80224
80230
|
}
|
|
80225
|
-
function
|
|
80231
|
+
function Ss(n) {
|
|
80226
80232
|
$c(n) || Lhe.onUnexpectedExternalError(n);
|
|
80227
80233
|
}
|
|
80228
80234
|
function LJ(n) {
|
|
@@ -80738,7 +80744,7 @@ var Jp;
|
|
|
80738
80744
|
}
|
|
80739
80745
|
n.toElectronAccelerator = o;
|
|
80740
80746
|
})(Jp || (Jp = {}));
|
|
80741
|
-
function
|
|
80747
|
+
function xs(n, e) {
|
|
80742
80748
|
const t = (e & 65535) << 16 >>> 0;
|
|
80743
80749
|
return (n | t) >>> 0;
|
|
80744
80750
|
}
|
|
@@ -83570,7 +83576,7 @@ const Pl = {
|
|
|
83570
83576
|
};
|
|
83571
83577
|
}
|
|
83572
83578
|
return () => Y7();
|
|
83573
|
-
})(),
|
|
83579
|
+
})(), Es = {
|
|
83574
83580
|
// path.resolve([from ...], to)
|
|
83575
83581
|
resolve(...n) {
|
|
83576
83582
|
let e = "", t = !1;
|
|
@@ -83601,10 +83607,10 @@ const Pl = {
|
|
|
83601
83607
|
const i = n[t];
|
|
83602
83608
|
fr(i, "path"), i.length > 0 && e.push(i);
|
|
83603
83609
|
}
|
|
83604
|
-
return e.length === 0 ? "." :
|
|
83610
|
+
return e.length === 0 ? "." : Es.normalize(e.join("/"));
|
|
83605
83611
|
},
|
|
83606
83612
|
relative(n, e) {
|
|
83607
|
-
if (fr(n, "from"), fr(e, "to"), n === e || (n =
|
|
83613
|
+
if (fr(n, "from"), fr(e, "to"), n === e || (n = Es.resolve(n), e = Es.resolve(e), n === e))
|
|
83608
83614
|
return "";
|
|
83609
83615
|
const t = 1, i = n.length, s = i - t, r = 1, o = e.length - r, a = s < o ? s : o;
|
|
83610
83616
|
let l = -1, c = 0;
|
|
@@ -83724,9 +83730,9 @@ const Pl = {
|
|
|
83724
83730
|
win32: null,
|
|
83725
83731
|
posix: null
|
|
83726
83732
|
};
|
|
83727
|
-
|
|
83728
|
-
|
|
83729
|
-
const J8e = b1 ? Pl.normalize :
|
|
83733
|
+
Es.win32 = Pl.win32 = Pl;
|
|
83734
|
+
Es.posix = Pl.posix = Es;
|
|
83735
|
+
const J8e = b1 ? Pl.normalize : Es.normalize, VRt = b1 ? Pl.resolve : Es.resolve, BRt = b1 ? Pl.relative : Es.relative, I6 = b1 ? Pl.dirname : Es.dirname, Nm = b1 ? Pl.basename : Es.basename, WRt = b1 ? Pl.extname : Es.extname, Bd = b1 ? Pl.sep : Es.sep, HRt = /^\w[\w\d+.-]*$/, zRt = /^\//, $Rt = /^\/\//;
|
|
83730
83736
|
function URt(n, e) {
|
|
83731
83737
|
if (!n.scheme && e)
|
|
83732
83738
|
throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${n.authority}", path: "${n.path}", query: "${n.query}", fragment: "${n.fragment}"}`);
|
|
@@ -83753,7 +83759,7 @@ function jRt(n, e) {
|
|
|
83753
83759
|
}
|
|
83754
83760
|
return e;
|
|
83755
83761
|
}
|
|
83756
|
-
const
|
|
83762
|
+
const _s = "", bd = "/", qRt = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;
|
|
83757
83763
|
class je {
|
|
83758
83764
|
static isUri(e) {
|
|
83759
83765
|
return e instanceof je ? !0 : !e || typeof e != "object" ? !1 : typeof e.authority == "string" && typeof e.fragment == "string" && typeof e.path == "string" && typeof e.query == "string" && typeof e.scheme == "string" && typeof e.fsPath == "string" && typeof e.with == "function" && typeof e.toString == "function";
|
|
@@ -83762,7 +83768,7 @@ class je {
|
|
|
83762
83768
|
* @internal
|
|
83763
83769
|
*/
|
|
83764
83770
|
constructor(e, t, i, s, r, o = !1) {
|
|
83765
|
-
typeof e == "object" ? (this.scheme = e.scheme ||
|
|
83771
|
+
typeof e == "object" ? (this.scheme = e.scheme || _s, this.authority = e.authority || _s, this.path = e.path || _s, this.query = e.query || _s, this.fragment = e.fragment || _s) : (this.scheme = GRt(e, o), this.authority = t || _s, this.path = jRt(this.scheme, i || _s), this.query = s || _s, this.fragment = r || _s, URt(this, o));
|
|
83766
83772
|
}
|
|
83767
83773
|
// ---- filesystem path -----------------------
|
|
83768
83774
|
/**
|
|
@@ -83797,7 +83803,7 @@ class je {
|
|
|
83797
83803
|
if (!e)
|
|
83798
83804
|
return this;
|
|
83799
83805
|
let { scheme: t, authority: i, path: s, query: r, fragment: o } = e;
|
|
83800
|
-
return t === void 0 ? t = this.scheme : t === null && (t =
|
|
83806
|
+
return t === void 0 ? t = this.scheme : t === null && (t = _s), i === void 0 ? i = this.authority : i === null && (i = _s), s === void 0 ? s = this.path : s === null && (s = _s), r === void 0 ? r = this.query : r === null && (r = _s), o === void 0 ? o = this.fragment : o === null && (o = _s), t === this.scheme && i === this.authority && s === this.path && r === this.query && o === this.fragment ? this : new Px(t, i, s, r, o);
|
|
83801
83807
|
}
|
|
83802
83808
|
// ---- parse & validate ------------------------
|
|
83803
83809
|
/**
|
|
@@ -83808,7 +83814,7 @@ class je {
|
|
|
83808
83814
|
*/
|
|
83809
83815
|
static parse(e, t = !1) {
|
|
83810
83816
|
const i = qRt.exec(e);
|
|
83811
|
-
return i ? new Px(i[2] ||
|
|
83817
|
+
return i ? new Px(i[2] || _s, k4(i[4] || _s), k4(i[5] || _s), k4(i[7] || _s), k4(i[9] || _s), t) : new Px(_s, _s, _s, _s, _s);
|
|
83812
83818
|
}
|
|
83813
83819
|
/**
|
|
83814
83820
|
* Creates a new URI from a file system path, e.g. `c:\my\files`,
|
|
@@ -83832,12 +83838,12 @@ class je {
|
|
|
83832
83838
|
* @param path A file system path (see `URI#fsPath`)
|
|
83833
83839
|
*/
|
|
83834
83840
|
static file(e) {
|
|
83835
|
-
let t =
|
|
83841
|
+
let t = _s;
|
|
83836
83842
|
if (Fr && (e = e.replace(/\\/g, bd)), e[0] === bd && e[1] === bd) {
|
|
83837
83843
|
const i = e.indexOf(bd, 2);
|
|
83838
83844
|
i === -1 ? (t = e.substring(2), e = bd) : (t = e.substring(2, i), e = e.substring(i) || bd);
|
|
83839
83845
|
}
|
|
83840
|
-
return new Px("file", t, e,
|
|
83846
|
+
return new Px("file", t, e, _s, _s);
|
|
83841
83847
|
}
|
|
83842
83848
|
/**
|
|
83843
83849
|
* Creates new URI from uri components.
|
|
@@ -83860,7 +83866,7 @@ class je {
|
|
|
83860
83866
|
if (!e.path)
|
|
83861
83867
|
throw new Error("[UriError]: cannot call joinPath on URI without path");
|
|
83862
83868
|
let i;
|
|
83863
|
-
return Fr && e.scheme === "file" ? i = je.file(Pl.join(J7(e, !0), ...t)).path : i =
|
|
83869
|
+
return Fr && e.scheme === "file" ? i = je.file(Pl.join(J7(e, !0), ...t)).path : i = Es.join(e.path, ...t), e.with({ path: i });
|
|
83864
83870
|
}
|
|
83865
83871
|
// ---- printing/externalize ---------------------------
|
|
83866
83872
|
/**
|
|
@@ -84012,7 +84018,7 @@ class XRt {
|
|
|
84012
84018
|
this._preferredWebSchema = e;
|
|
84013
84019
|
}
|
|
84014
84020
|
get _remoteResourcesPath() {
|
|
84015
|
-
return
|
|
84021
|
+
return Es.join(this._serverRootPath, tt.vscodeRemoteResource);
|
|
84016
84022
|
}
|
|
84017
84023
|
rewrite(e) {
|
|
84018
84024
|
if (this._delegate)
|
|
@@ -86008,7 +86014,7 @@ function OPt(n) {
|
|
|
86008
86014
|
return n(new Wi(e));
|
|
86009
86015
|
};
|
|
86010
86016
|
}
|
|
86011
|
-
const
|
|
86017
|
+
const fs = function(e, t, i, s) {
|
|
86012
86018
|
let r = i;
|
|
86013
86019
|
return t === "click" || t === "mousedown" || t === "contextmenu" ? r = v7e(ze(e), i) : (t === "keydown" || t === "keypress" || t === "keyup") && (r = OPt(i)), Z(e, t, r, s);
|
|
86014
86020
|
}, FPt = function(e, t, i) {
|
|
@@ -89469,10 +89475,10 @@ const oy = class oy {
|
|
|
89469
89475
|
}
|
|
89470
89476
|
};
|
|
89471
89477
|
oy.defaultToKey = (e) => e.toString();
|
|
89472
|
-
let
|
|
89478
|
+
let ps = oy;
|
|
89473
89479
|
class LOt {
|
|
89474
89480
|
constructor(e, t) {
|
|
89475
|
-
this[QSe] = "ResourceSet", !e || typeof e == "function" ? this._map = new
|
|
89481
|
+
this[QSe] = "ResourceSet", !e || typeof e == "function" ? this._map = new ps(e) : (this._map = new ps(t), e.forEach(this.add, this));
|
|
89476
89482
|
}
|
|
89477
89483
|
get size() {
|
|
89478
89484
|
return this._map.size;
|
|
@@ -89868,12 +89874,12 @@ function jv(n) {
|
|
|
89868
89874
|
return n === 47 || n === 92;
|
|
89869
89875
|
}
|
|
89870
89876
|
function A7e(n) {
|
|
89871
|
-
return n.replace(/[\\/]/g,
|
|
89877
|
+
return n.replace(/[\\/]/g, Es.sep);
|
|
89872
89878
|
}
|
|
89873
89879
|
function IOt(n) {
|
|
89874
89880
|
return n.indexOf("/") === -1 && (n = A7e(n)), /^[a-zA-Z]:(\/|$)/.test(n) && (n = "/" + n), n;
|
|
89875
89881
|
}
|
|
89876
|
-
function txe(n, e =
|
|
89882
|
+
function txe(n, e = Es.sep) {
|
|
89877
89883
|
if (!n)
|
|
89878
89884
|
return "";
|
|
89879
89885
|
const t = n.length, i = n.charCodeAt(0);
|
|
@@ -89957,16 +89963,16 @@ class NOt {
|
|
|
89957
89963
|
return kh(e) || e.authority;
|
|
89958
89964
|
}
|
|
89959
89965
|
basename(e) {
|
|
89960
|
-
return
|
|
89966
|
+
return Es.basename(e.path);
|
|
89961
89967
|
}
|
|
89962
89968
|
extname(e) {
|
|
89963
|
-
return
|
|
89969
|
+
return Es.extname(e.path);
|
|
89964
89970
|
}
|
|
89965
89971
|
dirname(e) {
|
|
89966
89972
|
if (e.path.length === 0)
|
|
89967
89973
|
return e;
|
|
89968
89974
|
let t;
|
|
89969
|
-
return e.scheme === tt.file ? t = je.file(I6(kf(e))).path : (t =
|
|
89975
|
+
return e.scheme === tt.file ? t = je.file(I6(kf(e))).path : (t = Es.dirname(e.path), e.authority && t.length && t.charCodeAt(0) !== 47 && (console.error(`dirname("${e.toString})) resulted in a relative path`), t = "/")), e.with({
|
|
89970
89976
|
path: t
|
|
89971
89977
|
});
|
|
89972
89978
|
}
|
|
@@ -89974,7 +89980,7 @@ class NOt {
|
|
|
89974
89980
|
if (!e.path.length)
|
|
89975
89981
|
return e;
|
|
89976
89982
|
let t;
|
|
89977
|
-
return e.scheme === tt.file ? t = je.file(J8e(kf(e))).path : t =
|
|
89983
|
+
return e.scheme === tt.file ? t = je.file(J8e(kf(e))).path : t = Es.normalize(e.path), e.with({
|
|
89978
89984
|
path: t
|
|
89979
89985
|
});
|
|
89980
89986
|
}
|
|
@@ -89993,7 +89999,7 @@ class NOt {
|
|
|
89993
89999
|
;
|
|
89994
90000
|
i = s.substr(0, r) + i.substr(r);
|
|
89995
90001
|
}
|
|
89996
|
-
return
|
|
90002
|
+
return Es.relative(i, s);
|
|
89997
90003
|
}
|
|
89998
90004
|
resolvePath(e, t) {
|
|
89999
90005
|
if (e.scheme === tt.file) {
|
|
@@ -90004,7 +90010,7 @@ class NOt {
|
|
|
90004
90010
|
});
|
|
90005
90011
|
}
|
|
90006
90012
|
return t = IOt(t), e.with({
|
|
90007
|
-
path:
|
|
90013
|
+
path: Es.resolve(e.path, t)
|
|
90008
90014
|
});
|
|
90009
90015
|
}
|
|
90010
90016
|
// --- misc
|
|
@@ -90147,7 +90153,7 @@ class FOt extends B7e {
|
|
|
90147
90153
|
}
|
|
90148
90154
|
class VOt extends q {
|
|
90149
90155
|
constructor(e, t, i) {
|
|
90150
|
-
if (super(), this.logLevel = e, this.logsHome = t, this._loggers = new
|
|
90156
|
+
if (super(), this.logLevel = e, this.logsHome = t, this._loggers = new ps(), this._onDidChangeLoggers = this._register(new j()), this._onDidChangeVisibility = this._register(new j()), i)
|
|
90151
90157
|
for (const s of i)
|
|
90152
90158
|
this._loggers.set(s.resource, { logger: void 0, info: s });
|
|
90153
90159
|
}
|
|
@@ -93058,10 +93064,10 @@ var h9;
|
|
|
93058
93064
|
}
|
|
93059
93065
|
n.parse = t;
|
|
93060
93066
|
})(h9 || (h9 = {}));
|
|
93061
|
-
var
|
|
93067
|
+
var Is;
|
|
93062
93068
|
(function(n) {
|
|
93063
93069
|
n[n.None = 0] = "None", n[n.Indent = 1] = "Indent", n[n.IndentOutdent = 2] = "IndentOutdent", n[n.Outdent = 3] = "Outdent";
|
|
93064
|
-
})(
|
|
93070
|
+
})(Is || (Is = {}));
|
|
93065
93071
|
class Aq {
|
|
93066
93072
|
constructor(e) {
|
|
93067
93073
|
if (this._neutralCharacter = null, this._neutralCharacterSearched = !1, this.open = e.open, this.close = e.close, this._inString = !0, this._inComment = !0, this._inRegEx = !0, Array.isArray(e.notIn))
|
|
@@ -93551,12 +93557,12 @@ class NL {
|
|
|
93551
93557
|
for (let r = 0, o = this._brackets.length; r < o; r++) {
|
|
93552
93558
|
const a = this._brackets[r];
|
|
93553
93559
|
if (a.openRegExp.test(i) && a.closeRegExp.test(s))
|
|
93554
|
-
return { indentAction:
|
|
93560
|
+
return { indentAction: Is.IndentOutdent };
|
|
93555
93561
|
}
|
|
93556
93562
|
if (e >= 2 && i.length > 0) {
|
|
93557
93563
|
for (let r = 0, o = this._brackets.length; r < o; r++)
|
|
93558
93564
|
if (this._brackets[r].openRegExp.test(i))
|
|
93559
|
-
return { indentAction:
|
|
93565
|
+
return { indentAction: Is.Indent };
|
|
93560
93566
|
}
|
|
93561
93567
|
return null;
|
|
93562
93568
|
}
|
|
@@ -94968,7 +94974,7 @@ function k2(n, e, t, i) {
|
|
|
94968
94974
|
const d = u.indentAction;
|
|
94969
94975
|
let f = u.appendText;
|
|
94970
94976
|
const g = u.removeText || 0;
|
|
94971
|
-
f ? d ===
|
|
94977
|
+
f ? d === Is.Indent && (f = " " + f) : d === Is.Indent || d === Is.IndentOutdent ? f = " " : f = "";
|
|
94972
94978
|
let p = s9e(e, t.startLineNumber, t.startColumn);
|
|
94973
94979
|
return g && (p = p.substring(0, p.length - g)), {
|
|
94974
94980
|
indentAction: d,
|
|
@@ -95162,7 +95168,7 @@ function XA(n, e, t, i = !0, s) {
|
|
|
95162
95168
|
const l = e.getLineContent(a);
|
|
95163
95169
|
return {
|
|
95164
95170
|
indentation: ji(l),
|
|
95165
|
-
action:
|
|
95171
|
+
action: Is.Indent,
|
|
95166
95172
|
line: a
|
|
95167
95173
|
};
|
|
95168
95174
|
} else if (o.shouldDecrease(a)) {
|
|
@@ -95203,7 +95209,7 @@ function XA(n, e, t, i = !0, s) {
|
|
|
95203
95209
|
if (o.shouldIncrease(h))
|
|
95204
95210
|
return {
|
|
95205
95211
|
indentation: ji(e.getLineContent(h)),
|
|
95206
|
-
action:
|
|
95212
|
+
action: Is.Indent,
|
|
95207
95213
|
line: h
|
|
95208
95214
|
};
|
|
95209
95215
|
if (o.shouldIndentNextLine(h)) {
|
|
@@ -95255,11 +95261,11 @@ function xN(n, e, t, i, s, r) {
|
|
|
95255
95261
|
const d = o.onEnter(n, "", e.getLineContent(h), "");
|
|
95256
95262
|
if (d) {
|
|
95257
95263
|
let f = ji(e.getLineContent(h));
|
|
95258
|
-
return d.removeText && (f = f.substring(0, f.length - d.removeText)), d.indentAction ===
|
|
95264
|
+
return d.removeText && (f = f.substring(0, f.length - d.removeText)), d.indentAction === Is.Indent || d.indentAction === Is.IndentOutdent ? f = s.shiftIndent(f) : d.indentAction === Is.Outdent && (f = s.unshiftIndent(f)), l.shouldDecrease(i) && (f = s.unshiftIndent(f)), d.appendText && (f += d.appendText), ji(f);
|
|
95259
95265
|
}
|
|
95260
95266
|
}
|
|
95261
95267
|
}
|
|
95262
|
-
return l.shouldDecrease(i) ? c.action ===
|
|
95268
|
+
return l.shouldDecrease(i) ? c.action === Is.Indent ? c.indentation : s.unshiftIndent(c.indentation) : c.action === Is.Indent ? s.shiftIndent(c.indentation) : c.indentation;
|
|
95263
95269
|
}
|
|
95264
95270
|
return null;
|
|
95265
95271
|
}
|
|
@@ -95279,7 +95285,7 @@ function Y3t(n, e, t, i, s) {
|
|
|
95279
95285
|
};
|
|
95280
95286
|
}
|
|
95281
95287
|
let v = f ? p : m.indentation;
|
|
95282
|
-
return m.action ===
|
|
95288
|
+
return m.action === Is.Indent && (v = i.shiftIndent(v)), o.shouldDecrease(c.getLineContent()) && (v = i.unshiftIndent(v)), {
|
|
95283
95289
|
beforeEnter: f ? p : u,
|
|
95284
95290
|
afterEnter: v
|
|
95285
95291
|
};
|
|
@@ -95297,7 +95303,7 @@ function X3t(n, e, t, i, s, r) {
|
|
|
95297
95303
|
if (!v)
|
|
95298
95304
|
return null;
|
|
95299
95305
|
let _ = v.indentation;
|
|
95300
|
-
return v.action !==
|
|
95306
|
+
return v.action !== Is.Indent && (_ = s.unshiftIndent(_)), _;
|
|
95301
95307
|
}
|
|
95302
95308
|
const m = t.startLineNumber - 1;
|
|
95303
95309
|
if (m > 0) {
|
|
@@ -95661,18 +95667,18 @@ class $z {
|
|
|
95661
95667
|
}
|
|
95662
95668
|
const r = k2(e.autoIndent, t, s, e.languageConfigurationService);
|
|
95663
95669
|
if (r) {
|
|
95664
|
-
if (r.indentAction ===
|
|
95670
|
+
if (r.indentAction === Is.None)
|
|
95665
95671
|
return Db(s, `
|
|
95666
95672
|
` + e.normalizeIndentation(r.indentation + r.appendText), i);
|
|
95667
|
-
if (r.indentAction ===
|
|
95673
|
+
if (r.indentAction === Is.Indent)
|
|
95668
95674
|
return Db(s, `
|
|
95669
95675
|
` + e.normalizeIndentation(r.indentation + r.appendText), i);
|
|
95670
|
-
if (r.indentAction ===
|
|
95676
|
+
if (r.indentAction === Is.IndentOutdent) {
|
|
95671
95677
|
const l = e.normalizeIndentation(r.indentation), c = e.normalizeIndentation(r.indentation + r.appendText), h = `
|
|
95672
95678
|
` + c + `
|
|
95673
95679
|
` + l;
|
|
95674
95680
|
return i ? new A6(s, h, !0) : new a9(s, h, -1, c.length - l.length, !0);
|
|
95675
|
-
} else if (r.indentAction ===
|
|
95681
|
+
} else if (r.indentAction === Is.Outdent) {
|
|
95676
95682
|
const l = g9(e, r.indentation);
|
|
95677
95683
|
return Db(s, `
|
|
95678
95684
|
` + e.normalizeIndentation(l + r.appendText), i);
|
|
@@ -95868,7 +95874,7 @@ class a4t {
|
|
|
95868
95874
|
const l = t.getLineMaxColumn(a), c = k2(e.autoIndent, t, new P(a, l, a, l), e.languageConfigurationService);
|
|
95869
95875
|
c && (r = c.indentation + c.appendText);
|
|
95870
95876
|
}
|
|
95871
|
-
return s && (s ===
|
|
95877
|
+
return s && (s === Is.Indent && (r = mue(e, r)), s === Is.Outdent && (r = g9(e, r)), r = e.normalizeIndentation(r)), r || null;
|
|
95872
95878
|
}
|
|
95873
95879
|
static _replaceJumpToNextIndent(e, t, i, s) {
|
|
95874
95880
|
let r = "";
|
|
@@ -102406,9 +102412,9 @@ const V5t = B("progressBar.background", { dark: re.fromHex("#0E70C0"), light: re
|
|
|
102406
102412
|
B("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, C(2007, "Line color for the chart."));
|
|
102407
102413
|
B("chart.axis", { dark: re.fromHex("#BFBFBF").transparent(0.4), light: re.fromHex("#000000").transparent(0.6), hcDark: Gt, hcLight: Gt }, C(2008, "Axis color for the chart."));
|
|
102408
102414
|
B("chart.guide", { dark: re.fromHex("#BFBFBF").transparent(0.2), light: re.fromHex("#000000").transparent(0.2), hcDark: Gt, hcLight: Gt }, C(2009, "Guide line for the chart."));
|
|
102409
|
-
const
|
|
102410
|
-
B("editorStickyScroll.background",
|
|
102411
|
-
B("editorStickyScrollGutter.background",
|
|
102415
|
+
const gs = B("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: re.black, hcLight: re.white }, C(1798, "Editor background color.")), Qg = B("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: re.white, hcLight: Pt }, C(1799, "Editor default foreground color."));
|
|
102416
|
+
B("editorStickyScroll.background", gs, C(1800, "Background color of sticky scroll in the editor"));
|
|
102417
|
+
B("editorStickyScrollGutter.background", gs, C(1801, "Background color of the gutter part of sticky scroll in the editor"));
|
|
102412
102418
|
B("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: re.fromHex("#0F4A85").transparent(0.1) }, C(1802, "Background color of sticky scroll on hover in the editor"));
|
|
102413
102419
|
B("editorStickyScroll.border", { dark: null, light: null, hcDark: Gt, hcLight: Gt }, C(1803, "Border color of sticky scroll in the editor"));
|
|
102414
102420
|
B("editorStickyScroll.shadow", qz, C(1804, " Shadow color of sticky scroll in the editor"));
|
|
@@ -102419,7 +102425,7 @@ const Yz = B("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDa
|
|
|
102419
102425
|
B("editorInfo.background", null, C(1815, "Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
102420
102426
|
const Hg = B("editorInfo.foreground", { dark: "#3794FF", light: "#1a85ff", hcDark: "#3794FF", hcLight: "#1a85ff" }, C(1816, "Foreground color of info squigglies in the editor.")), tR = B("editorInfo.border", { dark: null, light: null, hcDark: re.fromHex("#3794FF").transparent(0.8), hcLight: "#292929" }, C(1817, "If set, color of double underlines for infos in the editor.")), H5t = B("editorHint.foreground", { dark: re.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, C(1818, "Foreground color of hint squigglies in the editor."));
|
|
102421
102427
|
B("editorHint.border", { dark: null, light: null, hcDark: re.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, C(1819, "If set, color of double underlines for hints in the editor."));
|
|
102422
|
-
const z5t = B("editorLink.activeForeground", { dark: "#4E94CE", light: re.blue, hcDark: re.cyan, hcLight: "#292929" }, C(1820, "Color of active links.")), B_ = B("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, C(1821, "Color of the editor selection.")), $5t = B("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: re.white }, C(1822, "Color of the selected text for high contrast.")), L9e = B("editor.inactiveSelectionBackground", { light: ft(B_, 0.5), dark: ft(B_, 0.5), hcDark: ft(B_, 0.7), hcLight: ft(B_, 0.5) }, C(1823, "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), wue = B("editor.selectionHighlightBackground", { light: Sxe(B_,
|
|
102428
|
+
const z5t = B("editorLink.activeForeground", { dark: "#4E94CE", light: re.blue, hcDark: re.cyan, hcLight: "#292929" }, C(1820, "Color of active links.")), B_ = B("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, C(1821, "Color of the editor selection.")), $5t = B("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: re.white }, C(1822, "Color of the selected text for high contrast.")), L9e = B("editor.inactiveSelectionBackground", { light: ft(B_, 0.5), dark: ft(B_, 0.5), hcDark: ft(B_, 0.7), hcLight: ft(B_, 0.5) }, C(1823, "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), wue = B("editor.selectionHighlightBackground", { light: Sxe(B_, gs, 0.3, 0.6), dark: Sxe(B_, gs, 0.3, 0.6), hcDark: null, hcLight: null }, C(1824, "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
102423
102429
|
B("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: yn, hcLight: yn }, C(1825, "Border color for regions with the same content as the selection."));
|
|
102424
102430
|
B("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, C(1826, "The border color for an IME composition."));
|
|
102425
102431
|
B("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, C(1827, "Color of the current search match."));
|
|
@@ -102452,7 +102458,7 @@ B("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829",
|
|
|
102452
102458
|
const xE = B("widget.shadow", { dark: ft(re.black, 0.36), light: ft(re.black, 0.16), hcDark: null, hcLight: null }, C(1868, "Shadow color of widgets such as find/replace inside the editor.")), Lue = B("widget.border", { dark: null, light: null, hcDark: Gt, hcLight: Gt }, C(1869, "Border color of widgets such as find/replace inside the editor.")), Dxe = B("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, C(1870, "Toolbar background when hovering over actions using the mouse"));
|
|
102453
102459
|
B("toolbar.hoverOutline", { dark: null, light: null, hcDark: yn, hcLight: yn }, C(1871, "Toolbar outline when hovering over actions using the mouse"));
|
|
102454
102460
|
B("toolbar.activeBackground", { dark: Hd(Dxe, 0.1), light: il(Dxe, 0.1), hcDark: null, hcLight: null }, C(1872, "Toolbar background when holding the mouse over actions"));
|
|
102455
|
-
const e6t = B("breadcrumb.foreground", ft(Pt, 0.8), C(1873, "Color of focused breadcrumb items.")), t6t = B("breadcrumb.background",
|
|
102461
|
+
const e6t = B("breadcrumb.foreground", ft(Pt, 0.8), C(1873, "Color of focused breadcrumb items.")), t6t = B("breadcrumb.background", gs, C(1874, "Background color of breadcrumb items.")), Txe = B("breadcrumb.focusForeground", { light: il(Pt, 0.2), dark: Hd(Pt, 0.1), hcDark: Hd(Pt, 0.1), hcLight: Hd(Pt, 0.1) }, C(1875, "Color of focused breadcrumb items.")), i6t = B("breadcrumb.activeSelectionForeground", { light: il(Pt, 0.2), dark: Hd(Pt, 0.1), hcDark: Hd(Pt, 0.1), hcLight: Hd(Pt, 0.1) }, C(1876, "Color of selected breadcrumb items."));
|
|
102456
102462
|
B("breadcrumbPicker.background", kc, C(1877, "Background color of breadcrumb item picker."));
|
|
102457
102463
|
const D9e = 0.5, Exe = re.fromHex("#40C8AE").transparent(D9e), Ixe = re.fromHex("#40A6FF").transparent(D9e), kxe = re.fromHex("#606060").transparent(0.4), Due = 0.4, eT = 1, yQ = B("merge.currentHeaderBackground", { dark: Exe, light: Exe, hcDark: null, hcLight: null }, C(1878, "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
102458
102464
|
B("merge.currentContentBackground", ft(yQ, Due), C(1879, "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
@@ -102605,7 +102611,7 @@ class b8t extends q {
|
|
|
102605
102611
|
super(), this._editorViewDomNode = e, this._globalPointerMoveMonitor = this._register(new SE()), this._keydownListener = null;
|
|
102606
102612
|
}
|
|
102607
102613
|
startMonitoring(e, t, i, s, r) {
|
|
102608
|
-
this._keydownListener =
|
|
102614
|
+
this._keydownListener = fs(e.ownerDocument, "keydown", (o) => {
|
|
102609
102615
|
o.toKeyCodeChord().isModifierKey() || this._globalPointerMoveMonitor.stopMonitoring(!0, o.browserEvent);
|
|
102610
102616
|
}, !0), this._globalPointerMoveMonitor.startMonitoring(e, t, i, (o) => {
|
|
102611
102617
|
s(new ov(o, !0, this._editorViewDomNode));
|
|
@@ -104625,7 +104631,7 @@ let rc = class extends q {
|
|
|
104625
104631
|
const sT = 11;
|
|
104626
104632
|
class j8t extends rc {
|
|
104627
104633
|
constructor(e) {
|
|
104628
|
-
super(), this._onActivate = e.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e.bgWidth + "px", this.bgDomNode.style.height = e.bgHeight + "px", typeof e.top < "u" && (this.bgDomNode.style.top = "0px"), typeof e.left < "u" && (this.bgDomNode.style.left = "0px"), typeof e.bottom < "u" && (this.bgDomNode.style.bottom = "0px"), typeof e.right < "u" && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e.className, this.domNode.classList.add(...Xe.asClassNameArray(e.icon)), this.domNode.style.position = "absolute", this.domNode.style.width = sT + "px", this.domNode.style.height = sT + "px", typeof e.top < "u" && (this.domNode.style.top = e.top + "px"), typeof e.left < "u" && (this.domNode.style.left = e.left + "px"), typeof e.bottom < "u" && (this.domNode.style.bottom = e.bottom + "px"), typeof e.right < "u" && (this.domNode.style.right = e.right + "px"), this._pointerMoveMonitor = this._register(new SE()), this._register(
|
|
104634
|
+
super(), this._onActivate = e.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e.bgWidth + "px", this.bgDomNode.style.height = e.bgHeight + "px", typeof e.top < "u" && (this.bgDomNode.style.top = "0px"), typeof e.left < "u" && (this.bgDomNode.style.left = "0px"), typeof e.bottom < "u" && (this.bgDomNode.style.bottom = "0px"), typeof e.right < "u" && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e.className, this.domNode.classList.add(...Xe.asClassNameArray(e.icon)), this.domNode.style.position = "absolute", this.domNode.style.width = sT + "px", this.domNode.style.height = sT + "px", typeof e.top < "u" && (this.domNode.style.top = e.top + "px"), typeof e.left < "u" && (this.domNode.style.left = e.left + "px"), typeof e.bottom < "u" && (this.domNode.style.bottom = e.bottom + "px"), typeof e.right < "u" && (this.domNode.style.right = e.right + "px"), this._pointerMoveMonitor = this._register(new SE()), this._register(fs(this.bgDomNode, _e.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._register(fs(this.domNode, _e.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._pointerdownRepeatTimer = this._register(new Qhe()), this._pointerdownScheduleRepeatTimer = this._register(new Yl());
|
|
104629
104635
|
}
|
|
104630
104636
|
_arrowPointerDown(e) {
|
|
104631
104637
|
if (!e.target || !(e.target instanceof Element))
|
|
@@ -107561,7 +107567,7 @@ B("editorCodeLens.foreground", { dark: "#999999", light: "#919191", hcDark: "#99
|
|
|
107561
107567
|
B("editorBracketMatch.background", { dark: "#0064001a", light: "#0064001a", hcDark: "#0064001a", hcLight: "#0000" }, C(646, "Background color behind matching brackets"));
|
|
107562
107568
|
B("editorBracketMatch.border", { dark: "#888", light: "#B9B9B9", hcDark: Gt, hcLight: Gt }, C(647, "Color for matching brackets boxes"));
|
|
107563
107569
|
const z7t = B("editorOverviewRuler.border", { dark: "#7f7f7f4d", light: "#7f7f7f4d", hcDark: "#7f7f7f4d", hcLight: "#666666" }, C(648, "Color of the overview ruler border.")), $7t = B("editorOverviewRuler.background", null, C(649, "Background color of the editor overview ruler."));
|
|
107564
|
-
B("editorGutter.background",
|
|
107570
|
+
B("editorGutter.background", gs, C(650, "Background color of the editor gutter. The gutter contains the glyph margins and the line numbers."));
|
|
107565
107571
|
B("editorUnnecessaryCode.border", { dark: null, light: null, hcDark: re.fromHex("#fff").transparent(0.8), hcLight: Gt }, C(651, "Border color of unnecessary (unused) source code in the editor."));
|
|
107566
107572
|
const U7t = B("editorUnnecessaryCode.opacity", { dark: re.fromHex("#000a"), light: re.fromHex("#0007"), hcDark: null, hcLight: null }, C(652, `Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`));
|
|
107567
107573
|
B("editorGhostText.border", { dark: null, light: null, hcDark: re.fromHex("#fff").transparent(0.8), hcLight: re.fromHex("#292929").transparent(0.8) }, C(653, "Border color of ghost text in the editor."));
|
|
@@ -107571,7 +107577,7 @@ const j7t = new re(new ae(0, 122, 204, 0.6)), sFe = B("editorOverviewRuler.range
|
|
|
107571
107577
|
B("editorUnicodeHighlight.border", rv, C(679, "Border color used to highlight unicode characters."));
|
|
107572
107578
|
B("editorUnicodeHighlight.background", W5t, C(680, "Background color used to highlight unicode characters."));
|
|
107573
107579
|
Fh((n, e) => {
|
|
107574
|
-
const t = n.getColor(
|
|
107580
|
+
const t = n.getColor(gs), i = n.getColor(tFe), s = i && !i.isTransparent() ? i : t;
|
|
107575
107581
|
s && e.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${s}; }`);
|
|
107576
107582
|
});
|
|
107577
107583
|
class uFe extends C1 {
|
|
@@ -110830,11 +110836,11 @@ class OL extends q {
|
|
|
110830
110836
|
this._domNode,
|
|
110831
110837
|
9
|
|
110832
110838
|
/* PartFingerprint.Minimap */
|
|
110833
|
-
), this._domNode.setClassName(this._getMinimapDomNodeClassName()), this._domNode.setPosition("absolute"), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._shadow = pi(document.createElement("div")), this._shadow.setClassName("minimap-shadow-hidden"), this._domNode.appendChild(this._shadow), this._canvas = pi(document.createElement("canvas")), this._canvas.setPosition("absolute"), this._canvas.setLeft(0), this._domNode.appendChild(this._canvas), this._decorationsCanvas = pi(document.createElement("canvas")), this._decorationsCanvas.setPosition("absolute"), this._decorationsCanvas.setClassName("minimap-decorations-layer"), this._decorationsCanvas.setLeft(0), this._domNode.appendChild(this._decorationsCanvas), this._slider = pi(document.createElement("div")), this._slider.setPosition("absolute"), this._slider.setClassName("minimap-slider"), this._slider.setLayerHinting(!0), this._slider.setContain("strict"), this._domNode.appendChild(this._slider), this._sliderHorizontal = pi(document.createElement("div")), this._sliderHorizontal.setPosition("absolute"), this._sliderHorizontal.setClassName("minimap-slider-horizontal"), this._slider.appendChild(this._sliderHorizontal), this._applyLayout(), this._hideDelayedScheduler = this._register(new Ai(() => this._hideImmediatelyIfMouseIsOutside(), 500)), this._register(
|
|
110839
|
+
), this._domNode.setClassName(this._getMinimapDomNodeClassName()), this._domNode.setPosition("absolute"), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._shadow = pi(document.createElement("div")), this._shadow.setClassName("minimap-shadow-hidden"), this._domNode.appendChild(this._shadow), this._canvas = pi(document.createElement("canvas")), this._canvas.setPosition("absolute"), this._canvas.setLeft(0), this._domNode.appendChild(this._canvas), this._decorationsCanvas = pi(document.createElement("canvas")), this._decorationsCanvas.setPosition("absolute"), this._decorationsCanvas.setClassName("minimap-decorations-layer"), this._decorationsCanvas.setLeft(0), this._domNode.appendChild(this._decorationsCanvas), this._slider = pi(document.createElement("div")), this._slider.setPosition("absolute"), this._slider.setClassName("minimap-slider"), this._slider.setLayerHinting(!0), this._slider.setContain("strict"), this._domNode.appendChild(this._slider), this._sliderHorizontal = pi(document.createElement("div")), this._sliderHorizontal.setPosition("absolute"), this._sliderHorizontal.setClassName("minimap-slider-horizontal"), this._slider.appendChild(this._sliderHorizontal), this._applyLayout(), this._hideDelayedScheduler = this._register(new Ai(() => this._hideImmediatelyIfMouseIsOutside(), 500)), this._register(fs(this._domNode.domNode, _e.MOUSE_OVER, () => {
|
|
110834
110840
|
this._isMouseOverMinimap = !0;
|
|
110835
|
-
})), this._register(
|
|
110841
|
+
})), this._register(fs(this._domNode.domNode, _e.MOUSE_LEAVE, () => {
|
|
110836
110842
|
this._isMouseOverMinimap = !1;
|
|
110837
|
-
})), this._pointerDownListener =
|
|
110843
|
+
})), this._pointerDownListener = fs(this._domNode.domNode, _e.POINTER_DOWN, (i) => {
|
|
110838
110844
|
i.preventDefault();
|
|
110839
110845
|
const s = i.pointerType === "mouse", r = i.button === 0;
|
|
110840
110846
|
if (this._model.options.renderMinimap !== 0 && this._lastRenderData) {
|
|
@@ -110851,13 +110857,13 @@ class OL extends q {
|
|
|
110851
110857
|
h = Math.min(h, this._model.getLineCount()), this._model.revealLineNumber(h);
|
|
110852
110858
|
}
|
|
110853
110859
|
}
|
|
110854
|
-
}), this._sliderPointerMoveMonitor = new SE(), this._sliderPointerDownListener =
|
|
110860
|
+
}), this._sliderPointerMoveMonitor = new SE(), this._sliderPointerDownListener = fs(this._slider.domNode, _e.POINTER_DOWN, (i) => {
|
|
110855
110861
|
i.preventDefault(), i.stopPropagation(), i.button === 0 && this._lastRenderData && this._startSliderDragging(i, i.pageY, this._lastRenderData.renderedLayout);
|
|
110856
110862
|
}), this._gestureDisposable = Ao.addTarget(this._domNode.domNode), this._sliderTouchStartListener = Z(this._domNode.domNode, tn.Start, (i) => {
|
|
110857
110863
|
i.preventDefault(), i.stopPropagation(), this._lastRenderData && (this._slider.toggleClassName("active", !0), this._gestureInProgress = !0, this.scrollDueToTouchEvent(i));
|
|
110858
110864
|
}, { passive: !1 }), this._sliderTouchMoveListener = Z(this._domNode.domNode, tn.Change, (i) => {
|
|
110859
110865
|
i.preventDefault(), i.stopPropagation(), this._lastRenderData && this._gestureInProgress && this.scrollDueToTouchEvent(i);
|
|
110860
|
-
}, { passive: !1 }), this._sliderTouchEndListener =
|
|
110866
|
+
}, { passive: !1 }), this._sliderTouchEndListener = fs(this._domNode.domNode, tn.End, (i) => {
|
|
110861
110867
|
i.preventDefault(), i.stopPropagation(), this._gestureInProgress = !1, this._slider.toggleClassName("active", !1);
|
|
110862
110868
|
});
|
|
110863
110869
|
}
|
|
@@ -116401,7 +116407,7 @@ class $_ extends $ue {
|
|
|
116401
116407
|
}
|
|
116402
116408
|
class Ol {
|
|
116403
116409
|
static fromStringEdit(e, t) {
|
|
116404
|
-
const i = e.replacements.map((s) =>
|
|
116410
|
+
const i = e.replacements.map((s) => ys.fromStringReplacement(s, t));
|
|
116405
116411
|
return new Ol(i);
|
|
116406
116412
|
}
|
|
116407
116413
|
static fromParallelReplacementsUnsorted(e) {
|
|
@@ -116475,7 +116481,7 @@ class Ol {
|
|
|
116475
116481
|
s += c;
|
|
116476
116482
|
}
|
|
116477
116483
|
}
|
|
116478
|
-
return new
|
|
116484
|
+
return new ys(P.fromPositions(t, i), s);
|
|
116479
116485
|
}
|
|
116480
116486
|
toString(e) {
|
|
116481
116487
|
return e === void 0 ? this.replacements.map((t) => t.toString()).join(`
|
|
@@ -116501,7 +116507,7 @@ class Ol {
|
|
|
116501
116507
|
`);
|
|
116502
116508
|
}
|
|
116503
116509
|
}
|
|
116504
|
-
class
|
|
116510
|
+
class ys {
|
|
116505
116511
|
static joinReplacements(e, t) {
|
|
116506
116512
|
if (e.length === 0)
|
|
116507
116513
|
throw new Ke();
|
|
@@ -116516,13 +116522,13 @@ class bs {
|
|
|
116516
116522
|
r += h;
|
|
116517
116523
|
}
|
|
116518
116524
|
}
|
|
116519
|
-
return new
|
|
116525
|
+
return new ys(P.fromPositions(i, s), r);
|
|
116520
116526
|
}
|
|
116521
116527
|
static fromStringReplacement(e, t) {
|
|
116522
|
-
return new
|
|
116528
|
+
return new ys(t.getTransformer().getRange(e.replaceRange), e.newText);
|
|
116523
116529
|
}
|
|
116524
116530
|
static delete(e) {
|
|
116525
|
-
return new
|
|
116531
|
+
return new ys(e, "");
|
|
116526
116532
|
}
|
|
116527
116533
|
constructor(e, t) {
|
|
116528
116534
|
this.range = e, this.text = t;
|
|
@@ -116534,7 +116540,7 @@ class bs {
|
|
|
116534
116540
|
return e.range.equalsRange(t.range) && e.text === t.text;
|
|
116535
116541
|
}
|
|
116536
116542
|
equals(e) {
|
|
116537
|
-
return
|
|
116543
|
+
return ys.equals(this, e);
|
|
116538
116544
|
}
|
|
116539
116545
|
removeCommonPrefixAndSuffix(e) {
|
|
116540
116546
|
return this.removeCommonPrefix(e).removeCommonSuffix(e);
|
|
@@ -116545,7 +116551,7 @@ class bs {
|
|
|
116545
116551
|
`), i = this.text.replaceAll(`\r
|
|
116546
116552
|
`, `
|
|
116547
116553
|
`), 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());
|
|
116548
|
-
return new
|
|
116554
|
+
return new ys(a, o);
|
|
116549
116555
|
}
|
|
116550
116556
|
removeCommonSuffix(e) {
|
|
116551
116557
|
const t = e.getValueOfRange(this.range).replaceAll(`\r
|
|
@@ -116553,7 +116559,7 @@ class bs {
|
|
|
116553
116559
|
`), i = this.text.replaceAll(`\r
|
|
116554
116560
|
`, `
|
|
116555
116561
|
`), 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);
|
|
116556
|
-
return new
|
|
116562
|
+
return new ys(a, o);
|
|
116557
116563
|
}
|
|
116558
116564
|
toString() {
|
|
116559
116565
|
const e = this.range.getStartPosition(), t = this.range.getEndPosition();
|
|
@@ -116570,7 +116576,7 @@ function W4(n, e) {
|
|
|
116570
116576
|
ZFt({
|
|
116571
116577
|
StringEdit: cv,
|
|
116572
116578
|
StringReplacement: Rr,
|
|
116573
|
-
TextReplacement:
|
|
116579
|
+
TextReplacement: ys,
|
|
116574
116580
|
TextEdit: Ol,
|
|
116575
116581
|
TextLength: Xs
|
|
116576
116582
|
});
|
|
@@ -118202,14 +118208,14 @@ class bVt extends _Vt {
|
|
|
118202
118208
|
}
|
|
118203
118209
|
}
|
|
118204
118210
|
function yVt(n, e, t, i) {
|
|
118205
|
-
return n !== t ?
|
|
118211
|
+
return n !== t ? bs(t - n, i) : bs(0, i - e);
|
|
118206
118212
|
}
|
|
118207
118213
|
const Da = 0;
|
|
118208
118214
|
function z9(n) {
|
|
118209
118215
|
return n === 0;
|
|
118210
118216
|
}
|
|
118211
118217
|
const Nc = 2 ** 26;
|
|
118212
|
-
function
|
|
118218
|
+
function bs(n, e) {
|
|
118213
118219
|
return n * Nc + e;
|
|
118214
118220
|
}
|
|
118215
118221
|
function Sh(n) {
|
|
@@ -118236,9 +118242,9 @@ function vR(n, e) {
|
|
|
118236
118242
|
const r = Math.floor(t / Nc), o = Math.floor(i / Nc), a = i - o * Nc;
|
|
118237
118243
|
if (r === o) {
|
|
118238
118244
|
const l = t - r * Nc;
|
|
118239
|
-
return
|
|
118245
|
+
return bs(0, a - l);
|
|
118240
118246
|
} else
|
|
118241
|
-
return
|
|
118247
|
+
return bs(o - r, a);
|
|
118242
118248
|
}
|
|
118243
118249
|
function V2(n, e) {
|
|
118244
118250
|
return n < e;
|
|
@@ -118250,7 +118256,7 @@ function kk(n, e) {
|
|
|
118250
118256
|
return n >= e;
|
|
118251
118257
|
}
|
|
118252
118258
|
function FL(n) {
|
|
118253
|
-
return
|
|
118259
|
+
return bs(n.lineNumber - 1, n.column - 1);
|
|
118254
118260
|
}
|
|
118255
118261
|
function hw(n, e) {
|
|
118256
118262
|
const t = n, i = Math.floor(t / Nc), s = t - i * Nc, r = e, o = Math.floor(r / Nc), a = r - o * Nc;
|
|
@@ -118258,7 +118264,7 @@ function hw(n, e) {
|
|
|
118258
118264
|
}
|
|
118259
118265
|
function SVt(n) {
|
|
118260
118266
|
const e = Zl(n);
|
|
118261
|
-
return
|
|
118267
|
+
return bs(e.length - 1, e[e.length - 1].length);
|
|
118262
118268
|
}
|
|
118263
118269
|
class dm {
|
|
118264
118270
|
static fromModelContentChanges(e) {
|
|
@@ -118297,11 +118303,11 @@ class xVt {
|
|
|
118297
118303
|
return i === null ? null : vR(e, i);
|
|
118298
118304
|
}
|
|
118299
118305
|
translateOldToCur(e) {
|
|
118300
|
-
return e.lineCount === this.deltaLineIdxInOld ?
|
|
118306
|
+
return e.lineCount === this.deltaLineIdxInOld ? bs(e.lineCount + this.deltaOldToNewLineCount, e.columnCount + this.deltaOldToNewColumnCount) : bs(e.lineCount + this.deltaOldToNewLineCount, e.columnCount);
|
|
118301
118307
|
}
|
|
118302
118308
|
translateCurToOld(e) {
|
|
118303
118309
|
const t = Sh(e);
|
|
118304
|
-
return t.lineCount - this.deltaOldToNewLineCount === this.deltaLineIdxInOld ?
|
|
118310
|
+
return t.lineCount - this.deltaOldToNewLineCount === this.deltaLineIdxInOld ? bs(t.lineCount - this.deltaOldToNewLineCount, t.columnCount - this.deltaOldToNewColumnCount) : bs(t.lineCount - this.deltaOldToNewLineCount, t.columnCount);
|
|
118305
118311
|
}
|
|
118306
118312
|
adjustNextEdit(e) {
|
|
118307
118313
|
for (; this.nextEditIdx < this.edits.length; ) {
|
|
@@ -118750,7 +118756,7 @@ class PFe {
|
|
|
118750
118756
|
return this._offset;
|
|
118751
118757
|
}
|
|
118752
118758
|
get length() {
|
|
118753
|
-
return
|
|
118759
|
+
return bs(this.textBufferLineCount - 1, this.textBufferLastLineLength);
|
|
118754
118760
|
}
|
|
118755
118761
|
skip(e) {
|
|
118756
118762
|
this.didPeek = !1, this._offset = qn(this._offset, e);
|
|
@@ -118823,10 +118829,10 @@ class kVt {
|
|
|
118823
118829
|
let o, a = 0, l = 0, c = 0, h = 0;
|
|
118824
118830
|
const u = [];
|
|
118825
118831
|
for (let g = 0; g < 60; g++)
|
|
118826
|
-
u.push(new w_(
|
|
118832
|
+
u.push(new w_(bs(0, g), 0, -1, Nl.getEmpty(), new jb(bs(0, g))));
|
|
118827
118833
|
const d = [];
|
|
118828
118834
|
for (let g = 0; g < 60; g++)
|
|
118829
|
-
d.push(new w_(
|
|
118835
|
+
d.push(new w_(bs(1, g), 0, -1, Nl.getEmpty(), new jb(bs(1, g))));
|
|
118830
118836
|
if (s)
|
|
118831
118837
|
for (s.lastIndex = 0; (o = s.exec(e)) !== null; ) {
|
|
118832
118838
|
const g = o.index, p = o[0];
|
|
@@ -118841,7 +118847,7 @@ class kVt {
|
|
|
118841
118847
|
if (v < u.length)
|
|
118842
118848
|
m = u[v];
|
|
118843
118849
|
else {
|
|
118844
|
-
const _ =
|
|
118850
|
+
const _ = bs(0, v);
|
|
118845
118851
|
m = new w_(_, 0, -1, Nl.getEmpty(), new jb(_));
|
|
118846
118852
|
}
|
|
118847
118853
|
} else {
|
|
@@ -118849,7 +118855,7 @@ class kVt {
|
|
|
118849
118855
|
if (v === 1 && _ < d.length)
|
|
118850
118856
|
m = d[_];
|
|
118851
118857
|
else {
|
|
118852
|
-
const b =
|
|
118858
|
+
const b = bs(v, _);
|
|
118853
118859
|
m = new w_(b, 0, -1, Nl.getEmpty(), new jb(b));
|
|
118854
118860
|
}
|
|
118855
118861
|
}
|
|
@@ -118860,10 +118866,10 @@ class kVt {
|
|
|
118860
118866
|
}
|
|
118861
118867
|
const f = e.length;
|
|
118862
118868
|
if (c !== f) {
|
|
118863
|
-
const g = h === a ?
|
|
118869
|
+
const g = h === a ? bs(0, f - c) : bs(a - h, f - l);
|
|
118864
118870
|
r.push(new w_(g, 0, -1, Nl.getEmpty(), new jb(g)));
|
|
118865
118871
|
}
|
|
118866
|
-
this.length =
|
|
118872
|
+
this.length = bs(a, f - l), this.tokens = r;
|
|
118867
118873
|
}
|
|
118868
118874
|
get offset() {
|
|
118869
118875
|
return this._offset;
|
|
@@ -118885,11 +118891,11 @@ class Yue {
|
|
|
118885
118891
|
}
|
|
118886
118892
|
const s = /* @__PURE__ */ new Map();
|
|
118887
118893
|
for (const r of e.bracketsNew.openingBrackets) {
|
|
118888
|
-
const o =
|
|
118894
|
+
const o = bs(0, r.bracketText.length), a = i(r), l = Nl.getEmpty().add(a, cLe);
|
|
118889
118895
|
s.set(r.bracketText, new w_(o, 1, a, l, U9.create(o, r, l)));
|
|
118890
118896
|
}
|
|
118891
118897
|
for (const r of e.bracketsNew.closingBrackets) {
|
|
118892
|
-
const o =
|
|
118898
|
+
const o = bs(0, r.bracketText.length);
|
|
118893
118899
|
let a = Nl.getEmpty();
|
|
118894
118900
|
const l = r.getOpeningBrackets();
|
|
118895
118901
|
for (const c of l)
|
|
@@ -119239,7 +119245,7 @@ class FVt extends q {
|
|
|
119239
119245
|
}
|
|
119240
119246
|
}
|
|
119241
119247
|
handleDidChangeTokens({ ranges: e }) {
|
|
119242
|
-
const t = e.map((i) => new dm(
|
|
119248
|
+
const t = e.map((i) => new dm(bs(i.fromLineNumber - 1, 0), bs(i.toLineNumber, 0), bs(i.toLineNumber - i.fromLineNumber + 1, 0)));
|
|
119243
119249
|
this.handleEdits(t, !0), this.initialAstWithoutTokens || this.didChangeEmitter.fire();
|
|
119244
119250
|
}
|
|
119245
119251
|
handleContentChanged(e) {
|
|
@@ -119263,7 +119269,7 @@ class FVt extends q {
|
|
|
119263
119269
|
}
|
|
119264
119270
|
getBracketsInRange(e, t) {
|
|
119265
119271
|
this.flushQueue();
|
|
119266
|
-
const i =
|
|
119272
|
+
const i = bs(e.startLineNumber - 1, e.startColumn - 1), s = bs(e.endLineNumber - 1, e.endColumn - 1);
|
|
119267
119273
|
return new iw((r) => {
|
|
119268
119274
|
const o = this.initialAstWithoutTokens || this.astWithTokens;
|
|
119269
119275
|
eee(o, Da, o.length, i, s, r, 0, 0, /* @__PURE__ */ new Map(), t);
|
|
@@ -132972,7 +132978,7 @@ function sh(n, e) {
|
|
|
132972
132978
|
return n;
|
|
132973
132979
|
}
|
|
132974
132980
|
const rzt = /(^|[^\[])\^/g;
|
|
132975
|
-
function
|
|
132981
|
+
function vs(n, e) {
|
|
132976
132982
|
let t = typeof n == "string" ? n : n.source;
|
|
132977
132983
|
e = e || "";
|
|
132978
132984
|
const i = {
|
|
@@ -133073,10 +133079,10 @@ function azt(n, e) {
|
|
|
133073
133079
|
class Z9 {
|
|
133074
133080
|
// set by the lexer
|
|
133075
133081
|
constructor(e) {
|
|
133076
|
-
|
|
133077
|
-
|
|
133082
|
+
Ls(this, "options");
|
|
133083
|
+
Ls(this, "rules");
|
|
133078
133084
|
// set by the lexer
|
|
133079
|
-
|
|
133085
|
+
Ls(this, "lexer");
|
|
133080
133086
|
this.options = e || BS;
|
|
133081
133087
|
}
|
|
133082
133088
|
space(e) {
|
|
@@ -133546,7 +133552,7 @@ ${u}` : u;
|
|
|
133546
133552
|
}
|
|
133547
133553
|
}
|
|
133548
133554
|
}
|
|
133549
|
-
const lzt = /^(?: *(?:\n|$))+/, czt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hzt = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, MO = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, uzt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, DVe = /(?:[*+-]|\d{1,9}[.)])/, TVe =
|
|
133555
|
+
const lzt = /^(?: *(?:\n|$))+/, czt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hzt = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, MO = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, uzt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, DVe = /(?:[*+-]|\d{1,9}[.)])/, TVe = vs(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, DVe).replace(/blockCode/g, / {4}/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), _de = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, dzt = /^[^\n]+/, bde = /(?!\s*\])(?:\\.|[^\[\]\\])+/, fzt = vs(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", bde).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), gzt = vs(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, DVe).getRegex(), g$ = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", yde = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, pzt = vs("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", yde).replace("tag", g$).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), EVe = vs(_de).replace("hr", MO).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", g$).getRegex(), mzt = vs(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", EVe).getRegex(), wde = {
|
|
133550
133556
|
blockquote: mzt,
|
|
133551
133557
|
code: czt,
|
|
133552
133558
|
def: fzt,
|
|
@@ -133560,21 +133566,21 @@ const lzt = /^(?: *(?:\n|$))+/, czt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hz
|
|
|
133560
133566
|
paragraph: EVe,
|
|
133561
133567
|
table: HN,
|
|
133562
133568
|
text: dzt
|
|
133563
|
-
}, h2e =
|
|
133569
|
+
}, h2e = vs("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", MO).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", g$).getRegex(), vzt = {
|
|
133564
133570
|
...wde,
|
|
133565
133571
|
table: h2e,
|
|
133566
|
-
paragraph:
|
|
133572
|
+
paragraph: vs(_de).replace("hr", MO).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", h2e).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", g$).getRegex()
|
|
133567
133573
|
}, _zt = {
|
|
133568
133574
|
...wde,
|
|
133569
|
-
html:
|
|
133575
|
+
html: vs(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", yde).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
133570
133576
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
133571
133577
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
|
133572
133578
|
fences: HN,
|
|
133573
133579
|
// fences not supported
|
|
133574
133580
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
133575
|
-
paragraph:
|
|
133581
|
+
paragraph: vs(_de).replace("hr", MO).replace("heading", ` *#{1,6} *[^
|
|
133576
133582
|
]`).replace("lheading", TVe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
133577
|
-
}, IVe = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, bzt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, kVe = /^( {2,}|\\)\n(?!\s*$)/, yzt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, AO = "\\p{P}\\p{S}", wzt =
|
|
133583
|
+
}, IVe = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, bzt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, kVe = /^( {2,}|\\)\n(?!\s*$)/, yzt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, AO = "\\p{P}\\p{S}", wzt = vs(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, AO).getRegex(), Czt = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, Szt = vs(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, AO).getRegex(), xzt = vs("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, AO).getRegex(), Lzt = vs("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, AO).getRegex(), Dzt = vs(/\\([punct])/, "gu").replace(/punct/g, AO).getRegex(), Tzt = vs(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Ezt = vs(yde).replace("(?:-->|$)", "-->").getRegex(), Izt = vs("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Ezt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), J9 = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, kzt = vs(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", J9).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), NVe = vs(/^!?\[(label)\]\[(ref)\]/).replace("label", J9).replace("ref", bde).getRegex(), MVe = vs(/^!?\[(ref)\](?:\[\])?/).replace("ref", bde).getRegex(), Nzt = vs("reflink|nolink(?!\\()", "g").replace("reflink", NVe).replace("nolink", MVe).getRegex(), Cde = {
|
|
133578
133584
|
_backpedal: HN,
|
|
133579
133585
|
// only used for GFM url
|
|
133580
133586
|
anyPunctuation: Dzt,
|
|
@@ -133597,19 +133603,19 @@ const lzt = /^(?: *(?:\n|$))+/, czt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hz
|
|
|
133597
133603
|
url: HN
|
|
133598
133604
|
}, Mzt = {
|
|
133599
133605
|
...Cde,
|
|
133600
|
-
link:
|
|
133601
|
-
reflink:
|
|
133606
|
+
link: vs(/^!?\[(label)\]\((.*?)\)/).replace("label", J9).getRegex(),
|
|
133607
|
+
reflink: vs(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", J9).getRegex()
|
|
133602
133608
|
}, Cee = {
|
|
133603
133609
|
...Cde,
|
|
133604
|
-
escape:
|
|
133605
|
-
url:
|
|
133610
|
+
escape: vs(IVe).replace("])", "~|])").getRegex(),
|
|
133611
|
+
url: vs(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
|
133606
133612
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
133607
133613
|
del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
|
|
133608
133614
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
133609
133615
|
}, Azt = {
|
|
133610
133616
|
...Cee,
|
|
133611
|
-
br:
|
|
133612
|
-
text:
|
|
133617
|
+
br: vs(kVe).replace("{2,}", "*").getRegex(),
|
|
133618
|
+
text: vs(Cee.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
133613
133619
|
}, n5 = {
|
|
133614
133620
|
normal: wde,
|
|
133615
133621
|
gfm: vzt,
|
|
@@ -133622,11 +133628,11 @@ const lzt = /^(?: *(?:\n|$))+/, czt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hz
|
|
|
133622
133628
|
};
|
|
133623
133629
|
class _g {
|
|
133624
133630
|
constructor(e) {
|
|
133625
|
-
|
|
133626
|
-
|
|
133627
|
-
|
|
133628
|
-
|
|
133629
|
-
|
|
133631
|
+
Ls(this, "tokens");
|
|
133632
|
+
Ls(this, "options");
|
|
133633
|
+
Ls(this, "state");
|
|
133634
|
+
Ls(this, "tokenizer");
|
|
133635
|
+
Ls(this, "inlineQueue");
|
|
133630
133636
|
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || BS, this.options.tokenizer = this.options.tokenizer || new Z9(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
133631
133637
|
inLink: !1,
|
|
133632
133638
|
inRawBlock: !1,
|
|
@@ -133846,8 +133852,8 @@ class _g {
|
|
|
133846
133852
|
class xR {
|
|
133847
133853
|
// set by the parser
|
|
133848
133854
|
constructor(e) {
|
|
133849
|
-
|
|
133850
|
-
|
|
133855
|
+
Ls(this, "options");
|
|
133856
|
+
Ls(this, "parser");
|
|
133851
133857
|
this.options = e || BS;
|
|
133852
133858
|
}
|
|
133853
133859
|
space(e) {
|
|
@@ -134008,9 +134014,9 @@ class Sde {
|
|
|
134008
134014
|
}
|
|
134009
134015
|
class bg {
|
|
134010
134016
|
constructor(e) {
|
|
134011
|
-
|
|
134012
|
-
|
|
134013
|
-
|
|
134017
|
+
Ls(this, "options");
|
|
134018
|
+
Ls(this, "renderer");
|
|
134019
|
+
Ls(this, "textRenderer");
|
|
134014
134020
|
this.options = e || BS, this.options.renderer = this.options.renderer || new xR(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Sde();
|
|
134015
134021
|
}
|
|
134016
134022
|
/**
|
|
@@ -134170,7 +134176,7 @@ class bg {
|
|
|
134170
134176
|
}
|
|
134171
134177
|
class zN {
|
|
134172
134178
|
constructor(e) {
|
|
134173
|
-
|
|
134179
|
+
Ls(this, "options");
|
|
134174
134180
|
this.options = e || BS;
|
|
134175
134181
|
}
|
|
134176
134182
|
/**
|
|
@@ -134192,23 +134198,23 @@ class zN {
|
|
|
134192
134198
|
return e;
|
|
134193
134199
|
}
|
|
134194
134200
|
}
|
|
134195
|
-
|
|
134201
|
+
Ls(zN, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
134196
134202
|
"preprocess",
|
|
134197
134203
|
"postprocess",
|
|
134198
134204
|
"processAllTokens"
|
|
134199
134205
|
]));
|
|
134200
134206
|
class AVe {
|
|
134201
134207
|
constructor(...e) {
|
|
134202
|
-
|
|
134203
|
-
|
|
134204
|
-
|
|
134205
|
-
|
|
134206
|
-
|
|
134207
|
-
|
|
134208
|
-
|
|
134209
|
-
|
|
134210
|
-
|
|
134211
|
-
|
|
134208
|
+
Ls(this, "defaults", vde());
|
|
134209
|
+
Ls(this, "options", this.setOptions);
|
|
134210
|
+
Ls(this, "parse", this.parseMarkdown(_g.lex, bg.parse));
|
|
134211
|
+
Ls(this, "parseInline", this.parseMarkdown(_g.lexInline, bg.parseInline));
|
|
134212
|
+
Ls(this, "Parser", bg);
|
|
134213
|
+
Ls(this, "Renderer", xR);
|
|
134214
|
+
Ls(this, "TextRenderer", Sde);
|
|
134215
|
+
Ls(this, "Lexer", _g);
|
|
134216
|
+
Ls(this, "Tokenizer", Z9);
|
|
134217
|
+
Ls(this, "Hooks", zN);
|
|
134212
134218
|
this.use(...e);
|
|
134213
134219
|
}
|
|
134214
134220
|
/**
|
|
@@ -134657,7 +134663,7 @@ function VVe() {
|
|
|
134657
134663
|
enumerable: !0,
|
|
134658
134664
|
value: !1
|
|
134659
134665
|
}
|
|
134660
|
-
})), Re = null, qe = null, Me = !0, ue = !0, Le = !1, Se = !0, We = !1, jt = !0, Ht = !1, _i = !1, Ui = !1, wn = !1, zs = !1, Jn = !1,
|
|
134666
|
+
})), Re = null, qe = null, Me = !0, ue = !0, Le = !1, Se = !0, We = !1, jt = !0, Ht = !1, _i = !1, Ui = !1, wn = !1, zs = !1, Jn = !1, As = !0, Hr = !1;
|
|
134661
134667
|
const Rv = "user-content-";
|
|
134662
134668
|
let ml = !0, op = !1, ap = {}, lp = null;
|
|
134663
134669
|
const BE = Ki({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -134678,7 +134684,7 @@ function VVe() {
|
|
|
134678
134684
|
let ce = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
134679
134685
|
if (!(ZS && ZS === ce)) {
|
|
134680
134686
|
if ((!ce || typeof ce != "object") && (ce = {}), ce = kp(ce), HE = // eslint-disable-next-line unicorn/prefer-includes
|
|
134681
|
-
H$e.indexOf(ce.PARSER_MEDIA_TYPE) === -1 ? z$e : ce.PARSER_MEDIA_TYPE, Vo = HE === "application/xhtml+xml" ? _K : U6, Y = ld(ce, "ALLOWED_TAGS") ? Ki({}, ce.ALLOWED_TAGS, Vo) : K, J = ld(ce, "ALLOWED_ATTR") ? Ki({}, ce.ALLOWED_ATTR, Vo) : te, iU = ld(ce, "ALLOWED_NAMESPACES") ? Ki({}, ce.ALLOWED_NAMESPACES, _K) : B$e, eU = ld(ce, "ADD_URI_SAFE_ATTR") ? Ki(kp(kge), ce.ADD_URI_SAFE_ATTR, Vo) : kge, WE = ld(ce, "ADD_DATA_URI_TAGS") ? Ki(kp(Ige), ce.ADD_DATA_URI_TAGS, Vo) : Ige, lp = ld(ce, "FORBID_CONTENTS") ? Ki({}, ce.FORBID_CONTENTS, Vo) : BE, Re = ld(ce, "FORBID_TAGS") ? Ki({}, ce.FORBID_TAGS, Vo) : kp({}), qe = ld(ce, "FORBID_ATTR") ? Ki({}, ce.FORBID_ATTR, Vo) : kp({}), ap = ld(ce, "USE_PROFILES") ? ce.USE_PROFILES : !1, Me = ce.ALLOW_ARIA_ATTR !== !1, ue = ce.ALLOW_DATA_ATTR !== !1, Le = ce.ALLOW_UNKNOWN_PROTOCOLS || !1, Se = ce.ALLOW_SELF_CLOSE_IN_ATTR !== !1, We = ce.SAFE_FOR_TEMPLATES || !1, jt = ce.SAFE_FOR_XML !== !1, Ht = ce.WHOLE_DOCUMENT || !1, wn = ce.RETURN_DOM || !1, zs = ce.RETURN_DOM_FRAGMENT || !1, Jn = ce.RETURN_TRUSTED_TYPE || !1, Ui = ce.FORCE_BODY || !1,
|
|
134687
|
+
H$e.indexOf(ce.PARSER_MEDIA_TYPE) === -1 ? z$e : ce.PARSER_MEDIA_TYPE, Vo = HE === "application/xhtml+xml" ? _K : U6, Y = ld(ce, "ALLOWED_TAGS") ? Ki({}, ce.ALLOWED_TAGS, Vo) : K, J = ld(ce, "ALLOWED_ATTR") ? Ki({}, ce.ALLOWED_ATTR, Vo) : te, iU = ld(ce, "ALLOWED_NAMESPACES") ? Ki({}, ce.ALLOWED_NAMESPACES, _K) : B$e, eU = ld(ce, "ADD_URI_SAFE_ATTR") ? Ki(kp(kge), ce.ADD_URI_SAFE_ATTR, Vo) : kge, WE = ld(ce, "ADD_DATA_URI_TAGS") ? Ki(kp(Ige), ce.ADD_DATA_URI_TAGS, Vo) : Ige, lp = ld(ce, "FORBID_CONTENTS") ? Ki({}, ce.FORBID_CONTENTS, Vo) : BE, Re = ld(ce, "FORBID_TAGS") ? Ki({}, ce.FORBID_TAGS, Vo) : kp({}), qe = ld(ce, "FORBID_ATTR") ? Ki({}, ce.FORBID_ATTR, Vo) : kp({}), ap = ld(ce, "USE_PROFILES") ? ce.USE_PROFILES : !1, Me = ce.ALLOW_ARIA_ATTR !== !1, ue = ce.ALLOW_DATA_ATTR !== !1, Le = ce.ALLOW_UNKNOWN_PROTOCOLS || !1, Se = ce.ALLOW_SELF_CLOSE_IN_ATTR !== !1, We = ce.SAFE_FOR_TEMPLATES || !1, jt = ce.SAFE_FOR_XML !== !1, Ht = ce.WHOLE_DOCUMENT || !1, wn = ce.RETURN_DOM || !1, zs = ce.RETURN_DOM_FRAGMENT || !1, Jn = ce.RETURN_TRUSTED_TYPE || !1, Ui = ce.FORCE_BODY || !1, As = ce.SANITIZE_DOM !== !1, Hr = ce.SANITIZE_NAMED_PROPS || !1, ml = ce.KEEP_CONTENT !== !1, op = ce.IN_PLACE || !1, G = ce.ALLOWED_URI_REGEXP || OVe, XS = ce.NAMESPACE || cp, t3 = ce.MATHML_TEXT_INTEGRATION_POINTS || t3, i3 = ce.HTML_INTEGRATION_POINTS || i3, he = ce.CUSTOM_ELEMENT_HANDLING || {}, ce.CUSTOM_ELEMENT_HANDLING && Nge(ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (he.tagNameCheck = ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ce.CUSTOM_ELEMENT_HANDLING && Nge(ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (he.attributeNameCheck = ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ce.CUSTOM_ELEMENT_HANDLING && typeof ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (he.allowCustomizedBuiltInElements = ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), We && (ue = !1), zs && (wn = !0), ap && (Y = Ki({}, g2e), J = [], ap.html === !0 && (Ki(Y, f2e), Ki(J, p2e)), ap.svg === !0 && (Ki(Y, yK), Ki(J, SK), Ki(J, r5)), ap.svgFilters === !0 && (Ki(Y, wK), Ki(J, SK), Ki(J, r5)), ap.mathMl === !0 && (Ki(Y, CK), Ki(J, m2e), Ki(J, r5))), ce.ADD_TAGS && (Y === K && (Y = kp(Y)), Ki(Y, ce.ADD_TAGS, Vo)), ce.ADD_ATTR && (J === te && (J = kp(J)), Ki(J, ce.ADD_ATTR, Vo)), ce.ADD_URI_SAFE_ATTR && Ki(eU, ce.ADD_URI_SAFE_ATTR, Vo), ce.FORBID_CONTENTS && (lp === BE && (lp = kp(lp)), Ki(lp, ce.FORBID_CONTENTS, Vo)), ml && (Y["#text"] = !0), Ht && Ki(Y, ["html", "head", "body"]), Y.table && (Ki(Y, ["tbody"]), delete Re.tbody), ce.TRUSTED_TYPES_POLICY) {
|
|
134682
134688
|
if (typeof ce.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
134683
134689
|
throw BI('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
134684
134690
|
if (typeof ce.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -134801,7 +134807,7 @@ function VVe() {
|
|
|
134801
134807
|
element: ce.cloneNode()
|
|
134802
134808
|
}), ce.textContent = Je)), hp(E.afterSanitizeElements, ce, null), !1);
|
|
134803
134809
|
}, Vge = function(ce, Je, Rt) {
|
|
134804
|
-
if (
|
|
134810
|
+
if (As && (Je === "id" || Je === "name") && (Rt in t || Rt in $$e))
|
|
134805
134811
|
return !1;
|
|
134806
134812
|
if (!(ue && !qe[Je] && bl(R, Je))) {
|
|
134807
134813
|
if (!(Me && bl(A, Je))) {
|
|
@@ -137639,7 +137645,7 @@ const Hf = class Hf extends q {
|
|
|
137639
137645
|
}));
|
|
137640
137646
|
}
|
|
137641
137647
|
registerListeners() {
|
|
137642
|
-
this._register(
|
|
137648
|
+
this._register(fs(this.selectElement, "change", (t) => {
|
|
137643
137649
|
this.selected = t.target.selectedIndex, this._onDidSelect.fire({
|
|
137644
137650
|
index: t.target.selectedIndex,
|
|
137645
137651
|
selected: t.target.value
|
|
@@ -137951,14 +137957,14 @@ class dUt extends q {
|
|
|
137951
137957
|
this._register(Z(this.selectElement, e, (t) => {
|
|
137952
137958
|
this.selectElement.focus();
|
|
137953
137959
|
}));
|
|
137954
|
-
}), this._register(
|
|
137960
|
+
}), this._register(fs(this.selectElement, "click", (e) => {
|
|
137955
137961
|
si.stop(e, !0);
|
|
137956
|
-
})), this._register(
|
|
137962
|
+
})), this._register(fs(this.selectElement, "change", (e) => {
|
|
137957
137963
|
this.selectElement.title = e.target.value, this._onDidSelect.fire({
|
|
137958
137964
|
index: e.target.selectedIndex,
|
|
137959
137965
|
selected: e.target.value
|
|
137960
137966
|
});
|
|
137961
|
-
})), this._register(
|
|
137967
|
+
})), this._register(fs(this.selectElement, "keydown", (e) => {
|
|
137962
137968
|
let t = !1;
|
|
137963
137969
|
At ? (e.keyCode === 18 || e.keyCode === 16 || e.keyCode === 10) && (t = !0) : (e.keyCode === 18 && e.altKey || e.keyCode === 10 || e.keyCode === 3) && (t = !0), t && e.stopPropagation();
|
|
137964
137970
|
}));
|
|
@@ -138825,7 +138831,7 @@ class ya {
|
|
|
138825
138831
|
*/
|
|
138826
138832
|
toTextEdit(e) {
|
|
138827
138833
|
const t = e.getValueOfRange(this.modifiedRange);
|
|
138828
|
-
return new
|
|
138834
|
+
return new ys(this.originalRange, t);
|
|
138829
138835
|
}
|
|
138830
138836
|
}
|
|
138831
138837
|
function nF(n, e, t, i = !1) {
|
|
@@ -139157,7 +139163,7 @@ let Aee = class extends q {
|
|
|
139157
139163
|
lr(this.domNode);
|
|
139158
139164
|
})), this._register(r1(this.domNode, { width: this._width, height: this._height })), this._register(r1(this._content, { width: this._width, height: this._height })), this._register(Io((l, c) => {
|
|
139159
139165
|
this._model.currentGroup.read(l), this._render(c);
|
|
139160
|
-
})), this._register(
|
|
139166
|
+
})), this._register(fs(this.domNode, "keydown", (l) => {
|
|
139161
139167
|
(l.equals(
|
|
139162
139168
|
18
|
|
139163
139169
|
/* KeyCode.DownArrow */
|
|
@@ -140033,7 +140039,7 @@ class XUt extends q {
|
|
|
140033
140039
|
autoSelectFirstItem: !0
|
|
140034
140040
|
});
|
|
140035
140041
|
};
|
|
140036
|
-
this._register(
|
|
140042
|
+
this._register(fs(this._diffActions, "mousedown", (p) => {
|
|
140037
140043
|
if (!p.leftButton)
|
|
140038
140044
|
return;
|
|
140039
140045
|
const { top: m, height: v } = Kn(this._diffActions), _ = Math.floor(u / 3);
|
|
@@ -141058,7 +141064,7 @@ let IR = (vm = class extends q {
|
|
|
141058
141064
|
const u = Jt("div.diffOverview", {
|
|
141059
141065
|
style: { position: "absolute", top: "0px", width: sd.ENTIRE_DIFF_OVERVIEW_WIDTH + "px" }
|
|
141060
141066
|
}).root;
|
|
141061
|
-
this._register(WL(u, h.domNode)), this._register(
|
|
141067
|
+
this._register(WL(u, h.domNode)), this._register(fs(u, _e.POINTER_DOWN, (d) => {
|
|
141062
141068
|
this._editors.modified.delegateVerticalScrollbarPointerDown(d);
|
|
141063
141069
|
})), this._register(Z(u, _e.MOUSE_WHEEL, (d) => {
|
|
141064
141070
|
this._editors.modified.delegateScrollFromMouseWheelEvent(d);
|
|
@@ -143355,7 +143361,7 @@ let fT = class extends q {
|
|
|
143355
143361
|
this.hoverDisposables.clear();
|
|
143356
143362
|
const s = Yn(e.target) ? [e.target] : e.target.targetElements;
|
|
143357
143363
|
for (const o of s)
|
|
143358
|
-
this.hoverDisposables.add(
|
|
143364
|
+
this.hoverDisposables.add(fs(o, "keydown", (a) => {
|
|
143359
143365
|
a.equals(
|
|
143360
143366
|
9
|
|
143361
143367
|
/* KeyCode.Escape */
|
|
@@ -144684,7 +144690,7 @@ class njt extends Ae {
|
|
|
144684
144690
|
precondition: void 0,
|
|
144685
144691
|
kbOpts: {
|
|
144686
144692
|
kbExpr: H.editorTextFocus,
|
|
144687
|
-
primary:
|
|
144693
|
+
primary: xs(
|
|
144688
144694
|
2089,
|
|
144689
144695
|
2080
|
|
144690
144696
|
/* KeyCode.KeyB */
|
|
@@ -144720,7 +144726,7 @@ class rjt extends Ae {
|
|
|
144720
144726
|
precondition: _$,
|
|
144721
144727
|
kbOpts: {
|
|
144722
144728
|
kbExpr: H.editorTextFocus,
|
|
144723
|
-
primary:
|
|
144729
|
+
primary: xs(
|
|
144724
144730
|
2089,
|
|
144725
144731
|
2089
|
|
144726
144732
|
/* KeyCode.KeyK */
|
|
@@ -148650,7 +148656,7 @@ class uqt {
|
|
|
148650
148656
|
try {
|
|
148651
148657
|
i = await this.provider.resolveCodeAction(this.action, e);
|
|
148652
148658
|
} catch (s) {
|
|
148653
|
-
|
|
148659
|
+
Ss(s);
|
|
148654
148660
|
}
|
|
148655
148661
|
i && (this.action.edit = i.edit);
|
|
148656
148662
|
}
|
|
@@ -148702,7 +148708,7 @@ async function zL(n, e, t, i, s, r) {
|
|
|
148702
148708
|
} catch (_) {
|
|
148703
148709
|
if ($c(_))
|
|
148704
148710
|
throw _;
|
|
148705
|
-
return
|
|
148711
|
+
return Ss(_), oDe;
|
|
148706
148712
|
} finally {
|
|
148707
148713
|
clearTimeout(v);
|
|
148708
148714
|
}
|
|
@@ -149982,7 +149988,7 @@ async function iWe(n, e, t) {
|
|
|
149982
149988
|
const c = await Promise.resolve(a.provideCodeLenses(e, t));
|
|
149983
149989
|
c && r.add(c, a);
|
|
149984
149990
|
} catch (c) {
|
|
149985
|
-
|
|
149991
|
+
Ss(c);
|
|
149986
149992
|
}
|
|
149987
149993
|
});
|
|
149988
149994
|
return await Promise.all(o), t.isCancellationRequested ? (r.dispose(), gT.Empty) : (r.lenses = r.lenses.sort((a, l) => a.symbol.range.startLineNumber < l.symbol.range.startLineNumber ? -1 : a.symbol.range.startLineNumber > l.symbol.range.startLineNumber ? 1 : s.get(a.provider) < s.get(l.provider) ? -1 : s.get(a.provider) > s.get(l.provider) ? 1 : a.symbol.range.startColumn < l.symbol.range.startColumn ? -1 : a.symbol.range.startColumn > l.symbol.range.startColumn ? 1 : 0), r);
|
|
@@ -150552,7 +150558,7 @@ let FR = (nD = class {
|
|
|
150552
150558
|
const l = t.map((c, h) => {
|
|
150553
150559
|
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) => {
|
|
150554
150560
|
u[g] = p;
|
|
150555
|
-
},
|
|
150561
|
+
}, Ss) : (u[g] = f.symbol, Promise.resolve(void 0)));
|
|
150556
150562
|
return Promise.all(d).then(() => {
|
|
150557
150563
|
!a.isCancellationRequested && !i[h].isDisposed() && i[h].updateCommands(u);
|
|
150558
150564
|
});
|
|
@@ -150765,7 +150771,7 @@ async function Kde(n, e, t, i, s) {
|
|
|
150765
150771
|
try {
|
|
150766
150772
|
await n.compute(h, t, i, a) && (r = !0);
|
|
150767
150773
|
} catch (u) {
|
|
150768
|
-
|
|
150774
|
+
Ss(u);
|
|
150769
150775
|
}
|
|
150770
150776
|
}
|
|
150771
150777
|
return r ? a : o && s !== "never" ? (await n.compute(o, t, i, a), a) : [];
|
|
@@ -152632,7 +152638,7 @@ function DWe(n, e, t, i) {
|
|
|
152632
152638
|
s = document.createElement("code");
|
|
152633
152639
|
else if (e.type === 5 && t) {
|
|
152634
152640
|
const r = document.createElement("a");
|
|
152635
|
-
t.disposables.add(
|
|
152641
|
+
t.disposables.add(fs(r, "click", (o) => {
|
|
152636
152642
|
t.callback(String(e.index), o);
|
|
152637
152643
|
})), s = r;
|
|
152638
152644
|
} else e.type === 8 ? s = document.createElement("br") : e.type === 1 && (s = n);
|
|
@@ -154110,7 +154116,7 @@ class lYt {
|
|
|
154110
154116
|
}
|
|
154111
154117
|
}
|
|
154112
154118
|
async function cYt(n, e, t, i, s) {
|
|
154113
|
-
const r = await Promise.resolve(n.provideHover(t, i, s)).catch(
|
|
154119
|
+
const r = await Promise.resolve(n.provideHover(t, i, s)).catch(Ss);
|
|
154114
154120
|
if (!(!r || !hYt(r)))
|
|
154115
154121
|
return new lYt(n, r, e);
|
|
154116
154122
|
}
|
|
@@ -154342,7 +154348,7 @@ class gYt {
|
|
|
154342
154348
|
try {
|
|
154343
154349
|
c = await Promise.resolve(r.provideHover(t, e.hoverPosition, a.token, l));
|
|
154344
154350
|
} catch (h) {
|
|
154345
|
-
|
|
154351
|
+
Ss(h);
|
|
154346
154352
|
}
|
|
154347
154353
|
return a.dispose(), this._ongoingHoverOperations.delete(r), c;
|
|
154348
154354
|
}
|
|
@@ -154920,7 +154926,7 @@ class ife {
|
|
|
154920
154926
|
const t = await Promise.resolve(this.provider.resolveInlayHint(this.hint, e));
|
|
154921
154927
|
this.hint.tooltip = (t == null ? void 0 : t.tooltip) ?? this.hint.tooltip, this.hint.label = (t == null ? void 0 : t.label) ?? this.hint.label, this.hint.textEdits = (t == null ? void 0 : t.textEdits) ?? this.hint.textEdits, this._isResolved = !0;
|
|
154922
154928
|
} catch (t) {
|
|
154923
|
-
|
|
154929
|
+
Ss(t), this._isResolved = !1;
|
|
154924
154930
|
}
|
|
154925
154931
|
}
|
|
154926
154932
|
}
|
|
@@ -154931,7 +154937,7 @@ const l2 = class l2 {
|
|
|
154931
154937
|
const c = await a.provideInlayHints(t, l, s);
|
|
154932
154938
|
(c != null && c.hints.length || a.onDidChangeInlayHints) && r.push([c ?? l2._emptyInlayHintList, a]);
|
|
154933
154939
|
} catch (c) {
|
|
154934
|
-
|
|
154940
|
+
Ss(c);
|
|
154935
154941
|
}
|
|
154936
154942
|
}));
|
|
154937
154943
|
if (await Promise.all(o.flat()), s.isCancellationRequested || t.isDisposed())
|
|
@@ -155352,7 +155358,7 @@ let AF = class extends FYt {
|
|
|
155352
155358
|
this.setCssClass("peekview-widget"), this._headElement = ve(".head"), this._bodyElement = ve(".body"), this._fillHead(this._headElement), this._fillBody(this._bodyElement), e.appendChild(this._headElement), e.appendChild(this._bodyElement);
|
|
155353
155359
|
}
|
|
155354
155360
|
_fillHead(e, t) {
|
|
155355
|
-
this._titleElement = ve(".peekview-title"), this.options.supportOnTitleClick && (this._titleElement.classList.add("clickable"),
|
|
155361
|
+
this._titleElement = ve(".peekview-title"), this.options.supportOnTitleClick && (this._titleElement.classList.add("clickable"), fs(this._titleElement, "click", (r) => this._onTitleClick(r))), fe(this._headElement, this._titleElement), this._fillTitleIcon(this._titleElement), this._primaryHeading = ve("span.filename"), this._secondaryHeading = ve("span.dirname"), this._metaHeading = ve("span.meta"), fe(this._titleElement, this._primaryHeading, this._secondaryHeading, this._metaHeading);
|
|
155356
155362
|
const i = ve(".peekview-actions");
|
|
155357
155363
|
fe(this._headElement, i);
|
|
155358
155364
|
const s = this._getActionBarOptions();
|
|
@@ -160136,7 +160142,7 @@ class $Xt {
|
|
|
160136
160142
|
}
|
|
160137
160143
|
class _T {
|
|
160138
160144
|
constructor(e, t) {
|
|
160139
|
-
this.parent = e, this.uri = t, this.children = [], this._previews = new
|
|
160145
|
+
this.parent = e, this.uri = t, this.children = [], this._previews = new ps();
|
|
160140
160146
|
}
|
|
160141
160147
|
dispose() {
|
|
160142
160148
|
Ci(this._previews.values()), this._previews.clear();
|
|
@@ -160770,7 +160776,7 @@ let Jte = class extends AF {
|
|
|
160770
160776
|
},
|
|
160771
160777
|
dnd: this._instantiationService.createInstance(Zte)
|
|
160772
160778
|
};
|
|
160773
|
-
this._defaultTreeKeyboardSupport && this._callOnDispose.add(
|
|
160779
|
+
this._defaultTreeKeyboardSupport && this._callOnDispose.add(fs(this._treeContainer, "keydown", (r) => {
|
|
160774
160780
|
r.equals(
|
|
160775
160781
|
9
|
|
160776
160782
|
/* KeyCode.Escape */
|
|
@@ -161020,7 +161026,7 @@ function qS(n, e) {
|
|
|
161020
161026
|
wr.registerCommandAndKeybindingRule({
|
|
161021
161027
|
id: "togglePeekWidgetFocus",
|
|
161022
161028
|
weight: 100,
|
|
161023
|
-
primary:
|
|
161029
|
+
primary: xs(
|
|
161024
161030
|
2089,
|
|
161025
161031
|
60
|
|
161026
161032
|
/* KeyCode.F2 */
|
|
@@ -161252,7 +161258,7 @@ function tie(n, e) {
|
|
|
161252
161258
|
}
|
|
161253
161259
|
async function jO(n, e, t, i, s) {
|
|
161254
161260
|
const o = t.ordered(n, i).map((l) => Promise.resolve(s(l, n, e)).then(void 0, (c) => {
|
|
161255
|
-
|
|
161261
|
+
Ss(c);
|
|
161256
161262
|
})), a = await Promise.all(o);
|
|
161257
161263
|
return hf(a.flat()).filter((l) => tie(n, l));
|
|
161258
161264
|
}
|
|
@@ -161496,7 +161502,7 @@ Ei((y0 = class extends YO {
|
|
|
161496
161502
|
precondition: le.and(H.hasDefinitionProvider, H.isInEmbeddedEditor.toNegated()),
|
|
161497
161503
|
keybinding: [{
|
|
161498
161504
|
when: H.editorTextFocus,
|
|
161499
|
-
primary:
|
|
161505
|
+
primary: xs(
|
|
161500
161506
|
2089,
|
|
161501
161507
|
70
|
|
161502
161508
|
/* KeyCode.F12 */
|
|
@@ -161505,7 +161511,7 @@ Ei((y0 = class extends YO {
|
|
|
161505
161511
|
/* KeybindingWeight.EditorContrib */
|
|
161506
161512
|
}, {
|
|
161507
161513
|
when: le.and(H.editorTextFocus, oHe),
|
|
161508
|
-
primary:
|
|
161514
|
+
primary: xs(
|
|
161509
161515
|
2089,
|
|
161510
161516
|
2118
|
|
161511
161517
|
/* KeyCode.F12 */
|
|
@@ -162595,7 +162601,7 @@ class lZt {
|
|
|
162595
162601
|
constructor(e, t, i, s, r) {
|
|
162596
162602
|
this._openerService = s, this._labelService = r, this._lines = 0, this._longestLineLength = 0, this._relatedDiagnostics = /* @__PURE__ */ new WeakMap(), this._disposables = new ne(), this._editor = t;
|
|
162597
162603
|
const o = document.createElement("div");
|
|
162598
|
-
o.className = "descriptioncontainer", this._messageBlock = document.createElement("div"), this._messageBlock.classList.add("message"), this._messageBlock.setAttribute("aria-live", "assertive"), this._messageBlock.setAttribute("role", "alert"), o.appendChild(this._messageBlock), this._relatedBlock = document.createElement("div"), o.appendChild(this._relatedBlock), this._disposables.add(
|
|
162604
|
+
o.className = "descriptioncontainer", this._messageBlock = document.createElement("div"), this._messageBlock.classList.add("message"), this._messageBlock.setAttribute("aria-live", "assertive"), this._messageBlock.setAttribute("role", "alert"), o.appendChild(this._messageBlock), this._relatedBlock = document.createElement("div"), o.appendChild(this._relatedBlock), this._disposables.add(fs(this._relatedBlock, "click", (a) => {
|
|
162599
162605
|
a.preventDefault();
|
|
162600
162606
|
const l = this._relatedDiagnostics.get(a.target);
|
|
162601
162607
|
l && i(l);
|
|
@@ -162768,7 +162774,7 @@ qR = oie = aZt([
|
|
|
162768
162774
|
Yx(5, ot),
|
|
162769
162775
|
Yx(6, aS)
|
|
162770
162776
|
], qR);
|
|
162771
|
-
const XDe = QA(Yz, B5t), ZDe = QA(rv, eR), JDe = QA(Hg, tR), aie = B("editorMarkerNavigationError.background", { dark: XDe, light: XDe, hcDark: Gt, hcLight: Gt }, C(1031, "Editor marker navigation widget error color.")), cZt = B("editorMarkerNavigationError.headerBackground", { dark: ft(aie, 0.1), light: ft(aie, 0.1), hcDark: null, hcLight: null }, C(1032, "Editor marker navigation widget error heading background.")), t8 = B("editorMarkerNavigationWarning.background", { dark: ZDe, light: ZDe, hcDark: Gt, hcLight: Gt }, C(1033, "Editor marker navigation widget warning color.")), hZt = B("editorMarkerNavigationWarning.headerBackground", { dark: ft(t8, 0.1), light: ft(t8, 0.1), hcDark: "#0C141F", hcLight: ft(t8, 0.2) }, C(1034, "Editor marker navigation widget warning heading background.")), lie = B("editorMarkerNavigationInfo.background", { dark: JDe, light: JDe, hcDark: Gt, hcLight: Gt }, C(1035, "Editor marker navigation widget info color.")), uZt = B("editorMarkerNavigationInfo.headerBackground", { dark: ft(lie, 0.1), light: ft(lie, 0.1), hcDark: null, hcLight: null }, C(1036, "Editor marker navigation widget info heading background.")), dZt = B("editorMarkerNavigation.background",
|
|
162777
|
+
const XDe = QA(Yz, B5t), ZDe = QA(rv, eR), JDe = QA(Hg, tR), aie = B("editorMarkerNavigationError.background", { dark: XDe, light: XDe, hcDark: Gt, hcLight: Gt }, C(1031, "Editor marker navigation widget error color.")), cZt = B("editorMarkerNavigationError.headerBackground", { dark: ft(aie, 0.1), light: ft(aie, 0.1), hcDark: null, hcLight: null }, C(1032, "Editor marker navigation widget error heading background.")), t8 = B("editorMarkerNavigationWarning.background", { dark: ZDe, light: ZDe, hcDark: Gt, hcLight: Gt }, C(1033, "Editor marker navigation widget warning color.")), hZt = B("editorMarkerNavigationWarning.headerBackground", { dark: ft(t8, 0.1), light: ft(t8, 0.1), hcDark: "#0C141F", hcLight: ft(t8, 0.2) }, C(1034, "Editor marker navigation widget warning heading background.")), lie = B("editorMarkerNavigationInfo.background", { dark: JDe, light: JDe, hcDark: Gt, hcLight: Gt }, C(1035, "Editor marker navigation widget info color.")), uZt = B("editorMarkerNavigationInfo.headerBackground", { dark: ft(lie, 0.1), light: ft(lie, 0.1), hcDark: null, hcLight: null }, C(1036, "Editor marker navigation widget info heading background.")), dZt = B("editorMarkerNavigation.background", gs, C(1037, "Editor marker navigation widget background."));
|
|
162772
162778
|
var fZt = function(n, e, t, i) {
|
|
162773
162779
|
var s = arguments.length, r = s < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
162774
162780
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(n, e, t, i);
|
|
@@ -163397,12 +163403,12 @@ let pie = class extends q {
|
|
|
163397
163403
|
this._withResult(new _We(i, t.isComplete, t.options));
|
|
163398
163404
|
}));
|
|
163399
163405
|
const e = this._contentHoverWidget.getDomNode();
|
|
163400
|
-
this._register(
|
|
163406
|
+
this._register(fs(e, "keydown", (t) => {
|
|
163401
163407
|
t.equals(
|
|
163402
163408
|
9
|
|
163403
163409
|
/* KeyCode.Escape */
|
|
163404
163410
|
) && this.hide();
|
|
163405
|
-
})), this._register(
|
|
163411
|
+
})), this._register(fs(e, "mouseleave", (t) => {
|
|
163406
163412
|
this._onMouseLeave(t);
|
|
163407
163413
|
})), this._register(Gn.onDidChange(() => {
|
|
163408
163414
|
this._contentHoverWidget.position && this._currentResult && this._setCurrentResult(this._currentResult);
|
|
@@ -164462,7 +164468,7 @@ class MZt extends Tfe {
|
|
|
164462
164468
|
precondition: H.writable,
|
|
164463
164469
|
kbOpts: {
|
|
164464
164470
|
kbExpr: H.editorTextFocus,
|
|
164465
|
-
primary:
|
|
164471
|
+
primary: xs(
|
|
164466
164472
|
2089,
|
|
164467
164473
|
2081
|
|
164468
164474
|
/* KeyCode.KeyC */
|
|
@@ -164482,7 +164488,7 @@ class AZt extends Tfe {
|
|
|
164482
164488
|
precondition: H.writable,
|
|
164483
164489
|
kbOpts: {
|
|
164484
164490
|
kbExpr: H.editorTextFocus,
|
|
164485
|
-
primary:
|
|
164491
|
+
primary: xs(
|
|
164486
164492
|
2089,
|
|
164487
164493
|
2099
|
|
164488
164494
|
/* KeyCode.KeyU */
|
|
@@ -167098,12 +167104,12 @@ const XF = fn("folding-expanded", de.chevronDown, C(1005, "Icon for expanded ran
|
|
|
167098
167104
|
color: Un(wJt),
|
|
167099
167105
|
position: 1
|
|
167100
167106
|
/* MinimapPosition.Inline */
|
|
167101
|
-
}, Zx = C(1009, "Click to expand the range."), D5 = C(1010, "Click to collapse the range."),
|
|
167107
|
+
}, Zx = C(1009, "Click to expand the range."), D5 = C(1010, "Click to collapse the range."), Ds = class Ds {
|
|
167102
167108
|
constructor(e) {
|
|
167103
167109
|
this.editor = e, this.showFoldingControls = "mouseover", this.showFoldingHighlights = !0;
|
|
167104
167110
|
}
|
|
167105
167111
|
getDecorationOption(e, t, i) {
|
|
167106
|
-
return t ?
|
|
167112
|
+
return t ? Ds.HIDDEN_RANGE_DECORATION : this.showFoldingControls === "never" ? e ? this.showFoldingHighlights ? Ds.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION : Ds.NO_CONTROLS_COLLAPSED_RANGE_DECORATION : Ds.NO_CONTROLS_EXPANDED_RANGE_DECORATION : e ? i ? this.showFoldingHighlights ? Ds.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION : Ds.MANUALLY_COLLAPSED_VISUAL_DECORATION : this.showFoldingHighlights ? Ds.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION : Ds.COLLAPSED_VISUAL_DECORATION : this.showFoldingControls === "mouseover" ? i ? Ds.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION : Ds.EXPANDED_AUTO_HIDE_VISUAL_DECORATION : i ? Ds.MANUALLY_EXPANDED_VISUAL_DECORATION : Ds.EXPANDED_VISUAL_DECORATION;
|
|
167107
167113
|
}
|
|
167108
167114
|
changeDecorations(e) {
|
|
167109
167115
|
return this.editor.changeDecorations(e);
|
|
@@ -167112,14 +167118,14 @@ const XF = fn("folding-expanded", de.chevronDown, C(1005, "Icon for expanded ran
|
|
|
167112
167118
|
this.editor.removeDecorations(e);
|
|
167113
167119
|
}
|
|
167114
167120
|
};
|
|
167115
|
-
|
|
167121
|
+
Ds.COLLAPSED_VISUAL_DECORATION = dt.register({
|
|
167116
167122
|
description: "folding-collapsed-visual-decoration",
|
|
167117
167123
|
stickiness: 0,
|
|
167118
167124
|
afterContentClassName: "inline-folded",
|
|
167119
167125
|
isWholeLine: !0,
|
|
167120
167126
|
linesDecorationsTooltip: Zx,
|
|
167121
167127
|
firstLineDecorationClassName: Xe.asClassName(ZF)
|
|
167122
|
-
}),
|
|
167128
|
+
}), Ds.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION = dt.register({
|
|
167123
167129
|
description: "folding-collapsed-highlighted-visual-decoration",
|
|
167124
167130
|
stickiness: 0,
|
|
167125
167131
|
afterContentClassName: "inline-folded",
|
|
@@ -167128,14 +167134,14 @@ Ls.COLLAPSED_VISUAL_DECORATION = dt.register({
|
|
|
167128
167134
|
isWholeLine: !0,
|
|
167129
167135
|
linesDecorationsTooltip: Zx,
|
|
167130
167136
|
firstLineDecorationClassName: Xe.asClassName(ZF)
|
|
167131
|
-
}),
|
|
167137
|
+
}), Ds.MANUALLY_COLLAPSED_VISUAL_DECORATION = dt.register({
|
|
167132
167138
|
description: "folding-manually-collapsed-visual-decoration",
|
|
167133
167139
|
stickiness: 0,
|
|
167134
167140
|
afterContentClassName: "inline-folded",
|
|
167135
167141
|
isWholeLine: !0,
|
|
167136
167142
|
linesDecorationsTooltip: Zx,
|
|
167137
167143
|
firstLineDecorationClassName: Xe.asClassName(oTe)
|
|
167138
|
-
}),
|
|
167144
|
+
}), Ds.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION = dt.register({
|
|
167139
167145
|
description: "folding-manually-collapsed-highlighted-visual-decoration",
|
|
167140
167146
|
stickiness: 0,
|
|
167141
167147
|
afterContentClassName: "inline-folded",
|
|
@@ -167144,13 +167150,13 @@ Ls.COLLAPSED_VISUAL_DECORATION = dt.register({
|
|
|
167144
167150
|
isWholeLine: !0,
|
|
167145
167151
|
linesDecorationsTooltip: Zx,
|
|
167146
167152
|
firstLineDecorationClassName: Xe.asClassName(oTe)
|
|
167147
|
-
}),
|
|
167153
|
+
}), Ds.NO_CONTROLS_COLLAPSED_RANGE_DECORATION = dt.register({
|
|
167148
167154
|
description: "folding-no-controls-range-decoration",
|
|
167149
167155
|
stickiness: 0,
|
|
167150
167156
|
afterContentClassName: "inline-folded",
|
|
167151
167157
|
isWholeLine: !0,
|
|
167152
167158
|
linesDecorationsTooltip: Zx
|
|
167153
|
-
}),
|
|
167159
|
+
}), Ds.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION = dt.register({
|
|
167154
167160
|
description: "folding-no-controls-range-decoration",
|
|
167155
167161
|
stickiness: 0,
|
|
167156
167162
|
afterContentClassName: "inline-folded",
|
|
@@ -167158,40 +167164,40 @@ Ls.COLLAPSED_VISUAL_DECORATION = dt.register({
|
|
|
167158
167164
|
minimap: QK,
|
|
167159
167165
|
isWholeLine: !0,
|
|
167160
167166
|
linesDecorationsTooltip: Zx
|
|
167161
|
-
}),
|
|
167167
|
+
}), Ds.EXPANDED_VISUAL_DECORATION = dt.register({
|
|
167162
167168
|
description: "folding-expanded-visual-decoration",
|
|
167163
167169
|
stickiness: 1,
|
|
167164
167170
|
isWholeLine: !0,
|
|
167165
167171
|
firstLineDecorationClassName: "alwaysShowFoldIcons " + Xe.asClassName(XF),
|
|
167166
167172
|
linesDecorationsTooltip: D5
|
|
167167
|
-
}),
|
|
167173
|
+
}), Ds.EXPANDED_AUTO_HIDE_VISUAL_DECORATION = dt.register({
|
|
167168
167174
|
description: "folding-expanded-auto-hide-visual-decoration",
|
|
167169
167175
|
stickiness: 1,
|
|
167170
167176
|
isWholeLine: !0,
|
|
167171
167177
|
firstLineDecorationClassName: Xe.asClassName(XF),
|
|
167172
167178
|
linesDecorationsTooltip: D5
|
|
167173
|
-
}),
|
|
167179
|
+
}), Ds.MANUALLY_EXPANDED_VISUAL_DECORATION = dt.register({
|
|
167174
167180
|
description: "folding-manually-expanded-visual-decoration",
|
|
167175
167181
|
stickiness: 0,
|
|
167176
167182
|
isWholeLine: !0,
|
|
167177
167183
|
firstLineDecorationClassName: "alwaysShowFoldIcons " + Xe.asClassName(aTe),
|
|
167178
167184
|
linesDecorationsTooltip: D5
|
|
167179
|
-
}),
|
|
167185
|
+
}), Ds.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION = dt.register({
|
|
167180
167186
|
description: "folding-manually-expanded-auto-hide-visual-decoration",
|
|
167181
167187
|
stickiness: 0,
|
|
167182
167188
|
isWholeLine: !0,
|
|
167183
167189
|
firstLineDecorationClassName: Xe.asClassName(aTe),
|
|
167184
167190
|
linesDecorationsTooltip: D5
|
|
167185
|
-
}),
|
|
167191
|
+
}), Ds.NO_CONTROLS_EXPANDED_RANGE_DECORATION = dt.register({
|
|
167186
167192
|
description: "folding-no-controls-range-decoration",
|
|
167187
167193
|
stickiness: 0,
|
|
167188
167194
|
isWholeLine: !0
|
|
167189
|
-
}),
|
|
167195
|
+
}), Ds.HIDDEN_RANGE_DECORATION = dt.register({
|
|
167190
167196
|
description: "folding-hidden-range-decoration",
|
|
167191
167197
|
stickiness: 1
|
|
167192
167198
|
/* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */
|
|
167193
167199
|
});
|
|
167194
|
-
let Eie =
|
|
167200
|
+
let Eie = Ds;
|
|
167195
167201
|
const CJt = {}, SJt = "syntax";
|
|
167196
167202
|
class Afe {
|
|
167197
167203
|
constructor(e, t, i, s, r) {
|
|
@@ -167218,7 +167224,7 @@ function xJt(n, e, t) {
|
|
|
167218
167224
|
for (const c of a)
|
|
167219
167225
|
c.start > 0 && c.end > c.start && c.end <= l && i.push({ start: c.start, end: c.end, rank: o, kind: c.kind });
|
|
167220
167226
|
}
|
|
167221
|
-
},
|
|
167227
|
+
}, Ss));
|
|
167222
167228
|
return Promise.all(s).then((r) => i);
|
|
167223
167229
|
}
|
|
167224
167230
|
class LJt {
|
|
@@ -167690,7 +167696,7 @@ class kJt extends uo {
|
|
|
167690
167696
|
precondition: Wr,
|
|
167691
167697
|
kbOpts: {
|
|
167692
167698
|
kbExpr: H.editorTextFocus,
|
|
167693
|
-
primary:
|
|
167699
|
+
primary: xs(
|
|
167694
167700
|
2089,
|
|
167695
167701
|
2142
|
|
167696
167702
|
/* KeyCode.BracketRight */
|
|
@@ -167768,7 +167774,7 @@ class MJt extends uo {
|
|
|
167768
167774
|
precondition: Wr,
|
|
167769
167775
|
kbOpts: {
|
|
167770
167776
|
kbExpr: H.editorTextFocus,
|
|
167771
|
-
primary:
|
|
167777
|
+
primary: xs(
|
|
167772
167778
|
2089,
|
|
167773
167779
|
2090
|
|
167774
167780
|
/* KeyCode.KeyL */
|
|
@@ -167791,7 +167797,7 @@ class AJt extends uo {
|
|
|
167791
167797
|
precondition: Wr,
|
|
167792
167798
|
kbOpts: {
|
|
167793
167799
|
kbExpr: H.editorTextFocus,
|
|
167794
|
-
primary:
|
|
167800
|
+
primary: xs(
|
|
167795
167801
|
2089,
|
|
167796
167802
|
2140
|
|
167797
167803
|
/* KeyCode.BracketLeft */
|
|
@@ -167814,7 +167820,7 @@ class RJt extends uo {
|
|
|
167814
167820
|
precondition: Wr,
|
|
167815
167821
|
kbOpts: {
|
|
167816
167822
|
kbExpr: H.editorTextFocus,
|
|
167817
|
-
primary:
|
|
167823
|
+
primary: xs(
|
|
167818
167824
|
2089,
|
|
167819
167825
|
3114
|
|
167820
167826
|
/* KeyCode.KeyL */
|
|
@@ -167837,7 +167843,7 @@ class PJt extends uo {
|
|
|
167837
167843
|
precondition: Wr,
|
|
167838
167844
|
kbOpts: {
|
|
167839
167845
|
kbExpr: H.editorTextFocus,
|
|
167840
|
-
primary:
|
|
167846
|
+
primary: xs(
|
|
167841
167847
|
2089,
|
|
167842
167848
|
2138
|
|
167843
167849
|
/* KeyCode.Slash */
|
|
@@ -167870,7 +167876,7 @@ class OJt extends uo {
|
|
|
167870
167876
|
precondition: Wr,
|
|
167871
167877
|
kbOpts: {
|
|
167872
167878
|
kbExpr: H.editorTextFocus,
|
|
167873
|
-
primary:
|
|
167879
|
+
primary: xs(
|
|
167874
167880
|
2089,
|
|
167875
167881
|
2077
|
|
167876
167882
|
/* KeyCode.Digit8 */
|
|
@@ -167903,7 +167909,7 @@ class FJt extends uo {
|
|
|
167903
167909
|
precondition: Wr,
|
|
167904
167910
|
kbOpts: {
|
|
167905
167911
|
kbExpr: H.editorTextFocus,
|
|
167906
|
-
primary:
|
|
167912
|
+
primary: xs(
|
|
167907
167913
|
2089,
|
|
167908
167914
|
2078
|
|
167909
167915
|
/* KeyCode.Digit9 */
|
|
@@ -167936,7 +167942,7 @@ class VJt extends uo {
|
|
|
167936
167942
|
precondition: Wr,
|
|
167937
167943
|
kbOpts: {
|
|
167938
167944
|
kbExpr: H.editorTextFocus,
|
|
167939
|
-
primary:
|
|
167945
|
+
primary: xs(
|
|
167940
167946
|
2089,
|
|
167941
167947
|
2136
|
|
167942
167948
|
/* KeyCode.Minus */
|
|
@@ -167959,7 +167965,7 @@ class BJt extends uo {
|
|
|
167959
167965
|
precondition: Wr,
|
|
167960
167966
|
kbOpts: {
|
|
167961
167967
|
kbExpr: H.editorTextFocus,
|
|
167962
|
-
primary:
|
|
167968
|
+
primary: xs(
|
|
167963
167969
|
2089,
|
|
167964
167970
|
2134
|
|
167965
167971
|
/* KeyCode.Equal */
|
|
@@ -167982,7 +167988,7 @@ class WJt extends uo {
|
|
|
167982
167988
|
precondition: Wr,
|
|
167983
167989
|
kbOpts: {
|
|
167984
167990
|
kbExpr: H.editorTextFocus,
|
|
167985
|
-
primary:
|
|
167991
|
+
primary: xs(
|
|
167986
167992
|
2089,
|
|
167987
167993
|
2069
|
|
167988
167994
|
/* KeyCode.Digit0 */
|
|
@@ -168004,7 +168010,7 @@ class HJt extends uo {
|
|
|
168004
168010
|
precondition: Wr,
|
|
168005
168011
|
kbOpts: {
|
|
168006
168012
|
kbExpr: H.editorTextFocus,
|
|
168007
|
-
primary:
|
|
168013
|
+
primary: xs(
|
|
168008
168014
|
2089,
|
|
168009
168015
|
2088
|
|
168010
168016
|
/* KeyCode.KeyJ */
|
|
@@ -168114,7 +168120,7 @@ class GJt extends uo {
|
|
|
168114
168120
|
precondition: Wr,
|
|
168115
168121
|
kbOpts: {
|
|
168116
168122
|
kbExpr: H.editorTextFocus,
|
|
168117
|
-
primary:
|
|
168123
|
+
primary: xs(
|
|
168118
168124
|
2089,
|
|
168119
168125
|
2135
|
|
168120
168126
|
/* KeyCode.Comma */
|
|
@@ -168160,7 +168166,7 @@ class jJt extends uo {
|
|
|
168160
168166
|
precondition: Wr,
|
|
168161
168167
|
kbOpts: {
|
|
168162
168168
|
kbExpr: H.editorTextFocus,
|
|
168163
|
-
primary:
|
|
168169
|
+
primary: xs(
|
|
168164
168170
|
2089,
|
|
168165
168171
|
2137
|
|
168166
168172
|
/* KeyCode.Period */
|
|
@@ -168234,7 +168240,7 @@ for (let n = 1; n <= 7; n++)
|
|
|
168234
168240
|
precondition: Wr,
|
|
168235
168241
|
kbOpts: {
|
|
168236
168242
|
kbExpr: H.editorTextFocus,
|
|
168237
|
-
primary:
|
|
168243
|
+
primary: xs(2089, 2048 | 21 + n),
|
|
168238
168244
|
weight: 100
|
|
168239
168245
|
/* KeybindingWeight.EditorContrib */
|
|
168240
168246
|
}
|
|
@@ -168536,7 +168542,7 @@ async function eQt(n, e, t, i, s, r) {
|
|
|
168536
168542
|
async function tQt(n, e, t, i, s, r) {
|
|
168537
168543
|
const o = e.documentRangeFormattingEditProvider.ordered(t);
|
|
168538
168544
|
for (const a of o) {
|
|
168539
|
-
const l = await Promise.resolve(a.provideDocumentRangeFormattingEdits(t, i, s, r)).catch(
|
|
168545
|
+
const l = await Promise.resolve(a.provideDocumentRangeFormattingEdits(t, i, s, r)).catch(Ss);
|
|
168540
168546
|
if (sa(l))
|
|
168541
168547
|
return await n.computeMoreMinimalEdits(t.uri, l);
|
|
168542
168548
|
}
|
|
@@ -168544,14 +168550,14 @@ async function tQt(n, e, t, i, s, r) {
|
|
|
168544
168550
|
async function iQt(n, e, t, i, s) {
|
|
168545
168551
|
const r = BHe(e.documentFormattingEditProvider, e.documentRangeFormattingEditProvider, t);
|
|
168546
168552
|
for (const o of r) {
|
|
168547
|
-
const a = await Promise.resolve(o.provideDocumentFormattingEdits(t, i, s)).catch(
|
|
168553
|
+
const a = await Promise.resolve(o.provideDocumentFormattingEdits(t, i, s)).catch(Ss);
|
|
168548
168554
|
if (sa(a))
|
|
168549
168555
|
return await n.computeMoreMinimalEdits(t.uri, a);
|
|
168550
168556
|
}
|
|
168551
168557
|
}
|
|
168552
168558
|
function HHe(n, e, t, i, s, r, o) {
|
|
168553
168559
|
const a = e.onTypeFormattingEditProvider.ordered(t);
|
|
168554
|
-
return a.length === 0 || a[0].autoFormatTriggerCharacters.indexOf(s) < 0 ? Promise.resolve(void 0) : Promise.resolve(a[0].provideOnTypeFormattingEdits(t, i, s, r, o)).catch(
|
|
168560
|
+
return a.length === 0 || a[0].autoFormatTriggerCharacters.indexOf(s) < 0 ? Promise.resolve(void 0) : Promise.resolve(a[0].provideOnTypeFormattingEdits(t, i, s, r, o)).catch(Ss).then((l) => n.computeMoreMinimalEdits(t.uri, l));
|
|
168555
168561
|
}
|
|
168556
168562
|
Yt.registerCommand("_executeFormatRangeProvider", async function(n, ...e) {
|
|
168557
168563
|
const [t, i, s] = e;
|
|
@@ -168707,7 +168713,7 @@ class sQt extends Ae {
|
|
|
168707
168713
|
precondition: le.and(H.writable, H.hasDocumentSelectionFormattingProvider),
|
|
168708
168714
|
kbOpts: {
|
|
168709
168715
|
kbExpr: H.editorTextFocus,
|
|
168710
|
-
primary:
|
|
168716
|
+
primary: xs(
|
|
168711
168717
|
2089,
|
|
168712
168718
|
2084
|
|
168713
168719
|
/* KeyCode.KeyF */
|
|
@@ -168795,7 +168801,7 @@ class Xp extends $L {
|
|
|
168795
168801
|
for (const g of f || [])
|
|
168796
168802
|
Xp._makeOutlineElement(g, d);
|
|
168797
168803
|
return d;
|
|
168798
|
-
}, (f) => (
|
|
168804
|
+
}, (f) => (Ss(f), d)).then((f) => {
|
|
168799
168805
|
$L.empty(f) ? f.remove() : r._groups.set(u, f);
|
|
168800
168806
|
});
|
|
168801
168807
|
}), l = e.onDidChange(() => {
|
|
@@ -169178,7 +169184,7 @@ async function Rfe(n, e, t, i = XR.default, s = {
|
|
|
169178
169184
|
const b = new cr(), y = await _.provideCompletionItems(e, t, s, r);
|
|
169179
169185
|
v = g(_, y, b) || v;
|
|
169180
169186
|
} catch (b) {
|
|
169181
|
-
|
|
169187
|
+
Ss(b);
|
|
169182
169188
|
}
|
|
169183
169189
|
})), v || r.isCancellationRequested)
|
|
169184
169190
|
break;
|
|
@@ -169476,7 +169482,7 @@ let Mie = class {
|
|
|
169476
169482
|
parseEnterResult(e, t, i, s, r) {
|
|
169477
169483
|
if (r) {
|
|
169478
169484
|
let o = r.indentation;
|
|
169479
|
-
r.indentAction ===
|
|
169485
|
+
r.indentAction === Is.None || r.indentAction === Is.Indent ? o = r.indentation + r.appendText : r.indentAction === Is.IndentOutdent ? o = r.indentation : r.indentAction === Is.Outdent && (o = t.unshiftIndent(r.indentation) + r.appendText);
|
|
169480
169486
|
const a = e.getLineContent(s);
|
|
169481
169487
|
if (this.trimStart(a).indexOf(this.trimStart(o)) >= 0) {
|
|
169482
169488
|
const l = ji(e.getLineContent(s));
|
|
@@ -169886,7 +169892,7 @@ const JB = class JB extends Ae {
|
|
|
169886
169892
|
precondition: H.writable,
|
|
169887
169893
|
kbOpts: {
|
|
169888
169894
|
kbExpr: H.editorTextFocus,
|
|
169889
|
-
primary:
|
|
169895
|
+
primary: xs(
|
|
169890
169896
|
2089,
|
|
169891
169897
|
2102
|
|
169892
169898
|
/* KeyCode.KeyX */
|
|
@@ -171413,7 +171419,7 @@ class QR {
|
|
|
171413
171419
|
return "";
|
|
171414
171420
|
const t = this.parts[this.parts.length - 1], i = e.substr(0, t.column - 1);
|
|
171415
171421
|
return new Ol([
|
|
171416
|
-
...this.parts.map((r) => new
|
|
171422
|
+
...this.parts.map((r) => new ys(P.fromPositions(new U(1, r.column)), r.lines.map((o) => o.line).join(`
|
|
171417
171423
|
`)))
|
|
171418
171424
|
]).applyToString(i).substring(this.parts[0].column - 1);
|
|
171419
171425
|
}
|
|
@@ -171472,7 +171478,7 @@ function gm(n, e, t) {
|
|
|
171472
171478
|
1
|
|
171473
171479
|
/* EndOfLinePreference.LF */
|
|
171474
171480
|
), 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());
|
|
171475
|
-
return new
|
|
171481
|
+
return new ys(c, l);
|
|
171476
171482
|
}
|
|
171477
171483
|
function QHe(n, e) {
|
|
171478
171484
|
return n.text.startsWith(e.text) && mei(n.range, e.range);
|
|
@@ -171487,7 +171493,7 @@ function LTe(n, e, t, i, s = 0) {
|
|
|
171487
171493
|
const o = e.getLineContent(r.range.startLineNumber), a = ji(o).length;
|
|
171488
171494
|
if (r.range.startColumn - 1 <= a) {
|
|
171489
171495
|
const g = ji(r.text).length, p = o.substring(r.range.startColumn - 1, a), [m, v] = [r.range.getStartPosition(), r.range.getEndPosition()], _ = m.column + p.length <= v.column ? m.delta(0, p.length) : v, b = P.fromPositions(_, v), y = r.text.startsWith(p) ? r.text.substring(p.length) : r.text.substring(g);
|
|
171490
|
-
r = new
|
|
171496
|
+
r = new ys(b, y);
|
|
171491
171497
|
}
|
|
171492
171498
|
const c = e.getValueInRange(r.range), h = vei(c, r.text);
|
|
171493
171499
|
if (!h)
|
|
@@ -172726,7 +172732,7 @@ function sze(n, e, t, i) {
|
|
|
172726
172732
|
}
|
|
172727
172733
|
class K2 extends nze {
|
|
172728
172734
|
static create(e, t) {
|
|
172729
|
-
const i = jei(t, e.range, e.insertText), s = new YC(t), r = Ol.fromStringEdit(i, s), o = i.isEmpty() ? new
|
|
172735
|
+
const i = jei(t, e.range, e.insertText), s = new YC(t), r = Ol.fromStringEdit(i, s), o = i.isEmpty() ? new ys(new P(1, 1, 1, 1), "") : r.toReplacement(s), a = new gV(), l = i.replacements.map((h) => {
|
|
172730
172736
|
const u = P.fromPositions(t.getPositionAt(h.replaceRange.start), t.getPositionAt(h.replaceRange.endExclusive)), d = t.getValueInRange(u);
|
|
172731
172737
|
return pV.create(h, d);
|
|
172732
172738
|
}), c = e.hint ? eP.create(e.hint) : void 0;
|
|
@@ -172968,7 +172974,7 @@ function Zei(n, e, t, i, s, r) {
|
|
|
172968
172974
|
var _;
|
|
172969
172975
|
return ((_ = v.yieldsToGroupIds) == null ? void 0 : _.flatMap((b) => u.get(b) ?? [])) ?? [];
|
|
172970
172976
|
}), { foundCycles: f } = d.removeCycles();
|
|
172971
|
-
f.length > 0 &&
|
|
172977
|
+
f.length > 0 && Ss(new Error(`Inline completions: cyclic yield-to dependency detected. Path: ${f.map((v) => v.toString ? v.toString() : "" + v).join(" -> ")}`));
|
|
172972
172978
|
let g = 0;
|
|
172973
172979
|
const p = new PJ(async (v) => {
|
|
172974
172980
|
try {
|
|
@@ -172982,7 +172988,7 @@ function Zei(n, e, t, i, s, r) {
|
|
|
172982
172988
|
if (T.isInlineEdit || typeof T.insertText != "string" && T.insertText !== void 0)
|
|
172983
172989
|
return;
|
|
172984
172990
|
if (T.insertText !== void 0) {
|
|
172985
|
-
const E = new
|
|
172991
|
+
const E = new ys(P.lift(T.range) ?? h, T.insertText);
|
|
172986
172992
|
if (sze(E, void 0, t, e))
|
|
172987
172993
|
return;
|
|
172988
172994
|
}
|
|
@@ -172993,7 +172999,7 @@ function Zei(n, e, t, i, s, r) {
|
|
|
172993
172999
|
try {
|
|
172994
173000
|
b = await v.provideInlineCompletions(t, e, c, a.token);
|
|
172995
173001
|
} catch (L) {
|
|
172996
|
-
|
|
173002
|
+
Ss(L);
|
|
172997
173003
|
return;
|
|
172998
173004
|
}
|
|
172999
173005
|
const w = Date.now();
|
|
@@ -174099,20 +174105,20 @@ let Kie = class extends q {
|
|
|
174099
174105
|
try {
|
|
174100
174106
|
if (e.pushUndoStop(), !i)
|
|
174101
174107
|
if (t.snippetInfo) {
|
|
174102
|
-
const o =
|
|
174108
|
+
const o = ys.delete(t.editRange), a = t.additionalTextEdits.map((c) => new ys(P.lift(c.range), c.text ?? "")), l = Ol.fromParallelReplacementsUnsorted([o, ...a]);
|
|
174103
174109
|
e.edit(l, this._getMetadata(t, this.textModel.getLanguageId())), e.setPosition(t.snippetInfo.range.getStartPosition(), "inlineCompletionAccept"), (r = oa.get(e)) == null || r.insert(t.snippetInfo.snippet, { undoStopBefore: !1 });
|
|
174104
174110
|
} else {
|
|
174105
174111
|
const o = s.edits;
|
|
174106
174112
|
let a = o;
|
|
174107
174113
|
s.kind === "ghostText" && (a = cei(o, this.textModel));
|
|
174108
|
-
const l = CTe(a).map((u) => Ne.fromPositions(u)), c = t.additionalTextEdits.map((u) => new
|
|
174114
|
+
const l = CTe(a).map((u) => Ne.fromPositions(u)), c = t.additionalTextEdits.map((u) => new ys(P.lift(u.range), u.text ?? "")), h = Ol.fromParallelReplacementsUnsorted([...o, ...c]);
|
|
174109
174115
|
if (e.edit(h, this._getMetadata(t, this.textModel.getLanguageId())), t.hint === void 0 && e.setSelections(s.kind === "inlineEdit" ? l.slice(-1) : l, "inlineCompletionAccept"), s.kind === "inlineEdit" && !this._accessibilityService.isMotionReduced()) {
|
|
174110
174116
|
const u = h.getNewRanges(), d = this._store.add(new pti(e, u, () => {
|
|
174111
174117
|
this._store.delete(d);
|
|
174112
174118
|
}));
|
|
174113
174119
|
}
|
|
174114
174120
|
}
|
|
174115
|
-
this._onDidAccept.fire(), this.stop(), t.command && await this._commandService.executeCommand(t.command.id, ...t.command.arguments || []).then(void 0,
|
|
174121
|
+
this._onDidAccept.fire(), this.stop(), t.command && await this._commandService.executeCommand(t.command.id, ...t.command.arguments || []).then(void 0, Ss), t.reportEndOfLife({ kind: HC.Accepted });
|
|
174116
174122
|
} finally {
|
|
174117
174123
|
t.removeRef(), this._inAcceptFlow.set(!0, void 0), this._lastAcceptedInlineCompletionInfo = { textModelVersionIdAfter: this.textModel.getVersionId(), inlineCompletion: t };
|
|
174118
174124
|
}
|
|
@@ -174166,7 +174172,7 @@ let Kie = class extends q {
|
|
|
174166
174172
|
this._isAcceptingPartially = !0;
|
|
174167
174173
|
try {
|
|
174168
174174
|
e.pushUndoStop();
|
|
174169
|
-
const _ = P.fromPositions(g, c), b = e.getModel().getValueInRange(_) + d, y = new
|
|
174175
|
+
const _ = P.fromPositions(g, c), b = e.getModel().getValueInRange(_) + d, y = new ys(_, b), w = [y, ...iY(this.textModel, f, y)].filter(mr), S = CTe(w).map((x) => Ne.fromPositions(x));
|
|
174170
174176
|
e.edit(Ol.fromParallelReplacementsUnsorted(w), this._getMetadata(a, t)), e.setSelections(S, "inlineCompletionPartialAccept"), e.revealPositionInCenterIfOutsideViewport(
|
|
174171
174177
|
e.getPosition(),
|
|
174172
174178
|
1
|
|
@@ -175828,7 +175834,7 @@ let ine = (L0 = class {
|
|
|
175828
175834
|
136
|
|
175829
175835
|
/* EditorOption.suggestLineHeight */
|
|
175830
175836
|
)) && this._list.splice(0, this._list.length, this._completionModel.items);
|
|
175831
|
-
})), this._ctxSuggestWidgetVisible = Dt.Visible.bindTo(i), this._ctxSuggestWidgetDetailsVisible = Dt.DetailsVisible.bindTo(i), this._ctxSuggestWidgetMultipleSuggestions = Dt.MultipleSuggestions.bindTo(i), this._ctxSuggestWidgetHasFocusedSuggestion = Dt.HasFocusedSuggestion.bindTo(i), this._disposables.add(
|
|
175837
|
+
})), this._ctxSuggestWidgetVisible = Dt.Visible.bindTo(i), this._ctxSuggestWidgetDetailsVisible = Dt.DetailsVisible.bindTo(i), this._ctxSuggestWidgetMultipleSuggestions = Dt.MultipleSuggestions.bindTo(i), this._ctxSuggestWidgetHasFocusedSuggestion = Dt.HasFocusedSuggestion.bindTo(i), this._disposables.add(fs(this._details.widget.domNode, "keydown", (d) => {
|
|
175832
175838
|
this._onDetailsKeydown.fire(d);
|
|
175833
175839
|
})), this._disposables.add(this.editor.onMouseDown((d) => this._onEditorMouseDown(d)));
|
|
175834
175840
|
}
|
|
@@ -176428,7 +176434,7 @@ let Md = (jw = class {
|
|
|
176428
176434
|
else {
|
|
176429
176435
|
const p = new cr();
|
|
176430
176436
|
a.push(this._commandService.executeCommand(o.completion.command.id, ...o.completion.command.arguments ? [...o.completion.command.arguments] : []).catch((m) => {
|
|
176431
|
-
o.completion.extensionId ?
|
|
176437
|
+
o.completion.extensionId ? Ss(m) : ht(m);
|
|
176432
176438
|
}).finally(() => {
|
|
176433
176439
|
u = p.elapsed();
|
|
176434
176440
|
}));
|
|
@@ -177036,7 +177042,7 @@ class tM {
|
|
|
177036
177042
|
return new vFe(this.range, this.insertText, this.completionItemKind, this.isSnippetText);
|
|
177037
177043
|
}
|
|
177038
177044
|
getSingleTextEdit() {
|
|
177039
|
-
return new
|
|
177045
|
+
return new ys(this.range, this.insertText);
|
|
177040
177046
|
}
|
|
177041
177047
|
}
|
|
177042
177048
|
function Gti(n, e) {
|
|
@@ -178379,7 +178385,7 @@ let Hu = (Kw = class extends q {
|
|
|
178379
178385
|
textElement: o
|
|
178380
178386
|
} : null;
|
|
178381
178387
|
}, s = this._stickyScrollWidget.getDomNode();
|
|
178382
|
-
this._register(
|
|
178388
|
+
this._register(fs(s, _e.CLICK, (r) => {
|
|
178383
178389
|
if (r.ctrlKey || r.altKey || r.metaKey || !r.leftButton)
|
|
178384
178390
|
return;
|
|
178385
178391
|
if (r.shiftKey) {
|
|
@@ -178647,7 +178653,7 @@ function U$(n) {
|
|
|
178647
178653
|
function th(n, e) {
|
|
178648
178654
|
let t;
|
|
178649
178655
|
typeof n == "string" ? t = lY(n, e) : t = n.map((s, r) => lY(s, e).read(r));
|
|
178650
|
-
const i = lY(
|
|
178656
|
+
const i = lY(gs, e);
|
|
178651
178657
|
return t.map((s, r) => (
|
|
178652
178658
|
/** @description makeOpaque */
|
|
178653
178659
|
s.makeOpaque(i.read(r))
|
|
@@ -178770,7 +178776,7 @@ function Cii(n, e, t) {
|
|
|
178770
178776
|
const i = Zl(n), s = [], r = gFe(e.mapToLineArray((o) => yii(i[o - 1], t)), Wl);
|
|
178771
178777
|
return e.forEach((o) => {
|
|
178772
178778
|
const a = wii(i[o - 1], r, t);
|
|
178773
|
-
s.push(new
|
|
178779
|
+
s.push(new ys(bii(new Ve(0, a), new U(o, 1)), ""));
|
|
178774
178780
|
}), new Ol(s);
|
|
178775
178781
|
}
|
|
178776
178782
|
class une {
|
|
@@ -179516,7 +179522,7 @@ let mne = class extends q {
|
|
|
179516
179522
|
}
|
|
179517
179523
|
return {
|
|
179518
179524
|
border: th(d, s).read(u).toString(),
|
|
179519
|
-
background: me(
|
|
179525
|
+
background: me(gs)
|
|
179520
179526
|
};
|
|
179521
179527
|
}), a = t.map((h) => h ? this.getState(h) : void 0), l = a.map((h) => h ? this.getRendering(h, o) : void 0);
|
|
179522
179528
|
this.minEditorScrollHeight = oe(this, (h) => {
|
|
@@ -179678,7 +179684,7 @@ class Fii extends q {
|
|
|
179678
179684
|
style: {
|
|
179679
179685
|
...d.read(a).toStyles(),
|
|
179680
179686
|
borderRadius: `${fY}px`,
|
|
179681
|
-
border: `${dY + u}px solid ${me(
|
|
179687
|
+
border: `${dY + u}px solid ${me(gs)}`,
|
|
179682
179688
|
boxSizing: "border-box"
|
|
179683
179689
|
}
|
|
179684
179690
|
}),
|
|
@@ -179696,7 +179702,7 @@ class Fii extends q {
|
|
|
179696
179702
|
class: "originalOverlayHiderDeletion",
|
|
179697
179703
|
style: {
|
|
179698
179704
|
...c.read(a).toStyles(),
|
|
179699
|
-
backgroundColor: me(
|
|
179705
|
+
backgroundColor: me(gs)
|
|
179700
179706
|
}
|
|
179701
179707
|
})
|
|
179702
179708
|
];
|
|
@@ -179824,7 +179830,7 @@ let vne = class extends q {
|
|
|
179824
179830
|
style: {
|
|
179825
179831
|
...u.read(o).toStyles(),
|
|
179826
179832
|
borderRadius: gY,
|
|
179827
|
-
border: `${ZI + c}px solid ${me(
|
|
179833
|
+
border: `${ZI + c}px solid ${me(gs)}`,
|
|
179828
179834
|
boxSizing: "border-box"
|
|
179829
179835
|
}
|
|
179830
179836
|
}),
|
|
@@ -179842,7 +179848,7 @@ let vne = class extends q {
|
|
|
179842
179848
|
class: "originalOverlayHiderInsertion",
|
|
179843
179849
|
style: {
|
|
179844
179850
|
...l.toStyles(),
|
|
179845
|
-
backgroundColor: me(
|
|
179851
|
+
backgroundColor: me(gs)
|
|
179846
179852
|
}
|
|
179847
179853
|
})
|
|
179848
179854
|
];
|
|
@@ -179982,7 +179988,7 @@ let _ne = class extends q {
|
|
|
179982
179988
|
position: "absolute",
|
|
179983
179989
|
...fh((p) => l.read(p).background.translateX(-u).withMargin(d)),
|
|
179984
179990
|
borderRadius: "4px",
|
|
179985
|
-
border: `${d + 1}px solid ${me(
|
|
179991
|
+
border: `${d + 1}px solid ${me(gs)}`,
|
|
179986
179992
|
boxSizing: "border-box",
|
|
179987
179993
|
pointerEvents: "none"
|
|
179988
179994
|
}
|
|
@@ -180005,7 +180011,7 @@ let _ne = class extends q {
|
|
|
180005
180011
|
position: "absolute",
|
|
180006
180012
|
...fh((p) => l.read(p).lowerBackground.translateX(-u)),
|
|
180007
180013
|
borderRadius: "0 0 4px 4px",
|
|
180008
|
-
background: me(
|
|
180014
|
+
background: me(gs),
|
|
180009
180015
|
boxShadow: `${me(qz)} 0 6px 6px -6px`,
|
|
180010
180016
|
border: `1px solid ${me(f)}`,
|
|
180011
180017
|
boxSizing: "border-box",
|
|
@@ -180256,7 +180262,7 @@ let SV = class extends q {
|
|
|
180256
180262
|
return new une().moveTo(h.codeRect.getRightTop()).lineTo(h.codeRect.getRightTop().deltaX(1e3)).lineTo(h.codeRect.getRightBottom().deltaX(1e3)).lineTo(h.codeRect.getRightBottom()).build();
|
|
180257
180263
|
}),
|
|
180258
180264
|
style: {
|
|
180259
|
-
fill: v9e(
|
|
180265
|
+
fill: v9e(gs, "transparent")
|
|
180260
180266
|
}
|
|
180261
180267
|
})
|
|
180262
180268
|
]).keepUpdated(this._store), this._originalOverlay = yt.div({
|
|
@@ -180265,7 +180271,7 @@ let SV = class extends q {
|
|
|
180265
180271
|
const h = Kg(this._previewEditorLayoutInfo).read(c);
|
|
180266
180272
|
if (!h)
|
|
180267
180273
|
return;
|
|
180268
|
-
const u = l.read(c), d = U$(this._tabAction).map((S) => `${ed}px solid ${me(S)}`), f = `${ed + u}px solid ${me(
|
|
180274
|
+
const u = l.read(c), d = U$(this._tabAction).map((S) => `${ed}px solid ${me(S)}`), f = `${ed + u}px solid ${me(gs)}`, g = h.read(c).codeScrollLeft !== 0, p = h.map((S) => S.codeRect.bottom < S.editRect.bottom), m = Lp * 2 + ed * 2, v = h.map((S) => zi.fromLeftTopRightBottom(S.contentLeft - Lp - ed, S.codeRect.top, S.contentLeft, S.codeRect.bottom + m)).read(c), _ = new Ve(v.left, Number.MAX_SAFE_INTEGER), b = h.map((S) => S.codeRect.intersectHorizontal(_)), y = b.map((S) => S.withMargin(u, 0, u, u).intersectHorizontal(_)), w = b.map((S) => zi.fromLeftTopWidthHeight(S.right - m + ed, S.bottom - ed, m, m).intersectHorizontal(_));
|
|
180269
180275
|
return [
|
|
180270
180276
|
yt.div({
|
|
180271
180277
|
class: "originalSeparatorSideBySide",
|
|
@@ -180321,7 +180327,7 @@ let SV = class extends q {
|
|
|
180321
180327
|
borderTop: d,
|
|
180322
180328
|
borderRight: d,
|
|
180323
180329
|
borderRadius: "0 100% 0 0",
|
|
180324
|
-
backgroundColor: me(
|
|
180330
|
+
backgroundColor: me(gs)
|
|
180325
180331
|
}
|
|
180326
180332
|
})
|
|
180327
180333
|
]),
|
|
@@ -180329,7 +180335,7 @@ let SV = class extends q {
|
|
|
180329
180335
|
class: "originalOverlaySideBySideHider",
|
|
180330
180336
|
style: {
|
|
180331
180337
|
...v.toStyles(),
|
|
180332
|
-
backgroundColor: me(
|
|
180338
|
+
backgroundColor: me(gs)
|
|
180333
180339
|
}
|
|
180334
180340
|
})
|
|
180335
180341
|
];
|
|
@@ -180339,7 +180345,7 @@ let SV = class extends q {
|
|
|
180339
180345
|
const h = Kg(this._previewEditorLayoutInfo).read(c);
|
|
180340
180346
|
if (!h)
|
|
180341
180347
|
return;
|
|
180342
|
-
const u = h.map((b) => b.codeRect.bottom < b.editRect.bottom), d = l.read(c), f = u.map((b) => `0 ${Lp}px ${Lp}px ${b ? Lp : 0}px`), g = th(nP(this._tabAction), this._themeService).map((b) => `1px solid ${b.toString()}`), p = `${ed + d}px solid ${me(
|
|
180348
|
+
const u = h.map((b) => b.codeRect.bottom < b.editRect.bottom), d = l.read(c), f = u.map((b) => `0 ${Lp}px ${Lp}px ${b ? Lp : 0}px`), g = th(nP(this._tabAction), this._themeService).map((b) => `1px solid ${b.toString()}`), p = `${ed + d}px solid ${me(gs)}`, m = h.map((b) => b.editRect.withMargin(0, ed)), v = m.map((b) => b.withMargin(d, d, d, 0)), _ = oe(this, (b) => {
|
|
180343
180349
|
const y = m.read(b), w = h.read(b);
|
|
180344
180350
|
return !w.isInsertion || w.contentLeft >= y.left ? zi.fromLeftTopWidthHeight(y.left, y.top, 0, 0) : new zi(w.contentLeft, y.top, y.left, y.top + ed * 2);
|
|
180345
180351
|
});
|
|
@@ -180476,7 +180482,7 @@ let jL = (aD = class extends q {
|
|
|
180476
180482
|
style: {
|
|
180477
180483
|
position: "absolute",
|
|
180478
180484
|
...fh((h) => a.read(h).lowerBackground.withMargin(Dp, 2 * Dp, Dp, 0)),
|
|
180479
|
-
background: me(
|
|
180485
|
+
background: me(gs),
|
|
180480
180486
|
//boxShadow: `${asCssVariable(scrollbarShadow)} 0 6px 6px -6px`,
|
|
180481
180487
|
cursor: "pointer",
|
|
180482
180488
|
pointerEvents: "auto"
|
|
@@ -180513,7 +180519,7 @@ let jL = (aD = class extends q {
|
|
|
180513
180519
|
display: "flex",
|
|
180514
180520
|
justifyContent: "center",
|
|
180515
180521
|
alignItems: "center",
|
|
180516
|
-
outline: `2px solid ${me(
|
|
180522
|
+
outline: `2px solid ${me(gs)}`
|
|
180517
180523
|
}
|
|
180518
180524
|
}, [this._line]),
|
|
180519
180525
|
yt.div({
|
|
@@ -180864,7 +180870,7 @@ let bne = class extends q {
|
|
|
180864
180870
|
return di.InsertionMultiLine;
|
|
180865
180871
|
if (h.every((_) => Xs.ofRange(_.originalRange).columnCount < jL.MAX_LENGTH && Xs.ofRange(_.modifiedRange).columnCount < jL.MAX_LENGTH) && u && l === 1 && c === 1) {
|
|
180866
180872
|
const _ = h.map((y) => s.getValueOfRange(y.modifiedRange)), b = h.map((y) => e.inlineEdit.originalText.getValueOfRange(y.originalRange));
|
|
180867
|
-
if (!_.some((y) => y.includes(" ")) && !b.some((y) => y.includes(" ")) && (!h.some((y) => y.originalRange.isEmpty()) || !pEe(h.map((y) => new
|
|
180873
|
+
if (!_.some((y) => y.includes(" ")) && !b.some((y) => y.includes(" ")) && (!h.some((y) => y.originalRange.isEmpty()) || !pEe(h.map((y) => new ys(y.originalRange, "")), r.originalText).some((y) => y.range.isEmpty() && Xs.ofRange(y.range).columnCount < jL.MAX_LENGTH)))
|
|
180868
180874
|
return di.WordReplacements;
|
|
180869
180875
|
}
|
|
180870
180876
|
}
|
|
@@ -180931,7 +180937,7 @@ let bne = class extends q {
|
|
|
180931
180937
|
viewData: d
|
|
180932
180938
|
};
|
|
180933
180939
|
}
|
|
180934
|
-
const f = c.map((g) => new
|
|
180940
|
+
const f = c.map((g) => new ys(g.originalRange, g.modified));
|
|
180935
180941
|
if (f.length !== 0) {
|
|
180936
180942
|
if (o === di.WordReplacements) {
|
|
180937
180943
|
let g = tni(f, r.originalText);
|
|
@@ -181015,8 +181021,8 @@ function wze(n, e, t) {
|
|
|
181015
181021
|
if (s(u[a]) || a < o)
|
|
181016
181022
|
for (; s(u[a + 1]); )
|
|
181017
181023
|
c += u[a + 1], a++;
|
|
181018
|
-
let d = new
|
|
181019
|
-
i.length > 0 && P.areIntersectingOrTouching(i[i.length - 1].range, d.range) && (d =
|
|
181024
|
+
let d = new ys(new P(r.range.startLineNumber, o + 1, r.range.endLineNumber, a + 2), l + r.text + c);
|
|
181025
|
+
i.length > 0 && P.areIntersectingOrTouching(i[i.length - 1].range, d.range) && (d = ys.joinReplacements([i.pop(), d], e)), i.push(d);
|
|
181020
181026
|
}
|
|
181021
181027
|
function s(r) {
|
|
181022
181028
|
return r === void 0 ? !1 : t(r);
|
|
@@ -181073,7 +181079,7 @@ let yne = (Yw = class extends q {
|
|
|
181073
181079
|
return;
|
|
181074
181080
|
const u = h.replacements.map((p) => {
|
|
181075
181081
|
const m = P.fromPositions(c.getPositionAt(p.replaceRange.start), c.getPositionAt(p.replaceRange.endExclusive));
|
|
181076
|
-
return new
|
|
181082
|
+
return new ys(m, p.newText);
|
|
181077
181083
|
}), d = new Ol(u), f = new YC(c);
|
|
181078
181084
|
return new cze(f, d, a.primaryPosition.read(void 0), a.allPositions.read(void 0), l.commands, l.inlineCompletion);
|
|
181079
181085
|
}), this._inlineEditModel = oe(this, (o) => {
|
|
@@ -182113,7 +182119,7 @@ class Cni extends Ae {
|
|
|
182113
182119
|
precondition: void 0,
|
|
182114
182120
|
kbOpts: {
|
|
182115
182121
|
kbExpr: H.editorTextFocus,
|
|
182116
|
-
primary:
|
|
182122
|
+
primary: xs(
|
|
182117
182123
|
2089,
|
|
182118
182124
|
2087
|
|
182119
182125
|
/* KeyCode.KeyI */
|
|
@@ -182449,7 +182455,7 @@ let Ene = (Xw = class extends q {
|
|
|
182449
182455
|
59
|
|
182450
182456
|
/* EditorOption.fontInfo */
|
|
182451
182457
|
) && this._updateFont();
|
|
182452
|
-
})), this._register(
|
|
182458
|
+
})), this._register(fs(this._hover.containerDomNode, "mouseleave", (i) => {
|
|
182453
182459
|
this._onMouseLeave(i);
|
|
182454
182460
|
})), this._editor.addOverlayWidget(this);
|
|
182455
182461
|
}
|
|
@@ -183483,7 +183489,7 @@ function Lze(n, e, t, i) {
|
|
|
183483
183489
|
try {
|
|
183484
183490
|
return await r.provideLinkedEditingRanges(e, t, i);
|
|
183485
183491
|
} catch (o) {
|
|
183486
|
-
|
|
183492
|
+
Ss(o);
|
|
183487
183493
|
return;
|
|
183488
183494
|
}
|
|
183489
183495
|
}), (r) => !!r && sa(r == null ? void 0 : r.ranges));
|
|
@@ -183564,7 +183570,7 @@ async function Dze(n, e, t) {
|
|
|
183564
183570
|
const l = await o.provideLinks(e, t);
|
|
183565
183571
|
l && (i[a] = [l, o]);
|
|
183566
183572
|
} catch (l) {
|
|
183567
|
-
|
|
183573
|
+
Ss(l);
|
|
183568
183574
|
}
|
|
183569
183575
|
});
|
|
183570
183576
|
await Promise.all(s);
|
|
@@ -184531,7 +184537,7 @@ class Fsi extends FE {
|
|
|
184531
184537
|
precondition: void 0,
|
|
184532
184538
|
kbOpts: {
|
|
184533
184539
|
kbExpr: H.focus,
|
|
184534
|
-
primary:
|
|
184540
|
+
primary: xs(
|
|
184535
184541
|
2089,
|
|
184536
184542
|
2082
|
|
184537
184543
|
/* KeyCode.KeyD */
|
|
@@ -184825,7 +184831,7 @@ async function Eze(n, e, t, i, s) {
|
|
|
184825
184831
|
if (a)
|
|
184826
184832
|
return a;
|
|
184827
184833
|
} catch (a) {
|
|
184828
|
-
|
|
184834
|
+
Ss(a);
|
|
184829
184835
|
}
|
|
184830
184836
|
}
|
|
184831
184837
|
Yt.registerCommand("_executeSignatureHelpProvider", async (n, ...e) => {
|
|
@@ -186817,7 +186823,7 @@ async function Yfe(n, e, t, i) {
|
|
|
186817
186823
|
try {
|
|
186818
186824
|
a = await o.provideDocumentRangeSemanticTokens(e, t, i);
|
|
186819
186825
|
} catch (l) {
|
|
186820
|
-
|
|
186826
|
+
Ss(l), a = null;
|
|
186821
186827
|
}
|
|
186822
186828
|
return (!a || !q$(a)) && (a = null), new vri(o, a);
|
|
186823
186829
|
}));
|
|
@@ -186906,7 +186912,7 @@ var Oze = function(n, e, t, i) {
|
|
|
186906
186912
|
}, r_;
|
|
186907
186913
|
let qne = class extends q {
|
|
186908
186914
|
constructor(e, t, i, s, r, o) {
|
|
186909
|
-
super(), this._watchers = new
|
|
186915
|
+
super(), this._watchers = new ps();
|
|
186910
186916
|
const a = (h) => {
|
|
186911
186917
|
var u;
|
|
186912
186918
|
(u = this._watchers.get(h.uri)) == null || u.dispose(), this._watchers.set(h.uri, new Kne(h, e, i, r, o));
|
|
@@ -187374,7 +187380,7 @@ async function Vze(n, e, t, i, s) {
|
|
|
187374
187380
|
for (const u of c[h])
|
|
187375
187381
|
P.isIRange(u.range) && P.containsPosition(u.range, t[h]) && a[h].push(P.lift(u.range));
|
|
187376
187382
|
}
|
|
187377
|
-
},
|
|
187383
|
+
}, Ss));
|
|
187378
187384
|
return await Promise.all(o), a.map((l) => {
|
|
187379
187385
|
if (l.length === 0)
|
|
187380
187386
|
return [];
|
|
@@ -188693,7 +188699,7 @@ function soi(n, e) {
|
|
|
188693
188699
|
return o.length && (s.allPaths = o), s;
|
|
188694
188700
|
}
|
|
188695
188701
|
function PEe(n, e, t, i) {
|
|
188696
|
-
const s = Bd ===
|
|
188702
|
+
const s = Bd === Es.sep, r = s ? n : n.replace(Yri, Bd), o = Bd + r, a = Es.sep + n;
|
|
188697
188703
|
let l;
|
|
188698
188704
|
return t ? l = function(c, h) {
|
|
188699
188705
|
return typeof c == "string" && (i.equals(c, r) || i.endsWith(c, o) || !s && (i.equals(c, n) || i.endsWith(c, a))) ? e : null;
|
|
@@ -188919,7 +188925,7 @@ class OEe {
|
|
|
188919
188925
|
})) : Promise.resolve(s);
|
|
188920
188926
|
}
|
|
188921
188927
|
provideMultiDocumentHighlights(e, t, i, s) {
|
|
188922
|
-
const r = new
|
|
188928
|
+
const r = new ps(), o = e.getWordAtPosition({
|
|
188923
188929
|
lineNumber: t.lineNumber,
|
|
188924
188930
|
column: t.column
|
|
188925
188931
|
});
|
|
@@ -188958,19 +188964,19 @@ var Kze = function(n, e, t, i) {
|
|
|
188958
188964
|
const ige = new Te("hasWordHighlights", !1);
|
|
188959
188965
|
function Yze(n, e, t, i) {
|
|
188960
188966
|
const s = n.ordered(e);
|
|
188961
|
-
return Mhe(s.map((r) => () => Promise.resolve(r.provideDocumentHighlights(e, t, i)).then(void 0,
|
|
188967
|
+
return Mhe(s.map((r) => () => Promise.resolve(r.provideDocumentHighlights(e, t, i)).then(void 0, Ss)), (r) => r != null).then((r) => {
|
|
188962
188968
|
if (r) {
|
|
188963
|
-
const o = new
|
|
188969
|
+
const o = new ps();
|
|
188964
188970
|
return o.set(e.uri, r), o;
|
|
188965
188971
|
}
|
|
188966
|
-
return new
|
|
188972
|
+
return new ps();
|
|
188967
188973
|
});
|
|
188968
188974
|
}
|
|
188969
188975
|
function doi(n, e, t, i, s) {
|
|
188970
188976
|
const r = n.ordered(e);
|
|
188971
188977
|
return Mhe(r.map((o) => () => {
|
|
188972
188978
|
const a = s.filter((l) => q7e(l)).filter((l) => tge(o.selector, l.uri, l.getLanguageId(), !0, void 0, void 0) > 0);
|
|
188973
|
-
return Promise.resolve(o.provideMultiDocumentHighlights(e, t, a, i)).then(void 0,
|
|
188979
|
+
return Promise.resolve(o.provideMultiDocumentHighlights(e, t, a, i)).then(void 0, Ss);
|
|
188974
188980
|
}), (o) => o != null);
|
|
188975
188981
|
}
|
|
188976
188982
|
class Xze {
|
|
@@ -188993,7 +188999,7 @@ class foi extends Xze {
|
|
|
188993
188999
|
super(e, t, i), this._providers = s;
|
|
188994
189000
|
}
|
|
188995
189001
|
_compute(e, t, i, s) {
|
|
188996
|
-
return Yze(this._providers, e, t.getPosition(), s).then((r) => r || new
|
|
189002
|
+
return Yze(this._providers, e, t.getPosition(), s).then((r) => r || new ps());
|
|
188997
189003
|
}
|
|
188998
189004
|
}
|
|
188999
189005
|
class goi extends Xze {
|
|
@@ -189001,7 +189007,7 @@ class goi extends Xze {
|
|
|
189001
189007
|
super(e, t, i), this._providers = s, this._otherModels = r;
|
|
189002
189008
|
}
|
|
189003
189009
|
_compute(e, t, i, s) {
|
|
189004
|
-
return doi(this._providers, e, t.getPosition(), s, this._otherModels).then((r) => r || new
|
|
189010
|
+
return doi(this._providers, e, t.getPosition(), s, this._otherModels).then((r) => r || new ps());
|
|
189005
189011
|
}
|
|
189006
189012
|
}
|
|
189007
189013
|
function poi(n, e, t, i) {
|
|
@@ -189017,7 +189023,7 @@ gl("_executeDocumentHighlights", async (n, e, t) => {
|
|
|
189017
189023
|
var k0;
|
|
189018
189024
|
let cse = (k0 = class {
|
|
189019
189025
|
constructor(e, t, i, s, r, o, a, l) {
|
|
189020
|
-
this.toUnhook = new ne(), this.workerRequestTokenId = 0, this.workerRequestCompleted = !1, this.workerRequestValue = new
|
|
189026
|
+
this.toUnhook = new ne(), this.workerRequestTokenId = 0, this.workerRequestCompleted = !1, this.workerRequestValue = new ps(), this.lastCursorPositionChangeTime = 0, this.renderDecorationsTimer = void 0, this.runDelayer = this.toUnhook.add(new Eh(50)), this.editor = e, this.providers = t, this.multiDocumentProviders = i, this.codeEditorService = o, this.textModelService = r, this.configurationService = a, this.logService = l, this._hasWordHighlights = ige.bindTo(s), this._ignorePositionChangeEvent = !1, this.occurrencesHighlightEnablement = this.editor.getOption(
|
|
189021
189027
|
90
|
|
189022
189028
|
/* EditorOption.occurrencesHighlight */
|
|
189023
189029
|
), this.occurrencesHighlightDelay = this.configurationService.getValue("editor.occurrencesHighlightDelay"), this.model = this.editor.getModel(), this.toUnhook.add(e.onDidChangeCursorPosition((c) => {
|
|
@@ -189283,7 +189289,7 @@ let cse = (k0 = class {
|
|
|
189283
189289
|
dispose() {
|
|
189284
189290
|
this._stopSingular(), this.toUnhook.dispose();
|
|
189285
189291
|
}
|
|
189286
|
-
}, zn = k0, k0.storedDecorationIDs = new
|
|
189292
|
+
}, zn = k0, k0.storedDecorationIDs = new ps(), k0.query = null, k0);
|
|
189287
189293
|
cse = zn = Kze([
|
|
189288
189294
|
eg(4, la),
|
|
189289
189295
|
eg(5, ti),
|
|
@@ -191319,7 +191325,7 @@ var r$e = function(n, e, t, i) {
|
|
|
191319
191325
|
return function(t, i) {
|
|
191320
191326
|
e(t, i, n);
|
|
191321
191327
|
};
|
|
191322
|
-
}, Rb,
|
|
191328
|
+
}, Rb, Rs, hg;
|
|
191323
191329
|
let xse = (hg = class extends uai {
|
|
191324
191330
|
constructor(e, t, i, s, r, o) {
|
|
191325
191331
|
super(Rb.PREFIX, e), this.keybindingService = i, this.commandService = s, this.telemetryService = r, this.dialogService = o, this.commandsHistory = this._register(t.createInstance(Lse)), this.options = e;
|
|
@@ -191464,11 +191470,11 @@ let Lse = (Ld = class extends q {
|
|
|
191464
191470
|
}));
|
|
191465
191471
|
}
|
|
191466
191472
|
updateConfiguration(e) {
|
|
191467
|
-
e && !e.affectsConfiguration("workbench.commandPalette.history") || (this.configuredCommandsHistoryLength =
|
|
191473
|
+
e && !e.affectsConfiguration("workbench.commandPalette.history") || (this.configuredCommandsHistoryLength = Rs.getConfiguredCommandHistoryLength(this.configurationService), Rs.cache && Rs.cache.limit !== this.configuredCommandsHistoryLength && (Rs.cache.limit = this.configuredCommandsHistoryLength, Rs.hasChanges = !0));
|
|
191468
191474
|
}
|
|
191469
191475
|
load() {
|
|
191470
191476
|
const e = this.storageService.get(
|
|
191471
|
-
|
|
191477
|
+
Rs.PREF_KEY_CACHE,
|
|
191472
191478
|
0
|
|
191473
191479
|
/* StorageScope.PROFILE */
|
|
191474
191480
|
);
|
|
@@ -191479,45 +191485,45 @@ let Lse = (Ld = class extends q {
|
|
|
191479
191485
|
} catch (s) {
|
|
191480
191486
|
this.logService.error(`[CommandsHistory] invalid data: ${s}`);
|
|
191481
191487
|
}
|
|
191482
|
-
const i =
|
|
191488
|
+
const i = Rs.cache = new qu(this.configuredCommandsHistoryLength, 1);
|
|
191483
191489
|
if (t) {
|
|
191484
191490
|
let s;
|
|
191485
191491
|
t.usesLRU ? s = t.entries : s = t.entries.sort((r, o) => r.value - o.value), s.forEach((r) => i.set(r.key, r.value));
|
|
191486
191492
|
}
|
|
191487
|
-
|
|
191493
|
+
Rs.counter = this.storageService.getNumber(Rs.PREF_KEY_COUNTER, 0, Rs.counter);
|
|
191488
191494
|
}
|
|
191489
191495
|
push(e) {
|
|
191490
|
-
|
|
191496
|
+
Rs.cache && (Rs.cache.set(e, Rs.counter++), Rs.hasChanges = !0);
|
|
191491
191497
|
}
|
|
191492
191498
|
peek(e) {
|
|
191493
191499
|
var t;
|
|
191494
|
-
return (t =
|
|
191500
|
+
return (t = Rs.cache) == null ? void 0 : t.peek(e);
|
|
191495
191501
|
}
|
|
191496
191502
|
saveState() {
|
|
191497
|
-
if (!
|
|
191503
|
+
if (!Rs.cache || !Rs.hasChanges)
|
|
191498
191504
|
return;
|
|
191499
191505
|
const e = { usesLRU: !0, entries: [] };
|
|
191500
|
-
|
|
191501
|
-
|
|
191506
|
+
Rs.cache.forEach((t, i) => e.entries.push({ key: i, value: t })), this.storageService.store(
|
|
191507
|
+
Rs.PREF_KEY_CACHE,
|
|
191502
191508
|
JSON.stringify(e),
|
|
191503
191509
|
0,
|
|
191504
191510
|
0
|
|
191505
191511
|
/* StorageTarget.USER */
|
|
191506
191512
|
), this.storageService.store(
|
|
191507
|
-
|
|
191508
|
-
|
|
191513
|
+
Rs.PREF_KEY_COUNTER,
|
|
191514
|
+
Rs.counter,
|
|
191509
191515
|
0,
|
|
191510
191516
|
0
|
|
191511
191517
|
/* StorageTarget.USER */
|
|
191512
|
-
),
|
|
191518
|
+
), Rs.hasChanges = !1;
|
|
191513
191519
|
}
|
|
191514
191520
|
static getConfiguredCommandHistoryLength(e) {
|
|
191515
191521
|
var s, r;
|
|
191516
191522
|
const i = (r = (s = e.getValue().workbench) == null ? void 0 : s.commandPalette) == null ? void 0 : r.history;
|
|
191517
|
-
return typeof i == "number" ? i :
|
|
191523
|
+
return typeof i == "number" ? i : Rs.DEFAULT_COMMANDS_HISTORY_LENGTH;
|
|
191518
191524
|
}
|
|
191519
|
-
},
|
|
191520
|
-
Lse =
|
|
191525
|
+
}, Rs = Ld, Ld.DEFAULT_COMMANDS_HISTORY_LENGTH = 50, Ld.PREF_KEY_CACHE = "commandPalette.mru.cache", Ld.PREF_KEY_COUNTER = "commandPalette.mru.counter", Ld.counter = 1, Ld.hasChanges = !1, Ld);
|
|
191526
|
+
Lse = Rs = r$e([
|
|
191521
191527
|
x_(0, ca),
|
|
191522
191528
|
x_(1, vt),
|
|
191523
191529
|
x_(2, rn)
|
|
@@ -191859,7 +191865,7 @@ const Iai = {
|
|
|
191859
191865
|
{ token: "predefined.sql", foreground: "C700C7" }
|
|
191860
191866
|
],
|
|
191861
191867
|
colors: {
|
|
191862
|
-
[
|
|
191868
|
+
[gs]: "#FFFFFE",
|
|
191863
191869
|
[Qg]: "#000000",
|
|
191864
191870
|
[L9e]: "#E5EBF1",
|
|
191865
191871
|
[EO]: "#D3D3D3",
|
|
@@ -191917,7 +191923,7 @@ const Iai = {
|
|
|
191917
191923
|
{ token: "predefined.sql", foreground: "FF00FF" }
|
|
191918
191924
|
],
|
|
191919
191925
|
colors: {
|
|
191920
|
-
[
|
|
191926
|
+
[gs]: "#1E1E1E",
|
|
191921
191927
|
[Qg]: "#D4D4D4",
|
|
191922
191928
|
[L9e]: "#3A3D41",
|
|
191923
191929
|
[EO]: "#404040",
|
|
@@ -191966,7 +191972,7 @@ const Iai = {
|
|
|
191966
191972
|
{ token: "predefined.sql", foreground: "FF00FF" }
|
|
191967
191973
|
],
|
|
191968
191974
|
colors: {
|
|
191969
|
-
[
|
|
191975
|
+
[gs]: "#000000",
|
|
191970
191976
|
[Qg]: "#FFFFFF",
|
|
191971
191977
|
[EO]: "#FFFFFF",
|
|
191972
191978
|
[IO]: "#FFFFFF"
|
|
@@ -192013,7 +192019,7 @@ const Iai = {
|
|
|
192013
192019
|
{ token: "predefined.sql", foreground: "C700C7" }
|
|
192014
192020
|
],
|
|
192015
192021
|
colors: {
|
|
192016
|
-
[
|
|
192022
|
+
[gs]: "#FFFFFF",
|
|
192017
192023
|
[Qg]: "#292929",
|
|
192018
192024
|
[EO]: "#292929",
|
|
192019
192025
|
[IO]: "#292929"
|
|
@@ -192468,7 +192474,7 @@ var wre;
|
|
|
192468
192474
|
})(wre || (wre = {}));
|
|
192469
192475
|
const d2 = class d2 {
|
|
192470
192476
|
static chord(e, t) {
|
|
192471
|
-
return
|
|
192477
|
+
return xs(e, t);
|
|
192472
192478
|
}
|
|
192473
192479
|
};
|
|
192474
192480
|
d2.CtrlCmd = 2048, d2.Shift = 1024, d2.Alt = 512, d2.WinCtrl = 256;
|
|
@@ -195946,11 +195952,11 @@ const f2 = class f2 extends q {
|
|
|
195946
195952
|
this.container.appendChild(this.view);
|
|
195947
195953
|
const r = new ne();
|
|
195948
195954
|
f2.BUBBLE_UP_EVENTS.forEach((o) => {
|
|
195949
|
-
r.add(
|
|
195955
|
+
r.add(fs(this.container, o, (a) => {
|
|
195950
195956
|
this.onDOMEvent(a, !1);
|
|
195951
195957
|
}));
|
|
195952
195958
|
}), f2.BUBBLE_DOWN_EVENTS.forEach((o) => {
|
|
195953
|
-
r.add(
|
|
195959
|
+
r.add(fs(this.container, o, (a) => {
|
|
195954
195960
|
this.onDOMEvent(a, !0);
|
|
195955
195961
|
}, !0));
|
|
195956
195962
|
}), this.toDisposeOnSetContainer = r;
|
|
@@ -196202,7 +196208,7 @@ let Fre = class extends q {
|
|
|
196202
196208
|
super(), this._instantiationService = e, this._configurationService = t, this._keybindingService = s, this._layoutService = r, this._accessibilityService = o, this._currentDelayedHoverWasShown = !1, this._delayedHovers = /* @__PURE__ */ new Map(), this._managedHovers = /* @__PURE__ */ new Map(), this._register(i.onDidShowContextMenu(() => this.hideHover())), this._contextViewHandler = this._register(new YV(this._layoutService)), this._register(wr.registerCommandAndKeybindingRule({
|
|
196203
196209
|
id: "workbench.action.showHover",
|
|
196204
196210
|
weight: 0,
|
|
196205
|
-
primary:
|
|
196211
|
+
primary: xs(
|
|
196206
196212
|
2089,
|
|
196207
196213
|
2087
|
|
196208
196214
|
/* KeyCode.KeyI */
|
|
@@ -196726,7 +196732,7 @@ class Yli {
|
|
|
196726
196732
|
}
|
|
196727
196733
|
class Z$ {
|
|
196728
196734
|
constructor(e, t, i, s, r, o, a, l, c, h) {
|
|
196729
|
-
this._defaultConfiguration = e, this._policyConfiguration = t, this._applicationConfiguration = i, this._localUserConfiguration = s, this._remoteUserConfiguration = r, this._workspaceConfiguration = o, this._folderConfigurations = a, this._memoryConfiguration = l, this._memoryConfigurationByResource = c, this.logService = h, this._workspaceConsolidatedConfiguration = null, this._foldersConsolidatedConfigurations = new
|
|
196735
|
+
this._defaultConfiguration = e, this._policyConfiguration = t, this._applicationConfiguration = i, this._localUserConfiguration = s, this._remoteUserConfiguration = r, this._workspaceConfiguration = o, this._folderConfigurations = a, this._memoryConfiguration = l, this._memoryConfigurationByResource = c, this.logService = h, this._workspaceConsolidatedConfiguration = null, this._foldersConsolidatedConfigurations = new ps(), this._userConfiguration = null;
|
|
196730
196736
|
}
|
|
196731
196737
|
getValue(e, t, i) {
|
|
196732
196738
|
return this.getConsolidatedConfigurationModel(e, t, i).getValue(e);
|
|
@@ -196840,8 +196846,8 @@ class Z$ {
|
|
|
196840
196846
|
};
|
|
196841
196847
|
}
|
|
196842
196848
|
static parse(e, t) {
|
|
196843
|
-
const i = this.parseConfigurationModel(e.defaults, t), s = this.parseConfigurationModel(e.policy, t), r = this.parseConfigurationModel(e.application, t), o = this.parseConfigurationModel(e.userLocal, t), a = this.parseConfigurationModel(e.userRemote, t), l = this.parseConfigurationModel(e.workspace, t), c = e.folders.reduce((h, u) => (h.set(je.revive(u[0]), this.parseConfigurationModel(u[1], t)), h), new
|
|
196844
|
-
return new Z$(i, s, r, o, a, l, c, Nr.createEmptyModel(t), new
|
|
196849
|
+
const i = this.parseConfigurationModel(e.defaults, t), s = this.parseConfigurationModel(e.policy, t), r = this.parseConfigurationModel(e.application, t), o = this.parseConfigurationModel(e.userLocal, t), a = this.parseConfigurationModel(e.userRemote, t), l = this.parseConfigurationModel(e.workspace, t), c = e.folders.reduce((h, u) => (h.set(je.revive(u[0]), this.parseConfigurationModel(u[1], t)), h), new ps());
|
|
196850
|
+
return new Z$(i, s, r, o, a, l, c, Nr.createEmptyModel(t), new ps(), t);
|
|
196845
196851
|
}
|
|
196846
196852
|
static parseConfigurationModel(e, t) {
|
|
196847
196853
|
return new Nr(e.contents, e.keys, e.overrides, e.raw, t);
|
|
@@ -197469,7 +197475,7 @@ function nci(n, e) {
|
|
|
197469
197475
|
filenameLowercase: n.filename ? n.filename.toLowerCase() : void 0,
|
|
197470
197476
|
extensionLowercase: n.extension ? n.extension.toLowerCase() : void 0,
|
|
197471
197477
|
filepatternLowercase: n.filepattern ? jze(n.filepattern.toLowerCase()) : void 0,
|
|
197472
|
-
filepatternOnPath: n.filepattern ? n.filepattern.indexOf(
|
|
197478
|
+
filepatternOnPath: n.filepattern ? n.filepattern.indexOf(Es.sep) >= 0 : !1
|
|
197473
197479
|
};
|
|
197474
197480
|
}
|
|
197475
197481
|
function sci() {
|
|
@@ -198662,7 +198668,7 @@ jre = uge([
|
|
|
198662
198668
|
], jre);
|
|
198663
198669
|
let qre = class {
|
|
198664
198670
|
constructor(e, t) {
|
|
198665
|
-
this._openers = new ta(), this._validators = new ta(), this._resolvers = new ta(), this._resolvedUriTargets = new
|
|
198671
|
+
this._openers = new ta(), this._validators = new ta(), this._resolvers = new ta(), this._resolvedUriTargets = new ps((i) => i.with({ path: null, fragment: null, query: null }).toString()), this._externalOpeners = new ta(), this._defaultExternalOpener = {
|
|
198666
198672
|
openExternal: async (i) => (BJ(i, tt.http, tt.https) ? L7e(i) : Ni.location.href = i, !0)
|
|
198667
198673
|
}, this._openers.push({
|
|
198668
198674
|
open: async (i, s) => s != null && s.openExternal || BJ(i, tt.mailto, tt.http, tt.https, tt.vsls) ? (await this._doOpenExternal(i, s), !0) : !1
|
|
@@ -198733,7 +198739,7 @@ var fci = function(n, e, t, i) {
|
|
|
198733
198739
|
};
|
|
198734
198740
|
let Kre = class extends q {
|
|
198735
198741
|
constructor(e, t) {
|
|
198736
|
-
super(), this._markerService = t, this._onDidChangeMarker = this._register(new j()), this._suppressedRanges = new
|
|
198742
|
+
super(), this._markerService = t, this._onDidChangeMarker = this._register(new j()), this._suppressedRanges = new ps(), this._markerDecorations = new ps(), e.getModels().forEach((i) => this._onModelAdded(i)), this._register(e.onModelAdded(this._onModelAdded, this)), this._register(e.onModelRemoved(this._onModelRemoved, this)), this._register(this._markerService.onMarkerChanged(this._handleMarkerChange, this));
|
|
198737
198743
|
}
|
|
198738
198744
|
dispose() {
|
|
198739
198745
|
super.dispose(), this._markerDecorations.forEach((e) => e.dispose()), this._markerDecorations.clear();
|
|
@@ -200078,7 +200084,7 @@ class I$e {
|
|
|
200078
200084
|
const t = /* @__PURE__ */ Object.create(null);
|
|
200079
200085
|
t.toDisposeElement = new ne(), t.toDisposeTemplate = new ne(), t.entry = fe(e, Pf(".quick-input-list-entry"));
|
|
200080
200086
|
const i = fe(t.entry, Pf("label.quick-input-list-label"));
|
|
200081
|
-
t.outerLabel = i, t.checkbox = t.toDisposeTemplate.add(new vi()), t.toDisposeTemplate.add(
|
|
200087
|
+
t.outerLabel = i, t.checkbox = t.toDisposeTemplate.add(new vi()), t.toDisposeTemplate.add(fs(i, _e.CLICK, (c) => {
|
|
200082
200088
|
if (t.checkbox.value && !c.defaultPrevented && t.checkbox.value.enabled) {
|
|
200083
200089
|
const h = !t.checkbox.value.checked;
|
|
200084
200090
|
t.checkbox.value.checked = h, t.element.checked = h;
|
|
@@ -202679,13 +202685,13 @@ const ghi = /* @__PURE__ */ new Set([
|
|
|
202679
202685
|
]);
|
|
202680
202686
|
class phi {
|
|
202681
202687
|
constructor() {
|
|
202682
|
-
this._byResource = new
|
|
202688
|
+
this._byResource = new ps(), this._byOwner = /* @__PURE__ */ new Map();
|
|
202683
202689
|
}
|
|
202684
202690
|
set(e, t, i) {
|
|
202685
202691
|
let s = this._byResource.get(e);
|
|
202686
202692
|
s || (s = /* @__PURE__ */ new Map(), this._byResource.set(e, s)), s.set(t, i);
|
|
202687
202693
|
let r = this._byOwner.get(t);
|
|
202688
|
-
r || (r = new
|
|
202694
|
+
r || (r = new ps(), this._byOwner.set(t, r)), r.set(e, i);
|
|
202689
202695
|
}
|
|
202690
202696
|
get(e, t) {
|
|
202691
202697
|
const i = this._byResource.get(e);
|
|
@@ -202707,7 +202713,7 @@ class phi {
|
|
|
202707
202713
|
}
|
|
202708
202714
|
class mhi {
|
|
202709
202715
|
constructor(e) {
|
|
202710
|
-
this.errors = 0, this.infos = 0, this.warnings = 0, this.unknowns = 0, this._data = new
|
|
202716
|
+
this.errors = 0, this.infos = 0, this.warnings = 0, this.unknowns = 0, this._data = new ps(), this._service = e, this._subscription = e.onMarkerChanged(this._update, this);
|
|
202711
202717
|
}
|
|
202712
202718
|
dispose() {
|
|
202713
202719
|
this._subscription.dispose();
|
|
@@ -202740,7 +202746,7 @@ class iy {
|
|
|
202740
202746
|
this._onMarkerChanged = new P8e({
|
|
202741
202747
|
delay: 0,
|
|
202742
202748
|
merge: iy._merge
|
|
202743
|
-
}), this.onMarkerChanged = this._onMarkerChanged.event, this._data = new phi(), this._stats = new mhi(this), this._filteredResources = new
|
|
202749
|
+
}), this.onMarkerChanged = this._onMarkerChanged.event, this._data = new phi(), this._stats = new mhi(this), this._filteredResources = new ps();
|
|
202744
202750
|
}
|
|
202745
202751
|
dispose() {
|
|
202746
202752
|
this._stats.dispose(), this._onMarkerChanged.dispose();
|
|
@@ -202788,7 +202794,7 @@ class iy {
|
|
|
202788
202794
|
o && (i.push(o.resource), this._data.delete(o.resource, e));
|
|
202789
202795
|
}
|
|
202790
202796
|
if (sa(t)) {
|
|
202791
|
-
const r = new
|
|
202797
|
+
const r = new ps();
|
|
202792
202798
|
for (const { resource: o, marker: a } of t) {
|
|
202793
202799
|
const l = iy._toMarker(e, o, a);
|
|
202794
202800
|
if (!l)
|
|
@@ -202853,7 +202859,7 @@ class iy {
|
|
|
202853
202859
|
}
|
|
202854
202860
|
// --- event debounce logic
|
|
202855
202861
|
static _merge(e) {
|
|
202856
|
-
const t = new
|
|
202862
|
+
const t = new ps();
|
|
202857
202863
|
for (const i of e)
|
|
202858
202864
|
for (const s of i)
|
|
202859
202865
|
t.set(s, !0);
|
|
@@ -202936,7 +202942,7 @@ var rp = function(n, e, t, i) {
|
|
|
202936
202942
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(n, e, t, i);
|
|
202937
202943
|
else for (var a = n.length - 1; a >= 0; a--) (o = n[a]) && (r = (s < 3 ? o(r) : s > 3 ? o(e, t, r) : o(e, t)) || r);
|
|
202938
202944
|
return s > 3 && r && Object.defineProperty(e, t, r), r;
|
|
202939
|
-
},
|
|
202945
|
+
}, ws = function(n, e) {
|
|
202940
202946
|
return function(t, i) {
|
|
202941
202947
|
e(t, i, n);
|
|
202942
202948
|
};
|
|
@@ -202962,7 +202968,7 @@ let voe = class {
|
|
|
202962
202968
|
}
|
|
202963
202969
|
};
|
|
202964
202970
|
voe = rp([
|
|
202965
|
-
|
|
202971
|
+
ws(0, En)
|
|
202966
202972
|
], voe);
|
|
202967
202973
|
const jW = class jW {
|
|
202968
202974
|
show() {
|
|
@@ -203072,7 +203078,7 @@ let boe = NM, yoe = class {
|
|
|
203072
203078
|
}
|
|
203073
203079
|
};
|
|
203074
203080
|
yoe = rp([
|
|
203075
|
-
|
|
203081
|
+
ws(0, Be)
|
|
203076
203082
|
], yoe);
|
|
203077
203083
|
let kT = class extends eci {
|
|
203078
203084
|
constructor(e, t, i, s, r, o) {
|
|
@@ -203170,12 +203176,12 @@ let kT = class extends eci {
|
|
|
203170
203176
|
}
|
|
203171
203177
|
};
|
|
203172
203178
|
kT = rp([
|
|
203173
|
-
|
|
203174
|
-
|
|
203175
|
-
|
|
203176
|
-
|
|
203177
|
-
|
|
203178
|
-
|
|
203179
|
+
ws(0, ot),
|
|
203180
|
+
ws(1, on),
|
|
203181
|
+
ws(2, Fo),
|
|
203182
|
+
ws(3, Zn),
|
|
203183
|
+
ws(4, rn),
|
|
203184
|
+
ws(5, ti)
|
|
203179
203185
|
], kT);
|
|
203180
203186
|
class xhi extends q {
|
|
203181
203187
|
constructor(e, t) {
|
|
@@ -203189,7 +203195,7 @@ let sB = class {
|
|
|
203189
203195
|
constructor(e) {
|
|
203190
203196
|
this.logService = e, this._onDidChangeConfiguration = new j(), this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
|
|
203191
203197
|
const t = new vhi(e);
|
|
203192
|
-
this._configuration = new Z$(t.reload(), Nr.createEmptyModel(e), Nr.createEmptyModel(e), Nr.createEmptyModel(e), Nr.createEmptyModel(e), Nr.createEmptyModel(e), new
|
|
203198
|
+
this._configuration = new Z$(t.reload(), Nr.createEmptyModel(e), Nr.createEmptyModel(e), Nr.createEmptyModel(e), Nr.createEmptyModel(e), Nr.createEmptyModel(e), new ps(), Nr.createEmptyModel(e), new ps(), e), t.dispose();
|
|
203193
203199
|
}
|
|
203194
203200
|
getValue(e, t) {
|
|
203195
203201
|
const i = typeof e == "string" ? e : void 0, s = OIe(e) ? e : OIe(t) ? t : {};
|
|
@@ -203215,7 +203221,7 @@ let sB = class {
|
|
|
203215
203221
|
}
|
|
203216
203222
|
};
|
|
203217
203223
|
sB = rp([
|
|
203218
|
-
|
|
203224
|
+
ws(0, rn)
|
|
203219
203225
|
], sB);
|
|
203220
203226
|
let woe = class {
|
|
203221
203227
|
constructor(e, t, i) {
|
|
@@ -203239,9 +203245,9 @@ let woe = class {
|
|
|
203239
203245
|
}
|
|
203240
203246
|
};
|
|
203241
203247
|
woe = rp([
|
|
203242
|
-
|
|
203243
|
-
|
|
203244
|
-
|
|
203248
|
+
ws(0, vt),
|
|
203249
|
+
ws(1, En),
|
|
203250
|
+
ws(2, Xn)
|
|
203245
203251
|
], woe);
|
|
203246
203252
|
let Coe = class {
|
|
203247
203253
|
constructor(e) {
|
|
@@ -203255,7 +203261,7 @@ let Coe = class {
|
|
|
203255
203261
|
}
|
|
203256
203262
|
};
|
|
203257
203263
|
Coe = rp([
|
|
203258
|
-
|
|
203264
|
+
ws(0, vt)
|
|
203259
203265
|
], Coe);
|
|
203260
203266
|
class Lhi {
|
|
203261
203267
|
publicLog2() {
|
|
@@ -203313,7 +203319,7 @@ let xoe = class {
|
|
|
203313
203319
|
}
|
|
203314
203320
|
};
|
|
203315
203321
|
xoe = rp([
|
|
203316
|
-
|
|
203322
|
+
ws(0, En)
|
|
203317
203323
|
], xoe);
|
|
203318
203324
|
class Dhi {
|
|
203319
203325
|
getUriLabel(e, t) {
|
|
@@ -203336,8 +203342,8 @@ let Loe = class extends zli {
|
|
|
203336
203342
|
}
|
|
203337
203343
|
};
|
|
203338
203344
|
Loe = rp([
|
|
203339
|
-
|
|
203340
|
-
|
|
203345
|
+
ws(0, ip),
|
|
203346
|
+
ws(1, ti)
|
|
203341
203347
|
], Loe);
|
|
203342
203348
|
class Thi {
|
|
203343
203349
|
constructor() {
|
|
@@ -203363,12 +203369,12 @@ let Doe = class extends $re {
|
|
|
203363
203369
|
}
|
|
203364
203370
|
};
|
|
203365
203371
|
Doe = rp([
|
|
203366
|
-
|
|
203367
|
-
|
|
203368
|
-
|
|
203369
|
-
|
|
203370
|
-
|
|
203371
|
-
|
|
203372
|
+
ws(0, Fo),
|
|
203373
|
+
ws(1, Zn),
|
|
203374
|
+
ws(2, Iv),
|
|
203375
|
+
ws(3, oi),
|
|
203376
|
+
ws(4, Ph),
|
|
203377
|
+
ws(5, ot)
|
|
203372
203378
|
], Doe);
|
|
203373
203379
|
const khi = {
|
|
203374
203380
|
esmModuleLocation: void 0,
|
|
@@ -203380,11 +203386,11 @@ let Toe = class extends Ere {
|
|
|
203380
203386
|
}
|
|
203381
203387
|
};
|
|
203382
203388
|
Toe = rp([
|
|
203383
|
-
|
|
203384
|
-
|
|
203385
|
-
|
|
203386
|
-
|
|
203387
|
-
|
|
203389
|
+
ws(0, En),
|
|
203390
|
+
ws(1, G$),
|
|
203391
|
+
ws(2, rn),
|
|
203392
|
+
ws(3, In),
|
|
203393
|
+
ws(4, Pe)
|
|
203388
203394
|
], Toe);
|
|
203389
203395
|
class Nhi {
|
|
203390
203396
|
async playSignal(e, t) {
|
|
@@ -203891,7 +203897,7 @@ function BIe(n, e, t, i) {
|
|
|
203891
203897
|
return n.createModel(e, t, i);
|
|
203892
203898
|
}
|
|
203893
203899
|
B("multiDiffEditor.headerBackground", { dark: "#262626", light: "tab.inactiveBackground", hcDark: "tab.inactiveBackground", hcLight: "tab.inactiveBackground" }, C(142, "The background color of the diff editor's header"));
|
|
203894
|
-
B("multiDiffEditor.background",
|
|
203900
|
+
B("multiDiffEditor.background", gs, C(143, "The background color of the multi file diff editor"));
|
|
203895
203901
|
B("multiDiffEditor.border", { dark: "sideBarSectionHeader.border", light: "#cccccc", hcDark: "sideBarSectionHeader.border", hcLight: "#cccccc" }, C(144, "The border color of the multi file diff editor"));
|
|
203896
203902
|
var Phi = function(n, e, t, i) {
|
|
203897
203903
|
var s = arguments.length, r = s < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
@@ -206298,11 +206304,11 @@ const ${ue} = ${jt};
|
|
|
206298
206304
|
forceMoveMarkers: !0
|
|
206299
206305
|
}], () => null), a.focus();
|
|
206300
206306
|
}, $ = (ue) => {
|
|
206301
|
-
var
|
|
206307
|
+
var As, Hr;
|
|
206302
206308
|
if (!l) return;
|
|
206303
206309
|
const Le = l.getModel();
|
|
206304
206310
|
if (!Le) return;
|
|
206305
|
-
const Se = ((
|
|
206311
|
+
const Se = ((As = ue.target) == null ? void 0 : As.position) || ue.position;
|
|
206306
206312
|
if (!Se) return;
|
|
206307
206313
|
const We = Le.getOffsetAt(Se), jt = Le.getValue(), _i = ydi(jt, We).path || [];
|
|
206308
206314
|
if (!_i.length) return;
|
|
@@ -206428,8 +206434,8 @@ const ${ue} = ${jt};
|
|
|
206428
206434
|
Le.column - wn.length,
|
|
206429
206435
|
Le.lineNumber,
|
|
206430
206436
|
Le.column
|
|
206431
|
-
), Jn = Ui.slice(1),
|
|
206432
|
-
return !
|
|
206437
|
+
), Jn = Ui.slice(1), As = Jn.length ? S(y.value || {}, Jn) : y.value || {};
|
|
206438
|
+
return !As || typeof As != "object" ? { suggestions: [] } : { suggestions: Object.keys(As).filter((ml) => ml !== "$").map((ml) => ({
|
|
206433
206439
|
label: ml,
|
|
206434
206440
|
kind: fo.languages.CompletionItemKind.Value,
|
|
206435
206441
|
insertText: ml,
|
|
@@ -206584,7 +206590,7 @@ const ${ue} = ${jt};
|
|
|
206584
206590
|
})();
|
|
206585
206591
|
const d = Ge(null), f = Ge({}), g = async () => {
|
|
206586
206592
|
if (d.value === null && (l.value.type === "opcua" || l.value.type === "http" || l.value.type === "redis"))
|
|
206587
|
-
return
|
|
206593
|
+
return cs.error("请获取数据!"), !1;
|
|
206588
206594
|
(l.value.type === "opcua" || l.value.type === "redis") && (f.value = { payload: d.value, pointTemp: r.value.dataSource.point }), l.value.type === "http" && (f.value = d.value), l.value.type === "node" && (f.value = {});
|
|
206589
206595
|
const x = {};
|
|
206590
206596
|
c.value.forEach((L) => {
|
|
@@ -206603,17 +206609,17 @@ const ${ue} = ${jt};
|
|
|
206603
206609
|
d.value = null;
|
|
206604
206610
|
}, m = async () => {
|
|
206605
206611
|
if (!l.value.path)
|
|
206606
|
-
return
|
|
206612
|
+
return cs.error("请输入点位地址!"), !1;
|
|
206607
206613
|
const x = await i.readPoints([l.value.path]);
|
|
206608
206614
|
console.log(x), d.value = x[0] || { error: "未找到数据" };
|
|
206609
206615
|
}, v = async () => {
|
|
206610
206616
|
if (!l.value.path)
|
|
206611
|
-
return
|
|
206617
|
+
return cs.error("请输入点位地址!"), !1;
|
|
206612
206618
|
const x = await i.fetchDataByKeys([l.value.path]);
|
|
206613
206619
|
console.log(x), d.value = x[0] || { error: "未找到数据" };
|
|
206614
206620
|
}, _ = () => {
|
|
206615
206621
|
let x = s.getItem("copyOpcuaNode");
|
|
206616
|
-
x ? (console.log("copyOpcuaNode", x), l.value.path = x.nodeId, l.value.point = { ...x }) :
|
|
206622
|
+
x ? (console.log("copyOpcuaNode", x), l.value.path = x.nodeId, l.value.point = { ...x }) : cs.warning("请在左侧数据来源中复制"), s.removeItem("copyOpcuaNode");
|
|
206617
206623
|
}, b = () => {
|
|
206618
206624
|
l.value.params.push({ key: "", value: "" });
|
|
206619
206625
|
}, y = (x) => {
|
|
@@ -206621,7 +206627,7 @@ const ${ue} = ${jt};
|
|
|
206621
206627
|
}, w = async () => {
|
|
206622
206628
|
var T, E;
|
|
206623
206629
|
if (!l.value.httpUrl)
|
|
206624
|
-
return
|
|
206630
|
+
return cs.error("请输入请求地址"), !1;
|
|
206625
206631
|
let x = JSON.parse(JSON.stringify(l.value));
|
|
206626
206632
|
delete x.params;
|
|
206627
206633
|
const L = {};
|
|
@@ -206629,7 +206635,7 @@ const ${ue} = ${jt};
|
|
|
206629
206635
|
if (I.key)
|
|
206630
206636
|
I.value && e.graph.getCellById(I.value) ? L[I.key] = (E = (T = e.graph.getCellById(I.value).getData()) == null ? void 0 : T.model) == null ? void 0 : E.modelValue : L[I.key] = I.value;
|
|
206631
206637
|
else
|
|
206632
|
-
return
|
|
206638
|
+
return cs.error("请完善请求参数"), !1;
|
|
206633
206639
|
x.params = L;
|
|
206634
206640
|
let D;
|
|
206635
206641
|
try {
|
|
@@ -206641,9 +206647,9 @@ const ${ue} = ${jt};
|
|
|
206641
206647
|
}, S = () => {
|
|
206642
206648
|
var x;
|
|
206643
206649
|
if (((x = l.value.bindNode) == null ? void 0 : x.length) == 0)
|
|
206644
|
-
return
|
|
206650
|
+
return cs.error("请选择数据关联!"), !1;
|
|
206645
206651
|
if (d.value === null && (l.value.type === "opcua" || l.value.type === "http"))
|
|
206646
|
-
return
|
|
206652
|
+
return cs.error("请获取数据!"), !1;
|
|
206647
206653
|
if (o.value)
|
|
206648
206654
|
try {
|
|
206649
206655
|
const L = new Function("data", "$", o.value);
|
|
@@ -206665,12 +206671,12 @@ const ${ue} = ${jt};
|
|
|
206665
206671
|
});
|
|
206666
206672
|
}
|
|
206667
206673
|
}
|
|
206668
|
-
t.setData({ dataSource: { parse: o.value } }), a.value = !1,
|
|
206674
|
+
t.setData({ dataSource: { parse: o.value } }), a.value = !1, cs.success("解析成功!");
|
|
206669
206675
|
} catch (L) {
|
|
206670
|
-
|
|
206676
|
+
cs.error("解析失败!"), console.error(L);
|
|
206671
206677
|
}
|
|
206672
206678
|
else
|
|
206673
|
-
|
|
206679
|
+
cs.error("请填写解析函数!");
|
|
206674
206680
|
};
|
|
206675
206681
|
return (x, L) => {
|
|
206676
206682
|
const D = we("el-option"), T = we("el-select"), E = we("el-form-item"), I = we("el-input"), k = we("el-button"), N = we("el-radio"), R = we("el-radio-group"), A = we("el-table-column"), W = we("el-table"), z = we("el-form"), $ = we("el-dialog");
|
|
@@ -206732,7 +206738,7 @@ const ${ue} = ${jt};
|
|
|
206732
206738
|
placeholder: "请选择节点关联"
|
|
206733
206739
|
}, {
|
|
206734
206740
|
default: X(() => [
|
|
206735
|
-
(ee(!0), ke(ni, null,
|
|
206741
|
+
(ee(!0), ke(ni, null, us(c.value, (G, Y) => (ee(), it(D, {
|
|
206736
206742
|
value: G.value,
|
|
206737
206743
|
label: G.label,
|
|
206738
206744
|
key: Y
|
|
@@ -206985,7 +206991,7 @@ const ${ue} = ${jt};
|
|
|
206985
206991
|
placeholder: "值"
|
|
206986
206992
|
}, {
|
|
206987
206993
|
default: X(() => [
|
|
206988
|
-
(ee(!0), ke(ni, null,
|
|
206994
|
+
(ee(!0), ke(ni, null, us(c.value, (Y, K) => (ee(), it(D, {
|
|
206989
206995
|
value: Y.value,
|
|
206990
206996
|
label: Y.label,
|
|
206991
206997
|
key: K
|
|
@@ -207109,9 +207115,9 @@ const ${ue} = ${jt};
|
|
|
207109
207115
|
});
|
|
207110
207116
|
}), (h, u) => (ee(), ke("div", Bdi, [
|
|
207111
207117
|
ie("div", Wdi, [
|
|
207112
|
-
(ee(!0), ke(ni, null,
|
|
207118
|
+
(ee(!0), ke(ni, null, us(mt(s), (d, f) => (ee(), ke("div", {
|
|
207113
207119
|
key: f,
|
|
207114
|
-
class:
|
|
207120
|
+
class: ks(["tabItem", { active: mt(r) === f }]),
|
|
207115
207121
|
onClick: (g) => a(f)
|
|
207116
207122
|
}, [
|
|
207117
207123
|
Fi(ro(d) + " ", 1),
|
|
@@ -207554,171 +207560,175 @@ const ${ue} = ${jt};
|
|
|
207554
207560
|
required: !0
|
|
207555
207561
|
}
|
|
207556
207562
|
},
|
|
207557
|
-
setup(n) {
|
|
207558
|
-
const
|
|
207559
|
-
setItem(
|
|
207560
|
-
|
|
207563
|
+
setup(n, { expose: e }) {
|
|
207564
|
+
const t = n, i = t.service, s = {
|
|
207565
|
+
setItem(p, m) {
|
|
207566
|
+
m !== void 0 && window.localStorage.setItem(p, JSON.stringify(m));
|
|
207561
207567
|
},
|
|
207562
|
-
getItem(
|
|
207563
|
-
let
|
|
207564
|
-
return JSON.parse(
|
|
207568
|
+
getItem(p) {
|
|
207569
|
+
let m = window.localStorage.getItem(p);
|
|
207570
|
+
return JSON.parse(m);
|
|
207565
207571
|
},
|
|
207566
|
-
removeItem(
|
|
207567
|
-
window.localStorage.removeItem(
|
|
207572
|
+
removeItem(p) {
|
|
207573
|
+
window.localStorage.removeItem(p);
|
|
207568
207574
|
},
|
|
207569
207575
|
clear() {
|
|
207570
207576
|
window.localStorage.clear();
|
|
207571
207577
|
}
|
|
207572
|
-
},
|
|
207573
|
-
let
|
|
207574
|
-
const
|
|
207575
|
-
let
|
|
207576
|
-
const
|
|
207577
|
-
var
|
|
207578
|
-
const
|
|
207579
|
-
if (!
|
|
207580
|
-
return console.warn(
|
|
207581
|
-
const
|
|
207582
|
-
if (
|
|
207583
|
-
if (
|
|
207584
|
-
let
|
|
207585
|
-
(
|
|
207586
|
-
const
|
|
207587
|
-
|
|
207578
|
+
}, r = Ge(null);
|
|
207579
|
+
let o = null;
|
|
207580
|
+
const a = Pae();
|
|
207581
|
+
let l = [], c = [], h = null, u = [];
|
|
207582
|
+
const d = (p, m) => {
|
|
207583
|
+
var b;
|
|
207584
|
+
const v = o.getCellById(m);
|
|
207585
|
+
if (!v)
|
|
207586
|
+
return console.warn(m, o.toJSON()), !1;
|
|
207587
|
+
const _ = v.getData();
|
|
207588
|
+
if (v && _)
|
|
207589
|
+
if (_.dataSource.parse) {
|
|
207590
|
+
let y = {};
|
|
207591
|
+
(b = _.dataSource.bindNode) == null || b.forEach((x) => {
|
|
207592
|
+
const L = o.getCellById(x).getData(), D = L.dataSource.fields;
|
|
207593
|
+
y[o.getCellById(x).getData().name] = Object.keys(D).reduce((T, E) => (T[E] = Oae(L, D[E]) ?? null, T), {});
|
|
207588
207594
|
});
|
|
207589
|
-
const
|
|
207590
|
-
|
|
207591
|
-
const
|
|
207592
|
-
for (let
|
|
207593
|
-
let
|
|
207594
|
-
var
|
|
207595
|
-
return ((
|
|
207595
|
+
const w = new Function("data", "$", _.dataSource.parse);
|
|
207596
|
+
_.dataSource.type == "opcua" || _.dataSource.type == "redis" ? w({ payload: p, pointTemp: _.dataSource.point }, y) : _.dataSource.type == "http" && w(p, y);
|
|
207597
|
+
const S = o.toJSON().cells;
|
|
207598
|
+
for (let x in y) {
|
|
207599
|
+
let L = S.find((D) => {
|
|
207600
|
+
var T;
|
|
207601
|
+
return ((T = D == null ? void 0 : D.data) == null ? void 0 : T.name) === x;
|
|
207596
207602
|
});
|
|
207597
|
-
if (
|
|
207598
|
-
|
|
207599
|
-
const
|
|
207600
|
-
Object.keys(
|
|
207601
|
-
if (
|
|
207602
|
-
const
|
|
207603
|
-
|
|
207603
|
+
if (L) {
|
|
207604
|
+
L = o.getCellById(L.id);
|
|
207605
|
+
const D = L.data.dataSource.fields, T = y[x];
|
|
207606
|
+
Object.keys(T).forEach((E) => {
|
|
207607
|
+
if (T[E] !== null) {
|
|
207608
|
+
const I = D[E], k = T[E];
|
|
207609
|
+
L.setData(iA(L.getData(), I, k), { deep: !1 });
|
|
207604
207610
|
}
|
|
207605
207611
|
});
|
|
207606
207612
|
}
|
|
207607
207613
|
}
|
|
207608
207614
|
} else
|
|
207609
|
-
|
|
207610
|
-
},
|
|
207611
|
-
var
|
|
207612
|
-
if (
|
|
207613
|
-
let
|
|
207614
|
-
delete
|
|
207615
|
-
const
|
|
207616
|
-
for (let
|
|
207617
|
-
|
|
207618
|
-
return
|
|
207615
|
+
v.setData({ text: p.value + "" || "--" });
|
|
207616
|
+
}, f = (p) => {
|
|
207617
|
+
var m, v;
|
|
207618
|
+
if (p.params && Array.isArray(p.params) && p.params.length > 0) {
|
|
207619
|
+
let _ = JSON.parse(JSON.stringify(p));
|
|
207620
|
+
delete _.params;
|
|
207621
|
+
const b = {};
|
|
207622
|
+
for (let y of p.params)
|
|
207623
|
+
y.key && (y.value && o.getCellById(y.value) ? b[y.key] = (v = (m = o.getCellById(y.value).getData()) == null ? void 0 : m.model) == null ? void 0 : v.modelValue : b[y.key] = y.value);
|
|
207624
|
+
return _.params = b, _;
|
|
207619
207625
|
}
|
|
207620
|
-
return
|
|
207621
|
-
},
|
|
207622
|
-
if (!
|
|
207623
|
-
|
|
207624
|
-
clearInterval(
|
|
207625
|
-
}),
|
|
207626
|
-
for (let
|
|
207627
|
-
if (
|
|
207628
|
-
const
|
|
207629
|
-
if (
|
|
207626
|
+
return p;
|
|
207627
|
+
}, g = (p) => {
|
|
207628
|
+
if (!p.cells) return !1;
|
|
207629
|
+
l.length > 0 && (i.unsubscribe(l.map((_) => _.nodeId)), l = []), c.length > 0 && (c.forEach((_) => {
|
|
207630
|
+
clearInterval(_.timer), _.timer = null;
|
|
207631
|
+
}), c = []);
|
|
207632
|
+
for (let _ of p.cells)
|
|
207633
|
+
if (_.data && _.data.dataSource && _.data.dataSource.type !== "none") {
|
|
207634
|
+
const b = f(_.data.dataSource);
|
|
207635
|
+
if (b.type == "opcua" && b.path && b.parse)
|
|
207630
207636
|
try {
|
|
207631
|
-
|
|
207632
|
-
|
|
207633
|
-
}),
|
|
207634
|
-
} catch (
|
|
207635
|
-
|
|
207637
|
+
i.readPoints([b.path]).then((y) => {
|
|
207638
|
+
y && y.length > 0 && d(y[0], _.id);
|
|
207639
|
+
}), l.push({ nodeId: b.path, cellId: _.id, callBack: (y, w) => d(y, w) });
|
|
207640
|
+
} catch (y) {
|
|
207641
|
+
cs.error("解析失败!"), console.error(y);
|
|
207636
207642
|
}
|
|
207637
|
-
if (
|
|
207643
|
+
if (b.type == "redis" && b.path && b.parse)
|
|
207638
207644
|
try {
|
|
207639
|
-
|
|
207640
|
-
|
|
207641
|
-
}),
|
|
207642
|
-
} catch (
|
|
207643
|
-
|
|
207645
|
+
i.fetchDataByKeys([b.path]).then((y) => {
|
|
207646
|
+
y && y.length > 0 && d(y[0], _.id);
|
|
207647
|
+
}), u.push({ nodeId: b.path, cellId: _.id, callBack: (y, w) => d(y, w) });
|
|
207648
|
+
} catch (y) {
|
|
207649
|
+
cs.error("解析失败!"), console.error(y);
|
|
207644
207650
|
}
|
|
207645
|
-
if (
|
|
207651
|
+
if (b.type == "http" && b.httpUrl)
|
|
207646
207652
|
try {
|
|
207647
|
-
|
|
207648
|
-
|
|
207649
|
-
}),
|
|
207650
|
-
nodeId:
|
|
207651
|
-
dataSource:
|
|
207653
|
+
b.httpTimer > -1 && (i.httpRequest(b).then((y) => {
|
|
207654
|
+
y && b.parse && d(y, _.id);
|
|
207655
|
+
}), b.httpTimer > 0 && c.push({
|
|
207656
|
+
nodeId: _.id,
|
|
207657
|
+
dataSource: b,
|
|
207652
207658
|
timer: null
|
|
207653
207659
|
}));
|
|
207654
|
-
} catch (
|
|
207655
|
-
|
|
207660
|
+
} catch (y) {
|
|
207661
|
+
cs.error("解析失败!"), console.log(y);
|
|
207656
207662
|
}
|
|
207657
207663
|
}
|
|
207658
|
-
const
|
|
207659
|
-
|
|
207660
|
-
|
|
207661
|
-
|
|
207664
|
+
const m = l.map((_) => _.nodeId);
|
|
207665
|
+
m.length !== 0 && (i.subscribe(m), i.onEvent((_) => {
|
|
207666
|
+
_.event === "data-changed" && _.payload && _.payload.nodeId && l.forEach((b, y) => {
|
|
207667
|
+
b.nodeId == _.payload.nodeId && l[y].callBack(_.payload, b.cellId);
|
|
207662
207668
|
});
|
|
207663
207669
|
}));
|
|
207664
|
-
const
|
|
207665
|
-
|
|
207666
|
-
|
|
207667
|
-
|
|
207668
|
-
|
|
207669
|
-
|
|
207670
|
+
const v = u.map((_) => _.nodeId);
|
|
207671
|
+
v.length !== 0 && (h = setInterval(() => {
|
|
207672
|
+
i.fetchDataByKeys(v).then((_) => {
|
|
207673
|
+
_ && _.length > 0 && _.forEach((b) => {
|
|
207674
|
+
u.forEach((y) => {
|
|
207675
|
+
y.nodeId === b.key && y.callBack(b, y.cellId);
|
|
207670
207676
|
});
|
|
207671
207677
|
});
|
|
207672
207678
|
});
|
|
207673
|
-
}, 1e3)),
|
|
207674
|
-
const
|
|
207675
|
-
|
|
207676
|
-
|
|
207679
|
+
}, 1e3)), c.forEach((_) => {
|
|
207680
|
+
const b = setInterval(() => {
|
|
207681
|
+
i.httpRequest(_.dataSource).then((y) => {
|
|
207682
|
+
y && _.dataSource.parse && d(y, _.nodeId);
|
|
207677
207683
|
});
|
|
207678
|
-
},
|
|
207679
|
-
|
|
207684
|
+
}, _.dataSource.httpTimer * 1e3);
|
|
207685
|
+
_.timer = b;
|
|
207680
207686
|
});
|
|
207681
207687
|
};
|
|
207682
|
-
return yu("topoApi",
|
|
207683
|
-
()
|
|
207684
|
-
|
|
207685
|
-
|
|
207686
|
-
|
|
207687
|
-
|
|
207688
|
+
return yu("topoApi", i), yu("storage", s), yu("graph", () => o), e({
|
|
207689
|
+
getGraph() {
|
|
207690
|
+
return o;
|
|
207691
|
+
}
|
|
207692
|
+
}), Fn(
|
|
207693
|
+
() => t.menu,
|
|
207694
|
+
(p) => {
|
|
207695
|
+
o && (o.clearCells(), o.resize(p.style.width, p.style.height), o.fromJSON(p.value), o.drawBackground({
|
|
207696
|
+
color: p.style.backgroundColor,
|
|
207697
|
+
image: p.style.backgroundImage,
|
|
207688
207698
|
size: "cover"
|
|
207689
|
-
}),
|
|
207699
|
+
}), g(p.value));
|
|
207690
207700
|
},
|
|
207691
207701
|
{ deep: !0 }
|
|
207692
207702
|
), Qs(() => {
|
|
207693
|
-
const { width:
|
|
207694
|
-
|
|
207695
|
-
container:
|
|
207696
|
-
width:
|
|
207697
|
-
height:
|
|
207703
|
+
const { width: p, height: m } = t.menu.style;
|
|
207704
|
+
o = new xe({
|
|
207705
|
+
container: r.value,
|
|
207706
|
+
width: p,
|
|
207707
|
+
height: m,
|
|
207698
207708
|
interacting: !1,
|
|
207699
207709
|
selecting: !1,
|
|
207700
207710
|
keyboard: !1,
|
|
207701
207711
|
mousewheel: !1,
|
|
207702
207712
|
panning: !1
|
|
207703
|
-
}), Uce(),
|
|
207704
|
-
color:
|
|
207705
|
-
image:
|
|
207713
|
+
}), Uce(), o.fromJSON(t.menu.value), o.drawBackground({
|
|
207714
|
+
color: t.menu.style.backgroundColor,
|
|
207715
|
+
image: t.menu.style.backgroundImage,
|
|
207706
207716
|
size: "cover"
|
|
207707
207717
|
});
|
|
207708
207718
|
}), ho(() => {
|
|
207709
|
-
|
|
207710
|
-
clearInterval(
|
|
207711
|
-
}),
|
|
207712
|
-
}), (
|
|
207719
|
+
l.length > 0 && (i.unsubscribe(l.map((p) => p.path)), l = []), c.length > 0 && (c.forEach((p) => {
|
|
207720
|
+
clearInterval(p.timer), p.timer = null;
|
|
207721
|
+
}), c = []), h && (u = [], clearInterval(h), h = null), o && o.dispose();
|
|
207722
|
+
}), (p, m) => (ee(), ke("div", Kdi, [
|
|
207713
207723
|
ie("div", {
|
|
207714
207724
|
ref_key: "container",
|
|
207715
|
-
ref:
|
|
207725
|
+
ref: r,
|
|
207716
207726
|
class: "ems-preview"
|
|
207717
207727
|
}, null, 512),
|
|
207718
|
-
F(mt(
|
|
207728
|
+
F(mt(a))
|
|
207719
207729
|
]));
|
|
207720
207730
|
}
|
|
207721
|
-
}, Xdi = /* @__PURE__ */ Vn(Ydi, [["__scopeId", "data-v-
|
|
207731
|
+
}, Xdi = /* @__PURE__ */ Vn(Ydi, [["__scopeId", "data-v-f1072d8f"]]);
|
|
207722
207732
|
window._iconfont_svg_string_5087053 = '<svg><symbol id="icon-kaiguan-1" viewBox="0 0 1024 1024"><path d="M752.79 288.79a223.21 223.21 0 1 1 0 446.42H271.21a223.21 223.21 0 1 1 0-446.42h481.58m0-48H271.21C121.43 240.79 0 362.21 0 512c0 149.79 121.43 271.21 271.21 271.21h481.58C902.57 783.21 1024 661.79 1024 512c0-149.79-121.43-271.21-271.21-271.21z" ></path><path d="M97.15 512a183 183 0 1 0 366 0 183 183 0 1 0-366 0z" ></path></symbol><symbol id="icon-zhadao" viewBox="0 0 1024 1024"><path d="M754.403556 197.404444L255.744 548.039111a128 128 0 1 1-36.835556-52.337778L717.596444 145.066667l36.807112 52.337777zM768 593.180444a128 128 0 1 0 256 0 128 128 0 0 0-256 0z" ></path></symbol><symbol id="icon-jihuashijian" viewBox="0 0 1092 1024"><path d="M924.590173 661.850645h-111.955692V549.348828a37.273053 37.273053 0 0 0-37.136522-37.273053 37.614382 37.614382 0 0 0-37.136522 37.273053v149.843136c0 20.821028 16.929885 37.273053 37.136522 37.273053h149.092214a37.273053 37.273053 0 0 0 0-74.614372zM175.306229 310.145937h186.228735v74.614372H175.306229V310.145937z m294.361549 0h186.228736v74.614372H469.667778V310.145937zM175.306229 472.003829h186.228735v75.160498H175.306229V472.003829z m0 161.311768h186.228735v75.160497H175.306229v-75.092232z" fill="#07BFAD" ></path><path d="M423.247126 835.108904H74.273044V142.144134h107.040563v27.988923c0 20.821028 16.929885 37.273053 37.136522 37.273053 20.752762 0 37.136522-16.998151 37.136522-37.273053v-27.988923H382.287726v27.988923a37.409585 37.409585 0 0 0 74.81917 0v-27.988923h125.608824v27.988923a37.409585 37.409585 0 0 0 74.819169 0v-27.988923H764.575453v177.217667a37.750913 37.750913 0 0 0 36.044271 38.91143 37.750913 37.750913 0 0 0 38.774898-36.180803V142.144134c0-41.164196-33.313645-74.614372-74.273044-74.614372H657.534889V38.926448A37.750913 37.750913 0 0 0 621.490618 0.015018a37.750913 37.750913 0 0 0-38.774898 36.180803v31.265675H456.56077V38.926448a37.409585 37.409585 0 0 0-74.819169 0v28.535048H256.678902V38.926448a37.750913 37.750913 0 0 0-37.682647-37.341319 37.273053 37.273053 0 0 0-37.136522 37.341319v28.535048H74.273044C33.313645 67.529762 0 100.979938 0 142.144134v692.96477c0 41.164196 33.313645 74.614372 74.273044 74.614372h348.427956a37.750913 37.750913 0 0 0 38.774898-36.180803 37.750913 37.750913 0 0 0-36.044271-38.911429c-0.546125 0.47786-1.092251 0.47786-2.184501 0.47786z" fill="#07BFAD" ></path><path d="M775.497959 387.490935c-174.760104 0-316.752688 142.675241-316.752687 318.254533s141.992584 318.186267 316.752687 318.186266c174.760104 0 316.752688-142.675241 316.752688-318.186266-0.47786-176.125417-141.992584-318.254532-316.752688-318.254533z m0 561.826427c-133.800704 0-242.411378-109.225065-242.411378-243.571894a243.230566 243.230566 0 0 1 242.479644-243.708426c133.800704 0 242.479644 109.225065 242.479644 243.708426a243.913223 243.913223 0 0 1-242.479644 243.571894z" fill="#07BFAD" ></path></symbol><symbol id="icon-liudongjiantou" viewBox="0 0 1024 1024"><path d="M128 896l768-388.928L128 128l192 379.072L128 896z" ></path></symbol><symbol id="icon-radio-on-full" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" ></path></symbol><symbol id="icon-bingtu" viewBox="0 0 1024 1024"><path d="M912.8 311.2C943.2 372 960 440 960 512c0 247.2-200.8 448-448 448S64 759.2 64 512 264 64 512 64v478.4l400.8-231.2zM576 62.4v363.2l304-175.2c-69.6-99.2-178.4-169.6-304-188z" ></path></symbol><symbol id="icon-zhexiantu" viewBox="0 0 1024 1024"><path d="M56.888889 938.666667V56.888889h56.888889v853.333333h853.333333v56.888889H56.888889z" fill="#333333" ></path><path d="M193.422222 648.533333l-45.511111-45.511111L398.222222 358.4l199.111111 199.111111 347.022223-352.711111 45.511111 45.511111-392.533334 386.844445L398.222222 438.044444z" fill="#333333" ></path></symbol><symbol id="icon-biaodanzujian-shurukuang" viewBox="0 0 1024 1024"><path d="M635.328 736a32 32 0 0 0-32-32H96V352h507.2a32 32 0 1 0 0-64H64a32 32 0 0 0-32 32v416a32 32 0 0 0 32 32h539.328a32 32 0 0 0 32-32zM960 288h-92.928a32 32 0 1 0 0 64H928v352h-60.288a32 32 0 1 0 0 64H960a32 32 0 0 0 32-32V320a32 32 0 0 0-32-32z" ></path><path d="M832.672 848H768v-640h64.288a32 32 0 1 0 0-64H639.36a32 32 0 1 0 0 64H704v640h-64.64a32 32 0 1 0 0 64h193.28a32 32 0 1 0 0.032-64z" ></path></symbol><symbol id="icon-biaodanzujian-biaoge" viewBox="0 0 1024 1024"><path d="M96 160v704h832V160H96z m309.344 400.192v-160h192v160h-192z m192 64V800h-192v-175.808h192zM160 400.192h181.344v160H160v-160z m501.344 0H864v160h-202.656v-160zM864 224v112.192H160V224h704zM160 624.192h181.344V800H160v-175.808zM661.344 800v-175.808H864V800h-202.656z" ></path></symbol><symbol id="icon-biaodanzujian-xialakuang" viewBox="0 0 1024 1024"><path d="M960 128H64a32 32 0 0 0-32 32v416a32 32 0 0 0 32 32h896a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32z m-32 416H96V192h832v352zM896 647.264a32 32 0 0 0-32 32V832H160v-152.736a32 32 0 1 0-64 0V864a32 32 0 0 0 32 32h768a32 32 0 0 0 32-32v-184.736a32 32 0 0 0-32-32z" ></path><path d="M685.92 470.368a31.904 31.904 0 0 0 45.728 0l123.232-126.016a31.968 31.968 0 1 0-45.76-44.736l-100.352 102.624-100.384-102.624a32 32 0 0 0-45.76 44.736l123.296 126.016z" ></path></symbol><symbol id="icon-biaodanzujian-anniu" viewBox="0 0 1024 1024"><path d="M960 128H64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h265.792a32 32 0 1 0 0-64H96V192h832v512h-68.192a32 32 0 1 0 0 64H960a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32z" ></path><path d="M600.704 624.128a32 32 0 0 0-44.416-1.6l-61.792 55.392-12.576-239.84 237.408 28.288-48.352 45.088a32 32 0 1 0 43.616 46.816l98.784-92.128a32 32 0 0 0-18.016-55.2l-343.616-40.928a32 32 0 0 0-35.712 33.44l18.048 344.576a32 32 0 0 0 53.312 22.112l88.64-79.424 192.544 199.648a31.968 31.968 0 1 0 46.048-44.416l-213.92-221.824z" ></path></symbol><symbol id="icon-gongyezujian-yibiaopan" viewBox="0 0 1024 1024"><path d="M512 128C264.96 128 64 328.96 64 576c0 100.544 32.544 195.52 94.08 274.688a31.968 31.968 0 1 0 50.528-39.232A380.384 380.384 0 0 1 128 576C128 364.256 300.256 192 512 192s384 172.256 384 384c0 86.144-27.872 167.584-80.64 235.456a31.904 31.904 0 0 0 5.632 44.864 31.84 31.84 0 0 0 44.864-5.632A443.264 443.264 0 0 0 960 576c0-247.04-200.96-448-448-448z" ></path><path d="M512 352a32 32 0 0 0 32-32V256a32 32 0 1 0-64 0v64a32 32 0 0 0 32 32zM241.888 421.472a32 32 0 1 0-35.776 53.056l53.056 35.776a31.936 31.936 0 0 0 44.416-8.64 32 32 0 0 0-8.64-44.416l-53.056-35.776zM810.848 423.936a32 32 0 0 0-45.152-3.168l-48.32 41.984a32 32 0 0 0 41.984 48.32l48.32-41.984a32 32 0 0 0 3.168-45.152zM607.392 736c0-2.592 0.288-5.12-0.352-7.744l-64-256c-0.352-1.44-1.28-2.496-1.824-3.84-0.864-2.144-1.632-4.256-2.944-6.176-1.12-1.664-2.528-2.944-3.904-4.352-1.504-1.536-2.912-3.008-4.704-4.224-1.76-1.184-3.712-1.888-5.664-2.688-1.44-0.608-2.624-1.6-4.224-1.984-0.512-0.128-0.992 0.032-1.504-0.064-2.048-0.416-4.128-0.288-6.272-0.288-2.112 0-4.192-0.128-6.24 0.288-0.512 0.096-1.024-0.064-1.536 0.064-1.632 0.416-2.848 1.44-4.352 2.08-1.888 0.8-3.744 1.472-5.472 2.592-1.888 1.248-3.36 2.816-4.928 4.384-1.344 1.344-2.656 2.592-3.744 4.192-1.312 1.92-2.08 4-2.944 6.144-0.544 1.344-1.472 2.432-1.856 3.872l-64 256c-0.672 2.624-0.352 5.184-0.352 7.744H416c0 1.408 0.352 2.688 0.416 4.096l0.128 1.312C419.424 791.776 460.928 832 512 832s92.576-40.224 95.456-90.592l0.128-1.312c0.064-1.376 0.416-2.688 0.416-4.096h-0.608zM512 768a31.808 31.808 0 0 1-31.552-29.824L512 611.904l31.552 126.24A31.776 31.776 0 0 1 512 768z" ></path></symbol><symbol id="icon-tubiao-qiapian" viewBox="0 0 1024 1024"><path d="M928 160H96a32 32 0 0 0-32 32v672a32 32 0 0 0 32 32h832a32 32 0 0 0 32-32V192a32 32 0 0 0-32-32z m-32 672H128V224h768v608z" ></path><path d="M230.592 448.096H544a32 32 0 1 0 0-64H230.592a32 32 0 0 0 0 64zM230.592 640.096H544a32 32 0 1 0 0-64H230.592a32 32 0 1 0 0 64zM768 704a32 32 0 0 0 32-32V350.016a32 32 0 1 0-64 0V672a32 32 0 0 0 32 32z" ></path></symbol><symbol id="icon-tubiao-zhexiantu" viewBox="0 0 1024 1024"><path d="M896 896H96a32 32 0 0 1-32-32V224a32 32 0 0 1 64 0v608h768a32 32 0 1 1 0 64z" ></path><path d="M247.008 640a32 32 0 0 1-20.992-56.192l200.992-174.24a32 32 0 0 1 42.272 0.288l172.128 153.44 229.088-246.304a32 32 0 0 1 46.88 43.616l-250.432 269.216a31.936 31.936 0 0 1-44.704 2.08l-174.56-155.52-179.744 155.84a31.872 31.872 0 0 1-20.928 7.776z" ></path></symbol><symbol id="icon-tubiao-zhuzhuangtu" viewBox="0 0 1024 1024"><path d="M896 896H96a32 32 0 0 1-32-32V224a32 32 0 0 1 64 0v608h768a32 32 0 1 1 0 64z" ></path><path d="M512 752.16a32 32 0 0 1-32-32V350.624a32 32 0 0 1 64 0v369.536a32 32 0 0 1-32 32zM320 752.576a32 32 0 0 1-32-32V512a32 32 0 0 1 64 0v208.576a32 32 0 0 1-32 32zM896 752.672a32 32 0 0 1-32-32V163.488a32 32 0 1 1 64 0v557.184a32 32 0 0 1-32 32zM704 752.736a32 32 0 0 1-32-32V224a32 32 0 1 1 64 0v496.736a32 32 0 0 1-32 32z" ></path></symbol><symbol id="icon-riqifanwei" viewBox="0 0 1024 1024"><path d="M213.333333 138.666667V213.333333h-21.333333a52.565333 52.565333 0 0 0-53.333333 51.712v568.576c0 28.586667 23.893333 51.712 53.333333 51.712h640a52.565333 52.565333 0 0 0 53.333333-51.712V265.045333A52.565333 52.565333 0 0 0 832 213.333333H810.666667v-74.666666h37.376c61.781333 0 111.957333 49.066667 111.957333 109.482666v602.368c0 60.416-50.176 109.482667-112.042667 109.482667H176.128c-61.866667 0-112.042667-49.066667-112.042667-109.482667V248.149333c0-60.416 50.176-109.482667 112.042667-109.482666H213.333333zM363.690667 362.666667v307.797333h73.642666v65.536h-221.866666v-65.536h74.069333V446.293333l-76.202667 19.114667v-67.584l150.357334-35.157333z m373.333333 0v307.797333H810.666667v65.536H588.8v-65.536h74.069333V446.293333l-76.202666 19.114667v-67.584l150.357333-35.157333zM586.666667 512v74.666667h-149.333334V512h149.333334zM736 64v224H661.333333V64h74.666667zM362.666667 64v224h-74.666667V64h74.666667z m224 74.666667V213.333333h-149.333334v-74.666666h149.333334z" fill="#5271FF" ></path></symbol><symbol id="icon-riqikuang" viewBox="0 0 1024 1024"><path d="M597 597h255v255H597z" ></path><path d="M937 87h-85V2H724.5v85h-425V2H172v85H87c-46.9 0-85 38.1-85 85v765c0 46.9 38.1 85 85 85h850c46.9 0 85-38.1 85-85V172c0-46.9-38.1-85-85-85z m0 850H87V342h850v595z" ></path></symbol><symbol id="icon-jiesuo1" viewBox="0 0 1024 1024"><path d="M768.25422 0q48.810328 0 94.061569 18.303873t80.333664 50.33565 56.436941 74.740814 21.354518 91.519364l0 150.49851-123.042701 0 0-122.025819q0-64.063555-36.099305-99.654419t-97.112214-35.590864q-54.911619 0-88.468719 35.590864t-33.5571 99.654419l0 124.059583-128.12711 0 0-152.532274q0-48.810328 19.320755-91.519364t53.386296-74.740814 80.333664-50.33565 101.179742-18.303873zM766.220457 693.513406l0 87.451837 0 47.793446q0 27.455809-9.660377 51.860973t-26.438928 41.692155-39.658391 27.455809-50.33565 10.168818l-514.542205 0q-27.455809 0-49.82721-9.660377t-38.641509-26.438928-24.913605-39.14995-8.643496-47.793446l0-323.368421q0-28.472691 19.829196-47.793446t46.268123-19.320755l629.449851 0q28.472691 0 47.793446 19.320755t19.320755 47.793446l0 179.988083z" ></path></symbol><symbol id="icon-jianlizuhe1" viewBox="0 0 1024 1024"><path d="M891.8 65h-632c-35.5 0-64.4 28.8-64.4 64.4v125.3h-66.3c-35.5 0-64.4 28.8-64.4 64.4v575.6c0 35.5 28.8 64.4 64.4 64.4h572.6c35.5 0 64.4-28.8 64.4-64.4v-65.3h125.6c35.5 0 64.4-28.8 64.4-64.4V129.4c0.1-35.6-28.7-64.4-64.3-64.4zM702.2 894.6v0.1c0 0.1-0.2 0.2-0.2 0.2H129.1c-0.1 0-0.2-0.2-0.2-0.2V319v-0.1c0-0.1 0.2-0.2 0.2-0.2h0.1l66.3 0.1S194 794.1 194 797.4c0 17.7 14.3 32 32 32h476.2v65.2zM259.5 129.2c0-0.1 0.2-0.2 0.2-0.2h632.2c0.1 0 0.2 0.2 0.2 0.2V765.1c0 0.1-0.2 0.2-0.2 0.2H259.5V129.2z" ></path></symbol><symbol id="icon-suoding1" viewBox="0 0 1024 1024"><path d="M860.069521 429.487623h-73.242947v-170.422692C786.826574 116.337371 670.888872 0.272064 528.240764 0.272064c-142.650515 0-258.720638 116.065307-258.720638 258.792867v170.422692H196.339779c-35.281619 0-63.879618 28.612445-63.879618 63.91814v466.606275c0 35.368294 28.597999 63.983146 63.879618 63.983147h663.79234c35.29125 0 63.821834-28.614852 63.821835-63.983147V493.405763c-0.004815-35.310511-28.590776-63.91814-63.884433-63.91814zM564.114664 738.867504v101.889098c0 4.552855-3.765556 8.388233-8.385825 8.388233h-54.91355c-4.678053 0-8.446016-3.837785-8.446017-8.388233v-101.889098c-25.800316-13.201114-43.672259-39.665939-43.672259-70.68362 0-43.888947 35.613874-79.584681 79.481153-79.584682 43.932285 0 79.548567 35.695734 79.548566 79.584682 0.062599 31.020089-17.811752 57.482507-43.612068 70.68362z m123.476036-309.379881H368.883605v-166.202091c0-87.912723 71.55278-159.501618 159.417351-159.501618s159.287337 71.588895 159.287337 159.501618l0.002407 166.202091z" ></path></symbol><symbol id="icon-xingzhuang-juxing" viewBox="0 0 1024 1024"><path d="M864 896H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h704a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zM192 832h640V192H192v640z" ></path></symbol><symbol id="icon-shuzhi" viewBox="0 0 1024 1024"><path d="M921.6 21.162667H102.4c-37.546667 0-68.266667 30.788267-68.266667 68.4032v819.950933c0 37.546667 30.72 68.334933 68.266667 68.334933h819.2c37.546667 0 68.266667-30.72 68.266667-68.266666V89.4976c0-37.546667-30.72-68.334933-68.266667-68.334933z m0 854.2208c0 20.48-13.653333 34.133333-34.133333 34.133333h-750.933334c-20.48 0-34.133333-13.653333-34.133333-34.133333V123.767467c0-20.548267 13.653333-34.2016 34.133333-34.2016h750.933334c20.48 0 34.133333 13.653333 34.133333 34.133333v751.616z" ></path><path d="M274.568533 365.704533h36.0448V658.090667h-47.9232V423.458133a165.546667 165.546667 0 0 1-66.7648 35.6352v-47.5136c13.1072-3.2768 27.0336-9.0112 41.7792-17.2032 14.7456-9.0112 27.0336-18.432 36.864-28.672z m200.2944-5.7344c28.2624 0 51.6096 8.192 70.0416 24.576 18.0224 16.384 27.0336 37.2736 27.0336 63.488 0 25.3952-9.8304 48.3328-28.672 69.2224-11.4688 12.288-31.9488 27.8528-60.6208 47.104-29.9008 19.6608-47.9232 36.864-54.4768 51.6096h144.1792v42.1888H368.366933c0-29.9008 9.4208-55.7056 29.0816-77.824 10.6496-12.288 33.1776-30.3104 67.1744-53.6576 18.8416-13.1072 31.9488-24.1664 40.1408-32.768 12.6976-14.336 19.2512-29.9008 19.2512-46.2848 0-15.9744-4.5056-27.8528-12.6976-35.6352-8.6016-7.7824-21.2992-11.4688-38.0928-11.4688-18.0224 0-31.5392 6.144-40.5504 18.432-9.0112 11.4688-13.9264 29.0816-14.7456 52.0192H370.005333c0.4096-32.768 9.8304-58.9824 28.672-79.0528 19.2512-21.2992 44.6464-31.9488 76.1856-31.9488z m244.1216 0c29.4912 0 53.6576 6.9632 71.68 21.2992 17.6128 14.336 26.624 33.9968 26.624 59.392 0 31.9488-16.384 53.248-48.7424 63.8976 17.2032 5.3248 30.72 13.1072 39.7312 23.7568a61.986133 61.986133 0 0 1 14.7456 42.5984c0 27.0336-9.4208 49.152-28.2624 66.3552-19.6608 17.6128-45.4656 26.624-77.4144 26.624-30.3104 0-54.8864-7.7824-73.3184-23.3472-20.48-17.2032-31.9488-42.5984-34.4064-75.3664h48.7424c0.8192 18.8416 6.5536 33.5872 18.0224 43.8272 10.24 9.4208 23.7568 14.336 40.5504 14.336 18.432 0 33.1776-5.3248 43.8272-15.5648a47.240533 47.240533 0 0 0 14.336-34.816c0-16.7936-5.3248-29.0816-15.1552-36.864-9.8304-8.192-24.1664-11.8784-43.008-11.8784h-20.48V488.106667h20.48c17.2032 0 30.3104-3.6864 39.3216-11.0592 8.6016-7.3728 13.1072-18.432 13.1072-32.768 0-14.336-4.096-24.9856-11.8784-32.3584-8.6016-7.3728-21.2992-11.0592-38.0928-11.0592-17.2032 0-30.3104 4.096-39.7312 12.6976-9.8304 8.6016-15.5648 21.7088-17.2032 39.3216h-47.104c2.4576-29.4912 13.1072-52.4288 32.768-68.8128 18.432-16.384 42.1888-24.1664 70.8608-24.1664z" ></path></symbol><symbol id="icon-xianduan" viewBox="0 0 1024 1024"><path d="M0.034239 975.503207L976.222236 0l48.400922 48.435162L48.435162 1023.945217z" ></path></symbol><symbol id="icon-yulan" viewBox="0 0 1024 1024"><path d="M512.122 272.146c-247.216 0-412.027 247.216-412.027 247.216s164.811 247.216 412.027 247.216c247.216 0 412.027-247.216 412.027-247.216S759.217 272.146 512.122 272.146z m0 410.207c-90.537 0-163.962-73.424-163.962-163.962s73.424-163.962 163.962-163.962c90.537 0 163.962 73.424 163.962 163.962-0.122 90.658-73.424 163.962-163.962 163.962z m-82.406-163.476c0 21.482 8.86 42.841 24.03 58.012s36.53 24.03 58.012 24.03 42.841-8.86 58.012-24.03c15.17-15.17 24.03-36.53 24.03-58.012s-8.86-42.841-24.03-58.012c-15.17-15.17-36.53-24.03-58.012-24.03s-42.841 8.86-58.012 24.03c-15.17 15.292-24.03 36.53-24.03 58.012z" ></path></symbol><symbol id="icon-tubiao" viewBox="0 0 1024 1024"><path d="M437.996 697.519V586.722H327.195c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797 61.192 0 110.801-49.602 110.801-110.797z m55.399 0c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195h166.2v166.195z m92.328 0V586.722H696.52c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797-61.188 0-110.797-49.602-110.797-110.797z m-55.399 0c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195H530.324v166.195z m-92.328-369.324v110.801H327.195c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797 61.192 0 110.801 49.609 110.801 110.797z m55.399 0c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199h166.2V328.195z m92.328 0v110.801H696.52c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797-61.188 0-110.797 49.609-110.797 110.797z m-55.399 0C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199H530.324V328.195z m0 0" ></path></symbol><symbol id="icon-tupian" viewBox="0 0 1024 1024"><path d="M335.36 440.32c38.4 0 71.68-30.72 71.68-71.68 0-38.4-30.72-71.68-71.68-71.68-38.4 0-71.68 30.72-71.68 71.68 2.56 40.96 33.28 71.68 71.68 71.68z m0 0M652.8 396.8L445.44 691.2 337.92 540.16 158.72 793.6h704L652.8 396.8z m0 0" ></path><path d="M934.4 107.52H89.6c-20.48 0-35.84 15.36-35.84 35.84V883.2c0 20.48 15.36 35.84 35.84 35.84h844.8c20.48 0 35.84-15.36 35.84-35.84V143.36c0-20.48-15.36-35.84-35.84-35.84z m-35.84 739.84H125.44V176.64h775.68v670.72h-2.56z m0 0" ></path></symbol><symbol id="icon-wenzi" viewBox="0 0 1024 1024"><path d="M64.1 66v303.7l39.5-1.3c13.6-110.8 102.6-186.4 153.2-199 50.7-12.6 148.3 1.1 148.3 1.1s-1.3 625.2-1.3 669.2c0 44.1-59.3 63-59.3 63l-79 1.3-1.2 55.4h493.1v-54.1h-90.2c-40.8-3.8-65.4-56.7-65.4-56.7l1.1-684.5s61.8-11.3 150.8 5.1c89 16.4 164.3 204.1 164.3 204.1h39.5V66H64.1z" ></path></symbol><symbol id="icon-xinjian" viewBox="0 0 1024 1024"><path d="M618 958.5H202c-44.8 0-81.3-34.1-81.3-76v-740c0-41.9 36.5-76 81.3-76h610.5c44.8 0 81.3 34.1 81.3 76v521.9c0 12.8-10.4 23.1-23.1 23.1s-23.1-10.4-23.1-23.1V142.5c0-16.4-15.7-29.7-35-29.7H202c-19.3 0-35 13.3-35 29.7v740c0 16.4 15.7 29.7 35 29.7h416c12.8 0 23.1 10.4 23.1 23.1 0.1 12.8-10.3 23.2-23.1 23.2z" ></path><path d="M738.4 360.5H276c-12.8 0-23.1-10.4-23.1-23.1 0-12.8 10.4-23.1 23.1-23.1h462.5c12.8 0 23.1 10.4 23.1 23.1 0 12.8-10.4 23.1-23.2 23.1zM584.3 595.1H276c-12.8 0-23.1-10.4-23.1-23.1 0-12.8 10.4-23.1 23.1-23.1h308.3c12.8 0 23.1 10.4 23.1 23.1 0 12.7-10.3 23.1-23.1 23.1zM878.8 826.3H614.6c-12.8 0-23.1-10.4-23.1-23.1 0-12.8 10.4-23.1 23.1-23.1h264.3c12.8 0 23.1 10.4 23.1 23.1 0 12.8-10.4 23.1-23.2 23.1z" ></path><path d="M746.7 958.5c-12.8 0-23.1-10.4-23.1-23.1V671.1c0-12.8 10.4-23.1 23.1-23.1 12.8 0 23.1 10.4 23.1 23.1v264.3c0 12.7-10.3 23.1-23.1 23.1z" ></path></symbol><symbol id="icon-qingkong" viewBox="0 0 1024 1024"><path d="M274.56 798.997333l19.434667-25.130666-33.792 68.565333a18.133333 18.133333 0 0 0 11.562666 25.536l59.733334 16a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.818667 35.626667-35.989333 45.290666-48.469333l19.456-25.130667-33.813333 68.565333a18.133333 18.133333 0 0 0 11.562667 25.536l84.48 22.634667a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.84 35.626667-35.989333 45.269333-48.469333l19.456-25.130667-33.813333 68.565333A18.133333 18.133333 0 0 0 535.530667 938.666667l72.106666 19.328a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.84 35.626667-36.010667 45.269334-48.490667l19.456-25.130667-33.813334 68.586667a18.133333 18.133333 0 0 0 11.584 25.514667l86.421334 23.338666 3.84-0.213333c13.269333-0.704 29.056-5.034667 43.84-12.8 29.781333-15.701333 48.170667-43.2 52.181333-78.250667 2.133333-18.517333 4.778667-38.549333 8.405333-63.530666 1.642667-11.221333 2.944-20.010667 6.229334-41.834667 11.050667-73.322667 14.634667-101.034667 17.130666-133.674667l0.938667-12.373333 2.837333-2.922667 12.330667-1.344a41.813333 41.813333 0 0 0 24.810667-11.221333c10.730667-10.24 14.805333-25.386667 11.093333-42.197333l-37.546667-171.584c-3.029333-13.696-11.264-27.946667-23.146666-39.829334-11.648-11.626667-25.92-20.138667-39.893334-23.893333L723.626667 331.306667l-2.261334-3.925334L774.250667 130.133333c8.32-31.061333-11.754667-63.744-44.970667-72.64l-79.509333-21.312c-33.194667-8.896-66.922667 9.365333-75.264 40.426667l-52.842667 197.269333-3.925333 2.261334-118.101334-31.637334c-13.994667-3.754667-30.634667-3.498667-46.506666 0.746667-16.256 4.352-30.506667 12.586667-39.957334 22.933333l-118.314666 129.792c-11.605333 12.714667-15.658667 27.84-11.52 42.090667 4.16 14.229333 15.850667 25.194667 32.896 30.528l13.610666 4.266667 2.133334 3.882666-3.626667 13.802667c-21.12 79.850667-52.885333 136.917333-85.717333 150.890667-47.530667 20.202667-72.938667 49.429333-78.421334 85.034666-5.034667 32.682667 9.28 67.114667 37.589334 91.541334l22.037333 8.341333 74.666667 20.010667a42.666667 42.666667 0 0 0 41.216-11.050667c15.274667-15.274667 26.88-28.032 34.837333-38.293333z m551.381333-396.565333c14.144 3.797333 29.952 19.2 32.768 32l34.56 157.781333a10.666667 10.666667 0 0 1-13.184 12.586667L240.64 433.493333a10.666667 10.666667 0 0 1-5.12-17.493333l108.8-119.36c8.832-9.685333 30.229333-15.146667 44.373333-11.349333l141.333334 37.866666a21.333333 21.333333 0 0 0 26.133333-15.082666l58.304-217.642667a21.333333 21.333333 0 0 1 26.133333-15.082667l77.056 20.650667a21.333333 21.333333 0 0 1 15.082667 26.133333l-58.325333 217.642667a21.333333 21.333333 0 0 0 15.082666 26.112l136.448 36.565333zM315.456 701.568c-33.664 45.141333-64.597333 79.082667-92.8 101.802667l-5.909333 4.778666-2.837334 0.597334-88.106666-24.106667-2.922667-3.2c-13.034667-14.165333-19.370667-31.04-16.981333-46.592 3.285333-21.333333 22.058667-39.338667 53.205333-52.586667 31.722667-13.482667 59.818667-47.104 82.922667-99.904 10.026667-22.954667 18.88-48.725333 26.389333-76.586666l3.882667-14.4 3.904-2.261334 566.165333 151.701334 2.346667 3.306666-0.789334 12.224c-1.984 30.592-30.336 229.397333-32.128 244.906667-2.346667 20.416-11.306667 34.986667-27.605333 44.394667a73.237333 73.237333 0 0 1-21.397333 8.106666l-5.013334 0.725334-60.373333-16.170667 11.242667-20.288c8.277333-14.976 22.656-43.84 43.093333-86.613333a21.12 21.12 0 0 0-9.962667-28.16l-3.136-1.493334a21.333333 21.333333 0 0 0-26.261333 6.485334c-33.642667 45.056-64.533333 78.912-92.672 101.546666l-5.909333 4.757334-2.837334 0.597333-52.544-14.08 11.114667-20.266667c3.562667-6.485333 7.04-13.013333 10.453333-19.626666 7.04-13.504 17.898667-35.797333 32.597334-66.816a21.290667 21.290667 0 0 0-9.984-28.309334l-3.029334-1.450666a21.333333 21.333333 0 0 0-26.368 6.442666c-33.6 45.013333-64.469333 78.826667-92.608 101.482667l-5.909333 4.757333-2.837333 0.597334-52.138667-13.973334 11.114667-20.266666c3.242667-5.888 6.72-12.416 10.453333-19.626667 6.997333-13.461333 17.962667-35.946667 32.896-67.434667a20.970667 20.970667 0 0 0-10.112-28.010666l-3.328-1.536a21.333333 21.333333 0 0 0-26.069333 6.613333c-33.642667 45.056-64.554667 78.976-92.778667 101.696l-5.909333 4.757333-2.837334 0.597334-32.64-8.746667 11.093334-20.245333c3.541333-6.506667 7.04-13.034667 10.453333-19.626667 6.976-13.482667 17.941333-35.968 32.874667-67.456a21.056 21.056 0 0 0-10.069334-28.074667l-3.242666-1.514666a21.333333 21.333333 0 0 0-26.154667 6.549333z" ></path></symbol><symbol id="icon-shanchu" viewBox="0 0 1024 1024"><path d="M202.666667 256h-42.666667a32 32 0 0 1 0-64h704a32 32 0 0 1 0 64H266.666667v565.333333a53.333333 53.333333 0 0 0 53.333333 53.333334h384a53.333333 53.333333 0 0 0 53.333333-53.333334V352a32 32 0 0 1 64 0v469.333333c0 64.8-52.533333 117.333333-117.333333 117.333334H320c-64.8 0-117.333333-52.533333-117.333333-117.333334V256z m224-106.666667a32 32 0 0 1 0-64h170.666666a32 32 0 0 1 0 64H426.666667z m-32 288a32 32 0 0 1 64 0v256a32 32 0 0 1-64 0V437.333333z m170.666666 0a32 32 0 0 1 64 0v256a32 32 0 0 1-64 0V437.333333z" ></path></symbol><symbol id="icon-jia" viewBox="0 0 1024 1024"><path d="M580.722174 437.990403 580.722174 78.171384 436.794158 78.171384 436.794158 437.990403 76.975139 437.990403 76.975139 581.918419 436.794158 581.918419 436.794158 941.737438 580.722174 941.737438 580.722174 581.918419 940.542216 581.918419 940.542216 437.990403Z" ></path></symbol><symbol id="icon-baocun" viewBox="0 0 1024 1024"><path d="M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z" ></path></symbol><symbol id="icon-daochu" viewBox="0 0 1024 1024"><path d="M293.632 645.248c91.456-86.784 183.552-220.544 346.88-211.584a20.8 20.8 0 0 1 20.224 20.8v59.392a21.376 21.376 0 0 0 34.432 16.64l211.2-171.2a21.376 21.376 0 0 0 0-33.28l-210.24-192a21.952 21.952 0 0 0-35.648 16.64v60.096a20.8 20.8 0 0 1-17.856 20.8c-280.704 61.76-351.36 391.104-348.992 413.696zM192 960a138.176 138.176 0 0 1-129.984-152.512L64 832V192a116.48 116.48 0 0 1 128-128c-108.8 1.024 256 0 256 0a28.224 28.224 0 0 1 29.76 27.84A35.968 35.968 0 0 1 448 128H192a53.12 53.12 0 0 0-64 64c1.536-37.504 0 640 0 640a52.8 52.8 0 0 0 64 64c49.536-0.448 640 0 640 0a52.48 52.48 0 0 0 64-64c-0.64 105.152 0-256 0-256a36.48 36.48 0 0 1 27.264-38.4A33.216 33.216 0 0 1 960 576v256a116.48 116.48 0 0 1-128 128c-50.56-0.448-640 0-640 0z" ></path></symbol><symbol id="icon-daoru" viewBox="0 0 1024 1024"><path d="M512 384a42.666667 42.666667 0 0 1 42.666667 42.666667v341.333333h130.986666a21.333333 21.333333 0 0 1 14.250667 5.504l2.688 2.901333a21.333333 21.333333 0 0 1-4.010667 29.866667l-165.717333 126.464a32 32 0 0 1-38.912-0.042667l-164.48-126.464A21.333333 21.333333 0 0 1 342.442667 768H469.333333v-341.333333a42.666667 42.666667 0 0 1 42.666667-42.666667z m229.674667 298.368A42.666667 42.666667 0 0 1 746.666667 597.333333H853.333333V170.666667H170.666667v426.666666h106.666666a42.666667 42.666667 0 0 1 0 85.333334H170.666667a85.333333 85.333333 0 0 1-85.333334-85.333334V170.666667a85.333333 85.333333 0 0 1 85.333334-85.333334h682.666666a85.333333 85.333333 0 0 1 85.333334 85.333334v426.666666a85.333333 85.333333 0 0 1-85.333334 85.333334h-106.666666z" ></path></symbol><symbol id="icon-huanyuan" viewBox="0 0 1024 1024"><path d="M909.637 478.524c-15.444-189.946-167.065-345.049-356.655-364.38-99.805-10.176-193.011 16.474-267.901 67.887l18.467-68.842c5.725-21.337-6.933-43.274-28.27-48.998s-43.274 6.934-48.998 28.271l-41.455 154.536c-5.724 21.337 6.933 43.273 28.271 48.998l154.536 41.455c21.337 5.724 43.273-6.934 48.998-28.271 5.724-21.337-6.934-43.274-28.271-48.998l-54.194-14.538c58.917-39.301 131.457-59.686 208.999-52.061 147.885 14.543 268.327 132.461 285.589 280.053 23.02 196.82-133.879 363.973-327.45 358.219-135.107-4.017-252.98-96.111-294.938-224.602-17.513-53.632-18.92-105.027-9.92-152.849 3.188-16.946-4.238-34.086-19.172-42.707l-0.049-0.028c-23.737-13.705-54.358-0.164-59.404 26.777-7.724 41.233-9.128 84.686-2.965 129.403 25.571 185.535 181.03 330.336 367.878 343.176C727.656 927.857 929.6 724.049 909.637 478.524z" ></path></symbol><symbol id="icon-menu-fold" viewBox="0 0 1024 1024"><path d="M85.312 170.688h853.376V256H85.312V170.688z m0 179.328L266.752 512l-181.44 162.048V349.952zM384 469.312h554.688v85.376H384V469.248zM85.312 768h853.376v85.312H85.312V768z" ></path></symbol><symbol id="icon-icon_image" viewBox="0 0 1024 1024"><path d="M85.333333 852.992V213.333333a42.666667 42.666667 0 0 1 42.666667-42.666666h768a42.666667 42.666667 0 0 1 42.666667 42.666666v640a42.666667 42.666667 0 0 1-42.666667 42.666667H128a42.666667 42.666667 0 0 1-42.666667-42.666667v-0.341333z m768-157.610667V256H170.666667v493.994667l127.744-127.744a42.666667 42.666667 0 0 1 47.018666-9.045334l126.293334 54.314667 184.789333-146.346667a42.666667 42.666667 0 0 1 59.52 6.485334L853.333333 695.381333zM837.418667 810.666667l-160.853334-196.48-171.818666 136.021333a42.666667 42.666667 0 0 1-43.349334 5.76l-123.093333-52.906667L230.656 810.666667h606.762667zM341.333333 512a85.333333 85.333333 0 1 1 0-170.666667 85.333333 85.333333 0 0 1 0 170.666667z" ></path></symbol><symbol id="icon-icon_chart" viewBox="0 0 1024 1024"><path d="M128 864V128H96v768h896v-32H128z" ></path><path d="M225.6 352h60.8a33.6 33.6 0 0 1 33.6 33.6V800h-128V385.6a33.6 33.6 0 0 1 33.6-33.6z" ></path><path d="M417.6 128h60.8a33.6 33.6 0 0 1 33.6 33.6V800h-128V161.6A33.6 33.6 0 0 1 417.6 128z" ></path><path d="M609.6 544h60.8a33.6 33.6 0 0 1 33.6 33.6V800h-128V577.6a33.6 33.6 0 0 1 33.6-33.6z" ></path><path d="M801.6 704h60.8a33.6 33.6 0 0 1 33.6 33.6V800h-128v-62.4a33.6 33.6 0 0 1 33.6-33.6z" ></path></symbol><symbol id="icon-jichukongjian" viewBox="0 0 1024 1024"><path d="M912 662.016l-352.256 211.392c-10.752 5.952-22.912 8.96-35.2 8.768-12.8 0-25.6-2.944-35.264-8.768L136.96 662.016c-19.456-11.712-19.456-30.656 0-42.24l59.712-35.84 271.872 163.072c15.616 9.344 35.456 14.464 55.936 14.464 20.48 0 40.32-5.12 55.936-14.464l271.872-163.136 59.712 35.84c19.456 11.712 19.456 30.592 0 42.24z" ></path><path d="M912 501.12l-352.256 211.392c-10.752 5.952-22.912 8.96-35.2 8.768-12.8 0-25.6-2.944-35.264-8.768L136.96 501.12c-19.456-11.712-19.456-30.656 0-42.24l59.712-35.904 271.872 163.136c15.616 9.344 35.456 14.464 55.936 14.464 20.48 0 40.32-5.12 55.936-14.464l271.936-163.2 59.712 35.904c19.392 11.712 19.392 30.656 0 42.24z" ></path><path d="M912 340.224L559.744 551.68c-10.752 5.952-22.912 8.96-35.2 8.768-12.8 0-25.6-2.944-35.264-8.768L136.96 340.224c-19.456-11.584-19.456-30.592 0-42.24l352.32-211.456c9.728-5.76 22.528-8.704 35.2-8.704 12.736 0 25.472 2.88 35.2 8.704l352.32 211.456c19.456 11.648 19.456 30.656 0 42.24z" ></path></symbol><symbol id="icon-icon-relativity" viewBox="0 0 1024 1024"><path d="M352 352v-192a64 64 0 0 1 64-64h448a64 64 0 0 1 64 64v448a64 64 0 0 1-64 64h-192v192a64 64 0 0 1-64 64h-448a64 64 0 0 1-64-64v-448a64 64 0 0 1 64-64h192z m64-192v192h192a64 64 0 0 1 64 64v192h192v-448h-448z m192 512h-192a64 64 0 0 1-64-64v-192h-192v448h448v-192z m0-64v-192h-192v192h192z" ></path></symbol><symbol id="icon-root-list" viewBox="0 0 1024 1024"><path d="M85.333333 85.333333h853.333334v853.333334H85.333333V85.333333z m85.333334 85.333334v682.666666h682.666666V170.666667H170.666667z m85.333333 149.333333h512v85.333333H256v-85.333333z m0 170.666667h341.333333v85.333333H256v-85.333333z" ></path></symbol><symbol id="icon-control-platform" viewBox="0 0 1024 1024"><path d="M512 36.48l426.688 237.056v476.928L512 987.456l-426.688-236.992V273.536L512 36.544zM170.688 379.52v320.704l298.624 165.952V537.6l-298.624-158.08z m384 486.656l298.624-165.952v-320.64L554.688 537.6v328.512zM512 463.744l303.744-160.832L512 134.144 208.256 302.912 512 463.744z" ></path></symbol><symbol id="icon-icon-yonghu" viewBox="0 0 1024 1024"><path d="M511.744 96a253.184 253.184 0 0 1 252.8 252.928c0 91.904-49.216 172.544-122.688 216.832 146.24 50.24 253.632 181.824 253.632 331.584a32 32 0 0 1-64 0c0-156.864-146.432-289.408-319.744-289.408C338.432 607.936 192 740.48 192 897.344a32 32 0 0 1-64 0c0-149.76 107.328-281.28 253.568-331.648a252.992 252.992 0 0 1-122.752-216.768A253.184 253.184 0 0 1 511.744 96z m0 64a189.12 189.12 0 0 0-188.928 188.928 189.12 189.12 0 0 0 188.928 188.928 189.12 189.12 0 0 0 188.8-188.928A189.12 189.12 0 0 0 511.808 160z" ></path></symbol><symbol id="icon-a-shezhi" viewBox="0 0 1024 1024"><path d="M933.868272 511.691752a140.807706 140.807706 0 0 1 90.131728-131.067068 525.562914 525.562914 0 0 0-57.334136-138.64997 139.882962 139.882962 0 0 1-184.948826-184.948826A525.562914 525.562914 0 0 0 643.067068 0a140.376159 140.376159 0 0 1-262.134136 0A525.562914 525.562914 0 0 0 242.282962 57.334136a139.882962 139.882962 0 0 1-184.948826 184.948826A506.698134 506.698134 0 0 0 0 380.932932a140.376159 140.376159 0 0 1 0 262.134136 525.562914 525.562914 0 0 0 57.334136 138.64997 139.882962 139.882962 0 0 1 184.948826 184.948826 525.562914 525.562914 0 0 0 138.64997 57.334136 140.376159 140.376159 0 0 1 262.134136 0 525.562914 525.562914 0 0 0 138.64997-57.334136 139.882962 139.882962 0 0 1 184.948826-184.948826 506.698134 506.698134 0 0 0 57.334136-138.64997A140.807706 140.807706 0 0 1 933.868272 511.691752zM511.691752 652.437809A140.437809 140.437809 0 1 1 652.437809 511.691752 140.499458 140.499458 0 0 1 511.691752 652.437809z" ></path></symbol></svg>', ((n) => {
|
|
207723
207733
|
var e = (t = (t = document.getElementsByTagName("script"))[t.length - 1]).getAttribute("data-injectcss"), t = t.getAttribute("data-disable-injectsvg");
|
|
207724
207734
|
if (!t) {
|