@svgrid/grid-wc 2.6.1 → 2.7.0

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 (50) hide show
  1. package/dist/{GridMenus-Boz00ms0.js → GridMenus-DE0zNY_3.js} +265 -243
  2. package/dist/{SvDateTimePicker-Ch1Vug8H.js → SvDateTimePicker-BpeEupA2.js} +81 -81
  3. package/dist/SvGrid.helpers-BZPDBcza.js +125 -0
  4. package/dist/SvGridCellEditor-_rqEaig7.js +531 -0
  5. package/dist/{SvGridChart-BztTavvw.js → SvGridChart-yK5Zv85y.js} +158 -158
  6. package/dist/{SvGridChartPanel-Ca5HWIZ3.js → SvGridChartPanel-B38_VjXM.js} +52 -52
  7. package/dist/{SvGridChartView-AcWj_tcs.js → SvGridChartView-ScXTF6t-.js} +4 -4
  8. package/dist/{SvGridDropdown-BXqvR1cs.js → SvGridDropdown-DnAESFDu.js} +29 -29
  9. package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs +358 -0
  10. package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs.map +1 -0
  11. package/dist/angular/package.json +25 -0
  12. package/dist/angular/types/svgrid-grid-wc-angular.d.ts +161 -0
  13. package/dist/{client-DoXxrq8q.js → client-DjwUji8D.js} +1 -1
  14. package/dist/column-resize-DvCRUrN3.js +101 -0
  15. package/dist/{dismissable-xj_k_fnZ.js → dismissable-Nx79OIVg.js} +36 -36
  16. package/dist/editor-registry-DxGKqcvx.js +24 -0
  17. package/dist/react/index.d.ts +313 -0
  18. package/dist/react/index.js +72 -0
  19. package/dist/row-drag-touch-Ddaa-QeB.js +91 -0
  20. package/dist/row-resize-D-8s3cqT.js +94 -0
  21. package/dist/shadow/GridMenus-DE0zNY_3.js +1022 -0
  22. package/dist/shadow/SvDateTimePicker-BpeEupA2.js +1885 -0
  23. package/dist/shadow/SvGrid.helpers-BZPDBcza.js +125 -0
  24. package/dist/shadow/SvGridCellEditor-_rqEaig7.js +531 -0
  25. package/dist/shadow/SvGridChart-yK5Zv85y.js +1199 -0
  26. package/dist/shadow/SvGridChartPanel-B38_VjXM.js +584 -0
  27. package/dist/shadow/SvGridChartView-ScXTF6t-.js +50 -0
  28. package/dist/shadow/SvGridDropdown-DnAESFDu.js +256 -0
  29. package/dist/shadow/cell-formatting-C0OsDmi_.js +86 -0
  30. package/dist/shadow/chart-uvs3sFJA.js +1220 -0
  31. package/dist/shadow/client-DjwUji8D.js +2960 -0
  32. package/dist/shadow/column-resize-DvCRUrN3.js +101 -0
  33. package/dist/shadow/dismissable-Nx79OIVg.js +186 -0
  34. package/dist/shadow/editor-contract-peBDxir_.js +22 -0
  35. package/dist/shadow/editor-registry-DxGKqcvx.js +24 -0
  36. package/dist/shadow/export-format-C8kZGZfz.js +161 -0
  37. package/dist/shadow/popover-WsGlvtQv.js +69 -0
  38. package/dist/shadow/row-drag-touch-Ddaa-QeB.js +91 -0
  39. package/dist/shadow/row-resize-D-8s3cqT.js +94 -0
  40. package/dist/shadow/sv-grid-shadow-element.d.ts +246 -0
  41. package/dist/shadow/sv-grid-shadow-element.js +10067 -0
  42. package/dist/{svelte-virtualizer.svelte-ZL3wxPzD.js → shadow/svelte-virtualizer.svelte-DZ9UcyfT.js} +79 -166
  43. package/dist/shadow/validate-CgmAtX1A.js +75 -0
  44. package/dist/sv-grid-element.d.ts +246 -0
  45. package/dist/sv-grid-element.js +3927 -3202
  46. package/dist/svelte-virtualizer.svelte-DZ9UcyfT.js +527 -0
  47. package/dist/validate-CgmAtX1A.js +75 -0
  48. package/dist/vue/index.d.ts +147 -0
  49. package/dist/vue/index.js +72 -0
  50. package/package.json +85 -6
@@ -1,10 +1,10 @@
1
1
  import { i as e, n as t, t as n } from "./chart-uvs3sFJA.js";
2
- import { $ as r, A as i, E as a, F as o, H as s, I as c, J as l, K as u, L as d, M as f, O as p, R as m, T as h, V as g, X as _, Y as v, Z as y, a as b, f as x, it as S, j as C, k as w, n as T, nt as ee, q as E, rt as D, tt as te, v as O, w as k, y as A } from "./client-DoXxrq8q.js";
2
+ import { $ as r, A as i, E as a, F as o, H as s, I as c, J as l, K as u, L as d, M as f, O as p, R as m, T as h, V as g, X as _, Y as v, Z as y, a as b, et as ee, f as x, j as S, k as C, n as w, nt as T, q as E, rt as D, tt as te, v as O, w as k, y as A } from "./client-DjwUji8D.js";
3
3
  //#region ../grid/dist/SvGridChart.svelte
