@dpuse/dpuse-tool-d3 0.0.10 → 0.0.11

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 (40) hide show
  1. package/README.md +243 -208
  2. package/dist/axis-DbjL_93j.js +1621 -0
  3. package/dist/axis-DbjL_93j.js.map +1 -0
  4. package/dist/bump-znhpCF6A.js +75 -0
  5. package/dist/bump-znhpCF6A.js.map +1 -0
  6. package/dist/dpuse-tool-d3.es.js +4958 -16433
  7. package/dist/dpuse-tool-d3.es.js.map +1 -1
  8. package/dist/drag-B46QGUMq.js +173 -0
  9. package/dist/drag-B46QGUMq.js.map +1 -0
  10. package/dist/{erdDiagram-DNEvMuIA.js → erdDiagram-b-qDkEhY.js} +22 -20
  11. package/dist/erdDiagram-b-qDkEhY.js.map +1 -0
  12. package/dist/linear-J4iYa1Bf.js +34 -0
  13. package/dist/linear-J4iYa1Bf.js.map +1 -0
  14. package/dist/link-Dti9fi9g.js +33 -0
  15. package/dist/link-Dti9fi9g.js.map +1 -0
  16. package/dist/networkDiagram-QWVy8iRy.js +493 -0
  17. package/dist/networkDiagram-QWVy8iRy.js.map +1 -0
  18. package/dist/observablePlot-CNlbR_T4.js +7008 -0
  19. package/dist/observablePlot-CNlbR_T4.js.map +1 -0
  20. package/dist/path-Bt1sPr2f.js +65 -0
  21. package/dist/path-Bt1sPr2f.js.map +1 -0
  22. package/dist/sankeyDiagram-Dgf87Zt4.js +360 -0
  23. package/dist/sankeyDiagram-Dgf87Zt4.js.map +1 -0
  24. package/dist/{bump-S1d-3Q8P.js → select-BIuoFcZG.js} +161 -325
  25. package/dist/select-BIuoFcZG.js.map +1 -0
  26. package/dist/src-B7SGbtRQ.js +332 -0
  27. package/dist/src-B7SGbtRQ.js.map +1 -0
  28. package/dist/src-DnMaAyIP.js +1194 -0
  29. package/dist/src-DnMaAyIP.js.map +1 -0
  30. package/dist/sum-BAZU479z.js +36 -0
  31. package/dist/sum-BAZU479z.js.map +1 -0
  32. package/dist/treeDiagram-BJ_QF4os.js +277 -0
  33. package/dist/treeDiagram-BJ_QF4os.js.map +1 -0
  34. package/dist/types/src/index.d.ts +6 -4
  35. package/dist/types/src/observablePlot.d.ts +8 -0
  36. package/package.json +1 -1
  37. package/dist/bump-S1d-3Q8P.js.map +0 -1
  38. package/dist/erdDiagram-DNEvMuIA.js.map +0 -1
  39. package/dist/types/src/plotBarChart.d.ts +0 -7
  40. /package/dist/types/tests/{plotBarChart.test.d.ts → observablePlot.test.d.ts} +0 -0
@@ -44,7 +44,7 @@ function o(e) {
44
44
  function s(e) {
45
45
  typeof e != "function" && (e = o(e));
46
46
  for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], s = a.length, c = r[i] = Array(s), l, u, d = 0; d < s; ++d) (l = a[d]) && (u = e.call(l, l.__data__, d, a)) && ("__data__" in l && (u.__data__ = l.__data__), c[d] = u);
47
- return new G(r, this._parents);
47
+ return new Q(r, this._parents);
48
48
  }
49
49
  //#endregion
50
50
  //#region node_modules/d3-selection/src/array.js
