@das-fed/ui 7.0.2 → 7.0.4

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.
Files changed (25) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/{index-SfzdqhGf.js → index-CD2YNg3j.js} +761 -755
  3. package/packages/business-components/ai-panel/index-CD2YNg3j.js.gz +0 -0
  4. package/packages/business-components/ai-panel/{index-ClgczXAD.js → index-DWHxqEh3.js} +1 -1
  5. package/packages/business-components/ai-panel/index-DWHxqEh3.js.gz +0 -0
  6. package/packages/business-components/ai-panel/index.js +1 -1
  7. package/packages/business-components/ai-panel/src/dasAI/apis.d.ts +1 -0
  8. package/packages/business-components/ai-panel/style.css +1 -1
  9. package/packages/business-components/ai-panel/style.css.gz +0 -0
  10. package/packages/components/radio-tabs/index.js +1 -1
  11. package/packages/components/radio-tabs/index.js.gz +0 -0
  12. package/packages/components/radio-tabs/style.css +1 -1
  13. package/packages/components/radio-tabs/style.css.gz +0 -0
  14. package/packages/components/select-list/index.d.ts +3 -3
  15. package/packages/components/select-list/index.js +390 -377
  16. package/packages/components/select-list/index.js.gz +0 -0
  17. package/packages/components/select-list/src/Index.vue.d.ts +4 -3
  18. package/packages/components/select-list/src/hooks/use-select-list.d.ts +1 -0
  19. package/packages/components/select-list/src/type.d.ts +1 -1
  20. package/packages/components/select-list/style.css +1 -1
  21. package/packages/components/select-list/style.css.gz +0 -0
  22. package/packages/components/tree/index.js +90 -86
  23. package/packages/components/tree/index.js.gz +0 -0
  24. package/packages/business-components/ai-panel/index-ClgczXAD.js.gz +0 -0
  25. package/packages/business-components/ai-panel/index-SfzdqhGf.js.gz +0 -0
@@ -5,12 +5,12 @@ import { getVar as ut, setThemeRule as _i } from "@das-fed/web/packages/theme/in
5
5
  import { ElInfiniteScroll as Ei } from "element-plus/es";
6
6
  import "element-plus/es/components/base/style/css";
7
7
  import "element-plus/es/components/infinite-scroll/style/css";
8
- import { pushScopeId as Di, popScopeId as Ii, nextTick as et, withScopeId as Ti, createBlock as oe, openBlock as k, markRaw as Ci, shallowReactive as Oi, resolveComponent as Ai, resolveDirective as zi, withDirectives as Se, createElementBlock as X, normalizeClass as ce, createCommentVNode as K, createVNode as ki, renderSlot as he, resolveDynamicComponent as Rt, normalizeStyle as Jt, withCtx as tt, Fragment as _t, renderList as Et, mergeProps as Pi, toHandlers as Ni, ref as Pe, computed as Ne, onMounted as Zt, onBeforeUnmount as $i, watch as Ft, defineComponent as Mi, useCssVars as xi, createElementVNode as Ce, toDisplayString as Oe, unref as D, createTextVNode as Le } from "vue";
8
+ import { pushScopeId as Di, popScopeId as Ii, nextTick as et, withScopeId as Ti, createBlock as oe, openBlock as z, markRaw as Ci, shallowReactive as Oi, resolveComponent as Ai, resolveDirective as zi, withDirectives as Se, createElementBlock as X, normalizeClass as ce, createCommentVNode as G, createVNode as ki, renderSlot as he, resolveDynamicComponent as Ft, normalizeStyle as Jt, withCtx as tt, Fragment as _t, renderList as Et, mergeProps as Pi, toHandlers as Ni, ref as Pe, computed as Ne, onMounted as Zt, onBeforeUnmount as $i, watch as Rt, defineComponent as Mi, useCssVars as xi, createElementVNode as Ce, toDisplayString as Oe, unref as E, createTextVNode as Le } from "vue";
9
9
  import { vDasTooltip as ct } from "@das-fed/ui/packages/components/text-tooltip/index";
10
10
  import { DasButton as Vi } from "@das-fed/ui/packages/components/button/index";
11
- import { vOverlay as Ri } from "@das-fed/ui/packages/components/overlay/index";
11
+ import { vOverlay as Fi } from "@das-fed/ui/packages/components/overlay/index";
12
12
  import { DasIconClose2 as dt } from "@das-fed/ui/packages/icons/close-2/index";
13
- import { DasIconDrag as Fi } from "@das-fed/ui/packages/icons/drag/index";
13
+ import { DasIconDrag as Ri } from "@das-fed/ui/packages/icons/drag/index";
14
14
  import { useModelValue as Qt } from "@das-fed/utils/vue";
15
15
  import { SizeWatcher as Hi } from "@das-fed/utils/size-watcher";
16
16
  import "@das-fed/ui/packages/global/theme";
@@ -85,7 +85,7 @@ const Yi = {
85
85
  tabindex: "-1"
86
86
  };
87
87
  Ii();
88
- const Xi = /* @__PURE__ */ Bi((t, e, i, n, r, o) => (k(), oe("div", Yi)));
88
+ const Xi = /* @__PURE__ */ Bi((t, e, i, n, r, o) => (z(), oe("div", Yi)));
89
89
  at.render = Xi;
90
90
  at.__scopeId = "data-v-b329ee4c";
91
91
  at.__file = "src/components/ResizeObserver.vue";
@@ -147,8 +147,8 @@ function Qi(t, e) {
147
147
  for (var u = arguments.length, c = new Array(u > 1 ? u - 1 : 0), h = 1; h < u; h++)
148
148
  c[h - 1] = arguments[h];
149
149
  if (o = c, !(n && a === r)) {
150
- var p = i.leading;
151
- typeof p == "function" && (p = p(a, r)), (!n || a !== r) && p && t.apply(void 0, [a].concat(Ht(o))), r = a, clearTimeout(n), n = setTimeout(function() {
150
+ var g = i.leading;
151
+ typeof g == "function" && (g = g(a, r)), (!n || a !== r) && g && t.apply(void 0, [a].concat(Ht(o))), r = a, clearTimeout(n), n = setTimeout(function() {
152
152
  t.apply(void 0, [a].concat(Ht(o))), n = 0;
153
153
  }, e);
154
154
  }
@@ -506,72 +506,72 @@ var Pt = {
506
506
  })) : this.$emit("hidden"));
507
507
  },
