@abi-software/map-utilities 1.7.5 → 1.7.7-demo.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ var kT = Object.defineProperty;
2
2
  var _T = (t, e, r) => e in t ? kT(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var Tr = (t, e, r) => _T(t, typeof e != "symbol" ? e + "" : e, r);
4
4
  import { Loading as Kp, CircleCheck as TT, CircleClose as Gp, View as IT, Hide as OT, Close as Xs, ArrowDown as Vo, CaretRight as AT, CopyDocument as PT, ArrowUp as Up, Edit as DT, Delete as RT, Finished as LT, Aim as FT, Lock as MT, Unlock as NT, ZoomIn as BT, ZoomOut as $T, Warning as bl, Search as xE } from "@element-plus/icons-vue";
5
- import { getCurrentScope as qT, onScopeDispose as zT, unref as P, getCurrentInstance as mt, onMounted as St, nextTick as ot, watch as Re, ref as de, warn as VT, computed as j, inject as Ue, isRef as yi, shallowRef as xn, onBeforeUnmount as Zr, onBeforeMount as HT, provide as Et, defineComponent as Se, openBlock as q, createElementBlock as ie, mergeProps as Ur, renderSlot as Fe, toRef as Gr, onUnmounted as KT, useAttrs as GT, useSlots as Ho, createCommentVNode as pe, Fragment as je, normalizeClass as le, createElementVNode as ae, createBlock as me, withCtx as U, resolveDynamicComponent as rr, withModifiers as pt, createVNode as J, toDisplayString as ke, normalizeStyle as st, Transition as Ai, withDirectives as Ye, vShow as dt, reactive as on, onActivated as UT, onUpdated as EE, cloneVNode as WT, Text as SE, Comment as jT, Teleport as YT, readonly as ZT, onDeactivated as XT, createTextVNode as Be, toRaw as Js, vModelCheckbox as Qs, toRefs as Ko, toHandlers as JT, watchEffect as kE, renderList as Lt, withKeys as ma, resolveComponent as tr, resolveDirective as QT, toHandlerKey as eI, vModelText as tI, h as ba, createApp as rI, pushScopeId as Ba, popScopeId as $a, createStaticVNode as nI } from "vue";
5
+ import { getCurrentScope as qT, onScopeDispose as zT, unref as P, getCurrentInstance as mt, onMounted as St, nextTick as ot, watch as Re, ref as de, warn as VT, computed as j, inject as Ue, isRef as yi, shallowRef as xn, onBeforeUnmount as Zr, onBeforeMount as HT, provide as Et, defineComponent as Se, openBlock as q, createElementBlock as ie, mergeProps as Ur, renderSlot as Fe, toRef as Gr, onUnmounted as KT, useAttrs as GT, useSlots as Ho, createCommentVNode as pe, Fragment as je, normalizeClass as le, createElementVNode as ae, createBlock as me, withCtx as U, resolveDynamicComponent as rr, withModifiers as pt, createVNode as J, toDisplayString as ke, normalizeStyle as st, Transition as Ai, withDirectives as Ye, vShow as dt, reactive as on, onActivated as UT, onUpdated as EE, cloneVNode as WT, Text as SE, Comment as jT, Teleport as YT, readonly as ZT, onDeactivated as XT, createTextVNode as Be, toRaw as Js, vModelCheckbox as Qs, toRefs as Ko, toHandlers as JT, watchEffect as kE, renderList as Lt, withKeys as ba, resolveComponent as tr, resolveDirective as QT, toHandlerKey as eI, vModelText as tI, h as wa, createApp as rI, pushScopeId as Ba, popScopeId as $a, createStaticVNode as nI } from "vue";
6
6
  const mn = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (a) => {
7
7
  const i = t == null ? void 0 : t(a);
8
8
  if (r === !1 || !i)
@@ -190,7 +190,7 @@ const wI = () => It && /firefox/i.test(window.navigator.userAgent), Wp = (t) =>
190
190
  process.env.NODE_ENV !== "production" && Object.freeze({});
191
191
  process.env.NODE_ENV !== "production" && Object.freeze([]);
192
192
  const Eo = () => {
193
- }, CI = Object.prototype.hasOwnProperty, Ta = (t, e) => CI.call(t, e), hr = Array.isArray, cr = (t) => typeof t == "function", nr = (t) => typeof t == "string", Gt = (t) => t !== null && typeof t == "object", xI = Object.prototype.toString, EI = (t) => xI.call(t), gu = (t) => EI(t).slice(8, -1), OE = (t) => {
193
+ }, CI = Object.prototype.hasOwnProperty, Ia = (t, e) => CI.call(t, e), hr = Array.isArray, cr = (t) => typeof t == "function", nr = (t) => typeof t == "string", Gt = (t) => t !== null && typeof t == "object", xI = Object.prototype.toString, EI = (t) => xI.call(t), gu = (t) => EI(t).slice(8, -1), OE = (t) => {
194
194
  const e = /* @__PURE__ */ Object.create(null);
195
195
  return (r) => e[r] || (e[r] = t(r));
196
196
  }, SI = /-(\w)/g, kI = OE((t) => t.replace(SI, (e, r) => r ? r.toUpperCase() : "")), _I = /\B([A-Z])/g, TI = OE(
@@ -508,18 +508,18 @@ function AA(t, e) {
508
508
  var r = this.__data__;
509
509
  return this.size += this.has(t) ? 0 : 1, r[t] = So && e === void 0 ? OA : e, this;
510
510
  }
511
- function Ia(t) {
511
+ function Oa(t) {
512
512
  var e = -1, r = t == null ? 0 : t.length;
513
513
  for (this.clear(); ++e < r; ) {
514
514
  var n = t[e];
515
515
  this.set(n[0], n[1]);
516
516
  }
517
517
  }
518
- Ia.prototype.clear = wA;
519
- Ia.prototype.delete = CA;
520
- Ia.prototype.get = kA;
521
- Ia.prototype.has = IA;
522
- Ia.prototype.set = AA;
518
+ Oa.prototype.clear = wA;
519
+ Oa.prototype.delete = CA;
520
+ Oa.prototype.get = kA;
521
+ Oa.prototype.has = IA;
522
+ Oa.prototype.set = AA;
523
523
  function PA() {
524
524
  this.__data__ = [], this.size = 0;
525
525
  }
@@ -563,9 +563,9 @@ In.prototype.set = NA;
563
563
  var ko = za(dn, "Map");
564
564
  function BA() {
565
565
  this.size = 0, this.__data__ = {
566
- hash: new Ia(),
566
+ hash: new Oa(),
567
567
  map: new (ko || In)(),
568
- string: new Ia()
568
+ string: new Oa()
569
569
  };
570
570
  }
571
571
  function $A(t) {
@@ -1104,7 +1104,7 @@ function yD(t, e) {
1104
1104
  var UE = tP(function(t, e) {
1105
1105
  return t == null ? {} : yD(t, e);
1106
1106
  });
1107
- const Un = (t) => t === void 0, bi = (t) => typeof t == "boolean", Ut = (t) => typeof t == "number", Ea = (t) => typeof Element > "u" ? !1 : t instanceof Element, al = (t) => Yn(t), mD = (t) => nr(t) ? !Number.isNaN(Number(t)) : !1, bD = (t = "") => t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), em = (t) => Object.keys(t);
1107
+ const Un = (t) => t === void 0, bi = (t) => typeof t == "boolean", Ut = (t) => typeof t == "number", Sa = (t) => typeof Element > "u" ? !1 : t instanceof Element, al = (t) => Yn(t), mD = (t) => nr(t) ? !Number.isNaN(Number(t)) : !1, bD = (t = "") => t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), em = (t) => Object.keys(t);
1108
1108
  class WE extends Error {
1109
1109
  constructor(e) {
1110
1110
  super(e), this.name = "ElementPlusError";
@@ -1121,7 +1121,7 @@ function Ot(t, e) {
1121
1121
  }
1122
1122
  const CD = "utils/dom/style", jE = (t = "") => t.split(" ").filter((e) => !!e.trim()), gp = (t, e) => {
1123
1123
  !t || !e.trim() || t.classList.add(...jE(e));
1124
- }, Sa = (t, e) => {
1124
+ }, ka = (t, e) => {
1125
1125
  !t || !e.trim() || t.classList.remove(...jE(e));
1126
1126
  }, Ji = (t, e) => {
1127
1127
  var r;
@@ -1170,7 +1170,7 @@ const YE = "__epPropKey", qe = (t) => t, ED = (t) => Gt(t) && !!t[YE], Tl = (t,
1170
1170
  required: !!n,
1171
1171
  validator: r || o ? (l) => {
1172
1172
  let c = !1, d = [];
1173
- if (r && (d = Array.from(r), Ta(t, "default") && d.push(a), c || (c = d.includes(l))), o && (c || (c = o(l))), !c && d.length > 0) {
1173
+ if (r && (d = Array.from(r), Ia(t, "default") && d.push(a), c || (c = d.includes(l))), o && (c || (c = o(l))), !c && d.length > 0) {
1174
1174
  const f = [...new Set(d)].map((h) => JSON.stringify(h)).join(", ");
1175
1175
  VT(`Invalid prop: validation failed${e ? ` for prop "${e}"` : ""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`);
1176
1176
  }
@@ -1178,7 +1178,7 @@ const YE = "__epPropKey", qe = (t) => t, ED = (t) => Gt(t) && !!t[YE], Tl = (t,
1178
1178
  } : void 0,
1179
1179
  [YE]: !0
1180
1180
  };
1181
- return Ta(t, "default") && (u.default = a), u;
1181
+ return Ia(t, "default") && (u.default = a), u;
1182
1182
  }, rt = (t) => rl(Object.entries(t).map(([e, r]) => [
1183
1183
  e,
1184
1184
  Tl(r, e)
@@ -1423,7 +1423,7 @@ const AD = (t) => (e, r) => PD(e, r, P(t)), PD = (t, e, r) => wn(r, t, t).replac
1423
1423
  }, JE = Symbol("localeContextKey"), Uo = (t) => {
1424
1424
  const e = t || Ue(JE, de());
1425
1425
  return DD(j(() => e.value || OD));
1426
- }, Bs = "el", RD = "is-", fa = (t, e, r, n, a) => {
1426
+ }, Bs = "el", RD = "is-", va = (t, e, r, n, a) => {
1427
1427
  let i = `${t}-${e}`;
1428
1428
  return r && (i += `-${r}`), n && (i += `__${n}`), a && (i += `--${a}`), i;
1429
1429
  }, QE = Symbol("namespaceContextKey"), rg = (t) => {
@@ -1433,13 +1433,13 @@ const AD = (t) => (e, r) => PD(e, r, P(t)), PD = (t, e, r) => wn(r, t, t).replac
1433
1433
  const r = rg(e);
1434
1434
  return {
1435
1435
  namespace: r,
1436
- b: (p = "") => fa(r.value, t, p, "", ""),
1437
- e: (p) => p ? fa(r.value, t, "", p, "") : "",
1438
- m: (p) => p ? fa(r.value, t, "", "", p) : "",
1439
- be: (p, g) => p && g ? fa(r.value, t, p, g, "") : "",
1440
- em: (p, g) => p && g ? fa(r.value, t, "", p, g) : "",
1441
- bm: (p, g) => p && g ? fa(r.value, t, p, "", g) : "",
1442
- bem: (p, g, y) => p && g && y ? fa(r.value, t, p, g, y) : "",
1436
+ b: (p = "") => va(r.value, t, p, "", ""),
1437
+ e: (p) => p ? va(r.value, t, "", p, "") : "",
1438
+ m: (p) => p ? va(r.value, t, "", "", p) : "",
1439
+ be: (p, g) => p && g ? va(r.value, t, p, g, "") : "",
1440
+ em: (p, g) => p && g ? va(r.value, t, "", p, g) : "",
1441
+ bm: (p, g) => p && g ? va(r.value, t, p, "", g) : "",
1442
+ bem: (p, g, y) => p && g && y ? va(r.value, t, p, g, y) : "",
1443
1443
  is: (p, ...g) => {
1444
1444
  const y = g.length >= 1 ? g[0] : !0;
1445
1445
  return p && y ? `${RD}${p}` : "";
@@ -1576,7 +1576,7 @@ var r2 = { name: "applyStyles", enabled: !0, phase: "write", fn: YD, effect: ZD,
1576
1576
  function an(t) {
1577
1577
  return t.split("-")[0];
1578
1578
  }
1579
- var ka = Math.max, il = Math.min, Ei = Math.round;
1579
+ var _a = Math.max, il = Math.min, Ei = Math.round;
1580
1580
  function Si(t, e) {
1581
1581
  e === void 0 && (e = !1);
1582
1582
  var r = t.getBoundingClientRect(), n = 1, a = 1;
@@ -1608,11 +1608,11 @@ function Sn(t) {
1608
1608
  function XD(t) {
1609
1609
  return ["table", "td", "th"].indexOf(ln(t)) >= 0;
1610
1610
  }
1611
- function oa(t) {
1611
+ function sa(t) {
1612
1612
  return ((xi(t) ? t.ownerDocument : t.document) || window.document).documentElement;
1613
1613
  }
1614
1614
  function Ol(t) {
1615
- return ln(t) === "html" ? t : t.assignedSlot || t.parentNode || (ag(t) ? t.host : null) || oa(t);
1615
+ return ln(t) === "html" ? t : t.assignedSlot || t.parentNode || (ag(t) ? t.host : null) || sa(t);
1616
1616
  }
1617
1617
  function rm(t) {
1618
1618
  return !Dr(t) || Sn(t).position === "fixed" ? null : t.offsetParent;
@@ -1639,7 +1639,7 @@ function og(t) {
1639
1639
  return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
1640
1640
  }
1641
1641
  function mo(t, e, r) {
1642
- return ka(t, il(e, r));
1642
+ return _a(t, il(e, r));
1643
1643
  }
1644
1644
  function QD(t, e, r) {
1645
1645
  var n = mo(t, e, r);
@@ -1685,7 +1685,7 @@ function nm(t) {
1685
1685
  var y = o.hasOwnProperty("x"), m = o.hasOwnProperty("y"), b = gr, w = pr, x = window;
1686
1686
  if (l) {
1687
1687
  var E = jo(r), C = "clientHeight", k = "clientWidth";
1688
- if (E === Xr(r) && (E = oa(r), Sn(E).position !== "static" && s === "absolute" && (C = "scrollHeight", k = "scrollWidth")), E = E, a === pr || (a === gr || a === Lr) && i === _o) {
1688
+ if (E === Xr(r) && (E = sa(r), Sn(E).position !== "static" && s === "absolute" && (C = "scrollHeight", k = "scrollWidth")), E = E, a === pr || (a === gr || a === Lr) && i === _o) {
1689
1689
  w = Rr;
1690
1690
  var S = d && E === x && x.visualViewport ? x.visualViewport.height : E[C];
1691
1691
  p -= S - n.height, p *= u ? 1 : -1;
@@ -1736,15 +1736,15 @@ function sg(t) {
1736
1736
  return { scrollLeft: r, scrollTop: n };
1737
1737
  }
1738
1738
  function lg(t) {
1739
- return Si(oa(t)).left + sg(t).scrollLeft;
1739
+ return Si(sa(t)).left + sg(t).scrollLeft;
1740
1740
  }
1741
1741
  function cR(t) {
1742
- var e = Xr(t), r = oa(t), n = e.visualViewport, a = r.clientWidth, i = r.clientHeight, o = 0, s = 0;
1742
+ var e = Xr(t), r = sa(t), n = e.visualViewport, a = r.clientWidth, i = r.clientHeight, o = 0, s = 0;
1743
1743
  return n && (a = n.width, i = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (o = n.offsetLeft, s = n.offsetTop)), { width: a, height: i, x: o + lg(t), y: s };
1744
1744
  }
1745
1745
  function dR(t) {
1746
- var e, r = oa(t), n = sg(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, i = ka(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), o = ka(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), s = -n.scrollLeft + lg(t), u = -n.scrollTop;
1747
- return Sn(a || r).direction === "rtl" && (s += ka(r.clientWidth, a ? a.clientWidth : 0) - i), { width: i, height: o, x: s, y: u };
1746
+ var e, r = sa(t), n = sg(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, i = _a(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), o = _a(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), s = -n.scrollLeft + lg(t), u = -n.scrollTop;
1747
+ return Sn(a || r).direction === "rtl" && (s += _a(r.clientWidth, a ? a.clientWidth : 0) - i), { width: i, height: o, x: s, y: u };
1748
1748
  }
1749
1749
  function ug(t) {
1750
1750
  var e = Sn(t), r = e.overflow, n = e.overflowX, a = e.overflowY;
@@ -1767,7 +1767,7 @@ function fR(t) {
1767
1767
  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;
1768
1768
  }
1769
1769
  function im(t, e) {
1770
- return e === t2 ? yp(cR(t)) : xi(e) ? fR(e) : yp(dR(oa(t)));
1770
+ return e === t2 ? yp(cR(t)) : xi(e) ? fR(e) : yp(dR(sa(t)));
1771
1771
  }
1772
1772
  function vR(t) {
1773
1773
  var e = bo(Ol(t)), r = ["absolute", "fixed"].indexOf(Sn(t).position) >= 0, n = r && Dr(t) ? jo(t) : t;
@@ -1778,7 +1778,7 @@ function vR(t) {
1778
1778
  function hR(t, e, r) {
1779
1779
  var n = e === "clippingParents" ? vR(t) : [].concat(e), a = [].concat(n, [r]), i = a[0], o = a.reduce(function(s, u) {
1780
1780
  var l = im(t, u);
1781
- return s.top = ka(l.top, s.top), s.right = il(l.right, s.right), s.bottom = il(l.bottom, s.bottom), s.left = ka(l.left, s.left), s;
1781
+ return s.top = _a(l.top, s.top), s.right = il(l.right, s.right), s.bottom = il(l.bottom, s.bottom), s.left = _a(l.left, s.left), s;
1782
1782
  }, im(t, i));
1783
1783
  return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
1784
1784
  }
@@ -1816,7 +1816,7 @@ function c2(t) {
1816
1816
  }
1817
1817
  function To(t, e) {
1818
1818
  e === void 0 && (e = {});
1819
- var r = e, n = r.placement, a = n === void 0 ? t.placement : n, i = r.boundary, o = i === void 0 ? ND : i, s = r.rootBoundary, u = s === void 0 ? t2 : s, l = r.elementContext, c = l === void 0 ? Qi : l, d = r.altBoundary, f = d === void 0 ? !1 : d, h = r.padding, v = h === void 0 ? 0 : h, p = i2(typeof v != "number" ? v : o2(v, Wo)), g = c === Qi ? BD : Qi, y = t.rects.popper, m = t.elements[f ? g : c], b = hR(xi(m) ? m : m.contextElement || oa(t.elements.popper), o, u), w = Si(t.elements.reference), x = c2({ reference: w, element: y, strategy: "absolute", placement: a }), E = yp(Object.assign({}, y, x)), C = c === Qi ? E : w, k = { top: b.top - C.top + p.top, bottom: C.bottom - b.bottom + p.bottom, left: b.left - C.left + p.left, right: C.right - b.right + p.right }, S = t.modifiersData.offset;
1819
+ var r = e, n = r.placement, a = n === void 0 ? t.placement : n, i = r.boundary, o = i === void 0 ? ND : i, s = r.rootBoundary, u = s === void 0 ? t2 : s, l = r.elementContext, c = l === void 0 ? Qi : l, d = r.altBoundary, f = d === void 0 ? !1 : d, h = r.padding, v = h === void 0 ? 0 : h, p = i2(typeof v != "number" ? v : o2(v, Wo)), g = c === Qi ? BD : Qi, y = t.rects.popper, m = t.elements[f ? g : c], b = hR(xi(m) ? m : m.contextElement || sa(t.elements.popper), o, u), w = Si(t.elements.reference), x = c2({ reference: w, element: y, strategy: "absolute", placement: a }), E = yp(Object.assign({}, y, x)), C = c === Qi ? E : w, k = { top: b.top - C.top + p.top, bottom: C.bottom - b.bottom + p.bottom, left: b.left - C.left + p.left, right: C.right - b.right + p.right }, S = t.modifiersData.offset;
1820
1820
  if (c === Qi && S) {
1821
1821
  var _ = S[a];
1822
1822
  Object.keys(k).forEach(function(T) {
@@ -1915,7 +1915,7 @@ function _R(t) {
1915
1915
  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, f = r.tether, h = f === void 0 ? !0 : f, v = r.tetherOffset, p = v === void 0 ? 0 : v, g = To(e, { boundary: u, rootBoundary: l, padding: d, altBoundary: c }), y = an(e.placement), m = ki(e.placement), b = !m, w = og(y), x = kR(w), E = e.modifiersData.popperOffsets, C = e.rects.reference, k = e.rects.popper, S = typeof p == "function" ? p(Object.assign({}, e.rects, { placement: e.placement })) : p, _ = typeof S == "number" ? { mainAxis: S, altAxis: S } : Object.assign({ mainAxis: 0, altAxis: 0 }, S), T = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, O = { x: 0, y: 0 };
1916
1916
  if (E) {
1917
1917
  if (i) {
1918
- var D, A = w === "y" ? pr : gr, F = w === "y" ? Rr : Lr, R = w === "y" ? "height" : "width", M = E[w], L = M + g[A], V = M - g[F], Y = h ? -k[R] / 2 : 0, H = m === Ci ? C[R] : k[R], K = m === Ci ? -k[R] : -C[R], ne = e.elements.arrow, B = h && ne ? ig(ne) : { width: 0, height: 0 }, $ = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : a2(), z = $[A], W = $[F], Z = mo(0, C[R], B[R]), N = b ? C[R] / 2 - Y - Z - z - _.mainAxis : H - Z - z - _.mainAxis, X = b ? -C[R] / 2 + Y + Z + W + _.mainAxis : K + Z + W + _.mainAxis, Q = e.elements.arrow && jo(e.elements.arrow), ge = Q ? w === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, we = (D = T == null ? void 0 : T[w]) != null ? D : 0, fe = M + N - we - ge, ce = M + X - we, be = mo(h ? il(L, fe) : L, M, h ? ka(V, ce) : V);
1918
+ var D, A = w === "y" ? pr : gr, F = w === "y" ? Rr : Lr, R = w === "y" ? "height" : "width", M = E[w], L = M + g[A], V = M - g[F], Y = h ? -k[R] / 2 : 0, H = m === Ci ? C[R] : k[R], K = m === Ci ? -k[R] : -C[R], ne = e.elements.arrow, B = h && ne ? ig(ne) : { width: 0, height: 0 }, $ = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : a2(), z = $[A], W = $[F], Z = mo(0, C[R], B[R]), N = b ? C[R] / 2 - Y - Z - z - _.mainAxis : H - Z - z - _.mainAxis, X = b ? -C[R] / 2 + Y + Z + W + _.mainAxis : K + Z + W + _.mainAxis, Q = e.elements.arrow && jo(e.elements.arrow), ge = Q ? w === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, we = (D = T == null ? void 0 : T[w]) != null ? D : 0, fe = M + N - we - ge, ce = M + X - we, be = mo(h ? il(L, fe) : L, M, h ? _a(V, ce) : V);
1919
1919
  E[w] = be, O[w] = be - M;
1920
1920
  }
1921
1921
  if (s) {
@@ -1938,7 +1938,7 @@ function AR(t) {
1938
1938
  }
1939
1939
  function PR(t, e, r) {
1940
1940
  r === void 0 && (r = !1);
1941
- var n = Dr(e), a = Dr(e) && AR(e), i = oa(e), o = Si(t, a), s = { scrollLeft: 0, scrollTop: 0 }, u = { x: 0, y: 0 };
1941
+ var n = Dr(e), a = Dr(e) && AR(e), i = sa(e), o = Si(t, a), s = { scrollLeft: 0, scrollTop: 0 }, u = { x: 0, y: 0 };
1942
1942
  return (n || !n && !r) && ((ln(e) !== "body" || ug(i)) && (s = OR(e)), Dr(e) ? (u = Si(e, !0), u.x += e.clientLeft, u.y += e.clientTop) : i && (u.x = lg(i))), { x: o.left + s.scrollLeft - u.x, y: o.top + s.scrollTop - u.y, width: o.width, height: o.height };
1943
1943
  }
1944
1944
  function DR(t) {
@@ -2311,7 +2311,7 @@ function dg(t, {
2311
2311
  return Re(s, (f) => {
2312
2312
  f && f.setAttribute("tabindex", "-1");
2313
2313
  }), Ar(s, "focus", l, !0), Ar(s, "blur", c, !0), Ar(s, "click", d, !0), process.env.NODE_ENV === "test" && St(() => {
2314
- const f = Ea(t.value) ? t.value : document.querySelector("input,textarea");
2314
+ const f = Sa(t.value) ? t.value : document.querySelector("input,textarea");
2315
2315
  f && (Ar(f, "focus", l, !0), Ar(f, "blur", c, !0));
2316
2316
  }), {
2317
2317
  isFocused: u,
@@ -2365,7 +2365,7 @@ const w2 = Symbol("emptyValuesContextKey"), XR = "use-empty-values", JR = ["", v
2365
2365
  values: ["horizontal", "vertical", "undefined"]
2366
2366
  },
2367
2367
  ariaControls: String
2368
- }), sa = (t) => UE(rL, t), C2 = Symbol(), ol = de();
2368
+ }), la = (t) => UE(rL, t), C2 = Symbol(), ol = de();
2369
2369
  function fg(t, e = void 0) {
2370
2370
  const r = mt() ? Ue(C2, ol) : ol;
2371
2371
  return t ? j(() => {
@@ -2453,7 +2453,7 @@ const oL = rt({
2453
2453
  }
2454
2454
  });
2455
2455
  var uL = /* @__PURE__ */ Ke(lL, [["__file", "icon.vue"]]);
2456
- const Ft = Vt(uL), vg = Symbol("formContextKey"), Io = Symbol("formItemContextKey"), Oa = (t, e = {}) => {
2456
+ const Ft = Vt(uL), vg = Symbol("formContextKey"), Io = Symbol("formItemContextKey"), Aa = (t, e = {}) => {
2457
2457
  const r = de(void 0), n = e.prop ? r : e2("size"), a = e.global ? r : ZR(), i = e.form ? { size: void 0 } : Ue(vg, void 0), o = e.formItem ? { size: void 0 } : Ue(Io, void 0);
2458
2458
  return j(() => n.value || P(t) || (o == null ? void 0 : o.size) || (i == null ? void 0 : i.size) || a.value || "");
2459
2459
  }, Yo = (t) => {
@@ -2618,7 +2618,7 @@ const vL = rt({
2618
2618
  type: Number,
2619
2619
  default: 2
2620
2620
  },
2621
- ...sa(["ariaLabel"])
2621
+ ...la(["ariaLabel"])
2622
2622
  }), hL = {
2623
2623
  [Kt]: (t) => nr(t),
2624
2624
  input: (t) => nr(t),
@@ -2663,7 +2663,7 @@ const vL = rt({
2663
2663
  excludeKeys: j(() => Object.keys(o.value))
2664
2664
  }), { form: c, formItem: d } = Va(), { inputId: f } = Zo(n, {
2665
2665
  formItemContext: d
2666
- }), h = Oa(), v = Yo(), p = Ge("input"), g = Ge("textarea"), y = xn(), m = xn(), b = de(!1), w = de(!1), x = de(), E = xn(n.inputStyle), C = j(() => y.value || m.value), { wrapperRef: k, isFocused: S, handleFocus: _, handleBlur: T } = dg(C, {
2666
+ }), h = Aa(), v = Yo(), p = Ge("input"), g = Ge("textarea"), y = xn(), m = xn(), b = de(!1), w = de(!1), x = de(), E = xn(n.inputStyle), C = j(() => y.value || m.value), { wrapperRef: k, isFocused: S, handleFocus: _, handleBlur: T } = dg(C, {
2667
2667
  beforeFocus() {
2668
2668
  return v.value;
2669
2669
  },
@@ -3156,7 +3156,7 @@ const _L = rt({
3156
3156
  },
3157
3157
  id: String,
3158
3158
  role: String,
3159
- ...sa(["ariaLabel", "ariaOrientation"])
3159
+ ...la(["ariaLabel", "ariaOrientation"])
3160
3160
  }), TL = {
3161
3161
  scroll: ({
3162
3162
  scrollTop: t,
@@ -3436,7 +3436,7 @@ const _2 = rt({
3436
3436
  }, {
3437
3437
  immediate: !0
3438
3438
  }), Re(a, (d, f) => {
3439
- l == null || l(), l = void 0, Ea(d) && (c.forEach((h) => {
3439
+ l == null || l(), l = void 0, Sa(d) && (c.forEach((h) => {
3440
3440
  var v;
3441
3441
  const p = r[h];
3442
3442
  p && (d.addEventListener(h.slice(2).toLowerCase(), p), (v = f == null ? void 0 : f.removeEventListener) == null || v.call(f, h.slice(2).toLowerCase(), p));
@@ -3449,7 +3449,7 @@ const _2 = rt({
3449
3449
  ].forEach((v, p) => {
3450
3450
  Yn(h[p]) ? d.removeAttribute(v) : d.setAttribute(v, h[p]);
3451
3451
  });
3452
- }, { immediate: !0 })), Ea(f) && [
3452
+ }, { immediate: !0 })), Sa(f) && [
3453
3453
  "aria-controls",
3454
3454
  "aria-describedby",
3455
3455
  "aria-haspopup",
@@ -3459,7 +3459,7 @@ const _2 = rt({
3459
3459
  immediate: !0
3460
3460
  });
3461
3461
  }), Zr(() => {
3462
- if (l == null || l(), l = void 0, a.value && Ea(a.value)) {
3462
+ if (l == null || l(), l = void 0, a.value && Sa(a.value)) {
3463
3463
  const d = a.value;
3464
3464
  c.forEach((f) => {
3465
3465
  const h = r[f];
@@ -3776,7 +3776,7 @@ const rF = ["fixed", "absolute"], nF = rt({
3776
3776
  },
3777
3777
  virtualTriggering: Boolean,
3778
3778
  zIndex: Number,
3779
- ...sa(["ariaLabel"])
3779
+ ...la(["ariaLabel"])
3780
3780
  }), aF = {
3781
3781
  mouseenter: (t) => t instanceof MouseEvent,
3782
3782
  mouseleave: (t) => t instanceof MouseEvent,
@@ -3969,11 +3969,11 @@ const uF = 0, cF = (t) => {
3969
3969
  Re(() => n.triggerTargetEl, (D, A) => {
3970
3970
  _ == null || _(), _ = void 0;
3971
3971
  const F = P(D || h.value), R = P(A || h.value);
3972
- Ea(F) && (_ = Re([g, () => n.ariaLabel, m, () => n.id], (M) => {
3972
+ Sa(F) && (_ = Re([g, () => n.ariaLabel, m, () => n.id], (M) => {
3973
3973
  ["role", "aria-label", "aria-modal", "id"].forEach((L, V) => {
3974
3974
  Yn(M[V]) ? F.removeAttribute(L) : F.setAttribute(L, M[V]);
3975
3975
  });
3976
- }, { immediate: !0 })), R !== F && Ea(R) && ["role", "aria-label", "aria-modal", "id"].forEach((M) => {
3976
+ }, { immediate: !0 })), R !== F && Sa(R) && ["role", "aria-label", "aria-modal", "id"].forEach((M) => {
3977
3977
  R.removeAttribute(M);
3978
3978
  });
3979
3979
  }, { immediate: !0 }), Re(() => n.visible, O, { immediate: !0 });
@@ -4036,7 +4036,7 @@ const gF = Vt(FL), mg = Symbol("elTooltip"), fr = rt({
4036
4036
  default: !0
4037
4037
  },
4038
4038
  disabled: Boolean,
4039
- ...sa(["ariaLabel"])
4039
+ ...la(["ariaLabel"])
4040
4040
  }), Oo = rt({
4041
4041
  ..._2,
4042
4042
  disabled: Boolean,
@@ -4394,7 +4394,7 @@ const Jo = Vt(FF), O2 = Symbol("buttonGroupContextKey"), MF = (t, e) => {
4394
4394
  scope: "props",
4395
4395
  ref: "https://element-plus.org/en-US/component/button.html#button-attributes"
4396
4396
  }, j(() => t.type === "text"));
4397
- const r = Ue(O2, void 0), n = fg("button"), { form: a } = Va(), i = Oa(j(() => r == null ? void 0 : r.size)), o = Yo(), s = de(), u = Ho(), l = j(() => t.type || (r == null ? void 0 : r.type) || ""), c = j(() => {
4397
+ const r = Ue(O2, void 0), n = fg("button"), { form: a } = Va(), i = Aa(j(() => r == null ? void 0 : r.size)), o = Yo(), s = de(), u = Ho(), l = j(() => t.type || (r == null ? void 0 : r.type) || ""), c = j(() => {
4398
4398
  var v, p, g;
4399
4399
  return (g = (p = t.autoInsertSpace) != null ? p : (v = n.value) == null ? void 0 : v.autoInsertSpace) != null ? g : !1;
4400
4400
  }), d = j(() => t.tag === "button" ? {
@@ -4499,7 +4499,7 @@ function A2(t) {
4499
4499
  function xs(t) {
4500
4500
  return t <= 1 ? "".concat(Number(t) * 100, "%") : t;
4501
4501
  }
4502
- function Ca(t) {
4502
+ function xa(t) {
4503
4503
  return t.length === 1 ? "0" + t : String(t);
4504
4504
  }
4505
4505
  function VF(t, e, r) {
@@ -4572,18 +4572,18 @@ function KF(t, e, r) {
4572
4572
  }
4573
4573
  function Im(t, e, r, n) {
4574
4574
  var a = [
4575
- Ca(Math.round(t).toString(16)),
4576
- Ca(Math.round(e).toString(16)),
4577
- Ca(Math.round(r).toString(16))
4575
+ xa(Math.round(t).toString(16)),
4576
+ xa(Math.round(e).toString(16)),
4577
+ xa(Math.round(r).toString(16))
4578
4578
  ];
4579
4579
  return n && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
4580
4580
  }
4581
4581
  function GF(t, e, r, n, a) {
4582
4582
  var i = [
4583
- Ca(Math.round(t).toString(16)),
4584
- Ca(Math.round(e).toString(16)),
4585
- Ca(Math.round(r).toString(16)),
4586
- Ca(UF(n))
4583
+ xa(Math.round(t).toString(16)),
4584
+ xa(Math.round(e).toString(16)),
4585
+ xa(Math.round(r).toString(16)),
4586
+ xa(UF(n))
4587
4587
  ];
4588
4588
  return a && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) && i[3].startsWith(i[3].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
4589
4589
  }
@@ -5140,7 +5140,7 @@ if (It) {
5140
5140
  }
5141
5141
  function Am(t, e) {
5142
5142
  let r = [];
5143
- return Array.isArray(e.arg) ? r = e.arg : Ea(e.arg) && r.push(e.arg), function(n, a) {
5143
+ return Array.isArray(e.arg) ? r = e.arg : Sa(e.arg) && r.push(e.arg), function(n, a) {
5144
5144
  const i = e.instance.popperRef, o = n.target, s = a == null ? void 0 : a.target, u = !e || !e.instance, l = !o || !s, c = t.contains(o) || t.contains(s), d = t === o, f = r.length && r.some((v) => v == null ? void 0 : v.contains(o)) || r.length && r.includes(s), h = i && (i.contains(o) || i.contains(s));
5145
5145
  u || l || c || d || f || h || e.value(n, a);
5146
5146
  };
@@ -5265,7 +5265,7 @@ const dM = Vt(cM), R2 = {
5265
5265
  type: Boolean,
5266
5266
  default: !0
5267
5267
  },
5268
- ...sa(["ariaControls"])
5268
+ ...la(["ariaControls"])
5269
5269
  }, L2 = {
5270
5270
  [Kt]: (t) => nr(t) || Ut(t) || bi(t),
5271
5271
  change: (t) => nr(t) || Ut(t) || bi(t)
@@ -5333,12 +5333,12 @@ const dM = Vt(cM), R2 = {
5333
5333
  const n = Ue(Ri, void 0), a = de(!1), i = j(() => al(t.value) ? t.label : t.value), o = j(() => {
5334
5334
  const c = r.value;
5335
5335
  return bi(c) ? c : hr(c) ? Gt(i.value) ? c.map(Js).some((d) => nl(d, i.value)) : c.map(Js).includes(i.value) : c != null ? c === t.trueValue || c === t.trueLabel : !!c;
5336
- }), s = Oa(j(() => {
5336
+ }), s = Aa(j(() => {
5337
5337
  var c;
5338
5338
  return (c = n == null ? void 0 : n.size) == null ? void 0 : c.value;
5339
5339
  }), {
5340
5340
  prop: !0
5341
- }), u = Oa(j(() => {
5341
+ }), u = Aa(j(() => {
5342
5342
  var c;
5343
5343
  return (c = n == null ? void 0 : n.size) == null ? void 0 : c.value;
5344
5344
  })), l = j(() => !!e.default || !al(i.value));
@@ -5611,7 +5611,7 @@ const CM = rt({
5611
5611
  type: Boolean,
5612
5612
  default: !0
5613
5613
  },
5614
- ...sa(["ariaLabel"])
5614
+ ...la(["ariaLabel"])
5615
5615
  }), xM = {
5616
5616
  [Kt]: (t) => hr(t),
5617
5617
  change: (t) => hr(t)
@@ -5702,7 +5702,7 @@ const xp = rt({
5702
5702
  props: xp,
5703
5703
  emits: _M,
5704
5704
  setup(t, { emit: e }) {
5705
- const r = t, n = Oa(), a = Ge("tag"), i = j(() => {
5705
+ const r = t, n = Aa(), a = Ge("tag"), i = j(() => {
5706
5706
  const { type: l, hit: c, effect: d, closable: f, round: h } = r;
5707
5707
  return [
5708
5708
  a.b(),
@@ -6238,7 +6238,7 @@ const tN = rt({
6238
6238
  type: Boolean,
6239
6239
  default: !0
6240
6240
  },
6241
- ...sa(["ariaLabel"])
6241
+ ...la(["ariaLabel"])
6242
6242
  }), rN = {
6243
6243
  [Kt]: (t) => nr(t) || Yn(t),
6244
6244
  [tg]: (t) => nr(t) || Yn(t),
@@ -6279,7 +6279,7 @@ const tN = rt({
6279
6279
  D: 13,
6280
6280
  E: 14,
6281
6281
  F: 15
6282
- }, va = function(t) {
6282
+ }, ha = function(t) {
6283
6283
  return t.length === 2 ? (Iu[t[0].toUpperCase()] || +t[0]) * 16 + (Iu[t[1].toUpperCase()] || +t[1]) : Iu[t[1].toUpperCase()] || +t[1];
6284
6284
  }, iN = function(t, e, r) {
6285
6285
  e = e / 100, r = r / 100;
@@ -6330,13 +6330,13 @@ class wo {
6330
6330
  constructor(e = {}) {
6331
6331
  this._hue = 0, this._saturation = 100, this._value = 100, this._alpha = 100, this.enableAlpha = !1, this.format = "hex", this.value = "";
6332
6332
  for (const r in e)
6333
- Ta(e, r) && (this[r] = e[r]);
6333
+ Ia(e, r) && (this[r] = e[r]);
6334
6334
  e.value ? this.fromString(e.value) : this.doOnChange();
6335
6335
  }
6336
6336
  set(e, r) {
6337
6337
  if (arguments.length === 1 && typeof e == "object") {
6338
6338
  for (const n in e)
6339
- Ta(e, n) && this.set(n, e[n]);
6339
+ Ia(e, n) && this.set(n, e[n]);
6340
6340
  return;
6341
6341
  }
6342
6342
  this[`_${e}`] = r, this.doOnChange();
@@ -6375,7 +6375,7 @@ class wo {
6375
6375
  if (!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(n))
6376
6376
  return;
6377
6377
  let a, i, o;
6378
- n.length === 3 ? (a = va(n[0] + n[0]), i = va(n[1] + n[1]), o = va(n[2] + n[2])) : (n.length === 6 || n.length === 8) && (a = va(n.slice(0, 2)), i = va(n.slice(2, 4)), o = va(n.slice(4, 6))), n.length === 8 ? this._alpha = va(n.slice(6)) / 255 * 100 : (n.length === 3 || n.length === 6) && (this._alpha = 100);
6378
+ n.length === 3 ? (a = ha(n[0] + n[0]), i = ha(n[1] + n[1]), o = ha(n[2] + n[2])) : (n.length === 6 || n.length === 8) && (a = ha(n.slice(0, 2)), i = ha(n.slice(2, 4)), o = ha(n.slice(4, 6))), n.length === 8 ? this._alpha = ha(n.slice(6)) / 255 * 100 : (n.length === 3 || n.length === 6) && (this._alpha = 100);
6379
6379
  const { h: s, s: u, v: l } = Lm(a, i, o);
6380
6380
  r(s, u, l);
6381
6381
  }
@@ -6570,7 +6570,7 @@ const fN = Se({
6570
6570
  props: tN,
6571
6571
  emits: rN,
6572
6572
  setup(t, { expose: e, emit: r }) {
6573
- const n = t, { t: a } = Uo(), i = Ge("color"), { formItem: o } = Va(), s = Oa(), u = Yo(), { inputId: l, isLabeledByFormItem: c } = Zo(n, {
6573
+ const n = t, { t: a } = Uo(), i = Ge("color"), { formItem: o } = Va(), s = Aa(), u = Yo(), { inputId: l, isLabeledByFormItem: c } = Zo(n, {
6574
6574
  formItemContext: o
6575
6575
  }), d = de(), f = de(), h = de(), v = de(), p = de(), g = de(), { isFocused: y, handleFocus: m, handleBlur: b } = dg(p, {
6576
6576
  beforeFocus() {
@@ -6703,7 +6703,7 @@ const fN = Se({
6703
6703
  }, {
6704
6704
  content: U(() => [
6705
6705
  Ye((q(), ie("div", {
6706
- onKeydown: ma($, ["esc"])
6706
+ onKeydown: ba($, ["esc"])
6707
6707
  }, [
6708
6708
  ae("div", {
6709
6709
  class: le(P(i).be("dropdown", "main-wrapper"))
@@ -6747,7 +6747,7 @@ const fN = Se({
6747
6747
  "onUpdate:modelValue": (Q) => k.value = Q,
6748
6748
  "validate-event": !1,
6749
6749
  size: "small",
6750
- onKeyup: ma(H, ["enter"]),
6750
+ onKeyup: ba(H, ["enter"]),
6751
6751
  onBlur: H
6752
6752
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onKeyup"])
6753
6753
  ], 2),
@@ -7298,7 +7298,7 @@ const zN = 11, VN = (t, e) => {
7298
7298
  var Ee;
7299
7299
  (Ee = re.updateOption) == null || Ee.call(re, o.inputValue);
7300
7300
  });
7301
- }, X = Oa(), Q = j(() => ["small"].includes(X.value) ? "small" : "default"), ge = j({
7301
+ }, X = Aa(), Q = j(() => ["small"].includes(X.value) ? "small" : "default"), ge = j({
7302
7302
  get() {
7303
7303
  return S.value && B.value !== !1;
7304
7304
  },
@@ -7685,7 +7685,7 @@ const KN = rt({
7685
7685
  },
7686
7686
  appendTo: String,
7687
7687
  ...eL,
7688
- ...sa(["ariaLabel"])
7688
+ ...la(["ariaLabel"])
7689
7689
  }), Fm = "ElSelect", GN = Se({
7690
7690
  name: Fm,
7691
7691
  componentName: Fm,
@@ -7913,11 +7913,11 @@ function UN(t, e, r, n, a, i) {
7913
7913
  "aria-autocomplete": "none",
7914
7914
  "aria-haspopup": "listbox",
7915
7915
  onKeydown: [
7916
- ma(pt((p) => t.navigateOptions("next"), ["stop", "prevent"]), ["down"]),
7917
- ma(pt((p) => t.navigateOptions("prev"), ["stop", "prevent"]), ["up"]),
7918
- ma(pt(t.handleEsc, ["stop", "prevent"]), ["esc"]),
7919
- ma(pt(t.selectOption, ["stop", "prevent"]), ["enter"]),
7920
- ma(pt(t.deletePrevTag, ["stop"]), ["delete"])
7916
+ ba(pt((p) => t.navigateOptions("next"), ["stop", "prevent"]), ["down"]),
7917
+ ba(pt((p) => t.navigateOptions("prev"), ["stop", "prevent"]), ["up"]),
7918
+ ba(pt(t.handleEsc, ["stop", "prevent"]), ["esc"]),
7919
+ ba(pt(t.selectOption, ["stop", "prevent"]), ["enter"]),
7920
+ ba(pt(t.deletePrevTag, ["stop"]), ["delete"])
7921
7921
  ],
7922
7922
  onCompositionstart: t.handleCompositionStart,
7923
7923
  onCompositionupdate: t.handleCompositionUpdate,
@@ -8316,11 +8316,11 @@ const i5 = "popover", o5 = SD(a5, i5), Li = Vt(n5, {
8316
8316
  }
8317
8317
  };
8318
8318
  let s5 = 0;
8319
- class _a {
8319
+ class Ta {
8320
8320
  constructor(e) {
8321
8321
  this.id = s5++, this.text = null, this.checked = !1, this.indeterminate = !1, this.data = null, this.expanded = !1, this.parent = null, this.visible = !0, this.isCurrent = !1, this.canFocus = !1;
8322
8322
  for (const r in e)
8323
- Ta(e, r) && (this[r] = e[r]);
8323
+ Ia(e, r) && (this[r] = e[r]);
8324
8324
  this.level = 0, this.loaded = !1, this.childNodes = [], this.loading = !1, this.parent && (this.level = this.parent.level + 1);
8325
8325
  }
8326
8326
  initialize() {
@@ -8383,7 +8383,7 @@ class _a {
8383
8383
  insertChild(e, r, n) {
8384
8384
  if (!e)
8385
8385
  throw new Error("InsertChild error: child is required.");
8386
- if (!(e instanceof _a)) {
8386
+ if (!(e instanceof Ta)) {
8387
8387
  if (!n) {
8388
8388
  const a = this.getChildren(!0);
8389
8389
  a.includes(e.data) || (typeof r > "u" || r < 0 ? a.push(e.data) : a.splice(r, 0, e.data));
@@ -8391,7 +8391,7 @@ class _a {
8391
8391
  Object.assign(e, {
8392
8392
  parent: this,
8393
8393
  store: this.store
8394
- }), e = on(new _a(e)), e instanceof _a && e.initialize();
8394
+ }), e = on(new Ta(e)), e instanceof Ta && e.initialize();
8395
8395
  }
8396
8396
  e.level = this.level + 1, typeof r > "u" || r < 0 ? this.childNodes.push(e) : this.childNodes.splice(r, 0, e), this.updateLeafState();
8397
8397
  }
@@ -8538,11 +8538,11 @@ class l5 {
8538
8538
  constructor(e) {
8539
8539
  this.currentNode = null, this.currentNodeKey = null;
8540
8540
  for (const r in e)
8541
- Ta(e, r) && (this[r] = e[r]);
8541
+ Ia(e, r) && (this[r] = e[r]);
8542
8542
  this.nodesMap = {};
8543
8543
  }
8544
8544
  initialize() {
8545
- if (this.root = new _a({
8545
+ if (this.root = new Ta({
8546
8546
  data: this.data,
8547
8547
  store: this
8548
8548
  }), this.root.initialize(), this.lazy && this.load) {
@@ -8570,7 +8570,7 @@ class l5 {
8570
8570
  e !== this.root.data ? (this.nodesMap = {}, this.root.setData(e), this._initDefaultCheckedNodes()) : this.root.updateChildren();
8571
8571
  }
8572
8572
  getNode(e) {
8573
- if (e instanceof _a)
8573
+ if (e instanceof Ta)
8574
8574
  return e;
8575
8575
  const r = Gt(e) ? xg(this.key, e) : e;
8576
8576
  return this.nodesMap[r] || null;
@@ -8638,7 +8638,7 @@ class l5 {
8638
8638
  _getAllNodes() {
8639
8639
  const e = [], r = this.nodesMap;
8640
8640
  for (const n in r)
8641
- Ta(r, n) && e.push(r[n]);
8641
+ Ia(r, n) && e.push(r[n]);
8642
8642
  return e;
8643
8643
  }
8644
8644
  updateChildren(e, r) {
@@ -8741,8 +8741,8 @@ const u5 = Se({
8741
8741
  const e = Ge("tree"), r = Ue("NodeInstance"), n = Ue("RootTree");
8742
8742
  return () => {
8743
8743
  const a = t.node, { data: i, store: o } = a;
8744
- return t.renderContent ? t.renderContent(ba, { _self: r, node: a, data: i, store: o }) : Fe(n.ctx.slots, "default", { node: a, data: i }, () => [
8745
- ba("span", { class: e.be("node", "label") }, [a.label])
8744
+ return t.renderContent ? t.renderContent(wa, { _self: r, node: a, data: i, store: o }) : Fe(n.ctx.slots, "default", { node: a, data: i }, () => [
8745
+ wa("span", { class: e.be("node", "label") }, [a.label])
8746
8746
  ]);
8747
8747
  };
8748
8748
  }
@@ -8785,7 +8785,7 @@ function d5({ props: t, ctx: e, el$: r, dropIndicator$: n, store: a }) {
8785
8785
  },
8786
8786
  treeNodeDragOver: ({ event: c, treeNode: d }) => {
8787
8787
  const f = d, h = o.value.dropNode;
8788
- h && h.node.id !== f.node.id && Sa(h.$el, i.is("drop-inner"));
8788
+ h && h.node.id !== f.node.id && ka(h.$el, i.is("drop-inner"));
8789
8789
  const v = o.value.draggingNode;
8790
8790
  if (!v || !f)
8791
8791
  return;
@@ -8798,7 +8798,7 @@ function d5({ props: t, ctx: e, el$: r, dropIndicator$: n, store: a }) {
8798
8798
  const S = c.clientY - b.top;
8799
8799
  S < b.height * E ? x = "before" : S > b.height * C ? x = "after" : g ? x = "inner" : x = "none";
8800
8800
  const _ = f.$el.querySelector(`.${i.be("node", "expand-icon")}`).getBoundingClientRect(), T = n.value;
8801
- x === "before" ? k = _.top - w.top : x === "after" && (k = _.bottom - w.top), T.style.top = `${k}px`, T.style.left = `${_.right - w.left}px`, x === "inner" ? gp(f.$el, i.is("drop-inner")) : Sa(f.$el, i.is("drop-inner")), o.value.showDropIndicator = x === "before" || x === "after", o.value.allowDrop = o.value.showDropIndicator || m, o.value.dropType = x, e.emit("node-drag-over", v.node, f.node, c);
8801
+ x === "before" ? k = _.top - w.top : x === "after" && (k = _.bottom - w.top), T.style.top = `${k}px`, T.style.left = `${_.right - w.left}px`, x === "inner" ? gp(f.$el, i.is("drop-inner")) : ka(f.$el, i.is("drop-inner")), o.value.showDropIndicator = x === "before" || x === "after", o.value.allowDrop = o.value.showDropIndicator || m, o.value.dropType = x, e.emit("node-drag-over", v.node, f.node, c);
8802
8802
  },
8803
8803
  treeNodeDragEnd: (c) => {
8804
8804
  const { draggingNode: d, dropType: f, dropNode: h } = o.value;
@@ -8807,7 +8807,7 @@ function d5({ props: t, ctx: e, el$: r, dropIndicator$: n, store: a }) {
8807
8807
  f !== "none" && d.node.remove(), f === "before" ? h.node.parent.insertBefore(v, h.node) : f === "after" ? h.node.parent.insertAfter(v, h.node) : f === "inner" && h.node.insertChild(v), f !== "none" && (a.value.registerNode(v), a.value.key && d.node.eachNode((p) => {
8808
8808
  var g;
8809
8809
  (g = a.value.nodesMap[p.data[a.value.key]]) == null || g.setChecked(p.checked, !a.value.checkStrictly);
8810
- })), Sa(h.$el, i.is("drop-inner")), e.emit("node-drag-end", d.node, h.node, f, c), f !== "none" && e.emit("node-drop", d.node, h.node, f, c);
8810
+ })), ka(h.$el, i.is("drop-inner")), e.emit("node-drag-end", d.node, h.node, f, c), f !== "none" && e.emit("node-drop", d.node, h.node, f, c);
8811
8811
  }
8812
8812
  d && !h && e.emit("node-drag-end", d.node, null, f, c), o.value.showDropIndicator = !1, o.value.draggingNode = null, o.value.dropNode = null, o.value.allowDrop = !0;
8813
8813
  }
@@ -8826,7 +8826,7 @@ const f5 = Se({
8826
8826
  },
8827
8827
  props: {
8828
8828
  node: {
8829
- type: _a,
8829
+ type: Ta,
8830
8830
  default: () => ({})
8831
8831
  },
8832
8832
  props: {
@@ -9371,7 +9371,7 @@ function w5(t) {
9371
9371
  const f = n.parent, h = d.ns;
9372
9372
  if (!f.vLoadingAddClassList) {
9373
9373
  let v = f.getAttribute("loading-number");
9374
- v = Number.parseInt(v) - 1, v ? f.setAttribute("loading-number", v.toString()) : (Sa(f, h.bm("parent", "relative")), f.removeAttribute("loading-number")), Sa(f, h.bm("parent", "hidden"));
9374
+ v = Number.parseInt(v) - 1, v ? f.setAttribute("loading-number", v.toString()) : (ka(f, h.bm("parent", "relative")), f.removeAttribute("loading-number")), ka(f, h.bm("parent", "hidden"));
9375
9375
  }
9376
9376
  o(), c.unmount();
9377
9377
  }
@@ -9397,20 +9397,20 @@ function w5(t) {
9397
9397
  ns: v,
9398
9398
  zIndex: p
9399
9399
  }), () => {
9400
- const g = n.spinner || n.svg, y = ba("svg", {
9400
+ const g = n.spinner || n.svg, y = wa("svg", {
9401
9401
  class: "circular",
9402
9402
  viewBox: n.svgViewBox ? n.svgViewBox : "0 0 50 50",
9403
9403
  ...g ? { innerHTML: g } : {}
9404
9404
  }, [
9405
- ba("circle", {
9405
+ wa("circle", {
9406
9406
  class: "path",
9407
9407
  cx: "25",
9408
9408
  cy: "25",
9409
9409
  r: "20",
9410
9410
  fill: "none"
9411
9411
  })
9412
- ]), m = n.text ? ba("p", { class: v.b("text") }, [n.text]) : void 0;
9413
- return ba(Ai, {
9412
+ ]), m = n.text ? wa("p", { class: v.b("text") }, [n.text]) : void 0;
9413
+ return wa(Ai, {
9414
9414
  name: v.b("fade"),
9415
9415
  onAfterLeave: u
9416
9416
  }, {
@@ -9425,7 +9425,7 @@ function w5(t) {
9425
9425
  n.fullscreen ? "is-fullscreen" : ""
9426
9426
  ]
9427
9427
  }, [
9428
- ba("div", {
9428
+ wa("div", {
9429
9429
  class: v.b("spinner")
9430
9430
  }, [y, m])
9431
9431
  ]), [[dt, n.visible]])
@@ -9499,7 +9499,7 @@ const C5 = function(t = {}) {
9499
9499
  r.$el.style[i] = o;
9500
9500
  }, Bm = (t, e, r) => {
9501
9501
  const n = r.vm.ns || r.vm._.exposed.ns;
9502
- ["absolute", "fixed", "sticky"].includes(r.originalPosition.value) ? Sa(e, n.bm("parent", "relative")) : gp(e, n.bm("parent", "relative")), t.fullscreen && t.lock ? gp(e, n.bm("parent", "hidden")) : Sa(e, n.bm("parent", "hidden"));
9502
+ ["absolute", "fixed", "sticky"].includes(r.originalPosition.value) ? ka(e, n.bm("parent", "relative")) : gp(e, n.bm("parent", "relative")), t.fullscreen && t.lock ? gp(e, n.bm("parent", "hidden")) : ka(e, n.bm("parent", "hidden"));
9503
9503
  }, zs = Symbol("ElLoading"), $m = (t, e) => {
9504
9504
  var r, n, a, i;
9505
9505
  const o = e.instance, s = (f) => Gt(e.value) ? e.value[f] : void 0, u = (f) => {
@@ -10856,7 +10856,7 @@ function _B(t) {
10856
10856
  var e = typeof t;
10857
10857
  return t != null && (e == "object" || e == "function");
10858
10858
  }
10859
- var Aa = _B, lo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10859
+ var Pa = _B, lo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10860
10860
  function TB(t, e) {
10861
10861
  return e = { exports: {} }, t(e, e.exports), e.exports;
10862
10862
  }
@@ -10905,9 +10905,9 @@ function i$(t) {
10905
10905
  return t;
10906
10906
  if (ns(t))
10907
10907
  return Km;
10908
- if (Aa(t)) {
10908
+ if (Pa(t)) {
10909
10909
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
10910
- t = Aa(e) ? e + "" : e;
10910
+ t = Pa(e) ? e + "" : e;
10911
10911
  }
10912
10912
  if (typeof t != "string")
10913
10913
  return t === 0 ? t : +t;
@@ -10920,7 +10920,7 @@ function u$(t, e, r) {
10920
10920
  var n, a, i, o, s, u, l = 0, c = !1, d = !1, f = !0;
10921
10921
  if (typeof t != "function")
10922
10922
  throw new TypeError(o$);
10923
- e = Gm(e) || 0, Aa(r) && (c = !!r.leading, d = "maxWait" in r, i = d ? s$(Gm(r.maxWait) || 0, e) : i, f = "trailing" in r ? !!r.trailing : f);
10923
+ e = Gm(e) || 0, Pa(r) && (c = !!r.leading, d = "maxWait" in r, i = d ? s$(Gm(r.maxWait) || 0, e) : i, f = "trailing" in r ? !!r.trailing : f);
10924
10924
  function h(E) {
10925
10925
  var C = n, k = a;
10926
10926
  return n = a = void 0, l = E, o = t.apply(k, C), o;
@@ -11019,7 +11019,7 @@ var Fl = u$, Pu = Dt ? Dt.performance : null, sS = Pu && Pu.now ? function() {
11019
11019
  }
11020
11020
  };
11021
11021
  return uS(o, r);
11022
- }, Pa = function(e, r) {
11022
+ }, Da = function(e, r) {
11023
11023
  var n = {
11024
11024
  value: 0,
11025
11025
  done: !1
@@ -11034,7 +11034,7 @@ var Fl = u$, Pu = Dt ? Dt.performance : null, sS = Pu && Pu.now ? function() {
11034
11034
  }, v$ = function(e) {
11035
11035
  for (var r, n = 0; n < e.length; n++) {
11036
11036
  var a = e[n];
11037
- n === 0 ? r = Pa(a) : r = Pa(a, r);
11037
+ n === 0 ? r = Da(a) : r = Da(a, r);
11038
11038
  }
11039
11039
  return r;
11040
11040
  }, Um = !0, h$ = console.warn != null, p$ = console.trace != null, Og = Number.MAX_SAFE_INTEGER || 9007199254740991, dS = function() {
@@ -11877,9 +11877,9 @@ var E$ = TB(function(t, e) {
11877
11877
  return Math.log(t) / Math.log(2);
11878
11878
  }, gS = function(e) {
11879
11879
  return e > 0 ? 1 : e < 0 ? -1 : 0;
11880
- }, Da = function(e, r) {
11881
- return Math.sqrt(pa(e, r));
11882
- }, pa = function(e, r) {
11880
+ }, Ra = function(e, r) {
11881
+ return Math.sqrt(ga(e, r));
11882
+ }, ga = function(e, r) {
11883
11883
  var n = r.x - e.x, a = r.y - e.y;
11884
11884
  return n * n + a * a;
11885
11885
  }, V$ = function(e) {
@@ -11899,7 +11899,7 @@ var E$ = TB(function(t, e) {
11899
11899
  var i = {
11900
11900
  x: r.x - e.x,
11901
11901
  y: r.y - e.y
11902
- }, o = Da(e, r), s = {
11902
+ }, o = Ra(e, r), s = {
11903
11903
  x: i.x / o,
11904
11904
  y: i.y / o
11905
11905
  };
@@ -11988,7 +11988,7 @@ var E$ = TB(function(t, e) {
11988
11988
  }, mS = function(e, r) {
11989
11989
  return Ti(e, r.x1, r.y1) && Ti(e, r.x2, r.y2);
11990
11990
  }, bS = function(e, r, n, a, i, o, s) {
11991
- var u = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : "auto", l = u === "auto" ? Ra(i, o) : u, c = i / 2, d = o / 2;
11991
+ var u = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : "auto", l = u === "auto" ? La(i, o) : u, c = i / 2, d = o / 2;
11992
11992
  l = Math.min(l, c, d);
11993
11993
  var f = l !== c, h = l !== d, v;
11994
11994
  if (f) {
@@ -12126,7 +12126,7 @@ var E$ = TB(function(t, e) {
12126
12126
  return [];
12127
12127
  var d = c / l;
12128
12128
  return [(n - e) * d + e, (a - r) * d + r];
12129
- }, xa = function(e, r, n, a, i, o, s) {
12129
+ }, Ea = function(e, r, n, a, i, o, s) {
12130
12130
  return e -= i, r -= o, e /= n / 2 + s, r /= a / 2 + s, e * e + r * r <= 1;
12131
12131
  }, co = function(e, r, n, a, i, o, s) {
12132
12132
  var u = [n - e, a - r], l = [e - i, r - o], c = u[0] * u[0] + u[1] * u[1], d = 2 * (l[0] * u[0] + l[1] * u[1]), f = l[0] * l[0] + l[1] * l[1] - s * s, h = d * d - 4 * c * f;
@@ -12205,7 +12205,7 @@ var E$ = TB(function(t, e) {
12205
12205
  for (var i = new Array(e * 2), o, s = 0; s < e; s++)
12206
12206
  o = s * n + a, i[2 * s] = Math.cos(o), i[2 * s + 1] = Math.sin(-o);
12207
12207
  return i;
12208
- }, Ra = function(e, r) {
12208
+ }, La = function(e, r) {
12209
12209
  return Math.min(e / 4, r / 4, 8);
12210
12210
  }, CS = function(e, r) {
12211
12211
  return Math.min(e / 10, r / 10, 8);
@@ -13314,8 +13314,8 @@ var Mi = typeof Promise < "u" ? Promise : Tn, Ip = function(e, r, n) {
13314
13314
  }, o.startZoom = e.zoom();
13315
13315
  }
13316
13316
  this.length = 1, this[0] = this;
13317
- }, La = Ip.prototype;
13318
- ze(La, {
13317
+ }, Fa = Ip.prototype;
13318
+ ze(Fa, {
13319
13319
  instanceString: function() {
13320
13320
  return "animation";
13321
13321
  },
@@ -13398,9 +13398,9 @@ ze(La, {
13398
13398
  });
13399
13399
  }
13400
13400
  });
13401
- La.complete = La.completed;
13402
- La.run = La.play;
13403
- La.running = La.playing;
13401
+ Fa.complete = Fa.completed;
13402
+ Fa.run = Fa.play;
13403
+ Fa.running = Fa.playing;
13404
13404
  var Xq = {
13405
13405
  animated: function() {
13406
13406
  return function() {
@@ -13535,7 +13535,7 @@ function t3(t, e) {
13535
13535
  }
13536
13536
  var r3 = t3, n3 = "[object AsyncFunction]", a3 = "[object Function]", i3 = "[object GeneratorFunction]", o3 = "[object Proxy]";
13537
13537
  function s3(t) {
13538
- if (!Aa(t))
13538
+ if (!Pa(t))
13539
13539
  return !1;
13540
13540
  var e = oS(t);
13541
13541
  return e == a3 || e == i3 || e == n3 || e == o3;
@@ -13565,7 +13565,7 @@ var p3 = h3, g3 = /[\\^$.*+?()[\]{}|]/g, y3 = /^\[object .+?Constructor\]$/, m3
13565
13565
  "^" + w3.call(C3).replace(g3, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
13566
13566
  );
13567
13567
  function E3(t) {
13568
- if (!Aa(t) || d3(t))
13568
+ if (!Pa(t) || d3(t))
13569
13569
  return !1;
13570
13570
  var e = l3(t) ? x3 : y3;
13571
13571
  return e.test(p3(t));
@@ -13816,7 +13816,7 @@ function Y4(t, e) {
13816
13816
  }
13817
13817
  var Z4 = Y4;
13818
13818
  function X4(t, e, r, n) {
13819
- if (!Aa(t))
13819
+ if (!Pa(t))
13820
13820
  return t;
13821
13821
  e = NS(e, t);
13822
13822
  for (var a = -1, i = e.length, o = i - 1, s = t; s != null && ++a < i; ) {
@@ -13825,7 +13825,7 @@ function X4(t, e, r, n) {
13825
13825
  return t;
13826
13826
  if (a != o) {
13827
13827
  var c = s[u];
13828
- l = n ? n(c, u, s) : void 0, l === void 0 && (l = Aa(c) ? c : Z4(e[a + 1]) ? [] : {});
13828
+ l = n ? n(c, u, s) : void 0, l === void 0 && (l = Pa(c) ? c : Z4(e[a + 1]) ? [] : {});
13829
13829
  }
13830
13830
  U4(s, u, l), s = s[u];
13831
13831
  }
@@ -14874,7 +14874,7 @@ var Pr = function(e, r) {
14874
14874
  return function(a, i, o, s) {
14875
14875
  var u = a, l = this, c;
14876
14876
  if (u == null ? c = "" : xr(u) && u.length === 1 && (c = u.id()), l.length === 1 && c) {
14877
- var d = l[0]._private, f = d.traversalCache = d.traversalCache || {}, h = f[r] = f[r] || [], v = Pa(c), p = h[v];
14877
+ var d = l[0]._private, f = d.traversalCache = d.traversalCache || {}, h = f[r] = f[r] || [], v = Da(c), p = h[v];
14878
14878
  return p || (h[v] = e.call(l, a, i, o, s));
14879
14879
  } else
14880
14880
  return e.call(l, a, i, o, s);
@@ -15280,9 +15280,9 @@ Wr.modelPosition = Wr.point = Wr.position;
15280
15280
  Wr.modelPositions = Wr.points = Wr.positions;
15281
15281
  Wr.renderedPoint = Wr.renderedPosition;
15282
15282
  Wr.relativePoint = Wr.relativePosition;
15283
- var Sz = VS, gi, la;
15284
- gi = la = {};
15285
- la.renderedBoundingBox = function(t) {
15283
+ var Sz = VS, gi, ua;
15284
+ gi = ua = {};
15285
+ ua.renderedBoundingBox = function(t) {
15286
15286
  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;
15287
15287
  return {
15288
15288
  x1: i,
@@ -15293,7 +15293,7 @@ la.renderedBoundingBox = function(t) {
15293
15293
  h: u - s
15294
15294
  };
15295
15295
  };
15296
- la.dirtyCompoundBoundsCache = function() {
15296
+ ua.dirtyCompoundBoundsCache = function() {
15297
15297
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, e = this.cy();
15298
15298
  return !e.styleEnabled() || !e.hasCompoundNodes() ? this : (this.forEachUp(function(r) {
15299
15299
  if (r.isParent()) {
@@ -15302,7 +15302,7 @@ la.dirtyCompoundBoundsCache = function() {
15302
15302
  }
15303
15303
  }), this);
15304
15304
  };
15305
- la.updateCompoundBounds = function() {
15305
+ ua.updateCompoundBounds = function() {
15306
15306
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, e = this.cy();
15307
15307
  if (!e.styleEnabled() || !e.hasCompoundNodes())
15308
15308
  return this;
@@ -15379,7 +15379,7 @@ var Or = function(e) {
15379
15379
  return e === 1 / 0 || e === -1 / 0 ? 0 : e;
15380
15380
  }, Hr = function(e, r, n, a, i) {
15381
15381
  a - r === 0 || i - n === 0 || r == null || n == null || a == null || i == null || (e.x1 = r < e.x1 ? r : e.x1, e.x2 = a > e.x2 ? a : e.x2, e.y1 = n < e.y1 ? n : e.y1, e.y2 = i > e.y2 ? i : e.y2, e.w = e.x2 - e.x1, e.h = e.y2 - e.y1);
15382
- }, ga = function(e, r) {
15382
+ }, ya = function(e, r) {
15383
15383
  return r == null ? e : Hr(e, r.x1, r.y1, r.x2, r.y2);
15384
15384
  }, no = function(e, r, n) {
15385
15385
  return Kr(e, r, n);
@@ -15572,7 +15572,7 @@ var Or = function(e) {
15572
15572
  }, f = !c || d(e) || i && d(e.source()) || d(e.target());
15573
15573
  if (f ? (l || e.recalculateRenderedStyle(c), a = _z(e, $o), n.bbCache = a, n.bbCachePosKey = u) : a = n.bbCache, !s) {
15574
15574
  var h = e.isNode();
15575
- a = br(), (r.includeNodes && h || r.includeEdges && !h) && (r.includeOverlays ? ga(a, n.overlayBounds) : ga(a, n.bodyBounds)), r.includeLabels && (r.includeMainLabels && (!i || r.includeSourceLabels && r.includeTargetLabels) ? ga(a, n.labelBounds.all) : (r.includeMainLabels && ga(a, n.labelBounds.mainRot), r.includeSourceLabels && ga(a, n.labelBounds.sourceRot), r.includeTargetLabels && ga(a, n.labelBounds.targetRot))), a.w = a.x2 - a.x1, a.h = a.y2 - a.y1;
15575
+ a = br(), (r.includeNodes && h || r.includeEdges && !h) && (r.includeOverlays ? ya(a, n.overlayBounds) : ya(a, n.bodyBounds)), r.includeLabels && (r.includeMainLabels && (!i || r.includeSourceLabels && r.includeTargetLabels) ? ya(a, n.labelBounds.all) : (r.includeMainLabels && ya(a, n.labelBounds.mainRot), r.includeSourceLabels && ya(a, n.labelBounds.sourceRot), r.includeTargetLabels && ya(a, n.labelBounds.targetRot))), a.w = a.x2 - a.x1, a.h = a.y2 - a.y1;
15576
15576
  }
15577
15577
  return a;
15578
15578
  }, $o = {
@@ -15587,7 +15587,7 @@ var Or = function(e) {
15587
15587
  includeOutlines: !0,
15588
15588
  useCache: !0
15589
15589
  }, m0 = KS($o), b0 = Zt($o);
15590
- la.boundingBox = function(t) {
15590
+ ua.boundingBox = function(t) {
15591
15591
  var e;
15592
15592
  if (this.length === 1 && this[0]._private.bbCache != null && !this[0]._private.styleDirty && (t === void 0 || t.useCache === void 0 || t.useCache === !0))
15593
15593
  t === void 0 ? t = $o : t = b0(t), e = y0(this[0], t);
@@ -15602,19 +15602,19 @@ la.boundingBox = function(t) {
15602
15602
  this.updateCompoundBounds(!t.useCache);
15603
15603
  for (var f = 0; f < n.length; f++) {
15604
15604
  var h = n[f];
15605
- ga(e, y0(h, r));
15605
+ ya(e, y0(h, r));
15606
15606
  }
15607
15607
  }
15608
15608
  return e.x1 = Or(e.x1), e.y1 = Or(e.y1), e.x2 = Or(e.x2), e.y2 = Or(e.y2), e.w = Or(e.x2 - e.x1), e.h = Or(e.y2 - e.y1), e;
15609
15609
  };
15610
- la.dirtyBoundingBoxCache = function() {
15610
+ ua.dirtyBoundingBoxCache = function() {
15611
15611
  for (var t = 0; t < this.length; t++) {
15612
15612
  var e = this[t]._private;
15613
15613
  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;
15614
15614
  }
15615
15615
  return this.emitAndNotify("bounds"), this;
15616
15616
  };
15617
- la.boundingBoxAt = function(t) {
15617
+ ua.boundingBoxAt = function(t) {
15618
15618
  var e = this.nodes(), r = this.cy(), n = r.hasCompoundNodes(), a = r.collection();
15619
15619
  if (n && (a = e.filter(function(l) {
15620
15620
  return l.isParent();
@@ -15637,7 +15637,7 @@ la.boundingBoxAt = function(t) {
15637
15637
  };
15638
15638
  gi.boundingbox = gi.bb = gi.boundingBox;
15639
15639
  gi.renderedBoundingbox = gi.renderedBoundingBox;
15640
- var Tz = la, fo, is;
15640
+ var Tz = ua, fo, is;
15641
15641
  fo = is = {};
15642
15642
  var US = function(e) {
15643
15643
  e.uppercaseName = Vm(e.name), e.autoName = "auto" + e.uppercaseName, e.labelName = "label" + e.uppercaseName, e.outerName = "outer" + e.uppercaseName, e.uppercaseOuterName = Vm(e.outerName), fo[e.name] = function() {
@@ -16469,12 +16469,12 @@ function ek(t, e, r) {
16469
16469
  return (i = a[t]) != null || (i = a[t] = e(r)), i;
16470
16470
  }
16471
16471
  function Kl(t, e) {
16472
- return t = Pa(t), function(n) {
16472
+ return t = Da(t), function(n) {
16473
16473
  return ek(t, e, n);
16474
16474
  };
16475
16475
  }
16476
16476
  function Gl(t, e) {
16477
- t = Pa(t);
16477
+ t = Da(t);
16478
16478
  var r = function(a) {
16479
16479
  return e.call(a);
16480
16480
  };
@@ -20111,7 +20111,7 @@ var s8 = {
20111
20111
  updateStyle: function() {
20112
20112
  this.mutableElements().updateStyle();
20113
20113
  }
20114
- }, l8 = "single", Fa = {
20114
+ }, l8 = "single", Ma = {
20115
20115
  autolock: function(e) {
20116
20116
  if (e !== void 0)
20117
20117
  this._private.autolock = !!e;
@@ -20398,9 +20398,9 @@ var s8 = {
20398
20398
  return this;
20399
20399
  }
20400
20400
  };
20401
- Fa.centre = Fa.center;
20402
- Fa.autolockNodes = Fa.autolock;
20403
- Fa.autoungrabifyNodes = Fa.autoungrabify;
20401
+ Ma.centre = Ma.center;
20402
+ Ma.autolockNodes = Ma.autolock;
20403
+ Ma.autoungrabifyNodes = Ma.autoungrabify;
20404
20404
  var qo = {
20405
20405
  data: et.data({
20406
20406
  field: "data",
@@ -20672,7 +20672,7 @@ ze(hl, {
20672
20672
  }
20673
20673
  });
20674
20674
  hl.$id = hl.getElementById;
20675
- [Xz, r8, tk, Pp, Ws, a8, Dp, js, s8, Fa, qo].forEach(function(t) {
20675
+ [Xz, r8, tk, Pp, Ws, a8, Dp, js, s8, Ma, qo].forEach(function(t) {
20676
20676
  ze(hl, t);
20677
20677
  });
20678
20678
  var u8 = {
@@ -22165,16 +22165,16 @@ gl.getArrowWidth = gl.getArrowHeight = function(t, e) {
22165
22165
  var r = this.arrowWidthCache = this.arrowWidthCache || {}, n = r[t + ", " + e];
22166
22166
  return n || (n = Math.max(Math.pow(t * 13.37, 0.9), 29) * e, r[t + ", " + e] = n, n);
22167
22167
  };
22168
- var Rp, Lp, tn = {}, Ir = {}, B0, $0, wa, Ys, yn, ha, ya, en, ai, Fs, ck, dk, Fp, Mp, q0, z0 = function(e, r, n) {
22168
+ var Rp, Lp, tn = {}, Ir = {}, B0, $0, Ca, Ys, yn, pa, ma, en, ai, Fs, ck, dk, Fp, Mp, q0, z0 = function(e, r, n) {
22169
22169
  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);
22170
22170
  }, F8 = function(e, r) {
22171
22171
  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;
22172
22172
  }, M8 = function(e, r, n, a, i) {
22173
22173
  if (e !== q0 ? z0(r, e, tn) : F8(Ir, tn), z0(r, n, Ir), B0 = tn.nx * Ir.ny - tn.ny * Ir.nx, $0 = tn.nx * Ir.nx - tn.ny * -Ir.ny, yn = Math.asin(Math.max(-1, Math.min(1, B0))), Math.abs(yn) < 1e-6) {
22174
- Rp = r.x, Lp = r.y, ya = ai = 0;
22174
+ Rp = r.x, Lp = r.y, ma = ai = 0;
22175
22175
  return;
22176
22176
  }
22177
- wa = 1, Ys = !1, $0 < 0 ? yn < 0 ? yn = Math.PI + yn : (yn = Math.PI - yn, wa = -1, Ys = !0) : yn > 0 && (wa = -1, Ys = !0), r.radius !== void 0 ? ai = r.radius : ai = a, ha = yn / 2, Fs = Math.min(tn.len / 2, Ir.len / 2), i ? (en = Math.abs(Math.cos(ha) * ai / Math.sin(ha)), en > Fs ? (en = Fs, ya = Math.abs(en * Math.sin(ha) / Math.cos(ha))) : ya = ai) : (en = Math.min(Fs, ai), ya = Math.abs(en * Math.sin(ha) / Math.cos(ha))), Fp = r.x + Ir.nx * en, Mp = r.y + Ir.ny * en, Rp = Fp - Ir.ny * ya * wa, Lp = Mp + Ir.nx * ya * wa, ck = r.x + tn.nx * en, dk = r.y + tn.ny * en, q0 = r;
22177
+ Ca = 1, Ys = !1, $0 < 0 ? yn < 0 ? yn = Math.PI + yn : (yn = Math.PI - yn, Ca = -1, Ys = !0) : yn > 0 && (Ca = -1, Ys = !0), r.radius !== void 0 ? ai = r.radius : ai = a, pa = yn / 2, Fs = Math.min(tn.len / 2, Ir.len / 2), i ? (en = Math.abs(Math.cos(pa) * ai / Math.sin(pa)), en > Fs ? (en = Fs, ma = Math.abs(en * Math.sin(pa) / Math.cos(pa))) : ma = ai) : (en = Math.min(Fs, ai), ma = Math.abs(en * Math.sin(pa) / Math.cos(pa))), Fp = r.x + Ir.nx * en, Mp = r.y + Ir.ny * en, Rp = Fp - Ir.ny * ma * Ca, Lp = Mp + Ir.nx * ma * Ca, ck = r.x + tn.nx * en, dk = r.y + tn.ny * en, q0 = r;
22178
22178
  };
22179
22179
  function fk(t, e) {
22180
22180
  e.radius === 0 ? t.lineTo(e.cx, e.cy) : t.arc(e.cx, e.cy, e.radius, e.startAngle, e.endAngle, e.counterClockwise);
@@ -22195,13 +22195,13 @@ function Ug(t, e, r, n) {
22195
22195
  } : (M8(t, e, r, n, a), {
22196
22196
  cx: Rp,
22197
22197
  cy: Lp,
22198
- radius: ya,
22198
+ radius: ma,
22199
22199
  startX: ck,
22200
22200
  startY: dk,
22201
22201
  stopX: Fp,
22202
22202
  stopY: Mp,
22203
- startAngle: tn.ang + Math.PI / 2 * wa,
22204
- endAngle: Ir.ang - Math.PI / 2 * wa,
22203
+ startAngle: tn.ang + Math.PI / 2 * Ca,
22204
+ endAngle: Ir.ang - Math.PI / 2 * Ca,
22205
22205
  counterClockwise: Ys
22206
22206
  });
22207
22207
  }
@@ -22366,13 +22366,13 @@ lr.findTaxiPoints = function(t, e) {
22366
22366
  lr.tryToCorrectInvalidPoints = function(t, e) {
22367
22367
  var r = t._private.rscratch;
22368
22368
  if (r.edgeType === "bezier") {
22369
- var n = e.srcPos, a = e.tgtPos, i = e.srcW, o = e.srcH, s = e.tgtW, u = e.tgtH, l = e.srcShape, c = e.tgtShape, d = e.srcCornerRadius, f = e.tgtCornerRadius, h = e.srcRs, v = e.tgtRs, p = !Ce(r.startX) || !Ce(r.startY), g = !Ce(r.arrowStartX) || !Ce(r.arrowStartY), y = !Ce(r.endX) || !Ce(r.endY), m = !Ce(r.arrowEndX) || !Ce(r.arrowEndY), b = 3, w = this.getArrowWidth(t.pstyle("width").pfValue, t.pstyle("arrow-scale").value) * this.arrowShapeWidth, x = b * w, E = Da({
22369
+ var n = e.srcPos, a = e.tgtPos, i = e.srcW, o = e.srcH, s = e.tgtW, u = e.tgtH, l = e.srcShape, c = e.tgtShape, d = e.srcCornerRadius, f = e.tgtCornerRadius, h = e.srcRs, v = e.tgtRs, p = !Ce(r.startX) || !Ce(r.startY), g = !Ce(r.arrowStartX) || !Ce(r.arrowStartY), y = !Ce(r.endX) || !Ce(r.endY), m = !Ce(r.arrowEndX) || !Ce(r.arrowEndY), b = 3, w = this.getArrowWidth(t.pstyle("width").pfValue, t.pstyle("arrow-scale").value) * this.arrowShapeWidth, x = b * w, E = Ra({
22370
22370
  x: r.ctrlpts[0],
22371
22371
  y: r.ctrlpts[1]
22372
22372
  }, {
22373
22373
  x: r.startX,
22374
22374
  y: r.startY
22375
- }), C = E < x, k = Da({
22375
+ }), C = E < x, k = Ra({
22376
22376
  x: r.ctrlpts[0],
22377
22377
  y: r.ctrlpts[1]
22378
22378
  }, {
@@ -22664,9 +22664,9 @@ ss.findEndpoints = function(t) {
22664
22664
  X === "left" ? $ -= W : X === "right" && ($ += W);
22665
22665
  var Q = Mo(R[0], R[1], [$ - W, z - Z, $ + W, z - Z, $ + W, z + Z, $ - W, z + Z], o.x, o.y);
22666
22666
  if (Q.length > 0) {
22667
- var ge = i, we = pa(ge, ui(r)), fe = pa(ge, ui(Q)), ce = we;
22667
+ var ge = i, we = ga(ge, ui(r)), fe = ga(ge, ui(Q)), ce = we;
22668
22668
  if (fe < we && (r = Q, ce = fe), Q.length > 2) {
22669
- var be = pa(ge, {
22669
+ var be = ga(ge, {
22670
22670
  x: Q[2],
22671
22671
  y: Q[3]
22672
22672
  });
@@ -22688,9 +22688,9 @@ ss.findEndpoints = function(t) {
22688
22688
  se === "left" ? De -= ue : se === "right" && (De += ue);
22689
22689
  var ee = Mo(M[0], M[1], [De - ue, Ne - I, De + ue, Ne - I, De + ue, Ne + I, De - ue, Ne + I], i.x, i.y);
22690
22690
  if (ee.length > 0) {
22691
- var te = o, ye = pa(te, ui(r)), oe = pa(te, ui(ee)), he = ye;
22691
+ var te = o, ye = ga(te, ui(r)), oe = ga(te, ui(ee)), he = ye;
22692
22692
  if (oe < ye && (r = [ee[0], ee[1]], he = oe), ee.length > 2) {
22693
- var Oe = pa(te, {
22693
+ var Oe = ga(te, {
22694
22694
  x: ee[2],
22695
22695
  y: ee[3]
22696
22696
  });
@@ -22850,7 +22850,7 @@ fn.recalculateEdgeLabelProjections = function(t) {
22850
22850
  }
22851
22851
  var g = r.rstyle.bezierPts, y = a.bezierProjPcts.length;
22852
22852
  function m(C, k, S, _, T) {
22853
- var O = Da(k, S), D = C.segments[C.segments.length - 1], A = {
22853
+ var O = Ra(k, S), D = C.segments[C.segments.length - 1], A = {
22854
22854
  p0: k,
22855
22855
  p1: S,
22856
22856
  t0: _,
@@ -22910,7 +22910,7 @@ fn.recalculateEdgeLabelProjections = function(t) {
22910
22910
  }, M = {
22911
22911
  x: n.allpts[L - 4 - V],
22912
22912
  y: n.allpts[L - 3 - V]
22913
- }), A = Da(R, M), F = D, D += A, !(D >= v)); V += 2)
22913
+ }), A = Ra(R, M), F = D, D += A, !(D >= v)); V += 2)
22914
22914
  ;
22915
22915
  var Y = v - F, H = Y / A;
22916
22916
  H = Fo(0, H, 1), e = H$(R, M, H), f = pk(R, M);
@@ -23001,7 +23001,7 @@ fn.getLabelJustification = function(t) {
23001
23001
  return e;
23002
23002
  };
23003
23003
  fn.calculateLabelDimensions = function(t, e) {
23004
- var r = this, n = r.cy.window(), a = n.document, i = Pa(e, t._private.labelDimsKey), o = r.labelDimCache || (r.labelDimCache = []), s = o[i];
23004
+ var r = this, n = r.cy.window(), a = n.document, i = Da(e, t._private.labelDimsKey), o = r.labelDimCache || (r.labelDimCache = []), s = o[i];
23005
23005
  if (s != null)
23006
23006
  return s;
23007
23007
  var u = 0, l = t.pstyle("font-style").strValue, c = t.pstyle("font-size").pfValue, d = t.pstyle("font-family").strValue, f = t.pstyle("font-weight").strValue, h = this.labelCalcCanvas, v = this.labelCalcCanvasContext;
@@ -24112,7 +24112,7 @@ Pn.generateEllipse = function() {
24112
24112
  return rq(i, o, e, r, n / 2 + s, a / 2 + s);
24113
24113
  },
24114
24114
  checkPoint: function(e, r, n, a, i, o, s, u) {
24115
- return xa(e, r, a, i, o, s, n);
24115
+ return Ea(e, r, a, i, o, s, n);
24116
24116
  }
24117
24117
  };
24118
24118
  };
@@ -24161,9 +24161,9 @@ Pn.generateRoundRectangle = function() {
24161
24161
  },
24162
24162
  checkPoint: function(e, r, n, a, i, o, s, u) {
24163
24163
  var l = a / 2, c = i / 2;
24164
- u = u === "auto" ? Ra(a, i) : u, u = Math.min(l, c, u);
24164
+ u = u === "auto" ? La(a, i) : u, u = Math.min(l, c, u);
24165
24165
  var d = u * 2;
24166
- return !!(_n(e, r, this.points, o, s, a, i - d, [0, -1], n) || _n(e, r, this.points, o, s, a - d, i, [0, -1], n) || xa(e, r, d, d, o - l + u, s - c + u, n) || xa(e, r, d, d, o + l - u, s - c + u, n) || xa(e, r, d, d, o + l - u, s + c - u, n) || xa(e, r, d, d, o - l + u, s + c - u, n));
24166
+ return !!(_n(e, r, this.points, o, s, a, i - d, [0, -1], n) || _n(e, r, this.points, o, s, a - d, i, [0, -1], n) || Ea(e, r, d, d, o - l + u, s - c + u, n) || Ea(e, r, d, d, o + l - u, s - c + u, n) || Ea(e, r, d, d, o + l - u, s + c - u, n) || Ea(e, r, d, d, o - l + u, s + c - u, n));
24167
24167
  }
24168
24168
  };
24169
24169
  };
@@ -24288,12 +24288,12 @@ Pn.generateBottomRoundrectangle = function() {
24288
24288
  return h.length > 0 ? h : bS(i, o, e, r, n, a, s, u);
24289
24289
  },
24290
24290
  checkPoint: function(e, r, n, a, i, o, s, u) {
24291
- u = u === "auto" ? Ra(a, i) : u;
24291
+ u = u === "auto" ? La(a, i) : u;
24292
24292
  var l = 2 * u;
24293
24293
  if (_n(e, r, this.points, o, s, a, i - l, [0, -1], n) || _n(e, r, this.points, o, s, a - l, i, [0, -1], n))
24294
24294
  return !0;
24295
24295
  var c = a / 2 + 2 * n, d = i / 2 + 2 * n, f = [o - c, s - d, o - c, s, o + c, s, o + c, s - d];
24296
- return !!(vr(e, r, f) || xa(e, r, l, l, o + a / 2 - u, s + i / 2 - u, n) || xa(e, r, l, l, o - a / 2 + u, s + i / 2 - u, n));
24296
+ return !!(vr(e, r, f) || Ea(e, r, l, l, o + a / 2 - u, s + i / 2 - u, n) || Ea(e, r, l, l, o - a / 2 + u, s + i / 2 - u, n));
24297
24297
  }
24298
24298
  };
24299
24299
  };
@@ -25334,7 +25334,7 @@ Dn.drawArrowShape = function(t, e, r, n, a, i, o, s, u) {
25334
25334
  y: s
25335
25335
  }, p = t.pstyle("arrow-scale").value, g = this.getArrowWidth(n, p), y = l.arrowShapes[a];
25336
25336
  if (c) {
25337
- var m = l.arrowPathCache = l.arrowPathCache || [], b = Pa(a), w = m[b];
25337
+ var m = l.arrowPathCache = l.arrowPathCache || [], b = Da(a), w = m[b];
25338
25338
  w != null ? (f = e = w, d = !0) : (f = e = new Path2D(), m[b] = f);
25339
25339
  }
25340
25340
  d || (e.beginPath && e.beginPath(), c ? y.draw(e, 1, 0, {
@@ -25657,11 +25657,11 @@ Ki.drawNode = function(t, e, r) {
25657
25657
  Nr = $t[er % xt], dr = $t[(er + 1) % xt], wr[er] = Ug(kr, Nr, dr, Pt), kr = Nr, Nr = dr;
25658
25658
  o.drawRoundPolygonPath(Le || t, ye.x + kt, ye.y + _t, s * Oe, u * Pe, Ie, wr);
25659
25659
  } else if (["roundrectangle", "round-rectangle"].includes(oe))
25660
- W = W === "auto" ? Ra(Ae, $e) : W, o.drawRoundRectanglePath(Le || t, ye.x, ye.y, Ae, $e, W + (he + K + z) / 2);
25660
+ W = W === "auto" ? La(Ae, $e) : W, o.drawRoundRectanglePath(Le || t, ye.x, ye.y, Ae, $e, W + (he + K + z) / 2);
25661
25661
  else if (["cutrectangle", "cut-rectangle"].includes(oe))
25662
25662
  W = W === "auto" ? Lg() : W, o.drawCutRectanglePath(Le || t, ye.x, ye.y, Ae, $e, null, W + (he + K + z) / 4);
25663
25663
  else if (["bottomroundrectangle", "bottom-round-rectangle"].includes(oe))
25664
- W = W === "auto" ? Ra(Ae, $e) : W, o.drawBottomRoundRectanglePath(Le || t, ye.x, ye.y, Ae, $e, W + (he + K + z) / 2);
25664
+ W = W === "auto" ? La(Ae, $e) : W, o.drawBottomRoundRectanglePath(Le || t, ye.x, ye.y, Ae, $e, W + (he + K + z) / 2);
25665
25665
  else if (oe === "barrel")
25666
25666
  o.drawBarrelPath(Le || t, ye.x, ye.y, Ae, $e);
25667
25667
  else if (oe.startsWith("polygon") || ["rhomboid", "right-rhomboid", "round-tag", "tag", "vee"].includes(oe)) {
@@ -25747,7 +25747,7 @@ Sr.createGradientStyleFor = function(t, e, r, n, a) {
25747
25747
  var i, o = this.usePaths(), s = r.pstyle(e + "-gradient-stop-colors").value, u = r.pstyle(e + "-gradient-stop-positions").pfValue;
25748
25748
  if (n === "radial-gradient")
25749
25749
  if (r.isEdge()) {
25750
- var l = r.sourceEndpoint(), c = r.targetEndpoint(), d = r.midpoint(), f = Da(l, d), h = Da(c, d);
25750
+ var l = r.sourceEndpoint(), c = r.targetEndpoint(), d = r.midpoint(), f = Ra(l, d), h = Ra(c, d);
25751
25751
  i = t.createRadialGradient(d.x, d.y, 0, d.x, d.y, Math.max(f, h));
25752
25752
  } else {
25753
25753
  var v = o ? {
@@ -25971,39 +25971,39 @@ Sr.render = function(t) {
25971
25971
  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();
25972
25972
  }, EV)), e || u.emit("render");
25973
25973
  };
25974
- var ua = {};
25975
- ua.drawPolygonPath = function(t, e, r, n, a, i) {
25974
+ var ca = {};
25975
+ ca.drawPolygonPath = function(t, e, r, n, a, i) {
25976
25976
  var o = n / 2, s = a / 2;
25977
25977
  t.beginPath && t.beginPath(), t.moveTo(e + o * i[0], r + s * i[1]);
25978
25978
  for (var u = 1; u < i.length / 2; u++)
25979
25979
  t.lineTo(e + o * i[u * 2], r + s * i[u * 2 + 1]);
25980
25980
  t.closePath();
25981
25981
  };
25982
- ua.drawRoundPolygonPath = function(t, e, r, n, a, i, o) {
25982
+ ca.drawRoundPolygonPath = function(t, e, r, n, a, i, o) {
25983
25983
  o.forEach(function(s) {
25984
25984
  return fk(t, s);
25985
25985
  }), t.closePath();
25986
25986
  };
25987
- ua.drawRoundRectanglePath = function(t, e, r, n, a, i) {
25988
- var o = n / 2, s = a / 2, u = i === "auto" ? Ra(n, a) : Math.min(i, s, o);
25987
+ ca.drawRoundRectanglePath = function(t, e, r, n, a, i) {
25988
+ var o = n / 2, s = a / 2, u = i === "auto" ? La(n, a) : Math.min(i, s, o);
25989
25989
  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();
25990
25990
  };
25991
- ua.drawBottomRoundRectanglePath = function(t, e, r, n, a, i) {
25992
- var o = n / 2, s = a / 2, u = i === "auto" ? Ra(n, a) : i;
25991
+ ca.drawBottomRoundRectanglePath = function(t, e, r, n, a, i) {
25992
+ var o = n / 2, s = a / 2, u = i === "auto" ? La(n, a) : i;
25993
25993
  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();
25994
25994
  };
25995
- ua.drawCutRectanglePath = function(t, e, r, n, a, i, o) {
25995
+ ca.drawCutRectanglePath = function(t, e, r, n, a, i, o) {
25996
25996
  var s = n / 2, u = a / 2, l = o === "auto" ? Lg() : o;
25997
25997
  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();
25998
25998
  };
25999
- ua.drawBarrelPath = function(t, e, r, n, a) {
25999
+ ca.drawBarrelPath = function(t, e, r, n, a) {
26000
26000
  var i = n / 2, o = a / 2, s = e - i, u = e + i, l = r - o, c = r + o, d = _p(n, a), f = d.widthOffset, h = d.heightOffset, v = d.ctrlPtOffsetPct * f;
26001
26001
  t.beginPath && t.beginPath(), t.moveTo(s, l + h), t.lineTo(s, c - h), t.quadraticCurveTo(s + v, c, s + f, c), t.lineTo(u - f, c), t.quadraticCurveTo(u - v, c, u, c - h), t.lineTo(u, l + h), t.quadraticCurveTo(u - v, l, u - f, l), t.lineTo(s + f, l), t.quadraticCurveTo(s + v, l, s, l + h), t.closePath();
26002
26002
  };
26003
26003
  var Z0 = Math.sin(0), X0 = Math.cos(0), Bp = {}, $p = {}, kk = Math.PI / 40;
26004
26004
  for (var ii = 0 * Math.PI; ii < 2 * Math.PI; ii += kk)
26005
26005
  Bp[ii] = Math.sin(ii), $p[ii] = Math.cos(ii);
26006
- ua.drawEllipsePath = function(t, e, r, n, a) {
26006
+ ca.drawEllipsePath = function(t, e, r, n, a) {
26007
26007
  if (t.beginPath && t.beginPath(), t.ellipse)
26008
26008
  t.ellipse(e, r, n / 2, a / 2, 0, 0, 2 * Math.PI);
26009
26009
  else
@@ -26318,7 +26318,7 @@ Je.makeOffscreenCanvas = function(t, e) {
26318
26318
  }
26319
26319
  return r;
26320
26320
  };
26321
- [xk, vn, Dn, jg, Ga, Ki, Sr, ua, us, Tk].forEach(function(t) {
26321
+ [xk, vn, Dn, jg, Ga, Ki, Sr, ca, us, Tk].forEach(function(t) {
26322
26322
  ze(Je, t);
26323
26323
  });
26324
26324
  var TV = [{
@@ -26482,18 +26482,18 @@ var Rk = function t() {
26482
26482
  if (!(this instanceof t))
26483
26483
  return new t();
26484
26484
  this.length = 0;
26485
- }, Ma = Rk.prototype;
26486
- Ma.instanceString = function() {
26485
+ }, Na = Rk.prototype;
26486
+ Na.instanceString = function() {
26487
26487
  return "stylesheet";
26488
26488
  };
26489
- Ma.selector = function(t) {
26489
+ Na.selector = function(t) {
26490
26490
  var e = this.length++;
26491
26491
  return this[e] = {
26492
26492
  selector: t,
26493
26493
  properties: []
26494
26494
  }, this;
26495
26495
  };
26496
- Ma.css = function(t, e) {
26496
+ Na.css = function(t, e) {
26497
26497
  var r = this.length - 1;
26498
26498
  if (Me(t))
26499
26499
  this[r].properties.push({
@@ -26516,12 +26516,12 @@ Ma.css = function(t, e) {
26516
26516
  }
26517
26517
  return this;
26518
26518
  };
26519
- Ma.style = Ma.css;
26520
- Ma.generateStyle = function(t) {
26519
+ Na.style = Na.css;
26520
+ Na.generateStyle = function(t) {
26521
26521
  var e = new ar(t);
26522
26522
  return this.appendToStyle(e);
26523
26523
  };
26524
- Ma.appendToStyle = function(t) {
26524
+ Na.appendToStyle = function(t) {
26525
26525
  for (var e = 0; e < this.length; e++) {
26526
26526
  var r = this[e], n = r.selector, a = r.properties;
26527
26527
  t.selector(n);
@@ -27308,7 +27308,7 @@ function Rn() {
27308
27308
  return ed = r, ed;
27309
27309
  }
27310
27310
  var td, v1;
27311
- function ca() {
27311
+ function da() {
27312
27312
  if (v1) return td;
27313
27313
  v1 = 1;
27314
27314
  var t = Bk(), e = ty(), r = Rn();
@@ -27321,7 +27321,7 @@ var rd, h1;
27321
27321
  function d6() {
27322
27322
  if (h1) return rd;
27323
27323
  h1 = 1;
27324
- var t = ds(), e = ca();
27324
+ var t = ds(), e = da();
27325
27325
  function r(n, a) {
27326
27326
  return n && t(a, e(a), n);
27327
27327
  }
@@ -27499,7 +27499,7 @@ var yd, A1;
27499
27499
  function Uk() {
27500
27500
  if (A1) return yd;
27501
27501
  A1 = 1;
27502
- var t = Gk(), e = ry(), r = ca();
27502
+ var t = Gk(), e = ry(), r = da();
27503
27503
  function n(a) {
27504
27504
  return t(a, r, e);
27505
27505
  }
@@ -27745,7 +27745,7 @@ var Bd, X1;
27745
27745
  function Jk() {
27746
27746
  if (X1) return Bd;
27747
27747
  X1 = 1;
27748
- var t = tu(), e = Jg(), r = nu(), n = d6(), a = h6(), i = qk(), o = zk(), s = p6(), u = g6(), l = Uk(), c = y6(), d = ji(), f = C6(), h = k6(), v = Xk(), p = At(), g = Wi(), y = T6(), m = Fr(), b = O6(), w = ca(), x = ja(), E = 1, C = 2, k = 4, S = "[object Arguments]", _ = "[object Array]", T = "[object Boolean]", O = "[object Date]", D = "[object Error]", A = "[object Function]", F = "[object GeneratorFunction]", R = "[object Map]", M = "[object Number]", L = "[object Object]", V = "[object RegExp]", Y = "[object Set]", H = "[object String]", K = "[object Symbol]", ne = "[object WeakMap]", B = "[object ArrayBuffer]", $ = "[object DataView]", z = "[object Float32Array]", W = "[object Float64Array]", Z = "[object Int8Array]", N = "[object Int16Array]", X = "[object Int32Array]", Q = "[object Uint8Array]", ge = "[object Uint8ClampedArray]", we = "[object Uint16Array]", fe = "[object Uint32Array]", ce = {};
27748
+ var t = tu(), e = Jg(), r = nu(), n = d6(), a = h6(), i = qk(), o = zk(), s = p6(), u = g6(), l = Uk(), c = y6(), d = ji(), f = C6(), h = k6(), v = Xk(), p = At(), g = Wi(), y = T6(), m = Fr(), b = O6(), w = da(), x = ja(), E = 1, C = 2, k = 4, S = "[object Arguments]", _ = "[object Array]", T = "[object Boolean]", O = "[object Date]", D = "[object Error]", A = "[object Function]", F = "[object GeneratorFunction]", R = "[object Map]", M = "[object Number]", L = "[object Object]", V = "[object RegExp]", Y = "[object Set]", H = "[object String]", K = "[object Symbol]", ne = "[object WeakMap]", B = "[object ArrayBuffer]", $ = "[object DataView]", z = "[object Float32Array]", W = "[object Float64Array]", Z = "[object Int8Array]", N = "[object Int16Array]", X = "[object Int32Array]", Q = "[object Uint8Array]", ge = "[object Uint8ClampedArray]", we = "[object Uint16Array]", fe = "[object Uint32Array]", ce = {};
27749
27749
  ce[S] = ce[_] = ce[B] = ce[$] = ce[T] = ce[O] = ce[z] = ce[W] = ce[Z] = ce[N] = ce[X] = ce[R] = ce[M] = ce[L] = ce[V] = ce[Y] = ce[H] = ce[K] = ce[Q] = ce[ge] = ce[we] = ce[fe] = !0, ce[D] = ce[A] = ce[ne] = !1;
27750
27750
  function be(ve, xe, _e, He, Ve, De) {
27751
27751
  var Ne, ue = xe & E, I = xe & C, G = xe & k;
@@ -27834,7 +27834,7 @@ var Hd, rw;
27834
27834
  function sy() {
27835
27835
  if (rw) return Hd;
27836
27836
  rw = 1;
27837
- var t = oy(), e = ca();
27837
+ var t = oy(), e = da();
27838
27838
  function r(n, a) {
27839
27839
  return n && t(n, a, e);
27840
27840
  }
@@ -28191,7 +28191,7 @@ var ff, Sw;
28191
28191
  function V6() {
28192
28192
  if (Sw) return ff;
28193
28193
  Sw = 1;
28194
- var t = o_(), e = ca();
28194
+ var t = o_(), e = da();
28195
28195
  function r(n) {
28196
28196
  for (var a = e(n), i = a.length; i--; ) {
28197
28197
  var o = a[i], s = n[o];
@@ -28929,7 +28929,7 @@ var mv, AC;
28929
28929
  function x_() {
28930
28930
  if (AC) return mv;
28931
28931
  AC = 1;
28932
- var t = E9(), e = ca();
28932
+ var t = E9(), e = da();
28933
28933
  function r(n) {
28934
28934
  return n == null ? [] : t(n, e(n));
28935
28935
  }
@@ -28952,7 +28952,7 @@ function Mr() {
28952
28952
  isEmpty: e9(),
28953
28953
  isFunction: cs(),
28954
28954
  isUndefined: h_(),
28955
- keys: ca(),
28955
+ keys: da(),
28956
28956
  map: g_(),
28957
28957
  reduce: y_(),
28958
28958
  size: l9(),
@@ -29620,7 +29620,7 @@ var Hv, tx;
29620
29620
  function $9() {
29621
29621
  if (tx) return Hv;
29622
29622
  tx = 1;
29623
- var t = Ln(), e = Rn(), r = ca();
29623
+ var t = Ln(), e = Rn(), r = da();
29624
29624
  function n(a) {
29625
29625
  return function(i, o, s) {
29626
29626
  var u = Object(i);
@@ -32760,24 +32760,24 @@ const B7 = /* @__PURE__ */ Er(dK, [["render", xK], ["__scopeId", "data-v-9533120
32760
32760
  });
32761
32761
  }
32762
32762
  }
32763
- }, da = (t) => (Ba("data-v-81bbd5ff"), t = t(), $a(), t), _K = {
32763
+ }, fa = (t) => (Ba("data-v-81bbd5ff"), t = t(), $a(), t), _K = {
32764
32764
  ref: "connectivityList",
32765
32765
  class: "connectivity-list"
32766
32766
  }, TK = {
32767
32767
  key: 0,
32768
32768
  class: "block"
32769
- }, IK = { class: "attribute-title-container" }, OK = /* @__PURE__ */ da(() => /* @__PURE__ */ ae("span", { class: "attribute-title" }, "Origin", -1)), AK = { style: { "word-break": "keep-all" } }, PK = /* @__PURE__ */ da(() => /* @__PURE__ */ ae("i", null, "Origin", -1)), DK = ["origin-item-label", "onMouseenter"], RK = /* @__PURE__ */ da(() => /* @__PURE__ */ ae("span", null, "Search connectivity", -1)), LK = {
32769
+ }, IK = { class: "attribute-title-container" }, OK = /* @__PURE__ */ fa(() => /* @__PURE__ */ ae("span", { class: "attribute-title" }, "Origin", -1)), AK = { style: { "word-break": "keep-all" } }, PK = /* @__PURE__ */ fa(() => /* @__PURE__ */ ae("i", null, "Origin", -1)), DK = ["origin-item-label", "onMouseenter"], RK = /* @__PURE__ */ fa(() => /* @__PURE__ */ ae("span", null, "Search connectivity", -1)), LK = {
32770
32770
  key: 1,
32771
32771
  class: "block"
32772
- }, FK = /* @__PURE__ */ da(() => /* @__PURE__ */ ae("div", { class: "attribute-title-container" }, [
32772
+ }, FK = /* @__PURE__ */ fa(() => /* @__PURE__ */ ae("div", { class: "attribute-title-container" }, [
32773
32773
  /* @__PURE__ */ ae("span", { class: "attribute-title" }, "Components")
32774
- ], -1)), MK = ["component-item-label", "onMouseenter"], NK = /* @__PURE__ */ da(() => /* @__PURE__ */ ae("span", null, "Search connectivity", -1)), BK = {
32774
+ ], -1)), MK = ["component-item-label", "onMouseenter"], NK = /* @__PURE__ */ fa(() => /* @__PURE__ */ ae("span", null, "Search connectivity", -1)), BK = {
32775
32775
  key: 2,
32776
32776
  class: "block"
32777
- }, $K = { class: "attribute-title-container" }, qK = /* @__PURE__ */ da(() => /* @__PURE__ */ ae("span", { class: "attribute-title" }, "Destination", -1)), zK = /* @__PURE__ */ da(() => /* @__PURE__ */ ae("span", { style: { "word-break": "keep-all" } }, [
32777
+ }, $K = { class: "attribute-title-container" }, qK = /* @__PURE__ */ fa(() => /* @__PURE__ */ ae("span", { class: "attribute-title" }, "Destination", -1)), zK = /* @__PURE__ */ fa(() => /* @__PURE__ */ ae("span", { style: { "word-break": "keep-all" } }, [
32778
32778
  /* @__PURE__ */ ae("i", null, "Destination"),
32779
32779
  /* @__PURE__ */ Be(" is where the axons terminate ")
32780
- ], -1)), VK = ["destination-item-label", "onMouseenter"], HK = /* @__PURE__ */ da(() => /* @__PURE__ */ ae("span", null, "Search connectivity", -1)), KK = { class: "block" };
32780
+ ], -1)), VK = ["destination-item-label", "onMouseenter"], HK = /* @__PURE__ */ fa(() => /* @__PURE__ */ ae("span", null, "Search connectivity", -1)), KK = { class: "block" };
32781
32781
  function GK(t, e, r, n, a, i) {
32782
32782
  const o = Li, s = bl, u = Ft, l = xE, c = mr;
32783
32783
  return q(), ie("div", _K, [
@@ -35313,7 +35313,7 @@ async function E7(t, e) {
35313
35313
  throw console.error("Request failed:", r), r;
35314
35314
  }
35315
35315
  }
35316
- async function Na(t) {
35316
+ async function oa(t) {
35317
35317
  const { flatmapAPI: e, knowledgeSource: r, queryId: n, parameters: a, orderId: i } = t, o = `${e}competency/query`, s = Array.isArray(a) ? [...a] : [];
35318
35318
  s.push({
35319
35319
  column: "source_id",
@@ -35333,24 +35333,46 @@ async function Na(t) {
35333
35333
  return i && (l.order = [i]), E7(o, l);
35334
35334
  }
35335
35335
  async function H7(t, e, r) {
35336
- var h, v;
35337
- const n = Array.isArray(r) ? r : [r], a = n[0].startsWith("ilxtr:"), i = a ? 23 : 1, o = a ? "path_id" : "feature_id", s = a ? n : [], u = await Na({
35338
- flatmapAPI: t,
35339
- knowledgeSource: e,
35340
- queryId: i,
35341
- parameters: [
35342
- {
35343
- column: o,
35344
- value: n
35345
- }
35346
- ]
35347
- }), l = ((v = (h = u == null ? void 0 : u.results) == null ? void 0 : h.values) == null ? void 0 : v.map((p) => p[1])) || [], c = [.../* @__PURE__ */ new Set([...s, ...l])];
35348
- let d = [];
35349
- return c.length && (d = await xT(t, e, c)), [.../* @__PURE__ */ new Set([...c, ...d])];
35336
+ const n = Array.isArray(r) ? r : [r], a = n.filter((f) => f.startsWith("ilxtr:")), i = n.filter((f) => !f.startsWith("ilxtr:")), o = [];
35337
+ a.length > 0 && o.push(
35338
+ oa({
35339
+ flatmapAPI: t,
35340
+ knowledgeSource: e,
35341
+ queryId: 23,
35342
+ parameters: [
35343
+ {
35344
+ column: "path_id",
35345
+ value: a
35346
+ }
35347
+ ]
35348
+ })
35349
+ ), i.length > 0 && o.push(
35350
+ oa({
35351
+ flatmapAPI: t,
35352
+ knowledgeSource: e,
35353
+ queryId: 1,
35354
+ parameters: [
35355
+ {
35356
+ column: "feature_id",
35357
+ value: i
35358
+ }
35359
+ ]
35360
+ })
35361
+ );
35362
+ const s = await Promise.all(o);
35363
+ let u = [...a];
35364
+ s.forEach((f) => {
35365
+ var v, p;
35366
+ const h = ((p = (v = f == null ? void 0 : f.results) == null ? void 0 : v.values) == null ? void 0 : p.map((g) => g[1])) || [];
35367
+ u.push(...h);
35368
+ });
35369
+ const l = [...new Set(u)];
35370
+ let c = [];
35371
+ return l.length && (c = await xT(t, e, l)), [.../* @__PURE__ */ new Set([...l, ...c])];
35350
35372
  }
35351
35373
  async function K7(t, e, r) {
35352
35374
  var a;
35353
- const n = await Na({
35375
+ const n = await oa({
35354
35376
  flatmapAPI: t,
35355
35377
  knowledgeSource: e,
35356
35378
  queryId: 1,
@@ -35370,7 +35392,7 @@ async function K7(t, e, r) {
35370
35392
  }
35371
35393
  async function G7(t, e, r) {
35372
35394
  var a;
35373
- const n = await Na({
35395
+ const n = await oa({
35374
35396
  flatmapAPI: t,
35375
35397
  knowledgeSource: e,
35376
35398
  queryId: 1,
@@ -35390,7 +35412,7 @@ async function G7(t, e, r) {
35390
35412
  }
35391
35413
  async function U7(t, e, r) {
35392
35414
  var a;
35393
- const n = await Na({
35415
+ const n = await oa({
35394
35416
  flatmapAPI: t,
35395
35417
  knowledgeSource: e,
35396
35418
  queryId: 2,
@@ -35417,7 +35439,7 @@ function lp(t) {
35417
35439
  }
35418
35440
  async function xT(t, e, r) {
35419
35441
  var a;
35420
- const n = await Na({
35442
+ const n = await oa({
35421
35443
  flatmapAPI: t,
35422
35444
  knowledgeSource: e,
35423
35445
  queryId: 26,
@@ -35463,7 +35485,7 @@ async function W7({ flatmapAPI: t, knowledgeSource: e, origins: r, destinations:
35463
35485
  value: n
35464
35486
  }
35465
35487
  ], c = u.some((C) => Array.isArray(C.value) && C.value.length > 0), d = [
35466
- Na({
35488
+ oa({
35467
35489
  flatmapAPI: t,
35468
35490
  knowledgeSource: e,
35469
35491
  queryId: 24,
@@ -35471,7 +35493,7 @@ async function W7({ flatmapAPI: t, knowledgeSource: e, origins: r, destinations:
35471
35493
  })
35472
35494
  ];
35473
35495
  c && d.push(
35474
- Na({
35496
+ oa({
35475
35497
  flatmapAPI: t,
35476
35498
  knowledgeSource: e,
35477
35499
  queryId: 25,
@@ -35718,11 +35740,14 @@ async function J7(t, e, r, n) {
35718
35740
  if (v) {
35719
35741
  const p = o[v];
35720
35742
  if (p && p.connectivity && p["node-phenotypes"]) {
35721
- const g = p.connectivity, y = p["node-phenotypes"];
35722
- h.connectivity = [...g];
35723
- for (let m in h["node-phenotypes"])
35724
- y[m] && (h["node-phenotypes"][m] = [...y[m]]);
35725
- s.push(JSON.parse(JSON.stringify(h)));
35743
+ const g = p.connectivity, y = p["node-phenotypes"], m = {};
35744
+ for (let b in h["node-phenotypes"])
35745
+ y[b] && (m[b] = [...y[b]]);
35746
+ s.push({
35747
+ ...h,
35748
+ connectivity: [...g],
35749
+ "node-phenotypes": m
35750
+ });
35726
35751
  }
35727
35752
  }
35728
35753
  }
@@ -35773,7 +35798,7 @@ export {
35773
35798
  q7 as HelpModeDialog,
35774
35799
  z7 as Tooltip,
35775
35800
  V7 as TreeControls,
35776
- Na as competencyQuery,
35801
+ oa as competencyQuery,
35777
35802
  I7 as extractDestinationItems,
35778
35803
  T7 as extractOriginItems,
35779
35804
  O7 as extractViaItems,