@a2simcode/ui 0.0.189 → 0.0.191

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.
@@ -56,7 +56,7 @@ function br(e) {
56
56
  function Mf(e, t) {
57
57
  return toString.call(e) === `[object ${t}]`;
58
58
  }
59
- function V1(e) {
59
+ function F1(e) {
60
60
  return e !== null && Mf(e, "Object");
61
61
  }
62
62
  var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array.isArray(e) && e.length === 0 || typeof e == "object" && Object.keys(e).length === 0), jf = /* @__PURE__ */ pe({
@@ -75,11 +75,11 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
75
75
  },
76
76
  setup(e) {
77
77
  const t = e, n = O(() => {
78
- const o = t.icon;
78
+ const o = t.icon, i = "jcode";
79
79
  if (o.indexOf(":") === -1)
80
- return Sa(`jcode:${t.icon}`) == null, `jcode:${t.icon}`;
81
- const i = `jcode:${o.split(":")[1]}`;
82
- return Sa(i) != null ? i : o;
80
+ return Sa(`${i}:${t.icon}`) == null, `${i}:${t.icon}`;
81
+ const r = `${i}${o.split(":")[1]}`;
82
+ return Sa(r) != null ? r : o;
83
83
  }), a = O(() => ({
84
84
  size: t.size,
85
85
  color: t.color,
@@ -303,10 +303,10 @@ function Il(e, t, n) {
303
303
  var ei = (e) => {
304
304
  let t = parseFloat(e);
305
305
  return isNaN(t) ? 0 : (t = Math.round(e * 100) / 100, t);
306
- }, N1 = function(e, t, n) {
306
+ }, V1 = function(e, t, n) {
307
307
  const a = (e - 1) * t;
308
308
  return a + t >= n.length ? n.slice(a, n.length) : n.slice(a, a + t);
309
- }, W1 = function(e, t) {
309
+ }, N1 = function(e, t) {
310
310
  const n = (e.page - 1) * e.rows, a = n + e.rows >= t.length ? t.slice(n, t.length) : t.slice(n, n + e.rows);
311
311
  return {
312
312
  rows: a,
@@ -314,7 +314,7 @@ var ei = (e) => {
314
314
  page: e.page,
315
315
  records: a.length
316
316
  };
317
- }, U1 = function(e) {
317
+ }, W1 = function(e) {
318
318
  return e.filter((t, n, a) => a.indexOf(t, 0) === n);
319
319
  }, zf = (e) => {
320
320
  if (!/^\d*(\.\d*)?$/.test(e)) return "Number is wrong!";
@@ -375,7 +375,7 @@ var ei = (e) => {
375
375
  function Df(e) {
376
376
  return e == null || e === void 0 || e === "" ? "" : e === e.toUpperCase() ? e.split("_").map((t) => (t = t.toLowerCase(), t.slice(0, 1).toUpperCase() + t.slice(1))).join("") : e.slice(0, 1).toUpperCase() + e.slice(1);
377
377
  }
378
- function Y1(e, t = !0) {
378
+ function U1(e, t = !0) {
379
379
  if (e == null || e === void 0 || e === "") return "";
380
380
  t && (e = Df(e));
381
381
  let n = "";
@@ -456,7 +456,7 @@ var _c = (e, t, n, a) => {
456
456
  const c = r.children || [];
457
457
  c.length > 0 && (l.children = [], xc(l.children, c, n, a));
458
458
  }
459
- }, J1 = (e, t, n) => {
459
+ }, Y1 = (e, t, n) => {
460
460
  const a = [];
461
461
  return xc(a, e, t || "value", n || "label"), a;
462
462
  }, Cc = (e, t, n, a = "", o) => {
@@ -554,7 +554,7 @@ function Gr(e, t = Yf) {
554
554
  function ti(e, t = Jf) {
555
555
  return e == null || e === "" ? "" : pc(e).format(t);
556
556
  }
557
- var G1 = (e) => {
557
+ var J1 = (e) => {
558
558
  let t;
559
559
  if (e instanceof Date) t = e;
560
560
  else if (typeof e == "string") {
@@ -1504,7 +1504,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
1504
1504
  static createBase64Encryption() {
1505
1505
  return dh.getInstance();
1506
1506
  }
1507
- }, K1 = class {
1507
+ }, G1 = class {
1508
1508
  static createMD5Hashing() {
1509
1509
  return fh.getInstance();
1510
1510
  }
@@ -1514,7 +1514,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
1514
1514
  static createSHA512Hashing() {
1515
1515
  return ph.getInstance();
1516
1516
  }
1517
- }, q1 = (e, t) => Ac(e, t).toString(ki);
1517
+ }, K1 = (e, t) => Ac(e, t).toString(ki);
1518
1518
  function vh(e, t) {
1519
1519
  function n() {
1520
1520
  zt(() => {
@@ -1564,7 +1564,7 @@ var yh = async (e) => new Promise((t, n) => {
1564
1564
  clear() {
1565
1565
  this.events.clear();
1566
1566
  }
1567
- }, X1 = new Mc(), Ut = {
1567
+ }, q1 = new Mc(), Ut = {
1568
1568
  APP_PROVIDE: "jcode_app_provide",
1569
1569
  FORM_PROVIDE: "jcode_form_provide",
1570
1570
  TABLE_PROVIDE: "jcode_table_provide",
@@ -1614,7 +1614,7 @@ function yt() {
1614
1614
  })
1615
1615
  });
1616
1616
  }
1617
- function Z1(e) {
1617
+ function X1(e) {
1618
1618
  Nn(Ut.APP_PROVIDE, e);
1619
1619
  }
1620
1620
  function ja() {
@@ -1653,7 +1653,7 @@ function xh() {
1653
1653
  function Ch(e) {
1654
1654
  Nn(Ut.AUTH_PAGE_PROVIDE, e);
1655
1655
  }
1656
- function Q1() {
1656
+ function Z1() {
1657
1657
  return Vn(Ut.LAYER_PROVIDE, {});
1658
1658
  }
1659
1659
  function Sh(e) {
@@ -12068,13 +12068,13 @@ var Dp = { class: "j-table-footer" }, $p = {
12068
12068
  }), Lm = zm, Dm = { class: "j-table-panel-left" }, $m = { class: "j-table-panel-top" }, Fm = { class: "j-table-panel-top-right" }, Vm = {
12069
12069
  key: 0,
12070
12070
  style: { width: "200px" }
12071
- }, Nm = { class: "j-table-panel-main" }, Wm = { class: "j-table-panel-vnode-content" }, Um = ["onClick"], Ym = {
12071
+ }, Nm = { class: "j-table-panel-main" }, Wm = { class: "j-table-panel-vnode-content" }, Um = {
12072
12072
  key: 0,
12073
12073
  class: "j-table-panel-vnode-pagination"
12074
- }, Jm = {
12074
+ }, Ym = {
12075
12075
  key: 0,
12076
12076
  class: "j-table-panel-filter-panel"
12077
- }, Gm = /* @__PURE__ */ pe({
12077
+ }, Jm = /* @__PURE__ */ pe({
12078
12078
  name: "JTablePanel",
12079
12079
  __name: "table-panel",
12080
12080
  props: {
@@ -12565,7 +12565,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12565
12565
  }, 8, ["visible"])])]),
12566
12566
  _: 1
12567
12567
  }, 8, ["content"])) : ee("", !0),
12568
- e.showColumnButton && !m.value ? (S(), F(St, {
12568
+ e.showColumnButton && !m.value && !e.renderVNode ? (S(), F(St, {
12569
12569
  key: 3,
12570
12570
  placement: "bottom",
12571
12571
  content: W(a)("显示字段")
@@ -12626,10 +12626,10 @@ var Dp = { class: "j-table-footer" }, $p = {
12626
12626
  "j-table-panel-vnode",
12627
12627
  e.renderVNodeClass
12628
12628
  ])
12629
- }, [B("div", Wm, [(S(!0), H(ke, null, Oe(W(c), (Le, Rn) => (S(), H("div", {
12629
+ }, [B("div", Wm, [(S(!0), H(ke, null, Oe(W(c), (Le, Rn) => (S(), F(Ta(e.renderVNode(Le)), {
12630
12630
  key: e.rowKey ? w(Le) : Rn,
12631
12631
  onClick: (Dt) => kn(Le)
12632
- }, [(S(), F(Ta(e.renderVNode(Le))))], 8, Um))), 128))]), e.isPage ? (S(), H("div", Ym, [Re[14] || (Re[14] = B("div", null, null, -1)), X(Yt, {
12632
+ }, null, 8, ["onClick"]))), 128))]), e.isPage ? (S(), H("div", Um, [Re[14] || (Re[14] = B("div", null, null, -1)), X(Yt, {
12633
12633
  "current-page": d.value,
12634
12634
  "onUpdate:currentPage": Re[9] || (Re[9] = (Le) => d.value = Le),
12635
12635
  "page-size": f.value,
@@ -12705,7 +12705,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12705
12705
  "action-filter",
12706
12706
  "highlight-mode",
12707
12707
  "load-children"
12708
- ]))])), [[vt, h.value]])]), e.showFilterButton && E.value && !m.value ? (S(), H("div", Jm, [X(Ul, {
12708
+ ]))])), [[vt, h.value]])]), e.showFilterButton && E.value && !m.value ? (S(), H("div", Ym, [X(Ul, {
12709
12709
  ref_key: "filterPanelRef",
12710
12710
  ref: j,
12711
12711
  "is-pin": E.value,
@@ -12723,7 +12723,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12723
12723
  ])])) : ee("", !0)], 2)], 2);
12724
12724
  };
12725
12725
  }
12726
- }), Km = Gm, $c = Ce(Km), qm = { class: "j-button-select" }, Xm = { class: "search-wraper" }, Zm = { class: "options-wraper" }, Qm = ["onClick"], eb = /* @__PURE__ */ pe({
12726
+ }), Gm = Jm, $c = Ce(Gm), Km = { class: "j-button-select" }, qm = { class: "search-wraper" }, Xm = { class: "options-wraper" }, Zm = ["onClick"], Qm = /* @__PURE__ */ pe({
12727
12727
  name: "JButtonSelect",
12728
12728
  __name: "button-select",
12729
12729
  props: {
@@ -12763,7 +12763,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12763
12763
  label: e.label,
12764
12764
  type: "link"
12765
12765
  }, null, 8, ["label"])]),
12766
- default: J(() => [B("div", qm, [B("div", Xm, [X(h, {
12766
+ default: J(() => [B("div", Km, [B("div", qm, [X(h, {
12767
12767
  modelValue: i.value,
12768
12768
  "onUpdate:modelValue": d[0] || (d[0] = (g) => i.value = g),
12769
12769
  modelModifiers: { trim: !0 },
@@ -12773,7 +12773,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12773
12773
  }, {
12774
12774
  prefix: J(() => [X(u, { icon: "mdi:search" })]),
12775
12775
  _: 1
12776
- }, 8, ["modelValue", "placeholder"])]), B("div", Zm, [(S(!0), H(ke, null, Oe(r.value, (g) => (S(), H("div", {
12776
+ }, 8, ["modelValue", "placeholder"])]), B("div", Xm, [(S(!0), H(ke, null, Oe(r.value, (g) => (S(), H("div", {
12777
12777
  key: g.value,
12778
12778
  class: Ne(["option-item", { active: l.value.includes(g.value) || g.disabled }]),
12779
12779
  onClick: Ft((b) => c(g), ["stop"])
@@ -12781,15 +12781,15 @@ var Dp = { class: "j-table-footer" }, $p = {
12781
12781
  key: 0,
12782
12782
  class: "j-button-select-icon",
12783
12783
  icon: g.icon
12784
- }, null, 8, ["icon"])) : ee("", !0), B("div", null, we(W(o)(g.label)), 1)], 10, Qm))), 128))])])]),
12784
+ }, null, 8, ["icon"])) : ee("", !0), B("div", null, we(W(o)(g.label)), 1)], 10, Zm))), 128))])])]),
12785
12785
  _: 1
12786
12786
  }, 8, ["width"]);
12787
12787
  };
12788
12788
  }
