@dpuse/dpuse-tool-d3-visualiser 0.0.33 → 0.0.41

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 (69) hide show
  1. package/README.md +660 -201
  2. package/dist/{band-DbExrcif.js → band-C1twWuW2.js} +3 -2
  3. package/dist/{band-DbExrcif.js.map → band-C1twWuW2.js.map} +1 -1
  4. package/dist/{billboardJs-jmaH9Gag.js → billboardJs-DS82ViEw.js} +1081 -1747
  5. package/dist/billboardJs-DS82ViEw.js.map +1 -0
  6. package/dist/chordDiagram-Cz0sVVgD.js +2911 -0
  7. package/dist/chordDiagram-Cz0sVVgD.js.map +1 -0
  8. package/dist/{d3BarChart-DEzayAyh.js → d3BarChart-DIN2KQsU.js} +7 -6
  9. package/dist/{d3BarChart-DEzayAyh.js.map → d3BarChart-DIN2KQsU.js.map} +1 -1
  10. package/dist/dpuse-tool-d3-visualiser.es.js +17 -7
  11. package/dist/dpuse-tool-d3-visualiser.es.js.map +1 -1
  12. package/dist/{drag-DLokvdmv.js → drag-DfL4uwqz.js} +25 -24
  13. package/dist/{drag-DLokvdmv.js.map → drag-DfL4uwqz.js.map} +1 -1
  14. package/dist/hierarchy-CDFAetye.js +151 -0
  15. package/dist/hierarchy-CDFAetye.js.map +1 -0
  16. package/dist/{linear-D3BD7E1p.js → linear-BnhqTvdX.js} +59 -85
  17. package/dist/linear-BnhqTvdX.js.map +1 -0
  18. package/dist/{link-DKK0Q0lG.js → link-D-9z7kEr.js} +16 -39
  19. package/dist/link-D-9z7kEr.js.map +1 -0
  20. package/dist/math-C5EhTgJw.js +12 -0
  21. package/dist/math-C5EhTgJw.js.map +1 -0
  22. package/dist/max-CPVNm4tn.js +14 -0
  23. package/dist/max-CPVNm4tn.js.map +1 -0
  24. package/dist/{networkDiagram-HS-SgOZ0.js → networkDiagram-yraPhqxN.js} +28 -28
  25. package/dist/{networkDiagram-HS-SgOZ0.js.map → networkDiagram-yraPhqxN.js.map} +1 -1
  26. package/dist/nodrag-Dq2tlBbe.js +51 -0
  27. package/dist/nodrag-Dq2tlBbe.js.map +1 -0
  28. package/dist/{observablePlot-B1CSEvcU.js → observablePlot-C7764aFq.js} +2366 -2417
  29. package/dist/observablePlot-C7764aFq.js.map +1 -0
  30. package/dist/ordinal-uZdoVxAx.js +30 -0
  31. package/dist/ordinal-uZdoVxAx.js.map +1 -0
  32. package/dist/palette-BuTjISrV.js +64 -0
  33. package/dist/palette-BuTjISrV.js.map +1 -0
  34. package/dist/{path-Bt1sPr2f.js → path-6kmCrmEz.js} +7 -4
  35. package/dist/{path-Bt1sPr2f.js.map → path-6kmCrmEz.js.map} +1 -1
  36. package/dist/point-6cHftmvM.js +27 -0
  37. package/dist/point-6cHftmvM.js.map +1 -0
  38. package/dist/pow-BFDPqS3s.js +86 -0
  39. package/dist/pow-BFDPqS3s.js.map +1 -0
  40. package/dist/{sankeyDiagram-BXTYCHPV.js → sankeyDiagram-BT2RCRpi.js} +93 -152
  41. package/dist/sankeyDiagram-BT2RCRpi.js.map +1 -0
  42. package/dist/{src-Br_t1-IV.js → src-WDualLFV.js} +40 -39
  43. package/dist/{src-Br_t1-IV.js.map → src-WDualLFV.js.map} +1 -1
  44. package/dist/{math-Dc0ICuib.js → src-Xlr4CcSw.js} +70 -75
  45. package/dist/src-Xlr4CcSw.js.map +1 -0
  46. package/dist/{src-Du_hPZAX.js → src-yL3ZdoR1.js} +235 -282
  47. package/dist/src-yL3ZdoR1.js.map +1 -0
  48. package/dist/step-DgCcZZ3W.js +670 -0
  49. package/dist/step-DgCcZZ3W.js.map +1 -0
  50. package/dist/{sum-BAZU479z.js → sum-CNP0Xric.js} +4 -15
  51. package/dist/sum-CNP0Xric.js.map +1 -0
  52. package/dist/{tanStackCharts-vvQteV9z.js → tanStackCharts-BJAX22lS.js} +164 -151
  53. package/dist/tanStackCharts-BJAX22lS.js.map +1 -0
  54. package/dist/treeDiagram-DsHUD8ou.js +130 -0
  55. package/dist/treeDiagram-DsHUD8ou.js.map +1 -0
  56. package/dist/types/src/chordDiagram.d.ts +25 -0
  57. package/dist/types/src/index.d.ts +3 -0
  58. package/package.json +6 -4
  59. package/dist/billboardJs-jmaH9Gag.js.map +0 -1
  60. package/dist/linear-D3BD7E1p.js.map +0 -1
  61. package/dist/link-DKK0Q0lG.js.map +0 -1
  62. package/dist/math-Dc0ICuib.js.map +0 -1
  63. package/dist/observablePlot-B1CSEvcU.js.map +0 -1
  64. package/dist/sankeyDiagram-BXTYCHPV.js.map +0 -1
  65. package/dist/src-Du_hPZAX.js.map +0 -1
  66. package/dist/sum-BAZU479z.js.map +0 -1
  67. package/dist/tanStackCharts-vvQteV9z.js.map +0 -1
  68. package/dist/treeDiagram-DemHfVnX.js +0 -277
  69. package/dist/treeDiagram-DemHfVnX.js.map +0 -1