4
- var ne = C("<button type=\"button\" class=\"sv-grid-chart-tool svelte-5rb6rd\" title=\"Reset zoom (or double-click the plot)\"><svg width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 7v6h6\"></path><path d=\"M21 17a9 9 0 0 0-15-6.7L3 13\"></path></svg> Reset zoom</button>"), re = C("<div class=\"sv-grid-chart-toolbar svelte-5rb6rd\"><!> <button type=\"button\" class=\"sv-grid-chart-tool svelte-5rb6rd\" title=\"Download PNG\">PNG</button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-5rb6rd\" title=\"Download SVG\">SVG</button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-5rb6rd\" title=\"Copy chart as image\"> </button></div>"), ie = f("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(45)\"><rect width=\"6\" height=\"6\"></rect><rect width=\"3\" height=\"6\" fill=\"rgba(255,255,255,0.35)\"></rect></pattern>"), ae = f("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><path d=\"M0 0L6 6 M6 0L0 6\" stroke=\"rgba(255,255,255,0.45)\" stroke-width=\"1\"></path></pattern>"), oe = f("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><circle cx=\"3\" cy=\"3\" r=\"1.2\" fill=\"rgba(255,255,255,0.55)\"></circle></pattern>"), se = f("<pattern width=\"8\" height=\"8\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(-45)\"><rect width=\"8\" height=\"8\"></rect><line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"8\" stroke=\"rgba(0,0,0,0.18)\" stroke-width=\"2\"></line></pattern>"), ce = f("<defs></defs>"), le = f("<line class=\"sv-grid-chart-gridline svelte-5rb6rd\"></line><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text>", 1), ue = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>"), de = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), fe = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), pe = f("<!><!><!><!>", 1), me = f("<line></line><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>", 1), he = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text>"), ge = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>"), _e = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), ve = f("<line class=\"sv-grid-chart-gridline svelte-5rb6rd\" opacity=\"0.5\"></line>"), ye = f("<line class=\"sv-grid-chart-gridline svelte-5rb6rd\"></line><!><text class=\"sv-grid-chart-axis sv-grid-chart-group-label svelte-5rb6rd\" text-anchor=\"middle\"> </text>", 1), be = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), xe = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), Se = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), Ce = f("<!><!><!><!><!><!><!>", 1), we = f("<path class=\"sv-grid-chart-band\" fill-opacity=\"0.12\" stroke=\"none\"></path>"), Te = f("<path class=\"sv-grid-chart-area\" fill-opacity=\"0.15\" stroke=\"none\"></path>"), Ee = f("<text class=\"sv-grid-chart-datalabel svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), De = f("<circle></circle><!>", 1), Oe = f("<g><!><!><path class=\"sv-grid-chart-linepath\" fill=\"none\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path><!></g>"), ke = f("<text> </text>"), Ae = f("<text text-anchor=\"middle\"> </text>"), je = f("<rect class=\"sv-grid-chart-bar svelte-5rb6rd\" rx=\"1\"></rect><!>", 1), Me = f("<circle class=\"sv-grid-chart-scatter svelte-5rb6rd\" fill-opacity=\"0.7\"></circle>"), Ne = f("<line class=\"sv-grid-chart-refline svelte-5rb6rd\"></line><text class=\"sv-grid-chart-reflabel svelte-5rb6rd\" text-anchor=\"end\"> </text>", 1), Pe = f("<line class=\"sv-grid-chart-refline svelte-5rb6rd\"></line><text class=\"sv-grid-chart-reflabel svelte-5rb6rd\" text-anchor=\"start\"> </text>", 1), Fe = f("<path class=\"sv-grid-chart-overlay svelte-5rb6rd\" fill=\"none\" stroke-width=\"2\" stroke-dasharray=\"6 4\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>"), Ie = f("<circle class=\"sv-grid-chart-annotation-marker svelte-5rb6rd\" r=\"4\" stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle><text class=\"sv-grid-chart-annotation-label svelte-5rb6rd\"> </text>", 1), Le = f("<line class=\"sv-grid-chart-crosshair svelte-5rb6rd\"></line>"), Re = f("<line class=\"sv-grid-chart-crosshair svelte-5rb6rd\"></line>"), ze = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>"), Be = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), Ve = f("<text class=\"sv-grid-chart-heatlabel svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), He = f("<rect class=\"sv-grid-chart-heatcell svelte-5rb6rd\"></rect><!>", 1), Ue = f("<stop></stop>"), We = f("<defs><linearGradient x1=\"0\" y1=\"1\" x2=\"0\" y2=\"0\"></linearGradient></defs><rect class=\"sv-grid-chart-heatlegend svelte-5rb6rd\" width=\"10\"></rect><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text>", 1), Ge = f("<!><!><!><!>", 1), Ke = f("<path class=\"sv-grid-chart-funnel-seg svelte-5rb6rd\"></path><text class=\"sv-grid-chart-funnel-label svelte-5rb6rd\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-funnel-value svelte-5rb6rd\" text-anchor=\"middle\"> </text>", 1), qe = f("<circle class=\"sv-grid-chart-radar-ring svelte-5rb6rd\"></circle>"), Je = f("<line class=\"sv-grid-chart-radar-spoke svelte-5rb6rd\"></line><text class=\"sv-grid-chart-axis svelte-5rb6rd\"> </text>", 1), Ye = f("<circle class=\"sv-grid-chart-radar-dot svelte-5rb6rd\" r=\"3\"></circle>"), Xe = f("<path class=\"sv-grid-chart-radar-poly svelte-5rb6rd\" fill-opacity=\"0.18\" stroke-width=\"2\"></path><!>", 1), Ze = f("<!><!><!>", 1), Qe = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text>"), $e = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>"), et = f("<rect rx=\"2\"></rect>"), tt = f("<rect class=\"sv-grid-chart-calendar-legend svelte-5rb6rd\" width=\"10\" height=\"10\" rx=\"2\"></rect><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text>", 1), nt = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\">Less</text><!><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\">More</text>", 1), rt = f("<!><!><!><!>", 1), it = f("<line></line>"), at = f("<path fill=\"none\" stroke-width=\"6\" stroke-linecap=\"round\" opacity=\"0.85\"></path>"), ot = f("<line stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\" stroke-linecap=\"round\"></line>"), st = f("<!><path fill=\"none\" stroke=\"var(--sg-border, #e2e8f0)\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path fill=\"none\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path class=\"sv-grid-chart-gauge-needle svelte-5rb6rd\"></path><circle class=\"sv-grid-chart-gauge-hub svelte-5rb6rd\"></circle><circle class=\"sv-grid-chart-gauge-hub-dot svelte-5rb6rd\" r=\"2.5\"></circle><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-gauge-value svelte-5rb6rd\" text-anchor=\"middle\"> </text>", 1), ct = f("<text class=\"sv-grid-chart-treemap-label svelte-5rb6rd\"> </text>"), lt = f("<text class=\"sv-grid-chart-treemap-value svelte-5rb6rd\" opacity=\"0.85\"> </text>"), ut = f("<rect class=\"sv-grid-chart-treemap-cell svelte-5rb6rd\"></rect><!><!>", 1), dt = f("<path class=\"sv-grid-chart-sankey-link svelte-5rb6rd\" fill=\"none\" stroke-opacity=\"0.35\"></path>"), ft = f("<rect class=\"sv-grid-chart-sankey-node svelte-5rb6rd\"></rect><text class=\"sv-grid-chart-sankey-label svelte-5rb6rd\"> </text>", 1), pt = f("<!><!>", 1), mt = f("<text class=\"sv-grid-chart-datalabel on-bar svelte-5rb6rd\" text-anchor=\"middle\" dominant-baseline=\"middle\"> </text>"), ht = f("<path class=\"sv-grid-chart-slice svelte-5rb6rd\" stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path><!>", 1), gt = f("<text class=\"sv-grid-chart-donut-total svelte-5rb6rd\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-donut-label svelte-5rb6rd\" text-anchor=\"middle\">Total</text>", 1), _t = f("<rect class=\"sv-grid-chart-cat-hit svelte-5rb6rd\"></rect>"), vt = f("<rect class=\"sv-grid-chart-zoom-rect svelte-5rb6rd\"></rect>"), yt = f("<path fill-opacity=\"0.10\" stroke=\"none\"></path>"), bt = f("<!><path fill=\"none\" stroke-width=\"1.2\" opacity=\"0.75\"></path>", 1), xt = f("<rect opacity=\"0.55\"></rect>"), St = f("<svg class=\"sv-grid-chart-brush svelte-5rb6rd\" width=\"100%\" role=\"img\" aria-label=\"Range brush\"><!><!><rect class=\"sv-grid-chart-brush-mask svelte-5rb6rd\"></rect><rect class=\"sv-grid-chart-brush-mask svelte-5rb6rd\"></rect><rect class=\"sv-grid-chart-brush-window svelte-5rb6rd\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-5rb6rd\" width=\"8\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-5rb6rd\" width=\"8\"></rect></svg>"), Ct = C("<div class=\"sv-grid-chart-empty svelte-5rb6rd\">No data</div>"), wt = C("<span class=\"sv-grid-chart-tooltip-dot svelte-5rb6rd\"></span>"), Tt = C("<span class=\"sv-grid-chart-tooltip-row-label svelte-5rb6rd\"> </span>"), Et = C("<span class=\"sv-grid-chart-tooltip-row svelte-5rb6rd\"><!> <!> <span class=\"sv-grid-chart-tooltip-row-value svelte-5rb6rd\"> </span></span>"), Dt = C("<div><span class=\"sv-grid-chart-tooltip-title svelte-5rb6rd\"> </span> <!></div>"), Ot = C("<button type=\"button\"><span class=\"sv-grid-chart-swatch svelte-5rb6rd\"></span> </button>"), kt = C("<button type=\"button\" class=\"sv-grid-chart-legend-more svelte-5rb6rd\"> </button>"), At = C("<div class=\"sv-grid-chart-legend svelte-5rb6rd\"><!> <!></div>"), jt = C("<th> </th>"), Mt = C("<td> </td>"), Nt = C("<tr></tr>"), Pt = C("<div class=\"sv-grid-chart svelte-5rb6rd\"><!> <svg width=\"100%\" role=\"img\"><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!></svg> <!> <!> <!> <!> <table class=\"sv-grid-chart-sr-only svelte-5rb6rd\"><caption> </caption><thead><tr></tr></thead><tbody></tbody></table></div>");
4
+ var ne = S("<button type=\"button\" class=\"sv-grid-chart-tool svelte-5rb6rd\" title=\"Reset zoom (or double-click the plot)\"><svg width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 7v6h6\"></path><path d=\"M21 17a9 9 0 0 0-15-6.7L3 13\"></path></svg> Reset zoom</button>"), re = S("<div class=\"sv-grid-chart-toolbar svelte-5rb6rd\"><!> <button type=\"button\" class=\"sv-grid-chart-tool svelte-5rb6rd\" title=\"Download PNG\">PNG</button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-5rb6rd\" title=\"Download SVG\">SVG</button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-5rb6rd\" title=\"Copy chart as image\"> </button></div>"), ie = f("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(45)\"><rect width=\"6\" height=\"6\"></rect><rect width=\"3\" height=\"6\" fill=\"rgba(255,255,255,0.35)\"></rect></pattern>"), ae = f("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><path d=\"M0 0L6 6 M6 0L0 6\" stroke=\"rgba(255,255,255,0.45)\" stroke-width=\"1\"></path></pattern>"), oe = f("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><circle cx=\"3\" cy=\"3\" r=\"1.2\" fill=\"rgba(255,255,255,0.55)\"></circle></pattern>"), se = f("<pattern width=\"8\" height=\"8\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(-45)\"><rect width=\"8\" height=\"8\"></rect><line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"8\" stroke=\"rgba(0,0,0,0.18)\" stroke-width=\"2\"></line></pattern>"), ce = f("<defs></defs>"), le = f("<line class=\"sv-grid-chart-gridline svelte-5rb6rd\"></line><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text>", 1), ue = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>"), de = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), fe = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), pe = f("<!><!><!><!>", 1), me = f("<line></line><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>", 1), he = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text>"), ge = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>"), _e = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), ve = f("<line class=\"sv-grid-chart-gridline svelte-5rb6rd\" opacity=\"0.5\"></line>"), ye = f("<line class=\"sv-grid-chart-gridline svelte-5rb6rd\"></line><!><text class=\"sv-grid-chart-axis sv-grid-chart-group-label svelte-5rb6rd\" text-anchor=\"middle\"> </text>", 1), be = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), xe = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), Se = f("<text class=\"sv-grid-chart-axis-title svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), Ce = f("<!><!><!><!><!><!><!>", 1), we = f("<path class=\"sv-grid-chart-band\" fill-opacity=\"0.12\" stroke=\"none\"></path>"), Te = f("<path class=\"sv-grid-chart-area\" fill-opacity=\"0.15\" stroke=\"none\"></path>"), Ee = f("<text class=\"sv-grid-chart-datalabel svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), De = f("<circle></circle><!>", 1), Oe = f("<g><!><!><path class=\"sv-grid-chart-linepath\" fill=\"none\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path><!></g>"), ke = f("<text> </text>"), Ae = f("<text text-anchor=\"middle\"> </text>"), je = f("<rect class=\"sv-grid-chart-bar svelte-5rb6rd\" rx=\"1\"></rect><!>", 1), Me = f("<circle class=\"sv-grid-chart-scatter svelte-5rb6rd\" fill-opacity=\"0.7\"></circle>"), Ne = f("<line class=\"sv-grid-chart-refline svelte-5rb6rd\"></line><text class=\"sv-grid-chart-reflabel svelte-5rb6rd\" text-anchor=\"end\"> </text>", 1), Pe = f("<line class=\"sv-grid-chart-refline svelte-5rb6rd\"></line><text class=\"sv-grid-chart-reflabel svelte-5rb6rd\" text-anchor=\"start\"> </text>", 1), Fe = f("<path class=\"sv-grid-chart-overlay svelte-5rb6rd\" fill=\"none\" stroke-width=\"2\" stroke-dasharray=\"6 4\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>"), Ie = f("<circle class=\"sv-grid-chart-annotation-marker svelte-5rb6rd\" r=\"4\" stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle><text class=\"sv-grid-chart-annotation-label svelte-5rb6rd\"> </text>", 1), Le = f("<line class=\"sv-grid-chart-crosshair svelte-5rb6rd\"></line>"), Re = f("<line class=\"sv-grid-chart-crosshair svelte-5rb6rd\"></line>"), ze = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>"), Be = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), Ve = f("<text class=\"sv-grid-chart-heatlabel svelte-5rb6rd\" text-anchor=\"middle\"> </text>"), He = f("<rect class=\"sv-grid-chart-heatcell svelte-5rb6rd\"></rect><!>", 1), Ue = f("<stop></stop>"), We = f("<defs><linearGradient x1=\"0\" y1=\"1\" x2=\"0\" y2=\"0\"></linearGradient></defs><rect class=\"sv-grid-chart-heatlegend svelte-5rb6rd\" width=\"10\"></rect><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text>", 1), Ge = f("<!><!><!><!>", 1), Ke = f("<path class=\"sv-grid-chart-funnel-seg svelte-5rb6rd\"></path><text class=\"sv-grid-chart-funnel-label svelte-5rb6rd\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-funnel-value svelte-5rb6rd\" text-anchor=\"middle\"> </text>", 1), qe = f("<circle class=\"sv-grid-chart-radar-ring svelte-5rb6rd\"></circle>"), Je = f("<line class=\"sv-grid-chart-radar-spoke svelte-5rb6rd\"></line><text class=\"sv-grid-chart-axis svelte-5rb6rd\"> </text>", 1), Ye = f("<circle class=\"sv-grid-chart-radar-dot svelte-5rb6rd\" r=\"3\"></circle>"), Xe = f("<path class=\"sv-grid-chart-radar-poly svelte-5rb6rd\" fill-opacity=\"0.18\" stroke-width=\"2\"></path><!>", 1), Ze = f("<!><!><!>", 1), Qe = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text>"), $e = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"end\"> </text>"), et = f("<rect rx=\"2\"></rect>"), tt = f("<rect class=\"sv-grid-chart-calendar-legend svelte-5rb6rd\" width=\"10\" height=\"10\" rx=\"2\"></rect><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\"> </text>", 1), nt = f("<text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\">Less</text><!><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"start\">More</text>", 1), rt = f("<!><!><!><!>", 1), it = f("<line></line>"), at = f("<path fill=\"none\" stroke-width=\"6\" stroke-linecap=\"round\" opacity=\"0.85\"></path>"), ot = f("<line stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\" stroke-linecap=\"round\"></line>"), st = f("<!><path fill=\"none\" stroke=\"var(--sg-border, #e2e8f0)\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path fill=\"none\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path class=\"sv-grid-chart-gauge-needle svelte-5rb6rd\"></path><circle class=\"sv-grid-chart-gauge-hub svelte-5rb6rd\"></circle><circle class=\"sv-grid-chart-gauge-hub-dot svelte-5rb6rd\" r=\"2.5\"></circle><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-axis svelte-5rb6rd\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-gauge-value svelte-5rb6rd\" text-anchor=\"middle\"> </text>", 1), ct = f("<text class=\"sv-grid-chart-treemap-label svelte-5rb6rd\"> </text>"), lt = f("<text class=\"sv-grid-chart-treemap-value svelte-5rb6rd\" opacity=\"0.85\"> </text>"), ut = f("<rect class=\"sv-grid-chart-treemap-cell svelte-5rb6rd\"></rect><!><!>", 1), dt = f("<path class=\"sv-grid-chart-sankey-link svelte-5rb6rd\" fill=\"none\" stroke-opacity=\"0.35\"></path>"), ft = f("<rect class=\"sv-grid-chart-sankey-node svelte-5rb6rd\"></rect><text class=\"sv-grid-chart-sankey-label svelte-5rb6rd\"> </text>", 1), pt = f("<!><!>", 1), mt = f("<text class=\"sv-grid-chart-datalabel on-bar svelte-5rb6rd\" text-anchor=\"middle\" dominant-baseline=\"middle\"> </text>"), ht = f("<path class=\"sv-grid-chart-slice svelte-5rb6rd\" stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path><!>", 1), gt = f("<text class=\"sv-grid-chart-donut-total svelte-5rb6rd\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-donut-label svelte-5rb6rd\" text-anchor=\"middle\">Total</text>", 1), _t = f("<rect class=\"sv-grid-chart-cat-hit svelte-5rb6rd\"></rect>"), vt = f("<rect class=\"sv-grid-chart-zoom-rect svelte-5rb6rd\"></rect>"), yt = f("<path fill-opacity=\"0.10\" stroke=\"none\"></path>"), bt = f("<!><path fill=\"none\" stroke-width=\"1.2\" opacity=\"0.75\"></path>", 1), xt = f("<rect opacity=\"0.55\"></rect>"), St = f("<svg class=\"sv-grid-chart-brush svelte-5rb6rd\" width=\"100%\" role=\"img\" aria-label=\"Range brush\"><!><!><rect class=\"sv-grid-chart-brush-mask svelte-5rb6rd\"></rect><rect class=\"sv-grid-chart-brush-mask svelte-5rb6rd\"></rect><rect class=\"sv-grid-chart-brush-window svelte-5rb6rd\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-5rb6rd\" width=\"8\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-5rb6rd\" width=\"8\"></rect></svg>"), Ct = S("<div class=\"sv-grid-chart-empty svelte-5rb6rd\">No data</div>"), wt = S("<span class=\"sv-grid-chart-tooltip-dot svelte-5rb6rd\"></span>"), Tt = S("<span class=\"sv-grid-chart-tooltip-row-label svelte-5rb6rd\"> </span>"), Et = S("<span class=\"sv-grid-chart-tooltip-row svelte-5rb6rd\"><!> <!> <span class=\"sv-grid-chart-tooltip-row-value svelte-5rb6rd\"> </span></span>"), Dt = S("<div><span class=\"sv-grid-chart-tooltip-title svelte-5rb6rd\"> </span> <!></div>"), Ot = S("<button type=\"button\"><span class=\"sv-grid-chart-swatch svelte-5rb6rd\"></span> </button>"), kt = S("<button type=\"button\" class=\"sv-grid-chart-legend-more svelte-5rb6rd\"> </button>"), At = S("<div class=\"sv-grid-chart-legend svelte-5rb6rd\"><!> <!></div>"), jt = S("<th> </th>"), Mt = S("<td> </td>"), Nt = S("<tr></tr>"), Pt = S("<div class=\"sv-grid-chart svelte-5rb6rd\"><!> <svg width=\"100%\" role=\"img\"><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!></svg> <!> <!> <!> <!> <table class=\"sv-grid-chart-sr-only svelte-5rb6rd\"><caption> </caption><thead><tr></tr></thead><tbody></tbody></table></div>");
5
5
  function j(o, f) {
6
- ee(f, !0);
7
- let C = T(f, "legend", 3, !0), j = T(f, "interactive", 3, !0), Ft = T(f, "dataLabels", 3, !1), It = T(f, "zoomable", 3, !1), Lt = T(f, "brush", 3, !1), Rt = T(f, "brushHeight", 3, 88), zt = r(() => f.toolbar ?? (It() || !!f.onDrill)), M = (t) => f.formatValue ? f.formatValue(t) : f.spec.valueFormat ? e(t, f.spec.valueFormat) : Number.isFinite(t) ? t.toLocaleString(void 0, { maximumFractionDigits: 2 }) : String(t), Bt = y(v(/* @__PURE__ */ new Set())), N = y(null), Vt = y(null), Ht = r(() => f.spec.palette ?? n), Ut = `svgc-${Math.random().toString(36).slice(2, 8)}`, P = r(() => f.spec.series.map((e, t) => ({
6
+ te(f, !0);
7
+ let S = w(f, "legend", 3, !0), j = w(f, "interactive", 3, !0), Ft = w(f, "dataLabels", 3, !1), It = w(f, "zoomable", 3, !1), Lt = w(f, "brush", 3, !1), Rt = w(f, "brushHeight", 3, 88), zt = r(() => f.toolbar ?? (It() || !!f.onDrill)), M = (t) => f.formatValue ? f.formatValue(t) : f.spec.valueFormat ? e(t, f.spec.valueFormat) : Number.isFinite(t) ? t.toLocaleString(void 0, { maximumFractionDigits: 2 }) : String(t), Bt = y(v(/* @__PURE__ */ new Set())), N = y(null), Vt = y(null), Ht = r(() => f.spec.palette ?? n), Ut = `svgc-${Math.random().toString(36).slice(2, 8)}`, P = r(() => f.spec.series.map((e, t) => ({
8
8
  ...e,
9
9
  color: e.color ?? m(Ht)[t % m(Ht).length]
10
10
  }))), Wt = r(() => f.spec.series.map((e, t) => e.pattern ? e.pattern : f.spec.patternFallback ? [
@@ -442,13 +442,13 @@ function j(o, f) {
442
442
  var Jn = Pt(), Yn = u(Jn), Xn = (e) => {
443
443
  var t = re(), n = u(t), r = (e) => {
444
444
  var t = ne();
445
- c("click", t, Yt), w(e, t);
445
+ c("click", t, Yt), C(e, t);
446
446
  };
447
447
  a(n, (e) => {
448
448
  It() && m(Jt) && e(r);
449
449
  });
450
450
  var i = l(n, 2), o = l(i, 2), s = l(o, 2), d = u(s, !0);
451
- S(s), S(t), g(() => p(d, m(Hn) === "ok" ? "✓ Copied" : "Copy")), c("click", i, () => Kn("png")), c("click", o, () => Kn("svg")), c("click", s, qn), w(e, t);
451
+ D(s), D(t), g(() => p(d, m(Hn) === "ok" ? "✓ Copied" : "Copy")), c("click", i, () => Kn("png")), c("click", o, () => Kn("svg")), c("click", s, qn), C(e, t);
452
452
  };
453
453
  a(Yn, (e) => {
454
454
  m(zt) && e(Xn);
@@ -460,29 +460,29 @@ function j(o, f) {
460
460
  k(t, 21, () => m(Kt), (e) => e.id, (e, t) => {
461
461
  var n = i(), r = E(n), o = (e) => {
462
462
  var n = ie(), r = u(n);
463
- D(), S(n), g(() => {
463
+ T(), D(n), g(() => {
464
464
  x(n, "id", m(t).id), x(r, "fill", m(t).color);
465
- }), w(e, n);
465
+ }), C(e, n);
466
466
  }, s = (e) => {
467
467
  var n = ae(), r = u(n);
468
- D(), S(n), g(() => {
468
+ T(), D(n), g(() => {
469
469
  x(n, "id", m(t).id), x(r, "fill", m(t).color);
470
- }), w(e, n);
470
+ }), C(e, n);
471
471
  }, c = (e) => {
472
472
  var n = oe(), r = u(n);
473
- D(), S(n), g(() => {
473
+ T(), D(n), g(() => {
474
474
  x(n, "id", m(t).id), x(r, "fill", m(t).color);
475
- }), w(e, n);
475
+ }), C(e, n);
476
476
  }, l = (e) => {
477
477
  var n = se(), r = u(n);
478
- D(), S(n), g(() => {
478
+ T(), D(n), g(() => {
479
479
  x(n, "id", m(t).id), x(r, "fill", m(t).color);
480
- }), w(e, n);
480
+ }), C(e, n);
481
481
  };
482
482
  a(r, (e) => {
483
483
  m(t).kind === "stripe" ? e(o) : m(t).kind === "crosshatch" ? e(s, 1) : m(t).kind === "dots" ? e(c, 2) : m(t).kind === "diagonal" && e(l, 3);
484
- }), w(e, n);
485
- }), S(t), w(e, t);
484
+ }), C(e, n);
485
+ }), D(t), C(e, t);
486
486
  };
487
487
  a(Qn, (e) => {
488
488
  m(Kt).length && e($n);
@@ -491,55 +491,55 @@ function j(o, f) {
491
491
  var t = pe(), n = E(t);
492
492
  k(n, 17, () => m(W).valueTicks, (e) => e.label + e.x, (e, t) => {
493
493
  var n = le(), r = E(n), i = l(r), a = u(i, !0);
494
- S(i), g(() => {
494
+ D(i), g(() => {
495
495
  x(r, "x1", m(t).x), x(r, "y1", m(W).plot.y), x(r, "x2", m(t).x), x(r, "y2", m(W).plot.y + m(W).plot.h), x(i, "x", m(t).x), x(i, "y", m(W).plot.y + m(W).plot.h + 14), p(a, m(t).label);
496
- }), w(e, n);
496
+ }), C(e, n);
497
497
  });
498
498
  var r = l(n);
499
499
  k(r, 17, () => m(W).catTicks, (e) => e.value, (e, t) => {
500
500
  var n = ue(), r = u(n, !0);
501
- S(n), g((e) => {
501
+ D(n), g((e) => {
502
502
  x(n, "x", m(W).plot.x - 6), x(n, "y", m(t).y + 3), p(r, e);
503
- }, [() => q(m(t).label, 18)]), w(e, n);
503
+ }, [() => q(m(t).label, 18)]), C(e, n);
504
504
  });
505
505
  var i = l(r), o = (e) => {
506
506
  var t = de();
507
507
  x(t, "x", 13);
508
508
  var n = u(t, !0);
509
- S(t), g(() => {
509
+ D(t), g(() => {
510
510
  x(t, "y", m(W).plot.y + m(W).plot.h / 2), x(t, "transform", `rotate(-90 13 ${m(W).plot.y + m(W).plot.h / 2})`), p(n, f.spec.yAxisTitle);
511
- }), w(e, t);
511
+ }), C(e, t);
512
512
  };
513
513
  a(i, (e) => {
514
514
  f.spec.yAxisTitle && e(o);
515
515
  });
516
516
  var s = l(i), c = (e) => {
517
517
  var t = fe(), n = u(t, !0);
518
- S(t), g(() => {
518
+ D(t), g(() => {
519
519
  x(t, "x", m(W).plot.x + m(W).plot.w / 2), x(t, "y", m(W).height - 3), p(n, f.spec.xAxisTitle);
520
- }), w(e, t);
520
+ }), C(e, t);
521
521
  };
522
522
  a(s, (e) => {
523
523
  f.spec.xAxisTitle && e(c);
524
- }), w(e, t);
524
+ }), C(e, t);
525
525
  }, nr = (e) => {
526
526
  var t = Ce(), n = E(t);
527
527
  k(n, 17, () => m(W).yTicks, (e) => e.value, (e, t) => {
528
528
  var n = me(), r = E(n);
529
529
  let i;
530
530
  var a = l(r), o = u(a, !0);
531
- S(a), g((e) => {
531
+ D(a), g((e) => {
532
532
  i = A(r, 0, "sv-grid-chart-gridline svelte-5rb6rd", null, i, { "is-zero": m(t).value === 0 }), x(r, "x1", m(W).plot.x), x(r, "y1", m(t).y), x(r, "x2", m(W).plot.x + m(W).plot.w), x(r, "y2", m(t).y), x(a, "x", m(W).plot.x - 6), x(a, "y", m(t).y + 3), p(o, e);
533
- }, [() => On(m(t).value, m(t).label)]), w(e, n);
533
+ }, [() => On(m(t).value, m(t).label)]), C(e, n);
534
534
  });
535
535
  var o = l(n), s = (e) => {
536
536
  var t = i(), n = E(t);
537
537
  k(n, 17, () => m(W).y2Ticks, (e) => e.value, (e, t) => {
538
538
  var n = he(), r = u(n, !0);
539
- S(n), g((e) => {
539
+ D(n), g((e) => {
540
540
  x(n, "x", m(W).plot.x + m(W).plot.w + 6), x(n, "y", m(t).y + 3), p(r, e);
541
- }, [() => On(m(t).value, m(t).label)]), w(e, n);
542
- }), w(e, t);
541
+ }, [() => On(m(t).value, m(t).label)]), C(e, n);
542
+ }), C(e, t);
543
543
  };
544
544
  a(o, (e) => {
545
545
  m(W).hasRightAxis && e(s);
@@ -548,18 +548,18 @@ function j(o, f) {
548
548
  k(c, 17, () => m(W).xTicks, (e) => e.label + e.x, (e, t) => {
549
549
  var n = i(), r = E(n), o = (e) => {
550
550
  var n = ge(), r = u(n, !0);
551
- S(n), g((e) => {
551
+ D(n), g((e) => {
552
552
  x(n, "x", m(t).x), x(n, "y", m(W).plot.y + m(W).plot.h + 12), x(n, "transform", `rotate(-40 ${m(t).x} ${m(W).plot.y + m(W).plot.h + 12})`), p(r, e);
553
- }, [() => q(m(t).label)]), w(e, n);
553
+ }, [() => q(m(t).label)]), C(e, n);
554
554
  }, s = (e) => {
555
555
  var n = _e(), r = u(n, !0);
556
- S(n), g((e) => {
556
+ D(n), g((e) => {
557
557
  x(n, "x", m(t).x), x(n, "y", m(W).plot.y + m(W).plot.h + 16), p(r, e);
558
- }, [() => q(m(t).label, 16)]), w(e, n);
558
+ }, [() => q(m(t).label, 16)]), C(e, n);
559
559
  };
560
560
  a(r, (e) => {
561
561
  m(W).xLabelRotated ? e(o) : e(s, -1);
562
- }), w(e, n);
562
+ }), C(e, n);
563
563
  });
564
564
  var d = l(c);
565
565
  k(d, 17, () => m(W).categoryGroupTicks, (e) => e.label + e.x0, (e, t) => {
@@ -568,45 +568,45 @@ function j(o, f) {
568
568
  var r = ve();
569
569
  g(() => {
570
570
  x(r, "x1", m(t).x0), x(r, "y1", m(W).plot.y + m(W).plot.h), x(r, "x2", m(t).x0), x(r, "y2", m(n) - 9);
571
- }), w(e, r);
571
+ }), C(e, r);
572
572
  };
573
573
  a(s, (e) => {
574
574
  m(t).x0 > m(W).plot.x + 1 && e(c);
575
575
  });
576
576
  var d = l(s), f = u(d, !0);
577
- S(d), g((e) => {
577
+ D(d), g((e) => {
578
578
  x(o, "x1", m(t).x0 + 3), x(o, "y1", m(n) - 9), x(o, "x2", m(t).x1 - 3), x(o, "y2", m(n) - 9), x(d, "x", m(t).xCenter), x(d, "y", m(n)), p(f, e);
579
- }, [() => q(m(t).label, Math.max(4, Math.floor((m(t).x1 - m(t).x0) / 7)))]), w(e, i);
579
+ }, [() => q(m(t).label, Math.max(4, Math.floor((m(t).x1 - m(t).x0) / 7)))]), C(e, i);
580
580
  });
581
581
  var h = l(d), _ = (e) => {
582
582
  var t = be();
583
583
  x(t, "x", 13);
584
584
  var n = u(t, !0);
585
- S(t), g(() => {
585
+ D(t), g(() => {
586
586
  x(t, "y", m(W).plot.y + m(W).plot.h / 2), x(t, "transform", `rotate(-90 13 ${m(W).plot.y + m(W).plot.h / 2})`), p(n, f.spec.yAxisTitle);
587
- }), w(e, t);
587
+ }), C(e, t);
588
588
  };
589
589
  a(h, (e) => {
590
590
  f.spec.yAxisTitle && e(_);
591
591
  });
592
592
  var v = l(h), y = (e) => {
593
593
  var t = xe(), n = u(t, !0);
594
- S(t), g(() => {
594
+ D(t), g(() => {
595
595
  x(t, "x", m(W).width - 5), x(t, "y", m(W).plot.y + m(W).plot.h / 2), x(t, "transform", `rotate(90 ${m(W).width - 5} ${m(W).plot.y + m(W).plot.h / 2})`), p(n, f.spec.y2AxisTitle);
596
- }), w(e, t);
596
+ }), C(e, t);
597
597
  };
598
598
  a(v, (e) => {
599
599
  f.spec.y2AxisTitle && e(y);
600
600
  });
601
- var b = l(v), C = (e) => {
601
+ var b = l(v), ee = (e) => {
602
602
  var t = Se(), n = u(t, !0);
603
- S(t), g(() => {
603
+ D(t), g(() => {
604
604
  x(t, "x", m(W).plot.x + m(W).plot.w / 2), x(t, "y", m(W).height - 3), p(n, f.spec.xAxisTitle);
605
- }), w(e, t);
605
+ }), C(e, t);
606
606
  };
607
607
  a(b, (e) => {
608
- f.spec.xAxisTitle && e(C);
609
- }), w(e, t);
608
+ f.spec.xAxisTitle && e(ee);
609
+ }), C(e, t);
610
610
  };
611
611
  a(er, (e) => {
612
612
  m(G) ? e(tr) : m(un) && e(nr, 1);
@@ -617,7 +617,7 @@ function j(o, f) {
617
617
  var n = we();
618
618
  g(() => {
619
619
  x(n, "d", m(t).bandPath), x(n, "fill", m(t).color);
620
- }), w(e, n);
620
+ }), C(e, n);
621
621
  };
622
622
  a(r, (e) => {
623
623
  m(t).bandPath && e(o);
@@ -626,7 +626,7 @@ function j(o, f) {
626
626
  var n = Te();
627
627
  g(() => {
628
628
  x(n, "d", m(t).areaPath), x(n, "fill", m(Gt)[m(t).label] ?? m(t).color);
629
- }), w(e, n);
629
+ }), C(e, n);
630
630
  };
631
631
  a(s, (e) => {
632
632
  m(t).areaPath && e(c);
@@ -638,22 +638,22 @@ function j(o, f) {
638
638
  let s;
639
639
  var c = l(o), d = (e) => {
640
640
  var t = Ee(), r = u(t, !0);
641
- S(t), g((e) => {
641
+ D(t), g((e) => {
642
642
  x(t, "x", m(n).x), x(t, "y", m(n).y - 7), p(r, e);
643
- }, [() => M(m(n).value)]), w(e, t);
643
+ }, [() => M(m(n).value)]), C(e, t);
644
644
  };
645
645
  a(c, (e) => {
646
646
  Ft() && e(d);
647
647
  }), g(() => {
648
648
  s = A(o, 0, "sv-grid-chart-dot svelte-5rb6rd", null, s, { "is-active": m(Y) === r }), x(o, "cx", m(n).x), x(o, "cy", m(n).y), x(o, "r", m(Y) === r ? 4 : 3), x(o, "fill", m(t).color);
649
- }), w(e, i);
649
+ }), C(e, i);
650
650
  };
651
651
  a(s, (e) => {
652
652
  m(n).defined && e(c);
653
- }), w(e, o);
654
- }), S(n), g((e) => {
653
+ }), C(e, o);
654
+ }), D(n), g((e) => {
655
655
  O(n, e), x(d, "d", m(t).path), x(d, "stroke", m(t).color);
656
- }, [() => `opacity:${yn(m(t).label)}`]), w(e, n);
656
+ }, [() => `opacity:${yn(m(t).label)}`]), C(e, n);
657
657
  });
