@pixerate/editor 0.160.0 → 0.162.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 (146) hide show
  1. package/dist/agent/index.cjs +36 -35
  2. package/dist/agent/index.js +7 -6
  3. package/dist/animation/index.cjs +5 -4
  4. package/dist/animation/index.js +4 -3
  5. package/dist/animation-editor/index.cjs +62 -61
  6. package/dist/animation-editor/index.js +6 -5
  7. package/dist/canvas/index.cjs +33 -32
  8. package/dist/canvas/index.js +6 -5
  9. package/dist/chart/index.cjs +88 -87
  10. package/dist/chart/index.js +7 -6
  11. package/dist/{chunk-QMI5HZWA.cjs → chunk-236TKNUR.cjs} +3 -3
  12. package/dist/{chunk-6UPGM3JB.js → chunk-2TKHLX6H.js} +1 -1
  13. package/dist/{chunk-3YDQLQH2.cjs → chunk-32MMQYCQ.cjs} +81 -81
  14. package/dist/{chunk-MHEXLG3M.cjs → chunk-3GJH2MGH.cjs} +37 -37
  15. package/dist/{chunk-AKDWAWSY.cjs → chunk-3IHNXRUV.cjs} +45 -45
  16. package/dist/{chunk-VKF3PWKR.cjs → chunk-3OSXHLIT.cjs} +259 -28
  17. package/dist/{chunk-TVO6W2Q6.cjs → chunk-4NGVHHJB.cjs} +17 -17
  18. package/dist/chunk-4VU4CP7R.js +769 -0
  19. package/dist/chunk-6DM3PUQD.cjs +767 -0
  20. package/dist/{chunk-DBIVICAO.js → chunk-7CKPUUN4.js} +1 -1
  21. package/dist/{chunk-57JLBGJ5.cjs → chunk-7YBDRJXT.cjs} +8 -8
  22. package/dist/{chunk-KY3FYKP3.js → chunk-BQWGN5WH.js} +1 -1
  23. package/dist/{chunk-LEUZ4FRC.cjs → chunk-CIPIESX4.cjs} +3 -3
  24. package/dist/chunk-CJE5MOIS.js +347 -0
  25. package/dist/{chunk-5QBRAIVK.js → chunk-CX6JLDFC.js} +3 -3
  26. package/dist/{chunk-R3QY7PPL.js → chunk-DTSTNRPH.js} +1 -1
  27. package/dist/{chunk-6LUYFHHN.cjs → chunk-EQ46F75O.cjs} +51 -51
  28. package/dist/{chunk-UKCJ43YL.cjs → chunk-ES3UEVUT.cjs} +130 -898
  29. package/dist/{chunk-UM3RPYC5.js → chunk-EVPZ5IKN.js} +1 -1
  30. package/dist/{chunk-XNQ5EFB4.cjs → chunk-EY22AY6R.cjs} +16 -16
  31. package/dist/chunk-FKUKJ3XA.cjs +347 -0
  32. package/dist/{chunk-YABNLNY7.js → chunk-GLMP22FT.js} +3 -3
  33. package/dist/{chunk-SUF6WRXR.cjs → chunk-GTELFJRE.cjs} +2 -2
  34. package/dist/{chunk-72BGL3I2.js → chunk-GWV4T5NZ.js} +1 -1
  35. package/dist/{chunk-AY65VQSU.js → chunk-H3OEM3Q2.js} +1 -1
  36. package/dist/{chunk-4YWAEV4W.cjs → chunk-HDGBM7EA.cjs} +26 -26
  37. package/dist/{chunk-H5XX4KHB.js → chunk-HLOKB7WW.js} +5 -3
  38. package/dist/{chunk-WNAAWLZ5.js → chunk-KGTF55R3.js} +2 -2
  39. package/dist/{chunk-WPPJH6X4.cjs → chunk-LL3H5XUH.cjs} +6 -4
  40. package/dist/{chunk-4T44CJ5K.cjs → chunk-NA4UVVJ4.cjs} +15 -15
  41. package/dist/{chunk-Q6PA362P.js → chunk-NO5QQDHZ.js} +2 -2
  42. package/dist/{chunk-AA34BA7G.js → chunk-QYZGBVNC.js} +30 -798
  43. package/dist/chunk-S6X2QRVU.cjs +769 -0
  44. package/dist/{chunk-SSCL7QQ4.js → chunk-XDCFJEU7.js} +2 -2
  45. package/dist/{chunk-IQ6KKXOU.js → chunk-YN4AYYBJ.js} +243 -12
  46. package/dist/chunk-ZGOHKS3X.js +767 -0
  47. package/dist/color/index.cjs +6 -2
  48. package/dist/color/index.d.cts +1 -0
  49. package/dist/color/index.d.ts +1 -0
  50. package/dist/color/index.js +28 -24
  51. package/dist/color/suggest.d.cts +12 -0
  52. package/dist/color/suggest.d.ts +12 -0
  53. package/dist/effects/index.cjs +44 -771
  54. package/dist/effects/index.js +34 -761
  55. package/dist/effects/ui.d.cts +20 -3
  56. package/dist/effects/ui.d.ts +20 -3
  57. package/dist/export/index.cjs +6 -5
  58. package/dist/export/index.js +5 -4
  59. package/dist/extensions/index.cjs +9 -8
  60. package/dist/extensions/index.js +8 -7
  61. package/dist/gradient/index.cjs +28 -26
  62. package/dist/gradient/index.js +7 -5
  63. package/dist/image-editor/index.cjs +638 -637
  64. package/dist/image-editor/index.js +5 -4
  65. package/dist/index.cjs +15 -14
  66. package/dist/index.js +9 -8
  67. package/dist/paint-editor/index.cjs +17 -16
  68. package/dist/paint-editor/index.js +6 -5
  69. package/dist/typography/accessibility.d.cts +44 -0
  70. package/dist/typography/accessibility.d.ts +44 -0
  71. package/dist/typography/catalog.d.cts +98 -0
  72. package/dist/typography/catalog.d.ts +98 -0
  73. package/dist/typography/index.cjs +1099 -0
  74. package/dist/typography/index.d.cts +16 -0
  75. package/dist/typography/index.d.ts +16 -0
  76. package/dist/typography/index.js +1099 -0
  77. package/dist/typography/metrics.d.cts +31 -0
  78. package/dist/typography/metrics.d.ts +31 -0
  79. package/dist/typography/picker.d.cts +132 -0
  80. package/dist/typography/picker.d.ts +132 -0
  81. package/dist/typography/registry.d.cts +66 -0
  82. package/dist/typography/registry.d.ts +66 -0
  83. package/dist/typography/scale.d.cts +62 -0
  84. package/dist/typography/scale.d.ts +62 -0
  85. package/dist/typography/segment.d.cts +26 -0
  86. package/dist/typography/segment.d.ts +26 -0
  87. package/dist/typography/stack.d.cts +26 -0
  88. package/dist/typography/stack.d.ts +26 -0
  89. package/dist/typography/tools.d.cts +34 -0
  90. package/dist/typography/tools.d.ts +34 -0
  91. package/dist/typography/types.d.cts +96 -0
  92. package/dist/typography/types.d.ts +96 -0
  93. package/dist/typography/weight.d.cts +13 -0
  94. package/dist/typography/weight.d.ts +13 -0
  95. package/dist/vector/index.cjs +950 -949
  96. package/dist/vector/index.js +5 -4
  97. package/dist/video-editor/audio.d.cts +9 -0
  98. package/dist/video-editor/audio.d.ts +9 -0
  99. package/dist/video-editor/check.d.cts +1 -1
  100. package/dist/video-editor/check.d.ts +1 -1
  101. package/dist/video-editor/controller.d.cts +47 -0
  102. package/dist/video-editor/controller.d.ts +47 -0
  103. package/dist/video-editor/dialogue-tools.d.cts +19 -0
  104. package/dist/video-editor/dialogue-tools.d.ts +19 -0
  105. package/dist/video-editor/effect-authoring.d.cts +54 -0
  106. package/dist/video-editor/effect-authoring.d.ts +54 -0
  107. package/dist/video-editor/evaluate.d.cts +11 -0
  108. package/dist/video-editor/evaluate.d.ts +11 -0
  109. package/dist/video-editor/export.d.cts +7 -1
  110. package/dist/video-editor/export.d.ts +7 -1
  111. package/dist/video-editor/index.cjs +1857 -531
  112. package/dist/video-editor/index.d.cts +7 -0
  113. package/dist/video-editor/index.d.ts +7 -0
  114. package/dist/video-editor/index.js +1516 -190
  115. package/dist/video-editor/lut.d.cts +12 -2
  116. package/dist/video-editor/lut.d.ts +12 -2
  117. package/dist/video-editor/mask.d.cts +48 -0
  118. package/dist/video-editor/mask.d.ts +48 -0
  119. package/dist/video-editor/mix.d.cts +107 -0
  120. package/dist/video-editor/mix.d.ts +107 -0
  121. package/dist/video-editor/music-tools.d.cts +19 -0
  122. package/dist/video-editor/music-tools.d.ts +19 -0
  123. package/dist/video-editor/parse.d.cts +3 -1
  124. package/dist/video-editor/parse.d.ts +3 -1
  125. package/dist/video-editor/plan.d.cts +75 -0
  126. package/dist/video-editor/plan.d.ts +75 -0
  127. package/dist/video-editor/render.d.cts +1 -1
  128. package/dist/video-editor/render.d.ts +1 -1
  129. package/dist/video-editor/timeline.d.cts +2 -0
  130. package/dist/video-editor/timeline.d.ts +2 -0
  131. package/dist/video-editor/tools.d.cts +90 -0
  132. package/dist/video-editor/tools.d.ts +90 -0
  133. package/dist/video-editor/transcript-controller.d.cts +106 -0
  134. package/dist/video-editor/transcript-controller.d.ts +106 -0
  135. package/dist/video-editor/transcript.d.cts +40 -0
  136. package/dist/video-editor/transcript.d.ts +40 -0
  137. package/dist/video-editor/types.d.cts +62 -2
  138. package/dist/video-editor/types.d.ts +62 -2
  139. package/dist/video-editor/ui.d.cts +21 -1
  140. package/dist/video-editor/ui.d.ts +21 -1
  141. package/package.json +11 -1
  142. package/skills/README.md +3 -0
  143. package/skills/pixerate-bgm-alignment/SKILL.md +82 -0
  144. package/skills/pixerate-talking-head-edit/SKILL.md +80 -0
  145. package/skills/pixerate-typography/SKILL.md +91 -0
  146. package/skills/pixerate-video-editor/SKILL.md +40 -2
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkTVO6W2Q6cjs = require('../chunk-TVO6W2Q6.cjs');
10
+ var _chunk4NGVHHJBcjs = require('../chunk-4NGVHHJB.cjs');
11
11
 
12
12
 
13
13
 
