@das-fed/ui 6.4.0-dev.55.3 → 6.4.0-dev.55.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
  3. package/packages/business-components/change-enterprises/index.js +44 -44
  4. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  5. package/packages/business-components/change-pwd/i18n/index.d.ts +18 -0
  6. package/packages/business-components/change-pwd/index.js +127 -122
  7. package/packages/business-components/change-pwd/index.js.gz +0 -0
  8. package/packages/business-components/currency-page/i18n/index.d.ts +8 -4
  9. package/packages/business-components/currency-page/index.js +14 -6
  10. package/packages/business-components/currency-page/index.js.gz +0 -0
  11. package/packages/business-components/device-panel/i18n/index.d.ts +239 -0
  12. package/packages/business-components/device-panel/index.js +9953 -9905
  13. package/packages/business-components/device-panel/index.js.gz +0 -0
  14. package/packages/business-components/device-panel/style.css +1 -1
  15. package/packages/business-components/device-panel/style.css.gz +0 -0
  16. package/packages/business-components/export-button/i18n/index.d.ts +11 -0
  17. package/packages/business-components/export-button/index.js +82 -77
  18. package/packages/business-components/export-button/index.js.gz +0 -0
  19. package/packages/business-components/import-button/i18n/index.d.ts +26 -0
  20. package/packages/business-components/import-button/index.js +288 -279
  21. package/packages/business-components/import-button/index.js.gz +0 -0
  22. package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
  23. package/packages/business-components/model-table-dialog/index.js +433 -433
  24. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  25. package/packages/business-components/process-configuration/i18n/index.d.ts +31 -0
  26. package/packages/business-components/process-configuration/index.js +205 -202
  27. package/packages/business-components/process-configuration/index.js.gz +0 -0
  28. package/packages/business-components/process-form/i18n/index.d.ts +80 -0
  29. package/packages/business-components/process-form/index.js +906 -887
  30. package/packages/business-components/process-form/index.js.gz +0 -0
  31. package/packages/business-components/process-log/i18n/index.d.ts +10 -0
  32. package/packages/business-components/process-log/index.js +245 -245
  33. package/packages/business-components/process-log/index.js.gz +0 -0
  34. package/packages/business-components/process-search-form/i18n/index.d.ts +10 -1
  35. package/packages/business-components/process-search-form/index.js +463 -463
  36. package/packages/business-components/process-search-form/index.js.gz +0 -0
  37. package/packages/business-components/process-table/i18n/index.d.ts +8 -0
  38. package/packages/business-components/process-table/index.js +128 -128
  39. package/packages/business-components/process-table/index.js.gz +0 -0
  40. package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
  41. package/packages/business-components/upload-file/index.js +32 -31
  42. package/packages/business-components/upload-file/index.js.gz +0 -0
  43. package/packages/business-components/urgent-panel/i18n/index.d.ts +90 -0
  44. package/packages/business-components/urgent-panel/index.js +1237 -1223
  45. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  46. package/packages/business-components/user-org-dialog/i18n/index.d.ts +15 -0
  47. package/packages/business-components/user-org-dialog/index.js +223 -219
  48. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  49. package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
  50. package/packages/business-components/video-dialog/index.js +233 -233
  51. package/packages/business-components/video-dialog/index.js.gz +0 -0
  52. package/packages/components/breadcrumb/index.d.ts +9 -3
  53. package/packages/components/breadcrumb/index.js +48 -45
  54. package/packages/components/breadcrumb/index.js.gz +0 -0
  55. package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +3 -1
  56. package/packages/components/breadcrumb/src/type.d.ts +1 -0
  57. package/packages/components/breadcrumb/style.css +1 -1
  58. package/packages/components/breadcrumb/style.css.gz +0 -0
  59. package/packages/components/calendar/i18n/index.d.ts +92 -46
  60. package/packages/components/calendar/index.js +277 -277
  61. package/packages/components/calendar/index.js.gz +0 -0
  62. package/packages/components/cascader/i18n/index.d.ts +2 -1
  63. package/packages/components/cascader/index.js +22 -24
  64. package/packages/components/cascader/index.js.gz +0 -0
  65. package/packages/components/color-picker/i18n/index.d.ts +2 -1
  66. package/packages/components/color-picker/index.js +39 -41
  67. package/packages/components/color-picker/index.js.gz +0 -0
  68. package/packages/components/custom-search-item/i18n/index.d.ts +2 -1
  69. package/packages/components/custom-search-item/index.js +17 -19
  70. package/packages/components/custom-search-item/index.js.gz +0 -0
  71. package/packages/components/date-picker/i18n/index.d.ts +6 -3
  72. package/packages/components/date-picker/index.js +519 -518
  73. package/packages/components/date-picker/index.js.gz +0 -0
  74. package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -1
  75. package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
  76. package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
  77. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
  78. package/packages/components/date-picker/style.css +1 -1
  79. package/packages/components/date-picker/style.css.gz +0 -0
  80. package/packages/components/dialog/i18n/index.d.ts +12 -6
  81. package/packages/components/dialog/index.js +58 -58
  82. package/packages/components/dialog/index.js.gz +0 -0
  83. package/packages/components/dimple-layout/i18n/index.d.ts +20 -10
  84. package/packages/components/dimple-layout/index.js +287 -283
  85. package/packages/components/dimple-layout/index.js.gz +0 -0
  86. package/packages/components/dropdown/i18n/index.d.ts +2 -1
  87. package/packages/components/dropdown/index.js +14 -16
  88. package/packages/components/dropdown/index.js.gz +0 -0
  89. package/packages/components/empty/i18n/index.d.ts +1 -0
  90. package/packages/components/empty/index.js +11 -11
  91. package/packages/components/empty/index.js.gz +0 -0
  92. package/packages/components/image-upload/i18n/index.d.ts +6 -0
  93. package/packages/components/image-upload/index.js +87 -78
  94. package/packages/components/image-upload/index.js.gz +0 -0
  95. package/packages/components/input/i18n/index.d.ts +3 -0
  96. package/packages/components/input/index.js +28 -28
  97. package/packages/components/input/index.js.gz +0 -0
  98. package/packages/components/live-player/i18n/index.d.ts +2 -0
  99. package/packages/components/live-player/index.js +144 -143
  100. package/packages/components/live-player/index.js.gz +0 -0
  101. package/packages/components/loading/i18n/index.d.ts +1 -0
  102. package/packages/components/loading/index.js +53 -53
  103. package/packages/components/loading/index.js.gz +0 -0
  104. package/packages/components/map/i18n/index.d.ts +4 -0
  105. package/packages/components/map/index.js +73 -68
  106. package/packages/components/map/index.js.gz +0 -0
  107. package/packages/components/menu-aside/i18n/index.d.ts +1 -0
  108. package/packages/components/menu-aside/index.js +1 -1
  109. package/packages/components/menu-aside/index.js.gz +0 -0
  110. package/packages/components/message/i18n/index.d.ts +1 -0
  111. package/packages/components/message/index.js +1 -1
  112. package/packages/components/message/index.js.gz +0 -0
  113. package/packages/components/notification/i18n/index.d.ts +1 -0
  114. package/packages/components/notification/index.js +1 -1
  115. package/packages/components/notification/index.js.gz +0 -0
  116. package/packages/components/pagination/i18n/index.d.ts +4 -0
  117. package/packages/components/pagination/index.js +140 -139
  118. package/packages/components/pagination/index.js.gz +0 -0
  119. package/packages/components/pagination/style.css +1 -1
  120. package/packages/components/pagination/style.css.gz +0 -0
  121. package/packages/components/popover/i18n/index.d.ts +2 -0
  122. package/packages/components/popover/index.js +7 -7
  123. package/packages/components/popover/index.js.gz +0 -0
  124. package/packages/components/preview/i18n/index.d.ts +1 -0
  125. package/packages/components/preview/index.js +6 -6
  126. package/packages/components/preview/index.js.gz +0 -0
  127. package/packages/components/rich-editor/i18n/index.d.ts +8 -4
  128. package/packages/components/rich-editor/index.js +1110 -1094
  129. package/packages/components/rich-editor/index.js.gz +0 -0
  130. package/packages/components/search-form/i18n/index.d.ts +6 -0
  131. package/packages/components/search-form/index.js +230 -230
  132. package/packages/components/search-form/index.js.gz +0 -0
  133. package/packages/components/select/i18n/index.d.ts +10 -5
  134. package/packages/components/select/index.js +183 -183
  135. package/packages/components/select/index.js.gz +0 -0
  136. package/packages/components/select-list/i18n/index.d.ts +8 -4
  137. package/packages/components/select-list/index.js +73 -73
  138. package/packages/components/select-list/index.js.gz +0 -0
  139. package/packages/components/special-range-picker-month/i18n/index.d.ts +8 -4
  140. package/packages/components/special-range-picker-month/index.js +72 -72
  141. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  142. package/packages/components/special-range-picker-year/i18n/index.d.ts +6 -3
  143. package/packages/components/special-range-picker-year/index.js +99 -99
  144. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  145. package/packages/components/spin/i18n/index.d.ts +1 -0
  146. package/packages/components/spin/index.js +27 -27
  147. package/packages/components/spin/index.js.gz +0 -0
  148. package/packages/components/table/i18n/index.d.ts +49 -0
  149. package/packages/components/table/index.js +3657 -3585
  150. package/packages/components/table/index.js.gz +0 -0
  151. package/packages/components/table/src/type.d.ts +5 -1
  152. package/packages/components/table/style.css +1 -1
  153. package/packages/components/table/style.css.gz +0 -0
  154. package/packages/components/tabs/i18n/index.d.ts +3 -0
  155. package/packages/components/tabs/index.js +63 -63
  156. package/packages/components/tabs/index.js.gz +0 -0
  157. package/packages/components/tooltip/i18n/index.d.ts +1 -0
  158. package/packages/components/tooltip/index.js +16 -16
  159. package/packages/components/tooltip/index.js.gz +0 -0
  160. package/packages/components/tree/i18n/index.d.ts +7 -0
  161. package/packages/components/tree/index.js +219 -218
  162. package/packages/components/tree/index.js.gz +0 -0
  163. package/packages/components/upload/i18n/index.d.ts +5 -0
  164. package/packages/components/upload/index.js +68 -68
  165. package/packages/components/upload/index.js.gz +0 -0
  166. package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
  167. package/packages/components/virtual-tree/index.js +15 -15
  168. package/packages/components/virtual-tree/index.js.gz +0 -0
@@ -5,16 +5,20 @@ import { createService as vh } from "@das-fed/utils/create-api-service";
5
5
  import { DasTooltip as xh } from "@das-fed/ui/packages/components/tooltip/index";
6
6
  import { withInstall as ua } from "@das-fed/utils/with-install/index";
7
7
  const wh = {
8
- 导入: { "zh-CN": "导入", en: "Import" },
9
- 背景图片: { "zh-CN": "背景图片", en: "Background image" },
10
- 请输入文本: { "zh-CN": "请输入文本", en: "Please enter text" },
11
- 单击画布两点连线: { "zh-CN": "单击画布两点连线", en: "Click two points on the canvas to connect" },
12
- 右键或双击可停止: { "zh-CN": "右键或双击可停止", en: "Right-click or double-click to stop" },
13
- 删除: { "zh-CN": "删除", en: "Delete" },
14
- 移到顶层: { "zh-CN": "移到顶层", en: "Move to top level" },
15
- 上移一层: { "zh-CN": "上移一层", en: "Move up one level" },
16
- 下移一层: { "zh-CN": "下移一层", en: "Move down one level" },
17
- 移到底层: { "zh-CN": "移到底层", en: "Move to bottom level" }
8
+ 导入: { "zh-CN": "导入", en: "Import", _appCode: "framework" },
9
+ 背景图片: { "zh-CN": "背景图片", en: "Background Image", _appCode: "framework" },
10
+ 请输入文本: { "zh-CN": "请输入文本", en: "Please Enter Text", _appCode: "framework" },
11
+ 单击画布两点连线: {
12
+ "zh-CN": "单击画布两点连线",
13
+ en: "Click Two Points on the Canvas to Connect",
14
+ _appCode: "framework"
15
+ },
16
+ 右键或双击可停止: { "zh-CN": "右键或双击可停止", en: "Right-Click or Double-Click to Stop", _appCode: "framework" },
17
+ 删除: { "zh-CN": "删除", en: "Delete", _appCode: "framework" },
18
+ 移到顶层: { "zh-CN": "移到顶层", en: "Move to Top Level", _appCode: "framework" },
19
+ 上移一层: { "zh-CN": "上移一层", en: "Move Up One Level", _appCode: "framework" },
20
+ 下移一层: { "zh-CN": "下移一层", en: "Move Down One Level", _appCode: "framework" },
21
+ 移到底层: { "zh-CN": "移到底层", en: "Move to Bottom Level", _appCode: "framework" }
18
22
  };
