@adyen/bento-vue2 1.95.0 → 1.96.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/@types/index.d.ts +77 -0
  2. package/dist/assets/accordion-item.css +1 -1
  3. package/dist/assets/action-bar.css +1 -1
  4. package/dist/assets/base-modal.css +1 -1
  5. package/dist/assets/button-actions.css +1 -1
  6. package/dist/assets/card.css +1 -1
  7. package/dist/assets/data-grid.css +1 -1
  8. package/dist/assets/date-picker.css +1 -1
  9. package/dist/assets/dialog-page.css +1 -1
  10. package/dist/assets/draggable-handle.css +1 -1
  11. package/dist/assets/dropdown.css +1 -1
  12. package/dist/assets/field-label.css +1 -1
  13. package/dist/assets/file-uploader.css +1 -1
  14. package/dist/assets/filter-bar.css +1 -1
  15. package/dist/assets/input-field-password.css +1 -1
  16. package/dist/assets/inspector.css +1 -1
  17. package/dist/assets/modal-fullscreen.css +1 -1
  18. package/dist/assets/navigation-menu-group.css +1 -1
  19. package/dist/assets/secondary-nav.css +1 -1
  20. package/dist/assets/sidepanel.css +1 -1
  21. package/dist/chunks/{calendar.ofn3G6eW.js → calendar.D0JIbmoS.js} +310 -304
  22. package/dist/chunks/calendar.D0JIbmoS.js.map +1 -0
  23. package/dist/chunks/{code-snippet.B3iCsNmb.js → code-snippet.lcQRsLdZ.js} +2 -2
  24. package/dist/chunks/{code-snippet.B3iCsNmb.js.map → code-snippet.lcQRsLdZ.js.map} +1 -1
  25. package/dist/chunks/{dashboard-section.HFJcf8-_.js → dashboard-section.DiGQXS9L.js} +2 -2
  26. package/dist/chunks/{dashboard-section.HFJcf8-_.js.map → dashboard-section.DiGQXS9L.js.map} +1 -1
  27. package/dist/chunks/{data-grid-template.BjfPUEoH.js → data-grid-template.BVppx9kZ.js} +2 -2
  28. package/dist/chunks/{data-grid-template.BjfPUEoH.js.map → data-grid-template.BVppx9kZ.js.map} +1 -1
  29. package/dist/chunks/{data-grid.Cua2Jxvq.js → data-grid.Djy7XjVS.js} +10 -10
  30. package/dist/chunks/{data-grid.Cua2Jxvq.js.map → data-grid.Djy7XjVS.js.map} +1 -1
  31. package/dist/chunks/{date-picker.CYDTf6De.js → date-picker.BWxvyK5J.js} +40 -40
  32. package/dist/chunks/date-picker.BWxvyK5J.js.map +1 -0
  33. package/dist/chunks/{date-range-picker.DGGvwRfn.js → date-range-picker.gfRJmzXn.js} +10 -10
  34. package/dist/chunks/{date-range-picker.DGGvwRfn.js.map → date-range-picker.gfRJmzXn.js.map} +1 -1
  35. package/dist/chunks/{date-time-picker.CyNb-xDm.js → date-time-picker.BIl9kFLh.js} +5 -5
  36. package/dist/chunks/{date-time-picker.CyNb-xDm.js.map → date-time-picker.BIl9kFLh.js.map} +1 -1
  37. package/dist/chunks/{draggable-handle.CU1L7J87.js → draggable-handle.DIhHtHG9.js} +530 -499
  38. package/dist/chunks/{draggable-handle.CU1L7J87.js.map → draggable-handle.DIhHtHG9.js.map} +1 -1
  39. package/dist/chunks/{dropdown-tag.C1qg52L9.js → dropdown-tag.CuDxdSfb.js} +2 -2
  40. package/dist/chunks/{dropdown-tag.C1qg52L9.js.map → dropdown-tag.CuDxdSfb.js.map} +1 -1
  41. package/dist/chunks/{dropdown.BEurqT8m.js → dropdown.C70AlvOT.js} +264 -257
  42. package/dist/chunks/dropdown.C70AlvOT.js.map +1 -0
  43. package/dist/chunks/{filter-bar.gjMPoK6d.js → filter-bar.C6ZBgizQ.js} +15 -15
  44. package/dist/chunks/{filter-bar.gjMPoK6d.js.map → filter-bar.C6ZBgizQ.js.map} +1 -1
  45. package/dist/chunks/{header-with-views.B2Ok5KI1.js → header-with-views.m0xMmoav.js} +3 -3
  46. package/dist/chunks/{header-with-views.B2Ok5KI1.js.map → header-with-views.m0xMmoav.js.map} +1 -1
  47. package/dist/chunks/{input-field-password.viF49CQh.js → input-field-password.CRqYWZGS.js} +34 -34
  48. package/dist/chunks/input-field-password.CRqYWZGS.js.map +1 -0
  49. package/dist/chunks/{input-field-phone-number.DnpTj7q5.js → input-field-phone-number.DHiuL0cF.js} +2 -2
  50. package/dist/chunks/{input-field-phone-number.DnpTj7q5.js.map → input-field-phone-number.DHiuL0cF.js.map} +1 -1
  51. package/dist/chunks/{input-field.D86PSAiu.js → input-field.BkQZ6Qzl.js} +2 -2
  52. package/dist/chunks/{input-field.D86PSAiu.js.map → input-field.BkQZ6Qzl.js.map} +1 -1
  53. package/dist/chunks/{input-time.LyKZXnVO.js → input-time.BiOHvUEA.js} +3 -3
  54. package/dist/chunks/{input-time.LyKZXnVO.js.map → input-time.BiOHvUEA.js.map} +1 -1
  55. package/dist/chunks/{pagination.CJ3d1O_s.js → pagination.DItyAwy1.js} +2 -2
  56. package/dist/chunks/{pagination.CJ3d1O_s.js.map → pagination.DItyAwy1.js.map} +1 -1
  57. package/dist/chunks/{search-bar.BvHhXdNu.js → search-bar.D-WK8eMQ.js} +3 -3
  58. package/dist/chunks/{search-bar.BvHhXdNu.js.map → search-bar.D-WK8eMQ.js.map} +1 -1
  59. package/dist/chunks/secondary-nav.C7lEDaoj.js +259 -0
  60. package/dist/chunks/{secondary-nav.BvbT8LXa.js.map → secondary-nav.C7lEDaoj.js.map} +1 -1
  61. package/dist/chunks/tab.QEKU5Udp.js +256 -0
  62. package/dist/chunks/{tab.YQXssvyU.js.map → tab.QEKU5Udp.js.map} +1 -1
  63. package/dist/chunks/{use-cached-selected-values.txnml8sE.js → use-cached-selected-values.D0s14AxT.js} +2 -2
  64. package/dist/chunks/{use-cached-selected-values.txnml8sE.js.map → use-cached-selected-values.D0s14AxT.js.map} +1 -1
  65. package/dist/chunks/{use-date-input-formatter.D7Ud6Ana.js → use-date-input-formatter.B5GQd3s2.js} +2 -2
  66. package/dist/chunks/{use-date-input-formatter.D7Ud6Ana.js.map → use-date-input-formatter.B5GQd3s2.js.map} +1 -1
  67. package/dist/code-snippet.js +1 -1
  68. package/dist/dashboard-template.js +1 -1
  69. package/dist/data-grid-template.js +1 -1
  70. package/dist/data-grid.js +1 -1
  71. package/dist/date-picker.js +2 -2
  72. package/dist/date-range-picker.js +2 -2
  73. package/dist/date-time-picker.js +1 -1
  74. package/dist/draggable.js +1 -1
  75. package/dist/dropdown.js +3 -3
  76. package/dist/filter-bar.js +1 -1
  77. package/dist/header-with-views.js +1 -1
  78. package/dist/index.js +22 -22
  79. package/dist/input-field-password.js +1 -1
  80. package/dist/input-field-phone-number.js +1 -1
  81. package/dist/input-field.js +1 -1
  82. package/dist/input-time.js +1 -1
  83. package/dist/internal.js +2 -2
  84. package/dist/pagination.js +1 -1
  85. package/dist/search-bar.js +2 -2
  86. package/dist/secondary-nav.js +1 -1
  87. package/dist/tabs.js +1 -1
  88. package/dist/web-types.json +11 -1
  89. package/package.json +3 -3
  90. package/dist/chunks/calendar.ofn3G6eW.js.map +0 -1
  91. package/dist/chunks/date-picker.CYDTf6De.js.map +0 -1
  92. package/dist/chunks/dropdown.BEurqT8m.js.map +0 -1
  93. package/dist/chunks/input-field-password.viF49CQh.js.map +0 -1
  94. package/dist/chunks/secondary-nav.BvbT8LXa.js +0 -223
  95. package/dist/chunks/tab.YQXssvyU.js +0 -229
@@ -1,7 +1,7 @@
1
- import { ref as ie, watch as nt, markRaw as zt, onUnmounted as Ct, defineComponent as Mt, computed as Le, nextTick as ht } from "vue";
2
- import { u as Ot } from "./index.B6WW_F-J.js";
3
- import { l as jt, m as Ae } from "./index.CJYgd0QI.js";
4
- import { n as ze } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
1
+ import { ref as ae, watch as nt, markRaw as Wt, onUnmounted as Ct, defineComponent as Mt, computed as Re, nextTick as ht } from "vue";
2
+ import { u as Pt } from "./index.B6WW_F-J.js";
3
+ import { l as jt, m as Oe } from "./index.CJYgd0QI.js";
4
+ import { n as We } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
5
  import { f as qt } from "./button-actions.D1jRC1fs.js";
6
6
  import { G as Vt } from "./grab.BxiVZ1RZ.js";
7
7
  /* empty css */
