@cccsaurora/clue-ui 1.3.0-dev.324 → 1.3.0-dev.329

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 (99) hide show
  1. package/ActionForm-irs9q3xm.js +6091 -0
  2. package/{AnnotationDetails-BIjjX5GE.js → AnnotationDetails-TaLlFe0h.js} +5 -5
  3. package/{AnnotationPreview-D00sB1EO.js → AnnotationPreview-CC_9H0lC.js} +4 -4
  4. package/{ClueEnrichContext-CZkS1jpb.js → ClueEnrichContext-NZpr831K.js} +24 -16
  5. package/{_MapCache-WmuDdwuH.js → _MapCache-DWYVyFVH.js} +4 -4
  6. package/{_Uint8Array-B7JqpgFX.js → _Uint8Array-BgBspS6l.js} +7 -7
  7. package/{_baseAssignValue-CGTuELqU.js → _baseAssignValue-Dltt6-s5.js} +3 -3
  8. package/{_baseClone-CkNrTyhm.js → _baseClone-BUfES2sT.js} +7 -7
  9. package/{_baseFlatten-jIR_sN_-.js → _baseFlatten-D3wtzJ86.js} +4 -4
  10. package/{_baseGet-Bx3A4Qfp.js → _baseGet-DKnGz1D3.js} +1 -1
  11. package/{_baseIsEqual-C5OTWzTk.js → _baseIsEqual-CTfFNmaR.js} +4 -4
  12. package/{_baseIteratee-avi7MX2o.js → _baseIteratee-C004Z9XE.js} +6 -6
  13. package/{_baseUniq-BI9GIHMF.js → _baseUniq-BqxNeJD9.js} +3 -3
  14. package/_commonjsHelpers-CUmg6egw.js +6 -0
  15. package/{_createAggregator-QD8MzKwe.js → _createAggregator-BDMdCE6g.js} +4 -4
  16. package/{_getPrototype-CU0j_POw.js → _getPrototype-uU2uJIbq.js} +1 -1
  17. package/{_getTag-Ckxxfr88.js → _getTag-DuA1kj2A.js} +13 -13
  18. package/{_isIterateeCall-Ds3sw2SF.js → _isIterateeCall-CEvg7Bo6.js} +3 -3
  19. package/{_setToArray-CaPKQhcz.js → _setToArray-CGeR30xg.js} +1 -1
  20. package/{cloneDeep-DJrLSw8W.js → cloneDeep-C_PzHHQ0.js} +1 -1
  21. package/components/AnnotationBody.js +1 -1
  22. package/components/AnnotationDetailPopover.js +1 -1
  23. package/components/AnnotationDetails.js +6 -6
  24. package/components/AnnotationEntry.js +2 -2
  25. package/components/AnnotationPreview.js +4 -4
  26. package/components/EnrichedCard.js +4 -4
  27. package/components/EnrichedChip.js +4 -4
  28. package/components/EnrichedTypography.js +3 -3
  29. package/components/RetryFailedEnrichments.js +2 -2
  30. package/components/SourcePicker.js +1 -1
  31. package/components/actions/ActionForm.js +4 -4
  32. package/components/actions/ExecutePopover.js +3 -3
  33. package/components/actions/ResultModal.js +3 -3
  34. package/components/actions/form/schemaAdapter.js +2 -2
  35. package/components/actions/formats/FileResult.js +1 -1
  36. package/components/actions/formats/index.js +1 -1
  37. package/components/display/graph/elements/NodeCard.js +5 -5
  38. package/components/display/graph/index.js +4 -4
  39. package/components/display/graph/visualizations/cloud/index.js +3 -3
  40. package/components/display/graph/visualizations/tree/BundleLine.js +1 -1
  41. package/components/display/graph/visualizations/tree/index.js +3 -3
  42. package/components/display/icons/Iconified.js +1 -1
  43. package/components/display/json/index.js +3 -3
  44. package/components/display/markdown/index.js +10 -6
  45. package/components/enrichment/EnrichPopover.js +1 -1
  46. package/components/fetchers/Fetcher.js +4 -4
  47. package/components/fetchers/StatusChip.js +2 -2
  48. package/components/group/Entry.js +2 -2
  49. package/components/group/GroupControl.js +2 -2
  50. package/components/stats/QueryStatus.js +1 -1
  51. package/{countBy-c6S3dvSW.js → countBy-Bkq0mSO-.js} +2 -2
  52. package/database/index.js +2 -2
  53. package/database/replication.js +3 -3
  54. package/{get-DSsNkRQs.js → get-DlGeJ2uz.js} +1 -1
  55. package/{groupBy-xqz-n0Vd.js → groupBy-CXx1vslF.js} +2 -2
  56. package/hooks/ClueActionContext.js +5 -5
  57. package/hooks/ClueComponentContext.js +1 -1
  58. package/hooks/ClueDatabaseContext.js +1 -1
  59. package/hooks/ClueEnrichContext.js +7 -7
  60. package/hooks/ClueEnrichContextType.d.ts +1 -1
  61. package/hooks/ClueFetcherContext.js +2 -2
  62. package/hooks/ClueGroupContext.js +2 -2
  63. package/hooks/CluePopupContext.js +3 -3
  64. package/hooks/ClueProvider.js +3 -3
  65. package/hooks/selectors.js +7 -7
  66. package/hooks/useActionResult.js +3 -3
  67. package/hooks/useAnnotations.js +5 -5
  68. package/hooks/useClue.js +2 -2
  69. package/hooks/useClueActions.js +3 -3
  70. package/hooks/useClueTypeConfig.js +3 -3
  71. package/hooks/useComparator.js +3 -3
  72. package/hooks/useErrors.js +1 -1
  73. package/hooks/useFetcherResult.js +1 -1
  74. package/{iconify-CXMreGTg.js → iconify-DJxl6dC-.js} +7 -0
  75. package/icons/Action.js +5 -5
  76. package/icons/Assessment.js +7 -7
  77. package/icons/Context.js +4 -4
  78. package/icons/Opinion.js +6 -6
  79. package/{index-NaBSmVOx.js → index-C28rIsy3.js} +1 -1
  80. package/{index-CWMtU1OQ.js → index-CIj4pr7O.js} +2 -2
  81. package/{index-DCKkHTvx.js → index-CVUD9o3t.js} +97 -79
  82. package/{index-BfslcSud.js → index-CmQM2DaO.js} +47 -39
  83. package/index-CoosLLQl.js +9308 -0
  84. package/{index-AMfoEg_6.js → index-_gpzM2Px.js} +63 -57
  85. package/main.js +9 -9
  86. package/{maxBy-IKHzFrCS.js → maxBy-a49mqwW9.js} +1 -1
  87. package/package.json +16 -16
  88. package/{replication-BCvfRqsy.js → replication-DvYQDhM_.js} +170 -170
  89. package/{sortBy-DfSj8IoJ.js → sortBy-Tf6pz1tg.js} +7 -7
  90. package/{sumBy-D-hb_NY-.js → sumBy-DZSVfXDE.js} +1 -1
  91. package/text/Frequency.js +1 -1
  92. package/{useClueTypeConfig-DnF4rLsl.js → useClueTypeConfig-CnMg5Ny8.js} +2 -2
  93. package/utils/chain.js +12 -12
  94. package/utils/time.js +545 -517
  95. package/utils/utils.js +4 -4
  96. package/{utils-HmNPuoDB.js → utils-Du3XxQAT.js} +7 -7
  97. package/ActionForm-BvrXSMos.js +0 -5971
  98. package/_commonjsHelpers-DWwsNxpa.js +0 -8
  99. package/index-BXnMCI65.js +0 -9311