12789
- }), tb = eb, nb = Ce(tb), ab = { class: "j-tree-item-text" }, ob = {
12789
+ }), eb = Qm, tb = Ce(eb), nb = { class: "j-tree-item-text" }, ab = {
12790
12790
  key: 2,
12791
12791
  class: "j-tree-item-button-group"
12792
- }, ib = {
12792
+ }, ob = {
12793
12793
  key: 1,
12794
12794
  class: "j-block",
12795
12795
  style: {
@@ -12797,7 +12797,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12797
12797
  "align-items": "center",
12798
12798
  "justify-content": "center"
12799
12799
  }
12800
- }, rb = /* @__PURE__ */ pe({
12800
+ }, ib = /* @__PURE__ */ pe({
12801
12801
  name: "JTree",
12802
12802
  __name: "tree",
12803
12803
  props: {
@@ -12994,8 +12994,8 @@ var Dp = { class: "j-table-footer" }, $p = {
12994
12994
  icon: M.data[e.iconKey] || e.defaultIcon || "",
12995
12995
  color: M.data[e.iconColorKey] || e.defaultIconColor || ""
12996
12996
  }, null, 8, ["icon", "color"])) : ee("", !0),
12997
- B("div", ab, we(M.label), 1),
12998
- k(M.data).length ? (S(), H("div", ob, [(S(!0), H(ke, null, Oe(k(M.data), (ue, Te) => (S(), F(ve, {
12997
+ B("div", nb, we(M.label), 1),
12998
+ k(M.data).length ? (S(), H("div", ab, [(S(!0), H(ke, null, Oe(k(M.data), (ue, Te) => (S(), F(ve, {
12999
12999
  key: Te,
13000
13000
  trigger: "click",
13001
13001
  onVisibleChange: (me) => P(me, M.data)
@@ -13043,10 +13043,10 @@ var Dp = { class: "j-table-footer" }, $p = {
13043
13043
  "render-after-expand",
13044
13044
  "draggable",
13045
13045
  "expand-on-click-node"
13046
- ])) : (S(), H("div", ib, [X(G, { description: W(r)(e.emptyDes) }, null, 8, ["description"])]))], 2)), [[Q, d.value]]);
13046
+ ])) : (S(), H("div", ob, [X(G, { description: W(r)(e.emptyDes) }, null, 8, ["description"])]))], 2)), [[Q, d.value]]);
13047
13047
  };
13048
13048
  }
13049
- }), lb = rb, sb = Ce(lb), cb = /* @__PURE__ */ pe({
13049
+ }), rb = ib, lb = Ce(rb), sb = /* @__PURE__ */ pe({
13050
13050
  name: "JTreeSelect",
13051
13051
  __name: "tree-select",
13052
13052
  props: {
@@ -13128,11 +13128,11 @@ var Dp = { class: "j-table-footer" }, $p = {
13128
13128
  ]);
13129
13129
  };
13130
13130
  }
13131
- }), ub = cb, db = Ce(ub), fb = Ce(Ic), hb = uf;
13132
- async function pb(e, t, n) {
13131
+ }), cb = sb, ub = Ce(cb), db = Ce(Ic), fb = uf;
13132
+ async function hb(e, t, n) {
13133
13133
  const a = { ...n };
13134
13134
  delete a.ruleIndex, delete a.trigger;
13135
- const o = new hb({ [e]: [a] });
13135
+ const o = new fb({ [e]: [a] });
13136
13136
  let i = [];
13137
13137
  try {
13138
13138
  await o.validate({ [e]: t });
@@ -13141,7 +13141,7 @@ async function pb(e, t, n) {
13141
13141
  }
13142
13142
  return i.length > 0 ? i[0] : "";
13143
13143
  }
13144
- async function gb(e, t, n) {
13144
+ async function pb(e, t, n) {
13145
13145
  const a = n.map((o, i) => ({
13146
13146
  ...o,
13147
13147
  ruleIndex: i
@@ -13149,14 +13149,14 @@ async function gb(e, t, n) {
13149
13149
  for (let o = 0; o < a.length; o += 1) {
13150
13150
  const i = a[o];
13151
13151
  "pattern" in i && (t += "");
13152
- const r = await pb(e, t, i);
13152
+ const r = await hb(e, t, i);
13153
13153
  if (r !== "") return {
13154
13154
  name: e,
13155
13155
  errors: r
13156
13156
  };
13157
13157
  }
13158
13158
  }
13159
- function vb(e, t) {
13159
+ function gb(e, t) {
13160
13160
  const n = (i, r, l, c, s) => {
13161
13161
  Object.keys(r).forEach((d) => {
13162
13162
  let f = d;
@@ -13170,7 +13170,7 @@ function vb(e, t) {
13170
13170
  n(i, g, p, u, l ? r : void 0);
13171
13171
  });
13172
13172
  });
13173
- }, a = (i, r, l) => gb(i, r, l);
13173
+ }, a = (i, r, l) => pb(i, r, l);
13174
13174
  return {
13175
13175
  validateForm: async () => {
13176
13176
  const i = W(e), r = [];
@@ -13206,7 +13206,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13206
13206
  }
13207
13207
  };
13208
13208
  return { run: r };
13209
- }, yb = /* @__PURE__ */ pe({
13209
+ }, vb = /* @__PURE__ */ pe({
13210
13210
  name: "JForm",
13211
13211
  __name: "form",
13212
13212
  props: {
@@ -13393,7 +13393,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13393
13393
  rules: [],
13394
13394
  myGridtableId: ""
13395
13395
  };
13396
- }, { validateForm: Ye } = vb(y, Ve), ne = async () => {
13396
+ }, { validateForm: Ye } = gb(y, Ve), ne = async () => {
13397
13397
  _.value = {};
13398
13398
  const K = await Ye();
13399
13399
  return Object.keys(K).length > 0 ? (_.value = K, g(`${h(R[Object.keys(K)[0]]?.config?.label)}:${h(K[Object.keys(K)[0]].msg)}`), !1) : !0;
@@ -13575,7 +13575,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13575
13575
  ])) : ee("", !0);
13576
13576
  };
13577
13577
  }
13578
- }), mb = yb, bb = Ce(mb), wb = Ce(Oc), _b = { class: "j-page" }, xb = /* @__PURE__ */ pe({
13578
+ }), yb = vb, mb = Ce(yb), bb = Ce(Oc), wb = { class: "j-page" }, _b = /* @__PURE__ */ pe({
13579
13579
  name: "JPage",
13580
13580
  __name: "page",
13581
13581
  props: {
@@ -13655,7 +13655,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13655
13655
  off: x
13656
13656
  }), (m, v) => {
13657
13657
  const w = $("j-comp");
13658
- return S(), H("div", _b, [(S(!0), H(ke, null, Oe(o, (C) => (S(), F(w, {
13658
+ return S(), H("div", wb, [(S(!0), H(ke, null, Oe(o, (C) => (S(), F(w, {
13659
13659
  key: C.id,
13660
13660
  id: C.id,
13661
13661
  type: C.type,
@@ -13669,7 +13669,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13669
13669
  ]))), 128))]);
13670
13670
  };
13671
13671
  }
13672
- }), Cb = xb, Sb = Ce(Cb), kb = /* @__PURE__ */ pe({
13672
+ }), xb = _b, Cb = Ce(xb), Sb = /* @__PURE__ */ pe({
13673
13673
  name: "JGuid",
13674
13674
  __name: "guid",
13675
13675
  props: {
@@ -13691,16 +13691,16 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13691
13691
  }, null, 8, ["modelValue", "size"]);
13692
13692
  };
13693
13693
  }
13694
- }), Rb = kb, Eb = Ce(Rb), Tb = {
13694
+ }), kb = Sb, Rb = Ce(kb), Eb = {
13695
13695
  key: 0,
13696
13696
  class: "j-panel-top"
13697
- }, Ab = ["title"], Mb = { style: {
13697
+ }, Tb = ["title"], Ab = { style: {
13698
13698
  margin: "0",
13699
13699
  "font-size": "14px"
13700
- } }, jb = { key: 1 }, Pb = {
13700
+ } }, Mb = { key: 1 }, jb = {
13701
13701
  key: 1,
13702
13702
  class: "j-panel-bottom"
13703
- }, Bb = /* @__PURE__ */ pe({
13703
+ }, Pb = /* @__PURE__ */ pe({
13704
13704
  name: "JPanel",
13705
13705
  __name: "panel",
13706
13706
  props: {
@@ -13743,11 +13743,11 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13743
13743
  class: "j-panel",
13744
13744
  style: le({ "border-radius": e.noPadding ? "0px" : "4px" })
13745
13745
  }, [
13746
- e.title && !e.notTitle || e.toolBtns && e.toolBtns.length > 0 ? (S(), H("div", Tb, [e.notTitle ? ee("", !0) : (S(), H("div", {
13746
+ e.title && !e.notTitle || e.toolBtns && e.toolBtns.length > 0 ? (S(), H("div", Eb, [e.notTitle ? ee("", !0) : (S(), H("div", {
13747
13747
  key: 0,
13748
13748
  class: "j-panel-top-left",
13749
13749
  title: e.title || ""
13750
- }, [Ke(a.$slots, "title", {}, () => [B("span", Mb, we(e.title || ""), 1)])], 8, Ab)), e.toolBtns && e.toolBtns.length > 0 ? (S(), H("span", jb, [(S(!0), H(ke, null, Oe(e.toolBtns, (c) => (S(), F(r, {
13750
+ }, [Ke(a.$slots, "title", {}, () => [B("span", Ab, we(e.title || ""), 1)])], 8, Tb)), e.toolBtns && e.toolBtns.length > 0 ? (S(), H("span", Mb, [(S(!0), H(ke, null, Oe(e.toolBtns, (c) => (S(), F(r, {
13751
13751
  key: c.id,
13752
13752
  placement: "top",
13753
13753
  content: c.label || ""
@@ -13763,17 +13763,17 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13763
13763
  class: "j-panel-body",
13764
13764
  style: le(e.bodyStyle)
13765
13765
  }, [Ke(a.$slots, "default")], 4),
13766
- e.bootmBtns && e.bootmBtns.length > 0 || e.bootmRightBtns && e.bootmRightBtns.length > 0 ? (S(), H("div", Pb, [X(l, { list: e.bootmBtns }, null, 8, ["list"]), X(l, { list: e.bootmRightBtns }, null, 8, ["list"])])) : ee("", !0)
13766
+ e.bootmBtns && e.bootmBtns.length > 0 || e.bootmRightBtns && e.bootmRightBtns.length > 0 ? (S(), H("div", jb, [X(l, { list: e.bootmBtns }, null, 8, ["list"]), X(l, { list: e.bootmRightBtns }, null, 8, ["list"])])) : ee("", !0)
13767
13767
  ], 4)], 4);
13768
13768
  };
13769
13769
  }
13770
- }), Hb = Bb, Ob = Ce(Hb), Ib = { class: "j-input-rows" }, zb = {
13770
+ }), Bb = Pb, Hb = Ce(Bb), Ob = { class: "j-input-rows" }, Ib = {
13771
13771
  key: 0,
13772
13772
  class: "j-input-rows-num"
13773
- }, Lb = {
13773
+ }, zb = {
13774
13774
  key: 1,
13775
13775
  class: "j-input-rows-char"
13776
- }, Db = /* @__PURE__ */ pe({
13776
+ }, Lb = /* @__PURE__ */ pe({
13777
13777
  name: "JInputRows",
13778
13778
  __name: "input-rows",
13779
13779
  props: {
@@ -13911,7 +13911,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13911
13911
  pRowData: C
13912
13912
  }), (y, _) => {
13913
13913
  const k = $("j-comp"), R = $("j-icon"), T = $("j-button"), A = $("j-buttons");
13914
- return S(), H("div", Ib, [B("div", {
13914
+ return S(), H("div", Ob, [B("div", {
13915
13915
  ref_key: "inputRowsRef",
13916
13916
  ref: h,
13917
13917
  class: "j-input-rows-container"
@@ -13919,8 +13919,8 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13919
13919
  key: P._i + L,
13920
13920
  class: Ne([e.isCompact ? "j-space-compact" : "j-space", { "j-space-wrap": e.isWrap }])
13921
13921
  }, [
13922
- e.showNum ? (S(), H("div", zb, we(L + 1), 1)) : ee("", !0),
13923
- e.showChar ? (S(), H("div", Lb, we(p[L % 26]), 1)) : ee("", !0),
13922
+ e.showNum ? (S(), H("div", Ib, we(L + 1), 1)) : ee("", !0),
13923
+ e.showChar ? (S(), H("div", zb, we(p[L % 26]), 1)) : ee("", !0),
13924
13924
  (S(!0), H(ke, null, Oe(e.columns, (I) => (S(), F(k, We({
13925
13925
  key: I.id,
13926
13926
  ref_for: !0
@@ -13956,7 +13956,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13956
13956
  }, null, 8, ["list"])) : ee("", !0)], 4)) : ee("", !0)]);
13957
13957
  };
13958
13958
  }
13959
- }), $b = Db, Fb = Ce($b), Vb = { class: "j-input-layer" }, Nb = /* @__PURE__ */ pe({
13959
+ }), Db = Lb, $b = Ce(Db), Fb = { class: "j-input-layer" }, Vb = /* @__PURE__ */ pe({
13960
13960
  name: "JInputLayer",
13961
13961
  __name: "input-layer",
13962
13962
  props: {
@@ -13986,6 +13986,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13986
13986
  columns: { default: () => [] },
13987
13987
  loadLayerData: {},
13988
13988
  renderVNode: {},
13989
+ renderVNodeClass: {},
13989
13990
  getText: {},
13990
13991
  beforeOpen: {},
13991
13992
  readonly: {
@@ -14074,7 +14075,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14074
14075
  };
14075
14076
  return t({ getTablePanelRef: () => l.value }), (m, v) => {
14076
14077
  const w = $("el-input");
14077
- return S(), H("div", Vb, [e.onlyButton ? (S(), F(W(wr), {
14078
+ return S(), H("div", Fb, [e.onlyButton ? (S(), F(W(wr), {
14078
14079
  key: 1,
14079
14080
  type: e.buttonType,
14080
14081
  size: e.size,
@@ -14136,6 +14137,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14136
14137
  "is-multiple": e.isMultiSelect,
14137
14138
  "load-data": e.loadLayerData,
14138
14139
  "render-v-node": e.renderVNode,
14140
+ "render-v-node-class": e.renderVNodeClass,
14139
14141
  immediate: !0,
14140
14142
  onSelect: p
14141
14143
  }, null, 8, [
@@ -14146,7 +14148,8 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14146
14148
  "sort",
14147
14149
  "is-multiple",
14148
14150
  "load-data",
14149
- "render-v-node"
14151
+ "render-v-node",
14152
+ "render-v-node-class"
14150
14153
  ])]),
14151
14154
  _: 1
14152
14155
  }, 8, [
@@ -14157,7 +14160,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14157
14160
  ])]);
14158
14161
  };
14159
14162
  }
14160
- }), Wb = Nb, Ub = Ce(Wb), Yb = /* @__PURE__ */ pe({
14163
+ }), Nb = Vb, Wb = Ce(Nb), Ub = /* @__PURE__ */ pe({
14161
14164
  name: "JLayerForm",
14162
14165
  __name: "layer-form",
14163
14166
  props: {
@@ -14256,7 +14259,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14256
14259
  ])]);
14257
14260
  };
14258
14261
  }
14259
- }), Jb = Yb, Gb = Ce(Jb), Kb = /* @__PURE__ */ pe({
14262
+ }), Yb = Ub, Jb = Ce(Yb), Gb = /* @__PURE__ */ pe({
14260
14263
  name: "JSwitch",
14261
14264
  inheritAttrs: !1,
14262
14265
  __name: "switch",
@@ -14410,7 +14413,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14410
14413
  ]);
14411
14414
  };
14412
14415
  }
14413
- }), qb = Kb, Xb = Ce(qb), Zb = /* @__PURE__ */ pe({
14416
+ }), Kb = Gb, qb = Ce(Kb), Xb = /* @__PURE__ */ pe({
14414
14417
  name: "JTabs",
14415
14418
  __name: "tabs",
14416
14419
  props: {
@@ -14492,7 +14495,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14492
14495
  ]);
14493
14496
  };
14494
14497
  }
14495
- }), Qb = Zb, e0 = Ce(Qb), t0 = /* @__PURE__ */ pe({
14498
+ }), Zb = Xb, Qb = Ce(Zb), e0 = /* @__PURE__ */ pe({
14496
14499
  name: "JCollapse",
14497
14500
  __name: "collapse",
14498
14501
  props: {
@@ -14522,7 +14525,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14522
14525
  }, 16, ["model-value", "accordion"]);
14523
14526
  };
14524
14527
  }
14525
- }), n0 = t0, a0 = Ce(n0), o0 = { class: "j-editor" }, i0 = /* @__PURE__ */ pe({
14528
+ }), t0 = e0, n0 = Ce(t0), a0 = { class: "j-editor" }, o0 = /* @__PURE__ */ pe({
14526
14529
  name: "JEditor",
14527
14530
  __name: "editor",
14528
14531
  props: {
@@ -14614,7 +14617,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14614
14617
  }), jo(() => {
14615
14618
  const f = r.value;
14616
14619
  f?.destroy();
14617
- }), (f, u) => (S(), H("div", o0, [B("div", {
14620
+ }), (f, u) => (S(), H("div", a0, [B("div", {
14618
14621
  ref_key: "toolbarRef",
14619
14622
  ref: i,
14620
14623
  class: "j-editor-toolbar"
@@ -14625,10 +14628,10 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14625
14628
  style: le(l.value)
14626
14629
  }, null, 4)]));
14627
14630
  }
14628
- }), r0 = /* @__PURE__ */ Dc(i0, [["__scopeId", "data-v-086d2967"]]), l0 = Ce(r0), s0 = {
14631
+ }), i0 = /* @__PURE__ */ Dc(o0, [["__scopeId", "data-v-086d2967"]]), r0 = Ce(i0), l0 = {
14629
14632
  key: 0,
14630
14633
  class: "j-map-loading"
14631
- }, c0 = /* @__PURE__ */ pe({
14634
+ }, s0 = /* @__PURE__ */ pe({
14632
14635
  name: "JMap",
14633
14636
  __name: "map",
14634
14637
  props: {
@@ -14712,7 +14715,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14712
14715
  }), (b, x) => (S(), H("div", {
14713
14716
  class: "j-map",
14714
14717
  style: le({ height: e.height })
14715
- }, [i.value ? (S(), H("div", s0, [X(Ea, {
14718
+ }, [i.value ? (S(), H("div", l0, [X(Ea, {
14716
14719
  icon: "mdi:loading",
14717
14720
  class: "is-loading",
14718
14721
  size: 30
@@ -14722,7 +14725,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14722
14725
  class: "j-map-container"
14723
14726
  }, null, 512)], 4));
14724
14727
  }
14725
- }), u0 = c0, d0 = Ce(u0), f0 = /* @__PURE__ */ pe({
14728
+ }), c0 = s0, u0 = Ce(c0), d0 = /* @__PURE__ */ pe({
14726
14729
  name: "JInputMap",
14727
14730
  __name: "input-map",
14728
14731
  props: {
@@ -14879,7 +14882,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14879
14882
  ], 64);
14880
14883
  };
14881
14884
  }
14882
- }), h0 = f0, p0 = Ce(h0);
14885
+ }), f0 = d0, h0 = Ce(f0);
14883
14886
  function Yl(e) {
14884
14887
  !e || typeof e.stopPropagation != "function" || e.stopPropagation();
14885
14888
  }
@@ -14926,7 +14929,7 @@ function Vc(e, t, n) {
14926
14929
  })(), this._findTargetGfx = function(r) {
14927
14930
  var l, c;
14928
14931
  if (r instanceof MouseEvent)
14929
- return l = Ka(r), c = document.elementFromPoint(l.x, l.y), g0(c);
14932
+ return l = Ka(r), c = document.elementFromPoint(l.x, l.y), p0(c);
14930
14933
  };
14931
14934
  }
14932
14935
  Vc.$inject = [
@@ -14934,10 +14937,10 @@ Vc.$inject = [
14934
14937
  "eventBus",
14935
14938
  "injector"
14936
14939
  ];
14937
- function g0(e) {
14940
+ function p0(e) {
14938
14941
  return Lr(e, "svg, .djs-element", !0);
14939
14942
  }
14940
- var v0 = {
14943
+ var g0 = {
14941
14944
  __init__: ["hoverFix"],
14942
14945
  hoverFix: ["type", Vc]
14943
14946
  };
@@ -14950,7 +14953,7 @@ function Wc(e, t) {
14950
14953
  function ia(e) {
14951
14954
  return Wc(e, 0);
14952
14955
  }
14953
- function y0(e) {
14956
+ function v0(e) {
14954
14957
  return Wc(e, 1);
14955
14958
  }
14956
14959
  function Gl(e) {
@@ -14964,7 +14967,7 @@ function xr(e) {
14964
14967
  function Io(e) {
14965
14968
  return e.flat().join(",").replace(/,?([A-Za-z]),?/g, "$1");
14966
14969
  }
14967
- function m0(e) {
14970
+ function y0(e) {
14968
14971
  return [
14969
14972
  "M",
14970
14973
  e.x,
@@ -14978,7 +14981,7 @@ function rr(e) {
14978
14981
  e.y
14979
14982
  ];
14980
14983
  }
14981
- function b0(e, t, n) {
14984
+ function m0(e, t, n) {
14982
14985
  return [
14983
14986
  "C",
14984
14987
  e.x,
@@ -14989,8 +14992,8 @@ function b0(e, t, n) {
14989
14992
  n.y
14990
14993
  ];
14991
14994
  }
14992
- function w0(e, t) {
14993
- const n = e.length, a = [m0(e[0])];
14995
+ function b0(e, t) {
14996
+ const n = e.length, a = [y0(e[0])];
14994
14997
  for (let o = 1; o < n; o++) {
14995
14998
  const i = e[o - 1], r = e[o], l = e[o + 1];
14996
14999
  if (!l || !t) {
@@ -15003,7 +15006,7 @@ function w0(e, t) {
15003
15006
  continue;
15004
15007
  }
15005
15008
  const s = oi(r, i, c), d = oi(r, i, c * 0.5), f = oi(r, l, c), u = oi(r, l, c * 0.5);
15006
- a.push(rr(s)), a.push(b0(d, u, f));
15009
+ a.push(rr(s)), a.push(m0(d, u, f));
15007
15010
  }
15008
15011
  return a;
15009
15012
  }
@@ -15023,13 +15026,13 @@ function qr(e, t, n) {
15023
15026
  return It(n) && (a.dataset.cornerRadius = String(n)), Uc(a, e);
15024
15027
  }
15025
15028
  function Uc(e, t) {
15026
- return $e(e, { d: Io(w0(t, parseInt(e.dataset.cornerRadius, 10) || 0)) }), e;
15029
+ return $e(e, { d: Io(b0(t, parseInt(e.dataset.cornerRadius, 10) || 0)) }), e;
15027
15030
  }
15028
- function _0(e) {
15031
+ function w0(e) {
15029
15032
  return !0;
15030
15033
  }
15031
15034
  function ii(e) {
15032
- return ia(e) || y0(e);
15035
+ return ia(e) || v0(e);
15033
15036
  }
15034
15037
  var Kl = 500;
15035
15038
  function Yc(e, t, n) {
@@ -15061,7 +15064,7 @@ function Yc(e, t, n) {
15061
15064
  mouseout: "element.out",
15062
15065
  mouseup: "element.mouseup"
15063
15066
  }, s = {
15064
- "element.contextmenu": _0,
15067
+ "element.contextmenu": w0,
15065
15068
  "element.mousedown": ii,
15066
15069
  "element.mouseup": ii,
15067
15070
  "element.click": ii,
@@ -15246,7 +15249,7 @@ function Gc(e, t, n, a) {
15246
15249
  var i = o.context, r = i.canExecute, l = i.elements, c = (i.hints || {}).autoSelect;
15247
15250
  if (r) {
15248
15251
  if (c === !1) return;
15249
- st(c) ? t.select(c) : t.select(l.filter(x0));
15252
+ st(c) ? t.select(c) : t.select(l.filter(_0));
15250
15253
  }
15251
15254
  }), e.on("connect.end", 500, function(o) {
15252
15255
  var i = o.context.connection;
@@ -15272,7 +15275,7 @@ Gc.$inject = [
15272
15275
  "canvas",
15273
15276
  "elementRegistry"
15274
15277
  ];
15275
- function x0(e) {
15278
+ function _0(e) {
15276
15279
  return !e.hidden;
15277
15280
  }
15278
15281
  var eo = {
@@ -15281,21 +15284,21 @@ var eo = {
15281
15284
  selection: ["type", Qa],
15282
15285
  selectionVisuals: ["type", Jc],
15283
15286
  selectionBehavior: ["type", Gc]
15284
- }, C0 = /^djs-cursor-.*$/;
15287
+ }, x0 = /^djs-cursor-.*$/;
15285
15288
  function Zr(e) {
15286
15289
  var t = nn(document.body);
15287
- t.removeMatching(C0), e && t.add("djs-cursor-" + e);
15290
+ t.removeMatching(x0), e && t.add("djs-cursor-" + e);
15288
15291
  }
15289
15292
  function Kc() {
15290
15293
  Zr(null);
15291
15294
  }
15292
- var S0 = 5e3;
15295
+ var C0 = 5e3;
15293
15296
  function qc(e, t) {
15294
15297
  t = t || "element.click";
15295
15298
  function n() {
15296
15299
  return !1;
15297
15300
  }
15298
- return e.once(t, S0, n), function() {
15301
+ return e.once(t, C0, n), function() {
15299
15302
  e.off(t, n);
15300
15303
  };
15301
15304
  }
@@ -15321,10 +15324,10 @@ var Wa = Math.round, Ql = "djs-drag-active";
15321
15324
  function wa(e) {
15322
15325
  e.preventDefault();
15323
15326
  }
15324
- function k0(e) {
15327
+ function S0(e) {
15325
15328
  return typeof TouchEvent < "u" && e instanceof TouchEvent;
15326
15329
  }
15327
- function R0(e) {
15330
+ function k0(e) {
15328
15331
  return Math.sqrt(Math.pow(e.x, 2) + Math.pow(e.y, 2));
15329
15332
  }
15330
15333
  function Qc(e, t, n, a) {
@@ -15352,7 +15355,7 @@ function Qc(e, t, n, a) {
15352
15355
  }
15353
15356
  function s(v, w) {
15354
15357
  var C = i.payload, y = i.displacement, _ = i.globalStart, k = Ka(v), R = Ya(k, _), T = i.localStart, A = r(k), P = Ya(A, T);
15355
- if (!i.active && (w || R0(R) > i.threshold)) {
15358
+ if (!i.active && (w || k0(R) > i.threshold)) {
15356
15359
  if (Fe(C, {
15357
15360
  x: Wa(T.x + y.x),
15358
15361
  y: Wa(T.y + y.y),
@@ -15410,7 +15413,7 @@ function Qc(e, t, n, a) {
15410
15413
  y.trapClick ? A = u : A = d, v ? (k = Za(v) || v, R = Ka(v), ir(v), k.type === "dragstart" && wa(k)) : (k = null, R = {
15411
15414
  x: 0,
15412
15415
  y: 0
15413
- }), T = r(R), w || (w = T), P = k0(k), i = Fe({
15416
+ }), T = r(R), w || (w = T), P = S0(k), i = Fe({
15414
15417
  prefix: C,
15415
15418
  data: _,
15416
15419
  payload: {},
@@ -15433,7 +15436,7 @@ Qc.$inject = [
15433
15436
  "elementRegistry"
15434
15437
  ];
15435
15438
  var Pa = {
15436
- __depends__: [v0, eo],
15439
+ __depends__: [g0, eo],
15437
15440
  dragging: ["type", Qc]
15438
15441
  };
15439
15442
  function Sr(e) {
@@ -15445,11 +15448,11 @@ function Di(e) {
15445
15448
  Di.prototype.next = function() {
15446
15449
  return this._prefix + ++this._counter;
15447
15450
  };
15448
- var E0 = new Di("ps"), T0 = [
15451
+ var R0 = new Di("ps"), E0 = [
15449
15452
  "marker-start",
15450
15453
  "marker-mid",
15451
15454
  "marker-end"
15452
- ], A0 = [
15455
+ ], T0 = [
15453
15456
  "circle",
15454
15457
  "ellipse",
15455
15458
  "line",
@@ -15496,9 +15499,9 @@ ra.prototype._cloneMarkers = function(e, t = "djs-dragger", n = e) {
15496
15499
  var a = this;
15497
15500
  e.childNodes && e.childNodes.forEach((o) => {
15498
15501
  a._cloneMarkers(o, t, n);
15499
- }), B0(e) && T0.forEach(function(o) {
15502
+ }), P0(e) && E0.forEach(function(o) {
15500
15503
  if ($e(e, o)) {
15501
- var i = M0(e, o, a._canvas.getContainer());
15504
+ var i = A0(e, o, a._canvas.getContainer());
15502
15505
  i && a._cloneMarker(n, e, i, o, t);
15503
15506
  }
15504
15507
  });
@@ -15507,25 +15510,25 @@ ra.prototype._cloneMarker = function(e, t, n, a, o = "djs-dragger") {
15507
15510
  var i = [
15508
15511
  n.id,
15509
15512
  o,
15510
- E0.next()
15513
+ R0.next()
15511
15514
  ].join("-"), r = Zt("marker#" + n.id, e);
15512
15515
  e = e || this._canvas._svg;
15513
15516
  var l = r || mc(n);
15514
15517
  l.id = i, ht(l).add(o);
15515
15518
  var c = Zt(":scope > defs", e);
15516
- c || (c = Ge("defs"), qe(e, c)), qe(c, l), $e(t, a, P0(l.id));
15519
+ c || (c = Ge("defs"), qe(e, c)), qe(c, l), $e(t, a, j0(l.id));
15517
15520
  };
15518
- function M0(e, t, n) {
15519
- return Zt("marker#" + j0($e(e, t)), n || document);
15521
+ function A0(e, t, n) {
15522
+ return Zt("marker#" + M0($e(e, t)), n || document);
15520
15523
  }
15521
- function j0(e) {
15524
+ function M0(e) {
15522
15525
  return e.match(/url\(['"]?#([^'"]*)['"]?\)/)[1];
15523
15526
  }
15524
- function P0(e) {
15527
+ function j0(e) {
15525
15528
  return "url(#" + e + ")";
15526
15529
  }
15527
- function B0(e) {
15528
- return A0.indexOf(e.nodeName) !== -1;
15530
+ function P0(e) {
15531
+ return T0.indexOf(e.nodeName) !== -1;
15529
15532
  }
15530
15533
  var Qr = {
15531
15534
  __init__: ["previewSupport"],
@@ -15543,7 +15546,7 @@ var to = {
15543
15546
  __init__: ["rules"],
15544
15547
  rules: ["type", el]
15545
15548
  };
15546
- function H0(e) {
15549
+ function B0(e) {
15547
15550
  return un(e, function(t) {
15548
15551
  return !Pn(e, function(n) {
15549
15552
  return n !== t && eu(t, n);
@@ -15567,7 +15570,7 @@ function tl(e, t, n) {
15567
15570
  st(i) && i.length && tl(i, t, n + 1);
15568
15571
  });
15569
15572
  }
15570
- function O0(e, t, n) {
15573
+ function H0(e, t, n) {
15571
15574
  var a = [], o = [];
15572
15575
  return tl(e, function(i, r, l) {
15573
15576
  es(a, i, t);
@@ -15576,10 +15579,10 @@ function O0(e, t, n) {
15576
15579
  return c;
15577
15580
  }), a;
15578
15581
  }
15579
- function I0(e, t) {
15580
- return O0(e, !t, -1);
15582
+ function O0(e, t) {
15583
+ return H0(e, !t, -1);
15581
15584
  }
15582
- function z0(e, t, n) {
15585
+ function I0(e, t, n) {
15583
15586
  vf(t) && (t = !0), dn(t) && (n = t, t = !0), n = n || {};
15584
15587
  var a = fo(n.allShapes), o = fo(n.allConnections), i = fo(n.enclosedElements), r = fo(n.enclosedConnections), l = fo(n.topLevel, t && Fr(e, function(d) {
15585
15588
  return d.id;
@@ -15622,10 +15625,10 @@ function tu(e, t) {
15622
15625
  o.waypoints && (o = On(o)), !It(t.y) && o.x > t.x && (n[a.id] = a), !It(t.x) && o.y > t.y && (n[a.id] = a), o.x > t.x && o.y > t.y && (It(t.width) && It(t.height) && o.width + o.x < t.width + t.x && o.height + o.y < t.height + t.y || !It(t.width) || !It(t.height)) && (n[a.id] = a);
15623
15626
  }), n;
15624
15627
  }
15625
- function L0(e) {
15628
+ function z0(e) {
15626
15629
  return "waypoints" in e ? "connection" : "x" in e ? "shape" : "root";
15627
15630
  }
15628
- function D0(e) {
15631
+ function L0(e) {
15629
15632
  return !!(e && e.isFrame);
15630
15633
  }
15631
15634
  function fo(e, t) {
@@ -15637,7 +15640,7 @@ function en(e) {
15637
15640
  function qa(e) {
15638
15641
  return dn(e) && yc(e, "labelTarget");
15639
15642
  }
15640
- var $0 = "drop-ok", ts = "drop-not-ok", ns = "attach-ok", as = "new-parent", os = "create", F0 = 2e3;
15643
+ var D0 = "drop-ok", ts = "drop-not-ok", ns = "attach-ok", as = "new-parent", os = "create", $0 = 2e3;
15641
15644
  function nu(e, t, n, a, o) {
15642
15645
  function i(c, s, d, f, u) {
15643
15646
  if (!s) return !1;
@@ -15678,7 +15681,7 @@ function nu(e, t, n, a, o) {
15678
15681
  function r(c, s) {
15679
15682
  [
15680
15683
  ns,
15681
- $0,
15684
+ D0,
15682
15685
  ts,
15683
15686
  as
15684
15687
  ].forEach(function(d) {
@@ -15731,7 +15734,7 @@ function nu(e, t, n, a, o) {
15731
15734
  c && c.prefix === os && t.cancel();
15732
15735
  }
15733
15736
  n.on("create.init", function() {
15734
- n.on("elements.changed", l), n.once(["create.cancel", "create.end"], F0, function() {
15737
+ n.on("elements.changed", l), n.once(["create.cancel", "create.end"], $0, function() {
15735
15738
  n.off("elements.changed", l);
15736
15739
  });
15737
15740
  }), this.start = function(c, s, d) {
@@ -15786,7 +15789,7 @@ function is(e) {
15786
15789
  function rs(e) {
15787
15790
  return e && e.length === 1 && !en(e[0]);
15788
15791
  }
15789
- function V0(e, t, n, a, o) {
15792
+ function F0(e, t, n, a, o) {
15790
15793
  var i = xo();
15791
15794
  i.setTranslate(t, n);
15792
15795
  var r = xo();
@@ -15802,11 +15805,11 @@ function Hn(e, t, n) {
15802
15805
  var a = xo();
15803
15806
  a.setTranslate(t, n), Wr(e, a);
15804
15807
  }
15805
- function N0(e, t) {
15808
+ function V0(e, t) {
15806
15809
  var n = xo();
15807
15810
  n.setRotate(t, 0, 0), Wr(e, n);
15808
15811
  }
15809
- var W0 = 750;
15812
+ var N0 = 750;
15810
15813
  function au(e, t, n, a, o) {
15811
15814
  function i(r) {
15812
15815
  var l = Ge("g");
@@ -15817,7 +15820,7 @@ function au(e, t, n, a, o) {
15817
15820
  s.hidden || (s.waypoints ? (d = n._createContainer("connection", c), n.drawConnection(Sr(d), s)) : (d = n._createContainer("shape", c), n.drawShape(Sr(d), s), Hn(d, s.x, s.y)), a.addDragger(s, l, d));
15818
15821
  }), l;
15819
15822
  }
15820
- t.on("create.move", W0, function(r) {
15823
+ t.on("create.move", N0, function(r) {
15821
15824
  var l = r.hover, c = r.context, s = c.elements, d = c.dragGroup;
15822
15825
  d || (d = c.dragGroup = i(s));
15823
15826
  var f;
@@ -15853,19 +15856,19 @@ function nl(e, t, n, a) {
15853
15856
  var o = (t.x - e.x) * (n.y - e.y) - (t.y - e.y) * (n.x - e.x), i = zo(e, t);
15854
15857
  return Math.abs(o / i) <= a;
15855
15858
  }
15856
- var U0 = 2;
15859
+ var W0 = 2;
15857
15860
  function Qn(e, t) {
15858
15861
  var n = Array.from(arguments).flat();
15859
15862
  for (const [a, o] of Object.entries({
15860
15863
  x: "v",
15861
15864
  y: "h"
15862
- })) if (Y0(a, n)) return o;
15865
+ })) if (U0(a, n)) return o;
15863
15866
  return !1;
15864
15867
  }
15865
- function Y0(e, t) {
15868
+ function U0(e, t) {
15866
15869
  const n = t[0];
15867
15870
  return $r(t, function(a) {
15868
- return Math.abs(n[e] - a[e]) <= U0;
15871
+ return Math.abs(n[e] - a[e]) <= W0;
15869
15872
  });
15870
15873
  }
15871
15874
  function ls(e, t, n) {
@@ -15877,23 +15880,23 @@ function kr(e, t) {
15877
15880
  y: Math.round(e.y + (t.y - e.y) / 2)
15878
15881
  };
15879
15882
  }
15880
- var J0 = /,?([a-z]),?/gi, ss = parseFloat, At = Math, Gn = At.PI, Mn = At.min, jn = At.max, cs = At.pow, ea = At.abs, G0 = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/gi, K0 = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/gi, us = Array.isArray || function(e) {
15883
+ var Y0 = /,?([a-z]),?/gi, ss = parseFloat, At = Math, Gn = At.PI, Mn = At.min, jn = At.max, cs = At.pow, ea = At.abs, J0 = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/gi, G0 = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/gi, us = Array.isArray || function(e) {
15881
15884
  return e instanceof Array;
15882
15885
  };
15883
- function q0(e, t) {
15886
+ function K0(e, t) {
15884
15887
  return Object.prototype.hasOwnProperty.call(e, t);
15885
15888
  }
15886
- function X0(e, t) {
15889
+ function q0(e, t) {
15887
15890
  for (var n = 0, a = e.length; n < a; n++) if (e[n] === t) return e.push(e.splice(n, 1)[0]);
15888
15891
  }
15889
- function Z0(e) {
15892
+ function X0(e) {
15890
15893
  function t() {
15891
15894
  var n = Array.prototype.slice.call(arguments, 0).join("␀"), a = t.cache = t.cache || {}, o = t.count = t.count || [];
15892
- return q0(a, n) ? (X0(o, n), a[n]) : (o.length >= 1e3 && delete a[o.shift()], o.push(n), a[n] = e(...arguments), a[n]);
15895
+ return K0(a, n) ? (q0(o, n), a[n]) : (o.length >= 1e3 && delete a[o.shift()], o.push(n), a[n] = e(...arguments), a[n]);
15893
15896
  }
15894
15897
  return t;
15895
15898
  }
15896
- function Q0(e) {
15899
+ function Z0(e) {
15897
15900
  if (!e) return null;
15898
15901
  var t = {
15899
15902
  a: 7,
@@ -15907,22 +15910,22 @@ function Q0(e) {
15907
15910
  v: 1,
15908
15911
  z: 0
15909
15912
  }, n = [];
15910
- return String(e).replace(G0, function(a, o, i) {
15913
+ return String(e).replace(J0, function(a, o, i) {
15911
15914
  var r = [], l = o.toLowerCase();
15912
- for (i.replace(K0, function(c, s) {
15915
+ for (i.replace(G0, function(c, s) {
15913
15916
  s && r.push(+s);
15914
15917
  }), l == "m" && r.length > 2 && (n.push([o, ...r.splice(0, 2)]), l = "l", o = o == "m" ? "l" : "L"); r.length >= t[l] && (n.push([o, ...r.splice(0, t[l])]), !!t[l]); )
15915
15918
  ;
15916
15919
  }), n.toString = al, n;
15917
15920
  }
15918
- function ew(e) {
15921
+ function Q0(e) {
15919
15922
  for (var t = 0, n = e.length; t < n; t++) {
15920
15923
  var a = e[t][0];
15921
15924
  if (typeof a == "string" && a !== a.toUpperCase()) return !1;
15922
15925
  }
15923
15926
  return !0;
15924
15927
  }
15925
- function tw(e) {
15928
+ function ew(e) {
15926
15929
  for (var t = 0, n = e.length; t < n; t++) {
15927
15930
  var a = e[t][0];
15928
15931
  if (a !== "M" && a !== "C") return !1;
@@ -15940,9 +15943,9 @@ function Rr(e, t, n, a) {
15940
15943
  };
15941
15944
  }
15942
15945
  function al() {
15943
- return this.join(",").replace(J0, "$1");
15946
+ return this.join(",").replace(Y0, "$1");
15944
15947
  }
15945
- function nw(e) {
15948
+ function tw(e) {
15946
15949
  for (var t = new Array(e.length), n = 0, a = e.length; n < a; n++)
15947
15950
  for (var o = e[n], i = t[n] = new Array(o.length), r = 0, l = o.length; r < l; r++) i[r] = o[r];
15948
15951
  return t.toString = al, t;
@@ -15955,13 +15958,13 @@ function ds(e, t, n, a, o, i, r, l, c) {
15955
15958
  };
15956
15959
  }
15957
15960
  function fs(e) {
15958
- var t = sw(...e);
15961
+ var t = lw(...e);
15959
15962
  return Rr(t.x0, t.y0, t.x1 - t.x0, t.y1 - t.y0);
15960
15963
  }
15961
15964
  function Kn(e, t, n) {
15962
15965
  return t >= e.x && t <= e.x + e.width && n >= e.y && n <= e.y + e.height;
15963
15966
  }
15964
- function aw(e, t) {
15967
+ function nw(e, t) {
15965
15968
  return e = Rr(e), t = Rr(t), Kn(t, e.x, e.y) || Kn(t, e.x2, e.y) || Kn(t, e.x, e.y2) || Kn(t, e.x2, e.y2) || Kn(e, t.x, t.y) || Kn(e, t.x2, t.y) || Kn(e, t.x, t.y2) || Kn(e, t.x2, t.y2) || (e.x < t.x2 && e.x > t.x || t.x < e.x2 && t.x > e.x) && (e.y < t.y2 && e.y > t.y || t.y < e.y2 && t.y > e.y);
15966
15969
  }
15967
15970
  function hs(e, t, n, a, o) {
@@ -16001,7 +16004,7 @@ function ps(e, t, n, a, o, i, r, l, c) {
16001
16004
  }
16002
16005
  return s * h;
16003
16006
  }
16004
- function ow(e, t, n, a, o, i, r, l) {
16007
+ function aw(e, t, n, a, o, i, r, l) {
16005
16008
  if (!(jn(e, n) < Mn(o, r) || Mn(e, n) > jn(o, r) || jn(t, a) < Mn(i, l) || Mn(t, a) > jn(i, l))) {
16006
16009
  var c = (e * a - t * n) * (o - r) - (e - n) * (o * l - i * r), s = (e * a - t * n) * (i - l) - (t - a) * (o * l - i * r), d = (e - n) * (i - l) - (t - a) * (o - r);
16007
16010
  if (d) {
@@ -16017,8 +16020,8 @@ function ow(e, t, n, a, o, i, r, l) {
16017
16020
  function Ei(e) {
16018
16021
  return Math.round(e * 1e11) / 1e11;
16019
16022
  }
16020
- function iw(e, t, n) {
16021
- if (!aw(fs(e), fs(t))) return n ? 0 : [];
16023
+ function ow(e, t, n) {
16024
+ if (!nw(fs(e), fs(t))) return n ? 0 : [];
16022
16025
  var a = ps(...e), o = ps(...t), i = gs(e) ? 1 : ~~(a / 5) || 1, r = gs(t) ? 1 : ~~(o / 5) || 1, l = new Array(i + 1), c = new Array(r + 1), s = {}, d = n ? 0 : [], f, u;
16023
16026
  for (f = 0; f < i + 1; f++) {
16024
16027
  var h = ds(...e, f / i);
@@ -16035,7 +16038,7 @@ function iw(e, t, n) {
16035
16038
  t: f / r
16036
16039
  };
16037
16040
  for (f = 0; f < i; f++) for (u = 0; u < r; u++) {
16038
- var p = l[f], g = l[f + 1], b = c[u], x = c[u + 1], m = ea(g.x - p.x) < 0.01 ? "y" : "x", v = ea(x.x - b.x) < 0.01 ? "y" : "x", w = ow(p.x, p.y, g.x, g.y, b.x, b.y, x.x, x.y), C;
16041
+ var p = l[f], g = l[f + 1], b = c[u], x = c[u + 1], m = ea(g.x - p.x) < 0.01 ? "y" : "x", v = ea(x.x - b.x) < 0.01 ? "y" : "x", w = aw(p.x, p.y, g.x, g.y, b.x, b.y, x.x, x.y), C;
16039
16042
  if (w) {
16040
16043
  if (C = w.x.toFixed(9) + "#" + w.y.toFixed(9), s[C]) continue;
16041
16044
  s[C] = !0;
@@ -16090,7 +16093,7 @@ function iu(e, t, n) {
16090
16093
  s,
16091
16094
  d
16092
16095
  ], i = s, r = d);
16093
- var w = iw(f, u, n);
16096
+ var w = ow(f, u, n);
16094
16097
  if (n) h += w;
16095
16098
  else {
16096
16099
  for (var C = 0, y = w.length; C < y; C++)
@@ -16103,11 +16106,11 @@ function iu(e, t, n) {
16103
16106
  }
16104
16107
  return h;
16105
16108
  }
16106
- function rw(e) {
16109
+ function iw(e) {
16107
16110
  return us(e) && us(e[0]);
16108
16111
  }
16109
- function lw(e) {
16110
- if (ew(e)) return e;
16112
+ function rw(e) {
16113
+ if (Q0(e)) return e;
16111
16114
  var t = new Array(e.length), n = 0, a = 0, o = 0, i = 0, r = 0, l;
16112
16115
  e[0][0] == "M" && (n = +e[0][1], a = +e[0][2], o = n, i = a, r++, t[0] = [
16113
16116
  "M",
@@ -16175,7 +16178,7 @@ function vs(e, t, n, a, o, i) {
16175
16178
  ];
16176
16179
  }
16177
16180
  function ru(e, t, n, a, o, i, r, l, c, s) {
16178
- var d = Gn * 120 / 180, f = Gn / 180 * (+o || 0), u = [], h, p = Z0(function(me, Ve, Ye) {
16181
+ var d = Gn * 120 / 180, f = Gn / 180 * (+o || 0), u = [], h, p = X0(function(me, Ve, Ye) {
16179
16182
  return {
16180
16183
  x: me * At.cos(Ye) - Ve * At.sin(Ye),
16181
16184
  y: me * At.sin(Ye) + Ve * At.cos(Ye)
@@ -16215,7 +16218,7 @@ function ru(e, t, n, a, o, i, r, l, c, s) {
16215
16218
  for (var M = [], ue = 0, Te = u.length; ue < Te; ue++) M[ue] = ue % 2 ? p(u[ue - 1], u[ue], f).y : p(u[ue], u[ue + 1], f).x;
16216
16219
  return M;
16217
16220
  }
16218
- function sw(e, t, n, a, o, i, r, l) {
16221
+ function lw(e, t, n, a, o, i, r, l) {
16219
16222
  for (var c = [], s = [[], []], d, f, u, h, p, g, b, x, m = 0; m < 2; ++m) {
16220
16223
  if (m == 0 ? (f = 6 * e - 12 * n + 6 * o, d = -3 * e + 9 * n - 9 * o + 3 * r, u = 3 * n - 3 * e) : (f = 6 * t - 12 * a + 6 * i, d = -3 * t + 9 * a - 9 * i + 3 * l, u = 3 * a - 3 * t), ea(d) < 1e-12) {
16221
16224
  if (ea(f) < 1e-12) continue;
@@ -16234,8 +16237,8 @@ function sw(e, t, n, a, o, i, r, l) {
16234
16237
  };
16235
16238
  }
16236
16239
  function ys(e) {
16237
- if (rw(e) || (e = Q0(e)), tw(e)) return e;
16238
- for (var t = nw(lw(e)), n = {
16240
+ if (iw(e) || (e = Z0(e)), ew(e)) return e;
16241
+ for (var t = tw(rw(e)), n = {
16239
16242
  x: 0,
16240
16243
  y: 0,
16241
16244
  bx: 0,
@@ -16307,7 +16310,7 @@ function ys(e) {
16307
16310
  }
16308
16311
  return t;
16309
16312
  }
16310
- function cw(e) {
16313
+ function sw(e) {
16311
16314
  return {
16312
16315
  x: Math.round(e.x),
16313
16316
  y: Math.round(e.y),
@@ -16337,17 +16340,17 @@ function lu(e) {
16337
16340
  height: e.bottom - e.top
16338
16341
  };
16339
16342
  }
16340
- function uw(e) {
16343
+ function cw(e) {
16341
16344
  return ko({
16342
16345
  x: e.x + (e.width || 0) / 2,
16343
16346
  y: e.y + (e.height || 0) / 2
16344
16347
  });
16345
16348
  }
16346
- function dw(e) {
16349
+ function uw(e) {
16347
16350
  for (var t = e.waypoints, n = t.reduce(function(l, c, s) {
16348
16351
  var d = t[s - 1];
16349
16352
  if (d) {
16350
- var f = l[l.length - 1], u = f && f.endLength || 0, h = pw(d, c);
16353
+ var f = l[l.length - 1], u = f && f.endLength || 0, h = hw(d, c);
16351
16354
  l.push({
16352
16355
  start: d,
16353
16356
  end: c,
@@ -16367,7 +16370,7 @@ function dw(e) {
16367
16370
  };
16368
16371
  }
16369
16372
  function Rt(e) {
16370
- return en(e) ? dw(e) : uw(e);
16373
+ return en(e) ? uw(e) : cw(e);
16371
16374
  }
16372
16375
  function oa(e, t, n) {
16373
16376
  n = n || 0, dn(n) || (n = {
@@ -16378,22 +16381,22 @@ function oa(e, t, n) {
16378
16381
  return d && s ? s + "-" + d : d || s || "intersect";
16379
16382
  }
16380
16383
  function Er(e, t, n) {
16381
- var a = fw(e, t);
16384
+ var a = dw(e, t);
16382
16385
  return a.length === 1 || a.length === 2 && zo(a[0], a[1]) < 1 ? ko(a[0]) : a.length > 1 ? (a = Ao(a, function(o) {
16383
16386
  var i = Math.floor(o.t2 * 100) || 1;
16384
16387
  return i = 100 - i, i = (i < 10 ? "0" : "") + i, o.segment2 + "#" + i;
16385
16388
  }), ko(a[n ? 0 : a.length - 1])) : null;
16386
16389
  }
16387
- function fw(e, t) {
16390
+ function dw(e, t) {
16388
16391
  return iu(e, t);
16389
16392
  }
16390
- function hw(e) {
16393
+ function fw(e) {
16391
16394
  e = e.slice();
16392
16395
  for (var t = 0, n, a, o; e[t]; )
16393
16396
  n = e[t], a = e[t - 1], o = e[t + 1], zo(n, o) === 0 || nl(a, o, n) ? e.splice(t, 1) : t++;
16394
16397
  return e;
16395
16398
  }
16396
- function pw(e, t) {
16399
+ function hw(e, t) {
16397
16400
  return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
16398
16401
  }
16399
16402
  function su(e, t, n, a) {
@@ -16452,7 +16455,7 @@ function Tr(e) {
16452
16455
  var t = e.hover, n = e.source, a = e.target;
16453
16456
  return t && n && t === n && n !== a;
16454
16457
  }
16455
- var gw = 1100, vw = 900, ms = "connect-ok", bs = "connect-not-ok";
16458
+ var pw = 1100, gw = 900, ms = "connect-ok", bs = "connect-not-ok";
16456
16459
  function cu(e, t, n) {
16457
16460
  var a = e.get("connectionPreview", !1);
16458
16461
  a && t.on("connect.move", function(o) {
@@ -16466,10 +16469,10 @@ function cu(e, t, n) {
16466
16469
  connectionStart: p,
16467
16470
  connectionEnd: g
16468
16471
  });
16469
- }), t.on("connect.hover", vw, function(o) {
16472
+ }), t.on("connect.hover", gw, function(o) {
16470
16473
  var i = o.context, r = o.hover, l = i.canExecute;
16471
16474
  l !== null && n.addMarker(r, l ? ms : bs);
16472
- }), t.on(["connect.out", "connect.cleanup"], gw, function(o) {
16475
+ }), t.on(["connect.out", "connect.cleanup"], pw, function(o) {
16473
16476
  var i = o.hover;
16474
16477
  i && (n.removeMarker(i, ms), n.removeMarker(i, bs));
16475
16478
  }), a && t.on("connect.cleanup", function(o) {
@@ -16490,7 +16493,7 @@ var ol = {
16490
16493
  __init__: ["connectPreview"],
16491
16494
  connect: ["type", su],
16492
16495
  connectPreview: ["type", cu]
16493
- }, yw = 15;
16496
+ }, vw = 15;
16494
16497
  function uu(e, t) {
16495
16498
  var n;
16496
16499
  function a(l) {
@@ -16501,7 +16504,7 @@ function uu(e, t) {
16501
16504
  });
16502
16505
  function o(l) {
16503
16506
  var c = n.start, s = n.button, d = Ka(l), f = Ya(d, c);
16504
- !n.dragging && mw(f) > yw && (n.dragging = !0, s === 0 && qc(e), Zr("grab")), n.dragging && (f = Ya(d, n.last || n.start), t.scroll({
16507
+ !n.dragging && yw(f) > vw && (n.dragging = !0, s === 0 && qc(e), Zr("grab")), n.dragging && (f = Ya(d, n.last || n.start), t.scroll({
16505
16508
  dx: f.x,
16506
16509
  dy: f.y
16507
16510
  }), n.last = d), l.preventDefault();
@@ -16524,7 +16527,7 @@ function uu(e, t) {
16524
16527
  };
16525
16528
  }
16526
16529
  uu.$inject = ["eventBus", "canvas"];
16527
- function mw(e) {
16530
+ function yw(e) {
16528
16531
  return Math.sqrt(Math.pow(e.x, 2) + Math.pow(e.y, 2));
16529
16532
  }
16530
16533
  var du = {
@@ -16538,17 +16541,17 @@ function fu(e, t) {
16538
16541
  var n = Ar(e.min), a = Ar(e.max);
16539
16542
  return (Math.abs(n) + Math.abs(a)) / t;
16540
16543
  }
16541
- function bw(e, t) {
16544
+ function mw(e, t) {
16542
16545
  return Math.max(e.min, Math.min(e.max, t));
16543
16546
  }
16544
- var ww = Math.sign || function(e) {
16547
+ var bw = Math.sign || function(e) {
16545
16548
  return e >= 0 ? 1 : -1;
16546
16549
  }, il = {
16547
16550
  min: 0.2,
16548
16551
  max: 4
16549
- }, hu = 10, _w = 0.1, xw = 0.75;
16552
+ }, hu = 10, ww = 0.1, _w = 0.75;
16550
16553
  function In(e, t, n) {
16551
- e = e || {}, this._enabled = !1, this._canvas = n, this._container = n._container, this._handleWheel = Dr(this._handleWheel, this), this._totalDelta = 0, this._scale = e.scale || xw;
16554
+ e = e || {}, this._enabled = !1, this._canvas = n, this._container = n._container, this._handleWheel = Dr(this._handleWheel, this), this._totalDelta = 0, this._scale = e.scale || _w;
16552
16555
  var a = this;
16553
16556
  t.on("canvas.mouseover", function() {
16554
16557
  a._init(e.enabled !== !1);
@@ -16569,7 +16572,7 @@ In.prototype.reset = function() {
16569
16572
  };
16570
16573
  In.prototype.zoom = function(t, n) {
16571
16574
  var a = fu(il, hu * 2);
16572
- this._totalDelta += t, Math.abs(this._totalDelta) > _w && (this._zoom(t, n, a), this._totalDelta = 0);
16575
+ this._totalDelta += t, Math.abs(this._totalDelta) > ww && (this._zoom(t, n, a), this._totalDelta = 0);
16573
16576
  };
16574
16577
  In.prototype._handleWheel = function(t) {
16575
16578
  if (this._enabled) {
@@ -16581,7 +16584,7 @@ In.prototype._handleWheel = function(t) {
16581
16584
  x: t.clientX - l.left,
16582
16585
  y: t.clientY - l.top
16583
16586
  };
16584
- r = Math.sqrt(Math.pow(t.deltaY, 2) + Math.pow(t.deltaX, 2)) * ww(t.deltaY) * i, this.zoom(r, c);
16587
+ r = Math.sqrt(Math.pow(t.deltaY, 2) + Math.pow(t.deltaX, 2)) * bw(t.deltaY) * i, this.zoom(r, c);
16585
16588
  } else
16586
16589
  o ? r = {
16587
16590
  dx: i * t.deltaY,
@@ -16600,7 +16603,7 @@ In.prototype._zoom = function(e, t, n) {
16600
16603
  var a = this._canvas, o = e > 0 ? 1 : -1, i = Ar(a.zoom()), r = Math.round(i / n) * n;
16601
16604
  r += n * o;
16602
16605
  var l = Math.pow(10, r);
16603
- a.zoom(bw(il, l), t);
16606
+ a.zoom(mw(il, l), t);
16604
16607
  };
16605
16608
  In.prototype.toggle = function(t) {
16606
16609
  var n = this._container, a = this._handleWheel, o = this._enabled;
@@ -16745,7 +16748,7 @@ mt.prototype._setHandler = function(e, t) {
16745
16748
  if (this._handlerMap[e]) throw new Error("overriding handler for command <" + e + ">");
16746
16749
  this._handlerMap[e] = t;
16747
16750
  };
16748
- var Cw = { commandStack: ["type", mt] };
16751
+ var xw = { commandStack: ["type", mt] };
16749
16752
  function Ba(e, t) {
16750
16753
  t && (e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: {
16751
16754
  value: e,
@@ -16781,18 +16784,18 @@ function Ja(e, t) {
16781
16784
  return e;
16782
16785
  }
16783
16786
  }
16784
- var Sw = 1e3;
16787
+ var Cw = 1e3;
16785
16788
  function Gt(e) {
16786
16789
  this._eventBus = e;
16787
16790
  }
16788
16791
  Gt.$inject = ["eventBus"];
16789
- function kw(e, t) {
16792
+ function Sw(e, t) {
16790
16793
  return function(n) {
16791
16794
  return e.call(t || null, n.context, n.command, n);
16792
16795
  };
16793
16796
  }
16794
16797
  Gt.prototype.on = function(e, t, n, a, o, i) {
16795
- if ((Bn(t) || It(t)) && (i = o, o = a, a = n, n = t, t = null), Bn(n) && (i = o, o = a, a = n, n = Sw), dn(o) && (i = o, o = !1), !Bn(a)) throw new Error("handlerFn must be a function");
16798
+ if ((Bn(t) || It(t)) && (i = o, o = a, a = n, n = t, t = null), Bn(n) && (i = o, o = a, a = n, n = Cw), dn(o) && (i = o, o = !1), !Bn(a)) throw new Error("handlerFn must be a function");
16796
16799
  st(e) || (e = [e]);
16797
16800
  var r = this._eventBus;
16798
16801
  de(e, function(l) {
@@ -16803,7 +16806,7 @@ Gt.prototype.on = function(e, t, n, a, o, i) {
16803
16806
  ].filter(function(s) {
16804
16807
  return s;
16805
16808
  }).join(".");
16806
- r.on(c, n, o ? kw(a, i) : a, i);
16809
+ r.on(c, n, o ? Sw(a, i) : a, i);
16807
16810
  });
16808
16811
  };
16809
16812
  Gt.prototype.canExecute = Wn("canExecute");
@@ -16820,14 +16823,14 @@ function Wn(e) {
16820
16823
  (Bn(n) || It(n)) && (r = i, i = o, o = a, a = n, n = null), this.on(n, e, a, o, i, r);
16821
16824
  };
16822
16825
  }
16823
- var Rw = 250, ws = 1400;
16826
+ var kw = 250, ws = 1400;
16824
16827
  function ll(e, t, n) {
16825
16828
  Gt.call(this, t);
16826
16829
  var a = e.get("movePreview", !1);
16827
16830
  t.on("shape.move.start", ws, function(o) {
16828
16831
  var i = o.context, r = i.shapes, l = i.validatedShapes;
16829
16832
  i.shapes = _s(r), i.validatedShapes = _s(l);
16830
- }), a && t.on("shape.move.start", Rw, function(o) {
16833
+ }), a && t.on("shape.move.start", kw, function(o) {
16831
16834
  var i = o.context, r = i.shapes, l = [];
16832
16835
  de(r, function(c) {
16833
16836
  de(c.labels, function(s) {
@@ -16867,7 +16870,7 @@ function _s(e) {
16867
16870
  return e.indexOf(t.labelTarget) === -1;
16868
16871
  });
16869
16872
  }
16870
- var Ew = {
16873
+ var Rw = {
16871
16874
  __init__: ["labelSupport"],
16872
16875
  labelSupport: ["type", ll]
16873
16876
  };
@@ -16886,7 +16889,7 @@ function vu(e, t) {
16886
16889
  }
16887
16890
  return e;
16888
16891
  }
16889
- function Tw(e, t, n, a) {
16892
+ function Ew(e, t, n, a) {
16890
16893
  var o = n.inverse;
16891
16894
  return Object.defineProperty(e, "remove", { value: function(i) {
16892
16895
  var r = this.indexOf(i);
@@ -16902,14 +16905,14 @@ function Tw(e, t, n, a) {
16902
16905
  l !== -1 && this.splice(l, 1), this.splice(r, 0, i), l === -1 && t.set(i, o, a);
16903
16906
  } }), Object.defineProperty(e, "__refs_collection", { value: !0 }), e;
16904
16907
  }
16905
- function Aw(e) {
16908
+ function Tw(e) {
16906
16909
  return e.__refs_collection === !0;
16907
16910
  }
16908
- function Mw(e, t) {
16911
+ function Aw(e, t) {
16909
16912
  return Object.prototype.hasOwnProperty.call(e, t.name || t);
16910
16913
  }
16911
16914
  function yu(e, t, n) {
16912
- var a = Tw(n[t.name] || [], e, t, n);
16915
+ var a = Ew(n[t.name] || [], e, t, n);
16913
16916
  Object.defineProperty(n, t.name, {
16914
16917
  enumerable: t.enumerable,
16915
16918
  value: a
@@ -16917,7 +16920,7 @@ function yu(e, t, n) {
16917
16920
  e.set(o, t.inverse, n);
16918
16921
  });
16919
16922
  }
16920
- function jw(e, t, n) {
16923
+ function Mw(e, t, n) {
16921
16924
  var a = t.inverse, o = n[t.name];
16922
16925
  Object.defineProperty(n, t.name, {
16923
16926
  configurable: t.configurable,
@@ -16942,14 +16945,14 @@ hn.prototype.bind = function(e, t) {
16942
16945
  if (!this.props[t]) throw new Error("no property <" + t + "> in ref");
16943
16946
  t = this.props[t];
16944
16947
  }
16945
- t.collection ? yu(this, t, e) : jw(this, t, e);
16948
+ t.collection ? yu(this, t, e) : Mw(this, t, e);
16946
16949
  };
16947
16950
  hn.prototype.ensureRefsCollection = function(e, t) {
16948
16951
  var n = e[t.name];
16949
- return Aw(n) || yu(this, t, e), n;
16952
+ return Tw(n) || yu(this, t, e), n;
16950
16953
  };
16951
16954
  hn.prototype.ensureBound = function(e, t) {
16952
- Mw(e, t) || this.bind(e, t);
16955
+ Aw(e, t) || this.bind(e, t);
16953
16956
  };
16954
16957
  hn.prototype.unset = function(e, t, n) {
16955
16958
  e && (this.ensureBound(e, t), t.collection ? this.ensureRefsCollection(e, t).remove(n) : e[t.name] = void 0);
@@ -17002,18 +17005,18 @@ function Cu() {
17002
17005
  no.call(this), bu.bind(this, "source"), wu.bind(this, "target");
17003
17006
  }
17004
17007
  Ba(Cu, no);
17005
- var Pw = {
17008
+ var jw = {
17006
17009
  connection: Cu,
17007
17010
  shape: Lo,
17008
17011
  label: xu,
17009
17012
  root: _u
17010
17013
  };
17011
- function Bw(e, t) {
17012
- var n = Pw[e];
17014
+ function Pw(e, t) {
17015
+ var n = jw[e];
17013
17016
  if (!n) throw new Error("unknown type: <" + e + ">");
17014
17017
  return Fe(new n(), t);
17015
17018
  }
17016
- function Hw(e) {
17019
+ function Bw(e) {
17017
17020
  return e instanceof no;
17018
17021
  }
17019
17022
  function sa() {
@@ -17032,9 +17035,9 @@ sa.prototype.createConnection = function(e) {
17032
17035
  return this.create("connection", e);
17033
17036
  };
17034
17037
  sa.prototype.create = function(e, t) {
17035
- return t = Fe({}, t || {}), t.id || (t.id = e + "_" + this._uid++), Bw(e, t);
17038
+ return t = Fe({}, t || {}), t.id || (t.id = e + "_" + this._uid++), Pw(e, t);
17036
17039
  };
17037
- var Ow = {
17040
+ var Hw = {
17038
17041
  width: 90,
17039
17042
  height: 20
17040
17043
  };
@@ -17045,7 +17048,7 @@ Aa(Ha, sa);
17045
17048
  Ha.$inject = [];
17046
17049
  Ha.prototype.baseCreate = sa.prototype.create;
17047
17050
  Ha.prototype.create = function(e, t) {
17048
- return e === "label" ? this.baseCreate(e, xt({ type: "label" }, Ow, t)) : this.createFlowElement(e, t);
17051
+ return e === "label" ? this.baseCreate(e, xt({ type: "label" }, Hw, t)) : this.createFlowElement(e, t);
17049
17052
  };
17050
17053
  Ha.prototype.createFlowElement = function(e, t) {
17051
17054
  if (t == null || t === void 0 || t === "") return this.baseCreate(e, t);
@@ -17119,9 +17122,9 @@ Vi.prototype.preExecute = function(e) {
17119
17122
  };
17120
17123
  Vi.prototype.postExecute = function(e) {
17121
17124
  var t = e.hints || {};
17122
- Iw(e.source, e.shape) || (t.connectionTarget === e.source ? this._modeling.connect(e.shape, e.source, e.connection) : this._modeling.connect(e.source, e.shape, e.connection));
17125
+ Ow(e.source, e.shape) || (t.connectionTarget === e.source ? this._modeling.connect(e.shape, e.source, e.connection) : this._modeling.connect(e.source, e.shape, e.connection));
17123
17126
  };
17124
- function Iw(e, t) {
17127
+ function Ow(e, t) {
17125
17128
  return bf(e.outgoing, function(n) {
17126
17129
  return n.target === t;
17127
17130
  });
@@ -17164,7 +17167,7 @@ cl.prototype.preExecute = function(e) {
17164
17167
  y: li(d.y - l.y - l.height / 2 + o.y)
17165
17168
  });
17166
17169
  });
17167
- var c = H0(t), s = {};
17170
+ var c = B0(t), s = {};
17168
17171
  de(t, function(d) {
17169
17172
  if (en(d)) {
17170
17173
  s[d.id] = It(a) ? r.createConnection(s[d.source.id], s[d.target.id], a, d, d.parent || n, i) : r.createConnection(s[d.source.id], s[d.target.id], d, d.parent || n, i);
@@ -17207,16 +17210,16 @@ function Do(e) {
17207
17210
  }
17208
17211
  Ba(Do, ca);
17209
17212
  Do.$inject = ["canvas"];
17210
- var zw = ca.prototype.execute;
17213
+ var Iw = ca.prototype.execute;
17211
17214
  Do.prototype.execute = function(e) {
17212
17215
  var t = e.shape;
17213
- return Dw(t), t.labelTarget = e.labelTarget, zw.call(this, e);
17216
+ return Lw(t), t.labelTarget = e.labelTarget, Iw.call(this, e);
17214
17217
  };
17215
- var Lw = ca.prototype.revert;
17218
+ var zw = ca.prototype.revert;
17216
17219
  Do.prototype.revert = function(e) {
17217
- return e.shape.labelTarget = null, Lw.call(this, e);
17220
+ return e.shape.labelTarget = null, zw.call(this, e);
17218
17221
  };
17219
- function Dw(e) {
17222
+ function Lw(e) {
17220
17223
  ["width", "height"].forEach(function(t) {
17221
17224
  typeof e[t] > "u" && (e[t] = 0);
17222
17225
  });
@@ -17391,14 +17394,14 @@ function Ji(e) {
17391
17394
  return t;
17392
17395
  }
17393
17396
  function ku(e, t) {
17394
- return un(Ho(e, Fw), function(n) {
17395
- return $w(n, t);
17397
+ return un(Ho(e, $w), function(n) {
17398
+ return Dw(n, t);
17396
17399
  });
17397
17400
  }
17398
- function $w(e, t) {
17401
+ function Dw(e, t) {
17399
17402
  return oa(t, e, 1) === "intersect";
17400
17403
  }
17401
- function Fw(e) {
17404
+ function $w(e) {
17402
17405
  return e.original || e;
17403
17406
  }
17404
17407
  function vl() {
@@ -17408,7 +17411,7 @@ vl.prototype.add = function(e, t) {
17408
17411
  return this.addAll([e], t);
17409
17412
  };
17410
17413
  vl.prototype.addAll = function(e, t) {
17411
- var n = z0(e, !!t, this);
17414
+ var n = I0(e, !!t, this);
17412
17415
  return Fe(this, n), this;
17413
17416
  };
17414
17417
  function Vo(e) {
@@ -17598,7 +17601,7 @@ Wo.prototype.revert = function(e) {
17598
17601
  y: n.y
17599
17602
  }), t;
17600
17603
  };
17601
- function Vw(e, t) {
17604
+ function Fw(e, t) {
17602
17605
  var n = [];
17603
17606
  return de(e.concat(t), function(a) {
17604
17607
  var o = a.incoming, i = a.outgoing;
@@ -17611,7 +17614,7 @@ function Vw(e, t) {
17611
17614
  function ho(e, t) {
17612
17615
  return e.indexOf(t) !== -1;
17613
17616
  }
17614
- function Nw(e, t, n) {
17617
+ function Vw(e, t, n) {
17615
17618
  var a = e.x, o = e.y, i = e.width, r = e.height, l = n.x, c = n.y;
17616
17619
  switch (t) {
17617
17620
  case "n":
@@ -17653,8 +17656,8 @@ ua.$inject = ["modeling"];
17653
17656
  ua.prototype.preExecute = function(e) {
17654
17657
  var t = e.delta, n = e.direction, a = e.movingShapes, o = e.resizingShapes, i = e.start, r = {};
17655
17658
  this.moveShapes(a, t), de(o, function(l) {
17656
- r[l.id] = Uw(l);
17657
- }), this.resizeShapes(o, t, n), this.updateConnectionWaypoints(Vw(a, o), t, n, i, a, o, r);
17659
+ r[l.id] = Ww(l);
17660
+ }), this.resizeShapes(o, t, n), this.updateConnectionWaypoints(Fw(a, o), t, n, i, a, o, r);
17658
17661
  };
17659
17662
  ua.prototype.execute = function() {
17660
17663
  };
@@ -17673,7 +17676,7 @@ ua.prototype.moveShapes = function(e, t) {
17673
17676
  ua.prototype.resizeShapes = function(e, t, n) {
17674
17677
  var a = this;
17675
17678
  de(e, function(o) {
17676
- var i = Nw(o, n, t);
17679
+ var i = Vw(o, n, t);
17677
17680
  a._modeling.resizeShape(o, i, null, {
17678
17681
  attachSupport: !1,
17679
17682
  autoResize: !1,
@@ -17684,7 +17687,7 @@ ua.prototype.resizeShapes = function(e, t, n) {
17684
17687
  ua.prototype.updateConnectionWaypoints = function(e, t, n, a, o, i, r) {
17685
17688
  var l = this, c = o.concat(i);
17686
17689
  de(e, function(s) {
17687
- var d = s.source, f = s.target, u = Ww(s), h = Ru(n), p = {};
17690
+ var d = s.source, f = s.target, u = Nw(s), h = Ru(n), p = {};
17688
17691
  qn(c, d) && qn(c, f) ? (u = Ho(u, function(g) {
17689
17692
  return Es(g, a, n) && (g[h] = g[h] + t[h]), g.original && Es(g.original, a, n) && (g.original[h] = g.original[h] + t[h]), g;
17690
17693
  }), l._modeling.updateWaypoints(s, u, { labelBehavior: !1 })) : (qn(c, d) || qn(c, f)) && (qn(o, d) ? p.connectionStart = pl(s, d, t) : qn(o, f) ? p.connectionEnd = gl(s, f, t) : qn(i, d) ? p.connectionStart = fl(s, d, r[d.id]) : qn(i, f) && (p.connectionEnd = hl(s, f, r[f.id])), l._modeling.layoutConnection(s, p));
@@ -17693,7 +17696,7 @@ ua.prototype.updateConnectionWaypoints = function(e, t, n, a, o, i, r) {
17693
17696
  function Rs(e) {
17694
17697
  return Fe({}, e);
17695
17698
  }
17696
- function Ww(e) {
17699
+ function Nw(e) {
17697
17700
  return Ho(e.waypoints, function(t) {
17698
17701
  return t = Rs(t), t.original && (t.original = Rs(t.original)), t;
17699
17702
  });
@@ -17718,7 +17721,7 @@ function Es(e, t, n) {
17718
17721
  function qn(e, t) {
17719
17722
  return e.indexOf(t) !== -1;
17720
17723
  }
17721
- function Uw(e) {
17724
+ function Ww(e) {
17722
17725
  return {
17723
17726
  x: e.x,
17724
17727
  y: e.y,
@@ -18028,7 +18031,7 @@ ot.prototype.connect = function(e, t, n, a) {
18028
18031
  return this.createConnection(e, t, n || {}, e.parent, a);
18029
18032
  };
18030
18033
  ot.prototype._create = function(e, t) {
18031
- return Hw(t) ? t : this._elementFactory.create(e, t);
18034
+ return Bw(t) ? t : this._elementFactory.create(e, t);
18032
18035
  };
18033
18036
  ot.prototype.toggleCollapse = function(e, t) {
18034
18037
  var n = {
@@ -18045,7 +18048,7 @@ function ml(e, t) {
18045
18048
  const n = e.type || e.businessObject && e.businessObject.type;
18046
18049
  return t.includes(n);
18047
18050
  }
18048
- function Yw(e, t) {
18051
+ function Uw(e, t) {
18049
18052
  Array.isArray(e) && e.forEach(t);
18050
18053
  }
18051
18054
  function Ti(e) {
@@ -18053,11 +18056,11 @@ function Ti(e) {
18053
18056
  if (t)
18054
18057
  return t.name || "";
18055
18058
  }
18056
- function Jw(e, t) {
18059
+ function Yw(e, t) {
18057
18060
  const n = e.businessObject;
18058
18061
  return n.name = t, e;
18059
18062
  }
18060
- var Gw = {
18063
+ var Jw = {
18061
18064
  width: 90,
18062
18065
  height: 20
18063
18066
  };
@@ -18075,15 +18078,15 @@ function bl(e) {
18075
18078
  function Pu(e) {
18076
18079
  return Ro(e.label);
18077
18080
  }
18078
- function Kw(e) {
18079
- const t = e.length / 2 - 1, n = e[Math.floor(t)], a = e[Math.ceil(t + 0.01)], o = qw(e), i = Math.atan((a.y - n.y) / (a.x - n.x));
18081
+ function Gw(e) {
18082
+ const t = e.length / 2 - 1, n = e[Math.floor(t)], a = e[Math.ceil(t + 0.01)], o = Kw(e), i = Math.atan((a.y - n.y) / (a.x - n.x));
18080
18083
  let { x: r, y: l } = o;
18081
18084
  return Math.abs(i) < Math.PI / 2 ? l -= 15 : r += 15, {
18082
18085
  x: r,
18083
18086
  y: l
18084
18087
  };
18085
18088
  }
18086
- function qw(e) {
18089
+ function Kw(e) {
18087
18090
  const t = e.length / 2 - 1, n = e[Math.floor(t)], a = e[Math.ceil(t + 0.01)];
18088
18091
  return {
18089
18092
  x: n.x + (a.x - n.x) / 2,
@@ -18091,22 +18094,22 @@ function qw(e) {
18091
18094
  };
18092
18095
  }
18093
18096
  function Bu(e) {
18094
- return e.waypoints ? Kw(e.waypoints) : {
18097
+ return e.waypoints ? Gw(e.waypoints) : {
18095
18098
  x: e.x + e.width / 2,
18096
- y: e.y + e.height + Gw.height / 2
18099
+ y: e.y + e.height + Jw.height / 2
18097
18100
  };
18098
18101
  }
18099
18102
  function Ro(e) {
18100
18103
  return e && !!e.labelTarget;
18101
18104
  }
18102
- var Xw = {
18105
+ var qw = {
18103
18106
  width: 0,
18104
18107
  height: 0
18105
18108
  };
18106
18109
  function Hu(e, t) {
18107
18110
  function n(l, c) {
18108
18111
  const s = l.label || l, d = l.labelTarget || l;
18109
- return Jw(s, c, d !== s), [s, d];
18112
+ return Yw(s, c, d !== s), [s, d];
18110
18113
  }
18111
18114
  function a(l) {
18112
18115
  const { element: c, newLabel: s } = l, { businessObject: d } = c;
@@ -18136,7 +18139,7 @@ function Hu(e, t) {
18136
18139
  return;
18137
18140
  }
18138
18141
  const h = Ti(d);
18139
- typeof u > "u" && (u = t.getExternalLabelBounds(d, h)), u && e.resizeShape(d, u, Xw);
18142
+ typeof u > "u" && (u = t.getExternalLabelBounds(d, h)), u && e.resizeShape(d, u, qw);
18140
18143
  }
18141
18144
  this.preExecute = a, this.execute = o, this.revert = i, this.postExecute = r;
18142
18145
  }
@@ -18181,13 +18184,13 @@ function Ou() {
18181
18184
  Ou.prototype.layoutConnection = function(e, t) {
18182
18185
  return t = t || {}, [t.connectionStart || Rt(t.source || e.source), t.connectionEnd || Rt(t.target || e.target)];
18183
18186
  };
18184
- var si = 20, Zw = 5, Ai = Math.round, Ms = 20, Qw = {
18187
+ var si = 20, Xw = 5, Ai = Math.round, Ms = 20, Zw = {
18185
18188
  "h:h": 20,
18186
18189
  "v:v": 20,
18187
18190
  "h:v": -10,
18188
18191
  "v:h": -10
18189
18192
  };
18190
- function e_(e, t) {
18193
+ function Qw(e, t) {
18191
18194
  return !{
18192
18195
  t: /top/,
18193
18196
  r: /right/,
@@ -18197,7 +18200,7 @@ function e_(e, t) {
18197
18200
  v: /./
18198
18201
  }[t].test(e);
18199
18202
  }
18200
- function t_(e, t) {
18203
+ function e_(e, t) {
18201
18204
  return {
18202
18205
  t: /top/,
18203
18206
  r: /right/,
@@ -18208,14 +18211,14 @@ function t_(e, t) {
18208
18211
  }[e].test(t);
18209
18212
  }
18210
18213
  function Iu(e, t, n) {
18211
- var a = oa(t, e, Zw), o = n.split(":")[0], i = Ai((t.x - e.x) / 2 + e.x), r = Ai((t.y - e.y) / 2 + e.y), l, c, s = t_(o, a), d = /h|r|l/.test(o), f = !1, u = !1;
18214
+ var a = oa(t, e, Xw), o = n.split(":")[0], i = Ai((t.x - e.x) / 2 + e.x), r = Ai((t.y - e.y) / 2 + e.y), l, c, s = e_(o, a), d = /h|r|l/.test(o), f = !1, u = !1;
18212
18215
  return s ? (l = d ? {
18213
18216
  x: i,
18214
18217
  y: e.y
18215
18218
  } : {
18216
18219
  x: e.x,
18217
18220
  y: r
18218
- }, c = d ? "h:h" : "v:v") : (f = e_(a, o), c = d ? "h:v" : "v:h", f ? d ? (u = r === e.y, l = {
18221
+ }, c = d ? "h:h" : "v:v") : (f = Qw(a, o), c = d ? "h:v" : "v:h", f ? d ? (u = r === e.y, l = {
18219
18222
  x: e.x + si * (/l/.test(o) ? -1 : 1),
18220
18223
  y: u ? r + si : r
18221
18224
  }) : (u = i === e.x, l = {
@@ -18230,10 +18233,10 @@ function Iu(e, t, n) {
18230
18233
  turnNextDirections: u
18231
18234
  };
18232
18235
  }
18233
- function n_(e, t, n) {
18236
+ function t_(e, t, n) {
18234
18237
  return Iu(e, t, n);
18235
18238
  }
18236
- function a_(e, t, n) {
18239
+ function n_(e, t, n) {
18237
18240
  var a = Iu(t, e, js(n));
18238
18241
  return {
18239
18242
  waypoints: a.waypoints.slice().reverse(),
@@ -18241,7 +18244,7 @@ function a_(e, t, n) {
18241
18244
  turnNextDirections: a.turnNextDirections
18242
18245
  };
18243
18246
  }
18244
- function o_(e, t) {
18247
+ function a_(e, t) {
18245
18248
  var n = e.directions.split(":")[1], a = t.directions.split(":")[0];
18246
18249
  e.turnNextDirections && (n = n == "h" ? "v" : "h"), t.turnNextDirections && (a = a == "h" ? "v" : "h");
18247
18250
  var o = n + ":" + a;
@@ -18253,7 +18256,7 @@ function o_(e, t) {
18253
18256
  function js(e) {
18254
18257
  return e.split(":").reverse().join(":");
18255
18258
  }
18256
- function i_(e, t, n) {
18259
+ function o_(e, t, n) {
18257
18260
  var a = Ai((t.x - e.x) / 2 + e.x), o = Ai((t.y - e.y) / 2 + e.y);
18258
18261
  if (n === "h:v") return [{
18259
18262
  x: t.x,
@@ -18280,38 +18283,38 @@ function i_(e, t, n) {
18280
18283
  throw new Error("invalid directions: can only handle varians of [hv]:[hv]");
18281
18284
  }
18282
18285
  function _l(e, t, n) {
18283
- if (n = n || "h:h", !p_(n)) throw new Error("unknown directions: <" + n + ">: must be specified as <start>:<end> with start/end in { h,v,t,r,b,l }");
18286
+ if (n = n || "h:h", !h_(n)) throw new Error("unknown directions: <" + n + ">: must be specified as <start>:<end> with start/end in { h,v,t,r,b,l }");
18284
18287
  if (zu(n)) {
18285
- var a = n_(e, t, n), o = a_(e, t, n), i = o_(a, o);
18288
+ var a = t_(e, t, n), o = n_(e, t, n), i = a_(a, o);
18286
18289
  return [].concat(a.waypoints, i.waypoints, o.waypoints);
18287
18290
  }
18288
- return i_(e, t, n);
18291
+ return o_(e, t, n);
18289
18292
  }
18290
- function r_(e, t, n) {
18293
+ function i_(e, t, n) {
18291
18294
  var a = _l(e, t, n);
18292
18295
  return a.unshift(e), a.push(t), Lu(a);
18293
18296
  }
18294
- function l_(e, t, n, a, o) {
18295
- var i = _f(o && o.preferredLayouts || [], "straight")[0] || "h:h", r = oa(e, t, Qw[i] || 0), l = h_(r, i);
18297
+ function r_(e, t, n, a, o) {
18298
+ var i = _f(o && o.preferredLayouts || [], "straight")[0] || "h:h", r = oa(e, t, Zw[i] || 0), l = f_(r, i);
18296
18299
  n = n || Rt(e), a = a || Rt(t);
18297
18300
  var c = l.split(":");
18298
- return r_(Bs(n, e, c[0], g_(r)), Bs(a, t, c[1], r), l);
18301
+ return i_(Bs(n, e, c[0], p_(r)), Bs(a, t, c[1], r), l);
18299
18302
  }
18300
- function s_(e, t, n, a, o, i) {
18303
+ function l_(e, t, n, a, o, i) {
18301
18304
  st(n) && (o = n, i = a, n = Rt(e), a = Rt(t)), i = Fe({ preferredLayouts: [] }, i), o = o || [];
18302
- var r = i.preferredLayouts.indexOf("straight") !== -1 && u_(e, t, n, a, i);
18303
- return r || (r = i.connectionEnd && f_(t, e, a, o), r) || (r = i.connectionStart && d_(e, t, n, o), r) ? r : !i.connectionStart && !i.connectionEnd && o && o.length ? o : l_(e, t, n, a, i);
18305
+ var r = i.preferredLayouts.indexOf("straight") !== -1 && c_(e, t, n, a, i);
18306
+ return r || (r = i.connectionEnd && d_(t, e, a, o), r) || (r = i.connectionStart && u_(e, t, n, o), r) ? r : !i.connectionStart && !i.connectionEnd && o && o.length ? o : r_(e, t, n, a, i);
18304
18307
  }
18305
- function c_(e, t, n) {
18308
+ function s_(e, t, n) {
18306
18309
  return e >= t && e <= n;
18307
18310
  }
18308
18311
  function Ps(e, t, n) {
18309
- return c_(t[e], n[e], n[e] + n[{
18312
+ return s_(t[e], n[e], n[e] + n[{
18310
18313
  x: "width",
18311
18314
  y: "height"
18312
18315
  }[e]]);
18313
18316
  }
18314
- function u_(e, t, n, a, o) {
18317
+ function c_(e, t, n, a, o) {
18315
18318
  var i = {}, r, l = oa(e, t);
18316
18319
  return /^(top|bottom|left|right)$/.test(l) ? (/top|bottom/.test(l) && (r = "x"), /left|right/.test(l) && (r = "y"), o.preserveDocking === "target" ? Ps(r, a, e) ? (i[r] = a[r], [{
18317
18320
  x: i.x !== void 0 ? i.x : n.x,
@@ -18335,10 +18338,10 @@ function u_(e, t, n, a, o) {
18335
18338
  }
18336
18339
  }]) : null) : null;
18337
18340
  }
18338
- function d_(e, t, n, a) {
18341
+ function u_(e, t, n, a) {
18339
18342
  return xl(e, t, n, a);
18340
18343
  }
18341
- function f_(e, t, n, a) {
18344
+ function d_(e, t, n, a) {
18342
18345
  var o = a.slice().reverse();
18343
18346
  return o = xl(e, t, n, o), o ? o.reverse() : null;
18344
18347
  }
@@ -18376,7 +18379,7 @@ function xl(e, t, n, a) {
18376
18379
  var l = a[0], c = a.slice(), s;
18377
18380
  return c[0] = n, c[1] = i(c[1], l, n), s = r(c, e, t), s !== c && (c = xl(e, t, n, s)), c && Qn(c) ? null : c;
18378
18381
  }
18379
- function h_(e, t) {
18382
+ function f_(e, t) {
18380
18383
  if (zu(t)) return t;
18381
18384
  switch (e) {
18382
18385
  case "intersect":
@@ -18391,13 +18394,13 @@ function h_(e, t) {
18391
18394
  return t;
18392
18395
  }
18393
18396
  }
18394
- function p_(e) {
18397
+ function h_(e) {
18395
18398
  return e && /^h|v|t|r|b|l:h|v|t|r|b|l$/.test(e);
18396
18399
  }
18397
18400
  function zu(e) {
18398
18401
  return e && /t|r|b|l/.test(e);
18399
18402
  }
18400
- function g_(e) {
18403
+ function p_(e) {
18401
18404
  return {
18402
18405
  top: "bottom",
18403
18406
  bottom: "top",
@@ -18446,12 +18449,12 @@ Cl.prototype.layoutConnection = function(e, t) {
18446
18449
  t || (t = {});
18447
18450
  const n = t.source || e.source, a = t.target || e.target, o = t.waypoints || e.waypoints;
18448
18451
  let { connectionStart: i, connectionEnd: r } = t, l, c;
18449
- return r === void 0 && (i = ci(o && o[0], n), r = ci(o && o[o.length - 1], a)), i || (i = ci(o && o[0], n)), r || (r = ci(o && o[o.length - 1], a)), _a(e, "myline") && (n === a ? l = { preferredLayouts: v_(n, e) } : _a(n, "gatewayAnd") || _a(n, "gatewayXor") || _a(n, "gatewayInclusive") ? l = { preferredLayouts: ["v:h"] } : _a(a, "gatewayAnd") || _a(a, "gatewayXor") || _a(a, "gatewayInclusive") ? l = { preferredLayouts: ["h:v"] } : l = { preferredLayouts: ["h:h"] }), l && (l = xt(l, t), c = Lu(s_(n, a, i, r, o, l))), c || [i, r];
18452
+ return r === void 0 && (i = ci(o && o[0], n), r = ci(o && o[o.length - 1], a)), i || (i = ci(o && o[0], n)), r || (r = ci(o && o[o.length - 1], a)), _a(e, "myline") && (n === a ? l = { preferredLayouts: g_(n, e) } : _a(n, "gatewayAnd") || _a(n, "gatewayXor") || _a(n, "gatewayInclusive") ? l = { preferredLayouts: ["v:h"] } : _a(a, "gatewayAnd") || _a(a, "gatewayXor") || _a(a, "gatewayInclusive") ? l = { preferredLayouts: ["h:v"] } : l = { preferredLayouts: ["h:h"] }), l && (l = xt(l, t), c = Lu(l_(n, a, i, r, o, l))), c || [i, r];
18450
18453
  };
18451
18454
  function ci(e, t) {
18452
18455
  return e ? e.original || e : Rt(t);
18453
18456
  }
18454
- function v_(e, t) {
18457
+ function g_(e, t) {
18455
18458
  const { waypoints: n } = t, a = n && n.length && oa(n[0], e);
18456
18459
  return a === "top" ? ["t:r"] : a === "right" ? ["r:b"] : a === "left" ? ["l:t"] : ["b:l"];
18457
18460
  }
@@ -18489,8 +18492,8 @@ da.prototype._getGfx = function(e) {
18489
18492
  };
18490
18493
  var Du = {
18491
18494
  __depends__: [
18492
- Cw,
18493
- Ew,
18495
+ xw,
18496
+ Rw,
18494
18497
  eo
18495
18498
  ],
18496
18499
  __init__: ["modeling", "elementUpdater"],
@@ -18499,10 +18502,10 @@ var Du = {
18499
18502
  elementUpdater: ["type", wl],
18500
18503
  elementFactory: ["type", Ha],
18501
18504
  connectionDocking: ["type", da]
18502
- }, y_ = 1e3;
18505
+ }, v_ = 1e3;
18503
18506
  function Ia(e, t) {
18504
18507
  var n = this;
18505
- t = t || y_, e.on(["render.shape", "render.connection"], t, function(a, o) {
18508
+ t = t || v_, e.on(["render.shape", "render.connection"], t, function(a, o) {
18506
18509
  var i = a.type, r = o.element, l = o.gfx, c = o.attrs;
18507
18510
  if (n.canRender(r)) return i === "render.shape" ? n.drawShape(l, r, c) : n.drawConnection(l, r, c);
18508
18511
  }), e.on(["render.getShapePath", "render.getConnectionPath"], t, function(a, o) {
@@ -18519,7 +18522,7 @@ Ia.prototype.getShapePath = function(e) {
18519
18522
  };
18520
18523
  Ia.prototype.getConnectionPath = function(e) {
18521
18524
  };
18522
- function m_(e) {
18525
+ function y_(e) {
18523
18526
  return e.businessObject;
18524
18527
  }
18525
18528
  function ui(e, t) {
@@ -18531,7 +18534,7 @@ function mn(e, t) {
18531
18534
  function kt(e, t) {
18532
18535
  return e.businessObject.strokeColor || t || "var(--j-color-text)";
18533
18536
  }
18534
- function b_(e) {
18537
+ function m_(e) {
18535
18538
  const t = e.x + e.width / 2, n = e.y + e.height / 2, a = e.width / 2;
18536
18539
  return Io([
18537
18540
  [
@@ -18567,7 +18570,7 @@ function b_(e) {
18567
18570
  ["z"]
18568
18571
  ]);
18569
18572
  }
18570
- function w_(e, t) {
18573
+ function b_(e, t) {
18571
18574
  const { x: n, y: a, width: o, height: i } = e;
18572
18575
  return Io([
18573
18576
  [
@@ -18638,7 +18641,7 @@ function w_(e, t) {
18638
18641
  ["z"]
18639
18642
  ]);
18640
18643
  }
18641
- function __(e) {
18644
+ function w_(e) {
18642
18645
  const { x: t, y: n, width: a, height: o } = e, i = a / 2, r = o / 2;
18643
18646
  return Io([
18644
18647
  [
@@ -18664,7 +18667,7 @@ function __(e) {
18664
18667
  ["z"]
18665
18668
  ]);
18666
18669
  }
18667
- function x_(e) {
18670
+ function __(e) {
18668
18671
  const { x: t, y: n, width: a, height: o } = e;
18669
18672
  return Io([
18670
18673
  [
@@ -18800,7 +18803,7 @@ function za(e, t, n, a, o, i, r) {
18800
18803
  return ht(q).add("djs-label"), qe(j, q), q;
18801
18804
  }
18802
18805
  function y(j, E, V) {
18803
- return C(j, m_(E).name, {
18806
+ return C(j, y_(E).name, {
18804
18807
  box: E,
18805
18808
  align: V,
18806
18809
  padding: 5,
@@ -18835,7 +18838,7 @@ function za(e, t, n, a, o, i, r) {
18835
18838
  compensation: -27,
18836
18839
  loop: 0,
18837
18840
  adhoc: 10
18838
- }, Yw(V, (ve) => {
18841
+ }, Uw(V, (ve) => {
18839
18842
  f(ve)(j, E, se);
18840
18843
  });
18841
18844
  }
@@ -19168,20 +19171,20 @@ za.prototype.drawConnection = function(e, t) {
19168
19171
  return a(e, t);
19169
19172
  };
19170
19173
  za.prototype.getShapePath = function(e) {
19171
- return Xn(e, "startEvent") || Xn(e, "endEvent") ? b_(e) : Xn(e, "userTask") || Xn(e, "scriptTask") || Xn(e, "subprocess") ? w_(e, Mr) : Xn(e, "gatewayAnd") || Xn(e, "gatewayXor") || Xn(e, "gatewayInclusive") ? __(e) : x_(e);
19174
+ return Xn(e, "startEvent") || Xn(e, "endEvent") ? m_(e) : Xn(e, "userTask") || Xn(e, "scriptTask") || Xn(e, "subprocess") ? b_(e, Mr) : Xn(e, "gatewayAnd") || Xn(e, "gatewayXor") || Xn(e, "gatewayInclusive") ? w_(e) : __(e);
19172
19175
  };
19173
- var C_ = 0, S_ = {
19176
+ var x_ = 0, C_ = {
19174
19177
  width: 150,
19175
19178
  height: 50
19176
19179
  };
19177
- function k_(e) {
19180
+ function S_(e) {
19178
19181
  var t = e.split("-");
19179
19182
  return {
19180
19183
  horizontal: t[0] || "center",
19181
19184
  vertical: t[1] || "top"
19182
19185
  };
19183
19186
  }
19184
- function R_(e) {
19187
+ function k_(e) {
19185
19188
  return dn(e) ? Fe({
19186
19189
  top: 0,
19187
19190
  left: 0,
@@ -19195,10 +19198,10 @@ function R_(e) {
19195
19198
  };
19196
19199
  }
19197
19200
  var sr = null;
19198
- function E_() {
19201
+ function R_() {
19199
19202
  return sr || (sr = document.createElement("canvas").getContext("2d")), sr;
19200
19203
  }
19201
- function T_(e) {
19204
+ function E_(e) {
19202
19205
  var t = [];
19203
19206
  return e.fontStyle && t.push(e.fontStyle), e.fontVariant && t.push(e.fontVariant), e.fontWeight && t.push(e.fontWeight), e.fontStretch && t.push(e.fontStretch), t.push($u(e.fontSize) || "12px"), t.push(e.fontFamily || "sans-serif"), t.join(" ");
19204
19207
  }
@@ -19206,26 +19209,26 @@ function $u(e) {
19206
19209
  if (e != null)
19207
19210
  return typeof e == "number" || /^-?\d+(\.\d+)?$/.test(e) ? e + "px" : e;
19208
19211
  }
19209
- function A_(e, t) {
19210
- var n = E_();
19212
+ function T_(e, t) {
19213
+ var n = R_();
19211
19214
  if (!n) return {
19212
19215
  width: 0,
19213
19216
  height: 0
19214
19217
  };
19215
- n.font = T_(t), "letterSpacing" in n && (n.letterSpacing = $u(t.letterSpacing) || "0px");
19218
+ n.font = E_(t), "letterSpacing" in n && (n.letterSpacing = $u(t.letterSpacing) || "0px");
19216
19219
  var a = e === "", o = a ? "dummy" : e.replace(/\s+$/, ""), i = n.measureText(o);
19217
19220
  return {
19218
19221
  width: a ? 0 : i.width,
19219
19222
  height: "fontBoundingBoxAscent" in i ? i.fontBoundingBoxAscent + i.fontBoundingBoxDescent : i.actualBoundingBoxAscent + i.actualBoundingBoxDescent
19220
19223
  };
19221
19224
  }
19222
- function M_(e, t, n) {
19225
+ function A_(e, t, n) {
19223
19226
  for (var a = e.shift(), o = a, i; ; ) {
19224
- if (i = A_(o, n), i.width = o ? i.width : 0, o === " " || o === "" || i.width < Math.round(t) || o.length < 2) return j_(e, o, a, i);
19225
- o = B_(o, i.width, t);
19227
+ if (i = T_(o, n), i.width = o ? i.width : 0, o === " " || o === "" || i.width < Math.round(t) || o.length < 2) return M_(e, o, a, i);
19228
+ o = P_(o, i.width, t);
19226
19229
  }
19227
19230
  }
19228
- function j_(e, t, n, a) {
19231
+ function M_(e, t, n, a) {
19229
19232
  if (t.length < n.length) {
19230
19233
  var o = n.slice(t.length).trim();
19231
19234
  e.unshift(o);
@@ -19237,7 +19240,7 @@ function j_(e, t, n, a) {
19237
19240
  };
19238
19241
  }
19239
19242
  var Os = "­";
19240
- function P_(e, t) {
19243
+ function j_(e, t) {
19241
19244
  var n = e.split(/(\s|-|\u00AD)/g), a, o = [], i = 0;
19242
19245
  if (n.length > 1) for (; a = n.shift(); ) if (a.length + i < t)
19243
19246
  o.push(a), i += a.length;
@@ -19248,14 +19251,14 @@ function P_(e, t) {
19248
19251
  var r = o[o.length - 1];
19249
19252
  return r && r === Os && (o[o.length - 1] = "-"), o.join("");
19250
19253
  }
19251
- function B_(e, t, n) {
19252
- var a = Math.max(e.length * (n / t), 1), o = P_(e, a);
19254
+ function P_(e, t, n) {
19255
+ var a = Math.max(e.length * (n / t), 1), o = j_(e, a);
19253
19256
  return o || (o = e.slice(0, Math.max(Math.round(a - 1), 1))), o;
19254
19257
  }
19255
19258
  function Xi(e) {
19256
19259
  this._config = Fe({}, {
19257
- size: S_,
19258
- padding: C_,
19260
+ size: C_,
19261
+ padding: x_,
19259
19262
  style: {},
19260
19263
  align: "center-top"
19261
19264
  }, e || {});
@@ -19267,7 +19270,7 @@ Xi.prototype.getDimensions = function(e, t) {
19267
19270
  return this.layoutText(e, t).dimensions;
19268
19271
  };
19269
19272
  Xi.prototype.layoutText = function(e, t) {
19270
- for (var n = Fe({}, this._config.size, t.box), a = Fe({}, this._config.style, t.style), o = k_(t.align || this._config.align), i = R_(t.padding !== void 0 ? t.padding : this._config.padding), r = t.fitBox || !1, l = H_(a), c = e.split(/\u00AD?\r?\n/), s = [], d = n.width - i.left - i.right; c.length; ) s.push(M_(c, d, a));
19273
+ for (var n = Fe({}, this._config.size, t.box), a = Fe({}, this._config.style, t.style), o = S_(t.align || this._config.align), i = k_(t.padding !== void 0 ? t.padding : this._config.padding), r = t.fitBox || !1, l = B_(a), c = e.split(/\u00AD?\r?\n/), s = [], d = n.width - i.left - i.right; c.length; ) s.push(A_(c, d, a));
19271
19274
  o.vertical === "middle" && (i.top = i.bottom = 0);
19272
19275
  var f = mr(s, function(g, b, x) {
19273
19276
  return g + (l || b.height);
@@ -19301,16 +19304,16 @@ Xi.prototype.layoutText = function(e, t) {
19301
19304
  element: p
19302
19305
  };
19303
19306
  };
19304
- function H_(e) {
19307
+ function B_(e) {
19305
19308
  if ("fontSize" in e && "lineHeight" in e) return e.lineHeight * parseInt(e.fontSize, 10);
19306
19309
  }
19307
- var O_ = 12, I_ = 1.2, z_ = 30;
19310
+ var H_ = 12, O_ = 1.2, I_ = 30;
19308
19311
  function Fu(e) {
19309
19312
  const t = xt({
19310
19313
  fontFamily: "Arial, sans-serif",
19311
- fontSize: O_,
19314
+ fontSize: H_,
19312
19315
  fontWeight: "normal",
19313
- lineHeight: I_
19316
+ lineHeight: O_
19314
19317
  }, e && e.defaultStyle || {}), n = xt({}, t, { fontSize: parseInt(t.fontSize, 10) - 1 }, e && e.externalStyle || {}), a = new Xi({ style: t });
19315
19318
  this.getExternalLabelBounds = function(o, i) {
19316
19319
  const r = a.getDimensions(i, {
@@ -19339,7 +19342,7 @@ function Fu(e) {
19339
19342
  x: o.x,
19340
19343
  y: o.y,
19341
19344
  width: o.width,
19342
- height: Math.max(z_, Math.round(r.height))
19345
+ height: Math.max(I_, Math.round(r.height))
19343
19346
  };
19344
19347
  }, this.createText = function(o, i) {
19345
19348
  return a.createText(o, i || {});
@@ -19350,7 +19353,7 @@ function Fu(e) {
19350
19353
  };
19351
19354
  }
19352
19355
  Fu.$inject = ["config.textRenderer"];
19353
- function L_() {
19356
+ function z_() {
19354
19357
  this.pathMap = {
19355
19358
  GATEWAY_EXCLUSIVE: {
19356
19359
  d: "m {mx},{my} {e.x0},{e.y0} {e.x1},{e.y0} {e.x2},0 {e.x4},{e.y2} {e.x4},{e.y1} {e.x2},0 {e.x1},{e.y3} {e.x0},{e.y3} {e.x3},0 {e.x5},{e.y1} {e.x5},{e.y2} {e.x3},0 z",
@@ -19415,28 +19418,28 @@ function L_() {
19415
19418
  for (let s = 0; s < i.heightElements.length; s++) r["y" + s] = i.heightElements[s] * l;
19416
19419
  for (let s = 0; s < i.widthElements.length; s++) r["x" + s] = i.widthElements[s] * c;
19417
19420
  }
19418
- return V_(i.d, {
19421
+ return F_(i.d, {
19419
19422
  mx: a,
19420
19423
  my: o,
19421
19424
  e: r
19422
19425
  });
19423
19426
  };
19424
19427
  }
19425
- var D_ = /\{([^}]+)\}/g, $_ = /(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;
19426
- function F_(e, t, n) {
19428
+ var L_ = /\{([^}]+)\}/g, D_ = /(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;
19429
+ function $_(e, t, n) {
19427
19430
  let a = n;
19428
- return t.replace($_, (o, i, r, l, c) => {
19431
+ return t.replace(D_, (o, i, r, l, c) => {
19429
19432
  i = i || l, a && (i in a && (a = a[i]), typeof a == "function" && c && (a = a()));
19430
19433
  }), a = (a == null || a === n ? e : a) + "", a;
19431
19434
  }
19432
- function V_(e, t) {
19433
- return String(e).replace(D_, (n, a) => F_(n, a, t));
19435
+ function F_(e, t) {
19436
+ return String(e).replace(L_, (n, a) => $_(n, a, t));
19434
19437
  }
19435
19438
  var Vu = {
19436
19439
  __init__: ["myRenderer"],
19437
19440
  myRenderer: ["type", za],
19438
19441
  textRenderer: ["type", Fu],
19439
- pathMap: ["type", L_]
19442
+ pathMap: ["type", z_]
19440
19443
  };
19441
19444
  function Is(e, t) {
19442
19445
  return xt({
@@ -19445,7 +19448,7 @@ function Is(e, t) {
19445
19448
  businessObject: e
19446
19449
  }, t);
19447
19450
  }
19448
- function N_(e, t, n) {
19451
+ function V_(e, t, n) {
19449
19452
  const a = e.waypoint;
19450
19453
  return !a || a.length < 2 ? [Rt(t), Rt(n)] : a.map((o) => ({
19451
19454
  x: o.x,
@@ -19471,7 +19474,7 @@ fa.prototype.add = function(e) {
19471
19474
  t = this._elementFactory.createConnection(Is(e, {
19472
19475
  source: a,
19473
19476
  target: o,
19474
- waypoints: N_(e, a, o)
19477
+ waypoints: V_(e, a, o)
19475
19478
  })), this._canvas.addConnection(t);
19476
19479
  } else {
19477
19480
  const a = this._elementFactory._getDefaultSize(e.type);
@@ -19569,7 +19572,7 @@ var Nu = { myImporter: ["type", fa] }, Wu = (e) => {
19569
19572
  }), o.forEach((i) => {
19570
19573
  n.add(i);
19571
19574
  });
19572
- }, W_ = /* @__PURE__ */ pe({
19575
+ }, N_ = /* @__PURE__ */ pe({
19573
19576
  name: "JWorkflowViewer",
19574
19577
  __name: "workflow-viewer",
19575
19578
  props: {
@@ -19697,7 +19700,7 @@ var Nu = { myImporter: ["type", fa] }, Wu = (e) => {
19697
19700
  class: "j-work-flow"
19698
19701
  }, null, 512));
19699
19702
  }
19700
- }), U_ = W_;
19703
+ }), W_ = N_;
19701
19704
  function cr(e) {
19702
19705
  return e && e[e.length - 1];
19703
19706
  }
@@ -19707,7 +19710,7 @@ function zs(e) {
19707
19710
  function Ls(e) {
19708
19711
  return e.x;
19709
19712
  }
19710
- var Y_ = {
19713
+ var U_ = {
19711
19714
  left: Ls,
19712
19715
  center: Ls,
19713
19716
  right: function(e) {
@@ -19767,15 +19770,15 @@ ao.prototype.trigger = function(e, t) {
19767
19770
  return !(c.waypoints || c.host || c.labelTarget);
19768
19771
  });
19769
19772
  if (a = this._rules.allowed("elements.align", { elements: o }), st(a) && (o = a), !(o.length < 2 || !a)) {
19770
- var i = Y_[t], r = Ao(o, i), l = this._alignmentPosition(t, r);
19773
+ var i = U_[t], r = Ao(o, i), l = this._alignmentPosition(t, r);
19771
19774
  n.alignElements(r, l);
19772
19775
  }
19773
19776
  };
19774
- var J_ = {
19777
+ var Y_ = {
19775
19778
  __init__: ["alignElements"],
19776
19779
  alignElements: ["type", ao]
19777
- }, di = Math.round, G_ = Math.max;
19778
- function K_(e, t) {
19780
+ }, di = Math.round, J_ = Math.max;
19781
+ function G_(e, t) {
19779
19782
  return [
19780
19783
  [
19781
19784
  "M",
@@ -19810,7 +19813,7 @@ function K_(e, t) {
19810
19813
  ["z"]
19811
19814
  ];
19812
19815
  }
19813
- function q_(e) {
19816
+ function K_(e) {
19814
19817
  var t = [];
19815
19818
  return e.forEach(function(n, a) {
19816
19819
  t.push([
@@ -19821,7 +19824,7 @@ function q_(e) {
19821
19824
  }), t;
19822
19825
  }
19823
19826
  var Yu = 10;
19824
- function X_(e, t) {
19827
+ function q_(e, t) {
19825
19828
  var n, a;
19826
19829
  for (n = 0; a = e[n]; n++) if (zo(a, t) <= Yu) return {
19827
19830
  point: e[n],
@@ -19830,9 +19833,9 @@ function X_(e, t) {
19830
19833
  };
19831
19834
  return null;
19832
19835
  }
19833
- function Z_(e, t) {
19834
- var n = iu(K_(t, Yu), q_(e)), a = n[0], o = n[n.length - 1], i;
19835
- return a ? a !== o ? a.segment2 !== o.segment2 ? (i = G_(a.segment2, o.segment2) - 1, {
19836
+ function X_(e, t) {
19837
+ var n = iu(G_(t, Yu), K_(e)), a = n[0], o = n[n.length - 1], i;
19838
+ return a ? a !== o ? a.segment2 !== o.segment2 ? (i = J_(a.segment2, o.segment2) - 1, {
19836
19839
  point: e[i],
19837
19840
  bendpoint: !0,
19838
19841
  index: i
@@ -19850,13 +19853,13 @@ function Z_(e, t) {
19850
19853
  index: a.segment2
19851
19854
  } : null;
19852
19855
  }
19853
- function Q_(e, t) {
19854
- return X_(e, t) || Z_(e, t);
19856
+ function Z_(e, t) {
19857
+ return q_(e, t) || X_(e, t);
19855
19858
  }
19856
- function ex(e) {
19859
+ function Q_(e) {
19857
19860
  return Math.sqrt(Math.pow(e.x, 2) + Math.pow(e.y, 2));
19858
19861
  }
19859
- function tx(e, t, n) {
19862
+ function ex(e, t, n) {
19860
19863
  var a = [{
19861
19864
  n: e[0] - n[0],
19862
19865
  lambda: t[0]
@@ -19870,21 +19873,21 @@ function Ju(e, t) {
19870
19873
  var n = t[0], a = t[1], o = {
19871
19874
  x: a.x - n.x,
19872
19875
  y: a.y - n.y
19873
- }, i = tx([n.x, n.y], [o.x, o.y], [e.x, e.y]);
19876
+ }, i = ex([n.x, n.y], [o.x, o.y], [e.x, e.y]);
19874
19877
  return {
19875
19878
  x: n.x + i * o.x,
19876
19879
  y: n.y + i * o.y
19877
19880
  };
19878
19881
  }
19879
- function nx(e, t) {
19882
+ function tx(e, t) {
19880
19883
  var n = Ju(e, t);
19881
- return ex({
19884
+ return Q_({
19882
19885
  x: n.x - e.x,
19883
19886
  y: n.y - e.y
19884
19887
  });
19885
19888
  }
19886
19889
  var Gu = "djs-bendpoint", Ku = "djs-segment-dragger";
19887
- function ax(e, t) {
19890
+ function nx(e, t) {
19888
19891
  var n = Ka(t), a = e._container.getBoundingClientRect(), o = {
19889
19892
  x: a.left,
19890
19893
  y: a.top
@@ -19895,7 +19898,7 @@ function ax(e, t) {
19895
19898
  };
19896
19899
  }
19897
19900
  function jr(e, t, n) {
19898
- return Q_(t, ax(e, n));
19901
+ return Z_(t, nx(e, n));
19899
19902
  }
19900
19903
  function Pr(e, t) {
19901
19904
  var n = Ge("g");
@@ -19913,10 +19916,10 @@ function Pr(e, t) {
19913
19916
  r: 10
19914
19917
  }), ht(o).add("djs-hit"), qe(n, o), t && ht(n).add(t), n;
19915
19918
  }
19916
- function ox(e, t, n, a) {
19919
+ function ax(e, t, n, a) {
19917
19920
  var o = Ge("g");
19918
19921
  qe(e, o);
19919
- var i = 18, r = 6, l = 11, c = rx(t, n, a), s = r + l, d = Ge("rect");
19922
+ var i = 18, r = 6, l = 11, c = ix(t, n, a), s = r + l, d = Ge("rect");
19920
19923
  $e(d, {
19921
19924
  x: -i / 2,
19922
19925
  y: -r / 2,
@@ -19929,25 +19932,25 @@ function ox(e, t, n, a) {
19929
19932
  y: -s / 2,
19930
19933
  width: c,
19931
19934
  height: s
19932
- }), ht(f).add("djs-hit"), qe(o, f), N0(o, a === "v" ? 90 : 0, 0, 0), o;
19935
+ }), ht(f).add("djs-hit"), qe(o, f), V0(o, a === "v" ? 90 : 0, 0, 0), o;
19933
19936
  }
19934
19937
  function qu(e, t, n) {
19935
19938
  var a = Ge("g"), o = kr(t, n), i = Qn(t, n);
19936
- return qe(e, a), ox(a, t, n, i), ht(a).add(Ku), ht(a).add(i === "h" ? "horizontal" : "vertical"), Hn(a, o.x, o.y), a;
19939
+ return qe(e, a), ax(a, t, n, i), ht(a).add(Ku), ht(a).add(i === "h" ? "horizontal" : "vertical"), Hn(a, o.x, o.y), a;
19937
19940
  }
19938
19941
  function Br(e) {
19939
19942
  return Math.abs(Math.round(e * 2 / 3));
19940
19943
  }
19941
- function ix(e, t) {
19942
- return Ju(e, lx(e, t));
19944
+ function ox(e, t) {
19945
+ return Ju(e, rx(e, t));
19943
19946
  }
19944
- function rx(e, t, n) {
19947
+ function ix(e, t, n) {
19945
19948
  var a = t.x - e.x, o = t.y - e.y;
19946
19949
  return Br(n === "h" ? a : o);
19947
19950
  }
19948
- function lx(e, t) {
19951
+ function rx(e, t) {
19949
19952
  for (var n = t.waypoints, a = 1 / 0, o, i = 0; i < n.length - 1; i++) {
19950
- var r = n[i], l = n[i + 1], c = nx(e, [r, l]);
19953
+ var r = n[i], l = n[i + 1], c = tx(e, [r, l]);
19951
19954
  c < a && (a = c, o = i);
19952
19955
  }
19953
19956
  return [n[o], n[o + 1]];
@@ -20018,7 +20021,7 @@ function Xu(e, t, n, a, o) {
20018
20021
  }
20019
20022
  function m(v, w, C) {
20020
20023
  var y = d(w.index, v), _ = C[w.index - 1], k = C[w.index], R = w.point, T = kr(_, k), A = Qn(_, k), P, L;
20021
- y && (P = sx(y), L = {
20024
+ y && (P = lx(y), L = {
20022
20025
  x: R.x - T.x,
20023
20026
  y: R.y - T.y
20024
20027
  }, A === "v" && (L = {
@@ -20069,7 +20072,7 @@ Xu.$inject = [
20069
20072
  "bendpointMove",
20070
20073
  "connectionSegmentMove"
20071
20074
  ];
20072
- function sx(e) {
20075
+ function lx(e) {
20073
20076
  return Zt(".djs-visual", e);
20074
20077
  }
20075
20078
  var Ds = Math.round, xa = "reconnectStart", Ca = "reconnectEnd", po = "updateWaypoints";
@@ -20131,7 +20134,7 @@ function kl(e, t, n, a, o, i) {
20131
20134
  g === po ? (f ? u.splice(s, 0, x) : u[s] = x, b.bendpointMove = {
20132
20135
  insert: f,
20133
20136
  bendpointIndex: s
20134
- }, u = this.cropWaypoints(d, u), i.updateWaypoints(d, hw(u), b)) : (g === xa ? (b.docking = "source", Mi(l) && (b.docking = "target", b.newWaypoints = u.reverse())) : g === Ca && (b.docking = "target", Mi(l) && (b.docking = "source", b.newWaypoints = u.reverse())), i.reconnect(d, h, p, x, b));
20137
+ }, u = this.cropWaypoints(d, u), i.updateWaypoints(d, fw(u), b)) : (g === xa ? (b.docking = "source", Mi(l) && (b.docking = "target", b.newWaypoints = u.reverse())) : g === Ca && (b.docking = "target", Mi(l) && (b.docking = "source", b.newWaypoints = u.reverse())), i.reconnect(d, h, p, x, b));
20135
20138
  }, this);
20136
20139
  }
20137
20140
  kl.$inject = [
@@ -20153,7 +20156,7 @@ function Mi(e) {
20153
20156
  if (o === xa) return t && a && t === a && n !== a;
20154
20157
  if (o === Ca) return t && n && t === n && n !== a;
20155
20158
  }
20156
- var cx = "reconnectStart", ux = "reconnectEnd", $s = "updateWaypoints", go = "connect-ok", fi = "connect-not-ok", Fs = "connect-hover", Vs = "djs-updating", Ns = "djs-dragging", Ws = 1100;
20159
+ var sx = "reconnectStart", cx = "reconnectEnd", $s = "updateWaypoints", go = "connect-ok", fi = "connect-not-ok", Fs = "connect-hover", Vs = "djs-updating", Ns = "djs-dragging", Ws = 1100;
20157
20160
  function Zu(e, t, n, a) {
20158
20161
  this._injector = t;
20159
20162
  var o = t.get("connectionPreview", !1);
@@ -20177,7 +20180,7 @@ function Zu(e, t, n, a) {
20177
20180
  x: i.x,
20178
20181
  y: i.y
20179
20182
  }, x = r.hints || {}, m = {};
20180
- o && (x.connectionStart && (m.connectionStart = x.connectionStart), x.connectionEnd && (m.connectionEnd = x.connectionEnd), f === cx ? Mi(r) ? (m.connectionEnd = m.connectionEnd || b, m.source = p, m.target = d || h, g = g.reverse()) : (m.connectionStart = m.connectionStart || b, m.source = d || h, m.target = p) : f === ux ? Mi(r) ? (m.connectionStart = m.connectionStart || b, m.source = d || p, m.target = h, g = g.reverse()) : (m.connectionEnd = m.connectionEnd || b, m.source = h, m.target = d || p) : (m.noCropping = !0, m.noLayout = !0, g[c] = b), f === $s && (g = e.cropWaypoints(u, g)), m.waypoints = g, o.drawPreview(r, l, m)), Hn(s, i.x, i.y);
20183
+ o && (x.connectionStart && (m.connectionStart = x.connectionStart), x.connectionEnd && (m.connectionEnd = x.connectionEnd), f === sx ? Mi(r) ? (m.connectionEnd = m.connectionEnd || b, m.source = p, m.target = d || h, g = g.reverse()) : (m.connectionStart = m.connectionStart || b, m.source = d || h, m.target = p) : f === cx ? Mi(r) ? (m.connectionStart = m.connectionStart || b, m.source = d || p, m.target = h, g = g.reverse()) : (m.connectionEnd = m.connectionEnd || b, m.source = h, m.target = d || p) : (m.noCropping = !0, m.noLayout = !0, g[c] = b), f === $s && (g = e.cropWaypoints(u, g)), m.waypoints = g, o.drawPreview(r, l, m)), Hn(s, i.x, i.y);
20181
20184
  }, this), n.on(["bendpoint.move.end", "bendpoint.move.cancel"], Ws, function(i) {
20182
20185
  var r = i.context, l = r.connection, c = r.draggerGfx, s = r.hover, d = r.target;
20183
20186
  l.waypoints = r.waypoints, cn(c), a.removeMarker(l, Vs), a.removeMarker(l, Ns), s && (a.removeMarker(s, go), a.removeMarker(s, d ? go : fi)), o && o.cleanUp(r);
@@ -20199,7 +20202,7 @@ function Rl(e, t, n) {
20199
20202
  y: t === "y" ? n : e.y
20200
20203
  };
20201
20204
  }
20202
- function dx(e, t, n, a) {
20205
+ function ux(e, t, n, a) {
20203
20206
  var o = Math.max(t[a], n[a]), i = Math.min(t[a], n[a]), r = 20;
20204
20207
  return Rl(t, a, Math.min(Math.max(i + r, e[a]), o - r));
20205
20208
  }
@@ -20243,7 +20246,7 @@ function ed(e, t, n, a, o, i) {
20243
20246
  o.update("connection", f.connection, f.connectionGfx);
20244
20247
  }
20245
20248
  function s(f, u, h) {
20246
- var p = f.newWaypoints, g = p[f.segmentStartIndex + u], b = p[f.segmentEndIndex + u], x = dx(h, g, b, Qu(f.axis));
20249
+ var p = f.newWaypoints, g = p[f.segmentStartIndex + u], b = p[f.segmentEndIndex + u], x = ux(h, g, b, Qu(f.axis));
20247
20250
  Hn(f.draggerGfx, x.x, x.y);
20248
20251
  }
20249
20252
  function d(f, u) {
@@ -20298,20 +20301,20 @@ ed.$inject = [
20298
20301
  "graphicsFactory",
20299
20302
  "modeling"
20300
20303
  ];
20301
- var fx = Math.abs, Ks = Math.round;
20302
- function hx(e, t, n) {
20304
+ var dx = Math.abs, Ks = Math.round;
20305
+ function fx(e, t, n) {
20303
20306
  n = n === void 0 ? 10 : n;
20304
20307
  var a, o;
20305
20308
  for (a = 0; a < t.length; a++)
20306
- if (o = t[a], fx(o - e) <= n) return o;
20309
+ if (o = t[a], dx(o - e) <= n) return o;
20307
20310
  }
20308
- function px(e) {
20311
+ function hx(e) {
20309
20312
  return {
20310
20313
  x: e.x,
20311
20314
  y: e.y
20312
20315
  };
20313
20316
  }
20314
- function gx(e) {
20317
+ function px(e) {
20315
20318
  return {
20316
20319
  x: e.x + e.width,
20317
20320
  y: e.y + e.height
@@ -20336,11 +20339,11 @@ function Dn(e, t, n) {
20336
20339
  function td(e) {
20337
20340
  return e.children || [];
20338
20341
  }
20339
- var vx = Math.abs, qs = Math.round, ur = 10;
20342
+ var gx = Math.abs, qs = Math.round, ur = 10;
20340
20343
  function nd(e) {
20341
20344
  function t(i, r) {
20342
20345
  if (st(i)) {
20343
- for (var l = i.length; l--; ) if (vx(i[l] - r) <= ur) return i[l];
20346
+ for (var l = i.length; l--; ) if (gx(i[l] - r) <= ur) return i[l];
20344
20347
  } else {
20345
20348
  i = +i;
20346
20349
  var c = r % i;
@@ -20350,7 +20353,7 @@ function nd(e) {
20350
20353
  return r;
20351
20354
  }
20352
20355
  function n(i, r) {
20353
- if (i.waypoints) return ix(r, i);
20356
+ if (i.waypoints) return ox(r, i);
20354
20357
  if (i.width) return {
20355
20358
  x: qs(i.width / 2 + i.x),
20356
20359
  y: qs(i.height / 2 + i.y)
@@ -20418,7 +20421,7 @@ function nd(e) {
20418
20421
  });
20419
20422
  }
20420
20423
  nd.$inject = ["eventBus"];
20421
- var yx = {
20424
+ var vx = {
20422
20425
  __depends__: [Pa, to],
20423
20426
  __init__: [
20424
20427
  "bendpoints",
@@ -20430,7 +20433,7 @@ var yx = {
20430
20433
  bendpointMovePreview: ["type", Zu],
20431
20434
  connectionSegmentMove: ["type", ed],
20432
20435
  bendpointSnapping: ["type", nd]
20433
- }, mx = "djs-dragger";
20436
+ }, yx = "djs-dragger";
20434
20437
  function Yn(e, t, n, a) {
20435
20438
  this._canvas = t, this._graphicsFactory = n, this._elementFactory = a, this._connectionDocking = e.get("connectionDocking", !1), this._layouter = e.get("layouter", !1);
20436
20439
  }
@@ -20443,7 +20446,7 @@ Yn.$inject = [
20443
20446
  Yn.prototype.drawPreview = function(e, t, n) {
20444
20447
  n = n || {};
20445
20448
  var a = e.connectionPreviewGfx, o = e.getConnection, i = n.source, r = n.target, l = n.waypoints, c = n.connectionStart, s = n.connectionEnd, d = n.noLayout, f = n.noCropping, u = n.noNoop, h, p = this;
20446
- if (a || (a = e.connectionPreviewGfx = this.createConnectionPreviewGfx()), Nr(a), o || (o = e.getConnection = bx(function(g, b, x) {
20449
+ if (a || (a = e.connectionPreviewGfx = this.createConnectionPreviewGfx()), Nr(a), o || (o = e.getConnection = mx(function(g, b, x) {
20447
20450
  return p.getConnection(g, b, x);
20448
20451
  })), t && (h = o(t, i, r)), !h) {
20449
20452
  !u && this.drawNoopPreview(a, n);
@@ -20469,12 +20472,12 @@ Yn.prototype.cleanUp = function(e) {
20469
20472
  e && e.connectionPreviewGfx && cn(e.connectionPreviewGfx);
20470
20473
  };
20471
20474
  Yn.prototype.getConnection = function(e) {
20472
- var t = wx(e);
20475
+ var t = bx(e);
20473
20476
  return this._elementFactory.createConnection(t);
20474
20477
  };
20475
20478
  Yn.prototype.createConnectionPreviewGfx = function() {
20476
20479
  var e = Ge("g");
20477
- return $e(e, { pointerEvents: "none" }), ht(e).add(mx), qe(this._canvas.getActiveLayer(), e), e;
20480
+ return $e(e, { pointerEvents: "none" }), ht(e).add(yx), qe(this._canvas.getActiveLayer(), e), e;
20478
20481
  };
20479
20482
  Yn.prototype.createNoopConnection = function(e, t) {
20480
20483
  return qr([e, t], {
@@ -20484,25 +20487,25 @@ Yn.prototype.createNoopConnection = function(e, t) {
20484
20487
  "pointer-events": "none"
20485
20488
  });
20486
20489
  };
20487
- function bx(e) {
20490
+ function mx(e) {
20488
20491
  var t = {};
20489
20492
  return function(n) {
20490
20493
  var a = JSON.stringify(n), o = t[a];
20491
20494
  return o || (o = t[a] = e.apply(null, arguments)), o;
20492
20495
  };
20493
20496
  }
20494
- function wx(e) {
20497
+ function bx(e) {
20495
20498
  return dn(e) ? e : {};
20496
20499
  }
20497
- var _x = {
20500
+ var wx = {
20498
20501
  __init__: ["connectionPreview"],
20499
20502
  connectionPreview: ["type", Yn]
20500
- }, xx = new Di("ov"), Cx = 500;
20503
+ }, _x = new Di("ov"), xx = 500;
20501
20504
  function Vt(e, t, n, a) {
20502
- this._eventBus = t, this._canvas = n, this._elementRegistry = a, this._ids = xx, this._overlayDefaults = Fe({
20505
+ this._eventBus = t, this._canvas = n, this._elementRegistry = a, this._ids = _x, this._overlayDefaults = Fe({
20503
20506
  show: null,
20504
20507
  scale: !0
20505
- }, e && e.defaults), this._overlays = {}, this._overlayContainers = [], this._overlayRoot = Sx(n.getContainer()), this._init();
20508
+ }, e && e.defaults), this._overlays = {}, this._overlayContainers = [], this._overlayRoot = Cx(n.getContainer()), this._init();
20506
20509
  }
20507
20510
  Vt.$inject = [
20508
20511
  "config.overlays",
@@ -20639,7 +20642,7 @@ Vt.prototype._init = function() {
20639
20642
  var r = t._overlayContainers.indexOf(i);
20640
20643
  r !== -1 && t._overlayContainers.splice(r, 1);
20641
20644
  }
20642
- }), e.on("element.changed", Cx, function(a) {
20645
+ }), e.on("element.changed", xx, function(a) {
20643
20646
  var o = a.element, i = t._getOverlayContainer(o, !0);
20644
20647
  i && (de(i.overlays, function(r) {
20645
20648
  t._updateOverlay(r);
@@ -20651,7 +20654,7 @@ Vt.prototype._init = function() {
20651
20654
  t._updateOverlaysVisibilty(t._canvas.viewbox());
20652
20655
  }), e.on("diagram.clear", this.clear, this);
20653
20656
  };
20654
- function Sx(e) {
20657
+ function Cx(e) {
20655
20658
  var t = rn('<div class="djs-overlay-container" />');
20656
20659
  return Ii(t, {
20657
20660
  position: "absolute",
@@ -20677,10 +20680,10 @@ function od(e, t) {
20677
20680
  e.style[n + "transform"] = t;
20678
20681
  });
20679
20682
  }
20680
- var kx = {
20683
+ var Sx = {
20681
20684
  __init__: ["overlays"],
20682
20685
  overlays: ["type", Vt]
20683
- }, Rx = new Di();
20686
+ }, kx = new Di();
20684
20687
  function oo(e) {
20685
20688
  this._scheduled = {}, e.on("diagram.destroy", () => {
20686
20689
  Object.keys(this._scheduled).forEach((t) => {
@@ -20689,13 +20692,13 @@ function oo(e) {
20689
20692
  });
20690
20693
  }
20691
20694
  oo.$inject = ["eventBus"];
20692
- oo.prototype.schedule = function(e, t = Rx.next()) {
20695
+ oo.prototype.schedule = function(e, t = kx.next()) {
20693
20696
  this.cancel(t);
20694
20697
  const n = this._schedule(e, t);
20695
20698
  return this._scheduled[t] = n, n.promise;
20696
20699
  };
20697
20700
  oo.prototype._schedule = function(e, t) {
20698
- const n = Ex();
20701
+ const n = Rx();
20699
20702
  return {
20700
20703
  executionId: setTimeout(() => {
20701
20704
  try {
@@ -20719,13 +20722,13 @@ oo.prototype.cancel = function(e) {
20719
20722
  oo.prototype._cancel = function(e) {
20720
20723
  clearTimeout(e.executionId);
20721
20724
  };
20722
- function Ex() {
20725
+ function Rx() {
20723
20726
  const e = {};
20724
20727
  return e.promise = new Promise((t, n) => {
20725
20728
  e.resolve = t, e.reject = n;
20726
20729
  }), e;
20727
20730
  }
20728
- var Tx = { scheduler: ["type", oo] }, Ax = "djs-element-hidden", hi = ".entry", Mx = 1e3, Xs = 8, jx = 300;
20731
+ var Ex = { scheduler: ["type", oo] }, Tx = "djs-element-hidden", hi = ".entry", Ax = 1e3, Xs = 8, Mx = 300;
20729
20732
  function Pt(e, t, n, a) {
20730
20733
  this._canvas = e, this._elementRegistry = t, this._eventBus = n, this._scheduler = a, this._current = null, this._init();
20731
20734
  }
@@ -20768,7 +20771,7 @@ Pt.prototype._createContainer = function() {
20768
20771
  return this._canvas.getContainer().appendChild(e), e;
20769
20772
  };
20770
20773
  Pt.prototype.registerProvider = function(e, t) {
20771
- t || (t = e, e = Mx), this._eventBus.on("contextPad.getProviders", e, function(n) {
20774
+ t || (t = e, e = Ax), this._eventBus.on("contextPad.getProviders", e, function(n) {
20772
20775
  n.providers.push(t);
20773
20776
  });
20774
20777
  };
@@ -20789,7 +20792,7 @@ Pt.prototype.trigger = function(e, t, n) {
20789
20792
  if (o = _n(r, "data-action"), i = t.originalEvent || t, e === "mouseover") {
20790
20793
  this._timeout = setTimeout(function() {
20791
20794
  a._mouseout = a.triggerEntry(o, "hover", i, n);
20792
- }, jx);
20795
+ }, Mx);
20793
20796
  return;
20794
20797
  } else if (e === "mouseout") {
20795
20798
  clearTimeout(this._timeout), this._mouseout && (this._mouseout(), this._mouseout = null);
@@ -20828,7 +20831,7 @@ Pt.prototype._updateAndOpen = function(e) {
20828
20831
  var t = this.getEntries(e), n = this._createHtml(e), a;
20829
20832
  de(t, function(o, i) {
20830
20833
  var r = o.group || "default", l = rn(o.html || '<div class="entry" draggable="true"></div>'), c;
20831
- _n(l, "data-action", i), c = Zt("[data-group=" + Sl(r) + "]", n), c || (c = rn('<div class="group"></div>'), _n(c, "data-group", r), n.appendChild(c)), c.appendChild(l), o.className && Px(l, o.className), o.title && _n(l, "title", o.title), o.imageUrl && (a = rn("<img>"), _n(a, "src", o.imageUrl), a.style.width = "100%", a.style.height = "100%", l.appendChild(a));
20834
+ _n(l, "data-action", i), c = Zt("[data-group=" + Sl(r) + "]", n), c || (c = rn('<div class="group"></div>'), _n(c, "data-group", r), n.appendChild(c)), c.appendChild(l), o.className && jx(l, o.className), o.title && _n(l, "title", o.title), o.imageUrl && (a = rn("<img>"), _n(a, "src", o.imageUrl), a.style.width = "100%", a.style.height = "100%", l.appendChild(a));
20832
20835
  }), nn(n).add("open"), this._current = {
20833
20836
  entries: t,
20834
20837
  html: n,
@@ -20855,7 +20858,7 @@ Pt.prototype._createHtml = function(e) {
20855
20858
  Pt.prototype.getPad = function(e) {
20856
20859
  console.warn(/* @__PURE__ */ new Error("ContextPad#getPad is deprecated and will be removed in future library versions, cf. https://github.com/bpmn-io/diagram-js/pull/888"));
20857
20860
  let t;
20858
- return this.isOpen() && Hx(this._current.target, e) ? t = this._current.html : t = this._createHtml(e), { html: t };
20861
+ return this.isOpen() && Bx(this._current.target, e) ? t = this._current.html : t = this._createHtml(e), { html: t };
20859
20862
  };
20860
20863
  Pt.prototype.close = function() {
20861
20864
  this.isOpen() && (clearTimeout(this._timeout), this._container.innerHTML = "", this._eventBus.fire("contextPad.close", { current: this._current }), this._current = null);
@@ -20880,7 +20883,7 @@ Pt.prototype.hide = function() {
20880
20883
  };
20881
20884
  Pt.prototype._getPosition = function(e) {
20882
20885
  if (!st(e) && en(e)) {
20883
- var t = this._canvas.viewbox(), n = Bx(e), a = n.x * t.scale - t.x * t.scale, o = n.y * t.scale - t.y * t.scale;
20886
+ var t = this._canvas.viewbox(), n = Px(e), a = n.x * t.scale - t.x * t.scale, o = n.y * t.scale - t.y * t.scale;
20884
20887
  return {
20885
20888
  left: a + Xs * this._canvas.zoom(),
20886
20889
  top: o
@@ -20913,7 +20916,7 @@ Pt.prototype._updateVisibility = function() {
20913
20916
  if (this.isOpen()) {
20914
20917
  var t = this, n = this._current.target;
20915
20918
  (st(n) ? n : [n]).some(function(a) {
20916
- return t._canvas.hasMarker(a, Ax);
20919
+ return t._canvas.hasMarker(a, Tx);
20917
20920
  }) ? t.hide() : t.show();
20918
20921
  }
20919
20922
  };
@@ -20933,28 +20936,28 @@ Pt.prototype._getTargetBounds = function(e) {
20933
20936
  left: 1 / 0
20934
20937
  });
20935
20938
  };
20936
- function Px(e, t) {
20939
+ function jx(e, t) {
20937
20940
  var n = nn(e);
20938
20941
  t = st(t) ? t : t.split(/\s+/g), t.forEach(function(a) {
20939
20942
  n.add(a);
20940
20943
  });
20941
20944
  }
20942
- function Bx(e) {
20945
+ function Px(e) {
20943
20946
  return e.waypoints[e.waypoints.length - 1];
20944
20947
  }
20945
- function Hx(e, t) {
20948
+ function Bx(e, t) {
20946
20949
  return e = st(e) ? e : [e], t = st(t) ? t : [t], e.length === t.length && $r(e, function(n) {
20947
20950
  return t.includes(n);
20948
20951
  });
20949
20952
  }
20950
- var Ox = {
20953
+ var Hx = {
20951
20954
  __depends__: [
20952
20955
  Xr,
20953
- Tx,
20954
- kx
20956
+ Ex,
20957
+ Sx
20955
20958
  ],
20956
20959
  contextPad: ["type", Pt]
20957
- }, Ix = 250;
20960
+ }, Ox = 250;
20958
20961
  function La(e) {
20959
20962
  this._eventBus = e, this._tools = [], this._active = null;
20960
20963
  }
@@ -20984,11 +20987,11 @@ La.prototype.bindEvents = function(e, t) {
20984
20987
  this.setActive(e);
20985
20988
  }, this), de(t, function(o) {
20986
20989
  a.push(o + ".ended"), a.push(o + ".canceled");
20987
- }), n.on(a, Ix, function(o) {
20988
- this._active && (zx(o) || this.setActive(null));
20990
+ }), n.on(a, Ox, function(o) {
20991
+ this._active && (Ix(o) || this.setActive(null));
20989
20992
  }, this);
20990
20993
  };
20991
- function zx(e) {
20994
+ function Ix(e) {
20992
20995
  var t = e.originalEvent && e.originalEvent.target;
20993
20996
  return t && Lr(t, '.group[data-group="tools"]');
20994
20997
  }
@@ -21011,9 +21014,9 @@ function Tl(e) {
21011
21014
  }
21012
21015
  Tl.$inject = ["eventBus"];
21013
21016
  Tl.prototype.getLastMoveEvent = function() {
21014
- return this._lastMoveEvent || Lx(0, 0);
21017
+ return this._lastMoveEvent || zx(0, 0);
21015
21018
  };
21016
- function Lx(e, t) {
21019
+ function zx(e, t) {
21017
21020
  var n = document.createEvent("MouseEvent"), a = e, o = t, i = e, r = t;
21018
21021
  return n.initMouseEvent && n.initMouseEvent("mousemove", !0, !0, window, 0, a, o, i, r, !1, !1, !1, !1, 0, null), n;
21019
21022
  }
@@ -21091,11 +21094,11 @@ io.prototype.isActive = function() {
21091
21094
  function Zs(e) {
21092
21095
  return Zc("Space", e);
21093
21096
  }
21094
- var Dx = {
21097
+ var Lx = {
21095
21098
  __depends__: [El, Al],
21096
21099
  __init__: ["handTool"],
21097
21100
  handTool: ["type", io]
21098
- }, rd = "crosshair", Qs = "selected", $x = "djs-dragging-active-lasso";
21101
+ }, rd = "crosshair", Qs = "selected", Dx = "djs-dragging-active-lasso";
21099
21102
  function ha(e, t, n, a, o, i, r) {
21100
21103
  this._selection = o, this._dragging = n, this._mouse = r;
21101
21104
  var l = this, c = {
@@ -21128,7 +21131,7 @@ function ha(e, t, n, a, o, i, r) {
21128
21131
  }
21129
21132
  };
21130
21133
  function s(f) {
21131
- ht(t.getContainer()).toggle($x, f);
21134
+ ht(t.getContainer()).toggle(Dx, f);
21132
21135
  }
21133
21136
  function d(f) {
21134
21137
  var u = a.getAll();
@@ -21236,7 +21239,7 @@ function ec(e) {
21236
21239
  height: 0
21237
21240
  }, a;
21238
21241
  }
21239
- var Fx = {
21242
+ var $x = {
21240
21243
  __depends__: [El, Al],
21241
21244
  __init__: ["lassoTool"],
21242
21245
  lassoTool: ["type", ha]
@@ -21293,7 +21296,7 @@ ro.prototype.isActive = function() {
21293
21296
  ro.prototype.canStartConnect = function(e) {
21294
21297
  return this._rules.allowed("connection.start", { source: e });
21295
21298
  };
21296
- var Vx = {
21299
+ var Fx = {
21297
21300
  __depends__: [
21298
21301
  ol,
21299
21302
  to,
@@ -21302,7 +21305,7 @@ var Vx = {
21302
21305
  Al
21303
21306
  ],
21304
21307
  globalConnect: ["type", ro]
21305
- }, Nx = 500, Wx = 1e3;
21308
+ }, Vx = 500, Nx = 1e3;
21306
21309
  function Da(e, t) {
21307
21310
  this._eventBus = e, this.offset = 5;
21308
21311
  var n = t.cls("djs-outline", ["no-fill"]), a = this;
@@ -21316,7 +21319,7 @@ function Da(e, t) {
21316
21319
  height: 100
21317
21320
  }, n)), r;
21318
21321
  }
21319
- e.on(["shape.added", "shape.changed"], Nx, function(i) {
21322
+ e.on(["shape.added", "shape.changed"], Vx, function(i) {
21320
21323
  var r = i.element, l = i.gfx, c = Zt(".djs-outline", l);
21321
21324
  c || (c = a.getOutline(r) || o(l), qe(l, c)), a.updateShapeOutline(c, r);
21322
21325
  }), e.on(["connection.added", "connection.changed"], function(i) {
@@ -21345,7 +21348,7 @@ Da.prototype.updateConnectionOutline = function(e, t) {
21345
21348
  });
21346
21349
  };
21347
21350
  Da.prototype.registerProvider = function(e, t) {
21348
- t || (t = e, e = Wx), this._eventBus.on("outline.getProviders", e, function(n) {
21351
+ t || (t = e, e = Nx), this._eventBus.on("outline.getProviders", e, function(n) {
21349
21352
  n.providers.push(t);
21350
21353
  });
21351
21354
  };
@@ -21383,7 +21386,7 @@ Ml.prototype._updateMultiSelectionOutline = function(e) {
21383
21386
  Nr(t);
21384
21387
  var n = e.length > 1;
21385
21388
  if (ht(this._canvas.getContainer())[n ? "add" : "remove"]("djs-multi-select"), !!n) {
21386
- var a = Ux(On(e)), o = Ge("rect");
21389
+ var a = Wx(On(e)), o = Ge("rect");
21387
21390
  $e(o, Fe({ rx: 3 }, a)), ht(o).add("djs-selection-outline"), qe(t, o);
21388
21391
  }
21389
21392
  };
@@ -21392,7 +21395,7 @@ Ml.$inject = [
21392
21395
  "canvas",
21393
21396
  "selection"
21394
21397
  ];
21395
- function Ux(e) {
21398
+ function Wx(e) {
21396
21399
  return {
21397
21400
  x: e.x - pi,
21398
21401
  y: e.y - pi,
@@ -21405,8 +21408,8 @@ var ld = {
21405
21408
  __init__: ["outline", "multiSelectionOutline"],
21406
21409
  outline: ["type", Da],
21407
21410
  multiSelectionOutline: ["type", Ml]
21408
- }, Yx = 500, Jx = 1250, Gx = 1500, Pi = Math.round;
21409
- function Kx(e) {
21411
+ }, Ux = 500, Yx = 1250, Jx = 1500, Pi = Math.round;
21412
+ function Gx(e) {
21410
21413
  return {
21411
21414
  x: e.x + Pi(e.width / 2),
21412
21415
  y: e.y + Pi(e.height / 2)
@@ -21421,17 +21424,17 @@ function sd(e, t, n, a, o) {
21421
21424
  target: d
21422
21425
  });
21423
21426
  }
21424
- e.on("shape.move.start", Gx, function(l) {
21427
+ e.on("shape.move.start", Jx, function(l) {
21425
21428
  var c = l.context, s = l.shape, d = a.get().slice();
21426
- d.indexOf(s) === -1 && (d = [s]), d = qx(d), Fe(c, {
21429
+ d.indexOf(s) === -1 && (d = [s]), d = Kx(d), Fe(c, {
21427
21430
  shapes: d,
21428
21431
  validatedShapes: d,
21429
21432
  shape: s
21430
21433
  });
21431
- }), e.on("shape.move.start", Jx, function(l) {
21434
+ }), e.on("shape.move.start", Yx, function(l) {
21432
21435
  var c = l.context, s = c.validatedShapes;
21433
21436
  if (!(c.canExecute = i(s))) return !1;
21434
- }), e.on("shape.move.move", Yx, function(l) {
21437
+ }), e.on("shape.move.move", Ux, function(l) {
21435
21438
  var c = l.context, s = c.validatedShapes, d = l.hover, f = {
21436
21439
  x: l.dx,
21437
21440
  y: l.dy
@@ -21460,7 +21463,7 @@ function sd(e, t, n, a, o) {
21460
21463
  });
21461
21464
  function r(l, c, s, d) {
21462
21465
  if (dn(s) && (d = s, s = !1), !(c.waypoints || !c.parent) && !ht(l.target).has("djs-hit-no-move")) {
21463
- var f = Kx(c);
21466
+ var f = Gx(c);
21464
21467
  return t.init(l, f, "shape.move", {
21465
21468
  cursor: "grabbing",
21466
21469
  autoActivate: s,
@@ -21480,7 +21483,7 @@ sd.$inject = [
21480
21483
  "selection",
21481
21484
  "rules"
21482
21485
  ];
21483
- function qx(e) {
21486
+ function Kx(e) {
21484
21487
  var t = Fr(e, "id");
21485
21488
  return un(e, function(n) {
21486
21489
  for (; n = n.parent; ) if (t[n.id]) return !1;
@@ -21490,10 +21493,10 @@ function qx(e) {
21490
21493
  var ac = 499, fr = "djs-dragging", oc = "drop-ok", ic = "drop-not-ok", rc = "new-parent", lc = "attach-ok";
21491
21494
  function cd(e, t, n, a) {
21492
21495
  function o(c) {
21493
- return Xx(i(c));
21496
+ return qx(i(c));
21494
21497
  }
21495
21498
  function i(c) {
21496
- var s = I0(c, !0), d = s.flatMap((u) => (u.incoming || []).concat(u.outgoing || [])), f = s.concat(d);
21499
+ var s = O0(c, !0), d = s.flatMap((u) => (u.incoming || []).concat(u.outgoing || [])), f = s.concat(d);
21497
21500
  return [...new Set(f)];
21498
21501
  }
21499
21502
  function r(c, s) {
@@ -21519,7 +21522,7 @@ function cd(e, t, n, a) {
21519
21522
  a.addDragger(p, s.dragGroup);
21520
21523
  }), f ? f = gf([f, i(d)]) : f = i(d), de(f, function(p) {
21521
21524
  t.addMarker(p, fr);
21522
- }), s.allDraggedElements = f, s.differentParents = Zx(d);
21525
+ }), s.allDraggedElements = f, s.differentParents = Xx(d);
21523
21526
  }), e.on("shape.move.move", ac, function(c) {
21524
21527
  var s = c.context, d = s.dragGroup, f = s.target, u = s.shape.parent, h = s.canExecute;
21525
21528
  f && (h === "attach" ? r(f, lc) : s.canExecute && u && f.id !== u.id ? r(f, rc) : r(f, s.canExecute ? oc : ic)), Hn(d, c.dx, c.dy);
@@ -21539,17 +21542,17 @@ cd.$inject = [
21539
21542
  "styles",
21540
21543
  "previewSupport"
21541
21544
  ];
21542
- function Xx(e) {
21545
+ function qx(e) {
21543
21546
  return un(e, function(t) {
21544
21547
  return en(t) ? Pn(e, xi({ id: t.source.id })) && Pn(e, xi({ id: t.target.id })) : !0;
21545
21548
  });
21546
21549
  }
21547
- function Zx(e) {
21550
+ function Xx(e) {
21548
21551
  return mf(Fr(e, function(t) {
21549
21552
  return t.parent && t.parent.id;
21550
21553
  })) !== 1;
21551
21554
  }
21552
- var Qx = {
21555
+ var Zx = {
21553
21556
  __depends__: [
21554
21557
  Xr,
21555
21558
  eo,
@@ -21561,7 +21564,7 @@ var Qx = {
21561
21564
  __init__: ["move", "movePreview"],
21562
21565
  move: ["type", sd],
21563
21566
  movePreview: ["type", cd]
21564
- }, ud = ".djs-palette-toggle", dd = ".entry", eC = ud + ", " + dd, Hr = "djs-palette-", tC = "shown", Or = "open", sc = "two-column", nC = 1e3;
21567
+ }, ud = ".djs-palette-toggle", dd = ".entry", Qx = ud + ", " + dd, Hr = "djs-palette-", eC = "shown", Or = "open", sc = "two-column", tC = 1e3;
21565
21568
  function jt(e, t) {
21566
21569
  this._eventBus = e, this._canvas = t;
21567
21570
  var n = this;
@@ -21576,19 +21579,19 @@ function jt(e, t) {
21576
21579
  }
21577
21580
  jt.$inject = ["eventBus", "canvas"];
21578
21581
  jt.prototype.registerProvider = function(e, t) {
21579
- t || (t = e, e = nC), this._eventBus.on("palette.getProviders", e, function(n) {
21582
+ t || (t = e, e = tC), this._eventBus.on("palette.getProviders", e, function(n) {
21580
21583
  n.providers.push(t);
21581
21584
  }), this._rebuild();
21582
21585
  };
21583
21586
  jt.prototype.getEntries = function() {
21584
- return this._getProviders().reduce(oC, {});
21587
+ return this._getProviders().reduce(aC, {});
21585
21588
  };
21586
21589
  jt.prototype._rebuild = function() {
21587
21590
  this._diagramInitialized && this._getProviders().length && (this._container || this._init(), this._update());
21588
21591
  };
21589
21592
  jt.prototype._init = function() {
21590
21593
  var e = this, t = this._eventBus, n = this._getParentContainer(), a = this._container = rn(jt.HTML_MARKUP);
21591
- n.appendChild(a), nn(n).add(Hr + tC), Zn.bind(a, eC, "click", function(o) {
21594
+ n.appendChild(a), nn(n).add(Hr + eC), Zn.bind(a, Qx, "click", function(o) {
21592
21595
  var i = o.delegateTarget;
21593
21596
  if (hf(i, ud)) return e.toggle();
21594
21597
  e.trigger("click", o);
@@ -21619,7 +21622,7 @@ jt.prototype._update = function() {
21619
21622
  var o = n.group || "default", i = Zt("[data-group=" + Sl(o) + "]", e);
21620
21623
  i || (i = rn('<div class="group"></div>'), _n(i, "data-group", o), e.appendChild(i));
21621
21624
  var r = rn(n.html || (n.separator ? '<hr class="separator" />' : '<div class="entry" draggable="true"></div>'));
21622
- if (i.appendChild(r), !n.separator && (_n(r, "data-action", a), n.title && _n(r, "title", n.title), n.className && aC(r, n.className), n.imageUrl)) {
21625
+ if (i.appendChild(r), !n.separator && (_n(r, "data-action", a), n.title && _n(r, "title", n.title), n.className && nC(r, n.className), n.imageUrl)) {
21623
21626
  var l = rn("<img>");
21624
21627
  _n(l, "src", n.imageUrl), r.appendChild(l);
21625
21628
  }
@@ -21679,26 +21682,26 @@ jt.prototype._getParentContainer = function() {
21679
21682
  return this._canvas.getContainer();
21680
21683
  };
21681
21684
  jt.HTML_MARKUP = '<div class="djs-palette"><div class="djs-palette-entries"></div><div class="djs-palette-toggle"></div></div>';
21682
- function aC(e, t) {
21685
+ function nC(e, t) {
21683
21686
  var n = nn(e);
21684
21687
  (st(t) ? t : t.split(/\s+/g)).forEach(function(a) {
21685
21688
  n.add(a);
21686
21689
  });
21687
21690
  }
21688
- function oC(e, t) {
21691
+ function aC(e, t) {
21689
21692
  var n = t.getPaletteEntries();
21690
21693
  return Bn(n) ? n(e) : (de(n, function(a, o) {
21691
21694
  e[o] = a;
21692
21695
  }), e);
21693
21696
  }
21694
- var iC = {
21697
+ var oC = {
21695
21698
  __init__: ["palette"],
21696
21699
  palette: ["type", jt]
21697
21700
  };
21698
21701
  function fd(e, t, n, a) {
21699
21702
  e.on("element.changed", function(o) {
21700
21703
  var i = o.element;
21701
- (i.parent || i === t.getRootElement()) && (o.gfx = n.getGraphics(i)), o.gfx && e.fire(L0(i) + ".changed", o);
21704
+ (i.parent || i === t.getRootElement()) && (o.gfx = n.getGraphics(i)), o.gfx && e.fire(z0(i) + ".changed", o);
21702
21705
  }), e.on("elements.changed", function(o) {
21703
21706
  var i = o.elements;
21704
21707
  i.forEach(function(r) {
@@ -21716,11 +21719,11 @@ fd.$inject = [
21716
21719
  "elementRegistry",
21717
21720
  "graphicsFactory"
21718
21721
  ];
21719
- var rC = {
21722
+ var iC = {
21720
21723
  __init__: ["changeSupport"],
21721
21724
  changeSupport: ["type", fd]
21722
- }, Bi = Math.max, Hi = Math.min, lC = 20;
21723
- function sC(e, t, n) {
21725
+ }, Bi = Math.max, Hi = Math.min, rC = 20;
21726
+ function lC(e, t, n) {
21724
21727
  var a = n.x, o = n.y, i = {
21725
21728
  x: e.x,
21726
21729
  y: e.y,
@@ -21733,7 +21736,7 @@ function gi(e, t, n) {
21733
21736
  var a = t[e], o = n.min && n.min[e], i = n.max && n.max[e];
21734
21737
  return It(o) && (a = (/top|left/.test(e) ? Hi : Bi)(a, o)), It(i) && (a = (/top|left/.test(e) ? Bi : Hi)(a, i)), a;
21735
21738
  }
21736
- function cC(e, t) {
21739
+ function sC(e, t) {
21737
21740
  if (!t) return e;
21738
21741
  var n = lt(e);
21739
21742
  return lu({
@@ -21743,7 +21746,7 @@ function cC(e, t) {
21743
21746
  left: gi("left", n, t)
21744
21747
  });
21745
21748
  }
21746
- function uC(e, t, n, a) {
21749
+ function cC(e, t, n, a) {
21747
21750
  var o = lt(t), i = {
21748
21751
  top: /n/.test(e) ? o.bottom - n.height : o.top,
21749
21752
  left: /w/.test(e) ? o.right - n.width : o.left,
@@ -21758,9 +21761,9 @@ function uC(e, t, n, a) {
21758
21761
  });
21759
21762
  }
21760
21763
  function vo(e, t) {
21761
- return typeof e < "u" ? e : lC;
21764
+ return typeof e < "u" ? e : rC;
21762
21765
  }
21763
- function dC(e, t) {
21766
+ function uC(e, t) {
21764
21767
  var n, a, o, i;
21765
21768
  return typeof t == "object" ? (n = vo(t.left), a = vo(t.right), o = vo(t.top), i = vo(t.bottom)) : n = a = o = i = vo(t), {
21766
21769
  x: e.x - n,
@@ -21769,12 +21772,12 @@ function dC(e, t) {
21769
21772
  height: e.height + o + i
21770
21773
  };
21771
21774
  }
21772
- function fC(e) {
21775
+ function dC(e) {
21773
21776
  return !(e.waypoints || e.type === "label");
21774
21777
  }
21775
- function hC(e, t) {
21778
+ function fC(e, t) {
21776
21779
  var n;
21777
- if (e.length === void 0 ? n = un(e.children, fC) : n = e, n.length) return dC(On(n), t);
21780
+ if (e.length === void 0 ? n = un(e.children, dC) : n = e, n.length) return uC(On(n), t);
21778
21781
  }
21779
21782
  var cc = 10;
21780
21783
  function Yo(e, t, n, a) {
@@ -21782,7 +21785,7 @@ function Yo(e, t, n, a) {
21782
21785
  var o = this;
21783
21786
  function i(c, s) {
21784
21787
  var d = c.shape, f = c.direction, u = c.resizeConstraints, h;
21785
- c.delta = s, h = sC(d, f, s), c.newBounds = cC(h, u), c.canExecute = o.canResize(c);
21788
+ c.delta = s, h = lC(d, f, s), c.newBounds = sC(h, u), c.canExecute = o.canResize(c);
21786
21789
  }
21787
21790
  function r(c) {
21788
21791
  var s = c.resizeConstraints, d = c.minBounds;
@@ -21791,7 +21794,7 @@ function Yo(e, t, n, a) {
21791
21794
  function l(c) {
21792
21795
  var s = c.shape, d = c.canExecute, f = c.newBounds;
21793
21796
  if (d) {
21794
- if (f = cw(f), !pC(s, f)) return;
21797
+ if (f = sw(f), !hC(s, f)) return;
21795
21798
  n.resizeShape(s, f);
21796
21799
  }
21797
21800
  }
@@ -21821,7 +21824,7 @@ Yo.prototype.activate = function(e, t, n) {
21821
21824
  if (typeof n == "string" && (n = { direction: n }), o = Fe({ shape: t }, n), i = o.direction, !i) throw new Error("must provide a direction (n|w|s|e|nw|se|ne|sw)");
21822
21825
  a.init(e, hd(t, i), "resize", {
21823
21826
  autoActivate: !0,
21824
- cursor: gC(i),
21827
+ cursor: pC(i),
21825
21828
  data: {
21826
21829
  shape: t,
21827
21830
  context: o
@@ -21830,10 +21833,10 @@ Yo.prototype.activate = function(e, t, n) {
21830
21833
  };
21831
21834
  Yo.prototype.computeMinResizeBox = function(e) {
21832
21835
  var t = e.shape, n = e.direction;
21833
- return uC(n, t, e.minDimensions || {
21836
+ return cC(n, t, e.minDimensions || {
21834
21837
  width: cc,
21835
21838
  height: cc
21836
- }, hC(t, e.childrenBoxPadding));
21839
+ }, fC(t, e.childrenBoxPadding));
21837
21840
  };
21838
21841
  Yo.$inject = [
21839
21842
  "eventBus",
@@ -21841,7 +21844,7 @@ Yo.$inject = [
21841
21844
  "modeling",
21842
21845
  "dragging"
21843
21846
  ];
21844
- function pC(e, t) {
21847
+ function hC(e, t) {
21845
21848
  return e.x !== t.x || e.y !== t.y || e.width !== t.width || e.height !== t.height;
21846
21849
  }
21847
21850
  function hd(e, t) {
@@ -21851,11 +21854,11 @@ function hd(e, t) {
21851
21854
  };
21852
21855
  return t.indexOf("n") !== -1 ? o.y = a.top : t.indexOf("s") !== -1 && (o.y = a.bottom), t.indexOf("e") !== -1 ? o.x = a.right : t.indexOf("w") !== -1 && (o.x = a.left), o;
21853
21856
  }
21854
- function gC(e) {
21857
+ function pC(e) {
21855
21858
  var t = "resize-";
21856
21859
  return e === "n" || e === "s" ? t + "ns" : e === "e" || e === "w" ? t + "ew" : e === "nw" || e === "se" ? t + "nwse" : t + "nesw";
21857
21860
  }
21858
- var uc = "djs-resizing", dc = "resize-not-ok", vC = 500;
21861
+ var uc = "djs-resizing", dc = "resize-not-ok", gC = 500;
21859
21862
  function pd(e, t, n) {
21860
21863
  function a(i) {
21861
21864
  var r = i.shape, l = i.newBounds, c = i.frame;
@@ -21871,7 +21874,7 @@ function pd(e, t, n) {
21871
21874
  var r = i.shape;
21872
21875
  i.frame && cn(i.frame), t.removeMarker(r, uc);
21873
21876
  }
21874
- e.on("resize.move", vC, function(i) {
21877
+ e.on("resize.move", gC, function(i) {
21875
21878
  a(i.context);
21876
21879
  }), e.on("resize.cleanup", function(i) {
21877
21880
  o(i.context);
@@ -21882,7 +21885,7 @@ pd.$inject = [
21882
21885
  "canvas",
21883
21886
  "previewSupport"
21884
21887
  ];
21885
- var vi = -6, yi = 8, mi = 20, yo = "djs-resizer", yC = [
21888
+ var vi = -6, yi = 8, mi = 20, yo = "djs-resizer", vC = [
21886
21889
  "n",
21887
21890
  "w",
21888
21891
  "s",
@@ -21911,7 +21914,7 @@ pa.prototype.makeDraggable = function(e, t, n) {
21911
21914
  rt.bind(t, "mousedown", o), rt.bind(t, "touchstart", o);
21912
21915
  };
21913
21916
  pa.prototype._createResizer = function(e, t, n, a) {
21914
- var o = this._getResizersParent(), i = mC(a), r = Ge("g");
21917
+ var o = this._getResizersParent(), i = yC(a), r = Ge("g");
21915
21918
  ht(r).add(yo), ht(r).add(yo + "-" + e.id), ht(r).add(yo + "-" + a), qe(o, r);
21916
21919
  var l = Ge("rect");
21917
21920
  $e(l, {
@@ -21926,7 +21929,7 @@ pa.prototype._createResizer = function(e, t, n, a) {
21926
21929
  y: -mi / 2 + i.y,
21927
21930
  width: mi,
21928
21931
  height: mi
21929
- }), ht(c).add(yo + "-hit"), qe(r, c), V0(r, t, n), r;
21932
+ }), ht(c).add(yo + "-hit"), qe(r, c), F0(r, t, n), r;
21930
21933
  };
21931
21934
  pa.prototype.createResizer = function(e, t) {
21932
21935
  var n = hd(e, t), a = this._createResizer(e, n.x, n.y, t);
@@ -21934,7 +21937,7 @@ pa.prototype.createResizer = function(e, t) {
21934
21937
  };
21935
21938
  pa.prototype.addResizer = function(e) {
21936
21939
  var t = this;
21937
- en(e) || !this._resize.canResize({ shape: e }) || de(yC, function(n) {
21940
+ en(e) || !this._resize.canResize({ shape: e }) || de(vC, function(n) {
21938
21941
  t.createResizer(e, n);
21939
21942
  });
21940
21943
  };
@@ -21950,14 +21953,14 @@ pa.$inject = [
21950
21953
  "selection",
21951
21954
  "resize"
21952
21955
  ];
21953
- function mC(e) {
21956
+ function yC(e) {
21954
21957
  var t = {
21955
21958
  x: 0,
21956
21959
  y: 0
21957
21960
  };
21958
21961
  return e.indexOf("e") !== -1 ? t.x = -vi : e.indexOf("w") !== -1 && (t.x = vi), e.indexOf("s") !== -1 ? t.y = -vi : e.indexOf("n") !== -1 && (t.y = vi), t;
21959
21962
  }
21960
- var bC = {
21963
+ var mC = {
21961
21964
  __depends__: [
21962
21965
  to,
21963
21966
  Pa,
@@ -22084,15 +22087,15 @@ Jo.prototype.getEditingBBox = function(e) {
22084
22087
  };
22085
22088
  Jo.prototype.update = function(e, t) {
22086
22089
  let n;
22087
- wC(t) && (t = null), this._modeling.updateLabel(e, t, n);
22090
+ bC(t) && (t = null), this._modeling.updateLabel(e, t, n);
22088
22091
  };
22089
- function wC(e) {
22092
+ function bC(e) {
22090
22093
  return !e || !e.trim();
22091
22094
  }
22092
- var _C = {
22095
+ var wC = {
22093
22096
  __depends__: [
22094
- rC,
22095
- bC,
22097
+ iC,
22098
+ mC,
22096
22099
  xf
22097
22100
  ],
22098
22101
  __init__: ["labelEditingProvider"],
@@ -22133,7 +22136,7 @@ Qi.prototype.add = function(e, t) {
22133
22136
  };
22134
22137
  Qi.prototype.snap = function(e, t, n, a) {
22135
22138
  var o = this._snapValues[t];
22136
- return o && hx(e[n], o[n], a);
22139
+ return o && fx(e[n], o[n], a);
22137
22140
  };
22138
22141
  Qi.prototype.initDefaults = function(e) {
22139
22142
  var t = this;
@@ -22143,7 +22146,7 @@ Qi.prototype.initDefaults = function(e) {
22143
22146
  });
22144
22147
  });
22145
22148
  };
22146
- var xC = 1250;
22149
+ var _C = 1250;
22147
22150
  function zn(e, t, n) {
22148
22151
  var a = this;
22149
22152
  this._elementRegistry = e, t.on(["create.start", "shape.move.start"], function(o) {
@@ -22153,7 +22156,7 @@ function zn(e, t, n) {
22153
22156
  "create.end",
22154
22157
  "shape.move.move",
22155
22158
  "shape.move.end"
22156
- ], xC, function(o) {
22159
+ ], _C, function(o) {
22157
22160
  var i = o.context, r = i.shape, l = i.snapContext, c = i.target;
22158
22161
  if (!(o.originalEvent && Xc(o.originalEvent)) && !(ji(o) || !c)) {
22159
22162
  var s = l.pointsForTarget(c);
@@ -22212,10 +22215,10 @@ zn.prototype.addSnapTargetPoints = function(e, t, n) {
22212
22215
  };
22213
22216
  zn.prototype.getSnapTargets = function(e, t) {
22214
22217
  return td(t).filter(function(n) {
22215
- return !CC(n);
22218
+ return !xC(n);
22216
22219
  });
22217
22220
  };
22218
- function CC(e) {
22221
+ function xC(e) {
22219
22222
  return !!e.hidden;
22220
22223
  }
22221
22224
  function lo(e) {
@@ -22232,16 +22235,16 @@ lo.prototype.addSnapTargetPoints = function(e, t, n) {
22232
22235
  lo.prototype.getSnapTargets = function(e, t) {
22233
22236
  return zn.prototype.getSnapTargets.call(this, e, t);
22234
22237
  };
22235
- var SC = 1250;
22238
+ var CC = 1250;
22236
22239
  function Go(e, t) {
22237
22240
  var n = this;
22238
22241
  e.on(["resize.start"], function(a) {
22239
22242
  n.initSnap(a);
22240
- }), e.on(["resize.move", "resize.end"], SC, function(a) {
22243
+ }), e.on(["resize.move", "resize.end"], CC, function(a) {
22241
22244
  var o = a.context, i = o.shape, r = i.parent, l = o.direction, c = o.snapContext;
22242
22245
  if (!(a.originalEvent && Xc(a.originalEvent)) && !ji(a)) {
22243
22246
  var s = c.pointsForTarget(r);
22244
- s.initialized || (s = n.addSnapTargetPoints(s, i, r, l), s.initialized = !0), EC(l) && Dn(a, "x", a.x), TC(l) && Dn(a, "y", a.y), t.snap(a, s);
22247
+ s.initialized || (s = n.addSnapTargetPoints(s, i, r, l), s.initialized = !0), RC(l) && Dn(a, "x", a.x), EC(l) && Dn(a, "y", a.y), t.snap(a, s);
22245
22248
  }
22246
22249
  }), e.on(["resize.cleanup"], function() {
22247
22250
  t.hide();
@@ -22258,13 +22261,13 @@ Go.prototype.initSnap = function(e) {
22258
22261
  };
22259
22262
  Go.prototype.addSnapTargetPoints = function(e, t, n, a) {
22260
22263
  return de(this.getSnapTargets(t, n), function(o) {
22261
- e.add("corner", gx(o)), e.add("corner", px(o));
22264
+ e.add("corner", px(o)), e.add("corner", hx(o));
22262
22265
  }), e.add("corner", gd(t, a)), e;
22263
22266
  };
22264
22267
  Go.$inject = ["eventBus", "snapping"];
22265
22268
  Go.prototype.getSnapTargets = function(e, t) {
22266
22269
  return td(t).filter(function(n) {
22267
- return !kC(n, e) && !en(n) && !RC(n) && !qa(n);
22270
+ return !SC(n, e) && !en(n) && !kC(n) && !qa(n);
22268
22271
  });
22269
22272
  };
22270
22273
  function gd(e, t) {
@@ -22274,21 +22277,21 @@ function gd(e, t) {
22274
22277
  };
22275
22278
  return t.indexOf("n") !== -1 ? o.y = a.top : t.indexOf("s") !== -1 && (o.y = a.bottom), t.indexOf("e") !== -1 ? o.x = a.right : t.indexOf("w") !== -1 && (o.x = a.left), o;
22276
22279
  }
22277
- function kC(e, t) {
22280
+ function SC(e, t) {
22278
22281
  return e.host === t;
22279
22282
  }
22280
- function RC(e) {
22283
+ function kC(e) {
22281
22284
  return !!e.hidden;
22282
22285
  }
22283
- function EC(e) {
22286
+ function RC(e) {
22284
22287
  return e === "n" || e === "s";
22285
22288
  }
22286
- function TC(e) {
22289
+ function EC(e) {
22287
22290
  return e === "e" || e === "w";
22288
22291
  }
22289
- var AC = 7, MC = 1e3;
22292
+ var TC = 7, AC = 1e3;
22290
22293
  function va(e) {
22291
- this._canvas = e, this._asyncHide = pf(Dr(this.hide, this), MC);
22294
+ this._canvas = e, this._asyncHide = pf(Dr(this.hide, this), AC);
22292
22295
  }
22293
22296
  va.$inject = ["canvas"];
22294
22297
  va.prototype.snap = function(e, t) {
@@ -22303,7 +22306,7 @@ va.prototype.snap = function(e, t) {
22303
22306
  };
22304
22307
  if (de(["x", "y"], function(c) {
22305
22308
  var s;
22306
- o[c] || (s = t.snap(l, i, c, AC), s !== void 0 && (o[c] = {
22309
+ o[c] || (s = t.snap(l, i, c, TC), s !== void 0 && (o[c] = {
22307
22310
  value: s,
22308
22311
  originValue: s - r[c]
22309
22312
  }));
@@ -22343,7 +22346,7 @@ va.prototype.hide = function() {
22343
22346
  e.update();
22344
22347
  });
22345
22348
  };
22346
- var jC = {
22349
+ var MC = {
22347
22350
  __init__: [
22348
22351
  "createMoveSnapping",
22349
22352
  "resizeSnapping",
@@ -22352,8 +22355,8 @@ var jC = {
22352
22355
  createMoveSnapping: ["type", zn],
22353
22356
  resizeSnapping: ["type", Go],
22354
22357
  snapping: ["type", va]
22355
- }, PC = {
22356
- __depends__: [jC],
22358
+ }, jC = {
22359
+ __depends__: [MC],
22357
22360
  __init__: ["createMoveSnapping"],
22358
22361
  createMoveSnapping: ["type", lo]
22359
22362
  };
@@ -22400,14 +22403,14 @@ Ko.prototype.init = function() {
22400
22403
  return t.parent && (t = parent), !(n.type == "startEvent" && (!t.children || t.children.find((a) => a.type == n.type) != null));
22401
22404
  }), this.addRule("shape.resize", function(e) {
22402
22405
  var t = e.shape;
22403
- return D0(t);
22406
+ return L0(t);
22404
22407
  });
22405
22408
  };
22406
22409
  Ko.prototype.canConnect = Ir;
22407
22410
  function Ir(e, t, n) {
22408
22411
  return t.type && e.type && e.type != "endEvent" ? e.id == t.id ? !1 : { type: "myline" } : !1;
22409
22412
  }
22410
- var BC = {
22413
+ var PC = {
22411
22414
  __init__: ["myRuleProvider"],
22412
22415
  myRuleProvider: ["type", Ko]
22413
22416
  };
@@ -22476,18 +22479,18 @@ jl.prototype.getPaletteEntries = function() {
22476
22479
  }
22477
22480
  return l;
22478
22481
  };
22479
- var HC = {
22482
+ var BC = {
22480
22483
  __init__: ["paletteProvider"],
22481
22484
  paletteProvider: ["type", jl]
22482
22485
  };
22483
- var OC = 250;
22484
- function IC(e, t) {
22486
+ var HC = 250;
22487
+ function OC(e, t) {
22485
22488
  t || (t = {});
22486
22489
  function n(u) {
22487
22490
  return u.source === e ? 1 : -1;
22488
22491
  }
22489
- var a = t.defaultDistance || 50, o = t.direction || "e", i = t.filter, r = t.getWeight || n, l = t.maxDistance || OC, c = t.reference || "start";
22490
- i || (i = zC);
22492
+ var a = t.defaultDistance || 50, o = t.direction || "e", i = t.filter, r = t.getWeight || n, l = t.maxDistance || HC, c = t.reference || "start";
22493
+ i || (i = IC);
22491
22494
  function s(u, h) {
22492
22495
  return o === "n" ? c === "start" ? lt(u).top - lt(h).bottom : c === "center" ? lt(u).top - Rt(h).y : lt(u).top - lt(h).top : o === "w" ? c === "start" ? lt(u).left - lt(h).right : c === "center" ? lt(u).left - Rt(h).x : lt(u).left - lt(h).left : o === "s" ? c === "start" ? lt(h).top - lt(u).bottom : c === "center" ? Rt(h).y - lt(u).bottom : lt(h).bottom - lt(u).bottom : c === "start" ? lt(h).left - lt(u).right : c === "center" ? Rt(h).x - lt(u).right : lt(h).right - lt(u).right;
22493
22496
  }
@@ -22513,14 +22516,14 @@ function IC(e, t) {
22513
22516
  return p < 0 || p > l || (u[String(p)] || (u[String(p)] = 0), u[String(p)] += 1 * g, (!u.distance || u[u.distance] < u[String(p)]) && (u.distance = p)), u;
22514
22517
  }, {}).distance || a;
22515
22518
  }
22516
- function zC() {
22519
+ function IC() {
22517
22520
  return !0;
22518
22521
  }
22519
- var LC = 100;
22522
+ var zC = 100;
22520
22523
  function vd(e, t, n) {
22521
- e.on("autoPlace", LC, function(a) {
22524
+ e.on("autoPlace", zC, function(a) {
22522
22525
  var o = a.shape, i = a.source;
22523
- return DC(i, o);
22526
+ return LC(i, o);
22524
22527
  }), e.on("autoPlace.end", function(a) {
22525
22528
  n.scrollToElement(a.shape);
22526
22529
  }), this.append = function(a, o, i) {
@@ -22543,7 +22546,7 @@ vd.$inject = [
22543
22546
  "modeling",
22544
22547
  "canvas"
22545
22548
  ];
22546
- function DC(e, t, n) {
22549
+ function LC(e, t, n) {
22547
22550
  n || (n = {});
22548
22551
  var a = n.defaultDistance || 50, o = Rt(e);
22549
22552
  return {
@@ -22557,39 +22560,39 @@ function yd(e, t) {
22557
22560
  });
22558
22561
  }
22559
22562
  yd.$inject = ["eventBus", "selection"];
22560
- var $C = {
22563
+ var DC = {
22561
22564
  __init__: ["autoPlaceSelectionBehavior"],
22562
22565
  autoPlace: ["type", vd],
22563
22566
  autoPlaceSelectionBehavior: ["type", yd]
22564
- }, FC = 10, VC = (e, t) => e.type === t;
22565
- function NC(e) {
22567
+ }, $C = 10, FC = (e, t) => e.type === t;
22568
+ function VC(e) {
22566
22569
  return e.incoming.map((t) => t.source);
22567
22570
  }
22568
- function WC(e) {
22571
+ function NC(e) {
22569
22572
  return e.outgoing.map((t) => t.target);
22570
22573
  }
22571
22574
  function hr(e) {
22572
- return WC(e).concat(NC(e));
22575
+ return NC(e).concat(VC(e));
22573
22576
  }
22574
- function UC(e) {
22577
+ function WC(e) {
22575
22578
  let t = hr(e);
22576
22579
  return e.host && (t = t.concat(hr(e.host))), e.attachers && (t = t.concat(e.attachers.reduce((n, a) => n.concat(hr(a)), []))), t.filter((n) => n.type !== "myline");
22577
22580
  }
22578
- function YC(e, t, n) {
22581
+ function UC(e, t, n) {
22579
22582
  const a = {
22580
22583
  x: t.x - n.width / 2,
22581
22584
  y: t.y - n.height / 2,
22582
22585
  width: n.width,
22583
22586
  height: n.height
22584
22587
  };
22585
- return Pn(UC(e), (o) => o === n ? !1 : oa(o, a, FC) === "intersect");
22588
+ return Pn(WC(e), (o) => o === n ? !1 : oa(o, a, $C) === "intersect");
22586
22589
  }
22587
- function JC(e, t, n, a) {
22590
+ function YC(e, t, n, a) {
22588
22591
  let o;
22589
- for (; o = YC(e, n, t); ) n = a(t, n, o);
22592
+ for (; o = UC(e, n, t); ) n = a(t, n, o);
22590
22593
  return n;
22591
22594
  }
22592
- function GC(e) {
22595
+ function JC(e) {
22593
22596
  return function(t, n, a) {
22594
22597
  const o = {
22595
22598
  x: n.x,
@@ -22603,31 +22606,31 @@ function GC(e) {
22603
22606
  }), o;
22604
22607
  };
22605
22608
  }
22606
- function KC(e, t) {
22607
- return qC(e, t);
22609
+ function GC(e, t) {
22610
+ return KC(e, t);
22608
22611
  }
22609
- function qC(e, t) {
22610
- const n = lt(e), a = Rt(e), o = IC(e, { filter: (l) => VC(l, "myline") }), i = 30, r = 80;
22611
- return JC(e, t, {
22612
+ function KC(e, t) {
22613
+ const n = lt(e), a = Rt(e), o = OC(e, { filter: (l) => FC(l, "myline") }), i = 30, r = 80;
22614
+ return YC(e, t, {
22612
22615
  x: n.right + o + t.width / 2,
22613
- y: a.y + XC("left", r)
22614
- }, GC({ y: {
22616
+ y: a.y + qC("left", r)
22617
+ }, JC({ y: {
22615
22618
  margin: i,
22616
22619
  minDistance: r
22617
22620
  } }));
22618
22621
  }
22619
- function XC(e, t) {
22622
+ function qC(e, t) {
22620
22623
  return e.indexOf("top") !== -1 ? -1 * t : e.indexOf("bottom") !== -1 ? t : 0;
22621
22624
  }
22622
22625
  function md(e) {
22623
22626
  e.on("autoPlace", (t) => {
22624
22627
  const { shape: n, source: a } = t;
22625
- return KC(a, n);
22628
+ return GC(a, n);
22626
22629
  });
22627
22630
  }
22628
22631
  md.$inject = ["eventBus"];
22629
- var ZC = {
22630
- __depends__: [$C],
22632
+ var XC = {
22633
+ __depends__: [DC],
22631
22634
  __init__: ["myAutoPlace"],
22632
22635
  myAutoPlace: ["type", md]
22633
22636
  };
@@ -22704,10 +22707,10 @@ Pl.prototype.getContextPadEntries = function(e) {
22704
22707
  }
22705
22708
  }, d;
22706
22709
  };
22707
- var QC = {
22710
+ var ZC = {
22708
22711
  __init__: ["ContextPadProvider"],
22709
22712
  ContextPadProvider: ["type", Pl]
22710
- }, e1 = /* @__PURE__ */ pe({
22713
+ }, QC = /* @__PURE__ */ pe({
22711
22714
  name: "JWorkflow",
22712
22715
  __name: "workflow",
22713
22716
  props: {
@@ -22797,29 +22800,29 @@ var QC = {
22797
22800
  l = new gc({
22798
22801
  canvas: { container: i.value },
22799
22802
  modules: [
22800
- yx,
22803
+ vx,
22801
22804
  ol,
22802
- _x,
22803
- Ox,
22805
+ wx,
22806
+ Hx,
22804
22807
  ou,
22805
- J_,
22806
- Dx,
22808
+ Y_,
22809
+ Lx,
22810
+ $x,
22807
22811
  Fx,
22808
- Vx,
22809
22812
  Du,
22810
22813
  du,
22811
- Qx,
22814
+ Zx,
22812
22815
  ld,
22813
- iC,
22816
+ oC,
22814
22817
  pu,
22815
22818
  T,
22816
- ZC,
22819
+ XC,
22817
22820
  Vu,
22818
- _C,
22819
- QC,
22820
- HC,
22821
+ wC,
22822
+ ZC,
22821
22823
  BC,
22822
22824
  PC,
22825
+ jC,
22823
22826
  Nu
22824
22827
  ]
22825
22828
  });
@@ -22869,7 +22872,7 @@ var QC = {
22869
22872
  class: "j-work-flow"
22870
22873
  }, null, 512));
22871
22874
  }
22872
- }), t1 = e1, n1 = Ce(U_), a1 = Ce(t1), o1 = /* @__PURE__ */ pe({
22875
+ }), e1 = QC, t1 = Ce(W_), n1 = Ce(e1), a1 = /* @__PURE__ */ pe({
22873
22876
  name: "JInputCards",
22874
22877
  __name: "input-cards",
22875
22878
  props: {
@@ -23023,7 +23026,7 @@ var QC = {
23023
23026
  }, null, 8, ["label"])) : ee("", !0)], 4)) : ee("", !0)], 64);
23024
23027
  };
23025
23028
  }
23026
- }), i1 = o1, r1 = Ce(i1), l1 = [
23029
+ }), o1 = a1, i1 = Ce(o1), r1 = [
23027
23030
  wr,
23028
23031
  Ph,
23029
23032
  Oh,
@@ -23064,50 +23067,50 @@ var QC = {
23064
23067
  py,
23065
23068
  Py,
23066
23069
  zy,
23067
- nb,
23068
- sb,
23070
+ tb,
23071
+ lb,
23072
+ ub,
23069
23073
  db,
23070
- fb,
23074
+ mb,
23071
23075
  bb,
23072
- wb,
23073
- Sb,
23074
- Eb,
23075
- Ob,
23076
+ Cb,
23077
+ Rb,
23078
+ Hb,
23076
23079
  Ky,
23077
23080
  dm,
23078
23081
  $c,
23079
- Fb,
23080
- Ub,
23081
- Gb,
23082
- Xb,
23083
- e0,
23084
- a0,
23085
- l0,
23086
- d0,
23087
- p0,
23082
+ $b,
23083
+ Wb,
23084
+ Jb,
23085
+ qb,
23086
+ Qb,
23087
+ n0,
23088
+ r0,
23089
+ u0,
23090
+ h0,
23091
+ t1,
23088
23092
  n1,
23089
- a1,
23090
- r1
23091
- ], s1 = (e) => {
23092
- l1.forEach((t) => {
23093
+ i1
23094
+ ], l1 = (e) => {
23095
+ r1.forEach((t) => {
23093
23096
  e.component(t.name, t);
23094
23097
  });
23095
- }, eS = { install: s1 };
23098
+ }, Q1 = { install: l1 };
23096
23099
  export {
23097
23100
  gh as EncryptionFactory,
23098
23101
  Mc as EventBus,
23099
- K1 as HashingFactory,
23102
+ G1 as HashingFactory,
23100
23103
  Ut as INJECT_KEYS,
23101
23104
  hp as JAutoComplete,
23102
23105
  iv as JBarcode,
23103
23106
  wr as JButton,
23104
- nb as JButtonSelect,
23107
+ tb as JButtonSelect,
23105
23108
  Ph as JButtons,
23106
23109
  op as JCascaderSelect,
23107
23110
  lp as JCheckbox,
23108
23111
  $y as JCodeMirror,
23109
- a0 as JCollapse,
23110
- fb as JComp,
23112
+ n0 as JCollapse,
23113
+ db as JComp,
23111
23114
  sv as JCount,
23112
23115
  Hv as JCountUp,
23113
23116
  Vv as JDataPanel,
@@ -23119,63 +23122,63 @@ export {
23119
23122
  wg as JDrawer,
23120
23123
  Ah as JDynamicLayer,
23121
23124
  ev as JEcharts,
23122
- l0 as JEditor,
23123
- bb as JForm,
23124
- wb as JFormItem,
23125
- Eb as JGuid,
23125
+ r0 as JEditor,
23126
+ mb as JForm,
23127
+ bb as JFormItem,
23128
+ Rb as JGuid,
23126
23129
  Xv as JHpanel,
23127
23130
  Uh as JIcon,
23128
23131
  Oh as JInput,
23129
23132
  iy as JInputButton,
23130
- r1 as JInputCards,
23133
+ i1 as JInputCards,
23131
23134
  sy as JInputCode,
23132
23135
  dy as JInputColor,
23133
23136
  Mv as JInputCount,
23134
23137
  zy as JInputDecoratedTitle,
23135
- Ub as JInputLayer,
23136
- p0 as JInputMap,
23137
- Fb as JInputRows,
23138
+ Wb as JInputLayer,
23139
+ h0 as JInputMap,
23140
+ $b as JInputRows,
23138
23141
  kg as JInputTag,
23139
23142
  Lc as JLayer,
23140
- Gb as JLayerForm,
23143
+ Jb as JLayerForm,
23141
23144
  _p as JLayout,
23142
- d0 as JMap,
23145
+ u0 as JMap,
23143
23146
  dm as JMenu,
23144
23147
  Wh as JNowTime,
23145
23148
  up as JNumber,
23146
- Sb as JPage,
23147
- Ob as JPanel,
23149
+ Cb as JPage,
23150
+ Hb as JPanel,
23148
23151
  Kh as JRadio,
23149
23152
  Tg as JRate,
23150
23153
  tp as JSelect,
23151
23154
  jg as JSlider,
23152
23155
  Ky as JSliderCaptcha,
23153
- Xb as JSwitch,
23156
+ qb as JSwitch,
23154
23157
  Wp as JTable,
23155
23158
  $c as JTablePanel,
23156
- e0 as JTabs,
23159
+ Qb as JTabs,
23157
23160
  Fh as JTime,
23158
23161
  py as JTitle,
23159
- sb as JTree,
23160
- db as JTreeSelect,
23162
+ lb as JTree,
23163
+ ub as JTreeSelect,
23161
23164
  Xg as JUpload,
23162
23165
  ny as JVpanel,
23163
- a1 as JWorkflow,
23164
- n1 as JWorkflowViewer,
23166
+ n1 as JWorkflow,
23167
+ t1 as JWorkflowViewer,
23165
23168
  xt as assign,
23166
23169
  Ur as buildShortUUID,
23167
23170
  na as buildUUID,
23168
23171
  Co as clearJson,
23169
23172
  Si as clone,
23170
23173
  fn as deepClone,
23171
- eS as default,
23172
- X1 as eventBus,
23174
+ Q1 as default,
23175
+ q1 as eventBus,
23173
23176
  ti as formatToDate,
23174
23177
  Gr as formatToDateTime,
23175
23178
  Ra as fullScreenLoading,
23176
23179
  xn as getCompConfig,
23177
23180
  Jr as getCompType,
23178
- G1 as getDayText,
23181
+ J1 as getDayText,
23179
23182
  wc as getFunction,
23180
23183
  Yr as getIsInputComp,
23181
23184
  Wf as getIsTableInputComp,
@@ -23185,25 +23188,25 @@ export {
23185
23188
  Mf as is,
23186
23189
  br as isArray,
23187
23190
  Qt as isNullOrEmpty,
23188
- V1 as isObject,
23191
+ F1 as isObject,
23189
23192
  yh as loadBMap,
23190
- Y1 as lowerFirst,
23191
- q1 as myAesDecrypt,
23193
+ U1 as lowerFirst,
23194
+ K1 as myAesDecrypt,
23192
23195
  zf as numberToChinese,
23193
23196
  Lf as numberToThousandSeparator,
23194
- N1 as pagination,
23195
- W1 as paginationEx,
23197
+ V1 as pagination,
23198
+ N1 as paginationEx,
23196
23199
  Il as set,
23197
23200
  $f as setGroupMap,
23198
23201
  Vf as toArray,
23199
23202
  ei as toDecimal,
23200
23203
  Nf as toLeafArray,
23201
- J1 as toSimpleTree,
23204
+ Y1 as toSimpleTree,
23202
23205
  Ff as toTree,
23203
- U1 as uniqueArray,
23206
+ W1 as uniqueArray,
23204
23207
  Df as upFirst,
23205
23208
  yt as useAppInject,
23206
- Z1 as useAppProvide,
23209
+ X1 as useAppProvide,
23207
23210
  xh as useAuthPageInject,
23208
23211
  Ch as useAuthPageProvide,
23209
23212
  mh as useCompInject,
@@ -23214,7 +23217,7 @@ export {
23214
23217
  _h as useHMenuProvide,
23215
23218
  Vn as useInject,
23216
23219
  Xa as useLayer,
23217
- Q1 as useLayerInject,
23220
+ Z1 as useLayerInject,
23218
23221
  Sh as useLayerProvide,
23219
23222
  Oo as useMenuInject,
23220
23223
  bh as useMenuProvide,