658
658
  var ir = l(rr);
659
659
  k(ir, 17, () => m(W).bars, h, (e, t) => {
@@ -661,58 +661,58 @@ function j(o, f) {
661
661
  var n = ke();
662
662
  let r;
663
663
  var i = u(n, !0);
664
- S(n), g((e) => {
664
+ D(n), g((e) => {
665
665
  r = A(n, 0, "sv-grid-chart-datalabel svelte-5rb6rd", null, r, { "on-bar": f.spec.stacked || f.spec.stacked100 }), x(n, "x", f.spec.stacked || f.spec.stacked100 ? m(t).x + m(t).w / 2 : m(t).value >= 0 ? m(t).x + m(t).w + 3 : m(t).x - 3), x(n, "y", m(t).y + m(t).h / 2 + 3), x(n, "text-anchor", f.spec.stacked || f.spec.stacked100 ? "middle" : m(t).value >= 0 ? "start" : "end"), p(i, e);
666
- }, [() => M(m(t).value)]), w(e, n);
666
+ }, [() => M(m(t).value)]), C(e, n);
667
667
  }, s = (e) => {
668
668
  var n = Ae();
669
669
  let r;
670
670
  var i = u(n, !0);
671
- S(n), g((e) => {
671
+ D(n), g((e) => {
672
672
  r = A(n, 0, "sv-grid-chart-datalabel svelte-5rb6rd", null, r, { "on-bar": f.spec.stacked || f.spec.stacked100 }), x(n, "x", m(t).x + m(t).w / 2), x(n, "y", f.spec.stacked || f.spec.stacked100 ? m(t).y + m(t).h / 2 + 3 : m(t).value >= 0 ? m(t).y - 3 : m(t).y + m(t).h + 11), p(i, e);
673
- }, [() => M(m(t).value)]), w(e, n);
673
+ }, [() => M(m(t).value)]), C(e, n);
674
674
  };
675
675
  a(i, (e) => {
676
676
  Ft() && m(G) && m(t).w > 18 ? e(o) : Ft() && !m(G) && m(t).h > 13 && e(s, 1);
677
677
  }), g((e) => {
678
678
  x(r, "x", m(t).x), x(r, "y", m(t).y), x(r, "width", m(t).w), x(r, "height", m(t).h), x(r, "fill", m(Gt)[m(t).series] ?? m(t).color), O(r, e);
679
- }, [() => `opacity:${yn(m(t).series)}`]), w(e, n);
679
+ }, [() => `opacity:${yn(m(t).series)}`]), C(e, n);
680
680
  });