@@ -18,13 +18,13 @@ function pt(n, e) {
18
18
  var o = Object.keys(n);
19
19
  if (Object.getOwnPropertySymbols) {
20
20
  var t = Object.getOwnPropertySymbols(n);
21
- e && (t = t.filter(function(r) {
22
- return Object.getOwnPropertyDescriptor(n, r).enumerable;
21
+ e && (t = t.filter(function(i) {
22
+ return Object.getOwnPropertyDescriptor(n, i).enumerable;
23
23
  })), o.push.apply(o, t);
24
24
  }
25
25
  return o;
26
26
  }
27
- function V(n) {
27
+ function K(n) {
28
28
  for (var e = 1; e < arguments.length; e++) {
29
29
  var o = arguments[e] != null ? arguments[e] : {};
30
30
  e % 2 ? pt(Object(o), !0).forEach(function(t) {
@@ -51,49 +51,49 @@ function Jt(n, e, o) {
51
51
  writable: !0
52
52
  }) : n[e] = o, n;
53
53
  }
54
- function ee() {
55
- return ee = Object.assign || function(n) {
54
+ function te() {
55
+ return te = Object.assign || function(n) {
56
56
  for (var e = 1; e < arguments.length; e++) {
57
57
  var o = arguments[e];
58
58
  for (var t in o)
59
59
  Object.prototype.hasOwnProperty.call(o, t) && (n[t] = o[t]);
60
60
  }
61
61
  return n;
62
- }, ee.apply(this, arguments);
62
+ }, te.apply(this, arguments);
63
63
  }
64
64
  function Qt(n, e) {
65
65
  if (n == null) return {};
66
- var o = {}, t = Object.keys(n), r, i;
67
- for (i = 0; i < t.length; i++)
68
- r = t[i], !(e.indexOf(r) >= 0) && (o[r] = n[r]);
66
+ var o = {}, t = Object.keys(n), i, r;
67
+ for (r = 0; r < t.length; r++)
68
+ i = t[r], !(e.indexOf(i) >= 0) && (o[i] = n[i]);
69
69
  return o;
70
70
  }
71
71
  function eo(n, e) {
72
72
  if (n == null) return {};
73
- var o = Qt(n, e), t, r;
73
+ var o = Qt(n, e), t, i;
74
74
  if (Object.getOwnPropertySymbols) {
75
- var i = Object.getOwnPropertySymbols(n);
76
- for (r = 0; r < i.length; r++)
77
- t = i[r], !(e.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(n, t) && (o[t] = n[t]);
75
+ var r = Object.getOwnPropertySymbols(n);
76
+ for (i = 0; i < r.length; i++)
77
+ t = r[i], !(e.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(n, t) && (o[t] = n[t]);
78
78
  }
79
79
  return o;
80
80
  }
81
81
  var to = "1.15.6";
82
- function Q(n) {
82
+ function ee(n) {
83
83
  if (typeof window < "u" && window.navigator)
84
84
  return !!/* @__PURE__ */ navigator.userAgent.match(n);
85
85
  }
86
- var te = Q(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ce = Q(/Edge/i), mt = Q(/firefox/i), Ee = Q(/safari/i) && !Q(/chrome/i) && !Q(/android/i), st = Q(/iP(ad|od|hone)/i), At = Q(/chrome/i) && Q(/android/i), Pt = {
86
+ var oe = ee(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ce = ee(/Edge/i), mt = ee(/firefox/i), Ee = ee(/safari/i) && !ee(/chrome/i) && !ee(/android/i), st = ee(/iP(ad|od|hone)/i), Ot = ee(/chrome/i) && ee(/android/i), xt = {
87
87
  capture: !1,
88
88
  passive: !1
89
89
  };
90
90
  function y(n, e, o) {
91
- n.addEventListener(e, o, !te && Pt);
91
+ n.addEventListener(e, o, !oe && xt);
92
92
  }
93
93
  function w(n, e, o) {
94
- n.removeEventListener(e, o, !te && Pt);
94
+ n.removeEventListener(e, o, !oe && xt);
95
95
  }
96
- function $e(n, e) {
96
+ function Ye(n, e) {
97
97
  if (e) {
98
98
  if (e[0] === ">" && (e = e.substring(1)), n)
99
99
  try {
@@ -109,22 +109,22 @@ function $e(n, e) {
109
109
  return !1;
110
110
  }
111
111
  }
112
- function Nt(n) {
112
+ function At(n) {
113
113
  return n.host && n !== document && n.host.nodeType ? n.host : n.parentNode;
114
114
  }
115
115
  function j(n, e, o, t) {
116
116
  if (n) {
117
117
  o = o || document;
118
118
  do {
119
- if (e != null && (e[0] === ">" ? n.parentNode === o && $e(n, e) : $e(n, e)) || t && n === o)
119
+ if (e != null && (e[0] === ">" ? n.parentNode === o && Ye(n, e) : Ye(n, e)) || t && n === o)
120
120
  return n;
121
121
  if (n === o) break;
122
- } while (n = Nt(n));
122
+ } while (n = At(n));
123
123
  }
124
124
  return null;
125
125
  }
126
126
  var gt = /\s+/g;
127
- function X(n, e, o) {
127
+ function Y(n, e, o) {
128
128
  if (n && e)
129
129
  if (n.classList)
130
130
  n.classList[o ? "add" : "remove"](e);
@@ -133,7 +133,7 @@ function X(n, e, o) {
133
133
  n.className = (t + (o ? " " + e : "")).replace(gt, " ");
134
134
  }
135
135
  }
136
- function p(n, e, o) {
136
+ function h(n, e, o) {
137
137
  var t = n && n.style;
138
138
  if (t) {
139
139
  if (o === void 0)
@@ -147,40 +147,40 @@ function me(n, e) {
147
147
  o = n;
148
148
  else
149
149
  do {
150
- var t = p(n, "transform");
150
+ var t = h(n, "transform");
151
151
  t && t !== "none" && (o = t + " " + o);
152
152
  } while (!e && (n = n.parentNode));
153
- var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
154
- return r && new r(o);
153
+ var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
154
+ return i && new i(o);
155
155
  }
156
- function xt(n, e, o) {
156
+ function Nt(n, e, o) {
157
157
  if (n) {
158
- var t = n.getElementsByTagName(e), r = 0, i = t.length;
158
+ var t = n.getElementsByTagName(e), i = 0, r = t.length;
159
159
  if (o)
160
- for (; r < i; r++)
161
- o(t[r], r);
160
+ for (; i < r; i++)
161
+ o(t[i], i);
162
162
  return t;
163
163
  }
164
164
  return [];
165
165
  }
166
- function q() {
166
+ function V() {
167
167
  var n = document.scrollingElement;
168
168
  return n || document.documentElement;
169
169
  }
170
- function O(n, e, o, t, r) {
170
+ function x(n, e, o, t, i) {
171
171
  if (!(!n.getBoundingClientRect && n !== window)) {
172
- var i, a, l, s, u, f, c;
173
- if (n !== window && n.parentNode && n !== q() ? (i = n.getBoundingClientRect(), a = i.top, l = i.left, s = i.bottom, u = i.right, f = i.height, c = i.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, f = window.innerHeight, c = window.innerWidth), (e || o) && n !== window && (r = r || n.parentNode, !te))
172
+ var r, a, l, s, u, f, c;
173
+ if (n !== window && n.parentNode && n !== V() ? (r = n.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, f = r.height, c = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, f = window.innerHeight, c = window.innerWidth), (e || o) && n !== window && (i = i || n.parentNode, !oe))
174
174
  do
175
- if (r && r.getBoundingClientRect && (p(r, "transform") !== "none" || o && p(r, "position") !== "static")) {
176
- var _ = r.getBoundingClientRect();
177
- a -= _.top + parseInt(p(r, "border-top-width")), l -= _.left + parseInt(p(r, "border-left-width")), s = a + i.height, u = l + i.width;
175
+ if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || o && h(i, "position") !== "static")) {
176
+ var v = i.getBoundingClientRect();
177
+ a -= v.top + parseInt(h(i, "border-top-width")), l -= v.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
178
178
  break;
179
179
  }
180
- while (r = r.parentNode);
180
+ while (i = i.parentNode);
181
181
  if (t && n !== window) {
182
- var D = me(r || n), b = D && D.a, v = D && D.d;
183
- D && (a /= v, l /= b, c /= b, f /= v, s = a + f, u = l + c);
182
+ var D = me(i || n), b = D && D.a, E = D && D.d;
183
+ D && (a /= E, l /= b, c /= b, f /= E, s = a + f, u = l + c);
184
184
  }
185
185
  return {
186
186
  top: a,
@@ -193,27 +193,27 @@ function O(n, e, o, t, r) {
193
193
  }
194
194
  }
195
195
  function vt(n, e, o) {
196
- for (var t = ae(n, !0), r = O(n)[e]; t; ) {
197
- var i = O(t)[o], a = void 0;
198
- if (a = r >= i, !a) return t;
199
- if (t === q()) break;
200
- t = ae(t, !1);
196
+ for (var t = le(n, !0), i = x(n)[e]; t; ) {
197
+ var r = x(t)[o], a = void 0;
198
+ if (a = i >= r, !a) return t;
199
+ if (t === V()) break;
200
+ t = le(t, !1);
201
201
  }
202
202
  return !1;
203
203
  }
204
204
  function ge(n, e, o, t) {
205
- for (var r = 0, i = 0, a = n.children; i < a.length; ) {
206
- if (a[i].style.display !== "none" && a[i] !== m.ghost && (t || a[i] !== m.dragged) && j(a[i], o.draggable, n, !1)) {
207
- if (r === e)
208
- return a[i];
209
- r++;
205
+ for (var i = 0, r = 0, a = n.children; r < a.length; ) {
206
+ if (a[r].style.display !== "none" && a[r] !== p.ghost && (t || a[r] !== p.dragged) && j(a[r], o.draggable, n, !1)) {
207
+ if (i === e)
208
+ return a[r];
209
+ i++;
210
210
  }
211
- i++;
211
+ r++;
212
212
  }
213
213
  return null;
214
214
  }
215
215
  function ut(n, e) {
216
- for (var o = n.lastElementChild; o && (o === m.ghost || p(o, "display") === "none" || e && !$e(o, e)); )
216
+ for (var o = n.lastElementChild; o && (o === p.ghost || h(o, "display") === "none" || e && !Ye(o, e)); )
217
217
  o = o.previousElementSibling;
218
218
  return o || null;
219
219
  }
@@ -222,15 +222,15 @@ function G(n, e) {
222
222
  if (!n || !n.parentNode)
223
223
  return -1;
224
224
  for (; n = n.previousElementSibling; )
225
- n.nodeName.toUpperCase() !== "TEMPLATE" && n !== m.clone && (!e || $e(n, e)) && o++;
225
+ n.nodeName.toUpperCase() !== "TEMPLATE" && n !== p.clone && (!e || Ye(n, e)) && o++;
226
226
  return o;
227
227
  }
228
228
  function bt(n) {
229
- var e = 0, o = 0, t = q();
229
+ var e = 0, o = 0, t = V();
230
230
  if (n)
231
231
  do {
232
- var r = me(n), i = r.a, a = r.d;
233
- e += n.scrollLeft * i, o += n.scrollTop * a;
232
+ var i = me(n), r = i.a, a = i.d;
233
+ e += n.scrollLeft * r, o += n.scrollTop * a;
234
234
  } while (n !== t && (n = n.parentNode));
235
235
  return [e, o];
236
236
  }
@@ -242,20 +242,20 @@ function oo(n, e) {
242
242
  }
243
243
  return -1;
244
244
  }
245
- function ae(n, e) {
246
- if (!n || !n.getBoundingClientRect) return q();
245
+ function le(n, e) {
246
+ if (!n || !n.getBoundingClientRect) return V();
247
247
  var o = n, t = !1;
248
248
  do
249
249
  if (o.clientWidth < o.scrollWidth || o.clientHeight < o.scrollHeight) {
250
- var r = p(o);
251
- if (o.clientWidth < o.scrollWidth && (r.overflowX == "auto" || r.overflowX == "scroll") || o.clientHeight < o.scrollHeight && (r.overflowY == "auto" || r.overflowY == "scroll")) {
252
- if (!o.getBoundingClientRect || o === document.body) return q();
250
+ var i = h(o);
251
+ if (o.clientWidth < o.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || o.clientHeight < o.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
252
+ if (!o.getBoundingClientRect || o === document.body) return V();
253
253
  if (t || e) return o;
254
254
  t = !0;
255
255
  }
256
256
  }
257
257
  while (o = o.parentNode);
258
- return q();
258
+ return V();
259
259
  }
260
260
  function no(n, e) {
261
261
  if (n && e)
@@ -267,7 +267,7 @@ function qe(n, e) {
267
267
  return Math.round(n.top) === Math.round(e.top) && Math.round(n.left) === Math.round(e.left) && Math.round(n.height) === Math.round(e.height) && Math.round(n.width) === Math.round(e.width);
268
268
  }
269
269
  var De;
270
- function Rt(n, e) {
270
+ function Lt(n, e) {
271
271
  return function() {
272
272
  if (!De) {
273
273
  var o = arguments, t = this;
@@ -277,10 +277,10 @@ function Rt(n, e) {
277
277
  }
278
278
  };
279
279
  }
280
- function ro() {
280
+ function io() {
281
281
  clearTimeout(De), De = void 0;
282
282
  }
283
- function Lt(n, e, o) {
283
+ function Rt(n, e, o) {
284
284
  n.scrollLeft += e, n.scrollTop += o;
285
285
  }
286
286
  function Ft(n) {
@@ -289,33 +289,33 @@ function Ft(n) {
289
289
  }
290
290
  function Bt(n, e, o) {
291
291
  var t = {};
292
- return Array.from(n.children).forEach(function(r) {
293
- var i, a, l, s;
294
- if (!(!j(r, e.draggable, n, !1) || r.animated || r === o)) {
295
- var u = O(r);
296
- t.left = Math.min((i = t.left) !== null && i !== void 0 ? i : 1 / 0, u.left), t.top = Math.min((a = t.top) !== null && a !== void 0 ? a : 1 / 0, u.top), t.right = Math.max((l = t.right) !== null && l !== void 0 ? l : -1 / 0, u.right), t.bottom = Math.max((s = t.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
292
+ return Array.from(n.children).forEach(function(i) {
293
+ var r, a, l, s;
294
+ if (!(!j(i, e.draggable, n, !1) || i.animated || i === o)) {
295
+ var u = x(i);
296
+ t.left = Math.min((r = t.left) !== null && r !== void 0 ? r : 1 / 0, u.left), t.top = Math.min((a = t.top) !== null && a !== void 0 ? a : 1 / 0, u.top), t.right = Math.max((l = t.right) !== null && l !== void 0 ? l : -1 / 0, u.right), t.bottom = Math.max((s = t.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
297
297
  }
298
298
  }), t.width = t.right - t.left, t.height = t.bottom - t.top, t.x = t.left, t.y = t.top, t;
299
299
  }
300
- var F = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
301
- function io() {
300
+ var k = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
301
+ function ro() {
302
302
  var n = [], e;
303
303
  return {
304
304
  captureAnimationState: function() {
305
305
  if (n = [], !!this.options.animation) {
306
306
  var t = [].slice.call(this.el.children);
307
- t.forEach(function(r) {
308
- if (!(p(r, "display") === "none" || r === m.ghost)) {
307
+ t.forEach(function(i) {
308
+ if (!(h(i, "display") === "none" || i === p.ghost)) {
309
309
  n.push({
310
- target: r,
311
- rect: O(r)
310
+ target: i,
311
+ rect: x(i)
312
312
  });
313
- var i = V({}, n[n.length - 1].rect);
314
- if (r.thisAnimationDuration) {
315
- var a = me(r, !0);
316
- a && (i.top -= a.f, i.left -= a.e);
313
+ var r = K({}, n[n.length - 1].rect);
314
+ if (i.thisAnimationDuration) {
315
+ var a = me(i, !0);
316
+ a && (r.top -= a.f, r.left -= a.e);
317
317
  }
318
- r.fromRect = i;
318
+ i.fromRect = r;
319
319
  }
320
320
  });
321
321
  }
@@ -329,28 +329,28 @@ function io() {
329
329
  }), 1);
330
330
  },
331
331
  animateAll: function(t) {
332
- var r = this;
332
+ var i = this;
333
333
  if (!this.options.animation) {
334
334
  clearTimeout(e), typeof t == "function" && t();
335
335
  return;
336
336
  }
337
- var i = !1, a = 0;
337
+ var r = !1, a = 0;
338
338
  n.forEach(function(l) {
339
- var s = 0, u = l.target, f = u.fromRect, c = O(u), _ = u.prevFromRect, D = u.prevToRect, b = l.rect, v = me(u, !0);
340
- v && (c.top -= v.f, c.left -= v.e), u.toRect = c, u.thisAnimationDuration && qe(_, c) && !qe(f, c) && // Make sure animatingRect is on line between toRect & fromRect
341
- (b.top - c.top) / (b.left - c.left) === (f.top - c.top) / (f.left - c.left) && (s = lo(b, _, D, r.options)), qe(c, f) || (u.prevFromRect = f, u.prevToRect = c, s || (s = r.options.animation), r.animate(u, b, c, s)), s && (i = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
339
+ var s = 0, u = l.target, f = u.fromRect, c = x(u), v = u.prevFromRect, D = u.prevToRect, b = l.rect, E = me(u, !0);
340
+ E && (c.top -= E.f, c.left -= E.e), u.toRect = c, u.thisAnimationDuration && qe(v, c) && !qe(f, c) && // Make sure animatingRect is on line between toRect & fromRect
341
+ (b.top - c.top) / (b.left - c.left) === (f.top - c.top) / (f.left - c.left) && (s = lo(b, v, D, i.options)), qe(c, f) || (u.prevFromRect = f, u.prevToRect = c, s || (s = i.options.animation), i.animate(u, b, c, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
342
342
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
343
343
  }, s), u.thisAnimationDuration = s);
344
- }), clearTimeout(e), i ? e = setTimeout(function() {
344
+ }), clearTimeout(e), r ? e = setTimeout(function() {
345
345
  typeof t == "function" && t();
346
346
  }, a) : typeof t == "function" && t(), n = [];
347
347
  },
348
- animate: function(t, r, i, a) {
348
+ animate: function(t, i, r, a) {
349
349
  if (a) {
350
- p(t, "transition", ""), p(t, "transform", "");
351
- var l = me(this.el), s = l && l.a, u = l && l.d, f = (r.left - i.left) / (s || 1), c = (r.top - i.top) / (u || 1);
352
- t.animatingX = !!f, t.animatingY = !!c, p(t, "transform", "translate3d(" + f + "px," + c + "px,0)"), this.forRepaintDummy = ao(t), p(t, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), p(t, "transform", "translate3d(0,0,0)"), typeof t.animated == "number" && clearTimeout(t.animated), t.animated = setTimeout(function() {
353
- p(t, "transition", ""), p(t, "transform", ""), t.animated = !1, t.animatingX = !1, t.animatingY = !1;
350
+ h(t, "transition", ""), h(t, "transform", "");
351
+ var l = me(this.el), s = l && l.a, u = l && l.d, f = (i.left - r.left) / (s || 1), c = (i.top - r.top) / (u || 1);
352
+ t.animatingX = !!f, t.animatingY = !!c, h(t, "transform", "translate3d(" + f + "px," + c + "px,0)"), this.forRepaintDummy = ao(t), h(t, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(t, "transform", "translate3d(0,0,0)"), typeof t.animated == "number" && clearTimeout(t.animated), t.animated = setTimeout(function() {
353
+ h(t, "transition", ""), h(t, "transform", ""), t.animated = !1, t.animatingX = !1, t.animatingY = !1;
354
354
  }, a);
355
355
  }
356
356
  }
@@ -374,63 +374,63 @@ var ce = [], Ve = {
374
374
  }), ce.push(e);
375
375
  },
376
376
  pluginEvent: function(e, o, t) {
377
- var r = this;
377
+ var i = this;
378
378
  this.eventCanceled = !1, t.cancel = function() {
379
- r.eventCanceled = !0;
379
+ i.eventCanceled = !0;
380
380
  };
381
- var i = e + "Global";
381
+ var r = e + "Global";
382
382
  ce.forEach(function(a) {
383
- o[a.pluginName] && (o[a.pluginName][i] && o[a.pluginName][i](V({
383
+ o[a.pluginName] && (o[a.pluginName][r] && o[a.pluginName][r](K({
384
384
  sortable: o
385
- }, t)), o.options[a.pluginName] && o[a.pluginName][e] && o[a.pluginName][e](V({
385
+ }, t)), o.options[a.pluginName] && o[a.pluginName][e] && o[a.pluginName][e](K({
386
386
  sortable: o
387
387
  }, t)));
388
388
  });
389
389
  },
390
- initializePlugins: function(e, o, t, r) {
390
+ initializePlugins: function(e, o, t, i) {
391
391
  ce.forEach(function(l) {
392
392
  var s = l.pluginName;
393
393
  if (!(!e.options[s] && !l.initializeByDefault)) {
394
394
  var u = new l(e, o, e.options);
395
- u.sortable = e, u.options = e.options, e[s] = u, ee(t, u.defaults);
395
+ u.sortable = e, u.options = e.options, e[s] = u, te(t, u.defaults);
396
396
  }
397
397
  });
398
- for (var i in e.options)
399
- if (e.options.hasOwnProperty(i)) {
400
- var a = this.modifyOption(e, i, e.options[i]);
401
- typeof a < "u" && (e.options[i] = a);
398
+ for (var r in e.options)
399
+ if (e.options.hasOwnProperty(r)) {
400
+ var a = this.modifyOption(e, r, e.options[r]);
401
+ typeof a < "u" && (e.options[r] = a);
402
402
  }
403
403
  },
404
404
  getEventProperties: function(e, o) {
405
405
  var t = {};
406
- return ce.forEach(function(r) {
407
- typeof r.eventProperties == "function" && ee(t, r.eventProperties.call(o[r.pluginName], e));
406
+ return ce.forEach(function(i) {
407
+ typeof i.eventProperties == "function" && te(t, i.eventProperties.call(o[i.pluginName], e));
408
408
  }), t;
409
409
  },
410
410
  modifyOption: function(e, o, t) {
411
- var r;
412
- return ce.forEach(function(i) {
413
- e[i.pluginName] && i.optionListeners && typeof i.optionListeners[o] == "function" && (r = i.optionListeners[o].call(e[i.pluginName], t));
414
- }), r;
411
+ var i;
412
+ return ce.forEach(function(r) {
413
+ e[r.pluginName] && r.optionListeners && typeof r.optionListeners[o] == "function" && (i = r.optionListeners[o].call(e[r.pluginName], t));
414
+ }), i;
415
415
  }
416
416
  };
417
417
  function so(n) {
418
- var e = n.sortable, o = n.rootEl, t = n.name, r = n.targetEl, i = n.cloneEl, a = n.toEl, l = n.fromEl, s = n.oldIndex, u = n.newIndex, f = n.oldDraggableIndex, c = n.newDraggableIndex, _ = n.originalEvent, D = n.putSortable, b = n.extraEventProperties;
419
- if (e = e || o && o[F], !!e) {
420
- var v, B = e.options, W = "on" + t.charAt(0).toUpperCase() + t.substr(1);
421
- window.CustomEvent && !te && !Ce ? v = new CustomEvent(t, {
418
+ var e = n.sortable, o = n.rootEl, t = n.name, i = n.targetEl, r = n.cloneEl, a = n.toEl, l = n.fromEl, s = n.oldIndex, u = n.newIndex, f = n.oldDraggableIndex, c = n.newDraggableIndex, v = n.originalEvent, D = n.putSortable, b = n.extraEventProperties;
419
+ if (e = e || o && o[k], !!e) {
420
+ var E, M = e.options, z = "on" + t.charAt(0).toUpperCase() + t.substr(1);
421
+ window.CustomEvent && !oe && !Ce ? E = new CustomEvent(t, {
422
422
  bubbles: !0,
423
423
  cancelable: !0
424
- }) : (v = document.createEvent("Event"), v.initEvent(t, !0, !0)), v.to = a || o, v.from = l || o, v.item = r || o, v.clone = i, v.oldIndex = s, v.newIndex = u, v.oldDraggableIndex = f, v.newDraggableIndex = c, v.originalEvent = _, v.pullMode = D ? D.lastPutMode : void 0;
425
- var A = V(V({}, b), Me.getEventProperties(t, e));
426
- for (var k in A)
427
- v[k] = A[k];
428
- o && o.dispatchEvent(v), B[W] && B[W].call(e, v);
424
+ }) : (E = document.createEvent("Event"), E.initEvent(t, !0, !0)), E.to = a || o, E.from = l || o, E.item = i || o, E.clone = r, E.oldIndex = s, E.newIndex = u, E.oldDraggableIndex = f, E.newDraggableIndex = c, E.originalEvent = v, E.pullMode = D ? D.lastPutMode : void 0;
425
+ var A = K(K({}, b), Me.getEventProperties(t, e));
426
+ for (var X in A)
427
+ E[X] = A[X];
428
+ o && o.dispatchEvent(E), M[z] && M[z].call(e, E);
429
429
  }
430
430
  }
431
- var uo = ["evt"], L = function(e, o) {
432
- var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = t.evt, i = eo(t, uo);
433
- Me.pluginEvent.bind(m)(e, o, V({
431
+ var uo = ["evt"], H = function(e, o) {
432
+ var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = t.evt, r = eo(t, uo);
433
+ Me.pluginEvent.bind(p)(e, o, K({
434
434
  dragEl: d,
435
435
  parentEl: C,
436
436
  ghostEl: g,
@@ -440,15 +440,15 @@ var uo = ["evt"], L = function(e, o) {
440
440
  cloneEl: I,
441
441
  cloneHidden: re,
442
442
  dragStarted: _e,
443
- putSortable: P,
444
- activeSortable: m.active,
445
- originalEvent: r,
443
+ putSortable: N,
444
+ activeSortable: p.active,
445
+ originalEvent: i,
446
446
  oldIndex: pe,
447
447
  oldDraggableIndex: Te,
448
448
  newIndex: $,
449
- newDraggableIndex: ne,
450
- hideGhostForTarget: $t,
451
- unhideGhostForTarget: Ut,
449
+ newDraggableIndex: ie,
450
+ hideGhostForTarget: Yt,
451
+ unhideGhostForTarget: $t,
452
452
  cloneNowHidden: function() {
453
453
  re = !0;
454
454
  },
@@ -456,85 +456,85 @@ var uo = ["evt"], L = function(e, o) {
456
456
  re = !1;
457
457
  },
458
458
  dispatchSortableEvent: function(l) {
459
- R({
459
+ F({
460
460
  sortable: o,
461
461
  name: l,
462
- originalEvent: r
462
+ originalEvent: i
463
463
  });
464
464
  }
465
- }, i));
465
+ }, r));
466
466
  };
467
- function R(n) {
468
- so(V({
469
- putSortable: P,
467
+ function F(n) {
468
+ so(K({
469
+ putSortable: N,
470
470
  cloneEl: I,
471
471
  targetEl: d,
472
472
  rootEl: S,
473
473
  oldIndex: pe,
474
474
  oldDraggableIndex: Te,
475
475
  newIndex: $,
476
- newDraggableIndex: ne
476
+ newDraggableIndex: ie
477
477
  }, n));
478
478
  }
479
- var d, C, g, S, de, Be, I, re, pe, $, Te, ne, Pe, P, he = !1, Ue = !1, He = [], se, z, Ke, Ze, _t, wt, _e, fe, Se, Ie = !1, Ne = !1, ke, N, Je = [], rt = !1, Ge = [], je = typeof document < "u", xe = st, yt = Ce || te ? "cssFloat" : "float", co = je && !At && !st && "draggable" in document.createElement("div"), kt = (function() {
479
+ var d, C, g, S, de, Be, I, re, pe, $, Te, ie, xe, N, he = !1, $e = !1, Ue = [], se, W, Ke, Ze, _t, wt, _e, fe, Se, Ie = !1, Ae = !1, He, L, Je = [], it = !1, Ge = [], je = typeof document < "u", Ne = st, yt = Ce || oe ? "cssFloat" : "float", co = je && !Ot && !st && "draggable" in document.createElement("div"), Ht = (function() {
480
480
  if (je) {
481
- if (te)
481
+ if (oe)
482
482
  return !1;
483
483
  var n = document.createElement("x");
484
484
  return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
485
485
  }
486
- })(), Yt = function(e, o) {
487
- var t = p(e), r = parseInt(t.width) - parseInt(t.paddingLeft) - parseInt(t.paddingRight) - parseInt(t.borderLeftWidth) - parseInt(t.borderRightWidth), i = ge(e, 0, o), a = ge(e, 1, o), l = i && p(i), s = a && p(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + O(i).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + O(a).width;
486
+ })(), kt = function(e, o) {
487
+ var t = h(e), i = parseInt(t.width) - parseInt(t.paddingLeft) - parseInt(t.paddingRight) - parseInt(t.borderLeftWidth) - parseInt(t.borderRightWidth), r = ge(e, 0, o), a = ge(e, 1, o), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + x(r).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + x(a).width;
488
488
  if (t.display === "flex")
489
489
  return t.flexDirection === "column" || t.flexDirection === "column-reverse" ? "vertical" : "horizontal";
490
490
  if (t.display === "grid")
491
491
  return t.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
492
- if (i && l.float && l.float !== "none") {
492
+ if (r && l.float && l.float !== "none") {
493
493
  var c = l.float === "left" ? "left" : "right";
494
494
  return a && (s.clear === "both" || s.clear === c) ? "vertical" : "horizontal";
495
495
  }
496
- return i && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= r && t[yt] === "none" || a && t[yt] === "none" && u + f > r) ? "vertical" : "horizontal";
496
+ return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && t[yt] === "none" || a && t[yt] === "none" && u + f > i) ? "vertical" : "horizontal";
497
497
  }, fo = function(e, o, t) {
498
- var r = t ? e.left : e.top, i = t ? e.right : e.bottom, a = t ? e.width : e.height, l = t ? o.left : o.top, s = t ? o.right : o.bottom, u = t ? o.width : o.height;
499
- return r === l || i === s || r + a / 2 === l + u / 2;
498
+ var i = t ? e.left : e.top, r = t ? e.right : e.bottom, a = t ? e.width : e.height, l = t ? o.left : o.top, s = t ? o.right : o.bottom, u = t ? o.width : o.height;
499
+ return i === l || r === s || i + a / 2 === l + u / 2;
500
500
  }, ho = function(e, o) {
501
501
  var t;
502
- return He.some(function(r) {
503
- var i = r[F].options.emptyInsertThreshold;
504
- if (!(!i || ut(r))) {
505
- var a = O(r), l = e >= a.left - i && e <= a.right + i, s = o >= a.top - i && o <= a.bottom + i;
502
+ return Ue.some(function(i) {
503
+ var r = i[k].options.emptyInsertThreshold;
504
+ if (!(!r || ut(i))) {
505
+ var a = x(i), l = e >= a.left - r && e <= a.right + r, s = o >= a.top - r && o <= a.bottom + r;
506
506
  if (l && s)
507
- return t = r;
507
+ return t = i;
508
508
  }
509
509
  }), t;
510
510
  }, Xt = function(e) {
511
- function o(i, a) {
511
+ function o(r, a) {
512
512
  return function(l, s, u, f) {
513
513
  var c = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
514
- if (i == null && (a || c))
514
+ if (r == null && (a || c))
515
515
  return !0;
516
- if (i == null || i === !1)
516
+ if (r == null || r === !1)
517
517
  return !1;
518
- if (a && i === "clone")
519
- return i;
520
- if (typeof i == "function")
521
- return o(i(l, s, u, f), a)(l, s, u, f);
522
- var _ = (a ? l : s).options.group.name;
523
- return i === !0 || typeof i == "string" && i === _ || i.join && i.indexOf(_) > -1;
518
+ if (a && r === "clone")
519
+ return r;
520
+ if (typeof r == "function")
521
+ return o(r(l, s, u, f), a)(l, s, u, f);
522
+ var v = (a ? l : s).options.group.name;
523
+ return r === !0 || typeof r == "string" && r === v || r.join && r.indexOf(v) > -1;
524
524
  };
525
525
  }
526
- var t = {}, r = e.group;
527
- (!r || Fe(r) != "object") && (r = {
528
- name: r
529
- }), t.name = r.name, t.checkPull = o(r.pull, !0), t.checkPut = o(r.put), t.revertClone = r.revertClone, e.group = t;
526
+ var t = {}, i = e.group;
527
+ (!i || Fe(i) != "object") && (i = {
528
+ name: i
529
+ }), t.name = i.name, t.checkPull = o(i.pull, !0), t.checkPut = o(i.put), t.revertClone = i.revertClone, e.group = t;
530
+ }, Yt = function() {
531
+ !Ht && g && h(g, "display", "none");
530
532
  }, $t = function() {
531
- !kt && g && p(g, "display", "none");
532
- }, Ut = function() {
533
- !kt && g && p(g, "display", "");
533
+ !Ht && g && h(g, "display", "");
534
534
  };
535
- je && !At && document.addEventListener("click", function(n) {
536
- if (Ue)
537
- return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), Ue = !1, !1;
535
+ je && !Ot && document.addEventListener("click", function(n) {
536
+ if ($e)
537
+ return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), $e = !1, !1;
538
538
  }, !0);
539
539
  var ue = function(e) {
540
540
  if (d) {
@@ -542,18 +542,18 @@ var ue = function(e) {
542
542
  var o = ho(e.clientX, e.clientY);
543
543
  if (o) {
544
544
  var t = {};
545
- for (var r in e)
546
- e.hasOwnProperty(r) && (t[r] = e[r]);
547
- t.target = t.rootEl = o, t.preventDefault = void 0, t.stopPropagation = void 0, o[F]._onDragOver(t);
545
+ for (var i in e)
546
+ e.hasOwnProperty(i) && (t[i] = e[i]);
547
+ t.target = t.rootEl = o, t.preventDefault = void 0, t.stopPropagation = void 0, o[k]._onDragOver(t);
548
548
  }
549
549
  }
550
550
  }, po = function(e) {
551
- d && d.parentNode[F]._isOutsideThisEl(e.target);
551
+ d && d.parentNode[k]._isOutsideThisEl(e.target);
552
552
  };
553
- function m(n, e) {
553
+ function p(n, e) {
554
554
  if (!(n && n.nodeType && n.nodeType === 1))
555
555
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));
556
- this.el = n, this.options = e = ee({}, e), n[F] = this;
556
+ this.el = n, this.options = e = te({}, e), n[k] = this;
557
557
  var o = {
558
558
  group: null,
559
559
  sort: !0,
@@ -569,7 +569,7 @@ function m(n, e) {
569
569
  // will be set to same as swapThreshold if default
570
570
  removeCloneOnHide: !0,
571
571
  direction: function() {
572
- return Yt(n, this.options);
572
+ return kt(n, this.options);
573
573
  },
574
574
  ghostClass: "sortable-ghost",
575
575
  chosenClass: "sortable-chosen",
@@ -597,20 +597,20 @@ function m(n, e) {
597
597
  y: 0
598
598
  },
599
599
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
600
- supportPointer: m.supportPointer !== !1 && "PointerEvent" in window && (!Ee || st),
600
+ supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && (!Ee || st),
601
601
  emptyInsertThreshold: 5
602
602
  };
603
603
  Me.initializePlugins(this, n, o);
604
604
  for (var t in o)
605
605
  !(t in e) && (e[t] = o[t]);
606
606
  Xt(e);
607
- for (var r in this)
608
- r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
609
- this.nativeDraggable = e.forceFallback ? !1 : co, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? y(n, "pointerdown", this._onTapStart) : (y(n, "mousedown", this._onTapStart), y(n, "touchstart", this._onTapStart)), this.nativeDraggable && (y(n, "dragover", this), y(n, "dragenter", this)), He.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), ee(this, io());
607
+ for (var i in this)
608
+ i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
609
+ this.nativeDraggable = e.forceFallback ? !1 : co, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? y(n, "pointerdown", this._onTapStart) : (y(n, "mousedown", this._onTapStart), y(n, "touchstart", this._onTapStart)), this.nativeDraggable && (y(n, "dragover", this), y(n, "dragenter", this)), Ue.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), te(this, ro());
610
610
  }
611
- m.prototype = /** @lends Sortable.prototype */
611
+ p.prototype = /** @lends Sortable.prototype */
612
612
  {
613
- constructor: m,
613
+ constructor: p,
614
614
  _isOutsideThisEl: function(e) {
615
615
  !this.el.contains(e) && e !== this.el && (fe = null);
616
616
  },
@@ -619,72 +619,72 @@ m.prototype = /** @lends Sortable.prototype */
619
619
  },
620
620
  _onTapStart: function(e) {
621
621
  if (e.cancelable) {
622
- var o = this, t = this.el, r = this.options, i = r.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, f = r.filter;
623
- if (Eo(t), !d && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Ee && s && s.tagName.toUpperCase() === "SELECT") && (s = j(s, r.draggable, t, !1), !(s && s.animated) && Be !== s)) {
624
- if (pe = G(s), Te = G(s, r.draggable), typeof f == "function") {
622
+ var o = this, t = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, f = i.filter;
623
+ if (Eo(t), !d && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Ee && s && s.tagName.toUpperCase() === "SELECT") && (s = j(s, i.draggable, t, !1), !(s && s.animated) && Be !== s)) {
624
+ if (pe = G(s), Te = G(s, i.draggable), typeof f == "function") {
625
625
  if (f.call(this, e, s, this)) {
626
- R({
626
+ F({
627
627
  sortable: o,
628
628
  rootEl: u,
629
629
  name: "filter",
630
630
  targetEl: s,
631
631
  toEl: t,
632
632
  fromEl: t
633
- }), L("filter", o, {
633
+ }), H("filter", o, {
634
634
  evt: e
635
- }), i && e.preventDefault();
635
+ }), r && e.preventDefault();
636
636
  return;
637
637
  }
638
638
  } else if (f && (f = f.split(",").some(function(c) {
639
639
  if (c = j(u, c.trim(), t, !1), c)
640
- return R({
640
+ return F({
641
641
  sortable: o,
642
642
  rootEl: c,
643
643
  name: "filter",
644
644
  targetEl: s,
645
645
  fromEl: t,
646
646
  toEl: t
647
- }), L("filter", o, {
647
+ }), H("filter", o, {
648
648
  evt: e
649
649
  }), !0;
650
650
  }), f)) {
651
- i && e.preventDefault();
651
+ r && e.preventDefault();
652
652
  return;
653
653
  }
654
- r.handle && !j(u, r.handle, t, !1) || this._prepareDragStart(e, l, s);
654
+ i.handle && !j(u, i.handle, t, !1) || this._prepareDragStart(e, l, s);
655
655
  }
656
656
  }
657
657
  },
658
658
  _prepareDragStart: function(e, o, t) {
659
- var r = this, i = r.el, a = r.options, l = i.ownerDocument, s;
660
- if (t && !d && t.parentNode === i) {
661
- var u = O(t);
662
- if (S = i, d = t, C = d.parentNode, de = d.nextSibling, Be = t, Pe = a.group, m.dragged = d, se = {
659
+ var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
660
+ if (t && !d && t.parentNode === r) {
661
+ var u = x(t);
662
+ if (S = r, d = t, C = d.parentNode, de = d.nextSibling, Be = t, xe = a.group, p.dragged = d, se = {
663
663
  target: d,
664
664
  clientX: (o || e).clientX,
665
665
  clientY: (o || e).clientY
666
666
  }, _t = se.clientX - u.left, wt = se.clientY - u.top, this._lastX = (o || e).clientX, this._lastY = (o || e).clientY, d.style["will-change"] = "all", s = function() {
667
- if (L("delayEnded", r, {
667
+ if (H("delayEnded", i, {
668
668
  evt: e
669
- }), m.eventCanceled) {
670
- r._onDrop();
669
+ }), p.eventCanceled) {
670
+ i._onDrop();
671
671
  return;
672
672
  }
673
- r._disableDelayedDragEvents(), !mt && r.nativeDraggable && (d.draggable = !0), r._triggerDragStart(e, o), R({
674
- sortable: r,
673
+ i._disableDelayedDragEvents(), !mt && i.nativeDraggable && (d.draggable = !0), i._triggerDragStart(e, o), F({
674
+ sortable: i,
675
675
  name: "choose",
676
676
  originalEvent: e
677
- }), X(d, a.chosenClass, !0);
677
+ }), Y(d, a.chosenClass, !0);
678
678
  }, a.ignore.split(",").forEach(function(f) {
679
- xt(d, f.trim(), Qe);
680
- }), y(l, "dragover", ue), y(l, "mousemove", ue), y(l, "touchmove", ue), a.supportPointer ? (y(l, "pointerup", r._onDrop), !this.nativeDraggable && y(l, "pointercancel", r._onDrop)) : (y(l, "mouseup", r._onDrop), y(l, "touchend", r._onDrop), y(l, "touchcancel", r._onDrop)), mt && this.nativeDraggable && (this.options.touchStartThreshold = 4, d.draggable = !0), L("delayStart", this, {
679
+ Nt(d, f.trim(), Qe);
680
+ }), y(l, "dragover", ue), y(l, "mousemove", ue), y(l, "touchmove", ue), a.supportPointer ? (y(l, "pointerup", i._onDrop), !this.nativeDraggable && y(l, "pointercancel", i._onDrop)) : (y(l, "mouseup", i._onDrop), y(l, "touchend", i._onDrop), y(l, "touchcancel", i._onDrop)), mt && this.nativeDraggable && (this.options.touchStartThreshold = 4, d.draggable = !0), H("delayStart", this, {
681
681
  evt: e
682
- }), a.delay && (!a.delayOnTouchOnly || o) && (!this.nativeDraggable || !(Ce || te))) {
683
- if (m.eventCanceled) {
682
+ }), a.delay && (!a.delayOnTouchOnly || o) && (!this.nativeDraggable || !(Ce || oe))) {
683
+ if (p.eventCanceled) {
684
684
  this._onDrop();
685
685
  return;
686
686
  }
687
- a.supportPointer ? (y(l, "pointerup", r._disableDelayedDrag), y(l, "pointercancel", r._disableDelayedDrag)) : (y(l, "mouseup", r._disableDelayedDrag), y(l, "touchend", r._disableDelayedDrag), y(l, "touchcancel", r._disableDelayedDrag)), y(l, "mousemove", r._delayedDragTouchMoveHandler), y(l, "touchmove", r._delayedDragTouchMoveHandler), a.supportPointer && y(l, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(s, a.delay);
687
+ a.supportPointer ? (y(l, "pointerup", i._disableDelayedDrag), y(l, "pointercancel", i._disableDelayedDrag)) : (y(l, "mouseup", i._disableDelayedDrag), y(l, "touchend", i._disableDelayedDrag), y(l, "touchcancel", i._disableDelayedDrag)), y(l, "mousemove", i._delayedDragTouchMoveHandler), y(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && y(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
688
688
  } else
689
689
  s();
690
690
  }
@@ -703,7 +703,7 @@ m.prototype = /** @lends Sortable.prototype */
703
703
  _triggerDragStart: function(e, o) {
704
704
  o = o || e.pointerType == "touch" && e, !this.nativeDraggable || o ? this.options.supportPointer ? y(document, "pointermove", this._onTouchMove) : o ? y(document, "touchmove", this._onTouchMove) : y(document, "mousemove", this._onTouchMove) : (y(d, "dragend", this), y(S, "dragstart", this._onDragStart));
705
705
  try {
706
- document.selection ? Ye(function() {
706
+ document.selection ? ke(function() {
707
707
  document.selection.empty();
708
708
  }) : window.getSelection().removeAllRanges();
709
709
  } catch {
@@ -711,11 +711,11 @@ m.prototype = /** @lends Sortable.prototype */
711
711
  },
712
712
  _dragStarted: function(e, o) {
713
713
  if (he = !1, S && d) {
714
- L("dragStarted", this, {
714
+ H("dragStarted", this, {
715
715
  evt: o
716
716
  }), this.nativeDraggable && y(document, "dragover", po);
717
717
  var t = this.options;
718
- !e && X(d, t.dragClass, !1), X(d, t.ghostClass, !0), m.active = this, e && this._appendGhost(), R({
718
+ !e && Y(d, t.dragClass, !1), Y(d, t.ghostClass, !0), p.active = this, e && this._appendGhost(), F({
719
719
  sortable: this,
720
720
  name: "start",
721
721
  originalEvent: o
@@ -724,32 +724,32 @@ m.prototype = /** @lends Sortable.prototype */
724
724
  this._nulling();
725
725
  },
726
726
  _emulateDragOver: function() {
727
- if (z) {
728
- this._lastX = z.clientX, this._lastY = z.clientY, $t();
729
- for (var e = document.elementFromPoint(z.clientX, z.clientY), o = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(z.clientX, z.clientY), e !== o); )
727
+ if (W) {
728
+ this._lastX = W.clientX, this._lastY = W.clientY, Yt();
729
+ for (var e = document.elementFromPoint(W.clientX, W.clientY), o = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(W.clientX, W.clientY), e !== o); )
730
730
  o = e;
731
- if (d.parentNode[F]._isOutsideThisEl(e), o)
731
+ if (d.parentNode[k]._isOutsideThisEl(e), o)
732
732
  do {
733
- if (o[F]) {
733
+ if (o[k]) {
734
734
  var t = void 0;
735
- if (t = o[F]._onDragOver({
736
- clientX: z.clientX,
737
- clientY: z.clientY,
735
+ if (t = o[k]._onDragOver({
736
+ clientX: W.clientX,
737
+ clientY: W.clientY,
738
738
  target: e,
739
739
  rootEl: o
740
740
  }), t && !this.options.dragoverBubble)
741
741
  break;
742
742
  }
743
743
  e = o;
744
- } while (o = Nt(o));
745
- Ut();
744
+ } while (o = At(o));
745
+ $t();
746
746
  }
747
747
  },
748
748
  _onTouchMove: function(e) {
749
749
  if (se) {
750
- var o = this.options, t = o.fallbackTolerance, r = o.fallbackOffset, i = e.touches ? e.touches[0] : e, a = g && me(g, !0), l = g && a && a.a, s = g && a && a.d, u = xe && N && bt(N), f = (i.clientX - se.clientX + r.x) / (l || 1) + (u ? u[0] - Je[0] : 0) / (l || 1), c = (i.clientY - se.clientY + r.y) / (s || 1) + (u ? u[1] - Je[1] : 0) / (s || 1);
751
- if (!m.active && !he) {
752
- if (t && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < t)
750
+ var o = this.options, t = o.fallbackTolerance, i = o.fallbackOffset, r = e.touches ? e.touches[0] : e, a = g && me(g, !0), l = g && a && a.a, s = g && a && a.d, u = Ne && L && bt(L), f = (r.clientX - se.clientX + i.x) / (l || 1) + (u ? u[0] - Je[0] : 0) / (l || 1), c = (r.clientY - se.clientY + i.y) / (s || 1) + (u ? u[1] - Je[1] : 0) / (s || 1);
751
+ if (!p.active && !he) {
752
+ if (t && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < t)
753
753
  return;
754
754
  this._onDragStart(e, !0);
755
755
  }
@@ -762,118 +762,118 @@ m.prototype = /** @lends Sortable.prototype */
762
762
  e: f,
763
763
  f: c
764
764
  };
765
- var _ = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
766
- p(g, "webkitTransform", _), p(g, "mozTransform", _), p(g, "msTransform", _), p(g, "transform", _), Ke = f, Ze = c, z = i;
765
+ var v = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
766
+ h(g, "webkitTransform", v), h(g, "mozTransform", v), h(g, "msTransform", v), h(g, "transform", v), Ke = f, Ze = c, W = r;
767
767
  }
768
768
  e.cancelable && e.preventDefault();
769
769
  }
770
770
  },
771
771
  _appendGhost: function() {
772
772
  if (!g) {
773
- var e = this.options.fallbackOnBody ? document.body : S, o = O(d, !0, xe, !0, e), t = this.options;
774
- if (xe) {
775
- for (N = e; p(N, "position") === "static" && p(N, "transform") === "none" && N !== document; )
776
- N = N.parentNode;
777
- N !== document.body && N !== document.documentElement ? (N === document && (N = q()), o.top += N.scrollTop, o.left += N.scrollLeft) : N = q(), Je = bt(N);
773
+ var e = this.options.fallbackOnBody ? document.body : S, o = x(d, !0, Ne, !0, e), t = this.options;
774
+ if (Ne) {
775
+ for (L = e; h(L, "position") === "static" && h(L, "transform") === "none" && L !== document; )
776
+ L = L.parentNode;
777
+ L !== document.body && L !== document.documentElement ? (L === document && (L = V()), o.top += L.scrollTop, o.left += L.scrollLeft) : L = V(), Je = bt(L);
778
778
  }
779
- g = d.cloneNode(!0), X(g, t.ghostClass, !1), X(g, t.fallbackClass, !0), X(g, t.dragClass, !0), p(g, "transition", ""), p(g, "transform", ""), p(g, "box-sizing", "border-box"), p(g, "margin", 0), p(g, "top", o.top), p(g, "left", o.left), p(g, "width", o.width), p(g, "height", o.height), p(g, "opacity", "0.8"), p(g, "position", xe ? "absolute" : "fixed"), p(g, "zIndex", "100000"), p(g, "pointerEvents", "none"), m.ghost = g, e.appendChild(g), p(g, "transform-origin", _t / parseInt(g.style.width) * 100 + "% " + wt / parseInt(g.style.height) * 100 + "%");
779
+ g = d.cloneNode(!0), Y(g, t.ghostClass, !1), Y(g, t.fallbackClass, !0), Y(g, t.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", o.top), h(g, "left", o.left), h(g, "width", o.width), h(g, "height", o.height), h(g, "opacity", "0.8"), h(g, "position", Ne ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, e.appendChild(g), h(g, "transform-origin", _t / parseInt(g.style.width) * 100 + "% " + wt / parseInt(g.style.height) * 100 + "%");
780
780
  }
781
781
  },
782
782
  _onDragStart: function(e, o) {
783
- var t = this, r = e.dataTransfer, i = t.options;
784
- if (L("dragStart", this, {
783
+ var t = this, i = e.dataTransfer, r = t.options;
784
+ if (H("dragStart", this, {
785
785
  evt: e
786
- }), m.eventCanceled) {
786
+ }), p.eventCanceled) {
787
787
  this._onDrop();
788
788
  return;
789
789
  }
790
- L("setupClone", this), m.eventCanceled || (I = Ft(d), I.removeAttribute("id"), I.draggable = !1, I.style["will-change"] = "", this._hideClone(), X(I, this.options.chosenClass, !1), m.clone = I), t.cloneId = Ye(function() {
791
- L("clone", t), !m.eventCanceled && (t.options.removeCloneOnHide || S.insertBefore(I, d), t._hideClone(), R({
790
+ H("setupClone", this), p.eventCanceled || (I = Ft(d), I.removeAttribute("id"), I.draggable = !1, I.style["will-change"] = "", this._hideClone(), Y(I, this.options.chosenClass, !1), p.clone = I), t.cloneId = ke(function() {
791
+ H("clone", t), !p.eventCanceled && (t.options.removeCloneOnHide || S.insertBefore(I, d), t._hideClone(), F({
792
792
  sortable: t,
793
793
  name: "clone"
794
794
  }));
795
- }), !o && X(d, i.dragClass, !0), o ? (Ue = !0, t._loopId = setInterval(t._emulateDragOver, 50)) : (w(document, "mouseup", t._onDrop), w(document, "touchend", t._onDrop), w(document, "touchcancel", t._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(t, r, d)), y(document, "drop", t), p(d, "transform", "translateZ(0)")), he = !0, t._dragStartId = Ye(t._dragStarted.bind(t, o, e)), y(document, "selectstart", t), _e = !0, window.getSelection().removeAllRanges(), Ee && p(document.body, "user-select", "none");
795
+ }), !o && Y(d, r.dragClass, !0), o ? ($e = !0, t._loopId = setInterval(t._emulateDragOver, 50)) : (w(document, "mouseup", t._onDrop), w(document, "touchend", t._onDrop), w(document, "touchcancel", t._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(t, i, d)), y(document, "drop", t), h(d, "transform", "translateZ(0)")), he = !0, t._dragStartId = ke(t._dragStarted.bind(t, o, e)), y(document, "selectstart", t), _e = !0, window.getSelection().removeAllRanges(), Ee && h(document.body, "user-select", "none");
796
796
  },
797
797
  // Returns true - if no further action is needed (either inserted or another condition)
798
798
  _onDragOver: function(e) {
799
- var o = this.el, t = e.target, r, i, a, l = this.options, s = l.group, u = m.active, f = Pe === s, c = l.sort, _ = P || u, D, b = this, v = !1;
800
- if (rt) return;
801
- function B(be, Gt) {
802
- L(be, b, V({
799
+ var o = this.el, t = e.target, i, r, a, l = this.options, s = l.group, u = p.active, f = xe === s, c = l.sort, v = N || u, D, b = this, E = !1;
800
+ if (it) return;
801
+ function M(be, Gt) {
802
+ H(be, b, K({
803
803
  evt: e,
804
804
  isOwner: f,
805
805
  axis: D ? "vertical" : "horizontal",
806
806
  revert: a,
807
- dragRect: r,
808
- targetRect: i,
807
+ dragRect: i,
808
+ targetRect: r,
809
809
  canSort: c,
810
- fromSortable: _,
810
+ fromSortable: v,
811
811
  target: t,
812
812
  completed: A,
813
- onMove: function(ft, Wt) {
814
- return Re(S, o, d, r, ft, O(ft), e, Wt);
813
+ onMove: function(ft, zt) {
814
+ return Le(S, o, d, i, ft, x(ft), e, zt);
815
815
  },
816
- changed: k
816
+ changed: X
817
817
  }, Gt));
818
818
  }
819
- function W() {
820
- B("dragOverAnimationCapture"), b.captureAnimationState(), b !== _ && _.captureAnimationState();
819
+ function z() {
820
+ M("dragOverAnimationCapture"), b.captureAnimationState(), b !== v && v.captureAnimationState();
821
821
  }
822
822
  function A(be) {
823
- return B("dragOverCompleted", {
823
+ return M("dragOverCompleted", {
824
824
  insertion: be
825
- }), be && (f ? u._hideClone() : u._showClone(b), b !== _ && (X(d, P ? P.options.ghostClass : u.options.ghostClass, !1), X(d, l.ghostClass, !0)), P !== b && b !== m.active ? P = b : b === m.active && P && (P = null), _ === b && (b._ignoreWhileAnimating = t), b.animateAll(function() {
826
- B("dragOverAnimationComplete"), b._ignoreWhileAnimating = null;
827
- }), b !== _ && (_.animateAll(), _._ignoreWhileAnimating = null)), (t === d && !d.animated || t === o && !t.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && t !== document && (d.parentNode[F]._isOutsideThisEl(e.target), !be && ue(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), v = !0;
825
+ }), be && (f ? u._hideClone() : u._showClone(b), b !== v && (Y(d, N ? N.options.ghostClass : u.options.ghostClass, !1), Y(d, l.ghostClass, !0)), N !== b && b !== p.active ? N = b : b === p.active && N && (N = null), v === b && (b._ignoreWhileAnimating = t), b.animateAll(function() {
826
+ M("dragOverAnimationComplete"), b._ignoreWhileAnimating = null;
827
+ }), b !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (t === d && !d.animated || t === o && !t.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && t !== document && (d.parentNode[k]._isOutsideThisEl(e.target), !be && ue(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), E = !0;
828
828
  }
829
- function k() {
830
- $ = G(d), ne = G(d, l.draggable), R({
829
+ function X() {
830
+ $ = G(d), ie = G(d, l.draggable), F({
831
831
  sortable: b,
832
832
  name: "change",
833
833
  toEl: o,
834
834
  newIndex: $,
835
- newDraggableIndex: ne,
835
+ newDraggableIndex: ie,
836
836
  originalEvent: e
837
837
  });
838
838
  }
839
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), t = j(t, l.draggable, o, !0), B("dragOver"), m.eventCanceled) return v;
839
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), t = j(t, l.draggable, o, !0), M("dragOver"), p.eventCanceled) return E;
840
840
  if (d.contains(e.target) || t.animated && t.animatingX && t.animatingY || b._ignoreWhileAnimating === t)
841
841
  return A(!1);
842
- if (Ue = !1, u && !l.disabled && (f ? c || (a = C !== S) : P === this || (this.lastPutMode = Pe.checkPull(this, u, d, e)) && s.checkPut(this, u, d, e))) {
843
- if (D = this._getDirection(e, t) === "vertical", r = O(d), B("dragOverValid"), m.eventCanceled) return v;
842
+ if ($e = !1, u && !l.disabled && (f ? c || (a = C !== S) : N === this || (this.lastPutMode = xe.checkPull(this, u, d, e)) && s.checkPut(this, u, d, e))) {
843
+ if (D = this._getDirection(e, t) === "vertical", i = x(d), M("dragOverValid"), p.eventCanceled) return E;
844
844
  if (a)
845
- return C = S, W(), this._hideClone(), B("revert"), m.eventCanceled || (de ? S.insertBefore(d, de) : S.appendChild(d)), A(!0);
846
- var x = ut(o, l.draggable);
847
- if (!x || bo(e, D, this) && !x.animated) {
848
- if (x === d)
845
+ return C = S, z(), this._hideClone(), M("revert"), p.eventCanceled || (de ? S.insertBefore(d, de) : S.appendChild(d)), A(!0);
846
+ var R = ut(o, l.draggable);
847
+ if (!R || bo(e, D, this) && !R.animated) {
848
+ if (R === d)
849
849
  return A(!1);
850
- if (x && o === e.target && (t = x), t && (i = O(t)), Re(S, o, d, r, t, i, e, !!t) !== !1)
851
- return W(), x && x.nextSibling ? o.insertBefore(d, x.nextSibling) : o.appendChild(d), C = o, k(), A(!0);
852
- } else if (x && vo(e, D, this)) {
853
- var K = ge(o, 0, l, !0);
854
- if (K === d)
850
+ if (R && o === e.target && (t = R), t && (r = x(t)), Le(S, o, d, i, t, r, e, !!t) !== !1)
851
+ return z(), R && R.nextSibling ? o.insertBefore(d, R.nextSibling) : o.appendChild(d), C = o, X(), A(!0);
852
+ } else if (R && vo(e, D, this)) {
853
+ var Z = ge(o, 0, l, !0);
854
+ if (Z === d)
855
855
  return A(!1);
856
- if (t = K, i = O(t), Re(S, o, d, r, t, i, e, !1) !== !1)
857
- return W(), o.insertBefore(d, K), C = o, k(), A(!0);
856
+ if (t = Z, r = x(t), Le(S, o, d, i, t, r, e, !1) !== !1)
857
+ return z(), o.insertBefore(d, Z), C = o, X(), A(!0);
858
858
  } else if (t.parentNode === o) {
859
- i = O(t);
860
- var U = 0, h, T = d.parentNode !== o, E = !fo(d.animated && d.toRect || r, t.animated && t.toRect || i, D), H = D ? "top" : "left", Y = vt(t, "top", "top") || vt(d, "top", "top"), Z = Y ? Y.scrollTop : void 0;
861
- fe !== t && (h = i[H], Ie = !1, Ne = !E && l.invertSwap || T), U = _o(e, t, i, D, E ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ne, fe === t);
862
- var J;
859
+ r = x(t);
860
+ var U = 0, J, m = d.parentNode !== o, _ = !fo(d.animated && d.toRect || i, t.animated && t.toRect || r, D), T = D ? "top" : "left", P = vt(t, "top", "top") || vt(d, "top", "top"), q = P ? P.scrollTop : void 0;
861
+ fe !== t && (J = r[T], Ie = !1, Ae = !_ && l.invertSwap || m), U = _o(e, t, r, D, _ ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ae, fe === t);
862
+ var B;
863
863
  if (U !== 0) {
864
- var le = G(d);
864
+ var Q = G(d);
865
865
  do
866
- le -= U, J = C.children[le];
867
- while (J && (p(J, "display") === "none" || J === g));
866
+ Q -= U, B = C.children[Q];
867
+ while (B && (h(B, "display") === "none" || B === g));
868
868
  }
869
- if (U === 0 || J === t)
869
+ if (U === 0 || B === t)
870
870
  return A(!1);
871
871
  fe = t, Se = U;
872
- var ve = t.nextElementSibling, oe = !1;
873
- oe = U === 1;
874
- var Oe = Re(S, o, d, r, t, i, e, oe);
875
- if (Oe !== !1)
876
- return (Oe === 1 || Oe === -1) && (oe = Oe === 1), rt = !0, setTimeout(go, 30), W(), oe && !ve ? o.appendChild(d) : t.parentNode.insertBefore(d, oe ? ve : t), Y && Lt(Y, 0, Z - Y.scrollTop), C = d.parentNode, h !== void 0 && !Ne && (ke = Math.abs(h - O(t)[H])), k(), A(!0);
872
+ var ve = t.nextElementSibling, ne = !1;
873
+ ne = U === 1;
874
+ var Pe = Le(S, o, d, i, t, r, e, ne);
875
+ if (Pe !== !1)
876
+ return (Pe === 1 || Pe === -1) && (ne = Pe === 1), it = !0, setTimeout(go, 30), z(), ne && !ve ? o.appendChild(d) : t.parentNode.insertBefore(d, ne ? ve : t), P && Rt(P, 0, q - P.scrollTop), C = d.parentNode, J !== void 0 && !Ae && (He = Math.abs(J - x(t)[T])), X(), A(!0);
877
877
  }
878
878
  if (o.contains(d))
879
879
  return A(!1);
@@ -890,52 +890,52 @@ m.prototype = /** @lends Sortable.prototype */
890
890
  },
891
891
  _onDrop: function(e) {
892
892
  var o = this.el, t = this.options;
893
- if ($ = G(d), ne = G(d, t.draggable), L("drop", this, {
893
+ if ($ = G(d), ie = G(d, t.draggable), H("drop", this, {
894
894
  evt: e
895
- }), C = d && d.parentNode, $ = G(d), ne = G(d, t.draggable), m.eventCanceled) {
895
+ }), C = d && d.parentNode, $ = G(d), ie = G(d, t.draggable), p.eventCanceled) {
896
896
  this._nulling();
897
897
  return;
898
898
  }
899
- he = !1, Ne = !1, Ie = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), it(this.cloneId), it(this._dragStartId), this.nativeDraggable && (w(document, "drop", this), w(o, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ee && p(document.body, "user-select", ""), p(d, "transform", ""), e && (_e && (e.cancelable && e.preventDefault(), !t.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (S === C || P && P.lastPutMode !== "clone") && I && I.parentNode && I.parentNode.removeChild(I), d && (this.nativeDraggable && w(d, "dragend", this), Qe(d), d.style["will-change"] = "", _e && !he && X(d, P ? P.options.ghostClass : this.options.ghostClass, !1), X(d, this.options.chosenClass, !1), R({
899
+ he = !1, Ae = !1, Ie = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), rt(this.cloneId), rt(this._dragStartId), this.nativeDraggable && (w(document, "drop", this), w(o, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ee && h(document.body, "user-select", ""), h(d, "transform", ""), e && (_e && (e.cancelable && e.preventDefault(), !t.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (S === C || N && N.lastPutMode !== "clone") && I && I.parentNode && I.parentNode.removeChild(I), d && (this.nativeDraggable && w(d, "dragend", this), Qe(d), d.style["will-change"] = "", _e && !he && Y(d, N ? N.options.ghostClass : this.options.ghostClass, !1), Y(d, this.options.chosenClass, !1), F({
900
900
  sortable: this,
901
901
  name: "unchoose",
902
902
  toEl: C,
903
903
  newIndex: null,
904
904
  newDraggableIndex: null,
905
905
  originalEvent: e
906
- }), S !== C ? ($ >= 0 && (R({
906
+ }), S !== C ? ($ >= 0 && (F({
907
907
  rootEl: C,
908
908
  name: "add",
909
909
  toEl: C,
910
910
  fromEl: S,
911
911
  originalEvent: e
912
- }), R({
912
+ }), F({
913
913
  sortable: this,
914
914
  name: "remove",
915
915
  toEl: C,
916
916
  originalEvent: e
917
- }), R({
917
+ }), F({
918
918
  rootEl: C,
919
919
  name: "sort",
920
920
  toEl: C,
921
921
  fromEl: S,
922
922
  originalEvent: e
923
- }), R({
923
+ }), F({
924
924
  sortable: this,
925
925
  name: "sort",
926
926
  toEl: C,
927
927
  originalEvent: e
928
- })), P && P.save()) : $ !== pe && $ >= 0 && (R({
928
+ })), N && N.save()) : $ !== pe && $ >= 0 && (F({
929
929
  sortable: this,
930
930
  name: "update",
931
931
  toEl: C,
932
932
  originalEvent: e
933
- }), R({
933
+ }), F({
934
934
  sortable: this,
935
935
  name: "sort",
936
936
  toEl: C,
937
937
  originalEvent: e
938
- })), m.active && (($ == null || $ === -1) && ($ = pe, ne = Te), R({
938
+ })), p.active && (($ == null || $ === -1) && ($ = pe, ie = Te), F({
939
939
  sortable: this,
940
940
  name: "end",
941
941
  toEl: C,
@@ -943,7 +943,7 @@ m.prototype = /** @lends Sortable.prototype */
943
943
  }), this.save()))), this._nulling();
944
944
  },
945
945
  _nulling: function() {
946
- L("nulling", this), S = d = C = g = de = I = Be = re = se = z = _e = $ = ne = pe = Te = fe = Se = P = Pe = m.dragged = m.ghost = m.clone = m.active = null, Ge.forEach(function(e) {
946
+ H("nulling", this), S = d = C = g = de = I = Be = re = se = W = _e = $ = ie = pe = Te = fe = Se = N = xe = p.dragged = p.ghost = p.clone = p.active = null, Ge.forEach(function(e) {
947
947
  e.checked = !0;
948
948
  }), Ge.length = Ke = Ze = 0;
949
949
  },
@@ -967,8 +967,8 @@ m.prototype = /** @lends Sortable.prototype */
967
967
  * @returns {String[]}
968
968
  */
969
969
  toArray: function() {
970
- for (var e = [], o, t = this.el.children, r = 0, i = t.length, a = this.options; r < i; r++)
971
- o = t[r], j(o, a.draggable, this.el, !1) && e.push(o.getAttribute(a.dataIdAttr) || yo(o));
970
+ for (var e = [], o, t = this.el.children, i = 0, r = t.length, a = this.options; i < r; i++)
971
+ o = t[i], j(o, a.draggable, this.el, !1) && e.push(o.getAttribute(a.dataIdAttr) || yo(o));
972
972
  return e;
973
973
  },
974
974
  /**
@@ -976,12 +976,12 @@ m.prototype = /** @lends Sortable.prototype */
976
976
  * @param {String[]} order order of the items
977
977
  */
978
978
  sort: function(e, o) {
979
- var t = {}, r = this.el;
980
- this.toArray().forEach(function(i, a) {
981
- var l = r.children[a];
982
- j(l, this.options.draggable, r, !1) && (t[i] = l);
983
- }, this), o && this.captureAnimationState(), e.forEach(function(i) {
984
- t[i] && (r.removeChild(t[i]), r.appendChild(t[i]));
979
+ var t = {}, i = this.el;
980
+ this.toArray().forEach(function(r, a) {
981
+ var l = i.children[a];
982
+ j(l, this.options.draggable, i, !1) && (t[r] = l);
983
+ }, this), o && this.captureAnimationState(), e.forEach(function(r) {
984
+ t[r] && (i.removeChild(t[r]), i.appendChild(t[r]));
985
985
  }), o && this.animateAll();
986
986
  },
987
987
  /**
@@ -1010,23 +1010,23 @@ m.prototype = /** @lends Sortable.prototype */
1010
1010
  var t = this.options;
1011
1011
  if (o === void 0)
1012
1012
  return t[e];
1013
- var r = Me.modifyOption(this, e, o);
1014
- typeof r < "u" ? t[e] = r : t[e] = o, e === "group" && Xt(t);
1013
+ var i = Me.modifyOption(this, e, o);
1014
+ typeof i < "u" ? t[e] = i : t[e] = o, e === "group" && Xt(t);
1015
1015
  },
1016
1016
  /**
1017
1017
  * Destroy
1018
1018
  */
1019
1019
  destroy: function() {
1020
- L("destroy", this);
1020
+ H("destroy", this);
1021
1021
  var e = this.el;
1022
- e[F] = null, w(e, "mousedown", this._onTapStart), w(e, "touchstart", this._onTapStart), w(e, "pointerdown", this._onTapStart), this.nativeDraggable && (w(e, "dragover", this), w(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(o) {
1022
+ e[k] = null, w(e, "mousedown", this._onTapStart), w(e, "touchstart", this._onTapStart), w(e, "pointerdown", this._onTapStart), this.nativeDraggable && (w(e, "dragover", this), w(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(o) {
1023
1023
  o.removeAttribute("draggable");
1024
- }), this._onDrop(), this._disableDelayedDragEvents(), He.splice(He.indexOf(this.el), 1), this.el = e = null;
1024
+ }), this._onDrop(), this._disableDelayedDragEvents(), Ue.splice(Ue.indexOf(this.el), 1), this.el = e = null;
1025
1025
  },
1026
1026
  _hideClone: function() {
1027
1027
  if (!re) {
1028
- if (L("hideClone", this), m.eventCanceled) return;
1029
- p(I, "display", "none"), this.options.removeCloneOnHide && I.parentNode && I.parentNode.removeChild(I), re = !0;
1028
+ if (H("hideClone", this), p.eventCanceled) return;
1029
+ h(I, "display", "none"), this.options.removeCloneOnHide && I.parentNode && I.parentNode.removeChild(I), re = !0;
1030
1030
  }
1031
1031
  },
1032
1032
  _showClone: function(e) {
@@ -1035,47 +1035,47 @@ m.prototype = /** @lends Sortable.prototype */
1035
1035
  return;
1036
1036
  }
1037
1037
  if (re) {
1038
- if (L("showClone", this), m.eventCanceled) return;
1039
- d.parentNode == S && !this.options.group.revertClone ? S.insertBefore(I, d) : de ? S.insertBefore(I, de) : S.appendChild(I), this.options.group.revertClone && this.animate(d, I), p(I, "display", ""), re = !1;
1038
+ if (H("showClone", this), p.eventCanceled) return;
1039
+ d.parentNode == S && !this.options.group.revertClone ? S.insertBefore(I, d) : de ? S.insertBefore(I, de) : S.appendChild(I), this.options.group.revertClone && this.animate(d, I), h(I, "display", ""), re = !1;
1040
1040
  }
1041
1041
  }
1042
1042
  };
1043
1043
  function mo(n) {
1044
1044
  n.dataTransfer && (n.dataTransfer.dropEffect = "move"), n.cancelable && n.preventDefault();
1045
1045
  }
1046
- function Re(n, e, o, t, r, i, a, l) {
1047
- var s, u = n[F], f = u.options.onMove, c;
1048
- return window.CustomEvent && !te && !Ce ? s = new CustomEvent("move", {
1046
+ function Le(n, e, o, t, i, r, a, l) {
1047
+ var s, u = n[k], f = u.options.onMove, c;
1048
+ return window.CustomEvent && !oe && !Ce ? s = new CustomEvent("move", {
1049
1049
  bubbles: !0,
1050
1050
  cancelable: !0
1051
- }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = n, s.dragged = o, s.draggedRect = t, s.related = r || e, s.relatedRect = i || O(e), s.willInsertAfter = l, s.originalEvent = a, n.dispatchEvent(s), f && (c = f.call(u, s, a)), c;
1051
+ }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = n, s.dragged = o, s.draggedRect = t, s.related = i || e, s.relatedRect = r || x(e), s.willInsertAfter = l, s.originalEvent = a, n.dispatchEvent(s), f && (c = f.call(u, s, a)), c;
1052
1052
  }
1053
1053
  function Qe(n) {
1054
1054
  n.draggable = !1;
1055
1055
  }
1056
1056
  function go() {
1057
- rt = !1;
1057
+ it = !1;
1058
1058
  }
1059
1059
  function vo(n, e, o) {
1060
- var t = O(ge(o.el, 0, o.options, !0)), r = Bt(o.el, o.options, g), i = 10;
1061
- return e ? n.clientX < r.left - i || n.clientY < t.top && n.clientX < t.right : n.clientY < r.top - i || n.clientY < t.bottom && n.clientX < t.left;
1060
+ var t = x(ge(o.el, 0, o.options, !0)), i = Bt(o.el, o.options, g), r = 10;
1061
+ return e ? n.clientX < i.left - r || n.clientY < t.top && n.clientX < t.right : n.clientY < i.top - r || n.clientY < t.bottom && n.clientX < t.left;
1062
1062
  }
1063
1063
  function bo(n, e, o) {
1064
- var t = O(ut(o.el, o.options.draggable)), r = Bt(o.el, o.options, g), i = 10;
1065
- return e ? n.clientX > r.right + i || n.clientY > t.bottom && n.clientX > t.left : n.clientY > r.bottom + i || n.clientX > t.right && n.clientY > t.top;
1064
+ var t = x(ut(o.el, o.options.draggable)), i = Bt(o.el, o.options, g), r = 10;
1065
+ return e ? n.clientX > i.right + r || n.clientY > t.bottom && n.clientX > t.left : n.clientY > i.bottom + r || n.clientX > t.right && n.clientY > t.top;
1066
1066
  }
1067
- function _o(n, e, o, t, r, i, a, l) {
1068
- var s = t ? n.clientY : n.clientX, u = t ? o.height : o.width, f = t ? o.top : o.left, c = t ? o.bottom : o.right, _ = !1;
1067
+ function _o(n, e, o, t, i, r, a, l) {
1068
+ var s = t ? n.clientY : n.clientX, u = t ? o.height : o.width, f = t ? o.top : o.left, c = t ? o.bottom : o.right, v = !1;
1069
1069
  if (!a) {
1070
- if (l && ke < u * r) {
1071
- if (!Ie && (Se === 1 ? s > f + u * i / 2 : s < c - u * i / 2) && (Ie = !0), Ie)
1072
- _ = !0;
1073
- else if (Se === 1 ? s < f + ke : s > c - ke)
1070
+ if (l && He < u * i) {
1071
+ if (!Ie && (Se === 1 ? s > f + u * r / 2 : s < c - u * r / 2) && (Ie = !0), Ie)
1072
+ v = !0;
1073
+ else if (Se === 1 ? s < f + He : s > c - He)
1074
1074
  return -Se;
1075
- } else if (s > f + u * (1 - r) / 2 && s < c - u * (1 - r) / 2)
1075
+ } else if (s > f + u * (1 - i) / 2 && s < c - u * (1 - i) / 2)
1076
1076
  return wo(e);
1077
1077
  }
1078
- return _ = _ || a, _ && (s < f + u * i / 2 || s > c - u * i / 2) ? s > f + u / 2 ? 1 : -1 : 0;
1078
+ return v = v || a, v && (s < f + u * r / 2 || s > c - u * r / 2) ? s > f + u / 2 ? 1 : -1 : 0;
1079
1079
  }
1080
1080
  function wo(n) {
1081
1081
  return G(d) < G(n) ? 1 : -1;
@@ -1092,52 +1092,52 @@ function Eo(n) {
1092
1092
  t.checked && Ge.push(t);
1093
1093
  }
1094
1094
  }
1095
- function Ye(n) {
1095
+ function ke(n) {
1096
1096
  return setTimeout(n, 0);
1097
1097
  }
1098
- function it(n) {
1098
+ function rt(n) {
1099
1099
  return clearTimeout(n);
1100
1100
  }
1101
1101
  je && y(document, "touchmove", function(n) {
1102
- (m.active || he) && n.cancelable && n.preventDefault();
1102
+ (p.active || he) && n.cancelable && n.preventDefault();
1103
1103
  });
1104
- m.utils = {
1104
+ p.utils = {
1105
1105
  on: y,
1106
1106
  off: w,
1107
- css: p,
1108
- find: xt,
1107
+ css: h,
1108
+ find: Nt,
1109
1109
  is: function(e, o) {
1110
1110
  return !!j(e, o, e, !1);
1111
1111
  },
1112
1112
  extend: no,
1113
- throttle: Rt,
1113
+ throttle: Lt,
1114
1114
  closest: j,
1115
- toggleClass: X,
1115
+ toggleClass: Y,
1116
1116
  clone: Ft,
1117
1117
  index: G,
1118
- nextTick: Ye,
1119
- cancelNextTick: it,
1120
- detectDirection: Yt,
1118
+ nextTick: ke,
1119
+ cancelNextTick: rt,
1120
+ detectDirection: kt,
1121
1121
  getChild: ge,
1122
- expando: F
1122
+ expando: k
1123
1123
  };
1124
- m.get = function(n) {
1125
- return n[F];
1124
+ p.get = function(n) {
1125
+ return n[k];
1126
1126
  };
1127
- m.mount = function() {
1127
+ p.mount = function() {
1128
1128
  for (var n = arguments.length, e = new Array(n), o = 0; o < n; o++)
1129
1129
  e[o] = arguments[o];
1130
1130
  e[0].constructor === Array && (e = e[0]), e.forEach(function(t) {
1131
1131
  if (!t.prototype || !t.prototype.constructor)
1132
1132
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));
1133
- t.utils && (m.utils = V(V({}, m.utils), t.utils)), Me.mount(t);
1133
+ t.utils && (p.utils = K(K({}, p.utils), t.utils)), Me.mount(t);
1134
1134
  });
1135
1135
  };
1136
- m.create = function(n, e) {
1137
- return new m(n, e);
1136
+ p.create = function(n, e) {
1137
+ return new p(n, e);
1138
1138
  };
1139
- m.version = to;
1140
- var M = [], we, at, lt = !1, et, tt, We, ye;
1139
+ p.version = to;
1140
+ var O = [], we, at, lt = !1, et, tt, ze, ye;
1141
1141
  function Do() {
1142
1142
  function n() {
1143
1143
  this.defaults = {
@@ -1160,74 +1160,74 @@ function Do() {
1160
1160
  !this.options.dragOverBubble && !t.rootEl && this._handleAutoScroll(t);
1161
1161
  },
1162
1162
  drop: function() {
1163
- this.sortable.nativeDraggable ? w(document, "dragover", this._handleAutoScroll) : (w(document, "pointermove", this._handleFallbackAutoScroll), w(document, "touchmove", this._handleFallbackAutoScroll), w(document, "mousemove", this._handleFallbackAutoScroll)), Et(), Xe(), ro();
1163
+ this.sortable.nativeDraggable ? w(document, "dragover", this._handleAutoScroll) : (w(document, "pointermove", this._handleFallbackAutoScroll), w(document, "touchmove", this._handleFallbackAutoScroll), w(document, "mousemove", this._handleFallbackAutoScroll)), Et(), Xe(), io();
1164
1164
  },
1165
1165
  nulling: function() {
1166
- We = at = we = lt = ye = et = tt = null, M.length = 0;
1166
+ ze = at = we = lt = ye = et = tt = null, O.length = 0;
1167
1167
  },
1168
1168
  _handleFallbackAutoScroll: function(o) {
1169
1169
  this._handleAutoScroll(o, !0);
1170
1170
  },
1171
1171
  _handleAutoScroll: function(o, t) {
1172
- var r = this, i = (o.touches ? o.touches[0] : o).clientX, a = (o.touches ? o.touches[0] : o).clientY, l = document.elementFromPoint(i, a);
1173
- if (We = o, t || this.options.forceAutoScrollFallback || Ce || te || Ee) {
1172
+ var i = this, r = (o.touches ? o.touches[0] : o).clientX, a = (o.touches ? o.touches[0] : o).clientY, l = document.elementFromPoint(r, a);
1173
+ if (ze = o, t || this.options.forceAutoScrollFallback || Ce || oe || Ee) {
1174
1174
  ot(o, this.options, l, t);
1175
- var s = ae(l, !0);
1176
- lt && (!ye || i !== et || a !== tt) && (ye && Et(), ye = setInterval(function() {
1177
- var u = ae(document.elementFromPoint(i, a), !0);
1178
- u !== s && (s = u, Xe()), ot(o, r.options, u, t);
1179
- }, 10), et = i, tt = a);
1175
+ var s = le(l, !0);
1176
+ lt && (!ye || r !== et || a !== tt) && (ye && Et(), ye = setInterval(function() {
1177
+ var u = le(document.elementFromPoint(r, a), !0);
1178
+ u !== s && (s = u, Xe()), ot(o, i.options, u, t);
1179
+ }, 10), et = r, tt = a);
1180
1180
  } else {
1181
- if (!this.options.bubbleScroll || ae(l, !0) === q()) {
1181
+ if (!this.options.bubbleScroll || le(l, !0) === V()) {
1182
1182
  Xe();
1183
1183
  return;
1184
1184
  }
1185
- ot(o, this.options, ae(l, !1), !1);
1185
+ ot(o, this.options, le(l, !1), !1);
1186
1186
  }
1187
1187
  }
1188
- }, ee(n, {
1188
+ }, te(n, {
1189
1189
  pluginName: "scroll",
1190
1190
  initializeByDefault: !0
1191
1191
  });
1192
1192
  }
1193
1193
  function Xe() {
1194
- M.forEach(function(n) {
1194
+ O.forEach(function(n) {
1195
1195
  clearInterval(n.pid);
1196
- }), M = [];
1196
+ }), O = [];
1197
1197
  }
1198
1198
  function Et() {
1199
1199
  clearInterval(ye);
1200
1200
  }
1201
- var ot = Rt(function(n, e, o, t) {
1201
+ var ot = Lt(function(n, e, o, t) {
1202
1202
  if (e.scroll) {
1203
- var r = (n.touches ? n.touches[0] : n).clientX, i = (n.touches ? n.touches[0] : n).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = q(), u = !1, f;
1204
- at !== o && (at = o, Xe(), we = e.scroll, f = e.scrollFn, we === !0 && (we = ae(o, !0)));
1205
- var c = 0, _ = we;
1203
+ var i = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = V(), u = !1, f;
1204
+ at !== o && (at = o, Xe(), we = e.scroll, f = e.scrollFn, we === !0 && (we = le(o, !0)));
1205
+ var c = 0, v = we;
1206
1206
  do {
1207
- var D = _, b = O(D), v = b.top, B = b.bottom, W = b.left, A = b.right, k = b.width, x = b.height, K = void 0, U = void 0, h = D.scrollWidth, T = D.scrollHeight, E = p(D), H = D.scrollLeft, Y = D.scrollTop;
1208
- D === s ? (K = k < h && (E.overflowX === "auto" || E.overflowX === "scroll" || E.overflowX === "visible"), U = x < T && (E.overflowY === "auto" || E.overflowY === "scroll" || E.overflowY === "visible")) : (K = k < h && (E.overflowX === "auto" || E.overflowX === "scroll"), U = x < T && (E.overflowY === "auto" || E.overflowY === "scroll"));
1209
- var Z = K && (Math.abs(A - r) <= a && H + k < h) - (Math.abs(W - r) <= a && !!H), J = U && (Math.abs(B - i) <= a && Y + x < T) - (Math.abs(v - i) <= a && !!Y);
1210
- if (!M[c])
1211
- for (var le = 0; le <= c; le++)
1212
- M[le] || (M[le] = {});
1213
- (M[c].vx != Z || M[c].vy != J || M[c].el !== D) && (M[c].el = D, M[c].vx = Z, M[c].vy = J, clearInterval(M[c].pid), (Z != 0 || J != 0) && (u = !0, M[c].pid = setInterval((function() {
1214
- t && this.layer === 0 && m.active._onTouchMove(We);
1215
- var ve = M[this.layer].vy ? M[this.layer].vy * l : 0, oe = M[this.layer].vx ? M[this.layer].vx * l : 0;
1216
- typeof f == "function" && f.call(m.dragged.parentNode[F], oe, ve, n, We, M[this.layer].el) !== "continue" || Lt(M[this.layer].el, oe, ve);
1207
+ var D = v, b = x(D), E = b.top, M = b.bottom, z = b.left, A = b.right, X = b.width, R = b.height, Z = void 0, U = void 0, J = D.scrollWidth, m = D.scrollHeight, _ = h(D), T = D.scrollLeft, P = D.scrollTop;
1208
+ D === s ? (Z = X < J && (_.overflowX === "auto" || _.overflowX === "scroll" || _.overflowX === "visible"), U = R < m && (_.overflowY === "auto" || _.overflowY === "scroll" || _.overflowY === "visible")) : (Z = X < J && (_.overflowX === "auto" || _.overflowX === "scroll"), U = R < m && (_.overflowY === "auto" || _.overflowY === "scroll"));
1209
+ var q = Z && (Math.abs(A - i) <= a && T + X < J) - (Math.abs(z - i) <= a && !!T), B = U && (Math.abs(M - r) <= a && P + R < m) - (Math.abs(E - r) <= a && !!P);
1210
+ if (!O[c])
1211
+ for (var Q = 0; Q <= c; Q++)
1212
+ O[Q] || (O[Q] = {});
1213
+ (O[c].vx != q || O[c].vy != B || O[c].el !== D) && (O[c].el = D, O[c].vx = q, O[c].vy = B, clearInterval(O[c].pid), (q != 0 || B != 0) && (u = !0, O[c].pid = setInterval((function() {
1214
+ t && this.layer === 0 && p.active._onTouchMove(ze);
1215
+ var ve = O[this.layer].vy ? O[this.layer].vy * l : 0, ne = O[this.layer].vx ? O[this.layer].vx * l : 0;
1216
+ typeof f == "function" && f.call(p.dragged.parentNode[k], ne, ve, n, ze, O[this.layer].el) !== "continue" || Rt(O[this.layer].el, ne, ve);
1217
1217
  }).bind({
1218
1218
  layer: c
1219
1219
  }), 24))), c++;
1220
- } while (e.bubbleScroll && _ !== s && (_ = ae(_, !1)));
1220
+ } while (e.bubbleScroll && v !== s && (v = le(v, !1)));
1221
1221
  lt = u;
1222
1222
  }
1223
- }, 30), Ht = function(e) {
1224
- var o = e.originalEvent, t = e.putSortable, r = e.dragEl, i = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1223
+ }, 30), Ut = function(e) {
1224
+ var o = e.originalEvent, t = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1225
1225
  if (o) {
1226
- var u = t || i;
1226
+ var u = t || r;
1227
1227
  l();
1228
1228
  var f = o.changedTouches && o.changedTouches.length ? o.changedTouches[0] : o, c = document.elementFromPoint(f.clientX, f.clientY);
1229
1229
  s(), u && !u.el.contains(c) && (a("spill"), this.onSpill({
1230
- dragEl: r,
1230
+ dragEl: i,
1231
1231
  putSortable: t
1232
1232
  }));
1233
1233
  }
@@ -1243,38 +1243,38 @@ dt.prototype = {
1243
1243
  onSpill: function(e) {
1244
1244
  var o = e.dragEl, t = e.putSortable;
1245
1245
  this.sortable.captureAnimationState(), t && t.captureAnimationState();
1246
- var r = ge(this.sortable.el, this.startIndex, this.options);
1247
- r ? this.sortable.el.insertBefore(o, r) : this.sortable.el.appendChild(o), this.sortable.animateAll(), t && t.animateAll();
1246
+ var i = ge(this.sortable.el, this.startIndex, this.options);
1247
+ i ? this.sortable.el.insertBefore(o, i) : this.sortable.el.appendChild(o), this.sortable.animateAll(), t && t.animateAll();
1248
1248
  },
1249
- drop: Ht
1249
+ drop: Ut
1250
1250
  };
1251
- ee(dt, {
1251
+ te(dt, {
1252
1252
  pluginName: "revertOnSpill"
1253
1253
  });
1254
1254
  function ct() {
1255
1255
  }
1256
1256
  ct.prototype = {
1257
1257
  onSpill: function(e) {
1258
- var o = e.dragEl, t = e.putSortable, r = t || this.sortable;
1259
- r.captureAnimationState(), o.parentNode && o.parentNode.removeChild(o), r.animateAll();
1258
+ var o = e.dragEl, t = e.putSortable, i = t || this.sortable;
1259
+ i.captureAnimationState(), o.parentNode && o.parentNode.removeChild(o), i.animateAll();
1260
1260
  },
1261
- drop: Ht
1261
+ drop: Ut
1262
1262
  };
1263
- ee(ct, {
1263
+ te(ct, {
1264
1264
  pluginName: "removeOnSpill"
1265
1265
  });
1266
- m.mount(new Do());
1267
- m.mount(ct, dt);
1268
- function To(n, e = ie({})) {
1269
- const o = ie(null), t = () => {
1270
- var r;
1271
- (r = o.value) != null && r.destroy && (o.value.destroy(), o.value = null);
1266
+ p.mount(new Do());
1267
+ p.mount(ct, dt);
1268
+ function To(n, e = ae({})) {
1269
+ const o = ae(null), t = () => {
1270
+ var i;
1271
+ (i = o.value) != null && i.destroy && (o.value.destroy(), o.value = null);
1272
1272
  };
1273
1273
  return nt(
1274
1274
  n,
1275
- (r) => {
1276
- if (r != null) {
1277
- const i = new m(r, {
1275
+ (i) => {
1276
+ if (i != null) {
1277
+ const r = new p(i, {
1278
1278
  ...e.value,
1279
1279
  /**
1280
1280
  * Allows the component to be dragged only
@@ -1286,15 +1286,15 @@ function To(n, e = ie({})) {
1286
1286
  */
1287
1287
  filter: ".b-draggable-handle--disabled"
1288
1288
  });
1289
- o.value = zt(i);
1289
+ o.value = Wt(r);
1290
1290
  } else
1291
1291
  t();
1292
1292
  },
1293
1293
  { immediate: !0 }
1294
- ), nt(e, (r) => {
1295
- if (r && o.value)
1296
- for (const i in r)
1297
- o.value.option(i, r[i]);
1294
+ ), nt(e, (i) => {
1295
+ if (i && o.value)
1296
+ for (const r in i)
1297
+ o.value.option(r, i[r]);
1298
1298
  }), Ct(() => {
1299
1299
  o.value && t();
1300
1300
  }), {
@@ -1303,13 +1303,13 @@ function To(n, e = ie({})) {
1303
1303
  }
1304
1304
  const So = 1e3;
1305
1305
  function Io() {
1306
- const n = ie("");
1306
+ const n = ae("");
1307
1307
  let e = null;
1308
1308
  const o = () => {
1309
1309
  e && (clearTimeout(e), e = null);
1310
- }, t = (r) => {
1310
+ }, t = (i) => {
1311
1311
  o(), n.value = "", e = setTimeout(() => {
1312
- n.value = r, e = null;
1312
+ n.value = i, e = null;
1313
1313
  }, So);
1314
1314
  };
1315
1315
  return Ct(() => {
@@ -1326,41 +1326,68 @@ function Io() {
1326
1326
  };
1327
1327
  }
1328
1328
  const Co = jt(() => {
1329
- const n = ie(!1);
1330
- return typeof window < "u" && (Ae(
1329
+ const n = ae(!1);
1330
+ return typeof window < "u" && (Oe(
1331
1331
  window,
1332
1332
  "keydown",
1333
1333
  (e) => {
1334
1334
  e.key === "Tab" && (n.value = !0);
1335
1335
  },
1336
1336
  { capture: !0 }
1337
- ), Ae(
1337
+ ), Oe(
1338
1338
  window,
1339
1339
  "mousedown",
1340
1340
  () => {
1341
1341
  n.value = !1;
1342
1342
  },
1343
1343
  { capture: !0 }
1344
- ), Ae(
1344
+ ), Oe(
1345
1345
  window,
1346
1346
  "touchstart",
1347
1347
  () => {
1348
1348
  n.value = !1;
1349
1349
  },
1350
1350
  { capture: !0, passive: !0 }
1351
- ), Ae(window, "blur", () => {
1351
+ ), Oe(window, "blur", () => {
1352
1352
  n.value = !1;
1353
1353
  })), { isKeyboardUser: n };
1354
1354
  }), Mo = {
1355
+ "de-DE": {
1356
+ youHaveMovedFromPositionToPosition: "Sie haben {itemLabel} von Position {indexOrigin} an Position {indexTarget} von {total} verschoben."
1357
+ },
1358
+ "en-GB": {
1359
+ youHaveMovedFromPositionToPosition: "You have moved {itemLabel} from position {indexOrigin} to position {indexTarget} of {total}."
1360
+ },
1355
1361
  "en-US": {
1356
1362
  youHaveMovedFromPositionToPosition: "You have moved {itemLabel} from position {indexOrigin} to position {indexTarget} of {total}."
1363
+ },
1364
+ "es-ES": {
1365
+ youHaveMovedFromPositionToPosition: "Has movido {itemLabel} de la posición {indexOrigin} a la posición {indexTarget} de {total}."
1366
+ },
1367
+ "es-MX": {
1368
+ youHaveMovedFromPositionToPosition: "Has movido {itemLabel} de la posición {indexOrigin} a la posición {indexTarget} de {total}."
1369
+ },
1370
+ "fr-FR": {
1371
+ youHaveMovedFromPositionToPosition: "Vous avez déplacé {itemLabel} de la position {indexOrigin} à la position {indexTarget} sur {total}."
1372
+ },
1373
+ "it-IT": {
1374
+ youHaveMovedFromPositionToPosition: "Hai spostato {itemLabel} dalla posizione {indexOrigin} alla posizione {indexTarget} di {total}."
1375
+ },
1376
+ "ja-JP": {
1377
+ youHaveMovedFromPositionToPosition: "{itemLabel} を {indexOrigin} の位置から {total} の {indexTarget} の位置に移動しました。"
1378
+ },
1379
+ "pt-BR": {
1380
+ youHaveMovedFromPositionToPosition: "Você moveu {itemLabel} da posição {indexOrigin} para a posição {indexTarget} de {total}."
1381
+ },
1382
+ "zh-CN": {
1383
+ youHaveMovedFromPositionToPosition: "您已将 {itemLabel} 从 {indexOrigin} 位置移动到 {indexTarget} 位置(共 {total} 个位置)。"
1357
1384
  }
1358
- }, Oo = {
1385
+ }, Po = {
1359
1386
  name: "bento-draggable",
1360
1387
  model: { prop: "items", event: "update:items" },
1361
1388
  i18n: { messages: Mo }
1362
- }, Ao = /* @__PURE__ */ Mt({
1363
- ...Oo,
1389
+ }, Oo = /* @__PURE__ */ Mt({
1390
+ ...Po,
1364
1391
  props: {
1365
1392
  announcement: { default: "" },
1366
1393
  disableAutoSort: { type: Boolean, default: !1 },
@@ -1370,68 +1397,72 @@ const Co = jt(() => {
1370
1397
  },
1371
1398
  emits: ["update:items"],
1372
1399
  setup(n, { expose: e, emit: o }) {
1373
- const t = n, r = ie(null), i = ie(!1), a = ie([]), l = ie(null), s = Le(() => r.value ? {
1374
- ...t.options,
1375
- onStart: (h) => {
1376
- var T, E;
1377
- i.value = !0, (T = t.options) != null && T.onStart && ((E = t.options) == null || E.onStart(h));
1378
- },
1379
- onEnd: (h) => {
1380
- setTimeout(() => {
1381
- var T, E;
1382
- i.value = !1, (T = t.options) != null && T.onEnd && ((E = t.options) == null || E.onEnd(h));
1383
- });
1384
- },
1385
- onSort: (h) => {
1386
- var T;
1387
- if ((T = t.options) != null && T.onSort) {
1388
- t.options.onSort(h);
1389
- return;
1390
- }
1391
- if (!t.disableAutoSort) {
1392
- const { oldIndex: E, newIndex: H, from: Y, to: Z } = h;
1393
- Y === Z && Y === r.value && E !== void 0 && H !== void 0 && v(E, H);
1400
+ const t = n, i = ">:not(.b-draggable__announcement)", r = ae(null), a = ae(!1), l = ae([]), s = ae(null), u = Re(() => {
1401
+ var m;
1402
+ return r.value ? {
1403
+ ...t.options,
1404
+ draggable: ((m = t.options) == null ? void 0 : m.draggable) ?? i,
1405
+ onStart: (_) => {
1406
+ var T, P;
1407
+ a.value = !0, (T = t.options) != null && T.onStart && ((P = t.options) == null || P.onStart(_));
1408
+ },
1409
+ onEnd: (_) => {
1410
+ setTimeout(() => {
1411
+ var T, P;
1412
+ a.value = !1, (T = t.options) != null && T.onEnd && ((P = t.options) == null || P.onEnd(_));
1413
+ });
1414
+ },
1415
+ onSort: (_) => {
1416
+ var T;
1417
+ if ((T = t.options) != null && T.onSort) {
1418
+ t.options.onSort(_);
1419
+ return;
1420
+ }
1421
+ if (!t.disableAutoSort) {
1422
+ const { oldIndex: P, newIndex: q, from: B, to: Q } = _;
1423
+ B === Q && B === r.value && P !== void 0 && q !== void 0 && M(P, q);
1424
+ }
1394
1425
  }
1426
+ } : {};
1427
+ }), { announcementMessage: f, announce: c } = Io(), { t: v } = Pt(), { draggableElement: D } = To(r, u), { isKeyboardUser: b } = Co(), E = async (m) => {
1428
+ if (await ht(), m !== -1 && r.value) {
1429
+ const _ = r.value.children[m], T = _ == null ? void 0 : _.querySelector(".b-draggable-handle button");
1430
+ await ht(), T == null || T.focus();
1395
1431
  }
1396
- } : {}), { announcementMessage: u, announce: f } = Io(), { t: c } = Ot(), { draggableElement: _ } = To(r, s), { isKeyboardUser: D } = Co(), b = async (h) => {
1397
- if (await ht(), h !== -1 && r.value) {
1398
- const T = r.value.children[h], E = T == null ? void 0 : T.querySelector(".b-draggable-handle button");
1399
- await ht(), E == null || E.focus();
1400
- }
1401
- }, v = async (h, T) => {
1402
- if (h < 0 || T < 0 || h >= t.items.length || T >= t.items.length || h === T)
1432
+ }, M = async (m, _) => {
1433
+ if (m < 0 || _ < 0 || m >= t.items.length || _ >= t.items.length || m === _)
1403
1434
  return;
1404
- const E = Array.from(t.items), [H] = E.splice(h, 1);
1405
- E.splice(T, 0, H), l.value = H, o("update:items", E.filter(Boolean));
1406
- const Y = H.label, Z = (t == null ? void 0 : t.announcement) || c("youHaveMovedFromPositionToPosition", {
1407
- itemLabel: Y,
1408
- indexOrigin: h + 1,
1409
- indexTarget: T + 1,
1435
+ const T = Array.from(t.items), [P] = T.splice(m, 1);
1436
+ T.splice(_, 0, P), s.value = P, o("update:items", T.filter(Boolean));
1437
+ const q = P.label, B = (t == null ? void 0 : t.announcement) || v("youHaveMovedFromPositionToPosition", {
1438
+ itemLabel: q,
1439
+ indexOrigin: m + 1,
1440
+ indexTarget: _ + 1,
1410
1441
  total: t.items.length
1411
1442
  });
1412
- t.announcement !== "disabled" && f(Z);
1413
- }, B = (h) => v(h, h - 1), W = (h) => v(h, h + 1), A = (h) => v(h, h - 1), k = (h) => v(h, h + 1), x = (h) => v(h, 0), K = (h) => v(h, t.items.length - 1), U = (h) => ({
1414
- up: h === 0,
1415
- top: h === 0,
1416
- down: h === t.items.length - 1,
1417
- bottom: h === t.items.length - 1,
1443
+ t.announcement !== "disabled" && c(B);
1444
+ }, z = (m) => M(m, m - 1), A = (m) => M(m, m + 1), X = (m) => M(m, m - 1), R = (m) => M(m, m + 1), Z = (m) => M(m, 0), U = (m) => M(m, t.items.length - 1), J = (m) => ({
1445
+ up: m === 0,
1446
+ top: m === 0,
1447
+ down: m === t.items.length - 1,
1448
+ bottom: m === t.items.length - 1,
1418
1449
  left: !0,
1419
1450
  right: !0
1420
1451
  });
1421
1452
  return nt(
1422
1453
  () => t.items,
1423
- async (h) => {
1424
- if (h) {
1425
- if (D.value && h.length > 0 && a.value.length > 0) {
1426
- if (l.value) {
1427
- const T = h.indexOf(l.value);
1428
- T !== -1 && await b(T), l.value = null;
1429
- } else if (h.length > a.value.length) {
1430
- const T = h.findIndex((E) => !a.value.includes(E));
1431
- T !== -1 && await b(T);
1454
+ async (m) => {
1455
+ if (m) {
1456
+ if (b.value && m.length > 0 && l.value.length > 0) {
1457
+ if (s.value) {
1458
+ const _ = m.indexOf(s.value);
1459
+ _ !== -1 && await E(_), s.value = null;
1460
+ } else if (m.length > l.value.length) {
1461
+ const _ = m.findIndex((T) => !l.value.includes(T));
1462
+ _ !== -1 && await E(_);
1432
1463
  }
1433
1464
  }
1434
- a.value = [...h];
1465
+ l.value = [...m];
1435
1466
  }
1436
1467
  },
1437
1468
  { deep: !0, immediate: !0 }
@@ -1443,52 +1474,52 @@ const Co = jt(() => {
1443
1474
  /**
1444
1475
  * The underlying SortableJS instance, which provides methods like `toArray()`, `sort()`, and `destroy()`.
1445
1476
  */
1446
- draggableElement: _,
1477
+ draggableElement: D,
1447
1478
  /**
1448
1479
  * A boolean ref that is `true` when an item is being dragged.
1449
1480
  */
1450
- isDragging: i,
1481
+ isDragging: a,
1451
1482
  /**
1452
1483
  * Announces a message to screen reader users via the live region.
1453
1484
  */
1454
- announce: f,
1485
+ announce: c,
1455
1486
  /**
1456
1487
  * Moves an item from one index to another and emits the updated list.
1457
1488
  */
1458
- moveItem: v,
1489
+ moveItem: M,
1459
1490
  /**
1460
1491
  * Programmatically focuses the draggable handle button at the given index.
1461
1492
  */
1462
- focus: b
1463
- }), { __sfc: !0, props: t, emit: o, containerRef: r, isDragging: i, internalItems: a, lastMovedItem: l, computedOptions: s, announcementMessage: u, announce: f, t: c, draggableElement: _, isKeyboardUser: D, focus: b, moveItem: v, moveItemUp: B, moveItemDown: W, moveItemLeft: A, moveItemRight: k, moveItemTop: x, moveItemBottom: K, disabledMenuItems: U };
1493
+ focus: E
1494
+ }), { __sfc: !0, ALL_CHILDREN_EXCEPT_SCREEN_READER_ELEMENTS: i, props: t, emit: o, containerRef: r, isDragging: a, internalItems: l, lastMovedItem: s, computedOptions: u, announcementMessage: f, announce: c, t: v, draggableElement: D, isKeyboardUser: b, focus: E, moveItem: M, moveItemUp: z, moveItemDown: A, moveItemLeft: X, moveItemRight: R, moveItemTop: Z, moveItemBottom: U, disabledMenuItems: J };
1464
1495
  }
1465
1496
  });
1466
- var Po = function() {
1497
+ var xo = function() {
1467
1498
  var e = this, o = e._self._c, t = e._self._setupProxy;
1468
- return o(e.el, { ref: "containerRef", tag: "component" }, [e._l(e.items, function(r, i) {
1469
- return e._t("default", null, { item: r, index: i, moveUp: () => t.moveItemUp(i), moveRight: () => t.moveItemRight(i), moveDown: () => t.moveItemDown(i), moveLeft: () => t.moveItemLeft(i), moveTop: () => t.moveItemTop(i), moveBottom: () => t.moveItemBottom(i), disabledMenus: t.disabledMenuItems(i) });
1499
+ return o(e.el, { ref: "containerRef", tag: "component" }, [e._l(e.items, function(i, r) {
1500
+ return e._t("default", null, { item: i, index: r, moveUp: () => t.moveItemUp(r), moveRight: () => t.moveItemRight(r), moveDown: () => t.moveItemDown(r), moveLeft: () => t.moveItemLeft(r), moveTop: () => t.moveItemTop(r), moveBottom: () => t.moveItemBottom(r), disabledMenus: t.disabledMenuItems(r) });
1470
1501
  }), o("div", { staticClass: "b-draggable__announcement", attrs: { role: "status", "aria-live": "polite" } }, [e._v(" " + e._s(t.announcementMessage) + " ")])], 2);
1471
- }, No = [], xo = /* @__PURE__ */ ze(
1502
+ }, Ao = [], No = /* @__PURE__ */ We(
1503
+ Oo,
1504
+ xo,
1472
1505
  Ao,
1473
- Po,
1474
- No,
1475
1506
  !1,
1476
1507
  null,
1477
- "1cd1c93a"
1508
+ "72c4db16"
1478
1509
  );
1479
- const rn = xo.exports;
1510
+ const rn = No.exports;
1480
1511
  let Dt = 0;
1481
- const Ro = {
1512
+ const Lo = {
1482
1513
  beforeCreate() {
1483
1514
  this.uuid = Dt.toString(), Dt += 1;
1484
1515
  }
1485
1516
  };
1486
- var Lo = function() {
1517
+ var Ro = function() {
1487
1518
  var e = this, o = e._self._c;
1488
1519
  return o("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? o("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), o("path", { attrs: { fill: "#001222", d: "M8.75023 3.81089L13.0001 8.06077L14.0608 7.00011L8.00011 0.939453L1.93945 7.00011L3.00011 8.06077L7.25023 3.81066V14.7502H8.75023V3.81089Z" } })]);
1489
- }, Fo = [], Bo = /* @__PURE__ */ ze(
1490
- Ro,
1520
+ }, Fo = [], Bo = /* @__PURE__ */ We(
1491
1521
  Lo,
1522
+ Ro,
1492
1523
  Fo,
1493
1524
  !1,
1494
1525
  null,
@@ -1496,23 +1527,23 @@ var Lo = function() {
1496
1527
  );
1497
1528
  const Tt = Bo.exports;
1498
1529
  let St = 0;
1499
- const ko = {
1530
+ const Ho = {
1500
1531
  beforeCreate() {
1501
1532
  this.uuid = St.toString(), St += 1;
1502
1533
  }
1503
1534
  };
1504
- var Yo = function() {
1535
+ var ko = function() {
1505
1536
  var e = this, o = e._self._c;
1506
1537
  return o("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? o("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), o("path", { attrs: { fill: "#001222", d: "M7.25434 12.1937L3.00011 7.93952L1.93945 9.00018L8.00011 15.0608L14.0608 9.00018L13.0001 7.93952L8.75433 12.1853L8.74316 1.24951L7.24316 1.25104L7.25434 12.1937Z" } })]);
1507
- }, Xo = [], $o = /* @__PURE__ */ ze(
1538
+ }, Xo = [], Yo = /* @__PURE__ */ We(
1539
+ Ho,
1508
1540
  ko,
1509
- Yo,
1510
1541
  Xo,
1511
1542
  !1,
1512
1543
  null,
1513
1544
  null
1514
1545
  );
1515
- const It = $o.exports, Uo = {
1546
+ const It = Yo.exports, $o = {
1516
1547
  "de-DE": {
1517
1548
  moveDown: "Nach unten",
1518
1549
  moveLeft: "Nach links",
@@ -1603,11 +1634,11 @@ const It = $o.exports, Uo = {
1603
1634
  moveUp: "上移",
1604
1635
  reorderLabel: "重新排序 {label}"
1605
1636
  }
1606
- }, Ho = {
1607
- i18n: { messages: Uo },
1637
+ }, Uo = {
1638
+ i18n: { messages: $o },
1608
1639
  name: "bento-draggable-handle"
1609
1640
  }, Go = /* @__PURE__ */ Mt({
1610
- ...Ho,
1641
+ ...Uo,
1611
1642
  props: {
1612
1643
  condensed: { default: !1 },
1613
1644
  disabled: { type: Boolean, default: !1 },
@@ -1617,21 +1648,21 @@ const It = $o.exports, Uo = {
1617
1648
  },
1618
1649
  emits: ["move-bottom", "move-down", "move-left", "move-right", "move-top", "move-up"],
1619
1650
  setup(n, { emit: e }) {
1620
- const o = n, { t } = Ot(), r = Le(
1651
+ const o = n, { t } = Pt(), i = Re(
1621
1652
  () => ({
1622
1653
  "aria-label": t("reorderLabel", { label: o.label }),
1623
1654
  condensed: o.condensed,
1624
1655
  disabled: o.disabled,
1625
1656
  variant: "tertiary"
1626
1657
  })
1627
- ), i = Le(() => ({
1658
+ ), r = Re(() => ({
1628
1659
  /**
1629
1660
  * Disables the handle and prevents the entire
1630
1661
  * element from being dragged.
1631
1662
  * Used by `useBentoDraggable`
1632
1663
  */
1633
1664
  "b-draggable-handle--disabled": o.disabled
1634
- })), a = Le(() => {
1665
+ })), a = Re(() => {
1635
1666
  const l = {
1636
1667
  up: {
1637
1668
  text: t("moveUp"),
@@ -1692,18 +1723,18 @@ const It = $o.exports, Uo = {
1692
1723
  l.bottom
1693
1724
  ];
1694
1725
  });
1695
- return { __sfc: !0, t, props: o, emit: e, buttonComputedProps: r, computedClasses: i, menuData: a, BentoMenu: qt, GrabIcon: Vt };
1726
+ return { __sfc: !0, t, props: o, emit: e, buttonComputedProps: i, computedClasses: r, menuData: a, BentoMenu: qt, GrabIcon: Vt };
1696
1727
  }
1697
1728
  });
1698
- var Wo = function() {
1729
+ var zo = function() {
1699
1730
  var e = this, o = e._self._c, t = e._self._setupProxy;
1700
1731
  return o(t.BentoMenu, { staticClass: "b-draggable-handle", class: t.computedClasses, attrs: { data: t.menuData, "menu-width": 250, button: t.buttonComputedProps }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
1701
1732
  return [o("span", { staticClass: "b-draggable-handle__icon" }, [o(t.GrabIcon, { attrs: { "aria-hidden": "true" } })], 1)];
1702
1733
  }, proxy: !0 }]) });
1703
- }, zo = [], jo = /* @__PURE__ */ ze(
1734
+ }, Wo = [], jo = /* @__PURE__ */ We(
1704
1735
  Go,
1705
- Wo,
1706
1736
  zo,
1737
+ Wo,
1707
1738
  !1,
1708
1739
  null,
1709
1740
  "71d10de0"
@@ -1713,4 +1744,4 @@ export {
1713
1744
  an as a,
1714
1745
  rn as d
1715
1746
  };
1716
- //# sourceMappingURL=draggable-handle.CU1L7J87.js.map
1747
+ //# sourceMappingURL=draggable-handle.DIhHtHG9.js.map