508
508
  updateVisibleItems(t, e = !1) {
509
- const i = this.itemSize, n = this.gridItems || 1, r = this.itemSecondarySize || i, o = this.$_computedMinItemSize, l = this.typeField, s = this.simpleArray ? null : this.keyField, a = this.items, u = a.length, c = this.sizes, h = this.$_views, p = this.$_unusedViews, _ = this.pool, S = this.itemIndexByKey;
510
- let m, I, y, d, C;
509
+ const i = this.itemSize, n = this.gridItems || 1, r = this.itemSecondarySize || i, o = this.$_computedMinItemSize, l = this.typeField, s = this.simpleArray ? null : this.keyField, a = this.items, u = a.length, c = this.sizes, h = this.$_views, g = this.$_unusedViews, D = this.pool, _ = this.itemIndexByKey;
510
+ let v, T, $, p, d;
511
511
  if (!u)
512
- m = I = d = C = y = 0;
512
+ v = T = p = d = $ = 0;
513
513
  else if (this.$_prerender)
514
- m = d = 0, I = C = Math.min(this.prerender, a.length), y = null;
514
+ v = p = 0, T = d = Math.min(this.prerender, a.length), $ = null;
515
515
  else {
516
- const T = this.getScroll();
516
+ const I = this.getScroll();
517
517
  if (e) {
518
- let z = T.start - this.$_lastUpdateScrollPosition;
519
- if (z < 0 && (z = -z), i === null && z < o || z < i)
518
+ let A = I.start - this.$_lastUpdateScrollPosition;
519
+ if (A < 0 && (A = -A), i === null && A < o || A < i)
520
520
  return {
521
521
  continuous: !0
522
522
  };
523
523
  }
524
- this.$_lastUpdateScrollPosition = T.start;
524
+ this.$_lastUpdateScrollPosition = I.start;
525
525
  const x = this.buffer;
526
- T.start -= x, T.end += x;
527
- let N = 0;
528
- if (this.$refs.before && (N = this.$refs.before.scrollHeight, T.start -= N), this.$refs.after) {
529
- const z = this.$refs.after.scrollHeight;
530
- T.end += z;
526
+ I.start -= x, I.end += x;
527
+ let P = 0;
528
+ if (this.$refs.before && (P = this.$refs.before.scrollHeight, I.start -= P), this.$refs.after) {
529
+ const A = this.$refs.after.scrollHeight;
530
+ I.end += A;
531
531
  }
532
532
  if (i === null) {
533
- let z, J = 0, ue = u - 1, V = ~~(u / 2), me;
533
+ let A, J = 0, ue = u - 1, V = ~~(u / 2), me;
534
534
  do
535
- me = V, z = c[V].accumulator, z < T.start ? J = V : V < u - 1 && c[V + 1].accumulator > T.start && (ue = V), V = ~~((J + ue) / 2);
535
+ me = V, A = c[V].accumulator, A < I.start ? J = V : V < u - 1 && c[V + 1].accumulator > I.start && (ue = V), V = ~~((J + ue) / 2);
536
536
  while (V !== me);
537
- for (V < 0 && (V = 0), m = V, y = c[u - 1].accumulator, I = V; I < u && c[I].accumulator < T.end; I++) ;
538
- for (I === -1 ? I = a.length - 1 : (I++, I > u && (I = u)), d = m; d < u && N + c[d].accumulator < T.start; d++) ;
539
- for (C = d; C < u && N + c[C].accumulator < T.end; C++) ;
537
+ for (V < 0 && (V = 0), v = V, $ = c[u - 1].accumulator, T = V; T < u && c[T].accumulator < I.end; T++) ;
538
+ for (T === -1 ? T = a.length - 1 : (T++, T > u && (T = u)), p = v; p < u && P + c[p].accumulator < I.start; p++) ;
539
+ for (d = p; d < u && P + c[d].accumulator < I.end; d++) ;
540
540
  } else {
541
- m = ~~(T.start / i * n);
542
- const z = m % n;
543
- m -= z, I = Math.ceil(T.end / i * n), d = Math.max(0, Math.floor((T.start - N) / i * n)), C = Math.floor((T.end - N) / i * n), m < 0 && (m = 0), I > u && (I = u), d < 0 && (d = 0), C > u && (C = u), y = Math.ceil(u / n) * i;
541
+ v = ~~(I.start / i * n);
542
+ const A = v % n;
543
+ v -= A, T = Math.ceil(I.end / i * n), p = Math.max(0, Math.floor((I.start - P) / i * n)), d = Math.floor((I.end - P) / i * n), v < 0 && (v = 0), T > u && (T = u), p < 0 && (p = 0), d > u && (d = u), $ = Math.ceil(u / n) * i;
544
544
  }
545
545
  }
546
- I - m > rn.itemsLimit && this.itemsLimitError(), this.totalSize = y;
547
- let g;
548
- const E = m <= this.$_endIndex && I >= this.$_startIndex;
549
- if (E)
550
- for (let T = 0, x = _.length; T < x; T++)
551
- g = _[T], g.nr.used && (t && (g.nr.index = S[g.item[s]]), (g.nr.index == null || g.nr.index < m || g.nr.index >= I) && this.unuseView(g));
552
- const L = E ? null : /* @__PURE__ */ new Map();
553
- let H, G, B;
554
- for (let T = m; T < I; T++) {
555
- H = a[T];
556
- const x = s ? H[s] : H;
546
+ T - v > rn.itemsLimit && this.itemsLimitError(), this.totalSize = $;
547
+ let m;
548
+ const W = v <= this.$_endIndex && T >= this.$_startIndex;
549
+ if (W)
550
+ for (let I = 0, x = D.length; I < x; I++)
551
+ m = D[I], m.nr.used && (t && (m.nr.index = _[m.item[s]]), (m.nr.index == null || m.nr.index < v || m.nr.index >= T) && this.unuseView(m));
552
+ const w = W ? null : /* @__PURE__ */ new Map();
553
+ let F, L, B;
554
+ for (let I = v; I < T; I++) {
555
+ F = a[I];
556
+ const x = s ? F[s] : F;
557
557
  if (x == null)
558
558
  throw new Error(`Key is ${x} on item (keyField is '${s}')`);
559
- if (g = h.get(x), !i && !c[T].size) {
560
- g && this.unuseView(g);
559
+ if (m = h.get(x), !i && !c[I].size) {
560
+ m && this.unuseView(m);
561
561
  continue;
562
562
  }
563
- G = H[l];
564
- let N = p.get(G), z = !1;
565
- if (!g)
566
- E ? N && N.length ? g = N.pop() : g = this.addView(_, T, H, x, G) : (B = L.get(G) || 0, (!N || B >= N.length) && (g = this.addView(_, T, H, x, G), this.unuseView(g, !0), N = p.get(G)), g = N[B], L.set(G, B + 1)), h.delete(g.nr.key), g.nr.used = !0, g.nr.index = T, g.nr.key = x, g.nr.type = G, h.set(x, g), z = !0;
567
- else if (!g.nr.used && (g.nr.used = !0, z = !0, N)) {
568
- const J = N.indexOf(g);
569
- J !== -1 && N.splice(J, 1);
563
+ L = F[l];
564
+ let P = g.get(L), A = !1;
565
+ if (!m)
566
+ W ? P && P.length ? m = P.pop() : m = this.addView(D, I, F, x, L) : (B = w.get(L) || 0, (!P || B >= P.length) && (m = this.addView(D, I, F, x, L), this.unuseView(m, !0), P = g.get(L)), m = P[B], w.set(L, B + 1)), h.delete(m.nr.key), m.nr.used = !0, m.nr.index = I, m.nr.key = x, m.nr.type = L, h.set(x, m), A = !0;
567
+ else if (!m.nr.used && (m.nr.used = !0, A = !0, P)) {
568
+ const J = P.indexOf(m);
569
+ J !== -1 && P.splice(J, 1);
570
570
  }
571
- g.item = H, z && (T === a.length - 1 && this.$emit("scroll-end"), T === 0 && this.$emit("scroll-start")), i === null ? (g.position = c[T - 1].accumulator, g.offset = 0) : (g.position = Math.floor(T / n) * i, g.offset = T % n * r);
571
+ m.item = F, A && (I === a.length - 1 && this.$emit("scroll-end"), I === 0 && this.$emit("scroll-start")), i === null ? (m.position = c[I - 1].accumulator, m.offset = 0) : (m.position = Math.floor(I / n) * i, m.offset = I % n * r);
572
572
  }
573
- return this.$_startIndex = m, this.$_endIndex = I, this.emitUpdate && this.$emit("update", m, I, d, C), clearTimeout(this.$_sortTimer), this.$_sortTimer = setTimeout(this.sortViews, this.updateInterval + 300), {
574
- continuous: E
573
+ return this.$_startIndex = v, this.$_endIndex = T, this.emitUpdate && this.$emit("update", v, T, p, d), clearTimeout(this.$_sortTimer), this.$_sortTimer = setTimeout(this.sortViews, this.updateInterval + 300), {
574
+ continuous: W
575
575
  };
576
576
  },
577
577
  getListenerTarget() {
@@ -643,7 +643,7 @@ const fn = {
643
643
  };
644
644
  function pn(t, e, i, n, r, o) {
645
645
  const l = Ai("ResizeObserver"), s = zi("observe-visibility");
646
- return Se((k(), X(
646
+ return Se((z(), X(
647
647
  "div",
648
648
  {
649
649
  class: ce(["vue-recycle-scroller", {
@@ -654,7 +654,7 @@ function pn(t, e, i, n, r, o) {
654
654
  onScrollPassive: e[0] || (e[0] = (...a) => o.handleScroll && o.handleScroll(...a))
655
655
  },
656
656
  [
657
- t.$slots.before ? (k(), X(
657
+ t.$slots.before ? (z(), X(
658
658
  "div",
659
659
  fn,
660
660
  [
@@ -662,17 +662,17 @@ function pn(t, e, i, n, r, o) {
662
662
  ],
663
663
  512
664
664
  /* NEED_PATCH */
665
- )) : K("v-if", !0),
666
- (k(), oe(Rt(i.listTag), {
665
+ )) : G("v-if", !0),
666
+ (z(), oe(Ft(i.listTag), {
667
667
  ref: "wrapper",
668
668
  style: Jt({ [t.direction === "vertical" ? "minHeight" : "minWidth"]: r.totalSize + "px" }),
669
669
  class: ce(["vue-recycle-scroller__item-wrapper", i.listClass])
670
670
  }, {
671
671
  default: tt(() => [
672
- (k(!0), X(
672
+ (z(!0), X(
673
673
  _t,
674
674
  null,
675
- Et(r.pool, (a) => (k(), oe(Rt(i.itemTag), Pi({
675
+ Et(r.pool, (a) => (z(), oe(Ft(i.itemTag), Pi({
676
676
  key: a.nr.id,
677
677
  style: r.ready ? {
678
678
  transform: `translate${t.direction === "vertical" ? "Y" : "X"}(${a.position}px) translate${t.direction === "vertical" ? "X" : "Y"}(${a.offset}px)`,
@@ -711,7 +711,7 @@ function pn(t, e, i, n, r, o) {
711
711
  _: 3
712
712
  /* FORWARDED */
713
713
  }, 8, ["style", "class"])),
714
- t.$slots.after ? (k(), X(
714
+ t.$slots.after ? (z(), X(
715
715
  "div",
716
716
  hn,
717
717
  [
@@ -719,7 +719,7 @@ function pn(t, e, i, n, r, o) {
719
719
  ],
720
720
  512
721
721
  /* NEED_PATCH */
722
- )) : K("v-if", !0),
722
+ )) : G("v-if", !0),
723
723
  ki(l, { onNotify: o.handleResize }, null, 8, ["onNotify"])
724
724
  ],
725
725
  34
@@ -731,61 +731,73 @@ function pn(t, e, i, n, r, o) {
731
731
  Pt.render = pn;
732
732
  Pt.__file = "src/components/RecycleScroller.vue";
733
733
  const mn = (t, e) => {
734
- const i = Pe(), n = Pe(), r = Qt(t, "modelValue"), o = t.valueKey, l = Ne(() => t.selectedNum ? t.selectedNum : `${t.customTitle || je("das-select-list-selected").value}${je("das-select-list-parentheses-left").value}${r.value.length}${je("das-select-list-parentheses-right").value}`), s = Ne(() => ({ disabled: "disabled", ...t.props })), a = (y) => {
734
+ const i = Pe(), n = Pe(), r = Qt(t, "modelValue"), o = t.valueKey, l = Ne(() => t.selectedNum ? t.selectedNum : `${t.customTitle || je("das-select-list-selected").value}${je("das-select-list-parentheses-left").value}${r.value.length}${je("das-select-list-parentheses-right").value}`), s = Ne(() => ({ disabled: "disabled", ...t.props })), a = (p) => {
735
+ if (t.closeable === void 0)
736
+ return !0;
737
+ if (typeof t.closeable == "boolean")
738
+ return t.closeable;
739
+ if (typeof t.closeable == "function") {
740
+ const d = t.closeable(p);
741
+ if (typeof d == "boolean")
742
+ return d;
743
+ }
744
+ return !1;
745
+ }, u = (p) => {
735
746
  let d = !1;
736
- return typeof s.value.disabled == "string" ? d = y[s.value.disabled] : d = s.value.disabled(y) ?? !1, d;
737
- }, u = Ne({
747
+ return typeof s.value.disabled == "string" ? d = p[s.value.disabled] : d = s.value.disabled(p) ?? !1, d;
748
+ }, c = Ne({
738
749
  get: () => t.selectdValue,
739
- set: (y) => {
740
- e("update:selectdValue", y);
750
+ set: (p) => {
751
+ e("update:selectdValue", p);
741
752
  }
742
- }), c = (y) => {
743
- t.isView || a(y) || (u.value = y[o], e("select-item", y));
744
- }, h = (y) => {
745
- const d = r.value.filter((C) => C[o] !== y[o]);
746
- e("item-remove", y), e("update:modelValue", d);
747
- }, p = () => {
748
- const y = r.value.filter((C) => !a(C)), d = r.value.filter((C) => a(C));
749
- e("remove-all", y), e("update:modelValue", d);
753
+ }), h = (p) => {
754
+ t.isView || u(p) || (c.value = p[o], e("select-item", p));
755
+ }, g = (p) => {
756
+ const d = r.value.filter((m) => m[o] !== p[o]);
757
+ e("item-remove", p), e("update:modelValue", d);
758
+ }, D = () => {
759
+ const p = r.value.filter((m) => !u(m) && a(m)), d = r.value.filter((m) => u(m) || !a(m));
760
+ e("remove-all", p), e("update:modelValue", d);
750
761
  }, _ = () => {
751
- t.infiniteScroll && t.infiniteScroll().then((y) => {
752
- if (y && y.length) {
762
+ t.infiniteScroll && t.infiniteScroll().then((p) => {
763
+ if (p && p.length) {
753
764
  let d = [];
754
- d = y, d = d.filter(
755
- (g) => !r.value.map((E) => E[t.valueKey]).includes(g[t.valueKey])
765
+ d = p, d = d.filter(
766
+ (W) => !r.value.map((w) => w[t.valueKey]).includes(W[t.valueKey])
756
767
  );
757
- const C = r.value.concat(d);
758
- e("update:modelValue", C);
768
+ const m = r.value.concat(d);
769
+ e("update:modelValue", m);
759
770
  }
760
771
  });
761
772
  };
762
- let S = 0;
763
- const m = (y) => {
764
- var C;
765
- const d = ((C = n.value) == null ? void 0 : C.offsetHeight) || 0;
766
- S !== 0 && y === 0 && _(), S = y, y !== 0 && y - d < 10 && _();
767
- }, I = Pe();
773
+ let v = 0;
774
+ const T = (p) => {
775
+ var m;
776
+ const d = ((m = n.value) == null ? void 0 : m.offsetHeight) || 0;
777
+ v !== 0 && p === 0 && _(), v = p, p !== 0 && p - d < 10 && _();
778
+ }, $ = Pe();
768
779
  return Zt(() => {
769
780
  var d;
770
781
  if (t.infiniteDisabled) return;
771
- const y = (d = n.value) == null ? void 0 : d.querySelector(".selected-group");
772
- I.value = Hi((C) => {
773
- m(C.height);
774
- }, y);
782
+ const p = (d = n.value) == null ? void 0 : d.querySelector(".selected-group");
783
+ $.value = Hi((m) => {
784
+ T(m.height);
785
+ }, p);
775
786
  }), $i(() => {
776
- var y;
777
- (y = I.value) == null || y.disconnect();
787
+ var p;
788
+ (p = $.value) == null || p.disconnect();
778
789
  }), {
779
790
  selectListRef: i,
780
791
  $list: n,
781
- disabledFlag: a,
792
+ disabledFlag: u,
782
793
  itemGroups: r,
783
794
  selectedLabel: l,
784
- itemRemove: h,
785
- removeAll: p,
786
- innerSelectdValue: u,
787
- selectItem: c,
788
- infiniteLoad: _
795
+ itemRemove: g,
796
+ removeAll: D,
797
+ innerSelectdValue: c,
798
+ selectItem: h,
799
+ infiniteLoad: _,
800
+ closeableFn: a
789
801
  };
790
802
  };
791
803
  /**!
@@ -863,14 +875,14 @@ function le(t) {
863
875
  if (typeof window < "u" && window.navigator)
864
876
  return !!/* @__PURE__ */ navigator.userAgent.match(t);
865
877
  }
866
- var se = le(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Fe = le(/Edge/i), Yt = le(/firefox/i), $e = le(/safari/i) && !le(/chrome/i) && !le(/android/i), Nt = le(/iP(ad|od|hone)/i), ri = le(/chrome/i) && le(/android/i), oi = {
878
+ var se = le(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Re = le(/Edge/i), Yt = le(/firefox/i), $e = le(/safari/i) && !le(/chrome/i) && !le(/android/i), Nt = le(/iP(ad|od|hone)/i), ri = le(/chrome/i) && le(/android/i), oi = {
867
879
  capture: !1,
868
880
  passive: !1
869
881
  };
870
- function A(t, e, i) {
882
+ function O(t, e, i) {
871
883
  t.addEventListener(e, i, !se && oi);
872
884
  }
873
- function O(t, e, i) {
885
+ function C(t, e, i) {
874
886
  t.removeEventListener(e, i, !se && oi);
875
887
  }
876
888
  function it(t, e) {
@@ -913,7 +925,7 @@ function Z(t, e, i) {
913
925
  t.className = (n + (i ? " " + e : "")).replace(Xt, " ");
914
926
  }
915
927
  }
916
- function v(t, e, i) {
928
+ function b(t, e, i) {
917
929
  var n = t && t.style;
918
930
  if (n) {
919
931
  if (i === void 0)
@@ -927,7 +939,7 @@ function De(t, e) {
927
939
  i = t;
928
940
  else
929
941
  do {
930
- var n = v(t, "transform");
942
+ var n = b(t, "transform");
931
943
  n && n !== "none" && (i = n + " " + i);
932
944
  } while (!e && (t = t.parentNode));
933
945
  var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
@@ -947,20 +959,20 @@ function ne() {
947
959
  var t = document.scrollingElement;
948
960
  return t || document.documentElement;
949
961
  }
950
- function F(t, e, i, n, r) {
962
+ function H(t, e, i, n, r) {
951
963
  if (!(!t.getBoundingClientRect && t !== window)) {
952
964
  var o, l, s, a, u, c, h;
953
965
  if (t !== window && t.parentNode && t !== ne() ? (o = t.getBoundingClientRect(), l = o.top, s = o.left, a = o.bottom, u = o.right, c = o.height, h = o.width) : (l = 0, s = 0, a = window.innerHeight, u = window.innerWidth, c = window.innerHeight, h = window.innerWidth), (e || i) && t !== window && (r = r || t.parentNode, !se))
954
966
  do
955
- if (r && r.getBoundingClientRect && (v(r, "transform") !== "none" || i && v(r, "position") !== "static")) {
956
- var p = r.getBoundingClientRect();
957
- l -= p.top + parseInt(v(r, "border-top-width")), s -= p.left + parseInt(v(r, "border-left-width")), a = l + o.height, u = s + o.width;
967
+ if (r && r.getBoundingClientRect && (b(r, "transform") !== "none" || i && b(r, "position") !== "static")) {
968
+ var g = r.getBoundingClientRect();
969
+ l -= g.top + parseInt(b(r, "border-top-width")), s -= g.left + parseInt(b(r, "border-left-width")), a = l + o.height, u = s + o.width;
958
970
  break;
959
971
  }
960
972
  while (r = r.parentNode);
961
973
  if (n && t !== window) {
962
- var _ = De(r || t), S = _ && _.a, m = _ && _.d;
963
- _ && (l /= m, s /= S, h /= S, c /= m, a = l + c, u = s + h);
974
+ var D = De(r || t), _ = D && D.a, v = D && D.d;
975
+ D && (l /= v, s /= _, h /= _, c /= v, a = l + c, u = s + h);
964
976
  }
965
977
  return {
966
978
  top: l,
@@ -973,8 +985,8 @@ function F(t, e, i, n, r) {
973
985
  }
974
986
  }
975
987
  function Wt(t, e, i) {
976
- for (var n = pe(t, !0), r = F(t)[e]; n; ) {
977
- var o = F(n)[i], l = void 0;
988
+ for (var n = pe(t, !0), r = H(t)[e]; n; ) {
989
+ var o = H(n)[i], l = void 0;
978
990
  if (l = r >= o, !l) return n;
979
991
  if (n === ne()) break;
980
992
  n = pe(n, !1);
@@ -983,7 +995,7 @@ function Wt(t, e, i) {
983
995
  }
984
996
  function Ie(t, e, i, n) {
985
997
  for (var r = 0, o = 0, l = t.children; o < l.length; ) {
986
- if (l[o].style.display !== "none" && l[o] !== b.ghost && (n || l[o] !== b.dragged) && ie(l[o], i.draggable, t, !1)) {
998
+ if (l[o].style.display !== "none" && l[o] !== y.ghost && (n || l[o] !== y.dragged) && ie(l[o], i.draggable, t, !1)) {
987
999
  if (r === e)
988
1000
  return l[o];
989
1001
  r++;
@@ -993,7 +1005,7 @@ function Ie(t, e, i, n) {
993
1005
  return null;
994
1006
  }
995
1007
  function $t(t, e) {
996
- for (var i = t.lastElementChild; i && (i === b.ghost || v(i, "display") === "none" || e && !it(i, e)); )
1008
+ for (var i = t.lastElementChild; i && (i === y.ghost || b(i, "display") === "none" || e && !it(i, e)); )
997
1009
  i = i.previousElementSibling;
998
1010
  return i || null;
999
1011
  }
@@ -1002,7 +1014,7 @@ function ee(t, e) {
1002
1014
  if (!t || !t.parentNode)
1003
1015
  return -1;
1004
1016
  for (; t = t.previousElementSibling; )
1005
- t.nodeName.toUpperCase() !== "TEMPLATE" && t !== b.clone && (!e || it(t, e)) && i++;
1017
+ t.nodeName.toUpperCase() !== "TEMPLATE" && t !== y.clone && (!e || it(t, e)) && i++;
1006
1018
  return i;
1007
1019
  }
1008
1020
  function jt(t) {
@@ -1027,7 +1039,7 @@ function pe(t, e) {
1027
1039
  var i = t, n = !1;
1028
1040
  do
1029
1041
  if (i.clientWidth < i.scrollWidth || i.clientHeight < i.scrollHeight) {
1030
- var r = v(i);
1042
+ var r = b(i);
1031
1043
  if (i.clientWidth < i.scrollWidth && (r.overflowX == "auto" || r.overflowX == "scroll") || i.clientHeight < i.scrollHeight && (r.overflowY == "auto" || r.overflowY == "scroll")) {
1032
1044
  if (!i.getBoundingClientRect || i === document.body) return ne();
1033
1045
  if (n || e) return i;
@@ -1072,7 +1084,7 @@ function di(t, e, i) {
1072
1084
  return Array.from(t.children).forEach(function(r) {
1073
1085
  var o, l, s, a;
1074
1086
  if (!(!ie(r, e.draggable, t, !1) || r.animated || r === i)) {
1075
- var u = F(r);
1087
+ var u = H(r);
1076
1088
  n.left = Math.min((o = n.left) !== null && o !== void 0 ? o : 1 / 0, u.left), n.top = Math.min((l = n.top) !== null && l !== void 0 ? l : 1 / 0, u.top), n.right = Math.max((s = n.right) !== null && s !== void 0 ? s : -1 / 0, u.right), n.bottom = Math.max((a = n.bottom) !== null && a !== void 0 ? a : -1 / 0, u.bottom);
1077
1089
  }
1078
1090
  }), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
@@ -1085,10 +1097,10 @@ function En() {
1085
1097
  if (t = [], !!this.options.animation) {
1086
1098
  var n = [].slice.call(this.el.children);
1087
1099
  n.forEach(function(r) {
1088
- if (!(v(r, "display") === "none" || r === b.ghost)) {
1100
+ if (!(b(r, "display") === "none" || r === y.ghost)) {
1089
1101
  t.push({
1090
1102
  target: r,
1091
- rect: F(r)
1103
+ rect: H(r)
1092
1104
  });
1093
1105
  var o = re({}, t[t.length - 1].rect);
1094
1106
  if (r.thisAnimationDuration) {
@@ -1116,9 +1128,9 @@ function En() {
1116
1128
  }
1117
1129
  var o = !1, l = 0;
1118
1130
  t.forEach(function(s) {
1119
- var a = 0, u = s.target, c = u.fromRect, h = F(u), p = u.prevFromRect, _ = u.prevToRect, S = s.rect, m = De(u, !0);
1120
- m && (h.top -= m.f, h.left -= m.e), u.toRect = h, u.thisAnimationDuration && ht(p, h) && !ht(c, h) && // Make sure animatingRect is on line between toRect & fromRect
1121
- (S.top - h.top) / (S.left - h.left) === (c.top - h.top) / (c.left - h.left) && (a = In(S, p, _, r.options)), ht(h, c) || (u.prevFromRect = c, u.prevToRect = h, a || (a = r.options.animation), r.animate(u, S, h, a)), a && (o = !0, l = Math.max(l, a), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
1131
+ var a = 0, u = s.target, c = u.fromRect, h = H(u), g = u.prevFromRect, D = u.prevToRect, _ = s.rect, v = De(u, !0);
1132
+ v && (h.top -= v.f, h.left -= v.e), u.toRect = h, u.thisAnimationDuration && ht(g, h) && !ht(c, h) && // Make sure animatingRect is on line between toRect & fromRect
1133
+ (_.top - h.top) / (_.left - h.left) === (c.top - h.top) / (c.left - h.left) && (a = In(_, g, D, r.options)), ht(h, c) || (u.prevFromRect = c, u.prevToRect = h, a || (a = r.options.animation), r.animate(u, _, h, a)), a && (o = !0, l = Math.max(l, a), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
1122
1134
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
1123
1135
  }, a), u.thisAnimationDuration = a);
1124
1136
  }), clearTimeout(e), o ? e = setTimeout(function() {
@@ -1127,10 +1139,10 @@ function En() {
1127
1139
  },
1128
1140
  animate: function(n, r, o, l) {
1129
1141
  if (l) {
1130
- v(n, "transition", ""), v(n, "transform", "");
1142
+ b(n, "transition", ""), b(n, "transform", "");
1131
1143
  var s = De(this.el), a = s && s.a, u = s && s.d, c = (r.left - o.left) / (a || 1), h = (r.top - o.top) / (u || 1);
1132
- n.animatingX = !!c, n.animatingY = !!h, v(n, "transform", "translate3d(" + c + "px," + h + "px,0)"), this.forRepaintDummy = Dn(n), v(n, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), v(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1133
- v(n, "transition", ""), v(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
1144
+ n.animatingX = !!c, n.animatingY = !!h, b(n, "transform", "translate3d(" + c + "px," + h + "px,0)"), this.forRepaintDummy = Dn(n), b(n, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), b(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1145
+ b(n, "transition", ""), b(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
1134
1146
  }, l);
1135
1147
  }
1136
1148
  }
@@ -1195,33 +1207,33 @@ var ye = [], pt = {
1195
1207
  }
1196
1208
  };
1197
1209
  function Tn(t) {
1198
- var e = t.sortable, i = t.rootEl, n = t.name, r = t.targetEl, o = t.cloneEl, l = t.toEl, s = t.fromEl, a = t.oldIndex, u = t.newIndex, c = t.oldDraggableIndex, h = t.newDraggableIndex, p = t.originalEvent, _ = t.putSortable, S = t.extraEventProperties;
1210
+ var e = t.sortable, i = t.rootEl, n = t.name, r = t.targetEl, o = t.cloneEl, l = t.toEl, s = t.fromEl, a = t.oldIndex, u = t.newIndex, c = t.oldDraggableIndex, h = t.newDraggableIndex, g = t.originalEvent, D = t.putSortable, _ = t.extraEventProperties;
1199
1211
  if (e = e || i && i[q], !!e) {
1200
- var m, I = e.options, y = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1201
- window.CustomEvent && !se && !Fe ? m = new CustomEvent(n, {
1212
+ var v, T = e.options, $ = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1213
+ window.CustomEvent && !se && !Re ? v = new CustomEvent(n, {
1202
1214
  bubbles: !0,
1203
1215
  cancelable: !0
1204
- }) : (m = document.createEvent("Event"), m.initEvent(n, !0, !0)), m.to = l || i, m.from = s || i, m.item = r || i, m.clone = o, m.oldIndex = a, m.newIndex = u, m.oldDraggableIndex = c, m.newDraggableIndex = h, m.originalEvent = p, m.pullMode = _ ? _.lastPutMode : void 0;
1205
- var d = re(re({}, S), He.getEventProperties(n, e));
1206
- for (var C in d)
1207
- m[C] = d[C];
1208
- i && i.dispatchEvent(m), I[y] && I[y].call(e, m);
1216
+ }) : (v = document.createEvent("Event"), v.initEvent(n, !0, !0)), v.to = l || i, v.from = s || i, v.item = r || i, v.clone = o, v.oldIndex = a, v.newIndex = u, v.oldDraggableIndex = c, v.newDraggableIndex = h, v.originalEvent = g, v.pullMode = D ? D.lastPutMode : void 0;
1217
+ var p = re(re({}, _), He.getEventProperties(n, e));
1218
+ for (var d in p)
1219
+ v[d] = p[d];
1220
+ i && i.dispatchEvent(v), T[$] && T[$].call(e, v);
1209
1221
  }
1210
1222
  }
1211
1223
  var Cn = ["evt"], U = function(e, i) {
1212
1224
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.evt, o = bn(n, Cn);
1213
- He.pluginEvent.bind(b)(e, i, re({
1225
+ He.pluginEvent.bind(y)(e, i, re({
1214
1226
  dragEl: f,
1215
1227
  parentEl: M,
1216
- ghostEl: w,
1217
- rootEl: P,
1228
+ ghostEl: S,
1229
+ rootEl: k,
1218
1230
  nextEl: be,
1219
1231
  lastDownEl: qe,
1220
- cloneEl: $,
1232
+ cloneEl: N,
1221
1233
  cloneHidden: fe,
1222
1234
  dragStarted: Ae,
1223
1235
  putSortable: Y,
1224
- activeSortable: b.active,
1236
+ activeSortable: y.active,
1225
1237
  originalEvent: r,
1226
1238
  oldIndex: Ee,
1227
1239
  oldDraggableIndex: xe,
@@ -1236,7 +1248,7 @@ var Cn = ["evt"], U = function(e, i) {
1236
1248
  fe = !1;
1237
1249
  },
1238
1250
  dispatchSortableEvent: function(s) {
1239
- j({
1251
+ K({
1240
1252
  sortable: i,
1241
1253
  name: s,
1242
1254
  originalEvent: r
@@ -1244,19 +1256,19 @@ var Cn = ["evt"], U = function(e, i) {
1244
1256
  }
1245
1257
  }, o));
1246
1258
  };
1247
- function j(t) {
1259
+ function K(t) {
1248
1260
  Tn(re({
1249
1261
  putSortable: Y,
1250
- cloneEl: $,
1262
+ cloneEl: N,
1251
1263
  targetEl: f,
1252
- rootEl: P,
1264
+ rootEl: k,
1253
1265
  oldIndex: Ee,
1254
1266
  oldDraggableIndex: xe,
1255
1267
  newIndex: Q,
1256
1268
  newDraggableIndex: de
1257
1269
  }, t));
1258
1270
  }
1259
- var f, M, w, P, be, qe, $, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [], ge, te, mt, gt, Kt, Gt, Ae, we, Ve, Re = !1, Ye = !1, Je, W, vt = [], Ot = !1, ot = [], st = typeof document < "u", Xe = Nt, Ut = Fe || se ? "cssFloat" : "float", On = st && !ri && !Nt && "draggable" in document.createElement("div"), fi = function() {
1271
+ var f, M, S, k, be, qe, N, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [], ge, te, mt, gt, Kt, Gt, Ae, we, Ve, Fe = !1, Ye = !1, Je, j, vt = [], Ot = !1, ot = [], st = typeof document < "u", Xe = Nt, Ut = Re || se ? "cssFloat" : "float", On = st && !ri && !Nt && "draggable" in document.createElement("div"), fi = function() {
1260
1272
  if (st) {
1261
1273
  if (se)
1262
1274
  return !1;
@@ -1264,7 +1276,7 @@ var f, M, w, P, be, qe, $, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [],
1264
1276
  return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
1265
1277
  }
1266
1278
  }(), hi = function(e, i) {
1267
- var n = v(e), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), o = Ie(e, 0, i), l = Ie(e, 1, i), s = o && v(o), a = l && v(l), u = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + F(o).width, c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + F(l).width;
1279
+ var n = b(e), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), o = Ie(e, 0, i), l = Ie(e, 1, i), s = o && b(o), a = l && b(l), u = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + H(o).width, c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + H(l).width;
1268
1280
  if (n.display === "flex")
1269
1281
  return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
1270
1282
  if (n.display === "grid")
@@ -1282,7 +1294,7 @@ var f, M, w, P, be, qe, $, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [],
1282
1294
  return rt.some(function(r) {
1283
1295
  var o = r[q].options.emptyInsertThreshold;
1284
1296
  if (!(!o || $t(r))) {
1285
- var l = F(r), s = e >= l.left - o && e <= l.right + o, a = i >= l.top - o && i <= l.bottom + o;
1297
+ var l = H(r), s = e >= l.left - o && e <= l.right + o, a = i >= l.top - o && i <= l.bottom + o;
1286
1298
  if (s && a)
1287
1299
  return n = r;
1288
1300
  }
@@ -1299,8 +1311,8 @@ var f, M, w, P, be, qe, $, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [],
1299
1311
  return o;
1300
1312
  if (typeof o == "function")
1301
1313
  return i(o(s, a, u, c), l)(s, a, u, c);
1302
- var p = (l ? s : a).options.group.name;
1303
- return o === !0 || typeof o == "string" && o === p || o.join && o.indexOf(p) > -1;
1314
+ var g = (l ? s : a).options.group.name;
1315
+ return o === !0 || typeof o == "string" && o === g || o.join && o.indexOf(g) > -1;
1304
1316
  };
1305
1317
  }
1306
1318
  var n = {}, r = e.group;
@@ -1308,9 +1320,9 @@ var f, M, w, P, be, qe, $, fe, Ee, Q, xe, de, Be, Y, _e = !1, nt = !1, rt = [],
1308
1320
  name: r
1309
1321
  }), n.name = r.name, n.checkPull = i(r.pull, !0), n.checkPut = i(r.put), n.revertClone = r.revertClone, e.group = n;
1310
1322
  }, mi = function() {
1311
- !fi && w && v(w, "display", "none");
1323
+ !fi && S && b(S, "display", "none");
1312
1324
  }, gi = function() {
1313
- !fi && w && v(w, "display", "");
1325
+ !fi && S && b(S, "display", "");
1314
1326
  };
1315
1327
  st && !ri && document.addEventListener("click", function(t) {
1316
1328
  if (nt)
@@ -1330,7 +1342,7 @@ var ve = function(e) {
1330
1342
  }, kn = function(e) {
1331
1343
  f && f.parentNode[q]._isOutsideThisEl(e.target);
1332
1344
  };
1333
- function b(t, e) {
1345
+ function y(t, e) {
1334
1346
  if (!(t && t.nodeType && t.nodeType === 1))
1335
1347
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
1336
1348
  this.el = t, this.options = e = ae({}, e), t[q] = this;
@@ -1377,7 +1389,7 @@ function b(t, e) {
1377
1389
  y: 0
1378
1390
  },
1379
1391
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
1380
- supportPointer: b.supportPointer !== !1 && "PointerEvent" in window && (!$e || Nt),
1392
+ supportPointer: y.supportPointer !== !1 && "PointerEvent" in window && (!$e || Nt),
1381
1393
  emptyInsertThreshold: 5
1382
1394
  };
1383
1395
  He.initializePlugins(this, t, i);
@@ -1386,11 +1398,11 @@ function b(t, e) {
1386
1398
  pi(e);
1387
1399
  for (var r in this)
1388
1400
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
1389
- this.nativeDraggable = e.forceFallback ? !1 : On, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? A(t, "pointerdown", this._onTapStart) : (A(t, "mousedown", this._onTapStart), A(t, "touchstart", this._onTapStart)), this.nativeDraggable && (A(t, "dragover", this), A(t, "dragenter", this)), rt.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), ae(this, En());
1401
+ this.nativeDraggable = e.forceFallback ? !1 : On, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? O(t, "pointerdown", this._onTapStart) : (O(t, "mousedown", this._onTapStart), O(t, "touchstart", this._onTapStart)), this.nativeDraggable && (O(t, "dragover", this), O(t, "dragenter", this)), rt.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), ae(this, En());
1390
1402
  }
1391
- b.prototype = /** @lends Sortable.prototype */
1403
+ y.prototype = /** @lends Sortable.prototype */
1392
1404
  {
1393
- constructor: b,
1405
+ constructor: y,
1394
1406
  _isOutsideThisEl: function(e) {
1395
1407
  !this.el.contains(e) && e !== this.el && (we = null);
1396
1408
  },
@@ -1400,10 +1412,10 @@ b.prototype = /** @lends Sortable.prototype */
1400
1412
  _onTapStart: function(e) {
1401
1413
  if (e.cancelable) {
1402
1414
  var i = this, n = this.el, r = this.options, o = r.preventOnFilter, l = e.type, s = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, a = (s || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || a, c = r.filter;
1403
- if (Fn(n), !f && !(/mousedown|pointerdown/.test(l) && e.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && $e && a && a.tagName.toUpperCase() === "SELECT") && (a = ie(a, r.draggable, n, !1), !(a && a.animated) && qe !== a)) {
1415
+ if (Rn(n), !f && !(/mousedown|pointerdown/.test(l) && e.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && $e && a && a.tagName.toUpperCase() === "SELECT") && (a = ie(a, r.draggable, n, !1), !(a && a.animated) && qe !== a)) {
1404
1416
  if (Ee = ee(a), xe = ee(a, r.draggable), typeof c == "function") {
1405
1417
  if (c.call(this, e, a, this)) {
1406
- j({
1418
+ K({
1407
1419
  sortable: i,
1408
1420
  rootEl: u,
1409
1421
  name: "filter",
@@ -1417,7 +1429,7 @@ b.prototype = /** @lends Sortable.prototype */
1417
1429
  }
1418
1430
  } else if (c && (c = c.split(",").some(function(h) {
1419
1431
  if (h = ie(u, h.trim(), n, !1), h)
1420
- return j({
1432
+ return K({
1421
1433
  sortable: i,
1422
1434
  rootEl: h,
1423
1435
  name: "filter",
@@ -1438,33 +1450,33 @@ b.prototype = /** @lends Sortable.prototype */
1438
1450
  _prepareDragStart: function(e, i, n) {
1439
1451
  var r = this, o = r.el, l = r.options, s = o.ownerDocument, a;
1440
1452
  if (n && !f && n.parentNode === o) {
1441
- var u = F(n);
1442
- if (P = o, f = n, M = f.parentNode, be = f.nextSibling, qe = n, Be = l.group, b.dragged = f, ge = {
1453
+ var u = H(n);
1454
+ if (k = o, f = n, M = f.parentNode, be = f.nextSibling, qe = n, Be = l.group, y.dragged = f, ge = {
1443
1455
  target: f,
1444
1456
  clientX: (i || e).clientX,
1445
1457
  clientY: (i || e).clientY
1446
1458
  }, Kt = ge.clientX - u.left, Gt = ge.clientY - u.top, this._lastX = (i || e).clientX, this._lastY = (i || e).clientY, f.style["will-change"] = "all", a = function() {
1447
1459
  if (U("delayEnded", r, {
1448
1460
  evt: e
1449
- }), b.eventCanceled) {
1461
+ }), y.eventCanceled) {
1450
1462
  r._onDrop();
1451
1463
  return;
1452
1464
  }
1453
- r._disableDelayedDragEvents(), !Yt && r.nativeDraggable && (f.draggable = !0), r._triggerDragStart(e, i), j({
1465
+ r._disableDelayedDragEvents(), !Yt && r.nativeDraggable && (f.draggable = !0), r._triggerDragStart(e, i), K({
1454
1466
  sortable: r,
1455
1467
  name: "choose",
1456
1468
  originalEvent: e
1457
1469
  }), Z(f, l.chosenClass, !0);
1458
1470
  }, l.ignore.split(",").forEach(function(c) {
1459
1471
  ai(f, c.trim(), bt);
1460
- }), A(s, "dragover", ve), A(s, "mousemove", ve), A(s, "touchmove", ve), l.supportPointer ? (A(s, "pointerup", r._onDrop), !this.nativeDraggable && A(s, "pointercancel", r._onDrop)) : (A(s, "mouseup", r._onDrop), A(s, "touchend", r._onDrop), A(s, "touchcancel", r._onDrop)), Yt && this.nativeDraggable && (this.options.touchStartThreshold = 4, f.draggable = !0), U("delayStart", this, {
1472
+ }), O(s, "dragover", ve), O(s, "mousemove", ve), O(s, "touchmove", ve), l.supportPointer ? (O(s, "pointerup", r._onDrop), !this.nativeDraggable && O(s, "pointercancel", r._onDrop)) : (O(s, "mouseup", r._onDrop), O(s, "touchend", r._onDrop), O(s, "touchcancel", r._onDrop)), Yt && this.nativeDraggable && (this.options.touchStartThreshold = 4, f.draggable = !0), U("delayStart", this, {
1461
1473
  evt: e
1462
- }), l.delay && (!l.delayOnTouchOnly || i) && (!this.nativeDraggable || !(Fe || se))) {
1463
- if (b.eventCanceled) {
1474
+ }), l.delay && (!l.delayOnTouchOnly || i) && (!this.nativeDraggable || !(Re || se))) {
1475
+ if (y.eventCanceled) {
1464
1476
  this._onDrop();
1465
1477
  return;
1466
1478
  }
1467
- l.supportPointer ? (A(s, "pointerup", r._disableDelayedDrag), A(s, "pointercancel", r._disableDelayedDrag)) : (A(s, "mouseup", r._disableDelayedDrag), A(s, "touchend", r._disableDelayedDrag), A(s, "touchcancel", r._disableDelayedDrag)), A(s, "mousemove", r._delayedDragTouchMoveHandler), A(s, "touchmove", r._delayedDragTouchMoveHandler), l.supportPointer && A(s, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(a, l.delay);
1479
+ l.supportPointer ? (O(s, "pointerup", r._disableDelayedDrag), O(s, "pointercancel", r._disableDelayedDrag)) : (O(s, "mouseup", r._disableDelayedDrag), O(s, "touchend", r._disableDelayedDrag), O(s, "touchcancel", r._disableDelayedDrag)), O(s, "mousemove", r._delayedDragTouchMoveHandler), O(s, "touchmove", r._delayedDragTouchMoveHandler), l.supportPointer && O(s, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(a, l.delay);
1468
1480
  } else
1469
1481
  a();
1470
1482
  }
@@ -1478,10 +1490,10 @@ b.prototype = /** @lends Sortable.prototype */
1478
1490
  },
1479
1491
  _disableDelayedDragEvents: function() {
1480
1492
  var e = this.el.ownerDocument;
1481
- O(e, "mouseup", this._disableDelayedDrag), O(e, "touchend", this._disableDelayedDrag), O(e, "touchcancel", this._disableDelayedDrag), O(e, "pointerup", this._disableDelayedDrag), O(e, "pointercancel", this._disableDelayedDrag), O(e, "mousemove", this._delayedDragTouchMoveHandler), O(e, "touchmove", this._delayedDragTouchMoveHandler), O(e, "pointermove", this._delayedDragTouchMoveHandler);
1493
+ C(e, "mouseup", this._disableDelayedDrag), C(e, "touchend", this._disableDelayedDrag), C(e, "touchcancel", this._disableDelayedDrag), C(e, "pointerup", this._disableDelayedDrag), C(e, "pointercancel", this._disableDelayedDrag), C(e, "mousemove", this._delayedDragTouchMoveHandler), C(e, "touchmove", this._delayedDragTouchMoveHandler), C(e, "pointermove", this._delayedDragTouchMoveHandler);
1482
1494
  },
1483
1495
  _triggerDragStart: function(e, i) {
1484
- i = i || e.pointerType == "touch" && e, !this.nativeDraggable || i ? this.options.supportPointer ? A(document, "pointermove", this._onTouchMove) : i ? A(document, "touchmove", this._onTouchMove) : A(document, "mousemove", this._onTouchMove) : (A(f, "dragend", this), A(P, "dragstart", this._onDragStart));
1496
+ i = i || e.pointerType == "touch" && e, !this.nativeDraggable || i ? this.options.supportPointer ? O(document, "pointermove", this._onTouchMove) : i ? O(document, "touchmove", this._onTouchMove) : O(document, "mousemove", this._onTouchMove) : (O(f, "dragend", this), O(k, "dragstart", this._onDragStart));
1485
1497
  try {
1486
1498
  document.selection ? Ze(function() {
1487
1499
  document.selection.empty();
@@ -1490,12 +1502,12 @@ b.prototype = /** @lends Sortable.prototype */
1490
1502
  }
1491
1503
  },
1492
1504
  _dragStarted: function(e, i) {
1493
- if (_e = !1, P && f) {
1505
+ if (_e = !1, k && f) {
1494
1506
  U("dragStarted", this, {
1495
1507
  evt: i
1496
- }), this.nativeDraggable && A(document, "dragover", kn);
1508
+ }), this.nativeDraggable && O(document, "dragover", kn);
1497
1509
  var n = this.options;
1498
- !e && Z(f, n.dragClass, !1), Z(f, n.ghostClass, !0), b.active = this, e && this._appendGhost(), j({
1510
+ !e && Z(f, n.dragClass, !1), Z(f, n.ghostClass, !0), y.active = this, e && this._appendGhost(), K({
1499
1511
  sortable: this,
1500
1512
  name: "start",
1501
1513
  originalEvent: i
@@ -1527,13 +1539,13 @@ b.prototype = /** @lends Sortable.prototype */
1527
1539
  },
1528
1540
  _onTouchMove: function(e) {
1529
1541
  if (ge) {
1530
- var i = this.options, n = i.fallbackTolerance, r = i.fallbackOffset, o = e.touches ? e.touches[0] : e, l = w && De(w, !0), s = w && l && l.a, a = w && l && l.d, u = Xe && W && jt(W), c = (o.clientX - ge.clientX + r.x) / (s || 1) + (u ? u[0] - vt[0] : 0) / (s || 1), h = (o.clientY - ge.clientY + r.y) / (a || 1) + (u ? u[1] - vt[1] : 0) / (a || 1);
1531
- if (!b.active && !_e) {
1542
+ var i = this.options, n = i.fallbackTolerance, r = i.fallbackOffset, o = e.touches ? e.touches[0] : e, l = S && De(S, !0), s = S && l && l.a, a = S && l && l.d, u = Xe && j && jt(j), c = (o.clientX - ge.clientX + r.x) / (s || 1) + (u ? u[0] - vt[0] : 0) / (s || 1), h = (o.clientY - ge.clientY + r.y) / (a || 1) + (u ? u[1] - vt[1] : 0) / (a || 1);
1543
+ if (!y.active && !_e) {
1532
1544
  if (n && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < n)
1533
1545
  return;
1534
1546
  this._onDragStart(e, !0);
1535
1547
  }
1536
- if (w) {
1548
+ if (S) {
1537
1549
  l ? (l.e += c - (mt || 0), l.f += h - (gt || 0)) : l = {
1538
1550
  a: 1,
1539
1551
  b: 0,
@@ -1542,73 +1554,73 @@ b.prototype = /** @lends Sortable.prototype */
1542
1554
  e: c,
1543
1555
  f: h
1544
1556
  };
1545
- var p = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
1546
- v(w, "webkitTransform", p), v(w, "mozTransform", p), v(w, "msTransform", p), v(w, "transform", p), mt = c, gt = h, te = o;
1557
+ var g = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
1558
+ b(S, "webkitTransform", g), b(S, "mozTransform", g), b(S, "msTransform", g), b(S, "transform", g), mt = c, gt = h, te = o;
1547
1559
  }
1548
1560
  e.cancelable && e.preventDefault();
1549
1561
  }
1550
1562
  },
1551
1563
  _appendGhost: function() {
1552
- if (!w) {
1553
- var e = this.options.fallbackOnBody ? document.body : P, i = F(f, !0, Xe, !0, e), n = this.options;
1564
+ if (!S) {
1565
+ var e = this.options.fallbackOnBody ? document.body : k, i = H(f, !0, Xe, !0, e), n = this.options;
1554
1566
  if (Xe) {
1555
- for (W = e; v(W, "position") === "static" && v(W, "transform") === "none" && W !== document; )
1556
- W = W.parentNode;
1557
- W !== document.body && W !== document.documentElement ? (W === document && (W = ne()), i.top += W.scrollTop, i.left += W.scrollLeft) : W = ne(), vt = jt(W);
1567
+ for (j = e; b(j, "position") === "static" && b(j, "transform") === "none" && j !== document; )
1568
+ j = j.parentNode;
1569
+ j !== document.body && j !== document.documentElement ? (j === document && (j = ne()), i.top += j.scrollTop, i.left += j.scrollLeft) : j = ne(), vt = jt(j);
1558
1570
  }
1559
- w = f.cloneNode(!0), Z(w, n.ghostClass, !1), Z(w, n.fallbackClass, !0), Z(w, n.dragClass, !0), v(w, "transition", ""), v(w, "transform", ""), v(w, "box-sizing", "border-box"), v(w, "margin", 0), v(w, "top", i.top), v(w, "left", i.left), v(w, "width", i.width), v(w, "height", i.height), v(w, "opacity", "0.8"), v(w, "position", Xe ? "absolute" : "fixed"), v(w, "zIndex", "100000"), v(w, "pointerEvents", "none"), b.ghost = w, e.appendChild(w), v(w, "transform-origin", Kt / parseInt(w.style.width) * 100 + "% " + Gt / parseInt(w.style.height) * 100 + "%");
1571
+ S = f.cloneNode(!0), Z(S, n.ghostClass, !1), Z(S, n.fallbackClass, !0), Z(S, n.dragClass, !0), b(S, "transition", ""), b(S, "transform", ""), b(S, "box-sizing", "border-box"), b(S, "margin", 0), b(S, "top", i.top), b(S, "left", i.left), b(S, "width", i.width), b(S, "height", i.height), b(S, "opacity", "0.8"), b(S, "position", Xe ? "absolute" : "fixed"), b(S, "zIndex", "100000"), b(S, "pointerEvents", "none"), y.ghost = S, e.appendChild(S), b(S, "transform-origin", Kt / parseInt(S.style.width) * 100 + "% " + Gt / parseInt(S.style.height) * 100 + "%");
1560
1572
  }
1561
1573
  },
1562
1574
  _onDragStart: function(e, i) {
1563
1575
  var n = this, r = e.dataTransfer, o = n.options;
1564
1576
  if (U("dragStart", this, {
1565
1577
  evt: e
1566
- }), b.eventCanceled) {
1578
+ }), y.eventCanceled) {
1567
1579
  this._onDrop();
1568
1580
  return;
1569
1581
  }
1570
- U("setupClone", this), b.eventCanceled || ($ = ci(f), $.removeAttribute("id"), $.draggable = !1, $.style["will-change"] = "", this._hideClone(), Z($, this.options.chosenClass, !1), b.clone = $), n.cloneId = Ze(function() {
1571
- U("clone", n), !b.eventCanceled && (n.options.removeCloneOnHide || P.insertBefore($, f), n._hideClone(), j({
1582
+ U("setupClone", this), y.eventCanceled || (N = ci(f), N.removeAttribute("id"), N.draggable = !1, N.style["will-change"] = "", this._hideClone(), Z(N, this.options.chosenClass, !1), y.clone = N), n.cloneId = Ze(function() {
1583
+ U("clone", n), !y.eventCanceled && (n.options.removeCloneOnHide || k.insertBefore(N, f), n._hideClone(), K({
1572
1584
  sortable: n,
1573
1585
  name: "clone"
1574
1586
  }));
1575
- }), !i && Z(f, o.dragClass, !0), i ? (nt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (O(document, "mouseup", n._onDrop), O(document, "touchend", n._onDrop), O(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(n, r, f)), A(document, "drop", n), v(f, "transform", "translateZ(0)")), _e = !0, n._dragStartId = Ze(n._dragStarted.bind(n, i, e)), A(document, "selectstart", n), Ae = !0, window.getSelection().removeAllRanges(), $e && v(document.body, "user-select", "none");
1587
+ }), !i && Z(f, o.dragClass, !0), i ? (nt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (C(document, "mouseup", n._onDrop), C(document, "touchend", n._onDrop), C(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(n, r, f)), O(document, "drop", n), b(f, "transform", "translateZ(0)")), _e = !0, n._dragStartId = Ze(n._dragStarted.bind(n, i, e)), O(document, "selectstart", n), Ae = !0, window.getSelection().removeAllRanges(), $e && b(document.body, "user-select", "none");
1576
1588
  },
1577
1589
  // Returns true - if no further action is needed (either inserted or another condition)
1578
1590
  _onDragOver: function(e) {
1579
- var i = this.el, n = e.target, r, o, l, s = this.options, a = s.group, u = b.active, c = Be === a, h = s.sort, p = Y || u, _, S = this, m = !1;
1591
+ var i = this.el, n = e.target, r, o, l, s = this.options, a = s.group, u = y.active, c = Be === a, h = s.sort, g = Y || u, D, _ = this, v = !1;
1580
1592
  if (Ot) return;
1581
- function I(Te, bi) {
1582
- U(Te, S, re({
1593
+ function T(Te, bi) {
1594
+ U(Te, _, re({
1583
1595
  evt: e,
1584
1596
  isOwner: c,
1585
- axis: _ ? "vertical" : "horizontal",
1597
+ axis: D ? "vertical" : "horizontal",
1586
1598
  revert: l,
1587
1599
  dragRect: r,
1588
1600
  targetRect: o,
1589
1601
  canSort: h,
1590
- fromSortable: p,
1602
+ fromSortable: g,
1591
1603
  target: n,
1592
- completed: d,
1604
+ completed: p,
1593
1605
  onMove: function(Vt, yi) {
1594
- return We(P, i, f, r, Vt, F(Vt), e, yi);
1606
+ return We(k, i, f, r, Vt, H(Vt), e, yi);
1595
1607
  },
1596
- changed: C
1608
+ changed: d
1597
1609
  }, bi));
1598
1610
  }
1599
- function y() {
1600
- I("dragOverAnimationCapture"), S.captureAnimationState(), S !== p && p.captureAnimationState();
1611
+ function $() {
1612
+ T("dragOverAnimationCapture"), _.captureAnimationState(), _ !== g && g.captureAnimationState();
1601
1613
  }
1602
- function d(Te) {
1603
- return I("dragOverCompleted", {
1614
+ function p(Te) {
1615
+ return T("dragOverCompleted", {
1604
1616
  insertion: Te
1605
- }), Te && (c ? u._hideClone() : u._showClone(S), S !== p && (Z(f, Y ? Y.options.ghostClass : u.options.ghostClass, !1), Z(f, s.ghostClass, !0)), Y !== S && S !== b.active ? Y = S : S === b.active && Y && (Y = null), p === S && (S._ignoreWhileAnimating = n), S.animateAll(function() {
1606
- I("dragOverAnimationComplete"), S._ignoreWhileAnimating = null;
1607
- }), S !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === f && !f.animated || n === i && !n.animated) && (we = null), !s.dragoverBubble && !e.rootEl && n !== document && (f.parentNode[q]._isOutsideThisEl(e.target), !Te && ve(e)), !s.dragoverBubble && e.stopPropagation && e.stopPropagation(), m = !0;
1617
+ }), Te && (c ? u._hideClone() : u._showClone(_), _ !== g && (Z(f, Y ? Y.options.ghostClass : u.options.ghostClass, !1), Z(f, s.ghostClass, !0)), Y !== _ && _ !== y.active ? Y = _ : _ === y.active && Y && (Y = null), g === _ && (_._ignoreWhileAnimating = n), _.animateAll(function() {
1618
+ T("dragOverAnimationComplete"), _._ignoreWhileAnimating = null;
1619
+ }), _ !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (n === f && !f.animated || n === i && !n.animated) && (we = null), !s.dragoverBubble && !e.rootEl && n !== document && (f.parentNode[q]._isOutsideThisEl(e.target), !Te && ve(e)), !s.dragoverBubble && e.stopPropagation && e.stopPropagation(), v = !0;
1608
1620
  }
1609
- function C() {
1610
- Q = ee(f), de = ee(f, s.draggable), j({
1611
- sortable: S,
1621
+ function d() {
1622
+ Q = ee(f), de = ee(f, s.draggable), K({
1623
+ sortable: _,
1612
1624
  name: "change",
1613
1625
  toEl: i,
1614
1626
  newIndex: Q,
@@ -1616,106 +1628,106 @@ b.prototype = /** @lends Sortable.prototype */
1616
1628
  originalEvent: e
1617
1629
  });
1618
1630
  }
1619
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = ie(n, s.draggable, i, !0), I("dragOver"), b.eventCanceled) return m;
1620
- if (f.contains(e.target) || n.animated && n.animatingX && n.animatingY || S._ignoreWhileAnimating === n)
1621
- return d(!1);
1622
- if (nt = !1, u && !s.disabled && (c ? h || (l = M !== P) : Y === this || (this.lastPutMode = Be.checkPull(this, u, f, e)) && a.checkPut(this, u, f, e))) {
1623
- if (_ = this._getDirection(e, n) === "vertical", r = F(f), I("dragOverValid"), b.eventCanceled) return m;
1631
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = ie(n, s.draggable, i, !0), T("dragOver"), y.eventCanceled) return v;
1632
+ if (f.contains(e.target) || n.animated && n.animatingX && n.animatingY || _._ignoreWhileAnimating === n)
1633
+ return p(!1);
1634
+ if (nt = !1, u && !s.disabled && (c ? h || (l = M !== k) : Y === this || (this.lastPutMode = Be.checkPull(this, u, f, e)) && a.checkPut(this, u, f, e))) {
1635
+ if (D = this._getDirection(e, n) === "vertical", r = H(f), T("dragOverValid"), y.eventCanceled) return v;
1624
1636
  if (l)
1625
- return M = P, y(), this._hideClone(), I("revert"), b.eventCanceled || (be ? P.insertBefore(f, be) : P.appendChild(f)), d(!0);
1626
- var g = $t(i, s.draggable);
1627
- if (!g || Mn(e, _, this) && !g.animated) {
1628
- if (g === f)
1629
- return d(!1);
1630
- if (g && i === e.target && (n = g), n && (o = F(n)), We(P, i, f, r, n, o, e, !!n) !== !1)
1631
- return y(), g && g.nextSibling ? i.insertBefore(f, g.nextSibling) : i.appendChild(f), M = i, C(), d(!0);
1632
- } else if (g && $n(e, _, this)) {
1633
- var E = Ie(i, 0, s, !0);
1634
- if (E === f)
1635
- return d(!1);
1636
- if (n = E, o = F(n), We(P, i, f, r, n, o, e, !1) !== !1)
1637
- return y(), i.insertBefore(f, E), M = i, C(), d(!0);
1637
+ return M = k, $(), this._hideClone(), T("revert"), y.eventCanceled || (be ? k.insertBefore(f, be) : k.appendChild(f)), p(!0);
1638
+ var m = $t(i, s.draggable);
1639
+ if (!m || Mn(e, D, this) && !m.animated) {
1640
+ if (m === f)
1641
+ return p(!1);
1642
+ if (m && i === e.target && (n = m), n && (o = H(n)), We(k, i, f, r, n, o, e, !!n) !== !1)
1643
+ return $(), m && m.nextSibling ? i.insertBefore(f, m.nextSibling) : i.appendChild(f), M = i, d(), p(!0);
1644
+ } else if (m && $n(e, D, this)) {
1645
+ var W = Ie(i, 0, s, !0);
1646
+ if (W === f)
1647
+ return p(!1);
1648
+ if (n = W, o = H(n), We(k, i, f, r, n, o, e, !1) !== !1)
1649
+ return $(), i.insertBefore(f, W), M = i, d(), p(!0);
1638
1650
  } else if (n.parentNode === i) {
1639
- o = F(n);
1640
- var L = 0, H, G = f.parentNode !== i, B = !An(f.animated && f.toRect || r, n.animated && n.toRect || o, _), T = _ ? "top" : "left", x = Wt(n, "top", "top") || Wt(f, "top", "top"), N = x ? x.scrollTop : void 0;
1641
- we !== n && (H = o[T], Re = !1, Ye = !B && s.invertSwap || G), L = xn(e, n, o, _, B ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Ye, we === n);
1642
- var z;
1643
- if (L !== 0) {
1651
+ o = H(n);
1652
+ var w = 0, F, L = f.parentNode !== i, B = !An(f.animated && f.toRect || r, n.animated && n.toRect || o, D), I = D ? "top" : "left", x = Wt(n, "top", "top") || Wt(f, "top", "top"), P = x ? x.scrollTop : void 0;
1653
+ we !== n && (F = o[I], Fe = !1, Ye = !B && s.invertSwap || L), w = xn(e, n, o, D, B ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Ye, we === n);
1654
+ var A;
1655
+ if (w !== 0) {
1644
1656
  var J = ee(f);
1645
1657
  do
1646
- J -= L, z = M.children[J];
1647
- while (z && (v(z, "display") === "none" || z === w));
1658
+ J -= w, A = M.children[J];
1659
+ while (A && (b(A, "display") === "none" || A === S));
1648
1660
  }
1649
- if (L === 0 || z === n)
1650
- return d(!1);
1651
- we = n, Ve = L;
1661
+ if (w === 0 || A === n)
1662
+ return p(!1);
1663
+ we = n, Ve = w;
1652
1664
  var ue = n.nextElementSibling, V = !1;
1653
- V = L === 1;
1654
- var me = We(P, i, f, r, n, o, e, V);
1665
+ V = w === 1;
1666
+ var me = We(k, i, f, r, n, o, e, V);
1655
1667
  if (me !== !1)
1656
- return (me === 1 || me === -1) && (V = me === 1), Ot = !0, setTimeout(Nn, 30), y(), V && !ue ? i.appendChild(f) : n.parentNode.insertBefore(f, V ? ue : n), x && ui(x, 0, N - x.scrollTop), M = f.parentNode, H !== void 0 && !Ye && (Je = Math.abs(H - F(n)[T])), C(), d(!0);
1668
+ return (me === 1 || me === -1) && (V = me === 1), Ot = !0, setTimeout(Nn, 30), $(), V && !ue ? i.appendChild(f) : n.parentNode.insertBefore(f, V ? ue : n), x && ui(x, 0, P - x.scrollTop), M = f.parentNode, F !== void 0 && !Ye && (Je = Math.abs(F - H(n)[I])), d(), p(!0);
1657
1669
  }
1658
1670
  if (i.contains(f))
1659
- return d(!1);
1671
+ return p(!1);
1660
1672
  }
1661
1673
  return !1;
1662
1674
  },
1663
1675
  _ignoreWhileAnimating: null,
1664
1676
  _offMoveEvents: function() {
1665
- O(document, "mousemove", this._onTouchMove), O(document, "touchmove", this._onTouchMove), O(document, "pointermove", this._onTouchMove), O(document, "dragover", ve), O(document, "mousemove", ve), O(document, "touchmove", ve);
1677
+ C(document, "mousemove", this._onTouchMove), C(document, "touchmove", this._onTouchMove), C(document, "pointermove", this._onTouchMove), C(document, "dragover", ve), C(document, "mousemove", ve), C(document, "touchmove", ve);
1666
1678
  },
1667
1679
  _offUpEvents: function() {
1668
1680
  var e = this.el.ownerDocument;
1669
- O(e, "mouseup", this._onDrop), O(e, "touchend", this._onDrop), O(e, "pointerup", this._onDrop), O(e, "pointercancel", this._onDrop), O(e, "touchcancel", this._onDrop), O(document, "selectstart", this);
1681
+ C(e, "mouseup", this._onDrop), C(e, "touchend", this._onDrop), C(e, "pointerup", this._onDrop), C(e, "pointercancel", this._onDrop), C(e, "touchcancel", this._onDrop), C(document, "selectstart", this);
1670
1682
  },
1671
1683
  _onDrop: function(e) {
1672
1684
  var i = this.el, n = this.options;
1673
1685
  if (Q = ee(f), de = ee(f, n.draggable), U("drop", this, {
1674
1686
  evt: e
1675
- }), M = f && f.parentNode, Q = ee(f), de = ee(f, n.draggable), b.eventCanceled) {
1687
+ }), M = f && f.parentNode, Q = ee(f), de = ee(f, n.draggable), y.eventCanceled) {
1676
1688
  this._nulling();
1677
1689
  return;
1678
1690
  }
1679
- _e = !1, Ye = !1, Re = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), At(this.cloneId), At(this._dragStartId), this.nativeDraggable && (O(document, "drop", this), O(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), $e && v(document.body, "user-select", ""), v(f, "transform", ""), e && (Ae && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), w && w.parentNode && w.parentNode.removeChild(w), (P === M || Y && Y.lastPutMode !== "clone") && $ && $.parentNode && $.parentNode.removeChild($), f && (this.nativeDraggable && O(f, "dragend", this), bt(f), f.style["will-change"] = "", Ae && !_e && Z(f, Y ? Y.options.ghostClass : this.options.ghostClass, !1), Z(f, this.options.chosenClass, !1), j({
1691
+ _e = !1, Ye = !1, Fe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), At(this.cloneId), At(this._dragStartId), this.nativeDraggable && (C(document, "drop", this), C(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), $e && b(document.body, "user-select", ""), b(f, "transform", ""), e && (Ae && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), S && S.parentNode && S.parentNode.removeChild(S), (k === M || Y && Y.lastPutMode !== "clone") && N && N.parentNode && N.parentNode.removeChild(N), f && (this.nativeDraggable && C(f, "dragend", this), bt(f), f.style["will-change"] = "", Ae && !_e && Z(f, Y ? Y.options.ghostClass : this.options.ghostClass, !1), Z(f, this.options.chosenClass, !1), K({
1680
1692
  sortable: this,
1681
1693
  name: "unchoose",
1682
1694
  toEl: M,
1683
1695
  newIndex: null,
1684
1696
  newDraggableIndex: null,
1685
1697
  originalEvent: e
1686
- }), P !== M ? (Q >= 0 && (j({
1698
+ }), k !== M ? (Q >= 0 && (K({
1687
1699
  rootEl: M,
1688
1700
  name: "add",
1689
1701
  toEl: M,
1690
- fromEl: P,
1702
+ fromEl: k,
1691
1703
  originalEvent: e
1692
- }), j({
1704
+ }), K({
1693
1705
  sortable: this,
1694
1706
  name: "remove",
1695
1707
  toEl: M,
1696
1708
  originalEvent: e
1697
- }), j({
1709
+ }), K({
1698
1710
  rootEl: M,
1699
1711
  name: "sort",
1700
1712
  toEl: M,
1701
- fromEl: P,
1713
+ fromEl: k,
1702
1714
  originalEvent: e
1703
- }), j({
1715
+ }), K({
1704
1716
  sortable: this,
1705
1717
  name: "sort",
1706
1718
  toEl: M,
1707
1719
  originalEvent: e
1708
- })), Y && Y.save()) : Q !== Ee && Q >= 0 && (j({
1720
+ })), Y && Y.save()) : Q !== Ee && Q >= 0 && (K({
1709
1721
  sortable: this,
1710
1722
  name: "update",
1711
1723
  toEl: M,
1712
1724
  originalEvent: e
1713
- }), j({
1725
+ }), K({
1714
1726
  sortable: this,
1715
1727
  name: "sort",
1716
1728
  toEl: M,
1717
1729
  originalEvent: e
1718
- })), b.active && ((Q == null || Q === -1) && (Q = Ee, de = xe), j({
1730
+ })), y.active && ((Q == null || Q === -1) && (Q = Ee, de = xe), K({
1719
1731
  sortable: this,
1720
1732
  name: "end",
1721
1733
  toEl: M,
@@ -1723,7 +1735,7 @@ b.prototype = /** @lends Sortable.prototype */
1723
1735
  }), this.save()))), this._nulling();
1724
1736
  },
1725
1737
  _nulling: function() {
1726
- U("nulling", this), P = f = M = w = be = $ = qe = fe = ge = te = Ae = Q = de = Ee = xe = we = Ve = Y = Be = b.dragged = b.ghost = b.clone = b.active = null, ot.forEach(function(e) {
1738
+ U("nulling", this), k = f = M = S = be = N = qe = fe = ge = te = Ae = Q = de = Ee = xe = we = Ve = Y = Be = y.dragged = y.ghost = y.clone = y.active = null, ot.forEach(function(e) {
1727
1739
  e.checked = !0;
1728
1740
  }), ot.length = mt = gt = 0;
1729
1741
  },
@@ -1748,7 +1760,7 @@ b.prototype = /** @lends Sortable.prototype */
1748
1760
  */
1749
1761
  toArray: function() {
1750
1762
  for (var e = [], i, n = this.el.children, r = 0, o = n.length, l = this.options; r < o; r++)
1751
- i = n[r], ie(i, l.draggable, this.el, !1) && e.push(i.getAttribute(l.dataIdAttr) || Rn(i));
1763
+ i = n[r], ie(i, l.draggable, this.el, !1) && e.push(i.getAttribute(l.dataIdAttr) || Fn(i));
1752
1764
  return e;
1753
1765
  },
1754
1766
  /**
@@ -1799,14 +1811,14 @@ b.prototype = /** @lends Sortable.prototype */
1799
1811
  destroy: function() {
1800
1812
  U("destroy", this);
1801
1813
  var e = this.el;
1802
- e[q] = null, O(e, "mousedown", this._onTapStart), O(e, "touchstart", this._onTapStart), O(e, "pointerdown", this._onTapStart), this.nativeDraggable && (O(e, "dragover", this), O(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(i) {
1814
+ e[q] = null, C(e, "mousedown", this._onTapStart), C(e, "touchstart", this._onTapStart), C(e, "pointerdown", this._onTapStart), this.nativeDraggable && (C(e, "dragover", this), C(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(i) {
1803
1815
  i.removeAttribute("draggable");
1804
1816
  }), this._onDrop(), this._disableDelayedDragEvents(), rt.splice(rt.indexOf(this.el), 1), this.el = e = null;
1805
1817
  },
1806
1818
  _hideClone: function() {
1807
1819
  if (!fe) {
1808
- if (U("hideClone", this), b.eventCanceled) return;
1809
- v($, "display", "none"), this.options.removeCloneOnHide && $.parentNode && $.parentNode.removeChild($), fe = !0;
1820
+ if (U("hideClone", this), y.eventCanceled) return;
1821
+ b(N, "display", "none"), this.options.removeCloneOnHide && N.parentNode && N.parentNode.removeChild(N), fe = !0;
1810
1822
  }
1811
1823
  },
1812
1824
  _showClone: function(e) {
@@ -1815,8 +1827,8 @@ b.prototype = /** @lends Sortable.prototype */
1815
1827
  return;
1816
1828
  }
1817
1829
  if (fe) {
1818
- if (U("showClone", this), b.eventCanceled) return;
1819
- f.parentNode == P && !this.options.group.revertClone ? P.insertBefore($, f) : be ? P.insertBefore($, be) : P.appendChild($), this.options.group.revertClone && this.animate(f, $), v($, "display", ""), fe = !1;
1830
+ if (U("showClone", this), y.eventCanceled) return;
1831
+ f.parentNode == k && !this.options.group.revertClone ? k.insertBefore(N, f) : be ? k.insertBefore(N, be) : k.appendChild(N), this.options.group.revertClone && this.animate(f, N), b(N, "display", ""), fe = !1;
1820
1832
  }
1821
1833
  }
1822
1834
  };
@@ -1825,10 +1837,10 @@ function Pn(t) {
1825
1837
  }
1826
1838
  function We(t, e, i, n, r, o, l, s) {
1827
1839
  var a, u = t[q], c = u.options.onMove, h;
1828
- return window.CustomEvent && !se && !Fe ? a = new CustomEvent("move", {
1840
+ return window.CustomEvent && !se && !Re ? a = new CustomEvent("move", {
1829
1841
  bubbles: !0,
1830
1842
  cancelable: !0
1831
- }) : (a = document.createEvent("Event"), a.initEvent("move", !0, !0)), a.to = e, a.from = t, a.dragged = i, a.draggedRect = n, a.related = r || e, a.relatedRect = o || F(e), a.willInsertAfter = s, a.originalEvent = l, t.dispatchEvent(a), c && (h = c.call(u, a, l)), h;
1843
+ }) : (a = document.createEvent("Event"), a.initEvent("move", !0, !0)), a.to = e, a.from = t, a.dragged = i, a.draggedRect = n, a.related = r || e, a.relatedRect = o || H(e), a.willInsertAfter = s, a.originalEvent = l, t.dispatchEvent(a), c && (h = c.call(u, a, l)), h;
1832
1844
  }
1833
1845
  function bt(t) {
1834
1846
  t.draggable = !1;
@@ -1837,35 +1849,35 @@ function Nn() {
1837
1849
  Ot = !1;
1838
1850
  }
1839
1851
  function $n(t, e, i) {
1840
- var n = F(Ie(i.el, 0, i.options, !0)), r = di(i.el, i.options, w), o = 10;
1852
+ var n = H(Ie(i.el, 0, i.options, !0)), r = di(i.el, i.options, S), o = 10;
1841
1853
  return e ? t.clientX < r.left - o || t.clientY < n.top && t.clientX < n.right : t.clientY < r.top - o || t.clientY < n.bottom && t.clientX < n.left;
1842
1854
  }
1843
1855
  function Mn(t, e, i) {
1844
- var n = F($t(i.el, i.options.draggable)), r = di(i.el, i.options, w), o = 10;
1856
+ var n = H($t(i.el, i.options.draggable)), r = di(i.el, i.options, S), o = 10;
1845
1857
  return e ? t.clientX > r.right + o || t.clientY > n.bottom && t.clientX > n.left : t.clientY > r.bottom + o || t.clientX > n.right && t.clientY > n.top;
1846
1858
  }
1847
1859
  function xn(t, e, i, n, r, o, l, s) {
1848
- var a = n ? t.clientY : t.clientX, u = n ? i.height : i.width, c = n ? i.top : i.left, h = n ? i.bottom : i.right, p = !1;
1860
+ var a = n ? t.clientY : t.clientX, u = n ? i.height : i.width, c = n ? i.top : i.left, h = n ? i.bottom : i.right, g = !1;
1849
1861
  if (!l) {
1850
1862
  if (s && Je < u * r) {
1851
- if (!Re && (Ve === 1 ? a > c + u * o / 2 : a < h - u * o / 2) && (Re = !0), Re)
1852
- p = !0;
1863
+ if (!Fe && (Ve === 1 ? a > c + u * o / 2 : a < h - u * o / 2) && (Fe = !0), Fe)
1864
+ g = !0;
1853
1865
  else if (Ve === 1 ? a < c + Je : a > h - Je)
1854
1866
  return -Ve;
1855
1867
  } else if (a > c + u * (1 - r) / 2 && a < h - u * (1 - r) / 2)
1856
1868
  return Vn(e);
1857
1869
  }
1858
- return p = p || l, p && (a < c + u * o / 2 || a > h - u * o / 2) ? a > c + u / 2 ? 1 : -1 : 0;
1870
+ return g = g || l, g && (a < c + u * o / 2 || a > h - u * o / 2) ? a > c + u / 2 ? 1 : -1 : 0;
1859
1871
  }
1860
1872
  function Vn(t) {
1861
1873
  return ee(f) < ee(t) ? 1 : -1;
1862
1874
  }
1863
- function Rn(t) {
1875
+ function Fn(t) {
1864
1876
  for (var e = t.tagName + t.className + t.src + t.href + t.textContent, i = e.length, n = 0; i--; )
1865
1877
  n += e.charCodeAt(i);
1866
1878
  return n.toString(36);
1867
1879
  }
1868
- function Fn(t) {
1880
+ function Rn(t) {
1869
1881
  ot.length = 0;
1870
1882
  for (var e = t.getElementsByTagName("input"), i = e.length; i--; ) {
1871
1883
  var n = e[i];
@@ -1878,13 +1890,13 @@ function Ze(t) {
1878
1890
  function At(t) {
1879
1891
  return clearTimeout(t);
1880
1892
  }
1881
- st && A(document, "touchmove", function(t) {
1882
- (b.active || _e) && t.cancelable && t.preventDefault();
1893
+ st && O(document, "touchmove", function(t) {
1894
+ (y.active || _e) && t.cancelable && t.preventDefault();
1883
1895
  });
1884
- b.utils = {
1885
- on: A,
1886
- off: O,
1887
- css: v,
1896
+ y.utils = {
1897
+ on: O,
1898
+ off: C,
1899
+ css: b,
1888
1900
  find: ai,
1889
1901
  is: function(e, i) {
1890
1902
  return !!ie(e, i, e, !1);
@@ -1901,22 +1913,22 @@ b.utils = {
1901
1913
  getChild: Ie,
1902
1914
  expando: q
1903
1915
  };
1904
- b.get = function(t) {
1916
+ y.get = function(t) {
1905
1917
  return t[q];
1906
1918
  };
1907
- b.mount = function() {
1919
+ y.mount = function() {
1908
1920
  for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++)
1909
1921
  e[i] = arguments[i];
1910
1922
  e[0].constructor === Array && (e = e[0]), e.forEach(function(n) {
1911
1923
  if (!n.prototype || !n.prototype.constructor)
1912
1924
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
1913
- n.utils && (b.utils = re(re({}, b.utils), n.utils)), He.mount(n);
1925
+ n.utils && (y.utils = re(re({}, y.utils), n.utils)), He.mount(n);
1914
1926
  });
1915
1927
  };
1916
- b.create = function(t, e) {
1917
- return new b(t, e);
1928
+ y.create = function(t, e) {
1929
+ return new y(t, e);
1918
1930
  };
1919
- b.version = yn;
1931
+ y.version = yn;
1920
1932
  var R = [], ze, zt, kt = !1, yt, wt, lt, ke;
1921
1933
  function Hn() {
1922
1934
  function t() {
@@ -1933,14 +1945,14 @@ function Hn() {
1933
1945
  return t.prototype = {
1934
1946
  dragStarted: function(i) {
1935
1947
  var n = i.originalEvent;
1936
- this.sortable.nativeDraggable ? A(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? A(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? A(document, "touchmove", this._handleFallbackAutoScroll) : A(document, "mousemove", this._handleFallbackAutoScroll);
1948
+ this.sortable.nativeDraggable ? O(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? O(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? O(document, "touchmove", this._handleFallbackAutoScroll) : O(document, "mousemove", this._handleFallbackAutoScroll);
1937
1949
  },
1938
1950
  dragOverCompleted: function(i) {
1939
1951
  var n = i.originalEvent;
1940
1952
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
1941
1953
  },
1942
1954
  drop: function() {
1943
- this.sortable.nativeDraggable ? O(document, "dragover", this._handleAutoScroll) : (O(document, "pointermove", this._handleFallbackAutoScroll), O(document, "touchmove", this._handleFallbackAutoScroll), O(document, "mousemove", this._handleFallbackAutoScroll)), qt(), Qe(), _n();
1955
+ this.sortable.nativeDraggable ? C(document, "dragover", this._handleAutoScroll) : (C(document, "pointermove", this._handleFallbackAutoScroll), C(document, "touchmove", this._handleFallbackAutoScroll), C(document, "mousemove", this._handleFallbackAutoScroll)), qt(), Qe(), _n();
1944
1956
  },
1945
1957
  nulling: function() {
1946
1958
  lt = zt = ze = kt = ke = yt = wt = null, R.length = 0;
@@ -1950,7 +1962,7 @@ function Hn() {
1950
1962
  },
1951
1963
  _handleAutoScroll: function(i, n) {
1952
1964
  var r = this, o = (i.touches ? i.touches[0] : i).clientX, l = (i.touches ? i.touches[0] : i).clientY, s = document.elementFromPoint(o, l);
1953
- if (lt = i, n || this.options.forceAutoScrollFallback || Fe || se || $e) {
1965
+ if (lt = i, n || this.options.forceAutoScrollFallback || Re || se || $e) {
1954
1966
  St(i, this.options, s, n);
1955
1967
  var a = pe(s, !0);
1956
1968
  kt && (!ke || o !== yt || l !== wt) && (ke && qt(), ke = setInterval(function() {
@@ -1982,22 +1994,22 @@ var St = si(function(t, e, i, n) {
1982
1994
  if (e.scroll) {
1983
1995
  var r = (t.touches ? t.touches[0] : t).clientX, o = (t.touches ? t.touches[0] : t).clientY, l = e.scrollSensitivity, s = e.scrollSpeed, a = ne(), u = !1, c;
1984
1996
  zt !== i && (zt = i, Qe(), ze = e.scroll, c = e.scrollFn, ze === !0 && (ze = pe(i, !0)));
1985
- var h = 0, p = ze;
1997
+ var h = 0, g = ze;
1986
1998
  do {
1987
- var _ = p, S = F(_), m = S.top, I = S.bottom, y = S.left, d = S.right, C = S.width, g = S.height, E = void 0, L = void 0, H = _.scrollWidth, G = _.scrollHeight, B = v(_), T = _.scrollLeft, x = _.scrollTop;
1988
- _ === a ? (E = C < H && (B.overflowX === "auto" || B.overflowX === "scroll" || B.overflowX === "visible"), L = g < G && (B.overflowY === "auto" || B.overflowY === "scroll" || B.overflowY === "visible")) : (E = C < H && (B.overflowX === "auto" || B.overflowX === "scroll"), L = g < G && (B.overflowY === "auto" || B.overflowY === "scroll"));
1989
- var N = E && (Math.abs(d - r) <= l && T + C < H) - (Math.abs(y - r) <= l && !!T), z = L && (Math.abs(I - o) <= l && x + g < G) - (Math.abs(m - o) <= l && !!x);
1999
+ var D = g, _ = H(D), v = _.top, T = _.bottom, $ = _.left, p = _.right, d = _.width, m = _.height, W = void 0, w = void 0, F = D.scrollWidth, L = D.scrollHeight, B = b(D), I = D.scrollLeft, x = D.scrollTop;
2000
+ D === a ? (W = d < F && (B.overflowX === "auto" || B.overflowX === "scroll" || B.overflowX === "visible"), w = m < L && (B.overflowY === "auto" || B.overflowY === "scroll" || B.overflowY === "visible")) : (W = d < F && (B.overflowX === "auto" || B.overflowX === "scroll"), w = m < L && (B.overflowY === "auto" || B.overflowY === "scroll"));
2001
+ var P = W && (Math.abs(p - r) <= l && I + d < F) - (Math.abs($ - r) <= l && !!I), A = w && (Math.abs(T - o) <= l && x + m < L) - (Math.abs(v - o) <= l && !!x);
1990
2002
  if (!R[h])
1991
2003
  for (var J = 0; J <= h; J++)
1992
2004
  R[J] || (R[J] = {});
1993
- (R[h].vx != N || R[h].vy != z || R[h].el !== _) && (R[h].el = _, R[h].vx = N, R[h].vy = z, clearInterval(R[h].pid), (N != 0 || z != 0) && (u = !0, R[h].pid = setInterval((function() {
1994
- n && this.layer === 0 && b.active._onTouchMove(lt);
2005
+ (R[h].vx != P || R[h].vy != A || R[h].el !== D) && (R[h].el = D, R[h].vx = P, R[h].vy = A, clearInterval(R[h].pid), (P != 0 || A != 0) && (u = !0, R[h].pid = setInterval((function() {
2006
+ n && this.layer === 0 && y.active._onTouchMove(lt);
1995
2007
  var ue = R[this.layer].vy ? R[this.layer].vy * s : 0, V = R[this.layer].vx ? R[this.layer].vx * s : 0;
1996
- typeof c == "function" && c.call(b.dragged.parentNode[q], V, ue, t, lt, R[this.layer].el) !== "continue" || ui(R[this.layer].el, V, ue);
2008
+ typeof c == "function" && c.call(y.dragged.parentNode[q], V, ue, t, lt, R[this.layer].el) !== "continue" || ui(R[this.layer].el, V, ue);
1997
2009
  }).bind({
1998
2010
  layer: h
1999
2011
  }), 24))), h++;
2000
- } while (e.bubbleScroll && p !== a && (p = pe(p, !1)));
2012
+ } while (e.bubbleScroll && g !== a && (g = pe(g, !1)));
2001
2013
  kt = u;
2002
2014
  }
2003
2015
  }, 30), vi = function(e) {
@@ -2043,12 +2055,12 @@ xt.prototype = {
2043
2055
  ae(xt, {
2044
2056
  pluginName: "removeOnSpill"
2045
2057
  });
2046
- b.mount(new Hn());
2047
- b.mount(xt, Mt);
2058
+ y.mount(new Hn());
2059
+ y.mount(xt, Mt);
2048
2060
  const Ln = (t, e, i, n) => {
2049
2061
  const r = Qt(t, "dragSort");
2050
2062
  let o = null, l = Pe(0);
2051
- Ft(
2063
+ Rt(
2052
2064
  r,
2053
2065
  (u) => {
2054
2066
  et(() => {
@@ -2058,24 +2070,24 @@ const Ln = (t, e, i, n) => {
2058
2070
  {
2059
2071
  immediate: !0
2060
2072
  }
2061
- ), Ft(n, (u, c) => {
2073
+ ), Rt(n, (u, c) => {
2062
2074
  et(() => {
2063
2075
  r.value ? s() : a();
2064
2076
  });
2065
2077
  });
2066
2078
  const s = () => {
2067
2079
  const u = i.value;
2068
- u.style.cursor = "move", o = b.create(u, {
2080
+ u.style.cursor = "move", o = y.create(u, {
2069
2081
  draggable: ".selected-item.enable",
2070
2082
  //指定样式类的元素才允许拖动
2071
2083
  animation: 300,
2072
2084
  //过渡动画时间
2073
2085
  //拖拽结束时事件
2074
2086
  onEnd: (c) => {
2075
- const h = JSON.parse(JSON.stringify(n.value)), p = JSON.parse(JSON.stringify(n.value));
2076
- p.splice(c.oldIndex, 1)[0];
2077
- const _ = h[c.oldIndex];
2078
- p.splice(c.newIndex, 0, _), e("update:modelValue", p), l.value = Date.now(), e("sortEnd", h, p, c.oldIndex, c.newIndex);
2087
+ const h = JSON.parse(JSON.stringify(n.value)), g = JSON.parse(JSON.stringify(n.value));
2088
+ g.splice(c.oldIndex, 1)[0];
2089
+ const D = h[c.oldIndex];
2090
+ g.splice(c.newIndex, 0, D), e("update:modelValue", g), l.value = Date.now(), e("sortEnd", h, g, c.oldIndex, c.newIndex);
2079
2091
  }
2080
2092
  });
2081
2093
  }, a = () => {
@@ -2098,7 +2110,7 @@ const Ln = (t, e, i, n) => {
2098
2110
  customStyle: {},
2099
2111
  dragSort: { type: Boolean },
2100
2112
  isView: { type: Boolean },
2101
- closeable: { type: Boolean, default: !0 },
2113
+ closeable: { type: [Boolean, Function], default: !0 },
2102
2114
  clearable: { type: Boolean, default: !0 },
2103
2115
  customTitle: { default: "" },
2104
2116
  selectedNum: {},
@@ -2112,7 +2124,7 @@ const Ln = (t, e, i, n) => {
2112
2124
  emits: ["update:modelValue", "update:selectdValue", "select-item", "item-remove", "remove-all", "sortEnd", "update:infiniteDisabled"],
2113
2125
  setup(t, { expose: e, emit: i }) {
2114
2126
  xi((d) => ({
2115
- "24c7fbc6": o.value
2127
+ "29d24cb2": o.value
2116
2128
  }));
2117
2129
  const n = t, r = i, o = Ne(() => n.itemHeight + "px"), l = Ne(() => n.dragSort || n.infiniteScroll ? !1 : n.virtual), {
2118
2130
  selectListRef: s,
@@ -2120,23 +2132,24 @@ const Ln = (t, e, i, n) => {
2120
2132
  disabledFlag: u,
2121
2133
  itemGroups: c,
2122
2134
  selectedLabel: h,
2123
- itemRemove: p,
2124
- removeAll: _,
2125
- innerSelectdValue: S,
2126
- selectItem: m,
2127
- infiniteLoad: I
2135
+ itemRemove: g,
2136
+ removeAll: D,
2137
+ innerSelectdValue: _,
2138
+ selectItem: v,
2139
+ infiniteLoad: T,
2140
+ closeableFn: $
2128
2141
  } = mn(n, r);
2129
2142
  Ln(n, r, a, c);
2130
- const y = Pe(!0);
2143
+ const p = Pe(!0);
2131
2144
  return Zt(() => {
2132
- y.value = !1, setTimeout(() => {
2133
- y.value = !0;
2145
+ p.value = !1, setTimeout(() => {
2146
+ p.value = !0;
2134
2147
  }, 300);
2135
2148
  }), e({
2136
- infiniteLoad: I
2137
- }), (d, C) => {
2138
- const g = Ei;
2139
- return k(), X(
2149
+ infiniteLoad: T
2150
+ }), (d, m) => {
2151
+ const W = Ei;
2152
+ return z(), X(
2140
2153
  "div",
2141
2154
  {
2142
2155
  ref_key: "selectListRef",
@@ -2146,35 +2159,35 @@ const Ln = (t, e, i, n) => {
2146
2159
  },
2147
2160
  [
2148
2161
  he(d.$slots, "header", {}, () => [
2149
- d.hideHeader ? K("v-if", !0) : (k(), X("div", Bn, [
2162
+ d.hideHeader ? G("v-if", !0) : (z(), X("div", Bn, [
2150
2163
  Ce(
2151
2164
  "div",
2152
2165
  Yn,
2153
- Oe(D(h)),
2166
+ Oe(E(h)),
2154
2167
  1
2155
2168
  /* TEXT */
2156
2169
  ),
2157
- !d.isView && d.clearable ? (k(), oe(D(Vi), {
2170
+ !d.isView && d.clearable ? (z(), oe(E(Vi), {
2158
2171
  key: 0,
2159
2172
  "btn-type": "primary-text",
2160
2173
  block: "",
2161
- onClick: D(_),
2162
- disabled: !D(c) || !D(c).length
2174
+ onClick: E(D),
2175
+ disabled: !E(c) || !E(c).length
2163
2176
  }, {
2164
2177
  default: tt(() => [
2165
2178
  Le(
2166
- Oe(D(je)("das-select-list-removeAll").value),
2179
+ Oe(E(je)("das-select-list-removeAll").value),
2167
2180
  1
2168
2181
  /* TEXT */
2169
2182
  )
2170
2183
  ]),
2171
2184
  _: 1
2172
2185
  /* STABLE */
2173
- }, 8, ["onClick", "disabled"])) : K("v-if", !0)
2186
+ }, 8, ["onClick", "disabled"])) : G("v-if", !0)
2174
2187
  ]))
2175
2188
  ], !0),
2176
- K(" 普通 "),
2177
- !d.infiniteScroll && !l.value ? Se((k(), X(
2189
+ G(" 普通 "),
2190
+ !d.infiniteScroll && !l.value ? Se((z(), X(
2178
2191
  "div",
2179
2192
  {
2180
2193
  key: 0,
@@ -2183,45 +2196,45 @@ const Ln = (t, e, i, n) => {
2183
2196
  class: ce(["selected-container", { "hide-header": d.hideHeader }])
2184
2197
  },
2185
2198
  [
2186
- (k(!0), X(
2199
+ (z(!0), X(
2187
2200
  _t,
2188
2201
  null,
2189
- Et(D(c), (E, L) => (k(), X("div", {
2202
+ Et(E(c), (w, F) => (z(), X("div", {
2190
2203
  class: ce({
2191
2204
  "selected-item": !0,
2192
- disabled: !d.isView && D(u)(E),
2193
- enable: !d.isView && !D(u)(E),
2194
- active: D(S) === E[d.valueKey]
2205
+ disabled: !d.isView && E(u)(w),
2206
+ enable: !d.isView && !E(u)(w),
2207
+ active: E(_) === w[d.valueKey]
2195
2208
  }),
2196
- key: E[d.valueKey] + L,
2197
- onClick: (H) => D(m)(E)
2209
+ key: w[d.valueKey] + F,
2210
+ onClick: (L) => E(v)(w)
2198
2211
  }, [
2199
- d.dragSort ? (k(), oe(D(Fi), {
2212
+ d.dragSort ? (z(), oe(E(Ri), {
2200
2213
  key: 0,
2201
2214
  class: "drag-icon",
2202
2215
  size: "medium",
2203
2216
  style: { "margin-right": "8px" }
2204
- })) : K("v-if", !0),
2217
+ })) : G("v-if", !0),
2205
2218
  Ce("div", Wn, [
2206
- he(d.$slots, "default", { item: E }, () => [
2207
- Se((k(), X("div", null, [
2219
+ he(d.$slots, "default", { item: w }, () => [
2220
+ Se((z(), X("div", null, [
2208
2221
  Le(
2209
- Oe(E[d.labelKey]),
2222
+ Oe(w[d.labelKey]),
2210
2223
  1
2211
2224
  /* TEXT */
2212
2225
  )
2213
2226
  ])), [
2214
- [D(ct)]
2227
+ [E(ct)]
2215
2228
  ])
2216
2229
  ], !0)
2217
2230
  ]),
2218
- !d.isView && d.closeable ? (k(), oe(D(dt), {
2231
+ !d.isView && E($)(w) ? (z(), oe(E(dt), {
2219
2232
  key: 1,
2220
2233
  size: "small",
2221
2234
  class: "close-icon",
2222
- "icon-color": D(ut)("--das-ui-color-secondary"),
2223
- onClick: (H) => D(p)(E)
2224
- }, null, 8, ["icon-color", "onClick"])) : K("v-if", !0)
2235
+ "icon-color": E(ut)("--das-ui-color-secondary"),
2236
+ onClick: (L) => E(g)(w)
2237
+ }, null, 8, ["icon-color", "onClick"])) : G("v-if", !0)
2225
2238
  ], 10, Xn))),
2226
2239
  128
2227
2240
  /* KEYED_FRAGMENT */
@@ -2230,10 +2243,10 @@ const Ln = (t, e, i, n) => {
2230
2243
  2
2231
2244
  /* CLASS */
2232
2245
  )), [
2233
- [D(Ri), { usePrevOverlay: !0 }]
2234
- ]) : K("v-if", !0),
2235
- K(" 虚拟滚动 "),
2236
- !d.dragSort && l.value ? (k(), X(
2246
+ [E(Fi), { usePrevOverlay: !0 }]
2247
+ ]) : G("v-if", !0),
2248
+ G(" 虚拟滚动 "),
2249
+ !d.dragSort && l.value ? (z(), X(
2237
2250
  "div",
2238
2251
  {
2239
2252
  key: 1,
@@ -2242,55 +2255,55 @@ const Ln = (t, e, i, n) => {
2242
2255
  class: ce(["selected-container", { "hide-header": d.hideHeader }])
2243
2256
  },
2244
2257
  [
2245
- y.value && D(c).length > 0 ? (k(), oe(D(Pt), {
2246
- key: D(c).length,
2247
- items: D(c),
2258
+ p.value && E(c).length > 0 ? (z(), oe(E(Pt), {
2259
+ key: E(c).length,
2260
+ items: E(c),
2248
2261
  "item-size": d.itemHeight,
2249
2262
  "key-field": d.valueKey,
2250
2263
  class: "virtual-list"
2251
2264
  }, {
2252
- default: tt(({ item: E, index: L }) => [
2253
- (k(), X("div", {
2265
+ default: tt(({ item: w, index: F }) => [
2266
+ (z(), X("div", {
2254
2267
  class: ce({
2255
2268
  "selected-item": !0,
2256
- disabled: !d.isView && D(u)(E),
2257
- enable: !d.isView && !D(u)(E),
2258
- active: D(S) === E[d.valueKey]
2269
+ disabled: !d.isView && E(u)(w),
2270
+ enable: !d.isView && !E(u)(w),
2271
+ active: E(_) === w[d.valueKey]
2259
2272
  }),
2260
- key: E[d.valueKey],
2261
- onClick: (H) => D(m)(E)
2273
+ key: w[d.valueKey],
2274
+ onClick: (L) => E(v)(w)
2262
2275
  }, [
2263
2276
  Ce("div", Kn, [
2264
- he(d.$slots, "default", { item: E }, () => [
2265
- Se((k(), X("div", null, [
2277
+ he(d.$slots, "default", { item: w }, () => [
2278
+ Se((z(), X("div", null, [
2266
2279
  Le(
2267
- Oe(E[d.labelKey]),
2280
+ Oe(w[d.labelKey]),
2268
2281
  1
2269
2282
  /* TEXT */
2270
2283
  )
2271
2284
  ])), [
2272
- [D(ct)]
2285
+ [E(ct)]
2273
2286
  ])
2274
2287
  ], !0)
2275
2288
  ]),
2276
- !d.isView && d.closeable ? (k(), oe(D(dt), {
2289
+ !d.isView && E($)(w) ? (z(), oe(E(dt), {
2277
2290
  key: 0,
2278
2291
  size: "small",
2279
2292
  class: "close-icon",
2280
- "icon-color": D(ut)("--das-ui-color-secondary"),
2281
- onClick: (H) => D(p)(E)
2282
- }, null, 8, ["icon-color", "onClick"])) : K("v-if", !0)
2293
+ "icon-color": E(ut)("--das-ui-color-secondary"),
2294
+ onClick: (L) => E(g)(w)
2295
+ }, null, 8, ["icon-color", "onClick"])) : G("v-if", !0)
2283
2296
  ], 10, jn))
2284
2297
  ]),
2285
2298
  _: 3
2286
2299
  /* FORWARDED */
2287
- }, 8, ["items", "item-size", "key-field"])) : K("v-if", !0)
2300
+ }, 8, ["items", "item-size", "key-field"])) : G("v-if", !0)
2288
2301
  ],
2289
2302
  2
2290
2303
  /* CLASS */
2291
- )) : K("v-if", !0),
2292
- K(" 分页加载 "),
2293
- !d.dragSort && d.infiniteScroll ? Se((k(), X("div", {
2304
+ )) : G("v-if", !0),
2305
+ G(" 分页加载 "),
2306
+ !d.dragSort && d.infiniteScroll ? Se((z(), X("div", {
2294
2307
  key: 2,
2295
2308
  ref_key: "$list",
2296
2309
  ref: a,
@@ -2299,47 +2312,47 @@ const Ln = (t, e, i, n) => {
2299
2312
  style: { overflow: "overlay" }
2300
2313
  }, [
2301
2314
  Ce("div", Un, [
2302
- (k(!0), X(
2315
+ (z(!0), X(
2303
2316
  _t,
2304
2317
  null,
2305
- Et(D(c), (E) => (k(), X("div", {
2318
+ Et(E(c), (w) => (z(), X("div", {
2306
2319
  class: ce({
2307
2320
  "selected-item": !0,
2308
- disabled: !d.isView && D(u)(E),
2309
- enable: !d.isView && !D(u)(E),
2310
- active: D(S) === E[d.valueKey]
2321
+ disabled: !d.isView && E(u)(w),
2322
+ enable: !d.isView && !E(u)(w),
2323
+ active: E(_) === w[d.valueKey]
2311
2324
  }),
2312
- key: E[d.valueKey],
2313
- onClick: (L) => D(m)(E)
2325
+ key: w[d.valueKey],
2326
+ onClick: (F) => E(v)(w)
2314
2327
  }, [
2315
2328
  Ce("div", Jn, [
2316
- he(d.$slots, "default", { item: E }, () => [
2317
- Se((k(), X("div", null, [
2329
+ he(d.$slots, "default", { item: w }, () => [
2330
+ Se((z(), X("div", null, [
2318
2331
  Le(
2319
- Oe(E[d.labelKey]),
2332
+ Oe(w[d.labelKey]),
2320
2333
  1
2321
2334
  /* TEXT */
2322
2335
  )
2323
2336
  ])), [
2324
- [D(ct)]
2337
+ [E(ct)]
2325
2338
  ])
2326
2339
  ], !0)
2327
2340
  ]),
2328
- !d.isView && d.closeable ? (k(), oe(D(dt), {
2341
+ !d.isView && E($)(w) ? (z(), oe(E(dt), {
2329
2342
  key: 0,
2330
2343
  size: "small",
2331
2344
  class: "close-icon",
2332
- "icon-color": D(ut)("--das-ui-color-secondary"),
2333
- onClick: (L) => D(p)(E)
2334
- }, null, 8, ["icon-color", "onClick"])) : K("v-if", !0)
2345
+ "icon-color": E(ut)("--das-ui-color-secondary"),
2346
+ onClick: (F) => E(g)(w)
2347
+ }, null, 8, ["icon-color", "onClick"])) : G("v-if", !0)
2335
2348
  ], 10, qn))),
2336
2349
  128
2337
2350
  /* KEYED_FRAGMENT */
2338
2351
  ))
2339
2352
  ])
2340
2353
  ], 10, Gn)), [
2341
- [g, D(I)]
2342
- ]) : K("v-if", !0)
2354
+ [W, E(T)]
2355
+ ]) : G("v-if", !0)
2343
2356
  ],
2344
2357
  4
2345
2358
  /* STYLE */
@@ -2351,7 +2364,7 @@ const Ln = (t, e, i, n) => {
2351
2364
  for (const [n, r] of e)
2352
2365
  i[n] = r;
2353
2366
  return i;
2354
- }, er = /* @__PURE__ */ Qn(Zn, [["__scopeId", "data-v-59299368"]]), tr = {
2367
+ }, er = /* @__PURE__ */ Qn(Zn, [["__scopeId", "data-v-ef9fb494"]]), tr = {
2355
2368
  "das-select-list-removeAll": { "zh-CN": "清空", en: "Clear", _appCode: "framework" },
2356
2369
  "das-select-list-selected": { "zh-CN": "已选", en: "Selected", _appCode: "framework" },
2357
2370
  "das-select-list-parentheses-left": { "zh-CN": "(", en: "(", _appCode: "framework" },