@hot-updater/console 1.0.0-rc.1 → 1.0.0-rc.2

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 (181) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/HashValueDisplay-CB0Eskit.js +1 -0
  3. package/.output/public/assets/InsightsPageHeader-Car5LNiZ.js +1 -0
  4. package/.output/public/assets/api-keys-BzKocqRy.js +1 -0
  5. package/.output/public/assets/api-keys-api-BHcODB7q.js +1 -0
  6. package/.output/public/assets/card-Dhr_eFYj.js +1 -0
  7. package/.output/public/assets/{chart-no-axes-combined-FaYMGmQS.js → chart-no-axes-combined-Dy4WJv2U.js} +1 -1
  8. package/.output/public/assets/composite-Bp98A0Ld.js +1 -0
  9. package/.output/public/assets/createServerFn-CA8fs7QD.js +3 -0
  10. package/.output/public/assets/dialog-CUTrcPlB.js +1 -0
  11. package/.output/public/assets/dist-C_NydL0e.js +1 -0
  12. package/.output/public/assets/index-DdAz-CXv.js +10 -0
  13. package/.output/public/assets/input-group-cSOG4wh_.js +1 -0
  14. package/.output/public/assets/insights-C0PBSZ-n.js +1 -0
  15. package/.output/public/assets/installations-CE33wgbY.js +2 -0
  16. package/.output/public/assets/installations-CStZja8x.js +1 -0
  17. package/.output/public/assets/lazyRouteComponent-Ccp3bwBY.js +1 -0
  18. package/.output/public/assets/link-CI8idAUi.js +1 -0
  19. package/.output/public/assets/loader-circle-BoxLrsOu.js +1 -0
  20. package/.output/public/assets/{refresh-cw-BkbfZ62O.js → refresh-cw-Bqc72UZG.js} +1 -1
  21. package/.output/public/assets/{routes-BuoI5-Cr.js → routes-DGVXdzpw.js} +2 -2
  22. package/.output/public/assets/routes-DTlwOr8I.js +1 -0
  23. package/.output/public/assets/{shield-check-DE_hVuHu.js → shield-check-uK3MHWJZ.js} +1 -1
  24. package/.output/public/assets/signing-CMf4aqDO.js +1 -0
  25. package/.output/public/assets/styles-BCvbtKsm.css +2 -0
  26. package/.output/public/assets/table-2vcV89QB.js +1 -0
  27. package/.output/public/assets/useCompositeListItem-CHLITE_4.js +1 -0
  28. package/.output/public/assets/x-DCd0j8c6.js +1 -0
  29. package/.output/server/{__23tanstack-start-server-fn-resolver-Dftxlm2E.mjs → __23tanstack-start-server-fn-resolver-B7ioJhtE.mjs} +46 -54
  30. package/.output/server/_libs/@base-ui/react+[...].mjs +283 -2417
  31. package/.output/server/_libs/@tanstack/react-router+[...].mjs +52 -4
  32. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +2 -2
  33. package/.output/server/_libs/lucide-react.mjs +36 -3
  34. package/.output/server/_libs/next-themes.mjs +2 -2
  35. package/.output/server/_libs/sonner.mjs +2 -2
  36. package/.output/server/_libs/tanstack__react-query.mjs +2 -2
  37. package/.output/server/_libs/verkit.mjs +20 -15
  38. package/.output/server/_runtime.mjs +1 -10
  39. package/.output/server/_ssr/HashValueDisplay-DwpGLfrl.mjs +55 -0
  40. package/.output/server/_ssr/InsightsPageHeader-Df4Brj8u.mjs +484 -0
  41. package/.output/server/_ssr/{api-keys-CpBqHpuC.mjs → api-keys-CZeTPQys.mjs} +9 -11
  42. package/.output/server/_ssr/{api-keys-api-Czkp57UV.mjs → api-keys-api-BUPQVSpk.mjs} +2 -2
  43. package/.output/server/_ssr/{api-keys-rpc-BTtMDSoR.mjs → api-keys-rpc-Cs7tS5_j.mjs} +5 -5
  44. package/.output/server/_ssr/{api-rpc-BEX8ISai.mjs → api-rpc-tAupfGQm.mjs} +73 -142
  45. package/.output/server/_ssr/{auth-rpc-BFMEC-TT.mjs → auth-rpc-DUaeOWKK.mjs} +2 -2
  46. package/.output/server/_ssr/{bundle-signing-rpc-BbCFUQSu.mjs → bundle-signing-rpc-BhnBw0-d.mjs} +2 -2
  47. package/.output/server/_ssr/{card-Bsc8mRis.mjs → card-BRiPmi0C.mjs} +25 -3
  48. package/.output/server/_ssr/{config.server-DQYEr_5X.mjs → config.server-afDuAwaG.mjs} +14 -7
  49. package/.output/server/_ssr/{createSsrRpc-DhfrxEjg.mjs → createSsrRpc-DjWNJ0uc.mjs} +6 -6
  50. package/.output/server/_ssr/databaseJsonValue-d6I3nAS4.mjs +45 -0
  51. package/.output/server/_ssr/{databaseRows-QlCYLi0H.mjs → databaseRows-5bCRTxm-.mjs} +4 -44
  52. package/.output/server/_ssr/{deleteBundle-Cu_XOMt0.mjs → deleteBundle-BTGwBgzx.mjs} +2 -2
  53. package/.output/server/_ssr/{dialog-C0vKUp8R.mjs → dialog-DS-nw-pA.mjs} +2 -2
  54. package/.output/server/_ssr/{dist-BVSLTpoP.mjs → dist-CyzPaI5v.mjs} +2 -2
  55. package/.output/server/_ssr/{getBundleChildren-BcRMFoDF.mjs → getBundleChildren-C0vh4ZvE.mjs} +2 -2
  56. package/.output/server/_ssr/input-group-BpsnmvZw.mjs +70 -0
  57. package/.output/server/_ssr/insights-BdS364Xu.mjs +460 -0
  58. package/.output/server/_ssr/insights-rpc-38DujK0G.mjs +57 -0
  59. package/.output/server/_ssr/insightsContract-fjJDBeEE.mjs +303 -0
  60. package/.output/server/_ssr/installations-CtA59MQG.mjs +29 -0
  61. package/.output/server/_ssr/installations-DiVKEF5T.mjs +627 -0
  62. package/.output/server/_ssr/{router-BxBEvtF1.mjs → router-B9wG_9f8.mjs} +23 -32
  63. package/.output/server/_ssr/{routes-BC7rn-tf.mjs → routes-CKrrS2q2.mjs} +3 -3
  64. package/.output/server/_ssr/{routes-CM5KAwpB.mjs → routes-D7Yh_jfj.mjs} +402 -389
  65. package/.output/server/_ssr/runtime.server-DacU1TBV.mjs +438 -0
  66. package/.output/server/_ssr/{server-CpzW--lT.mjs → server-D_C2rMzf.mjs} +5 -5
  67. package/.output/server/_ssr/{signing-jk4HANnl.mjs → signing-Dz1WkZOf.mjs} +5 -6
  68. package/.output/server/_ssr/ssr.mjs +1 -1
  69. package/.output/server/_ssr/{field-DASCh-5d.mjs → table-CnZmon_Z.mjs} +51 -5
  70. package/.output/server/_ssr/{uuidv7-CaKuKXrV.mjs → uuidv7-D0QFkPL_.mjs} +3 -3
  71. package/.output/server/_tanstack-start-manifest_v-2MjTyxil.mjs +97 -0
  72. package/.output/server/index.mjs +164 -178
  73. package/lib/index.d.mts +4 -3
  74. package/lib/vite-internal.mjs +1 -1
  75. package/lib/vite.d.mts +0 -1
  76. package/package.json +8 -8
  77. package/src/components/AppSidebar.tsx +10 -14
  78. package/src/components/ConsoleAccessPage.tsx +1 -1
  79. package/src/components/HashValueDisplay.tsx +11 -2
  80. package/src/components/features/bundles/BundleChildrenPanel.tsx +7 -6
  81. package/src/components/features/bundles/BundleMetadata.tsx +1 -20
  82. package/src/components/features/channels/ChannelManagementDialog.tsx +1 -1
  83. package/src/components/features/insights/EventDetails.tsx +151 -0
  84. package/src/components/features/insights/EventHistoryCard.tsx +245 -0
  85. package/src/components/features/insights/EventHistoryList.tsx +63 -0
  86. package/src/components/features/insights/InsightsBundleReports.tsx +51 -0
  87. package/src/components/features/insights/InsightsControls.tsx +82 -76
  88. package/src/components/features/insights/InsightsErrorAlert.tsx +5 -5
  89. package/src/components/features/insights/InsightsOverview.tsx +156 -161
  90. package/src/components/features/insights/InsightsPageHeader.tsx +48 -0
  91. package/src/components/features/insights/InsightsPagination.tsx +52 -0
  92. package/src/components/features/insights/InstallationHistoryCard.tsx +178 -176
  93. package/src/components/features/insights/InstallationMatchesCard.tsx +111 -65
  94. package/src/components/features/insights/InstallationPageHeader.tsx +57 -105
  95. package/src/components/features/releases/ReleaseEditorSheet.tsx +24 -24
  96. package/src/components/ui/badge.tsx +2 -0
  97. package/src/components/ui/combobox.tsx +1 -0
  98. package/src/components/ui/skeleton.tsx +4 -1
  99. package/src/components/ui/tooltip.tsx +1 -1
  100. package/src/index.ts +7 -2
  101. package/src/lib/api-rpc.ts +19 -90
  102. package/src/lib/api.ts +0 -99
  103. package/src/lib/insights-api.ts +93 -137
  104. package/src/lib/insights-rpc.ts +69 -199
  105. package/src/lib/insights-view.ts +15 -0
  106. package/src/lib/public-bundle-error.ts +19 -0
  107. package/src/lib/server/releaseReachability.ts +1 -4
  108. package/src/lib/server/runtime.server.ts +5 -141
  109. package/src/router.tsx +3 -0
  110. package/src/routes/-installations-search.ts +25 -12
  111. package/src/routes/__root.tsx +6 -16
  112. package/src/routes/index.tsx +21 -81
  113. package/src/routes/insights.tsx +50 -105
  114. package/src/routes/installations.tsx +290 -138
  115. package/src/styles.css +6 -0
  116. package/.output/public/assets/BundleIdDisplay-D4ErdU5_.js +0 -1
  117. package/.output/public/assets/InsightsCapabilityContext-B42VqvP6.js +0 -1
  118. package/.output/public/assets/api-keys-api-DGVTTvTJ.js +0 -1
  119. package/.output/public/assets/api-keys-z16OZIP4.js +0 -1
  120. package/.output/public/assets/badge-Br_KDO0J.js +0 -1
  121. package/.output/public/assets/card-DzuEXvyJ.js +0 -1
  122. package/.output/public/assets/createServerFn-gM2-LFBy.js +0 -3
  123. package/.output/public/assets/dialog-BeAENgez.js +0 -1
  124. package/.output/public/assets/dist-Bssh_cv0.js +0 -1
  125. package/.output/public/assets/field-Buq148-A.js +0 -1
  126. package/.output/public/assets/index-uOpQAIC4.js +0 -10
  127. package/.output/public/assets/input-group-B3p5UpyW.js +0 -1
  128. package/.output/public/assets/insights-DJTr7Ozn.js +0 -1
  129. package/.output/public/assets/insights-api-DVMOoRMS.js +0 -1
  130. package/.output/public/assets/installations-BY64iIAK.js +0 -2
  131. package/.output/public/assets/installations-D5v9i3AL.js +0 -1
  132. package/.output/public/assets/lazyRouteComponent-DKYu5cZJ.js +0 -1
  133. package/.output/public/assets/routes-C8fvgETO.js +0 -1
  134. package/.output/public/assets/search-qsIDvS2I.js +0 -1
  135. package/.output/public/assets/signing-mJD88Y4C.js +0 -1
  136. package/.output/public/assets/styles-BZIG7t42.css +0 -2
  137. package/.output/public/assets/table-RamFEclP.js +0 -1
  138. package/.output/public/assets/useCompositeListItem-ChzDqdpc.js +0 -42
  139. package/.output/public/assets/useMutation-JsGVjQMY.js +0 -1
  140. package/.output/public/assets/useOpenInteractionType-Dwfy-SpA.js +0 -1
  141. package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +0 -1554
  142. package/.output/server/_libs/d3-array.mjs +0 -231
  143. package/.output/server/_libs/d3-color.mjs +0 -330
  144. package/.output/server/_libs/d3-format.mjs +0 -252
  145. package/.output/server/_libs/d3-interpolate.mjs +0 -207
  146. package/.output/server/_libs/d3-path.mjs +0 -77
  147. package/.output/server/_libs/d3-scale+[...].mjs +0 -1907
  148. package/.output/server/_libs/d3-shape.mjs +0 -818
  149. package/.output/server/_libs/decimal.js-light.mjs +0 -884
  150. package/.output/server/_libs/es-toolkit.mjs +0 -1134
  151. package/.output/server/_libs/eventemitter3.mjs +0 -236
  152. package/.output/server/_libs/immer.mjs +0 -532
  153. package/.output/server/_libs/react-redux+[...].mjs +0 -205
  154. package/.output/server/_libs/recharts+[...].mjs +0 -14117
  155. package/.output/server/_ssr/BundleActivityChart-CWcdPuUn.mjs +0 -288
  156. package/.output/server/_ssr/BundleIdDisplay-BEvB3MvA.mjs +0 -13
  157. package/.output/server/_ssr/InsightsCapabilityContext-Cx8fjm2s.mjs +0 -15
  158. package/.output/server/_ssr/badge-CpWXQwyF.mjs +0 -26
  159. package/.output/server/_ssr/input-group-etIsBUqv.mjs +0 -288
  160. package/.output/server/_ssr/insights-api-C1F7UreR.mjs +0 -71
  161. package/.output/server/_ssr/insights-input-9fEJF-ZG.mjs +0 -96
  162. package/.output/server/_ssr/insights-rpc-C-8R6kED.mjs +0 -155
  163. package/.output/server/_ssr/insights-ygT_aIfo.mjs +0 -858
  164. package/.output/server/_ssr/installations-DqRT1QTd.mjs +0 -535
  165. package/.output/server/_ssr/installations-K8TCYTYh.mjs +0 -19
  166. package/.output/server/_ssr/runtime.server-la7TRAH_.mjs +0 -527
  167. package/.output/server/_ssr/table-CU58HeI7.mjs +0 -53
  168. package/.output/server/_tanstack-start-manifest_v-Mz9MmSlD.mjs +0 -103
  169. package/src/components/features/bundles/BundleActivityChart.tsx +0 -193
  170. package/src/components/features/bundles/BundleInsightsSummary.tsx +0 -123
  171. package/src/components/features/insights/ActivityChart.tsx +0 -150
  172. package/src/components/features/insights/BundleDistribution.tsx +0 -133
  173. package/src/components/features/insights/BundleSelector.tsx +0 -114
  174. package/src/components/features/insights/InsightsCapabilityContext.tsx +0 -24
  175. package/src/components/features/insights/InstallationPagination.tsx +0 -48
  176. package/src/components/features/insights/InstallationSearch.tsx +0 -230
  177. package/src/components/features/insights/UpdateOutcomes.tsx +0 -147
  178. package/src/lib/insights-error.ts +0 -19
  179. package/src/lib/insights-input.ts +0 -187
  180. package/src/lib/insights-overview.ts +0 -170
  181. package/src/lib/server/releaseActivity.ts +0 -27
