lyflowchart 1.0.45 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -16816,7 +16816,7 @@ function uR(e) {
16816
16816
  function lc(e) {
16817
16817
  return Eo(e) || lR(e);
16818
16818
  }
16819
- var eb = 500;
16819
+ var e0 = 500;
16820
16820
  function F_(e, t, n) {
16821
16821
  var r = this;
16822
16822
  function o(z, H, Q) {
@@ -16890,10 +16890,10 @@ function F_(e, t, n) {
16890
16890
  }), e.on([
16891
16891
  "shape.changed",
16892
16892
  "connection.changed"
16893
- ], eb, function(z) {
16893
+ ], e0, function(z) {
16894
16894
  var H = z.element, Q = z.gfx;
16895
16895
  e.fire("interactionEvents.updateHit", { element: H, gfx: Q });
16896
- }), e.on("interactionEvents.createHit", eb, function(z) {
16896
+ }), e.on("interactionEvents.createHit", e0, function(z) {
16897
16897
  var H = z.element, Q = z.gfx;
16898
16898
  r.createDefaultHit(H, Q);
16899
16899
  }), e.on("interactionEvents.updateHit", function(z) {
@@ -17037,7 +17037,7 @@ bs.prototype.select = function(e, t) {
17037
17037
  n.indexOf(l) === -1 && n.push(l);
17038
17038
  }) : this._selectedElements = n = e.slice(), this._eventBus.fire("selection.changed", { oldSelection: r, newSelection: n });
17039
17039
  };
17040
- var tb = "hover", nb = "selected", uc = 6;
17040
+ var t0 = "hover", n0 = "selected", uc = 6;
17041
17041
  function nv(e, t, n) {
17042
17042
  this._canvas = e;
17043
17043
  var r = this;
@@ -17049,15 +17049,15 @@ function nv(e, t, n) {
17049
17049
  e.removeMarker(l, u);
17050
17050
  }
17051
17051
  t.on("element.hover", function(l) {
17052
- o(l.element, tb);
17052
+ o(l.element, t0);
17053
17053
  }), t.on("element.out", function(l) {
17054
- s(l.element, tb);
17054
+ s(l.element, t0);
17055
17055
  }), t.on("selection.changed", function(l) {
17056
17056
  function u(m) {
17057
- s(m, nb);
17057
+ s(m, n0);
17058
17058
  }
17059
17059
  function c(m) {
17060
- o(m, nb);
17060
+ o(m, n0);
17061
17061
  }
17062
17062
  var d = l.oldSelection, v = l.newSelection;
17063
17063
  j(d, function(m) {
@@ -17424,7 +17424,7 @@ function oh(e) {
17424
17424
  });
17425
17425
  }
17426
17426
  var U_ = "_plane";
17427
- function rb(e) {
17427
+ function r0(e) {
17428
17428
  var t = e.id;
17429
17429
  return _R(t);
17430
17430
  }
@@ -17534,7 +17534,7 @@ function SR() {
17534
17534
  t !== -1 && this._entries.splice(t, 1);
17535
17535
  };
17536
17536
  }
17537
- var ib = {
17537
+ var i0 = {
17538
17538
  x: 180,
17539
17539
  y: 160
17540
17540
  };
@@ -17586,8 +17586,8 @@ _a.prototype.createNewDiagrams = function(e) {
17586
17586
  };
17587
17587
  _a.prototype.movePlaneElementsToOrigin = function(e) {
17588
17588
  var t = e.get("planeElement"), n = CR(e), r = {
17589
- x: n.x - ib.x,
17590
- y: n.y - ib.y
17589
+ x: n.x - i0.x,
17590
+ y: n.y - i0.y
17591
17591
  };
17592
17592
  t.forEach(function(o) {
17593
17593
  o.waypoint ? o.waypoint.forEach(function(s) {
@@ -17752,7 +17752,7 @@ function IR(e) {
17752
17752
  function BR(e) {
17753
17753
  return cr(e) && (un(MR, e) || un(q_, e) && av(e));
17754
17754
  }
17755
- var Mp = "keyboard.keydown", FR = "keyboard.keyup", ob = "input-handle-modified-keys", $R = 1e3;
17755
+ var Mp = "keyboard.keydown", FR = "keyboard.keyup", o0 = "input-handle-modified-keys", $R = 1e3;
17756
17756
  function _n(e, t) {
17757
17757
  var n = this;
17758
17758
  this._config = e || {}, this._eventBus = t, this._keydownHandler = this._keydownHandler.bind(this), this._keyupHandler = this._keyupHandler.bind(this), t.on("diagram.destroy", function() {
@@ -17794,8 +17794,8 @@ _n.prototype._isModifiedKeyIgnored = function(e) {
17794
17794
  return t.indexOf(e.key) === -1;
17795
17795
  };
17796
17796
  _n.prototype._getAllowedModifiers = function(e) {
17797
- var t = Ri(e, "[" + ob + "]", !0);
17798
- return !t || this._node && !this._node.contains(t) ? [] : t.getAttribute(ob).split(",");
17797
+ var t = Ri(e, "[" + o0 + "]", !0);
17798
+ return !t || this._node && !this._node.contains(t) ? [] : t.getAttribute(o0).split(",");
17799
17799
  };
17800
17800
  _n.prototype.bind = function(e) {
17801
17801
  this.unbind(), this._node = e, We.bind(e, "keydown", this._keydownHandler), We.bind(e, "keyup", this._keyupHandler), this._fire("bind");
@@ -19304,7 +19304,7 @@ var rx = { exports: {} };
19304
19304
  })(rx);
19305
19305
  var ZR = rx.exports;
19306
19306
  const ra = /* @__PURE__ */ fs(ZR);
19307
- var QR = 0.2, JR = 4, ab = [
19307
+ var QR = 0.2, JR = 4, a0 = [
19308
19308
  "mousedown",
19309
19309
  "mouseup",
19310
19310
  "mouseover",
@@ -19320,13 +19320,13 @@ function sh(e) {
19320
19320
  }
19321
19321
  function Cd(e) {
19322
19322
  function t(d) {
19323
- j(ab, function(v) {
19323
+ j(a0, function(v) {
19324
19324
  We.bind(e, v, sh, !0);
19325
19325
  });
19326
19326
  }
19327
19327
  function n(d) {
19328
19328
  setTimeout(function() {
19329
- j(ab, function(v) {
19329
+ j(a0, function(v) {
19330
19330
  We.unbind(e, v, sh, !0);
19331
19331
  });
19332
19332
  }, 500);
@@ -19468,20 +19468,20 @@ const eD = {
19468
19468
  function Td(e) {
19469
19469
  return e && e[e.length - 1];
19470
19470
  }
19471
- function sb(e) {
19471
+ function s0(e) {
19472
19472
  return e.y;
19473
19473
  }
19474
- function lb(e) {
19474
+ function l0(e) {
19475
19475
  return e.x;
19476
19476
  }
19477
19477
  var nD = {
19478
- left: lb,
19479
- center: lb,
19478
+ left: l0,
19479
+ center: l0,
19480
19480
  right: function(e) {
19481
19481
  return e.x + e.width;
19482
19482
  },
19483
- top: sb,
19484
- middle: sb,
19483
+ top: s0,
19484
+ middle: s0,
19485
19485
  bottom: function(e) {
19486
19486
  return e.y + e.height;
19487
19487
  }
@@ -19539,7 +19539,7 @@ const rD = {
19539
19539
  __init__: ["alignElements"],
19540
19540
  alignElements: ["type", Es]
19541
19541
  };
19542
- var ub = ".entry", iD = 1e3, cb = 12;
19542
+ var u0 = ".entry", iD = 1e3, c0 = 12;
19543
19543
  function Yn(e, t, n, r) {
19544
19544
  this._canvas = e, this._eventBus = n, this._overlays = r;
19545
19545
  var o = Xt(t && t.scale) ? t.scale : {
@@ -19637,9 +19637,9 @@ Yn.prototype.getPad = function(e) {
19637
19637
  var t = this, n = this._overlays, r = wt('<div class="djs-context-pad"></div>'), o = this._getPosition(e), s = Y({
19638
19638
  html: r
19639
19639
  }, this._overlaysConfig, o);
19640
- _r.bind(r, ub, "click", function(c) {
19640
+ _r.bind(r, u0, "click", function(c) {
19641
19641
  t.trigger("click", c);
19642
- }), _r.bind(r, ub, "dragstart", function(c) {
19642
+ }), _r.bind(r, u0, "dragstart", function(c) {
19643
19643
  t.trigger("dragstart", c);
19644
19644
  }), We.bind(r, "mousedown", function(c) {
19645
19645
  c.stopPropagation();
@@ -19673,8 +19673,8 @@ Yn.prototype._getPosition = function(e) {
19673
19673
  var t = et(e) ? e : [e], n = jt(t);
19674
19674
  return {
19675
19675
  position: {
19676
- left: n.x + n.width + cb,
19677
- top: n.y - cb / 2
19676
+ left: n.x + n.width + c0,
19677
+ top: n.y - c0 / 2
19678
19678
  }
19679
19679
  };
19680
19680
  };
@@ -19694,7 +19694,7 @@ const fv = {
19694
19694
  ],
19695
19695
  contextPad: ["type", Yn]
19696
19696
  };
19697
- var Lp, Tt, ax, la, pb, sx, lx, ux, dv, lh, uh, kl = {}, cx = [], aD = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Op = Array.isArray;
19697
+ var Lp, Tt, ax, la, p0, sx, lx, ux, dv, lh, uh, kl = {}, cx = [], aD = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Op = Array.isArray;
19698
19698
  function wi(e, t) {
19699
19699
  for (var n in t)
19700
19700
  e[n] = t[n];
@@ -19741,8 +19741,8 @@ function fx(e) {
19741
19741
  return fx(e);
19742
19742
  }
19743
19743
  }
19744
- function fb(e) {
19745
- (!e.__d && (e.__d = !0) && la.push(e) && !ep.__r++ || pb != Tt.debounceRendering) && ((pb = Tt.debounceRendering) || sx)(ep);
19744
+ function f0(e) {
19745
+ (!e.__d && (e.__d = !0) && la.push(e) && !ep.__r++ || p0 != Tt.debounceRendering) && ((p0 = Tt.debounceRendering) || sx)(ep);
19746
19746
  }
19747
19747
  function ep() {
19748
19748
  for (var e, t, n, r, o, s, l, u = 1; la.length; )
@@ -19788,7 +19788,7 @@ function lD(e, t, n, r) {
19788
19788
  }
19789
19789
  return -1;
19790
19790
  }
19791
- function db(e, t, n) {
19791
+ function d0(e, t, n) {
19792
19792
  t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || aD.test(t) ? n : n + "px";
19793
19793
  }
19794
19794
  function fc(e, t, n, r, o) {
@@ -19800,10 +19800,10 @@ function fc(e, t, n, r, o) {
19800
19800
  else {
19801
19801
  if (typeof r == "string" && (e.style.cssText = r = ""), r)
19802
19802
  for (t in r)
19803
- n && t in n || db(e.style, t, "");
19803
+ n && t in n || d0(e.style, t, "");
19804
19804
  if (n)
19805
19805
  for (t in n)
19806
- r && n[t] == r[t] || db(e.style, t, n[t]);
19806
+ r && n[t] == r[t] || d0(e.style, t, n[t]);
19807
19807
  }
19808
19808
  else if (t[0] == "o" && t[1] == "n")
19809
19809
  s = t != (t = t.replace(ux, "$1")), l = t.toLowerCase(), t = l in e || t == "onFocusOut" || t == "onFocusIn" ? l.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + s] = n, n ? r ? n.u = r.u : (n.u = dv, e.addEventListener(t, s ? uh : lh, s)) : e.removeEventListener(t, s ? uh : lh, s);
@@ -19819,7 +19819,7 @@ function fc(e, t, n, r, o) {
19819
19819
  typeof n == "function" || (n == null || n === !1 && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
19820
19820
  }
19821
19821
  }
19822
- function hb(e) {
19822
+ function h0(e) {
19823
19823
  return function(t) {
19824
19824
  if (this.l) {
19825
19825
  var n = this.l[t.type + e];
@@ -19988,12 +19988,12 @@ Lp = cx.slice, Tt = { __e: function(e, t, n, r) {
19988
19988
  throw e;
19989
19989
  } }, ax = 0, Fc.prototype.setState = function(e, t) {
19990
19990
  var n;
19991
- n = this.__s != null && this.__s != this.state ? this.__s : this.__s = wi({}, this.state), typeof e == "function" && (e = e(wi({}, n), this.props)), e && wi(n, e), e != null && this.__v && (t && this._sb.push(t), fb(this));
19991
+ n = this.__s != null && this.__s != this.state ? this.__s : this.__s = wi({}, this.state), typeof e == "function" && (e = e(wi({}, n), this.props)), e && wi(n, e), e != null && this.__v && (t && this._sb.push(t), f0(this));
19992
19992
  }, Fc.prototype.forceUpdate = function(e) {
19993
- this.__v && (this.__e = !0, e && this.__h.push(e), fb(this));
19993
+ this.__v && (this.__e = !0, e && this.__h.push(e), f0(this));
19994
19994
  }, Fc.prototype.render = Ip, la = [], sx = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, lx = function(e, t) {
19995
19995
  return e.__v.__b - t.__v.__b;
19996
- }, ep.__r = 0, ux = /(PointerCapture)$|Capture$/i, dv = 0, lh = hb(!1), uh = hb(!0);
19996
+ }, ep.__r = 0, ux = /(PointerCapture)$|Capture$/i, dv = 0, lh = h0(!1), uh = h0(!0);
19997
19997
  var bx = function(e, t, n, r) {
19998
19998
  var o;
19999
19999
  t[0] = 0;
@@ -20002,10 +20002,10 @@ var bx = function(e, t, n, r) {
20002
20002
  l === 3 ? r[0] = u : l === 4 ? r[1] = Object.assign(r[1] || {}, u) : l === 5 ? (r[1] = r[1] || {})[t[++s]] = u : l === 6 ? r[1][t[++s]] += u + "" : l ? (o = e.apply(u, bx(e, u, n, ["", null])), r.push(o), u[0] ? t[0] |= 2 : (t[s - 2] = 0, t[s] = o)) : r.push(u);
20003
20003
  }
20004
20004
  return r;
20005
- }, vb = /* @__PURE__ */ new Map();
20005
+ }, v0 = /* @__PURE__ */ new Map();
20006
20006
  function pD(e) {
20007
- var t = vb.get(this);
20008
- return t || (t = /* @__PURE__ */ new Map(), vb.set(this, t)), (t = bx(this, t.get(e) || (t.set(e, t = function(n) {
20007
+ var t = v0.get(this);
20008
+ return t || (t = /* @__PURE__ */ new Map(), v0.set(this, t)), (t = bx(this, t.get(e) || (t.set(e, t = function(n) {
20009
20009
  for (var r, o, s = 1, l = "", u = "", c = [0], d = function(y) {
20010
20010
  s === 1 && (y || (l = l.replace(/^\s*\n\s*|\s*\n\s*$/g, ""))) ? c.push(0, y, l) : s === 3 && (y || l) ? (c.push(3, y, l), s = 2) : s === 2 && l === "..." && y ? c.push(4, y, 0) : s === 2 && l && !y ? c.push(5, 0, !0, l) : s >= 5 && ((l || !y && s === 5) && (c.push(s, 0, l, o), s = 6), y && (c.push(s, y, 0, o), s = 6)), l = "";
20011
20011
  }, v = 0; v < n.length; v++) {
@@ -20017,7 +20017,7 @@ function pD(e) {
20017
20017
  return d(), c;
20018
20018
  }(e)), t), arguments, [])).length > 1 ? t : t[0];
20019
20019
  }
20020
- var ln = pD.bind(px), us, $t, Ad, mb, Ml = 0, Ex = [], Yt = Tt, gb = Yt.__b, yb = Yt.__r, bb = Yt.diffed, Eb = Yt.__c, _b = Yt.unmount, xb = Yt.__;
20020
+ var ln = pD.bind(px), us, $t, Ad, m0, Ml = 0, Ex = [], Yt = Tt, g0 = Yt.__b, y0 = Yt.__r, b0 = Yt.diffed, E0 = Yt.__c, _0 = Yt.unmount, x0 = Yt.__;
20021
20021
  function Bp(e, t) {
20022
20022
  Yt.__h && Yt.__h($t, e, Ml || t), Ml = 0;
20023
20023
  var n = $t.__H || ($t.__H = { __: [], __h: [] });
@@ -20094,19 +20094,19 @@ function dD() {
20094
20094
  }
20095
20095
  }
20096
20096
  Yt.__b = function(e) {
20097
- $t = null, gb && gb(e);
20097
+ $t = null, g0 && g0(e);
20098
20098
  }, Yt.__ = function(e, t) {
20099
- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), xb && xb(e, t);
20099
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), x0 && x0(e, t);
20100
20100
  }, Yt.__r = function(e) {
20101
- yb && yb(e), us = 0;
20101
+ y0 && y0(e), us = 0;
20102
20102
  var t = ($t = e.__c).__H;
20103
20103
  t && (Ad === $t ? (t.__h = [], $t.__h = [], t.__.forEach(function(n) {
20104
20104
  n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
20105
20105
  })) : (t.__h.forEach($c), t.__h.forEach(ph), t.__h = [], us = 0)), Ad = $t;
20106
20106
  }, Yt.diffed = function(e) {
20107
- bb && bb(e);
20107
+ b0 && b0(e);
20108
20108
  var t = e.__c;
20109
- t && t.__H && (t.__H.__h.length && (Ex.push(t) !== 1 && mb === Yt.requestAnimationFrame || ((mb = Yt.requestAnimationFrame) || hD)(dD)), t.__H.__.forEach(function(n) {
20109
+ t && t.__H && (t.__H.__h.length && (Ex.push(t) !== 1 && m0 === Yt.requestAnimationFrame || ((m0 = Yt.requestAnimationFrame) || hD)(dD)), t.__H.__.forEach(function(n) {
20110
20110
  n.u && (n.__H = n.u), n.u = void 0;
20111
20111
  })), Ad = $t = null;
20112
20112
  }, Yt.__c = function(e, t) {
@@ -20120,9 +20120,9 @@ Yt.__b = function(e) {
20120
20120
  o.__h && (o.__h = []);
20121
20121
  }), t = [], Yt.__e(r, n.__v);
20122
20122
  }
20123
- }), Eb && Eb(e, t);
20123
+ }), E0 && E0(e, t);
20124
20124
  }, Yt.unmount = function(e) {
20125
- _b && _b(e);
20125
+ _0 && _0(e);
20126
20126
  var t, n = e.__c;
20127
20127
  n && n.__H && (n.__H.__.forEach(function(r) {
20128
20128
  try {
@@ -20132,12 +20132,12 @@ Yt.__b = function(e) {
20132
20132
  }
20133
20133
  }), n.__H = void 0, t && Yt.__e(t, n.__v));
20134
20134
  };
20135
- var wb = typeof requestAnimationFrame == "function";
20135
+ var w0 = typeof requestAnimationFrame == "function";
20136
20136
  function hD(e) {
20137
20137
  var t, n = function() {
20138
- clearTimeout(r), wb && cancelAnimationFrame(t), setTimeout(e);
20138
+ clearTimeout(r), w0 && cancelAnimationFrame(t), setTimeout(e);
20139
20139
  }, r = setTimeout(n, 35);
20140
- wb && (t = requestAnimationFrame(n));
20140
+ w0 && (t = requestAnimationFrame(n));
20141
20141
  }
20142
20142
  function $c(e) {
20143
20143
  var t = $t, n = e.__c;
@@ -20345,7 +20345,7 @@ function bD(e) {
20345
20345
  }), []);
20346
20346
  const Q = Nl(() => l || o.length > 0, [l, o]);
20347
20347
  return ln`
20348
- <${Sb}
20348
+ <${S0}
20349
20349
  onClose=${t}
20350
20350
  onKeyup=${H}
20351
20351
  onKeydown=${z}
@@ -20403,10 +20403,10 @@ function bD(e) {
20403
20403
  <div class="djs-popup-no-results">No matching entries found.</div>
20404
20404
  `}
20405
20405
  `}
20406
- </${Sb}>
20406
+ </${S0}>
20407
20407
  `;
20408
20408
  }
20409
- function Sb(e) {
20409
+ function S0(e) {
20410
20410
  const {
20411
20411
  onClose: t,
20412
20412
  onKeydown: n,
@@ -21144,7 +21144,7 @@ const GD = {
21144
21144
  bpmnAutoResize: ["type", Hp],
21145
21145
  bpmnAutoResizeProvider: ["type", zp]
21146
21146
  };
21147
- var Cb = 1500;
21147
+ var C0 = 1500;
21148
21148
  function Mx(e, t, n) {
21149
21149
  var r = this, o = n.get("dragging", !1);
21150
21150
  function s(l) {
@@ -21154,14 +21154,14 @@ function Mx(e, t, n) {
21154
21154
  }
21155
21155
  }
21156
21156
  o && t.on("drag.start", function(l) {
21157
- t.once("drag.move", Cb, function(u) {
21157
+ t.once("drag.move", C0, function(u) {
21158
21158
  s(u);
21159
21159
  });
21160
21160
  }), function() {
21161
21161
  var l, u;
21162
21162
  t.on("element.hover", function(c) {
21163
21163
  l = c.gfx, u = c.element;
21164
- }), t.on("element.hover", Cb, function(c) {
21164
+ }), t.on("element.hover", C0, function(c) {
21165
21165
  u && t.fire("element.out", {
21166
21166
  element: u,
21167
21167
  gfx: l
@@ -21189,7 +21189,7 @@ const KD = {
21189
21189
  ],
21190
21190
  hoverFix: ["type", Mx]
21191
21191
  };
21192
- var es = Math.round, Tb = "djs-drag-active";
21192
+ var es = Math.round, T0 = "djs-drag-active";
21193
21193
  function ia(e) {
21194
21194
  e.preventDefault();
21195
21195
  }
@@ -21239,7 +21239,7 @@ function Nx(e, t, n, r) {
21239
21239
  dy: 0
21240
21240
  }, { originalEvent: k }), u("start") === !1)
21241
21241
  return T();
21242
- s.active = !0, s.keepSelection || (M.previousSelection = n.get(), n.select(null)), s.cursor && Np(s.cursor), t.addMarker(t.getRootElement(), Tb);
21242
+ s.active = !0, s.keepSelection || (M.previousSelection = n.get(), n.select(null)), s.cursor && Np(s.cursor), t.addMarker(t.getRootElement(), T0);
21243
21243
  }
21244
21244
  wd(k), s.active && (Y(M, {
21245
21245
  x: es(J.x + L.x),
@@ -21280,7 +21280,7 @@ function Nx(e, t, n, r) {
21280
21280
  }
21281
21281
  function B(k) {
21282
21282
  var P, M;
21283
- u("cleanup"), Q_(), s.trapClick ? M = y : M = v, We.unbind(document, "mousemove", d), We.unbind(document, "dragstart", ia), We.unbind(document, "selectstart", ia), We.unbind(document, "mousedown", M, !0), We.unbind(document, "mouseup", M, !0), We.unbind(document, "keyup", m), We.unbind(document, "touchstart", b, !0), We.unbind(document, "touchcancel", T, !0), We.unbind(document, "touchmove", d, !0), We.unbind(document, "touchend", v, !0), e.off("element.hover", _), e.off("element.out", w), t.removeMarker(t.getRootElement(), Tb);
21283
+ u("cleanup"), Q_(), s.trapClick ? M = y : M = v, We.unbind(document, "mousemove", d), We.unbind(document, "dragstart", ia), We.unbind(document, "selectstart", ia), We.unbind(document, "mousedown", M, !0), We.unbind(document, "mouseup", M, !0), We.unbind(document, "keyup", m), We.unbind(document, "touchstart", b, !0), We.unbind(document, "touchcancel", T, !0), We.unbind(document, "touchmove", d, !0), We.unbind(document, "touchend", v, !0), e.off("element.hover", _), e.off("element.out", w), t.removeMarker(t.getRootElement(), T0);
21284
21284
  var L = s.payload.previousSelection;
21285
21285
  return k !== !1 && L && !n.get().length && c(L), P = s, s = null, P;
21286
21286
  }
@@ -21440,7 +21440,7 @@ function fh(e, t) {
21440
21440
  function Ox(e) {
21441
21441
  return Math.sqrt(Math.pow(e.x, 2) + Math.pow(e.y, 2));
21442
21442
  }
21443
- function Ab(e) {
21443
+ function A0(e) {
21444
21444
  return Math.atan((e[1].y - e[0].y) / (e[1].x - e[0].x));
21445
21445
  }
21446
21446
  function rk(e, t) {
@@ -21667,7 +21667,7 @@ Hx.$inject = [
21667
21667
  function ck(e) {
21668
21668
  return bt(".djs-visual", e);
21669
21669
  }
21670
- var Pb = Math.round, oa = "reconnectStart", aa = "reconnectEnd", ll = "updateWaypoints";
21670
+ var P0 = Math.round, oa = "reconnectStart", aa = "reconnectEnd", ll = "updateWaypoints";
21671
21671
  function wv(e, t, n, r, o, s) {
21672
21672
  this._injector = e, this.start = function(l, u, c, d) {
21673
21673
  var v = n.getGraphics(u), m = u.source, y = u.target, b = u.waypoints, _;
@@ -21721,8 +21721,8 @@ function wv(e, t, n, r, o, s) {
21721
21721
  u.hover = null, u.source = null, u.target = null, c !== ll && (u.allowed = !1);
21722
21722
  }), t.on("bendpoint.move.end", function(l) {
21723
21723
  var u = l.context, c = u.allowed, d = u.bendpointIndex, v = u.connection, m = u.insert, y = v.waypoints.slice(), b = u.source, _ = u.target, w = u.type, T = u.hints || {}, B = {
21724
- x: Pb(l.x),
21725
- y: Pb(l.y)
21724
+ x: P0(l.x),
21725
+ y: P0(l.y)
21726
21726
  };
21727
21727
  if (!c)
21728
21728
  return !1;
@@ -21754,7 +21754,7 @@ function op(e) {
21754
21754
  if (o === aa)
21755
21755
  return t && n && t === n && n !== r;
21756
21756
  }
21757
- var pk = "reconnectStart", fk = "reconnectEnd", Rb = "updateWaypoints", ul = "connect-ok", hc = "connect-not-ok", Db = "connect-hover", kb = "djs-updating", Mb = "djs-element-hidden", Nb = 1100;
21757
+ var pk = "reconnectStart", fk = "reconnectEnd", R0 = "updateWaypoints", ul = "connect-ok", hc = "connect-not-ok", D0 = "connect-hover", k0 = "djs-updating", M0 = "djs-element-hidden", N0 = 1100;
21758
21758
  function zx(e, t, n, r) {
21759
21759
  this._injector = t;
21760
21760
  var o = t.get("connectionPreview", !1);
@@ -21762,29 +21762,29 @@ function zx(e, t, n, r) {
21762
21762
  var l = s.context, u = l.bendpointIndex, c = l.connection, d = l.insert, v = c.waypoints, m = v.slice();
21763
21763
  l.waypoints = v, d && m.splice(u, 0, { x: s.x, y: s.y }), c.waypoints = m;
21764
21764
  var y = l.draggerGfx = hh(r.getLayer("overlays"));
21765
- ot(y).add("djs-dragging"), r.addMarker(c, Mb), r.addMarker(c, kb);
21765
+ ot(y).add("djs-dragging"), r.addMarker(c, M0), r.addMarker(c, k0);
21766
21766
  }), n.on("bendpoint.move.hover", function(s) {
21767
21767
  var l = s.context, u = l.allowed, c = l.hover, d = l.type;
21768
21768
  if (c) {
21769
- if (r.addMarker(c, Db), d === Rb)
21769
+ if (r.addMarker(c, D0), d === R0)
21770
21770
  return;
21771
21771
  u ? (r.removeMarker(c, hc), r.addMarker(c, ul)) : u === !1 && (r.removeMarker(c, ul), r.addMarker(c, hc));
21772
21772
  }
21773
21773
  }), n.on([
21774
21774
  "bendpoint.move.out",
21775
21775
  "bendpoint.move.cleanup"
21776
- ], Nb, function(s) {
21776
+ ], N0, function(s) {
21777
21777
  var l = s.context, u = l.hover, c = l.target;
21778
- u && (r.removeMarker(u, Db), r.removeMarker(u, c ? ul : hc));
21778
+ u && (r.removeMarker(u, D0), r.removeMarker(u, c ? ul : hc));
21779
21779
  }), n.on("bendpoint.move.move", function(s) {
21780
21780
  var l = s.context, u = l.allowed, c = l.bendpointIndex, d = l.draggerGfx, v = l.hover, m = l.type, y = l.connection, b = y.source, _ = y.target, w = y.waypoints.slice(), T = { x: s.x, y: s.y }, B = l.hints || {}, D = {};
21781
- o && (B.connectionStart && (D.connectionStart = B.connectionStart), B.connectionEnd && (D.connectionEnd = B.connectionEnd), m === pk ? op(l) ? (D.connectionEnd = D.connectionEnd || T, D.source = _, D.target = v || b, w = w.reverse()) : (D.connectionStart = D.connectionStart || T, D.source = v || b, D.target = _) : m === fk ? op(l) ? (D.connectionStart = D.connectionStart || T, D.source = v || _, D.target = b, w = w.reverse()) : (D.connectionEnd = D.connectionEnd || T, D.source = b, D.target = v || _) : (D.noCropping = !0, D.noLayout = !0, w[c] = T), m === Rb && (w = e.cropWaypoints(y, w)), D.waypoints = w, o.drawPreview(l, u, D)), tr(d, s.x, s.y);
21781
+ o && (B.connectionStart && (D.connectionStart = B.connectionStart), B.connectionEnd && (D.connectionEnd = B.connectionEnd), m === pk ? op(l) ? (D.connectionEnd = D.connectionEnd || T, D.source = _, D.target = v || b, w = w.reverse()) : (D.connectionStart = D.connectionStart || T, D.source = v || b, D.target = _) : m === fk ? op(l) ? (D.connectionStart = D.connectionStart || T, D.source = v || _, D.target = b, w = w.reverse()) : (D.connectionEnd = D.connectionEnd || T, D.source = b, D.target = v || _) : (D.noCropping = !0, D.noLayout = !0, w[c] = T), m === R0 && (w = e.cropWaypoints(y, w)), D.waypoints = w, o.drawPreview(l, u, D)), tr(d, s.x, s.y);
21782
21782
  }, this), n.on([
21783
21783
  "bendpoint.move.end",
21784
21784
  "bendpoint.move.cancel"
21785
- ], Nb, function(s) {
21785
+ ], N0, function(s) {
21786
21786
  var l = s.context, u = l.connection, c = l.draggerGfx, d = l.hover, v = l.target, m = l.waypoints;
21787
- u.waypoints = m, zt(c), r.removeMarker(u, kb), r.removeMarker(u, Mb), d && (r.removeMarker(d, ul), r.removeMarker(d, v ? ul : hc)), o && o.cleanUp(l);
21787
+ u.waypoints = m, zt(c), r.removeMarker(u, k0), r.removeMarker(u, M0), d && (r.removeMarker(d, ul), r.removeMarker(d, v ? ul : hc)), o && o.cleanUp(l);
21788
21788
  });
21789
21789
  }
21790
21790
  zx.$inject = [
@@ -21793,8 +21793,8 @@ zx.$inject = [
21793
21793
  "eventBus",
21794
21794
  "canvas"
21795
21795
  ];
21796
- var Lb = "connect-hover", Ob = "djs-updating";
21797
- function Ib(e, t, n) {
21796
+ var L0 = "connect-hover", O0 = "djs-updating";
21797
+ function I0(e, t, n) {
21798
21798
  return Sv(e, t, e[t] + n);
21799
21799
  }
21800
21800
  function Sv(e, t, n) {
@@ -21810,7 +21810,7 @@ function dk(e, t, n, r) {
21810
21810
  function jx(e) {
21811
21811
  return e === "x" ? "y" : "x";
21812
21812
  }
21813
- function Bb(e, t, n) {
21813
+ function B0(e, t, n) {
21814
21814
  var r, o;
21815
21815
  return e.original ? e.original : (r = qe(t), o = jx(n), Sv(e, o, r[o]));
21816
21816
  }
@@ -21818,7 +21818,7 @@ function Wx(e, t, n, r, o, s) {
21818
21818
  var l = e.get("connectionDocking", !1);
21819
21819
  this.start = function(m, y, b) {
21820
21820
  var _, w = n.getGraphics(y), T = b - 1, B = b, D = y.waypoints, k = D[T], P = D[B], M = dh(n, D, m), L, U, z;
21821
- L = _i(k, P), L && (U = L === "v" ? "x" : "y", T === 0 && (k = Bb(k, y.source, U)), B === D.length - 1 && (P = Bb(P, y.target, U)), M ? z = M.point : z = {
21821
+ L = _i(k, P), L && (U = L === "v" ? "x" : "y", T === 0 && (k = B0(k, y.source, U)), B === D.length - 1 && (P = B0(P, y.target, U)), M ? z = M.point : z = {
21822
21822
  x: (k.x + P.x) / 2,
21823
21823
  y: (k.y + P.y) / 2
21824
21824
  }, _ = {
@@ -21862,23 +21862,23 @@ function Wx(e, t, n, r, o, s) {
21862
21862
  }
21863
21863
  t.on("connectionSegment.move.start", function(m) {
21864
21864
  var y = m.context, b = m.connection, _ = n.getLayer("overlays");
21865
- y.originalWaypoints = b.waypoints.slice(), y.draggerGfx = $x(_, y.segmentStart, y.segmentEnd), ot(y.draggerGfx).add("djs-dragging"), n.addMarker(b, Ob);
21865
+ y.originalWaypoints = b.waypoints.slice(), y.draggerGfx = $x(_, y.segmentStart, y.segmentEnd), ot(y.draggerGfx).add("djs-dragging"), n.addMarker(b, O0);
21866
21866
  }), t.on("connectionSegment.move.move", function(m) {
21867
- var y = m.context, b = y.connection, _ = y.segmentStartIndex, w = y.segmentEndIndex, T = y.segmentStart, B = y.segmentEnd, D = y.axis, k = y.originalWaypoints.slice(), P = Ib(T, D, m["d" + D]), M = Ib(B, D, m["d" + D]), L = k.length, U = 0;
21867
+ var y = m.context, b = y.connection, _ = y.segmentStartIndex, w = y.segmentEndIndex, T = y.segmentStart, B = y.segmentEnd, D = y.axis, k = y.originalWaypoints.slice(), P = I0(T, D, m["d" + D]), M = I0(B, D, m["d" + D]), L = k.length, U = 0;
21868
21868
  k[_] = P, k[w] = M;
21869
21869
  var z, H;
21870
21870
  _ < 2 && (z = Pn(b.source, P), _ === 1 ? z === "intersect" && (k.shift(), k[0] = P, U--) : z !== "intersect" && (k.unshift(T), U++)), w > L - 3 && (H = Pn(b.target, M), w === L - 2 ? H === "intersect" && (k.pop(), k[k.length - 1] = M) : H !== "intersect" && k.push(B)), y.newWaypoints = b.waypoints = u(b, k), d(y, U, m), y.newSegmentStartIndex = _ + U, c(m);
21871
21871
  }), t.on("connectionSegment.move.hover", function(m) {
21872
- m.context.hover = m.hover, n.addMarker(m.hover, Lb);
21872
+ m.context.hover = m.hover, n.addMarker(m.hover, L0);
21873
21873
  }), t.on([
21874
21874
  "connectionSegment.move.out",
21875
21875
  "connectionSegment.move.cleanup"
21876
21876
  ], function(m) {
21877
21877
  var y = m.context.hover;
21878
- y && n.removeMarker(y, Lb);
21878
+ y && n.removeMarker(y, L0);
21879
21879
  }), t.on("connectionSegment.move.cleanup", function(m) {
21880
21880
  var y = m.context, b = y.connection;
21881
- y.draggerGfx && zt(y.draggerGfx), n.removeMarker(b, Ob);
21881
+ y.draggerGfx && zt(y.draggerGfx), n.removeMarker(b, O0);
21882
21882
  }), t.on([
21883
21883
  "connectionSegment.move.cancel",
21884
21884
  "connectionSegment.move.end"
@@ -21911,7 +21911,7 @@ Wx.$inject = [
21911
21911
  "graphicsFactory",
21912
21912
  "modeling"
21913
21913
  ];
21914
- var hk = Math.abs, Fb = Math.round;
21914
+ var hk = Math.abs, F0 = Math.round;
21915
21915
  function vk(e, t, n) {
21916
21916
  n = n === void 0 ? 10 : n;
21917
21917
  var r, o;
@@ -21933,8 +21933,8 @@ function Gx(e) {
21933
21933
  }
21934
21934
  function Er(e, t) {
21935
21935
  return !e || isNaN(e.x) || isNaN(e.y) ? t : {
21936
- x: Fb(e.x + e.width / 2),
21937
- y: Fb(e.y + e.height / 2)
21936
+ x: F0(e.x + e.width / 2),
21937
+ y: F0(e.y + e.height / 2)
21938
21938
  };
21939
21939
  }
21940
21940
  function cs(e, t) {
@@ -21952,7 +21952,7 @@ function Ht(e, t, n) {
21952
21952
  function Vx(e) {
21953
21953
  return e.children || [];
21954
21954
  }
21955
- var mk = Math.abs, $b = Math.round, kd = 10;
21955
+ var mk = Math.abs, $0 = Math.round, kd = 10;
21956
21956
  function Kx(e) {
21957
21957
  function t(s, l) {
21958
21958
  if (et(s)) {
@@ -21974,8 +21974,8 @@ function Kx(e) {
21974
21974
  return sk(l, s);
21975
21975
  if (s.width)
21976
21976
  return {
21977
- x: $b(s.width / 2 + s.x),
21978
- y: $b(s.height / 2 + s.y)
21977
+ x: $0(s.width / 2 + s.x),
21978
+ y: $0(s.height / 2 + s.y)
21979
21979
  };
21980
21980
  }
21981
21981
  function r(s) {
@@ -22108,7 +22108,7 @@ function mh(e) {
22108
22108
  var t = e.hover, n = e.source, r = e.target;
22109
22109
  return t && n && t === n && n !== r;
22110
22110
  }
22111
- var bk = 1100, Ek = 900, Hb = "connect-ok", zb = "connect-not-ok";
22111
+ var bk = 1100, Ek = 900, H0 = "connect-ok", z0 = "connect-not-ok";
22112
22112
  function qx(e, t, n) {
22113
22113
  var r = e.get("connectionPreview", !1);
22114
22114
  r && t.on("connect.move", function(o) {
@@ -22124,13 +22124,13 @@ function qx(e, t, n) {
22124
22124
  });
22125
22125
  }), t.on("connect.hover", Ek, function(o) {
22126
22126
  var s = o.context, l = o.hover, u = s.canExecute;
22127
- u !== null && n.addMarker(l, u ? Hb : zb);
22127
+ u !== null && n.addMarker(l, u ? H0 : z0);
22128
22128
  }), t.on([
22129
22129
  "connect.out",
22130
22130
  "connect.cleanup"
22131
22131
  ], bk, function(o) {
22132
22132
  var s = o.hover;
22133
- s && (n.removeMarker(s, Hb), n.removeMarker(s, zb));
22133
+ s && (n.removeMarker(s, H0), n.removeMarker(s, z0));
22134
22134
  }), r && t.on("connect.cleanup", function(o) {
22135
22135
  r.cleanUp(o.context);
22136
22136
  });
@@ -22225,7 +22225,7 @@ const Sk = {
22225
22225
  __init__: ["connectionPreview"],
22226
22226
  connectionPreview: ["type", Ii]
22227
22227
  };
22228
- var jb = Math.min, Wb = Math.max;
22228
+ var j0 = Math.min, W0 = Math.max;
22229
22229
  function Md(e) {
22230
22230
  e.preventDefault();
22231
22231
  }
@@ -22362,7 +22362,7 @@ Hr.prototype.resizable = function() {
22362
22362
  d = w.width, v = w.height, We.bind(document, "mousemove", y), We.bind(document, "mouseup", b);
22363
22363
  }, y = function(_) {
22364
22364
  Md(_), _l(_);
22365
- var w = jb(Wb(d + _.clientX - u, r), s), T = jb(Wb(v + _.clientY - c, o), l);
22365
+ var w = j0(W0(d + _.clientX - u, r), s), T = j0(W0(v + _.clientY - c, o), l);
22366
22366
  t.style.width = w + "px", t.style.height = T + "px", e.resizeHandler({
22367
22367
  width: d,
22368
22368
  height: v,
@@ -22571,7 +22571,7 @@ const ql = {
22571
22571
  __init__: ["previewSupport"],
22572
22572
  previewSupport: ["type", xa]
22573
22573
  };
22574
- var Lk = "drop-ok", Ub = "drop-not-ok", Gb = "attach-ok", Vb = "new-parent", Kb = "create", Ok = 2e3;
22574
+ var Lk = "drop-ok", U0 = "drop-not-ok", G0 = "attach-ok", V0 = "new-parent", K0 = "create", Ok = 2e3;
22575
22575
  function Zx(e, t, n, r, o) {
22576
22576
  function s(c, d, v, m, y) {
22577
22577
  if (!d)
@@ -22583,11 +22583,11 @@ function Zx(e, t, n, r, o) {
22583
22583
  var b = ut(c, function(D) {
22584
22584
  return !ml(D);
22585
22585
  }), _ = !1, w = !1, T = !1;
22586
- qb(c) && (_ = o.allowed("shape.attach", {
22586
+ q0(c) && (_ = o.allowed("shape.attach", {
22587
22587
  position: v,
22588
22588
  shape: b,
22589
22589
  target: d
22590
- })), _ || (qb(c) ? T = o.allowed("shape.create", {
22590
+ })), _ || (q0(c) ? T = o.allowed("shape.create", {
22591
22591
  position: v,
22592
22592
  shape: b,
22593
22593
  source: m,
@@ -22611,7 +22611,7 @@ function Zx(e, t, n, r, o) {
22611
22611
  }) : T === null || _ === null ? null : !1;
22612
22612
  }
22613
22613
  function l(c, d) {
22614
- [Gb, Lk, Ub, Vb].forEach(function(v) {
22614
+ [G0, Lk, U0, V0].forEach(function(v) {
22615
22615
  v === d ? e.addMarker(c, v) : e.removeMarker(c, v);
22616
22616
  });
22617
22617
  }
@@ -22621,12 +22621,12 @@ function Zx(e, t, n, r, o) {
22621
22621
  d.canExecute = !1, d.target = null;
22622
22622
  return;
22623
22623
  }
22624
- Yb(c);
22624
+ Y0(c);
22625
22625
  var _ = {
22626
22626
  x: c.x,
22627
22627
  y: c.y
22628
22628
  }, w = d.canExecute = m && s(v, m, _, y, b);
22629
- m && w !== null && (d.target = m, w && w.attach ? l(m, Gb) : l(m, w ? Vb : Ub));
22629
+ m && w !== null && (d.target = m, w && w.attach ? l(m, G0) : l(m, w ? V0 : U0));
22630
22630
  }), n.on(["create.end", "create.out", "create.cleanup"], function(c) {
22631
22631
  var d = c.hover;
22632
22632
  d && l(d, null);
@@ -22634,7 +22634,7 @@ function Zx(e, t, n, r, o) {
22634
22634
  var d = c.context, v = d.source, m = d.shape, y = d.elements, b = d.target, _ = d.canExecute, w = _ && _.attach, T = _ && _.connect, B = d.hints || {};
22635
22635
  if (_ === !1 || !b)
22636
22636
  return !1;
22637
- Yb(c);
22637
+ Y0(c);
22638
22638
  var D = {
22639
22639
  x: c.x,
22640
22640
  y: c.y
@@ -22657,7 +22657,7 @@ function Zx(e, t, n, r, o) {
22657
22657
  });
22658
22658
  function u() {
22659
22659
  var c = t.context();
22660
- c && c.prefix === Kb && t.cancel();
22660
+ c && c.prefix === K0 && t.cancel();
22661
22661
  }
22662
22662
  n.on("create.init", function() {
22663
22663
  n.on("elements.changed", u), n.once(["create.cancel", "create.end"], Ok, function() {
@@ -22689,7 +22689,7 @@ function Zx(e, t, n, r, o) {
22689
22689
  x: _.x - b.x - b.width / 2,
22690
22690
  y: _.y - b.y - b.height / 2
22691
22691
  });
22692
- }), t.init(c, Kb, {
22692
+ }), t.init(c, K0, {
22693
22693
  cursor: "grabbing",
22694
22694
  autoActivate: !0,
22695
22695
  data: {
@@ -22708,14 +22708,14 @@ Zx.$inject = [
22708
22708
  "modeling",
22709
22709
  "rules"
22710
22710
  ];
22711
- function Yb(e) {
22711
+ function Y0(e) {
22712
22712
  var t = e.context, n = t.createConstraints;
22713
22713
  n && (n.left && (e.x = Math.max(e.x, n.left)), n.right && (e.x = Math.min(e.x, n.right)), n.top && (e.y = Math.max(e.y, n.top)), n.bottom && (e.y = Math.min(e.y, n.bottom)));
22714
22714
  }
22715
22715
  function ml(e) {
22716
22716
  return !!e.waypoints;
22717
22717
  }
22718
- function qb(e) {
22718
+ function q0(e) {
22719
22719
  return e && e.length === 1 && !ml(e[0]);
22720
22720
  }
22721
22721
  function Ik(e) {
@@ -22990,11 +22990,11 @@ zr.prototype.createTree = function(e) {
22990
22990
  }), j(o, function(d) {
22991
22991
  var v = d.depth;
22992
22992
  if (!n.hasRelations(d.element, e)) {
22993
- Zb(d.element, e);
22993
+ Z0(d.element, e);
22994
22994
  return;
22995
22995
  }
22996
22996
  if (!l(d.element, e)) {
22997
- Zb(d.element, e);
22997
+ Z0(d.element, e);
22998
22998
  return;
22999
22999
  }
23000
23000
  r[v] || (r[v] = []), r[v].push(d.descriptor);
@@ -23011,13 +23011,13 @@ function Up(e) {
23011
23011
  }
23012
23012
  function zk(e) {
23013
23013
  return pn(e.waypoints, function(t) {
23014
- return t = Xb(t), t.original && (t.original = Xb(t.original)), t;
23014
+ return t = X0(t), t.original && (t.original = X0(t.original)), t;
23015
23015
  });
23016
23016
  }
23017
- function Xb(e) {
23017
+ function X0(e) {
23018
23018
  return Y({}, e);
23019
23019
  }
23020
- function Zb(e, t) {
23020
+ function Z0(e, t) {
23021
23021
  var n = t.indexOf(e);
23022
23022
  return n === -1 ? t : t.splice(n, 1);
23023
23023
  }
@@ -23044,7 +23044,7 @@ function Jx(e, t, n) {
23044
23044
  }
23045
23045
  t.on("copyPaste.copyElement", Ld, function(c) {
23046
23046
  var d = c.descriptor, v = c.element, m = Ce(v);
23047
- if (Qb(v))
23047
+ if (Q0(v))
23048
23048
  return d;
23049
23049
  var y = d.businessObject = r(m, !0), b = d.di = r(ct(v), !0);
23050
23050
  b.bpmnElement = y, Nd(y, d, "name"), Nd(b, d, "isExpanded"), m.default && (d.default = m.default.id);
@@ -23068,7 +23068,7 @@ function Jx(e, t, n) {
23068
23068
  }
23069
23069
  t.on("copyPaste.pasteElement", function(c) {
23070
23070
  var d = c.cache, v = c.descriptor, m = v.businessObject, y = v.di;
23071
- if (Qb(v)) {
23071
+ if (Q0(v)) {
23072
23072
  v.businessObject = Ce(d[v.labelTarget]), v.di = ct(d[v.labelTarget]);
23073
23073
  return;
23074
23074
  }
@@ -23098,7 +23098,7 @@ Jx.$inject = [
23098
23098
  "eventBus",
23099
23099
  "moddleCopy"
23100
23100
  ];
23101
- function Qb(e) {
23101
+ function Q0(e) {
23102
23102
  return !!e.labelTarget;
23103
23103
  }
23104
23104
  var Wk = [
@@ -23196,7 +23196,7 @@ const ew = {
23196
23196
  bpmnCopyPaste: ["type", Jx],
23197
23197
  moddleCopy: ["type", Ql]
23198
23198
  };
23199
- var Jb = Math.round;
23199
+ var J0 = Math.round;
23200
23200
  function Av(e, t) {
23201
23201
  this._modeling = e, this._eventBus = t;
23202
23202
  }
@@ -23210,7 +23210,7 @@ Av.prototype.replaceElement = function(e, t, n) {
23210
23210
  attrs: t,
23211
23211
  hints: n
23212
23212
  });
23213
- var s = t.width || e.width, l = t.height || e.height, u = t.x || e.x, c = t.y || e.y, d = Jb(u + s / 2), v = Jb(c + l / 2), m = r.replaceShape(
23213
+ var s = t.width || e.width, l = t.height || e.height, u = t.x || e.x, c = t.y || e.y, d = J0(u + s / 2), v = J0(c + l / 2), m = r.replaceShape(
23214
23214
  e,
23215
23215
  Y(
23216
23216
  {},
@@ -23281,13 +23281,13 @@ function nw(e, t, n, r, o, s, l) {
23281
23281
  var w = gh(y.$descriptor), T = gh(b.$descriptor, !0), B = qk(w, T);
23282
23282
  Y(b, xr(d, Kk));
23283
23283
  var D = Je(B, function(P) {
23284
- return P === "eventDefinitions" ? e0(c, d.eventDefinitionType) : P === "loopCharacteristics" ? !nr(b) : !(Zr(b, P) || P === "processRef" && d.isExpanded === !1 || P === "triggeredByEvent");
23284
+ return P === "eventDefinitions" ? eb(c, d.eventDefinitionType) : P === "loopCharacteristics" ? !nr(b) : !(Zr(b, P) || P === "processRef" && d.isExpanded === !1 || P === "triggeredByEvent");
23285
23285
  });
23286
23286
  if (b = n.copyElement(
23287
23287
  y,
23288
23288
  b,
23289
23289
  D
23290
- ), d.eventDefinitionType && (e0(b, d.eventDefinitionType) || (_.eventDefinitionType = d.eventDefinitionType, _.eventDefinitionAttrs = d.eventDefinitionAttrs)), R(y, "bpmn:Activity")) {
23290
+ ), d.eventDefinitionType && (eb(b, d.eventDefinitionType) || (_.eventDefinitionType = d.eventDefinitionType, _.eventDefinitionAttrs = d.eventDefinitionAttrs)), R(y, "bpmn:Activity")) {
23291
23291
  if (vc(y))
23292
23292
  _.isExpanded = lt(c);
23293
23293
  else if (d && Zr(d, "isExpanded")) {
@@ -23323,7 +23323,7 @@ nw.$inject = [
23323
23323
  function vc(e) {
23324
23324
  return R(e, "bpmn:SubProcess");
23325
23325
  }
23326
- function e0(e, t) {
23326
+ function eb(e, t) {
23327
23327
  var n = Ce(e);
23328
23328
  return t && n.get("eventDefinitions").some(function(r) {
23329
23329
  return R(r, t);
@@ -23342,7 +23342,7 @@ const rw = {
23342
23342
  ],
23343
23343
  bpmnReplace: ["type", nw]
23344
23344
  };
23345
- function t0(e) {
23345
+ function tb(e) {
23346
23346
  return function(t) {
23347
23347
  var n = t.target, r = Ce(e), o = r.eventDefinitions && r.eventDefinitions[0], s = r.$type === n.type, l = (o && o.$type) === n.eventDefinitionType, u = (
23348
23348
  // coherse to <false>
@@ -23770,7 +23770,7 @@ var Xk = [
23770
23770
  isExpanded: !0
23771
23771
  }
23772
23772
  }
23773
- ], nM = iw, n0 = [
23773
+ ], nM = iw, nb = [
23774
23774
  {
23775
23775
  label: "Task",
23776
23776
  actionName: "replace-with-task",
@@ -24175,7 +24175,7 @@ Sr.prototype.getEntries = function(e) {
24175
24175
  var t = e.businessObject, n = this._rules, r;
24176
24176
  if (!n.allowed("shape.replace", { element: e }))
24177
24177
  return [];
24178
- var o = t0(e);
24178
+ var o = tb(e);
24179
24179
  return R(t, "bpmn:DataObjectReference") ? this._createEntries(e, rM) : R(t, "bpmn:DataStoreReference") && !R(e.parent, "bpmn:Collaboration") ? this._createEntries(e, iM) : R(t, "bpmn:StartEvent") && !R(t.$parent, "bpmn:SubProcess") ? (r = Je(Xk, o), this._createEntries(e, r)) : R(t, "bpmn:Participant") ? (r = Je(lM, function(s) {
24180
24180
  return lt(e) !== s.target.isExpanded;
24181
24181
  }), this._createEntries(e, r)) : R(t, "bpmn:StartEvent") && nr(t.$parent) ? (r = Je(aM, function(s) {
@@ -24190,10 +24190,10 @@ Sr.prototype.getEntries = function(e) {
24190
24190
  return !1;
24191
24191
  var u = l.cancelActivity !== !1, c = t.cancelActivity == u;
24192
24192
  return o(s) || !o(s) && !c;
24193
- }), this._createEntries(e, r)) : R(t, "bpmn:IntermediateCatchEvent") || R(t, "bpmn:IntermediateThrowEvent") ? (r = Je(Qk, o), this._createEntries(e, r)) : R(t, "bpmn:Gateway") ? (r = Je(eM, o), this._createEntries(e, r)) : R(t, "bpmn:Transaction") ? (r = Je(iw, o), this._createEntries(e, r)) : nr(t) && lt(e) ? (r = Je(nM, o), this._createEntries(e, r)) : R(t, "bpmn:SubProcess") && lt(e) ? (r = Je(tM, o), this._createEntries(e, r)) : R(t, "bpmn:AdHocSubProcess") && !lt(e) ? (r = Je(n0, function(s) {
24193
+ }), this._createEntries(e, r)) : R(t, "bpmn:IntermediateCatchEvent") || R(t, "bpmn:IntermediateThrowEvent") ? (r = Je(Qk, o), this._createEntries(e, r)) : R(t, "bpmn:Gateway") ? (r = Je(eM, o), this._createEntries(e, r)) : R(t, "bpmn:Transaction") ? (r = Je(iw, o), this._createEntries(e, r)) : nr(t) && lt(e) ? (r = Je(nM, o), this._createEntries(e, r)) : R(t, "bpmn:SubProcess") && lt(e) ? (r = Je(tM, o), this._createEntries(e, r)) : R(t, "bpmn:AdHocSubProcess") && !lt(e) ? (r = Je(nb, function(s) {
24194
24194
  var l = s.target, u = l.type === "bpmn:SubProcess", c = l.isExpanded === !0;
24195
- return t0(e) && (!u || c);
24196
- }), this._createEntries(e, r)) : R(t, "bpmn:SequenceFlow") ? this._createSequenceFlowEntries(e, sM) : R(t, "bpmn:FlowNode") ? (r = Je(n0, o), R(t, "bpmn:SubProcess") && !lt(e) && (r = Je(r, function(s) {
24195
+ return tb(e) && (!u || c);
24196
+ }), this._createEntries(e, r)) : R(t, "bpmn:SequenceFlow") ? this._createSequenceFlowEntries(e, sM) : R(t, "bpmn:FlowNode") ? (r = Je(nb, o), R(t, "bpmn:SubProcess") && !lt(e) && (r = Je(r, function(s) {
24197
24197
  return s.label !== "Sub Process (collapsed)";
24198
24198
  })), this._createEntries(e, r)) : [];
24199
24199
  };
@@ -24642,7 +24642,7 @@ Jl.prototype.getContextPadEntries = function(e) {
24642
24642
  d("Append SignalIntermediateCatchEvent"),
24643
24643
  { eventDefinitionType: "bpmn:SignalEventDefinition" }
24644
24644
  )
24645
- }) : r0(m, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? Y(v, {
24645
+ }) : rb(m, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? Y(v, {
24646
24646
  "append.compensation-activity": w(
24647
24647
  "bpmn:Task",
24648
24648
  "bpmn-icon-task",
@@ -24651,7 +24651,7 @@ Jl.prototype.getContextPadEntries = function(e) {
24651
24651
  isForCompensation: !0
24652
24652
  }
24653
24653
  )
24654
- }) : !R(m, "bpmn:EndEvent") && !m.isForCompensation && !r0(m, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !nr(m) && Y(v, {
24654
+ }) : !R(m, "bpmn:EndEvent") && !m.isForCompensation && !rb(m, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !nr(m) && Y(v, {
24655
24655
  "append.end-event": w(
24656
24656
  "bpmn:EndEvent",
24657
24657
  "bpmn-icon-end-event-none",
@@ -24751,7 +24751,7 @@ Jl.prototype.getContextPadEntries = function(e) {
24751
24751
  }
24752
24752
  }), v;
24753
24753
  };
24754
- function r0(e, t, n) {
24754
+ function rb(e, t, n) {
24755
24755
  var r = e.$instanceOf(t), o = !1, s = e.eventDefinitions || [];
24756
24756
  return j(s, function(l) {
24757
24757
  l.$type === n && (o = !0);
@@ -24772,7 +24772,7 @@ const _M = {
24772
24772
  __init__: ["contextPadProvider"],
24773
24773
  contextPadProvider: ["type", Jl]
24774
24774
  };
24775
- var sw = ".djs-palette-toggle", lw = ".entry", xM = sw + ", " + lw, yh = "djs-palette-", wM = "shown", bh = "open", i0 = "two-column", SM = 1e3;
24775
+ var sw = ".djs-palette-toggle", lw = ".entry", xM = sw + ", " + lw, yh = "djs-palette-", wM = "shown", bh = "open", ib = "two-column", SM = 1e3;
24776
24776
  function Ut(e, t) {
24777
24777
  this._eventBus = e, this._canvas = t;
24778
24778
  var n = this;
@@ -24826,7 +24826,7 @@ Ut.prototype._getProviders = function(e) {
24826
24826
  Ut.prototype._toggleState = function(e) {
24827
24827
  e = e || {};
24828
24828
  var t = this._getParentContainer(), n = this._container, r = this._eventBus, o, s = dn(n), l = dn(t);
24829
- "twoColumn" in e ? o = e.twoColumn : o = this._needsCollapse(t.clientHeight, this._entries || {}), s.toggle(i0, o), l.toggle(yh + i0, o), "open" in e && (s.toggle(bh, e.open), l.toggle(yh + bh, e.open)), r.fire("palette.changed", {
24829
+ "twoColumn" in e ? o = e.twoColumn : o = this._needsCollapse(t.clientHeight, this._entries || {}), s.toggle(ib, o), l.toggle(yh + ib, o), "open" in e && (s.toggle(bh, e.open), l.toggle(yh + bh, e.open)), r.fire("palette.changed", {
24830
24830
  twoColumn: o,
24831
24831
  open: this.isOpen()
24832
24832
  });
@@ -25804,7 +25804,7 @@ const KM = {
25804
25804
  var YM = {
25805
25805
  horizontal: ["x", "width"],
25806
25806
  vertical: ["y", "height"]
25807
- }, o0 = 5;
25807
+ }, ob = 5;
25808
25808
  function Bi(e, t) {
25809
25809
  this._modeling = e, this._filters = [], this.registerFilter(function(n) {
25810
25810
  var r = t.allowed("elements.distribute", { elements: n });
@@ -25848,8 +25848,8 @@ Bi.prototype._hasIntersection = function(e, t) {
25848
25848
  Bi.prototype._findRange = function(e) {
25849
25849
  var t = e[this._axis], n = e[this._dimension];
25850
25850
  return {
25851
- min: t + o0,
25852
- max: t + n - o0
25851
+ min: t + ob,
25852
+ max: t + n - ob
25853
25853
  };
25854
25854
  };
25855
25855
  const qM = {
@@ -25883,7 +25883,7 @@ var XM = {
25883
25883
  horizontal: "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201800%201800%22%3E%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bstroke-linejoin%3Around%22%20d%3D%22M450%20400V150h900v250%22%2F%3E%3Crect%20x%3D%22150%22%20y%3D%22450%22%20width%3D%22600%22%20height%3D%221200%22%20rx%3D%221%22%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%22%2F%3E%3Crect%20x%3D%221050%22%20y%3D%22450%22%20width%3D%22600%22%20height%3D%22800%22%20rx%3D%221%22%20style%3D%22fill%3AcurrentColor%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bopacity%3A.5%22%2F%3E%3C%2Fsvg%3E",
25884
25884
  vertical: "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201800%201800%22%3E%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bstroke-linejoin%3Around%22%20d%3D%22M400%201350H150V450h250%22%2F%3E%3Crect%20x%3D%22450%22%20y%3D%22150%22%20width%3D%221200%22%20height%3D%22600%22%20rx%3D%221%22%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%22%2F%3E%3Crect%20x%3D%22450%22%20y%3D%221050%22%20width%3D%22800%22%20height%3D%22600%22%20rx%3D%221%22%20style%3D%22fill%3AcurrentColor%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bopacity%3A.5%22%2F%3E%3C%2Fsvg%3E"
25885
25885
  };
25886
- const a0 = XM;
25886
+ const ab = XM;
25887
25887
  var ZM = 900;
25888
25888
  function nu(e, t, n, r) {
25889
25889
  this._distributeElements = t, this._translate = n, this._popupMenu = e, this._rules = r, e.registerProvider("align-elements", ZM, this);
@@ -25907,7 +25907,7 @@ nu.prototype._getEntries = function(e) {
25907
25907
  group: "distribute",
25908
25908
  title: n("Distribute elements horizontally"),
25909
25909
  className: "bjs-align-elements-menu-entry",
25910
- imageUrl: a0.horizontal,
25910
+ imageUrl: ab.horizontal,
25911
25911
  action: function(s, l) {
25912
25912
  t.trigger(e, "horizontal"), r.close();
25913
25913
  }
@@ -25915,7 +25915,7 @@ nu.prototype._getEntries = function(e) {
25915
25915
  "distribute-elements-vertical": {
25916
25916
  group: "distribute",
25917
25917
  title: n("Distribute elements vertically"),
25918
- imageUrl: a0.vertical,
25918
+ imageUrl: ab.vertical,
25919
25919
  action: function(s, l) {
25920
25920
  t.trigger(e, "vertical"), r.close();
25921
25921
  }
@@ -26159,7 +26159,7 @@ function iN(e, t) {
26159
26159
  var u = n.direction;
26160
26160
  r && (zc(t) ? (l.x.min = r.left, l.x.max = r.right) : (l.y.min = r.top, l.y.max = r.bottom));
26161
26161
  var c = o.min, d = o.max;
26162
- return c && (zc(t) ? l0(u) ? l.x.max = c.left : l.x.min = c.right : s0(u) ? l.y.max = c.top : l.y.min = c.bottom), d && (zc(t) ? l0(u) ? l.x.min = d.left : l.x.max = d.right : s0(u) ? l.y.min = d.top : l.y.max = d.bottom), l[t];
26162
+ return c && (zc(t) ? lb(u) ? l.x.max = c.left : l.x.min = c.right : sb(u) ? l.y.max = c.top : l.y.min = c.bottom), d && (zc(t) ? lb(u) ? l.x.min = d.left : l.x.max = d.right : sb(u) ? l.y.min = d.top : l.y.max = d.bottom), l[t];
26163
26163
  }
26164
26164
  function oN(e, t, n) {
26165
26165
  var r = e.context, o = e.shape, s = r.gridSnappingContext, l = s.snapLocation, u = s.snapOffset;
@@ -26168,10 +26168,10 @@ function oN(e, t, n) {
26168
26168
  function zc(e) {
26169
26169
  return e === "x";
26170
26170
  }
26171
- function s0(e) {
26171
+ function sb(e) {
26172
26172
  return e.indexOf("n") !== -1;
26173
26173
  }
26174
- function l0(e) {
26174
+ function lb(e) {
26175
26175
  return e.indexOf("w") !== -1;
26176
26176
  }
26177
26177
  function Sa(e, t) {
@@ -26449,15 +26449,15 @@ const xN = {
26449
26449
  var wN = {
26450
26450
  moveSpeed: 1,
26451
26451
  moveSpeedAccelerated: 10
26452
- }, SN = 1500, u0 = "left", c0 = "up", p0 = "right", f0 = "down", CN = {
26453
- ArrowLeft: u0,
26454
- Left: u0,
26455
- ArrowUp: c0,
26456
- Up: c0,
26457
- ArrowRight: p0,
26458
- Right: p0,
26459
- ArrowDown: f0,
26460
- Down: f0
26452
+ }, SN = 1500, ub = "left", cb = "up", pb = "right", fb = "down", CN = {
26453
+ ArrowLeft: ub,
26454
+ Left: ub,
26455
+ ArrowUp: cb,
26456
+ Up: cb,
26457
+ ArrowRight: pb,
26458
+ Right: pb,
26459
+ ArrowDown: fb,
26460
+ Down: fb
26461
26461
  }, TN = {
26462
26462
  left: function(e) {
26463
26463
  return {
@@ -26519,7 +26519,7 @@ const AN = {
26519
26519
  ],
26520
26520
  keyboardMoveSelection: ["type", mw]
26521
26521
  };
26522
- var d0 = 10;
26522
+ var db = 10;
26523
26523
  function iu(e, t, n, r) {
26524
26524
  this._dragging = r, this._rules = t;
26525
26525
  var o = this;
@@ -26575,8 +26575,8 @@ iu.prototype.activate = function(e, t, n) {
26575
26575
  iu.prototype.computeMinResizeBox = function(e) {
26576
26576
  var t = e.shape, n = e.direction, r, o;
26577
26577
  return r = e.minDimensions || {
26578
- width: d0,
26579
- height: d0
26578
+ width: db,
26579
+ height: db
26580
26580
  }, o = aw(t, e.childrenBoxPadding), hM(n, t, r, o);
26581
26581
  };
26582
26582
  iu.$inject = [
@@ -26599,15 +26599,15 @@ function RN(e) {
26599
26599
  var t = "resize-";
26600
26600
  return e === "n" || e === "s" ? t + "ns" : e === "e" || e === "w" ? t + "ew" : e === "nw" || e === "se" ? t + "nwse" : t + "nesw";
26601
26601
  }
26602
- var h0 = "djs-resizing", v0 = "resize-not-ok", DN = 500;
26602
+ var hb = "djs-resizing", vb = "resize-not-ok", DN = 500;
26603
26603
  function yw(e, t, n) {
26604
26604
  function r(s) {
26605
26605
  var l = s.shape, u = s.newBounds, c = s.frame;
26606
- c || (c = s.frame = n.addFrame(l, t.getActiveLayer()), t.addMarker(l, h0)), u.width > 5 && Se(c, { x: u.x, width: u.width }), u.height > 5 && Se(c, { y: u.y, height: u.height }), s.canExecute ? ot(c).remove(v0) : ot(c).add(v0);
26606
+ c || (c = s.frame = n.addFrame(l, t.getActiveLayer()), t.addMarker(l, hb)), u.width > 5 && Se(c, { x: u.x, width: u.width }), u.height > 5 && Se(c, { y: u.y, height: u.height }), s.canExecute ? ot(c).remove(vb) : ot(c).add(vb);
26607
26607
  }
26608
26608
  function o(s) {
26609
26609
  var l = s.shape, u = s.frame;
26610
- u && zt(s.frame), t.removeMarker(l, h0);
26610
+ u && zt(s.frame), t.removeMarker(l, hb);
26611
26611
  }
26612
26612
  e.on("resize.move", DN, function(s) {
26613
26613
  r(s.context);
@@ -26883,7 +26883,7 @@ function BN(e) {
26883
26883
  function FN(e) {
26884
26884
  return !e || !e.trim();
26885
26885
  }
26886
- var m0 = "djs-element-hidden", g0 = "djs-label-hidden";
26886
+ var mb = "djs-element-hidden", gb = "djs-label-hidden";
26887
26887
  function Ew(e, t, n, r) {
26888
26888
  var o = this, s = t.getDefaultLayer(), l, u, c;
26889
26889
  e.on("directEditing.activate", function(d) {
@@ -26906,7 +26906,7 @@ function Ew(e, t, n, r) {
26906
26906
  stroke: $N(l)
26907
26907
  }), Ve(c, y), Ve(s, c), tr(c, l.x, l.y);
26908
26908
  }
26909
- R(l, "bpmn:TextAnnotation") || l.labelTarget ? t.addMarker(l, m0) : (R(l, "bpmn:Task") || R(l, "bpmn:CallActivity") || R(l, "bpmn:SubProcess") || R(l, "bpmn:Participant")) && t.addMarker(l, g0);
26909
+ R(l, "bpmn:TextAnnotation") || l.labelTarget ? t.addMarker(l, mb) : (R(l, "bpmn:Task") || R(l, "bpmn:CallActivity") || R(l, "bpmn:SubProcess") || R(l, "bpmn:Participant")) && t.addMarker(l, gb);
26910
26910
  }), e.on("directEditing.resize", function(d) {
26911
26911
  if (R(l, "bpmn:TextAnnotation")) {
26912
26912
  var v = d.height, m = d.dy, y = Math.max(l.height / u.height * (v + m), 0), b = r.getScaledPath("TEXT_ANNOTATION", {
@@ -26925,7 +26925,7 @@ function Ew(e, t, n, r) {
26925
26925
  }
26926
26926
  }), e.on(["directEditing.complete", "directEditing.cancel"], function(d) {
26927
26927
  var v = d.active;
26928
- v && (t.removeMarker(v.element.label || v.element, m0), t.removeMarker(l, g0)), l = void 0, u = void 0, c && (zt(c), c = void 0);
26928
+ v && (t.removeMarker(v.element.label || v.element, mb), t.removeMarker(l, gb)), l = void 0, u = void 0, c && (zt(c), c = void 0);
26929
26929
  });
26930
26930
  }
26931
26931
  Ew.$inject = [
@@ -27099,26 +27099,26 @@ Ov.$inject = [
27099
27099
  "injector",
27100
27100
  "modeling"
27101
27101
  ];
27102
- var y0 = 500;
27102
+ var yb = 500;
27103
27103
  function Jp(e, t) {
27104
27104
  t.invoke(ge, this), this._bpmnReplace = e;
27105
27105
  var n = this;
27106
- this.postExecuted("elements.create", y0, function(r) {
27106
+ this.postExecuted("elements.create", yb, function(r) {
27107
27107
  var o = r.elements;
27108
27108
  o = o.filter(function(s) {
27109
27109
  var l = s.host;
27110
- return b0(s, l);
27110
+ return bb(s, l);
27111
27111
  }), o.length === 1 && o.map(function(s) {
27112
27112
  return o.indexOf(s);
27113
27113
  }).forEach(function(s) {
27114
27114
  var l = o[s];
27115
27115
  r.elements[s] = n.replaceShape(o[s], l);
27116
27116
  });
27117
- }, !0), this.preExecute("elements.move", y0, function(r) {
27117
+ }, !0), this.preExecute("elements.move", yb, function(r) {
27118
27118
  var o = r.shapes, s = r.newHost;
27119
27119
  if (o.length === 1) {
27120
27120
  var l = o[0];
27121
- b0(l, s) && (r.shapes = [n.replaceShape(l, s)]);
27121
+ bb(l, s) && (r.shapes = [n.replaceShape(l, s)]);
27122
27122
  }
27123
27123
  }, !0);
27124
27124
  }
@@ -27138,7 +27138,7 @@ function GN(e) {
27138
27138
  var t = Ce(e), n = t.eventDefinitions;
27139
27139
  return n && n[0];
27140
27140
  }
27141
- function b0(e, t) {
27141
+ function bb(e, t) {
27142
27142
  return !fn(e) && nt(e, ["bpmn:IntermediateThrowEvent", "bpmn:IntermediateCatchEvent"]) && !!t;
27143
27143
  }
27144
27144
  function Iv(e, t) {
@@ -27271,19 +27271,19 @@ function qN(e) {
27271
27271
  return R(t, "bpmn:Participant");
27272
27272
  });
27273
27273
  }
27274
- var E0 = "__targetRef_placeholder";
27274
+ var Eb = "__targetRef_placeholder";
27275
27275
  function Hv(e, t) {
27276
27276
  ge.call(this, e), this.executed([
27277
27277
  "connection.create",
27278
27278
  "connection.delete",
27279
27279
  "connection.move",
27280
27280
  "connection.reconnect"
27281
- ], _0(s)), this.reverted([
27281
+ ], _b(s)), this.reverted([
27282
27282
  "connection.create",
27283
27283
  "connection.delete",
27284
27284
  "connection.move",
27285
27285
  "connection.reconnect"
27286
- ], _0(s));
27286
+ ], _b(s));
27287
27287
  function n(l, u, c) {
27288
27288
  var d = l.get("dataInputAssociations");
27289
27289
  return ut(d, function(v) {
@@ -27292,10 +27292,10 @@ function Hv(e, t) {
27292
27292
  }
27293
27293
  function r(l, u) {
27294
27294
  var c = l.get("properties"), d = ut(c, function(v) {
27295
- return v.name === E0;
27295
+ return v.name === Eb;
27296
27296
  });
27297
27297
  return !d && u && (d = t.create("bpmn:Property", {
27298
- name: E0
27298
+ name: Eb
27299
27299
  }), Qt(c, d)), d;
27300
27300
  }
27301
27301
  function o(l, u) {
@@ -27312,7 +27312,7 @@ Hv.$inject = [
27312
27312
  "bpmnFactory"
27313
27313
  ];
27314
27314
  Re(Hv, ge);
27315
- function _0(e) {
27315
+ function _b(e) {
27316
27316
  return function(t) {
27317
27317
  var n = t.context, r = n.connection;
27318
27318
  if (R(r, "bpmn:DataInputAssociation"))
@@ -27455,25 +27455,25 @@ jv.$inject = [
27455
27455
  "spaceTool"
27456
27456
  ];
27457
27457
  Re(jv, ge);
27458
- var x0 = 500;
27458
+ var xb = 500;
27459
27459
  function tf(e, t) {
27460
27460
  t.invoke(ge, this), this._bpmnReplace = e;
27461
27461
  var n = this;
27462
- this.postExecuted("elements.create", x0, function(r) {
27462
+ this.postExecuted("elements.create", xb, function(r) {
27463
27463
  var o = r.elements;
27464
27464
  o.filter(function(s) {
27465
27465
  var l = s.host;
27466
- return w0(s, l);
27466
+ return wb(s, l);
27467
27467
  }).map(function(s) {
27468
27468
  return o.indexOf(s);
27469
27469
  }).forEach(function(s) {
27470
27470
  r.elements[s] = n.replaceShape(o[s]);
27471
27471
  });
27472
- }, !0), this.preExecute("elements.move", x0, function(r) {
27472
+ }, !0), this.preExecute("elements.move", xb, function(r) {
27473
27473
  var o = r.shapes, s = r.newHost;
27474
27474
  o.forEach(function(l, u) {
27475
27475
  var c = l.host;
27476
- w0(l, eL(o, c) ? c : s) && (o[u] = n.replaceShape(l));
27476
+ wb(l, eL(o, c) ? c : s) && (o[u] = n.replaceShape(l));
27477
27477
  });
27478
27478
  }, !0);
27479
27479
  }
@@ -27495,7 +27495,7 @@ function JN(e) {
27495
27495
  var t = Ce(e), n = t.eventDefinitions;
27496
27496
  return n && n[0];
27497
27497
  }
27498
- function w0(e, t) {
27498
+ function wb(e, t) {
27499
27499
  return !fn(e) && R(e, "bpmn:BoundaryEvent") && !t;
27500
27500
  }
27501
27501
  function eL(e, t) {
@@ -27510,7 +27510,7 @@ function Wv(e, t, n) {
27510
27510
  if (D) {
27511
27511
  if (c = u.slice(0, D.index), d = u.slice(D.index + (D.bendpoint ? 1 : 0)), !c.length || !d.length)
27512
27512
  return;
27513
- v = D.bendpoint ? u[D.index] : B, (c.length === 1 || !S0(o, c[c.length - 1])) && c.push(C0(v)), (d.length === 1 || !S0(o, d[0])) && d.unshift(C0(v));
27513
+ v = D.bendpoint ? u[D.index] : B, (c.length === 1 || !Sb(o, c[c.length - 1])) && c.push(Cb(v)), (d.length === 1 || !Sb(o, d[0])) && d.unshift(Cb(v));
27514
27514
  }
27515
27515
  m = s.source, y = s.target, t.canConnect(m, o, s) && (n.reconnectEnd(s, o, c || B), b = s), t.canConnect(o, y, s) && (b ? _ = n.connect(
27516
27516
  o,
@@ -27557,11 +27557,11 @@ Wv.$inject = [
27557
27557
  "bpmnRules",
27558
27558
  "modeling"
27559
27559
  ];
27560
- function S0(e, t) {
27560
+ function Sb(e, t) {
27561
27561
  var n = t.x, r = t.y;
27562
27562
  return n >= e.x && n <= e.x + e.width && r >= e.y && r <= e.y + e.height;
27563
27563
  }
27564
- function C0(e) {
27564
+ function Cb(e) {
27565
27565
  return Y({}, e);
27566
27566
  }
27567
27567
  function Uv(e, t) {
@@ -27665,7 +27665,7 @@ function aL(e) {
27665
27665
  var t = e.$parent;
27666
27666
  return t && (Wt(t.get("rootElements"), e), e.$parent = null), e;
27667
27667
  }
27668
- var T0 = 770;
27668
+ var Tb = 770;
27669
27669
  function Gv(e, t, n, r, o, s) {
27670
27670
  o.invoke(ge, this);
27671
27671
  function l() {
@@ -27733,7 +27733,7 @@ function Gv(e, t, n, r, o, s) {
27733
27733
  var T = e.create(_.$type);
27734
27734
  return s.copyElement(_, T, null, w);
27735
27735
  }
27736
- r.on("copyPaste.copyElement", T0, function(_) {
27736
+ r.on("copyPaste.copyElement", Tb, function(_) {
27737
27737
  var w = _.descriptor, T = _.element;
27738
27738
  if (!(!R(T, "bpmn:Group") || T.labelTarget)) {
27739
27739
  var B = Ce(T);
@@ -27742,7 +27742,7 @@ function Gv(e, t, n, r, o, s) {
27742
27742
  w.categoryValue = b(D, !0), D.$parent && (w.category = b(D.$parent, !0));
27743
27743
  }
27744
27744
  }
27745
- }), r.on("copyPaste.pasteElement", T0, function(_) {
27745
+ }), r.on("copyPaste.pasteElement", Tb, function(_) {
27746
27746
  var w = _.descriptor, T = w.businessObject, B = w.categoryValue, D = w.category;
27747
27747
  B && (B = T.categoryValueRef = b(B)), D && (B.$parent = b(D)), delete w.category, delete w.categoryValue;
27748
27748
  });
@@ -27772,7 +27772,7 @@ function Sw(e) {
27772
27772
  x: s.x - 50,
27773
27773
  y: s.y
27774
27774
  }, c = xh(r, o, s, l), d = xh(r, o, s, u), v;
27775
- c && d ? A0(c, s) > A0(d, s) ? v = d : v = c : v = c || d, r.original = v;
27775
+ c && d ? Ab(c, s) > Ab(d, s) ? v = d : v = c : v = c || d, r.original = v;
27776
27776
  }
27777
27777
  function n(r) {
27778
27778
  var o = r.waypoints;
@@ -27794,7 +27794,7 @@ function Sw(e) {
27794
27794
  Sw.$inject = [
27795
27795
  "eventBus"
27796
27796
  ];
27797
- function A0(e, t) {
27797
+ function Ab(e, t) {
27798
27798
  return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
27799
27799
  }
27800
27800
  function Vv(e) {
@@ -27810,23 +27810,23 @@ function Vv(e) {
27810
27810
  }
27811
27811
  Vv.$inject = ["eventBus"];
27812
27812
  Re(Vv, ge);
27813
- var Cw = Math.sqrt, Tw = Math.min, sL = Math.max, P0 = Math.abs;
27814
- function R0(e) {
27813
+ var Cw = Math.sqrt, Tw = Math.min, sL = Math.max, Pb = Math.abs;
27814
+ function Rb(e) {
27815
27815
  return Math.pow(e, 2);
27816
27816
  }
27817
27817
  function fl(e, t) {
27818
- return Cw(R0(e.x - t.x) + R0(e.y - t.y));
27818
+ return Cw(Rb(e.x - t.x) + Rb(e.y - t.y));
27819
27819
  }
27820
27820
  function lL(e, t) {
27821
27821
  var n = 0, r, o, s, l, u, c, d, v, m, y, b;
27822
27822
  for (n = 0; n < t.length - 1; n++) {
27823
- if (r = t[n], o = t[n + 1], k0(r, o) ? d = [r] : (s = fl(e, r), l = fl(e, o), c = Tw(s, l), d = uL(r, o, e, c)), d.length < 1)
27823
+ if (r = t[n], o = t[n + 1], kb(r, o) ? d = [r] : (s = fl(e, r), l = fl(e, o), c = Tw(s, l), d = uL(r, o, e, c)), d.length < 1)
27824
27824
  throw new Error("expected between [1, 2] circle -> line intersections");
27825
27825
  d.length === 1 && (v = {
27826
27826
  type: "bendpoint",
27827
27827
  position: d[0],
27828
27828
  segmentIndex: n,
27829
- bendpointIndex: k0(r, d[0]) ? n : n + 1
27829
+ bendpointIndex: kb(r, d[0]) ? n : n + 1
27830
27830
  }), d.length === 2 && (u = pL(d[0], d[1]), v = {
27831
27831
  type: "segment",
27832
27832
  position: u,
@@ -27855,9 +27855,9 @@ function uL(e, t, n, r) {
27855
27855
  });
27856
27856
  }
27857
27857
  function cL(e, t, n) {
27858
- return D0(e.x, t.x, n.x) && D0(e.y, t.y, n.y);
27858
+ return Db(e.x, t.x, n.x) && Db(e.y, t.y, n.y);
27859
27859
  }
27860
- function D0(e, t, n) {
27860
+ function Db(e, t, n) {
27861
27861
  return e >= Tw(t, n) - lp && e <= sL(t, n) + lp;
27862
27862
  }
27863
27863
  function pL(e, t) {
@@ -27867,8 +27867,8 @@ function pL(e, t) {
27867
27867
  };
27868
27868
  }
27869
27869
  var lp = 0.1;
27870
- function k0(e, t) {
27871
- return P0(e.x - t.x) <= lp && P0(e.y - t.y) <= lp;
27870
+ function kb(e, t) {
27871
+ return Pb(e.x - t.x) <= lp && Pb(e.y - t.y) <= lp;
27872
27872
  }
27873
27873
  function fL(e, t, n, r) {
27874
27874
  var o = n.segmentIndex, s = t.length - e.length;
@@ -27895,7 +27895,7 @@ function Aw(e, t, n, r) {
27895
27895
  }, u = lL(e, n), c = u.segmentIndex, d = fL(n, t, u, r);
27896
27896
  if (d < 0 || d > t.length - 2 || d === null)
27897
27897
  return l;
27898
- var v = M0(n, c), m = M0(t, d), y = u.position, b = hL(v, y), _ = dL(v, m);
27898
+ var v = Mb(n, c), m = Mb(t, d), y = u.position, b = hL(v, y), _ = dL(v, m);
27899
27899
  if (u.type === "bendpoint") {
27900
27900
  var w = t.length - n.length, T = u.bendpointIndex, B = n[T];
27901
27901
  if (t.indexOf(B) !== -1)
@@ -27935,10 +27935,10 @@ function Pw(e, t) {
27935
27935
  return o;
27936
27936
  }
27937
27937
  function dL(e, t) {
27938
- var n = Ab(e), r = Ab(t);
27938
+ var n = A0(e), r = A0(t);
27939
27939
  return r - n;
27940
27940
  }
27941
- function M0(e, t) {
27941
+ function Mb(e, t) {
27942
27942
  return [e[t], e[t + 1]];
27943
27943
  }
27944
27944
  function hL(e, t) {
@@ -27965,7 +27965,7 @@ function au(e, t, n) {
27965
27965
  y: o.y + l.y
27966
27966
  });
27967
27967
  }
27968
- function N0(e, t, n) {
27968
+ function Nb(e, t, n) {
27969
27969
  var r = El(e), o = El(t), s = El(n), l = Or(e, r), u = Or(r, o), c = gL(r, t, n);
27970
27970
  if (c)
27971
27971
  return c;
@@ -28025,11 +28025,11 @@ function EL(e, t) {
28025
28025
  var _L = {
28026
28026
  width: 90,
28027
28027
  height: 20
28028
- }, L0 = "name", O0 = "text";
28028
+ }, Lb = "name", Ob = "text";
28029
28029
  function Kv(e, t, n, r) {
28030
28030
  ge.call(this, e), this.postExecute("element.updateProperties", function(s) {
28031
28031
  var l = s.context, u = l.element, c = l.properties;
28032
- if (L0 in c && t.updateLabel(u, c[L0]), O0 in c && R(u, "bpmn:TextAnnotation")) {
28032
+ if (Lb in c && t.updateLabel(u, c[Lb]), Ob in c && R(u, "bpmn:TextAnnotation")) {
28033
28033
  var d = r.getTextAnnotationBounds(
28034
28034
  {
28035
28035
  x: u.x,
@@ -28037,7 +28037,7 @@ function Kv(e, t, n, r) {
28037
28037
  width: u.width,
28038
28038
  height: u.height
28039
28039
  },
28040
- c[O0] || ""
28040
+ c[Ob] || ""
28041
28041
  );
28042
28042
  t.updateLabel(u, c.text, d);
28043
28043
  }
@@ -28493,12 +28493,12 @@ function zL(e, t, n) {
28493
28493
  max: c
28494
28494
  };
28495
28495
  }
28496
- var I0 = 1001;
28496
+ var Ib = 1001;
28497
28497
  function Iw(e, t) {
28498
- e.on("resize.start", I0 + 500, function(n) {
28498
+ e.on("resize.start", Ib + 500, function(n) {
28499
28499
  var r = n.context, o = r.shape;
28500
28500
  (R(o, "bpmn:Lane") || R(o, "bpmn:Participant")) && (r.balanced = !ha(n));
28501
- }), e.on("resize.end", I0, function(n) {
28501
+ }), e.on("resize.end", Ib, function(n) {
28502
28502
  var r = n.context, o = r.shape, s = r.canExecute, l = r.newBounds;
28503
28503
  if (R(o, "bpmn:Lane") || R(o, "bpmn:Participant"))
28504
28504
  return s && (l = QE(l), t.resizeLane(o, l, r.balanced)), !1;
@@ -28626,7 +28626,7 @@ function Fw(e, t) {
28626
28626
  if (r = e[n], t >= r.y && t <= r.y + r.height)
28627
28627
  return o = xo(r), o.length ? Fw(o, t) : r;
28628
28628
  }
28629
- var B0 = 400, qL = 600, F0 = {
28629
+ var Bb = 400, qL = 600, Fb = {
28630
28630
  x: 180,
28631
28631
  y: 160
28632
28632
  };
@@ -28705,13 +28705,13 @@ function Co(e, t, n, r, o, s, l) {
28705
28705
  }, !0), t.on("element.changed", function(m) {
28706
28706
  var y = m.element;
28707
28707
  if (Sd(y)) {
28708
- var b = y, _ = l.get(rb(b));
28708
+ var b = y, _ = l.get(r0(b));
28709
28709
  !_ || _ === b || t.fire("element.changed", { element: _ });
28710
28710
  }
28711
- }), this.executed("shape.toggleCollapse", B0, function(m) {
28711
+ }), this.executed("shape.toggleCollapse", Bb, function(m) {
28712
28712
  var y = m.shape;
28713
28713
  R(y, "bpmn:SubProcess") && (lt(y) ? v(m) : (d(m), u._showRecursively(y.children)));
28714
- }, !0), this.reverted("shape.toggleCollapse", B0, function(m) {
28714
+ }, !0), this.reverted("shape.toggleCollapse", Bb, function(m) {
28715
28715
  var y = m.shape;
28716
28716
  R(y, "bpmn:SubProcess") && (lt(y) ? v(m) : (d(m), u._showRecursively(y.children)));
28717
28717
  }, !0), this.postExecuted("shape.toggleCollapse", qL, function(m) {
@@ -28729,7 +28729,7 @@ function Co(e, t, n, r, o, s, l) {
28729
28729
  }), t.on("copyPaste.copyElement", function(m) {
28730
28730
  var y = m.descriptor, b = m.element, _ = m.elements, w = b.parent, T = R(ct(w), "bpmndi:BPMNPlane");
28731
28731
  if (T) {
28732
- var B = rb(w), D = ut(_, function(k) {
28732
+ var B = r0(w), D = ut(_, function(k) {
28733
28733
  return k.id === B;
28734
28734
  });
28735
28735
  D && (y.parent = D.id);
@@ -28756,8 +28756,8 @@ Co.prototype._moveChildrenToShape = function(e, t) {
28756
28756
  var l = jt(s);
28757
28757
  if (!t.x)
28758
28758
  o = {
28759
- x: F0.x - l.x,
28760
- y: F0.y - l.y
28759
+ x: Fb.x - l.x,
28760
+ y: Fb.y - l.y
28761
28761
  };
28762
28762
  else {
28763
28763
  var u = qe(t), c = qe(l);
@@ -29110,8 +29110,8 @@ Rn.prototype.init = function() {
29110
29110
  return Vw(t, n);
29111
29111
  }), this.addRule("elements.create", function(e) {
29112
29112
  var t = e.elements, n = e.position, r = e.target;
29113
- return z0(r) && !up(t, r) ? !1 : vo(t, function(o) {
29114
- return z0(o) ? jc(o.source, o.target, o) : o.host ? xl(o, o.host, null, n) : Th(o, r, null);
29113
+ return zb(r) && !up(t, r) ? !1 : vo(t, function(o) {
29114
+ return zb(o) ? jc(o.source, o.target, o) : o.host ? xl(o, o.host, null, n) : Th(o, r, null);
29115
29115
  });
29116
29116
  }), this.addRule("elements.move", function(e) {
29117
29117
  var t = e.target, n = e.shapes, r = e.position;
@@ -29164,7 +29164,7 @@ function wh(e) {
29164
29164
  function iO(e, t) {
29165
29165
  return e === t;
29166
29166
  }
29167
- function $0(e) {
29167
+ function $b(e) {
29168
29168
  do {
29169
29169
  if (R(e, "bpmn:Process"))
29170
29170
  return Ce(e);
@@ -29185,7 +29185,7 @@ function ws(e) {
29185
29185
  return Ce(e).isForCompensation;
29186
29186
  }
29187
29187
  function oO(e, t) {
29188
- var n = $0(e), r = $0(t);
29188
+ var n = $b(e), r = $b(t);
29189
29189
  return n === r;
29190
29190
  }
29191
29191
  function aO(e) {
@@ -29194,7 +29194,7 @@ function aO(e) {
29194
29194
  function sO(e) {
29195
29195
  return R(e, "bpmn:InteractionNode") && !ws(e) && (!R(e, "bpmn:Event") || R(e, "bpmn:CatchEvent") && Hw(e, "bpmn:MessageEventDefinition")) && !(R(e, "bpmn:BoundaryEvent") && !Qr(e, "bpmn:MessageEventDefinition"));
29196
29196
  }
29197
- function H0(e) {
29197
+ function Hb(e) {
29198
29198
  for (var t = e; t = t.parent; ) {
29199
29199
  if (R(t, "bpmn:FlowElementsContainer"))
29200
29200
  return Ce(t);
@@ -29204,7 +29204,7 @@ function H0(e) {
29204
29204
  return null;
29205
29205
  }
29206
29206
  function lO(e, t) {
29207
- var n = H0(e), r = H0(t);
29207
+ var n = Hb(e), r = Hb(t);
29208
29208
  return n === r;
29209
29209
  }
29210
29210
  function Qr(e, t) {
@@ -29228,7 +29228,7 @@ function cO(e) {
29228
29228
  function pO(e) {
29229
29229
  return R(e, "bpmn:ReceiveTask") || R(e, "bpmn:IntermediateCatchEvent") && (Qr(e, "bpmn:MessageEventDefinition") || Qr(e, "bpmn:TimerEventDefinition") || Qr(e, "bpmn:ConditionalEventDefinition") || Qr(e, "bpmn:SignalEventDefinition"));
29230
29230
  }
29231
- function z0(e) {
29231
+ function zb(e) {
29232
29232
  return e.waypoints;
29233
29233
  }
29234
29234
  function fO(e) {
@@ -29360,7 +29360,7 @@ function Kw(e, t) {
29360
29360
  return cm(e) && ws(t) ? !0 : Ch(t, e) || Ch(e, t) ? !1 : yO(e, t) ? !0 : !!pm(e, t);
29361
29361
  }
29362
29362
  function Yw(e, t) {
29363
- return j0(e) && !j0(t) ? !1 : aO(e) && sO(t) && !oO(e, t);
29363
+ return jb(e) && !jb(t) ? !1 : aO(e) && sO(t) && !oO(e, t);
29364
29364
  }
29365
29365
  function qw(e, t) {
29366
29366
  return uO(e) && cO(t) && lO(e, t) && !(R(e, "bpmn:EventBasedGateway") && !pO(t));
@@ -29384,7 +29384,7 @@ function bO(e, t) {
29384
29384
  function Xw(e, t) {
29385
29385
  return fn(t) ? !0 : !(R(t, "bpmn:Lane") && !bO(e, t.parent));
29386
29386
  }
29387
- function j0(e) {
29387
+ function jb(e) {
29388
29388
  return rp(e, "bpmn:Process") || rp(e, "bpmn:Collaboration");
29389
29389
  }
29390
29390
  const EO = {
@@ -29671,11 +29671,11 @@ function Tr(e, t, n, r, o, s, l) {
29671
29671
  });
29672
29672
  }), n.on("spaceTool.move", DO, function(c) {
29673
29673
  var d = c.context, v = d.initialized;
29674
- v || (v = d.initialized = u.init(c, d)), v && U0(c);
29674
+ v || (v = d.initialized = u.init(c, d)), v && Ub(c);
29675
29675
  }), n.on("spaceTool.end", function(c) {
29676
29676
  var d = c.context, v = d.axis, m = d.direction, y = d.movingShapes, b = d.resizingShapes, _ = d.start;
29677
29677
  if (d.initialized) {
29678
- U0(c);
29678
+ Ub(c);
29679
29679
  var w = {
29680
29680
  x: 0,
29681
29681
  y: 0
@@ -29799,7 +29799,7 @@ Tr.prototype.isActive = function() {
29799
29799
  var e = this._dragging.context();
29800
29800
  return e ? /^spaceTool/.test(e.prefix) : !1;
29801
29801
  };
29802
- function W0(e) {
29802
+ function Wb(e) {
29803
29803
  return {
29804
29804
  top: e.top - Pc,
29805
29805
  right: e.right + Pc,
@@ -29807,7 +29807,7 @@ function W0(e) {
29807
29807
  left: e.left - Pc
29808
29808
  };
29809
29809
  }
29810
- function U0(e) {
29810
+ function Ub(e) {
29811
29811
  var t = e.context, n = t.spaceToolConstraints;
29812
29812
  if (n) {
29813
29813
  var r, o;
@@ -29824,7 +29824,7 @@ function kO(e, t, n, r, o) {
29824
29824
  }), w = Je(y, function(Q) {
29825
29825
  return !Ah(Q) && !Ph(Q) && ca(s, Q);
29826
29826
  }), T, B, D, k = [], P = [], M, L, U, z;
29827
- _.length && (B = W0(Oe(jt(_))), T = r - b[to[n]] + B[to[n]], n === "n" ? u.bottom = d = Ge(d) ? Math.min(d, T) : T : n === "w" ? u.right = d = Ge(d) ? Math.min(d, T) : T : n === "s" ? u.top = c = Ge(c) ? Math.max(c, T) : T : n === "e" && (u.left = c = Ge(c) ? Math.max(c, T) : T)), w.length && (D = W0(Oe(jt(w))), T = r - D[to[Ac[n]]] + b[to[Ac[n]]], n === "n" ? u.bottom = d = Ge(d) ? Math.min(d, T) : T : n === "w" ? u.right = d = Ge(d) ? Math.min(d, T) : T : n === "s" ? u.top = c = Ge(c) ? Math.max(c, T) : T : n === "e" && (u.left = c = Ge(c) ? Math.max(c, T) : T)), m && m.length && (m.forEach(function(Q) {
29827
+ _.length && (B = Wb(Oe(jt(_))), T = r - b[to[n]] + B[to[n]], n === "n" ? u.bottom = d = Ge(d) ? Math.min(d, T) : T : n === "w" ? u.right = d = Ge(d) ? Math.min(d, T) : T : n === "s" ? u.top = c = Ge(c) ? Math.max(c, T) : T : n === "e" && (u.left = c = Ge(c) ? Math.max(c, T) : T)), w.length && (D = Wb(Oe(jt(w))), T = r - D[to[Ac[n]]] + b[to[Ac[n]]], n === "n" ? u.bottom = d = Ge(d) ? Math.min(d, T) : T : n === "w" ? u.right = d = Ge(d) ? Math.min(d, T) : T : n === "s" ? u.top = c = Ge(c) ? Math.max(c, T) : T : n === "e" && (u.left = c = Ge(c) ? Math.max(c, T) : T)), m && m.length && (m.forEach(function(Q) {
29828
29828
  ca(s, Q) ? k.push(Q) : P.push(Q);
29829
29829
  }), k.length && (M = Oe(jt(k.map(qe))), L = b[to[Ac[n]]] - (M[to[Ac[n]]] - r)), P.length && (U = Oe(jt(P.map(qe))), z = U[to[n]] - (b[to[n]] - r)), n === "n" ? (T = Math.min(L || 1 / 0, z || 1 / 0), u.bottom = d = Ge(d) ? Math.min(d, T) : T) : n === "w" ? (T = Math.min(L || 1 / 0, z || 1 / 0), u.right = d = Ge(d) ? Math.min(d, T) : T) : n === "s" ? (T = Math.max(L || -1 / 0, z || -1 / 0), u.top = c = Ge(c) ? Math.max(c, T) : T) : n === "e" && (T = Math.max(L || -1 / 0, z || -1 / 0), u.left = c = Ge(c) ? Math.max(c, T) : T));
29830
29830
  var H = o && o[v.id];
@@ -29844,7 +29844,7 @@ function Ah(e) {
29844
29844
  function Ph(e) {
29845
29845
  return !!e.labelTarget;
29846
29846
  }
29847
- var Fd = "djs-dragging", G0 = "djs-resizing", NO = 250, Rc = Math.max;
29847
+ var Fd = "djs-dragging", Gb = "djs-resizing", NO = 250, Rc = Math.max;
29848
29848
  function Jw(e, t, n, r, o) {
29849
29849
  function s(l, u) {
29850
29850
  j(l, function(c) {
@@ -29912,7 +29912,7 @@ function Jw(e, t, n, r, o) {
29912
29912
  T.push({
29913
29913
  element: M,
29914
29914
  initialBounds: L
29915
- }), n.addMarker(P, G0);
29915
+ }), n.addMarker(P, Gb);
29916
29916
  }), u.frameGroup = w, u.frames = T;
29917
29917
  }
29918
29918
  var B = {
@@ -29943,7 +29943,7 @@ function Jw(e, t, n, r, o) {
29943
29943
  }), j(d, function(_) {
29944
29944
  n.removeMarker(_, Fd);
29945
29945
  }), y && (zt(m), zt(y)), j(v, function(_) {
29946
- n.removeMarker(_, G0);
29946
+ n.removeMarker(_, Gb);
29947
29947
  }), b && zt(b);
29948
29948
  });
29949
29949
  }
@@ -30245,13 +30245,13 @@ function so(e, t) {
30245
30245
  return e;
30246
30246
  }
30247
30247
  }
30248
- var zO = 250, V0 = 1400;
30248
+ var zO = 250, Vb = 1400;
30249
30249
  function hm(e, t, n) {
30250
30250
  ge.call(this, t);
30251
30251
  var r = e.get("movePreview", !1);
30252
- t.on("shape.move.start", V0, function(o) {
30252
+ t.on("shape.move.start", Vb, function(o) {
30253
30253
  var s = o.context, l = s.shapes, u = s.validatedShapes;
30254
- s.shapes = K0(l), s.validatedShapes = K0(u);
30254
+ s.shapes = Kb(l), s.validatedShapes = Kb(u);
30255
30255
  }), r && t.on("shape.move.start", zO, function(o) {
30256
30256
  var s = o.context, l = s.shapes, u = [];
30257
30257
  j(l, function(c) {
@@ -30261,7 +30261,7 @@ function hm(e, t, n) {
30261
30261
  }), j(u, function(c) {
30262
30262
  r.makeDraggable(s, c, !0);
30263
30263
  });
30264
- }), this.preExecuted("elements.move", V0, function(o) {
30264
+ }), this.preExecuted("elements.move", Vb, function(o) {
30265
30265
  var s = o.context, l = s.closure, u = l.enclosedElements, c = [];
30266
30266
  j(u, function(d) {
30267
30267
  j(d.labels, function(v) {
@@ -30290,7 +30290,7 @@ hm.$inject = [
30290
30290
  "eventBus",
30291
30291
  "modeling"
30292
30292
  ];
30293
- function K0(e) {
30293
+ function Kb(e) {
30294
30294
  return Je(e, function(t) {
30295
30295
  return e.indexOf(t.labelTarget) === -1;
30296
30296
  });
@@ -30299,11 +30299,11 @@ const jO = {
30299
30299
  __init__: ["labelSupport"],
30300
30300
  labelSupport: ["type", hm]
30301
30301
  };
30302
- var WO = 251, Y0 = 1401, q0 = "attach-ok";
30302
+ var WO = 251, Yb = 1401, qb = "attach-ok";
30303
30303
  function vm(e, t, n, r, o) {
30304
30304
  ge.call(this, t);
30305
30305
  var s = e.get("movePreview", !1);
30306
- t.on("shape.move.start", Y0, function(l) {
30306
+ t.on("shape.move.start", Yb, function(l) {
30307
30307
  var u = l.context, c = u.shapes, d = u.validatedShapes;
30308
30308
  u.shapes = UO(c), u.validatedShapes = GO(d);
30309
30309
  }), s && t.on("shape.move.start", WO, function(l) {
@@ -30317,14 +30317,14 @@ function vm(e, t, n, r, o) {
30317
30317
  var u = l.context, c = u.shapes;
30318
30318
  if (c.length === 1) {
30319
30319
  var d = c[0], v = d.host;
30320
- v && (n.addMarker(v, q0), t.once([
30320
+ v && (n.addMarker(v, qb), t.once([
30321
30321
  "shape.move.out",
30322
30322
  "shape.move.cleanup"
30323
30323
  ], function() {
30324
- n.removeMarker(v, q0);
30324
+ n.removeMarker(v, qb);
30325
30325
  }));
30326
30326
  }
30327
- }), this.preExecuted("elements.move", Y0, function(l) {
30327
+ }), this.preExecuted("elements.move", Yb, function(l) {
30328
30328
  var u = l.context, c = u.closure, d = u.shapes, v = Rh(d);
30329
30329
  j(v, function(m) {
30330
30330
  c.add(m, c.topLevel[m.host.id]);
@@ -30370,13 +30370,13 @@ function vm(e, t, n, r, o) {
30370
30370
  });
30371
30371
  m === "attach" ? o.updateAttachment(v, d) : o.removeShape(v);
30372
30372
  }), d.attachers.length && j(d.attachers, function(v) {
30373
- var m = N0(v, c, d);
30373
+ var m = Nb(v, c, d);
30374
30374
  o.moveShape(v, m, v.parent);
30375
30375
  });
30376
30376
  }), this.postExecute("shape.resize", function(l) {
30377
30377
  var u = l.context, c = u.shape, d = u.oldBounds, v = u.newBounds, m = c.attachers, y = u.hints || {};
30378
30378
  y.attachSupport !== !1 && j(m, function(b) {
30379
- var _ = N0(b, d, v);
30379
+ var _ = Nb(b, d, v);
30380
30380
  o.moveShape(b, _, b.parent), j(b.labels, function(w) {
30381
30381
  o.moveShape(w, _, w.parent);
30382
30382
  });
@@ -30878,7 +30878,7 @@ mm.prototype.preExecute = function(e) {
30878
30878
  return !m.hidden;
30879
30879
  }), c = jt(u);
30880
30880
  j(t, function(m) {
30881
- X0(m) && (m.waypoints = pn(m.waypoints, function(y) {
30881
+ Xb(m) && (m.waypoints = pn(m.waypoints, function(y) {
30882
30882
  return {
30883
30883
  x: Dc(y.x - c.x - c.width / 2 + o.x),
30884
30884
  y: Dc(y.y - c.y - c.height / 2 + o.y)
@@ -30890,7 +30890,7 @@ mm.prototype.preExecute = function(e) {
30890
30890
  });
30891
30891
  var d = mp(t), v = {};
30892
30892
  j(t, function(m) {
30893
- if (X0(m)) {
30893
+ if (Xb(m)) {
30894
30894
  v[m.id] = Ge(r) ? l.createConnection(
30895
30895
  v[m.source.id],
30896
30896
  v[m.target.id],
@@ -30922,10 +30922,10 @@ mm.prototype.preExecute = function(e) {
30922
30922
  );
30923
30923
  }), e.elements = Bh(v);
30924
30924
  };
30925
- function X0(e) {
30925
+ function Xb(e) {
30926
30926
  return !!e.waypoints;
30927
30927
  }
30928
- var Z0 = Math.round;
30928
+ var Zb = Math.round;
30929
30929
  function Ao(e) {
30930
30930
  this._canvas = e;
30931
30931
  }
@@ -30937,8 +30937,8 @@ Ao.prototype.execute = function(e) {
30937
30937
  if (!n)
30938
30938
  throw new Error("position required");
30939
30939
  return n.width !== void 0 ? Y(t, n) : Y(t, {
30940
- x: n.x - Z0(t.width / 2),
30941
- y: n.y - Z0(t.height / 2)
30940
+ x: n.x - Zb(t.width / 2),
30941
+ y: n.y - Zb(t.height / 2)
30942
30942
  }), this._canvas.addShape(t, r, o), t;
30943
30943
  };
30944
30944
  Ao.prototype.revert = function(e) {
@@ -31029,7 +31029,7 @@ function df(e) {
31029
31029
  this._modeling = e;
31030
31030
  }
31031
31031
  df.$inject = ["modeling"];
31032
- var Q0 = {
31032
+ var Qb = {
31033
31033
  x: "y",
31034
31034
  y: "x"
31035
31035
  };
@@ -31049,7 +31049,7 @@ df.prototype.preExecute = function(e) {
31049
31049
  }
31050
31050
  function d(T, B) {
31051
31051
  var D = { y: 0 };
31052
- D[r] = T - l(B), D[r] && (D[Q0[r]] = 0, t.moveElements([B], D, B.parent));
31052
+ D[r] = T - l(B), D[r] && (D[Qb[r]] = 0, t.moveElements([B], D, B.parent));
31053
31053
  }
31054
31054
  var v = n[0], m = u(n), y = n[m], b, _, w = 0;
31055
31055
  j(n, function(T, B) {
@@ -31071,7 +31071,7 @@ df.prototype.preExecute = function(e) {
31071
31071
  }), _ = Math.abs(y.range.min - v.range.max), b = Math.round((_ - w) / (n.length - 1)), !(b < n.length - 1) && j(n, function(T, B) {
31072
31072
  var D = {}, k;
31073
31073
  T === v || T === y || (k = n[B - 1], T.range.max = 0, j(T.elements, function(P, M) {
31074
- D[Q0[r]] = 0, D[r] = k.range.max - P[r] + b, T.range.min !== P[r] && (D[r] += P[r] - T.range.min), D[r] && t.moveElements([P], D, P.parent), T.range.max = Math.max(P[r] + P[o], M ? T.range.max : 0);
31074
+ D[Qb[r]] = 0, D[r] = k.range.max - P[r] + b, T.range.min !== P[r] && (D[r] += P[r] - T.range.min), D[r] && t.moveElements([P], D, P.parent), T.range.max = Math.max(P[r] + P[o], M ? T.range.max : 0);
31075
31075
  }));
31076
31076
  });
31077
31077
  };
@@ -31207,13 +31207,13 @@ pu.prototype.execute = function(e) {
31207
31207
  };
31208
31208
  pu.prototype.postExecute = function(e) {
31209
31209
  var t = e.connection, n = e.newSource, r = e.newTarget, o = e.dockingOrPoints, s = e.hints || {}, l = {};
31210
- s.connectionStart && (l.connectionStart = s.connectionStart), s.connectionEnd && (l.connectionEnd = s.connectionEnd), s.layoutConnection !== !1 && (n && (!r || s.docking === "source") && (l.connectionStart = l.connectionStart || J0(et(o) ? o[0] : o)), r && (!n || s.docking === "target") && (l.connectionEnd = l.connectionEnd || J0(et(o) ? o[o.length - 1] : o)), s.newWaypoints && (l.waypoints = s.newWaypoints), this._modeling.layoutConnection(t, l));
31210
+ s.connectionStart && (l.connectionStart = s.connectionStart), s.connectionEnd && (l.connectionEnd = s.connectionEnd), s.layoutConnection !== !1 && (n && (!r || s.docking === "source") && (l.connectionStart = l.connectionStart || Jb(et(o) ? o[0] : o)), r && (!n || s.docking === "target") && (l.connectionEnd = l.connectionEnd || Jb(et(o) ? o[o.length - 1] : o)), s.newWaypoints && (l.waypoints = s.newWaypoints), this._modeling.layoutConnection(t, l));
31211
31211
  };
31212
31212
  pu.prototype.revert = function(e) {
31213
31213
  var t = e.oldSource, n = e.oldTarget, r = e.oldWaypoints, o = e.connection;
31214
31214
  return t && (o.source = t), n && (o.target = n), r && (o.waypoints = r), o;
31215
31215
  };
31216
- function J0(e) {
31216
+ function Jb(e) {
31217
31217
  return e.original || e;
31218
31218
  }
31219
31219
  function Fi(e, t) {
@@ -34634,7 +34634,7 @@ function ZB(e, t, n, r, o, s) {
34634
34634
  e.bpmnFormData.$type == "bpmn:EndEvent" ? (Ke(), ht(c, {
34635
34635
  key: 0,
34636
34636
  label: "节点名称",
34637
- prop: "name"
34637
+ name: "name"
34638
34638
  }, {
34639
34639
  default: se(() => [
34640
34640
  ae(u, {
@@ -34663,7 +34663,7 @@ function ZB(e, t, n, r, o, s) {
34663
34663
  })) : e.bpmnFormData.$type !== "bpmn:Process" ? (Ke(), ht(c, {
34664
34664
  key: 1,
34665
34665
  label: "节点名称",
34666
- prop: "name"
34666
+ name: "name"
34667
34667
  }, {
34668
34668
  default: se(() => [
34669
34669
  ae(d, {
@@ -36629,17 +36629,18 @@ function AE(e, t) {
36629
36629
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
36630
36630
  xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
36631
36631
  xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
36632
+ xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
36632
36633
  xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0"
36633
36634
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
36634
36635
  xmlns:flowable="http://flowable.org/bpmn"
36635
36636
  targetNamespace="http://www.flowable.org/processdef"
36636
36637
  >
36637
- <process id="${e}" name="${t}">
36638
- <startEvent id="start_event" name="开始" />
36638
+ <process id="${e}" name="${t}" isExecutable="true">
36639
+ <startEvent id="startEvent1" name="开始" />
36639
36640
  </process>
36640
- <bpmndi:BPMNDiagram id="BPMNDiagram_flow">
36641
- <bpmndi:BPMNPlane id="BPMNPlane_flow" bpmnElement="T-2d89e7a3-ba79-4abd-9f64-ea59621c258c">
36642
- <bpmndi:BPMNShape id="BPMNShape_start_event" bpmnElement="start_event" bioc:stroke="">
36641
+ <bpmndi:BPMNDiagram id="BPMNDiagram_${e}">
36642
+ <bpmndi:BPMNPlane id="BPMNPlane_${e}" bpmnElement="${e}">
36643
+ <bpmndi:BPMNShape id="BPMNShape_startEvent1" bpmnElement="startEvent1">
36643
36644
  <omgdc:Bounds x="240" y="200" width="30" height="30" />
36644
36645
  <bpmndi:BPMNLabel>
36645
36646
  <omgdc:Bounds x="242" y="237" width="23" height="14" />
@@ -38447,10 +38448,6 @@ const H3 = {
38447
38448
  type: Function,
38448
38449
  required: !0
38449
38450
  },
38450
- fetchUsers2: {
38451
- type: Function,
38452
- required: !0
38453
- },
38454
38451
  userRowKey: {
38455
38452
  type: String,
38456
38453
  required: !1,
@@ -38865,7 +38862,7 @@ function Z3(e, t, n, r, o, s) {
38865
38862
  ])
38866
38863
  ], 2);
38867
38864
  }
38868
- const Q3 = /* @__PURE__ */ li(z3, [["render", Z3], ["__scopeId", "data-v-1be73b7b"]]);
38865
+ const Q3 = /* @__PURE__ */ li(z3, [["render", Z3], ["__scopeId", "data-v-9966ebe5"]]);
38869
38866
  function _f(e) {
38870
38867
  var t = " ";
38871
38868
  if (isNaN(parseInt(e)))