x-block-lib 0.4.38 → 0.4.39

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.
package/dist/index.js CHANGED
@@ -10,41 +10,42 @@
10
10
  var da = Object.defineProperty;
11
11
  var fa = (e, t, n) => t in e ? da(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
12
12
  var Ke = (e, t, n) => fa(e, typeof t != "symbol" ? t + "" : t, n);
13
- import { getCurrentScope as ha, onScopeDispose as ga, unref as P, computed as de, watch as st, ref as pt, getCurrentInstance as Qn, onMounted as Kt, defineComponent as Xe, onBeforeUnmount as Yn, resolveComponent as ge, openBlock as ue, createBlock as Ve, withCtx as $e, createVNode as pe, mergeProps as ni, useModel as Yo, toRefs as Ta, reactive as ma, h as Ko, onUnmounted as Ea, nextTick as oi, isRef as Zt, resolveDirective as ba, withDirectives as va, createElementBlock as _t, normalizeStyle as qe, createElementVNode as Ue, toDisplayString as eo, withModifiers as Qt, Fragment as Ds, renderList as Aa, withKeys as xs, createCommentVNode as Ft, mergeModels as Si } from "vue";
14
- import { d as O, j as c, O as u, M as x, u as A, X as Oa, E as W, B as $, F as be, i as _e, a as It, b as to, c as re, C as ws, e as ya, P as Ho, N as ii, V as Rn, f as Ia, g as Ps, s as Ca, h as vt, S as Oe, k as Oo, l as wt, m as An, n as yo, o as jt, p as bt, q as Li, G as Io, r as Sa, t as La, v as Co, U as On, D as yn, w as kt, x as Na, T as no, y as Us, z as Ba, A as ka, H as Ra, I as Ni, J as Ma } from "./blockly-n2nno6aq.js";
13
+ import { getCurrentScope as ha, onScopeDispose as ga, unref as P, computed as de, watch as st, ref as pt, getCurrentInstance as Qn, onMounted as Kt, defineComponent as Xe, onBeforeUnmount as Yn, resolveComponent as ge, openBlock as ue, createBlock as Ve, withCtx as $e, createVNode as pe, mergeProps as ni, useModel as Yo, toRefs as Ta, reactive as ma, h as Ko, onUnmounted as Ea, nextTick as oi, isRef as Qt, resolveDirective as ba, withDirectives as va, createElementBlock as _t, normalizeStyle as qe, createElementVNode as Ue, toDisplayString as eo, withModifiers as en, Fragment as Ds, renderList as Aa, withKeys as xs, createCommentVNode as Ft, mergeModels as Si } from "vue";
14
+ import { d as O, j as c, O as u, M as D, u as A, X as Oa, E as W, B as $, F as be, i as _e, a as It, b as to, c as re, C as ws, e as ya, P as Ho, N as ii, V as Rn, f as Ia, g as Ps, s as Ca, h as vt, S as Oe, k as Oo, l as wt, m as An, n as yo, o as Xt, p as bt, q as Li, G as Io, r as Sa, t as La, v as Co, U as On, D as yn, w as kt, x as Na, T as no, y as Us, z as Ba, A as ka, H as Ra, I as Ni, J as Ma } from "./blockly-n2nno6aq.js";
15
15
  import { storeToRefs as Da } from "pinia";
16
16
  import { openConfirmDlg as xa, openPromptDlg as wa, eventBus as He, messageWarning as Vs, useColor as oo, useViewStack as io, useSystem as Fs, useGlobalStore as Pa } from "x-essential-lib";
17
- import { useI18n as dn } from "vue-i18n";
17
+ import { useI18n as fn } from "vue-i18n";
18
18
  import { useDisplay as Ua } from "vuetify";
19
19
  import { elements as Va } from "x-runtime-lib";
20
- function Fa(e) {
20
+ import { useRouter as Fa } from "vue-router";
21
+ function Ya(e) {
21
22
  return ha() ? (ga(e), !0) : !1;
22
23
  }
23
- function Ya(e) {
24
+ function Ka(e) {
24
25
  return typeof e == "function" ? e() : P(e);
25
26
  }
26
- const Ka = typeof window < "u" && typeof document < "u";
27
+ const Ha = typeof window < "u" && typeof document < "u";
27
28
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
28
29
  function Bi(e) {
29
30
  var t;
30
- const n = Ya(e);
31
+ const n = Ka(e);
31
32
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
32
33
  }
33
- const Ha = Ka ? window : void 0;
34
- function $a() {
34
+ const $a = Ha ? window : void 0;
35
+ function Ga() {
35
36
  const e = pt(!1), t = Qn();
36
37
  return t && Kt(() => {
37
38
  e.value = !0;
38
39
  }, t), e;
39
40
  }
40
- function Ga(e) {
41
- const t = $a();
41
+ function ja(e) {
42
+ const t = Ga();
42
43
  return de(() => (t.value, !!e()));
43
44
  }
44
- function ja(e, t, n = {}) {
45
- const { window: o = Ha, ...i } = n;
45
+ function Xa(e, t, n = {}) {
46
+ const { window: o = $a, ...i } = n;
46
47
  let s;
47
- const r = Ga(() => o && "ResizeObserver" in o), a = () => {
48
+ const r = ja(() => o && "ResizeObserver" in o), a = () => {
48
49
  s && (s.disconnect(), s = void 0);
49
50
  }, l = de(() => Array.isArray(e) ? e.map((p) => Bi(p)) : [Bi(e)]), _ = st(
50
51
  l,
@@ -59,7 +60,7 @@ function ja(e, t, n = {}) {
59
60
  ), d = () => {
60
61
  a(), _();
61
62
  };
62
- return Fa(d), {
63
+ return Ya(d), {
63
64
  isSupported: r,
64
65
  stop: d
65
66
  };
@@ -207,7 +208,7 @@ function ${c.FUNCTION_NAME_PLACEHOLDER_}(r, g, b) {
207
208
  )}(${t}, ${n}, ${o})`, u.FUNCTION_CALL];
208
209
  };
209
210
  function ht(e) {
210
- return e.length <= 0 && e.push([x.NO_OPTION, ""]), e;
211
+ return e.length <= 0 && e.push([D.NO_OPTION, ""]), e;
211
212
  }
212
213
  function Je(e) {
213
214
  let t = "";
@@ -248,7 +249,7 @@ function Ct(e, t) {
248
249
  W.enable();
249
250
  }
250
251
  }
251
- const Xa = A.xml, Wa = [
252
+ const Wa = A.xml, za = [
252
253
  {
253
254
  type: "call_func_v1",
254
255
  prefixInputs: ["OUTPUT"]
@@ -282,17 +283,17 @@ const Xa = A.xml, Wa = [
282
283
  prefixInputs: ["ARG"]
283
284
  }
284
285
  ];
285
- function za(e, t) {
286
+ function Ja(e, t) {
286
287
  var o, i;
287
- const n = Wa.find((s) => s.type === e);
288
+ const n = za.find((s) => s.type === e);
288
289
  return n ? !!((o = n.prefixInputs) != null && o.some((s) => t.startsWith(s)) || (i = n.inputs) != null && i.some((s) => s === t)) : !1;
289
290
  }
290
- const Ja = {
291
+ const qa = {
291
292
  init: function() {
292
293
  this.key = "", this.name = "", this.appendDummyInput().appendField("", "LABEL"), this.setOutput(!0), this.setColour(220);
293
294
  },
294
295
  mutationToDom: function() {
295
- const e = Xa.createElement("mutation");
296
+ const e = Wa.createElement("mutation");
296
297
  return e.setAttribute("key", this.key), e.setAttribute("name", this.name), e;
297
298
  },
298
299
  domToMutation: function(e) {
@@ -321,7 +322,7 @@ const Ja = {
321
322
  tryDuplicate_: function(e) {
322
323
  var n;
323
324
  const t = this.workspace.getBlockById(e.oldParentId);
324
- if (t && za(t.type, e.oldInputName))
325
+ if (t && Ja(t.type, e.oldInputName))
325
326
  try {
326
327
  W.disable();
327
328
  const o = (n = t.getInput(e.oldInputName)) == null ? void 0 : n.connection;
@@ -334,59 +335,59 @@ const Ja = {
334
335
  }
335
336
  },
336
337
  updateShape_: function() {
337
- this.name ? this.setFieldValue(x[this.name], "LABEL") : this.setFieldValue(this.key, "LABEL");
338
+ this.name ? this.setFieldValue(D[this.name], "LABEL") : this.setFieldValue(this.key, "LABEL");
338
339
  }
339
340
  };
340
- $.parameter_v1 = Ja;
341
+ $.parameter_v1 = qa;
341
342
  c.forBlock.parameter_v1 = function(e) {
342
343
  return [e.key, u.ATOMIC];
343
344
  };
344
- var Ys = typeof global == "object" && global && global.Object === Object && global, qa = typeof self == "object" && self && self.Object === Object && self, We = Ys || qa || Function("return this")(), dt = We.Symbol, Ks = Object.prototype, Za = Ks.hasOwnProperty, Qa = Ks.toString, Xt = dt ? dt.toStringTag : void 0;
345
- function el(e) {
346
- var t = Za.call(e, Xt), n = e[Xt];
345
+ var Ys = typeof global == "object" && global && global.Object === Object && global, Za = typeof self == "object" && self && self.Object === Object && self, We = Ys || Za || Function("return this")(), dt = We.Symbol, Ks = Object.prototype, Qa = Ks.hasOwnProperty, el = Ks.toString, Wt = dt ? dt.toStringTag : void 0;
346
+ function tl(e) {
347
+ var t = Qa.call(e, Wt), n = e[Wt];
347
348
  try {
348
- e[Xt] = void 0;
349
+ e[Wt] = void 0;
349
350
  var o = !0;
350
351
  } catch {
351
352
  }
352
- var i = Qa.call(e);
353
- return o && (t ? e[Xt] = n : delete e[Xt]), i;
353
+ var i = el.call(e);
354
+ return o && (t ? e[Wt] = n : delete e[Wt]), i;
354
355
  }
355
- var tl = Object.prototype, nl = tl.toString;
356
- function ol(e) {
357
- return nl.call(e);
356
+ var nl = Object.prototype, ol = nl.toString;
357
+ function il(e) {
358
+ return ol.call(e);
358
359
  }
359
- var il = "[object Null]", sl = "[object Undefined]", ki = dt ? dt.toStringTag : void 0;
360
- function fn(e) {
361
- return e == null ? e === void 0 ? sl : il : ki && ki in Object(e) ? el(e) : ol(e);
360
+ var sl = "[object Null]", rl = "[object Undefined]", ki = dt ? dt.toStringTag : void 0;
361
+ function hn(e) {
362
+ return e == null ? e === void 0 ? rl : sl : ki && ki in Object(e) ? tl(e) : il(e);
362
363
  }
363
364
  function Ot(e) {
364
365
  return e != null && typeof e == "object";
365
366
  }
366
- var an = Array.isArray;
367
- function hn(e) {
367
+ var ln = Array.isArray;
368
+ function gn(e) {
368
369
  var t = typeof e;
369
370
  return e != null && (t == "object" || t == "function");
370
371
  }
371
- var rl = "[object AsyncFunction]", al = "[object Function]", ll = "[object GeneratorFunction]", cl = "[object Proxy]";
372
+ var al = "[object AsyncFunction]", ll = "[object Function]", cl = "[object GeneratorFunction]", ul = "[object Proxy]";
372
373
  function Hs(e) {
373
- if (!hn(e))
374
+ if (!gn(e))
374
375
  return !1;
375
- var t = fn(e);
376
- return t == al || t == ll || t == rl || t == cl;
376
+ var t = hn(e);
377
+ return t == ll || t == cl || t == al || t == ul;
377
378
  }
378
379
  var So = We["__core-js_shared__"], Ri = function() {
379
380
  var e = /[^.]+$/.exec(So && So.keys && So.keys.IE_PROTO || "");
380
381
  return e ? "Symbol(src)_1." + e : "";
381
382
  }();
382
- function ul(e) {
383
+ function _l(e) {
383
384
  return !!Ri && Ri in e;
384
385
  }
385
- var _l = Function.prototype, pl = _l.toString;
386
+ var pl = Function.prototype, dl = pl.toString;
386
387
  function St(e) {
387
388
  if (e != null) {
388
389
  try {
389
- return pl.call(e);
390
+ return dl.call(e);
390
391
  } catch {
391
392
  }
392
393
  try {
@@ -396,27 +397,27 @@ function St(e) {
396
397
  }
397
398
  return "";
398
399
  }
399
- var dl = /[\\^$.*+?()[\]{}|]/g, fl = /^\[object .+?Constructor\]$/, hl = Function.prototype, gl = Object.prototype, Tl = hl.toString, ml = gl.hasOwnProperty, El = RegExp(
400
- "^" + Tl.call(ml).replace(dl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
400
+ var fl = /[\\^$.*+?()[\]{}|]/g, hl = /^\[object .+?Constructor\]$/, gl = Function.prototype, Tl = Object.prototype, ml = gl.toString, El = Tl.hasOwnProperty, bl = RegExp(
401
+ "^" + ml.call(El).replace(fl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
401
402
  );
402
- function bl(e) {
403
- if (!hn(e) || ul(e))
403
+ function vl(e) {
404
+ if (!gn(e) || _l(e))
404
405
  return !1;
405
- var t = Hs(e) ? El : fl;
406
+ var t = Hs(e) ? bl : hl;
406
407
  return t.test(St(e));
407
408
  }
408
- function vl(e, t) {
409
+ function Al(e, t) {
409
410
  return e == null ? void 0 : e[t];
410
411
  }
411
412
  function Lt(e, t) {
412
- var n = vl(e, t);
413
- return bl(n) ? n : void 0;
413
+ var n = Al(e, t);
414
+ return vl(n) ? n : void 0;
414
415
  }
415
- var $o = Lt(We, "WeakMap"), Mi = Object.create, Al = /* @__PURE__ */ function() {
416
+ var $o = Lt(We, "WeakMap"), Mi = Object.create, Ol = /* @__PURE__ */ function() {
416
417
  function e() {
417
418
  }
418
419
  return function(t) {
419
- if (!hn(t))
420
+ if (!gn(t))
420
421
  return {};
421
422
  if (Mi)
422
423
  return Mi(t);
@@ -425,7 +426,7 @@ var $o = Lt(We, "WeakMap"), Mi = Object.create, Al = /* @__PURE__ */ function()
425
426
  return e.prototype = void 0, n;
426
427
  };
427
428
  }();
428
- function Ol(e, t) {
429
+ function yl(e, t) {
429
430
  var n = -1, o = e.length;
430
431
  for (t || (t = Array(o)); ++n < o; )
431
432
  t[n] = e[n];
@@ -438,15 +439,15 @@ var Di = function() {
438
439
  } catch {
439
440
  }
440
441
  }();
441
- function yl(e, t) {
442
+ function Il(e, t) {
442
443
  for (var n = -1, o = e == null ? 0 : e.length; ++n < o && t(e[n], n, e) !== !1; )
443
444
  ;
444
445
  return e;
445
446
  }
446
- var Il = 9007199254740991, Cl = /^(?:0|[1-9]\d*)$/;
447
- function Sl(e, t) {
447
+ var Cl = 9007199254740991, Sl = /^(?:0|[1-9]\d*)$/;
448
+ function Ll(e, t) {
448
449
  var n = typeof e;
449
- return t = t ?? Il, !!t && (n == "number" || n != "symbol" && Cl.test(e)) && e > -1 && e % 1 == 0 && e < t;
450
+ return t = t ?? Cl, !!t && (n == "number" || n != "symbol" && Sl.test(e)) && e > -1 && e % 1 == 0 && e < t;
450
451
  }
451
452
  function $s(e, t, n) {
452
453
  t == "__proto__" && Di ? Di(e, t, {
@@ -459,10 +460,10 @@ function $s(e, t, n) {
459
460
  function ri(e, t) {
460
461
  return e === t || e !== e && t !== t;
461
462
  }
462
- var Ll = Object.prototype, Nl = Ll.hasOwnProperty;
463
+ var Nl = Object.prototype, Bl = Nl.hasOwnProperty;
463
464
  function Gs(e, t, n) {
464
465
  var o = e[t];
465
- (!(Nl.call(e, t) && ri(o, n)) || n === void 0 && !(t in e)) && $s(e, t, n);
466
+ (!(Bl.call(e, t) && ri(o, n)) || n === void 0 && !(t in e)) && $s(e, t, n);
466
467
  }
467
468
  function so(e, t, n, o) {
468
469
  var i = !n;
@@ -473,61 +474,61 @@ function so(e, t, n, o) {
473
474
  }
474
475
  return n;
475
476
  }
476
- var Bl = 9007199254740991;
477
+ var kl = 9007199254740991;
477
478
  function js(e) {
478
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Bl;
479
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= kl;
479
480
  }
480
481
  function Xs(e) {
481
482
  return e != null && js(e.length) && !Hs(e);
482
483
  }
483
- var kl = Object.prototype;
484
+ var Rl = Object.prototype;
484
485
  function ai(e) {
485
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || kl;
486
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || Rl;
486
487
  return e === n;
487
488
  }
488
- function Rl(e, t) {
489
+ function Ml(e, t) {
489
490
  for (var n = -1, o = Array(e); ++n < e; )
490
491
  o[n] = t(n);
491
492
  return o;
492
493
  }
493
- var Ml = "[object Arguments]";
494
+ var Dl = "[object Arguments]";
494
495
  function xi(e) {
495
- return Ot(e) && fn(e) == Ml;
496
+ return Ot(e) && hn(e) == Dl;
496
497
  }
497
- var Ws = Object.prototype, Dl = Ws.hasOwnProperty, xl = Ws.propertyIsEnumerable, wl = xi(/* @__PURE__ */ function() {
498
+ var Ws = Object.prototype, xl = Ws.hasOwnProperty, wl = Ws.propertyIsEnumerable, Pl = xi(/* @__PURE__ */ function() {
498
499
  return arguments;
499
500
  }()) ? xi : function(e) {
500
- return Ot(e) && Dl.call(e, "callee") && !xl.call(e, "callee");
501
+ return Ot(e) && xl.call(e, "callee") && !wl.call(e, "callee");
501
502
  };
502
- function Pl() {
503
+ function Ul() {
503
504
  return !1;
504
505
  }
505
- var zs = typeof exports == "object" && exports && !exports.nodeType && exports, wi = zs && typeof module == "object" && module && !module.nodeType && module, Ul = wi && wi.exports === zs, Pi = Ul ? We.Buffer : void 0, Vl = Pi ? Pi.isBuffer : void 0, Kn = Vl || Pl, Fl = "[object Arguments]", Yl = "[object Array]", Kl = "[object Boolean]", Hl = "[object Date]", $l = "[object Error]", Gl = "[object Function]", jl = "[object Map]", Xl = "[object Number]", Wl = "[object Object]", zl = "[object RegExp]", Jl = "[object Set]", ql = "[object String]", Zl = "[object WeakMap]", Ql = "[object ArrayBuffer]", ec = "[object DataView]", tc = "[object Float32Array]", nc = "[object Float64Array]", oc = "[object Int8Array]", ic = "[object Int16Array]", sc = "[object Int32Array]", rc = "[object Uint8Array]", ac = "[object Uint8ClampedArray]", lc = "[object Uint16Array]", cc = "[object Uint32Array]", ee = {};
506
- ee[tc] = ee[nc] = ee[oc] = ee[ic] = ee[sc] = ee[rc] = ee[ac] = ee[lc] = ee[cc] = !0;
507
- ee[Fl] = ee[Yl] = ee[Ql] = ee[Kl] = ee[ec] = ee[Hl] = ee[$l] = ee[Gl] = ee[jl] = ee[Xl] = ee[Wl] = ee[zl] = ee[Jl] = ee[ql] = ee[Zl] = !1;
508
- function uc(e) {
509
- return Ot(e) && js(e.length) && !!ee[fn(e)];
506
+ var zs = typeof exports == "object" && exports && !exports.nodeType && exports, wi = zs && typeof module == "object" && module && !module.nodeType && module, Vl = wi && wi.exports === zs, Pi = Vl ? We.Buffer : void 0, Fl = Pi ? Pi.isBuffer : void 0, Kn = Fl || Ul, Yl = "[object Arguments]", Kl = "[object Array]", Hl = "[object Boolean]", $l = "[object Date]", Gl = "[object Error]", jl = "[object Function]", Xl = "[object Map]", Wl = "[object Number]", zl = "[object Object]", Jl = "[object RegExp]", ql = "[object Set]", Zl = "[object String]", Ql = "[object WeakMap]", ec = "[object ArrayBuffer]", tc = "[object DataView]", nc = "[object Float32Array]", oc = "[object Float64Array]", ic = "[object Int8Array]", sc = "[object Int16Array]", rc = "[object Int32Array]", ac = "[object Uint8Array]", lc = "[object Uint8ClampedArray]", cc = "[object Uint16Array]", uc = "[object Uint32Array]", ee = {};
507
+ ee[nc] = ee[oc] = ee[ic] = ee[sc] = ee[rc] = ee[ac] = ee[lc] = ee[cc] = ee[uc] = !0;
508
+ ee[Yl] = ee[Kl] = ee[ec] = ee[Hl] = ee[tc] = ee[$l] = ee[Gl] = ee[jl] = ee[Xl] = ee[Wl] = ee[zl] = ee[Jl] = ee[ql] = ee[Zl] = ee[Ql] = !1;
509
+ function _c(e) {
510
+ return Ot(e) && js(e.length) && !!ee[hn(e)];
510
511
  }
511
512
  function li(e) {
512
513
  return function(t) {
513
514
  return e(t);
514
515
  };
515
516
  }
516
- var Js = typeof exports == "object" && exports && !exports.nodeType && exports, en = Js && typeof module == "object" && module && !module.nodeType && module, _c = en && en.exports === Js, Lo = _c && Ys.process, Ht = function() {
517
+ var Js = typeof exports == "object" && exports && !exports.nodeType && exports, tn = Js && typeof module == "object" && module && !module.nodeType && module, pc = tn && tn.exports === Js, Lo = pc && Ys.process, Ht = function() {
517
518
  try {
518
- var e = en && en.require && en.require("util").types;
519
+ var e = tn && tn.require && tn.require("util").types;
519
520
  return e || Lo && Lo.binding && Lo.binding("util");
520
521
  } catch {
521
522
  }
522
- }(), Ui = Ht && Ht.isTypedArray, qs = Ui ? li(Ui) : uc, pc = Object.prototype, dc = pc.hasOwnProperty;
523
+ }(), Ui = Ht && Ht.isTypedArray, qs = Ui ? li(Ui) : _c, dc = Object.prototype, fc = dc.hasOwnProperty;
523
524
  function Zs(e, t) {
524
- var n = an(e), o = !n && wl(e), i = !n && !o && Kn(e), s = !n && !o && !i && qs(e), r = n || o || i || s, a = r ? Rl(e.length, String) : [], l = a.length;
525
+ var n = ln(e), o = !n && Pl(e), i = !n && !o && Kn(e), s = !n && !o && !i && qs(e), r = n || o || i || s, a = r ? Ml(e.length, String) : [], l = a.length;
525
526
  for (var _ in e)
526
- (t || dc.call(e, _)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
527
+ (t || fc.call(e, _)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
527
528
  (_ == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
528
529
  i && (_ == "offset" || _ == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
529
530
  s && (_ == "buffer" || _ == "byteLength" || _ == "byteOffset") || // Skip index properties.
530
- Sl(_, l))) && a.push(_);
531
+ Ll(_, l))) && a.push(_);
531
532
  return a;
532
533
  }
533
534
  function Qs(e, t) {
@@ -535,63 +536,63 @@ function Qs(e, t) {
535
536
  return e(t(n));
536
537
  };
537
538
  }
538
- var fc = Qs(Object.keys, Object), hc = Object.prototype, gc = hc.hasOwnProperty;
539
- function Tc(e) {
539
+ var hc = Qs(Object.keys, Object), gc = Object.prototype, Tc = gc.hasOwnProperty;
540
+ function mc(e) {
540
541
  if (!ai(e))
541
- return fc(e);
542
+ return hc(e);
542
543
  var t = [];
543
544
  for (var n in Object(e))
544
- gc.call(e, n) && n != "constructor" && t.push(n);
545
+ Tc.call(e, n) && n != "constructor" && t.push(n);
545
546
  return t;
546
547
  }
547
548
  function ci(e) {
548
- return Xs(e) ? Zs(e) : Tc(e);
549
+ return Xs(e) ? Zs(e) : mc(e);
549
550
  }
550
- function mc(e) {
551
+ function Ec(e) {
551
552
  var t = [];
552
553
  if (e != null)
553
554
  for (var n in Object(e))
554
555
  t.push(n);
555
556
  return t;
556
557
  }
557
- var Ec = Object.prototype, bc = Ec.hasOwnProperty;
558
- function vc(e) {
559
- if (!hn(e))
560
- return mc(e);
558
+ var bc = Object.prototype, vc = bc.hasOwnProperty;
559
+ function Ac(e) {
560
+ if (!gn(e))
561
+ return Ec(e);
561
562
  var t = ai(e), n = [];
562
563
  for (var o in e)
563
- o == "constructor" && (t || !bc.call(e, o)) || n.push(o);
564
+ o == "constructor" && (t || !vc.call(e, o)) || n.push(o);
564
565
  return n;
565
566
  }
566
567
  function ui(e) {
567
- return Xs(e) ? Zs(e, !0) : vc(e);
568
+ return Xs(e) ? Zs(e, !0) : Ac(e);
568
569
  }
569
- var ln = Lt(Object, "create");
570
- function Ac() {
571
- this.__data__ = ln ? ln(null) : {}, this.size = 0;
570
+ var cn = Lt(Object, "create");
571
+ function Oc() {
572
+ this.__data__ = cn ? cn(null) : {}, this.size = 0;
572
573
  }
573
- function Oc(e) {
574
+ function yc(e) {
574
575
  var t = this.has(e) && delete this.__data__[e];
575
576
  return this.size -= t ? 1 : 0, t;
576
577
  }
577
- var yc = "__lodash_hash_undefined__", Ic = Object.prototype, Cc = Ic.hasOwnProperty;
578
- function Sc(e) {
578
+ var Ic = "__lodash_hash_undefined__", Cc = Object.prototype, Sc = Cc.hasOwnProperty;
579
+ function Lc(e) {
579
580
  var t = this.__data__;
580
- if (ln) {
581
+ if (cn) {
581
582
  var n = t[e];
582
- return n === yc ? void 0 : n;
583
+ return n === Ic ? void 0 : n;
583
584
  }
584
- return Cc.call(t, e) ? t[e] : void 0;
585
+ return Sc.call(t, e) ? t[e] : void 0;
585
586
  }
586
- var Lc = Object.prototype, Nc = Lc.hasOwnProperty;
587
- function Bc(e) {
587
+ var Nc = Object.prototype, Bc = Nc.hasOwnProperty;
588
+ function kc(e) {
588
589
  var t = this.__data__;
589
- return ln ? t[e] !== void 0 : Nc.call(t, e);
590
+ return cn ? t[e] !== void 0 : Bc.call(t, e);
590
591
  }
591
- var kc = "__lodash_hash_undefined__";
592
- function Rc(e, t) {
592
+ var Rc = "__lodash_hash_undefined__";
593
+ function Mc(e, t) {
593
594
  var n = this.__data__;
594
- return this.size += this.has(e) ? 0 : 1, n[e] = ln && t === void 0 ? kc : t, this;
595
+ return this.size += this.has(e) ? 0 : 1, n[e] = cn && t === void 0 ? Rc : t, this;
595
596
  }
596
597
  function yt(e) {
597
598
  var t = -1, n = e == null ? 0 : e.length;
@@ -600,12 +601,12 @@ function yt(e) {
600
601
  this.set(o[0], o[1]);
601
602
  }
602
603
  }
603
- yt.prototype.clear = Ac;
604
- yt.prototype.delete = Oc;
605
- yt.prototype.get = Sc;
606
- yt.prototype.has = Bc;
607
- yt.prototype.set = Rc;
608
- function Mc() {
604
+ yt.prototype.clear = Oc;
605
+ yt.prototype.delete = yc;
606
+ yt.prototype.get = Lc;
607
+ yt.prototype.has = kc;
608
+ yt.prototype.set = Mc;
609
+ function Dc() {
609
610
  this.__data__ = [], this.size = 0;
610
611
  }
611
612
  function ro(e, t) {
@@ -614,22 +615,22 @@ function ro(e, t) {
614
615
  return n;
615
616
  return -1;
616
617
  }
617
- var Dc = Array.prototype, xc = Dc.splice;
618
- function wc(e) {
618
+ var xc = Array.prototype, wc = xc.splice;
619
+ function Pc(e) {
619
620
  var t = this.__data__, n = ro(t, e);
620
621
  if (n < 0)
621
622
  return !1;
622
623
  var o = t.length - 1;
623
- return n == o ? t.pop() : xc.call(t, n, 1), --this.size, !0;
624
+ return n == o ? t.pop() : wc.call(t, n, 1), --this.size, !0;
624
625
  }
625
- function Pc(e) {
626
+ function Uc(e) {
626
627
  var t = this.__data__, n = ro(t, e);
627
628
  return n < 0 ? void 0 : t[n][1];
628
629
  }
629
- function Uc(e) {
630
+ function Vc(e) {
630
631
  return ro(this.__data__, e) > -1;
631
632
  }
632
- function Vc(e, t) {
633
+ function Fc(e, t) {
633
634
  var n = this.__data__, o = ro(n, e);
634
635
  return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
635
636
  }
@@ -640,38 +641,38 @@ function nt(e) {
640
641
  this.set(o[0], o[1]);
641
642
  }
642
643
  }
643
- nt.prototype.clear = Mc;
644
- nt.prototype.delete = wc;
645
- nt.prototype.get = Pc;
646
- nt.prototype.has = Uc;
647
- nt.prototype.set = Vc;
648
- var cn = Lt(We, "Map");
649
- function Fc() {
644
+ nt.prototype.clear = Dc;
645
+ nt.prototype.delete = Pc;
646
+ nt.prototype.get = Uc;
647
+ nt.prototype.has = Vc;
648
+ nt.prototype.set = Fc;
649
+ var un = Lt(We, "Map");
650
+ function Yc() {
650
651
  this.size = 0, this.__data__ = {
651
652
  hash: new yt(),
652
- map: new (cn || nt)(),
653
+ map: new (un || nt)(),
653
654
  string: new yt()
654
655
  };
655
656
  }
656
- function Yc(e) {
657
+ function Kc(e) {
657
658
  var t = typeof e;
658
659
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
659
660
  }
660
661
  function ao(e, t) {
661
662
  var n = e.__data__;
662
- return Yc(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
663
+ return Kc(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
663
664
  }
664
- function Kc(e) {
665
+ function Hc(e) {
665
666
  var t = ao(this, e).delete(e);
666
667
  return this.size -= t ? 1 : 0, t;
667
668
  }
668
- function Hc(e) {
669
+ function $c(e) {
669
670
  return ao(this, e).get(e);
670
671
  }
671
- function $c(e) {
672
+ function Gc(e) {
672
673
  return ao(this, e).has(e);
673
674
  }
674
- function Gc(e, t) {
675
+ function jc(e, t) {
675
676
  var n = ao(this, e), o = n.size;
676
677
  return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
677
678
  }
@@ -682,36 +683,36 @@ function Nt(e) {
682
683
  this.set(o[0], o[1]);
683
684
  }
684
685
  }
685
- Nt.prototype.clear = Fc;
686
- Nt.prototype.delete = Kc;
687
- Nt.prototype.get = Hc;
688
- Nt.prototype.has = $c;
689
- Nt.prototype.set = Gc;
686
+ Nt.prototype.clear = Yc;
687
+ Nt.prototype.delete = Hc;
688
+ Nt.prototype.get = $c;
689
+ Nt.prototype.has = Gc;
690
+ Nt.prototype.set = jc;
690
691
  function er(e, t) {
691
692
  for (var n = -1, o = t.length, i = e.length; ++n < o; )
692
693
  e[i + n] = t[n];
693
694
  return e;
694
695
  }
695
696
  var tr = Qs(Object.getPrototypeOf, Object);
696
- function jc() {
697
+ function Xc() {
697
698
  this.__data__ = new nt(), this.size = 0;
698
699
  }
699
- function Xc(e) {
700
+ function Wc(e) {
700
701
  var t = this.__data__, n = t.delete(e);
701
702
  return this.size = t.size, n;
702
703
  }
703
- function Wc(e) {
704
+ function zc(e) {
704
705
  return this.__data__.get(e);
705
706
  }
706
- function zc(e) {
707
+ function Jc(e) {
707
708
  return this.__data__.has(e);
708
709
  }
709
- var Jc = 200;
710
- function qc(e, t) {
710
+ var qc = 200;
711
+ function Zc(e, t) {
711
712
  var n = this.__data__;
712
713
  if (n instanceof nt) {
713
714
  var o = n.__data__;
714
- if (!cn || o.length < Jc - 1)
715
+ if (!un || o.length < qc - 1)
715
716
  return o.push([e, t]), this.size = ++n.size, this;
716
717
  n = this.__data__ = new Nt(o);
717
718
  }
@@ -721,25 +722,25 @@ function Ze(e) {
721
722
  var t = this.__data__ = new nt(e);
722
723
  this.size = t.size;
723
724
  }
724
- Ze.prototype.clear = jc;
725
- Ze.prototype.delete = Xc;
726
- Ze.prototype.get = Wc;
727
- Ze.prototype.has = zc;
728
- Ze.prototype.set = qc;
729
- function Zc(e, t) {
725
+ Ze.prototype.clear = Xc;
726
+ Ze.prototype.delete = Wc;
727
+ Ze.prototype.get = zc;
728
+ Ze.prototype.has = Jc;
729
+ Ze.prototype.set = Zc;
730
+ function Qc(e, t) {
730
731
  return e && so(t, ci(t), e);
731
732
  }
732
- function Qc(e, t) {
733
+ function eu(e, t) {
733
734
  return e && so(t, ui(t), e);
734
735
  }
735
- var nr = typeof exports == "object" && exports && !exports.nodeType && exports, Vi = nr && typeof module == "object" && module && !module.nodeType && module, eu = Vi && Vi.exports === nr, Fi = eu ? We.Buffer : void 0, Yi = Fi ? Fi.allocUnsafe : void 0;
736
- function tu(e, t) {
736
+ var nr = typeof exports == "object" && exports && !exports.nodeType && exports, Vi = nr && typeof module == "object" && module && !module.nodeType && module, tu = Vi && Vi.exports === nr, Fi = tu ? We.Buffer : void 0, Yi = Fi ? Fi.allocUnsafe : void 0;
737
+ function nu(e, t) {
737
738
  if (t)
738
739
  return e.slice();
739
740
  var n = e.length, o = Yi ? Yi(n) : new e.constructor(n);
740
741
  return e.copy(o), o;
741
742
  }
742
- function nu(e, t) {
743
+ function ou(e, t) {
743
744
  for (var n = -1, o = e == null ? 0 : e.length, i = 0, s = []; ++n < o; ) {
744
745
  var r = e[n];
745
746
  t(r, n, e) && (s[i++] = r);
@@ -749,89 +750,88 @@ function nu(e, t) {
749
750
  function or() {
750
751
  return [];
751
752
  }
752
- var ou = Object.prototype, iu = ou.propertyIsEnumerable, Ki = Object.getOwnPropertySymbols, _i = Ki ? function(e) {
753
- return e == null ? [] : (e = Object(e), nu(Ki(e), function(t) {
754
- return iu.call(e, t);
753
+ var iu = Object.prototype, su = iu.propertyIsEnumerable, Ki = Object.getOwnPropertySymbols, _i = Ki ? function(e) {
754
+ return e == null ? [] : (e = Object(e), ou(Ki(e), function(t) {
755
+ return su.call(e, t);
755
756
  }));
756
757
  } : or;
757
- function su(e, t) {
758
+ function ru(e, t) {
758
759
  return so(e, _i(e), t);
759
760
  }
760
- var ru = Object.getOwnPropertySymbols, ir = ru ? function(e) {
761
+ var au = Object.getOwnPropertySymbols, ir = au ? function(e) {
761
762
  for (var t = []; e; )
762
763
  er(t, _i(e)), e = tr(e);
763
764
  return t;
764
765
  } : or;
765
- function au(e, t) {
766
+ function lu(e, t) {
766
767
  return so(e, ir(e), t);
767
768
  }
768
769
  function sr(e, t, n) {
769
770
  var o = t(e);
770
- return an(e) ? o : er(o, n(e));
771
+ return ln(e) ? o : er(o, n(e));
771
772
  }
772
773
  function Go(e) {
773
774
  return sr(e, ci, _i);
774
775
  }
775
- function lu(e) {
776
+ function cu(e) {
776
777
  return sr(e, ui, ir);
777
778
  }
778
- var jo = Lt(We, "DataView"), Xo = Lt(We, "Promise"), Wo = Lt(We, "Set"), Hi = "[object Map]", cu = "[object Object]", $i = "[object Promise]", Gi = "[object Set]", ji = "[object WeakMap]", Xi = "[object DataView]", uu = St(jo), _u = St(cn), pu = St(Xo), du = St(Wo), fu = St($o), Pe = fn;
779
- (jo && Pe(new jo(new ArrayBuffer(1))) != Xi || cn && Pe(new cn()) != Hi || Xo && Pe(Xo.resolve()) != $i || Wo && Pe(new Wo()) != Gi || $o && Pe(new $o()) != ji) && (Pe = function(e) {
780
- var t = fn(e), n = t == cu ? e.constructor : void 0, o = n ? St(n) : "";
779
+ var jo = Lt(We, "DataView"), Xo = Lt(We, "Promise"), Wo = Lt(We, "Set"), Hi = "[object Map]", uu = "[object Object]", $i = "[object Promise]", Gi = "[object Set]", ji = "[object WeakMap]", Xi = "[object DataView]", _u = St(jo), pu = St(un), du = St(Xo), fu = St(Wo), hu = St($o), Pe = hn;
780
+ (jo && Pe(new jo(new ArrayBuffer(1))) != Xi || un && Pe(new un()) != Hi || Xo && Pe(Xo.resolve()) != $i || Wo && Pe(new Wo()) != Gi || $o && Pe(new $o()) != ji) && (Pe = function(e) {
781
+ var t = hn(e), n = t == uu ? e.constructor : void 0, o = n ? St(n) : "";
781
782
  if (o)
782
783
  switch (o) {
783
- case uu:
784
- return Xi;
785
784
  case _u:
786
- return Hi;
785
+ return Xi;
787
786
  case pu:
788
- return $i;
787
+ return Hi;
789
788
  case du:
790
- return Gi;
789
+ return $i;
791
790
  case fu:
791
+ return Gi;
792
+ case hu:
792
793
  return ji;
793
794
  }
794
795
  return t;
795
796
  });
796
- var hu = Object.prototype, gu = hu.hasOwnProperty;
797
- function Tu(e) {
797
+ var gu = Object.prototype, Tu = gu.hasOwnProperty;
798
+ function mu(e) {
798
799
  var t = e.length, n = new e.constructor(t);
799
- return t && typeof e[0] == "string" && gu.call(e, "index") && (n.index = e.index, n.input = e.input), n;
800
+ return t && typeof e[0] == "string" && Tu.call(e, "index") && (n.index = e.index, n.input = e.input), n;
800
801
  }
801
802
  var Hn = We.Uint8Array;
802
803
  function pi(e) {
803
804
  var t = new e.constructor(e.byteLength);
804
805
  return new Hn(t).set(new Hn(e)), t;
805
806
  }
806
- function mu(e, t) {
807
+ function Eu(e, t) {
807
808
  var n = t ? pi(e.buffer) : e.buffer;
808
809
  return new e.constructor(n, e.byteOffset, e.byteLength);
809
810
  }
810
- var Eu = /\w*$/;
811
- function bu(e) {
812
- var t = new e.constructor(e.source, Eu.exec(e));
811
+ var bu = /\w*$/;
812
+ function vu(e) {
813
+ var t = new e.constructor(e.source, bu.exec(e));
813
814
  return t.lastIndex = e.lastIndex, t;
814
815
  }
815
816
  var Wi = dt ? dt.prototype : void 0, zi = Wi ? Wi.valueOf : void 0;
816
- function vu(e) {
817
+ function Au(e) {
817
818
  return zi ? Object(zi.call(e)) : {};
818
819
  }
819
- function Au(e, t) {
820
+ function Ou(e, t) {
820
821
  var n = t ? pi(e.buffer) : e.buffer;
821
822
  return new e.constructor(n, e.byteOffset, e.length);
822
823
  }
823
- var Ou = "[object Boolean]", yu = "[object Date]", Iu = "[object Map]", Cu = "[object Number]", Su = "[object RegExp]", Lu = "[object Set]", Nu = "[object String]", Bu = "[object Symbol]", ku = "[object ArrayBuffer]", Ru = "[object DataView]", Mu = "[object Float32Array]", Du = "[object Float64Array]", xu = "[object Int8Array]", wu = "[object Int16Array]", Pu = "[object Int32Array]", Uu = "[object Uint8Array]", Vu = "[object Uint8ClampedArray]", Fu = "[object Uint16Array]", Yu = "[object Uint32Array]";
824
- function Ku(e, t, n) {
824
+ var yu = "[object Boolean]", Iu = "[object Date]", Cu = "[object Map]", Su = "[object Number]", Lu = "[object RegExp]", Nu = "[object Set]", Bu = "[object String]", ku = "[object Symbol]", Ru = "[object ArrayBuffer]", Mu = "[object DataView]", Du = "[object Float32Array]", xu = "[object Float64Array]", wu = "[object Int8Array]", Pu = "[object Int16Array]", Uu = "[object Int32Array]", Vu = "[object Uint8Array]", Fu = "[object Uint8ClampedArray]", Yu = "[object Uint16Array]", Ku = "[object Uint32Array]";
825
+ function Hu(e, t, n) {
825
826
  var o = e.constructor;
826
827
  switch (t) {
827
- case ku:
828
+ case Ru:
828
829
  return pi(e);
829
- case Ou:
830
830
  case yu:
831
+ case Iu:
831
832
  return new o(+e);
832
- case Ru:
833
- return mu(e, n);
834
833
  case Mu:
834
+ return Eu(e, n);
835
835
  case Du:
836
836
  case xu:
837
837
  case wu:
@@ -840,80 +840,81 @@ function Ku(e, t, n) {
840
840
  case Vu:
841
841
  case Fu:
842
842
  case Yu:
843
- return Au(e, n);
844
- case Iu:
845
- return new o();
843
+ case Ku:
844
+ return Ou(e, n);
846
845
  case Cu:
847
- case Nu:
848
- return new o(e);
849
- case Su:
850
- return bu(e);
851
- case Lu:
852
846
  return new o();
847
+ case Su:
853
848
  case Bu:
849
+ return new o(e);
850
+ case Lu:
854
851
  return vu(e);
852
+ case Nu:
853
+ return new o();
854
+ case ku:
855
+ return Au(e);
855
856
  }
856
857
  }
857
- function Hu(e) {
858
- return typeof e.constructor == "function" && !ai(e) ? Al(tr(e)) : {};
858
+ function $u(e) {
859
+ return typeof e.constructor == "function" && !ai(e) ? Ol(tr(e)) : {};
859
860
  }
860
- var $u = "[object Map]";
861
- function Gu(e) {
862
- return Ot(e) && Pe(e) == $u;
861
+ var Gu = "[object Map]";
862
+ function ju(e) {
863
+ return Ot(e) && Pe(e) == Gu;
863
864
  }
864
- var Ji = Ht && Ht.isMap, ju = Ji ? li(Ji) : Gu, Xu = "[object Set]";
865
- function Wu(e) {
866
- return Ot(e) && Pe(e) == Xu;
865
+ var Ji = Ht && Ht.isMap, Xu = Ji ? li(Ji) : ju, Wu = "[object Set]";
866
+ function zu(e) {
867
+ return Ot(e) && Pe(e) == Wu;
867
868
  }
868
- var qi = Ht && Ht.isSet, zu = qi ? li(qi) : Wu, Ju = 1, qu = 2, Zu = 4, rr = "[object Arguments]", Qu = "[object Array]", e_ = "[object Boolean]", t_ = "[object Date]", n_ = "[object Error]", ar = "[object Function]", o_ = "[object GeneratorFunction]", i_ = "[object Map]", s_ = "[object Number]", lr = "[object Object]", r_ = "[object RegExp]", a_ = "[object Set]", l_ = "[object String]", c_ = "[object Symbol]", u_ = "[object WeakMap]", __ = "[object ArrayBuffer]", p_ = "[object DataView]", d_ = "[object Float32Array]", f_ = "[object Float64Array]", h_ = "[object Int8Array]", g_ = "[object Int16Array]", T_ = "[object Int32Array]", m_ = "[object Uint8Array]", E_ = "[object Uint8ClampedArray]", b_ = "[object Uint16Array]", v_ = "[object Uint32Array]", q = {};
869
- q[rr] = q[Qu] = q[__] = q[p_] = q[e_] = q[t_] = q[d_] = q[f_] = q[h_] = q[g_] = q[T_] = q[i_] = q[s_] = q[lr] = q[r_] = q[a_] = q[l_] = q[c_] = q[m_] = q[E_] = q[b_] = q[v_] = !0;
870
- q[n_] = q[ar] = q[u_] = !1;
869
+ var qi = Ht && Ht.isSet, Ju = qi ? li(qi) : zu, qu = 1, Zu = 2, Qu = 4, rr = "[object Arguments]", e_ = "[object Array]", t_ = "[object Boolean]", n_ = "[object Date]", o_ = "[object Error]", ar = "[object Function]", i_ = "[object GeneratorFunction]", s_ = "[object Map]", r_ = "[object Number]", lr = "[object Object]", a_ = "[object RegExp]", l_ = "[object Set]", c_ = "[object String]", u_ = "[object Symbol]", __ = "[object WeakMap]", p_ = "[object ArrayBuffer]", d_ = "[object DataView]", f_ = "[object Float32Array]", h_ = "[object Float64Array]", g_ = "[object Int8Array]", T_ = "[object Int16Array]", m_ = "[object Int32Array]", E_ = "[object Uint8Array]", b_ = "[object Uint8ClampedArray]", v_ = "[object Uint16Array]", A_ = "[object Uint32Array]", q = {};
870
+ q[rr] = q[e_] = q[p_] = q[d_] = q[t_] = q[n_] = q[f_] = q[h_] = q[g_] = q[T_] = q[m_] = q[s_] = q[r_] = q[lr] = q[a_] = q[l_] = q[c_] = q[u_] = q[E_] = q[b_] = q[v_] = q[A_] = !0;
871
+ q[o_] = q[ar] = q[__] = !1;
871
872
  function Mn(e, t, n, o, i, s) {
872
- var r, a = t & Ju, l = t & qu, _ = t & Zu;
873
+ var r, a = t & qu, l = t & Zu, _ = t & Qu;
873
874
  if (r !== void 0)
874
875
  return r;
875
- if (!hn(e))
876
+ if (!gn(e))
876
877
  return e;
877
- var d = an(e);
878
+ var d = ln(e);
878
879
  if (d) {
879
- if (r = Tu(e), !a)
880
- return Ol(e, r);
880
+ if (r = mu(e), !a)
881
+ return yl(e, r);
881
882
  } else {
882
- var p = Pe(e), f = p == ar || p == o_;
883
+ var p = Pe(e), f = p == ar || p == i_;
883
884
  if (Kn(e))
884
- return tu(e, a);
885
+ return nu(e, a);
885
886
  if (p == lr || p == rr || f && !i) {
886
- if (r = l || f ? {} : Hu(e), !a)
887
- return l ? au(e, Qc(r, e)) : su(e, Zc(r, e));
887
+ if (r = l || f ? {} : $u(e), !a)
888
+ return l ? lu(e, eu(r, e)) : ru(e, Qc(r, e));
888
889
  } else {
889
890
  if (!q[p])
890
891
  return i ? e : {};
891
- r = Ku(e, p, a);
892
+ r = Hu(e, p, a);
892
893
  }
893
894
  }
894
895
  s || (s = new Ze());
895
896
  var g = s.get(e);
896
897
  if (g)
897
898
  return g;
898
- s.set(e, r), zu(e) ? e.forEach(function(I) {
899
+ s.set(e, r), Ju(e) ? e.forEach(function(I) {
899
900
  r.add(Mn(I, t, n, I, e, s));
900
- }) : ju(e) && e.forEach(function(I, C) {
901
+ }) : Xu(e) && e.forEach(function(I, C) {
901
902
  r.set(C, Mn(I, t, n, C, e, s));
902
903
  });
903
- var v = _ ? l ? lu : Go : l ? ui : ci, E = d ? void 0 : v(e);
904
- return yl(E || e, function(I, C) {
904
+ var v = _ ? l ? cu : Go : l ? ui : ci, E = d ? void 0 : v(e);
905
+ return Il(E || e, function(I, C) {
905
906
  E && (C = I, I = e[C]), Gs(r, C, Mn(I, t, n, C, e, s));
906
907
  }), r;
907
908
  }
908
- var A_ = 1, O_ = 4;
909
- function y_(e) {
910
- return Mn(e, A_ | O_);
911
- }
912
- var I_ = "__lodash_hash_undefined__";
913
- function C_(e) {
914
- return this.__data__.set(e, I_), this;
909
+ var O_ = 1, y_ = 4;
910
+ function I_(e) {
911
+ return Mn(e, O_ | y_);
915
912
  }
913
+ var C_ = "__lodash_hash_undefined__";
916
914
  function S_(e) {
915
+ return this.__data__.set(e, C_), this;
916
+ }
917
+ function L_(e) {
917
918
  return this.__data__.has(e);
918
919
  }
919
920
  function $n(e) {
@@ -921,26 +922,26 @@ function $n(e) {
921
922
  for (this.__data__ = new Nt(); ++t < n; )
922
923
  this.add(e[t]);
923
924
  }
924
- $n.prototype.add = $n.prototype.push = C_;
925
- $n.prototype.has = S_;
926
- function L_(e, t) {
925
+ $n.prototype.add = $n.prototype.push = S_;
926
+ $n.prototype.has = L_;
927
+ function N_(e, t) {
927
928
  for (var n = -1, o = e == null ? 0 : e.length; ++n < o; )
928
929
  if (t(e[n], n, e))
929
930
  return !0;
930
931
  return !1;
931
932
  }
932
- function N_(e, t) {
933
+ function B_(e, t) {
933
934
  return e.has(t);
934
935
  }
935
- var B_ = 1, k_ = 2;
936
+ var k_ = 1, R_ = 2;
936
937
  function cr(e, t, n, o, i, s) {
937
- var r = n & B_, a = e.length, l = t.length;
938
+ var r = n & k_, a = e.length, l = t.length;
938
939
  if (a != l && !(r && l > a))
939
940
  return !1;
940
941
  var _ = s.get(e), d = s.get(t);
941
942
  if (_ && d)
942
943
  return _ == t && d == e;
943
- var p = -1, f = !0, g = n & k_ ? new $n() : void 0;
944
+ var p = -1, f = !0, g = n & R_ ? new $n() : void 0;
944
945
  for (s.set(e, t), s.set(t, e); ++p < a; ) {
945
946
  var v = e[p], E = t[p];
946
947
  if (o)
@@ -952,8 +953,8 @@ function cr(e, t, n, o, i, s) {
952
953
  break;
953
954
  }
954
955
  if (g) {
955
- if (!L_(t, function(C, U) {
956
- if (!N_(g, U) && (v === C || i(v, C, n, o, s)))
956
+ if (!N_(t, function(C, U) {
957
+ if (!B_(g, U) && (v === C || i(v, C, n, o, s)))
957
958
  return g.push(U);
958
959
  })) {
959
960
  f = !1;
@@ -966,62 +967,62 @@ function cr(e, t, n, o, i, s) {
966
967
  }
967
968
  return s.delete(e), s.delete(t), f;
968
969
  }
969
- function R_(e) {
970
+ function M_(e) {
970
971
  var t = -1, n = Array(e.size);
971
972
  return e.forEach(function(o, i) {
972
973
  n[++t] = [i, o];
973
974
  }), n;
974
975
  }
975
- function M_(e) {
976
+ function D_(e) {
976
977
  var t = -1, n = Array(e.size);
977
978
  return e.forEach(function(o) {
978
979
  n[++t] = o;
979
980
  }), n;
980
981
  }
981
- var D_ = 1, x_ = 2, w_ = "[object Boolean]", P_ = "[object Date]", U_ = "[object Error]", V_ = "[object Map]", F_ = "[object Number]", Y_ = "[object RegExp]", K_ = "[object Set]", H_ = "[object String]", $_ = "[object Symbol]", G_ = "[object ArrayBuffer]", j_ = "[object DataView]", Zi = dt ? dt.prototype : void 0, No = Zi ? Zi.valueOf : void 0;
982
- function X_(e, t, n, o, i, s, r) {
982
+ var x_ = 1, w_ = 2, P_ = "[object Boolean]", U_ = "[object Date]", V_ = "[object Error]", F_ = "[object Map]", Y_ = "[object Number]", K_ = "[object RegExp]", H_ = "[object Set]", $_ = "[object String]", G_ = "[object Symbol]", j_ = "[object ArrayBuffer]", X_ = "[object DataView]", Zi = dt ? dt.prototype : void 0, No = Zi ? Zi.valueOf : void 0;
983
+ function W_(e, t, n, o, i, s, r) {
983
984
  switch (n) {
984
- case j_:
985
+ case X_:
985
986
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
986
987
  return !1;
987
988
  e = e.buffer, t = t.buffer;
988
- case G_:
989
+ case j_:
989
990
  return !(e.byteLength != t.byteLength || !s(new Hn(e), new Hn(t)));
990
- case w_:
991
991
  case P_:
992
- case F_:
993
- return ri(+e, +t);
994
992
  case U_:
995
- return e.name == t.name && e.message == t.message;
996
993
  case Y_:
997
- case H_:
998
- return e == t + "";
994
+ return ri(+e, +t);
999
995
  case V_:
1000
- var a = R_;
996
+ return e.name == t.name && e.message == t.message;
1001
997
  case K_:
1002
- var l = o & D_;
1003
- if (a || (a = M_), e.size != t.size && !l)
998
+ case $_:
999
+ return e == t + "";
1000
+ case F_:
1001
+ var a = M_;
1002
+ case H_:
1003
+ var l = o & x_;
1004
+ if (a || (a = D_), e.size != t.size && !l)
1004
1005
  return !1;
1005
1006
  var _ = r.get(e);
1006
1007
  if (_)
1007
1008
  return _ == t;
1008
- o |= x_, r.set(e, t);
1009
+ o |= w_, r.set(e, t);
1009
1010
  var d = cr(a(e), a(t), o, i, s, r);
1010
1011
  return r.delete(e), d;
1011
- case $_:
1012
+ case G_:
1012
1013
  if (No)
1013
1014
  return No.call(e) == No.call(t);
1014
1015
  }
1015
1016
  return !1;
1016
1017
  }
1017
- var W_ = 1, z_ = Object.prototype, J_ = z_.hasOwnProperty;
1018
- function q_(e, t, n, o, i, s) {
1019
- var r = n & W_, a = Go(e), l = a.length, _ = Go(t), d = _.length;
1018
+ var z_ = 1, J_ = Object.prototype, q_ = J_.hasOwnProperty;
1019
+ function Z_(e, t, n, o, i, s) {
1020
+ var r = n & z_, a = Go(e), l = a.length, _ = Go(t), d = _.length;
1020
1021
  if (l != d && !r)
1021
1022
  return !1;
1022
1023
  for (var p = l; p--; ) {
1023
1024
  var f = a[p];
1024
- if (!(r ? f in t : J_.call(t, f)))
1025
+ if (!(r ? f in t : q_.call(t, f)))
1025
1026
  return !1;
1026
1027
  }
1027
1028
  var g = s.get(e), v = s.get(t);
@@ -1046,9 +1047,9 @@ function q_(e, t, n, o, i, s) {
1046
1047
  }
1047
1048
  return s.delete(e), s.delete(t), E;
1048
1049
  }
1049
- var Z_ = 1, Qi = "[object Arguments]", es = "[object Array]", In = "[object Object]", Q_ = Object.prototype, ts = Q_.hasOwnProperty;
1050
- function ep(e, t, n, o, i, s) {
1051
- var r = an(e), a = an(t), l = r ? es : Pe(e), _ = a ? es : Pe(t);
1050
+ var Q_ = 1, Qi = "[object Arguments]", es = "[object Array]", In = "[object Object]", ep = Object.prototype, ts = ep.hasOwnProperty;
1051
+ function tp(e, t, n, o, i, s) {
1052
+ var r = ln(e), a = ln(t), l = r ? es : Pe(e), _ = a ? es : Pe(t);
1052
1053
  l = l == Qi ? In : l, _ = _ == Qi ? In : _;
1053
1054
  var d = l == In, p = _ == In, f = l == _;
1054
1055
  if (f && Kn(e)) {
@@ -1057,20 +1058,20 @@ function ep(e, t, n, o, i, s) {
1057
1058
  r = !0, d = !1;
1058
1059
  }
1059
1060
  if (f && !d)
1060
- return s || (s = new Ze()), r || qs(e) ? cr(e, t, n, o, i, s) : X_(e, t, l, n, o, i, s);
1061
- if (!(n & Z_)) {
1061
+ return s || (s = new Ze()), r || qs(e) ? cr(e, t, n, o, i, s) : W_(e, t, l, n, o, i, s);
1062
+ if (!(n & Q_)) {
1062
1063
  var g = d && ts.call(e, "__wrapped__"), v = p && ts.call(t, "__wrapped__");
1063
1064
  if (g || v) {
1064
1065
  var E = g ? e.value() : e, I = v ? t.value() : t;
1065
1066
  return s || (s = new Ze()), i(E, I, n, o, s);
1066
1067
  }
1067
1068
  }
1068
- return f ? (s || (s = new Ze()), q_(e, t, n, o, i, s)) : !1;
1069
+ return f ? (s || (s = new Ze()), Z_(e, t, n, o, i, s)) : !1;
1069
1070
  }
1070
1071
  function ur(e, t, n, o, i) {
1071
- return e === t ? !0 : e == null || t == null || !Ot(e) && !Ot(t) ? e !== e && t !== t : ep(e, t, n, o, ur, i);
1072
+ return e === t ? !0 : e == null || t == null || !Ot(e) && !Ot(t) ? e !== e && t !== t : tp(e, t, n, o, ur, i);
1072
1073
  }
1073
- function un(e, t) {
1074
+ function _n(e, t) {
1074
1075
  return ur(e, t);
1075
1076
  }
1076
1077
  const Le = function() {
@@ -1177,13 +1178,13 @@ function ns(e) {
1177
1178
  const { outputs: t } = Le.compute.activeFunc;
1178
1179
  return t.find((n) => n.id === e);
1179
1180
  }
1180
- function tp() {
1181
+ function np() {
1181
1182
  const e = [], { outputs: t } = Le.compute.activeFunc;
1182
1183
  return t.forEach(({ id: n, name: o }) => {
1183
1184
  e.push([o, n]);
1184
1185
  }), ht(e);
1185
1186
  }
1186
- const np = {
1187
+ const op = {
1187
1188
  init: function() {
1188
1189
  this.space = {
1189
1190
  id: "",
@@ -1284,27 +1285,27 @@ const np = {
1284
1285
  checkWarning_: function() {
1285
1286
  const e = _r(this.space.id);
1286
1287
  if (!e) {
1287
- this.setWarningText(x.WARN_SPACE_NOT_AVAILABLE);
1288
+ this.setWarningText(D.WARN_SPACE_NOT_AVAILABLE);
1288
1289
  return;
1289
1290
  }
1290
1291
  e.name !== this.space.name && (this.space.name = e.name);
1291
1292
  const t = dr(this.space.id, this.func.id);
1292
1293
  if (!t) {
1293
- this.setWarningText(x.WARN_FUNC_NOT_AVAILABLE);
1294
+ this.setWarningText(D.WARN_FUNC_NOT_AVAILABLE);
1294
1295
  return;
1295
1296
  }
1296
- if (!un(t.inputs, this.func.inputs)) {
1297
- this.setWarningText(x.WARN_FUNC_HAS_CHANGED);
1297
+ if (!_n(t.inputs, this.func.inputs)) {
1298
+ this.setWarningText(D.WARN_FUNC_HAS_CHANGED);
1298
1299
  return;
1299
1300
  }
1300
- if (!un(t.outputs, this.func.outputs)) {
1301
- this.setWarningText(x.WARN_FUNC_HAS_CHANGED);
1301
+ if (!_n(t.outputs, this.func.outputs)) {
1302
+ this.setWarningText(D.WARN_FUNC_HAS_CHANGED);
1302
1303
  return;
1303
1304
  }
1304
1305
  this.setWarningText(null);
1305
1306
  }
1306
1307
  };
1307
- $.call_func_v1 = np;
1308
+ $.call_func_v1 = op;
1308
1309
  c.forBlock.call_func_v1 = function(e) {
1309
1310
  const t = c.INDENT, n = c.quote_, o = e, i = n(o.space.id), s = n(o.func.id), r = [];
1310
1311
  for (let f = 0; f < o.func.inputs.length; f++)
@@ -1325,7 +1326,7 @@ c.forBlock.call_func_v1 = function(e) {
1325
1326
  }
1326
1327
  `;
1327
1328
  };
1328
- const op = {
1329
+ const ip = {
1329
1330
  init: function() {
1330
1331
  this.space = {
1331
1332
  id: "",
@@ -1423,27 +1424,27 @@ const op = {
1423
1424
  checkWarning_: function() {
1424
1425
  const e = _r(this.space.id);
1425
1426
  if (!e) {
1426
- this.setWarningText(x.WARN_SPACE_NOT_AVAILABLE);
1427
+ this.setWarningText(D.WARN_SPACE_NOT_AVAILABLE);
1427
1428
  return;
1428
1429
  }
1429
1430
  e.name !== this.space.name && (this.space.name = e.name);
1430
1431
  const t = dr(this.space.id, this.func.id);
1431
1432
  if (!t) {
1432
- this.setWarningText(x.WARN_FUNC_NOT_AVAILABLE);
1433
+ this.setWarningText(D.WARN_FUNC_NOT_AVAILABLE);
1433
1434
  return;
1434
1435
  }
1435
- if (!un(t.inputs, this.func.inputs)) {
1436
- this.setWarningText(x.WARN_FUNC_HAS_CHANGED);
1436
+ if (!_n(t.inputs, this.func.inputs)) {
1437
+ this.setWarningText(D.WARN_FUNC_HAS_CHANGED);
1437
1438
  return;
1438
1439
  }
1439
- if (!un(t.outputs, this.func.outputs)) {
1440
- this.setWarningText(x.WARN_FUNC_HAS_CHANGED);
1440
+ if (!_n(t.outputs, this.func.outputs)) {
1441
+ this.setWarningText(D.WARN_FUNC_HAS_CHANGED);
1441
1442
  return;
1442
1443
  }
1443
1444
  this.setWarningText(null);
1444
1445
  }
1445
1446
  };
1446
- $.call_func_internal_v1 = op;
1447
+ $.call_func_internal_v1 = ip;
1447
1448
  c.forBlock.call_func_internal_v1 = function(e) {
1448
1449
  const t = c.INDENT, n = c.quote_, o = e, i = n(o.space.id), s = n(o.func.id), r = [];
1449
1450
  for (let f = 0; f < o.func.inputs.length; f++)
@@ -1492,7 +1493,7 @@ c.forBlock.compute_debug_trace_v1 = function(e) {
1492
1493
  return `__debugTraceV1__(${c.valueToCode(e, "OBJECT", u.ATOMIC)});
1493
1494
  `;
1494
1495
  };
1495
- const ip = {
1496
+ const sp = {
1496
1497
  init: function() {
1497
1498
  this.func = {
1498
1499
  id: "",
@@ -1503,7 +1504,7 @@ const ip = {
1503
1504
  if (this.func.id !== "")
1504
1505
  return;
1505
1506
  const { id: e, inputs: t } = zo();
1506
- this.func.id = e, this.func.inputs = y_(t);
1507
+ this.func.id = e, this.func.inputs = I_(t);
1507
1508
  },
1508
1509
  saveExtraState: function() {
1509
1510
  return {
@@ -1537,14 +1538,14 @@ const ip = {
1537
1538
  },
1538
1539
  checkWarning_: function() {
1539
1540
  const { id: e, inputs: t } = zo();
1540
- if (this.func.id !== e && (this.func.id = e), !un(this.func.inputs, t)) {
1541
- this.setWarningText(x.WARN_FUNC_HAS_CHANGED);
1541
+ if (this.func.id !== e && (this.func.id = e), !_n(this.func.inputs, t)) {
1542
+ this.setWarningText(D.WARN_FUNC_HAS_CHANGED);
1542
1543
  return;
1543
1544
  }
1544
1545
  this.setWarningText(null);
1545
1546
  }
1546
1547
  };
1547
- $.func_entry_v1 = ip;
1548
+ $.func_entry_v1 = sp;
1548
1549
  c.forBlock.func_entry_v1 = function(e) {
1549
1550
  const t = e, n = c.statementToCode(t, "HANDLE"), o = [];
1550
1551
  for (let r = 0; r < t.func.inputs.length; r++) {
@@ -1556,7 +1557,7 @@ c.forBlock.func_entry_v1 = function(e) {
1556
1557
  }
1557
1558
  `;
1558
1559
  };
1559
- const sp = {
1560
+ const rp = {
1560
1561
  init: function() {
1561
1562
  this.output = {
1562
1563
  id: "",
@@ -1586,7 +1587,7 @@ const sp = {
1586
1587
  }, 0);
1587
1588
  },
1588
1589
  gencOutputOpts_: function() {
1589
- return tp();
1590
+ return np();
1590
1591
  },
1591
1592
  onchange: function(e) {
1592
1593
  if (e.type === W.BLOCK_CHANGE) {
@@ -1625,17 +1626,17 @@ const sp = {
1625
1626
  checkWarning_: function() {
1626
1627
  const e = ns(this.output.id);
1627
1628
  if (!e) {
1628
- this.setWarningText(x.WARN_FUNC_HAS_CHANGED);
1629
+ this.setWarningText(D.WARN_FUNC_HAS_CHANGED);
1629
1630
  return;
1630
1631
  }
1631
1632
  if (e.name !== this.output.name && (this.output.name = e.name), e.type !== this.output.type) {
1632
- this.setWarningText(x.WARN_FUNC_HAS_CHANGED);
1633
+ this.setWarningText(D.WARN_FUNC_HAS_CHANGED);
1633
1634
  return;
1634
1635
  }
1635
1636
  this.setWarningText(null);
1636
1637
  }
1637
1638
  };
1638
- $.set_func_output_v1 = sp;
1639
+ $.set_func_output_v1 = rp;
1639
1640
  c.forBlock.set_func_output_v1 = function(e) {
1640
1641
  const t = c.quote_, n = e, { id: o, type: i } = n.output;
1641
1642
  let s = c.valueToCode(n, "VALUE", u.ATOMIC);
@@ -1662,7 +1663,7 @@ c.forBlock.set_func_output_v1 = function(e) {
1662
1663
  return `__setFuncOutputV1__(${t(o)}, ${s});
1663
1664
  `;
1664
1665
  };
1665
- const rp = {
1666
+ const ap = {
1666
1667
  init: function() {
1667
1668
  this.appendDummyInput().appendField("%{BKY_DATA_V1_ADD_DATA_TITLE}"), this.setPreviousStatement(!0, null), this.setNextStatement(!0, null), this.setStyle("procedure_blocks"), this.setTooltip("%{BKY_DATA_V1_ADD_DATA_TOOLTIP}"), this.setHelpUrl("%{BKY_DATA_V1_ADD_DATA_HELPURL}");
1668
1669
  },
@@ -1685,7 +1686,7 @@ const rp = {
1685
1686
  ]);
1686
1687
  }
1687
1688
  };
1688
- $.add_data_v1 = rp;
1689
+ $.add_data_v1 = ap;
1689
1690
  c.forBlock.add_data_v1 = function(e) {
1690
1691
  const t = c.valueToCode(e, "TABLE", u.ATOMIC) || "null", n = c.statementToCode(e, "HANDLE");
1691
1692
  return `{
@@ -1698,7 +1699,7 @@ c.forBlock.add_data_v1 = function(e) {
1698
1699
  }
1699
1700
  `;
1700
1701
  };
1701
- function gn() {
1702
+ function jt() {
1702
1703
  const { spaces: e } = Le.data, t = [];
1703
1704
  for (const n in e) {
1704
1705
  const o = e[n];
@@ -1721,7 +1722,7 @@ function ft(e) {
1721
1722
  }
1722
1723
  function lo() {
1723
1724
  const e = [];
1724
- return gn().forEach((n) => {
1725
+ return jt().forEach((n) => {
1725
1726
  e.push([n.name, n.id]);
1726
1727
  }), ht(e);
1727
1728
  }
@@ -1760,7 +1761,7 @@ function co(e) {
1760
1761
  t.push([o.name, o.id]);
1761
1762
  }), ht(t);
1762
1763
  }
1763
- const ap = {
1764
+ const lp = {
1764
1765
  init: function() {
1765
1766
  this.space = {
1766
1767
  id: "",
@@ -1795,7 +1796,7 @@ const ap = {
1795
1796
  var r, a, l;
1796
1797
  if (this.space.id)
1797
1798
  return;
1798
- const e = (r = gn()) == null ? void 0 : r[0];
1799
+ const e = (r = jt()) == null ? void 0 : r[0];
1799
1800
  if (!e)
1800
1801
  return;
1801
1802
  this.space.id = e.id, this.space.name = e.name;
@@ -1887,25 +1888,25 @@ const ap = {
1887
1888
  checkWarning_: function() {
1888
1889
  const e = ft(this.space.id);
1889
1890
  if (!e) {
1890
- this.setWarningText(x.WARN_SPACE_NOT_AVAILABLE);
1891
+ this.setWarningText(D.WARN_SPACE_NOT_AVAILABLE);
1891
1892
  return;
1892
1893
  }
1893
1894
  e.name !== this.space.name && (this.space.name = e.name);
1894
1895
  const t = Te(this.space.id, this.table.id);
1895
1896
  if (!t) {
1896
- this.setWarningText(x.WARN_TABLE_NOT_AVAILABLE);
1897
+ this.setWarningText(D.WARN_TABLE_NOT_AVAILABLE);
1897
1898
  return;
1898
1899
  }
1899
1900
  if (t.name !== this.table.name && (this.table.name = t.name), !t.columns.find(
1900
1901
  (o) => o.name === this.column.name
1901
1902
  )) {
1902
- this.setWarningText(x.WARN_COLUMN_NOT_AVAILABLE);
1903
+ this.setWarningText(D.WARN_COLUMN_NOT_AVAILABLE);
1903
1904
  return;
1904
1905
  }
1905
1906
  this.setWarningText(null);
1906
1907
  }
1907
1908
  };
1908
- $.cond_atomic_v1 = ap;
1909
+ $.cond_atomic_v1 = lp;
1909
1910
  c.forBlock.cond_atomic_v1 = function(e) {
1910
1911
  const t = c.quote_, n = e.getFieldValue("COLUMN"), o = c.valueToCode(e, "VALUE", u.ATOMIC) || null, s = {
1911
1912
  EQ: "=",
@@ -1917,19 +1918,19 @@ c.forBlock.cond_atomic_v1 = function(e) {
1917
1918
  }[e.getFieldValue("OP")];
1918
1919
  return [`{ type: 'ATOMIC', key: ${t(n)}, value: ${o}, operator: ${t(s)} }`, u.ATOMIC];
1919
1920
  };
1920
- const lp = {
1921
+ const cp = {
1921
1922
  init: function() {
1922
1923
  this.appendDummyInput().appendField("%{BKY_DATA_LIST}"), this.appendStatementInput("STACK"), this.setStyle("object_blocks"), this.contextMenu = !1;
1923
1924
  }
1924
1925
  };
1925
- $.cond_logic_container_v1 = lp;
1926
- const cp = {
1926
+ $.cond_logic_container_v1 = cp;
1927
+ const up = {
1927
1928
  init: function() {
1928
1929
  this.appendDummyInput().appendField("%{BKY_DATA_ITEM}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("object_blocks"), this.contextMenu = !1;
1929
1930
  }
1930
1931
  };
1931
- $.cond_logic_item_v1 = cp;
1932
- const up = {
1932
+ $.cond_logic_item_v1 = up;
1933
+ const _p = {
1933
1934
  init: function() {
1934
1935
  this.itemCount_ = 1, this.appendValueInput("VALUE").setCheck("Condition").appendField(
1935
1936
  new be([
@@ -2005,7 +2006,7 @@ const up = {
2005
2006
  this.getInput("ADD" + e) || this.appendValueInput("ADD" + e).setCheck("Condition");
2006
2007
  }
2007
2008
  };
2008
- $.cond_logic_v1 = up;
2009
+ $.cond_logic_v1 = _p;
2009
2010
  c.forBlock.cond_logic_v1 = function(e) {
2010
2011
  const t = c.quote_, n = e, o = n.getFieldValue("TYPE"), i = [], s = c.valueToCode(n, "VALUE", u.ATOMIC) || null;
2011
2012
  i.push(s);
@@ -2016,7 +2017,7 @@ c.forBlock.cond_logic_v1 = function(e) {
2016
2017
  const r = JSON.stringify(i);
2017
2018
  return [`{ type: ${t(o)}, entries: ${r} }`, u.ATOMIC];
2018
2019
  };
2019
- const _p = {
2020
+ const pp = {
2020
2021
  init: function() {
2021
2022
  this.appendDummyInput().appendField("%{BKY_DATA_V1_DELETE_DATA_TITLE}"), this.setPreviousStatement(!0, null), this.setNextStatement(!0, null), this.setStyle("procedure_blocks"), this.setTooltip("%{BKY_DATA_V1_DELETE_DATA_TOOLTIP}"), this.setHelpUrl("%{BKY_DATA_V1_DELETE_DATA_HELPURL}");
2022
2023
  },
@@ -2038,7 +2039,7 @@ const _p = {
2038
2039
  ]);
2039
2040
  }
2040
2041
  };
2041
- $.delete_data_v1 = _p;
2042
+ $.delete_data_v1 = pp;
2042
2043
  c.forBlock.delete_data_v1 = function(e) {
2043
2044
  const t = c.valueToCode(e, "TABLE", u.ATOMIC) || "null", n = c.valueToCode(e, "CONDITION", u.ATOMIC) || "null", o = c.statementToCode(e, "HANDLE");
2044
2045
  return `{
@@ -2064,7 +2065,7 @@ O([
2064
2065
  style: "procedure_blocks"
2065
2066
  }
2066
2067
  ]);
2067
- const pp = {
2068
+ const dp = {
2068
2069
  init: function() {
2069
2070
  this.appendDummyInput().appendField("%{BKY_DATA_V1_QUERY_DATA_TITLE}"), this.setPreviousStatement(!0, null), this.setNextStatement(!0, null), this.setStyle("procedure_blocks"), this.setTooltip("%{BKY_DATA_V1_QUERY_DATA_TOOLTIP}"), this.setHelpUrl("%{BKY_DATA_V1_QUERY_DATA_HELPURL}");
2070
2071
  },
@@ -2100,7 +2101,7 @@ const pp = {
2100
2101
  ]);
2101
2102
  }
2102
2103
  };
2103
- $.query_data_v1 = pp;
2104
+ $.query_data_v1 = dp;
2104
2105
  c.forBlock.query_data_v1 = function(e) {
2105
2106
  const t = c.valueToCode(e, "TABLE", u.ATOMIC) || "null", n = c.valueToCode(e, "CONDITION", u.ATOMIC) || "null", o = c.valueToCode(e, "EXTRA", u.ATOMIC) || "null", i = c.statementToCode(e, "HANDLE");
2106
2107
  return `{
@@ -2114,19 +2115,19 @@ c.forBlock.query_data_v1 = function(e) {
2114
2115
  }
2115
2116
  `;
2116
2117
  };
2117
- const dp = {
2118
+ const fp = {
2118
2119
  init: function() {
2119
2120
  this.appendDummyInput().appendField("%{BKY_DATA_LIST}"), this.appendStatementInput("STACK"), this.setStyle("object_blocks"), this.contextMenu = !1;
2120
2121
  }
2121
2122
  };
2122
- $.select_column_container_v1 = dp;
2123
- const fp = {
2123
+ $.select_column_container_v1 = fp;
2124
+ const hp = {
2124
2125
  init: function() {
2125
2126
  this.appendDummyInput().appendField("%{BKY_DATA_ITEM}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("object_blocks"), this.contextMenu = !1;
2126
2127
  }
2127
2128
  };
2128
- $.select_column_item_v1 = fp;
2129
- const hp = {
2129
+ $.select_column_item_v1 = hp;
2130
+ const gp = {
2130
2131
  init: function() {
2131
2132
  this.space = {
2132
2133
  id: "",
@@ -2151,7 +2152,7 @@ const hp = {
2151
2152
  var i, s;
2152
2153
  if (this.space.id)
2153
2154
  return;
2154
- const e = (i = gn()) == null ? void 0 : i[0];
2155
+ const e = (i = jt()) == null ? void 0 : i[0];
2155
2156
  if (!e)
2156
2157
  return;
2157
2158
  this.space.id = e.id, this.space.name = e.name;
@@ -2294,27 +2295,27 @@ const hp = {
2294
2295
  checkWarning_: function() {
2295
2296
  const e = ft(this.space.id);
2296
2297
  if (!e) {
2297
- this.setWarningText(x.WARN_SPACE_NOT_AVAILABLE);
2298
+ this.setWarningText(D.WARN_SPACE_NOT_AVAILABLE);
2298
2299
  return;
2299
2300
  }
2300
2301
  e.name !== this.space.name && (this.space.name = e.name);
2301
2302
  const t = Te(this.space.id, this.table.id);
2302
2303
  if (!t) {
2303
- this.setWarningText(x.WARN_TABLE_NOT_AVAILABLE);
2304
+ this.setWarningText(D.WARN_TABLE_NOT_AVAILABLE);
2304
2305
  return;
2305
2306
  }
2306
2307
  t.name !== this.table.name && (this.table.name = t.name);
2307
2308
  for (let n = 0; n < this.itemCount_; n++) {
2308
2309
  const o = this.getFieldValue("COLUMN" + n);
2309
2310
  if (!t.columns.find((i) => i.name === o)) {
2310
- this.setWarningText(x.WARN_COLUMN_NOT_AVAILABLE);
2311
+ this.setWarningText(D.WARN_COLUMN_NOT_AVAILABLE);
2311
2312
  return;
2312
2313
  }
2313
2314
  }
2314
2315
  this.setWarningText(null);
2315
2316
  }
2316
2317
  };
2317
- $.select_column_v1 = hp;
2318
+ $.select_column_v1 = gp;
2318
2319
  c.forBlock.select_column_v1 = function(e) {
2319
2320
  const t = c.quote_, n = e, o = n.space.id, i = n.table.id, s = [];
2320
2321
  for (let l = 0; l < n.itemCount_; l++) {
@@ -2324,7 +2325,7 @@ c.forBlock.select_column_v1 = function(e) {
2324
2325
  const r = JSON.stringify(s);
2325
2326
  return [`{ spaceid: ${t(o)}, tableid: ${t(i)}, columns: ${r} }`, u.ATOMIC];
2326
2327
  };
2327
- const gp = {
2328
+ const Tp = {
2328
2329
  init: function() {
2329
2330
  this.space = {
2330
2331
  id: "",
@@ -2344,7 +2345,7 @@ const gp = {
2344
2345
  var i, s;
2345
2346
  if (this.space.id)
2346
2347
  return;
2347
- const e = (i = gn()) == null ? void 0 : i[0];
2348
+ const e = (i = jt()) == null ? void 0 : i[0];
2348
2349
  if (!e)
2349
2350
  return;
2350
2351
  this.space.id = e.id, this.space.name = e.name;
@@ -2405,36 +2406,36 @@ const gp = {
2405
2406
  checkWarning_: function() {
2406
2407
  const e = ft(this.space.id);
2407
2408
  if (!e) {
2408
- this.setWarningText(x.WARN_SPACE_NOT_AVAILABLE);
2409
+ this.setWarningText(D.WARN_SPACE_NOT_AVAILABLE);
2409
2410
  return;
2410
2411
  }
2411
2412
  e.name !== this.space.name && (this.space.name = e.name);
2412
2413
  const t = Te(this.space.id, this.table.id);
2413
2414
  if (!t) {
2414
- this.setWarningText(x.WARN_TABLE_NOT_AVAILABLE);
2415
+ this.setWarningText(D.WARN_TABLE_NOT_AVAILABLE);
2415
2416
  return;
2416
2417
  }
2417
2418
  t.name !== this.table.name && (this.table.name = t.name), this.setWarningText(null);
2418
2419
  }
2419
2420
  };
2420
- $.select_table_v1 = gp;
2421
+ $.select_table_v1 = Tp;
2421
2422
  c.forBlock.select_table_v1 = function(e) {
2422
2423
  const t = c.quote_, n = e, o = n.space.id, i = n.table.id;
2423
2424
  return [`{ spaceid: ${t(o)}, tableid: ${t(i)} }`, u.ATOMIC];
2424
2425
  };
2425
- const Tp = {
2426
+ const mp = {
2426
2427
  init: function() {
2427
2428
  this.appendDummyInput().appendField("%{BKY_DATA_LIST}"), this.appendStatementInput("STACK"), this.setStyle("object_blocks"), this.contextMenu = !1;
2428
2429
  }
2429
2430
  };
2430
- $.update_column_container_v1 = Tp;
2431
- const mp = {
2431
+ $.update_column_container_v1 = mp;
2432
+ const Ep = {
2432
2433
  init: function() {
2433
2434
  this.appendDummyInput().appendField("%{BKY_DATA_ITEM}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("object_blocks"), this.contextMenu = !1;
2434
2435
  }
2435
2436
  };
2436
- $.update_column_item_v1 = mp;
2437
- const Ep = {
2437
+ $.update_column_item_v1 = Ep;
2438
+ const bp = {
2438
2439
  init: function() {
2439
2440
  this.space = {
2440
2441
  id: "",
@@ -2459,7 +2460,7 @@ const Ep = {
2459
2460
  var i, s;
2460
2461
  if (this.space.id)
2461
2462
  return;
2462
- const e = (i = gn()) == null ? void 0 : i[0];
2463
+ const e = (i = jt()) == null ? void 0 : i[0];
2463
2464
  if (!e)
2464
2465
  return;
2465
2466
  this.space.id = e.id, this.space.name = e.name, this.getField("SPACE").getOptions(!1);
@@ -2618,27 +2619,27 @@ const Ep = {
2618
2619
  checkWarning_: function() {
2619
2620
  const e = ft(this.space.id);
2620
2621
  if (!e) {
2621
- this.setWarningText(x.WARN_SPACE_NOT_AVAILABLE);
2622
+ this.setWarningText(D.WARN_SPACE_NOT_AVAILABLE);
2622
2623
  return;
2623
2624
  }
2624
2625
  e.name !== this.space.name && (this.space.name = e.name);
2625
2626
  const t = Te(this.space.id, this.table.id);
2626
2627
  if (!t) {
2627
- this.setWarningText(x.WARN_TABLE_NOT_AVAILABLE);
2628
+ this.setWarningText(D.WARN_TABLE_NOT_AVAILABLE);
2628
2629
  return;
2629
2630
  }
2630
2631
  t.name !== this.table.name && (this.table.name = t.name);
2631
2632
  for (let n = 0; n < this.itemCount_; n++) {
2632
2633
  const o = this.getFieldValue("COLUMN" + n);
2633
2634
  if (!t.columns.find((i) => i.name === o)) {
2634
- this.setWarningText(x.WARN_COLUMN_NOT_AVAILABLE);
2635
+ this.setWarningText(D.WARN_COLUMN_NOT_AVAILABLE);
2635
2636
  return;
2636
2637
  }
2637
2638
  }
2638
2639
  this.setWarningText(null);
2639
2640
  }
2640
2641
  };
2641
- $.update_column_v1 = Ep;
2642
+ $.update_column_v1 = bp;
2642
2643
  c.forBlock.update_column_v1 = function(e) {
2643
2644
  const t = c.quote_, n = e, o = n.space.id, i = n.table.id, s = [];
2644
2645
  for (let l = 0; l < n.itemCount_; l++) {
@@ -2648,7 +2649,7 @@ c.forBlock.update_column_v1 = function(e) {
2648
2649
  const r = JSON.stringify(s);
2649
2650
  return [`{ spaceid: ${t(o)}, tableid: ${t(i)}, columns: ${r} }`, u.ATOMIC];
2650
2651
  };
2651
- const bp = {
2652
+ const vp = {
2652
2653
  init: function() {
2653
2654
  this.appendDummyInput().appendField("%{BKY_DATA_V1_UPDATE_DATA_TITLE}"), this.setPreviousStatement(!0, null), this.setNextStatement(!0, null), this.setStyle("procedure_blocks"), this.setTooltip("%{BKY_DATA_V1_UPDATE_DATA_TOOLTIP}"), this.setHelpUrl("%{BKY_DATA_V1_UPDATE_DATA_HELPURL}");
2654
2655
  },
@@ -2671,7 +2672,7 @@ const bp = {
2671
2672
  ]);
2672
2673
  }
2673
2674
  };
2674
- $.update_data_v1 = bp;
2675
+ $.update_data_v1 = vp;
2675
2676
  c.forBlock.update_data_v1 = function(e) {
2676
2677
  const t = c.valueToCode(e, "TABLE", u.ATOMIC) || "null", n = c.valueToCode(e, "CONDITION", u.ATOMIC) || "null", o = c.statementToCode(e, "HANDLE");
2677
2678
  return `{
@@ -2684,19 +2685,19 @@ c.forBlock.update_data_v1 = function(e) {
2684
2685
  }
2685
2686
  `;
2686
2687
  };
2687
- const vp = A.xml, Ap = {
2688
+ const Ap = A.xml, Op = {
2688
2689
  init: function() {
2689
2690
  this.appendDummyInput().appendField("%{BKY_LIST_V1_CREATE_CONTAINER_TITLE}"), this.appendStatementInput("STACK"), this.setStyle("list_blocks"), this.contextMenu = !1;
2690
2691
  }
2691
2692
  };
2692
- $.list_create_container_v1 = Ap;
2693
- const Op = {
2693
+ $.list_create_container_v1 = Op;
2694
+ const yp = {
2694
2695
  init: function() {
2695
2696
  this.appendDummyInput().appendField("%{BKY_LIST_V1_CREATE_ITEM_TITLE}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("list_blocks"), this.contextMenu = !1;
2696
2697
  }
2697
2698
  };
2698
- $.list_create_item_v1 = Op;
2699
- const yp = {
2699
+ $.list_create_item_v1 = yp;
2700
+ const Ip = {
2700
2701
  init: function() {
2701
2702
  this.itemCount_ = 0, this.setMutator(
2702
2703
  new It.MutatorIcon(
@@ -2706,7 +2707,7 @@ const yp = {
2706
2707
  ), this.setOutput(!0, "Array"), this.setStyle("list_blocks"), this.setTooltip("%{BKY_LIST_V1_CREATE_TOOLTIP}"), this.setHelpUrl("%{BKY_LIST_V1_CREATE_HELPURL}");
2707
2708
  },
2708
2709
  mutationToDom: function() {
2709
- const e = vp.createElement("mutation");
2710
+ const e = Ap.createElement("mutation");
2710
2711
  return e.setAttribute("items", String(this.itemCount_)), e;
2711
2712
  },
2712
2713
  domToMutation: function(e) {
@@ -2780,7 +2781,7 @@ const yp = {
2780
2781
  this.removeInput("ADD" + e);
2781
2782
  }
2782
2783
  };
2783
- $.list_create_v1 = yp;
2784
+ $.list_create_v1 = Ip;
2784
2785
  c.forBlock.list_create_v1 = function(e) {
2785
2786
  const t = e, n = new Array(t.itemCount_);
2786
2787
  for (let i = 0; i < t.itemCount_; i++)
@@ -2996,7 +2997,7 @@ c.forBlock.list_set_v1 = function(e) {
2996
2997
  return `${t}[${n}] = ${o};
2997
2998
  `;
2998
2999
  };
2999
- const Ip = {
3000
+ const Cp = {
3000
3001
  // logic_compare
3001
3002
  EQ: "%{BKY_LOGIC_V1_COMPARE_TOOLTIP_EQ}",
3002
3003
  NEQ: "%{BKY_LOGIC_V1_COMPARE_TOOLTIP_NEQ}",
@@ -3010,7 +3011,7 @@ const Ip = {
3010
3011
  };
3011
3012
  re.register(
3012
3013
  "logic_op_tooltip_v1",
3013
- re.buildTooltipForDropdown("OP", Ip)
3014
+ re.buildTooltipForDropdown("OP", Cp)
3014
3015
  );
3015
3016
  O([
3016
3017
  {
@@ -3035,7 +3036,7 @@ O([
3035
3036
  c.forBlock.logic_boolean_v1 = function(e) {
3036
3037
  return [e.getFieldValue("BOOL") === "TRUE" ? "true" : "false", u.ATOMIC];
3037
3038
  };
3038
- const Cp = {
3039
+ const Sp = {
3039
3040
  onchange: function(e) {
3040
3041
  this.prevBlocks_ || (this.prevBlocks_ = [null, null]);
3041
3042
  const t = this.getInputTargetBlock("A"), n = this.getInputTargetBlock("B");
@@ -3055,7 +3056,7 @@ const Cp = {
3055
3056
  re.register(
3056
3057
  "logic_compare_v1",
3057
3058
  function() {
3058
- this.mixin(Cp);
3059
+ this.mixin(Sp);
3059
3060
  }
3060
3061
  );
3061
3062
  O([
@@ -3105,7 +3106,7 @@ c.forBlock.logic_compare_v1 = function(e) {
3105
3106
  const i = c.valueToCode(e, "A", o) || "0", s = c.valueToCode(e, "B", o) || "0";
3106
3107
  return [`${i} ${n} ${s}`, o];
3107
3108
  };
3108
- const Sp = {
3109
+ const Lp = {
3109
3110
  elseIfCount_: 0,
3110
3111
  hasElse_: !1,
3111
3112
  mutationToDom: function() {
@@ -3221,8 +3222,8 @@ const Sp = {
3221
3222
  for (let e = 1; this.getInput("IF" + e); e++)
3222
3223
  this.removeInput("IF" + e), this.removeInput("DO" + e);
3223
3224
  for (let e = 1; e <= this.elseIfCount_; e++)
3224
- this.appendValueInput("IF" + e).setCheck("Boolean").appendField(x.LOGIC_ELSE_IF), this.appendStatementInput("DO" + e).appendField(x.LOGIC_DO);
3225
- this.hasElse_ && this.appendStatementInput("ELSE").appendField(x.LOGIC_ELSE);
3225
+ this.appendValueInput("IF" + e).setCheck("Boolean").appendField(D.LOGIC_ELSE_IF), this.appendStatementInput("DO" + e).appendField(D.LOGIC_DO);
3226
+ this.hasElse_ && this.appendStatementInput("ELSE").appendField(D.LOGIC_ELSE);
3226
3227
  },
3227
3228
  reconnectChildBlocks_: function(e, t, n) {
3228
3229
  var o, i;
@@ -3233,7 +3234,7 @@ const Sp = {
3233
3234
  };
3234
3235
  re.registerMutator(
3235
3236
  "logic_if_v1_mutator",
3236
- Sp,
3237
+ Lp,
3237
3238
  void 0,
3238
3239
  ["logic_if_else_if_v1", "logic_if_else_v1"]
3239
3240
  );
@@ -3379,7 +3380,7 @@ c.forBlock.logic_operation_v1 = function(e) {
3379
3380
  }
3380
3381
  return [`${o} ${t} ${i}`, n];
3381
3382
  };
3382
- const Lp = {
3383
+ const Np = {
3383
3384
  prevParentConnection_: null,
3384
3385
  onchange: function(e) {
3385
3386
  const t = this.getInputTargetBlock("THEN"), n = this.getInputTargetBlock("ELSE"), o = this.outputConnection.targetConnection;
@@ -3394,7 +3395,7 @@ const Lp = {
3394
3395
  this.prevParentConnection_ = o;
3395
3396
  }
3396
3397
  };
3397
- re.registerMixin("logic_ternary_v1", Lp);
3398
+ re.registerMixin("logic_ternary_v1", Np);
3398
3399
  O([
3399
3400
  {
3400
3401
  type: "logic_ternary_v1",
@@ -3431,7 +3432,7 @@ c.forBlock.logic_ternary_v1 = function(e) {
3431
3432
  const t = c.valueToCode(e, "IF", u.CONDITIONAL) || "false", n = c.valueToCode(e, "THEN", u.CONDITIONAL) || "null", o = c.valueToCode(e, "ELSE", u.CONDITIONAL) || "null";
3432
3433
  return [t + " ? " + n + " : " + o, u.CONDITIONAL];
3433
3434
  };
3434
- const Np = {
3435
+ const Bp = {
3435
3436
  customContextMenu: function(e) {
3436
3437
  if (this.isInFlyout)
3437
3438
  return;
@@ -3445,7 +3446,7 @@ const Np = {
3445
3446
  };
3446
3447
  e.push({
3447
3448
  enabled: !0,
3448
- text: x.VARIABLES_SET_CREATE_GET.replace("%1", o),
3449
+ text: D.VARIABLES_SET_CREATE_GET.replace("%1", o),
3449
3450
  callback: ws.callbackFactory(this, i)
3450
3451
  });
3451
3452
  }
@@ -3453,7 +3454,7 @@ const Np = {
3453
3454
  };
3454
3455
  re.registerMixin(
3455
3456
  "contextMenu_newGetVariableBlock_v1",
3456
- Np
3457
+ Bp
3457
3458
  );
3458
3459
  re.register(
3459
3460
  "flow_control_tooltip_v1",
@@ -3462,16 +3463,16 @@ re.register(
3462
3463
  CONTINUE: "%{BKY_LOOP_V1_FLOW_CONTROL_TOOLTIP_CONTINUE}"
3463
3464
  })
3464
3465
  );
3465
- const Bp = /* @__PURE__ */ new Set([
3466
+ const kp = /* @__PURE__ */ new Set([
3466
3467
  "repeat_v1",
3467
3468
  "for_each_v1",
3468
3469
  "for_v1",
3469
3470
  "while_until_v1"
3470
- ]), kp = {
3471
+ ]), Rp = {
3471
3472
  getSurroundLoop: function() {
3472
3473
  let e = this;
3473
3474
  do {
3474
- if (Bp.has(e.type))
3475
+ if (kp.has(e.type))
3475
3476
  return !0;
3476
3477
  e = e == null ? void 0 : e.getSurroundParent();
3477
3478
  } while (e);
@@ -3483,7 +3484,7 @@ const Bp = /* @__PURE__ */ new Set([
3483
3484
  return;
3484
3485
  const n = this.getSurroundLoop();
3485
3486
  if (this.setWarningText(
3486
- n ? null : x.LOOP_FLOW_CONTROL_WARNING
3487
+ n ? null : D.LOOP_FLOW_CONTROL_WARNING
3487
3488
  ), !this.isInFlyout)
3488
3489
  try {
3489
3490
  W.setRecordUndo(!1), this.setDisabledReason(!n, "FLOW_CONTROL_NOT_IN_LOOP");
@@ -3494,7 +3495,7 @@ const Bp = /* @__PURE__ */ new Set([
3494
3495
  };
3495
3496
  re.registerMixin(
3496
3497
  "flow_control_in_loop_check_v1",
3497
- kp
3498
+ Rp
3498
3499
  );
3499
3500
  O([
3500
3501
  {
@@ -3659,7 +3660,7 @@ ${o}
3659
3660
  }
3660
3661
  `;
3661
3662
  };
3662
- const Rp = {
3663
+ const Mp = {
3663
3664
  // math_arithmetic
3664
3665
  ADD: "%{BKY_MATH_V1_ARITHMETIC_TOOLTIP_ADD}",
3665
3666
  SUBTRACT: "%{BKY_MATH_V1_ARITHMETIC_TOOLTIP_SUBTRACT}",
@@ -3693,7 +3694,7 @@ const Rp = {
3693
3694
  };
3694
3695
  re.register(
3695
3696
  "math_op_tooltip_v1",
3696
- re.buildTooltipForDropdown("OP", Rp)
3697
+ re.buildTooltipForDropdown("OP", Mp)
3697
3698
  );
3698
3699
  O([
3699
3700
  {
@@ -4296,21 +4297,21 @@ c.forBlock.math_trig_v1 = function(e) {
4296
4297
  }
4297
4298
  return [o, u.DIVISION];
4298
4299
  };
4299
- const Mp = A.xml, Dp = {
4300
+ const Dp = A.xml, xp = {
4300
4301
  init: function() {
4301
4302
  this.appendDummyInput().appendField(
4302
4303
  "%{BKY_OBJECT_V1_CREATE_CONTAINER_TITLE}"
4303
4304
  ), this.appendStatementInput("STACK"), this.setStyle("object_blocks"), this.contextMenu = !1;
4304
4305
  }
4305
4306
  };
4306
- $.object_create_container_v1 = Dp;
4307
- const xp = {
4307
+ $.object_create_container_v1 = xp;
4308
+ const wp = {
4308
4309
  init: function() {
4309
4310
  this.appendDummyInput().appendField("%{BKY_OBJECT_V1_CREATE_ITEM_TITLE}"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("object_blocks"), this.contextMenu = !1;
4310
4311
  }
4311
4312
  };
4312
- $.object_create_item_v1 = xp;
4313
- const wp = {
4313
+ $.object_create_item_v1 = wp;
4314
+ const Pp = {
4314
4315
  init: function() {
4315
4316
  this.itemCount_ = 0, this.appendDummyInput().appendField("%{BKY_OBJECT_V1_CREATE_TITLE}"), this.setMutator(
4316
4317
  new It.MutatorIcon(
@@ -4320,7 +4321,7 @@ const wp = {
4320
4321
  ), this.setOutput(!0, "Object"), this.setStyle("object_blocks"), this.setTooltip("%{BKY_OBJECT_V1_CREATE_TOOLTIP}"), this.setHelpUrl("%{BKY_OBJECT_V1_CREATE_HELPURL}");
4321
4322
  },
4322
4323
  mutationToDom: function() {
4323
- const e = Mp.createElement("mutation");
4324
+ const e = Dp.createElement("mutation");
4324
4325
  return e.setAttribute("items", String(this.itemCount_)), e;
4325
4326
  },
4326
4327
  domToMutation: function(e) {
@@ -4386,7 +4387,7 @@ const wp = {
4386
4387
  this.removeInput("ADD" + e);
4387
4388
  }
4388
4389
  };
4389
- $.object_create_v1 = wp;
4390
+ $.object_create_v1 = Pp;
4390
4391
  c.forBlock.object_create_v1 = function(e) {
4391
4392
  const t = e;
4392
4393
  let n = "{";
@@ -4644,13 +4645,13 @@ O([
4644
4645
  c.forBlock.object_to_json_v1 = function(e) {
4645
4646
  return [`__jsonStringifyV1__(${c.valueToCode(e, "OBJECT", u.NONE) || "null"})`, u.FUNCTION_CALL];
4646
4647
  };
4647
- const os = A.xml, Pp = {
4648
+ const os = A.xml, Up = {
4648
4649
  init: function() {
4649
4650
  this.appendDummyInput().appendField("%{BKY_PROCEDURE_V1_DEF_CONTAINER_TITLE}").appendField(new ya(!1), "WITHRETURN"), this.appendStatementInput("STACK"), this.setStyle("procedure_blocks"), this.contextMenu = !1;
4650
4651
  }
4651
4652
  };
4652
- $.procedure_def_container_v1 = Pp;
4653
- const Up = {
4653
+ $.procedure_def_container_v1 = Up;
4654
+ const Vp = {
4654
4655
  init: function() {
4655
4656
  const e = new to(Ho.DEFAULT_ARG);
4656
4657
  e.setValidator(this.validator_), this.appendDummyInput().appendField("%{BKY_PROCEDURE_V1_DEF_ITEM_TITLE}").appendField(e, "NAME"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("procedure_blocks"), this.contextMenu = !1;
@@ -4672,8 +4673,8 @@ const Up = {
4672
4673
  return e;
4673
4674
  }
4674
4675
  };
4675
- $.procedure_def_item_v1 = Up;
4676
- const Vp = {
4676
+ $.procedure_def_item_v1 = Vp;
4677
+ const Fp = {
4677
4678
  init: function() {
4678
4679
  this.withReturn = !1, this.args = [];
4679
4680
  const e = new to(
@@ -4773,13 +4774,13 @@ const Vp = {
4773
4774
  }
4774
4775
  }
4775
4776
  };
4776
- $.procedure_def_v1 = Vp;
4777
- const Fp = A.xml, Yp = {
4777
+ $.procedure_def_v1 = Fp;
4778
+ const Yp = A.xml, Kp = {
4778
4779
  init: function() {
4779
4780
  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}");
4780
4781
  },
4781
4782
  mutationToDom: function() {
4782
- const e = Fp.createElement("mutation");
4783
+ const e = Yp.createElement("mutation");
4783
4784
  return e.setAttribute("withreturn", this.withReturn ? "TRUE" : "FALSE"), e;
4784
4785
  },
4785
4786
  domToMutation: function(e) {
@@ -4830,7 +4831,7 @@ const Fp = A.xml, Yp = {
4830
4831
  e.type === "procedure_def_v1" || e.type === "func_entry_v1" ? this.setWarningText(null) : this.setWarningText("the block can only be used in procedure block");
4831
4832
  }
4832
4833
  };
4833
- $.procedure_return_v1 = Yp;
4834
+ $.procedure_return_v1 = Kp;
4834
4835
  c.forBlock.procedure_return_v1 = function(e) {
4835
4836
  const t = e;
4836
4837
  return t.withReturn ? `return ${c.valueToCode(t, "VALUE", u.NONE) || "null"};
@@ -4858,9 +4859,9 @@ O([
4858
4859
  c.forBlock.text_v1 = function(e) {
4859
4860
  return [c.quote_(e.getFieldValue("TEXT")), u.ATOMIC];
4860
4861
  };
4861
- const Kp = /^\s*'([^']|\\')*'\s*$/;
4862
+ const Hp = /^\s*'([^']|\\')*'\s*$/;
4862
4863
  function Dn(e) {
4863
- return Kp.test(e) ? [e, u.ATOMIC] : [`String(${e})`, u.FUNCTION_CALL];
4864
+ return Hp.test(e) ? [e, u.ATOMIC] : [`String(${e})`, u.FUNCTION_CALL];
4864
4865
  }
4865
4866
  re.register(
4866
4867
  "text_append_tooltip_v1",
@@ -5065,10 +5066,10 @@ O([
5065
5066
  c.forBlock.text_is_empty_v1 = function(e) {
5066
5067
  return [`!${c.valueToCode(e, "VALUE", u.MEMBER) || "''"}.length`, u.LOGICAL_NOT];
5067
5068
  };
5068
- const Hp = A.xml, $p = {
5069
+ const $p = A.xml, Gp = {
5069
5070
  itemCount_: 0,
5070
5071
  mutationToDom: function() {
5071
- const e = Hp.createElement("mutation");
5072
+ const e = $p.createElement("mutation");
5072
5073
  return e.setAttribute("items", `${this.itemCount_}`), e;
5073
5074
  },
5074
5075
  domToMutation: function(e) {
@@ -5140,13 +5141,13 @@ const Hp = A.xml, $p = {
5140
5141
  for (let e = this.itemCount_; this.getInput("ADD" + e); e++)
5141
5142
  this.removeInput("ADD" + e);
5142
5143
  }
5143
- }, Gp = function() {
5144
+ }, jp = function() {
5144
5145
  this.itemCount_ = 2, this.updateShape_(), this.setMutator(new It.MutatorIcon(["text_join_item_v1"], this));
5145
5146
  };
5146
5147
  re.registerMutator(
5147
5148
  "text_join_mutator_v1",
5148
- $p,
5149
- Gp
5149
+ Gp,
5150
+ jp
5150
5151
  );
5151
5152
  O([
5152
5153
  {
@@ -5378,7 +5379,7 @@ c.forBlock.text_trim_v1 = function(e) {
5378
5379
  }[e.getFieldValue("MODE")];
5379
5380
  return [`__trimV1__(${t}, ${o})`, u.ATOMIC];
5380
5381
  };
5381
- const jp = {
5382
+ const Xp = {
5382
5383
  init: function() {
5383
5384
  this.appendDummyInput().appendField("%{BKY_TIME_V1_CREATE_TIMER_TITLE}"), this.setPreviousStatement(!0, null), this.setNextStatement(!0, null), this.setStyle("time_blocks"), this.setTooltip("%{BKY_TIME_V1_CREATE_TIMER_TOOLTIP}"), this.setHelpUrl("%{BKY_TIME_V1_CREATE_TIMER_HELPURL}");
5384
5385
  },
@@ -5404,7 +5405,7 @@ const jp = {
5404
5405
  ));
5405
5406
  }
5406
5407
  };
5407
- $.create_timer_v1 = jp;
5408
+ $.create_timer_v1 = Xp;
5408
5409
  c.forBlock.create_timer_v1 = function(e) {
5409
5410
  const t = c.valueToCode(e, "INTERVAL", u.ATOMIC) || "1000", n = c.valueToCode(e, "LOOP", u.ATOMIC) || "false", o = c.valueToCode(e, "COUNT", u.ATOMIC) || "1", i = c.valueToCode(e, "IMMEDIATE", u.ATOMIC) || "false", s = c.statementToCode(e, "CALLBACK");
5410
5411
  return `__createTimerV1__(${t}, ${n}, ${o}, ${i}, function() {
@@ -5434,24 +5435,24 @@ c.forBlock.delay_v1 = function(e) {
5434
5435
  return `__delayV1__(${c.valueToCode(e, "MS", u.ATOMIC) || "0"});
5435
5436
  `;
5436
5437
  };
5437
- const Xp = {
5438
+ const Wp = {
5438
5439
  customContextMenu: function(e) {
5439
5440
  if (this.isInFlyout) {
5440
5441
  if (this.type === "variables_get_v1" || this.type === "variables_get_v1_reporter") {
5441
5442
  const t = {
5442
- text: x.RENAME_VARIABLE,
5443
+ text: D.RENAME_VARIABLE,
5443
5444
  enabled: !0,
5444
- callback: Wp(this)
5445
+ callback: zp(this)
5445
5446
  }, n = this.getField("VAR").getText(), o = {
5446
- text: x.DELETE_VARIABLE.replace("%1", n),
5447
+ text: D.DELETE_VARIABLE.replace("%1", n),
5447
5448
  enabled: !0,
5448
- callback: zp(this)
5449
+ callback: Jp(this)
5449
5450
  };
5450
5451
  e.unshift(t), e.unshift(o);
5451
5452
  }
5452
5453
  } else {
5453
5454
  let t, n;
5454
- this.type === "variables_get_v1" ? (t = "variables_set_v1", n = x.VARIABLE_V1_GET_CREATE_SET) : this.type === "variables_set_v1" ? (t = "variables_get_v1", n = x.VARIABLE_V1_SET_CREATE_GET) : console.assert(!1);
5455
+ this.type === "variables_get_v1" ? (t = "variables_set_v1", n = D.VARIABLE_V1_GET_CREATE_SET) : this.type === "variables_set_v1" ? (t = "variables_get_v1", n = D.VARIABLE_V1_SET_CREATE_GET) : console.assert(!1);
5455
5456
  const o = this.getField("VAR"), i = {
5456
5457
  type: t,
5457
5458
  fields: { VAR: o.saveState(!0) }
@@ -5463,12 +5464,12 @@ const Xp = {
5463
5464
  });
5464
5465
  }
5465
5466
  }
5466
- }, Wp = function(e) {
5467
+ }, zp = function(e) {
5467
5468
  return function() {
5468
5469
  const t = e.workspace, o = e.getField("VAR").getVariable();
5469
5470
  Rn.renameVariable(t, o);
5470
5471
  };
5471
- }, zp = function(e) {
5472
+ }, Jp = function(e) {
5472
5473
  return function() {
5473
5474
  const t = e.workspace, o = e.getField("VAR").getVariable();
5474
5475
  t.deleteVariableById(o.getId()), t.refreshToolboxSelection();
@@ -5476,7 +5477,7 @@ const Xp = {
5476
5477
  };
5477
5478
  re.registerMixin(
5478
5479
  "context_menu_variable_v1",
5479
- Xp
5480
+ Wp
5480
5481
  );
5481
5482
  O([
5482
5483
  {
@@ -5533,85 +5534,90 @@ c.forBlock.variable_set_v1 = function(e) {
5533
5534
  `;
5534
5535
  };
5535
5536
  const ye = A.xml;
5536
- function Jp() {
5537
+ function qp() {
5537
5538
  const e = [];
5538
- {
5539
- const t = ye.createElement("label");
5540
- t.setAttribute("text", x.LABEL_OPERATION), e.push(t);
5541
- }
5542
- {
5543
- const t = ye.createElement("block");
5544
- t.setAttribute("type", "query_data_v1"), e.push(t);
5545
- }
5546
- {
5547
- const t = ye.createElement("block");
5548
- t.setAttribute("type", "add_data_v1"), e.push(t);
5549
- }
5550
- {
5551
- const t = ye.createElement("block");
5552
- t.setAttribute("type", "update_data_v1"), e.push(t);
5553
- }
5554
- {
5555
- const t = ye.createElement("block");
5556
- t.setAttribute("type", "delete_data_v1"), e.push(t);
5557
- }
5558
- {
5559
- const t = ye.createElement("label");
5560
- t.setAttribute("text", x.LABEL_TABLE), e.push(t);
5561
- }
5562
- {
5563
- const t = ye.createElement("block");
5564
- t.setAttribute("type", "select_table_v1"), e.push(t);
5565
- }
5566
- {
5567
- const t = ye.createElement("block");
5568
- t.setAttribute("type", "select_column_v1"), e.push(t);
5569
- }
5570
- {
5571
- const t = ye.createElement("block");
5572
- t.setAttribute("type", "update_column_v1"), e.push(t);
5573
- }
5574
- {
5575
- const t = ye.createElement("label");
5576
- t.setAttribute("text", x.LABEL_CONDITION), e.push(t);
5577
- }
5578
- {
5579
- const t = ye.createElement("block");
5580
- t.setAttribute("type", "cond_logic_v1"), e.push(t);
5581
- }
5582
- {
5583
- const t = ye.createElement("block");
5584
- t.setAttribute("type", "cond_atomic_v1");
5539
+ if (jt().length > 0) {
5540
+ {
5541
+ const t = ye.createElement("label");
5542
+ t.setAttribute("text", D.LABEL_OPERATION), e.push(t);
5543
+ }
5544
+ {
5545
+ const t = ye.createElement("block");
5546
+ t.setAttribute("type", "query_data_v1"), e.push(t);
5547
+ }
5548
+ {
5549
+ const t = ye.createElement("block");
5550
+ t.setAttribute("type", "add_data_v1"), e.push(t);
5551
+ }
5552
+ {
5553
+ const t = ye.createElement("block");
5554
+ t.setAttribute("type", "update_data_v1"), e.push(t);
5555
+ }
5556
+ {
5557
+ const t = ye.createElement("block");
5558
+ t.setAttribute("type", "delete_data_v1"), e.push(t);
5559
+ }
5560
+ {
5561
+ const t = ye.createElement("label");
5562
+ t.setAttribute("text", D.LABEL_TABLE), e.push(t);
5563
+ }
5585
5564
  {
5586
- const n = ye.createElement("value");
5587
- n.setAttribute("name", "VALUE");
5565
+ const t = ye.createElement("block");
5566
+ t.setAttribute("type", "select_table_v1"), e.push(t);
5567
+ }
5568
+ {
5569
+ const t = ye.createElement("block");
5570
+ t.setAttribute("type", "select_column_v1"), e.push(t);
5571
+ }
5572
+ {
5573
+ const t = ye.createElement("block");
5574
+ t.setAttribute("type", "update_column_v1"), e.push(t);
5575
+ }
5576
+ {
5577
+ const t = ye.createElement("label");
5578
+ t.setAttribute("text", D.LABEL_CONDITION), e.push(t);
5579
+ }
5580
+ {
5581
+ const t = ye.createElement("block");
5582
+ t.setAttribute("type", "cond_logic_v1"), e.push(t);
5583
+ }
5584
+ {
5585
+ const t = ye.createElement("block");
5586
+ t.setAttribute("type", "cond_atomic_v1");
5588
5587
  {
5589
- const o = ye.createElement("shadow");
5590
- o.setAttribute("type", "text_v1");
5588
+ const n = ye.createElement("value");
5589
+ n.setAttribute("name", "VALUE");
5591
5590
  {
5592
- const i = ye.createElement("field");
5593
- i.setAttribute("name", "TEXT"), o.appendChild(i);
5591
+ const o = ye.createElement("shadow");
5592
+ o.setAttribute("type", "text_v1");
5593
+ {
5594
+ const i = ye.createElement("field");
5595
+ i.setAttribute("name", "TEXT"), o.appendChild(i);
5596
+ }
5597
+ n.appendChild(o);
5594
5598
  }
5595
- n.appendChild(o);
5599
+ t.appendChild(n);
5596
5600
  }
5597
- t.appendChild(n);
5601
+ e.push(t);
5598
5602
  }
5599
- e.push(t);
5603
+ } else {
5604
+ const t = document.createElement("button");
5605
+ t.setAttribute("text", D.DESC_NO_TABLE_GUIDE), t.setAttribute("callbackKey", "NO_TABLE"), e.push(t);
5600
5606
  }
5601
5607
  return e;
5602
5608
  }
5603
5609
  const Jo = {
5604
5610
  name: "DATA_CATEGORY",
5605
- callback: Jp
5611
+ callback: qp
5606
5612
  };
5607
- function qp() {
5613
+ function Zp() {
5608
5614
  return [];
5609
5615
  }
5610
- const Zp = {
5616
+ const Qp = {
5611
5617
  name: "FLOW_CATEGORY",
5612
- callback: qp
5618
+ callback: Zp
5613
5619
  }, Rt = A.xml;
5614
- function Qp() {
5620
+ function ed() {
5615
5621
  const e = [];
5616
5622
  {
5617
5623
  const t = Rt.createElement("block");
@@ -5644,13 +5650,13 @@ function Qp() {
5644
5650
  }
5645
5651
  const hr = {
5646
5652
  name: "FUNC_CATEGORY",
5647
- callback: Qp
5653
+ callback: ed
5648
5654
  }, is = A.xml;
5649
- function ed() {
5655
+ function td() {
5650
5656
  const e = [];
5651
5657
  {
5652
5658
  const t = is.createElement("label");
5653
- t.setAttribute("text", x.LABEL_ASSET_LAYER), e.push(t);
5659
+ t.setAttribute("text", D.LABEL_ASSET_LAYER), e.push(t);
5654
5660
  }
5655
5661
  {
5656
5662
  const t = is.createElement("block");
@@ -5660,47 +5666,47 @@ function ed() {
5660
5666
  }
5661
5667
  const gr = {
5662
5668
  name: "INTERFACE_CATEGORY",
5663
- callback: ed
5664
- }, Wt = A.xml;
5665
- function td() {
5669
+ callback: td
5670
+ }, zt = A.xml;
5671
+ function nd() {
5666
5672
  const e = [];
5667
5673
  {
5668
- const t = Wt.createElement("label");
5674
+ const t = zt.createElement("label");
5669
5675
  t.setAttribute("text", "%{BKY_LABEL_PROCEDURE}"), e.push(t);
5670
5676
  }
5671
5677
  {
5672
- const t = Wt.createElement("block");
5678
+ const t = zt.createElement("block");
5673
5679
  t.setAttribute("type", "procedure_def_v1");
5674
5680
  {
5675
- const n = Wt.createElement("field");
5681
+ const n = zt.createElement("field");
5676
5682
  n.setAttribute("name", "NAME");
5677
- const o = Wt.createTextNode(
5678
- x.PROCEDURE_DEFAULT_NAME
5683
+ const o = zt.createTextNode(
5684
+ D.PROCEDURE_DEFAULT_NAME
5679
5685
  );
5680
5686
  n.appendChild(o), t.appendChild(n);
5681
5687
  }
5682
5688
  e.push(t);
5683
5689
  }
5684
5690
  {
5685
- const t = Wt.createElement("block");
5691
+ const t = zt.createElement("block");
5686
5692
  t.setAttribute("type", "procedure_return_v1"), e.push(t);
5687
5693
  }
5688
5694
  return e;
5689
5695
  }
5690
5696
  const at = {
5691
5697
  name: "PROCEDURE_CATEGORY",
5692
- callback: td
5698
+ callback: nd
5693
5699
  };
5694
- function nd() {
5700
+ function od() {
5695
5701
  const { args: e } = Le.app.view, t = [];
5696
5702
  return e == null || e.forEach(({ id: n, name: o, type: i }) => {
5697
5703
  t.push({ id: n, name: o, type: i });
5698
5704
  }), t;
5699
5705
  }
5700
5706
  const ss = A.xml;
5701
- function od() {
5707
+ function id() {
5702
5708
  const e = [];
5703
- if (nd().length > 0) {
5709
+ if (od().length > 0) {
5704
5710
  {
5705
5711
  const t = ss.createElement("label");
5706
5712
  t.setAttribute("text", "%{BKY_LABEL_ARGUMENT}"), e.push(t);
@@ -5714,9 +5720,9 @@ function od() {
5714
5720
  }
5715
5721
  const Gn = {
5716
5722
  name: "UI_CATEGORY",
5717
- callback: od
5723
+ callback: id
5718
5724
  }, Cn = A.xml;
5719
- function id(e) {
5725
+ function sd(e) {
5720
5726
  const t = [];
5721
5727
  {
5722
5728
  const o = Cn.createElement("label");
@@ -5739,7 +5745,7 @@ function id(e) {
5739
5745
  n.sort(Ia.compareByName);
5740
5746
  {
5741
5747
  const o = Cn.createElement("label");
5742
- o.setAttribute("text", x.LABEL_CREATED), t.push(o);
5748
+ o.setAttribute("text", D.LABEL_CREATED), t.push(o);
5743
5749
  }
5744
5750
  return n.forEach((o) => {
5745
5751
  {
@@ -5754,7 +5760,7 @@ function id(e) {
5754
5760
  }
5755
5761
  const lt = {
5756
5762
  name: "VARIABLE_CATEGORY",
5757
- callback: id
5763
+ callback: sd
5758
5764
  };
5759
5765
  Ps.setConfirm(async (e, t) => {
5760
5766
  const n = await xa({
@@ -5784,7 +5790,7 @@ const Tr = (e, t, n) => {
5784
5790
  });
5785
5791
  };
5786
5792
  async function rs(e) {
5787
- const t = await Tr(/* @__PURE__ */ Object.assign({ "./msg/en.ts": () => import("./msg-en-mkdv2frs.js"), "./msg/zhHans.ts": () => import("./msg-zhHans-o3kawhhd.js") }), `./msg/${e}.ts`, 3);
5793
+ const t = await Tr(/* @__PURE__ */ Object.assign({ "./msg/en.ts": () => import("./msg-en-dlwi84yy.js"), "./msg/zhHans.ts": () => import("./msg-zhHans-60zrp0tu.js") }), `./msg/${e}.ts`, 3);
5788
5794
  Ca(t.default);
5789
5795
  }
5790
5796
  function mr(e) {
@@ -5808,7 +5814,7 @@ function Er() {
5808
5814
  const t = (n = e.getTopBlocks(!0)) == null ? void 0 : n[0];
5809
5815
  t && mr(t.id);
5810
5816
  }
5811
- class sd {
5817
+ class rd {
5812
5818
  init({ contextMenu: t = !0, shortcut: n = !0 } = {
5813
5819
  contextMenu: !0,
5814
5820
  shortcut: !0
@@ -5824,11 +5830,11 @@ class sd {
5824
5830
  blockCopyToStorageContextMenu() {
5825
5831
  const t = {
5826
5832
  displayText: function() {
5827
- return x.CROSS_TAB_COPY ? x.CROSS_TAB_COPY : "Copy";
5833
+ return D.CROSS_TAB_COPY ? D.CROSS_TAB_COPY : "Copy";
5828
5834
  },
5829
5835
  preconditionFn: function() {
5830
5836
  const n = wt();
5831
- return !n || !An(n) || !n.isDeletable() || !yo(n) || !n.isMovable() || !jt(n) ? "disabled" : "enabled";
5837
+ return !n || !An(n) || !n.isDeletable() || !yo(n) || !n.isMovable() || !Xt(n) ? "disabled" : "enabled";
5832
5838
  },
5833
5839
  callback: function(n) {
5834
5840
  var o;
@@ -5846,7 +5852,7 @@ class sd {
5846
5852
  blockPasteFromStorageContextMenu() {
5847
5853
  const t = {
5848
5854
  displayText: function() {
5849
- return x.CROSS_TAB_PASTE ? x.CROSS_TAB_PASTE : "Paste";
5855
+ return D.CROSS_TAB_PASTE ? D.CROSS_TAB_PASTE : "Paste";
5850
5856
  },
5851
5857
  preconditionFn: function(n) {
5852
5858
  var s;
@@ -5885,12 +5891,12 @@ class sd {
5885
5891
  if (s.options.readOnly || Io.inProgress())
5886
5892
  return !1;
5887
5893
  const r = wt();
5888
- return !(!r || !An(r) || !r.isDeletable() || !yo(r) || !r.isMovable() || !jt(r));
5894
+ return !(!r || !An(r) || !r.isDeletable() || !yo(r) || !r.isMovable() || !Xt(r));
5889
5895
  },
5890
5896
  callback: function(s, r) {
5891
5897
  r.preventDefault();
5892
5898
  const a = wt();
5893
- if (!a || !jt(a))
5899
+ if (!a || !Xt(a))
5894
5900
  return !1;
5895
5901
  const l = a.toCopyData();
5896
5902
  return l ? (s.hideChaff(), localStorage.setItem("blocklyStash", JSON.stringify(l)), !0) : !1;
@@ -5915,12 +5921,12 @@ class sd {
5915
5921
  if (s.options.readOnly || Io.inProgress())
5916
5922
  return !1;
5917
5923
  const r = wt();
5918
- return !(!r || !An(r) || !r.isDeletable() || !yo(r) || !r.isMovable() || !jt(r) || r.workspace.isFlyout);
5924
+ return !(!r || !An(r) || !r.isDeletable() || !yo(r) || !r.isMovable() || !Xt(r) || r.workspace.isFlyout);
5919
5925
  },
5920
5926
  callback: function(s, r) {
5921
5927
  r.preventDefault();
5922
5928
  const a = wt();
5923
- if (!a || !An(a) || !a.isDeletable() || !jt(a))
5929
+ if (!a || !An(a) || !a.isDeletable() || !Xt(a))
5924
5930
  return !1;
5925
5931
  const l = a.toCopyData();
5926
5932
  return l ? (localStorage.setItem("blocklyStash", JSON.stringify(l)), a instanceof Sa ? a.checkAndDelete() : a.dispose(), !0) : !1;
@@ -5963,7 +5969,7 @@ class sd {
5963
5969
  Oe.registry.register(i);
5964
5970
  }
5965
5971
  }
5966
- class rd {
5972
+ class ad {
5967
5973
  init() {
5968
5974
  const t = bt.registry.getItem("cleanWorkspace");
5969
5975
  t && (t.callback = function(n) {
@@ -5987,7 +5993,7 @@ function br(e) {
5987
5993
  const t = e.getParent();
5988
5994
  return t && br(t) ? !0 : !t && !!(e.outputConnection || e.previousConnection);
5989
5995
  }
5990
- class ad {
5996
+ class ld {
5991
5997
  init() {
5992
5998
  const t = bt.registry.getItem("blockDisable");
5993
5999
  t && (t.preconditionFn = function(n) {
@@ -6841,16 +6847,16 @@ La.register(`
6841
6847
  position: relative;
6842
6848
  }
6843
6849
  `);
6844
- function ld() {
6850
+ function cd() {
6845
6851
  Na.register("field_colour", vr);
6846
6852
  }
6847
- const cd = new sd();
6848
- cd.init({ contextMenu: !0, shortcut: !0 });
6849
6853
  const ud = new rd();
6850
- ud.init();
6854
+ ud.init({ contextMenu: !0, shortcut: !0 });
6851
6855
  const _d = new ad();
6852
6856
  _d.init();
6853
- ld();
6857
+ const pd = new ld();
6858
+ pd.init();
6859
+ cd();
6854
6860
  no.Classic.blockStyles = {
6855
6861
  color_blocks: {
6856
6862
  colourPrimary: "#a5745b",
@@ -6978,7 +6984,7 @@ no.Classic.categoryStyles = {
6978
6984
  colour: "#a55b80"
6979
6985
  }
6980
6986
  };
6981
- const pd = Us.defineTheme("light", {
6987
+ const dd = Us.defineTheme("light", {
6982
6988
  name: "light",
6983
6989
  base: no.Classic,
6984
6990
  componentStyles: {
@@ -6994,7 +7000,7 @@ const pd = Us.defineTheme("light", {
6994
7000
  scrollbarOpacity: 0.4,
6995
7001
  cursorColour: ""
6996
7002
  }
6997
- }), dd = Us.defineTheme("dark", {
7003
+ }), fd = Us.defineTheme("dark", {
6998
7004
  name: "dark",
6999
7005
  base: no.Classic,
7000
7006
  componentStyles: {
@@ -7011,14 +7017,14 @@ const pd = Us.defineTheme("light", {
7011
7017
  cursorColour: ""
7012
7018
  }
7013
7019
  });
7014
- function fd(e) {
7020
+ function hd(e) {
7015
7021
  const t = vt();
7016
7022
  switch (e) {
7017
7023
  case "light":
7018
- t.setTheme(pd);
7024
+ t.setTheme(dd);
7019
7025
  break;
7020
7026
  case "dark":
7021
- t.setTheme(dd);
7027
+ t.setTheme(fd);
7022
7028
  break;
7023
7029
  }
7024
7030
  }
@@ -7685,7 +7691,7 @@ const uo = {
7685
7691
  }
7686
7692
  }
7687
7693
  ]
7688
- }, hd = {
7694
+ }, gd = {
7689
7695
  kind: "categoryToolbox",
7690
7696
  contents: [
7691
7697
  {
@@ -7721,7 +7727,7 @@ const uo = {
7721
7727
  custom: gr.name
7722
7728
  }
7723
7729
  ]
7724
- }, gd = {
7730
+ }, Td = {
7725
7731
  kind: "categoryToolbox",
7726
7732
  contents: [
7727
7733
  fo,
@@ -7744,7 +7750,7 @@ const uo = {
7744
7750
  custom: at.name
7745
7751
  }
7746
7752
  ]
7747
- }, Td = {
7753
+ }, md = {
7748
7754
  kind: "categoryToolbox",
7749
7755
  contents: [
7750
7756
  {
@@ -7779,7 +7785,7 @@ const uo = {
7779
7785
  custom: at.name
7780
7786
  }
7781
7787
  ]
7782
- }, md = {
7788
+ }, Ed = {
7783
7789
  kind: "categoryToolbox",
7784
7790
  contents: [
7785
7791
  {
@@ -7816,14 +7822,14 @@ const uo = {
7816
7822
  }
7817
7823
  ]
7818
7824
  };
7819
- var Ed = "M19.36,2.72L20.78,4.14L15.06,9.85C16.13,11.39 16.28,13.24 15.38,14.44L9.06,8.12C10.26,7.22 12.11,7.37 13.65,8.44L19.36,2.72M5.93,17.57C3.92,15.56 2.69,13.16 2.35,10.92L7.23,8.83L14.67,16.27L12.58,21.15C10.34,20.81 7.94,19.58 5.93,17.57Z", Or = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", bd = "M21 11H3V9H21V11M21 13H3V15H21V13Z", vd = "M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z", Ad = "M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z", Od = "M21 3L3 10.53V11.5L9.84 14.16L12.5 21H13.46L21 3Z";
7820
- const yd = /* @__PURE__ */ Xe({
7825
+ var bd = "M19.36,2.72L20.78,4.14L15.06,9.85C16.13,11.39 16.28,13.24 15.38,14.44L9.06,8.12C10.26,7.22 12.11,7.37 13.65,8.44L19.36,2.72M5.93,17.57C3.92,15.56 2.69,13.16 2.35,10.92L7.23,8.83L14.67,16.27L12.58,21.15C10.34,20.81 7.94,19.58 5.93,17.57Z", Or = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", vd = "M21 11H3V9H21V11M21 13H3V15H21V13Z", Ad = "M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z", Od = "M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z", yd = "M21 3L3 10.53V11.5L9.84 14.16L12.5 21H13.46L21 3Z";
7826
+ const Id = /* @__PURE__ */ Xe({
7821
7827
  __name: "index",
7822
7828
  props: {
7823
7829
  lock: { type: Boolean }
7824
7830
  },
7825
7831
  setup(e) {
7826
- const { t } = dn(), n = e, o = () => {
7832
+ const { t } = fn(), n = e, o = () => {
7827
7833
  if (n.lock) {
7828
7834
  Vs(t("x-block-lib.msg.cannotOperateInLockedState"));
7829
7835
  return;
@@ -7848,7 +7854,7 @@ const yd = /* @__PURE__ */ Xe({
7848
7854
  class: "mr-3",
7849
7855
  variant: "outlined",
7850
7856
  density: "comfortable",
7851
- icon: P(Ed),
7857
+ icon: P(bd),
7852
7858
  onClick: s[0] || (s[0] = (_) => P(He).emit("cleanWorkspace"))
7853
7859
  }), null, 16, ["icon"])
7854
7860
  ]),
@@ -7856,7 +7862,7 @@ const yd = /* @__PURE__ */ Xe({
7856
7862
  }, 8, ["text"]);
7857
7863
  };
7858
7864
  }
7859
- }), Id = /* @__PURE__ */ Xe({
7865
+ }), Cd = /* @__PURE__ */ Xe({
7860
7866
  __name: "index",
7861
7867
  props: {
7862
7868
  modelValue: { type: Boolean, required: !0 },
@@ -7864,7 +7870,7 @@ const yd = /* @__PURE__ */ Xe({
7864
7870
  },
7865
7871
  emits: ["update:modelValue"],
7866
7872
  setup(e) {
7867
- const { t } = dn(), n = Yo(e, "modelValue");
7873
+ const { t } = fn(), n = Yo(e, "modelValue");
7868
7874
  return (o, i) => {
7869
7875
  const s = ge("v-btn"), r = ge("v-tooltip");
7870
7876
  return ue(), Ve(r, {
@@ -7875,7 +7881,7 @@ const yd = /* @__PURE__ */ Xe({
7875
7881
  class: "mr-3",
7876
7882
  variant: "outlined",
7877
7883
  density: "comfortable",
7878
- icon: n.value ? P(vd) : P(Ad),
7884
+ icon: n.value ? P(Ad) : P(Od),
7879
7885
  onClick: i[0] || (i[0] = (l) => n.value = !n.value)
7880
7886
  }), null, 16, ["icon"])
7881
7887
  ]),
@@ -7884,7 +7890,7 @@ const yd = /* @__PURE__ */ Xe({
7884
7890
  };
7885
7891
  }
7886
7892
  });
7887
- var Cd = Object.defineProperty, jn = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, as = (e, t, n) => t in e ? Cd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ut = (e, t) => {
7893
+ var Sd = Object.defineProperty, jn = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, as = (e, t, n) => t in e ? Sd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ut = (e, t) => {
7888
7894
  for (var n in t || (t = {}))
7889
7895
  yr.call(t, n) && as(e, n, t[n]);
7890
7896
  if (jn)
@@ -7901,20 +7907,20 @@ var Cd = Object.defineProperty, jn = Object.getOwnPropertySymbols, yr = Object.p
7901
7907
  return n;
7902
7908
  };
7903
7909
  const Sr = "[vue-draggable-plus]: ";
7904
- function Sd(e) {
7910
+ function Ld(e) {
7905
7911
  console.warn(Sr + e);
7906
7912
  }
7907
- function Ld(e) {
7913
+ function Nd(e) {
7908
7914
  console.error(Sr + e);
7909
7915
  }
7910
7916
  function ls(e, t, n) {
7911
7917
  return n >= 0 && n < e.length && e.splice(n, 0, e.splice(t, 1)[0]), e;
7912
7918
  }
7913
- function Nd(e) {
7919
+ function Bd(e) {
7914
7920
  return e.replace(/-(\w)/g, (t, n) => n ? n.toUpperCase() : "");
7915
7921
  }
7916
- function Bd(e) {
7917
- return Object.keys(e).reduce((t, n) => (typeof e[n] < "u" && (t[Nd(n)] = e[n]), t), {});
7922
+ function kd(e) {
7923
+ return Object.keys(e).reduce((t, n) => (typeof e[n] < "u" && (t[Bd(n)] = e[n]), t), {});
7918
7924
  }
7919
7925
  function cs(e, t) {
7920
7926
  return Array.isArray(e) && e.splice(t, 1), e;
@@ -7922,10 +7928,10 @@ function cs(e, t) {
7922
7928
  function us(e, t, n) {
7923
7929
  return Array.isArray(e) && e.splice(t, 0, n), e;
7924
7930
  }
7925
- function kd(e) {
7931
+ function Rd(e) {
7926
7932
  return typeof e > "u";
7927
7933
  }
7928
- function Rd(e) {
7934
+ function Md(e) {
7929
7935
  return typeof e == "string";
7930
7936
  }
7931
7937
  function _s(e, t, n) {
@@ -7935,23 +7941,23 @@ function _s(e, t, n) {
7935
7941
  function Bo(e) {
7936
7942
  e.parentNode && e.parentNode.removeChild(e);
7937
7943
  }
7938
- function Md(e, t = document) {
7944
+ function Dd(e, t = document) {
7939
7945
  var n;
7940
7946
  let o = null;
7941
- return typeof (t == null ? void 0 : t.querySelector) == "function" ? o = (n = t == null ? void 0 : t.querySelector) == null ? void 0 : n.call(t, e) : o = document.querySelector(e), o || Sd(`Element not found: ${e}`), o;
7947
+ return typeof (t == null ? void 0 : t.querySelector) == "function" ? o = (n = t == null ? void 0 : t.querySelector) == null ? void 0 : n.call(t, e) : o = document.querySelector(e), o || Ld(`Element not found: ${e}`), o;
7942
7948
  }
7943
- function Dd(e, t, n = null) {
7949
+ function xd(e, t, n = null) {
7944
7950
  return function(...o) {
7945
7951
  return e.apply(n, o), t.apply(n, o);
7946
7952
  };
7947
7953
  }
7948
- function xd(e, t) {
7954
+ function wd(e, t) {
7949
7955
  const n = Ut({}, e);
7950
7956
  return Object.keys(t).forEach((o) => {
7951
- n[o] ? n[o] = Dd(e[o], t[o]) : n[o] = t[o];
7957
+ n[o] ? n[o] = xd(e[o], t[o]) : n[o] = t[o];
7952
7958
  }), n;
7953
7959
  }
7954
- function wd(e) {
7960
+ function Pd(e) {
7955
7961
  return e instanceof HTMLElement;
7956
7962
  }
7957
7963
  function ps(e, t) {
@@ -7959,11 +7965,11 @@ function ps(e, t) {
7959
7965
  t(n, e[n]);
7960
7966
  });
7961
7967
  }
7962
- function Pd(e) {
7968
+ function Ud(e) {
7963
7969
  return e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
7964
7970
  (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97);
7965
7971
  }
7966
- const Ud = Object.assign;
7972
+ const Vd = Object.assign;
7967
7973
  /**!
7968
7974
  * Sortable 1.15.2
7969
7975
  * @author RubaXa <trash@rubaxa.org>
@@ -7984,7 +7990,7 @@ function je(e) {
7984
7990
  for (var t = 1; t < arguments.length; t++) {
7985
7991
  var n = arguments[t] != null ? arguments[t] : {};
7986
7992
  t % 2 ? ds(Object(n), !0).forEach(function(o) {
7987
- Vd(e, o, n[o]);
7993
+ Fd(e, o, n[o]);
7988
7994
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ds(Object(n)).forEach(function(o) {
7989
7995
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
7990
7996
  });
@@ -7999,7 +8005,7 @@ function xn(e) {
7999
8005
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8000
8006
  }, xn(e);
8001
8007
  }
8002
- function Vd(e, t, n) {
8008
+ function Fd(e, t, n) {
8003
8009
  return t in e ? Object.defineProperty(e, t, {
8004
8010
  value: n,
8005
8011
  enumerable: !0,
@@ -8017,7 +8023,7 @@ function tt() {
8017
8023
  return e;
8018
8024
  }, tt.apply(this, arguments);
8019
8025
  }
8020
- function Fd(e, t) {
8026
+ function Yd(e, t) {
8021
8027
  if (e == null)
8022
8028
  return {};
8023
8029
  var n = {}, o = Object.keys(e), i, s;
@@ -8025,10 +8031,10 @@ function Fd(e, t) {
8025
8031
  i = o[s], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
8026
8032
  return n;
8027
8033
  }
8028
- function Yd(e, t) {
8034
+ function Kd(e, t) {
8029
8035
  if (e == null)
8030
8036
  return {};
8031
- var n = Fd(e, t), o, i;
8037
+ var n = Yd(e, t), o, i;
8032
8038
  if (Object.getOwnPropertySymbols) {
8033
8039
  var s = Object.getOwnPropertySymbols(e);
8034
8040
  for (i = 0; i < s.length; i++)
@@ -8036,12 +8042,12 @@ function Yd(e, t) {
8036
8042
  }
8037
8043
  return n;
8038
8044
  }
8039
- var Kd = "1.15.2";
8045
+ var Hd = "1.15.2";
8040
8046
  function Qe(e) {
8041
8047
  if (typeof window < "u" && window.navigator)
8042
8048
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
8043
8049
  }
8044
- var ot = Qe(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Tn = Qe(/Edge/i), fs = Qe(/firefox/i), tn = Qe(/safari/i) && !Qe(/chrome/i) && !Qe(/android/i), Lr = Qe(/iP(ad|od|hone)/i), Nr = Qe(/chrome/i) && Qe(/android/i), Br = {
8050
+ var ot = Qe(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Tn = Qe(/Edge/i), fs = Qe(/firefox/i), nn = Qe(/safari/i) && !Qe(/chrome/i) && !Qe(/android/i), Lr = Qe(/iP(ad|od|hone)/i), Nr = Qe(/chrome/i) && Qe(/android/i), Br = {
8045
8051
  capture: !1,
8046
8052
  passive: !1
8047
8053
  };
@@ -8067,7 +8073,7 @@ function Xn(e, t) {
8067
8073
  return !1;
8068
8074
  }
8069
8075
  }
8070
- function Hd(e) {
8076
+ function $d(e) {
8071
8077
  return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
8072
8078
  }
8073
8079
  function we(e, t, n, o) {
@@ -8078,7 +8084,7 @@ function we(e, t, n, o) {
8078
8084
  return e;
8079
8085
  if (e === n)
8080
8086
  break;
8081
- } while (e = Hd(e));
8087
+ } while (e = $d(e));
8082
8088
  }
8083
8089
  return null;
8084
8090
  }
@@ -8195,7 +8201,7 @@ function Ts(e) {
8195
8201
  } while (e !== o && (e = e.parentNode));
8196
8202
  return [t, n];
8197
8203
  }
8198
- function $d(e, t) {
8204
+ function Gd(e, t) {
8199
8205
  for (var n in e)
8200
8206
  if (e.hasOwnProperty(n)) {
8201
8207
  for (var o in t)
@@ -8222,7 +8228,7 @@ function ct(e, t) {
8222
8228
  while (n = n.parentNode);
8223
8229
  return Ge();
8224
8230
  }
8225
- function Gd(e, t) {
8231
+ function jd(e, t) {
8226
8232
  if (e && t)
8227
8233
  for (var n in t)
8228
8234
  t.hasOwnProperty(n) && (e[n] = t[n]);
@@ -8231,19 +8237,19 @@ function Gd(e, t) {
8231
8237
  function ko(e, t) {
8232
8238
  return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
8233
8239
  }
8234
- var nn;
8240
+ var on;
8235
8241
  function Rr(e, t) {
8236
8242
  return function() {
8237
- if (!nn) {
8243
+ if (!on) {
8238
8244
  var n = arguments, o = this;
8239
- n.length === 1 ? e.call(o, n[0]) : e.apply(o, n), nn = setTimeout(function() {
8240
- nn = void 0;
8245
+ n.length === 1 ? e.call(o, n[0]) : e.apply(o, n), on = setTimeout(function() {
8246
+ on = void 0;
8241
8247
  }, t);
8242
8248
  }
8243
8249
  };
8244
8250
  }
8245
- function jd() {
8246
- clearTimeout(nn), nn = void 0;
8251
+ function Xd() {
8252
+ clearTimeout(on), on = void 0;
8247
8253
  }
8248
8254
  function Mr(e, t, n) {
8249
8255
  e.scrollLeft += t, e.scrollTop += n;
@@ -8263,7 +8269,7 @@ function xr(e, t, n) {
8263
8269
  }), o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
8264
8270
  }
8265
8271
  var Re = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
8266
- function Xd() {
8272
+ function Wd() {
8267
8273
  var e = [], t;
8268
8274
  return {
8269
8275
  captureAnimationState: function() {
@@ -8289,7 +8295,7 @@ function Xd() {
8289
8295
  e.push(n);
8290
8296
  },
8291
8297
  removeAnimationState: function(n) {
8292
- e.splice($d(e, {
8298
+ e.splice(Gd(e, {
8293
8299
  target: n
8294
8300
  }), 1);
8295
8301
  },
@@ -8303,7 +8309,7 @@ function Xd() {
8303
8309
  e.forEach(function(r) {
8304
8310
  var a = 0, l = r.target, _ = l.fromRect, d = ce(l), p = l.prevFromRect, f = l.prevToRect, g = r.rect, v = Yt(l, !0);
8305
8311
  v && (d.top -= v.f, d.left -= v.e), l.toRect = d, l.thisAnimationDuration && ko(p, d) && !ko(_, d) && // Make sure animatingRect is on line between toRect & fromRect
8306
- (g.top - d.top) / (g.left - d.left) === (_.top - d.top) / (_.left - d.left) && (a = zd(g, p, f, o.options)), ko(d, _) || (l.prevFromRect = _, l.prevToRect = d, a || (a = o.options.animation), o.animate(l, g, d, a)), a && (i = !0, s = Math.max(s, a), clearTimeout(l.animationResetTimer), l.animationResetTimer = setTimeout(function() {
8312
+ (g.top - d.top) / (g.left - d.left) === (_.top - d.top) / (_.left - d.left) && (a = Jd(g, p, f, o.options)), ko(d, _) || (l.prevFromRect = _, l.prevToRect = d, a || (a = o.options.animation), o.animate(l, g, d, a)), a && (i = !0, s = Math.max(s, a), clearTimeout(l.animationResetTimer), l.animationResetTimer = setTimeout(function() {
8307
8313
  l.animationTime = 0, l.prevFromRect = null, l.fromRect = null, l.prevToRect = null, l.thisAnimationDuration = null;
8308
8314
  }, a), l.thisAnimationDuration = a);
8309
8315
  }), clearTimeout(t), i ? t = setTimeout(function() {
@@ -8314,17 +8320,17 @@ function Xd() {
8314
8320
  if (s) {
8315
8321
  B(n, "transition", ""), B(n, "transform", "");
8316
8322
  var r = Yt(this.el), a = r && r.a, l = r && r.d, _ = (o.left - i.left) / (a || 1), d = (o.top - i.top) / (l || 1);
8317
- n.animatingX = !!_, n.animatingY = !!d, B(n, "transform", "translate3d(" + _ + "px," + d + "px,0)"), this.forRepaintDummy = Wd(n), B(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), B(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
8323
+ n.animatingX = !!_, n.animatingY = !!d, B(n, "transform", "translate3d(" + _ + "px," + d + "px,0)"), this.forRepaintDummy = zd(n), B(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), B(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
8318
8324
  B(n, "transition", ""), B(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
8319
8325
  }, s);
8320
8326
  }
8321
8327
  }
8322
8328
  };
8323
8329
  }
8324
- function Wd(e) {
8330
+ function zd(e) {
8325
8331
  return e.offsetWidth;
8326
8332
  }
8327
- function zd(e, t, n, o) {
8333
+ function Jd(e, t, n, o) {
8328
8334
  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;
8329
8335
  }
8330
8336
  var Mt = [], Ro = {
@@ -8379,7 +8385,7 @@ var Mt = [], Ro = {
8379
8385
  }), o;
8380
8386
  }
8381
8387
  };
8382
- function Jd(e) {
8388
+ function qd(e) {
8383
8389
  var t = e.sortable, n = e.rootEl, o = e.name, i = e.targetEl, s = e.cloneEl, r = e.toEl, a = e.fromEl, l = e.oldIndex, _ = e.newIndex, d = e.oldDraggableIndex, p = e.newDraggableIndex, f = e.originalEvent, g = e.putSortable, v = e.extraEventProperties;
8384
8390
  if (t = t || n && n[Re], !!t) {
8385
8391
  var E, I = t.options, C = "on" + o.charAt(0).toUpperCase() + o.substr(1);
@@ -8393,8 +8399,8 @@ function Jd(e) {
8393
8399
  n && n.dispatchEvent(E), I[C] && I[C].call(t, E);
8394
8400
  }
8395
8401
  }
8396
- var qd = ["evt"], Se = function(e, t) {
8397
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = n.evt, i = Yd(n, qd);
8402
+ var Zd = ["evt"], Se = function(e, t) {
8403
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = n.evt, i = Kd(n, Zd);
8398
8404
  mn.pluginEvent.bind(k)(e, t, je({
8399
8405
  dragEl: T,
8400
8406
  parentEl: se,
@@ -8404,12 +8410,12 @@ var qd = ["evt"], Se = function(e, t) {
8404
8410
  lastDownEl: wn,
8405
8411
  cloneEl: ie,
8406
8412
  cloneHidden: rt,
8407
- dragStarted: zt,
8413
+ dragStarted: Jt,
8408
8414
  putSortable: he,
8409
8415
  activeSortable: k.active,
8410
8416
  originalEvent: o,
8411
8417
  oldIndex: Vt,
8412
- oldDraggableIndex: on,
8418
+ oldDraggableIndex: sn,
8413
8419
  newIndex: ke,
8414
8420
  newDraggableIndex: it,
8415
8421
  hideGhostForTarget: Vr,
@@ -8430,18 +8436,18 @@ var qd = ["evt"], Se = function(e, t) {
8430
8436
  }, i));
8431
8437
  };
8432
8438
  function Ie(e) {
8433
- Jd(je({
8439
+ qd(je({
8434
8440
  putSortable: he,
8435
8441
  cloneEl: ie,
8436
8442
  targetEl: T,
8437
8443
  rootEl: oe,
8438
8444
  oldIndex: Vt,
8439
- oldDraggableIndex: on,
8445
+ oldDraggableIndex: sn,
8440
8446
  newIndex: ke,
8441
8447
  newDraggableIndex: it
8442
8448
  }, e));
8443
8449
  }
8444
- var T, se, M, oe, Et, wn, ie, rt, Vt, ke, on, it, Sn, he, Pt = !1, Wn = !1, zn = [], Tt, xe, Mo, Do, ms, Es, zt, Dt, sn, rn = !1, Ln = !1, Pn, Ee, xo = [], qo = !1, Jn = [], mo = typeof document < "u", Nn = Lr, bs = Tn || ot ? "cssFloat" : "float", Zd = mo && !Nr && !Lr && "draggable" in document.createElement("div"), wr = function() {
8450
+ var T, se, M, oe, Et, wn, ie, rt, Vt, ke, sn, it, Sn, he, Pt = !1, Wn = !1, zn = [], Tt, xe, Mo, Do, ms, Es, Jt, Dt, rn, an = !1, Ln = !1, Pn, Ee, xo = [], qo = !1, Jn = [], mo = typeof document < "u", Nn = Lr, bs = Tn || ot ? "cssFloat" : "float", Qd = mo && !Nr && !Lr && "draggable" in document.createElement("div"), wr = function() {
8445
8451
  if (mo) {
8446
8452
  if (ot)
8447
8453
  return !1;
@@ -8459,10 +8465,10 @@ var T, se, M, oe, Et, wn, ie, rt, Vt, ke, on, it, Sn, he, Pt = !1, Wn = !1, zn =
8459
8465
  return s && (a.clear === "both" || a.clear === d) ? "vertical" : "horizontal";
8460
8466
  }
8461
8467
  return i && (r.display === "block" || r.display === "flex" || r.display === "table" || r.display === "grid" || l >= o && n[bs] === "none" || s && n[bs] === "none" && l + _ > o) ? "vertical" : "horizontal";
8462
- }, Qd = function(e, t, n) {
8468
+ }, ef = function(e, t, n) {
8463
8469
  var o = n ? e.left : e.top, i = n ? e.right : e.bottom, s = n ? e.width : e.height, r = n ? t.left : t.top, a = n ? t.right : t.bottom, l = n ? t.width : t.height;
8464
8470
  return o === r || i === a || o + s / 2 === r + l / 2;
8465
- }, ef = function(e, t) {
8471
+ }, tf = function(e, t) {
8466
8472
  var n;
8467
8473
  return zn.some(function(o) {
8468
8474
  var i = o[Re].options.emptyInsertThreshold;
@@ -8504,7 +8510,7 @@ mo && !Nr && document.addEventListener("click", function(e) {
8504
8510
  var mt = function(e) {
8505
8511
  if (T) {
8506
8512
  e = e.touches ? e.touches[0] : e;
8507
- var t = ef(e.clientX, e.clientY);
8513
+ var t = tf(e.clientX, e.clientY);
8508
8514
  if (t) {
8509
8515
  var n = {};
8510
8516
  for (var o in e)
@@ -8512,7 +8518,7 @@ var mt = function(e) {
8512
8518
  n.target = n.rootEl = t, n.preventDefault = void 0, n.stopPropagation = void 0, t[Re]._onDragOver(n);
8513
8519
  }
8514
8520
  }
8515
- }, tf = function(e) {
8521
+ }, nf = function(e) {
8516
8522
  T && T.parentNode[Re]._isOutsideThisEl(e.target);
8517
8523
  };
8518
8524
  function k(e, t) {
@@ -8561,7 +8567,7 @@ function k(e, t) {
8561
8567
  x: 0,
8562
8568
  y: 0
8563
8569
  },
8564
- supportPointer: k.supportPointer !== !1 && "PointerEvent" in window && !tn,
8570
+ supportPointer: k.supportPointer !== !1 && "PointerEvent" in window && !nn,
8565
8571
  emptyInsertThreshold: 5
8566
8572
  };
8567
8573
  mn.initializePlugins(this, e, n);
@@ -8570,7 +8576,7 @@ function k(e, t) {
8570
8576
  Ur(t);
8571
8577
  for (var i in this)
8572
8578
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
8573
- this.nativeDraggable = t.forceFallback ? !1 : Zd, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? H(e, "pointerdown", this._onTapStart) : (H(e, "mousedown", this._onTapStart), H(e, "touchstart", this._onTapStart)), this.nativeDraggable && (H(e, "dragover", this), H(e, "dragenter", this)), zn.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), tt(this, Xd());
8579
+ this.nativeDraggable = t.forceFallback ? !1 : Qd, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? H(e, "pointerdown", this._onTapStart) : (H(e, "mousedown", this._onTapStart), H(e, "touchstart", this._onTapStart)), this.nativeDraggable && (H(e, "dragover", this), H(e, "dragenter", this)), zn.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), tt(this, Wd());
8574
8580
  }
8575
8581
  k.prototype = /** @lends Sortable.prototype */
8576
8582
  {
@@ -8584,8 +8590,8 @@ k.prototype = /** @lends Sortable.prototype */
8584
8590
  _onTapStart: function(e) {
8585
8591
  if (e.cancelable) {
8586
8592
  var t = this, n = this.el, o = this.options, i = o.preventOnFilter, s = e.type, r = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, a = (r || e).target, l = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || a, _ = o.filter;
8587
- if (uf(n), !T && !(/mousedown|pointerdown/.test(s) && e.button !== 0 || o.disabled) && !l.isContentEditable && !(!this.nativeDraggable && tn && a && a.tagName.toUpperCase() === "SELECT") && (a = we(a, o.draggable, n, !1), !(a && a.animated) && wn !== a)) {
8588
- if (Vt = Me(a), on = Me(a, o.draggable), typeof _ == "function") {
8593
+ if (_f(n), !T && !(/mousedown|pointerdown/.test(s) && e.button !== 0 || o.disabled) && !l.isContentEditable && !(!this.nativeDraggable && nn && a && a.tagName.toUpperCase() === "SELECT") && (a = we(a, o.draggable, n, !1), !(a && a.animated) && wn !== a)) {
8594
+ if (Vt = Me(a), sn = Me(a, o.draggable), typeof _ == "function") {
8589
8595
  if (_.call(this, e, a, this)) {
8590
8596
  Ie({
8591
8597
  sortable: t,
@@ -8677,7 +8683,7 @@ k.prototype = /** @lends Sortable.prototype */
8677
8683
  if (Pt = !1, oe && T) {
8678
8684
  Se("dragStarted", this, {
8679
8685
  evt: t
8680
- }), this.nativeDraggable && H(document, "dragover", tf);
8686
+ }), this.nativeDraggable && H(document, "dragover", nf);
8681
8687
  var n = this.options;
8682
8688
  !e && Be(T, n.dragClass, !1), Be(T, n.ghostClass, !0), k.active = this, e && this._appendGhost(), Ie({
8683
8689
  sortable: this,
@@ -8756,7 +8762,7 @@ k.prototype = /** @lends Sortable.prototype */
8756
8762
  sortable: n,
8757
8763
  name: "clone"
8758
8764
  }));
8759
- }), !t && Be(T, i.dragClass, !0), t ? (Wn = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Y(document, "mouseup", n._onDrop), Y(document, "touchend", n._onDrop), Y(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(n, o, T)), H(document, "drop", n), B(T, "transform", "translateZ(0)")), Pt = !0, n._dragStartId = Un(n._dragStarted.bind(n, t, e)), H(document, "selectstart", n), zt = !0, tn && B(document.body, "user-select", "none");
8765
+ }), !t && Be(T, i.dragClass, !0), t ? (Wn = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Y(document, "mouseup", n._onDrop), Y(document, "touchend", n._onDrop), Y(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(n, o, T)), H(document, "drop", n), B(T, "transform", "translateZ(0)")), Pt = !0, n._dragStartId = Un(n._dragStarted.bind(n, t, e)), H(document, "selectstart", n), Jt = !0, nn && B(document.body, "user-select", "none");
8760
8766
  },
8761
8767
  // Returns true - if no further action is needed (either inserted or another condition)
8762
8768
  _onDragOver: function(e) {
@@ -8811,12 +8817,12 @@ k.prototype = /** @lends Sortable.prototype */
8811
8817
  if (s)
8812
8818
  return se = oe, I(), this._hideClone(), E("revert"), k.eventCanceled || (Et ? oe.insertBefore(T, Et) : oe.appendChild(T)), C(!0);
8813
8819
  var V = hi(t, r.draggable);
8814
- if (!V || rf(e, f, this) && !V.animated) {
8820
+ if (!V || af(e, f, this) && !V.animated) {
8815
8821
  if (V === T)
8816
8822
  return C(!1);
8817
8823
  if (V && t === e.target && (n = V), n && (i = ce(n)), Bn(oe, t, T, o, n, i, e, !!n) !== !1)
8818
8824
  return I(), V && V.nextSibling ? t.insertBefore(T, V.nextSibling) : t.appendChild(T), se = t, U(), C(!0);
8819
- } else if (V && sf(e, f, this)) {
8825
+ } else if (V && rf(e, f, this)) {
8820
8826
  var J = $t(t, 0, r, !0);
8821
8827
  if (J === T)
8822
8828
  return C(!1);
@@ -8824,8 +8830,8 @@ k.prototype = /** @lends Sortable.prototype */
8824
8830
  return I(), t.insertBefore(T, J), se = t, U(), C(!0);
8825
8831
  } else if (n.parentNode === t) {
8826
8832
  i = ce(n);
8827
- var K = 0, ae, Ce = T.parentNode !== t, L = !Qd(T.animated && T.toRect || o, n.animated && n.toRect || i, f), N = f ? "top" : "left", G = gs(n, "top", "top") || gs(T, "top", "top"), Z = G ? G.scrollTop : void 0;
8828
- Dt !== n && (ae = i[N], rn = !1, Ln = !L && r.invertSwap || Ce), K = af(e, n, i, f, L ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, Ln, Dt === n);
8833
+ var K = 0, ae, Ce = T.parentNode !== t, L = !ef(T.animated && T.toRect || o, n.animated && n.toRect || i, f), N = f ? "top" : "left", G = gs(n, "top", "top") || gs(T, "top", "top"), Z = G ? G.scrollTop : void 0;
8834
+ Dt !== n && (ae = i[N], an = !1, Ln = !L && r.invertSwap || Ce), K = lf(e, n, i, f, L ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, Ln, Dt === n);
8829
8835
  var S;
8830
8836
  if (K !== 0) {
8831
8837
  var j = Me(T);
@@ -8835,12 +8841,12 @@ k.prototype = /** @lends Sortable.prototype */
8835
8841
  }
8836
8842
  if (K === 0 || S === n)
8837
8843
  return C(!1);
8838
- Dt = n, sn = K;
8844
+ Dt = n, rn = K;
8839
8845
  var te = n.nextElementSibling, X = !1;
8840
8846
  X = K === 1;
8841
8847
  var ve = Bn(oe, t, T, o, n, i, e, X);
8842
8848
  if (ve !== !1)
8843
- return (ve === 1 || ve === -1) && (X = ve === 1), qo = !0, setTimeout(of, 30), I(), X && !te ? t.appendChild(T) : n.parentNode.insertBefore(T, X ? te : n), G && Mr(G, 0, Z - G.scrollTop), se = T.parentNode, ae !== void 0 && !Ln && (Pn = Math.abs(ae - ce(n)[N])), U(), C(!0);
8849
+ return (ve === 1 || ve === -1) && (X = ve === 1), qo = !0, setTimeout(sf, 30), I(), X && !te ? t.appendChild(T) : n.parentNode.insertBefore(T, X ? te : n), G && Mr(G, 0, Z - G.scrollTop), se = T.parentNode, ae !== void 0 && !Ln && (Pn = Math.abs(ae - ce(n)[N])), U(), C(!0);
8844
8850
  }
8845
8851
  if (t.contains(T))
8846
8852
  return C(!1);
@@ -8863,7 +8869,7 @@ k.prototype = /** @lends Sortable.prototype */
8863
8869
  this._nulling();
8864
8870
  return;
8865
8871
  }
8866
- Pt = !1, Ln = !1, rn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Zo(this.cloneId), Zo(this._dragStartId), this.nativeDraggable && (Y(document, "drop", this), Y(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), tn && B(document.body, "user-select", ""), B(T, "transform", ""), e && (zt && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), M && M.parentNode && M.parentNode.removeChild(M), (oe === se || he && he.lastPutMode !== "clone") && ie && ie.parentNode && ie.parentNode.removeChild(ie), T && (this.nativeDraggable && Y(T, "dragend", this), wo(T), T.style["will-change"] = "", zt && !Pt && Be(T, he ? he.options.ghostClass : this.options.ghostClass, !1), Be(T, this.options.chosenClass, !1), Ie({
8872
+ Pt = !1, Ln = !1, an = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Zo(this.cloneId), Zo(this._dragStartId), this.nativeDraggable && (Y(document, "drop", this), Y(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), nn && B(document.body, "user-select", ""), B(T, "transform", ""), e && (Jt && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), M && M.parentNode && M.parentNode.removeChild(M), (oe === se || he && he.lastPutMode !== "clone") && ie && ie.parentNode && ie.parentNode.removeChild(ie), T && (this.nativeDraggable && Y(T, "dragend", this), wo(T), T.style["will-change"] = "", Jt && !Pt && Be(T, he ? he.options.ghostClass : this.options.ghostClass, !1), Be(T, this.options.chosenClass, !1), Ie({
8867
8873
  sortable: this,
8868
8874
  name: "unchoose",
8869
8875
  toEl: se,
@@ -8902,7 +8908,7 @@ k.prototype = /** @lends Sortable.prototype */
8902
8908
  name: "sort",
8903
8909
  toEl: se,
8904
8910
  originalEvent: e
8905
- })), k.active && ((ke == null || ke === -1) && (ke = Vt, it = on), Ie({
8911
+ })), k.active && ((ke == null || ke === -1) && (ke = Vt, it = sn), Ie({
8906
8912
  sortable: this,
8907
8913
  name: "end",
8908
8914
  toEl: se,
@@ -8910,7 +8916,7 @@ k.prototype = /** @lends Sortable.prototype */
8910
8916
  }), this.save()))), this._nulling();
8911
8917
  },
8912
8918
  _nulling: function() {
8913
- Se("nulling", this), oe = T = se = M = Et = ie = wn = rt = Tt = xe = zt = ke = it = Vt = on = Dt = sn = he = Sn = k.dragged = k.ghost = k.clone = k.active = null, Jn.forEach(function(e) {
8919
+ Se("nulling", this), oe = T = se = M = Et = ie = wn = rt = Tt = xe = Jt = ke = it = Vt = sn = Dt = rn = he = Sn = k.dragged = k.ghost = k.clone = k.active = null, Jn.forEach(function(e) {
8914
8920
  e.checked = !0;
8915
8921
  }), Jn.length = Mo = Do = 0;
8916
8922
  },
@@ -8922,7 +8928,7 @@ k.prototype = /** @lends Sortable.prototype */
8922
8928
  break;
8923
8929
  case "dragenter":
8924
8930
  case "dragover":
8925
- T && (this._onDragOver(e), nf(e));
8931
+ T && (this._onDragOver(e), of(e));
8926
8932
  break;
8927
8933
  case "selectstart":
8928
8934
  e.preventDefault();
@@ -8935,7 +8941,7 @@ k.prototype = /** @lends Sortable.prototype */
8935
8941
  */
8936
8942
  toArray: function() {
8937
8943
  for (var e = [], t, n = this.el.children, o = 0, i = n.length, s = this.options; o < i; o++)
8938
- t = n[o], we(t, s.draggable, this.el, !1) && e.push(t.getAttribute(s.dataIdAttr) || cf(t));
8944
+ t = n[o], we(t, s.draggable, this.el, !1) && e.push(t.getAttribute(s.dataIdAttr) || uf(t));
8939
8945
  return e;
8940
8946
  },
8941
8947
  /**
@@ -9009,7 +9015,7 @@ k.prototype = /** @lends Sortable.prototype */
9009
9015
  }
9010
9016
  }
9011
9017
  };
9012
- function nf(e) {
9018
+ function of(e) {
9013
9019
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
9014
9020
  }
9015
9021
  function Bn(e, t, n, o, i, s, r, a) {
@@ -9022,39 +9028,39 @@ function Bn(e, t, n, o, i, s, r, a) {
9022
9028
  function wo(e) {
9023
9029
  e.draggable = !1;
9024
9030
  }
9025
- function of() {
9031
+ function sf() {
9026
9032
  qo = !1;
9027
9033
  }
9028
- function sf(e, t, n) {
9034
+ function rf(e, t, n) {
9029
9035
  var o = ce($t(n.el, 0, n.options, !0)), i = xr(n.el, n.options, M), s = 10;
9030
9036
  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;
9031
9037
  }
9032
- function rf(e, t, n) {
9038
+ function af(e, t, n) {
9033
9039
  var o = ce(hi(n.el, n.options.draggable)), i = xr(n.el, n.options, M), s = 10;
9034
9040
  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;
9035
9041
  }
9036
- function af(e, t, n, o, i, s, r, a) {
9042
+ function lf(e, t, n, o, i, s, r, a) {
9037
9043
  var l = o ? e.clientY : e.clientX, _ = o ? n.height : n.width, d = o ? n.top : n.left, p = o ? n.bottom : n.right, f = !1;
9038
9044
  if (!r) {
9039
9045
  if (a && Pn < _ * i) {
9040
- if (!rn && (sn === 1 ? l > d + _ * s / 2 : l < p - _ * s / 2) && (rn = !0), rn)
9046
+ if (!an && (rn === 1 ? l > d + _ * s / 2 : l < p - _ * s / 2) && (an = !0), an)
9041
9047
  f = !0;
9042
- else if (sn === 1 ? l < d + Pn : l > p - Pn)
9043
- return -sn;
9048
+ else if (rn === 1 ? l < d + Pn : l > p - Pn)
9049
+ return -rn;
9044
9050
  } else if (l > d + _ * (1 - i) / 2 && l < p - _ * (1 - i) / 2)
9045
- return lf(t);
9051
+ return cf(t);
9046
9052
  }
9047
9053
  return f = f || r, f && (l < d + _ * s / 2 || l > p - _ * s / 2) ? l > d + _ / 2 ? 1 : -1 : 0;
9048
9054
  }
9049
- function lf(e) {
9055
+ function cf(e) {
9050
9056
  return Me(T) < Me(e) ? 1 : -1;
9051
9057
  }
9052
- function cf(e) {
9058
+ function uf(e) {
9053
9059
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
9054
9060
  o += t.charCodeAt(n);
9055
9061
  return o.toString(36);
9056
9062
  }
9057
- function uf(e) {
9063
+ function _f(e) {
9058
9064
  Jn.length = 0;
9059
9065
  for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
9060
9066
  var o = t[n];
@@ -9078,7 +9084,7 @@ k.utils = {
9078
9084
  is: function(e, t) {
9079
9085
  return !!we(e, t, e, !1);
9080
9086
  },
9081
- extend: Gd,
9087
+ extend: jd,
9082
9088
  throttle: Rr,
9083
9089
  closest: we,
9084
9090
  toggleClass: Be,
@@ -9104,9 +9110,9 @@ k.mount = function() {
9104
9110
  k.create = function(e, t) {
9105
9111
  return new k(e, t);
9106
9112
  };
9107
- k.version = Kd;
9108
- var le = [], Jt, Qo, ei = !1, Po, Uo, qn, qt;
9109
- function _f() {
9113
+ k.version = Hd;
9114
+ var le = [], qt, Qo, ei = !1, Po, Uo, qn, Zt;
9115
+ function pf() {
9110
9116
  function e() {
9111
9117
  this.defaults = {
9112
9118
  scroll: !0,
@@ -9128,20 +9134,20 @@ function _f() {
9128
9134
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
9129
9135
  },
9130
9136
  drop: function() {
9131
- this.sortable.nativeDraggable ? Y(document, "dragover", this._handleAutoScroll) : (Y(document, "pointermove", this._handleFallbackAutoScroll), Y(document, "touchmove", this._handleFallbackAutoScroll), Y(document, "mousemove", this._handleFallbackAutoScroll)), vs(), Vn(), jd();
9137
+ this.sortable.nativeDraggable ? Y(document, "dragover", this._handleAutoScroll) : (Y(document, "pointermove", this._handleFallbackAutoScroll), Y(document, "touchmove", this._handleFallbackAutoScroll), Y(document, "mousemove", this._handleFallbackAutoScroll)), vs(), Vn(), Xd();
9132
9138
  },
9133
9139
  nulling: function() {
9134
- qn = Qo = Jt = ei = qt = Po = Uo = null, le.length = 0;
9140
+ qn = Qo = qt = ei = Zt = Po = Uo = null, le.length = 0;
9135
9141
  },
9136
9142
  _handleFallbackAutoScroll: function(t) {
9137
9143
  this._handleAutoScroll(t, !0);
9138
9144
  },
9139
9145
  _handleAutoScroll: function(t, n) {
9140
9146
  var o = this, i = (t.touches ? t.touches[0] : t).clientX, s = (t.touches ? t.touches[0] : t).clientY, r = document.elementFromPoint(i, s);
9141
- if (qn = t, n || this.options.forceAutoScrollFallback || Tn || ot || tn) {
9147
+ if (qn = t, n || this.options.forceAutoScrollFallback || Tn || ot || nn) {
9142
9148
  Vo(t, this.options, r, n);
9143
9149
  var a = ct(r, !0);
9144
- ei && (!qt || i !== Po || s !== Uo) && (qt && vs(), qt = setInterval(function() {
9150
+ ei && (!Zt || i !== Po || s !== Uo) && (Zt && vs(), Zt = setInterval(function() {
9145
9151
  var l = ct(document.elementFromPoint(i, s), !0);
9146
9152
  l !== a && (a = l, Vn()), Vo(t, o.options, l, n);
9147
9153
  }, 10), Po = i, Uo = s);
@@ -9164,13 +9170,13 @@ function Vn() {
9164
9170
  }), le = [];
9165
9171
  }
9166
9172
  function vs() {
9167
- clearInterval(qt);
9173
+ clearInterval(Zt);
9168
9174
  }
9169
9175
  var Vo = Rr(function(e, t, n, o) {
9170
9176
  if (t.scroll) {
9171
9177
  var i = (e.touches ? e.touches[0] : e).clientX, s = (e.touches ? e.touches[0] : e).clientY, r = t.scrollSensitivity, a = t.scrollSpeed, l = Ge(), _ = !1, d;
9172
- Qo !== n && (Qo = n, Vn(), Jt = t.scroll, d = t.scrollFn, Jt === !0 && (Jt = ct(n, !0)));
9173
- var p = 0, f = Jt;
9178
+ Qo !== n && (Qo = n, Vn(), qt = t.scroll, d = t.scrollFn, qt === !0 && (qt = ct(n, !0)));
9179
+ var p = 0, f = qt;
9174
9180
  do {
9175
9181
  var g = f, v = ce(g), E = v.top, I = v.bottom, C = v.left, U = v.right, V = v.width, J = v.height, K = void 0, ae = void 0, Ce = g.scrollWidth, L = g.scrollHeight, N = B(g), G = g.scrollLeft, Z = g.scrollTop;
9176
9182
  g === l ? (K = V < Ce && (N.overflowX === "auto" || N.overflowX === "scroll" || N.overflowX === "visible"), ae = J < L && (N.overflowY === "auto" || N.overflowY === "scroll" || N.overflowY === "visible")) : (K = V < Ce && (N.overflowX === "auto" || N.overflowX === "scroll"), ae = J < L && (N.overflowY === "auto" || N.overflowY === "scroll"));
@@ -9231,29 +9237,29 @@ Ti.prototype = {
9231
9237
  tt(Ti, {
9232
9238
  pluginName: "removeOnSpill"
9233
9239
  });
9234
- k.mount(new _f());
9240
+ k.mount(new pf());
9235
9241
  k.mount(Ti, gi);
9236
- function pf(e) {
9242
+ function df(e) {
9237
9243
  return e == null ? e : JSON.parse(JSON.stringify(e));
9238
9244
  }
9239
- function df(e) {
9245
+ function ff(e) {
9240
9246
  Qn() && Ea(e);
9241
9247
  }
9242
- function ff(e) {
9248
+ function hf(e) {
9243
9249
  Qn() ? Kt(e) : oi(e);
9244
9250
  }
9245
9251
  let Kr = null, Hr = null;
9246
9252
  function As(e = null, t = null) {
9247
9253
  Kr = e, Hr = t;
9248
9254
  }
9249
- function hf() {
9255
+ function gf() {
9250
9256
  return {
9251
9257
  data: Kr,
9252
9258
  clonedData: Hr
9253
9259
  };
9254
9260
  }
9255
9261
  const Os = Symbol("cloneElement");
9256
- function gf(...e) {
9262
+ function Tf(...e) {
9257
9263
  var t, n;
9258
9264
  const o = (t = Qn()) == null ? void 0 : t.proxy;
9259
9265
  let i = null;
@@ -9263,7 +9269,7 @@ function gf(...e) {
9263
9269
  let l = null;
9264
9270
  const {
9265
9271
  immediate: _ = !0,
9266
- clone: d = pf,
9272
+ clone: d = df,
9267
9273
  customUpdate: p
9268
9274
  } = (n = P(a)) != null ? n : {};
9269
9275
  function f(L) {
@@ -9275,8 +9281,8 @@ function gf(...e) {
9275
9281
  }
9276
9282
  function g(L) {
9277
9283
  const N = L.item[Os];
9278
- if (!kd(N)) {
9279
- if (Bo(L.item), Zt(r)) {
9284
+ if (!Rd(N)) {
9285
+ if (Bo(L.item), Qt(r)) {
9280
9286
  const G = [...P(r)];
9281
9287
  r.value = us(G, L.newDraggableIndex, N);
9282
9288
  return;
@@ -9290,7 +9296,7 @@ function gf(...e) {
9290
9296
  Bo(te);
9291
9297
  return;
9292
9298
  }
9293
- if (Zt(r)) {
9299
+ if (Qt(r)) {
9294
9300
  const X = [...P(r)];
9295
9301
  r.value = cs(X, S);
9296
9302
  return;
@@ -9303,7 +9309,7 @@ function gf(...e) {
9303
9309
  return;
9304
9310
  }
9305
9311
  const { from: N, item: G, oldIndex: Z, newIndex: S } = L;
9306
- if (Bo(G), _s(N, G, Z), Zt(r)) {
9312
+ if (Bo(G), _s(N, G, Z), Qt(r)) {
9307
9313
  const j = [...P(r)];
9308
9314
  r.value = ls(j, Z, S);
9309
9315
  return;
@@ -9343,17 +9349,17 @@ function gf(...e) {
9343
9349
  };
9344
9350
  function U(L) {
9345
9351
  const N = P(s);
9346
- return L || (L = Rd(N) ? Md(N, o == null ? void 0 : o.$el) : N), L && !wd(L) && (L = L.$el), L || Ld("Root element not found"), L;
9352
+ return L || (L = Md(N) ? Dd(N, o == null ? void 0 : o.$el) : N), L && !Pd(L) && (L = L.$el), L || Nd("Root element not found"), L;
9347
9353
  }
9348
9354
  function V() {
9349
9355
  var L;
9350
9356
  const N = (L = P(a)) != null ? L : {}, G = Cr(N, ["immediate", "clone"]);
9351
9357
  return ps(G, (Z, S) => {
9352
- Pd(Z) && (G[Z] = (j, ...te) => {
9353
- const X = hf();
9354
- return Ud(j, X), S(j, ...te);
9358
+ Ud(Z) && (G[Z] = (j, ...te) => {
9359
+ const X = gf();
9360
+ return Vd(j, X), S(j, ...te);
9355
9361
  });
9356
- }), xd(
9362
+ }), wd(
9357
9363
  r === null ? {} : C,
9358
9364
  G
9359
9365
  );
@@ -9379,9 +9385,9 @@ function gf(...e) {
9379
9385
  toArray: () => l == null ? void 0 : l.toArray(),
9380
9386
  closest: (...L) => l == null ? void 0 : l.closest(...L)
9381
9387
  }, ae = () => K == null ? void 0 : K.option("disabled", !0), Ce = () => K == null ? void 0 : K.option("disabled", !1);
9382
- return ff(() => {
9388
+ return hf(() => {
9383
9389
  _ && J();
9384
- }), df(K.destroy), Ut({ start: J, pause: ae, resume: Ce }, K);
9390
+ }), ff(K.destroy), Ut({ start: J, pause: ae, resume: Ce }, K);
9385
9391
  }
9386
9392
  const ti = [
9387
9393
  "update",
@@ -9396,7 +9402,7 @@ const ti = [
9396
9402
  "clone",
9397
9403
  "move",
9398
9404
  "change"
9399
- ], Tf = [
9405
+ ], mf = [
9400
9406
  "clone",
9401
9407
  "animation",
9402
9408
  "ghostClass",
@@ -9441,13 +9447,13 @@ const ti = [
9441
9447
  "target",
9442
9448
  "customUpdate",
9443
9449
  ...ti.map((e) => `on${e.replace(/^\S/, (t) => t.toUpperCase())}`)
9444
- ], mf = Xe({
9450
+ ], Ef = Xe({
9445
9451
  name: "VueDraggable",
9446
9452
  model: {
9447
9453
  prop: "modelValue",
9448
9454
  event: "update:modelValue"
9449
9455
  },
9450
- props: Tf,
9456
+ props: mf,
9451
9457
  emits: ["update:modelValue", ...ti],
9452
9458
  setup(e, { slots: t, emit: n, expose: o, attrs: i }) {
9453
9459
  const s = ti.reduce((d, p) => {
@@ -9458,19 +9464,19 @@ const ti = [
9458
9464
  const I = P(E);
9459
9465
  return I !== void 0 && (g[v] = I), g;
9460
9466
  }, {});
9461
- return Ut(Ut({}, s), Bd(Ut(Ut({}, i), f)));
9467
+ return Ut(Ut({}, s), kd(Ut(Ut({}, i), f)));
9462
9468
  }), a = de({
9463
9469
  get: () => e.modelValue,
9464
9470
  set: (d) => n("update:modelValue", d)
9465
9471
  }), l = pt(), _ = ma(
9466
- gf(e.target || l, a, r)
9472
+ Tf(e.target || l, a, r)
9467
9473
  );
9468
9474
  return o(_), () => {
9469
9475
  var d;
9470
9476
  return Ko(e.tag || "div", { ref: l }, (d = t == null ? void 0 : t.default) == null ? void 0 : d.call(t, _));
9471
9477
  };
9472
9478
  }
9473
- }), Ef = { class: "text-subtitle-1 ml-6" }, bf = /* @__PURE__ */ Xe({
9479
+ }), bf = { class: "text-subtitle-1 ml-6" }, vf = /* @__PURE__ */ Xe({
9474
9480
  __name: "item",
9475
9481
  props: {
9476
9482
  id: {},
@@ -9504,12 +9510,12 @@ const ti = [
9504
9510
  onMouseover: p[2] || (p[2] = (E) => a.value = !0),
9505
9511
  onMouseout: p[3] || (p[3] = (E) => a.value = !1)
9506
9512
  }, [
9507
- Ue("span", Ef, eo(s.title), 1),
9513
+ Ue("span", bf, eo(s.title), 1),
9508
9514
  pe(f),
9509
9515
  pe(g, {
9510
9516
  class: "x-handle cursor-move mr-3",
9511
- icon: P(bd),
9512
- onMousedown: p[0] || (p[0] = Qt(() => {
9517
+ icon: P(vd),
9518
+ onMousedown: p[0] || (p[0] = en(() => {
9513
9519
  }, ["stop"]))
9514
9520
  }, null, 8, ["icon"]),
9515
9521
  Ue("div", {
@@ -9520,16 +9526,16 @@ const ti = [
9520
9526
  ]);
9521
9527
  };
9522
9528
  }
9523
- }), vf = {
9529
+ }), Af = {
9524
9530
  key: 1,
9525
9531
  class: "text-caption text-grey"
9526
- }, Af = /* @__PURE__ */ Xe({
9532
+ }, Of = /* @__PURE__ */ Xe({
9527
9533
  __name: "index",
9528
9534
  props: {
9529
9535
  lock: { type: Boolean }
9530
9536
  },
9531
9537
  setup(e) {
9532
- const { t } = dn(), n = e, o = pt([]), i = () => {
9538
+ const { t } = fn(), n = e, o = pt([]), i = () => {
9533
9539
  const p = vt();
9534
9540
  if (!p) {
9535
9541
  console.assert(!1);
@@ -9603,7 +9609,7 @@ const ti = [
9603
9609
  const g = f.getBlockById(p);
9604
9610
  Ba.setSelected(g), mr(p), _.value = !1;
9605
9611
  };
9606
- return (p, f) => o.value.length > 0 ? (ue(), Ve(P(mf), {
9612
+ return (p, f) => o.value.length > 0 ? (ue(), Ve(P(Ef), {
9607
9613
  key: 0,
9608
9614
  modelValue: o.value,
9609
9615
  "onUpdate:modelValue": f[0] || (f[0] = (g) => o.value = g),
@@ -9615,7 +9621,7 @@ const ti = [
9615
9621
  onEnd: l
9616
9622
  }, {
9617
9623
  default: $e(() => [
9618
- (ue(!0), _t(Ds, null, Aa(o.value, (g) => (ue(), Ve(bf, {
9624
+ (ue(!0), _t(Ds, null, Aa(o.value, (g) => (ue(), Ve(vf, {
9619
9625
  id: g.id,
9620
9626
  key: g.id,
9621
9627
  title: g.name,
@@ -9624,25 +9630,25 @@ const ti = [
9624
9630
  }, null, 8, ["id", "title", "select"]))), 128))
9625
9631
  ]),
9626
9632
  _: 1
9627
- }, 8, ["modelValue"])) : (ue(), _t("span", vf, eo(P(t)("x-block-lib.noOption")), 1));
9633
+ }, 8, ["modelValue"])) : (ue(), _t("span", Af, eo(P(t)("x-block-lib.noOption")), 1));
9628
9634
  }
9629
9635
  }), $r = (e, t) => {
9630
9636
  const n = e.__vccOpts || e;
9631
9637
  for (const [o, i] of t)
9632
9638
  n[o] = i;
9633
9639
  return n;
9634
- }, Of = /* @__PURE__ */ $r(Af, [["__scopeId", "data-v-91004712"]]), yf = {};
9635
- function If(e, t) {
9640
+ }, yf = /* @__PURE__ */ $r(Of, [["__scopeId", "data-v-91004712"]]), If = {};
9641
+ function Cf(e, t) {
9636
9642
  return ue(), _t("div", null, "blockTree");
9637
9643
  }
9638
- const Cf = /* @__PURE__ */ $r(yf, [["render", If]]), Sf = { class: "text-subtitle-1 ml-3" }, Lf = /* @__PURE__ */ Xe({
9644
+ const Sf = /* @__PURE__ */ $r(If, [["render", Cf]]), Lf = { class: "text-subtitle-1 ml-3" }, Nf = /* @__PURE__ */ Xe({
9639
9645
  __name: "index",
9640
9646
  props: {
9641
9647
  type: {},
9642
9648
  lock: { type: Boolean }
9643
9649
  },
9644
9650
  setup(e) {
9645
- const { t } = dn(), n = Ua(), { sysBarAvail: o } = Fs(), { backgroundColor1: i } = oo(), s = e, r = de(() => {
9651
+ const { t } = fn(), n = Ua(), { sysBarAvail: o } = Fs(), { backgroundColor1: i } = oo(), s = e, r = de(() => {
9646
9652
  let d = "100%";
9647
9653
  return n.mdAndUp.value && (d = "400px"), {
9648
9654
  background: i.value,
@@ -9664,19 +9670,19 @@ const Cf = /* @__PURE__ */ $r(yf, [["render", If]]), Sf = { class: "text-subtitl
9664
9670
  return ue(), _t(Ds, null, [
9665
9671
  pe(v, {
9666
9672
  modelValue: P(_),
9667
- "onUpdate:modelValue": p[3] || (p[3] = (C) => Zt(_) ? _.value = C : null),
9673
+ "onUpdate:modelValue": p[3] || (p[3] = (C) => Qt(_) ? _.value = C : null),
9668
9674
  transition: "scroll-x-reverse-transition",
9669
9675
  persistent: "",
9670
9676
  "no-click-animation": "",
9671
9677
  fullscreen: "",
9672
9678
  eager: "",
9673
- onKeydown: p[4] || (p[4] = xs(Qt((C) => _.value = !1, ["stop", "prevent"]), ["esc"]))
9679
+ onKeydown: p[4] || (p[4] = xs(en((C) => _.value = !1, ["stop", "prevent"]), ["esc"]))
9674
9680
  }, {
9675
9681
  default: $e(() => [
9676
9682
  Ue("div", {
9677
9683
  class: "w-100 h-100 d-flex flex-row-reverse",
9678
- onClick: p[1] || (p[1] = Qt((C) => _.value = !1, ["self"])),
9679
- onContextmenu: p[2] || (p[2] = Qt((C) => _.value = !1, ["self", "prevent"]))
9684
+ onClick: p[1] || (p[1] = en((C) => _.value = !1, ["self"])),
9685
+ onContextmenu: p[2] || (p[2] = en((C) => _.value = !1, ["self", "prevent"]))
9680
9686
  }, [
9681
9687
  Ue("div", {
9682
9688
  class: "elevation-2",
@@ -9697,7 +9703,7 @@ const Cf = /* @__PURE__ */ $r(yf, [["render", If]]), Sf = { class: "text-subtitl
9697
9703
  icon: P(Or),
9698
9704
  onClick: p[0] || (p[0] = (C) => _.value = !1)
9699
9705
  }, null, 8, ["icon"]),
9700
- Ue("span", Sf, eo(P(t)("x-block-lib.navigator")), 1)
9706
+ Ue("span", Lf, eo(P(t)("x-block-lib.navigator")), 1)
9701
9707
  ]),
9702
9708
  _: 1
9703
9709
  }),
@@ -9705,10 +9711,10 @@ const Cf = /* @__PURE__ */ $r(yf, [["render", If]]), Sf = { class: "text-subtitl
9705
9711
  class: "overflow-y-auto",
9706
9712
  style: qe(a.value)
9707
9713
  }, [
9708
- s.type === "list" ? (ue(), Ve(Of, {
9714
+ s.type === "list" ? (ue(), Ve(yf, {
9709
9715
  key: 0,
9710
9716
  lock: s.lock
9711
- }, null, 8, ["lock"])) : s.type === "tree" ? (ue(), Ve(Cf, { key: 1 })) : Ft("", !0),
9717
+ }, null, 8, ["lock"])) : s.type === "tree" ? (ue(), Ve(Sf, { key: 1 })) : Ft("", !0),
9712
9718
  Ue("div", {
9713
9719
  style: qe(l.value)
9714
9720
  }, null, 4)
@@ -9725,7 +9731,7 @@ const Cf = /* @__PURE__ */ $r(yf, [["render", If]]), Sf = { class: "text-subtitl
9725
9731
  pe(E, ni(C, {
9726
9732
  variant: "outlined",
9727
9733
  density: "comfortable",
9728
- icon: P(Od),
9734
+ icon: P(yd),
9729
9735
  onClick: p[5] || (p[5] = (U) => _.value = !0)
9730
9736
  }), null, 16, ["icon"])
9731
9737
  ]),
@@ -9761,22 +9767,40 @@ const Cf = /* @__PURE__ */ $r(yf, [["render", If]]), Sf = { class: "text-subtitl
9761
9767
  wheel: !0
9762
9768
  }
9763
9769
  };
9764
- function Nf(e, t, n) {
9765
- ys.toolbox = Bf(t, n);
9770
+ function Bf(e, t, n) {
9771
+ ys.toolbox = kf(t, n);
9766
9772
  const o = ka(e, ys);
9767
- return kf(o, t, n), o;
9773
+ return Rf(o, t, n), Mf(o), o;
9768
9774
  }
9769
- function Bf(e, t) {
9775
+ function kf(e, t) {
9770
9776
  let n;
9771
- return e === "page" ? t === "v1" && (n = md) : e === "comp" ? t === "v1" && (n = hd) : e === "func" ? t === "v1" && (n = Td) : e === "flow" && t === "v1" && (n = gd), console.assert(!!n, "invalid toolbox"), n;
9777
+ return e === "page" ? t === "v1" && (n = Ed) : e === "comp" ? t === "v1" && (n = gd) : e === "func" ? t === "v1" && (n = md) : e === "flow" && t === "v1" && (n = Td), console.assert(!!n, "invalid toolbox"), n;
9772
9778
  }
9773
- function kf(e, t, n) {
9779
+ function Rf(e, t, n) {
9774
9780
  function o({ name: i, callback: s }) {
9775
9781
  e.registerToolboxCategoryCallback(i, s);
9776
9782
  }
9777
- t === "page" || t === "comp" ? n === "v1" && (o(Gn), o(lt), o(at)) : t === "func" ? n === "v1" && (o(hr), o(Jo), o(lt), o(at)) : t === "flow" && n === "v1" && (o(Zp), o(Jo), o(lt), o(at));
9783
+ t === "page" || t === "comp" ? n === "v1" && (o(Gn), o(lt), o(at)) : t === "func" ? n === "v1" && (o(hr), o(Jo), o(lt), o(at)) : t === "flow" && n === "v1" && (o(Qp), o(Jo), o(lt), o(at));
9778
9784
  }
9779
- const Rf = { class: "position-relative w-100 h-100" }, Mf = /* @__PURE__ */ Xe({
9785
+ function Mf(e) {
9786
+ const t = Fa();
9787
+ e.registerButtonCallback("NO_COMPUTE", () => {
9788
+ const n = t.resolve({
9789
+ path: "/compute/" + Date.now()
9790
+ });
9791
+ setTimeout(() => {
9792
+ window.open(n.href, "_blank");
9793
+ }, 100);
9794
+ }), e.registerButtonCallback("NO_TABLE", () => {
9795
+ const n = t.resolve({
9796
+ path: "/data/" + Date.now()
9797
+ });
9798
+ setTimeout(() => {
9799
+ window.open(n.href, "_blank");
9800
+ }, 100);
9801
+ });
9802
+ }
9803
+ const Df = { class: "position-relative w-100 h-100" }, xf = /* @__PURE__ */ Xe({
9780
9804
  __name: "index",
9781
9805
  props: /* @__PURE__ */ Si({
9782
9806
  type: {},
@@ -9818,7 +9842,7 @@ const Rf = { class: "position-relative w-100 h-100" }, Mf = /* @__PURE__ */ Xe({
9818
9842
  console.assert(!1);
9819
9843
  return;
9820
9844
  }
9821
- await rs(i.value), p = Nf(d.value, l.type, l.version), p.addChangeListener(W.disableOrphans), p.addChangeListener(U);
9845
+ await rs(i.value), p = Bf(d.value, l.type, l.version), p.addChangeListener(W.disableOrphans), p.addChangeListener(U);
9822
9846
  const S = document.querySelector("#blocklyEditor .blocklyFlyout");
9823
9847
  new MutationObserver((te) => {
9824
9848
  te.forEach((X) => {
@@ -9827,7 +9851,7 @@ const Rf = { class: "position-relative w-100 h-100" }, Mf = /* @__PURE__ */ Xe({
9827
9851
  }).observe(S, { attributes: !0 }), C.value = p.getFlyout().isVisible(), ae(), Ce(), await oi(), _("ready");
9828
9852
  }), Yn(() => {
9829
9853
  C.value = !1;
9830
- }), ja(d, () => {
9854
+ }), Xa(d, () => {
9831
9855
  p && Ra(p);
9832
9856
  });
9833
9857
  async function U(S) {
@@ -9870,7 +9894,7 @@ const Rf = { class: "position-relative w-100 h-100" }, Mf = /* @__PURE__ */ Xe({
9870
9894
  }), st(i, (S) => {
9871
9895
  rs(S);
9872
9896
  }), st(s, (S) => {
9873
- fd(S ? "dark" : "light");
9897
+ hd(S ? "dark" : "light");
9874
9898
  }), st(C, (S) => {
9875
9899
  S || p.hideChaff();
9876
9900
  }), st(r, () => {
@@ -9879,7 +9903,7 @@ const Rf = { class: "position-relative w-100 h-100" }, Mf = /* @__PURE__ */ Xe({
9879
9903
  Ce();
9880
9904
  }), t({ loading: f, load: V, save: J, generateCode: K }), (S, j) => {
9881
9905
  const te = ge("x-loading");
9882
- return ue(), _t("div", Rf, [
9906
+ return ue(), _t("div", Df, [
9883
9907
  Ue("div", {
9884
9908
  id: "blocklyEditor",
9885
9909
  ref_key: "blocklyDiv",
@@ -9890,12 +9914,12 @@ const Rf = { class: "position-relative w-100 h-100" }, Mf = /* @__PURE__ */ Xe({
9890
9914
  class: "d-flex align-end pt-3 pr-3",
9891
9915
  style: qe(v.value)
9892
9916
  }, [
9893
- pe(yd, { lock: r.value }, null, 8, ["lock"]),
9894
- pe(Id, {
9917
+ pe(Id, { lock: r.value }, null, 8, ["lock"]),
9918
+ pe(Cd, {
9895
9919
  modelValue: r.value,
9896
9920
  "onUpdate:modelValue": j[0] || (j[0] = (X) => r.value = X)
9897
9921
  }, null, 8, ["modelValue"]),
9898
- pe(Lf, {
9922
+ pe(Nf, {
9899
9923
  type: g.value,
9900
9924
  lock: r.value
9901
9925
  }, null, 8, ["type", "lock"])
@@ -9950,7 +9974,7 @@ function ut(e, ...t) {
9950
9974
  }), /** @type {T} */
9951
9975
  n;
9952
9976
  }
9953
- const Df = "</span>", Cs = (e) => !!e.scope, xf = (e, { prefix: t }) => {
9977
+ const wf = "</span>", Cs = (e) => !!e.scope, Pf = (e, { prefix: t }) => {
9954
9978
  if (e.startsWith("language:"))
9955
9979
  return e.replace("language:", "language-");
9956
9980
  if (e.includes(".")) {
@@ -9962,7 +9986,7 @@ const Df = "</span>", Cs = (e) => !!e.scope, xf = (e, { prefix: t }) => {
9962
9986
  }
9963
9987
  return `${t}${e}`;
9964
9988
  };
9965
- class wf {
9989
+ class Uf {
9966
9990
  /**
9967
9991
  * Creates a new HTMLRenderer
9968
9992
  *
@@ -9985,7 +10009,7 @@ class wf {
9985
10009
  * @param {Node} node */
9986
10010
  openNode(t) {
9987
10011
  if (!Cs(t)) return;
9988
- const n = xf(
10012
+ const n = Pf(
9989
10013
  t.scope,
9990
10014
  { prefix: this.classPrefix }
9991
10015
  );
@@ -9996,7 +10020,7 @@ class wf {
9996
10020
  *
9997
10021
  * @param {Node} node */
9998
10022
  closeNode(t) {
9999
- Cs(t) && (this.buffer += Df);
10023
+ Cs(t) && (this.buffer += wf);
10000
10024
  }
10001
10025
  /**
10002
10026
  * returns the accumulated buffer
@@ -10069,7 +10093,7 @@ class mi {
10069
10093
  }));
10070
10094
  }
10071
10095
  }
10072
- class Pf extends mi {
10096
+ class Vf extends mi {
10073
10097
  /**
10074
10098
  * @param {*} options
10075
10099
  */
@@ -10098,50 +10122,50 @@ class Pf extends mi {
10098
10122
  n && (o.scope = `language:${n}`), this.add(o);
10099
10123
  }
10100
10124
  toHTML() {
10101
- return new wf(this, this.options).value();
10125
+ return new Uf(this, this.options).value();
10102
10126
  }
10103
10127
  finalize() {
10104
10128
  return this.closeAllNodes(), !0;
10105
10129
  }
10106
10130
  }
10107
- function _n(e) {
10131
+ function pn(e) {
10108
10132
  return e ? typeof e == "string" ? e : e.source : null;
10109
10133
  }
10110
10134
  function Xr(e) {
10111
10135
  return Bt("(?=", e, ")");
10112
10136
  }
10113
- function Uf(e) {
10137
+ function Ff(e) {
10114
10138
  return Bt("(?:", e, ")*");
10115
10139
  }
10116
- function Vf(e) {
10140
+ function Yf(e) {
10117
10141
  return Bt("(?:", e, ")?");
10118
10142
  }
10119
10143
  function Bt(...e) {
10120
- return e.map((n) => _n(n)).join("");
10144
+ return e.map((n) => pn(n)).join("");
10121
10145
  }
10122
- function Ff(e) {
10146
+ function Kf(e) {
10123
10147
  const t = e[e.length - 1];
10124
10148
  return typeof t == "object" && t.constructor === Object ? (e.splice(e.length - 1, 1), t) : {};
10125
10149
  }
10126
10150
  function Ei(...e) {
10127
- return "(" + (Ff(e).capture ? "" : "?:") + e.map((o) => _n(o)).join("|") + ")";
10151
+ return "(" + (Kf(e).capture ? "" : "?:") + e.map((o) => pn(o)).join("|") + ")";
10128
10152
  }
10129
10153
  function Wr(e) {
10130
10154
  return new RegExp(e.toString() + "|").exec("").length - 1;
10131
10155
  }
10132
- function Yf(e, t) {
10156
+ function Hf(e, t) {
10133
10157
  const n = e && e.exec(t);
10134
10158
  return n && n.index === 0;
10135
10159
  }
10136
- const Kf = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
10160
+ const $f = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
10137
10161
  function bi(e, { joinWith: t }) {
10138
10162
  let n = 0;
10139
10163
  return e.map((o) => {
10140
10164
  n += 1;
10141
10165
  const i = n;
10142
- let s = _n(o), r = "";
10166
+ let s = pn(o), r = "";
10143
10167
  for (; s.length > 0; ) {
10144
- const a = Kf.exec(s);
10168
+ const a = $f.exec(s);
10145
10169
  if (!a) {
10146
10170
  r += s;
10147
10171
  break;
@@ -10151,7 +10175,7 @@ function bi(e, { joinWith: t }) {
10151
10175
  return r;
10152
10176
  }).map((o) => `(${o})`).join(t);
10153
10177
  }
10154
- const Hf = /\b\B/, zr = "[a-zA-Z]\\w*", vi = "[a-zA-Z_]\\w*", Jr = "\\b\\d+(\\.\\d+)?", qr = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Zr = "\\b(0b[01]+)", $f = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Gf = (e = {}) => {
10178
+ const Gf = /\b\B/, zr = "[a-zA-Z]\\w*", vi = "[a-zA-Z_]\\w*", Jr = "\\b\\d+(\\.\\d+)?", qr = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Zr = "\\b(0b[01]+)", jf = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Xf = (e = {}) => {
10155
10179
  const t = /^#![ ]*\//;
10156
10180
  return e.binary && (e.begin = Bt(
10157
10181
  t,
@@ -10168,22 +10192,22 @@ const Hf = /\b\B/, zr = "[a-zA-Z]\\w*", vi = "[a-zA-Z_]\\w*", Jr = "\\b\\d+(\\.\
10168
10192
  n.index !== 0 && o.ignoreMatch();
10169
10193
  }
10170
10194
  }, e);
10171
- }, pn = {
10195
+ }, dn = {
10172
10196
  begin: "\\\\[\\s\\S]",
10173
10197
  relevance: 0
10174
- }, jf = {
10198
+ }, Wf = {
10175
10199
  scope: "string",
10176
10200
  begin: "'",
10177
10201
  end: "'",
10178
10202
  illegal: "\\n",
10179
- contains: [pn]
10180
- }, Xf = {
10203
+ contains: [dn]
10204
+ }, zf = {
10181
10205
  scope: "string",
10182
10206
  begin: '"',
10183
10207
  end: '"',
10184
10208
  illegal: "\\n",
10185
- contains: [pn]
10186
- }, Wf = {
10209
+ contains: [dn]
10210
+ }, Jf = {
10187
10211
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
10188
10212
  }, Eo = function(e, t, n = {}) {
10189
10213
  const o = ut(
@@ -10251,44 +10275,44 @@ const Hf = /\b\B/, zr = "[a-zA-Z]\\w*", vi = "[a-zA-Z_]\\w*", Jr = "\\b\\d+(\\.\
10251
10275
  // look for 3 words in a row
10252
10276
  }
10253
10277
  ), o;
10254
- }, zf = Eo("//", "$"), Jf = Eo("/\\*", "\\*/"), qf = Eo("#", "$"), Zf = {
10278
+ }, qf = Eo("//", "$"), Zf = Eo("/\\*", "\\*/"), Qf = Eo("#", "$"), eh = {
10255
10279
  scope: "number",
10256
10280
  begin: Jr,
10257
10281
  relevance: 0
10258
- }, Qf = {
10282
+ }, th = {
10259
10283
  scope: "number",
10260
10284
  begin: qr,
10261
10285
  relevance: 0
10262
- }, eh = {
10286
+ }, nh = {
10263
10287
  scope: "number",
10264
10288
  begin: Zr,
10265
10289
  relevance: 0
10266
- }, th = {
10290
+ }, oh = {
10267
10291
  scope: "regexp",
10268
10292
  begin: /\/(?=[^/\n]*\/)/,
10269
10293
  end: /\/[gimuy]*/,
10270
10294
  contains: [
10271
- pn,
10295
+ dn,
10272
10296
  {
10273
10297
  begin: /\[/,
10274
10298
  end: /\]/,
10275
10299
  relevance: 0,
10276
- contains: [pn]
10300
+ contains: [dn]
10277
10301
  }
10278
10302
  ]
10279
- }, nh = {
10303
+ }, ih = {
10280
10304
  scope: "title",
10281
10305
  begin: zr,
10282
10306
  relevance: 0
10283
- }, oh = {
10307
+ }, sh = {
10284
10308
  scope: "title",
10285
10309
  begin: vi,
10286
10310
  relevance: 0
10287
- }, ih = {
10311
+ }, rh = {
10288
10312
  // excludes method names from keyword processing
10289
10313
  begin: "\\.\\s*" + vi,
10290
10314
  relevance: 0
10291
- }, sh = function(e) {
10315
+ }, ah = function(e) {
10292
10316
  return Object.assign(
10293
10317
  e,
10294
10318
  {
@@ -10305,53 +10329,53 @@ const Hf = /\b\B/, zr = "[a-zA-Z]\\w*", vi = "[a-zA-Z_]\\w*", Jr = "\\b\\d+(\\.\
10305
10329
  };
10306
10330
  var kn = /* @__PURE__ */ Object.freeze({
10307
10331
  __proto__: null,
10308
- APOS_STRING_MODE: jf,
10309
- BACKSLASH_ESCAPE: pn,
10310
- BINARY_NUMBER_MODE: eh,
10332
+ APOS_STRING_MODE: Wf,
10333
+ BACKSLASH_ESCAPE: dn,
10334
+ BINARY_NUMBER_MODE: nh,
10311
10335
  BINARY_NUMBER_RE: Zr,
10312
10336
  COMMENT: Eo,
10313
- C_BLOCK_COMMENT_MODE: Jf,
10314
- C_LINE_COMMENT_MODE: zf,
10315
- C_NUMBER_MODE: Qf,
10337
+ C_BLOCK_COMMENT_MODE: Zf,
10338
+ C_LINE_COMMENT_MODE: qf,
10339
+ C_NUMBER_MODE: th,
10316
10340
  C_NUMBER_RE: qr,
10317
- END_SAME_AS_BEGIN: sh,
10318
- HASH_COMMENT_MODE: qf,
10341
+ END_SAME_AS_BEGIN: ah,
10342
+ HASH_COMMENT_MODE: Qf,
10319
10343
  IDENT_RE: zr,
10320
- MATCH_NOTHING_RE: Hf,
10321
- METHOD_GUARD: ih,
10322
- NUMBER_MODE: Zf,
10344
+ MATCH_NOTHING_RE: Gf,
10345
+ METHOD_GUARD: rh,
10346
+ NUMBER_MODE: eh,
10323
10347
  NUMBER_RE: Jr,
10324
- PHRASAL_WORDS_MODE: Wf,
10325
- QUOTE_STRING_MODE: Xf,
10326
- REGEXP_MODE: th,
10327
- RE_STARTERS_RE: $f,
10328
- SHEBANG: Gf,
10329
- TITLE_MODE: nh,
10348
+ PHRASAL_WORDS_MODE: Jf,
10349
+ QUOTE_STRING_MODE: zf,
10350
+ REGEXP_MODE: oh,
10351
+ RE_STARTERS_RE: jf,
10352
+ SHEBANG: Xf,
10353
+ TITLE_MODE: ih,
10330
10354
  UNDERSCORE_IDENT_RE: vi,
10331
- UNDERSCORE_TITLE_MODE: oh
10355
+ UNDERSCORE_TITLE_MODE: sh
10332
10356
  });
10333
- function rh(e, t) {
10357
+ function lh(e, t) {
10334
10358
  e.input[e.index - 1] === "." && t.ignoreMatch();
10335
10359
  }
10336
- function ah(e, t) {
10360
+ function ch(e, t) {
10337
10361
  e.className !== void 0 && (e.scope = e.className, delete e.className);
10338
10362
  }
10339
- function lh(e, t) {
10340
- t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = rh, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
10363
+ function uh(e, t) {
10364
+ t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = lh, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
10341
10365
  }
10342
- function ch(e, t) {
10366
+ function _h(e, t) {
10343
10367
  Array.isArray(e.illegal) && (e.illegal = Ei(...e.illegal));
10344
10368
  }
10345
- function uh(e, t) {
10369
+ function ph(e, t) {
10346
10370
  if (e.match) {
10347
10371
  if (e.begin || e.end) throw new Error("begin & end are not supported with match");
10348
10372
  e.begin = e.match, delete e.match;
10349
10373
  }
10350
10374
  }
10351
- function _h(e, t) {
10375
+ function dh(e, t) {
10352
10376
  e.relevance === void 0 && (e.relevance = 1);
10353
10377
  }
10354
- const ph = (e, t) => {
10378
+ const fh = (e, t) => {
10355
10379
  if (!e.beforeMatch) return;
10356
10380
  if (e.starts) throw new Error("beforeMatch cannot be used with starts");
10357
10381
  const n = Object.assign({}, e);
@@ -10363,7 +10387,7 @@ const ph = (e, t) => {
10363
10387
  Object.assign(n, { endsParent: !0 })
10364
10388
  ]
10365
10389
  }, e.relevance = 0, delete n.beforeMatch;
10366
- }, dh = [
10390
+ }, hh = [
10367
10391
  "of",
10368
10392
  "and",
10369
10393
  "for",
@@ -10378,8 +10402,8 @@ const ph = (e, t) => {
10378
10402
  // common variable name
10379
10403
  "value"
10380
10404
  // common variable name
10381
- ], fh = "keyword";
10382
- function Qr(e, t, n = fh) {
10405
+ ], gh = "keyword";
10406
+ function Qr(e, t, n = gh) {
10383
10407
  const o = /* @__PURE__ */ Object.create(null);
10384
10408
  return typeof e == "string" ? i(n, e.split(" ")) : Array.isArray(e) ? i(n, e) : Object.keys(e).forEach(function(s) {
10385
10409
  Object.assign(
@@ -10390,15 +10414,15 @@ function Qr(e, t, n = fh) {
10390
10414
  function i(s, r) {
10391
10415
  t && (r = r.map((a) => a.toLowerCase())), r.forEach(function(a) {
10392
10416
  const l = a.split("|");
10393
- o[l[0]] = [s, hh(l[0], l[1])];
10417
+ o[l[0]] = [s, Th(l[0], l[1])];
10394
10418
  });
10395
10419
  }
10396
10420
  }
10397
- function hh(e, t) {
10398
- return t ? Number(t) : gh(e) ? 0 : 1;
10421
+ function Th(e, t) {
10422
+ return t ? Number(t) : mh(e) ? 0 : 1;
10399
10423
  }
10400
- function gh(e) {
10401
- return dh.includes(e.toLowerCase());
10424
+ function mh(e) {
10425
+ return hh.includes(e.toLowerCase());
10402
10426
  }
10403
10427
  const Ls = {}, At = (e) => {
10404
10428
  console.error(e);
@@ -10414,7 +10438,7 @@ function ea(e, t, { key: n }) {
10414
10438
  r[a + o] = i[a], s[a + o] = !0, o += Wr(t[a - 1]);
10415
10439
  e[n] = r, e[n]._emit = s, e[n]._multi = !0;
10416
10440
  }
10417
- function Th(e) {
10441
+ function Eh(e) {
10418
10442
  if (Array.isArray(e.begin)) {
10419
10443
  if (e.skip || e.excludeBegin || e.returnBegin)
10420
10444
  throw At("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Zn;
@@ -10423,7 +10447,7 @@ function Th(e) {
10423
10447
  ea(e, e.begin, { key: "beginScope" }), e.begin = bi(e.begin, { joinWith: "" });
10424
10448
  }
10425
10449
  }
10426
- function mh(e) {
10450
+ function bh(e) {
10427
10451
  if (Array.isArray(e.end)) {
10428
10452
  if (e.skip || e.excludeEnd || e.returnEnd)
10429
10453
  throw At("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Zn;
@@ -10432,16 +10456,16 @@ function mh(e) {
10432
10456
  ea(e, e.end, { key: "endScope" }), e.end = bi(e.end, { joinWith: "" });
10433
10457
  }
10434
10458
  }
10435
- function Eh(e) {
10459
+ function vh(e) {
10436
10460
  e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
10437
10461
  }
10438
- function bh(e) {
10439
- Eh(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), Th(e), mh(e);
10462
+ function Ah(e) {
10463
+ vh(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), Eh(e), bh(e);
10440
10464
  }
10441
- function vh(e) {
10465
+ function Oh(e) {
10442
10466
  function t(r, a) {
10443
10467
  return new RegExp(
10444
- _n(r),
10468
+ pn(r),
10445
10469
  "m" + (e.case_insensitive ? "i" : "") + (e.unicodeRegex ? "u" : "") + (a ? "g" : "")
10446
10470
  );
10447
10471
  }
@@ -10511,26 +10535,26 @@ function vh(e) {
10511
10535
  );
10512
10536
  if (r.isCompiled) return l;
10513
10537
  [
10514
- ah,
10538
+ ch,
10515
10539
  // do this early so compiler extensions generally don't have to worry about
10516
10540
  // the distinction between match/begin
10517
- uh,
10518
- bh,
10519
- ph
10541
+ ph,
10542
+ Ah,
10543
+ fh
10520
10544
  ].forEach((d) => d(r, a)), e.compilerExtensions.forEach((d) => d(r, a)), r.__beforeBegin = null, [
10521
- lh,
10545
+ uh,
10522
10546
  // do this later so compiler extensions that come earlier have access to the
10523
10547
  // raw array if they wanted to perhaps manipulate it, etc.
10524
- ch,
10548
+ _h,
10525
10549
  // default to 1 relevance if not specified
10526
- _h
10550
+ dh
10527
10551
  ].forEach((d) => d(r, a)), r.isCompiled = !0;
10528
10552
  let _ = null;
10529
- return typeof r.keywords == "object" && r.keywords.$pattern && (r.keywords = Object.assign({}, r.keywords), _ = r.keywords.$pattern, delete r.keywords.$pattern), _ = _ || /\w+/, r.keywords && (r.keywords = Qr(r.keywords, e.case_insensitive)), l.keywordPatternRe = t(_, !0), a && (r.begin || (r.begin = /\B|\b/), l.beginRe = t(l.begin), !r.end && !r.endsWithParent && (r.end = /\B|\b/), r.end && (l.endRe = t(l.end)), l.terminatorEnd = _n(l.end) || "", r.endsWithParent && a.terminatorEnd && (l.terminatorEnd += (r.end ? "|" : "") + a.terminatorEnd)), r.illegal && (l.illegalRe = t(
10553
+ return typeof r.keywords == "object" && r.keywords.$pattern && (r.keywords = Object.assign({}, r.keywords), _ = r.keywords.$pattern, delete r.keywords.$pattern), _ = _ || /\w+/, r.keywords && (r.keywords = Qr(r.keywords, e.case_insensitive)), l.keywordPatternRe = t(_, !0), a && (r.begin || (r.begin = /\B|\b/), l.beginRe = t(l.begin), !r.end && !r.endsWithParent && (r.end = /\B|\b/), r.end && (l.endRe = t(l.end)), l.terminatorEnd = pn(l.end) || "", r.endsWithParent && a.terminatorEnd && (l.terminatorEnd += (r.end ? "|" : "") + a.terminatorEnd)), r.illegal && (l.illegalRe = t(
10530
10554
  /** @type {RegExp | string} */
10531
10555
  r.illegal
10532
10556
  )), r.contains || (r.contains = []), r.contains = [].concat(...r.contains.map(function(d) {
10533
- return Ah(d === "self" ? r : d);
10557
+ return yh(d === "self" ? r : d);
10534
10558
  })), r.contains.forEach(function(d) {
10535
10559
  s(
10536
10560
  /** @type Mode */
@@ -10549,18 +10573,18 @@ function vh(e) {
10549
10573
  function ta(e) {
10550
10574
  return e ? e.endsWithParent || ta(e.starts) : !1;
10551
10575
  }
10552
- function Ah(e) {
10576
+ function yh(e) {
10553
10577
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
10554
10578
  return ut(e, { variants: null }, t);
10555
10579
  })), e.cachedVariants ? e.cachedVariants : ta(e) ? ut(e, { starts: e.starts ? ut(e.starts) : null }) : Object.isFrozen(e) ? ut(e) : e;
10556
10580
  }
10557
- var Oh = "11.10.0";
10558
- class yh extends Error {
10581
+ var Ih = "11.10.0";
10582
+ class Ch extends Error {
10559
10583
  constructor(t, n) {
10560
10584
  super(t), this.name = "HTMLInjectionError", this.html = n;
10561
10585
  }
10562
10586
  }
10563
- const Fo = jr, Bs = ut, ks = Symbol("nomatch"), Ih = 7, na = function(e) {
10587
+ const Fo = jr, Bs = ut, ks = Symbol("nomatch"), Sh = 7, na = function(e) {
10564
10588
  const t = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), o = [];
10565
10589
  let i = !0;
10566
10590
  const s = "Could not find the language '{}', did you forget to load/include a language module?", r = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -10574,7 +10598,7 @@ const Fo = jr, Bs = ut, ks = Symbol("nomatch"), Ih = 7, na = function(e) {
10574
10598
  languages: null,
10575
10599
  // beta configuration options, subject to change, welcome to discuss
10576
10600
  // https://github.com/highlightjs/highlight.js/issues/1086
10577
- __emitter: Pf
10601
+ __emitter: Vf
10578
10602
  };
10579
10603
  function l(h) {
10580
10604
  return a.noHighlightRe.test(h);
@@ -10607,19 +10631,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10607
10631
  return m.keywords[y];
10608
10632
  }
10609
10633
  function De() {
10610
- if (!D.keywords) {
10634
+ if (!x.keywords) {
10611
10635
  fe.addText(Q);
10612
10636
  return;
10613
10637
  }
10614
10638
  let m = 0;
10615
- D.keywordPatternRe.lastIndex = 0;
10616
- let y = D.keywordPatternRe.exec(Q), w = "";
10639
+ x.keywordPatternRe.lastIndex = 0;
10640
+ let y = x.keywordPatternRe.exec(Q), w = "";
10617
10641
  for (; y; ) {
10618
10642
  w += Q.substring(m, y.index);
10619
- const z = Ye.case_insensitive ? y[0].toLowerCase() : y[0], me = Ae(D, z);
10643
+ const z = Ye.case_insensitive ? y[0].toLowerCase() : y[0], me = Ae(x, z);
10620
10644
  if (me) {
10621
10645
  const [ze, _a] = me;
10622
- if (fe.addText(w), w = "", ne[z] = (ne[z] || 0) + 1, ne[z] <= Ih && (vn += _a), ze.startsWith("_"))
10646
+ if (fe.addText(w), w = "", ne[z] = (ne[z] || 0) + 1, ne[z] <= Sh && (vn += _a), ze.startsWith("_"))
10623
10647
  w += y[0];
10624
10648
  else {
10625
10649
  const pa = Ye.classNameAliases[ze] || ze;
@@ -10627,26 +10651,26 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10627
10651
  }
10628
10652
  } else
10629
10653
  w += y[0];
10630
- m = D.keywordPatternRe.lastIndex, y = D.keywordPatternRe.exec(Q);
10654
+ m = x.keywordPatternRe.lastIndex, y = x.keywordPatternRe.exec(Q);
10631
10655
  }
10632
10656
  w += Q.substring(m), fe.addText(w);
10633
10657
  }
10634
10658
  function En() {
10635
10659
  if (Q === "") return;
10636
10660
  let m = null;
10637
- if (typeof D.subLanguage == "string") {
10638
- if (!t[D.subLanguage]) {
10661
+ if (typeof x.subLanguage == "string") {
10662
+ if (!t[x.subLanguage]) {
10639
10663
  fe.addText(Q);
10640
10664
  return;
10641
10665
  }
10642
- m = p(D.subLanguage, Q, !0, Ci[D.subLanguage]), Ci[D.subLanguage] = /** @type {CompiledMode} */
10666
+ m = p(x.subLanguage, Q, !0, Ci[x.subLanguage]), Ci[x.subLanguage] = /** @type {CompiledMode} */
10643
10667
  m._top;
10644
10668
  } else
10645
- m = g(Q, D.subLanguage.length ? D.subLanguage : null);
10646
- D.relevance > 0 && (vn += m.relevance), fe.__addSublanguage(m._emitter, m.language);
10669
+ m = g(Q, x.subLanguage.length ? x.subLanguage : null);
10670
+ x.relevance > 0 && (vn += m.relevance), fe.__addSublanguage(m._emitter, m.language);
10647
10671
  }
10648
10672
  function Ne() {
10649
- D.subLanguage != null ? En() : De(), Q = "";
10673
+ x.subLanguage != null ? En() : De(), Q = "";
10650
10674
  }
10651
10675
  function Fe(m, y) {
10652
10676
  m !== "" && (fe.startScope(y), fe.addText(m), fe.endScope());
@@ -10664,10 +10688,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10664
10688
  }
10665
10689
  }
10666
10690
  function Oi(m, y) {
10667
- return m.scope && typeof m.scope == "string" && fe.openNode(Ye.classNameAliases[m.scope] || m.scope), m.beginScope && (m.beginScope._wrap ? (Fe(Q, Ye.classNameAliases[m.beginScope._wrap] || m.beginScope._wrap), Q = "") : m.beginScope._multi && (Ai(m.beginScope, y), Q = "")), D = Object.create(m, { parent: { value: D } }), D;
10691
+ return m.scope && typeof m.scope == "string" && fe.openNode(Ye.classNameAliases[m.scope] || m.scope), m.beginScope && (m.beginScope._wrap ? (Fe(Q, Ye.classNameAliases[m.beginScope._wrap] || m.beginScope._wrap), Q = "") : m.beginScope._multi && (Ai(m.beginScope, y), Q = "")), x = Object.create(m, { parent: { value: x } }), x;
10668
10692
  }
10669
10693
  function yi(m, y, w) {
10670
- let z = Yf(m.endRe, w);
10694
+ let z = Hf(m.endRe, w);
10671
10695
  if (z) {
10672
10696
  if (m["on:end"]) {
10673
10697
  const me = new Is(m);
@@ -10683,7 +10707,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10683
10707
  return yi(m.parent, y, w);
10684
10708
  }
10685
10709
  function ra(m) {
10686
- return D.matcher.regexIndex === 0 ? (Q += m[0], 1) : (Ao = !0, 0);
10710
+ return x.matcher.regexIndex === 0 ? (Q += m[0], 1) : (Ao = !0, 0);
10687
10711
  }
10688
10712
  function aa(m) {
10689
10713
  const y = m[0], w = m.rule, z = new Is(w), me = [w.__beforeBegin, w["on:begin"]];
@@ -10693,19 +10717,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10693
10717
  return w.skip ? Q += y : (w.excludeBegin && (Q += y), Ne(), !w.returnBegin && !w.excludeBegin && (Q = y)), Oi(w, m), w.returnBegin ? 0 : y.length;
10694
10718
  }
10695
10719
  function la(m) {
10696
- const y = m[0], w = b.substring(m.index), z = yi(D, m, w);
10720
+ const y = m[0], w = b.substring(m.index), z = yi(x, m, w);
10697
10721
  if (!z)
10698
10722
  return ks;
10699
- const me = D;
10700
- D.endScope && D.endScope._wrap ? (Ne(), Fe(y, D.endScope._wrap)) : D.endScope && D.endScope._multi ? (Ne(), Ai(D.endScope, m)) : me.skip ? Q += y : (me.returnEnd || me.excludeEnd || (Q += y), Ne(), me.excludeEnd && (Q = y));
10723
+ const me = x;
10724
+ x.endScope && x.endScope._wrap ? (Ne(), Fe(y, x.endScope._wrap)) : x.endScope && x.endScope._multi ? (Ne(), Ai(x.endScope, m)) : me.skip ? Q += y : (me.returnEnd || me.excludeEnd || (Q += y), Ne(), me.excludeEnd && (Q = y));
10701
10725
  do
10702
- D.scope && fe.closeNode(), !D.skip && !D.subLanguage && (vn += D.relevance), D = D.parent;
10703
- while (D !== z.parent);
10726
+ x.scope && fe.closeNode(), !x.skip && !x.subLanguage && (vn += x.relevance), x = x.parent;
10727
+ while (x !== z.parent);
10704
10728
  return z.starts && Oi(z.starts, m), me.returnEnd ? 0 : y.length;
10705
10729
  }
10706
10730
  function ca() {
10707
10731
  const m = [];
10708
- for (let y = D; y !== Ye; y = y.parent)
10732
+ for (let y = x; y !== Ye; y = y.parent)
10709
10733
  y.scope && m.unshift(y.scope);
10710
10734
  m.forEach((y) => fe.openNode(y));
10711
10735
  }
@@ -10724,8 +10748,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10724
10748
  if (bn = y, y.type === "begin")
10725
10749
  return aa(y);
10726
10750
  if (y.type === "illegal" && !R) {
10727
- const z = new Error('Illegal lexeme "' + w + '" for mode "' + (D.scope || "<unnamed>") + '"');
10728
- throw z.mode = D, z;
10751
+ const z = new Error('Illegal lexeme "' + w + '" for mode "' + (x.scope || "<unnamed>") + '"');
10752
+ throw z.mode = x, z;
10729
10753
  } else if (y.type === "end") {
10730
10754
  const z = la(y);
10731
10755
  if (z !== ks)
@@ -10740,8 +10764,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10740
10764
  const Ye = N(h);
10741
10765
  if (!Ye)
10742
10766
  throw At(s.replace("{}", h)), new Error('Unknown language: "' + h + '"');
10743
- const ua = vh(Ye);
10744
- let bo = "", D = F || ua;
10767
+ const ua = Oh(Ye);
10768
+ let bo = "", x = F || ua;
10745
10769
  const Ci = {}, fe = new a.__emitter(a);
10746
10770
  ca();
10747
10771
  let Q = "", vn = 0, gt = 0, vo = 0, Ao = !1;
@@ -10749,9 +10773,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10749
10773
  if (Ye.__emitTokens)
10750
10774
  Ye.__emitTokens(b, fe);
10751
10775
  else {
10752
- for (D.matcher.considerAll(); ; ) {
10753
- vo++, Ao ? Ao = !1 : D.matcher.considerAll(), D.matcher.lastIndex = gt;
10754
- const m = D.matcher.exec(b);
10776
+ for (x.matcher.considerAll(); ; ) {
10777
+ vo++, Ao ? Ao = !1 : x.matcher.considerAll(), x.matcher.lastIndex = gt;
10778
+ const m = x.matcher.exec(b);
10755
10779
  if (!m) break;
10756
10780
  const y = b.substring(gt, m.index), w = Ii(y, m);
10757
10781
  gt = m.index + w;
@@ -10764,7 +10788,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10764
10788
  relevance: vn,
10765
10789
  illegal: !1,
10766
10790
  _emitter: fe,
10767
- _top: D
10791
+ _top: x
10768
10792
  };
10769
10793
  } catch (m) {
10770
10794
  if (m.message && m.message.includes("Illegal"))
@@ -10790,7 +10814,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10790
10814
  relevance: 0,
10791
10815
  errorRaised: m,
10792
10816
  _emitter: fe,
10793
- _top: D
10817
+ _top: x
10794
10818
  };
10795
10819
  throw m;
10796
10820
  }
@@ -10839,7 +10863,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10839
10863
  return;
10840
10864
  }
10841
10865
  if (h.children.length > 0 && (a.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(h)), a.throwUnescapedHTML))
10842
- throw new yh(
10866
+ throw new Ch(
10843
10867
  "One of your code blocks includes unescaped HTML.",
10844
10868
  h.innerHTML
10845
10869
  );
@@ -10959,22 +10983,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = h, F = b), R ===
10959
10983
  i = !1;
10960
10984
  }, e.safeMode = function() {
10961
10985
  i = !0;
10962
- }, e.versionString = Oh, e.regex = {
10986
+ }, e.versionString = Ih, e.regex = {
10963
10987
  concat: Bt,
10964
10988
  lookahead: Xr,
10965
10989
  either: Ei,
10966
- optional: Vf,
10967
- anyNumberOfTimes: Uf
10990
+ optional: Yf,
10991
+ anyNumberOfTimes: Ff
10968
10992
  };
10969
10993
  for (const h in kn)
10970
10994
  typeof kn[h] == "object" && Gr(kn[h]);
10971
10995
  return Object.assign(e, kn), e;
10972
10996
  }, Gt = na({});
10973
10997
  Gt.newInstance = () => na({});
10974
- var Ch = Gt;
10998
+ var Lh = Gt;
10975
10999
  Gt.HighlightJS = Gt;
10976
11000
  Gt.default = Gt;
10977
- const Fn = /* @__PURE__ */ Ma(Ch), Rs = "[A-Za-z$_][0-9A-Za-z$_]*", Sh = [
11001
+ const Fn = /* @__PURE__ */ Ma(Lh), Rs = "[A-Za-z$_][0-9A-Za-z$_]*", Nh = [
10978
11002
  "as",
10979
11003
  // for exports
10980
11004
  "in",
@@ -11017,7 +11041,7 @@ const Fn = /* @__PURE__ */ Ma(Ch), Rs = "[A-Za-z$_][0-9A-Za-z$_]*", Sh = [
11017
11041
  "from",
11018
11042
  "export",
11019
11043
  "extends"
11020
- ], Lh = [
11044
+ ], Bh = [
11021
11045
  "true",
11022
11046
  "false",
11023
11047
  "null",
@@ -11101,7 +11125,7 @@ const Fn = /* @__PURE__ */ Ma(Ch), Rs = "[A-Za-z$_][0-9A-Za-z$_]*", Sh = [
11101
11125
  "encodeURIComponent",
11102
11126
  "escape",
11103
11127
  "unescape"
11104
- ], Nh = [
11128
+ ], kh = [
11105
11129
  "arguments",
11106
11130
  "this",
11107
11131
  "super",
@@ -11113,12 +11137,12 @@ const Fn = /* @__PURE__ */ Ma(Ch), Rs = "[A-Za-z$_][0-9A-Za-z$_]*", Sh = [
11113
11137
  "module",
11114
11138
  "global"
11115
11139
  // Node.js
11116
- ], Bh = [].concat(
11140
+ ], Rh = [].concat(
11117
11141
  sa,
11118
11142
  oa,
11119
11143
  ia
11120
11144
  );
11121
- function kh(e) {
11145
+ function Mh(e) {
11122
11146
  const t = e.regex, n = (b, { after: R }) => {
11123
11147
  const F = "</" + b[0].slice(1);
11124
11148
  return b.input.indexOf(F, R) !== -1;
@@ -11159,10 +11183,10 @@ function kh(e) {
11159
11183
  }
11160
11184
  }, a = {
11161
11185
  $pattern: Rs,
11162
- keyword: Sh,
11163
- literal: Lh,
11164
- built_in: Bh,
11165
- "variable.language": Nh
11186
+ keyword: Nh,
11187
+ literal: Bh,
11188
+ built_in: Rh,
11189
+ "variable.language": kh
11166
11190
  }, l = "[0-9](_?[0-9])*", _ = `\\.(${l})`, d = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", p = {
11167
11191
  className: "number",
11168
11192
  variants: [
@@ -11652,18 +11676,18 @@ var Ms = Xe({ props: { code: { type: String, required: !0 }, language: { type: S
11652
11676
  }) };
11653
11677
  }, render: function() {
11654
11678
  return Ko("pre", {}, [Ko("code", { class: this.className, innerHTML: this.highlightedCode })]);
11655
- } }), Rh = { install: function(e) {
11679
+ } }), Dh = { install: function(e) {
11656
11680
  e.component("highlightjs", Ms);
11657
11681
  }, component: Ms };
11658
- const Mh = /* @__PURE__ */ Xe({
11682
+ const xh = /* @__PURE__ */ Xe({
11659
11683
  __name: "index",
11660
11684
  props: {
11661
11685
  code: {}
11662
11686
  },
11663
11687
  setup(e) {
11664
11688
  const t = e;
11665
- Fn.registerLanguage("javascript", kh);
11666
- const n = Rh.component, { backgroundColor2: o } = oo();
11689
+ Fn.registerLanguage("javascript", Mh);
11690
+ const n = Dh.component, { backgroundColor2: o } = oo();
11667
11691
  return (i, s) => {
11668
11692
  const r = ge("v-sheet");
11669
11693
  return ue(), Ve(r, {
@@ -11681,10 +11705,10 @@ const Mh = /* @__PURE__ */ Xe({
11681
11705
  }, 8, ["color"]);
11682
11706
  };
11683
11707
  }
11684
- }), Dh = { class: "text-subtitle-1 ml-3" }, xh = /* @__PURE__ */ Xe({
11708
+ }), wh = { class: "text-subtitle-1 ml-3" }, Ph = /* @__PURE__ */ Xe({
11685
11709
  __name: "index",
11686
11710
  setup(e) {
11687
- const { t } = dn(), { sysBarAvail: n } = Fs(), { backgroundColor0: o, backgroundColor2: i } = oo(), s = pt(""), r = de(() => {
11711
+ const { t } = fn(), { sysBarAvail: n } = Fs(), { backgroundColor0: o, backgroundColor2: i } = oo(), s = pt(""), r = de(() => {
11688
11712
  let _ = 48;
11689
11713
  return n.value && (_ += 24), {
11690
11714
  position: "relative",
@@ -11698,12 +11722,12 @@ const Mh = /* @__PURE__ */ Xe({
11698
11722
  const p = ge("v-sheet"), f = ge("v-icon"), g = ge("v-spacer"), v = ge("v-dialog");
11699
11723
  return ue(), Ve(v, {
11700
11724
  modelValue: P(l),
11701
- "onUpdate:modelValue": d[1] || (d[1] = (E) => Zt(l) ? l.value = E : null),
11725
+ "onUpdate:modelValue": d[1] || (d[1] = (E) => Qt(l) ? l.value = E : null),
11702
11726
  transition: "fade-transition",
11703
11727
  persistent: "",
11704
11728
  "no-click-animation": "",
11705
11729
  fullscreen: "",
11706
- onKeydown: d[2] || (d[2] = xs(Qt((E) => l.value = !1, ["stop", "prevent"]), ["esc"]))
11730
+ onKeydown: d[2] || (d[2] = xs(en((E) => l.value = !1, ["stop", "prevent"]), ["esc"]))
11707
11731
  }, {
11708
11732
  default: $e(() => [
11709
11733
  pe(p, {
@@ -11727,7 +11751,7 @@ const Mh = /* @__PURE__ */ Xe({
11727
11751
  icon: P(Or),
11728
11752
  onClick: d[0] || (d[0] = (E) => l.value = !1)
11729
11753
  }, null, 8, ["icon"]),
11730
- Ue("span", Dh, eo(P(t)("x-block-lib.dlg.source.title")), 1),
11754
+ Ue("span", wh, eo(P(t)("x-block-lib.dlg.source.title")), 1),
11731
11755
  pe(g)
11732
11756
  ]),
11733
11757
  _: 1
@@ -11735,7 +11759,7 @@ const Mh = /* @__PURE__ */ Xe({
11735
11759
  Ue("div", {
11736
11760
  style: qe(r.value)
11737
11761
  }, [
11738
- pe(Mh, { code: s.value }, null, 8, ["code"])
11762
+ pe(xh, { code: s.value }, null, 8, ["code"])
11739
11763
  ], 4)
11740
11764
  ]),
11741
11765
  _: 1
@@ -11745,17 +11769,17 @@ const Mh = /* @__PURE__ */ Xe({
11745
11769
  }, 8, ["modelValue"]);
11746
11770
  };
11747
11771
  }
11748
- }), wh = (e) => {
11749
- e.component("XBlockly", Mf), e.component("XSourceDlg", xh);
11772
+ }), Uh = (e) => {
11773
+ e.component("XBlockly", xf), e.component("XSourceDlg", Ph);
11750
11774
  };
11751
- async function Gh(e) {
11775
+ async function Wh(e) {
11752
11776
  return (await Tr(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-m3g6roub.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-emne9mah.js") }), `./locales/${e}/index.ts`, 4)).default;
11753
11777
  }
11754
- const jh = { install: wh };
11778
+ const zh = { install: Uh };
11755
11779
  export {
11756
- Mf as XBlockly,
11780
+ xf as XBlockly,
11757
11781
  Le as blocklyState,
11758
- jh as default,
11759
- wh as install,
11760
- Gh as loadLocaleMessageBlock
11782
+ zh as default,
11783
+ Uh as install,
11784
+ Wh as loadLocaleMessageBlock
11761
11785
  };