@@ -0,0 +1,670 @@
1
+ import "./math-C5EhTgJw.js";
2
+ //#region node_modules/d3-shape/src/curve/linear.js
3
+ function e(e) {
4
+ this._context = e;
5
+ }
6
+ e.prototype = {
7
+ areaStart: function() {
8
+ this._line = 0;
9
+ },
10
+ areaEnd: function() {
11
+ this._line = NaN;
12
+ },
13
+ lineStart: function() {
14
+ this._point = 0;
15
+ },
16
+ lineEnd: function() {
17
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
18
+ },
19
+ point: function(e, t) {
20
+ switch (e = +e, t = +t, this._point) {
21
+ case 0:
22
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
23
+ break;
24
+ case 1: this._point = 2;
25
+ default: this._context.lineTo(e, t);
26
+ }
27
+ }
28
+ };
29
+ function t(t) {
30
+ return new e(t);
31
+ }
32
+ //#endregion
33
+ //#region node_modules/d3-shape/src/noop.js
34
+ function n() {}
35
+ //#endregion
36
+ //#region node_modules/d3-shape/src/curve/basis.js
37
+ function r(e, t, n) {
38
+ 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);
39
+ }
40
+ function i(e) {
41
+ this._context = e;
42
+ }
43
+ i.prototype = {
44
+ areaStart: function() {
45
+ this._line = 0;
46
+ },
47
+ areaEnd: function() {
48
+ this._line = NaN;
49
+ },
50
+ lineStart: function() {
51
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
52
+ },
53
+ lineEnd: function() {
54
+ switch (this._point) {
55
+ case 3: r(this, this._x1, this._y1);
56
+ case 2: this._context.lineTo(this._x1, this._y1);
57
+ }
58
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
59
+ },
60
+ point: function(e, t) {
61
+ switch (e = +e, t = +t, this._point) {
62
+ case 0:
63
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
64
+ break;
65
+ case 1:
66
+ this._point = 2;
67
+ break;
68
+ case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
69
+ default: r(this, e, t);
70
+ }
71
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
72
+ }
73
+ };
74
+ function a(e) {
75
+ return new i(e);
76
+ }
77
+ //#endregion
78
+ //#region node_modules/d3-shape/src/curve/basisClosed.js
79
+ function o(e) {
80
+ this._context = e;
81
+ }
82
+ o.prototype = {
83
+ areaStart: n,
84
+ areaEnd: n,
85
+ lineStart: function() {
86
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
87
+ },
88
+ lineEnd: function() {
89
+ switch (this._point) {
90
+ case 1:
91
+ this._context.moveTo(this._x2, this._y2), this._context.closePath();
92
+ break;
93
+ case 2:
94
+ 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();
95
+ break;
96
+ case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
97
+ }
98
+ },
99
+ point: function(e, t) {
100
+ switch (e = +e, t = +t, this._point) {
101
+ case 0:
102
+ this._point = 1, this._x2 = e, this._y2 = t;
103
+ break;
104
+ case 1:
105
+ this._point = 2, this._x3 = e, this._y3 = t;
106
+ break;
107
+ case 2:
108
+ 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);
109
+ break;
110
+ default: r(this, e, t);
111
+ }
112
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
113
+ }
114
+ };
115
+ function s(e) {
116
+ return new o(e);
117
+ }
118
+ //#endregion
119
+ //#region node_modules/d3-shape/src/curve/basisOpen.js
120
+ function c(e) {
121
+ this._context = e;
122
+ }
123
+ c.prototype = {
124
+ areaStart: function() {
125
+ this._line = 0;
126
+ },
127
+ areaEnd: function() {
128
+ this._line = NaN;
129
+ },
130
+ lineStart: function() {
131
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
132
+ },
133
+ lineEnd: function() {
134
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
135
+ },
136
+ point: function(e, t) {
137
+ switch (e = +e, t = +t, this._point) {
138
+ case 0:
139
+ this._point = 1;
140
+ break;
141
+ case 1:
142
+ this._point = 2;
143
+ break;
144
+ case 2:
145
+ this._point = 3;
146
+ var n = (this._x0 + 4 * this._x1 + e) / 6, i = (this._y0 + 4 * this._y1 + t) / 6;
147
+ this._line ? this._context.lineTo(n, i) : this._context.moveTo(n, i);
148
+ break;
149
+ case 3: this._point = 4;
150
+ default: r(this, e, t);
151
+ }
152
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
153
+ }
154
+ };
155
+ function l(e) {
156
+ return new c(e);
157
+ }
158
+ //#endregion
159
+ //#region node_modules/d3-shape/src/curve/bundle.js
160
+ function u(e, t) {
161
+ this._basis = new i(e), this._beta = t;
162
+ }
163
+ u.prototype = {
164
+ lineStart: function() {
165
+ this._x = [], this._y = [], this._basis.lineStart();
166
+ },
167
+ lineEnd: function() {
168
+ var e = this._x, t = this._y, n = e.length - 1;
169
+ 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));
170
+ this._x = this._y = null, this._basis.lineEnd();
171
+ },
172
+ point: function(e, t) {
173
+ this._x.push(+e), this._y.push(+t);
174
+ }
175
+ };
176
+ var d = (function e(t) {
177
+ function n(e) {
178
+ return t === 1 ? new i(e) : new u(e, t);
179
+ }
180
+ return n.beta = function(t) {
181
+ return e(+t);
182
+ }, n;
183
+ })(.85);
184
+ //#endregion
185
+ //#region node_modules/d3-shape/src/curve/cardinal.js
186
+ function f(e, t, n) {
187
+ 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);
188
+ }
189
+ function p(e, t) {
190
+ this._context = e, this._k = (1 - t) / 6;
191
+ }
192
+ p.prototype = {
193
+ areaStart: function() {
194
+ this._line = 0;
195
+ },
196
+ areaEnd: function() {
197
+ this._line = NaN;
198
+ },
199
+ lineStart: function() {
200
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
201
+ },
202
+ lineEnd: function() {
203
+ switch (this._point) {
204
+ case 2:
205
+ this._context.lineTo(this._x2, this._y2);
206
+ break;
207
+ case 3: f(this, this._x1, this._y1);
208
+ }
209
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
210
+ },
211
+ point: function(e, t) {
212
+ switch (e = +e, t = +t, this._point) {
213
+ case 0:
214
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
215
+ break;
216
+ case 1:
217
+ this._point = 2, this._x1 = e, this._y1 = t;
218
+ break;
219
+ case 2: this._point = 3;
220
+ default: f(this, e, t);
221
+ }
222
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
223
+ }
224
+ };
225
+ var m = (function e(t) {
226
+ function n(e) {
227
+ return new p(e, t);
228
+ }
229
+ return n.tension = function(t) {
230
+ return e(+t);
231
+ }, n;
232
+ })(0);
233
+ //#endregion
234
+ //#region node_modules/d3-shape/src/curve/cardinalClosed.js
235
+ function h(e, t) {
236
+ this._context = e, this._k = (1 - t) / 6;
237
+ }
238
+ h.prototype = {
239
+ areaStart: n,
240
+ areaEnd: n,
241
+ lineStart: function() {
242
+ 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;
243
+ },
244
+ lineEnd: function() {
245
+ switch (this._point) {
246
+ case 1:
247
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
248
+ break;
249
+ case 2:
250
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
251
+ break;
252
+ case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
253
+ }
254
+ },
255
+ point: function(e, t) {
256
+ switch (e = +e, t = +t, this._point) {
257
+ case 0:
258
+ this._point = 1, this._x3 = e, this._y3 = t;
259
+ break;
260
+ case 1:
261
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
262
+ break;
263
+ case 2:
264
+ this._point = 3, this._x5 = e, this._y5 = t;
265
+ break;
266
+ default: f(this, e, t);
267
+ }
268
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
269
+ }
270
+ };
271
+ var g = (function e(t) {
272
+ function n(e) {
273
+ return new h(e, t);
274
+ }
275
+ return n.tension = function(t) {
276
+ return e(+t);
277
+ }, n;
278
+ })(0);
279
+ //#endregion
280
+ //#region node_modules/d3-shape/src/curve/cardinalOpen.js
281
+ function _(e, t) {
282
+ this._context = e, this._k = (1 - t) / 6;
283
+ }
284
+ _.prototype = {
285
+ areaStart: function() {
286
+ this._line = 0;
287
+ },
288
+ areaEnd: function() {
289
+ this._line = NaN;
290
+ },
291
+ lineStart: function() {
292
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
293
+ },
294
+ lineEnd: function() {
295
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
296
+ },
297
+ point: function(e, t) {
298
+ switch (e = +e, t = +t, this._point) {
299
+ case 0:
300
+ this._point = 1;
301
+ break;
302
+ case 1:
303
+ this._point = 2;
304
+ break;
305
+ case 2:
306
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
307
+ break;
308
+ case 3: this._point = 4;
309
+ default: f(this, e, t);
310
+ }
311
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
312
+ }
313
+ };
314
+ var v = (function e(t) {
315
+ function n(e) {
316
+ return new _(e, t);
317
+ }
318
+ return n.tension = function(t) {
319
+ return e(+t);
320
+ }, n;
321
+ })(0);
322
+ //#endregion
323
+ //#region node_modules/d3-shape/src/curve/catmullRom.js
324
+ function y(e, t, n) {
325
+ var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
326
+ if (e._l01_a > 1e-12) {
327
+ 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);
328
+ 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;
329
+ }
330
+ if (e._l23_a > 1e-12) {
331
+ 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);
332
+ 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;
333
+ }
334
+ e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
335
+ }
336
+ function b(e, t) {
337
+ this._context = e, this._alpha = t;
338
+ }
339
+ b.prototype = {
340
+ areaStart: function() {
341
+ this._line = 0;
342
+ },
343
+ areaEnd: function() {
344
+ this._line = NaN;
345
+ },
346
+ lineStart: function() {
347
+ 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;
348
+ },
349
+ lineEnd: function() {
350
+ switch (this._point) {
351
+ case 2:
352
+ this._context.lineTo(this._x2, this._y2);
353
+ break;
354
+ case 3: this.point(this._x2, this._y2);
355
+ }
356
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
357
+ },
358
+ point: function(e, t) {
359
+ if (e = +e, t = +t, this._point) {
360
+ var n = this._x2 - e, r = this._y2 - t;
361
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
362
+ }
363
+ switch (this._point) {
364
+ case 0:
365
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
366
+ break;
367
+ case 1:
368
+ this._point = 2;
369
+ break;
370
+ case 2: this._point = 3;
371
+ default: y(this, e, t);
372
+ }
373
+ 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;
374
+ }
375
+ };
376
+ var x = (function e(t) {
377
+ function n(e) {
378
+ return t ? new b(e, t) : new p(e, 0);
379
+ }
380
+ return n.alpha = function(t) {
381
+ return e(+t);
382
+ }, n;
383
+ })(.5);
384
+ //#endregion
385
+ //#region node_modules/d3-shape/src/curve/catmullRomClosed.js
386
+ function S(e, t) {
387
+ this._context = e, this._alpha = t;
388
+ }
389
+ S.prototype = {
390
+ areaStart: n,
391
+ areaEnd: n,
392
+ lineStart: function() {
393
+ 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;
394
+ },
395
+ lineEnd: function() {
396
+ switch (this._point) {
397
+ case 1:
398
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
399
+ break;
400
+ case 2:
401
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
402
+ break;
403
+ case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
404
+ }
405
+ },
406
+ point: function(e, t) {
407
+ if (e = +e, t = +t, this._point) {
408
+ var n = this._x2 - e, r = this._y2 - t;
409
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
410
+ }
411
+ switch (this._point) {
412
+ case 0:
413
+ this._point = 1, this._x3 = e, this._y3 = t;
414
+ break;
415
+ case 1:
416
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
417
+ break;
418
+ case 2:
419
+ this._point = 3, this._x5 = e, this._y5 = t;
420
+ break;
421
+ default: y(this, e, t);
422
+ }
423
+ 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;
424
+ }
425
+ };
426
+ var C = (function e(t) {
427
+ function n(e) {
428
+ return t ? new S(e, t) : new h(e, 0);
429
+ }
430
+ return n.alpha = function(t) {
431
+ return e(+t);
432
+ }, n;
433
+ })(.5);
434
+ //#endregion
435
+ //#region node_modules/d3-shape/src/curve/catmullRomOpen.js
436
+ function w(e, t) {
437
+ this._context = e, this._alpha = t;
438
+ }
439
+ w.prototype = {
440
+ areaStart: function() {
441
+ this._line = 0;
442
+ },
443
+ areaEnd: function() {
444
+ this._line = NaN;
445
+ },
446
+ lineStart: function() {
447
+ 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;
448
+ },
449
+ lineEnd: function() {
450
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
451
+ },
452
+ point: function(e, t) {
453
+ if (e = +e, t = +t, this._point) {
454
+ var n = this._x2 - e, r = this._y2 - t;
455
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
456
+ }
457
+ switch (this._point) {
458
+ case 0:
459
+ this._point = 1;
460
+ break;
461
+ case 1:
462
+ this._point = 2;
463
+ break;
464
+ case 2:
465
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
466
+ break;
467
+ case 3: this._point = 4;
468
+ default: y(this, e, t);
469
+ }
470
+ 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;
471
+ }
472
+ };
473
+ var T = (function e(t) {
474
+ function n(e) {
475
+ return t ? new w(e, t) : new _(e, 0);
476
+ }
477
+ return n.alpha = function(t) {
478
+ return e(+t);
479
+ }, n;
480
+ })(.5);
481
+ //#endregion
482
+ //#region node_modules/d3-shape/src/curve/linearClosed.js
483
+ function E(e) {
484
+ this._context = e;
485
+ }
486
+ E.prototype = {
487
+ areaStart: n,
488
+ areaEnd: n,
489
+ lineStart: function() {
490
+ this._point = 0;
491
+ },
492
+ lineEnd: function() {
493
+ this._point && this._context.closePath();
494
+ },
495
+ point: function(e, t) {
496
+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
497
+ }
498
+ };
499
+ function D(e) {
500
+ return new E(e);
501
+ }
502
+ //#endregion
503
+ //#region node_modules/d3-shape/src/curve/monotone.js
504
+ function O(e) {
505
+ return e < 0 ? -1 : 1;
506
+ }
507
+ function k(e, t, n) {
508
+ 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);
509
+ return (O(a) + O(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
510
+ }
511
+ function A(e, t) {
512
+ var n = e._x1 - e._x0;
513
+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
514
+ }
515
+ function j(e, t, n) {
516
+ var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
517
+ e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
518
+ }
519
+ function M(e) {
520
+ this._context = e;
521
+ }
522
+ M.prototype = {
523
+ areaStart: function() {
524
+ this._line = 0;
525
+ },
526
+ areaEnd: function() {
527
+ this._line = NaN;
528
+ },
529
+ lineStart: function() {
530
+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
531
+ },
532
+ lineEnd: function() {
533
+ switch (this._point) {
534
+ case 2:
535
+ this._context.lineTo(this._x1, this._y1);
536
+ break;
537
+ case 3: j(this, this._t0, A(this, this._t0));
538
+ }
539
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
540
+ },
541
+ point: function(e, t) {
542
+ var n = NaN;
543
+ if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {
544
+ switch (this._point) {
545
+ case 0:
546
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
547
+ break;
548
+ case 1:
549
+ this._point = 2;
550
+ break;
551
+ case 2:
552
+ this._point = 3, j(this, A(this, n = k(this, e, t)), n);
553
+ break;
554
+ default: j(this, this._t0, n = k(this, e, t));
555
+ }
556
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
557
+ }
558
+ }
559
+ };
560
+ function N(e) {
561
+ this._context = new P(e);
562
+ }
563
+ (N.prototype = Object.create(M.prototype)).point = function(e, t) {
564
+ M.prototype.point.call(this, t, e);
565
+ };
566
+ function P(e) {
567
+ this._context = e;
568
+ }
569
+ P.prototype = {
570
+ moveTo: function(e, t) {
571
+ this._context.moveTo(t, e);
572
+ },
573
+ closePath: function() {
574
+ this._context.closePath();
575
+ },
576
+ lineTo: function(e, t) {
577
+ this._context.lineTo(t, e);
578
+ },
579
+ bezierCurveTo: function(e, t, n, r, i, a) {
580
+ this._context.bezierCurveTo(t, e, r, n, a, i);
581
+ }
582
+ };
583
+ function F(e) {
584
+ return new M(e);
585
+ }
586
+ function I(e) {
587
+ return new N(e);
588
+ }
589
+ //#endregion
590
+ //#region node_modules/d3-shape/src/curve/natural.js
591
+ function L(e) {
592
+ this._context = e;
593
+ }
594
+ L.prototype = {
595
+ areaStart: function() {
596
+ this._line = 0;
597
+ },
598
+ areaEnd: function() {
599
+ this._line = NaN;
600
+ },
601
+ lineStart: function() {
602
+ this._x = [], this._y = [];
603
+ },
604
+ lineEnd: function() {
605
+ var e = this._x, t = this._y, n = e.length;
606
+ if (n) 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]);
607
+ else for (var r = R(e), i = R(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]);
608
+ (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
609
+ },
610
+ point: function(e, t) {
611
+ this._x.push(+e), this._y.push(+t);
612
+ }
613
+ };
614
+ function R(e) {
615
+ var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
616
+ 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];
617
+ 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];
618
+ 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];
619
+ 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];
620
+ return [i, a];
621
+ }
622
+ function z(e) {
623
+ return new L(e);
624
+ }
625
+ //#endregion
626
+ //#region node_modules/d3-shape/src/curve/step.js
627
+ function B(e, t) {
628
+ this._context = e, this._t = t;
629
+ }
630
+ B.prototype = {
631
+ areaStart: function() {
632
+ this._line = 0;
633
+ },
634
+ areaEnd: function() {
635
+ this._line = NaN;
636
+ },
637
+ lineStart: function() {
638
+ this._x = this._y = NaN, this._point = 0;
639
+ },
640
+ lineEnd: function() {
641
+ 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);
642
+ },
643
+ point: function(e, t) {
644
+ switch (e = +e, t = +t, this._point) {
645
+ case 0:
646
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
647
+ break;
648
+ case 1: this._point = 2;
649
+ default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
650
+ else {
651
+ var n = this._x * (1 - this._t) + e * this._t;
652
+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);
653
+ }
654
+ }
655
+ this._x = e, this._y = t;
656
+ }
657
+ };
658
+ function V(e) {
659
+ return new B(e, .5);
660
+ }
661
+ function H(e) {
662
+ return new B(e, 0);
663
+ }
664
+ function U(e) {
665
+ return new B(e, 1);
666
+ }
667
+ //#endregion
668
+ export { a as _, F as a, T as c, v as d, g as f, s as g, l as h, z as i, C as l, d as m, H as n, I as o, m as p, V as r, D as s, U as t, x as u, t as v };
669
+
670
+ //# sourceMappingURL=step-DgCcZZ3W.js.map