681
681
  var ar = l(ir);
682
682
  k(ar, 17, () => m(W).scatterPoints, h, (e, t) => {
683
683
  var n = Me();
684
684
  g((e) => {
685
685
  x(n, "cx", m(t).cx), x(n, "cy", m(t).cy), x(n, "r", m(t).r), x(n, "fill", m(t).color), x(n, "stroke", m(t).color), O(n, e);
686
- }, [() => `opacity:${yn(m(t).series)}`]), c("mousemove", n, (e) => Fn(e.clientX, e.clientY, m(t))), d("mouseleave", n, Z), w(e, n);
686
+ }, [() => `opacity:${yn(m(t).series)}`]), c("mousemove", n, (e) => Fn(e.clientX, e.clientY, m(t))), d("mouseleave", n, Z), C(e, n);
687
687
  });
688
688
  var or = l(ar);
689
689
  k(or, 17, () => m(W).referenceLines, h, (e, t) => {
690
690
  var n = Ne(), r = E(n), i = l(r), a = u(i, !0);
691
- S(i), g(() => {
691
+ D(i), g(() => {
692
692
  x(r, "x1", m(W).plot.x), x(r, "y1", m(t).y), x(r, "x2", m(W).plot.x + m(W).plot.w), x(r, "y2", m(t).y), x(r, "stroke", m(t).color), x(r, "stroke-dasharray", m(t).dashed ? "5 4" : void 0), x(i, "x", m(W).plot.x + m(W).plot.w - 3), x(i, "y", m(t).y - 3), x(i, "fill", m(t).color), p(a, m(t).label);
693
- }), w(e, n);
693
+ }), C(e, n);
694
694
  });
