vue-data-ui 3.22.13 → 3.22.14

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 (174) hide show
  1. package/dist/{Arrow-DKx74WtM.js → Arrow-Ci7Burxz.js} +1 -1
  2. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-hyW32gLf.js} +2 -2
  3. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-DJbOzCDs.js} +1 -1
  4. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-DJU4VsLO.js} +1 -1
  5. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-CwhpsHIL.js} +2 -2
  6. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-BVWrKEQl.js} +2 -2
  7. package/dist/{DataTable-DzPEVvSo.js → DataTable-rIsBpJMt.js} +2 -2
  8. package/dist/{Legend-C0xAnJdO.js → Legend-DSPDFP3n.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-DZyYthbM.js} +3 -3
  10. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion-BUmadjVO.js} +1 -1
  11. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-D--sbRMA.js} +3 -3
  12. package/dist/{Shape-BfnXr1nJ.js → Shape-Dmh9jBFh.js} +1 -1
  13. package/dist/{Slicer-C6qNUmZ4.js → Slicer-JdCzBeYM.js} +2 -2
  14. package/dist/{SlicerPreview-Cw6WMVhG.js → SlicerPreview-CCIb3v8u.js} +2 -2
  15. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-GjWLZ39s.js} +1 -1
  16. package/dist/{Title-BuPs74IB.js → Title-Thf71-8D.js} +1 -1
  17. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CEbqzIhL.js} +1 -1
  18. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-BknvMNU1.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-BbPRUKX6.js} +1 -1
  89. package/dist/{exposedLib-Ciw6TGtP.js → exposedLib-CfZhN94x.js} +1 -1
  90. package/dist/{img-Bikk1dGb.js → img-zY7_pJz1.js} +1 -1
  91. package/dist/{labelUtils-BUhssos9.js → labelUtils-DYdYmN_Q.js} +1 -1
  92. package/dist/{lib-CFm_J26b.js → lib-C-QGo8GG.js} +211 -173
  93. package/dist/{package-DmDydylu.js → package-QmuZcjWs.js} +1 -1
  94. package/dist/{pdf-zmz3l2uy.js → pdf-CuSS-5_j.js} +1 -1
  95. package/dist/{render-common-BIG8JYGK.js → render-common-DasqIYp9.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/{useAutoSizeLabelsInsideViewbox-C9RNjsGv.js → useAutoSizeLabelsInsideViewbox-CSzmRywi.js} +1 -1
  101. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp-BYfiWVP8.js} +1 -1
  102. package/dist/{usePrinter-BH-xle1O.js → usePrinter-C5ordS-4.js} +2 -2
  103. package/dist/utils.js +2 -2
  104. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-D3jZ4lg1.js} +68 -68
  105. package/dist/vue-data-ui.js +71 -71
  106. package/dist/{vue-ui-3d-bar-D5xHEWr1.js → vue-ui-3d-bar-D9-jAA5Z.js} +6 -6
  107. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-FimGHtuy.js} +3 -3
  108. package/dist/{vue-ui-age-pyramid-CAJg01c7.js → vue-ui-age-pyramid-D4f-Agb7.js} +6 -6
  109. package/dist/{vue-ui-annotator-q3ZKx6ua.js → vue-ui-annotator-P9E8hpJl.js} +6 -6
  110. package/dist/{vue-ui-bullet-ByeaWGfI.js → vue-ui-bullet-CKg0bShN.js} +7 -7
  111. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-CG3WTTFy.js} +6 -6
  112. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-C3smYvQA.js} +7 -7
  113. package/dist/{vue-ui-carousel-table-DO5NRXvX.js → vue-ui-carousel-table-BD_fxykj.js} +4 -4
  114. package/dist/{vue-ui-chestnut-BfeSPeEh.js → vue-ui-chestnut-i7FYoqi8.js} +5 -5
  115. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-DCZo55QA.js} +8 -8
  116. package/dist/{vue-ui-circle-pack-Cqmlw7AV.js → vue-ui-circle-pack--DUVDQx3.js} +6 -6
  117. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-DEf_l0Xc.js} +3 -3
  118. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-beo3-quD.js} +7 -7
  119. package/dist/{vue-ui-dashboard-DLvGJXJY.js → vue-ui-dashboard-mGLvP0UA.js} +69 -69
  120. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-BnMqGAhl.js} +3 -3
  121. package/dist/{vue-ui-donut-ZIRebAWc.js → vue-ui-donut-BCLG16Vb.js} +10 -10
  122. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Cr0uTWGk.js} +2 -2
  123. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D54NP3FP.js} +9 -9
  124. package/dist/{vue-ui-dumbbell-gDYjU2oF.js → vue-ui-dumbbell-DZ78WASa.js} +7 -7
  125. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-CnateJjc.js} +7 -7
  126. package/dist/{vue-ui-funnel-BtaYaU0r.js → vue-ui-funnel-DSpUMyDO.js} +6 -6
  127. package/dist/{vue-ui-galaxy-BMp-HzDh.js → vue-ui-galaxy-CxKafV1X.js} +9 -9
  128. package/dist/{vue-ui-gauge-CBou0cFE.js → vue-ui-gauge-CegUK3FD.js} +7 -7
  129. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-DnO1RIFR.js} +7 -7
  130. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-DyxeSKIk.js} +3 -3
  131. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-6Ja5LKYE.js} +7 -7
  132. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-XOexkxeI.js} +8 -8
  133. package/dist/{vue-ui-horizontal-bar-BuwxI7d1.js → vue-ui-horizontal-bar-BCTdLxjK.js} +10 -10
  134. package/dist/{vue-ui-kpi-ByxoO01r.js → vue-ui-kpi-EenGDZ-l.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-D9pprk2c.js → vue-ui-mini-loader-CA7XxPk7.js} +2 -2
  136. package/dist/{vue-ui-molecule-BqJJq49_.js → vue-ui-molecule-5rpD2mlK.js} +5 -5
  137. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-TWo57SKD.js} +7 -7
  138. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-W0TpPXIQ.js} +9 -9
  139. package/dist/{vue-ui-onion-CRQOxurS.js → vue-ui-onion-CDC9AGh1.js} +10 -10
  140. package/dist/{vue-ui-parallel-coordinate-plot-Dhn18RtR.js → vue-ui-parallel-coordinate-plot-DUOI7HoD.js} +9 -9
  141. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-BM9VLDcC.js} +9 -9
  142. package/dist/{vue-ui-quick-chart-DAhSXYnp.js → vue-ui-quick-chart-B8XCKef-.js} +7 -7
  143. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-BVz6Uq2k.js} +9 -9
  144. package/dist/{vue-ui-rating-DbxK-ftN.js → vue-ui-rating-B7ApWpIJ.js} +2 -2
  145. package/dist/{vue-ui-relation-circle-Cb33DMZo.js → vue-ui-relation-circle-LVOR5VZ6.js} +7 -7
  146. package/dist/{vue-ui-ridgeline-D7aArzQk.js → vue-ui-ridgeline-BlyzSJHc.js} +9 -9
  147. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-DEZrfBYX.js} +10 -10
  148. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-owaIOpD0.js} +9 -9
  149. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-Cxszgax7.js} +3 -3
  150. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DZBPvVeN.js} +2 -2
  151. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-CW4cLUqP.js} +3 -3
  152. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DeSSqv4v.js} +3 -3
  153. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-VSiPVgUQ.js} +3 -3
  154. package/dist/{vue-ui-sparkhistogram-D1oFTrvt.js → vue-ui-sparkhistogram-B5252IVr.js} +4 -4
  155. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-DyZdAQMl.js} +3 -3
  156. package/dist/{vue-ui-sparkstackbar-BlFio0lP.js → vue-ui-sparkstackbar-CiLgNzaI.js} +4 -4
  157. package/dist/{vue-ui-stackbar-Cu13EdVa.js → vue-ui-stackbar-Bwz6Z7M4.js} +10 -10
  158. package/dist/{vue-ui-stackline-DKL0o_-3.js → vue-ui-stackline-DX3YDRSg.js} +10 -10
  159. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-BquHFKHA.js} +7 -7
  160. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-DEhy61ln.js} +5 -5
  161. package/dist/{vue-ui-table-heatmap-CSI482KG.js → vue-ui-table-heatmap-1LTxQfQX.js} +5 -5
  162. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CyGqW88t.js} +4 -4
  163. package/dist/{vue-ui-thermometer-D6Czx7Fb.js → vue-ui-thermometer-CNvTQJUq.js} +7 -7
  164. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-BVjydam-.js} +5 -5
  165. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-3ZBAE8SA.js} +6 -6
  166. package/dist/{vue-ui-treemap-BOEYCOdk.js → vue-ui-treemap-FqqXQvZw.js} +9 -9
  167. package/dist/{vue-ui-waffle-BrM8IHdG.js → vue-ui-waffle-B37Yx9uw.js} +10 -10
  168. package/dist/{vue-ui-wheel-BNsajigQ.js → vue-ui-wheel-D-VVxvxY.js} +6 -6
  169. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-CcRch2t2.js} +7 -7
  170. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BJq4PZqF.js} +7 -7
  171. package/dist/{vue-ui-xy-Dt_1bSBT.js → vue-ui-xy-B8XBn08L.js} +2 -2
  172. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-D64AB5Qy.js} +13 -11
  173. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-mDqjPtxh.js} +11 -11
  174. package/package.json +1 -1
