vue-data-ui 3.10.0 → 3.10.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 (167) hide show
  1. package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
  3. package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
  4. package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
  5. package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
  6. package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
  7. package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
  9. package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
  10. package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
  11. package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
  12. package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
  13. package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
  14. package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
  15. package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
  16. package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
  17. package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-bump.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
  88. package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
  89. package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
  90. package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
  91. package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +3 -1
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
  95. package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
  96. package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
  97. package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
  98. package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
  99. package/dist/vue-data-ui.js +73 -73
  100. package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
  101. package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
  102. package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
  103. package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
  104. package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
  105. package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
  106. package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
  107. package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
  108. package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
  109. package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
  110. package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
  111. package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
  112. package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
  113. package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
  114. package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
  115. package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
  116. package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
  117. package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
  118. package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
  119. package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
  120. package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
  121. package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
  122. package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
  123. package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
  124. package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
  125. package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
  126. package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
  127. package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
  128. package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
  129. package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
  130. package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
  131. package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
  132. package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
  133. package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
  134. package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
  135. package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
  136. package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
  137. package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
  138. package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
  139. package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
  140. package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
  141. package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
  142. package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
  143. package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
  144. package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
  145. package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
  146. package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
  147. package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
  148. package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
  149. package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
  150. package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
  151. package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
  152. package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
  153. package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
  154. package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
  155. package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
  156. package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
  157. package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
  158. package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
  159. package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
  160. package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
  161. package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
  162. package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
  163. package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
  164. package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
  165. package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
  166. package/package.json +1 -1
  167. package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