@@ -1,818 +0,0 @@
1
- import { t as Path } from "./d3-path.mjs";
2
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.js
3
- function constant_default(x) {
4
- return function constant() {
5
- return x;
6
- };
7
- }
8
- //#endregion
9
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.js
10
- var cos = Math.cos;
11
- var sin = Math.sin;
12
- var sqrt = Math.sqrt;
13
- var pi = Math.PI;
14
- pi / 2;
15
- var tau = 2 * pi;
16
- //#endregion
17
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.js
18
- function withPath(shape) {
19
- let digits = 3;
20
- shape.digits = function(_) {
21
- if (!arguments.length) return digits;
22
- if (_ == null) digits = null;
23
- else {
24
- const d = Math.floor(_);
25
- if (!(d >= 0)) throw new RangeError(`invalid digits: ${_}`);
26
- digits = d;
27
- }
28
- return shape;
29
- };
30
- return () => new Path(digits);
31
- }
32
- Array.prototype.slice;
33
- function array_default(x) {
34
- return typeof x === "object" && "length" in x ? x : Array.from(x);
35
- }
36
- //#endregion
37
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.js
38
- function Linear(context) {
39
- this._context = context;
40
- }
41
- Linear.prototype = {
42
- areaStart: function() {
43
- this._line = 0;
44
- },
45
- areaEnd: function() {
46
- this._line = NaN;
47
- },
48
- lineStart: function() {
49
- this._point = 0;
50
- },
51
- lineEnd: function() {
52
- if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
53
- this._line = 1 - this._line;
54
- },
55
- point: function(x, y) {
56
- x = +x, y = +y;
57
- switch (this._point) {
58
- case 0:
59
- this._point = 1;
60
- this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
61
- break;
62
- case 1: this._point = 2;
63
- default:
64
- this._context.lineTo(x, y);
65
- break;
66
- }
67
- }
68
- };
69
- function linear_default(context) {
70
- return new Linear(context);
71
- }
72
- //#endregion
73
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.js
74
- function x(p) {
75
- return p[0];
76
- }
77
- function y(p) {
78
- return p[1];
79
- }
80
- //#endregion
81
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.js
82
- function line_default(x$1, y$1) {
83
- var defined = constant_default(true), context = null, curve = linear_default, output = null, path = withPath(line);
84
- x$1 = typeof x$1 === "function" ? x$1 : x$1 === void 0 ? x : constant_default(x$1);
85
- y$1 = typeof y$1 === "function" ? y$1 : y$1 === void 0 ? y : constant_default(y$1);
86
- function line(data) {
87
- var i, n = (data = array_default(data)).length, d, defined0 = false, buffer;
88
- if (context == null) output = curve(buffer = path());
89
- for (i = 0; i <= n; ++i) {
90
- if (!(i < n && defined(d = data[i], i, data)) === defined0) if (defined0 = !defined0) output.lineStart();
91
- else output.lineEnd();
92
- if (defined0) output.point(+x$1(d, i, data), +y$1(d, i, data));
93
- }
94
- if (buffer) return output = null, buffer + "" || null;
95
- }
96
- line.x = function(_) {
97
- return arguments.length ? (x$1 = typeof _ === "function" ? _ : constant_default(+_), line) : x$1;
98
- };
99
- line.y = function(_) {
100
- return arguments.length ? (y$1 = typeof _ === "function" ? _ : constant_default(+_), line) : y$1;
101
- };
102
- line.defined = function(_) {
103
- return arguments.length ? (defined = typeof _ === "function" ? _ : constant_default(!!_), line) : defined;
104
- };
105
- line.curve = function(_) {
106
- return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;
107
- };
108
- line.context = function(_) {
109
- return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;
110
- };
111
- return line;
112
- }
113
- //#endregion
114
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/area.js
115
- function area_default(x0, y0, y1) {
116
- var x1 = null, defined = constant_default(true), context = null, curve = linear_default, output = null, path = withPath(area);
117
- x0 = typeof x0 === "function" ? x0 : x0 === void 0 ? x : constant_default(+x0);
118
- y0 = typeof y0 === "function" ? y0 : y0 === void 0 ? constant_default(0) : constant_default(+y0);
119
- y1 = typeof y1 === "function" ? y1 : y1 === void 0 ? y : constant_default(+y1);
120
- function area(data) {
121
- var i, j, k, n = (data = array_default(data)).length, d, defined0 = false, buffer, x0z = new Array(n), y0z = new Array(n);
122
- if (context == null) output = curve(buffer = path());
123
- for (i = 0; i <= n; ++i) {
124
- if (!(i < n && defined(d = data[i], i, data)) === defined0) if (defined0 = !defined0) {
125
- j = i;
126
- output.areaStart();
127
- output.lineStart();
128
- } else {
129
- output.lineEnd();
130
- output.lineStart();
131
- for (k = i - 1; k >= j; --k) output.point(x0z[k], y0z[k]);
132
- output.lineEnd();
133
- output.areaEnd();
134
- }
135
- if (defined0) {
136
- x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);
137
- output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);
138
- }
139
- }
140
- if (buffer) return output = null, buffer + "" || null;
141
- }
142
- function arealine() {
143
- return line_default().defined(defined).curve(curve).context(context);
144
- }
145
- area.x = function(_) {
146
- return arguments.length ? (x0 = typeof _ === "function" ? _ : constant_default(+_), x1 = null, area) : x0;
147
- };
148
- area.x0 = function(_) {
149
- return arguments.length ? (x0 = typeof _ === "function" ? _ : constant_default(+_), area) : x0;
150
- };
151
- area.x1 = function(_) {
152
- return arguments.length ? (x1 = _ == null ? null : typeof _ === "function" ? _ : constant_default(+_), area) : x1;
153
- };
154
- area.y = function(_) {
155
- return arguments.length ? (y0 = typeof _ === "function" ? _ : constant_default(+_), y1 = null, area) : y0;
156
- };
157
- area.y0 = function(_) {
158
- return arguments.length ? (y0 = typeof _ === "function" ? _ : constant_default(+_), area) : y0;
159
- };
160
- area.y1 = function(_) {
161
- return arguments.length ? (y1 = _ == null ? null : typeof _ === "function" ? _ : constant_default(+_), area) : y1;
162
- };
163
- area.lineX0 = area.lineY0 = function() {
164
- return arealine().x(x0).y(y0);
165
- };
166
- area.lineY1 = function() {
167
- return arealine().x(x0).y(y1);
168
- };
169
- area.lineX1 = function() {
170
- return arealine().x(x1).y(y0);
171
- };
172
- area.defined = function(_) {
173
- return arguments.length ? (defined = typeof _ === "function" ? _ : constant_default(!!_), area) : defined;
174
- };
175
- area.curve = function(_) {
176
- return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;
177
- };
178
- area.context = function(_) {
179
- return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;
180
- };
181
- return area;
182
- }
183
- //#endregion
184
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.js
185
- var Bump = class {
186
- constructor(context, x) {
187
- this._context = context;
188
- this._x = x;
189
- }
190
- areaStart() {
191
- this._line = 0;
192
- }
193
- areaEnd() {
194
- this._line = NaN;
195
- }
196
- lineStart() {
197
- this._point = 0;
198
- }
199
- lineEnd() {
200
- if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
201
- this._line = 1 - this._line;
202
- }
203
- point(x, y) {
204
- x = +x, y = +y;
205
- switch (this._point) {
206
- case 0:
207
- this._point = 1;
208
- if (this._line) this._context.lineTo(x, y);
209
- else this._context.moveTo(x, y);
210
- break;
211
- case 1: this._point = 2;
212
- default:
213
- if (this._x) this._context.bezierCurveTo(this._x0 = (this._x0 + x) / 2, this._y0, this._x0, y, x, y);
214
- else this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + y) / 2, x, this._y0, x, y);
215
- break;
216
- }
217
- this._x0 = x, this._y0 = y;
218
- }
219
- };
220
- function bumpX(context) {
221
- return new Bump(context, true);
222
- }
223
- function bumpY(context) {
224
- return new Bump(context, false);
225
- }
226
- //#endregion
227
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/symbol/circle.js
228
- var circle_default = { draw(context, size) {
229
- const r = sqrt(size / pi);
230
- context.moveTo(r, 0);
231
- context.arc(0, 0, r, 0, tau);
232
- } };
233
- //#endregion
234
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/symbol/cross.js
235
- var cross_default = { draw(context, size) {
236
- const r = sqrt(size / 5) / 2;
237
- context.moveTo(-3 * r, -r);
238
- context.lineTo(-r, -r);
239
- context.lineTo(-r, -3 * r);
240
- context.lineTo(r, -3 * r);
241
- context.lineTo(r, -r);
242
- context.lineTo(3 * r, -r);
243
- context.lineTo(3 * r, r);
244
- context.lineTo(r, r);
245
- context.lineTo(r, 3 * r);
246
- context.lineTo(-r, 3 * r);
247
- context.lineTo(-r, r);
248
- context.lineTo(-3 * r, r);
249
- context.closePath();
250
- } };
251
- //#endregion
252
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/symbol/diamond.js
253
- var tan30 = sqrt(1 / 3);
254
- var tan30_2 = tan30 * 2;
255
- var diamond_default = { draw(context, size) {
256
- const y = sqrt(size / tan30_2);
257
- const x = y * tan30;
258
- context.moveTo(0, -y);
259
- context.lineTo(x, 0);
260
- context.lineTo(0, y);
261
- context.lineTo(-x, 0);
262
- context.closePath();
263
- } };
264
- //#endregion
265
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/symbol/square.js
266
- var square_default = { draw(context, size) {
267
- const w = sqrt(size);
268
- const x = -w / 2;
269
- context.rect(x, x, w, w);
270
- } };
271
- //#endregion
272
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/symbol/star.js
273
- var ka = .8908130915292852;
274
- var kr = sin(pi / 10) / sin(7 * pi / 10);
275
- var kx = sin(tau / 10) * kr;
276
- var ky = -cos(tau / 10) * kr;
277
- var star_default = { draw(context, size) {
278
- const r = sqrt(size * ka);
279
- const x = kx * r;
280
- const y = ky * r;
281
- context.moveTo(0, -r);
282
- context.lineTo(x, y);
283
- for (let i = 1; i < 5; ++i) {
284
- const a = tau * i / 5;
285
- const c = cos(a);
286
- const s = sin(a);
287
- context.lineTo(s * r, -c * r);
288
- context.lineTo(c * x - s * y, s * x + c * y);
289
- }
290
- context.closePath();
291
- } };
292
- //#endregion
293
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/symbol/triangle.js
294
- var sqrt3 = sqrt(3);
295
- var triangle_default = { draw(context, size) {
296
- const y = -sqrt(size / (sqrt3 * 3));
297
- context.moveTo(0, y * 2);
298
- context.lineTo(-sqrt3 * y, -y);
299
- context.lineTo(sqrt3 * y, -y);
300
- context.closePath();
301
- } };
302
- //#endregion
303
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/symbol/wye.js
304
- var c = -.5;
305
- var s = sqrt(3) / 2;
306
- var k = 1 / sqrt(12);
307
- var a = (k / 2 + 1) * 3;
308
- var wye_default = { draw(context, size) {
309
- const r = sqrt(size / a);
310
- const x0 = r / 2, y0 = r * k;
311
- const x1 = x0, y1 = r * k + r;
312
- const x2 = -x1, y2 = y1;
313
- context.moveTo(x0, y0);
314
- context.lineTo(x1, y1);
315
- context.lineTo(x2, y2);
316
- context.lineTo(c * x0 - s * y0, s * x0 + c * y0);
317
- context.lineTo(c * x1 - s * y1, s * x1 + c * y1);
318
- context.lineTo(c * x2 - s * y2, s * x2 + c * y2);
319
- context.lineTo(c * x0 + s * y0, c * y0 - s * x0);
320
- context.lineTo(c * x1 + s * y1, c * y1 - s * x1);
321
- context.lineTo(c * x2 + s * y2, c * y2 - s * x2);
322
- context.closePath();
323
- } };
324
- //#endregion
325
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/symbol.js
326
- function Symbol(type, size) {
327
- let context = null, path = withPath(symbol);
328
- type = typeof type === "function" ? type : constant_default(type || circle_default);
329
- size = typeof size === "function" ? size : constant_default(size === void 0 ? 64 : +size);
330
- function symbol() {
331
- let buffer;
332
- if (!context) context = buffer = path();
333
- type.apply(this, arguments).draw(context, +size.apply(this, arguments));
334
- if (buffer) return context = null, buffer + "" || null;
335
- }
336
- symbol.type = function(_) {
337
- return arguments.length ? (type = typeof _ === "function" ? _ : constant_default(_), symbol) : type;
338
- };
339
- symbol.size = function(_) {
340
- return arguments.length ? (size = typeof _ === "function" ? _ : constant_default(+_), symbol) : size;
341
- };
342
- symbol.context = function(_) {
343
- return arguments.length ? (context = _ == null ? null : _, symbol) : context;
344
- };
345
- return symbol;
346
- }
347
- //#endregion
348
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.js
349
- function noop_default() {}
350
- //#endregion
351
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.js
352
- function point$1(that, x, y) {
353
- that._context.bezierCurveTo((2 * that._x0 + that._x1) / 3, (2 * that._y0 + that._y1) / 3, (that._x0 + 2 * that._x1) / 3, (that._y0 + 2 * that._y1) / 3, (that._x0 + 4 * that._x1 + x) / 6, (that._y0 + 4 * that._y1 + y) / 6);
354
- }
355
- function Basis(context) {
356
- this._context = context;
357
- }
358
- Basis.prototype = {
359
- areaStart: function() {
360
- this._line = 0;
361
- },
362
- areaEnd: function() {
363
- this._line = NaN;
364
- },
365
- lineStart: function() {
366
- this._x0 = this._x1 = this._y0 = this._y1 = NaN;
367
- this._point = 0;
368
- },
369
- lineEnd: function() {
370
- switch (this._point) {
371
- case 3: point$1(this, this._x1, this._y1);
372
- case 2:
373
- this._context.lineTo(this._x1, this._y1);
374
- break;
375
- }
376
- if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
377
- this._line = 1 - this._line;
378
- },
379
- point: function(x, y) {
380
- x = +x, y = +y;
381
- switch (this._point) {
382
- case 0:
383
- this._point = 1;
384
- this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
385
- break;
386
- case 1:
387
- this._point = 2;
388
- break;
389
- case 2:
390
- this._point = 3;
391
- this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
392
- default:
393
- point$1(this, x, y);
394
- break;
395
- }
396
- this._x0 = this._x1, this._x1 = x;
397
- this._y0 = this._y1, this._y1 = y;
398
- }
399
- };
400
- function basis_default(context) {
401
- return new Basis(context);
402
- }
403
- //#endregion
404
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.js
405
- function BasisClosed(context) {
406
- this._context = context;
407
- }
408
- BasisClosed.prototype = {
409
- areaStart: noop_default,
410
- areaEnd: noop_default,
411
- lineStart: function() {
412
- this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;
413
- this._point = 0;
414
- },
415
- lineEnd: function() {
416
- switch (this._point) {
417
- case 1:
418
- this._context.moveTo(this._x2, this._y2);
419
- this._context.closePath();
420
- break;
421
- case 2:
422
- this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);
423
- this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);
424
- this._context.closePath();
425
- break;
426
- case 3:
427
- this.point(this._x2, this._y2);
428
- this.point(this._x3, this._y3);
429
- this.point(this._x4, this._y4);
430
- break;
431
- }
432
- },
433
- point: function(x, y) {
434
- x = +x, y = +y;
435
- switch (this._point) {
436
- case 0:
437
- this._point = 1;
438
- this._x2 = x, this._y2 = y;
439
- break;
440
- case 1:
441
- this._point = 2;
442
- this._x3 = x, this._y3 = y;
443
- break;
444
- case 2:
445
- this._point = 3;
446
- this._x4 = x, this._y4 = y;
447
- this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6);
448
- break;
449
- default:
450
- point$1(this, x, y);
451
- break;
452
- }
453
- this._x0 = this._x1, this._x1 = x;
454
- this._y0 = this._y1, this._y1 = y;
455
- }
456
- };
457
- function basisClosed_default(context) {
458
- return new BasisClosed(context);
459
- }
460
- //#endregion
461
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.js
462
- function BasisOpen(context) {
463
- this._context = context;
464
- }
465
- BasisOpen.prototype = {
466
- areaStart: function() {
467
- this._line = 0;
468
- },
469
- areaEnd: function() {
470
- this._line = NaN;
471
- },
472
- lineStart: function() {
473
- this._x0 = this._x1 = this._y0 = this._y1 = NaN;
474
- this._point = 0;
475
- },
476
- lineEnd: function() {
477
- if (this._line || this._line !== 0 && this._point === 3) this._context.closePath();
478
- this._line = 1 - this._line;
479
- },
480
- point: function(x, y) {
481
- x = +x, y = +y;
482
- switch (this._point) {
483
- case 0:
484
- this._point = 1;
485
- break;
486
- case 1:
487
- this._point = 2;
488
- break;
489
- case 2:
490
- this._point = 3;
491
- var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6;
492
- this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0);
493
- break;
494
- case 3: this._point = 4;
495
- default:
496
- point$1(this, x, y);
497
- break;
498
- }
499
- this._x0 = this._x1, this._x1 = x;
500
- this._y0 = this._y1, this._y1 = y;
501
- }
502
- };
503
- function basisOpen_default(context) {
504
- return new BasisOpen(context);
505
- }
506
- //#endregion
507
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.js
508
- function LinearClosed(context) {
509
- this._context = context;
510
- }
511
- LinearClosed.prototype = {
512
- areaStart: noop_default,
513
- areaEnd: noop_default,
514
- lineStart: function() {
515
- this._point = 0;
516
- },
517
- lineEnd: function() {
518
- if (this._point) this._context.closePath();
519
- },
520
- point: function(x, y) {
521
- x = +x, y = +y;
522
- if (this._point) this._context.lineTo(x, y);
523
- else this._point = 1, this._context.moveTo(x, y);
524
- }
525
- };
526
- function linearClosed_default(context) {
527
- return new LinearClosed(context);
528
- }
529
- //#endregion
530
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.js
531
- function sign(x) {
532
- return x < 0 ? -1 : 1;
533
- }
534
- function slope3(that, x2, y2) {
535
- var h0 = that._x1 - that._x0, h1 = x2 - that._x1, s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0), s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0), p = (s0 * h1 + s1 * h0) / (h0 + h1);
536
- return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), .5 * Math.abs(p)) || 0;
537
- }
538
- function slope2(that, t) {
539
- var h = that._x1 - that._x0;
540
- return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
541
- }
542
- function point(that, t0, t1) {
543
- var x0 = that._x0, y0 = that._y0, x1 = that._x1, y1 = that._y1, dx = (x1 - x0) / 3;
544
- that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);
545
- }
546
- function MonotoneX(context) {
547
- this._context = context;
548
- }
549
- MonotoneX.prototype = {
550
- areaStart: function() {
551
- this._line = 0;
552
- },
553
- areaEnd: function() {
554
- this._line = NaN;
555
- },
556
- lineStart: function() {
557
- this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN;
558
- this._point = 0;
559
- },
560
- lineEnd: function() {
561
- switch (this._point) {
562
- case 2:
563
- this._context.lineTo(this._x1, this._y1);
564
- break;
565
- case 3:
566
- point(this, this._t0, slope2(this, this._t0));
567
- break;
568
- }
569
- if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
570
- this._line = 1 - this._line;
571
- },
572
- point: function(x, y) {
573
- var t1 = NaN;
574
- x = +x, y = +y;
575
- if (x === this._x1 && y === this._y1) return;
576
- switch (this._point) {
577
- case 0:
578
- this._point = 1;
579
- this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
580
- break;
581
- case 1:
582
- this._point = 2;
583
- break;
584
- case 2:
585
- this._point = 3;
586
- point(this, slope2(this, t1 = slope3(this, x, y)), t1);
587
- break;
588
- default:
589
- point(this, this._t0, t1 = slope3(this, x, y));
590
- break;
591
- }
592
- this._x0 = this._x1, this._x1 = x;
593
- this._y0 = this._y1, this._y1 = y;
594
- this._t0 = t1;
595
- }
596
- };
597
- function MonotoneY(context) {
598
- this._context = new ReflectContext(context);
599
- }
600
- (MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) {
601
- MonotoneX.prototype.point.call(this, y, x);
602
- };
603
- function ReflectContext(context) {
604
- this._context = context;
605
- }
606
- ReflectContext.prototype = {
607
- moveTo: function(x, y) {
608
- this._context.moveTo(y, x);
609
- },
610
- closePath: function() {
611
- this._context.closePath();
612
- },
613
- lineTo: function(x, y) {
614
- this._context.lineTo(y, x);
615
- },
616
- bezierCurveTo: function(x1, y1, x2, y2, x, y) {
617
- this._context.bezierCurveTo(y1, x1, y2, x2, y, x);
618
- }
619
- };
620
- function monotoneX(context) {
621
- return new MonotoneX(context);
622
- }
623
- function monotoneY(context) {
624
- return new MonotoneY(context);
625
- }
626
- //#endregion
627
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.js
628
- function Natural(context) {
629
- this._context = context;
630
- }
631
- Natural.prototype = {
632
- areaStart: function() {
633
- this._line = 0;
634
- },
635
- areaEnd: function() {
636
- this._line = NaN;
637
- },
638
- lineStart: function() {
639
- this._x = [];
640
- this._y = [];
641
- },
642
- lineEnd: function() {
643
- var x = this._x, y = this._y, n = x.length;
644
- if (n) {
645
- this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);
646
- if (n === 2) this._context.lineTo(x[1], y[1]);
647
- else {
648
- var px = controlPoints(x), py = controlPoints(y);
649
- for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);
650
- }
651
- }
652
- if (this._line || this._line !== 0 && n === 1) this._context.closePath();
653
- this._line = 1 - this._line;
654
- this._x = this._y = null;
655
- },
656
- point: function(x, y) {
657
- this._x.push(+x);
658
- this._y.push(+y);
659
- }
660
- };
661
- function controlPoints(x) {
662
- var i, n = x.length - 1, m, a = new Array(n), b = new Array(n), r = new Array(n);
663
- a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];
664
- for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];
665
- a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];
666
- for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];
667
- a[n - 1] = r[n - 1] / b[n - 1];
668
- for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i];
669
- b[n - 1] = (x[n] + a[n - 1]) / 2;
670
- for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1];
671
- return [a, b];
672
- }
673
- function natural_default(context) {
674
- return new Natural(context);
675
- }
676
- //#endregion
677
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.js
678
- function Step(context, t) {
679
- this._context = context;
680
- this._t = t;
681
- }
682
- Step.prototype = {
683
- areaStart: function() {
684
- this._line = 0;
685
- },
686
- areaEnd: function() {
687
- this._line = NaN;
688
- },
689
- lineStart: function() {
690
- this._x = this._y = NaN;
691
- this._point = 0;
692
- },
693
- lineEnd: function() {
694
- if (0 < this._t && this._t < 1 && this._point === 2) this._context.lineTo(this._x, this._y);
695
- if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
696
- if (this._line >= 0) this._t = 1 - this._t, this._line = 1 - this._line;
697
- },
698
- point: function(x, y) {
699
- x = +x, y = +y;
700
- switch (this._point) {
701
- case 0:
702
- this._point = 1;
703
- this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
704
- break;
705
- case 1: this._point = 2;
706
- default:
707
- if (this._t <= 0) {
708
- this._context.lineTo(this._x, y);
709
- this._context.lineTo(x, y);
710
- } else {
711
- var x1 = this._x * (1 - this._t) + x * this._t;
712
- this._context.lineTo(x1, this._y);
713
- this._context.lineTo(x1, y);
714
- }
715
- break;
716
- }
717
- this._x = x, this._y = y;
718
- }
719
- };
720
- function step_default(context) {
721
- return new Step(context, .5);
722
- }
723
- function stepBefore(context) {
724
- return new Step(context, 0);
725
- }
726
- function stepAfter(context) {
727
- return new Step(context, 1);
728
- }
729
- //#endregion
730
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/offset/none.js
731
- function none_default$1(series, order) {
732
- if (!((n = series.length) > 1)) return;
733
- for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {
734
- s0 = s1, s1 = series[order[i]];
735
- for (j = 0; j < m; ++j) s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];
736
- }
737
- }
738
- //#endregion
739
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/order/none.js
740
- function none_default(series) {
741
- var n = series.length, o = new Array(n);
742
- while (--n >= 0) o[n] = n;
743
- return o;
744
- }
745
- //#endregion
746
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/stack.js
747
- function stackValue(d, key) {
748
- return d[key];
749
- }
750
- function stackSeries(key) {
751
- const series = [];
752
- series.key = key;
753
- return series;
754
- }
755
- function stack_default() {
756
- var keys = constant_default([]), order = none_default, offset = none_default$1, value = stackValue;
757
- function stack(data) {
758
- var sz = Array.from(keys.apply(this, arguments), stackSeries), i, n = sz.length, j = -1, oz;
759
- for (const d of data) for (i = 0, ++j; i < n; ++i) (sz[i][j] = [0, +value(d, sz[i].key, j, data)]).data = d;
760
- for (i = 0, oz = array_default(order(sz)); i < n; ++i) sz[oz[i]].index = i;
761
- offset(sz, oz);
762
- return sz;
763
- }
764
- stack.keys = function(_) {
765
- return arguments.length ? (keys = typeof _ === "function" ? _ : constant_default(Array.from(_)), stack) : keys;
766
- };
767
- stack.value = function(_) {
768
- return arguments.length ? (value = typeof _ === "function" ? _ : constant_default(+_), stack) : value;
769
- };
770
- stack.order = function(_) {
771
- return arguments.length ? (order = _ == null ? none_default : typeof _ === "function" ? _ : constant_default(Array.from(_)), stack) : order;
772
- };
773
- stack.offset = function(_) {
774
- return arguments.length ? (offset = _ == null ? none_default$1 : _, stack) : offset;
775
- };
776
- return stack;
777
- }
778
- //#endregion
779
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/offset/expand.js
780
- function expand_default(series, order) {
781
- if (!((n = series.length) > 0)) return;
782
- for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {
783
- for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0;
784
- if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y;
785
- }
786
- none_default$1(series, order);
787
- }
788
- //#endregion
789
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/offset/silhouette.js
790
- function silhouette_default(series, order) {
791
- if (!((n = series.length) > 0)) return;
792
- for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {
793
- for (var i = 0, y = 0; i < n; ++i) y += series[i][j][1] || 0;
794
- s0[j][1] += s0[j][0] = -y / 2;
795
- }
796
- none_default$1(series, order);
797
- }
798
- //#endregion
799
- //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/offset/wiggle.js
800
- function wiggle_default(series, order) {
801
- if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0)) return;
802
- for (var y = 0, j = 1, s0, m, n; j < m; ++j) {
803
- for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {
804
- var si = series[order[i]], sij0 = si[j][1] || 0, s3 = (sij0 - (si[j - 1][1] || 0)) / 2;
805
- for (var k = 0; k < i; ++k) {
806
- var sk = series[order[k]], skj0 = sk[j][1] || 0, skj1 = sk[j - 1][1] || 0;
807
- s3 += skj0 - skj1;
808
- }
809
- s1 += sij0, s2 += s3 * sij0;
810
- }
811
- s0[j - 1][1] += s0[j - 1][0] = y;
812
- if (s1) y -= s2 / s1;
813
- }
814
- s0[j - 1][1] += s0[j - 1][0] = y;
815
- none_default$1(series, order);
816
- }
817
- //#endregion
818
- export { cross_default as C, area_default as D, bumpY as E, line_default as O, diamond_default as S, bumpX as T, Symbol as _, none_default as a, star_default as b, stepBefore as c, monotoneX as d, monotoneY as f, basis_default as g, basisClosed_default as h, stack_default as i, linear_default as k, step_default as l, basisOpen_default as m, silhouette_default as n, none_default$1 as o, linearClosed_default as p, expand_default as r, stepAfter as s, wiggle_default as t, natural_default as u, wye_default as v, circle_default as w, square_default as x, triangle_default as y };