x-block-lib 0.6.31 → 0.6.33

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.
@@ -13,9 +13,7 @@ type __VLS_PublicProps = __VLS_Props & {
13
13
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
14
14
  loading: import("vue").Ref<boolean, boolean>;
15
15
  load: (state: any) => void;
16
- save: () => {
17
- [key: string]: any;
18
- } | undefined;
16
+ save: () => any;
19
17
  generateCode: () => string;
20
18
  fireStateChange: () => void;
21
19
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ var gc = Object.defineProperty;
11
11
  var Tc = (e, t, n) => t in e ? gc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
12
12
  var xs = (e, t, n) => Tc(e, typeof t != "symbol" ? t + "" : t, n);
13
13
  import { getCurrentScope as Ec, onScopeDispose as Ac, computed as Be, toValue as ja, watch as Rt, shallowRef as vc, getCurrentInstance as Ho, onMounted as zt, defineComponent as at, onBeforeUnmount as Wa, resolveComponent as Me, createBlock as ht, openBlock as Ne, unref as X, withCtx as ft, createVNode as Ie, mergeProps as as, useModel as Vi, toRefs as yc, ref as Vt, reactive as Ic, h as Yi, nextTick as rs, onUnmounted as $o, isRef as xn, resolveDirective as Oc, withDirectives as bc, createElementBlock as ut, normalizeStyle as dt, createElementVNode as pt, toDisplayString as Go, withModifiers as Un, Fragment as Xa, renderList as Cc, withKeys as za, createCommentVNode as Xt, mergeModels as Us } from "vue";
14
- import { d as C, j as r, O as p, f as kc, F as Ja, M as m, E as x, r as ws, u as $, X as Zt, B as S, i as se, a as Fi, b as Qt, c as Jt, e as _t, g as Vs, h as Oe, C as qa, k as Nc, P as Ki, N as ls, V as Rn, l as mt, m as Za, s as Sc, S as Ke, n as Eo, o as dn, p as un, q as po, t as mi, v as Sn, w as Ys, G as gi, x as Lc, T as jo, y as Qa, z as er, A as Bc, D as Fs, H as Rc, I as Mc } from "./blockly-nh179ta5.js";
14
+ import { d as C, j as r, O as p, f as kc, F as Ja, M as m, E as M, r as ws, u as $, X as Zt, B as S, i as se, a as Fi, b as Qt, c as Jt, e as _t, g as Vs, h as Oe, C as qa, k as Nc, P as Ki, N as ls, V as Rn, l as mt, m as Za, s as Sc, S as Ke, n as Eo, o as dn, p as un, q as po, t as mi, v as Sn, w as Ys, G as gi, x as Lc, T as jo, y as Qa, z as er, A as Bc, D as Fs, H as Rc, I as Mc } from "./blockly-nh179ta5.js";
15
15
  import { openConfirmDlg as Dc, openPromptDlg as Pc, eventBus as Ze, messageWarning as tr, useColor as Wo, useViewStack as qn, useSystem as nr } from "x-essential-lib";
16
16
  import { elements as we, pkgs as Gn, getPropTag as Xo, parsePixelStr as xc, parsePercentStr as Uc } from "x-runtime-lib";
17
17
  import { globalState as B } from "x-state-lib";
@@ -1107,7 +1107,7 @@ class U extends Ja {
1107
1107
  }
1108
1108
  kc.register("field_dropdown2", U);
1109
1109
  var me = /* @__PURE__ */ ((e) => (e.STATE_CHANGE = "state_change", e))(me || {});
1110
- class Pr extends x.Abstract {
1110
+ class Pr extends M.Abstract {
1111
1111
  constructor() {
1112
1112
  super(...arguments);
1113
1113
  xs(this, "isBlank", !0);
@@ -1184,7 +1184,7 @@ function ds(e, t, n, o) {
1184
1184
  }
1185
1185
  function We(e, t) {
1186
1186
  try {
1187
- x.disable(), t.forEach((n) => {
1187
+ M.disable(), t.forEach((n) => {
1188
1188
  var _;
1189
1189
  const [o, i, s, a] = n, c = (_ = e.getInput(o)) == null ? void 0 : _.connection;
1190
1190
  if (!c)
@@ -1204,7 +1204,7 @@ function We(e, t) {
1204
1204
  ), l.outputConnection.connect(c);
1205
1205
  });
1206
1206
  } finally {
1207
- x.enable();
1207
+ M.enable();
1208
1208
  }
1209
1209
  }
1210
1210
  function Qn(e) {
@@ -1453,7 +1453,7 @@ const zh = {
1453
1453
  onchange: function(e) {
1454
1454
  if (e.type === me.STATE_CHANGE)
1455
1455
  this.checkWarning_();
1456
- else if (e.type === x.BLOCK_CHANGE) {
1456
+ else if (e.type === M.BLOCK_CHANGE) {
1457
1457
  const t = e;
1458
1458
  if (t.blockId !== this.id)
1459
1459
  return;
@@ -1633,7 +1633,7 @@ const Jh = {
1633
1633
  onchange: function(e) {
1634
1634
  if (e.type === me.STATE_CHANGE)
1635
1635
  this.checkWarning_();
1636
- else if (e.type === x.BLOCK_CHANGE) {
1636
+ else if (e.type === M.BLOCK_CHANGE) {
1637
1637
  const t = e;
1638
1638
  if (t.blockId !== this.id)
1639
1639
  return;
@@ -1839,7 +1839,7 @@ const ef = {
1839
1839
  onchange: function(e) {
1840
1840
  if (e.type === me.STATE_CHANGE)
1841
1841
  this.checkWarning_();
1842
- else if (e.type === x.BLOCK_CHANGE) {
1842
+ else if (e.type === M.BLOCK_CHANGE) {
1843
1843
  const t = e;
1844
1844
  if (t.blockId !== this.id)
1845
1845
  return;
@@ -1942,7 +1942,7 @@ const nf = (e, t) => {
1942
1942
  onchange: function(i) {
1943
1943
  if (i.type === me.STATE_CHANGE)
1944
1944
  this.checkWarning_();
1945
- else if (i.type === x.BLOCK_CHANGE) {
1945
+ else if (i.type === M.BLOCK_CHANGE) {
1946
1946
  const s = i;
1947
1947
  if (s.blockId !== this.id)
1948
1948
  return;
@@ -2049,7 +2049,7 @@ const of = {
2049
2049
  onchange: function(e) {
2050
2050
  if (e.type === me.STATE_CHANGE)
2051
2051
  this.checkWarning_();
2052
- else if (e.type === x.BLOCK_CHANGE) {
2052
+ else if (e.type === M.BLOCK_CHANGE) {
2053
2053
  const t = e;
2054
2054
  if (t.blockId !== this.id)
2055
2055
  return;
@@ -2133,7 +2133,7 @@ const sf = {
2133
2133
  onchange: function(e) {
2134
2134
  if (e.type === me.STATE_CHANGE)
2135
2135
  this.checkWarning_();
2136
- else if (e.type === x.BLOCK_CHANGE) {
2136
+ else if (e.type === M.BLOCK_CHANGE) {
2137
2137
  const t = e;
2138
2138
  if (t.blockId !== this.id)
2139
2139
  return;
@@ -2233,7 +2233,7 @@ const af = {
2233
2233
  onchange: function(e) {
2234
2234
  if (e.type === me.STATE_CHANGE)
2235
2235
  this.checkWarning_();
2236
- else if (e.type === x.BLOCK_CHANGE) {
2236
+ else if (e.type === M.BLOCK_CHANGE) {
2237
2237
  const t = e;
2238
2238
  if (t.blockId !== this.id)
2239
2239
  return;
@@ -2326,7 +2326,7 @@ const cf = {
2326
2326
  onchange: function(e) {
2327
2327
  if (e.type === me.STATE_CHANGE)
2328
2328
  this.checkWarning_();
2329
- else if (e.type === x.BLOCK_CHANGE) {
2329
+ else if (e.type === M.BLOCK_CHANGE) {
2330
2330
  const t = e;
2331
2331
  if (t.blockId !== this.id)
2332
2332
  return;
@@ -2465,7 +2465,7 @@ const df = {
2465
2465
  onchange: function(e) {
2466
2466
  if (e.type === me.STATE_CHANGE)
2467
2467
  this.checkWarning_();
2468
- else if (e.type === x.BLOCK_CHANGE) {
2468
+ else if (e.type === M.BLOCK_CHANGE) {
2469
2469
  const t = e;
2470
2470
  if (t.blockId !== this.id)
2471
2471
  return;
@@ -2564,7 +2564,7 @@ const hf = {
2564
2564
  onchange: function(e) {
2565
2565
  if (e.type === me.STATE_CHANGE)
2566
2566
  this.checkWarning_();
2567
- else if (e.type === x.BLOCK_CHANGE) {
2567
+ else if (e.type === M.BLOCK_CHANGE) {
2568
2568
  const t = e;
2569
2569
  if (t.blockId !== this.id)
2570
2570
  return;
@@ -2694,7 +2694,7 @@ const ff = {
2694
2694
  onchange: function(e) {
2695
2695
  if (e.type === me.STATE_CHANGE)
2696
2696
  this.checkWarning_();
2697
- else if (e.type === x.BLOCK_CHANGE) {
2697
+ else if (e.type === M.BLOCK_CHANGE) {
2698
2698
  const t = e;
2699
2699
  if (t.blockId !== this.id)
2700
2700
  return;
@@ -2914,7 +2914,7 @@ const Tf = {
2914
2914
  onchange: function(e) {
2915
2915
  if (e.type === me.STATE_CHANGE)
2916
2916
  this.checkWarning_();
2917
- else if (e.type === x.BLOCK_CHANGE) {
2917
+ else if (e.type === M.BLOCK_CHANGE) {
2918
2918
  const t = e;
2919
2919
  if (t.blockId !== this.id)
2920
2920
  return;
@@ -2996,7 +2996,7 @@ const Ef = {
2996
2996
  onchange: function(e) {
2997
2997
  if (e.type === me.STATE_CHANGE)
2998
2998
  this.checkWarning_();
2999
- else if (e.type === x.BLOCK_CHANGE) {
2999
+ else if (e.type === M.BLOCK_CHANGE) {
3000
3000
  const t = e;
3001
3001
  if (t.blockId !== this.id)
3002
3002
  return;
@@ -3135,7 +3135,7 @@ const Af = {
3135
3135
  onchange: function(e) {
3136
3136
  if (e.type === me.STATE_CHANGE)
3137
3137
  this.checkWarning_();
3138
- else if (e.type === x.BLOCK_CHANGE) {
3138
+ else if (e.type === M.BLOCK_CHANGE) {
3139
3139
  const t = e;
3140
3140
  if (t.blockId !== this.id)
3141
3141
  return;
@@ -3255,7 +3255,7 @@ const vf = {
3255
3255
  onchange: function(e) {
3256
3256
  if (e.type === me.STATE_CHANGE)
3257
3257
  this.checkWarning_();
3258
- else if (e.type === x.BLOCK_CHANGE) {
3258
+ else if (e.type === M.BLOCK_CHANGE) {
3259
3259
  const t = e;
3260
3260
  if (t.blockId !== this.id)
3261
3261
  return;
@@ -3363,7 +3363,7 @@ const yf = {
3363
3363
  onchange: function(e) {
3364
3364
  if (e.type === me.STATE_CHANGE)
3365
3365
  this.checkWarning_();
3366
- else if (e.type === x.BLOCK_CHANGE) {
3366
+ else if (e.type === M.BLOCK_CHANGE) {
3367
3367
  const t = e;
3368
3368
  if (t.blockId !== this.id)
3369
3369
  return;
@@ -3649,7 +3649,7 @@ const Cf = {
3649
3649
  this.key = e, this.name = t, this.locale = n, this.updateShape_();
3650
3650
  },
3651
3651
  onchange: function(e) {
3652
- if (e.type === x.BLOCK_MOVE) {
3652
+ if (e.type === M.BLOCK_MOVE) {
3653
3653
  const t = e;
3654
3654
  if (t.blockId !== this.id)
3655
3655
  return;
@@ -3661,7 +3661,7 @@ const Cf = {
3661
3661
  const t = this.workspace.getBlockById(e.oldParentId);
3662
3662
  if (t && bf(t.type, e.oldInputName))
3663
3663
  try {
3664
- x.disable();
3664
+ M.disable();
3665
3665
  const o = (n = t.getInput(e.oldInputName)) == null ? void 0 : n.connection;
3666
3666
  if (o) {
3667
3667
  const i = ds(
@@ -3673,7 +3673,7 @@ const Cf = {
3673
3673
  o.connect(i.outputConnection);
3674
3674
  }
3675
3675
  } finally {
3676
- x.enable();
3676
+ M.enable();
3677
3677
  }
3678
3678
  },
3679
3679
  updateShape_: function() {
@@ -4151,7 +4151,7 @@ const Rf = {
4151
4151
  onchange: function(e) {
4152
4152
  if (e.type === me.STATE_CHANGE)
4153
4153
  this.checkWarning_();
4154
- else if (e.type === x.BLOCK_CHANGE) {
4154
+ else if (e.type === M.BLOCK_CHANGE) {
4155
4155
  const t = e;
4156
4156
  if (t.blockId !== this.id)
4157
4157
  return;
@@ -4362,7 +4362,7 @@ const Df = {
4362
4362
  onchange: function(e) {
4363
4363
  if (e.type === me.STATE_CHANGE)
4364
4364
  this.checkWarning_();
4365
- else if (e.type === x.BLOCK_CHANGE) {
4365
+ else if (e.type === M.BLOCK_CHANGE) {
4366
4366
  const t = e;
4367
4367
  t.blockId === this.id && t.element === "field" && (t.name === "SPACE" ? this.onSpaceChange_(t.newValue) : t.name === "TABLE" ? this.onTableChange_(t.newValue) : t.name === "COLUMN" && this.onColumnChange_(t.newValue));
4368
4368
  }
@@ -4763,7 +4763,7 @@ const Kf = {
4763
4763
  var t;
4764
4764
  if (e.type === me.STATE_CHANGE)
4765
4765
  this.checkWarning_();
4766
- else if (e.type === x.BLOCK_CHANGE) {
4766
+ else if (e.type === M.BLOCK_CHANGE) {
4767
4767
  const n = e;
4768
4768
  if (n.blockId !== this.id)
4769
4769
  return;
@@ -4830,11 +4830,11 @@ const Kf = {
4830
4830
  }
4831
4831
  this.itemCount_ = n.length, this.updateShape_();
4832
4832
  try {
4833
- x.disable();
4833
+ M.disable();
4834
4834
  for (let i = 0; i < this.itemCount_; i++)
4835
4835
  n[i] && this.setFieldValue(n[i], "COLUMN" + i), o[i] && this.setFieldValue(o[i], "ALIAS" + i);
4836
4836
  } finally {
4837
- x.enable();
4837
+ M.enable();
4838
4838
  }
4839
4839
  setTimeout(() => {
4840
4840
  this.checkWarning_();
@@ -4943,7 +4943,7 @@ const Hf = {
4943
4943
  onchange: function(e) {
4944
4944
  if (e.type === me.STATE_CHANGE)
4945
4945
  this.checkWarning_();
4946
- else if (e.type === x.BLOCK_CHANGE) {
4946
+ else if (e.type === M.BLOCK_CHANGE) {
4947
4947
  const t = e;
4948
4948
  if (t.blockId !== this.id)
4949
4949
  return;
@@ -5065,7 +5065,7 @@ const jf = {
5065
5065
  onchange: function(e) {
5066
5066
  if (e.type === me.STATE_CHANGE)
5067
5067
  this.checkWarning_();
5068
- else if (e.type === x.BLOCK_CHANGE) {
5068
+ else if (e.type === M.BLOCK_CHANGE) {
5069
5069
  const t = e;
5070
5070
  if (t.blockId !== this.id)
5071
5071
  return;
@@ -5125,11 +5125,11 @@ const jf = {
5125
5125
  }
5126
5126
  this.itemCount_ = n.length, this.updateShape_();
5127
5127
  try {
5128
- x.disable();
5128
+ M.disable();
5129
5129
  for (let i = 0; i < this.itemCount_; i++)
5130
5130
  this.setFieldValue(n[i], "COLUMN" + i);
5131
5131
  } finally {
5132
- x.enable();
5132
+ M.enable();
5133
5133
  }
5134
5134
  setTimeout(() => {
5135
5135
  var i;
@@ -5771,11 +5771,11 @@ const am = {
5771
5771
  t.outputConnection,
5772
5772
  n.outputConnection
5773
5773
  )) {
5774
- x.setGroup(e.group);
5774
+ M.setGroup(e.group);
5775
5775
  const o = this.prevBlocks_[0];
5776
5776
  o !== t && (t.unplug(), o && !o.isDisposed() && !o.isShadow() && this.getInput("A").connection.connect(o.outputConnection));
5777
5777
  const i = this.prevBlocks_[1];
5778
- i !== n && (n.unplug(), i && !i.isDisposed() && !i.isShadow() && this.getInput("B").connection.connect(i.outputConnection)), this.bumpNeighbours(), x.setGroup(!1);
5778
+ i !== n && (n.unplug(), i && !i.isDisposed() && !i.isShadow() && this.getInput("B").connection.connect(i.outputConnection)), this.bumpNeighbours(), M.setGroup(!1);
5779
5779
  }
5780
5780
  this.prevBlocks_[0] = this.getInputTargetBlock("A"), this.prevBlocks_[1] = this.getInputTargetBlock("B");
5781
5781
  }
@@ -6117,7 +6117,7 @@ const lm = {
6117
6117
  s && !s.workspace.connectionChecker.doTypeChecks(
6118
6118
  s.outputConnection,
6119
6119
  o
6120
- ) && (x.setGroup(e.group), o === this.prevParentConnection_ ? (this.unplug(), o.getSourceBlock().bumpNeighbours()) : (s.unplug(), s.bumpNeighbours()), x.setGroup(!1));
6120
+ ) && (M.setGroup(e.group), o === this.prevParentConnection_ ? (this.unplug(), o.getSourceBlock().bumpNeighbours()) : (s.unplug(), s.bumpNeighbours()), M.setGroup(!1));
6121
6121
  }
6122
6122
  this.prevParentConnection_ = o;
6123
6123
  }
@@ -6207,16 +6207,16 @@ const um = /* @__PURE__ */ new Set([
6207
6207
  },
6208
6208
  onchange: function(e) {
6209
6209
  const t = this.workspace;
6210
- if (!t.isDragging || t.isDragging() || e.type !== x.BLOCK_MOVE && e.type !== x.BLOCK_CREATE)
6210
+ if (!t.isDragging || t.isDragging() || e.type !== M.BLOCK_MOVE && e.type !== M.BLOCK_CREATE)
6211
6211
  return;
6212
6212
  const n = this.getSurroundLoop();
6213
6213
  if (this.setWarningText(
6214
6214
  n ? null : m.LOOP_FLOW_CONTROL_WARNING
6215
6215
  ), !this.isInFlyout)
6216
6216
  try {
6217
- x.setRecordUndo(!1), this.setDisabledReason(!n, "FLOW_CONTROL_NOT_IN_LOOP");
6217
+ M.setRecordUndo(!1), this.setDisabledReason(!n, "FLOW_CONTROL_NOT_IN_LOOP");
6218
6218
  } finally {
6219
- x.setRecordUndo(!0);
6219
+ M.setRecordUndo(!0);
6220
6220
  }
6221
6221
  }
6222
6222
  };
@@ -7494,14 +7494,14 @@ const Em = {
7494
7494
  o.setKeyName(`__param@${t.id}__`, t.name, !1);
7495
7495
  else
7496
7496
  try {
7497
- x.disable(), o = ds(
7497
+ M.disable(), o = ds(
7498
7498
  this.workspace,
7499
7499
  `__param@${t.id}__`,
7500
7500
  t.name,
7501
7501
  !1
7502
7502
  ), o.outputConnection.connect(n);
7503
7503
  } finally {
7504
- x.enable();
7504
+ M.enable();
7505
7505
  }
7506
7506
  }
7507
7507
  }
@@ -7534,7 +7534,7 @@ const Am = $.xml, vm = {
7534
7534
  var t;
7535
7535
  if (e.type === me.STATE_CHANGE)
7536
7536
  this.checkWarning_();
7537
- else if (e.type === x.BLOCK_DRAG) {
7537
+ else if (e.type === M.BLOCK_DRAG) {
7538
7538
  const n = e;
7539
7539
  if (n.isStart || !((t = n.blocks) != null && t.find((o) => o.id === this.id)))
7540
7540
  return;
@@ -8895,7 +8895,7 @@ class Um {
8895
8895
  const o = n.workspace;
8896
8896
  if (!o)
8897
8897
  return;
8898
- o.setResizesEnabled(!1), x.setGroup(!0);
8898
+ o.setResizesEnabled(!1), M.setGroup(!0);
8899
8899
  const i = o.getTopBlocks(!0);
8900
8900
  let s = 0;
8901
8901
  for (let a = 0, c; c = i[a]; a++) {
@@ -8904,7 +8904,7 @@ class Um {
8904
8904
  const l = c.getRelativeToSurfaceXY();
8905
8905
  c.moveBy(-l.x, s - l.y, ["cleanup"]), c.snapToGrid(), s = c.getRelativeToSurfaceXY().y + c.getHeightWidth().height + 100;
8906
8906
  }
8907
- x.setGroup(!1), o.setResizesEnabled(!0);
8907
+ M.setGroup(!1), o.setResizesEnabled(!0);
8908
8908
  });
8909
8909
  }
8910
8910
  }
@@ -10258,7 +10258,7 @@ function Je(e, t, n) {
10258
10258
  e.className = (o + (n ? " " + t : "")).replace(Pa, " ");
10259
10259
  }
10260
10260
  }
10261
- function D(e, t, n) {
10261
+ function P(e, t, n) {
10262
10262
  var o = e && e.style;
10263
10263
  if (o) {
10264
10264
  if (n === void 0)
@@ -10272,7 +10272,7 @@ function gn(e, t) {
10272
10272
  n = e;
10273
10273
  else
10274
10274
  do {
10275
- var o = D(e, "transform");
10275
+ var o = P(e, "transform");
10276
10276
  o && o !== "none" && (n = o + " " + n);
10277
10277
  } while (!t && (e = e.parentNode));
10278
10278
  var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
@@ -10297,9 +10297,9 @@ function ke(e, t, n, o, i) {
10297
10297
  var s, a, c, l, _, d, h;
10298
10298
  if (e !== window && e.parentNode && e !== gt() ? (s = e.getBoundingClientRect(), a = s.top, c = s.left, l = s.bottom, _ = s.right, d = s.height, h = s.width) : (a = 0, c = 0, l = window.innerHeight, _ = window.innerWidth, d = window.innerHeight, h = window.innerWidth), (t || n) && e !== window && (i = i || e.parentNode, !Nt))
10299
10299
  do
10300
- if (i && i.getBoundingClientRect && (D(i, "transform") !== "none" || n && D(i, "position") !== "static")) {
10300
+ if (i && i.getBoundingClientRect && (P(i, "transform") !== "none" || n && P(i, "position") !== "static")) {
10301
10301
  var g = i.getBoundingClientRect();
10302
- a -= g.top + parseInt(D(i, "border-top-width")), c -= g.left + parseInt(D(i, "border-left-width")), l = a + s.height, _ = c + s.width;
10302
+ a -= g.top + parseInt(P(i, "border-top-width")), c -= g.left + parseInt(P(i, "border-left-width")), l = a + s.height, _ = c + s.width;
10303
10303
  break;
10304
10304
  }
10305
10305
  while (i = i.parentNode);
@@ -10330,7 +10330,7 @@ function xa(e, t, n) {
10330
10330
  }
10331
10331
  function In(e, t, n, o) {
10332
10332
  for (var i = 0, s = 0, a = e.children; s < a.length; ) {
10333
- if (a[s].style.display !== "none" && a[s] !== P.ghost && (o || a[s] !== P.dragged) && it(a[s], n.draggable, e, !1)) {
10333
+ if (a[s].style.display !== "none" && a[s] !== x.ghost && (o || a[s] !== x.dragged) && it(a[s], n.draggable, e, !1)) {
10334
10334
  if (i === t)
10335
10335
  return a[s];
10336
10336
  i++;
@@ -10340,7 +10340,7 @@ function In(e, t, n, o) {
10340
10340
  return null;
10341
10341
  }
10342
10342
  function gs(e, t) {
10343
- for (var n = e.lastElementChild; n && (n === P.ghost || D(n, "display") === "none" || t && !wo(n, t)); )
10343
+ for (var n = e.lastElementChild; n && (n === x.ghost || P(n, "display") === "none" || t && !wo(n, t)); )
10344
10344
  n = n.previousElementSibling;
10345
10345
  return n || null;
10346
10346
  }
@@ -10349,7 +10349,7 @@ function et(e, t) {
10349
10349
  if (!e || !e.parentNode)
10350
10350
  return -1;
10351
10351
  for (; e = e.previousElementSibling; )
10352
- e.nodeName.toUpperCase() !== "TEMPLATE" && e !== P.clone && (!t || wo(e, t)) && n++;
10352
+ e.nodeName.toUpperCase() !== "TEMPLATE" && e !== x.clone && (!t || wo(e, t)) && n++;
10353
10353
  return n;
10354
10354
  }
10355
10355
  function Ua(e) {
@@ -10376,7 +10376,7 @@ function wt(e, t) {
10376
10376
  var n = e, o = !1;
10377
10377
  do
10378
10378
  if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
10379
- var i = D(n);
10379
+ var i = P(n);
10380
10380
  if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
10381
10381
  if (!n.getBoundingClientRect || n === document.body)
10382
10382
  return gt();
@@ -10436,7 +10436,7 @@ function Eg() {
10436
10436
  if (e = [], !!this.options.animation) {
10437
10437
  var n = [].slice.call(this.el.children);
10438
10438
  n.forEach(function(o) {
10439
- if (!(D(o, "display") === "none" || o === P.ghost)) {
10439
+ if (!(P(o, "display") === "none" || o === x.ghost)) {
10440
10440
  e.push({
10441
10441
  target: o,
10442
10442
  rect: ke(o)
@@ -10478,10 +10478,10 @@ function Eg() {
10478
10478
  },
10479
10479
  animate: function(n, o, i, s) {
10480
10480
  if (s) {
10481
- D(n, "transition", ""), D(n, "transform", "");
10481
+ P(n, "transition", ""), P(n, "transform", "");
10482
10482
  var a = gn(this.el), c = a && a.a, l = a && a.d, _ = (o.left - i.left) / (c || 1), d = (o.top - i.top) / (l || 1);
10483
- n.animatingX = !!_, n.animatingY = !!d, D(n, "transform", "translate3d(" + _ + "px," + d + "px,0)"), this.forRepaintDummy = Ag(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() {
10484
- D(n, "transition", ""), D(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
10483
+ n.animatingX = !!_, n.animatingY = !!d, P(n, "transform", "translate3d(" + _ + "px," + d + "px,0)"), this.forRepaintDummy = Ag(n), P(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), P(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
10484
+ P(n, "transition", ""), P(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
10485
10485
  }, s);
10486
10486
  }
10487
10487
  }
@@ -10561,7 +10561,7 @@ function yg(e) {
10561
10561
  }
10562
10562
  var Ig = ["evt"], je = function(e, t) {
10563
10563
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = n.evt, i = dg(n, Ig);
10564
- no.pluginEvent.bind(P)(e, t, Et({
10564
+ no.pluginEvent.bind(x)(e, t, Et({
10565
10565
  dragEl: A,
10566
10566
  parentEl: ge,
10567
10567
  ghostEl: F,
@@ -10572,7 +10572,7 @@ var Ig = ["evt"], je = function(e, t) {
10572
10572
  cloneHidden: Pt,
10573
10573
  dragStarted: Mn,
10574
10574
  putSortable: xe,
10575
- activeSortable: P.active,
10575
+ activeSortable: x.active,
10576
10576
  originalEvent: o,
10577
10577
  oldIndex: fn,
10578
10578
  oldDraggableIndex: Kn,
@@ -10615,7 +10615,7 @@ var A, ge, F, de, Wt, Io, fe, Pt, fn, qe, Kn, Bt, fo, xe, _n = !1, Vo = !1, Yo =
10615
10615
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
10616
10616
  }
10617
10617
  }(), Tl = function(e, t) {
10618
- var n = D(e), o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = In(e, 0, t), s = In(e, 1, t), a = i && D(i), c = s && D(s), l = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + ke(i).width, _ = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + ke(s).width;
10618
+ var n = P(e), o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = In(e, 0, t), s = In(e, 1, t), a = i && P(i), c = s && P(s), l = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + ke(i).width, _ = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + ke(s).width;
10619
10619
  if (n.display === "flex")
10620
10620
  return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
10621
10621
  if (n.display === "grid")
@@ -10659,9 +10659,9 @@ var A, ge, F, de, Wt, Io, fe, Pt, fn, qe, Kn, Bt, fo, xe, _n = !1, Vo = !1, Yo =
10659
10659
  name: o
10660
10660
  }), n.name = o.name, n.checkPull = t(o.pull, !0), n.checkPut = t(o.put), n.revertClone = o.revertClone, e.group = n;
10661
10661
  }, Al = function() {
10662
- !gl && F && D(F, "display", "none");
10662
+ !gl && F && P(F, "display", "none");
10663
10663
  }, vl = function() {
10664
- !gl && F && D(F, "display", "");
10664
+ !gl && F && P(F, "display", "");
10665
10665
  };
10666
10666
  li && !ul && document.addEventListener("click", function(e) {
10667
10667
  if (Vo)
@@ -10681,7 +10681,7 @@ var jt = function(e) {
10681
10681
  }, kg = function(e) {
10682
10682
  A && A.parentNode[Qe]._isOutsideThisEl(e.target);
10683
10683
  };
10684
- function P(e, t) {
10684
+ function x(e, t) {
10685
10685
  if (!(e && e.nodeType && e.nodeType === 1))
10686
10686
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
10687
10687
  this.el = e, this.options = t = Ct({}, t), e[Qe] = this;
@@ -10727,7 +10727,7 @@ function P(e, t) {
10727
10727
  x: 0,
10728
10728
  y: 0
10729
10729
  },
10730
- supportPointer: P.supportPointer !== !1 && "PointerEvent" in window && !Yn,
10730
+ supportPointer: x.supportPointer !== !1 && "PointerEvent" in window && !Yn,
10731
10731
  emptyInsertThreshold: 5
10732
10732
  };
10733
10733
  no.initializePlugins(this, e, n);
@@ -10738,9 +10738,9 @@ function P(e, t) {
10738
10738
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
10739
10739
  this.nativeDraggable = t.forceFallback ? !1 : Og, 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)), Yo.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), Ct(this, Eg());
10740
10740
  }
10741
- P.prototype = /** @lends Sortable.prototype */
10741
+ x.prototype = /** @lends Sortable.prototype */
10742
10742
  {
10743
- constructor: P,
10743
+ constructor: x,
10744
10744
  _isOutsideThisEl: function(e) {
10745
10745
  !this.el.contains(e) && e !== this.el && (cn = null);
10746
10746
  },
@@ -10789,14 +10789,14 @@ P.prototype = /** @lends Sortable.prototype */
10789
10789
  var o = this, i = o.el, s = o.options, a = i.ownerDocument, c;
10790
10790
  if (n && !A && n.parentNode === i) {
10791
10791
  var l = ke(n);
10792
- if (de = i, A = n, ge = A.parentNode, Wt = A.nextSibling, Io = n, fo = s.group, P.dragged = A, Gt = {
10792
+ if (de = i, A = n, ge = A.parentNode, Wt = A.nextSibling, Io = n, fo = s.group, x.dragged = A, Gt = {
10793
10793
  target: A,
10794
10794
  clientX: (t || e).clientX,
10795
10795
  clientY: (t || e).clientY
10796
10796
  }, wa = Gt.clientX - l.left, Va = Gt.clientY - l.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, A.style["will-change"] = "all", c = function() {
10797
10797
  if (je("delayEnded", o, {
10798
10798
  evt: e
10799
- }), P.eventCanceled) {
10799
+ }), x.eventCanceled) {
10800
10800
  o._onDrop();
10801
10801
  return;
10802
10802
  }
@@ -10810,7 +10810,7 @@ P.prototype = /** @lends Sortable.prototype */
10810
10810
  }), te(a, "dragover", jt), te(a, "mousemove", jt), te(a, "touchmove", jt), te(a, "mouseup", o._onDrop), te(a, "touchend", o._onDrop), te(a, "touchcancel", o._onDrop), Da && this.nativeDraggable && (this.options.touchStartThreshold = 4, A.draggable = !0), je("delayStart", this, {
10811
10811
  evt: e
10812
10812
  }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(to || Nt))) {
10813
- if (P.eventCanceled) {
10813
+ if (x.eventCanceled) {
10814
10814
  this._onDrop();
10815
10815
  return;
10816
10816
  }
@@ -10845,7 +10845,7 @@ P.prototype = /** @lends Sortable.prototype */
10845
10845
  evt: t
10846
10846
  }), this.nativeDraggable && te(document, "dragover", kg);
10847
10847
  var n = this.options;
10848
- !e && Je(A, n.dragClass, !1), Je(A, n.ghostClass, !0), P.active = this, e && this._appendGhost(), Ge({
10848
+ !e && Je(A, n.dragClass, !1), Je(A, n.ghostClass, !0), x.active = this, e && this._appendGhost(), Ge({
10849
10849
  sortable: this,
10850
10850
  name: "start",
10851
10851
  originalEvent: t
@@ -10878,7 +10878,7 @@ P.prototype = /** @lends Sortable.prototype */
10878
10878
  _onTouchMove: function(e) {
10879
10879
  if (Gt) {
10880
10880
  var t = this.options, n = t.fallbackTolerance, o = t.fallbackOffset, i = e.touches ? e.touches[0] : e, s = F && gn(F, !0), a = F && s && s.a, c = F && s && s.d, l = go && Fe && Ua(Fe), _ = (i.clientX - Gt.clientX + o.x) / (a || 1) + (l ? l[0] - Ri[0] : 0) / (a || 1), d = (i.clientY - Gt.clientY + o.y) / (c || 1) + (l ? l[1] - Ri[1] : 0) / (c || 1);
10881
- if (!P.active && !_n) {
10881
+ if (!x.active && !_n) {
10882
10882
  if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n)
10883
10883
  return;
10884
10884
  this._onDragStart(e, !0);
@@ -10893,7 +10893,7 @@ P.prototype = /** @lends Sortable.prototype */
10893
10893
  f: d
10894
10894
  };
10895
10895
  var h = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
10896
- D(F, "webkitTransform", h), D(F, "mozTransform", h), D(F, "msTransform", h), D(F, "transform", h), Li = _, Bi = d, ot = i;
10896
+ P(F, "webkitTransform", h), P(F, "mozTransform", h), P(F, "msTransform", h), P(F, "transform", h), Li = _, Bi = d, ot = i;
10897
10897
  }
10898
10898
  e.cancelable && e.preventDefault();
10899
10899
  }
@@ -10902,31 +10902,31 @@ P.prototype = /** @lends Sortable.prototype */
10902
10902
  if (!F) {
10903
10903
  var e = this.options.fallbackOnBody ? document.body : de, t = ke(A, !0, go, !0, e), n = this.options;
10904
10904
  if (go) {
10905
- for (Fe = e; D(Fe, "position") === "static" && D(Fe, "transform") === "none" && Fe !== document; )
10905
+ for (Fe = e; P(Fe, "position") === "static" && P(Fe, "transform") === "none" && Fe !== document; )
10906
10906
  Fe = Fe.parentNode;
10907
10907
  Fe !== document.body && Fe !== document.documentElement ? (Fe === document && (Fe = gt()), t.top += Fe.scrollTop, t.left += Fe.scrollLeft) : Fe = gt(), Ri = Ua(Fe);
10908
10908
  }
10909
- F = A.cloneNode(!0), Je(F, n.ghostClass, !1), Je(F, n.fallbackClass, !0), Je(F, n.dragClass, !0), D(F, "transition", ""), D(F, "transform", ""), D(F, "box-sizing", "border-box"), D(F, "margin", 0), D(F, "top", t.top), D(F, "left", t.left), D(F, "width", t.width), D(F, "height", t.height), D(F, "opacity", "0.8"), D(F, "position", go ? "absolute" : "fixed"), D(F, "zIndex", "100000"), D(F, "pointerEvents", "none"), P.ghost = F, e.appendChild(F), D(F, "transform-origin", wa / parseInt(F.style.width) * 100 + "% " + Va / parseInt(F.style.height) * 100 + "%");
10909
+ F = A.cloneNode(!0), Je(F, n.ghostClass, !1), Je(F, n.fallbackClass, !0), Je(F, n.dragClass, !0), P(F, "transition", ""), P(F, "transform", ""), P(F, "box-sizing", "border-box"), P(F, "margin", 0), P(F, "top", t.top), P(F, "left", t.left), P(F, "width", t.width), P(F, "height", t.height), P(F, "opacity", "0.8"), P(F, "position", go ? "absolute" : "fixed"), P(F, "zIndex", "100000"), P(F, "pointerEvents", "none"), x.ghost = F, e.appendChild(F), P(F, "transform-origin", wa / parseInt(F.style.width) * 100 + "% " + Va / parseInt(F.style.height) * 100 + "%");
10910
10910
  }
10911
10911
  },
10912
10912
  _onDragStart: function(e, t) {
10913
10913
  var n = this, o = e.dataTransfer, i = n.options;
10914
10914
  if (je("dragStart", this, {
10915
10915
  evt: e
10916
- }), P.eventCanceled) {
10916
+ }), x.eventCanceled) {
10917
10917
  this._onDrop();
10918
10918
  return;
10919
10919
  }
10920
- je("setupClone", this), P.eventCanceled || (fe = fl(A), fe.removeAttribute("id"), fe.draggable = !1, fe.style["will-change"] = "", this._hideClone(), Je(fe, this.options.chosenClass, !1), P.clone = fe), n.cloneId = bo(function() {
10921
- je("clone", n), !P.eventCanceled && (n.options.removeCloneOnHide || de.insertBefore(fe, A), n._hideClone(), Ge({
10920
+ je("setupClone", this), x.eventCanceled || (fe = fl(A), fe.removeAttribute("id"), fe.draggable = !1, fe.style["will-change"] = "", this._hideClone(), Je(fe, this.options.chosenClass, !1), x.clone = fe), n.cloneId = bo(function() {
10921
+ je("clone", n), !x.eventCanceled && (n.options.removeCloneOnHide || de.insertBefore(fe, A), n._hideClone(), Ge({
10922
10922
  sortable: n,
10923
10923
  name: "clone"
10924
10924
  }));
10925
- }), !t && Je(A, i.dragClass, !0), t ? (Vo = !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), D(A, "transform", "translateZ(0)")), _n = !0, n._dragStartId = bo(n._dragStarted.bind(n, t, e)), te(document, "selectstart", n), Mn = !0, Yn && D(document.body, "user-select", "none");
10925
+ }), !t && Je(A, i.dragClass, !0), t ? (Vo = !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), P(A, "transform", "translateZ(0)")), _n = !0, n._dragStartId = bo(n._dragStarted.bind(n, t, e)), te(document, "selectstart", n), Mn = !0, Yn && P(document.body, "user-select", "none");
10926
10926
  },
10927
10927
  // Returns true - if no further action is needed (either inserted or another condition)
10928
10928
  _onDragOver: function(e) {
10929
- var t = this.el, n = e.target, o, i, s, a = this.options, c = a.group, l = P.active, _ = fo === c, d = a.sort, h = xe || l, g, T = this, O = !1;
10929
+ var t = this.el, n = e.target, o, i, s, a = this.options, c = a.group, l = x.active, _ = fo === c, d = a.sort, h = xe || l, g, T = this, O = !1;
10930
10930
  if (ts)
10931
10931
  return;
10932
10932
  function v(Xe, Ee) {
@@ -10953,7 +10953,7 @@ P.prototype = /** @lends Sortable.prototype */
10953
10953
  function j(Xe) {
10954
10954
  return v("dragOverCompleted", {
10955
10955
  insertion: Xe
10956
- }), Xe && (_ ? l._hideClone() : l._showClone(T), T !== h && (Je(A, xe ? xe.options.ghostClass : l.options.ghostClass, !1), Je(A, a.ghostClass, !0)), xe !== T && T !== P.active ? xe = T : T === P.active && xe && (xe = null), h === T && (T._ignoreWhileAnimating = n), T.animateAll(function() {
10956
+ }), Xe && (_ ? l._hideClone() : l._showClone(T), T !== h && (Je(A, xe ? xe.options.ghostClass : l.options.ghostClass, !1), Je(A, a.ghostClass, !0)), xe !== T && T !== x.active ? xe = T : T === x.active && xe && (xe = null), h === T && (T._ignoreWhileAnimating = n), T.animateAll(function() {
10957
10957
  v("dragOverAnimationComplete"), T._ignoreWhileAnimating = null;
10958
10958
  }), T !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (n === A && !A.animated || n === t && !n.animated) && (cn = null), !a.dragoverBubble && !e.rootEl && n !== document && (A.parentNode[Qe]._isOutsideThisEl(e.target), !Xe && jt(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), O = !0;
10959
10959
  }
@@ -10967,15 +10967,15 @@ P.prototype = /** @lends Sortable.prototype */
10967
10967
  originalEvent: e
10968
10968
  });
10969
10969
  }
10970
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = it(n, a.draggable, t, !0), v("dragOver"), P.eventCanceled)
10970
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = it(n, a.draggable, t, !0), v("dragOver"), x.eventCanceled)
10971
10971
  return O;
10972
10972
  if (A.contains(e.target) || n.animated && n.animatingX && n.animatingY || T._ignoreWhileAnimating === n)
10973
10973
  return j(!1);
10974
10974
  if (Vo = !1, l && !a.disabled && (_ ? d || (s = ge !== de) : xe === this || (this.lastPutMode = fo.checkPull(this, l, A, e)) && c.checkPut(this, l, A, e))) {
10975
- if (g = this._getDirection(e, n) === "vertical", o = ke(A), v("dragOverValid"), P.eventCanceled)
10975
+ if (g = this._getDirection(e, n) === "vertical", o = ke(A), v("dragOverValid"), x.eventCanceled)
10976
10976
  return O;
10977
10977
  if (s)
10978
- return ge = de, G(), this._hideClone(), v("revert"), P.eventCanceled || (Wt ? de.insertBefore(A, Wt) : de.appendChild(A)), j(!0);
10978
+ return ge = de, G(), this._hideClone(), v("revert"), x.eventCanceled || (Wt ? de.insertBefore(A, Wt) : de.appendChild(A)), j(!0);
10979
10979
  var ne = gs(t, a.draggable);
10980
10980
  if (!ne || Bg(e, g, this) && !ne.animated) {
10981
10981
  if (ne === A)
@@ -10990,14 +10990,14 @@ P.prototype = /** @lends Sortable.prototype */
10990
10990
  return G(), t.insertBefore(A, he), ge = t, Q(), j(!0);
10991
10991
  } else if (n.parentNode === t) {
10992
10992
  i = ke(n);
10993
- var J = 0, Se, $e = A.parentNode !== t, R = !bg(A.animated && A.toRect || o, n.animated && n.toRect || i, g), V = g ? "top" : "left", ae = xa(n, "top", "top") || xa(A, "top", "top"), M = ae ? ae.scrollTop : void 0;
10993
+ var J = 0, Se, $e = A.parentNode !== t, R = !bg(A.animated && A.toRect || o, n.animated && n.toRect || i, g), V = g ? "top" : "left", ae = xa(n, "top", "top") || xa(A, "top", "top"), D = ae ? ae.scrollTop : void 0;
10994
10994
  cn !== n && (Se = i[V], $n = !1, mo = !R && a.invertSwap || $e), J = Rg(e, n, i, g, R ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, mo, cn === n);
10995
10995
  var K;
10996
10996
  if (J !== 0) {
10997
10997
  var oe = et(A);
10998
10998
  do
10999
10999
  oe -= J, K = ge.children[oe];
11000
- while (K && (D(K, "display") === "none" || K === F));
11000
+ while (K && (P(K, "display") === "none" || K === F));
11001
11001
  }
11002
11002
  if (J === 0 || K === n)
11003
11003
  return j(!1);
@@ -11006,7 +11006,7 @@ P.prototype = /** @lends Sortable.prototype */
11006
11006
  ue = J === 1;
11007
11007
  var De = To(de, t, A, o, n, i, e, ue);
11008
11008
  if (De !== !1)
11009
- return (De === 1 || De === -1) && (ue = De === 1), ts = !0, setTimeout(Sg, 30), G(), ue && !ee ? t.appendChild(A) : n.parentNode.insertBefore(A, ue ? ee : n), ae && hl(ae, 0, M - ae.scrollTop), ge = A.parentNode, Se !== void 0 && !mo && (Oo = Math.abs(Se - ke(n)[V])), Q(), j(!0);
11009
+ return (De === 1 || De === -1) && (ue = De === 1), ts = !0, setTimeout(Sg, 30), G(), ue && !ee ? t.appendChild(A) : n.parentNode.insertBefore(A, ue ? ee : n), ae && hl(ae, 0, D - ae.scrollTop), ge = A.parentNode, Se !== void 0 && !mo && (Oo = Math.abs(Se - ke(n)[V])), Q(), j(!0);
11010
11010
  }
11011
11011
  if (t.contains(A))
11012
11012
  return j(!1);
@@ -11025,11 +11025,11 @@ P.prototype = /** @lends Sortable.prototype */
11025
11025
  var t = this.el, n = this.options;
11026
11026
  if (qe = et(A), Bt = et(A, n.draggable), je("drop", this, {
11027
11027
  evt: e
11028
- }), ge = A && A.parentNode, qe = et(A), Bt = et(A, n.draggable), P.eventCanceled) {
11028
+ }), ge = A && A.parentNode, qe = et(A), Bt = et(A, n.draggable), x.eventCanceled) {
11029
11029
  this._nulling();
11030
11030
  return;
11031
11031
  }
11032
- _n = !1, mo = !1, $n = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ns(this.cloneId), ns(this._dragStartId), this.nativeDraggable && (Z(document, "drop", this), Z(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Yn && D(document.body, "user-select", ""), D(A, "transform", ""), e && (Mn && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), F && F.parentNode && F.parentNode.removeChild(F), (de === ge || xe && xe.lastPutMode !== "clone") && fe && fe.parentNode && fe.parentNode.removeChild(fe), A && (this.nativeDraggable && Z(A, "dragend", this), Mi(A), A.style["will-change"] = "", Mn && !_n && Je(A, xe ? xe.options.ghostClass : this.options.ghostClass, !1), Je(A, this.options.chosenClass, !1), Ge({
11032
+ _n = !1, mo = !1, $n = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ns(this.cloneId), ns(this._dragStartId), this.nativeDraggable && (Z(document, "drop", this), Z(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Yn && P(document.body, "user-select", ""), P(A, "transform", ""), e && (Mn && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), F && F.parentNode && F.parentNode.removeChild(F), (de === ge || xe && xe.lastPutMode !== "clone") && fe && fe.parentNode && fe.parentNode.removeChild(fe), A && (this.nativeDraggable && Z(A, "dragend", this), Mi(A), A.style["will-change"] = "", Mn && !_n && Je(A, xe ? xe.options.ghostClass : this.options.ghostClass, !1), Je(A, this.options.chosenClass, !1), Ge({
11033
11033
  sortable: this,
11034
11034
  name: "unchoose",
11035
11035
  toEl: ge,
@@ -11068,7 +11068,7 @@ P.prototype = /** @lends Sortable.prototype */
11068
11068
  name: "sort",
11069
11069
  toEl: ge,
11070
11070
  originalEvent: e
11071
- })), P.active && ((qe == null || qe === -1) && (qe = fn, Bt = Kn), Ge({
11071
+ })), x.active && ((qe == null || qe === -1) && (qe = fn, Bt = Kn), Ge({
11072
11072
  sortable: this,
11073
11073
  name: "end",
11074
11074
  toEl: ge,
@@ -11076,7 +11076,7 @@ P.prototype = /** @lends Sortable.prototype */
11076
11076
  }), this.save()))), this._nulling();
11077
11077
  },
11078
11078
  _nulling: function() {
11079
- je("nulling", this), de = A = ge = F = Wt = fe = Io = Pt = Gt = ot = Mn = qe = Bt = fn = Kn = cn = Hn = xe = fo = P.dragged = P.ghost = P.clone = P.active = null, Fo.forEach(function(e) {
11079
+ je("nulling", this), de = A = ge = F = Wt = fe = Io = Pt = Gt = ot = Mn = qe = Bt = fn = Kn = cn = Hn = xe = fo = x.dragged = x.ghost = x.clone = x.active = null, Fo.forEach(function(e) {
11080
11080
  e.checked = !0;
11081
11081
  }), Fo.length = Li = Bi = 0;
11082
11082
  },
@@ -11158,9 +11158,9 @@ P.prototype = /** @lends Sortable.prototype */
11158
11158
  },
11159
11159
  _hideClone: function() {
11160
11160
  if (!Pt) {
11161
- if (je("hideClone", this), P.eventCanceled)
11161
+ if (je("hideClone", this), x.eventCanceled)
11162
11162
  return;
11163
- D(fe, "display", "none"), this.options.removeCloneOnHide && fe.parentNode && fe.parentNode.removeChild(fe), Pt = !0;
11163
+ P(fe, "display", "none"), this.options.removeCloneOnHide && fe.parentNode && fe.parentNode.removeChild(fe), Pt = !0;
11164
11164
  }
11165
11165
  },
11166
11166
  _showClone: function(e) {
@@ -11169,9 +11169,9 @@ P.prototype = /** @lends Sortable.prototype */
11169
11169
  return;
11170
11170
  }
11171
11171
  if (Pt) {
11172
- if (je("showClone", this), P.eventCanceled)
11172
+ if (je("showClone", this), x.eventCanceled)
11173
11173
  return;
11174
- A.parentNode == de && !this.options.group.revertClone ? de.insertBefore(fe, A) : Wt ? de.insertBefore(fe, Wt) : de.appendChild(fe), this.options.group.revertClone && this.animate(A, fe), D(fe, "display", ""), Pt = !1;
11174
+ A.parentNode == de && !this.options.group.revertClone ? de.insertBefore(fe, A) : Wt ? de.insertBefore(fe, Wt) : de.appendChild(fe), this.options.group.revertClone && this.animate(A, fe), P(fe, "display", ""), Pt = !1;
11175
11175
  }
11176
11176
  }
11177
11177
  };
@@ -11234,12 +11234,12 @@ function ns(e) {
11234
11234
  return clearTimeout(e);
11235
11235
  }
11236
11236
  li && te(document, "touchmove", function(e) {
11237
- (P.active || _n) && e.cancelable && e.preventDefault();
11237
+ (x.active || _n) && e.cancelable && e.preventDefault();
11238
11238
  });
11239
- P.utils = {
11239
+ x.utils = {
11240
11240
  on: te,
11241
11241
  off: Z,
11242
- css: D,
11242
+ css: P,
11243
11243
  find: _l,
11244
11244
  is: function(e, t) {
11245
11245
  return !!it(e, t, e, !1);
@@ -11255,22 +11255,22 @@ P.utils = {
11255
11255
  detectDirection: Tl,
11256
11256
  getChild: In
11257
11257
  };
11258
- P.get = function(e) {
11258
+ x.get = function(e) {
11259
11259
  return e[Qe];
11260
11260
  };
11261
- P.mount = function() {
11261
+ x.mount = function() {
11262
11262
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
11263
11263
  t[n] = arguments[n];
11264
11264
  t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
11265
11265
  if (!o.prototype || !o.prototype.constructor)
11266
11266
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
11267
- o.utils && (P.utils = Et(Et({}, P.utils), o.utils)), no.mount(o);
11267
+ o.utils && (x.utils = Et(Et({}, x.utils), o.utils)), no.mount(o);
11268
11268
  });
11269
11269
  };
11270
- P.create = function(e, t) {
11271
- return new P(e, t);
11270
+ x.create = function(e, t) {
11271
+ return new x(e, t);
11272
11272
  };
11273
- P.version = hg;
11273
+ x.version = hg;
11274
11274
  var Ce = [], Dn, os, is = !1, Di, Pi, Ko, Pn;
11275
11275
  function xg() {
11276
11276
  function e() {
@@ -11338,16 +11338,16 @@ var xi = dl(function(e, t, n, o) {
11338
11338
  os !== n && (os = n, Co(), Dn = t.scroll, d = t.scrollFn, Dn === !0 && (Dn = wt(n, !0)));
11339
11339
  var h = 0, g = Dn;
11340
11340
  do {
11341
- var T = g, O = ke(T), v = O.top, G = O.bottom, j = O.left, Q = O.right, ne = O.width, he = O.height, J = void 0, Se = void 0, $e = T.scrollWidth, R = T.scrollHeight, V = D(T), ae = T.scrollLeft, M = T.scrollTop;
11341
+ var T = g, O = ke(T), v = O.top, G = O.bottom, j = O.left, Q = O.right, ne = O.width, he = O.height, J = void 0, Se = void 0, $e = T.scrollWidth, R = T.scrollHeight, V = P(T), ae = T.scrollLeft, D = T.scrollTop;
11342
11342
  T === l ? (J = ne < $e && (V.overflowX === "auto" || V.overflowX === "scroll" || V.overflowX === "visible"), Se = he < R && (V.overflowY === "auto" || V.overflowY === "scroll" || V.overflowY === "visible")) : (J = ne < $e && (V.overflowX === "auto" || V.overflowX === "scroll"), Se = he < R && (V.overflowY === "auto" || V.overflowY === "scroll"));
11343
- var K = J && (Math.abs(Q - i) <= a && ae + ne < $e) - (Math.abs(j - i) <= a && !!ae), oe = Se && (Math.abs(G - s) <= a && M + he < R) - (Math.abs(v - s) <= a && !!M);
11343
+ var K = J && (Math.abs(Q - i) <= a && ae + ne < $e) - (Math.abs(j - i) <= a && !!ae), oe = Se && (Math.abs(G - s) <= a && D + he < R) - (Math.abs(v - s) <= a && !!D);
11344
11344
  if (!Ce[h])
11345
11345
  for (var ee = 0; ee <= h; ee++)
11346
11346
  Ce[ee] || (Ce[ee] = {});
11347
11347
  (Ce[h].vx != K || Ce[h].vy != oe || Ce[h].el !== T) && (Ce[h].el = T, Ce[h].vx = K, Ce[h].vy = oe, clearInterval(Ce[h].pid), (K != 0 || oe != 0) && (_ = !0, Ce[h].pid = setInterval((function() {
11348
- o && this.layer === 0 && P.active._onTouchMove(Ko);
11348
+ o && this.layer === 0 && x.active._onTouchMove(Ko);
11349
11349
  var ue = Ce[this.layer].vy ? Ce[this.layer].vy * c : 0, De = Ce[this.layer].vx ? Ce[this.layer].vx * c : 0;
11350
- typeof d == "function" && d.call(P.dragged.parentNode[Qe], De, ue, e, Ko, Ce[this.layer].el) !== "continue" || hl(Ce[this.layer].el, De, ue);
11350
+ typeof d == "function" && d.call(x.dragged.parentNode[Qe], De, ue, e, Ko, Ce[this.layer].el) !== "continue" || hl(Ce[this.layer].el, De, ue);
11351
11351
  }).bind({
11352
11352
  layer: h
11353
11353
  }), 24))), h++;
@@ -11397,8 +11397,8 @@ Es.prototype = {
11397
11397
  Ct(Es, {
11398
11398
  pluginName: "removeOnSpill"
11399
11399
  });
11400
- P.mount(new xg());
11401
- P.mount(Es, Ts);
11400
+ x.mount(new xg());
11401
+ x.mount(Es, Ts);
11402
11402
  function Ug(e) {
11403
11403
  return e == null ? e : JSON.parse(JSON.stringify(e));
11404
11404
  }
@@ -11434,9 +11434,9 @@ function Fg(...e) {
11434
11434
  } = (n = X(c)) != null ? n : {};
11435
11435
  function g(R) {
11436
11436
  var V;
11437
- const { from: ae, oldIndex: M, item: K } = R;
11437
+ const { from: ae, oldIndex: D, item: K } = R;
11438
11438
  i = Array.from(ae.childNodes);
11439
- const oe = X((V = X(a)) == null ? void 0 : V[M]), ee = d(oe);
11439
+ const oe = X((V = X(a)) == null ? void 0 : V[D]), ee = d(oe);
11440
11440
  Ka(oe, ee), K[Ha] = ee;
11441
11441
  }
11442
11442
  function T(R) {
@@ -11451,8 +11451,8 @@ function Fg(...e) {
11451
11451
  }
11452
11452
  }
11453
11453
  function O(R) {
11454
- const { from: V, item: ae, oldIndex: M, oldDraggableIndex: K, pullMode: oe, clone: ee } = R;
11455
- if (Ba(V, ae, M), oe === "clone") {
11454
+ const { from: V, item: ae, oldIndex: D, oldDraggableIndex: K, pullMode: oe, clone: ee } = R;
11455
+ if (Ba(V, ae, D), oe === "clone") {
11456
11456
  ki(ee);
11457
11457
  return;
11458
11458
  }
@@ -11468,8 +11468,8 @@ function Fg(...e) {
11468
11468
  h(R);
11469
11469
  return;
11470
11470
  }
11471
- const { from: V, item: ae, oldIndex: M, oldDraggableIndex: K, newDraggableIndex: oe } = R;
11472
- if (ki(ae), Ba(V, ae, M), xn(a)) {
11471
+ const { from: V, item: ae, oldIndex: D, oldDraggableIndex: K, newDraggableIndex: oe } = R;
11472
+ if (ki(ae), Ba(V, ae, D), xn(a)) {
11473
11473
  const ee = [...X(a)];
11474
11474
  a.value = Na(
11475
11475
  ee,
@@ -11481,15 +11481,15 @@ function Fg(...e) {
11481
11481
  Na(X(a), K, oe);
11482
11482
  }
11483
11483
  function G(R) {
11484
- const { newIndex: V, oldIndex: ae, from: M, to: K } = R;
11484
+ const { newIndex: V, oldIndex: ae, from: D, to: K } = R;
11485
11485
  let oe = null;
11486
- const ee = V === ae && M === K;
11486
+ const ee = V === ae && D === K;
11487
11487
  try {
11488
11488
  if (ee) {
11489
11489
  let ue = null;
11490
11490
  i == null || i.some((De, Xe) => {
11491
11491
  if (ue && (i == null ? void 0 : i.length) !== K.childNodes.length)
11492
- return M.insertBefore(ue, De.nextSibling), !0;
11492
+ return D.insertBefore(ue, De.nextSibling), !0;
11493
11493
  const Ee = K.childNodes[Xe];
11494
11494
  ue = K == null ? void 0 : K.replaceChild(De, Ee);
11495
11495
  });
@@ -11517,7 +11517,7 @@ function Fg(...e) {
11517
11517
  }
11518
11518
  function ne() {
11519
11519
  var R;
11520
- const V = (R = X(c)) != null ? R : {}, { immediate: ae, clone: M } = V, K = rl(V, ["immediate", "clone"]);
11520
+ const V = (R = X(c)) != null ? R : {}, { immediate: ae, clone: D } = V, K = rl(V, ["immediate", "clone"]);
11521
11521
  return Ra(K, (oe, ee) => {
11522
11522
  cg(oe) && (K[oe] = (ue, ...De) => {
11523
11523
  const Xe = Yg();
@@ -11529,7 +11529,7 @@ function Fg(...e) {
11529
11529
  );
11530
11530
  }
11531
11531
  const he = (R) => {
11532
- R = Q(R), l && J.destroy(), l = new P(R, ne());
11532
+ R = Q(R), l && J.destroy(), l = new x(R, ne());
11533
11533
  };
11534
11534
  Rt(
11535
11535
  () => c,
@@ -12021,7 +12021,9 @@ function oT(e, t) {
12021
12021
  o(i[l], c.getInput("ENTRY" + l).connection);
12022
12022
  } else a === "json_string_v1" || a === "json_number_v1" ? c.setFieldValue(i, "VALUE") : a === "json_boolean_v1" && c.setFieldValue(i ? "true" : "false", "VALUE");
12023
12023
  };
12024
- o(e, n.getInput("JSON").connection);
12024
+ o(e, n.getInput("JSON").connection), M.fire(
12025
+ new (M.get(M.FINISHED_LOADING))(t)
12026
+ );
12025
12027
  }
12026
12028
  function iT(e) {
12027
12029
  const t = (o) => {
@@ -12029,13 +12031,18 @@ function iT(e) {
12029
12031
  return null;
12030
12032
  if (o.type === "json_root_v1")
12031
12033
  return t(o.getInputTargetBlock("JSON"));
12032
- if (o.type === "json_map_v1")
12033
- for (let i = 0; i < o.length; i++)
12034
- o.getFieldValue("KEY" + i), t(o.getInputTargetBlock("ENTRY" + i));
12035
- else if (o.type === "json_array_v1") {
12034
+ if (o.type === "json_map_v1") {
12035
+ const i = {};
12036
+ for (let s = 0; s < o.length; s++) {
12037
+ const a = o.getFieldValue("KEY" + s);
12038
+ i[a] = t(o.getInputTargetBlock("ENTRY" + s));
12039
+ }
12040
+ return i;
12041
+ } else if (o.type === "json_array_v1") {
12036
12042
  const i = [];
12037
12043
  for (let s = 0; s < o.length; s++)
12038
12044
  i.push(t(o.getInputTargetBlock("ENTRY" + s)));
12045
+ return i;
12039
12046
  } else {
12040
12047
  if (o.type === "json_string_v1")
12041
12048
  return o.getFieldValue("VALUE");
@@ -12102,62 +12109,57 @@ const sT = { class: "position-relative w-100 h-100" }, aT = /* @__PURE__ */ at({
12102
12109
  console.assert(!1);
12103
12110
  return;
12104
12111
  }
12105
- await Ca(e.locale), c = Qg(a.value, e.type, e.version, e.dark), c.addChangeListener(x.disableOrphans), c.addChangeListener(G);
12106
- const M = document.querySelector("#blocklyEditor .blocklyFlyout");
12112
+ await Ca(e.locale), c = Qg(a.value, e.type, e.version, e.dark), c.addChangeListener(M.disableOrphans), c.addChangeListener(G);
12113
+ const D = document.querySelector("#blocklyEditor .blocklyFlyout");
12107
12114
  new MutationObserver((oe) => {
12108
12115
  oe.forEach((ee) => {
12109
12116
  ee.type === "attributes" && ee.attributeName === "style" && (v.value = c.getFlyout().isVisible());
12110
12117
  });
12111
- }).observe(M, { attributes: !0 }), v.value = c.getFlyout().isVisible(), he(), J(), await rs(), s("ready");
12118
+ }).observe(D, { attributes: !0 }), v.value = c.getFlyout().isVisible(), he(), J(), await rs(), s("ready");
12112
12119
  }), Wa(() => {
12113
12120
  v.value = !1;
12114
- const M = [
12121
+ const D = [
12115
12122
  document.querySelector(".blocklyWidgetDiv"),
12116
12123
  document.querySelector(".blocklyDropDownDiv"),
12117
12124
  document.querySelector(".blocklyTooltipDiv"),
12118
12125
  document.querySelector(".blocklyComputeCanvas")
12119
12126
  ];
12120
- for (const K of M)
12127
+ for (const K of D)
12121
12128
  K == null || K.remove();
12122
12129
  }), Jc(a, () => {
12123
12130
  c && Rc(c);
12124
12131
  });
12125
- async function G(M) {
12126
- if (M.type === x.FINISHED_LOADING) {
12132
+ async function G(D) {
12133
+ if (D.type === M.FINISHED_LOADING) {
12127
12134
  tl(), Ze.emit("codeUpdate"), l.value = !1;
12128
12135
  return;
12129
12136
  }
12130
12137
  if (!l.value) {
12131
- if (M.type === x.VIEWPORT_CHANGE) {
12138
+ if (D.type === M.VIEWPORT_CHANGE) {
12132
12139
  i.value = c.getScale();
12133
12140
  return;
12134
12141
  }
12135
- M.type === x.BLOCK_DRAG && (M.isStart ? _.value = !0 : _.value = !1), Ze.emit("codeUpdate");
12142
+ D.type === M.BLOCK_DRAG && (D.isStart ? _.value = !0 : _.value = !1), Ze.emit("codeUpdate");
12136
12143
  }
12137
12144
  }
12138
- const j = (M) => {
12139
- l.value = !0, e.type === "json" ? oT(M, c) : Fs.workspaces.load(M, c);
12140
- }, Q = () => {
12141
- if (e.type === "json")
12142
- iT(c);
12143
- else
12144
- return Fs.workspaces.save(c);
12145
- }, ne = () => r.workspaceToCode(c), he = () => {
12145
+ const j = (D) => {
12146
+ l.value = !0, e.type === "json" ? oT(D, c) : Fs.workspaces.load(D, c);
12147
+ }, Q = () => e.type === "json" ? iT(c) : Fs.workspaces.save(c), ne = () => r.workspaceToCode(c), he = () => {
12146
12148
  c.options.readOnly = o.value, c.options.readOnly && (v.value = !1);
12147
12149
  }, J = () => {
12148
12150
  c.setScale(i.value);
12149
12151
  }, Se = () => {
12150
12152
  c.fireChangeListener(new Pr());
12151
- }, $e = (M) => {
12152
- if (M.key === "q" && M.ctrlKey) {
12153
+ }, $e = (D) => {
12154
+ if (D.key === "q" && D.ctrlKey) {
12153
12155
  R();
12154
12156
  return;
12155
12157
  }
12156
- if (M.key === "w" && M.ctrlKey) {
12158
+ if (D.key === "w" && D.ctrlKey) {
12157
12159
  V();
12158
12160
  return;
12159
12161
  }
12160
- if (M.key === "e" && M.ctrlKey) {
12162
+ if (D.key === "e" && D.ctrlKey) {
12161
12163
  ae();
12162
12164
  return;
12163
12165
  }
@@ -12174,21 +12176,21 @@ const sT = { class: "position-relative w-100 h-100" }, aT = /* @__PURE__ */ at({
12174
12176
  window.removeEventListener("keydown", $e, !1);
12175
12177
  }), Rt(
12176
12178
  () => e.locale,
12177
- (M) => {
12178
- Ca(M);
12179
+ (D) => {
12180
+ Ca(D);
12179
12181
  }
12180
12182
  ), Rt(
12181
12183
  () => e.dark,
12182
- (M) => {
12183
- $m(M ? "dark" : "light");
12184
+ (D) => {
12185
+ $m(D ? "dark" : "light");
12184
12186
  }
12185
- ), Rt(v, (M) => {
12186
- M || c.hideChaff();
12187
+ ), Rt(v, (D) => {
12188
+ D || c.hideChaff();
12187
12189
  }), Rt(o, () => {
12188
12190
  he();
12189
12191
  }), Rt(i, () => {
12190
12192
  J();
12191
- }), t({ loading: l, load: j, save: Q, generateCode: ne, fireStateChange: Se }), (M, K) => {
12193
+ }), t({ loading: l, load: j, save: Q, generateCode: ne, fireStateChange: Se }), (D, K) => {
12192
12194
  const oe = Me("v-icon"), ee = Me("x-loading");
12193
12195
  return Ne(), ut("div", sT, [
12194
12196
  pt("div", {
@@ -12477,7 +12479,7 @@ function rT() {
12477
12479
  return k;
12478
12480
  }).map((Y) => `(${Y})`).join(f);
12479
12481
  }
12480
- const Se = /\b\B/, $e = "[a-zA-Z]\\w*", R = "[a-zA-Z_]\\w*", V = "\\b\\d+(\\.\\d+)?", ae = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", M = "\\b(0b[01]+)", K = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", oe = (u = {}) => {
12482
+ const Se = /\b\B/, $e = "[a-zA-Z]\\w*", R = "[a-zA-Z_]\\w*", V = "\\b\\d+(\\.\\d+)?", ae = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", D = "\\b(0b[01]+)", K = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", oe = (u = {}) => {
12481
12483
  const f = /^#![ ]*\//;
12482
12484
  return u.binary && (u.begin = v(
12483
12485
  f,
@@ -12587,7 +12589,7 @@ function rT() {
12587
12589
  relevance: 0
12588
12590
  }, Nl = {
12589
12591
  scope: "number",
12590
- begin: M,
12592
+ begin: D,
12591
12593
  relevance: 0
12592
12594
  }, Sl = {
12593
12595
  scope: "regexp",
@@ -12620,7 +12622,7 @@ function rT() {
12620
12622
  APOS_STRING_MODE: ue,
12621
12623
  BACKSLASH_ESCAPE: ee,
12622
12624
  BINARY_NUMBER_MODE: Nl,
12623
- BINARY_NUMBER_RE: M,
12625
+ BINARY_NUMBER_RE: D,
12624
12626
  COMMENT: Ee,
12625
12627
  C_BLOCK_COMMENT_MODE: At,
12626
12628
  C_LINE_COMMENT_MODE: tt,
@@ -13732,7 +13734,7 @@ function dT(e) {
13732
13734
  label: "func.def",
13733
13735
  contains: [Se],
13734
13736
  illegal: /%/
13735
- }, M = {
13737
+ }, D = {
13736
13738
  relevance: 0,
13737
13739
  match: /\b[A-Z][A-Z_0-9]+\b/,
13738
13740
  className: "variable.constant"
@@ -13944,7 +13946,7 @@ function dT(e) {
13944
13946
  contains: [Se]
13945
13947
  },
13946
13948
  oe,
13947
- M,
13949
+ D,
13948
13950
  $e,
13949
13951
  ue,
13950
13952
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.6.31",
4
+ "version": "0.6.33",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",