ddy-process-h5 1.0.1-rc.2 → 1.0.1-rc.2.12

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.
@@ -24,7 +24,7 @@ function Nt(e) {
24
24
  function ye(e) {
25
25
  return typeof e == "function";
26
26
  }
27
- function Pe(e) {
27
+ function De(e) {
28
28
  return e !== null && typeof e == "object";
29
29
  }
30
30
  var un = Object.prototype.toString;
@@ -84,26 +84,26 @@ function hi(e) {
84
84
  return n || (i[s] = e(s));
85
85
  };
86
86
  }
87
- var Pu = /-(\w)/g, ai = hi(function(e) {
88
- return e.replace(Pu, function(i, t) {
87
+ var Du = /-(\w)/g, ai = hi(function(e) {
88
+ return e.replace(Du, function(i, t) {
89
89
  return t ? t.toUpperCase() : "";
90
90
  });
91
91
  }), al = hi(function(e) {
92
92
  return e.charAt(0).toUpperCase() + e.slice(1);
93
- }), Du = /\B([A-Z])/g, fi = hi(function(e) {
94
- return e.replace(Du, "-$1").toLowerCase();
93
+ }), Pu = /\B([A-Z])/g, fi = hi(function(e) {
94
+ return e.replace(Pu, "-$1").toLowerCase();
95
95
  });
96
- function Bu(e, i) {
96
+ function Mu(e, i) {
97
97
  function t(s) {
98
98
  var n = arguments.length;
99
99
  return n ? n > 1 ? e.apply(i, arguments) : e.call(i, s) : e.call(i);
100
100
  }
101
101
  return t._length = e.length, t;
102
102
  }
103
- function Mu(e, i) {
103
+ function Bu(e, i) {
104
104
  return e.bind(i);
105
105
  }
106
- var ol = Function.prototype.bind ? Mu : Bu;
106
+ var ol = Function.prototype.bind ? Bu : Mu;
107
107
  function Fn(e, i) {
108
108
  i = i || 0;
109
109
  for (var t = e.length - i, s = new Array(t); t--; )
@@ -130,7 +130,7 @@ var bs = function(e, i, t) {
130
130
  function oi(e, i) {
131
131
  if (e === i)
132
132
  return !0;
133
- var t = Pe(e), s = Pe(i);
133
+ var t = De(e), s = De(i);
134
134
  if (t && s)
135
135
  try {
136
136
  var n = Array.isArray(e), r = Array.isArray(i);
@@ -206,7 +206,7 @@ function gr(e) {
206
206
  var i = (e + "").charCodeAt(0);
207
207
  return i === 36 || i === 95;
208
208
  }
209
- function Mt(e, i, t, s) {
209
+ function Bt(e, i, t, s) {
210
210
  Object.defineProperty(e, i, {
211
211
  value: t,
212
212
  enumerable: !!s,
@@ -358,7 +358,7 @@ var fl = Array.prototype, Ws = Object.create(fl), Uu = [
358
358
  ];
359
359
  Uu.forEach(function(e) {
360
360
  var i = fl[e];
361
- Mt(Ws, e, function() {
361
+ Bt(Ws, e, function() {
362
362
  for (var s = [], n = 0; n < arguments.length; n++)
363
363
  s[n] = arguments[n];
364
364
  var r = i.apply(this, s), a = this.__ob__, o;
@@ -389,14 +389,14 @@ var Gu = {
389
389
  removeSub: Te
390
390
  }, ha = function() {
391
391
  function e(i, t, s) {
392
- if (t === void 0 && (t = !1), s === void 0 && (s = !1), this.value = i, this.shallow = t, this.mock = s, this.dep = s ? Gu : new at(), this.vmCount = 0, Mt(i, "__ob__", this), re(i)) {
392
+ if (t === void 0 && (t = !1), s === void 0 && (s = !1), this.value = i, this.shallow = t, this.mock = s, this.dep = s ? Gu : new at(), this.vmCount = 0, Bt(i, "__ob__", this), re(i)) {
393
393
  if (!s)
394
394
  if (Fu)
395
395
  i.__proto__ = Ws;
396
396
  else
397
397
  for (var n = 0, r = da.length; n < r; n++) {
398
398
  var a = da[n];
399
- Mt(i, a, Ws[a]);
399
+ Bt(i, a, Ws[a]);
400
400
  }
401
401
  t || this.observeArray(i);
402
402
  } else
@@ -498,7 +498,7 @@ function yl(e) {
498
498
  i = e[t], i && i.__ob__ && i.__ob__.dep.depend(), re(i) && yl(i);
499
499
  }
500
500
  function vl(e) {
501
- return qu(e, !0), Mt(e, "__v_isShallow", !0), e;
501
+ return qu(e, !0), Bt(e, "__v_isShallow", !0), e;
502
502
  }
503
503
  function qu(e, i) {
504
504
  if (!Cr(e)) {
@@ -612,7 +612,7 @@ function Al(e, i, t, s, n, r) {
612
612
  for (a in i)
613
613
  $(e[a]) && (p = fa(a), s(p.name, i[a], p.capture));
614
614
  }
615
- function Dt(e, i, t) {
615
+ function Pt(e, i, t) {
616
616
  e instanceof Ge && (e = e.data.hook || (e.data.hook = {}));
617
617
  var s, n = e[i];
618
618
  function r() {
@@ -673,7 +673,7 @@ function Zu(e, i) {
673
673
  else if (typeof e == "number")
674
674
  for (t = new Array(e), s = 0; s < e; s++)
675
675
  t[s] = i(s + 1, s);
676
- else if (Pe(e))
676
+ else if (De(e))
677
677
  if (ps && e[Symbol.iterator]) {
678
678
  t = [];
679
679
  for (var o = e[Symbol.iterator](), l = o.next(); !l.done; )
@@ -685,7 +685,7 @@ function Zu(e, i) {
685
685
  }
686
686
  function Xu(e, i, t, s) {
687
687
  var n = this.$scopedSlots[e], r;
688
- n ? (t = t || {}, s && (process.env.NODE_ENV !== "production" && !Pe(s) && O("slot v-bind without argument expects an Object", this), t = fe(fe({}, s), t)), r = n(t) || (ye(i) ? i() : i)) : r = this.$slots[e] || (ye(i) ? i() : i);
688
+ n ? (t = t || {}, s && (process.env.NODE_ENV !== "production" && !De(s) && O("slot v-bind without argument expects an Object", this), t = fe(fe({}, s), t)), r = n(t) || (ye(i) ? i() : i)) : r = this.$slots[e] || (ye(i) ? i() : i);
689
689
  var a = t && t.slot;
690
690
  return a ? this.$createElement("template", { slot: a }, r) : r;
691
691
  }
@@ -701,7 +701,7 @@ function ep(e, i, t, s, n) {
701
701
  }
702
702
  function tp(e, i, t, s, n) {
703
703
  if (t)
704
- if (!Pe(t))
704
+ if (!De(t))
705
705
  process.env.NODE_ENV !== "production" && O("v-bind without argument expects an Object or Array value", this);
706
706
  else {
707
707
  re(t) && (t = ll(t));
@@ -816,7 +816,7 @@ function zi(e, i, t, s) {
816
816
  }
817
817
  for (var p in t)
818
818
  p in n || (n[p] = cp(t, p));
819
- return i && Object.isExtensible(i) && (i._normalized = n), Mt(n, "$stable", a), Mt(n, "$key", o), Mt(n, "$hasNormal", r), n;
819
+ return i && Object.isExtensible(i) && (i._normalized = n), Bt(n, "$stable", a), Bt(n, "$key", o), Bt(n, "$hasNormal", r), n;
820
820
  }
821
821
  function lp(e, i, t, s) {
822
822
  var n = function() {
@@ -846,7 +846,7 @@ function up(e) {
846
846
  var n = Ft(t, null, [e._props || vl({}), s], e, "setup");
847
847
  if (Fi(), Ot(), ye(n))
848
848
  i.render = n;
849
- else if (Pe(n))
849
+ else if (De(n))
850
850
  if (process.env.NODE_ENV !== "production" && n instanceof Ge && O("setup() should not return VNodes directly - return a render function instead."), e._setupState = n, n.__sfc) {
851
851
  var a = e._setupProxy = {};
852
852
  for (var r in n)
@@ -864,7 +864,7 @@ function pp(e) {
864
864
  get attrs() {
865
865
  if (!e._attrsProxy) {
866
866
  var t = e._attrsProxy = {};
867
- Mt(t, "_v_attr_proxy", !0), Ys(t, e.$attrs, Fe, e, "$attrs");
867
+ Bt(t, "_v_attr_proxy", !0), Ys(t, e.$attrs, Fe, e, "$attrs");
868
868
  }
869
869
  return e._attrsProxy;
870
870
  },
@@ -953,7 +953,7 @@ function mp(e) {
953
953
  };
954
954
  }
955
955
  function An(e, i) {
956
- return (e.__esModule || ps && e[Symbol.toStringTag] === "Module") && (e = e.default), Pe(e) ? i.extend(e) : e;
956
+ return (e.__esModule || ps && e[Symbol.toStringTag] === "Module") && (e = e.default), De(e) ? i.extend(e) : e;
957
957
  }
958
958
  function gp(e, i, t, s, n) {
959
959
  var r = ii();
@@ -982,7 +982,7 @@ function yp(e, i) {
982
982
  process.env.NODE_ENV !== "production" && O("Failed to resolve async component: ".concat(String(e)) + (g ? `
983
983
  Reason: `.concat(g) : "")), C(e.errorComp) && (e.error = !0, o(!0));
984
984
  }), h = e(l, p);
985
- return Pe(h) && (Ln(h) ? $(e.resolved) && h.then(l, p) : Ln(h.component) && (h.component.then(l, p), C(h.error) && (e.errorComp = An(h.error, i)), C(h.loading) && (e.loadingComp = An(h.loading, i), h.delay === 0 ? e.loading = !0 : r = setTimeout(function() {
985
+ return De(h) && (Ln(h) ? $(e.resolved) && h.then(l, p) : Ln(h.component) && (h.component.then(l, p), C(h.error) && (e.errorComp = An(h.error, i)), C(h.loading) && (e.loadingComp = An(h.loading, i), h.delay === 0 ? e.loading = !0 : r = setTimeout(function() {
986
986
  r = null, $(e.resolved) && $(e.error) && (e.loading = !0, o(!1));
987
987
  }, h.delay || 200)), C(h.timeout) && (a = setTimeout(function() {
988
988
  a = null, $(e.resolved) && p(process.env.NODE_ENV !== "production" ? "timeout (".concat(h.timeout, "ms)") : null);
@@ -1024,7 +1024,7 @@ function kl(e, i, t) {
1024
1024
  }
1025
1025
  }
1026
1026
  function Cp(e) {
1027
- Pe(e.style) && Zs(e.style), Pe(e.class) && Zs(e.class);
1027
+ De(e.style) && Zs(e.style), De(e.class) && Zs(e.class);
1028
1028
  }
1029
1029
  function Lt(e, i, t) {
1030
1030
  Li();
@@ -1123,7 +1123,7 @@ function Zs(e) {
1123
1123
  }
1124
1124
  function Ls(e, i) {
1125
1125
  var t, s, n = re(e);
1126
- if (!(!n && !Pe(e) || e.__v_skip || Object.isFrozen(e) || e instanceof Ge)) {
1126
+ if (!(!n && !De(e) || e.__v_skip || Object.isFrozen(e) || e instanceof Ge)) {
1127
1127
  if (e.__ob__) {
1128
1128
  var r = e.__ob__.dep.id;
1129
1129
  if (i.has(r))
@@ -1176,7 +1176,7 @@ var xp = 0, xr = function() {
1176
1176
  }, e.prototype.run = function() {
1177
1177
  if (this.active) {
1178
1178
  var i = this.get();
1179
- if (i !== this.value || Pe(i) || this.deep) {
1179
+ if (i !== this.value || De(i) || this.deep) {
1180
1180
  var t = this.value;
1181
1181
  if (this.value = i, this.user) {
1182
1182
  var s = 'callback for watcher "'.concat(this.expression, '"');
@@ -1295,7 +1295,7 @@ function _p(e) {
1295
1295
  }
1296
1296
  e.$parent = t, e.$root = t ? t.$root : e, e.$children = [], e.$refs = {}, e._provided = t ? t._provided : /* @__PURE__ */ Object.create(null), e._watcher = null, e._inactive = null, e._directInactive = !1, e._isMounted = !1, e._isDestroyed = !1, e._isBeingDestroyed = !1;
1297
1297
  }
1298
- function Pp(e) {
1298
+ function Dp(e) {
1299
1299
  e.prototype._update = function(i, t) {
1300
1300
  var s = this, n = s.$el, r = s._vnode, a = Sl(s);
1301
1301
  s._vnode = i, r ? s.$el = s.__patch__(r, i) : s.$el = s.__patch__(s.$el, i, t, !1), a(), n && (n.__vue__ = null), s.$el && (s.$el.__vue__ = s);
@@ -1313,7 +1313,7 @@ function Pp(e) {
1313
1313
  }
1314
1314
  };
1315
1315
  }
1316
- function Dp(e, i, t) {
1316
+ function Pp(e, i, t) {
1317
1317
  e.$el = i, e.$options.render || (e.$options.render = ii, process.env.NODE_ENV !== "production" && (e.$options.template && e.$options.template.charAt(0) !== "#" || e.$options.el || i ? O("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.", e) : O("Failed to mount component: template or render function not defined.", e))), We(e, "beforeMount");
1318
1318
  var s;
1319
1319
  process.env.NODE_ENV !== "production" && pe.performance && mt ? s = function() {
@@ -1340,7 +1340,7 @@ function Dp(e, i, t) {
1340
1340
  r[a].run();
1341
1341
  return e.$vnode == null && (e._isMounted = !0, We(e, "mounted")), e;
1342
1342
  }
1343
- function Bp(e, i, t, s, n) {
1343
+ function Mp(e, i, t, s, n) {
1344
1344
  process.env.NODE_ENV !== "production" && (ss = !0);
1345
1345
  var r = s.data.scopedSlots, a = e.$scopedSlots, o = !!(r && !r.$stable || a !== Fe && !a.$stable || r && e.$scopedSlots.$key !== r.$key || !r && e.$scopedSlots.$key), l = !!(n || e.$options._renderChildren || o), p = e.$vnode;
1346
1346
  e.$options._parentVnode = s, e.$vnode = s, e._vnode && (e._vnode.parent = s), e.$options._renderChildren = n;
@@ -1351,7 +1351,7 @@ function Bp(e, i, t, s, n) {
1351
1351
  Rt(!1);
1352
1352
  for (var b = e._props, N = e.$options._propKeys || [], J = 0; J < N.length; J++) {
1353
1353
  var Q = N[J], ne = e.$options.props;
1354
- b[Q] = Br(Q, ne, i, e);
1354
+ b[Q] = Mr(Q, ne, i, e);
1355
1355
  }
1356
1356
  Rt(!0), e.$options.propsData = i;
1357
1357
  }
@@ -1376,11 +1376,11 @@ function Tr(e, i) {
1376
1376
  We(e, "activated");
1377
1377
  }
1378
1378
  }
1379
- function Pl(e, i) {
1379
+ function Dl(e, i) {
1380
1380
  if (!(i && (e._directInactive = !0, _l(e))) && !e._inactive) {
1381
1381
  e._inactive = !0;
1382
1382
  for (var t = 0; t < e.$children.length; t++)
1383
- Pl(e.$children[t]);
1383
+ Dl(e.$children[t]);
1384
1384
  We(e, "deactivated");
1385
1385
  }
1386
1386
  }
@@ -1394,11 +1394,11 @@ function We(e, i, t, s) {
1394
1394
  Ft(r[o], e, t || null, e, a);
1395
1395
  e._hasHookEvent && e.$emit("hook:" + i), s && Ot(n), Fi();
1396
1396
  }
1397
- var Mp = 100, wt = [], Ir = [], ns = {}, Fs = {}, Kn = !1, kr = !1, Ei = 0;
1397
+ var Bp = 100, wt = [], Ir = [], ns = {}, Fs = {}, Kn = !1, kr = !1, Ei = 0;
1398
1398
  function Op() {
1399
1399
  Ei = wt.length = Ir.length = 0, ns = {}, process.env.NODE_ENV !== "production" && (Fs = {}), Kn = kr = !1;
1400
1400
  }
1401
- var Dl = 0, Wn = Date.now;
1401
+ var Pl = 0, Wn = Date.now;
1402
1402
  if (qe && !Oi) {
1403
1403
  var Cn = window.performance;
1404
1404
  Cn && typeof Cn.now == "function" && Wn() > document.createEvent("Event").timeStamp && (Wn = function() {
@@ -1414,10 +1414,10 @@ var Rp = function(e, i) {
1414
1414
  return e.id - i.id;
1415
1415
  };
1416
1416
  function wa() {
1417
- Dl = Wn(), kr = !0;
1417
+ Pl = Wn(), kr = !0;
1418
1418
  var e, i;
1419
1419
  for (wt.sort(Rp), Ei = 0; Ei < wt.length; Ei++)
1420
- if (e = wt[Ei], e.before && e.before(), i = e.id, ns[i] = null, e.run(), process.env.NODE_ENV !== "production" && ns[i] != null && (Fs[i] = (Fs[i] || 0) + 1, Fs[i] > Mp)) {
1420
+ if (e = wt[Ei], e.before && e.before(), i = e.id, ns[i] = null, e.run(), process.env.NODE_ENV !== "production" && ns[i] != null && (Fs[i] = (Fs[i] || 0) + 1, Fs[i] > Bp)) {
1421
1421
  O("You may have an infinite update loop " + (e.user ? 'in watcher with expression "'.concat(e.expression, '"') : "in a component render function."), e.vm);
1422
1422
  break;
1423
1423
  }
@@ -1460,7 +1460,7 @@ function Qp(e) {
1460
1460
  var i = e.$options.provide;
1461
1461
  if (i) {
1462
1462
  var t = ye(i) ? i.call(e) : i;
1463
- if (!Pe(t))
1463
+ if (!De(t))
1464
1464
  return;
1465
1465
  for (var s = Wu(e), n = ps ? Reflect.ownKeys(t) : Object.keys(t), r = 0; r < n.length; r++) {
1466
1466
  var a = n[r];
@@ -1469,14 +1469,14 @@ function Qp(e) {
1469
1469
  }
1470
1470
  }
1471
1471
  function Up(e) {
1472
- var i = Bl(e.$options.inject, e);
1472
+ var i = Ml(e.$options.inject, e);
1473
1473
  i && (Rt(!1), Object.keys(i).forEach(function(t) {
1474
1474
  process.env.NODE_ENV !== "production" ? ot(e, t, i[t], function() {
1475
1475
  O("Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. " + 'injection being mutated: "'.concat(t, '"'), e);
1476
1476
  }) : ot(e, t, i[t]);
1477
1477
  }), Rt(!0));
1478
1478
  }
1479
- function Bl(e, i) {
1479
+ function Ml(e, i) {
1480
1480
  if (e) {
1481
1481
  for (var t = /* @__PURE__ */ Object.create(null), s = ps ? Reflect.ownKeys(e) : Object.keys(e), n = 0; n < s.length; n++) {
1482
1482
  var r = s[n];
@@ -1498,7 +1498,7 @@ function Nr(e, i, t, s, n) {
1498
1498
  var r = this, a = n.options, o;
1499
1499
  _e(s, "_uid") ? (o = Object.create(s), o._original = s) : (o = s, s = s._original);
1500
1500
  var l = Ce(a._compiled), p = !l;
1501
- this.data = e, this.props = i, this.children = t, this.parent = s, this.listeners = e.on || Fe, this.injections = Bl(a.inject, s), this.slots = function() {
1501
+ this.data = e, this.props = i, this.children = t, this.parent = s, this.listeners = e.on || Fe, this.injections = Ml(a.inject, s), this.slots = function() {
1502
1502
  return r.$slots || zi(s, e.scopedSlots, r.$slots = wr(t, s)), r.$slots;
1503
1503
  }, Object.defineProperty(this, "scopedSlots", {
1504
1504
  enumerable: !0,
@@ -1517,7 +1517,7 @@ function Gp(e, i, t, s, n) {
1517
1517
  var r = e.options, a = {}, o = r.props;
1518
1518
  if (C(o))
1519
1519
  for (var l in o)
1520
- a[l] = Br(l, o, i || Fe);
1520
+ a[l] = Mr(l, o, i || Fe);
1521
1521
  else
1522
1522
  C(t.attrs) && xa(a, t.attrs), C(t.props) && xa(a, t.props);
1523
1523
  var p = new Nr(t, a, n, s, e), h = r.render.call(null, p._c, p);
@@ -1552,7 +1552,7 @@ var Sr = {
1552
1552
  },
1553
1553
  prepatch: function(e, i) {
1554
1554
  var t = i.componentOptions, s = i.componentInstance = e.componentInstance;
1555
- Bp(
1555
+ Mp(
1556
1556
  s,
1557
1557
  t.propsData,
1558
1558
  t.listeners,
@@ -1566,13 +1566,13 @@ var Sr = {
1566
1566
  },
1567
1567
  destroy: function(e) {
1568
1568
  var i = e.componentInstance;
1569
- i._isDestroyed || (e.data.keepAlive ? Pl(i, !0) : i.$destroy());
1569
+ i._isDestroyed || (e.data.keepAlive ? Dl(i, !0) : i.$destroy());
1570
1570
  }
1571
1571
  }, Ta = Object.keys(Sr);
1572
1572
  function Ia(e, i, t, s, n) {
1573
1573
  if (!$(e)) {
1574
1574
  var r = t.$options._base;
1575
- if (Pe(e) && (e = r.extend(e)), typeof e != "function") {
1575
+ if (De(e) && (e = r.extend(e)), typeof e != "function") {
1576
1576
  process.env.NODE_ENV !== "production" && O("Invalid Component definition: ".concat(String(e)), t);
1577
1577
  return;
1578
1578
  }
@@ -1685,7 +1685,7 @@ found in
1685
1685
  }
1686
1686
  var it = pe.optionMergeStrategies;
1687
1687
  process.env.NODE_ENV !== "production" && (it.el = it.propsData = function(e, i, t, s) {
1688
- return t || O('option "'.concat(s, '" can only be used during instance ') + "creation with the `new` keyword."), Ml(e, i);
1688
+ return t || O('option "'.concat(s, '" can only be used during instance ') + "creation with the `new` keyword."), Bl(e, i);
1689
1689
  });
1690
1690
  function rs(e, i, t) {
1691
1691
  if (t === void 0 && (t = !0), !i)
@@ -1719,7 +1719,7 @@ pl.forEach(function(e) {
1719
1719
  });
1720
1720
  function $p(e, i, t, s) {
1721
1721
  var n = Object.create(e || null);
1722
- return i ? (process.env.NODE_ENV !== "production" && Dr(s, i, t), fe(n, i)) : n;
1722
+ return i ? (process.env.NODE_ENV !== "production" && Pr(s, i, t), fe(n, i)) : n;
1723
1723
  }
1724
1724
  pn.forEach(function(e) {
1725
1725
  it[e + "s"] = $p;
@@ -1727,7 +1727,7 @@ pn.forEach(function(e) {
1727
1727
  it.watch = function(e, i, t, s) {
1728
1728
  if (e === Vn && (e = void 0), i === Vn && (i = void 0), !i)
1729
1729
  return Object.create(e || null);
1730
- if (process.env.NODE_ENV !== "production" && Dr(s, i, t), !e)
1730
+ if (process.env.NODE_ENV !== "production" && Pr(s, i, t), !e)
1731
1731
  return i;
1732
1732
  var n = {};
1733
1733
  fe(n, e);
@@ -1738,7 +1738,7 @@ it.watch = function(e, i, t, s) {
1738
1738
  return n;
1739
1739
  };
1740
1740
  it.props = it.methods = it.inject = it.computed = function(e, i, t, s) {
1741
- if (i && process.env.NODE_ENV !== "production" && Dr(s, i, t), !e)
1741
+ if (i && process.env.NODE_ENV !== "production" && Pr(s, i, t), !e)
1742
1742
  return i;
1743
1743
  var n = /* @__PURE__ */ Object.create(null);
1744
1744
  return fe(n, e), i && fe(n, i), n;
@@ -1753,14 +1753,14 @@ it.provide = function(e, i) {
1753
1753
  ), t;
1754
1754
  } : i;
1755
1755
  };
1756
- var Ml = function(e, i) {
1756
+ var Bl = function(e, i) {
1757
1757
  return i === void 0 ? e : i;
1758
1758
  };
1759
1759
  function ed(e) {
1760
1760
  for (var i in e.components)
1761
- Pr(i);
1761
+ Dr(i);
1762
1762
  }
1763
- function Pr(e) {
1763
+ function Dr(e) {
1764
1764
  new RegExp("^[a-zA-Z][\\-\\.0-9_".concat(dl.source, "]*$")).test(e) || O('Invalid component name: "' + e + '". Component names should conform to valid custom element name in html5 specification.'), (Su(e) || pe.isReservedTag(e)) && O("Do not use built-in or reserved HTML elements as component id: " + e);
1765
1765
  }
1766
1766
  function td(e, i) {
@@ -1802,7 +1802,7 @@ function sd(e) {
1802
1802
  ye(s) && (i[t] = { bind: s, update: s });
1803
1803
  }
1804
1804
  }
1805
- function Dr(e, i, t) {
1805
+ function Pr(e, i, t) {
1806
1806
  Ve(i) || O('Invalid value for option "'.concat(e, '": expected an Object, ') + "but got ".concat(cs(i), "."), t);
1807
1807
  }
1808
1808
  function li(e, i, t) {
@@ -1815,7 +1815,7 @@ function li(e, i, t) {
1815
1815
  for (a in i)
1816
1816
  _e(e, a) || o(a);
1817
1817
  function o(l) {
1818
- var p = it[l] || Ml;
1818
+ var p = it[l] || Bl;
1819
1819
  r[l] = p(e[l], i[l], t, l);
1820
1820
  }
1821
1821
  return r;
@@ -1835,7 +1835,7 @@ function $s(e, i, t, s) {
1835
1835
  return process.env.NODE_ENV !== "production" && s && !o && O("Failed to resolve " + i.slice(0, -1) + ": " + t), o;
1836
1836
  }
1837
1837
  }
1838
- function Br(e, i, t, s) {
1838
+ function Mr(e, i, t, s) {
1839
1839
  var n = i[e], r = !_e(t, e), a = t[e], o = _a(Boolean, n.type);
1840
1840
  if (o > -1) {
1841
1841
  if (r && !_e(n, "default"))
@@ -1855,7 +1855,7 @@ function Br(e, i, t, s) {
1855
1855
  function nd(e, i, t) {
1856
1856
  if (!!_e(i, "default")) {
1857
1857
  var s = i.default;
1858
- return process.env.NODE_ENV !== "production" && Pe(s) && O('Invalid default value for prop "' + t + '": Props with type Object/Array must use a factory function to return the default value.', e), e && e.$options.propsData && e.$options.propsData[t] === void 0 && e._props[t] !== void 0 ? e._props[t] : ye(s) && en(i.type) !== "Function" ? s.call(e) : s;
1858
+ return process.env.NODE_ENV !== "production" && De(s) && O('Invalid default value for prop "' + t + '": Props with type Object/Array must use a factory function to return the default value.', e), e && e.$options.propsData && e.$options.propsData[t] === void 0 && e._props[t] !== void 0 ? e._props[t] : ye(s) && en(i.type) !== "Function" ? s.call(e) : s;
1859
1859
  }
1860
1860
  }
1861
1861
  function rd(e, i, t, s, n) {
@@ -1922,9 +1922,9 @@ function _a(e, i) {
1922
1922
  }
1923
1923
  function cd(e, i, t) {
1924
1924
  var s = 'Invalid prop: type check failed for prop "'.concat(e, '".') + " Expected ".concat(t.map(al).join(", ")), n = t[0], r = cs(i);
1925
- return t.length === 1 && wn(n) && wn(typeof i) && !pd(n, r) && (s += " with value ".concat(Pa(i, n))), s += ", got ".concat(r, " "), wn(r) && (s += "with value ".concat(Pa(i, r), ".")), s;
1925
+ return t.length === 1 && wn(n) && wn(typeof i) && !pd(n, r) && (s += " with value ".concat(Da(i, n))), s += ", got ".concat(r, " "), wn(r) && (s += "with value ".concat(Da(i, r), ".")), s;
1926
1926
  }
1927
- function Pa(e, i) {
1927
+ function Da(e, i) {
1928
1928
  return i === "String" ? '"'.concat(e, '"') : i === "Number" ? "".concat(Number(e)) : "".concat(e);
1929
1929
  }
1930
1930
  var ud = ["string", "number", "boolean"];
@@ -1944,12 +1944,12 @@ var Ol;
1944
1944
  if (process.env.NODE_ENV !== "production") {
1945
1945
  var dd = Ye(
1946
1946
  "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,require"
1947
- ), Da = function(e, i) {
1947
+ ), Pa = function(e, i) {
1948
1948
  O('Property or method "'.concat(i, '" is not defined on the instance but ') + "referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.", e);
1949
- }, Ba = function(e, i) {
1949
+ }, Ma = function(e, i) {
1950
1950
  O('Property "'.concat(i, '" must be accessed with "$data.').concat(i, '" because ') + 'properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://v2.vuejs.org/v2/api/#data', e);
1951
- }, Ma = typeof Proxy < "u" && ti(Proxy);
1952
- if (Ma) {
1951
+ }, Ba = typeof Proxy < "u" && ti(Proxy);
1952
+ if (Ba) {
1953
1953
  var hd = Ye("stop,prevent,self,ctrl,shift,alt,meta,exact");
1954
1954
  pe.keyCodes = new Proxy(pe.keyCodes, {
1955
1955
  set: function(e, i, t) {
@@ -1960,15 +1960,15 @@ if (process.env.NODE_ENV !== "production") {
1960
1960
  var fd = {
1961
1961
  has: function(e, i) {
1962
1962
  var t = i in e, s = dd(i) || typeof i == "string" && i.charAt(0) === "_" && !(i in e.$data);
1963
- return !t && !s && (i in e.$data ? Ba(e, i) : Da(e, i)), t || !s;
1963
+ return !t && !s && (i in e.$data ? Ma(e, i) : Pa(e, i)), t || !s;
1964
1964
  }
1965
1965
  }, md = {
1966
1966
  get: function(e, i) {
1967
- return typeof i == "string" && !(i in e) && (i in e.$data ? Ba(e, i) : Da(e, i)), e[i];
1967
+ return typeof i == "string" && !(i in e) && (i in e.$data ? Ma(e, i) : Pa(e, i)), e[i];
1968
1968
  }
1969
1969
  };
1970
1970
  Ol = function(i) {
1971
- if (Ma) {
1971
+ if (Ba) {
1972
1972
  var t = i.$options, s = t.render && t.render._withStripped ? md : fd;
1973
1973
  i._renderProxy = new Proxy(i, s);
1974
1974
  } else
@@ -1981,7 +1981,7 @@ var ht = {
1981
1981
  get: Te,
1982
1982
  set: Te
1983
1983
  };
1984
- function Mr(e, i, t) {
1984
+ function Br(e, i, t) {
1985
1985
  ht.get = function() {
1986
1986
  return this[i][t];
1987
1987
  }, ht.set = function(n) {
@@ -2003,7 +2003,7 @@ function yd(e, i) {
2003
2003
  r || Rt(!1);
2004
2004
  var a = function(l) {
2005
2005
  n.push(l);
2006
- var p = Br(l, i, t, e);
2006
+ var p = Mr(l, i, t, e);
2007
2007
  if (process.env.NODE_ENV !== "production") {
2008
2008
  var h = fi(l);
2009
2009
  (rl(h) || pe.isReservedAttr(h)) && O('"'.concat(h, '" is a reserved attribute and cannot be used as component prop.'), e), ot(s, l, p, function() {
@@ -2011,7 +2011,7 @@ function yd(e, i) {
2011
2011
  });
2012
2012
  } else
2013
2013
  ot(s, l, p);
2014
- l in e || Mr(e, "_props", l);
2014
+ l in e || Br(e, "_props", l);
2015
2015
  };
2016
2016
  for (var o in i)
2017
2017
  a(o);
@@ -2023,7 +2023,7 @@ function vd(e) {
2023
2023
  https://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`, e));
2024
2024
  for (var t = Object.keys(i), s = e.$options.props, n = e.$options.methods, r = t.length; r--; ) {
2025
2025
  var a = t[r];
2026
- process.env.NODE_ENV !== "production" && n && _e(n, a) && O('Method "'.concat(a, '" has already been defined as a data property.'), e), s && _e(s, a) ? process.env.NODE_ENV !== "production" && O('The data property "'.concat(a, '" is already declared as a prop. ') + "Use prop default value instead.", e) : gr(a) || Mr(e, "_data", a);
2026
+ process.env.NODE_ENV !== "production" && n && _e(n, a) && O('Method "'.concat(a, '" has already been defined as a data property.'), e), s && _e(s, a) ? process.env.NODE_ENV !== "production" && O('The data property "'.concat(a, '" is already declared as a prop. ') + "Use prop default value instead.", e) : gr(a) || Br(e, "_data", a);
2027
2027
  }
2028
2028
  var o = It(i);
2029
2029
  o && o.vmCount++;
@@ -2153,7 +2153,7 @@ function be(e) {
2153
2153
  Id(be);
2154
2154
  xd(be);
2155
2155
  Sp(be);
2156
- Pp(be);
2156
+ Dp(be);
2157
2157
  mp(be);
2158
2158
  function Sd(e) {
2159
2159
  e.use = function(i) {
@@ -2169,7 +2169,7 @@ function _d(e) {
2169
2169
  return this.options = li(this.options, i), this;
2170
2170
  };
2171
2171
  }
2172
- function Pd(e) {
2172
+ function Dd(e) {
2173
2173
  e.cid = 0;
2174
2174
  var i = 1;
2175
2175
  e.extend = function(t) {
@@ -2178,29 +2178,29 @@ function Pd(e) {
2178
2178
  if (r[n])
2179
2179
  return r[n];
2180
2180
  var a = Si(t) || Si(s.options);
2181
- process.env.NODE_ENV !== "production" && a && Pr(a);
2181
+ process.env.NODE_ENV !== "production" && a && Dr(a);
2182
2182
  var o = function(p) {
2183
2183
  this._init(p);
2184
2184
  };
2185
- return o.prototype = Object.create(s.prototype), o.prototype.constructor = o, o.cid = i++, o.options = li(s.options, t), o.super = s, o.options.props && Dd(o), o.options.computed && Bd(o), o.extend = s.extend, o.mixin = s.mixin, o.use = s.use, pn.forEach(function(l) {
2185
+ return o.prototype = Object.create(s.prototype), o.prototype.constructor = o, o.cid = i++, o.options = li(s.options, t), o.super = s, o.options.props && Pd(o), o.options.computed && Md(o), o.extend = s.extend, o.mixin = s.mixin, o.use = s.use, pn.forEach(function(l) {
2186
2186
  o[l] = s[l];
2187
2187
  }), a && (o.options.components[a] = o), o.superOptions = s.options, o.extendOptions = t, o.sealedOptions = fe({}, o.options), r[n] = o, o;
2188
2188
  };
2189
2189
  }
2190
- function Dd(e) {
2190
+ function Pd(e) {
2191
2191
  var i = e.options.props;
2192
2192
  for (var t in i)
2193
- Mr(e.prototype, "_props", t);
2193
+ Br(e.prototype, "_props", t);
2194
2194
  }
2195
- function Bd(e) {
2195
+ function Md(e) {
2196
2196
  var i = e.options.computed;
2197
2197
  for (var t in i)
2198
2198
  Rl(e.prototype, t, i[t]);
2199
2199
  }
2200
- function Md(e) {
2200
+ function Bd(e) {
2201
2201
  pn.forEach(function(i) {
2202
2202
  e[i] = function(t, s) {
2203
- return s ? (process.env.NODE_ENV !== "production" && i === "component" && Pr(t), i === "component" && Ve(s) && (s.name = s.name || t, s = this.options._base.extend(s)), i === "directive" && ye(s) && (s = { bind: s, update: s }), this.options[i + "s"][t] = s, s) : this.options[i + "s"][t];
2203
+ return s ? (process.env.NODE_ENV !== "production" && i === "component" && Dr(t), i === "component" && Ve(s) && (s.name = s.name || t, s = this.options._base.extend(s)), i === "directive" && ye(s) && (s = { bind: s, update: s }), this.options[i + "s"][t] = s, s) : this.options[i + "s"][t];
2204
2204
  };
2205
2205
  });
2206
2206
  }
@@ -2296,7 +2296,7 @@ function Ld(e) {
2296
2296
  return It(t), t;
2297
2297
  }, e.options = /* @__PURE__ */ Object.create(null), pn.forEach(function(t) {
2298
2298
  e.options[t + "s"] = /* @__PURE__ */ Object.create(null);
2299
- }), e.options._base = e, fe(e.options.components, Rd), Sd(e), _d(e), Pd(e), Md(e);
2299
+ }), e.options._base = e, fe(e.options.components, Rd), Sd(e), _d(e), Dd(e), Bd(e);
2300
2300
  }
2301
2301
  Ld(be);
2302
2302
  Object.defineProperty(be.prototype, "$isServer", {
@@ -2342,7 +2342,7 @@ function Lr(e, i) {
2342
2342
  return e ? i ? e + " " + i : e : i || "";
2343
2343
  }
2344
2344
  function Fr(e) {
2345
- return Array.isArray(e) ? Hd(e) : Pe(e) ? Kd(e) : typeof e == "string" ? e : "";
2345
+ return Array.isArray(e) ? Hd(e) : De(e) ? Kd(e) : typeof e == "string" ? e : "";
2346
2346
  }
2347
2347
  function Hd(e) {
2348
2348
  for (var i = "", t, s = 0, n = e.length; s < n; s++)
@@ -2477,7 +2477,7 @@ function Qa(e, i, t) {
2477
2477
  var s = e._setupState;
2478
2478
  s && _e(s, i) && (yt(s[i]) ? s[i].value = t : s[i] = t);
2479
2479
  }
2480
- var Bt = new Ge("", {}, []), Ji = ["create", "activate", "update", "remove", "destroy"];
2480
+ var Mt = new Ge("", {}, []), Ji = ["create", "activate", "update", "remove", "destroy"];
2481
2481
  function zt(e, i) {
2482
2482
  return e.key === i.key && e.asyncFactory === i.asyncFactory && (e.tag === i.tag && e.isComment === i.isComment && C(e.data) === C(i.data) && hh(e, i) || Ce(e.isAsyncPlaceholder) && $(i.asyncFactory.error));
2483
2483
  }
@@ -2517,32 +2517,32 @@ function mh(e) {
2517
2517
  })) && pe.isUnknownElement(m.tag);
2518
2518
  }
2519
2519
  var h = 0;
2520
- function g(m, v, T, M, H, w, E) {
2521
- if (C(m.elm) && C(w) && (m = w[E] = jn(m)), m.isRootInsert = !H, !b(m, v, T, M)) {
2520
+ function g(m, v, T, B, H, w, E) {
2521
+ if (C(m.elm) && C(w) && (m = w[E] = jn(m)), m.isRootInsert = !H, !b(m, v, T, B)) {
2522
2522
  var k = m.data, K = m.children, te = m.tag;
2523
- C(te) ? (process.env.NODE_ENV !== "production" && (k && k.pre && h++, p(m, h) && O("Unknown custom element: <" + te + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.', m.context)), m.elm = m.ns ? r.createElementNS(m.ns, te) : r.createElement(te, m), P(m), ne(m, K, v), C(k) && Z(m, v), Q(T, m.elm, M), process.env.NODE_ENV !== "production" && k && k.pre && h--) : Ce(m.isComment) ? (m.elm = r.createComment(m.text), Q(T, m.elm, M)) : (m.elm = r.createTextNode(m.text), Q(T, m.elm, M));
2523
+ C(te) ? (process.env.NODE_ENV !== "production" && (k && k.pre && h++, p(m, h) && O("Unknown custom element: <" + te + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.', m.context)), m.elm = m.ns ? r.createElementNS(m.ns, te) : r.createElement(te, m), D(m), ne(m, K, v), C(k) && Z(m, v), Q(T, m.elm, B), process.env.NODE_ENV !== "production" && k && k.pre && h--) : Ce(m.isComment) ? (m.elm = r.createComment(m.text), Q(T, m.elm, B)) : (m.elm = r.createTextNode(m.text), Q(T, m.elm, B));
2524
2524
  }
2525
2525
  }
2526
- function b(m, v, T, M) {
2526
+ function b(m, v, T, B) {
2527
2527
  var H = m.data;
2528
2528
  if (C(H)) {
2529
2529
  var w = C(m.componentInstance) && H.keepAlive;
2530
2530
  if (C(H = H.hook) && C(H = H.init) && H(m, !1), C(m.componentInstance))
2531
- return N(m, v), Q(T, m.elm, M), Ce(w) && J(m, v, T, M), !0;
2531
+ return N(m, v), Q(T, m.elm, B), Ce(w) && J(m, v, T, B), !0;
2532
2532
  }
2533
2533
  }
2534
2534
  function N(m, v) {
2535
- C(m.data.pendingInsert) && (v.push.apply(v, m.data.pendingInsert), m.data.pendingInsert = null), m.elm = m.componentInstance.$el, se(m) ? (Z(m, v), P(m)) : (xi(m), v.push(m));
2535
+ C(m.data.pendingInsert) && (v.push.apply(v, m.data.pendingInsert), m.data.pendingInsert = null), m.elm = m.componentInstance.$el, se(m) ? (Z(m, v), D(m)) : (xi(m), v.push(m));
2536
2536
  }
2537
- function J(m, v, T, M) {
2537
+ function J(m, v, T, B) {
2538
2538
  for (var H, w = m; w.componentInstance; )
2539
2539
  if (w = w.componentInstance._vnode, C(H = w.data) && C(H = H.transition)) {
2540
2540
  for (H = 0; H < s.activate.length; ++H)
2541
- s.activate[H](Bt, w);
2541
+ s.activate[H](Mt, w);
2542
2542
  v.push(w);
2543
2543
  break;
2544
2544
  }
2545
- Q(T, m.elm, M);
2545
+ Q(T, m.elm, B);
2546
2546
  }
2547
2547
  function Q(m, v, T) {
2548
2548
  C(m) && (C(T) ? r.parentNode(T) === m && r.insertBefore(m, v, T) : r.appendChild(m, v));
@@ -2550,8 +2550,8 @@ function mh(e) {
2550
2550
  function ne(m, v, T) {
2551
2551
  if (re(v)) {
2552
2552
  process.env.NODE_ENV !== "production" && R(v);
2553
- for (var M = 0; M < v.length; ++M)
2554
- g(v[M], T, m.elm, null, !0, v, M);
2553
+ for (var B = 0; B < v.length; ++B)
2554
+ g(v[B], T, m.elm, null, !0, v, B);
2555
2555
  } else
2556
2556
  Nt(m.text) && r.appendChild(m.elm, r.createTextNode(String(m.text)));
2557
2557
  }
@@ -2562,10 +2562,10 @@ function mh(e) {
2562
2562
  }
2563
2563
  function Z(m, v) {
2564
2564
  for (var T = 0; T < s.create.length; ++T)
2565
- s.create[T](Bt, m);
2566
- i = m.data.hook, C(i) && (C(i.create) && i.create(Bt, m), C(i.insert) && v.push(m));
2565
+ s.create[T](Mt, m);
2566
+ i = m.data.hook, C(i) && (C(i.create) && i.create(Mt, m), C(i.insert) && v.push(m));
2567
2567
  }
2568
- function P(m) {
2568
+ function D(m) {
2569
2569
  var v;
2570
2570
  if (C(v = m.fnScopeId))
2571
2571
  r.setStyleScope(m.elm, v);
@@ -2574,56 +2574,56 @@ function mh(e) {
2574
2574
  C(v = T.context) && C(v = v.$options._scopeId) && r.setStyleScope(m.elm, v), T = T.parent;
2575
2575
  C(v = si) && v !== m.context && v !== m.fnContext && C(v = v.$options._scopeId) && r.setStyleScope(m.elm, v);
2576
2576
  }
2577
- function A(m, v, T, M, H, w) {
2578
- for (; M <= H; ++M)
2579
- g(T[M], w, m, v, !1, T, M);
2577
+ function A(m, v, T, B, H, w) {
2578
+ for (; B <= H; ++B)
2579
+ g(T[B], w, m, v, !1, T, B);
2580
2580
  }
2581
2581
  function S(m) {
2582
- var v, T, M = m.data;
2583
- if (C(M))
2584
- for (C(v = M.hook) && C(v = v.destroy) && v(m), v = 0; v < s.destroy.length; ++v)
2582
+ var v, T, B = m.data;
2583
+ if (C(B))
2584
+ for (C(v = B.hook) && C(v = v.destroy) && v(m), v = 0; v < s.destroy.length; ++v)
2585
2585
  s.destroy[v](m);
2586
2586
  if (C(v = m.children))
2587
2587
  for (T = 0; T < m.children.length; ++T)
2588
2588
  S(m.children[T]);
2589
2589
  }
2590
- function D(m, v, T) {
2590
+ function P(m, v, T) {
2591
2591
  for (; v <= T; ++v) {
2592
- var M = m[v];
2593
- C(M) && (C(M.tag) ? (U(M), S(M)) : l(M.elm));
2592
+ var B = m[v];
2593
+ C(B) && (C(B.tag) ? (U(B), S(B)) : l(B.elm));
2594
2594
  }
2595
2595
  }
2596
2596
  function U(m, v) {
2597
2597
  if (C(v) || C(m.data)) {
2598
- var T, M = s.remove.length + 1;
2599
- for (C(v) ? v.listeners += M : v = o(m.elm, M), C(T = m.componentInstance) && C(T = T._vnode) && C(T.data) && U(T, v), T = 0; T < s.remove.length; ++T)
2598
+ var T, B = s.remove.length + 1;
2599
+ for (C(v) ? v.listeners += B : v = o(m.elm, B), C(T = m.componentInstance) && C(T = T._vnode) && C(T.data) && U(T, v), T = 0; T < s.remove.length; ++T)
2600
2600
  s.remove[T](m, v);
2601
2601
  C(T = m.data.hook) && C(T = T.remove) ? T(m, v) : v();
2602
2602
  } else
2603
2603
  l(m.elm);
2604
2604
  }
2605
- function I(m, v, T, M, H) {
2605
+ function I(m, v, T, B, H) {
2606
2606
  var w = 0, E = 0, k = v.length - 1, K = v[0], te = v[k], d = T.length - 1, u = T[0], c = T[d], f, y, x, _, G = !H;
2607
2607
  for (process.env.NODE_ENV !== "production" && R(T); w <= k && E <= d; )
2608
- $(K) ? K = v[++w] : $(te) ? te = v[--k] : zt(K, u) ? (V(K, u, M, T, E), K = v[++w], u = T[++E]) : zt(te, c) ? (V(te, c, M, T, d), te = v[--k], c = T[--d]) : zt(K, c) ? (V(K, c, M, T, d), G && r.insertBefore(m, K.elm, r.nextSibling(te.elm)), K = v[++w], c = T[--d]) : zt(te, u) ? (V(te, u, M, T, E), G && r.insertBefore(m, te.elm, K.elm), te = v[--k], u = T[++E]) : ($(f) && (f = fh(v, w, k)), y = C(u.key) ? f[u.key] : B(u, v, w, k), $(y) ? g(u, M, m, K.elm, !1, T, E) : (x = v[y], zt(x, u) ? (V(x, u, M, T, E), v[y] = void 0, G && r.insertBefore(m, x.elm, K.elm)) : g(u, M, m, K.elm, !1, T, E)), u = T[++E]);
2609
- w > k ? (_ = $(T[d + 1]) ? null : T[d + 1].elm, A(m, _, T, E, d, M)) : E > d && D(v, w, k);
2608
+ $(K) ? K = v[++w] : $(te) ? te = v[--k] : zt(K, u) ? (V(K, u, B, T, E), K = v[++w], u = T[++E]) : zt(te, c) ? (V(te, c, B, T, d), te = v[--k], c = T[--d]) : zt(K, c) ? (V(K, c, B, T, d), G && r.insertBefore(m, K.elm, r.nextSibling(te.elm)), K = v[++w], c = T[--d]) : zt(te, u) ? (V(te, u, B, T, E), G && r.insertBefore(m, te.elm, K.elm), te = v[--k], u = T[++E]) : ($(f) && (f = fh(v, w, k)), y = C(u.key) ? f[u.key] : M(u, v, w, k), $(y) ? g(u, B, m, K.elm, !1, T, E) : (x = v[y], zt(x, u) ? (V(x, u, B, T, E), v[y] = void 0, G && r.insertBefore(m, x.elm, K.elm)) : g(u, B, m, K.elm, !1, T, E)), u = T[++E]);
2609
+ w > k ? (_ = $(T[d + 1]) ? null : T[d + 1].elm, A(m, _, T, E, d, B)) : E > d && P(v, w, k);
2610
2610
  }
2611
2611
  function R(m) {
2612
2612
  for (var v = {}, T = 0; T < m.length; T++) {
2613
- var M = m[T], H = M.key;
2614
- C(H) && (v[H] ? O("Duplicate keys detected: '".concat(H, "'. This may cause an update error."), M.context) : v[H] = !0);
2613
+ var B = m[T], H = B.key;
2614
+ C(H) && (v[H] ? O("Duplicate keys detected: '".concat(H, "'. This may cause an update error."), B.context) : v[H] = !0);
2615
2615
  }
2616
2616
  }
2617
- function B(m, v, T, M) {
2618
- for (var H = T; H < M; H++) {
2617
+ function M(m, v, T, B) {
2618
+ for (var H = T; H < B; H++) {
2619
2619
  var w = v[H];
2620
2620
  if (C(w) && zt(m, w))
2621
2621
  return H;
2622
2622
  }
2623
2623
  }
2624
- function V(m, v, T, M, H, w) {
2624
+ function V(m, v, T, B, H, w) {
2625
2625
  if (m !== v) {
2626
- C(v.elm) && C(M) && (v = M[H] = jn(v));
2626
+ C(v.elm) && C(B) && (v = B[H] = jn(v));
2627
2627
  var E = v.elm = m.elm;
2628
2628
  if (Ce(m.isAsyncPlaceholder)) {
2629
2629
  C(v.asyncFactory.resolved) ? Ie(m.elm, v, T) : v.isAsyncPlaceholder = !0;
@@ -2641,22 +2641,22 @@ function mh(e) {
2641
2641
  s.update[k](m, v);
2642
2642
  C(k = K.hook) && C(k = k.update) && k(m, v);
2643
2643
  }
2644
- $(v.text) ? C(te) && C(d) ? te !== d && I(E, te, d, T, w) : C(d) ? (process.env.NODE_ENV !== "production" && R(d), C(m.text) && r.setTextContent(E, ""), A(E, null, d, 0, d.length - 1, T)) : C(te) ? D(te, 0, te.length - 1) : C(m.text) && r.setTextContent(E, "") : m.text !== v.text && r.setTextContent(E, v.text), C(K) && C(k = K.hook) && C(k = k.postpatch) && k(m, v);
2644
+ $(v.text) ? C(te) && C(d) ? te !== d && I(E, te, d, T, w) : C(d) ? (process.env.NODE_ENV !== "production" && R(d), C(m.text) && r.setTextContent(E, ""), A(E, null, d, 0, d.length - 1, T)) : C(te) ? P(te, 0, te.length - 1) : C(m.text) && r.setTextContent(E, "") : m.text !== v.text && r.setTextContent(E, v.text), C(K) && C(k = K.hook) && C(k = k.postpatch) && k(m, v);
2645
2645
  }
2646
2646
  }
2647
2647
  function L(m, v, T) {
2648
2648
  if (Ce(T) && C(m.parent))
2649
2649
  m.parent.data.pendingInsert = v;
2650
2650
  else
2651
- for (var M = 0; M < v.length; ++M)
2652
- v[M].data.hook.insert(v[M]);
2651
+ for (var B = 0; B < v.length; ++B)
2652
+ v[B].data.hook.insert(v[B]);
2653
2653
  }
2654
2654
  var j = !1, ee = Ye("attrs,class,staticClass,staticStyle,key");
2655
- function Ie(m, v, T, M) {
2655
+ function Ie(m, v, T, B) {
2656
2656
  var H, w = v.tag, E = v.data, k = v.children;
2657
- if (M = M || E && E.pre, v.elm = m, Ce(v.isComment) && C(v.asyncFactory))
2657
+ if (B = B || E && E.pre, v.elm = m, Ce(v.isComment) && C(v.asyncFactory))
2658
2658
  return v.isAsyncPlaceholder = !0, !0;
2659
- if (process.env.NODE_ENV !== "production" && !le(m, v, M))
2659
+ if (process.env.NODE_ENV !== "production" && !le(m, v, B))
2660
2660
  return !1;
2661
2661
  if (C(E) && (C(H = E.hook) && C(H = H.init) && H(v, !0), C(H = v.componentInstance)))
2662
2662
  return N(v, T), !0;
@@ -2669,7 +2669,7 @@ function mh(e) {
2669
2669
  return process.env.NODE_ENV !== "production" && typeof console < "u" && !j && (j = !0, console.warn("Parent: ", m), console.warn("server innerHTML: ", H), console.warn("client innerHTML: ", m.innerHTML)), !1;
2670
2670
  } else {
2671
2671
  for (var K = !0, te = m.firstChild, d = 0; d < k.length; d++) {
2672
- if (!te || !Ie(te, k[d], T, M)) {
2672
+ if (!te || !Ie(te, k[d], T, B)) {
2673
2673
  K = !1;
2674
2674
  break;
2675
2675
  }
@@ -2694,7 +2694,7 @@ function mh(e) {
2694
2694
  function le(m, v, T) {
2695
2695
  return C(v.tag) ? v.tag.indexOf("vue-component") === 0 || !p(v, T) && v.tag.toLowerCase() === (m.tagName && m.tagName.toLowerCase()) : m.nodeType === (v.isComment ? 8 : 3);
2696
2696
  }
2697
- return function(v, T, M, H) {
2697
+ return function(v, T, B, H) {
2698
2698
  if ($(T)) {
2699
2699
  C(v) && S(v);
2700
2700
  return;
@@ -2708,7 +2708,7 @@ function mh(e) {
2708
2708
  V(v, T, E, null, null, H);
2709
2709
  else {
2710
2710
  if (k) {
2711
- if (v.nodeType === 1 && v.hasAttribute(ca) && (v.removeAttribute(ca), M = !0), Ce(M)) {
2711
+ if (v.nodeType === 1 && v.hasAttribute(ca) && (v.removeAttribute(ca), B = !0), Ce(B)) {
2712
2712
  if (Ie(v, T, E))
2713
2713
  return L(T, E, !0), v;
2714
2714
  process.env.NODE_ENV !== "production" && O("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.");
@@ -2727,7 +2727,7 @@ function mh(e) {
2727
2727
  s.destroy[c](d);
2728
2728
  if (d.elm = T.elm, u) {
2729
2729
  for (var f = 0; f < s.create.length; ++f)
2730
- s.create[f](Bt, d);
2730
+ s.create[f](Mt, d);
2731
2731
  var y = d.data.hook.insert;
2732
2732
  if (y.merged)
2733
2733
  for (var x = 1; x < y.fns.length; x++)
@@ -2736,7 +2736,7 @@ function mh(e) {
2736
2736
  xi(d);
2737
2737
  d = d.parent;
2738
2738
  }
2739
- C(te) ? D([v], 0, 0) : C(v.tag) && S(v);
2739
+ C(te) ? P([v], 0, 0) : C(v.tag) && S(v);
2740
2740
  }
2741
2741
  }
2742
2742
  return L(T, E, w), T.elm;
@@ -2746,14 +2746,14 @@ var gh = {
2746
2746
  create: En,
2747
2747
  update: En,
2748
2748
  destroy: function(i) {
2749
- En(i, Bt);
2749
+ En(i, Mt);
2750
2750
  }
2751
2751
  };
2752
2752
  function En(e, i) {
2753
2753
  (e.data.directives || i.data.directives) && yh(e, i);
2754
2754
  }
2755
2755
  function yh(e, i) {
2756
- var t = e === Bt, s = i === Bt, n = Ua(e.data.directives, e.context), r = Ua(i.data.directives, i.context), a = [], o = [], l, p, h;
2756
+ var t = e === Mt, s = i === Mt, n = Ua(e.data.directives, e.context), r = Ua(i.data.directives, i.context), a = [], o = [], l, p, h;
2757
2757
  for (l in r)
2758
2758
  p = n[l], h = r[l], p ? (h.oldValue = p.value, h.oldArg = p.arg, Hi(h, "update", i, e), h.def && h.def.componentUpdated && o.push(h)) : (Hi(h, "bind", i, e), h.def && h.def.inserted && a.push(h));
2759
2759
  if (a.length) {
@@ -2761,9 +2761,9 @@ function yh(e, i) {
2761
2761
  for (var b = 0; b < a.length; b++)
2762
2762
  Hi(a[b], "inserted", i, e);
2763
2763
  };
2764
- t ? Dt(i, "insert", g) : g();
2764
+ t ? Pt(i, "insert", g) : g();
2765
2765
  }
2766
- if (o.length && Dt(i, "postpatch", function() {
2766
+ if (o.length && Pt(i, "postpatch", function() {
2767
2767
  for (var b = 0; b < o.length; b++)
2768
2768
  Hi(o[b], "componentUpdated", i, e);
2769
2769
  }), !t)
@@ -2862,7 +2862,7 @@ function xh(e, i, t) {
2862
2862
  var Th = qn && !(ua && Number(ua[1]) <= 53);
2863
2863
  function Ih(e, i, t, s) {
2864
2864
  if (Th) {
2865
- var n = Dl, r = i;
2865
+ var n = Pl, r = i;
2866
2866
  i = r._wrapper = function(a) {
2867
2867
  if (a.target === a.currentTarget || a.timeStamp >= n || a.timeStamp <= 0 || a.target.ownerDocument !== document)
2868
2868
  return r.apply(this, arguments);
@@ -2887,7 +2887,7 @@ var kh = {
2887
2887
  create: In,
2888
2888
  update: In,
2889
2889
  destroy: function(e) {
2890
- return In(e, Bt);
2890
+ return In(e, Mt);
2891
2891
  }
2892
2892
  }, ks;
2893
2893
  function Ka(e, i) {
@@ -2941,10 +2941,10 @@ function _h(e, i) {
2941
2941
  }
2942
2942
  return t !== i;
2943
2943
  }
2944
- var Ph = {
2944
+ var Dh = {
2945
2945
  create: Ka,
2946
2946
  update: Ka
2947
- }, Dh = hi(function(e) {
2947
+ }, Ph = hi(function(e) {
2948
2948
  var i = {}, t = /;(?![^(]*\))/g, s = /:(.+)/;
2949
2949
  return e.split(t).forEach(function(n) {
2950
2950
  if (n) {
@@ -2958,9 +2958,9 @@ function kn(e) {
2958
2958
  return e.staticStyle ? fe(e.staticStyle, i) : i;
2959
2959
  }
2960
2960
  function Ql(e) {
2961
- return Array.isArray(e) ? ll(e) : typeof e == "string" ? Dh(e) : e;
2961
+ return Array.isArray(e) ? ll(e) : typeof e == "string" ? Ph(e) : e;
2962
2962
  }
2963
- function Bh(e, i) {
2963
+ function Mh(e, i) {
2964
2964
  var t = {}, s;
2965
2965
  if (i)
2966
2966
  for (var n = e; n.componentInstance; )
@@ -2970,8 +2970,8 @@ function Bh(e, i) {
2970
2970
  r.data && (s = kn(r.data)) && fe(t, s);
2971
2971
  return t;
2972
2972
  }
2973
- var Mh = /^--/, Wa = /\s*!important$/, Ya = function(e, i, t) {
2974
- if (Mh.test(i))
2973
+ var Bh = /^--/, Wa = /\s*!important$/, Ya = function(e, i, t) {
2974
+ if (Bh.test(i))
2975
2975
  e.style.setProperty(i, t);
2976
2976
  else if (Wa.test(t))
2977
2977
  e.style.setProperty(fi(i), t.replace(Wa, ""), "important");
@@ -2997,7 +2997,7 @@ function Za(e, i) {
2997
2997
  if (!($(t.staticStyle) && $(t.style) && $(s.staticStyle) && $(s.style))) {
2998
2998
  var n, r, a = i.elm, o = s.staticStyle, l = s.normalizedStyle || s.style || {}, p = o || l, h = Ql(i.data.style) || {};
2999
2999
  i.data.normalizedStyle = C(h.__ob__) ? fe({}, h) : h;
3000
- var g = Bh(i, !0);
3000
+ var g = Mh(i, !0);
3001
3001
  for (r in p)
3002
3002
  $(g[r]) && Ya(a, r, "");
3003
3003
  for (r in g)
@@ -3106,20 +3106,20 @@ function er(e, i) {
3106
3106
  C(t._leaveCb) && (t._leaveCb.cancelled = !0, t._leaveCb());
3107
3107
  var s = Jl(e.data.transition);
3108
3108
  if (!$(s) && !(C(t._enterCb) || t.nodeType !== 1)) {
3109
- for (var n = s.css, r = s.type, a = s.enterClass, o = s.enterToClass, l = s.enterActiveClass, p = s.appearClass, h = s.appearToClass, g = s.appearActiveClass, b = s.beforeEnter, N = s.enter, J = s.afterEnter, Q = s.enterCancelled, ne = s.beforeAppear, se = s.appear, Z = s.afterAppear, P = s.appearCancelled, A = s.duration, S = si, D = si.$vnode; D && D.parent; )
3110
- S = D.context, D = D.parent;
3109
+ for (var n = s.css, r = s.type, a = s.enterClass, o = s.enterToClass, l = s.enterActiveClass, p = s.appearClass, h = s.appearToClass, g = s.appearActiveClass, b = s.beforeEnter, N = s.enter, J = s.afterEnter, Q = s.enterCancelled, ne = s.beforeAppear, se = s.appear, Z = s.afterAppear, D = s.appearCancelled, A = s.duration, S = si, P = si.$vnode; P && P.parent; )
3110
+ S = P.context, P = P.parent;
3111
3111
  var U = !S._isMounted || !e.isRootInsert;
3112
3112
  if (!(U && !se && se !== "")) {
3113
- var I = U && p ? p : a, R = U && g ? g : l, B = U && h ? h : o, V = U && ne || b, L = U && ye(se) ? se : N, j = U && Z || J, ee = U && P || Q, Ie = $i(Pe(A) ? A.enter : A);
3113
+ var I = U && p ? p : a, R = U && g ? g : l, M = U && h ? h : o, V = U && ne || b, L = U && ye(se) ? se : N, j = U && Z || J, ee = U && D || Q, Ie = $i(De(A) ? A.enter : A);
3114
3114
  process.env.NODE_ENV !== "production" && Ie != null && Xl(Ie, "enter", e);
3115
3115
  var le = n !== !1 && !Ri, m = jr(L), v = t._enterCb = Js(function() {
3116
- le && (Et(t, B), Et(t, R)), v.cancelled ? (le && Et(t, I), ee && ee(t)) : j && j(t), t._enterCb = null;
3116
+ le && (Et(t, M), Et(t, R)), v.cancelled ? (le && Et(t, I), ee && ee(t)) : j && j(t), t._enterCb = null;
3117
3117
  });
3118
- e.data.show || Dt(e, "insert", function() {
3119
- var T = t.parentNode, M = T && T._pending && T._pending[e.key];
3120
- M && M.tag === e.tag && M.elm._leaveCb && M.elm._leaveCb(), L && L(t, v);
3118
+ e.data.show || Pt(e, "insert", function() {
3119
+ var T = t.parentNode, B = T && T._pending && T._pending[e.key];
3120
+ B && B.tag === e.tag && B.elm._leaveCb && B.elm._leaveCb(), L && L(t, v);
3121
3121
  }), V && V(t), le && (ni(t, I), ni(t, R), Wl(function() {
3122
- Et(t, I), v.cancelled || (ni(t, B), m || ($l(Ie) ? setTimeout(v, Ie) : Yl(t, r, v)));
3122
+ Et(t, I), v.cancelled || (ni(t, M), m || ($l(Ie) ? setTimeout(v, Ie) : Yl(t, r, v)));
3123
3123
  })), e.data.show && (i && i(), L && L(t, v)), !le && !m && v();
3124
3124
  }
3125
3125
  }
@@ -3132,13 +3132,13 @@ function Zl(e, i) {
3132
3132
  return i();
3133
3133
  if (C(t._leaveCb))
3134
3134
  return;
3135
- var n = s.css, r = s.type, a = s.leaveClass, o = s.leaveToClass, l = s.leaveActiveClass, p = s.beforeLeave, h = s.leave, g = s.afterLeave, b = s.leaveCancelled, N = s.delayLeave, J = s.duration, Q = n !== !1 && !Ri, ne = jr(h), se = $i(Pe(J) ? J.leave : J);
3135
+ var n = s.css, r = s.type, a = s.leaveClass, o = s.leaveToClass, l = s.leaveActiveClass, p = s.beforeLeave, h = s.leave, g = s.afterLeave, b = s.leaveCancelled, N = s.delayLeave, J = s.duration, Q = n !== !1 && !Ri, ne = jr(h), se = $i(De(J) ? J.leave : J);
3136
3136
  process.env.NODE_ENV !== "production" && C(se) && Xl(se, "leave", e);
3137
3137
  var Z = t._leaveCb = Js(function() {
3138
3138
  t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), Q && (Et(t, o), Et(t, l)), Z.cancelled ? (Q && Et(t, a), b && b(t)) : (i(), g && g(t)), t._leaveCb = null;
3139
3139
  });
3140
- N ? N(P) : P();
3141
- function P() {
3140
+ N ? N(D) : D();
3141
+ function D() {
3142
3142
  Z.cancelled || (!e.data.show && t.parentNode && ((t.parentNode._pending || (t.parentNode._pending = {}))[e.key] = e), p && p(t), Q && (ni(t, a), ni(t, l), Wl(function() {
3143
3143
  Et(t, a), Z.cancelled || (ni(t, o), ne || ($l(se) ? setTimeout(Z, se) : Yl(t, r, Z)));
3144
3144
  })), h && h(t, Z), !Q && !ne && Z());
@@ -3165,14 +3165,14 @@ var Fh = qe ? {
3165
3165
  remove: function(e, i) {
3166
3166
  e.data.show !== !0 ? Zl(e, i) : i();
3167
3167
  }
3168
- } : {}, Vh = [bh, wh, kh, Ph, Rh, Fh], jh = Vh.concat(Ch), Qh = mh({ nodeOps: ph, modules: jh });
3168
+ } : {}, Vh = [bh, wh, kh, Dh, Rh, Fh], jh = Vh.concat(Ch), Qh = mh({ nodeOps: ph, modules: jh });
3169
3169
  Ri && document.addEventListener("selectionchange", function() {
3170
3170
  var e = document.activeElement;
3171
3171
  e && e.vmodel && Qr(e, "input");
3172
3172
  });
3173
3173
  var ec = {
3174
3174
  inserted: function(e, i, t, s) {
3175
- t.tag === "select" ? (s.elm && !s.elm._vOptions ? Dt(t, "postpatch", function() {
3175
+ t.tag === "select" ? (s.elm && !s.elm._vOptions ? Pt(t, "postpatch", function() {
3176
3176
  ec.componentUpdated(e, i, t);
3177
3177
  }) : so(e, i, t.context), e._vOptions = [].map.call(e.options, nn)) : (t.tag === "textarea" || Xn(e.type)) && (e._vModifiers = i.modifiers, i.modifiers.lazy || (e.addEventListener("compositionstart", Uh), e.addEventListener("compositionend", ao), e.addEventListener("change", ao), Ri && (e.vmodel = !0)));
3178
3178
  },
@@ -3331,7 +3331,7 @@ var Kh = function(e) {
3331
3331
  if (r.data.directives && r.data.directives.some(Wh) && (r.data.show = !0), p && p.data && !Hh(r, p) && !ts(p) && !(p.componentInstance && p.componentInstance._vnode.isComment)) {
3332
3332
  var h = p.data.transition = fe({}, o);
3333
3333
  if (s === "out-in")
3334
- return this._leaving = !0, Dt(h, "afterLeave", function() {
3334
+ return this._leaving = !0, Pt(h, "afterLeave", function() {
3335
3335
  i._leaving = !1, i.$forceUpdate();
3336
3336
  }), oo(e, n);
3337
3337
  if (s === "in-out") {
@@ -3340,7 +3340,7 @@ var Kh = function(e) {
3340
3340
  var g, b = function() {
3341
3341
  g();
3342
3342
  };
3343
- Dt(o, "afterEnter", b), Dt(o, "enterCancelled", b), Dt(h, "delayLeave", function(N) {
3343
+ Pt(o, "afterEnter", b), Pt(o, "enterCancelled", b), Pt(h, "delayLeave", function(N) {
3344
3344
  g = N;
3345
3345
  });
3346
3346
  }
@@ -3441,7 +3441,7 @@ fe(be.options.directives, qh);
3441
3441
  fe(be.options.components, ef);
3442
3442
  be.prototype.__patch__ = qe ? Qh : Te;
3443
3443
  be.prototype.$mount = function(e, i) {
3444
- return e = e && qe ? Xd(e) : void 0, Dp(this, e, i);
3444
+ return e = e && qe ? Xd(e) : void 0, Pp(this, e, i);
3445
3445
  };
3446
3446
  qe && setTimeout(function() {
3447
3447
  pe.devtools && (Hs ? Hs.emit("init", be) : process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && console[console.info ? "info" : "log"](`Download the Vue Devtools extension for a better development experience:
@@ -4213,13 +4213,13 @@ function q(e, i) {
4213
4213
  if (Vi(e, r) && (t = e[r], s = i(t, n(r)), s === !1))
4214
4214
  return t;
4215
4215
  }
4216
- function Pi(e, i, t) {
4216
+ function Di(e, i, t) {
4217
4217
  return q(e, function(s, n) {
4218
4218
  t = i(t, s, n);
4219
4219
  }), t;
4220
4220
  }
4221
4221
  function hc(e, i) {
4222
- return !!Pi(e, function(t, s, n) {
4222
+ return !!Di(e, function(t, s, n) {
4223
4223
  return t && i(s, n);
4224
4224
  }, !0);
4225
4225
  }
@@ -4295,16 +4295,16 @@ function _f(e, i) {
4295
4295
  n in s && (t[n] = e[n]);
4296
4296
  }), t;
4297
4297
  }
4298
- function Pf(e, i) {
4298
+ function Df(e, i) {
4299
4299
  let t = {}, s = Object(e);
4300
4300
  return q(s, function(n, r) {
4301
4301
  i.indexOf(r) === -1 && (t[r] = n);
4302
4302
  }), t;
4303
4303
  }
4304
- var Df = 1e3;
4304
+ var Pf = 1e3;
4305
4305
  function St(e, i) {
4306
4306
  var t = this;
4307
- i = i || Df, e.on(["render.shape", "render.connection"], i, function(s, n) {
4307
+ i = i || Pf, e.on(["render.shape", "render.connection"], i, function(s, n) {
4308
4308
  var r = s.type, a = n.element, o = n.gfx, l = n.attrs;
4309
4309
  if (t.canRender(a))
4310
4310
  return r === "render.shape" ? t.drawShape(o, a, l) : t.drawConnection(o, a, l);
@@ -4327,7 +4327,7 @@ function W(e, i) {
4327
4327
  var t = ge(e);
4328
4328
  return t && typeof t.$instanceOf == "function" && t.$instanceOf(i);
4329
4329
  }
4330
- function Bf(e, i) {
4330
+ function Mf(e, i) {
4331
4331
  return fc(i, function(t) {
4332
4332
  return W(e, t);
4333
4333
  });
@@ -4347,7 +4347,7 @@ function fo(e) {
4347
4347
  return i === void 0 ? !0 : i;
4348
4348
  }
4349
4349
  }
4350
- function Mf(e) {
4350
+ function Bf(e) {
4351
4351
  return e && !!ge(e).triggeredByEvent;
4352
4352
  }
4353
4353
  function Of(e) {
@@ -4688,7 +4688,7 @@ function mi(e) {
4688
4688
  function nm(e) {
4689
4689
  return ["M", e.x, e.y];
4690
4690
  }
4691
- function Pn(e) {
4691
+ function Dn(e) {
4692
4692
  return ["L", e.x, e.y];
4693
4693
  }
4694
4694
  function rm(e, i, t) {
@@ -4699,7 +4699,7 @@ function am(e, i) {
4699
4699
  for (let n = 1; n < t; n++) {
4700
4700
  const r = e[n - 1], a = e[n], o = e[n + 1];
4701
4701
  if (!o || !i) {
4702
- s.push(Pn(a));
4702
+ s.push(Dn(a));
4703
4703
  continue;
4704
4704
  }
4705
4705
  const l = Math.min(
@@ -4708,11 +4708,11 @@ function am(e, i) {
4708
4708
  ar(o.x - a.x, o.y - a.y)
4709
4709
  );
4710
4710
  if (!l) {
4711
- s.push(Pn(a));
4711
+ s.push(Dn(a));
4712
4712
  continue;
4713
4713
  }
4714
4714
  const p = Ss(a, r, l), h = Ss(a, r, l * 0.5), g = Ss(a, o, l), b = Ss(a, o, l * 0.5);
4715
- s.push(Pn(p)), s.push(rm(h, b, g));
4715
+ s.push(Dn(p)), s.push(rm(h, b, g));
4716
4716
  }
4717
4717
  return s;
4718
4718
  }
@@ -4859,7 +4859,7 @@ function Cm(e) {
4859
4859
  function bm(e) {
4860
4860
  return Number(e);
4861
4861
  }
4862
- function Be(e, ...i) {
4862
+ function Me(e, ...i) {
4863
4863
  const t = e.style;
4864
4864
  return Co(i, function(s) {
4865
4865
  !s || Co(s, function(n, r) {
@@ -4976,10 +4976,10 @@ function xt(e, i) {
4976
4976
  function Sm(e, i) {
4977
4977
  return i = i || document, i.querySelectorAll(e);
4978
4978
  }
4979
- function Di(e) {
4979
+ function Pi(e) {
4980
4980
  e.parentNode && e.parentNode.removeChild(e);
4981
4981
  }
4982
- function Dn(e, i, t, s, n) {
4982
+ function Pn(e, i, t, s, n) {
4983
4983
  var r = Zi();
4984
4984
  r.setTranslate(i, t);
4985
4985
  var a = Zi();
@@ -4995,10 +4995,10 @@ function _m(e, i) {
4995
4995
  var t = Zi();
4996
4996
  t.setRotate(i, 0, 0), os(e, t);
4997
4997
  }
4998
- function Pm(e, i) {
4998
+ function Dm(e, i) {
4999
4999
  return i = { exports: {} }, e(i, i.exports), i.exports;
5000
5000
  }
5001
- var Dm = Pm(function(e) {
5001
+ var Pm = Dm(function(e) {
5002
5002
  var i = e.exports = function(t, s) {
5003
5003
  if (s || (s = 16), t === void 0 && (t = 128), t <= 0)
5004
5004
  return "0";
@@ -5038,7 +5038,7 @@ var Dm = Pm(function(e) {
5038
5038
  function kt(e) {
5039
5039
  if (!(this instanceof kt))
5040
5040
  return new kt(e);
5041
- e = e || [128, 36, 1], this._seed = e.length ? Dm.rack(e[0], e[1], e[2]) : e;
5041
+ e = e || [128, 36, 1], this._seed = e.length ? Pm.rack(e[0], e[1], e[2]) : e;
5042
5042
  }
5043
5043
  kt.prototype.next = function(e) {
5044
5044
  return this._seed(e || !0);
@@ -5064,7 +5064,7 @@ kt.prototype.clear = function() {
5064
5064
  for (i in e)
5065
5065
  this.unclaim(i);
5066
5066
  };
5067
- var Bm = new kt(), Mm = 10, Ps = 3, Om = 1.5, js = 10, Ai = 0.95, Rm = 1, Lm = 0.25;
5067
+ var Mm = new kt(), Bm = 10, Ds = 3, Om = 1.5, js = 10, Ai = 0.95, Rm = 1, Lm = 0.25;
5068
5068
  function gi(e, i, t, s, n, r, a) {
5069
5069
  St.call(this, i, a);
5070
5070
  var o = e && e.defaultFillColor, l = e && e.defaultStrokeColor, p = e && e.defaultLabelColor;
@@ -5105,7 +5105,7 @@ function gi(e, i, t, s, n, r, a) {
5105
5105
  G || (G = de("defs"), Ne(x, G)), Ne(G, _);
5106
5106
  }
5107
5107
  function N(d, u, c, f) {
5108
- var y = Bm.nextPrefixed("marker-");
5108
+ var y = Mm.nextPrefixed("marker-");
5109
5109
  return J(d, y, u, c, f), "url(#" + y + ")";
5110
5110
  }
5111
5111
  function J(d, u, c, f, y) {
@@ -5268,7 +5268,7 @@ function gi(e, i, t, s, n, r, a) {
5268
5268
  var y = qr(u, c, f);
5269
5269
  return Ne(d, y), y;
5270
5270
  }
5271
- function P(d, u, c) {
5271
+ function D(d, u, c) {
5272
5272
  return Z(d, u, c, 5);
5273
5273
  }
5274
5274
  function A(d, u, c) {
@@ -5282,12 +5282,12 @@ function gi(e, i, t, s, n, r, a) {
5282
5282
  function S(d, u, c, f) {
5283
5283
  return A(u, c, Y({ "data-marker": d }, f));
5284
5284
  }
5285
- function D(d) {
5285
+ function P(d) {
5286
5286
  return te[d];
5287
5287
  }
5288
5288
  function U(d) {
5289
5289
  return function(u, c, f) {
5290
- return D(d)(u, c, f);
5290
+ return P(d)(u, c, f);
5291
5291
  };
5292
5292
  }
5293
5293
  var I = {
@@ -5512,7 +5512,7 @@ function gi(e, i, t, s, n, r, a) {
5512
5512
  var y = ge(d), x = lm(y), _ = f || d;
5513
5513
  return y.get("eventDefinitions") && y.get("eventDefinitions").length > 1 ? y.get("parallelMultiple") ? I["bpmn:ParallelMultipleEventDefinition"](u, _, c, x) : I["bpmn:MultipleEventDefinition"](u, _, c, x) : dt(y, "bpmn:MessageEventDefinition") ? I["bpmn:MessageEventDefinition"](u, _, c, x) : dt(y, "bpmn:TimerEventDefinition") ? I["bpmn:TimerEventDefinition"](u, _, c, x) : dt(y, "bpmn:ConditionalEventDefinition") ? I["bpmn:ConditionalEventDefinition"](u, _, c, x) : dt(y, "bpmn:SignalEventDefinition") ? I["bpmn:SignalEventDefinition"](u, _, c, x) : dt(y, "bpmn:EscalationEventDefinition") ? I["bpmn:EscalationEventDefinition"](u, _, c, x) : dt(y, "bpmn:LinkEventDefinition") ? I["bpmn:LinkEventDefinition"](u, _, c, x) : dt(y, "bpmn:ErrorEventDefinition") ? I["bpmn:ErrorEventDefinition"](u, _, c, x) : dt(y, "bpmn:CancelEventDefinition") ? I["bpmn:CancelEventDefinition"](u, _, c, x) : dt(y, "bpmn:CompensateEventDefinition") ? I["bpmn:CompensateEventDefinition"](u, _, c, x) : dt(y, "bpmn:TerminateEventDefinition") ? I["bpmn:TerminateEventDefinition"](u, _, c, x) : null;
5514
5514
  }
5515
- var B = {
5515
+ var M = {
5516
5516
  ParticipantMultiplicityMarker: function(d, u, c = {}) {
5517
5517
  var f = tt(u, c), y = Ue(u, c), x = s.getScaledPath("MARKER_PARALLEL", {
5518
5518
  xScaleFactor: 1,
@@ -5638,7 +5638,7 @@ function gi(e, i, t, s, n, r, a) {
5638
5638
  }
5639
5639
  };
5640
5640
  function V(d, u, c, f) {
5641
- B[d](u, c, f);
5641
+ M[d](u, c, f);
5642
5642
  }
5643
5643
  function L(d, u, c = [], f = {}) {
5644
5644
  f = {
@@ -5733,7 +5733,7 @@ function gi(e, i, t, s, n, r, a) {
5733
5733
  });
5734
5734
  if (y) {
5735
5735
  var _ = -1 * Ue(c, f);
5736
- Dn(x, 0, -_, 270);
5736
+ Pn(x, 0, -_, 270);
5737
5737
  }
5738
5738
  }
5739
5739
  function m(d, u, c = {}) {
@@ -5753,7 +5753,7 @@ function gi(e, i, t, s, n, r, a) {
5753
5753
  return (f.get("associationDirection") === "One" || f.get("associationDirection") === "Both") && (c.markerEnd = N(d, "association-end", y, x)), f.get("associationDirection") === "Both" && (c.markerStart = N(d, "association-start", y, x)), c = oe(c, [
5754
5754
  "markerStart",
5755
5755
  "markerEnd"
5756
- ]), P(d, u.waypoints, {
5756
+ ]), D(d, u.waypoints, {
5757
5757
  ...c,
5758
5758
  stroke: x,
5759
5759
  strokeDasharray: "0, 5"
@@ -5793,7 +5793,7 @@ function gi(e, i, t, s, n, r, a) {
5793
5793
  }
5794
5794
  return _;
5795
5795
  }
5796
- function M(d, u, c = {}) {
5796
+ function B(d, u, c = {}) {
5797
5797
  return Q(d, u.width, u.height, {
5798
5798
  fillOpacity: Ai,
5799
5799
  ...c,
@@ -5823,7 +5823,7 @@ function gi(e, i, t, s, n, r, a) {
5823
5823
  }
5824
5824
  function E(d, u, c = {}) {
5825
5825
  var f = m(d, u, c), y = Xt(u);
5826
- if (Mf(u) && (he(f, {
5826
+ if (Bf(u) && (he(f, {
5827
5827
  strokeDasharray: "0, 5.5",
5828
5828
  strokeWidth: 2.5
5829
5829
  }), !y)) {
@@ -5882,8 +5882,8 @@ function gi(e, i, t, s, n, r, a) {
5882
5882
  fillOpacity: Rm,
5883
5883
  stroke: F(u, l, c.stroke)
5884
5884
  }, x || (c.strokeDasharray = "6");
5885
- var _ = M(d, u, c);
5886
- return Q(d, u.width, u.height, Ps, {
5885
+ var _ = B(d, u, c);
5886
+ return Q(d, u.width, u.height, Ds, {
5887
5887
  ...c,
5888
5888
  fill: "none"
5889
5889
  }), f && R(u, d, c), _;
@@ -6023,7 +6023,7 @@ function gi(e, i, t, s, n, r, a) {
6023
6023
  "fill",
6024
6024
  "stroke"
6025
6025
  ]);
6026
- var y = M(d, u, {
6026
+ var y = B(d, u, {
6027
6027
  ...c,
6028
6028
  strokeWidth: 4
6029
6029
  });
@@ -6143,11 +6143,11 @@ function gi(e, i, t, s, n, r, a) {
6143
6143
  "fill",
6144
6144
  "stroke"
6145
6145
  ]);
6146
- var y = M(d, u, {
6146
+ var y = B(d, u, {
6147
6147
  ...c,
6148
6148
  strokeWidth: 1.5
6149
6149
  });
6150
- return Q(d, u.width, u.height, Ps, {
6150
+ return Q(d, u.width, u.height, Ds, {
6151
6151
  fill: "none",
6152
6152
  stroke: F(u, l, c.stroke),
6153
6153
  strokeWidth: 1.5
@@ -6188,7 +6188,7 @@ function gi(e, i, t, s, n, r, a) {
6188
6188
  "fill",
6189
6189
  "stroke"
6190
6190
  ]);
6191
- var f = ge(u), y = ui(u), x = ie(u, o, c.fill), _ = F(u, l, c.stroke), G = P(d, u.waypoints, {
6191
+ var f = ge(u), y = ui(u), x = ie(u, o, c.fill), _ = F(u, l, c.stroke), G = D(d, u.waypoints, {
6192
6192
  markerEnd: N(d, "messageflow-end", x, _),
6193
6193
  markerStart: N(d, "messageflow-start", x, _),
6194
6194
  stroke: _,
@@ -6211,8 +6211,8 @@ function gi(e, i, t, s, n, r, a) {
6211
6211
  style: {
6212
6212
  fill: _
6213
6213
  }
6214
- }), Cs = ke.getBBox(), He = Ct.getBBox(), X = ae.x - He.width / 2, ce = ae.y + Cs.height / 2 + Mm;
6215
- Dn(Ct, X, ce, 0);
6214
+ }), Cs = ke.getBBox(), He = Ct.getBBox(), X = ae.x - He.width / 2, ce = ae.y + Cs.height / 2 + Bm;
6215
+ Pn(Ct, X, ce, 0);
6216
6216
  }
6217
6217
  return G;
6218
6218
  },
@@ -6281,7 +6281,7 @@ function gi(e, i, t, s, n, r, a) {
6281
6281
  });
6282
6282
  if (!x) {
6283
6283
  var ke = -1 * Ue(u, c);
6284
- Dn(Ae, 0, -ke, 270);
6284
+ Pn(Ae, 0, -ke, 270);
6285
6285
  }
6286
6286
  }
6287
6287
  return _.get("participantMultiplicity") && V("ParticipantMultiplicityMarker", d, u, c), f;
@@ -6359,7 +6359,7 @@ function gi(e, i, t, s, n, r, a) {
6359
6359
  "fill",
6360
6360
  "stroke"
6361
6361
  ]);
6362
- var f = ie(u, o, c.fill), y = F(u, l, c.stroke), x = P(d, u.waypoints, {
6362
+ var f = ie(u, o, c.fill), y = F(u, l, c.stroke), x = D(d, u.waypoints, {
6363
6363
  markerEnd: N(d, "sequenceflow-end", f, y),
6364
6364
  stroke: y
6365
6365
  }), _ = ge(u), { source: G } = u;
@@ -6422,7 +6422,7 @@ function gi(e, i, t, s, n, r, a) {
6422
6422
  ...c,
6423
6423
  strokeDasharray: "6"
6424
6424
  });
6425
- var x = M(d, u, c);
6425
+ var x = B(d, u, c);
6426
6426
  return f && R(u, d, c), x;
6427
6427
  },
6428
6428
  "bpmn:SubProcess": function(d, u, c = {}) {
@@ -6499,8 +6499,8 @@ function gi(e, i, t, s, n, r, a) {
6499
6499
  d,
6500
6500
  tt(u, c),
6501
6501
  Ue(u, c),
6502
- js - Ps,
6503
- Ps,
6502
+ js - Ds,
6503
+ Ds,
6504
6504
  y
6505
6505
  ), f;
6506
6506
  },
@@ -6547,7 +6547,7 @@ function gi(e, i, t, s, n, r, a) {
6547
6547
  return Ie(d, u, c);
6548
6548
  }
6549
6549
  };
6550
- this._drawPath = A, this._renderer = D;
6550
+ this._drawPath = A, this._renderer = P;
6551
6551
  }
6552
6552
  vt(gi, St);
6553
6553
  gi.$inject = [
@@ -6647,7 +6647,7 @@ function Km() {
6647
6647
  var e = document.getElementById("helper-svg");
6648
6648
  return e || (e = de("svg"), he(e, {
6649
6649
  id: "helper-svg"
6650
- }), Be(e, {
6650
+ }), Me(e, {
6651
6651
  visibility: "hidden",
6652
6652
  position: "fixed",
6653
6653
  width: 0,
@@ -6675,27 +6675,27 @@ hn.prototype.layoutText = function(e, i) {
6675
6675
  for (Ne(b, g); l.length; )
6676
6676
  p.push(Gm(l, h, g));
6677
6677
  n.vertical === "middle" && (r.top = r.bottom = 0);
6678
- var N = Pi(p, function(Z, P, A) {
6679
- return Z + (o || P.height);
6680
- }, 0) + r.top + r.bottom, J = Pi(p, function(Z, P, A) {
6681
- return P.width > Z ? P.width : Z;
6678
+ var N = Di(p, function(Z, D, A) {
6679
+ return Z + (o || D.height);
6680
+ }, 0) + r.top + r.bottom, J = Di(p, function(Z, D, A) {
6681
+ return D.width > Z ? D.width : Z;
6682
6682
  }, 0), Q = r.top;
6683
6683
  n.vertical === "middle" && (Q += (t.height - N) / 2), Q -= (o || p[0].height) / 4;
6684
6684
  var ne = de("text");
6685
6685
  he(ne, s), q(p, function(Z) {
6686
- var P;
6686
+ var D;
6687
6687
  switch (Q += o || Z.height, n.horizontal) {
6688
6688
  case "left":
6689
- P = r.left;
6689
+ D = r.left;
6690
6690
  break;
6691
6691
  case "right":
6692
- P = (a ? J : h) - r.right - Z.width;
6692
+ D = (a ? J : h) - r.right - Z.width;
6693
6693
  break;
6694
6694
  default:
6695
- P = Math.max(((a ? J : h) - Z.width) / 2 + r.left, 0);
6695
+ D = Math.max(((a ? J : h) - Z.width) / 2 + r.left, 0);
6696
6696
  }
6697
6697
  var A = de("tspan");
6698
- he(A, { x: P, y: Q }), A.textContent = Z.text, Ne(ne, A);
6698
+ he(A, { x: D, y: Q }), A.textContent = Z.text, Ne(ne, A);
6699
6699
  }), hs(g);
6700
6700
  var se = {
6701
6701
  width: J,
@@ -7102,7 +7102,7 @@ function ur(e) {
7102
7102
  function cg(e, i) {
7103
7103
  return Math.sqrt(Math.pow(e.x - i.x, 2) + Math.pow(e.y - i.y, 2));
7104
7104
  }
7105
- function De(e) {
7105
+ function Pe(e) {
7106
7106
  return e ? "<" + e.$type + (e.id ? ' id="' + e.id : "") + '" />' : "<null>";
7107
7107
  }
7108
7108
  function Qs(e, i, t) {
@@ -7121,7 +7121,7 @@ function ug(e, i, t) {
7121
7121
  }
7122
7122
  function Sc(e, i, t) {
7123
7123
  return new Error(
7124
- `element ${De(i)} referenced by ${De(e)}#${t} not yet drawn`
7124
+ `element ${Pe(i)} referenced by ${Pe(e)}#${t} not yet drawn`
7125
7125
  );
7126
7126
  }
7127
7127
  function _t(e, i, t, s, n) {
@@ -7162,7 +7162,7 @@ _t.prototype.add = function(e, i, t) {
7162
7162
  })), W(e, "bpmn:DataAssociation") && (t = this._canvas.findRoot(t)), this._canvas.addConnection(s, t, r);
7163
7163
  } else
7164
7164
  throw new Error(
7165
- `unknown di ${De(i)} for element ${De(e)}`
7165
+ `unknown di ${Pe(i)} for element ${Pe(e)}`
7166
7166
  );
7167
7167
  return Rf(e) && an(s) && this.addLabel(e, i, s), this._eventBus.fire("bpmnElement.added", { element: s }), s;
7168
7168
  };
@@ -7170,7 +7170,7 @@ _t.prototype._attachBoundary = function(e, i) {
7170
7170
  var t = e.attachedToRef;
7171
7171
  if (!t)
7172
7172
  throw new Error(
7173
- `missing ${De(e)}#attachedToRef`
7173
+ `missing ${Pe(e)}#attachedToRef`
7174
7174
  );
7175
7175
  var s = this._elementRegistry.get(t.id), n = s && s.attachers;
7176
7176
  if (!s)
@@ -7195,7 +7195,7 @@ _t.prototype._getConnectedElement = function(e, i) {
7195
7195
  if (s = e[i + "Ref"], i === "source" && n === "bpmn:DataInputAssociation" && (s = s && s[0]), (i === "source" && n === "bpmn:DataOutputAssociation" || i === "target" && n === "bpmn:DataInputAssociation") && (s = e.$parent), t = s && this._getElement(s), t)
7196
7196
  return t;
7197
7197
  throw s ? Sc(e, s, i + "Ref") : new Error(
7198
- `${De(e)}#${i} Ref not specified`
7198
+ `${Pe(e)}#${i} Ref not specified`
7199
7199
  );
7200
7200
  };
7201
7201
  _t.prototype._getSource = function(e) {
@@ -7243,7 +7243,7 @@ function ls(e, i) {
7243
7243
  function _c(e) {
7244
7244
  return "waypoints" in e ? "connection" : "x" in e ? "shape" : "root";
7245
7245
  }
7246
- function Pc(e) {
7246
+ function Dc(e) {
7247
7247
  return !!(e && e.isFrame);
7248
7248
  }
7249
7249
  function Kr(e) {
@@ -7293,7 +7293,7 @@ Se.prototype.remove = function(e) {
7293
7293
  var t = this;
7294
7294
  q(i, function(s) {
7295
7295
  var n = t._getOverlayContainer(s.element, !0);
7296
- if (s && (Di(s.html), Di(s.htmlContainer), delete s.htmlContainer, delete s.element, delete t._overlays[s.id]), n) {
7296
+ if (s && (Pi(s.html), Pi(s.htmlContainer), delete s.htmlContainer, delete s.element, delete t._overlays[s.id]), n) {
7297
7297
  var r = n.overlays.indexOf(s);
7298
7298
  r !== -1 && n.overlays.splice(r, 1);
7299
7299
  }
@@ -7317,7 +7317,7 @@ Se.prototype._updateOverlayContainer = function(e) {
7317
7317
  var r = ls(i);
7318
7318
  s = r.x, n = r.y;
7319
7319
  }
7320
- Dc(t, s, n), Jr(e.html, "data-container-id", i.id);
7320
+ Pc(t, s, n), Jr(e.html, "data-container-id", i.id);
7321
7321
  };
7322
7322
  Se.prototype._updateOverlay = function(e) {
7323
7323
  var i = e.position, t = e.htmlContainer, s = e.element, n = i.left, r = i.top;
@@ -7329,11 +7329,11 @@ Se.prototype._updateOverlay = function(e) {
7329
7329
  var o;
7330
7330
  s.waypoints ? o = ls(s).height : o = s.height, r = i.bottom * -1 + o;
7331
7331
  }
7332
- Dc(t, n || 0, r || 0), this._updateOverlayVisibilty(e, this._canvas.viewbox());
7332
+ Pc(t, n || 0, r || 0), this._updateOverlayVisibilty(e, this._canvas.viewbox());
7333
7333
  };
7334
7334
  Se.prototype._createOverlayContainer = function(e) {
7335
7335
  var i = ze('<div class="djs-overlays" />');
7336
- Be(i, { position: "absolute" }), this._overlayRoot.appendChild(i);
7336
+ Me(i, { position: "absolute" }), this._overlayRoot.appendChild(i);
7337
7337
  var t = {
7338
7338
  html: i,
7339
7339
  element: e,
@@ -7350,7 +7350,7 @@ Se.prototype._updateRoot = function(e) {
7350
7350
  -1 * e.x * i,
7351
7351
  -1 * e.y * i
7352
7352
  ].join(",") + ")";
7353
- Bc(this._overlayRoot, t);
7353
+ Mc(this._overlayRoot, t);
7354
7354
  };
7355
7355
  Se.prototype._getOverlayContainer = function(e, i) {
7356
7356
  var t = ut(this._overlayContainers, function(s) {
@@ -7360,7 +7360,7 @@ Se.prototype._getOverlayContainer = function(e, i) {
7360
7360
  };
7361
7361
  Se.prototype._addOverlay = function(e) {
7362
7362
  var i = e.id, t = e.element, s = e.html, n, r;
7363
- s.get && s.constructor.prototype.jquery && (s = s.get(0)), ct(s) && (s = ze(s)), r = this._getOverlayContainer(t), n = ze('<div class="djs-overlay" data-overlay-id="' + i + '">'), Be(n, { position: "absolute" }), n.appendChild(s), e.type && pi(n).add("djs-overlay-" + e.type);
7363
+ s.get && s.constructor.prototype.jquery && (s = s.get(0)), ct(s) && (s = ze(s)), r = this._getOverlayContainer(t), n = ze('<div class="djs-overlay" data-overlay-id="' + i + '">'), Me(n, { position: "absolute" }), n.appendChild(s), e.type && pi(n).add("djs-overlay-" + e.type);
7364
7364
  var a = this._canvas.findRoot(t), o = this._canvas.getRootElement();
7365
7365
  fn(n, a === o), e.htmlContainer = n, r.overlays.push(e), r.html.appendChild(n), this._overlays[i] = e, this._updateOverlay(e), this._updateOverlayVisibilty(e, this._canvas.viewbox());
7366
7366
  };
@@ -7370,7 +7370,7 @@ Se.prototype._updateOverlayVisibilty = function(e, i) {
7370
7370
  };
7371
7371
  Se.prototype._updateOverlayScale = function(e, i) {
7372
7372
  var t = e.scale, s, n, r = e.htmlContainer, a, o = "";
7373
- t !== !0 && (t === !1 ? (s = 1, n = 1) : (s = t.min, n = t.max), Ii(s) && i.scale < s && (a = (1 / i.scale || 1) * s), Ii(n) && i.scale > n && (a = (1 / i.scale || 1) * n)), Ii(a) && (o = "scale(" + a + "," + a + ")"), Bc(r, o);
7373
+ t !== !0 && (t === !1 ? (s = 1, n = 1) : (s = t.min, n = t.max), Ii(s) && i.scale < s && (a = (1 / i.scale || 1) * s), Ii(n) && i.scale > n && (a = (1 / i.scale || 1) * n)), Ii(a) && (o = "scale(" + a + "," + a + ")"), Mc(r, o);
7374
7374
  };
7375
7375
  Se.prototype._updateOverlaysVisibilty = function(e) {
7376
7376
  var i = this;
@@ -7394,7 +7394,7 @@ Se.prototype._init = function() {
7394
7394
  });
7395
7395
  var a = i._getOverlayContainer(n);
7396
7396
  if (a) {
7397
- Di(a.html);
7397
+ Pi(a.html);
7398
7398
  var o = i._overlayContainers.indexOf(a);
7399
7399
  o !== -1 && i._overlayContainers.splice(o, 1);
7400
7400
  }
@@ -7414,24 +7414,24 @@ function yg(e) {
7414
7414
  var i = ze(
7415
7415
  '<div class="djs-overlay-container" />'
7416
7416
  );
7417
- return Be(i, {
7417
+ return Me(i, {
7418
7418
  position: "absolute",
7419
7419
  width: 0,
7420
7420
  height: 0
7421
7421
  }), e.insertBefore(i, e.firstChild), i;
7422
7422
  }
7423
- function Dc(e, i, t) {
7424
- Be(e, { left: i + "px", top: t + "px" });
7423
+ function Pc(e, i, t) {
7424
+ Me(e, { left: i + "px", top: t + "px" });
7425
7425
  }
7426
7426
  function fn(e, i) {
7427
7427
  e.style.display = i === !1 ? "none" : "";
7428
7428
  }
7429
- function Bc(e, i) {
7429
+ function Mc(e, i) {
7430
7430
  e.style["transform-origin"] = "top left", ["", "-ms-", "-webkit-"].forEach(function(t) {
7431
7431
  e.style[t + "transform"] = i;
7432
7432
  });
7433
7433
  }
7434
- const Mc = {
7434
+ const Bc = {
7435
7435
  __init__: ["overlays"],
7436
7436
  overlays: ["type", Se]
7437
7437
  };
@@ -7482,16 +7482,16 @@ je.prototype.on = function(e, i, t, s, n, r) {
7482
7482
  a.on(l, t, n ? Cg(s, r) : s, r);
7483
7483
  });
7484
7484
  };
7485
- je.prototype.canExecute = Pt("canExecute");
7486
- je.prototype.preExecute = Pt("preExecute");
7487
- je.prototype.preExecuted = Pt("preExecuted");
7488
- je.prototype.execute = Pt("execute");
7489
- je.prototype.executed = Pt("executed");
7490
- je.prototype.postExecute = Pt("postExecute");
7491
- je.prototype.postExecuted = Pt("postExecuted");
7492
- je.prototype.revert = Pt("revert");
7493
- je.prototype.reverted = Pt("reverted");
7494
- function Pt(e) {
7485
+ je.prototype.canExecute = Dt("canExecute");
7486
+ je.prototype.preExecute = Dt("preExecute");
7487
+ je.prototype.preExecuted = Dt("preExecuted");
7488
+ je.prototype.execute = Dt("execute");
7489
+ je.prototype.executed = Dt("executed");
7490
+ je.prototype.postExecute = Dt("postExecute");
7491
+ je.prototype.postExecuted = Dt("postExecuted");
7492
+ je.prototype.revert = Dt("revert");
7493
+ je.prototype.reverted = Dt("reverted");
7494
+ function Dt(e) {
7495
7495
  return function(t, s, n, r, a) {
7496
7496
  (ri(t) || Vt(t)) && (a = r, r = n, n = s, s = t, t = null), this.on(t, e, s, n, r, a);
7497
7497
  };
@@ -7713,21 +7713,21 @@ function Sg(e) {
7713
7713
  }
7714
7714
  function _g(e, i) {
7715
7715
  var t = e.$parent;
7716
- return !(!W(t, "bpmn:SubProcess") || t === i.bpmnElement || Bf(e, ["bpmn:DataInputAssociation", "bpmn:DataOutputAssociation"]));
7716
+ return !(!W(t, "bpmn:SubProcess") || t === i.bpmnElement || Mf(e, ["bpmn:DataInputAssociation", "bpmn:DataOutputAssociation"]));
7717
7717
  }
7718
- var Ds = 250, Pg = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.81801948,3.50735931 L10.4996894,9.1896894 L10.5,4 L12,4 L12,12 L4,12 L4,10.5 L9.6896894,10.4996894 L3.75735931,4.56801948 C3.46446609,4.27512627 3.46446609,3.80025253 3.75735931,3.50735931 C4.05025253,3.21446609 4.52512627,3.21446609 4.81801948,3.50735931 Z"/></svg>', Dg = "bjs-drilldown-empty";
7718
+ var Ps = 250, Dg = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.81801948,3.50735931 L10.4996894,9.1896894 L10.5,4 L12,4 L12,12 L4,12 L4,10.5 L9.6896894,10.4996894 L3.75735931,4.56801948 C3.46446609,4.27512627 3.46446609,3.80025253 3.75735931,3.50735931 C4.05025253,3.21446609 4.52512627,3.21446609 4.81801948,3.50735931 Z"/></svg>', Pg = "bjs-drilldown-empty";
7719
7719
  function Ht(e, i, t, s, n) {
7720
7720
  je.call(this, i), this._canvas = e, this._eventBus = i, this._elementRegistry = t, this._overlays = s, this._translate = n;
7721
7721
  var r = this;
7722
- this.executed("shape.toggleCollapse", Ds, function(a) {
7722
+ this.executed("shape.toggleCollapse", Ps, function(a) {
7723
7723
  var o = a.shape;
7724
7724
  r._canDrillDown(o) ? r._addOverlay(o) : r._removeOverlay(o);
7725
- }, !0), this.reverted("shape.toggleCollapse", Ds, function(a) {
7725
+ }, !0), this.reverted("shape.toggleCollapse", Ps, function(a) {
7726
7726
  var o = a.shape;
7727
7727
  r._canDrillDown(o) ? r._addOverlay(o) : r._removeOverlay(o);
7728
7728
  }, !0), this.executed(
7729
7729
  ["shape.create", "shape.move", "shape.delete"],
7730
- Ds,
7730
+ Ps,
7731
7731
  function(a) {
7732
7732
  var o = a.oldParent, l = a.newParent || a.parent, p = a.shape;
7733
7733
  r._canDrillDown(p) && r._addOverlay(p), r._updateDrilldownOverlay(o), r._updateDrilldownOverlay(l), r._updateDrilldownOverlay(p);
@@ -7735,7 +7735,7 @@ function Ht(e, i, t, s, n) {
7735
7735
  !0
7736
7736
  ), this.reverted(
7737
7737
  ["shape.create", "shape.move", "shape.delete"],
7738
- Ds,
7738
+ Ps,
7739
7739
  function(a) {
7740
7740
  var o = a.oldParent, l = a.newParent || a.parent, p = a.shape;
7741
7741
  r._canDrillDown(p) && r._addOverlay(p), r._updateDrilldownOverlay(o), r._updateDrilldownOverlay(l), r._updateDrilldownOverlay(p);
@@ -7765,13 +7765,13 @@ Ht.prototype._updateOverlayVisibility = function(e) {
7765
7765
  var i = this._overlays, t = ge(e), s = i.get({ element: t.id, type: "drilldown" })[0];
7766
7766
  if (!!s) {
7767
7767
  var n = t && t.get("flowElements") && t.get("flowElements").length;
7768
- pi(s.html).toggle(Dg, !n);
7768
+ pi(s.html).toggle(Pg, !n);
7769
7769
  }
7770
7770
  };
7771
7771
  Ht.prototype._addOverlay = function(e) {
7772
7772
  var i = this._canvas, t = this._overlays, s = ge(e), n = t.get({ element: e, type: "drilldown" });
7773
7773
  n.length && this._removeOverlay(e);
7774
- var r = ze('<button type="button" class="bjs-drilldown">' + Pg + "</button>"), a = s.get("name") || s.get("id"), o = this._translate("Open {element}", { element: a });
7774
+ var r = ze('<button type="button" class="bjs-drilldown">' + Dg + "</button>"), a = s.get("name") || s.get("id"), o = this._translate("Open {element}", { element: a });
7775
7775
  r.setAttribute("title", o), r.addEventListener("click", function() {
7776
7776
  i.setRootElement(i.findRoot(Yr(e)));
7777
7777
  }), t.add(e, "drilldown", {
@@ -7796,8 +7796,8 @@ Ht.$inject = [
7796
7796
  "overlays",
7797
7797
  "translate"
7798
7798
  ];
7799
- const Bg = {
7800
- __depends__: [Mc, vg, bg],
7799
+ const Mg = {
7800
+ __depends__: [Bc, vg, bg],
7801
7801
  __init__: ["drilldownBreadcrumbs", "drilldownOverlayBehavior", "drilldownCentering", "subprocessCompatibility"],
7802
7802
  drilldownBreadcrumbs: ["type", Rc],
7803
7803
  drilldownCentering: ["type", Lc],
@@ -7819,7 +7819,7 @@ function jc(e, i) {
7819
7819
  function mn(e) {
7820
7820
  return jc(e, 0);
7821
7821
  }
7822
- function Mg(e) {
7822
+ function Bg(e) {
7823
7823
  return jc(e, 1);
7824
7824
  }
7825
7825
  function Og(e) {
@@ -7829,17 +7829,17 @@ function Og(e) {
7829
7829
  function Rg(e) {
7830
7830
  return !0;
7831
7831
  }
7832
- function Bs(e) {
7833
- return mn(e) || Mg(e);
7832
+ function Ms(e) {
7833
+ return mn(e) || Bg(e);
7834
7834
  }
7835
7835
  var xo = 500;
7836
7836
  function Qc(e, i, t) {
7837
7837
  var s = this;
7838
- function n(I, R, B) {
7838
+ function n(I, R, M) {
7839
7839
  if (!o(I, R)) {
7840
7840
  var V, L, j;
7841
- B ? L = i.getGraphics(B) : (V = R.delegateTarget || R.target, V && (L = V, B = i.get(L))), !(!L || !B) && (j = e.fire(I, {
7842
- element: B,
7841
+ M ? L = i.getGraphics(M) : (V = R.delegateTarget || R.target, V && (L = V, M = i.get(L))), !(!L || !M) && (j = e.fire(I, {
7842
+ element: M,
7843
7843
  gfx: L,
7844
7844
  originalEvent: R
7845
7845
  }), j === !1 && (R.stopPropagation(), R.preventDefault()));
@@ -7850,8 +7850,8 @@ function Qc(e, i, t) {
7850
7850
  return r[I];
7851
7851
  }
7852
7852
  function o(I, R) {
7853
- var B = p[I] || mn;
7854
- return !B(R);
7853
+ var M = p[I] || mn;
7854
+ return !M(R);
7855
7855
  }
7856
7856
  var l = {
7857
7857
  click: "element.click",
@@ -7864,36 +7864,36 @@ function Qc(e, i, t) {
7864
7864
  mouseup: "element.mouseup"
7865
7865
  }, p = {
7866
7866
  "element.contextmenu": Rg,
7867
- "element.mousedown": Bs,
7868
- "element.mouseup": Bs,
7869
- "element.click": Bs,
7870
- "element.dblclick": Bs
7867
+ "element.mousedown": Ms,
7868
+ "element.mouseup": Ms,
7869
+ "element.click": Ms,
7870
+ "element.dblclick": Ms
7871
7871
  };
7872
- function h(I, R, B) {
7872
+ function h(I, R, M) {
7873
7873
  var V = l[I];
7874
7874
  if (!V)
7875
7875
  throw new Error("unmapped DOM event name <" + I + ">");
7876
- return n(V, R, B);
7876
+ return n(V, R, M);
7877
7877
  }
7878
7878
  var g = "svg, .djs-element";
7879
- function b(I, R, B, V) {
7880
- var L = r[B] = function(j) {
7881
- n(B, j);
7879
+ function b(I, R, M, V) {
7880
+ var L = r[M] = function(j) {
7881
+ n(M, j);
7882
7882
  };
7883
- V && (p[B] = V), L.$delegate = ki.bind(I, g, R, L);
7883
+ V && (p[M] = V), L.$delegate = ki.bind(I, g, R, L);
7884
7884
  }
7885
- function N(I, R, B) {
7886
- var V = a(B);
7885
+ function N(I, R, M) {
7886
+ var V = a(M);
7887
7887
  !V || ki.unbind(I, R, V.$delegate);
7888
7888
  }
7889
7889
  function J(I) {
7890
- q(l, function(R, B) {
7891
- b(I, B, R);
7890
+ q(l, function(R, M) {
7891
+ b(I, M, R);
7892
7892
  });
7893
7893
  }
7894
7894
  function Q(I) {
7895
- q(l, function(R, B) {
7896
- N(I, B, R);
7895
+ q(l, function(R, M) {
7896
+ N(I, M, R);
7897
7897
  });
7898
7898
  }
7899
7899
  e.on("canvas.destroy", function(I) {
@@ -7901,26 +7901,26 @@ function Qc(e, i, t) {
7901
7901
  }), e.on("canvas.init", function(I) {
7902
7902
  J(I.svg);
7903
7903
  }), e.on(["shape.added", "connection.added"], function(I) {
7904
- var R = I.element, B = I.gfx;
7905
- e.fire("interactionEvents.createHit", { element: R, gfx: B });
7904
+ var R = I.element, M = I.gfx;
7905
+ e.fire("interactionEvents.createHit", { element: R, gfx: M });
7906
7906
  }), e.on([
7907
7907
  "shape.changed",
7908
7908
  "connection.changed"
7909
7909
  ], xo, function(I) {
7910
- var R = I.element, B = I.gfx;
7911
- e.fire("interactionEvents.updateHit", { element: R, gfx: B });
7910
+ var R = I.element, M = I.gfx;
7911
+ e.fire("interactionEvents.updateHit", { element: R, gfx: M });
7912
7912
  }), e.on("interactionEvents.createHit", xo, function(I) {
7913
- var R = I.element, B = I.gfx;
7914
- s.createDefaultHit(R, B);
7913
+ var R = I.element, M = I.gfx;
7914
+ s.createDefaultHit(R, M);
7915
7915
  }), e.on("interactionEvents.updateHit", function(I) {
7916
- var R = I.element, B = I.gfx;
7917
- s.updateDefaultHit(R, B);
7916
+ var R = I.element, M = I.gfx;
7917
+ s.updateDefaultHit(R, M);
7918
7918
  });
7919
- var ne = S("djs-hit djs-hit-stroke"), se = S("djs-hit djs-hit-click-stroke"), Z = S("djs-hit djs-hit-all"), P = S("djs-hit djs-hit-no-move"), A = {
7919
+ var ne = S("djs-hit djs-hit-stroke"), se = S("djs-hit djs-hit-click-stroke"), Z = S("djs-hit djs-hit-all"), D = S("djs-hit djs-hit-no-move"), A = {
7920
7920
  all: Z,
7921
7921
  "click-stroke": se,
7922
7922
  stroke: ne,
7923
- "no-move": P
7923
+ "no-move": D
7924
7924
  };
7925
7925
  function S(I, R) {
7926
7926
  return R = Y({
@@ -7928,11 +7928,11 @@ function Qc(e, i, t) {
7928
7928
  strokeWidth: 15
7929
7929
  }, R || {}), t.cls(I, ["no-fill", "no-border"], R);
7930
7930
  }
7931
- function D(I, R) {
7932
- var B = A[R];
7933
- if (!B)
7931
+ function P(I, R) {
7932
+ var M = A[R];
7933
+ if (!M)
7934
7934
  throw new Error("invalid hit type <" + R + ">");
7935
- return he(I, B), I;
7935
+ return he(I, M), I;
7936
7936
  }
7937
7937
  function U(I, R) {
7938
7938
  Ne(I, R);
@@ -7941,28 +7941,28 @@ function Qc(e, i, t) {
7941
7941
  var R = Sm(".djs-hit", I);
7942
7942
  q(R, hs);
7943
7943
  }, this.createDefaultHit = function(I, R) {
7944
- var B = I.waypoints, V = I.isFrame, L;
7945
- return B ? this.createWaypointsHit(R, B) : (L = V ? "stroke" : "all", this.createBoxHit(R, L, {
7944
+ var M = I.waypoints, V = I.isFrame, L;
7945
+ return M ? this.createWaypointsHit(R, M) : (L = V ? "stroke" : "all", this.createBoxHit(R, L, {
7946
7946
  width: I.width,
7947
7947
  height: I.height
7948
7948
  }));
7949
7949
  }, this.createWaypointsHit = function(I, R) {
7950
- var B = qr(R);
7951
- return D(B, "stroke"), U(I, B), B;
7952
- }, this.createBoxHit = function(I, R, B) {
7953
- B = Y({
7950
+ var M = qr(R);
7951
+ return P(M, "stroke"), U(I, M), M;
7952
+ }, this.createBoxHit = function(I, R, M) {
7953
+ M = Y({
7954
7954
  x: 0,
7955
7955
  y: 0
7956
- }, B);
7956
+ }, M);
7957
7957
  var V = de("rect");
7958
- return D(V, R), he(V, B), U(I, V), V;
7958
+ return P(V, R), he(V, M), U(I, V), V;
7959
7959
  }, this.updateDefaultHit = function(I, R) {
7960
- var B = xt(".djs-hit", R);
7961
- if (!!B)
7962
- return I.waypoints ? Cc(B, I.waypoints) : he(B, {
7960
+ var M = xt(".djs-hit", R);
7961
+ if (!!M)
7962
+ return I.waypoints ? Cc(M, I.waypoints) : he(M, {
7963
7963
  width: I.width,
7964
7964
  height: I.height
7965
- }), B;
7965
+ }), M;
7966
7966
  }, this.fire = n, this.triggerMouseEvent = h, this.mouseHandler = a, this.registerEvent = b, this.unregisterEvent = N;
7967
7967
  }
7968
7968
  Qc.$inject = [
@@ -8092,7 +8092,7 @@ function Qg(e) {
8092
8092
  function zr(e) {
8093
8093
  return Array.isArray(e);
8094
8094
  }
8095
- function Bn(e, i) {
8095
+ function Mn(e, i) {
8096
8096
  return Object.prototype.hasOwnProperty.call(e, i);
8097
8097
  }
8098
8098
  function Us(...e) {
@@ -8115,127 +8115,127 @@ function Jg(e) {
8115
8115
  }
8116
8116
  function qc(e, i) {
8117
8117
  const t = i || {
8118
- get: function(P, A) {
8119
- if (s.push(P), A === !1)
8118
+ get: function(D, A) {
8119
+ if (s.push(D), A === !1)
8120
8120
  return null;
8121
- throw o(`No provider for "${P}"!`);
8121
+ throw o(`No provider for "${D}"!`);
8122
8122
  }
8123
- }, s = [], n = this._providers = Object.create(t._providers || null), r = this._instances = /* @__PURE__ */ Object.create(null), a = r.injector = this, o = function(P) {
8123
+ }, s = [], n = this._providers = Object.create(t._providers || null), r = this._instances = /* @__PURE__ */ Object.create(null), a = r.injector = this, o = function(D) {
8124
8124
  const A = s.join(" -> ");
8125
- return s.length = 0, new Error(A ? `${P} (Resolving: ${A})` : P);
8125
+ return s.length = 0, new Error(A ? `${D} (Resolving: ${A})` : D);
8126
8126
  };
8127
- function l(P, A) {
8128
- if (!n[P] && P.includes(".")) {
8129
- const S = P.split(".");
8130
- let D = l(S.shift());
8127
+ function l(D, A) {
8128
+ if (!n[D] && D.includes(".")) {
8129
+ const S = D.split(".");
8130
+ let P = l(S.shift());
8131
8131
  for (; S.length; )
8132
- D = D[S.shift()];
8133
- return D;
8132
+ P = P[S.shift()];
8133
+ return P;
8134
8134
  }
8135
- if (Bn(r, P))
8136
- return r[P];
8137
- if (Bn(n, P)) {
8138
- if (s.indexOf(P) !== -1)
8139
- throw s.push(P), o("Cannot resolve circular dependency!");
8140
- return s.push(P), r[P] = n[P][0](n[P][1]), s.pop(), r[P];
8135
+ if (Mn(r, D))
8136
+ return r[D];
8137
+ if (Mn(n, D)) {
8138
+ if (s.indexOf(D) !== -1)
8139
+ throw s.push(D), o("Cannot resolve circular dependency!");
8140
+ return s.push(D), r[D] = n[D][0](n[D][1]), s.pop(), r[D];
8141
8141
  }
8142
- return t.get(P, A);
8142
+ return t.get(D, A);
8143
8143
  }
8144
- function p(P, A) {
8145
- if (typeof A > "u" && (A = {}), typeof P != "function")
8146
- if (zr(P))
8147
- P = Us(P.slice());
8144
+ function p(D, A) {
8145
+ if (typeof A > "u" && (A = {}), typeof D != "function")
8146
+ if (zr(D))
8147
+ D = Us(D.slice());
8148
8148
  else
8149
- throw o(`Cannot invoke "${P}". Expected a function!`);
8150
- const D = (P.$inject || Jg(P)).map((U) => Bn(A, U) ? A[U] : l(U));
8149
+ throw o(`Cannot invoke "${D}". Expected a function!`);
8150
+ const P = (D.$inject || Jg(D)).map((U) => Mn(A, U) ? A[U] : l(U));
8151
8151
  return {
8152
- fn: P,
8153
- dependencies: D
8152
+ fn: D,
8153
+ dependencies: P
8154
8154
  };
8155
8155
  }
8156
- function h(P) {
8156
+ function h(D) {
8157
8157
  const {
8158
8158
  fn: A,
8159
8159
  dependencies: S
8160
- } = p(P), D = Function.prototype.bind.call(A, null, ...S);
8161
- return new D();
8160
+ } = p(D), P = Function.prototype.bind.call(A, null, ...S);
8161
+ return new P();
8162
8162
  }
8163
- function g(P, A, S) {
8163
+ function g(D, A, S) {
8164
8164
  const {
8165
- fn: D,
8165
+ fn: P,
8166
8166
  dependencies: U
8167
- } = p(P, S);
8168
- return D.apply(A, U);
8167
+ } = p(D, S);
8168
+ return P.apply(A, U);
8169
8169
  }
8170
- function b(P) {
8171
- return Us((A) => P.get(A));
8170
+ function b(D) {
8171
+ return Us((A) => D.get(A));
8172
8172
  }
8173
- function N(P, A) {
8173
+ function N(D, A) {
8174
8174
  if (A && A.length) {
8175
- const S = /* @__PURE__ */ Object.create(null), D = /* @__PURE__ */ Object.create(null), U = [], I = [], R = [];
8176
- let B, V, L, j;
8175
+ const S = /* @__PURE__ */ Object.create(null), P = /* @__PURE__ */ Object.create(null), U = [], I = [], R = [];
8176
+ let M, V, L, j;
8177
8177
  for (let ee in n)
8178
- B = n[ee], A.indexOf(ee) !== -1 && (B[2] === "private" ? (V = U.indexOf(B[3]), V === -1 ? (L = B[3].createChild([], A), j = b(L), U.push(B[3]), I.push(L), R.push(j), S[ee] = [j, ee, "private", L]) : S[ee] = [R[V], ee, "private", I[V]]) : S[ee] = [B[2], B[1]], D[ee] = !0), (B[2] === "factory" || B[2] === "type") && B[1].$scope && A.forEach((Ie) => {
8179
- B[1].$scope.indexOf(Ie) !== -1 && (S[ee] = [B[2], B[1]], D[Ie] = !0);
8178
+ M = n[ee], A.indexOf(ee) !== -1 && (M[2] === "private" ? (V = U.indexOf(M[3]), V === -1 ? (L = M[3].createChild([], A), j = b(L), U.push(M[3]), I.push(L), R.push(j), S[ee] = [j, ee, "private", L]) : S[ee] = [R[V], ee, "private", I[V]]) : S[ee] = [M[2], M[1]], P[ee] = !0), (M[2] === "factory" || M[2] === "type") && M[1].$scope && A.forEach((Ie) => {
8179
+ M[1].$scope.indexOf(Ie) !== -1 && (S[ee] = [M[2], M[1]], P[Ie] = !0);
8180
8180
  });
8181
8181
  A.forEach((ee) => {
8182
- if (!D[ee])
8182
+ if (!P[ee])
8183
8183
  throw new Error('No provider for "' + ee + '". Cannot use provider from the parent!');
8184
- }), P.unshift(S);
8184
+ }), D.unshift(S);
8185
8185
  }
8186
- return new qc(P, a);
8186
+ return new qc(D, a);
8187
8187
  }
8188
8188
  const J = {
8189
8189
  factory: g,
8190
8190
  type: h,
8191
- value: function(P) {
8192
- return P;
8191
+ value: function(D) {
8192
+ return D;
8193
8193
  }
8194
8194
  };
8195
- function Q(P, A) {
8196
- const S = P.__init__ || [];
8195
+ function Q(D, A) {
8196
+ const S = D.__init__ || [];
8197
8197
  return function() {
8198
- S.forEach((D) => {
8199
- typeof D == "string" ? A.get(D) : A.invoke(D);
8198
+ S.forEach((P) => {
8199
+ typeof P == "string" ? A.get(P) : A.invoke(P);
8200
8200
  });
8201
8201
  };
8202
8202
  }
8203
- function ne(P) {
8204
- const A = P.__exports__;
8203
+ function ne(D) {
8204
+ const A = D.__exports__;
8205
8205
  if (A) {
8206
- const S = P.__modules__, D = Object.keys(P).reduce((V, L) => (L !== "__exports__" && L !== "__modules__" && L !== "__init__" && L !== "__depends__" && (V[L] = P[L]), V), /* @__PURE__ */ Object.create(null)), U = (S || []).concat(D), I = N(U), R = Us(function(V) {
8206
+ const S = D.__modules__, P = Object.keys(D).reduce((V, L) => (L !== "__exports__" && L !== "__modules__" && L !== "__init__" && L !== "__depends__" && (V[L] = D[L]), V), /* @__PURE__ */ Object.create(null)), U = (S || []).concat(P), I = N(U), R = Us(function(V) {
8207
8207
  return I.get(V);
8208
8208
  });
8209
8209
  A.forEach(function(V) {
8210
8210
  n[V] = [R, V, "private", I];
8211
8211
  });
8212
- const B = (P.__init__ || []).slice();
8213
- return B.unshift(function() {
8212
+ const M = (D.__init__ || []).slice();
8213
+ return M.unshift(function() {
8214
8214
  I.init();
8215
- }), P = Object.assign({}, P, {
8216
- __init__: B
8217
- }), Q(P, I);
8215
+ }), D = Object.assign({}, D, {
8216
+ __init__: M
8217
+ }), Q(D, I);
8218
8218
  }
8219
- return Object.keys(P).forEach(function(S) {
8219
+ return Object.keys(D).forEach(function(S) {
8220
8220
  if (S === "__init__" || S === "__depends__")
8221
8221
  return;
8222
- const D = P[S];
8223
- if (D[2] === "private") {
8224
- n[S] = D;
8222
+ const P = D[S];
8223
+ if (P[2] === "private") {
8224
+ n[S] = P;
8225
8225
  return;
8226
8226
  }
8227
- const U = D[0], I = D[1];
8227
+ const U = P[0], I = P[1];
8228
8228
  n[S] = [J[U], Hg(U, I), U];
8229
- }), Q(P, a);
8229
+ }), Q(D, a);
8230
8230
  }
8231
- function se(P, A) {
8232
- return P.indexOf(A) !== -1 || (P = (A.__depends__ || []).reduce(se, P), P.indexOf(A) !== -1) ? P : P.concat(A);
8231
+ function se(D, A) {
8232
+ return D.indexOf(A) !== -1 || (D = (A.__depends__ || []).reduce(se, D), D.indexOf(A) !== -1) ? D : D.concat(A);
8233
8233
  }
8234
- function Z(P) {
8235
- const A = P.reduce(se, []).map(ne);
8234
+ function Z(D) {
8235
+ const A = D.reduce(se, []).map(ne);
8236
8236
  let S = !1;
8237
8237
  return function() {
8238
- S || (S = !0, A.forEach((D) => D()));
8238
+ S || (S = !0, A.forEach((P) => P()));
8239
8239
  };
8240
8240
  }
8241
8241
  this.get = l, this.invoke = g, this.instantiate = h, this.createChild = N, this.init = Z(e);
@@ -8258,7 +8258,7 @@ Kt.prototype.drawShape = function(i, t, s) {
8258
8258
  y: 0,
8259
8259
  width: t.width || 0,
8260
8260
  height: t.height || 0
8261
- }), Pc(t) ? he(n, Y({}, this.FRAME_STYLE, s || {})) : he(n, Y({}, this.SHAPE_STYLE, s || {})), Ne(i, n), n;
8261
+ }), Dc(t) ? he(n, Y({}, this.FRAME_STYLE, s || {})) : he(n, Y({}, this.SHAPE_STYLE, s || {})), Ne(i, n), n;
8262
8262
  };
8263
8263
  Kt.prototype.drawConnection = function(i, t, s) {
8264
8264
  var n = qr(t.waypoints, Y({}, this.CONNECTION_STYLE, s || {}));
@@ -8298,7 +8298,7 @@ function Wg() {
8298
8298
  return Y(r, { class: t });
8299
8299
  }, this.style = function(t, s) {
8300
8300
  !lt(t) && !s && (s = t, t = []);
8301
- var n = Pi(t, function(r, a) {
8301
+ var n = Di(t, function(r, a) {
8302
8302
  return Y(r, e[a] || {});
8303
8303
  }, {});
8304
8304
  return s ? Y(n, s) : n;
@@ -8346,7 +8346,7 @@ function Xg(e) {
8346
8346
  function $g(e) {
8347
8347
  e = Y({}, { width: "100%", height: "100%" }, e);
8348
8348
  const i = e.container || document.body, t = document.createElement("div");
8349
- return t.setAttribute("class", "djs-container djs-parent"), Be(t, {
8349
+ return t.setAttribute("class", "djs-container djs-parent"), Me(t, {
8350
8350
  position: "relative",
8351
8351
  overflow: "hidden",
8352
8352
  width: ko(e.width),
@@ -8441,7 +8441,7 @@ z.prototype.getLayer = function(e, i) {
8441
8441
  return t.group;
8442
8442
  };
8443
8443
  z.prototype._getChildIndex = function(e) {
8444
- return Pi(this._layers, function(i, t) {
8444
+ return Di(this._layers, function(i, t) {
8445
8445
  return t.visible && e >= t.index && i++, i;
8446
8446
  }, 0);
8447
8447
  };
@@ -8732,18 +8732,18 @@ z.prototype.getAbsoluteBBox = function(e) {
8732
8732
  z.prototype.resized = function() {
8733
8733
  delete this._cachedViewbox, this._eventBus.fire("canvas.resized");
8734
8734
  };
8735
- var Bi = "data-element-id";
8735
+ var Mi = "data-element-id";
8736
8736
  function Ze(e) {
8737
8737
  this._elements = {}, this._eventBus = e;
8738
8738
  }
8739
8739
  Ze.$inject = ["eventBus"];
8740
8740
  Ze.prototype.add = function(e, i, t) {
8741
8741
  var s = e.id;
8742
- this._validateId(s), he(i, Bi, s), t && he(t, Bi, s), this._elements[s] = { element: e, gfx: i, secondaryGfx: t };
8742
+ this._validateId(s), he(i, Mi, s), t && he(t, Mi, s), this._elements[s] = { element: e, gfx: i, secondaryGfx: t };
8743
8743
  };
8744
8744
  Ze.prototype.remove = function(e) {
8745
8745
  var i = this._elements, t = e.id || e, s = t && i[t];
8746
- s && (he(s.gfx, Bi, ""), s.secondaryGfx && he(s.secondaryGfx, Bi, ""), delete i[t]);
8746
+ s && (he(s.gfx, Mi, ""), s.secondaryGfx && he(s.secondaryGfx, Mi, ""), delete i[t]);
8747
8747
  };
8748
8748
  Ze.prototype.updateId = function(e, i) {
8749
8749
  this._validateId(i), typeof e == "string" && (e = this.get(e)), this._eventBus.fire("element.updateId", {
@@ -8755,11 +8755,11 @@ Ze.prototype.updateId = function(e, i) {
8755
8755
  };
8756
8756
  Ze.prototype.updateGraphics = function(e, i, t) {
8757
8757
  var s = e.id || e, n = this._elements[s];
8758
- return t ? n.secondaryGfx = i : n.gfx = i, i && he(i, Bi, s), i;
8758
+ return t ? n.secondaryGfx = i : n.gfx = i, i && he(i, Mi, s), i;
8759
8759
  };
8760
8760
  Ze.prototype.get = function(e) {
8761
8761
  var i;
8762
- typeof e == "string" ? i = e : i = e && he(e, Bi);
8762
+ typeof e == "string" ? i = e : i = e && he(e, Mi);
8763
8763
  var t = this._elements[i];
8764
8764
  return t && t.element;
8765
8765
  };
@@ -9091,11 +9091,11 @@ Xe.prototype._createContainer = function(e, i, t, s) {
9091
9091
  };
9092
9092
  Xe.prototype.create = function(e, i, t) {
9093
9093
  var s = this._getChildrenContainer(i.parent);
9094
- return this._createContainer(e, s, t, Pc(i));
9094
+ return this._createContainer(e, s, t, Dc(i));
9095
9095
  };
9096
9096
  Xe.prototype.updateContainments = function(e) {
9097
9097
  var i = this, t = this._elementRegistry, s;
9098
- s = Pi(e, function(n, r) {
9098
+ s = Di(e, function(n, r) {
9099
9099
  return r.parent && (n[r.parent.id] = r.parent), n;
9100
9100
  }, {}), q(s, function(n) {
9101
9101
  var r = n.children;
@@ -9233,7 +9233,7 @@ function pr(e) {
9233
9233
  function ru(e) {
9234
9234
  return !!nu[e];
9235
9235
  }
9236
- function Me(e, i) {
9236
+ function Be(e, i) {
9237
9237
  var t = e.split(/:/), s, n;
9238
9238
  if (t.length === 1)
9239
9239
  s = e, n = i;
@@ -9289,7 +9289,7 @@ $e.prototype.replaceProperty = function(e, i, t) {
9289
9289
  n.splice(o, 1), this.addProperty(i, t ? void 0 : o, a), r[s.name] = r[s.localName] = i;
9290
9290
  };
9291
9291
  $e.prototype.redefineProperty = function(e, i, t) {
9292
- var s = e.ns.prefix, n = i.split("#"), r = Me(n[0], s), a = Me(n[1], r.prefix).name, o = this.propertiesByName[a];
9292
+ var s = e.ns.prefix, n = i.split("#"), r = Be(n[0], s), a = Be(n[1], r.prefix).name, o = this.propertiesByName[a];
9293
9293
  if (o)
9294
9294
  this.replaceProperty(o, e, t);
9295
9295
  else
@@ -9371,10 +9371,10 @@ Yt.prototype.registerType = function(e, i) {
9371
9371
  properties: (e.properties || []).slice(),
9372
9372
  meta: Y(e.meta || {})
9373
9373
  });
9374
- var t = Me(e.name, i.prefix), s = t.name, n = {};
9374
+ var t = Be(e.name, i.prefix), s = t.name, n = {};
9375
9375
  q(e.properties, jt(function(r) {
9376
- var a = Me(r.name, t.prefix), o = a.name;
9377
- pr(r.type) || (r.type = Me(r.type, a.prefix).name), Y(r, {
9376
+ var a = Be(r.name, t.prefix), o = a.name;
9377
+ pr(r.type) || (r.type = Be(r.type, a.prefix).name), Y(r, {
9378
9378
  ns: a,
9379
9379
  name: o
9380
9380
  }), n[o] = r;
@@ -9383,14 +9383,14 @@ Yt.prototype.registerType = function(e, i) {
9383
9383
  name: s,
9384
9384
  propertiesByName: n
9385
9385
  }), q(e.extends, jt(function(r) {
9386
- var a = Me(r, t.prefix), o = this.typeMap[a.name];
9386
+ var a = Be(r, t.prefix), o = this.typeMap[a.name];
9387
9387
  o.traits = o.traits || [], o.traits.push(s);
9388
9388
  }, this)), this.definePackage(e, i), this.typeMap[s] = e;
9389
9389
  };
9390
9390
  Yt.prototype.mapTypes = function(e, i, t) {
9391
9391
  var s = pr(e.name) ? { name: e.name } : this.typeMap[e.name], n = this;
9392
9392
  function r(l, p) {
9393
- var h = Me(l, pr(l) ? "" : e.prefix);
9393
+ var h = Be(l, pr(l) ? "" : e.prefix);
9394
9394
  n.mapTypes(h, i, p);
9395
9395
  }
9396
9396
  function a(l) {
@@ -9404,7 +9404,7 @@ Yt.prototype.mapTypes = function(e, i, t) {
9404
9404
  q(s.superClass, t ? a : o), i(s, !t), q(s.traits, a);
9405
9405
  };
9406
9406
  Yt.prototype.getEffectiveDescriptor = function(e) {
9407
- var i = Me(e), t = new $e(i);
9407
+ var i = Be(e), t = new $e(i);
9408
9408
  this.mapTypes(i, function(n, r) {
9409
9409
  t.addTrait(n, r);
9410
9410
  });
@@ -9495,7 +9495,7 @@ rt.prototype.getType = function(e) {
9495
9495
  return s || (e = this.registry.getEffectiveDescriptor(t), s = i[t] = this.factory.createType(e)), s;
9496
9496
  };
9497
9497
  rt.prototype.createAny = function(e, i, t) {
9498
- var s = Me(e), n = {
9498
+ var s = Be(e), n = {
9499
9499
  $type: e,
9500
9500
  $instanceOf: function(a) {
9501
9501
  return a === this.$type;
@@ -9555,14 +9555,14 @@ function Cy(e, i, t, s) {
9555
9555
  function Zt(e) {
9556
9556
  return e.length > 3 && e.indexOf("&") !== -1 ? e.replace(Ay, Cy) : e;
9557
9557
  }
9558
- var Po = "non-whitespace outside of root node";
9558
+ var Do = "non-whitespace outside of root node";
9559
9559
  function Ci(e) {
9560
9560
  return new Error(e);
9561
9561
  }
9562
- function Do(e) {
9562
+ function Po(e) {
9563
9563
  return "missing namespace for prefix <" + e + ">";
9564
9564
  }
9565
- function Ms(e) {
9565
+ function Bs(e) {
9566
9566
  return {
9567
9567
  get: e,
9568
9568
  enumerable: !0
@@ -9583,7 +9583,7 @@ function wy(e) {
9583
9583
  s = e[t], i[s] = s, i[hr(s)] = t;
9584
9584
  return i;
9585
9585
  }
9586
- function Bo() {
9586
+ function Mo() {
9587
9587
  return { line: 0, column: 0 };
9588
9588
  }
9589
9589
  function Ey(e) {
@@ -9592,7 +9592,7 @@ function Ey(e) {
9592
9592
  function ou(e) {
9593
9593
  if (!this)
9594
9594
  return new ou(e);
9595
- var i = e && e.proxy, t, s, n, r, a = Ey, o, l, p, h, g = Bo, b = !1, N = !1, J = null, Q = !1, ne;
9595
+ var i = e && e.proxy, t, s, n, r, a = Ey, o, l, p, h, g = Mo, b = !1, N = !1, J = null, Q = !1, ne;
9596
9596
  function se(A) {
9597
9597
  A instanceof Error || (A = Ci(A)), J = A, a(A, g);
9598
9598
  }
@@ -9637,23 +9637,23 @@ function ou(e) {
9637
9637
  }, this.ns = function(A) {
9638
9638
  if (typeof A > "u" && (A = {}), typeof A != "object")
9639
9639
  throw Ci("required args <nsMap={}>");
9640
- var S = {}, D;
9641
- for (D in A)
9642
- S[D] = A[D];
9640
+ var S = {}, P;
9641
+ for (P in A)
9642
+ S[P] = A[P];
9643
9643
  return N = !0, ne = S, this;
9644
9644
  }, this.parse = function(A) {
9645
9645
  if (typeof A != "string")
9646
9646
  throw Ci("required args <xml=string>");
9647
- return J = null, P(A), g = Bo, Q = !1, J;
9647
+ return J = null, D(A), g = Mo, Q = !1, J;
9648
9648
  }, this.stop = function() {
9649
9649
  Q = !0;
9650
9650
  };
9651
- function P(A) {
9652
- var S = N ? [] : null, D = N ? wy(ne) : null, U, I = [], R = 0, B = !1, V = !1, L = 0, j = 0, ee, Ie, le, m, v, T, M, H, w, E = "", k = 0, K;
9651
+ function D(A) {
9652
+ var S = N ? [] : null, P = N ? wy(ne) : null, U, I = [], R = 0, M = !1, V = !1, L = 0, j = 0, ee, Ie, le, m, v, T, B, H, w, E = "", k = 0, K;
9653
9653
  function te() {
9654
9654
  if (K !== null)
9655
9655
  return K;
9656
- var u, c, f, y = N && D.xmlns, x = N && b ? [] : null, _ = k, G = E, ae = G.length, Ee, Ae, ke, et, ue, Ct = {}, Cs = {}, He, X, ce;
9656
+ var u, c, f, y = N && P.xmlns, x = N && b ? [] : null, _ = k, G = E, ae = G.length, Ee, Ae, ke, et, ue, Ct = {}, Cs = {}, He, X, ce;
9657
9657
  e:
9658
9658
  for (; _ < ae; _++)
9659
9659
  if (He = !1, X = G.charCodeAt(_), !(X === 32 || X < 14 && X > 8)) {
@@ -9689,15 +9689,15 @@ function ou(e) {
9689
9689
  if (b) {
9690
9690
  if (Ae = ue === "xmlns" ? "xmlns" : ue.charCodeAt(0) === 120 && ue.substr(0, 6) === "xmlns:" ? ue.substr(6) : null, Ae !== null) {
9691
9691
  if (u = Zt(ke), c = hr(Ae), et = ne[u], !et) {
9692
- if (Ae === "xmlns" || c in D && D[c] !== u)
9692
+ if (Ae === "xmlns" || c in P && P[c] !== u)
9693
9693
  do
9694
9694
  et = "ns" + R++;
9695
- while (typeof D[et] < "u");
9695
+ while (typeof P[et] < "u");
9696
9696
  else
9697
9697
  et = Ae;
9698
9698
  ne[u] = et;
9699
9699
  }
9700
- D[Ae] !== et && (Ee || (D = by(D), Ee = !0), D[Ae] = et, Ae === "xmlns" && (D[hr(et)] = u, y = et), D[c] = u), Ct[ue] = ke;
9700
+ P[Ae] !== et && (Ee || (P = by(P), Ee = !0), P[Ae] = et, Ae === "xmlns" && (P[hr(et)] = u, y = et), P[c] = u), Ct[ue] = ke;
9701
9701
  continue;
9702
9702
  }
9703
9703
  x.push(ue, ke);
@@ -9707,8 +9707,8 @@ function ou(e) {
9707
9707
  Ct[ue] = ke;
9708
9708
  continue;
9709
9709
  }
9710
- if (!(f = D[ue.substring(0, X)])) {
9711
- Z(Do(ue.substring(0, X)));
9710
+ if (!(f = P[ue.substring(0, X)])) {
9711
+ Z(Po(ue.substring(0, X)));
9712
9712
  continue;
9713
9713
  }
9714
9714
  ue = y === f ? ue.substr(X + 1) : f + ue.substr(X), Ct[ue] = ke;
@@ -9716,8 +9716,8 @@ function ou(e) {
9716
9716
  if (b)
9717
9717
  for (_ = 0, ae = x.length; _ < ae; _++) {
9718
9718
  if (ue = x[_++], ke = x[_], X = ue.indexOf(":"), X !== -1) {
9719
- if (!(f = D[ue.substring(0, X)])) {
9720
- Z(Do(ue.substring(0, X)));
9719
+ if (!(f = P[ue.substring(0, X)])) {
9720
+ Z(Po(ue.substring(0, X)));
9721
9721
  continue;
9722
9722
  }
9723
9723
  ue = y === f ? ue.substr(X + 1) : f + ue.substr(X);
@@ -9736,15 +9736,15 @@ function ou(e) {
9736
9736
  };
9737
9737
  }
9738
9738
  for (g = d, i && (w = Object.create({}, {
9739
- name: Ms(function() {
9740
- return M;
9739
+ name: Bs(function() {
9740
+ return B;
9741
9741
  }),
9742
- originalName: Ms(function() {
9742
+ originalName: Bs(function() {
9743
9743
  return H;
9744
9744
  }),
9745
- attrs: Ms(te),
9746
- ns: Ms(function() {
9747
- return D;
9745
+ attrs: Bs(te),
9746
+ ns: Bs(function() {
9747
+ return P;
9748
9748
  })
9749
9749
  })); j !== -1; ) {
9750
9750
  if (A.charCodeAt(j) === 60 ? L = j : L = A.indexOf("<", j), L === -1) {
@@ -9752,14 +9752,14 @@ function ou(e) {
9752
9752
  return se("unexpected end of file");
9753
9753
  if (j === 0)
9754
9754
  return se("missing start tag");
9755
- j < A.length && A.substring(j).trim() && Z(Po);
9755
+ j < A.length && A.substring(j).trim() && Z(Do);
9756
9756
  return;
9757
9757
  }
9758
9758
  if (j !== L) {
9759
9759
  if (I.length) {
9760
9760
  if (t && (t(A.substring(j, L), Zt, g), Q))
9761
9761
  return;
9762
- } else if (A.substring(j, L).trim() && (Z(Po), Q))
9762
+ } else if (A.substring(j, L).trim() && (Z(Do), Q))
9763
9763
  return;
9764
9764
  }
9765
9765
  if (m = A.charCodeAt(L + 1), m === 33) {
@@ -9807,41 +9807,41 @@ function ou(e) {
9807
9807
  continue;
9808
9808
  }
9809
9809
  if (K = {}, m === 47) {
9810
- if (B = !1, V = !0, !I.length)
9810
+ if (M = !1, V = !0, !I.length)
9811
9811
  return se("missing open tag");
9812
- if (ee = M = I.pop(), le = L + 2 + ee.length, A.substring(L + 2, le) !== ee)
9812
+ if (ee = B = I.pop(), le = L + 2 + ee.length, A.substring(L + 2, le) !== ee)
9813
9813
  return se("closing tag mismatch");
9814
9814
  for (; le < j; le++)
9815
9815
  if (m = A.charCodeAt(le), !(m === 32 || m > 8 && m < 14))
9816
9816
  return se("close tag");
9817
9817
  } else {
9818
- if (A.charCodeAt(j - 1) === 47 ? (ee = M = A.substring(L + 1, j - 1), B = !0, V = !0) : (ee = M = A.substring(L + 1, j), B = !0, V = !1), !(m > 96 && m < 123 || m > 64 && m < 91 || m === 95 || m === 58))
9818
+ if (A.charCodeAt(j - 1) === 47 ? (ee = B = A.substring(L + 1, j - 1), M = !0, V = !0) : (ee = B = A.substring(L + 1, j), M = !0, V = !1), !(m > 96 && m < 123 || m > 64 && m < 91 || m === 95 || m === 58))
9819
9819
  return se("illegal first char nodeName");
9820
9820
  for (le = 1, Ie = ee.length; le < Ie; le++)
9821
9821
  if (m = ee.charCodeAt(le), !(m > 96 && m < 123 || m > 64 && m < 91 || m > 47 && m < 59 || m === 45 || m === 95 || m == 46)) {
9822
9822
  if (m === 32 || m < 14 && m > 8) {
9823
- M = ee.substring(0, le), K = null;
9823
+ B = ee.substring(0, le), K = null;
9824
9824
  break;
9825
9825
  }
9826
9826
  return se("invalid nodeName");
9827
9827
  }
9828
- V || I.push(M);
9828
+ V || I.push(B);
9829
9829
  }
9830
9830
  if (N) {
9831
- if (U = D, B && (V || S.push(U), K === null && (b = ee.indexOf("xmlns", le) !== -1) && (k = le, E = ee, te(), b = !1)), H = M, m = M.indexOf(":"), m !== -1) {
9832
- if (T = D[M.substring(0, m)], !T)
9831
+ if (U = P, M && (V || S.push(U), K === null && (b = ee.indexOf("xmlns", le) !== -1) && (k = le, E = ee, te(), b = !1)), H = B, m = B.indexOf(":"), m !== -1) {
9832
+ if (T = P[B.substring(0, m)], !T)
9833
9833
  return se("missing namespace on <" + H + ">");
9834
- M = M.substr(m + 1);
9834
+ B = B.substr(m + 1);
9835
9835
  } else
9836
- T = D.xmlns;
9837
- T && (M = T + ":" + M);
9836
+ T = P.xmlns;
9837
+ T && (B = T + ":" + B);
9838
9838
  }
9839
- if (B && (k = le, E = ee, s && (i ? s(w, Zt, V, g) : s(M, te, Zt, V, g), Q)))
9839
+ if (M && (k = le, E = ee, s && (i ? s(w, Zt, V, g) : s(B, te, Zt, V, g), Q)))
9840
9840
  return;
9841
9841
  if (V) {
9842
- if (n && (n(i ? w : M, Zt, B, g), Q))
9842
+ if (n && (n(i ? w : B, Zt, M, g), Q))
9843
9843
  return;
9844
- N && (B ? D = U : D = S.pop());
9844
+ N && (M ? P = U : P = S.pop());
9845
9845
  }
9846
9846
  j += 1;
9847
9847
  }
@@ -9872,7 +9872,7 @@ function Iy(e, i) {
9872
9872
  return n && s.indexOf(n) === 0 ? e.prefix + ":" + s.slice(n.length) : t;
9873
9873
  }
9874
9874
  function ky(e, i, t) {
9875
- const s = Me(e, i.xmlns), n = `${i[s.prefix] || s.prefix}:${s.localName}`, r = Me(n);
9875
+ const s = Be(e, i.xmlns), n = `${i[s.prefix] || s.prefix}:${s.localName}`, r = Be(n);
9876
9876
  var a = t.getPackage(r.prefix);
9877
9877
  return Iy(r, a);
9878
9878
  }
@@ -9984,7 +9984,7 @@ Re.prototype.createElement = function(e) {
9984
9984
  element: r,
9985
9985
  property: h.ns.name,
9986
9986
  id: l
9987
- }) : (h ? l = $r(h.type, l) : p === "xmlns" ? p = ":" + p : (o = Me(p, s.ns.prefix), a.getPackage(o.prefix) && n.addWarning({
9987
+ }) : (h ? l = $r(h.type, l) : p === "xmlns" ? p = ":" + p : (o = Be(p, s.ns.prefix), a.getPackage(o.prefix) && n.addWarning({
9988
9988
  message: "unknown attribute <" + p + ">",
9989
9989
  element: r,
9990
9990
  property: p,
@@ -9993,7 +9993,7 @@ Re.prototype.createElement = function(e) {
9993
9993
  }), r;
9994
9994
  };
9995
9995
  Re.prototype.getPropertyForNode = function(e) {
9996
- var i = e.name, t = Me(i), s = this.type, n = this.model, r = Tt(s), a = t.name, o = r.propertiesByName[a];
9996
+ var i = e.name, t = Be(i), s = this.type, n = this.model, r = Tt(s), a = t.name, o = r.propertiesByName[a];
9997
9997
  if (o && !o.isAttr) {
9998
9998
  const p = xy(o);
9999
9999
  if (p) {
@@ -10032,7 +10032,7 @@ Re.prototype.referenceHandler = function(e) {
10032
10032
  return new vs(e, this.context);
10033
10033
  };
10034
10034
  Re.prototype.handler = function(e) {
10035
- return e === "Element" ? new Mi(this.model, e, this.context) : new Re(this.model, e, this.context);
10035
+ return e === "Element" ? new Bi(this.model, e, this.context) : new Re(this.model, e, this.context);
10036
10036
  };
10037
10037
  Re.prototype.handleChild = function(e) {
10038
10038
  var i, t, s, n;
@@ -10049,24 +10049,24 @@ function ia(e, i, t) {
10049
10049
  }
10050
10050
  ia.prototype = Object.create(Re.prototype);
10051
10051
  ia.prototype.createElement = function(e) {
10052
- var i = e.name, t = Me(i), s = this.model, n = this.type, r = s.getPackage(t.prefix), a = r && pu(t, r) || i;
10052
+ var i = e.name, t = Be(i), s = this.model, n = this.type, r = s.getPackage(t.prefix), a = r && pu(t, r) || i;
10053
10053
  if (!n.hasType(a))
10054
10054
  throw Gt("unexpected element <" + e.originalName + ">");
10055
10055
  return Re.prototype.createElement.call(this, e);
10056
10056
  };
10057
- function Mi(e, i, t) {
10057
+ function Bi(e, i, t) {
10058
10058
  this.model = e, this.context = t;
10059
10059
  }
10060
- Mi.prototype = Object.create(gn.prototype);
10061
- Mi.prototype.createElement = function(e) {
10062
- var i = e.name, t = Me(i), s = t.prefix, n = e.ns[s + "$uri"], r = e.attributes;
10060
+ Bi.prototype = Object.create(gn.prototype);
10061
+ Bi.prototype.createElement = function(e) {
10062
+ var i = e.name, t = Be(i), s = t.prefix, n = e.ns[s + "$uri"], r = e.attributes;
10063
10063
  return this.model.createAny(i, n, r);
10064
10064
  };
10065
- Mi.prototype.handleChild = function(e) {
10066
- var i = new Mi(this.model, "Element", this.context).handleNode(e), t = this.element, s = i.element, n;
10065
+ Bi.prototype.handleChild = function(e) {
10066
+ var i = new Bi(this.model, "Element", this.context).handleNode(e), t = this.element, s = i.element, n;
10067
10067
  return s !== void 0 && (n = t.$children = t.$children || [], n.push(s), s.$parent = t), i;
10068
10068
  };
10069
- Mi.prototype.handleEnd = function() {
10069
+ Bi.prototype.handleEnd = function() {
10070
10070
  this.body && (this.element.$body = this.body);
10071
10071
  };
10072
10072
  function sa(e) {
@@ -10079,12 +10079,12 @@ sa.prototype.fromXML = function(e, i, t) {
10079
10079
  i instanceof Re ? (s = i, i = {}) : typeof i == "string" ? (s = this.handler(i), i = {}) : typeof s == "string" && (s = this.handler(s));
10080
10080
  var n = this.model, r = this.lax, a = new Ny(Y({}, i, { rootHandler: s })), o = new ou({ proxy: !0 }), l = Sy();
10081
10081
  s.context = a, l.push(s);
10082
- function p(S, D, U) {
10083
- var I = D(), R = I.line, B = I.column, V = I.data;
10082
+ function p(S, P, U) {
10083
+ var I = P(), R = I.line, M = I.column, V = I.data;
10084
10084
  V.charAt(0) === "<" && V.indexOf(" ") !== -1 && (V = V.slice(0, V.indexOf(" ")) + ">");
10085
10085
  var L = "unparsable content " + (V ? V + " " : "") + `detected
10086
10086
  line: ` + R + `
10087
- column: ` + B + `
10087
+ column: ` + M + `
10088
10088
  nested error: ` + S.message;
10089
10089
  if (U)
10090
10090
  return a.addWarning({
@@ -10093,23 +10093,23 @@ sa.prototype.fromXML = function(e, i, t) {
10093
10093
  }), !0;
10094
10094
  throw Gt(L);
10095
10095
  }
10096
- function h(S, D) {
10097
- return p(S, D, !0);
10096
+ function h(S, P) {
10097
+ return p(S, P, !0);
10098
10098
  }
10099
10099
  function g() {
10100
- var S = a.elementsById, D = a.references, U, I;
10101
- for (U = 0; I = D[U]; U++) {
10102
- var R = I.element, B = S[I.id], V = Tt(R).propertiesByName[I.property];
10103
- if (B || a.addWarning({
10100
+ var S = a.elementsById, P = a.references, U, I;
10101
+ for (U = 0; I = P[U]; U++) {
10102
+ var R = I.element, M = S[I.id], V = Tt(R).propertiesByName[I.property];
10103
+ if (M || a.addWarning({
10104
10104
  message: "unresolved reference <" + I.id + ">",
10105
10105
  element: I.element,
10106
10106
  property: I.property,
10107
10107
  value: I.id
10108
10108
  }), V.isMany) {
10109
10109
  var L = R.get(V.name), j = L.indexOf(I);
10110
- j === -1 && (j = L.length), B ? L[j] = B : L.splice(j, 1);
10110
+ j === -1 && (j = L.length), M ? L[j] = M : L.splice(j, 1);
10111
10111
  } else
10112
- R.set(V.name, B);
10112
+ R.set(V.name, M);
10113
10113
  }
10114
10114
  }
10115
10115
  function b() {
@@ -10118,49 +10118,49 @@ sa.prototype.fromXML = function(e, i, t) {
10118
10118
  var N = /^<\?xml /i, J = / encoding="([^"]+)"/i, Q = /^utf-8$/i;
10119
10119
  function ne(S) {
10120
10120
  if (!!N.test(S)) {
10121
- var D = J.exec(S), U = D && D[1];
10121
+ var P = J.exec(S), U = P && P[1];
10122
10122
  !U || Q.test(U) || a.addWarning({
10123
10123
  message: "unsupported document encoding <" + U + ">, falling back to UTF-8"
10124
10124
  });
10125
10125
  }
10126
10126
  }
10127
- function se(S, D) {
10127
+ function se(S, P) {
10128
10128
  var U = l.peek();
10129
10129
  try {
10130
10130
  l.push(U.handleNode(S));
10131
10131
  } catch (I) {
10132
- p(I, D, r) && l.push(new ea());
10132
+ p(I, P, r) && l.push(new ea());
10133
10133
  }
10134
10134
  }
10135
- function Z(S, D) {
10135
+ function Z(S, P) {
10136
10136
  try {
10137
10137
  l.peek().handleText(S);
10138
10138
  } catch (U) {
10139
- h(U, D);
10139
+ h(U, P);
10140
10140
  }
10141
10141
  }
10142
- function P(S, D) {
10143
- !S.trim() || Z(S, D);
10142
+ function D(S, P) {
10143
+ !S.trim() || Z(S, P);
10144
10144
  }
10145
- var A = n.getPackages().reduce(function(S, D) {
10146
- return S[D.uri] = D.prefix, S;
10147
- }, Object.entries(fr).reduce(function(S, [D, U]) {
10148
- return S[U] = D, S;
10145
+ var A = n.getPackages().reduce(function(S, P) {
10146
+ return S[P.uri] = P.prefix, S;
10147
+ }, Object.entries(fr).reduce(function(S, [P, U]) {
10148
+ return S[U] = P, S;
10149
10149
  }, n.config && n.config.nsMap || {}));
10150
- return o.ns(A).on("openTag", function(S, D, U, I) {
10151
- var R = S.attrs || {}, B = Object.keys(R).reduce(function(L, j) {
10152
- var ee = D(R[j]);
10150
+ return o.ns(A).on("openTag", function(S, P, U, I) {
10151
+ var R = S.attrs || {}, M = Object.keys(R).reduce(function(L, j) {
10152
+ var ee = P(R[j]);
10153
10153
  return L[j] = ee, L;
10154
10154
  }, {}), V = {
10155
10155
  name: S.name,
10156
10156
  originalName: S.originalName,
10157
- attributes: B,
10157
+ attributes: M,
10158
10158
  ns: S.ns
10159
10159
  };
10160
10160
  se(V, I);
10161
- }).on("question", ne).on("closeTag", b).on("cdata", Z).on("text", function(S, D, U) {
10162
- P(D(S), U);
10163
- }).on("error", p).on("warn", h), new Promise(function(S, D) {
10161
+ }).on("question", ne).on("closeTag", b).on("cdata", Z).on("text", function(S, P, U) {
10162
+ D(P(S), U);
10163
+ }).on("error", p).on("warn", h), new Promise(function(S, P) {
10164
10164
  var U;
10165
10165
  try {
10166
10166
  o.parse(e), g();
@@ -10169,11 +10169,11 @@ sa.prototype.fromXML = function(e, i, t) {
10169
10169
  }
10170
10170
  var I = s.element;
10171
10171
  !U && !I && (U = Gt("failed to parse document as <" + s.type.$descriptor.name + ">"));
10172
- var R = a.warnings, B = a.references, V = a.elementsById;
10173
- return U ? (U.warnings = R, D(U)) : S({
10172
+ var R = a.warnings, M = a.references, V = a.elementsById;
10173
+ return U ? (U.warnings = R, P(U)) : S({
10174
10174
  rootElement: I,
10175
10175
  elementsById: V,
10176
- references: B,
10176
+ references: M,
10177
10177
  warnings: R
10178
10178
  });
10179
10179
  });
@@ -10190,7 +10190,7 @@ function Sy() {
10190
10190
  }), e;
10191
10191
  }
10192
10192
  var _y = `<?xml version="1.0" encoding="UTF-8"?>
10193
- `, Py = /<|>|'|"|&|\n\r|\n/g, du = /<|>|&/g;
10193
+ `, Dy = /<|>|'|"|&|\n\r|\n/g, du = /<|>|&/g;
10194
10194
  function At(e) {
10195
10195
  this.prefixMap = {}, this.uriMap = {}, this.used = {}, this.wellknown = [], this.custom = [], this.parent = e, this.defaultPrefixMap = e && e.defaultPrefixMap || {};
10196
10196
  }
@@ -10226,11 +10226,11 @@ At.prototype.getUsed = function(e) {
10226
10226
  return this.used[s];
10227
10227
  });
10228
10228
  };
10229
- function Dy(e) {
10229
+ function Py(e) {
10230
10230
  return e.charAt(0).toLowerCase() + e.slice(1);
10231
10231
  }
10232
- function By(e, i) {
10233
- return lu(i) ? Dy(e) : e;
10232
+ function My(e, i) {
10233
+ return lu(i) ? Py(e) : e;
10234
10234
  }
10235
10235
  function hu(e, i) {
10236
10236
  e.super_ = i, e.prototype = Object.create(i.prototype, {
@@ -10245,7 +10245,7 @@ function hu(e, i) {
10245
10245
  function fu(e) {
10246
10246
  return ct(e) ? e : (e.prefix ? e.prefix + ":" : "") + e.localName;
10247
10247
  }
10248
- function My(e) {
10248
+ function By(e) {
10249
10249
  return e.getUsed().filter(function(i) {
10250
10250
  return i.prefix !== "xml";
10251
10251
  }).map(function(i) {
@@ -10254,7 +10254,7 @@ function My(e) {
10254
10254
  });
10255
10255
  }
10256
10256
  function Oy(e, i) {
10257
- return i.isGeneric ? Y({ localName: i.ns.localName }, e) : Y({ localName: By(i.ns.localName, i.$pkg) }, e);
10257
+ return i.isGeneric ? Y({ localName: i.ns.localName }, e) : Y({ localName: My(i.ns.localName, i.$pkg) }, e);
10258
10258
  }
10259
10259
  function Ry(e, i) {
10260
10260
  return Y({ localName: i.ns.localName }, e);
@@ -10288,7 +10288,7 @@ function mu(e, i, t) {
10288
10288
  });
10289
10289
  }
10290
10290
  function jy(e) {
10291
- return mu(e, Py, Fy);
10291
+ return mu(e, Dy, Fy);
10292
10292
  }
10293
10293
  function Qy(e) {
10294
10294
  return mu(e, du, Vy);
@@ -10350,7 +10350,7 @@ me.prototype.isLocalNs = function(e) {
10350
10350
  };
10351
10351
  me.prototype.nsAttributeName = function(e) {
10352
10352
  var i;
10353
- if (ct(e) ? i = Me(e) : i = e.ns, e.inherited)
10353
+ if (ct(e) ? i = Be(e) : i = e.ns, e.inherited)
10354
10354
  return { localName: i.localName };
10355
10355
  var t = this.logNamespaceUsed(i);
10356
10356
  return this.getNamespaces().logUsed(t), this.isLocalNs(t) ? { localName: i.localName } : Y({ localName: i.localName }, t);
@@ -10371,7 +10371,7 @@ me.prototype.parseGenericContainments = function(e) {
10371
10371
  });
10372
10372
  };
10373
10373
  me.prototype.parseNsAttribute = function(e, i, t) {
10374
- var s = e.$model, n = Me(i), r;
10374
+ var s = e.$model, n = Be(i), r;
10375
10375
  if (n.prefix === "xmlns" && (r = { prefix: n.localName, uri: t }), !n.prefix && n.localName === "xmlns" && (r = { uri: t }), !r)
10376
10376
  return {
10377
10377
  name: i,
@@ -10479,7 +10479,7 @@ me.prototype.addAttribute = function(e, i) {
10479
10479
  };
10480
10480
  me.prototype.serializeAttributes = function(e) {
10481
10481
  var i = this.attrs, t = this.namespaces;
10482
- t && (i = My(t).concat(i)), q(i, function(s) {
10482
+ t && (i = By(t).concat(i)), q(i, function(s) {
10483
10483
  e.append(" ").append(fu(s.name)).append('="').append(s.value).append('"');
10484
10484
  });
10485
10485
  };
@@ -14104,7 +14104,7 @@ var Wy = "BPMN20", Yy = "http://www.omg.org/spec/BPMN/20100524/MODEL", zy = "bpm
14104
14104
  types: Tv,
14105
14105
  enumerations: Iv,
14106
14106
  associations: kv
14107
- }, Sv = "BPMN in Color", _v = "http://www.omg.org/spec/BPMN/non-normative/color/1.0", Pv = "color", Dv = [
14107
+ }, Sv = "BPMN in Color", _v = "http://www.omg.org/spec/BPMN/non-normative/color/1.0", Dv = "color", Pv = [
14108
14108
  {
14109
14109
  name: "ColoredLabel",
14110
14110
  extends: [
@@ -14149,13 +14149,13 @@ var Wy = "BPMN20", Yy = "http://www.omg.org/spec/BPMN/20100524/MODEL", zy = "bpm
14149
14149
  }
14150
14150
  ]
14151
14151
  }
14152
- ], Bv = [], Mv = [], Ov = {
14152
+ ], Mv = [], Bv = [], Ov = {
14153
14153
  name: Sv,
14154
14154
  uri: _v,
14155
- prefix: Pv,
14156
- types: Dv,
14157
- enumerations: Bv,
14158
- associations: Mv
14155
+ prefix: Dv,
14156
+ types: Pv,
14157
+ enumerations: Mv,
14158
+ associations: Bv
14159
14159
  };
14160
14160
  const Rv = {
14161
14161
  bpmn: tv,
@@ -14203,7 +14203,7 @@ function Qv(e) {
14203
14203
  var k = w.gfx;
14204
14204
  if (k)
14205
14205
  throw new Error(
14206
- `already rendered ${De(w)}`
14206
+ `already rendered ${Pe(w)}`
14207
14207
  );
14208
14208
  return e.element(w, s[w.id], E);
14209
14209
  }
@@ -14215,7 +14215,7 @@ function Qv(e) {
14215
14215
  var k = s[w.id] && o(w, E);
14216
14216
  return r(w), k;
14217
14217
  } catch (K) {
14218
- h(K.message, { element: w, error: K }), console.error(`failed to import ${De(w)}`, K);
14218
+ h(K.message, { element: w, error: K }), console.error(`failed to import ${Pe(w)}`, K);
14219
14219
  }
14220
14220
  }
14221
14221
  function h(w, E) {
@@ -14224,10 +14224,10 @@ function Qv(e) {
14224
14224
  var g = this.registerDi = function(E) {
14225
14225
  var k = E.bpmnElement;
14226
14226
  k ? s[k.id] ? h(
14227
- `multiple DI elements defined for ${De(k)}`,
14227
+ `multiple DI elements defined for ${Pe(k)}`,
14228
14228
  { element: k }
14229
14229
  ) : (s[k.id] = E, Vv(k)) : h(
14230
- `no bpmnElement referenced in ${De(E)}`,
14230
+ `no bpmnElement referenced in ${Pe(E)}`,
14231
14231
  { element: E }
14232
14232
  );
14233
14233
  };
@@ -14250,13 +14250,13 @@ function Qv(e) {
14250
14250
  var te = k.plane;
14251
14251
  if (!te)
14252
14252
  throw new Error(
14253
- `no plane for ${De(k)}`
14253
+ `no plane for ${Pe(k)}`
14254
14254
  );
14255
14255
  var d = te.bpmnElement;
14256
14256
  if (!d)
14257
14257
  if (d = jv(E), d)
14258
14258
  h(
14259
- `correcting missing bpmnElement on ${De(te)} to ${De(d)}`
14259
+ `correcting missing bpmnElement on ${Pe(te)} to ${Pe(d)}`
14260
14260
  ), te.bpmnElement = d, g(te);
14261
14261
  else
14262
14262
  throw new Error("no process or collaboration to display");
@@ -14264,10 +14264,10 @@ function Qv(e) {
14264
14264
  if (Le(d, "bpmn:Process") || Le(d, "bpmn:SubProcess"))
14265
14265
  ne(d, u);
14266
14266
  else if (Le(d, "bpmn:Collaboration"))
14267
- M(d, u), se(E.rootElements, u);
14267
+ B(d, u), se(E.rootElements, u);
14268
14268
  else
14269
14269
  throw new Error(
14270
- `unsupported bpmnElement for ${De(te)}: ${De(d)}`
14270
+ `unsupported bpmnElement for ${Pe(te)}: ${Pe(d)}`
14271
14271
  );
14272
14272
  Q(t);
14273
14273
  };
@@ -14287,7 +14287,7 @@ function Qv(e) {
14287
14287
  function Z(w, E) {
14288
14288
  p(w, E);
14289
14289
  }
14290
- function P(w, E) {
14290
+ function D(w, E) {
14291
14291
  q(w, n(Z, E));
14292
14292
  }
14293
14293
  function A(w, E) {
@@ -14296,7 +14296,7 @@ function Qv(e) {
14296
14296
  function S(w, E) {
14297
14297
  p(w, E);
14298
14298
  }
14299
- function D(w, E) {
14299
+ function P(w, E) {
14300
14300
  p(w, E);
14301
14301
  }
14302
14302
  function U(w, E) {
@@ -14310,14 +14310,14 @@ function Qv(e) {
14310
14310
  });
14311
14311
  }
14312
14312
  function R(w, E) {
14313
- !w || (q(w.dataInputs, n(S, E)), q(w.dataOutputs, n(D, E)));
14313
+ !w || (q(w.dataInputs, n(S, E)), q(w.dataOutputs, n(P, E)));
14314
14314
  }
14315
- var B = this.handleSubProcess = function(E, k) {
14315
+ var M = this.handleSubProcess = function(E, k) {
14316
14316
  m(E, k), I(E.artifacts, k);
14317
14317
  };
14318
14318
  function V(w, E) {
14319
14319
  var k = p(w, E);
14320
- Le(w, "bpmn:SubProcess") && B(w, k || E), Le(w, "bpmn:Activity") && R(w.ioSpecification, E), t.push(function() {
14320
+ Le(w, "bpmn:SubProcess") && M(w, k || E), Le(w, "bpmn:Activity") && R(w.ioSpecification, E), t.push(function() {
14321
14321
  q(w.dataInputAssociations, n(A, E)), q(w.dataOutputAssociations, n(A, E));
14322
14322
  });
14323
14323
  }
@@ -14349,7 +14349,7 @@ function Qv(e) {
14349
14349
  }) : Le(k, "bpmn:BoundaryEvent") ? t.unshift(function() {
14350
14350
  V(k, E);
14351
14351
  }) : Le(k, "bpmn:FlowNode") ? V(k, E) : Le(k, "bpmn:DataObject") || (Le(k, "bpmn:DataStoreReference") || Le(k, "bpmn:DataObjectReference") ? j(k, E) : h(
14352
- `unrecognized flowElement ${De(k)} in context ${De(E && E.businessObject)}`,
14352
+ `unrecognized flowElement ${Pe(k)} in context ${Pe(E && E.businessObject)}`,
14353
14353
  {
14354
14354
  element: k,
14355
14355
  context: E
@@ -14361,9 +14361,9 @@ function Qv(e) {
14361
14361
  var k = p(w, E), K = w.processRef;
14362
14362
  K && ne(K, k || E);
14363
14363
  }
14364
- function M(w, E) {
14364
+ function B(w, E) {
14365
14365
  q(w.participants, n(T, E)), t.push(function() {
14366
- P(w.messageFlows, E);
14366
+ D(w.messageFlows, E);
14367
14367
  }), I(w.artifacts, E);
14368
14368
  }
14369
14369
  function H(w) {
@@ -14477,7 +14477,7 @@ var Jv = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width
14477
14477
  lineHeight: "1.3"
14478
14478
  }, Yv = '<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">' + yu + '</a><span>Web-based tooling for BPMN, DMN and forms powered by <a href="https://bpmn.io" target="_blank" rel="noopener">bpmn.io</a>.</span></div></div>', ft;
14479
14479
  function zv() {
14480
- ft = ze(Yv), Be(ft, Hv), Be(xt("svg", ft), vu), Be(xt(".backdrop", ft), Kv), Be(xt(".notice", ft), Wv), Be(xt(".link", ft), Au, {
14480
+ ft = ze(Yv), Me(ft, Hv), Me(xt("svg", ft), vu), Me(xt(".backdrop", ft), Kv), Me(xt(".notice", ft), Wv), Me(xt(".link", ft), Au, {
14481
14481
  margin: "15px 20px 15px 10px",
14482
14482
  alignSelf: "center"
14483
14483
  });
@@ -14593,7 +14593,7 @@ we.prototype.clear = function() {
14593
14593
  !this.getDefinitions() || Wt.prototype.clear.call(this);
14594
14594
  };
14595
14595
  we.prototype.destroy = function() {
14596
- Wt.prototype.destroy.call(this), Di(this._container);
14596
+ Wt.prototype.destroy.call(this), Pi(this._container);
14597
14597
  };
14598
14598
  we.prototype.on = function(e, i, t, s) {
14599
14599
  return this.get("eventBus").on(e, i, t, s);
@@ -14619,7 +14619,7 @@ we.prototype._init = function(e, i, t) {
14619
14619
  bpmnjs: ["value", this],
14620
14620
  moddle: ["value", i]
14621
14621
  }
14622
- ], a = [].concat(r, s, n), o = Y(Pf(t, ["additionalModules"]), {
14622
+ ], a = [].concat(r, s, n), o = Y(Df(t, ["additionalModules"]), {
14623
14623
  canvas: Y({}, t.canvas, { container: e }),
14624
14624
  modules: a
14625
14625
  });
@@ -14630,9 +14630,9 @@ we.prototype._emit = function(e, i) {
14630
14630
  };
14631
14631
  we.prototype._createContainer = function(e) {
14632
14632
  const i = ze('<div class="bjs-container"></div>');
14633
- return Be(i, {
14634
- width: Mo(e.width),
14635
- height: Mo(e.height),
14633
+ return Me(i, {
14634
+ width: Bo(e.width),
14635
+ height: Bo(e.height),
14636
14636
  position: e.position
14637
14637
  }), i;
14638
14638
  };
@@ -14653,7 +14653,7 @@ const $v = {
14653
14653
  height: "100%",
14654
14654
  position: "relative"
14655
14655
  };
14656
- function Mo(e) {
14656
+ function Bo(e) {
14657
14657
  return e + (Vt(e) ? "px" : "");
14658
14658
  }
14659
14659
  function eA(e, i) {
@@ -14663,7 +14663,7 @@ function eA(e, i) {
14663
14663
  }
14664
14664
  function tA(e) {
14665
14665
  const t = '<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >' + yu + "</a>", s = ze(t);
14666
- Be(xt("svg", s), vu), Be(s, Au, {
14666
+ Me(xt("svg", s), vu), Me(s, Au, {
14667
14667
  position: "absolute",
14668
14668
  bottom: "15px",
14669
14669
  right: "15px",
@@ -14678,8 +14678,8 @@ function Ni(e) {
14678
14678
  vt(Ni, we);
14679
14679
  Ni.prototype._modules = [
14680
14680
  fg,
14681
- Bg,
14682
- Mc,
14681
+ Mg,
14682
+ Bc,
14683
14683
  Vg,
14684
14684
  Nc
14685
14685
  ];
@@ -14752,7 +14752,7 @@ bu.$inject = [
14752
14752
  function oA(e) {
14753
14753
  return Math.sqrt(Math.pow(e.x, 2) + Math.pow(e.y, 2));
14754
14754
  }
14755
- const Mn = {
14755
+ const Bn = {
14756
14756
  __init__: ["moveCanvas"],
14757
14757
  moveCanvas: ["type", bu]
14758
14758
  };
@@ -14761,14 +14761,14 @@ function cA(e) {
14761
14761
  var i = ze(
14762
14762
  '<div class="djs-tooltip-container" />'
14763
14763
  );
14764
- return Be(i, {
14764
+ return Me(i, {
14765
14765
  position: "absolute",
14766
14766
  width: "0",
14767
14767
  height: "0"
14768
14768
  }), e.insertBefore(i, e.firstChild), i;
14769
14769
  }
14770
14770
  function uA(e, i, t) {
14771
- Be(e, { left: i + "px", top: t + "px" });
14771
+ Me(e, { left: i + "px", top: t + "px" });
14772
14772
  }
14773
14773
  function aa(e, i) {
14774
14774
  e.style.display = i === !1 ? "none" : "";
@@ -14825,7 +14825,7 @@ Qe.prototype.setTimeout = function(e) {
14825
14825
  };
14826
14826
  Qe.prototype.remove = function(e) {
14827
14827
  var i = this.get(e);
14828
- i && (Di(i.html), Di(i.htmlContainer), delete i.htmlContainer, delete this._tooltips[i.id]);
14828
+ i && (Pi(i.html), Pi(i.htmlContainer), delete i.htmlContainer, delete this._tooltips[i.id]);
14829
14829
  };
14830
14830
  Qe.prototype.show = function() {
14831
14831
  aa(this._tooltipRoot);
@@ -14839,7 +14839,7 @@ Qe.prototype._updateRoot = function(e) {
14839
14839
  };
14840
14840
  Qe.prototype._addTooltip = function(e) {
14841
14841
  var i = e.id, t = e.html, s, n = this._tooltipRoot;
14842
- t.get && t.constructor.prototype.jquery && (t = t.get(0)), ct(t) && (t = ze(t)), s = ze('<div data-tooltip-id="' + i + '" class="' + wu + '">'), Be(s, { position: "absolute" }), s.appendChild(t), e.type && pi(s).add("djs-tooltip-" + e.type), e.className && pi(s).add(e.className), e.htmlContainer = s, n.appendChild(s), this._tooltips[i] = e, this._updateTooltip(e);
14842
+ t.get && t.constructor.prototype.jquery && (t = t.get(0)), ct(t) && (t = ze(t)), s = ze('<div data-tooltip-id="' + i + '" class="' + wu + '">'), Me(s, { position: "absolute" }), s.appendChild(t), e.type && pi(s).add("djs-tooltip-" + e.type), e.className && pi(s).add(e.className), e.htmlContainer = s, n.appendChild(s), this._tooltips[i] = e, this._updateTooltip(e);
14843
14843
  };
14844
14844
  Qe.prototype._updateTooltip = function(e) {
14845
14845
  var i = e.position, t = e.htmlContainer;
@@ -15012,7 +15012,7 @@ const gA = {
15012
15012
  },
15013
15013
  async initViewer() {
15014
15014
  this.viewer && this.viewer.destroy();
15015
- const e = Object.prototype.toString.call(Ni) == "[object Function]" ? Ni : Ni.default, i = Object.prototype.toString.call(Rn) == "[object Object]" ? Rn : Rn.default, t = Object.prototype.toString.call(Mn) == "[object Object]" ? Mn : Mn.default;
15015
+ const e = Object.prototype.toString.call(Ni) == "[object Function]" ? Ni : Ni.default, i = Object.prototype.toString.call(Rn) == "[object Object]" ? Rn : Rn.default, t = Object.prototype.toString.call(Bn) == "[object Object]" ? Bn : Bn.default;
15016
15016
  this.viewer = new e({
15017
15017
  container: this.$refs.container,
15018
15018
  additionalModules: [
@@ -15606,19 +15606,19 @@ var _A = /* @__PURE__ */ ve(
15606
15606
  NA,
15607
15607
  SA,
15608
15608
  !1,
15609
- PA,
15609
+ DA,
15610
15610
  "26dcacc2",
15611
15611
  null,
15612
15612
  null
15613
15613
  );
15614
- function PA(e) {
15614
+ function DA(e) {
15615
15615
  for (let i in Fo)
15616
15616
  this[i] = Fo[i];
15617
15617
  }
15618
15618
  const Gi = /* @__PURE__ */ function() {
15619
15619
  return _A.exports;
15620
15620
  }();
15621
- var DA = function() {
15621
+ var PA = function() {
15622
15622
  var e = this, i = e.$createElement, t = e._self._c || i;
15623
15623
  return t("div", {
15624
15624
  attrs: {
@@ -15676,8 +15676,8 @@ var DA = function() {
15676
15676
  }
15677
15677
  }, [e._v(" \u67E5\u770B\u7B7E\u5B57")]) : e._e()])], 2)];
15678
15678
  })], 2)]);
15679
- }, BA = [];
15680
- const MA = {
15679
+ }, MA = [];
15680
+ const BA = {
15681
15681
  name: "nf-flow",
15682
15682
  components: {
15683
15683
  attchViews: Gi
@@ -15721,9 +15721,9 @@ const MA = {
15721
15721
  }
15722
15722
  }, Vo = {};
15723
15723
  var OA = /* @__PURE__ */ ve(
15724
- MA,
15725
- DA,
15726
15724
  BA,
15725
+ PA,
15726
+ MA,
15727
15727
  !1,
15728
15728
  RA,
15729
15729
  "1641d78e",
@@ -18317,15 +18317,19 @@ const TC = {
18317
18317
  watch: {
18318
18318
  items: {
18319
18319
  handler(e, i) {
18320
- e && e.length && (this.multiNodeParticipant = {}, this.partNode = {}, this.partNodeArr = {}, this.gateVars = {}, this.$emit("onMultiNode", this.multiNodeParticipant), this.$emit("onMultiNodeObj", this.partNodeArr), this.$emit("onVars", this.gateVars), this.nodeItems = JSON.parse(JSON.stringify(e)), this.nodeItems.map((t) => {
18321
- if (t.userTaskModelDTO || (t.userTaskModelDTO = {
18320
+ e && e.length && (this.multiNodeParticipant = {}, this.partNode = {}, this.partNodeArr = {}, this.gateVars = {}, this.nodeItems = JSON.parse(JSON.stringify(e)), console.log("\u8FDB\u6765\u4E86", this.nodeItems), this.nodeItems.map((t) => {
18321
+ if (console.log("v", t, Array.isArray(t.assignees), t.assignees), t.userTaskModelDTO || (t.userTaskModelDTO = {
18322
18322
  name: t.name,
18323
18323
  humanPerformer: {
18324
18324
  name: t.humanPerformerName
18325
18325
  },
18326
18326
  routeTxt: t.routeTxt,
18327
18327
  participantList: t.participantList
18328
- }), t.userTaskModelDTO && t.userTaskModelDTO.participantList && t.userTaskModelDTO.participantList.length && t.userTaskModelDTO.humanPerformer && t.userTaskModelDTO.participantList.map((s) => {
18328
+ }), Array.isArray(t.assignees) && t.assignees.length && (this.multiNodeParticipant[t.id] || (this.multiNodeParticipant[t.id] = []), this.partNodeArr[t.id] || (this.partNodeArr[t.id] = []), t.assignees.forEach((s) => {
18329
+ console.log(this.partNodeArr, this.multiNodeParticipant, s, "\u6D4B\u8BD5");
18330
+ const n = this.partNodeArr[t.id].find((a) => a.name == s.name), r = this.multiNodeParticipant[t.id].find((a) => a == s.id);
18331
+ n || this.partNodeArr[t.id].push(s), r || (this.multiNodeParticipant[t.id].push(s.id), console.log("\u8FDB\u6765\u6765\u7740\u4E86"));
18332
+ })), t.userTaskModelDTO && t.userTaskModelDTO.participantList && t.userTaskModelDTO.participantList.length && t.userTaskModelDTO.humanPerformer && t.userTaskModelDTO.participantList.map((s) => {
18329
18333
  this.multiNodeParticipant[t.id] || (this.multiNodeParticipant[t.id] = []), this.partNode[t.id] || (this.partNode[t.id] = []), this.partNodeArr[t.id] || (this.partNodeArr[t.id] = []), this.multiNodeParticipant[t.id].includes(s.id) || this.multiNodeParticipant[t.id].push(s.id), this.partNode[t.id].includes(s.name) || this.partNode[t.id].push(s.name), this.partNodeArr[t.id].find((n) => n.name == s.name) || this.partNodeArr[t.id].push(s);
18330
18334
  }), (t.userTaskModelDTO.humanPerformer.name == "\u56FA\u5B9A\u8D26\u6237" || t.userTaskModelDTO.humanPerformer.name == "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && this.personMake.push(t.id), t.userTaskModelDTO.humanPerformer.name == "\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D") {
18331
18335
  let s = {
@@ -18362,7 +18366,7 @@ const TC = {
18362
18366
  ).then((s) => {
18363
18367
  s.code == 200 && (this.personMakeList = s.data);
18364
18368
  });
18365
- }), this.checkType == "ExclusiveGatewayModel" && e.length == 1 && this.handleRadioClick(e[0]));
18369
+ }), this.$emit("onMultiNode", this.multiNodeParticipant), this.$emit("onMultiNodeObj", this.partNodeArr), this.$emit("onVars", this.gateVars), this.checkType == "ExclusiveGatewayModel" && e.length == 1 && this.handleRadioClick(e[0]));
18366
18370
  },
18367
18371
  immediate: !0,
18368
18372
  deep: !0
@@ -18534,7 +18538,7 @@ var IC = /* @__PURE__ */ ve(
18534
18538
  xC,
18535
18539
  !1,
18536
18540
  kC,
18537
- "0738b5a2",
18541
+ "79f50d8c",
18538
18542
  null,
18539
18543
  null
18540
18544
  );
@@ -18550,35 +18554,30 @@ var SC = function() {
18550
18554
  return t("div", {
18551
18555
  staticClass: "test"
18552
18556
  }, [e.nodeItems && e.nodeItems.length ? t("div", e._l(e.nodeItems, function(s, n) {
18553
- var r;
18554
18557
  return t("div", {
18555
18558
  key: n,
18556
18559
  staticClass: "treeperson"
18557
- }, [t("pre", [e._v("\u65B0\uFF1A" + e._s(s.nodeInfoDTO ? s.nodeInfoDTO.nodeType : s.nodeType))]), t("pre", [e._v("\u65B0\uFF1A" + e._s(s.nodeType))]), t("pre", [e._v("\u65B0\uFF1A" + e._s((r = s.branches) === null || r === void 0 ? void 0 : r.length))]), t("hr"), s.branches && s.branches.length ? [e.nodeType == "nexting" && s.nodeType != "inclusiveGateway" ? [s.nodeType == "exclusiveGateway" && s.branches.length > 1 ? t("div", {
18560
+ }, [s.branches && s.branches.length ? [e.nodeType == "nexting" && s.nodeType != "inclusiveGateway" ? [s.nodeType == "exclusiveGateway" && s.branches.length > 1 ? t("div", {
18558
18561
  staticClass: "treeperson-firstnode"
18559
- }, [t("div", {
18560
- staticClass: "treeperson-title"
18561
- }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B91\uFF1A" + e._s(e.nodeType) + " "), t("span", {
18562
- staticClass: "treeperson-title--re"
18563
- }, [e._v("*")])]), t("pre", [e._v(e._s(s.nodeType))]), e._l(s.branches, function(a, o) {
18562
+ }, [e._m(0, !0), e._l(s.branches, function(r, a) {
18564
18563
  return t("div", {
18565
- key: o,
18564
+ key: a,
18566
18565
  staticClass: "treeperson-radio",
18567
- class: e.firstCheck == (a.nodeInfoDTO ? a.nodeInfoDTO.id : a.id) ? "treeperson-radio-active" : "",
18566
+ class: e.firstCheck == (r.nodeInfoDTO ? r.nodeInfoDTO.id : r.id) ? "treeperson-radio-active" : "",
18568
18567
  on: {
18569
- click: function(l) {
18570
- return e.handleFirstNodeClick(a, s.branches);
18568
+ click: function(o) {
18569
+ return e.handleFirstNodeClick(r, s.branches);
18571
18570
  }
18572
18571
  }
18573
- }, [t("span"), e._v(" " + e._s(a.id.includes("Flow") ? a.nodeName || a.name : a.nodeInfoDTO ? a.nodeInfoDTO.nodeName || a.nodeInfoDTO.name || a.nodeName || a.name : a.nodeName || a.name) + " ")]);
18572
+ }, [t("span"), e._v(" " + e._s(r.id.includes("Flow") ? r.nodeName || r.name ? r.nodeName || r.name : r.nodeInfoDTO ? r.nodeInfoDTO.nodeName || r.nodeInfoDTO.name : "" : r.nodeInfoDTO ? r.nodeInfoDTO.nodeName || r.nodeInfoDTO.name || r.nodeName || r.name : r.nodeName || r.name) + " ")]);
18574
18573
  })], 2) : s.nodeType == "exclusiveGateway" && s.branches.length == 1 ? t("div", {
18575
18574
  staticClass: "treeperson-firstnode"
18576
- }, [t("pre", [e._v("\u7B2C\u4E8C\u79CD\u60C5\u51B5\uFF1A" + e._s(s.nodeType))]), e._l(s.branches, function(a, o) {
18575
+ }, e._l(s.branches, function(r, a) {
18577
18576
  return t("div", [t("span"), t("TreePerson", {
18578
18577
  ref: "TreePersonRef",
18579
18578
  refInFor: !0,
18580
18579
  attrs: {
18581
- items: a.branches && a.branches.length > 0 ? a.branches : [a],
18580
+ items: r.branches && r.branches.length > 0 ? r.branches : [r],
18582
18581
  nodeType: "nexting",
18583
18582
  param: e.param
18584
18583
  },
@@ -18587,41 +18586,33 @@ var SC = function() {
18587
18586
  onMultiNodeObj: e.onMultiNodeObj
18588
18587
  }
18589
18588
  })], 1);
18590
- })], 2) : s.nodeType == "inclusiveGateway" && s.branches.length >= 1 ? t("div", {
18589
+ }), 0) : s.nodeType == "inclusiveGateway" && s.branches.length >= 1 ? t("div", {
18591
18590
  staticClass: "treeperson-firstnode"
18592
- }, [t("div", {
18593
- staticClass: "treeperson-title"
18594
- }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B91-2\uFF1A" + e._s(e.nodeType) + " "), t("span", {
18595
- staticClass: "treeperson-title--re"
18596
- }, [e._v("*")])]), t("pre", [e._v(e._s(s.nodeType))]), e._l(s.branches, function(a, o) {
18591
+ }, [e._m(1, !0), e._l(s.branches, function(r, a) {
18597
18592
  return t("div", {
18598
- key: o,
18593
+ key: a,
18599
18594
  staticClass: "treeperson-radio",
18600
- class: e.firstCheck == (a.nodeInfoDTO ? a.nodeInfoDTO.id : a.id) ? "treeperson-radio-active" : "",
18595
+ class: e.firstCheck == (r.nodeInfoDTO ? r.nodeInfoDTO.id : r.id) ? "treeperson-radio-active" : "",
18601
18596
  on: {
18602
- click: function(l) {
18603
- return e.handleMultiFirstNodeClick(a);
18597
+ click: function(o) {
18598
+ return e.handleMultiFirstNodeClick(r);
18604
18599
  }
18605
18600
  }
18606
- }, [t("span"), e._v(" " + e._s(a.nodeInfoDTO ? a.nodeInfoDTO.nodeName || a.nodeInfoDTO.name : a.nodeName || a.name) + " ")]);
18601
+ }, [t("span"), e._v(" " + e._s(r.nodeInfoDTO ? r.nodeInfoDTO.nodeName || r.nodeInfoDTO.name : r.nodeName || r.name) + " ")]);
18607
18602
  })], 2) : t("div", {
18608
18603
  staticClass: "treeperson-firstnode"
18609
- }, [t("div", {
18610
- staticClass: "treeperson-title"
18611
- }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B91-3\uFF1A" + e._s(e.nodeType) + " "), t("span", {
18612
- staticClass: "treeperson-title--re"
18613
- }, [e._v("*")])]), t("pre", [e._v(e._s(s.nodeType))]), e._l(s.branches, function(a, o) {
18604
+ }, [e._m(2, !0), e._l(s.branches, function(r, a) {
18614
18605
  return t("div", {
18615
- key: o,
18606
+ key: a,
18616
18607
  staticClass: "treeperson-radio",
18617
- class: e.firstCheck == (a.nodeInfoDTO ? a.nodeInfoDTO.id : a.id) ? "treeperson-radio-active" : "",
18608
+ class: e.firstCheck == (r.nodeInfoDTO ? r.nodeInfoDTO.id : r.id) ? "treeperson-radio-active" : "",
18618
18609
  on: {
18619
- click: function(l) {
18620
- return e.handleFirstNodeClick(a, s.branches);
18610
+ click: function(o) {
18611
+ return e.handleFirstNodeClick(r, s.branches);
18621
18612
  }
18622
18613
  }
18623
- }, [t("span"), e._v(" " + e._s(a.nodeInfoDTO ? a.nodeInfoDTO.nodeName || a.nodeInfoDTO.name : a.nodeName || a.name) + " ")]);
18624
- })], 2), t("div", [e._v(e._s(JSON.stringify(e.childrenItems, null, 2)))]), e.childrenItems && e.childrenItems.length > 0 && e.childrenItems[0].nodeInfoDTO && e.childrenItems[0].nodeInfoDTO.nodeType != "userTask" ? [t("TreePerson", {
18614
+ }, [t("span"), e._v(" " + e._s(r.nodeInfoDTO ? r.nodeInfoDTO.nodeName || r.nodeInfoDTO.name : r.nodeName || r.name) + " ")]);
18615
+ })], 2), e.childrenItems && e.childrenItems.length > 0 && e.childrenItems[0].nodeInfoDTO && e.childrenItems[0].nodeInfoDTO.nodeType != "userTask" ? [t("TreePerson", {
18625
18616
  key: e.firstCheck,
18626
18617
  ref: "TreePersonRef",
18627
18618
  refInFor: !0,
@@ -18634,6 +18625,36 @@ var SC = function() {
18634
18625
  onMultiNode: e.onMultiNode,
18635
18626
  onMultiNodeObj: e.onMultiNodeObj
18636
18627
  }
18628
+ })] : e.childrenItems && e.childrenItems.length > 1 && e.childrenItems[0].nodeInfoDTO && e.childrenItems[0].nodeInfoDTO.nodeType == "userTask" ? [e._m(3, !0), t("div", {
18629
+ staticClass: "treeperson-checkbox-box"
18630
+ }, e._l(e.childrenItems, function(r, a) {
18631
+ return t("div", {
18632
+ key: a,
18633
+ staticClass: "treeperson-checkbox",
18634
+ class: e.firstMultiCheckSub.includes(r.nodeInfoDTO ? r.nodeInfoDTO.id : r.id) ? "treeperson-checkbox-active" : "",
18635
+ on: {
18636
+ click: function(o) {
18637
+ return e.handleMultiFirstNodeClickSub(r, e.childrenItems);
18638
+ }
18639
+ }
18640
+ }, [t("span"), e._v(" " + e._s(r.nodeInfoDTO ? r.nodeInfoDTO.nodeName || r.nodeInfoDTO.name : r.nodeName || r.name) + " ")]);
18641
+ }), 0), e._l(e.filterMultiItemsSub(e.childrenItems), function(r) {
18642
+ return [t("TreeNode", {
18643
+ attrs: {
18644
+ items: r.branches && r.branches.length > 0 ? r.branches : [r.nodeInfoDTO ? r.nodeInfoDTO : r],
18645
+ endNode: !0,
18646
+ nodeType: e.nodeType,
18647
+ param: e.param,
18648
+ checkType: e.firstType
18649
+ },
18650
+ on: {
18651
+ onMultiNode: function(a) {
18652
+ return e.onMultiNode(a, "multi");
18653
+ },
18654
+ onMultiNodeObj: e.onMultiNodeObj,
18655
+ onVars: e.onVars
18656
+ }
18657
+ })];
18637
18658
  })] : [t("TreeNode", {
18638
18659
  attrs: {
18639
18660
  items: e.childrenItems,
@@ -18649,49 +18670,49 @@ var SC = function() {
18649
18670
  }
18650
18671
  })]] : e.nodeType == "nexting" && s.nodeType == "inclusiveGateway" ? [s.nodeType == "inclusiveGateway" && s.branches.length >= 1 ? t("div", {
18651
18672
  staticClass: "treeperson-firstnode"
18652
- }, [t("div", {
18653
- staticClass: "treeperson-title"
18654
- }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B91-2-2\uFF1A" + e._s(e.nodeType) + " "), t("span", {
18655
- staticClass: "treeperson-title--re"
18656
- }, [e._v("*")])]), t("pre", [e._v(e._s(s.nodeType))]), e._l(s.branches, function(a, o) {
18673
+ }, [e._m(4, !0), t("div", {
18674
+ staticClass: "treeperson-checkbox-box"
18675
+ }, e._l(s.branches, function(r, a) {
18657
18676
  return t("div", {
18658
- key: o,
18677
+ key: a,
18659
18678
  staticClass: "treeperson-checkbox",
18660
- class: e.firstMultiCheck.includes(a.nodeInfoDTO ? a.nodeInfoDTO.id : a.id) ? "treeperson-checkbox-active" : "",
18679
+ class: e.firstMultiCheck.includes(r.nodeInfoDTO ? r.nodeInfoDTO.id : r.id) ? "treeperson-checkbox-active" : "",
18661
18680
  on: {
18662
- click: function(l) {
18663
- return e.handleMultiFirstNodeClick(a, s.branches);
18681
+ click: function(o) {
18682
+ return e.handleMultiFirstNodeClick(r, s.branches);
18664
18683
  }
18665
18684
  }
18666
- }, [t("span"), e._v(" " + e._s(a.nodeInfoDTO ? a.nodeInfoDTO.nodeName || a.nodeInfoDTO.name : a.nodeName || a.name) + " ")]);
18667
- })], 2) : e._e(), e._l(e.filterMultiItems(s.branches), function(a) {
18685
+ }, [t("span"), e._v(" " + e._s(r.nodeInfoDTO ? r.nodeInfoDTO.nodeName || r.nodeInfoDTO.name : r.nodeName || r.name) + " ")]);
18686
+ }), 0)]) : e._e(), e._l(e.filterMultiItems(s.branches), function(r) {
18668
18687
  return [t("TreeNode", {
18669
18688
  attrs: {
18670
- items: a.branches && a.branches.length > 0 ? a.branches : [a.nodeInfoDTO ? a.nodeInfoDTO : a],
18689
+ items: r.branches && r.branches.length > 0 ? r.branches : [r.nodeInfoDTO ? r.nodeInfoDTO : r],
18671
18690
  endNode: !0,
18672
18691
  nodeType: e.nodeType,
18673
18692
  param: e.param,
18674
18693
  checkType: e.firstType
18675
18694
  },
18676
18695
  on: {
18677
- onMultiNode: e.onMultiNode,
18696
+ onMultiNode: function(a) {
18697
+ return e.onMultiNode(a, "multi");
18698
+ },
18678
18699
  onMultiNodeObj: e.onMultiNodeObj,
18679
18700
  onVars: e.onVars
18680
18701
  }
18681
18702
  })];
18682
- })] : e._e()] : s.nodeType == "exclusiveGateway" && s.branches && s.branches.length > 1 ? [e._m(0, !0), s.type == "ExclusiveGatewayModel" && s.branches.length == 1 ? e._e() : t("div", {
18703
+ })] : e._e()] : s.nodeType == "exclusiveGateway" && s.branches && s.branches.length > 1 ? [e._m(5, !0), s.type == "ExclusiveGatewayModel" && s.branches.length == 1 ? e._e() : t("div", {
18683
18704
  staticClass: "treeperson-firstnode"
18684
- }, e._l(s.branches, function(a, o) {
18705
+ }, e._l(s.branches, function(r, a) {
18685
18706
  return t("div", {
18686
- key: o,
18707
+ key: a,
18687
18708
  staticClass: "treeperson-checkbox",
18688
- class: e.firstCheck == a.id ? "treeperson-checkbox-active" : "",
18709
+ class: e.firstCheck == r.id ? "treeperson-checkbox-active" : "",
18689
18710
  on: {
18690
- click: function(l) {
18691
- return e.handleFirstNodeClick(a, s.branches);
18711
+ click: function(o) {
18712
+ return e.handleFirstNodeClick(r, s.branches);
18692
18713
  }
18693
18714
  }
18694
- }, [t("span"), e._v(" " + e._s(a.nodeName || a.name) + " ")]);
18715
+ }, [t("span"), e._v(" " + e._s(r.nodeName || r.name) + " ")]);
18695
18716
  }), 0), t("TreeNode", {
18696
18717
  attrs: {
18697
18718
  items: e.childrenItems,
@@ -18701,11 +18722,13 @@ var SC = function() {
18701
18722
  checkType: e.firstType
18702
18723
  },
18703
18724
  on: {
18704
- onMultiNode: e.onMultiNode,
18725
+ onMultiNode: function(r) {
18726
+ return e.onMultiNode(r, "multi");
18727
+ },
18705
18728
  onMultiNodeObj: e.onMultiNodeObj,
18706
18729
  onVars: e.onVars
18707
18730
  }
18708
- })] : s.nodeType == "exclusiveGateway" && s.branches && s.branches.length == 1 ? [e._m(1, !0), e.nodeType == "nexting" ? [t("TreeNode", {
18731
+ })] : s.nodeType == "exclusiveGateway" && s.branches && s.branches.length == 1 ? [e._m(6, !0), e.nodeType == "nexting" ? [t("TreeNode", {
18709
18732
  attrs: {
18710
18733
  items: [s.branches[0]],
18711
18734
  endNode: e.childrenEndItems,
@@ -18731,22 +18754,18 @@ var SC = function() {
18731
18754
  onMultiNodeObj: e.onMultiNodeObj,
18732
18755
  onVars: e.onVars
18733
18756
  }
18734
- })]] : [e.nodeType == "nexting" ? [t("pre", [e._v("\u4E0A\uFF1A" + e._s(s.nodeInfoDTO ? s.nodeInfoDTO.nodeType : s.nodeType))]), s.nodeInfoDTO && s.nodeInfoDTO.nodeType == "exclusiveGateway" ? [t("div", {
18735
- staticClass: "treeperson-title"
18736
- }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B95\uFF1A" + e._s(e.nodeType) + " "), t("span", {
18737
- staticClass: "treeperson-title--re"
18738
- }, [e._v("*")])]), e._l(s.nodeInfoDTO.branches, function(a, o) {
18757
+ })]] : s.id || s.nodeInfoDTO && s.nodeInfoDTO.id ? [e.nodeType == "nexting" ? [s.nodeInfoDTO && s.nodeInfoDTO.nodeType == "exclusiveGateway" ? [e._m(7, !0), e._l(s.nodeInfoDTO.branches, function(r, a) {
18739
18758
  return t("div", {
18740
- key: o,
18759
+ key: a,
18741
18760
  staticClass: "treeperson-radio",
18742
- class: e.firstCheck == (a.nodeInfoDTO ? a.nodeInfoDTO.id : a.id) ? "treeperson-radio-active" : "",
18761
+ class: e.firstCheck == (r.nodeInfoDTO ? r.nodeInfoDTO.id : r.id) ? "treeperson-radio-active" : "",
18743
18762
  on: {
18744
- click: function(l) {
18745
- return e.handleFirstNodeClick(a, s.nodeInfoDTO.branches);
18763
+ click: function(o) {
18764
+ return e.handleFirstNodeClick(r, s.nodeInfoDTO.branches);
18746
18765
  }
18747
18766
  }
18748
- }, [t("span"), e._v(" " + e._s(a.nodeName || a.name) + " ")]);
18749
- }), t("pre", [e._v("firstCheckItem: " + e._s(JSON.stringify(e.firstCheckItem, null, 2)))]), t("TreePerson", {
18767
+ }, [t("span"), e._v(" " + e._s(r.nodeName || r.name) + " ")]);
18768
+ }), t("TreePerson", {
18750
18769
  key: e.firstCheck,
18751
18770
  ref: "TreePersonRef",
18752
18771
  refInFor: !0,
@@ -18759,11 +18778,7 @@ var SC = function() {
18759
18778
  onMultiNode: e.onMultiNode,
18760
18779
  onMultiNodeObj: e.onMultiNodeObj
18761
18780
  }
18762
- })] : [t("div", {
18763
- staticClass: "treeperson-title"
18764
- }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B94\uFF1A" + e._s(e.nodeType) + " "), t("span", {
18765
- staticClass: "treeperson-title--re"
18766
- }, [e._v("*")])]), t("pre", [e._v(e._s(JSON.stringify(s, null, 2)))]), t("TreeNode", {
18781
+ })] : [e._m(8, !0), t("TreeNode", {
18767
18782
  attrs: {
18768
18783
  items: [s.nodeInfoDTO ? s.nodeInfoDTO : s],
18769
18784
  endNode: e.childrenEndItems,
@@ -18789,24 +18804,73 @@ var SC = function() {
18789
18804
  onMultiNodeObj: e.onMultiNodeObj,
18790
18805
  onVars: e.onVars
18791
18806
  }
18792
- })]]], 2);
18807
+ })]] : void 0], 2);
18793
18808
  }), 0) : e._e()]);
18794
18809
  }, _C = [function() {
18795
18810
  var e = this, i = e.$createElement, t = e._self._c || i;
18796
18811
  return t("div", {
18797
18812
  staticClass: "treeperson-title"
18798
- }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B92 "), t("span", {
18813
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18799
18814
  staticClass: "treeperson-title--re"
18800
18815
  }, [e._v("*")])]);
18801
18816
  }, function() {
18802
18817
  var e = this, i = e.$createElement, t = e._self._c || i;
18803
18818
  return t("div", {
18804
18819
  staticClass: "treeperson-title"
18805
- }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B93 "), t("span", {
18820
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18821
+ staticClass: "treeperson-title--re"
18822
+ }, [e._v("*")])]);
18823
+ }, function() {
18824
+ var e = this, i = e.$createElement, t = e._self._c || i;
18825
+ return t("div", {
18826
+ staticClass: "treeperson-title"
18827
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18828
+ staticClass: "treeperson-title--re"
18829
+ }, [e._v("*")])]);
18830
+ }, function() {
18831
+ var e = this, i = e.$createElement, t = e._self._c || i;
18832
+ return t("div", {
18833
+ staticClass: "treeperson-title"
18834
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18835
+ staticClass: "treeperson-title--re"
18836
+ }, [e._v("*")])]);
18837
+ }, function() {
18838
+ var e = this, i = e.$createElement, t = e._self._c || i;
18839
+ return t("div", {
18840
+ staticClass: "treeperson-title"
18841
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18842
+ staticClass: "treeperson-title--re"
18843
+ }, [e._v("*")])]);
18844
+ }, function() {
18845
+ var e = this, i = e.$createElement, t = e._self._c || i;
18846
+ return t("div", {
18847
+ staticClass: "treeperson-title"
18848
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18849
+ staticClass: "treeperson-title--re"
18850
+ }, [e._v("*")])]);
18851
+ }, function() {
18852
+ var e = this, i = e.$createElement, t = e._self._c || i;
18853
+ return t("div", {
18854
+ staticClass: "treeperson-title"
18855
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18856
+ staticClass: "treeperson-title--re"
18857
+ }, [e._v("*")])]);
18858
+ }, function() {
18859
+ var e = this, i = e.$createElement, t = e._self._c || i;
18860
+ return t("div", {
18861
+ staticClass: "treeperson-title"
18862
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18863
+ staticClass: "treeperson-title--re"
18864
+ }, [e._v("*")])]);
18865
+ }, function() {
18866
+ var e = this, i = e.$createElement, t = e._self._c || i;
18867
+ return t("div", {
18868
+ staticClass: "treeperson-title"
18869
+ }, [e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "), t("span", {
18806
18870
  staticClass: "treeperson-title--re"
18807
18871
  }, [e._v("*")])]);
18808
18872
  }];
18809
- const PC = {
18873
+ const DC = {
18810
18874
  name: "tree-person",
18811
18875
  components: {
18812
18876
  TreeNode: NC
@@ -18838,10 +18902,15 @@ const PC = {
18838
18902
  firstMultiCheck: [],
18839
18903
  firstMultiCheckItem: [],
18840
18904
  firstMultiType: [],
18905
+ firstMultiCheckSub: [],
18906
+ firstMultiCheckItemSub: [],
18907
+ firstMultiTypeSub: [],
18841
18908
  childrenItems: [],
18842
18909
  childrenEndItems: !1,
18910
+ childrenItemsSub: [],
18911
+ childrenEndItemsSub: !1,
18843
18912
  gateVars: {},
18844
- multiNode: [],
18913
+ multiNode: {},
18845
18914
  partNodeArr: {},
18846
18915
  getVars: {}
18847
18916
  };
@@ -18864,8 +18933,13 @@ const PC = {
18864
18933
  filterMultiItems(e = []) {
18865
18934
  return console.log(e, this.firstMultiCheck, "originItems"), e.filter((i) => this.firstMultiCheck.includes(i.nodeInfoDTO ? i.nodeInfoDTO.id : i.id));
18866
18935
  },
18867
- onMultiNode(e) {
18868
- this.multiNode = e, this.$emit("onMultiNode", this.multiNode);
18936
+ filterMultiItemsSub(e = []) {
18937
+ return console.log(e, this.firstMultiCheckSub, "originItems"), e.filter((i) => this.firstMultiCheckSub.includes(i.nodeInfoDTO ? i.nodeInfoDTO.id : i.id));
18938
+ },
18939
+ onMultiNode(e, i = "") {
18940
+ console.log(e, "onMultiNode"), i && Object.prototype.toString.call(e) == "[object Object]" ? Object.prototype.toString.call(this.multiNode) == "[object Object]" ? Object.keys(e).forEach((t) => {
18941
+ e[t] || (e[t] = [""]), e[t] && e[t].length >= 1 ? this.multiNode[t] = e[t].filter((s) => s) : this.multiNode[t] = e[t];
18942
+ }) : this.multiNode = e : this.multiNode = e, console.error(JSON.parse(JSON.stringify(e)), "onMultiNode \u8282\u70B9\u4FEE\u6539", JSON.parse(JSON.stringify(this.multiNode))), this.$emit("onMultiNode", this.multiNode);
18869
18943
  },
18870
18944
  onMultiNodeObj(e) {
18871
18945
  this.partNodeArr = e, this.$emit("onMultiNodeObj", this.partNodeArr);
@@ -18893,7 +18967,25 @@ const PC = {
18893
18967
  t.branches && t.branches.length ? (this.childrenItems = t.branches, this.childrenEndItems = !1) : (this.childrenItems = [t], this.childrenEndItems = !0), console.error("\u4FEE\u6539\u503C", this.param.selChildrenItems, i), i.forEach((n) => {
18894
18968
  delete this.param.selChildrenItems[n.id], this.param.selChildrenItems[t.id] = (this.childrenItems || []).map((r) => r.nodeInfoDTO || r);
18895
18969
  }), this.gateVars = {}, s.forEach((n) => {
18896
- (!this.param || !this.param.vars) && (this.param.vars = {}), this.param.vars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue, this.gateVars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue;
18970
+ (!this.param || !this.param.vars) && (this.param.vars = {}), Array.isArray(n.incomingConditionItemList) && n.incomingConditionItemList.length > 0 && (this.param.vars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue, this.gateVars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue);
18971
+ });
18972
+ }
18973
+ },
18974
+ handleMultiFirstNodeClickSub(e, i = []) {
18975
+ let t = e;
18976
+ if (console.error(t, "\u70B9\u51FB\u8282\u70B9", i, this.childrenItemsSub), t && t.nodeInfoDTO && (t = t.nodeInfoDTO), this.firstMultiCheckSub.includes(t.id)) {
18977
+ this.firstMultiCheckSub = this.firstMultiCheckSub.filter((s) => s != t.id), this.firstMultiCheckItemSub = this.firstMultiCheckItemSub.filter((s) => s.id != t.id), this.firstMultiTypeSub = this.firstMultiTypeSub.filter((s) => s != t.nodeType), this.childrenItemsSub = this.childrenItemsSub.filter((s) => s.id != t.id), i.forEach((s) => {
18978
+ delete this.param.selChildrenItems[s.nodeInfoDTO ? s.nodeInfoDTO.id : s.id];
18979
+ }), delete this.param.selChildrenItems[t.id];
18980
+ return;
18981
+ }
18982
+ if (t) {
18983
+ this.firstMultiCheckSub.push(t.id), this.firstMultiCheckItemSub.push(t), this.firstMultiTypeSub.push(t.nodeType);
18984
+ let s = [t];
18985
+ t.branches && t.branches.length ? (this.childrenItemsSub.push(t.branches), this.childrenEndItemsSub = !1) : (this.childrenItemsSub.push(t), this.childrenEndItemsSub = !0), console.error("\u4FEE\u6539\u503C", this.param.selChildrenItems, i), i.forEach((n) => {
18986
+ delete this.param.selChildrenItems[n.nodeInfoDTO ? n.nodeInfoDTO.id : n.id], this.param.selChildrenItems[t.id] = (this.childrenItemsSub || []).map((r) => r.nodeInfoDTO || r);
18987
+ }), this.gateVars = {}, s.forEach((n) => {
18988
+ (!this.param || !this.param.vars) && (this.param.vars = {}), Array.isArray(n.incomingConditionItemList) && n.incomingConditionItemList.length > 0 && (this.param.vars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue, this.gateVars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue);
18897
18989
  });
18898
18990
  }
18899
18991
  },
@@ -18908,28 +19000,28 @@ const PC = {
18908
19000
  delete this.param.selChildrenItems[a.id];
18909
19001
  }), delete this.param.selChildrenItems[n.nodeInfoDTO ? n.nodeInfoDTO.id : n.id], this.param.selChildrenItems[t.id] = (this.childrenItems || []).map((a) => a.nodeInfoDTO || a);
18910
19002
  }), this.gateVars = {}, s.forEach((n) => {
18911
- (!this.param || !this.param.vars) && (this.param.vars = {}), this.param.vars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue, this.gateVars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue;
19003
+ (!this.param || !this.param.vars) && (this.param.vars = {}), Array.isArray(n.incomingConditionItemList) && n.incomingConditionItemList.length > 0 && (this.param.vars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue, this.gateVars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue);
18912
19004
  });
18913
19005
  }
18914
19006
  }
18915
19007
  }
18916
19008
  }, Ko = {};
18917
- var DC = /* @__PURE__ */ ve(
18918
- PC,
19009
+ var PC = /* @__PURE__ */ ve(
19010
+ DC,
18919
19011
  SC,
18920
19012
  _C,
18921
19013
  !1,
18922
- BC,
18923
- "5fdef7a4",
19014
+ MC,
19015
+ "7ad99747",
18924
19016
  null,
18925
19017
  null
18926
19018
  );
18927
- function BC(e) {
19019
+ function MC(e) {
18928
19020
  for (let i in Ko)
18929
19021
  this[i] = Ko[i];
18930
19022
  }
18931
- const MC = /* @__PURE__ */ function() {
18932
- return DC.exports;
19023
+ const BC = /* @__PURE__ */ function() {
19024
+ return PC.exports;
18933
19025
  }();
18934
19026
  var OC = function() {
18935
19027
  var e = this, i = e.$createElement, t = e._self._c || i;
@@ -19628,7 +19720,7 @@ const WC = {
19628
19720
  TopPopup: nt,
19629
19721
  departPerson: qt,
19630
19722
  MsgList: As,
19631
- TreePerson: MC,
19723
+ TreePerson: BC,
19632
19724
  TopSign: JC,
19633
19725
  signDrawer: Iu
19634
19726
  },
@@ -19654,13 +19746,17 @@ const WC = {
19654
19746
  let s = "";
19655
19747
  const n = i.every((r) => {
19656
19748
  console.log(r, "item");
19657
- const a = this.multiNodeParticipant[r.id] && this.multiNodeParticipant[r.id].length > 0;
19658
- return a || (s = r), console.log(a, "v"), a;
19749
+ let a = this.multiNodeParticipant[r.id];
19750
+ a = (a || []).filter((l) => l);
19751
+ const o = a && a.length > 0;
19752
+ return o || (s = r), console.log(o, "v"), o;
19659
19753
  });
19660
19754
  return console.log(n, "hasV", s), n ? !1 : s.name;
19661
19755
  } else if (this.nextNodeData[0].nodeType == "exclusiveGateway" && this.nextNodeData[0].branches && this.nextNodeData[0].branches.length == 1) {
19662
19756
  const s = this.findUserTaskNode(this.nextNodeData[0].branches[0]);
19663
- return console.log(this.nextNodeData[0].branches[0], s, "nbnNode"), this.multiNodeParticipant[s.id] && this.multiNodeParticipant[s.id].length > 0 ? !1 : s.name;
19757
+ let n = (this.multiNodeParticipant[s.id] || []).filter((a) => a);
19758
+ const r = n && n.length > 0;
19759
+ return console.log(this.nextNodeData[0].branches[0], s, "nbnNode", r), r ? !1 : s.name;
19664
19760
  } else if (this.nextNodeData[0].nodeType == "exclusiveGateway" && this.nextNodeData[0].branches && this.nextNodeData[0].branches.length > 1) {
19665
19761
  const s = this.$refs.TreePersonRef.childrenItems || null;
19666
19762
  if (s && s.length > 0) {
@@ -19671,14 +19767,18 @@ const WC = {
19671
19767
  }) ? !1 : n.name;
19672
19768
  } else
19673
19769
  return this.pureTip = !0, "\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9";
19770
+ } else if (this.nextNodeData[0].nodeType == "userTask") {
19771
+ let s = (this.multiNodeParticipant[this.nextNodeData[0].id] || []).filter((n) => n);
19772
+ return s && s.length > 0 ? !1 : this.nextNodeData[0].name;
19674
19773
  }
19675
- }
19774
+ } else
19775
+ return !1;
19676
19776
  if (this.nextNodeData.length == 1 && this.nextNodeData[0].userTaskModelDTO && this.taskNode && this.taskNode.length > 0 && this.taskNode[0].taskState != 4 && this.taskNode[0].taskState != 11) {
19677
19777
  let e = this.nextNodeData[0].userTaskModelDTO.humanPerformer.name;
19678
19778
  if (e != "\u56FA\u5B9A\u8D26\u6237" && e != "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" && JSON.stringify(this.multiNodeParticipant) == "{}")
19679
19779
  return this.nextNodeData[0].userTaskModelDTO.name;
19680
19780
  }
19681
- return !0;
19781
+ return console.error("\u8FD4\u56DEtrue"), this.pureTip = !0, "\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9";
19682
19782
  },
19683
19783
  signRequired() {
19684
19784
  return !!this.param.extendedProperties.find((i) => i.name == "signature");
@@ -19957,7 +20057,7 @@ const WC = {
19957
20057
  }
19958
20058
  }
19959
20059
  } else {
19960
- if (this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
20060
+ if (console.error(this.multiNodeParticipant, "\u6D4B\u8BD5 multiNodeParticipant \u7A7A\u503C\u60C5\u51B5"), this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
19961
20061
  this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
19962
20062
  return;
19963
20063
  }
@@ -19978,7 +20078,19 @@ const WC = {
19978
20078
  t.setPersonnel ? i = t.assignees : i = (this.partNodeArr[t.id] || []).map((s) => ({
19979
20079
  id: s.id,
19980
20080
  name: s.name
19981
- })), await this.param.request.post("/bladex/blade-workflow/tis/complete", {
20081
+ })), Object.keys(e).forEach((s) => {
20082
+ (!e[s] || Array.isArray(e[s]) && e[s].length <= 0) && delete e[s];
20083
+ }), Date.now() && console.log("\u63D0\u4EA4\u6570\u636E", {
20084
+ pass: !0,
20085
+ assignees: i,
20086
+ processInstanceId: this.param.processInstId,
20087
+ actionName: this.param.actionComplete,
20088
+ commentMsg: this.commentMsg,
20089
+ taskId: this.param.taskInstId,
20090
+ vars: this.param.vars || this.gateVars,
20091
+ multiNodeParticipant: e,
20092
+ attachment: this.attchLists
20093
+ }), await this.param.request.post("/bladex/blade-workflow/tis/complete", {
19982
20094
  pass: !0,
19983
20095
  assignees: i,
19984
20096
  processInstanceId: this.param.processInstId,
@@ -20139,7 +20251,7 @@ var YC = /* @__PURE__ */ ve(
20139
20251
  KC,
20140
20252
  !1,
20141
20253
  zC,
20142
- "403a77b8",
20254
+ "41966981",
20143
20255
  null,
20144
20256
  null
20145
20257
  );
@@ -21329,6 +21441,7 @@ const Cb = /* @__PURE__ */ function() {
21329
21441
  trackUrl: "",
21330
21442
  taskCommentList: [],
21331
21443
  operationCom: null,
21444
+ operationComKey: Date.now(),
21332
21445
  ProcessInsObj: {
21333
21446
  button: [],
21334
21447
  flow: [],
@@ -21727,7 +21840,7 @@ const Cb = /* @__PURE__ */ function() {
21727
21840
  }) : this.$refs.topTips.handleClose();
21728
21841
  },
21729
21842
  async showOperation(e, i, t, s, n) {
21730
- switch (this.beforeFunction && (this.operationParam.beforeFunction = this.beforeFunction), console.error(this.request, "requ"), this.operationParam.request = this.request, this.annexlabel = s || "fasdfsafdsa", this.titleText = i, this.operationCom = e, this.operationParam.selChildrenItems = {}, this.operationParam.annex = s || "fasdfsafdsa", this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = (this.ProcessInsObj.process || {}).taskId || "", this.operationParam.variables = (this.ProcessInsObj.process || {}).variables || {}, this.operationParam.extendedProperties = (this.ProcessInsObj.form || {}).extendedProperties || [], this.operationParam.actionName = i, this.operationParam.formData = this.formData, this.operationParam.ProcessInsObj = this.ProcessInsObj, this.operationParam.userInfo = this.user, console.log(this.nextTaskNode, "CES SHUJU"), this.operationParam.nextNodeData = (this.nextTaskNode || {}).id ? [this.nextTaskNode] : [], this.operationParam.incomingConditionItemList = this.incomingConditionItemList, this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction, this.operationParam.isDocument = this.isDocument, this.operationParam.isQuickReply = this.isQuickReply, this.operationParam.isMsg = this.isMsg, this.operationParam.isRequire = this.isRequire, this.operationParam.canCheck = this.canCheck, this.operationParam.isCheckType = this.isCheckType, this.operationParam.isOrgType = this.isOrgType, this.operationParam.isCodeType = this.isCodeType, console.log(n, "type"), n) {
21843
+ switch (this.beforeFunction && (this.operationParam.beforeFunction = this.beforeFunction), console.error(this.request, "requ"), this.operationParam.request = this.request, this.annexlabel = s || "fasdfsafdsa", this.titleText = i, this.operationCom = e, this.operationComKey = Date.now(), this.operationParam.selChildrenItems = {}, this.operationParam.annex = s || "fasdfsafdsa", this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = (this.ProcessInsObj.process || {}).taskId || "", this.operationParam.variables = (this.ProcessInsObj.process || {}).variables || {}, this.operationParam.extendedProperties = (this.ProcessInsObj.form || {}).extendedProperties || [], this.operationParam.actionName = i, this.operationParam.formData = this.formData, this.operationParam.ProcessInsObj = this.ProcessInsObj, this.operationParam.userInfo = this.user, console.log(this.nextTaskNode, "CES SHUJU"), this.operationParam.nextNodeData = (this.nextTaskNode || {}).id ? [this.nextTaskNode] : [], this.operationParam.incomingConditionItemList = this.incomingConditionItemList, this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction, this.operationParam.isDocument = this.isDocument, this.operationParam.isQuickReply = this.isQuickReply, this.operationParam.isMsg = this.isMsg, this.operationParam.isRequire = this.isRequire, this.operationParam.canCheck = this.canCheck, this.operationParam.isCheckType = this.isCheckType, this.operationParam.isOrgType = this.isOrgType, this.operationParam.isCodeType = this.isCodeType, console.log(n, "type"), n) {
21731
21844
  case "\u6284\u9001":
21732
21845
  this.operationParam.visible = !0, this.cctaskTopPopup = !0;
21733
21846
  break;
@@ -21959,6 +22072,7 @@ var wb = function() {
21959
22072
  }
21960
22073
  }
21961
22074
  }, [t(e.operationCom, {
22075
+ key: e.operationComKey,
21962
22076
  ref: "operationRef",
21963
22077
  tag: "component",
21964
22078
  attrs: {
@@ -22077,7 +22191,7 @@ var xb = /* @__PURE__ */ ve(
22077
22191
  Eb,
22078
22192
  !1,
22079
22193
  Tb,
22080
- "42cb46d2",
22194
+ "29ce19fb",
22081
22195
  null,
22082
22196
  null
22083
22197
  );