@@ -231,7 +231,7 @@ var v = {
231
231
  function b(t) {
232
232
  let r = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, i = /^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, a = /^rgba?\(\s*([+\-]?\d*\.?\d+%?)(?:\s*,\s*|\s+)([+\-]?\d*\.?\d+%?)(?:\s*,\s*|\s+)([+\-]?\d*\.?\d+%?)(?:\s*(?:,|\/)\s*([+\-]?\d*\.?\d+%?))?\s*\)$/i, o = /^hsla?\(\s*([+\-]?\d*\.?\d+(?:deg)?)(?:\s*,\s*|\s+)([\d.]+)%(?:\s*,\s*|\s+)([\d.]+)%(?:\s*(?:,|\/)\s*([\d.]+%?))?\s*\)$/i, s = /^oklch\(\s*([\d.]+)%?\s*[, ]\s*([\d.]+)%?\s*[, ]\s*([\d.]+)(?:deg)?\s*(?:\/\s*([\d.]+%?)\s*)?\)$/i, c = /^lch\(/i;
233
233
  if (t == null || typeof t == "number" && isNaN(t)) return null;
234
- if (t = e?.(t) ? n(t) : t, t = Ue(t), Array.isArray(t)) {
234
+ if (t = e?.(t) ? n(t) : t, t = We(t), Array.isArray(t)) {
235
235
  let [e, n, r, i = 1] = t;
236
236
  t = `rgba(${e},${n},${r},${i})`;
237
237
  } else if (typeof t == "object") if (Number.isFinite(t.r) && Number.isFinite(t.g) && Number.isFinite(t.b)) {
@@ -579,7 +579,7 @@ function he(e) {
579
579
  for (let n = 0; n < e.length; n += 1) t.push(`${h(e[n].x)},${h(e[n].y)} `);
580
580
  return t.join(" ").trim();
581
581
  }
582
- function I(e, t = null) {
582
+ function ge(e, t = null) {
583
583
  let n = (e) => e && e.value !== null && e.value !== void 0 && Number.isFinite(e.x) && Number.isFinite(e.y), r = [], i = [];
584
584
  for (let t of e) n(t) ? i.push(t) : (i.length && r.push(i), i = []);
585
585
  return i.length && r.push(i), r.map((e) => {
@@ -592,7 +592,7 @@ function I(e, t = null) {
592
592
  return t != null && (n.unshift(`${h(e[0].x)},${h(t)}`), n.push(`${h(e.at(-1).x)},${h(t)}`)), n.join(" ");
593
593
  }).filter(Boolean).join(";");
594
594
  }
595
- function L(e) {
595
+ function I(e) {
596
596
  if (e.length < 2) return "0,0";
597
597
  let t = e.length - 1, n = [`${h(e[0].x)},${h(e[0].y)}`], r = [], i = [], a = [], o = [];
598
598
  for (let n = 0; n < t; n += 1) r[n] = e[n + 1].x - e[n].x, i[n] = e[n + 1].y - e[n].y, a[n] = i[n] / r[n];
@@ -604,7 +604,7 @@ function L(e) {
604
604
  }
605
605
  return n.join(" ");
606
606
  }
607
- function R(e, t = .2) {
607
+ function L(e, t = .2) {
608
608
  function n(e, t) {
609
609
  let n = t.x - e.x, r = t.y - e.y;
610
610
  return {
@@ -625,30 +625,30 @@ function R(e, t = .2) {
625
625
  }
626
626
  return e.filter((e) => !!e).reduce((e, t, n, r) => n === 0 ? `${h(t.x)},${h(t.y)} ` : `${e} ${i(t, n, r)} `, "");
627
627
  }
628
- function ge() {
628
+ function _e() {
629
629
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
630
630
  let t = Math.random() * 16 | 0;
631
631
  return (e == "x" ? t : t & 3 | 8).toString(16);
632
632
  });
633
633
  }
634
- function z(e, t = !1, n = 16, r = !1) {
634
+ function R(e, t = !1, n = 16, r = !1) {
635
635
  let i = 0, a = t ? n : 0, o = r ? "center" : "middle";
636
636
  return e.center.endX > e.cx ? (i = e.center.endX + n + a, o = r ? "left" : "start") : e.center.endX < e.cx ? (i = e.center.endX - n - a, o = r ? "right" : "end") : (i = e.centerX + a, o = r ? "center" : "middle"), {
637
637
  x: i,
638
638
  anchor: o
639
639
  };
640
640
  }
641
- function B(e, t = 16, n = 16) {
641
+ function z(e, t = 16, n = 16) {
642
642
  return e.center.endY > e.cy ? e.center.endY + n : e.center.endY < e.cy ? e.center.endY - t : e.center.endY;
643
643
  }
644
- function _e({ initX: e, initY: t, offset: n, centerX: r, centerY: i }) {
644
+ function ve({ initX: e, initY: t, offset: n, centerX: r, centerY: i }) {
645
645
  let a = Math.atan2(t - i, e - r);
646
646
  return {
647
647
  x: e + n * Math.cos(a),
648
648
  y: t + n * Math.sin(a)
649
649
  };
650
650
  }
651
- function V(e) {
651
+ function B(e) {
652
652
  let t = document.createElementNS("http://www.w3.org/2000/svg", "path");
653
653
  t.setAttribute("d", e);
654
654
  let n = t.getTotalLength(), r = 0, i = n, a = n / 2, o = .01;
@@ -665,23 +665,23 @@ function V(e) {
665
665
  y: c
666
666
  };
667
667
  }
668
- function ve(e, t = !1, n = 16, r = 16, i = !1, a = !1, o = 0, s = 12, c = !1) {
669
- let { x: l } = V(e.path), u = `${z(e).x},${B(e, n, r) - 4} `, d = "", f, p;
670
- l > e.cx ? (f = z(e).x - s, p = B(e, n, r) - 4, d = `${f},${p}`) : (e.cx, f = z(e).x + s, p = B(e, n, r) - 4, d = `${f},${p}`);
668
+ function ye(e, t = !1, n = 16, r = 16, i = !1, a = !1, o = 0, s = 12, c = !1) {
669
+ let { x: l } = B(e.path), u = `${R(e).x},${z(e, n, r) - 4} `, d = "", f, p;
670
+ l > e.cx ? (f = R(e).x - s, p = z(e, n, r) - 4, d = `${f},${p}`) : (e.cx, f = R(e).x + s, p = z(e, n, r) - 4, d = `${f},${p}`);
671
671
  let m = ` ${e.center.endX},${e.center.endY}`;
672
672
  return c ? a ? `M${d} Q${d} ${m}` : `M${u} Q${d} ${m}` : `M${a ? "" : u}${d}${m}`;
673
673
  }
674
- function ye(e) {
674
+ function be(e) {
675
675
  return ![
676
676
  null,
677
677
  void 0,
678
678
  NaN
679
679
  ].includes(e);
680
680
  }
681
- function be(e, t) {
681
+ function xe(e, t) {
682
682
  return [...e].map((e) => e[t]).reduce((e, t) => e + t, 0);
683
683
  }
684
- function xe(e, t = !0, n = !1) {
684
+ function Se(e, t = !0, n = !1) {
685
685
  if (!e.length) return "M0,0";
686
686
  let r = "";
687
687
  return e.forEach((e) => {
@@ -689,33 +689,33 @@ function xe(e, t = !0, n = !1) {
689
689
  r += `${e.x},${e.y} `;
690
690
  }), n ? r.trim() : `M${r}${t ? "Z" : ""}`;
691
691
  }
692
- function Se({ csvContent: e, title: t = "vue-data-ui" }) {
692
+ function Ce({ csvContent: e, title: t = "vue-data-ui" }) {
693
693
  let n = encodeURI(e), r = document.createElement("a");
694
694
  r.setAttribute("href", n), r.setAttribute("download", `${t}.csv`), document.body.appendChild(r), r.click(), r.remove(), window.URL.revokeObjectURL(n);
695
695
  }
696
- function Ce(e) {
696
+ function we(e) {
697
697
  return `data:text/csv;charset=utf-8,${e.map((e) => e.join(",")).join("\n")}`;
698
698
  }
699
- function we(e, t) {
699
+ function Te(e, t) {
700
700
  if (!/^#([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)) return console.warn("lightenHexColor : Invalid hex color format"), "#000000";
701
701
  let n = e.replace("#", "");
702
702
  n.length === 3 && (n = n.split("").map((e) => e + e).join(""));
703
703
  let r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = Math.min(255, r + (255 - r) * t), s = Math.min(255, i + (255 - i) * t), c = Math.min(255, a + (255 - a) * t), l = `#${Math.round(o).toString(16).padStart(2, "0")}${Math.round(s).toString(16).padStart(2, "0")}${Math.round(c).toString(16).padStart(2, "0")}`;
704
704
  return n.length === 8 ? l + n.substring(6, 8) : l;
705
705
  }
706
- function Te(e, t) {
706
+ function Ee(e, t) {
707
707
  if (!/^#([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)) return console.warn("darkenHexColor: Invalid hex color format"), "#000000";
708
708
  let n = e.replace("#", "");
709
709
  n.length === 3 && (n = n.split("").map((e) => e + e).join(""));
710
710
  let r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = Math.max(0, r - r * t), s = Math.max(0, i - i * t), c = Math.max(0, a - a * t), l = `#${Math.round(o).toString(16).padStart(2, "0")}${Math.round(s).toString(16).padStart(2, "0")}${Math.round(c).toString(16).padStart(2, "0")}`;
711
711
  return n.length === 8 ? l + n.substring(6, 8) : l;
712
712
  }
713
- function H(e, t) {
713
+ function V(e, t) {
714
714
  let n = Math.floor(Math.log10(e)), r = e / 10 ** n, i;
715
715
  return i = t ? r < 1.5 ? 1 : r < 3 ? 2 : r < 7 ? 5 : 10 : r <= 1 ? 1 : r <= 2 ? 2 : r <= 5 ? 5 : 10, i * 10 ** n;
716
716
  }
717
- function Ee(e, t, n, r = !1) {
718
- let i = r ? t - e : H(t - e, !1), a = r ? i / (n - 1) : H(i / (n - 1), !0), o = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, c = [];
717
+ function De(e, t, n, r = !1) {
718
+ let i = r ? t - e : V(t - e, !1), a = r ? i / (n - 1) : V(i / (n - 1), !0), o = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, c = [];
719
719
  for (let e = o; e <= s; e += a) c.push(e);
720
720
  return {
721
721
  min: o,
@@ -724,8 +724,8 @@ function Ee(e, t, n, r = !1) {
724
724
  ticks: c
725
725
  };
726
726
  }
727
- function De(e, t, n, r = !1) {
728
- let i = r ? t - e : H(t - e, !1), a = r ? i / (n - 1) : H(i / (n - 1), !0), o = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, c = [], l = o;
727
+ function Oe(e, t, n, r = !1) {
728
+ let i = r ? t - e : V(t - e, !1), a = r ? i / (n - 1) : V(i / (n - 1), !0), o = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, c = [], l = o;
729
729
  for (; l <= s;) l >= e && l <= t && c.push(l), l += a;
730
730
  return c[0] !== e && (c[0] = e), c[c.length - 1] !== t && (c[c.length - 1] = t), {
731
731
  min: e,
@@ -734,7 +734,7 @@ function De(e, t, n, r = !1) {
734
734
  ticks: c
735
735
  };
736
736
  }
737
- function Oe(e) {
737
+ function ke(e) {
738
738
  if (typeof e != "string") return console.error("hexColor must be a string"), "#000000ff";
739
739
  let t = e.trim();
740
740
  if (!t.startsWith("#")) return console.error("hexColor must start with #"), "#000000ff";
@@ -746,40 +746,40 @@ function Oe(e) {
746
746
  8
747
747
  ].includes(n.length) ? /^[0-9a-fA-F]+$/.test(n) ? n.length === 3 || n.length === 4 ? `#${n.split("").map((e) => e + e).join("")}` : t : (console.error("hexColor contains invalid characters"), "#000000ff") : (console.error("hexColor must be #RGB, #RGBA, #RRGGBB, or #RRGGBBAA"), "#000000ff");
748
748
  }
749
- var U = (e) => {
750
- let t = Oe(e);
749
+ var H = (e) => {
750
+ let t = ke(e);
751
751
  return {
752
752
  r: parseInt(t.substring(1, 3), 16),
753
753
  g: parseInt(t.substring(3, 5), 16),
754
754
  b: parseInt(t.substring(5, 7), 16),
755
755
  a: t.length === 9 ? parseInt(t.substring(7, 9), 16) / 255 : 1
756
756
  };
757
- }, ke = ({ r: e, g: t, b: n, a: r = 1 }) => {
758
- let i = W(r, 0, 1), a = `#${k(e)}${k(t)}${k(n)}`;
757
+ }, Ae = ({ r: e, g: t, b: n, a: r = 1 }) => {
758
+ let i = U(r, 0, 1), a = `#${k(e)}${k(t)}${k(n)}`;
759
759
  return i < 1 ? `${a}${k(i * 255)}` : a;
760
760
  };
761
- function W(e, t, n) {
761
+ function U(e, t, n) {
762
762
  return Math.min(Math.max(e, t), n);
763
763
  }
764
- function Ae(e, t, n, r, i) {
765
- let a = U(e), o = U(t);
764
+ function je(e, t, n, r, i) {
765
+ let a = H(e), o = H(t);
766
766
  i = Math.min(Math.max(i, n), r);
767
767
  let s = (i - n) / (r - n), c = {
768
768
  r: Math.round(a.r + (o.r - a.r) * s),
769
769
  g: Math.round(a.g + (o.g - a.g) * s),
770
770
  b: Math.round(a.b + (o.b - a.b) * s)
771
771
  }, l = a.a + (o.a - a.a) * s;
772
- return ke({
772
+ return Ae({
773
773
  ...c,
774
774
  a: l
775
775
  });
776
776
  }
777
- function je({ colors: e, ratio: t }) {
777
+ function Me({ colors: e, ratio: t }) {
778
778
  if (!Array.isArray(e)) throw Error("colors must be an array");
779
779
  if (!e.length) throw Error("colors must contain at least 1 hex color");
780
- let n = (e) => Math.round(W(e, 0, 255)).toString(16).padStart(2, "0"), r = ({ r: e, g: t, b: r, a: i = 1 }) => `#${n(e)}${n(t)}${n(r)}${n(W(i, 0, 1) * 255)}`;
781
- if (e.length === 1) return r(U(e[0]));
782
- let i = W(t, 0, 1), a = e.map(U), o = a.length - 1, s = i * o, c = Math.min(Math.floor(s), o - 1), l = s - c, u = a[c], d = a[c + 1];
780
+ let n = (e) => Math.round(U(e, 0, 255)).toString(16).padStart(2, "0"), r = ({ r: e, g: t, b: r, a: i = 1 }) => `#${n(e)}${n(t)}${n(r)}${n(U(i, 0, 1) * 255)}`;
781
+ if (e.length === 1) return r(H(e[0]));
782
+ let i = U(t, 0, 1), a = e.map(H), o = a.length - 1, s = i * o, c = Math.min(Math.floor(s), o - 1), l = s - c, u = a[c], d = a[c + 1];
783
783
  return r({
784
784
  r: u.r + (d.r - u.r) * l,
785
785
  g: u.g + (d.g - u.g) * l,
@@ -787,11 +787,11 @@ function je({ colors: e, ratio: t }) {
787
787
  a: u.a + (d.a - u.a) * l
788
788
  });
789
789
  }
790
- function Me({ p: e = "", v: t, s: n = "", r = 0, space: i = !1, isAnimating: a = !1, regex: o = /[^%]/g, replacement: s = "-", locale: c = null }) {
790
+ function Ne({ p: e = "", v: t, s: n = "", r = 0, space: i = !1, isAnimating: a = !1, regex: o = /[^%]/g, replacement: s = "-", locale: c = null }) {
791
791
  let l = c ? Number(Number(t).toFixed(r)).toLocaleString(c) : Number(Number(t).toFixed(r)).toLocaleString(), u = l === Infinity ? "∞" : l === -Infinity ? "-∞" : l, d = `${e ?? ""}${i ? " " : ""}${[void 0, null].includes(t) ? "-" : u}${i ? " " : ""}${n ?? ""}`;
792
792
  return a ? d.replace(o, s) : d;
793
793
  }
794
- function Ne({ source: e, length: t = 3 }) {
794
+ function Pe({ source: e, length: t = 3 }) {
795
795
  if (!e && e !== 0) return "";
796
796
  e = String(e);
797
797
  let n = e.length > 1 ? e.split(" ") : [e];
@@ -804,22 +804,22 @@ function Ne({ source: e, length: t = 3 }) {
804
804
  }), e.join().replaceAll(",", "").toUpperCase();
805
805
  }
806
806
  }
807
- function Pe(e) {
807
+ function Fe(e) {
808
808
  return !!e && typeof e == "function";
809
809
  }
810
- function Fe(e) {
810
+ function Ie(e) {
811
811
  return typeof e.apply(null, arguments) == "string";
812
812
  }
813
- function Ie(e) {
813
+ function Le(e) {
814
814
  return Array.isArray(e) ? e.length === 0 : !e || Object.keys(e).length === 0;
815
815
  }
816
- function Le({ componentName: e, type: t, property: n = "", index: i = "", key: a = "", warn: o = !0, debug: s = !0 }) {
816
+ function Re({ componentName: e, type: t, property: n = "", index: i = "", key: a = "", warn: o = !0, debug: s = !0 }) {
817
817
  if (!s) return;
818
818
  let c = `\n> ${r[t].replace("#COMP#", e).replace("#ATTR#", n).replace("#INDX#", i).replace("#KEY#", a)}\n`;
819
819
  if (o) console.warn(c);
820
820
  else throw Error(c);
821
821
  }
822
- function Re({ points: e, a: t, b: n, angleStep: r, startX: i, startY: a }) {
822
+ function ze({ points: e, a: t, b: n, angleStep: r, startX: i, startY: a }) {
823
823
  let o = [];
824
824
  for (let s = 0; s < e; s++) {
825
825
  let e = r * s, c = t + n * e, l = c * Math.cos(e) + i, u = c * Math.sin(e) + a;
@@ -830,7 +830,7 @@ function Re({ points: e, a: t, b: n, angleStep: r, startX: i, startY: a }) {
830
830
  }
831
831
  return o;
832
832
  }
833
- function ze(e) {
833
+ function Be(e) {
834
834
  let t = Infinity, n = Infinity, r = -Infinity, i = -Infinity;
835
835
  for (let a of e) a.x < t && (t = a.x), a.y < n && (n = a.y), a.x > r && (r = a.x), a.y > i && (i = a.y);
836
836
  return {
@@ -842,7 +842,7 @@ function ze(e) {
842
842
  height: i - n || 1
843
843
  };
844
844
  }
845
- function Be(e) {
845
+ function Ve(e) {
846
846
  if (!e.length) return "";
847
847
  let t = `M${e[0].x} ${e[0].y}`;
848
848
  for (let n = 1; n < e.length - 2; n += 2) {
@@ -851,30 +851,30 @@ function Be(e) {
851
851
  }
852
852
  return t;
853
853
  }
854
- function Ve({ maxPoints: e, a: t = 6, b: n = 6, angleStep: r = .07, startX: i, startY: a, boxWidth: o, boxHeight: s, padding: c = 12 }) {
855
- let l = Re({
854
+ function He({ maxPoints: e, a: t = 6, b: n = 6, angleStep: r = .07, startX: i, startY: a, boxWidth: o, boxHeight: s, padding: c = 12 }) {
855
+ let l = ze({
856
856
  points: e,
857
857
  a: t,
858
858
  b: n,
859
859
  angleStep: r,
860
860
  startX: 0,
861
861
  startY: 0
862
- }), { minX: u, minY: d, maxX: f, maxY: p, width: m, height: h } = ze(l), g = (u + f) / 2, _ = (d + p) / 2, v = Math.max(1, o - 2 * c), y = Math.max(1, s - 2 * c), b = Math.min(v / m, y / h), x = i - g * b, S = a - _ * b;
862
+ }), { minX: u, minY: d, maxX: f, maxY: p, width: m, height: h } = Be(l), g = (u + f) / 2, _ = (d + p) / 2, v = Math.max(1, o - 2 * c), y = Math.max(1, s - 2 * c), b = Math.min(v / m, y / h), x = i - g * b, S = a - _ * b;
863
863
  return function(e) {
864
864
  let t = Math.max(2, Math.min(Math.round(e), l.length));
865
- return Be(l.slice(0, t).map((e) => ({
865
+ return Ve(l.slice(0, t).map((e) => ({
866
866
  x: e.x * b + x,
867
867
  y: e.y * b + S
868
868
  })));
869
869
  };
870
870
  }
871
- function He({ datasetObject: e, requiredAttributes: t }) {
871
+ function Ue({ datasetObject: e, requiredAttributes: t }) {
872
872
  let n = [];
873
873
  return t.forEach((t) => {
874
874
  Object.hasOwn(e, t) || n.push(t);
875
875
  }), n;
876
876
  }
877
- var G = {
877
+ var W = {
878
878
  ALICEBLUE: "#F0F8FF",
879
879
  ANTIQUEWHITE: "#FAEBD7",
880
880
  AQUA: "#00FFFF",
@@ -1017,17 +1017,17 @@ var G = {
1017
1017
  YELLOWGREEN: "#9ACD32",
1018
1018
  REBECCAPURPLE: "#663399"
1019
1019
  };
1020
- function Ue(t) {
1020
+ function We(t) {
1021
1021
  let r = e?.(t) ? n(t) : t;
1022
1022
  if (typeof r != "string") return r;
1023
1023
  let i = r.trim();
1024
1024
  if (i === "" || i[0] === "#") return i;
1025
1025
  if (i.toLowerCase() === "transparent") return "#FFFFFF00";
1026
1026
  let a = i.toUpperCase(), o = a.replace(/GRAY/g, "GREY");
1027
- return G[a] || G[o] || i;
1027
+ return W[a] || W[o] || i;
1028
1028
  }
1029
- var K = "http://www.w3.org/2000/svg";
1030
- function We(e) {
1029
+ var G = "http://www.w3.org/2000/svg";
1030
+ function Ge(e) {
1031
1031
  if (e.length < 2) return 0;
1032
1032
  let t = 0, n = 0;
1033
1033
  for (let r = 1; r < e.length; r++) {
@@ -1044,12 +1044,12 @@ function We(e) {
1044
1044
  }
1045
1045
  return n === 0 ? 0 : t / n;
1046
1046
  }
1047
- function q({ content: e, fontSize: t, fill: n, x: r, y: i, translateY: a = !1 }) {
1047
+ function K({ content: e, fontSize: t, fill: n, x: r, y: i, translateY: a = !1 }) {
1048
1048
  let o = e.split("\n"), s = o.length * t, c = a ? (s - t) / 2 : 0;
1049
1049
  return o.map((e, a) => `<tspan x="${r}" y="${i - c + a * t}" fill="${n}">${e}</tspan>`).join("");
1050
1050
  }
1051
- function Ge(e) {
1052
- return f(e) ? (q({
1051
+ function Ke(e) {
1052
+ return f(e) ? (K({
1053
1053
  content: e,
1054
1054
  fontSize: 1,
1055
1055
  fill: "",
@@ -1057,11 +1057,11 @@ function Ge(e) {
1057
1057
  y: 0
1058
1058
  }).match(/<tspan\b/g) || []).length : 1;
1059
1059
  }
1060
- function Ke({ content: e, fontSize: t, fill: n, x: r, autoOffset: i = !1 }) {
1060
+ function qe({ content: e, fontSize: t, fill: n, x: r, autoOffset: i = !1 }) {
1061
1061
  let a = e.split("\n"), o = i ? (a.length - 1) * t / 2 : 0;
1062
1062
  return a.map((e, i) => `<tspan x="${r}" dy="${i === 0 ? -o : t}" fill="${n}">${e}</tspan>`).join("");
1063
1063
  }
1064
- function qe({ content: e, fontSize: t, fill: n, maxWords: r, x: i, y: a }) {
1064
+ function Je({ content: e, fontSize: t, fill: n, maxWords: r, x: i, y: a }) {
1065
1065
  function o(e, t) {
1066
1066
  let n = e.split(" "), r = [];
1067
1067
  for (let e = 0; e < n.length; e += t) r.push(n.slice(e, e + t).join(" "));
@@ -1073,10 +1073,10 @@ function qe({ content: e, fontSize: t, fill: n, maxWords: r, x: i, y: a }) {
1073
1073
  s += o;
1074
1074
  }), s;
1075
1075
  }
1076
- function Je(e) {
1076
+ function Ye(e) {
1077
1077
  return e.length ? e.map((e) => b(e)) : [];
1078
1078
  }
1079
- function Ye(e, t = null) {
1079
+ function Xe(e, t = null) {
1080
1080
  let n = e.replace(/[\p{P}\p{S}]+/gu, " ").trim(), r = (/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(e) ? [...n] : n.split(/\s+/)).filter((e) => e.trim().length > 0).reduce((e, t) => (e[t] ? e[t] += 1 : e[t] = 1, e), {});
1081
1081
  return Object.keys(r).map((e) => {
1082
1082
  let n = e;
@@ -1086,7 +1086,7 @@ function Ye(e, t = null) {
1086
1086
  };
1087
1087
  });
1088
1088
  }
1089
- function Xe(e) {
1089
+ function Ze(e) {
1090
1090
  let t = e.reduce((e, t) => e + (t.stackRatio || 0), 0), n = e.filter((e) => e.stackRatio === void 0).length, r = 1 - t, i = n > 0 ? r / n : 0, a = e.map((e) => ({
1091
1091
  ...e,
1092
1092
  stackRatio: e.stackRatio === void 0 ? i : e.stackRatio
@@ -1097,7 +1097,7 @@ function Xe(e) {
1097
1097
  cumulatedStackRatio: o
1098
1098
  })), a;
1099
1099
  }
1100
- function Ze(e) {
1100
+ function Qe(e) {
1101
1101
  function t(e, t, n, r) {
1102
1102
  let i = n - e, a = r - t;
1103
1103
  return Math.sqrt(i * i + a * a);
@@ -1147,11 +1147,11 @@ function Ze(e) {
1147
1147
  }
1148
1148
  }), c;
1149
1149
  }
1150
- function Qe({ relator: e, adjuster: t, source: n, threshold: r = 0, fallback: i, max: a = 24 }) {
1150
+ function $e({ relator: e, adjuster: t, source: n, threshold: r = 0, fallback: i, max: a = 24 }) {
1151
1151
  let o = e / (t / n);
1152
1152
  return o > a ? a : o < r ? i : o;
1153
1153
  }
1154
- function $e(e) {
1154
+ function et(e) {
1155
1155
  return e.reduce((e, t) => (t.series.forEach((t, n) => {
1156
1156
  ![
1157
1157
  void 0,
@@ -1161,7 +1161,7 @@ function $e(e) {
1161
1161
  ].includes(t) && !isNaN(t) && (e[n] = (e[n] || 0) + t);
1162
1162
  }), e), []);
1163
1163
  }
1164
- function et(e, { value: t, config: n }) {
1164
+ function tt(e, { value: t, config: n }) {
1165
1165
  let r = !1, i = t;
1166
1166
  if (typeof e == "function") try {
1167
1167
  i = e({
@@ -1176,17 +1176,17 @@ function et(e, { value: t, config: n }) {
1176
1176
  value: i
1177
1177
  };
1178
1178
  }
1179
- function tt(e, t, n, r) {
1180
- let { isValid: i, value: a } = et(e, {
1179
+ function nt(e, t, n, r) {
1180
+ let { isValid: i, value: a } = tt(e, {
1181
1181
  value: t,
1182
1182
  config: r
1183
1183
  });
1184
1184
  return i ? a : n;
1185
1185
  }
1186
- function nt(e, t) {
1186
+ function rt(e, t) {
1187
1187
  return t.split(".").every((t) => typeof e == "object" && e && t in e ? (e = e[t], !0) : !1);
1188
1188
  }
1189
- function rt(e, t = [], n = !1) {
1189
+ function it(e, t = [], n = !1) {
1190
1190
  function r(e) {
1191
1191
  return n && e === null ? null : typeof e == "string" && isNaN(Number(e)) || typeof e == "number" && isFinite(e) ? e : 0;
1192
1192
  }
@@ -1201,10 +1201,10 @@ function rt(e, t = [], n = !1) {
1201
1201
  }
1202
1202
  return i(e);
1203
1203
  }
1204
- function it(e, t = 100) {
1204
+ function at(e, t = 100) {
1205
1205
  return e.length === 9 ? e.substring(0, 7) + y[t] : e + y[t];
1206
1206
  }
1207
- function at({ series: e, center: t, maxRadius: n, hasGhost: r = !1 }) {
1207
+ function ot({ series: e, center: t, maxRadius: n, hasGhost: r = !1 }) {
1208
1208
  let i = 360 / (e.length - +!!r);
1209
1209
  return e.map((e, r) => {
1210
1210
  let a = e * n, o = r * i, s = o + i, c = o + i / 2, l = j(o) - j(90), u = j(s) - j(90), d = j(c) - j(90), f = t.x + a * Math.cos(l), p = t.y + a * Math.sin(l), m = t.x + a * Math.cos(u), h = t.y + a * Math.sin(u), g = t.x + a * Math.cos(d), _ = t.y + a * Math.sin(d);
@@ -1223,7 +1223,7 @@ function at({ series: e, center: t, maxRadius: n, hasGhost: r = !1 }) {
1223
1223
  };
1224
1224
  });
1225
1225
  }
1226
- function ot({ data: e, threshold: t }) {
1226
+ function st({ data: e, threshold: t }) {
1227
1227
  if (t >= e.length || t < 3) return e;
1228
1228
  let n = [], r = (e.length - 2) / (t - 2), i = 0;
1229
1229
  n.push(e[i]);
@@ -1240,7 +1240,7 @@ function ot({ data: e, threshold: t }) {
1240
1240
  }
1241
1241
  return n.push(e[e.length - 1]), n;
1242
1242
  }
1243
- function st({ data: e, threshold: t }) {
1243
+ function ct({ data: e, threshold: t }) {
1244
1244
  if (t >= e.length || t < 3) return e;
1245
1245
  let n = [], r = (e.length - 2) / (t - 2), i = 0;
1246
1246
  n.push(e[i]);
@@ -1254,7 +1254,7 @@ function st({ data: e, threshold: t }) {
1254
1254
  }
1255
1255
  return n.push(e[e.length - 1]), n;
1256
1256
  }
1257
- function ct({ data: e, threshold: t, key: n = "value" }) {
1257
+ function lt({ data: e, threshold: t, key: n = "value" }) {
1258
1258
  if (t >= e.length || t < 3) return e;
1259
1259
  let r = [], i = (e.length - 2) / (t - 2), a = 0;
1260
1260
  r.push(e[a]);
@@ -1268,12 +1268,12 @@ function ct({ data: e, threshold: t, key: n = "value" }) {
1268
1268
  }
1269
1269
  return r.push(e[e.length - 1]), r;
1270
1270
  }
1271
- function lt({ radius: e, centerX: t, centerY: n, percentage: r }) {
1271
+ function ut({ radius: e, centerX: t, centerY: n, percentage: r }) {
1272
1272
  r = Math.max(0, Math.min(1, r));
1273
1273
  let i = r * Math.PI;
1274
1274
  return `M ${t},${n} L ${t - e},${n} A ${e},${e} 0 0 1 ${t - e * Math.cos(i)},${n - e * Math.sin(i)} Z`.trim();
1275
1275
  }
1276
- function ut({ svgElement: e, x: t, y: n, offsetY: r = 0, element: i }) {
1276
+ function dt({ svgElement: e, x: t, y: n, offsetY: r = 0, element: i }) {
1277
1277
  if (!e || !i) return {
1278
1278
  top: 0,
1279
1279
  left: 0
@@ -1286,7 +1286,7 @@ function ut({ svgElement: e, x: t, y: n, offsetY: r = 0, element: i }) {
1286
1286
  left: o.x + l
1287
1287
  };
1288
1288
  }
1289
- function dt({ svgElement: e, x: t, y: n, element: r, position: i }) {
1289
+ function ft({ svgElement: e, x: t, y: n, element: r, position: i }) {
1290
1290
  if (!e || !r) return {
1291
1291
  top: 0,
1292
1292
  left: 0
@@ -1299,31 +1299,31 @@ function dt({ svgElement: e, x: t, y: n, element: r, position: i }) {
1299
1299
  left: o.x + l
1300
1300
  };
1301
1301
  }
1302
- function J(e) {
1302
+ function q(e) {
1303
1303
  if (typeof e != "object" || !e) return e;
1304
1304
  if (e instanceof Date) return new Date(e.getTime());
1305
1305
  if (e instanceof RegExp) return new RegExp(e.source, e.flags);
1306
1306
  if (e instanceof Map) {
1307
1307
  let t = /* @__PURE__ */ new Map();
1308
- for (let [n, r] of e.entries()) t.set(n, J(r));
1308
+ for (let [n, r] of e.entries()) t.set(n, q(r));
1309
1309
  return t;
1310
1310
  }
1311
1311
  if (e instanceof Set) {
1312
1312
  let t = /* @__PURE__ */ new Set();
1313
- for (let n of e.values()) t.add(J(n));
1313
+ for (let n of e.values()) t.add(q(n));
1314
1314
  return t;
1315
1315
  }
1316
- if (Array.isArray(e)) return e.map((e) => J(e));
1316
+ if (Array.isArray(e)) return e.map((e) => q(e));
1317
1317
  let t = {};
1318
- for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = J(e[n]));
1318
+ for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = q(e[n]));
1319
1319
  return t;
1320
1320
  }
1321
- function ft(e) {
1321
+ function pt(e) {
1322
1322
  let t = [], n = [];
1323
1323
  for (let r of e) !r || r.value == null || Number.isNaN(r.x) || Number.isNaN(r.y) ? (n.length && t.push(n), n = []) : n.push(r);
1324
1324
  return n.length && t.push(n), t;
1325
1325
  }
1326
- function pt(e, t) {
1326
+ function mt(e, t) {
1327
1327
  let n = e.filter((e) => !!e);
1328
1328
  if (!n[0]) return [
1329
1329
  -10,
@@ -1349,7 +1349,7 @@ function pt(e, t) {
1349
1349
  i.y
1350
1350
  ].toString();
1351
1351
  }
1352
- function mt(e, t) {
1352
+ function ht(e, t) {
1353
1353
  if (!e[0]) return [
1354
1354
  -10,
1355
1355
  -10,
@@ -1357,7 +1357,7 @@ function mt(e, t) {
1357
1357
  -10,
1358
1358
  -10
1359
1359
  ].toString();
1360
- let n = ft(e);
1360
+ let n = pt(e);
1361
1361
  return n.length ? n.map((e) => {
1362
1362
  let n = {
1363
1363
  x: e[0].x,
@@ -1377,37 +1377,37 @@ function mt(e, t) {
1377
1377
  ].toString();
1378
1378
  }).join(";") : "";
1379
1379
  }
1380
- function ht(e) {
1380
+ function gt(e) {
1381
1381
  let t = [], n = [];
1382
1382
  for (let r of e) r.value == null || Number.isNaN(r.x) || Number.isNaN(r.y) ? (n.length > 1 && t.push(n), n = []) : n.push(r);
1383
1383
  return n.length > 1 && t.push(n), t;
1384
1384
  }
1385
- function gt(e) {
1385
+ function _t(e) {
1386
1386
  let t = "", n = !1;
1387
1387
  for (let r = 0; r < e.length; r++) {
1388
1388
  let i = e[r];
1389
- if (!Z(i)) continue;
1389
+ if (!X(i)) continue;
1390
1390
  let a = `${h(i.x)},${h(i.y)}`;
1391
1391
  if (!n) t += a, n = !0;
1392
1392
  else {
1393
- let n = e[r - 1], i = Z(n) ? "L" : "M";
1393
+ let n = e[r - 1], i = X(n) ? "L" : "M";
1394
1394
  t += `${i}${a}`;
1395
1395
  }
1396
1396
  t += " ";
1397
1397
  }
1398
1398
  return t.trim();
1399
1399
  }
1400
- function Y(e) {
1400
+ function J(e) {
1401
1401
  let t = Number(e);
1402
1402
  return Number.isFinite(t) ? Math.trunc(t) : null;
1403
1403
  }
1404
- function X(e) {
1404
+ function Y(e) {
1405
1405
  return `${h(e.x)},${h(e.y)}`;
1406
1406
  }
1407
- function _t(e, t = []) {
1407
+ function vt(e, t = []) {
1408
1408
  let n = Array.isArray(e) ? e : [], r = n.length, i = /* @__PURE__ */ new Set(), a = r - 1;
1409
1409
  for (let e of Array.isArray(t) ? t : []) {
1410
- let t = Y(e);
1410
+ let t = J(e);
1411
1411
  t !== null && (t > 0 && i.add(t - 1), t < a && i.add(t));
1412
1412
  }
1413
1413
  let o = [], s = [], c = !1, l = !1, u = () => {
@@ -1418,17 +1418,17 @@ function _t(e, t = []) {
1418
1418
  };
1419
1419
  for (let e = 0; e < r; e += 1) {
1420
1420
  let t = n[e];
1421
- if (!Z(t)) {
1421
+ if (!X(t)) {
1422
1422
  u();
1423
1423
  continue;
1424
1424
  }
1425
- let r = X(t);
1425
+ let r = Y(t);
1426
1426
  if (!l) {
1427
1427
  s = [r], l = !0;
1428
1428
  continue;
1429
1429
  }
1430
1430
  let a = n[e - 1];
1431
- if (!Z(a)) {
1431
+ if (!X(a)) {
1432
1432
  u(), s = [r], l = !0;
1433
1433
  continue;
1434
1434
  }
@@ -1438,14 +1438,14 @@ function _t(e, t = []) {
1438
1438
  continue;
1439
1439
  }
1440
1440
  if (o !== c) {
1441
- let e = X(a);
1441
+ let e = Y(a);
1442
1442
  u(), c = o, s = [e, r], l = !0;
1443
1443
  } else s.push(r);
1444
1444
  }
1445
1445
  return u(), o;
1446
1446
  }
1447
- function vt(e) {
1448
- let t = ht(e);
1447
+ function yt(e) {
1448
+ let t = gt(e);
1449
1449
  if (!t.length) return "";
1450
1450
  let n = "";
1451
1451
  for (let [e, r] of t.entries()) {
@@ -1462,26 +1462,26 @@ function vt(e) {
1462
1462
  }
1463
1463
  return n.trim();
1464
1464
  }
1465
- function Z(e) {
1465
+ function X(e) {
1466
1466
  return e != null && e.value != null && Number.isFinite(e.x) && Number.isFinite(e.y);
1467
1467
  }
1468
- function yt(e, t) {
1468
+ function bt(e, t) {
1469
1469
  let n = e - 1, r = /* @__PURE__ */ new Set(), i = Array.isArray(t) ? t : [];
1470
1470
  for (let e of i) {
1471
- let t = Y(e);
1471
+ let t = J(e);
1472
1472
  t !== null && (t > 0 && r.add(t - 1), t < n && r.add(t));
1473
1473
  }
1474
1474
  return r;
1475
1475
  }
1476
- function bt(e) {
1476
+ function xt(e) {
1477
1477
  let t = [], n = [];
1478
1478
  for (let r = 0; r < e.length; r += 1) {
1479
1479
  let i = e[r];
1480
- Z(i) ? n.push(r) : (n.length > 1 && t.push(n), n = []);
1480
+ X(i) ? n.push(r) : (n.length > 1 && t.push(n), n = []);
1481
1481
  }
1482
1482
  return n.length > 1 && t.push(n), t;
1483
1483
  }
1484
- function xt(e, t) {
1484
+ function St(e, t) {
1485
1485
  let n = t.map((t) => e[t]), r = n.length - 1, i = [], a = [], o = [], s = [];
1486
1486
  for (let e = 0; e < r; e += 1) i[e] = n[e + 1].x - n[e].x, a[e] = n[e + 1].y - n[e].y, o[e] = a[e] / i[e];
1487
1487
  s[0] = o[0], s[r] = o[r - 1];
@@ -1492,11 +1492,11 @@ function xt(e, t) {
1492
1492
  c[e] = `C${h(u)},${h(d)} ${h(f)},${h(p)} ${h(i)},${h(a)}`;
1493
1493
  }
1494
1494
  return {
1495
- startCoord: X(n[0]),
1495
+ startCoord: Y(n[0]),
1496
1496
  commands: c
1497
1497
  };
1498
1498
  }
1499
- function St(e) {
1499
+ function Ct(e) {
1500
1500
  let t = [];
1501
1501
  if (!e.length) return t;
1502
1502
  let n = 0, r = e[0];
@@ -1511,21 +1511,21 @@ function St(e) {
1511
1511
  dashed: r
1512
1512
  }), t;
1513
1513
  }
1514
- function Ct(e, t = []) {
1514
+ function wt(e, t = []) {
1515
1515
  let n = Array.isArray(e) ? e : [];
1516
1516
  if (n.length < 2) return [];
1517
- let r = yt(n.length, t), i = bt(n);
1517
+ let r = bt(n.length, t), i = xt(n);
1518
1518
  if (!i.length) return [];
1519
1519
  let a = [];
1520
1520
  for (let e of i) {
1521
- let { startCoord: t, commands: i } = xt(n, e), o = Array(i.length);
1521
+ let { startCoord: t, commands: i } = St(n, e), o = Array(i.length);
1522
1522
  for (let t = 0; t < i.length; t += 1) {
1523
1523
  let n = e[t];
1524
1524
  o[t] = r.has(n);
1525
1525
  }
1526
- let s = St(o);
1526
+ let s = Ct(o);
1527
1527
  for (let r of s) {
1528
- let o = r.startEdge, s = `${o === 0 ? t : X(n[e[o]])} ${i.slice(r.startEdge, r.endEdge + 1).join(" ")}`.trim();
1528
+ let o = r.startEdge, s = `${o === 0 ? t : Y(n[e[o]])} ${i.slice(r.startEdge, r.endEdge + 1).join(" ")}`.trim();
1529
1529
  a.push({
1530
1530
  path: s,
1531
1531
  dashed: r.dashed
@@ -1534,7 +1534,7 @@ function Ct(e, t = []) {
1534
1534
  }
1535
1535
  return a;
1536
1536
  }
1537
- function wt(e, t, n = !1, r = !0) {
1537
+ function Tt(e, t, n = !1, r = !0) {
1538
1538
  function i(e) {
1539
1539
  let t = [], n = [];
1540
1540
  for (let r of e) !r || r.value == null || Number.isNaN(r.x) || Number.isNaN(r.y) ? (n.length > 1 && t.push(n), n = []) : n.push(r);
@@ -1555,25 +1555,25 @@ function wt(e, t, n = !1, r = !0) {
1555
1555
  return c += ` L${e[n].x},${t} ${r ? "Z" : ""}`, c;
1556
1556
  }).filter(Boolean);
1557
1557
  }
1558
- function Tt(e) {
1558
+ function Et(e) {
1559
1559
  return e.toString().toLowerCase().replace(/\s+/g, "-").replace(/[^\p{L}\p{N}_-]+/gu, "").replace(/\-\-+/g, "-").replace(/^-+/, "").replace(/-+$/, "");
1560
1560
  }
1561
- function Et(e) {
1561
+ function Dt(e) {
1562
1562
  return e && typeof e == "object" && !Array.isArray(e) && Object.keys(e).length === 0 ? null : e;
1563
1563
  }
1564
- function Q(e) {
1565
- if (Array.isArray(e)) return e.map(Q);
1564
+ function Z(e) {
1565
+ if (Array.isArray(e)) return e.map(Z);
1566
1566
  if (e && typeof e == "object" && !Array.isArray(e)) {
1567
1567
  let t = {};
1568
- for (let n in e) Object.hasOwn(e, n) && (t[n] = Q(e[n]));
1569
- return Et(t);
1568
+ for (let n in e) Object.hasOwn(e, n) && (t[n] = Z(e[n]));
1569
+ return Dt(t);
1570
1570
  }
1571
1571
  return e;
1572
1572
  }
1573
- function Dt(e) {
1573
+ function Ot(e) {
1574
1574
  return 1 - (1 - e) ** 3;
1575
1575
  }
1576
- function Ot({ values: e, config: t = {} }) {
1576
+ function kt({ values: e, config: t = {} }) {
1577
1577
  let { keepInvalid: n = !0, convertInvalidToZero: r = !1 } = t, i = [], a = 0, o = 0;
1578
1578
  function s(e) {
1579
1579
  return typeof e != "number" || !Number.isFinite(e);
@@ -1584,7 +1584,7 @@ function Ot({ values: e, config: t = {} }) {
1584
1584
  for (let t of e) s(t) ? r && n ? c(0) : !r && n && i.push(t) : c(t);
1585
1585
  return i;
1586
1586
  }
1587
- function kt({ values: e, config: t = {} }) {
1587
+ function At({ values: e, config: t = {} }) {
1588
1588
  let { keepInvalid: n = !0, convertInvalidToZero: r = !1 } = t, i = [], a = [];
1589
1589
  function o(e) {
1590
1590
  return typeof e != "number" || !Number.isFinite(e);
@@ -1597,7 +1597,7 @@ function kt({ values: e, config: t = {} }) {
1597
1597
  for (let t of e) o(t) ? r && n ? s(0) : !r && n && i.push(t) : s(t);
1598
1598
  return i;
1599
1599
  }
1600
- function At({ el: e, bounds: t, currentFontSize: n, minFontSize: r = 6, attempts: i = 200, padding: a = 1 }) {
1600
+ function jt({ el: e, bounds: t, currentFontSize: n, minFontSize: r = 6, attempts: i = 200, padding: a = 1 }) {
1601
1601
  if (!e || !n) return 0;
1602
1602
  let o = n;
1603
1603
  e.setAttribute("font-size", o);
@@ -1607,7 +1607,7 @@ function At({ el: e, bounds: t, currentFontSize: n, minFontSize: r = 6, attempts
1607
1607
  for (; g-- > 0 && o > r && (o--, e.setAttribute("font-size", o), h = e.getBBox(), !(h.x >= d + a && h.y >= f + a && h.x + h.width <= p - a && h.y + h.height <= m - a)););
1608
1608
  return o < r && (o = 0, e.setAttribute("font-size", o)), o;
1609
1609
  }
1610
- function jt({ value: e, maxDecimals: t = 4, fallbackFormatter: n, removeTrailingZero: r = !0 }) {
1610
+ function Mt({ value: e, maxDecimals: t = 4, fallbackFormatter: n, removeTrailingZero: r = !0 }) {
1611
1611
  if (e === 0) return "0";
1612
1612
  let i = Math.abs(e);
1613
1613
  if (i >= 1 && typeof n == "function") {
@@ -1619,53 +1619,91 @@ function jt({ value: e, maxDecimals: t = 4, fallbackFormatter: n, removeTrailing
1619
1619
  let o = e.toFixed(a);
1620
1620
  return r && (o = o.replace(/(\.\d*?[1-9])0+$/, "$1").replace(/\.0+$/, "")), o;
1621
1621
  }
1622
- function Mt(e) {
1622
+ function Nt(e) {
1623
1623
  let t = [];
1624
1624
  for (let n = 0; n < e; n += 1) t.push(n === 0 ? 0 : n === 1 ? 1 : t[n - 1] + t[n - 2]);
1625
1625
  return t;
1626
1626
  }
1627
- function Nt(e, t = 20) {
1627
+ function Pt(e, t = 20) {
1628
1628
  e = e.replace(/[\r\n]+/g, " ");
1629
1629
  let n = e.split(" "), r = "", i = "";
1630
1630
  for (let e of n) (r + (r ? " " : "") + e).length <= t ? r += (r ? " " : "") + e : (r && (i += (i ? "\n" : "") + r), r = e);
1631
1631
  return r && (i += (i ? "\n" : "") + r), i;
1632
1632
  }
1633
- function Pt(e) {
1634
- let { lineA: t, lineB: n, colorLineA: r, colorLineB: i, smoothA: a = !1, smoothB: o = !1, sampleStepPx: s = 2, cutNullValues: c = !0, merge: l = !0 } = e || {};
1633
+ function Ft(e) {
1634
+ return e && ![null, void 0].includes(e.value) && Number.isFinite(e.x) && Number.isFinite(e.y);
1635
+ }
1636
+ function Q(e, t) {
1637
+ if (!Array.isArray(e) || !e.length) return [];
1638
+ let n = [], r = [], i = () => {
1639
+ r.length && (n.push(r), r = []);
1640
+ };
1641
+ for (let n of e) Ft(n) ? r.push(n) : t && i();
1642
+ if (i(), !t) {
1643
+ let e = n.flat();
1644
+ n.length = 0, e.length && n.push(e);
1645
+ }
1646
+ let a = [];
1647
+ return n.forEach((e, t) => {
1648
+ if (t > 0 && a.push({
1649
+ x: null,
1650
+ y: null,
1651
+ value: null
1652
+ }), e.length) {
1653
+ a.push({ ...e[0] });
1654
+ for (let t = 1; t < e.length; t += 1) {
1655
+ let n = e[t - 1], r = e[t], i = r.x - n.x;
1656
+ if (!Number.isFinite(i) || i === 0) {
1657
+ a.push({ ...r });
1658
+ continue;
1659
+ }
1660
+ let o = Math.sign(i), s = Math.min(Math.abs(i) * 1e-6, 1e-4), c = r.x - o * s;
1661
+ (o > 0 ? c > n.x : c < n.x) && a.push({
1662
+ ...n,
1663
+ x: c,
1664
+ y: n.y,
1665
+ value: n.value
1666
+ }), a.push({ ...r });
1667
+ }
1668
+ }
1669
+ }), a;
1670
+ }
1671
+ function It(e) {
1672
+ let { lineA: t, lineB: n, colorLineA: r, colorLineB: i, smoothA: a = !1, smoothB: o = !1, stepperA: s = !1, stepperB: c = !1, sampleStepPx: l = 2, cutNullValues: u = !0, merge: d = !0 } = e || {};
1635
1673
  if (!Array.isArray(t) || !Array.isArray(n) || !t.length || !n.length) return [];
1636
- let u = (e) => Number.isFinite(e);
1637
- function d(e) {
1638
- if (!c) return [e.filter((e) => e && u(e.x) && u(e.y))];
1674
+ let f = s ? Q(t, u) : t, p = c ? Q(n, u) : n, m = (e) => Number.isFinite(e);
1675
+ function h(e) {
1676
+ if (!u) return [e.filter((e) => e && m(e.x) && m(e.y))];
1639
1677
  let t = [], n = [];
1640
- for (let r of e) r && u(r.x) && u(r.y) && r.value != null ? n.push({
1678
+ for (let r of e) r && m(r.x) && m(r.y) && r.value != null ? n.push({
1641
1679
  x: r.x,
1642
1680
  y: r.y
1643
1681
  }) : (n.length > 1 && t.push(n), n = []);
1644
1682
  return n.length > 1 && t.push(n), t;
1645
1683
  }
1646
- function f(e) {
1684
+ function g(e) {
1647
1685
  let t = e.length - 1, n = Array(t), r = Array(t), i = Array(t), a = Array(e.length);
1648
1686
  for (let a = 0; a < t; a += 1) n[a] = e[a + 1].x - e[a].x, r[a] = e[a + 1].y - e[a].y, i[a] = r[a] / n[a];
1649
1687
  a[0] = i[0], a[t] = i[t - 1];
1650
1688
  for (let e = 1; e < t; e += 1) i[e - 1] * i[e] <= 0 ? a[e] = 0 : a[e] = 2 * i[e - 1] * i[e] / (i[e - 1] + i[e]);
1651
1689
  return a;
1652
1690
  }
1653
- function p(e, t, n, r, i) {
1691
+ function _(e, t, n, r, i) {
1654
1692
  let a = e.x, o = t.x, s = e.y, c = t.y, l = o - a;
1655
1693
  if (l === 0) return s;
1656
1694
  let u = (i - a) / l, d = u * u, f = d * u, p = 2 * f - 3 * d + 1, m = f - 2 * d + u, h = -2 * f + 3 * d, g = f - d;
1657
1695
  return p * s + n * l * m + h * c + r * l * g;
1658
1696
  }
1659
- function m(e, t) {
1660
- let n = d(e);
1697
+ function v(e, t) {
1698
+ let n = h(e);
1661
1699
  if (!n.length) return [];
1662
1700
  let r = Infinity, i = -Infinity;
1663
1701
  for (let e of n) r = Math.min(r, e[0].x), i = Math.max(i, e[e.length - 1].x);
1664
- if (!u(r) || !u(i) || i <= r) return [];
1665
- let a = Math.max(1, s), o = [];
1702
+ if (!m(r) || !m(i) || i <= r) return [];
1703
+ let a = Math.max(1, l), o = [];
1666
1704
  for (let e = r; e <= i; e += a) o.push(e);
1667
1705
  o[o.length - 1] < i && o.push(i);
1668
- let c = [];
1706
+ let s = [];
1669
1707
  for (let e of o) {
1670
1708
  let r = null, i = !1;
1671
1709
  for (let a of n) {
@@ -1675,8 +1713,8 @@ function Pt(e) {
1675
1713
  let n = a[o], s = a[o + 1];
1676
1714
  if (!(e + 1e-9 < n.x || e - 1e-9 > s.x)) {
1677
1715
  if (t) {
1678
- let t = a.__tangents ||= f(a);
1679
- r = p(n, s, t[o], t[o + 1], e);
1716
+ let t = a.__tangents ||= g(a);
1717
+ r = _(n, s, t[o], t[o + 1], e);
1680
1718
  } else {
1681
1719
  let t = (e - n.x) / (s.x - n.x || 1);
1682
1720
  r = n.y + t * (s.y - n.y);
@@ -1688,29 +1726,29 @@ function Pt(e) {
1688
1726
  if (i) break;
1689
1727
  }
1690
1728
  }
1691
- r == null ? c.push({
1729
+ r == null ? s.push({
1692
1730
  x: e,
1693
1731
  y: null,
1694
1732
  hole: !0
1695
- }) : c.push({
1733
+ }) : s.push({
1696
1734
  x: e,
1697
1735
  y: r,
1698
1736
  hole: !1
1699
1737
  });
1700
1738
  }
1701
- return c;
1739
+ return s;
1702
1740
  }
1703
- function h(e, t, n) {
1741
+ function y(e, t, n) {
1704
1742
  return e + n * (t - e);
1705
1743
  }
1706
- function g(e, t) {
1744
+ function b(e, t) {
1707
1745
  let n = [], r = [], i = Math.min(e.length, t.length);
1708
1746
  for (let a = 0; a < i - 1; a += 1) {
1709
1747
  let i = e[a], o = e[a + 1], s = t[a], c = t[a + 1];
1710
1748
  if (n.push(i), r.push(s), i.hole || o.hole || s.hole || c.hole || i.y == null || o.y == null || s.y == null || c.y == null) continue;
1711
1749
  let l = i.y - s.y, u = o.y - c.y;
1712
1750
  if (l > 0 && u < 0 || l < 0 && u > 0) {
1713
- let e = l / (l - u), t = h(i.x, o.x, e), a = h(i.y, o.y, e), s = {
1751
+ let e = l / (l - u), t = y(i.x, o.x, e), a = y(i.y, o.y, e), s = {
1714
1752
  x: t,
1715
1753
  y: a,
1716
1754
  hole: !1
@@ -1727,7 +1765,7 @@ function Pt(e) {
1727
1765
  B: r
1728
1766
  };
1729
1767
  }
1730
- function _(e, t) {
1768
+ function x(e, t) {
1731
1769
  let n = [], a = Math.min(e.length, t.length);
1732
1770
  for (let o = 0; o < a - 1; o += 1) {
1733
1771
  let a = e[o], s = e[o + 1], c = t[o], l = t[o + 1];
@@ -1746,7 +1784,7 @@ function Pt(e) {
1746
1784
  }
1747
1785
  return n;
1748
1786
  }
1749
- function v(e, t) {
1787
+ function S(e, t) {
1750
1788
  let n = [], a = Math.min(e.length, t.length);
1751
1789
  if (a < 2) return n;
1752
1790
  let o = 0;
@@ -1775,10 +1813,10 @@ function Pt(e) {
1775
1813
  }
1776
1814
  return n;
1777
1815
  }
1778
- let { A: y, B: b } = g(m(t, a), m(n, o));
1779
- return l ? v(y, b) : _(y, b);
1816
+ let { A: C, B: w } = b(v(f, !s && a), v(p, !c && o));
1817
+ return d ? S(C, w) : x(C, w);
1780
1818
  }
1781
- function Ft(e, t, n = {}) {
1819
+ function Lt(e, t, n = {}) {
1782
1820
  let r = {
1783
1821
  bubbles: !0,
1784
1822
  cancelable: !0,
@@ -1813,7 +1851,7 @@ function Ft(e, t, n = {}) {
1813
1851
  }) : new Event(t, r);
1814
1852
  return e.dispatchEvent(o), o;
1815
1853
  }
1816
- function It(e, { delta: t = 1, delay: n = 20, disableTransitions: r = !0 } = {}) {
1854
+ function Rt(e, { delta: t = 1, delay: n = 20, disableTransitions: r = !0 } = {}) {
1817
1855
  if (!e || !(e instanceof HTMLElement)) return;
1818
1856
  let i = e.style, a = {
1819
1857
  width: i.width,
@@ -1828,14 +1866,14 @@ function It(e, { delta: t = 1, delay: n = 20, disableTransitions: r = !0 } = {})
1828
1866
  });
1829
1867
  }, n);
1830
1868
  }
1831
- function Lt(e) {
1869
+ function zt(e) {
1832
1870
  let t = null, n = null;
1833
1871
  return (...r) => {
1834
1872
  let i = JSON.stringify(r);
1835
1873
  return i === t ? n : (t = i, n = e(...r), n);
1836
1874
  };
1837
1875
  }
1838
- var Rt = Lt((e, t, n, r, i, a, o, s) => {
1876
+ var $ = zt((e, t, n, r, i, a, o, s) => {
1839
1877
  if (e) return r.length <= 2 ? r.map((e, t) => ({
1840
1878
  text: e,
1841
1879
  absoluteIndex: t
@@ -1877,17 +1915,17 @@ var Rt = Lt((e, t, n, r, i, a, o, s) => {
1877
1915
  absoluteIndex: t
1878
1916
  }));
1879
1917
  });
1880
- function zt(e) {
1918
+ function Bt(e) {
1881
1919
  return String(e).replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1882
1920
  }
1883
- function $(e) {
1921
+ function Vt(e) {
1884
1922
  return String(e).replaceAll("&", "&amp;").replaceAll("\"", "&quot;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1885
1923
  }
1886
- function Bt(e) {
1924
+ function Ht(e) {
1887
1925
  if (!e || typeof e != "string") return null;
1888
- let t = document.createElementNS(K, "svg");
1889
- t.setAttribute("xmlns", K);
1890
- let n = document.createElementNS(K, "path");
1926
+ let t = document.createElementNS(G, "svg");
1927
+ t.setAttribute("xmlns", G);
1928
+ let n = document.createElementNS(G, "path");
1891
1929
  n.setAttribute("d", e), t.appendChild(n);
1892
1930
  let r = n.getTotalLength(), i = n.getPointAtLength(r / 2);
1893
1931
  return {
@@ -1895,13 +1933,13 @@ function Bt(e) {
1895
1933
  y: i.y
1896
1934
  };
1897
1935
  }
1898
- function Vt(e, t = "(", n = ")") {
1936
+ function Ut(e, t = "(", n = ")") {
1899
1937
  return `${t}${e}${n}`;
1900
1938
  }
1901
- function Ht(e, t) {
1939
+ function Wt(e, t) {
1902
1940
  return t <= 1 ? "0%" : `${e * 100 / (t - 1)}%`;
1903
1941
  }
1904
- function Ut(e, t, n) {
1942
+ function Gt(e, t, n) {
1905
1943
  if (!n || !Number.isFinite(e) || !Number.isFinite(t)) return null;
1906
1944
  if (n.createSVGPoint && n.getScreenCTM) {
1907
1945
  let r = n.createSVGPoint();
@@ -1921,10 +1959,10 @@ function Ut(e, t, n) {
1921
1959
  y: r.top + t
1922
1960
  };
1923
1961
  }
1924
- function Wt(e) {
1962
+ function Kt(e) {
1925
1963
  return e != null && Number.isFinite(Number(e));
1926
1964
  }
1927
- function Gt(e, t = 1) {
1965
+ function qt(e, t = 1) {
1928
1966
  if (!e.length) return "";
1929
1967
  if (e.length === 1) return `${e[0].x} ${e[0].y}`;
1930
1968
  let n = [`${e[0].x} ${e[0].y}`];
@@ -1940,7 +1978,7 @@ function Gt(e, t = 1) {
1940
1978
  }
1941
1979
  return n.join(" ");
1942
1980
  }
1943
- function Kt(e, t = 1) {
1981
+ function Jt(e, t = 1) {
1944
1982
  return !e || typeof window > "u" ? Promise.resolve(null) : new Promise((n) => {
1945
1983
  let r = new window.Image();
1946
1984
  r.onload = () => {
@@ -1953,11 +1991,11 @@ function Kt(e, t = 1) {
1953
1991
  }, r.onerror = () => n(null), r.src = e;
1954
1992
  });
1955
1993
  }
1956
- function qt(e, t) {
1994
+ function Yt(e, t) {
1957
1995
  let n = Math.floor(Number(t));
1958
1996
  if (!Number.isFinite(n) || n <= 0) return [];
1959
1997
  let r = b(e);
1960
1998
  return r ? Array.from({ length: n }, (e, t) => A(r, t / n)) : (console.error(`Vue Data Ui - createColorWheel - Invalid starting color: ${r}`), []);
1961
1999
  }
1962
2000
  //#endregion
1963
- export { Dt as $, at as A, Ie as At, he as B, A as Bt, Je as C, f as Ct, lt as D, we as Dt, Ce as E, ct as Et, vt as F, ut as Ft, Ke as G, v as Gt, _t as H, be as Ht, Ct as I, dt as It, Te as J, Ft as Jt, ge as K, Qe as Kt, Ve as L, rt as Lt, wt as M, y as Mt, L as N, g as Nt, pt as O, i as Ot, R as P, Vt as Pt, Se as Q, oe as R, Ht as Rt, F as S, Wt as St, qt as T, st as Tt, qe as U, $e as Ut, gt as V, Tt as Vt, q as W, Ut as Wt, J as X, Nt as Xt, Me as Y, It as Yt, Q as Z, De as _, nt as _t, Xe as a, m as at, ce as b, Pe as bt, Pt as c, Ot as ct, z as d, Ge as dt, Le as et, B as f, He as ft, Ee as g, se as gt, We as h, Bt as ht, tt as i, V as it, ie as j, _e as jt, mt as k, xe as kt, me as l, kt as lt, ve as m, Ze as mt, Ne as n, $ as nt, At as o, jt as ot, pe as p, _ as pt, Ye as q, l as qt, de as r, Mt as rt, Rt as s, Fe as st, K as t, zt as tt, fe as u, Kt as ut, ye as v, Ae as vt, Gt as w, ot as wt, b as x, p as xt, h as y, je as yt, I as z, it as zt };
2001
+ export { Ot as $, ot as A, Le as At, he as B, A as Bt, Ye as C, f as Ct, ut as D, Te as Dt, we as E, lt as Et, yt as F, dt as Ft, qe as G, v as Gt, vt as H, xe as Ht, wt as I, ft as It, Ee as J, Lt as Jt, _e as K, $e as Kt, He as L, it as Lt, Tt as M, y as Mt, I as N, g as Nt, mt as O, i as Ot, L as P, Ut as Pt, Ce as Q, oe as R, Wt as Rt, F as S, Kt as St, Yt as T, ct as Tt, Je as U, et as Ut, _t as V, Et as Vt, K as W, Gt as Wt, q as X, Pt as Xt, Ne as Y, Rt as Yt, Z, Oe as _, rt as _t, Ze as a, m as at, ce as b, Fe as bt, It as c, kt as ct, R as d, Ke as dt, Re as et, z as f, Ue as ft, De as g, se as gt, Ge as h, Ht as ht, nt as i, B as it, ie as j, ve as jt, ht as k, Se as kt, me as l, At as lt, ye as m, Qe as mt, Pe as n, Vt as nt, jt as o, Mt as ot, pe as p, _ as pt, Xe as q, l as qt, de as r, Nt as rt, $ as s, Ie as st, G as t, Bt as tt, fe as u, Jt as ut, be as v, je as vt, qt as w, st as wt, b as x, p as xt, h as y, Me as yt, ge as z, at as zt };