@@ -14,7 +14,7 @@ function Ht(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a
14
14
  const h = f.reduce((p, y) => p + y.value, 0), F = [];
15
15
  let g = 0;
16
16
  for (let p = 0; p < f.length; p++) {
17
- const y = f[p].value, x = f.length === 1, E = x ? 1 : h > 0 ? y / h : 0, M = E * (Math.PI * s), O = (x ? 0.5 : h > 0 ? y / 2 / h : 0.5) * (Math.PI * c), { startX: L, startY: m, endX: $, endY: C, path: D } = Z(
17
+ const y = f[p].value, m = f.length === 1, E = m ? 1 : h > 0 ? y / h : 0, M = E * (Math.PI * s), O = (m ? 0.5 : h > 0 ? y / 2 / h : 0.5) * (Math.PI * c), { startX: L, startY: x, endX: $, endY: b, path: D } = Z(
18
18
  [n, e],
19
19
  [o, r],
20
20
  [g, M],
@@ -38,7 +38,7 @@ function Ht(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a
38
38
  c
39
39
  );
40
40
  F.push({
41
- arcSlice: `${D} L ${d.startX} ${d.startY} ${d.path} L ${L} ${m}`,
41
+ arcSlice: `${D} L ${d.startX} ${d.startY} ${d.path} L ${L} ${x}`,
42
42
  cx: A(n),
43
43
  cy: A(e),
44
44
  ...f[p],
@@ -46,9 +46,9 @@ function Ht(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a
46
46
  ratio: A(M),
47
47
  path: D.replaceAll("NaN", "0"),
48
48
  startX: A(L),
49
- startY: A(m),
49
+ startY: A(x),
50
50
  endX: A($),
51
- endY: A(C),
51
+ endY: A(b),
52
52
  separator: {
53
53
  x: d.startX,
54
54
  y: d.startY
@@ -105,12 +105,12 @@ function Z([t, n], [e, o], [r, s], c, i = 360, l = 2, u = !1) {
105
105
  ].join(" ")}`
106
106
  };
107
107
  }
108
- function xt({ defaultConfig: t, userConfig: n }) {
108
+ function mt({ defaultConfig: t, userConfig: n }) {
109
109
  const e = { ...t };
110
110
  return Object.keys(e).forEach((o) => {
111
111
  if (Object.hasOwn(n, o)) {
112
112
  const r = n[o];
113
- r === null ? e[o] = null : ["boolean", "function"].includes(typeof r) ? e[o] = r : ["string", "number"].includes(typeof r) ? et(r) && (e[o] = r) : Array.isArray(e[o]) ? mt({ userConfig: n, key: o }) && (e[o] = r) : bt({ userConfig: n, key: o }) && (e[o] = xt({
113
+ r === null ? e[o] = null : ["boolean", "function"].includes(typeof r) ? e[o] = r : ["string", "number"].includes(typeof r) ? et(r) && (e[o] = r) : Array.isArray(e[o]) ? xt({ userConfig: n, key: o }) && (e[o] = r) : Ct({ userConfig: n, key: o }) && (e[o] = mt({
114
114
  defaultConfig: e[o],
115
115
  userConfig: r
116
116
  }));
@@ -122,10 +122,10 @@ function xt({ defaultConfig: t, userConfig: n }) {
122
122
  }
123
123
  }), e;
124
124
  }
125
- function mt({ userConfig: t, key: n }) {
125
+ function xt({ userConfig: t, key: n }) {
126
126
  return Object.hasOwn(t, n) && Array.isArray(t[n]) && t[n].length >= 0;
127
127
  }
128
- function bt({ userConfig: t, key: n }) {
128
+ function Ct({ userConfig: t, key: n }) {
129
129
  return Object.hasOwn(t, n) && !Array.isArray(t[n]) && typeof t[n] == "object";
130
130
  }
131
131
  function et(t) {
@@ -194,6 +194,10 @@ function vt(t = "default") {
194
194
  return v.celebration;
195
195
  case "celebrationNight":
196
196
  return v.celebrationNight;
197
+ case "minimal":
198
+ return v.minimal;
199
+ case "minimalDark":
200
+ return v.minimalDark;
197
201
  default:
198
202
  return v.default;
199
203
  }
@@ -201,6 +205,50 @@ function vt(t = "default") {
201
205
  const v = {
202
206
  default: ot,
203
207
  dark: ot,
208
+ minimal: [
209
+ "#2A2929",
210
+ "#454862",
211
+ "#65698E",
212
+ "#8D99AE",
213
+ "#678681",
214
+ "#7FA09B",
215
+ "#9CBCA8",
216
+ "#76645D",
217
+ "#877675",
218
+ "#A9998C",
219
+ "#C6B7AB",
220
+ "#906C70",
221
+ "#B08C91",
222
+ "#C9ACB0",
223
+ "#9F816B",
224
+ "#B39783",
225
+ "#D8C3B3",
226
+ "#825E76",
227
+ "#9D7D92",
228
+ "#C2A6B9"
229
+ ],
230
+ minimalDark: [
231
+ "#524f4f",
232
+ "#454862",
233
+ "#65698E",
234
+ "#8D99AE",
235
+ "#678681",
236
+ "#7FA09B",
237
+ "#9CBCA8",
238
+ "#76645D",
239
+ "#877675",
240
+ "#A9998C",
241
+ "#C6B7AB",
242
+ "#906C70",
243
+ "#B08C91",
244
+ "#C9ACB0",
245
+ "#9F816B",
246
+ "#B39783",
247
+ "#D8C3B3",
248
+ "#825E76",
249
+ "#9D7D92",
250
+ "#C2A6B9"
251
+ ],
204
252
  celebration: [
205
253
  "#D32F2F",
206
254
  "#E64A19",
@@ -395,7 +443,7 @@ function ut(t) {
395
443
  } else if (s = t.match(r)) {
396
444
  const [, i, l, u, a] = s;
397
445
  c = a ? parseFloat(a) : 1;
398
- const [f, h, F] = Ct(Number(i), Number(l), Number(u));
446
+ const [f, h, F] = bt(Number(i), Number(l), Number(u));
399
447
  return `#${G(f)}${G(h)}${G(F)}${G(Math.round(c * 255))}`;
400
448
  }
401
449
  return null;
@@ -404,7 +452,7 @@ function G(t) {
404
452
  const n = Number(t).toString(16);
405
453
  return n.length === 1 ? "0" + n : n;
406
454
  }
407
- function Ct(t, n, e, o = 1) {
455
+ function bt(t, n, e, o = 1) {
408
456
  t /= 360, n /= 100, e /= 100;
409
457
  let r, s, c;
410
458
  if (n === 0)
@@ -428,12 +476,12 @@ function Xt(t, n) {
428
476
  }), s = ({ r: f, g: h, b: F }) => {
429
477
  f /= 255, h /= 255, F /= 255;
430
478
  const g = Math.max(f, h, F), p = Math.min(f, h, F);
431
- let y, x, E = (g + p) / 2;
479
+ let y, m, E = (g + p) / 2;
432
480
  if (g === p)
433
- y = x = 0;
481
+ y = m = 0;
434
482
  else {
435
483
  const M = g - p;
436
- switch (x = E > 0.5 ? M / (2 - g - p) : M / (g + p), g) {
484
+ switch (m = E > 0.5 ? M / (2 - g - p) : M / (g + p), g) {
437
485
  case f:
438
486
  y = (h - F) / M + (h < F ? 6 : 0);
439
487
  break;
@@ -446,14 +494,14 @@ function Xt(t, n) {
446
494
  }
447
495
  y /= 6;
448
496
  }
449
- return { h: y, s: x, l: E };
497
+ return { h: y, s: m, l: E };
450
498
  }, c = ({ h: f, s: h, l: F }) => {
451
499
  let g, p, y;
452
500
  if (h === 0)
453
501
  g = p = y = F;
454
502
  else {
455
- const x = (R, O, L) => (L < 0 && (L += 1), L > 1 && (L -= 1), L < 0.16666666666666666 ? R + (O - R) * 6 * L : L < 0.5 ? O : L < 0.6666666666666666 ? R + (O - R) * (0.6666666666666666 - L) * 6 : R), E = F < 0.5 ? F * (1 + h) : F + h - F * h, M = 2 * F - E;
456
- g = x(M, E, f + 1 / 3), p = x(M, E, f), y = x(M, E, f - 1 / 3);
503
+ const m = (S, O, L) => (L < 0 && (L += 1), L > 1 && (L -= 1), L < 0.16666666666666666 ? S + (O - S) * 6 * L : L < 0.5 ? O : L < 0.6666666666666666 ? S + (O - S) * (0.6666666666666666 - L) * 6 : S), E = F < 0.5 ? F * (1 + h) : F + h - F * h, M = 2 * F - E;
504
+ g = m(M, E, f + 1 / 3), p = m(M, E, f), y = m(M, E, f - 1 / 3);
457
505
  }
458
506
  return {
459
507
  r: Math.round(g * 255),
@@ -618,13 +666,13 @@ function _t(t) {
618
666
  const n = t?.length ?? 0;
619
667
  if (n < 2) return { x1: 0, y1: 0, x2: 0, y2: 0, slope: 0, trend: 0 };
620
668
  let e = 0, o = 0, r = 0, s = 0;
621
- for (const { x: C, y: D } of t)
622
- e += C, o += D, r += C * D, s += C * C;
669
+ for (const { x: b, y: D } of t)
670
+ e += b, o += D, r += b * D, s += b * b;
623
671
  const c = n * s - e * e || 1, i = (n * r - e * o) / c, l = (o - i * e) / n, u = t[0].x, a = t[n - 1].x, f = i * u + l, h = i * a + l;
624
672
  let F = 0, g = 0, p = 0, y = 0;
625
- for (let C = 0; C < n; C += 1)
626
- F += C, g += t[C].value, p += C * t[C].value, y += C * C;
627
- const x = n * y - F * F || 1, E = (n * p - F * g) / x, M = (g - E * F) / n, R = M, O = E * (n - 1) + M, m = Math.max(Math.abs(R), Math.abs(g / n), Math.abs(O), 1e-9), $ = (O - R) / m;
673
+ for (let b = 0; b < n; b += 1)
674
+ F += b, g += t[b].value, p += b * t[b].value, y += b * b;
675
+ const m = n * y - F * F || 1, E = (n * p - F * g) / m, M = (g - E * F) / n, S = M, O = E * (n - 1) + M, x = Math.max(Math.abs(S), Math.abs(g / n), Math.abs(O), 1e-9), $ = (O - S) / x;
628
676
  return { x1: u, y1: f, x2: a, y2: h, slope: i, trend: $ };
629
677
  }
630
678
  function zt(t) {
@@ -651,8 +699,8 @@ function Qt(t) {
651
699
  c[i] = l;
652
700
  }
653
701
  for (let i = 0; i < n; i += 1) {
654
- const l = t[i].x, u = t[i].y, a = t[i + 1].x, f = t[i + 1].y, h = c[i], F = c[i + 1], g = l + (a - l) / 3, p = u + h * (a - l) / 3, y = a - (a - l) / 3, x = f - F * (a - l) / 3;
655
- e.push(`C ${A(g)},${A(p)} ${A(y)},${A(x)} ${A(a)},${A(f)}`);
702
+ const l = t[i].x, u = t[i].y, a = t[i + 1].x, f = t[i + 1].y, h = c[i], F = c[i + 1], g = l + (a - l) / 3, p = u + h * (a - l) / 3, y = a - (a - l) / 3, m = f - F * (a - l) / 3;
703
+ e.push(`C ${A(g)},${A(p)} ${A(y)},${A(m)} ${A(a)},${A(f)}`);
656
704
  }
657
705
  return e.join(" ");
658
706
  }
@@ -805,12 +853,12 @@ function hn(t, n, e, o, r) {
805
853
  let F = parseInt(h.substring(1, 3), 16), g = parseInt(h.substring(3, 5), 16), p = parseInt(h.substring(5, 7), 16), y = 1;
806
854
  return h.length === 9 && (y = parseInt(h.substring(7, 9), 16) / 255), { r: F, g, b: p, a: y };
807
855
  }, c = ({ r: h, g: F, b: g, a: p }) => {
808
- const y = (E) => E.toString(16).padStart(2, "0"), x = `#${y(h)}${y(F)}${y(g)}`;
856
+ const y = (E) => E.toString(16).padStart(2, "0"), m = `#${y(h)}${y(F)}${y(g)}`;
809
857
  if (p !== 1) {
810
858
  const E = Math.round(p * 255).toString(16).padStart(2, "0");
811
- return x + E;
859
+ return m + E;
812
860
  }
813
- return x;
861
+ return m;
814
862
  }, i = s(t), l = s(n);
815
863
  r = Math.min(Math.max(r, e), o);
816
864
  const u = (r - e) / (o - e), a = {
@@ -859,7 +907,7 @@ function An({ componentName: t, type: n, property: e = "", index: o = "", key: r
859
907
  else
860
908
  throw new Error(i);
861
909
  }
862
- function St({ points: t, a: n, b: e, angleStep: o, startX: r, startY: s }) {
910
+ function Bt({ points: t, a: n, b: e, angleStep: o, startX: r, startY: s }) {
863
911
  const c = [];
864
912
  for (let i = 0; i < t; i++) {
865
913
  const l = o * i, u = n + e * l, a = u * Math.cos(l) + r, f = u * Math.sin(l) + s;
@@ -867,13 +915,13 @@ function St({ points: t, a: n, b: e, angleStep: o, startX: r, startY: s }) {
867
915
  }
868
916
  return c;
869
917
  }
870
- function Rt(t) {
918
+ function St(t) {
871
919
  let n = 1 / 0, e = 1 / 0, o = -1 / 0, r = -1 / 0;
872
920
  for (const s of t)
873
921
  s.x < n && (n = s.x), s.y < e && (e = s.y), s.x > o && (o = s.x), s.y > r && (r = s.y);
874
922
  return { minX: n, minY: e, maxX: o, maxY: r, width: o - n || 1, height: r - e || 1 };
875
923
  }
876
- function Bt(t) {
924
+ function Rt(t) {
877
925
  if (!t.length) return "";
878
926
  let n = `M${t[0].x} ${t[0].y}`;
879
927
  for (let e = 1; e < t.length - 2; e += 2) {
@@ -893,13 +941,13 @@ function yn({
893
941
  boxHeight: i,
894
942
  padding: l = 12
895
943
  }) {
896
- const u = St({ points: t, a: n, b: e, angleStep: o, startX: 0, startY: 0 }), { minX: a, minY: f, maxX: h, maxY: F, width: g, height: p } = Rt(u), y = (a + h) / 2, x = (f + F) / 2, E = Math.max(1, c - 2 * l), M = Math.max(1, i - 2 * l), R = Math.min(E / g, M / p), O = r - y * R, L = s - x * R;
944
+ const u = Bt({ points: t, a: n, b: e, angleStep: o, startX: 0, startY: 0 }), { minX: a, minY: f, maxX: h, maxY: F, width: g, height: p } = St(u), y = (a + h) / 2, m = (f + F) / 2, E = Math.max(1, c - 2 * l), M = Math.max(1, i - 2 * l), S = Math.min(E / g, M / p), O = r - y * S, L = s - m * S;
897
945
  return function($) {
898
- const C = Math.max(2, Math.min(Math.round($), u.length)), D = u.slice(0, C).map((d) => ({ x: d.x * R + O, y: d.y * R + L }));
899
- return Bt(D);
946
+ const b = Math.max(2, Math.min(Math.round($), u.length)), D = u.slice(0, b).map((d) => ({ x: d.x * S + O, y: d.y * S + L }));
947
+ return Rt(D);
900
948
  };
901
949
  }
902
- function xn({ datasetObject: t, requiredAttributes: n }) {
950
+ function mn({ datasetObject: t, requiredAttributes: n }) {
903
951
  let e = [];
904
952
  return n.forEach((o) => {
905
953
  Object.hasOwn(t, o) || e.push(o);
@@ -1058,7 +1106,7 @@ function It(t) {
1058
1106
  return at[o] || at[r] || e;
1059
1107
  }
1060
1108
  const J = "http://www.w3.org/2000/svg";
1061
- function mn(t) {
1109
+ function xn(t) {
1062
1110
  if (t.length < 2)
1063
1111
  return 0;
1064
1112
  let n = 0, e = 0;
@@ -1085,7 +1133,7 @@ function Lt({
1085
1133
  (a, f) => `<tspan x="${o}" y="${r - u + f * n}" fill="${e}">${a}</tspan>`
1086
1134
  ).join("");
1087
1135
  }
1088
- function bn(t) {
1136
+ function Cn(t) {
1089
1137
  return et(t) ? (Lt({
1090
1138
  content: t,
1091
1139
  fontSize: 1,
@@ -1094,7 +1142,7 @@ function bn(t) {
1094
1142
  y: 0
1095
1143
  }).match(/<tspan\b/g) || []).length : 1;
1096
1144
  }
1097
- function Cn({ content: t, fontSize: n, fill: e, x: o, autoOffset: r = !1 }) {
1145
+ function bn({ content: t, fontSize: n, fill: e, x: o, autoOffset: r = !1 }) {
1098
1146
  const s = t.split(`
1099
1147
  `), c = r ? (s.length - 1) * n / 2 : 0;
1100
1148
  return s.map((i, l) => {
@@ -1135,7 +1183,7 @@ function Dn(t, n = null) {
1135
1183
  };
1136
1184
  });
1137
1185
  }
1138
- function Sn(t) {
1186
+ function Bn(t) {
1139
1187
  let n = t.reduce((i, l) => i + (l.stackRatio || 0), 0), e = t.filter((i) => i.stackRatio === void 0).length, o = 1 - n, r = e > 0 ? o / e : 0, s = t.map((i) => ({
1140
1188
  ...i,
1141
1189
  stackRatio: i.stackRatio !== void 0 ? i.stackRatio : r
@@ -1146,16 +1194,16 @@ function Sn(t) {
1146
1194
  cumulatedStackRatio: c
1147
1195
  })), s;
1148
1196
  }
1149
- function Rn(t) {
1197
+ function Sn(t) {
1150
1198
  function n(u, a, f, h) {
1151
1199
  const F = f - u, g = h - a;
1152
1200
  return Math.sqrt(F * F + g * g);
1153
1201
  }
1154
1202
  function e(u, a, f, h) {
1155
1203
  let g = 0, p = u.x, y = u.y;
1156
- for (let x = 1; x <= 100; x += 1) {
1157
- const E = x / 100, M = 1 - E, R = M * M, O = E * E, L = R * M * u.x + 3 * R * E * a.x + 3 * M * O * f.x + O * E * h.x, m = R * M * u.y + 3 * R * E * a.y + 3 * M * O * f.y + O * E * h.y;
1158
- g += n(p, y, L, m), p = L, y = m;
1204
+ for (let m = 1; m <= 100; m += 1) {
1205
+ const E = m / 100, M = 1 - E, S = M * M, O = E * E, L = S * M * u.x + 3 * S * E * a.x + 3 * M * O * f.x + O * E * h.x, x = S * M * u.y + 3 * S * E * a.y + 3 * M * O * f.y + O * E * h.y;
1206
+ g += n(p, y, L, x), p = L, y = x;
1159
1207
  }
1160
1208
  return g;
1161
1209
  }
@@ -1196,7 +1244,7 @@ function Rn(t) {
1196
1244
  }
1197
1245
  }), l;
1198
1246
  }
1199
- function Bn({
1247
+ function Rn({
1200
1248
  relator: t,
1201
1249
  adjuster: n,
1202
1250
  source: e,
@@ -1286,12 +1334,12 @@ function wn(t, n = 100) {
1286
1334
  function Tn({ series: t, center: n, maxRadius: e, hasGhost: o = !1 }) {
1287
1335
  const s = 360 / (t.length - (o ? 1 : 0));
1288
1336
  return t.map((i, l) => {
1289
- const a = i * e, f = l * s, h = f + s, F = f + s / 2, g = X(f) - X(90), p = X(h) - X(90), y = X(F) - X(90), x = n.x + a * Math.cos(g), E = n.y + a * Math.sin(g), M = n.x + a * Math.cos(p), R = n.y + a * Math.sin(p), O = n.x + a * Math.cos(y), L = n.y + a * Math.sin(y);
1337
+ const a = i * e, f = l * s, h = f + s, F = f + s / 2, g = X(f) - X(90), p = X(h) - X(90), y = X(F) - X(90), m = n.x + a * Math.cos(g), E = n.y + a * Math.sin(g), M = n.x + a * Math.cos(p), S = n.y + a * Math.sin(p), O = n.x + a * Math.cos(y), L = n.y + a * Math.sin(y);
1290
1338
  return {
1291
1339
  path: `
1292
1340
  M ${n.x} ${n.y}
1293
- L ${x} ${E}
1294
- A ${a} ${a} 0 0 1 ${M} ${R}
1341
+ L ${m} ${E}
1342
+ A ${a} ${a} 0 0 1 ${M} ${S}
1295
1343
  Z
1296
1344
  `.trim(),
1297
1345
  middlePoint: { x: O, y: L },
@@ -1478,8 +1526,8 @@ function Kn(t) {
1478
1526
  }
1479
1527
  e += `${o === 0 ? "" : "M"}${A(r[0].x)},${A(r[0].y)} `;
1480
1528
  for (let a = 0; a < s; a += 1) {
1481
- const f = r[a].x, h = r[a].y, F = r[a + 1].x, g = r[a + 1].y, p = u[a], y = u[a + 1], x = f + (F - f) / 3, E = h + p * (F - f) / 3, M = F - (F - f) / 3, R = g - y * (F - f) / 3;
1482
- e += `C${A(x)},${A(E)} ${A(M)},${A(R)} ${A(F)},${A(g)} `;
1529
+ const f = r[a].x, h = r[a].y, F = r[a + 1].x, g = r[a + 1].y, p = u[a], y = u[a + 1], m = f + (F - f) / 3, E = h + p * (F - f) / 3, M = F - (F - f) / 3, S = g - y * (F - f) / 3;
1530
+ e += `C${A(m)},${A(E)} ${A(M)},${A(S)} ${A(F)},${A(g)} `;
1483
1531
  }
1484
1532
  }
1485
1533
  return e.trim();
@@ -1508,8 +1556,8 @@ function Wn(t, n, e = !1, o = !0) {
1508
1556
  let h = `M${c[0].x},${n}`;
1509
1557
  h += ` L${c[0].x},${c[0].y}`;
1510
1558
  for (let F = 0; F < i; F += 1) {
1511
- const g = c[F].x, p = c[F].y, y = c[F + 1].x, x = c[F + 1].y, E = f[F], M = f[F + 1], R = g + (y - g) / 3, O = p + E * (y - g) / 3, L = y - (y - g) / 3, m = x - M * (y - g) / 3;
1512
- h += ` C${R},${O} ${L},${m} ${y},${x}`;
1559
+ const g = c[F].x, p = c[F].y, y = c[F + 1].x, m = c[F + 1].y, E = f[F], M = f[F + 1], S = g + (y - g) / 3, O = p + E * (y - g) / 3, L = y - (y - g) / 3, x = m - M * (y - g) / 3;
1560
+ h += ` C${S},${O} ${L},${x} ${y},${m}`;
1513
1561
  }
1514
1562
  return h += ` L${c[i].x},${n} ${o ? "Z" : ""}`, h;
1515
1563
  }).filter(Boolean);
@@ -1643,55 +1691,55 @@ function ne(t) {
1643
1691
  } = t || {};
1644
1692
  if (!Array.isArray(n) || !Array.isArray(e) || !n.length || !e.length)
1645
1693
  return [];
1646
- const a = (m) => Number.isFinite(m);
1647
- function f(m) {
1648
- if (!l) return [m.filter((D) => D && a(D.x) && a(D.y))];
1694
+ const a = (x) => Number.isFinite(x);
1695
+ function f(x) {
1696
+ if (!l) return [x.filter((D) => D && a(D.x) && a(D.y))];
1649
1697
  const $ = [];
1650
- let C = [];
1651
- for (const D of m)
1652
- D && a(D.x) && a(D.y) && D.value != null ? C.push({ x: D.x, y: D.y }) : (C.length > 1 && $.push(C), C = []);
1653
- return C.length > 1 && $.push(C), $;
1698
+ let b = [];
1699
+ for (const D of x)
1700
+ D && a(D.x) && a(D.y) && D.value != null ? b.push({ x: D.x, y: D.y }) : (b.length > 1 && $.push(b), b = []);
1701
+ return b.length > 1 && $.push(b), $;
1654
1702
  }
1655
- function h(m) {
1656
- const $ = m.length - 1, C = new Array($), D = new Array($), d = new Array($), I = new Array(m.length);
1657
- for (let b = 0; b < $; b += 1)
1658
- C[b] = m[b + 1].x - m[b].x, D[b] = m[b + 1].y - m[b].y, d[b] = D[b] / C[b];
1703
+ function h(x) {
1704
+ const $ = x.length - 1, b = new Array($), D = new Array($), d = new Array($), I = new Array(x.length);
1705
+ for (let C = 0; C < $; C += 1)
1706
+ b[C] = x[C + 1].x - x[C].x, D[C] = x[C + 1].y - x[C].y, d[C] = D[C] / b[C];
1659
1707
  I[0] = d[0], I[$] = d[$ - 1];
1660
- for (let b = 1; b < $; b += 1)
1661
- d[b - 1] * d[b] <= 0 ? I[b] = 0 : I[b] = 2 * d[b - 1] * d[b] / (d[b - 1] + d[b]);
1708
+ for (let C = 1; C < $; C += 1)
1709
+ d[C - 1] * d[C] <= 0 ? I[C] = 0 : I[C] = 2 * d[C - 1] * d[C] / (d[C - 1] + d[C]);
1662
1710
  return I;
1663
1711
  }
1664
- function F(m, $, C, D, d) {
1665
- const I = m.x, b = $.x, w = m.y, S = $.y, T = b - I;
1712
+ function F(x, $, b, D, d) {
1713
+ const I = x.x, C = $.x, w = x.y, B = $.y, T = C - I;
1666
1714
  if (T === 0) return w;
1667
- const P = (d - I) / T, N = P * P, Y = N * P, H = 2 * Y - 3 * N + 1, B = Y - 2 * N + P, k = -2 * Y + 3 * N, U = Y - N;
1668
- return H * w + B * (C * T) + k * S + U * (D * T);
1715
+ const P = (d - I) / T, N = P * P, Y = N * P, H = 2 * Y - 3 * N + 1, R = Y - 2 * N + P, k = -2 * Y + 3 * N, U = Y - N;
1716
+ return H * w + R * (b * T) + k * B + U * (D * T);
1669
1717
  }
1670
- function g(m, $) {
1671
- const C = f(m);
1672
- if (!C.length) return [];
1718
+ function g(x, $) {
1719
+ const b = f(x);
1720
+ if (!b.length) return [];
1673
1721
  let D = 1 / 0, d = -1 / 0;
1674
- for (const S of C)
1675
- D = Math.min(D, S[0].x), d = Math.max(d, S[S.length - 1].x);
1722
+ for (const B of b)
1723
+ D = Math.min(D, B[0].x), d = Math.max(d, B[B.length - 1].x);
1676
1724
  if (!a(D) || !a(d) || d <= D) return [];
1677
- const I = Math.max(1, i), b = [];
1678
- for (let S = D; S <= d; S += I) b.push(S);
1679
- b[b.length - 1] < d && b.push(d);
1725
+ const I = Math.max(1, i), C = [];
1726
+ for (let B = D; B <= d; B += I) C.push(B);
1727
+ C[C.length - 1] < d && C.push(d);
1680
1728
  const w = [];
1681
- for (const S of b) {
1729
+ for (const B of C) {
1682
1730
  let T = null, P = !1;
1683
- for (const N of C) {
1731
+ for (const N of b) {
1684
1732
  const Y = N.length - 1;
1685
- if (!(S < N[0].x - 1e-9 || S > N[Y].x + 1e-9)) {
1733
+ if (!(B < N[0].x - 1e-9 || B > N[Y].x + 1e-9)) {
1686
1734
  for (let H = 0; H < Y; H += 1) {
1687
- const B = N[H], k = N[H + 1];
1688
- if (!(S + 1e-9 < B.x || S - 1e-9 > k.x)) {
1735
+ const R = N[H], k = N[H + 1];
1736
+ if (!(B + 1e-9 < R.x || B - 1e-9 > k.x)) {
1689
1737
  if ($) {
1690
1738
  const U = N.__tangents || (N.__tangents = h(N));
1691
- T = F(B, k, U[H], U[H + 1], S);
1739
+ T = F(R, k, U[H], U[H + 1], B);
1692
1740
  } else {
1693
- const U = (S - B.x) / (k.x - B.x || 1);
1694
- T = B.y + U * (k.y - B.y);
1741
+ const U = (B - R.x) / (k.x - R.x || 1);
1742
+ T = R.y + U * (k.y - R.y);
1695
1743
  }
1696
1744
  P = !0;
1697
1745
  break;
@@ -1700,73 +1748,73 @@ function ne(t) {
1700
1748
  if (P) break;
1701
1749
  }
1702
1750
  }
1703
- T == null ? w.push({ x: S, y: null, hole: !0 }) : w.push({ x: S, y: T, hole: !1 });
1751
+ T == null ? w.push({ x: B, y: null, hole: !0 }) : w.push({ x: B, y: T, hole: !1 });
1704
1752
  }
1705
1753
  return w;
1706
1754
  }
1707
- function p(m, $, C) {
1708
- return m + C * ($ - m);
1755
+ function p(x, $, b) {
1756
+ return x + b * ($ - x);
1709
1757
  }
1710
- function y(m, $) {
1711
- const C = [], D = [], d = Math.min(m.length, $.length);
1758
+ function y(x, $) {
1759
+ const b = [], D = [], d = Math.min(x.length, $.length);
1712
1760
  for (let I = 0; I < d - 1; I += 1) {
1713
- const b = m[I], w = m[I + 1], S = $[I], T = $[I + 1];
1714
- if (C.push(b), D.push(S), b.hole || w.hole || S.hole || T.hole || b.y == null || w.y == null || S.y == null || T.y == null)
1761
+ const C = x[I], w = x[I + 1], B = $[I], T = $[I + 1];
1762
+ if (b.push(C), D.push(B), C.hole || w.hole || B.hole || T.hole || C.y == null || w.y == null || B.y == null || T.y == null)
1715
1763
  continue;
1716
- const P = b.y - S.y, N = w.y - T.y;
1764
+ const P = C.y - B.y, N = w.y - T.y;
1717
1765
  if (P > 0 && N < 0 || P < 0 && N > 0) {
1718
- const Y = P / (P - N), H = p(b.x, w.x, Y), B = p(b.y, w.y, Y), k = { x: H, y: B, hole: !1 }, U = { x: H, y: B, hole: !1 };
1719
- C.push(k), D.push(U);
1766
+ const Y = P / (P - N), H = p(C.x, w.x, Y), R = p(C.y, w.y, Y), k = { x: H, y: R, hole: !1 }, U = { x: H, y: R, hole: !1 };
1767
+ b.push(k), D.push(U);
1720
1768
  }
1721
1769
  }
1722
- return d > 0 && (C.push(m[d - 1]), D.push($[d - 1])), { A: C, B: D };
1770
+ return d > 0 && (b.push(x[d - 1]), D.push($[d - 1])), { A: b, B: D };
1723
1771
  }
1724
- function x(m, $) {
1725
- const C = [], D = Math.min(m.length, $.length);
1772
+ function m(x, $) {
1773
+ const b = [], D = Math.min(x.length, $.length);
1726
1774
  for (let d = 0; d < D - 1; d += 1) {
1727
- const I = m[d], b = m[d + 1], w = $[d], S = $[d + 1];
1728
- if (I.hole || b.hole || w.hole || S.hole || I.y == null || b.y == null || w.y == null || S.y == null) continue;
1729
- const T = I.y - w.y, P = b.y - S.y, N = T <= 0 ? I : w, Y = P <= 0 ? b : S, H = P <= 0 ? S : b, B = T <= 0 ? w : I, k = T <= 0 ? o : r, U = [
1775
+ const I = x[d], C = x[d + 1], w = $[d], B = $[d + 1];
1776
+ if (I.hole || C.hole || w.hole || B.hole || I.y == null || C.y == null || w.y == null || B.y == null) continue;
1777
+ const T = I.y - w.y, P = C.y - B.y, N = T <= 0 ? I : w, Y = P <= 0 ? C : B, H = P <= 0 ? B : C, R = T <= 0 ? w : I, k = T <= 0 ? o : r, U = [
1730
1778
  `M${N.x},${N.y}`,
1731
1779
  `L${Y.x},${Y.y}`,
1732
1780
  `L${H.x},${H.y}`,
1733
- `L${B.x},${B.y}`,
1781
+ `L${R.x},${R.y}`,
1734
1782
  "Z"
1735
1783
  ].join(" ");
1736
- C.push({ d: U, color: k });
1784
+ b.push({ d: U, color: k });
1737
1785
  }
1738
- return C;
1786
+ return b;
1739
1787
  }
1740
- function E(m, $) {
1741
- const C = [], D = Math.min(m.length, $.length);
1742
- if (D < 2) return C;
1788
+ function E(x, $) {
1789
+ const b = [], D = Math.min(x.length, $.length);
1790
+ if (D < 2) return b;
1743
1791
  let d = 0;
1744
1792
  for (; d < D - 1; ) {
1745
1793
  for (; d < D - 1; ) {
1746
- const B = m[d], k = $[d], U = m[d + 1], j = $[d + 1];
1747
- if (!B.hole && !k.hole && !U.hole && !j.hole && B.y != null && k.y != null && U.y != null && j.y != null) break;
1794
+ const R = x[d], k = $[d], U = x[d + 1], j = $[d + 1];
1795
+ if (!R.hole && !k.hole && !U.hole && !j.hole && R.y != null && k.y != null && U.y != null && j.y != null) break;
1748
1796
  d += 1;
1749
1797
  }
1750
1798
  if (d >= D - 1) break;
1751
- const I = d, b = Math.sign($[d].y - m[d].y || 0) || 1;
1799
+ const I = d, C = Math.sign($[d].y - x[d].y || 0) || 1;
1752
1800
  for (d += 1; d < D - 1; ) {
1753
- const B = m[d], k = $[d], U = m[d + 1], j = $[d + 1];
1754
- if (B.hole || k.hole || U.hole || j.hole || B.y == null || k.y == null || U.y == null || j.y == null || (Math.sign(k.y - B.y || 0) || 1) !== b) break;
1801
+ const R = x[d], k = $[d], U = x[d + 1], j = $[d + 1];
1802
+ if (R.hole || k.hole || U.hole || j.hole || R.y == null || k.y == null || U.y == null || j.y == null || (Math.sign(k.y - R.y || 0) || 1) !== C) break;
1755
1803
  d += 1;
1756
1804
  }
1757
- const w = d + 0, S = b >= 0 ? m : $, T = b >= 0 ? $ : m, P = b >= 0 ? o : r, N = [];
1758
- for (let B = I; B <= w; B += 1)
1759
- N.push(`${S[B].x},${S[B].y}`);
1805
+ const w = d + 0, B = C >= 0 ? x : $, T = C >= 0 ? $ : x, P = C >= 0 ? o : r, N = [];
1806
+ for (let R = I; R <= w; R += 1)
1807
+ N.push(`${B[R].x},${B[R].y}`);
1760
1808
  const Y = [];
1761
- for (let B = w; B >= I; B -= 1)
1762
- Y.push(`${T[B].x},${T[B].y}`);
1809
+ for (let R = w; R >= I; R -= 1)
1810
+ Y.push(`${T[R].x},${T[R].y}`);
1763
1811
  const H = `M${N[0]} L${N.slice(1).join(" L")} L${Y.join(" L")} Z`;
1764
- C.push({ d: H, color: P });
1812
+ b.push({ d: H, color: P });
1765
1813
  }
1766
- return C;
1814
+ return b;
1767
1815
  }
1768
- const M = g(n, s), R = g(e, c), { A: O, B: L } = y(M, R);
1769
- return u ? E(O, L) : x(O, L);
1816
+ const M = g(n, s), S = g(e, c), { A: O, B: L } = y(M, S);
1817
+ return u ? E(O, L) : m(O, L);
1770
1818
  }
1771
1819
  function ee(t, n, e = {}) {
1772
1820
  const r = { ...{ bubbles: !0, cancelable: !0, composed: !0 }, ...e }, s = /* @__PURE__ */ new Set([
@@ -1825,35 +1873,35 @@ const se = Pt((t, n, e, o, r, s, c, i) => {
1825
1873
  if (t)
1826
1874
  return o.length <= 2 ? o.map((E, M) => ({ text: E, absoluteIndex: M })) : o.map((E, M) => ({ text: M === 0 || M === o.length - 1 || c != null && M === c ? E : "", absoluteIndex: M }));
1827
1875
  if (!n)
1828
- return o.map((x, E) => ({ text: x, absoluteIndex: E }));
1876
+ return o.map((m, E) => ({ text: m, absoluteIndex: E }));
1829
1877
  const l = Math.max(1, e || 1);
1830
1878
  if (i <= l)
1831
- return o.map((x, E) => ({ text: x, absoluteIndex: E }));
1879
+ return o.map((m, E) => ({ text: m, absoluteIndex: E }));
1832
1880
  const u = [];
1833
- for (let x = 0; x < o.length; x += 1) {
1834
- const E = o[x] ?? "";
1881
+ for (let m = 0; m < o.length; m += 1) {
1882
+ const E = o[m] ?? "";
1835
1883
  if (!E) continue;
1836
- const M = s + x - 1 >= 0 ? r[s + x - 1] ?? "" : null;
1837
- E !== M && u.push(x);
1884
+ const M = s + m - 1 >= 0 ? r[s + m - 1] ?? "" : null;
1885
+ E !== M && u.push(m);
1838
1886
  }
1839
1887
  if (!u.length)
1840
- return o.map((x, E) => ({ text: "", absoluteIndex: E }));
1888
+ return o.map((m, E) => ({ text: "", absoluteIndex: E }));
1841
1889
  const a = u.length, f = l, h = Math.max(2, Math.min(f - 3, a)), F = Math.min(a, f + 3);
1842
1890
  let g = Math.min(f, a), p = 1 / 0;
1843
- for (let x = h; x <= F; x += 1) {
1844
- const E = (a - 1) % (x - 1), M = Math.abs(x - f), R = E * 10 + M;
1845
- R < p && (p = R, g = x);
1891
+ for (let m = h; m <= F; m += 1) {
1892
+ const E = (a - 1) % (m - 1), M = Math.abs(m - f), S = E * 10 + M;
1893
+ S < p && (p = S, g = m);
1846
1894
  }
1847
1895
  const y = /* @__PURE__ */ new Set();
1848
1896
  if (g <= 1)
1849
1897
  y.add(u[Math.round((a - 1) / 2)]);
1850
1898
  else {
1851
- const x = (a - 1) / (g - 1);
1899
+ const m = (a - 1) / (g - 1);
1852
1900
  for (let E = 0; E < g; E += 1)
1853
- y.add(u[Math.round(E * x)]);
1901
+ y.add(u[Math.round(E * m)]);
1854
1902
  }
1855
- return o.map((x, E) => ({
1856
- text: y.has(E) ? x : "",
1903
+ return o.map((m, E) => ({
1904
+ text: y.has(E) ? m : "",
1857
1905
  absoluteIndex: E
1858
1906
  }));
1859
1907
  });
@@ -1897,7 +1945,7 @@ export {
1897
1945
  Gt as Q,
1898
1946
  kn as R,
1899
1947
  se as S,
1900
- Sn as T,
1948
+ Bn as T,
1901
1949
  A as U,
1902
1950
  Wn as V,
1903
1951
  Xn as W,
@@ -1908,7 +1956,7 @@ export {
1908
1956
  Ln as a,
1909
1957
  Gn as a0,
1910
1958
  Nn as a1,
1911
- Bn as a2,
1959
+ Rn as a2,
1912
1960
  Ht as a3,
1913
1961
  nn as a4,
1914
1962
  V as a5,
@@ -1925,18 +1973,18 @@ export {
1925
1973
  _ as ae,
1926
1974
  sn as af,
1927
1975
  _n as ag,
1928
- Rn as ah,
1976
+ Sn as ah,
1929
1977
  Pn as ai,
1930
1978
  Wt as aj,
1931
1979
  qt as ak,
1932
- mn as al,
1980
+ xn as al,
1933
1981
  hn as am,
1934
1982
  Yn as an,
1935
1983
  zt as ao,
1936
1984
  Jn as ap,
1937
- bn as aq,
1985
+ Cn as aq,
1938
1986
  In as ar,
1939
- Cn as as,
1987
+ bn as as,
1940
1988
  Vn as at,
1941
1989
  te as au,
1942
1990
  Tn as av,
@@ -1954,7 +2002,7 @@ export {
1954
2002
  v as i,
1955
2003
  ot as j,
1956
2004
  $n as k,
1957
- xn as l,
2005
+ mn as l,
1958
2006
  ut as m,
1959
2007
  _t as n,
1960
2008
  En as o,
@@ -1962,7 +2010,7 @@ export {
1962
2010
  an as q,
1963
2011
  on as r,
1964
2012
  wn as s,
1965
- xt as t,
2013
+ mt as t,
1966
2014
  ln as u,
1967
2015
  cn as v,
1968
2016
  q as w,