@dpuse/dpuse-tool-d3-visualiser 0.0.32 → 0.0.37

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 +658 -244
  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
@@ -169,32 +169,6 @@ function ee(e, t) {
169
169
  return this;
170
170
  }
171
171
  //#endregion
172
- //#region node_modules/d3-scale/src/ordinal.js
173
- var D = Symbol("implicit");
174
- function O() {
175
- var e = new p(), t = [], n = [], r = D;
176
- function i(i) {
177
- let a = e.get(i);
178
- if (a === void 0) {
179
- if (r !== D) return r;
180
- e.set(i, a = t.push(i) - 1);
181
- }
182
- return n[a % n.length];
183
- }
184
- return i.domain = function(n) {
185
- if (!arguments.length) return t.slice();
186
- t = [], e = new p();
187
- for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
188
- return i;
189
- }, i.range = function(e) {
190
- return arguments.length ? (n = Array.from(e), i) : n.slice();
191
- }, i.unknown = function(e) {
192
- return arguments.length ? (r = e, i) : r;
193
- }, i.copy = function() {
194
- return O(t, n).unknown(r);
195
- }, E.apply(i, arguments), i;
196
- }
197
- //#endregion
198
172
  //#region node_modules/d3-interpolate/src/numberArray.js
199
173
  function te(e, t) {
200
174
  t ||= [];
@@ -220,7 +194,7 @@ function re(e, t) {
220
194
  }
221
195
  //#endregion
222
196
  //#region node_modules/d3-interpolate/src/date.js
223
- function ie(e, t) {
197
+ function D(e, t) {
224
198
  var n = /* @__PURE__ */ new Date();
225
199
  return e = +e, t = +t, function(r) {
226
200
  return n.setTime(e * (1 - r) + t * r), n;
@@ -228,7 +202,7 @@ function ie(e, t) {
228
202
  }
229
203
  //#endregion
230
204
  //#region node_modules/d3-interpolate/src/object.js
231
- function ae(e, t) {
205
+ function O(e, t) {
232
206
  var n = {}, r = {}, i;
233
207
  for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = k(e[i], t[i]) : r[i] = t[i];
234
208
  return function(e) {
@@ -240,7 +214,7 @@ function ae(e, t) {
240
214
  //#region node_modules/d3-interpolate/src/value.js
241
215
  function k(a, o) {
242
216
  var s = typeof o, c;
243
- return o == null || s === "boolean" ? r(o) : (s === "number" ? n : s === "string" ? (c = e(o)) ? (o = c, t) : i : o instanceof e ? t : o instanceof Date ? ie : ne(o) ? te : Array.isArray(o) ? re : typeof o.valueOf != "function" && typeof o.toString != "function" || isNaN(o) ? ae : n)(a, o);
217
+ return o == null || s === "boolean" ? r(o) : (s === "number" ? n : s === "string" ? (c = e(o)) ? (o = c, t) : i : o instanceof e ? t : o instanceof Date ? D : ne(o) ? te : Array.isArray(o) ? re : typeof o.valueOf != "function" && typeof o.toString != "function" || isNaN(o) ? O : n)(a, o);
244
218
  }
245
219
  //#endregion
246
220
  //#region node_modules/d3-interpolate/src/round.js
@@ -251,55 +225,55 @@ function A(e, t) {
251
225
  }
252
226
  //#endregion
253
227
  //#region node_modules/d3-scale/src/constant.js
254
- function oe(e) {
228
+ function j(e) {
255
229
  return function() {
256
230
  return e;
257
231
  };
258
232
  }
259
233
  //#endregion
260
234
  //#region node_modules/d3-scale/src/number.js
261
- function j(e) {
235
+ function M(e) {
262
236
  return +e;
263
237
  }
264
238
  //#endregion
265
239
  //#region node_modules/d3-scale/src/continuous.js
266
- var M = [0, 1];
267
- function N(e) {
240
+ var N = [0, 1];
241
+ function P(e) {
268
242
  return e;
269
243
  }
270
- function P(e, t) {
244
+ function F(e, t) {
271
245
  return (t -= e = +e) ? function(n) {
272
246
  return (n - e) / t;
273
- } : oe(isNaN(t) ? NaN : .5);
247
+ } : j(isNaN(t) ? NaN : .5);
274
248
  }
275
- function se(e, t) {
249
+ function ie(e, t) {
276
250
  var n;
277
251
  return e > t && (n = e, e = t, t = n), function(n) {
278
252
  return Math.max(e, Math.min(t, n));
279
253
  };
280
254
  }
281
- function ce(e, t, n) {
255
+ function ae(e, t, n) {
282
256
  var r = e[0], i = e[1], a = t[0], o = t[1];
283
- return i < r ? (r = P(i, r), a = n(o, a)) : (r = P(r, i), a = n(a, o)), function(e) {
257
+ return i < r ? (r = F(i, r), a = n(o, a)) : (r = F(r, i), a = n(a, o)), function(e) {
284
258
  return a(r(e));
285
259
  };
286
260
  }
287
- function le(e, t, n) {
261
+ function oe(e, t, n) {
288
262
  var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
289
- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = P(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
263
+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = F(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
290
264
  return function(t) {
291
265
  var n = f(e, t, 1, r) - 1;
292
266
  return a[n](i[n](t));
293
267
  };
294
268
  }
295
- function F(e, t) {
269
+ function I(e, t) {
296
270
  return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
297
271
  }
298
- function I() {
299
- var e = M, t = M, r = k, i, a, o, s = N, c, l, u;
272
+ function L() {
273
+ var e = N, t = N, r = k, i, a, o, s = P, c, l, u;
300
274
  function d() {
301
275
  var n = Math.min(e.length, t.length);
302
- return s !== N && (s = se(e[0], e[n - 1])), c = n > 2 ? le : ce, l = u = null, f;
276
+ return s !== P && (s = ie(e[0], e[n - 1])), c = n > 2 ? oe : ae, l = u = null, f;
303
277
  }
304
278
  function f(n) {
305
279
  return n == null || isNaN(n = +n) ? o : (l ||= c(e.map(i), t, r))(i(s(n)));
@@ -307,13 +281,13 @@ function I() {
307
281
  return f.invert = function(r) {
308
282
  return s(a((u ||= c(t, e.map(i), n))(r)));
309
283
  }, f.domain = function(t) {
310
- return arguments.length ? (e = Array.from(t, j), d()) : e.slice();
284
+ return arguments.length ? (e = Array.from(t, M), d()) : e.slice();
311
285
  }, f.range = function(e) {
312
286
  return arguments.length ? (t = Array.from(e), d()) : t.slice();
313
287
  }, f.rangeRound = function(e) {
314
288
  return t = Array.from(e), r = A, d();
315
289
  }, f.clamp = function(e) {
316
- return arguments.length ? (s = e ? !0 : N, d()) : s !== N;
290
+ return arguments.length ? (s = e ? !0 : P, d()) : s !== P;
317
291
  }, f.interpolate = function(e) {
318
292
  return arguments.length ? (r = e, d()) : r;
319
293
  }, f.unknown = function(e) {
@@ -322,27 +296,27 @@ function I() {
322
296
  return i = e, a = t, d();
323
297
  };
324
298
  }
325
- function L() {
326
- return I()(N, N);
299
+ function R() {
300
+ return L()(P, P);
327
301
  }
328
302
  //#endregion
329
303
  //#region node_modules/d3-format/src/formatDecimal.js
330
- function ue(e) {
304
+ function se(e) {
331
305
  return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
332
306
  }
333
- function R(e, t) {
307
+ function z(e, t) {
334
308
  if (!isFinite(e) || e === 0) return null;
335
309
  var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
336
310
  return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
337
311
  }
338
312
  //#endregion
339
313
  //#region node_modules/d3-format/src/exponent.js
340
- function z(e) {
341
- return e = R(Math.abs(e)), e ? e[1] : NaN;
314
+ function B(e) {
315
+ return e = z(Math.abs(e)), e ? e[1] : NaN;
342
316
  }
343
317
  //#endregion
344
318
  //#region node_modules/d3-format/src/formatGroup.js
345
- function de(e, t) {
319
+ function ce(e, t) {
346
320
  return function(n, r) {
347
321
  for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
348
322
  return a.reverse().join(t);
@@ -350,7 +324,7 @@ function de(e, t) {
350
324
  }
351
325
  //#endregion
352
326
  //#region node_modules/d3-format/src/formatNumerals.js
353
- function fe(e) {
327
+ function le(e) {
354
328
  return function(t) {
355
329
  return t.replace(/[0-9]/g, function(t) {
356
330
  return e[+t];
@@ -359,9 +333,9 @@ function fe(e) {
359
333
  }
360
334
  //#endregion
361
335
  //#region node_modules/d3-format/src/formatSpecifier.js
362
- var B = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
336
+ var ue = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
363
337
  function V(e) {
364
- if (!(t = B.exec(e))) throw Error("invalid format: " + e);
338
+ if (!(t = ue.exec(e))) throw Error("invalid format: " + e);
365
339
  var t;
366
340
  return new H({
367
341
  fill: t[1],
@@ -385,7 +359,7 @@ H.prototype.toString = function() {
385
359
  };
386
360
  //#endregion
387
361
  //#region node_modules/d3-format/src/formatTrim.js
388
- function pe(e) {
362
+ function de(e) {
389
363
  out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
390
364
  case ".":
391
365
  r = i = n;
@@ -402,16 +376,16 @@ function pe(e) {
402
376
  //#endregion
403
377
  //#region node_modules/d3-format/src/formatPrefixAuto.js
404
378
  var U;
405
- function me(e, t) {
406
- var n = R(e, t);
379
+ function fe(e, t) {
380
+ var n = z(e, t);
407
381
  if (!n) return U = void 0, e.toPrecision(t);
408
382
  var r = n[0], i = n[1], a = i - (U = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
409
- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + R(e, Math.max(0, t + a - 1))[0];
383
+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + z(e, Math.max(0, t + a - 1))[0];
410
384
  }
411
385
  //#endregion
412
386
  //#region node_modules/d3-format/src/formatRounded.js
413
387
  function W(e, t) {
414
- var n = R(e, t);
388
+ var n = z(e, t);
415
389
  if (!n) return e + "";
416
390
  var r = n[0], i = n[1];
417
391
  return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
@@ -422,14 +396,14 @@ var G = {
422
396
  "%": (e, t) => (e * 100).toFixed(t),
423
397
  b: (e) => Math.round(e).toString(2),
424
398
  c: (e) => e + "",
425
- d: ue,
399
+ d: se,
426
400
  e: (e, t) => e.toExponential(t),
427
401
  f: (e, t) => e.toFixed(t),
428
402
  g: (e, t) => e.toPrecision(t),
429
403
  o: (e) => Math.round(e).toString(8),
430
404
  p: (e, t) => W(e * 100, t),
431
405
  r: W,
432
- s: me,
406
+ s: fe,
433
407
  X: (e) => Math.round(e).toString(16).toUpperCase(),
434
408
  x: (e) => Math.round(e).toString(16)
435
409
  };
@@ -459,8 +433,8 @@ var q = Array.prototype.map, J = [
459
433
  "Z",
460
434
  "Y"
461
435
  ];
462
- function he(e) {
463
- var t = e.grouping === void 0 || e.thousands === void 0 ? K : de(q.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? K : fe(q.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
436
+ function pe(e) {
437
+ var t = e.grouping === void 0 || e.thousands === void 0 ? K : ce(q.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? K : le(q.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
464
438
  function l(e, l) {
465
439
  e = V(e);
466
440
  var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
@@ -473,7 +447,7 @@ function he(e) {
473
447
  else {
474
448
  e = +e;
475
449
  var w = e < 0 || 1 / e < 0;
476
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = pe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && U !== void 0 ? J[8 + U / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
450
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = de(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && U !== void 0 ? J[8 + U / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
477
451
  for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
478
452
  r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
479
453
  break;
@@ -501,7 +475,7 @@ function he(e) {
501
475
  }, w;
502
476
  }
503
477
  function u(e, t) {
504
- var n = Math.max(-8, Math.min(8, Math.floor(z(t) / 3))) * 3, r = 10 ** -n, i = l((e = V(e), e.type = "f", e), { suffix: J[8 + n / 3] });
478
+ var n = Math.max(-8, Math.min(8, Math.floor(B(t) / 3))) * 3, r = 10 ** -n, i = l((e = V(e), e.type = "f", e), { suffix: J[8 + n / 3] });
505
479
  return function(e) {
506
480
  return i(r * e);
507
481
  };
@@ -514,46 +488,46 @@ function he(e) {
514
488
  //#endregion
515
489
  //#region node_modules/d3-format/src/defaultLocale.js
516
490
  var Y, X, Z;
517
- ge({
491
+ me({
518
492
  thousands: ",",
519
493
  grouping: [3],
520
494
  currency: ["$", ""]
521
495
  });
522
- function ge(e) {
523
- return Y = he(e), X = Y.format, Z = Y.formatPrefix, Y;
496
+ function me(e) {
497
+ return Y = pe(e), X = Y.format, Z = Y.formatPrefix, Y;
524
498
  }
525
499
  //#endregion
526
500
  //#region node_modules/d3-format/src/precisionFixed.js
527
- function _e(e) {
528
- return Math.max(0, -z(Math.abs(e)));
501
+ function he(e) {
502
+ return Math.max(0, -B(Math.abs(e)));
529
503
  }
530
504
  //#endregion
531
505
  //#region node_modules/d3-format/src/precisionPrefix.js
532
- function ve(e, t) {
533
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(z(t) / 3))) * 3 - z(Math.abs(e)));
506
+ function ge(e, t) {
507
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(B(t) / 3))) * 3 - B(Math.abs(e)));
534
508
  }
535
509
  //#endregion
536
510
  //#region node_modules/d3-format/src/precisionRound.js
537
- function ye(e, t) {
538
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, z(t) - z(e)) + 1;
511
+ function _e(e, t) {
512
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, B(t) - B(e)) + 1;
539
513
  }
540
514
  //#endregion
541
515
  //#region node_modules/d3-scale/src/tickFormat.js
542
- function be(e, t, n, r) {
516
+ function ve(e, t, n, r) {
543
517
  var i = T(e, t, n), a;
544
518
  switch (r = V(r ?? ",f"), r.type) {
545
519
  case "s":
546
520
  var o = Math.max(Math.abs(e), Math.abs(t));
547
- return r.precision == null && !isNaN(a = ve(i, o)) && (r.precision = a), Z(r, o);
521
+ return r.precision == null && !isNaN(a = ge(i, o)) && (r.precision = a), Z(r, o);
548
522
  case "":
549
523
  case "e":
550
524
  case "g":
551
525
  case "p":
552
526
  case "r":
553
- r.precision == null && !isNaN(a = ye(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
527
+ r.precision == null && !isNaN(a = _e(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
554
528
  break;
555
529
  case "f":
556
- case "%": r.precision == null && !isNaN(a = _e(i)) && (r.precision = a - (r.type === "%") * 2);
530
+ case "%": r.precision == null && !isNaN(a = he(i)) && (r.precision = a - (r.type === "%") * 2);
557
531
  }
558
532
  return X(r);
559
533
  }
@@ -566,7 +540,7 @@ function Q(e) {
566
540
  return C(n[0], n[n.length - 1], e ?? 10);
567
541
  }, e.tickFormat = function(e, n) {
568
542
  var r = t();
569
- return be(r[0], r[r.length - 1], e ?? 10, n);
543
+ return ve(r[0], r[r.length - 1], e ?? 10, n);
570
544
  }, e.nice = function(n) {
571
545
  n ??= 10;
572
546
  var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
@@ -581,12 +555,12 @@ function Q(e) {
581
555
  }, e;
582
556
  }
583
557
  function $() {
584
- var e = L();
558
+ var e = R();
585
559
  return e.copy = function() {
586
- return F(e, $());
560
+ return I(e, $());
587
561
  }, E.apply(e, arguments), Q(e);
588
562
  }
589
563
  //#endregion
590
- export { s as C, u as S, a as T, C as _, L as a, f as b, I as c, k as d, D as f, T as g, E as h, V as i, j as l, ee as m, Q as n, F as o, O as p, X as r, N as s, $ as t, A as u, p as v, o as w, l as x, m as y };
564
+ export { a as C, o as S, m as _, R as a, u as b, L as c, k as d, ee as f, p as g, C as h, V as i, M as l, T as m, Q as n, I as o, E as p, X as r, P as s, $ as t, A as u, f as v, s as x, l as y };
591
565
 
592
- //# sourceMappingURL=linear-D3BD7E1p.js.map
566
+ //# sourceMappingURL=linear-BnhqTvdX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linear-BnhqTvdX.js","names":["number","number","value","value","constant","number","rgb","string","date","numberArray","object","constant","bisect","interpolateValue","interpolateNumber","interpolateRound","formatDecimal","formatRounded","formatPrefixAuto","identity","formatGroup","formatNumerals","formatTypes","formatTrim","exponent","formatLocale","exponent","exponent","exponent","precisionPrefix","precisionRound","precisionFixed"],"sources":["../node_modules/d3-array/src/ascending.js","../node_modules/d3-array/src/descending.js","../node_modules/d3-array/src/bisector.js","../node_modules/d3-array/src/number.js","../node_modules/d3-array/src/bisect.js","../node_modules/internmap/src/index.js","../node_modules/d3-array/src/ticks.js","../node_modules/d3-scale/src/init.js","../node_modules/d3-interpolate/src/numberArray.js","../node_modules/d3-interpolate/src/array.js","../node_modules/d3-interpolate/src/date.js","../node_modules/d3-interpolate/src/object.js","../node_modules/d3-interpolate/src/value.js","../node_modules/d3-interpolate/src/round.js","../node_modules/d3-scale/src/constant.js","../node_modules/d3-scale/src/number.js","../node_modules/d3-scale/src/continuous.js","../node_modules/d3-format/src/formatDecimal.js","../node_modules/d3-format/src/exponent.js","../node_modules/d3-format/src/formatGroup.js","../node_modules/d3-format/src/formatNumerals.js","../node_modules/d3-format/src/formatSpecifier.js","../node_modules/d3-format/src/formatTrim.js","../node_modules/d3-format/src/formatPrefixAuto.js","../node_modules/d3-format/src/formatRounded.js","../node_modules/d3-format/src/formatTypes.js","../node_modules/d3-format/src/identity.js","../node_modules/d3-format/src/locale.js","../node_modules/d3-format/src/defaultLocale.js","../node_modules/d3-format/src/precisionFixed.js","../node_modules/d3-format/src/precisionPrefix.js","../node_modules/d3-format/src/precisionRound.js","../node_modules/d3-scale/src/tickFormat.js","../node_modules/d3-scale/src/linear.js"],"sourcesContent":["export default function ascending(a, b) {\n return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n","export default function descending(a, b) {\n return a == null || b == null ? NaN\n : b < a ? -1\n : b > a ? 1\n : b >= a ? 0\n : NaN;\n}\n","import ascending from \"./ascending.js\";\nimport descending from \"./descending.js\";\n\nexport default function bisector(f) {\n let compare1, compare2, delta;\n\n // If an accessor is specified, promote it to a comparator. In this case we\n // can test whether the search value is (self-) comparable. We can’t do this\n // for a comparator (except for specific, known comparators) because we can’t\n // tell if the comparator is symmetric, and an asymmetric comparator can’t be\n // used to test whether a single value is comparable.\n if (f.length !== 2) {\n compare1 = ascending;\n compare2 = (d, x) => ascending(f(d), x);\n delta = (d, x) => f(d) - x;\n } else {\n compare1 = f === ascending || f === descending ? f : zero;\n compare2 = f;\n delta = f;\n }\n\n function left(a, x, lo = 0, hi = a.length) {\n if (lo < hi) {\n if (compare1(x, x) !== 0) return hi;\n do {\n const mid = (lo + hi) >>> 1;\n if (compare2(a[mid], x) < 0) lo = mid + 1;\n else hi = mid;\n } while (lo < hi);\n }\n return lo;\n }\n\n function right(a, x, lo = 0, hi = a.length) {\n if (lo < hi) {\n if (compare1(x, x) !== 0) return hi;\n do {\n const mid = (lo + hi) >>> 1;\n if (compare2(a[mid], x) <= 0) lo = mid + 1;\n else hi = mid;\n } while (lo < hi);\n }\n return lo;\n }\n\n function center(a, x, lo = 0, hi = a.length) {\n const i = left(a, x, lo, hi - 1);\n return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;\n }\n\n return {left, center, right};\n}\n\nfunction zero() {\n return 0;\n}\n","export default function number(x) {\n return x === null ? NaN : +x;\n}\n\nexport function* numbers(values, valueof) {\n if (valueof === undefined) {\n for (let value of values) {\n if (value != null && (value = +value) >= value) {\n yield value;\n }\n }\n } else {\n let index = -1;\n for (let value of values) {\n if ((value = valueof(value, ++index, values)) != null && (value = +value) >= value) {\n yield value;\n }\n }\n }\n}\n","import ascending from \"./ascending.js\";\nimport bisector from \"./bisector.js\";\nimport number from \"./number.js\";\n\nconst ascendingBisect = bisector(ascending);\nexport const bisectRight = ascendingBisect.right;\nexport const bisectLeft = ascendingBisect.left;\nexport const bisectCenter = bisector(number).center;\nexport default bisectRight;\n","export class InternMap extends Map {\n constructor(entries, key = keyof) {\n super();\n Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}});\n if (entries != null) for (const [key, value] of entries) this.set(key, value);\n }\n get(key) {\n return super.get(intern_get(this, key));\n }\n has(key) {\n return super.has(intern_get(this, key));\n }\n set(key, value) {\n return super.set(intern_set(this, key), value);\n }\n delete(key) {\n return super.delete(intern_delete(this, key));\n }\n}\n\nexport class InternSet extends Set {\n constructor(values, key = keyof) {\n super();\n Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}});\n if (values != null) for (const value of values) this.add(value);\n }\n has(value) {\n return super.has(intern_get(this, value));\n }\n add(value) {\n return super.add(intern_set(this, value));\n }\n delete(value) {\n return super.delete(intern_delete(this, value));\n }\n}\n\nfunction intern_get({_intern, _key}, value) {\n const key = _key(value);\n return _intern.has(key) ? _intern.get(key) : value;\n}\n\nfunction intern_set({_intern, _key}, value) {\n const key = _key(value);\n if (_intern.has(key)) return _intern.get(key);\n _intern.set(key, value);\n return value;\n}\n\nfunction intern_delete({_intern, _key}, value) {\n const key = _key(value);\n if (_intern.has(key)) {\n value = _intern.get(key);\n _intern.delete(key);\n }\n return value;\n}\n\nfunction keyof(value) {\n return value !== null && typeof value === \"object\" ? value.valueOf() : value;\n}\n","const e10 = Math.sqrt(50),\n e5 = Math.sqrt(10),\n e2 = Math.sqrt(2);\n\nfunction tickSpec(start, stop, count) {\n const step = (stop - start) / Math.max(0, count),\n power = Math.floor(Math.log10(step)),\n error = step / Math.pow(10, power),\n factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1;\n let i1, i2, inc;\n if (power < 0) {\n inc = Math.pow(10, -power) / factor;\n i1 = Math.round(start * inc);\n i2 = Math.round(stop * inc);\n if (i1 / inc < start) ++i1;\n if (i2 / inc > stop) --i2;\n inc = -inc;\n } else {\n inc = Math.pow(10, power) * factor;\n i1 = Math.round(start / inc);\n i2 = Math.round(stop / inc);\n if (i1 * inc < start) ++i1;\n if (i2 * inc > stop) --i2;\n }\n if (i2 < i1 && 0.5 <= count && count < 2) return tickSpec(start, stop, count * 2);\n return [i1, i2, inc];\n}\n\nexport default function ticks(start, stop, count) {\n stop = +stop, start = +start, count = +count;\n if (!(count > 0)) return [];\n if (start === stop) return [start];\n const reverse = stop < start, [i1, i2, inc] = reverse ? tickSpec(stop, start, count) : tickSpec(start, stop, count);\n if (!(i2 >= i1)) return [];\n const n = i2 - i1 + 1, ticks = new Array(n);\n if (reverse) {\n if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) / -inc;\n else for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) * inc;\n } else {\n if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) / -inc;\n else for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) * inc;\n }\n return ticks;\n}\n\nexport function tickIncrement(start, stop, count) {\n stop = +stop, start = +start, count = +count;\n return tickSpec(start, stop, count)[2];\n}\n\nexport function tickStep(start, stop, count) {\n stop = +stop, start = +start, count = +count;\n const reverse = stop < start, inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count);\n return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc);\n}\n","export function initRange(domain, range) {\n switch (arguments.length) {\n case 0: break;\n case 1: this.range(domain); break;\n default: this.range(range).domain(domain); break;\n }\n return this;\n}\n\nexport function initInterpolator(domain, interpolator) {\n switch (arguments.length) {\n case 0: break;\n case 1: {\n if (typeof domain === \"function\") this.interpolator(domain);\n else this.range(domain);\n break;\n }\n default: {\n this.domain(domain);\n if (typeof interpolator === \"function\") this.interpolator(interpolator);\n else this.range(interpolator);\n break;\n }\n }\n return this;\n}\n","export default function(a, b) {\n if (!b) b = [];\n var n = a ? Math.min(b.length, a.length) : 0,\n c = b.slice(),\n i;\n return function(t) {\n for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;\n return c;\n };\n}\n\nexport function isNumberArray(x) {\n return ArrayBuffer.isView(x) && !(x instanceof DataView);\n}\n","import value from \"./value.js\";\nimport numberArray, {isNumberArray} from \"./numberArray.js\";\n\nexport default function(a, b) {\n return (isNumberArray(b) ? numberArray : genericArray)(a, b);\n}\n\nexport function genericArray(a, b) {\n var nb = b ? b.length : 0,\n na = a ? Math.min(nb, a.length) : 0,\n x = new Array(na),\n c = new Array(nb),\n i;\n\n for (i = 0; i < na; ++i) x[i] = value(a[i], b[i]);\n for (; i < nb; ++i) c[i] = b[i];\n\n return function(t) {\n for (i = 0; i < na; ++i) c[i] = x[i](t);\n return c;\n };\n}\n","export default function(a, b) {\n var d = new Date;\n return a = +a, b = +b, function(t) {\n return d.setTime(a * (1 - t) + b * t), d;\n };\n}\n","import value from \"./value.js\";\n\nexport default function(a, b) {\n var i = {},\n c = {},\n k;\n\n if (a === null || typeof a !== \"object\") a = {};\n if (b === null || typeof b !== \"object\") b = {};\n\n for (k in b) {\n if (k in a) {\n i[k] = value(a[k], b[k]);\n } else {\n c[k] = b[k];\n }\n }\n\n return function(t) {\n for (k in i) c[k] = i[k](t);\n return c;\n };\n}\n","import {color} from \"d3-color\";\nimport rgb from \"./rgb.js\";\nimport {genericArray} from \"./array.js\";\nimport date from \"./date.js\";\nimport number from \"./number.js\";\nimport object from \"./object.js\";\nimport string from \"./string.js\";\nimport constant from \"./constant.js\";\nimport numberArray, {isNumberArray} from \"./numberArray.js\";\n\nexport default function(a, b) {\n var t = typeof b, c;\n return b == null || t === \"boolean\" ? constant(b)\n : (t === \"number\" ? number\n : t === \"string\" ? ((c = color(b)) ? (b = c, rgb) : string)\n : b instanceof color ? rgb\n : b instanceof Date ? date\n : isNumberArray(b) ? numberArray\n : Array.isArray(b) ? genericArray\n : typeof b.valueOf !== \"function\" && typeof b.toString !== \"function\" || isNaN(b) ? object\n : number)(a, b);\n}\n","export default function(a, b) {\n return a = +a, b = +b, function(t) {\n return Math.round(a * (1 - t) + b * t);\n };\n}\n","export default function constants(x) {\n return function() {\n return x;\n };\n}\n","export default function number(x) {\n return +x;\n}\n","import {bisect} from \"d3-array\";\nimport {interpolate as interpolateValue, interpolateNumber, interpolateRound} from \"d3-interpolate\";\nimport constant from \"./constant.js\";\nimport number from \"./number.js\";\n\nvar unit = [0, 1];\n\nexport function identity(x) {\n return x;\n}\n\nfunction normalize(a, b) {\n return (b -= (a = +a))\n ? function(x) { return (x - a) / b; }\n : constant(isNaN(b) ? NaN : 0.5);\n}\n\nfunction clamper(a, b) {\n var t;\n if (a > b) t = a, a = b, b = t;\n return function(x) { return Math.max(a, Math.min(b, x)); };\n}\n\n// normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].\n// interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b].\nfunction bimap(domain, range, interpolate) {\n var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1];\n if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);\n else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);\n return function(x) { return r0(d0(x)); };\n}\n\nfunction polymap(domain, range, interpolate) {\n var j = Math.min(domain.length, range.length) - 1,\n d = new Array(j),\n r = new Array(j),\n i = -1;\n\n // Reverse descending domains.\n if (domain[j] < domain[0]) {\n domain = domain.slice().reverse();\n range = range.slice().reverse();\n }\n\n while (++i < j) {\n d[i] = normalize(domain[i], domain[i + 1]);\n r[i] = interpolate(range[i], range[i + 1]);\n }\n\n return function(x) {\n var i = bisect(domain, x, 1, j) - 1;\n return r[i](d[i](x));\n };\n}\n\nexport function copy(source, target) {\n return target\n .domain(source.domain())\n .range(source.range())\n .interpolate(source.interpolate())\n .clamp(source.clamp())\n .unknown(source.unknown());\n}\n\nexport function transformer() {\n var domain = unit,\n range = unit,\n interpolate = interpolateValue,\n transform,\n untransform,\n unknown,\n clamp = identity,\n piecewise,\n output,\n input;\n\n function rescale() {\n var n = Math.min(domain.length, range.length);\n if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]);\n piecewise = n > 2 ? polymap : bimap;\n output = input = null;\n return scale;\n }\n\n function scale(x) {\n return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));\n }\n\n scale.invert = function(y) {\n return clamp(untransform((input || (input = piecewise(range, domain.map(transform), interpolateNumber)))(y)));\n };\n\n scale.domain = function(_) {\n return arguments.length ? (domain = Array.from(_, number), rescale()) : domain.slice();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = Array.from(_), rescale()) : range.slice();\n };\n\n scale.rangeRound = function(_) {\n return range = Array.from(_), interpolate = interpolateRound, rescale();\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity;\n };\n\n scale.interpolate = function(_) {\n return arguments.length ? (interpolate = _, rescale()) : interpolate;\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n return function(t, u) {\n transform = t, untransform = u;\n return rescale();\n };\n}\n\nexport default function continuous() {\n return transformer()(identity, identity);\n}\n","export default function(x) {\n return Math.abs(x = Math.round(x)) >= 1e21\n ? x.toLocaleString(\"en\").replace(/,/g, \"\")\n : x.toString(10);\n}\n\n// Computes the decimal coefficient and exponent of the specified number x with\n// significant digits p, where x is positive and p is in [1, 21] or undefined.\n// For example, formatDecimalParts(1.23) returns [\"123\", 0].\nexport function formatDecimalParts(x, p) {\n if (!isFinite(x) || x === 0) return null; // NaN, ±Infinity, ±0\n var i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf(\"e\"), coefficient = x.slice(0, i);\n\n // The string returned by toExponential either has the form \\d\\.\\d+e[-+]\\d+\n // (e.g., 1.2e+3) or the form \\de[-+]\\d+ (e.g., 1e+3).\n return [\n coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient,\n +x.slice(i + 1)\n ];\n}\n","import {formatDecimalParts} from \"./formatDecimal.js\";\n\nexport default function(x) {\n return x = formatDecimalParts(Math.abs(x)), x ? x[1] : NaN;\n}\n","export default function(grouping, thousands) {\n return function(value, width) {\n var i = value.length,\n t = [],\n j = 0,\n g = grouping[0],\n length = 0;\n\n while (i > 0 && g > 0) {\n if (length + g + 1 > width) g = Math.max(1, width - length);\n t.push(value.substring(i -= g, i + g));\n if ((length += g + 1) > width) break;\n g = grouping[j = (j + 1) % grouping.length];\n }\n\n return t.reverse().join(thousands);\n };\n}\n","export default function(numerals) {\n return function(value) {\n return value.replace(/[0-9]/g, function(i) {\n return numerals[+i];\n });\n };\n}\n","// [[fill]align][sign][symbol][0][width][,][.precision][~][type]\nvar re = /^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;\n\nexport default function formatSpecifier(specifier) {\n if (!(match = re.exec(specifier))) throw new Error(\"invalid format: \" + specifier);\n var match;\n return new FormatSpecifier({\n fill: match[1],\n align: match[2],\n sign: match[3],\n symbol: match[4],\n zero: match[5],\n width: match[6],\n comma: match[7],\n precision: match[8] && match[8].slice(1),\n trim: match[9],\n type: match[10]\n });\n}\n\nformatSpecifier.prototype = FormatSpecifier.prototype; // instanceof\n\nexport function FormatSpecifier(specifier) {\n this.fill = specifier.fill === undefined ? \" \" : specifier.fill + \"\";\n this.align = specifier.align === undefined ? \">\" : specifier.align + \"\";\n this.sign = specifier.sign === undefined ? \"-\" : specifier.sign + \"\";\n this.symbol = specifier.symbol === undefined ? \"\" : specifier.symbol + \"\";\n this.zero = !!specifier.zero;\n this.width = specifier.width === undefined ? undefined : +specifier.width;\n this.comma = !!specifier.comma;\n this.precision = specifier.precision === undefined ? undefined : +specifier.precision;\n this.trim = !!specifier.trim;\n this.type = specifier.type === undefined ? \"\" : specifier.type + \"\";\n}\n\nFormatSpecifier.prototype.toString = function() {\n return this.fill\n + this.align\n + this.sign\n + this.symbol\n + (this.zero ? \"0\" : \"\")\n + (this.width === undefined ? \"\" : Math.max(1, this.width | 0))\n + (this.comma ? \",\" : \"\")\n + (this.precision === undefined ? \"\" : \".\" + Math.max(0, this.precision | 0))\n + (this.trim ? \"~\" : \"\")\n + this.type;\n};\n","// Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.\nexport default function(s) {\n out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {\n switch (s[i]) {\n case \".\": i0 = i1 = i; break;\n case \"0\": if (i0 === 0) i0 = i; i1 = i; break;\n default: if (!+s[i]) break out; if (i0 > 0) i0 = 0; break;\n }\n }\n return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;\n}\n","import {formatDecimalParts} from \"./formatDecimal.js\";\n\nexport var prefixExponent;\n\nexport default function(x, p) {\n var d = formatDecimalParts(x, p);\n if (!d) return prefixExponent = undefined, x.toPrecision(p);\n var coefficient = d[0],\n exponent = d[1],\n i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,\n n = coefficient.length;\n return i === n ? coefficient\n : i > n ? coefficient + new Array(i - n + 1).join(\"0\")\n : i > 0 ? coefficient.slice(0, i) + \".\" + coefficient.slice(i)\n : \"0.\" + new Array(1 - i).join(\"0\") + formatDecimalParts(x, Math.max(0, p + i - 1))[0]; // less than 1y!\n}\n","import {formatDecimalParts} from \"./formatDecimal.js\";\n\nexport default function(x, p) {\n var d = formatDecimalParts(x, p);\n if (!d) return x + \"\";\n var coefficient = d[0],\n exponent = d[1];\n return exponent < 0 ? \"0.\" + new Array(-exponent).join(\"0\") + coefficient\n : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + \".\" + coefficient.slice(exponent + 1)\n : coefficient + new Array(exponent - coefficient.length + 2).join(\"0\");\n}\n","import formatDecimal from \"./formatDecimal.js\";\nimport formatPrefixAuto from \"./formatPrefixAuto.js\";\nimport formatRounded from \"./formatRounded.js\";\n\nexport default {\n \"%\": (x, p) => (x * 100).toFixed(p),\n \"b\": (x) => Math.round(x).toString(2),\n \"c\": (x) => x + \"\",\n \"d\": formatDecimal,\n \"e\": (x, p) => x.toExponential(p),\n \"f\": (x, p) => x.toFixed(p),\n \"g\": (x, p) => x.toPrecision(p),\n \"o\": (x) => Math.round(x).toString(8),\n \"p\": (x, p) => formatRounded(x * 100, p),\n \"r\": formatRounded,\n \"s\": formatPrefixAuto,\n \"X\": (x) => Math.round(x).toString(16).toUpperCase(),\n \"x\": (x) => Math.round(x).toString(16)\n};\n","export default function(x) {\n return x;\n}\n","import exponent from \"./exponent.js\";\nimport formatGroup from \"./formatGroup.js\";\nimport formatNumerals from \"./formatNumerals.js\";\nimport formatSpecifier from \"./formatSpecifier.js\";\nimport formatTrim from \"./formatTrim.js\";\nimport formatTypes from \"./formatTypes.js\";\nimport {prefixExponent} from \"./formatPrefixAuto.js\";\nimport identity from \"./identity.js\";\n\nvar map = Array.prototype.map,\n prefixes = [\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"µ\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];\n\nexport default function(locale) {\n var group = locale.grouping === undefined || locale.thousands === undefined ? identity : formatGroup(map.call(locale.grouping, Number), locale.thousands + \"\"),\n currencyPrefix = locale.currency === undefined ? \"\" : locale.currency[0] + \"\",\n currencySuffix = locale.currency === undefined ? \"\" : locale.currency[1] + \"\",\n decimal = locale.decimal === undefined ? \".\" : locale.decimal + \"\",\n numerals = locale.numerals === undefined ? identity : formatNumerals(map.call(locale.numerals, String)),\n percent = locale.percent === undefined ? \"%\" : locale.percent + \"\",\n minus = locale.minus === undefined ? \"−\" : locale.minus + \"\",\n nan = locale.nan === undefined ? \"NaN\" : locale.nan + \"\";\n\n function newFormat(specifier, options) {\n specifier = formatSpecifier(specifier);\n\n var fill = specifier.fill,\n align = specifier.align,\n sign = specifier.sign,\n symbol = specifier.symbol,\n zero = specifier.zero,\n width = specifier.width,\n comma = specifier.comma,\n precision = specifier.precision,\n trim = specifier.trim,\n type = specifier.type;\n\n // The \"n\" type is an alias for \",g\".\n if (type === \"n\") comma = true, type = \"g\";\n\n // The \"\" type, and any invalid type, is an alias for \".12~g\".\n else if (!formatTypes[type]) precision === undefined && (precision = 12), trim = true, type = \"g\";\n\n // If zero fill is specified, padding goes after sign and before digits.\n if (zero || (fill === \"0\" && align === \"=\")) zero = true, fill = \"0\", align = \"=\";\n\n // Compute the prefix and suffix.\n // For SI-prefix, the suffix is lazily computed.\n var prefix = (options && options.prefix !== undefined ? options.prefix : \"\") + (symbol === \"$\" ? currencyPrefix : symbol === \"#\" && /[boxX]/.test(type) ? \"0\" + type.toLowerCase() : \"\"),\n suffix = (symbol === \"$\" ? currencySuffix : /[%p]/.test(type) ? percent : \"\") + (options && options.suffix !== undefined ? options.suffix : \"\");\n\n // What format function should we use?\n // Is this an integer type?\n // Can this type generate exponential notation?\n var formatType = formatTypes[type],\n maybeSuffix = /[defgprs%]/.test(type);\n\n // Set the default precision if not specified,\n // or clamp the specified precision to the supported range.\n // For significant precision, it must be in [1, 21].\n // For fixed precision, it must be in [0, 20].\n precision = precision === undefined ? 6\n : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision))\n : Math.max(0, Math.min(20, precision));\n\n function format(value) {\n var valuePrefix = prefix,\n valueSuffix = suffix,\n i, n, c;\n\n if (type === \"c\") {\n valueSuffix = formatType(value) + valueSuffix;\n value = \"\";\n } else {\n value = +value;\n\n // Determine the sign. -0 is not less than 0, but 1 / -0 is!\n var valueNegative = value < 0 || 1 / value < 0;\n\n // Perform the initial formatting.\n value = isNaN(value) ? nan : formatType(Math.abs(value), precision);\n\n // Trim insignificant zeros.\n if (trim) value = formatTrim(value);\n\n // If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign.\n if (valueNegative && +value === 0 && sign !== \"+\") valueNegative = false;\n\n // Compute the prefix and suffix.\n valuePrefix = (valueNegative ? (sign === \"(\" ? sign : minus) : sign === \"-\" || sign === \"(\" ? \"\" : sign) + valuePrefix;\n valueSuffix = (type === \"s\" && !isNaN(value) && prefixExponent !== undefined ? prefixes[8 + prefixExponent / 3] : \"\") + valueSuffix + (valueNegative && sign === \"(\" ? \")\" : \"\");\n\n // Break the formatted value into the integer “value” part that can be\n // grouped, and fractional or exponential “suffix” part that is not.\n if (maybeSuffix) {\n i = -1, n = value.length;\n while (++i < n) {\n if (c = value.charCodeAt(i), 48 > c || c > 57) {\n valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;\n value = value.slice(0, i);\n break;\n }\n }\n }\n }\n\n // If the fill character is not \"0\", grouping is applied before padding.\n if (comma && !zero) value = group(value, Infinity);\n\n // Compute the padding.\n var length = valuePrefix.length + value.length + valueSuffix.length,\n padding = length < width ? new Array(width - length + 1).join(fill) : \"\";\n\n // If the fill character is \"0\", grouping is applied after padding.\n if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = \"\";\n\n // Reconstruct the final output based on the desired alignment.\n switch (align) {\n case \"<\": value = valuePrefix + value + valueSuffix + padding; break;\n case \"=\": value = valuePrefix + padding + value + valueSuffix; break;\n case \"^\": value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length); break;\n default: value = padding + valuePrefix + value + valueSuffix; break;\n }\n\n return numerals(value);\n }\n\n format.toString = function() {\n return specifier + \"\";\n };\n\n return format;\n }\n\n function formatPrefix(specifier, value) {\n var e = Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3,\n k = Math.pow(10, -e),\n f = newFormat((specifier = formatSpecifier(specifier), specifier.type = \"f\", specifier), {suffix: prefixes[8 + e / 3]});\n return function(value) {\n return f(k * value);\n };\n }\n\n return {\n format: newFormat,\n formatPrefix: formatPrefix\n };\n}\n","import formatLocale from \"./locale.js\";\n\nvar locale;\nexport var format;\nexport var formatPrefix;\n\ndefaultLocale({\n thousands: \",\",\n grouping: [3],\n currency: [\"$\", \"\"]\n});\n\nexport default function defaultLocale(definition) {\n locale = formatLocale(definition);\n format = locale.format;\n formatPrefix = locale.formatPrefix;\n return locale;\n}\n","import exponent from \"./exponent.js\";\n\nexport default function(step) {\n return Math.max(0, -exponent(Math.abs(step)));\n}\n","import exponent from \"./exponent.js\";\n\nexport default function(step, value) {\n return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));\n}\n","import exponent from \"./exponent.js\";\n\nexport default function(step, max) {\n step = Math.abs(step), max = Math.abs(max) - step;\n return Math.max(0, exponent(max) - exponent(step)) + 1;\n}\n","import {tickStep} from \"d3-array\";\nimport {format, formatPrefix, formatSpecifier, precisionFixed, precisionPrefix, precisionRound} from \"d3-format\";\n\nexport default function tickFormat(start, stop, count, specifier) {\n var step = tickStep(start, stop, count),\n precision;\n specifier = formatSpecifier(specifier == null ? \",f\" : specifier);\n switch (specifier.type) {\n case \"s\": {\n var value = Math.max(Math.abs(start), Math.abs(stop));\n if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;\n return formatPrefix(specifier, value);\n }\n case \"\":\n case \"e\":\n case \"g\":\n case \"p\":\n case \"r\": {\n if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === \"e\");\n break;\n }\n case \"f\":\n case \"%\": {\n if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === \"%\") * 2;\n break;\n }\n }\n return format(specifier);\n}\n","import {ticks, tickIncrement} from \"d3-array\";\nimport continuous, {copy} from \"./continuous.js\";\nimport {initRange} from \"./init.js\";\nimport tickFormat from \"./tickFormat.js\";\n\nexport function linearish(scale) {\n var domain = scale.domain;\n\n scale.ticks = function(count) {\n var d = domain();\n return ticks(d[0], d[d.length - 1], count == null ? 10 : count);\n };\n\n scale.tickFormat = function(count, specifier) {\n var d = domain();\n return tickFormat(d[0], d[d.length - 1], count == null ? 10 : count, specifier);\n };\n\n scale.nice = function(count) {\n if (count == null) count = 10;\n\n var d = domain();\n var i0 = 0;\n var i1 = d.length - 1;\n var start = d[i0];\n var stop = d[i1];\n var prestep;\n var step;\n var maxIter = 10;\n\n if (stop < start) {\n step = start, start = stop, stop = step;\n step = i0, i0 = i1, i1 = step;\n }\n \n while (maxIter-- > 0) {\n step = tickIncrement(start, stop, count);\n if (step === prestep) {\n d[i0] = start\n d[i1] = stop\n return domain(d);\n } else if (step > 0) {\n start = Math.floor(start / step) * step;\n stop = Math.ceil(stop / step) * step;\n } else if (step < 0) {\n start = Math.ceil(start * step) / step;\n stop = Math.floor(stop * step) / step;\n } else {\n break;\n }\n prestep = step;\n }\n\n return scale;\n };\n\n return scale;\n}\n\nexport default function linear() {\n var scale = continuous();\n\n scale.copy = function() {\n return copy(scale, linear());\n };\n\n initRange.apply(scale, arguments);\n\n return linearish(scale);\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"mappings":";;AAAA,SAAwB,EAAU,GAAG,GAAG;CACtC,OAAO,KAAK,QAAQ,KAAK,OAAO,MAAM,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,IAAI,IAAI;AAC9E;;;ACFA,SAAwB,EAAW,GAAG,GAAG;CACvC,OAAO,KAAK,QAAQ,KAAK,OAAO,MAC5B,IAAI,IAAI,KACR,IAAI,IAAI,IACR,KAAK,IAAI,IACT;AACN;;;ACHA,SAAwB,EAAS,GAAG;CAClC,IAAI,GAAU,GAAU;CAOxB,AAAI,EAAE,WAAW,KAKf,IAAW,MAAM,KAAa,MAAM,IAAa,IAAI,GACrD,IAAW,GACX,IAAQ,MANR,IAAW,GACX,KAAY,GAAG,MAAM,EAAU,EAAE,CAAC,GAAG,CAAC,GACtC,KAAS,GAAG,MAAM,EAAE,CAAC,IAAI;CAO3B,SAAS,EAAK,GAAG,GAAG,IAAK,GAAG,IAAK,EAAE,QAAQ;EACzC,IAAI,IAAK,GAAI;GACX,IAA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EhB,AADA,IAAQ,KAAK,KAAK,IAAQ,CAAI,IAAI,GAClC,IAAO,KAAK,MAAM,IAAO,CAAI,IAAI;QAEjC;GAEF,IAAU;EACZ;EAEA,OAAO;CACT,GAEO;AACT;AAEA,SAAwB,IAAS;CAC/B,IAAI,IAAQ,EAAW;CAQvB,OANA,EAAM,OAAO,WAAW;EACtB,OAAO,EAAK,GAAO,EAAO,CAAC;CAC7B,GAEA,EAAU,MAAM,GAAO,SAAS,GAEzB,EAAU,CAAK;AACxB"}
@@ -1,30 +1,7 @@
1
1
  import { n as e, r as t } from "./array-Cv4-2llb.js";
2
- import { t as n } from "./path-Bt1sPr2f.js";
3
- //#region node_modules/d3-shape/src/path.js
4
- function r(e) {
5
- let t = 3;
6
- return e.digits = function(n) {
7
- if (!arguments.length) return t;
8
- if (n == null) t = null;
9
- else {
10
- let e = Math.floor(n);
11
- if (!(e >= 0)) throw RangeError(`invalid digits: ${n}`);
12
- t = e;
13
- }
14
- return e;
15
- }, () => new n(t);
16
- }
17
- //#endregion
18
- //#region node_modules/d3-shape/src/point.js
19
- function i(e) {
20
- return e[0];
21
- }
22
- function a(e) {
23
- return e[1];
24
- }
25
- //#endregion
2
+ import { n, r, t as i } from "./point-6cHftmvM.js";
26
3
  //#region node_modules/d3-shape/src/curve/bump.js
27
- var o = class {
4
+ var a = class {
28
5
  constructor(e, t) {
29
6
  this._context = e, this._x = t;
30
7
  }
@@ -51,39 +28,39 @@ var o = class {
51
28
  this._x0 = e, this._y0 = t;
52
29
  }
53
30
  };
54
- function s(e) {
55
- return new o(e, !0);
31
+ function o(e) {
32
+ return new a(e, !0);
56
33
  }
57
34
  //#endregion
58
35
  //#region node_modules/d3-shape/src/link.js
59
- function c(e) {
36
+ function s(e) {
60
37
  return e.source;
61
38
  }
62
- function l(e) {
39
+ function c(e) {
63
40
  return e.target;
64
41
  }
65
- function u(n) {
66
- let o = c, s = l, u = i, d = a, f = null, p = null, m = r(h);
42
+ function l(a) {
43
+ let o = s, l = c, u = i, d = n, f = null, p = null, m = r(h);
67
44
  function h() {
68
- let t, r = e.call(arguments), i = o.apply(this, r), a = s.apply(this, r);
69
- if (f ?? (p = n(t = m())), p.lineStart(), r[0] = i, p.point(+u.apply(this, r), +d.apply(this, r)), r[0] = a, p.point(+u.apply(this, r), +d.apply(this, r)), p.lineEnd(), t) return p = null, t + "" || null;
45
+ let t, n = e.call(arguments), r = o.apply(this, n), i = l.apply(this, n);
46
+ if (f ?? (p = a(t = m())), p.lineStart(), n[0] = r, p.point(+u.apply(this, n), +d.apply(this, n)), n[0] = i, p.point(+u.apply(this, n), +d.apply(this, n)), p.lineEnd(), t) return p = null, t + "" || null;
70
47
  }
71
48
  return h.source = function(e) {
72
49
  return arguments.length ? (o = e, h) : o;
73
50
  }, h.target = function(e) {
74
- return arguments.length ? (s = e, h) : s;
51
+ return arguments.length ? (l = e, h) : l;
75
52
  }, h.x = function(e) {
76
53
  return arguments.length ? (u = typeof e == "function" ? e : t(+e), h) : u;
77
54
  }, h.y = function(e) {
78
55
  return arguments.length ? (d = typeof e == "function" ? e : t(+e), h) : d;
79
56
  }, h.context = function(e) {
80
- return arguments.length ? (e == null ? f = p = null : p = n(f = e), h) : f;
57
+ return arguments.length ? (e == null ? f = p = null : p = a(f = e), h) : f;
81
58
  }, h;
82
59
  }
83
- function d() {
84
- return u(s);
60
+ function u() {
61
+ return l(o);
85
62
  }
86
63
  //#endregion
87
- export { d as t };
64
+ export { u as t };
88
65
 
89
- //# sourceMappingURL=link-DKK0Q0lG.js.map
66
+ //# sourceMappingURL=link-D-9z7kEr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-D-9z7kEr.js","names":["x","pointX","y","pointY","constant"],"sources":["../node_modules/d3-shape/src/curve/bump.js","../node_modules/d3-shape/src/link.js"],"sourcesContent":["import pointRadial from \"../pointRadial.js\";\n\nclass Bump {\n constructor(context, x) {\n this._context = context;\n this._x = x;\n }\n areaStart() {\n this._line = 0;\n }\n areaEnd() {\n this._line = NaN;\n }\n lineStart() {\n this._point = 0;\n }\n lineEnd() {\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n }\n point(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: {\n this._point = 1;\n if (this._line) this._context.lineTo(x, y);\n else this._context.moveTo(x, y);\n break;\n }\n case 1: this._point = 2; // falls through\n default: {\n if (this._x) this._context.bezierCurveTo(this._x0 = (this._x0 + x) / 2, this._y0, this._x0, y, x, y);\n else this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + y) / 2, x, this._y0, x, y);\n break;\n }\n }\n this._x0 = x, this._y0 = y;\n }\n}\n\nclass BumpRadial {\n constructor(context) {\n this._context = context;\n }\n lineStart() {\n this._point = 0;\n }\n lineEnd() {}\n point(x, y) {\n x = +x, y = +y;\n if (this._point === 0) {\n this._point = 1;\n } else {\n const p0 = pointRadial(this._x0, this._y0);\n const p1 = pointRadial(this._x0, this._y0 = (this._y0 + y) / 2);\n const p2 = pointRadial(x, this._y0);\n const p3 = pointRadial(x, y);\n this._context.moveTo(...p0);\n this._context.bezierCurveTo(...p1, ...p2, ...p3);\n }\n this._x0 = x, this._y0 = y;\n }\n}\n\nexport function bumpX(context) {\n return new Bump(context, true);\n}\n\nexport function bumpY(context) {\n return new Bump(context, false);\n}\n\nexport function bumpRadial(context) {\n return new BumpRadial(context);\n}\n","import {slice} from \"./array.js\";\nimport constant from \"./constant.js\";\nimport {bumpX, bumpY, bumpRadial} from \"./curve/bump.js\";\nimport {withPath} from \"./path.js\";\nimport {x as pointX, y as pointY} from \"./point.js\";\n\nfunction linkSource(d) {\n return d.source;\n}\n\nfunction linkTarget(d) {\n return d.target;\n}\n\nexport function link(curve) {\n let source = linkSource,\n target = linkTarget,\n x = pointX,\n y = pointY,\n context = null,\n output = null,\n path = withPath(link);\n\n function link() {\n let buffer;\n const argv = slice.call(arguments);\n const s = source.apply(this, argv);\n const t = target.apply(this, argv);\n if (context == null) output = curve(buffer = path());\n output.lineStart();\n argv[0] = s, output.point(+x.apply(this, argv), +y.apply(this, argv));\n argv[0] = t, output.point(+x.apply(this, argv), +y.apply(this, argv));\n output.lineEnd();\n if (buffer) return output = null, buffer + \"\" || null;\n }\n\n link.source = function(_) {\n return arguments.length ? (source = _, link) : source;\n };\n\n link.target = function(_) {\n return arguments.length ? (target = _, link) : target;\n };\n\n link.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), link) : x;\n };\n\n link.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), link) : y;\n };\n\n link.context = function(_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), link) : context;\n };\n\n return link;\n}\n\nexport function linkHorizontal() {\n return link(bumpX);\n}\n\nexport function linkVertical() {\n return link(bumpY);\n}\n\nexport function linkRadial() {\n const l = link(bumpRadial);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n}\n"],"x_google_ignoreList":[0,1],"mappings":";;;AAEA,IAAM,IAAN,MAAW;CACT,YAAY,GAAS,GAAG;EAEtB,AADA,KAAK,WAAW,GAChB,KAAK,KAAK;CACZ;CACA,YAAY;EACV,KAAK,QAAQ;CACf;CACA,UAAU;EACR,KAAK,QAAQ;CACf;CACA,YAAY;EACV,KAAK,SAAS;CAChB;CACA,UAAU;EAER,CADI,KAAK,SAAU,KAAK,UAAU,KAAK,KAAK,WAAW,MAAI,KAAK,SAAS,UAAU,GACnF,KAAK,QAAQ,IAAI,KAAK;CACxB;CACA,MAAM,GAAG,GAAG;EAEV,QADA,IAAI,CAAC,GAAG,IAAI,CAAC,GACL,KAAK,QAAb;GACE,KAAK;IAEH,AADA,KAAK,SAAS,GACV,KAAK,QAAO,KAAK,SAAS,OAAO,GAAG,CAAC,IACpC,KAAK,SAAS,OAAO,GAAG,CAAC;IAC9B;GAEF,KAAK,GAAG,KAAK,SAAS;GACtB,SACE,AAAI,KAAK,KAAI,KAAK,SAAS,cAAc,KAA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IAAI,OAAO,KAAM,aAAa,IAAIE,EAAS,CAAC,CAAC,GAAG,KAAQJ;CACrF,GAEA,EAAK,IAAI,SAAS,GAAG;EACnB,OAAO,UAAU,UAAU,IAAI,OAAO,KAAM,aAAa,IAAII,EAAS,CAAC,CAAC,GAAG,KAAQF;CACrF,GAEA,EAAK,UAAU,SAAS,GAAG;EACzB,OAAO,UAAU,UAAU,KAAK,OAAO,IAAU,IAAS,OAAO,IAAS,EAAM,IAAU,CAAC,GAAG,KAAQ;CACxG,GAEO;AACT;AAEA,SAAgB,IAAiB;CAC/B,OAAO,EAAK,CAAK;AACnB"}
@@ -0,0 +1,12 @@
1
+ //#region node_modules/d3-shape/src/math.js
2
+ var e = Math.abs, t = Math.atan2, n = Math.cos, r = Math.max, i = Math.min, a = Math.sin, o = Math.sqrt, s = 1e-12, c = Math.PI, l = c / 2, u = 2 * c;
3
+ function d(e) {
4
+ return e > 1 ? 0 : e < -1 ? c : Math.acos(e);
5
+ }
6
+ function f(e) {
7
+ return e >= 1 ? l : e <= -1 ? -l : Math.asin(e);
8
+ }
9
+ //#endregion
10
+ export { n as a, r as c, a as d, o as f, t as i, i as l, d as n, s as o, u as p, f as r, l as s, e as t, c as u };
11
+
12
+ //# sourceMappingURL=math-C5EhTgJw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"math-C5EhTgJw.js","names":[],"sources":["../node_modules/d3-shape/src/math.js"],"sourcesContent":["export const abs = Math.abs;\nexport const atan2 = Math.atan2;\nexport const cos = Math.cos;\nexport const max = Math.max;\nexport const min = Math.min;\nexport const sin = Math.sin;\nexport const sqrt = Math.sqrt;\n\nexport const epsilon = 1e-12;\nexport const pi = Math.PI;\nexport const halfPi = pi / 2;\nexport const tau = 2 * pi;\n\nexport function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n}\n\nexport function asin(x) {\n return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,IAAM,KAAK,KACX,IAAQ,KAAK,OACb,IAAM,KAAK,KACX,IAAM,KAAK,KACX,IAAM,KAAK,KACX,IAAM,KAAK,KACX,IAAO,KAAK,MAEZ,IAAU,OACV,IAAK,KAAK,IACV,IAAS,IAAK,GACd,IAAM,IAAI;AAEvB,SAAgB,EAAK,GAAG;CACtB,OAAO,IAAI,IAAI,IAAI,IAAI,KAAK,IAAK,KAAK,KAAK,CAAC;AAC9C;AAEA,SAAgB,EAAK,GAAG;CACtB,OAAO,KAAK,IAAI,IAAS,KAAK,KAAK,CAAC,IAAS,KAAK,KAAK,CAAC;AAC1D"}
@@ -0,0 +1,14 @@
1
+ //#region node_modules/d3-array/src/max.js
2
+ function e(e, t) {
3
+ let n;
4
+ if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
5
+ else {
6
+ let r = -1;
7
+ for (let i of e) (i = t(i, ++r, e)) != null && (n < i || n === void 0 && i >= i) && (n = i);
8
+ }
9
+ return n;
10
+ }
11
+ //#endregion
12
+ export { e as t };
13
+
14
+ //# sourceMappingURL=max-CPVNm4tn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"max-CPVNm4tn.js","names":[],"sources":["../node_modules/d3-array/src/max.js"],"sourcesContent":["export default function max(values, valueof) {\n let max;\n if (valueof === undefined) {\n for (const value of values) {\n if (value != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n } else {\n let index = -1;\n for (let value of values) {\n if ((value = valueof(value, ++index, values)) != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n }\n return max;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,EAAI,GAAQ,GAAS;CAC3C,IAAI;CACJ,IAAI,MAAY,KAAA,GACT,KAAA,IAAM,KAAS,GAClB,AAAI,KAAS,SACL,IAAM,KAAU,MAAQ,KAAA,KAAa,KAAS,OACpD,IAAM;MAGL;EACL,IAAI,IAAQ;EACZ,KAAK,IAAI,KAAS,GAChB,CAAK,IAAQ,EAAQ,GAAO,EAAE,GAAO,CAAM,MAAM,SACzC,IAAM,KAAU,MAAQ,KAAA,KAAa,KAAS,OACpD,IAAM;CAGZ;CACA,OAAO;AACT"}