695
695
  var sr = l(or);
696
696
  k(sr, 17, () => m(W).referenceLinesV, h, (e, t) => {
697
697
  var n = Pe(), r = E(n), i = l(r), a = u(i, !0);
698
- S(i), g(() => {
698
+ D(i), g(() => {
699
699
  x(r, "x1", m(t).x), x(r, "y1", m(W).plot.y), x(r, "x2", m(t).x), x(r, "y2", m(W).plot.y + m(W).plot.h), x(r, "stroke", m(t).color), x(r, "stroke-dasharray", m(t).dashed ? "5 4" : void 0), x(i, "x", m(t).x + 3), x(i, "y", m(W).plot.y + 9), x(i, "fill", m(t).color), p(a, m(t).label);
700
- }), w(e, n);
700
+ }), C(e, n);
701
701
  });
702
702
  var cr = l(sr);
703
703
  k(cr, 19, () => m(W).overlays, (e, t) => e.label + t, (e, t) => {
704
704
  var n = Fe();
705
705
  g(() => {
706
706
  x(n, "d", m(t).path), x(n, "stroke", m(t).color);
707
- }), w(e, n);
707
+ }), C(e, n);
708
708
  });
709
709
  var lr = l(cr);
710
710
  k(lr, 19, () => m(W).annotations, (e, t) => e.label + t, (e, t) => {
711
711
  let n = r(() => m(t).placement === "left" ? -8 : m(t).placement === "right" ? 8 : 0), i = r(() => m(t).placement === "bottom" ? 14 : m(t).placement === "top" ? -8 : 0), a = r(() => m(t).placement === "left" ? "end" : m(t).placement === "right" ? "start" : "middle");
712
712
  var o = Ie(), s = E(o), c = l(s), d = u(c, !0);
713
- S(c), g(() => {
713
+ D(c), g(() => {
714
714
  x(s, "cx", m(t).x), x(s, "cy", m(t).y), x(s, "fill", m(t).color), x(c, "x", m(t).x + m(n)), x(c, "y", m(t).y + m(i)), x(c, "text-anchor", m(a)), x(c, "fill", m(t).color), p(d, m(t).label);
715
- }), w(e, o);
715
+ }), C(e, o);
716
716
  });
717
717
  var ur = l(lr), dr = (e) => {
718
718
  var t = i(), n = E(t), o = (e) => {
@@ -720,17 +720,17 @@ function j(o, f) {
720
720
  var n = Le();
721
721
  g(() => {
722
722
  x(n, "x1", m(W).plot.x), x(n, "y1", m(t)), x(n, "x2", m(W).plot.x + m(W).plot.w), x(n, "y2", m(t));
723
- }), w(e, n);
723
+ }), C(e, n);
724
724
  }, s = (e) => {
725
725
  let t = r(() => m(W).lines[0]?.points[m(Y)]), n = r(() => m(t) && Number.isFinite(m(t).x) ? m(t).x : m(W).plot.x + m(K) * m(Y) + m(K) / 2);
726
726
  var i = Re();
727
727
  g(() => {
728
728
  x(i, "x1", m(n)), x(i, "y1", m(W).plot.y), x(i, "x2", m(n)), x(i, "y2", m(W).plot.y + m(W).plot.h);
729
- }), w(e, i);
729
+ }), C(e, i);
730
730
  };
731
731
  a(n, (e) => {
732
732
  m(G) ? e(o) : e(s, -1);
733
- }), w(e, t);
733
+ }), C(e, t);
734
734
  };
735
735
  a(ur, (e) => {
736
736
  m(un) && m(Y) !== null && e(dr);
@@ -739,24 +739,24 @@ function j(o, f) {
739
739
  var t = Ge(), n = E(t);
740
740
  k(n, 17, () => m(W).heatmapRowTicks, (e) => e.value, (e, t) => {
741
741
  var n = ze(), r = u(n, !0);
742
- S(n), g((e) => {
742
+ D(n), g((e) => {
743
743
  x(n, "x", m(W).plot.x - 8), x(n, "y", m(t).y + 3), p(r, e);
744
- }, [() => q(m(t).label, 22)]), w(e, n);
744
+ }, [() => q(m(t).label, 22)]), C(e, n);
745
745
  });
746
746
  var i = l(n);
747
747
  k(i, 19, () => m(W).heatmapColTicks, (e, t) => e.label + t, (e, t) => {
748
748
  var n = Be(), r = u(n, !0);
749
- S(n), g((e) => {
749
+ D(n), g((e) => {
750
750
  x(n, "x", m(t).x), x(n, "y", m(W).plot.y + m(W).plot.h + 14), p(r, e);
751
- }, [() => q(m(t).label, 14)]), w(e, n);
751
+ }, [() => q(m(t).label, 14)]), C(e, n);
752
752
  });
753
753
  var o = l(i);
754
754
  k(o, 17, () => m(W).heatmapCells, h, (e, t) => {
755
755
  var n = He(), r = E(n), i = l(r), o = (e) => {
756
756
  var n = Ve(), r = u(n, !0);
757
- S(n), g((e) => {
757
+ D(n), g((e) => {
758
758
  x(n, "x", m(t).x + m(t).w / 2), x(n, "y", m(t).y + m(t).h / 2 + 3), x(n, "fill", m(t).textColor), p(r, e);
759
- }, [() => M(m(t).value)]), w(e, n);
759
+ }, [() => M(m(t).value)]), C(e, n);
760
760
  };
761
761
  a(i, (e) => {
762
762
  Ft() && m(t).w > 22 && m(t).h > 14 && e(o);
@@ -764,7 +764,7 @@ function j(o, f) {
764
764
  x(r, "x", m(t).x), x(r, "y", m(t).y), x(r, "width", m(t).w), x(r, "height", m(t).h), x(r, "fill", m(t).color), x(r, "role", f.onSelect ? "button" : "presentation"), x(r, "tabindex", f.onSelect ? 0 : void 0), x(r, "aria-label", e);
765
765
  }, [() => `${m(t).rowLabel} ${m(t).colLabel}: ${M(m(t).value)}`]), c("mousemove", r, (e) => In(e.clientX, e.clientY, m(t))), d("mouseleave", r, Z), c("click", r, () => Q(m(t).colLabel, m(t).rowLabel, m(t).value)), c("keydown", r, (e) => {
766
766
  f.onSelect && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Q(m(t).colLabel, m(t).rowLabel, m(t).value));
767
- }), w(e, n);
767
+ }), C(e, n);
768
768
  });
769
769
  var s = l(o), _ = (e) => {
770
770
  let t = r(() => m(W).plot.x + m(W).plot.w + 14), n = r(() => m(W).plot.h - 20), i = r(() => m(W).heatmapLegend);
@@ -773,18 +773,18 @@ function j(o, f) {
773
773
  var r = Ue();
774
774
  g(() => {
775
775
  x(r, "offset", `${n / (m(i).length - 1) * 100}%`), x(r, "stop-color", m(t).color);
776
- }), w(e, r);
777
- }), S(s), S(o);
776
+ }), C(e, r);
777
+ }), D(s), D(o);
778
778
  var c = l(o), d = l(c), f = u(d, !0);
