x-block-lib 0.6.2 → 0.6.3

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 (2) hide show
  1. package/dist/index.js +752 -761
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10,9 +10,9 @@
10
10
  var Ll = Object.defineProperty;
11
11
  var Sl = (e, t, n) => t in e ? Ll(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
12
12
  var nt = (e, t, n) => Sl(e, typeof t != "symbol" ? t + "" : t, n);
13
- import { getCurrentScope as Bl, onScopeDispose as Rl, computed as Be, toValue as Na, watch as Lt, shallowRef as Dl, getCurrentInstance as xo, onMounted as dn, defineComponent as ht, onBeforeUnmount as Oo, resolveComponent as Ie, createBlock as pt, openBlock as Re, unref as X, withCtx as Ze, createVNode as he, mergeProps as Zi, useModel as Di, toRefs as Ml, ref as Mt, reactive as Pl, h as Mi, nextTick as es, onUnmounted as Ul, isRef as kn, resolveDirective as xl, withDirectives as wl, createElementBlock as Et, normalizeStyle as ct, createElementVNode as at, toDisplayString as wo, withModifiers as Ln, Fragment as ka, renderList as Vl, withKeys as La, createCommentVNode as cn, mergeModels as Ns } from "vue";
14
- import { d as C, j as r, O as p, E as w, u as k, X as Fl, M as T, B as P, i as pe, F as $, a as Wt, b as Vo, c as ye, C as Sa, e as Yl, P as Pi, N as ts, V as po, g as Pt, f as Kl, h as Ba, s as Hl, S as Ye, k as _o, l as $t, m as sn, n as no, o as ui, p as On, q as ks, G as pi, r as $l, t as Gl, v as _i, U as oo, D as io, w as en, x as jl, T as Fo, y as Ra, z as Wl, A as Xl, H as Ls, I as zl, J as ql } from "./blockly-o2yt2sz2.js";
15
- import { openConfirmDlg as Jl, openPromptDlg as Ql, eventBus as ut, messageWarning as Da, useColor as Yo, useViewStack as Ko, useSystem as Ma, injectDark as Zl, injectLocale as ec } from "x-essential-lib";
13
+ import { getCurrentScope as Bl, onScopeDispose as Rl, computed as Be, toValue as Na, watch as Lt, shallowRef as Dl, getCurrentInstance as xo, onMounted as dn, defineComponent as gt, onBeforeUnmount as Oo, resolveComponent as Re, createBlock as dt, openBlock as ke, unref as X, withCtx as at, createVNode as Te, mergeProps as Zi, useModel as Di, toRefs as Ml, ref as Mt, reactive as Pl, h as Mi, nextTick as es, onUnmounted as Ul, isRef as kn, resolveDirective as xl, withDirectives as wl, createElementBlock as ct, normalizeStyle as pt, createElementVNode as ut, toDisplayString as wo, withModifiers as Ln, Fragment as ka, renderList as Vl, withKeys as La, createCommentVNode as $t, mergeModels as Ns } from "vue";
14
+ import { d as C, j as r, O as p, E as w, u as k, X as Fl, M as T, B as U, i as pe, F as $, a as Xt, b as Vo, c as Ie, C as Sa, e as Yl, P as Pi, N as ts, V as po, g as Pt, f as Kl, h as Ba, s as Hl, S as Ye, k as _o, l as Gt, m as an, n as no, o as ui, p as On, q as ks, G as pi, r as $l, t as Gl, v as _i, U as oo, D as io, w as tn, x as jl, T as Fo, y as Ra, z as Wl, A as Xl, H as Ls, I as zl, J as ql } from "./blockly-o2yt2sz2.js";
15
+ import { openConfirmDlg as Jl, openPromptDlg as Ql, eventBus as _t, messageWarning as Da, useColor as Yo, useViewStack as Ko, useSystem as Ma, injectDark as Zl, injectLocale as ec } from "x-essential-lib";
16
16
  import { pkgs as tc, elements as Ke, getPropTag as Ho } from "x-runtime-lib";
17
17
  import { globalState as V } from "x-state-lib";
18
18
  import { useI18n as Kn } from "vue-i18n";
@@ -45,24 +45,24 @@ function hc(e, t, n = {}) {
45
45
  const a = dc(() => o && "ResizeObserver" in o), l = () => {
46
46
  s && (s.disconnect(), s = void 0);
47
47
  }, c = Be(() => {
48
- const h = Na(e);
49
- return Array.isArray(h) ? h.map((g) => Ss(g)) : [Ss(h)];
48
+ const d = Na(e);
49
+ return Array.isArray(d) ? d.map((g) => Ss(g)) : [Ss(d)];
50
50
  }), _ = Lt(
51
51
  c,
52
- (h) => {
52
+ (d) => {
53
53
  if (l(), a.value && o) {
54
54
  s = new ResizeObserver(t);
55
- for (const g of h)
55
+ for (const g of d)
56
56
  g && s.observe(g, i);
57
57
  }
58
58
  },
59
59
  { immediate: !0, flush: "post" }
60
- ), d = () => {
60
+ ), h = () => {
61
61
  l(), _();
62
62
  };
63
- return cc(d), {
63
+ return cc(h), {
64
64
  isSupported: a,
65
- stop: d
65
+ stop: h
66
66
  };
67
67
  }
68
68
  C([
@@ -109,7 +109,7 @@ C([
109
109
  r.forBlock.app_env_v1 = function(e) {
110
110
  return [`__getEnvV1__() === ${r.quote_(e.getFieldValue("ENV"))}`, p.ATOMIC];
111
111
  };
112
- var Ua = typeof global == "object" && global && global.Object === Object && global, fc = typeof self == "object" && self && self.Object === Object && self, ft = Ua || fc || Function("return this")(), Ut = ft.Symbol, xa = Object.prototype, gc = xa.hasOwnProperty, mc = xa.toString, bn = Ut ? Ut.toStringTag : void 0;
112
+ var Ua = typeof global == "object" && global && global.Object === Object && global, fc = typeof self == "object" && self && self.Object === Object && self, mt = Ua || fc || Function("return this")(), Ut = mt.Symbol, xa = Object.prototype, gc = xa.hasOwnProperty, mc = xa.toString, bn = Ut ? Ut.toStringTag : void 0;
113
113
  function Tc(e) {
114
114
  var t = gc.call(e, bn), n = e[bn];
115
115
  try {
@@ -128,7 +128,7 @@ var Oc = "[object Null]", bc = "[object Undefined]", Bs = Ut ? Ut.toStringTag :
128
128
  function Hn(e) {
129
129
  return e == null ? e === void 0 ? bc : Oc : Bs && Bs in Object(e) ? Tc(e) : vc(e);
130
130
  }
131
- function Gt(e) {
131
+ function jt(e) {
132
132
  return e != null && typeof e == "object";
133
133
  }
134
134
  var Un = Array.isArray;
@@ -143,7 +143,7 @@ function wa(e) {
143
143
  var t = Hn(e);
144
144
  return t == yc || t == Cc || t == Ic || t == Nc;
145
145
  }
146
- var di = ft["__core-js_shared__"], Rs = function() {
146
+ var di = mt["__core-js_shared__"], Rs = function() {
147
147
  var e = /[^.]+$/.exec(di && di.keys && di.keys.IE_PROTO || "");
148
148
  return e ? "Symbol(src)_1." + e : "";
149
149
  }();
@@ -151,7 +151,7 @@ function kc(e) {
151
151
  return !!Rs && Rs in e;
152
152
  }
153
153
  var Lc = Function.prototype, Sc = Lc.toString;
154
- function Xt(e) {
154
+ function zt(e) {
155
155
  if (e != null) {
156
156
  try {
157
157
  return Sc.call(e);
@@ -171,16 +171,16 @@ function wc(e) {
171
171
  if (!$o(e) || kc(e))
172
172
  return !1;
173
173
  var t = wa(e) ? xc : Rc;
174
- return t.test(Xt(e));
174
+ return t.test(zt(e));
175
175
  }
176
176
  function Vc(e, t) {
177
177
  return e == null ? void 0 : e[t];
178
178
  }
179
- function zt(e, t) {
179
+ function qt(e, t) {
180
180
  var n = Vc(e, t);
181
181
  return wc(n) ? n : void 0;
182
182
  }
183
- var Ui = zt(ft, "WeakMap"), Ds = Object.create, Fc = /* @__PURE__ */ function() {
183
+ var Ui = qt(mt, "WeakMap"), Ds = Object.create, Fc = /* @__PURE__ */ function() {
184
184
  function e() {
185
185
  }
186
186
  return function(t) {
@@ -194,7 +194,7 @@ var Ui = zt(ft, "WeakMap"), Ds = Object.create, Fc = /* @__PURE__ */ function()
194
194
  };
195
195
  }(), Ms = function() {
196
196
  try {
197
- var e = zt(Object, "defineProperty");
197
+ var e = qt(Object, "defineProperty");
198
198
  return e({}, "", {}), e;
199
199
  } catch {
200
200
  }
@@ -244,21 +244,21 @@ function Qc(e, t) {
244
244
  }
245
245
  var Zc = "[object Arguments]";
246
246
  function Ps(e) {
247
- return Gt(e) && Hn(e) == Zc;
247
+ return jt(e) && Hn(e) == Zc;
248
248
  }
249
249
  var Ya = Object.prototype, eu = Ya.hasOwnProperty, tu = Ya.propertyIsEnumerable, nu = Ps(/* @__PURE__ */ function() {
250
250
  return arguments;
251
251
  }()) ? Ps : function(e) {
252
- return Gt(e) && eu.call(e, "callee") && !tu.call(e, "callee");
252
+ return jt(e) && eu.call(e, "callee") && !tu.call(e, "callee");
253
253
  };
254
254
  function ou() {
255
255
  return !1;
256
256
  }
257
- var Ka = typeof exports == "object" && exports && !exports.nodeType && exports, Us = Ka && typeof module == "object" && module && !module.nodeType && module, iu = Us && Us.exports === Ka, xs = iu ? ft.Buffer : void 0, su = xs ? xs.isBuffer : void 0, bo = su || ou, au = "[object Arguments]", ru = "[object Array]", lu = "[object Boolean]", cu = "[object Date]", uu = "[object Error]", pu = "[object Function]", _u = "[object Map]", du = "[object Number]", hu = "[object Object]", fu = "[object RegExp]", gu = "[object Set]", mu = "[object String]", Tu = "[object WeakMap]", Eu = "[object ArrayBuffer]", Au = "[object DataView]", vu = "[object Float32Array]", Ou = "[object Float64Array]", bu = "[object Int8Array]", Iu = "[object Int16Array]", yu = "[object Int32Array]", Cu = "[object Uint8Array]", Nu = "[object Uint8ClampedArray]", ku = "[object Uint16Array]", Lu = "[object Uint32Array]", _e = {};
257
+ var Ka = typeof exports == "object" && exports && !exports.nodeType && exports, Us = Ka && typeof module == "object" && module && !module.nodeType && module, iu = Us && Us.exports === Ka, xs = iu ? mt.Buffer : void 0, su = xs ? xs.isBuffer : void 0, bo = su || ou, au = "[object Arguments]", ru = "[object Array]", lu = "[object Boolean]", cu = "[object Date]", uu = "[object Error]", pu = "[object Function]", _u = "[object Map]", du = "[object Number]", hu = "[object Object]", fu = "[object RegExp]", gu = "[object Set]", mu = "[object String]", Tu = "[object WeakMap]", Eu = "[object ArrayBuffer]", Au = "[object DataView]", vu = "[object Float32Array]", Ou = "[object Float64Array]", bu = "[object Int8Array]", Iu = "[object Int16Array]", yu = "[object Int32Array]", Cu = "[object Uint8Array]", Nu = "[object Uint8ClampedArray]", ku = "[object Uint16Array]", Lu = "[object Uint32Array]", _e = {};
258
258
  _e[vu] = _e[Ou] = _e[bu] = _e[Iu] = _e[yu] = _e[Cu] = _e[Nu] = _e[ku] = _e[Lu] = !0;
259
259
  _e[au] = _e[ru] = _e[Eu] = _e[lu] = _e[Au] = _e[cu] = _e[uu] = _e[pu] = _e[_u] = _e[du] = _e[hu] = _e[fu] = _e[gu] = _e[mu] = _e[Tu] = !1;
260
260
  function Su(e) {
261
- return Gt(e) && Va(e.length) && !!_e[Hn(e)];
261
+ return jt(e) && Va(e.length) && !!_e[Hn(e)];
262
262
  }
263
263
  function os(e) {
264
264
  return function(t) {
@@ -299,7 +299,7 @@ function wu(e) {
299
299
  function Vu(e) {
300
300
  return qc(e) ? Mu(e) : wu(e);
301
301
  }
302
- var xn = zt(Object, "create");
302
+ var xn = qt(Object, "create");
303
303
  function Fu() {
304
304
  this.__data__ = xn ? xn(null) : {}, this.size = 0;
305
305
  }
@@ -326,18 +326,18 @@ function qu(e, t) {
326
326
  var n = this.__data__;
327
327
  return this.size += this.has(e) ? 0 : 1, n[e] = xn && t === void 0 ? zu : t, this;
328
328
  }
329
- function jt(e) {
329
+ function Wt(e) {
330
330
  var t = -1, n = e == null ? 0 : e.length;
331
331
  for (this.clear(); ++t < n; ) {
332
332
  var o = e[t];
333
333
  this.set(o[0], o[1]);
334
334
  }
335
335
  }
336
- jt.prototype.clear = Fu;
337
- jt.prototype.delete = Yu;
338
- jt.prototype.get = Gu;
339
- jt.prototype.has = Xu;
340
- jt.prototype.set = qu;
336
+ Wt.prototype.clear = Fu;
337
+ Wt.prototype.delete = Yu;
338
+ Wt.prototype.get = Gu;
339
+ Wt.prototype.has = Xu;
340
+ Wt.prototype.set = qu;
341
341
  function Ju() {
342
342
  this.__data__ = [], this.size = 0;
343
343
  }
@@ -378,12 +378,12 @@ It.prototype.delete = ep;
378
378
  It.prototype.get = tp;
379
379
  It.prototype.has = np;
380
380
  It.prototype.set = op;
381
- var wn = zt(ft, "Map");
381
+ var wn = qt(mt, "Map");
382
382
  function ip() {
383
383
  this.size = 0, this.__data__ = {
384
- hash: new jt(),
384
+ hash: new Wt(),
385
385
  map: new (wn || It)(),
386
- string: new jt()
386
+ string: new Wt()
387
387
  };
388
388
  }
389
389
  function sp(e) {
@@ -408,18 +408,18 @@ function cp(e, t) {
408
408
  var n = jo(this, e), o = n.size;
409
409
  return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
410
410
  }
411
- function qt(e) {
411
+ function Jt(e) {
412
412
  var t = -1, n = e == null ? 0 : e.length;
413
413
  for (this.clear(); ++t < n; ) {
414
414
  var o = e[t];
415
415
  this.set(o[0], o[1]);
416
416
  }
417
417
  }
418
- qt.prototype.clear = ip;
419
- qt.prototype.delete = ap;
420
- qt.prototype.get = rp;
421
- qt.prototype.has = lp;
422
- qt.prototype.set = cp;
418
+ Jt.prototype.clear = ip;
419
+ Jt.prototype.delete = ap;
420
+ Jt.prototype.get = rp;
421
+ Jt.prototype.has = lp;
422
+ Jt.prototype.set = cp;
423
423
  function up(e, t) {
424
424
  for (var n = -1, o = t.length, i = e.length; ++n < o; )
425
425
  e[i + n] = t[n];
@@ -446,7 +446,7 @@ function mp(e, t) {
446
446
  var o = n.__data__;
447
447
  if (!wn || o.length < gp - 1)
448
448
  return o.push([e, t]), this.size = ++n.size, this;
449
- n = this.__data__ = new qt(o);
449
+ n = this.__data__ = new Jt(o);
450
450
  }
451
451
  return n.set(e, t), this.size = n.size, this;
452
452
  }
@@ -459,7 +459,7 @@ At.prototype.delete = dp;
459
459
  At.prototype.get = hp;
460
460
  At.prototype.has = fp;
461
461
  At.prototype.set = mp;
462
- var ja = typeof exports == "object" && exports && !exports.nodeType && exports, Vs = ja && typeof module == "object" && module && !module.nodeType && module, Tp = Vs && Vs.exports === ja, Fs = Tp ? ft.Buffer : void 0;
462
+ var ja = typeof exports == "object" && exports && !exports.nodeType && exports, Vs = ja && typeof module == "object" && module && !module.nodeType && module, Tp = Vs && Vs.exports === ja, Fs = Tp ? mt.Buffer : void 0;
463
463
  Fs && Fs.allocUnsafe;
464
464
  function Ep(e, t) {
465
465
  return e.slice();
@@ -486,9 +486,9 @@ function yp(e, t, n) {
486
486
  function xi(e) {
487
487
  return yp(e, Vu, Ip);
488
488
  }
489
- var wi = zt(ft, "DataView"), Vi = zt(ft, "Promise"), Fi = zt(ft, "Set"), Ks = "[object Map]", Cp = "[object Object]", Hs = "[object Promise]", $s = "[object Set]", Gs = "[object WeakMap]", js = "[object DataView]", Np = Xt(wi), kp = Xt(wn), Lp = Xt(Vi), Sp = Xt(Fi), Bp = Xt(Ui), st = Hn;
489
+ var wi = qt(mt, "DataView"), Vi = qt(mt, "Promise"), Fi = qt(mt, "Set"), Ks = "[object Map]", Cp = "[object Object]", Hs = "[object Promise]", $s = "[object Set]", Gs = "[object WeakMap]", js = "[object DataView]", Np = zt(wi), kp = zt(wn), Lp = zt(Vi), Sp = zt(Fi), Bp = zt(Ui), st = Hn;
490
490
  (wi && st(new wi(new ArrayBuffer(1))) != js || wn && st(new wn()) != Ks || Vi && st(Vi.resolve()) != Hs || Fi && st(new Fi()) != $s || Ui && st(new Ui()) != Gs) && (st = function(e) {
491
- var t = Hn(e), n = t == Cp ? e.constructor : void 0, o = n ? Xt(n) : "";
491
+ var t = Hn(e), n = t == Cp ? e.constructor : void 0, o = n ? zt(n) : "";
492
492
  if (o)
493
493
  switch (o) {
494
494
  case Np:
@@ -509,7 +509,7 @@ function Mp(e) {
509
509
  var t = e.length, n = new e.constructor(t);
510
510
  return t && typeof e[0] == "string" && Dp.call(e, "index") && (n.index = e.index, n.input = e.input), n;
511
511
  }
512
- var Io = ft.Uint8Array;
512
+ var Io = mt.Uint8Array;
513
513
  function is(e) {
514
514
  var t = new e.constructor(e.byteLength);
515
515
  return new Io(t).set(new Io(e)), t;
@@ -570,11 +570,11 @@ function a_(e) {
570
570
  }
571
571
  var r_ = "[object Map]";
572
572
  function l_(e) {
573
- return Gt(e) && st(e) == r_;
573
+ return jt(e) && st(e) == r_;
574
574
  }
575
575
  var zs = hn && hn.isMap, c_ = zs ? os(zs) : l_, u_ = "[object Set]";
576
576
  function p_(e) {
577
- return Gt(e) && st(e) == u_;
577
+ return jt(e) && st(e) == u_;
578
578
  }
579
579
  var qs = hn && hn.isSet, __ = qs ? os(qs) : p_, Wa = "[object Arguments]", d_ = "[object Array]", h_ = "[object Boolean]", f_ = "[object Date]", g_ = "[object Error]", Xa = "[object Function]", m_ = "[object GeneratorFunction]", T_ = "[object Map]", E_ = "[object Number]", za = "[object Object]", A_ = "[object RegExp]", v_ = "[object Set]", O_ = "[object String]", b_ = "[object Symbol]", I_ = "[object WeakMap]", y_ = "[object ArrayBuffer]", C_ = "[object DataView]", N_ = "[object Float32Array]", k_ = "[object Float64Array]", L_ = "[object Int8Array]", S_ = "[object Int16Array]", B_ = "[object Int32Array]", R_ = "[object Uint8Array]", D_ = "[object Uint8ClampedArray]", M_ = "[object Uint16Array]", P_ = "[object Uint32Array]", ue = {};
580
580
  ue[Wa] = ue[d_] = ue[y_] = ue[C_] = ue[h_] = ue[f_] = ue[N_] = ue[k_] = ue[L_] = ue[S_] = ue[B_] = ue[T_] = ue[E_] = ue[za] = ue[A_] = ue[v_] = ue[O_] = ue[b_] = ue[R_] = ue[D_] = ue[M_] = ue[P_] = !0;
@@ -601,15 +601,15 @@ function ho(e, t, n, o, i, s) {
601
601
  }
602
602
  }
603
603
  s || (s = new At());
604
- var d = s.get(e);
605
- if (d)
606
- return d;
604
+ var h = s.get(e);
605
+ if (h)
606
+ return h;
607
607
  s.set(e, a), __(e) ? e.forEach(function(m) {
608
608
  a.add(ho(m, t, n, m, e, s));
609
609
  }) : c_(e) && e.forEach(function(m, I) {
610
610
  a.set(I, ho(m, t, n, I, e, s));
611
611
  });
612
- var h = xi, g = l ? void 0 : h(e);
612
+ var d = xi, g = l ? void 0 : d(e);
613
613
  return Yc(g || e, function(m, I) {
614
614
  g && (I = m, m = e[I]), Xc(a, I, ho(m, t, n, I, e, s));
615
615
  }), a;
@@ -627,7 +627,7 @@ function F_(e) {
627
627
  }
628
628
  function yo(e) {
629
629
  var t = -1, n = e == null ? 0 : e.length;
630
- for (this.__data__ = new qt(); ++t < n; )
630
+ for (this.__data__ = new Jt(); ++t < n; )
631
631
  this.add(e[t]);
632
632
  }
633
633
  yo.prototype.add = yo.prototype.push = V_;
@@ -646,14 +646,14 @@ function Ja(e, t, n, o, i, s) {
646
646
  var a = n & H_, l = e.length, c = t.length;
647
647
  if (l != c && !(a && c > l))
648
648
  return !1;
649
- var _ = s.get(e), d = s.get(t);
650
- if (_ && d)
651
- return _ == t && d == e;
652
- var h = -1, g = !0, m = n & $_ ? new yo() : void 0;
653
- for (s.set(e, t), s.set(t, e); ++h < l; ) {
654
- var I = e[h], O = t[h];
649
+ var _ = s.get(e), h = s.get(t);
650
+ if (_ && h)
651
+ return _ == t && h == e;
652
+ var d = -1, g = !0, m = n & $_ ? new yo() : void 0;
653
+ for (s.set(e, t), s.set(t, e); ++d < l; ) {
654
+ var I = e[d], O = t[d];
655
655
  if (o)
656
- var G = a ? o(O, I, h, t, e, s) : o(I, O, h, e, t, s);
656
+ var G = a ? o(O, I, d, t, e, s) : o(I, O, d, e, t, s);
657
657
  if (G !== void 0) {
658
658
  if (G)
659
659
  continue;
@@ -661,9 +661,9 @@ function Ja(e, t, n, o, i, s) {
661
661
  break;
662
662
  }
663
663
  if (m) {
664
- if (!Y_(t, function(j, U) {
665
- if (!K_(m, U) && (I === j || i(I, j, n, o, s)))
666
- return m.push(U);
664
+ if (!Y_(t, function(D, j) {
665
+ if (!K_(m, j) && (I === D || i(I, D, n, o, s)))
666
+ return m.push(j);
667
667
  })) {
668
668
  g = !1;
669
669
  break;
@@ -715,8 +715,8 @@ function ad(e, t, n, o, i, s, a) {
715
715
  if (_)
716
716
  return _ == t;
717
717
  o |= X_, a.set(e, t);
718
- var d = Ja(l(e), l(t), o, i, s, a);
719
- return a.delete(e), d;
718
+ var h = Ja(l(e), l(t), o, i, s, a);
719
+ return a.delete(e), h;
720
720
  case od:
721
721
  if (fi)
722
722
  return fi.call(e) == fi.call(t);
@@ -725,11 +725,11 @@ function ad(e, t, n, o, i, s, a) {
725
725
  }
726
726
  var rd = 1, ld = Object.prototype, cd = ld.hasOwnProperty;
727
727
  function ud(e, t, n, o, i, s) {
728
- var a = n & rd, l = xi(e), c = l.length, _ = xi(t), d = _.length;
729
- if (c != d && !a)
728
+ var a = n & rd, l = xi(e), c = l.length, _ = xi(t), h = _.length;
729
+ if (c != h && !a)
730
730
  return !1;
731
- for (var h = c; h--; ) {
732
- var g = l[h];
731
+ for (var d = c; d--; ) {
732
+ var g = l[d];
733
733
  if (!(a ? g in t : cd.call(t, g)))
734
734
  return !1;
735
735
  }
@@ -738,20 +738,20 @@ function ud(e, t, n, o, i, s) {
738
738
  return m == t && I == e;
739
739
  var O = !0;
740
740
  s.set(e, t), s.set(t, e);
741
- for (var G = a; ++h < c; ) {
742
- g = l[h];
743
- var j = e[g], U = t[g];
741
+ for (var G = a; ++d < c; ) {
742
+ g = l[d];
743
+ var D = e[g], j = t[g];
744
744
  if (o)
745
- var J = a ? o(U, j, g, t, e, s) : o(j, U, g, e, t, s);
746
- if (!(J === void 0 ? j === U || i(j, U, n, o, s) : J)) {
745
+ var ee = a ? o(j, D, g, t, e, s) : o(D, j, g, e, t, s);
746
+ if (!(ee === void 0 ? D === j || i(D, j, n, o, s) : ee)) {
747
747
  O = !1;
748
748
  break;
749
749
  }
750
750
  G || (G = g == "constructor");
751
751
  }
752
752
  if (O && !G) {
753
- var ge = e.constructor, Q = t.constructor;
754
- ge != Q && "constructor" in e && "constructor" in t && !(typeof ge == "function" && ge instanceof ge && typeof Q == "function" && Q instanceof Q) && (O = !1);
753
+ var fe = e.constructor, J = t.constructor;
754
+ fe != J && "constructor" in e && "constructor" in t && !(typeof fe == "function" && fe instanceof fe && typeof J == "function" && J instanceof J) && (O = !1);
755
755
  }
756
756
  return s.delete(e), s.delete(t), O;
757
757
  }
@@ -759,16 +759,16 @@ var pd = 1, Qs = "[object Arguments]", Zs = "[object Array]", so = "[object Obje
759
759
  function dd(e, t, n, o, i, s) {
760
760
  var a = Un(e), l = Un(t), c = a ? Zs : st(e), _ = l ? Zs : st(t);
761
761
  c = c == Qs ? so : c, _ = _ == Qs ? so : _;
762
- var d = c == so, h = _ == so, g = c == _;
762
+ var h = c == so, d = _ == so, g = c == _;
763
763
  if (g && bo(e)) {
764
764
  if (!bo(t))
765
765
  return !1;
766
- a = !0, d = !1;
766
+ a = !0, h = !1;
767
767
  }
768
- if (g && !d)
768
+ if (g && !h)
769
769
  return s || (s = new At()), a || $a(e) ? Ja(e, t, n, o, i, s) : ad(e, t, c, n, o, i, s);
770
770
  if (!(n & pd)) {
771
- var m = d && ea.call(e, "__wrapped__"), I = h && ea.call(t, "__wrapped__");
771
+ var m = h && ea.call(e, "__wrapped__"), I = d && ea.call(t, "__wrapped__");
772
772
  if (m || I) {
773
773
  var O = m ? e.value() : e, G = I ? t.value() : t;
774
774
  return s || (s = new At()), i(O, G, n, o, s);
@@ -777,7 +777,7 @@ function dd(e, t, n, o, i, s) {
777
777
  return g ? (s || (s = new At()), ud(e, t, n, o, i, s)) : !1;
778
778
  }
779
779
  function Qa(e, t, n, o, i) {
780
- return e === t ? !0 : e == null || t == null || !Gt(e) && !Gt(t) ? e !== e && t !== t : dd(e, t, n, o, Qa, i);
780
+ return e === t ? !0 : e == null || t == null || !jt(e) && !jt(t) ? e !== e && t !== t : dd(e, t, n, o, Qa, i);
781
781
  }
782
782
  function we(e, t) {
783
783
  return Qa(e, t);
@@ -813,8 +813,8 @@ function We(e, t) {
813
813
  return;
814
814
  let c = l.targetBlock();
815
815
  if (c) {
816
- const d = c;
817
- if (d && d.key === i && d.name === s)
816
+ const h = c;
817
+ if (h && h.key === i && h.name === s)
818
818
  return;
819
819
  c.dispose();
820
820
  }
@@ -889,8 +889,8 @@ function Vn(e, t) {
889
889
  if (!Ke[e])
890
890
  return [];
891
891
  const l = [];
892
- return (_ = (c = n[e]) == null ? void 0 : c[s]) == null || _.forEach((d) => {
893
- t && (!d.raw.ui || d.raw.readonly || d.keys === "alias") || l.push(d);
892
+ return (_ = (c = n[e]) == null ? void 0 : c[s]) == null || _.forEach((h) => {
893
+ t && (!h.raw.ui || h.raw.readonly || h.keys === "alias") || l.push(h);
894
894
  }), l;
895
895
  }
896
896
  function un(e, t) {
@@ -992,13 +992,13 @@ function md(e) {
992
992
  }), Ae(t);
993
993
  }
994
994
  function Fn(e, t) {
995
- var _, d;
995
+ var _, h;
996
996
  const { props: n } = V.runtime, { type: o, subtype: i } = V.app.activeObject, s = [], a = Ho(o, i);
997
997
  if (!a)
998
998
  return console.assert(!1, "invalid prop tag", o, i), s;
999
999
  const l = He(e);
1000
- return l ? Ke[l.key] ? ((d = (_ = n[l.key]) == null ? void 0 : _[a]) == null || d.forEach((h) => {
1001
- t && (!h.raw.ui || h.raw.readonly || h.keys === "alias") || s.push(h);
1000
+ return l ? Ke[l.key] ? ((h = (_ = n[l.key]) == null ? void 0 : _[a]) == null || h.forEach((d) => {
1001
+ t && (!d.raw.ui || d.raw.readonly || d.keys === "alias") || s.push(d);
1002
1002
  }), s) : (console.assert(!1, "invalid element", l.key), s) : s;
1003
1003
  }
1004
1004
  function pn(e, t) {
@@ -1183,7 +1183,7 @@ const Td = {
1183
1183
  this.setWarningText(null);
1184
1184
  }
1185
1185
  };
1186
- P.call_node_method_v1 = Td;
1186
+ U.call_node_method_v1 = Td;
1187
1187
  r.forBlock.call_node_method_v1 = function(e) {
1188
1188
  const t = r.quote_, n = e;
1189
1189
  let o = n.node.id;
@@ -1363,7 +1363,7 @@ const Ed = {
1363
1363
  this.setWarningText(null);
1364
1364
  }
1365
1365
  };
1366
- P.call_node_method_as_v1 = Ed;
1366
+ U.call_node_method_as_v1 = Ed;
1367
1367
  r.forBlock.call_node_method_as_v1 = function(e) {
1368
1368
  const t = r.quote_, n = e, o = r.valueToCode(n, "NODE", p.NONE) || "";
1369
1369
  if (!o)
@@ -1517,7 +1517,7 @@ const bd = {
1517
1517
  this.setWarningText(null);
1518
1518
  }
1519
1519
  };
1520
- P.comp_method_impl_v1 = bd;
1520
+ U.comp_method_impl_v1 = bd;
1521
1521
  r.forBlock.comp_method_impl_v1 = function(e) {
1522
1522
  const t = e;
1523
1523
  return `{${r.statementToCode(t, "HANDLE")}}`;
@@ -1586,7 +1586,7 @@ const Id = {
1586
1586
  this.node.alias !== e.alias && (this.node.alias = e.alias), this.setWarningText(null);
1587
1587
  }
1588
1588
  };
1589
- P.get_node_v1 = Id;
1589
+ U.get_node_v1 = Id;
1590
1590
  r.forBlock.get_node_v1 = function(e) {
1591
1591
  const t = e;
1592
1592
  return [r.quote_(t.node.id), p.ATOMIC];
@@ -1685,7 +1685,7 @@ const yd = {
1685
1685
  we(t.names, this.prop.names) || (this.prop.names = t.names), this.setWarningText(null);
1686
1686
  }
1687
1687
  };
1688
- P.get_node_prop_v1 = yd;
1688
+ U.get_node_prop_v1 = yd;
1689
1689
  r.forBlock.get_node_prop_v1 = function(e) {
1690
1690
  const t = e, n = r.quote_(t.node.id), o = r.quote_(t.prop.keys);
1691
1691
  return [`__getNodePropV1__(${n}, ${o})`, p.ATOMIC];
@@ -1782,7 +1782,7 @@ const Cd = {
1782
1782
  we(t.names, this.prop.names) || (this.prop.names = t.names), this.setWarningText(null);
1783
1783
  }
1784
1784
  };
1785
- P.get_node_prop_as_v1 = Cd;
1785
+ U.get_node_prop_as_v1 = Cd;
1786
1786
  r.forBlock.get_node_prop_as_v1 = function(e) {
1787
1787
  const t = e, n = r.valueToCode(t, "NODE", p.ATOMIC) || "null", o = r.quote_(t.prop.keys);
1788
1788
  return [`__getNodePropV1__(${n}, ${o})`, p.ATOMIC];
@@ -1863,7 +1863,7 @@ const Ld = {
1863
1863
  this.setWarningText(null);
1864
1864
  }
1865
1865
  };
1866
- P.get_page_argument_v1 = Ld;
1866
+ U.get_page_argument_v1 = Ld;
1867
1867
  r.forBlock.get_page_argument_v1 = function(e) {
1868
1868
  const t = e;
1869
1869
  return [`__getPageArgumentV1__(${r.quote_(t.argument.id)})`, p.FUNCTION_CALL];
@@ -1990,7 +1990,7 @@ const Rd = {
1990
1990
  t.name !== this.page.name && (this.page.name = t.name), this.setWarningText(null);
1991
1991
  }
1992
1992
  };
1993
- P.navigate_to_v1 = Rd;
1993
+ U.navigate_to_v1 = Rd;
1994
1994
  r.forBlock.navigate_to_v1 = function(e) {
1995
1995
  const t = e, n = r.quote_(t.app.id), o = r.quote_(t.page.id), i = r.quote_(t.getFieldValue("MODE"));
1996
1996
  return `__navigateToV1__(${n}, ${o}, ${i});
@@ -2116,7 +2116,7 @@ const Dd = {
2116
2116
  this.setWarningText(null);
2117
2117
  }
2118
2118
  };
2119
- P.on_node_event_v1 = Dd;
2119
+ U.on_node_event_v1 = Dd;
2120
2120
  r.forBlock.on_node_event_v1 = function(e) {
2121
2121
  const t = e, n = r.quote_(t.node.id), o = r.quote_(t.event.key);
2122
2122
  let i = "";
@@ -2246,7 +2246,7 @@ const Md = {
2246
2246
  this.setWarningText(null);
2247
2247
  }
2248
2248
  };
2249
- P.on_node_event_as_v1 = Md;
2249
+ U.on_node_event_as_v1 = Md;
2250
2250
  r.forBlock.on_node_event_as_v1 = function(e) {
2251
2251
  const t = e, n = r.valueToCode(t, "NODE", p.NONE), o = r.quote_(t.event.key);
2252
2252
  let i = "";
@@ -2287,7 +2287,7 @@ const Pd = {
2287
2287
  ]);
2288
2288
  }
2289
2289
  };
2290
- P.open_confirm_dlg_v1 = Pd;
2290
+ U.open_confirm_dlg_v1 = Pd;
2291
2291
  r.forBlock.open_confirm_dlg_v1 = function(e) {
2292
2292
  const t = r.valueToCode(e, "TITLE", p.ATOMIC), n = r.valueToCode(e, "TEXT", p.ATOMIC), o = r.statementToCode(e, "HANDLE");
2293
2293
  return `{
@@ -2326,7 +2326,7 @@ const Ud = {
2326
2326
  ]);
2327
2327
  }
2328
2328
  };
2329
- P.open_prompt_dlg_v1 = Ud;
2329
+ U.open_prompt_dlg_v1 = Ud;
2330
2330
  r.forBlock.open_prompt_dlg_v1 = function(e) {
2331
2331
  const t = r.valueToCode(e, "TITLE", p.ATOMIC), n = r.valueToCode(e, "LABEL", p.ATOMIC), o = r.valueToCode(e, "VALUE", p.ATOMIC), i = r.statementToCode(e, "HANDLE");
2332
2332
  return `{
@@ -2481,7 +2481,7 @@ const xd = {
2481
2481
  this.setWarningText(null);
2482
2482
  }
2483
2483
  };
2484
- P.set_comp_method_output_v1 = xd;
2484
+ U.set_comp_method_output_v1 = xd;
2485
2485
  r.forBlock.set_comp_method_output_v1 = function(e) {
2486
2486
  const t = e;
2487
2487
  let n = r.valueToCode(t, "VALUE", p.ATOMIC);
@@ -2600,7 +2600,7 @@ const wd = {
2600
2600
  we(t.names, this.prop.names) || (this.prop.names = t.names), this.setWarningText(null);
2601
2601
  }
2602
2602
  };
2603
- P.set_node_prop_v1 = wd;
2603
+ U.set_node_prop_v1 = wd;
2604
2604
  r.forBlock.set_node_prop_v1 = function(e) {
2605
2605
  const t = e, n = r.quote_(t.node.id), o = r.quote_(t.prop.keys), i = r.valueToCode(t, "VALUE", p.NONE);
2606
2606
  return `__setNodePropV1__(${n}, ${o}, ${i});
@@ -2700,7 +2700,7 @@ const Vd = {
2700
2700
  we(t.names, this.prop.names) || (this.prop.names = t.names), this.setWarningText(null);
2701
2701
  }
2702
2702
  };
2703
- P.set_node_prop_as_v1 = Vd;
2703
+ U.set_node_prop_as_v1 = Vd;
2704
2704
  r.forBlock.set_node_prop_as_v1 = function(e) {
2705
2705
  const t = e, n = r.valueToCode(t, "NODE", p.NONE), o = r.quote_(t.prop.keys), i = r.valueToCode(t, "VALUE", p.NONE);
2706
2706
  return `__setNodePropV1__(${n}, ${o}, ${i});
@@ -2795,7 +2795,7 @@ const Fd = {
2795
2795
  this.setWarningText(null);
2796
2796
  }
2797
2797
  };
2798
- P.trigger_comp_event_v1 = Fd;
2798
+ U.trigger_comp_event_v1 = Fd;
2799
2799
  r.forBlock.trigger_comp_event_v1 = function() {
2800
2800
  return "";
2801
2801
  };
@@ -3060,7 +3060,7 @@ const $d = {
3060
3060
  this.locale ? this.setFieldValue(T[this.name], "LABEL") : this.setFieldValue(this.name, "LABEL");
3061
3061
  }
3062
3062
  };
3063
- P.parameter_v1 = $d;
3063
+ U.parameter_v1 = $d;
3064
3064
  r.forBlock.parameter_v1 = function(e) {
3065
3065
  return [e.key, p.ATOMIC];
3066
3066
  };
@@ -3233,7 +3233,7 @@ const jd = {
3233
3233
  this.setWarningText(null);
3234
3234
  }
3235
3235
  };
3236
- P.call_func_v1 = jd;
3236
+ U.call_func_v1 = jd;
3237
3237
  r.forBlock.call_func_v1 = function(e) {
3238
3238
  const t = r.INDENT, n = r.quote_, o = e, i = n(o.space.id), s = n(o.func.id), a = [];
3239
3239
  for (let g = 0; g < o.func.inputs.length; g++)
@@ -3246,11 +3246,11 @@ r.forBlock.call_func_v1 = function(e) {
3246
3246
  _ += `${t}${g} = result[${m}];
3247
3247
  `;
3248
3248
  });
3249
- const d = r.statementToCode(o, "CALLBACK");
3249
+ const h = r.statementToCode(o, "CALLBACK");
3250
3250
  return `{
3251
3251
  var result = __callFuncV1__(${i}, ${s}, ${l}, __getEnv__(), ${c});
3252
3252
  ${_}
3253
- ${d}
3253
+ ${h}
3254
3254
  }
3255
3255
  `;
3256
3256
  };
@@ -3377,7 +3377,7 @@ const Wd = {
3377
3377
  this.setWarningText(null);
3378
3378
  }
3379
3379
  };
3380
- P.call_func_internal_v1 = Wd;
3380
+ U.call_func_internal_v1 = Wd;
3381
3381
  r.forBlock.call_func_internal_v1 = function(e) {
3382
3382
  const t = r.INDENT, n = r.quote_, o = e, i = n(o.space.id), s = n(o.func.id), a = [];
3383
3383
  for (let g = 0; g < o.func.inputs.length; g++)
@@ -3390,7 +3390,7 @@ r.forBlock.call_func_internal_v1 = function(e) {
3390
3390
  _ += `${t}${g} = result[${m}];
3391
3391
  `;
3392
3392
  });
3393
- const d = r.statementToCode(o, "CALLBACK");
3393
+ const h = r.statementToCode(o, "CALLBACK");
3394
3394
  return `{
3395
3395
  var result = __callFuncInternalV1__(${i}, ${s}, ${l});
3396
3396
  var success = result.success;
@@ -3400,7 +3400,7 @@ r.forBlock.call_func_internal_v1 = function(e) {
3400
3400
  throw 'call func<${c}> failed, reason: ' + message;
3401
3401
  }
3402
3402
  ${_}
3403
- ${d}
3403
+ ${h}
3404
3404
  }
3405
3405
  `;
3406
3406
  };
@@ -3483,7 +3483,7 @@ const Xd = {
3483
3483
  this.setWarningText(null);
3484
3484
  }
3485
3485
  };
3486
- P.func_entry_v1 = Xd;
3486
+ U.func_entry_v1 = Xd;
3487
3487
  r.forBlock.func_entry_v1 = function(e) {
3488
3488
  const t = e, n = r.statementToCode(t, "HANDLE"), o = [];
3489
3489
  for (let a = 0; a < t.func.inputs.length; a++) {
@@ -3497,7 +3497,7 @@ const zd = {
3497
3497
  init: function() {
3498
3498
  }
3499
3499
  };
3500
- P.on_flow_state_event_v1 = zd;
3500
+ U.on_flow_state_event_v1 = zd;
3501
3501
  r.forBlock.on_flow_state_event_v1 = function() {
3502
3502
  return `__onFlowStateEventV1__();
3503
3503
  `;
@@ -3581,7 +3581,7 @@ const qd = {
3581
3581
  this.setWarningText(null);
3582
3582
  }
3583
3583
  };
3584
- P.set_func_output_v1 = qd;
3584
+ U.set_func_output_v1 = qd;
3585
3585
  r.forBlock.set_func_output_v1 = function(e) {
3586
3586
  const t = r.quote_, n = e, { id: o, type: i } = n.output;
3587
3587
  let s = r.valueToCode(n, "VALUE", p.ATOMIC);
@@ -3631,7 +3631,7 @@ const Jd = {
3631
3631
  ]);
3632
3632
  }
3633
3633
  };
3634
- P.add_data_v1 = Jd;
3634
+ U.add_data_v1 = Jd;
3635
3635
  r.forBlock.add_data_v1 = function(e) {
3636
3636
  const t = r.INDENT, n = r.valueToCode(e, "TABLE", p.ATOMIC) || "null", o = r.statementToCode(e, "HANDLE");
3637
3637
  return `{
@@ -3819,7 +3819,7 @@ const Qd = {
3819
3819
  this.setWarningText(null);
3820
3820
  }
3821
3821
  };
3822
- P.cond_atomic_v1 = Qd;
3822
+ U.cond_atomic_v1 = Qd;
3823
3823
  r.forBlock.cond_atomic_v1 = function(e) {
3824
3824
  const t = r.quote_, n = e.getFieldValue("COLUMN"), o = r.valueToCode(e, "VALUE", p.ATOMIC) || null, s = {
3825
3825
  EQ: "=",
@@ -3836,13 +3836,13 @@ const Zd = {
3836
3836
  this.appendDummyInput().appendField("%{BKY_DATA_LIST}"), this.appendStatementInput("STACK"), this.setStyle("object_blocks"), this.contextMenu = !1;
3837
3837
  }
3838
3838
  };
3839
- P.cond_logic_container_v1 = Zd;
3839
+ U.cond_logic_container_v1 = Zd;
3840
3840
  const eh = {
3841
3841
  init: function() {
3842
3842
  this.appendDummyInput().appendField("%{BKY_DATA_ITEM}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("object_blocks"), this.contextMenu = !1;
3843
3843
  }
3844
3844
  };
3845
- P.cond_logic_item_v1 = eh;
3845
+ U.cond_logic_item_v1 = eh;
3846
3846
  const th = {
3847
3847
  init: function() {
3848
3848
  this.itemCount_ = 1, this.appendValueInput("VALUE").setCheck("Condition").appendField(
@@ -3852,7 +3852,7 @@ const th = {
3852
3852
  ]),
3853
3853
  "TYPE"
3854
3854
  ), this.setMutator(
3855
- new Wt.MutatorIcon(
3855
+ new Xt.MutatorIcon(
3856
3856
  ["cond_logic_item_v1"],
3857
3857
  this
3858
3858
  )
@@ -3919,7 +3919,7 @@ const th = {
3919
3919
  this.getInput("ADD" + e) || this.appendValueInput("ADD" + e).setCheck("Condition");
3920
3920
  }
3921
3921
  };
3922
- P.cond_logic_v1 = th;
3922
+ U.cond_logic_v1 = th;
3923
3923
  r.forBlock.cond_logic_v1 = function(e) {
3924
3924
  const t = r.quote_, n = e, o = n.getFieldValue("TYPE"), i = [], s = r.valueToCode(n, "VALUE", p.ATOMIC) || null;
3925
3925
  i.push(s);
@@ -3951,7 +3951,7 @@ const nh = {
3951
3951
  ]);
3952
3952
  }
3953
3953
  };
3954
- P.delete_data_v1 = nh;
3954
+ U.delete_data_v1 = nh;
3955
3955
  r.forBlock.delete_data_v1 = function(e) {
3956
3956
  const t = r.INDENT, n = r.valueToCode(e, "TABLE", p.ATOMIC) || "null", o = r.valueToCode(e, "CONDITION", p.ATOMIC) || "null", i = r.statementToCode(e, "HANDLE");
3957
3957
  return `{
@@ -4012,7 +4012,7 @@ const oh = {
4012
4012
  ]);
4013
4013
  }
4014
4014
  };
4015
- P.query_data_v1 = oh;
4015
+ U.query_data_v1 = oh;
4016
4016
  r.forBlock.query_data_v1 = function(e) {
4017
4017
  const t = r.INDENT, n = r.valueToCode(e, "TABLE", p.ATOMIC) || "null", o = r.valueToCode(e, "CONDITION", p.ATOMIC) || "null";
4018
4018
  let i = "null";
@@ -4087,13 +4087,13 @@ const ih = {
4087
4087
  this.appendDummyInput().appendField("%{BKY_DATA_LIST}"), this.appendStatementInput("STACK"), this.setStyle("object_blocks"), this.contextMenu = !1;
4088
4088
  }
4089
4089
  };
4090
- P.select_column_container_v1 = ih;
4090
+ U.select_column_container_v1 = ih;
4091
4091
  const sh = {
4092
4092
  init: function() {
4093
4093
  this.appendDummyInput().appendField("%{BKY_DATA_ITEM}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("object_blocks"), this.contextMenu = !1;
4094
4094
  }
4095
4095
  };
4096
- P.select_column_item_v1 = sh;
4096
+ U.select_column_item_v1 = sh;
4097
4097
  const ah = {
4098
4098
  init: function() {
4099
4099
  this.space = {
@@ -4109,7 +4109,7 @@ const ah = {
4109
4109
  new $(() => this.genTableOpts_()),
4110
4110
  "TABLE"
4111
4111
  ), this.setMutator(
4112
- new Wt.MutatorIcon(
4112
+ new Xt.MutatorIcon(
4113
4113
  ["select_column_item_v1"],
4114
4114
  this
4115
4115
  )
@@ -4283,12 +4283,12 @@ const ah = {
4283
4283
  this.setWarningText(null);
4284
4284
  }
4285
4285
  };
4286
- P.select_column_v1 = ah;
4286
+ U.select_column_v1 = ah;
4287
4287
  r.forBlock.select_column_v1 = function(e) {
4288
4288
  const t = r.quote_, n = e, o = n.space.id, i = n.table.id, s = [];
4289
4289
  for (let c = 0; c < n.itemCount_; c++) {
4290
- const _ = n.getFieldValue("COLUMN" + c), d = n.getFieldValue("ALIAS" + c);
4291
- s.push(`{ name: ${_}, alias: ${d} }`);
4290
+ const _ = n.getFieldValue("COLUMN" + c), h = n.getFieldValue("ALIAS" + c);
4291
+ s.push(`{ name: ${_}, alias: ${h} }`);
4292
4292
  }
4293
4293
  const a = JSON.stringify(s);
4294
4294
  return [`{spaceid:${t(o)},tableid:${t(i)},columns:${a}}`, p.ATOMIC];
@@ -4389,7 +4389,7 @@ const rh = {
4389
4389
  t.name !== this.table.name && (this.table.name = t.name), this.setWarningText(null);
4390
4390
  }
4391
4391
  };
4392
- P.select_table_v1 = rh;
4392
+ U.select_table_v1 = rh;
4393
4393
  r.forBlock.select_table_v1 = function(e) {
4394
4394
  const t = r.quote_, n = e, o = n.space.id, i = n.table.id;
4395
4395
  return [`{spaceid:${t(o)},tableid:${t(i)}}`, p.ATOMIC];
@@ -4399,13 +4399,13 @@ const lh = {
4399
4399
  this.appendDummyInput().appendField("%{BKY_DATA_LIST}"), this.appendStatementInput("STACK"), this.setStyle("object_blocks"), this.contextMenu = !1;
4400
4400
  }
4401
4401
  };
4402
- P.update_column_container_v1 = lh;
4402
+ U.update_column_container_v1 = lh;
4403
4403
  const ch = {
4404
4404
  init: function() {
4405
4405
  this.appendDummyInput().appendField("%{BKY_DATA_ITEM}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("object_blocks"), this.contextMenu = !1;
4406
4406
  }
4407
4407
  };
4408
- P.update_column_item_v1 = ch;
4408
+ U.update_column_item_v1 = ch;
4409
4409
  const uh = {
4410
4410
  init: function() {
4411
4411
  this.space = {
@@ -4421,7 +4421,7 @@ const uh = {
4421
4421
  new $(() => this.genTableOpts_()),
4422
4422
  "TABLE"
4423
4423
  ), this.setMutator(
4424
- new Wt.MutatorIcon(
4424
+ new Xt.MutatorIcon(
4425
4425
  ["update_column_item_v1"],
4426
4426
  this
4427
4427
  )
@@ -4614,12 +4614,12 @@ const uh = {
4614
4614
  this.setWarningText(null);
4615
4615
  }
4616
4616
  };
4617
- P.update_column_v1 = uh;
4617
+ U.update_column_v1 = uh;
4618
4618
  r.forBlock.update_column_v1 = function(e) {
4619
4619
  const t = r.quote_, n = e, o = n.space.id, i = n.table.id, s = [];
4620
4620
  for (let c = 0; c < n.itemCount_; c++) {
4621
- const _ = n.getFieldValue("COLUMN" + c), d = r.valueToCode(n, "ADD" + c, p.ATOMIC) || null;
4622
- s.push({ name: _, value: d });
4621
+ const _ = n.getFieldValue("COLUMN" + c), h = r.valueToCode(n, "ADD" + c, p.ATOMIC) || null;
4622
+ s.push({ name: _, value: h });
4623
4623
  }
4624
4624
  const a = JSON.stringify(s);
4625
4625
  return [`{spaceid:${t(o)},tableid:${t(i)},columns:${a}}`, p.ATOMIC];
@@ -4647,7 +4647,7 @@ const ph = {
4647
4647
  ]);
4648
4648
  }
4649
4649
  };
4650
- P.update_data_v1 = ph;
4650
+ U.update_data_v1 = ph;
4651
4651
  r.forBlock.update_data_v1 = function(e) {
4652
4652
  const t = r.INDENT, n = r.valueToCode(e, "TABLE", p.ATOMIC) || "null", o = r.valueToCode(e, "CONDITION", p.ATOMIC) || "null", i = r.statementToCode(e, "HANDLE");
4653
4653
  return `{
@@ -4664,17 +4664,17 @@ const _h = k.xml, dh = {
4664
4664
  this.appendDummyInput().appendField("%{BKY_LIST_V1_CREATE_CONTAINER_TITLE}"), this.appendStatementInput("STACK"), this.setStyle("list_blocks"), this.contextMenu = !1;
4665
4665
  }
4666
4666
  };
4667
- P.list_create_container_v1 = dh;
4667
+ U.list_create_container_v1 = dh;
4668
4668
  const hh = {
4669
4669
  init: function() {
4670
4670
  this.appendDummyInput().appendField("%{BKY_LIST_V1_CREATE_ITEM_TITLE}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("list_blocks"), this.contextMenu = !1;
4671
4671
  }
4672
4672
  };
4673
- P.list_create_item_v1 = hh;
4673
+ U.list_create_item_v1 = hh;
4674
4674
  const fh = {
4675
4675
  init: function() {
4676
4676
  this.itemCount_ = 0, this.setMutator(
4677
- new Wt.MutatorIcon(
4677
+ new Xt.MutatorIcon(
4678
4678
  ["list_create_item_v1"],
4679
4679
  this
4680
4680
  )
@@ -4755,7 +4755,7 @@ const fh = {
4755
4755
  this.removeInput("ADD" + e);
4756
4756
  }
4757
4757
  };
4758
- P.list_create_v1 = fh;
4758
+ U.list_create_v1 = fh;
4759
4759
  r.forBlock.list_create_v1 = function(e) {
4760
4760
  const t = e, n = new Array(t.itemCount_);
4761
4761
  for (let i = 0; i < t.itemCount_; i++)
@@ -4983,9 +4983,9 @@ const gh = {
4983
4983
  AND: "%{BKY_LOGIC_V1_OPERATION_TOOLTIP_AND}",
4984
4984
  OR: "%{BKY_LOGIC_V1_OPERATION_TOOLTIP_OR}"
4985
4985
  };
4986
- ye.register(
4986
+ Ie.register(
4987
4987
  "logic_op_tooltip_v1",
4988
- ye.buildTooltipForDropdown("OP", gh)
4988
+ Ie.buildTooltipForDropdown("OP", gh)
4989
4989
  );
4990
4990
  C([
4991
4991
  {
@@ -5027,7 +5027,7 @@ const mh = {
5027
5027
  this.prevBlocks_[0] = this.getInputTargetBlock("A"), this.prevBlocks_[1] = this.getInputTargetBlock("B");
5028
5028
  }
5029
5029
  };
5030
- ye.register(
5030
+ Ie.register(
5031
5031
  "logic_compare_v1",
5032
5032
  function() {
5033
5033
  this.mixin(mh);
@@ -5206,7 +5206,7 @@ const Th = {
5206
5206
  n == null || n.reconnect(this, "ELSE");
5207
5207
  }
5208
5208
  };
5209
- ye.registerMutator(
5209
+ Ie.registerMutator(
5210
5210
  "logic_if_v1_mutator",
5211
5211
  Th,
5212
5212
  void 0,
@@ -5369,7 +5369,7 @@ const Eh = {
5369
5369
  this.prevParentConnection_ = o;
5370
5370
  }
5371
5371
  };
5372
- ye.registerMixin("logic_ternary_v1", Eh);
5372
+ Ie.registerMixin("logic_ternary_v1", Eh);
5373
5373
  C([
5374
5374
  {
5375
5375
  type: "logic_ternary_v1",
@@ -5426,13 +5426,13 @@ const Ah = {
5426
5426
  }
5427
5427
  }
5428
5428
  };
5429
- ye.registerMixin(
5429
+ Ie.registerMixin(
5430
5430
  "contextMenu_newGetVariableBlock_v1",
5431
5431
  Ah
5432
5432
  );
5433
- ye.register(
5433
+ Ie.register(
5434
5434
  "flow_control_tooltip_v1",
5435
- ye.buildTooltipForDropdown("MODE", {
5435
+ Ie.buildTooltipForDropdown("MODE", {
5436
5436
  BREAK: "%{BKY_LOOP_V1_FLOW_CONTROL_TOOLTIP_BREAK}",
5437
5437
  CONTINUE: "%{BKY_LOOP_V1_FLOW_CONTROL_TOOLTIP_CONTINUE}"
5438
5438
  })
@@ -5467,7 +5467,7 @@ const vh = /* @__PURE__ */ new Set([
5467
5467
  }
5468
5468
  }
5469
5469
  };
5470
- ye.registerMixin(
5470
+ Ie.registerMixin(
5471
5471
  "flow_control_in_loop_check_v1",
5472
5472
  Oh
5473
5473
  );
@@ -5492,9 +5492,9 @@ C([
5492
5492
  extensions: ["flow_control_tooltip_v1", "flow_control_in_loop_check_v1"]
5493
5493
  }
5494
5494
  ]);
5495
- ye.register(
5495
+ Ie.register(
5496
5496
  "for_tooltip_v1",
5497
- ye.buildTooltipWithFieldText(
5497
+ Ie.buildTooltipWithFieldText(
5498
5498
  "%{BKY_LOOP_V1_FOR_TOOLTIP}",
5499
5499
  "VAR"
5500
5500
  )
@@ -5543,9 +5543,9 @@ C([
5543
5543
  extensions: ["contextMenu_newGetVariableBlock_v1", "for_tooltip_v1"]
5544
5544
  }
5545
5545
  ]);
5546
- ye.register(
5546
+ Ie.register(
5547
5547
  "for_each_tooltip_v1",
5548
- ye.buildTooltipWithFieldText(
5548
+ Ie.buildTooltipWithFieldText(
5549
5549
  "%{BKY_LOOP_V1_FOR_EACH_TOOLTIP}",
5550
5550
  "VAR"
5551
5551
  )
@@ -5580,9 +5580,9 @@ C([
5580
5580
  extensions: ["contextMenu_newGetVariableBlock_v1", "for_each_tooltip_v1"]
5581
5581
  }
5582
5582
  ]);
5583
- ye.register(
5583
+ Ie.register(
5584
5584
  "loop_while_until_tooltip_v1",
5585
- ye.buildTooltipForDropdown("MODE", {
5585
+ Ie.buildTooltipForDropdown("MODE", {
5586
5586
  WHILE: "%{BKY_LOOP_V1_WHILE_UNTIL_TOOLTIP_WHILE}",
5587
5587
  UNTIL: "%{BKY_LOOP_V1_WHILE_UNTIL_TOOLTIP_UNTIL}"
5588
5588
  })
@@ -5666,9 +5666,9 @@ const bh = {
5666
5666
  STD_DEV: "%{BKY_MATH_V1_ON_LIST_TOOLTIP_STD_DEV}",
5667
5667
  RANDOM: "%{BKY_MATH_V1_ON_LIST_TOOLTIP_RANDOM}"
5668
5668
  };
5669
- ye.register(
5669
+ Ie.register(
5670
5670
  "math_op_tooltip_v1",
5671
- ye.buildTooltipForDropdown("OP", bh)
5671
+ Ie.buildTooltipForDropdown("OP", bh)
5672
5672
  );
5673
5673
  C([
5674
5674
  {
@@ -6278,17 +6278,17 @@ const Ih = k.xml, yh = {
6278
6278
  ), this.appendStatementInput("STACK"), this.setStyle("object_blocks"), this.contextMenu = !1;
6279
6279
  }
6280
6280
  };
6281
- P.object_create_container_v1 = yh;
6281
+ U.object_create_container_v1 = yh;
6282
6282
  const Ch = {
6283
6283
  init: function() {
6284
6284
  this.appendDummyInput().appendField("%{BKY_OBJECT_V1_CREATE_ITEM_TITLE}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("object_blocks"), this.contextMenu = !1;
6285
6285
  }
6286
6286
  };
6287
- P.object_create_item_v1 = Ch;
6287
+ U.object_create_item_v1 = Ch;
6288
6288
  const Nh = {
6289
6289
  init: function() {
6290
6290
  this.itemCount_ = 0, this.appendDummyInput().appendField("%{BKY_OBJECT_V1_CREATE_TITLE}"), this.setMutator(
6291
- new Wt.MutatorIcon(
6291
+ new Xt.MutatorIcon(
6292
6292
  ["object_create_item_v1"],
6293
6293
  this
6294
6294
  )
@@ -6361,7 +6361,7 @@ const Nh = {
6361
6361
  this.removeInput("ADD" + e);
6362
6362
  }
6363
6363
  };
6364
- P.object_create_v1 = Nh;
6364
+ U.object_create_v1 = Nh;
6365
6365
  r.forBlock.object_create_v1 = function(e) {
6366
6366
  const t = e;
6367
6367
  let n = "{";
@@ -6624,7 +6624,7 @@ const sa = k.xml, kh = {
6624
6624
  this.appendDummyInput().appendField("%{BKY_PROCEDURE_V1_DEF_CONTAINER_TITLE}").appendField(new Yl(!1), "WITHRETURN"), this.appendStatementInput("STACK"), this.setStyle("procedure_blocks"), this.contextMenu = !1;
6625
6625
  }
6626
6626
  };
6627
- P.procedure_def_container_v1 = kh;
6627
+ U.procedure_def_container_v1 = kh;
6628
6628
  const Lh = {
6629
6629
  init: function() {
6630
6630
  const e = new Vo(Pi.DEFAULT_ARG);
@@ -6647,7 +6647,7 @@ const Lh = {
6647
6647
  return e;
6648
6648
  }
6649
6649
  };
6650
- P.procedure_def_item_v1 = Lh;
6650
+ U.procedure_def_item_v1 = Lh;
6651
6651
  const Sh = {
6652
6652
  init: function() {
6653
6653
  this.withReturn = !1, this.args = [];
@@ -6655,7 +6655,7 @@ const Sh = {
6655
6655
  Pi.findLegalName("", this)
6656
6656
  );
6657
6657
  e.setValidator(Pi.rename), e.setSpellcheck(!1), this.appendDummyInput("DUMMY").appendField(e, "NAME"), this.appendStatementInput("HANDLE"), this.setMutator(
6658
- new Wt.MutatorIcon(
6658
+ new Xt.MutatorIcon(
6659
6659
  ["procedure_def_item_v1"],
6660
6660
  this
6661
6661
  )
@@ -6753,7 +6753,7 @@ const Sh = {
6753
6753
  }
6754
6754
  }
6755
6755
  };
6756
- P.procedure_def_v1 = Sh;
6756
+ U.procedure_def_v1 = Sh;
6757
6757
  const Bh = k.xml, Rh = {
6758
6758
  init: function() {
6759
6759
  this.withReturn = !1, this.appendDummyInput("DUMMY").appendField("%{BKY_PROCEDURE_RETURN}"), this.appendValueInput("VALUE").appendField("%{BKY_PROCEDURE_RETURN}").setVisible(!1), this.setPreviousStatement(!0), this.setStyle("procedure_blocks"), this.setTooltip("%{BKY_PROCEDURE_V1_RETURN_TOOLTIP}"), this.setHelpUrl("%{BKY_PROCEDURE_V1_RETURN_HELPURL}");
@@ -6810,7 +6810,7 @@ const Bh = k.xml, Rh = {
6810
6810
  e.type === "procedure_def_v1" || e.type === "func_entry_v1" ? this.setWarningText(null) : this.setWarningText("the block can only be used in procedure block");
6811
6811
  }
6812
6812
  };
6813
- P.procedure_return_v1 = Rh;
6813
+ U.procedure_return_v1 = Rh;
6814
6814
  r.forBlock.procedure_return_v1 = function(e) {
6815
6815
  const t = e;
6816
6816
  return t.withReturn ? `return ${r.valueToCode(t, "VALUE", p.NONE) || "null"};
@@ -6842,9 +6842,9 @@ const Dh = /^\s*'([^']|\\')*'\s*$/;
6842
6842
  function fo(e) {
6843
6843
  return Dh.test(e) ? [e, p.ATOMIC] : [`String(${e})`, p.FUNCTION_CALL];
6844
6844
  }
6845
- ye.register(
6845
+ Ie.register(
6846
6846
  "text_append_tooltip_v1",
6847
- ye.buildTooltipWithFieldText(
6847
+ Ie.buildTooltipWithFieldText(
6848
6848
  "%{BKY_TEXT_V1_APPEND_TOOLTIP}",
6849
6849
  "VAR"
6850
6850
  )
@@ -7121,9 +7121,9 @@ const Mh = k.xml, Ph = {
7121
7121
  this.removeInput("ADD" + e);
7122
7122
  }
7123
7123
  }, Uh = function() {
7124
- this.itemCount_ = 2, this.updateShape_(), this.setMutator(new Wt.MutatorIcon(["text_join_item_v1"], this));
7124
+ this.itemCount_ = 2, this.updateShape_(), this.setMutator(new Xt.MutatorIcon(["text_join_item_v1"], this));
7125
7125
  };
7126
- ye.registerMutator(
7126
+ Ie.registerMutator(
7127
7127
  "text_join_mutator_v1",
7128
7128
  Ph,
7129
7129
  Uh
@@ -7384,7 +7384,7 @@ const xh = {
7384
7384
  ));
7385
7385
  }
7386
7386
  };
7387
- P.create_timer_v1 = xh;
7387
+ U.create_timer_v1 = xh;
7388
7388
  r.forBlock.create_timer_v1 = function(e) {
7389
7389
  const t = r.valueToCode(e, "INTERVAL", p.ATOMIC) || "1000", n = r.valueToCode(e, "LOOP", p.ATOMIC) || "false", o = r.valueToCode(e, "COUNT", p.ATOMIC) || "1", i = r.valueToCode(e, "IMMEDIATE", p.ATOMIC) || "false", s = r.statementToCode(e, "CALLBACK");
7390
7390
  return `__createTimerV1__(${t}, ${n}, ${o}, ${i}, function() {
@@ -7453,7 +7453,7 @@ const wh = {
7453
7453
  t.deleteVariableById(o.getId()), t.refreshToolboxSelection();
7454
7454
  };
7455
7455
  };
7456
- ye.registerMixin(
7456
+ Ie.registerMixin(
7457
7457
  "context_menu_variable_v1",
7458
7458
  wh
7459
7459
  );
@@ -7665,25 +7665,25 @@ function Yh() {
7665
7665
  const No = {
7666
7666
  name: "DATA_CATEGORY",
7667
7667
  callback: Yh
7668
- }, tn = k.xml;
7668
+ }, nn = k.xml;
7669
7669
  function Kh(e) {
7670
7670
  const t = [];
7671
7671
  if (e === "flow") {
7672
7672
  {
7673
- const n = tn.createElement("block");
7673
+ const n = nn.createElement("block");
7674
7674
  n.setAttribute("type", "on_flow_state_event_v1"), t.push(n);
7675
7675
  }
7676
7676
  {
7677
- const n = tn.createElement("block");
7677
+ const n = nn.createElement("block");
7678
7678
  n.setAttribute("type", "compute_debug_trace_v1");
7679
7679
  {
7680
- const o = tn.createElement("value");
7680
+ const o = nn.createElement("value");
7681
7681
  o.setAttribute("name", "OBJECT");
7682
7682
  {
7683
- const i = tn.createElement("shadow");
7683
+ const i = nn.createElement("shadow");
7684
7684
  i.setAttribute("type", "text_v1");
7685
7685
  {
7686
- const s = tn.createElement("field");
7686
+ const s = nn.createElement("field");
7687
7687
  s.setAttribute("name", "TEXT"), i.appendChild(s);
7688
7688
  }
7689
7689
  o.appendChild(i);
@@ -7694,7 +7694,7 @@ function Kh(e) {
7694
7694
  }
7695
7695
  } else if (e === "func") {
7696
7696
  if (gn("func").length > 0) {
7697
- const n = tn.createElement("block");
7697
+ const n = nn.createElement("block");
7698
7698
  n.setAttribute("type", "call_func_internal_v1"), t.push(n);
7699
7699
  }
7700
7700
  } else
@@ -7704,37 +7704,37 @@ function Kh(e) {
7704
7704
  const ko = {
7705
7705
  name: "FLOW_CATEGORY",
7706
7706
  callback: Kh
7707
- }, Tt = k.xml;
7707
+ }, Et = k.xml;
7708
7708
  function Hh(e) {
7709
7709
  const { activeFunc: t } = V.compute, n = [];
7710
7710
  if (e === "func") {
7711
7711
  {
7712
- const o = Tt.createElement("block");
7712
+ const o = Et.createElement("block");
7713
7713
  o.setAttribute("type", "func_entry_v1"), n.push(o);
7714
7714
  }
7715
7715
  if (t.outputs.length > 0) {
7716
- const o = Tt.createElement("block");
7716
+ const o = Et.createElement("block");
7717
7717
  o.setAttribute("type", "set_func_output_v1"), n.push(o);
7718
7718
  }
7719
7719
  {
7720
- const o = Tt.createElement("block");
7720
+ const o = Et.createElement("block");
7721
7721
  o.setAttribute("type", "procedure_return_v1"), n.push(o);
7722
7722
  }
7723
7723
  if (gn("func").length > 0) {
7724
- const o = Tt.createElement("block");
7724
+ const o = Et.createElement("block");
7725
7725
  o.setAttribute("type", "call_func_internal_v1"), n.push(o);
7726
7726
  }
7727
7727
  {
7728
- const o = Tt.createElement("block");
7728
+ const o = Et.createElement("block");
7729
7729
  o.setAttribute("type", "compute_debug_trace_v1");
7730
7730
  {
7731
- const i = Tt.createElement("value");
7731
+ const i = Et.createElement("value");
7732
7732
  i.setAttribute("name", "OBJECT");
7733
7733
  {
7734
- const s = Tt.createElement("shadow");
7734
+ const s = Et.createElement("shadow");
7735
7735
  s.setAttribute("type", "text_v1");
7736
7736
  {
7737
- const a = Tt.createElement("field");
7737
+ const a = Et.createElement("field");
7738
7738
  a.setAttribute("name", "TEXT"), s.appendChild(a);
7739
7739
  }
7740
7740
  i.appendChild(s);
@@ -7745,7 +7745,7 @@ function Hh(e) {
7745
7745
  }
7746
7746
  } else if (e === "flow") {
7747
7747
  if (gn("func").length > 0) {
7748
- const o = Tt.createElement("block");
7748
+ const o = Et.createElement("block");
7749
7749
  o.setAttribute("type", "call_func_internal_v1"), n.push(o);
7750
7750
  }
7751
7751
  } else
@@ -7998,7 +7998,7 @@ class Wh {
7998
7998
  return T.CROSS_TAB_COPY ? T.CROSS_TAB_COPY : "Copy";
7999
7999
  },
8000
8000
  preconditionFn: function() {
8001
- const n = sn();
8001
+ const n = an();
8002
8002
  return !n || !no(n) || !n.isDeletable() || !ui(n) || !n.isMovable() || !On(n) ? "disabled" : "enabled";
8003
8003
  },
8004
8004
  callback: function(n) {
@@ -8008,11 +8008,11 @@ class Wh {
8008
8008
  JSON.stringify((o = n.block) == null ? void 0 : o.toCopyData())
8009
8009
  );
8010
8010
  },
8011
- scopeType: $t.ScopeType.BLOCK,
8011
+ scopeType: Gt.ScopeType.BLOCK,
8012
8012
  id: "blockCopyToStorage",
8013
8013
  weight: 0
8014
8014
  };
8015
- $t.registry.register(t);
8015
+ Gt.registry.register(t);
8016
8016
  }
8017
8017
  blockPasteFromStorageContextMenu() {
8018
8018
  const t = {
@@ -8034,11 +8034,11 @@ class Wh {
8034
8034
  const i = JSON.parse(o);
8035
8035
  i && n.workspace && ks.paste(i, n.workspace);
8036
8036
  },
8037
- scopeType: $t.ScopeType.WORKSPACE,
8037
+ scopeType: Gt.ScopeType.WORKSPACE,
8038
8038
  id: "blockPasteFromStorage",
8039
8039
  weight: 0
8040
8040
  };
8041
- $t.registry.register(t);
8041
+ Gt.registry.register(t);
8042
8042
  }
8043
8043
  blockCopyToStorageShortcut() {
8044
8044
  const t = Ye.registry.createSerializedKey(
@@ -8055,12 +8055,12 @@ class Wh {
8055
8055
  preconditionFn: function(s) {
8056
8056
  if (s.options.readOnly || pi.inProgress())
8057
8057
  return !1;
8058
- const a = sn();
8058
+ const a = an();
8059
8059
  return !(!a || !no(a) || !a.isDeletable() || !ui(a) || !a.isMovable() || !On(a));
8060
8060
  },
8061
8061
  callback: function(s, a) {
8062
8062
  a.preventDefault();
8063
- const l = sn();
8063
+ const l = an();
8064
8064
  if (!l || !On(l))
8065
8065
  return !1;
8066
8066
  const c = l.toCopyData();
@@ -8085,12 +8085,12 @@ class Wh {
8085
8085
  preconditionFn: function(s) {
8086
8086
  if (s.options.readOnly || pi.inProgress())
8087
8087
  return !1;
8088
- const a = sn();
8088
+ const a = an();
8089
8089
  return !(!a || !no(a) || !a.isDeletable() || !ui(a) || !a.isMovable() || !On(a) || a.workspace.isFlyout);
8090
8090
  },
8091
8091
  callback: function(s, a) {
8092
8092
  a.preventDefault();
8093
- const l = sn();
8093
+ const l = an();
8094
8094
  if (!l || !no(l) || !l.isDeletable() || !On(l))
8095
8095
  return !1;
8096
8096
  const c = l.toCopyData();
@@ -8136,7 +8136,7 @@ class Wh {
8136
8136
  }
8137
8137
  class Xh {
8138
8138
  init() {
8139
- const t = $t.registry.getItem("cleanWorkspace");
8139
+ const t = Gt.registry.getItem("cleanWorkspace");
8140
8140
  t && (t.callback = function(n) {
8141
8141
  const o = n.workspace;
8142
8142
  if (!o)
@@ -8160,7 +8160,7 @@ function _r(e) {
8160
8160
  }
8161
8161
  class zh {
8162
8162
  init() {
8163
- const t = $t.registry.getItem("blockDisable");
8163
+ const t = Gt.registry.getItem("blockDisable");
8164
8164
  t && (t.preconditionFn = function(n) {
8165
8165
  const o = n.block;
8166
8166
  return o && !o.isInFlyout && o.workspace.options.disable && o.isEditable() ? o.getInheritedDisabled() || _r(o) ? "disabled" : "enabled" : "hidden";
@@ -8933,7 +8933,7 @@ class dr extends _i {
8933
8933
  ), c.style.backgroundColor = o[l], o[l] === i && (c.className = "blocklyColourSelected", this.highlightedIndex = l);
8934
8934
  }
8935
8935
  this.boundEvents.push(
8936
- en.conditionalBind(
8936
+ tn.conditionalBind(
8937
8937
  s,
8938
8938
  "pointerdown",
8939
8939
  this,
@@ -8941,7 +8941,7 @@ class dr extends _i {
8941
8941
  !0
8942
8942
  )
8943
8943
  ), this.boundEvents.push(
8944
- en.conditionalBind(
8944
+ tn.conditionalBind(
8945
8945
  s,
8946
8946
  "pointermove",
8947
8947
  this,
@@ -8949,7 +8949,7 @@ class dr extends _i {
8949
8949
  !0
8950
8950
  )
8951
8951
  ), this.boundEvents.push(
8952
- en.conditionalBind(
8952
+ tn.conditionalBind(
8953
8953
  s,
8954
8954
  "pointerenter",
8955
8955
  this,
@@ -8957,7 +8957,7 @@ class dr extends _i {
8957
8957
  !0
8958
8958
  )
8959
8959
  ), this.boundEvents.push(
8960
- en.conditionalBind(
8960
+ tn.conditionalBind(
8961
8961
  s,
8962
8962
  "pointerleave",
8963
8963
  this,
@@ -8965,7 +8965,7 @@ class dr extends _i {
8965
8965
  !0
8966
8966
  )
8967
8967
  ), this.boundEvents.push(
8968
- en.conditionalBind(
8968
+ tn.conditionalBind(
8969
8969
  s,
8970
8970
  "keydown",
8971
8971
  this,
@@ -8977,7 +8977,7 @@ class dr extends _i {
8977
8977
  /** Disposes of events and DOM-references belonging to the colour editor. */
8978
8978
  dropdownDispose() {
8979
8979
  for (const n of this.boundEvents)
8980
- en.unbind(n);
8980
+ tn.unbind(n);
8981
8981
  this.boundEvents.length = 0, this.picker = null, this.highlightedIndex = null;
8982
8982
  }
8983
8983
  static fromJson(n) {
@@ -10052,7 +10052,7 @@ const zo = {
10052
10052
  custom: lr.name
10053
10053
  }
10054
10054
  ]
10055
- }, lf = /* @__PURE__ */ ht({
10055
+ }, lf = /* @__PURE__ */ gt({
10056
10056
  __name: "index",
10057
10057
  props: {
10058
10058
  lock: { type: Boolean }
@@ -10066,36 +10066,31 @@ const zo = {
10066
10066
  const i = Pt();
10067
10067
  if (!i)
10068
10068
  return;
10069
- const s = $t.registry.getItem("cleanWorkspace");
10069
+ const s = Gt.registry.getItem("cleanWorkspace");
10070
10070
  s && s.callback({ workspace: i }, new PointerEvent("dummy"));
10071
10071
  };
10072
10072
  return dn(() => {
10073
- ut.on("cleanWorkspace", o);
10073
+ _t.on("cleanWorkspace", o);
10074
10074
  }), Oo(() => {
10075
- ut.off("cleanWorkspace", o);
10075
+ _t.off("cleanWorkspace", o);
10076
10076
  }), (i, s) => {
10077
- const a = Ie("v-btn"), l = Ie("v-fade-transition"), c = Ie("v-tooltip");
10078
- return Re(), pt(c, {
10077
+ const a = Re("v-btn"), l = Re("v-tooltip");
10078
+ return ke(), dt(l, {
10079
10079
  text: X(t)("x-block-lib.tip.hotkeyCtrlQ")
10080
10080
  }, {
10081
- activator: Ze(({ props: _ }) => [
10082
- he(l, null, {
10083
- default: Ze(() => [
10084
- he(a, Zi(_, {
10085
- variant: "outlined",
10086
- density: "comfortable",
10087
- icon: X(oc),
10088
- onClick: s[0] || (s[0] = (d) => X(ut).emit("cleanWorkspace"))
10089
- }), null, 16, ["icon"])
10090
- ]),
10091
- _: 2
10092
- }, 1024)
10081
+ activator: at(({ props: c }) => [
10082
+ Te(a, Zi(c, {
10083
+ variant: "outlined",
10084
+ density: "comfortable",
10085
+ icon: X(oc),
10086
+ onClick: s[0] || (s[0] = (_) => X(_t).emit("cleanWorkspace"))
10087
+ }), null, 16, ["icon"])
10093
10088
  ]),
10094
10089
  _: 1
10095
10090
  }, 8, ["text"]);
10096
10091
  };
10097
10092
  }
10098
- }), cf = /* @__PURE__ */ ht({
10093
+ }), cf = /* @__PURE__ */ gt({
10099
10094
  __name: "index",
10100
10095
  props: {
10101
10096
  modelValue: { type: Boolean, required: !0 },
@@ -10105,29 +10100,24 @@ const zo = {
10105
10100
  setup(e) {
10106
10101
  const { t } = Kn(), n = Di(e, "modelValue");
10107
10102
  return (o, i) => {
10108
- const s = Ie("v-btn"), a = Ie("v-fade-transition"), l = Ie("v-tooltip");
10109
- return Re(), pt(l, {
10103
+ const s = Re("v-btn"), a = Re("v-tooltip");
10104
+ return ke(), dt(a, {
10110
10105
  text: X(t)("x-block-lib.tip.hotkeyCtrlW")
10111
10106
  }, {
10112
- activator: Ze(({ props: c }) => [
10113
- he(a, null, {
10114
- default: Ze(() => [
10115
- he(s, Zi(c, {
10116
- variant: "outlined",
10117
- density: "comfortable",
10118
- icon: n.value ? X(ac) : X(rc),
10119
- onClick: i[0] || (i[0] = (_) => n.value = !n.value)
10120
- }), null, 16, ["icon"])
10121
- ]),
10122
- _: 2
10123
- }, 1024)
10107
+ activator: at(({ props: l }) => [
10108
+ Te(s, Zi(l, {
10109
+ variant: "outlined",
10110
+ density: "comfortable",
10111
+ icon: n.value ? X(ac) : X(rc),
10112
+ onClick: i[0] || (i[0] = (c) => n.value = !n.value)
10113
+ }), null, 16, ["icon"])
10124
10114
  ]),
10125
10115
  _: 1
10126
10116
  }, 8, ["text"]);
10127
10117
  };
10128
10118
  }
10129
10119
  });
10130
- var uf = Object.defineProperty, Bo = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, ra = (e, t, n) => t in e ? uf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, rn = (e, t) => {
10120
+ var uf = Object.defineProperty, Bo = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, ra = (e, t, n) => t in e ? uf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ln = (e, t) => {
10131
10121
  for (var n in t || (t = {}))
10132
10122
  gr.call(t, n) && ra(e, n, t[n]);
10133
10123
  if (Bo)
@@ -10189,7 +10179,7 @@ function Tf(e, t, n = null) {
10189
10179
  };
10190
10180
  }
10191
10181
  function Ef(e, t) {
10192
- const n = rn({}, e);
10182
+ const n = ln({}, e);
10193
10183
  return Object.keys(t).forEach((o) => {
10194
10184
  n[o] ? n[o] = Tf(e[o], t[o]) : n[o] = t[o];
10195
10185
  }), n;
@@ -10223,7 +10213,7 @@ function da(e, t) {
10223
10213
  }
10224
10214
  return n;
10225
10215
  }
10226
- function dt(e) {
10216
+ function ft(e) {
10227
10217
  for (var t = 1; t < arguments.length; t++) {
10228
10218
  var n = arguments[t] != null ? arguments[t] : {};
10229
10219
  t % 2 ? da(Object(n), !0).forEach(function(o) {
@@ -10291,7 +10281,7 @@ var yt = vt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), jn = vt(/E
10291
10281
  function te(e, t, n) {
10292
10282
  e.addEventListener(t, n, !yt && Or);
10293
10283
  }
10294
- function ee(e, t, n) {
10284
+ function Z(e, t, n) {
10295
10285
  e.removeEventListener(t, n, !yt && Or);
10296
10286
  }
10297
10287
  function Ro(e, t) {
@@ -10335,7 +10325,7 @@ function qe(e, t, n) {
10335
10325
  e.className = (o + (n ? " " + t : "")).replace(fa, " ");
10336
10326
  }
10337
10327
  }
10338
- function D(e, t, n) {
10328
+ function M(e, t, n) {
10339
10329
  var o = e && e.style;
10340
10330
  if (o) {
10341
10331
  if (n === void 0)
@@ -10349,7 +10339,7 @@ function _n(e, t) {
10349
10339
  n = e;
10350
10340
  else
10351
10341
  do {
10352
- var o = D(e, "transform");
10342
+ var o = M(e, "transform");
10353
10343
  o && o !== "none" && (n = o + " " + n);
10354
10344
  } while (!t && (e = e.parentNode));
10355
10345
  var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
@@ -10365,41 +10355,41 @@ function br(e, t, n) {
10365
10355
  }
10366
10356
  return [];
10367
10357
  }
10368
- function _t() {
10358
+ function ht() {
10369
10359
  var e = document.scrollingElement;
10370
10360
  return e || document.documentElement;
10371
10361
  }
10372
- function ke(e, t, n, o, i) {
10362
+ function Ne(e, t, n, o, i) {
10373
10363
  if (!(!e.getBoundingClientRect && e !== window)) {
10374
- var s, a, l, c, _, d, h;
10375
- if (e !== window && e.parentNode && e !== _t() ? (s = e.getBoundingClientRect(), a = s.top, l = s.left, c = s.bottom, _ = s.right, d = s.height, h = s.width) : (a = 0, l = 0, c = window.innerHeight, _ = window.innerWidth, d = window.innerHeight, h = window.innerWidth), (t || n) && e !== window && (i = i || e.parentNode, !yt))
10364
+ var s, a, l, c, _, h, d;
10365
+ if (e !== window && e.parentNode && e !== ht() ? (s = e.getBoundingClientRect(), a = s.top, l = s.left, c = s.bottom, _ = s.right, h = s.height, d = s.width) : (a = 0, l = 0, c = window.innerHeight, _ = window.innerWidth, h = window.innerHeight, d = window.innerWidth), (t || n) && e !== window && (i = i || e.parentNode, !yt))
10376
10366
  do
10377
- if (i && i.getBoundingClientRect && (D(i, "transform") !== "none" || n && D(i, "position") !== "static")) {
10367
+ if (i && i.getBoundingClientRect && (M(i, "transform") !== "none" || n && M(i, "position") !== "static")) {
10378
10368
  var g = i.getBoundingClientRect();
10379
- a -= g.top + parseInt(D(i, "border-top-width")), l -= g.left + parseInt(D(i, "border-left-width")), c = a + s.height, _ = l + s.width;
10369
+ a -= g.top + parseInt(M(i, "border-top-width")), l -= g.left + parseInt(M(i, "border-left-width")), c = a + s.height, _ = l + s.width;
10380
10370
  break;
10381
10371
  }
10382
10372
  while (i = i.parentNode);
10383
10373
  if (o && e !== window) {
10384
10374
  var m = _n(i || e), I = m && m.a, O = m && m.d;
10385
- m && (a /= O, l /= I, h /= I, d /= O, c = a + d, _ = l + h);
10375
+ m && (a /= O, l /= I, d /= I, h /= O, c = a + h, _ = l + d);
10386
10376
  }
10387
10377
  return {
10388
10378
  top: a,
10389
10379
  left: l,
10390
10380
  bottom: c,
10391
10381
  right: _,
10392
- width: h,
10393
- height: d
10382
+ width: d,
10383
+ height: h
10394
10384
  };
10395
10385
  }
10396
10386
  }
10397
10387
  function ga(e, t, n) {
10398
- for (var o = Dt(e, !0), i = ke(e)[t]; o; ) {
10399
- var s = ke(o)[n], a = void 0;
10388
+ for (var o = Dt(e, !0), i = Ne(e)[t]; o; ) {
10389
+ var s = Ne(o)[n], a = void 0;
10400
10390
  if (a = i >= s, !a)
10401
10391
  return o;
10402
- if (o === _t())
10392
+ if (o === ht())
10403
10393
  break;
10404
10394
  o = Dt(o, !1);
10405
10395
  }
@@ -10407,7 +10397,7 @@ function ga(e, t, n) {
10407
10397
  }
10408
10398
  function mn(e, t, n, o) {
10409
10399
  for (var i = 0, s = 0, a = e.children; s < a.length; ) {
10410
- if (a[s].style.display !== "none" && a[s] !== M.ghost && (o || a[s] !== M.dragged) && it(a[s], n.draggable, e, !1)) {
10400
+ if (a[s].style.display !== "none" && a[s] !== P.ghost && (o || a[s] !== P.dragged) && it(a[s], n.draggable, e, !1)) {
10411
10401
  if (i === t)
10412
10402
  return a[s];
10413
10403
  i++;
@@ -10417,20 +10407,20 @@ function mn(e, t, n, o) {
10417
10407
  return null;
10418
10408
  }
10419
10409
  function ls(e, t) {
10420
- for (var n = e.lastElementChild; n && (n === M.ghost || D(n, "display") === "none" || t && !Ro(n, t)); )
10410
+ for (var n = e.lastElementChild; n && (n === P.ghost || M(n, "display") === "none" || t && !Ro(n, t)); )
10421
10411
  n = n.previousElementSibling;
10422
10412
  return n || null;
10423
10413
  }
10424
- function et(e, t) {
10414
+ function Ze(e, t) {
10425
10415
  var n = 0;
10426
10416
  if (!e || !e.parentNode)
10427
10417
  return -1;
10428
10418
  for (; e = e.previousElementSibling; )
10429
- e.nodeName.toUpperCase() !== "TEMPLATE" && e !== M.clone && (!t || Ro(e, t)) && n++;
10419
+ e.nodeName.toUpperCase() !== "TEMPLATE" && e !== P.clone && (!t || Ro(e, t)) && n++;
10430
10420
  return n;
10431
10421
  }
10432
10422
  function ma(e) {
10433
- var t = 0, n = 0, o = _t();
10423
+ var t = 0, n = 0, o = ht();
10434
10424
  if (e)
10435
10425
  do {
10436
10426
  var i = _n(e), s = i.a, a = i.d;
@@ -10449,21 +10439,21 @@ function kf(e, t) {
10449
10439
  }
10450
10440
  function Dt(e, t) {
10451
10441
  if (!e || !e.getBoundingClientRect)
10452
- return _t();
10442
+ return ht();
10453
10443
  var n = e, o = !1;
10454
10444
  do
10455
10445
  if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
10456
- var i = D(n);
10446
+ var i = M(n);
10457
10447
  if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
10458
10448
  if (!n.getBoundingClientRect || n === document.body)
10459
- return _t();
10449
+ return ht();
10460
10450
  if (o || t)
10461
10451
  return n;
10462
10452
  o = !0;
10463
10453
  }
10464
10454
  }
10465
10455
  while (n = n.parentNode);
10466
- return _t();
10456
+ return ht();
10467
10457
  }
10468
10458
  function Lf(e, t) {
10469
10459
  if (e && t)
@@ -10500,7 +10490,7 @@ function Nr(e, t, n) {
10500
10490
  return Array.from(e.children).forEach(function(i) {
10501
10491
  var s, a, l, c;
10502
10492
  if (!(!it(i, t.draggable, e, !1) || i.animated || i === n)) {
10503
- var _ = ke(i);
10493
+ var _ = Ne(i);
10504
10494
  o.left = Math.min((s = o.left) !== null && s !== void 0 ? s : 1 / 0, _.left), o.top = Math.min((a = o.top) !== null && a !== void 0 ? a : 1 / 0, _.top), o.right = Math.max((l = o.right) !== null && l !== void 0 ? l : -1 / 0, _.right), o.bottom = Math.max((c = o.bottom) !== null && c !== void 0 ? c : -1 / 0, _.bottom);
10505
10495
  }
10506
10496
  }), o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
@@ -10513,12 +10503,12 @@ function Bf() {
10513
10503
  if (e = [], !!this.options.animation) {
10514
10504
  var n = [].slice.call(this.el.children);
10515
10505
  n.forEach(function(o) {
10516
- if (!(D(o, "display") === "none" || o === M.ghost)) {
10506
+ if (!(M(o, "display") === "none" || o === P.ghost)) {
10517
10507
  e.push({
10518
10508
  target: o,
10519
- rect: ke(o)
10509
+ rect: Ne(o)
10520
10510
  });
10521
- var i = dt({}, e[e.length - 1].rect);
10511
+ var i = ft({}, e[e.length - 1].rect);
10522
10512
  if (o.thisAnimationDuration) {
10523
10513
  var s = _n(o, !0);
10524
10514
  s && (i.top -= s.f, i.left -= s.e);
@@ -10544,9 +10534,9 @@ function Bf() {
10544
10534
  }
10545
10535
  var i = !1, s = 0;
10546
10536
  e.forEach(function(a) {
10547
- var l = 0, c = a.target, _ = c.fromRect, d = ke(c), h = c.prevFromRect, g = c.prevToRect, m = a.rect, I = _n(c, !0);
10548
- I && (d.top -= I.f, d.left -= I.e), c.toRect = d, c.thisAnimationDuration && bi(h, d) && !bi(_, d) && // Make sure animatingRect is on line between toRect & fromRect
10549
- (m.top - d.top) / (m.left - d.left) === (_.top - d.top) / (_.left - d.left) && (l = Df(m, h, g, o.options)), bi(d, _) || (c.prevFromRect = _, c.prevToRect = d, l || (l = o.options.animation), o.animate(c, m, d, l)), l && (i = !0, s = Math.max(s, l), clearTimeout(c.animationResetTimer), c.animationResetTimer = setTimeout(function() {
10537
+ var l = 0, c = a.target, _ = c.fromRect, h = Ne(c), d = c.prevFromRect, g = c.prevToRect, m = a.rect, I = _n(c, !0);
10538
+ I && (h.top -= I.f, h.left -= I.e), c.toRect = h, c.thisAnimationDuration && bi(d, h) && !bi(_, h) && // Make sure animatingRect is on line between toRect & fromRect
10539
+ (m.top - h.top) / (m.left - h.left) === (_.top - h.top) / (_.left - h.left) && (l = Df(m, d, g, o.options)), bi(h, _) || (c.prevFromRect = _, c.prevToRect = h, l || (l = o.options.animation), o.animate(c, m, h, l)), l && (i = !0, s = Math.max(s, l), clearTimeout(c.animationResetTimer), c.animationResetTimer = setTimeout(function() {
10550
10540
  c.animationTime = 0, c.prevFromRect = null, c.fromRect = null, c.prevToRect = null, c.thisAnimationDuration = null;
10551
10541
  }, l), c.thisAnimationDuration = l);
10552
10542
  }), clearTimeout(t), i ? t = setTimeout(function() {
@@ -10555,10 +10545,10 @@ function Bf() {
10555
10545
  },
10556
10546
  animate: function(n, o, i, s) {
10557
10547
  if (s) {
10558
- D(n, "transition", ""), D(n, "transform", "");
10559
- var a = _n(this.el), l = a && a.a, c = a && a.d, _ = (o.left - i.left) / (l || 1), d = (o.top - i.top) / (c || 1);
10560
- n.animatingX = !!_, n.animatingY = !!d, D(n, "transform", "translate3d(" + _ + "px," + d + "px,0)"), this.forRepaintDummy = Rf(n), D(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), D(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
10561
- D(n, "transition", ""), D(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
10548
+ M(n, "transition", ""), M(n, "transform", "");
10549
+ var a = _n(this.el), l = a && a.a, c = a && a.d, _ = (o.left - i.left) / (l || 1), h = (o.top - i.top) / (c || 1);
10550
+ n.animatingX = !!_, n.animatingY = !!h, M(n, "transform", "translate3d(" + _ + "px," + h + "px,0)"), this.forRepaintDummy = Rf(n), M(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), M(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
10551
+ M(n, "transition", ""), M(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
10562
10552
  }, s);
10563
10553
  }
10564
10554
  }
@@ -10570,16 +10560,16 @@ function Rf(e) {
10570
10560
  function Df(e, t, n, o) {
10571
10561
  return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) * o.animation;
10572
10562
  }
10573
- var nn = [], Ii = {
10563
+ var on = [], Ii = {
10574
10564
  initializeByDefault: !0
10575
10565
  }, Wn = {
10576
10566
  mount: function(e) {
10577
10567
  for (var t in Ii)
10578
10568
  Ii.hasOwnProperty(t) && !(t in e) && (e[t] = Ii[t]);
10579
- nn.forEach(function(n) {
10569
+ on.forEach(function(n) {
10580
10570
  if (n.pluginName === e.pluginName)
10581
10571
  throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
10582
- }), nn.push(e);
10572
+ }), on.push(e);
10583
10573
  },
10584
10574
  pluginEvent: function(e, t, n) {
10585
10575
  var o = this;
@@ -10587,16 +10577,16 @@ var nn = [], Ii = {
10587
10577
  o.eventCanceled = !0;
10588
10578
  };
10589
10579
  var i = e + "Global";
10590
- nn.forEach(function(s) {
10591
- t[s.pluginName] && (t[s.pluginName][i] && t[s.pluginName][i](dt({
10580
+ on.forEach(function(s) {
10581
+ t[s.pluginName] && (t[s.pluginName][i] && t[s.pluginName][i](ft({
10592
10582
  sortable: t
10593
- }, n)), t.options[s.pluginName] && t[s.pluginName][e] && t[s.pluginName][e](dt({
10583
+ }, n)), t.options[s.pluginName] && t[s.pluginName][e] && t[s.pluginName][e](ft({
10594
10584
  sortable: t
10595
10585
  }, n)));
10596
10586
  });
10597
10587
  },
10598
10588
  initializePlugins: function(e, t, n, o) {
10599
- nn.forEach(function(a) {
10589
+ on.forEach(function(a) {
10600
10590
  var l = a.pluginName;
10601
10591
  if (!(!e.options[l] && !a.initializeByDefault)) {
10602
10592
  var c = new a(e, t, e.options);
@@ -10611,47 +10601,47 @@ var nn = [], Ii = {
10611
10601
  },
10612
10602
  getEventProperties: function(e, t) {
10613
10603
  var n = {};
10614
- return nn.forEach(function(o) {
10604
+ return on.forEach(function(o) {
10615
10605
  typeof o.eventProperties == "function" && bt(n, o.eventProperties.call(t[o.pluginName], e));
10616
10606
  }), n;
10617
10607
  },
10618
10608
  modifyOption: function(e, t, n) {
10619
10609
  var o;
10620
- return nn.forEach(function(i) {
10610
+ return on.forEach(function(i) {
10621
10611
  e[i.pluginName] && i.optionListeners && typeof i.optionListeners[t] == "function" && (o = i.optionListeners[t].call(e[i.pluginName], n));
10622
10612
  }), o;
10623
10613
  }
10624
10614
  };
10625
10615
  function Mf(e) {
10626
- var t = e.sortable, n = e.rootEl, o = e.name, i = e.targetEl, s = e.cloneEl, a = e.toEl, l = e.fromEl, c = e.oldIndex, _ = e.newIndex, d = e.oldDraggableIndex, h = e.newDraggableIndex, g = e.originalEvent, m = e.putSortable, I = e.extraEventProperties;
10616
+ var t = e.sortable, n = e.rootEl, o = e.name, i = e.targetEl, s = e.cloneEl, a = e.toEl, l = e.fromEl, c = e.oldIndex, _ = e.newIndex, h = e.oldDraggableIndex, d = e.newDraggableIndex, g = e.originalEvent, m = e.putSortable, I = e.extraEventProperties;
10627
10617
  if (t = t || n && n[Qe], !!t) {
10628
- var O, G = t.options, j = "on" + o.charAt(0).toUpperCase() + o.substr(1);
10618
+ var O, G = t.options, D = "on" + o.charAt(0).toUpperCase() + o.substr(1);
10629
10619
  window.CustomEvent && !yt && !jn ? O = new CustomEvent(o, {
10630
10620
  bubbles: !0,
10631
10621
  cancelable: !0
10632
- }) : (O = document.createEvent("Event"), O.initEvent(o, !0, !0)), O.to = a || n, O.from = l || n, O.item = i || n, O.clone = s, O.oldIndex = c, O.newIndex = _, O.oldDraggableIndex = d, O.newDraggableIndex = h, O.originalEvent = g, O.pullMode = m ? m.lastPutMode : void 0;
10633
- var U = dt(dt({}, I), Wn.getEventProperties(o, t));
10634
- for (var J in U)
10635
- O[J] = U[J];
10636
- n && n.dispatchEvent(O), G[j] && G[j].call(t, O);
10622
+ }) : (O = document.createEvent("Event"), O.initEvent(o, !0, !0)), O.to = a || n, O.from = l || n, O.item = i || n, O.clone = s, O.oldIndex = c, O.newIndex = _, O.oldDraggableIndex = h, O.newDraggableIndex = d, O.originalEvent = g, O.pullMode = m ? m.lastPutMode : void 0;
10623
+ var j = ft(ft({}, I), Wn.getEventProperties(o, t));
10624
+ for (var ee in j)
10625
+ O[ee] = j[ee];
10626
+ n && n.dispatchEvent(O), G[D] && G[D].call(t, O);
10637
10627
  }
10638
10628
  }
10639
10629
  var Pf = ["evt"], je = function(e, t) {
10640
10630
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = n.evt, i = yf(n, Pf);
10641
- Wn.pluginEvent.bind(M)(e, t, dt({
10631
+ Wn.pluginEvent.bind(P)(e, t, ft({
10642
10632
  dragEl: A,
10643
- parentEl: Te,
10633
+ parentEl: me,
10644
10634
  ghostEl: K,
10645
10635
  rootEl: de,
10646
10636
  nextEl: Ht,
10647
10637
  lastDownEl: mo,
10648
- cloneEl: fe,
10638
+ cloneEl: he,
10649
10639
  cloneHidden: St,
10650
10640
  dragStarted: yn,
10651
10641
  putSortable: Ue,
10652
- activeSortable: M.active,
10642
+ activeSortable: P.active,
10653
10643
  originalEvent: o,
10654
- oldIndex: ln,
10644
+ oldIndex: cn,
10655
10645
  oldDraggableIndex: Dn,
10656
10646
  newIndex: Je,
10657
10647
  newDraggableIndex: kt,
@@ -10673,18 +10663,18 @@ var Pf = ["evt"], je = function(e, t) {
10673
10663
  }, i));
10674
10664
  };
10675
10665
  function Ge(e) {
10676
- Mf(dt({
10666
+ Mf(ft({
10677
10667
  putSortable: Ue,
10678
- cloneEl: fe,
10668
+ cloneEl: he,
10679
10669
  targetEl: A,
10680
10670
  rootEl: de,
10681
- oldIndex: ln,
10671
+ oldIndex: cn,
10682
10672
  oldDraggableIndex: Dn,
10683
10673
  newIndex: Je,
10684
10674
  newDraggableIndex: kt
10685
10675
  }, e));
10686
10676
  }
10687
- var A, Te, K, de, Ht, mo, fe, St, ln, Je, Dn, kt, ro, Ue, an = !1, Do = !1, Mo = [], Yt, ot, yi, Ci, Ta, Ea, yn, on, Mn, Pn = !1, lo = !1, To, Fe, Ni = [], Xi = !1, Po = [], ni = typeof document < "u", co = Ar, Aa = jn || yt ? "cssFloat" : "float", Uf = ni && !vr && !Ar && "draggable" in document.createElement("div"), kr = function() {
10677
+ var A, me, K, de, Ht, mo, he, St, cn, Je, Dn, kt, ro, Ue, rn = !1, Do = !1, Mo = [], Yt, ot, yi, Ci, Ta, Ea, yn, sn, Mn, Pn = !1, lo = !1, To, Fe, Ni = [], Xi = !1, Po = [], ni = typeof document < "u", co = Ar, Aa = jn || yt ? "cssFloat" : "float", Uf = ni && !vr && !Ar && "draggable" in document.createElement("div"), kr = function() {
10688
10678
  if (ni) {
10689
10679
  if (yt)
10690
10680
  return !1;
@@ -10692,14 +10682,14 @@ var A, Te, K, de, Ht, mo, fe, St, ln, Je, Dn, kt, ro, Ue, an = !1, Do = !1, Mo =
10692
10682
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
10693
10683
  }
10694
10684
  }(), Lr = function(e, t) {
10695
- var n = D(e), o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = mn(e, 0, t), s = mn(e, 1, t), a = i && D(i), l = s && D(s), c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + ke(i).width, _ = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + ke(s).width;
10685
+ var n = M(e), o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = mn(e, 0, t), s = mn(e, 1, t), a = i && M(i), l = s && M(s), c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + Ne(i).width, _ = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Ne(s).width;
10696
10686
  if (n.display === "flex")
10697
10687
  return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
10698
10688
  if (n.display === "grid")
10699
10689
  return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
10700
10690
  if (i && a.float && a.float !== "none") {
10701
- var d = a.float === "left" ? "left" : "right";
10702
- return s && (l.clear === "both" || l.clear === d) ? "vertical" : "horizontal";
10691
+ var h = a.float === "left" ? "left" : "right";
10692
+ return s && (l.clear === "both" || l.clear === h) ? "vertical" : "horizontal";
10703
10693
  }
10704
10694
  return i && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || c >= o && n[Aa] === "none" || s && n[Aa] === "none" && c + _ > o) ? "vertical" : "horizontal";
10705
10695
  }, xf = function(e, t, n) {
@@ -10710,7 +10700,7 @@ var A, Te, K, de, Ht, mo, fe, St, ln, Je, Dn, kt, ro, Ue, an = !1, Do = !1, Mo =
10710
10700
  return Mo.some(function(o) {
10711
10701
  var i = o[Qe].options.emptyInsertThreshold;
10712
10702
  if (!(!i || ls(o))) {
10713
- var s = ke(o), a = e >= s.left - i && e <= s.right + i, l = t >= s.top - i && t <= s.bottom + i;
10703
+ var s = Ne(o), a = e >= s.left - i && e <= s.right + i, l = t >= s.top - i && t <= s.bottom + i;
10714
10704
  if (a && l)
10715
10705
  return n = o;
10716
10706
  }
@@ -10718,8 +10708,8 @@ var A, Te, K, de, Ht, mo, fe, St, ln, Je, Dn, kt, ro, Ue, an = !1, Do = !1, Mo =
10718
10708
  }, Sr = function(e) {
10719
10709
  function t(i, s) {
10720
10710
  return function(a, l, c, _) {
10721
- var d = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
10722
- if (i == null && (s || d))
10711
+ var h = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
10712
+ if (i == null && (s || h))
10723
10713
  return !0;
10724
10714
  if (i == null || i === !1)
10725
10715
  return !1;
@@ -10727,8 +10717,8 @@ var A, Te, K, de, Ht, mo, fe, St, ln, Je, Dn, kt, ro, Ue, an = !1, Do = !1, Mo =
10727
10717
  return i;
10728
10718
  if (typeof i == "function")
10729
10719
  return t(i(a, l, c, _), s)(a, l, c, _);
10730
- var h = (s ? a : l).options.group.name;
10731
- return i === !0 || typeof i == "string" && i === h || i.join && i.indexOf(h) > -1;
10720
+ var d = (s ? a : l).options.group.name;
10721
+ return i === !0 || typeof i == "string" && i === d || i.join && i.indexOf(d) > -1;
10732
10722
  };
10733
10723
  }
10734
10724
  var n = {}, o = e.group;
@@ -10736,9 +10726,9 @@ var A, Te, K, de, Ht, mo, fe, St, ln, Je, Dn, kt, ro, Ue, an = !1, Do = !1, Mo =
10736
10726
  name: o
10737
10727
  }), n.name = o.name, n.checkPull = t(o.pull, !0), n.checkPut = t(o.put), n.revertClone = o.revertClone, e.group = n;
10738
10728
  }, Br = function() {
10739
- !kr && K && D(K, "display", "none");
10729
+ !kr && K && M(K, "display", "none");
10740
10730
  }, Rr = function() {
10741
- !kr && K && D(K, "display", "");
10731
+ !kr && K && M(K, "display", "");
10742
10732
  };
10743
10733
  ni && !vr && document.addEventListener("click", function(e) {
10744
10734
  if (Do)
@@ -10758,7 +10748,7 @@ var Kt = function(e) {
10758
10748
  }, Vf = function(e) {
10759
10749
  A && A.parentNode[Qe]._isOutsideThisEl(e.target);
10760
10750
  };
10761
- function M(e, t) {
10751
+ function P(e, t) {
10762
10752
  if (!(e && e.nodeType && e.nodeType === 1))
10763
10753
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
10764
10754
  this.el = e, this.options = t = bt({}, t), e[Qe] = this;
@@ -10804,7 +10794,7 @@ function M(e, t) {
10804
10794
  x: 0,
10805
10795
  y: 0
10806
10796
  },
10807
- supportPointer: M.supportPointer !== !1 && "PointerEvent" in window && !Bn,
10797
+ supportPointer: P.supportPointer !== !1 && "PointerEvent" in window && !Bn,
10808
10798
  emptyInsertThreshold: 5
10809
10799
  };
10810
10800
  Wn.initializePlugins(this, e, n);
@@ -10815,11 +10805,11 @@ function M(e, t) {
10815
10805
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
10816
10806
  this.nativeDraggable = t.forceFallback ? !1 : Uf, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? te(e, "pointerdown", this._onTapStart) : (te(e, "mousedown", this._onTapStart), te(e, "touchstart", this._onTapStart)), this.nativeDraggable && (te(e, "dragover", this), te(e, "dragenter", this)), Mo.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), bt(this, Bf());
10817
10807
  }
10818
- M.prototype = /** @lends Sortable.prototype */
10808
+ P.prototype = /** @lends Sortable.prototype */
10819
10809
  {
10820
- constructor: M,
10810
+ constructor: P,
10821
10811
  _isOutsideThisEl: function(e) {
10822
- !this.el.contains(e) && e !== this.el && (on = null);
10812
+ !this.el.contains(e) && e !== this.el && (sn = null);
10823
10813
  },
10824
10814
  _getDirection: function(e, t) {
10825
10815
  return typeof this.options.direction == "function" ? this.options.direction.call(this, e, t, A) : this.options.direction;
@@ -10828,7 +10818,7 @@ M.prototype = /** @lends Sortable.prototype */
10828
10818
  if (e.cancelable) {
10829
10819
  var t = this, n = this.el, o = this.options, i = o.preventOnFilter, s = e.type, a = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, l = (a || e).target, c = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || l, _ = o.filter;
10830
10820
  if (Wf(n), !A && !(/mousedown|pointerdown/.test(s) && e.button !== 0 || o.disabled) && !c.isContentEditable && !(!this.nativeDraggable && Bn && l && l.tagName.toUpperCase() === "SELECT") && (l = it(l, o.draggable, n, !1), !(l && l.animated) && mo !== l)) {
10831
- if (ln = et(l), Dn = et(l, o.draggable), typeof _ == "function") {
10821
+ if (cn = Ze(l), Dn = Ze(l, o.draggable), typeof _ == "function") {
10832
10822
  if (_.call(this, e, l, this)) {
10833
10823
  Ge({
10834
10824
  sortable: t,
@@ -10842,11 +10832,11 @@ M.prototype = /** @lends Sortable.prototype */
10842
10832
  }), i && e.cancelable && e.preventDefault();
10843
10833
  return;
10844
10834
  }
10845
- } else if (_ && (_ = _.split(",").some(function(d) {
10846
- if (d = it(c, d.trim(), n, !1), d)
10835
+ } else if (_ && (_ = _.split(",").some(function(h) {
10836
+ if (h = it(c, h.trim(), n, !1), h)
10847
10837
  return Ge({
10848
10838
  sortable: t,
10849
- rootEl: d,
10839
+ rootEl: h,
10850
10840
  name: "filter",
10851
10841
  targetEl: l,
10852
10842
  fromEl: n,
@@ -10865,15 +10855,15 @@ M.prototype = /** @lends Sortable.prototype */
10865
10855
  _prepareDragStart: function(e, t, n) {
10866
10856
  var o = this, i = o.el, s = o.options, a = i.ownerDocument, l;
10867
10857
  if (n && !A && n.parentNode === i) {
10868
- var c = ke(n);
10869
- if (de = i, A = n, Te = A.parentNode, Ht = A.nextSibling, mo = n, ro = s.group, M.dragged = A, Yt = {
10858
+ var c = Ne(n);
10859
+ if (de = i, A = n, me = A.parentNode, Ht = A.nextSibling, mo = n, ro = s.group, P.dragged = A, Yt = {
10870
10860
  target: A,
10871
10861
  clientX: (t || e).clientX,
10872
10862
  clientY: (t || e).clientY
10873
10863
  }, Ta = Yt.clientX - c.left, Ea = Yt.clientY - c.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, A.style["will-change"] = "all", l = function() {
10874
10864
  if (je("delayEnded", o, {
10875
10865
  evt: e
10876
- }), M.eventCanceled) {
10866
+ }), P.eventCanceled) {
10877
10867
  o._onDrop();
10878
10868
  return;
10879
10869
  }
@@ -10887,7 +10877,7 @@ M.prototype = /** @lends Sortable.prototype */
10887
10877
  }), te(a, "dragover", Kt), te(a, "mousemove", Kt), te(a, "touchmove", Kt), te(a, "mouseup", o._onDrop), te(a, "touchend", o._onDrop), te(a, "touchcancel", o._onDrop), ha && this.nativeDraggable && (this.options.touchStartThreshold = 4, A.draggable = !0), je("delayStart", this, {
10888
10878
  evt: e
10889
10879
  }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(jn || yt))) {
10890
- if (M.eventCanceled) {
10880
+ if (P.eventCanceled) {
10891
10881
  this._onDrop();
10892
10882
  return;
10893
10883
  }
@@ -10905,7 +10895,7 @@ M.prototype = /** @lends Sortable.prototype */
10905
10895
  },
10906
10896
  _disableDelayedDragEvents: function() {
10907
10897
  var e = this.el.ownerDocument;
10908
- ee(e, "mouseup", this._disableDelayedDrag), ee(e, "touchend", this._disableDelayedDrag), ee(e, "touchcancel", this._disableDelayedDrag), ee(e, "mousemove", this._delayedDragTouchMoveHandler), ee(e, "touchmove", this._delayedDragTouchMoveHandler), ee(e, "pointermove", this._delayedDragTouchMoveHandler);
10898
+ Z(e, "mouseup", this._disableDelayedDrag), Z(e, "touchend", this._disableDelayedDrag), Z(e, "touchcancel", this._disableDelayedDrag), Z(e, "mousemove", this._delayedDragTouchMoveHandler), Z(e, "touchmove", this._delayedDragTouchMoveHandler), Z(e, "pointermove", this._delayedDragTouchMoveHandler);
10909
10899
  },
10910
10900
  _triggerDragStart: function(e, t) {
10911
10901
  t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? te(document, "pointermove", this._onTouchMove) : t ? te(document, "touchmove", this._onTouchMove) : te(document, "mousemove", this._onTouchMove) : (te(A, "dragend", this), te(de, "dragstart", this._onDragStart));
@@ -10917,12 +10907,12 @@ M.prototype = /** @lends Sortable.prototype */
10917
10907
  }
10918
10908
  },
10919
10909
  _dragStarted: function(e, t) {
10920
- if (an = !1, de && A) {
10910
+ if (rn = !1, de && A) {
10921
10911
  je("dragStarted", this, {
10922
10912
  evt: t
10923
10913
  }), this.nativeDraggable && te(document, "dragover", Vf);
10924
10914
  var n = this.options;
10925
- !e && qe(A, n.dragClass, !1), qe(A, n.ghostClass, !0), M.active = this, e && this._appendGhost(), Ge({
10915
+ !e && qe(A, n.dragClass, !1), qe(A, n.ghostClass, !0), P.active = this, e && this._appendGhost(), Ge({
10926
10916
  sortable: this,
10927
10917
  name: "start",
10928
10918
  originalEvent: t
@@ -10954,88 +10944,88 @@ M.prototype = /** @lends Sortable.prototype */
10954
10944
  },
10955
10945
  _onTouchMove: function(e) {
10956
10946
  if (Yt) {
10957
- var t = this.options, n = t.fallbackTolerance, o = t.fallbackOffset, i = e.touches ? e.touches[0] : e, s = K && _n(K, !0), a = K && s && s.a, l = K && s && s.d, c = co && Fe && ma(Fe), _ = (i.clientX - Yt.clientX + o.x) / (a || 1) + (c ? c[0] - Ni[0] : 0) / (a || 1), d = (i.clientY - Yt.clientY + o.y) / (l || 1) + (c ? c[1] - Ni[1] : 0) / (l || 1);
10958
- if (!M.active && !an) {
10947
+ var t = this.options, n = t.fallbackTolerance, o = t.fallbackOffset, i = e.touches ? e.touches[0] : e, s = K && _n(K, !0), a = K && s && s.a, l = K && s && s.d, c = co && Fe && ma(Fe), _ = (i.clientX - Yt.clientX + o.x) / (a || 1) + (c ? c[0] - Ni[0] : 0) / (a || 1), h = (i.clientY - Yt.clientY + o.y) / (l || 1) + (c ? c[1] - Ni[1] : 0) / (l || 1);
10948
+ if (!P.active && !rn) {
10959
10949
  if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n)
10960
10950
  return;
10961
10951
  this._onDragStart(e, !0);
10962
10952
  }
10963
10953
  if (K) {
10964
- s ? (s.e += _ - (yi || 0), s.f += d - (Ci || 0)) : s = {
10954
+ s ? (s.e += _ - (yi || 0), s.f += h - (Ci || 0)) : s = {
10965
10955
  a: 1,
10966
10956
  b: 0,
10967
10957
  c: 0,
10968
10958
  d: 1,
10969
10959
  e: _,
10970
- f: d
10960
+ f: h
10971
10961
  };
10972
- var h = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
10973
- D(K, "webkitTransform", h), D(K, "mozTransform", h), D(K, "msTransform", h), D(K, "transform", h), yi = _, Ci = d, ot = i;
10962
+ var d = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
10963
+ M(K, "webkitTransform", d), M(K, "mozTransform", d), M(K, "msTransform", d), M(K, "transform", d), yi = _, Ci = h, ot = i;
10974
10964
  }
10975
10965
  e.cancelable && e.preventDefault();
10976
10966
  }
10977
10967
  },
10978
10968
  _appendGhost: function() {
10979
10969
  if (!K) {
10980
- var e = this.options.fallbackOnBody ? document.body : de, t = ke(A, !0, co, !0, e), n = this.options;
10970
+ var e = this.options.fallbackOnBody ? document.body : de, t = Ne(A, !0, co, !0, e), n = this.options;
10981
10971
  if (co) {
10982
- for (Fe = e; D(Fe, "position") === "static" && D(Fe, "transform") === "none" && Fe !== document; )
10972
+ for (Fe = e; M(Fe, "position") === "static" && M(Fe, "transform") === "none" && Fe !== document; )
10983
10973
  Fe = Fe.parentNode;
10984
- Fe !== document.body && Fe !== document.documentElement ? (Fe === document && (Fe = _t()), t.top += Fe.scrollTop, t.left += Fe.scrollLeft) : Fe = _t(), Ni = ma(Fe);
10974
+ Fe !== document.body && Fe !== document.documentElement ? (Fe === document && (Fe = ht()), t.top += Fe.scrollTop, t.left += Fe.scrollLeft) : Fe = ht(), Ni = ma(Fe);
10985
10975
  }
10986
- K = A.cloneNode(!0), qe(K, n.ghostClass, !1), qe(K, n.fallbackClass, !0), qe(K, n.dragClass, !0), D(K, "transition", ""), D(K, "transform", ""), D(K, "box-sizing", "border-box"), D(K, "margin", 0), D(K, "top", t.top), D(K, "left", t.left), D(K, "width", t.width), D(K, "height", t.height), D(K, "opacity", "0.8"), D(K, "position", co ? "absolute" : "fixed"), D(K, "zIndex", "100000"), D(K, "pointerEvents", "none"), M.ghost = K, e.appendChild(K), D(K, "transform-origin", Ta / parseInt(K.style.width) * 100 + "% " + Ea / parseInt(K.style.height) * 100 + "%");
10976
+ K = A.cloneNode(!0), qe(K, n.ghostClass, !1), qe(K, n.fallbackClass, !0), qe(K, n.dragClass, !0), M(K, "transition", ""), M(K, "transform", ""), M(K, "box-sizing", "border-box"), M(K, "margin", 0), M(K, "top", t.top), M(K, "left", t.left), M(K, "width", t.width), M(K, "height", t.height), M(K, "opacity", "0.8"), M(K, "position", co ? "absolute" : "fixed"), M(K, "zIndex", "100000"), M(K, "pointerEvents", "none"), P.ghost = K, e.appendChild(K), M(K, "transform-origin", Ta / parseInt(K.style.width) * 100 + "% " + Ea / parseInt(K.style.height) * 100 + "%");
10987
10977
  }
10988
10978
  },
10989
10979
  _onDragStart: function(e, t) {
10990
10980
  var n = this, o = e.dataTransfer, i = n.options;
10991
10981
  if (je("dragStart", this, {
10992
10982
  evt: e
10993
- }), M.eventCanceled) {
10983
+ }), P.eventCanceled) {
10994
10984
  this._onDrop();
10995
10985
  return;
10996
10986
  }
10997
- je("setupClone", this), M.eventCanceled || (fe = Cr(A), fe.removeAttribute("id"), fe.draggable = !1, fe.style["will-change"] = "", this._hideClone(), qe(fe, this.options.chosenClass, !1), M.clone = fe), n.cloneId = Eo(function() {
10998
- je("clone", n), !M.eventCanceled && (n.options.removeCloneOnHide || de.insertBefore(fe, A), n._hideClone(), Ge({
10987
+ je("setupClone", this), P.eventCanceled || (he = Cr(A), he.removeAttribute("id"), he.draggable = !1, he.style["will-change"] = "", this._hideClone(), qe(he, this.options.chosenClass, !1), P.clone = he), n.cloneId = Eo(function() {
10988
+ je("clone", n), !P.eventCanceled && (n.options.removeCloneOnHide || de.insertBefore(he, A), n._hideClone(), Ge({
10999
10989
  sortable: n,
11000
10990
  name: "clone"
11001
10991
  }));
11002
- }), !t && qe(A, i.dragClass, !0), t ? (Do = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (ee(document, "mouseup", n._onDrop), ee(document, "touchend", n._onDrop), ee(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(n, o, A)), te(document, "drop", n), D(A, "transform", "translateZ(0)")), an = !0, n._dragStartId = Eo(n._dragStarted.bind(n, t, e)), te(document, "selectstart", n), yn = !0, Bn && D(document.body, "user-select", "none");
10992
+ }), !t && qe(A, i.dragClass, !0), t ? (Do = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Z(document, "mouseup", n._onDrop), Z(document, "touchend", n._onDrop), Z(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(n, o, A)), te(document, "drop", n), M(A, "transform", "translateZ(0)")), rn = !0, n._dragStartId = Eo(n._dragStarted.bind(n, t, e)), te(document, "selectstart", n), yn = !0, Bn && M(document.body, "user-select", "none");
11003
10993
  },
11004
10994
  // Returns true - if no further action is needed (either inserted or another condition)
11005
10995
  _onDragOver: function(e) {
11006
- var t = this.el, n = e.target, o, i, s, a = this.options, l = a.group, c = M.active, _ = ro === l, d = a.sort, h = Ue || c, g, m = this, I = !1;
10996
+ var t = this.el, n = e.target, o, i, s, a = this.options, l = a.group, c = P.active, _ = ro === l, h = a.sort, d = Ue || c, g, m = this, I = !1;
11007
10997
  if (Xi)
11008
10998
  return;
11009
10999
  function O(Me, re) {
11010
- je(Me, m, dt({
11000
+ je(Me, m, ft({
11011
11001
  evt: e,
11012
11002
  isOwner: _,
11013
11003
  axis: g ? "vertical" : "horizontal",
11014
11004
  revert: s,
11015
11005
  dragRect: o,
11016
11006
  targetRect: i,
11017
- canSort: d,
11018
- fromSortable: h,
11007
+ canSort: h,
11008
+ fromSortable: d,
11019
11009
  target: n,
11020
- completed: j,
11021
- onMove: function(Xe, gt) {
11022
- return uo(de, t, A, o, Xe, ke(Xe), e, gt);
11010
+ completed: D,
11011
+ onMove: function(Xe, et) {
11012
+ return uo(de, t, A, o, Xe, Ne(Xe), e, et);
11023
11013
  },
11024
- changed: U
11014
+ changed: j
11025
11015
  }, re));
11026
11016
  }
11027
11017
  function G() {
11028
- O("dragOverAnimationCapture"), m.captureAnimationState(), m !== h && h.captureAnimationState();
11018
+ O("dragOverAnimationCapture"), m.captureAnimationState(), m !== d && d.captureAnimationState();
11029
11019
  }
11030
- function j(Me) {
11020
+ function D(Me) {
11031
11021
  return O("dragOverCompleted", {
11032
11022
  insertion: Me
11033
- }), Me && (_ ? c._hideClone() : c._showClone(m), m !== h && (qe(A, Ue ? Ue.options.ghostClass : c.options.ghostClass, !1), qe(A, a.ghostClass, !0)), Ue !== m && m !== M.active ? Ue = m : m === M.active && Ue && (Ue = null), h === m && (m._ignoreWhileAnimating = n), m.animateAll(function() {
11023
+ }), Me && (_ ? c._hideClone() : c._showClone(m), m !== d && (qe(A, Ue ? Ue.options.ghostClass : c.options.ghostClass, !1), qe(A, a.ghostClass, !0)), Ue !== m && m !== P.active ? Ue = m : m === P.active && Ue && (Ue = null), d === m && (m._ignoreWhileAnimating = n), m.animateAll(function() {
11034
11024
  O("dragOverAnimationComplete"), m._ignoreWhileAnimating = null;
11035
- }), m !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (n === A && !A.animated || n === t && !n.animated) && (on = null), !a.dragoverBubble && !e.rootEl && n !== document && (A.parentNode[Qe]._isOutsideThisEl(e.target), !Me && Kt(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), I = !0;
11025
+ }), m !== d && (d.animateAll(), d._ignoreWhileAnimating = null)), (n === A && !A.animated || n === t && !n.animated) && (sn = null), !a.dragoverBubble && !e.rootEl && n !== document && (A.parentNode[Qe]._isOutsideThisEl(e.target), !Me && Kt(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), I = !0;
11036
11026
  }
11037
- function U() {
11038
- Je = et(A), kt = et(A, a.draggable), Ge({
11027
+ function j() {
11028
+ Je = Ze(A), kt = Ze(A, a.draggable), Ge({
11039
11029
  sortable: m,
11040
11030
  name: "change",
11041
11031
  toEl: t,
@@ -11044,116 +11034,116 @@ M.prototype = /** @lends Sortable.prototype */
11044
11034
  originalEvent: e
11045
11035
  });
11046
11036
  }
11047
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = it(n, a.draggable, t, !0), O("dragOver"), M.eventCanceled)
11037
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = it(n, a.draggable, t, !0), O("dragOver"), P.eventCanceled)
11048
11038
  return I;
11049
11039
  if (A.contains(e.target) || n.animated && n.animatingX && n.animatingY || m._ignoreWhileAnimating === n)
11050
- return j(!1);
11051
- if (Do = !1, c && !a.disabled && (_ ? d || (s = Te !== de) : Ue === this || (this.lastPutMode = ro.checkPull(this, c, A, e)) && l.checkPut(this, c, A, e))) {
11052
- if (g = this._getDirection(e, n) === "vertical", o = ke(A), O("dragOverValid"), M.eventCanceled)
11040
+ return D(!1);
11041
+ if (Do = !1, c && !a.disabled && (_ ? h || (s = me !== de) : Ue === this || (this.lastPutMode = ro.checkPull(this, c, A, e)) && l.checkPut(this, c, A, e))) {
11042
+ if (g = this._getDirection(e, n) === "vertical", o = Ne(A), O("dragOverValid"), P.eventCanceled)
11053
11043
  return I;
11054
11044
  if (s)
11055
- return Te = de, G(), this._hideClone(), O("revert"), M.eventCanceled || (Ht ? de.insertBefore(A, Ht) : de.appendChild(A)), j(!0);
11056
- var J = ls(t, a.draggable);
11057
- if (!J || Hf(e, g, this) && !J.animated) {
11058
- if (J === A)
11059
- return j(!1);
11060
- if (J && t === e.target && (n = J), n && (i = ke(n)), uo(de, t, A, o, n, i, e, !!n) !== !1)
11061
- return G(), J && J.nextSibling ? t.insertBefore(A, J.nextSibling) : t.appendChild(A), Te = t, U(), j(!0);
11062
- } else if (J && Kf(e, g, this)) {
11063
- var ge = mn(t, 0, a, !0);
11064
- if (ge === A)
11065
- return j(!1);
11066
- if (n = ge, i = ke(n), uo(de, t, A, o, n, i, e, !1) !== !1)
11067
- return G(), t.insertBefore(A, ge), Te = t, U(), j(!0);
11045
+ return me = de, G(), this._hideClone(), O("revert"), P.eventCanceled || (Ht ? de.insertBefore(A, Ht) : de.appendChild(A)), D(!0);
11046
+ var ee = ls(t, a.draggable);
11047
+ if (!ee || Hf(e, g, this) && !ee.animated) {
11048
+ if (ee === A)
11049
+ return D(!1);
11050
+ if (ee && t === e.target && (n = ee), n && (i = Ne(n)), uo(de, t, A, o, n, i, e, !!n) !== !1)
11051
+ return G(), ee && ee.nextSibling ? t.insertBefore(A, ee.nextSibling) : t.appendChild(A), me = t, j(), D(!0);
11052
+ } else if (ee && Kf(e, g, this)) {
11053
+ var fe = mn(t, 0, a, !0);
11054
+ if (fe === A)
11055
+ return D(!1);
11056
+ if (n = fe, i = Ne(n), uo(de, t, A, o, n, i, e, !1) !== !1)
11057
+ return G(), t.insertBefore(A, fe), me = t, j(), D(!0);
11068
11058
  } else if (n.parentNode === t) {
11069
- i = ke(n);
11070
- var Q = 0, Le, $e = A.parentNode !== t, B = !xf(A.animated && A.toRect || o, n.animated && n.toRect || i, g), F = g ? "top" : "left", ie = ga(n, "top", "top") || ga(A, "top", "top"), me = ie ? ie.scrollTop : void 0;
11071
- on !== n && (Le = i[F], Pn = !1, lo = !B && a.invertSwap || $e), Q = $f(e, n, i, g, B ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, lo, on === n);
11072
- var Z;
11073
- if (Q !== 0) {
11074
- var se = et(A);
11059
+ i = Ne(n);
11060
+ var J = 0, Le, $e = A.parentNode !== t, B = !xf(A.animated && A.toRect || o, n.animated && n.toRect || i, g), F = g ? "top" : "left", ie = ga(n, "top", "top") || ga(A, "top", "top"), ge = ie ? ie.scrollTop : void 0;
11061
+ sn !== n && (Le = i[F], Pn = !1, lo = !B && a.invertSwap || $e), J = $f(e, n, i, g, B ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, lo, sn === n);
11062
+ var Q;
11063
+ if (J !== 0) {
11064
+ var se = Ze(A);
11075
11065
  do
11076
- se -= Q, Z = Te.children[se];
11077
- while (Z && (D(Z, "display") === "none" || Z === K));
11066
+ se -= J, Q = me.children[se];
11067
+ while (Q && (M(Q, "display") === "none" || Q === K));
11078
11068
  }
11079
- if (Q === 0 || Z === n)
11080
- return j(!1);
11081
- on = n, Mn = Q;
11069
+ if (J === 0 || Q === n)
11070
+ return D(!1);
11071
+ sn = n, Mn = J;
11082
11072
  var oe = n.nextElementSibling, R = !1;
11083
- R = Q === 1;
11073
+ R = J === 1;
11084
11074
  var ae = uo(de, t, A, o, n, i, e, R);
11085
11075
  if (ae !== !1)
11086
- return (ae === 1 || ae === -1) && (R = ae === 1), Xi = !0, setTimeout(Yf, 30), G(), R && !oe ? t.appendChild(A) : n.parentNode.insertBefore(A, R ? oe : n), ie && yr(ie, 0, me - ie.scrollTop), Te = A.parentNode, Le !== void 0 && !lo && (To = Math.abs(Le - ke(n)[F])), U(), j(!0);
11076
+ return (ae === 1 || ae === -1) && (R = ae === 1), Xi = !0, setTimeout(Yf, 30), G(), R && !oe ? t.appendChild(A) : n.parentNode.insertBefore(A, R ? oe : n), ie && yr(ie, 0, ge - ie.scrollTop), me = A.parentNode, Le !== void 0 && !lo && (To = Math.abs(Le - Ne(n)[F])), j(), D(!0);
11087
11077
  }
11088
11078
  if (t.contains(A))
11089
- return j(!1);
11079
+ return D(!1);
11090
11080
  }
11091
11081
  return !1;
11092
11082
  },
11093
11083
  _ignoreWhileAnimating: null,
11094
11084
  _offMoveEvents: function() {
11095
- ee(document, "mousemove", this._onTouchMove), ee(document, "touchmove", this._onTouchMove), ee(document, "pointermove", this._onTouchMove), ee(document, "dragover", Kt), ee(document, "mousemove", Kt), ee(document, "touchmove", Kt);
11085
+ Z(document, "mousemove", this._onTouchMove), Z(document, "touchmove", this._onTouchMove), Z(document, "pointermove", this._onTouchMove), Z(document, "dragover", Kt), Z(document, "mousemove", Kt), Z(document, "touchmove", Kt);
11096
11086
  },
11097
11087
  _offUpEvents: function() {
11098
11088
  var e = this.el.ownerDocument;
11099
- ee(e, "mouseup", this._onDrop), ee(e, "touchend", this._onDrop), ee(e, "pointerup", this._onDrop), ee(e, "touchcancel", this._onDrop), ee(document, "selectstart", this);
11089
+ Z(e, "mouseup", this._onDrop), Z(e, "touchend", this._onDrop), Z(e, "pointerup", this._onDrop), Z(e, "touchcancel", this._onDrop), Z(document, "selectstart", this);
11100
11090
  },
11101
11091
  _onDrop: function(e) {
11102
11092
  var t = this.el, n = this.options;
11103
- if (Je = et(A), kt = et(A, n.draggable), je("drop", this, {
11093
+ if (Je = Ze(A), kt = Ze(A, n.draggable), je("drop", this, {
11104
11094
  evt: e
11105
- }), Te = A && A.parentNode, Je = et(A), kt = et(A, n.draggable), M.eventCanceled) {
11095
+ }), me = A && A.parentNode, Je = Ze(A), kt = Ze(A, n.draggable), P.eventCanceled) {
11106
11096
  this._nulling();
11107
11097
  return;
11108
11098
  }
11109
- an = !1, lo = !1, Pn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), zi(this.cloneId), zi(this._dragStartId), this.nativeDraggable && (ee(document, "drop", this), ee(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Bn && D(document.body, "user-select", ""), D(A, "transform", ""), e && (yn && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), K && K.parentNode && K.parentNode.removeChild(K), (de === Te || Ue && Ue.lastPutMode !== "clone") && fe && fe.parentNode && fe.parentNode.removeChild(fe), A && (this.nativeDraggable && ee(A, "dragend", this), ki(A), A.style["will-change"] = "", yn && !an && qe(A, Ue ? Ue.options.ghostClass : this.options.ghostClass, !1), qe(A, this.options.chosenClass, !1), Ge({
11099
+ rn = !1, lo = !1, Pn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), zi(this.cloneId), zi(this._dragStartId), this.nativeDraggable && (Z(document, "drop", this), Z(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Bn && M(document.body, "user-select", ""), M(A, "transform", ""), e && (yn && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), K && K.parentNode && K.parentNode.removeChild(K), (de === me || Ue && Ue.lastPutMode !== "clone") && he && he.parentNode && he.parentNode.removeChild(he), A && (this.nativeDraggable && Z(A, "dragend", this), ki(A), A.style["will-change"] = "", yn && !rn && qe(A, Ue ? Ue.options.ghostClass : this.options.ghostClass, !1), qe(A, this.options.chosenClass, !1), Ge({
11110
11100
  sortable: this,
11111
11101
  name: "unchoose",
11112
- toEl: Te,
11102
+ toEl: me,
11113
11103
  newIndex: null,
11114
11104
  newDraggableIndex: null,
11115
11105
  originalEvent: e
11116
- }), de !== Te ? (Je >= 0 && (Ge({
11117
- rootEl: Te,
11106
+ }), de !== me ? (Je >= 0 && (Ge({
11107
+ rootEl: me,
11118
11108
  name: "add",
11119
- toEl: Te,
11109
+ toEl: me,
11120
11110
  fromEl: de,
11121
11111
  originalEvent: e
11122
11112
  }), Ge({
11123
11113
  sortable: this,
11124
11114
  name: "remove",
11125
- toEl: Te,
11115
+ toEl: me,
11126
11116
  originalEvent: e
11127
11117
  }), Ge({
11128
- rootEl: Te,
11118
+ rootEl: me,
11129
11119
  name: "sort",
11130
- toEl: Te,
11120
+ toEl: me,
11131
11121
  fromEl: de,
11132
11122
  originalEvent: e
11133
11123
  }), Ge({
11134
11124
  sortable: this,
11135
11125
  name: "sort",
11136
- toEl: Te,
11126
+ toEl: me,
11137
11127
  originalEvent: e
11138
- })), Ue && Ue.save()) : Je !== ln && Je >= 0 && (Ge({
11128
+ })), Ue && Ue.save()) : Je !== cn && Je >= 0 && (Ge({
11139
11129
  sortable: this,
11140
11130
  name: "update",
11141
- toEl: Te,
11131
+ toEl: me,
11142
11132
  originalEvent: e
11143
11133
  }), Ge({
11144
11134
  sortable: this,
11145
11135
  name: "sort",
11146
- toEl: Te,
11136
+ toEl: me,
11147
11137
  originalEvent: e
11148
- })), M.active && ((Je == null || Je === -1) && (Je = ln, kt = Dn), Ge({
11138
+ })), P.active && ((Je == null || Je === -1) && (Je = cn, kt = Dn), Ge({
11149
11139
  sortable: this,
11150
11140
  name: "end",
11151
- toEl: Te,
11141
+ toEl: me,
11152
11142
  originalEvent: e
11153
11143
  }), this.save()))), this._nulling();
11154
11144
  },
11155
11145
  _nulling: function() {
11156
- je("nulling", this), de = A = Te = K = Ht = fe = mo = St = Yt = ot = yn = Je = kt = ln = Dn = on = Mn = Ue = ro = M.dragged = M.ghost = M.clone = M.active = null, Po.forEach(function(e) {
11146
+ je("nulling", this), de = A = me = K = Ht = he = mo = St = Yt = ot = yn = Je = kt = cn = Dn = sn = Mn = Ue = ro = P.dragged = P.ghost = P.clone = P.active = null, Po.forEach(function(e) {
11157
11147
  e.checked = !0;
11158
11148
  }), Po.length = yi = Ci = 0;
11159
11149
  },
@@ -11229,15 +11219,15 @@ M.prototype = /** @lends Sortable.prototype */
11229
11219
  destroy: function() {
11230
11220
  je("destroy", this);
11231
11221
  var e = this.el;
11232
- e[Qe] = null, ee(e, "mousedown", this._onTapStart), ee(e, "touchstart", this._onTapStart), ee(e, "pointerdown", this._onTapStart), this.nativeDraggable && (ee(e, "dragover", this), ee(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
11222
+ e[Qe] = null, Z(e, "mousedown", this._onTapStart), Z(e, "touchstart", this._onTapStart), Z(e, "pointerdown", this._onTapStart), this.nativeDraggable && (Z(e, "dragover", this), Z(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
11233
11223
  t.removeAttribute("draggable");
11234
11224
  }), this._onDrop(), this._disableDelayedDragEvents(), Mo.splice(Mo.indexOf(this.el), 1), this.el = e = null;
11235
11225
  },
11236
11226
  _hideClone: function() {
11237
11227
  if (!St) {
11238
- if (je("hideClone", this), M.eventCanceled)
11228
+ if (je("hideClone", this), P.eventCanceled)
11239
11229
  return;
11240
- D(fe, "display", "none"), this.options.removeCloneOnHide && fe.parentNode && fe.parentNode.removeChild(fe), St = !0;
11230
+ M(he, "display", "none"), this.options.removeCloneOnHide && he.parentNode && he.parentNode.removeChild(he), St = !0;
11241
11231
  }
11242
11232
  },
11243
11233
  _showClone: function(e) {
@@ -11246,9 +11236,9 @@ M.prototype = /** @lends Sortable.prototype */
11246
11236
  return;
11247
11237
  }
11248
11238
  if (St) {
11249
- if (je("showClone", this), M.eventCanceled)
11239
+ if (je("showClone", this), P.eventCanceled)
11250
11240
  return;
11251
- A.parentNode == de && !this.options.group.revertClone ? de.insertBefore(fe, A) : Ht ? de.insertBefore(fe, Ht) : de.appendChild(fe), this.options.group.revertClone && this.animate(A, fe), D(fe, "display", ""), St = !1;
11241
+ A.parentNode == de && !this.options.group.revertClone ? de.insertBefore(he, A) : Ht ? de.insertBefore(he, Ht) : de.appendChild(he), this.options.group.revertClone && this.animate(A, he), M(he, "display", ""), St = !1;
11252
11242
  }
11253
11243
  }
11254
11244
  };
@@ -11256,11 +11246,11 @@ function Ff(e) {
11256
11246
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
11257
11247
  }
11258
11248
  function uo(e, t, n, o, i, s, a, l) {
11259
- var c, _ = e[Qe], d = _.options.onMove, h;
11249
+ var c, _ = e[Qe], h = _.options.onMove, d;
11260
11250
  return window.CustomEvent && !yt && !jn ? c = new CustomEvent("move", {
11261
11251
  bubbles: !0,
11262
11252
  cancelable: !0
11263
- }) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = t, c.from = e, c.dragged = n, c.draggedRect = o, c.related = i || t, c.relatedRect = s || ke(t), c.willInsertAfter = l, c.originalEvent = a, e.dispatchEvent(c), d && (h = d.call(_, c, a)), h;
11253
+ }) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = t, c.from = e, c.dragged = n, c.draggedRect = o, c.related = i || t, c.relatedRect = s || Ne(t), c.willInsertAfter = l, c.originalEvent = a, e.dispatchEvent(c), h && (d = h.call(_, c, a)), d;
11264
11254
  }
11265
11255
  function ki(e) {
11266
11256
  e.draggable = !1;
@@ -11269,28 +11259,28 @@ function Yf() {
11269
11259
  Xi = !1;
11270
11260
  }
11271
11261
  function Kf(e, t, n) {
11272
- var o = ke(mn(n.el, 0, n.options, !0)), i = Nr(n.el, n.options, K), s = 10;
11262
+ var o = Ne(mn(n.el, 0, n.options, !0)), i = Nr(n.el, n.options, K), s = 10;
11273
11263
  return t ? e.clientX < i.left - s || e.clientY < o.top && e.clientX < o.right : e.clientY < i.top - s || e.clientY < o.bottom && e.clientX < o.left;
11274
11264
  }
11275
11265
  function Hf(e, t, n) {
11276
- var o = ke(ls(n.el, n.options.draggable)), i = Nr(n.el, n.options, K), s = 10;
11266
+ var o = Ne(ls(n.el, n.options.draggable)), i = Nr(n.el, n.options, K), s = 10;
11277
11267
  return t ? e.clientX > i.right + s || e.clientY > o.bottom && e.clientX > o.left : e.clientY > i.bottom + s || e.clientX > o.right && e.clientY > o.top;
11278
11268
  }
11279
11269
  function $f(e, t, n, o, i, s, a, l) {
11280
- var c = o ? e.clientY : e.clientX, _ = o ? n.height : n.width, d = o ? n.top : n.left, h = o ? n.bottom : n.right, g = !1;
11270
+ var c = o ? e.clientY : e.clientX, _ = o ? n.height : n.width, h = o ? n.top : n.left, d = o ? n.bottom : n.right, g = !1;
11281
11271
  if (!a) {
11282
11272
  if (l && To < _ * i) {
11283
- if (!Pn && (Mn === 1 ? c > d + _ * s / 2 : c < h - _ * s / 2) && (Pn = !0), Pn)
11273
+ if (!Pn && (Mn === 1 ? c > h + _ * s / 2 : c < d - _ * s / 2) && (Pn = !0), Pn)
11284
11274
  g = !0;
11285
- else if (Mn === 1 ? c < d + To : c > h - To)
11275
+ else if (Mn === 1 ? c < h + To : c > d - To)
11286
11276
  return -Mn;
11287
- } else if (c > d + _ * (1 - i) / 2 && c < h - _ * (1 - i) / 2)
11277
+ } else if (c > h + _ * (1 - i) / 2 && c < d - _ * (1 - i) / 2)
11288
11278
  return Gf(t);
11289
11279
  }
11290
- return g = g || a, g && (c < d + _ * s / 2 || c > h - _ * s / 2) ? c > d + _ / 2 ? 1 : -1 : 0;
11280
+ return g = g || a, g && (c < h + _ * s / 2 || c > d - _ * s / 2) ? c > h + _ / 2 ? 1 : -1 : 0;
11291
11281
  }
11292
11282
  function Gf(e) {
11293
- return et(A) < et(e) ? 1 : -1;
11283
+ return Ze(A) < Ze(e) ? 1 : -1;
11294
11284
  }
11295
11285
  function jf(e) {
11296
11286
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
@@ -11311,12 +11301,12 @@ function zi(e) {
11311
11301
  return clearTimeout(e);
11312
11302
  }
11313
11303
  ni && te(document, "touchmove", function(e) {
11314
- (M.active || an) && e.cancelable && e.preventDefault();
11304
+ (P.active || rn) && e.cancelable && e.preventDefault();
11315
11305
  });
11316
- M.utils = {
11306
+ P.utils = {
11317
11307
  on: te,
11318
- off: ee,
11319
- css: D,
11308
+ off: Z,
11309
+ css: M,
11320
11310
  find: br,
11321
11311
  is: function(e, t) {
11322
11312
  return !!it(e, t, e, !1);
@@ -11326,29 +11316,29 @@ M.utils = {
11326
11316
  closest: it,
11327
11317
  toggleClass: qe,
11328
11318
  clone: Cr,
11329
- index: et,
11319
+ index: Ze,
11330
11320
  nextTick: Eo,
11331
11321
  cancelNextTick: zi,
11332
11322
  detectDirection: Lr,
11333
11323
  getChild: mn
11334
11324
  };
11335
- M.get = function(e) {
11325
+ P.get = function(e) {
11336
11326
  return e[Qe];
11337
11327
  };
11338
- M.mount = function() {
11328
+ P.mount = function() {
11339
11329
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
11340
11330
  t[n] = arguments[n];
11341
11331
  t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
11342
11332
  if (!o.prototype || !o.prototype.constructor)
11343
11333
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
11344
- o.utils && (M.utils = dt(dt({}, M.utils), o.utils)), Wn.mount(o);
11334
+ o.utils && (P.utils = ft(ft({}, P.utils), o.utils)), Wn.mount(o);
11345
11335
  });
11346
11336
  };
11347
- M.create = function(e, t) {
11348
- return new M(e, t);
11337
+ P.create = function(e, t) {
11338
+ return new P(e, t);
11349
11339
  };
11350
- M.version = Cf;
11351
- var Ne = [], Cn, qi, Ji = !1, Li, Si, Uo, Nn;
11340
+ P.version = Cf;
11341
+ var Ce = [], Cn, qi, Ji = !1, Li, Si, Uo, Nn;
11352
11342
  function Xf() {
11353
11343
  function e() {
11354
11344
  this.defaults = {
@@ -11371,10 +11361,10 @@ function Xf() {
11371
11361
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
11372
11362
  },
11373
11363
  drop: function() {
11374
- this.sortable.nativeDraggable ? ee(document, "dragover", this._handleAutoScroll) : (ee(document, "pointermove", this._handleFallbackAutoScroll), ee(document, "touchmove", this._handleFallbackAutoScroll), ee(document, "mousemove", this._handleFallbackAutoScroll)), va(), Ao(), Sf();
11364
+ this.sortable.nativeDraggable ? Z(document, "dragover", this._handleAutoScroll) : (Z(document, "pointermove", this._handleFallbackAutoScroll), Z(document, "touchmove", this._handleFallbackAutoScroll), Z(document, "mousemove", this._handleFallbackAutoScroll)), va(), Ao(), Sf();
11375
11365
  },
11376
11366
  nulling: function() {
11377
- Uo = qi = Cn = Ji = Nn = Li = Si = null, Ne.length = 0;
11367
+ Uo = qi = Cn = Ji = Nn = Li = Si = null, Ce.length = 0;
11378
11368
  },
11379
11369
  _handleFallbackAutoScroll: function(t) {
11380
11370
  this._handleAutoScroll(t, !0);
@@ -11389,7 +11379,7 @@ function Xf() {
11389
11379
  c !== l && (l = c, Ao()), Bi(t, o.options, c, n);
11390
11380
  }, 10), Li = i, Si = s);
11391
11381
  } else {
11392
- if (!this.options.bubbleScroll || Dt(a, !0) === _t()) {
11382
+ if (!this.options.bubbleScroll || Dt(a, !0) === ht()) {
11393
11383
  Ao();
11394
11384
  return;
11395
11385
  }
@@ -11402,32 +11392,32 @@ function Xf() {
11402
11392
  });
11403
11393
  }
11404
11394
  function Ao() {
11405
- Ne.forEach(function(e) {
11395
+ Ce.forEach(function(e) {
11406
11396
  clearInterval(e.pid);
11407
- }), Ne = [];
11397
+ }), Ce = [];
11408
11398
  }
11409
11399
  function va() {
11410
11400
  clearInterval(Nn);
11411
11401
  }
11412
11402
  var Bi = Ir(function(e, t, n, o) {
11413
11403
  if (t.scroll) {
11414
- var i = (e.touches ? e.touches[0] : e).clientX, s = (e.touches ? e.touches[0] : e).clientY, a = t.scrollSensitivity, l = t.scrollSpeed, c = _t(), _ = !1, d;
11415
- qi !== n && (qi = n, Ao(), Cn = t.scroll, d = t.scrollFn, Cn === !0 && (Cn = Dt(n, !0)));
11416
- var h = 0, g = Cn;
11404
+ var i = (e.touches ? e.touches[0] : e).clientX, s = (e.touches ? e.touches[0] : e).clientY, a = t.scrollSensitivity, l = t.scrollSpeed, c = ht(), _ = !1, h;
11405
+ qi !== n && (qi = n, Ao(), Cn = t.scroll, h = t.scrollFn, Cn === !0 && (Cn = Dt(n, !0)));
11406
+ var d = 0, g = Cn;
11417
11407
  do {
11418
- var m = g, I = ke(m), O = I.top, G = I.bottom, j = I.left, U = I.right, J = I.width, ge = I.height, Q = void 0, Le = void 0, $e = m.scrollWidth, B = m.scrollHeight, F = D(m), ie = m.scrollLeft, me = m.scrollTop;
11419
- m === c ? (Q = J < $e && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"), Le = ge < B && (F.overflowY === "auto" || F.overflowY === "scroll" || F.overflowY === "visible")) : (Q = J < $e && (F.overflowX === "auto" || F.overflowX === "scroll"), Le = ge < B && (F.overflowY === "auto" || F.overflowY === "scroll"));
11420
- var Z = Q && (Math.abs(U - i) <= a && ie + J < $e) - (Math.abs(j - i) <= a && !!ie), se = Le && (Math.abs(G - s) <= a && me + ge < B) - (Math.abs(O - s) <= a && !!me);
11421
- if (!Ne[h])
11422
- for (var oe = 0; oe <= h; oe++)
11423
- Ne[oe] || (Ne[oe] = {});
11424
- (Ne[h].vx != Z || Ne[h].vy != se || Ne[h].el !== m) && (Ne[h].el = m, Ne[h].vx = Z, Ne[h].vy = se, clearInterval(Ne[h].pid), (Z != 0 || se != 0) && (_ = !0, Ne[h].pid = setInterval((function() {
11425
- o && this.layer === 0 && M.active._onTouchMove(Uo);
11426
- var R = Ne[this.layer].vy ? Ne[this.layer].vy * l : 0, ae = Ne[this.layer].vx ? Ne[this.layer].vx * l : 0;
11427
- typeof d == "function" && d.call(M.dragged.parentNode[Qe], ae, R, e, Uo, Ne[this.layer].el) !== "continue" || yr(Ne[this.layer].el, ae, R);
11408
+ var m = g, I = Ne(m), O = I.top, G = I.bottom, D = I.left, j = I.right, ee = I.width, fe = I.height, J = void 0, Le = void 0, $e = m.scrollWidth, B = m.scrollHeight, F = M(m), ie = m.scrollLeft, ge = m.scrollTop;
11409
+ m === c ? (J = ee < $e && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"), Le = fe < B && (F.overflowY === "auto" || F.overflowY === "scroll" || F.overflowY === "visible")) : (J = ee < $e && (F.overflowX === "auto" || F.overflowX === "scroll"), Le = fe < B && (F.overflowY === "auto" || F.overflowY === "scroll"));
11410
+ var Q = J && (Math.abs(j - i) <= a && ie + ee < $e) - (Math.abs(D - i) <= a && !!ie), se = Le && (Math.abs(G - s) <= a && ge + fe < B) - (Math.abs(O - s) <= a && !!ge);
11411
+ if (!Ce[d])
11412
+ for (var oe = 0; oe <= d; oe++)
11413
+ Ce[oe] || (Ce[oe] = {});
11414
+ (Ce[d].vx != Q || Ce[d].vy != se || Ce[d].el !== m) && (Ce[d].el = m, Ce[d].vx = Q, Ce[d].vy = se, clearInterval(Ce[d].pid), (Q != 0 || se != 0) && (_ = !0, Ce[d].pid = setInterval((function() {
11415
+ o && this.layer === 0 && P.active._onTouchMove(Uo);
11416
+ var R = Ce[this.layer].vy ? Ce[this.layer].vy * l : 0, ae = Ce[this.layer].vx ? Ce[this.layer].vx * l : 0;
11417
+ typeof h == "function" && h.call(P.dragged.parentNode[Qe], ae, R, e, Uo, Ce[this.layer].el) !== "continue" || yr(Ce[this.layer].el, ae, R);
11428
11418
  }).bind({
11429
- layer: h
11430
- }), 24))), h++;
11419
+ layer: d
11420
+ }), 24))), d++;
11431
11421
  } while (t.bubbleScroll && g !== c && (g = Dt(g, !1)));
11432
11422
  Ji = _;
11433
11423
  }
@@ -11436,8 +11426,8 @@ var Bi = Ir(function(e, t, n, o) {
11436
11426
  if (t) {
11437
11427
  var c = n || i;
11438
11428
  a();
11439
- var _ = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, d = document.elementFromPoint(_.clientX, _.clientY);
11440
- l(), c && !c.el.contains(d) && (s("spill"), this.onSpill({
11429
+ var _ = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, h = document.elementFromPoint(_.clientX, _.clientY);
11430
+ l(), c && !c.el.contains(h) && (s("spill"), this.onSpill({
11441
11431
  dragEl: o,
11442
11432
  putSortable: n
11443
11433
  }));
@@ -11474,8 +11464,8 @@ us.prototype = {
11474
11464
  bt(us, {
11475
11465
  pluginName: "removeOnSpill"
11476
11466
  });
11477
- M.mount(new Xf());
11478
- M.mount(us, cs);
11467
+ P.mount(new Xf());
11468
+ P.mount(us, cs);
11479
11469
  function zf(e) {
11480
11470
  return e == null ? e : JSON.parse(JSON.stringify(e));
11481
11471
  }
@@ -11506,15 +11496,15 @@ function Zf(...e) {
11506
11496
  let c = null;
11507
11497
  const {
11508
11498
  immediate: _ = !0,
11509
- clone: d = zf,
11510
- customUpdate: h
11499
+ clone: h = zf,
11500
+ customUpdate: d
11511
11501
  } = (n = X(l)) != null ? n : {};
11512
11502
  function g(B) {
11513
11503
  var F;
11514
- const { from: ie, oldIndex: me, item: Z } = B;
11504
+ const { from: ie, oldIndex: ge, item: Q } = B;
11515
11505
  i = Array.from(ie.childNodes);
11516
- const se = X((F = X(a)) == null ? void 0 : F[me]), oe = d(se);
11517
- Oa(se, oe), Z[ba] = oe;
11506
+ const se = X((F = X(a)) == null ? void 0 : F[ge]), oe = h(se);
11507
+ Oa(se, oe), Q[ba] = oe;
11518
11508
  }
11519
11509
  function m(B) {
11520
11510
  const F = B.item[ba];
@@ -11528,47 +11518,47 @@ function Zf(...e) {
11528
11518
  }
11529
11519
  }
11530
11520
  function I(B) {
11531
- const { from: F, item: ie, oldIndex: me, oldDraggableIndex: Z, pullMode: se, clone: oe } = B;
11532
- if (pa(F, ie, me), se === "clone") {
11521
+ const { from: F, item: ie, oldIndex: ge, oldDraggableIndex: Q, pullMode: se, clone: oe } = B;
11522
+ if (pa(F, ie, ge), se === "clone") {
11533
11523
  Oi(oe);
11534
11524
  return;
11535
11525
  }
11536
11526
  if (kn(a)) {
11537
11527
  const R = [...X(a)];
11538
- a.value = ca(R, Z);
11528
+ a.value = ca(R, Q);
11539
11529
  return;
11540
11530
  }
11541
- ca(X(a), Z);
11531
+ ca(X(a), Q);
11542
11532
  }
11543
11533
  function O(B) {
11544
- if (h) {
11545
- h(B);
11534
+ if (d) {
11535
+ d(B);
11546
11536
  return;
11547
11537
  }
11548
- const { from: F, item: ie, oldIndex: me, oldDraggableIndex: Z, newDraggableIndex: se } = B;
11549
- if (Oi(ie), pa(F, ie, me), kn(a)) {
11538
+ const { from: F, item: ie, oldIndex: ge, oldDraggableIndex: Q, newDraggableIndex: se } = B;
11539
+ if (Oi(ie), pa(F, ie, ge), kn(a)) {
11550
11540
  const oe = [...X(a)];
11551
11541
  a.value = la(
11552
11542
  oe,
11553
- Z,
11543
+ Q,
11554
11544
  se
11555
11545
  );
11556
11546
  return;
11557
11547
  }
11558
- la(X(a), Z, se);
11548
+ la(X(a), Q, se);
11559
11549
  }
11560
11550
  function G(B) {
11561
- const { newIndex: F, oldIndex: ie, from: me, to: Z } = B;
11551
+ const { newIndex: F, oldIndex: ie, from: ge, to: Q } = B;
11562
11552
  let se = null;
11563
- const oe = F === ie && me === Z;
11553
+ const oe = F === ie && ge === Q;
11564
11554
  try {
11565
11555
  if (oe) {
11566
11556
  let R = null;
11567
11557
  i == null || i.some((ae, Me) => {
11568
- if (R && (i == null ? void 0 : i.length) !== Z.childNodes.length)
11569
- return me.insertBefore(R, ae.nextSibling), !0;
11570
- const re = Z.childNodes[Me];
11571
- R = Z == null ? void 0 : Z.replaceChild(ae, re);
11558
+ if (R && (i == null ? void 0 : i.length) !== Q.childNodes.length)
11559
+ return ge.insertBefore(R, ae.nextSibling), !0;
11560
+ const re = Q.childNodes[Me];
11561
+ R = Q == null ? void 0 : Q.replaceChild(ae, re);
11572
11562
  });
11573
11563
  }
11574
11564
  } catch (R) {
@@ -11581,43 +11571,43 @@ function Zf(...e) {
11581
11571
  throw se;
11582
11572
  });
11583
11573
  }
11584
- const j = {
11574
+ const D = {
11585
11575
  onUpdate: O,
11586
11576
  onStart: g,
11587
11577
  onAdd: m,
11588
11578
  onRemove: I,
11589
11579
  onEnd: G
11590
11580
  };
11591
- function U(B) {
11581
+ function j(B) {
11592
11582
  const F = X(s);
11593
11583
  return B || (B = gf(F) ? mf(F, o == null ? void 0 : o.$el) : F), B && !Af(B) && (B = B.$el), B || _f("Root element not found"), B;
11594
11584
  }
11595
- function J() {
11585
+ function ee() {
11596
11586
  var B;
11597
- const F = (B = X(l)) != null ? B : {}, { immediate: ie, clone: me } = F, Z = Tr(F, ["immediate", "clone"]);
11598
- return _a(Z, (se, oe) => {
11599
- vf(se) && (Z[se] = (R, ...ae) => {
11587
+ const F = (B = X(l)) != null ? B : {}, { immediate: ie, clone: ge } = F, Q = Tr(F, ["immediate", "clone"]);
11588
+ return _a(Q, (se, oe) => {
11589
+ vf(se) && (Q[se] = (R, ...ae) => {
11600
11590
  const Me = Qf();
11601
11591
  return Of(R, Me), oe(R, ...ae);
11602
11592
  });
11603
11593
  }), Ef(
11604
- a === null ? {} : j,
11605
- Z
11594
+ a === null ? {} : D,
11595
+ Q
11606
11596
  );
11607
11597
  }
11608
- const ge = (B) => {
11609
- B = U(B), c && Q.destroy(), c = new M(B, J());
11598
+ const fe = (B) => {
11599
+ B = j(B), c && J.destroy(), c = new P(B, ee());
11610
11600
  };
11611
11601
  Lt(
11612
11602
  () => l,
11613
11603
  () => {
11614
- c && _a(J(), (B, F) => {
11604
+ c && _a(ee(), (B, F) => {
11615
11605
  c == null || c.option(B, F);
11616
11606
  });
11617
11607
  },
11618
11608
  { deep: !0 }
11619
11609
  );
11620
- const Q = {
11610
+ const J = {
11621
11611
  option: (B, F) => c == null ? void 0 : c.option(B, F),
11622
11612
  destroy: () => {
11623
11613
  c == null || c.destroy(), c = null;
@@ -11625,10 +11615,10 @@ function Zf(...e) {
11625
11615
  save: () => c == null ? void 0 : c.save(),
11626
11616
  toArray: () => c == null ? void 0 : c.toArray(),
11627
11617
  closest: (...B) => c == null ? void 0 : c.closest(...B)
11628
- }, Le = () => Q == null ? void 0 : Q.option("disabled", !0), $e = () => Q == null ? void 0 : Q.option("disabled", !1);
11618
+ }, Le = () => J == null ? void 0 : J.option("disabled", !0), $e = () => J == null ? void 0 : J.option("disabled", !1);
11629
11619
  return Jf(() => {
11630
- _ && ge();
11631
- }), qf(Q.destroy), rn({ start: ge, pause: Le, resume: $e }, Q);
11620
+ _ && fe();
11621
+ }), qf(J.destroy), ln({ start: fe, pause: Le, resume: $e }, J);
11632
11622
  }
11633
11623
  const Qi = [
11634
11624
  "update",
@@ -11688,7 +11678,7 @@ const Qi = [
11688
11678
  "target",
11689
11679
  "customUpdate",
11690
11680
  ...Qi.map((e) => `on${e.replace(/^\S/, (t) => t.toUpperCase())}`)
11691
- ], tg = ht({
11681
+ ], tg = gt({
11692
11682
  name: "VueDraggable",
11693
11683
  model: {
11694
11684
  prop: "modelValue",
@@ -11697,27 +11687,27 @@ const Qi = [
11697
11687
  props: eg,
11698
11688
  emits: ["update:modelValue", ...Qi],
11699
11689
  setup(e, { slots: t, emit: n, expose: o, attrs: i }) {
11700
- const s = Qi.reduce((d, h) => {
11701
- const g = `on${h.replace(/^\S/, (m) => m.toUpperCase())}`;
11702
- return d[g] = (...m) => n(h, ...m), d;
11690
+ const s = Qi.reduce((h, d) => {
11691
+ const g = `on${d.replace(/^\S/, (m) => m.toUpperCase())}`;
11692
+ return h[g] = (...m) => n(d, ...m), h;
11703
11693
  }, {}), a = Be(() => {
11704
- const d = Ml(e), { modelValue: h } = d, g = Tr(d, ["modelValue"]), m = Object.entries(g).reduce((I, [O, G]) => {
11705
- const j = X(G);
11706
- return j !== void 0 && (I[O] = j), I;
11694
+ const h = Ml(e), { modelValue: d } = h, g = Tr(h, ["modelValue"]), m = Object.entries(g).reduce((I, [O, G]) => {
11695
+ const D = X(G);
11696
+ return D !== void 0 && (I[O] = D), I;
11707
11697
  }, {});
11708
- return rn(rn({}, s), hf(rn(rn({}, i), m)));
11698
+ return ln(ln({}, s), hf(ln(ln({}, i), m)));
11709
11699
  }), l = Be({
11710
11700
  get: () => e.modelValue,
11711
- set: (d) => n("update:modelValue", d)
11701
+ set: (h) => n("update:modelValue", h)
11712
11702
  }), c = Mt(), _ = Pl(
11713
11703
  Zf(e.target || c, l, a)
11714
11704
  );
11715
11705
  return o(_), () => {
11716
- var d;
11717
- return Mi(e.tag || "div", { ref: c }, (d = t == null ? void 0 : t.default) == null ? void 0 : d.call(t, _));
11706
+ var h;
11707
+ return Mi(e.tag || "div", { ref: c }, (h = t == null ? void 0 : t.default) == null ? void 0 : h.call(t, _));
11718
11708
  };
11719
11709
  }
11720
- }), ng = { class: "text-subtitle-1 ml-6" }, og = /* @__PURE__ */ ht({
11710
+ }), ng = { class: "text-subtitle-1 ml-6" }, og = /* @__PURE__ */ gt({
11721
11711
  __name: "item",
11722
11712
  props: {
11723
11713
  id: {},
@@ -11742,25 +11732,25 @@ const Qi = [
11742
11732
  border: "1px solid " + n.value,
11743
11733
  pointerEvents: "none"
11744
11734
  }));
11745
- return (d, h) => {
11746
- const g = Ie("v-spacer"), m = Ie("v-icon"), I = xl("ripple");
11747
- return wl((Re(), Et("div", {
11735
+ return (h, d) => {
11736
+ const g = Re("v-spacer"), m = Re("v-icon"), I = xl("ripple");
11737
+ return wl((ke(), ct("div", {
11748
11738
  class: "d-flex align-center cursor-pointer",
11749
- style: ct(c.value),
11750
- onClick: h[1] || (h[1] = (O) => a("x-click", s.id)),
11751
- onMouseover: h[2] || (h[2] = (O) => l.value = !0),
11752
- onMouseout: h[3] || (h[3] = (O) => l.value = !1)
11739
+ style: pt(c.value),
11740
+ onClick: d[1] || (d[1] = (O) => a("x-click", s.id)),
11741
+ onMouseover: d[2] || (d[2] = (O) => l.value = !0),
11742
+ onMouseout: d[3] || (d[3] = (O) => l.value = !1)
11753
11743
  }, [
11754
- at("span", ng, wo(s.title), 1),
11755
- he(g),
11756
- he(m, {
11744
+ ut("span", ng, wo(s.title), 1),
11745
+ Te(g),
11746
+ Te(m, {
11757
11747
  class: "x-handle cursor-move mr-3",
11758
11748
  icon: X(sc),
11759
- onMousedown: h[0] || (h[0] = Ln(() => {
11749
+ onMousedown: d[0] || (d[0] = Ln(() => {
11760
11750
  }, ["stop"]))
11761
11751
  }, null, 8, ["icon"]),
11762
- at("div", {
11763
- style: ct(_.value)
11752
+ ut("div", {
11753
+ style: pt(_.value)
11764
11754
  }, null, 4)
11765
11755
  ], 36)), [
11766
11756
  [I]
@@ -11770,26 +11760,26 @@ const Qi = [
11770
11760
  }), ig = {
11771
11761
  key: 1,
11772
11762
  class: "text-caption text-grey"
11773
- }, sg = /* @__PURE__ */ ht({
11763
+ }, sg = /* @__PURE__ */ gt({
11774
11764
  __name: "index",
11775
11765
  props: {
11776
11766
  lock: { type: Boolean }
11777
11767
  },
11778
11768
  setup(e) {
11779
11769
  const { t } = Kn(), n = e, o = Mt([]), i = () => {
11780
- const h = Pt();
11781
- if (!h) {
11770
+ const d = Pt();
11771
+ if (!d) {
11782
11772
  console.assert(!1);
11783
11773
  return;
11784
11774
  }
11785
11775
  const g = [];
11786
- h.getTopBlocks(!0).forEach((I) => {
11787
- var j;
11788
- const O = I.id === ((j = sn()) == null ? void 0 : j.id);
11776
+ d.getTopBlocks(!0).forEach((I) => {
11777
+ var D;
11778
+ const O = I.id === ((D = an()) == null ? void 0 : D.id);
11789
11779
  let G = "<n/a>";
11790
11780
  if (I.type.startsWith("on_node_event_v")) {
11791
- const U = I, J = Ke[U.node.key];
11792
- J && (G = t(J.name), U.node.alias && (G += " / " + U.node.alias), G += " - " + T[U.event.name]);
11781
+ const j = I, ee = Ke[j.node.key];
11782
+ ee && (G = t(ee.name), j.node.alias && (G += " / " + j.node.alias), G += " - " + T[j.event.name]);
11793
11783
  } else I.type.startsWith("func_entry_v") ? G = t("x-block-lib.funcEntry") : I.type.startsWith("procedure_def_v") ? (console.log(I), G = t("x-block-lib.procedure") + " - " + I.getFieldValue("NAME")) : G = t("x-block-lib.temporaryBlock");
11794
11784
  g.push({
11795
11785
  id: I.id,
@@ -11799,9 +11789,9 @@ const Qi = [
11799
11789
  }), o.value = g;
11800
11790
  };
11801
11791
  dn(() => {
11802
- ut.on("codeUpdate", i);
11792
+ _t.on("codeUpdate", i);
11803
11793
  }), Oo(() => {
11804
- ut.off("codeUpdate", i);
11794
+ _t.off("codeUpdate", i);
11805
11795
  });
11806
11796
  let s = [];
11807
11797
  const a = () => {
@@ -11809,43 +11799,43 @@ const Qi = [
11809
11799
  Da(t("x-block-lib.msg.cannotOperateInLockedState"));
11810
11800
  return;
11811
11801
  }
11812
- const h = [];
11802
+ const d = [];
11813
11803
  o.value.forEach(({ id: g }) => {
11814
- h.push(g);
11815
- }), s = h;
11816
- }, l = () => !n.lock, c = (h) => {
11804
+ d.push(g);
11805
+ }), s = d;
11806
+ }, l = () => !n.lock, c = (d) => {
11817
11807
  const g = Pt();
11818
11808
  if (!g) {
11819
11809
  console.assert(!1);
11820
11810
  return;
11821
11811
  }
11822
- if (h.oldIndex === void 0 || h.newIndex === void 0) {
11812
+ if (d.oldIndex === void 0 || d.newIndex === void 0) {
11823
11813
  console.assert(!1);
11824
11814
  return;
11825
11815
  }
11826
- if (h.oldIndex === h.newIndex)
11816
+ if (d.oldIndex === d.newIndex)
11827
11817
  return;
11828
- const m = s[h.oldIndex], I = g.getBlockById(m);
11818
+ const m = s[d.oldIndex], I = g.getBlockById(m);
11829
11819
  if (!I) {
11830
11820
  console.assert(!1);
11831
11821
  return;
11832
11822
  }
11833
11823
  let O = "";
11834
- h.newIndex > h.oldIndex ? O = s[h.newIndex] : h.newIndex > 0 && (O = s[h.newIndex - 1]);
11824
+ d.newIndex > d.oldIndex ? O = s[d.newIndex] : d.newIndex > 0 && (O = s[d.newIndex - 1]);
11835
11825
  let G = -10;
11836
11826
  O !== "" && (G = g.getBlockById(O).getRelativeToSurfaceXY().y + 10);
11837
- const j = I.getRelativeToSurfaceXY();
11838
- I.moveTo(new k.Coordinate(j.x, G)), ut.emit("cleanWorkspace"), pr();
11839
- }, { open: _ } = Ko("blocklyNavigatorDlg"), d = async (h) => {
11827
+ const D = I.getRelativeToSurfaceXY();
11828
+ I.moveTo(new k.Coordinate(D.x, G)), _t.emit("cleanWorkspace"), pr();
11829
+ }, { open: _ } = Ko("blocklyNavigatorDlg"), h = async (d) => {
11840
11830
  const g = Pt();
11841
11831
  if (!g) {
11842
11832
  console.assert(!1);
11843
11833
  return;
11844
11834
  }
11845
- const m = g.getBlockById(h);
11846
- Wl.setSelected(m), ur(h), _.value = !1;
11835
+ const m = g.getBlockById(d);
11836
+ Wl.setSelected(m), ur(d), _.value = !1;
11847
11837
  };
11848
- return (h, g) => o.value.length > 0 ? (Re(), pt(X(tg), {
11838
+ return (d, g) => o.value.length > 0 ? (ke(), dt(X(tg), {
11849
11839
  key: 0,
11850
11840
  modelValue: o.value,
11851
11841
  "onUpdate:modelValue": g[0] || (g[0] = (m) => o.value = m),
@@ -11856,17 +11846,17 @@ const Qi = [
11856
11846
  onMove: l,
11857
11847
  onEnd: c
11858
11848
  }, {
11859
- default: Ze(() => [
11860
- (Re(!0), Et(ka, null, Vl(o.value, (m) => (Re(), pt(og, {
11849
+ default: at(() => [
11850
+ (ke(!0), ct(ka, null, Vl(o.value, (m) => (ke(), dt(og, {
11861
11851
  id: m.id,
11862
11852
  key: m.id,
11863
11853
  title: m.name,
11864
11854
  select: m.select,
11865
- onXClick: d
11855
+ onXClick: h
11866
11856
  }, null, 8, ["id", "title", "select"]))), 128))
11867
11857
  ]),
11868
11858
  _: 1
11869
- }, 8, ["modelValue"])) : (Re(), Et("span", ig, wo(X(t)("x-block-lib.noOption")), 1));
11859
+ }, 8, ["modelValue"])) : (ke(), ct("span", ig, wo(X(t)("x-block-lib.noOption")), 1));
11870
11860
  }
11871
11861
  }), Ur = (e, t) => {
11872
11862
  const n = e.__vccOpts || e;
@@ -11875,9 +11865,9 @@ const Qi = [
11875
11865
  return n;
11876
11866
  }, ag = /* @__PURE__ */ Ur(sg, [["__scopeId", "data-v-448cc5cd"]]), rg = {};
11877
11867
  function lg(e, t) {
11878
- return Re(), Et("div", null, "blockTree");
11868
+ return ke(), ct("div", null, "blockTree");
11879
11869
  }
11880
- const cg = /* @__PURE__ */ Ur(rg, [["render", lg]]), ug = { class: "text-subtitle-1" }, pg = /* @__PURE__ */ ht({
11870
+ const cg = /* @__PURE__ */ Ur(rg, [["render", lg]]), ug = { class: "text-subtitle-1" }, pg = /* @__PURE__ */ gt({
11881
11871
  __name: "index",
11882
11872
  props: {
11883
11873
  type: {},
@@ -11885,76 +11875,76 @@ const cg = /* @__PURE__ */ Ur(rg, [["render", lg]]), ug = { class: "text-subtitl
11885
11875
  },
11886
11876
  setup(e) {
11887
11877
  const { t } = Kn(), n = nc(), { sysBarAvail: o } = Ma(), { backgroundColor1: i } = Yo(), s = e, a = Be(() => {
11888
- let d = "100%";
11889
- return n.mdAndUp.value && (d = "400px"), {
11878
+ let h = "100%";
11879
+ return n.mdAndUp.value && (h = "400px"), {
11890
11880
  background: i.value,
11891
- width: d,
11881
+ width: h,
11892
11882
  height: "100%"
11893
11883
  };
11894
11884
  }), l = Be(() => {
11895
- let d = 48;
11896
- return o.value && (d += 24), {
11885
+ let h = 48;
11886
+ return o.value && (h += 24), {
11897
11887
  position: "relative",
11898
- height: `calc(100% - ${d}px)`
11888
+ height: `calc(100% - ${h}px)`
11899
11889
  };
11900
11890
  }), c = Be(() => ({
11901
11891
  height: "60px"
11902
11892
  })), { open: _ } = Ko("blocklyNavigatorDlg");
11903
- return (d, h) => {
11904
- const g = Ie("v-sheet"), m = Ie("v-btn"), I = Ie("v-spacer"), O = Ie("v-dialog"), G = Ie("v-fade-transition"), j = Ie("v-tooltip");
11905
- return Re(), Et(ka, null, [
11906
- he(O, {
11893
+ return (h, d) => {
11894
+ const g = Re("v-sheet"), m = Re("v-btn"), I = Re("v-spacer"), O = Re("v-dialog"), G = Re("v-tooltip");
11895
+ return ke(), ct(ka, null, [
11896
+ Te(O, {
11907
11897
  modelValue: X(_),
11908
- "onUpdate:modelValue": h[3] || (h[3] = (U) => kn(_) ? _.value = U : null),
11898
+ "onUpdate:modelValue": d[3] || (d[3] = (D) => kn(_) ? _.value = D : null),
11909
11899
  transition: "scroll-x-reverse-transition",
11910
11900
  persistent: "",
11911
11901
  "no-click-animation": "",
11912
11902
  fullscreen: "",
11913
11903
  eager: "",
11914
- onKeydown: h[4] || (h[4] = La(Ln((U) => _.value = !1, ["stop", "prevent"]), ["esc"]))
11904
+ onKeydown: d[4] || (d[4] = La(Ln((D) => _.value = !1, ["stop", "prevent"]), ["esc"]))
11915
11905
  }, {
11916
- default: Ze(() => [
11917
- at("div", {
11906
+ default: at(() => [
11907
+ ut("div", {
11918
11908
  class: "w-100 h-100 d-flex flex-row-reverse",
11919
- onClick: h[1] || (h[1] = Ln((U) => _.value = !1, ["self"])),
11920
- onContextmenu: h[2] || (h[2] = Ln((U) => _.value = !1, ["self", "prevent"]))
11909
+ onClick: d[1] || (d[1] = Ln((D) => _.value = !1, ["self"])),
11910
+ onContextmenu: d[2] || (d[2] = Ln((D) => _.value = !1, ["self", "prevent"]))
11921
11911
  }, [
11922
- at("div", {
11912
+ ut("div", {
11923
11913
  class: "elevation-2",
11924
- style: ct(a.value)
11914
+ style: pt(a.value)
11925
11915
  }, [
11926
- X(o) ? (Re(), pt(g, {
11916
+ X(o) ? (ke(), dt(g, {
11927
11917
  key: 0,
11928
11918
  color: "transparent",
11929
11919
  height: 24
11930
- })) : cn("", !0),
11931
- he(g, {
11920
+ })) : $t("", !0),
11921
+ Te(g, {
11932
11922
  class: "d-flex align-center px-2",
11933
11923
  color: "transparent",
11934
11924
  height: 48
11935
11925
  }, {
11936
- default: Ze(() => [
11937
- he(m, {
11926
+ default: at(() => [
11927
+ Te(m, {
11938
11928
  variant: "text",
11939
11929
  density: "comfortable",
11940
11930
  icon: X(Pa),
11941
- onClick: h[0] || (h[0] = (U) => _.value = !1)
11931
+ onClick: d[0] || (d[0] = (D) => _.value = !1)
11942
11932
  }, null, 8, ["icon"]),
11943
- at("span", ug, wo(X(t)("x-block-lib.navigator")), 1),
11944
- he(I)
11933
+ ut("span", ug, wo(X(t)("x-block-lib.navigator")), 1),
11934
+ Te(I)
11945
11935
  ]),
11946
11936
  _: 1
11947
11937
  }),
11948
- at("div", {
11938
+ ut("div", {
11949
11939
  class: "overflow-y-auto",
11950
- style: ct(l.value)
11940
+ style: pt(l.value)
11951
11941
  }, [
11952
- s.type === "list" ? (Re(), pt(ag, {
11942
+ s.type === "list" ? (ke(), dt(ag, {
11953
11943
  key: 0,
11954
11944
  lock: s.lock
11955
- }, null, 8, ["lock"])) : s.type === "tree" ? (Re(), pt(cg, { key: 1 })) : cn("", !0),
11956
- at("div", {
11957
- style: ct(c.value)
11945
+ }, null, 8, ["lock"])) : s.type === "tree" ? (ke(), dt(cg, { key: 1 })) : $t("", !0),
11946
+ ut("div", {
11947
+ style: pt(c.value)
11958
11948
  }, null, 4)
11959
11949
  ], 4)
11960
11950
  ], 4)
@@ -11962,21 +11952,16 @@ const cg = /* @__PURE__ */ Ur(rg, [["render", lg]]), ug = { class: "text-subtitl
11962
11952
  ]),
11963
11953
  _: 1
11964
11954
  }, 8, ["modelValue"]),
11965
- he(j, {
11955
+ Te(G, {
11966
11956
  text: X(t)("x-block-lib.tip.hotkeyCtrlE")
11967
11957
  }, {
11968
- activator: Ze(({ props: U }) => [
11969
- he(G, null, {
11970
- default: Ze(() => [
11971
- he(m, Zi(U, {
11972
- variant: "outlined",
11973
- density: "comfortable",
11974
- icon: X(lc),
11975
- onClick: h[5] || (h[5] = (J) => _.value = !0)
11976
- }), null, 16, ["icon"])
11977
- ]),
11978
- _: 2
11979
- }, 1024)
11958
+ activator: at(({ props: D }) => [
11959
+ Te(m, Zi(D, {
11960
+ variant: "outlined",
11961
+ density: "comfortable",
11962
+ icon: X(lc),
11963
+ onClick: d[5] || (d[5] = (j) => _.value = !0)
11964
+ }), null, 16, ["icon"])
11980
11965
  ]),
11981
11966
  _: 1
11982
11967
  }, 8, ["text"])
@@ -12042,7 +12027,7 @@ function fg(e) {
12042
12027
  }, 100);
12043
12028
  });
12044
12029
  }
12045
- const gg = { class: "position-relative w-100 h-100" }, mg = /* @__PURE__ */ ht({
12030
+ const gg = { class: "position-relative w-100 h-100" }, mg = /* @__PURE__ */ gt({
12046
12031
  __name: "index",
12047
12032
  props: /* @__PURE__ */ Ns({
12048
12033
  type: {},
@@ -12056,8 +12041,8 @@ const gg = { class: "position-relative w-100 h-100" }, mg = /* @__PURE__ */ ht({
12056
12041
  emits: /* @__PURE__ */ Ns(["ready"], ["update:lock", "update:scale"]),
12057
12042
  setup(e, { expose: t, emit: n }) {
12058
12043
  const o = Zl(), i = ec(), s = Di(e, "lock"), a = Di(e, "scale"), l = e, c = n, _ = Mt();
12059
- let d;
12060
- const h = Mt(!1), g = Mt(!1), m = Be(() => l.type === "json" ? "tree" : "list"), I = Be(() => ({
12044
+ let h;
12045
+ const d = Mt(!1), g = Mt(!1), m = Be(() => l.type === "json" ? "tree" : "list"), I = Be(() => ({
12061
12046
  position: "absolute",
12062
12047
  background: o.value ? "#0000007f" : "#ffffff7f",
12063
12048
  top: "1px",
@@ -12078,7 +12063,7 @@ const gg = { class: "position-relative w-100 h-100" }, mg = /* @__PURE__ */ ht({
12078
12063
  width: "100%",
12079
12064
  height: "100%",
12080
12065
  pointerEvents: "none"
12081
- })), j = Be(() => ({
12066
+ })), D = Be(() => ({
12082
12067
  position: "absolute",
12083
12068
  background: o.value ? "#0000007f" : "#ffffff7f",
12084
12069
  top: "1px",
@@ -12086,43 +12071,43 @@ const gg = { class: "position-relative w-100 h-100" }, mg = /* @__PURE__ */ ht({
12086
12071
  width: "56px",
12087
12072
  height: "calc(100% - 1px)",
12088
12073
  zIndex: 999
12089
- })), { open: U } = Ko("blocklyEditorFlyout");
12074
+ })), { open: j } = Ko("blocklyEditorFlyout");
12090
12075
  dn(async () => {
12091
12076
  if (!_.value) {
12092
12077
  console.assert(!1);
12093
12078
  return;
12094
12079
  }
12095
- await aa(i.value), d = _g(_.value, l.type, l.version), d.addChangeListener(w.disableOrphans), d.addChangeListener(J);
12080
+ await aa(i.value), h = _g(_.value, l.type, l.version), h.addChangeListener(w.disableOrphans), h.addChangeListener(ee);
12096
12081
  const R = document.querySelector("#blocklyEditor .blocklyFlyout");
12097
12082
  new MutationObserver((Me) => {
12098
12083
  Me.forEach((re) => {
12099
- re.type === "attributes" && re.attributeName === "style" && (U.value = d.getFlyout().isVisible());
12084
+ re.type === "attributes" && re.attributeName === "style" && (j.value = h.getFlyout().isVisible());
12100
12085
  });
12101
- }).observe(R, { attributes: !0 }), U.value = d.getFlyout().isVisible(), $e(), B(), await es(), c("ready");
12086
+ }).observe(R, { attributes: !0 }), j.value = h.getFlyout().isVisible(), $e(), B(), await es(), c("ready");
12102
12087
  }), Oo(() => {
12103
- U.value = !1;
12088
+ j.value = !1;
12104
12089
  }), hc(_, () => {
12105
- d && zl(d);
12090
+ h && zl(h);
12106
12091
  });
12107
- async function J(R) {
12092
+ async function ee(R) {
12108
12093
  if (R.type === w.FINISHED_LOADING) {
12109
- pr(), ut.emit("codeUpdate"), h.value = !1;
12094
+ pr(), _t.emit("codeUpdate"), d.value = !1;
12110
12095
  return;
12111
12096
  }
12112
- if (!h.value) {
12097
+ if (!d.value) {
12113
12098
  if (R.type === w.VIEWPORT_CHANGE) {
12114
- a.value = d.getScale();
12099
+ a.value = h.getScale();
12115
12100
  return;
12116
12101
  }
12117
- R.type === w.BLOCK_DRAG && (R.isStart ? g.value = !0 : g.value = !1), ut.emit("codeUpdate");
12102
+ R.type === w.BLOCK_DRAG && (R.isStart ? g.value = !0 : g.value = !1), _t.emit("codeUpdate");
12118
12103
  }
12119
12104
  }
12120
- const ge = (R) => {
12121
- h.value = !0, Ls.workspaces.load(R, d);
12122
- }, Q = () => Ls.workspaces.save(d), Le = () => r.workspaceToCode(d), $e = () => {
12123
- d.options.readOnly = s.value, d.options.readOnly && (U.value = !1);
12105
+ const fe = (R) => {
12106
+ d.value = !0, Ls.workspaces.load(R, h);
12107
+ }, J = () => Ls.workspaces.save(h), Le = () => r.workspaceToCode(h), $e = () => {
12108
+ h.options.readOnly = s.value, h.options.readOnly && (j.value = !1);
12124
12109
  }, B = () => {
12125
- d.setScale(a.value);
12110
+ h.setScale(a.value);
12126
12111
  };
12127
12112
  class F extends w.Abstract {
12128
12113
  constructor() {
@@ -12131,10 +12116,10 @@ const gg = { class: "position-relative w-100 h-100" }, mg = /* @__PURE__ */ ht({
12131
12116
  }
12132
12117
  }
12133
12118
  const ie = () => {
12134
- d.fireChangeListener(new F());
12135
- }, me = (R) => {
12119
+ h.fireChangeListener(new F());
12120
+ }, ge = (R) => {
12136
12121
  if (R.key === "q" && R.ctrlKey) {
12137
- Z();
12122
+ Q();
12138
12123
  return;
12139
12124
  }
12140
12125
  if (R.key === "w" && R.ctrlKey) {
@@ -12145,70 +12130,76 @@ const gg = { class: "position-relative w-100 h-100" }, mg = /* @__PURE__ */ ht({
12145
12130
  oe();
12146
12131
  return;
12147
12132
  }
12148
- }, Z = () => {
12149
- ut.emit("cleanWorkspace");
12133
+ }, Q = () => {
12134
+ _t.emit("cleanWorkspace");
12150
12135
  }, se = () => {
12151
12136
  s.value = !s.value;
12152
12137
  }, oe = () => {
12153
- ut.emit("blocklyNavigatorDlg");
12138
+ _t.emit("blocklyNavigatorDlg");
12154
12139
  };
12155
12140
  return dn(() => {
12156
- window.addEventListener("keydown", me, !1);
12141
+ window.addEventListener("keydown", ge, !1);
12157
12142
  }), Oo(() => {
12158
- window.addEventListener("keydown", me, !1);
12143
+ window.addEventListener("keydown", ge, !1);
12159
12144
  }), Lt(i, (R) => {
12160
12145
  aa(R);
12161
12146
  }), Lt(o, (R) => {
12162
12147
  nf(R ? "dark" : "light");
12163
- }), Lt(U, (R) => {
12164
- R || d.hideChaff();
12148
+ }), Lt(j, (R) => {
12149
+ R || h.hideChaff();
12165
12150
  }), Lt(s, () => {
12166
12151
  $e();
12167
12152
  }), Lt(a, () => {
12168
12153
  B();
12169
- }), t({ loading: h, load: ge, save: Q, generateCode: Le, fireStateChange: ie }), (R, ae) => {
12170
- const Me = Ie("v-icon"), re = Ie("x-loading");
12171
- return Re(), Et("div", gg, [
12172
- at("div", {
12154
+ }), t({ loading: d, load: fe, save: J, generateCode: Le, fireStateChange: ie }), (R, ae) => {
12155
+ const Me = Re("v-icon"), re = Re("v-slide-y-transition"), Xe = Re("x-loading");
12156
+ return ke(), ct("div", gg, [
12157
+ ut("div", {
12173
12158
  id: "blocklyEditor",
12174
12159
  ref_key: "blocklyDiv",
12175
12160
  ref: _,
12176
12161
  class: "w-100 h-100"
12177
12162
  }, null, 512),
12178
- g.value ? (Re(), Et("div", {
12163
+ g.value ? (ke(), ct("div", {
12179
12164
  key: 0,
12180
12165
  class: "d-flex flex-column justify-center align-center",
12181
- style: ct(I.value)
12166
+ style: pt(I.value)
12182
12167
  }, [
12183
- he(Me, {
12168
+ Te(Me, {
12184
12169
  size: "x-large",
12185
12170
  icon: X(ic)
12186
12171
  }, null, 8, ["icon"])
12187
- ], 4)) : cn("", !0),
12188
- at("div", {
12189
- class: "d-flex align-end ga-3 pt-3 pr-3",
12190
- style: ct(O.value)
12191
- }, [
12192
- he(lf, { lock: s.value }, null, 8, ["lock"]),
12193
- he(cf, {
12194
- modelValue: s.value,
12195
- "onUpdate:modelValue": ae[0] || (ae[0] = (Xe) => s.value = Xe)
12196
- }, null, 8, ["modelValue"]),
12197
- he(pg, {
12198
- type: m.value,
12199
- lock: s.value
12200
- }, null, 8, ["type", "lock"])
12201
- ], 4),
12202
- s.value ? (Re(), Et("div", {
12172
+ ], 4)) : $t("", !0),
12173
+ Te(re, null, {
12174
+ default: at(() => [
12175
+ d.value ? $t("", !0) : (ke(), ct("div", {
12176
+ key: 0,
12177
+ class: "d-flex align-end ga-3 pt-3 pr-3",
12178
+ style: pt(O.value)
12179
+ }, [
12180
+ Te(lf, { lock: s.value }, null, 8, ["lock"]),
12181
+ Te(cf, {
12182
+ modelValue: s.value,
12183
+ "onUpdate:modelValue": ae[0] || (ae[0] = (et) => s.value = et)
12184
+ }, null, 8, ["modelValue"]),
12185
+ Te(pg, {
12186
+ type: m.value,
12187
+ lock: s.value
12188
+ }, null, 8, ["type", "lock"])
12189
+ ], 4))
12190
+ ]),
12191
+ _: 1
12192
+ }),
12193
+ s.value ? (ke(), ct("div", {
12203
12194
  key: 1,
12204
- style: ct(j.value)
12205
- }, null, 4)) : cn("", !0),
12206
- s.value ? (Re(), Et("div", {
12195
+ style: pt(D.value)
12196
+ }, null, 4)) : $t("", !0),
12197
+ s.value ? (ke(), ct("div", {
12207
12198
  key: 2,
12208
- style: ct(G.value)
12209
- }, null, 4)) : cn("", !0),
12210
- he(re, {
12211
- open: h.value,
12199
+ style: pt(G.value)
12200
+ }, null, 4)) : $t("", !0),
12201
+ Te(Xe, {
12202
+ open: d.value,
12212
12203
  "z-index": 99
12213
12204
  }, null, 8, ["open"])
12214
12205
  ]);
@@ -12372,7 +12363,7 @@ function Tg() {
12372
12363
  }));
12373
12364
  }
12374
12365
  }
12375
- class d extends _ {
12366
+ class h extends _ {
12376
12367
  /**
12377
12368
  * @param {*} options
12378
12369
  */
@@ -12407,7 +12398,7 @@ function Tg() {
12407
12398
  return this.closeAllNodes(), !0;
12408
12399
  }
12409
12400
  }
12410
- function h(u) {
12401
+ function d(u) {
12411
12402
  return u ? typeof u == "string" ? u : u.source : null;
12412
12403
  }
12413
12404
  function g(u) {
@@ -12420,31 +12411,31 @@ function Tg() {
12420
12411
  return O("(?:", u, ")?");
12421
12412
  }
12422
12413
  function O(...u) {
12423
- return u.map((v) => h(v)).join("");
12414
+ return u.map((v) => d(v)).join("");
12424
12415
  }
12425
12416
  function G(u) {
12426
12417
  const f = u[u.length - 1];
12427
12418
  return typeof f == "object" && f.constructor === Object ? (u.splice(u.length - 1, 1), f) : {};
12428
12419
  }
12429
- function j(...u) {
12430
- return "(" + (G(u).capture ? "" : "?:") + u.map((Y) => h(Y)).join("|") + ")";
12420
+ function D(...u) {
12421
+ return "(" + (G(u).capture ? "" : "?:") + u.map((Y) => d(Y)).join("|") + ")";
12431
12422
  }
12432
- function U(u) {
12423
+ function j(u) {
12433
12424
  return new RegExp(u.toString() + "|").exec("").length - 1;
12434
12425
  }
12435
- function J(u, f) {
12426
+ function ee(u, f) {
12436
12427
  const v = u && u.exec(f);
12437
12428
  return v && v.index === 0;
12438
12429
  }
12439
- const ge = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
12440
- function Q(u, { joinWith: f }) {
12430
+ const fe = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
12431
+ function J(u, { joinWith: f }) {
12441
12432
  let v = 0;
12442
12433
  return u.map((Y) => {
12443
12434
  v += 1;
12444
12435
  const ve = v;
12445
- let Oe = h(Y), N = "";
12436
+ let Oe = d(Y), N = "";
12446
12437
  for (; Oe.length > 0; ) {
12447
- const y = ge.exec(Oe);
12438
+ const y = fe.exec(Oe);
12448
12439
  if (!y) {
12449
12440
  N += Oe;
12450
12441
  break;
@@ -12454,7 +12445,7 @@ function Tg() {
12454
12445
  return N;
12455
12446
  }).map((Y) => `(${Y})`).join(f);
12456
12447
  }
12457
- const Le = /\b\B/, $e = "[a-zA-Z]\\w*", B = "[a-zA-Z_]\\w*", F = "\\b\\d+(\\.\\d+)?", ie = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", me = "\\b(0b[01]+)", Z = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", se = (u = {}) => {
12448
+ const Le = /\b\B/, $e = "[a-zA-Z]\\w*", B = "[a-zA-Z_]\\w*", F = "\\b\\d+(\\.\\d+)?", ie = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", ge = "\\b(0b[01]+)", Q = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", se = (u = {}) => {
12458
12449
  const f = /^#![ ]*\//;
12459
12450
  return u.binary && (u.begin = O(
12460
12451
  f,
@@ -12507,7 +12498,7 @@ function Tg() {
12507
12498
  excludeBegin: !0,
12508
12499
  relevance: 0
12509
12500
  });
12510
- const ve = j(
12501
+ const ve = D(
12511
12502
  // list of common 1 and 2 letter words in English
12512
12503
  "I",
12513
12504
  "a",
@@ -12554,7 +12545,7 @@ function Tg() {
12554
12545
  // look for 3 words in a row
12555
12546
  }
12556
12547
  ), Y;
12557
- }, Xe = re("//", "$"), gt = re("/\\*", "\\*/"), Jt = re("#", "$"), An = {
12548
+ }, Xe = re("//", "$"), et = re("/\\*", "\\*/"), Qt = re("#", "$"), An = {
12558
12549
  scope: "number",
12559
12550
  begin: F,
12560
12551
  relevance: 0
@@ -12564,7 +12555,7 @@ function Tg() {
12564
12555
  relevance: 0
12565
12556
  }, Fr = {
12566
12557
  scope: "number",
12567
- begin: me,
12558
+ begin: ge,
12568
12559
  relevance: 0
12569
12560
  }, Yr = {
12570
12561
  scope: "regexp",
@@ -12597,9 +12588,9 @@ function Tg() {
12597
12588
  APOS_STRING_MODE: R,
12598
12589
  BACKSLASH_ESCAPE: oe,
12599
12590
  BINARY_NUMBER_MODE: Fr,
12600
- BINARY_NUMBER_RE: me,
12591
+ BINARY_NUMBER_RE: ge,
12601
12592
  COMMENT: re,
12602
- C_BLOCK_COMMENT_MODE: gt,
12593
+ C_BLOCK_COMMENT_MODE: et,
12603
12594
  C_LINE_COMMENT_MODE: Xe,
12604
12595
  C_NUMBER_MODE: Xn,
12605
12596
  C_NUMBER_RE: ie,
@@ -12618,7 +12609,7 @@ function Tg() {
12618
12609
  }
12619
12610
  );
12620
12611
  },
12621
- HASH_COMMENT_MODE: Jt,
12612
+ HASH_COMMENT_MODE: Qt,
12622
12613
  IDENT_RE: $e,
12623
12614
  MATCH_NOTHING_RE: Le,
12624
12615
  METHOD_GUARD: $r,
@@ -12627,7 +12618,7 @@ function Tg() {
12627
12618
  PHRASAL_WORDS_MODE: Me,
12628
12619
  QUOTE_STRING_MODE: ae,
12629
12620
  REGEXP_MODE: Yr,
12630
- RE_STARTERS_RE: Z,
12621
+ RE_STARTERS_RE: Q,
12631
12622
  SHEBANG: se,
12632
12623
  TITLE_MODE: Kr,
12633
12624
  UNDERSCORE_IDENT_RE: B,
@@ -12643,7 +12634,7 @@ function Tg() {
12643
12634
  f && u.beginKeywords && (u.begin = "\\b(" + u.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", u.__beforeBegin = Gr, u.keywords = u.keywords || u.beginKeywords, delete u.beginKeywords, u.relevance === void 0 && (u.relevance = 0));
12644
12635
  }
12645
12636
  function Xr(u, f) {
12646
- Array.isArray(u.illegal) && (u.illegal = j(...u.illegal));
12637
+ Array.isArray(u.illegal) && (u.illegal = D(...u.illegal));
12647
12638
  }
12648
12639
  function zr(u, f) {
12649
12640
  if (u.match) {
@@ -12707,14 +12698,14 @@ function Tg() {
12707
12698
  console.error(u);
12708
12699
  }, ds = (u, ...f) => {
12709
12700
  console.log(`WARN: ${u}`, ...f);
12710
- }, Qt = (u, f) => {
12701
+ }, Zt = (u, f) => {
12711
12702
  _s[`${u}/${f}`] || (console.log(`Deprecated as of ${u}. ${f}`), _s[`${u}/${f}`] = !0);
12712
12703
  }, qn = new Error();
12713
12704
  function hs(u, f, { key: v }) {
12714
12705
  let Y = 0;
12715
12706
  const ve = u[v], Oe = {}, N = {};
12716
12707
  for (let y = 1; y <= f.length; y++)
12717
- N[y + Y] = ve[y], Oe[y + Y] = !0, Y += U(f[y - 1]);
12708
+ N[y + Y] = ve[y], Oe[y + Y] = !0, Y += j(f[y - 1]);
12718
12709
  u[v] = N, u[v]._emit = Oe, u[v]._multi = !0;
12719
12710
  }
12720
12711
  function nl(u) {
@@ -12723,7 +12714,7 @@ function Tg() {
12723
12714
  throw Vt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), qn;
12724
12715
  if (typeof u.beginScope != "object" || u.beginScope === null)
12725
12716
  throw Vt("beginScope must be object"), qn;
12726
- hs(u, u.begin, { key: "beginScope" }), u.begin = Q(u.begin, { joinWith: "" });
12717
+ hs(u, u.begin, { key: "beginScope" }), u.begin = J(u.begin, { joinWith: "" });
12727
12718
  }
12728
12719
  }
12729
12720
  function ol(u) {
@@ -12732,7 +12723,7 @@ function Tg() {
12732
12723
  throw Vt("skip, excludeEnd, returnEnd not compatible with endScope: {}"), qn;
12733
12724
  if (typeof u.endScope != "object" || u.endScope === null)
12734
12725
  throw Vt("endScope must be object"), qn;
12735
- hs(u, u.end, { key: "endScope" }), u.end = Q(u.end, { joinWith: "" });
12726
+ hs(u, u.end, { key: "endScope" }), u.end = J(u.end, { joinWith: "" });
12736
12727
  }
12737
12728
  }
12738
12729
  function il(u) {
@@ -12744,7 +12735,7 @@ function Tg() {
12744
12735
  function al(u) {
12745
12736
  function f(N, y) {
12746
12737
  return new RegExp(
12747
- h(N),
12738
+ d(N),
12748
12739
  "m" + (u.case_insensitive ? "i" : "") + (u.unicodeRegex ? "u" : "") + (y ? "g" : "")
12749
12740
  );
12750
12741
  }
@@ -12754,12 +12745,12 @@ function Tg() {
12754
12745
  }
12755
12746
  // @ts-ignore
12756
12747
  addRule(y, x) {
12757
- x.position = this.position++, this.matchIndexes[this.matchAt] = x, this.regexes.push([x, y]), this.matchAt += U(y) + 1;
12748
+ x.position = this.position++, this.matchIndexes[this.matchAt] = x, this.regexes.push([x, y]), this.matchAt += j(y) + 1;
12758
12749
  }
12759
12750
  compile() {
12760
12751
  this.regexes.length === 0 && (this.exec = () => null);
12761
12752
  const y = this.regexes.map((x) => x[1]);
12762
- this.matcherRe = f(Q(y, { joinWith: "|" }), !0), this.lastIndex = 0;
12753
+ this.matcherRe = f(J(y, { joinWith: "|" }), !0), this.lastIndex = 0;
12763
12754
  }
12764
12755
  /** @param {string} s */
12765
12756
  exec(y) {
@@ -12767,8 +12758,8 @@ function Tg() {
12767
12758
  const x = this.matcherRe.exec(y);
12768
12759
  if (!x)
12769
12760
  return null;
12770
- const De = x.findIndex((vn, ii) => ii > 0 && vn !== void 0), Ce = this.matchIndexes[De];
12771
- return x.splice(0, De), Object.assign(x, Ce);
12761
+ const De = x.findIndex((vn, ii) => ii > 0 && vn !== void 0), ye = this.matchIndexes[De];
12762
+ return x.splice(0, De), Object.assign(x, ye);
12772
12763
  }
12773
12764
  }
12774
12765
  class Y {
@@ -12779,7 +12770,7 @@ function Tg() {
12779
12770
  getMatcher(y) {
12780
12771
  if (this.multiRegexes[y]) return this.multiRegexes[y];
12781
12772
  const x = new v();
12782
- return this.rules.slice(y).forEach(([De, Ce]) => x.addRule(De, Ce)), x.compile(), this.multiRegexes[y] = x, x;
12773
+ return this.rules.slice(y).forEach(([De, ye]) => x.addRule(De, ye)), x.compile(), this.multiRegexes[y] = x, x;
12783
12774
  }
12784
12775
  resumingScanAtSamePosition() {
12785
12776
  return this.regexIndex !== 0;
@@ -12797,8 +12788,8 @@ function Tg() {
12797
12788
  x.lastIndex = this.lastIndex;
12798
12789
  let De = x.exec(y);
12799
12790
  if (this.resumingScanAtSamePosition() && !(De && De.index === this.lastIndex)) {
12800
- const Ce = this.getMatcher(0);
12801
- Ce.lastIndex = this.lastIndex + 1, De = Ce.exec(y);
12791
+ const ye = this.getMatcher(0);
12792
+ ye.lastIndex = this.lastIndex + 1, De = ye.exec(y);
12802
12793
  }
12803
12794
  return De && (this.regexIndex += De.position + 1, this.regexIndex === this.count && this.considerAll()), De;
12804
12795
  }
@@ -12820,24 +12811,24 @@ function Tg() {
12820
12811
  zr,
12821
12812
  sl,
12822
12813
  Jr
12823
- ].forEach((Ce) => Ce(N, y)), u.compilerExtensions.forEach((Ce) => Ce(N, y)), N.__beforeBegin = null, [
12814
+ ].forEach((ye) => ye(N, y)), u.compilerExtensions.forEach((ye) => ye(N, y)), N.__beforeBegin = null, [
12824
12815
  Wr,
12825
12816
  // do this later so compiler extensions that come earlier have access to the
12826
12817
  // raw array if they wanted to perhaps manipulate it, etc.
12827
12818
  Xr,
12828
12819
  // default to 1 relevance if not specified
12829
12820
  qr
12830
- ].forEach((Ce) => Ce(N, y)), N.isCompiled = !0;
12821
+ ].forEach((ye) => ye(N, y)), N.isCompiled = !0;
12831
12822
  let De = null;
12832
- return typeof N.keywords == "object" && N.keywords.$pattern && (N.keywords = Object.assign({}, N.keywords), De = N.keywords.$pattern, delete N.keywords.$pattern), De = De || /\w+/, N.keywords && (N.keywords = ps(N.keywords, u.case_insensitive)), x.keywordPatternRe = f(De, !0), y && (N.begin || (N.begin = /\B|\b/), x.beginRe = f(x.begin), !N.end && !N.endsWithParent && (N.end = /\B|\b/), N.end && (x.endRe = f(x.end)), x.terminatorEnd = h(x.end) || "", N.endsWithParent && y.terminatorEnd && (x.terminatorEnd += (N.end ? "|" : "") + y.terminatorEnd)), N.illegal && (x.illegalRe = f(
12823
+ return typeof N.keywords == "object" && N.keywords.$pattern && (N.keywords = Object.assign({}, N.keywords), De = N.keywords.$pattern, delete N.keywords.$pattern), De = De || /\w+/, N.keywords && (N.keywords = ps(N.keywords, u.case_insensitive)), x.keywordPatternRe = f(De, !0), y && (N.begin || (N.begin = /\B|\b/), x.beginRe = f(x.begin), !N.end && !N.endsWithParent && (N.end = /\B|\b/), N.end && (x.endRe = f(x.end)), x.terminatorEnd = d(x.end) || "", N.endsWithParent && y.terminatorEnd && (x.terminatorEnd += (N.end ? "|" : "") + y.terminatorEnd)), N.illegal && (x.illegalRe = f(
12833
12824
  /** @type {RegExp | string} */
12834
12825
  N.illegal
12835
- )), N.contains || (N.contains = []), N.contains = [].concat(...N.contains.map(function(Ce) {
12836
- return rl(Ce === "self" ? N : Ce);
12837
- })), N.contains.forEach(function(Ce) {
12826
+ )), N.contains || (N.contains = []), N.contains = [].concat(...N.contains.map(function(ye) {
12827
+ return rl(ye === "self" ? N : ye);
12828
+ })), N.contains.forEach(function(ye) {
12838
12829
  Oe(
12839
12830
  /** @type Mode */
12840
- Ce,
12831
+ ye,
12841
12832
  x
12842
12833
  );
12843
12834
  }), N.starts && Oe(N.starts, y), x.matcher = ve(x), x;
@@ -12877,7 +12868,7 @@ function Tg() {
12877
12868
  languages: null,
12878
12869
  // beta configuration options, subject to change, welcome to discuss
12879
12870
  // https://github.com/highlightjs/highlight.js/issues/1086
12880
- __emitter: d
12871
+ __emitter: h
12881
12872
  };
12882
12873
  function x(E) {
12883
12874
  return y.noHighlightRe.test(E);
@@ -12892,9 +12883,9 @@ function Tg() {
12892
12883
  }
12893
12884
  return S.split(/\s+/).find((le) => x(le) || Ct(le));
12894
12885
  }
12895
- function Ce(E, S, z) {
12886
+ function ye(E, S, z) {
12896
12887
  let le = "", Se = "";
12897
- typeof S == "object" ? (le = E, z = S.ignoreIllegals, Se = S.language) : (Qt("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Qt("10.7.0", `Please use highlight(code, options) instead.
12888
+ typeof S == "object" ? (le = E, z = S.ignoreIllegals, Se = S.language) : (Zt("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Zt("10.7.0", `Please use highlight(code, options) instead.
12898
12889
  https://github.com/highlightjs/highlight.js/issues/2277`), Se = E, le = S), z === void 0 && (z = !0);
12899
12890
  const tt = {
12900
12891
  code: le,
@@ -12921,11 +12912,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Se = E, le = S), z ==
12921
12912
  W += ce.substring(b, L.index);
12922
12913
  const ne = lt.case_insensitive ? L[0].toLowerCase() : L[0], Ve = tt(H, ne);
12923
12914
  if (Ve) {
12924
- const [mt, Nl] = Ve;
12925
- if (Pe.addText(W), W = "", Se[ne] = (Se[ne] || 0) + 1, Se[ne] <= ul && (to += Nl), mt.startsWith("_"))
12915
+ const [Tt, Nl] = Ve;
12916
+ if (Pe.addText(W), W = "", Se[ne] = (Se[ne] || 0) + 1, Se[ne] <= ul && (to += Nl), Tt.startsWith("_"))
12926
12917
  W += L[0];
12927
12918
  else {
12928
- const kl = lt.classNameAliases[mt] || mt;
12919
+ const kl = lt.classNameAliases[Tt] || Tt;
12929
12920
  rt(L[0], kl);
12930
12921
  }
12931
12922
  } else
@@ -12962,15 +12953,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Se = E, le = S), z ==
12962
12953
  W++;
12963
12954
  continue;
12964
12955
  }
12965
- const Ve = lt.classNameAliases[b[W]] || b[W], mt = L[W];
12966
- Ve ? rt(mt, Ve) : (ce = mt, Nt(), ce = ""), W++;
12956
+ const Ve = lt.classNameAliases[b[W]] || b[W], Tt = L[W];
12957
+ Ve ? rt(Tt, Ve) : (ce = Tt, Nt(), ce = ""), W++;
12967
12958
  }
12968
12959
  }
12969
12960
  function bs(b, L) {
12970
12961
  return b.scope && typeof b.scope == "string" && Pe.openNode(lt.classNameAliases[b.scope] || b.scope), b.beginScope && (b.beginScope._wrap ? (rt(ce, lt.classNameAliases[b.beginScope._wrap] || b.beginScope._wrap), ce = "") : b.beginScope._multi && (Os(b.beginScope, L), ce = "")), H = Object.create(b, { parent: { value: H } }), H;
12971
12962
  }
12972
12963
  function Is(b, L, W) {
12973
- let ne = J(b.endRe, W);
12964
+ let ne = ee(b.endRe, W);
12974
12965
  if (ne) {
12975
12966
  if (b["on:end"]) {
12976
12967
  const Ve = new t(b);
@@ -12990,8 +12981,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Se = E, le = S), z ==
12990
12981
  }
12991
12982
  function bl(b) {
12992
12983
  const L = b[0], W = b.rule, ne = new t(W), Ve = [W.__beforeBegin, W["on:begin"]];
12993
- for (const mt of Ve)
12994
- if (mt && (mt(b, ne), ne.isMatchIgnored))
12984
+ for (const Tt of Ve)
12985
+ if (Tt && (Tt(b, ne), ne.isMatchIgnored))
12995
12986
  return Ol(L);
12996
12987
  return W.skip ? ce += L : (W.excludeBegin && (ce += L), ze(), !W.returnBegin && !W.excludeBegin && (ce = L)), bs(W, b), W.returnBegin ? 0 : L.length;
12997
12988
  }
@@ -13148,7 +13139,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Se = E, le = S), z ==
13148
13139
  E.innerHTML
13149
13140
  );
13150
13141
  S = E;
13151
- const le = S.textContent, Se = z ? Ce(le, { language: z, ignoreIllegals: !0 }) : si(le);
13142
+ const le = S.textContent, Se = z ? ye(le, { language: z, ignoreIllegals: !0 }) : si(le);
13152
13143
  E.innerHTML = Se.value, E.dataset.highlighted = "yes", pl(E, z, Se.language), E.result = {
13153
13144
  language: Se.language,
13154
13145
  // TODO: remove with version 11.0
@@ -13163,10 +13154,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Se = E, le = S), z ==
13163
13154
  y = gs(y, E);
13164
13155
  }
13165
13156
  const dl = () => {
13166
- Jn(), Qt("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
13157
+ Jn(), Zt("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
13167
13158
  };
13168
13159
  function hl() {
13169
- Jn(), Qt("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
13160
+ Jn(), Zt("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
13170
13161
  }
13171
13162
  let Es = !1;
13172
13163
  function Jn() {
@@ -13237,10 +13228,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Se = E, le = S), z ==
13237
13228
  });
13238
13229
  }
13239
13230
  function vl(E) {
13240
- return Qt("10.7.0", "highlightBlock will be removed entirely in v12.0"), Qt("10.7.0", "Please use highlightElement now."), ai(E);
13231
+ return Zt("10.7.0", "highlightBlock will be removed entirely in v12.0"), Zt("10.7.0", "Please use highlightElement now."), ai(E);
13241
13232
  }
13242
13233
  Object.assign(u, {
13243
- highlight: Ce,
13234
+ highlight: ye,
13244
13235
  highlightAuto: si,
13245
13236
  highlightAll: Jn,
13246
13237
  highlightElement: ai,
@@ -13265,15 +13256,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Se = E, le = S), z ==
13265
13256
  }, u.versionString = ll, u.regex = {
13266
13257
  concat: O,
13267
13258
  lookahead: g,
13268
- either: j,
13259
+ either: D,
13269
13260
  optional: I,
13270
13261
  anyNumberOfTimes: m
13271
13262
  };
13272
13263
  for (const E in zn)
13273
13264
  typeof zn[E] == "object" && e(zn[E]);
13274
13265
  return Object.assign(u, zn), u;
13275
- }, Zt = Ts({});
13276
- return Zt.newInstance = () => Ts({}), Ri = Zt, Zt.HighlightJS = Zt, Zt.default = Zt, Ri;
13266
+ }, en = Ts({});
13267
+ return en.newInstance = () => Ts({}), Ri = en, en.HighlightJS = en, en.default = en, Ri;
13277
13268
  }
13278
13269
  var Eg = /* @__PURE__ */ Tg();
13279
13270
  const vo = /* @__PURE__ */ ql(Eg), Ca = "[A-Za-z$_][0-9A-Za-z$_]*", Ag = [
@@ -13424,8 +13415,8 @@ const vo = /* @__PURE__ */ ql(Eg), Ca = "[A-Za-z$_][0-9A-Za-z$_]*", Ag = [
13424
13415
  );
13425
13416
  function Ig(e) {
13426
13417
  const t = e.regex, n = (re, { after: Xe }) => {
13427
- const gt = "</" + re[0].slice(1);
13428
- return re.input.indexOf(gt, Xe) !== -1;
13418
+ const et = "</" + re[0].slice(1);
13419
+ return re.input.indexOf(et, Xe) !== -1;
13429
13420
  }, o = Ca, i = {
13430
13421
  begin: "<>",
13431
13422
  end: "</>"
@@ -13437,21 +13428,21 @@ function Ig(e) {
13437
13428
  * @param {CallbackResponse} response
13438
13429
  */
13439
13430
  isTrulyOpeningTag: (re, Xe) => {
13440
- const gt = re[0].length + re.index, Jt = re.input[gt];
13431
+ const et = re[0].length + re.index, Qt = re.input[et];
13441
13432
  if (
13442
13433
  // HTML should not include another raw `<` inside a tag
13443
13434
  // nested type?
13444
13435
  // `<Array<Array<number>>`, etc.
13445
- Jt === "<" || // the , gives away that this is not HTML
13436
+ Qt === "<" || // the , gives away that this is not HTML
13446
13437
  // `<T, A extends keyof T, V>`
13447
- Jt === ","
13438
+ Qt === ","
13448
13439
  ) {
13449
13440
  Xe.ignoreMatch();
13450
13441
  return;
13451
13442
  }
13452
- Jt === ">" && (n(re, { after: gt }) || Xe.ignoreMatch());
13443
+ Qt === ">" && (n(re, { after: et }) || Xe.ignoreMatch());
13453
13444
  let An;
13454
- const Xn = re.input.substring(gt);
13445
+ const Xn = re.input.substring(et);
13455
13446
  if (An = Xn.match(/^\s*=/)) {
13456
13447
  Xe.ignoreMatch();
13457
13448
  return;
@@ -13467,12 +13458,12 @@ function Ig(e) {
13467
13458
  literal: vg,
13468
13459
  built_in: bg,
13469
13460
  "variable.language": Og
13470
- }, c = "[0-9](_?[0-9])*", _ = `\\.(${c})`, d = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", h = {
13461
+ }, c = "[0-9](_?[0-9])*", _ = `\\.(${c})`, h = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = {
13471
13462
  className: "number",
13472
13463
  variants: [
13473
13464
  // DecimalLiteral
13474
- { begin: `(\\b(${d})((${_})|\\.)?|(${_}))[eE][+-]?(${c})\\b` },
13475
- { begin: `\\b(${d})\\b((${_})\\b|\\.)?|(${_})\\b` },
13465
+ { begin: `(\\b(${h})((${_})|\\.)?|(${_}))[eE][+-]?(${c})\\b` },
13466
+ { begin: `\\b(${h})\\b((${_})\\b|\\.)?|(${_})\\b` },
13476
13467
  // DecimalBigIntegerLiteral
13477
13468
  { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
13478
13469
  // NonDecimalIntegerLiteral
@@ -13535,7 +13526,7 @@ function Ig(e) {
13535
13526
  e.BACKSLASH_ESCAPE,
13536
13527
  g
13537
13528
  ]
13538
- }, U = {
13529
+ }, j = {
13539
13530
  className: "comment",
13540
13531
  variants: [
13541
13532
  e.COMMENT(
@@ -13580,7 +13571,7 @@ function Ig(e) {
13580
13571
  e.C_BLOCK_COMMENT_MODE,
13581
13572
  e.C_LINE_COMMENT_MODE
13582
13573
  ]
13583
- }, J = [
13574
+ }, ee = [
13584
13575
  e.APOS_STRING_MODE,
13585
13576
  e.QUOTE_STRING_MODE,
13586
13577
  m,
@@ -13589,12 +13580,12 @@ function Ig(e) {
13589
13580
  G,
13590
13581
  // Skip numbers when they are part of a variable name
13591
13582
  { match: /\$\d+/ },
13592
- h
13583
+ d
13593
13584
  // This is intentional:
13594
13585
  // See https://github.com/highlightjs/highlight.js/issues/3288
13595
13586
  // hljs.REGEXP_MODE
13596
13587
  ];
13597
- g.contains = J.concat({
13588
+ g.contains = ee.concat({
13598
13589
  // we need to pair up {} inside our subst to prevent
13599
13590
  // it from ending too early by matching another }
13600
13591
  begin: /\{/,
@@ -13602,15 +13593,15 @@ function Ig(e) {
13602
13593
  keywords: l,
13603
13594
  contains: [
13604
13595
  "self"
13605
- ].concat(J)
13596
+ ].concat(ee)
13606
13597
  });
13607
- const ge = [].concat(U, g.contains), Q = ge.concat([
13598
+ const fe = [].concat(j, g.contains), J = fe.concat([
13608
13599
  // eat recursive parens in sub expressions
13609
13600
  {
13610
13601
  begin: /(\s*)\(/,
13611
13602
  end: /\)/,
13612
13603
  keywords: l,
13613
- contains: ["self"].concat(ge)
13604
+ contains: ["self"].concat(fe)
13614
13605
  }
13615
13606
  ]), Le = {
13616
13607
  className: "params",
@@ -13621,7 +13612,7 @@ function Ig(e) {
13621
13612
  excludeBegin: !0,
13622
13613
  excludeEnd: !0,
13623
13614
  keywords: l,
13624
- contains: Q
13615
+ contains: J
13625
13616
  }, $e = {
13626
13617
  variants: [
13627
13618
  // class Car extends vehicle
@@ -13709,18 +13700,18 @@ function Ig(e) {
13709
13700
  label: "func.def",
13710
13701
  contains: [Le],
13711
13702
  illegal: /%/
13712
- }, me = {
13703
+ }, ge = {
13713
13704
  relevance: 0,
13714
13705
  match: /\b[A-Z][A-Z_0-9]+\b/,
13715
13706
  className: "variable.constant"
13716
13707
  };
13717
- function Z(re) {
13708
+ function Q(re) {
13718
13709
  return t.concat("(?!", re.join("|"), ")");
13719
13710
  }
13720
13711
  const se = {
13721
13712
  match: t.concat(
13722
13713
  /\b/,
13723
- Z([
13714
+ Q([
13724
13715
  ...Vr,
13725
13716
  "super",
13726
13717
  "import"
@@ -13782,7 +13773,7 @@ function Ig(e) {
13782
13773
  aliases: ["js", "jsx", "mjs", "cjs"],
13783
13774
  keywords: l,
13784
13775
  // this will be extended by TypeScript
13785
- exports: { PARAMS_CONTAINS: Q, CLASS_REFERENCE: B },
13776
+ exports: { PARAMS_CONTAINS: J, CLASS_REFERENCE: B },
13786
13777
  illegal: /#(?![$_A-z])/,
13787
13778
  contains: [
13788
13779
  e.SHEBANG({
@@ -13797,10 +13788,10 @@ function Ig(e) {
13797
13788
  I,
13798
13789
  O,
13799
13790
  G,
13800
- U,
13791
+ j,
13801
13792
  // Skip numbers when they are part of a variable name
13802
13793
  { match: /\$\d+/ },
13803
- h,
13794
+ d,
13804
13795
  B,
13805
13796
  {
13806
13797
  scope: "attr",
@@ -13814,7 +13805,7 @@ function Ig(e) {
13814
13805
  keywords: "return throw case",
13815
13806
  relevance: 0,
13816
13807
  contains: [
13817
- U,
13808
+ j,
13818
13809
  e.REGEXP_MODE,
13819
13810
  {
13820
13811
  className: "function",
@@ -13843,7 +13834,7 @@ function Ig(e) {
13843
13834
  excludeBegin: !0,
13844
13835
  excludeEnd: !0,
13845
13836
  keywords: l,
13846
- contains: Q
13837
+ contains: J
13847
13838
  }
13848
13839
  ]
13849
13840
  }
@@ -13921,7 +13912,7 @@ function Ig(e) {
13921
13912
  contains: [Le]
13922
13913
  },
13923
13914
  se,
13924
- me,
13915
+ ge,
13925
13916
  $e,
13926
13917
  R,
13927
13918
  {
@@ -13931,7 +13922,7 @@ function Ig(e) {
13931
13922
  ]
13932
13923
  };
13933
13924
  }
13934
- var yg = ht({ props: { code: { type: String, required: !0 }, language: { type: String, default: "" }, autodetect: { type: Boolean, default: !0 }, ignoreIllegals: { type: Boolean, default: !0 } }, setup: function(e) {
13925
+ var yg = gt({ props: { code: { type: String, required: !0 }, language: { type: String, default: "" }, autodetect: { type: Boolean, default: !0 }, ignoreIllegals: { type: Boolean, default: !0 } }, setup: function(e) {
13935
13926
  var t = Mt(e.language);
13936
13927
  Lt(function() {
13937
13928
  return e.language;
@@ -13957,7 +13948,7 @@ var yg = ht({ props: { code: { type: String, required: !0 }, language: { type: S
13957
13948
  }, render: function() {
13958
13949
  return Mi("pre", {}, [Mi("code", { class: this.className, innerHTML: this.highlightedCode })]);
13959
13950
  } }), Cg = { component: yg };
13960
- const Ng = /* @__PURE__ */ ht({
13951
+ const Ng = /* @__PURE__ */ gt({
13961
13952
  __name: "index",
13962
13953
  props: {
13963
13954
  code: {}
@@ -13967,14 +13958,14 @@ const Ng = /* @__PURE__ */ ht({
13967
13958
  vo.registerLanguage("javascript", Ig);
13968
13959
  const n = Cg.component, { backgroundColor2: o } = Yo();
13969
13960
  return (i, s) => {
13970
- const a = Ie("v-sheet");
13971
- return Re(), pt(a, {
13961
+ const a = Re("v-sheet");
13962
+ return ke(), dt(a, {
13972
13963
  color: X(o),
13973
13964
  width: "100%",
13974
13965
  height: "100%"
13975
13966
  }, {
13976
- default: Ze(() => [
13977
- he(X(n), {
13967
+ default: at(() => [
13968
+ Te(X(n), {
13978
13969
  language: "js",
13979
13970
  code: t.code
13980
13971
  }, null, 8, ["code"])
@@ -13983,7 +13974,7 @@ const Ng = /* @__PURE__ */ ht({
13983
13974
  }, 8, ["color"]);
13984
13975
  };
13985
13976
  }
13986
- }), kg = { class: "text-subtitle-1 ml-3" }, Lg = /* @__PURE__ */ ht({
13977
+ }), kg = { class: "text-subtitle-1 ml-3" }, Lg = /* @__PURE__ */ gt({
13987
13978
  __name: "index",
13988
13979
  setup(e) {
13989
13980
  const { t } = Kn(), { sysBarAvail: n } = Ma(), { backgroundColor0: o, backgroundColor2: i } = Yo(), s = Mt(""), a = Be(() => {
@@ -13996,48 +13987,48 @@ const Ng = /* @__PURE__ */ ht({
13996
13987
  }), l = (_) => {
13997
13988
  s.value = _.code;
13998
13989
  }, { open: c } = Ko("sourceDlg", l);
13999
- return (_, d) => {
14000
- const h = Ie("v-sheet"), g = Ie("v-icon"), m = Ie("v-spacer"), I = Ie("v-dialog");
14001
- return Re(), pt(I, {
13990
+ return (_, h) => {
13991
+ const d = Re("v-sheet"), g = Re("v-icon"), m = Re("v-spacer"), I = Re("v-dialog");
13992
+ return ke(), dt(I, {
14002
13993
  modelValue: X(c),
14003
- "onUpdate:modelValue": d[1] || (d[1] = (O) => kn(c) ? c.value = O : null),
13994
+ "onUpdate:modelValue": h[1] || (h[1] = (O) => kn(c) ? c.value = O : null),
14004
13995
  transition: "dialog-bottom-transition",
14005
13996
  persistent: "",
14006
13997
  "no-click-animation": "",
14007
13998
  fullscreen: "",
14008
- onKeydown: d[2] || (d[2] = La(Ln((O) => c.value = !1, ["stop", "prevent"]), ["esc"]))
13999
+ onKeydown: h[2] || (h[2] = La(Ln((O) => c.value = !1, ["stop", "prevent"]), ["esc"]))
14009
14000
  }, {
14010
- default: Ze(() => [
14011
- he(h, {
14001
+ default: at(() => [
14002
+ Te(d, {
14012
14003
  color: X(o),
14013
14004
  width: "100%",
14014
14005
  height: "100%"
14015
14006
  }, {
14016
- default: Ze(() => [
14017
- X(n) ? (Re(), pt(h, {
14007
+ default: at(() => [
14008
+ X(n) ? (ke(), dt(d, {
14018
14009
  key: 0,
14019
14010
  color: X(i),
14020
14011
  height: 24
14021
- }, null, 8, ["color"])) : cn("", !0),
14022
- he(h, {
14012
+ }, null, 8, ["color"])) : $t("", !0),
14013
+ Te(d, {
14023
14014
  class: "d-flex align-center px-3",
14024
14015
  color: X(i),
14025
14016
  height: 48
14026
14017
  }, {
14027
- default: Ze(() => [
14028
- he(g, {
14018
+ default: at(() => [
14019
+ Te(g, {
14029
14020
  icon: X(Pa),
14030
- onClick: d[0] || (d[0] = (O) => c.value = !1)
14021
+ onClick: h[0] || (h[0] = (O) => c.value = !1)
14031
14022
  }, null, 8, ["icon"]),
14032
- at("span", kg, wo(X(t)("x-block-lib.dlg.source.title")), 1),
14033
- he(m)
14023
+ ut("span", kg, wo(X(t)("x-block-lib.dlg.source.title")), 1),
14024
+ Te(m)
14034
14025
  ]),
14035
14026
  _: 1
14036
14027
  }, 8, ["color"]),
14037
- at("div", {
14038
- style: ct(a.value)
14028
+ ut("div", {
14029
+ style: pt(a.value)
14039
14030
  }, [
14040
- he(Ng, { code: s.value }, null, 8, ["code"])
14031
+ Te(Ng, { code: s.value }, null, 8, ["code"])
14041
14032
  ], 4)
14042
14033
  ]),
14043
14034
  _: 1