@fibery/custom-app-text-editor 1.2.0

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 (105) hide show
  1. package/LICENSE +214 -0
  2. package/README.md +33 -0
  3. package/lib/abnfDiagram-VRR7QNED-BgjOQqEh.js +89 -0
  4. package/lib/arc-Dp0rqagO.js +82 -0
  5. package/lib/architecture-TIHT7OUA-DDwCCw0y.js +3 -0
  6. package/lib/architectureDiagram-ZJ3FMSHR-BucIluTN.js +4129 -0
  7. package/lib/array-CApNbSU9.js +6 -0
  8. package/lib/blockDiagram-677ZJIJ3-CWYuHThP.js +3157 -0
  9. package/lib/c4Diagram-LMCZKHZV-Cr3_W-xe.js +2982 -0
  10. package/lib/channel-Bb7a6w5c.js +5 -0
  11. package/lib/chunk-2Q5K7J3B-CINvUK-A.js +15 -0
  12. package/lib/chunk-32BRIVSS-b-BvyGz0.js +61 -0
  13. package/lib/chunk-52WLFC77-Cf8zEoqs.js +593 -0
  14. package/lib/chunk-5VM5RSS4-Dnx15xMv.js +5 -0
  15. package/lib/chunk-7BUUIJ7U-B018BbRy.js +82 -0
  16. package/lib/chunk-C7G6YPKG-CmOuVFlJ.js +67 -0
  17. package/lib/chunk-EX3LRPZG-LynZw14I.js +2042 -0
  18. package/lib/chunk-HOUHSVGY-Br7ZSMKe.js +275 -0
  19. package/lib/chunk-ICXQ74PX-VqT5WUTt.js +1330 -0
  20. package/lib/chunk-JWPE2WC7-Ch0jmUXM.js +8 -0
  21. package/lib/chunk-KEIR6QF5-RwFi50en.js +21456 -0
  22. package/lib/chunk-MOJQB5TN-rQ4AfTd9.js +490 -0
  23. package/lib/chunk-OGEWGWER-BvF6eV9Q.js +32 -0
  24. package/lib/chunk-PUDLZKDR-BW7SZvCB.js +4135 -0
  25. package/lib/chunk-Q4XR5HBZ-CRgGP3ez.js +1635 -0
  26. package/lib/chunk-RYQCIY6F-CHlASUpG.js +241 -0
  27. package/lib/chunk-V7JOEXUC-OY39ml6X.js +3357 -0
  28. package/lib/chunk-VR4S4FIN-Bk7IFdYB.js +26 -0
  29. package/lib/chunk-WYO6CB5R-MV-yOaop.js +3769 -0
  30. package/lib/chunk-XXDRQBXY-Djd1ChwJ.js +9 -0
  31. package/lib/chunk-Y2CYZVJY-QdJ4V9rh.js +12 -0
  32. package/lib/chunk-ZGVPDNZ5-l81xl1BI.js +3738 -0
  33. package/lib/classDiagram-OUVF2IWQ--wRzSvLt.js +30 -0
  34. package/lib/classDiagram-v2-EOCWNBFH-ChMCdPO-.js +30 -0
  35. package/lib/cose-bilkent-JH36ORCC-CyVZn5M3.js +2254 -0
  36. package/lib/custom-app-text-editor.css +2 -0
  37. package/lib/custom-app-text-editor.js +81102 -0
  38. package/lib/cynefin-VYW2F7L2-CMgnLl46.js +3 -0
  39. package/lib/cynefinDiagram-TSTJHNR4-988Y73wV.js +355 -0
  40. package/lib/cytoscape.esm-DMXbtFI-.js +18145 -0
  41. package/lib/dagre-Dmarb1s8.js +1699 -0
  42. package/lib/dagre-VKFMJZFB-Bf-pz2Lx.js +328 -0
  43. package/lib/defaultLocale-A87O3snN.js +198 -0
  44. package/lib/diagram-FQU43EPY-BT8WeVzc.js +432 -0
  45. package/lib/diagram-G47NLZAW-vZ2XG37l.js +527 -0
  46. package/lib/diagram-NH7WQ7WH-CH0IfHB0.js +134 -0
  47. package/lib/diagram-OA4YK3LP-BgwQcJfp.js +300 -0
  48. package/lib/diagram-WEI45ONY-Cd3sVPil.js +214 -0
  49. package/lib/dist-PGS6ynRO.js +59 -0
  50. package/lib/ebnfDiagram-CCIWWBDH-CwBFb2Fm.js +100 -0
  51. package/lib/erDiagram-Q63AITRT-BshRACvj.js +1727 -0
  52. package/lib/eventmodeling-45OFAUF4-BDhzj03B.js +3 -0
  53. package/lib/flowDiagram-23GEKE2U-C3zDgFvZ.js +16 -0
  54. package/lib/ganttDiagram-NO4QXBWP-BD5PiE8x.js +3073 -0
  55. package/lib/gitGraph-TEB2WS4Q-DJA_hE4G.js +3 -0
  56. package/lib/gitGraphDiagram-IHSO6WYX-BAhccBh3.js +733 -0
  57. package/lib/graphlib-DglfpsVp.js +1267 -0
  58. package/lib/index.browser-Dv9K8IAp.js +26 -0
  59. package/lib/info-DKCQHKI2-BD_vOCz6.js +3 -0
  60. package/lib/infoDiagram-FWYZ7A6U-CGZnf03G.js +20 -0
  61. package/lib/init-sjaVZO3f.js +13 -0
  62. package/lib/ishikawaDiagram-FXEZZL3T-PFfVM0NO.js +719 -0
  63. package/lib/journeyDiagram-5HDEW3XC-CRGz7dcx.js +884 -0
  64. package/lib/kanban-definition-HUTT4EX6-BBH4Yn5e.js +974 -0
  65. package/lib/line-CJQicKfr.js +34 -0
  66. package/lib/linear-B9Cv96-J.js +288 -0
  67. package/lib/map-C7KALUOH.js +241 -0
  68. package/lib/mermaid-parser.core-BupC9XGF.js +638 -0
  69. package/lib/mermaid-renderer-Cp0xusfR.js +2425 -0
  70. package/lib/mindmap-definition-LN4V7U3C-CWL1sg0K.js +978 -0
  71. package/lib/ordinal-CNQzPcrr.js +65 -0
  72. package/lib/packet-7NZHBO7P-CgBlALV1.js +3 -0
  73. package/lib/path-DVvH25eQ.js +84 -0
  74. package/lib/pegDiagram-2B236MQR-BKv8dTtv.js +94 -0
  75. package/lib/pie-RZYD4A2V-CryPC-P_.js +3 -0
  76. package/lib/pieDiagram-ENE6RG2P-CXeFg_cL.js +203 -0
  77. package/lib/quadrantDiagram-ABIIQ3AL-v_u3aC8Y.js +2001 -0
  78. package/lib/radar-I7S5WNFK-DgzJDRy3.js +3 -0
  79. package/lib/railroad-3IZDKUUU-DFp3mbpB.js +3 -0
  80. package/lib/railroad-abnf-AHOZXSZD-BRjidKH0.js +3 -0
  81. package/lib/railroad-ebnf-EBAXGLYW-PgrDWact.js +3 -0
  82. package/lib/railroad-peg-LSFZ7HO6-CMKir81Y.js +3 -0
  83. package/lib/railroadDiagram-RFXS5EU6-mEC9tVS-.js +76 -0
  84. package/lib/requirementDiagram-TGXJPOKE-BAEzI7V4.js +2223 -0
  85. package/lib/rolldown-runtime-DArdT4gl.js +23 -0
  86. package/lib/rough.esm-B2w_aYoc.js +1361 -0
  87. package/lib/sankeyDiagram-HTMAVEWB-Dbu-sl2E.js +972 -0
  88. package/lib/sequenceDiagram-DBY2YBRQ-DCuWmWHX.js +4156 -0
  89. package/lib/sizeCapture-X5ZJPWSS-BEIM84He.js +46 -0
  90. package/lib/src-DQbL46sB.js +2139 -0
  91. package/lib/src-DuuHKEe6.js +704 -0
  92. package/lib/stateDiagram-2N3HPSRC-fs9QmDMR.js +220 -0
  93. package/lib/stateDiagram-v2-6OUMAXLB-wWxYbttN.js +30 -0
  94. package/lib/swimlanes-5IMT3BWC-QaXUd9db.js +5069 -0
  95. package/lib/swimlanesDiagram-G3AALYLV-BtGToCzH.js +30 -0
  96. package/lib/timeline-definition-FHXFAJF6-CAsyJrsw.js +1069 -0
  97. package/lib/treeView-QDETBFTQ-DVp4aTZQ.js +3 -0
  98. package/lib/treemap-6X3UGDF4-BbBnHMHJ.js +3 -0
  99. package/lib/types.d.ts +44 -0
  100. package/lib/v4-CZv9Hsqq.js +33 -0
  101. package/lib/vennDiagram-L72KCM5P-C87u0gjr.js +1880 -0
  102. package/lib/wardley-OPB4EBWU-B-RXhnoN.js +3 -0
  103. package/lib/wardleyDiagram-EHGQE667-BxviBDl_.js +645 -0
  104. package/lib/xychartDiagram-FW5EYKEG-BQQhanuH.js +2098 -0
  105. package/package.json +29 -0