779
- S(d);
779
+ D(d);
780
780
  var _ = l(d), v = u(_, !0);
781
- S(_), g(() => {
781
+ D(_), g(() => {
782
782
  x(s, "id", `${Ut}-heatscale`), x(c, "x", m(t)), x(c, "y", m(W).plot.y + 10), x(c, "height", m(n)), x(c, "fill", `url(#${Ut}-heatscale)`), x(d, "x", m(t) + 14), x(d, "y", m(W).plot.y + 14), p(f, m(i)[m(i).length - 1].label), x(_, "x", m(t) + 14), x(_, "y", m(W).plot.y + 10 + m(n)), p(v, m(i)[0].label);
783
- }), w(e, a);
783
+ }), C(e, a);
784
784
  };
785
785
  a(s, (e) => {
786
786
  m(W).heatmapLegend.length && e(_);
787
- }), w(e, t);
787
+ }), C(e, t);
788
788
  };
789
789
  a(fr, (e) => {
790
790
  m(fn) && e(pr);
@@ -793,9 +793,9 @@ function j(o, f) {
793
793
  var t = i(), n = E(t);
794
794
  k(n, 17, () => m(W).funnelSegments, h, (e, t, n) => {
795
795
  var r = Ke(), i = E(r), a = l(i), o = u(a, !0);
796
- S(a);
796
+ D(a);
797
797
  var s = l(a), h = u(s);
798
- S(s), g((e, n, r, c) => {
798
+ D(s), g((e, n, r, c) => {
799
799
  x(i, "d", m(t).path), x(i, "fill", m(t).color), x(i, "role", f.onSelect ? "button" : "presentation"), x(i, "tabindex", f.onSelect ? 0 : void 0), x(i, "aria-label", e), x(a, "x", m(t).cx), x(a, "y", m(t).cy - 3), x(a, "fill", m(t).textColor), p(o, n), x(s, "x", m(t).cx), x(s, "y", m(t).cy + 11), x(s, "fill", m(t).textColor), p(h, `${r ?? ""} · ${c ?? ""}%`);
800
800
  }, [
801
801
  () => `${m(t).label}: ${M(m(t).value)}`,
@@ -804,8 +804,8 @@ function j(o, f) {
804
804
  () => (m(t).conversion * 100).toFixed(0)
805
805
  ]), c("mousemove", i, (e) => Ln(e.clientX, e.clientY, m(t))), d("mouseleave", i, Z), c("click", i, () => Q(m(t).label, m(t).label, m(t).value, n)), c("keydown", i, (e) => {
806
806
  f.onSelect && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Q(m(t).label, m(t).label, m(t).value, n));
807
- }), w(e, r);
808
- }), w(e, t);
807
+ }), C(e, r);
808
+ }), C(e, t);
809
809
  };
810
810
  a(mr, (e) => {
811
811
  m(pn) && e(hr);
@@ -818,15 +818,15 @@ function j(o, f) {
818
818
  var o = qe();
819
819
  g(() => {
820
820
  x(o, "cx", m(t).cx), x(o, "cy", m(t).cy), x(o, "r", m(a));
821
- }), w(e, o);
821
+ }), C(e, o);
822
822
  });
823
823
  var a = l(i);
824
824
  k(a, 17, () => m(W).radarAxes, h, (e, n) => {
825
825
  let i = r(() => m(n).x - m(t).cx), a = r(() => m(n).y - m(t).cy), o = r(() => m(t).cx + m(i) * 1.08), s = r(() => m(t).cy + m(a) * 1.08);
826
826
  var c = Je(), d = E(c), f = l(d), h = u(f, !0);
827
- S(f), g((e) => {
827
+ D(f), g((e) => {
828
828
  x(d, "x1", m(t).cx), x(d, "y1", m(t).cy), x(d, "x2", m(n).x), x(d, "y2", m(n).y), x(f, "x", m(o)), x(f, "y", m(s) + 3), x(f, "text-anchor", e), p(h, m(n).label);
829
- }, [() => Math.abs(m(i)) < 1 ? "middle" : m(i) > 0 ? "start" : "end"]), w(e, c);
829
+ }, [() => Math.abs(m(i)) < 1 ? "middle" : m(i) > 0 ? "start" : "end"]), C(e, c);
830
830
  });
831
831
  var o = l(a);
832
832
  k(o, 17, () => m(W).radarSeries, h, (e, t) => {
@@ -835,11 +835,11 @@ function j(o, f) {
835
835
  var r = Ye();
836
836
  g(() => {
837
837
  x(r, "cx", m(n).x), x(r, "cy", m(n).y), x(r, "fill", m(t).color);
838
- }), c("mousemove", r, (e) => Rn(e.clientX, e.clientY, m(t).label, m(n).axis, m(n).value, m(t).color)), d("mouseleave", r, Z), w(e, r);
838
+ }), c("mousemove", r, (e) => Rn(e.clientX, e.clientY, m(t).label, m(n).axis, m(n).value, m(t).color)), d("mouseleave", r, Z), C(e, r);
839
839
  }), g((e) => {
840
840
  x(r, "d", m(t).path), x(r, "fill", m(t).color), x(r, "stroke", m(t).color), O(r, e);
841
- }, [() => `opacity:${yn(m(t).label)}`]), w(e, n);
842
- }), w(e, n);
841
+ }, [() => `opacity:${yn(m(t).label)}`]), C(e, n);
842
+ }), C(e, n);
843
843
  };
844
844
  a(gr, (e) => {
845
845
  m(mn) && m(W).radarCenter && e(_r);
@@ -848,9 +848,9 @@ function j(o, f) {
848
848
  var t = rt(), n = E(t);
849
849
  k(n, 17, () => m(W).calendarMonthTicks, h, (e, t) => {
850
850
  var n = Qe(), r = u(n, !0);
851
- S(n), g(() => {
851
+ D(n), g(() => {
852
852
  x(n, "x", m(t).x), x(n, "y", m(W).plot.y - 8), p(r, m(t).label);
853
- }), w(e, n);
853
+ }), C(e, n);
854
854
  });
855
855
  var o = l(n);
856
856
  k(o, 16, () => [
@@ -865,13 +865,13 @@ function j(o, f) {
865
865
  ][n]), s = r(() => m(W).calendarCells[m(o)]);
866
866
  var c = i(), l = E(c), d = (e) => {
867
867
  var n = $e(), r = u(n, !0);
868
- S(n), g(() => {
868
+ D(n), g(() => {
869
869
  x(n, "x", m(W).plot.x - 6), x(n, "y", m(s).y + m(s).size / 2 + 3), p(r, t);
870
- }), w(e, n);
870
+ }), C(e, n);
871
871
  };
872
872
  a(l, (e) => {
873
873
  m(s) && e(d);
874
- }), w(e, c);
874
+ }), C(e, c);
875
875
  });
876
876
  var s = l(o);
877
877
  k(s, 17, () => m(W).calendarCells, h, (e, t) => {
@@ -882,25 +882,25 @@ function j(o, f) {
882
882
  }, [() => `${m(t).date}: ${m(t).defined ? M(m(t).value) : "no data"}`]), c("mousemove", n, (e) => m(t).defined && X(e.clientX, e.clientY, m(t).date, [{
883
883
  color: m(t).color,
884
884
  value: M(m(t).value)
885
- }])), d("mouseleave", n, Z), w(e, n);
885
+ }])), d("mouseleave", n, Z), C(e, n);
886
886
  });
887
887
  var f = l(s), _ = (e) => {
888
888
  let t = r(() => m(W).plot.x + m(W).plot.w + 12), n = r(() => m(W).plot.y + 4);
889
889
  var i = nt(), a = E(i), o = l(a);
890
890
  k(o, 17, () => m(W).calendarLegend, h, (e, r, i) => {
891
891
  var a = tt(), o = E(a), s = l(o), c = u(s, !0);
892
- S(s), g(() => {
892
+ D(s), g(() => {
893
893
  x(o, "x", m(t)), x(o, "y", m(n) + 6 + i * 13), x(o, "fill", m(r).color), x(s, "x", m(t) + 14), x(s, "y", m(n) + 14 + i * 13), p(c, m(r).label);
894
- }), w(e, a);
894
+ }), C(e, a);
895
895
  });
896
896
  var s = l(o);
897
897
  g(() => {
898
898
  x(a, "x", m(t)), x(a, "y", m(n)), x(s, "x", m(t)), x(s, "y", m(n) + 12 + m(W).calendarLegend.length * 13);
899
- }), w(e, i);
899
+ }), C(e, i);
900
900
  };
901
901
  a(f, (e) => {
902
902
  m(W).calendarLegend.length && e(_);
903
- }), w(e, t);
903
+ }), C(e, t);
904
904
  };
905
905
  a(vr, (e) => {
906
906
  m(hn) && e(yr);
@@ -913,36 +913,36 @@ function j(o, f) {
913
913
  let r;
914
914
  g(() => {
915
915
  r = A(n, 0, "sv-grid-chart-gauge-tick svelte-5rb6rd", null, r, { "is-major": m(t).major }), x(n, "x1", m(t).x1), x(n, "y1", m(t).y1), x(n, "x2", m(t).x2), x(n, "y2", m(t).y2);
916
- }), w(e, n);
916
+ }), C(e, n);
917
917
  });
918
918
  var o = l(i), s = l(o);
919
919
  k(s, 17, () => m(t).rangePaths, h, (e, t) => {
920
920
  var n = at();
921
921
  g(() => {
922
922
  x(n, "d", m(t).path), x(n, "stroke", m(t).color);
923
- }), w(e, n);
923
+ }), C(e, n);
924
924
  });
925
925
  var c = l(s), d = l(c), f = (e) => {
926
926
  var n = ot();
927
927
  g(() => {
928
928
  x(n, "x1", m(t).target.x1), x(n, "y1", m(t).target.y1), x(n, "x2", m(t).target.x2), x(n, "y2", m(t).target.y2);
929
- }), w(e, n);
929
+ }), C(e, n);
930
930
  };
931
931
  a(d, (e) => {
932
932
  m(t).target && e(f);
933
933
  });