@@ -71,7 +71,7 @@ function d(e) {
71
71
  function f(e) {
72
72
  e = typeof e == "function" ? d(e) : u(e);
73
73
  for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
74
- return new G(r, i);
74
+ return new Q(r, i);
75
75
  }
76
76
  //#endregion
77
77
  //#region node_modules/d3-selection/src/matcher.js
@@ -115,26 +115,26 @@ function te(e) {
115
115
  }
116
116
  //#endregion
117
117
  //#region node_modules/d3-selection/src/selection/filter.js
118
- function ne(e) {
118
+ function x(e) {
119
119
  typeof e != "function" && (e = p(e));
120
120
  for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
121
- return new G(r, this._parents);
121
+ return new Q(r, this._parents);
122
122
  }
123
123
  //#endregion
124
124
  //#region node_modules/d3-selection/src/selection/sparse.js
125
- function x(e) {
125
+ function S(e) {
126
126
  return Array(e.length);
127
127
  }
128
128
  //#endregion
129
129
  //#region node_modules/d3-selection/src/selection/enter.js
130
- function re() {
131
- return new G(this._enter || this._groups.map(x), this._parents);
130
+ function ne() {
131
+ return new Q(this._enter || this._groups.map(S), this._parents);
132
132
  }
133
- function S(e, t) {
133
+ function C(e, t) {
134
134
  this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
135
135
  }
136
- S.prototype = {
137
- constructor: S,
136
+ C.prototype = {
137
+ constructor: C,
138
138
  appendChild: function(e) {
139
139
  return this._parent.insertBefore(e, this._next);
140
140
  },
@@ -150,47 +150,47 @@ S.prototype = {
150
150
  };
151
151
  //#endregion
152
152
  //#region node_modules/d3-selection/src/constant.js
153
- function ie(e) {
153
+ function re(e) {
154
154
  return function() {
155
155
  return e;
156
156
  };
157
157
  }
158
158
  //#endregion
159
159
  //#region node_modules/d3-selection/src/selection/data.js
160
- function ae(e, t, n, r, i, a) {
161
- for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new S(e, a[o]);
160
+ function ie(e, t, n, r, i, a) {
161
+ for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new C(e, a[o]);
162
162
  for (; o < c; ++o) (s = t[o]) && (i[o] = s);
163
163
  }
164
- function oe(e, t, n, r, i, a, o) {
164
+ function ae(e, t, n, r, i, a, o) {
165
165
  var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
166
166
  for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = o.call(c, c.__data__, s, t) + "", l.has(p) ? i[s] = c : l.set(p, c));
167
- for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new S(e, a[s]);
167
+ for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new C(e, a[s]);
168
168
  for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
169
169
  }
170
- function se(e) {
170
+ function oe(e) {
171
171
  return e.__data__;
172
172
  }
173
- function ce(e, t) {
174
- if (!arguments.length) return Array.from(this, se);
175
- var n = t ? oe : ae, r = this._parents, i = this._groups;
176
- typeof e != "function" && (e = ie(e));
173
+ function se(e, t) {
174
+ if (!arguments.length) return Array.from(this, oe);
175
+ var n = t ? ae : ie, r = this._parents, i = this._groups;
176
+ typeof e != "function" && (e = re(e));
177
177
  for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
178
- var u = r[l], d = i[l], f = d.length, p = C(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
178
+ var u = r[l], d = i[l], f = d.length, p = ce(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
179
179
  n(u, d, h, g, c[l] = Array(f), p, t);
180
180
  for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
181
181
  for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
182
182
  y._next = b || null;
183
183
  }
184
184
  }
185
- return o = new G(o, r), o._enter = s, o._exit = c, o;
185
+ return o = new Q(o, r), o._enter = s, o._exit = c, o;
186
186
  }
187
- function C(e) {
187
+ function ce(e) {
188
188
  return typeof e == "object" && "length" in e ? e : Array.from(e);
189
189
  }
190
190
  //#endregion
191
191
  //#region node_modules/d3-selection/src/selection/exit.js
192
192
  function le() {
193
- return new G(this._exit || this._groups.map(x), this._parents);
193
+ return new Q(this._exit || this._groups.map(S), this._parents);
194
194
  }
195
195
  //#endregion
196
196
  //#region node_modules/d3-selection/src/selection/join.js
@@ -203,18 +203,18 @@ function ue(e, t, n) {
203
203
  function de(e) {
204
204
  for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
205
205
  for (; c < i; ++c) s[c] = n[c];
206
- return new G(s, this._parents);
206
+ return new Q(s, this._parents);
207
207
  }
208
208
  //#endregion
209
209
  //#region node_modules/d3-selection/src/selection/order.js
210
- function fe() {
210
+ function w() {
211
211
  for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
212
212
  return this;
213
213
  }
214
214
  //#endregion
215
215
  //#region node_modules/d3-selection/src/selection/sort.js
216
- function pe(e) {
217
- e ||= me;
216
+ function T(e) {
217
+ e ||= E;
218
218
  function t(t, n) {
219
219
  return t && n ? e(t.__data__, n.__data__) : !t - !n;
220
220
  }
@@ -222,25 +222,25 @@ function pe(e) {
222
222
  for (var o = n[a], s = o.length, c = i[a] = Array(s), l, u = 0; u < s; ++u) (l = o[u]) && (c[u] = l);
223
223
  c.sort(t);
224
224
  }
225
- return new G(i, this._parents).order();
225
+ return new Q(i, this._parents).order();
226
226
  }
227
- function me(e, t) {
227
+ function E(e, t) {
228
228
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
229
229
  }
230
230
  //#endregion
231
231
  //#region node_modules/d3-selection/src/selection/call.js
232
- function he() {
232
+ function D() {
233
233
  var e = arguments[0];
234
234
  return arguments[0] = this, e.apply(null, arguments), this;
235
235
  }
236
236
  //#endregion
237
237
  //#region node_modules/d3-selection/src/selection/nodes.js
238
- function ge() {
238
+ function O() {
239
239
  return Array.from(this);
240
240
  }
241
241
  //#endregion
242
242
  //#region node_modules/d3-selection/src/selection/node.js
243
- function _e() {
243
+ function k() {
244
244
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
245
245
  var o = r[i];
246
246
  if (o) return o;
@@ -249,126 +249,126 @@ function _e() {
249
249
  }
250
250
  //#endregion
251
251
  //#region node_modules/d3-selection/src/selection/size.js
252
- function ve() {
252
+ function A() {
253
253
  let e = 0;
254
254
  for (let t of this) ++e;
255
255
  return e;
256
256
  }
257
257
  //#endregion
258
258
  //#region node_modules/d3-selection/src/selection/empty.js
259
- function w() {
259
+ function j() {
260
260
  return !this.node();
261
261
  }
262
262
  //#endregion
263
263
  //#region node_modules/d3-selection/src/selection/each.js
264
- function T(e) {
264
+ function M(e) {
265
265
  for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
266
266
  return this;
267
267
  }
268
268
  //#endregion
269
269
  //#region node_modules/d3-selection/src/selection/attr.js
270
- function E(e) {
270
+ function N(e) {
271
271
  return function() {
272
272
  this.removeAttribute(e);
273
273
  };
274
274
  }
275
- function D(e) {
275
+ function P(e) {
276
276
  return function() {
277
277
  this.removeAttributeNS(e.space, e.local);
278
278
  };
279
279
  }
280
- function O(e, t) {
280
+ function F(e, t) {
281
281
  return function() {
282
282
  this.setAttribute(e, t);
283
283
  };
284
284
  }
285
- function k(e, t) {
285
+ function I(e, t) {
286
286
  return function() {
287
287
  this.setAttributeNS(e.space, e.local, t);
288
288
  };
289
289
  }
290
- function A(e, t) {
290
+ function L(e, t) {
291
291
  return function() {
292
292
  var n = t.apply(this, arguments);
293
293
  n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
294
294
  };
295
295
  }
296
- function j(e, t) {
296
+ function R(e, t) {
297
297
  return function() {
298
298
  var n = t.apply(this, arguments);
299
299
  n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
300
300
  };
301
301
  }
302
- function M(e, n) {
302
+ function z(e, n) {
303
303
  var r = t(e);
304
304
  if (arguments.length < 2) {
305
305
  var i = this.node();
306
306
  return r.local ? i.getAttributeNS(r.space, r.local) : i.getAttribute(r);
307
307
  }
308
- return this.each((n == null ? r.local ? D : E : typeof n == "function" ? r.local ? j : A : r.local ? k : O)(r, n));
308
+ return this.each((n == null ? r.local ? P : N : typeof n == "function" ? r.local ? R : L : r.local ? I : F)(r, n));
309
309
  }
310
310
  //#endregion
311
311
  //#region node_modules/d3-selection/src/window.js
312
- function N(e) {
312
+ function B(e) {
313
313
  return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
314
314
  }
315
315
  //#endregion
316
316
  //#region node_modules/d3-selection/src/selection/style.js
317
- function P(e) {
317
+ function V(e) {
318
318
  return function() {
319
319
  this.style.removeProperty(e);
320
320
  };
321
321
  }
322
- function F(e, t, n) {
322
+ function H(e, t, n) {
323
323
  return function() {
324
324
  this.style.setProperty(e, t, n);
325
325
  };
326
326
  }
327
- function ye(e, t, n) {
327
+ function fe(e, t, n) {
328
328
  return function() {
329
329
  var r = t.apply(this, arguments);
330
330
  r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
331
331
  };
332
332
  }
333
- function be(e, t, n) {
334
- return arguments.length > 1 ? this.each((t == null ? P : typeof t == "function" ? ye : F)(e, t, n ?? "")) : I(this.node(), e);
333
+ function pe(e, t, n) {
334
+ return arguments.length > 1 ? this.each((t == null ? V : typeof t == "function" ? fe : H)(e, t, n ?? "")) : U(this.node(), e);
335
335
  }
336
- function I(e, t) {
337
- return e.style.getPropertyValue(t) || N(e).getComputedStyle(e, null).getPropertyValue(t);
336
+ function U(e, t) {
337
+ return e.style.getPropertyValue(t) || B(e).getComputedStyle(e, null).getPropertyValue(t);
338
338
  }
339
339
  //#endregion
340
340
  //#region node_modules/d3-selection/src/selection/property.js
341
- function xe(e) {
341
+ function me(e) {
342
342
  return function() {
343
343
  delete this[e];
344
344
  };
345
345
  }
346
- function Se(e, t) {
346
+ function he(e, t) {
347
347
  return function() {
348
348
  this[e] = t;
349
349
  };
350
350
  }
351
- function Ce(e, t) {
351
+ function ge(e, t) {
352
352
  return function() {
353
353
  var n = t.apply(this, arguments);
354
354
  n == null ? delete this[e] : this[e] = n;
355
355
  };
356
356
  }
357
- function we(e, t) {
358
- return arguments.length > 1 ? this.each((t == null ? xe : typeof t == "function" ? Ce : Se)(e, t)) : this.node()[e];
357
+ function _e(e, t) {
358
+ return arguments.length > 1 ? this.each((t == null ? me : typeof t == "function" ? ge : he)(e, t)) : this.node()[e];
359
359
  }
360
360
  //#endregion
361
361
  //#region node_modules/d3-selection/src/selection/classed.js
362
- function L(e) {
362
+ function W(e) {
363
363
  return e.trim().split(/^|\s+/);
364
364
  }
365
- function R(e) {
366
- return e.classList || new z(e);
365
+ function G(e) {
366
+ return e.classList || new K(e);
367
367
  }
368
- function z(e) {
369
- this._node = e, this._names = L(e.getAttribute("class") || "");
368
+ function K(e) {
369
+ this._node = e, this._names = W(e.getAttribute("class") || "");
370
370
  }
371
- z.prototype = {
371
+ K.prototype = {
372
372
  add: function(e) {
373
373
  this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
374
374
  },
@@ -380,92 +380,92 @@ z.prototype = {
380
380
  return this._names.indexOf(e) >= 0;
381
381
  }
382
382
  };
383
- function B(e, t) {
384
- for (var n = R(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
383
+ function q(e, t) {
384
+ for (var n = G(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
385
385
  }
386
- function V(e, t) {
387
- for (var n = R(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
386
+ function J(e, t) {
387
+ for (var n = G(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
388
388
  }
389
- function Te(e) {
389
+ function ve(e) {
390
390
  return function() {
391
- B(this, e);
391
+ q(this, e);
392
392
  };
393
393
  }
394
- function Ee(e) {
394
+ function ye(e) {
395
395
  return function() {
396
- V(this, e);
396
+ J(this, e);
397
397
  };
398
398
  }
399
- function De(e, t) {
399
+ function be(e, t) {
400
400
  return function() {
401
- (t.apply(this, arguments) ? B : V)(this, e);
401
+ (t.apply(this, arguments) ? q : J)(this, e);
402
402
  };
403
403
  }
404
- function Oe(e, t) {
405
- var n = L(e + "");
404
+ function xe(e, t) {
405
+ var n = W(e + "");
406
406
  if (arguments.length < 2) {
407
- for (var r = R(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
407
+ for (var r = G(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
408
408
  return !0;
409
409
  }
410
- return this.each((typeof t == "function" ? De : t ? Te : Ee)(n, t));
410
+ return this.each((typeof t == "function" ? be : t ? ve : ye)(n, t));
411
411
  }
412
412
  //#endregion
413
413
  //#region node_modules/d3-selection/src/selection/text.js
414
- function ke() {
414
+ function Se() {
415
415
  this.textContent = "";
416
416
  }
417
- function Ae(e) {
417
+ function Ce(e) {
418
418
  return function() {
419
419
  this.textContent = e;
420
420
  };
421
421
  }
422
- function je(e) {
422
+ function we(e) {
423
423
  return function() {
424
424
  var t = e.apply(this, arguments);
425
425
  this.textContent = t ?? "";
426
426
  };
427
427
  }
428
- function Me(e) {
429
- return arguments.length ? this.each(e == null ? ke : (typeof e == "function" ? je : Ae)(e)) : this.node().textContent;
428
+ function Te(e) {
429
+ return arguments.length ? this.each(e == null ? Se : (typeof e == "function" ? we : Ce)(e)) : this.node().textContent;
430
430
  }
431
431
  //#endregion
432
432
  //#region node_modules/d3-selection/src/selection/html.js
433
- function Ne() {
433
+ function Ee() {
434
434
  this.innerHTML = "";
435
435
  }
436
- function Pe(e) {
436
+ function De(e) {
437
437
  return function() {
438
438
  this.innerHTML = e;
439
439
  };
440
440
  }
441
- function Fe(e) {
441
+ function Oe(e) {
442
442
  return function() {
443
443
  var t = e.apply(this, arguments);
444
444
  this.innerHTML = t ?? "";
445
445
  };
446
446
  }
447
- function Ie(e) {
448
- return arguments.length ? this.each(e == null ? Ne : (typeof e == "function" ? Fe : Pe)(e)) : this.node().innerHTML;
447
+ function ke(e) {
448
+ return arguments.length ? this.each(e == null ? Ee : (typeof e == "function" ? Oe : De)(e)) : this.node().innerHTML;
449
449
  }
450
450
  //#endregion
451
451
  //#region node_modules/d3-selection/src/selection/raise.js
452
- function Le() {
452
+ function Ae() {
453
453
  this.nextSibling && this.parentNode.appendChild(this);
454
454
  }
455
- function Re() {
456
- return this.each(Le);
455
+ function je() {
456
+ return this.each(Ae);
457
457
  }
458
458
  //#endregion
459
459
  //#region node_modules/d3-selection/src/selection/lower.js
460
- function ze() {
460
+ function Me() {
461
461
  this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
462
462
  }
463
- function H() {
464
- return this.each(ze);
463
+ function Ne() {
464
+ return this.each(Me);
465
465
  }
466
466
  //#endregion
467
467
  //#region node_modules/d3-selection/src/selection/append.js
468
- function Be(e) {
468
+ function Pe(e) {
469
469
  var t = typeof e == "function" ? e : i(e);
470
470
  return this.select(function() {
471
471
  return this.appendChild(t.apply(this, arguments));
@@ -473,50 +473,50 @@ function Be(e) {
473
473
  }
474
474
  //#endregion
475
475
  //#region node_modules/d3-selection/src/selection/insert.js
476
- function Ve() {
476
+ function Fe() {
477
477
  return null;
478
478
  }
479
- function He(e, t) {
480
- var n = typeof e == "function" ? e : i(e), r = t == null ? Ve : typeof t == "function" ? t : o(t);
479
+ function Ie(e, t) {
480
+ var n = typeof e == "function" ? e : i(e), r = t == null ? Fe : typeof t == "function" ? t : o(t);
481
481
  return this.select(function() {
482
482
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
483
483
  });
484
484
  }
485
485
  //#endregion
486
486
  //#region node_modules/d3-selection/src/selection/remove.js
487
- function Ue() {
487
+ function Le() {
488
488
  var e = this.parentNode;
489
489
  e && e.removeChild(this);
490
490
  }
491
- function We() {
492
- return this.each(Ue);
491
+ function Re() {
492
+ return this.each(Le);
493
493
  }
494
494
  //#endregion
495
495
  //#region node_modules/d3-selection/src/selection/clone.js
496
- function Ge() {
496
+ function ze() {
497
497
  var e = this.cloneNode(!1), t = this.parentNode;
498
498
  return t ? t.insertBefore(e, this.nextSibling) : e;
499
499
  }
500
- function Ke() {
500
+ function Be() {
501
501
  var e = this.cloneNode(!0), t = this.parentNode;
502
502
  return t ? t.insertBefore(e, this.nextSibling) : e;
503
503
  }
504
- function qe(e) {
505
- return this.select(e ? Ke : Ge);
504
+ function Ve(e) {
505
+ return this.select(e ? Be : ze);
506
506
  }
507
507
  //#endregion
508
508
  //#region node_modules/d3-selection/src/selection/datum.js
509
- function Je(e) {
509
+ function He(e) {
510
510
  return arguments.length ? this.property("__data__", e) : this.node().__data__;
511
511
  }
512
512
  //#endregion
513
513
  //#region node_modules/d3-selection/src/selection/on.js
514
- function Ye(e) {
514
+ function Ue(e) {
515
515
  return function(t) {
516
516
  e.call(this, t, this.__data__);
517
517
  };
518
518
  }
519
- function Xe(e) {
519
+ function We(e) {
520
520
  return e.trim().split(/^|\s+/).map(function(e) {
521
521
  var t = "", n = e.indexOf(".");
522
522
  return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
@@ -525,7 +525,7 @@ function Xe(e) {
525
525
  };
526
526
  });
527
527
  }
528
- function Ze(e) {
528
+ function Ge(e) {
529
529
  return function() {
530
530
  var t = this.__on;
531
531
  if (t) {
@@ -534,9 +534,9 @@ function Ze(e) {
534
534
  }
535
535
  };
536
536
  }
537
- function Qe(e, t, n) {
537
+ function Y(e, t, n) {
538
538
  return function() {
539
- var r = this.__on, i, a = Ye(t);
539
+ var r = this.__on, i, a = Ue(t);
540
540
  if (r) {
541
541
  for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
542
542
  this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
@@ -552,8 +552,8 @@ function Qe(e, t, n) {
552
552
  }, r ? r.push(i) : this.__on = [i];
553
553
  };
554
554
  }
555
- function $e(e, t, n) {
556
- var r = Xe(e + ""), i, a = r.length, o;
555
+ function Ke(e, t, n) {
556
+ var r = We(e + ""), i, a = r.length, o;
557
557
  if (arguments.length < 2) {
558
558
  var s = this.node().__on;
559
559
  if (s) {
@@ -561,253 +561,89 @@ function $e(e, t, n) {
561
561
  }
562
562
  return;
563
563
  }
564
- for (s = t ? Qe : Ze, i = 0; i < a; ++i) this.each(s(r[i], t, n));
564
+ for (s = t ? Y : Ge, i = 0; i < a; ++i) this.each(s(r[i], t, n));
565
565
  return this;
566
566
  }
567
567
  //#endregion
568
568
  //#region node_modules/d3-selection/src/selection/dispatch.js
569
- function U(e, t, n) {
570
- var r = N(e), i = r.CustomEvent;
569
+ function X(e, t, n) {
570
+ var r = B(e), i = r.CustomEvent;
571
571
  typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
572
572
  }
573
- function et(e, t) {
573
+ function qe(e, t) {
574
574
  return function() {
575
- return U(this, e, t);
575
+ return X(this, e, t);
576
576
  };
577
577
  }
578
- function tt(e, t) {
578
+ function Je(e, t) {
579
579
  return function() {
580
- return U(this, e, t.apply(this, arguments));
580
+ return X(this, e, t.apply(this, arguments));
581
581
  };
582
582
  }
583
- function nt(e, t) {
584
- return this.each((typeof t == "function" ? tt : et)(e, t));
583
+ function Ye(e, t) {
584
+ return this.each((typeof t == "function" ? Je : qe)(e, t));
585
585
  }
586
586
  //#endregion
587
587
  //#region node_modules/d3-selection/src/selection/iterator.js
588
- function* rt() {
588
+ function* Xe() {
589
589
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
590
590
  }
591
591
  //#endregion
592
592
  //#region node_modules/d3-selection/src/selection/index.js
593
- var W = [null];
594
- function G(e, t) {
593
+ var Z = [null];
594
+ function Q(e, t) {
595
595
  this._groups = e, this._parents = t;
596
596
  }
597
- function K() {
598
- return new G([[document.documentElement]], W);
597
+ function $() {
598
+ return new Q([[document.documentElement]], Z);
599
599
  }
600
- function it() {
600
+ function Ze() {
601
601
  return this;
602
602
  }
603
- G.prototype = K.prototype = {
604
- constructor: G,
603
+ Q.prototype = $.prototype = {
604
+ constructor: Q,
605
605
  select: s,
606
606
  selectAll: f,
607
607
  selectChild: v,
608
608
  selectChildren: te,
609
- filter: ne,
610
- data: ce,
611
- enter: re,
609
+ filter: x,
610
+ data: se,
611
+ enter: ne,
612
612
  exit: le,
613
613
  join: ue,
614
614
  merge: de,
615
- selection: it,
616
- order: fe,
617
- sort: pe,
618
- call: he,
619
- nodes: ge,
620
- node: _e,
621
- size: ve,
622
- empty: w,
623
- each: T,
624
- attr: M,
625
- style: be,
626
- property: we,
627
- classed: Oe,
628
- text: Me,
629
- html: Ie,
630
- raise: Re,
631
- lower: H,
632
- append: Be,
633
- insert: He,
634
- remove: We,
635
- clone: qe,
636
- datum: Je,
637
- on: $e,
638
- dispatch: nt,
639
- [Symbol.iterator]: rt
615
+ selection: Ze,
616
+ order: w,
617
+ sort: T,
618
+ call: D,
619
+ nodes: O,
620
+ node: k,
621
+ size: A,
622
+ empty: j,
623
+ each: M,
624
+ attr: z,
625
+ style: pe,
626
+ property: _e,
627
+ classed: xe,
628
+ text: Te,
629
+ html: ke,
630
+ raise: je,
631
+ lower: Ne,
632
+ append: Pe,
633
+ insert: Ie,
634
+ remove: Re,
635
+ clone: Ve,
636
+ datum: He,
637
+ on: Ke,
638
+ dispatch: Ye,
639
+ [Symbol.iterator]: Xe
640
640
  };
641
641
  //#endregion
642
642
  //#region node_modules/d3-selection/src/select.js
643
- function at(e) {
644
- return typeof e == "string" ? new G([[document.querySelector(e)]], [document.documentElement]) : new G([[e]], W);
645
- }
646
- //#endregion
647
- //#region node_modules/d3-shape/src/constant.js
648
- function ot(e) {
649
- return function() {
650
- return e;
651
- };
652
- }
653
- //#endregion
654
- //#region node_modules/d3-path/src/path.js
655
- var q = Math.PI, J = 2 * q, Y = 1e-6, st = J - Y;
656
- function X(e) {
657
- this._ += e[0];
658
- for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
659
- }
660
- function ct(e) {
661
- let t = Math.floor(e);
662
- if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
663
- if (t > 15) return X;
664
- let n = 10 ** t;
665
- return function(e) {
666
- this._ += e[0];
667
- for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
668
- };
669
- }
670
- var Z = class {
671
- constructor(e) {
672
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? X : ct(e);
673
- }
674
- moveTo(e, t) {
675
- this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
676
- }
677
- closePath() {
678
- this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);
679
- }
680
- lineTo(e, t) {
681
- this._append`L${this._x1 = +e},${this._y1 = +t}`;
682
- }
683
- quadraticCurveTo(e, t, n, r) {
684
- this._append`Q${+e},${+t},${this._x1 = +n},${this._y1 = +r}`;
685
- }
686
- bezierCurveTo(e, t, n, r, i, a) {
687
- this._append`C${+e},${+t},${+n},${+r},${this._x1 = +i},${this._y1 = +a}`;
688
- }
689
- arcTo(e, t, n, r, i) {
690
- if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
691
- let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
692
- if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
693
- else if (d > Y) if (!(Math.abs(u * s - c * l) > Y) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
694
- else {
695
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((q - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
696
- Math.abs(y - 1) > Y && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
697
- }
698
- }
699
- arc(e, t, n, r, i, a) {
700
- if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
701
- let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
702
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > Y || Math.abs(this._y1 - l) > Y) && this._append`L${c},${l}`, n && (d < 0 && (d = d % J + J), d > st ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > Y && this._append`A${n},${n},0,${+(d >= q)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
703
- }
704
- rect(e, t, n, r) {
705
- this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
706
- }
707
- toString() {
708
- return this._;
709
- }
710
- };
711
- Z.prototype;
712
- function lt(e = 3) {
713
- return new Z(+e);
714
- }
715
- //#endregion
716
- //#region node_modules/d3-shape/src/path.js
717
- function ut(e) {
718
- let t = 3;
719
- return e.digits = function(n) {
720
- if (!arguments.length) return t;
721
- if (n == null) t = null;
722
- else {
723
- let e = Math.floor(n);
724
- if (!(e >= 0)) throw RangeError(`invalid digits: ${n}`);
725
- t = e;
726
- }
727
- return e;
728
- }, () => new Z(t);
729
- }
730
- //#endregion
731
- //#region node_modules/d3-shape/src/array.js
732
- var dt = Array.prototype.slice;
733
- function ft(e) {
734
- return typeof e == "object" && "length" in e ? e : Array.from(e);
735
- }
736
- //#endregion
737
- //#region node_modules/d3-shape/src/curve/linear.js
738
- function Q(e) {
739
- this._context = e;
740
- }
741
- Q.prototype = {
742
- areaStart: function() {
743
- this._line = 0;
744
- },
745
- areaEnd: function() {
746
- this._line = NaN;
747
- },
748
- lineStart: function() {
749
- this._point = 0;
750
- },
751
- lineEnd: function() {
752
- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
753
- },
754
- point: function(e, t) {
755
- switch (e = +e, t = +t, this._point) {
756
- case 0:
757
- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
758
- break;
759
- case 1: this._point = 2;
760
- default: this._context.lineTo(e, t);
761
- }
762
- }
763
- };
764
- function pt(e) {
765
- return new Q(e);
766
- }
767
- //#endregion
768
- //#region node_modules/d3-shape/src/point.js
769
- function mt(e) {
770
- return e[0];
771
- }
772
- function ht(e) {
773
- return e[1];
774
- }
775
- //#endregion
776
- //#region node_modules/d3-shape/src/curve/bump.js
777
- var $ = class {
778
- constructor(e, t) {
779
- this._context = e, this._x = t;
780
- }
781
- areaStart() {
782
- this._line = 0;
783
- }
784
- areaEnd() {
785
- this._line = NaN;
786
- }
787
- lineStart() {
788
- this._point = 0;
789
- }
790
- lineEnd() {
791
- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
792
- }
793
- point(e, t) {
794
- switch (e = +e, t = +t, this._point) {
795
- case 0:
796
- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
797
- break;
798
- case 1: this._point = 2;
799
- 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);
800
- }
801
- this._x0 = e, this._y0 = t;
802
- }
803
- };
804
- function gt(e) {
805
- return new $(e, !0);
806
- }
807
- function _t(e) {
808
- return new $(e, !1);
643
+ function Qe(e) {
644
+ return typeof e == "string" ? new Q([[document.querySelector(e)]], [document.documentElement]) : new Q([[e]], Z);
809
645
  }
810
646
  //#endregion
811
- export { e as S, u as _, pt as a, i as b, ut as c, at as d, G as f, p as g, I as h, ht as i, lt as l, K as m, _t as n, ft as o, W as p, mt as r, dt as s, gt as t, ot as u, c as v, t as x, o as y };
647
+ export { U as a, c, t as d, e as f, $ as i, o as l, Q as n, p as o, Z as r, u as s, Qe as t, i as u };
812
648
 
813
- //# sourceMappingURL=bump-S1d-3Q8P.js.map
649
+ //# sourceMappingURL=select-BIuoFcZG.js.map