@@ -0,0 +1,1330 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-QdJ4V9rh.js";
2
+ import { m as t, p as n } from "./src-DQbL46sB.js";
3
+ import { R as r, h as i, p as a, r as o, s } from "./chunk-WYO6CB5R-MV-yOaop.js";
4
+ import { t as c } from "./dist-PGS6ynRO.js";
5
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.js
6
+ function l(e) {
7
+ this._context = e;
8
+ }
9
+ l.prototype = {
10
+ areaStart: function() {
11
+ this._line = 0;
12
+ },
13
+ areaEnd: function() {
14
+ this._line = NaN;
15
+ },
16
+ lineStart: function() {
17
+ this._point = 0;
18
+ },
19
+ lineEnd: function() {
20
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
21
+ },
22
+ point: function(e, t) {
23
+ switch (e = +e, t = +t, this._point) {
24
+ case 0:
25
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
26
+ break;
27
+ case 1: this._point = 2;
28
+ default: this._context.lineTo(e, t);
29
+ }
30
+ }
31
+ };
32
+ function u(e) {
33
+ return new l(e);
34
+ }
35
+ //#endregion
36
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.js
37
+ var d = class {
38
+ constructor(e, t) {
39
+ this._context = e, this._x = t;
40
+ }
41
+ areaStart() {
42
+ this._line = 0;
43
+ }
44
+ areaEnd() {
45
+ this._line = NaN;
46
+ }
47
+ lineStart() {
48
+ this._point = 0;
49
+ }
50
+ lineEnd() {
51
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
52
+ }
53
+ point(e, t) {
54
+ switch (e = +e, t = +t, this._point) {
55
+ case 0:
56
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
57
+ break;
58
+ case 1: this._point = 2;
59
+ default: this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);
60
+ }
61
+ this._x0 = e, this._y0 = t;
62
+ }
63
+ };
64
+ function f(e) {
65
+ return new d(e, !0);
66
+ }
67
+ function ee(e) {
68
+ return new d(e, !1);
69
+ }
70
+ //#endregion
71
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.js
72
+ function p() {}
73
+ //#endregion
74
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.js
75
+ function m(e, t, n) {
76
+ e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
77
+ }
78
+ function h(e) {
79
+ this._context = e;
80
+ }
81
+ h.prototype = {
82
+ areaStart: function() {
83
+ this._line = 0;
84
+ },
85
+ areaEnd: function() {
86
+ this._line = NaN;
87
+ },
88
+ lineStart: function() {
89
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
90
+ },
91
+ lineEnd: function() {
92
+ switch (this._point) {
93
+ case 3: m(this, this._x1, this._y1);
94
+ case 2: this._context.lineTo(this._x1, this._y1);
95
+ }
96
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
97
+ },
98
+ point: function(e, t) {
99
+ switch (e = +e, t = +t, this._point) {
100
+ case 0:
101
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
102
+ break;
103
+ case 1:
104
+ this._point = 2;
105
+ break;
106
+ case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
107
+ default: m(this, e, t);
108
+ }
109
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
110
+ }
111
+ };
112
+ function te(e) {
113
+ return new h(e);
114
+ }
115
+ //#endregion
116
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.js
117
+ function ne(e) {
118
+ this._context = e;
119
+ }
120
+ ne.prototype = {
121
+ areaStart: p,
122
+ areaEnd: p,
123
+ lineStart: function() {
124
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
125
+ },
126
+ lineEnd: function() {
127
+ switch (this._point) {
128
+ case 1:
129
+ this._context.moveTo(this._x2, this._y2), this._context.closePath();
130
+ break;
131
+ case 2:
132
+ this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
133
+ break;
134
+ case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
135
+ }
136
+ },
137
+ point: function(e, t) {
138
+ switch (e = +e, t = +t, this._point) {
139
+ case 0:
140
+ this._point = 1, this._x2 = e, this._y2 = t;
141
+ break;
142
+ case 1:
143
+ this._point = 2, this._x3 = e, this._y3 = t;
144
+ break;
145
+ case 2:
146
+ this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
147
+ break;
148
+ default: m(this, e, t);
149
+ }
150
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
151
+ }
152
+ };
153
+ function re(e) {
154
+ return new ne(e);
155
+ }
156
+ //#endregion
157
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.js
158
+ function ie(e) {
159
+ this._context = e;
160
+ }
161
+ ie.prototype = {
162
+ areaStart: function() {
163
+ this._line = 0;
164
+ },
165
+ areaEnd: function() {
166
+ this._line = NaN;
167
+ },
168
+ lineStart: function() {
169
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
170
+ },
171
+ lineEnd: function() {
172
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
173
+ },
174
+ point: function(e, t) {
175
+ switch (e = +e, t = +t, this._point) {
176
+ case 0:
177
+ this._point = 1;
178
+ break;
179
+ case 1:
180
+ this._point = 2;
181
+ break;
182
+ case 2:
183
+ this._point = 3;
184
+ var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;
185
+ this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
186
+ break;
187
+ case 3: this._point = 4;
188
+ default: m(this, e, t);
189
+ }
190
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
191
+ }
192
+ };
193
+ function ae(e) {
194
+ return new ie(e);
195
+ }
196
+ //#endregion
197
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.js
198
+ function oe(e, t) {
199
+ this._basis = new h(e), this._beta = t;
200
+ }
201
+ oe.prototype = {
202
+ lineStart: function() {
203
+ this._x = [], this._y = [], this._basis.lineStart();
204
+ },
205
+ lineEnd: function() {
206
+ var e = this._x, t = this._y, n = e.length - 1;
207
+ if (n > 0) for (var r = e[0], i = t[0], a = e[n] - r, o = t[n] - i, s = -1, c; ++s <= n;) c = s / n, this._basis.point(this._beta * e[s] + (1 - this._beta) * (r + c * a), this._beta * t[s] + (1 - this._beta) * (i + c * o));
208
+ this._x = this._y = null, this._basis.lineEnd();
209
+ },
210
+ point: function(e, t) {
211
+ this._x.push(+e), this._y.push(+t);
212
+ }
213
+ };
214
+ var se = (function e(t) {
215
+ function n(e) {
216
+ return t === 1 ? new h(e) : new oe(e, t);
217
+ }
218
+ return n.beta = function(t) {
219
+ return e(+t);
220
+ }, n;
221
+ })(.85);
222
+ //#endregion
223
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.js
224
+ function g(e, t, n) {
225
+ e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
226
+ }
227
+ function _(e, t) {
228
+ this._context = e, this._k = (1 - t) / 6;
229
+ }
230
+ _.prototype = {
231
+ areaStart: function() {
232
+ this._line = 0;
233
+ },
234
+ areaEnd: function() {
235
+ this._line = NaN;
236
+ },
237
+ lineStart: function() {
238
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
239
+ },
240
+ lineEnd: function() {
241
+ switch (this._point) {
242
+ case 2:
243
+ this._context.lineTo(this._x2, this._y2);
244
+ break;
245
+ case 3: g(this, this._x1, this._y1);
246
+ }
247
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
248
+ },
249
+ point: function(e, t) {
250
+ switch (e = +e, t = +t, this._point) {
251
+ case 0:
252
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
253
+ break;
254
+ case 1:
255
+ this._point = 2, this._x1 = e, this._y1 = t;
256
+ break;
257
+ case 2: this._point = 3;
258
+ default: g(this, e, t);
259
+ }
260
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
261
+ }
262
+ };
263
+ var ce = (function e(t) {
264
+ function n(e) {
265
+ return new _(e, t);
266
+ }
267
+ return n.tension = function(t) {
268
+ return e(+t);
269
+ }, n;
270
+ })(0);
271
+ //#endregion
272
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.js
273
+ function v(e, t) {
274
+ this._context = e, this._k = (1 - t) / 6;
275
+ }
276
+ v.prototype = {
277
+ areaStart: p,
278
+ areaEnd: p,
279
+ lineStart: function() {
280
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
281
+ },
282
+ lineEnd: function() {
283
+ switch (this._point) {
284
+ case 1:
285
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
286
+ break;
287
+ case 2:
288
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
289
+ break;
290
+ case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
291
+ }
292
+ },
293
+ point: function(e, t) {
294
+ switch (e = +e, t = +t, this._point) {
295
+ case 0:
296
+ this._point = 1, this._x3 = e, this._y3 = t;
297
+ break;
298
+ case 1:
299
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
300
+ break;
301
+ case 2:
302
+ this._point = 3, this._x5 = e, this._y5 = t;
303
+ break;
304
+ default: g(this, e, t);
305
+ }
306
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
307
+ }
308
+ };
309
+ var le = (function e(t) {
310
+ function n(e) {
311
+ return new v(e, t);
312
+ }
313
+ return n.tension = function(t) {
314
+ return e(+t);
315
+ }, n;
316
+ })(0);
317
+ //#endregion
318
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.js
319
+ function y(e, t) {
320
+ this._context = e, this._k = (1 - t) / 6;
321
+ }
322
+ y.prototype = {
323
+ areaStart: function() {
324
+ this._line = 0;
325
+ },
326
+ areaEnd: function() {
327
+ this._line = NaN;
328
+ },
329
+ lineStart: function() {
330
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
331
+ },
332
+ lineEnd: function() {
333
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
334
+ },
335
+ point: function(e, t) {
336
+ switch (e = +e, t = +t, this._point) {
337
+ case 0:
338
+ this._point = 1;
339
+ break;
340
+ case 1:
341
+ this._point = 2;
342
+ break;
343
+ case 2:
344
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
345
+ break;
346
+ case 3: this._point = 4;
347
+ default: g(this, e, t);
348
+ }
349
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
350
+ }
351
+ };
352
+ var ue = (function e(t) {
353
+ function n(e) {
354
+ return new y(e, t);
355
+ }
356
+ return n.tension = function(t) {
357
+ return e(+t);
358
+ }, n;
359
+ })(0);
360
+ //#endregion
361
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.js
362
+ function b(e, t, n) {
363
+ var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
364
+ if (e._l01_a > 1e-12) {
365
+ var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, c = 3 * e._l01_a * (e._l01_a + e._l12_a);
366
+ r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / c, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / c;
367
+ }
368
+ if (e._l23_a > 1e-12) {
369
+ var l = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, u = 3 * e._l23_a * (e._l23_a + e._l12_a);
370
+ a = (a * l + e._x1 * e._l23_2a - t * e._l12_2a) / u, o = (o * l + e._y1 * e._l23_2a - n * e._l12_2a) / u;
371
+ }
372
+ e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
373
+ }
374
+ function de(e, t) {
375
+ this._context = e, this._alpha = t;
376
+ }
377
+ de.prototype = {
378
+ areaStart: function() {
379
+ this._line = 0;
380
+ },
381
+ areaEnd: function() {
382
+ this._line = NaN;
383
+ },
384
+ lineStart: function() {
385
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
386
+ },
387
+ lineEnd: function() {
388
+ switch (this._point) {
389
+ case 2:
390
+ this._context.lineTo(this._x2, this._y2);
391
+ break;
392
+ case 3: this.point(this._x2, this._y2);
393
+ }
394
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
395
+ },
396
+ point: function(e, t) {
397
+ if (e = +e, t = +t, this._point) {
398
+ var n = this._x2 - e, r = this._y2 - t;
399
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
400
+ }
401
+ switch (this._point) {
402
+ case 0:
403
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
404
+ break;
405
+ case 1:
406
+ this._point = 2;
407
+ break;
408
+ case 2: this._point = 3;
409
+ default: b(this, e, t);
410
+ }
411
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
412
+ }
413
+ };
414
+ var fe = (function e(t) {
415
+ function n(e) {
416
+ return t ? new de(e, t) : new _(e, 0);
417
+ }
418
+ return n.alpha = function(t) {
419
+ return e(+t);
420
+ }, n;
421
+ })(.5);
422
+ //#endregion
423
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.js
424
+ function pe(e, t) {
425
+ this._context = e, this._alpha = t;
426
+ }
427
+ pe.prototype = {
428
+ areaStart: p,
429
+ areaEnd: p,
430
+ lineStart: function() {
431
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
432
+ },
433
+ lineEnd: function() {
434
+ switch (this._point) {
435
+ case 1:
436
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
437
+ break;
438
+ case 2:
439
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
440
+ break;
441
+ case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
442
+ }
443
+ },
444
+ point: function(e, t) {
445
+ if (e = +e, t = +t, this._point) {
446
+ var n = this._x2 - e, r = this._y2 - t;
447
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
448
+ }
449
+ switch (this._point) {
450
+ case 0:
451
+ this._point = 1, this._x3 = e, this._y3 = t;
452
+ break;
453
+ case 1:
454
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
455
+ break;
456
+ case 2:
457
+ this._point = 3, this._x5 = e, this._y5 = t;
458
+ break;
459
+ default: b(this, e, t);
460
+ }
461
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
462
+ }
463
+ };
464
+ var me = (function e(t) {
465
+ function n(e) {
466
+ return t ? new pe(e, t) : new v(e, 0);
467
+ }
468
+ return n.alpha = function(t) {
469
+ return e(+t);
470
+ }, n;
471
+ })(.5);
472
+ //#endregion
473
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.js
474
+ function he(e, t) {
475
+ this._context = e, this._alpha = t;
476
+ }
477
+ he.prototype = {
478
+ areaStart: function() {
479
+ this._line = 0;
480
+ },
481
+ areaEnd: function() {
482
+ this._line = NaN;
483
+ },
484
+ lineStart: function() {
485
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
486
+ },
487
+ lineEnd: function() {
488
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
489
+ },
490
+ point: function(e, t) {
491
+ if (e = +e, t = +t, this._point) {
492
+ var n = this._x2 - e, r = this._y2 - t;
493
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
494
+ }
495
+ switch (this._point) {
496
+ case 0:
497
+ this._point = 1;
498
+ break;
499
+ case 1:
500
+ this._point = 2;
501
+ break;
502
+ case 2:
503
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
504
+ break;
505
+ case 3: this._point = 4;
506
+ default: b(this, e, t);
507
+ }
508
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
509
+ }
510
+ };
511
+ var ge = (function e(t) {
512
+ function n(e) {
513
+ return t ? new he(e, t) : new y(e, 0);
514
+ }
515
+ return n.alpha = function(t) {
516
+ return e(+t);
517
+ }, n;
518
+ })(.5);
519
+ //#endregion
520
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.js
521
+ function _e(e) {
522
+ this._context = e;
523
+ }
524
+ _e.prototype = {
525
+ areaStart: p,
526
+ areaEnd: p,
527
+ lineStart: function() {
528
+ this._point = 0;
529
+ },
530
+ lineEnd: function() {
531
+ this._point && this._context.closePath();
532
+ },
533
+ point: function(e, t) {
534
+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
535
+ }
536
+ };
537
+ function ve(e) {
538
+ return new _e(e);
539
+ }
540
+ //#endregion
541
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.js
542
+ function ye(e) {
543
+ return e < 0 ? -1 : 1;
544
+ }
545
+ function be(e, t, n) {
546
+ var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
547
+ return (ye(a) + ye(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
548
+ }
549
+ function xe(e, t) {
550
+ var n = e._x1 - e._x0;
551
+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
552
+ }
553
+ function x(e, t, n) {
554
+ var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
555
+ e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
556
+ }
557
+ function S(e) {
558
+ this._context = e;
559
+ }
560
+ S.prototype = {
561
+ areaStart: function() {
562
+ this._line = 0;
563
+ },
564
+ areaEnd: function() {
565
+ this._line = NaN;
566
+ },
567
+ lineStart: function() {
568
+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
569
+ },
570
+ lineEnd: function() {
571
+ switch (this._point) {
572
+ case 2:
573
+ this._context.lineTo(this._x1, this._y1);
574
+ break;
575
+ case 3: x(this, this._t0, xe(this, this._t0));
576
+ }
577
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
578
+ },
579
+ point: function(e, t) {
580
+ var n = NaN;
581
+ if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {
582
+ switch (this._point) {
583
+ case 0:
584
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
585
+ break;
586
+ case 1:
587
+ this._point = 2;
588
+ break;
589
+ case 2:
590
+ this._point = 3, x(this, xe(this, n = be(this, e, t)), n);
591
+ break;
592
+ default: x(this, this._t0, n = be(this, e, t));
593
+ }
594
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
595
+ }
596
+ }
597
+ };
598
+ function Se(e) {
599
+ this._context = new Ce(e);
600
+ }
601
+ (Se.prototype = Object.create(S.prototype)).point = function(e, t) {
602
+ S.prototype.point.call(this, t, e);
603
+ };
604
+ function Ce(e) {
605
+ this._context = e;
606
+ }
607
+ Ce.prototype = {
608
+ moveTo: function(e, t) {
609
+ this._context.moveTo(t, e);
610
+ },
611
+ closePath: function() {
612
+ this._context.closePath();
613
+ },
614
+ lineTo: function(e, t) {
615
+ this._context.lineTo(t, e);
616
+ },
617
+ bezierCurveTo: function(e, t, n, r, i, a) {
618
+ this._context.bezierCurveTo(t, e, r, n, a, i);
619
+ }
620
+ };
621
+ function we(e) {
622
+ return new S(e);
623
+ }
624
+ function Te(e) {
625
+ return new Se(e);
626
+ }
627
+ //#endregion
628
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.js
629
+ function Ee(e) {
630
+ this._context = e;
631
+ }
632
+ Ee.prototype = {
633
+ areaStart: function() {
634
+ this._line = 0;
635
+ },
636
+ areaEnd: function() {
637
+ this._line = NaN;
638
+ },
639
+ lineStart: function() {
640
+ this._x = [], this._y = [];
641
+ },
642
+ lineEnd: function() {
643
+ var e = this._x, t = this._y, n = e.length;
644
+ if (n) {
645
+ if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
646
+ else for (var r = De(e), i = De(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
647
+ }
648
+ (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
649
+ },
650
+ point: function(e, t) {
651
+ this._x.push(+e), this._y.push(+t);
652
+ }
653
+ };
654
+ function De(e) {
655
+ var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
656
+ for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
657
+ for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
658
+ for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];
659
+ for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
660
+ return [i, a];
661
+ }
662
+ function Oe(e) {
663
+ return new Ee(e);
664
+ }
665
+ //#endregion
666
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.js
667
+ function C(e, t) {
668
+ this._context = e, this._t = t;
669
+ }
670
+ C.prototype = {
671
+ areaStart: function() {
672
+ this._line = 0;
673
+ },
674
+ areaEnd: function() {
675
+ this._line = NaN;
676
+ },
677
+ lineStart: function() {
678
+ this._x = this._y = NaN, this._point = 0;
679
+ },
680
+ lineEnd: function() {
681
+ 0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);
682
+ },
683
+ point: function(e, t) {
684
+ switch (e = +e, t = +t, this._point) {
685
+ case 0:
686
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
687
+ break;
688
+ case 1: this._point = 2;
689
+ default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
690
+ else {
691
+ var n = this._x * (1 - this._t) + e * this._t;
692
+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);
693
+ }
694
+ }
695
+ this._x = e, this._y = t;
696
+ }
697
+ };
698
+ function w(e) {
699
+ return new C(e, .5);
700
+ }
701
+ function T(e) {
702
+ return new C(e, 0);
703
+ }
704
+ function ke(e) {
705
+ return new C(e, 1);
706
+ }
707
+ //#endregion
708
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
709
+ function E(e) {
710
+ if (typeof e != "object" || !e) return !1;
711
+ if (Object.getPrototypeOf(e) === null) return !0;
712
+ if (Object.prototype.toString.call(e) !== "[object Object]") {
713
+ let t = e[Symbol.toStringTag];
714
+ return t == null || !Object.getOwnPropertyDescriptor(e, Symbol.toStringTag)?.writable ? !1 : e.toString() === `[object ${t}]`;
715
+ }
716
+ let t = e;
717
+ for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
718
+ return Object.getPrototypeOf(e) === t;
719
+ }
720
+ //#endregion
721
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/function/noop.mjs
722
+ function Ae() {}
723
+ //#endregion
724
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
725
+ function je(e) {
726
+ return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
727
+ }
728
+ //#endregion
729
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
730
+ function D(e) {
731
+ return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
732
+ }
733
+ //#endregion
734
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs
735
+ var Me = "[object RegExp]", O = "[object String]", k = "[object Number]", A = "[object Boolean]", j = "[object Arguments]", Ne = "[object Symbol]", Pe = "[object Date]", Fe = "[object Map]", Ie = "[object Set]", Le = "[object Array]", Re = "[object ArrayBuffer]", ze = "[object Object]", M = "[object DataView]", Be = "[object Uint8Array]", Ve = "[object Uint8ClampedArray]", He = "[object Uint16Array]", Ue = "[object Uint32Array]", We = "[object Int8Array]", Ge = "[object Int16Array]", Ke = "[object Int32Array]", qe = "[object Float32Array]", Je = "[object Float64Array]", Ye = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
736
+ return this;
737
+ })();
738
+ //#endregion
739
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/predicate/isBuffer.mjs
740
+ function N(e) {
741
+ return Ye.Buffer !== void 0 && Ye.Buffer.isBuffer(e);
742
+ }
743
+ //#endregion
744
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/predicate/isLength.mjs
745
+ function Xe(e) {
746
+ return Number.isSafeInteger(e) && e >= 0;
747
+ }
748
+ //#endregion
749
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
750
+ function Ze(e) {
751
+ return e != null && typeof e != "function" && Xe(e.length);
752
+ }
753
+ //#endregion
754
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
755
+ function Qe(e) {
756
+ return e === "__proto__";
757
+ }
758
+ //#endregion
759
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
760
+ function P(e) {
761
+ return e == null || typeof e != "object" && typeof e != "function";
762
+ }
763
+ //#endregion
764
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
765
+ function F(e) {
766
+ return ArrayBuffer.isView(e) && !(e instanceof DataView);
767
+ }
768
+ //#endregion
769
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
770
+ function $e(e, t) {
771
+ return I(e, void 0, e, /* @__PURE__ */ new Map(), t);
772
+ }
773
+ function I(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
774
+ let a = i?.(e, t, n, r);
775
+ if (a !== void 0) return a;
776
+ if (P(e)) return e;
777
+ if (r.has(e)) return r.get(e);
778
+ if (Array.isArray(e)) {
779
+ let t = Array(e.length);
780
+ r.set(e, t);
781
+ for (let a = 0; a < e.length; a++) t[a] = I(e[a], a, n, r, i);
782
+ return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
783
+ }
784
+ if (e instanceof Date) return new Date(e.getTime());
785
+ if (e instanceof RegExp) {
786
+ let t = new RegExp(e.source, e.flags);
787
+ return t.lastIndex = e.lastIndex, t;
788
+ }
789
+ if (e instanceof Map) {
790
+ let t = /* @__PURE__ */ new Map();
791
+ r.set(e, t);
792
+ for (let [a, o] of e) t.set(a, I(o, a, n, r, i));
793
+ return t;
794
+ }
795
+ if (e instanceof Set) {
796
+ let t = /* @__PURE__ */ new Set();
797
+ r.set(e, t);
798
+ for (let a of e) t.add(I(a, void 0, n, r, i));
799
+ return t;
800
+ }
801
+ if (N(e)) return e.subarray();
802
+ if (F(e)) {
803
+ let t = new (Object.getPrototypeOf(e)).constructor(e.length);
804
+ r.set(e, t);
805
+ for (let a = 0; a < e.length; a++) t[a] = I(e[a], a, n, r, i);
806
+ return t;
807
+ }
808
+ if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
809
+ if (e instanceof DataView) {
810
+ let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
811
+ return r.set(e, t), L(t, e, n, r, i), t;
812
+ }
813
+ if (typeof File < "u" && e instanceof File) {
814
+ let t = new File([e], e.name, { type: e.type });
815
+ return r.set(e, t), L(t, e, n, r, i), t;
816
+ }
817
+ if (typeof Blob < "u" && e instanceof Blob) {
818
+ let t = new Blob([e], { type: e.type });
819
+ return r.set(e, t), L(t, e, n, r, i), t;
820
+ }
821
+ if (e instanceof Error) {
822
+ let t = structuredClone(e);
823
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, L(t, e, n, r, i), t;
824
+ }
825
+ if (e instanceof Boolean) {
826
+ let t = new Boolean(e.valueOf());
827
+ return r.set(e, t), L(t, e, n, r, i), t;
828
+ }
829
+ if (e instanceof Number) {
830
+ let t = new Number(e.valueOf());
831
+ return r.set(e, t), L(t, e, n, r, i), t;
832
+ }
833
+ if (e instanceof String) {
834
+ let t = new String(e.valueOf());
835
+ return r.set(e, t), L(t, e, n, r, i), t;
836
+ }
837
+ if (typeof e == "object" && et(e)) {
838
+ let t = Object.create(Object.getPrototypeOf(e));
839
+ return r.set(e, t), L(t, e, n, r, i), t;
840
+ }
841
+ return e;
842
+ }
843
+ function L(e, t, n = e, r, i) {
844
+ let a = [...Object.keys(t), ...je(t)];
845
+ for (let o = 0; o < a.length; o++) {
846
+ let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
847
+ (c == null || c.writable) && (e[s] = I(t[s], s, n, r, i));
848
+ }
849
+ }
850
+ function et(e) {
851
+ switch (D(e)) {
852
+ case j:
853
+ case Le:
854
+ case Re:
855
+ case M:
856
+ case A:
857
+ case Pe:
858
+ case qe:
859
+ case Je:
860
+ case We:
861
+ case Ge:
862
+ case Ke:
863
+ case Fe:
864
+ case k:
865
+ case ze:
866
+ case Me:
867
+ case Ie:
868
+ case O:
869
+ case Ne:
870
+ case Be:
871
+ case Ve:
872
+ case He:
873
+ case Ue: return !0;
874
+ default: return !1;
875
+ }
876
+ }
877
+ //#endregion
878
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
879
+ function tt(e, t) {
880
+ return $e(e, (n, r, i, a) => {
881
+ let o = t?.(n, r, i, a);
882
+ if (o !== void 0) return o;
883
+ if (typeof e == "object") {
884
+ if (D(e) === "[object Object]" && typeof e.constructor != "function") {
885
+ let t = {};
886
+ return a.set(e, t), L(t, e, i, a), t;
887
+ }
888
+ switch (Object.prototype.toString.call(e)) {
889
+ case k:
890
+ case O:
891
+ case A: {
892
+ let t = new e.constructor(e?.valueOf());
893
+ return L(t, e), t;
894
+ }
895
+ case j: {
896
+ let t = {};
897
+ return L(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
898
+ }
899
+ default: return;
900
+ }
901
+ }
902
+ });
903
+ }
904
+ //#endregion
905
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
906
+ function nt(e) {
907
+ return tt(e);
908
+ }
909
+ //#endregion
910
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
911
+ function R(e) {
912
+ return typeof e == "object" && !!e && D(e) === "[object Arguments]";
913
+ }
914
+ //#endregion
915
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
916
+ function z(e) {
917
+ return typeof e == "object" && !!e;
918
+ }
919
+ //#endregion
920
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs
921
+ function rt(e) {
922
+ return z(e) && Ze(e);
923
+ }
924
+ //#endregion
925
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/function/memoize.mjs
926
+ function B(e, t) {
927
+ if (typeof e != "function" || t != null && typeof t != "function") throw TypeError("Expected a function");
928
+ let n = function(...r) {
929
+ let i = t ? t.apply(this, r) : r[0], a = n.cache;
930
+ if (a.has(i)) return a.get(i);
931
+ let o = e.apply(this, r);
932
+ return n.cache = a.set(i, o) || a, o;
933
+ };
934
+ return n.cache = new (B.Cache || Map)(), n;
935
+ }
936
+ B.Cache = Map;
937
+ //#endregion
938
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs
939
+ function V(e) {
940
+ return F(e);
941
+ }
942
+ //#endregion
943
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/object/clone.mjs
944
+ function it(e) {
945
+ if (P(e)) return e;
946
+ if (Array.isArray(e) || F(e) || e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
947
+ let t = Object.getPrototypeOf(e);
948
+ if (t == null) return Object.assign(Object.create(t), e);
949
+ let n = t.constructor;
950
+ if (e instanceof Date || e instanceof Map || e instanceof Set) return new n(e);
951
+ if (e instanceof RegExp) {
952
+ let t = new n(e);
953
+ return t.lastIndex = e.lastIndex, t;
954
+ }
955
+ if (e instanceof DataView) return new n(e.buffer.slice(0));
956
+ if (e instanceof Error) {
957
+ let t;
958
+ return t = e instanceof AggregateError ? new n(e.errors, e.message, { cause: e.cause }) : new n(e.message, { cause: e.cause }), t.stack = e.stack, Object.assign(t, e), t;
959
+ }
960
+ return typeof File < "u" && e instanceof File ? new n([e], e.name, {
961
+ type: e.type,
962
+ lastModified: e.lastModified
963
+ }) : typeof e == "object" ? Object.assign(Object.create(t), e) : e;
964
+ }
965
+ //#endregion
966
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/object/mergeWith.mjs
967
+ function at(e, ...t) {
968
+ let n = t.slice(0, -1), r = t[t.length - 1], i = e;
969
+ for (let e = 0; e < n.length; e++) {
970
+ let t = n[e];
971
+ i = H(i, t, r, /* @__PURE__ */ new Map());
972
+ }
973
+ return i;
974
+ }
975
+ function H(e, t, n, r) {
976
+ if (P(e) && (e = Object(e)), typeof t != "object" || !t) return e;
977
+ if (r.has(t)) return it(r.get(t));
978
+ if (r.set(t, e), Array.isArray(t)) {
979
+ t = t.slice();
980
+ for (let e = 0; e < t.length; e++) t[e] = t[e] ?? void 0;
981
+ }
982
+ let i = [...Object.keys(t), ...je(t)];
983
+ for (let a = 0; a < i.length; a++) {
984
+ let o = i[a];
985
+ if (Qe(o)) continue;
986
+ let s = t[o], c = e[o];
987
+ if (R(s) && (s = { ...s }), R(c) && (c = { ...c }), N(s) && (s = nt(s)), Array.isArray(s)) {
988
+ if (Array.isArray(c)) {
989
+ let e = [], t = Reflect.ownKeys(c);
990
+ for (let n = 0; n < t.length; n++) {
991
+ let r = t[n];
992
+ e[r] = c[r];
993
+ }
994
+ c = e;
995
+ } else if (rt(c)) {
996
+ let e = [];
997
+ for (let t = 0; t < c.length; t++) e[t] = c[t];
998
+ c = e;
999
+ } else c = [];
1000
+ }
1001
+ let l = n(c, s, o, e, t, r);
1002
+ l === void 0 ? Array.isArray(s) || z(c) && z(s) && (E(c) || E(s) || V(c) || V(s)) ? e[o] = H(c, s, n, r) : c == null && E(s) ? e[o] = H({}, s, n, r) : c == null && V(s) ? e[o] = nt(s) : (c === void 0 || s !== void 0) && (e[o] = s) : e[o] = l;
1003
+ }
1004
+ return e;
1005
+ }
1006
+ //#endregion
1007
+ //#region ../../node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/object/merge.mjs
1008
+ function ot(e, ...t) {
1009
+ return at(e, ...t, Ae);
1010
+ }
1011
+ //#endregion
1012
+ //#region ../../node_modules/.pnpm/mermaid@11.16.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.mjs
1013
+ var st = c(), ct = {
1014
+ curveBasis: te,
1015
+ curveBasisClosed: re,
1016
+ curveBasisOpen: ae,
1017
+ curveBumpX: f,
1018
+ curveBumpY: ee,
1019
+ curveBundle: se,
1020
+ curveCardinalClosed: le,
1021
+ curveCardinalOpen: ue,
1022
+ curveCardinal: ce,
1023
+ curveCatmullRomClosed: me,
1024
+ curveCatmullRomOpen: ge,
1025
+ curveCatmullRom: fe,
1026
+ curveLinear: u,
1027
+ curveLinearClosed: ve,
1028
+ curveMonotoneX: we,
1029
+ curveMonotoneY: Te,
1030
+ curveNatural: Oe,
1031
+ curveStep: w,
1032
+ curveStepAfter: ke,
1033
+ curveStepBefore: T
1034
+ }, lt = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ut = /* @__PURE__ */ e(function(e, t) {
1035
+ let n = dt(e, /(?:init\b)|(?:initialize\b)/), i = {};
1036
+ if (Array.isArray(n)) {
1037
+ let e = n.map((e) => e.args);
1038
+ r(e), i = o(i, [...e]);
1039
+ } else i = n.args;
1040
+ if (!i) return;
1041
+ let s = a(e, t), c = "config";
1042
+ return i[c] !== void 0 && (s === "flowchart-v2" && (s = "flowchart"), i[s] = i[c], delete i[c]), i;
1043
+ }, "detectInit"), dt = /* @__PURE__ */ e(function(e, n = null) {
1044
+ try {
1045
+ let r = RegExp(`[%]{2}(?![{]${lt.source})(?=[}][%]{2}).*
1046
+ `, "ig");
1047
+ e = e.trim().replace(r, "").replace(/'/gm, "\""), t.debug(`Detecting diagram directive${n === null ? "" : " type:" + n} based on the text:${e}`);
1048
+ let a, o = [];
1049
+ for (; (a = i.exec(e)) !== null;) if (a.index === i.lastIndex && i.lastIndex++, a && !n || n && a[1]?.match(n) || n && a[2]?.match(n)) {
1050
+ let e = a[1] ? a[1] : a[2], t = a[3] ? a[3].trim() : a[4] ? JSON.parse(a[4].trim()) : null;
1051
+ o.push({
1052
+ type: e,
1053
+ args: t
1054
+ });
1055
+ }
1056
+ return o.length === 0 ? {
1057
+ type: e,
1058
+ args: null
1059
+ } : o.length === 1 ? o[0] : o;
1060
+ } catch (r) {
1061
+ return t.error(`ERROR: ${r.message} - Unable to parse directive type: '${n}' based on the text: '${e}'`), {
1062
+ type: void 0,
1063
+ args: null
1064
+ };
1065
+ }
1066
+ }, "detectDirective"), ft = /* @__PURE__ */ e(function(e) {
1067
+ return e.replace(i, "");
1068
+ }, "removeDirectives"), pt = /* @__PURE__ */ e(function(e, t) {
1069
+ for (let [n, r] of t.entries()) if (r.match(e)) return n;
1070
+ return -1;
1071
+ }, "isSubstringInArray");
1072
+ function U(e, t) {
1073
+ return e ? ct[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`] ?? t : t;
1074
+ }
1075
+ e(U, "interpolateToCurve");
1076
+ function mt(e, t) {
1077
+ let n = e.trim();
1078
+ if (n) return t.securityLevel === "loose" ? n : (0, st.sanitizeUrl)(n);
1079
+ }
1080
+ e(mt, "formatUrl");
1081
+ var ht = /* @__PURE__ */ e((e, ...n) => {
1082
+ let r = e.split("."), i = r.length - 1, a = r[i], o = window;
1083
+ for (let n = 0; n < i; n++) if (o = o[r[n]], !o) {
1084
+ t.error(`Function name: ${e} not found in window`);
1085
+ return;
1086
+ }
1087
+ o[a](...n);
1088
+ }, "runFunc");
1089
+ function W(e, t) {
1090
+ return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
1091
+ }
1092
+ e(W, "distance");
1093
+ function gt(e) {
1094
+ let t, n = 0;
1095
+ return e.forEach((e) => {
1096
+ n += W(e, t), t = e;
1097
+ }), G(e, n / 2);
1098
+ }
1099
+ e(gt, "traverseEdge");
1100
+ function _t(e) {
1101
+ return e.length === 1 ? e[0] : gt(e);
1102
+ }
1103
+ e(_t, "calcLabelPosition");
1104
+ var vt = /* @__PURE__ */ e((e, t = 2) => {
1105
+ let n = 10 ** t;
1106
+ return Math.round(e * n) / n;
1107
+ }, "roundNumber"), G = /* @__PURE__ */ e((e, t) => {
1108
+ let n, r = t;
1109
+ for (let t of e) {
1110
+ if (n) {
1111
+ let e = W(t, n);
1112
+ if (e === 0) return n;
1113
+ if (e < r) r -= e;
1114
+ else {
1115
+ let i = r / e;
1116
+ if (i <= 0) return n;
1117
+ if (i >= 1) return {
1118
+ x: t.x,
1119
+ y: t.y
1120
+ };
1121
+ if (i > 0 && i < 1) return {
1122
+ x: vt((1 - i) * n.x + i * t.x, 5),
1123
+ y: vt((1 - i) * n.y + i * t.y, 5)
1124
+ };
1125
+ }
1126
+ }
1127
+ n = t;
1128
+ }
1129
+ throw Error("Could not find a suitable point for the given distance");
1130
+ }, "calculatePoint"), yt = /* @__PURE__ */ e((e, n, r) => {
1131
+ t.info(`our points ${JSON.stringify(n)}`), n[0] !== r && (n = n.reverse());
1132
+ let i = G(n, 25), a = e ? 10 : 5, o = Math.atan2(n[0].y - i.y, n[0].x - i.x), s = {
1133
+ x: 0,
1134
+ y: 0
1135
+ };
1136
+ return s.x = Math.sin(o) * a + (n[0].x + i.x) / 2, s.y = -Math.cos(o) * a + (n[0].y + i.y) / 2, s;
1137
+ }, "calcCardinalityPosition");
1138
+ function bt(e, n, r) {
1139
+ let i = structuredClone(r);
1140
+ t.info("our points", i), n !== "start_left" && n !== "start_right" && i.reverse();
1141
+ let a = G(i, 25 + e), o = 10 + e * .5, s = Math.atan2(i[0].y - a.y, i[0].x - a.x), c = {
1142
+ x: 0,
1143
+ y: 0
1144
+ };
1145
+ return n === "start_left" ? (c.x = Math.sin(s + Math.PI) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s + Math.PI) * o + (i[0].y + a.y) / 2) : n === "end_right" ? (c.x = Math.sin(s - Math.PI) * o + (i[0].x + a.x) / 2 - 5, c.y = -Math.cos(s - Math.PI) * o + (i[0].y + a.y) / 2 - 5) : n === "end_left" ? (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2 - 5, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2 - 5) : (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2), c;
1146
+ }
1147
+ e(bt, "calcTerminalLabelPosition");
1148
+ function K(e) {
1149
+ let t = "", n = "";
1150
+ for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
1151
+ return {
1152
+ style: t,
1153
+ labelStyle: n
1154
+ };
1155
+ }
1156
+ e(K, "getStylesFromArray");
1157
+ var xt = 0, St = /* @__PURE__ */ e(() => (xt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + xt), "generateId");
1158
+ function Ct(e) {
1159
+ let t = "";
1160
+ for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
1161
+ return t;
1162
+ }
1163
+ e(Ct, "makeRandomHex");
1164
+ var wt = /* @__PURE__ */ e((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */ e(function() {
1165
+ return {
1166
+ x: 0,
1167
+ y: 0,
1168
+ fill: void 0,
1169
+ anchor: "start",
1170
+ style: "#666",
1171
+ width: 100,
1172
+ height: 100,
1173
+ textMargin: 0,
1174
+ rx: 0,
1175
+ ry: 0,
1176
+ valign: void 0,
1177
+ text: ""
1178
+ };
1179
+ }, "getTextObj"), Et = /* @__PURE__ */ e(function(e, t) {
1180
+ let n = t.text.replace(s.lineBreakRegex, " "), [, r] = Z(t.fontSize), i = e.append("text");
1181
+ i.attr("x", t.x), i.attr("y", t.y), i.style("text-anchor", t.anchor), i.style("font-family", t.fontFamily), i.style("font-size", r), i.style("font-weight", t.fontWeight), i.attr("fill", t.fill), t.class !== void 0 && i.attr("class", t.class);
1182
+ let a = i.append("tspan");
1183
+ return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(n), i;
1184
+ }, "drawSimpleText"), Dt = B((e, t, n) => {
1185
+ if (!e || (n = Object.assign({
1186
+ fontSize: 12,
1187
+ fontWeight: 400,
1188
+ fontFamily: "Arial",
1189
+ joinWith: "<br/>"
1190
+ }, n), s.lineBreakRegex.test(e))) return e;
1191
+ let r = e.split(" ").filter(Boolean), i = [], a = "";
1192
+ return r.forEach((e, o) => {
1193
+ let s = J(`${e} `, n), c = J(a, n);
1194
+ if (s > t) {
1195
+ let { hyphenatedStrings: r, remainingWord: o } = Ot(e, t, "-", n);
1196
+ i.push(a, ...r), a = o;
1197
+ } else c + s >= t ? (i.push(a), a = e) : a = [a, e].filter(Boolean).join(" ");
1198
+ o + 1 === r.length && i.push(a);
1199
+ }), i.filter((e) => e !== "").join(n.joinWith);
1200
+ }, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), Ot = B((e, t, n = "-", r) => {
1201
+ r = Object.assign({
1202
+ fontSize: 12,
1203
+ fontWeight: 400,
1204
+ fontFamily: "Arial",
1205
+ margin: 0
1206
+ }, r);
1207
+ let i = [...e], a = [], o = "";
1208
+ return i.forEach((e, s) => {
1209
+ let c = `${o}${e}`;
1210
+ if (J(c, r) >= t) {
1211
+ let e = s + 1, t = i.length === e, r = `${c}${n}`;
1212
+ a.push(t ? c : r), o = "";
1213
+ } else o = c;
1214
+ }), {
1215
+ hyphenatedStrings: a,
1216
+ remainingWord: o
1217
+ };
1218
+ }, (e, t, n = "-", r) => `${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);
1219
+ function q(e, t) {
1220
+ return Y(e, t).height;
1221
+ }
1222
+ e(q, "calculateTextHeight");
1223
+ function J(e, t) {
1224
+ return Y(e, t).width;
1225
+ }
1226
+ e(J, "calculateTextWidth");
1227
+ var Y = B((e, t) => {
1228
+ let { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = t;
1229
+ if (!e) return {
1230
+ width: 0,
1231
+ height: 0
1232
+ };
1233
+ let [, o] = Z(r), c = ["sans-serif", i], l = e.split(s.lineBreakRegex), u = [], d = n("body");
1234
+ if (!d.remove) return {
1235
+ width: 0,
1236
+ height: 0,
1237
+ lineHeight: 0
1238
+ };
1239
+ let f = d.append("svg");
1240
+ for (let e of c) {
1241
+ let t = 0, n = {
1242
+ width: 0,
1243
+ height: 0,
1244
+ lineHeight: 0
1245
+ };
1246
+ for (let r of l) {
1247
+ let i = Tt();
1248
+ i.text = r || "​";
1249
+ let s = Et(f, i).style("font-size", o).style("font-weight", a).style("font-family", e), c = (s._groups || s)[0][0].getBBox();
1250
+ if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
1251
+ n.width = Math.round(Math.max(n.width, c.width)), t = Math.round(c.height), n.height += t, n.lineHeight = Math.round(Math.max(n.lineHeight, t));
1252
+ }
1253
+ u.push(n);
1254
+ }
1255
+ return f.remove(), u[isNaN(u[1].height) || isNaN(u[1].width) || isNaN(u[1].lineHeight) || u[0].height > u[1].height && u[0].width > u[1].width && u[0].lineHeight > u[1].lineHeight ? 0 : 1];
1256
+ }, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), kt = class {
1257
+ constructor(e = !1, t) {
1258
+ this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
1259
+ }
1260
+ static {
1261
+ e(this, "InitIDGenerator");
1262
+ }
1263
+ }, X, At = /* @__PURE__ */ e(function(e) {
1264
+ return X ||= document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), X.innerHTML = e, unescape(X.textContent);
1265
+ }, "entityDecode");
1266
+ function jt(e) {
1267
+ return "str" in e;
1268
+ }
1269
+ e(jt, "isDetailedError");
1270
+ var Mt = /* @__PURE__ */ e((e, t, n, r) => {
1271
+ if (!r) return;
1272
+ let i = e.node()?.getBBox();
1273
+ i && e.append("text").text(r).attr("text-anchor", "middle").attr("x", i.x + i.width / 2).attr("y", -n).attr("class", t);
1274
+ }, "insertTitle"), Z = /* @__PURE__ */ e((e) => {
1275
+ if (typeof e == "number") return [e, e + "px"];
1276
+ let t = parseInt(e ?? "", 10);
1277
+ return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
1278
+ }, "parseFontSize");
1279
+ function Q(e, t) {
1280
+ return ot({}, e, t);
1281
+ }
1282
+ e(Q, "cleanAndMerge");
1283
+ var Nt = {
1284
+ assignWithDepth: o,
1285
+ wrapLabel: Dt,
1286
+ calculateTextHeight: q,
1287
+ calculateTextWidth: J,
1288
+ calculateTextDimensions: Y,
1289
+ cleanAndMerge: Q,
1290
+ detectInit: ut,
1291
+ detectDirective: dt,
1292
+ isSubstringInArray: pt,
1293
+ interpolateToCurve: U,
1294
+ calcLabelPosition: _t,
1295
+ calcCardinalityPosition: yt,
1296
+ calcTerminalLabelPosition: bt,
1297
+ formatUrl: mt,
1298
+ getStylesFromArray: K,
1299
+ generateId: St,
1300
+ random: wt,
1301
+ runFunc: ht,
1302
+ entityDecode: At,
1303
+ insertTitle: Mt,
1304
+ isLabelCoordinateInPath: $,
1305
+ parseFontSize: Z,
1306
+ InitIDGenerator: kt
1307
+ }, Pt = /* @__PURE__ */ e(function(e) {
1308
+ let t = e;
1309
+ return t = t.replace(/style.*:\S*#.*;/g, function(e) {
1310
+ return e.substring(0, e.length - 1);
1311
+ }), t = t.replace(/classDef.*:\S*#.*;/g, function(e) {
1312
+ return e.substring(0, e.length - 1);
1313
+ }), t = t.replace(/#\w+;/g, function(e) {
1314
+ let t = e.substring(1, e.length - 1);
1315
+ return /^\+?\d+$/.test(t) ? "fl°°" + t + "¶ß" : "fl°" + t + "¶ß";
1316
+ }), t;
1317
+ }, "encodeEntities"), Ft = /* @__PURE__ */ e(function(e) {
1318
+ return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
1319
+ }, "decodeEntities"), It = /* @__PURE__ */ e((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
1320
+ function Lt(e) {
1321
+ return e ?? null;
1322
+ }
1323
+ e(Lt, "handleUndefinedAttr");
1324
+ function $(e, t) {
1325
+ let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
1326
+ return i.includes(n.toString()) || i.includes(r.toString());
1327
+ }
1328
+ e($, "isLabelCoordinateInPath");
1329
+ //#endregion
1330
+ export { ce as $, Je as A, Ne as B, j as C, M as D, A as E, k as F, D as G, Ue as H, ze as I, w as J, ke as K, Me as L, Ke as M, We as N, Pe as O, Fe as P, fe as Q, Ie as R, N as S, Le as T, Be as U, He as V, Ve as W, we as X, Oe as Y, Te as Z, Dt as _, Ft as a, P as b, It as c, U as d, te as et, jt as f, Nt as g, ft as h, Q as i, Ge as j, qe as k, K as l, wt as m, q as n, ee as nt, Pt as o, Z as p, T as q, J as r, u as rt, St as s, Y as t, f as tt, Lt as u, V as v, Re as w, Ze as x, R as y, O as z };