934
- var _ = l(d), v = l(_), y = l(v), b = l(y), C = u(b, !0);
935
- S(b);
936
- var T = l(b), ee = u(T, !0);
937
- S(T);
938
- var D = l(T), te = u(D);
939
- S(D), g((e, n, r) => {
940
- x(o, "d", m(t).trackPath), x(c, "d", m(t).valuePath), x(c, "stroke", m(t).valueColor ?? "var(--sg-accent, #2563eb)"), x(_, "d", m(t).needle.path), x(_, "fill", m(t).valueColor ?? "var(--sg-accent, #2563eb)"), x(v, "cx", m(t).cx), x(v, "cy", m(t).cy), x(v, "r", m(t).needle.hubR), x(y, "cx", m(t).cx), x(y, "cy", m(t).cy), x(b, "x", m(t).minLabel.x), x(b, "y", m(t).minLabel.y), p(C, e), x(T, "x", m(t).maxLabel.x), x(T, "y", m(t).maxLabel.y), p(ee, n), x(D, "x", m(t).cx), x(D, "y", m(t).cy + 38), p(te, `${r ?? ""}${m(t).unit ? ` ${m(t).unit}` : ""}`);
934
+ var _ = l(d), v = l(_), y = l(v), b = l(y), ee = u(b, !0);
935
+ D(b);
936
+ var S = l(b), w = u(S, !0);
937
+ D(S);
938
+ var T = l(S), te = u(T);
939
+ D(T), g((e, n, r) => {
940
+ x(o, "d", m(t).trackPath), x(c, "d", m(t).valuePath), x(c, "stroke", m(t).valueColor ?? "var(--sg-accent, #2563eb)"), x(_, "d", m(t).needle.path), x(_, "fill", m(t).valueColor ?? "var(--sg-accent, #2563eb)"), x(v, "cx", m(t).cx), x(v, "cy", m(t).cy), x(v, "r", m(t).needle.hubR), x(y, "cx", m(t).cx), x(y, "cy", m(t).cy), x(b, "x", m(t).minLabel.x), x(b, "y", m(t).minLabel.y), p(ee, e), x(S, "x", m(t).maxLabel.x), x(S, "y", m(t).maxLabel.y), p(w, n), x(T, "x", m(t).cx), x(T, "y", m(t).cy + 38), p(te, `${r ?? ""}${m(t).unit ? ` ${m(t).unit}` : ""}`);
941
941
  }, [
942
942
  () => M(m(t).min),
943
943
  () => M(m(t).max),
944
944
  () => M(m(t).value)
945
- ]), w(e, n);
945
+ ]), C(e, n);
946
946
  };
947
947
  a(br, (e) => {
948
948
  m(gn) && m(W).gauge && e(xr);
@@ -952,18 +952,18 @@ function j(o, f) {
952
952
  k(n, 17, () => m(W).treemapCells, h, (e, t) => {
953
953
  var n = ut(), r = E(n), i = l(r), o = (e) => {
954
954
  var n = ct(), r = u(n, !0);
955
- S(n), g((e) => {
955
+ D(n), g((e) => {
956
956
  x(n, "x", m(t).x + 4), x(n, "y", m(t).y + 12), x(n, "fill", m(t).textColor), p(r, e);
957
- }, [() => q(m(t).name, Math.max(3, Math.floor(m(t).w / 7)))]), w(e, n);
957
+ }, [() => q(m(t).name, Math.max(3, Math.floor(m(t).w / 7)))]), C(e, n);
958
958
  };
959
959
  a(i, (e) => {
960
960
  m(t).w > 36 && m(t).h > 18 && e(o);
961
961
  });
962
962
  var s = l(i), h = (e) => {
963
963
  var n = lt(), r = u(n, !0);
964
- S(n), g((e) => {
964
+ D(n), g((e) => {
965
965
  x(n, "x", m(t).x + 4), x(n, "y", m(t).y + 24), x(n, "fill", m(t).textColor), p(r, e);
966
- }, [() => M(m(t).value)]), w(e, n);
966
+ }, [() => M(m(t).value)]), C(e, n);
967
967
  };
968
968
  a(s, (e) => {
969
969
  m(t).w > 60 && m(t).h > 30 && e(h);
@@ -974,8 +974,8 @@ function j(o, f) {
974
974
  value: M(m(t).value)
975
975
  }])), d("mouseleave", r, Z), c("click", r, () => Q(m(t).name, "", m(t).value)), c("keydown", r, (e) => {
976
976
  f.onSelect && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Q(m(t).name, "", m(t).value));
977
- }), w(e, n);
978
- }), w(e, t);
977
+ }), C(e, n);
978
+ }), C(e, t);
979
979
  };
980
980
  a(Sr, (e) => {
981
981
  m(_n) && e(Cr);
@@ -989,14 +989,14 @@ function j(o, f) {
989
989
  }, [() => `${m(t).source} -> ${m(t).target}: ${M(m(t).value)}`]), c("mousemove", n, (e) => X(e.clientX, e.clientY, `${m(t).source} -> ${m(t).target}`, [{
990
990
  color: m(t).color,
991
991
  value: M(m(t).value)
992
- }])), d("mouseleave", n, Z), w(e, n);
992
+ }])), d("mouseleave", n, Z), C(e, n);
993
993
  });
994
994
  var r = l(n);
995
995
  k(r, 17, () => m(W).sankeyNodes, h, (e, t) => {
996
996
  var n = ft(), r = E(n);
997
997
  x(r, "tabindex", 0);
998
998
  var i = l(r), a = u(i, !0);
999
- S(i), g((e) => {
999
+ D(i), g((e) => {
1000
1000
  x(r, "x", m(t).x), x(r, "y", m(t).y), x(r, "width", m(t).w), x(r, "height", m(t).h), x(r, "fill", m(t).color), x(r, "aria-label", e), x(i, "x", m(t).column === 0 ? m(t).x + m(t).w + 4 : m(t).x - 4), x(i, "y", m(t).y + m(t).h / 2 + 3), x(i, "text-anchor", m(t).column === 0 ? "start" : "end"), p(a, m(t).label);
1001
1001
  }, [() => `${m(t).label}: in ${M(m(t).totalIn)}, out ${M(m(t).totalOut)}`]), c("mousemove", r, (e) => X(e.clientX, e.clientY, m(t).label, [{
1002
1002
  label: "in",
@@ -1013,8 +1013,8 @@ function j(o, f) {
1013
1013
  label: "out",
1014
1014
  value: M(m(t).totalOut)
1015
1015
  }]);
1016
- }), d("blur", r, Z), w(e, n);
1017
- }), w(e, t);
1016
+ }), d("blur", r, Z), C(e, n);
1017
+ }), C(e, t);
1018
1018
  };
1019
1019
  a(wr, (e) => {
1020
1020
  m(vn) && e(Tr);
@@ -1023,9 +1023,9 @@ function j(o, f) {
1023
1023
  k(Er, 17, () => m(W).slices, h, (e, t, n) => {
1024
1024
  var r = ht(), i = E(r), o = l(i), s = (e) => {
1025
1025
  var n = mt(), r = u(n);
1026
- S(n), g((e) => {
1026
+ D(n), g((e) => {
1027
1027
  x(n, "x", m(t).cx), x(n, "y", m(t).cy), p(r, `${e ?? ""}%`);
1028
- }, [() => m(t).percent.toFixed(0)]), w(e, n);
1028
+ }, [() => m(t).percent.toFixed(0)]), C(e, n);
1029
1029
  };
1030
1030
  a(o, (e) => {
1031
1031
  Ft() && m(t).percent >= 6 && e(s);
@@ -1034,15 +1034,15 @@ function j(o, f) {
1034
1034
  }, [() => `${m(t).label}: ${M(m(t).value)}, ${m(t).percent.toFixed(1)}%`]), c("mousemove", i, (e) => Pn(e.clientX, e.clientY, m(t).label, m(t).value, m(t).percent)), d("mouseleave", i, Z), d("focus", i, (e) => {
1035
1035
  let n = e.currentTarget.getBoundingClientRect();
1036
1036
  Pn(n.left + n.width / 2, n.top, m(t).label, m(t).value, m(t).percent);
1037
- }), d("blur", i, Z), c("click", i, () => Q(m(t).label, m(t).label, m(t).value, n)), c("keydown", i, (e) => Vn(e, m(t).label, m(t).value)), w(e, r);
1037
+ }), d("blur", i, Z), c("click", i, () => Q(m(t).label, m(t).label, m(t).value, n)), c("keydown", i, (e) => Vn(e, m(t).label, m(t).value)), C(e, r);
1038
1038
  });
1039
1039
  var Dr = l(Er), Or = (e) => {
1040
1040
  var t = gt(), n = E(t), r = u(n, !0);
1041
- S(n);
1041
+ D(n);
1042
1042
  var i = l(n);
1043
1043
  g((e) => {
1044
1044
  x(n, "x", m(W).donut.cx), x(n, "y", m(W).donut.cy - 4), p(r, e), x(i, "x", m(W).donut.cx), x(i, "y", m(W).donut.cy + 11);
1045
- }, [() => M(m(W).donut.total)]), w(e, t);
1045
+ }, [() => M(m(W).donut.total)]), C(e, t);
1046
1046
  };
1047
1047
  a(Dr, (e) => {
1048
1048
  m(W).donut && e(Or);
@@ -1054,8 +1054,8 @@ function j(o, f) {
1054
1054
  var h = _t();
1055
1055
  g((e, t) => {
1056
1056
  x(h, "x", m(G) ? m(W).plot.x : m(u)), x(h, "y", m(G) ? m(W).plot.y + m(K) * m(n) : m(W).plot.y), x(h, "width", e), x(h, "height", m(G) ? m(K) : m(W).plot.h), x(h, "role", f.onSelect ? "button" : "img"), x(h, "tabindex", j() ? m(n) === 0 ? 0 : -1 : void 0), x(h, "data-cat-index", m(n)), x(h, "aria-label", t);
1057
- }, [() => m(G) ? m(W).plot.w : Math.max(0, m(p) - m(u)), () => `${m(t)}: ${jn(m(n)).map((e) => `${e.label} ${e.value}`).join(", ")}`]), c("mousemove", h, (e) => Mn(e.clientX, e.clientY, m(n))), d("mouseleave", h, Z), d("focus", h, (e) => Nn(e.currentTarget, m(n))), d("blur", h, Z), c("click", h, () => Q(m(t), "", 0, m(n))), c("keydown", h, (e) => Bn(e, m(n))), w(e, h);
1058
- }), w(e, t);
1057
+ }, [() => m(G) ? m(W).plot.w : Math.max(0, m(p) - m(u)), () => `${m(t)}: ${jn(m(n)).map((e) => `${e.label} ${e.value}`).join(", ")}`]), c("mousemove", h, (e) => Mn(e.clientX, e.clientY, m(n))), d("mouseleave", h, Z), d("focus", h, (e) => Nn(e.currentTarget, m(n))), d("blur", h, Z), c("click", h, () => Q(m(t), "", 0, m(n))), c("keydown", h, (e) => Bn(e, m(n))), C(e, h);
1058
+ }), C(e, t);
1059
1059
  };
1060
1060
  a(kr, (e) => {
1061
1061
  m(un) && !m(dn) && e(Ar);
@@ -1064,11 +1064,11 @@ function j(o, f) {
1064
1064
  var t = vt();
1065
1065
  g(() => {
1066
1066
  x(t, "x", m(z).x), x(t, "y", m(z).y), x(t, "width", m(z).w), x(t, "height", m(z).h);
1067
- }), w(e, t);
1067
+ }), C(e, t);
1068
1068
  };
