lyflowchart 1.0.137 → 1.0.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/ActionsConfig-BrfcGMc2.js +521 -0
  2. package/dist/{ApprovalEditorModal-19j5zbe2.js → ApprovalEditorModal-HuU6SRJe.js} +1 -1
  3. package/dist/{Cell_click_approve-BGDZUzTS.js → Cell_click_approve-DiMuUB1k.js} +22 -20
  4. package/dist/{MyProcess-FWGEwQcv.js → MyProcess-C6fgOFiw.js} +1 -1
  5. package/dist/{approval-BW2WjPxY.js → approval-1GfOMaS4.js} +3 -3
  6. package/dist/{approval-BaD4Bmw6.js → approval-BlbNEsGQ.js} +1 -1
  7. package/dist/{approvalHistory-B2gpQbFC.js → approvalHistory-D-5rRWNw.js} +1 -1
  8. package/dist/{approvalPageConfig-D0zPXOUf.js → approvalPageConfig-4VU81v-x.js} +13 -13
  9. package/dist/{columnTables-DLwtgcC7.js → columnTables-DFwoawLF.js} +76 -69
  10. package/dist/components/approval/ApprovalEditorModal.vue.d.ts +2 -0
  11. package/dist/components/approval/components/approvalPageConfig/ActionsConfig.vue.d.ts +481 -0
  12. package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +1210 -0
  13. package/dist/components/approval/components/approvalPageConfig/middleColumn.vue.d.ts +605 -0
  14. package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +605 -0
  15. package/dist/components/approval/core.vue.d.ts +2 -0
  16. package/dist/components/approval/typing.d.ts +1 -1
  17. package/dist/components/approval/useApprovalRecordActions.d.ts +3 -1
  18. package/dist/constants.d.ts +26 -0
  19. package/dist/{core-Cv0Erg9E.js → core-BkpI8NUK.js} +355 -314
  20. package/dist/{debugCode-Cm9-WiUG.js → debugCode-CQm5weGM.js} +1 -1
  21. package/dist/{default-VdDMlY4e.js → default-kv1XZD9P.js} +28 -21
  22. package/dist/{example_code-C_xF8RRG.js → example_code-DKjqP7KK.js} +6 -0
  23. package/dist/index.js +18 -16
  24. package/dist/{leftColumn-CsPjufue.js → leftColumn-OrLOxcyw.js} +2 -2
  25. package/dist/lyflowchart.css +1 -1
  26. package/dist/{middleColumn-C7M6-eVo.js → middleColumn-DUBZPkDG.js} +2 -2
  27. package/dist/{recordActions-BgFlNsGU.js → recordActions-3vqHADOf.js} +1 -1
  28. package/dist/{tableConfig-uLXue-BS.js → tableConfig-W9yGeZs-.js} +41 -41
  29. package/dist/{tableModal-BcYfVL02.js → tableModal-H0SGP8PM.js} +2 -2
  30. package/dist/{useApprovalRecordActions-BQ6MgV2L.js → useApprovalRecordActions-B82xPY8g.js} +63 -63
  31. package/dist/{utils-CLet2gLV.js → utils-B1lkML14.js} +5 -1
  32. package/dist/{viewer-Dv3kQsMf.js → viewer-C_OHXXRU.js} +915 -916
  33. package/package.json +1 -1
  34. package/dist/ActionsConfig-BuvSvRbv.js +0 -395
  35. package/dist/ActionsConfig-BuvSvRbv.js.map +0 -1
  36. package/dist/ApprovalEditorModal-19j5zbe2.js.map +0 -1
  37. package/dist/CancelModal-BUi3ieI8.js.map +0 -1
  38. package/dist/Cell_click_approve-BGDZUzTS.js.map +0 -1
  39. package/dist/JsonTags-BbWLqghI.js.map +0 -1
  40. package/dist/MyProcess-FWGEwQcv.js.map +0 -1
  41. package/dist/approval-BW2WjPxY.js.map +0 -1
  42. package/dist/approval-BaD4Bmw6.js.map +0 -1
  43. package/dist/approvalHistory-B2gpQbFC.js.map +0 -1
  44. package/dist/approvalHistoryViewModal-DgLpv2ot.js.map +0 -1
  45. package/dist/approvalPageConfig-D0zPXOUf.js.map +0 -1
  46. package/dist/approveLeftConfig-BOU_UgHp.js.map +0 -1
  47. package/dist/codeHistoryViewModal-BfSjIbEU.js.map +0 -1
  48. package/dist/columnTables-DLwtgcC7.js.map +0 -1
  49. package/dist/core-Cv0Erg9E.js.map +0 -1
  50. package/dist/dataStoreSettingHistoryViewModal-D_so-KLp.js.map +0 -1
  51. package/dist/debugCode-Cm9-WiUG.js.map +0 -1
  52. package/dist/debugCode-dD1YnQSD.js.map +0 -1
  53. package/dist/default-VdDMlY4e.js.map +0 -1
  54. package/dist/example_code-C_xF8RRG.js.map +0 -1
  55. package/dist/flowHistoryViewModal-D8DJP7Te.js.map +0 -1
  56. package/dist/index.js.map +0 -1
  57. package/dist/init-plugin-fQTSQzui.js.map +0 -1
  58. package/dist/leftColumn-CsPjufue.js.map +0 -1
  59. package/dist/middleColumn-C7M6-eVo.js.map +0 -1
  60. package/dist/recordActions-BgFlNsGU.js.map +0 -1
  61. package/dist/settingsState-CI81PG-i.js.map +0 -1
  62. package/dist/tableConfig-uLXue-BS.js.map +0 -1
  63. package/dist/tableModal-BcYfVL02.js.map +0 -1
  64. package/dist/useApprovalRecordActions-BQ6MgV2L.js.map +0 -1
  65. package/dist/utils-CLet2gLV.js.map +0 -1
  66. package/dist/v0001-OaBeBCXI.js.map +0 -1
  67. package/dist/viewer-Dv3kQsMf.js.map +0 -1
  68. package/dist/vue-print-next-HRweUmNi.js.map +0 -1
@@ -1,28 +1,27 @@
1
1
  import { v as e } from "./init-plugin-fQTSQzui.js";
2
2
  import { createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, nextTick as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, resolveComponent as u, watch as d, withCtx as f } from "vue";
3
3
  import { DragOutlined as p, ZoomInOutlined as m, ZoomOutOutlined as h } from "@ant-design/icons-vue";
4
- import { message as g } from "ant-design-vue";
5
4
  //#region \0rolldown/runtime.js
