@abi-software/map-utilities 1.1.3-beta.0 → 1.1.3-beta.1
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/map-utilities.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var lm = Object.defineProperty;
|
|
2
2
|
var um = (t, e, r) => e in t ? lm(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var Kr = (t, e, r) => um(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { unref as O, getCurrentScope as cm, onScopeDispose as dm, getCurrentInstance as gt, onMounted as Et, nextTick as ot, watch as Oe, ref as ue, defineComponent as ve, openBlock as $, createElementBlock as Q, createElementVNode as ie, warn as fm, computed as V, inject as Ke, isRef as
|
|
4
|
+
import { unref as O, getCurrentScope as cm, onScopeDispose as dm, getCurrentInstance as gt, onMounted as Et, nextTick as ot, watch as Oe, ref as ue, defineComponent as ve, openBlock as $, createElementBlock as Q, createElementVNode as ie, warn as fm, computed as V, inject as Ke, isRef as Za, shallowRef as Xr, onBeforeUnmount as Vr, onBeforeMount as vm, provide as Ct, mergeProps as $r, renderSlot as Le, toRef as Nr, onUnmounted as hm, useAttrs as pm, useSlots as vo, createCommentVNode as pe, Fragment as Qe, normalizeClass as ae, createBlock as we, withCtx as re, resolveDynamicComponent as Jt, withModifiers as ht, createVNode as ce, toDisplayString as Re, normalizeStyle as lt, Transition as ui, withDirectives as Je, vShow as xt, reactive as jr, onActivated as gm, onUpdated as dv, cloneVNode as mm, Text as fv, Comment as ym, Teleport as bm, readonly as wm, onDeactivated as xm, createTextVNode as We, toRaw as vs, vModelCheckbox as hs, toRefs as ho, toHandlers as Cm, watchEffect as vv, renderList as sr, withKeys as aa, resolveComponent as jt, resolveDirective as Em, toHandlerKey as km, vModelText as Sm, h as ia, createApp as Tm, pushScopeId as Ms, popScopeId as _s, createStaticVNode as Pm } from "vue";
|
|
5
5
|
const un = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (a) => {
|
|
6
6
|
const i = t == null ? void 0 : t(a);
|
|
7
7
|
if (r === !1 || !i)
|
|
@@ -192,8 +192,8 @@ const Wi = () => {
|
|
|
192
192
|
}, Um = Object.prototype.hasOwnProperty, va = (t, e) => Um.call(t, e), fr = Array.isArray, lr = (t) => typeof t == "function", er = (t) => typeof t == "string", Vt = (t) => t !== null && typeof t == "object", Gm = Object.prototype.toString, Wm = (t) => Gm.call(t), gl = (t) => Wm(t).slice(8, -1), mv = (t) => {
|
|
193
193
|
const e = /* @__PURE__ */ Object.create(null);
|
|
194
194
|
return (r) => e[r] || (e[r] = t(r));
|
|
195
|
-
}, Ym = /-(\w)/g, Xm = mv((t) => t.replace(Ym, (e, r) => r ? r.toUpperCase() : "")),
|
|
196
|
-
(t) => t.replace(
|
|
195
|
+
}, Ym = /-(\w)/g, Xm = mv((t) => t.replace(Ym, (e, r) => r ? r.toUpperCase() : "")), Zm = /\B([A-Z])/g, jm = mv(
|
|
196
|
+
(t) => t.replace(Zm, "-$1").toLowerCase()
|
|
197
197
|
);
|
|
198
198
|
var yv = typeof global == "object" && global && global.Object === Object && global, Qm = typeof self == "object" && self && self.Object === Object && self, tn = yv || Qm || Function("return this")(), Qr = tn.Symbol, bv = Object.prototype, Jm = bv.hasOwnProperty, e0 = bv.toString, Si = Qr ? Qr.toStringTag : void 0;
|
|
199
199
|
function t0(t) {
|
|
@@ -214,12 +214,12 @@ var i0 = "[object Null]", o0 = "[object Undefined]", Rc = Qr ? Qr.toStringTag :
|
|
|
214
214
|
function ci(t) {
|
|
215
215
|
return t == null ? t === void 0 ? o0 : i0 : Rc && Rc in Object(t) ? t0(t) : a0(t);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function ja(t) {
|
|
218
218
|
return t != null && typeof t == "object";
|
|
219
219
|
}
|
|
220
220
|
var s0 = "[object Symbol]";
|
|
221
221
|
function $s(t) {
|
|
222
|
-
return typeof t == "symbol" ||
|
|
222
|
+
return typeof t == "symbol" || ja(t) && ci(t) == s0;
|
|
223
223
|
}
|
|
224
224
|
function l0(t, e) {
|
|
225
225
|
for (var r = -1, n = t == null ? 0 : t.length, a = Array(n); ++r < n; )
|
|
@@ -399,11 +399,11 @@ function X0(t, e, r) {
|
|
|
399
399
|
return s[e] = r(o), M0(t, this, s);
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
|
-
var
|
|
402
|
+
var Z0 = 9007199254740991;
|
|
403
403
|
function Su(t) {
|
|
404
|
-
return typeof t == "number" && t > -1 && t % 1 == 0 && t <=
|
|
404
|
+
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Z0;
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function j0(t) {
|
|
407
407
|
return t != null && Su(t.length) && !Cv(t);
|
|
408
408
|
}
|
|
409
409
|
var Q0 = Object.prototype;
|
|
@@ -418,12 +418,12 @@ function ey(t, e) {
|
|
|
418
418
|
}
|
|
419
419
|
var ty = "[object Arguments]";
|
|
420
420
|
function Gc(t) {
|
|
421
|
-
return
|
|
421
|
+
return ja(t) && ci(t) == ty;
|
|
422
422
|
}
|
|
423
423
|
var Ev = Object.prototype, ry = Ev.hasOwnProperty, ny = Ev.propertyIsEnumerable, Tu = Gc(/* @__PURE__ */ function() {
|
|
424
424
|
return arguments;
|
|
425
425
|
}()) ? Gc : function(t) {
|
|
426
|
-
return
|
|
426
|
+
return ja(t) && ry.call(t, "callee") && !ny.call(t, "callee");
|
|
427
427
|
};
|
|
428
428
|
function ay() {
|
|
429
429
|
return !1;
|
|
@@ -432,7 +432,7 @@ var kv = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
432
432
|
ft[Cy] = ft[Ey] = ft[ky] = ft[Sy] = ft[Ty] = ft[Py] = ft[Dy] = ft[Oy] = ft[Fy] = !0;
|
|
433
433
|
ft[sy] = ft[ly] = ft[wy] = ft[uy] = ft[xy] = ft[cy] = ft[dy] = ft[fy] = ft[vy] = ft[hy] = ft[py] = ft[gy] = ft[my] = ft[yy] = ft[by] = !1;
|
|
434
434
|
function Ly(t) {
|
|
435
|
-
return
|
|
435
|
+
return ja(t) && Su(t.length) && !!ft[ci(t)];
|
|
436
436
|
}
|
|
437
437
|
function Ay(t) {
|
|
438
438
|
return function(e) {
|
|
@@ -445,7 +445,7 @@ var Sv = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
445
445
|
return t || yl && yl.binding && yl.binding("util");
|
|
446
446
|
} catch {
|
|
447
447
|
}
|
|
448
|
-
}(),
|
|
448
|
+
}(), Zc = Xc && Xc.isTypedArray, Tv = Zc ? Ay(Zc) : Ly, My = Object.prototype, _y = My.hasOwnProperty;
|
|
449
449
|
function By(t, e) {
|
|
450
450
|
var r = zr(t), n = !r && Tu(t), a = !r && !n && Ul(t), i = !r && !n && !a && Tv(t), o = r || n || a || i, s = o ? ey(t.length, String) : [], u = s.length;
|
|
451
451
|
for (var l in t)
|
|
@@ -471,7 +471,7 @@ function Vy(t) {
|
|
|
471
471
|
return e;
|
|
472
472
|
}
|
|
473
473
|
function Pv(t) {
|
|
474
|
-
return
|
|
474
|
+
return j0(t) ? By(t) : Vy(t);
|
|
475
475
|
}
|
|
476
476
|
var Hy = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, qy = /^\w*$/;
|
|
477
477
|
function Pu(t, e) {
|
|
@@ -497,10 +497,10 @@ function Xy(t) {
|
|
|
497
497
|
}
|
|
498
498
|
return Yy.call(e, t) ? e[t] : void 0;
|
|
499
499
|
}
|
|
500
|
-
var
|
|
500
|
+
var Zy = Object.prototype, jy = Zy.hasOwnProperty;
|
|
501
501
|
function Qy(t) {
|
|
502
502
|
var e = this.__data__;
|
|
503
|
-
return Yi ? e[t] !== void 0 :
|
|
503
|
+
return Yi ? e[t] !== void 0 : jy.call(e, t);
|
|
504
504
|
}
|
|
505
505
|
var Jy = "__lodash_hash_undefined__";
|
|
506
506
|
function e1(t, e) {
|
|
@@ -656,9 +656,9 @@ function Dv(t, e) {
|
|
|
656
656
|
t[a + r] = e[r];
|
|
657
657
|
return t;
|
|
658
658
|
}
|
|
659
|
-
var
|
|
659
|
+
var jc = Qr ? Qr.isConcatSpreadable : void 0;
|
|
660
660
|
function C1(t) {
|
|
661
|
-
return zr(t) || Tu(t) || !!(
|
|
661
|
+
return zr(t) || Tu(t) || !!(jc && t && t[jc]);
|
|
662
662
|
}
|
|
663
663
|
function E1(t, e, r, n, a) {
|
|
664
664
|
var i = -1, o = t.length;
|
|
@@ -777,7 +777,7 @@ function W1(t, e) {
|
|
|
777
777
|
function Y1(t, e) {
|
|
778
778
|
return t.has(e);
|
|
779
779
|
}
|
|
780
|
-
var X1 = 1,
|
|
780
|
+
var X1 = 1, Z1 = 2;
|
|
781
781
|
function Ov(t, e, r, n, a, i) {
|
|
782
782
|
var o = r & X1, s = t.length, u = e.length;
|
|
783
783
|
if (s != u && !(o && u > s))
|
|
@@ -785,7 +785,7 @@ function Ov(t, e, r, n, a, i) {
|
|
|
785
785
|
var l = i.get(t), c = i.get(e);
|
|
786
786
|
if (l && c)
|
|
787
787
|
return l == e && c == t;
|
|
788
|
-
var d = -1, v = !0, h = r &
|
|
788
|
+
var d = -1, v = !0, h = r & Z1 ? new gs() : void 0;
|
|
789
789
|
for (i.set(t, e), i.set(e, t); ++d < s; ) {
|
|
790
790
|
var f = t[d], p = e[d];
|
|
791
791
|
if (n)
|
|
@@ -811,7 +811,7 @@ function Ov(t, e, r, n, a, i) {
|
|
|
811
811
|
}
|
|
812
812
|
return i.delete(t), i.delete(e), v;
|
|
813
813
|
}
|
|
814
|
-
function
|
|
814
|
+
function j1(t) {
|
|
815
815
|
var e = -1, r = Array(t.size);
|
|
816
816
|
return t.forEach(function(n, a) {
|
|
817
817
|
r[++e] = [a, n];
|
|
@@ -842,7 +842,7 @@ function fb(t, e, r, n, a, i, o) {
|
|
|
842
842
|
case lb:
|
|
843
843
|
return t == e + "";
|
|
844
844
|
case ab:
|
|
845
|
-
var s =
|
|
845
|
+
var s = j1;
|
|
846
846
|
case sb:
|
|
847
847
|
var u = n & J1;
|
|
848
848
|
if (s || (s = Q1), t.size != e.size && !u)
|
|
@@ -913,7 +913,7 @@ function bb(t, e, r, n, a, i) {
|
|
|
913
913
|
return v ? (i || (i = new vn()), gb(t, e, r, n, a, i)) : !1;
|
|
914
914
|
}
|
|
915
915
|
function Hs(t, e, r, n, a) {
|
|
916
|
-
return t === e ? !0 : t == null || e == null || !
|
|
916
|
+
return t === e ? !0 : t == null || e == null || !ja(t) && !ja(e) ? t !== t && e !== e : bb(t, e, r, n, Hs, a);
|
|
917
917
|
}
|
|
918
918
|
var wb = 1, xb = 2;
|
|
919
919
|
function Cb(t, e, r, n) {
|
|
@@ -1204,7 +1204,7 @@ var Wb = /* @__PURE__ */ ve({
|
|
|
1204
1204
|
})
|
|
1205
1205
|
]));
|
|
1206
1206
|
}
|
|
1207
|
-
}),
|
|
1207
|
+
}), Zb = Xb, jb = /* @__PURE__ */ ve({
|
|
1208
1208
|
name: "CircleCheck",
|
|
1209
1209
|
__name: "circle-check",
|
|
1210
1210
|
setup(t) {
|
|
@@ -1222,7 +1222,7 @@ var Wb = /* @__PURE__ */ ve({
|
|
|
1222
1222
|
})
|
|
1223
1223
|
]));
|
|
1224
1224
|
}
|
|
1225
|
-
}), Qb =
|
|
1225
|
+
}), Qb = jb, Jb = /* @__PURE__ */ ve({
|
|
1226
1226
|
name: "CircleClose",
|
|
1227
1227
|
__name: "circle-close",
|
|
1228
1228
|
setup(t) {
|
|
@@ -1649,7 +1649,7 @@ const Sw = (t) => (e, r) => Tw(e, r, O(t)), Tw = (t, e, r) => dn(r, t, t).replac
|
|
|
1649
1649
|
var i;
|
|
1650
1650
|
return `${(i = e == null ? void 0 : e[a]) != null ? i : `{${a}}`}`;
|
|
1651
1651
|
}), Pw = (t) => {
|
|
1652
|
-
const e = V(() => O(t).name), r =
|
|
1652
|
+
const e = V(() => O(t).name), r = Za(t) ? t : ue(t);
|
|
1653
1653
|
return {
|
|
1654
1654
|
lang: e,
|
|
1655
1655
|
locale: r,
|
|
@@ -1755,10 +1755,10 @@ const Sw = (t) => (e, r) => Tw(e, r, O(t)), Tw = (t, e, r) => dn(r, t, t).replac
|
|
|
1755
1755
|
return (n = (r = e == null ? void 0 : e.proxy) == null ? void 0 : r.$props) == null ? void 0 : n[t];
|
|
1756
1756
|
});
|
|
1757
1757
|
};
|
|
1758
|
-
var vr = "top", Pr = "bottom", Dr = "right", hr = "left", Mu = "auto", mo = [vr, Pr, Dr, hr], ei = "start",
|
|
1759
|
-
return t.concat([e + "-" + ei, e + "-" +
|
|
1758
|
+
var vr = "top", Pr = "bottom", Dr = "right", hr = "left", Mu = "auto", mo = [vr, Pr, Dr, hr], ei = "start", Zi = "end", Aw = "clippingParents", Kv = "viewport", Pi = "popper", Iw = "reference", dd = mo.reduce(function(t, e) {
|
|
1759
|
+
return t.concat([e + "-" + ei, e + "-" + Zi]);
|
|
1760
1760
|
}, []), Us = [].concat(mo, [Mu]).reduce(function(t, e) {
|
|
1761
|
-
return t.concat([e, e + "-" + ei, e + "-" +
|
|
1761
|
+
return t.concat([e, e + "-" + ei, e + "-" + Zi]);
|
|
1762
1762
|
}, []), Mw = "beforeRead", _w = "read", Bw = "afterRead", Nw = "beforeMain", $w = "main", Rw = "afterMain", zw = "beforeWrite", Vw = "write", Hw = "afterWrite", qw = [Mw, _w, Bw, Nw, $w, Rw, zw, Vw, Hw];
|
|
1763
1763
|
function Jr(t) {
|
|
1764
1764
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -1808,7 +1808,7 @@ function Uw(t) {
|
|
|
1808
1808
|
};
|
|
1809
1809
|
}
|
|
1810
1810
|
var Uv = { name: "applyStyles", enabled: !0, phase: "write", fn: Kw, effect: Uw, requires: ["computeStyles"] };
|
|
1811
|
-
function
|
|
1811
|
+
function Zr(t) {
|
|
1812
1812
|
return t.split("-")[0];
|
|
1813
1813
|
}
|
|
1814
1814
|
var da = Math.max, xs = Math.min, ri = Math.round;
|
|
@@ -1894,18 +1894,18 @@ function Xv(t, e) {
|
|
|
1894
1894
|
var Xw = function(t, e) {
|
|
1895
1895
|
return t = typeof t == "function" ? t(Object.assign({}, e.rects, { placement: e.placement })) : t, Yv(typeof t != "number" ? t : Xv(t, mo));
|
|
1896
1896
|
};
|
|
1897
|
-
function
|
|
1898
|
-
var e, r = t.state, n = t.name, a = t.options, i = r.elements.arrow, o = r.modifiersData.popperOffsets, s =
|
|
1897
|
+
function Zw(t) {
|
|
1898
|
+
var e, r = t.state, n = t.name, a = t.options, i = r.elements.arrow, o = r.modifiersData.popperOffsets, s = Zr(r.placement), u = Nu(s), l = [hr, Dr].indexOf(s) >= 0, c = l ? "height" : "width";
|
|
1899
1899
|
if (!(!i || !o)) {
|
|
1900
1900
|
var d = Xw(a.padding, r), v = Bu(i), h = u === "y" ? vr : hr, f = u === "y" ? Pr : Dr, p = r.rects.reference[c] + r.rects.reference[u] - o[u] - r.rects.popper[c], m = o[u] - r.rects.reference[u], g = yo(i), y = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, b = p / 2 - m / 2, w = d[h], C = y - v[c] - d[f], E = y / 2 - v[c] / 2 + b, x = Vi(w, E, C), T = u;
|
|
1901
1901
|
r.modifiersData[n] = (e = {}, e[T] = x, e.centerOffset = x - E, e);
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
|
-
function
|
|
1904
|
+
function jw(t) {
|
|
1905
1905
|
var e = t.state, r = t.options, n = r.element, a = n === void 0 ? "[data-popper-arrow]" : n;
|
|
1906
1906
|
a != null && (typeof a == "string" && (a = e.elements.popper.querySelector(a), !a) || !Gv(e.elements.popper, a) || (e.elements.arrow = a));
|
|
1907
1907
|
}
|
|
1908
|
-
var Qw = { name: "arrow", enabled: !0, phase: "main", fn:
|
|
1908
|
+
var Qw = { name: "arrow", enabled: !0, phase: "main", fn: Zw, effect: jw, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] };
|
|
1909
1909
|
function ai(t) {
|
|
1910
1910
|
return t.split("-")[1];
|
|
1911
1911
|
}
|
|
@@ -1920,12 +1920,12 @@ function vd(t) {
|
|
|
1920
1920
|
var g = o.hasOwnProperty("x"), y = o.hasOwnProperty("y"), b = hr, w = vr, C = window;
|
|
1921
1921
|
if (l) {
|
|
1922
1922
|
var E = yo(r), x = "clientHeight", T = "clientWidth";
|
|
1923
|
-
if (E === Hr(r) && (E = Yn(r), hn(E).position !== "static" && s === "absolute" && (x = "scrollHeight", T = "scrollWidth")), E = E, a === vr || (a === hr || a === Dr) && i ===
|
|
1923
|
+
if (E === Hr(r) && (E = Yn(r), hn(E).position !== "static" && s === "absolute" && (x = "scrollHeight", T = "scrollWidth")), E = E, a === vr || (a === hr || a === Dr) && i === Zi) {
|
|
1924
1924
|
w = Pr;
|
|
1925
1925
|
var k = d && E === C && C.visualViewport ? C.visualViewport.height : E[x];
|
|
1926
1926
|
p -= k - n.height, p *= u ? 1 : -1;
|
|
1927
1927
|
}
|
|
1928
|
-
if (a === hr || (a === vr || a === Pr) && i ===
|
|
1928
|
+
if (a === hr || (a === vr || a === Pr) && i === Zi) {
|
|
1929
1929
|
b = Dr;
|
|
1930
1930
|
var P = d && E === C && C.visualViewport ? C.visualViewport.width : E[T];
|
|
1931
1931
|
h -= P - n.width, h *= u ? 1 : -1;
|
|
@@ -1939,10 +1939,10 @@ function vd(t) {
|
|
|
1939
1939
|
return Object.assign({}, D, (e = {}, e[w] = y ? p + "px" : "", e[b] = g ? h + "px" : "", e.transform = "", e));
|
|
1940
1940
|
}
|
|
1941
1941
|
function t2(t) {
|
|
1942
|
-
var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, i = r.adaptive, o = i === void 0 ? !0 : i, s = r.roundOffsets, u = s === void 0 ? !0 : s, l = { placement:
|
|
1942
|
+
var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, i = r.adaptive, o = i === void 0 ? !0 : i, s = r.roundOffsets, u = s === void 0 ? !0 : s, l = { placement: Zr(e.placement), variation: ai(e.placement), popper: e.elements.popper, popperRect: e.rects.popper, gpuAcceleration: a, isFixed: e.options.strategy === "fixed" };
|
|
1943
1943
|
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, vd(Object.assign({}, l, { offsets: e.modifiersData.popperOffsets, position: e.options.strategy, adaptive: o, roundOffsets: u })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, vd(Object.assign({}, l, { offsets: e.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: u })))), e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-placement": e.placement });
|
|
1944
1944
|
}
|
|
1945
|
-
var
|
|
1945
|
+
var Zv = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: t2, data: {} }, Io = { passive: !0 };
|
|
1946
1946
|
function r2(t) {
|
|
1947
1947
|
var e = t.state, r = t.instance, n = t.options, a = n.scroll, i = a === void 0 ? !0 : a, o = n.resize, s = o === void 0 ? !0 : o, u = Hr(e.elements.popper), l = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
1948
1948
|
return i && l.forEach(function(c) {
|
|
@@ -1953,7 +1953,7 @@ function r2(t) {
|
|
|
1953
1953
|
}), s && u.removeEventListener("resize", r.update, Io);
|
|
1954
1954
|
};
|
|
1955
1955
|
}
|
|
1956
|
-
var
|
|
1956
|
+
var jv = { name: "eventListeners", enabled: !0, phase: "write", fn: function() {
|
|
1957
1957
|
}, effect: r2, data: {} }, n2 = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
1958
1958
|
function ts(t) {
|
|
1959
1959
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
@@ -1994,7 +1994,7 @@ function Hi(t, e) {
|
|
|
1994
1994
|
var n = Qv(t), a = n === ((r = t.ownerDocument) == null ? void 0 : r.body), i = Hr(n), o = a ? [i].concat(i.visualViewport || [], zu(n) ? n : []) : n, s = e.concat(o);
|
|
1995
1995
|
return a ? s : s.concat(Hi(Gs(o)));
|
|
1996
1996
|
}
|
|
1997
|
-
function
|
|
1997
|
+
function Zl(t) {
|
|
1998
1998
|
return Object.assign({}, t, { left: t.x, top: t.y, right: t.x + t.width, bottom: t.y + t.height });
|
|
1999
1999
|
}
|
|
2000
2000
|
function s2(t) {
|
|
@@ -2002,7 +2002,7 @@ function s2(t) {
|
|
|
2002
2002
|
return e.top = e.top + t.clientTop, e.left = e.left + t.clientLeft, e.bottom = e.top + t.clientHeight, e.right = e.left + t.clientWidth, e.width = t.clientWidth, e.height = t.clientHeight, e.x = e.left, e.y = e.top, e;
|
|
2003
2003
|
}
|
|
2004
2004
|
function pd(t, e) {
|
|
2005
|
-
return e === Kv ?
|
|
2005
|
+
return e === Kv ? Zl(i2(t)) : ti(e) ? s2(e) : Zl(o2(Yn(t)));
|
|
2006
2006
|
}
|
|
2007
2007
|
function l2(t) {
|
|
2008
2008
|
var e = Hi(Gs(t)), r = ["absolute", "fixed"].indexOf(hn(t).position) >= 0, n = r && Tr(t) ? yo(t) : t;
|
|
@@ -2018,7 +2018,7 @@ function u2(t, e, r) {
|
|
|
2018
2018
|
return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
|
|
2019
2019
|
}
|
|
2020
2020
|
function Jv(t) {
|
|
2021
|
-
var e = t.reference, r = t.element, n = t.placement, a = n ?
|
|
2021
|
+
var e = t.reference, r = t.element, n = t.placement, a = n ? Zr(n) : null, i = n ? ai(n) : null, o = e.x + e.width / 2 - r.width / 2, s = e.y + e.height / 2 - r.height / 2, u;
|
|
2022
2022
|
switch (a) {
|
|
2023
2023
|
case vr:
|
|
2024
2024
|
u = { x: o, y: e.y - r.height };
|
|
@@ -2042,16 +2042,16 @@ function Jv(t) {
|
|
|
2042
2042
|
case ei:
|
|
2043
2043
|
u[l] = u[l] - (e[c] / 2 - r[c] / 2);
|
|
2044
2044
|
break;
|
|
2045
|
-
case
|
|
2045
|
+
case Zi:
|
|
2046
2046
|
u[l] = u[l] + (e[c] / 2 - r[c] / 2);
|
|
2047
2047
|
break;
|
|
2048
2048
|
}
|
|
2049
2049
|
}
|
|
2050
2050
|
return u;
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2052
|
+
function ji(t, e) {
|
|
2053
2053
|
e === void 0 && (e = {});
|
|
2054
|
-
var r = e, n = r.placement, a = n === void 0 ? t.placement : n, i = r.boundary, o = i === void 0 ? Aw : i, s = r.rootBoundary, u = s === void 0 ? Kv : s, l = r.elementContext, c = l === void 0 ? Pi : l, d = r.altBoundary, v = d === void 0 ? !1 : d, h = r.padding, f = h === void 0 ? 0 : h, p = Yv(typeof f != "number" ? f : Xv(f, mo)), m = c === Pi ? Iw : Pi, g = t.rects.popper, y = t.elements[v ? m : c], b = u2(ti(y) ? y : y.contextElement || Yn(t.elements.popper), o, u), w = ni(t.elements.reference), C = Jv({ reference: w, element: g, strategy: "absolute", placement: a }), E =
|
|
2054
|
+
var r = e, n = r.placement, a = n === void 0 ? t.placement : n, i = r.boundary, o = i === void 0 ? Aw : i, s = r.rootBoundary, u = s === void 0 ? Kv : s, l = r.elementContext, c = l === void 0 ? Pi : l, d = r.altBoundary, v = d === void 0 ? !1 : d, h = r.padding, f = h === void 0 ? 0 : h, p = Yv(typeof f != "number" ? f : Xv(f, mo)), m = c === Pi ? Iw : Pi, g = t.rects.popper, y = t.elements[v ? m : c], b = u2(ti(y) ? y : y.contextElement || Yn(t.elements.popper), o, u), w = ni(t.elements.reference), C = Jv({ reference: w, element: g, strategy: "absolute", placement: a }), E = Zl(Object.assign({}, g, C)), x = c === Pi ? E : w, T = { top: b.top - x.top + p.top, bottom: x.bottom - b.bottom + p.bottom, left: b.left - x.left + p.left, right: x.right - b.right + p.right }, k = t.modifiersData.offset;
|
|
2055
2055
|
if (c === Pi && k) {
|
|
2056
2056
|
var P = k[a];
|
|
2057
2057
|
Object.keys(T).forEach(function(D) {
|
|
@@ -2070,24 +2070,24 @@ function c2(t, e) {
|
|
|
2070
2070
|
});
|
|
2071
2071
|
v.length === 0 && (v = d);
|
|
2072
2072
|
var h = v.reduce(function(f, p) {
|
|
2073
|
-
return f[p] =
|
|
2073
|
+
return f[p] = ji(t, { placement: p, boundary: a, rootBoundary: i, padding: o })[Zr(p)], f;
|
|
2074
2074
|
}, {});
|
|
2075
2075
|
return Object.keys(h).sort(function(f, p) {
|
|
2076
2076
|
return h[f] - h[p];
|
|
2077
2077
|
});
|
|
2078
2078
|
}
|
|
2079
2079
|
function d2(t) {
|
|
2080
|
-
if (
|
|
2080
|
+
if (Zr(t) === Mu) return [];
|
|
2081
2081
|
var e = ts(t);
|
|
2082
2082
|
return [hd(t), e, hd(e)];
|
|
2083
2083
|
}
|
|
2084
2084
|
function f2(t) {
|
|
2085
2085
|
var e = t.state, r = t.options, n = t.name;
|
|
2086
2086
|
if (!e.modifiersData[n]._skip) {
|
|
2087
|
-
for (var a = r.mainAxis, i = a === void 0 ? !0 : a, o = r.altAxis, s = o === void 0 ? !0 : o, u = r.fallbackPlacements, l = r.padding, c = r.boundary, d = r.rootBoundary, v = r.altBoundary, h = r.flipVariations, f = h === void 0 ? !0 : h, p = r.allowedAutoPlacements, m = e.options.placement, g =
|
|
2088
|
-
return oe.concat(
|
|
2087
|
+
for (var a = r.mainAxis, i = a === void 0 ? !0 : a, o = r.altAxis, s = o === void 0 ? !0 : o, u = r.fallbackPlacements, l = r.padding, c = r.boundary, d = r.rootBoundary, v = r.altBoundary, h = r.flipVariations, f = h === void 0 ? !0 : h, p = r.allowedAutoPlacements, m = e.options.placement, g = Zr(m), y = g === m, b = u || (y || !f ? [ts(m)] : d2(m)), w = [m].concat(b).reduce(function(oe, ne) {
|
|
2088
|
+
return oe.concat(Zr(ne) === Mu ? c2(e, { placement: ne, boundary: c, rootBoundary: d, padding: l, flipVariations: f, allowedAutoPlacements: p }) : ne);
|
|
2089
2089
|
}, []), C = e.rects.reference, E = e.rects.popper, x = /* @__PURE__ */ new Map(), T = !0, k = w[0], P = 0; P < w.length; P++) {
|
|
2090
|
-
var D = w[P], F =
|
|
2090
|
+
var D = w[P], F = Zr(D), I = ai(D) === ei, L = [vr, Pr].indexOf(F) >= 0, B = L ? "width" : "height", A = ji(e, { placement: D, boundary: c, rootBoundary: d, altBoundary: v, padding: l }), _ = L ? I ? Dr : hr : I ? Pr : vr;
|
|
2091
2091
|
C[B] > E[B] && (_ = ts(_));
|
|
2092
2092
|
var M = ts(_), R = [];
|
|
2093
2093
|
if (i && R.push(A[F] <= 0), s && R.push(A[_] <= 0, A[M] <= 0), R.every(function(oe) {
|
|
@@ -2101,14 +2101,14 @@ function f2(t) {
|
|
|
2101
2101
|
if (T) for (var K = f ? 3 : 1, H = function(oe) {
|
|
2102
2102
|
var ne = w.find(function(ee) {
|
|
2103
2103
|
var le = x.get(ee);
|
|
2104
|
-
if (le) return le.slice(0, oe).every(function(
|
|
2105
|
-
return
|
|
2104
|
+
if (le) return le.slice(0, oe).every(function(j) {
|
|
2105
|
+
return j;
|
|
2106
2106
|
});
|
|
2107
2107
|
});
|
|
2108
2108
|
if (ne) return k = ne, "break";
|
|
2109
2109
|
}, q = K; q > 0; q--) {
|
|
2110
|
-
var
|
|
2111
|
-
if (
|
|
2110
|
+
var Z = H(q);
|
|
2111
|
+
if (Z === "break") break;
|
|
2112
2112
|
}
|
|
2113
2113
|
e.placement !== k && (e.modifiersData[n]._skip = !0, e.placement = k, e.reset = !0);
|
|
2114
2114
|
}
|
|
@@ -2123,12 +2123,12 @@ function md(t) {
|
|
|
2123
2123
|
});
|
|
2124
2124
|
}
|
|
2125
2125
|
function h2(t) {
|
|
2126
|
-
var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper, i = e.modifiersData.preventOverflow, o =
|
|
2126
|
+
var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper, i = e.modifiersData.preventOverflow, o = ji(e, { elementContext: "reference" }), s = ji(e, { altBoundary: !0 }), u = gd(o, n), l = gd(s, a, i), c = md(u), d = md(l);
|
|
2127
2127
|
e.modifiersData[r] = { referenceClippingOffsets: u, popperEscapeOffsets: l, isReferenceHidden: c, hasPopperEscaped: d }, e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-reference-hidden": c, "data-popper-escaped": d });
|
|
2128
2128
|
}
|
|
2129
2129
|
var p2 = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: h2 };
|
|
2130
2130
|
function g2(t, e, r) {
|
|
2131
|
-
var n =
|
|
2131
|
+
var n = Zr(t), a = [hr, vr].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, e, { placement: t })) : r, o = i[0], s = i[1];
|
|
2132
2132
|
return o = o || 0, s = (s || 0) * a, [hr, Dr].indexOf(n) >= 0 ? { x: s, y: o } : { x: o, y: s };
|
|
2133
2133
|
}
|
|
2134
2134
|
function m2(t) {
|
|
@@ -2147,10 +2147,10 @@ function w2(t) {
|
|
|
2147
2147
|
return t === "x" ? "y" : "x";
|
|
2148
2148
|
}
|
|
2149
2149
|
function x2(t) {
|
|
2150
|
-
var e = t.state, r = t.options, n = t.name, a = r.mainAxis, i = a === void 0 ? !0 : a, o = r.altAxis, s = o === void 0 ? !1 : o, u = r.boundary, l = r.rootBoundary, c = r.altBoundary, d = r.padding, v = r.tether, h = v === void 0 ? !0 : v, f = r.tetherOffset, p = f === void 0 ? 0 : f, m =
|
|
2150
|
+
var e = t.state, r = t.options, n = t.name, a = r.mainAxis, i = a === void 0 ? !0 : a, o = r.altAxis, s = o === void 0 ? !1 : o, u = r.boundary, l = r.rootBoundary, c = r.altBoundary, d = r.padding, v = r.tether, h = v === void 0 ? !0 : v, f = r.tetherOffset, p = f === void 0 ? 0 : f, m = ji(e, { boundary: u, rootBoundary: l, padding: d, altBoundary: c }), g = Zr(e.placement), y = ai(e.placement), b = !y, w = Nu(g), C = w2(w), E = e.modifiersData.popperOffsets, x = e.rects.reference, T = e.rects.popper, k = typeof p == "function" ? p(Object.assign({}, e.rects, { placement: e.placement })) : p, P = typeof k == "number" ? { mainAxis: k, altAxis: k } : Object.assign({ mainAxis: 0, altAxis: 0 }, k), D = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, F = { x: 0, y: 0 };
|
|
2151
2151
|
if (E) {
|
|
2152
2152
|
if (i) {
|
|
2153
|
-
var I, L = w === "y" ? vr : hr, B = w === "y" ? Pr : Dr, A = w === "y" ? "height" : "width", _ = E[w], M = _ + m[L], R = _ - m[B], K = h ? -T[A] / 2 : 0, H = y === ei ? x[A] : T[A], q = y === ei ? -T[A] : -x[A],
|
|
2153
|
+
var I, L = w === "y" ? vr : hr, B = w === "y" ? Pr : Dr, A = w === "y" ? "height" : "width", _ = E[w], M = _ + m[L], R = _ - m[B], K = h ? -T[A] / 2 : 0, H = y === ei ? x[A] : T[A], q = y === ei ? -T[A] : -x[A], Z = e.elements.arrow, oe = h && Z ? Bu(Z) : { width: 0, height: 0 }, ne = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Wv(), ee = ne[L], le = ne[B], j = Vi(0, x[A], oe[A]), N = b ? x[A] / 2 - K - j - ee - P.mainAxis : H - j - ee - P.mainAxis, U = b ? -x[A] / 2 + K + j + le + P.mainAxis : q + j + le + P.mainAxis, X = e.elements.arrow && yo(e.elements.arrow), ge = X ? w === "y" ? X.clientTop || 0 : X.clientLeft || 0 : 0, Ee = (I = D == null ? void 0 : D[w]) != null ? I : 0, de = _ + N - Ee - ge, me = _ + U - Ee, xe = Vi(h ? xs(M, de) : M, _, h ? da(R, me) : R);
|
|
2154
2154
|
E[w] = xe, F[w] = xe - _;
|
|
2155
2155
|
}
|
|
2156
2156
|
if (s) {
|
|
@@ -2288,9 +2288,9 @@ function Vu(t) {
|
|
|
2288
2288
|
};
|
|
2289
2289
|
}
|
|
2290
2290
|
Vu();
|
|
2291
|
-
var L2 = [
|
|
2291
|
+
var L2 = [jv, eh, Zv, Uv];
|
|
2292
2292
|
Vu({ defaultModifiers: L2 });
|
|
2293
|
-
var A2 = [
|
|
2293
|
+
var A2 = [jv, eh, Zv, Uv, y2, v2, C2, Qw, p2], I2 = Vu({ defaultModifiers: A2 });
|
|
2294
2294
|
const M2 = (t, e, r = {}) => {
|
|
2295
2295
|
const n = {
|
|
2296
2296
|
name: "updateState",
|
|
@@ -2372,12 +2372,12 @@ function wd() {
|
|
|
2372
2372
|
cancelTimeout: r
|
|
2373
2373
|
};
|
|
2374
2374
|
}
|
|
2375
|
-
const
|
|
2375
|
+
const jl = {
|
|
2376
2376
|
prefix: Math.floor(Math.random() * 1e4),
|
|
2377
2377
|
current: 0
|
|
2378
|
-
}, B2 = Symbol("elIdInjection"), th = () => gt() ? Ke(B2,
|
|
2378
|
+
}, B2 = Symbol("elIdInjection"), th = () => gt() ? Ke(B2, jl) : jl, Ws = (t) => {
|
|
2379
2379
|
const e = th();
|
|
2380
|
-
!Pt && e ===
|
|
2380
|
+
!Pt && e === jl && Dt("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
2381
2381
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
2382
2382
|
prefix: number,
|
|
2383
2383
|
current: number,
|
|
@@ -2586,21 +2586,21 @@ const uh = Symbol("emptyValuesContextKey"), G2 = "use-empty-values", W2 = ["", v
|
|
|
2586
2586
|
default: void 0,
|
|
2587
2587
|
validator: (t) => lr(t) ? !t() : !t
|
|
2588
2588
|
}
|
|
2589
|
-
}),
|
|
2589
|
+
}), Z2 = (t, e) => {
|
|
2590
2590
|
const r = gt() ? Ke(uh, ue({})) : ue({}), n = V(() => t.emptyValues || r.value.emptyValues || W2), a = V(() => lr(t.valueOnClear) ? t.valueOnClear() : t.valueOnClear !== void 0 ? t.valueOnClear : lr(r.value.valueOnClear) ? r.value.valueOnClear() : r.value.valueOnClear !== void 0 ? r.value.valueOnClear : Y2), i = (o) => n.value.includes(o);
|
|
2591
2591
|
return n.value.includes(a.value) || Dt(G2, "value-on-clear should be a value of empty-values"), {
|
|
2592
2592
|
emptyValues: n,
|
|
2593
2593
|
valueOnClear: a,
|
|
2594
2594
|
isEmptyValue: i
|
|
2595
2595
|
};
|
|
2596
|
-
},
|
|
2596
|
+
}, j2 = rt({
|
|
2597
2597
|
ariaLabel: String,
|
|
2598
2598
|
ariaOrientation: {
|
|
2599
2599
|
type: String,
|
|
2600
2600
|
values: ["horizontal", "vertical", "undefined"]
|
|
2601
2601
|
},
|
|
2602
2602
|
ariaControls: String
|
|
2603
|
-
}), Xn = (t) => Mv(
|
|
2603
|
+
}), Xn = (t) => Mv(j2, t), ch = Symbol(), Cs = ue();
|
|
2604
2604
|
function qu(t, e = void 0) {
|
|
2605
2605
|
const r = gt() ? Ke(ch, Cs) : Cs;
|
|
2606
2606
|
return t ? V(() => {
|
|
@@ -2882,7 +2882,7 @@ const lx = rt({
|
|
|
2882
2882
|
n.type === "textarea" ? m.b() : p.b(),
|
|
2883
2883
|
p.m(h.value),
|
|
2884
2884
|
p.is("disabled", f.value),
|
|
2885
|
-
p.is("exceed",
|
|
2885
|
+
p.is("exceed", Z.value),
|
|
2886
2886
|
{
|
|
2887
2887
|
[p.b("group")]: i.prepend || i.append,
|
|
2888
2888
|
[p.m("prefix")]: i.prefix || n.prefixIcon,
|
|
@@ -2915,7 +2915,7 @@ const lx = rt({
|
|
|
2915
2915
|
n.inputStyle,
|
|
2916
2916
|
E.value,
|
|
2917
2917
|
{ resize: n.resize }
|
|
2918
|
-
]), M = V(() => Nn(n.modelValue) ? "" : String(n.modelValue)), R = V(() => n.clearable && !f.value && !n.readonly && !!M.value && (k.value || b.value)), K = V(() => n.showPassword && !f.value && !n.readonly && !!M.value && (!!M.value || k.value)), H = V(() => n.showWordLimit && !!n.maxlength && (n.type === "text" || n.type === "textarea") && !f.value && !n.readonly && !n.showPassword), q = V(() => M.value.length),
|
|
2918
|
+
]), M = V(() => Nn(n.modelValue) ? "" : String(n.modelValue)), R = V(() => n.clearable && !f.value && !n.readonly && !!M.value && (k.value || b.value)), K = V(() => n.showPassword && !f.value && !n.readonly && !!M.value && (!!M.value || k.value)), H = V(() => n.showWordLimit && !!n.maxlength && (n.type === "text" || n.type === "textarea") && !f.value && !n.readonly && !n.showPassword), q = V(() => M.value.length), Z = V(() => !!H.value && q.value > Number(n.maxlength)), oe = V(() => !!i.suffix || !!n.suffixIcon || R.value || n.showPassword || H.value || !!I.value && F.value), [ne, ee] = K2(g);
|
|
2919
2919
|
cn(y, (S) => {
|
|
2920
2920
|
if (N(), !H.value || n.resize !== "both")
|
|
2921
2921
|
return;
|
|
@@ -3446,7 +3446,7 @@ const xx = rt({
|
|
|
3446
3446
|
var C;
|
|
3447
3447
|
w(), c.value && ((C = v.value) == null || C.handleScroll(c.value));
|
|
3448
3448
|
});
|
|
3449
|
-
}), Ct(Uu,
|
|
3449
|
+
}), Ct(Uu, jr({
|
|
3450
3450
|
scrollbarElement: l,
|
|
3451
3451
|
wrapElement: c
|
|
3452
3452
|
})), gm(() => {
|
|
@@ -3934,8 +3934,8 @@ const Kx = () => {
|
|
|
3934
3934
|
function Xx(t, e, r, n, a, i) {
|
|
3935
3935
|
return Le(t.$slots, "default", { handleKeydown: t.onKeydown });
|
|
3936
3936
|
}
|
|
3937
|
-
var
|
|
3938
|
-
const
|
|
3937
|
+
var Zx = /* @__PURE__ */ ze(Yx, [["render", Xx], ["__file", "focus-trap.vue"]]);
|
|
3938
|
+
const jx = ["fixed", "absolute"], Qx = rt({
|
|
3939
3939
|
boundariesPadding: {
|
|
3940
3940
|
type: Number,
|
|
3941
3941
|
default: 0
|
|
@@ -3963,7 +3963,7 @@ const Zx = ["fixed", "absolute"], Qx = rt({
|
|
|
3963
3963
|
},
|
|
3964
3964
|
strategy: {
|
|
3965
3965
|
type: String,
|
|
3966
|
-
values:
|
|
3966
|
+
values: jx,
|
|
3967
3967
|
default: "absolute"
|
|
3968
3968
|
}
|
|
3969
3969
|
}), yh = rt({
|
|
@@ -4229,7 +4229,7 @@ const aC = 0, iC = (t) => {
|
|
|
4229
4229
|
onMouseenter: (B) => I.$emit("mouseenter", B),
|
|
4230
4230
|
onMouseleave: (B) => I.$emit("mouseleave", B)
|
|
4231
4231
|
}), [
|
|
4232
|
-
ce(O(
|
|
4232
|
+
ce(O(Zx), {
|
|
4233
4233
|
trapped: O(i),
|
|
4234
4234
|
"trap-on-focus-in": !0,
|
|
4235
4235
|
"focus-trap-el": O(h),
|
|
@@ -5269,7 +5269,7 @@ function YC(t) {
|
|
|
5269
5269
|
}
|
|
5270
5270
|
const XC = ve({
|
|
5271
5271
|
name: "ElButton"
|
|
5272
|
-
}),
|
|
5272
|
+
}), ZC = /* @__PURE__ */ ve({
|
|
5273
5273
|
...XC,
|
|
5274
5274
|
props: Jl,
|
|
5275
5275
|
emits: MC,
|
|
@@ -5329,7 +5329,7 @@ const XC = ve({
|
|
|
5329
5329
|
}, 16, ["class", "style", "onClick"]));
|
|
5330
5330
|
}
|
|
5331
5331
|
});
|
|
5332
|
-
var
|
|
5332
|
+
var jC = /* @__PURE__ */ ze(ZC, [["__file", "button.vue"]]);
|
|
5333
5333
|
const QC = {
|
|
5334
5334
|
size: Jl.size,
|
|
5335
5335
|
type: Jl.type
|
|
@@ -5340,7 +5340,7 @@ const QC = {
|
|
|
5340
5340
|
props: QC,
|
|
5341
5341
|
setup(t) {
|
|
5342
5342
|
const e = t;
|
|
5343
|
-
Ct(bh,
|
|
5343
|
+
Ct(bh, jr({
|
|
5344
5344
|
size: Nr(e, "size"),
|
|
5345
5345
|
type: Nr(e, "type")
|
|
5346
5346
|
}));
|
|
@@ -5353,7 +5353,7 @@ const QC = {
|
|
|
5353
5353
|
}
|
|
5354
5354
|
});
|
|
5355
5355
|
var xh = /* @__PURE__ */ ze(eE, [["__file", "button-group.vue"]]);
|
|
5356
|
-
const Hn = $t(
|
|
5356
|
+
const Hn = $t(jC, {
|
|
5357
5357
|
ButtonGroup: xh
|
|
5358
5358
|
}), tE = wn(xh), Fn = /* @__PURE__ */ new Map();
|
|
5359
5359
|
if (Pt) {
|
|
@@ -5682,7 +5682,7 @@ const oE = $t(iE), Eh = {
|
|
|
5682
5682
|
g.trueValue || g.falseValue || g.trueLabel || g.falseLabel ? Je(($(), Q("input", {
|
|
5683
5683
|
key: 0,
|
|
5684
5684
|
id: O(n),
|
|
5685
|
-
"onUpdate:modelValue": (x) =>
|
|
5685
|
+
"onUpdate:modelValue": (x) => Za(c) ? c.value = x : null,
|
|
5686
5686
|
class: ae(O(f).e("original")),
|
|
5687
5687
|
type: "checkbox",
|
|
5688
5688
|
indeterminate: g.indeterminate,
|
|
@@ -5701,7 +5701,7 @@ const oE = $t(iE), Eh = {
|
|
|
5701
5701
|
]) : Je(($(), Q("input", {
|
|
5702
5702
|
key: 1,
|
|
5703
5703
|
id: O(n),
|
|
5704
|
-
"onUpdate:modelValue": (x) =>
|
|
5704
|
+
"onUpdate:modelValue": (x) => Za(c) ? c.value = x : null,
|
|
5705
5705
|
class: ae(O(f).e("original")),
|
|
5706
5706
|
type: "checkbox",
|
|
5707
5707
|
indeterminate: g.indeterminate,
|
|
@@ -5775,7 +5775,7 @@ const hE = ve({
|
|
|
5775
5775
|
}, [
|
|
5776
5776
|
f.trueValue || f.falseValue || f.trueLabel || f.falseLabel ? Je(($(), Q("input", {
|
|
5777
5777
|
key: 0,
|
|
5778
|
-
"onUpdate:modelValue": (w) =>
|
|
5778
|
+
"onUpdate:modelValue": (w) => Za(s) ? s.value = w : null,
|
|
5779
5779
|
class: ae(O(d).be("button", "original")),
|
|
5780
5780
|
type: "checkbox",
|
|
5781
5781
|
name: f.name,
|
|
@@ -5792,7 +5792,7 @@ const hE = ve({
|
|
|
5792
5792
|
[hs, O(s)]
|
|
5793
5793
|
]) : Je(($(), Q("input", {
|
|
5794
5794
|
key: 1,
|
|
5795
|
-
"onUpdate:modelValue": (w) =>
|
|
5795
|
+
"onUpdate:modelValue": (w) => Za(s) ? s.value = w : null,
|
|
5796
5796
|
class: ae(O(d).be("button", "original")),
|
|
5797
5797
|
type: "checkbox",
|
|
5798
5798
|
name: f.name,
|
|
@@ -6059,7 +6059,7 @@ const SE = $t(kE), Dh = Symbol("rowContextKey"), TE = [
|
|
|
6059
6059
|
}
|
|
6060
6060
|
});
|
|
6061
6061
|
var LE = /* @__PURE__ */ ze(FE, [["__file", "row.vue"]]);
|
|
6062
|
-
const
|
|
6062
|
+
const Zu = $t(LE), AE = rt({
|
|
6063
6063
|
tag: {
|
|
6064
6064
|
type: String,
|
|
6065
6065
|
default: "div"
|
|
@@ -6132,7 +6132,7 @@ const ju = $t(LE), AE = rt({
|
|
|
6132
6132
|
}
|
|
6133
6133
|
});
|
|
6134
6134
|
var _E = /* @__PURE__ */ ze(ME, [["__file", "col.vue"]]);
|
|
6135
|
-
const
|
|
6135
|
+
const ju = $t(_E), BE = ve({
|
|
6136
6136
|
name: "ElCollapseTransition"
|
|
6137
6137
|
}), NE = /* @__PURE__ */ ve({
|
|
6138
6138
|
...BE,
|
|
@@ -6444,7 +6444,7 @@ function YE(t, e, r, n, a, i) {
|
|
|
6444
6444
|
], 2);
|
|
6445
6445
|
}
|
|
6446
6446
|
var XE = /* @__PURE__ */ ze(WE, [["render", YE], ["__file", "hue-slider.vue"]]);
|
|
6447
|
-
const
|
|
6447
|
+
const ZE = rt({
|
|
6448
6448
|
modelValue: String,
|
|
6449
6449
|
id: String,
|
|
6450
6450
|
showAlpha: Boolean,
|
|
@@ -6468,7 +6468,7 @@ const jE = rt({
|
|
|
6468
6468
|
default: !0
|
|
6469
6469
|
},
|
|
6470
6470
|
...Xn(["ariaLabel"])
|
|
6471
|
-
}),
|
|
6471
|
+
}), jE = {
|
|
6472
6472
|
[zt]: (t) => er(t) || Nn(t),
|
|
6473
6473
|
[Au]: (t) => er(t) || Nn(t),
|
|
6474
6474
|
activeChange: (t) => er(t) || Nn(t),
|
|
@@ -6796,8 +6796,8 @@ const sk = ve({
|
|
|
6796
6796
|
name: "ElColorPicker"
|
|
6797
6797
|
}), lk = /* @__PURE__ */ ve({
|
|
6798
6798
|
...sk,
|
|
6799
|
-
props:
|
|
6800
|
-
emits:
|
|
6799
|
+
props: ZE,
|
|
6800
|
+
emits: jE,
|
|
6801
6801
|
setup(t, { expose: e, emit: r }) {
|
|
6802
6802
|
const n = t, { t: a } = go(), i = Ve("color"), { formItem: o } = Ta(), s = pa(), u = bo(), { inputId: l, isLabeledByFormItem: c } = wo(n, {
|
|
6803
6803
|
formItemContext: o
|
|
@@ -6814,7 +6814,7 @@ const sk = ve({
|
|
|
6814
6814
|
}
|
|
6815
6815
|
});
|
|
6816
6816
|
let w = !0;
|
|
6817
|
-
const C =
|
|
6817
|
+
const C = jr(new qi({
|
|
6818
6818
|
enableAlpha: n.showAlpha,
|
|
6819
6819
|
format: n.colorFormat || "",
|
|
6820
6820
|
value: n.modelValue
|
|
@@ -6864,7 +6864,7 @@ const sk = ve({
|
|
|
6864
6864
|
C.compare(U) || R();
|
|
6865
6865
|
});
|
|
6866
6866
|
}
|
|
6867
|
-
function
|
|
6867
|
+
function Z() {
|
|
6868
6868
|
A(!1), r(zt, null), r("change", null), n.modelValue !== null && n.validateEvent && (o == null || o.validate("change").catch((N) => Dt(N))), R();
|
|
6869
6869
|
}
|
|
6870
6870
|
function oe() {
|
|
@@ -6887,7 +6887,7 @@ const sk = ve({
|
|
|
6887
6887
|
function le() {
|
|
6888
6888
|
p.value.focus();
|
|
6889
6889
|
}
|
|
6890
|
-
function
|
|
6890
|
+
function j() {
|
|
6891
6891
|
p.value.blur();
|
|
6892
6892
|
}
|
|
6893
6893
|
return Et(() => {
|
|
@@ -6912,7 +6912,7 @@ const sk = ve({
|
|
|
6912
6912
|
show: _,
|
|
6913
6913
|
hide: M,
|
|
6914
6914
|
focus: le,
|
|
6915
|
-
blur:
|
|
6915
|
+
blur: j
|
|
6916
6916
|
}), (N, U) => ($(), we(O(Xs), {
|
|
6917
6917
|
ref_key: "popper",
|
|
6918
6918
|
ref: f,
|
|
@@ -6984,7 +6984,7 @@ const sk = ve({
|
|
|
6984
6984
|
class: ae(O(i).be("dropdown", "link-btn")),
|
|
6985
6985
|
text: "",
|
|
6986
6986
|
size: "small",
|
|
6987
|
-
onClick:
|
|
6987
|
+
onClick: Z
|
|
6988
6988
|
}, {
|
|
6989
6989
|
default: re(() => [
|
|
6990
6990
|
We(Re(O(a)("el.colorpicker.clear")), 1)
|
|
@@ -7376,7 +7376,7 @@ const Ak = ve({
|
|
|
7376
7376
|
e.is("disabled", O(s)),
|
|
7377
7377
|
e.is("selected", O(o)),
|
|
7378
7378
|
e.is("hovering", O(v))
|
|
7379
|
-
]), a =
|
|
7379
|
+
]), a = jr({
|
|
7380
7380
|
index: -1,
|
|
7381
7381
|
groupDisabled: !1,
|
|
7382
7382
|
visible: !0,
|
|
@@ -7475,7 +7475,7 @@ function _k(t, e, r, n, a, i) {
|
|
|
7475
7475
|
}
|
|
7476
7476
|
var Bk = /* @__PURE__ */ ze(Mk, [["render", _k], ["__file", "select-dropdown.vue"]]);
|
|
7477
7477
|
const Nk = 11, $k = (t, e) => {
|
|
7478
|
-
const { t: r } = go(), n = Ws(), a = Ve("select"), i = Ve("input"), o =
|
|
7478
|
+
const { t: r } = go(), n = Ws(), a = Ve("select"), i = Ve("input"), o = jr({
|
|
7479
7479
|
inputValue: "",
|
|
7480
7480
|
options: /* @__PURE__ */ new Map(),
|
|
7481
7481
|
cachedOptions: /* @__PURE__ */ new Map(),
|
|
@@ -7514,13 +7514,13 @@ const Nk = 11, $k = (t, e) => {
|
|
|
7514
7514
|
}
|
|
7515
7515
|
}), k = ue(!1), P = ue(), { form: D, formItem: F } = Ta(), { inputId: I } = wo(t, {
|
|
7516
7516
|
formItemContext: F
|
|
7517
|
-
}), { valueOnClear: L, isEmptyValue: B } =
|
|
7517
|
+
}), { valueOnClear: L, isEmptyValue: B } = Z2(t), A = V(() => t.disabled || (D == null ? void 0 : D.disabled)), _ = V(() => fr(t.modelValue) ? t.modelValue.length > 0 : !B(t.modelValue)), M = V(() => t.clearable && !A.value && o.inputHovering && _.value), R = V(() => t.remote && t.filterable && !t.remoteShowSuffix ? "" : t.suffixIcon), K = V(() => a.is("reverse", R.value && k.value)), H = V(() => (F == null ? void 0 : F.validateState) || ""), q = V(() => Rv[H.value]), Z = V(() => t.remote ? 300 : 0), oe = V(() => t.loading ? t.loadingText || r("el.select.loading") : t.remote && !o.inputValue && o.options.size === 0 ? !1 : t.filterable && o.inputValue && o.options.size > 0 && ne.value === 0 ? t.noMatchText || r("el.select.noMatch") : o.options.size === 0 ? t.noDataText || r("el.select.noData") : null), ne = V(() => ee.value.filter((G) => G.visible).length), ee = V(() => {
|
|
7518
7518
|
const G = Array.from(o.options.values()), be = [];
|
|
7519
7519
|
return o.optionValues.forEach((Ge) => {
|
|
7520
7520
|
const at = G.findIndex((qr) => qr.value === Ge);
|
|
7521
7521
|
at > -1 && be.push(G[at]);
|
|
7522
7522
|
}), be.length >= G.length ? be : G;
|
|
7523
|
-
}), le = V(() => Array.from(o.cachedOptions.values())),
|
|
7523
|
+
}), le = V(() => Array.from(o.cachedOptions.values())), j = V(() => {
|
|
7524
7524
|
const G = ee.value.filter((be) => !be.created).some((be) => be.currentLabel === o.inputValue);
|
|
7525
7525
|
return t.filterable && t.allowCreate && o.inputValue !== "" && !G;
|
|
7526
7526
|
}), N = () => {
|
|
@@ -7630,7 +7630,7 @@ const Nk = 11, $k = (t, e) => {
|
|
|
7630
7630
|
return z();
|
|
7631
7631
|
}, Y = Iv(() => {
|
|
7632
7632
|
z();
|
|
7633
|
-
},
|
|
7633
|
+
}, Z.value), W = (G) => {
|
|
7634
7634
|
ys(t.modelValue, G) || e(Au, G);
|
|
7635
7635
|
}, he = (G) => Nb(G, (be) => !o.disabledOptions.has(be)), J = (G) => {
|
|
7636
7636
|
if (t.multiple && G.code !== Lt.delete && G.target.value.length <= 0) {
|
|
@@ -7708,12 +7708,12 @@ const Nk = 11, $k = (t, e) => {
|
|
|
7708
7708
|
A.value || (ql && (o.inputHovering = !0), o.menuVisibleOnFocus ? o.menuVisibleOnFocus = !1 : k.value = !k.value);
|
|
7709
7709
|
}, gr = () => {
|
|
7710
7710
|
k.value ? ee.value[o.hoveringIndex] && Me(ee.value[o.hoveringIndex]) : _t();
|
|
7711
|
-
}, Xt = (G) => Vt(G.value) ? dn(G.value, t.valueKey) : G.value,
|
|
7711
|
+
}, Xt = (G) => Vt(G.value) ? dn(G.value, t.valueKey) : G.value, Zt = V(() => ee.value.filter((G) => G.visible).every((G) => G.disabled)), wr = V(() => t.multiple ? t.collapseTags ? o.selected.slice(0, t.maxCollapseTags) : o.selected : []), Or = V(() => t.multiple ? t.collapseTags ? o.selected.slice(t.maxCollapseTags) : [] : []), ur = (G) => {
|
|
7712
7712
|
if (!k.value) {
|
|
7713
7713
|
k.value = !0;
|
|
7714
7714
|
return;
|
|
7715
7715
|
}
|
|
7716
|
-
if (!(o.options.size === 0 || o.filteredOptionsCount === 0 || b.value) && !
|
|
7716
|
+
if (!(o.options.size === 0 || o.filteredOptionsCount === 0 || b.value) && !Zt.value) {
|
|
7717
7717
|
G === "next" ? (o.hoveringIndex++, o.hoveringIndex === o.options.size && (o.hoveringIndex = 0)) : G === "prev" && (o.hoveringIndex--, o.hoveringIndex < 0 && (o.hoveringIndex = o.options.size - 1));
|
|
7718
7718
|
const be = ee.value[o.hoveringIndex];
|
|
7719
7719
|
(be.disabled === !0 || be.states.groupDisabled === !0 || !be.visible) && ur(G), ot(() => Be(P.value));
|
|
@@ -7762,7 +7762,7 @@ const Nk = 11, $k = (t, e) => {
|
|
|
7762
7762
|
iconReverse: K,
|
|
7763
7763
|
validateState: H,
|
|
7764
7764
|
validateIcon: q,
|
|
7765
|
-
showNewOption:
|
|
7765
|
+
showNewOption: j,
|
|
7766
7766
|
updateOptions: N,
|
|
7767
7767
|
collapseTagSize: X,
|
|
7768
7768
|
setSelected: Ce,
|
|
@@ -7943,11 +7943,11 @@ const zk = rt({
|
|
|
7943
7943
|
const r = V(() => {
|
|
7944
7944
|
const { modelValue: i, multiple: o } = t, s = o ? [] : void 0;
|
|
7945
7945
|
return fr(i) ? o ? i : s : o ? s : i;
|
|
7946
|
-
}), n =
|
|
7946
|
+
}), n = jr({
|
|
7947
7947
|
...ho(t),
|
|
7948
7948
|
modelValue: r
|
|
7949
7949
|
}), a = $k(n, e);
|
|
7950
|
-
return Ct(xo,
|
|
7950
|
+
return Ct(xo, jr({
|
|
7951
7951
|
props: n,
|
|
7952
7952
|
states: a.states,
|
|
7953
7953
|
optionsArray: a.optionsArray,
|
|
@@ -7963,7 +7963,7 @@ const zk = rt({
|
|
|
7963
7963
|
}
|
|
7964
7964
|
});
|
|
7965
7965
|
function Hk(t, e, r, n, a, i) {
|
|
7966
|
-
const o =
|
|
7966
|
+
const o = jt("el-tag"), s = jt("el-tooltip"), u = jt("el-icon"), l = jt("el-option"), c = jt("el-options"), d = jt("el-scrollbar"), v = jt("el-select-menu"), h = Em("click-outside");
|
|
7967
7967
|
return Je(($(), Q("div", {
|
|
7968
7968
|
ref: "selectRef",
|
|
7969
7969
|
class: ae([t.nsSelect.b(), t.nsSelect.m(t.selectSize)]),
|
|
@@ -8302,7 +8302,7 @@ const Kk = ve({
|
|
|
8302
8302
|
},
|
|
8303
8303
|
setup(t) {
|
|
8304
8304
|
const e = Ve("select"), r = ue(null), n = gt(), a = ue([]);
|
|
8305
|
-
Ct(Mh,
|
|
8305
|
+
Ct(Mh, jr({
|
|
8306
8306
|
...ho(t)
|
|
8307
8307
|
}));
|
|
8308
8308
|
const i = V(() => a.value.some((l) => l.visible === !0)), o = (l) => {
|
|
@@ -8413,14 +8413,14 @@ const Yk = rt({
|
|
|
8413
8413
|
"before-leave": () => !0,
|
|
8414
8414
|
"after-enter": () => !0,
|
|
8415
8415
|
"after-leave": () => !0
|
|
8416
|
-
},
|
|
8416
|
+
}, Zk = "onUpdate:visible", jk = ve({
|
|
8417
8417
|
name: "ElPopover"
|
|
8418
8418
|
}), Qk = /* @__PURE__ */ ve({
|
|
8419
|
-
...
|
|
8419
|
+
...jk,
|
|
8420
8420
|
props: Yk,
|
|
8421
8421
|
emits: Xk,
|
|
8422
8422
|
setup(t, { expose: e, emit: r }) {
|
|
8423
|
-
const n = t, a = V(() => n[
|
|
8423
|
+
const n = t, a = V(() => n[Zk]), i = Ve("popover"), o = ue(), s = V(() => {
|
|
8424
8424
|
var m;
|
|
8425
8425
|
return (m = O(o)) == null ? void 0 : m.popperRef;
|
|
8426
8426
|
}), u = V(() => [
|
|
@@ -8621,7 +8621,7 @@ class fa {
|
|
|
8621
8621
|
Object.assign(e, {
|
|
8622
8622
|
parent: this,
|
|
8623
8623
|
store: this.store
|
|
8624
|
-
}), e =
|
|
8624
|
+
}), e = jr(new fa(e)), e instanceof fa && e.initialize();
|
|
8625
8625
|
}
|
|
8626
8626
|
e.level = this.level + 1, typeof r > "u" || r < 0 ? this.childNodes.push(e) : this.childNodes.splice(r, 0, e), this.updateLeafState();
|
|
8627
8627
|
}
|
|
@@ -9155,12 +9155,12 @@ const lS = ve({
|
|
|
9155
9155
|
handleDragEnd: (k) => {
|
|
9156
9156
|
a.props.draggable && c.treeNodeDragEnd(k);
|
|
9157
9157
|
},
|
|
9158
|
-
CaretRight:
|
|
9158
|
+
CaretRight: Zb
|
|
9159
9159
|
};
|
|
9160
9160
|
}
|
|
9161
9161
|
});
|
|
9162
9162
|
function uS(t, e, r, n, a, i) {
|
|
9163
|
-
const o =
|
|
9163
|
+
const o = jt("el-icon"), s = jt("el-checkbox"), u = jt("loading"), l = jt("node-content"), c = jt("el-tree-node"), d = jt("el-collapse-transition");
|
|
9164
9164
|
return Je(($(), Q("div", {
|
|
9165
9165
|
ref: "node$",
|
|
9166
9166
|
class: ae([
|
|
@@ -9541,7 +9541,7 @@ const fS = ve({
|
|
|
9541
9541
|
}
|
|
9542
9542
|
});
|
|
9543
9543
|
function vS(t, e, r, n, a, i) {
|
|
9544
|
-
const o =
|
|
9544
|
+
const o = jt("el-tree-node");
|
|
9545
9545
|
return $(), Q("div", {
|
|
9546
9546
|
ref: "el$",
|
|
9547
9547
|
class: ae([
|
|
@@ -9588,7 +9588,7 @@ var hS = /* @__PURE__ */ ze(fS, [["render", vS], ["__file", "tree.vue"]]);
|
|
|
9588
9588
|
const pS = $t(hS);
|
|
9589
9589
|
function gS(t) {
|
|
9590
9590
|
let e;
|
|
9591
|
-
const r = ue(!1), n =
|
|
9591
|
+
const r = ue(!1), n = jr({
|
|
9592
9592
|
...t,
|
|
9593
9593
|
originalPosition: "",
|
|
9594
9594
|
originalOverflow: "",
|
|
@@ -9735,7 +9735,7 @@ const mS = function(t = {}) {
|
|
|
9735
9735
|
const o = e.instance, s = (v) => Vt(e.value) ? e.value[v] : void 0, u = (v) => {
|
|
9736
9736
|
const h = er(v) && (o == null ? void 0 : o[v]) || v;
|
|
9737
9737
|
return h && ue(h);
|
|
9738
|
-
}, l = (v) => u(s(v) || t.getAttribute(`element-loading-${
|
|
9738
|
+
}, l = (v) => u(s(v) || t.getAttribute(`element-loading-${jm(v)}`)), c = (r = s("fullscreen")) != null ? r : e.modifiers.fullscreen, d = {
|
|
9739
9739
|
text: l("text"),
|
|
9740
9740
|
svg: l("svg"),
|
|
9741
9741
|
svgViewBox: l("svgViewBox"),
|
|
@@ -9753,7 +9753,7 @@ const mS = function(t = {}) {
|
|
|
9753
9753
|
};
|
|
9754
9754
|
}, wS = (t, e) => {
|
|
9755
9755
|
for (const r of Object.keys(e))
|
|
9756
|
-
|
|
9756
|
+
Za(e[r]) && (e[r].value = t[r]);
|
|
9757
9757
|
}, $h = {
|
|
9758
9758
|
mounted(t, e) {
|
|
9759
9759
|
e.value && Xd(t, e);
|
|
@@ -9809,7 +9809,7 @@ const mS = function(t = {}) {
|
|
|
9809
9809
|
/* @__PURE__ */ ie("span", null, "Related Features")
|
|
9810
9810
|
], -1));
|
|
9811
9811
|
function PS(t, e, r, n, a, i) {
|
|
9812
|
-
const o = Hn, s = tE, u =
|
|
9812
|
+
const o = Hn, s = tE, u = Zu, l = ju, c = oE;
|
|
9813
9813
|
return $(), Q("div", ES, [
|
|
9814
9814
|
ce(u, null, {
|
|
9815
9815
|
default: re(() => [
|
|
@@ -10074,7 +10074,7 @@ const DS = /* @__PURE__ */ rn(CS, [["render", PS], ["__scopeId", "data-v-8168ee9
|
|
|
10074
10074
|
</g>
|
|
10075
10075
|
</g>
|
|
10076
10076
|
</g>
|
|
10077
|
-
</svg>`,
|
|
10077
|
+
</svg>`, Zh = `<?xml version="1.0" encoding="UTF-8"?>
|
|
10078
10078
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
10079
10079
|
<title>closeFullScreen</title>
|
|
10080
10080
|
<g id="closeFullScreen" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
@@ -10086,7 +10086,7 @@ const DS = /* @__PURE__ */ rn(CS, [["render", PS], ["__scopeId", "data-v-8168ee9
|
|
|
10086
10086
|
<polyline id="Line-5" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="square" transform="translate(17.250000, 7.750000) scale(1, -1) rotate(-360.000000) translate(-17.250000, -7.750000) " points="15.5 9.5 15.5 6 19 6"></polyline>
|
|
10087
10087
|
</g>
|
|
10088
10088
|
</g>
|
|
10089
|
-
</svg>`,
|
|
10089
|
+
</svg>`, jh = `<?xml version="1.0" encoding="UTF-8"?>
|
|
10090
10090
|
<svg width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
10091
10091
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
10092
10092
|
<title>Comment</title>
|
|
@@ -10373,8 +10373,8 @@ const DS = /* @__PURE__ */ rn(CS, [["render", PS], ["__scopeId", "data-v-8168ee9
|
|
|
10373
10373
|
"/assets/icons/changeBckgd.svg": Wh,
|
|
10374
10374
|
"/assets/icons/close-no-bk.svg": Yh,
|
|
10375
10375
|
"/assets/icons/close.svg": Xh,
|
|
10376
|
-
"/assets/icons/closeFullScreen.svg":
|
|
10377
|
-
"/assets/icons/comment.svg":
|
|
10376
|
+
"/assets/icons/closeFullScreen.svg": Zh,
|
|
10377
|
+
"/assets/icons/comment.svg": jh,
|
|
10378
10378
|
"/assets/icons/connection.svg": Qh,
|
|
10379
10379
|
"/assets/icons/dock.svg": Jh,
|
|
10380
10380
|
"/assets/icons/drawLine.svg": ep,
|
|
@@ -10413,8 +10413,8 @@ const iu = /* @__PURE__ */ Object.assign({
|
|
|
10413
10413
|
"/assets/icons/changeBckgd.svg": Wh,
|
|
10414
10414
|
"/assets/icons/close-no-bk.svg": Yh,
|
|
10415
10415
|
"/assets/icons/close.svg": Xh,
|
|
10416
|
-
"/assets/icons/closeFullScreen.svg":
|
|
10417
|
-
"/assets/icons/comment.svg":
|
|
10416
|
+
"/assets/icons/closeFullScreen.svg": Zh,
|
|
10417
|
+
"/assets/icons/comment.svg": jh,
|
|
10418
10418
|
"/assets/icons/connection.svg": Qh,
|
|
10419
10419
|
"/assets/icons/dock.svg": Jh,
|
|
10420
10420
|
"/assets/icons/drawLine.svg": ep,
|
|
@@ -10725,7 +10725,7 @@ const zS = /* @__PURE__ */ Rh(NS, [["render", RS]]), VS = (t, e) => {
|
|
|
10725
10725
|
}
|
|
10726
10726
|
}, qS = { class: "toolbar-container" }, KS = { class: "toolbar-icons" };
|
|
10727
10727
|
function US(t, e, r, n, a, i) {
|
|
10728
|
-
const o =
|
|
10728
|
+
const o = jt("map-svg-sprite-color"), s = jt("map-svg-icon"), u = Ju, l = DS;
|
|
10729
10729
|
return $(), Q("div", qS, [
|
|
10730
10730
|
ce(o),
|
|
10731
10731
|
ie("div", KS, [
|
|
@@ -11016,7 +11016,7 @@ const tA = /* @__PURE__ */ rn(HS, [["render", US], ["__scopeId", "data-v-6ac1a74
|
|
|
11016
11016
|
/* @__PURE__ */ ie("br"),
|
|
11017
11017
|
/* @__PURE__ */ We(" Click 'Help' to restart. ")
|
|
11018
11018
|
], -1)), XS = /* @__PURE__ */ rc(() => /* @__PURE__ */ ie("p", null, 'Click "Next" to see the next item.', -1));
|
|
11019
|
-
function
|
|
11019
|
+
function ZS(t, e, r, n, a, i) {
|
|
11020
11020
|
const o = Hn;
|
|
11021
11021
|
return $(), Q("div", {
|
|
11022
11022
|
class: ae(["help-mode-dialog", { finish: r.lastItem }])
|
|
@@ -11060,8 +11060,8 @@ function jS(t, e, r, n, a, i) {
|
|
|
11060
11060
|
], 64))
|
|
11061
11061
|
], 2);
|
|
11062
11062
|
}
|
|
11063
|
-
const rA = /* @__PURE__ */ rn(GS, [["render",
|
|
11064
|
-
function
|
|
11063
|
+
const rA = /* @__PURE__ */ rn(GS, [["render", ZS], ["__scopeId", "data-v-3efb89fb"]]);
|
|
11064
|
+
function jS(t) {
|
|
11065
11065
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
|
|
11066
11066
|
var n = t.get(e);
|
|
11067
11067
|
n ? n.push(r) : t.set(e, [r]);
|
|
@@ -11077,7 +11077,7 @@ function ZS(t) {
|
|
|
11077
11077
|
});
|
|
11078
11078
|
} };
|
|
11079
11079
|
}
|
|
11080
|
-
const Ki = new
|
|
11080
|
+
const Ki = new jS(), QS = {
|
|
11081
11081
|
name: "ExternalResourceCard",
|
|
11082
11082
|
props: {
|
|
11083
11083
|
resources: {
|
|
@@ -11575,7 +11575,7 @@ const IT = /* @__PURE__ */ rn(aT, [["render", AT], ["__scopeId", "data-v-ef9a0f6
|
|
|
11575
11575
|
}
|
|
11576
11576
|
}, Pa = (t) => (Ms("data-v-09c78af1"), t = t(), _s(), t), _T = { class: "block" }, BT = /* @__PURE__ */ Pa(() => /* @__PURE__ */ ie("div", { class: "title" }, "Feature Annotations", -1)), NT = /* @__PURE__ */ Pa(() => /* @__PURE__ */ ie("strong", { class: "sub-title" }, "Previous submissions:", -1)), $T = /* @__PURE__ */ Pa(() => /* @__PURE__ */ ie("strong", null, "Evidence: ", -1)), RT = ["href"], zT = /* @__PURE__ */ Pa(() => /* @__PURE__ */ ie("strong", null, "Comment: ", -1)), VT = /* @__PURE__ */ Pa(() => /* @__PURE__ */ ie("strong", { class: "sub-title" }, "Suggest changes:", -1)), HT = /* @__PURE__ */ Pa(() => /* @__PURE__ */ ie("strong", null, "Evidence:", -1)), qT = /* @__PURE__ */ Pa(() => /* @__PURE__ */ ie("strong", null, "Comment:", -1)), KT = { class: "sub-title" };
|
|
11577
11577
|
function UT(t, e, r, n, a, i) {
|
|
11578
|
-
const o =
|
|
11578
|
+
const o = Zu, s = Nv, u = Qt, l = qs, c = ow, d = aw, v = lw, h = ju, f = ws, p = Wk, m = Gk, g = dh, y = Hn, b = Ck;
|
|
11579
11579
|
return $(), we(b, { class: "main" }, {
|
|
11580
11580
|
default: re(() => [
|
|
11581
11581
|
ie("div", _T, [
|
|
@@ -11881,7 +11881,7 @@ function XT(t, e, r, n, a, i) {
|
|
|
11881
11881
|
}, null, 8, ["tooltipEntry"]))
|
|
11882
11882
|
]);
|
|
11883
11883
|
}
|
|
11884
|
-
const nA = /* @__PURE__ */ rn(WT, [["render", XT], ["__scopeId", "data-v-229b3988"]]),
|
|
11884
|
+
const nA = /* @__PURE__ */ rn(WT, [["render", XT], ["__scopeId", "data-v-229b3988"]]), ZT = {
|
|
11885
11885
|
name: "TreeControls",
|
|
11886
11886
|
props: {
|
|
11887
11887
|
/**
|
|
@@ -12005,7 +12005,7 @@ const nA = /* @__PURE__ */ rn(WT, [["render", XT], ["__scopeId", "data-v-229b398
|
|
|
12005
12005
|
unmounted: function() {
|
|
12006
12006
|
this.sortedPrimitiveGroups = void 0;
|
|
12007
12007
|
}
|
|
12008
|
-
},
|
|
12008
|
+
}, jT = { class: "selections-container" }, QT = { class: "title-text" }, JT = {
|
|
12009
12009
|
class: "tree-container",
|
|
12010
12010
|
ref: "treeContainer"
|
|
12011
12011
|
}, e5 = { class: "tooltip-text" }, t5 = ["onClick", "onMouseover", "onMouseenter"], r5 = ["onClick", "onMouseover", "onMouseenter"], n5 = { class: "lastChildInItem" }, a5 = {
|
|
@@ -12013,8 +12013,8 @@ const nA = /* @__PURE__ */ rn(WT, [["render", XT], ["__scopeId", "data-v-229b398
|
|
|
12013
12013
|
class: "node-options"
|
|
12014
12014
|
};
|
|
12015
12015
|
function i5(t, e, r, n, a, i) {
|
|
12016
|
-
const o =
|
|
12017
|
-
return $(), Q("div",
|
|
12016
|
+
const o = ju, s = Zu, u = Ju, l = ck, c = pS, d = $h;
|
|
12017
|
+
return $(), Q("div", jT, [
|
|
12018
12018
|
r.title ? ($(), we(s, { key: 0 }, {
|
|
12019
12019
|
default: re(() => [
|
|
12020
12020
|
ce(o, { span: 12 }, {
|
|
@@ -12110,7 +12110,7 @@ function i5(t, e, r, n, a, i) {
|
|
|
12110
12110
|
], 512)
|
|
12111
12111
|
]);
|
|
12112
12112
|
}
|
|
12113
|
-
const aA = /* @__PURE__ */ rn(
|
|
12113
|
+
const aA = /* @__PURE__ */ rn(ZT, [["render", i5], ["__scopeId", "data-v-aa649eae"]]), Zd = "Copy to clipboard", o5 = "Copied!", s5 = "#8300bf", l5 = {
|
|
12114
12114
|
name: "CopyToClipboard",
|
|
12115
12115
|
props: {
|
|
12116
12116
|
content: {
|
|
@@ -12129,7 +12129,7 @@ const aA = /* @__PURE__ */ rn(jT, [["render", i5], ["__scopeId", "data-v-aa649ea
|
|
|
12129
12129
|
},
|
|
12130
12130
|
data: function() {
|
|
12131
12131
|
return {
|
|
12132
|
-
textLabel:
|
|
12132
|
+
textLabel: Zd,
|
|
12133
12133
|
autoHideTimeout: 0,
|
|
12134
12134
|
iconColor: s5
|
|
12135
12135
|
};
|
|
@@ -12156,7 +12156,7 @@ const aA = /* @__PURE__ */ rn(jT, [["render", i5], ["__scopeId", "data-v-aa649ea
|
|
|
12156
12156
|
t ? this.textLabel = o5 : this.textLabel = "Error trying to copy to clipboard!";
|
|
12157
12157
|
},
|
|
12158
12158
|
resetSettings: function() {
|
|
12159
|
-
this.autoHideTimeout = 0, this.textLabel =
|
|
12159
|
+
this.autoHideTimeout = 0, this.textLabel = Zd;
|
|
12160
12160
|
}
|
|
12161
12161
|
}
|
|
12162
12162
|
}, u5 = { class: "visually-hidden" };
|
|
@@ -12249,13 +12249,13 @@ function v5(t, e) {
|
|
|
12249
12249
|
}
|
|
12250
12250
|
function Cp(t, e) {
|
|
12251
12251
|
if (t) {
|
|
12252
|
-
if (typeof t == "string") return
|
|
12252
|
+
if (typeof t == "string") return jd(t, e);
|
|
12253
12253
|
var r = Object.prototype.toString.call(t).slice(8, -1);
|
|
12254
12254
|
if (r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set") return Array.from(t);
|
|
12255
|
-
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return
|
|
12255
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return jd(t, e);
|
|
12256
12256
|
}
|
|
12257
12257
|
}
|
|
12258
|
-
function
|
|
12258
|
+
function jd(t, e) {
|
|
12259
12259
|
(e == null || e > t.length) && (e = t.length);
|
|
12260
12260
|
for (var r = 0, n = new Array(e); r < e; r++) n[r] = t[r];
|
|
12261
12261
|
return n;
|
|
@@ -12374,7 +12374,7 @@ var p5 = It(""), kp = It({}), g5 = It(function() {
|
|
|
12374
12374
|
return t.replace(/([A-Z])/g, function(e) {
|
|
12375
12375
|
return "-" + e.toLowerCase();
|
|
12376
12376
|
});
|
|
12377
|
-
}),
|
|
12377
|
+
}), Zs = to(function(t) {
|
|
12378
12378
|
return t.replace(/(-\w)/g, function(e) {
|
|
12379
12379
|
return e[1].toUpperCase();
|
|
12380
12380
|
});
|
|
@@ -12623,8 +12623,8 @@ var ga = $5, _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? w
|
|
|
12623
12623
|
function R5(t, e) {
|
|
12624
12624
|
return e = { exports: {} }, t(e, e.exports), e.exports;
|
|
12625
12625
|
}
|
|
12626
|
-
var z5 = typeof _i == "object" && _i && _i.Object === Object && _i, V5 = z5, H5 = typeof self == "object" && self && self.Object === Object && self, q5 = V5 || H5 || Function("return this")(),
|
|
12627
|
-
return
|
|
12626
|
+
var z5 = typeof _i == "object" && _i && _i.Object === Object && _i, V5 = z5, H5 = typeof self == "object" && self && self.Object === Object && self, q5 = V5 || H5 || Function("return this")(), js = q5, K5 = function() {
|
|
12627
|
+
return js.Date.now();
|
|
12628
12628
|
}, Fl = K5, U5 = /\s/;
|
|
12629
12629
|
function G5(t) {
|
|
12630
12630
|
for (var e = t.length; e-- && U5.test(t.charAt(e)); )
|
|
@@ -12635,7 +12635,7 @@ var W5 = G5, Y5 = /^\s+/;
|
|
|
12635
12635
|
function X5(t) {
|
|
12636
12636
|
return t && t.slice(0, W5(t) + 1).replace(Y5, "");
|
|
12637
12637
|
}
|
|
12638
|
-
var
|
|
12638
|
+
var Z5 = X5, j5 = js.Symbol, ii = j5, Lp = Object.prototype, Q5 = Lp.hasOwnProperty, J5 = Lp.toString, Oi = ii ? ii.toStringTag : void 0;
|
|
12639
12639
|
function e4(t) {
|
|
12640
12640
|
var e = Q5.call(t, Oi), r = t[Oi];
|
|
12641
12641
|
try {
|
|
@@ -12674,7 +12674,7 @@ function m4(t) {
|
|
|
12674
12674
|
}
|
|
12675
12675
|
if (typeof t != "string")
|
|
12676
12676
|
return t === 0 ? t : +t;
|
|
12677
|
-
t =
|
|
12677
|
+
t = Z5(t);
|
|
12678
12678
|
var r = h4.test(t);
|
|
12679
12679
|
return r || p4.test(t) ? g4(t.slice(2), r ? 2 : 8) : v4.test(t) ? tf : +t;
|
|
12680
12680
|
}
|
|
@@ -13091,10 +13091,10 @@ var Qs = x4, Ll = Ft ? Ft.performance : null, Ip = Ll && Ll.now ? function() {
|
|
|
13091
13091
|
for (var H = I.connectedEdges().filter(function(ee) {
|
|
13092
13092
|
return (!i || ee.source().same(I)) && y.has(ee);
|
|
13093
13093
|
}), q = 0; q < H.length; q++) {
|
|
13094
|
-
var
|
|
13094
|
+
var Z = H[q], oe = Z.connectedNodes().filter(function(ee) {
|
|
13095
13095
|
return !ee.same(I) && g.has(ee);
|
|
13096
13096
|
}), ne = oe.id();
|
|
13097
|
-
oe.length !== 0 && !h[ne] && (oe = oe[0], l.push(oe), e.bfs && (h[ne] = !0, c.push(oe)), d[ne] =
|
|
13097
|
+
oe.length !== 0 && !h[ne] && (oe = oe[0], l.push(oe), e.bfs && (h[ne] = !0, c.push(oe)), d[ne] = Z, v[ne] = v[L] + 1);
|
|
13098
13098
|
}
|
|
13099
13099
|
}; l.length !== 0; ) {
|
|
13100
13100
|
var x = E();
|
|
@@ -13262,8 +13262,8 @@ var _4 = R5(function(t, e) {
|
|
|
13262
13262
|
}
|
|
13263
13263
|
for (var C = function(A, _) {
|
|
13264
13264
|
for (var M = (o ? A.edgesTo(_) : A.edgesWith(_)).intersect(p), R = 1 / 0, K, H = 0; H < M.length; H++) {
|
|
13265
|
-
var q = M[H],
|
|
13266
|
-
(
|
|
13265
|
+
var q = M[H], Z = u(q);
|
|
13266
|
+
(Z < R || !K) && (R = Z, K = q);
|
|
13267
13267
|
}
|
|
13268
13268
|
return {
|
|
13269
13269
|
edge: K,
|
|
@@ -13386,10 +13386,10 @@ var _4 = R5(function(t, e) {
|
|
|
13386
13386
|
}), H4 = {
|
|
13387
13387
|
// Implemented from pseudocode from wikipedia
|
|
13388
13388
|
floydWarshall: function(e) {
|
|
13389
|
-
for (var r = this.cy(), n = V4(e), a = n.weight, i = n.directed, o = a, s = this.byGroup(), u = s.nodes, l = s.edges, c = u.length, d = c * c, v = function(
|
|
13390
|
-
return u.indexOf(
|
|
13391
|
-
}, h = function(
|
|
13392
|
-
return u[
|
|
13389
|
+
for (var r = this.cy(), n = V4(e), a = n.weight, i = n.directed, o = a, s = this.byGroup(), u = s.nodes, l = s.edges, c = u.length, d = c * c, v = function(Z) {
|
|
13390
|
+
return u.indexOf(Z);
|
|
13391
|
+
}, h = function(Z) {
|
|
13392
|
+
return u[Z];
|
|
13393
13393
|
}, f = new Array(d), p = 0; p < d; p++) {
|
|
13394
13394
|
var m = p % c, g = (p - m) / c;
|
|
13395
13395
|
g === m ? f[p] = 0 : f[p] = 1 / 0;
|
|
@@ -13410,25 +13410,25 @@ var _4 = R5(function(t, e) {
|
|
|
13410
13410
|
var _ = L * c + A, M = I * c + A;
|
|
13411
13411
|
f[B] + f[M] < f[_] && (f[_] = f[B] + f[M], y[_] = y[B]);
|
|
13412
13412
|
}
|
|
13413
|
-
var R = function(
|
|
13414
|
-
return (Ae(
|
|
13415
|
-
}, K = function(
|
|
13416
|
-
return v(R(
|
|
13413
|
+
var R = function(Z) {
|
|
13414
|
+
return (Ae(Z) ? r.filter(Z) : Z)[0];
|
|
13415
|
+
}, K = function(Z) {
|
|
13416
|
+
return v(R(Z));
|
|
13417
13417
|
}, H = {
|
|
13418
|
-
distance: function(
|
|
13419
|
-
var ne = K(
|
|
13418
|
+
distance: function(Z, oe) {
|
|
13419
|
+
var ne = K(Z), ee = K(oe);
|
|
13420
13420
|
return f[ne * c + ee];
|
|
13421
13421
|
},
|
|
13422
|
-
path: function(
|
|
13423
|
-
var ne = K(
|
|
13422
|
+
path: function(Z, oe) {
|
|
13423
|
+
var ne = K(Z), ee = K(oe), le = h(ne);
|
|
13424
13424
|
if (ne === ee)
|
|
13425
13425
|
return le.collection();
|
|
13426
13426
|
if (y[ne * c + ee] == null)
|
|
13427
13427
|
return r.collection();
|
|
13428
|
-
var
|
|
13429
|
-
for (
|
|
13430
|
-
N = ne, ne = y[ne * c + ee], U = b[N * c + ne],
|
|
13431
|
-
return
|
|
13428
|
+
var j = r.collection(), N = ne, U;
|
|
13429
|
+
for (j.merge(le); ne !== ee; )
|
|
13430
|
+
N = ne, ne = y[ne * c + ee], U = b[N * c + ne], j.merge(U), j.merge(h(ne));
|
|
13431
|
+
return j;
|
|
13432
13432
|
}
|
|
13433
13433
|
};
|
|
13434
13434
|
return H;
|
|
@@ -13482,12 +13482,12 @@ var _4 = R5(function(t, e) {
|
|
|
13482
13482
|
}
|
|
13483
13483
|
if (k)
|
|
13484
13484
|
for (var R = [], K = 0; K < g; K++) {
|
|
13485
|
-
var H = d[K], q = H.source(),
|
|
13485
|
+
var H = d[K], q = H.source(), Z = H.target(), oe = s(H), ne = y(q).dist, ee = y(Z).dist;
|
|
13486
13486
|
if (ne + oe < ee || !i && ee + oe < ne)
|
|
13487
13487
|
if (p || (tt("Graph contains a negative weight cycle for Bellman-Ford"), p = !0), e.findNegativeWeightCycles !== !1) {
|
|
13488
13488
|
var le = [];
|
|
13489
|
-
ne + oe < ee && le.push(q), !i && ee + oe < ne && le.push(
|
|
13490
|
-
for (var
|
|
13489
|
+
ne + oe < ee && le.push(q), !i && ee + oe < ne && le.push(Z);
|
|
13490
|
+
for (var j = le.length, N = 0; N < j; N++) {
|
|
13491
13491
|
var U = le[N], X = [U];
|
|
13492
13492
|
X.push(y(U).edge);
|
|
13493
13493
|
for (var ge = y(U).pred; X.indexOf(ge) === -1; )
|
|
@@ -13608,13 +13608,13 @@ var _4 = R5(function(t, e) {
|
|
|
13608
13608
|
isFinite(o) && (a = Math.min(o, a));
|
|
13609
13609
|
}
|
|
13610
13610
|
return a;
|
|
13611
|
-
},
|
|
13611
|
+
}, Z4 = function(e) {
|
|
13612
13612
|
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e.length, a = -1 / 0, i = r; i < n; i++) {
|
|
13613
13613
|
var o = e[i];
|
|
13614
13614
|
isFinite(o) && (a = Math.max(o, a));
|
|
13615
13615
|
}
|
|
13616
13616
|
return a;
|
|
13617
|
-
},
|
|
13617
|
+
}, j4 = function(e) {
|
|
13618
13618
|
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e.length, a = 0, i = 0, o = r; o < n; o++) {
|
|
13619
13619
|
var s = e[o];
|
|
13620
13620
|
isFinite(s) && (a += s, i++);
|
|
@@ -13791,8 +13791,8 @@ var _4 = R5(function(t, e) {
|
|
|
13791
13791
|
return [B[0], B[1]];
|
|
13792
13792
|
}
|
|
13793
13793
|
{
|
|
13794
|
-
var q = n - c + l,
|
|
13795
|
-
if (B = Ni(e, r, n, a, q,
|
|
13794
|
+
var q = n - c + l, Z = a + d - l;
|
|
13795
|
+
if (B = Ni(e, r, n, a, q, Z, l + s), B.length > 0 && B[0] <= q && B[1] >= Z)
|
|
13796
13796
|
return [B[0], B[1]];
|
|
13797
13797
|
}
|
|
13798
13798
|
return [];
|
|
@@ -14019,16 +14019,16 @@ var _4 = R5(function(t, e) {
|
|
|
14019
14019
|
for (var M = new Array(d), R = new Array(d), K, H = 0; H < d; H++)
|
|
14020
14020
|
M[H] = 1;
|
|
14021
14021
|
for (var q = 0; q < i; q++) {
|
|
14022
|
-
for (var
|
|
14023
|
-
R[
|
|
14022
|
+
for (var Z = 0; Z < d; Z++)
|
|
14023
|
+
R[Z] = 0;
|
|
14024
14024
|
for (var oe = 0; oe < d; oe++)
|
|
14025
14025
|
for (var ne = 0; ne < d; ne++) {
|
|
14026
14026
|
var ee = oe * d + ne;
|
|
14027
14027
|
R[oe] += f[ee] * M[ne];
|
|
14028
14028
|
}
|
|
14029
14029
|
eP(R), K = M, M = R, R = K;
|
|
14030
|
-
for (var le = 0,
|
|
14031
|
-
var N = K[
|
|
14030
|
+
for (var le = 0, j = 0; j < d; j++) {
|
|
14031
|
+
var N = K[j] - M[j];
|
|
14032
14032
|
le += N * N;
|
|
14033
14033
|
}
|
|
14034
14034
|
if (le < a)
|
|
@@ -14203,8 +14203,8 @@ var bP = Gt({
|
|
|
14203
14203
|
for (var K = {}, H = 0; H < s.length; H++)
|
|
14204
14204
|
K[s[H].id()] = 0;
|
|
14205
14205
|
for (; C.length > 0; ) {
|
|
14206
|
-
for (var q = C.pop(),
|
|
14207
|
-
var oe = E[q][
|
|
14206
|
+
for (var q = C.pop(), Z = 0; Z < E[q].length; Z++) {
|
|
14207
|
+
var oe = E[q][Z];
|
|
14208
14208
|
K[oe] = K[oe] + x[oe] / x[q] * (1 + K[q]);
|
|
14209
14209
|
}
|
|
14210
14210
|
q != s[b].id() && d.set(q, d.get(q) + K[q]);
|
|
@@ -14384,13 +14384,13 @@ var _P = Gt({
|
|
|
14384
14384
|
s[c] = u;
|
|
14385
14385
|
}
|
|
14386
14386
|
return s;
|
|
14387
|
-
},
|
|
14387
|
+
}, Zp = function(e, r, n, a, i) {
|
|
14388
14388
|
for (var o = 1 / 0, s = 0, u = 0; u < r.length; u++) {
|
|
14389
14389
|
var l = Ds(n, e, r[u], a, i);
|
|
14390
14390
|
l < o && (o = l, s = u);
|
|
14391
14391
|
}
|
|
14392
14392
|
return s;
|
|
14393
|
-
},
|
|
14393
|
+
}, jp = function(e, r, n) {
|
|
14394
14394
|
for (var a = [], i = null, o = 0; o < r.length; o++)
|
|
14395
14395
|
i = r[o], n[i.id()] === e && a.push(i);
|
|
14396
14396
|
return a;
|
|
@@ -14429,10 +14429,10 @@ var _P = Gt({
|
|
|
14429
14429
|
i.testMode ? typeof i.testCentroids == "number" ? (i.testCentroids, u = Ml(n, i.k, i.attributes)) : It(i.testCentroids) === "object" ? u = i.testCentroids : u = Ml(n, i.k, i.attributes) : u = Ml(n, i.k, i.attributes);
|
|
14430
14430
|
for (var l = !0, c = 0; l && c < i.maxIterations; ) {
|
|
14431
14431
|
for (var d = 0; d < n.length; d++)
|
|
14432
|
-
a = n[d], s[a.id()] =
|
|
14432
|
+
a = n[d], s[a.id()] = Zp(a, u, i.distance, i.attributes, "kMeans");
|
|
14433
14433
|
l = !1;
|
|
14434
14434
|
for (var v = 0; v < i.k; v++) {
|
|
14435
|
-
var h =
|
|
14435
|
+
var h = jp(v, n, s);
|
|
14436
14436
|
if (h.length !== 0) {
|
|
14437
14437
|
for (var f = i.attributes.length, p = u[v], m = new Array(f), g = new Array(f), y = 0; y < f; y++) {
|
|
14438
14438
|
g[y] = 0;
|
|
@@ -14451,10 +14451,10 @@ var _P = Gt({
|
|
|
14451
14451
|
i.testMode ? typeof i.testCentroids == "number" || (It(i.testCentroids) === "object" ? s = i.testCentroids : s = vf(n, i.k)) : s = vf(n, i.k);
|
|
14452
14452
|
for (var d = !0, v = 0; d && v < i.maxIterations; ) {
|
|
14453
14453
|
for (var h = 0; h < n.length; h++)
|
|
14454
|
-
a = n[h], u[a.id()] =
|
|
14454
|
+
a = n[h], u[a.id()] = Zp(a, s, i.distance, i.attributes, "kMedoids");
|
|
14455
14455
|
d = !1;
|
|
14456
14456
|
for (var f = 0; f < s.length; f++) {
|
|
14457
|
-
var p =
|
|
14457
|
+
var p = jp(f, n, u);
|
|
14458
14458
|
if (p.length !== 0) {
|
|
14459
14459
|
c[f] = hf(s[f], p, i.attributes);
|
|
14460
14460
|
for (var m = 0; m < p.length; m++)
|
|
@@ -14645,10 +14645,10 @@ var _P = Gt({
|
|
|
14645
14645
|
return a.mode === "dendrogram" ? (g = XP(s[0], a.dendrogramDepth, r), a.addDendrogram && YP(s[0], r)) : (g = new Array(s.length), s.forEach(function(y, b) {
|
|
14646
14646
|
y.key = y.index = null, g[b] = r.collection(y.value);
|
|
14647
14647
|
})), g;
|
|
14648
|
-
},
|
|
14648
|
+
}, ZP = {
|
|
14649
14649
|
hierarchicalClustering: mf,
|
|
14650
14650
|
hca: mf
|
|
14651
|
-
},
|
|
14651
|
+
}, jP = Gt({
|
|
14652
14652
|
distance: "euclidean",
|
|
14653
14653
|
// distance metric to compare attributes between two nodes
|
|
14654
14654
|
preference: "median",
|
|
@@ -14671,7 +14671,7 @@ var _P = Gt({
|
|
|
14671
14671
|
return i === n;
|
|
14672
14672
|
}) || ye(n) || mt("Preference must be one of [".concat(a.map(function(i) {
|
|
14673
14673
|
return "'".concat(i, "'");
|
|
14674
|
-
}).join(", "), "] or a number. Got: ").concat(n)),
|
|
14674
|
+
}).join(", "), "] or a number. Got: ").concat(n)), jP(e);
|
|
14675
14675
|
}, JP = function(e, r, n, a) {
|
|
14676
14676
|
var i = function(s, u) {
|
|
14677
14677
|
return a[u](s);
|
|
@@ -14683,7 +14683,7 @@ var _P = Gt({
|
|
|
14683
14683
|
}, r, n);
|
|
14684
14684
|
}, eD = function(e, r) {
|
|
14685
14685
|
var n = null;
|
|
14686
|
-
return r === "median" ? n = Q4(e) : r === "mean" ? n =
|
|
14686
|
+
return r === "median" ? n = Q4(e) : r === "mean" ? n = j4(e) : r === "min" ? n = X4(e) : r === "max" ? n = Z4(e) : n = r, n;
|
|
14687
14687
|
}, tD = function(e, r, n) {
|
|
14688
14688
|
for (var a = [], i = 0; i < e; i++)
|
|
14689
14689
|
r[i * e + i] + n[i * e + i] > 0 && a.push(i);
|
|
@@ -14752,8 +14752,8 @@ var _P = Gt({
|
|
|
14752
14752
|
v[_ * s + _] = (1 - a.damping) * (M - w[_]) + a.damping * b[_];
|
|
14753
14753
|
}
|
|
14754
14754
|
for (var H = 0, q = 0; q < s; q++) {
|
|
14755
|
-
var
|
|
14756
|
-
x[k % a.minIterations * s + q] =
|
|
14755
|
+
var Z = v[q * s + q] + d[q * s + q] > 0 ? 1 : 0;
|
|
14756
|
+
x[k % a.minIterations * s + q] = Z, H += Z;
|
|
14757
14757
|
}
|
|
14758
14758
|
if (H > 0 && (k >= a.minIterations - 1 || k == a.maxIterations - 1)) {
|
|
14759
14759
|
for (var oe = 0, ne = 0; ne < s; ne++) {
|
|
@@ -14766,10 +14766,10 @@ var _P = Gt({
|
|
|
14766
14766
|
break;
|
|
14767
14767
|
}
|
|
14768
14768
|
}
|
|
14769
|
-
for (var le = tD(s, d, v),
|
|
14769
|
+
for (var le = tD(s, d, v), j = rD(s, l, le), N = {}, U = 0; U < le.length; U++)
|
|
14770
14770
|
N[le[U]] = [];
|
|
14771
14771
|
for (var X = 0; X < n.length; X++) {
|
|
14772
|
-
var ge = i[n[X].id()], Ee =
|
|
14772
|
+
var ge = i[n[X].id()], Ee = j[ge];
|
|
14773
14773
|
Ee != null && N[Ee].push(n[X]);
|
|
14774
14774
|
}
|
|
14775
14775
|
for (var de = new Array(le.length), me = 0; me < le.length; me++)
|
|
@@ -14935,7 +14935,7 @@ var _P = Gt({
|
|
|
14935
14935
|
tscc: Go,
|
|
14936
14936
|
tarjanStronglyConnectedComponents: Go
|
|
14937
14937
|
}, Qp = {};
|
|
14938
|
-
[ao, N4, $4, z4, H4, K4, W4, yP, Wa, Ya, lu, LP, KP,
|
|
14938
|
+
[ao, N4, $4, z4, H4, K4, W4, yP, Wa, Ya, lu, LP, KP, ZP, nD, iD, oD, sD].forEach(function(t) {
|
|
14939
14939
|
$e(Qp, t);
|
|
14940
14940
|
});
|
|
14941
14941
|
/*!
|
|
@@ -15303,7 +15303,7 @@ function bD(t) {
|
|
|
15303
15303
|
var e = Ap(t);
|
|
15304
15304
|
return e == gD || e == mD || e == pD || e == yD;
|
|
15305
15305
|
}
|
|
15306
|
-
var wD = bD, xD =
|
|
15306
|
+
var wD = bD, xD = js["__core-js_shared__"], _l = xD, Ef = function() {
|
|
15307
15307
|
var t = /[^.]+$/.exec(_l && _l.keys && _l.keys.IE_PROTO || "");
|
|
15308
15308
|
return t ? "Symbol(src)_1." + t : "";
|
|
15309
15309
|
}();
|
|
@@ -15360,10 +15360,10 @@ function YD(t) {
|
|
|
15360
15360
|
}
|
|
15361
15361
|
return WD.call(e, t) ? e[t] : void 0;
|
|
15362
15362
|
}
|
|
15363
|
-
var XD = YD,
|
|
15363
|
+
var XD = YD, ZD = Object.prototype, jD = ZD.hasOwnProperty;
|
|
15364
15364
|
function QD(t) {
|
|
15365
15365
|
var e = this.__data__;
|
|
15366
|
-
return so ? e[t] !== void 0 :
|
|
15366
|
+
return so ? e[t] !== void 0 : jD.call(e, t);
|
|
15367
15367
|
}
|
|
15368
15368
|
var JD = QD, e3 = "__lodash_hash_undefined__";
|
|
15369
15369
|
function t3(t, e) {
|
|
@@ -15433,7 +15433,7 @@ mi.prototype.delete = c3;
|
|
|
15433
15433
|
mi.prototype.get = f3;
|
|
15434
15434
|
mi.prototype.has = h3;
|
|
15435
15435
|
mi.prototype.set = g3;
|
|
15436
|
-
var m3 = mi, y3 = hc(
|
|
15436
|
+
var m3 = mi, y3 = hc(js, "Map"), b3 = y3;
|
|
15437
15437
|
function w3() {
|
|
15438
15438
|
this.size = 0, this.__data__ = {
|
|
15439
15439
|
hash: new kf(),
|
|
@@ -15548,11 +15548,11 @@ function Y3(t, e) {
|
|
|
15548
15548
|
return r && r == n ? t : void 0;
|
|
15549
15549
|
}
|
|
15550
15550
|
var X3 = Y3;
|
|
15551
|
-
function
|
|
15551
|
+
function Z3(t, e, r) {
|
|
15552
15552
|
var n = t == null ? void 0 : X3(t, e);
|
|
15553
15553
|
return n === void 0 ? r : n;
|
|
15554
15554
|
}
|
|
15555
|
-
var
|
|
15555
|
+
var j3 = Z3, Q3 = function() {
|
|
15556
15556
|
try {
|
|
15557
15557
|
var t = hc(Object, "defineProperty");
|
|
15558
15558
|
return t({}, "", {}), t;
|
|
@@ -15640,7 +15640,7 @@ var gO = pO, mO = {
|
|
|
15640
15640
|
var d = a.indexOf(".") !== -1, v = d && gO(a);
|
|
15641
15641
|
if (o.allowGetting && i === void 0) {
|
|
15642
15642
|
var h;
|
|
15643
|
-
return c && (o.beforeGet(c), v && c._private[o.field][a] === void 0 ? h =
|
|
15643
|
+
return c && (o.beforeGet(c), v && c._private[o.field][a] === void 0 ? h = j3(c._private[o.field], v) : h = c._private[o.field][a]), h;
|
|
15644
15644
|
} else if (o.allowSetting && i !== void 0) {
|
|
15645
15645
|
var f = !o.immutableKeys[a];
|
|
15646
15646
|
if (f) {
|
|
@@ -17043,9 +17043,9 @@ Rr.modelPosition = Rr.point = Rr.position;
|
|
|
17043
17043
|
Rr.modelPositions = Rr.points = Rr.positions;
|
|
17044
17044
|
Rr.renderedPoint = Rr.renderedPosition;
|
|
17045
17045
|
Rr.relativePoint = Rr.relativePosition;
|
|
17046
|
-
var BO = hg, Xa,
|
|
17047
|
-
Xa =
|
|
17048
|
-
|
|
17046
|
+
var BO = hg, Xa, Zn;
|
|
17047
|
+
Xa = Zn = {};
|
|
17048
|
+
Zn.renderedBoundingBox = function(t) {
|
|
17049
17049
|
var e = this.boundingBox(t), r = this.cy(), n = r.zoom(), a = r.pan(), i = e.x1 * n + a.x, o = e.x2 * n + a.x, s = e.y1 * n + a.y, u = e.y2 * n + a.y;
|
|
17050
17050
|
return {
|
|
17051
17051
|
x1: i,
|
|
@@ -17056,7 +17056,7 @@ jn.renderedBoundingBox = function(t) {
|
|
|
17056
17056
|
h: u - s
|
|
17057
17057
|
};
|
|
17058
17058
|
};
|
|
17059
|
-
|
|
17059
|
+
Zn.dirtyCompoundBoundsCache = function() {
|
|
17060
17060
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, e = this.cy();
|
|
17061
17061
|
return !e.styleEnabled() || !e.hasCompoundNodes() ? this : (this.forEachUp(function(r) {
|
|
17062
17062
|
if (r.isParent()) {
|
|
@@ -17065,7 +17065,7 @@ jn.dirtyCompoundBoundsCache = function() {
|
|
|
17065
17065
|
}
|
|
17066
17066
|
}), this);
|
|
17067
17067
|
};
|
|
17068
|
-
|
|
17068
|
+
Zn.updateCompoundBounds = function() {
|
|
17069
17069
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, e = this.cy();
|
|
17070
17070
|
if (!e.styleEnabled() || !e.hasCompoundNodes())
|
|
17071
17071
|
return this;
|
|
@@ -17193,14 +17193,14 @@ var Er = function(e) {
|
|
|
17193
17193
|
_.x1 = D, _.y1 = I, _.x2 = F, _.y2 = L, _.w = F - D, _.h = L - I;
|
|
17194
17194
|
var M = m && g.strValue === "autorotate", R = g.pfValue != null && g.pfValue !== 0;
|
|
17195
17195
|
if (M || R) {
|
|
17196
|
-
var K = M ? Li(i.rstyle, "labelAngle", n) : g.pfValue, H = Math.cos(K), q = Math.sin(K),
|
|
17196
|
+
var K = M ? Li(i.rstyle, "labelAngle", n) : g.pfValue, H = Math.cos(K), q = Math.sin(K), Z = (D + F) / 2, oe = (I + L) / 2;
|
|
17197
17197
|
if (!m) {
|
|
17198
17198
|
switch (u.value) {
|
|
17199
17199
|
case "left":
|
|
17200
|
-
|
|
17200
|
+
Z = F;
|
|
17201
17201
|
break;
|
|
17202
17202
|
case "right":
|
|
17203
|
-
|
|
17203
|
+
Z = D;
|
|
17204
17204
|
break;
|
|
17205
17205
|
}
|
|
17206
17206
|
switch (l.value) {
|
|
@@ -17213,12 +17213,12 @@ var Er = function(e) {
|
|
|
17213
17213
|
}
|
|
17214
17214
|
}
|
|
17215
17215
|
var ne = function(Ee, de) {
|
|
17216
|
-
return Ee = Ee -
|
|
17217
|
-
x: Ee * H - de * q +
|
|
17216
|
+
return Ee = Ee - Z, de = de - oe, {
|
|
17217
|
+
x: Ee * H - de * q + Z,
|
|
17218
17218
|
y: Ee * q + de * H + oe
|
|
17219
17219
|
};
|
|
17220
|
-
}, ee = ne(D, I), le = ne(D, L),
|
|
17221
|
-
D = Math.min(ee.x, le.x,
|
|
17220
|
+
}, ee = ne(D, I), le = ne(D, L), j = ne(F, I), N = ne(F, L);
|
|
17221
|
+
D = Math.min(ee.x, le.x, j.x, N.x), F = Math.max(ee.x, le.x, j.x, N.x), I = Math.min(ee.y, le.y, j.y, N.y), L = Math.max(ee.y, le.y, j.y, N.y);
|
|
17222
17222
|
}
|
|
17223
17223
|
var U = B + "Rot", X = A[U] = A[U] || {};
|
|
17224
17224
|
X.x1 = D, X.y1 = I, X.x2 = F, X.y2 = L, X.w = F - D, X.h = L - I, _r(e, D, I, F, L), _r(i.labelBounds.all, D, I, F, L);
|
|
@@ -17290,14 +17290,14 @@ var Er = function(e) {
|
|
|
17290
17290
|
}
|
|
17291
17291
|
}
|
|
17292
17292
|
} else {
|
|
17293
|
-
var
|
|
17293
|
+
var Z = e.source(), oe = Z.position(), ne = e.target(), ee = ne.position();
|
|
17294
17294
|
if (c = oe.x, d = ee.x, v = oe.y, h = ee.y, c > d) {
|
|
17295
17295
|
var le = c;
|
|
17296
17296
|
c = d, d = le;
|
|
17297
17297
|
}
|
|
17298
17298
|
if (v > h) {
|
|
17299
|
-
var
|
|
17300
|
-
v = h, h =
|
|
17299
|
+
var j = v;
|
|
17300
|
+
v = h, h = j;
|
|
17301
17301
|
}
|
|
17302
17302
|
c -= P, d += P, v -= P, h += P, _r(o, c, v, d, h);
|
|
17303
17303
|
}
|
|
@@ -17350,7 +17350,7 @@ var Er = function(e) {
|
|
|
17350
17350
|
includeOutlines: !0,
|
|
17351
17351
|
useCache: !0
|
|
17352
17352
|
}, Ff = gg(uo), Lf = Gt(uo);
|
|
17353
|
-
|
|
17353
|
+
Zn.boundingBox = function(t) {
|
|
17354
17354
|
var e;
|
|
17355
17355
|
if (this.length === 1 && this[0]._private.bbCache != null && !this[0]._private.styleDirty && (t === void 0 || t.useCache === void 0 || t.useCache === !0))
|
|
17356
17356
|
t === void 0 ? t = uo : t = Lf(t), e = Of(this[0], t);
|
|
@@ -17370,14 +17370,14 @@ jn.boundingBox = function(t) {
|
|
|
17370
17370
|
}
|
|
17371
17371
|
return e.x1 = Er(e.x1), e.y1 = Er(e.y1), e.x2 = Er(e.x2), e.y2 = Er(e.y2), e.w = Er(e.x2 - e.x1), e.h = Er(e.y2 - e.y1), e;
|
|
17372
17372
|
};
|
|
17373
|
-
|
|
17373
|
+
Zn.dirtyBoundingBoxCache = function() {
|
|
17374
17374
|
for (var t = 0; t < this.length; t++) {
|
|
17375
17375
|
var e = this[t]._private;
|
|
17376
17376
|
e.bbCache = null, e.bbCachePosKey = null, e.bodyBounds = null, e.overlayBounds = null, e.labelBounds.all = null, e.labelBounds.source = null, e.labelBounds.target = null, e.labelBounds.main = null, e.labelBounds.sourceRot = null, e.labelBounds.targetRot = null, e.labelBounds.mainRot = null, e.arrowBounds.source = null, e.arrowBounds.target = null, e.arrowBounds["mid-source"] = null, e.arrowBounds["mid-target"] = null;
|
|
17377
17377
|
}
|
|
17378
17378
|
return this.emitAndNotify("bounds"), this;
|
|
17379
17379
|
};
|
|
17380
|
-
|
|
17380
|
+
Zn.boundingBoxAt = function(t) {
|
|
17381
17381
|
var e = this.nodes(), r = this.cy(), n = r.hasCompoundNodes(), a = r.collection();
|
|
17382
17382
|
if (n && (a = e.filter(function(l) {
|
|
17383
17383
|
return l.isParent();
|
|
@@ -17400,7 +17400,7 @@ jn.boundingBoxAt = function(t) {
|
|
|
17400
17400
|
};
|
|
17401
17401
|
Xa.boundingbox = Xa.bb = Xa.boundingBox;
|
|
17402
17402
|
Xa.renderedBoundingbox = Xa.renderedBoundingBox;
|
|
17403
|
-
var RO =
|
|
17403
|
+
var RO = Zn, $i, To;
|
|
17404
17404
|
$i = To = {};
|
|
17405
17405
|
var yg = function(e) {
|
|
17406
17406
|
e.uppercaseName = Jd(e.name), e.autoName = "auto" + e.uppercaseName, e.labelName = "label" + e.uppercaseName, e.outerName = "outer" + e.uppercaseName, e.uppercaseOuterName = Jd(e.outerName), $i[e.name] = function() {
|
|
@@ -17503,7 +17503,7 @@ var zO = To, VO = function(e, r) {
|
|
|
17503
17503
|
}
|
|
17504
17504
|
}, XO = function(e) {
|
|
17505
17505
|
return "rendered" + e[0].toUpperCase() + e.substr(1);
|
|
17506
|
-
},
|
|
17506
|
+
}, ZO = Object.keys(Af).reduce(function(t, e) {
|
|
17507
17507
|
var r = Af[e], n = XO(e);
|
|
17508
17508
|
return t[e] = function() {
|
|
17509
17509
|
return VO(this, r.get);
|
|
@@ -17512,7 +17512,7 @@ var zO = To, VO = function(e, r) {
|
|
|
17512
17512
|
} : t[n] = function() {
|
|
17513
17513
|
return HO(this, r.get);
|
|
17514
17514
|
}, t;
|
|
17515
|
-
}, {}),
|
|
17515
|
+
}, {}), jO = $e({}, BO, RO, zO, ZO);
|
|
17516
17516
|
/*!
|
|
17517
17517
|
Event object based on jQuery events, MIT license
|
|
17518
17518
|
|
|
@@ -17975,13 +17975,13 @@ var kg = {
|
|
|
17975
17975
|
ele: a
|
|
17976
17976
|
};
|
|
17977
17977
|
}
|
|
17978
|
-
},
|
|
17979
|
-
|
|
17980
|
-
|
|
17981
|
-
|
|
17982
|
-
|
|
17983
|
-
|
|
17984
|
-
|
|
17978
|
+
}, je = kg;
|
|
17979
|
+
je.u = je["|"] = je["+"] = je.union = je.or = je.add;
|
|
17980
|
+
je["\\"] = je["!"] = je["-"] = je.difference = je.relativeComplement = je.subtract = je.not;
|
|
17981
|
+
je.n = je["&"] = je["."] = je.and = je.intersection = je.intersect;
|
|
17982
|
+
je["^"] = je["(+)"] = je["(-)"] = je.symmetricDifference = je.symdiff = je.xor;
|
|
17983
|
+
je.fnFilter = je.filterFn = je.stdFilter = je.filter;
|
|
17984
|
+
je.complement = je.abscomp = je.absoluteComplement;
|
|
17985
17985
|
var rF = {
|
|
17986
17986
|
isNode: function() {
|
|
17987
17987
|
return this.group() === "nodes";
|
|
@@ -19130,7 +19130,7 @@ dt.move = function(t) {
|
|
|
19130
19130
|
}
|
|
19131
19131
|
return this;
|
|
19132
19132
|
};
|
|
19133
|
-
[Qp, bO, os, $n, li, _O, il,
|
|
19133
|
+
[Qp, bO, os, $n, li, _O, il, jO, Eg, kg, rF, Os, ss, Kt, Rn, rr].forEach(function(t) {
|
|
19134
19134
|
$e(dt, t);
|
|
19135
19135
|
});
|
|
19136
19136
|
var uF = {
|
|
@@ -19490,7 +19490,7 @@ var hF = {
|
|
|
19490
19490
|
callbackContext: function(e, r, n) {
|
|
19491
19491
|
return r.qualifier != null ? n.target : e;
|
|
19492
19492
|
}
|
|
19493
|
-
},
|
|
19493
|
+
}, Zo = function(e) {
|
|
19494
19494
|
return Ae(e) ? new Un(e) : e;
|
|
19495
19495
|
}, Pg = {
|
|
19496
19496
|
createEmitter: function() {
|
|
@@ -19501,19 +19501,19 @@ var hF = {
|
|
|
19501
19501
|
return this._private.emitter;
|
|
19502
19502
|
},
|
|
19503
19503
|
on: function(e, r, n) {
|
|
19504
|
-
return this.emitter().on(e,
|
|
19504
|
+
return this.emitter().on(e, Zo(r), n), this;
|
|
19505
19505
|
},
|
|
19506
19506
|
removeListener: function(e, r, n) {
|
|
19507
|
-
return this.emitter().removeListener(e,
|
|
19507
|
+
return this.emitter().removeListener(e, Zo(r), n), this;
|
|
19508
19508
|
},
|
|
19509
19509
|
removeAllListeners: function() {
|
|
19510
19510
|
return this.emitter().removeAllListeners(), this;
|
|
19511
19511
|
},
|
|
19512
19512
|
one: function(e, r, n) {
|
|
19513
|
-
return this.emitter().one(e,
|
|
19513
|
+
return this.emitter().one(e, Zo(r), n), this;
|
|
19514
19514
|
},
|
|
19515
19515
|
once: function(e, r, n) {
|
|
19516
|
-
return this.emitter().one(e,
|
|
19516
|
+
return this.emitter().one(e, Zo(r), n), this;
|
|
19517
19517
|
},
|
|
19518
19518
|
emit: function(e, r) {
|
|
19519
19519
|
return this.emitter().emit(e, r), this;
|
|
@@ -19845,10 +19845,10 @@ ar.updateStyleHints = function(t) {
|
|
|
19845
19845
|
e.targetLabelKey = Pn(H), e.targetLabelStyleKey = Pn(Vo(M.commonLabel, H));
|
|
19846
19846
|
}
|
|
19847
19847
|
if (s) {
|
|
19848
|
-
var q = e.styleKeys,
|
|
19848
|
+
var q = e.styleKeys, Z = q.nodeBody, oe = q.nodeBorder, ne = q.nodeOutline, ee = q.backgroundImage, le = q.compound, j = q.pie, N = [Z, oe, ne, ee, le, j].filter(function(U) {
|
|
19849
19849
|
return U != null;
|
|
19850
19850
|
}).reduce(Vo, [Va, Bi]);
|
|
19851
|
-
e.nodeKey = Pn(N), e.hasPie =
|
|
19851
|
+
e.nodeKey = Pn(N), e.hasPie = j != null && j[0] !== Va && j[1] !== Bi;
|
|
19852
19852
|
}
|
|
19853
19853
|
return o !== e.styleKey;
|
|
19854
19854
|
};
|
|
@@ -19857,11 +19857,11 @@ ar.clearStyleHints = function(t) {
|
|
|
19857
19857
|
e.styleCxtKey = "", e.styleKeys = {}, e.styleKey = null, e.labelKey = null, e.labelStyleKey = null, e.sourceLabelKey = null, e.sourceLabelStyleKey = null, e.targetLabelKey = null, e.targetLabelStyleKey = null, e.nodeKey = null, e.hasPie = null;
|
|
19858
19858
|
};
|
|
19859
19859
|
ar.applyParsedProperty = function(t, e) {
|
|
19860
|
-
var r = this, n = e, a = t._private.style, i, o = r.types, s = r.properties[n.name].type, u = n.bypass, l = a[n.name], c = l && l.bypass, d = t._private, v = "mapping", h = function(
|
|
19861
|
-
return
|
|
19860
|
+
var r = this, n = e, a = t._private.style, i, o = r.types, s = r.properties[n.name].type, u = n.bypass, l = a[n.name], c = l && l.bypass, d = t._private, v = "mapping", h = function(Z) {
|
|
19861
|
+
return Z == null ? null : Z.pfValue != null ? Z.pfValue : Z.value;
|
|
19862
19862
|
}, f = function() {
|
|
19863
|
-
var
|
|
19864
|
-
r.checkTriggers(t, n.name,
|
|
19863
|
+
var Z = h(l), oe = h(n);
|
|
19864
|
+
r.checkTriggers(t, n.name, Z, oe);
|
|
19865
19865
|
};
|
|
19866
19866
|
if (e.name === "curve-style" && t.isEdge() && // loops must be bundled beziers
|
|
19867
19867
|
(e.value !== "bezier" && t.isLoop() || // edges connected to compound nodes can not be haystacks
|
|
@@ -20020,7 +20020,7 @@ Po.applyBypass = function(t, e, r, n) {
|
|
|
20020
20020
|
n = r;
|
|
20021
20021
|
for (var h = Object.keys(v), f = 0; f < h.length; f++) {
|
|
20022
20022
|
var p = h[f], m = v[p];
|
|
20023
|
-
if (m === void 0 && (m = v[
|
|
20023
|
+
if (m === void 0 && (m = v[Zs(p)]), m !== void 0) {
|
|
20024
20024
|
var g = this.parse(p, m, !0);
|
|
20025
20025
|
g && i.push(g);
|
|
20026
20026
|
}
|
|
@@ -20087,7 +20087,7 @@ en.getRawStyle = function(t, e) {
|
|
|
20087
20087
|
if (t = t[0], t) {
|
|
20088
20088
|
for (var n = {}, a = 0; a < r.properties.length; a++) {
|
|
20089
20089
|
var i = r.properties[a], o = r.getStylePropertyValue(t, i.name, e);
|
|
20090
|
-
o != null && (n[i.name] = o, n[
|
|
20090
|
+
o != null && (n[i.name] = o, n[Zs(i.name)] = o);
|
|
20091
20091
|
}
|
|
20092
20092
|
return n;
|
|
20093
20093
|
}
|
|
@@ -21241,9 +21241,9 @@ var Rt = {};
|
|
|
21241
21241
|
}, {
|
|
21242
21242
|
name: "arrow-width",
|
|
21243
21243
|
type: l.arrowWidth
|
|
21244
|
-
}].forEach(function(
|
|
21244
|
+
}].forEach(function(j) {
|
|
21245
21245
|
A.forEach(function(N) {
|
|
21246
|
-
var U = N + "-" +
|
|
21246
|
+
var U = N + "-" + j.name, X = j.type, ge = j.triggersBounds;
|
|
21247
21247
|
B.push({
|
|
21248
21248
|
name: U,
|
|
21249
21249
|
type: X,
|
|
@@ -21277,11 +21277,11 @@ var Rt = {};
|
|
|
21277
21277
|
edgeArrow: B,
|
|
21278
21278
|
core: F
|
|
21279
21279
|
}, R = Rt.propertyGroupNames = {}, K = Rt.propertyGroupKeys = Object.keys(M);
|
|
21280
|
-
K.forEach(function(
|
|
21281
|
-
R[
|
|
21280
|
+
K.forEach(function(j) {
|
|
21281
|
+
R[j] = M[j].map(function(N) {
|
|
21282
21282
|
return N.name;
|
|
21283
|
-
}), M[
|
|
21284
|
-
return N.groupKey =
|
|
21283
|
+
}), M[j].forEach(function(N) {
|
|
21284
|
+
return N.groupKey = j;
|
|
21285
21285
|
});
|
|
21286
21286
|
});
|
|
21287
21287
|
var H = Rt.aliases = [{
|
|
@@ -21318,12 +21318,12 @@ var Rt = {};
|
|
|
21318
21318
|
name: "padding-bottom",
|
|
21319
21319
|
pointsTo: "padding"
|
|
21320
21320
|
}];
|
|
21321
|
-
Rt.propertyNames = _.map(function(
|
|
21322
|
-
return
|
|
21321
|
+
Rt.propertyNames = _.map(function(j) {
|
|
21322
|
+
return j.name;
|
|
21323
21323
|
});
|
|
21324
21324
|
for (var q = 0; q < _.length; q++) {
|
|
21325
|
-
var
|
|
21326
|
-
_[
|
|
21325
|
+
var Z = _[q];
|
|
21326
|
+
_[Z.name] = Z;
|
|
21327
21327
|
}
|
|
21328
21328
|
for (var oe = 0; oe < H.length; oe++) {
|
|
21329
21329
|
var ne = H[oe], ee = _[ne.pointsTo], le = {
|
|
@@ -21759,9 +21759,9 @@ cl.parseImpl = function(t, e, r, n) {
|
|
|
21759
21759
|
} : null;
|
|
21760
21760
|
} else if (l.regex || l.regexes) {
|
|
21761
21761
|
if (l.enums) {
|
|
21762
|
-
var
|
|
21763
|
-
if (
|
|
21764
|
-
return
|
|
21762
|
+
var Z = D();
|
|
21763
|
+
if (Z)
|
|
21764
|
+
return Z;
|
|
21765
21765
|
}
|
|
21766
21766
|
for (var oe = l.regexes ? l.regexes : [l.regex], ne = 0; ne < oe.length; ne++) {
|
|
21767
21767
|
var ee = new RegExp(oe[ne]), le = ee.exec(e);
|
|
@@ -21824,7 +21824,7 @@ nr.css = function() {
|
|
|
21824
21824
|
if (e.length === 1)
|
|
21825
21825
|
for (var r = e[0], n = 0; n < t.properties.length; n++) {
|
|
21826
21826
|
var a = t.properties[n], i = r[a.name];
|
|
21827
|
-
i === void 0 && (i = r[
|
|
21827
|
+
i === void 0 && (i = r[Zs(a.name)]), i !== void 0 && this.cssRule(a.name, i);
|
|
21828
21828
|
}
|
|
21829
21829
|
else e.length === 2 && this.cssRule(e[0], e[1]);
|
|
21830
21830
|
return this;
|
|
@@ -22604,9 +22604,9 @@ Dg.prototype.run = function() {
|
|
|
22604
22604
|
var R = a[M], K = R.layoutDimensions(e), H = K.w, q = K.h;
|
|
22605
22605
|
_ = Math.max(_, H, q);
|
|
22606
22606
|
}
|
|
22607
|
-
var
|
|
22608
|
-
if (
|
|
22609
|
-
return
|
|
22607
|
+
var Z = {}, oe = function(me) {
|
|
22608
|
+
if (Z[me.id()])
|
|
22609
|
+
return Z[me.id()];
|
|
22610
22610
|
for (var xe = Ba(me).depth, ke = me.neighborhood(), Ce = 0, De = 0, He = 0; He < ke.length; He++) {
|
|
22611
22611
|
var qe = ke[He];
|
|
22612
22612
|
if (!(qe.isEdge() || qe.isParent() || !a.has(qe))) {
|
|
@@ -22620,7 +22620,7 @@ Dg.prototype.run = function() {
|
|
|
22620
22620
|
}
|
|
22621
22621
|
}
|
|
22622
22622
|
}
|
|
22623
|
-
return De = Math.max(1, De), Ce = Ce / De, De === 0 && (Ce = 0),
|
|
22623
|
+
return De = Math.max(1, De), Ce = Ce / De, De === 0 && (Ce = 0), Z[me.id()] = Ce, Ce;
|
|
22624
22624
|
}, ne = function(me, xe) {
|
|
22625
22625
|
var ke = oe(me), Ce = oe(xe), De = ke - Ce;
|
|
22626
22626
|
return De === 0 ? Dp(me.id(), xe.id()) : De;
|
|
@@ -22628,8 +22628,8 @@ Dg.prototype.run = function() {
|
|
|
22628
22628
|
e.depthSort !== void 0 && (ne = e.depthSort);
|
|
22629
22629
|
for (var ee = 0; ee < g.length; ee++)
|
|
22630
22630
|
g[ee].sort(ne), T(ee);
|
|
22631
|
-
for (var le = [],
|
|
22632
|
-
le.push(C[
|
|
22631
|
+
for (var le = [], j = 0; j < C.length; j++)
|
|
22632
|
+
le.push(C[j]);
|
|
22633
22633
|
g.unshift(le), k();
|
|
22634
22634
|
for (var N = 0, U = 0; U < g.length; U++)
|
|
22635
22635
|
N = Math.max(g[U].length, N);
|
|
@@ -22836,14 +22836,14 @@ Fg.prototype.run = function() {
|
|
|
22836
22836
|
M = Math.max(M, q);
|
|
22837
22837
|
}
|
|
22838
22838
|
R = 0;
|
|
22839
|
-
for (var
|
|
22840
|
-
var oe = g[
|
|
22841
|
-
|
|
22839
|
+
for (var Z = 0; Z < g.length; Z++) {
|
|
22840
|
+
var oe = g[Z];
|
|
22841
|
+
Z === 0 && (R = oe.r), oe.r = R, R += M;
|
|
22842
22842
|
}
|
|
22843
22843
|
}
|
|
22844
22844
|
for (var ne = {}, ee = 0; ee < g.length; ee++)
|
|
22845
|
-
for (var le = g[ee],
|
|
22846
|
-
var X = le[U], ge = e.startAngle + (r ? 1 : -1) *
|
|
22845
|
+
for (var le = g[ee], j = le.dTheta, N = le.r, U = 0; U < le.length; U++) {
|
|
22846
|
+
var X = le[U], ge = e.startAngle + (r ? 1 : -1) * j * U, Ee = {
|
|
22847
22847
|
x: s.x + N * Math.cos(ge),
|
|
22848
22848
|
y: s.y + N * Math.sin(ge)
|
|
22849
22849
|
};
|
|
@@ -23302,7 +23302,7 @@ Ag.prototype.run = function() {
|
|
|
23302
23302
|
h: r.height()
|
|
23303
23303
|
});
|
|
23304
23304
|
if (i.h === 0 || i.w === 0)
|
|
23305
|
-
n.nodes().layoutPositions(this, e, function(
|
|
23305
|
+
n.nodes().layoutPositions(this, e, function(Z) {
|
|
23306
23306
|
return {
|
|
23307
23307
|
x: i.x1,
|
|
23308
23308
|
y: i.y1
|
|
@@ -23368,9 +23368,9 @@ Ag.prototype.run = function() {
|
|
|
23368
23368
|
var ee, le;
|
|
23369
23369
|
if (oe.locked() || oe.isParent())
|
|
23370
23370
|
return !1;
|
|
23371
|
-
var
|
|
23372
|
-
if (
|
|
23373
|
-
ee =
|
|
23371
|
+
var j = _[oe.id()];
|
|
23372
|
+
if (j)
|
|
23373
|
+
ee = j.col * y + y / 2 + i.x1, le = j.row * b + b / 2 + i.y1;
|
|
23374
23374
|
else {
|
|
23375
23375
|
for (; F(L, B); )
|
|
23376
23376
|
A();
|
|
@@ -23789,11 +23789,11 @@ Da.findNearestElements = function(t, e, r, n) {
|
|
|
23789
23789
|
y: k.midY,
|
|
23790
23790
|
angle: k.midtgtArrowAngle
|
|
23791
23791
|
}], _ = 0; _ < H.length; _++) {
|
|
23792
|
-
var q = H[_],
|
|
23793
|
-
if (
|
|
23792
|
+
var q = H[_], Z = i.arrowShapes[x.pstyle(q.name + "-arrow-shape").value], oe = x.pstyle("width").pfValue;
|
|
23793
|
+
if (Z.roughCollide(t, e, K, q.angle, {
|
|
23794
23794
|
x: q.x,
|
|
23795
23795
|
y: q.y
|
|
23796
|
-
}, oe, c) &&
|
|
23796
|
+
}, oe, c) && Z.collide(t, e, K, q.angle, {
|
|
23797
23797
|
x: q.x,
|
|
23798
23798
|
y: q.y
|
|
23799
23799
|
}, oe, c))
|
|
@@ -23809,14 +23809,14 @@ Da.findNearestElements = function(t, e, r, n) {
|
|
|
23809
23809
|
T ? D = T + "-" : D = "", x.boundingBox();
|
|
23810
23810
|
var F = k.labelBounds[T || "main"], I = x.pstyle(D + "label").value, L = x.pstyle("text-events").strValue === "yes";
|
|
23811
23811
|
if (!(!L || !I)) {
|
|
23812
|
-
var B = b(k.rscratch, "labelX", T), A = b(k.rscratch, "labelY", T), _ = b(k.rscratch, "labelAngle", T), M = x.pstyle(D + "text-margin-x").pfValue, R = x.pstyle(D + "text-margin-y").pfValue, K = F.x1 - P - M, H = F.x2 + P - M, q = F.y1 - P - R,
|
|
23812
|
+
var B = b(k.rscratch, "labelX", T), A = b(k.rscratch, "labelY", T), _ = b(k.rscratch, "labelAngle", T), M = x.pstyle(D + "text-margin-x").pfValue, R = x.pstyle(D + "text-margin-y").pfValue, K = F.x1 - P - M, H = F.x2 + P - M, q = F.y1 - P - R, Z = F.y2 + P - R;
|
|
23813
23813
|
if (_) {
|
|
23814
23814
|
var oe = Math.cos(_), ne = Math.sin(_), ee = function(Ee, de) {
|
|
23815
23815
|
return Ee = Ee - B, de = de - A, {
|
|
23816
23816
|
x: Ee * oe - de * ne + B,
|
|
23817
23817
|
y: Ee * ne + de * oe + A
|
|
23818
23818
|
};
|
|
23819
|
-
}, le = ee(K, q),
|
|
23819
|
+
}, le = ee(K, q), j = ee(K, Z), N = ee(H, q), U = ee(H, Z), X = [
|
|
23820
23820
|
// with the margin added after the rotation is applied
|
|
23821
23821
|
le.x + M,
|
|
23822
23822
|
le.y + R,
|
|
@@ -23824,8 +23824,8 @@ Da.findNearestElements = function(t, e, r, n) {
|
|
|
23824
23824
|
N.y + R,
|
|
23825
23825
|
U.x + M,
|
|
23826
23826
|
U.y + R,
|
|
23827
|
-
|
|
23828
|
-
|
|
23827
|
+
j.x + M,
|
|
23828
|
+
j.y + R
|
|
23829
23829
|
];
|
|
23830
23830
|
if (dr(t, e, X))
|
|
23831
23831
|
return m(x), !0;
|
|
@@ -23928,16 +23928,16 @@ As.getArrowWidth = As.getArrowHeight = function(t, e) {
|
|
|
23928
23928
|
var r = this.arrowWidthCache = this.arrowWidthCache || {}, n = r[t + ", " + e];
|
|
23929
23929
|
return n || (n = Math.max(Math.pow(t * 13.37, 0.9), 29) * e, r[t + ", " + e] = n, n);
|
|
23930
23930
|
};
|
|
23931
|
-
var hu, pu, Gr = {}, Cr = {},
|
|
23931
|
+
var hu, pu, Gr = {}, Cr = {}, Zf, jf, oa, ds, ln, ea, na, Ur, Na, jo, Bg, Ng, gu, mu, Qf, Jf = function(e, r, n) {
|
|
23932
23932
|
n.x = r.x - e.x, n.y = r.y - e.y, n.len = Math.sqrt(n.x * n.x + n.y * n.y), n.nx = n.x / n.len, n.ny = n.y / n.len, n.ang = Math.atan2(n.ny, n.nx);
|
|
23933
23933
|
}, WF = function(e, r) {
|
|
23934
23934
|
r.x = e.x * -1, r.y = e.y * -1, r.nx = e.nx * -1, r.ny = e.ny * -1, r.ang = e.ang > 0 ? -(Math.PI - e.ang) : Math.PI + e.ang;
|
|
23935
23935
|
}, YF = function(e, r, n, a, i) {
|
|
23936
|
-
if (e !== Qf ? Jf(r, e, Gr) : WF(Cr, Gr), Jf(r, n, Cr),
|
|
23936
|
+
if (e !== Qf ? Jf(r, e, Gr) : WF(Cr, Gr), Jf(r, n, Cr), Zf = Gr.nx * Cr.ny - Gr.ny * Cr.nx, jf = Gr.nx * Cr.nx - Gr.ny * -Cr.ny, ln = Math.asin(Math.max(-1, Math.min(1, Zf))), Math.abs(ln) < 1e-6) {
|
|
23937
23937
|
hu = r.x, pu = r.y, na = Na = 0;
|
|
23938
23938
|
return;
|
|
23939
23939
|
}
|
|
23940
|
-
oa = 1, ds = !1,
|
|
23940
|
+
oa = 1, ds = !1, jf < 0 ? ln < 0 ? ln = Math.PI + ln : (ln = Math.PI - ln, oa = -1, ds = !0) : ln > 0 && (oa = -1, ds = !0), r.radius !== void 0 ? Na = r.radius : Na = a, ea = ln / 2, jo = Math.min(Gr.len / 2, Cr.len / 2), i ? (Ur = Math.abs(Math.cos(ea) * Na / Math.sin(ea)), Ur > jo ? (Ur = jo, na = Math.abs(Ur * Math.sin(ea) / Math.cos(ea))) : na = Na) : (Ur = Math.min(jo, Na), na = Math.abs(Ur * Math.sin(ea) / Math.cos(ea))), gu = r.x + Cr.nx * Ur, mu = r.y + Cr.ny * Ur, hu = gu - Cr.ny * na * oa, pu = mu + Cr.nx * na * oa, Bg = r.x + Gr.nx * Ur, Ng = r.y + Gr.ny * Ur, Qf = r;
|
|
23941
23941
|
};
|
|
23942
23942
|
function $g(t, e) {
|
|
23943
23943
|
e.radius === 0 ? t.lineTo(e.cx, e.cy) : t.arc(e.cx, e.cy, e.radius, e.startAngle, e.endAngle, e.counterClockwise);
|
|
@@ -24086,16 +24086,16 @@ ir.findTaxiPoints = function(t, e) {
|
|
|
24086
24086
|
var q = C < 0 ? 1 + C : C;
|
|
24087
24087
|
H = q * _;
|
|
24088
24088
|
} else {
|
|
24089
|
-
var
|
|
24090
|
-
H =
|
|
24089
|
+
var Z = C < 0 ? _ : 0;
|
|
24090
|
+
H = Z + C * R;
|
|
24091
24091
|
}
|
|
24092
24092
|
var oe = function(Ie) {
|
|
24093
24093
|
return Math.abs(Ie) < x || Math.abs(Ie) >= Math.abs(_);
|
|
24094
24094
|
}, ne = oe(H), ee = oe(Math.abs(_) - Math.abs(H)), le = ne || ee;
|
|
24095
24095
|
if (le && !K)
|
|
24096
24096
|
if (A) {
|
|
24097
|
-
var
|
|
24098
|
-
if (
|
|
24097
|
+
var j = Math.abs(M) <= v / 2, N = Math.abs(P) <= h / 2;
|
|
24098
|
+
if (j) {
|
|
24099
24099
|
var U = (c.x1 + c.x2) / 2, X = c.y1, ge = c.y2;
|
|
24100
24100
|
r.segpts = [U, X, U, ge];
|
|
24101
24101
|
} else if (N) {
|
|
@@ -24274,7 +24274,7 @@ ir.findEdgeControlPoints = function(t) {
|
|
|
24274
24274
|
var B = I;
|
|
24275
24275
|
I = L, L = B;
|
|
24276
24276
|
}
|
|
24277
|
-
var A = k.srcPos = I.position(), _ = k.tgtPos = L.position(), M = k.srcW = I.outerWidth(), R = k.srcH = I.outerHeight(), K = k.tgtW = L.outerWidth(), H = k.tgtH = L.outerHeight(), q = k.srcShape = r.nodeShapes[e.getNodeShape(I)],
|
|
24277
|
+
var A = k.srcPos = I.position(), _ = k.tgtPos = L.position(), M = k.srcW = I.outerWidth(), R = k.srcH = I.outerHeight(), K = k.tgtW = L.outerWidth(), H = k.tgtH = L.outerHeight(), q = k.srcShape = r.nodeShapes[e.getNodeShape(I)], Z = k.tgtShape = r.nodeShapes[e.getNodeShape(L)], oe = k.srcCornerRadius = I.pstyle("corner-radius").value === "auto" ? "auto" : I.pstyle("corner-radius").pfValue, ne = k.tgtCornerRadius = L.pstyle("corner-radius").value === "auto" ? "auto" : L.pstyle("corner-radius").pfValue, ee = k.tgtRs = L._private.rscratch, le = k.srcRs = I._private.rscratch;
|
|
24278
24278
|
k.dirCounts = {
|
|
24279
24279
|
north: 0,
|
|
24280
24280
|
west: 0,
|
|
@@ -24285,11 +24285,11 @@ ir.findEdgeControlPoints = function(t) {
|
|
|
24285
24285
|
northeast: 0,
|
|
24286
24286
|
southeast: 0
|
|
24287
24287
|
};
|
|
24288
|
-
for (var
|
|
24289
|
-
var N = k.eles[
|
|
24288
|
+
for (var j = 0; j < k.eles.length; j++) {
|
|
24289
|
+
var N = k.eles[j], U = N[0]._private.rscratch, X = N.pstyle("curve-style").value, ge = X === "unbundled-bezier" || X.endsWith("segments") || X.endsWith("taxi"), Ee = !I.same(N.source());
|
|
24290
24290
|
if (!k.calculatedIntersection && I !== L && (k.hasBezier || k.hasUnbundled)) {
|
|
24291
24291
|
k.calculatedIntersection = !0;
|
|
24292
|
-
var de = q.intersectLine(A.x, A.y, M, R, _.x, _.y, 0, oe, le), me = k.srcIntn = de, xe =
|
|
24292
|
+
var de = q.intersectLine(A.x, A.y, M, R, _.x, _.y, 0, oe, le), me = k.srcIntn = de, xe = Z.intersectLine(_.x, _.y, K, H, A.x, A.y, 0, ne, ee), ke = k.tgtIntn = xe, Ce = k.intersectionPts = {
|
|
24293
24293
|
x1: de[0],
|
|
24294
24294
|
x2: xe[0],
|
|
24295
24295
|
y1: de[1],
|
|
@@ -24309,7 +24309,7 @@ ir.findEdgeControlPoints = function(t) {
|
|
|
24309
24309
|
x: -se.y,
|
|
24310
24310
|
y: se.x
|
|
24311
24311
|
};
|
|
24312
|
-
k.nodesOverlap = !ye(_e) ||
|
|
24312
|
+
k.nodesOverlap = !ye(_e) || Z.checkPoint(de[0], de[1], 0, K, H, _.x, _.y, ne, ee) || q.checkPoint(xe[0], xe[1], 0, M, R, A.x, A.y, oe, le), k.vectorNormInverse = S, P = {
|
|
24313
24313
|
nodesOverlap: k.nodesOverlap,
|
|
24314
24314
|
dirCounts: k.dirCounts,
|
|
24315
24315
|
calculatedIntersection: !0,
|
|
@@ -24324,7 +24324,7 @@ ir.findEdgeControlPoints = function(t) {
|
|
|
24324
24324
|
tgtH: R,
|
|
24325
24325
|
srcIntn: ke,
|
|
24326
24326
|
tgtIntn: me,
|
|
24327
|
-
srcShape:
|
|
24327
|
+
srcShape: Z,
|
|
24328
24328
|
tgtShape: q,
|
|
24329
24329
|
posPts: {
|
|
24330
24330
|
x1: De.x2,
|
|
@@ -24353,7 +24353,7 @@ ir.findEdgeControlPoints = function(t) {
|
|
|
24353
24353
|
};
|
|
24354
24354
|
}
|
|
24355
24355
|
var z = Ee ? P : k;
|
|
24356
|
-
U.nodesOverlap = z.nodesOverlap, U.srcIntn = z.srcIntn, U.tgtIntn = z.tgtIntn, U.isRound = X.startsWith("round"), a && (I.isParent() || I.isChild() || L.isParent() || L.isChild()) && (I.parents().anySame(L) || L.parents().anySame(I) || I.same(L) && I.isParent()) ? e.findCompoundLoopPoints(N, z,
|
|
24356
|
+
U.nodesOverlap = z.nodesOverlap, U.srcIntn = z.srcIntn, U.tgtIntn = z.tgtIntn, U.isRound = X.startsWith("round"), a && (I.isParent() || I.isChild() || L.isParent() || L.isChild()) && (I.parents().anySame(L) || L.parents().anySame(I) || I.same(L) && I.isParent()) ? e.findCompoundLoopPoints(N, z, j, ge) : I === L ? e.findLoopPoints(N, z, j, ge) : X.endsWith("segments") ? e.findSegmentsPoints(N, z) : X.endsWith("taxi") ? e.findTaxiPoints(N, z) : X === "straight" || !ge && k.eles.length % 2 === 1 && j === Math.floor(k.eles.length / 2) ? e.findStraightEdgePoints(N) : e.findBezierPoints(N, z, j, ge, Ee), e.findEndpoints(N), e.tryToCorrectInvalidPoints(N, z), e.checkForInvalidEdgeWarning(N), e.storeAllpts(N), e.storeEdgeProjections(N), e.calculateArrowAngles(N), e.recalculateEdgeLabelProjections(N), e.calculateLabelAngles(N);
|
|
24357
24357
|
}
|
|
24358
24358
|
}, C = 0; C < o.length; C++)
|
|
24359
24359
|
w(C);
|
|
@@ -24421,11 +24421,11 @@ Do.findEndpoints = function(t) {
|
|
|
24421
24421
|
else if (F === "outside-to-line")
|
|
24422
24422
|
r = f.tgtIntn;
|
|
24423
24423
|
else if (F === "outside-to-node" || F === "outside-to-node-or-label" ? A = L : (F === "outside-to-line" || F === "outside-to-line-or-label") && (A = [i.x, i.y]), r = e.nodeShapes[this.getNodeShape(a)].intersectLine(o.x, o.y, a.outerWidth(), a.outerHeight(), A[0], A[1], 0, I, v), F === "outside-to-node-or-label" || F === "outside-to-line-or-label") {
|
|
24424
|
-
var q = a._private.rscratch,
|
|
24425
|
-
N === "top" ? ee -=
|
|
24424
|
+
var q = a._private.rscratch, Z = q.labelWidth, oe = q.labelHeight, ne = q.labelX, ee = q.labelY, le = Z / 2, j = oe / 2, N = a.pstyle("text-valign").value;
|
|
24425
|
+
N === "top" ? ee -= j : N === "bottom" && (ee += j);
|
|
24426
24426
|
var U = a.pstyle("text-halign").value;
|
|
24427
24427
|
U === "left" ? ne -= le : U === "right" && (ne += le);
|
|
24428
|
-
var X = oo(A[0], A[1], [ne - le, ee -
|
|
24428
|
+
var X = oo(A[0], A[1], [ne - le, ee - j, ne + le, ee - j, ne + le, ee + j, ne - le, ee + j], o.x, o.y);
|
|
24429
24429
|
if (X.length > 0) {
|
|
24430
24430
|
var ge = i, Ee = ta(ge, Ha(r)), de = ta(ge, Ha(X)), me = Ee;
|
|
24431
24431
|
if (de < Ee && (r = X, me = de), X.length > 2) {
|
|
@@ -24567,7 +24567,7 @@ var zg = function(e, r) {
|
|
|
24567
24567
|
}, Vg = function(e, r) {
|
|
24568
24568
|
var n = r.x - e.x, a = r.y - e.y;
|
|
24569
24569
|
return zg(n, a);
|
|
24570
|
-
},
|
|
24570
|
+
}, ZF = function(e, r, n, a) {
|
|
24571
24571
|
var i = io(0, a - 1e-3, 1), o = io(0, a + 1e-3, 1), s = Ga(e, r, n, i), u = Ga(e, r, n, o);
|
|
24572
24572
|
return Vg(s, u);
|
|
24573
24573
|
};
|
|
@@ -24655,7 +24655,7 @@ nn.recalculateEdgeLabelProjections = function(t) {
|
|
|
24655
24655
|
break;
|
|
24656
24656
|
}
|
|
24657
24657
|
var T = m.cp, k = m.segment, P = (f - g) / k.length, D = k.t1 - k.t0, F = h ? k.t0 + D * P : k.t1 - D * P;
|
|
24658
|
-
F = io(0, F, 1), e = Ga(T.p0, T.p1, T.p2, F), v =
|
|
24658
|
+
F = io(0, F, 1), e = Ga(T.p0, T.p1, T.p2, F), v = ZF(T.p0, T.p1, T.p2, F);
|
|
24659
24659
|
break;
|
|
24660
24660
|
}
|
|
24661
24661
|
case "straight":
|
|
@@ -24694,8 +24694,8 @@ nn.applyPrefixedLabelDimensions = function(t, e) {
|
|
|
24694
24694
|
In(r.rstyle, "labelWidth", e, d), In(r.rscratch, "labelWidth", e, d), In(r.rstyle, "labelHeight", e, v), In(r.rscratch, "labelHeight", e, v), In(r.rscratch, "labelLineHeight", e, c);
|
|
24695
24695
|
};
|
|
24696
24696
|
nn.getLabelText = function(t, e) {
|
|
24697
|
-
var r = t._private, n = e ? e + "-" : "", a = t.pstyle(n + "label").strValue, i = t.pstyle("text-transform").value, o = function(
|
|
24698
|
-
return oe ? (In(r.rscratch,
|
|
24697
|
+
var r = t._private, n = e ? e + "-" : "", a = t.pstyle(n + "label").strValue, i = t.pstyle("text-transform").value, o = function(Z, oe) {
|
|
24698
|
+
return oe ? (In(r.rscratch, Z, e, oe), oe) : Br(r.rscratch, Z, e);
|
|
24699
24699
|
};
|
|
24700
24700
|
if (!a)
|
|
24701
24701
|
return "";
|
|
@@ -25199,7 +25199,7 @@ xi.load = function() {
|
|
|
25199
25199
|
};
|
|
25200
25200
|
if (t.hoverData.which === 3) {
|
|
25201
25201
|
if (nt) {
|
|
25202
|
-
var
|
|
25202
|
+
var Zt = {
|
|
25203
25203
|
originalEvent: S,
|
|
25204
25204
|
type: "cxtdrag",
|
|
25205
25205
|
position: {
|
|
@@ -25207,7 +25207,7 @@ xi.load = function() {
|
|
|
25207
25207
|
y: J[1]
|
|
25208
25208
|
}
|
|
25209
25209
|
};
|
|
25210
|
-
Te ? Te.emit(
|
|
25210
|
+
Te ? Te.emit(Zt) : Y.emit(Zt), t.hoverData.cxtDragged = !0, (!t.hoverData.cxtOver || Pe !== t.hoverData.cxtOver) && (t.hoverData.cxtOver && t.hoverData.cxtOver.emit({
|
|
25211
25211
|
originalEvent: S,
|
|
25212
25212
|
type: "cxtdragout",
|
|
25213
25213
|
position: {
|
|
@@ -25410,9 +25410,9 @@ xi.load = function() {
|
|
|
25410
25410
|
}
|
|
25411
25411
|
});
|
|
25412
25412
|
}, !1);
|
|
25413
|
-
var L, B, A, _, M, R, K, H, q,
|
|
25413
|
+
var L, B, A, _, M, R, K, H, q, Z, oe, ne, ee, le = function(S, z, te, Y) {
|
|
25414
25414
|
return Math.sqrt((te - S) * (te - S) + (Y - z) * (Y - z));
|
|
25415
|
-
},
|
|
25415
|
+
}, j = function(S, z, te, Y) {
|
|
25416
25416
|
return (te - S) * (te - S) + (Y - z) * (Y - z);
|
|
25417
25417
|
}, N;
|
|
25418
25418
|
t.registerBinding(t.container, "touchstart", N = function(S) {
|
|
@@ -25434,9 +25434,9 @@ xi.load = function() {
|
|
|
25434
25434
|
if (S.touches[1]) {
|
|
25435
25435
|
t.touchData.singleTouchMoved = !0, m(t.dragData.touchDragEles);
|
|
25436
25436
|
var he = t.findContainerClientCoords();
|
|
25437
|
-
q = he[0],
|
|
25437
|
+
q = he[0], Z = he[1], oe = he[2], ne = he[3], L = S.touches[0].clientX - q, B = S.touches[0].clientY - Z, A = S.touches[1].clientX - q, _ = S.touches[1].clientY - Z, ee = 0 <= L && L <= oe && 0 <= A && A <= oe && 0 <= B && B <= ne && 0 <= _ && _ <= ne;
|
|
25438
25438
|
var J = z.pan(), fe = z.zoom();
|
|
25439
|
-
M = le(L, B, A, _), R =
|
|
25439
|
+
M = le(L, B, A, _), R = j(L, B, A, _), K = [(L + A) / 2, (B + _) / 2], H = [(K[0] - J.x) / fe, (K[1] - J.y) / fe];
|
|
25440
25440
|
var Ie = 200, Me = Ie * Ie;
|
|
25441
25441
|
if (R < Me && !S.touches[2]) {
|
|
25442
25442
|
var Pe = t.findNearestElement(te[0], te[1], !0, !0), Be = t.findNearestElement(te[2], te[3], !0, !0);
|
|
@@ -25541,8 +25541,8 @@ xi.load = function() {
|
|
|
25541
25541
|
}
|
|
25542
25542
|
if (z && t.touchData.cxt) {
|
|
25543
25543
|
S.preventDefault();
|
|
25544
|
-
var St = S.touches[0].clientX - q, bt = S.touches[0].clientY -
|
|
25545
|
-
if (gr >= Or || _t >=
|
|
25544
|
+
var St = S.touches[0].clientX - q, bt = S.touches[0].clientY - Z, Yt = S.touches[1].clientX - q, Ot = S.touches[1].clientY - Z, _t = j(St, bt, Yt, Ot), gr = _t / R, Xt = 150, Zt = Xt * Xt, wr = 1.5, Or = wr * wr;
|
|
25545
|
+
if (gr >= Or || _t >= Zt) {
|
|
25546
25546
|
t.touchData.cxt = !1, t.data.bgActivePosistion = void 0, t.redrawHint("select", !0);
|
|
25547
25547
|
var ur = {
|
|
25548
25548
|
originalEvent: S,
|
|
@@ -25600,7 +25600,7 @@ xi.load = function() {
|
|
|
25600
25600
|
En.grabbed = !1, En.rscratch.inDragLayer = !1;
|
|
25601
25601
|
}
|
|
25602
25602
|
}
|
|
25603
|
-
var G = t.touchData.start, St = S.touches[0].clientX - q, bt = S.touches[0].clientY -
|
|
25603
|
+
var G = t.touchData.start, St = S.touches[0].clientX - q, bt = S.touches[0].clientY - Z, Yt = S.touches[1].clientX - q, Ot = S.touches[1].clientY - Z, be = le(St, bt, Yt, Ot), Ge = be / M;
|
|
25604
25604
|
if (ee) {
|
|
25605
25605
|
var at = St - L, qr = bt - B, kn = Yt - A, Fa = Ot - _, on = (at + kn) / 2, xr = (qr + Fa) / 2, Sn = Y.zoom(), hl = Sn * Ge, Lo = Y.pan(), Pc = H[0] * Sn + Lo.x, Dc = H[1] * Sn + Lo.y, om = {
|
|
25606
25606
|
x: -hl / Sn * (Pc - Lo.x - on) + Pc,
|
|
@@ -25750,8 +25750,8 @@ xi.load = function() {
|
|
|
25750
25750
|
y: J[1]
|
|
25751
25751
|
}
|
|
25752
25752
|
});
|
|
25753
|
-
var Te = function(
|
|
25754
|
-
return
|
|
25753
|
+
var Te = function(Zt) {
|
|
25754
|
+
return Zt.selectable() && !Zt.selected();
|
|
25755
25755
|
};
|
|
25756
25756
|
Be.emit("box").stdFilter(Te).select().emit("boxselect"), Be.nonempty() && t.redrawHint("eles", !0), t.redraw();
|
|
25757
25757
|
}
|
|
@@ -26019,8 +26019,8 @@ xn.generateBarrel = function() {
|
|
|
26019
26019
|
for (var v = this.generateBarrelBezierPts(a, i, o, s), h = function(T, k, P) {
|
|
26020
26020
|
var D = P[4], F = P[2], I = P[0], L = P[5], B = P[1], A = Math.min(D, I), _ = Math.max(D, I), M = Math.min(L, B), R = Math.max(L, B);
|
|
26021
26021
|
if (A <= T && T <= _ && M <= k && k <= R) {
|
|
26022
|
-
var K = gP(D, F, I), H = uP(K[0], K[1], K[2], T), q = H.filter(function(
|
|
26023
|
-
return 0 <=
|
|
26022
|
+
var K = gP(D, F, I), H = uP(K[0], K[1], K[2], T), q = H.filter(function(Z) {
|
|
26023
|
+
return 0 <= Z && Z <= 1;
|
|
26024
26024
|
});
|
|
26025
26025
|
if (q.length > 0)
|
|
26026
26026
|
return q[0];
|
|
@@ -26134,9 +26134,9 @@ Oo.startRenderLoop = function() {
|
|
|
26134
26134
|
ks(r);
|
|
26135
26135
|
}
|
|
26136
26136
|
};
|
|
26137
|
-
var
|
|
26137
|
+
var jF = function(e) {
|
|
26138
26138
|
this.init(e);
|
|
26139
|
-
}, Ug =
|
|
26139
|
+
}, Ug = jF, Ci = Ug.prototype;
|
|
26140
26140
|
Ci.clientFunctions = ["redrawHint", "render", "renderTo", "matchCanvasSize", "nodeShapeImpl", "arrowShapeImpl"];
|
|
26141
26141
|
Ci.init = function(t) {
|
|
26142
26142
|
var e = this;
|
|
@@ -27136,7 +27136,7 @@ Tc.drawInscribedImage = function(t, e, r, n, a) {
|
|
|
27136
27136
|
R === "%" ? M += (g - D) * K : M += K;
|
|
27137
27137
|
var H = c(r, "background-offset-y", "units", n), q = c(r, "background-offset-y", "pfValue", n);
|
|
27138
27138
|
H === "%" ? M += (g - D) * q : M += q, y.pathCache && (I -= s, M -= u, s = 0, u = 0);
|
|
27139
|
-
var
|
|
27139
|
+
var Z = t.globalAlpha;
|
|
27140
27140
|
t.globalAlpha = C;
|
|
27141
27141
|
var oe = i.getImgSmoothing(t), ne = !1;
|
|
27142
27142
|
if (E === "no" && oe ? (i.setImgSmoothing(t, !1), ne = !0) : E === "yes" && !oe && (i.setImgSmoothing(t, !0), ne = !0), v === "no-repeat")
|
|
@@ -27145,7 +27145,7 @@ Tc.drawInscribedImage = function(t, e, r, n, a) {
|
|
|
27145
27145
|
var ee = t.createPattern(e, v);
|
|
27146
27146
|
t.fillStyle = ee, i.nodeShapes[i.getNodeShape(r)].draw(t, s, u, m, g, x, y), t.translate(I, M), t.fill(), t.translate(-I, -M);
|
|
27147
27147
|
}
|
|
27148
|
-
t.globalAlpha =
|
|
27148
|
+
t.globalAlpha = Z, ne && i.setImgSmoothing(t, oe);
|
|
27149
27149
|
}
|
|
27150
27150
|
};
|
|
27151
27151
|
var Oa = {};
|
|
@@ -27255,16 +27255,16 @@ Oa.drawText = function(t, e, r) {
|
|
|
27255
27255
|
break;
|
|
27256
27256
|
}
|
|
27257
27257
|
if (D ? Hl(t, I, L, B, A, F, "stroke") : t.strokeRect(I, L, B, A), q === "double") {
|
|
27258
|
-
var
|
|
27259
|
-
D ? Hl(t, I +
|
|
27258
|
+
var Z = T / 2;
|
|
27259
|
+
D ? Hl(t, I + Z, L + Z, B - Z * 2, A - Z * 2, F, "stroke") : t.strokeRect(I + Z, L + Z, B - Z * 2, A - Z * 2);
|
|
27260
27260
|
}
|
|
27261
27261
|
t.setLineDash && t.setLineDash([]), t.lineWidth = K, t.strokeStyle = R;
|
|
27262
27262
|
}
|
|
27263
27263
|
}
|
|
27264
27264
|
var oe = 2 * e.pstyle("text-outline-width").pfValue;
|
|
27265
27265
|
if (oe > 0 && (t.lineWidth = oe), e.pstyle("text-wrap").value === "wrap") {
|
|
27266
|
-
var ne = Br(o, "labelWrapCachedLines", r), ee = Br(o, "labelLineHeight", r), le = f / 2,
|
|
27267
|
-
switch (
|
|
27266
|
+
var ne = Br(o, "labelWrapCachedLines", r), ee = Br(o, "labelLineHeight", r), le = f / 2, j = this.getLabelJustification(e);
|
|
27267
|
+
switch (j === "auto" || (b === "left" ? j === "left" ? u += -f : j === "center" && (u += -le) : b === "center" ? j === "left" ? u += -le : j === "right" && (u += le) : b === "right" && (j === "center" ? u += le : j === "right" && (u += f))), w) {
|
|
27268
27268
|
case "top":
|
|
27269
27269
|
l -= (ne.length - 1) * ee;
|
|
27270
27270
|
break;
|
|
@@ -27298,9 +27298,9 @@ Ei.drawNode = function(t, e, r) {
|
|
|
27298
27298
|
});
|
|
27299
27299
|
}
|
|
27300
27300
|
}
|
|
27301
|
-
var D = e.pstyle("background-blacken").value, F = e.pstyle("border-width").pfValue, I = e.pstyle("background-opacity").value * v, L = e.pstyle("border-color").value, B = e.pstyle("border-style").value, A = e.pstyle("border-join").value, _ = e.pstyle("border-cap").value, M = e.pstyle("border-position").value, R = e.pstyle("border-dash-pattern").pfValue, K = e.pstyle("border-dash-offset").pfValue, H = e.pstyle("border-opacity").value * v, q = e.pstyle("outline-width").pfValue,
|
|
27301
|
+
var D = e.pstyle("background-blacken").value, F = e.pstyle("border-width").pfValue, I = e.pstyle("background-opacity").value * v, L = e.pstyle("border-color").value, B = e.pstyle("border-style").value, A = e.pstyle("border-join").value, _ = e.pstyle("border-cap").value, M = e.pstyle("border-position").value, R = e.pstyle("border-dash-pattern").pfValue, K = e.pstyle("border-dash-offset").pfValue, H = e.pstyle("border-opacity").value * v, q = e.pstyle("outline-width").pfValue, Z = e.pstyle("outline-color").value, oe = e.pstyle("outline-style").value, ne = e.pstyle("outline-opacity").value * v, ee = e.pstyle("outline-offset").value, le = e.pstyle("corner-radius").value;
|
|
27302
27302
|
le !== "auto" && (le = e.pstyle("corner-radius").pfValue);
|
|
27303
|
-
var
|
|
27303
|
+
var j = function() {
|
|
27304
27304
|
var he = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : I;
|
|
27305
27305
|
o.eleFillStyle(t, e, he);
|
|
27306
27306
|
}, N = function() {
|
|
@@ -27308,7 +27308,7 @@ Ei.drawNode = function(t, e, r) {
|
|
|
27308
27308
|
o.colorStrokeStyle(t, L[0], L[1], L[2], he);
|
|
27309
27309
|
}, U = function() {
|
|
27310
27310
|
var he = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ne;
|
|
27311
|
-
o.colorStrokeStyle(t,
|
|
27311
|
+
o.colorStrokeStyle(t, Z[0], Z[1], Z[2], he);
|
|
27312
27312
|
}, X = function(he, J, fe, Ie) {
|
|
27313
27313
|
var Me = o.nodePathCache = o.nodePathCache || [], Pe = Bp(fe === "polygon" ? fe + "," + Ie.join(",") : fe, "" + J, "" + he, "" + le), Be = Me[Pe], Te, Fe = !1;
|
|
27314
27314
|
return Be != null ? (Te = Be, Fe = !0, c.pathCache = Te) : (Te = new Path2D(), Me[Pe] = c.pathCache = Te), {
|
|
@@ -27415,9 +27415,9 @@ Ei.drawNode = function(t, e, r) {
|
|
|
27415
27415
|
x: he.x + kt + bt * Te[Xt * 2],
|
|
27416
27416
|
y: he.y + St + Yt * Te[Xt * 2 + 1]
|
|
27417
27417
|
};
|
|
27418
|
-
var
|
|
27419
|
-
for (wr = _t[wt - 1],
|
|
27420
|
-
Or = _t[
|
|
27418
|
+
var Zt, wr, Or, ur, wt = _t.length;
|
|
27419
|
+
for (wr = _t[wt - 1], Zt = 0; Zt < wt; Zt++)
|
|
27420
|
+
Or = _t[Zt % wt], ur = _t[(Zt + 1) % wt], gr[Zt] = kc(wr, Or, ur, Ot), wr = Or, Or = ur;
|
|
27421
27421
|
o.drawRoundPolygonPath(Fe || t, he.x + kt, he.y + St, s * Ie, u * Me, Te, gr);
|
|
27422
27422
|
} else if (["roundrectangle", "round-rectangle"].includes(J))
|
|
27423
27423
|
le = le === "auto" ? ba(Pe, Be) : le, o.drawRoundRectanglePath(Fe || t, he.x, he.y, Pe, Be, le + (fe + q + ee) / 2);
|
|
@@ -27450,12 +27450,12 @@ Ei.drawNode = function(t, e, r) {
|
|
|
27450
27450
|
}, se = e.pstyle("ghost").value === "yes";
|
|
27451
27451
|
if (se) {
|
|
27452
27452
|
var S = e.pstyle("ghost-offset-x").pfValue, z = e.pstyle("ghost-offset-y").pfValue, te = e.pstyle("ghost-opacity").value, Y = te * v;
|
|
27453
|
-
t.translate(S, z), U(), He(),
|
|
27453
|
+
t.translate(S, z), U(), He(), j(te * I), me(), xe(Y, !0), N(te * H), De(), ke(D !== 0 || F !== 0), xe(Y, !1), Ce(Y), t.translate(-S, -z);
|
|
27454
27454
|
}
|
|
27455
|
-
h && t.translate(-d.x, -d.y), _e(), h && t.translate(d.x, d.y), U(), He(),
|
|
27455
|
+
h && t.translate(-d.x, -d.y), _e(), h && t.translate(d.x, d.y), U(), He(), j(), me(), xe(v, !0), N(), De(), ke(D !== 0 || F !== 0), xe(v, !1), Ce(), h && t.translate(-d.x, -d.y), Ue(), qe(), r && t.translate(g.x1, g.y1);
|
|
27456
27456
|
}
|
|
27457
27457
|
};
|
|
27458
|
-
var
|
|
27458
|
+
var Zg = function(e) {
|
|
27459
27459
|
if (!["overlay", "underlay"].includes(e))
|
|
27460
27460
|
throw new Error("Invalid state");
|
|
27461
27461
|
return function(r, n, a, i, o) {
|
|
@@ -27472,8 +27472,8 @@ var jg = function(e) {
|
|
|
27472
27472
|
}
|
|
27473
27473
|
};
|
|
27474
27474
|
};
|
|
27475
|
-
Ei.drawNodeOverlay =
|
|
27476
|
-
Ei.drawNodeUnderlay =
|
|
27475
|
+
Ei.drawNodeOverlay = Zg("overlay");
|
|
27476
|
+
Ei.drawNodeUnderlay = Zg("underlay");
|
|
27477
27477
|
Ei.hasPie = function(t) {
|
|
27478
27478
|
return t = t[0], t._private.hasPie;
|
|
27479
27479
|
};
|
|
@@ -27680,8 +27680,8 @@ br.render = function(t) {
|
|
|
27680
27680
|
} else o.textureOnViewport && !e && (o.textureCache = null);
|
|
27681
27681
|
var M = u.extent(), R = o.pinching || o.hoverData.dragging || o.swipePanning || o.data.wheelZooming || o.hoverData.draggingEles || o.cy.animated(), K = o.hideEdgesOnViewport && R, H = [];
|
|
27682
27682
|
if (H[o.NODE] = !c[o.NODE] && v && !o.clearedForMotionBlur[o.NODE] || o.clearingMotionBlur, H[o.NODE] && (o.clearedForMotionBlur[o.NODE] = !0), H[o.DRAG] = !c[o.DRAG] && v && !o.clearedForMotionBlur[o.DRAG] || o.clearingMotionBlur, H[o.DRAG] && (o.clearedForMotionBlur[o.DRAG] = !0), c[o.NODE] || r || n || H[o.NODE]) {
|
|
27683
|
-
var q = v && !H[o.NODE] && h !== 1, L = e || (q ? o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE] : l.contexts[o.NODE]),
|
|
27684
|
-
F(L,
|
|
27683
|
+
var q = v && !H[o.NODE] && h !== 1, L = e || (q ? o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE] : l.contexts[o.NODE]), Z = v && !q ? "motionBlur" : void 0;
|
|
27684
|
+
F(L, Z), K ? o.drawCachedNodes(L, P.nondrag, s, M) : o.drawLayeredElements(L, P.nondrag, s, M), o.debug && o.drawDebugPoints(L, P.nondrag), !r && !v && (c[o.NODE] = !1);
|
|
27685
27685
|
}
|
|
27686
27686
|
if (!n && (c[o.DRAG] || r || H[o.DRAG])) {
|
|
27687
27687
|
var q = v && !H[o.DRAG] && h !== 1, L = e || (q ? o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG] : l.contexts[o.DRAG]);
|
|
@@ -27702,8 +27702,8 @@ br.render = function(t) {
|
|
|
27702
27702
|
ee = Math.round(ee);
|
|
27703
27703
|
var le = Math.round(1e3 / ee);
|
|
27704
27704
|
L.setTransform(1, 0, 0, 1, 0, 0), L.fillStyle = "rgba(255, 0, 0, 0.75)", L.strokeStyle = "rgba(255, 0, 0, 0.75)", L.lineWidth = 1, L.fillText("1 frame = " + ee + " ms = " + le + " fps", 0, 20);
|
|
27705
|
-
var
|
|
27706
|
-
L.strokeRect(0, 30, 250, 20), L.fillRect(0, 30, 250 * Math.min(le /
|
|
27705
|
+
var j = 60;
|
|
27706
|
+
L.strokeRect(0, 30, 250, 20), L.fillRect(0, 30, 250 * Math.min(le / j, 1), 20);
|
|
27707
27707
|
}
|
|
27708
27708
|
r || (c[o.SELECT_BOX] = !1);
|
|
27709
27709
|
}
|
|
@@ -27734,43 +27734,43 @@ br.render = function(t) {
|
|
|
27734
27734
|
o.motionBlurTimeout = null, o.clearedForMotionBlur[o.NODE] = !1, o.clearedForMotionBlur[o.DRAG] = !1, o.motionBlur = !1, o.clearingMotionBlur = !d, o.mbFrames = 0, c[o.NODE] = !0, c[o.DRAG] = !0, o.redraw();
|
|
27735
27735
|
}, _L)), e || u.emit("render");
|
|
27736
27736
|
};
|
|
27737
|
-
var
|
|
27738
|
-
|
|
27737
|
+
var jn = {};
|
|
27738
|
+
jn.drawPolygonPath = function(t, e, r, n, a, i) {
|
|
27739
27739
|
var o = n / 2, s = a / 2;
|
|
27740
27740
|
t.beginPath && t.beginPath(), t.moveTo(e + o * i[0], r + s * i[1]);
|
|
27741
27741
|
for (var u = 1; u < i.length / 2; u++)
|
|
27742
27742
|
t.lineTo(e + o * i[u * 2], r + s * i[u * 2 + 1]);
|
|
27743
27743
|
t.closePath();
|
|
27744
27744
|
};
|
|
27745
|
-
|
|
27745
|
+
jn.drawRoundPolygonPath = function(t, e, r, n, a, i, o) {
|
|
27746
27746
|
o.forEach(function(s) {
|
|
27747
27747
|
return $g(t, s);
|
|
27748
27748
|
}), t.closePath();
|
|
27749
27749
|
};
|
|
27750
|
-
|
|
27750
|
+
jn.drawRoundRectanglePath = function(t, e, r, n, a, i) {
|
|
27751
27751
|
var o = n / 2, s = a / 2, u = i === "auto" ? ba(n, a) : Math.min(i, s, o);
|
|
27752
27752
|
t.beginPath && t.beginPath(), t.moveTo(e, r - s), t.arcTo(e + o, r - s, e + o, r, u), t.arcTo(e + o, r + s, e, r + s, u), t.arcTo(e - o, r + s, e - o, r, u), t.arcTo(e - o, r - s, e, r - s, u), t.lineTo(e, r - s), t.closePath();
|
|
27753
27753
|
};
|
|
27754
|
-
|
|
27754
|
+
jn.drawBottomRoundRectanglePath = function(t, e, r, n, a, i) {
|
|
27755
27755
|
var o = n / 2, s = a / 2, u = i === "auto" ? ba(n, a) : i;
|
|
27756
27756
|
t.beginPath && t.beginPath(), t.moveTo(e, r - s), t.lineTo(e + o, r - s), t.lineTo(e + o, r), t.arcTo(e + o, r + s, e, r + s, u), t.arcTo(e - o, r + s, e - o, r, u), t.lineTo(e - o, r - s), t.lineTo(e, r - s), t.closePath();
|
|
27757
27757
|
};
|
|
27758
|
-
|
|
27758
|
+
jn.drawCutRectanglePath = function(t, e, r, n, a, i, o) {
|
|
27759
27759
|
var s = n / 2, u = a / 2, l = o === "auto" ? fc() : o;
|
|
27760
27760
|
t.beginPath && t.beginPath(), t.moveTo(e - s + l, r - u), t.lineTo(e + s - l, r - u), t.lineTo(e + s, r - u + l), t.lineTo(e + s, r + u - l), t.lineTo(e + s - l, r + u), t.lineTo(e - s + l, r + u), t.lineTo(e - s, r + u - l), t.lineTo(e - s, r - u + l), t.closePath();
|
|
27761
27761
|
};
|
|
27762
|
-
|
|
27762
|
+
jn.drawBarrelPath = function(t, e, r, n, a) {
|
|
27763
27763
|
var i = n / 2, o = a / 2, s = e - i, u = e + i, l = r - o, c = r + o, d = su(n, a), v = d.widthOffset, h = d.heightOffset, f = d.ctrlPtOffsetPct * v;
|
|
27764
27764
|
t.beginPath && t.beginPath(), t.moveTo(s, l + h), t.lineTo(s, c - h), t.quadraticCurveTo(s + f, c, s + v, c), t.lineTo(u - v, c), t.quadraticCurveTo(u - f, c, u, c - h), t.lineTo(u, l + h), t.quadraticCurveTo(u - f, l, u - v, l), t.lineTo(s + v, l), t.quadraticCurveTo(s + f, l, s, l + h), t.closePath();
|
|
27765
27765
|
};
|
|
27766
|
-
var lv = Math.sin(0), uv = Math.cos(0), bu = {}, wu = {},
|
|
27767
|
-
for (var $a = 0 * Math.PI; $a < 2 * Math.PI; $a +=
|
|
27766
|
+
var lv = Math.sin(0), uv = Math.cos(0), bu = {}, wu = {}, jg = Math.PI / 40;
|
|
27767
|
+
for (var $a = 0 * Math.PI; $a < 2 * Math.PI; $a += jg)
|
|
27768
27768
|
bu[$a] = Math.sin($a), wu[$a] = Math.cos($a);
|
|
27769
|
-
|
|
27769
|
+
jn.drawEllipsePath = function(t, e, r, n, a) {
|
|
27770
27770
|
if (t.beginPath && t.beginPath(), t.ellipse)
|
|
27771
27771
|
t.ellipse(e, r, n / 2, a / 2, 0, 0, 2 * Math.PI);
|
|
27772
27772
|
else
|
|
27773
|
-
for (var i, o, s = n / 2, u = a / 2, l = 0 * Math.PI; l < 2 * Math.PI; l +=
|
|
27773
|
+
for (var i, o, s = n / 2, u = a / 2, l = 0 * Math.PI; l < 2 * Math.PI; l += jg)
|
|
27774
27774
|
i = e - s * bu[l] * lv + s * wu[l] * uv, o = r + u * wu[l] * lv + u * bu[l] * uv, l === 0 ? t.moveTo(i, o) : t.lineTo(i, o);
|
|
27775
27775
|
t.closePath();
|
|
27776
27776
|
};
|
|
@@ -27870,23 +27870,23 @@ Jg.nodeShapeImpl = function(t, e, r, n, a, i, o, s) {
|
|
|
27870
27870
|
return this.drawBarrelPath(e, r, n, a, i);
|
|
27871
27871
|
}
|
|
27872
27872
|
};
|
|
27873
|
-
var NL = em,
|
|
27874
|
-
|
|
27875
|
-
|
|
27876
|
-
|
|
27877
|
-
|
|
27878
|
-
|
|
27879
|
-
|
|
27880
|
-
|
|
27881
|
-
|
|
27873
|
+
var NL = em, Ze = em.prototype;
|
|
27874
|
+
Ze.CANVAS_LAYERS = 3;
|
|
27875
|
+
Ze.SELECT_BOX = 0;
|
|
27876
|
+
Ze.DRAG = 1;
|
|
27877
|
+
Ze.NODE = 2;
|
|
27878
|
+
Ze.BUFFER_COUNT = 3;
|
|
27879
|
+
Ze.TEXTURE_BUFFER = 0;
|
|
27880
|
+
Ze.MOTIONBLUR_BUFFER_NODE = 1;
|
|
27881
|
+
Ze.MOTIONBLUR_BUFFER_DRAG = 2;
|
|
27882
27882
|
function em(t) {
|
|
27883
27883
|
var e = this, r = e.cy.window(), n = r.document;
|
|
27884
27884
|
e.data = {
|
|
27885
|
-
canvases: new Array(
|
|
27886
|
-
contexts: new Array(
|
|
27887
|
-
canvasNeedsRedraw: new Array(
|
|
27888
|
-
bufferCanvases: new Array(
|
|
27889
|
-
bufferContexts: new Array(
|
|
27885
|
+
canvases: new Array(Ze.CANVAS_LAYERS),
|
|
27886
|
+
contexts: new Array(Ze.CANVAS_LAYERS),
|
|
27887
|
+
canvasNeedsRedraw: new Array(Ze.CANVAS_LAYERS),
|
|
27888
|
+
bufferCanvases: new Array(Ze.BUFFER_COUNT),
|
|
27889
|
+
bufferContexts: new Array(Ze.CANVAS_LAYERS)
|
|
27890
27890
|
};
|
|
27891
27891
|
var a = "-webkit-tap-highlight-color", i = "rgba(0,0,0,0)";
|
|
27892
27892
|
e.data.canvasContainer = n.createElement("div");
|
|
@@ -27902,14 +27902,14 @@ function em(t) {
|
|
|
27902
27902
|
"outline-style": "none"
|
|
27903
27903
|
};
|
|
27904
27904
|
k5() && (u["-ms-touch-action"] = "none", u["touch-action"] = "none");
|
|
27905
|
-
for (var l = 0; l <
|
|
27905
|
+
for (var l = 0; l < Ze.CANVAS_LAYERS; l++) {
|
|
27906
27906
|
var c = e.data.canvases[l] = n.createElement("canvas");
|
|
27907
|
-
e.data.contexts[l] = c.getContext("2d"), Object.keys(u).forEach(function(
|
|
27908
|
-
c.style[
|
|
27909
|
-
}), c.style.position = "absolute", c.setAttribute("data-id", "layer" + l), c.style.zIndex = String(
|
|
27907
|
+
e.data.contexts[l] = c.getContext("2d"), Object.keys(u).forEach(function(j) {
|
|
27908
|
+
c.style[j] = u[j];
|
|
27909
|
+
}), c.style.position = "absolute", c.setAttribute("data-id", "layer" + l), c.style.zIndex = String(Ze.CANVAS_LAYERS - l), e.data.canvasContainer.appendChild(c), e.data.canvasNeedsRedraw[l] = !1;
|
|
27910
27910
|
}
|
|
27911
|
-
e.data.topCanvas = e.data.canvases[0], e.data.canvases[
|
|
27912
|
-
for (var l = 0; l <
|
|
27911
|
+
e.data.topCanvas = e.data.canvases[0], e.data.canvases[Ze.NODE].setAttribute("data-id", "layer" + Ze.NODE + "-node"), e.data.canvases[Ze.SELECT_BOX].setAttribute("data-id", "layer" + Ze.SELECT_BOX + "-selectbox"), e.data.canvases[Ze.DRAG].setAttribute("data-id", "layer" + Ze.DRAG + "-drag");
|
|
27912
|
+
for (var l = 0; l < Ze.BUFFER_COUNT; l++)
|
|
27913
27913
|
e.data.bufferCanvases[l] = n.createElement("canvas"), e.data.bufferContexts[l] = e.data.bufferCanvases[l].getContext("2d"), e.data.bufferCanvases[l].style.position = "absolute", e.data.bufferCanvases[l].setAttribute("data-id", "buffer" + l), e.data.bufferCanvases[l].style.zIndex = String(-l - 1), e.data.bufferCanvases[l].style.visibility = "hidden";
|
|
27914
27914
|
e.pathsEnabled = !0;
|
|
27915
27915
|
var d = pr(), v = function(N) {
|
|
@@ -28007,7 +28007,7 @@ function em(t) {
|
|
|
28007
28007
|
getRotationOffset: M,
|
|
28008
28008
|
allowEdgeTxrCaching: !1,
|
|
28009
28009
|
allowParentTxrCaching: !1
|
|
28010
|
-
}),
|
|
28010
|
+
}), Z = e.data.lblTxrCache = new Ri(e, {
|
|
28011
28011
|
getKey: m,
|
|
28012
28012
|
drawElement: w,
|
|
28013
28013
|
getBoundingBox: T,
|
|
@@ -28030,7 +28030,7 @@ function em(t) {
|
|
|
28030
28030
|
isVisible: D
|
|
28031
28031
|
}), ee = e.data.lyrTxrCache = new Wg(e);
|
|
28032
28032
|
e.onUpdateEleCalcs(function(N, U) {
|
|
28033
|
-
q.invalidateElements(U),
|
|
28033
|
+
q.invalidateElements(U), Z.invalidateElements(U), oe.invalidateElements(U), ne.invalidateElements(U), ee.invalidateElements(U);
|
|
28034
28034
|
for (var X = 0; X < U.length; X++) {
|
|
28035
28035
|
var ge = U[X]._private;
|
|
28036
28036
|
ge.oldBackgroundTimestamp = ge.backgroundTimestamp;
|
|
@@ -28040,38 +28040,38 @@ function em(t) {
|
|
|
28040
28040
|
for (var U = 0; U < N.length; U++)
|
|
28041
28041
|
ee.enqueueElementRefinement(N[U].ele);
|
|
28042
28042
|
};
|
|
28043
|
-
q.onDequeue(le),
|
|
28043
|
+
q.onDequeue(le), Z.onDequeue(le), oe.onDequeue(le), ne.onDequeue(le);
|
|
28044
28044
|
}
|
|
28045
|
-
|
|
28045
|
+
Ze.redrawHint = function(t, e) {
|
|
28046
28046
|
var r = this;
|
|
28047
28047
|
switch (t) {
|
|
28048
28048
|
case "eles":
|
|
28049
|
-
r.data.canvasNeedsRedraw[
|
|
28049
|
+
r.data.canvasNeedsRedraw[Ze.NODE] = e;
|
|
28050
28050
|
break;
|
|
28051
28051
|
case "drag":
|
|
28052
|
-
r.data.canvasNeedsRedraw[
|
|
28052
|
+
r.data.canvasNeedsRedraw[Ze.DRAG] = e;
|
|
28053
28053
|
break;
|
|
28054
28054
|
case "select":
|
|
28055
|
-
r.data.canvasNeedsRedraw[
|
|
28055
|
+
r.data.canvasNeedsRedraw[Ze.SELECT_BOX] = e;
|
|
28056
28056
|
break;
|
|
28057
28057
|
}
|
|
28058
28058
|
};
|
|
28059
28059
|
var $L = typeof Path2D < "u";
|
|
28060
|
-
|
|
28060
|
+
Ze.path2dEnabled = function(t) {
|
|
28061
28061
|
if (t === void 0)
|
|
28062
28062
|
return this.pathsEnabled;
|
|
28063
28063
|
this.pathsEnabled = !!t;
|
|
28064
28064
|
};
|
|
28065
|
-
|
|
28065
|
+
Ze.usePaths = function() {
|
|
28066
28066
|
return $L && this.pathsEnabled;
|
|
28067
28067
|
};
|
|
28068
|
-
|
|
28068
|
+
Ze.setImgSmoothing = function(t, e) {
|
|
28069
28069
|
t.imageSmoothingEnabled != null ? t.imageSmoothingEnabled = e : (t.webkitImageSmoothingEnabled = e, t.mozImageSmoothingEnabled = e, t.msImageSmoothingEnabled = e);
|
|
28070
28070
|
};
|
|
28071
|
-
|
|
28071
|
+
Ze.getImgSmoothing = function(t) {
|
|
28072
28072
|
return t.imageSmoothingEnabled != null ? t.imageSmoothingEnabled : t.webkitImageSmoothingEnabled || t.mozImageSmoothingEnabled || t.msImageSmoothingEnabled;
|
|
28073
28073
|
};
|
|
28074
|
-
|
|
28074
|
+
Ze.makeOffscreenCanvas = function(t, e) {
|
|
28075
28075
|
var r;
|
|
28076
28076
|
if ((typeof OffscreenCanvas > "u" ? "undefined" : It(OffscreenCanvas)) !== "undefined")
|
|
28077
28077
|
r = new OffscreenCanvas(t, e);
|
|
@@ -28081,8 +28081,8 @@ je.makeOffscreenCanvas = function(t, e) {
|
|
|
28081
28081
|
}
|
|
28082
28082
|
return r;
|
|
28083
28083
|
};
|
|
28084
|
-
[Yg, an, Cn, Tc, Oa, Ei, br,
|
|
28085
|
-
$e(
|
|
28084
|
+
[Yg, an, Cn, Tc, Oa, Ei, br, jn, Fo, Jg].forEach(function(t) {
|
|
28085
|
+
$e(Ze, t);
|
|
28086
28086
|
});
|
|
28087
28087
|
var RL = [{
|
|
28088
28088
|
name: "null",
|
|
@@ -28267,7 +28267,7 @@ Ca.css = function(t, e) {
|
|
|
28267
28267
|
for (var n = t, a = Object.keys(n), i = 0; i < a.length; i++) {
|
|
28268
28268
|
var o = a[i], s = n[o];
|
|
28269
28269
|
if (s != null) {
|
|
28270
|
-
var u = tr.properties[o] || tr.properties[
|
|
28270
|
+
var u = tr.properties[o] || tr.properties[Zs(o)];
|
|
28271
28271
|
if (u != null) {
|
|
28272
28272
|
var l = u.name, c = s;
|
|
28273
28273
|
this[r].properties.push({
|
|
@@ -28422,7 +28422,10 @@ class GL {
|
|
|
28422
28422
|
roots: e.roots
|
|
28423
28423
|
},
|
|
28424
28424
|
directed: !0,
|
|
28425
|
-
style: UL
|
|
28425
|
+
style: UL,
|
|
28426
|
+
minZoom: 0.5,
|
|
28427
|
+
maxZoom: 10,
|
|
28428
|
+
wheelSensitivity: 0.4
|
|
28426
28429
|
}).on("mouseover", "node", this.overNode.bind(this)).on("mouseout", "node", this.exitNode.bind(this)).on("position", "node", this.moveNode.bind(this)), this.tooltip = document.createElement("div"), this.tooltip.id = "tooltip", this.tooltip.hidden = !0, (a = (n = this.graphCanvas) == null ? void 0 : n.lastChild) == null || a.appendChild(this.tooltip);
|
|
28427
28430
|
}
|
|
28428
28431
|
remove() {
|
|
@@ -28576,17 +28579,17 @@ const WL = 1.3, YL = {
|
|
|
28576
28579
|
hideSpinner: function() {
|
|
28577
28580
|
}
|
|
28578
28581
|
}
|
|
28579
|
-
}, XL = { class: "connectivity-graph" },
|
|
28582
|
+
}, XL = { class: "connectivity-graph" }, ZL = {
|
|
28580
28583
|
ref: "graphCanvas",
|
|
28581
28584
|
class: "graph-canvas"
|
|
28582
|
-
},
|
|
28585
|
+
}, jL = /* @__PURE__ */ Pm('<div class="node-key" data-v-8250fcb2><div class="key-head" data-v-8250fcb2>Node type:</div><div data-v-8250fcb2><div data-v-8250fcb2><span data-v-8250fcb2>Node:</span><span class="key-box" style="background:#80F0F0;" data-v-8250fcb2></span></div><div data-v-8250fcb2><span data-v-8250fcb2>Axon:</span><span class="key-box" style="background:green;" data-v-8250fcb2></span></div><div data-v-8250fcb2><span data-v-8250fcb2>Dendrite:</span><span class="key-box" style="background:red;" data-v-8250fcb2></span></div><div data-v-8250fcb2><span data-v-8250fcb2>Both:</span><span class="key-box" style="background:gray;" data-v-8250fcb2></span></div></div></div>', 1);
|
|
28583
28586
|
function QL(t, e, r, n, a, i) {
|
|
28584
28587
|
return $(), Q("div", XL, [
|
|
28585
|
-
ie("div",
|
|
28586
|
-
|
|
28588
|
+
ie("div", ZL, null, 512),
|
|
28589
|
+
jL
|
|
28587
28590
|
]);
|
|
28588
28591
|
}
|
|
28589
|
-
const sA = /* @__PURE__ */ rn(YL, [["render", QL], ["__scopeId", "data-v-
|
|
28592
|
+
const sA = /* @__PURE__ */ rn(YL, [["render", QL], ["__scopeId", "data-v-8250fcb2"]]);
|
|
28590
28593
|
export {
|
|
28591
28594
|
sA as ConnectivityGraph,
|
|
28592
28595
|
iA as CopyToClipboard,
|