@@ -15,7 +15,7 @@ var _chunkTVO6W2Q6cjs = require('../chunk-TVO6W2Q6.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunk4T44CJ5Kcjs = require('../chunk-4T44CJ5K.cjs');
18
+ var _chunkNA4UVVJ4cjs = require('../chunk-NA4UVVJ4.cjs');
19
19
 
20
20
 
21
21
 
@@ -37,7 +37,7 @@ var _chunk4T44CJ5Kcjs = require('../chunk-4T44CJ5K.cjs');
37
37
 
38
38
 
39
39
 
40
- var _chunkAKDWAWSYcjs = require('../chunk-AKDWAWSY.cjs');
40
+ var _chunk3IHNXRUVcjs = require('../chunk-3IHNXRUV.cjs');
41
41
 
42
42
 
43
43
 
@@ -76,7 +76,7 @@ var _chunkAKDWAWSYcjs = require('../chunk-AKDWAWSY.cjs');
76
76
 
77
77
 
78
78
 
79
- var _chunk4YWAEV4Wcjs = require('../chunk-4YWAEV4W.cjs');
79
+ var _chunkHDGBM7EAcjs = require('../chunk-HDGBM7EA.cjs');
80
80
 
81
81
 
82
82
 
@@ -138,7 +138,7 @@ var _chunk4YWAEV4Wcjs = require('../chunk-4YWAEV4W.cjs');
138
138
 
139
139
 
140
140
 
141
- var _chunkWPPJH6X4cjs = require('../chunk-WPPJH6X4.cjs');
141
+ var _chunkLL3H5XUHcjs = require('../chunk-LL3H5XUH.cjs');
142
142
  require('../chunk-55AKPTLM.cjs');
143
143
 
144
144
 
@@ -159,7 +159,8 @@ var _chunkALNIFK5Gcjs = require('../chunk-ALNIFK5G.cjs');
159
159
  var _chunkM4MIZPQIcjs = require('../chunk-M4MIZPQI.cjs');
160
160
  require('../chunk-2BSBFBOA.cjs');
161
161
  require('../chunk-FJ2MSI43.cjs');
162
- require('../chunk-UKCJ43YL.cjs');
162
+ require('../chunk-ES3UEVUT.cjs');
163
+ require('../chunk-S6X2QRVU.cjs');
163
164
  require('../chunk-IPJ3TEYR.cjs');
164
165
 
165
166
  // src/chart/raster.ts
@@ -270,7 +271,7 @@ function chartFileName(spec, extension) {
270
271
  }
271
272
  async function downloadChartPng(spec, options = {}) {
272
273
  const { width = 800, height = 450, filename = chartFileName(spec, "png"), theme, ...raster } = options;
273
- const svg = _chunkAKDWAWSYcjs.chartToSvg.call(void 0, spec, { width, height, theme });
274
+ const svg = _chunk3IHNXRUVcjs.chartToSvg.call(void 0, spec, { width, height, theme });
274
275
  const { url, width: w, height: h } = await svgToPngDataUrl(svg, { ...raster, width, height });
275
276
  const doc = _nullishCoalesce(raster.document, () => ( globalThis.document));
276
277
  const link = doc.createElement("a");
@@ -285,7 +286,7 @@ async function downloadChartPng(spec, options = {}) {
285
286
 
286
287
  // src/chart/recommend.ts
287
288
  var blank = (c) => c === null || c === void 0 || String(c).trim() === "";
288
- var isText = (c) => blank(c) || _chunkWPPJH6X4cjs.parseChartValue.call(void 0, c) === void 0;
289
+ var isText = (c) => blank(c) || _chunkLL3H5XUHcjs.parseChartValue.call(void 0, c) === void 0;
289
290
  function analyzeChartTable(rows) {
290
291
  const grid = rows.filter((r) => r.some((c) => !blank(c)));
291
292
  const height = grid.length;
@@ -303,7 +304,7 @@ function analyzeChartTable(rows) {
303
304
  let anyPositive = false;
304
305
  for (let r = headerRow ? 1 : 0; r < height; r++)
305
306
  for (let c = labelColumn ? 1 : 0; c < width; c++) {
306
- const v = _chunkWPPJH6X4cjs.parseChartValue.call(void 0, cell(r, c));
307
+ const v = _chunkLL3H5XUHcjs.parseChartValue.call(void 0, cell(r, c));
307
308
  if (typeof v !== "number") continue;
308
309
  anyNumber = true;
309
310
  if (v < 0) {
@@ -312,7 +313,7 @@ function analyzeChartTable(rows) {
312
313
  } else if (v > 0) anyPositive = true;
313
314
  }
314
315
  const labels = byRows ? _nullishCoalesce(_optionalChain([grid, 'access', _20 => _20[0], 'optionalAccess', _21 => _21.slice, 'call', _22 => _22(labelColumn ? 1 : 0)]), () => ( [])) : grid.slice(headerRow ? 1 : 0).map((r) => r[0]);
315
- const dates = (byRows ? headerRow : labelColumn) && labels.length > 1 && labels.filter((l) => !blank(l) && _chunk4YWAEV4Wcjs.parseChartDate.call(void 0, String(l)) !== null).length >= labels.length * 0.8;
316
+ const dates = (byRows ? headerRow : labelColumn) && labels.length > 1 && labels.filter((l) => !blank(l) && _chunkHDGBM7EAcjs.parseChartDate.call(void 0, String(l)) !== null).length >= labels.length * 0.8;
316
317
  return {
317
318
  headerRow,
318
319
  labelColumn,
@@ -399,7 +400,7 @@ function chartFromTable(rows, options = {}) {
399
400
  if (xFromFirst) {
400
401
  table = table.map((r) => [r[1], ...r.slice(2)]);
401
402
  }
402
- const data = _chunkWPPJH6X4cjs.chartDataFromTable.call(void 0, table, { seriesIn: shape.byRows ? "rows" : "columns", header: true, xFromFirstColumn: xFromFirst });
403
+ const data = _chunkLL3H5XUHcjs.chartDataFromTable.call(void 0, table, { seriesIn: shape.byRows ? "rows" : "columns", header: true, xFromFirstColumn: xFromFirst });
403
404
  return { type, stacking, categories: data.categories, series: data.series, issues: data.issues, shape };
404
405
  }
405
406
 
@@ -435,10 +436,10 @@ function createChartCommands(controller, options = {}) {
435
436
  readOnly: true,
436
437
  keywords: ["chart", "data", "spec", "get", "summary"],
437
438
  description: "Returns the chart spec, its data as a table (series names in the header row) and a summary: per-series min / max / mean / trend, axes as drawn, layout warnings and a colour check.",
438
- params: object({ width: _chunkTVO6W2Q6cjs.WIDTH, height: _chunkTVO6W2Q6cjs.HEIGHT }),
439
+ params: object({ width: _chunk4NGVHHJBcjs.WIDTH, height: _chunk4NGVHHJBcjs.HEIGHT }),
439
440
  run: (_ctx, params = {}) => {
440
441
  const spec = controller.getSpec();
441
- return { spec: controller.toJSON(), table: _chunkWPPJH6X4cjs.chartDataToTable.call(void 0, spec), summary: _chunkAKDWAWSYcjs.summarizeChart.call(void 0, controller.toJSON(), { width: _nullishCoalesce(_optionalChain([params, 'optionalAccess', _25 => _25.width]), () => ( 640)), height: _nullishCoalesce(_optionalChain([params, 'optionalAccess', _26 => _26.height]), () => ( 400)) }), issues: controller.getState().issues };
442
+ return { spec: controller.toJSON(), table: _chunkLL3H5XUHcjs.chartDataToTable.call(void 0, spec), summary: _chunk3IHNXRUVcjs.summarizeChart.call(void 0, controller.toJSON(), { width: _nullishCoalesce(_optionalChain([params, 'optionalAccess', _25 => _25.width]), () => ( 640)), height: _nullishCoalesce(_optionalChain([params, 'optionalAccess', _26 => _26.height]), () => ( 400)) }), issues: controller.getState().issues };
442
443
  }
443
444
  },
444
445
  {
@@ -447,7 +448,7 @@ function createChartCommands(controller, options = {}) {
447
448
  label: "Change Chart\u2026",
448
449
  keywords: ["chart", "title", "axis", "legend", "stack", "style", "format", "type"],
449
450
  description: 'Changes chart presentation as one undo step: type, titles, axes (xAxis = categories, yAxis = values, yAxis2 = secondary values; reverse, and scale "log" on value axes), legend, stacking, orientation, curve, points, data labels, palette, donut hole, bar spacing, histogram bins, waterfall total, or radar rings and grid shape. Invalid values change nothing and return why.',
450
- params: object(_chunkTVO6W2Q6cjs.CHART_UPDATE_PROPERTIES),
451
+ params: object(_chunk4NGVHHJBcjs.CHART_UPDATE_PROPERTIES),
451
452
  run: (_ctx, params) => {
452
453
  check(controller.update(params));
453
454
  return { spec: controller.toJSON() };
@@ -461,11 +462,11 @@ function createChartCommands(controller, options = {}) {
461
462
  description: "Replaces the categories and series as one undo step. Each series has one value per category (padded with gaps).",
462
463
  params: object({
463
464
  categories: { type: "array", items: { type: "string" }, description: "Category labels in order." },
464
- series: { type: "array", description: "The new series.", items: object({ id: { type: "string", description: "Stable id (optional)." }, ..._chunkTVO6W2Q6cjs.SERIES_PROPS }, ["name", "values"]) }
465
+ series: { type: "array", description: "The new series.", items: object({ id: { type: "string", description: "Stable id (optional)." }, ..._chunk4NGVHHJBcjs.SERIES_PROPS }, ["name", "values"]) }
465
466
  }),
466
467
  run: (_ctx, params) => {
467
468
  check(controller.setData(params));
468
- return { table: _chunkWPPJH6X4cjs.chartDataToTable.call(void 0, controller.getSpec()) };
469
+ return { table: _chunkLL3H5XUHcjs.chartDataToTable.call(void 0, controller.getSpec()) };
469
470
  }
470
471
  },
471
472
  {
@@ -474,10 +475,10 @@ function createChartCommands(controller, options = {}) {
474
475
  label: "Set Chart Values\u2026",
475
476
  keywords: ["chart", "value", "cell", "edit"],
476
477
  description: "Sets individual values as one undo step. Series by id or name; category by index or label.",
477
- params: object({ cells: { type: "array", minItems: 1, description: "Values to set.", items: object({ series: _chunkTVO6W2Q6cjs.SERIES_REF, category: _chunkTVO6W2Q6cjs.CATEGORY_REF, value: _chunkTVO6W2Q6cjs.VALUE }, ["series", "category", "value"]) } }, ["cells"]),
478
+ params: object({ cells: { type: "array", minItems: 1, description: "Values to set.", items: object({ series: _chunk4NGVHHJBcjs.SERIES_REF, category: _chunk4NGVHHJBcjs.CATEGORY_REF, value: _chunk4NGVHHJBcjs.VALUE }, ["series", "category", "value"]) } }, ["cells"]),
478
479
  run: (_ctx, params) => {
479
480
  check(controller.setValues(params.cells.map((c) => ({ seriesId: resolveSeries(c.series).id, index: resolveCategory(c.category), value: c.value }))));
480
- return { table: _chunkWPPJH6X4cjs.chartDataToTable.call(void 0, controller.getSpec()) };
481
+ return { table: _chunkLL3H5XUHcjs.chartDataToTable.call(void 0, controller.getSpec()) };
481
482
  }
482
483
  },
483
484
  {
@@ -486,7 +487,7 @@ function createChartCommands(controller, options = {}) {
486
487
  label: "Add Series",
487
488
  keywords: ["chart", "series", "new"],
488
489
  description: "Adds a series (default: an empty one at the end). Returns its id.",
489
- params: object({ ..._chunkTVO6W2Q6cjs.SERIES_PROPS, id: { type: "string", description: "Id to use (default series-N)." }, at: { type: "integer", minimum: 0, description: "Position (default: last)." } }),
490
+ params: object({ ..._chunk4NGVHHJBcjs.SERIES_PROPS, id: { type: "string", description: "Id to use (default series-N)." }, at: { type: "integer", minimum: 0, description: "Position (default: last)." } }),
490
491
  run: (_ctx, params = {}) => {
491
492
  const { at, ...input } = _nullishCoalesce(params, () => ( {}));
492
493
  const clean = Object.fromEntries(Object.entries(input).filter(([, v]) => v !== null));
@@ -501,7 +502,7 @@ function createChartCommands(controller, options = {}) {
501
502
  label: "Change Series\u2026",
502
503
  keywords: ["chart", "series", "rename", "colour", "color", "hide", "axis", "marker"],
503
504
  description: "Renames, recolours, hides, moves to the secondary axis or changes how a series is drawn, including error bars (null resets a field).",
504
- params: object({ series: _chunkTVO6W2Q6cjs.SERIES_REF, ...Object.fromEntries(Object.entries(_chunkTVO6W2Q6cjs.SERIES_PROPS).filter(([k]) => k !== "values")) }, ["series"]),
505
+ params: object({ series: _chunk4NGVHHJBcjs.SERIES_REF, ...Object.fromEntries(Object.entries(_chunk4NGVHHJBcjs.SERIES_PROPS).filter(([k]) => k !== "values")) }, ["series"]),
505
506
  run: (_ctx, params) => {
506
507
  const { series, ...patch } = params;
507
508
  const id = resolveSeries(series).id;
@@ -515,7 +516,7 @@ function createChartCommands(controller, options = {}) {
515
516
  label: "Delete Series",
516
517
  keywords: ["chart", "series", "remove"],
517
518
  description: "Deletes a series by id or name.",
518
- params: object({ series: _chunkTVO6W2Q6cjs.SERIES_REF }, ["series"]),
519
+ params: object({ series: _chunk4NGVHHJBcjs.SERIES_REF }, ["series"]),
519
520
  run: (_ctx, params) => {
520
521
  check(controller.removeSeries(resolveSeries(params.series).id));
521
522
  return { series: seriesIds() };
@@ -536,7 +537,7 @@ function createChartCommands(controller, options = {}) {
536
537
  label: "Delete Category",
537
538
  keywords: ["chart", "category", "row", "remove"],
538
539
  description: "Deletes a category (and its values) by index or label.",
539
- params: object({ category: _chunkTVO6W2Q6cjs.CATEGORY_REF }, ["category"]),
540
+ params: object({ category: _chunk4NGVHHJBcjs.CATEGORY_REF }, ["category"]),
540
541
  run: (_ctx, params) => {
541
542
  check(controller.removeCategory(resolveCategory(params.category)));
542
543
  return { categories: controller.getSpec().categories };
@@ -548,7 +549,7 @@ function createChartCommands(controller, options = {}) {
548
549
  label: "Add Trendline\u2026",
549
550
  keywords: ["chart", "trend", "regression", "fit", "forecast", "moving average"],
550
551
  description: "Fits a trendline to a series (linear, exponential, logarithmic, power, polynomial or moving average). Returns its index and the fit.",
551
- params: object({ series: _chunkTVO6W2Q6cjs.SERIES_REF, ..._chunkTVO6W2Q6cjs.TRENDLINE_PROPS }, ["series", "type"]),
552
+ params: object({ series: _chunk4NGVHHJBcjs.SERIES_REF, ..._chunk4NGVHHJBcjs.TRENDLINE_PROPS }, ["series", "type"]),
552
553
  run: (_ctx, params) => {
553
554
  const { series, ...line } = params;
554
555
  const result = controller.addTrendline(resolveSeries(series).id, line);
@@ -563,7 +564,7 @@ function createChartCommands(controller, options = {}) {
563
564
  label: "Delete Trendline",
564
565
  keywords: ["chart", "trend", "remove"],
565
566
  description: "Deletes a trendline from a series.",
566
- params: object({ series: _chunkTVO6W2Q6cjs.SERIES_REF, index: { type: "integer", minimum: 0, description: "Trendline index (0 = first)." } }, ["series", "index"]),
567
+ params: object({ series: _chunk4NGVHHJBcjs.SERIES_REF, index: { type: "integer", minimum: 0, description: "Trendline index (0 = first)." } }, ["series", "index"]),
567
568
  run: (_ctx, params) => {
568
569
  check(controller.removeTrendline(resolveSeries(params.series).id, params.index));
569
570
  return { trendlines: _nullishCoalesce(_optionalChain([controller, 'access', _29 => _29.getSeries, 'call', _30 => _30(resolveSeries(params.series).id), 'optionalAccess', _31 => _31.trendlines]), () => ( [])) };
@@ -576,8 +577,8 @@ function createChartCommands(controller, options = {}) {
576
577
  keywords: ["chart", "quick layout", "style", "colours", "colors", "monochrome", "theme"],
577
578
  description: "Applies a quick layout and / or colour scheme as one undo step.",
578
579
  params: object({
579
- layout: { type: "string", enum: _chunkAKDWAWSYcjs.CHART_LAYOUT_PRESETS.map((p) => p.id), description: "Quick layout id." },
580
- colors: { type: "string", enum: _chunkAKDWAWSYcjs.CHART_COLOR_SCHEMES.map((p) => p.id), description: "Colour scheme id." }
580
+ layout: { type: "string", enum: _chunk3IHNXRUVcjs.CHART_LAYOUT_PRESETS.map((p) => p.id), description: "Quick layout id." },
581
+ colors: { type: "string", enum: _chunk3IHNXRUVcjs.CHART_COLOR_SCHEMES.map((p) => p.id), description: "Colour scheme id." }
581
582
  }),
582
583
  run: (_ctx, params = {}) => {
583
584
  check(controller.applyPreset(_nullishCoalesce(params, () => ( {}))));
@@ -592,7 +593,7 @@ function createChartCommands(controller, options = {}) {
592
593
  description: "Swaps series and categories as one undo step.",
593
594
  run: () => {
594
595
  check(controller.transpose());
595
- return { table: _chunkWPPJH6X4cjs.chartDataToTable.call(void 0, controller.getSpec()) };
596
+ return { table: _chunkLL3H5XUHcjs.chartDataToTable.call(void 0, controller.getSpec()) };
596
597
  }
597
598
  },
598
599
  {
@@ -612,7 +613,7 @@ function createChartCommands(controller, options = {}) {
612
613
  run: (_ctx, params) => {
613
614
  const result = controller.importCsv(params.csv, { seriesIn: params.seriesIn, header: params.header });
614
615
  check(result);
615
- return { table: _chunkWPPJH6X4cjs.chartDataToTable.call(void 0, controller.getSpec()), issues: _nullishCoalesce(result.issues, () => ( [])) };
616
+ return { table: _chunkLL3H5XUHcjs.chartDataToTable.call(void 0, controller.getSpec()), issues: _nullishCoalesce(result.issues, () => ( [])) };
616
617
  }
617
618
  },
618
619
  {
@@ -623,7 +624,7 @@ function createChartCommands(controller, options = {}) {
623
624
  description: "Replaces the chart with Mermaid xychart-beta, pie or radar-beta text (one undo step). Unreadable lines are listed with line numbers.",
624
625
  params: object({ mermaid: { type: "string", description: "Mermaid text." } }, ["mermaid"]),
625
626
  run: (_ctx, params) => {
626
- const read = _chunkAKDWAWSYcjs.chartFromMermaid.call(void 0, params.mermaid);
627
+ const read = _chunk3IHNXRUVcjs.chartFromMermaid.call(void 0, params.mermaid);
627
628
  if (!read.family) fail(read.issues.map((i) => i.message).join(" ") || "Expected Mermaid starting with xychart-beta, pie or radar-beta.");
628
629
  check(controller.update({ ...read.spec }, { label: "Import Mermaid chart" }));
629
630
  return { spec: controller.toJSON(), issues: read.issues };
@@ -637,7 +638,7 @@ function createChartCommands(controller, options = {}) {
637
638
  keywords: ["chart", "mermaid", "markdown", "export"],
638
639
  description: "Returns the chart as Mermaid text (with a round-trip comment unless meta is false).",
639
640
  params: object({ meta: { type: "boolean", description: "Include the %% @pixerate round-trip comment (default true)." } }),
640
- run: (_ctx, params = {}) => ({ mermaid: _chunkAKDWAWSYcjs.chartToMermaid.call(void 0, controller.toJSON(), { meta: _optionalChain([params, 'optionalAccess', _32 => _32.meta]) }) })
641
+ run: (_ctx, params = {}) => ({ mermaid: _chunk3IHNXRUVcjs.chartToMermaid.call(void 0, controller.toJSON(), { meta: _optionalChain([params, 'optionalAccess', _32 => _32.meta]) }) })
641
642
  },
642
643
  {
643
644
  ...base,
@@ -646,7 +647,7 @@ function createChartCommands(controller, options = {}) {
646
647
  readOnly: true,
647
648
  keywords: ["chart", "office", "word", "powerpoint", "docx", "pptx", "xml", "export"],
648
649
  description: "Returns the chart as a DrawingML chart part (c:chartSpace) and what could not be written.",
649
- run: () => _chunk4T44CJ5Kcjs.chartToOoxml.call(void 0, controller.toJSON())
650
+ run: () => _chunkNA4UVVJ4cjs.chartToOoxml.call(void 0, controller.toJSON())
650
651
  },
651
652
  {
652
653
  ...base,
@@ -655,9 +656,9 @@ function createChartCommands(controller, options = {}) {
655
656
  readOnly: true,
656
657
  keywords: ["chart", "svg", "export", "image"],
657
658
  description: "Returns the chart drawn as a standalone, accessible SVG string (with <title> and <desc>).",
658
- params: object({ width: _chunkTVO6W2Q6cjs.WIDTH, height: _chunkTVO6W2Q6cjs.HEIGHT }),
659
+ params: object({ width: _chunk4NGVHHJBcjs.WIDTH, height: _chunk4NGVHHJBcjs.HEIGHT }),
659
660
  run: (_ctx, params = {}) => ({
660
- svg: _chunkAKDWAWSYcjs.chartToSvg.call(void 0, controller.toJSON(), { width: _nullishCoalesce(_optionalChain([params, 'optionalAccess', _33 => _33.width]), () => ( 640)), height: _nullishCoalesce(_optionalChain([params, 'optionalAccess', _34 => _34.height]), () => ( 400)) })
661
+ svg: _chunk3IHNXRUVcjs.chartToSvg.call(void 0, controller.toJSON(), { width: _nullishCoalesce(_optionalChain([params, 'optionalAccess', _33 => _33.width]), () => ( 640)), height: _nullishCoalesce(_optionalChain([params, 'optionalAccess', _34 => _34.height]), () => ( 400)) })
661
662
  })
662
663
  },
663
664
  {
@@ -669,7 +670,7 @@ function createChartCommands(controller, options = {}) {
669
670
  description: "Suggests chart types for the current data (or CSV), best first, each with a reason.",
670
671
  params: object({ csv: { type: "string", description: "CSV text to analyse instead of the current data." } }),
671
672
  run: (_ctx, params = {}) => ({
672
- recommendations: recommendChartTypes(_optionalChain([params, 'optionalAccess', _35 => _35.csv]) !== void 0 ? _chunkN3KJFGXTcjs.parseCsv.call(void 0, params.csv) : _chunkWPPJH6X4cjs.chartDataToTable.call(void 0, controller.getSpec()))
673
+ recommendations: recommendChartTypes(_optionalChain([params, 'optionalAccess', _35 => _35.csv]) !== void 0 ? _chunkN3KJFGXTcjs.parseCsv.call(void 0, params.csv) : _chunkLL3H5XUHcjs.chartDataToTable.call(void 0, controller.getSpec()))
673
674
  })
674
675
  },
675
676
  {
@@ -682,8 +683,8 @@ function createChartCommands(controller, options = {}) {
682
683
  run: () => {
683
684
  const s = controller.getSpec();
684
685
  const visible = s.series.filter((x) => !x.hidden);
685
- const colors = _chunkWPPJH6X4cjs.chartColorsByCategory.call(void 0, s.type) ? s.categories.map((_, i) => _optionalChain([visible, 'access', _36 => _36[0], 'optionalAccess', _37 => _37.pointColors, 'optionalAccess', _38 => _38[i]]) || _chunkWPPJH6X4cjs.chartSliceColor.call(void 0, s, i)) : visible.map((x) => _chunkWPPJH6X4cjs.chartSeriesColor.call(void 0, s, s.series.indexOf(x)));
686
- return { colors, ..._chunkWPPJH6X4cjs.checkChartColors.call(void 0, colors) };
686
+ const colors = _chunkLL3H5XUHcjs.chartColorsByCategory.call(void 0, s.type) ? s.categories.map((_, i) => _optionalChain([visible, 'access', _36 => _36[0], 'optionalAccess', _37 => _37.pointColors, 'optionalAccess', _38 => _38[i]]) || _chunkLL3H5XUHcjs.chartSliceColor.call(void 0, s, i)) : visible.map((x) => _chunkLL3H5XUHcjs.chartSeriesColor.call(void 0, s, s.series.indexOf(x)));
687
+ return { colors, ..._chunkLL3H5XUHcjs.checkChartColors.call(void 0, colors) };
687
688
  }
688
689
  },
689
690
  {
@@ -714,7 +715,7 @@ function chartClientToScene(scene, box, clientX, clientY) {
714
715
  function canDragChartPoint(controller, scene, target) {
715
716
  if (_optionalChain([target, 'optionalAccess', _39 => _39.kind]) !== "point" || !scene.valueScale || scene.percent) return false;
716
717
  const spec = controller.getSpec();
717
- const family = _chunkWPPJH6X4cjs.chartFamily.call(void 0, spec);
718
+ const family = _chunkLL3H5XUHcjs.chartFamily.call(void 0, spec);
718
719
  if (family !== "cartesian" && family !== "xy" && family !== "waterfall") return false;
719
720
  const series = controller.getSeries(target.seriesId);
720
721
  return !!series && !series.hidden && series.values[target.index] !== null;
@@ -723,7 +724,7 @@ function snapChartDragValue(scene, value, options = {}) {
723
724
  const scale = _nullishCoalesce(options.scale, () => ( scene.valueScale));
724
725
  const tolerance = _nullishCoalesce(options.tolerancePx, () => ( 6));
725
726
  if (scale) {
726
- const px = (v) => _chunk4YWAEV4Wcjs.chartScaleToPixel.call(void 0, v, scale);
727
+ const px = (v) => _chunkHDGBM7EAcjs.chartScaleToPixel.call(void 0, v, scale);
727
728
  const at = px(value);
728
729
  let best = null;
729
730
  let bestDist = tolerance;
@@ -738,7 +739,7 @@ function snapChartDragValue(scene, value, options = {}) {
738
739
  }
739
740
  if (best !== null) return best;
740
741
  }
741
- return _chunk4YWAEV4Wcjs.snapChartValue.call(void 0, scene, value, options.step, _optionalChain([scale, 'optionalAccess', _40 => _40.ticks]), _optionalChain([scale, 'optionalAccess', _41 => _41.logBase]));
742
+ return _chunkHDGBM7EAcjs.snapChartValue.call(void 0, scene, value, options.step, _optionalChain([scale, 'optionalAccess', _40 => _40.ticks]), _optionalChain([scale, 'optionalAccess', _41 => _41.logBase]));
742
743
  }
743
744
  function startChartPointDrag(controller, scene, target, start, options = {}) {
744
745
  if (!canDragChartPoint(controller, scene, target)) return null;
@@ -747,11 +748,11 @@ function startChartPointDrag(controller, scene, target, start, options = {}) {
747
748
  const series = controller.getSeries(seriesId);
748
749
  const secondary = series.axis === "secondary" && !!scene.valueScale2;
749
750
  const scale = secondary ? scene.valueScale2 : scene.valueScale;
750
- const xy = _chunkWPPJH6X4cjs.chartFamily.call(void 0, spec) === "xy" && !!scene.xScale;
751
+ const xy = _chunkLL3H5XUHcjs.chartFamily.call(void 0, spec) === "xy" && !!scene.xScale;
751
752
  const startValue = _nullishCoalesce(series.values[index], () => ( 0));
752
753
  const startX = _nullishCoalesce(_optionalChain([series, 'access', _42 => _42.x, 'optionalAccess', _43 => _43[index]]), () => ( null));
753
- const startAt = _chunk4YWAEV4Wcjs.chartValueAtPoint.call(void 0, scene, start, secondary);
754
- const startAtX = xy ? _chunk4YWAEV4Wcjs.chartXAtPoint.call(void 0, scene, start) : void 0;
754
+ const startAt = _chunkHDGBM7EAcjs.chartValueAtPoint.call(void 0, scene, start, secondary);
755
+ const startAtX = xy ? _chunkHDGBM7EAcjs.chartXAtPoint.call(void 0, scene, start) : void 0;
755
756
  if (startAt === void 0) return null;
756
757
  const candidates = [0, startValue];
757
758
  if (!xy) {
@@ -769,7 +770,7 @@ function startChartPointDrag(controller, scene, target, start, options = {}) {
769
770
  target: { seriesId, index },
770
771
  move(point, moveOptions = {}) {
771
772
  if (ended) return;
772
- const at = _chunk4YWAEV4Wcjs.chartValueAtPoint.call(void 0, scene, point, secondary);
773
+ const at = _chunkHDGBM7EAcjs.chartValueAtPoint.call(void 0, scene, point, secondary);
773
774
  if (at === void 0) return;
774
775
  const factor = moveOptions.fine ? 0.1 : 1;
775
776
  const moved = (from, to, s, value) => s.logBase && value > 0 && from > 0 && to > 0 ? value * Math.pow(to / from, factor) : value + (to - from) * factor;
@@ -777,7 +778,7 @@ function startChartPointDrag(controller, scene, target, start, options = {}) {
777
778
  let moveX = false;
778
779
  let atX;
779
780
  if (xy && startX !== null && startAtX !== void 0) {
780
- atX = _chunk4YWAEV4Wcjs.chartXAtPoint.call(void 0, scene, point);
781
+ atX = _chunkHDGBM7EAcjs.chartXAtPoint.call(void 0, scene, point);
781
782
  moveX = atX !== void 0;
782
783
  if (moveOptions.lockAxis) {
783
784
  if (Math.abs(point.x - start.x) >= Math.abs(point.y - start.y)) moveY = false;
@@ -789,7 +790,7 @@ function startChartPointDrag(controller, scene, target, start, options = {}) {
789
790
  if (moveOptions.fine) {
790
791
  if (s.logBase && !options.step) return v > 0 ? Number(v.toPrecision(3)) : v;
791
792
  const unit = options.step ? options.step / 10 : s.ticks.length > 1 ? (s.ticks[1] - s.ticks[0]) / 100 : void 0;
792
- return _chunk4YWAEV4Wcjs.snapChartValue.call(void 0, scene, v, unit, s.ticks);
793
+ return _chunkHDGBM7EAcjs.snapChartValue.call(void 0, scene, v, unit, s.ticks);
793
794
  }
794
795
  return snapChartDragValue(scene, v, { candidates: c, tolerancePx: options.tolerancePx, step: options.step, scale: s });
795
796
  };
@@ -877,7 +878,7 @@ function describeChartSelection(controller, selection = controller.getState().se
877
878
  case "legend":
878
879
  return "Legend";
879
880
  case "axis":
880
- return selection.axis === "x" ? _chunkWPPJH6X4cjs.chartFamily.call(void 0, spec) === "xy" ? "X axis" : "Category axis" : selection.axis === "y" ? "Value axis" : "Secondary value axis";
881
+ return selection.axis === "x" ? _chunkLL3H5XUHcjs.chartFamily.call(void 0, spec) === "xy" ? "X axis" : "Category axis" : selection.axis === "y" ? "Value axis" : "Secondary value axis";
881
882
  case "series":
882
883
  return `Series "${_nullishCoalesce(_optionalChain([controller, 'access', _59 => _59.getSeries, 'call', _60 => _60(selection.seriesId), 'optionalAccess', _61 => _61.name]), () => ( selection.seriesId))}"`;
883
884
  case "category":
@@ -891,7 +892,7 @@ function describeChartSelection(controller, selection = controller.getState().se
891
892
  const series = controller.getSeries(selection.seriesId);
892
893
  const value = _optionalChain([series, 'optionalAccess', _65 => _65.values, 'access', _66 => _66[selection.index]]);
893
894
  const x = _optionalChain([series, 'optionalAccess', _67 => _67.x, 'optionalAccess', _68 => _68[selection.index]]);
894
- if (x !== void 0 && x !== null && _chunkWPPJH6X4cjs.chartFamily.call(void 0, spec) === "xy") return `${_nullishCoalesce(_optionalChain([series, 'optionalAccess', _69 => _69.name]), () => ( selection.seriesId))}: (${x}, ${_nullishCoalesce(value, () => ( "blank"))})`;
895
+ if (x !== void 0 && x !== null && _chunkLL3H5XUHcjs.chartFamily.call(void 0, spec) === "xy") return `${_nullishCoalesce(_optionalChain([series, 'optionalAccess', _69 => _69.name]), () => ( selection.seriesId))}: (${x}, ${_nullishCoalesce(value, () => ( "blank"))})`;
895
896
  return `${_nullishCoalesce(_optionalChain([series, 'optionalAccess', _70 => _70.name]), () => ( selection.seriesId))} \xB7 ${_nullishCoalesce(spec.categories[selection.index], () => ( selection.index))}: ${_nullishCoalesce(value, () => ( "blank"))}`;
896
897
  }
897
898
  }
@@ -968,7 +969,7 @@ function planChartCommand(spec, scene, command, speed = 1) {
968
969
  const from = _nullishCoalesce(_optionalChain([series, 'optionalAccess', _73 => _73.values, 'access', _74 => _74[command.index]]), () => ( 0));
969
970
  const scale = _optionalChain([series, 'optionalAccess', _75 => _75.axis]) === "secondary" ? _nullishCoalesce(scene.valueScale2, () => ( scene.valueScale)) : scene.valueScale;
970
971
  if (at && scale) {
971
- const px = _chunk4YWAEV4Wcjs.linearMap.call(void 0, command.value, scale.domain, scale.range);
972
+ const px = _chunkHDGBM7EAcjs.linearMap.call(void 0, command.value, scale.domain, scale.range);
972
973
  const to = scale.axis === "y" ? { x: at.x, y: px } : { x: px, y: at.y };
973
974
  steps.push({ type: "move", to: at, ms: ms(380) }, { type: "press" }, { type: "drag", to, ms: ms(520), from, value: command.value }, { type: "release" });
974
975
  } else steps.push({ type: "drag", to: { x: scene.plot.x + scene.plot.width / 2, y: scene.plot.y + scene.plot.height / 2 }, ms: ms(200), from, value: command.value });
@@ -1201,13 +1202,13 @@ function createChartToolProvider(controller, options = {}) {
1201
1202
  fail2(`There is no category ${JSON.stringify(ref)}; expected an index from 0 to ${categories.length - 1} or one of ${categories.slice(0, 20).map((c) => JSON.stringify(c)).join(", ")}.`);
1202
1203
  return index;
1203
1204
  };
1204
- const table = () => _chunkWPPJH6X4cjs.chartDataToTable.call(void 0, spec());
1205
+ const table = () => _chunkLL3H5XUHcjs.chartDataToTable.call(void 0, spec());
1205
1206
  const Parser = () => _nullishCoalesce(options.DOMParser, () => ( globalThis.DOMParser));
1206
1207
  const getChart = {
1207
1208
  name: "get_chart",
1208
1209
  title: "Read the chart",
1209
1210
  description: "Returns the chart spec (type, titles, axes, legend, series with ids and settings), its data as a table (header row of series names, then one row per category), the current selection, and a summary at the given size: per-series min / max / mean / trend, the axes as drawn, layout warnings (hidden labels, thinned lines), a colour check and a plain-language description. Use the series ids and category indexes it returns with the write tools.",
1210
- inputSchema: { type: "object", properties: { width: _chunkTVO6W2Q6cjs.WIDTH, height: _chunkTVO6W2Q6cjs.HEIGHT }, additionalProperties: false },
1211
+ inputSchema: { type: "object", properties: { width: _chunk4NGVHHJBcjs.WIDTH, height: _chunk4NGVHHJBcjs.HEIGHT }, additionalProperties: false },
1211
1212
  annotations: { title: "Read the chart", ...READ },
1212
1213
  handler: ({ width = size.width, height = size.height }) => {
1213
1214
  const reason = readOnlyReason();
@@ -1215,7 +1216,7 @@ function createChartToolProvider(controller, options = {}) {
1215
1216
  spec: controller.toJSON(),
1216
1217
  table: table(),
1217
1218
  selection: controller.getState().selection,
1218
- summary: _chunkAKDWAWSYcjs.summarizeChart.call(void 0, controller.toJSON(), { width, height }),
1219
+ summary: _chunk3IHNXRUVcjs.summarizeChart.call(void 0, controller.toJSON(), { width, height }),
1219
1220
  issues: controller.getState().issues,
1220
1221
  ...reason ? { readOnly: reason } : {}
1221
1222
  };
@@ -1228,8 +1229,8 @@ function createChartToolProvider(controller, options = {}) {
1228
1229
  inputSchema: {
1229
1230
  type: "object",
1230
1231
  properties: {
1231
- width: _chunkTVO6W2Q6cjs.WIDTH,
1232
- height: _chunkTVO6W2Q6cjs.HEIGHT,
1232
+ width: _chunk4NGVHHJBcjs.WIDTH,
1233
+ height: _chunk4NGVHHJBcjs.HEIGHT,
1233
1234
  format: { type: "string", enum: ["svg", "png"], description: "svg (default): the SVG document as text. png: an image to look at (only when the host can rasterize; costs image tokens)." }
1234
1235
  },
1235
1236
  additionalProperties: false
@@ -1237,8 +1238,8 @@ function createChartToolProvider(controller, options = {}) {
1237
1238
  annotations: { title: "Render the chart", ...READ },
1238
1239
  handler: async ({ width = size.width, height = size.height, format = "svg" }) => {
1239
1240
  const json = controller.toJSON();
1240
- const scene = _chunk4YWAEV4Wcjs.layoutChart.call(void 0, json, { width, height, selection: null });
1241
- const svg = _chunkAKDWAWSYcjs.chartSceneToSvg.call(void 0, scene, { ariaLabel: json.title || void 0, description: _chunkAKDWAWSYcjs.describeChart.call(void 0, json) });
1241
+ const scene = _chunkHDGBM7EAcjs.layoutChart.call(void 0, json, { width, height, selection: null });
1242
+ const svg = _chunk3IHNXRUVcjs.chartSceneToSvg.call(void 0, scene, { ariaLabel: json.title || void 0, description: _chunk3IHNXRUVcjs.describeChart.call(void 0, json) });
1242
1243
  const warnings = scene.warnings;
1243
1244
  if (format === "png") {
1244
1245
  if (!options.rasterize) fail2('This host cannot rasterize charts; call render_chart with format "svg", or get_chart for the layout warnings.');
@@ -1272,8 +1273,8 @@ function createChartToolProvider(controller, options = {}) {
1272
1273
  handler: ({ colors, surface }) => {
1273
1274
  const s = spec();
1274
1275
  const visible = s.series.filter((x) => !x.hidden);
1275
- const own = _chunkWPPJH6X4cjs.chartColorsByCategory.call(void 0, s.type) ? s.categories.map((_, i) => _optionalChain([visible, 'access', _87 => _87[0], 'optionalAccess', _88 => _88.pointColors, 'optionalAccess', _89 => _89[i]]) || _chunkWPPJH6X4cjs.chartSliceColor.call(void 0, s, i)) : visible.map((x) => _chunkWPPJH6X4cjs.chartSeriesColor.call(void 0, s, s.series.indexOf(x)));
1276
- return { colors: _nullishCoalesce(colors, () => ( own)), ..._chunkWPPJH6X4cjs.checkChartColors.call(void 0, _nullishCoalesce(colors, () => ( own)), { surface }) };
1276
+ const own = _chunkLL3H5XUHcjs.chartColorsByCategory.call(void 0, s.type) ? s.categories.map((_, i) => _optionalChain([visible, 'access', _87 => _87[0], 'optionalAccess', _88 => _88.pointColors, 'optionalAccess', _89 => _89[i]]) || _chunkLL3H5XUHcjs.chartSliceColor.call(void 0, s, i)) : visible.map((x) => _chunkLL3H5XUHcjs.chartSeriesColor.call(void 0, s, s.series.indexOf(x)));
1277
+ return { colors: _nullishCoalesce(colors, () => ( own)), ..._chunkLL3H5XUHcjs.checkChartColors.call(void 0, _nullishCoalesce(colors, () => ( own)), { surface }) };
1277
1278
  }
1278
1279
  };
1279
1280
  const recommend = {
@@ -1295,7 +1296,7 @@ function createChartToolProvider(controller, options = {}) {
1295
1296
  description: "Returns a trendline's fitted coefficients (in x for category charts, x = 1, 2, 3, \u2026), R\xB2, equation and the number of points, or the moving-average points.",
1296
1297
  inputSchema: {
1297
1298
  type: "object",
1298
- properties: { series: _chunkTVO6W2Q6cjs.SERIES_REF, index: { type: "integer", minimum: 0, description: "Trendline index on the series (0 = first)." } },
1299
+ properties: { series: _chunk4NGVHHJBcjs.SERIES_REF, index: { type: "integer", minimum: 0, description: "Trendline index on the series (0 = first)." } },
1299
1300
  required: ["series", "index"],
1300
1301
  additionalProperties: false
1301
1302
  },
@@ -1317,8 +1318,8 @@ function createChartToolProvider(controller, options = {}) {
1317
1318
  inputSchema: { type: "object", properties: {}, additionalProperties: false },
1318
1319
  annotations: { title: "List chart presets", ...READ },
1319
1320
  handler: () => ({
1320
- layouts: _chunkAKDWAWSYcjs.CHART_LAYOUT_PRESETS.map(({ id, label, description }) => ({ id, label, description })),
1321
- colorSchemes: _chunkAKDWAWSYcjs.CHART_COLOR_SCHEMES.map(({ id, label, description, palette }) => ({ id, label, description, palette }))
1321
+ layouts: _chunk3IHNXRUVcjs.CHART_LAYOUT_PRESETS.map(({ id, label, description }) => ({ id, label, description })),
1322
+ colorSchemes: _chunk3IHNXRUVcjs.CHART_COLOR_SCHEMES.map(({ id, label, description, palette }) => ({ id, label, description, palette }))
1322
1323
  })
1323
1324
  };
1324
1325
  const exportMermaid = {
@@ -1327,7 +1328,7 @@ function createChartToolProvider(controller, options = {}) {
1327
1328
  description: 'Returns the chart as Mermaid text (xychart-beta, pie or radar-beta) for Markdown or chat. With meta (default true) one "%% @pixerate {\u2026}" comment keeps what Mermaid cannot express, so import_chart_mermaid gets the chart back exactly.',
1328
1329
  inputSchema: { type: "object", properties: { meta: { type: "boolean", description: "Include the round-trip comment (default true)." } }, additionalProperties: false },
1329
1330
  annotations: { title: "Export chart as Mermaid", ...READ },
1330
- handler: ({ meta = true }) => ({ mermaid: _chunkAKDWAWSYcjs.chartToMermaid.call(void 0, controller.toJSON(), { meta }) })
1331
+ handler: ({ meta = true }) => ({ mermaid: _chunk3IHNXRUVcjs.chartToMermaid.call(void 0, controller.toJSON(), { meta }) })
1331
1332
  };
1332
1333
  const exportOoxml = {
1333
1334
  name: "export_chart_ooxml",
@@ -1335,7 +1336,7 @@ function createChartToolProvider(controller, options = {}) {
1335
1336
  description: "Returns the chart as a DrawingML chart part (c:chartSpace) for Word or PowerPoint files, with what could not be written as sentences.",
1336
1337
  inputSchema: { type: "object", properties: {}, additionalProperties: false },
1337
1338
  annotations: { title: "Export chart as Office XML", ...READ },
1338
- handler: () => _chunk4T44CJ5Kcjs.chartToOoxml.call(void 0, controller.toJSON())
1339
+ handler: () => _chunkNA4UVVJ4cjs.chartToOoxml.call(void 0, controller.toJSON())
1339
1340
  };
1340
1341
  const updateChart = {
1341
1342
  name: "update_chart",
@@ -1343,7 +1344,7 @@ function createChartToolProvider(controller, options = {}) {
1343
1344
  description: 'Changes how the chart looks, as one undo step: type, titles, axes (xAxis = categories or numeric x, yAxis = values, yAxis2 = secondary values; each can be reversed, and value axes can be logarithmic with scale "log"), legend, stacking, orientation, curve, points, data labels and their position, palette, donut hole, bar spacing, histogram bins, waterfall total, radar rings (radarTicks) and grid shape (radarGraticule). All-or-nothing: invalid values change nothing and come back as sentences. Returns the new spec.',
1344
1345
  inputSchema: {
1345
1346
  type: "object",
1346
- properties: _chunkTVO6W2Q6cjs.CHART_UPDATE_PROPERTIES,
1347
+ properties: _chunk4NGVHHJBcjs.CHART_UPDATE_PROPERTIES,
1347
1348
  additionalProperties: false
1348
1349
  },
1349
1350
  annotations: { title: "Change chart presentation", ...WRITE_IDEMPOTENT },
@@ -1364,7 +1365,7 @@ function createChartToolProvider(controller, options = {}) {
1364
1365
  series: {
1365
1366
  type: "array",
1366
1367
  description: "The new series (replaces all).",
1367
- items: { type: "object", properties: { id: { type: "string", description: "Stable id (optional)." }, ..._chunkTVO6W2Q6cjs.SERIES_PROPS }, required: ["name", "values"], additionalProperties: false }
1368
+ items: { type: "object", properties: { id: { type: "string", description: "Stable id (optional)." }, ..._chunk4NGVHHJBcjs.SERIES_PROPS }, required: ["name", "values"], additionalProperties: false }
1368
1369
  }
1369
1370
  },
1370
1371
  additionalProperties: false
@@ -1387,7 +1388,7 @@ function createChartToolProvider(controller, options = {}) {
1387
1388
  type: "array",
1388
1389
  minItems: 1,
1389
1390
  description: "Values to set.",
1390
- items: { type: "object", properties: { series: _chunkTVO6W2Q6cjs.SERIES_REF, category: _chunkTVO6W2Q6cjs.CATEGORY_REF, value: _chunkTVO6W2Q6cjs.VALUE }, required: ["series", "category", "value"], additionalProperties: false }
1391
+ items: { type: "object", properties: { series: _chunk4NGVHHJBcjs.SERIES_REF, category: _chunk4NGVHHJBcjs.CATEGORY_REF, value: _chunk4NGVHHJBcjs.VALUE }, required: ["series", "category", "value"], additionalProperties: false }
1391
1392
  }
1392
1393
  },
1393
1394
  required: ["cells"],
@@ -1396,7 +1397,7 @@ function createChartToolProvider(controller, options = {}) {
1396
1397
  annotations: { title: "Set chart values", ...WRITE_IDEMPOTENT },
1397
1398
  handler: async ({ cells }) => {
1398
1399
  const resolved = cells.map((c) => ({ seriesId: seriesById(c.series).id, index: categoryIndex(c.category), value: c.value }));
1399
- const parsed = resolved.map((c) => _chunkWPPJH6X4cjs.parseChartValue.call(void 0, c.value));
1400
+ const parsed = resolved.map((c) => _chunkLL3H5XUHcjs.parseChartValue.call(void 0, c.value));
1400
1401
  const bad = resolved.find((_, i) => parsed[i] === void 0);
1401
1402
  if (bad) fail2(`"${String(bad.value)}" is not a number; pass a number, numeric text or null for a gap. Nothing was changed.`);
1402
1403
  if (options.director && parsed.every((v) => typeof v === "number")) {
@@ -1413,7 +1414,7 @@ function createChartToolProvider(controller, options = {}) {
1413
1414
  description: "Adds a series (values padded to the categories) and selects it. Returns its id and stored values.",
1414
1415
  inputSchema: {
1415
1416
  type: "object",
1416
- properties: { ..._chunkTVO6W2Q6cjs.SERIES_PROPS, id: { type: "string", description: "Id to use (default: series-N)." }, at: { type: "integer", minimum: 0, description: "Position (default: last)." } },
1417
+ properties: { ..._chunk4NGVHHJBcjs.SERIES_PROPS, id: { type: "string", description: "Id to use (default: series-N)." }, at: { type: "integer", minimum: 0, description: "Position (default: last)." } },
1417
1418
  required: ["name"],
1418
1419
  additionalProperties: false
1419
1420
  },
@@ -1431,7 +1432,7 @@ function createChartToolProvider(controller, options = {}) {
1431
1432
  description: "Renames, recolours, hides, moves to the secondary axis or changes how a series is drawn (marker, curve, labels, format, x values, bubble sizes, point colours, error bars). null resets a field. Values change with set_chart_values. Returns the series.",
1432
1433
  inputSchema: {
1433
1434
  type: "object",
1434
- properties: { series: _chunkTVO6W2Q6cjs.SERIES_REF, ...Object.fromEntries(Object.entries(_chunkTVO6W2Q6cjs.SERIES_PROPS).filter(([k]) => k !== "values")) },
1435
+ properties: { series: _chunk4NGVHHJBcjs.SERIES_REF, ...Object.fromEntries(Object.entries(_chunk4NGVHHJBcjs.SERIES_PROPS).filter(([k]) => k !== "values")) },
1435
1436
  required: ["series"],
1436
1437
  additionalProperties: false
1437
1438
  },
@@ -1447,7 +1448,7 @@ function createChartToolProvider(controller, options = {}) {
1447
1448
  name: "remove_chart_series",
1448
1449
  title: "Delete a series",
1449
1450
  description: "Deletes a series and its values. Returns the remaining series ids.",
1450
- inputSchema: { type: "object", properties: { series: _chunkTVO6W2Q6cjs.SERIES_REF }, required: ["series"], additionalProperties: false },
1451
+ inputSchema: { type: "object", properties: { series: _chunk4NGVHHJBcjs.SERIES_REF }, required: ["series"], additionalProperties: false },
1451
1452
  annotations: { title: "Delete a series", ...DESTRUCTIVE },
1452
1453
  handler: ({ series }) => {
1453
1454
  resolve(controller.removeSeries(seriesById(series).id));
@@ -1473,7 +1474,7 @@ function createChartToolProvider(controller, options = {}) {
1473
1474
  name: "remove_chart_category",
1474
1475
  title: "Delete a category",
1475
1476
  description: "Deletes a category and its value in every series. Returns the remaining categories.",
1476
- inputSchema: { type: "object", properties: { category: _chunkTVO6W2Q6cjs.CATEGORY_REF }, required: ["category"], additionalProperties: false },
1477
+ inputSchema: { type: "object", properties: { category: _chunk4NGVHHJBcjs.CATEGORY_REF }, required: ["category"], additionalProperties: false },
1477
1478
  annotations: { title: "Delete a category", ...DESTRUCTIVE },
1478
1479
  handler: ({ category }) => {
1479
1480
  resolve(controller.removeCategory(categoryIndex(category)));
@@ -1516,7 +1517,7 @@ function createChartToolProvider(controller, options = {}) {
1516
1517
  annotations: { title: "Import a Mermaid chart", ...DESTRUCTIVE },
1517
1518
  handler: ({ mermaid }) => {
1518
1519
  const fenced = /```(?:mermaid)?\s*\n([\s\S]*?)```/.exec(mermaid);
1519
- const read = _chunkAKDWAWSYcjs.chartFromMermaid.call(void 0, fenced ? fenced[1] : mermaid);
1520
+ const read = _chunk3IHNXRUVcjs.chartFromMermaid.call(void 0, fenced ? fenced[1] : mermaid);
1520
1521
  if (!read.family) fail2(read.issues.map((i) => i.message).join(" ") || "Expected Mermaid starting with xychart-beta, pie or radar-beta.");
1521
1522
  resolve(controller.update({ ...read.spec }, { label: "Import Mermaid chart" }));
1522
1523
  return { spec: controller.toJSON(), issues: read.issues };
@@ -1529,7 +1530,7 @@ function createChartToolProvider(controller, options = {}) {
1529
1530
  inputSchema: { type: "object", properties: { xml: { type: "string", description: "The chart part XML, e.g. word/charts/chart1.xml." } }, required: ["xml"], additionalProperties: false },
1530
1531
  annotations: { title: "Import an Office chart", ...DESTRUCTIVE },
1531
1532
  handler: ({ xml }) => {
1532
- const read = _chunk4T44CJ5Kcjs.chartFromOoxml.call(void 0, xml, { DOMParser: Parser() });
1533
+ const read = _chunkNA4UVVJ4cjs.chartFromOoxml.call(void 0, xml, { DOMParser: Parser() });
1533
1534
  if (read.issues.some((i) => i.path === "" || i.path === "plotArea")) fail2(read.issues.map((i) => i.message).join(" "));
1534
1535
  resolve(controller.update({ ...read.spec }, { label: "Import Office chart" }));
1535
1536
  return { spec: controller.toJSON(), issues: read.issues.map((i) => i.message), unsupported: read.unsupported, lossless: read.lossless };
@@ -1539,7 +1540,7 @@ function createChartToolProvider(controller, options = {}) {
1539
1540
  name: "add_chart_trendline",
1540
1541
  title: "Add a trendline",
1541
1542
  description: "Fits a trendline to a series and draws it (unstacked bar, line, area, scatter and bubble charts). Returns its index and the fit: coefficients, R\xB2 and equation.",
1542
- inputSchema: { type: "object", properties: { series: _chunkTVO6W2Q6cjs.SERIES_REF, ..._chunkTVO6W2Q6cjs.TRENDLINE_PROPS }, required: ["series", "type"], additionalProperties: false },
1543
+ inputSchema: { type: "object", properties: { series: _chunk4NGVHHJBcjs.SERIES_REF, ..._chunk4NGVHHJBcjs.TRENDLINE_PROPS }, required: ["series", "type"], additionalProperties: false },
1543
1544
  annotations: { title: "Add a trendline", ...WRITE },
1544
1545
  handler: ({ series, ...line }) => {
1545
1546
  const s = seriesById(series);
@@ -1553,7 +1554,7 @@ function createChartToolProvider(controller, options = {}) {
1553
1554
  description: "Deletes a trendline from a series. Returns the series' remaining trendlines.",
1554
1555
  inputSchema: {
1555
1556
  type: "object",
1556
- properties: { series: _chunkTVO6W2Q6cjs.SERIES_REF, index: { type: "integer", minimum: 0, description: "Trendline index on the series (0 = first)." } },
1557
+ properties: { series: _chunk4NGVHHJBcjs.SERIES_REF, index: { type: "integer", minimum: 0, description: "Trendline index on the series (0 = first)." } },
1557
1558
  required: ["series", "index"],
1558
1559
  additionalProperties: false
1559
1560
  },
@@ -1571,8 +1572,8 @@ function createChartToolProvider(controller, options = {}) {
1571
1572
  inputSchema: {
1572
1573
  type: "object",
1573
1574
  properties: {
1574
- layout: { type: "string", enum: _chunkAKDWAWSYcjs.CHART_LAYOUT_PRESETS.map((p) => p.id), description: "Quick layout id." },
1575
- colors: { type: "string", enum: _chunkAKDWAWSYcjs.CHART_COLOR_SCHEMES.map((p) => p.id), description: "Colour scheme id." }
1575
+ layout: { type: "string", enum: _chunk3IHNXRUVcjs.CHART_LAYOUT_PRESETS.map((p) => p.id), description: "Quick layout id." },
1576
+ colors: { type: "string", enum: _chunk3IHNXRUVcjs.CHART_COLOR_SCHEMES.map((p) => p.id), description: "Colour scheme id." }
1576
1577
  },
1577
1578
  additionalProperties: false
1578
1579
  },
@@ -1601,8 +1602,8 @@ function createChartToolProvider(controller, options = {}) {
1601
1602
  type: "object",
1602
1603
  properties: {
1603
1604
  kind: { type: "string", enum: ["none", "chart", "title", "subtitle", "legend", "axis", "series", "point", "category", "trendline"], description: "What to select." },
1604
- series: { ..._chunkTVO6W2Q6cjs.SERIES_REF, description: "Series id or name (series, point, trendline)." },
1605
- category: { ..._chunkTVO6W2Q6cjs.CATEGORY_REF, description: "Category index or label (point, category)." },
1605
+ series: { ..._chunk4NGVHHJBcjs.SERIES_REF, description: "Series id or name (series, point, trendline)." },
1606
+ category: { ..._chunk4NGVHHJBcjs.CATEGORY_REF, description: "Category index or label (point, category)." },
1606
1607
  axis: { type: "string", enum: ["x", "y", "y2"], description: "Axis (axis)." },
1607
1608
  index: { type: "integer", minimum: 0, description: "Trendline index (trendline)." }
1608
1609
  },
@@ -1660,15 +1661,15 @@ function createChartToolProvider(controller, options = {}) {
1660
1661
  to: { type: "object", description: "End, as fractions of the chart.", properties: { x: { type: "number", minimum: 0, maximum: 1, description: "Fraction of the width." }, y: { type: "number", minimum: 0, maximum: 1, description: "Fraction of the height." } }, required: ["x", "y"], additionalProperties: false },
1661
1662
  fine: { type: "boolean", description: "Move a tenth as far (Alt)." },
1662
1663
  lockAxis: { type: "boolean", description: "Scatter charts: change only the axis moved along most (Shift)." },
1663
- width: _chunkTVO6W2Q6cjs.WIDTH,
1664
- height: _chunkTVO6W2Q6cjs.HEIGHT
1664
+ width: _chunk4NGVHHJBcjs.WIDTH,
1665
+ height: _chunk4NGVHHJBcjs.HEIGHT
1665
1666
  },
1666
1667
  required: ["from", "to"],
1667
1668
  additionalProperties: false
1668
1669
  },
1669
1670
  annotations: { title: "Drag a chart point", ...WRITE },
1670
1671
  handler: ({ from, to, fine, lockAxis, width = size.width, height = size.height }) => {
1671
- const scene = _chunk4YWAEV4Wcjs.layoutChart.call(void 0, controller.toJSON(), { width, height });
1672
+ const scene = _chunkHDGBM7EAcjs.layoutChart.call(void 0, controller.toJSON(), { width, height });
1672
1673
  const start = { x: from.x * width, y: from.y * height };
1673
1674
  const target = chartHitTest(scene, start);
1674
1675
  if (_optionalChain([target, 'optionalAccess', _97 => _97.kind]) !== "point") fail2(`There is no bar or point at (${from.x}, ${from.y}); ${target ? `that is the ${target.kind}` : "that is outside the chart"}. Use render_chart to find marks.`);
@@ -1698,7 +1699,7 @@ function createChartToolProvider(controller, options = {}) {
1698
1699
  },
1699
1700
  annotations: { title: "Press a key on the chart", ...DESTRUCTIVE },
1700
1701
  handler: ({ key: k, shift, alt }) => {
1701
- const scene = _chunk4YWAEV4Wcjs.layoutChart.call(void 0, controller.toJSON(), size);
1702
+ const scene = _chunkHDGBM7EAcjs.layoutChart.call(void 0, controller.toJSON(), size);
1702
1703
  const used = handleChartKey(controller, scene, { key: k, shiftKey: shift, altKey: alt });
1703
1704
  const sel = controller.getState().selection;
1704
1705
  const value = _optionalChain([sel, 'optionalAccess', _102 => _102.kind]) === "point" ? _nullishCoalesce(_optionalChain([controller, 'access', _103 => _103.getSeries, 'call', _104 => _104(sel.seriesId), 'optionalAccess', _105 => _105.values, 'access', _106 => _106[sel.index]]), () => ( null)) : void 0;
@@ -1809,12 +1810,12 @@ var ChartStream = (_class = class {
1809
1810
  if (format === "json") {
1810
1811
  const value = complete ? safeParse(text) : parsePartialChartJson(text);
1811
1812
  if (value !== void 0) {
1812
- const read = _chunkWPPJH6X4cjs.normalizeChartSpec.call(void 0, value);
1813
+ const read = _chunkLL3H5XUHcjs.normalizeChartSpec.call(void 0, value);
1813
1814
  spec = read.spec;
1814
1815
  issues = complete ? read.issues : [];
1815
1816
  }
1816
1817
  } else {
1817
- const read = _chunkAKDWAWSYcjs.chartFromMermaid.call(void 0, text, { partial: !complete });
1818
+ const read = _chunk3IHNXRUVcjs.chartFromMermaid.call(void 0, text, { partial: !complete });
1818
1819
  if (read.family) {
1819
1820
  spec = read.spec;
1820
1821
  issues = complete ? read.issues : [];
@@ -1935,7 +1936,7 @@ async function readRels(r, partPath) {
1935
1936
  }
1936
1937
  return rels;
1937
1938
  }
1938
- var isChartRef = (el) => el.localName === "chart" && (el.namespaceURI === _chunk4T44CJ5Kcjs.CHART_OOXML_NS || el.namespaceURI === STRICT_CHART_NS || el.namespaceURI === CHARTEX_NS);
1939
+ var isChartRef = (el) => el.localName === "chart" && (el.namespaceURI === _chunkNA4UVVJ4cjs.CHART_OOXML_NS || el.namespaceURI === STRICT_CHART_NS || el.namespaceURI === CHARTEX_NS);
1939
1940
  function frameName(ref) {
1940
1941
  for (let el = ref.parentElement; el; el = el.parentElement) {
1941
1942
  if (el.localName === "graphicFrame") {
@@ -1954,7 +1955,7 @@ async function chartsInPart(r, root, rels, place) {
1954
1955
  const entry = r.zip.get(rel.target);
1955
1956
  if (!entry) continue;
1956
1957
  r.seen.add(rel.target);
1957
- const read = _chunk4T44CJ5Kcjs.chartFromOoxml.call(void 0, await r.zip.readText(entry), { DOMParser: r.Parser });
1958
+ const read = _chunkNA4UVVJ4cjs.chartFromOoxml.call(void 0, await r.zip.readText(entry), { DOMParser: r.Parser });
1958
1959
  const name = frameName(ref);
1959
1960
  r.charts.push({
1960
1961
  id: `chart-${r.charts.length + 1}`,
@@ -2386,4 +2387,4 @@ function createChartEditorDocument(controller) {
2386
2387
 
2387
2388
 
2388
2389
 
2389
- exports.CHART_AXIS_KINDS = _chunkWPPJH6X4cjs.CHART_AXIS_KINDS; exports.CHART_AXIS_SCALES = _chunkWPPJH6X4cjs.CHART_AXIS_SCALES; exports.CHART_COLOR_SCHEMES = _chunkAKDWAWSYcjs.CHART_COLOR_SCHEMES; exports.CHART_CURVES = _chunkWPPJH6X4cjs.CHART_CURVES; exports.CHART_DATE_STEPS = _chunk4YWAEV4Wcjs.CHART_DATE_STEPS; exports.CHART_ERROR_BAR_DIRECTIONS = _chunkWPPJH6X4cjs.CHART_ERROR_BAR_DIRECTIONS; exports.CHART_ERROR_BAR_LABELS = _chunkWPPJH6X4cjs.CHART_ERROR_BAR_LABELS; exports.CHART_ERROR_BAR_TYPES = _chunkWPPJH6X4cjs.CHART_ERROR_BAR_TYPES; exports.CHART_LABEL_POSITIONS = _chunkWPPJH6X4cjs.CHART_LABEL_POSITIONS; exports.CHART_LAYOUT_PRESETS = _chunkAKDWAWSYcjs.CHART_LAYOUT_PRESETS; exports.CHART_LEGEND_POSITIONS = _chunkWPPJH6X4cjs.CHART_LEGEND_POSITIONS; exports.CHART_MARKERS = _chunkWPPJH6X4cjs.CHART_MARKERS; exports.CHART_MERMAID_META_PREFIX = _chunkAKDWAWSYcjs.CHART_MERMAID_META_PREFIX; exports.CHART_NUMBER_STYLES = _chunkWPPJH6X4cjs.CHART_NUMBER_STYLES; exports.CHART_OOXML_CONTENT_TYPE = _chunk4T44CJ5Kcjs.CHART_OOXML_CONTENT_TYPE; exports.CHART_OOXML_NS = _chunk4T44CJ5Kcjs.CHART_OOXML_NS; exports.CHART_OOXML_RELATIONSHIP = _chunk4T44CJ5Kcjs.CHART_OOXML_RELATIONSHIP; exports.CHART_ORIENTATIONS = _chunkWPPJH6X4cjs.CHART_ORIENTATIONS; exports.CHART_PALETTE_SHADES = _chunkWPPJH6X4cjs.CHART_PALETTE_SHADES; exports.CHART_PRESENCE_COLORS = CHART_PRESENCE_COLORS; exports.CHART_RADAR_GRATICULES = _chunkWPPJH6X4cjs.CHART_RADAR_GRATICULES; exports.CHART_RASTER_MAX_SIZE = CHART_RASTER_MAX_SIZE; exports.CHART_SERIES_TYPES = _chunkWPPJH6X4cjs.CHART_SERIES_TYPES; exports.CHART_STACKINGS = _chunkWPPJH6X4cjs.CHART_STACKINGS; exports.CHART_TRENDLINE_TYPES = _chunkWPPJH6X4cjs.CHART_TRENDLINE_TYPES; exports.CHART_TYPES = _chunkWPPJH6X4cjs.CHART_TYPES; exports.CHART_TYPE_LABELS = _chunkWPPJH6X4cjs.CHART_TYPE_LABELS; exports.CSS_VARIABLE_CHART_THEME = _chunkWPPJH6X4cjs.CSS_VARIABLE_CHART_THEME; exports.ChartController = _chunkAKDWAWSYcjs.ChartController; exports.ChartDirector = ChartDirector; exports.ChartPresence = ChartPresence; exports.ChartStream = ChartStream; exports.DEFAULT_CHART_PALETTE = _chunkWPPJH6X4cjs.DEFAULT_CHART_PALETTE; exports.DEFAULT_CHART_THEME = _chunkWPPJH6X4cjs.DEFAULT_CHART_THEME; exports.MAX_CHART_DATA_LABELS = _chunk4YWAEV4Wcjs.MAX_CHART_DATA_LABELS; exports.MAX_CHART_LINE_POINTS = _chunk4YWAEV4Wcjs.MAX_CHART_LINE_POINTS; exports.MAX_CHART_MARKERS = _chunk4YWAEV4Wcjs.MAX_CHART_MARKERS; exports.OfficeChartsError = OfficeChartsError; exports.RENDER_CHART_INSTRUCTIONS = RENDER_CHART_INSTRUCTIONS; exports.analyzeChartTable = analyzeChartTable; exports.blendChartScenes = blendChartScenes; exports.canDragChartPoint = canDragChartPoint; exports.chartBoxStats = _chunk4YWAEV4Wcjs.chartBoxStats; exports.chartClientToScene = chartClientToScene; exports.chartColorDistance = _chunkWPPJH6X4cjs.chartColorDistance; exports.chartColorInputValue = _chunkWPPJH6X4cjs.chartColorInputValue; exports.chartColorsByCategory = _chunkWPPJH6X4cjs.chartColorsByCategory; exports.chartContrastRatio = _chunkWPPJH6X4cjs.chartContrastRatio; exports.chartDataFromTable = _chunkWPPJH6X4cjs.chartDataFromTable; exports.chartDataToTable = _chunkWPPJH6X4cjs.chartDataToTable; exports.chartDateLabels = _chunk4YWAEV4Wcjs.chartDateLabels; exports.chartDateToSerial = _chunk4YWAEV4Wcjs.chartDateToSerial; exports.chartErrorAmounts = _chunkWPPJH6X4cjs.chartErrorAmounts; exports.chartErrorBarsOfType = _chunkWPPJH6X4cjs.chartErrorBarsOfType; exports.chartFamily = _chunkWPPJH6X4cjs.chartFamily; exports.chartFileName = chartFileName; exports.chartFormatToCode = _chunk4T44CJ5Kcjs.chartFormatToCode; exports.chartFromMermaid = _chunkAKDWAWSYcjs.chartFromMermaid; exports.chartFromOoxml = _chunk4T44CJ5Kcjs.chartFromOoxml; exports.chartFromTable = chartFromTable; exports.chartHistogram = _chunk4YWAEV4Wcjs.chartHistogram; exports.chartHitTest = chartHitTest; exports.chartLuminance = _chunkWPPJH6X4cjs.chartLuminance; exports.chartMermaidFamily = _chunkAKDWAWSYcjs.chartMermaidFamily; exports.chartMovingAverage = _chunk4YWAEV4Wcjs.chartMovingAverage; exports.chartPointAnchor = chartPointAnchor; exports.chartPointColor = _chunkWPPJH6X4cjs.chartPointColor; exports.chartPointRef = chartPointRef; exports.chartPresetPatch = _chunkAKDWAWSYcjs.chartPresetPatch; exports.chartQuantile = _chunk4YWAEV4Wcjs.chartQuantile; exports.chartRasterSize = chartRasterSize; exports.chartRgbToHex = _chunkWPPJH6X4cjs.chartRgbToHex; exports.chartRgbToOklab = _chunkWPPJH6X4cjs.chartRgbToOklab; exports.chartScaleFromPixel = _chunk4YWAEV4Wcjs.chartScaleFromPixel; exports.chartScaleToPixel = _chunk4YWAEV4Wcjs.chartScaleToPixel; exports.chartSceneToDomSpec = _chunkAKDWAWSYcjs.chartSceneToDomSpec; exports.chartSceneToSvg = _chunkAKDWAWSYcjs.chartSceneToSvg; exports.chartSerialToDate = _chunk4YWAEV4Wcjs.chartSerialToDate; exports.chartSeriesColor = _chunkWPPJH6X4cjs.chartSeriesColor; exports.chartSeriesType = _chunkWPPJH6X4cjs.chartSeriesType; exports.chartSliceColor = _chunkWPPJH6X4cjs.chartSliceColor; exports.chartSquarify = _chunk4YWAEV4Wcjs.chartSquarify; exports.chartSupportsTrendlines = _chunk4YWAEV4Wcjs.chartSupportsTrendlines; exports.chartTextBaseline = _chunkAKDWAWSYcjs.chartTextBaseline; exports.chartTextOn = _chunkWPPJH6X4cjs.chartTextOn; exports.chartTextTransform = _chunkAKDWAWSYcjs.chartTextTransform; exports.chartToMermaid = _chunkAKDWAWSYcjs.chartToMermaid; exports.chartToOoxml = _chunk4T44CJ5Kcjs.chartToOoxml; exports.chartToSvg = _chunkAKDWAWSYcjs.chartToSvg; exports.chartTrendlineName = _chunk4YWAEV4Wcjs.chartTrendlineName; exports.chartValueAtPoint = _chunk4YWAEV4Wcjs.chartValueAtPoint; exports.chartXAtPoint = _chunk4YWAEV4Wcjs.chartXAtPoint; exports.checkChartColors = _chunkWPPJH6X4cjs.checkChartColors; exports.cloneChartSeries = _chunkWPPJH6X4cjs.cloneChartSeries; exports.cloneChartSpec = _chunkWPPJH6X4cjs.cloneChartSpec; exports.compileChartFormatCode = _chunk4YWAEV4Wcjs.compileChartFormatCode; exports.contrastingTextColor = _chunk4YWAEV4Wcjs.contrastingTextColor; exports.createChartCommands = createChartCommands; exports.createChartController = _chunkAKDWAWSYcjs.createChartController; exports.createChartEditorDocument = createChartEditorDocument; exports.createChartRasterizer = createChartRasterizer; exports.createChartSpec = _chunkWPPJH6X4cjs.createChartSpec; exports.createChartToolProvider = createChartToolProvider; exports.createInstantChartClock = createInstantChartClock; exports.createOfficeChartToolProvider = createOfficeChartToolProvider; exports.cyclePaletteColor = _chunkWPPJH6X4cjs.cyclePaletteColor; exports.decimateChartPoints = _chunk4YWAEV4Wcjs.decimateChartPoints; exports.defaultChartAxis = _chunkWPPJH6X4cjs.defaultChartAxis; exports.defaultChartErrorBarValue = _chunkWPPJH6X4cjs.defaultChartErrorBarValue; exports.describeChart = _chunkAKDWAWSYcjs.describeChart; exports.describeChartErrorBars = _chunkWPPJH6X4cjs.describeChartErrorBars; exports.describeChartSelection = describeChartSelection; exports.describeOfficeChartPlace = describeOfficeChartPlace; exports.downloadChartPng = downloadChartPng; exports.easeChartTween = easeChartTween; exports.estimateChartTextWidth = _chunk4YWAEV4Wcjs.estimateChartTextWidth; exports.extractDocxCharts = extractDocxCharts; exports.extractOfficeCharts = extractOfficeCharts; exports.extractPptxCharts = extractPptxCharts; exports.extractXlsxCharts = extractXlsxCharts; exports.findMermaidCharts = _chunkAKDWAWSYcjs.findMermaidCharts; exports.fitChartTrendline = _chunk4YWAEV4Wcjs.fitChartTrendline; exports.formatChartAmountList = _chunkWPPJH6X4cjs.formatChartAmountList; exports.formatChartDate = _chunk4YWAEV4Wcjs.formatChartDate; exports.formatChartNumber = _chunk4YWAEV4Wcjs.formatChartNumber; exports.formatChartValueWithCode = _chunk4YWAEV4Wcjs.formatChartValueWithCode; exports.handleChartKey = handleChartKey; exports.isCartesianChart = _chunkWPPJH6X4cjs.isCartesianChart; exports.isXyChart = _chunkWPPJH6X4cjs.isXyChart; exports.layoutChart = _chunk4YWAEV4Wcjs.layoutChart; exports.layoutSparkline = _chunkAKDWAWSYcjs.layoutSparkline; exports.linearMap = _chunk4YWAEV4Wcjs.linearMap; exports.locateChartPoint = locateChartPoint; exports.monochromeChartPalette = _chunkAKDWAWSYcjs.monochromeChartPalette; exports.niceLogScale = _chunk4YWAEV4Wcjs.niceLogScale; exports.niceScale = _chunk4YWAEV4Wcjs.niceScale; exports.niceStep = _chunk4YWAEV4Wcjs.niceStep; exports.normalizeChartAxis = _chunkWPPJH6X4cjs.normalizeChartAxis; exports.normalizeChartErrorBars = _chunkWPPJH6X4cjs.normalizeChartErrorBars; exports.normalizeChartSpec = _chunkWPPJH6X4cjs.normalizeChartSpec; exports.normalizeChartTrendline = _chunkWPPJH6X4cjs.normalizeChartTrendline; exports.normalizeChartValues = _chunkWPPJH6X4cjs.normalizeChartValues; exports.parseChartAmountList = _chunkWPPJH6X4cjs.parseChartAmountList; exports.parseChartColor = _chunkWPPJH6X4cjs.parseChartColor; exports.parseChartDate = _chunk4YWAEV4Wcjs.parseChartDate; exports.parseChartValue = _chunkWPPJH6X4cjs.parseChartValue; exports.parsePartialChartJson = parsePartialChartJson; exports.planChartCommand = planChartCommand; exports.planChartToolPlayback = planChartToolPlayback; exports.rasterizeChartSvg = rasterizeChartSvg; exports.realChartClock = realChartClock; exports.recommendChartTypes = recommendChartTypes; exports.recommendForShape = recommendForShape; exports.resolveChartSvgPaints = resolveChartSvgPaints; exports.sameChartSelection = _chunk4YWAEV4Wcjs.sameChartSelection; exports.shadeChartColor = _chunkWPPJH6X4cjs.shadeChartColor; exports.simulateChartVision = _chunkWPPJH6X4cjs.simulateChartVision; exports.snapChartDragValue = snapChartDragValue; exports.snapChartValue = _chunk4YWAEV4Wcjs.snapChartValue; exports.sparklineToSvg = _chunkAKDWAWSYcjs.sparklineToSvg; exports.startChartPointDrag = startChartPointDrag; exports.stepDecimals = _chunk4YWAEV4Wcjs.stepDecimals; exports.summarizeChart = _chunkAKDWAWSYcjs.summarizeChart; exports.summarizeChartSeries = _chunk4YWAEV4Wcjs.summarizeChartSeries; exports.trendNumberText = _chunk4YWAEV4Wcjs.trendNumberText; exports.uniqueChartSeriesId = _chunkWPPJH6X4cjs.uniqueChartSeriesId; exports.withChartPlayback = withChartPlayback;
2390
+ exports.CHART_AXIS_KINDS = _chunkLL3H5XUHcjs.CHART_AXIS_KINDS; exports.CHART_AXIS_SCALES = _chunkLL3H5XUHcjs.CHART_AXIS_SCALES; exports.CHART_COLOR_SCHEMES = _chunk3IHNXRUVcjs.CHART_COLOR_SCHEMES; exports.CHART_CURVES = _chunkLL3H5XUHcjs.CHART_CURVES; exports.CHART_DATE_STEPS = _chunkHDGBM7EAcjs.CHART_DATE_STEPS; exports.CHART_ERROR_BAR_DIRECTIONS = _chunkLL3H5XUHcjs.CHART_ERROR_BAR_DIRECTIONS; exports.CHART_ERROR_BAR_LABELS = _chunkLL3H5XUHcjs.CHART_ERROR_BAR_LABELS; exports.CHART_ERROR_BAR_TYPES = _chunkLL3H5XUHcjs.CHART_ERROR_BAR_TYPES; exports.CHART_LABEL_POSITIONS = _chunkLL3H5XUHcjs.CHART_LABEL_POSITIONS; exports.CHART_LAYOUT_PRESETS = _chunk3IHNXRUVcjs.CHART_LAYOUT_PRESETS; exports.CHART_LEGEND_POSITIONS = _chunkLL3H5XUHcjs.CHART_LEGEND_POSITIONS; exports.CHART_MARKERS = _chunkLL3H5XUHcjs.CHART_MARKERS; exports.CHART_MERMAID_META_PREFIX = _chunk3IHNXRUVcjs.CHART_MERMAID_META_PREFIX; exports.CHART_NUMBER_STYLES = _chunkLL3H5XUHcjs.CHART_NUMBER_STYLES; exports.CHART_OOXML_CONTENT_TYPE = _chunkNA4UVVJ4cjs.CHART_OOXML_CONTENT_TYPE; exports.CHART_OOXML_NS = _chunkNA4UVVJ4cjs.CHART_OOXML_NS; exports.CHART_OOXML_RELATIONSHIP = _chunkNA4UVVJ4cjs.CHART_OOXML_RELATIONSHIP; exports.CHART_ORIENTATIONS = _chunkLL3H5XUHcjs.CHART_ORIENTATIONS; exports.CHART_PALETTE_SHADES = _chunkLL3H5XUHcjs.CHART_PALETTE_SHADES; exports.CHART_PRESENCE_COLORS = CHART_PRESENCE_COLORS; exports.CHART_RADAR_GRATICULES = _chunkLL3H5XUHcjs.CHART_RADAR_GRATICULES; exports.CHART_RASTER_MAX_SIZE = CHART_RASTER_MAX_SIZE; exports.CHART_SERIES_TYPES = _chunkLL3H5XUHcjs.CHART_SERIES_TYPES; exports.CHART_STACKINGS = _chunkLL3H5XUHcjs.CHART_STACKINGS; exports.CHART_TRENDLINE_TYPES = _chunkLL3H5XUHcjs.CHART_TRENDLINE_TYPES; exports.CHART_TYPES = _chunkLL3H5XUHcjs.CHART_TYPES; exports.CHART_TYPE_LABELS = _chunkLL3H5XUHcjs.CHART_TYPE_LABELS; exports.CSS_VARIABLE_CHART_THEME = _chunkLL3H5XUHcjs.CSS_VARIABLE_CHART_THEME; exports.ChartController = _chunk3IHNXRUVcjs.ChartController; exports.ChartDirector = ChartDirector; exports.ChartPresence = ChartPresence; exports.ChartStream = ChartStream; exports.DEFAULT_CHART_PALETTE = _chunkLL3H5XUHcjs.DEFAULT_CHART_PALETTE; exports.DEFAULT_CHART_THEME = _chunkLL3H5XUHcjs.DEFAULT_CHART_THEME; exports.MAX_CHART_DATA_LABELS = _chunkHDGBM7EAcjs.MAX_CHART_DATA_LABELS; exports.MAX_CHART_LINE_POINTS = _chunkHDGBM7EAcjs.MAX_CHART_LINE_POINTS; exports.MAX_CHART_MARKERS = _chunkHDGBM7EAcjs.MAX_CHART_MARKERS; exports.OfficeChartsError = OfficeChartsError; exports.RENDER_CHART_INSTRUCTIONS = RENDER_CHART_INSTRUCTIONS; exports.analyzeChartTable = analyzeChartTable; exports.blendChartScenes = blendChartScenes; exports.canDragChartPoint = canDragChartPoint; exports.chartBoxStats = _chunkHDGBM7EAcjs.chartBoxStats; exports.chartClientToScene = chartClientToScene; exports.chartColorDistance = _chunkLL3H5XUHcjs.chartColorDistance; exports.chartColorInputValue = _chunkLL3H5XUHcjs.chartColorInputValue; exports.chartColorsByCategory = _chunkLL3H5XUHcjs.chartColorsByCategory; exports.chartContrastRatio = _chunkLL3H5XUHcjs.chartContrastRatio; exports.chartDataFromTable = _chunkLL3H5XUHcjs.chartDataFromTable; exports.chartDataToTable = _chunkLL3H5XUHcjs.chartDataToTable; exports.chartDateLabels = _chunkHDGBM7EAcjs.chartDateLabels; exports.chartDateToSerial = _chunkHDGBM7EAcjs.chartDateToSerial; exports.chartErrorAmounts = _chunkLL3H5XUHcjs.chartErrorAmounts; exports.chartErrorBarsOfType = _chunkLL3H5XUHcjs.chartErrorBarsOfType; exports.chartFamily = _chunkLL3H5XUHcjs.chartFamily; exports.chartFileName = chartFileName; exports.chartFormatToCode = _chunkNA4UVVJ4cjs.chartFormatToCode; exports.chartFromMermaid = _chunk3IHNXRUVcjs.chartFromMermaid; exports.chartFromOoxml = _chunkNA4UVVJ4cjs.chartFromOoxml; exports.chartFromTable = chartFromTable; exports.chartHistogram = _chunkHDGBM7EAcjs.chartHistogram; exports.chartHitTest = chartHitTest; exports.chartLuminance = _chunkLL3H5XUHcjs.chartLuminance; exports.chartMermaidFamily = _chunk3IHNXRUVcjs.chartMermaidFamily; exports.chartMovingAverage = _chunkHDGBM7EAcjs.chartMovingAverage; exports.chartPointAnchor = chartPointAnchor; exports.chartPointColor = _chunkLL3H5XUHcjs.chartPointColor; exports.chartPointRef = chartPointRef; exports.chartPresetPatch = _chunk3IHNXRUVcjs.chartPresetPatch; exports.chartQuantile = _chunkHDGBM7EAcjs.chartQuantile; exports.chartRasterSize = chartRasterSize; exports.chartRgbToHex = _chunkLL3H5XUHcjs.chartRgbToHex; exports.chartRgbToOklab = _chunkLL3H5XUHcjs.chartRgbToOklab; exports.chartScaleFromPixel = _chunkHDGBM7EAcjs.chartScaleFromPixel; exports.chartScaleToPixel = _chunkHDGBM7EAcjs.chartScaleToPixel; exports.chartSceneToDomSpec = _chunk3IHNXRUVcjs.chartSceneToDomSpec; exports.chartSceneToSvg = _chunk3IHNXRUVcjs.chartSceneToSvg; exports.chartSerialToDate = _chunkHDGBM7EAcjs.chartSerialToDate; exports.chartSeriesColor = _chunkLL3H5XUHcjs.chartSeriesColor; exports.chartSeriesType = _chunkLL3H5XUHcjs.chartSeriesType; exports.chartSliceColor = _chunkLL3H5XUHcjs.chartSliceColor; exports.chartSquarify = _chunkHDGBM7EAcjs.chartSquarify; exports.chartSupportsTrendlines = _chunkHDGBM7EAcjs.chartSupportsTrendlines; exports.chartTextBaseline = _chunk3IHNXRUVcjs.chartTextBaseline; exports.chartTextOn = _chunkLL3H5XUHcjs.chartTextOn; exports.chartTextTransform = _chunk3IHNXRUVcjs.chartTextTransform; exports.chartToMermaid = _chunk3IHNXRUVcjs.chartToMermaid; exports.chartToOoxml = _chunkNA4UVVJ4cjs.chartToOoxml; exports.chartToSvg = _chunk3IHNXRUVcjs.chartToSvg; exports.chartTrendlineName = _chunkHDGBM7EAcjs.chartTrendlineName; exports.chartValueAtPoint = _chunkHDGBM7EAcjs.chartValueAtPoint; exports.chartXAtPoint = _chunkHDGBM7EAcjs.chartXAtPoint; exports.checkChartColors = _chunkLL3H5XUHcjs.checkChartColors; exports.cloneChartSeries = _chunkLL3H5XUHcjs.cloneChartSeries; exports.cloneChartSpec = _chunkLL3H5XUHcjs.cloneChartSpec; exports.compileChartFormatCode = _chunkHDGBM7EAcjs.compileChartFormatCode; exports.contrastingTextColor = _chunkHDGBM7EAcjs.contrastingTextColor; exports.createChartCommands = createChartCommands; exports.createChartController = _chunk3IHNXRUVcjs.createChartController; exports.createChartEditorDocument = createChartEditorDocument; exports.createChartRasterizer = createChartRasterizer; exports.createChartSpec = _chunkLL3H5XUHcjs.createChartSpec; exports.createChartToolProvider = createChartToolProvider; exports.createInstantChartClock = createInstantChartClock; exports.createOfficeChartToolProvider = createOfficeChartToolProvider; exports.cyclePaletteColor = _chunkLL3H5XUHcjs.cyclePaletteColor; exports.decimateChartPoints = _chunkHDGBM7EAcjs.decimateChartPoints; exports.defaultChartAxis = _chunkLL3H5XUHcjs.defaultChartAxis; exports.defaultChartErrorBarValue = _chunkLL3H5XUHcjs.defaultChartErrorBarValue; exports.describeChart = _chunk3IHNXRUVcjs.describeChart; exports.describeChartErrorBars = _chunkLL3H5XUHcjs.describeChartErrorBars; exports.describeChartSelection = describeChartSelection; exports.describeOfficeChartPlace = describeOfficeChartPlace; exports.downloadChartPng = downloadChartPng; exports.easeChartTween = easeChartTween; exports.estimateChartTextWidth = _chunkHDGBM7EAcjs.estimateChartTextWidth; exports.extractDocxCharts = extractDocxCharts; exports.extractOfficeCharts = extractOfficeCharts; exports.extractPptxCharts = extractPptxCharts; exports.extractXlsxCharts = extractXlsxCharts; exports.findMermaidCharts = _chunk3IHNXRUVcjs.findMermaidCharts; exports.fitChartTrendline = _chunkHDGBM7EAcjs.fitChartTrendline; exports.formatChartAmountList = _chunkLL3H5XUHcjs.formatChartAmountList; exports.formatChartDate = _chunkHDGBM7EAcjs.formatChartDate; exports.formatChartNumber = _chunkHDGBM7EAcjs.formatChartNumber; exports.formatChartValueWithCode = _chunkHDGBM7EAcjs.formatChartValueWithCode; exports.handleChartKey = handleChartKey; exports.isCartesianChart = _chunkLL3H5XUHcjs.isCartesianChart; exports.isXyChart = _chunkLL3H5XUHcjs.isXyChart; exports.layoutChart = _chunkHDGBM7EAcjs.layoutChart; exports.layoutSparkline = _chunk3IHNXRUVcjs.layoutSparkline; exports.linearMap = _chunkHDGBM7EAcjs.linearMap; exports.locateChartPoint = locateChartPoint; exports.monochromeChartPalette = _chunk3IHNXRUVcjs.monochromeChartPalette; exports.niceLogScale = _chunkHDGBM7EAcjs.niceLogScale; exports.niceScale = _chunkHDGBM7EAcjs.niceScale; exports.niceStep = _chunkHDGBM7EAcjs.niceStep; exports.normalizeChartAxis = _chunkLL3H5XUHcjs.normalizeChartAxis; exports.normalizeChartErrorBars = _chunkLL3H5XUHcjs.normalizeChartErrorBars; exports.normalizeChartSpec = _chunkLL3H5XUHcjs.normalizeChartSpec; exports.normalizeChartTrendline = _chunkLL3H5XUHcjs.normalizeChartTrendline; exports.normalizeChartValues = _chunkLL3H5XUHcjs.normalizeChartValues; exports.parseChartAmountList = _chunkLL3H5XUHcjs.parseChartAmountList; exports.parseChartColor = _chunkLL3H5XUHcjs.parseChartColor; exports.parseChartDate = _chunkHDGBM7EAcjs.parseChartDate; exports.parseChartValue = _chunkLL3H5XUHcjs.parseChartValue; exports.parsePartialChartJson = parsePartialChartJson; exports.planChartCommand = planChartCommand; exports.planChartToolPlayback = planChartToolPlayback; exports.rasterizeChartSvg = rasterizeChartSvg; exports.realChartClock = realChartClock; exports.recommendChartTypes = recommendChartTypes; exports.recommendForShape = recommendForShape; exports.resolveChartSvgPaints = resolveChartSvgPaints; exports.sameChartSelection = _chunkHDGBM7EAcjs.sameChartSelection; exports.shadeChartColor = _chunkLL3H5XUHcjs.shadeChartColor; exports.simulateChartVision = _chunkLL3H5XUHcjs.simulateChartVision; exports.snapChartDragValue = snapChartDragValue; exports.snapChartValue = _chunkHDGBM7EAcjs.snapChartValue; exports.sparklineToSvg = _chunk3IHNXRUVcjs.sparklineToSvg; exports.startChartPointDrag = startChartPointDrag; exports.stepDecimals = _chunkHDGBM7EAcjs.stepDecimals; exports.summarizeChart = _chunk3IHNXRUVcjs.summarizeChart; exports.summarizeChartSeries = _chunkHDGBM7EAcjs.summarizeChartSeries; exports.trendNumberText = _chunkHDGBM7EAcjs.trendNumberText; exports.uniqueChartSeriesId = _chunkLL3H5XUHcjs.uniqueChartSeriesId; exports.withChartPlayback = withChartPlayback;