@@ -436,7 +436,7 @@ function unique(values) {
436
436
  return values[0];
437
437
  }
438
438
  function nest(values, map2, reduce2, keys) {
439
- return function regroup(values2, i) {
439
+ return (function regroup(values2, i) {
440
440
  if (i >= keys.length) return reduce2(values2);
441
441
  const groups2 = new InternMap();
442
442
  const keyof2 = keys[i++];
@@ -451,7 +451,7 @@ function nest(values, map2, reduce2, keys) {
451
451
  groups2.set(key, regroup(values3, i));
452
452
  }
453
453
  return map2(groups2);
454
- }(values, 0);
454
+ })(values, 0);
455
455
  }
456
456
  function permute(source, keys) {
457
457
  return Array.from(keys, (key) => source[key]);
@@ -491,7 +491,7 @@ function ascendingDefined(a2, b) {
491
491
  return (a2 == null || !(a2 >= a2)) - (b == null || !(b >= b)) || (a2 < b ? -1 : a2 > b ? 1 : 0);
492
492
  }
493
493
  function groupSort(values, reduce2, key) {
494
- return (reduce2.length !== 2 ? sort(rollup(values, reduce2, key), ([ak, av], [bk, bv]) => ascending$3(av, bv) || ascending$3(ak, bk)) : sort(group(values, key), ([ak, av], [bk, bv]) => reduce2(av, bv) || ascending$3(ak, bk))).map(([key2]) => key2);
494
+ return (reduce2.length !== 2 ? sort(rollup(values, reduce2, key), (([ak, av], [bk, bv]) => ascending$3(av, bv) || ascending$3(ak, bk))) : sort(group(values, key), (([ak, av], [bk, bv]) => reduce2(av, bv) || ascending$3(ak, bk)))).map(([key2]) => key2);
495
495
  }
496
496
  var array$5 = Array.prototype;
497
497
  var slice$3 = array$5.slice;
@@ -2214,6 +2214,7 @@ function drag() {
2214
2214
  break;
2215
2215
  case "end":
2216
2216
  delete gestures[identifier], --active2;
2217
+ // falls through
2217
2218
  case "drag":
2218
2219
  p = pointer(touch2 || event2, container2), n = active2;
2219
2220
  break;
@@ -2764,7 +2765,7 @@ function nogamma(a2, b) {
2764
2765
  var d = b - a2;
2765
2766
  return d ? linear$2(a2, d) : constant$8(isNaN(a2) ? b : a2);
2766
2767
  }
2767
- const interpolateRgb = function rgbGamma(y2) {
2768
+ const interpolateRgb = (function rgbGamma(y2) {
2768
2769
  var color2 = gamma$1(y2);
2769
2770
  function rgb$1(start2, end) {
2770
2771
  var r = color2((start2 = rgb(start2)).r, (end = rgb(end)).r), g = color2(start2.g, end.g), b = color2(start2.b, end.b), opacity = nogamma(start2.opacity, end.opacity);
@@ -2778,7 +2779,7 @@ const interpolateRgb = function rgbGamma(y2) {
2778
2779
  }
2779
2780
  rgb$1.gamma = rgbGamma;
2780
2781
  return rgb$1;
2781
- }(1);
2782
+ })(1);
2782
2783
  function rgbSpline(spline) {
2783
2784
  return function(colors2) {
2784
2785
  var n = colors2.length, r = new Array(n), g = new Array(n), b = new Array(n), i, color2;
@@ -3013,7 +3014,7 @@ function sinh(x2) {
3013
3014
  function tanh(x2) {
3014
3015
  return ((x2 = Math.exp(2 * x2)) - 1) / (x2 + 1);
3015
3016
  }
3016
- const interpolateZoom = function zoomRho(rho, rho2, rho4) {
3017
+ const interpolateZoom = (function zoomRho(rho, rho2, rho4) {
3017
3018
  function zoom2(p02, p1) {
3018
3019
  var ux0 = p02[0], uy0 = p02[1], w0 = p02[2], ux1 = p1[0], uy1 = p1[1], w1 = p1[2], dx = ux1 - ux0, dy = uy1 - uy0, d2 = dx * dx + dy * dy, i, S;
3019
3020
  if (d2 < epsilon2$1) {
@@ -3045,7 +3046,7 @@ const interpolateZoom = function zoomRho(rho, rho2, rho4) {
3045
3046
  return zoomRho(_1, _2, _4);
3046
3047
  };
3047
3048
  return zoom2;
3048
- }(Math.SQRT2, 2, 4);
3049
+ })(Math.SQRT2, 2, 4);
3049
3050
  function hsl(hue2) {
3050
3051
  return function(start2, end) {
3051
3052
  var h = hue2((start2 = hsl$1(start2)).h, (end = hsl$1(end)).h), s2 = nogamma(start2.s, end.s), l = nogamma(start2.l, end.l), opacity = nogamma(start2.opacity, end.opacity);
@@ -3085,7 +3086,7 @@ function hcl(hue2) {
3085
3086
  const hcl_default = hcl(hue$1);
3086
3087
  var hclLong = hcl(nogamma);
3087
3088
  function cubehelix$1(hue2) {
3088
- return function cubehelixGamma(y2) {
3089
+ return (function cubehelixGamma(y2) {
3089
3090
  y2 = +y2;
3090
3091
  function cubehelix2(start2, end) {
3091
3092
  var h = hue2((start2 = cubehelix$2(start2)).h, (end = cubehelix$2(end)).h), s2 = nogamma(start2.s, end.s), l = nogamma(start2.l, end.l), opacity = nogamma(start2.opacity, end.opacity);
@@ -3099,7 +3100,7 @@ function cubehelix$1(hue2) {
3099
3100
  }
3100
3101
  cubehelix2.gamma = cubehelixGamma;
3101
3102
  return cubehelix2;
3102
- }(1);
3103
+ })(1);
3103
3104
  }
3104
3105
  const cubehelix_default = cubehelix$1(hue$1);
3105
3106
  var cubehelixLong = cubehelix$1(nogamma);
@@ -3849,30 +3850,30 @@ function cubicInOut(t) {
3849
3850
  return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
3850
3851
  }
3851
3852
  var exponent$1 = 3;
3852
- var polyIn = function custom(e) {
3853
+ var polyIn = (function custom(e) {
3853
3854
  e = +e;
3854
3855
  function polyIn2(t) {
3855
3856
  return Math.pow(t, e);
3856
3857
  }
3857
3858
  polyIn2.exponent = custom;
3858
3859
  return polyIn2;
3859
- }(exponent$1);
3860
- var polyOut = function custom2(e) {
3860
+ })(exponent$1);
3861
+ var polyOut = (function custom2(e) {
3861
3862
  e = +e;
3862
3863
  function polyOut2(t) {
3863
3864
  return 1 - Math.pow(1 - t, e);
3864
3865
  }
3865
3866
  polyOut2.exponent = custom2;
3866
3867
  return polyOut2;
3867
- }(exponent$1);
3868
- var polyInOut = function custom3(e) {
3868
+ })(exponent$1);
3869
+ var polyInOut = (function custom3(e) {
3869
3870
  e = +e;
3870
3871
  function polyInOut2(t) {
3871
3872
  return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;
3872
3873
  }
3873
3874
  polyInOut2.exponent = custom3;
3874
3875
  return polyInOut2;
3875
- }(exponent$1);
3876
+ })(exponent$1);
3876
3877
  var pi$4 = Math.PI, halfPi$3 = pi$4 / 2;
3877
3878
  function sinIn(t) {
3878
3879
  return +t === 1 ? 1 : 1 - Math.cos(t * halfPi$3);
@@ -3915,32 +3916,32 @@ function bounceInOut(t) {
3915
3916
  return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;
3916
3917
  }
3917
3918
  var overshoot = 1.70158;
3918
- var backIn = function custom4(s2) {
3919
+ var backIn = (function custom4(s2) {
3919
3920
  s2 = +s2;
3920
3921
  function backIn2(t) {
3921
3922
  return (t = +t) * t * (s2 * (t - 1) + t);
3922
3923
  }
3923
3924
  backIn2.overshoot = custom4;
3924
3925
  return backIn2;
3925
- }(overshoot);
3926
- var backOut = function custom5(s2) {
3926
+ })(overshoot);
3927
+ var backOut = (function custom5(s2) {
3927
3928
  s2 = +s2;
3928
3929
  function backOut2(t) {
3929
3930
  return --t * t * ((t + 1) * s2 + t) + 1;
3930
3931
  }
3931
3932
  backOut2.overshoot = custom5;
3932
3933
  return backOut2;
3933
- }(overshoot);
3934
- var backInOut = function custom6(s2) {
3934
+ })(overshoot);
3935
+ var backInOut = (function custom6(s2) {
3935
3936
  s2 = +s2;
3936
3937
  function backInOut2(t) {
3937
3938
  return ((t *= 2) < 1 ? t * t * ((s2 + 1) * t - s2) : (t -= 2) * t * ((s2 + 1) * t + s2) + 2) / 2;
3938
3939
  }
3939
3940
  backInOut2.overshoot = custom6;
3940
3941
  return backInOut2;
3941
- }(overshoot);
3942
+ })(overshoot);
3942
3943
  var tau$5 = 2 * Math.PI, amplitude = 1, period = 0.3;
3943
- var elasticIn = function custom7(a2, p) {
3944
+ var elasticIn = (function custom7(a2, p) {
3944
3945
  var s2 = Math.asin(1 / (a2 = Math.max(1, a2))) * (p /= tau$5);
3945
3946
  function elasticIn2(t) {
3946
3947
  return a2 * tpmt(- --t) * Math.sin((s2 - t) / p);
@@ -3952,8 +3953,8 @@ var elasticIn = function custom7(a2, p) {
3952
3953
  return custom7(a2, p2);
3953
3954
  };
3954
3955
  return elasticIn2;
3955
- }(amplitude, period);
3956
- var elasticOut = function custom8(a2, p) {
3956
+ })(amplitude, period);
3957
+ var elasticOut = (function custom8(a2, p) {
3957
3958
  var s2 = Math.asin(1 / (a2 = Math.max(1, a2))) * (p /= tau$5);
3958
3959
  function elasticOut2(t) {
3959
3960
  return 1 - a2 * tpmt(t = +t) * Math.sin((t + s2) / p);
@@ -3965,8 +3966,8 @@ var elasticOut = function custom8(a2, p) {
3965
3966
  return custom8(a2, p2);
3966
3967
  };
3967
3968
  return elasticOut2;
3968
- }(amplitude, period);
3969
- var elasticInOut = function custom9(a2, p) {
3969
+ })(amplitude, period);
3970
+ var elasticInOut = (function custom9(a2, p) {
3970
3971
  var s2 = Math.asin(1 / (a2 = Math.max(1, a2))) * (p /= tau$5);
3971
3972
  function elasticInOut2(t) {
3972
3973
  return ((t = t * 2 - 1) < 0 ? a2 * tpmt(-t) * Math.sin((s2 - t) / p) : 2 - a2 * tpmt(t) * Math.sin((s2 + t) / p)) / 2;
@@ -3978,7 +3979,7 @@ var elasticInOut = function custom9(a2, p) {
3978
3979
  return custom9(a2, p2);
3979
3980
  };
3980
3981
  return elasticInOut2;
3981
- }(amplitude, period);
3982
+ })(amplitude, period);
3982
3983
  var defaultTiming = {
3983
3984
  time: null,
3984
3985
  // Set on use.
@@ -6025,24 +6026,31 @@ class Voronoi {
6025
6026
  case 5:
6026
6027
  e0 = 4;
6027
6028
  continue;
6029
+ // top-left
6028
6030
  case 4:
6029
6031
  e0 = 6, x2 = this.xmax, y2 = this.ymin;
6030
6032
  break;
6033
+ // top
6031
6034
  case 6:
6032
6035
  e0 = 2;
6033
6036
  continue;
6037
+ // top-right
6034
6038
  case 2:
6035
6039
  e0 = 10, x2 = this.xmax, y2 = this.ymax;
6036
6040
  break;
6041
+ // right
6037
6042
  case 10:
6038
6043
  e0 = 8;
6039
6044
  continue;
6045
+ // bottom-right
6040
6046
  case 8:
6041
6047
  e0 = 9, x2 = this.xmin, y2 = this.ymax;
6042
6048
  break;
6049
+ // bottom
6043
6050
  case 9:
6044
6051
  e0 = 1;
6045
6052
  continue;
6053
+ // bottom-left
6046
6054
  case 1:
6047
6055
  e0 = 5, x2 = this.xmin, y2 = this.ymin;
6048
6056
  break;
@@ -10575,7 +10583,7 @@ function squarifyRatio(ratio, parent, x02, y02, x12, y12) {
10575
10583
  }
10576
10584
  return rows;
10577
10585
  }
10578
- const squarify = function custom10(ratio) {
10586
+ const squarify = (function custom10(ratio) {
10579
10587
  function squarify2(parent, x02, y02, x12, y12) {
10580
10588
  squarifyRatio(ratio, parent, x02, y02, x12, y12);
10581
10589
  }
@@ -10583,7 +10591,7 @@ const squarify = function custom10(ratio) {
10583
10591
  return custom10((x2 = +x2) > 1 ? x2 : 1);
10584
10592
  };
10585
10593
  return squarify2;
10586
- }(phi);
10594
+ })(phi);
10587
10595
  function index() {
10588
10596
  var tile = squarify, round = false, dx = 1, dy = 1, paddingStack = [0], paddingInner = constantZero, paddingTop = constantZero, paddingRight = constantZero, paddingBottom = constantZero, paddingLeft = constantZero;
10589
10597
  function treemap(root2) {
@@ -10681,7 +10689,7 @@ function binary(parent, x02, y02, x12, y12) {
10681
10689
  function sliceDice(parent, x02, y02, x12, y12) {
10682
10690
  (parent.depth & 1 ? treemapSlice : treemapDice)(parent, x02, y02, x12, y12);
10683
10691
  }
10684
- const resquarify = function custom11(ratio) {
10692
+ const resquarify = (function custom11(ratio) {
10685
10693
  function resquarify2(parent, x02, y02, x12, y12) {
10686
10694
  if ((rows = parent._squarify) && rows.ratio === ratio) {
10687
10695
  var rows, row, nodes, i, j = -1, n, m2 = rows.length, value = parent.value;
@@ -10701,7 +10709,7 @@ const resquarify = function custom11(ratio) {
10701
10709
  return custom11((x2 = +x2) > 1 ? x2 : 1);
10702
10710
  };
10703
10711
  return resquarify2;
10704
- }(phi);
10712
+ })(phi);
10705
10713
  function area$1(polygon) {
10706
10714
  var i = -1, n = polygon.length, a2, b = polygon[n - 1], area2 = 0;
10707
10715
  while (++i < n) {
@@ -10773,7 +10781,7 @@ function length(polygon) {
10773
10781
  return perimeter;
10774
10782
  }
10775
10783
  const defaultSource = Math.random;
10776
- const uniform = function sourceRandomUniform(source) {
10784
+ const uniform = (function sourceRandomUniform(source) {
10777
10785
  function randomUniform(min2, max2) {
10778
10786
  min2 = min2 == null ? 0 : +min2;
10779
10787
  max2 = max2 == null ? 1 : +max2;
@@ -10785,8 +10793,8 @@ const uniform = function sourceRandomUniform(source) {
10785
10793
  }
10786
10794
  randomUniform.source = sourceRandomUniform;
10787
10795
  return randomUniform;
10788
- }(defaultSource);
10789
- const int = function sourceRandomInt(source) {
10796
+ })(defaultSource);
10797
+ const int = (function sourceRandomInt(source) {
10790
10798
  function randomInt(min2, max2) {
10791
10799
  if (arguments.length < 2) max2 = min2, min2 = 0;
10792
10800
  min2 = Math.floor(min2);
@@ -10797,8 +10805,8 @@ const int = function sourceRandomInt(source) {
10797
10805
  }
10798
10806
  randomInt.source = sourceRandomInt;
10799
10807
  return randomInt;
10800
- }(defaultSource);
10801
- const normal = function sourceRandomNormal(source) {
10808
+ })(defaultSource);
10809
+ const normal = (function sourceRandomNormal(source) {
10802
10810
  function randomNormal(mu, sigma) {
10803
10811
  var x2, r;
10804
10812
  mu = mu == null ? 0 : +mu;
@@ -10816,8 +10824,8 @@ const normal = function sourceRandomNormal(source) {
10816
10824
  }
10817
10825
  randomNormal.source = sourceRandomNormal;
10818
10826
  return randomNormal;
10819
- }(defaultSource);
10820
- const logNormal = function sourceRandomLogNormal(source) {
10827
+ })(defaultSource);
10828
+ const logNormal = (function sourceRandomLogNormal(source) {
10821
10829
  var N = normal.source(source);
10822
10830
  function randomLogNormal() {
10823
10831
  var randomNormal = N.apply(this, arguments);
@@ -10827,8 +10835,8 @@ const logNormal = function sourceRandomLogNormal(source) {
10827
10835
  }
10828
10836
  randomLogNormal.source = sourceRandomLogNormal;
10829
10837
  return randomLogNormal;
10830
- }(defaultSource);
10831
- const irwinHall = function sourceRandomIrwinHall(source) {
10838
+ })(defaultSource);
10839
+ const irwinHall = (function sourceRandomIrwinHall(source) {
10832
10840
  function randomIrwinHall(n) {
10833
10841
  if ((n = +n) <= 0) return () => 0;
10834
10842
  return function() {
@@ -10838,8 +10846,8 @@ const irwinHall = function sourceRandomIrwinHall(source) {
10838
10846
  }
10839
10847
  randomIrwinHall.source = sourceRandomIrwinHall;
10840
10848
  return randomIrwinHall;
10841
- }(defaultSource);
10842
- const bates = function sourceRandomBates(source) {
10849
+ })(defaultSource);
10850
+ const bates = (function sourceRandomBates(source) {
10843
10851
  var I = irwinHall.source(source);
10844
10852
  function randomBates(n) {
10845
10853
  if ((n = +n) === 0) return source;
@@ -10850,8 +10858,8 @@ const bates = function sourceRandomBates(source) {
10850
10858
  }
10851
10859
  randomBates.source = sourceRandomBates;
10852
10860
  return randomBates;
10853
- }(defaultSource);
10854
- const exponential = function sourceRandomExponential(source) {
10861
+ })(defaultSource);
10862
+ const exponential = (function sourceRandomExponential(source) {
10855
10863
  function randomExponential(lambda) {
10856
10864
  return function() {
10857
10865
  return -Math.log1p(-source()) / lambda;
@@ -10859,8 +10867,8 @@ const exponential = function sourceRandomExponential(source) {
10859
10867
  }
10860
10868
  randomExponential.source = sourceRandomExponential;
10861
10869
  return randomExponential;
10862
- }(defaultSource);
10863
- const pareto = function sourceRandomPareto(source) {
10870
+ })(defaultSource);
10871
+ const pareto = (function sourceRandomPareto(source) {
10864
10872
  function randomPareto(alpha) {
10865
10873
  if ((alpha = +alpha) < 0) throw new RangeError("invalid alpha");
10866
10874
  alpha = 1 / -alpha;
@@ -10870,8 +10878,8 @@ const pareto = function sourceRandomPareto(source) {
10870
10878
  }
10871
10879
  randomPareto.source = sourceRandomPareto;
10872
10880
  return randomPareto;
10873
- }(defaultSource);
10874
- const bernoulli = function sourceRandomBernoulli(source) {
10881
+ })(defaultSource);
10882
+ const bernoulli = (function sourceRandomBernoulli(source) {
10875
10883
  function randomBernoulli(p) {
10876
10884
  if ((p = +p) < 0 || p > 1) throw new RangeError("invalid p");
10877
10885
  return function() {
@@ -10880,8 +10888,8 @@ const bernoulli = function sourceRandomBernoulli(source) {
10880
10888
  }
10881
10889
  randomBernoulli.source = sourceRandomBernoulli;
10882
10890
  return randomBernoulli;
10883
- }(defaultSource);
10884
- const geometric = function sourceRandomGeometric(source) {
10891
+ })(defaultSource);
10892
+ const geometric = (function sourceRandomGeometric(source) {
10885
10893
  function randomGeometric(p) {
10886
10894
  if ((p = +p) < 0 || p > 1) throw new RangeError("invalid p");
10887
10895
  if (p === 0) return () => Infinity;
@@ -10893,8 +10901,8 @@ const geometric = function sourceRandomGeometric(source) {
10893
10901
  }
10894
10902
  randomGeometric.source = sourceRandomGeometric;
10895
10903
  return randomGeometric;
10896
- }(defaultSource);
10897
- const gamma = function sourceRandomGamma(source) {
10904
+ })(defaultSource);
10905
+ const gamma = (function sourceRandomGamma(source) {
10898
10906
  var randomNormal = normal.source(source)();
10899
10907
  function randomGamma(k2, theta) {
10900
10908
  if ((k2 = +k2) < 0) throw new RangeError("invalid k");
@@ -10915,8 +10923,8 @@ const gamma = function sourceRandomGamma(source) {
10915
10923
  }
10916
10924
  randomGamma.source = sourceRandomGamma;
10917
10925
  return randomGamma;
10918
- }(defaultSource);
10919
- const beta = function sourceRandomBeta(source) {
10926
+ })(defaultSource);
10927
+ const beta = (function sourceRandomBeta(source) {
10920
10928
  var G = gamma.source(source);
10921
10929
  function randomBeta(alpha, beta2) {
10922
10930
  var X3 = G(alpha), Y3 = G(beta2);
@@ -10927,8 +10935,8 @@ const beta = function sourceRandomBeta(source) {
10927
10935
  }
10928
10936
  randomBeta.source = sourceRandomBeta;
10929
10937
  return randomBeta;
10930
- }(defaultSource);
10931
- const binomial = function sourceRandomBinomial(source) {
10938
+ })(defaultSource);
10939
+ const binomial = (function sourceRandomBinomial(source) {
10932
10940
  var G = geometric.source(source), B2 = beta.source(source);
10933
10941
  function randomBinomial(n, p) {
10934
10942
  n = +n;
@@ -10954,8 +10962,8 @@ const binomial = function sourceRandomBinomial(source) {
10954
10962
  }
10955
10963
  randomBinomial.source = sourceRandomBinomial;
10956
10964
  return randomBinomial;
10957
- }(defaultSource);
10958
- const weibull = function sourceRandomWeibull(source) {
10965
+ })(defaultSource);
10966
+ const weibull = (function sourceRandomWeibull(source) {
10959
10967
  function randomWeibull(k2, a2, b) {
10960
10968
  var outerFunc;
10961
10969
  if ((k2 = +k2) === 0) {
@@ -10972,8 +10980,8 @@ const weibull = function sourceRandomWeibull(source) {
10972
10980
  }
10973
10981
  randomWeibull.source = sourceRandomWeibull;
10974
10982
  return randomWeibull;
10975
- }(defaultSource);
10976
- const cauchy = function sourceRandomCauchy(source) {
10983
+ })(defaultSource);
10984
+ const cauchy = (function sourceRandomCauchy(source) {
10977
10985
  function randomCauchy(a2, b) {
10978
10986
  a2 = a2 == null ? 0 : +a2;
10979
10987
  b = b == null ? 1 : +b;
@@ -10983,8 +10991,8 @@ const cauchy = function sourceRandomCauchy(source) {
10983
10991
  }
10984
10992
  randomCauchy.source = sourceRandomCauchy;
10985
10993
  return randomCauchy;
10986
- }(defaultSource);
10987
- const logistic = function sourceRandomLogistic(source) {
10994
+ })(defaultSource);
10995
+ const logistic = (function sourceRandomLogistic(source) {
10988
10996
  function randomLogistic(a2, b) {
10989
10997
  a2 = a2 == null ? 0 : +a2;
10990
10998
  b = b == null ? 1 : +b;
@@ -10995,8 +11003,8 @@ const logistic = function sourceRandomLogistic(source) {
10995
11003
  }
10996
11004
  randomLogistic.source = sourceRandomLogistic;
10997
11005
  return randomLogistic;
10998
- }(defaultSource);
10999
- const poisson = function sourceRandomPoisson(source) {
11006
+ })(defaultSource);
11007
+ const poisson = (function sourceRandomPoisson(source) {
11000
11008
  var G = gamma.source(source), B2 = binomial.source(source);
11001
11009
  function randomPoisson(lambda) {
11002
11010
  return function() {
@@ -11013,7 +11021,7 @@ const poisson = function sourceRandomPoisson(source) {
11013
11021
  }
11014
11022
  randomPoisson.source = sourceRandomPoisson;
11015
11023
  return randomPoisson;
11016
- }(defaultSource);
11024
+ })(defaultSource);
11017
11025
  const mul = 1664525;
11018
11026
  const inc = 1013904223;
11019
11027
  const eps = 1 / 4294967296;
@@ -13255,6 +13263,7 @@ Linear.prototype = {
13255
13263
  break;
13256
13264
  case 1:
13257
13265
  this._point = 2;
13266
+ // falls through
13258
13267
  default:
13259
13268
  this._context.lineTo(x2, y2);
13260
13269
  break;
@@ -13525,6 +13534,7 @@ class Bump {
13525
13534
  }
13526
13535
  case 1:
13527
13536
  this._point = 2;
13537
+ // falls through
13528
13538
  default: {
13529
13539
  if (this._x) this._context.bezierCurveTo(this._x0 = (this._x0 + x2) / 2, this._y0, this._x0, y2, x2, y2);
13530
13540
  else this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + y2) / 2, x2, this._y0, x2, y2);
@@ -13847,6 +13857,7 @@ Basis.prototype = {
13847
13857
  switch (this._point) {
13848
13858
  case 3:
13849
13859
  point$3(this, this._x1, this._y1);
13860
+ // falls through
13850
13861
  case 2:
13851
13862
  this._context.lineTo(this._x1, this._y1);
13852
13863
  break;
@@ -13867,6 +13878,7 @@ Basis.prototype = {
13867
13878
  case 2:
13868
13879
  this._point = 3;
13869
13880
  this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
13881
+ // falls through
13870
13882
  default:
13871
13883
  point$3(this, x2, y2);
13872
13884
  break;
@@ -13970,6 +13982,7 @@ BasisOpen.prototype = {
13970
13982
  break;
13971
13983
  case 3:
13972
13984
  this._point = 4;
13985
+ // falls through
13973
13986
  default:
13974
13987
  point$3(this, x2, y2);
13975
13988
  break;
@@ -14011,7 +14024,7 @@ Bundle.prototype = {
14011
14024
  this._y.push(+y2);
14012
14025
  }
14013
14026
  };
14014
- const bundle = function custom12(beta2) {
14027
+ const bundle = (function custom12(beta2) {
14015
14028
  function bundle2(context) {
14016
14029
  return beta2 === 1 ? new Basis(context) : new Bundle(context, beta2);
14017
14030
  }
@@ -14019,7 +14032,7 @@ const bundle = function custom12(beta2) {
14019
14032
  return custom12(+beta3);
14020
14033
  };
14021
14034
  return bundle2;
14022
- }(0.85);
14035
+ })(0.85);
14023
14036
  function point$2(that, x2, y2) {
14024
14037
  that._context.bezierCurveTo(
14025
14038
  that._x1 + that._k * (that._x2 - that._x0),
@@ -14070,6 +14083,7 @@ Cardinal.prototype = {
14070
14083
  break;
14071
14084
  case 2:
14072
14085
  this._point = 3;
14086
+ // falls through
14073
14087
  default:
14074
14088
  point$2(this, x2, y2);
14075
14089
  break;
@@ -14078,7 +14092,7 @@ Cardinal.prototype = {
14078
14092
  this._y0 = this._y1, this._y1 = this._y2, this._y2 = y2;
14079
14093
  }
14080
14094
  };
14081
- const cardinal = function custom13(tension) {
14095
+ const cardinal = (function custom13(tension) {
14082
14096
  function cardinal2(context) {
14083
14097
  return new Cardinal(context, tension);
14084
14098
  }
@@ -14086,7 +14100,7 @@ const cardinal = function custom13(tension) {
14086
14100
  return custom13(+tension2);
14087
14101
  };
14088
14102
  return cardinal2;
14089
- }(0);
14103
+ })(0);
14090
14104
  function CardinalClosed(context, tension) {
14091
14105
  this._context = context;
14092
14106
  this._k = (1 - tension) / 6;
@@ -14141,7 +14155,7 @@ CardinalClosed.prototype = {
14141
14155
  this._y0 = this._y1, this._y1 = this._y2, this._y2 = y2;
14142
14156
  }
14143
14157
  };
14144
- const cardinalClosed = function custom14(tension) {
14158
+ const cardinalClosed = (function custom14(tension) {
14145
14159
  function cardinal2(context) {
14146
14160
  return new CardinalClosed(context, tension);
14147
14161
  }
@@ -14149,7 +14163,7 @@ const cardinalClosed = function custom14(tension) {
14149
14163
  return custom14(+tension2);
14150
14164
  };
14151
14165
  return cardinal2;
14152
- }(0);
14166
+ })(0);
14153
14167
  function CardinalOpen(context, tension) {
14154
14168
  this._context = context;
14155
14169
  this._k = (1 - tension) / 6;
@@ -14184,6 +14198,7 @@ CardinalOpen.prototype = {
14184
14198
  break;
14185
14199
  case 3:
14186
14200
  this._point = 4;
14201
+ // falls through
14187
14202
  default:
14188
14203
  point$2(this, x2, y2);
14189
14204
  break;
@@ -14192,7 +14207,7 @@ CardinalOpen.prototype = {
14192
14207
  this._y0 = this._y1, this._y1 = this._y2, this._y2 = y2;
14193
14208
  }
14194
14209
  };
14195
- const cardinalOpen = function custom15(tension) {
14210
+ const cardinalOpen = (function custom15(tension) {
14196
14211
  function cardinal2(context) {
14197
14212
  return new CardinalOpen(context, tension);
14198
14213
  }
@@ -14200,7 +14215,7 @@ const cardinalOpen = function custom15(tension) {
14200
14215
  return custom15(+tension2);
14201
14216
  };
14202
14217
  return cardinal2;
14203
- }(0);
14218
+ })(0);
14204
14219
  function point$1(that, x2, y2) {
14205
14220
  var x12 = that._x1, y12 = that._y1, x22 = that._x2, y22 = that._y2;
14206
14221
  if (that._l01_a > epsilon) {
@@ -14258,6 +14273,7 @@ CatmullRom.prototype = {
14258
14273
  break;
14259
14274
  case 2:
14260
14275
  this._point = 3;
14276
+ // falls through
14261
14277
  default:
14262
14278
  point$1(this, x2, y2);
14263
14279
  break;
@@ -14268,7 +14284,7 @@ CatmullRom.prototype = {
14268
14284
  this._y0 = this._y1, this._y1 = this._y2, this._y2 = y2;
14269
14285
  }
14270
14286
  };
14271
- const catmullRom = function custom16(alpha) {
14287
+ const catmullRom = (function custom16(alpha) {
14272
14288
  function catmullRom2(context) {
14273
14289
  return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);
14274
14290
  }
@@ -14276,7 +14292,7 @@ const catmullRom = function custom16(alpha) {
14276
14292
  return custom16(+alpha2);
14277
14293
  };
14278
14294
  return catmullRom2;
14279
- }(0.5);
14295
+ })(0.5);
14280
14296
  function CatmullRomClosed(context, alpha) {
14281
14297
  this._context = context;
14282
14298
  this._alpha = alpha;
@@ -14337,7 +14353,7 @@ CatmullRomClosed.prototype = {
14337
14353
  this._y0 = this._y1, this._y1 = this._y2, this._y2 = y2;
14338
14354
  }
14339
14355
  };
14340
- const catmullRomClosed = function custom17(alpha) {
14356
+ const catmullRomClosed = (function custom17(alpha) {
14341
14357
  function catmullRom2(context) {
14342
14358
  return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);
14343
14359
  }
@@ -14345,7 +14361,7 @@ const catmullRomClosed = function custom17(alpha) {
14345
14361
  return custom17(+alpha2);
14346
14362
  };
14347
14363
  return catmullRom2;
14348
- }(0.5);
14364
+ })(0.5);
14349
14365
  function CatmullRomOpen(context, alpha) {
14350
14366
  this._context = context;
14351
14367
  this._alpha = alpha;
@@ -14384,6 +14400,7 @@ CatmullRomOpen.prototype = {
14384
14400
  break;
14385
14401
  case 3:
14386
14402
  this._point = 4;
14403
+ // falls through
14387
14404
  default:
14388
14405
  point$1(this, x2, y2);
14389
14406
  break;
@@ -14394,7 +14411,7 @@ CatmullRomOpen.prototype = {
14394
14411
  this._y0 = this._y1, this._y1 = this._y2, this._y2 = y2;
14395
14412
  }
14396
14413
  };
14397
- const catmullRomOpen = function custom18(alpha) {
14414
+ const catmullRomOpen = (function custom18(alpha) {
14398
14415
  function catmullRom2(context) {
14399
14416
  return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);
14400
14417
  }
@@ -14402,7 +14419,7 @@ const catmullRomOpen = function custom18(alpha) {
14402
14419
  return custom18(+alpha2);
14403
14420
  };
14404
14421
  return catmullRom2;
14405
- }(0.5);
14422
+ })(0.5);
14406
14423
  function LinearClosed(context) {
14407
14424
  this._context = context;
14408
14425
  }
@@ -14599,6 +14616,7 @@ Step.prototype = {
14599
14616
  break;
14600
14617
  case 1:
14601
14618
  this._point = 2;
14619
+ // falls through
14602
14620
  default: {
14603
14621
  if (this._t <= 0) {
14604
14622
  this._context.lineTo(this._x, y2);