19
23
  function Ch() {
20
24
  this.__data__ = [], this.size = 0;
@@ -72,20 +76,20 @@ function Ih(i) {
72
76
  function Dh(i) {
73
77
  return this.__data__.has(i);
74
78
  }
75
- var da = typeof global == "object" && global && global.Object === Object && global, Rh = typeof self == "object" && self && self.Object === Object && self, Qt = da || Rh || Function("return this")(), Wt = Qt.Symbol, fa = Object.prototype, Lh = fa.hasOwnProperty, jh = fa.toString, kn = Wt ? Wt.toStringTag : void 0;
79
+ var da = typeof global == "object" && global && global.Object === Object && global, Rh = typeof self == "object" && self && self.Object === Object && self, Qt = da || Rh || Function("return this")(), Wt = Qt.Symbol, fa = Object.prototype, Lh = fa.hasOwnProperty, jh = fa.toString, Bn = Wt ? Wt.toStringTag : void 0;
76
80
  function $h(i) {
77
- var t = Lh.call(i, kn), e = i[kn];
81
+ var t = Lh.call(i, Bn), e = i[Bn];
78
82
  try {
79
- i[kn] = void 0;
83
+ i[Bn] = void 0;
80
84
  var n = !0;
81
85
  } catch {
82
86
  }
83
87
  var s = jh.call(i);
84
- return n && (t ? i[kn] = e : delete i[kn]), s;
88
+ return n && (t ? i[Bn] = e : delete i[Bn]), s;
85
89
  }
86
- var Bh = Object.prototype, kh = Bh.toString;
90
+ var kh = Object.prototype, Bh = kh.toString;
87
91
  function zh(i) {
88
- return kh.call(i);
92
+ return Bh.call(i);
89
93
  }
90
94
  var _h = "[object Null]", Vh = "[object Undefined]", Yr = Wt ? Wt.toStringTag : void 0;
91
95
  function Ie(i) {
@@ -274,10 +278,10 @@ function ma(i, t) {
274
278
  var e = i.length, n = Qr ? Qr(e) : new i.constructor(e);
275
279
  return i.copy(n), n;
276
280
  }
277
- var Bi = Qt.Uint8Array;
281
+ var ki = Qt.Uint8Array;
278
282
  function or(i) {
279
283
  var t = new i.constructor(i.byteLength);
280
- return new Bi(t).set(new Bi(i)), t;
284
+ return new ki(t).set(new ki(i)), t;
281
285
  }
282
286
  function ba(i, t) {
283
287
  var e = t ? or(i.buffer) : i.buffer;
@@ -333,21 +337,21 @@ function lr(i) {
333
337
  function Ze(i) {
334
338
  return i != null && lr(i.length) && !rr(i);
335
339
  }
336
- function ki(i) {
340
+ function Bi(i) {
337
341
  return Zt(i) && Ze(i);
338
342
  }
339
343
  function Iu() {
340
344
  return !1;
341
345
  }
342
- var Ca = typeof exports == "object" && exports && !exports.nodeType && exports, no = Ca && typeof module == "object" && module && !module.nodeType && module, Du = no && no.exports === Ca, io = Du ? Qt.Buffer : void 0, Ru = io ? io.isBuffer : void 0, rn = Ru || Iu, Lu = "[object Object]", ju = Function.prototype, $u = Object.prototype, Sa = ju.toString, Bu = $u.hasOwnProperty, ku = Sa.call(Object);
346
+ var Ca = typeof exports == "object" && exports && !exports.nodeType && exports, no = Ca && typeof module == "object" && module && !module.nodeType && module, Du = no && no.exports === Ca, io = Du ? Qt.Buffer : void 0, Ru = io ? io.isBuffer : void 0, rn = Ru || Iu, Lu = "[object Object]", ju = Function.prototype, $u = Object.prototype, Sa = ju.toString, ku = $u.hasOwnProperty, Bu = Sa.call(Object);
343
347
  function ae(i) {
344
348
  if (!Zt(i) || Ie(i) != Lu)
345
349
  return !1;
346
350
  var t = ar(i);
347
351
  if (t === null)
348
352
  return !0;
349
- var e = Bu.call(t, "constructor") && t.constructor;
350
- return typeof e == "function" && e instanceof e && Sa.call(e) == ku;
353
+ var e = ku.call(t, "constructor") && t.constructor;
354
+ return typeof e == "function" && e instanceof e && Sa.call(e) == Bu;
351
355
  }
352
356
  var zu = "[object Arguments]", _u = "[object Array]", Vu = "[object Boolean]", Fu = "[object Date]", Hu = "[object Error]", Gu = "[object Function]", Uu = "[object Map]", qu = "[object Number]", Wu = "[object Object]", Xu = "[object RegExp]", Yu = "[object Set]", Ju = "[object String]", Zu = "[object WeakMap]", Ku = "[object ArrayBuffer]", Qu = "[object DataView]", td = "[object Float32Array]", ed = "[object Float64Array]", nd = "[object Int8Array]", id = "[object Int16Array]", sd = "[object Int32Array]", rd = "[object Uint8Array]", od = "[object Uint8ClampedArray]", ad = "[object Uint16Array]", ld = "[object Uint32Array]", ht = {};
353
357
  ht[td] = ht[ed] = ht[nd] = ht[id] = ht[sd] = ht[rd] = ht[od] = ht[ad] = ht[ld] = !0;
@@ -437,7 +441,7 @@ function Sd(i, t, e, n, s, r, o) {
437
441
  var h = r ? r(a, l, e + "", i, t, o) : void 0, d = h === void 0;
438
442
  if (d) {
439
443
  var u = jt(l), f = !u && rn(l), g = !u && !f && as(l);
440
- h = l, u || f || g ? jt(a) ? h = a : ki(a) ? h = ya(a) : f ? (d = !1, h = ma(l, !0)) : g ? (d = !1, h = ba(l, !0)) : h = [] : ae(l) || sn(l) ? (h = a, sn(a) ? h = Cd(a) : (!mt(a) || rr(a)) && (h = xa(l))) : d = !1;
444
+ h = l, u || f || g ? jt(a) ? h = a : Bi(a) ? h = ya(a) : f ? (d = !1, h = ma(l, !0)) : g ? (d = !1, h = ba(l, !0)) : h = [] : ae(l) || sn(l) ? (h = a, sn(a) ? h = Cd(a) : (!mt(a) || rr(a)) && (h = xa(l))) : d = !1;
441
445
  }
442
446
  d && (o.set(l, h), s(h, l, n, r, o), o.delete(l)), Rs(i, e, h);
443
447
  }
@@ -543,7 +547,7 @@ typeof window < "u" && function(i) {
543
547
  });
544
548
  });
545
549
  }([Element.prototype, Document.prototype, DocumentFragment.prototype]);
546
- class Bt {
550
+ class kt {
547
551
  get disposed() {
548
552
  return this._disposed === !0;
549
553
  }
@@ -561,7 +565,7 @@ class Bt {
561
565
  };
562
566
  }
563
567
  i.dispose = t;
564
- })(Bt || (Bt = {}));
568
+ })(kt || (kt = {}));
565
569
  class oo {
566
570
  constructor() {
567
571
  this.isDisposed = !1, this.items = /* @__PURE__ */ new Set();
@@ -661,7 +665,7 @@ var Ld = /^\s+/;
661
665
  function jd(i) {
662
666
  return i && i.slice(0, Rd(i) + 1).replace(Ld, "");
663
667
  }
664
- var co = NaN, $d = /^[-+]0x[0-9a-f]+$/i, Bd = /^0b[01]+$/i, kd = /^0o[0-7]+$/i, zd = parseInt;
668
+ var co = NaN, $d = /^[-+]0x[0-9a-f]+$/i, kd = /^0b[01]+$/i, Bd = /^0o[0-7]+$/i, zd = parseInt;
665
669
  function Gn(i) {
666
670
  if (typeof i == "number")
667
671
  return i;
@@ -674,8 +678,8 @@ function Gn(i) {
674
678
  if (typeof i != "string")
675
679
  return i === 0 ? i : +i;
676
680
  i = jd(i);
677
- var e = Bd.test(i);
678
- return e || kd.test(i) ? zd(i.slice(2), e ? 2 : 8) : $d.test(i) ? co : +i;
681
+ var e = kd.test(i);
682
+ return e || Bd.test(i) ? zd(i.slice(2), e ? 2 : 8) : $d.test(i) ? co : +i;
679
683
  }
680
684
  var js = Je(Qt, "WeakMap");
681
685
  function _d() {
@@ -818,7 +822,7 @@ function Ra(i) {
818
822
  function vf(i) {
819
823
  return i.split("");
820
824
  }
821
- var La = "\\ud800-\\udfff", xf = "\\u0300-\\u036f", wf = "\\ufe20-\\ufe2f", Cf = "\\u20d0-\\u20ff", Sf = xf + wf + Cf, Pf = "\\ufe0e\\ufe0f", Ef = "[" + La + "]", $s = "[" + Sf + "]", Bs = "\\ud83c[\\udffb-\\udfff]", Of = "(?:" + $s + "|" + Bs + ")", ja = "[^" + La + "]", $a = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ba = "[\\ud800-\\udbff][\\udc00-\\udfff]", Af = "\\u200d", ka = Of + "?", za = "[" + Pf + "]?", Mf = "(?:" + Af + "(?:" + [ja, $a, Ba].join("|") + ")" + za + ka + ")*", Tf = za + ka + Mf, Nf = "(?:" + [ja + $s + "?", $s, $a, Ba, Ef].join("|") + ")", If = RegExp(Bs + "(?=" + Bs + ")|" + Nf + Tf, "g");
825
+ var La = "\\ud800-\\udfff", xf = "\\u0300-\\u036f", wf = "\\ufe20-\\ufe2f", Cf = "\\u20d0-\\u20ff", Sf = xf + wf + Cf, Pf = "\\ufe0e\\ufe0f", Ef = "[" + La + "]", $s = "[" + Sf + "]", ks = "\\ud83c[\\udffb-\\udfff]", Of = "(?:" + $s + "|" + ks + ")", ja = "[^" + La + "]", $a = "(?:\\ud83c[\\udde6-\\uddff]){2}", ka = "[\\ud800-\\udbff][\\udc00-\\udfff]", Af = "\\u200d", Ba = Of + "?", za = "[" + Pf + "]?", Mf = "(?:" + Af + "(?:" + [ja, $a, ka].join("|") + ")" + za + Ba + ")*", Tf = za + Ba + Mf, Nf = "(?:" + [ja + $s + "?", $s, $a, ka, Ef].join("|") + ")", If = RegExp(ks + "(?=" + ks + ")|" + Nf + Tf, "g");
822
826
  function Df(i) {
823
827
  return i.match(If) || [];
824
828
  }
@@ -846,7 +850,7 @@ function $f(i) {
846
850
  return i == null ? void 0 : i[t];
847
851
  };
848
852
  }
849
- var Bf = {
853
+ var kf = {
850
854
  // Latin-1 Supplement block.
851
855
  À: "A",
852
856
  Á: "A",
@@ -1039,9 +1043,9 @@ var Bf = {
1039
1043
  œ: "oe",
1040
1044
  ʼn: "'n",
1041
1045
  ſ: "s"
1042
- }, kf = $f(Bf), zf = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, _f = "\\u0300-\\u036f", Vf = "\\ufe20-\\ufe2f", Ff = "\\u20d0-\\u20ff", Hf = _f + Vf + Ff, Gf = "[" + Hf + "]", Uf = RegExp(Gf, "g");
1046
+ }, Bf = $f(kf), zf = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, _f = "\\u0300-\\u036f", Vf = "\\ufe20-\\ufe2f", Ff = "\\u20d0-\\u20ff", Hf = _f + Vf + Ff, Gf = "[" + Hf + "]", Uf = RegExp(Gf, "g");
1043
1047
  function qf(i) {
1044
- return i = gi(i), i && i.replace(zf, kf).replace(Uf, "");
1048
+ return i = gi(i), i && i.replace(zf, Bf).replace(Uf, "");
1045
1049
  }
1046
1050
  var Wf = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
1047
1051
  function Xf(i) {
@@ -1118,13 +1122,13 @@ function il(i, t, e) {
1118
1122
  var n = t(i);
1119
1123
  return jt(i) ? n : fr(n, e(i));
1120
1124
  }
1121
- function ks(i) {
1125
+ function Bs(i) {
1122
1126
  return il(i, fi, gr);
1123
1127
  }
1124
1128
  function Dg(i) {
1125
1129
  return il(i, An, nl);
1126
1130
  }
1127
- var zs = Je(Qt, "DataView"), _s = Je(Qt, "Promise"), nn = Je(Qt, "Set"), bo = "[object Map]", Rg = "[object Object]", yo = "[object Promise]", vo = "[object Set]", xo = "[object WeakMap]", wo = "[object DataView]", Lg = Ye(zs), jg = Ye(ti), $g = Ye(_s), Bg = Ye(nn), kg = Ye(js), Gt = Ie;
1131
+ var zs = Je(Qt, "DataView"), _s = Je(Qt, "Promise"), nn = Je(Qt, "Set"), bo = "[object Map]", Rg = "[object Object]", yo = "[object Promise]", vo = "[object Set]", xo = "[object WeakMap]", wo = "[object DataView]", Lg = Ye(zs), jg = Ye(ti), $g = Ye(_s), kg = Ye(nn), Bg = Ye(js), Gt = Ie;
1128
1132
  (zs && Gt(new zs(new ArrayBuffer(1))) != wo || ti && Gt(new ti()) != bo || _s && Gt(_s.resolve()) != yo || nn && Gt(new nn()) != vo || js && Gt(new js()) != xo) && (Gt = function(i) {
1129
1133
  var t = Ie(i), e = t == Rg ? i.constructor : void 0, n = e ? Ye(e) : "";
1130
1134
  if (n)
@@ -1135,9 +1139,9 @@ var zs = Je(Qt, "DataView"), _s = Je(Qt, "Promise"), nn = Je(Qt, "Set"), bo = "[
1135
1139
  return bo;
1136
1140
  case $g:
1137
1141
  return yo;
1138
- case Bg:
1139
- return vo;
1140
1142
  case kg:
1143
+ return vo;
1144
+ case Bg:
1141
1145
  return xo;
1142
1146
  }
1143
1147
  return t;
@@ -1202,8 +1206,8 @@ var Po = on && on.isMap, gp = Po ? os(Po) : fp, pp = "[object Set]";
1202
1206
  function mp(i) {
1203
1207
  return Zt(i) && Gt(i) == pp;
1204
1208
  }
1205
- var Eo = on && on.isSet, bp = Eo ? os(Eo) : mp, yp = 1, vp = 2, xp = 4, sl = "[object Arguments]", wp = "[object Array]", Cp = "[object Boolean]", Sp = "[object Date]", Pp = "[object Error]", rl = "[object Function]", Ep = "[object GeneratorFunction]", Op = "[object Map]", Ap = "[object Number]", ol = "[object Object]", Mp = "[object RegExp]", Tp = "[object Set]", Np = "[object String]", Ip = "[object Symbol]", Dp = "[object WeakMap]", Rp = "[object ArrayBuffer]", Lp = "[object DataView]", jp = "[object Float32Array]", $p = "[object Float64Array]", Bp = "[object Int8Array]", kp = "[object Int16Array]", zp = "[object Int32Array]", _p = "[object Uint8Array]", Vp = "[object Uint8ClampedArray]", Fp = "[object Uint16Array]", Hp = "[object Uint32Array]", ct = {};
1206
- ct[sl] = ct[wp] = ct[Rp] = ct[Lp] = ct[Cp] = ct[Sp] = ct[jp] = ct[$p] = ct[Bp] = ct[kp] = ct[zp] = ct[Op] = ct[Ap] = ct[ol] = ct[Mp] = ct[Tp] = ct[Np] = ct[Ip] = ct[_p] = ct[Vp] = ct[Fp] = ct[Hp] = !0;
1209
+ var Eo = on && on.isSet, bp = Eo ? os(Eo) : mp, yp = 1, vp = 2, xp = 4, sl = "[object Arguments]", wp = "[object Array]", Cp = "[object Boolean]", Sp = "[object Date]", Pp = "[object Error]", rl = "[object Function]", Ep = "[object GeneratorFunction]", Op = "[object Map]", Ap = "[object Number]", ol = "[object Object]", Mp = "[object RegExp]", Tp = "[object Set]", Np = "[object String]", Ip = "[object Symbol]", Dp = "[object WeakMap]", Rp = "[object ArrayBuffer]", Lp = "[object DataView]", jp = "[object Float32Array]", $p = "[object Float64Array]", kp = "[object Int8Array]", Bp = "[object Int16Array]", zp = "[object Int32Array]", _p = "[object Uint8Array]", Vp = "[object Uint8ClampedArray]", Fp = "[object Uint16Array]", Hp = "[object Uint32Array]", ct = {};
1210
+ ct[sl] = ct[wp] = ct[Rp] = ct[Lp] = ct[Cp] = ct[Sp] = ct[jp] = ct[$p] = ct[kp] = ct[Bp] = ct[zp] = ct[Op] = ct[Ap] = ct[ol] = ct[Mp] = ct[Tp] = ct[Np] = ct[Ip] = ct[_p] = ct[Vp] = ct[Fp] = ct[Hp] = !0;
1207
1211
  ct[Pp] = ct[rl] = ct[Dp] = !1;
1208
1212
  function Un(i, t, e, n, s, r) {
1209
1213
  var o, a = t & yp, l = t & vp, c = t & xp;
@@ -1237,7 +1241,7 @@ function Un(i, t, e, n, s, r) {
1237
1241
  }) : gp(i) && i.forEach(function(m, b) {
1238
1242
  o.set(b, Un(m, t, e, b, i, r));
1239
1243
  });
1240
- var g = c ? l ? Dg : ks : l ? An : fi, p = h ? void 0 : g(i);
1244
+ var g = c ? l ? Dg : Bs : l ? An : fi, p = h ? void 0 : g(i);
1241
1245
  return Vd(p || i, function(m, b) {
1242
1246
  p && (b = m, m = i[b]), cr(o, b, Un(m, t, e, b, i, r));
1243
1247
  }), o;
@@ -1327,7 +1331,7 @@ function fm(i, t, e, n, s, r, o) {
1327
1331
  return !1;
1328
1332
  i = i.buffer, t = t.buffer;
1329
1333
  case um:
1330
- return !(i.byteLength != t.byteLength || !r(new Bi(i), new Bi(t)));
1334
+ return !(i.byteLength != t.byteLength || !r(new ki(i), new ki(t)));
1331
1335
  case nm:
1332
1336
  case im:
1333
1337
  case om:
@@ -1357,7 +1361,7 @@ function fm(i, t, e, n, s, r, o) {
1357
1361
  }
1358
1362
  var gm = 1, pm = Object.prototype, mm = pm.hasOwnProperty;
1359
1363
  function bm(i, t, e, n, s, r) {
1360
- var o = e & gm, a = ks(i), l = a.length, c = ks(t), h = c.length;
1364
+ var o = e & gm, a = Bs(i), l = a.length, c = Bs(t), h = c.length;
1361
1365
  if (l != h && !o)
1362
1366
  return !1;
1363
1367
  for (var d = l; d--; ) {
@@ -1522,7 +1526,7 @@ function $m(i, t, e, n) {
1522
1526
  t(n, s, e(s), o);
1523
1527
  }), n;
1524
1528
  }
1525
- function Bm(i, t) {
1529
+ function km(i, t) {
1526
1530
  return function(e, n) {
1527
1531
  var s = jt(e) ? Rm : $m, r = t ? t() : {};
1528
1532
  return s(e, i, br(n), r);
@@ -1530,11 +1534,11 @@ function Bm(i, t) {
1530
1534
  }
1531
1535
  var Es = function() {
1532
1536
  return Qt.Date.now();
1533
- }, km = "Expected a function", zm = Math.max, _m = Math.min;
1537
+ }, Bm = "Expected a function", zm = Math.max, _m = Math.min;
1534
1538
  function Vm(i, t, e) {
1535
1539
  var n, s, r, o, a, l, c = 0, h = !1, d = !1, u = !0;
1536
1540
  if (typeof i != "function")
1537
- throw new TypeError(km);
1541
+ throw new TypeError(Bm);
1538
1542
  t = Gn(t) || 0, mt(e) && (h = !!e.leading, d = "maxWait" in e, r = d ? zm(Gn(e.maxWait) || 0, t) : r, u = "trailing" in e ? !!e.trailing : u);
1539
1543
  function f(S) {
1540
1544
  var C = n, P = s;
@@ -1612,7 +1616,7 @@ function Um(i, t, e, n) {
1612
1616
  return l;
1613
1617
  }
1614
1618
  var qm = Tn(function(i, t) {
1615
- return ki(i) ? Um(i, ds(t, 1, ki, !0)) : [];
1619
+ return Bi(i) ? Um(i, ds(t, 1, Bi, !0)) : [];
1616
1620
  });
1617
1621
  function Wm(i, t) {
1618
1622
  var e = -1, n = Ze(i) ? Array(i.length) : [];
@@ -1620,7 +1624,7 @@ function Wm(i, t) {
1620
1624
  n[++e] = t(s, r, o);
1621
1625
  }), n;
1622
1626
  }
1623
- var Xm = Object.prototype, Ym = Xm.hasOwnProperty, No = Bm(function(i, t, e) {
1627
+ var Xm = Object.prototype, Ym = Xm.hasOwnProperty, No = km(function(i, t, e) {
1624
1628
  Ym.call(i, e) ? i[e].push(t) : ss(i, e, [t]);
1625
1629
  });
1626
1630
  function Jm(i, t) {
@@ -1823,7 +1827,7 @@ function yl(i, t, e) {
1823
1827
  return a;
1824
1828
  }
1825
1829
  var Ro = Tn(function(i) {
1826
- return yl(ds(i, 1, ki, !0));
1830
+ return yl(ds(i, 1, Bi, !0));
1827
1831
  });
1828
1832
  function vl(i) {
1829
1833
  return i && i.length ? yl(i) : [];
@@ -1946,11 +1950,11 @@ function jb(i, t) {
1946
1950
  }
1947
1951
  class $b {
1948
1952
  }
1949
- const Bb = /^\s*class\s+/.test(`${$b}`) || /^\s*class\s*\{/.test(`${class {
1953
+ const kb = /^\s*class\s+/.test(`${$b}`) || /^\s*class\s*\{/.test(`${class {
1950
1954
  }}`);
1951
1955
  function xr(i, t) {
1952
1956
  let e;
1953
- return Bb ? e = class extends t {
1957
+ return kb ? e = class extends t {
1954
1958
  } : (e = function() {
1955
1959
  return t.apply(this, arguments);
1956
1960
  }, jb(e, t)), Object.defineProperty(e, "name", { value: i }), e;
@@ -1991,7 +1995,7 @@ function jo(i, t, e = "/") {
1991
1995
  delete i[s];
1992
1996
  return i;
1993
1997
  }
1994
- var kb = function(i, t, e, n) {
1998
+ var Bb = function(i, t, e, n) {
1995
1999
  var s = arguments.length, r = s < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, e) : n, o;
1996
2000
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(i, t, e, n);
1997
2001
  else for (var a = i.length - 1; a >= 0; a--) (o = i[a]) && (r = (s < 3 ? o(r) : s > 3 ? o(t, e, r) : o(t, e)) || r);
@@ -2002,13 +2006,13 @@ class gt extends Db {
2002
2006
  this.off();
2003
2007
  }
2004
2008
  }
2005
- kb([
2006
- Bt.dispose()
2009
+ Bb([
2010
+ kt.dispose()
2007
2011
  ], gt.prototype, "dispose", null);
2008
2012
  (function(i) {
2009
- i.dispose = Bt.dispose;
2013
+ i.dispose = kt.dispose;
2010
2014
  })(gt || (gt = {}));
2011
- Rb(gt, Bt);
2015
+ Rb(gt, kt);
2012
2016
  const wl = (i) => {
2013
2017
  const t = /* @__PURE__ */ Object.create(null);
2014
2018
  return (e) => t[e] || (t[e] = i(e));
@@ -2107,10 +2111,10 @@ function Ge(i) {
2107
2111
  let t = 0;
2108
2112
  return i != null && Number.isFinite(i) && (t = i), { top: t, right: t, bottom: t, left: t };
2109
2113
  }
2110
- let Sr = !1, Sl = !1, Pl = !1, El = !1, Ol = !1, Al = !1, Ml = !1, Tl = !1, Nl = !1, Il = !1, Dl = !1, Rl = !1, Ll = !1, jl = !1, $l = !1, Bl = !1;
2114
+ let Sr = !1, Sl = !1, Pl = !1, El = !1, Ol = !1, Al = !1, Ml = !1, Tl = !1, Nl = !1, Il = !1, Dl = !1, Rl = !1, Ll = !1, jl = !1, $l = !1, kl = !1;
2111
2115
  if (typeof navigator == "object") {
2112
2116
  const i = navigator.userAgent;
2113
- Sr = i.indexOf("Macintosh") >= 0, Sl = !!i.match(/(iPad|iPhone|iPod)/g), Pl = i.indexOf("Windows") >= 0, El = i.indexOf("MSIE") >= 0, Ol = !!i.match(/Trident\/7\./), Al = !!i.match(/Edge\//), Ml = i.indexOf("Mozilla/") >= 0 && i.indexOf("MSIE") < 0 && i.indexOf("Edge/") < 0, Nl = i.indexOf("Chrome/") >= 0 && i.indexOf("Edge/") < 0, Il = i.indexOf("Opera/") >= 0 || i.indexOf("OPR/") >= 0, Dl = i.indexOf("Firefox/") >= 0, Rl = i.indexOf("AppleWebKit/") >= 0 && i.indexOf("Chrome/") < 0 && i.indexOf("Edge/") < 0, typeof document == "object" && (Bl = !document.createElementNS || `${document.createElementNS("http://www.w3.org/2000/svg", "foreignObject")}` != "[object SVGForeignObjectElement]" || i.indexOf("Opera/") >= 0);
2117
+ Sr = i.indexOf("Macintosh") >= 0, Sl = !!i.match(/(iPad|iPhone|iPod)/g), Pl = i.indexOf("Windows") >= 0, El = i.indexOf("MSIE") >= 0, Ol = !!i.match(/Trident\/7\./), Al = !!i.match(/Edge\//), Ml = i.indexOf("Mozilla/") >= 0 && i.indexOf("MSIE") < 0 && i.indexOf("Edge/") < 0, Nl = i.indexOf("Chrome/") >= 0 && i.indexOf("Edge/") < 0, Il = i.indexOf("Opera/") >= 0 || i.indexOf("OPR/") >= 0, Dl = i.indexOf("Firefox/") >= 0, Rl = i.indexOf("AppleWebKit/") >= 0 && i.indexOf("Chrome/") < 0 && i.indexOf("Edge/") < 0, typeof document == "object" && (kl = !document.createElementNS || `${document.createElementNS("http://www.w3.org/2000/svg", "foreignObject")}` != "[object SVGForeignObjectElement]" || i.indexOf("Opera/") >= 0);
2114
2118
  }
2115
2119
  typeof window == "object" && (Tl = window.chrome != null && window.chrome.app != null && window.chrome.app.runtime != null, jl = window.PointerEvent != null && !Sr);
2116
2120
  if (typeof document == "object") {
@@ -2128,7 +2132,7 @@ if (typeof document == "object") {
2128
2132
  }
2129
2133
  var Se;
2130
2134
  (function(i) {
2131
- i.IS_MAC = Sr, i.IS_IOS = Sl, i.IS_WINDOWS = Pl, i.IS_IE = El, i.IS_IE11 = Ol, i.IS_EDGE = Al, i.IS_NETSCAPE = Ml, i.IS_CHROME_APP = Tl, i.IS_CHROME = Nl, i.IS_OPERA = Il, i.IS_FIREFOX = Dl, i.IS_SAFARI = Rl, i.SUPPORT_TOUCH = Ll, i.SUPPORT_POINTER = jl, i.SUPPORT_PASSIVE = $l, i.NO_FOREIGNOBJECT = Bl, i.SUPPORT_FOREIGNOBJECT = !i.NO_FOREIGNOBJECT;
2135
+ i.IS_MAC = Sr, i.IS_IOS = Sl, i.IS_WINDOWS = Pl, i.IS_IE = El, i.IS_IE11 = Ol, i.IS_EDGE = Al, i.IS_NETSCAPE = Ml, i.IS_CHROME_APP = Tl, i.IS_CHROME = Nl, i.IS_OPERA = Il, i.IS_FIREFOX = Dl, i.IS_SAFARI = Rl, i.SUPPORT_TOUCH = Ll, i.SUPPORT_POINTER = jl, i.SUPPORT_PASSIVE = $l, i.NO_FOREIGNOBJECT = kl, i.SUPPORT_FOREIGNOBJECT = !i.NO_FOREIGNOBJECT;
2132
2136
  })(Se || (Se = {}));
2133
2137
  (function(i) {
2134
2138
  function t() {
@@ -2220,8 +2224,8 @@ const At = {
2220
2224
  xml: "http://www.w3.org/XML/1998/namespace",
2221
2225
  xlink: "http://www.w3.org/1999/xlink",
2222
2226
  xhtml: "http://www.w3.org/1999/xhtml"
2223
- }, Bo = "1.1";
2224
- function ko(i, t = document) {
2227
+ }, ko = "1.1";
2228
+ function Bo(i, t = document) {
2225
2229
  return t.createElement(i);
2226
2230
  }
2227
2231
  function Ar(i, t = At.xhtml, e = document) {
@@ -2232,11 +2236,11 @@ function te(i, t = document) {
2232
2236
  }
2233
2237
  function Fi(i) {
2234
2238
  if (i) {
2235
- const e = `<svg xmlns="${At.svg}" xmlns:xlink="${At.xlink}" version="${Bo}">${i}</svg>`, { documentElement: n } = Fb(e, { async: !1 });
2239
+ const e = `<svg xmlns="${At.svg}" xmlns:xlink="${At.xlink}" version="${ko}">${i}</svg>`, { documentElement: n } = Fb(e, { async: !1 });
2236
2240
  return n;
2237
2241
  }
2238
2242
  const t = document.createElementNS(At.svg, "svg");
2239
- return t.setAttributeNS(At.xmlns, "xmlns:xlink", At.xlink), t.setAttribute("version", Bo), t;
2243
+ return t.setAttributeNS(At.xmlns, "xmlns:xlink", At.xlink), t.setAttribute("version", ko), t;
2240
2244
  }
2241
2245
  function Fb(i, t = {}) {
2242
2246
  let e;
@@ -2270,7 +2274,7 @@ function Gb(i, t) {
2270
2274
  function Ub(i, t) {
2271
2275
  return i.querySelector(t);
2272
2276
  }
2273
- function kl(i, t, e) {
2277
+ function Bl(i, t, e) {
2274
2278
  const n = i.ownerSVGElement;
2275
2279
  let s = i.parentNode;
2276
2280
  for (; s && s !== e && s !== n; ) {
@@ -2783,7 +2787,7 @@ class Y {
2783
2787
  return e ? Y.create(e) : null;
2784
2788
  }
2785
2789
  findParentByClass(t, e) {
2786
- const n = kl(this.node, t, e);
2790
+ const n = Bl(this.node, t, e);
2787
2791
  return n ? Y.create(n) : null;
2788
2792
  }
2789
2793
  matches(t) {
@@ -3519,7 +3523,7 @@ var Ut;
3519
3523
  }
3520
3524
  i.unregister = s;
3521
3525
  })(Ut || (Ut = {}));
3522
- var Be;
3526
+ var ke;
3523
3527
  (function(i) {
3524
3528
  const t = /* @__PURE__ */ new WeakMap();
3525
3529
  function e(r) {
@@ -3534,7 +3538,7 @@ var Be;
3534
3538
  return t.delete(r);
3535
3539
  }
3536
3540
  i.remove = s;
3537
- })(Be || (Be = {}));
3541
+ })(ke || (ke = {}));
3538
3542
  var K;
3539
3543
  (function(i) {
3540
3544
  i.returnTrue = () => !0, i.returnFalse = () => !1;
@@ -3600,7 +3604,7 @@ var K;
3600
3604
  })(K || (K = {}));
3601
3605
  (function(i) {
3602
3606
  function t(e, n) {
3603
- const s = [], r = Be.get(e), o = r && r.events && r.events[n.type], a = o && o.handlers || [], l = o ? o.delegateCount : 0;
3607
+ const s = [], r = ke.get(e), o = r && r.events && r.events[n.type], a = o && o.handlers || [], l = o ? o.delegateCount : 0;
3604
3608
  if (l > 0 && // Support: Firefox <=42 - 66+
3605
3609
  // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
3606
3610
  // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click
@@ -3777,7 +3781,7 @@ var Oy = function(i, t) {
3777
3781
  const { handler: p, selector: m } = l, b = Oy(l, ["handler", "selector"]);
3778
3782
  l = p, h = m, d = b;
3779
3783
  }
3780
- const u = Be.ensure(o);
3784
+ const u = ke.ensure(o);
3781
3785
  let f = u.handler;
3782
3786
  f == null && (f = u.handler = function(p, ...m) {
3783
3787
  return t !== p.type ? s(o, p, ...m) : void 0;
@@ -3804,7 +3808,7 @@ var Oy = function(i, t) {
3804
3808
  }
3805
3809
  i.on = e;
3806
3810
  function n(o, a, l, c, h) {
3807
- const d = Be.get(o);
3811
+ const d = ke.get(o);
3808
3812
  if (!d)
3809
3813
  return;
3810
3814
  const u = d.events;
@@ -3828,7 +3832,7 @@ var Oy = function(i, t) {
3828
3832
  (h || g === S.originType) && (!l || K.getHandlerId(l) === S.guid) && (x == null || S.namespace && x.test(S.namespace)) && (c == null || c === S.selector || c === "**" && S.selector) && (y.handlers.splice(v, 1), S.selector && (y.delegateCount -= 1), b.remove && b.remove(o, S));
3829
3833
  }
3830
3834
  w && y.handlers.length === 0 && ((!b.teardown || b.teardown(o, p, d.handler) === !1) && K.removeEventListener(o, m, d.handler), delete u[m]);
3831
- }), Object.keys(u).length === 0 && Be.remove(o));
3835
+ }), Object.keys(u).length === 0 && ke.remove(o));
3832
3836
  }
3833
3837
  i.off = n;
3834
3838
  function s(o, a, ...l) {
@@ -3883,7 +3887,7 @@ var Oy = function(i, t) {
3883
3887
  for (let w = 0, v = y.length; w < v && !h.isPropagationStopped(); w += 1) {
3884
3888
  const S = y[w];
3885
3889
  x = S, h.type = w > 1 ? b : m.bindType || d;
3886
- const C = Be.get(S);
3890
+ const C = ke.get(S);
3887
3891
  C && C.events[h.type] && C.handler && C.handler.call(S, ...p);
3888
3892
  const P = g && S[g] || null;
3889
3893
  P && K.isValidTarget(S) && (h.result = P.call(S, ...p), h.result === !1 && h.preventDefault());
@@ -4689,8 +4693,8 @@ var qe;
4689
4693
  function y(A) {
4690
4694
  if (A === 0 || A === 1)
4691
4695
  return A;
4692
- const N = A * 2, B = N - 1;
4693
- return N < 1 ? 0.5 * Math.pow(2, 10 * B) : 0.5 * (-Math.pow(2, -10 * B) + 2);
4696
+ const N = A * 2, k = N - 1;
4697
+ return N < 1 ? 0.5 * Math.pow(2, 10 * k) : 0.5 * (-Math.pow(2, -10 * k) + 2);
4694
4698
  }
4695
4699
  i.easeInOutExpo = y;
4696
4700
  function x(A) {
@@ -4704,8 +4708,8 @@ var qe;
4704
4708
  }
4705
4709
  i.easeOutCirc = w;
4706
4710
  function v(A) {
4707
- const N = A * 2, B = N - 2;
4708
- return N < 1 ? -0.5 * (Math.sqrt(1 - N * N) - 1) : 0.5 * (Math.sqrt(1 - B * B) + 1);
4711
+ const N = A * 2, k = N - 2;
4712
+ return N < 1 ? -0.5 * (Math.sqrt(1 - N * N) - 1) : 0.5 * (Math.sqrt(1 - k * k) + 1);
4709
4713
  }
4710
4714
  i.easeInOutCirc = v;
4711
4715
  function S(A, N = 1.70158) {
@@ -4713,13 +4717,13 @@ var qe;
4713
4717
  }
4714
4718
  i.easeInBack = S;
4715
4719
  function C(A, N = 1.70158) {
4716
- const B = A / 1 - 1;
4717
- return B * B * ((N + 1) * B + N) + 1;
4720
+ const k = A / 1 - 1;
4721
+ return k * k * ((N + 1) * k + N) + 1;
4718
4722
  }
4719
4723
  i.easeOutBack = C;
4720
4724
  function P(A, N = 1.70158) {
4721
- const B = A * 2, V = B - 2, $ = N * 1.525;
4722
- return B < 1 ? 0.5 * B * B * (($ + 1) * B - $) : 0.5 * (V * V * (($ + 1) * V + $) + 2);
4725
+ const k = A * 2, V = k - 2, $ = N * 1.525;
4726
+ return k < 1 ? 0.5 * k * k * (($ + 1) * k - $) : 0.5 * (V * V * (($ + 1) * V + $) + 2);
4723
4727
  }
4724
4728
  i.easeInOutBack = P;
4725
4729
  function O(A, N = 0.7) {
@@ -4731,22 +4735,22 @@ var qe;
4731
4735
  }
4732
4736
  i.easeInElastic = O;
4733
4737
  function T(A, N = 0.7) {
4734
- const B = 1 - N, V = A * 2;
4738
+ const k = 1 - N, V = A * 2;
4735
4739
  if (A === 0 || A === 1)
4736
4740
  return A;
4737
- const $ = B / (2 * Math.PI) * Math.asin(1);
4741
+ const $ = k / (2 * Math.PI) * Math.asin(1);
4738
4742
  return Math.pow(2, -10 * V) * // eslint-disable-line
4739
- Math.sin((V - $) * (2 * Math.PI) / B) + 1;
4743
+ Math.sin((V - $) * (2 * Math.PI) / k) + 1;
4740
4744
  }
4741
4745
  i.easeOutElastic = T;
4742
4746
  function M(A, N = 0.65) {
4743
- const B = 1 - N;
4747
+ const k = 1 - N;
4744
4748
  if (A === 0 || A === 1)
4745
4749
  return A;
4746
- const V = A * 2, $ = V - 1, _ = B / (2 * Math.PI) * Math.asin(1);
4750
+ const V = A * 2, $ = V - 1, _ = k / (2 * Math.PI) * Math.asin(1);
4747
4751
  return V < 1 ? -0.5 * (Math.pow(2, 10 * $) * // eslint-disable-line
4748
- Math.sin(($ - _) * (2 * Math.PI) / B)) : Math.pow(2, -10 * $) * // eslint-disable-line
4749
- Math.sin(($ - _) * (2 * Math.PI) / B) * 0.5 + 1;
4752
+ Math.sin(($ - _) * (2 * Math.PI) / k)) : Math.pow(2, -10 * $) * // eslint-disable-line
4753
+ Math.sin(($ - _) * (2 * Math.PI) / k) * 0.5 + 1;
4750
4754
  }
4751
4755
  i.easeInOutElastic = M;
4752
4756
  function I(A) {
@@ -4754,16 +4758,16 @@ var qe;
4754
4758
  if (N < 1 / 2.75)
4755
4759
  return 7.5625 * N * N;
4756
4760
  if (N < 2 / 2.75) {
4757
- const B = N - 0.5454545454545454;
4758
- return 7.5625 * B * B + 0.75;
4761
+ const k = N - 0.5454545454545454;
4762
+ return 7.5625 * k * k + 0.75;
4759
4763
  }
4760
4764
  if (N < 2.5 / 2.75) {
4761
- const B = N - 0.8181818181818182;
4762
- return 7.5625 * B * B + 0.9375;
4765
+ const k = N - 0.8181818181818182;
4766
+ return 7.5625 * k * k + 0.9375;
4763
4767
  }
4764
4768
  {
4765
- const B = N - 0.9545454545454546;
4766
- return 7.5625 * B * B + 0.984375;
4769
+ const k = N - 0.9545454545454546;
4770
+ return 7.5625 * k * k + 0.984375;
4767
4771
  }
4768
4772
  }
4769
4773
  i.easeOutBounce = I;
@@ -4776,7 +4780,7 @@ var qe;
4776
4780
  }
4777
4781
  i.easeInOutBounce = R;
4778
4782
  })(qe || (qe = {}));
4779
- var ke;
4783
+ var Be;
4780
4784
  (function(i) {
4781
4785
  i.number = (t, e) => {
4782
4786
  const n = e - t;
@@ -4801,7 +4805,7 @@ var ke;
4801
4805
  return `#${(1 << 24 | u | f | g).toString(16).slice(1)}`;
4802
4806
  };
4803
4807
  };
4804
- })(ke || (ke = {}));
4808
+ })(Be || (Be = {}));
4805
4809
  const Zn = [];
4806
4810
  function yi(i, t) {
4807
4811
  const e = Zn.find((n) => n.name === i);
@@ -5193,7 +5197,7 @@ class E extends Re {
5193
5197
  }
5194
5198
  i.rotateEx = h;
5195
5199
  })(E || (E = {}));
5196
- class k extends Re {
5200
+ class B extends Re {
5197
5201
  get left() {
5198
5202
  return this.x;
5199
5203
  }
@@ -5315,17 +5319,17 @@ class k extends Re {
5315
5319
  if (!t)
5316
5320
  return this.clone();
5317
5321
  const e = nt.toRad(t), n = Math.abs(Math.sin(e)), s = Math.abs(Math.cos(e)), r = this.width * s + this.height * n, o = this.width * n + this.height * s;
5318
- return new k(this.x + (this.width - r) / 2, this.y + (this.height - o) / 2, r, o);
5322
+ return new B(this.x + (this.width - r) / 2, this.y + (this.height - o) / 2, r, o);
5319
5323
  }
5320
5324
  round(t = 0) {
5321
5325
  return this.x = rt.round(this.x, t), this.y = rt.round(this.y, t), this.width = rt.round(this.width, t), this.height = rt.round(this.height, t), this;
5322
5326
  }
5323
5327
  add(t, e, n, s) {
5324
- const r = k.create(t, e, n, s), o = Math.min(this.x, r.x), a = Math.min(this.y, r.y), l = Math.max(this.x + this.width, r.x + r.width), c = Math.max(this.y + this.height, r.y + r.height);
5328
+ const r = B.create(t, e, n, s), o = Math.min(this.x, r.x), a = Math.min(this.y, r.y), l = Math.max(this.x + this.width, r.x + r.width), c = Math.max(this.y + this.height, r.y + r.height);
5325
5329
  return this.x = o, this.y = a, this.width = l - o, this.height = c - a, this;
5326
5330
  }
5327
5331
  update(t, e, n, s) {
5328
- const r = k.create(t, e, n, s);
5332
+ const r = B.create(t, e, n, s);
5329
5333
  return this.x = r.x, this.y = r.y, this.width = r.width, this.height = r.height, this;
5330
5334
  }
5331
5335
  inflate(t, e) {
@@ -5349,7 +5353,7 @@ class k extends Re {
5349
5353
  const n = nt.toRad(t), s = Math.cos(n), r = Math.sin(n);
5350
5354
  let o = this.getOrigin(), a = this.getTopRight(), l = this.getBottomRight(), c = this.getBottomLeft();
5351
5355
  o = E.rotateEx(o, s, r, e), a = E.rotateEx(a, s, r, e), l = E.rotateEx(l, s, r, e), c = E.rotateEx(c, s, r, e);
5352
- const h = new k(o.x, o.y, 0, 0);
5356
+ const h = new B(o.x, o.y, 0, 0);
5353
5357
  h.add(a.x, a.y, 0, 0), h.add(l.x, l.y, 0, 0), h.add(c.x, c.y, 0, 0), this.update(h);
5354
5358
  }
5355
5359
  return this;
@@ -5365,7 +5369,7 @@ class k extends Re {
5365
5369
  * `rect.width` and `rect.height`.
5366
5370
  */
5367
5371
  moveAndExpand(t) {
5368
- const e = k.clone(t);
5372
+ const e = B.clone(t);
5369
5373
  return this.x += e.x || 0, this.y += e.y || 0, this.width += e.width || 0, this.height += e.height || 0, this;
5370
5374
  }
5371
5375
  /**
@@ -5375,7 +5379,7 @@ class k extends Re {
5375
5379
  * scaled around its center.
5376
5380
  */
5377
5381
  getMaxScaleToFit(t, e = this.center) {
5378
- const n = k.clone(t), s = e.x, r = e.y;
5382
+ const n = B.clone(t), s = e.x, r = e.y;
5379
5383
  let o = 1 / 0, a = 1 / 0, l = 1 / 0, c = 1 / 0, h = 1 / 0, d = 1 / 0, u = 1 / 0, f = 1 / 0;
5380
5384
  const g = n.topLeft;
5381
5385
  g.x < s && (o = (this.x - s) / (g.x - s)), g.y < r && (h = (this.y - r) / (g.y - r));
@@ -5403,7 +5407,7 @@ class k extends Re {
5403
5407
  return rt.containsPoint(this, E.create(t, e));
5404
5408
  }
5405
5409
  containsRect(t, e, n, s) {
5406
- const r = k.create(t, e, n, s), o = this.x, a = this.y, l = this.width, c = this.height, h = r.x, d = r.y, u = r.width, f = r.height;
5410
+ const r = B.create(t, e, n, s), o = this.x, a = this.y, l = this.width, c = this.height, h = r.x, d = r.y, u = r.width, f = r.height;
5407
5411
  return l === 0 || c === 0 || u === 0 || f === 0 ? !1 : h >= o && d >= a && h + u <= o + l && d + f <= a + c;
5408
5412
  }
5409
5413
  /**
@@ -5445,14 +5449,14 @@ class k extends Re {
5445
5449
  return r && e != null && e !== 0 && r.rotate(-e, s), r;
5446
5450
  }
5447
5451
  intersectsWithRect(t, e, n, s) {
5448
- const r = k.create(t, e, n, s);
5452
+ const r = B.create(t, e, n, s);
5449
5453
  if (!this.isIntersectWithRect(r))
5450
5454
  return null;
5451
5455
  const o = this.origin, a = this.corner, l = r.origin, c = r.corner, h = Math.max(o.x, l.x), d = Math.max(o.y, l.y);
5452
- return new k(h, d, Math.min(a.x, c.x) - h, Math.min(a.y, c.y) - d);
5456
+ return new B(h, d, Math.min(a.x, c.x) - h, Math.min(a.y, c.y) - d);
5453
5457
  }
5454
5458
  isIntersectWithRect(t, e, n, s) {
5455
- const r = k.create(t, e, n, s), o = this.origin, a = this.corner, l = r.origin, c = r.corner;
5459
+ const r = B.create(t, e, n, s), o = this.origin, a = this.corner, l = r.origin, c = r.corner;
5456
5460
  return !(c.x <= o.x || c.y <= o.y || l.x >= a.x || l.y >= a.y);
5457
5461
  }
5458
5462
  /**
@@ -5469,8 +5473,8 @@ class k extends Re {
5469
5473
  * Returns a rectangle that is a union of this rectangle and rectangle `rect`.
5470
5474
  */
5471
5475
  union(t) {
5472
- const e = k.clone(t), n = this.origin, s = this.corner, r = e.origin, o = e.corner, a = Math.min(n.x, r.x), l = Math.min(n.y, r.y), c = Math.max(s.x, o.x), h = Math.max(s.y, o.y);
5473
- return new k(a, l, c - a, h - l);
5476
+ const e = B.clone(t), n = this.origin, s = this.corner, r = e.origin, o = e.corner, a = Math.min(n.x, r.x), l = Math.min(n.y, r.y), c = Math.max(s.x, o.x), h = Math.max(s.y, o.y);
5477
+ return new B(a, l, c - a, h - l);
5474
5478
  }
5475
5479
  /**
5476
5480
  * Returns a string ("top", "left", "right" or "bottom") denoting the side of
@@ -5503,7 +5507,7 @@ class k extends Re {
5503
5507
  return t != null && t.x === this.x && t.y === this.y && t.width === this.width && t.height === this.height;
5504
5508
  }
5505
5509
  clone() {
5506
- return new k(this.x, this.y, this.width, this.height);
5510
+ return new B(this.x, this.y, this.width, this.height);
5507
5511
  }
5508
5512
  toJSON() {
5509
5513
  return { x: this.x, y: this.y, width: this.width, height: this.height };
@@ -5517,13 +5521,13 @@ class k extends Re {
5517
5521
  return e != null && e instanceof i;
5518
5522
  }
5519
5523
  i.isRectangle = t;
5520
- })(k || (k = {}));
5524
+ })(B || (B = {}));
5521
5525
  (function(i) {
5522
5526
  function t(e) {
5523
5527
  return e != null && typeof e == "object" && typeof e.x == "number" && typeof e.y == "number" && typeof e.width == "number" && typeof e.height == "number";
5524
5528
  }
5525
5529
  i.isRectangleLike = t;
5526
- })(k || (k = {}));
5530
+ })(B || (B = {}));
5527
5531
  (function(i) {
5528
5532
  function t(o, a, l, c) {
5529
5533
  return o == null || typeof o == "number" ? new i(o, a, l, c) : e(o);
@@ -5545,7 +5549,7 @@ class k extends Re {
5545
5549
  return new i(o.x, o.y, a.width, a.height);
5546
5550
  }
5547
5551
  i.fromPositionAndSize = r;
5548
- })(k || (k = {}));
5552
+ })(B || (B = {}));
5549
5553
  class F extends Re {
5550
5554
  get center() {
5551
5555
  return new E((this.start.x + this.end.x) / 2, (this.start.y + this.end.y) / 2);
@@ -5634,7 +5638,7 @@ class F extends Re {
5634
5638
  */
5635
5639
  bbox() {
5636
5640
  const t = Math.min(this.start.x, this.end.x), e = Math.min(this.start.y, this.end.y), n = Math.max(this.start.x, this.end.x), s = Math.max(this.start.y, this.end.y);
5637
- return new k(t, e, n - t, s - e);
5641
+ return new B(t, e, n - t, s - e);
5638
5642
  }
5639
5643
  /**
5640
5644
  * Returns the bearing (cardinal direction) of the line.
@@ -5837,7 +5841,7 @@ let Oe = class Zs extends Re {
5837
5841
  * Returns a rectangle that is the bounding box of the ellipse.
5838
5842
  */
5839
5843
  bbox() {
5840
- return k.fromEllipse(this);
5844
+ return B.fromEllipse(this);
5841
5845
  }
5842
5846
  /**
5843
5847
  * Returns a point that is the center of the ellipse.
@@ -5912,7 +5916,7 @@ let Oe = class Zs extends Re {
5912
5916
  return this.a *= t, this.b *= e, this;
5913
5917
  }
5914
5918
  rotate(t, e) {
5915
- const n = k.fromEllipse(this);
5919
+ const n = B.fromEllipse(this);
5916
5920
  n.rotate(t, e);
5917
5921
  const s = Zs.fromRect(n);
5918
5922
  return this.a = s.a, this.b = s.b, this.x = s.x, this.y = s.y, this;
@@ -6011,12 +6015,12 @@ function qi(i, t, e, n, s = 0, r = 0, o = 0, a, l) {
6011
6015
  O = Math.atan2((-g - S) / n, (-f - v) / e) - Math.atan2((g - S) / n, (f - v) / e);
6012
6016
  let M = O >= 0 ? O : 2 * Math.PI + O;
6013
6017
  o === 0 && M > 0 ? M -= 2 * Math.PI : o !== 0 && M < 0 && (M += 2 * Math.PI);
6014
- const I = M * 2 / Math.PI, D = Math.ceil(I < 0 ? -1 * I : I), R = M / D, A = 8 / 3 * Math.sin(R / 4) * Math.sin(R / 4) / Math.sin(R / 2), N = d * e, B = d * n, V = u * e, $ = u * n;
6015
- let _ = Math.cos(T), L = Math.sin(T), G = -A * (N * L + $ * _), X = -A * (V * L - B * _), W = 0, z = 0;
6018
+ const I = M * 2 / Math.PI, D = Math.ceil(I < 0 ? -1 * I : I), R = M / D, A = 8 / 3 * Math.sin(R / 4) * Math.sin(R / 4) / Math.sin(R / 2), N = d * e, k = d * n, V = u * e, $ = u * n;
6019
+ let _ = Math.cos(T), L = Math.sin(T), G = -A * (N * L + $ * _), X = -A * (V * L - k * _), W = 0, z = 0;
6016
6020
  const q = [];
6017
6021
  for (let H = 0; H < D; H += 1) {
6018
- T += R, _ = Math.cos(T), L = Math.sin(T), W = N * _ - $ * L + C, z = V * _ + B * L + P;
6019
- const Z = -A * (N * L + $ * _), dt = -A * (V * L - B * _), lt = H * 6;
6022
+ T += R, _ = Math.cos(T), L = Math.sin(T), W = N * _ - $ * L + C, z = V * _ + k * L + P;
6023
+ const Z = -A * (N * L + $ * _), dt = -A * (V * L - k * _), lt = H * 6;
6020
6024
  q[lt] = Number(G + i), q[lt + 1] = Number(X + t), q[lt + 2] = Number(W - Z + i), q[lt + 3] = Number(z - dt + t), q[lt + 4] = Number(W + i), q[lt + 5] = Number(z + t), G = W + Z, X = z + dt;
6021
6025
  }
6022
6026
  return q.map((H) => +H.toFixed(2));
@@ -6058,14 +6062,14 @@ let Lt = class Vn extends Re {
6058
6062
  }
6059
6063
  bbox() {
6060
6064
  if (this.points.length === 0)
6061
- return new k();
6065
+ return new B();
6062
6066
  let t = 1 / 0, e = -1 / 0, n = 1 / 0, s = -1 / 0;
6063
6067
  const r = this.points;
6064
6068
  for (let o = 0, a = r.length; o < a; o += 1) {
6065
6069
  const l = r[o], c = l.x, h = l.y;
6066
6070
  c < t && (t = c), c > e && (e = c), h < n && (n = h), h > s && (s = h);
6067
6071
  }
6068
- return new k(t, n, e - t, s - n);
6072
+ return new B(t, n, e - t, s - n);
6069
6073
  }
6070
6074
  closestPoint(t) {
6071
6075
  const e = this.closestPointLength(t);
@@ -6316,7 +6320,7 @@ class pt extends Re {
6316
6320
  T -= 1, y = f[T], O = 1 - y, C = O * O * O * r + 3 * O * O * y * a + 3 * O * y * y * c + y * y * y * d, g[0][T] = C, P = O * O * O * o + 3 * O * O * y * l + 3 * O * y * y * h + y * y * y * u, g[1][T] = P;
6317
6321
  f[M] = 0, f[M + 1] = 1, g[0][M] = r, g[1][M] = o, g[0][M + 1] = d, g[1][M + 1] = u, f.length = M + 2, g[0].length = M + 2, g[1].length = M + 2;
6318
6322
  const I = Math.min.apply(null, g[0]), D = Math.min.apply(null, g[1]), R = Math.max.apply(null, g[0]), A = Math.max.apply(null, g[1]);
6319
- return new k(I, D, R - I, A - D);
6323
+ return new B(I, D, R - I, A - D);
6320
6324
  }
6321
6325
  closestPoint(t, e = {}) {
6322
6326
  return this.pointAtT(this.closestPointT(t, e));
@@ -7116,7 +7120,7 @@ function tc(i, t, e, n, s, r, o, a, l, c) {
7116
7120
  const R = (i - a) / 2, A = (t - l) / 2;
7117
7121
  let N = R * R / (e * e) + A * A / (n * n);
7118
7122
  N > 1 && (N = Math.sqrt(N), e = N * e, n = N * n);
7119
- const B = e * e, V = n * n, $ = (r === o ? -1 : 1) * Math.sqrt(Math.abs((B * V - B * A * A - V * R * R) / (B * A * A + V * R * R)));
7123
+ const k = e * e, V = n * n, $ = (r === o ? -1 : 1) * Math.sqrt(Math.abs((k * V - k * A * A - V * R * R) / (k * A * A + V * R * R)));
7120
7124
  m = $ * e * A / n + (i + a) / 2, b = $ * -n * R / e + (t + l) / 2, g = Math.asin((t - b) / n), p = Math.asin((l - b) / n), g = i < m ? Math.PI - g : g, p = a < m ? Math.PI - p : p, g < 0 && (g = Math.PI * 2 + g), p < 0 && (p = Math.PI * 2 + p), o && g > p && (g -= Math.PI * 2), !o && p > g && (p -= Math.PI * 2);
7121
7125
  }
7122
7126
  let y = p - g;
@@ -7175,7 +7179,7 @@ function $y(i) {
7175
7179
  return o;
7176
7180
  }), r;
7177
7181
  }
7178
- function By(i) {
7182
+ function ky(i) {
7179
7183
  const t = $y(i);
7180
7184
  if (!t || !t.length)
7181
7185
  return [["M", 0, 0]];
@@ -7229,8 +7233,8 @@ function By(i) {
7229
7233
  }
7230
7234
  return o;
7231
7235
  }
7232
- function ky(i) {
7233
- const t = By(i), e = { x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null };
7236
+ function By(i) {
7237
+ const t = ky(i), e = { x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null };
7234
7238
  function n(l, c, h) {
7235
7239
  let d, u;
7236
7240
  if (!l)
@@ -7274,7 +7278,7 @@ function ky(i) {
7274
7278
  return (!t[0][0] || t[0][0] !== "M") && t.unshift(["M", 0, 0]), t;
7275
7279
  }
7276
7280
  function zy(i) {
7277
- return ky(i).map((t) => t.map((e) => typeof e == "string" ? e : rt.round(e, 2))).join(",").split(",").join(" ");
7281
+ return By(i).map((t) => t.map((e) => typeof e == "string" ? e : rt.round(e, 2))).join(",").split(",").join(" ");
7278
7282
  }
7279
7283
  let Q = class Ot extends Re {
7280
7284
  constructor(t) {
@@ -7364,7 +7368,7 @@ let Q = class Ot extends Re {
7364
7368
  if (n != null)
7365
7369
  return n;
7366
7370
  const s = t[e - 1];
7367
- return new k(s.end.x, s.end.y, 0, 0);
7371
+ return new B(s.end.x, s.end.y, 0, 0);
7368
7372
  }
7369
7373
  appendSegment(t) {
7370
7374
  const e = this.segments.length;
@@ -8423,11 +8427,11 @@ const $0 = {
8423
8427
  set(i, { elem: t }) {
8424
8428
  Pt(t, i);
8425
8429
  }
8426
- }, B0 = {
8430
+ }, k0 = {
8427
8431
  set(i, { elem: t }) {
8428
8432
  t.innerHTML = `${i}`;
8429
8433
  }
8430
- }, k0 = {
8434
+ }, B0 = {
8431
8435
  qualify: ae,
8432
8436
  set(i, { view: t }) {
8433
8437
  return `url(#${t.graph.defineFilter(i)})`;
@@ -8706,8 +8710,8 @@ const hv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8706
8710
  displayEmpty: I0,
8707
8711
  eol: N0,
8708
8712
  fill: S0,
8709
- filter: k0,
8710
- html: B0,
8713
+ filter: B0,
8714
+ html: k0,
8711
8715
  lineHeight: O0,
8712
8716
  port: z0,
8713
8717
  ref: o0,
@@ -8811,14 +8815,14 @@ var at;
8811
8815
  const y = p.matrixTransform(f);
8812
8816
  p.x = u.x, p.y = u.y + u.height;
8813
8817
  const x = p.matrixTransform(f), w = Math.min(m.x, b.x, y.x, x.x), v = Math.max(m.x, b.x, y.x, x.x), S = Math.min(m.y, b.y, y.y, x.y), C = Math.max(m.y, b.y, y.y, x.y);
8814
- return new k(w, S, v - w, C - S);
8818
+ return new B(w, S, v - w, C - S);
8815
8819
  }
8816
8820
  i.transformRectangle = s;
8817
8821
  function r(u, f, g) {
8818
8822
  let p;
8819
8823
  const m = u.ownerSVGElement;
8820
8824
  if (!m)
8821
- return new k(0, 0, 0, 0);
8825
+ return new B(0, 0, 0, 0);
8822
8826
  try {
8823
8827
  p = u.getBBox();
8824
8828
  } catch {
@@ -8830,7 +8834,7 @@ var at;
8830
8834
  };
8831
8835
  }
8832
8836
  if (f)
8833
- return k.create(p);
8837
+ return B.create(p);
8834
8838
  const b = Yn(u, g || m);
8835
8839
  return s(p, b);
8836
8840
  }
@@ -8840,9 +8844,9 @@ var at;
8840
8844
  if (!u.ownerSVGElement || !Pe(u)) {
8841
8845
  if (zo(u)) {
8842
8846
  const { left: y, top: x, width: w, height: v } = a(u);
8843
- return new k(y, x, w, v);
8847
+ return new B(y, x, w, v);
8844
8848
  }
8845
- return new k(0, 0, 0, 0);
8849
+ return new B(0, 0, 0, 0);
8846
8850
  }
8847
8851
  let m = f.target;
8848
8852
  if (!f.recursive) {
@@ -8857,7 +8861,7 @@ var at;
8857
8861
  };
8858
8862
  }
8859
8863
  if (!m)
8860
- return k.create(g);
8864
+ return B.create(g);
8861
8865
  const y = Yn(u, m);
8862
8866
  return s(g, y);
8863
8867
  }
@@ -8905,7 +8909,7 @@ var at;
8905
8909
  };
8906
8910
  switch (u instanceof SVGElement && u.nodeName.toLowerCase()) {
8907
8911
  case "rect":
8908
- return new k(f("x"), f("y"), f("width"), f("height"));
8912
+ return new B(f("x"), f("y"), f("width"), f("height"));
8909
8913
  case "circle":
8910
8914
  return new Oe(f("cx"), f("cy"), f("r"), f("r"));
8911
8915
  case "ellipse":
@@ -8970,11 +8974,11 @@ var at;
8970
8974
  if (!Pe(f)) {
8971
8975
  if (zo(u)) {
8972
8976
  const { left: m, top: b, width: y, height: x } = a(u);
8973
- return new k(m, b, y, x);
8977
+ return new B(m, b, y, x);
8974
8978
  }
8975
- return new k(0, 0, 0, 0);
8979
+ return new B(0, 0, 0, 0);
8976
8980
  }
8977
- return l(f).bbox() || k.create();
8981
+ return l(f).bbox() || B.create();
8978
8982
  }
8979
8983
  i.getBBoxV2 = d;
8980
8984
  })(at || (at = {}));
@@ -9193,7 +9197,7 @@ function Ec(i) {
9193
9197
  const t = i.getCenter(), e = t.theta(i.getTopLeft()), n = t.theta(i.getBottomLeft()), s = t.theta(i.getBottomRight()), r = t.theta(i.getTopRight());
9194
9198
  return [e, r, s, n];
9195
9199
  }
9196
- const $v = (i, t, e) => Oc(i.diff(t.getCenter()), !1, e), Bv = (i, t, e) => Oc(i.diff(t.getCenter()), !0, e);
9200
+ const $v = (i, t, e) => Oc(i.diff(t.getCenter()), !1, e), kv = (i, t, e) => Oc(i.diff(t.getCenter()), !0, e);
9197
9201
  function Oc(i, t, e) {
9198
9202
  const n = e.offset != null ? e.offset : 20, s = new E(0, 0), r = -i.theta(s), o = i.clone().move(s, n).diff(i).round();
9199
9203
  let a = ".3em", l, c = r;
@@ -9208,7 +9212,7 @@ function Oc(i, t, e) {
9208
9212
  }
9209
9213
  }, e);
9210
9214
  }
9211
- const kv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9215
+ const Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9212
9216
  __proto__: null,
9213
9217
  bottom: Iv,
9214
9218
  inside: Lv,
@@ -9218,13 +9222,13 @@ const kv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9218
9222
  outside: Dv,
9219
9223
  outsideOriented: Rv,
9220
9224
  radial: $v,
9221
- radialOriented: Bv,
9225
+ radialOriented: kv,
9222
9226
  right: Tv,
9223
9227
  top: Nv
9224
9228
  }, Symbol.toStringTag, { value: "Module" }));
9225
9229
  var gn;
9226
9230
  (function(i) {
9227
- i.presets = kv, i.registry = vt.create({
9231
+ i.presets = Bv, i.registry = vt.create({
9228
9232
  type: "port label layout"
9229
9233
  }), i.registry.register(i.presets, !0);
9230
9234
  })(gn || (gn = {}));
@@ -9529,7 +9533,7 @@ var ut;
9529
9533
  if (!w)
9530
9534
  throw new TypeError("Invalid tagName");
9531
9535
  x.ns && (m = x.ns);
9532
- const v = m ? Ar(w, m) : ko(w), S = x.attrs;
9536
+ const v = m ? Ar(w, m) : Bo(w), S = x.attrs;
9533
9537
  S && it(v, ni(S));
9534
9538
  const C = x.style;
9535
9539
  C && Pt(v, C);
@@ -9560,7 +9564,7 @@ var ut;
9560
9564
  }
9561
9565
  i.parseJSONMarkup = r;
9562
9566
  function o(c) {
9563
- return c instanceof SVGElement ? te("g") : ko("div");
9567
+ return c instanceof SVGElement ? te("g") : Bo("div");
9564
9568
  }
9565
9569
  function a(c) {
9566
9570
  if (e(c)) {
@@ -10103,7 +10107,7 @@ class yt extends st {
10103
10107
  return this.findByAttr("magnet", t);
10104
10108
  }
10105
10109
  updateAttrs(t, e, n = {}) {
10106
- n.rootBBox == null && (n.rootBBox = new k()), n.selectors == null && (n.selectors = this.selectors), this.attr.update(t, e, n);
10110
+ n.rootBBox == null && (n.rootBBox = new B()), n.selectors == null && (n.selectors = this.selectors), this.attr.update(t, e, n);
10107
10111
  }
10108
10112
  isEdgeElement(t) {
10109
10113
  return this.cell.isEdge() && (t == null || t === this.container);
@@ -11834,7 +11838,7 @@ const jc = function(i, t, e, n) {
11834
11838
  }, r = g.intersect(l, b);
11835
11839
  } else
11836
11840
  r = g.intersect(l);
11837
- r ? Array.isArray(r) && (r = p.closest(r)) : n.sticky === !0 && (k.isRectangle(l) ? r = l.getNearestPointToPoint(p) : Oe.isEllipse(l) ? r = l.intersectsWithLineFromCenterToPoint(p) : r = l.closestPoint(p, b));
11841
+ r ? Array.isArray(r) && (r = p.closest(r)) : n.sticky === !0 && (B.isRectangle(l) ? r = l.getNearestPointToPoint(p) : Oe.isEllipse(l) ? r = l.intersectsWithLineFromCenterToPoint(p) : r = l.closestPoint(p, b));
11838
11842
  const y = r ? at.transformPoint(r, u) : o;
11839
11843
  let x = n.offset || 0;
11840
11844
  return n.stroked !== !1 && (typeof x == "object" ? (x = Object.assign({}, x), x.x == null && (x.x = 0), x.x += Ji(s) / 2) : x += Ji(s) / 2), vs(y, i.start, x);
@@ -11899,7 +11903,7 @@ const Mx = function(i) {
11899
11903
  return a[c] += d * (r[h] / 2 + s[n]), l[c] += d * (o[h] / 2 + s[n]), d * (a[c] - l[c]) > 0 ? l[c] = a[c] : a[c] = l[c], [a.toJSON(), ...i, l.toJSON()];
11900
11904
  };
11901
11905
  function Mi(i) {
11902
- return new k(i.x, i.y, 0, 0);
11906
+ return new B(i.x, i.y, 0, 0);
11903
11907
  }
11904
11908
  function Zi(i = {}) {
11905
11909
  const t = Ge(i.padding || 20);
@@ -11913,17 +11917,17 @@ function Zi(i = {}) {
11913
11917
  function $c(i, t = {}) {
11914
11918
  return i.sourceBBox.clone().moveAndExpand(Zi(t));
11915
11919
  }
11916
- function Bc(i, t = {}) {
11920
+ function kc(i, t = {}) {
11917
11921
  return i.targetBBox.clone().moveAndExpand(Zi(t));
11918
11922
  }
11919
11923
  function Nx(i, t = {}) {
11920
11924
  return i.sourceAnchor ? i.sourceAnchor : $c(i, t).getCenter();
11921
11925
  }
11922
11926
  function Ix(i, t = {}) {
11923
- return i.targetAnchor ? i.targetAnchor : Bc(i, t).getCenter();
11927
+ return i.targetAnchor ? i.targetAnchor : kc(i, t).getCenter();
11924
11928
  }
11925
- const kc = function(i, t, e) {
11926
- let n = $c(e, t), s = Bc(e, t);
11929
+ const Bc = function(i, t, e) {
11930
+ let n = $c(e, t), s = kc(e, t);
11927
11931
  const r = Nx(e, t), o = Ix(e, t);
11928
11932
  n = n.union(Mi(r)), s = s.union(Mi(o));
11929
11933
  const a = i.map((h) => E.create(h));
@@ -12070,7 +12074,7 @@ const Dx = {
12070
12074
  height: 2 * i
12071
12075
  };
12072
12076
  },
12073
- fallbackRouter: kc,
12077
+ fallbackRouter: Bc,
12074
12078
  draggingRouter: null,
12075
12079
  snapToGrid: !0
12076
12080
  };
@@ -12178,10 +12182,10 @@ function $x(i, t) {
12178
12182
  return i.targetAnchor ? i.targetAnchor : _c(i, t).getCenter();
12179
12183
  }
12180
12184
  function Ns(i, t, e, n, s) {
12181
- const r = 360 / e, o = i.theta(Bx(i, t, n, s)), a = nt.normalize(o + r / 2);
12185
+ const r = 360 / e, o = i.theta(kx(i, t, n, s)), a = nt.normalize(o + r / 2);
12182
12186
  return r * Math.floor(a / r);
12183
12187
  }
12184
- function Bx(i, t, e, n) {
12188
+ function kx(i, t, e, n) {
12185
12189
  const s = n.step, r = t.x - i.x, o = t.y - i.y, a = r / e.x, l = o / e.y, c = a * s, h = l * s;
12186
12190
  return new E(i.x + c, i.y + h);
12187
12191
  }
@@ -12189,7 +12193,7 @@ function Qo(i, t) {
12189
12193
  const e = Math.abs(i - t);
12190
12194
  return e > 180 ? 360 - e : e;
12191
12195
  }
12192
- function kx(i, t) {
12196
+ function Bx(i, t) {
12193
12197
  const e = t.step;
12194
12198
  return t.directions.forEach((n) => {
12195
12199
  n.gridOffsetX = n.offsetX / e * i.x, n.gridOffsetY = n.offsetY / e * i.y;
@@ -12267,10 +12271,10 @@ function Vx(i, t, e, n, s) {
12267
12271
  function Fx(i, t, e, n, s) {
12268
12272
  const r = s.precision;
12269
12273
  let o, a;
12270
- k.isRectangle(t) ? o = Fn(Vc(i, s).clone(), r) : o = Fn(t.clone(), r), k.isRectangle(e) ? a = Fn($x(i, s).clone(), r) : a = Fn(e.clone(), r);
12274
+ B.isRectangle(t) ? o = Fn(Vc(i, s).clone(), r) : o = Fn(t.clone(), r), B.isRectangle(e) ? a = Fn($x(i, s).clone(), r) : a = Fn(e.clone(), r);
12271
12275
  const l = zx(s.step, o, a), c = o, h = a;
12272
12276
  let d, u;
12273
- if (k.isRectangle(t) ? d = na(c, t, s.startDirections, l, s) : d = [c], k.isRectangle(e) ? u = na(a, e, s.endDirections, l, s) : u = [h], d = d.filter((f) => n.isAccessible(f)), u = u.filter((f) => n.isAccessible(f)), d.length > 0 && u.length > 0) {
12277
+ if (B.isRectangle(t) ? d = na(c, t, s.startDirections, l, s) : d = [c], B.isRectangle(e) ? u = na(a, e, s.endDirections, l, s) : u = [h], d = d.filter((f) => n.isAccessible(f)), u = u.filter((f) => n.isAccessible(f)), d.length > 0 && u.length > 0) {
12274
12278
  const f = new Lx(), g = {}, p = {}, m = {};
12275
12279
  for (let T = 0, M = d.length; T < M; T += 1) {
12276
12280
  const I = d[T], D = Kn(I);
@@ -12278,7 +12282,7 @@ function Fx(i, t, e, n, s) {
12278
12282
  }
12279
12283
  const b = s.previousDirectionAngle, y = b === void 0;
12280
12284
  let x, w;
12281
- const v = kx(l, s), S = v.length, C = u.reduce((T, M) => {
12285
+ const v = Bx(l, s), S = v.length, C = u.reduce((T, M) => {
12282
12286
  const I = Kn(M);
12283
12287
  return T.push(I), T;
12284
12288
  }, []), P = E.equalPoints(d, u);
@@ -12464,7 +12468,7 @@ const Xx = function(i, t, e) {
12464
12468
  metro: qx,
12465
12469
  normal: Mx,
12466
12470
  oneSide: Tx,
12467
- orth: kc
12471
+ orth: Bc
12468
12472
  }, Symbol.toStringTag, { value: "Module" }));
12469
12473
  var Ce;
12470
12474
  (function(i) {
@@ -12803,7 +12807,7 @@ class hi {
12803
12807
  return typeof t == "string" ? qe[t] : t;
12804
12808
  }
12805
12809
  getInterp(t, e, n) {
12806
- return t ? t(e, n) : typeof n == "number" ? ke.number(e, n) : typeof n == "string" ? n[0] === "#" ? ke.color(e, n) : ke.unit(e, n) : ke.object(e, n);
12810
+ return t ? t(e, n) : typeof n == "number" ? Be.number(e, n) : typeof n == "string" ? n[0] === "#" ? Be.color(e, n) : Be.unit(e, n) : Be.object(e, n);
12807
12811
  }
12808
12812
  getArgs(t) {
12809
12813
  const e = this.cache[t];
@@ -13378,7 +13382,7 @@ class tt extends gt {
13378
13382
  // #region common
13379
13383
  // eslint-disable-next-line
13380
13384
  getBBox(t) {
13381
- return new k();
13385
+ return new B();
13382
13386
  }
13383
13387
  // eslint-disable-next-line
13384
13388
  getConnectionPoint(t, e) {
@@ -13778,7 +13782,7 @@ let Et = class Uc extends tt {
13778
13782
  x: s.x + t,
13779
13783
  y: s.y + e
13780
13784
  };
13781
- return n.tx = t, n.ty = e, n.transition ? (typeof n.transition != "object" && (n.transition = {}), this.transition("position", r, Object.assign(Object.assign({}, n.transition), { interp: ke.object })), this.eachChild((o) => {
13785
+ return n.tx = t, n.ty = e, n.transition ? (typeof n.transition != "object" && (n.transition = {}), this.transition("position", r, Object.assign(Object.assign({}, n.transition), { interp: Be.object })), this.eachChild((o) => {
13782
13786
  var a;
13783
13787
  ((a = n.exclude) === null || a === void 0 ? void 0 : a.includes(o)) || o.translate(t, e, n);
13784
13788
  })) : (this.startBatch("translate", n), this.store.set("position", r, n), this.eachChild((o) => {
@@ -13810,7 +13814,7 @@ let Et = class Uc extends tt {
13810
13814
  const e = this.getDescendants({ deep: !0, breadthFirst: !0 });
13811
13815
  return e.push(this), tt.getCellsBBox(e);
13812
13816
  }
13813
- return k.fromPositionAndSize(this.getPosition(), this.getSize());
13817
+ return B.fromPositionAndSize(this.getPosition(), this.getSize());
13814
13818
  }
13815
13819
  getConnectionPoint(t, e) {
13816
13820
  const n = this.getBBox(), s = n.getCenter(), r = t.getTerminal(e);
@@ -13915,7 +13919,7 @@ let Et = class Uc extends tt {
13915
13919
  }
13916
13920
  getPortsPosition(t) {
13917
13921
  const e = this.getSize();
13918
- return this.port.getPortsLayoutByGroup(t, new k(0, 0, e.width, e.height)).reduce((s, r) => {
13922
+ return this.port.getPortsLayoutByGroup(t, new B(0, 0, e.width, e.height)).reduce((s, r) => {
13919
13923
  const o = r.portLayout;
13920
13924
  return s[r.portId] = {
13921
13925
  position: Object.assign({}, o.position),
@@ -15149,14 +15153,14 @@ class _t extends gt {
15149
15153
  return this.getNodes().filter((s) => s.getBBox().containsPoint(n));
15150
15154
  }
15151
15155
  getNodesInArea(t, e, n, s, r) {
15152
- const o = typeof t == "number" ? new k(t, e, n, s) : k.create(t), a = typeof t == "number" ? r : e, l = a && a.strict;
15156
+ const o = typeof t == "number" ? new B(t, e, n, s) : B.create(t), a = typeof t == "number" ? r : e, l = a && a.strict;
15153
15157
  return this.getNodes().filter((c) => {
15154
15158
  const h = c.getBBox();
15155
15159
  return l ? o.containsRect(h) : o.isIntersectWithRect(h);
15156
15160
  });
15157
15161
  }
15158
15162
  getEdgesInArea(t, e, n, s, r) {
15159
- const o = typeof t == "number" ? new k(t, e, n, s) : k.create(t), a = typeof t == "number" ? r : e, l = a && a.strict;
15163
+ const o = typeof t == "number" ? new B(t, e, n, s) : B.create(t), a = typeof t == "number" ? r : e, l = a && a.strict;
15160
15164
  return this.getEdges().filter((c) => {
15161
15165
  const h = c.getBBox();
15162
15166
  return h.width === 0 ? h.inflate(1, 0) : h.height === 0 && h.inflate(0, 1), l ? o.containsRect(h) : o.isIntersectWithRect(h);
@@ -15704,7 +15708,7 @@ class Kt extends yt {
15704
15708
  const e = this.cell, n = e.getSize(), s = e.getAttrs();
15705
15709
  this.updateAttrs(this.container, s, {
15706
15710
  attrs: t === s ? null : t,
15707
- rootBBox: new k(0, 0, n.width, n.height),
15711
+ rootBBox: new B(0, 0, n.width, n.height),
15708
15712
  selectors: this.selectors
15709
15713
  }), this.renderPorts();
15710
15714
  }
@@ -15839,21 +15843,21 @@ class Kt extends yt {
15839
15843
  e.length === 0 ? this.updatePortGroup() : e.forEach((n) => this.updatePortGroup(n));
15840
15844
  }
15841
15845
  updatePortGroup(t) {
15842
- const e = k.fromSize(this.cell.getSize()), n = this.cell.getPortsLayoutByGroup(t, e);
15846
+ const e = B.fromSize(this.cell.getSize()), n = this.cell.getPortsLayoutByGroup(t, e);
15843
15847
  for (let s = 0, r = n.length; s < r; s += 1) {
15844
15848
  const o = n[s], a = o.portId, l = this.portsCache[a] || {}, c = o.portLayout;
15845
15849
  if (this.applyPortTransform(l.portElement, c), o.portAttrs != null) {
15846
15850
  const d = {
15847
15851
  selectors: l.portSelectors || {}
15848
15852
  };
15849
- o.portSize && (d.rootBBox = k.fromSize(o.portSize)), this.updateAttrs(l.portElement, o.portAttrs, d);
15853
+ o.portSize && (d.rootBBox = B.fromSize(o.portSize)), this.updateAttrs(l.portElement, o.portAttrs, d);
15850
15854
  }
15851
15855
  const h = o.labelLayout;
15852
15856
  if (h && l.portLabelElement && (this.applyPortTransform(l.portLabelElement, h, -(c.angle || 0)), h.attrs)) {
15853
15857
  const d = {
15854
15858
  selectors: l.portLabelSelectors || {}
15855
15859
  };
15856
- o.labelSize && (d.rootBBox = k.fromSize(o.labelSize)), this.updateAttrs(l.portLabelElement, h.attrs, d);
15860
+ o.labelSize && (d.rootBBox = B.fromSize(o.labelSize)), this.updateAttrs(l.portLabelElement, h.attrs, d);
15857
15861
  }
15858
15862
  }
15859
15863
  }
@@ -16243,19 +16247,19 @@ class fe extends yt {
16243
16247
  const t = this.sourceView;
16244
16248
  if (!t) {
16245
16249
  const n = this.cell.getSource();
16246
- return new k(n.x, n.y);
16250
+ return new B(n.x, n.y);
16247
16251
  }
16248
16252
  const e = this.sourceMagnet;
16249
- return t.isEdgeElement(e) ? new k(this.sourceAnchor.x, this.sourceAnchor.y) : t.getBBoxOfElement(e || t.container);
16253
+ return t.isEdgeElement(e) ? new B(this.sourceAnchor.x, this.sourceAnchor.y) : t.getBBoxOfElement(e || t.container);
16250
16254
  }
16251
16255
  get targetBBox() {
16252
16256
  const t = this.targetView;
16253
16257
  if (!t) {
16254
16258
  const n = this.cell.getTarget();
16255
- return new k(n.x, n.y);
16259
+ return new B(n.x, n.y);
16256
16260
  }
16257
16261
  const e = this.targetMagnet;
16258
- return t.isEdgeElement(e) ? new k(this.targetAnchor.x, this.targetAnchor.y) : t.getBBoxOfElement(e || t.container);
16262
+ return t.isEdgeElement(e) ? new B(this.targetAnchor.x, this.targetAnchor.y) : t.getBBoxOfElement(e || t.container);
16259
16263
  }
16260
16264
  isEdgeView() {
16261
16265
  return !0;
@@ -16399,7 +16403,7 @@ class fe extends yt {
16399
16403
  const c = e[r], h = ot({}, s.attrs, c.attrs);
16400
16404
  this.updateAttrs(a, h, {
16401
16405
  selectors: l,
16402
- rootBBox: c.size ? k.fromSize(c.size) : void 0
16406
+ rootBBox: c.size ? B.fromSize(c.size) : void 0
16403
16407
  });
16404
16408
  }
16405
16409
  }
@@ -16865,7 +16869,7 @@ class fe extends yt {
16865
16869
  super.onMouseWheel(t, e, n, s), this.notify("edge:mousewheel", Object.assign({ delta: s }, this.getEventArgs(t, e, n)));
16866
16870
  }
16867
16871
  onCustomEvent(t, e, n, s) {
16868
- if (kl(t.target, "edge-tool", this.container)) {
16872
+ if (Bl(t.target, "edge-tool", this.container)) {
16869
16873
  if (t.stopPropagation(), this.can("useEdgeTools")) {
16870
16874
  if (e === "edge:remove") {
16871
16875
  this.cell.remove({ ui: !0 });
@@ -17768,7 +17772,7 @@ const Mw = `.x6-graph {
17768
17772
  border-radius: 2px;
17769
17773
  }
17770
17774
  `;
17771
- class Nt extends Bt {
17775
+ class Nt extends kt {
17772
17776
  get options() {
17773
17777
  return this.graph.options;
17774
17778
  }
@@ -17931,7 +17935,7 @@ var Iw = function(i, t, e, n) {
17931
17935
  t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(i, n[s]) && (e[n[s]] = i[n[s]]);
17932
17936
  return e;
17933
17937
  };
17934
- class Br extends Nt {
17938
+ class kr extends Nt {
17935
17939
  get elem() {
17936
17940
  return this.view.grid;
17937
17941
  }
@@ -18022,7 +18026,7 @@ class Br extends Nt {
18022
18026
  }
18023
18027
  Iw([
18024
18028
  Nt.dispose()
18025
- ], Br.prototype, "dispose", null);
18029
+ ], kr.prototype, "dispose", null);
18026
18030
  class Xc extends Nt {
18027
18031
  get container() {
18028
18032
  return this.graph.view.container;
@@ -18118,14 +18122,14 @@ class Xc extends Nt {
18118
18122
  t = x.gridWidth || 1, e = x.gridHeight || 1, n = x.padding || 0, s = x;
18119
18123
  } else
18120
18124
  t = t || 1, e = e || 1, n = n || 0, s == null && (s = {});
18121
- const r = Ge(n), o = s.border || 0, a = s.contentArea ? k.create(s.contentArea) : this.getContentArea(s);
18125
+ const r = Ge(n), o = s.border || 0, a = s.contentArea ? B.create(s.contentArea) : this.getContentArea(s);
18122
18126
  o > 0 && a.inflate(o);
18123
18127
  const l = this.getScale(), c = this.getTranslation(), h = l.sx, d = l.sy;
18124
18128
  a.x *= h, a.y *= d, a.width *= h, a.height *= d;
18125
18129
  let u = Math.max(Math.ceil((a.width + a.x) / t), 1) * t, f = Math.max(Math.ceil((a.height + a.y) / e), 1) * e, g = 0, p = 0;
18126
18130
  (s.allowNewOrigin === "negative" && a.x < 0 || s.allowNewOrigin === "positive" && a.x >= 0 || s.allowNewOrigin === "any") && (g = Math.ceil(-a.x / t) * t, g += r.left, u += g), (s.allowNewOrigin === "negative" && a.y < 0 || s.allowNewOrigin === "positive" && a.y >= 0 || s.allowNewOrigin === "any") && (p = Math.ceil(-a.y / e) * e, p += r.top, f += p), u += r.right, f += r.bottom, u = Math.max(u, s.minWidth || 0), f = Math.max(f, s.minHeight || 0), u = Math.min(u, s.maxWidth || Number.MAX_SAFE_INTEGER), f = Math.min(f, s.maxHeight || Number.MAX_SAFE_INTEGER);
18127
18131
  const m = this.getComputedSize(), b = u !== m.width || f !== m.height;
18128
- return (g !== c.tx || p !== c.ty) && this.translate(g, p), b && this.resize(u, f), new k(-g / h, -p / d, u / h, f / d);
18132
+ return (g !== c.tx || p !== c.ty) && this.translate(g, p), b && this.resize(u, f), new B(-g / h, -p / d, u / h, f / d);
18129
18133
  }
18130
18134
  scaleContentToFit(t = {}) {
18131
18135
  this.scaleContentToFitImpl(t);
@@ -18152,7 +18156,7 @@ class Xc extends Nt {
18152
18156
  height: b.height
18153
18157
  };
18154
18158
  }
18155
- u = k.create(u).moveAndExpand({
18159
+ u = B.create(u).moveAndExpand({
18156
18160
  x: r.left,
18157
18161
  y: r.top,
18158
18162
  width: -r.left - r.right,
@@ -18168,17 +18172,17 @@ class Xc extends Nt {
18168
18172
  }
18169
18173
  }
18170
18174
  getContentArea(t = {}) {
18171
- return t.useCellGeometry !== !1 ? this.model.getAllCellsBBox() || new k() : at.getBBox(this.stage);
18175
+ return t.useCellGeometry !== !1 ? this.model.getAllCellsBBox() || new B() : at.getBBox(this.stage);
18172
18176
  }
18173
18177
  getContentBBox(t = {}) {
18174
18178
  return this.graph.localToGraph(this.getContentArea(t));
18175
18179
  }
18176
18180
  getGraphArea() {
18177
- const t = k.fromSize(this.getComputedSize());
18181
+ const t = B.fromSize(this.getComputedSize());
18178
18182
  return this.graph.graphToLocal(t);
18179
18183
  }
18180
18184
  zoomToRect(t, e = {}) {
18181
- const n = k.create(t), s = this.graph;
18185
+ const n = B.create(t), s = this.graph;
18182
18186
  e.contentArea = n, e.viewportArea == null && (e.viewportArea = {
18183
18187
  x: s.options.x,
18184
18188
  y: s.options.y,
@@ -18209,7 +18213,7 @@ class Xc extends Nt {
18209
18213
  (r.tx !== a || r.ty !== l) && this.translate(a, l);
18210
18214
  }
18211
18215
  positionRect(t, e) {
18212
- const n = k.create(t);
18216
+ const n = B.create(t);
18213
18217
  switch (e) {
18214
18218
  case "center":
18215
18219
  return this.positionPoint(n.getCenter(), "50%", "50%");
@@ -18248,7 +18252,7 @@ var Rw = function(i, t, e, n) {
18248
18252
  else for (var a = i.length - 1; a >= 0; a--) (o = i[a]) && (r = (s < 3 ? o(r) : s > 3 ? o(t, e, r) : o(t, e)) || r);
18249
18253
  return s > 3 && r && Object.defineProperty(t, e, r), r;
18250
18254
  };
18251
- class kr extends Nt {
18255
+ class Br extends Nt {
18252
18256
  get elem() {
18253
18257
  return this.view.background;
18254
18258
  }
@@ -18268,7 +18272,7 @@ class kr extends Nt {
18268
18272
  const o = r.tx + s.sx * (n.x || 0), a = r.ty + s.sy * (n.y || 0);
18269
18273
  n = `${o}px ${a}px`;
18270
18274
  }
18271
- typeof e == "object" && (e = k.fromSize(e).scale(s.sx, s.sy), e = `${e.width}px ${e.height}px`), this.elem.style.backgroundSize = e, this.elem.style.backgroundPosition = n;
18275
+ typeof e == "object" && (e = B.fromSize(e).scale(s.sx, s.sy), e = `${e.width}px ${e.height}px`), this.elem.style.backgroundSize = e, this.elem.style.backgroundPosition = n;
18272
18276
  }
18273
18277
  drawBackgroundImage(t, e = {}) {
18274
18278
  if (!(t instanceof HTMLImageElement)) {
@@ -18328,7 +18332,7 @@ class kr extends Nt {
18328
18332
  }
18329
18333
  Rw([
18330
18334
  Nt.dispose()
18331
- ], kr.prototype, "dispose", null);
18335
+ ], Br.prototype, "dispose", null);
18332
18336
  var Lw = function(i, t, e, n) {
18333
18337
  var s = arguments.length, r = s < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, e) : n, o;
18334
18338
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(i, t, e, n);
@@ -18479,7 +18483,7 @@ class _r extends Nt {
18479
18483
  }
18480
18484
  }
18481
18485
  jw([
18482
- Bt.dispose()
18486
+ kt.dispose()
18483
18487
  ], _r.prototype, "dispose", null);
18484
18488
  var $w = function(i, t, e, n) {
18485
18489
  var s = arguments.length, r = s < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, e) : n, o;
@@ -18518,7 +18522,7 @@ class Yc extends Nt {
18518
18522
  $w([
18519
18523
  Nt.dispose()
18520
18524
  ], Yc.prototype, "dispose", null);
18521
- class Bw {
18525
+ class kw {
18522
18526
  constructor() {
18523
18527
  this.isFlushing = !1, this.isFlushPending = !1, this.scheduleId = 0, this.queue = [], this.frameInterval = 33, this.initialTime = Date.now();
18524
18528
  }
@@ -18582,13 +18586,13 @@ var ce;
18582
18586
  (function(i) {
18583
18587
  i[i.Update = 2] = "Update", i[i.RenderEdge = 4] = "RenderEdge", i[i.RenderNode = 8] = "RenderNode", i[i.PRIOR = 1048576] = "PRIOR";
18584
18588
  })(ce || (ce = {}));
18585
- var kw = function(i, t, e, n) {
18589
+ var Bw = function(i, t, e, n) {
18586
18590
  var s = arguments.length, r = s < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, e) : n, o;
18587
18591
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(i, t, e, n);
18588
18592
  else for (var a = i.length - 1; a >= 0; a--) (o = i[a]) && (r = (s < 3 ? o(r) : s > 3 ? o(t, e, r) : o(t, e)) || r);
18589
18593
  return s > 3 && r && Object.defineProperty(t, e, r), r;
18590
18594
  };
18591
- class St extends Bt {
18595
+ class St extends kt {
18592
18596
  get model() {
18593
18597
  return this.graph.model;
18594
18598
  }
@@ -18596,7 +18600,7 @@ class St extends Bt {
18596
18600
  return this.graph.view.stage;
18597
18601
  }
18598
18602
  constructor(t) {
18599
- super(), this.views = {}, this.willRemoveViews = {}, this.queue = new Bw(), this.graph = t, this.init();
18603
+ super(), this.views = {}, this.willRemoveViews = {}, this.queue = new kw(), this.graph = t, this.init();
18600
18604
  }
18601
18605
  init() {
18602
18606
  this.startListening(), this.renderViews(this.model.getCells());
@@ -18828,8 +18832,8 @@ class St extends Bt {
18828
18832
  }), this.views = {};
18829
18833
  }
18830
18834
  }
18831
- kw([
18832
- Bt.dispose()
18835
+ Bw([
18836
+ kt.dispose()
18833
18837
  ], St.prototype, "dispose", null);
18834
18838
  (function(i) {
18835
18839
  i.FLAG_INSERT = 1 << 30, i.FLAG_REMOVE = 1 << 29, i.FLAG_RENDER = (1 << 26) - 1;
@@ -18895,7 +18899,7 @@ class Vr extends Nt {
18895
18899
  });
18896
18900
  }
18897
18901
  findViewsInArea(t, e = {}) {
18898
- const n = k.create(t);
18902
+ const n = B.create(t);
18899
18903
  return this.model.getCells().map((s) => this.findViewByCell(s)).filter((s) => {
18900
18904
  if (s) {
18901
18905
  if (e.nodeOnly && !s.isNodeView())
@@ -19017,11 +19021,11 @@ class Zc extends Nt {
19017
19021
  return (typeof t == "number" ? this.localToGraphPoint(t, e) : this.localToGraphPoint(t)).translate(this.getPageOffset());
19018
19022
  }
19019
19023
  localToGraphRect(t, e, n, s) {
19020
- const r = k.create(t, e, n, s);
19024
+ const r = B.create(t, e, n, s);
19021
19025
  return at.transformRectangle(r, this.graph.matrix());
19022
19026
  }
19023
19027
  localToClientRect(t, e, n, s) {
19024
- const r = k.create(t, e, n, s);
19028
+ const r = B.create(t, e, n, s);
19025
19029
  return at.transformRectangle(r, this.getClientMatrix());
19026
19030
  }
19027
19031
  localToPageRect(t, e, n, s) {
@@ -19044,19 +19048,19 @@ class Zc extends Nt {
19044
19048
  return this.graphToLocalPoint(s);
19045
19049
  }
19046
19050
  graphToLocalRect(t, e, n, s) {
19047
- const r = k.create(t, e, n, s);
19051
+ const r = B.create(t, e, n, s);
19048
19052
  return at.transformRectangle(r, this.graph.matrix().inverse());
19049
19053
  }
19050
19054
  clientToLocalRect(t, e, n, s) {
19051
- const r = k.create(t, e, n, s);
19055
+ const r = B.create(t, e, n, s);
19052
19056
  return at.transformRectangle(r, this.getClientMatrix().inverse());
19053
19057
  }
19054
19058
  clientToGraphRect(t, e, n, s) {
19055
- const r = k.create(t, e, n, s);
19059
+ const r = B.create(t, e, n, s);
19056
19060
  return at.transformRectangle(r, this.graph.matrix().multiply(this.getClientMatrix().inverse()));
19057
19061
  }
19058
19062
  pageToLocalRect(t, e, n, s) {
19059
- const r = k.create(t, e, n, s), o = this.getPageOffset();
19063
+ const r = B.create(t, e, n, s), o = this.getPageOffset();
19060
19064
  return r.x -= o.x, r.y -= o.y, this.graphToLocalRect(r);
19061
19065
  }
19062
19066
  }
@@ -19187,7 +19191,7 @@ class j extends gt {
19187
19191
  return j.toStringTag;
19188
19192
  }
19189
19193
  constructor(t) {
19190
- super(), this.installedPlugins = /* @__PURE__ */ new Set(), this.options = ui.get(t), this.css = new er(this), this.view = new oe(this), this.defs = new Jc(this), this.coord = new Zc(this), this.transform = new Xc(this), this.highlight = new ts(this), this.grid = new Br(this), this.background = new kr(this), this.options.model ? this.model = this.options.model : (this.model = new _t(), this.model.graph = this), this.renderer = new Vr(this), this.panning = new zr(this), this.mousewheel = new _r(this), this.virtualRender = new Yc(this), this.size = new Kc(this);
19194
+ super(), this.installedPlugins = /* @__PURE__ */ new Set(), this.options = ui.get(t), this.css = new er(this), this.view = new oe(this), this.defs = new Jc(this), this.coord = new Zc(this), this.transform = new Xc(this), this.highlight = new ts(this), this.grid = new kr(this), this.background = new Br(this), this.options.model ? this.model = this.options.model : (this.model = new _t(), this.model.graph = this), this.renderer = new Vr(this), this.panning = new zr(this), this.mousewheel = new _r(this), this.virtualRender = new Yc(this), this.size = new Kc(this);
19191
19195
  }
19192
19196
  // #region model
19193
19197
  isNode(t) {
@@ -19428,7 +19432,7 @@ class j extends gt {
19428
19432
  return tt.isCell(t) ? this.findViewByCell(t) : this.findViewByElem(t);
19429
19433
  }
19430
19434
  findViews(t) {
19431
- return k.isRectangleLike(t) ? this.findViewsInArea(t) : E.isPointLike(t) ? this.findViewsFromPoint(t) : [];
19435
+ return B.isRectangleLike(t) ? this.findViewsInArea(t) : E.isPointLike(t) ? this.findViewsFromPoint(t) : [];
19432
19436
  }
19433
19437
  findViewByCell(t) {
19434
19438
  return this.renderer.findViewByCell(t);
@@ -19547,25 +19551,25 @@ class j extends gt {
19547
19551
  return this.coord.snapToGrid(t, e);
19548
19552
  }
19549
19553
  pageToLocal(t, e, n, s) {
19550
- return k.isRectangleLike(t) ? this.coord.pageToLocalRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.pageToLocalRect(t, e, n, s) : this.coord.pageToLocalPoint(t, e);
19554
+ return B.isRectangleLike(t) ? this.coord.pageToLocalRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.pageToLocalRect(t, e, n, s) : this.coord.pageToLocalPoint(t, e);
19551
19555
  }
19552
19556
  localToPage(t, e, n, s) {
19553
- return k.isRectangleLike(t) ? this.coord.localToPageRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.localToPageRect(t, e, n, s) : this.coord.localToPagePoint(t, e);
19557
+ return B.isRectangleLike(t) ? this.coord.localToPageRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.localToPageRect(t, e, n, s) : this.coord.localToPagePoint(t, e);
19554
19558
  }
19555
19559
  clientToLocal(t, e, n, s) {
19556
- return k.isRectangleLike(t) ? this.coord.clientToLocalRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.clientToLocalRect(t, e, n, s) : this.coord.clientToLocalPoint(t, e);
19560
+ return B.isRectangleLike(t) ? this.coord.clientToLocalRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.clientToLocalRect(t, e, n, s) : this.coord.clientToLocalPoint(t, e);
19557
19561
  }
19558
19562
  localToClient(t, e, n, s) {
19559
- return k.isRectangleLike(t) ? this.coord.localToClientRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.localToClientRect(t, e, n, s) : this.coord.localToClientPoint(t, e);
19563
+ return B.isRectangleLike(t) ? this.coord.localToClientRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.localToClientRect(t, e, n, s) : this.coord.localToClientPoint(t, e);
19560
19564
  }
19561
19565
  localToGraph(t, e, n, s) {
19562
- return k.isRectangleLike(t) ? this.coord.localToGraphRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.localToGraphRect(t, e, n, s) : this.coord.localToGraphPoint(t, e);
19566
+ return B.isRectangleLike(t) ? this.coord.localToGraphRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.localToGraphRect(t, e, n, s) : this.coord.localToGraphPoint(t, e);
19563
19567
  }
19564
19568
  graphToLocal(t, e, n, s) {
19565
- return k.isRectangleLike(t) ? this.coord.graphToLocalRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.graphToLocalRect(t, e, n, s) : this.coord.graphToLocalPoint(t, e);
19569
+ return B.isRectangleLike(t) ? this.coord.graphToLocalRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.graphToLocalRect(t, e, n, s) : this.coord.graphToLocalPoint(t, e);
19566
19570
  }
19567
19571
  clientToGraph(t, e, n, s) {
19568
- return k.isRectangleLike(t) ? this.coord.clientToGraphRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.clientToGraphRect(t, e, n, s) : this.coord.clientToGraphPoint(t, e);
19572
+ return B.isRectangleLike(t) ? this.coord.clientToGraphRect(t) : typeof t == "number" && typeof e == "number" && typeof n == "number" && typeof s == "number" ? this.coord.clientToGraphRect(t, e, n, s) : this.coord.clientToGraphPoint(t, e);
19569
19573
  }
19570
19574
  // #endregion
19571
19575
  // #region defs
@@ -19704,7 +19708,7 @@ Fw([
19704
19708
  gt.dispose()
19705
19709
  ], j.prototype, "dispose", null);
19706
19710
  (function(i) {
19707
- i.View = oe, i.Renderer = Vr, i.MouseWheel = _r, i.DefsManager = Jc, i.GridManager = Br, i.CoordManager = Zc, i.TransformManager = Xc, i.HighlightManager = ts, i.BackgroundManager = kr, i.PanningManager = zr;
19711
+ i.View = oe, i.Renderer = Vr, i.MouseWheel = _r, i.DefsManager = Jc, i.GridManager = kr, i.CoordManager = Zc, i.TransformManager = Xc, i.HighlightManager = ts, i.BackgroundManager = Br, i.PanningManager = zr;
19708
19712
  })(j || (j = {}));
19709
19713
  (function(i) {
19710
19714
  i.toStringTag = `X6.${i.name}`;
@@ -19960,10 +19964,10 @@ const Uw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19960
19964
  for (const A of S) {
19961
19965
  let N = A.visible ?? !0;
19962
19966
  if (typeof A.visible == "function" && (N = A.visible(w)), !N) continue;
19963
- let B = A.disabled ?? !1;
19964
- typeof A.disabled == "function" && (B = A.disabled(w));
19967
+ let k = A.disabled ?? !1;
19968
+ typeof A.disabled == "function" && (k = A.disabled(w));
19965
19969
  const V = document.createElement("div");
19966
- Object.keys(P).forEach(($) => V.style[$] = P[$]), B && Object.keys(O).forEach(($) => V.style[$] = O[$]), V.innerText = A.label, M.appendChild(V), B || (V.addEventListener("click", () => {
19970
+ Object.keys(P).forEach(($) => V.style[$] = P[$]), k && Object.keys(O).forEach(($) => V.style[$] = O[$]), V.innerText = A.label, M.appendChild(V), k || (V.addEventListener("click", () => {
19967
19971
  var _, L;
19968
19972
  (_ = A.onClick) == null || _.call(A, w);
19969
19973
  const $ = s.click || {};
@@ -20185,8 +20189,8 @@ const Uw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20185
20189
  let M;
20186
20190
  p("mousemove", (N) => {
20187
20191
  h.x = N.x, h.y = N.y, M && clearTimeout(M), T && (M = setTimeout(() => {
20188
- const { top: B, bottom: V, left: $, right: _ } = a.$rootContainer.getBoundingClientRect();
20189
- if (N.y < B || N.y > V || N.x < $ || N.y > _) return x();
20192
+ const { top: k, bottom: V, left: $, right: _ } = a.$rootContainer.getBoundingClientRect();
20193
+ if (N.y < k || N.y > V || N.x < $ || N.y > _) return x();
20190
20194
  }, 300)), l.style.top = N.y + "px", l.style.left = N.x + "px", c.style.top = N.y + O + "px", c.style.left = N.x + "px";
20191
20195
  }), T && (p("dblclick", w), p("contextmenu", w)), m("blank:click", (N) => {
20192
20196
  y(N);
@@ -20195,12 +20199,12 @@ const Uw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20195
20199
  }), m("edge:click", (N) => {
20196
20200
  y(N);
20197
20201
  }), m("node:removed", (N) => {
20198
- s && (d.value = d.value.filter((B) => B.id !== N.node.id));
20202
+ s && (d.value = d.value.filter((k) => k.id !== N.node.id));
20199
20203
  }), m("edge:removed", (N) => {
20200
- s && (u.value = u.value.filter((B) => B.id !== N.edge.id));
20204
+ s && (u.value = u.value.filter((k) => k.id !== N.edge.id));
20201
20205
  }), m("history:redo", (N) => {
20202
20206
  if (!s) return;
20203
- const { cmds: B = [] } = N, V = B.find(
20207
+ const { cmds: k = [] } = N, V = k.find(
20204
20208
  (_) => {
20205
20209
  var L;
20206
20210
  return _.event === "cell:added" && ((L = _.data.props.data) == null ? void 0 : L.drawingGroupId) === r;
@@ -20210,7 +20214,7 @@ const Uw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20210
20214
  const _ = a.getCellById(V.data.id);
20211
20215
  d.value.find((G) => G.id === _.id) || d.value.push(_);
20212
20216
  }
20213
- const $ = B.find(
20217
+ const $ = k.find(
20214
20218
  (_) => {
20215
20219
  var L;
20216
20220
  return _.event === "edge:added" && ((L = _.data.props.data) == null ? void 0 : L.drawingGroupId) === r;
@@ -20240,14 +20244,14 @@ const Uw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20240
20244
  drawingIndex: d.value.length,
20241
20245
  drawingGroupId: r
20242
20246
  }
20243
- }), N = (e == null ? void 0 : e.edgeOptions) || {}, B = ((G = e == null ? void 0 : e.edgeOptions) == null ? void 0 : G.data) || {};
20247
+ }), N = (e == null ? void 0 : e.edgeOptions) || {}, k = ((G = e == null ? void 0 : e.edgeOptions) == null ? void 0 : G.data) || {};
20244
20248
  let V;
20245
20249
  return d.value.length > 0 && (V = a.addEdge({
20246
20250
  source: O,
20247
20251
  target: A,
20248
20252
  ...N,
20249
20253
  data: {
20250
- ...B,
20254
+ ...k,
20251
20255
  isDraw: !0,
20252
20256
  drawingIndex: d.value.length,
20253
20257
  drawingGroupId: r
@@ -20266,8 +20270,8 @@ const Uw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20266
20270
  Object.keys(A).forEach((V) => M.attr(`text/${V}`, A[V]));
20267
20271
  const N = R.rect || {};
20268
20272
  Object.keys(N).forEach((V) => M.attr(`text/${V}`, N[V]));
20269
- const B = R.body || {};
20270
- Object.keys(N).forEach((V) => M.attr(`text/${V}`, B[V]));
20273
+ const k = R.body || {};
20274
+ Object.keys(N).forEach((V) => M.attr(`text/${V}`, k[V]));
20271
20275
  }
20272
20276
  if (d.value.length >= 2 && (e != null && e.closure)) {
20273
20277
  const T = e.edgeOptions || {}, M = ((S = e.edgeOptions) == null ? void 0 : S.data) || {}, I = e.closureEdgeOptions || {}, D = ((C = e.closureEdgeOptions) == null ? void 0 : C.data) || {}, R = d.value[0], A = d.value[d.value.length - 1];
@@ -20290,8 +20294,8 @@ const Uw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20290
20294
  if (e != null && e.polyline && d.value.length > 1) {
20291
20295
  const T = d.value.map((N) => `${N.getPosition().x},${N.getPosition().y}`);
20292
20296
  if (d.value.length >= 2 && (e != null && e.closure)) {
20293
- const { x: N, y: B } = d.value[0].getPosition();
20294
- T.push(`${N},${B}`);
20297
+ const { x: N, y: k } = d.value[0].getPosition();
20298
+ T.push(`${N},${k}`);
20295
20299
  }
20296
20300
  const M = a.getCellsBBox(d.value), I = ((P = e == null ? void 0 : e.polylineOptions) == null ? void 0 : P.data) || {}, D = ((O = e == null ? void 0 : e.polylineOptions) == null ? void 0 : O.attrs) || {}, R = D.body || {}, A = D.label || {};
20297
20301
  f.value = a.addNode({
@@ -21024,10 +21028,10 @@ var sh = { exports: {} };
21024
21028
  function M(D, R, A) {
21025
21029
  var N = D.childNodes;
21026
21030
  if (N.length === 0) return Promise.resolve(R);
21027
- return B(R, e.asArray(N), A).then(function() {
21031
+ return k(R, e.asArray(N), A).then(function() {
21028
21032
  return R;
21029
21033
  });
21030
- function B(V, $, _) {
21034
+ function k(V, $, _) {
21031
21035
  var L = Promise.resolve();
21032
21036
  return $.forEach(function(G) {
21033
21037
  L = L.then(function() {
@@ -21040,7 +21044,7 @@ var sh = { exports: {} };
21040
21044
  }
21041
21045
  function I(D, R) {
21042
21046
  if (!(R instanceof Element)) return R;
21043
- return Promise.resolve().then(A).then(N).then(B).then(V).then(function() {
21047
+ return Promise.resolve().then(A).then(N).then(k).then(V).then(function() {
21044
21048
  return R;
21045
21049
  });
21046
21050
  function A() {
@@ -21078,14 +21082,14 @@ var sh = { exports: {} };
21078
21082
  }
21079
21083
  function $n(le) {
21080
21084
  return e.asArray(le).map(be).join("; ") + ";";
21081
- function be(Bn) {
21082
- return Bn + ": " + le.getPropertyValue(Bn) + (le.getPropertyPriority(Bn) ? " !important" : "");
21085
+ function be(kn) {
21086
+ return kn + ": " + le.getPropertyValue(kn) + (le.getPropertyPriority(kn) ? " !important" : "");
21083
21087
  }
21084
21088
  }
21085
21089
  }
21086
21090
  }
21087
21091
  }
21088
- function B() {
21092
+ function k() {
21089
21093
  D instanceof HTMLTextAreaElement && (R.innerHTML = D.value), D instanceof HTMLInputElement && R.setAttribute("value", D.value);
21090
21094
  }
21091
21095
  function V() {
@@ -21123,7 +21127,7 @@ var sh = { exports: {} };
21123
21127
  escape: V,
21124
21128
  parseExtension: P,
21125
21129
  mimeType: O,
21126
- dataAsUrl: B,
21130
+ dataAsUrl: k,
21127
21131
  isDataUrl: T,
21128
21132
  canvasToBlob: I,
21129
21133
  resolveUrl: D,
@@ -21217,8 +21221,8 @@ var sh = { exports: {} };
21217
21221
  }
21218
21222
  var be = new FileReader();
21219
21223
  be.onloadend = function() {
21220
- var Bn = be.result.split(/,/)[1];
21221
- H(Bn);
21224
+ var kn = be.result.split(/,/)[1];
21225
+ H(kn);
21222
21226
  }, be.readAsDataURL(Z.response);
21223
21227
  }
21224
21228
  }
@@ -21230,7 +21234,7 @@ var sh = { exports: {} };
21230
21234
  }
21231
21235
  });
21232
21236
  }
21233
- function B(z, q) {
21237
+ function k(z, q) {
21234
21238
  return "data:" + q + ";base64," + z;
21235
21239
  }
21236
21240
  function V(z) {
@@ -21286,26 +21290,26 @@ var sh = { exports: {} };
21286
21290
  });
21287
21291
  }
21288
21292
  function T(I, D, R, A) {
21289
- return Promise.resolve(D).then(function(B) {
21290
- return R ? e.resolveUrl(B, R) : B;
21291
- }).then(A || e.getAndEncode).then(function(B) {
21292
- return e.dataAsUrl(B, e.mimeType(D));
21293
- }).then(function(B) {
21294
- return I.replace(N(D), "$1" + B + "$3");
21293
+ return Promise.resolve(D).then(function(k) {
21294
+ return R ? e.resolveUrl(k, R) : k;
21295
+ }).then(A || e.getAndEncode).then(function(k) {
21296
+ return e.dataAsUrl(k, e.mimeType(D));
21297
+ }).then(function(k) {
21298
+ return I.replace(N(D), "$1" + k + "$3");
21295
21299
  });
21296
- function N(B) {
21297
- return new RegExp(`(url\\(['"]?)(` + e.escape(B) + `)(['"]?\\))`, "g");
21300
+ function N(k) {
21301
+ return new RegExp(`(url\\(['"]?)(` + e.escape(k) + `)(['"]?\\))`, "g");
21298
21302
  }
21299
21303
  }
21300
21304
  function M(I, D, R) {
21301
21305
  if (A()) return Promise.resolve(I);
21302
21306
  return Promise.resolve(I).then(O).then(function(N) {
21303
- var B = Promise.resolve(I);
21307
+ var k = Promise.resolve(I);
21304
21308
  return N.forEach(function(V) {
21305
- B = B.then(function($) {
21309
+ k = k.then(function($) {
21306
21310
  return T($, V, D, R);
21307
21311
  });
21308
- }), B;
21312
+ }), k;
21309
21313
  });
21310
21314
  function A() {
21311
21315
  return !P(I);
@@ -22001,7 +22005,7 @@ class We extends st {
22001
22005
  }
22002
22006
  getDropArea(t) {
22003
22007
  const e = Xs(t), n = document.body.scrollTop || document.documentElement.scrollTop, s = document.body.scrollLeft || document.documentElement.scrollLeft;
22004
- return k.create({
22008
+ return B.create({
22005
22009
  x: e.left + parseInt(Pt(t, "border-left-width"), 10) - s,
22006
22010
  y: e.top + parseInt(Pt(t, "border-top-width"), 10) - n,
22007
22011
  width: t.clientWidth,
@@ -22248,7 +22252,7 @@ var ah = { exports: {} };
22248
22252
  var dt = X.type == "keypress" && I;
22249
22253
  X.type == D && !m(L) && !dt && R(q), I = Z && X.type == "keydown";
22250
22254
  };
22251
- function B(L) {
22255
+ function k(L) {
22252
22256
  typeof L.which != "number" && (L.which = L.keyCode);
22253
22257
  var G = d(L);
22254
22258
  if (G) {
@@ -22296,7 +22300,7 @@ var ah = { exports: {} };
22296
22300
  P._bindMultiple = function(L, G, X) {
22297
22301
  for (var W = 0; W < L.length; ++W)
22298
22302
  _(L[W], G, X);
22299
- }, h(C, "keypress", B), h(C, "keydown", B), h(C, "keyup", B);
22303
+ }, h(C, "keypress", k), h(C, "keydown", k), h(C, "keyup", k);
22300
22304
  }
22301
22305
  S.prototype.bind = function(C, P, O) {
22302
22306
  var T = this;
@@ -22340,13 +22344,13 @@ var ah = { exports: {} };
22340
22344
  })(ah);
22341
22345
  var j1 = ah.exports;
22342
22346
  const $1 = /* @__PURE__ */ ih(j1);
22343
- var B1 = function(i, t, e, n) {
22347
+ var k1 = function(i, t, e, n) {
22344
22348
  var s = arguments.length, r = s < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, e) : n, o;
22345
22349
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(i, t, e, n);
22346
22350
  else for (var a = i.length - 1; a >= 0; a--) (o = i[a]) && (r = (s < 3 ? o(r) : s > 3 ? o(t, e, r) : o(t, e)) || r);
22347
22351
  return s > 3 && r && Object.defineProperty(t, e, r), r;
22348
22352
  };
22349
- class Pn extends Bt {
22353
+ class Pn extends kt {
22350
22354
  get graph() {
22351
22355
  return this.options.graph;
22352
22356
  }
@@ -22414,8 +22418,8 @@ class Pn extends Bt {
22414
22418
  this.mousetrap.reset();
22415
22419
  }
22416
22420
  }
22417
- B1([
22418
- Bt.dispose()
22421
+ k1([
22422
+ kt.dispose()
22419
22423
  ], Pn.prototype, "dispose", null);
22420
22424
  (function(i) {
22421
22425
  function t(e) {
@@ -22456,13 +22460,13 @@ j.prototype.triggerKey = function(i, t) {
22456
22460
  const e = this.getPlugin("keyboard");
22457
22461
  return e && e.trigger(i, t), this;
22458
22462
  };
22459
- var k1 = function(i, t, e, n) {
22463
+ var B1 = function(i, t, e, n) {
22460
22464
  var s = arguments.length, r = s < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, e) : n, o;
22461
22465
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(i, t, e, n);
22462
22466
  else for (var a = i.length - 1; a >= 0; a--) (o = i[a]) && (r = (s < 3 ? o(r) : s > 3 ? o(t, e, r) : o(t, e)) || r);
22463
22467
  return s > 3 && r && Object.defineProperty(t, e, r), r;
22464
22468
  };
22465
- class lh extends Bt {
22469
+ class lh extends kt {
22466
22470
  constructor(t = {}) {
22467
22471
  super(), this.name = "keyboard", this.options = Object.assign({ enabled: !0 }, t);
22468
22472
  }
@@ -22499,8 +22503,8 @@ class lh extends Bt {
22499
22503
  this.keyboardImpl.dispose();
22500
22504
  }
22501
22505
  }
22502
- k1([
22503
- Bt.dispose()
22506
+ B1([
22507
+ kt.dispose()
22504
22508
  ], lh.prototype, "dispose", null);
22505
22509
  const z1 = (i, t) => {
22506
22510
  i.use(new lh({ enabled: !0, ...t.keyboard || {} }));
@@ -22547,7 +22551,7 @@ class ch extends st {
22547
22551
  return this.options.graph;
22548
22552
  }
22549
22553
  get boxClassName() {
22550
- return this.prefixClassName(kt.classNames.box);
22554
+ return this.prefixClassName(Bt.classNames.box);
22551
22555
  }
22552
22556
  get $boxes() {
22553
22557
  return qb(this.container, this.boxClassName);
@@ -22557,7 +22561,7 @@ class ch extends st {
22557
22561
  }
22558
22562
  constructor(t) {
22559
22563
  super(), this.options = t, this.options.model && (this.options.collection = this.options.model.collection), this.options.collection ? this.collection = this.options.collection : (this.collection = new Qi([], {
22560
- comparator: kt.depthComparator
22564
+ comparator: Bt.depthComparator
22561
22565
  }), this.options.collection = this.collection), this.boxCount = 0, this.createContainer(), this.startListening();
22562
22566
  }
22563
22567
  startListening() {
@@ -22661,7 +22665,7 @@ class ch extends st {
22661
22665
  scrollerX: 0,
22662
22666
  scrollerY: 0,
22663
22667
  moving: !1
22664
- }), this.delegateDocumentEvents(kt.documentEvents, t.data);
22668
+ }), this.delegateDocumentEvents(Bt.documentEvents, t.data);
22665
22669
  }
22666
22670
  filter(t) {
22667
22671
  const e = this.options.filter;
@@ -22674,7 +22678,7 @@ class ch extends st {
22674
22678
  let r = Ay(this.container), o = My(this.container);
22675
22679
  const a = Xs(this.container), l = e.pageToLocal(a.left, a.top), c = e.transform.getScale();
22676
22680
  r /= c.sx, o /= c.sy;
22677
- const h = new k(l.x, l.y, r, o), d = this.getCellViewsInArea(h).map((u) => u.cell);
22681
+ const h = new B(l.x, l.y, r, o), d = this.getCellViewsInArea(h).map((u) => u.cell);
22678
22682
  this.reset(d, { batch: !0 }), this.hideRubberband();
22679
22683
  break;
22680
22684
  }
@@ -22706,7 +22710,7 @@ class ch extends st {
22706
22710
  const n = this.getCellViewFromElem(e.target);
22707
22711
  this.setEventData(e, { activeView: n });
22708
22712
  const s = this.graph.snapToGrid(e.clientX, e.clientY);
22709
- this.notifyBoxEvent("box:mousedown", e, s.x, s.y), this.delegateDocumentEvents(kt.documentEvents, e.data);
22713
+ this.notifyBoxEvent("box:mousedown", e, s.x, s.y), this.delegateDocumentEvents(Bt.documentEvents, e.data);
22710
22714
  }
22711
22715
  startTranslating(t) {
22712
22716
  this.graph.model.startBatch("move-selection");
@@ -22727,7 +22731,7 @@ class ch extends st {
22727
22731
  let n = t.x - e.clientX, s = t.y - e.clientY;
22728
22732
  const r = this.getRestrictArea();
22729
22733
  if (r) {
22730
- const o = this.collection.toArray(), a = tt.getCellsBBox(o, { deep: !0 }) || k.create(), l = r.x - a.x, c = r.y - a.y, h = r.x + r.width - (a.x + a.width), d = r.y + r.height - (a.y + a.height);
22734
+ const o = this.collection.toArray(), a = tt.getCellsBBox(o, { deep: !0 }) || B.create(), l = r.x - a.x, c = r.y - a.y, h = r.x + r.width - (a.x + a.width), d = r.y + r.height - (a.y + a.height);
22731
22735
  if (n < l && (n = l), s < c && (s = c), h < n && (n = h), d < s && (s = d), !this.options.following) {
22732
22736
  const u = t.x - e.originX, f = t.y - e.originY;
22733
22737
  n = u <= l || u >= h ? 0 : n, s = f <= c || f >= d ? 0 : s;
@@ -22833,19 +22837,19 @@ class ch extends st {
22833
22837
  t.forEach((e) => this.removeCellUnSelectedClassName(e)), this.hide(), ne(this.$boxes), this.boxCount = 0;
22834
22838
  }
22835
22839
  hide() {
22836
- xt(this.container, this.prefixClassName(kt.classNames.rubberband)), xt(this.container, this.prefixClassName(kt.classNames.selected));
22840
+ xt(this.container, this.prefixClassName(Bt.classNames.rubberband)), xt(this.container, this.prefixClassName(Bt.classNames.selected));
22837
22841
  }
22838
22842
  showRubberband() {
22839
- J(this.container, this.prefixClassName(kt.classNames.rubberband));
22843
+ J(this.container, this.prefixClassName(Bt.classNames.rubberband));
22840
22844
  }
22841
22845
  hideRubberband() {
22842
- xt(this.container, this.prefixClassName(kt.classNames.rubberband));
22846
+ xt(this.container, this.prefixClassName(Bt.classNames.rubberband));
22843
22847
  }
22844
22848
  showSelected() {
22845
- Ir(this.container, "style"), J(this.container, this.prefixClassName(kt.classNames.selected));
22849
+ Ir(this.container, "style"), J(this.container, this.prefixClassName(Bt.classNames.selected));
22846
22850
  }
22847
22851
  createContainer() {
22848
- this.container = document.createElement("div"), J(this.container, this.prefixClassName(kt.classNames.root)), this.options.className && J(this.container, this.options.className), this.selectionContainer = document.createElement("div"), J(this.selectionContainer, this.prefixClassName(kt.classNames.inner)), this.selectionContent = document.createElement("div"), J(this.selectionContent, this.prefixClassName(kt.classNames.content)), De(this.selectionContainer, this.selectionContent), it(this.selectionContainer, "data-selection-length", this.collection.length), zl(this.container, this.selectionContainer);
22852
+ this.container = document.createElement("div"), J(this.container, this.prefixClassName(Bt.classNames.root)), this.options.className && J(this.container, this.options.className), this.selectionContainer = document.createElement("div"), J(this.selectionContainer, this.prefixClassName(Bt.classNames.inner)), this.selectionContent = document.createElement("div"), J(this.selectionContent, this.prefixClassName(Bt.classNames.content)), De(this.selectionContainer, this.selectionContent), it(this.selectionContainer, "data-selection-length", this.collection.length), zl(this.container, this.selectionContainer);
22849
22853
  }
22850
22854
  updateContainerPosition(t) {
22851
22855
  (t.dx || t.dy) && this.updateElementPosition(this.selectionContainer, t.dx, t.dy);
@@ -22962,7 +22966,7 @@ class ch extends st {
22962
22966
  H1([
22963
22967
  st.dispose()
22964
22968
  ], ch.prototype, "dispose", null);
22965
- var kt;
22969
+ var Bt;
22966
22970
  (function(i) {
22967
22971
  const t = "widget-selection";
22968
22972
  i.classNames = {
@@ -22983,7 +22987,7 @@ var kt;
22983
22987
  return n.getAncestors().length;
22984
22988
  }
22985
22989
  i.depthComparator = e;
22986
- })(kt || (kt = {}));
22990
+ })(Bt || (Bt = {}));
22987
22991
  const G1 = `.x6-widget-selection {
22988
22992
  position: absolute;
22989
22993
  top: 0;
@@ -23546,14 +23550,14 @@ class hh extends st {
23546
23550
  const D = I.getBBox().bbox(I.getAngle()), R = D.getTopLeft(), A = D.getBottomRight(), N = {
23547
23551
  vertical: [R.x, A.x],
23548
23552
  horizontal: [R.y, A.y]
23549
- }, B = {};
23553
+ }, k = {};
23550
23554
  return Object.keys(N).forEach((V) => {
23551
23555
  const $ = V, _ = N[$].map((L) => ({
23552
23556
  position: L,
23553
23557
  distance: Math.abs(L - m[$])
23554
23558
  })).filter((L) => L.distance <= c);
23555
- B[$] = yr(_, (L) => L.distance);
23556
- }), h == null && B.vertical.length > 0 && (h = B.vertical[0].position, d = Math.min(r.y, D.y), u = Math.max(a.y, A.y) - d), f == null && B.horizontal.length > 0 && (f = B.horizontal[0].position, g = Math.min(r.x, D.x), p = Math.max(a.x, A.x) - g), h != null && f != null;
23559
+ k[$] = yr(_, (L) => L.distance);
23560
+ }), h == null && k.vertical.length > 0 && (h = k.vertical[0].position, d = Math.min(r.y, D.y), u = Math.max(a.y, A.y) - d), f == null && k.horizontal.length > 0 && (f = k.horizontal[0].position, g = Math.min(r.x, D.x), p = Math.max(a.x, A.x) - g), h != null && f != null;
23557
23561
  }), this.hide();
23558
23562
  let w = 0, v = 0;
23559
23563
  (f != null || h != null) && (h != null && (w = y.indexOf("right") !== -1 ? h - a.x : o.x - h), f != null && (v = y.indexOf("bottom") !== -1 ? f - a.y : o.y - f));
@@ -23613,7 +23617,7 @@ class hh extends st {
23613
23617
  const r = t.getEventData(e).delegatedView || t;
23614
23618
  if (!this.isNodeMovable(r))
23615
23619
  return;
23616
- const o = r.cell, a = o.getSize(), l = o.getPosition(), c = new k(n - this.offset.x, s - this.offset.y, a.width, a.height), h = o.getAngle(), d = c.getCenter(), u = c.bbox(h), f = u.getTopLeft(), g = u.getBottomRight(), p = this.options.tolerance || 0;
23620
+ const o = r.cell, a = o.getSize(), l = o.getPosition(), c = new B(n - this.offset.x, s - this.offset.y, a.width, a.height), h = o.getAngle(), d = c.getCenter(), u = c.bbox(h), f = u.getTopLeft(), g = u.getBottomRight(), p = this.options.tolerance || 0;
23617
23621
  let m, b, y, x, w, v, S = 0, C = 0;
23618
23622
  if (this.model.getNodes().some((P) => {
23619
23623
  if (this.isIgnored(o, P))
@@ -23776,7 +23780,7 @@ var Z1 = function(i, t, e, n) {
23776
23780
  else for (var a = i.length - 1; a >= 0; a--) (o = i[a]) && (r = (s < 3 ? o(r) : s > 3 ? o(t, e, r) : o(t, e)) || r);
23777
23781
  return s > 3 && r && Object.defineProperty(t, e, r), r;
23778
23782
  };
23779
- class uh extends Bt {
23783
+ class uh extends kt {
23780
23784
  constructor(t = {}) {
23781
23785
  super(), this.name = "snapline", this.options = Object.assign({ enabled: !0, tolerance: 10 }, t), yi(this.name, J1);
23782
23786
  }
@@ -23847,7 +23851,7 @@ class uh extends Bt {
23847
23851
  }
23848
23852
  }
23849
23853
  Z1([
23850
- Bt.dispose()
23854
+ kt.dispose()
23851
23855
  ], uh.prototype, "dispose", null);
23852
23856
  const K1 = (i, t) => {
23853
23857
  i.use(new uh({ enabled: !0, ...t.snapline || {} }));
@@ -24577,7 +24581,7 @@ const iC = (i, t) => {
24577
24581
  );
24578
24582
  let m;
24579
24583
  return sr(() => {
24580
- var O, T, M, I, D, R, A, N, B, V;
24584
+ var O, T, M, I, D, R, A, N, k, V;
24581
24585
  const v = hr({
24582
24586
  autoResize: !1,
24583
24587
  // 自动大小
@@ -24663,7 +24667,7 @@ const iC = (i, t) => {
24663
24667
  var _, L, G;
24664
24668
  (L = (_ = $.cell) == null ? void 0 : _.getData()) != null && L.ignoreDblclickReset || (G = c.value) == null || G.zoomToFit();
24665
24669
  };
24666
- (R = c.value) == null || R.on("blank:dblclick", P), (A = c.value) == null || A.on("node:dblclick", P), (N = c.value) == null || N.on("cell:dblclick", P), (B = c.value) == null || B.on("edge:dblclick", P), (V = c.value) == null || V.$text.enableDblClickEdit(), m = new ResizeObserver(([{ contentRect: $ }]) => {
24670
+ (R = c.value) == null || R.on("blank:dblclick", P), (A = c.value) == null || A.on("node:dblclick", P), (N = c.value) == null || N.on("cell:dblclick", P), (k = c.value) == null || k.on("edge:dblclick", P), (V = c.value) == null || V.$text.enableDblClickEdit(), m = new ResizeObserver(([{ contentRect: $ }]) => {
24667
24671
  var G;
24668
24672
  const { width: _, height: L } = $;
24669
24673
  (G = c.value) == null || G.resize(_, L);