@abi-software/flatmapvuer 1.10.3-beta.0 → 1.10.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.
@@ -60,8 +60,8 @@ function ze(...e) {
60
60
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
61
61
  const a = [], s = () => {
62
62
  a.forEach((c) => c()), a.length = 0;
63
- }, r = (c, d, p, m) => (c.addEventListener(d, p, m), () => c.removeEventListener(d, p, m)), u = W(() => [st(t), Ti(i)], ([c, d]) => {
64
- s(), c && a.push(...n.flatMap((p) => o.map((m) => r(c, p, m, d))));
63
+ }, r = (c, d, f, m) => (c.addEventListener(d, f, m), () => c.removeEventListener(d, f, m)), u = W(() => [st(t), Ti(i)], ([c, d]) => {
64
+ s(), c && a.push(...n.flatMap((f) => o.map((m) => r(c, f, m, d))));
65
65
  }, { immediate: !0, flush: "post" }), l = () => {
66
66
  u(), s();
67
67
  };
@@ -72,37 +72,37 @@ function vu(e, t, n = {}) {
72
72
  const { window: o = Io, ignore: i = [], capture: a = !0, detectIframe: s = !1 } = n;
73
73
  if (!o)
74
74
  return;
75
- li && !ca && (ca = !0, Array.from(o.document.body.children).forEach((p) => p.addEventListener("click", Ns)));
75
+ li && !ca && (ca = !0, Array.from(o.document.body.children).forEach((f) => f.addEventListener("click", Ns)));
76
76
  let r = !0;
77
- const u = (p) => i.some((m) => {
77
+ const u = (f) => i.some((m) => {
78
78
  if (typeof m == "string")
79
- return Array.from(o.document.querySelectorAll(m)).some((f) => f === p.target || p.composedPath().includes(f));
79
+ return Array.from(o.document.querySelectorAll(m)).some((p) => p === f.target || f.composedPath().includes(p));
80
80
  {
81
- const f = st(m);
82
- return f && (p.target === f || p.composedPath().includes(f));
81
+ const p = st(m);
82
+ return p && (f.target === p || f.composedPath().includes(p));
83
83
  }
84
84
  }), c = [
85
- ze(o, "click", (p) => {
85
+ ze(o, "click", (f) => {
86
86
  const m = st(e);
87
- if (!(!m || m === p.target || p.composedPath().includes(m))) {
88
- if (p.detail === 0 && (r = !u(p)), !r) {
87
+ if (!(!m || m === f.target || f.composedPath().includes(m))) {
88
+ if (f.detail === 0 && (r = !u(f)), !r) {
89
89
  r = !0;
90
90
  return;
91
91
  }
92
- t(p);
92
+ t(f);
93
93
  }
94
94
  }, { passive: !0, capture: a }),
95
- ze(o, "pointerdown", (p) => {
95
+ ze(o, "pointerdown", (f) => {
96
96
  const m = st(e);
97
- m && (r = !p.composedPath().includes(m) && !u(p));
97
+ m && (r = !f.composedPath().includes(m) && !u(f));
98
98
  }, { passive: !0 }),
99
- s && ze(o, "blur", (p) => {
99
+ s && ze(o, "blur", (f) => {
100
100
  var m;
101
- const f = st(e);
102
- ((m = o.document.activeElement) == null ? void 0 : m.tagName) === "IFRAME" && !(f != null && f.contains(o.document.activeElement)) && t(p);
101
+ const p = st(e);
102
+ ((m = o.document.activeElement) == null ? void 0 : m.tagName) === "IFRAME" && !(p != null && p.contains(o.document.activeElement)) && t(f);
103
103
  })
104
104
  ].filter(Boolean);
105
- return () => c.forEach((p) => p());
105
+ return () => c.forEach((f) => f());
106
106
  }
107
107
  function Bs(e, t = !1) {
108
108
  const n = P(), o = () => n.value = !!e();
@@ -805,31 +805,31 @@ function Qs(e, t, n, o, i, a) {
805
805
  var l = a.get(e), c = a.get(t);
806
806
  if (l && c)
807
807
  return l == t && c == e;
808
- var d = -1, p = !0, m = n & Rf ? new go() : void 0;
808
+ var d = -1, f = !0, m = n & Rf ? new go() : void 0;
809
809
  for (a.set(e, t), a.set(t, e); ++d < r; ) {
810
- var f = e[d], h = t[d];
810
+ var p = e[d], h = t[d];
811
811
  if (o)
812
- var g = s ? o(h, f, d, t, e, a) : o(f, h, d, e, t, a);
812
+ var g = s ? o(h, p, d, t, e, a) : o(p, h, d, e, t, a);
813
813
  if (g !== void 0) {
814
814
  if (g)
815
815
  continue;
816
- p = !1;
816
+ f = !1;
817
817
  break;
818
818
  }
819
819
  if (m) {
820
820
  if (!_f(t, function(b, w) {
821
- if (!xf(m, w) && (f === b || i(f, b, n, o, a)))
821
+ if (!xf(m, w) && (p === b || i(p, b, n, o, a)))
822
822
  return m.push(w);
823
823
  })) {
824
- p = !1;
824
+ f = !1;
825
825
  break;
826
826
  }
827
- } else if (!(f === h || i(f, h, n, o, a))) {
828
- p = !1;
827
+ } else if (!(p === h || i(p, h, n, o, a))) {
828
+ f = !1;
829
829
  break;
830
830
  }
831
831
  }
832
- return a.delete(e), a.delete(t), p;
832
+ return a.delete(e), a.delete(t), f;
833
833
  }
834
834
  function $f(e) {
835
835
  var t = -1, n = Array(e.size);
@@ -885,25 +885,25 @@ function ep(e, t, n, o, i, a) {
885
885
  if (u != c && !s)
886
886
  return !1;
887
887
  for (var d = u; d--; ) {
888
- var p = r[d];
889
- if (!(s ? p in t : Xf.call(t, p)))
888
+ var f = r[d];
889
+ if (!(s ? f in t : Xf.call(t, f)))
890
890
  return !1;
891
891
  }
892
- var m = a.get(e), f = a.get(t);
893
- if (m && f)
894
- return m == t && f == e;
892
+ var m = a.get(e), p = a.get(t);
893
+ if (m && p)
894
+ return m == t && p == e;
895
895
  var h = !0;
896
896
  a.set(e, t), a.set(t, e);
897
897
  for (var g = s; ++d < u; ) {
898
- p = r[d];
899
- var b = e[p], w = t[p];
898
+ f = r[d];
899
+ var b = e[f], w = t[f];
900
900
  if (o)
901
- var M = s ? o(w, b, p, t, e, a) : o(b, w, p, e, t, a);
901
+ var M = s ? o(w, b, f, t, e, a) : o(b, w, f, e, t, a);
902
902
  if (!(M === void 0 ? b === w || i(b, w, n, o, a) : M)) {
903
903
  h = !1;
904
904
  break;
905
905
  }
906
- g || (g = p == "constructor");
906
+ g || (g = f == "constructor");
907
907
  }
908
908
  if (h && !g) {
909
909
  var T = e.constructor, I = t.constructor;
@@ -915,22 +915,22 @@ var tp = 1, za = "[object Arguments]", Ha = "[object Array]", eo = "[object Obje
915
915
  function op(e, t, n, o, i, a) {
916
916
  var s = je(e), r = je(t), u = s ? Ha : wt(e), l = r ? Ha : wt(t);
917
917
  u = u == za ? eo : u, l = l == za ? eo : l;
918
- var c = u == eo, d = l == eo, p = u == l;
919
- if (p && ci(e)) {
918
+ var c = u == eo, d = l == eo, f = u == l;
919
+ if (f && ci(e)) {
920
920
  if (!ci(t))
921
921
  return !1;
922
922
  s = !0, c = !1;
923
923
  }
924
- if (p && !c)
924
+ if (f && !c)
925
925
  return a || (a = new rt()), s || Js(e) ? Qs(e, t, n, o, i, a) : Yf(e, t, u, n, o, i, a);
926
926
  if (!(n & tp)) {
927
- var m = c && ja.call(e, "__wrapped__"), f = d && ja.call(t, "__wrapped__");
928
- if (m || f) {
929
- var h = m ? e.value() : e, g = f ? t.value() : t;
927
+ var m = c && ja.call(e, "__wrapped__"), p = d && ja.call(t, "__wrapped__");
928
+ if (m || p) {
929
+ var h = m ? e.value() : e, g = p ? t.value() : t;
930
930
  return a || (a = new rt()), i(h, g, n, o, a);
931
931
  }
932
932
  }
933
- return p ? (a || (a = new rt()), ep(e, t, n, o, i, a)) : !1;
933
+ return f ? (a || (a = new rt()), ep(e, t, n, o, i, a)) : !1;
934
934
  }
935
935
  function Mo(e, t, n, o, i) {
936
936
  return e === t ? !0 : e == null || t == null || !en(e) && !en(t) ? e !== e && t !== t : op(e, t, n, o, Mo, i);
@@ -1023,15 +1023,15 @@ var Yo = function() {
1023
1023
  return et.Date.now();
1024
1024
  }, bp = "Expected a function", yp = Math.max, wp = Math.min;
1025
1025
  function Sp(e, t, n) {
1026
- var o, i, a, s, r, u, l = 0, c = !1, d = !1, p = !0;
1026
+ var o, i, a, s, r, u, l = 0, c = !1, d = !1, f = !0;
1027
1027
  if (typeof e != "function")
1028
1028
  throw new TypeError(bp);
1029
- t = Ea(t) || 0, It(n) && (c = !!n.leading, d = "maxWait" in n, a = d ? yp(Ea(n.maxWait) || 0, t) : a, p = "trailing" in n ? !!n.trailing : p);
1029
+ t = Ea(t) || 0, It(n) && (c = !!n.leading, d = "maxWait" in n, a = d ? yp(Ea(n.maxWait) || 0, t) : a, f = "trailing" in n ? !!n.trailing : f);
1030
1030
  function m(A) {
1031
1031
  var O = o, D = i;
1032
1032
  return o = i = void 0, l = A, s = e.apply(D, O), s;
1033
1033
  }
1034
- function f(A) {
1034
+ function p(A) {
1035
1035
  return l = A, r = setTimeout(b, t), c ? m(A) : s;
1036
1036
  }
1037
1037
  function h(A) {
@@ -1049,7 +1049,7 @@ function Sp(e, t, n) {
1049
1049
  r = setTimeout(b, h(A));
1050
1050
  }
1051
1051
  function w(A) {
1052
- return r = void 0, p && o ? m(A) : (o = i = void 0, s);
1052
+ return r = void 0, f && o ? m(A) : (o = i = void 0, s);
1053
1053
  }
1054
1054
  function M() {
1055
1055
  r !== void 0 && clearTimeout(r), l = 0, o = u = i = r = void 0;
@@ -1061,7 +1061,7 @@ function Sp(e, t, n) {
1061
1061
  var A = Yo(), O = g(A);
1062
1062
  if (o = arguments, i = this, u = A, O) {
1063
1063
  if (r === void 0)
1064
- return f(u);
1064
+ return p(u);
1065
1065
  if (d)
1066
1066
  return clearTimeout(r), r = setTimeout(b, t), m(u);
1067
1067
  }
@@ -1212,8 +1212,8 @@ const rr = "__epPropKey", K = (e) => e, _p = (e) => ke(e) && !!e[rr], _o = (e, t
1212
1212
  validator: n || s ? (l) => {
1213
1213
  let c = !1, d = [];
1214
1214
  if (n && (d = Array.from(n), ba(e, "default") && d.push(i), c || (c = d.includes(l))), s && (c || (c = s(l))), !c && d.length > 0) {
1215
- const p = [...new Set(d)].map((m) => JSON.stringify(m)).join(", ");
1216
- Vl(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${p}], got value ${JSON.stringify(l)}.`);
1215
+ const f = [...new Set(d)].map((m) => JSON.stringify(m)).join(", ");
1216
+ Vl(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`);
1217
1217
  }
1218
1218
  return c;
1219
1219
  } : void 0,
@@ -1279,8 +1279,8 @@ For more detail, please visit: ${i}
1279
1279
  offsetY: 0
1280
1280
  };
1281
1281
  const a = (l) => {
1282
- const c = l.clientX, d = l.clientY, { offsetX: p, offsetY: m } = i, f = e.value.getBoundingClientRect(), h = f.left, g = f.top, b = f.width, w = f.height, M = document.documentElement.clientWidth, T = document.documentElement.clientHeight, I = -h + p, A = -g + m, O = M - h - b + p, D = T - g - w + m, N = (E) => {
1283
- let U = p + E.clientX - c, J = m + E.clientY - d;
1282
+ const c = l.clientX, d = l.clientY, { offsetX: f, offsetY: m } = i, p = e.value.getBoundingClientRect(), h = p.left, g = p.top, b = p.width, w = p.height, M = document.documentElement.clientWidth, T = document.documentElement.clientHeight, I = -h + f, A = -g + m, O = M - h - b + f, D = T - g - w + m, N = (E) => {
1283
+ let U = f + E.clientX - c, J = m + E.clientY - d;
1284
1284
  o != null && o.value || (U = Math.min(Math.max(U, I), O), J = Math.min(Math.max(J, A), D)), i = {
1285
1285
  offsetX: U,
1286
1286
  offsetY: J
@@ -1576,31 +1576,31 @@ const Bp = (e) => (t, n) => Vp(t, n, v(e)), Vp = (e, t, n) => it(n, e, e).replac
1576
1576
  onShow: c,
1577
1577
  onHide: d
1578
1578
  }) => {
1579
- const p = me(), { emit: m } = p, f = p.props, h = y(() => Se(f[n])), g = y(() => f[e] === null), b = (O) => {
1579
+ const f = me(), { emit: m } = f, p = f.props, h = y(() => Se(p[n])), g = y(() => p[e] === null), b = (O) => {
1580
1580
  s.value !== !0 && (s.value = !0, r && (r.value = O), Se(c) && c(O));
1581
1581
  }, w = (O) => {
1582
1582
  s.value !== !1 && (s.value = !1, r && (r.value = O), Se(d) && d(O));
1583
1583
  }, M = (O) => {
1584
- if (f.disabled === !0 || Se(l) && !l())
1584
+ if (p.disabled === !0 || Se(l) && !l())
1585
1585
  return;
1586
1586
  const D = h.value && se;
1587
1587
  D && m(t, !0), (g.value || !D) && b(O);
1588
1588
  }, T = (O) => {
1589
- if (f.disabled === !0 || !se)
1589
+ if (p.disabled === !0 || !se)
1590
1590
  return;
1591
1591
  const D = h.value && se;
1592
1592
  D && m(t, !1), (g.value || !D) && w(O);
1593
1593
  }, I = (O) => {
1594
- ct(O) && (f.disabled && O ? h.value && m(t, !1) : s.value !== O && (O ? b() : w()));
1594
+ ct(O) && (p.disabled && O ? h.value && m(t, !1) : s.value !== O && (O ? b() : w()));
1595
1595
  }, A = () => {
1596
1596
  s.value ? T() : M();
1597
1597
  };
1598
- return W(() => f[e], I), u && p.appContext.config.globalProperties.$route !== void 0 && W(() => ({
1599
- ...p.proxy.$route
1598
+ return W(() => p[e], I), u && f.appContext.config.globalProperties.$route !== void 0 && W(() => ({
1599
+ ...f.proxy.$route
1600
1600
  }), () => {
1601
1601
  u.value && s.value && T();
1602
1602
  }), pe(() => {
1603
- I(f[e]);
1603
+ I(p[e]);
1604
1604
  }), {
1605
1605
  hide: T,
1606
1606
  show: M,
@@ -1760,7 +1760,7 @@ var ch = function(e, t) {
1760
1760
  function dh(e) {
1761
1761
  var t, n = e.state, o = e.name, i = e.options, a = n.elements.arrow, s = n.modifiersData.popperOffsets, r = Ye(n.placement), u = Vi(r), l = [Ae, Ne].indexOf(r) >= 0, c = l ? "height" : "width";
1762
1762
  if (!(!a || !s)) {
1763
- var d = ch(i.padding, n), p = Bi(a), m = u === "y" ? Te : Ae, f = u === "y" ? De : Ne, h = n.rects.reference[c] + n.rects.reference[u] - s[u] - n.rects.popper[c], g = s[u] - n.rects.reference[u], b = jn(a), w = b ? u === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, M = h / 2 - g / 2, T = d[m], I = w - p[c] - d[f], A = w / 2 - p[c] / 2 + M, O = Mn(T, A, I), D = u;
1763
+ var d = ch(i.padding, n), f = Bi(a), m = u === "y" ? Te : Ae, p = u === "y" ? De : Ne, h = n.rects.reference[c] + n.rects.reference[u] - s[u] - n.rects.popper[c], g = s[u] - n.rects.reference[u], b = jn(a), w = b ? u === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, M = h / 2 - g / 2, T = d[m], I = w - f[c] - d[p], A = w / 2 - f[c] / 2 + M, O = Mn(T, A, I), D = u;
1764
1764
  n.modifiersData[o] = (t = {}, t[D] = O, t.centerOffset = O - A, t);
1765
1765
  }
1766
1766
  }
@@ -1778,7 +1778,7 @@ function vh(e) {
1778
1778
  return { x: an(t * i) / i || 0, y: an(n * i) / i || 0 };
1779
1779
  }
1780
1780
  function qa(e) {
1781
- var t, n = e.popper, o = e.popperRect, i = e.placement, a = e.variation, s = e.offsets, r = e.position, u = e.gpuAcceleration, l = e.adaptive, c = e.roundOffsets, d = e.isFixed, p = s.x, m = p === void 0 ? 0 : p, f = s.y, h = f === void 0 ? 0 : f, g = typeof c == "function" ? c({ x: m, y: h }) : { x: m, y: h };
1781
+ var t, n = e.popper, o = e.popperRect, i = e.placement, a = e.variation, s = e.offsets, r = e.position, u = e.gpuAcceleration, l = e.adaptive, c = e.roundOffsets, d = e.isFixed, f = s.x, m = f === void 0 ? 0 : f, p = s.y, h = p === void 0 ? 0 : p, g = typeof c == "function" ? c({ x: m, y: h }) : { x: m, y: h };
1782
1782
  m = g.x, h = g.y;
1783
1783
  var b = s.hasOwnProperty("x"), w = s.hasOwnProperty("y"), M = Ae, T = Te, I = window;
1784
1784
  if (l) {
@@ -1914,7 +1914,7 @@ function Sr(e) {
1914
1914
  }
1915
1915
  function Dn(e, t) {
1916
1916
  t === void 0 && (t = {});
1917
- var n = t, o = n.placement, i = o === void 0 ? e.placement : o, a = n.boundary, s = a === void 0 ? Gp : a, r = n.rootBoundary, u = r === void 0 ? fr : r, l = n.elementContext, c = l === void 0 ? kn : l, d = n.altBoundary, p = d === void 0 ? !1 : d, m = n.padding, f = m === void 0 ? 0 : m, h = mr(typeof f != "number" ? f : gr(f, Hn)), g = c === kn ? qp : kn, b = e.rects.popper, w = e.elements[p ? g : c], M = Ih(on(w) ? w : w.contextElement || kt(e.elements.popper), s, u), T = sn(e.elements.reference), I = Sr({ reference: T, element: b, strategy: "absolute", placement: i }), A = mi(Object.assign({}, b, I)), O = c === kn ? A : T, D = { top: M.top - O.top + h.top, bottom: O.bottom - M.bottom + h.bottom, left: M.left - O.left + h.left, right: O.right - M.right + h.right }, N = e.modifiersData.offset;
1917
+ var n = t, o = n.placement, i = o === void 0 ? e.placement : o, a = n.boundary, s = a === void 0 ? Gp : a, r = n.rootBoundary, u = r === void 0 ? fr : r, l = n.elementContext, c = l === void 0 ? kn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, m = n.padding, p = m === void 0 ? 0 : m, h = mr(typeof p != "number" ? p : gr(p, Hn)), g = c === kn ? qp : kn, b = e.rects.popper, w = e.elements[f ? g : c], M = Ih(on(w) ? w : w.contextElement || kt(e.elements.popper), s, u), T = sn(e.elements.reference), I = Sr({ reference: T, element: b, strategy: "absolute", placement: i }), A = mi(Object.assign({}, b, I)), O = c === kn ? A : T, D = { top: M.top - O.top + h.top, bottom: O.bottom - M.bottom + h.bottom, left: M.left - O.left + h.left, right: O.right - M.right + h.right }, N = e.modifiersData.offset;
1918
1918
  if (c === kn && N) {
1919
1919
  var j = N[i];
1920
1920
  Object.keys(D).forEach(function(E) {
@@ -1926,17 +1926,17 @@ function Dn(e, t) {
1926
1926
  }
1927
1927
  function kh(e, t) {
1928
1928
  t === void 0 && (t = {});
1929
- var n = t, o = n.placement, i = n.boundary, a = n.rootBoundary, s = n.padding, r = n.flipVariations, u = n.allowedAutoPlacements, l = u === void 0 ? xo : u, c = rn(o), d = c ? r ? Wa : Wa.filter(function(f) {
1930
- return rn(f) === c;
1931
- }) : Hn, p = d.filter(function(f) {
1932
- return l.indexOf(f) >= 0;
1929
+ var n = t, o = n.placement, i = n.boundary, a = n.rootBoundary, s = n.padding, r = n.flipVariations, u = n.allowedAutoPlacements, l = u === void 0 ? xo : u, c = rn(o), d = c ? r ? Wa : Wa.filter(function(p) {
1930
+ return rn(p) === c;
1931
+ }) : Hn, f = d.filter(function(p) {
1932
+ return l.indexOf(p) >= 0;
1933
1933
  });
1934
- p.length === 0 && (p = d);
1935
- var m = p.reduce(function(f, h) {
1936
- return f[h] = Dn(e, { placement: h, boundary: i, rootBoundary: a, padding: s })[Ye(h)], f;
1934
+ f.length === 0 && (f = d);
1935
+ var m = f.reduce(function(p, h) {
1936
+ return p[h] = Dn(e, { placement: h, boundary: i, rootBoundary: a, padding: s })[Ye(h)], p;
1937
1937
  }, {});
1938
- return Object.keys(m).sort(function(f, h) {
1939
- return m[f] - m[h];
1938
+ return Object.keys(m).sort(function(p, h) {
1939
+ return m[p] - m[h];
1940
1940
  });
1941
1941
  }
1942
1942
  function Th(e) {
@@ -1947,10 +1947,10 @@ function Th(e) {
1947
1947
  function Ah(e) {
1948
1948
  var t = e.state, n = e.options, o = e.name;
1949
1949
  if (!t.modifiersData[o]._skip) {
1950
- for (var i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, r = s === void 0 ? !0 : s, u = n.fallbackPlacements, l = n.padding, c = n.boundary, d = n.rootBoundary, p = n.altBoundary, m = n.flipVariations, f = m === void 0 ? !0 : m, h = n.allowedAutoPlacements, g = t.options.placement, b = Ye(g), w = b === g, M = u || (w || !f ? [co(g)] : Th(g)), T = [g].concat(M).reduce(function(We, Ce) {
1951
- return We.concat(Ye(Ce) === Di ? kh(t, { placement: Ce, boundary: c, rootBoundary: d, padding: l, flipVariations: f, allowedAutoPlacements: h }) : Ce);
1950
+ for (var i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, r = s === void 0 ? !0 : s, u = n.fallbackPlacements, l = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, m = n.flipVariations, p = m === void 0 ? !0 : m, h = n.allowedAutoPlacements, g = t.options.placement, b = Ye(g), w = b === g, M = u || (w || !p ? [co(g)] : Th(g)), T = [g].concat(M).reduce(function(We, Ce) {
1951
+ return We.concat(Ye(Ce) === Di ? kh(t, { placement: Ce, boundary: c, rootBoundary: d, padding: l, flipVariations: p, allowedAutoPlacements: h }) : Ce);
1952
1952
  }, []), I = t.rects.reference, A = t.rects.popper, O = /* @__PURE__ */ new Map(), D = !0, N = T[0], j = 0; j < T.length; j++) {
1953
- var E = T[j], U = Ye(E), J = rn(E) === nn, de = [Te, De].indexOf(U) >= 0, Y = de ? "width" : "height", $ = Dn(t, { placement: E, boundary: c, rootBoundary: d, altBoundary: p, padding: l }), te = de ? J ? Ne : Ae : J ? De : Te;
1953
+ var E = T[j], U = Ye(E), J = rn(E) === nn, de = [Te, De].indexOf(U) >= 0, Y = de ? "width" : "height", $ = Dn(t, { placement: E, boundary: c, rootBoundary: d, altBoundary: f, padding: l }), te = de ? J ? Ne : Ae : J ? De : Te;
1954
1954
  I[Y] > A[Y] && (te = co(te));
1955
1955
  var Le = co(te), ge = [];
1956
1956
  if (a && ge.push($[U] <= 0), r && ge.push($[te] <= 0, $[Le] <= 0), ge.every(function(We) {
@@ -1961,7 +1961,7 @@ function Ah(e) {
1961
1961
  }
1962
1962
  O.set(E, ge);
1963
1963
  }
1964
- if (D) for (var be = f ? 3 : 1, Pe = function(We) {
1964
+ if (D) for (var be = p ? 3 : 1, Pe = function(We) {
1965
1965
  var Ce = T.find(function(le) {
1966
1966
  var Tt = O.get(le);
1967
1967
  if (Tt) return Tt.slice(0, We).every(function(ht) {
@@ -2010,7 +2010,7 @@ function $h(e) {
2010
2010
  return e === "x" ? "y" : "x";
2011
2011
  }
2012
2012
  function Fh(e) {
2013
- var t = e.state, n = e.options, o = e.name, i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, r = s === void 0 ? !1 : s, u = n.boundary, l = n.rootBoundary, c = n.altBoundary, d = n.padding, p = n.tether, m = p === void 0 ? !0 : p, f = n.tetherOffset, h = f === void 0 ? 0 : f, g = Dn(t, { boundary: u, rootBoundary: l, padding: d, altBoundary: c }), b = Ye(t.placement), w = rn(t.placement), M = !w, T = Vi(b), I = $h(T), A = t.modifiersData.popperOffsets, O = t.rects.reference, D = t.rects.popper, N = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, j = typeof N == "number" ? { mainAxis: N, altAxis: N } : Object.assign({ mainAxis: 0, altAxis: 0 }, N), E = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = { x: 0, y: 0 };
2013
+ var t = e.state, n = e.options, o = e.name, i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, r = s === void 0 ? !1 : s, u = n.boundary, l = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, m = f === void 0 ? !0 : f, p = n.tetherOffset, h = p === void 0 ? 0 : p, g = Dn(t, { boundary: u, rootBoundary: l, padding: d, altBoundary: c }), b = Ye(t.placement), w = rn(t.placement), M = !w, T = Vi(b), I = $h(T), A = t.modifiersData.popperOffsets, O = t.rects.reference, D = t.rects.popper, N = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, j = typeof N == "number" ? { mainAxis: N, altAxis: N } : Object.assign({ mainAxis: 0, altAxis: 0 }, N), E = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = { x: 0, y: 0 };
2014
2014
  if (A) {
2015
2015
  if (a) {
2016
2016
  var J, de = T === "y" ? Te : Ae, Y = T === "y" ? De : Ne, $ = T === "y" ? "height" : "width", te = A[T], Le = te + g[de], ge = te - g[Y], be = m ? -D[$] / 2 : 0, Pe = w === nn ? O[$] : D[$], Ke = w === nn ? -D[$] : -O[$], jt = t.elements.arrow, We = m && jt ? Bi(jt) : { width: 0, height: 0 }, Ce = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vr(), le = Ce[de], Tt = Ce[Y], ht = Mn(0, O[$], We[$]), Wn = M ? O[$] / 2 - be - ht - le - j.mainAxis : Pe - ht - le - j.mainAxis, Gn = M ? -O[$] / 2 + be + ht + Tt + j.mainAxis : Ke + ht + Tt + j.mainAxis, hn = t.elements.arrow && jn(t.elements.arrow), Ho = hn ? T === "y" ? hn.clientTop || 0 : hn.clientLeft || 0 : 0, qn = (J = E == null ? void 0 : E[T]) != null ? J : 0, jo = te + Wn - qn - Ho, Uo = te + Gn - qn, At = Mn(m ? yo(Le, jo) : Le, te, m ? Rt(ge, Uo) : ge);
@@ -2097,13 +2097,13 @@ function Ui(e) {
2097
2097
  var t = e, n = t.defaultModifiers, o = n === void 0 ? [] : n, i = t.defaultOptions, a = i === void 0 ? Xa : i;
2098
2098
  return function(s, r, u) {
2099
2099
  u === void 0 && (u = a);
2100
- var l = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, Xa, a), modifiersData: {}, elements: { reference: s, popper: r }, attributes: {}, styles: {} }, c = [], d = !1, p = { state: l, setOptions: function(h) {
2100
+ var l = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, Xa, a), modifiersData: {}, elements: { reference: s, popper: r }, attributes: {}, styles: {} }, c = [], d = !1, f = { state: l, setOptions: function(h) {
2101
2101
  var g = typeof h == "function" ? h(l.options) : h;
2102
- f(), l.options = Object.assign({}, a, l.options, g), l.scrollParents = { reference: on(s) ? Pn(s) : s.contextElement ? Pn(s.contextElement) : [], popper: Pn(r) };
2102
+ p(), l.options = Object.assign({}, a, l.options, g), l.scrollParents = { reference: on(s) ? Pn(s) : s.contextElement ? Pn(s.contextElement) : [], popper: Pn(r) };
2103
2103
  var b = jh(Kh([].concat(o, l.options.modifiers)));
2104
2104
  return l.orderedModifiers = b.filter(function(w) {
2105
2105
  return w.enabled;
2106
- }), m(), p.update();
2106
+ }), m(), f.update();
2107
2107
  }, forceUpdate: function() {
2108
2108
  if (!d) {
2109
2109
  var h = l.elements, g = h.reference, b = h.popper;
@@ -2117,37 +2117,37 @@ function Ui(e) {
2117
2117
  continue;
2118
2118
  }
2119
2119
  var M = l.orderedModifiers[w], T = M.fn, I = M.options, A = I === void 0 ? {} : I, O = M.name;
2120
- typeof T == "function" && (l = T({ state: l, options: A, name: O, instance: p }) || l);
2120
+ typeof T == "function" && (l = T({ state: l, options: A, name: O, instance: f }) || l);
2121
2121
  }
2122
2122
  }
2123
2123
  }
2124
2124
  }, update: Uh(function() {
2125
2125
  return new Promise(function(h) {
2126
- p.forceUpdate(), h(l);
2126
+ f.forceUpdate(), h(l);
2127
2127
  });
2128
2128
  }), destroy: function() {
2129
- f(), d = !0;
2129
+ p(), d = !0;
2130
2130
  } };
2131
- if (!es(s, r)) return p;
2132
- p.setOptions(u).then(function(h) {
2131
+ if (!es(s, r)) return f;
2132
+ f.setOptions(u).then(function(h) {
2133
2133
  !d && u.onFirstUpdate && u.onFirstUpdate(h);
2134
2134
  });
2135
2135
  function m() {
2136
2136
  l.orderedModifiers.forEach(function(h) {
2137
2137
  var g = h.name, b = h.options, w = b === void 0 ? {} : b, M = h.effect;
2138
2138
  if (typeof M == "function") {
2139
- var T = M({ state: l, name: g, instance: p, options: w }), I = function() {
2139
+ var T = M({ state: l, name: g, instance: f, options: w }), I = function() {
2140
2140
  };
2141
2141
  c.push(T || I);
2142
2142
  }
2143
2143
  });
2144
2144
  }
2145
- function f() {
2145
+ function p() {
2146
2146
  c.forEach(function(h) {
2147
2147
  return h();
2148
2148
  }), c = [];
2149
2149
  }
2150
- return p;
2150
+ return f;
2151
2151
  };
2152
2152
  }
2153
2153
  Ui();
@@ -2372,20 +2372,20 @@ function sv(e, {
2372
2372
  beforeBlur: o,
2373
2373
  afterBlur: i
2374
2374
  } = {}) {
2375
- const a = me(), { emit: s } = a, r = po(), u = P(!1), l = (p) => {
2376
- Se(t) && t(p) || u.value || (u.value = !0, s("focus", p), n == null || n());
2377
- }, c = (p) => {
2375
+ const a = me(), { emit: s } = a, r = po(), u = P(!1), l = (f) => {
2376
+ Se(t) && t(f) || u.value || (u.value = !0, s("focus", f), n == null || n());
2377
+ }, c = (f) => {
2378
2378
  var m;
2379
- Se(o) && o(p) || p.relatedTarget && ((m = r.value) != null && m.contains(p.relatedTarget)) || (u.value = !1, s("blur", p), i == null || i());
2379
+ Se(o) && o(f) || f.relatedTarget && ((m = r.value) != null && m.contains(f.relatedTarget)) || (u.value = !1, s("blur", f), i == null || i());
2380
2380
  }, d = () => {
2381
- var p, m;
2382
- (p = r.value) != null && p.contains(document.activeElement) && r.value !== document.activeElement || (m = e.value) == null || m.focus();
2381
+ var f, m;
2382
+ (f = r.value) != null && f.contains(document.activeElement) && r.value !== document.activeElement || (m = e.value) == null || m.focus();
2383
2383
  };
2384
- return W(r, (p) => {
2385
- p && p.setAttribute("tabindex", "-1");
2384
+ return W(r, (f) => {
2385
+ f && f.setAttribute("tabindex", "-1");
2386
2386
  }), ze(r, "focus", l, !0), ze(r, "blur", c, !0), ze(r, "click", d, !0), process.env.NODE_ENV === "test" && pe(() => {
2387
- const p = Lt(e.value) ? e.value : document.querySelector("input,textarea");
2388
- p && (ze(p, "focus", l, !0), ze(p, "blur", c, !0));
2387
+ const f = Lt(e.value) ? e.value : document.querySelector("input,textarea");
2388
+ f && (ze(f, "focus", l, !0), ze(f, "blur", c, !0));
2389
2389
  }), {
2390
2390
  isFocused: u,
2391
2391
  wrapperRef: r,
@@ -2606,11 +2606,11 @@ const Xe = Me(wv), Wi = Symbol("formContextKey"), So = Symbol("formItemContextKe
2606
2606
  n || ar(Iv, "can not inject scrollbar context");
2607
2607
  const i = P(), a = P(), s = P({}), r = P(!1);
2608
2608
  let u = !1, l = !1, c = se ? document.onselectstart : null;
2609
- const d = y(() => Sv[t.vertical ? "vertical" : "horizontal"]), p = y(() => Cv({
2609
+ const d = y(() => Sv[t.vertical ? "vertical" : "horizontal"]), f = y(() => Cv({
2610
2610
  size: t.size,
2611
2611
  move: t.move,
2612
2612
  bar: d.value
2613
- })), m = y(() => i.value[d.value.offset] ** 2 / n.wrapElement[d.value.scrollSize] / t.ratio / a.value[d.value.offset]), f = (A) => {
2613
+ })), m = y(() => i.value[d.value.offset] ** 2 / n.wrapElement[d.value.scrollSize] / t.ratio / a.value[d.value.offset]), p = (A) => {
2614
2614
  var O;
2615
2615
  if (A.stopPropagation(), A.ctrlKey || [1, 2].includes(A.button))
2616
2616
  return;
@@ -2660,8 +2660,8 @@ const Xe = Me(wv), Wi = Symbol("formContextKey"), So = Symbol("formItemContextKe
2660
2660
  ref_key: "thumb",
2661
2661
  ref: a,
2662
2662
  class: _(v(o).e("thumb")),
2663
- style: ce(v(p)),
2664
- onMousedown: f
2663
+ style: ce(v(f)),
2664
+ onMousedown: p
2665
2665
  }, null, 38)
2666
2666
  ], 34), [
2667
2667
  [Ee, A.always || r.value]
@@ -2687,32 +2687,32 @@ const Tv = Q({
2687
2687
  setup(e, { expose: t }) {
2688
2688
  const n = e, o = G(Gi), i = P(0), a = P(0), s = P(""), r = P(""), u = P(1), l = P(1);
2689
2689
  return t({
2690
- handleScroll: (p) => {
2691
- if (p) {
2692
- const m = p.offsetHeight - Gt, f = p.offsetWidth - Gt;
2693
- a.value = p.scrollTop * 100 / m * u.value, i.value = p.scrollLeft * 100 / f * l.value;
2690
+ handleScroll: (f) => {
2691
+ if (f) {
2692
+ const m = f.offsetHeight - Gt, p = f.offsetWidth - Gt;
2693
+ a.value = f.scrollTop * 100 / m * u.value, i.value = f.scrollLeft * 100 / p * l.value;
2694
2694
  }
2695
2695
  },
2696
2696
  update: () => {
2697
- const p = o == null ? void 0 : o.wrapElement;
2698
- if (!p)
2697
+ const f = o == null ? void 0 : o.wrapElement;
2698
+ if (!f)
2699
2699
  return;
2700
- const m = p.offsetHeight - Gt, f = p.offsetWidth - Gt, h = m ** 2 / p.scrollHeight, g = f ** 2 / p.scrollWidth, b = Math.max(h, n.minSize), w = Math.max(g, n.minSize);
2701
- u.value = h / (m - h) / (b / (m - b)), l.value = g / (f - g) / (w / (f - w)), r.value = b + Gt < m ? `${b}px` : "", s.value = w + Gt < f ? `${w}px` : "";
2700
+ const m = f.offsetHeight - Gt, p = f.offsetWidth - Gt, h = m ** 2 / f.scrollHeight, g = p ** 2 / f.scrollWidth, b = Math.max(h, n.minSize), w = Math.max(g, n.minSize);
2701
+ u.value = h / (m - h) / (b / (m - b)), l.value = g / (p - g) / (w / (p - w)), r.value = b + Gt < m ? `${b}px` : "", s.value = w + Gt < p ? `${w}px` : "";
2702
2702
  }
2703
- }), (p, m) => (C(), F(ye, null, [
2703
+ }), (f, m) => (C(), F(ye, null, [
2704
2704
  x(rs, {
2705
2705
  move: i.value,
2706
2706
  ratio: l.value,
2707
2707
  size: s.value,
2708
- always: p.always
2708
+ always: f.always
2709
2709
  }, null, 8, ["move", "ratio", "size", "always"]),
2710
2710
  x(rs, {
2711
2711
  move: a.value,
2712
2712
  ratio: u.value,
2713
2713
  size: r.value,
2714
2714
  vertical: "",
2715
- always: p.always
2715
+ always: f.always
2716
2716
  }, null, 8, ["move", "ratio", "size", "always"])
2717
2717
  ], 64));
2718
2718
  }
@@ -2778,16 +2778,16 @@ const Mv = Q({
2778
2778
  setup(e, { expose: t, emit: n }) {
2779
2779
  const o = e, i = ee("scrollbar");
2780
2780
  let a, s, r = 0, u = 0;
2781
- const l = P(), c = P(), d = P(), p = P(), m = y(() => {
2781
+ const l = P(), c = P(), d = P(), f = P(), m = y(() => {
2782
2782
  const I = {};
2783
2783
  return o.height && (I.height = Ft(o.height)), o.maxHeight && (I.maxHeight = Ft(o.maxHeight)), [o.wrapStyle, I];
2784
- }), f = y(() => [
2784
+ }), p = y(() => [
2785
2785
  o.wrapClass,
2786
2786
  i.e("wrap"),
2787
2787
  { [i.em("wrap", "hidden-default")]: !o.native }
2788
2788
  ]), h = y(() => [i.e("view"), o.viewClass]), g = () => {
2789
2789
  var I;
2790
- c.value && ((I = p.value) == null || I.handleScroll(c.value), r = c.value.scrollTop, u = c.value.scrollLeft, n("scroll", {
2790
+ c.value && ((I = f.value) == null || I.handleScroll(c.value), r = c.value.scrollTop, u = c.value.scrollLeft, n("scroll", {
2791
2791
  scrollTop: c.value.scrollTop,
2792
2792
  scrollLeft: c.value.scrollLeft
2793
2793
  }));
@@ -2809,14 +2809,14 @@ const Mv = Q({
2809
2809
  c.value.scrollLeft = I;
2810
2810
  }, T = () => {
2811
2811
  var I;
2812
- (I = p.value) == null || I.update();
2812
+ (I = f.value) == null || I.update();
2813
2813
  };
2814
2814
  return W(() => o.noresize, (I) => {
2815
2815
  I ? (a == null || a(), s == null || s()) : ({ stop: a } = yt(d, T), s = ze("resize", T));
2816
2816
  }, { immediate: !0 }), W(() => [o.maxHeight, o.height], () => {
2817
2817
  o.native || ue(() => {
2818
2818
  var I;
2819
- T(), c.value && ((I = p.value) == null || I.handleScroll(c.value));
2819
+ T(), c.value && ((I = f.value) == null || I.handleScroll(c.value));
2820
2820
  });
2821
2821
  }), fe(Gi, ut({
2822
2822
  scrollbarElement: l,
@@ -2842,7 +2842,7 @@ const Mv = Q({
2842
2842
  R("div", {
2843
2843
  ref_key: "wrapRef",
2844
2844
  ref: c,
2845
- class: _(v(f)),
2845
+ class: _(v(p)),
2846
2846
  style: ce(v(m)),
2847
2847
  tabindex: I.tabindex,
2848
2848
  onScroll: g
@@ -2866,7 +2866,7 @@ const Mv = Q({
2866
2866
  I.native ? z("v-if", !0) : (C(), V(Ov, {
2867
2867
  key: 0,
2868
2868
  ref_key: "barRef",
2869
- ref: p,
2869
+ ref: f,
2870
2870
  always: I.always,
2871
2871
  "min-size": I.minSize
2872
2872
  }, null, 8, ["always", "min-size"]))
@@ -3042,40 +3042,40 @@ const Fr = Q({
3042
3042
  d && (i.value = st(d));
3043
3043
  }, {
3044
3044
  immediate: !0
3045
- }), W(i, (d, p) => {
3045
+ }), W(i, (d, f) => {
3046
3046
  l == null || l(), l = void 0, Lt(d) && (c.forEach((m) => {
3047
- var f;
3047
+ var p;
3048
3048
  const h = n[m];
3049
- h && (d.addEventListener(m.slice(2).toLowerCase(), h), (f = p == null ? void 0 : p.removeEventListener) == null || f.call(p, m.slice(2).toLowerCase(), h));
3049
+ h && (d.addEventListener(m.slice(2).toLowerCase(), h), (p = f == null ? void 0 : f.removeEventListener) == null || p.call(f, m.slice(2).toLowerCase(), h));
3050
3050
  }), l = W([a, s, r, u], (m) => {
3051
3051
  [
3052
3052
  "aria-controls",
3053
3053
  "aria-describedby",
3054
3054
  "aria-haspopup",
3055
3055
  "aria-expanded"
3056
- ].forEach((f, h) => {
3057
- Po(m[h]) ? d.removeAttribute(f) : d.setAttribute(f, m[h]);
3056
+ ].forEach((p, h) => {
3057
+ Po(m[h]) ? d.removeAttribute(p) : d.setAttribute(p, m[h]);
3058
3058
  });
3059
- }, { immediate: !0 })), Lt(p) && [
3059
+ }, { immediate: !0 })), Lt(f) && [
3060
3060
  "aria-controls",
3061
3061
  "aria-describedby",
3062
3062
  "aria-haspopup",
3063
3063
  "aria-expanded"
3064
- ].forEach((m) => p.removeAttribute(m));
3064
+ ].forEach((m) => f.removeAttribute(m));
3065
3065
  }, {
3066
3066
  immediate: !0
3067
3067
  });
3068
3068
  }), Be(() => {
3069
3069
  if (l == null || l(), l = void 0, i.value && Lt(i.value)) {
3070
3070
  const d = i.value;
3071
- c.forEach((p) => {
3072
- const m = n[p];
3073
- m && d.removeEventListener(p.slice(2).toLowerCase(), m);
3071
+ c.forEach((f) => {
3072
+ const m = n[f];
3073
+ m && d.removeEventListener(f.slice(2).toLowerCase(), m);
3074
3074
  }), i.value = void 0;
3075
3075
  }
3076
3076
  }), t({
3077
3077
  triggerRef: i
3078
- }), (d, p) => d.virtualTriggering ? z("v-if", !0) : (C(), V(v(Hv), Nt({ key: 0 }, d.$attrs, {
3078
+ }), (d, f) => d.virtualTriggering ? z("v-if", !0) : (C(), V(v(Hv), Nt({ key: 0 }, d.$attrs, {
3079
3079
  "aria-controls": v(a),
3080
3080
  "aria-describedby": v(s),
3081
3081
  "aria-expanded": v(u),
@@ -3193,8 +3193,8 @@ const Zv = () => {
3193
3193
  const n = P();
3194
3194
  let o, i;
3195
3195
  const { focusReason: a } = em();
3196
- Qh((f) => {
3197
- e.trapped && !s.paused && t("release-requested", f);
3196
+ Qh((p) => {
3197
+ e.trapped && !s.paused && t("release-requested", p);
3198
3198
  });
3199
3199
  const s = {
3200
3200
  paused: !1,
@@ -3204,10 +3204,10 @@ const Zv = () => {
3204
3204
  resume() {
3205
3205
  this.paused = !1;
3206
3206
  }
3207
- }, r = (f) => {
3207
+ }, r = (p) => {
3208
3208
  if (!e.loop && !e.trapped || s.paused)
3209
3209
  return;
3210
- const { key: h, altKey: g, ctrlKey: b, metaKey: w, currentTarget: M, shiftKey: T } = f, { loop: I } = e, A = h === $n.tab && !g && !b && !w, O = document.activeElement;
3210
+ const { key: h, altKey: g, ctrlKey: b, metaKey: w, currentTarget: M, shiftKey: T } = p, { loop: I } = e, A = h === $n.tab && !g && !b && !w, O = document.activeElement;
3211
3211
  if (A && O) {
3212
3212
  const D = M, [N, j] = Jv(D);
3213
3213
  if (N && j) {
@@ -3215,42 +3215,42 @@ const Zv = () => {
3215
3215
  const U = ao({
3216
3216
  focusReason: a.value
3217
3217
  });
3218
- t("focusout-prevented", U), U.defaultPrevented || (f.preventDefault(), I && gt(N, !0));
3218
+ t("focusout-prevented", U), U.defaultPrevented || (p.preventDefault(), I && gt(N, !0));
3219
3219
  } else if (T && [N, D].includes(O)) {
3220
3220
  const U = ao({
3221
3221
  focusReason: a.value
3222
3222
  });
3223
- t("focusout-prevented", U), U.defaultPrevented || (f.preventDefault(), I && gt(j, !0));
3223
+ t("focusout-prevented", U), U.defaultPrevented || (p.preventDefault(), I && gt(j, !0));
3224
3224
  }
3225
3225
  } else if (O === D) {
3226
3226
  const U = ao({
3227
3227
  focusReason: a.value
3228
3228
  });
3229
- t("focusout-prevented", U), U.defaultPrevented || f.preventDefault();
3229
+ t("focusout-prevented", U), U.defaultPrevented || p.preventDefault();
3230
3230
  }
3231
3231
  }
3232
3232
  };
3233
3233
  fe(Dr, {
3234
3234
  focusTrapRef: n,
3235
3235
  onKeydown: r
3236
- }), W(() => e.focusTrapEl, (f) => {
3237
- f && (n.value = f);
3238
- }, { immediate: !0 }), W([n], ([f], [h]) => {
3239
- f && (f.addEventListener("keydown", r), f.addEventListener("focusin", c), f.addEventListener("focusout", d)), h && (h.removeEventListener("keydown", r), h.removeEventListener("focusin", c), h.removeEventListener("focusout", d));
3236
+ }), W(() => e.focusTrapEl, (p) => {
3237
+ p && (n.value = p);
3238
+ }, { immediate: !0 }), W([n], ([p], [h]) => {
3239
+ p && (p.addEventListener("keydown", r), p.addEventListener("focusin", c), p.addEventListener("focusout", d)), h && (h.removeEventListener("keydown", r), h.removeEventListener("focusin", c), h.removeEventListener("focusout", d));
3240
3240
  });
3241
- const u = (f) => {
3242
- t(cs, f);
3243
- }, l = (f) => t(ds, f), c = (f) => {
3241
+ const u = (p) => {
3242
+ t(cs, p);
3243
+ }, l = (p) => t(ds, p), c = (p) => {
3244
3244
  const h = v(n);
3245
3245
  if (!h)
3246
3246
  return;
3247
- const g = f.target, b = f.relatedTarget, w = g && h.contains(g);
3248
- e.trapped || b && h.contains(b) || (o = b), w && t("focusin", f), !s.paused && e.trapped && (w ? i = g : gt(i, !0));
3249
- }, d = (f) => {
3247
+ const g = p.target, b = p.relatedTarget, w = g && h.contains(g);
3248
+ e.trapped || b && h.contains(b) || (o = b), w && t("focusin", p), !s.paused && e.trapped && (w ? i = g : gt(i, !0));
3249
+ }, d = (p) => {
3250
3250
  const h = v(n);
3251
3251
  if (!(s.paused || !h))
3252
3252
  if (e.trapped) {
3253
- const g = f.relatedTarget;
3253
+ const g = p.relatedTarget;
3254
3254
  !Po(g) && !h.contains(g) && setTimeout(() => {
3255
3255
  if (!s.paused && e.trapped) {
3256
3256
  const b = ao({
@@ -3260,41 +3260,41 @@ const Zv = () => {
3260
3260
  }
3261
3261
  }, 0);
3262
3262
  } else {
3263
- const g = f.target;
3264
- g && h.contains(g) || t("focusout", f);
3263
+ const g = p.target;
3264
+ g && h.contains(g) || t("focusout", p);
3265
3265
  }
3266
3266
  };
3267
- async function p() {
3267
+ async function f() {
3268
3268
  await ue();
3269
- const f = v(n);
3270
- if (f) {
3269
+ const p = v(n);
3270
+ if (p) {
3271
3271
  hs.push(s);
3272
- const h = f.contains(document.activeElement) ? o : document.activeElement;
3273
- if (o = h, !f.contains(h)) {
3272
+ const h = p.contains(document.activeElement) ? o : document.activeElement;
3273
+ if (o = h, !p.contains(h)) {
3274
3274
  const b = new Event(Qo, us);
3275
- f.addEventListener(Qo, u), f.dispatchEvent(b), b.defaultPrevented || ue(() => {
3275
+ p.addEventListener(Qo, u), p.dispatchEvent(b), b.defaultPrevented || ue(() => {
3276
3276
  let w = e.focusStartEl;
3277
- He(w) || (gt(w), document.activeElement !== w && (w = "first")), w === "first" && Qv(Nr(f), !0), (document.activeElement === h || w === "container") && gt(f);
3277
+ He(w) || (gt(w), document.activeElement !== w && (w = "first")), w === "first" && Qv(Nr(p), !0), (document.activeElement === h || w === "container") && gt(p);
3278
3278
  });
3279
3279
  }
3280
3280
  }
3281
3281
  }
3282
3282
  function m() {
3283
- const f = v(n);
3284
- if (f) {
3285
- f.removeEventListener(Qo, u);
3283
+ const p = v(n);
3284
+ if (p) {
3285
+ p.removeEventListener(Qo, u);
3286
3286
  const h = new CustomEvent(Xo, {
3287
3287
  ...us,
3288
3288
  detail: {
3289
3289
  focusReason: a.value
3290
3290
  }
3291
3291
  });
3292
- f.addEventListener(Xo, l), f.dispatchEvent(h), !h.defaultPrevented && (a.value == "keyboard" || !Xv() || f.contains(document.activeElement)) && gt(o ?? document.body), f.removeEventListener(Xo, l), hs.remove(s);
3292
+ p.addEventListener(Xo, l), p.dispatchEvent(h), !h.defaultPrevented && (a.value == "keyboard" || !Xv() || p.contains(document.activeElement)) && gt(o ?? document.body), p.removeEventListener(Xo, l), hs.remove(s);
3293
3293
  }
3294
3294
  }
3295
3295
  return pe(() => {
3296
- e.trapped && p(), W(() => e.trapped, (f) => {
3297
- f ? p() : m();
3296
+ e.trapped && f(), W(() => e.trapped, (p) => {
3297
+ p ? f() : m();
3298
3298
  });
3299
3299
  }), Be(() => {
3300
3300
  e.trapped && m(), n.value && (n.value.removeEventListener("keydown", r), n.value.removeEventListener("focusin", c), n.value.removeEventListener("focusout", d), n.value = void 0);
@@ -3457,30 +3457,30 @@ const cm = 0, dm = (e) => {
3457
3457
  };
3458
3458
  }), l = y(() => ({
3459
3459
  onFirstUpdate: () => {
3460
- f();
3460
+ p();
3461
3461
  },
3462
3462
  ...sm(e, [
3463
3463
  v(u),
3464
3464
  v(r)
3465
3465
  ])
3466
- })), c = y(() => rm(e.referenceEl) || v(o)), { attributes: d, state: p, styles: m, update: f, forceUpdate: h, instanceRef: g } = Jh(c, n, l);
3466
+ })), c = y(() => rm(e.referenceEl) || v(o)), { attributes: d, state: f, styles: m, update: p, forceUpdate: h, instanceRef: g } = Jh(c, n, l);
3467
3467
  return W(g, (b) => t.value = b), pe(() => {
3468
3468
  W(() => {
3469
3469
  var b;
3470
3470
  return (b = v(c)) == null ? void 0 : b.getBoundingClientRect();
3471
3471
  }, () => {
3472
- f();
3472
+ p();
3473
3473
  });
3474
3474
  }), {
3475
3475
  attributes: d,
3476
3476
  arrowRef: a,
3477
3477
  contentRef: n,
3478
3478
  instanceRef: g,
3479
- state: p,
3479
+ state: f,
3480
3480
  styles: m,
3481
3481
  role: i,
3482
3482
  forceUpdate: h,
3483
- update: f
3483
+ update: p
3484
3484
  };
3485
3485
  }, fm = (e, {
3486
3486
  attributes: t,
@@ -3545,7 +3545,7 @@ const cm = 0, dm = (e) => {
3545
3545
  onFocusInTrap: u,
3546
3546
  onFocusoutPrevented: l,
3547
3547
  onReleaseRequested: c
3548
- } = pm(o, n), { attributes: d, arrowRef: p, contentRef: m, styles: f, instanceRef: h, role: g, update: b } = dm(o), {
3548
+ } = pm(o, n), { attributes: d, arrowRef: f, contentRef: m, styles: p, instanceRef: h, role: g, update: b } = dm(o), {
3549
3549
  ariaModal: w,
3550
3550
  arrowStyle: M,
3551
3551
  contentAttrs: T,
@@ -3553,13 +3553,13 @@ const cm = 0, dm = (e) => {
3553
3553
  contentStyle: A,
3554
3554
  updateZIndex: O
3555
3555
  } = fm(o, {
3556
- styles: f,
3556
+ styles: p,
3557
3557
  attributes: d,
3558
3558
  role: g
3559
3559
  }), D = G(So, void 0), N = P();
3560
3560
  fe(xr, {
3561
3561
  arrowStyle: M,
3562
- arrowRef: p,
3562
+ arrowRef: f,
3563
3563
  arrowOffset: N
3564
3564
  }), D && fe(So, {
3565
3565
  ...D,
@@ -3688,9 +3688,9 @@ const gm = Me(Nv), Zi = Symbol("elTooltip"), xe = Q({
3688
3688
  const n = e, o = ee("tooltip"), { controlled: i, id: a, open: s, onOpen: r, onClose: u, onToggle: l } = G(Zi, void 0), c = P(null), d = () => {
3689
3689
  if (v(i) || n.disabled)
3690
3690
  return !0;
3691
- }, p = Je(n, "trigger"), m = ot(d, qt(p, "hover", r)), f = ot(d, qt(p, "hover", u)), h = ot(d, qt(p, "click", (T) => {
3691
+ }, f = Je(n, "trigger"), m = ot(d, qt(f, "hover", r)), p = ot(d, qt(f, "hover", u)), h = ot(d, qt(f, "click", (T) => {
3692
3692
  T.button === 0 && l(T);
3693
- })), g = ot(d, qt(p, "focus", r)), b = ot(d, qt(p, "focus", u)), w = ot(d, qt(p, "contextmenu", (T) => {
3693
+ })), g = ot(d, qt(f, "focus", r)), b = ot(d, qt(f, "focus", u)), w = ot(d, qt(f, "contextmenu", (T) => {
3694
3694
  T.preventDefault(), l(T);
3695
3695
  })), M = ot(d, (T) => {
3696
3696
  const { code: I } = T;
@@ -3709,7 +3709,7 @@ const gm = Me(Nv), Zi = Symbol("elTooltip"), xe = Q({
3709
3709
  onContextmenu: v(w),
3710
3710
  onFocus: v(g),
3711
3711
  onMouseenter: v(m),
3712
- onMouseleave: v(f),
3712
+ onMouseleave: v(p),
3713
3713
  onKeydown: v(M)
3714
3714
  }, {
3715
3715
  default: k(() => [
@@ -3754,9 +3754,9 @@ const zr = Me(Mm), Pm = B({
3754
3754
  open: l,
3755
3755
  trigger: c,
3756
3756
  onClose: d,
3757
- onOpen: p,
3757
+ onOpen: f,
3758
3758
  onShow: m,
3759
- onHide: f,
3759
+ onHide: p,
3760
3760
  onBeforeShow: h,
3761
3761
  onBeforeHide: g
3762
3762
  } = G(Zi, void 0), b = y(() => n.transition || `${i.namespace.value}-fade-in-linear`), w = y(() => process.env.NODE_ENV === "test" ? !0 : n.persistent);
@@ -3767,12 +3767,12 @@ const zr = Me(Mm), Pm = B({
3767
3767
  var $;
3768
3768
  return ($ = n.style) != null ? $ : {};
3769
3769
  }), O = P(!0), D = () => {
3770
- f(), O.value = !0;
3770
+ p(), O.value = !0;
3771
3771
  }, N = () => {
3772
3772
  if (v(r))
3773
3773
  return !0;
3774
3774
  }, j = ot(N, () => {
3775
- n.enterable && v(c) === "hover" && p();
3775
+ n.enterable && v(c) === "hover" && f();
3776
3776
  }), E = ot(N, () => {
3777
3777
  v(c) === "hover" && d();
3778
3778
  }), U = () => {
@@ -3872,16 +3872,16 @@ const Lm = B({
3872
3872
  var b;
3873
3873
  const w = v(a);
3874
3874
  w && ((b = w.popperInstanceRef) == null || b.update());
3875
- }, u = P(!1), l = P(), { show: c, hide: d, hasUpdateHandler: p } = wm({
3875
+ }, u = P(!1), l = P(), { show: c, hide: d, hasUpdateHandler: f } = wm({
3876
3876
  indicator: u,
3877
3877
  toggleReason: l
3878
- }), { onOpen: m, onClose: f } = nv({
3878
+ }), { onOpen: m, onClose: p } = nv({
3879
3879
  showAfter: Je(o, "showAfter"),
3880
3880
  hideAfter: Je(o, "hideAfter"),
3881
3881
  autoClose: Je(o, "autoClose"),
3882
3882
  open: c,
3883
3883
  close: d
3884
- }), h = y(() => ct(o.visible) && !p.value);
3884
+ }), h = y(() => ct(o.visible) && !f.value);
3885
3885
  fe(Zi, {
3886
3886
  controlled: h,
3887
3887
  id: i,
@@ -3891,10 +3891,10 @@ const Lm = B({
3891
3891
  m(b);
3892
3892
  },
3893
3893
  onClose: (b) => {
3894
- f(b);
3894
+ p(b);
3895
3895
  },
3896
3896
  onToggle: (b) => {
3897
- v(u) ? f(b) : m(b);
3897
+ v(u) ? p(b) : m(b);
3898
3898
  },
3899
3899
  onShow: () => {
3900
3900
  n("show", l.value);
@@ -3923,7 +3923,7 @@ const Lm = B({
3923
3923
  isFocusInsideContent: g,
3924
3924
  updatePopper: r,
3925
3925
  onOpen: m,
3926
- onClose: f,
3926
+ onClose: p,
3927
3927
  hide: d
3928
3928
  }), (b, w) => (C(), V(v(gm), {
3929
3929
  ref_key: "popperRef",
@@ -4002,16 +4002,16 @@ const Hr = Me($m), jr = Symbol("buttonGroupContextKey"), Fm = (e, t) => {
4002
4002
  ref: "https://element-plus.org/en-US/component/button.html#button-attributes"
4003
4003
  }, y(() => e.type === "text"));
4004
4004
  const n = G(jr, void 0), o = Ro("button"), { form: i } = fn(), a = ln(y(() => n == null ? void 0 : n.size)), s = $o(), r = P(), u = Eo(), l = y(() => e.type || (n == null ? void 0 : n.type) || ""), c = y(() => {
4005
- var f, h, g;
4006
- return (g = (h = e.autoInsertSpace) != null ? h : (f = o.value) == null ? void 0 : f.autoInsertSpace) != null ? g : !1;
4005
+ var p, h, g;
4006
+ return (g = (h = e.autoInsertSpace) != null ? h : (p = o.value) == null ? void 0 : p.autoInsertSpace) != null ? g : !1;
4007
4007
  }), d = y(() => e.tag === "button" ? {
4008
4008
  ariaDisabled: s.value || e.loading,
4009
4009
  disabled: s.value || e.loading,
4010
4010
  autofocus: e.autofocus,
4011
4011
  type: e.nativeType
4012
- } : {}), p = y(() => {
4013
- var f;
4014
- const h = (f = u.default) == null ? void 0 : f.call(u);
4012
+ } : {}), f = y(() => {
4013
+ var p;
4014
+ const h = (p = u.default) == null ? void 0 : p.call(u);
4015
4015
  if (c.value && (h == null ? void 0 : h.length) === 1) {
4016
4016
  const g = h[0];
4017
4017
  if ((g == null ? void 0 : g.type) === Rs) {
@@ -4027,13 +4027,13 @@ const Hr = Me($m), jr = Symbol("buttonGroupContextKey"), Fm = (e, t) => {
4027
4027
  _type: l,
4028
4028
  _ref: r,
4029
4029
  _props: d,
4030
- shouldAddSpace: p,
4031
- handleClick: (f) => {
4030
+ shouldAddSpace: f,
4031
+ handleClick: (p) => {
4032
4032
  if (s.value || e.loading) {
4033
- f.stopPropagation();
4033
+ p.stopPropagation();
4034
4034
  return;
4035
4035
  }
4036
- e.nativeType === "reset" && (i == null || i.resetFields()), t("click", f);
4036
+ e.nativeType === "reset" && (i == null || i.resetFields()), t("click", p);
4037
4037
  }
4038
4038
  };
4039
4039
  }, Dm = [
@@ -4646,7 +4646,7 @@ const eg = B({
4646
4646
  props: yi,
4647
4647
  emits: Bm,
4648
4648
  setup(e, { expose: t, emit: n }) {
4649
- const o = e, i = Xm(o), a = ee("button"), { _ref: s, _size: r, _type: u, _disabled: l, _props: c, shouldAddSpace: d, handleClick: p } = Fm(o, n), m = y(() => [
4649
+ const o = e, i = Xm(o), a = ee("button"), { _ref: s, _size: r, _type: u, _disabled: l, _props: c, shouldAddSpace: d, handleClick: f } = Fm(o, n), m = y(() => [
4650
4650
  a.b(),
4651
4651
  a.m(u.value),
4652
4652
  a.m(r.value),
@@ -4665,36 +4665,36 @@ const eg = B({
4665
4665
  type: u,
4666
4666
  disabled: l,
4667
4667
  shouldAddSpace: d
4668
- }), (f, h) => (C(), V($e(f.tag), Nt({
4668
+ }), (p, h) => (C(), V($e(p.tag), Nt({
4669
4669
  ref_key: "_ref",
4670
4670
  ref: s
4671
4671
  }, v(c), {
4672
4672
  class: v(m),
4673
4673
  style: v(i),
4674
- onClick: v(p)
4674
+ onClick: v(f)
4675
4675
  }), {
4676
4676
  default: k(() => [
4677
- f.loading ? (C(), F(ye, { key: 0 }, [
4678
- f.$slots.loading ? H(f.$slots, "loading", { key: 0 }) : (C(), V(v(Xe), {
4677
+ p.loading ? (C(), F(ye, { key: 0 }, [
4678
+ p.$slots.loading ? H(p.$slots, "loading", { key: 0 }) : (C(), V(v(Xe), {
4679
4679
  key: 1,
4680
4680
  class: _(v(a).is("loading"))
4681
4681
  }, {
4682
4682
  default: k(() => [
4683
- (C(), V($e(f.loadingIcon)))
4683
+ (C(), V($e(p.loadingIcon)))
4684
4684
  ]),
4685
4685
  _: 1
4686
4686
  }, 8, ["class"]))
4687
- ], 64)) : f.icon || f.$slots.icon ? (C(), V(v(Xe), { key: 1 }, {
4687
+ ], 64)) : p.icon || p.$slots.icon ? (C(), V(v(Xe), { key: 1 }, {
4688
4688
  default: k(() => [
4689
- f.icon ? (C(), V($e(f.icon), { key: 0 })) : H(f.$slots, "icon", { key: 1 })
4689
+ p.icon ? (C(), V($e(p.icon), { key: 0 })) : H(p.$slots, "icon", { key: 1 })
4690
4690
  ]),
4691
4691
  _: 3
4692
4692
  })) : z("v-if", !0),
4693
- f.$slots.default ? (C(), F("span", {
4693
+ p.$slots.default ? (C(), F("span", {
4694
4694
  key: 2,
4695
4695
  class: _({ [v(a).em("text", "expand")]: v(d) })
4696
4696
  }, [
4697
- H(f.$slots, "default")
4697
+ H(p.$slots, "default")
4698
4698
  ], 2)) : z("v-if", !0)
4699
4699
  ]),
4700
4700
  _: 3
@@ -4748,8 +4748,8 @@ if (se) {
4748
4748
  function ws(e, t) {
4749
4749
  let n = [];
4750
4750
  return Array.isArray(t.arg) ? n = t.arg : Lt(t.arg) && n.push(t.arg), function(o, i) {
4751
- const a = t.instance.popperRef, s = o.target, r = i == null ? void 0 : i.target, u = !t || !t.instance, l = !s || !r, c = e.contains(s) || e.contains(r), d = e === s, p = n.length && n.some((f) => f == null ? void 0 : f.contains(s)) || n.length && n.includes(r), m = a && (a.contains(s) || a.contains(r));
4752
- u || l || c || d || p || m || t.value(o, i);
4751
+ const a = t.instance.popperRef, s = o.target, r = i == null ? void 0 : i.target, u = !t || !t.instance, l = !s || !r, c = e.contains(s) || e.contains(r), d = e === s, f = n.length && n.some((p) => p == null ? void 0 : p.contains(s)) || n.length && n.includes(r), m = a && (a.contains(s) || a.contains(r));
4752
+ u || l || c || d || f || m || t.value(o, i);
4753
4753
  };
4754
4754
  }
4755
4755
  const lg = {
@@ -4842,28 +4842,28 @@ const lg = {
4842
4842
  isLabeledByFormItem: a
4843
4843
  }) => {
4844
4844
  const s = G(pn, void 0), { formItem: r } = fn(), { emit: u } = me();
4845
- function l(f) {
4845
+ function l(p) {
4846
4846
  var h, g, b, w;
4847
- return [!0, e.trueValue, e.trueLabel].includes(f) ? (g = (h = e.trueValue) != null ? h : e.trueLabel) != null ? g : !0 : (w = (b = e.falseValue) != null ? b : e.falseLabel) != null ? w : !1;
4847
+ return [!0, e.trueValue, e.trueLabel].includes(p) ? (g = (h = e.trueValue) != null ? h : e.trueLabel) != null ? g : !0 : (w = (b = e.falseValue) != null ? b : e.falseLabel) != null ? w : !1;
4848
4848
  }
4849
- function c(f, h) {
4850
- u("change", l(f), h);
4849
+ function c(p, h) {
4850
+ u("change", l(p), h);
4851
4851
  }
4852
- function d(f) {
4852
+ function d(p) {
4853
4853
  if (n.value)
4854
4854
  return;
4855
- const h = f.target;
4856
- u("change", l(h.checked), f);
4855
+ const h = p.target;
4856
+ u("change", l(h.checked), p);
4857
4857
  }
4858
- async function p(f) {
4859
- n.value || !o.value && !i.value && a.value && (f.composedPath().some((b) => b.tagName === "LABEL") || (t.value = l([!1, e.falseValue, e.falseLabel].includes(t.value)), await ue(), c(t.value, f)));
4858
+ async function f(p) {
4859
+ n.value || !o.value && !i.value && a.value && (p.composedPath().some((b) => b.tagName === "LABEL") || (t.value = l([!1, e.falseValue, e.falseLabel].includes(t.value)), await ue(), c(t.value, p)));
4860
4860
  }
4861
4861
  const m = y(() => (s == null ? void 0 : s.validateEvent) || e.validateEvent);
4862
4862
  return W(() => e.modelValue, () => {
4863
- m.value && (r == null || r.validate("change").catch((f) => Oe(f)));
4863
+ m.value && (r == null || r.validate("change").catch((p) => Oe(p)));
4864
4864
  }), {
4865
4865
  handleChange: d,
4866
- onClickRoot: p
4866
+ onClickRoot: f
4867
4867
  };
4868
4868
  }, dg = (e) => {
4869
4869
  const t = P(!1), { emit: n } = me(), o = G(pn, void 0), i = y(() => Ct(o) === !1), a = P(!1), s = y({
@@ -4910,7 +4910,7 @@ const lg = {
4910
4910
  checkboxSize: l,
4911
4911
  hasOwnLabel: c,
4912
4912
  actualValue: d
4913
- } = fg(e, t, { model: o }), { isDisabled: p } = ug({ model: o, isChecked: r }), { inputId: m, isLabeledByFormItem: f } = Fo(e, {
4913
+ } = fg(e, t, { model: o }), { isDisabled: f } = ug({ model: o, isChecked: r }), { inputId: m, isLabeledByFormItem: p } = Fo(e, {
4914
4914
  formItemContext: n,
4915
4915
  disableIdGeneration: c,
4916
4916
  disableIdManagement: i
@@ -4918,8 +4918,8 @@ const lg = {
4918
4918
  model: o,
4919
4919
  isLimitExceeded: a,
4920
4920
  hasOwnLabel: c,
4921
- isDisabled: p,
4922
- isLabeledByFormItem: f
4921
+ isDisabled: f,
4922
+ isLabeledByFormItem: p
4923
4923
  });
4924
4924
  return (() => {
4925
4925
  function w() {
@@ -4947,9 +4947,9 @@ const lg = {
4947
4947
  ref: "https://element-plus.org/en-US/component/checkbox.html"
4948
4948
  }, y(() => !!e.falseLabel)), {
4949
4949
  inputId: m,
4950
- isLabeledByFormItem: f,
4950
+ isLabeledByFormItem: p,
4951
4951
  isChecked: r,
4952
- isDisabled: p,
4952
+ isDisabled: f,
4953
4953
  isFocused: s,
4954
4954
  checkboxButtonSize: u,
4955
4955
  checkboxSize: l,
@@ -4976,20 +4976,20 @@ const lg = {
4976
4976
  hasOwnLabel: l,
4977
4977
  model: c,
4978
4978
  actualValue: d,
4979
- handleChange: p,
4979
+ handleChange: f,
4980
4980
  onClickRoot: m
4981
- } = Jr(t, n), f = ee("checkbox"), h = y(() => [
4982
- f.b(),
4983
- f.m(u.value),
4984
- f.is("disabled", s.value),
4985
- f.is("bordered", t.border),
4986
- f.is("checked", a.value)
4981
+ } = Jr(t, n), p = ee("checkbox"), h = y(() => [
4982
+ p.b(),
4983
+ p.m(u.value),
4984
+ p.is("disabled", s.value),
4985
+ p.is("bordered", t.border),
4986
+ p.is("checked", a.value)
4987
4987
  ]), g = y(() => [
4988
- f.e("input"),
4989
- f.is("disabled", s.value),
4990
- f.is("checked", a.value),
4991
- f.is("indeterminate", t.indeterminate),
4992
- f.is("focus", r.value)
4988
+ p.e("input"),
4989
+ p.is("disabled", s.value),
4990
+ p.is("checked", a.value),
4991
+ p.is("indeterminate", t.indeterminate),
4992
+ p.is("focus", r.value)
4993
4993
  ]);
4994
4994
  return (b, w) => (C(), V($e(!v(l) && v(i) ? "span" : "label"), {
4995
4995
  class: _(v(h)),
@@ -5006,7 +5006,7 @@ const lg = {
5006
5006
  key: 0,
5007
5007
  id: v(o),
5008
5008
  "onUpdate:modelValue": (O) => lt(c) ? c.value = O : null,
5009
- class: _(v(f).e("original")),
5009
+ class: _(v(p).e("original")),
5010
5010
  type: "checkbox",
5011
5011
  indeterminate: b.indeterminate,
5012
5012
  name: b.name,
@@ -5014,7 +5014,7 @@ const lg = {
5014
5014
  disabled: v(s),
5015
5015
  "true-value": (T = (M = b.trueValue) != null ? M : b.trueLabel) != null ? T : !0,
5016
5016
  "false-value": (A = (I = b.falseValue) != null ? I : b.falseLabel) != null ? A : !1,
5017
- onChange: v(p),
5017
+ onChange: v(f),
5018
5018
  onFocus: (O) => r.value = !0,
5019
5019
  onBlur: (O) => r.value = !1,
5020
5020
  onClick: re(() => {
@@ -5025,14 +5025,14 @@ const lg = {
5025
5025
  key: 1,
5026
5026
  id: v(o),
5027
5027
  "onUpdate:modelValue": (O) => lt(c) ? c.value = O : null,
5028
- class: _(v(f).e("original")),
5028
+ class: _(v(p).e("original")),
5029
5029
  type: "checkbox",
5030
5030
  indeterminate: b.indeterminate,
5031
5031
  disabled: v(s),
5032
5032
  value: v(d),
5033
5033
  name: b.name,
5034
5034
  tabindex: b.tabindex,
5035
- onChange: v(p),
5035
+ onChange: v(f),
5036
5036
  onFocus: (O) => r.value = !0,
5037
5037
  onBlur: (O) => r.value = !1,
5038
5038
  onClick: re(() => {
@@ -5041,12 +5041,12 @@ const lg = {
5041
5041
  [vo, v(c)]
5042
5042
  ]),
5043
5043
  R("span", {
5044
- class: _(v(f).e("inner"))
5044
+ class: _(v(p).e("inner"))
5045
5045
  }, null, 2)
5046
5046
  ], 2),
5047
5047
  v(l) ? (C(), F("span", {
5048
5048
  key: 0,
5049
- class: _(v(f).e("label"))
5049
+ class: _(v(p).e("label"))
5050
5050
  }, [
5051
5051
  H(b.$slots, "default"),
5052
5052
  b.$slots.default ? z("v-if", !0) : (C(), F(ye, { key: 0 }, [
@@ -5075,9 +5075,9 @@ const mg = B({
5075
5075
  model: r,
5076
5076
  actualValue: u,
5077
5077
  handleChange: l
5078
- } = Jr(t, n), c = G(pn, void 0), d = ee("checkbox"), p = y(() => {
5079
- var f, h, g, b;
5080
- const w = (h = (f = c == null ? void 0 : c.fill) == null ? void 0 : f.value) != null ? h : "";
5078
+ } = Jr(t, n), c = G(pn, void 0), d = ee("checkbox"), f = y(() => {
5079
+ var p, h, g, b;
5080
+ const w = (h = (p = c == null ? void 0 : c.fill) == null ? void 0 : p.value) != null ? h : "";
5081
5081
  return {
5082
5082
  backgroundColor: w,
5083
5083
  borderColor: w,
@@ -5091,21 +5091,21 @@ const mg = B({
5091
5091
  d.is("checked", i.value),
5092
5092
  d.is("focus", o.value)
5093
5093
  ]);
5094
- return (f, h) => {
5094
+ return (p, h) => {
5095
5095
  var g, b, w, M;
5096
5096
  return C(), F("label", {
5097
5097
  class: _(v(m))
5098
5098
  }, [
5099
- f.trueValue || f.falseValue || f.trueLabel || f.falseLabel ? oe((C(), F("input", {
5099
+ p.trueValue || p.falseValue || p.trueLabel || p.falseLabel ? oe((C(), F("input", {
5100
5100
  key: 0,
5101
5101
  "onUpdate:modelValue": (T) => lt(r) ? r.value = T : null,
5102
5102
  class: _(v(d).be("button", "original")),
5103
5103
  type: "checkbox",
5104
- name: f.name,
5105
- tabindex: f.tabindex,
5104
+ name: p.name,
5105
+ tabindex: p.tabindex,
5106
5106
  disabled: v(a),
5107
- "true-value": (b = (g = f.trueValue) != null ? g : f.trueLabel) != null ? b : !0,
5108
- "false-value": (M = (w = f.falseValue) != null ? w : f.falseLabel) != null ? M : !1,
5107
+ "true-value": (b = (g = p.trueValue) != null ? g : p.trueLabel) != null ? b : !0,
5108
+ "false-value": (M = (w = p.falseValue) != null ? w : p.falseLabel) != null ? M : !1,
5109
5109
  onChange: v(l),
5110
5110
  onFocus: (T) => o.value = !0,
5111
5111
  onBlur: (T) => o.value = !1,
@@ -5118,8 +5118,8 @@ const mg = B({
5118
5118
  "onUpdate:modelValue": (T) => lt(r) ? r.value = T : null,
5119
5119
  class: _(v(d).be("button", "original")),
5120
5120
  type: "checkbox",
5121
- name: f.name,
5122
- tabindex: f.tabindex,
5121
+ name: p.name,
5122
+ tabindex: p.tabindex,
5123
5123
  disabled: v(a),
5124
5124
  value: v(u),
5125
5125
  onChange: v(l),
@@ -5130,13 +5130,13 @@ const mg = B({
5130
5130
  }, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "value", "onChange", "onFocus", "onBlur", "onClick"])), [
5131
5131
  [vo, v(r)]
5132
5132
  ]),
5133
- f.$slots.default || f.label ? (C(), F("span", {
5133
+ p.$slots.default || p.label ? (C(), F("span", {
5134
5134
  key: 2,
5135
5135
  class: _(v(d).be("button", "inner")),
5136
- style: ce(v(i) ? v(p) : void 0)
5136
+ style: ce(v(i) ? v(f) : void 0)
5137
5137
  }, [
5138
- H(f.$slots, "default", {}, () => [
5139
- Z(ie(f.label), 1)
5138
+ H(p.$slots, "default", {}, () => [
5139
+ Z(ie(p.label), 1)
5140
5140
  ])
5141
5141
  ], 6)) : z("v-if", !0)
5142
5142
  ], 2);
@@ -5285,14 +5285,14 @@ const Xr = zt(Zr), el = Q({
5285
5285
  function d() {
5286
5286
  ue(() => t("change", l.value));
5287
5287
  }
5288
- return (p, m) => {
5289
- var f;
5288
+ return (f, m) => {
5289
+ var p;
5290
5290
  return C(), F("label", {
5291
5291
  class: _([
5292
5292
  v(o).b(),
5293
5293
  v(o).is("disabled", v(u)),
5294
5294
  v(o).is("focus", v(s)),
5295
- v(o).is("bordered", p.border),
5295
+ v(o).is("bordered", f.border),
5296
5296
  v(o).is("checked", v(l) === v(c)),
5297
5297
  v(o).m(v(r))
5298
5298
  ])
@@ -5310,7 +5310,7 @@ const Xr = zt(Zr), el = Q({
5310
5310
  "onUpdate:modelValue": (h) => lt(l) ? l.value = h : null,
5311
5311
  class: _(v(o).e("original")),
5312
5312
  value: v(c),
5313
- name: p.name || ((f = v(a)) == null ? void 0 : f.name),
5313
+ name: f.name || ((p = v(a)) == null ? void 0 : p.name),
5314
5314
  disabled: v(u),
5315
5315
  checked: v(l) === v(c),
5316
5316
  type: "radio",
@@ -5331,8 +5331,8 @@ const Xr = zt(Zr), el = Q({
5331
5331
  onKeydown: re(() => {
5332
5332
  }, ["stop"])
5333
5333
  }, [
5334
- H(p.$slots, "default", {}, () => [
5335
- Z(ie(p.label), 1)
5334
+ H(f.$slots, "default", {}, () => [
5335
+ Z(ie(f.label), 1)
5336
5336
  ])
5337
5337
  ], 42, ["onKeydown"])
5338
5338
  ], 2);
@@ -5354,7 +5354,7 @@ const Tg = Q({
5354
5354
  boxShadow: u != null && u.fill ? `-1px 0 0 0 ${u.fill}` : "",
5355
5355
  color: (u == null ? void 0 : u.textColor) || ""
5356
5356
  }));
5357
- return (d, p) => {
5357
+ return (d, f) => {
5358
5358
  var m;
5359
5359
  return C(), F("label", {
5360
5360
  class: _([
@@ -5368,14 +5368,14 @@ const Tg = Q({
5368
5368
  oe(R("input", {
5369
5369
  ref_key: "radioRef",
5370
5370
  ref: o,
5371
- "onUpdate:modelValue": (f) => lt(r) ? r.value = f : null,
5371
+ "onUpdate:modelValue": (p) => lt(r) ? r.value = p : null,
5372
5372
  class: _(v(n).be("button", "original-radio")),
5373
5373
  value: v(l),
5374
5374
  type: "radio",
5375
5375
  name: d.name || ((m = v(u)) == null ? void 0 : m.name),
5376
5376
  disabled: v(s),
5377
- onFocus: (f) => i.value = !0,
5378
- onBlur: (f) => i.value = !1,
5377
+ onFocus: (p) => i.value = !0,
5378
+ onBlur: (p) => i.value = !1,
5379
5379
  onClick: re(() => {
5380
5380
  }, ["stop"])
5381
5381
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
@@ -5437,8 +5437,8 @@ const Mg = Q({
5437
5437
  t(we, d), ue(() => t("change", d));
5438
5438
  };
5439
5439
  pe(() => {
5440
- const d = a.value.querySelectorAll("[type=radio]"), p = d[0];
5441
- !Array.from(d).some((m) => m.checked) && p && (p.tabIndex = 0);
5440
+ const d = a.value.querySelectorAll("[type=radio]"), f = d[0];
5441
+ !Array.from(d).some((m) => m.checked) && f && (f.tabIndex = 0);
5442
5442
  });
5443
5443
  const c = y(() => n.name || i.value);
5444
5444
  return fe(nl, ut({
@@ -5447,7 +5447,7 @@ const Mg = Q({
5447
5447
  name: c
5448
5448
  })), W(() => n.modelValue, () => {
5449
5449
  n.validateEvent && (s == null || s.validate("change").catch((d) => Oe(d)));
5450
- }), (d, p) => (C(), F("div", {
5450
+ }), (d, f) => (C(), F("div", {
5451
5451
  id: v(r),
5452
5452
  ref_key: "radioGroupRef",
5453
5453
  ref: a,
@@ -5497,10 +5497,10 @@ const Si = Q({
5497
5497
  emits: Lg,
5498
5498
  setup(e, { emit: t }) {
5499
5499
  const n = e, o = ln(), i = ee("tag"), a = y(() => {
5500
- const { type: l, hit: c, effect: d, closable: p, round: m } = n;
5500
+ const { type: l, hit: c, effect: d, closable: f, round: m } = n;
5501
5501
  return [
5502
5502
  i.b(),
5503
- i.is("closable", p),
5503
+ i.is("closable", f),
5504
5504
  i.m(l || "primary"),
5505
5505
  i.m(o.value),
5506
5506
  i.m(d),
@@ -5779,11 +5779,11 @@ const Qg = Zg, ul = Symbol("dialogInjectionKey"), cl = Q({
5779
5779
  u.is("draggable", n.draggable),
5780
5780
  u.is("align-center", n.alignCenter),
5781
5781
  { [u.m("center")]: n.center }
5782
- ]), p = $p(c, a), m = y(() => n.draggable), f = y(() => n.overflow), { resetPosition: h } = Dp(a, s, m, f);
5782
+ ]), f = $p(c, a), m = y(() => n.draggable), p = y(() => n.overflow), { resetPosition: h } = Dp(a, s, m, p);
5783
5783
  return t({
5784
5784
  resetPosition: h
5785
5785
  }), (g, b) => (C(), F("div", {
5786
- ref: v(p),
5786
+ ref: v(f),
5787
5787
  class: _(v(d)),
5788
5788
  style: ce(v(l)),
5789
5789
  tabindex: "-1"
@@ -5896,8 +5896,8 @@ const ob = Q({
5896
5896
  var n;
5897
5897
  const i = me().emit, { nextZIndex: a } = Ki();
5898
5898
  let s = "";
5899
- const r = Dt(), u = Dt(), l = P(!1), c = P(!1), d = P(!1), p = P((n = e.zIndex) != null ? n : a());
5900
- let m, f;
5899
+ const r = Dt(), u = Dt(), l = P(!1), c = P(!1), d = P(!1), f = P((n = e.zIndex) != null ? n : a());
5900
+ let m, p;
5901
5901
  const h = Ro("namespace", On), g = y(() => {
5902
5902
  const Y = {}, $ = `--${h.value}-dialog`;
5903
5903
  return e.fullscreen || (e.top && (Y[`${$}-margin-top`] = e.top), e.width && (Y[`${$}-width`] = Ft(e.width))), Y;
@@ -5912,10 +5912,10 @@ const ob = Q({
5912
5912
  i("close");
5913
5913
  }
5914
5914
  function I() {
5915
- f == null || f(), m == null || m(), e.openDelay && e.openDelay > 0 ? { stop: m } = ua(() => N(), e.openDelay) : N();
5915
+ p == null || p(), m == null || m(), e.openDelay && e.openDelay > 0 ? { stop: m } = ua(() => N(), e.openDelay) : N();
5916
5916
  }
5917
5917
  function A() {
5918
- m == null || m(), f == null || f(), e.closeDelay && e.closeDelay > 0 ? { stop: f } = ua(() => j(), e.closeDelay) : j();
5918
+ m == null || m(), p == null || p(), e.closeDelay && e.closeDelay > 0 ? { stop: p } = ua(() => j(), e.closeDelay) : j();
5919
5919
  }
5920
5920
  function O() {
5921
5921
  function Y($) {
@@ -5947,7 +5947,7 @@ const ob = Q({
5947
5947
  e.closeOnPressEscape && O();
5948
5948
  }
5949
5949
  return W(() => e.modelValue, (Y) => {
5950
- Y ? (c.value = !1, I(), d.value = !0, p.value = nr(e.zIndex) ? a() : p.value++, ue(() => {
5950
+ Y ? (c.value = !1, I(), d.value = !0, f.value = nr(e.zIndex) ? a() : f.value++, ue(() => {
5951
5951
  i("open"), t.value && (t.value.scrollTop = 0);
5952
5952
  })) : l.value && A();
5953
5953
  }), W(() => e.fullscreen, (Y) => {
@@ -5973,7 +5973,7 @@ const ob = Q({
5973
5973
  overlayDialogStyle: b,
5974
5974
  rendered: d,
5975
5975
  visible: l,
5976
- zIndex: p
5976
+ zIndex: f
5977
5977
  };
5978
5978
  }, sb = B({
5979
5979
  name: "ElDialog",
@@ -5996,9 +5996,9 @@ const ob = Q({
5996
5996
  titleId: l,
5997
5997
  bodyId: c,
5998
5998
  style: d,
5999
- overlayDialogStyle: p,
5999
+ overlayDialogStyle: f,
6000
6000
  rendered: m,
6001
- zIndex: f,
6001
+ zIndex: p,
6002
6002
  afterEnter: h,
6003
6003
  afterLeave: g,
6004
6004
  beforeLeave: b,
@@ -6042,7 +6042,7 @@ const ob = Q({
6042
6042
  "custom-mask-event": "",
6043
6043
  mask: E.modal,
6044
6044
  "overlay-class": E.modalClass,
6045
- "z-index": v(f)
6045
+ "z-index": v(p)
6046
6046
  }, {
6047
6047
  default: k(() => [
6048
6048
  R("div", {
@@ -6052,7 +6052,7 @@ const ob = Q({
6052
6052
  "aria-labelledby": E.title ? void 0 : v(l),
6053
6053
  "aria-describedby": v(c),
6054
6054
  class: _(`${v(i).namespace.value}-overlay-dialog`),
6055
- style: ce(v(p)),
6055
+ style: ce(v(f)),
6056
6056
  onClick: v(D).onClick,
6057
6057
  onMousedown: v(D).onMousedown,
6058
6058
  onMouseup: v(D).onMouseup
@@ -6149,7 +6149,7 @@ const mb = "data-el-collection-item", gb = (e) => {
6149
6149
  if (!c)
6150
6150
  return [];
6151
6151
  const d = Array.from(c.querySelectorAll(`[${mb}]`));
6152
- return [...u.values()].sort((m, f) => d.indexOf(m.ref) - d.indexOf(f.ref));
6152
+ return [...u.values()].sort((m, p) => d.indexOf(m.ref) - d.indexOf(p.ref));
6153
6153
  },
6154
6154
  collectionRef: r
6155
6155
  });
@@ -6261,28 +6261,28 @@ function bb(e, t) {
6261
6261
  const n = G(No), o = G(dl, { disabled: !1 }), i = y(() => c(St(n.props.modelValue), e.value)), a = y(() => {
6262
6262
  var m;
6263
6263
  if (n.props.multiple) {
6264
- const f = St((m = n.props.modelValue) != null ? m : []);
6265
- return !i.value && f.length >= n.props.multipleLimit && n.props.multipleLimit > 0;
6264
+ const p = St((m = n.props.modelValue) != null ? m : []);
6265
+ return !i.value && p.length >= n.props.multipleLimit && n.props.multipleLimit > 0;
6266
6266
  } else
6267
6267
  return !1;
6268
- }), s = y(() => e.label || (ke(e.value) ? "" : e.value)), r = y(() => e.value || e.label || ""), u = y(() => e.disabled || t.groupDisabled || a.value), l = me(), c = (m = [], f) => {
6268
+ }), s = y(() => e.label || (ke(e.value) ? "" : e.value)), r = y(() => e.value || e.label || ""), u = y(() => e.disabled || t.groupDisabled || a.value), l = me(), c = (m = [], p) => {
6269
6269
  if (ke(e.value)) {
6270
6270
  const h = n.props.valueKey;
6271
- return m && m.some((g) => ho(it(g, h)) === it(f, h));
6271
+ return m && m.some((g) => ho(it(g, h)) === it(p, h));
6272
6272
  } else
6273
- return m && m.includes(f);
6273
+ return m && m.includes(p);
6274
6274
  }, d = () => {
6275
6275
  !e.disabled && !o.disabled && (n.states.hoveringIndex = n.optionsArray.indexOf(l.proxy));
6276
- }, p = (m) => {
6277
- const f = new RegExp(Ap(m), "i");
6278
- t.visible = f.test(s.value) || e.created;
6276
+ }, f = (m) => {
6277
+ const p = new RegExp(Ap(m), "i");
6278
+ t.visible = p.test(s.value) || e.created;
6279
6279
  };
6280
6280
  return W(() => s.value, () => {
6281
6281
  !e.created && !n.props.remote && n.setSelected();
6282
- }), W(() => e.value, (m, f) => {
6282
+ }), W(() => e.value, (m, p) => {
6283
6283
  const { remote: h, valueKey: g } = n.props;
6284
- if (m !== f && (n.onOptionDestroy(f, l.proxy), n.onOptionCreate(l.proxy)), !e.created && !h) {
6285
- if (g && ke(m) && ke(f) && m[g] === f[g])
6284
+ if (m !== p && (n.onOptionDestroy(p, l.proxy), n.onOptionCreate(l.proxy)), !e.created && !h) {
6285
+ if (g && ke(m) && ke(p) && m[g] === p[g])
6286
6286
  return;
6287
6287
  n.setSelected();
6288
6288
  }
@@ -6295,7 +6295,7 @@ function bb(e, t) {
6295
6295
  itemSelected: i,
6296
6296
  isDisabled: u,
6297
6297
  hoverItem: d,
6298
- updateOption: p
6298
+ updateOption: f
6299
6299
  };
6300
6300
  }
6301
6301
  const yb = B({
@@ -6315,7 +6315,7 @@ const yb = B({
6315
6315
  t.be("dropdown", "item"),
6316
6316
  t.is("disabled", v(r)),
6317
6317
  t.is("selected", v(s)),
6318
- t.is("hovering", v(p))
6318
+ t.is("hovering", v(f))
6319
6319
  ]), i = ut({
6320
6320
  index: -1,
6321
6321
  groupDisabled: !1,
@@ -6328,14 +6328,14 @@ const yb = B({
6328
6328
  select: u,
6329
6329
  hoverItem: l,
6330
6330
  updateOption: c
6331
- } = bb(e, i), { visible: d, hover: p } = un(i), m = me().proxy;
6331
+ } = bb(e, i), { visible: d, hover: f } = un(i), m = me().proxy;
6332
6332
  u.onOptionCreate(m), Be(() => {
6333
6333
  const h = m.value, { selected: g } = u.states, w = (u.props.multiple ? g : [g]).some((M) => M.value === m.value);
6334
6334
  ue(() => {
6335
6335
  u.states.cachedOptions.get(h) === m && !w && u.states.cachedOptions.delete(h);
6336
6336
  }), u.onOptionDestroy(h, m);
6337
6337
  });
6338
- function f() {
6338
+ function p() {
6339
6339
  r.value || u.handleOptionSelect(m);
6340
6340
  }
6341
6341
  return {
@@ -6349,8 +6349,8 @@ const yb = B({
6349
6349
  hoverItem: l,
6350
6350
  updateOption: c,
6351
6351
  visible: d,
6352
- hover: p,
6353
- selectOptionClick: f,
6352
+ hover: f,
6353
+ selectOptionClick: p,
6354
6354
  states: i
6355
6355
  };
6356
6356
  }
@@ -6431,7 +6431,7 @@ const Ib = 11, kb = (e, t) => {
6431
6431
  inputHovering: !1,
6432
6432
  menuVisibleOnFocus: !1,
6433
6433
  isBeforeHide: !1
6434
- }), r = P(null), u = P(null), l = P(null), c = P(null), d = P(null), p = P(null), m = P(null), f = P(null), h = P(null), g = P(null), b = P(null), w = P(null), {
6434
+ }), r = P(null), u = P(null), l = P(null), c = P(null), d = P(null), f = P(null), m = P(null), p = P(null), h = P(null), g = P(null), b = P(null), w = P(null), {
6435
6435
  isComposing: M,
6436
6436
  handleCompositionStart: T,
6437
6437
  handleCompositionUpdate: I,
@@ -6552,7 +6552,7 @@ const Ib = 11, kb = (e, t) => {
6552
6552
  }, Kt = () => {
6553
6553
  s.selectionWidth = u.value.getBoundingClientRect().width;
6554
6554
  }, mn = () => {
6555
- s.calculatorWidth = p.value.getBoundingClientRect().width;
6555
+ s.calculatorWidth = f.value.getBoundingClientRect().width;
6556
6556
  }, Yn = () => {
6557
6557
  s.collapseItemWidth = b.value.getBoundingClientRect().width;
6558
6558
  }, Ot = () => {
@@ -6669,7 +6669,7 @@ const Ib = 11, kb = (e, t) => {
6669
6669
  }), Fl = y(() => ({ maxWidth: `${s.selectionWidth}px` })), Dl = y(() => ({
6670
6670
  width: `${Math.max(s.calculatorWidth, Ib)}px`
6671
6671
  }));
6672
- return yt(u, Kt), yt(p, mn), yt(h, Ot), yt(O, Ot), yt(g, gn), yt(b, Yn), pe(() => {
6672
+ return yt(u, Kt), yt(f, mn), yt(h, Ot), yt(O, Ot), yt(g, gn), yt(b, Yn), pe(() => {
6673
6673
  Ut();
6674
6674
  }), {
6675
6675
  inputId: J,
@@ -6733,9 +6733,9 @@ const Ib = 11, kb = (e, t) => {
6733
6733
  inputRef: d,
6734
6734
  tooltipRef: l,
6735
6735
  tagTooltipRef: c,
6736
- calculatorRef: p,
6736
+ calculatorRef: f,
6737
6737
  prefixRef: m,
6738
- suffixRef: f,
6738
+ suffixRef: p,
6739
6739
  selectRef: r,
6740
6740
  wrapperRef: O,
6741
6741
  selectionRef: u,
@@ -6755,9 +6755,9 @@ var Tb = B({
6755
6755
  const s = (i = t.default) == null ? void 0 : i.call(t), r = [];
6756
6756
  function u(l) {
6757
6757
  Ie(l) && l.forEach((c) => {
6758
- var d, p, m, f;
6758
+ var d, f, m, p;
6759
6759
  const h = (d = (c == null ? void 0 : c.type) || {}) == null ? void 0 : d.name;
6760
- h === "ElOptionGroup" ? u(!He(c.children) && !Ie(c.children) && Se((p = c.children) == null ? void 0 : p.default) ? (m = c.children) == null ? void 0 : m.default() : c.children) : h === "ElOption" ? r.push((f = c.props) == null ? void 0 : f.value) : Ie(c.children) && u(c.children);
6760
+ h === "ElOptionGroup" ? u(!He(c.children) && !Ie(c.children) && Se((f = c.children) == null ? void 0 : f.default) ? (m = c.children) == null ? void 0 : m.default() : c.children) : h === "ElOption" ? r.push((p = c.props) == null ? void 0 : p.value) : Ie(c.children) && u(c.children);
6761
6761
  });
6762
6762
  }
6763
6763
  return s.length && u((a = s[0]) == null ? void 0 : a.children), bo(r, o) || (o = r, n && (n.states.optionValues = r)), s;
@@ -6903,12 +6903,12 @@ const Ab = Q({
6903
6903
  }
6904
6904
  });
6905
6905
  function Mb(e, t, n, o, i, a) {
6906
- const s = Re("el-tag"), r = Re("el-tooltip"), u = Re("el-icon"), l = Re("el-option"), c = Re("el-options"), d = Re("el-scrollbar"), p = Re("el-select-menu"), m = Jl("click-outside");
6906
+ const s = Re("el-tag"), r = Re("el-tooltip"), u = Re("el-icon"), l = Re("el-option"), c = Re("el-options"), d = Re("el-scrollbar"), f = Re("el-select-menu"), m = Jl("click-outside");
6907
6907
  return oe((C(), F("div", {
6908
6908
  ref: "selectRef",
6909
6909
  class: _([e.nsSelect.b(), e.nsSelect.m(e.selectSize)]),
6910
- [Yl(e.mouseEnterEventName)]: (f) => e.states.inputHovering = !0,
6911
- onMouseleave: (f) => e.states.inputHovering = !1
6910
+ [Yl(e.mouseEnterEventName)]: (p) => e.states.inputHovering = !0,
6911
+ onMouseleave: (p) => e.states.inputHovering = !1
6912
6912
  }, [
6913
6913
  x(r, {
6914
6914
  ref: "tooltipRef",
@@ -6927,10 +6927,10 @@ function Mb(e, t, n, o, i, a) {
6927
6927
  persistent: e.persistent,
6928
6928
  "append-to": e.appendTo,
6929
6929
  onBeforeShow: e.handleMenuEnter,
6930
- onHide: (f) => e.states.isBeforeHide = !1
6930
+ onHide: (p) => e.states.isBeforeHide = !1
6931
6931
  }, {
6932
6932
  default: k(() => {
6933
- var f;
6933
+ var p;
6934
6934
  return [
6935
6935
  R("div", {
6936
6936
  ref: "wrapperRef",
@@ -7076,7 +7076,7 @@ function Mb(e, t, n, o, i, a) {
7076
7076
  role: "combobox",
7077
7077
  readonly: !e.filterable,
7078
7078
  spellcheck: "false",
7079
- "aria-activedescendant": ((f = e.hoverOption) == null ? void 0 : f.id) || "",
7079
+ "aria-activedescendant": ((p = e.hoverOption) == null ? void 0 : p.id) || "",
7080
7080
  "aria-controls": e.contentId,
7081
7081
  "aria-expanded": e.dropdownMenuVisible,
7082
7082
  "aria-label": e.ariaLabel,
@@ -7163,7 +7163,7 @@ function Mb(e, t, n, o, i, a) {
7163
7163
  ];
7164
7164
  }),
7165
7165
  content: k(() => [
7166
- x(p, { ref: "menuRef" }, {
7166
+ x(f, { ref: "menuRef" }, {
7167
7167
  default: k(() => [
7168
7168
  e.$slots.header ? (C(), F("div", {
7169
7169
  key: 0,
@@ -7250,9 +7250,9 @@ const _b = B({
7250
7250
  return ((c = l.type) == null ? void 0 : c.name) === "ElOption" && !!((d = l.component) != null && d.proxy);
7251
7251
  }, r = (l) => {
7252
7252
  const c = St(l), d = [];
7253
- return c.forEach((p) => {
7254
- var m, f;
7255
- s(p) ? d.push(p.component.proxy) : (m = p.children) != null && m.length ? d.push(...r(p.children)) : (f = p.component) != null && f.subTree && d.push(...r(p.component.subTree));
7253
+ return c.forEach((f) => {
7254
+ var m, p;
7255
+ s(f) ? d.push(f.component.proxy) : (m = f.children) != null && m.length ? d.push(...r(f.children)) : (p = f.component) != null && p.subTree && d.push(...r(f.component.subTree));
7256
7256
  }), d;
7257
7257
  }, u = () => {
7258
7258
  i.value = r(o.subTree);
@@ -7371,11 +7371,11 @@ const Lb = Q({
7371
7371
  ]), l = y(() => [a.b(), o.popperClass, { [a.m("plain")]: !!o.content }]), c = y(() => o.transition === `${a.namespace.value}-fade-in-linear`), d = () => {
7372
7372
  var g;
7373
7373
  (g = s.value) == null || g.hide();
7374
- }, p = () => {
7374
+ }, f = () => {
7375
7375
  n("before-enter");
7376
7376
  }, m = () => {
7377
7377
  n("before-leave");
7378
- }, f = () => {
7378
+ }, p = () => {
7379
7379
  n("after-enter");
7380
7380
  }, h = () => {
7381
7381
  n("update:visible", !1), n("after-leave");
@@ -7409,9 +7409,9 @@ const Lb = Q({
7409
7409
  persistent: g.persistent,
7410
7410
  "gpu-acceleration": v(c),
7411
7411
  "onUpdate:visible": v(i),
7412
- onBeforeShow: p,
7412
+ onBeforeShow: f,
7413
7413
  onBeforeHide: m,
7414
- onShow: f,
7414
+ onShow: p,
7415
7415
  onHide: h
7416
7416
  }), {
7417
7417
  content: k(() => [
@@ -7455,37 +7455,37 @@ function zb(e) {
7455
7455
  originalOverflow: "",
7456
7456
  visible: !1
7457
7457
  });
7458
- function i(p) {
7459
- o.text = p;
7458
+ function i(f) {
7459
+ o.text = f;
7460
7460
  }
7461
7461
  function a() {
7462
- const p = o.parent, m = d.ns;
7463
- if (!p.vLoadingAddClassList) {
7464
- let f = p.getAttribute("loading-number");
7465
- f = Number.parseInt(f) - 1, f ? p.setAttribute("loading-number", f.toString()) : (Rn(p, m.bm("parent", "relative")), p.removeAttribute("loading-number")), Rn(p, m.bm("parent", "hidden"));
7462
+ const f = o.parent, m = d.ns;
7463
+ if (!f.vLoadingAddClassList) {
7464
+ let p = f.getAttribute("loading-number");
7465
+ p = Number.parseInt(p) - 1, p ? f.setAttribute("loading-number", p.toString()) : (Rn(f, m.bm("parent", "relative")), f.removeAttribute("loading-number")), Rn(f, m.bm("parent", "hidden"));
7466
7466
  }
7467
7467
  s(), c.unmount();
7468
7468
  }
7469
7469
  function s() {
7470
- var p, m;
7471
- (m = (p = d.$el) == null ? void 0 : p.parentNode) == null || m.removeChild(d.$el);
7470
+ var f, m;
7471
+ (m = (f = d.$el) == null ? void 0 : f.parentNode) == null || m.removeChild(d.$el);
7472
7472
  }
7473
7473
  function r() {
7474
- var p;
7475
- e.beforeClose && !e.beforeClose() || (n.value = !0, clearTimeout(t), t = setTimeout(u, 400), o.visible = !1, (p = e.closed) == null || p.call(e));
7474
+ var f;
7475
+ e.beforeClose && !e.beforeClose() || (n.value = !0, clearTimeout(t), t = setTimeout(u, 400), o.visible = !1, (f = e.closed) == null || f.call(e));
7476
7476
  }
7477
7477
  function u() {
7478
7478
  if (!n.value)
7479
7479
  return;
7480
- const p = o.parent;
7481
- n.value = !1, p.vLoadingAddClassList = void 0, a();
7480
+ const f = o.parent;
7481
+ n.value = !1, f.vLoadingAddClassList = void 0, a();
7482
7482
  }
7483
7483
  const l = B({
7484
7484
  name: "ElLoading",
7485
- setup(p, { expose: m }) {
7486
- const { ns: f, zIndex: h } = hv("loading");
7485
+ setup(f, { expose: m }) {
7486
+ const { ns: p, zIndex: h } = hv("loading");
7487
7487
  return m({
7488
- ns: f,
7488
+ ns: p,
7489
7489
  zIndex: h
7490
7490
  }), () => {
7491
7491
  const g = o.spinner || o.svg, b = Yt("svg", {
@@ -7500,9 +7500,9 @@ function zb(e) {
7500
7500
  r: "20",
7501
7501
  fill: "none"
7502
7502
  })
7503
- ]), w = o.text ? Yt("p", { class: f.b("text") }, [o.text]) : void 0;
7503
+ ]), w = o.text ? Yt("p", { class: p.b("text") }, [o.text]) : void 0;
7504
7504
  return Yt(Bn, {
7505
- name: f.b("fade"),
7505
+ name: p.b("fade"),
7506
7506
  onAfterLeave: u
7507
7507
  }, {
7508
7508
  default: k(() => [
@@ -7511,13 +7511,13 @@ function zb(e) {
7511
7511
  backgroundColor: o.background || ""
7512
7512
  },
7513
7513
  class: [
7514
- f.b("mask"),
7514
+ p.b("mask"),
7515
7515
  o.customClass,
7516
7516
  o.fullscreen ? "is-fullscreen" : ""
7517
7517
  ]
7518
7518
  }, [
7519
7519
  Yt("div", {
7520
- class: f.b("spinner")
7520
+ class: p.b("spinner")
7521
7521
  }, [b, w])
7522
7522
  ]), [[Ee, o.visible]])
7523
7523
  ])
@@ -7593,10 +7593,10 @@ const Ci = function(e = {}) {
7593
7593
  ["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? Rn(t, o.bm("parent", "relative")) : vi(t, o.bm("parent", "relative")), e.fullscreen && e.lock ? vi(t, o.bm("parent", "hidden")) : Rn(t, o.bm("parent", "hidden"));
7594
7594
  }, fo = Symbol("ElLoading"), Is = (e, t) => {
7595
7595
  var n, o, i, a;
7596
- const s = t.instance, r = (p) => ke(t.value) ? t.value[p] : void 0, u = (p) => {
7597
- const m = He(p) && (s == null ? void 0 : s[p]) || p;
7596
+ const s = t.instance, r = (f) => ke(t.value) ? t.value[f] : void 0, u = (f) => {
7597
+ const m = He(f) && (s == null ? void 0 : s[f]) || f;
7598
7598
  return m && P(m);
7599
- }, l = (p) => u(r(p) || e.getAttribute(`element-loading-${Ru(p)}`)), c = (n = r("fullscreen")) != null ? n : t.modifiers.fullscreen, d = {
7599
+ }, l = (f) => u(r(f) || e.getAttribute(`element-loading-${Ru(f)}`)), c = (n = r("fullscreen")) != null ? n : t.modifiers.fullscreen, d = {
7600
7600
  text: l("text"),
7601
7601
  svg: l("svg"),
7602
7602
  svgViewBox: l("svgViewBox"),
@@ -7784,7 +7784,7 @@ const Ci = function(e = {}) {
7784
7784
  }
7785
7785
  }, Gb = { class: "selections-container" }, qb = { class: "checkall-display-text" }, Jb = { style: { "word-break": "keep-all" } }, Yb = { class: "checkbox-group-inner" }, Zb = ["onMouseenter", "onMouseleave"];
7786
7786
  function Qb(e, t, n, o, i, a) {
7787
- const s = Os, r = Xe, u = Vo, l = Kn, c = Qr, d = Un, p = Xr;
7787
+ const s = Os, r = Xe, u = Vo, l = Kn, c = Qr, d = Un, f = Xr;
7788
7788
  return C(), F("div", Gb, [
7789
7789
  x(d, null, {
7790
7790
  default: k(() => [
@@ -7841,7 +7841,7 @@ function Qb(e, t, n, o, i, a) {
7841
7841
  ]),
7842
7842
  _: 1
7843
7843
  }),
7844
- x(p, {
7844
+ x(f, {
7845
7845
  class: _([{ "show-as-legend": n.showAsLegend }, "checkbox-group"]),
7846
7846
  modelValue: e.checkedItems,
7847
7847
  "onUpdate:modelValue": t[1] || (t[1] = (m) => e.checkedItems = m),
@@ -7857,14 +7857,14 @@ function Qb(e, t, n, o, i, a) {
7857
7857
  default: k(() => [
7858
7858
  R("div", {
7859
7859
  class: "checkbox-container",
7860
- onMouseenter: (f) => a.checkboxMouseEnterEmit(m[n.identifierKey], !0),
7861
- onMouseleave: (f) => a.checkboxMouseEnterEmit(m[n.identifierKey], !1)
7860
+ onMouseenter: (p) => a.checkboxMouseEnterEmit(m[n.identifierKey], !0),
7861
+ onMouseleave: (p) => a.checkboxMouseEnterEmit(m[n.identifierKey], !1)
7862
7862
  }, [
7863
7863
  x(c, {
7864
7864
  class: "my-checkbox",
7865
7865
  label: m[n.identifierKey],
7866
7866
  value: m[n.identifierKey],
7867
- onChange: (f) => a.visibilityToggle(m[n.identifierKey], f),
7867
+ onChange: (p) => a.visibilityToggle(m[n.identifierKey], p),
7868
7868
  onClick: a.onCheckboxNativeChange,
7869
7869
  checked: !("enabled" in m) || m.enabled === !0
7870
7870
  }, {
@@ -8267,10 +8267,10 @@ var gl = { exports: {} };
8267
8267
  n.clearTimeout(c);
8268
8268
  };
8269
8269
  function a(c, d) {
8270
- var p = Object.prototype.toString.call(c), m = p === "[object Array]" || p === "[object NodeList]" || p === "[object HTMLCollection]" || p === "[object Object]" || typeof jQuery < "u" && c instanceof jQuery || typeof Elements < "u" && c instanceof Elements, f = 0, h = c.length;
8270
+ var f = Object.prototype.toString.call(c), m = f === "[object Array]" || f === "[object NodeList]" || f === "[object HTMLCollection]" || f === "[object Object]" || typeof jQuery < "u" && c instanceof jQuery || typeof Elements < "u" && c instanceof Elements, p = 0, h = c.length;
8271
8271
  if (m)
8272
- for (; f < h; f++)
8273
- d(c[f]);
8272
+ for (; p < h; p++)
8273
+ d(c[p]);
8274
8274
  else
8275
8275
  d(c);
8276
8276
  }
@@ -8287,12 +8287,12 @@ var gl = { exports: {} };
8287
8287
  };
8288
8288
  }
8289
8289
  function r(c, d) {
8290
- Object.keys(d).forEach(function(p) {
8291
- c.style[p] = d[p];
8290
+ Object.keys(d).forEach(function(f) {
8291
+ c.style[f] = d[f];
8292
8292
  });
8293
8293
  }
8294
8294
  var u = function(c, d) {
8295
- var p = 0;
8295
+ var f = 0;
8296
8296
  function m() {
8297
8297
  var h = [];
8298
8298
  this.add = function(w) {
@@ -8311,7 +8311,7 @@ var gl = { exports: {} };
8311
8311
  return h.length;
8312
8312
  };
8313
8313
  }
8314
- function f(h, g) {
8314
+ function p(h, g) {
8315
8315
  if (h) {
8316
8316
  if (h.resizedAttached) {
8317
8317
  h.resizedAttached.add(g);
@@ -8347,7 +8347,7 @@ var gl = { exports: {} };
8347
8347
  var O = window.getComputedStyle(h), D = O ? O.getPropertyValue("position") : null;
8348
8348
  D !== "absolute" && D !== "relative" && D !== "fixed" && D !== "sticky" && (h.style.position = "relative");
8349
8349
  var N = !1, j = 0, E = s(h), U = 0, J = 0, de = !0;
8350
- p = 0;
8350
+ f = 0;
8351
8351
  var Y = function() {
8352
8352
  var be = h.offsetWidth, Pe = h.offsetHeight;
8353
8353
  T.style.width = be + 10 + "px", T.style.height = Pe + 10 + "px", M.scrollLeft = be + 10, M.scrollTop = Pe + 10, I.scrollLeft = be + 10, I.scrollTop = Pe + 10;
@@ -8355,8 +8355,8 @@ var gl = { exports: {} };
8355
8355
  if (de) {
8356
8356
  var be = h.offsetWidth === 0 && h.offsetHeight === 0;
8357
8357
  if (be) {
8358
- p || (p = o(function() {
8359
- p = 0, $();
8358
+ f || (f = o(function() {
8359
+ f = 0, $();
8360
8360
  }));
8361
8361
  return;
8362
8362
  } else
@@ -8372,15 +8372,15 @@ var gl = { exports: {} };
8372
8372
  }, ge = function(be, Pe, Ke) {
8373
8373
  be.attachEvent ? be.attachEvent("on" + Pe, Ke) : be.addEventListener(Pe, Ke);
8374
8374
  };
8375
- ge(M, "scroll", Le), ge(I, "scroll", Le), p = o(function() {
8376
- p = 0, $();
8375
+ ge(M, "scroll", Le), ge(I, "scroll", Le), f = o(function() {
8376
+ f = 0, $();
8377
8377
  });
8378
8378
  }
8379
8379
  }
8380
8380
  a(c, function(h) {
8381
- f(h, d);
8381
+ p(h, d);
8382
8382
  }), this.detach = function(h) {
8383
- p || (i(p), p = 0), u.detach(c, h);
8383
+ f || (i(f), f = 0), u.detach(c, h);
8384
8384
  }, this.reset = function() {
8385
8385
  c.resizeSensor.resetSensor();
8386
8386
  };
@@ -8390,15 +8390,15 @@ var gl = { exports: {} };
8390
8390
  d.resizeSensor.resetSensor();
8391
8391
  });
8392
8392
  }, u.detach = function(c, d) {
8393
- a(c, function(p) {
8394
- p && (p.resizedAttached && typeof d == "function" && (p.resizedAttached.remove(d), p.resizedAttached.length()) || p.resizeSensor && (p.contains(p.resizeSensor) && p.removeChild(p.resizeSensor), delete p.resizeSensor, delete p.resizedAttached));
8393
+ a(c, function(f) {
8394
+ f && (f.resizedAttached && typeof d == "function" && (f.resizedAttached.remove(d), f.resizedAttached.length()) || f.resizeSensor && (f.contains(f.resizeSensor) && f.removeChild(f.resizeSensor), delete f.resizeSensor, delete f.resizedAttached));
8395
8395
  });
8396
8396
  }, typeof MutationObserver < "u") {
8397
8397
  var l = new MutationObserver(function(c) {
8398
8398
  for (var d in c)
8399
8399
  if (c.hasOwnProperty(d))
8400
- for (var p = c[d].addedNodes, m = 0; m < p.length; m++)
8401
- p[m].resizeSensor && u.reset(p[m]);
8400
+ for (var f = c[d].addedNodes, m = 0; m < f.length; m++)
8401
+ f[m].resizeSensor && u.reset(f[m]);
8402
8402
  });
8403
8403
  document.addEventListener("DOMContentLoaded", function(c) {
8404
8404
  l.observe(document.body, {
@@ -8881,9 +8881,9 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
8881
8881
  const l = [...this.mapImp.pathModelNodes(e)], c = await this.mapImp.queryPathsForFeatures(e);
8882
8882
  if (l.length) {
8883
8883
  if (!u.length) {
8884
- const d = (o = t.type) != null && o.length ? t.type : ["all"], p = await this.flatmapQueries.queryForConnectivityNew(this.mapImp, e[0]), m = (i = p == null ? void 0 : p.ids) == null ? void 0 : i.dendrites.flat(1 / 0), f = (a = p == null ? void 0 : p.ids) == null ? void 0 : a.components.flat(1 / 0), h = (s = p == null ? void 0 : p.ids) == null ? void 0 : s.axons.flat(1 / 0);
8884
+ const d = (o = t.type) != null && o.length ? t.type : ["all"], f = await this.flatmapQueries.queryForConnectivityNew(this.mapImp, e[0]), m = (i = f == null ? void 0 : f.ids) == null ? void 0 : i.dendrites.flat(1 / 0), p = (a = f == null ? void 0 : f.ids) == null ? void 0 : a.components.flat(1 / 0), h = (s = f == null ? void 0 : f.ids) == null ? void 0 : s.axons.flat(1 / 0);
8885
8885
  let g = [];
8886
- d.includes("origins") && g.push(...m), d.includes("components") && g.push(...f), d.includes("destinations") && g.push(...h), d.includes("all") && g.push(...m, ...f, ...h), u = [...new Set(g)];
8886
+ d.includes("origins") && g.push(...m), d.includes("components") && g.push(...p), d.includes("destinations") && g.push(...h), d.includes("all") && g.push(...m, ...p, ...h), u = [...new Set(g)];
8887
8887
  }
8888
8888
  l.forEach((d) => {
8889
8889
  this.mapImp.nodePathModels(d).forEach((m) => {
@@ -9122,9 +9122,9 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
9122
9122
  const c = Object.keys(t).includes("id");
9123
9123
  if (!c) {
9124
9124
  l = [];
9125
- const p = t.mapUUID, m = /* @__PURE__ */ new Set();
9126
- for (let [f, h] of Object.entries(t))
9127
- if (f !== "mapUUID") {
9125
+ const f = t.mapUUID, m = /* @__PURE__ */ new Set();
9126
+ for (let [p, h] of Object.entries(t))
9127
+ if (p !== "mapUUID") {
9128
9128
  const g = h.id, b = h.label, w = [h.models];
9129
9129
  let M;
9130
9130
  if (h.taxons && (typeof h.taxons != "object" ? M = JSON.parse(h.taxons) : M = h.taxons), m.has(g)) continue;
@@ -9139,20 +9139,20 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
9139
9139
  eventType: e,
9140
9140
  provenanceTaxonomy: M,
9141
9141
  alert: h.alert,
9142
- mapUUID: p
9142
+ mapUUID: f
9143
9143
  });
9144
9144
  }
9145
9145
  }
9146
9146
  const d = c ? t : t[0];
9147
9147
  if (this.setConnectivityDataSource(this.viewingMode, d), this.viewingMode !== "Neuron Connection") {
9148
9148
  if (this.currentActive = d.models ? d.models : "", this.activeDrawTool && !this.isValidDrawnCreated) {
9149
- const p = d.featureId || this.existDrawnFeatures.find(
9149
+ const f = d.featureId || this.existDrawnFeatures.find(
9150
9150
  (m) => m.id === d.id
9151
9151
  );
9152
- if (this.activeDrawTool === "LineString" && p) {
9153
- const m = d.featureId ? d.featureId : d.id, f = d.label ? d.label : `Feature ${d.id}`;
9152
+ if (this.activeDrawTool === "LineString" && f) {
9153
+ const m = d.featureId ? d.featureId : d.id, p = d.label ? d.label : `Feature ${d.id}`;
9154
9154
  this.connectionEntry[` ${m}`] = Object.assign(
9155
- { label: f },
9155
+ { label: p },
9156
9156
  Object.fromEntries(
9157
9157
  Object.entries(d).filter(([h]) => ["featureId", "models"].includes(h)).map(([h, g]) => [h === "featureId" ? "id" : h, g])
9158
9158
  )
@@ -9238,9 +9238,9 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
9238
9238
  this.mapImp.annotations.forEach((c) => {
9239
9239
  const d = c["anatomical-nodes"];
9240
9240
  if (d) {
9241
- const p = d.join("");
9241
+ const f = d.join("");
9242
9242
  a.every(
9243
- (f) => p.indexOf(f.id) !== -1
9243
+ (p) => f.indexOf(p.id) !== -1
9244
9244
  ) && (l = c.featureId, i.push(l));
9245
9245
  }
9246
9246
  }), this.createTooltipForConnectivity(a, l);
@@ -9328,12 +9328,12 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
9328
9328
  const s = (n = e[0].feature) == null ? void 0 : n.featureId, r = this.mapImp.annotations.get(s), u = r == null ? void 0 : r["anatomical-nodes"], l = u ? JSON.parse(u[0]) : a, c = l.flat(1 / 0), d = [...new Set(c)], m = (await au(this.flatmapAPI, d)).reduce((w, M) => {
9329
9329
  const T = M[0], I = JSON.parse(M[1]);
9330
9330
  return I.source === this.mapImp.knowledgeSource && w.push({ id: T, label: I.label }), w;
9331
- }, []), f = [];
9331
+ }, []), p = [];
9332
9332
  for (let w = 0; w < d.length; w++) {
9333
9333
  const M = m.find((T) => T.id === d[w]);
9334
- M && f.push(M.label);
9334
+ M && p.push(M.label);
9335
9335
  }
9336
- const h = si(f.join(", ")), g = {
9336
+ const h = si(p.join(", ")), g = {
9337
9337
  facet: JSON.stringify(l),
9338
9338
  facetPropPath: `flatmap.connectivity.source.${this.connectionType.toLowerCase()}`,
9339
9339
  tagLabel: h,
@@ -9721,60 +9721,76 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
9721
9721
  let t = [];
9722
9722
  if (this.mapImp) {
9723
9723
  const n = this.mapImp.featureFilterRanges();
9724
- for (const [l, c] of Object.entries(n)) {
9725
- let d = {
9726
- key: `flatmap.connectivity.${l}`,
9724
+ for (const [c, d] of Object.entries(n)) {
9725
+ let f = {
9726
+ key: `flatmap.connectivity.${c}`,
9727
9727
  label: "",
9728
9728
  children: []
9729
- }, p = [];
9730
- if (l === "kind") {
9731
- d.label = "Pathways";
9732
- for (const m of c) {
9733
- const f = this.pathways.find((h) => h.type === m);
9734
- f && p.push({
9735
- key: `${d.key}.${m}`,
9736
- label: f.label,
9737
- colour: f.colour,
9729
+ }, m = [];
9730
+ if (c === "kind") {
9731
+ f.label = "Pathways";
9732
+ for (const p of d) {
9733
+ const h = this.pathways.find((g) => g.type === p);
9734
+ h && m.push({
9735
+ key: `${f.key}.${p}`,
9736
+ label: h.label,
9737
+ colour: h.colour,
9738
9738
  colourStyle: "line",
9739
- dashed: f.dashed
9739
+ dashed: h.dashed
9740
9740
  });
9741
9741
  }
9742
- } else if (l === "taxons") {
9743
- d.label = "Studied in";
9744
- const m = await Co(this.mapImp, this.mapImp.taxonIdentifiers);
9745
- if (m.length)
9746
- for (const f of c) {
9747
- const h = m.find((g) => g.taxon === f);
9748
- h && p.push({
9749
- key: `${d.key}.${f}`,
9742
+ } else if (c === "taxons") {
9743
+ f.label = "Studied in";
9744
+ const p = await Co(this.mapImp, this.mapImp.taxonIdentifiers);
9745
+ if (p.length)
9746
+ for (const h of d) {
9747
+ const g = p.find((b) => b.taxon === h);
9748
+ g && m.push({
9749
+ key: `${f.key}.${h}`,
9750
9750
  // space added at the end of label to make sure the display name will not be updated
9751
9751
  // prevent sidebar searchfilter convertReadableLabel
9752
- label: `${h.label} `
9752
+ label: `${g.label} `
9753
9753
  });
9754
9754
  }
9755
- } else if (l === "alert") {
9756
- d.label = "Alert";
9757
- for (const m of ["with", "without"])
9758
- p.push({
9759
- key: `${d.key}.${m}`,
9760
- label: `${m} alerts`
9755
+ } else if (c === "alert") {
9756
+ f.label = "Alert";
9757
+ for (const p of ["with", "without"])
9758
+ m.push({
9759
+ key: `${f.key}.${p}`,
9760
+ label: `${p} alerts`
9761
9761
  });
9762
9762
  }
9763
- d.children = p.sort((m, f) => m.label.localeCompare(f.label)), d.label && d.children.length && t.push(d);
9763
+ f.children = m.sort((p, h) => p.label.localeCompare(h.label)), f.label && f.children.length && t.push(f);
9764
9764
  }
9765
- const o = [], i = e || this.getFlatmapKnowledge(), a = await su(this.flatmapAPI, i), s = await ru(this.flatmapAPI, i), r = await lu(this.flatmapAPI, i), u = (l, c) => {
9766
- const d = JSON.stringify(c.key);
9765
+ const o = [], i = e || this.getFlatmapKnowledge(), a = this.mapImp.pathways.paths;
9766
+ i.forEach((c) => {
9767
+ const d = c.id;
9768
+ if (d) {
9769
+ const f = a[d];
9770
+ if (f) {
9771
+ const m = f.connectivity, p = f["node-phenotypes"];
9772
+ c.connectivity = [...c.connectivity, ...m];
9773
+ for (let h in c["node-phenotypes"])
9774
+ p[h] && c["node-phenotypes"][h].push(...p[h]);
9775
+ }
9776
+ }
9777
+ });
9778
+ const s = await su(this.flatmapAPI, i), r = await ru(this.flatmapAPI, i), u = await lu(this.flatmapAPI, i), l = (c, d) => {
9779
+ const f = JSON.stringify(d.key);
9767
9780
  return {
9768
- key: `flatmap.connectivity.source.${l}.${d}`,
9769
- label: c.label
9781
+ key: `flatmap.connectivity.source.${c}.${f}`,
9782
+ label: d.label || f
9770
9783
  };
9771
9784
  };
9772
- for (const l of ["origin", "via", "destination"]) {
9773
- let c = [];
9774
- l === "origin" ? c = a.map((d) => u(l, d)) : l === "via" ? c = s.map((d) => u(l, d)) : l === "destination" && (c = r.map((d) => u(l, d))), o.push({
9775
- key: `flatmap.connectivity.source.${l}`,
9776
- label: l,
9777
- children: c
9785
+ for (const c of ["origin", "via", "destination"]) {
9786
+ let d = [];
9787
+ c === "origin" ? d = s.map((f) => l(c, f)) : c === "via" ? d = r.map((f) => l(c, f)) : c === "destination" && (d = u.map((f) => l(c, f))), d = d.sort((f, m) => {
9788
+ const p = (b) => /^[a-zA-Z]/.test(b), h = p(f.label), g = p(m.label);
9789
+ return h && !g ? -1 : !h && g ? 1 : f.label.localeCompare(m.label);
9790
+ }), o.push({
9791
+ key: `flatmap.connectivity.source.${c}`,
9792
+ label: c,
9793
+ children: d
9778
9794
  });
9779
9795
  }
9780
9796
  t.push(...o);
@@ -10342,7 +10358,7 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
10342
10358
  class: "viewing-mode-title"
10343
10359
  }, My = ["onClick"], Py = ["onClick"];
10344
10360
  function _y(e, t, n, o, i, a) {
10345
- const s = Re("map-svg-sprite-color"), r = Ms, u = Xe, l = Vo, c = ki, d = Re("DrawToolbar"), p = Re("map-svg-icon"), m = vl, f = Re("tree-controls"), h = hl, g = Ps, b = Wr, w = Un, M = Kn, T = Xi, I = Bo, A = sl, O = rl, D = Re("Tooltip"), N = pl, j = Ei;
10361
+ const s = Re("map-svg-sprite-color"), r = Ms, u = Xe, l = Vo, c = ki, d = Re("DrawToolbar"), f = Re("map-svg-icon"), m = vl, p = Re("tree-controls"), h = hl, g = Ps, b = Wr, w = Un, M = Kn, T = Xi, I = Bo, A = sl, O = rl, D = Re("Tooltip"), N = pl, j = Ei;
10346
10362
  return oe((C(), F("div", yy, [
10347
10363
  x(s),
10348
10364
  R("div", wy, [
@@ -10505,7 +10521,7 @@ function _y(e, t, n, o, i, a) {
10505
10521
  onMouseover: t[12] || (t[12] = (E) => a.showTooltip(1)),
10506
10522
  onMouseout: t[13] || (t[13] = (E) => a.hideTooltip(1))
10507
10523
  }, [
10508
- x(p, {
10524
+ x(f, {
10509
10525
  class: "icon-button zoomIn",
10510
10526
  icon: "zoomIn"
10511
10527
  })
@@ -10530,7 +10546,7 @@ function _y(e, t, n, o, i, a) {
10530
10546
  onMouseover: t[15] || (t[15] = (E) => a.showTooltip(2)),
10531
10547
  onMouseout: t[16] || (t[16] = (E) => a.hideTooltip(2))
10532
10548
  }, [
10533
- x(p, {
10549
+ x(f, {
10534
10550
  class: "icon-button zoomOut",
10535
10551
  icon: "zoomOut"
10536
10552
  })
@@ -10555,7 +10571,7 @@ function _y(e, t, n, o, i, a) {
10555
10571
  onMouseover: t[18] || (t[18] = (E) => a.showTooltip(3)),
10556
10572
  onMouseout: t[19] || (t[19] = (E) => a.hideTooltip(3))
10557
10573
  }, [
10558
- x(p, {
10574
+ x(f, {
10559
10575
  class: "icon-button fitWindow",
10560
10576
  icon: "fitWindow"
10561
10577
  })
@@ -10640,7 +10656,7 @@ function _y(e, t, n, o, i, a) {
10640
10656
  ]),
10641
10657
  _: 1
10642
10658
  }, 8, ["visible"]),
10643
- e.isFC && e.systems && e.systems.length > 0 ? (C(), V(f, {
10659
+ e.isFC && e.systems && e.systems.length > 0 ? (C(), V(p, {
10644
10660
  key: 2,
10645
10661
  class: "treeControls",
10646
10662
  mapType: "flatmap",
@@ -10995,7 +11011,7 @@ function _y(e, t, n, o, i, a) {
10995
11011
  onMouseover: t[27] || (t[27] = (E) => a.showTooltip(4)),
10996
11012
  onMouseout: t[28] || (t[28] = (E) => a.hideTooltip(4))
10997
11013
  }, [
10998
- x(p, {
11014
+ x(f, {
10999
11015
  icon: "openMap",
11000
11016
  class: "icon-button open-map-button"
11001
11017
  })
@@ -11024,7 +11040,7 @@ function _y(e, t, n, o, i, a) {
11024
11040
  onMouseover: t[29] || (t[29] = (E) => a.showTooltip(5)),
11025
11041
  onMouseout: t[30] || (t[30] = (E) => a.hideTooltip(5))
11026
11042
  }, [
11027
- x(p, {
11043
+ x(f, {
11028
11044
  icon: "changeBckgd",
11029
11045
  class: "icon-button"
11030
11046
  })
@@ -11053,7 +11069,7 @@ function _y(e, t, n, o, i, a) {
11053
11069
  [j, e.loading]
11054
11070
  ]);
11055
11071
  }
11056
- const yl = /* @__PURE__ */ zo(by, [["render", _y], ["__scopeId", "data-v-4fb96679"]]), ks = {
11072
+ const yl = /* @__PURE__ */ zo(by, [["render", _y], ["__scopeId", "data-v-362784bf"]]), ks = {
11057
11073
  "NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
11058
11074
  "NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
11059
11075
  "NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
@@ -11709,7 +11725,7 @@ function Fy(e, t, n, o, i, a) {
11709
11725
  onConnectivityError: a.onConnectivityError,
11710
11726
  onNeuronConnectionClick: a.onNeuronConnectionClick,
11711
11727
  onNeuronConnectionFeatureClick: a.onNeuronConnectionFeatureClick,
11712
- onOpenMap: t[1] || (t[1] = (p) => e.$emit("open-map", p)),
11728
+ onOpenMap: t[1] || (t[1] = (f) => e.$emit("open-map", f)),
11713
11729
  onPathwaySelectionChanged: a.onSelectionsDataChanged,
11714
11730
  minZoom: n.minZoom,
11715
11731
  helpMode: e.activeSpecies == d && n.helpMode,