1069
1069
  a(jr, (e) => {
1070
1070
  m(z) && e(Mr);
1071
- }), S($), b($, (e) => _(I, e), () => m(I));
1071
+ }), D($), b($, (e) => _(I, e), () => m(I));
1072
1072
  var Nr = l($, 2), Pr = (e) => {
1073
1073
  let t = r(() => m(B).plot.x + m(an).t0 * m(B).plot.w), n = r(() => (m(an).t1 - m(an).t0) * m(B).plot.w);
1074
1074
  var i = St(), o = u(i);
@@ -1077,7 +1077,7 @@ function j(o, f) {
1077
1077
  var n = yt();
1078
1078
  g(() => {
1079
1079
  x(n, "d", m(t).areaPath), x(n, "fill", m(t).color);
1080
- }), w(e, n);
1080
+ }), C(e, n);
1081
1081
  };
1082
1082
  a(r, (e) => {
1083
1083
  m(t).areaPath && e(i);
@@ -1085,26 +1085,26 @@ function j(o, f) {
1085
1085
  var o = l(r);
1086
1086
  g(() => {
1087
1087
  x(o, "d", m(t).path), x(o, "stroke", m(t).color);
1088
- }), w(e, n);
1088
+ }), C(e, n);
1089
1089
  });
1090
1090
  var s = l(o);
1091
1091
  k(s, 17, () => m(B).bars, h, (e, t) => {
1092
1092
  var n = xt();
1093
1093
  g(() => {
1094
1094
  x(n, "x", m(t).x), x(n, "y", m(t).y), x(n, "width", m(t).w), x(n, "height", m(t).h), x(n, "fill", m(t).color);
1095
- }), w(e, n);
1095
+ }), C(e, n);
1096
1096
  });
1097
1097
  var f = l(s), p = l(f), _ = l(p), v = l(_), y = l(v);
1098
- S(i), g(() => {
1098
+ D(i), g(() => {
1099
1099
  x(i, "viewBox", `0 0 ${m(B).width} ${m(B).height}`), x(f, "x", m(B).plot.x), x(f, "y", m(B).plot.y), x(f, "width", m(t) - m(B).plot.x), x(f, "height", m(B).plot.h), x(p, "x", m(t) + m(n)), x(p, "y", m(B).plot.y), x(p, "width", m(B).plot.x + m(B).plot.w - (m(t) + m(n))), x(p, "height", m(B).plot.h), x(_, "x", m(t)), x(_, "y", m(B).plot.y), x(_, "width", m(n)), x(_, "height", m(B).plot.h), x(v, "x", m(t) - 4), x(v, "y", m(B).plot.y), x(v, "height", m(B).plot.h), x(y, "x", m(t) + m(n) - 4), x(y, "y", m(B).plot.y), x(y, "height", m(B).plot.h);
1100
- }), c("pointermove", i, cn), c("pointerdown", _, (e) => sn(e, "move")), c("pointerup", _, H), d("pointercancel", _, H), c("pointerdown", v, (e) => sn(e, "left")), c("pointerup", v, H), d("pointercancel", v, H), c("pointerdown", y, (e) => sn(e, "right")), c("pointerup", y, H), d("pointercancel", y, H), w(e, i);
1100
+ }), c("pointermove", i, cn), c("pointerdown", _, (e) => sn(e, "move")), c("pointerup", _, H), d("pointercancel", _, H), c("pointerdown", v, (e) => sn(e, "left")), c("pointerup", v, H), d("pointercancel", v, H), c("pointerdown", y, (e) => sn(e, "right")), c("pointerup", y, H), d("pointercancel", y, H), C(e, i);
1101
1101
  };
1102
1102
  a(Nr, (e) => {
1103
1103
  m(nn) && m(B) && e(Pr);
1104
1104
  });
1105
1105
  var Fr = l(Nr, 2), Ir = (e) => {
1106
1106
  var t = Ct();
1107
- w(e, t);
1107
+ C(e, t);
1108
1108
  };
1109
1109
  a(Fr, (e) => {
1110
1110
  m(wn) && e(Ir);
@@ -1113,28 +1113,28 @@ function j(o, f) {
1113
1113
  var t = Dt();
1114
1114
  let n;
1115
1115
  var r = u(t), i = u(r, !0);
1116
- S(r);
1116
+ D(r);
1117
1117
  var o = l(r, 2);
1118
1118
  k(o, 17, () => m(J).rows, h, (e, t) => {
1119
1119
  var n = Et(), r = u(n), i = (e) => {
1120
1120
  var n = wt();
1121
- g(() => O(n, `background:${m(t).color}`)), w(e, n);
1121
+ g(() => O(n, `background:${m(t).color}`)), C(e, n);
1122
1122
  };
1123
1123
  a(r, (e) => {
1124
1124
  m(t).color && e(i);
1125
1125
  });
1126
1126
  var o = l(r, 2), s = (e) => {
1127
1127
  var n = Tt(), r = u(n, !0);
1128
- S(n), g(() => p(r, m(t).label)), w(e, n);
1128
+ D(n), g(() => p(r, m(t).label)), C(e, n);
1129
1129
  };
1130
1130
  a(o, (e) => {
1131
1131
  m(t).label && e(s);
1132
1132
  });
1133
1133
  var c = l(o, 2), d = u(c, !0);
1134
- S(c), S(n), g(() => p(d, m(t).value)), w(e, n);
1135
- }), S(t), g(() => {
1134
+ D(c), D(n), g(() => p(d, m(t).value)), C(e, n);
1135
+ }), D(t), g(() => {
1136
1136
  n = A(t, 1, "sv-grid-chart-tooltip svelte-5rb6rd", null, n, { "is-below": m(J).below }), O(t, `left:${m(J).left}px; top:${m(J).top}px;`), p(i, m(J).title);
1137
- }), w(e, t);
1137
+ }), C(e, t);
1138
1138
  };
1139
1139
  a(Lr, (e) => {
1140
1140
  m(J) && e(Rr);
@@ -1145,46 +1145,46 @@ function j(o, f) {
1145
1145
  var n = Ot();
1146
1146
  let r;
1147
1147
  var i = u(n), a = l(i);
1148
- S(n), g(() => {
1148
+ D(n), g(() => {
1149
1149
  r = A(n, 1, "sv-grid-chart-legend-item svelte-5rb6rd", null, r, {
1150
1150
  "is-off": m(t).off,
1151
1151
  "is-isolated": m(N) === m(t).label
1152
1152
  }), n.disabled = !j(), x(n, "aria-pressed", !m(t).off), x(n, "title", j() ? `${m(t).off ? "Show" : "Hide"} ${m(t).label} · double-click to isolate` : m(t).label), O(i, `background:${m(t).off ? "transparent" : m(t).color}; border-color:${m(t).color}`), p(a, ` ${m(t).label ?? ""}`);
1153
- }), c("click", n, () => Tn(m(t).label)), c("dblclick", n, () => En(m(t).label)), d("pointerenter", n, () => j() && _(Vt, m(t).label, !0)), d("pointerleave", n, () => _(Vt, null)), w(e, n);
1153
+ }), c("click", n, () => Tn(m(t).label)), c("dblclick", n, () => En(m(t).label)), d("pointerenter", n, () => j() && _(Vt, m(t).label, !0)), d("pointerleave", n, () => _(Vt, null)), C(e, n);
1154
1154
  });
1155
1155
  var r = l(n, 2), i = (e) => {
1156
1156
  var t = kt(), n = u(t, !0);
1157
- S(t), g(() => p(n, m(xn) ? "Show less" : `+${m(bn).length - 10} more`)), c("click", t, () => _(xn, !m(xn))), w(e, t);
1157
+ D(t), g(() => p(n, m(xn) ? "Show less" : `+${m(bn).length - 10} more`)), c("click", t, () => _(xn, !m(xn))), C(e, t);
1158
1158
  };
1159
1159
  a(r, (e) => {
1160
1160
  m(Sn) && e(i);
1161
- }), S(t), w(e, t);
1161
+ }), D(t), C(e, t);
1162
1162
  };
1163
1163
  a(zr, (e) => {
1164
- C() && m(bn).length && e(Br);
1164
+ S() && m(bn).length && e(Br);
1165
1165
  });
1166
1166
  var Vr = l(zr, 2), Hr = u(Vr), Ur = u(Hr);
1167
- S(Hr);
1167
+ D(Hr);
1168
1168
  var Wr = l(Hr), Gr = u(Wr);
1169
1169
  k(Gr, 20, () => m(Dn).cols, (e) => e, (e, t) => {
1170
1170
  var n = jt(), r = u(n, !0);
1171
- S(n), g(() => p(r, t)), w(e, n);
1172
- }), S(Gr), S(Wr);
1171
+ D(n), g(() => p(r, t)), C(e, n);
1172
+ }), D(Gr), D(Wr);
1173
1173
  var Kr = l(Wr);
1174
1174
  k(Kr, 21, () => m(Dn).rows, h, (e, t) => {
1175
1175
  var n = Nt();
1176
1176
  k(n, 21, () => m(t), h, (e, t) => {
1177
1177
  var n = Mt(), r = u(n, !0);
1178
- S(n), g(() => p(r, m(t))), w(e, n);
1179
- }), S(n), w(e, n);
1180
- }), S(Kr), S(Vr), S(Jn), b(Jn, (e) => _(kn, e), () => m(kn)), g(() => {
1178
+ D(n), g(() => p(r, m(t))), C(e, n);
1179
+ }), D(n), C(e, n);
1180
+ }), D(Kr), D(Vr), D(Jn), b(Jn, (e) => _(kn, e), () => m(kn)), g(() => {
1181
1181
  Zn = A($, 0, "sv-grid-chart-svg svelte-5rb6rd", null, Zn, {
1182
1182
  "is-interactive": j(),
1183
1183
  "is-clickable": !!f.onSelect || !!f.onDrill,
1184
1184
  "is-zoomable": It() && m(un),
1185
1185
  "is-dragging": !!m(L)
1186
1186
  }), x($, "viewBox", `0 0 ${m(W).width} ${m(W).height}`), x($, "aria-label", `${f.spec.type} chart`), x($, "aria-describedby", `${Ut}-table`), x(Vr, "id", `${Ut}-table`), p(Ur, `${f.spec.type ?? ""} chart data`);
1187
- }), c("pointerdown", $, Qt), c("pointermove", $, $t), c("pointerup", $, en), d("pointercancel", $, en), c("dblclick", $, tn), w(o, Jn), te();
1187
+ }), c("pointerdown", $, Qt), c("pointermove", $, $t), c("pointerup", $, en), d("pointercancel", $, en), c("dblclick", $, tn), C(o, Jn), ee();
1188
1188
  }
1189
1189
  o([
1190
1190
  "click",