6
- var _ = Object.create, v = Object.defineProperty, y = Object.getOwnPropertyDescriptor, b = Object.getOwnPropertyNames, x = Object.getPrototypeOf, S = Object.prototype.hasOwnProperty, C = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), w = (e, t) => {
5
+ var g = Object.create, _ = Object.defineProperty, v = Object.getOwnPropertyDescriptor, y = Object.getOwnPropertyNames, b = Object.getPrototypeOf, x = Object.prototype.hasOwnProperty, S = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), C = (e, t) => {
7
6
  let n = {};
8
- for (var r in e) v(n, r, {
7
+ for (var r in e) _(n, r, {
9
8
  get: e[r],
10
9
  enumerable: !0
11
10
  });
12
- return t || v(n, Symbol.toStringTag, { value: "Module" }), n;
13
- }, T = (e, t, n, r) => {
14
- if (t && typeof t == "object" || typeof t == "function") for (var i = b(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !S.call(e, s) && s !== n && v(e, s, {
11
+ return t || _(n, Symbol.toStringTag, { value: "Module" }), n;
12
+ }, w = (e, t, n, r) => {
13
+ if (t && typeof t == "object" || typeof t == "function") for (var i = y(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !x.call(e, s) && s !== n && _(e, s, {
15
14
  get: ((e) => t[e]).bind(null, s),
16
- enumerable: !(r = y(t, s)) || r.enumerable
15
+ enumerable: !(r = v(t, s)) || r.enumerable
17
16
  });
18
17
  return e;
19
- }, E = (e, t, n) => (n = e == null ? {} : _(x(e)), T(t || !e || !e.__esModule ? v(n, "default", {
18
+ }, T = (e, t, n) => (n = e == null ? {} : g(b(e)), w(t || !e || !e.__esModule ? _(n, "default", {
20
19
  value: e,
21
20
  enumerable: !0
22
21
  }) : n, e));
23
22
  //#endregion
24
23
  //#region node_modules/inherits-browser/dist/index.es.js
25
- function D(e, t) {
24
+ function E(e, t) {
26
25
  t && (e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: {
27
26
  value: e,
28
27
  enumerable: !1,
@@ -32,10 +31,10 @@ function D(e, t) {
32
31
  }
33
32
  //#endregion
34
33
  //#region node_modules/ids/dist/index.esm.js
35
- function O(e, t) {
34
+ function D(e, t) {
36
35
  return t = { exports: {} }, e(t, t.exports), t.exports;
37
36
  }
38
- var k = O(function(e) {
37
+ var O = D(function(e) {
39
38
  var t = e.exports = function(e, n) {
40
39
  if (n ||= 16, e === void 0 && (e = 128), e <= 0) return "0";
41
40
  for (var r = Math.log(2 ** e) / Math.log(n), i = 2; r === Infinity; i *= 2) r = Math.log(2 ** (e / i)) / Math.log(n) * i;
@@ -67,103 +66,103 @@ var k = O(function(e) {
67
66
  }, i.bits = e || 128, i.base = n || 16, i;
68
67
  };
69
68
  });
70
- function A(e) {
71
- if (!(this instanceof A)) return new A(e);
69
+ function k(e) {
70
+ if (!(this instanceof k)) return new k(e);
72
71
  e ||= [
73
72
  128,
74
73
  36,
75
74
  1
76
- ], this._seed = e.length ? k.rack(e[0], e[1], e[2]) : e;
75
+ ], this._seed = e.length ? O.rack(e[0], e[1], e[2]) : e;
77
76
  }
78
- A.prototype.next = function(e) {
77
+ k.prototype.next = function(e) {
79
78
  return this._seed(e || !0);
80
- }, A.prototype.nextPrefixed = function(e, t) {
79
+ }, k.prototype.nextPrefixed = function(e, t) {
81
80
  var n;
82
81
  do
83
82
  n = e + this.next(!0);
84
83
  while (this.assigned(n));
85
84
  return this.claim(n, t), n;
86
- }, A.prototype.claim = function(e, t) {
85
+ }, k.prototype.claim = function(e, t) {
87
86
  this._seed.set(e, t || !0);
88
- }, A.prototype.assigned = function(e) {
87
+ }, k.prototype.assigned = function(e) {
89
88
  return this._seed.get(e) || !1;
90
- }, A.prototype.unclaim = function(e) {
89
+ }, k.prototype.unclaim = function(e) {
91
90
  delete this._seed.hats[e];
92
- }, A.prototype.clear = function() {
91
+ }, k.prototype.clear = function() {
93
92
  var e = this._seed.hats, t;
94
93
  for (t in e) this.unclaim(t);
95
94
  };
96
95
  //#endregion
97
96
  //#region node_modules/min-dash/dist/index.esm.js
98
- function j(e) {
97
+ function ee(e) {
99
98
  return Array.prototype.concat.apply([], e);
100
99
  }
101
- var ee = Object.prototype.toString, te = Object.prototype.hasOwnProperty;
102
- function ne(e) {
100
+ var A = Object.prototype.toString, te = Object.prototype.hasOwnProperty;
101
+ function j(e) {
103
102
  return e === void 0;
104
103
  }
105
104
  function M(e) {
106
105
  return e !== void 0;
107
106
  }
108
- function re(e) {
107
+ function ne(e) {
109
108
  return e == null;
110
109
  }
111
110
  function N(e) {
112
- return ee.call(e) === "[object Array]";
111
+ return A.call(e) === "[object Array]";
113
112
  }
114
113
  function P(e) {
115
- return ee.call(e) === "[object Object]";
114
+ return A.call(e) === "[object Object]";
116
115
  }
117
116
  function F(e) {
118
- return ee.call(e) === "[object Number]";
117
+ return A.call(e) === "[object Number]";
119
118
  }
120
- function ie(e) {
121
- let t = ee.call(e);
119
+ function re(e) {
120
+ let t = A.call(e);
122
121
  return t === "[object Function]" || t === "[object AsyncFunction]" || t === "[object GeneratorFunction]" || t === "[object AsyncGeneratorFunction]" || t === "[object Proxy]";
123
122
  }
124
- function ae(e) {
125
- return ee.call(e) === "[object String]";
123
+ function ie(e) {
124
+ return A.call(e) === "[object String]";
126
125
  }
127
- function oe(e) {
126
+ function ae(e) {
128
127
  if (!N(e)) throw Error("must supply array");
129
128
  }
130
- function se(e, t) {
131
- return !re(e) && te.call(e, t);
129
+ function oe(e, t) {
130
+ return !ne(e) && te.call(e, t);
132
131
  }
133
- function ce(e, t) {
132
+ function se(e, t) {
134
133
  let n = we(t), r;
135
- return L(e, function(e, t) {
134
+ return I(e, function(e, t) {
136
135
  if (n(e, t)) return r = e, !1;
137
136
  }), r;
138
137
  }
139
- function le(e, t) {
138
+ function ce(e, t) {
140
139
  let n = we(t), r = N(e) ? -1 : void 0;
141
- return L(e, function(e, t) {
140
+ return I(e, function(e, t) {
142
141
  if (n(e, t)) return r = t, !1;
143
142
  }), r;
144
143
  }
145
- function I(e, t) {
144
+ function le(e, t) {
146
145
  let n = we(t), r = [];
147
- return L(e, function(e, t) {
146
+ return I(e, function(e, t) {
148
147
  n(e, t) && r.push(e);
149
148
  }), r;
150
149
  }
151
- function L(e, t) {
150
+ function I(e, t) {
152
151
  let n, r;
153
- if (ne(e)) return;
152
+ if (j(e)) return;
154
153
  let i = N(e) ? Ee : Te;
155
- for (let a in e) if (se(e, a) && (n = e[a], r = t(n, i(a)), r === !1)) return n;
154
+ for (let a in e) if (oe(e, a) && (n = e[a], r = t(n, i(a)), r === !1)) return n;
156
155
  }
157
156
  function ue(e, t) {
158
- if (ne(e)) return [];
159
- oe(e);
157
+ if (j(e)) return [];
158
+ ae(e);
160
159
  let n = we(t);
161
160
  return e.filter(function(e, t) {
162
161
  return !n(e, t);
163
162
  });
164
163
  }
165
164
  function de(e, t, n) {
166
- return L(e, function(e, r) {
165
+ return I(e, function(e, r) {
167
166
  n = t(n, e, r);
168
167
  }), n;
169
168
  }
@@ -173,11 +172,11 @@ function fe(e, t) {
173
172
  }, !0);
174
173
  }
175
174
  function pe(e, t) {
176
- return !!ce(e, t);
175
+ return !!se(e, t);
177
176
  }
178
177
  function me(e, t) {
179
178
  let n = [];
180
- return L(e, function(e, r) {
179
+ return I(e, function(e, r) {
181
180
  n.push(t(e, r));
182
181
  }), n;
183
182
  }
@@ -191,7 +190,7 @@ function _e(e) {
191
190
  return me(e, (e) => e);
192
191
  }
193
192
  function ve(e, t, n = {}) {
194
- return t = Ce(t), L(e, function(e) {
193
+ return t = Ce(t), I(e, function(e) {
195
194
  let r = t(e) || "_", i = n[r];
196
195
  i ||= n[r] = [], i.push(e);
197
196
  }), n;
@@ -199,7 +198,7 @@ function ve(e, t, n = {}) {
199
198
  function ye(e, ...t) {
200
199
  e = Ce(e);
201
200
  let n = {};
202
- return L(t, (t) => ve(t, e, n)), me(n, function(e, t) {
201
+ return I(t, (t) => ve(t, e, n)), me(n, function(e, t) {
203
202
  return e[0];
204
203
  });
205
204
  }
@@ -207,7 +206,7 @@ var be = ye;
207
206
  function xe(e, t) {
208
207
  t = Ce(t);
209
208
  let n = [];
210
- return L(e, function(e, r) {
209
+ return I(e, function(e, r) {
211
210
  let i = t(e, r), a = {
212
211
  d: i,
213
212
  v: e
@@ -230,10 +229,10 @@ function Se(e) {
230
229
  };
231
230
  }
232
231
  function Ce(e) {
233
- return ie(e) ? e : (t) => t[e];
232
+ return re(e) ? e : (t) => t[e];
234
233
  }
235
234
  function we(e) {
236
- return ie(e) ? e : (t) => t === e;
235
+ return re(e) ? e : (t) => t === e;
237
236
  }
238
237
  function Te(e) {
239
238
  return e;
@@ -262,31 +261,31 @@ function De(e, t) {
262
261
  }
263
262
  return u.flush = l, u.cancel = c, u;
264
263
  }
265
- function R(e, t) {
264
+ function L(e, t) {
266
265
  return e.bind(t);
267
266
  }
268
- function z(e, ...t) {
267
+ function R(e, ...t) {
269
268
  return Object.assign(e, ...t);
270
269
  }
271
270
  function Oe(e, t, n) {
272
271
  let r = e;
273
- return L(t, function(e, i) {
272
+ return I(t, function(e, i) {
274
273
  if (typeof e != "number" && typeof e != "string") throw Error("illegal key type: " + typeof e + ". Key should be of type number or string.");
275
274
  if (e === "constructor") throw Error("illegal key: constructor");
276
275
  if (e === "__proto__") throw Error("illegal key: __proto__");
277
276
  let a = t[i + 1], o = r[e];
278
- M(a) && re(o) && (o = r[e] = isNaN(+a) ? {} : []), ne(a) ? ne(n) ? delete r[e] : r[e] = n : r = o;
277
+ M(a) && ne(o) && (o = r[e] = isNaN(+a) ? {} : []), j(a) ? j(n) ? delete r[e] : r[e] = n : r = o;
279
278
  }), e;
280
279
  }
281
280
  function ke(e, t) {
282
281
  let n = {}, r = Object(e);
283
- return L(t, function(t) {
282
+ return I(t, function(t) {
284
283
  t in r && (n[t] = e[t]);
285
284
  }), n;
286
285
  }
287
286
  function Ae(e, t) {
288
287
  let n = {};
289
- return L(Object(e), function(e, r) {
288
+ return I(Object(e), function(e, r) {
290
289
  t.indexOf(r) === -1 && (n[r] = e);
291
290
  }), n;
292
291
  }
@@ -398,7 +397,7 @@ var nt = {
398
397
  unbind: tt
399
398
  }, rt = ot, it = !1, at;
400
399
  typeof document < "u" && (at = document.createElement("div"), at.innerHTML = " <link/><table></table><a href=\"/a\">a</a><input type=\"checkbox\"/>", it = !at.getElementsByTagName("link").length, at = void 0);
401
- var B = {
400
+ var z = {
402
401
  legend: [
403
402
  1,
404
403
  "<fieldset>",
@@ -424,19 +423,19 @@ var B = {
424
423
  ""
425
424
  ]
426
425
  };
427
- B.td = B.th = [
426
+ z.td = z.th = [
428
427
  3,
429
428
  "<table><tbody><tr>",
430
429
  "</tr></tbody></table>"
431
- ], B.option = B.optgroup = [
430
+ ], z.option = z.optgroup = [
432
431
  1,
433
432
  "<select multiple=\"multiple\">",
434
433
  "</select>"
435
- ], B.thead = B.tbody = B.colgroup = B.caption = B.tfoot = [
434
+ ], z.thead = z.tbody = z.colgroup = z.caption = z.tfoot = [
436
435
  1,
437
436
  "<table>",
438
437
  "</table>"
439
- ], B.polyline = B.ellipse = B.polygon = B.circle = B.text = B.line = B.path = B.rect = B.g = [
438
+ ], z.polyline = z.ellipse = z.polygon = z.circle = z.text = z.line = z.path = z.rect = z.g = [
440
439
  1,
441
440
  "<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">",
442
441
  "</svg>"
@@ -452,7 +451,7 @@ function ot(e, t) {
452
451
  var i = t.createElement("html");
453
452
  return i.innerHTML = e, i.removeChild(i.lastChild);
454
453
  }
455
- var a = Object.prototype.hasOwnProperty.call(B, r) ? B[r] : B._default, o = a[0], s = a[1], c = a[2], i = t.createElement("div");
454
+ var a = Object.prototype.hasOwnProperty.call(z, r) ? z[r] : z._default, o = a[0], s = a[1], c = a[2], i = t.createElement("div");
456
455
  for (i.innerHTML = s + e + c; o--;) i = i.lastChild;
457
456
  if (i.firstChild == i.lastChild) return i.removeChild(i.firstChild);
458
457
  for (var l = t.createDocumentFragment(); i.firstChild;) l.appendChild(i.removeChild(i.firstChild));
@@ -482,7 +481,7 @@ function ft(e, t) {
482
481
  function pt(e, t) {
483
482
  return t.appendChild(ft(e, t));
484
483
  }
485
- function V(e, t) {
484
+ function B(e, t) {
486
485
  return pt(t, e), e;
487
486
  }
488
487
  var mt = 2, ht = {
@@ -559,7 +558,7 @@ function vt(e, t) {
559
558
  var n = Object.keys(t), r, i;
560
559
  for (r = 0; i = n[r]; r++) _t(e, i, t[i]);
561
560
  }
562
- function H(e, t, n) {
561
+ function V(e, t, n) {
563
562
  if (typeof t == "string") if (n !== void 0) _t(e, t, n);
564
563
  else return gt(e, t);
565
564
  else vt(e, t);
@@ -608,13 +607,13 @@ function Dt(e) {
608
607
  var t = new DOMParser();
609
608
  return t.async = !1, t.parseFromString(e, "text/xml");
610
609
  }
611
- function U(e, t) {
610
+ function H(e, t) {
612
611
  var n;
613
- return e = e.trim(), e.charAt(0) === "<" ? (n = Et(e).firstChild, n = document.importNode(n, !0)) : n = document.createElementNS(wt.svg, e), t && H(n, t), n;
612
+ return e = e.trim(), e.charAt(0) === "<" ? (n = Et(e).firstChild, n = document.importNode(n, !0)) : n = document.createElementNS(wt.svg, e), t && V(n, t), n;
614
613
  }
615
614
  var Ot = null;
616
615
  function kt() {
617
- return Ot === null && (Ot = U("svg")), Ot;
616
+ return Ot === null && (Ot = H("svg")), Ot;
618
617
  }
619
618
  function At(e, t) {
620
619
  var n, r, i = Object.keys(t);
@@ -943,17 +942,17 @@ function pn(e, t) {
943
942
  }
944
943
  function mn(e, t, n) {
945
944
  F(t) && (n = t, t = null), t ||= {};
946
- let r = U("path", t);
945
+ let r = H("path", t);
947
946
  return F(n) && (r.dataset.cornerRadius = String(n)), hn(r, e);
948
947
  }
949
948
  function hn(e, t) {
950
- return H(e, { d: sn(dn(t, parseInt(e.dataset.cornerRadius, 10) || 0)) }), e;
949
+ return V(e, { d: sn(dn(t, parseInt(e.dataset.cornerRadius, 10) || 0)) }), e;
951
950
  }
952
951
  //#endregion
953
952
  //#region node_modules/diagram-js/lib/util/Elements.js
954
953
  function gn(e) {
955
- return I(e, function(t) {
956
- return !ce(e, function(e) {
954
+ return le(e, function(t) {
955
+ return !se(e, function(e) {
957
956
  return e !== t && _n(t, e);
958
957
  });
959
958
  });
@@ -969,7 +968,7 @@ function vn(e, t, n) {
969
968
  return r && e.push(t), r;
970
969
  }
971
970
  function yn(e, t, n) {
972
- n ||= 0, N(e) || (e = [e]), L(e, function(e, r) {
971
+ n ||= 0, N(e) || (e = [e]), I(e, function(e, r) {
973
972
  var i = t(e, r, n);
974
973
  N(i) && i.length && yn(i, t, n + 1);
975
974
  });
@@ -986,7 +985,7 @@ function xn(e, t) {
986
985
  return bn(e, !t, -1);
987
986
  }
988
987
  function Sn(e, t, n) {
989
- ne(t) && (t = !0), P(t) && (n = t, t = !0), n ||= {};
988
+ j(t) && (t = !0), P(t) && (n = t, t = !0), n ||= {};
990
989
  var r = Dn(n.allShapes), i = Dn(n.allConnections), a = Dn(n.enclosedElements), o = Dn(n.enclosedConnections), s = Dn(n.topLevel, t && ve(e, function(e) {
991
990
  return e.id;
992
991
  }));
@@ -995,7 +994,7 @@ function Sn(e, t, n) {
995
994
  }
996
995
  function l(e) {
997
996
  if (a[e.id] = e, e.waypoints) o[e.id] = i[e.id] = e;
998
- else return r[e.id] = e, L(e.incoming, c), L(e.outgoing, c), e.children;
997
+ else return r[e.id] = e, I(e.incoming, c), I(e.outgoing, c), e.children;
999
998
  }
1000
999
  return yn(e, l), {
1001
1000
  allShapes: r,
@@ -1008,7 +1007,7 @@ function Sn(e, t, n) {
1008
1007
  function Cn(e, t) {
1009
1008
  t = !!t, N(e) || (e = [e]);
1010
1009
  var n, r, i, a;
1011
- return L(e, function(e) {
1010
+ return I(e, function(e) {
1012
1011
  var o = e;
1013
1012
  e.waypoints && !t && (o = Cn(e.waypoints, !0));
1014
1013
  var s = o.x, c = o.y, l = o.height || 0, u = o.width || 0;
@@ -1022,7 +1021,7 @@ function Cn(e, t) {
1022
1021
  }
1023
1022
  function wn(e, t) {
1024
1023
  var n = {};
1025
- return L(e, function(e) {
1024
+ return I(e, function(e) {
1026
1025
  var r = e;
1027
1026
  r.waypoints && (r = Cn(r)), !F(t.y) && r.x > t.x && (n[e.id] = e), !F(t.x) && r.y > t.y && (n[e.id] = e), r.x > t.x && r.y > t.y && (F(t.width) && F(t.height) && r.width + r.x < t.width + t.x && r.height + r.y < t.height + t.y || !F(t.width) || !F(t.height)) && (n[e.id] = e);
1028
1027
  }), n;
@@ -1034,7 +1033,7 @@ function En(e) {
1034
1033
  return !!(e && e.isFrame);
1035
1034
  }
1036
1035
  function Dn(e, t) {
1037
- return z({}, e || {}, t || {});
1036
+ return R({}, e || {}, t || {});
1038
1037
  }
1039
1038
  //#endregion
1040
1039
  //#region node_modules/diagram-js/lib/draw/DefaultRenderer.js
@@ -1053,19 +1052,19 @@ function kn(e, t) {
1053
1052
  strokeWidth: 2
1054
1053
  });
1055
1054
  }
1056
- D(kn, on), kn.prototype.canRender = function() {
1055
+ E(kn, on), kn.prototype.canRender = function() {
1057
1056
  return !0;
1058
1057
  }, kn.prototype.drawShape = function(e, t, n) {
1059
- var r = U("rect");
1060
- return H(r, {
1058
+ var r = H("rect");
1059
+ return V(r, {
1061
1060
  x: 0,
1062
1061
  y: 0,
1063
1062
  width: t.width || 0,
1064
1063
  height: t.height || 0
1065
- }), En(t) ? H(r, z({}, this.FRAME_STYLE, n || {})) : H(r, z({}, this.SHAPE_STYLE, n || {})), V(e, r), r;
1064
+ }), En(t) ? V(r, R({}, this.FRAME_STYLE, n || {})) : V(r, R({}, this.SHAPE_STYLE, n || {})), B(e, r), r;
1066
1065
  }, kn.prototype.drawConnection = function(e, t, n) {
1067
- var r = mn(t.waypoints, z({}, this.CONNECTION_STYLE, n || {}));
1068
- return V(e, r), r;
1066
+ var r = mn(t.waypoints, R({}, this.CONNECTION_STYLE, n || {}));
1067
+ return B(e, r), r;
1069
1068
  }, kn.prototype.getShapePath = function(e) {
1070
1069
  var t = e.x, n = e.y, r = e.width, i = e.height;
1071
1070
  return sn([
@@ -1109,15 +1108,15 @@ function An() {
1109
1108
  "no-events": { pointerEvents: "none" }
1110
1109
  }, t = this;
1111
1110
  this.cls = function(e, t, n) {
1112
- return z(this.style(t, n), { class: e });
1111
+ return R(this.style(t, n), { class: e });
1113
1112
  }, this.style = function(t, n) {
1114
1113
  !N(t) && !n && (n = t, t = []);
1115
1114
  var r = de(t, function(t, n) {
1116
- return z(t, e[n] || {});
1115
+ return R(t, e[n] || {});
1117
1116
  }, {});
1118
- return n ? z(r, n) : r;
1117
+ return n ? R(r, n) : r;
1119
1118
  }, this.computeStyle = function(e, n, r) {
1120
- return N(n) || (r = n, n = []), t.style(n || [], z({}, r, e || {}));
1119
+ return N(n) || (r = n, n = []), t.style(n || [], R({}, r, e || {}));
1121
1120
  };
1122
1121
  }
1123
1122
  //#endregion
@@ -1185,7 +1184,7 @@ function Vn(e, t) {
1185
1184
  }
1186
1185
  //#endregion
1187
1186
  //#region node_modules/path-intersection/intersect.js
1188
- var Hn = /* @__PURE__ */ C(((e, t) => {
1187
+ var Hn = /* @__PURE__ */ S(((e, t) => {
1189
1188
  var n = /,?([a-z]),?/gi, r = parseFloat, i = Math, a = i.PI, o = i.min, s = i.max, c = i.pow, l = i.abs, u = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/gi, d = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/gi, f = Array.isArray || function(e) {
1190
1189
  return e instanceof Array;
1191
1190
  };
@@ -1262,7 +1261,7 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1262
1261
  };
1263
1262
  }
1264
1263
  function C(e) {
1265
- var t = N.apply(null, e);
1264
+ var t = P.apply(null, e);
1266
1265
  return y(t.x0, t.y0, t.x1 - t.x0, t.y1 - t.y0);
1267
1266
  }
1268
1267
  function w(e, t, n) {
@@ -1323,9 +1322,9 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1323
1322
  function k(e) {
1324
1323
  return Math.round(e * 1e11) / 1e11;
1325
1324
  }
1326
- function A(e, t, n) {
1325
+ function ee(e, t, n) {
1327
1326
  if (!T(C(e), C(t))) return n ? 0 : [];
1328
- for (var r = D.apply(0, e), i = D.apply(0, t), a = te(e) ? 1 : ~~(r / 5) || 1, o = te(t) ? 1 : ~~(i / 5) || 1, s = [], c = [], u = {}, d = n ? 0 : [], f = 0; f < a + 1; f++) {
1327
+ for (var r = D.apply(0, e), i = D.apply(0, t), a = j(e) ? 1 : ~~(r / 5) || 1, o = j(t) ? 1 : ~~(i / 5) || 1, s = [], c = [], u = {}, d = n ? 0 : [], f = 0; f < a + 1; f++) {
1329
1328
  var p = S.apply(0, e.concat(f / a));
1330
1329
  s.push({
1331
1330
  x: p.x,
@@ -1354,8 +1353,8 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1354
1353
  }
1355
1354
  return d;
1356
1355
  }
1357
- function j(e, t, n) {
1358
- e = P(e), t = P(t);
1356
+ function A(e, t, n) {
1357
+ e = F(e), t = F(t);
1359
1358
  for (var r, i, a, o, s, c, l, u, d, f, p = n ? 0 : [], m = 0, h = e.length; m < h; m++) {
1360
1359
  var g = e[m];
1361
1360
  if (g[0] == "M") r = s = g[1], i = c = g[2];
@@ -1384,7 +1383,7 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1384
1383
  l,
1385
1384
  u
1386
1385
  ], a = l, o = u);
1387
- var b = A(d, f, n);
1386
+ var b = ee(d, f, n);
1388
1387
  if (n) p += b;
1389
1388
  else {
1390
1389
  for (var x = 0, S = b.length; x < S; x++) b[x].segment1 = m, b[x].segment2 = _, b[x].bez1 = d, b[x].bez2 = f;
@@ -1396,7 +1395,7 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1396
1395
  }
1397
1396
  return p;
1398
1397
  }
1399
- function ee(e) {
1398
+ function te(e) {
1400
1399
  var t = v(e);
1401
1400
  if (t.abs) return x(t.abs);
1402
1401
  if ((!f(e) || !f(e && e[0])) && (e = _(e)), !e || !e.length) return [[
@@ -1441,10 +1440,10 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1441
1440
  }
1442
1441
  return n.toString = b, t.abs = x(n), n;
1443
1442
  }
1444
- function te(e) {
1443
+ function j(e) {
1445
1444
  return e[0] === e[2] && e[1] === e[3] && e[4] === e[6] && e[5] === e[7];
1446
1445
  }
1447
- function ne(e, t, n, r) {
1446
+ function M(e, t, n, r) {
1448
1447
  return [
1449
1448
  e,
1450
1449
  t,
@@ -1454,7 +1453,7 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1454
1453
  r
1455
1454
  ];
1456
1455
  }
1457
- function M(e, t, n, r, i, a) {
1456
+ function ne(e, t, n, r, i, a) {
1458
1457
  var o = 1 / 3, s = 2 / 3;
1459
1458
  return [
1460
1459
  o * e + s * n,
@@ -1465,7 +1464,7 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1465
1464
  a
1466
1465
  ];
1467
1466
  }
1468
- function re(e, t, n, r, o, s, c, u, d, f) {
1467
+ function N(e, t, n, r, o, s, c, u, d, f) {
1469
1468
  var p = a * 120 / 180, m = a / 180 * (+o || 0), h = [], _, v = g(function(e, t, n) {
1470
1469
  return {
1471
1470
  x: e * i.cos(n) - t * i.sin(n),
@@ -1482,16 +1481,16 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1482
1481
  }
1483
1482
  var k = O - D;
1484
1483
  if (l(k) > p) {
1485
- var A = O, j = u, ee = d;
1486
- O = D + p * (c && O > D ? 1 : -1), u = T + n * i.cos(O), d = E + r * i.sin(O), h = re(u, d, n, r, o, 0, c, j, ee, [
1484
+ var ee = O, A = u, te = d;
1485
+ O = D + p * (c && O > D ? 1 : -1), u = T + n * i.cos(O), d = E + r * i.sin(O), h = N(u, d, n, r, o, 0, c, A, te, [
1487
1486
  O,
1488
- A,
1487
+ ee,
1489
1488
  T,
1490
1489
  E
1491
1490
  ]);
1492
1491
  }
1493
1492
  k = O - D;
1494
- var te = i.cos(D), ne = i.sin(D), M = i.cos(O), N = i.sin(O), P = i.tan(k / 4), F = 4 / 3 * n * P, ie = 4 / 3 * r * P, ae = [e, t], oe = [e + F * ne, t - ie * te], se = [u + F * N, d - ie * M], ce = [u, d];
1493
+ var j = i.cos(D), M = i.sin(D), ne = i.cos(O), P = i.sin(O), F = i.tan(k / 4), re = 4 / 3 * n * F, ie = 4 / 3 * r * F, ae = [e, t], oe = [e + re * M, t - ie * j], se = [u + re * P, d - ie * ne], ce = [u, d];
1495
1494
  if (oe[0] = 2 * ae[0] - oe[0], oe[1] = 2 * ae[1] - oe[1], f) return [
1496
1495
  oe,
1497
1496
  se,
@@ -1502,10 +1501,10 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1502
1501
  se,
1503
1502
  ce
1504
1503
  ].concat(h).join().split(",");
1505
- for (var le = [], I = 0, L = h.length; I < L; I++) le[I] = I % 2 ? v(h[I - 1], h[I], m).y : v(h[I], h[I + 1], m).x;
1504
+ for (var le = [], I = 0, ue = h.length; I < ue; I++) le[I] = I % 2 ? v(h[I - 1], h[I], m).y : v(h[I], h[I + 1], m).x;
1506
1505
  return le;
1507
1506
  }
1508
- function N(e, t, n, r, a, c, u, d) {
1507
+ function P(e, t, n, r, a, c, u, d) {
1509
1508
  for (var f = [], p = [[], []], m, h, g, _, v, y, b, x, S = 0; S < 2; ++S) {
1510
1509
  if (S == 0 ? (h = 6 * e - 12 * n + 6 * a, m = -3 * e + 9 * n - 9 * a + 3 * u, g = 3 * n - 3 * e) : (h = 6 * t - 12 * r + 6 * c, m = -3 * t + 9 * r - 9 * c + 3 * d, g = 3 * r - 3 * t), l(m) < 1e-12) {
1511
1510
  if (l(h) < 1e-12) continue;
@@ -1522,10 +1521,10 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1522
1521
  y1: s.apply(0, p[1])
1523
1522
  };
1524
1523
  }
1525
- function P(e) {
1524
+ function F(e) {
1526
1525
  var t = v(e);
1527
1526
  if (t.curve) return x(t.curve);
1528
- for (var n = ee(e), i = {
1527
+ for (var n = te(e), i = {
1529
1528
  x: 0,
1530
1529
  y: 0,
1531
1530
  bx: 0,
@@ -1553,7 +1552,7 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1553
1552
  t.X = e[1], t.Y = e[2];
1554
1553
  break;
1555
1554
  case "A":
1556
- e = ["C"].concat(re.apply(0, [t.x, t.y].concat(e.slice(1))));
1555
+ e = ["C"].concat(N.apply(0, [t.x, t.y].concat(e.slice(1))));
1557
1556
  break;
1558
1557
  case "S":
1559
1558
  n == "C" || n == "S" ? (r = t.x * 2 - t.bx, i = t.y * 2 - t.by) : (r = t.x, i = t.y), e = [
@@ -1563,22 +1562,22 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1563
1562
  ].concat(e.slice(1));
1564
1563
  break;
1565
1564
  case "T":
1566
- n == "Q" || n == "T" ? (t.qx = t.x * 2 - t.qx, t.qy = t.y * 2 - t.qy) : (t.qx = t.x, t.qy = t.y), e = ["C"].concat(M(t.x, t.y, t.qx, t.qy, e[1], e[2]));
1565
+ n == "Q" || n == "T" ? (t.qx = t.x * 2 - t.qx, t.qy = t.y * 2 - t.qy) : (t.qx = t.x, t.qy = t.y), e = ["C"].concat(ne(t.x, t.y, t.qx, t.qy, e[1], e[2]));
1567
1566
  break;
1568
1567
  case "Q":
1569
- t.qx = e[1], t.qy = e[2], e = ["C"].concat(M(t.x, t.y, e[1], e[2], e[3], e[4]));
1568
+ t.qx = e[1], t.qy = e[2], e = ["C"].concat(ne(t.x, t.y, e[1], e[2], e[3], e[4]));
1570
1569
  break;
1571
1570
  case "L":
1572
- e = ["C"].concat(ne(t.x, t.y, e[1], e[2]));
1571
+ e = ["C"].concat(M(t.x, t.y, e[1], e[2]));
1573
1572
  break;
1574
1573
  case "H":
1575
- e = ["C"].concat(ne(t.x, t.y, e[1], t.y));
1574
+ e = ["C"].concat(M(t.x, t.y, e[1], t.y));
1576
1575
  break;
1577
1576
  case "V":
1578
- e = ["C"].concat(ne(t.x, t.y, t.x, e[1]));
1577
+ e = ["C"].concat(M(t.x, t.y, t.x, e[1]));
1579
1578
  break;
1580
1579
  case "Z":
1581
- e = ["C"].concat(ne(t.x, t.y, t.X, t.Y));
1580
+ e = ["C"].concat(M(t.x, t.y, t.X, t.Y));
1582
1581
  break;
1583
1582
  }
1584
1583
  return e;
@@ -1595,8 +1594,8 @@ var Hn = /* @__PURE__ */ C(((e, t) => {
1595
1594
  }
1596
1595
  return t.curve = x(n), n;
1597
1596
  }
1598
- t.exports = j;
1599
- })), Un = /* @__PURE__ */ E(Hn());
1597
+ t.exports = A;
1598
+ })), Un = /* @__PURE__ */ T(Hn());
1600
1599
  function Wn(e) {
1601
1600
  return {
1602
1601
  x: Math.round(e.x),
@@ -1701,7 +1700,7 @@ function ar(e) {
1701
1700
  return e;
1702
1701
  }
1703
1702
  function or(e) {
1704
- e = z({}, {
1703
+ e = R({}, {
1705
1704
  width: "100%",
1706
1705
  height: "100%"
1707
1706
  }, e);
@@ -1714,7 +1713,7 @@ function or(e) {
1714
1713
  }), t.appendChild(n), n;
1715
1714
  }
1716
1715
  function sr(e, t, n) {
1717
- let r = U("g");
1716
+ let r = H("g");
1718
1717
  bt(r).add(t);
1719
1718
  let i = n === void 0 ? e.childNodes.length - 1 : n;
1720
1719
  return e.insertBefore(r, e.childNodes[i] || null), r;
@@ -1728,22 +1727,22 @@ var cr = "base", lr = 0, ur = 1, dr = {
1728
1727
  ],
1729
1728
  connection: ["waypoints"]
1730
1729
  };
1731
- function W(e, t, n, r) {
1730
+ function U(e, t, n, r) {
1732
1731
  this._eventBus = t, this._elementRegistry = r, this._graphicsFactory = n, this._rootsIdx = 0, this._layers = {}, this._planes = [], this._rootElement = null, this._init(e || {});
1733
1732
  }
1734
- W.$inject = [
1733
+ U.$inject = [
1735
1734
  "config.canvas",
1736
1735
  "eventBus",
1737
1736
  "graphicsFactory",
1738
1737
  "elementRegistry"
1739
- ], W.prototype._init = function(e) {
1740
- let t = this._eventBus, n = this._container = or(e), r = this._svg = U("svg");
1741
- H(r, {
1738
+ ], U.prototype._init = function(e) {
1739
+ let t = this._eventBus, n = this._container = or(e), r = this._svg = H("svg");
1740
+ V(r, {
1742
1741
  width: "100%",
1743
1742
  height: "100%"
1744
- }), V(n, r);
1743
+ }), B(n, r);
1745
1744
  let i = this._viewport = sr(r, "viewport");
1746
- e.deferUpdate !== !1 && (this._viewboxChanged = De(R(this._viewboxChanged, this), 300)), t.on("diagram.init", () => {
1745
+ e.deferUpdate !== !1 && (this._viewboxChanged = De(L(this._viewboxChanged, this), 300)), t.on("diagram.init", () => {
1747
1746
  t.fire("canvas.init", {
1748
1747
  svg: r,
1749
1748
  viewport: i
@@ -1758,30 +1757,30 @@ W.$inject = [
1758
1757
  ], () => {
1759
1758
  delete this._cachedViewbox;
1760
1759
  }), t.on("diagram.destroy", 500, this._destroy, this), t.on("diagram.clear", 500, this._clear, this);
1761
- }, W.prototype._destroy = function() {
1760
+ }, U.prototype._destroy = function() {
1762
1761
  this._eventBus.fire("canvas.destroy", {
1763
1762
  svg: this._svg,
1764
1763
  viewport: this._viewport
1765
1764
  });
1766
1765
  let e = this._container.parentNode;
1767
1766
  e && e.removeChild(this._container), delete this._svg, delete this._container, delete this._layers, delete this._planes, delete this._rootElement, delete this._viewport;
1768
- }, W.prototype._clear = function() {
1767
+ }, U.prototype._clear = function() {
1769
1768
  this._elementRegistry.getAll().forEach((e) => {
1770
1769
  let t = Tn(e);
1771
1770
  t === "root" ? this.removeRootElement(e) : this._removeElement(e, t);
1772
1771
  }), this._planes = [], this._rootElement = null, delete this._cachedViewbox;
1773
- }, W.prototype.getDefaultLayer = function() {
1772
+ }, U.prototype.getDefaultLayer = function() {
1774
1773
  return this.getLayer(cr, lr);
1775
- }, W.prototype.getLayer = function(e, t) {
1774
+ }, U.prototype.getLayer = function(e, t) {
1776
1775
  if (!e) throw Error("must specify a name");
1777
1776
  let n = this._layers[e];
1778
1777
  if (n ||= this._layers[e] = this._createLayer(e, t), t !== void 0 && n.index !== t) throw Error("layer <" + e + "> already created at index <" + t + ">");
1779
1778
  return n.group;
1780
- }, W.prototype._getChildIndex = function(e) {
1779
+ }, U.prototype._getChildIndex = function(e) {
1781
1780
  return de(this._layers, function(t, n) {
1782
1781
  return n.visible && e >= n.index && t++, t;
1783
1782
  }, 0);
1784
- }, W.prototype._createLayer = function(e, t) {
1783
+ }, U.prototype._createLayer = function(e, t) {
1785
1784
  t === void 0 && (t = ur);
1786
1785
  let n = this._getChildIndex(t);
1787
1786
  return {
@@ -1789,7 +1788,7 @@ W.$inject = [
1789
1788
  index: t,
1790
1789
  visible: !0
1791
1790
  };
1792
- }, W.prototype.showLayer = function(e) {
1791
+ }, U.prototype.showLayer = function(e) {
1793
1792
  if (!e) throw Error("must specify a name");
1794
1793
  let t = this._layers[e];
1795
1794
  if (!t) throw Error("layer <" + e + "> does not exist");
@@ -1797,33 +1796,33 @@ W.$inject = [
1797
1796
  if (t.visible) return r;
1798
1797
  let a = this._getChildIndex(i);
1799
1798
  return n.insertBefore(r, n.childNodes[a] || null), t.visible = !0, r;
1800
- }, W.prototype.hideLayer = function(e) {
1799
+ }, U.prototype.hideLayer = function(e) {
1801
1800
  if (!e) throw Error("must specify a name");
1802
1801
  let t = this._layers[e];
1803
1802
  if (!t) throw Error("layer <" + e + "> does not exist");
1804
1803
  let n = t.group;
1805
1804
  return t.visible ? (Ut(n), t.visible = !1, n) : n;
1806
- }, W.prototype._removeLayer = function(e) {
1805
+ }, U.prototype._removeLayer = function(e) {
1807
1806
  let t = this._layers[e];
1808
1807
  t && (delete this._layers[e], Ut(t.group));
1809
- }, W.prototype.getActiveLayer = function() {
1808
+ }, U.prototype.getActiveLayer = function() {
1810
1809
  let e = this._findPlaneForRoot(this.getRootElement());
1811
1810
  return e ? e.layer : null;
1812
- }, W.prototype.findRoot = function(e) {
1811
+ }, U.prototype.findRoot = function(e) {
1813
1812
  if (typeof e == "string" && (e = this._elementRegistry.get(e)), e) return (this._findPlaneForRoot(ar(e)) || {}).rootElement;
1814
- }, W.prototype.getRootElements = function() {
1813
+ }, U.prototype.getRootElements = function() {
1815
1814
  return this._planes.map(function(e) {
1816
1815
  return e.rootElement;
1817
1816
  });
1818
- }, W.prototype._findPlaneForRoot = function(e) {
1819
- return ce(this._planes, function(t) {
1817
+ }, U.prototype._findPlaneForRoot = function(e) {
1818
+ return se(this._planes, function(t) {
1820
1819
  return t.rootElement === e;
1821
1820
  });
1822
- }, W.prototype.getContainer = function() {
1821
+ }, U.prototype.getContainer = function() {
1823
1822
  return this._container;
1824
- }, W.prototype._updateMarker = function(e, t, n) {
1823
+ }, U.prototype._updateMarker = function(e, t, n) {
1825
1824
  let r;
1826
- e.id || (e = this._elementRegistry.get(e)), r = this._elementRegistry._elements[e.id], r && (L([r.gfx, r.secondaryGfx], function(e) {
1825
+ e.id || (e = this._elementRegistry.get(e)), r = this._elementRegistry._elements[e.id], r && (I([r.gfx, r.secondaryGfx], function(e) {
1827
1826
  e && (n ? bt(e).add(t) : bt(e).remove(t));
1828
1827
  }), this._eventBus.fire("element.marker.update", {
1829
1828
  element: e,
@@ -1831,18 +1830,18 @@ W.$inject = [
1831
1830
  marker: t,
1832
1831
  add: !!n
1833
1832
  }));
1834
- }, W.prototype.addMarker = function(e, t) {
1833
+ }, U.prototype.addMarker = function(e, t) {
1835
1834
  this._updateMarker(e, t, !0);
1836
- }, W.prototype.removeMarker = function(e, t) {
1835
+ }, U.prototype.removeMarker = function(e, t) {
1837
1836
  this._updateMarker(e, t, !1);
1838
- }, W.prototype.hasMarker = function(e, t) {
1837
+ }, U.prototype.hasMarker = function(e, t) {
1839
1838
  return e.id || (e = this._elementRegistry.get(e)), bt(this.getGraphics(e)).has(t);
1840
- }, W.prototype.toggleMarker = function(e, t) {
1839
+ }, U.prototype.toggleMarker = function(e, t) {
1841
1840
  this.hasMarker(e, t) ? this.removeMarker(e, t) : this.addMarker(e, t);
1842
- }, W.prototype.getRootElement = function() {
1841
+ }, U.prototype.getRootElement = function() {
1843
1842
  let e = this._rootElement;
1844
1843
  return e || this._planes.length ? e : this.setRootElement(this.addRootElement(null));
1845
- }, W.prototype.addRootElement = function(e) {
1844
+ }, U.prototype.addRootElement = function(e) {
1846
1845
  let t = this._rootsIdx++;
1847
1846
  e ||= {
1848
1847
  id: "__implicitroot_" + t,
@@ -1856,38 +1855,38 @@ W.$inject = [
1856
1855
  rootElement: e,
1857
1856
  layer: r
1858
1857
  }), e;
1859
- }, W.prototype.removeRootElement = function(e) {
1858
+ }, U.prototype.removeRootElement = function(e) {
1860
1859
  if (typeof e == "string" && (e = this._elementRegistry.get(e)), this._findPlaneForRoot(e)) return this._removeRoot(e), this._removeLayer(e.layer), this._planes = this._planes.filter(function(t) {
1861
1860
  return t.rootElement !== e;
1862
1861
  }), this._rootElement === e && (this._rootElement = null), e;
1863
- }, W.prototype.setRootElement = function(e, t) {
1862
+ }, U.prototype.setRootElement = function(e, t) {
1864
1863
  if (M(t)) throw Error("override not supported");
1865
1864
  if (e === this._rootElement) return;
1866
1865
  let n;
1867
1866
  if (!e) throw Error("rootElement required");
1868
1867
  return n = this._findPlaneForRoot(e), n || (e = this.addRootElement(e)), this._setRoot(e), e;
1869
- }, W.prototype._removeRoot = function(e) {
1868
+ }, U.prototype._removeRoot = function(e) {
1870
1869
  let t = this._elementRegistry, n = this._eventBus;
1871
1870
  n.fire("root.remove", { element: e }), n.fire("root.removed", { element: e }), t.remove(e);
1872
- }, W.prototype._addRoot = function(e, t) {
1871
+ }, U.prototype._addRoot = function(e, t) {
1873
1872
  let n = this._elementRegistry, r = this._eventBus;
1874
1873
  r.fire("root.add", { element: e }), n.add(e, t), r.fire("root.added", {
1875
1874
  element: e,
1876
1875
  gfx: t
1877
1876
  });
1878
- }, W.prototype._setRoot = function(e, t) {
1877
+ }, U.prototype._setRoot = function(e, t) {
1879
1878
  let n = this._rootElement;
1880
1879
  n && (this._elementRegistry.updateGraphics(n, null, !0), this.hideLayer(n.layer)), e && (t ||= this._findPlaneForRoot(e).layer, this._elementRegistry.updateGraphics(e, this._svg, !0), this.showLayer(e.layer)), this._rootElement = e, this._eventBus.fire("root.set", { element: e });
1881
- }, W.prototype._ensureValid = function(e, t) {
1880
+ }, U.prototype._ensureValid = function(e, t) {
1882
1881
  if (!t.id) throw Error("element must have an id");
1883
1882
  if (this._elementRegistry.get(t.id)) throw Error("element <" + t.id + "> already exists");
1884
1883
  let n = dr[e];
1885
1884
  if (!fe(n, function(e) {
1886
1885
  return t[e] !== void 0;
1887
1886
  })) throw Error("must supply { " + n.join(", ") + " } with " + e);
1888
- }, W.prototype._setParent = function(e, t, n) {
1887
+ }, U.prototype._setParent = function(e, t, n) {
1889
1888
  Nn(t.children, e, n), e.parent = t;
1890
- }, W.prototype._addElement = function(e, t, n, r) {
1889
+ }, U.prototype._addElement = function(e, t, n, r) {
1891
1890
  n ||= this.getRootElement();
1892
1891
  let i = this._eventBus, a = this._graphicsFactory;
1893
1892
  this._ensureValid(e, t), i.fire(e + ".add", {
@@ -1899,24 +1898,24 @@ W.$inject = [
1899
1898
  element: t,
1900
1899
  gfx: o
1901
1900
  }), t;
1902
- }, W.prototype.addShape = function(e, t, n) {
1901
+ }, U.prototype.addShape = function(e, t, n) {
1903
1902
  return this._addElement("shape", e, t, n);
1904
- }, W.prototype.addConnection = function(e, t, n) {
1903
+ }, U.prototype.addConnection = function(e, t, n) {
1905
1904
  return this._addElement("connection", e, t, n);
1906
- }, W.prototype._removeElement = function(e, t) {
1905
+ }, U.prototype._removeElement = function(e, t) {
1907
1906
  let n = this._elementRegistry, r = this._graphicsFactory, i = this._eventBus;
1908
1907
  if (e = n.get(e.id || e), e) return i.fire(t + ".remove", { element: e }), r.remove(e), Mn(e.parent && e.parent.children, e), e.parent = null, i.fire(t + ".removed", { element: e }), n.remove(e), e;
1909
- }, W.prototype.removeShape = function(e) {
1908
+ }, U.prototype.removeShape = function(e) {
1910
1909
  return this._removeElement(e, "shape");
1911
- }, W.prototype.removeConnection = function(e) {
1910
+ }, U.prototype.removeConnection = function(e) {
1912
1911
  return this._removeElement(e, "connection");
1913
- }, W.prototype.getGraphics = function(e, t) {
1912
+ }, U.prototype.getGraphics = function(e, t) {
1914
1913
  return this._elementRegistry.getGraphics(e, t);
1915
- }, W.prototype._changeViewbox = function(e) {
1914
+ }, U.prototype._changeViewbox = function(e) {
1916
1915
  this._eventBus.fire("canvas.viewbox.changing"), e.apply(this), this._cachedViewbox = null, this._viewboxChanged();
1917
- }, W.prototype._viewboxChanged = function() {
1916
+ }, U.prototype._viewboxChanged = function() {
1918
1917
  this._eventBus.fire("canvas.viewbox.changed", { viewbox: this.viewbox() });
1919
- }, W.prototype.viewbox = function(e) {
1918
+ }, U.prototype.viewbox = function(e) {
1920
1919
  if (e === void 0 && this._cachedViewbox) return this._cachedViewbox;
1921
1920
  let t = this._viewport, n = this.getSize(), r, i, a, o, s, c, l;
1922
1921
  if (e) this._changeViewbox(function() {
@@ -1937,10 +1936,10 @@ W.$inject = [
1937
1936
  outer: n
1938
1937
  }, e;
1939
1938
  return e;
1940
- }, W.prototype.scroll = function(e) {
1939
+ }, U.prototype.scroll = function(e) {
1941
1940
  let t = this._viewport, n = t.getCTM();
1942
1941
  return e && this._changeViewbox(function() {
1943
- e = z({
1942
+ e = R({
1944
1943
  dx: 0,
1945
1944
  dy: 0
1946
1945
  }, e || {}), n = this._svg.createSVGMatrix().translate(e.dx, e.dy).multiply(n), fr(t, n);
@@ -1948,7 +1947,7 @@ W.$inject = [
1948
1947
  x: n.e,
1949
1948
  y: n.f
1950
1949
  };
1951
- }, W.prototype.scrollToElement = function(e, t) {
1950
+ }, U.prototype.scrollToElement = function(e, t) {
1952
1951
  let n = 100;
1953
1952
  typeof e == "string" && (e = this._elementRegistry.get(e));
1954
1953
  let r = this.findRoot(e);
@@ -1970,7 +1969,7 @@ W.$inject = [
1970
1969
  dx: -c * s,
1971
1970
  dy: -l * s
1972
1971
  });
1973
- }, W.prototype.zoom = function(e, t) {
1972
+ }, U.prototype.zoom = function(e, t) {
1974
1973
  if (!e) return this.viewbox(e).scale;
1975
1974
  if (e === "fit-viewport") return this._fitViewport(t);
1976
1975
  let n, r;
@@ -1985,7 +1984,7 @@ function fr(e, t) {
1985
1984
  let n = "matrix(" + t.a + "," + t.b + "," + t.c + "," + t.d + "," + t.e + "," + t.f + ")";
1986
1985
  e.setAttribute("transform", n);
1987
1986
  }
1988
- W.prototype._fitViewport = function(e) {
1987
+ U.prototype._fitViewport = function(e) {
1989
1988
  let t = this.viewbox(), n = t.outer, r = t.inner, i, a;
1990
1989
  return r.x >= 0 && r.y >= 0 && r.x + r.width <= n.width && r.y + r.height <= n.height && !e ? a = {
1991
1990
  x: 0,
@@ -1998,17 +1997,17 @@ W.prototype._fitViewport = function(e) {
1998
1997
  width: n.width / i,
1999
1998
  height: n.height / i
2000
1999
  }), this.viewbox(a), this.viewbox(!1).scale;
2001
- }, W.prototype._setZoom = function(e, t) {
2000
+ }, U.prototype._setZoom = function(e, t) {
2002
2001
  let n = this._svg, r = this._viewport, i = n.createSVGMatrix(), a = n.createSVGPoint(), o, s, c, l, u;
2003
2002
  c = r.getCTM();
2004
2003
  let d = c.a;
2005
- return t ? (o = z(a, t), s = o.matrixTransform(c.inverse()), l = i.translate(s.x, s.y).scale(1 / d * e).translate(-s.x, -s.y), u = c.multiply(l)) : u = i.scale(e), fr(this._viewport, u), u;
2006
- }, W.prototype.getSize = function() {
2004
+ return t ? (o = R(a, t), s = o.matrixTransform(c.inverse()), l = i.translate(s.x, s.y).scale(1 / d * e).translate(-s.x, -s.y), u = c.multiply(l)) : u = i.scale(e), fr(this._viewport, u), u;
2005
+ }, U.prototype.getSize = function() {
2007
2006
  return {
2008
2007
  width: this._container.clientWidth,
2009
2008
  height: this._container.clientHeight
2010
2009
  };
2011
- }, W.prototype.getAbsoluteBBox = function(e) {
2010
+ }, U.prototype.getAbsoluteBBox = function(e) {
2012
2011
  let t = this.viewbox(), n;
2013
2012
  return n = e.waypoints ? this.getGraphics(e).getBBox() : e, {
2014
2013
  x: n.x * t.scale - t.x * t.scale,
@@ -2016,7 +2015,7 @@ W.prototype._fitViewport = function(e) {
2016
2015
  width: n.width * t.scale,
2017
2016
  height: n.height * t.scale
2018
2017
  };
2019
- }, W.prototype.resized = function() {
2018
+ }, U.prototype.resized = function() {
2020
2019
  delete this._cachedViewbox, this._eventBus.fire("canvas.resized");
2021
2020
  };
2022
2021
  //#endregion
@@ -2027,14 +2026,14 @@ function mr(e) {
2027
2026
  }
2028
2027
  mr.$inject = ["eventBus"], mr.prototype.add = function(e, t, n) {
2029
2028
  var r = e.id;
2030
- this._validateId(r), H(t, pr, r), n && H(n, pr, r), this._elements[r] = {
2029
+ this._validateId(r), V(t, pr, r), n && V(n, pr, r), this._elements[r] = {
2031
2030
  element: e,
2032
2031
  gfx: t,
2033
2032
  secondaryGfx: n
2034
2033
  };
2035
2034
  }, mr.prototype.remove = function(e) {
2036
2035
  var t = this._elements, n = e.id || e, r = n && t[n];
2037
- r && (H(r.gfx, pr, ""), r.secondaryGfx && H(r.secondaryGfx, pr, ""), delete t[n]);
2036
+ r && (V(r.gfx, pr, ""), r.secondaryGfx && V(r.secondaryGfx, pr, ""), delete t[n]);
2038
2037
  }, mr.prototype.updateId = function(e, t) {
2039
2038
  this._validateId(t), typeof e == "string" && (e = this.get(e)), this._eventBus.fire("element.updateId", {
2040
2039
  element: e,
@@ -2044,9 +2043,9 @@ mr.$inject = ["eventBus"], mr.prototype.add = function(e, t, n) {
2044
2043
  this.remove(e), e.id = t, this.add(e, n, r);
2045
2044
  }, mr.prototype.updateGraphics = function(e, t, n) {
2046
2045
  var r = e.id || e, i = this._elements[r];
2047
- return n ? i.secondaryGfx = t : i.gfx = t, t && H(t, pr, r), t;
2046
+ return n ? i.secondaryGfx = t : i.gfx = t, t && V(t, pr, r), t;
2048
2047
  }, mr.prototype.get = function(e) {
2049
- var t = typeof e == "string" ? e : e && H(e, pr), n = this._elements[t];
2048
+ var t = typeof e == "string" ? e : e && V(e, pr), n = this._elements[t];
2050
2049
  return n && n.element;
2051
2050
  }, mr.prototype.filter = function(e) {
2052
2051
  var t = [];
@@ -2077,7 +2076,7 @@ mr.$inject = ["eventBus"], mr.prototype.add = function(e, t, n) {
2077
2076
  };
2078
2077
  //#endregion
2079
2078
  //#region node_modules/object-refs/lib/collection.js
2080
- var hr = /* @__PURE__ */ C(((e, t) => {
2079
+ var hr = /* @__PURE__ */ S(((e, t) => {
2081
2080
  function n(e, t, n, r) {
2082
2081
  var i = n.inverse;
2083
2082
  return Object.defineProperty(e, "remove", { value: function(e) {
@@ -2098,7 +2097,7 @@ var hr = /* @__PURE__ */ C(((e, t) => {
2098
2097
  return e.__refs_collection === !0;
2099
2098
  }
2100
2099
  t.exports.extend = n, t.exports.isExtended = r;
2101
- })), gr = /* @__PURE__ */ C(((e, t) => {
2100
+ })), gr = /* @__PURE__ */ S(((e, t) => {
2102
2101
  var n = hr();
2103
2102
  function r(e, t) {
2104
2103
  return Object.prototype.hasOwnProperty.call(e, t.name || t);
@@ -2148,7 +2147,7 @@ var hr = /* @__PURE__ */ C(((e, t) => {
2148
2147
  }, o.prototype.set = function(e, t, n) {
2149
2148
  e && (this.ensureBound(e, t), t.collection ? this.ensureRefsCollection(e, t).add(n) : e[t.name] = n);
2150
2149
  }, t.exports = o;
2151
- })), _r = /* @__PURE__ */ E((/* @__PURE__ */ C(((e, t) => {
2150
+ })), _r = /* @__PURE__ */ T((/* @__PURE__ */ S(((e, t) => {
2152
2151
  t.exports = gr(), t.exports.Collection = hr();
2153
2152
  })))()), vr = new _r.default({
2154
2153
  name: "children",
@@ -2182,19 +2181,19 @@ function Cr() {
2182
2181
  function wr() {
2183
2182
  Cr.call(this), vr.bind(this, "children"), br.bind(this, "host"), br.bind(this, "attachers");
2184
2183
  }
2185
- D(wr, Cr);
2184
+ E(wr, Cr);
2186
2185
  function Tr() {
2187
2186
  wr.call(this);
2188
2187
  }
2189
- D(Tr, wr);
2188
+ E(Tr, wr);
2190
2189
  function Er() {
2191
2190
  wr.call(this), yr.bind(this, "labelTarget");
2192
2191
  }
2193
- D(Er, wr);
2192
+ E(Er, wr);
2194
2193
  function Dr() {
2195
2194
  Cr.call(this), xr.bind(this, "source"), Sr.bind(this, "target");
2196
2195
  }
2197
- D(Dr, Cr);
2196
+ E(Dr, Cr);
2198
2197
  var Or = {
2199
2198
  connection: Dr,
2200
2199
  shape: wr,
@@ -2204,7 +2203,7 @@ var Or = {
2204
2203
  function kr(e, t) {
2205
2204
  var n = Or[e];
2206
2205
  if (!n) throw Error("unknown type: <" + e + ">");
2207
- return z(new n(), t);
2206
+ return R(new n(), t);
2208
2207
  }
2209
2208
  //#endregion
2210
2209
  //#region node_modules/diagram-js/lib/core/ElementFactory.js
@@ -2220,7 +2219,7 @@ Ar.prototype.createRoot = function(e) {
2220
2219
  }, Ar.prototype.createConnection = function(e) {
2221
2220
  return this.create("connection", e);
2222
2221
  }, Ar.prototype.create = function(e, t) {
2223
- return t = z({}, t || {}), t.id ||= e + "_" + this._uid++, kr(e, t);
2222
+ return t = R({}, t || {}), t.id ||= e + "_" + this._uid++, kr(e, t);
2224
2223
  };
2225
2224
  //#endregion
2226
2225
  //#region node_modules/diagram-js/lib/core/EventBus.js
@@ -2229,9 +2228,9 @@ function Pr() {
2229
2228
  this._listeners = {}, this.on("diagram.destroy", 1, this._destroy, this);
2230
2229
  }
2231
2230
  Pr.prototype.on = function(e, t, n, r) {
2232
- if (e = N(e) ? e : [e], ie(t) && (r = n, n = t, t = Mr), !F(t)) throw Error("priority must be a number");
2231
+ if (e = N(e) ? e : [e], re(t) && (r = n, n = t, t = Mr), !F(t)) throw Error("priority must be a number");
2233
2232
  var i = n;
2234
- r && (i = R(n, r), i[jr] = n[jr] || n);
2233
+ r && (i = L(n, r), i[jr] = n[jr] || n);
2235
2234
  var a = this;
2236
2235
  e.forEach(function(e) {
2237
2236
  a._addListener(e, {
@@ -2242,7 +2241,7 @@ Pr.prototype.on = function(e, t, n, r) {
2242
2241
  });
2243
2242
  }, Pr.prototype.once = function(e, t, n, r) {
2244
2243
  var i = this;
2245
- if (ie(t) && (r = n, n = t, t = Mr), !F(t)) throw Error("priority must be a number");
2244
+ if (re(t) && (r = n, n = t, t = Mr), !F(t)) throw Error("priority must be a number");
2246
2245
  function a() {
2247
2246
  a.__isTomb = !0;
2248
2247
  var t = n.apply(r, arguments);
@@ -2320,7 +2319,7 @@ Fr.prototype.stopPropagation = function() {
2320
2319
  }, Fr.prototype.preventDefault = function() {
2321
2320
  this.defaultPrevented = !0;
2322
2321
  }, Fr.prototype.init = function(e) {
2323
- z(this, e || {});
2322
+ R(this, e || {});
2324
2323
  };
2325
2324
  function Ir(e, t) {
2326
2325
  return e.apply(null, t);
@@ -2362,29 +2361,29 @@ function Hr(e, t) {
2362
2361
  }
2363
2362
  Hr.$inject = ["eventBus", "elementRegistry"], Hr.prototype._getChildrenContainer = function(e) {
2364
2363
  var t = this._elementRegistry.getGraphics(e), n;
2365
- return e.parent ? (n = Rr(t), n || (n = U("g"), bt(n).add("djs-children"), V(t.parentNode, n))) : n = t, n;
2364
+ return e.parent ? (n = Rr(t), n || (n = H("g"), bt(n).add("djs-children"), B(t.parentNode, n))) : n = t, n;
2366
2365
  }, Hr.prototype._clear = function(e) {
2367
2366
  var t = Lr(e);
2368
2367
  return Ge(t), t;
2369
2368
  }, Hr.prototype._createContainer = function(e, t, n, r) {
2370
- var i = U("g");
2371
- bt(i).add("djs-group"), n === void 0 ? V(t, i) : Ur(i, t, t.childNodes[n]);
2372
- var a = U("g");
2373
- bt(a).add("djs-element"), bt(a).add("djs-" + e), r && bt(a).add("djs-frame"), V(i, a);
2374
- var o = U("g");
2375
- return bt(o).add("djs-visual"), V(a, o), a;
2369
+ var i = H("g");
2370
+ bt(i).add("djs-group"), n === void 0 ? B(t, i) : Ur(i, t, t.childNodes[n]);
2371
+ var a = H("g");
2372
+ bt(a).add("djs-element"), bt(a).add("djs-" + e), r && bt(a).add("djs-frame"), B(i, a);
2373
+ var o = H("g");
2374
+ return bt(o).add("djs-visual"), B(a, o), a;
2376
2375
  }, Hr.prototype.create = function(e, t, n) {
2377
2376
  var r = this._getChildrenContainer(t.parent);
2378
2377
  return this._createContainer(e, r, n, En(t));
2379
2378
  }, Hr.prototype.updateContainments = function(e) {
2380
2379
  var t = this, n = this._elementRegistry;
2381
- L(de(e, function(e, t) {
2380
+ I(de(e, function(e, t) {
2382
2381
  return t.parent && (e[t.parent.id] = t.parent), e;
2383
2382
  }, {}), function(e) {
2384
2383
  var r = e.children;
2385
2384
  if (r) {
2386
2385
  var i = t._getChildrenContainer(e);
2387
- L(r.slice().reverse(), function(e) {
2386
+ I(r.slice().reverse(), function(e) {
2388
2387
  Ur(n.getGraphics(e).parentNode, i);
2389
2388
  });
2390
2389
  }
@@ -2409,7 +2408,7 @@ Hr.$inject = ["eventBus", "elementRegistry"], Hr.prototype._getChildrenContainer
2409
2408
  if (e === "shape") this.drawShape(r, t), Br(n, t.x, t.y);
2410
2409
  else if (e === "connection") this.drawConnection(r, t);
2411
2410
  else throw Error("unknown type: " + e);
2412
- t.hidden ? H(n, "display", "none") : H(n, "display", "block");
2411
+ t.hidden ? V(n, "display", "none") : V(n, "display", "block");
2413
2412
  }
2414
2413
  }, Hr.prototype.remove = function(e) {
2415
2414
  Ut(this._elementRegistry.getGraphics(e).parentNode);
@@ -2423,7 +2422,7 @@ function Ur(e, t, n) {
2423
2422
  var Wr = {
2424
2423
  __depends__: [jn],
2425
2424
  __init__: ["canvas"],
2426
- canvas: ["type", W],
2425
+ canvas: ["type", U],
2427
2426
  elementRegistry: ["type", mr],
2428
2427
  elementFactory: ["type", Ar],
2429
2428
  eventBus: ["type", Pr],
@@ -2459,7 +2458,7 @@ function Yr(e, t) {
2459
2458
  }
2460
2459
  Yr.prototype.createType = function(e) {
2461
2460
  var t = this.model, n = this.properties, r = Object.create(Jr.prototype);
2462
- L(e.properties, function(e) {
2461
+ I(e.properties, function(e) {
2463
2462
  !e.isMany && e.default !== void 0 && (r[e.name] = e.default);
2464
2463
  }), n.defineModel(r, t), n.defineDescriptor(r, e);
2465
2464
  var i = e.ns.name;
@@ -2467,7 +2466,7 @@ Yr.prototype.createType = function(e) {
2467
2466
  n.define(this, "$type", {
2468
2467
  value: i,
2469
2468
  enumerable: !0
2470
- }), n.define(this, "$attrs", { value: {} }), n.define(this, "$parent", { writable: !0 }), L(e, R(function(e, t) {
2469
+ }), n.define(this, "$attrs", { value: {} }), n.define(this, "$parent", { writable: !0 }), I(e, L(function(e, t) {
2471
2470
  this.set(t, e);
2472
2471
  }, this));
2473
2472
  }
@@ -2552,8 +2551,8 @@ $r.prototype.build = function() {
2552
2551
  }, $r.prototype.addTrait = function(e, t) {
2553
2552
  t && this.assertNotTrait(e);
2554
2553
  var n = this.allTypesByName, r = this.allTypes, i = e.name;
2555
- i in n || (L(e.properties, R(function(n) {
2556
- n = z({}, n, {
2554
+ i in n || (I(e.properties, L(function(n) {
2555
+ n = R({}, n, {
2557
2556
  name: n.ns.localName,
2558
2557
  inherited: t
2559
2558
  }), Object.defineProperty(n, "definedBy", { value: e });
@@ -2562,37 +2561,37 @@ $r.prototype.build = function() {
2562
2561
  }, this)), r.push(e), n[i] = e);
2563
2562
  };
2564
2563
  function ei(e, t) {
2565
- this.packageMap = {}, this.typeMap = {}, this.packages = [], this.properties = t, L(e, R(this.registerPackage, this));
2564
+ this.packageMap = {}, this.typeMap = {}, this.packages = [], this.properties = t, I(e, L(this.registerPackage, this));
2566
2565
  }
2567
2566
  ei.prototype.getPackage = function(e) {
2568
2567
  return this.packageMap[e];
2569
2568
  }, ei.prototype.getPackages = function() {
2570
2569
  return this.packages;
2571
2570
  }, ei.prototype.registerPackage = function(e) {
2572
- e = z({}, e);
2571
+ e = R({}, e);
2573
2572
  var t = this.packageMap;
2574
- ti(t, e, "prefix"), ti(t, e, "uri"), L(e.types, R(function(t) {
2573
+ ti(t, e, "prefix"), ti(t, e, "uri"), I(e.types, L(function(t) {
2575
2574
  this.registerType(t, e);
2576
2575
  }, this)), t[e.uri] = t[e.prefix] = e, this.packages.push(e);
2577
2576
  }, ei.prototype.registerType = function(e, t) {
2578
- e = z({}, e, {
2577
+ e = R({}, e, {
2579
2578
  superClass: (e.superClass || []).slice(),
2580
2579
  extends: (e.extends || []).slice(),
2581
2580
  properties: (e.properties || []).slice(),
2582
- meta: z(e.meta || {})
2581
+ meta: R(e.meta || {})
2583
2582
  });
2584
2583
  var n = Qr(e.name, t.prefix), r = n.name, i = {};
2585
- L(e.properties, R(function(e) {
2584
+ I(e.properties, L(function(e) {
2586
2585
  var t = Qr(e.name, n.prefix), r = t.name;
2587
- Zr(e.type) || (e.type = Qr(e.type, t.prefix).name), z(e, {
2586
+ Zr(e.type) || (e.type = Qr(e.type, t.prefix).name), R(e, {
2588
2587
  ns: t,
2589
2588
  name: r
2590
2589
  }), i[r] = e;
2591
- }, this)), z(e, {
2590
+ }, this)), R(e, {
2592
2591
  ns: n,
2593
2592
  name: r,
2594
2593
  propertiesByName: i
2595
- }), L(e.extends, R(function(e) {
2594
+ }), I(e.extends, L(function(e) {
2596
2595
  var t = Qr(e, n.prefix), i = this.typeMap[t.name];
2597
2596
  i.traits = i.traits || [], i.traits.push(r);
2598
2597
  }, this)), this.definePackage(e, t), this.typeMap[r] = e;
@@ -2609,7 +2608,7 @@ ei.prototype.getPackage = function(e) {
2609
2608
  return a(e, !1);
2610
2609
  }
2611
2610
  if (!r) throw Error("unknown type <" + e.name + ">");
2612
- L(r.superClass, n ? o : s), t(r, !n), L(r.traits, o);
2611
+ I(r.superClass, n ? o : s), t(r, !n), I(r.traits, o);
2613
2612
  }, ei.prototype.getEffectiveDescriptor = function(e) {
2614
2613
  var t = Qr(e), n = new $r(t);
2615
2614
  this.mapTypes(t, function(e, t) {
@@ -2628,7 +2627,7 @@ function ni(e) {
2628
2627
  this.model = e;
2629
2628
  }
2630
2629
  ni.prototype.set = function(e, t, n) {
2631
- if (!ae(t) || !t.length) throw TypeError("property name must be a non-empty string");
2630
+ if (!ie(t) || !t.length) throw TypeError("property name must be a non-empty string");
2632
2631
  var r = this.getProperty(e, t), i = r && r.name;
2633
2632
  ri(n) ? r ? delete e[i] : delete e.$attrs[ai(t)] : r ? i in e ? e[i] = n : ii(e, r, n) : e.$attrs[ai(t)] = n;
2634
2633
  }, ni.prototype.get = function(e, t) {
@@ -2639,7 +2638,7 @@ ni.prototype.set = function(e, t, n) {
2639
2638
  }, ni.prototype.define = function(e, t, n) {
2640
2639
  if (!n.writable) {
2641
2640
  var r = n.value;
2642
- n = z({}, n, { get: function() {
2641
+ n = R({}, n, { get: function() {
2643
2642
  return r;
2644
2643
  } }), delete n.value;
2645
2644
  }
@@ -2682,7 +2681,7 @@ oi.prototype.create = function(e, t) {
2682
2681
  if (!n) throw Error("unknown type <" + e + ">");
2683
2682
  return new n(t);
2684
2683
  }, oi.prototype.getType = function(e) {
2685
- var t = this.typeCache, n = ae(e) ? e : e.ns.name, r = t[n];
2684
+ var t = this.typeCache, n = ie(e) ? e : e.ns.name, r = t[n];
2686
2685
  return r ||= (e = this.registry.getEffectiveDescriptor(n), t[n] = this.factory.createType(e)), r;
2687
2686
  }, oi.prototype.createAny = function(e, t, n) {
2688
2687
  var r = Qr(e), i = {
@@ -2717,7 +2716,7 @@ oi.prototype.create = function(e, t) {
2717
2716
  }), this.properties.define(i, "$instanceOf", {
2718
2717
  enumerable: !1,
2719
2718
  writable: !0
2720
- }), L(n, function(e, t) {
2719
+ }), I(n, function(e, t) {
2721
2720
  P(e) && e.value !== void 0 ? i[e.name] = e.value : i[t] = e;
2722
2721
  }), i;
2723
2722
  }, oi.prototype.getPackage = function(e) {
@@ -2842,10 +2841,10 @@ function Ti(e) {
2842
2841
  h = !0;
2843
2842
  };
2844
2843
  function y(e) {
2845
- var o = p ? [] : null, s = p ? Si(g) : null, m, y = [], b = 0, x = !1, S = !1, C = 0, w = 0, T, E, D, O, k, A, j, ee, te, ne = "", M = 0, re;
2846
- function N() {
2847
- if (re !== null) return re;
2848
- var e, t, n, r = p && s.xmlns, i = p && f ? [] : null, a = M, o = ne, c = o.length, l, u, d, m, h, _ = {}, y = {}, x, S, C;
2844
+ var o = p ? [] : null, s = p ? Si(g) : null, m, y = [], b = 0, x = !1, S = !1, C = 0, w = 0, T, E, D, O, k, ee, A, te, j, M = "", ne = 0, N;
2845
+ function P() {
2846
+ if (N !== null) return N;
2847
+ var e, t, n, r = p && s.xmlns, i = p && f ? [] : null, a = ne, o = M, c = o.length, l, u, d, m, h, _ = {}, y = {}, x, S, C;
2849
2848
  parseAttr: for (; a < c; a++) if (x = !1, S = o.charCodeAt(a), !(S === 32 || S < 14 && S > 8)) {
2850
2849
  for ((S < 65 || S > 122 || S > 90 && S < 97) && S !== 95 && S !== 58 && (v("illegal first char attribute name"), x = !0), C = a + 1; C < c; C++) if (S = o.charCodeAt(C), !(S > 96 && S < 123 || S > 64 && S < 91 || S > 47 && S < 59 || S === 46 || S === 45 || S === 95)) {
2851
2850
  if (S === 32 || S < 14 && S > 8) {
@@ -2903,9 +2902,9 @@ function Ti(e) {
2903
2902
  }
2904
2903
  _[h] = d;
2905
2904
  }
2906
- return re = _;
2905
+ return N = _;
2907
2906
  }
2908
- function P() {
2907
+ function F() {
2909
2908
  for (var t = /(\r\n|\r|\n)/g, n = 0, r = 0, i = 0, a = w, o, s; C >= i && (o = t.exec(e), !(!o || (a = o[0].length + o.index, a > C)));) n += 1, i = a;
2910
2909
  return C == -1 ? (r = a, s = e.substring(w)) : w === 0 ? s = e.substring(w, C) : (r = C - i, s = w == -1 ? e.substring(C) : e.substring(C, w + 1)), {
2911
2910
  data: s,
@@ -2913,14 +2912,14 @@ function Ti(e) {
2913
2912
  column: r
2914
2913
  };
2915
2914
  }
2916
- for (d = P, t && (te = Object.create({}, {
2915
+ for (d = F, t && (j = Object.create({}, {
2917
2916
  name: yi(function() {
2918
- return j;
2917
+ return A;
2919
2918
  }),
2920
2919
  originalName: yi(function() {
2921
- return ee;
2920
+ return te;
2922
2921
  }),
2923
- attrs: yi(N),
2922
+ attrs: yi(P),
2924
2923
  ns: yi(function() {
2925
2924
  return s;
2926
2925
  })
@@ -2970,31 +2969,31 @@ function Ti(e) {
2970
2969
  w += 1;
2971
2970
  continue;
2972
2971
  }
2973
- if (re = {}, O === 47) {
2972
+ if (N = {}, O === 47) {
2974
2973
  if (x = !1, S = !0, !y.length) return _("missing open tag");
2975
- if (T = j = y.pop(), D = C + 2 + T.length, e.substring(C + 2, D) !== T) return _("closing tag mismatch");
2974
+ if (T = A = y.pop(), D = C + 2 + T.length, e.substring(C + 2, D) !== T) return _("closing tag mismatch");
2976
2975
  for (; D < w; D++) if (O = e.charCodeAt(D), !(O === 32 || O > 8 && O < 14)) return _("close tag");
2977
2976
  } else {
2978
- if (e.charCodeAt(w - 1) === 47 ? (T = j = e.substring(C + 1, w - 1), x = !0, S = !0) : (T = j = e.substring(C + 1, w), x = !0, S = !1), !(O > 96 && O < 123 || O > 64 && O < 91 || O === 95 || O === 58)) return _("illegal first char nodeName");
2977
+ if (e.charCodeAt(w - 1) === 47 ? (T = A = e.substring(C + 1, w - 1), x = !0, S = !0) : (T = A = e.substring(C + 1, w), x = !0, S = !1), !(O > 96 && O < 123 || O > 64 && O < 91 || O === 95 || O === 58)) return _("illegal first char nodeName");
2979
2978
  for (D = 1, E = T.length; D < E; D++) if (O = T.charCodeAt(D), !(O > 96 && O < 123 || O > 64 && O < 91 || O > 47 && O < 59 || O === 45 || O === 95 || O == 46)) {
2980
2979
  if (O === 32 || O < 14 && O > 8) {
2981
- j = T.substring(0, D), re = null;
2980
+ A = T.substring(0, D), N = null;
2982
2981
  break;
2983
2982
  }
2984
2983
  return _("invalid nodeName");
2985
2984
  }
2986
- S || y.push(j);
2985
+ S || y.push(A);
2987
2986
  }
2988
2987
  if (p) {
2989
- if (m = s, x && (S || o.push(m), re === null && (f = T.indexOf("xmlns", D) !== -1) && (M = D, ne = T, N(), f = !1)), ee = j, O = j.indexOf(":"), O !== -1) {
2990
- if (A = s[j.substring(0, O)], !A) return _("missing namespace on <" + ee + ">");
2991
- j = j.substr(O + 1);
2992
- } else A = s.xmlns;
2993
- A && (j = A + ":" + j);
2988
+ if (m = s, x && (S || o.push(m), N === null && (f = T.indexOf("xmlns", D) !== -1) && (ne = D, M = T, P(), f = !1)), te = A, O = A.indexOf(":"), O !== -1) {
2989
+ if (ee = s[A.substring(0, O)], !ee) return _("missing namespace on <" + te + ">");
2990
+ A = A.substr(O + 1);
2991
+ } else ee = s.xmlns;
2992
+ ee && (A = ee + ":" + A);
2994
2993
  }
2995
- if (x && (M = D, ne = T, r && (t ? r(te, fi, S, d) : r(j, N, fi, S, d), h))) return;
2994
+ if (x && (ne = D, M = T, r && (t ? r(j, fi, S, d) : r(A, P, fi, S, d), h))) return;
2996
2995
  if (S) {
2997
- if (i && (i(t ? te : j, fi, x, d), h)) return;
2996
+ if (i && (i(t ? j : A, fi, x, d), h)) return;
2998
2997
  p && (s = x ? m : o.pop());
2999
2998
  }
3000
2999
  w += 1;
@@ -3014,7 +3013,7 @@ function Di(e, t) {
3014
3013
  }
3015
3014
  Di.prototype.createType = function(e) {
3016
3015
  var t = this.model, n = this.properties, r = Object.create(Ei.prototype);
3017
- L(e.properties, function(e) {
3016
+ I(e.properties, function(e) {
3018
3017
  !e.isMany && e.default !== void 0 && (r[e.name] = e.default);
3019
3018
  }), n.defineModel(r, t), n.defineDescriptor(r, e);
3020
3019
  var i = e.ns.name;
@@ -3022,7 +3021,7 @@ Di.prototype.createType = function(e) {
3022
3021
  n.define(this, "$type", {
3023
3022
  value: i,
3024
3023
  enumerable: !0
3025
- }), n.define(this, "$attrs", { value: {} }), n.define(this, "$parent", { writable: !0 }), L(e, R(function(e, t) {
3024
+ }), n.define(this, "$attrs", { value: {} }), n.define(this, "$parent", { writable: !0 }), I(e, L(function(e, t) {
3026
3025
  this.set(t, e);
3027
3026
  }, this));
3028
3027
  }
@@ -3058,7 +3057,7 @@ function ji(e) {
3058
3057
  function Mi(e) {
3059
3058
  return !!ki[e];
3060
3059
  }
3061
- function G(e, t) {
3060
+ function W(e, t) {
3062
3061
  var n = e.split(/:/), r, i;
3063
3062
  if (n.length === 1) r = e, i = t;
3064
3063
  else if (n.length === 2) r = n[1], i = n[0];
@@ -3101,7 +3100,7 @@ Ni.prototype.build = function() {
3101
3100
  if (s === -1) throw Error("property <" + r.name + "> not found in property list");
3102
3101
  i.splice(s, 1), this.addProperty(t, n ? void 0 : s, o), a[r.name] = a[r.localName] = t;
3103
3102
  }, Ni.prototype.redefineProperty = function(e, t, n) {
3104
- var r = e.ns.prefix, i = t.split("#"), a = G(i[0], r), o = G(i[1], a.prefix).name, s = this.propertiesByName[o];
3103
+ var r = e.ns.prefix, i = t.split("#"), a = W(i[0], r), o = W(i[1], a.prefix).name, s = this.propertiesByName[o];
3105
3104
  if (s) this.replaceProperty(s, e, n);
3106
3105
  else throw Error("refined property <" + o + "> not found");
3107
3106
  delete e.redefines;
@@ -3127,8 +3126,8 @@ Ni.prototype.build = function() {
3127
3126
  }, Ni.prototype.addTrait = function(e, t) {
3128
3127
  t && this.assertNotTrait(e);
3129
3128
  var n = this.allTypesByName, r = this.allTypes, i = e.name;
3130
- i in n || (L(e.properties, R(function(n) {
3131
- n = z({}, n, {
3129
+ i in n || (I(e.properties, L(function(n) {
3130
+ n = R({}, n, {
3132
3131
  name: n.ns.localName,
3133
3132
  inherited: t
3134
3133
  }), Object.defineProperty(n, "definedBy", { value: e });
@@ -3137,44 +3136,44 @@ Ni.prototype.build = function() {
3137
3136
  }, this)), r.push(e), n[i] = e);
3138
3137
  };
3139
3138
  function Pi(e, t) {
3140
- this.packageMap = {}, this.typeMap = {}, this.packages = [], this.properties = t, L(e, R(this.registerPackage, this));
3139
+ this.packageMap = {}, this.typeMap = {}, this.packages = [], this.properties = t, I(e, L(this.registerPackage, this));
3141
3140
  }
3142
3141
  Pi.prototype.getPackage = function(e) {
3143
3142
  return this.packageMap[e];
3144
3143
  }, Pi.prototype.getPackages = function() {
3145
3144
  return this.packages;
3146
3145
  }, Pi.prototype.registerPackage = function(e) {
3147
- e = z({}, e);
3146
+ e = R({}, e);
3148
3147
  var t = this.packageMap;
3149
- Fi(t, e, "prefix"), Fi(t, e, "uri"), L(e.types, R(function(t) {
3148
+ Fi(t, e, "prefix"), Fi(t, e, "uri"), I(e.types, L(function(t) {
3150
3149
  this.registerType(t, e);
3151
3150
  }, this)), t[e.uri] = t[e.prefix] = e, this.packages.push(e);
3152
3151
  }, Pi.prototype.registerType = function(e, t) {
3153
- e = z({}, e, {
3152
+ e = R({}, e, {
3154
3153
  superClass: (e.superClass || []).slice(),
3155
3154
  extends: (e.extends || []).slice(),
3156
3155
  properties: (e.properties || []).slice(),
3157
- meta: z(e.meta || {})
3156
+ meta: R(e.meta || {})
3158
3157
  });
3159
- var n = G(e.name, t.prefix), r = n.name, i = {};
3160
- L(e.properties, R(function(e) {
3161
- var t = G(e.name, n.prefix), r = t.name;
3162
- ji(e.type) || (e.type = G(e.type, t.prefix).name), z(e, {
3158
+ var n = W(e.name, t.prefix), r = n.name, i = {};
3159
+ I(e.properties, L(function(e) {
3160
+ var t = W(e.name, n.prefix), r = t.name;
3161
+ ji(e.type) || (e.type = W(e.type, t.prefix).name), R(e, {
3163
3162
  ns: t,
3164
3163
  name: r
3165
3164
  }), i[r] = e;
3166
- }, this)), z(e, {
3165
+ }, this)), R(e, {
3167
3166
  ns: n,
3168
3167
  name: r,
3169
3168
  propertiesByName: i
3170
- }), L(e.extends, R(function(e) {
3171
- var t = G(e, n.prefix), i = this.typeMap[t.name];
3169
+ }), I(e.extends, L(function(e) {
3170
+ var t = W(e, n.prefix), i = this.typeMap[t.name];
3172
3171
  i.traits = i.traits || [], i.traits.push(r);
3173
3172
  }, this)), this.definePackage(e, t), this.typeMap[r] = e;
3174
3173
  }, Pi.prototype.mapTypes = function(e, t, n) {
3175
3174
  var r = ji(e.name) ? { name: e.name } : this.typeMap[e.name], i = this;
3176
3175
  function a(n, r) {
3177
- var a = G(n, ji(n) ? "" : e.prefix);
3176
+ var a = W(n, ji(n) ? "" : e.prefix);
3178
3177
  i.mapTypes(a, t, r);
3179
3178
  }
3180
3179
  function o(e) {
@@ -3184,9 +3183,9 @@ Pi.prototype.getPackage = function(e) {
3184
3183
  return a(e, !1);
3185
3184
  }
3186
3185
  if (!r) throw Error("unknown type <" + e.name + ">");
3187
- L(r.superClass, n ? o : s), t(r, !n), L(r.traits, o);
3186
+ I(r.superClass, n ? o : s), t(r, !n), I(r.traits, o);
3188
3187
  }, Pi.prototype.getEffectiveDescriptor = function(e) {
3189
- var t = G(e), n = new Ni(t);
3188
+ var t = W(e), n = new Ni(t);
3190
3189
  this.mapTypes(t, function(e, t) {
3191
3190
  n.addTrait(e, t);
3192
3191
  });
@@ -3203,7 +3202,7 @@ function Ii(e) {
3203
3202
  this.model = e;
3204
3203
  }
3205
3204
  Ii.prototype.set = function(e, t, n) {
3206
- if (!ae(t) || !t.length) throw TypeError("property name must be a non-empty string");
3205
+ if (!ie(t) || !t.length) throw TypeError("property name must be a non-empty string");
3207
3206
  var r = this.getProperty(e, t), i = r && r.name;
3208
3207
  Li(n) ? r ? delete e[i] : delete e.$attrs[zi(t)] : r ? i in e ? e[i] = n : Ri(e, r, n) : e.$attrs[zi(t)] = n;
3209
3208
  }, Ii.prototype.get = function(e, t) {
@@ -3214,7 +3213,7 @@ Ii.prototype.set = function(e, t, n) {
3214
3213
  }, Ii.prototype.define = function(e, t, n) {
3215
3214
  if (!n.writable) {
3216
3215
  var r = n.value;
3217
- n = z({}, n, { get: function() {
3216
+ n = R({}, n, { get: function() {
3218
3217
  return r;
3219
3218
  } }), delete n.value;
3220
3219
  }
@@ -3257,10 +3256,10 @@ Bi.prototype.create = function(e, t) {
3257
3256
  if (!n) throw Error("unknown type <" + e + ">");
3258
3257
  return new n(t);
3259
3258
  }, Bi.prototype.getType = function(e) {
3260
- var t = this.typeCache, n = ae(e) ? e : e.ns.name, r = t[n];
3259
+ var t = this.typeCache, n = ie(e) ? e : e.ns.name, r = t[n];
3261
3260
  return r ||= (e = this.registry.getEffectiveDescriptor(n), t[n] = this.factory.createType(e)), r;
3262
3261
  }, Bi.prototype.createAny = function(e, t, n) {
3263
- var r = G(e), i = {
3262
+ var r = W(e), i = {
3264
3263
  $type: e,
3265
3264
  $instanceOf: function(e) {
3266
3265
  return e === this.$type;
@@ -3292,7 +3291,7 @@ Bi.prototype.create = function(e, t) {
3292
3291
  }), this.properties.define(i, "$instanceOf", {
3293
3292
  enumerable: !1,
3294
3293
  writable: !0
3295
- }), L(n, function(e, t) {
3294
+ }), I(n, function(e, t) {
3296
3295
  P(e) && e.value !== void 0 ? i[e.name] = e.value : i[t] = e;
3297
3296
  }), i;
3298
3297
  }, Bi.prototype.getPackage = function(e) {
@@ -3339,7 +3338,7 @@ function Yi(e, t) {
3339
3338
  return i && r.indexOf(i) === 0 ? e.prefix + ":" + r.slice(i.length) : n;
3340
3339
  }
3341
3340
  function Xi(e, t) {
3342
- var n = G(e);
3341
+ var n = W(e);
3343
3342
  return Yi(n, t.getPackage(n.prefix));
3344
3343
  }
3345
3344
  function Zi(e) {
@@ -3349,7 +3348,7 @@ function Qi(e) {
3349
3348
  return e.$descriptor;
3350
3349
  }
3351
3350
  function $i(e) {
3352
- z(this, e), this.elementsById = {}, this.references = [], this.warnings = [], this.addReference = function(e) {
3351
+ R(this, e), this.elementsById = {}, this.references = [], this.warnings = [], this.addReference = function(e) {
3353
3352
  this.references.push(e);
3354
3353
  }, this.addElement = function(e) {
3355
3354
  if (!e) throw Zi("expected element");
@@ -3399,23 +3398,23 @@ aa.prototype = Object.create(na.prototype), aa.prototype.handleNode = function(e
3399
3398
  var t = this, n = this.element;
3400
3399
  return n ? t = this.handleChild(e) : (n = this.element = this.createElement(e), this.context.addElement(n)), t;
3401
3400
  };
3402
- function K(e, t, n) {
3401
+ function G(e, t, n) {
3403
3402
  this.model = e, this.type = e.getType(t), this.context = n;
3404
3403
  }
3405
- K.prototype = Object.create(aa.prototype), K.prototype.addReference = function(e) {
3404
+ G.prototype = Object.create(aa.prototype), G.prototype.addReference = function(e) {
3406
3405
  this.context.addReference(e);
3407
- }, K.prototype.handleText = function(e) {
3406
+ }, G.prototype.handleText = function(e) {
3408
3407
  var t = this.element;
3409
3408
  if (!Qi(t).bodyProperty) throw Zi("unexpected body text <" + e + ">");
3410
3409
  na.prototype.handleText.call(this, e);
3411
- }, K.prototype.handleEnd = function() {
3410
+ }, G.prototype.handleEnd = function() {
3412
3411
  var e = this.body, t = this.element, n = Qi(t).bodyProperty;
3413
3412
  n && e !== void 0 && (e = Ai(n.type, e), t.set(n.name, e));
3414
- }, K.prototype.createElement = function(e) {
3413
+ }, G.prototype.createElement = function(e) {
3415
3414
  var t = e.attributes, n = this.type, r = Qi(n), i = this.context, a = new n({}), o = this.model, s;
3416
- return L(t, function(e, t) {
3415
+ return I(t, function(e, t) {
3417
3416
  var n = r.propertiesByName[t], c;
3418
- n && n.isReference ? n.isMany ? (c = e.split(" "), L(c, function(e) {
3417
+ n && n.isReference ? n.isMany ? (c = e.split(" "), I(c, function(e) {
3419
3418
  i.addReference({
3420
3419
  element: a,
3421
3420
  property: n.ns.name,
@@ -3425,53 +3424,53 @@ K.prototype = Object.create(aa.prototype), K.prototype.addReference = function(e
3425
3424
  element: a,
3426
3425
  property: n.ns.name,
3427
3426
  id: e
3428
- }) : (n ? e = Ai(n.type, e) : t !== "xmlns" && (s = G(t, r.ns.prefix), o.getPackage(s.prefix) && i.addWarning({
3427
+ }) : (n ? e = Ai(n.type, e) : t !== "xmlns" && (s = W(t, r.ns.prefix), o.getPackage(s.prefix) && i.addWarning({
3429
3428
  message: "unknown attribute <" + t + ">",
3430
3429
  element: a,
3431
3430
  property: t,
3432
3431
  value: e
3433
3432
  })), a.set(t, e));
3434
3433
  }), a;
3435
- }, K.prototype.getPropertyForNode = function(e) {
3436
- var t = e.name, n = G(t), r = this.type, i = this.model, a = Qi(r), o = n.name, s = a.propertiesByName[o], c, l;
3437
- if (s && !s.isAttr) return Gi(s) && (c = e.attributes[Ui], c) ? (c = Xi(c, i), l = i.getType(c), z({}, s, { effectiveType: Qi(l).name })) : s;
3434
+ }, G.prototype.getPropertyForNode = function(e) {
3435
+ var t = e.name, n = W(t), r = this.type, i = this.model, a = Qi(r), o = n.name, s = a.propertiesByName[o], c, l;
3436
+ if (s && !s.isAttr) return Gi(s) && (c = e.attributes[Ui], c) ? (c = Xi(c, i), l = i.getType(c), R({}, s, { effectiveType: Qi(l).name })) : s;
3438
3437
  var u = i.getPackage(n.prefix);
3439
3438
  if (u) {
3440
- if (c = Ji(n, u), l = i.getType(c), s = ce(a.properties, function(e) {
3439
+ if (c = Ji(n, u), l = i.getType(c), s = se(a.properties, function(e) {
3441
3440
  return !e.isVirtual && !e.isReference && !e.isAttribute && l.hasType(e.type);
3442
- }), s) return z({}, s, { effectiveType: Qi(l).name });
3443
- } else if (s = ce(a.properties, function(e) {
3441
+ }), s) return R({}, s, { effectiveType: Qi(l).name });
3442
+ } else if (s = se(a.properties, function(e) {
3444
3443
  return !e.isReference && !e.isAttribute && e.type === "Element";
3445
3444
  }), s) return s;
3446
3445
  throw Zi("unrecognized element <" + n.name + ">");
3447
- }, K.prototype.toString = function() {
3446
+ }, G.prototype.toString = function() {
3448
3447
  return "ElementDescriptor[" + Qi(this.type).name + "]";
3449
- }, K.prototype.valueHandler = function(e, t) {
3448
+ }, G.prototype.valueHandler = function(e, t) {
3450
3449
  return new ia(e, t);
3451
- }, K.prototype.referenceHandler = function(e) {
3450
+ }, G.prototype.referenceHandler = function(e) {
3452
3451
  return new ra(e, this.context);
3453
- }, K.prototype.handler = function(e) {
3454
- return e === "Element" ? new sa(this.model, e, this.context) : new K(this.model, e, this.context);
3455
- }, K.prototype.handleChild = function(e) {
3452
+ }, G.prototype.handler = function(e) {
3453
+ return e === "Element" ? new sa(this.model, e, this.context) : new G(this.model, e, this.context);
3454
+ }, G.prototype.handleChild = function(e) {
3456
3455
  var t = this.getPropertyForNode(e), n, r = this.element, i;
3457
3456
  if (n = t.effectiveType || t.type, Mi(n)) return this.valueHandler(t, r);
3458
3457
  i = t.isReference ? this.referenceHandler(t).handleNode(e) : this.handler(n).handleNode(e);
3459
3458
  var a = i.element;
3460
- return a !== void 0 && (t.isMany ? r.get(t.name).push(a) : r.set(t.name, a), t.isReference ? (z(a, { element: r }), this.context.addReference(a)) : a.$parent = r), i;
3459
+ return a !== void 0 && (t.isMany ? r.get(t.name).push(a) : r.set(t.name, a), t.isReference ? (R(a, { element: r }), this.context.addReference(a)) : a.$parent = r), i;
3461
3460
  };
3462
3461
  function oa(e, t, n) {
3463
- K.call(this, e, t, n);
3462
+ G.call(this, e, t, n);
3464
3463
  }
3465
- oa.prototype = Object.create(K.prototype), oa.prototype.createElement = function(e) {
3466
- var t = e.name, n = G(t), r = this.model, i = this.type, a = r.getPackage(n.prefix), o = a && Ji(n, a) || t;
3464
+ oa.prototype = Object.create(G.prototype), oa.prototype.createElement = function(e) {
3465
+ var t = e.name, n = W(t), r = this.model, i = this.type, a = r.getPackage(n.prefix), o = a && Ji(n, a) || t;
3467
3466
  if (!i.hasType(o)) throw Zi("unexpected element <" + e.originalName + ">");
3468
- return K.prototype.createElement.call(this, e);
3467
+ return G.prototype.createElement.call(this, e);
3469
3468
  };
3470
3469
  function sa(e, t, n) {
3471
3470
  this.model = e, this.context = n;
3472
3471
  }
3473
3472
  sa.prototype = Object.create(aa.prototype), sa.prototype.createElement = function(e) {
3474
- var t = e.name, n = G(t).prefix, r = e.ns[n + "$uri"], i = e.attributes;
3473
+ var t = e.name, n = W(t).prefix, r = e.ns[n + "$uri"], i = e.attributes;
3475
3474
  return this.model.createAny(t, r, i);
3476
3475
  }, sa.prototype.handleChild = function(e) {
3477
3476
  var t = new sa(this.model, "Element", this.context).handleNode(e), n = this.element, r = t.element, i;
@@ -3480,12 +3479,12 @@ sa.prototype = Object.create(aa.prototype), sa.prototype.createElement = functio
3480
3479
  this.body && (this.element.$body = this.body);
3481
3480
  };
3482
3481
  function ca(e) {
3483
- e instanceof Bi && (e = { model: e }), z(this, { lax: !1 }, e);
3482
+ e instanceof Bi && (e = { model: e }), R(this, { lax: !1 }, e);
3484
3483
  }
3485
3484
  ca.prototype.fromXML = function(e, t, n) {
3486
3485
  var r = t.rootHandler;
3487
- t instanceof K ? (r = t, t = {}) : typeof t == "string" ? (r = this.handler(t), t = {}) : typeof r == "string" && (r = this.handler(r));
3488
- var i = this.model, a = this.lax, o = new $i(z({}, t, { rootHandler: r })), s = new Ti({ proxy: !0 }), c = la();
3486
+ t instanceof G ? (r = t, t = {}) : typeof t == "string" ? (r = this.handler(t), t = {}) : typeof r == "string" && (r = this.handler(r));
3487
+ var i = this.model, a = this.lax, o = new $i(R({}, t, { rootHandler: r })), s = new Ti({ proxy: !0 }), c = la();
3489
3488
  r.context = o, c.push(r);
3490
3489
  function l(e, t, n) {
3491
3490
  var r = t(), i = r.line, a = r.column, s = r.data;
@@ -3623,7 +3622,7 @@ function ga(e, t) {
3623
3622
  } });
3624
3623
  }
3625
3624
  function _a(e) {
3626
- return ae(e) ? e : (e.prefix ? e.prefix + ":" : "") + e.localName;
3625
+ return ie(e) ? e : (e.prefix ? e.prefix + ":" : "") + e.localName;
3627
3626
  }
3628
3627
  function va(e) {
3629
3628
  return e.getUsed().filter(function(e) {
@@ -3636,16 +3635,16 @@ function va(e) {
3636
3635
  });
3637
3636
  }
3638
3637
  function ya(e, t) {
3639
- return t.isGeneric ? z({ localName: t.ns.localName }, e) : z({ localName: ha(t.ns.localName, t.$pkg) }, e);
3638
+ return t.isGeneric ? R({ localName: t.ns.localName }, e) : R({ localName: ha(t.ns.localName, t.$pkg) }, e);
3640
3639
  }
3641
3640
  function ba(e, t) {
3642
- return z({ localName: t.ns.localName }, e);
3641
+ return R({ localName: t.ns.localName }, e);
3643
3642
  }
3644
3643
  function xa(e) {
3645
3644
  var t = e.$descriptor;
3646
- return I(t.properties, function(t) {
3645
+ return le(t.properties, function(t) {
3647
3646
  var n = t.name;
3648
- if (t.isVirtual || !se(e, n)) return !1;
3647
+ if (t.isVirtual || !oe(e, n)) return !1;
3649
3648
  var r = e[n];
3650
3649
  return r === t.default || r === null ? !1 : t.isMany ? r.length : !0;
3651
3650
  });
@@ -3664,7 +3663,7 @@ var Sa = {
3664
3663
  "&": "amp"
3665
3664
  };
3666
3665
  function wa(e, t, n) {
3667
- return e = ae(e) ? e : "" + e, e.replace(t, function(e) {
3666
+ return e = ie(e) ? e : "" + e, e.replace(t, function(e) {
3668
3667
  return "&" + n[e] + ";";
3669
3668
  });
3670
3669
  }
@@ -3675,12 +3674,12 @@ function Ea(e) {
3675
3674
  return wa(e, fa, Ca);
3676
3675
  }
3677
3676
  function Da(e) {
3678
- return I(e, function(e) {
3677
+ return le(e, function(e) {
3679
3678
  return e.isAttr;
3680
3679
  });
3681
3680
  }
3682
3681
  function Oa(e) {
3683
- return I(e, function(e) {
3682
+ return le(e, function(e) {
3684
3683
  return !e.isAttr;
3685
3684
  });
3686
3685
  }
@@ -3704,37 +3703,37 @@ function ja(e) {
3704
3703
  ga(ja, Aa), ja.prototype.serializeTo = function(e) {
3705
3704
  e.appendIndent().append("<" + this.tagName + ">"), this.serializeValue(e), e.append("</" + this.tagName + ">").appendNewLine();
3706
3705
  };
3707
- function q(e, t) {
3706
+ function K(e, t) {
3708
3707
  this.body = [], this.attrs = [], this.parent = e, this.propertyDescriptor = t;
3709
3708
  }
3710
- q.prototype.build = function(e) {
3709
+ K.prototype.build = function(e) {
3711
3710
  this.element = e;
3712
3711
  var t = e.$descriptor, n = this.propertyDescriptor, r, i, a = t.isGeneric;
3713
3712
  return r = a ? this.parseGeneric(e) : this.parseNsAttributes(e), n ? this.ns = this.nsPropertyTagName(n) : this.ns = this.nsTagName(t), this.tagName = this.addTagName(this.ns), a || (i = xa(e), this.parseAttributes(Da(i)), this.parseContainments(Oa(i))), this.parseGenericAttributes(e, r), this;
3714
- }, q.prototype.nsTagName = function(e) {
3713
+ }, K.prototype.nsTagName = function(e) {
3715
3714
  return ya(this.logNamespaceUsed(e.ns), e);
3716
- }, q.prototype.nsPropertyTagName = function(e) {
3715
+ }, K.prototype.nsPropertyTagName = function(e) {
3717
3716
  return ba(this.logNamespaceUsed(e.ns), e);
3718
- }, q.prototype.isLocalNs = function(e) {
3717
+ }, K.prototype.isLocalNs = function(e) {
3719
3718
  return e.uri === this.ns.uri;
3720
- }, q.prototype.nsAttributeName = function(e) {
3721
- var t = ae(e) ? G(e) : e.ns;
3719
+ }, K.prototype.nsAttributeName = function(e) {
3720
+ var t = ie(e) ? W(e) : e.ns;
3722
3721
  if (e.inherited) return { localName: t.localName };
3723
3722
  var n = this.logNamespaceUsed(t);
3724
- return this.getNamespaces().logUsed(n), this.isLocalNs(n) ? { localName: t.localName } : z({ localName: t.localName }, n);
3725
- }, q.prototype.parseGeneric = function(e) {
3723
+ return this.getNamespaces().logUsed(n), this.isLocalNs(n) ? { localName: t.localName } : R({ localName: t.localName }, n);
3724
+ }, K.prototype.parseGeneric = function(e) {
3726
3725
  var t = this, n = this.body, r = [];
3727
- return L(e, function(i, a) {
3726
+ return I(e, function(i, a) {
3728
3727
  var o;
3729
- a === "$body" ? n.push(new Aa().build({ type: "String" }, i)) : a === "$children" ? L(i, function(e) {
3730
- n.push(new q(t).build(e));
3728
+ a === "$body" ? n.push(new Aa().build({ type: "String" }, i)) : a === "$children" ? I(i, function(e) {
3729
+ n.push(new K(t).build(e));
3731
3730
  }) : a.indexOf("$") !== 0 && (o = t.parseNsAttribute(e, a, i), o && r.push({
3732
3731
  name: a,
3733
3732
  value: i
3734
3733
  }));
3735
3734
  }), r;
3736
- }, q.prototype.parseNsAttribute = function(e, t, n) {
3737
- var r = e.$model, i = G(t), a;
3735
+ }, K.prototype.parseNsAttribute = function(e, t, n) {
3736
+ var r = e.$model, i = W(t), a;
3738
3737
  if (i.prefix === "xmlns" && (a = {
3739
3738
  prefix: i.localName,
3740
3739
  uri: n
@@ -3747,47 +3746,47 @@ q.prototype.build = function(e) {
3747
3746
  var o = this.logNamespaceUsed(a, !0);
3748
3747
  this.getNamespaces().logUsed(o);
3749
3748
  }
3750
- }, q.prototype.parseNsAttributes = function(e, t) {
3749
+ }, K.prototype.parseNsAttributes = function(e, t) {
3751
3750
  var n = this, r = e.$attrs, i = [];
3752
- return L(r, function(t, r) {
3751
+ return I(r, function(t, r) {
3753
3752
  var a = n.parseNsAttribute(e, r, t);
3754
3753
  a && i.push(a);
3755
3754
  }), i;
3756
- }, q.prototype.parseGenericAttributes = function(e, t) {
3755
+ }, K.prototype.parseGenericAttributes = function(e, t) {
3757
3756
  var n = this;
3758
- L(t, function(t) {
3757
+ I(t, function(t) {
3759
3758
  if (t.name !== Ui) try {
3760
3759
  n.addAttribute(n.nsAttributeName(t.name), t.value);
3761
3760
  } catch (n) {
3762
3761
  console.warn("missing namespace information for ", t.name, "=", t.value, "on", e, n);
3763
3762
  }
3764
3763
  });
3765
- }, q.prototype.parseContainments = function(e) {
3764
+ }, K.prototype.parseContainments = function(e) {
3766
3765
  var t = this, n = this.body, r = this.element;
3767
- L(e, function(e) {
3766
+ I(e, function(e) {
3768
3767
  var i = r.get(e.name), a = e.isReference;
3769
3768
  if (e.isMany || (i = [i]), e.isBody) n.push(new Aa().build(e, i[0]));
3770
- else if (Mi(e.type)) L(i, function(r) {
3769
+ else if (Mi(e.type)) I(i, function(r) {
3771
3770
  n.push(new ja(t.addTagName(t.nsPropertyTagName(e))).build(e, r));
3772
3771
  });
3773
- else if (a) L(i, function(r) {
3772
+ else if (a) I(i, function(r) {
3774
3773
  n.push(new ka(t.addTagName(t.nsPropertyTagName(e))).build(r));
3775
3774
  });
3776
3775
  else {
3777
3776
  var o = Gi(e), s = Ki(e);
3778
- L(i, function(r) {
3779
- var i = o ? new Ma(t, e) : s ? new q(t, e) : new q(t);
3777
+ I(i, function(r) {
3778
+ var i = o ? new Ma(t, e) : s ? new K(t, e) : new K(t);
3780
3779
  n.push(i.build(r));
3781
3780
  });
3782
3781
  }
3783
3782
  });
3784
- }, q.prototype.getNamespaces = function(e) {
3783
+ }, K.prototype.getNamespaces = function(e) {
3785
3784
  var t = this.namespaces, n = this.parent, r;
3786
3785
  return t || (r = n && n.getNamespaces(), e || !r ? this.namespaces = t = new pa(r) : t = r), t;
3787
- }, q.prototype.logNamespace = function(e, t, n) {
3786
+ }, K.prototype.logNamespace = function(e, t, n) {
3788
3787
  var r = this.getNamespaces(n), i = e.uri, a = e.prefix;
3789
3788
  return (!r.byUri(i) || n) && r.add(e, t), r.mapPrefix(a, i), e;
3790
- }, q.prototype.logNamespaceUsed = function(e, t) {
3789
+ }, K.prototype.logNamespaceUsed = function(e, t) {
3791
3790
  var n = this.element.$model, r = this.getNamespaces(t), i = e.prefix, a = e.uri, o, s, c;
3792
3791
  if (!i && !a) return { localName: e.localName };
3793
3792
  if (c = Hi[i] || n && (n.getPackage(i) || {}).uri, a = a || c || r.uriByPrefix(i), !a) throw Error("no namespace uri given for prefix <" + i + ">");
@@ -3799,48 +3798,48 @@ q.prototype.build = function(e) {
3799
3798
  }, c === a);
3800
3799
  }
3801
3800
  return i && r.mapPrefix(i, a), e;
3802
- }, q.prototype.parseAttributes = function(e) {
3801
+ }, K.prototype.parseAttributes = function(e) {
3803
3802
  var t = this, n = this.element;
3804
- L(e, function(e) {
3803
+ I(e, function(e) {
3805
3804
  var r = n.get(e.name);
3806
3805
  if (e.isReference) if (!e.isMany) r = r.id;
3807
3806
  else {
3808
3807
  var i = [];
3809
- L(r, function(e) {
3808
+ I(r, function(e) {
3810
3809
  i.push(e.id);
3811
3810
  }), r = i.join(" ");
3812
3811
  }
3813
3812
  t.addAttribute(t.nsAttributeName(e), r);
3814
3813
  });
3815
- }, q.prototype.addTagName = function(e) {
3814
+ }, K.prototype.addTagName = function(e) {
3816
3815
  var t = this.logNamespaceUsed(e);
3817
3816
  return this.getNamespaces().logUsed(t), _a(e);
3818
- }, q.prototype.addAttribute = function(e, t) {
3817
+ }, K.prototype.addAttribute = function(e, t) {
3819
3818
  var n = this.attrs;
3820
- ae(t) && (t = Ta(t));
3821
- var r = le(n, function(t) {
3819
+ ie(t) && (t = Ta(t));
3820
+ var r = ce(n, function(t) {
3822
3821
  return t.name.localName === e.localName && t.name.uri === e.uri && t.name.prefix === e.prefix;
3823
3822
  }), i = {
3824
3823
  name: e,
3825
3824
  value: t
3826
3825
  };
3827
3826
  r === -1 ? n.push(i) : n.splice(r, 1, i);
3828
- }, q.prototype.serializeAttributes = function(e) {
3827
+ }, K.prototype.serializeAttributes = function(e) {
3829
3828
  var t = this.attrs, n = this.namespaces;
3830
- n && (t = va(n).concat(t)), L(t, function(t) {
3829
+ n && (t = va(n).concat(t)), I(t, function(t) {
3831
3830
  e.append(" ").append(_a(t.name)).append("=\"").append(t.value).append("\"");
3832
3831
  });
3833
- }, q.prototype.serializeTo = function(e) {
3832
+ }, K.prototype.serializeTo = function(e) {
3834
3833
  var t = this.body[0], n = t && t.constructor !== Aa;
3835
- e.appendIndent().append("<" + this.tagName), this.serializeAttributes(e), e.append(t ? ">" : " />"), t && (n && e.appendNewLine().indent(), L(this.body, function(t) {
3834
+ e.appendIndent().append("<" + this.tagName), this.serializeAttributes(e), e.append(t ? ">" : " />"), t && (n && e.appendNewLine().indent(), I(this.body, function(t) {
3836
3835
  t.serializeTo(e);
3837
3836
  }), n && e.unindent().appendIndent(), e.append("</" + this.tagName + ">")), e.appendNewLine();
3838
3837
  };
3839
3838
  function Ma(e, t) {
3840
- q.call(this, e, t);
3839
+ K.call(this, e, t);
3841
3840
  }
3842
- ga(Ma, q), Ma.prototype.parseNsAttributes = function(e) {
3843
- var t = q.prototype.parseNsAttributes.call(this, e), n = e.$descriptor;
3841
+ ga(Ma, K), Ma.prototype.parseNsAttributes = function(e) {
3842
+ var t = K.prototype.parseNsAttributes.call(this, e), n = e.$descriptor;
3844
3843
  if (n.name === this.propertyDescriptor.type) return t;
3845
3844
  var r = this.typeNs = this.nsTagName(n);
3846
3845
  this.getNamespaces().logUsed(this.typeNs);
@@ -3869,13 +3868,13 @@ function Pa(e, t) {
3869
3868
  };
3870
3869
  }
3871
3870
  function Fa(e) {
3872
- e = z({
3871
+ e = R({
3873
3872
  format: !1,
3874
3873
  preamble: !0
3875
3874
  }, e || {});
3876
3875
  function t(t, n) {
3877
3876
  var r = n || new Na(), i = new Pa(r, e.format);
3878
- if (e.preamble && i.append(ua), new q().build(t).serializeTo(i), !n) return r.value;
3877
+ if (e.preamble && i.append(ua), new K().build(t).serializeTo(i), !n) return r.value;
3879
3878
  }
3880
3879
  return { toXML: t };
3881
3880
  }
@@ -3885,8 +3884,8 @@ function Ia(e, t) {
3885
3884
  oi.call(this, e, t);
3886
3885
  }
3887
3886
  Ia.prototype = Object.create(oi.prototype), Ia.prototype.fromXML = function(e, t, n) {
3888
- ae(t) || (n = t, t = "bpmn:Definitions");
3889
- var r = new ca(z({
3887
+ ie(t) || (n = t, t = "bpmn:Definitions");
3888
+ var r = new ca(R({
3890
3889
  model: this,
3891
3890
  lax: !0
3892
3891
  }, n)), i = r.handler(t);
@@ -6830,11 +6829,11 @@ var La = {
6830
6829
  }
6831
6830
  };
6832
6831
  function Ra(e, t) {
6833
- return new Ia(z({}, La, e), t);
6832
+ return new Ia(R({}, La, e), t);
6834
6833
  }
6835
6834
  //#endregion
6836
6835
  //#region node_modules/bpmn-js/lib/import/Util.js
6837
- function J(e) {
6836
+ function q(e) {
6838
6837
  return e ? "<" + e.$type + (e.id ? " id=\"" + e.id : "") + "\" />" : "<null>";
6839
6838
  }
6840
6839
  //#endregion
@@ -6843,7 +6842,7 @@ function za(e) {
6843
6842
  return function() {
6844
6843
  if (!window.Promise) throw Error("Promises is not supported in this environment. Please polyfill Promise.");
6845
6844
  var t = arguments.length;
6846
- if (t >= 1 && ie(arguments[t - 1])) {
6845
+ if (t >= 1 && re(arguments[t - 1])) {
6847
6846
  var n = arguments[t - 1];
6848
6847
  console.warn(/* @__PURE__ */ Error("Passing callbacks to " + e.name + " is deprecated and will be removed in a future major release. Please switch to promises: https://bpmn.io/l/moving-to-promises.html"));
6849
6848
  var r = Array.prototype.slice.call(arguments, 0, -1);
@@ -6858,7 +6857,7 @@ function za(e) {
6858
6857
  }
6859
6858
  var Ba = "Tried to access di from the businessObject. The di is available through the diagram element only. For more information, see https://github.com/bpmn-io/bpmn-js/issues/1472";
6860
6859
  function Va(e) {
6861
- se(e, "di") || Object.defineProperty(e, "di", {
6860
+ oe(e, "di") || Object.defineProperty(e, "di", {
6862
6861
  enumerable: !1,
6863
6862
  get: function() {
6864
6863
  throw Error(Ba);
@@ -6871,7 +6870,7 @@ function Ha(e, t) {
6871
6870
  return e.$instanceOf(t);
6872
6871
  }
6873
6872
  function Ua(e) {
6874
- return ce(e.rootElements, function(e) {
6873
+ return se(e.rootElements, function(e) {
6875
6874
  return Ha(e, "bpmn:Process") || Ha(e, "bpmn:Collaboration");
6876
6875
  });
6877
6876
  }
@@ -6889,7 +6888,7 @@ function Wa(e, t) {
6889
6888
  return n[e.id];
6890
6889
  }
6891
6890
  function c(n, r) {
6892
- if (n.gfx) throw Error(t("already rendered {element}", { element: J(n) }));
6891
+ if (n.gfx) throw Error(t("already rendered {element}", { element: q(n) }));
6893
6892
  return e.element(n, i[n.id], r);
6894
6893
  }
6895
6894
  function l(t, n) {
@@ -6903,7 +6902,7 @@ function Wa(e, t) {
6903
6902
  d(n.message, {
6904
6903
  element: e,
6905
6904
  error: n
6906
- }), console.error(t("failed to import {element}", { element: J(e) })), console.error(n);
6905
+ }), console.error(t("failed to import {element}", { element: q(e) })), console.error(n);
6907
6906
  }
6908
6907
  }
6909
6908
  function d(t, n) {
@@ -6911,13 +6910,13 @@ function Wa(e, t) {
6911
6910
  }
6912
6911
  function f(e) {
6913
6912
  var n = e.bpmnElement;
6914
- n ? i[n.id] ? d(t("multiple DI elements defined for {element}", { element: J(n) }), { element: n }) : (i[n.id] = e, Va(n)) : d(t("no bpmnElement referenced in {element}", { element: J(e) }), { element: e });
6913
+ n ? i[n.id] ? d(t("multiple DI elements defined for {element}", { element: q(n) }), { element: n }) : (i[n.id] = e, Va(n)) : d(t("no bpmnElement referenced in {element}", { element: q(e) }), { element: e });
6915
6914
  }
6916
6915
  function p(e) {
6917
6916
  m(e.plane);
6918
6917
  }
6919
6918
  function m(e) {
6920
- f(e), L(e.planeElement, h);
6919
+ f(e), I(e.planeElement, h);
6921
6920
  }
6922
6921
  function h(e) {
6923
6922
  f(e);
@@ -6928,19 +6927,19 @@ function Wa(e, t) {
6928
6927
  if (!n && a && a.length && (n = a[0]), !n) throw Error(t("no diagram to display"));
6929
6928
  i = {}, p(n);
6930
6929
  var o = n.plane;
6931
- if (!o) throw Error(t("no plane for {element}", { element: J(n) }));
6930
+ if (!o) throw Error(t("no plane for {element}", { element: q(n) }));
6932
6931
  var s = o.bpmnElement;
6933
6932
  if (!s) if (s = Ua(e), s) d(t("correcting missing bpmnElement on {plane} to {rootElement}", {
6934
- plane: J(o),
6935
- rootElement: J(s)
6933
+ plane: q(o),
6934
+ rootElement: q(s)
6936
6935
  })), o.bpmnElement = s, f(o);
6937
6936
  else throw Error(t("no process or collaboration to display"));
6938
6937
  var c = l(s, o);
6939
6938
  if (Ha(s, "bpmn:Process") || Ha(s, "bpmn:SubProcess")) v(s, c);
6940
- else if (Ha(s, "bpmn:Collaboration")) P(s, c), y(e.rootElements, c);
6939
+ else if (Ha(s, "bpmn:Collaboration")) F(s, c), y(e.rootElements, c);
6941
6940
  else throw Error(t("unsupported bpmnElement for {plane}: {rootElement}", {
6942
- plane: J(o),
6943
- rootElement: J(s)
6941
+ plane: q(o),
6942
+ rootElement: q(s)
6944
6943
  }));
6945
6944
  _(r);
6946
6945
  }
@@ -6948,10 +6947,10 @@ function Wa(e, t) {
6948
6947
  for (var e; r.length;) e = r.shift(), e();
6949
6948
  }
6950
6949
  function v(e, t) {
6951
- M(e, t), D(e.ioSpecification, t), E(e.artifacts, t), o(e);
6950
+ ne(e, t), D(e.ioSpecification, t), E(e.artifacts, t), o(e);
6952
6951
  }
6953
6952
  function y(e, t) {
6954
- I(e, function(e) {
6953
+ le(e, function(e) {
6955
6954
  return !s(e) && Ha(e, "bpmn:Process") && e.laneSets;
6956
6955
  }).forEach(a(v, t));
6957
6956
  }
@@ -6959,7 +6958,7 @@ function Wa(e, t) {
6959
6958
  u(e, t);
6960
6959
  }
6961
6960
  function x(e, t) {
6962
- L(e, a(b, t));
6961
+ I(e, a(b, t));
6963
6962
  }
6964
6963
  function S(e, t) {
6965
6964
  u(e, t);
@@ -6974,71 +6973,71 @@ function Wa(e, t) {
6974
6973
  u(e, t);
6975
6974
  }
6976
6975
  function E(e, t) {
6977
- L(e, function(e) {
6976
+ I(e, function(e) {
6978
6977
  Ha(e, "bpmn:Association") ? r.push(function() {
6979
6978
  T(e, t);
6980
6979
  }) : T(e, t);
6981
6980
  });
6982
6981
  }
6983
6982
  function D(e, t) {
6984
- e && (L(e.dataInputs, a(C, t)), L(e.dataOutputs, a(w, t)));
6983
+ e && (I(e.dataInputs, a(C, t)), I(e.dataOutputs, a(w, t)));
6985
6984
  }
6986
6985
  function O(e, t) {
6987
- M(e, t), E(e.artifacts, t);
6986
+ ne(e, t), E(e.artifacts, t);
6988
6987
  }
6989
6988
  function k(e, t) {
6990
6989
  var n = u(e, t);
6991
6990
  Ha(e, "bpmn:SubProcess") && O(e, n || t), Ha(e, "bpmn:Activity") && D(e.ioSpecification, t), r.push(function() {
6992
- L(e.dataInputAssociations, a(S, t)), L(e.dataOutputAssociations, a(S, t));
6991
+ I(e.dataInputAssociations, a(S, t)), I(e.dataOutputAssociations, a(S, t));
6993
6992
  });
6994
6993
  }
6995
- function A(e, t) {
6994
+ function ee(e, t) {
6996
6995
  u(e, t);
6997
6996
  }
6998
- function j(e, t) {
6997
+ function A(e, t) {
6999
6998
  u(e, t);
7000
6999
  }
7001
- function ee(e, t) {
7000
+ function te(e, t) {
7002
7001
  r.push(function() {
7003
7002
  var n = u(e, t);
7004
- e.childLaneSet && te(e.childLaneSet, n || t), F(e);
7003
+ e.childLaneSet && j(e.childLaneSet, n || t), re(e);
7005
7004
  });
7006
7005
  }
7007
- function te(e, t) {
7008
- L(e.lanes, a(ee, t));
7009
- }
7010
- function ne(e, t) {
7011
- L(e, a(te, t));
7006
+ function j(e, t) {
7007
+ I(e.lanes, a(te, t));
7012
7008
  }
7013
7009
  function M(e, t) {
7014
- re(e.flowElements, t), e.laneSets && ne(e.laneSets, t);
7010
+ I(e, a(j, t));
7011
+ }
7012
+ function ne(e, t) {
7013
+ N(e.flowElements, t), e.laneSets && M(e.laneSets, t);
7015
7014
  }
7016
- function re(e, n) {
7017
- L(e, function(e) {
7015
+ function N(e, n) {
7016
+ I(e, function(e) {
7018
7017
  Ha(e, "bpmn:SequenceFlow") ? r.push(function() {
7019
- A(e, n);
7018
+ ee(e, n);
7020
7019
  }) : Ha(e, "bpmn:BoundaryEvent") ? r.unshift(function() {
7021
7020
  k(e, n);
7022
- }) : Ha(e, "bpmn:FlowNode") ? k(e, n) : Ha(e, "bpmn:DataObject") || (Ha(e, "bpmn:DataStoreReference") || Ha(e, "bpmn:DataObjectReference") ? j(e, n) : d(t("unrecognized flowElement {element} in context {context}", {
7023
- element: J(e),
7024
- context: n ? J(n.businessObject) : "null"
7021
+ }) : Ha(e, "bpmn:FlowNode") ? k(e, n) : Ha(e, "bpmn:DataObject") || (Ha(e, "bpmn:DataStoreReference") || Ha(e, "bpmn:DataObjectReference") ? A(e, n) : d(t("unrecognized flowElement {element} in context {context}", {
7022
+ element: q(e),
7023
+ context: n ? q(n.businessObject) : "null"
7025
7024
  }), {
7026
7025
  element: e,
7027
7026
  context: n
7028
7027
  }));
7029
7028
  });
7030
7029
  }
7031
- function N(e, t) {
7030
+ function P(e, t) {
7032
7031
  var n = u(e, t), r = e.processRef;
7033
7032
  r && v(r, n || t);
7034
7033
  }
7035
- function P(e, t) {
7036
- L(e.participants, a(N, t)), E(e.artifacts, t), r.push(function() {
7034
+ function F(e, t) {
7035
+ I(e.participants, a(P, t)), E(e.artifacts, t), r.push(function() {
7037
7036
  x(e.messageFlows, t);
7038
7037
  });
7039
7038
  }
7040
- function F(e) {
7041
- L(e.flowNodeRef, function(t) {
7039
+ function re(e) {
7040
+ I(e.flowNodeRef, function(t) {
7042
7041
  var n = t.get("lanes");
7043
7042
  n && n.push(e);
7044
7043
  });
@@ -7052,13 +7051,13 @@ function Wa(e, t) {
7052
7051
  }
7053
7052
  //#endregion
7054
7053
  //#region node_modules/bpmn-js/lib/util/ModelUtil.js
7055
- function Y(e, t) {
7054
+ function J(e, t) {
7056
7055
  var n = Ka(e);
7057
7056
  return n && typeof n.$instanceOf == "function" && n.$instanceOf(t);
7058
7057
  }
7059
7058
  function Ga(e, t) {
7060
7059
  return pe(t, function(t) {
7061
- return Y(e, t);
7060
+ return J(e, t);
7062
7061
  });
7063
7062
  }
7064
7063
  function Ka(e) {
@@ -7089,7 +7088,7 @@ function Ja(e, t, n) {
7089
7088
  t ||= e.diagrams && e.diagrams[0];
7090
7089
  var i = Ya(e, t);
7091
7090
  if (!i) throw Error(a("no diagram to display"));
7092
- L(i, function(t) {
7091
+ I(i, function(t) {
7093
7092
  n.handleDefinitions(e, t);
7094
7093
  });
7095
7094
  var s = t.plane.bpmnElement.id;
@@ -7109,9 +7108,9 @@ function Ja(e, t, n) {
7109
7108
  function Ya(e, t) {
7110
7109
  if (t) {
7111
7110
  var n = t.plane.bpmnElement, r = n;
7112
- !Y(n, "bpmn:Process") && !Y(n, "bpmn:Collaboration") && (r = Za(n));
7113
- var i = Y(r, "bpmn:Collaboration") ? r : ce(e.rootElements, function(e) {
7114
- if (Y(e, "bpmn:Collaboration")) return ce(e.participants, function(e) {
7111
+ !J(n, "bpmn:Process") && !J(n, "bpmn:Collaboration") && (r = Za(n));
7112
+ var i = J(r, "bpmn:Collaboration") ? r : se(e.rootElements, function(e) {
7113
+ if (J(e, "bpmn:Collaboration")) return se(e.participants, function(e) {
7115
7114
  return e.processRef === r;
7116
7115
  });
7117
7116
  }), a = [r];
@@ -7119,7 +7118,7 @@ function Ya(e, t) {
7119
7118
  return e.processRef;
7120
7119
  }), a.push(i));
7121
7120
  var o = Xa(a), s = [t], c = [n];
7122
- return L(e.diagrams, function(e) {
7121
+ return I(e.diagrams, function(e) {
7123
7122
  var t = e.plane.bpmnElement;
7124
7123
  o.indexOf(t) !== -1 && c.indexOf(t) === -1 && (s.push(e), c.push(t));
7125
7124
  }), s;
@@ -7127,13 +7126,13 @@ function Ya(e, t) {
7127
7126
  }
7128
7127
  function Xa(e) {
7129
7128
  var t = [];
7130
- return L(e, function(e) {
7129
+ return I(e, function(e) {
7131
7130
  e && (t.push(e), t = t.concat(Xa(e.flowElements)));
7132
7131
  }), t;
7133
7132
  }
7134
7133
  function Za(e) {
7135
7134
  for (var t = e; t;) {
7136
- if (Y(t, "bpmn:Process")) return t;
7135
+ if (J(t, "bpmn:Process")) return t;
7137
7136
  t = t.$parent;
7138
7137
  }
7139
7138
  }
@@ -7175,10 +7174,10 @@ function so() {
7175
7174
  }
7176
7175
  //#endregion
7177
7176
  //#region node_modules/bpmn-js/lib/BaseViewer.js
7178
- function X(e) {
7179
- e = z({}, uo, e), this._moddle = this._createModdle(e), this._container = this._createContainer(e), mo(this._container), this._init(this._container, this._moddle, e);
7177
+ function Y(e) {
7178
+ e = R({}, uo, e), this._moddle = this._createModdle(e), this._container = this._createContainer(e), mo(this._container), this._init(this._container, this._moddle, e);
7180
7179
  }
7181
- D(X, qr), X.prototype.importXML = za(async function(e, t) {
7180
+ E(Y, qr), Y.prototype.importXML = za(async function(e, t) {
7182
7181
  let n = this;
7183
7182
  function r(e) {
7184
7183
  let t = n.get("eventBus").createEvent(e);
@@ -7222,9 +7221,9 @@ D(X, qr), X.prototype.importXML = za(async function(e, t) {
7222
7221
  warnings: t.warnings
7223
7222
  }), t;
7224
7223
  }
7225
- }), X.prototype.importDefinitions = za(async function(e, t) {
7224
+ }), Y.prototype.importDefinitions = za(async function(e, t) {
7226
7225
  return this._setDefinitions(e), { warnings: (await this.open(t)).warnings };
7227
- }), X.prototype.open = za(async function(e) {
7226
+ }), Y.prototype.open = za(async function(e) {
7228
7227
  let t = this._definitions, n = e;
7229
7228
  if (!t) {
7230
7229
  let e = /* @__PURE__ */ Error("no XML imported");
@@ -7241,7 +7240,7 @@ D(X, qr), X.prototype.importXML = za(async function(e, t) {
7241
7240
  }
7242
7241
  let { warnings: r } = await Ja(this, t, n);
7243
7242
  return { warnings: r };
7244
- }), X.prototype.saveXML = za(async function(e) {
7243
+ }), Y.prototype.saveXML = za(async function(e) {
7245
7244
  e ||= {};
7246
7245
  let t = this._definitions, n, r;
7247
7246
  try {
@@ -7253,7 +7252,7 @@ D(X, qr), X.prototype.importXML = za(async function(e, t) {
7253
7252
  let i = n ? { error: n } : { xml: r };
7254
7253
  if (this._emit("saveXML.done", i), n) throw n;
7255
7254
  return i;
7256
- }), X.prototype.saveSVG = za(async function(e = {}) {
7255
+ }), Y.prototype.saveSVG = za(async function(e = {}) {
7257
7256
  this._emit("saveSVG.start");
7258
7257
  let t, n;
7259
7258
  try {
@@ -7267,47 +7266,47 @@ D(X, qr), X.prototype.importXML = za(async function(e, t) {
7267
7266
  svg: t
7268
7267
  }), n) throw n;
7269
7268
  return { svg: t };
7270
- }), X.prototype._setDefinitions = function(e) {
7269
+ }), Y.prototype._setDefinitions = function(e) {
7271
7270
  this._definitions = e;
7272
- }, X.prototype.getModules = function(e) {
7271
+ }, Y.prototype.getModules = function(e) {
7273
7272
  return this._modules;
7274
- }, X.prototype.clear = function() {
7273
+ }, Y.prototype.clear = function() {
7275
7274
  this.getDefinitions() && qr.prototype.clear.call(this);
7276
- }, X.prototype.destroy = function() {
7275
+ }, Y.prototype.destroy = function() {
7277
7276
  qr.prototype.destroy.call(this), dt(this._container);
7278
- }, X.prototype.on = function(e, t, n, r) {
7277
+ }, Y.prototype.on = function(e, t, n, r) {
7279
7278
  return this.get("eventBus").on(e, t, n, r);
7280
- }, X.prototype.off = function(e, t) {
7279
+ }, Y.prototype.off = function(e, t) {
7281
7280
  this.get("eventBus").off(e, t);
7282
- }, X.prototype.attachTo = function(e) {
7281
+ }, Y.prototype.attachTo = function(e) {
7283
7282
  if (!e) throw Error("parentNode required");
7284
7283
  this.detach(), e.get && e.constructor.prototype.jquery && (e = e.get(0)), typeof e == "string" && (e = lt(e)), e.appendChild(this._container), this._emit("attach", {}), this.get("canvas").resized();
7285
- }, X.prototype.getDefinitions = function() {
7284
+ }, Y.prototype.getDefinitions = function() {
7286
7285
  return this._definitions;
7287
- }, X.prototype.detach = function() {
7286
+ }, Y.prototype.detach = function() {
7288
7287
  let e = this._container, t = e.parentNode;
7289
7288
  t && (this._emit("detach", {}), t.removeChild(e));
7290
- }, X.prototype._init = function(e, t, n) {
7289
+ }, Y.prototype._init = function(e, t, n) {
7291
7290
  let r = n.modules || this.getModules(n), i = n.additionalModules || [], a = [{
7292
7291
  bpmnjs: ["value", this],
7293
7292
  moddle: ["value", t]
7294
- }], o = [].concat(a, r, i), s = z(Ae(n, ["additionalModules"]), {
7295
- canvas: z({}, n.canvas, { container: e }),
7293
+ }], o = [].concat(a, r, i), s = R(Ae(n, ["additionalModules"]), {
7294
+ canvas: R({}, n.canvas, { container: e }),
7296
7295
  modules: o
7297
7296
  });
7298
7297
  qr.call(this, s), n && n.container && this.attachTo(n.container);
7299
- }, X.prototype._emit = function(e, t) {
7298
+ }, Y.prototype._emit = function(e, t) {
7300
7299
  return this.get("eventBus").fire(e, t);
7301
- }, X.prototype._createContainer = function(e) {
7300
+ }, Y.prototype._createContainer = function(e) {
7302
7301
  let t = st("<div class=\"bjs-container\"></div>");
7303
7302
  return Be(t, {
7304
7303
  width: fo(e.width),
7305
7304
  height: fo(e.height),
7306
7305
  position: e.position
7307
7306
  }), t;
7308
- }, X.prototype._createModdle = function(e) {
7309
- return new Ra(z({}, this._moddleExtensions, e.moddleExtensions));
7310
- }, X.prototype._modules = [];
7307
+ }, Y.prototype._createModdle = function(e) {
7308
+ return new Ra(R({}, this._moddleExtensions, e.moddleExtensions));
7309
+ }, Y.prototype._modules = [];
7311
7310
  function co(e, t) {
7312
7311
  return e.warnings = t, e;
7313
7312
  }
@@ -7324,7 +7323,7 @@ function fo(e) {
7324
7323
  return e + (F(e) ? "px" : "");
7325
7324
  }
7326
7325
  function po(e, t) {
7327
- return t && ce(e.diagrams, function(e) {
7326
+ return t && se(e.diagrams, function(e) {
7328
7327
  return e.id === t;
7329
7328
  }) || null;
7330
7329
  }
@@ -7342,7 +7341,7 @@ function mo(e) {
7342
7341
  //#endregion
7343
7342
  //#region node_modules/bpmn-js/lib/util/DiUtil.js
7344
7343
  function ho(e, t) {
7345
- return Y(e, "bpmn:CallActivity") ? !1 : Y(e, "bpmn:SubProcess") ? (t ||= qa(e), t && Y(t, "bpmndi:BPMNPlane") ? !0 : t && !!t.isExpanded) : Y(e, "bpmn:Participant") ? !!Ka(e).processRef : !0;
7344
+ return J(e, "bpmn:CallActivity") ? !1 : J(e, "bpmn:SubProcess") ? (t ||= qa(e), t && J(t, "bpmndi:BPMNPlane") ? !0 : t && !!t.isExpanded) : J(e, "bpmn:Participant") ? !!Ka(e).processRef : !0;
7346
7345
  }
7347
7346
  function go(e) {
7348
7347
  return e && Ka(e).isInterrupting !== !1;
@@ -7352,8 +7351,8 @@ function _o(e) {
7352
7351
  }
7353
7352
  function vo(e, t) {
7354
7353
  var n = Ka(e), r = !1;
7355
- return n.eventDefinitions && L(n.eventDefinitions, function(e) {
7356
- Y(e, t) && (r = !0);
7354
+ return n.eventDefinitions && I(n.eventDefinitions, function(e) {
7355
+ J(e, t) && (r = !0);
7357
7356
  }), r;
7358
7357
  }
7359
7358
  function yo(e) {
@@ -7368,9 +7367,9 @@ function xo(e) {
7368
7367
  //#endregion
7369
7368
  //#region node_modules/bpmn-js/lib/features/label-editing/LabelUtil.js
7370
7369
  function So(e) {
7371
- if (Y(e, "bpmn:FlowElement") || Y(e, "bpmn:Participant") || Y(e, "bpmn:Lane") || Y(e, "bpmn:SequenceFlow") || Y(e, "bpmn:MessageFlow") || Y(e, "bpmn:DataInput") || Y(e, "bpmn:DataOutput")) return "name";
7372
- if (Y(e, "bpmn:TextAnnotation")) return "text";
7373
- if (Y(e, "bpmn:Group")) return "categoryValueRef";
7370
+ if (J(e, "bpmn:FlowElement") || J(e, "bpmn:Participant") || J(e, "bpmn:Lane") || J(e, "bpmn:SequenceFlow") || J(e, "bpmn:MessageFlow") || J(e, "bpmn:DataInput") || J(e, "bpmn:DataOutput")) return "name";
7371
+ if (J(e, "bpmn:TextAnnotation")) return "text";
7372
+ if (J(e, "bpmn:Group")) return "categoryValueRef";
7374
7373
  }
7375
7374
  function Co(e) {
7376
7375
  var t = e.categoryValueRef;
@@ -7404,7 +7403,7 @@ function ko(e) {
7404
7403
  var t = e.dataObjectRef;
7405
7404
  return e.isCollection || t && t.isCollection;
7406
7405
  }
7407
- function Ao(e) {
7406
+ function X(e) {
7408
7407
  return e.businessObject;
7409
7408
  }
7410
7409
  function Z(e, t) {
@@ -7415,11 +7414,11 @@ function Q(e, t) {
7415
7414
  var n = qa(e);
7416
7415
  return n.get("color:border-color") || n.get("bioc:stroke") || t || "hsl(225, 10%, 15%)";
7417
7416
  }
7418
- function jo(e, t, n) {
7417
+ function Ao(e, t, n) {
7419
7418
  var r = qa(e).get("label");
7420
7419
  return r && r.get("color:color") || t || Q(e, n);
7421
7420
  }
7422
- function Mo(e) {
7421
+ function jo(e) {
7423
7422
  var t = e.x + e.width / 2, n = e.y + e.height / 2, r = e.width / 2;
7424
7423
  return sn([
7425
7424
  [
@@ -7455,7 +7454,7 @@ function Mo(e) {
7455
7454
  ["z"]
7456
7455
  ]);
7457
7456
  }
7458
- function No(e, t) {
7457
+ function Mo(e, t) {
7459
7458
  var n = e.x, r = e.y, i = e.width, a = e.height;
7460
7459
  return sn([
7461
7460
  [
@@ -7526,7 +7525,7 @@ function No(e, t) {
7526
7525
  ["z"]
7527
7526
  ]);
7528
7527
  }
7529
- function Po(e) {
7528
+ function No(e) {
7530
7529
  var t = e.width, n = e.height, r = e.x, i = e.y, a = t / 2, o = n / 2;
7531
7530
  return sn([
7532
7531
  [
@@ -7552,7 +7551,7 @@ function Po(e) {
7552
7551
  ["z"]
7553
7552
  ]);
7554
7553
  }
7555
- function Fo(e) {
7554
+ function Po(e) {
7556
7555
  var t = e.x, n = e.y, r = e.width, i = e.height;
7557
7556
  return sn([
7558
7557
  [
@@ -7580,10 +7579,10 @@ function Fo(e) {
7580
7579
  }
7581
7580
  //#endregion
7582
7581
  //#region node_modules/bpmn-js/lib/draw/BpmnRenderer.js
7583
- var Io = new A(), Lo = 10, Ro = 3, zo = .95, Bo = .35, Vo = 10;
7584
- function Ho(e, t, n, r, i, a, o) {
7582
+ var Fo = new k(), Io = 10, Lo = 3, Ro = .95, zo = .35, Bo = 10;
7583
+ function Vo(e, t, n, r, i, a, o) {
7585
7584
  on.call(this, t, o);
7586
- var s = e && e.defaultFillColor, c = e && e.defaultStrokeColor, l = e && e.defaultLabelColor, u = Io.next(), d = {};
7585
+ var s = e && e.defaultFillColor, c = e && e.defaultStrokeColor, l = e && e.defaultLabelColor, u = Fo.next(), d = {};
7587
7586
  function f(e) {
7588
7587
  return n.computeStyle(e, {
7589
7588
  strokeLinecap: "round",
@@ -7605,7 +7604,7 @@ function Ho(e, t, n, r, i, a, o) {
7605
7604
  var { ref: n = {
7606
7605
  x: 0,
7607
7606
  y: 0
7608
- }, scale: r = 1, element: a } = t, o = U("marker", {
7607
+ }, scale: r = 1, element: a } = t, o = H("marker", {
7609
7608
  id: e,
7610
7609
  viewBox: "0 0 20 20",
7611
7610
  refX: n.x,
@@ -7614,9 +7613,9 @@ function Ho(e, t, n, r, i, a, o) {
7614
7613
  markerHeight: 20 * r,
7615
7614
  orient: "auto"
7616
7615
  });
7617
- V(o, a);
7616
+ B(o, a);
7618
7617
  var s = lt("defs", i._svg);
7619
- s || (s = U("defs"), V(i._svg, s)), V(s, o), d[e] = o;
7618
+ s || (s = H("defs"), B(i._svg, s)), B(s, o), d[e] = o;
7620
7619
  }
7621
7620
  function h(e) {
7622
7621
  return e.replace(/[^0-9a-zA-z]+/g, "_");
@@ -7627,7 +7626,7 @@ function Ho(e, t, n, r, i, a, o) {
7627
7626
  }
7628
7627
  function _(e, t, n, r) {
7629
7628
  t === "sequenceflow-end" && m(e, {
7630
- element: U("path", {
7629
+ element: H("path", {
7631
7630
  d: "M 1 5 L 11 10 L 1 15 Z",
7632
7631
  ...f({
7633
7632
  fill: r,
@@ -7641,7 +7640,7 @@ function Ho(e, t, n, r, i, a, o) {
7641
7640
  },
7642
7641
  scale: .5
7643
7642
  }), t === "messageflow-start" && m(e, {
7644
- element: U("circle", {
7643
+ element: H("circle", {
7645
7644
  cx: 6,
7646
7645
  cy: 6,
7647
7646
  r: 3.5,
@@ -7657,7 +7656,7 @@ function Ho(e, t, n, r, i, a, o) {
7657
7656
  y: 6
7658
7657
  }
7659
7658
  }), t === "messageflow-end" && m(e, {
7660
- element: U("path", {
7659
+ element: H("path", {
7661
7660
  d: "m 1 5 l 0 -3 l 7 3 l -7 3 z",
7662
7661
  ...f({
7663
7662
  fill: n,
@@ -7671,7 +7670,7 @@ function Ho(e, t, n, r, i, a, o) {
7671
7670
  y: 5
7672
7671
  }
7673
7672
  }), t === "association-start" && m(e, {
7674
- element: U("path", {
7673
+ element: H("path", {
7675
7674
  d: "M 11 5 L 1 10 L 11 15",
7676
7675
  ...p({
7677
7676
  fill: "none",
@@ -7686,7 +7685,7 @@ function Ho(e, t, n, r, i, a, o) {
7686
7685
  },
7687
7686
  scale: .5
7688
7687
  }), t === "association-end" && m(e, {
7689
- element: U("path", {
7688
+ element: H("path", {
7690
7689
  d: "M 1 5 L 11 10 L 1 15",
7691
7690
  ...p({
7692
7691
  fill: "none",
@@ -7701,7 +7700,7 @@ function Ho(e, t, n, r, i, a, o) {
7701
7700
  },
7702
7701
  scale: .5
7703
7702
  }), t === "conditional-flow-marker" && m(e, {
7704
- element: U("path", {
7703
+ element: H("path", {
7705
7704
  d: "M 0 10 L 8 6 L 16 10 L 8 14 Z",
7706
7705
  ...f({
7707
7706
  fill: n,
@@ -7714,7 +7713,7 @@ function Ho(e, t, n, r, i, a, o) {
7714
7713
  },
7715
7714
  scale: .5
7716
7715
  }), t === "conditional-default-flow-marker" && m(e, {
7717
- element: U("path", {
7716
+ element: H("path", {
7718
7717
  d: "M 6 4 L 10 16",
7719
7718
  ...f({ stroke: r })
7720
7719
  }),
@@ -7727,17 +7726,17 @@ function Ho(e, t, n, r, i, a, o) {
7727
7726
  }
7728
7727
  function v(e, t, n, r, i) {
7729
7728
  P(r) && (i = r, r = 0), r ||= 0, i = f(i), i.fill === "none" && delete i.fillOpacity;
7730
- var a = U("circle", {
7729
+ var a = H("circle", {
7731
7730
  cx: t / 2,
7732
7731
  cy: n / 2,
7733
7732
  r: Math.round((t + n) / 4 - r),
7734
7733
  ...i
7735
7734
  });
7736
- return V(e, a), a;
7735
+ return B(e, a), a;
7737
7736
  }
7738
7737
  function y(e, t, n, r, i, a) {
7739
7738
  P(i) && (a = i, i = 0), i ||= 0, a = f(a);
7740
- var o = U("rect", {
7739
+ var o = H("rect", {
7741
7740
  x: i,
7742
7741
  y: i,
7743
7742
  width: t - i * 2,
@@ -7746,7 +7745,7 @@ function Ho(e, t, n, r, i, a, o) {
7746
7745
  ry: r,
7747
7746
  ...a
7748
7747
  });
7749
- return V(e, o), o;
7748
+ return B(e, o), o;
7750
7749
  }
7751
7750
  function b(e, t, n, r) {
7752
7751
  var i = t / 2, a = n / 2, o = [
@@ -7770,33 +7769,33 @@ function Ho(e, t, n, r, i, a, o) {
7770
7769
  return e.x + "," + e.y;
7771
7770
  }).join(" ");
7772
7771
  r = f(r);
7773
- var s = U("polygon", {
7772
+ var s = H("polygon", {
7774
7773
  ...r,
7775
7774
  points: o
7776
7775
  });
7777
- return V(e, s), s;
7776
+ return B(e, s), s;
7778
7777
  }
7779
7778
  function x(e, t, n, r) {
7780
7779
  n = p(n);
7781
7780
  var i = mn(t, n, r);
7782
- return V(e, i), i;
7781
+ return B(e, i), i;
7783
7782
  }
7784
7783
  function S(e, t, n) {
7785
7784
  return x(e, t, n, 5);
7786
7785
  }
7787
7786
  function C(e, t, n) {
7788
7787
  n = p(n);
7789
- var r = U("path", {
7788
+ var r = H("path", {
7790
7789
  ...n,
7791
7790
  d: t
7792
7791
  });
7793
- return V(e, r), r;
7792
+ return B(e, r), r;
7794
7793
  }
7795
7794
  function w(e, t, n, r) {
7796
- return C(t, n, z({ "data-marker": e }, r));
7795
+ return C(t, n, R({ "data-marker": e }, r));
7797
7796
  }
7798
7797
  function T(e) {
7799
- return ee[e];
7798
+ return te[e];
7800
7799
  }
7801
7800
  function E(e) {
7802
7801
  return function(t, n) {
@@ -7804,23 +7803,23 @@ function Ho(e, t, n, r, i, a, o) {
7804
7803
  };
7805
7804
  }
7806
7805
  function D(e, t) {
7807
- var n = Ao(e), r = Oo(n);
7806
+ var n = X(e), r = Oo(n);
7808
7807
  return n.eventDefinitions && n.eventDefinitions.length > 1 ? n.parallelMultiple ? T("bpmn:ParallelMultipleEventDefinition")(t, e, r) : T("bpmn:MultipleEventDefinition")(t, e, r) : Do(n, "bpmn:MessageEventDefinition") ? T("bpmn:MessageEventDefinition")(t, e, r) : Do(n, "bpmn:TimerEventDefinition") ? T("bpmn:TimerEventDefinition")(t, e, r) : Do(n, "bpmn:ConditionalEventDefinition") ? T("bpmn:ConditionalEventDefinition")(t, e) : Do(n, "bpmn:SignalEventDefinition") ? T("bpmn:SignalEventDefinition")(t, e, r) : Do(n, "bpmn:EscalationEventDefinition") ? T("bpmn:EscalationEventDefinition")(t, e, r) : Do(n, "bpmn:LinkEventDefinition") ? T("bpmn:LinkEventDefinition")(t, e, r) : Do(n, "bpmn:ErrorEventDefinition") ? T("bpmn:ErrorEventDefinition")(t, e, r) : Do(n, "bpmn:CancelEventDefinition") ? T("bpmn:CancelEventDefinition")(t, e, r) : Do(n, "bpmn:CompensateEventDefinition") ? T("bpmn:CompensateEventDefinition")(t, e, r) : Do(n, "bpmn:TerminateEventDefinition") ? T("bpmn:TerminateEventDefinition")(t, e, r) : null;
7809
7808
  }
7810
7809
  function O(e, t, n) {
7811
- n = z({ size: { width: 100 } }, n);
7810
+ n = R({ size: { width: 100 } }, n);
7812
7811
  var r = a.createText(t || "", n);
7813
- return bt(r).add("djs-label"), V(e, r), r;
7812
+ return bt(r).add("djs-label"), B(e, r), r;
7814
7813
  }
7815
7814
  function k(e, t, n) {
7816
- return O(e, Ao(t).name, {
7815
+ return O(e, X(t).name, {
7817
7816
  box: t,
7818
7817
  align: n,
7819
7818
  padding: 7,
7820
- style: { fill: jo(t, l, c) }
7819
+ style: { fill: Ao(t, l, c) }
7821
7820
  });
7822
7821
  }
7823
- function A(e, t) {
7822
+ function ee(e, t) {
7824
7823
  var n = {
7825
7824
  width: 90,
7826
7825
  height: 30,
@@ -7830,29 +7829,29 @@ function Ho(e, t, n, r, i, a, o) {
7830
7829
  return O(e, wo(t), {
7831
7830
  box: n,
7832
7831
  fitBox: !0,
7833
- style: z({}, a.getExternalStyle(), { fill: jo(t, l, c) })
7832
+ style: R({}, a.getExternalStyle(), { fill: Ao(t, l, c) })
7834
7833
  });
7835
7834
  }
7836
- function j(e, t, n) {
7835
+ function A(e, t, n) {
7837
7836
  zr(O(e, t, {
7838
7837
  box: {
7839
7838
  height: 30,
7840
7839
  width: n.height
7841
7840
  },
7842
7841
  align: "center-middle",
7843
- style: { fill: jo(n, l, c) }
7842
+ style: { fill: Ao(n, l, c) }
7844
7843
  }), 0, -(-1 * n.height), 270);
7845
7844
  }
7846
- var ee = this.handlers = {
7845
+ var te = this.handlers = {
7847
7846
  "bpmn:Event": function(e, t, n) {
7848
- return "fillOpacity" in n || (n.fillOpacity = zo), v(e, t.width, t.height, n);
7847
+ return "fillOpacity" in n || (n.fillOpacity = Ro), v(e, t.width, t.height, n);
7849
7848
  },
7850
7849
  "bpmn:StartEvent": function(e, t) {
7851
7850
  var n = {
7852
7851
  fill: Z(t, s),
7853
7852
  stroke: Q(t, c)
7854
7853
  };
7855
- Ao(t).isInterrupting || (n = {
7854
+ X(t).isInterrupting || (n = {
7856
7855
  strokeDasharray: "6",
7857
7856
  fill: Z(t, s),
7858
7857
  stroke: Q(t, c)
@@ -8078,7 +8077,7 @@ function Ho(e, t, n, r, i, a, o) {
8078
8077
  fill: Z(t, s),
8079
8078
  stroke: Q(t, c)
8080
8079
  });
8081
- return v(e, t.width, t.height, Ro, {
8080
+ return v(e, t.width, t.height, Lo, {
8082
8081
  strokeWidth: 1.5,
8083
8082
  fill: Z(t, "none"),
8084
8083
  stroke: Q(t, c)
@@ -8087,14 +8086,14 @@ function Ho(e, t, n, r, i, a, o) {
8087
8086
  "bpmn:IntermediateCatchEvent": E("bpmn:IntermediateEvent"),
8088
8087
  "bpmn:IntermediateThrowEvent": E("bpmn:IntermediateEvent"),
8089
8088
  "bpmn:Activity": function(e, t, n) {
8090
- return n ||= {}, "fillOpacity" in n || (n.fillOpacity = zo), y(e, t.width, t.height, Lo, n);
8089
+ return n ||= {}, "fillOpacity" in n || (n.fillOpacity = Ro), y(e, t.width, t.height, Io, n);
8091
8090
  },
8092
8091
  "bpmn:Task": function(e, t) {
8093
8092
  var n = {
8094
8093
  fill: Z(t, s),
8095
8094
  stroke: Q(t, c)
8096
8095
  }, r = T("bpmn:Activity")(e, t, n);
8097
- return k(e, t, "center-middle"), te(e, t), r;
8096
+ return k(e, t, "center-middle"), j(e, t), r;
8098
8097
  },
8099
8098
  "bpmn:ServiceTask": function(e, t) {
8100
8099
  var n = T("bpmn:Task")(e, t);
@@ -8174,7 +8173,7 @@ function Ho(e, t, n, r, i, a, o) {
8174
8173
  }), n;
8175
8174
  },
8176
8175
  "bpmn:ReceiveTask": function(e, t) {
8177
- var n = Ao(t), i = T("bpmn:Task")(e, t), a;
8176
+ var n = X(t), i = T("bpmn:Task")(e, t), a;
8178
8177
  return n.instantiate ? (v(e, 28, 28, 20 * .22, { strokeWidth: 1 }), a = r.getScaledPath("TASK_TYPE_INSTANTIATING_SEND", { abspos: {
8179
8178
  x: 7.77,
8180
8179
  y: 9.52
@@ -8205,14 +8204,14 @@ function Ho(e, t, n, r, i, a, o) {
8205
8204
  },
8206
8205
  "bpmn:BusinessRuleTask": function(e, t) {
8207
8206
  var n = T("bpmn:Task")(e, t);
8208
- return H(C(e, r.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER", { abspos: {
8207
+ return V(C(e, r.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER", { abspos: {
8209
8208
  x: 8,
8210
8209
  y: 8
8211
8210
  } })), {
8212
8211
  strokeWidth: 1,
8213
8212
  fill: Z(t, "#aaaaaa"),
8214
8213
  stroke: Q(t, c)
8215
- }), H(C(e, r.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN", { abspos: {
8214
+ }), V(C(e, r.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN", { abspos: {
8216
8215
  x: 8,
8217
8216
  y: 8
8218
8217
  } })), {
@@ -8227,10 +8226,10 @@ function Ho(e, t, n, r, i, a, o) {
8227
8226
  ...n
8228
8227
  };
8229
8228
  var r = T("bpmn:Activity")(e, t, n), i = ho(t);
8230
- return _o(t) && H(r, {
8229
+ return _o(t) && V(r, {
8231
8230
  strokeDasharray: "0, 5.5",
8232
8231
  strokeWidth: 2.5
8233
- }), k(e, t, i ? "center-top" : "center-middle"), i ? te(e, t) : te(e, t, ["SubProcessMarker"]), r;
8232
+ }), k(e, t, i ? "center-top" : "center-middle"), i ? j(e, t) : j(e, t, ["SubProcessMarker"]), r;
8234
8233
  },
8235
8234
  "bpmn:AdHocSubProcess": function(e, t) {
8236
8235
  return T("bpmn:SubProcess")(e, t);
@@ -8240,14 +8239,14 @@ function Ho(e, t, n, r, i, a, o) {
8240
8239
  stroke: Q(t, c),
8241
8240
  strokeWidth: 1.5
8242
8241
  });
8243
- return y(e, t.width, t.height, Lo - 3, Ro, i), r;
8242
+ return y(e, t.width, t.height, Io - 3, Lo, i), r;
8244
8243
  },
8245
8244
  "bpmn:CallActivity": function(e, t) {
8246
8245
  return T("bpmn:SubProcess")(e, t, { strokeWidth: 5 });
8247
8246
  },
8248
8247
  "bpmn:Participant": function(e, t) {
8249
8248
  var n = 1.5, r = {
8250
- fillOpacity: zo,
8249
+ fillOpacity: Ro,
8251
8250
  fill: Z(t, s),
8252
8251
  stroke: Q(t, c),
8253
8252
  strokeWidth: n
@@ -8263,29 +8262,29 @@ function Ho(e, t, n, r, i, a, o) {
8263
8262
  stroke: Q(t, c),
8264
8263
  strokeWidth: n
8265
8264
  });
8266
- var a = Ao(t).name;
8267
- j(e, a, t);
8265
+ var a = X(t).name;
8266
+ A(e, a, t);
8268
8267
  } else {
8269
- var o = Ao(t).name;
8268
+ var o = X(t).name;
8270
8269
  O(e, o, {
8271
8270
  box: t,
8272
8271
  align: "center-middle",
8273
- style: { fill: jo(t, l, c) }
8272
+ style: { fill: Ao(t, l, c) }
8274
8273
  });
8275
8274
  }
8276
- return Ao(t).participantMultiplicity && T("ParticipantMultiplicityMarker")(e, t), i;
8275
+ return X(t).participantMultiplicity && T("ParticipantMultiplicityMarker")(e, t), i;
8277
8276
  },
8278
8277
  "bpmn:Lane": function(e, t, n) {
8279
8278
  var r = y(e, t.width, t.height, 0, {
8280
8279
  fill: Z(t, s),
8281
- fillOpacity: Bo,
8280
+ fillOpacity: zo,
8282
8281
  stroke: Q(t, c),
8283
8282
  strokeWidth: 1.5,
8284
8283
  ...n
8285
- }), i = Ao(t);
8284
+ }), i = X(t);
8286
8285
  if (i.$type === "bpmn:Lane") {
8287
8286
  var a = i.name;
8288
- j(e, a, t);
8287
+ A(e, a, t);
8289
8288
  }
8290
8289
  return r;
8291
8290
  },
@@ -8349,7 +8348,7 @@ function Ho(e, t, n, r, i, a, o) {
8349
8348
  }), n;
8350
8349
  },
8351
8350
  "bpmn:EventBasedGateway": function(e, t) {
8352
- var n = Ao(t), i = T("bpmn:Gateway")(e, t);
8351
+ var n = X(t), i = T("bpmn:Gateway")(e, t);
8353
8352
  v(e, t.width, t.height, t.height * .2, {
8354
8353
  strokeWidth: 1,
8355
8354
  fill: "none",
@@ -8393,7 +8392,7 @@ function Ho(e, t, n, r, i, a, o) {
8393
8392
  "bpmn:Gateway": function(e, t) {
8394
8393
  return b(e, t.width, t.height, {
8395
8394
  fill: Z(t, s),
8396
- fillOpacity: zo,
8395
+ fillOpacity: Ro,
8397
8396
  stroke: Q(t, c)
8398
8397
  });
8399
8398
  },
@@ -8401,11 +8400,11 @@ function Ho(e, t, n, r, i, a, o) {
8401
8400
  var n = Z(t, s), r = Q(t, c), i = S(e, t.waypoints, {
8402
8401
  markerEnd: g("sequenceflow-end", n, r),
8403
8402
  stroke: Q(t, c)
8404
- }), a = Ao(t), o;
8405
- return t.source && (o = t.source.businessObject, a.conditionExpression && o.$instanceOf("bpmn:Activity") && H(i, { markerStart: g("conditional-flow-marker", n, r) }), o.default && (o.$instanceOf("bpmn:Gateway") || o.$instanceOf("bpmn:Activity")) && o.default === a && H(i, { markerStart: g("conditional-default-flow-marker", n, r) })), i;
8403
+ }), a = X(t), o;
8404
+ return t.source && (o = t.source.businessObject, a.conditionExpression && o.$instanceOf("bpmn:Activity") && V(i, { markerStart: g("conditional-flow-marker", n, r) }), o.default && (o.$instanceOf("bpmn:Gateway") || o.$instanceOf("bpmn:Activity")) && o.default === a && V(i, { markerStart: g("conditional-default-flow-marker", n, r) })), i;
8406
8405
  },
8407
8406
  "bpmn:Association": function(e, t, n) {
8408
- var r = Ao(t), i = Z(t, s), a = Q(t, c);
8407
+ var r = X(t), i = Z(t, s), a = Q(t, c);
8409
8408
  return n = {
8410
8409
  strokeDasharray: "0, 5",
8411
8410
  stroke: Q(t, c),
@@ -8421,7 +8420,7 @@ function Ho(e, t, n, r, i, a, o) {
8421
8420
  return T("bpmn:Association")(e, t, { markerEnd: g("association-end", n, r) });
8422
8421
  },
8423
8422
  "bpmn:MessageFlow": function(e, t) {
8424
- var n = Ao(t), i = qa(t), a = Z(t, s), o = Q(t, c), u = S(e, t.waypoints, {
8423
+ var n = X(t), i = qa(t), a = Z(t, s), o = Q(t, c), u = S(e, t.waypoints, {
8425
8424
  markerEnd: g("messageflow-end", a, o),
8426
8425
  markerStart: g("messageflow-start", a, o),
8427
8426
  strokeDasharray: "10, 11",
@@ -8439,7 +8438,7 @@ function Ho(e, t, n, r, i, a, o) {
8439
8438
  fitBox: !0,
8440
8439
  style: { fill: Q(t, l, c) }
8441
8440
  }), v = m.getBBox(), y = _.getBBox();
8442
- zr(_, d.x - y.width / 2, d.y + v.height / 2 + Vo, 0);
8441
+ zr(_, d.x - y.width / 2, d.y + v.height / 2 + Bo, 0);
8443
8442
  }
8444
8443
  return u;
8445
8444
  },
@@ -8455,10 +8454,10 @@ function Ho(e, t, n, r, i, a, o) {
8455
8454
  }
8456
8455
  }), {
8457
8456
  fill: Z(t, s),
8458
- fillOpacity: zo,
8457
+ fillOpacity: Ro,
8459
8458
  stroke: Q(t, c)
8460
8459
  });
8461
- return ko(Ao(t)) && ne(e, t), n;
8460
+ return ko(X(t)) && M(e, t), n;
8462
8461
  },
8463
8462
  "bpmn:DataObjectReference": E("bpmn:DataObject"),
8464
8463
  "bpmn:DataInput": function(e, t) {
@@ -8485,12 +8484,12 @@ function Ho(e, t, n, r, i, a, o) {
8485
8484
  }), {
8486
8485
  strokeWidth: 2,
8487
8486
  fill: Z(t, s),
8488
- fillOpacity: zo,
8487
+ fillOpacity: Ro,
8489
8488
  stroke: Q(t, c)
8490
8489
  });
8491
8490
  },
8492
8491
  "bpmn:BoundaryEvent": function(e, t) {
8493
- var n = Ao(t).cancelActivity, r = {
8492
+ var n = X(t).cancelActivity, r = {
8494
8493
  strokeWidth: 1.5,
8495
8494
  fill: Z(t, s),
8496
8495
  stroke: Q(t, c)
@@ -8503,10 +8502,10 @@ function Ho(e, t, n, r, i, a, o) {
8503
8502
  ...r,
8504
8503
  fill: "none"
8505
8504
  }, o = T("bpmn:Event")(e, t, i);
8506
- return v(e, t.width, t.height, Ro, a), D(t, e), o;
8505
+ return v(e, t.width, t.height, Lo, a), D(t, e), o;
8507
8506
  },
8508
8507
  "bpmn:Group": function(e, t) {
8509
- return y(e, t.width, t.height, Lo, {
8508
+ return y(e, t.width, t.height, Io, {
8510
8509
  stroke: Q(t, c),
8511
8510
  strokeWidth: 1.5,
8512
8511
  strokeDasharray: "10,6,0,6",
@@ -8515,7 +8514,7 @@ function Ho(e, t, n, r, i, a, o) {
8515
8514
  });
8516
8515
  },
8517
8516
  label: function(e, t) {
8518
- return A(e, t);
8517
+ return ee(e, t);
8519
8518
  },
8520
8519
  "bpmn:TextAnnotation": function(e, t) {
8521
8520
  var n = y(e, t.width, t.height, 0, 0, {
@@ -8531,11 +8530,11 @@ function Ho(e, t, n, r, i, a, o) {
8531
8530
  mx: 0,
8532
8531
  my: 0
8533
8532
  }
8534
- }), { stroke: Q(t, c) }), O(e, Ao(t).text || "", {
8533
+ }), { stroke: Q(t, c) }), O(e, X(t).text || "", {
8535
8534
  box: t,
8536
8535
  align: "left-top",
8537
8536
  padding: 7,
8538
- style: { fill: jo(t, l, c) }
8537
+ style: { fill: Ao(t, l, c) }
8539
8538
  }), n;
8540
8539
  },
8541
8540
  ParticipantMultiplicityMarker: function(e, t) {
@@ -8653,8 +8652,8 @@ function Ho(e, t, n, r, i, a, o) {
8653
8652
  });
8654
8653
  }
8655
8654
  };
8656
- function te(e, t, n) {
8657
- var r = Ao(t), i = n && n.indexOf("SubProcessMarker") !== -1 ? {
8655
+ function j(e, t, n) {
8656
+ var r = X(t), i = n && n.indexOf("SubProcessMarker") !== -1 ? {
8658
8657
  seq: -21,
8659
8658
  parallel: -22,
8660
8659
  compensation: -42,
@@ -8667,13 +8666,13 @@ function Ho(e, t, n, r, i, a, o) {
8667
8666
  loop: 0,
8668
8667
  adhoc: 10
8669
8668
  };
8670
- L(n, function(n) {
8669
+ I(n, function(n) {
8671
8670
  T(n)(e, t, i);
8672
8671
  }), r.isForCompensation && T("CompensationMarker")(e, t, i), r.$type === "bpmn:AdHocSubProcess" && T("AdhocMarker")(e, t, i);
8673
8672
  var a = r.loopCharacteristics, o = a && a.isSequential;
8674
8673
  a && (o === void 0 && T("LoopMarker")(e, t, i), o === !1 && T("ParallelMarker")(e, t, i), o === !0 && T("SequentialMarker")(e, t, i));
8675
8674
  }
8676
- function ne(e, t) {
8675
+ function M(e, t) {
8677
8676
  var n = (t.height - 18) / t.height;
8678
8677
  C(e, r.getScaledPath("DATA_OBJECT_COLLECTION_PATH", {
8679
8678
  xScaleFactor: 1,
@@ -8688,39 +8687,39 @@ function Ho(e, t, n, r, i, a, o) {
8688
8687
  }
8689
8688
  this._drawPath = C, this._renderer = T;
8690
8689
  }
8691
- D(Ho, on), Ho.$inject = [
8690
+ E(Vo, on), Vo.$inject = [
8692
8691
  "config.bpmnRenderer",
8693
8692
  "eventBus",
8694
8693
  "styles",
8695
8694
  "pathMap",
8696
8695
  "canvas",
8697
8696
  "textRenderer"
8698
- ], Ho.prototype.canRender = function(e) {
8699
- return Y(e, "bpmn:BaseElement");
8700
- }, Ho.prototype.drawShape = function(e, t) {
8697
+ ], Vo.prototype.canRender = function(e) {
8698
+ return J(e, "bpmn:BaseElement");
8699
+ }, Vo.prototype.drawShape = function(e, t) {
8701
8700
  var n = t.type;
8702
8701
  return this._renderer(n)(e, t);
8703
- }, Ho.prototype.drawConnection = function(e, t) {
8702
+ }, Vo.prototype.drawConnection = function(e, t) {
8704
8703
  var n = t.type;
8705
8704
  return this._renderer(n)(e, t);
8706
- }, Ho.prototype.getShapePath = function(e) {
8707
- return Y(e, "bpmn:Event") ? Mo(e) : Y(e, "bpmn:Activity") ? No(e, Lo) : Y(e, "bpmn:Gateway") ? Po(e) : Fo(e);
8705
+ }, Vo.prototype.getShapePath = function(e) {
8706
+ return J(e, "bpmn:Event") ? jo(e) : J(e, "bpmn:Activity") ? Mo(e, Io) : J(e, "bpmn:Gateway") ? No(e) : Po(e);
8708
8707
  };
8709
8708
  //#endregion
8710
8709
  //#region node_modules/diagram-js/lib/util/Text.js
8711
- var Uo = 0, Wo = {
8710
+ var Ho = 0, Uo = {
8712
8711
  width: 150,
8713
8712
  height: 50
8714
8713
  };
8715
- function Go(e) {
8714
+ function Wo(e) {
8716
8715
  var t = e.split("-");
8717
8716
  return {
8718
8717
  horizontal: t[0] || "center",
8719
8718
  vertical: t[1] || "top"
8720
8719
  };
8721
8720
  }
8722
- function Ko(e) {
8723
- return P(e) ? z({
8721
+ function Go(e) {
8722
+ return P(e) ? R({
8724
8723
  top: 0,
8725
8724
  left: 0,
8726
8725
  right: 0,
@@ -8732,7 +8731,7 @@ function Ko(e) {
8732
8731
  bottom: e
8733
8732
  };
8734
8733
  }
8735
- function qo(e, t) {
8734
+ function Ko(e, t) {
8736
8735
  t.textContent = e;
8737
8736
  var n;
8738
8737
  try {
@@ -8748,13 +8747,13 @@ function qo(e, t) {
8748
8747
  };
8749
8748
  }
8750
8749
  }
8751
- function Jo(e, t, n) {
8750
+ function qo(e, t, n) {
8752
8751
  for (var r = e.shift(), i = r, a;;) {
8753
- if (a = qo(i, n), a.width = i ? a.width : 0, i === " " || i === "" || a.width < Math.round(t) || i.length < 2) return Yo(e, i, r, a);
8754
- i = Qo(i, a.width, t);
8752
+ if (a = Ko(i, n), a.width = i ? a.width : 0, i === " " || i === "" || a.width < Math.round(t) || i.length < 2) return Jo(e, i, r, a);
8753
+ i = Zo(i, a.width, t);
8755
8754
  }
8756
8755
  }
8757
- function Yo(e, t, n, r) {
8756
+ function Jo(e, t, n, r) {
8758
8757
  if (t.length < n.length) {
8759
8758
  var i = n.slice(t.length).trim();
8760
8759
  e.unshift(i);
@@ -8765,48 +8764,48 @@ function Yo(e, t, n, r) {
8765
8764
  text: t
8766
8765
  };
8767
8766
  }
8768
- var Xo = "­";
8769
- function Zo(e, t) {
8767
+ var Yo = "­";
8768
+ function Xo(e, t) {
8770
8769
  var n = e.split(/(\s|-|\u00AD)/g), r, i = [], a = 0;
8771
8770
  if (n.length > 1) for (; r = n.shift();) if (r.length + a < t) i.push(r), a += r.length;
8772
8771
  else {
8773
- (r === "-" || r === Xo) && i.pop();
8772
+ (r === "-" || r === Yo) && i.pop();
8774
8773
  break;
8775
8774
  }
8776
8775
  var o = i[i.length - 1];
8777
- return o && o === Xo && (i[i.length - 1] = "-"), i.join("");
8776
+ return o && o === Yo && (i[i.length - 1] = "-"), i.join("");
8778
8777
  }
8779
- function Qo(e, t, n) {
8780
- var r = Math.max(e.length * (n / t), 1), i = Zo(e, r);
8778
+ function Zo(e, t, n) {
8779
+ var r = Math.max(e.length * (n / t), 1), i = Xo(e, r);
8781
8780
  return i ||= e.slice(0, Math.max(Math.round(r - 1), 1)), i;
8782
8781
  }
8783
- function $o() {
8782
+ function Qo() {
8784
8783
  var e = document.getElementById("helper-svg");
8785
- return e || (e = U("svg"), H(e, { id: "helper-svg" }), Be(e, {
8784
+ return e || (e = H("svg"), V(e, { id: "helper-svg" }), Be(e, {
8786
8785
  visibility: "hidden",
8787
8786
  position: "fixed",
8788
8787
  width: 0,
8789
8788
  height: 0
8790
8789
  }), document.body.appendChild(e)), e;
8791
8790
  }
8792
- function es(e) {
8793
- this._config = z({}, {
8794
- size: Wo,
8795
- padding: Uo,
8791
+ function $o(e) {
8792
+ this._config = R({}, {
8793
+ size: Uo,
8794
+ padding: Ho,
8796
8795
  style: {},
8797
8796
  align: "center-top"
8798
8797
  }, e || {});
8799
8798
  }
8800
- es.prototype.createText = function(e, t) {
8799
+ $o.prototype.createText = function(e, t) {
8801
8800
  return this.layoutText(e, t).element;
8802
- }, es.prototype.getDimensions = function(e, t) {
8801
+ }, $o.prototype.getDimensions = function(e, t) {
8803
8802
  return this.layoutText(e, t).dimensions;
8804
- }, es.prototype.layoutText = function(e, t) {
8805
- var n = z({}, this._config.size, t.box), r = z({}, this._config.style, t.style), i = Go(t.align || this._config.align), a = Ko(t.padding === void 0 ? this._config.padding : t.padding), o = t.fitBox || !1, s = ts(r), c = e.split(/\u00AD?\r?\n/), l = [], u = n.width - a.left - a.right, d = U("text");
8806
- for (H(d, {
8803
+ }, $o.prototype.layoutText = function(e, t) {
8804
+ var n = R({}, this._config.size, t.box), r = R({}, this._config.style, t.style), i = Wo(t.align || this._config.align), a = Go(t.padding === void 0 ? this._config.padding : t.padding), o = t.fitBox || !1, s = es(r), c = e.split(/\u00AD?\r?\n/), l = [], u = n.width - a.left - a.right, d = H("text");
8805
+ for (V(d, {
8807
8806
  x: 0,
8808
8807
  y: 0
8809
- }), H(d, r), V($o(), d); c.length;) l.push(Jo(c, u, d));
8808
+ }), V(d, r), B(Qo(), d); c.length;) l.push(qo(c, u, d));
8810
8809
  i.vertical === "middle" && (a.top = a.bottom = 0);
8811
8810
  var f = de(l, function(e, t, n) {
8812
8811
  return e + (s || t.height);
@@ -8814,8 +8813,8 @@ es.prototype.createText = function(e, t) {
8814
8813
  return t.width > e ? t.width : e;
8815
8814
  }, 0), m = a.top;
8816
8815
  i.vertical === "middle" && (m += (n.height - f) / 2), m -= (s || l[0].height) / 4;
8817
- var h = U("text");
8818
- return H(h, r), L(l, function(e) {
8816
+ var h = H("text");
8817
+ return V(h, r), I(l, function(e) {
8819
8818
  var t;
8820
8819
  switch (m += s || e.height, i.horizontal) {
8821
8820
  case "left":
@@ -8826,11 +8825,11 @@ es.prototype.createText = function(e, t) {
8826
8825
  break;
8827
8826
  default: t = Math.max(((o ? p : u) - e.width) / 2 + a.left, 0);
8828
8827
  }
8829
- var n = U("tspan");
8830
- H(n, {
8828
+ var n = H("tspan");
8829
+ V(n, {
8831
8830
  x: t,
8832
8831
  y: m
8833
- }), n.textContent = e.text, V(h, n);
8832
+ }), n.textContent = e.text, B(h, n);
8834
8833
  }), Ut(d), {
8835
8834
  dimensions: {
8836
8835
  width: p,
@@ -8839,19 +8838,19 @@ es.prototype.createText = function(e, t) {
8839
8838
  element: h
8840
8839
  };
8841
8840
  };
8842
- function ts(e) {
8841
+ function es(e) {
8843
8842
  if ("fontSize" in e && "lineHeight" in e) return e.lineHeight * parseInt(e.fontSize, 10);
8844
8843
  }
8845
8844
  //#endregion
8846
8845
  //#region node_modules/bpmn-js/lib/draw/TextRenderer.js
8847
- var ns = 12, rs = 1.2, is = 30;
8848
- function as(e) {
8849
- var t = z({
8846
+ var ts = 12, ns = 1.2, rs = 30;
8847
+ function is(e) {
8848
+ var t = R({
8850
8849
  fontFamily: "Arial, sans-serif",
8851
- fontSize: ns,
8850
+ fontSize: ts,
8852
8851
  fontWeight: "normal",
8853
- lineHeight: rs
8854
- }, e && e.defaultStyle || {}), n = z({}, t, { fontSize: parseInt(t.fontSize, 10) - 1 }, e && e.externalStyle || {}), r = new es({ style: t });
8852
+ lineHeight: ns
8853
+ }, e && e.defaultStyle || {}), n = R({}, t, { fontSize: parseInt(t.fontSize, 10) - 1 }, e && e.externalStyle || {}), r = new $o({ style: t });
8855
8854
  this.getExternalLabelBounds = function(e, t) {
8856
8855
  var i = r.getDimensions(t, {
8857
8856
  box: {
@@ -8879,7 +8878,7 @@ function as(e) {
8879
8878
  x: e.x,
8880
8879
  y: e.y,
8881
8880
  width: e.width,
8882
- height: Math.max(is, Math.round(i.height))
8881
+ height: Math.max(rs, Math.round(i.height))
8883
8882
  };
8884
8883
  }, this.createText = function(e, t) {
8885
8884
  return r.createText(e, t || {});
@@ -8889,10 +8888,10 @@ function as(e) {
8889
8888
  return n;
8890
8889
  };
8891
8890
  }
8892
- as.$inject = ["config.textRenderer"];
8891
+ is.$inject = ["config.textRenderer"];
8893
8892
  //#endregion
8894
8893
  //#region node_modules/bpmn-js/lib/draw/PathMap.js
8895
- function os() {
8894
+ function as() {
8896
8895
  this.pathMap = {
8897
8896
  EVENT_MESSAGE: {
8898
8897
  d: "m {mx},{my} l 0,{e.y1} l {e.x1},0 l 0,-{e.y1} z l {e.x0},{e.y0} l {e.x0},-{e.y0}",
@@ -9210,102 +9209,102 @@ function os() {
9210
9209
  for (var o = t.containerHeight / n.height * t.yScaleFactor, s = t.containerWidth / n.width * t.xScaleFactor, c = 0; c < n.heightElements.length; c++) a["y" + c] = n.heightElements[c] * o;
9211
9210
  for (var l = 0; l < n.widthElements.length; l++) a["x" + l] = n.widthElements[l] * s;
9212
9211
  }
9213
- return us(n.d, {
9212
+ return ls(n.d, {
9214
9213
  mx: r,
9215
9214
  my: i,
9216
9215
  e: a
9217
9216
  });
9218
9217
  };
9219
9218
  }
9220
- var ss = /\{([^{}]+)\}/g, cs = /(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;
9221
- function ls(e, t, n) {
9219
+ var os = /\{([^{}]+)\}/g, ss = /(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;
9220
+ function cs(e, t, n) {
9222
9221
  var r = n;
9223
- return t.replace(cs, function(e, t, n, i, a) {
9222
+ return t.replace(ss, function(e, t, n, i, a) {
9224
9223
  t ||= i, r && (t in r && (r = r[t]), typeof r == "function" && a && (r = r()));
9225
9224
  }), r = (r == null || r == n ? e : r) + "", r;
9226
9225
  }
9227
- function us(e, t) {
9228
- return String(e).replace(ss, function(e, n) {
9229
- return ls(e, n, t);
9226
+ function ls(e, t) {
9227
+ return String(e).replace(os, function(e, n) {
9228
+ return cs(e, n, t);
9230
9229
  });
9231
9230
  }
9232
9231
  //#endregion
9233
9232
  //#region node_modules/bpmn-js/lib/draw/index.js
9234
- var ds = {
9233
+ var us = {
9235
9234
  __init__: ["bpmnRenderer"],
9236
- bpmnRenderer: ["type", Ho],
9237
- textRenderer: ["type", as],
9238
- pathMap: ["type", os]
9235
+ bpmnRenderer: ["type", Vo],
9236
+ textRenderer: ["type", is],
9237
+ pathMap: ["type", as]
9239
9238
  };
9240
9239
  //#endregion
9241
9240
  //#region node_modules/diagram-js/lib/i18n/translate/translate.js
9242
- function fs(e, t) {
9241
+ function ds(e, t) {
9243
9242
  return t ||= {}, e.replace(/{([^}]+)}/g, function(e, n) {
9244
9243
  return t[n] || "{" + n + "}";
9245
9244
  });
9246
9245
  }
9247
9246
  //#endregion
9248
9247
  //#region node_modules/diagram-js/lib/i18n/translate/index.js
9249
- var ps = { translate: ["value", fs] }, ms = {
9248
+ var fs = { translate: ["value", ds] }, ps = {
9250
9249
  width: 90,
9251
9250
  height: 20
9252
9251
  };
9252
+ function ms(e) {
9253
+ return J(e, "bpmn:Event") || J(e, "bpmn:Gateway") || J(e, "bpmn:DataStoreReference") || J(e, "bpmn:DataObjectReference") || J(e, "bpmn:DataInput") || J(e, "bpmn:DataOutput") || J(e, "bpmn:SequenceFlow") || J(e, "bpmn:MessageFlow") || J(e, "bpmn:Group");
9254
+ }
9253
9255
  function hs(e) {
9254
- return Y(e, "bpmn:Event") || Y(e, "bpmn:Gateway") || Y(e, "bpmn:DataStoreReference") || Y(e, "bpmn:DataObjectReference") || Y(e, "bpmn:DataInput") || Y(e, "bpmn:DataOutput") || Y(e, "bpmn:SequenceFlow") || Y(e, "bpmn:MessageFlow") || Y(e, "bpmn:Group");
9256
+ return bs(e.label);
9255
9257
  }
9256
9258
  function gs(e) {
9257
- return xs(e.label);
9258
- }
9259
- function _s(e) {
9260
- var t = e.length / 2 - 1, n = e[Math.floor(t)], r = e[Math.ceil(t + .01)], i = vs(e), a = Math.atan((r.y - n.y) / (r.x - n.x)), o = i.x, s = i.y;
9259
+ var t = e.length / 2 - 1, n = e[Math.floor(t)], r = e[Math.ceil(t + .01)], i = _s(e), a = Math.atan((r.y - n.y) / (r.x - n.x)), o = i.x, s = i.y;
9261
9260
  return Math.abs(a) < Math.PI / 2 ? s -= 15 : o += 15, {
9262
9261
  x: o,
9263
9262
  y: s
9264
9263
  };
9265
9264
  }
9266
- function vs(e) {
9265
+ function _s(e) {
9267
9266
  var t = e.length / 2 - 1, n = e[Math.floor(t)], r = e[Math.ceil(t + .01)];
9268
9267
  return {
9269
9268
  x: n.x + (r.x - n.x) / 2,
9270
9269
  y: n.y + (r.y - n.y) / 2
9271
9270
  };
9272
9271
  }
9273
- function ys(e) {
9274
- return e.waypoints ? _s(e.waypoints) : Y(e, "bpmn:Group") ? {
9272
+ function vs(e) {
9273
+ return e.waypoints ? gs(e.waypoints) : J(e, "bpmn:Group") ? {
9275
9274
  x: e.x + e.width / 2,
9276
- y: e.y + ms.height / 2
9275
+ y: e.y + ps.height / 2
9277
9276
  } : {
9278
9277
  x: e.x + e.width / 2,
9279
- y: e.y + e.height + ms.height / 2
9278
+ y: e.y + e.height + ps.height / 2
9280
9279
  };
9281
9280
  }
9282
- function bs(e, t) {
9281
+ function ys(e, t) {
9283
9282
  var n, r, i, a = e.label;
9284
9283
  return a && a.bounds ? (i = a.bounds, r = {
9285
- width: Math.max(ms.width, i.width),
9284
+ width: Math.max(ps.width, i.width),
9286
9285
  height: i.height
9287
9286
  }, n = {
9288
9287
  x: i.x + i.width / 2,
9289
9288
  y: i.y + i.height / 2
9290
- }) : (n = ys(t), r = ms), z({
9289
+ }) : (n = vs(t), r = ps), R({
9291
9290
  x: n.x - r.width / 2,
9292
9291
  y: n.y - r.height / 2
9293
9292
  }, r);
9294
9293
  }
9295
- function xs(e) {
9294
+ function bs(e) {
9296
9295
  return e && !!e.labelTarget;
9297
9296
  }
9298
9297
  //#endregion
9299
9298
  //#region node_modules/bpmn-js/lib/import/BpmnImporter.js
9300
- function Ss(e, t, n) {
9301
- return z({
9299
+ function xs(e, t, n) {
9300
+ return R({
9302
9301
  id: e.id,
9303
9302
  type: e.$type,
9304
9303
  businessObject: e,
9305
9304
  di: t
9306
9305
  }, n);
9307
9306
  }
9308
- function Cs(e, t, n) {
9307
+ function Ss(e, t, n) {
9309
9308
  var r = e.waypoint;
9310
9309
  return !r || r.length < 2 ? [Xn(t), Xn(n)] : r.map(function(e) {
9311
9310
  return {
@@ -9314,33 +9313,33 @@ function Cs(e, t, n) {
9314
9313
  };
9315
9314
  });
9316
9315
  }
9317
- function ws(e, t, n, r) {
9316
+ function Cs(e, t, n, r) {
9318
9317
  return Error(e("element {element} referenced by {referenced}#{property} not yet drawn", {
9319
- element: J(n),
9320
- referenced: J(t),
9318
+ element: q(n),
9319
+ referenced: q(t),
9321
9320
  property: r
9322
9321
  }));
9323
9322
  }
9324
- function Ts(e, t, n, r, i, a) {
9323
+ function ws(e, t, n, r, i, a) {
9325
9324
  this._eventBus = e, this._canvas = t, this._elementFactory = n, this._elementRegistry = r, this._translate = i, this._textRenderer = a;
9326
9325
  }
9327
- Ts.$inject = [
9326
+ ws.$inject = [
9328
9327
  "eventBus",
9329
9328
  "canvas",
9330
9329
  "elementFactory",
9331
9330
  "elementRegistry",
9332
9331
  "translate",
9333
9332
  "textRenderer"
9334
- ], Ts.prototype.add = function(e, t, n) {
9333
+ ], ws.prototype.add = function(e, t, n) {
9335
9334
  var r, i = this._translate, a, o;
9336
- if (Y(t, "bpmndi:BPMNPlane")) {
9337
- var s = Y(e, "bpmn:SubProcess") ? { id: e.id + "_plane" } : {};
9338
- r = this._elementFactory.createRoot(Ss(e, t, s)), this._canvas.addRootElement(r);
9339
- } else if (Y(t, "bpmndi:BPMNShape")) {
9340
- var c = !ho(e, t), l = Ds(e);
9335
+ if (J(t, "bpmndi:BPMNPlane")) {
9336
+ var s = J(e, "bpmn:SubProcess") ? { id: e.id + "_plane" } : {};
9337
+ r = this._elementFactory.createRoot(xs(e, t, s)), this._canvas.addRootElement(r);
9338
+ } else if (J(t, "bpmndi:BPMNShape")) {
9339
+ var c = !ho(e, t), l = Es(e);
9341
9340
  a = n && (n.hidden || n.collapsed);
9342
9341
  var u = t.bounds;
9343
- r = this._elementFactory.createShape(Ss(e, t, {
9342
+ r = this._elementFactory.createShape(xs(e, t, {
9344
9343
  collapsed: c,
9345
9344
  hidden: a,
9346
9345
  x: Math.round(u.x),
@@ -9348,29 +9347,29 @@ Ts.$inject = [
9348
9347
  width: Math.round(u.width),
9349
9348
  height: Math.round(u.height),
9350
9349
  isFrame: l
9351
- })), Y(e, "bpmn:BoundaryEvent") && this._attachBoundary(e, r), Y(e, "bpmn:Lane") && (o = 0), Y(e, "bpmn:DataStoreReference") && (Es(n, Xn(u)) || (n = this._canvas.findRoot(n))), this._canvas.addShape(r, n, o);
9352
- } else if (Y(t, "bpmndi:BPMNEdge")) {
9350
+ })), J(e, "bpmn:BoundaryEvent") && this._attachBoundary(e, r), J(e, "bpmn:Lane") && (o = 0), J(e, "bpmn:DataStoreReference") && (Ts(n, Xn(u)) || (n = this._canvas.findRoot(n))), this._canvas.addShape(r, n, o);
9351
+ } else if (J(t, "bpmndi:BPMNEdge")) {
9353
9352
  var d = this._getSource(e), f = this._getTarget(e);
9354
- a = n && (n.hidden || n.collapsed), r = this._elementFactory.createConnection(Ss(e, t, {
9353
+ a = n && (n.hidden || n.collapsed), r = this._elementFactory.createConnection(xs(e, t, {
9355
9354
  hidden: a,
9356
9355
  source: d,
9357
9356
  target: f,
9358
- waypoints: Cs(t, d, f)
9359
- })), Y(e, "bpmn:DataAssociation") && (n = this._canvas.findRoot(n)), this._canvas.addConnection(r, n, o);
9357
+ waypoints: Ss(t, d, f)
9358
+ })), J(e, "bpmn:DataAssociation") && (n = this._canvas.findRoot(n)), this._canvas.addConnection(r, n, o);
9360
9359
  } else throw Error(i("unknown di {di} for element {semantic}", {
9361
- di: J(t),
9362
- semantic: J(e)
9360
+ di: q(t),
9361
+ semantic: q(e)
9363
9362
  }));
9364
- return hs(e) && wo(r) && this.addLabel(e, t, r), this._eventBus.fire("bpmnElement.added", { element: r }), r;
9365
- }, Ts.prototype._attachBoundary = function(e, t) {
9363
+ return ms(e) && wo(r) && this.addLabel(e, t, r), this._eventBus.fire("bpmnElement.added", { element: r }), r;
9364
+ }, ws.prototype._attachBoundary = function(e, t) {
9366
9365
  var n = this._translate, r = e.attachedToRef;
9367
- if (!r) throw Error(n("missing {semantic}#attachedToRef", { semantic: J(e) }));
9366
+ if (!r) throw Error(n("missing {semantic}#attachedToRef", { semantic: q(e) }));
9368
9367
  var i = this._elementRegistry.get(r.id), a = i && i.attachers;
9369
- if (!i) throw ws(n, e, r, "attachedToRef");
9368
+ if (!i) throw Cs(n, e, r, "attachedToRef");
9370
9369
  t.host = i, a || (i.attachers = a = []), a.indexOf(t) === -1 && a.push(t);
9371
- }, Ts.prototype.addLabel = function(e, t, n) {
9372
- var r = bs(t, n), i = wo(n), a;
9373
- return i && (r = this._textRenderer.getExternalLabelBounds(r, i)), a = this._elementFactory.createLabel(Ss(e, t, {
9370
+ }, ws.prototype.addLabel = function(e, t, n) {
9371
+ var r = ys(t, n), i = wo(n), a;
9372
+ return i && (r = this._textRenderer.getExternalLabelBounds(r, i)), a = this._elementFactory.createLabel(xs(e, t, {
9374
9373
  id: e.id + "_label",
9375
9374
  labelTarget: n,
9376
9375
  type: "label",
@@ -9380,45 +9379,45 @@ Ts.$inject = [
9380
9379
  width: Math.round(r.width),
9381
9380
  height: Math.round(r.height)
9382
9381
  })), this._canvas.addShape(a, n.parent);
9383
- }, Ts.prototype._getEnd = function(e, t) {
9382
+ }, ws.prototype._getEnd = function(e, t) {
9384
9383
  var n, r, i = e.$type, a = this._translate;
9385
9384
  if (r = e[t + "Ref"], t === "source" && i === "bpmn:DataInputAssociation" && (r &&= r[0]), (t === "source" && i === "bpmn:DataOutputAssociation" || t === "target" && i === "bpmn:DataInputAssociation") && (r = e.$parent), n = r && this._getElement(r), n) return n;
9386
- throw r ? ws(a, e, r, t + "Ref") : Error(a("{semantic}#{side} Ref not specified", {
9387
- semantic: J(e),
9385
+ throw r ? Cs(a, e, r, t + "Ref") : Error(a("{semantic}#{side} Ref not specified", {
9386
+ semantic: q(e),
9388
9387
  side: t
9389
9388
  }));
9390
- }, Ts.prototype._getSource = function(e) {
9389
+ }, ws.prototype._getSource = function(e) {
9391
9390
  return this._getEnd(e, "source");
9392
- }, Ts.prototype._getTarget = function(e) {
9391
+ }, ws.prototype._getTarget = function(e) {
9393
9392
  return this._getEnd(e, "target");
9394
- }, Ts.prototype._getElement = function(e) {
9393
+ }, ws.prototype._getElement = function(e) {
9395
9394
  return this._elementRegistry.get(e.id);
9396
9395
  };
9397
- function Es(e, t) {
9396
+ function Ts(e, t) {
9398
9397
  var n = t.x, r = t.y;
9399
9398
  return n >= e.x && n <= e.x + e.width && r >= e.y && r <= e.y + e.height;
9400
9399
  }
9401
- function Ds(e) {
9402
- return Y(e, "bpmn:Group");
9400
+ function Es(e) {
9401
+ return J(e, "bpmn:Group");
9403
9402
  }
9404
9403
  //#endregion
9405
9404
  //#region node_modules/bpmn-js/lib/core/index.js
9406
- var Os = { __depends__: [ds, {
9407
- __depends__: [ps],
9408
- bpmnImporter: ["type", Ts]
9405
+ var Ds = { __depends__: [us, {
9406
+ __depends__: [fs],
9407
+ bpmnImporter: ["type", ws]
9409
9408
  }] };
9410
9409
  //#endregion
9411
9410
  //#region node_modules/diagram-js/lib/util/Event.js
9412
- function ks(e) {
9411
+ function Os(e) {
9413
9412
  !e || typeof e.stopPropagation != "function" || e.stopPropagation();
9414
9413
  }
9415
- function As(e) {
9414
+ function ks(e) {
9416
9415
  return e.originalEvent || e.srcEvent;
9417
9416
  }
9418
- function js(e, t) {
9419
- ks(e, t), ks(As(e), t);
9417
+ function As(e, t) {
9418
+ Os(e, t), Os(ks(e), t);
9420
9419
  }
9421
- function Ms(e) {
9420
+ function js(e) {
9422
9421
  return e.pointers && e.pointers.length && (e = e.pointers[0]), e.touches && e.touches.length && (e = e.touches[0]), e ? {
9423
9422
  x: e.clientX,
9424
9423
  y: e.clientY
@@ -9426,38 +9425,38 @@ function Ms(e) {
9426
9425
  }
9427
9426
  //#endregion
9428
9427
  //#region node_modules/diagram-js/lib/util/Platform.js
9429
- function Ns() {
9428
+ function Ms() {
9430
9429
  return /mac/i.test(navigator.platform);
9431
9430
  }
9432
9431
  //#endregion
9433
9432
  //#region node_modules/diagram-js/lib/util/Mouse.js
9434
- function Ps(e, t) {
9435
- return (As(e) || e).button === t;
9433
+ function Ns(e, t) {
9434
+ return (ks(e) || e).button === t;
9435
+ }
9436
+ function Ps(e) {
9437
+ return Ns(e, 0);
9436
9438
  }
9437
9439
  function Fs(e) {
9438
- return Ps(e, 0);
9440
+ return Ns(e, 1);
9439
9441
  }
9440
9442
  function Is(e) {
9441
- return Ps(e, 1);
9443
+ var t = ks(e) || e;
9444
+ return Ps(e) ? Ms() ? t.metaKey : t.ctrlKey : !1;
9442
9445
  }
9443
9446
  function Ls(e) {
9444
- var t = As(e) || e;
9445
- return Fs(e) ? Ns() ? t.metaKey : t.ctrlKey : !1;
9446
- }
9447
- function Rs(e) {
9448
- var t = As(e) || e;
9449
- return Fs(e) && t.shiftKey;
9447
+ var t = ks(e) || e;
9448
+ return Ps(e) && t.shiftKey;
9450
9449
  }
9451
9450
  //#endregion
9452
9451
  //#region node_modules/diagram-js/lib/features/interaction-events/InteractionEvents.js
9453
- function zs(e) {
9452
+ function Rs(e) {
9454
9453
  return !0;
9455
9454
  }
9456
- function Bs(e) {
9457
- return Fs(e) || Is(e);
9455
+ function zs(e) {
9456
+ return Ps(e) || Fs(e);
9458
9457
  }
9459
- var Vs = 500;
9460
- function Hs(e, t, n) {
9458
+ var Bs = 500;
9459
+ function Vs(e, t, n) {
9461
9460
  var r = this;
9462
9461
  function i(n, r, i) {
9463
9462
  if (!s(n, r)) {
@@ -9474,7 +9473,7 @@ function Hs(e, t, n) {
9474
9473
  return a[e];
9475
9474
  }
9476
9475
  function s(e, t) {
9477
- return !(l[e] || Fs)(t);
9476
+ return !(l[e] || Ps)(t);
9478
9477
  }
9479
9478
  var c = {
9480
9479
  click: "element.click",
@@ -9486,11 +9485,11 @@ function Hs(e, t, n) {
9486
9485
  mouseout: "element.out",
9487
9486
  mouseup: "element.mouseup"
9488
9487
  }, l = {
9489
- "element.contextmenu": zs,
9490
- "element.mousedown": Bs,
9491
- "element.mouseup": Bs,
9492
- "element.click": Bs,
9493
- "element.dblclick": Bs
9488
+ "element.contextmenu": Rs,
9489
+ "element.mousedown": zs,
9490
+ "element.mouseup": zs,
9491
+ "element.click": zs,
9492
+ "element.dblclick": zs
9494
9493
  };
9495
9494
  function u(e, t, n) {
9496
9495
  var r = c[e];
@@ -9509,12 +9508,12 @@ function Hs(e, t, n) {
9509
9508
  r && nt.unbind(e, t, r.$delegate);
9510
9509
  }
9511
9510
  function m(e) {
9512
- L(c, function(t, n) {
9511
+ I(c, function(t, n) {
9513
9512
  f(e, n, t);
9514
9513
  });
9515
9514
  }
9516
9515
  function h(e) {
9517
- L(c, function(t, n) {
9516
+ I(c, function(t, n) {
9518
9517
  p(e, n, t);
9519
9518
  });
9520
9519
  }
@@ -9528,13 +9527,13 @@ function Hs(e, t, n) {
9528
9527
  element: n,
9529
9528
  gfx: r
9530
9529
  });
9531
- }), e.on(["shape.changed", "connection.changed"], Vs, function(t) {
9530
+ }), e.on(["shape.changed", "connection.changed"], Bs, function(t) {
9532
9531
  var n = t.element, r = t.gfx;
9533
9532
  e.fire("interactionEvents.updateHit", {
9534
9533
  element: n,
9535
9534
  gfx: r
9536
9535
  });
9537
- }), e.on("interactionEvents.createHit", Vs, function(e) {
9536
+ }), e.on("interactionEvents.createHit", Bs, function(e) {
9538
9537
  var t = e.element, n = e.gfx;
9539
9538
  r.createDefaultHit(t, n);
9540
9539
  }), e.on("interactionEvents.updateHit", function(e) {
@@ -9548,7 +9547,7 @@ function Hs(e, t, n) {
9548
9547
  "no-move": y("djs-hit djs-hit-no-move")
9549
9548
  };
9550
9549
  function y(e, t) {
9551
- return t = z({
9550
+ return t = R({
9552
9551
  stroke: "white",
9553
9552
  strokeWidth: 15
9554
9553
  }, t || {}), n.cls(e, ["no-fill", "no-border"], t);
@@ -9556,13 +9555,13 @@ function Hs(e, t, n) {
9556
9555
  function b(e, t) {
9557
9556
  var n = v[t];
9558
9557
  if (!n) throw Error("invalid hit type <" + t + ">");
9559
- return H(e, n), e;
9558
+ return V(e, n), e;
9560
9559
  }
9561
9560
  function x(e, t) {
9562
- V(e, t);
9561
+ B(e, t);
9563
9562
  }
9564
9563
  this.removeHits = function(e) {
9565
- L(ut(".djs-hit", e), Ut);
9564
+ I(ut(".djs-hit", e), Ut);
9566
9565
  }, this.createDefaultHit = function(e, t) {
9567
9566
  var n = e.waypoints, r = e.isFrame, i;
9568
9567
  return n ? this.createWaypointsHit(t, n) : (i = r ? "stroke" : "all", this.createBoxHit(t, i, {
@@ -9573,45 +9572,45 @@ function Hs(e, t, n) {
9573
9572
  var n = mn(t);
9574
9573
  return b(n, "stroke"), x(e, n), n;
9575
9574
  }, this.createBoxHit = function(e, t, n) {
9576
- n = z({
9575
+ n = R({
9577
9576
  x: 0,
9578
9577
  y: 0
9579
9578
  }, n);
9580
- var r = U("rect");
9581
- return b(r, t), H(r, n), x(e, r), r;
9579
+ var r = H("rect");
9580
+ return b(r, t), V(r, n), x(e, r), r;
9582
9581
  }, this.updateDefaultHit = function(e, t) {
9583
9582
  var n = lt(".djs-hit", t);
9584
- if (n) return e.waypoints ? hn(n, e.waypoints) : H(n, {
9583
+ if (n) return e.waypoints ? hn(n, e.waypoints) : V(n, {
9585
9584
  width: e.width,
9586
9585
  height: e.height
9587
9586
  }), n;
9588
9587
  }, this.fire = i, this.triggerMouseEvent = u, this.mouseHandler = o, this.registerEvent = f, this.unregisterEvent = p;
9589
9588
  }
9590
- Hs.$inject = [
9589
+ Vs.$inject = [
9591
9590
  "eventBus",
9592
9591
  "elementRegistry",
9593
9592
  "styles"
9594
9593
  ];
9595
9594
  //#endregion
9596
9595
  //#region node_modules/diagram-js/lib/features/interaction-events/index.js
9597
- var Us = {
9596
+ var Hs = {
9598
9597
  __init__: ["interactionEvents"],
9599
- interactionEvents: ["type", Hs]
9600
- }, Ws = 500;
9601
- function Gs(e, t) {
9598
+ interactionEvents: ["type", Vs]
9599
+ }, Us = 500;
9600
+ function Ws(e, t) {
9602
9601
  this.offset = 6;
9603
9602
  var n = t.cls("djs-outline", ["no-fill"]), r = this;
9604
9603
  function i(e, t) {
9605
- var r = U("rect");
9606
- return H(r, z({
9604
+ var r = H("rect");
9605
+ return V(r, R({
9607
9606
  x: 10,
9608
9607
  y: 10,
9609
9608
  rx: 4,
9610
9609
  width: 100,
9611
9610
  height: 100
9612
- }, n)), V(e, r), r;
9611
+ }, n)), B(e, r), r;
9613
9612
  }
9614
- e.on(["shape.added", "shape.changed"], Ws, function(e) {
9613
+ e.on(["shape.added", "shape.changed"], Us, function(e) {
9615
9614
  var t = e.element, n = e.gfx, a = lt(".djs-outline", n);
9616
9615
  a ||= i(n, t), r.updateShapeOutline(a, t);
9617
9616
  }), e.on(["connection.added", "connection.changed"], function(e) {
@@ -9619,35 +9618,35 @@ function Gs(e, t) {
9619
9618
  a ||= i(n, t), r.updateConnectionOutline(a, t);
9620
9619
  });
9621
9620
  }
9622
- Gs.prototype.updateShapeOutline = function(e, t) {
9623
- H(e, {
9621
+ Ws.prototype.updateShapeOutline = function(e, t) {
9622
+ V(e, {
9624
9623
  x: -this.offset,
9625
9624
  y: -this.offset,
9626
9625
  width: t.width + this.offset * 2,
9627
9626
  height: t.height + this.offset * 2
9628
9627
  });
9629
- }, Gs.prototype.updateConnectionOutline = function(e, t) {
9628
+ }, Ws.prototype.updateConnectionOutline = function(e, t) {
9630
9629
  var n = Cn(t);
9631
- H(e, {
9630
+ V(e, {
9632
9631
  x: n.x - this.offset,
9633
9632
  y: n.y - this.offset,
9634
9633
  width: n.width + this.offset * 2,
9635
9634
  height: n.height + this.offset * 2
9636
9635
  });
9637
- }, Gs.$inject = [
9636
+ }, Ws.$inject = [
9638
9637
  "eventBus",
9639
9638
  "styles",
9640
9639
  "elementRegistry"
9641
9640
  ];
9642
9641
  //#endregion
9643
9642
  //#region node_modules/diagram-js/lib/features/outline/index.js
9644
- var Ks = {
9643
+ var Gs = {
9645
9644
  __init__: ["outline"],
9646
- outline: ["type", Gs]
9645
+ outline: ["type", Ws]
9647
9646
  };
9648
9647
  //#endregion
9649
9648
  //#region node_modules/diagram-js/lib/features/selection/Selection.js
9650
- function qs(e, t) {
9649
+ function Ks(e, t) {
9651
9650
  this._eventBus = e, this._canvas = t, this._selectedElements = [];
9652
9651
  var n = this;
9653
9652
  e.on(["shape.remove", "connection.remove"], function(e) {
@@ -9657,7 +9656,7 @@ function qs(e, t) {
9657
9656
  n.select(null);
9658
9657
  });
9659
9658
  }
9660
- qs.$inject = ["eventBus", "canvas"], qs.prototype.deselect = function(e) {
9659
+ Ks.$inject = ["eventBus", "canvas"], Ks.prototype.deselect = function(e) {
9661
9660
  var t = this._selectedElements, n = t.indexOf(e);
9662
9661
  if (n !== -1) {
9663
9662
  var r = t.slice();
@@ -9666,17 +9665,17 @@ qs.$inject = ["eventBus", "canvas"], qs.prototype.deselect = function(e) {
9666
9665
  newSelection: t
9667
9666
  });
9668
9667
  }
9669
- }, qs.prototype.get = function() {
9668
+ }, Ks.prototype.get = function() {
9670
9669
  return this._selectedElements;
9671
- }, qs.prototype.isSelected = function(e) {
9670
+ }, Ks.prototype.isSelected = function(e) {
9672
9671
  return this._selectedElements.indexOf(e) !== -1;
9673
- }, qs.prototype.select = function(e, t) {
9672
+ }, Ks.prototype.select = function(e, t) {
9674
9673
  var n = this._selectedElements, r = n.slice();
9675
9674
  N(e) || (e = e ? [e] : []);
9676
9675
  var i = this._canvas, a = i.getRootElement();
9677
9676
  e = e.filter(function(e) {
9678
9677
  return a === i.findRoot(e);
9679
- }), t ? L(e, function(e) {
9678
+ }), t ? I(e, function(e) {
9680
9679
  n.indexOf(e) === -1 && n.push(e);
9681
9680
  }) : this._selectedElements = n = e.slice(), this._eventBus.fire("selection.changed", {
9682
9681
  oldSelection: r,
@@ -9685,8 +9684,8 @@ qs.$inject = ["eventBus", "canvas"], qs.prototype.deselect = function(e) {
9685
9684
  };
9686
9685
  //#endregion
9687
9686
  //#region node_modules/diagram-js/lib/features/selection/SelectionVisuals.js
9688
- var Js = "hover", Ys = "selected", Xs = 6;
9689
- function Zs(e, t, n) {
9687
+ var qs = "hover", Js = "selected", Ys = 6;
9688
+ function Xs(e, t, n) {
9690
9689
  this._canvas = e;
9691
9690
  var r = this;
9692
9691
  this._multiSelectionBox = null;
@@ -9697,108 +9696,108 @@ function Zs(e, t, n) {
9697
9696
  e.removeMarker(t, n);
9698
9697
  }
9699
9698
  t.on("element.hover", function(e) {
9700
- i(e.element, Js);
9699
+ i(e.element, qs);
9701
9700
  }), t.on("element.out", function(e) {
9702
- a(e.element, Js);
9701
+ a(e.element, qs);
9703
9702
  }), t.on("selection.changed", function(e) {
9704
9703
  function t(e) {
9705
- a(e, Ys);
9704
+ a(e, Js);
9706
9705
  }
9707
9706
  function n(e) {
9708
- i(e, Ys);
9707
+ i(e, Js);
9709
9708
  }
9710
9709
  var o = e.oldSelection, s = e.newSelection;
9711
- L(o, function(e) {
9710
+ I(o, function(e) {
9712
9711
  s.indexOf(e) === -1 && t(e);
9713
- }), L(s, function(e) {
9712
+ }), I(s, function(e) {
9714
9713
  o.indexOf(e) === -1 && n(e);
9715
9714
  }), r._updateSelectionOutline(s);
9716
9715
  }), t.on("element.changed", function(e) {
9717
9716
  n.isSelected(e.element) && r._updateSelectionOutline(n.get());
9718
9717
  });
9719
9718
  }
9720
- Zs.$inject = [
9719
+ Xs.$inject = [
9721
9720
  "canvas",
9722
9721
  "eventBus",
9723
9722
  "selection"
9724
- ], Zs.prototype._updateSelectionOutline = function(e) {
9723
+ ], Xs.prototype._updateSelectionOutline = function(e) {
9725
9724
  var t = this._canvas.getLayer("selectionOutline");
9726
9725
  St(t);
9727
9726
  var n = e.length > 1;
9728
9727
  if (bt(this._canvas.getContainer())[n ? "add" : "remove"]("djs-multi-select"), n) {
9729
- var r = Qs(Cn(e)), i = U("rect");
9730
- H(i, z({ rx: 3 }, r)), bt(i).add("djs-selection-outline"), V(t, i);
9728
+ var r = Zs(Cn(e)), i = H("rect");
9729
+ V(i, R({ rx: 3 }, r)), bt(i).add("djs-selection-outline"), B(t, i);
9731
9730
  }
9732
9731
  };
9733
- function Qs(e) {
9732
+ function Zs(e) {
9734
9733
  return {
9735
- x: e.x - Xs,
9736
- y: e.y - Xs,
9737
- width: e.width + Xs * 2,
9738
- height: e.height + Xs * 2
9734
+ x: e.x - Ys,
9735
+ y: e.y - Ys,
9736
+ width: e.width + Ys * 2,
9737
+ height: e.height + Ys * 2
9739
9738
  };
9740
9739
  }
9741
9740
  //#endregion
9742
9741
  //#region node_modules/diagram-js/lib/features/selection/SelectionBehavior.js
9743
- function $s(e, t, n, r) {
9742
+ function Qs(e, t, n, r) {
9744
9743
  e.on("create.end", 500, function(e) {
9745
9744
  var n = e.context, r = n.canExecute, i = n.elements, a = (n.hints || {}).autoSelect;
9746
9745
  if (r) {
9747
9746
  if (a === !1) return;
9748
- N(a) ? t.select(a) : t.select(i.filter(ec));
9747
+ N(a) ? t.select(a) : t.select(i.filter($s));
9749
9748
  }
9750
9749
  }), e.on("connect.end", 500, function(e) {
9751
9750
  var n = e.context.connection;
9752
9751
  n && t.select(n);
9753
9752
  }), e.on("shape.move.end", 500, function(e) {
9754
9753
  var n = e.previousSelection || [], i = r.get(e.context.shape.id);
9755
- ce(n, function(e) {
9754
+ se(n, function(e) {
9756
9755
  return i.id === e.id;
9757
9756
  }) || t.select(i);
9758
9757
  }), e.on("element.click", function(e) {
9759
- if (Fs(e)) {
9758
+ if (Ps(e)) {
9760
9759
  var r = e.element;
9761
9760
  r === n.getRootElement() && (r = null);
9762
- var i = t.isSelected(r), a = t.get().length > 1, o = Ls(e) || Rs(e);
9761
+ var i = t.isSelected(r), a = t.get().length > 1, o = Is(e) || Ls(e);
9763
9762
  if (i && a) return o ? t.deselect(r) : t.select(r);
9764
9763
  i ? t.deselect(r) : t.select(r, o);
9765
9764
  }
9766
9765
  });
9767
9766
  }
9768
- $s.$inject = [
9767
+ Qs.$inject = [
9769
9768
  "eventBus",
9770
9769
  "selection",
9771
9770
  "canvas",
9772
9771
  "elementRegistry"
9773
9772
  ];
9774
- function ec(e) {
9773
+ function $s(e) {
9775
9774
  return !e.hidden;
9776
9775
  }
9777
9776
  //#endregion
9778
9777
  //#region node_modules/diagram-js/lib/features/selection/index.js
9779
- var tc = {
9778
+ var ec = {
9780
9779
  __init__: ["selectionVisuals", "selectionBehavior"],
9781
- __depends__: [Us, Ks],
9782
- selection: ["type", qs],
9783
- selectionVisuals: ["type", Zs],
9784
- selectionBehavior: ["type", $s]
9780
+ __depends__: [Hs, Gs],
9781
+ selection: ["type", Ks],
9782
+ selectionVisuals: ["type", Xs],
9783
+ selectionBehavior: ["type", Qs]
9785
9784
  };
9786
9785
  //#endregion
9787
9786
  //#region node_modules/diagram-js/lib/util/IdGenerator.js
9788
- function nc(e) {
9787
+ function tc(e) {
9789
9788
  this._counter = 0, this._prefix = (e ? e + "-" : "") + Math.floor(Math.random() * 1e9) + "-";
9790
9789
  }
9791
- nc.prototype.next = function() {
9790
+ tc.prototype.next = function() {
9792
9791
  return this._prefix + ++this._counter;
9793
9792
  };
9794
9793
  //#endregion
9795
9794
  //#region node_modules/diagram-js/lib/features/overlays/Overlays.js
9796
- var rc = new nc("ov"), ic = 500;
9795
+ var nc = new tc("ov"), rc = 500;
9797
9796
  function $(e, t, n, r) {
9798
- this._eventBus = t, this._canvas = n, this._elementRegistry = r, this._ids = rc, this._overlayDefaults = z({
9797
+ this._eventBus = t, this._canvas = n, this._elementRegistry = r, this._ids = nc, this._overlayDefaults = R({
9799
9798
  show: null,
9800
9799
  scale: !0
9801
- }, e && e.defaults), this._overlays = {}, this._overlayContainers = [], this._overlayRoot = ac(n.getContainer()), this._init();
9800
+ }, e && e.defaults), this._overlays = {}, this._overlayContainers = [], this._overlayRoot = ic(n.getContainer()), this._init();
9802
9801
  }
9803
9802
  $.$inject = [
9804
9803
  "config.overlays",
@@ -9806,17 +9805,17 @@ $.$inject = [
9806
9805
  "canvas",
9807
9806
  "elementRegistry"
9808
9807
  ], $.prototype.get = function(e) {
9809
- if (ae(e) && (e = { id: e }), ae(e.element) && (e.element = this._elementRegistry.get(e.element)), e.element) {
9808
+ if (ie(e) && (e = { id: e }), ie(e.element) && (e.element = this._elementRegistry.get(e.element)), e.element) {
9810
9809
  var t = this._getOverlayContainer(e.element, !0);
9811
- return t ? e.type ? I(t.overlays, Se({ type: e.type })) : t.overlays.slice() : [];
9812
- } else if (e.type) return I(this._overlays, Se({ type: e.type }));
9810
+ return t ? e.type ? le(t.overlays, Se({ type: e.type })) : t.overlays.slice() : [];
9811
+ } else if (e.type) return le(this._overlays, Se({ type: e.type }));
9813
9812
  else return e.id ? this._overlays[e.id] : null;
9814
9813
  }, $.prototype.add = function(e, t, n) {
9815
9814
  if (P(t) && (n = t, t = null), e.id || (e = this._elementRegistry.get(e)), !n.position) throw Error("must specifiy overlay position");
9816
9815
  if (!n.html) throw Error("must specifiy overlay html");
9817
9816
  if (!e) throw Error("invalid element specified");
9818
9817
  var r = this._ids.next();
9819
- return n = z({}, this._overlayDefaults, n, {
9818
+ return n = R({}, this._overlayDefaults, n, {
9820
9819
  id: r,
9821
9820
  type: t,
9822
9821
  element: e,
@@ -9826,7 +9825,7 @@ $.$inject = [
9826
9825
  var t = this.get(e) || [];
9827
9826
  N(t) || (t = [t]);
9828
9827
  var n = this;
9829
- L(t, function(e) {
9828
+ I(t, function(e) {
9830
9829
  var t = n._getOverlayContainer(e.element, !0);
9831
9830
  if (e && (dt(e.html), dt(e.htmlContainer), delete e.htmlContainer, delete e.element, delete n._overlays[e.id]), t) {
9832
9831
  var r = t.overlays.indexOf(e);
@@ -9836,9 +9835,9 @@ $.$inject = [
9836
9835
  }, $.prototype.isShown = function() {
9837
9836
  return this._overlayRoot.style.display !== "none";
9838
9837
  }, $.prototype.show = function() {
9839
- sc(this._overlayRoot);
9838
+ oc(this._overlayRoot);
9840
9839
  }, $.prototype.hide = function() {
9841
- sc(this._overlayRoot, !1);
9840
+ oc(this._overlayRoot, !1);
9842
9841
  }, $.prototype.clear = function() {
9843
9842
  this._overlays = {}, this._overlayContainers = [], Ge(this._overlayRoot);
9844
9843
  }, $.prototype._updateOverlayContainer = function(e) {
@@ -9847,7 +9846,7 @@ $.$inject = [
9847
9846
  var a = Cn(t);
9848
9847
  r = a.x, i = a.y;
9849
9848
  }
9850
- oc(n, r, i), Ve(e.html, "data-container-id", t.id);
9849
+ ac(n, r, i), Ve(e.html, "data-container-id", t.id);
9851
9850
  }, $.prototype._updateOverlay = function(e) {
9852
9851
  var t = e.position, n = e.htmlContainer, r = e.element, i = t.left, a = t.top;
9853
9852
  if (t.right !== void 0) {
@@ -9858,7 +9857,7 @@ $.$inject = [
9858
9857
  var s = r.waypoints ? Cn(r).height : r.height;
9859
9858
  a = t.bottom * -1 + s;
9860
9859
  }
9861
- oc(n, i || 0, a || 0), this._updateOverlayVisibilty(e, this._canvas.viewbox());
9860
+ ac(n, i || 0, a || 0), this._updateOverlayVisibilty(e, this._canvas.viewbox());
9862
9861
  }, $.prototype._createOverlayContainer = function(e) {
9863
9862
  var t = st("<div class=\"djs-overlays\" />");
9864
9863
  Be(t, { position: "absolute" }), this._overlayRoot.appendChild(t);
@@ -9877,26 +9876,26 @@ $.$inject = [
9877
9876
  -1 * e.x * t,
9878
9877
  -1 * e.y * t
9879
9878
  ].join(",") + ")";
9880
- cc(this._overlayRoot, n);
9879
+ sc(this._overlayRoot, n);
9881
9880
  }, $.prototype._getOverlayContainer = function(e, t) {
9882
- var n = ce(this._overlayContainers, function(t) {
9881
+ var n = se(this._overlayContainers, function(t) {
9883
9882
  return t.element === e;
9884
9883
  });
9885
9884
  return !n && !t ? this._createOverlayContainer(e) : n;
9886
9885
  }, $.prototype._addOverlay = function(e) {
9887
9886
  var t = e.id, n = e.element, r = e.html, i, a;
9888
- r.get && r.constructor.prototype.jquery && (r = r.get(0)), ae(r) && (r = st(r)), a = this._getOverlayContainer(n), i = st("<div class=\"djs-overlay\" data-overlay-id=\"" + t + "\">"), Be(i, { position: "absolute" }), i.appendChild(r), e.type && Ue(i).add("djs-overlay-" + e.type);
9887
+ r.get && r.constructor.prototype.jquery && (r = r.get(0)), ie(r) && (r = st(r)), a = this._getOverlayContainer(n), i = st("<div class=\"djs-overlay\" data-overlay-id=\"" + t + "\">"), Be(i, { position: "absolute" }), i.appendChild(r), e.type && Ue(i).add("djs-overlay-" + e.type);
9889
9888
  var o = this._canvas.findRoot(n), s = this._canvas.getRootElement();
9890
- sc(i, o === s), e.htmlContainer = i, a.overlays.push(e), a.html.appendChild(i), this._overlays[t] = e, this._updateOverlay(e), this._updateOverlayVisibilty(e, this._canvas.viewbox());
9889
+ oc(i, o === s), e.htmlContainer = i, a.overlays.push(e), a.html.appendChild(i), this._overlays[t] = e, this._updateOverlay(e), this._updateOverlayVisibilty(e, this._canvas.viewbox());
9891
9890
  }, $.prototype._updateOverlayVisibilty = function(e, t) {
9892
9891
  var n = e.show, r = this._canvas.findRoot(e.element), i = n && n.minZoom, a = n && n.maxZoom, o = e.htmlContainer, s = this._canvas.getRootElement(), c = !0;
9893
- r === s ? n && (M(i) && i > t.scale || M(a) && a < t.scale) && (c = !1) : c = !1, sc(o, c), this._updateOverlayScale(e, t);
9892
+ r === s ? n && (M(i) && i > t.scale || M(a) && a < t.scale) && (c = !1) : c = !1, oc(o, c), this._updateOverlayScale(e, t);
9894
9893
  }, $.prototype._updateOverlayScale = function(e, t) {
9895
9894
  var n = e.scale, r, i, a = e.htmlContainer, o, s = "";
9896
- n !== !0 && (n === !1 ? (r = 1, i = 1) : (r = n.min, i = n.max), M(r) && t.scale < r && (o = (1 / t.scale || 1) * r), M(i) && t.scale > i && (o = (1 / t.scale || 1) * i)), M(o) && (s = "scale(" + o + "," + o + ")"), cc(a, s);
9895
+ n !== !0 && (n === !1 ? (r = 1, i = 1) : (r = n.min, i = n.max), M(r) && t.scale < r && (o = (1 / t.scale || 1) * r), M(i) && t.scale > i && (o = (1 / t.scale || 1) * i)), M(o) && (s = "scale(" + o + "," + o + ")"), sc(a, s);
9897
9896
  }, $.prototype._updateOverlaysVisibilty = function(e) {
9898
9897
  var t = this;
9899
- L(this._overlays, function(n) {
9898
+ I(this._overlays, function(n) {
9900
9899
  t._updateOverlayVisibilty(n, e);
9901
9900
  });
9902
9901
  }, $.prototype._init = function() {
@@ -9910,7 +9909,7 @@ $.$inject = [
9910
9909
  n(e.viewbox);
9911
9910
  }), e.on(["shape.remove", "connection.remove"], function(e) {
9912
9911
  var n = e.element;
9913
- L(t.get({ element: n }), function(e) {
9912
+ I(t.get({ element: n }), function(e) {
9914
9913
  t.remove(e.id);
9915
9914
  });
9916
9915
  var r = t._getOverlayContainer(n);
@@ -9919,9 +9918,9 @@ $.$inject = [
9919
9918
  var i = t._overlayContainers.indexOf(r);
9920
9919
  i !== -1 && t._overlayContainers.splice(i, 1);
9921
9920
  }
9922
- }), e.on("element.changed", ic, function(e) {
9921
+ }), e.on("element.changed", rc, function(e) {
9923
9922
  var n = e.element, r = t._getOverlayContainer(n, !0);
9924
- r && (L(r.overlays, function(e) {
9923
+ r && (I(r.overlays, function(e) {
9925
9924
  t._updateOverlay(e);
9926
9925
  }), t._updateOverlayContainer(r));
9927
9926
  }), e.on("element.marker.update", function(e) {
@@ -9931,7 +9930,7 @@ $.$inject = [
9931
9930
  t._updateOverlaysVisibilty(t._canvas.viewbox());
9932
9931
  }), e.on("diagram.clear", this.clear, this);
9933
9932
  };
9934
- function ac(e) {
9933
+ function ic(e) {
9935
9934
  var t = st("<div class=\"djs-overlay-container\" />");
9936
9935
  return Be(t, {
9937
9936
  position: "absolute",
@@ -9939,16 +9938,16 @@ function ac(e) {
9939
9938
  height: 0
9940
9939
  }), e.insertBefore(t, e.firstChild), t;
9941
9940
  }
9942
- function oc(e, t, n) {
9941
+ function ac(e, t, n) {
9943
9942
  Be(e, {
9944
9943
  left: t + "px",
9945
9944
  top: n + "px"
9946
9945
  });
9947
9946
  }
9948
- function sc(e, t) {
9947
+ function oc(e, t) {
9949
9948
  e.style.display = t === !1 ? "none" : "";
9950
9949
  }
9951
- function cc(e, t) {
9950
+ function sc(e, t) {
9952
9951
  e.style["transform-origin"] = "top left", [
9953
9952
  "",
9954
9953
  "-ms-",
@@ -9959,13 +9958,13 @@ function cc(e, t) {
9959
9958
  }
9960
9959
  //#endregion
9961
9960
  //#region node_modules/diagram-js/lib/features/overlays/index.js
9962
- var lc = {
9961
+ var cc = {
9963
9962
  __init__: ["overlays"],
9964
9963
  overlays: ["type", $]
9965
9964
  };
9966
9965
  //#endregion
9967
9966
  //#region node_modules/diagram-js/lib/features/change-support/ChangeSupport.js
9968
- function uc(e, t, n, r) {
9967
+ function lc(e, t, n, r) {
9969
9968
  e.on("element.changed", function(r) {
9970
9969
  var i = r.element;
9971
9970
  (i.parent || i === t.getRootElement()) && (r.gfx = n.getGraphics(i)), r.gfx && e.fire(Tn(i) + ".changed", r);
@@ -9980,7 +9979,7 @@ function uc(e, t, n, r) {
9980
9979
  r.update("connection", e.element, e.gfx);
9981
9980
  });
9982
9981
  }
9983
- uc.$inject = [
9982
+ lc.$inject = [
9984
9983
  "eventBus",
9985
9984
  "canvas",
9986
9985
  "elementRegistry",
@@ -9988,24 +9987,24 @@ uc.$inject = [
9988
9987
  ];
9989
9988
  //#endregion
9990
9989
  //#region node_modules/diagram-js/lib/features/change-support/index.js
9991
- var dc = {
9990
+ var uc = {
9992
9991
  __init__: ["changeSupport"],
9993
- changeSupport: ["type", uc]
9994
- }, fc = 1e3;
9995
- function pc(e) {
9992
+ changeSupport: ["type", lc]
9993
+ }, dc = 1e3;
9994
+ function fc(e) {
9996
9995
  this._eventBus = e;
9997
9996
  }
9998
- pc.$inject = ["eventBus"];
9999
- function mc(e, t) {
9997
+ fc.$inject = ["eventBus"];
9998
+ function pc(e, t) {
10000
9999
  return function(n) {
10001
10000
  return e.call(t || null, n.context, n.command, n);
10002
10001
  };
10003
10002
  }
10004
- pc.prototype.on = function(e, t, n, r, i, a) {
10005
- if ((ie(t) || F(t)) && (a = i, i = r, r = n, n = t, t = null), ie(n) && (a = i, i = r, r = n, n = fc), P(i) && (a = i, i = !1), !ie(r)) throw Error("handlerFn must be a function");
10003
+ fc.prototype.on = function(e, t, n, r, i, a) {
10004
+ if ((re(t) || F(t)) && (a = i, i = r, r = n, n = t, t = null), re(n) && (a = i, i = r, r = n, n = dc), P(i) && (a = i, i = !1), !re(r)) throw Error("handlerFn must be a function");
10006
10005
  N(e) || (e = [e]);
10007
10006
  var o = this._eventBus;
10008
- L(e, function(e) {
10007
+ I(e, function(e) {
10009
10008
  var s = [
10010
10009
  "commandStack",
10011
10010
  e,
@@ -10013,9 +10012,9 @@ pc.prototype.on = function(e, t, n, r, i, a) {
10013
10012
  ].filter(function(e) {
10014
10013
  return e;
10015
10014
  }).join(".");
10016
- o.on(s, n, i ? mc(r, a) : r, a);
10015
+ o.on(s, n, i ? pc(r, a) : r, a);
10017
10016
  });
10018
- }, L([
10017
+ }, I([
10019
10018
  "canExecute",
10020
10019
  "preExecute",
10021
10020
  "preExecuted",
@@ -10026,14 +10025,14 @@ pc.prototype.on = function(e, t, n, r, i, a) {
10026
10025
  "revert",
10027
10026
  "reverted"
10028
10027
  ], function(e) {
10029
- pc.prototype[e] = function(t, n, r, i, a) {
10030
- (ie(t) || F(t)) && (a = i, i = r, r = n, n = t, t = null), this.on(t, e, n, r, i, a);
10028
+ fc.prototype[e] = function(t, n, r, i, a) {
10029
+ (re(t) || F(t)) && (a = i, i = r, r = n, n = t, t = null), this.on(t, e, n, r, i, a);
10031
10030
  };
10032
10031
  });
10033
10032
  //#endregion
10034
10033
  //#region node_modules/diagram-js/lib/features/root-elements/RootElementsBehavior.js
10035
- function hc(e, t) {
10036
- t.invoke(pc, this), this.executed(function(t) {
10034
+ function mc(e, t) {
10035
+ t.invoke(fc, this), this.executed(function(t) {
10037
10036
  var n = t.context;
10038
10037
  n.rootElement ? e.setRootElement(n.rootElement) : n.rootElement = e.getRootElement();
10039
10038
  }), this.revert(function(t) {
@@ -10041,71 +10040,71 @@ function hc(e, t) {
10041
10040
  n.rootElement && e.setRootElement(n.rootElement);
10042
10041
  });
10043
10042
  }
10044
- D(hc, pc), hc.$inject = ["canvas", "injector"];
10043
+ E(mc, fc), mc.$inject = ["canvas", "injector"];
10045
10044
  //#endregion
10046
10045
  //#region node_modules/diagram-js/lib/features/root-elements/index.js
10047
- var gc = {
10046
+ var hc = {
10048
10047
  __init__: ["rootElementsBehavior"],
10049
- rootElementsBehavior: ["type", hc]
10048
+ rootElementsBehavior: ["type", mc]
10050
10049
  };
10051
10050
  //#endregion
10052
10051
  //#region node_modules/diagram-js/lib/util/EscapeUtil.js
10053
- function _c(e) {
10052
+ function gc(e) {
10054
10053
  return CSS.escape(e);
10055
10054
  }
10056
- var vc = {
10055
+ var _c = {
10057
10056
  "&": "&amp;",
10058
10057
  "<": "&lt;",
10059
10058
  ">": "&gt;",
10060
10059
  "\"": "&quot;",
10061
10060
  "'": "&#39;"
10062
10061
  };
10063
- function yc(e) {
10062
+ function vc(e) {
10064
10063
  return e = "" + e, e && e.replace(/[&<>"']/g, function(e) {
10065
- return vc[e];
10064
+ return _c[e];
10066
10065
  });
10067
10066
  }
10068
10067
  //#endregion
10069
10068
  //#region node_modules/bpmn-js/lib/util/DrilldownUtil.js
10070
- var bc = "_plane";
10069
+ var yc = "_plane";
10070
+ function bc(e) {
10071
+ var t = e.id;
10072
+ return Tc(t);
10073
+ }
10071
10074
  function xc(e) {
10072
10075
  var t = e.id;
10073
- return Ec(t);
10076
+ return J(e, "bpmn:SubProcess") ? wc(t) : t;
10074
10077
  }
10075
10078
  function Sc(e) {
10076
- var t = e.id;
10077
- return Y(e, "bpmn:SubProcess") ? Tc(t) : t;
10079
+ return wc(e);
10078
10080
  }
10079
10081
  function Cc(e) {
10080
- return Tc(e);
10082
+ return J(qa(e), "bpmndi:BPMNPlane");
10081
10083
  }
10082
10084
  function wc(e) {
10083
- return Y(qa(e), "bpmndi:BPMNPlane");
10085
+ return e + yc;
10084
10086
  }
10085
10087
  function Tc(e) {
10086
- return e + bc;
10087
- }
10088
- function Ec(e) {
10089
- return e.replace(RegExp(bc + "$"), "");
10088
+ return e.replace(RegExp(yc + "$"), "");
10090
10089
  }
10091
10090
  //#endregion
10092
10091
  //#region node_modules/bpmn-js/lib/features/drilldown/DrilldownBreadcrumbs.js
10093
- var Dc = "bjs-breadcrumbs-shown";
10094
- function Oc(e, t, n, r) {
10092
+ var Ec = "bjs-breadcrumbs-shown";
10093
+ function Dc(e, t, n, r) {
10095
10094
  var i = st("<ul class=\"bjs-breadcrumbs\"></ul>"), a = r.getContainer(), o = Ue(a);
10096
10095
  a.appendChild(i);
10097
10096
  var s = [];
10098
10097
  e.on("element.changed", function(e) {
10099
10098
  var t = e.element, n = Ka(t);
10100
- ce(s, function(e) {
10099
+ se(s, function(e) {
10101
10100
  return e === n;
10102
10101
  }) && c();
10103
10102
  });
10104
10103
  function c(e) {
10105
- e && (s = kc(e));
10104
+ e && (s = Oc(e));
10106
10105
  var n = s.map(function(e) {
10107
- var n = yc(e.name || e.id), i = st("<li><span class=\"bjs-crumb\"><a title=\"" + n + "\">" + n + "</a></span></li>"), a = r.findRoot(Sc(e)) || r.findRoot(e.id);
10108
- if (!a && Y(e, "bpmn:Process")) {
10106
+ var n = vc(e.name || e.id), i = st("<li><span class=\"bjs-crumb\"><a title=\"" + n + "\">" + n + "</a></span></li>"), a = r.findRoot(xc(e)) || r.findRoot(e.id);
10107
+ if (!a && J(e, "bpmn:Process")) {
10109
10108
  var o = t.find(function(t) {
10110
10109
  var n = Ka(t);
10111
10110
  return n && n.processRef && n.processRef === e;
@@ -10118,7 +10117,7 @@ function Oc(e, t, n, r) {
10118
10117
  });
10119
10118
  i.innerHTML = "";
10120
10119
  var a = n.length > 1;
10121
- o.toggle(Dc, a), n.forEach(function(e) {
10120
+ o.toggle(Ec, a), n.forEach(function(e) {
10122
10121
  i.appendChild(e);
10123
10122
  });
10124
10123
  }
@@ -10126,27 +10125,27 @@ function Oc(e, t, n, r) {
10126
10125
  c(e.element);
10127
10126
  });
10128
10127
  }
10129
- Oc.$inject = [
10128
+ Dc.$inject = [
10130
10129
  "eventBus",
10131
10130
  "elementRegistry",
10132
10131
  "overlays",
10133
10132
  "canvas"
10134
10133
  ];
10135
- function kc(e) {
10136
- for (var t = Ka(e), n = [], r = t; r; r = r.$parent) (Y(r, "bpmn:SubProcess") || Y(r, "bpmn:Process")) && n.push(r);
10134
+ function Oc(e) {
10135
+ for (var t = Ka(e), n = [], r = t; r; r = r.$parent) (J(r, "bpmn:SubProcess") || J(r, "bpmn:Process")) && n.push(r);
10137
10136
  return n.reverse();
10138
10137
  }
10139
10138
  //#endregion
10140
10139
  //#region node_modules/bpmn-js/lib/features/drilldown/DrilldownCentering.js
10141
- function Ac(e, t) {
10142
- var n = null, r = new jc();
10140
+ function kc(e, t) {
10141
+ var n = null, r = new Ac();
10143
10142
  e.on("root.set", function(e) {
10144
10143
  var i = e.element, a = t.viewbox(), o = r.get(i);
10145
10144
  if (r.set(n, {
10146
10145
  x: a.x,
10147
10146
  y: a.y,
10148
10147
  zoom: a.scale
10149
- }), n = i, !(Y(i, "bpmn:Collaboration") && !o)) {
10148
+ }), n = i, !(J(i, "bpmn:Collaboration") && !o)) {
10150
10149
  o ||= {
10151
10150
  x: 0,
10152
10151
  y: 0,
@@ -10165,8 +10164,8 @@ function Ac(e, t) {
10165
10164
  r.clear(), n = null;
10166
10165
  });
10167
10166
  }
10168
- Ac.$inject = ["eventBus", "canvas"];
10169
- function jc() {
10167
+ kc.$inject = ["eventBus", "canvas"];
10168
+ function Ac() {
10170
10169
  this._entries = [], this.set = function(e, t) {
10171
10170
  var n = !1;
10172
10171
  for (var r in this._entries) if (this._entries[r][0] === e) {
@@ -10190,18 +10189,18 @@ function jc() {
10190
10189
  }
10191
10190
  //#endregion
10192
10191
  //#region node_modules/bpmn-js/lib/features/drilldown/SubprocessCompatibility.js
10193
- var Mc = {
10192
+ var jc = {
10194
10193
  x: 180,
10195
10194
  y: 160
10196
10195
  };
10197
- function Nc(e, t) {
10196
+ function Mc(e, t) {
10198
10197
  this._eventBus = e, this._moddle = t;
10199
10198
  var n = this;
10200
10199
  e.on("import.render.start", 1500, function(e, t) {
10201
10200
  n.handleImport(t.definitions);
10202
10201
  });
10203
10202
  }
10204
- Nc.prototype.handleImport = function(e) {
10203
+ Mc.prototype.handleImport = function(e) {
10205
10204
  if (e.diagrams) {
10206
10205
  var t = this;
10207
10206
  this._definitions = e, this._processToDiagramMap = {}, e.diagrams.forEach(function(e) {
@@ -10215,13 +10214,13 @@ Nc.prototype.handleImport = function(e) {
10215
10214
  t.movePlaneElementsToOrigin(e.plane);
10216
10215
  });
10217
10216
  }
10218
- }, Nc.prototype.createNewDiagrams = function(e) {
10217
+ }, Mc.prototype.createNewDiagrams = function(e) {
10219
10218
  var t = this, n = [], r = [];
10220
10219
  e.get("planeElement").forEach(function(t) {
10221
10220
  var i = t.bpmnElement;
10222
10221
  if (i) {
10223
10222
  var a = i.$parent;
10224
- Y(i, "bpmn:SubProcess") && !t.isExpanded && n.push(i), Ic(i, e) && r.push({
10223
+ J(i, "bpmn:SubProcess") && !t.isExpanded && n.push(i), Fc(i, e) && r.push({
10225
10224
  diElement: t,
10226
10225
  parent: a
10227
10226
  });
@@ -10240,27 +10239,27 @@ Nc.prototype.handleImport = function(e) {
10240
10239
  t.moveToDiPlane(r, a.plane);
10241
10240
  }
10242
10241
  }), i;
10243
- }, Nc.prototype.movePlaneElementsToOrigin = function(e) {
10244
- var t = e.get("planeElement"), n = Fc(e), r = {
10245
- x: n.x - Mc.x,
10246
- y: n.y - Mc.y
10242
+ }, Mc.prototype.movePlaneElementsToOrigin = function(e) {
10243
+ var t = e.get("planeElement"), n = Pc(e), r = {
10244
+ x: n.x - jc.x,
10245
+ y: n.y - jc.y
10247
10246
  };
10248
10247
  t.forEach(function(e) {
10249
10248
  e.waypoint ? e.waypoint.forEach(function(e) {
10250
10249
  e.x -= r.x, e.y -= r.y;
10251
10250
  }) : e.bounds && (e.bounds.x = e.bounds.x - r.x, e.bounds.y = e.bounds.y - r.y);
10252
10251
  });
10253
- }, Nc.prototype.moveToDiPlane = function(e, t) {
10254
- var n = Pc(e).plane.get("planeElement");
10252
+ }, Mc.prototype.moveToDiPlane = function(e, t) {
10253
+ var n = Nc(e).plane.get("planeElement");
10255
10254
  n.splice(n.indexOf(e), 1), t.get("planeElement").push(e);
10256
- }, Nc.prototype.createDiagram = function(e) {
10255
+ }, Mc.prototype.createDiagram = function(e) {
10257
10256
  var t = this._moddle.create("bpmndi:BPMNPlane", { bpmnElement: e }), n = this._moddle.create("bpmndi:BPMNDiagram", { plane: t });
10258
10257
  return t.$parent = n, t.bpmnElement = e, n.$parent = this._definitions, this._definitions.diagrams.push(n), n;
10259
- }, Nc.$inject = ["eventBus", "moddle"];
10260
- function Pc(e) {
10261
- return Y(e, "bpmndi:BPMNDiagram") ? e : Pc(e.$parent);
10258
+ }, Mc.$inject = ["eventBus", "moddle"];
10259
+ function Nc(e) {
10260
+ return J(e, "bpmndi:BPMNDiagram") ? e : Nc(e.$parent);
10262
10261
  }
10263
- function Fc(e) {
10262
+ function Pc(e) {
10264
10263
  var t = {
10265
10264
  top: Infinity,
10266
10265
  right: -Infinity,
@@ -10274,34 +10273,34 @@ function Fc(e) {
10274
10273
  }
10275
10274
  }), qn(t);
10276
10275
  }
10277
- function Ic(e, t) {
10276
+ function Fc(e, t) {
10278
10277
  var n = e.$parent;
10279
- return !(!Y(n, "bpmn:SubProcess") || n === t.bpmnElement || Ga(e, ["bpmn:DataInputAssociation", "bpmn:DataOutputAssociation"]));
10278
+ return !(!J(n, "bpmn:SubProcess") || n === t.bpmnElement || Ga(e, ["bpmn:DataInputAssociation", "bpmn:DataOutputAssociation"]));
10280
10279
  }
10281
10280
  //#endregion
10282
10281
  //#region node_modules/bpmn-js/lib/features/drilldown/DrilldownOverlayBehavior.js
10283
- var Lc = 250, Rc = "<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>", zc = "bjs-drilldown-empty";
10284
- function Bc(e, t, n, r) {
10285
- pc.call(this, t), this._canvas = e, this._eventBus = t, this._elementRegistry = n, this._overlays = r;
10282
+ var Ic = 250, Lc = "<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>", Rc = "bjs-drilldown-empty";
10283
+ function zc(e, t, n, r) {
10284
+ fc.call(this, t), this._canvas = e, this._eventBus = t, this._elementRegistry = n, this._overlays = r;
10286
10285
  var i = this;
10287
- this.executed("shape.toggleCollapse", Lc, function(e) {
10286
+ this.executed("shape.toggleCollapse", Ic, function(e) {
10288
10287
  var t = e.shape;
10289
10288
  i.canDrillDown(t) ? i.addOverlay(t) : i.removeOverlay(t);
10290
- }, !0), this.reverted("shape.toggleCollapse", Lc, function(e) {
10289
+ }, !0), this.reverted("shape.toggleCollapse", Ic, function(e) {
10291
10290
  var t = e.shape;
10292
10291
  i.canDrillDown(t) ? i.addOverlay(t) : i.removeOverlay(t);
10293
10292
  }, !0), this.executed([
10294
10293
  "shape.create",
10295
10294
  "shape.move",
10296
10295
  "shape.delete"
10297
- ], Lc, function(e) {
10296
+ ], Ic, function(e) {
10298
10297
  var t = e.oldParent, n = e.newParent || e.parent, r = e.shape;
10299
10298
  i.canDrillDown(r) && i.addOverlay(r), i.updateDrilldownOverlay(t), i.updateDrilldownOverlay(n), i.updateDrilldownOverlay(r);
10300
10299
  }, !0), this.reverted([
10301
10300
  "shape.create",
10302
10301
  "shape.move",
10303
10302
  "shape.delete"
10304
- ], Lc, function(e) {
10303
+ ], Ic, function(e) {
10305
10304
  var t = e.oldParent, n = e.newParent || e.parent, r = e.shape;
10306
10305
  i.canDrillDown(r) && i.addOverlay(r), i.updateDrilldownOverlay(t), i.updateDrilldownOverlay(n), i.updateDrilldownOverlay(r);
10307
10306
  }, !0), t.on("import.render.complete", function() {
@@ -10312,33 +10311,33 @@ function Bc(e, t, n, r) {
10312
10311
  });
10313
10312
  });
10314
10313
  }
10315
- D(Bc, pc), Bc.prototype.updateDrilldownOverlay = function(e) {
10314
+ E(zc, fc), zc.prototype.updateDrilldownOverlay = function(e) {
10316
10315
  var t = this._canvas;
10317
10316
  if (e) {
10318
10317
  var n = t.findRoot(e);
10319
10318
  n && this.updateOverlayVisibility(n);
10320
10319
  }
10321
- }, Bc.prototype.canDrillDown = function(e) {
10320
+ }, zc.prototype.canDrillDown = function(e) {
10322
10321
  var t = this._canvas;
10323
- return Y(e, "bpmn:SubProcess") && t.findRoot(Sc(e));
10324
- }, Bc.prototype.updateOverlayVisibility = function(e) {
10322
+ return J(e, "bpmn:SubProcess") && t.findRoot(xc(e));
10323
+ }, zc.prototype.updateOverlayVisibility = function(e) {
10325
10324
  var t = this._overlays, n = e.businessObject, r = t.get({
10326
10325
  element: n.id,
10327
10326
  type: "drilldown"
10328
10327
  })[0];
10329
10328
  if (r) {
10330
10329
  var i = n && n.flowElements && n.flowElements.length;
10331
- Ue(r.html).toggle(zc, !i);
10330
+ Ue(r.html).toggle(Rc, !i);
10332
10331
  }
10333
- }, Bc.prototype.addOverlay = function(e) {
10332
+ }, zc.prototype.addOverlay = function(e) {
10334
10333
  var t = this._canvas, n = this._overlays;
10335
10334
  n.get({
10336
10335
  element: e,
10337
10336
  type: "drilldown"
10338
10337
  }).length && this.removeOverlay(e);
10339
- var r = st("<button class=\"bjs-drilldown\">" + Rc + "</button>");
10338
+ var r = st("<button class=\"bjs-drilldown\">" + Lc + "</button>");
10340
10339
  r.addEventListener("click", function() {
10341
- t.setRootElement(t.findRoot(Sc(e)));
10340
+ t.setRootElement(t.findRoot(xc(e)));
10342
10341
  }), n.add(e, "drilldown", {
10343
10342
  position: {
10344
10343
  bottom: -7,
@@ -10346,12 +10345,12 @@ D(Bc, pc), Bc.prototype.updateDrilldownOverlay = function(e) {
10346
10345
  },
10347
10346
  html: r
10348
10347
  }), this.updateOverlayVisibility(e);
10349
- }, Bc.prototype.removeOverlay = function(e) {
10348
+ }, zc.prototype.removeOverlay = function(e) {
10350
10349
  this._overlays.remove({
10351
10350
  element: e,
10352
10351
  type: "drilldown"
10353
10352
  });
10354
- }, Bc.$inject = [
10353
+ }, zc.$inject = [
10355
10354
  "canvas",
10356
10355
  "eventBus",
10357
10356
  "elementRegistry",
@@ -10359,11 +10358,11 @@ D(Bc, pc), Bc.prototype.updateDrilldownOverlay = function(e) {
10359
10358
  ];
10360
10359
  //#endregion
10361
10360
  //#region node_modules/bpmn-js/lib/features/drilldown/index.js
10362
- var Vc = {
10361
+ var Bc = {
10363
10362
  __depends__: [
10364
- lc,
10365
- dc,
10366
- gc
10363
+ cc,
10364
+ uc,
10365
+ hc
10367
10366
  ],
10368
10367
  __init__: [
10369
10368
  "drilldownBreadcrumbs",
@@ -10371,54 +10370,54 @@ var Vc = {
10371
10370
  "drilldownCentering",
10372
10371
  "subprocessCompatibility"
10373
10372
  ],
10374
- drilldownBreadcrumbs: ["type", Oc],
10375
- drilldownCentering: ["type", Ac],
10376
- drilldownOverlayBehavior: ["type", Bc],
10377
- subprocessCompatibility: ["type", Nc]
10373
+ drilldownBreadcrumbs: ["type", Dc],
10374
+ drilldownCentering: ["type", kc],
10375
+ drilldownOverlayBehavior: ["type", zc],
10376
+ subprocessCompatibility: ["type", Mc]
10378
10377
  };
10379
10378
  //#endregion
10380
10379
  //#region node_modules/bpmn-js/lib/Viewer.js
10381
- function Hc(e) {
10382
- X.call(this, e);
10383
- }
10384
- D(Hc, X), Hc.prototype._modules = [
10385
- Os,
10386
- ps,
10387
- tc,
10388
- lc,
10389
- Vc
10390
- ], Hc.prototype._moddleExtensions = {};
10380
+ function Vc(e) {
10381
+ Y.call(this, e);
10382
+ }
10383
+ E(Vc, Y), Vc.prototype._modules = [
10384
+ Ds,
10385
+ fs,
10386
+ ec,
10387
+ cc,
10388
+ Bc
10389
+ ], Vc.prototype._moddleExtensions = {};
10391
10390
  //#endregion
10392
10391
  //#region node_modules/diagram-js/lib/util/Cursor.js
10393
- var Uc = /^djs-cursor-.*$/;
10394
- function Wc(e) {
10392
+ var Hc = /^djs-cursor-.*$/;
10393
+ function Uc(e) {
10395
10394
  var t = Ue(document.body);
10396
- t.removeMatching(Uc), e && t.add("djs-cursor-" + e);
10395
+ t.removeMatching(Hc), e && t.add("djs-cursor-" + e);
10397
10396
  }
10398
- function Gc() {
10399
- Wc(null);
10397
+ function Wc() {
10398
+ Uc(null);
10400
10399
  }
10401
10400
  //#endregion
10402
10401
  //#region node_modules/diagram-js/lib/util/ClickTrap.js
10403
- var Kc = 5e3;
10404
- function qc(e, t) {
10402
+ var Gc = 5e3;
10403
+ function Kc(e, t) {
10405
10404
  t ||= "element.click";
10406
10405
  function n() {
10407
10406
  return !1;
10408
10407
  }
10409
- return e.once(t, Kc, n), function() {
10408
+ return e.once(t, Gc, n), function() {
10410
10409
  e.off(t, n);
10411
10410
  };
10412
10411
  }
10413
10412
  //#endregion
10414
10413
  //#region node_modules/diagram-js/lib/util/PositionUtil.js
10415
- function Jc(e) {
10414
+ function qc(e) {
10416
10415
  return {
10417
10416
  x: e.x + e.width / 2,
10418
10417
  y: e.y + e.height / 2
10419
10418
  };
10420
10419
  }
10421
- function Yc(e, t) {
10420
+ function Jc(e, t) {
10422
10421
  return {
10423
10422
  x: e.x - t.x,
10424
10423
  y: e.y - t.y
@@ -10426,28 +10425,28 @@ function Yc(e, t) {
10426
10425
  }
10427
10426
  //#endregion
10428
10427
  //#region node_modules/diagram-js/lib/navigation/movecanvas/MoveCanvas.js
10429
- var Xc = 15;
10430
- function Zc(e, t) {
10428
+ var Yc = 15;
10429
+ function Xc(e, t) {
10431
10430
  var n;
10432
10431
  e.on("element.mousedown", 500, function(e) {
10433
10432
  return a(e.originalEvent);
10434
10433
  });
10435
10434
  function r(r) {
10436
- var i = n.start, a = n.button, o = Ms(r), s = Yc(o, i);
10437
- !n.dragging && Qc(s) > Xc && (n.dragging = !0, a === 0 && qc(e), Wc("grab")), n.dragging && (s = Yc(o, n.last || n.start), t.scroll({
10435
+ var i = n.start, a = n.button, o = js(r), s = Jc(o, i);
10436
+ !n.dragging && Zc(s) > Yc && (n.dragging = !0, a === 0 && Kc(e), Uc("grab")), n.dragging && (s = Jc(o, n.last || n.start), t.scroll({
10438
10437
  dx: s.x,
10439
10438
  dy: s.y
10440
10439
  }), n.last = o), r.preventDefault();
10441
10440
  }
10442
10441
  function i(e) {
10443
- Qe.unbind(document, "mousemove", r), Qe.unbind(document, "mouseup", i), n = null, Gc();
10442
+ Qe.unbind(document, "mousemove", r), Qe.unbind(document, "mouseup", i), n = null, Wc();
10444
10443
  }
10445
10444
  function a(e) {
10446
10445
  if (!Ke(e.target, ".djs-draggable")) {
10447
10446
  var t = e.button;
10448
10447
  if (!(t >= 2 || e.ctrlKey || e.shiftKey || e.altKey)) return n = {
10449
10448
  button: t,
10450
- start: Ms(e)
10449
+ start: js(e)
10451
10450
  }, Qe.bind(document, "mousemove", r), Qe.bind(document, "mouseup", i), !0;
10452
10451
  }
10453
10452
  }
@@ -10455,57 +10454,57 @@ function Zc(e, t) {
10455
10454
  return !!n;
10456
10455
  };
10457
10456
  }
10458
- Zc.$inject = ["eventBus", "canvas"];
10459
- function Qc(e) {
10457
+ Xc.$inject = ["eventBus", "canvas"];
10458
+ function Zc(e) {
10460
10459
  return Math.sqrt(e.x ** 2 + e.y ** 2);
10461
10460
  }
10462
10461
  //#endregion
10463
10462
  //#region node_modules/diagram-js/lib/navigation/movecanvas/index.js
10464
- var $c = {
10463
+ var Qc = {
10465
10464
  __init__: ["moveCanvas"],
10466
- moveCanvas: ["type", Zc]
10465
+ moveCanvas: ["type", Xc]
10467
10466
  };
10468
10467
  //#endregion
10469
10468
  //#region node_modules/diagram-js/lib/util/Math.js
10470
- function el(e) {
10469
+ function $c(e) {
10471
10470
  return Math.log(e) / Math.log(10);
10472
10471
  }
10473
10472
  //#endregion
10474
10473
  //#region node_modules/diagram-js/lib/navigation/zoomscroll/ZoomUtil.js
10475
- function tl(e, t) {
10476
- var n = el(e.min), r = el(e.max);
10474
+ function el(e, t) {
10475
+ var n = $c(e.min), r = $c(e.max);
10477
10476
  return (Math.abs(n) + Math.abs(r)) / t;
10478
10477
  }
10479
- function nl(e, t) {
10478
+ function tl(e, t) {
10480
10479
  return Math.max(e.min, Math.min(e.max, t));
10481
10480
  }
10482
10481
  //#endregion
10483
10482
  //#region node_modules/diagram-js/lib/navigation/zoomscroll/ZoomScroll.js
10484
- var rl = Math.sign || function(e) {
10483
+ var nl = Math.sign || function(e) {
10485
10484
  return e >= 0 ? 1 : -1;
10486
- }, il = {
10485
+ }, rl = {
10487
10486
  min: .2,
10488
10487
  max: 4
10489
- }, al = 10, ol = .1, sl = .75;
10490
- function cl(e, t, n) {
10491
- e ||= {}, this._enabled = !1, this._canvas = n, this._container = n._container, this._handleWheel = R(this._handleWheel, this), this._totalDelta = 0, this._scale = e.scale || sl;
10488
+ }, il = 10, al = .1, ol = .75;
10489
+ function sl(e, t, n) {
10490
+ e ||= {}, this._enabled = !1, this._canvas = n, this._container = n._container, this._handleWheel = L(this._handleWheel, this), this._totalDelta = 0, this._scale = e.scale || ol;
10492
10491
  var r = this;
10493
10492
  t.on("canvas.init", function(t) {
10494
10493
  r._init(e.enabled !== !1);
10495
10494
  });
10496
10495
  }
10497
- cl.$inject = [
10496
+ sl.$inject = [
10498
10497
  "config.zoomScroll",
10499
10498
  "eventBus",
10500
10499
  "canvas"
10501
- ], cl.prototype.scroll = function(e) {
10500
+ ], sl.prototype.scroll = function(e) {
10502
10501
  this._canvas.scroll(e);
10503
- }, cl.prototype.reset = function() {
10502
+ }, sl.prototype.reset = function() {
10504
10503
  this._canvas.zoom("fit-viewport");
10505
- }, cl.prototype.zoom = function(e, t) {
10506
- var n = tl(il, al * 2);
10507
- this._totalDelta += e, Math.abs(this._totalDelta) > ol && (this._zoom(e, t, n), this._totalDelta = 0);
10508
- }, cl.prototype._handleWheel = function(e) {
10504
+ }, sl.prototype.zoom = function(e, t) {
10505
+ var n = el(rl, il * 2);
10506
+ this._totalDelta += e, Math.abs(this._totalDelta) > al && (this._zoom(e, t, n), this._totalDelta = 0);
10507
+ }, sl.prototype._handleWheel = function(e) {
10509
10508
  if (!Ke(e.target, ".djs-scrollable", !0)) {
10510
10509
  var t = this._container;
10511
10510
  e.preventDefault();
@@ -10515,7 +10514,7 @@ cl.$inject = [
10515
10514
  x: e.clientX - o.left,
10516
10515
  y: e.clientY - o.top
10517
10516
  };
10518
- a = Math.sqrt(e.deltaY ** 2 + e.deltaX ** 2) * rl(e.deltaY) * i, this.zoom(a, s);
10517
+ a = Math.sqrt(e.deltaY ** 2 + e.deltaX ** 2) * nl(e.deltaY) * i, this.zoom(a, s);
10519
10518
  } else a = r ? {
10520
10519
  dx: i * e.deltaY,
10521
10520
  dy: 0
@@ -10524,26 +10523,26 @@ cl.$inject = [
10524
10523
  dy: i * e.deltaY
10525
10524
  }, this.scroll(a);
10526
10525
  }
10527
- }, cl.prototype.stepZoom = function(e, t) {
10528
- var n = tl(il, al);
10526
+ }, sl.prototype.stepZoom = function(e, t) {
10527
+ var n = el(rl, il);
10529
10528
  this._zoom(e, t, n);
10530
- }, cl.prototype._zoom = function(e, t, n) {
10531
- var r = this._canvas, i = e > 0 ? 1 : -1, a = el(r.zoom()), o = Math.round(a / n) * n;
10529
+ }, sl.prototype._zoom = function(e, t, n) {
10530
+ var r = this._canvas, i = e > 0 ? 1 : -1, a = $c(r.zoom()), o = Math.round(a / n) * n;
10532
10531
  o += n * i;
10533
10532
  var s = 10 ** o;
10534
- r.zoom(nl(il, s), t);
10535
- }, cl.prototype.toggle = function(e) {
10533
+ r.zoom(tl(rl, s), t);
10534
+ }, sl.prototype.toggle = function(e) {
10536
10535
  var t = this._container, n = this._handleWheel, r = this._enabled;
10537
10536
  return e === void 0 && (e = !r), r !== e && Qe[e ? "bind" : "unbind"](t, "wheel", n, !1), this._enabled = e, e;
10538
- }, cl.prototype._init = function(e) {
10537
+ }, sl.prototype._init = function(e) {
10539
10538
  this.toggle(e);
10540
10539
  };
10541
10540
  //#endregion
10542
10541
  //#region node_modules/diagram-js/lib/navigation/zoomscroll/index.js
10543
- var ll = {
10542
+ var cl = {
10544
10543
  __init__: ["zoomScroll"],
10545
- zoomScroll: ["type", cl]
10546
- }, ul = /* @__PURE__ */ E((/* @__PURE__ */ C(((e, t) => {
10544
+ zoomScroll: ["type", sl]
10545
+ }, ll = /* @__PURE__ */ T((/* @__PURE__ */ S(((e, t) => {
10547
10546
  typeof Object.create == "function" ? t.exports = function(e, t) {
10548
10547
  t && (e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: {
10549
10548
  value: e,
@@ -10559,13 +10558,13 @@ var ll = {
10559
10558
  }
10560
10559
  };
10561
10560
  })))(), 1);
10562
- function dl(e) {
10563
- Hc.call(this, e);
10561
+ function ul(e) {
10562
+ Vc.call(this, e);
10564
10563
  }
10565
- (0, ul.default)(dl, Hc), dl.prototype._modules = [].concat(Hc.prototype._modules, [ll, $c]);
10564
+ (0, ll.default)(ul, Vc), ul.prototype._modules = [].concat(Vc.prototype._modules, [cl, Qc]);
10566
10565
  //#endregion
10567
10566
  //#region src/components/Process/viewer/index.vue?vue&type=script&lang.ts
10568
- var fl = i({
10567
+ var dl = i({
10569
10568
  name: "BpmnViewer",
10570
10569
  props: {
10571
10570
  flowData: {
@@ -10591,7 +10590,7 @@ var fl = i({
10591
10590
  try {
10592
10591
  r.value = !0, await n.value.importXML(e.xmlData), await a(), await c(), e.nodeData?.length > 0 && await f(e.nodeData);
10593
10592
  } catch (e) {
10594
- console.error("BPMN 加载失败:", e.message, e.warnings), g.error("流程图加载失败");
10593
+ console.error("BPMN 加载失败:", e.message, e.warnings);
10595
10594
  } finally {
10596
10595
  r.value = !1;
10597
10596
  }
@@ -10619,7 +10618,7 @@ var fl = i({
10619
10618
  };
10620
10619
  return s(() => {
10621
10620
  d(() => e.flowData, (r) => {
10622
- !r || !r.xmlData || (n.value && n.value.destroy(), n.value = new dl({
10621
+ !r || !r.xmlData || (n.value && n.value.destroy(), n.value = new ul({
10623
10622
  container: t.value,
10624
10623
  height: e.height ? Number(e.height) : "calc(100vh - 200px)"
10625
10624
  }), i(r));
@@ -10633,13 +10632,13 @@ var fl = i({
10633
10632
  zoomViewport: u
10634
10633
  };
10635
10634
  }
10636
- }), pl = { class: "containers" }, ml = {
10635
+ }), fl = { class: "containers" }, pl = {
10637
10636
  ref: "flowCanvasRef",
10638
10637
  class: "canvas"
10639
10638
  };
10640
- function hl(e, i, a, o, s, l) {
10639
+ function ml(e, i, a, o, s, l) {
10641
10640
  let d = u("a-spin"), p = u("DragOutlined"), m = u("a-button"), h = u("a-tooltip"), g = u("ZoomInOutlined"), _ = u("ZoomOutOutlined"), v = u("a-space"), y = u("a-layout-content"), b = u("a-layout");
10642
- return c(), t("div", pl, [r(b, { style: {
10641
+ return c(), t("div", fl, [r(b, { style: {
10643
10642
  "align-items": "stretch",
10644
10643
  height: "100%"
10645
10644
  } }, {
@@ -10655,7 +10654,7 @@ function hl(e, i, a, o, s, l) {
10655
10654
  spinning: e.loading,
10656
10655
  wrapperClassName: "canvas-wrapper"
10657
10656
  }, {
10658
- default: f(() => [n("div", ml, null, 512)]),
10657
+ default: f(() => [n("div", pl, null, 512)]),
10659
10658
  _: 1
10660
10659
  }, 8, ["spinning"]),
10661
10660
  r(v, {
@@ -10702,6 +10701,6 @@ function hl(e, i, a, o, s, l) {
10702
10701
  _: 1
10703
10702
  })]);
10704
10703
  }
10705
- var gl = /* @__PURE__ */ e(fl, [["render", hl], ["__scopeId", "data-v-2260b7fd"]]);
10704
+ var hl = /* @__PURE__ */ e(dl, [["render", ml], ["__scopeId", "data-v-c4bad38c"]]);
10706
10705
  //#endregion
10707
- export { Br as $, le as $t, ys as A, bt as At, vo as B, Ke as Bt, Ls as C, _e as Cn, Sn as Ct, js as D, C as Dn, mn as Dt, As as E, D as En, xn as Et, wo as F, ut as Ft, Ka as G, lt as Gt, ho as H, st as Ht, To as I, Be as It, Ga as J, R as Jt, qa as K, dt as Kt, xo as L, Ve as Lt, xs as M, Ct as Mt, hs as N, U as Nt, Ms as O, w as On, V as Ot, ps as P, Ut as Pt, zr as Q, ce as Qt, yo as R, Ue as Rt, Us as S, ye as Sn, Cn as St, Fs as T, A as Tn, gn as Tt, go as U, Qe as Ut, _o as V, nt as Vt, X as W, ct as Wt, za as X, fe as Xt, Va as Y, De as Yt, Vr as Z, I as Zt, dc as _, de as _n, In as _t, Yc as a, M as an, Kn as at, tc as b, xe as bn, Mn as bt, Gc as c, F as cn, Xn as ct, xc as d, ne as dn, Gn as dt, j as en, Lr as et, wc as f, he as fn, Hn as ft, pc as g, ke as gn, Rn as gt, yc as h, Ae as hn, Bn as ht, Jc as i, N as in, qn as it, gs as j, St as jt, ms as k, E as kn, H as kt, Hc as l, P as ln, Zn as lt, _c as m, Se as mn, Fn as mt, ll as n, ve as nn, Cr as nt, qc as o, ie as on, er as ot, Cc as p, me as pn, Vn as pt, Y as q, z as qt, $c as r, se as rn, Er as rt, Wc as s, re as sn, Qn as st, gl as t, L as tn, Ar as tt, Sc as u, ae as un, Wn as ut, lc as v, ge as vn, Nn as vt, Rs as w, ue as wn, wn as wt, Ks as x, be as xn, yn as xt, nc as y, pe as yn, Pn as yt, bo as z, Ge as zt };
10706
+ export { Br as $, ce as $t, vs as A, bt as At, vo as B, Ke as Bt, Is as C, _e as Cn, Sn as Ct, As as D, S as Dn, mn as Dt, ks as E, E as En, xn as Et, wo as F, ut as Ft, Ka as G, lt as Gt, ho as H, st as Ht, To as I, Be as It, Ga as J, L as Jt, qa as K, dt as Kt, xo as L, Ve as Lt, bs as M, Ct as Mt, ms as N, H as Nt, js as O, C as On, B as Ot, fs as P, Ut as Pt, zr as Q, se as Qt, yo as R, Ue as Rt, Hs as S, ye as Sn, Cn as St, Ps as T, k as Tn, gn as Tt, go as U, Qe as Ut, _o as V, nt as Vt, Y as W, ct as Wt, za as X, fe as Xt, Va as Y, De as Yt, Vr as Z, le as Zt, uc as _, de as _n, In as _t, Jc as a, M as an, Kn as at, ec as b, xe as bn, Mn as bt, Wc as c, F as cn, Xn as ct, bc as d, j as dn, Gn as dt, ee as en, Lr as et, Cc as f, he as fn, Hn as ft, fc as g, ke as gn, Rn as gt, vc as h, Ae as hn, Bn as ht, qc as i, N as in, qn as it, hs as j, St as jt, ps as k, T as kn, V as kt, Vc as l, P as ln, Zn as lt, gc as m, Se as mn, Fn as mt, cl as n, ve as nn, Cr as nt, Kc as o, re as on, er as ot, Sc as p, me as pn, Vn as pt, J as q, R as qt, Qc as r, oe as rn, Er as rt, Uc as s, ne as sn, Qn as st, hl as t, I as tn, Ar as tt, xc as u, ie as un, Wn as ut, cc as v, ge as vn, Nn as vt, Ls as w, ue as wn, wn as wt, Gs as x, be as xn, yn as xt, tc as y, pe as yn, Pn as yt, bo as z, Ge as zt };