pptx-viewer-mcp 2.2.0 → 2.4.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs re-releases a package whenever any of its files
8
8
  change, not only on conventional ones.
9
9
 
10
+ ## [2.3.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-mcp@2.3.0) - 2026-09-05
11
+
12
+ ### Features
13
+
14
+ - **tools:** Chart formatting and table style MCP tools (by @ChristopherVR) ([c2094ee](https://github.com/ChristopherVR/pptx-viewer/commit/c2094ee67a06a9358f52c3e38ba6a3612a9cb3ce))
15
+
16
+ ## [2.2.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-mcp@2.2.0) - 2026-09-05
17
+
18
+ ### Features
19
+
20
+ - **tools:** Chart userShapes MCP tools (by @ChristopherVR) ([bf851eb](https://github.com/ChristopherVR/pptx-viewer/commit/bf851eb9fd29bfbe447157d8b1e7340644d5d921))
21
+
10
22
  ## [2.1.7](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-mcp@2.1.7) - 2026-08-26
11
23
 
12
24
  ### Dependencies
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm](https://img.shields.io/npm/v/pptx-viewer-mcp.svg)](https://www.npmjs.com/package/pptx-viewer-mcp)
4
4
  [![license](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
5
5
 
6
- Edit PowerPoint files from an AI agent. It ships a ready-to-run [MCP](https://modelcontextprotocol.io) server that gives an agent 58 PowerPoint editing tools (for example "add a slide" or "replace text"). The same tools are also available as plain functions you can call yourself, along with their Zod input schemas and a codec for real-time collaboration (Y.Doc). The [`pptx-viewer-core`](https://www.npmjs.com/package/pptx-viewer-core) engine is bundled in, so a single install gives you everything and you never install the core separately.
6
+ Edit PowerPoint files from an AI agent. It ships a ready-to-run [MCP](https://modelcontextprotocol.io) server that gives an agent 63 PowerPoint editing tools (for example "add a slide" or "replace text"). The same tools are also available as plain functions you can call yourself, along with their Zod input schemas and a codec for real-time collaboration (Y.Doc). The [`pptx-viewer-core`](https://www.npmjs.com/package/pptx-viewer-core) engine is bundled in, so a single install gives you everything and you never install the core separately.
7
7
 
8
8
  ![An AI agent calling validated MCP tools to edit and save a PowerPoint file](https://raw.githubusercontent.com/ChristopherVR/pptx-viewer/main/.github/assets/packages/mcp-tools.svg)
9
9
 
@@ -31,7 +31,7 @@ No clone, no build, no separate core install. Point your MCP client at the publi
31
31
 
32
32
  That is the entire setup. `npx` downloads `pptx-viewer-mcp` and its bundled `pptx-viewer-core` engine on first run, so there is nothing else to install. Add the config above, restart your client, and the tools are available.
33
33
 
34
- This works in Claude Desktop, Claude Code, Cursor, and any MCP-compatible client. All 58 tools are exposed over stdio in snake_case (for example `add_slide`, `batch_update_elements`). Every tool takes a `filePath` argument and the server handles load and save internally. File access is scoped to a root directory (`PPTX_TOOLS_ROOT`, defaulting to the process working directory) and restricted to `.pptx` and `.ppt` files.
34
+ This works in Claude Desktop, Claude Code, Cursor, and any MCP-compatible client. All 67 tools are exposed over stdio in snake_case (for example `add_slide`, `batch_update_elements`). Every tool takes a `filePath` argument and the server handles load and save internally. File access is scoped to a root directory (`PPTX_TOOLS_ROOT`, defaulting to the process working directory) and restricted to `.pptx` and `.ppt` files.
35
35
 
36
36
  > If you prefer a global install (`npm i -g pptx-viewer-mcp`), the same server is available as the `pptx-tools` binary. Point `command` at `pptx-tools` with no args.
37
37
 
@@ -73,29 +73,30 @@ See [Use as a library](#use-as-a-library) below for the higher-level `executeToo
73
73
 
74
74
  | Entry point | Contents |
75
75
  | ------------------------- | ----------------------------------------------------------------------------------------------------- |
76
- | `pptx-viewer-mcp` | 58 tool functions, the `PptxHandler` engine, provider types, and the execution pipeline |
76
+ | `pptx-viewer-mcp` | 67 tool functions, the `PptxHandler` engine, provider types, and the execution pipeline |
77
77
  | `pptx-viewer-mcp/schemas` | Zod schemas for every tool input |
78
78
  | `pptx-viewer-mcp/codec` | `PptxCodec`, the Y.Doc to PPTX bytes codec |
79
79
  | `pptx-viewer-mcp/mcp` | The runnable stdio server entry (what `npx pptx-viewer-mcp` executes); importing it starts the server |
80
80
 
81
81
  ## Tools
82
82
 
83
- | Group | Tools |
84
- | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85
- | Slide (8) | `getSlide` `addSlide` `deleteSlides` `reorderSlides` `duplicateSlide` `updateSlideProperties` `setSlideTransition` `setCanvasSize` |
86
- | Element (9) | `addElement` `updateElement` `deleteElements` `arrangeElements` `cloneElement` `setElementAnimation` `groupElements` `ungroupElements` `batchUpdateElements` |
87
- | Table (2) | `updateTableCells` `manageTableStructure` |
88
- | Style (2) | `updateElementStyle` `runAccessibilityCheck` |
89
- | Content (3) | `findText` `replaceText` `manageComments` |
90
- | Chart (9) | `createChart` `updateChart` `addChartSeries` `removeChartSeries` `updateChartSeriesData` `listChartUserShapes` `addChartUserShape` `updateChartUserShape` `removeChartUserShape` |
91
- | Theme (4) | `getThemeInfo` `applyThemePreset` `updateThemeColors` `updateThemeFonts` |
92
- | SmartArt (1) | `manageSmartArt` |
93
- | Template & layout (4) | `findPlaceholders` `applyTemplate` `getLayouts` `applyLayout` |
94
- | Metadata & properties (4) | `getMetadata` `updateMetadata` `getPresentationProperties` `updatePresentationProperties` |
95
- | Sections & hyperlinks (2) | `manageSections` `manageHyperlinks` |
96
- | Geometry & locking (2) | `replaceGeometry` `setElementLock` |
97
- | Validation (2) | `validatePresentation` `repairPresentation` |
98
- | Export & conversion (5) | `convertToMarkdown` `exportToSvg` `exportSlideSvg` `exportToJson` `importFromJson` |
83
+ | Group | Tools |
84
+ | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85
+ | Slide (8) | `getSlide` `addSlide` `deleteSlides` `reorderSlides` `duplicateSlide` `updateSlideProperties` `setSlideTransition` `setCanvasSize` |
86
+ | Element (9) | `addElement` `updateElement` `deleteElements` `arrangeElements` `cloneElement` `setElementAnimation` `groupElements` `ungroupElements` `batchUpdateElements` |
87
+ | Table (2) | `updateTableCells` `manageTableStructure` |
88
+ | Table style (4) | `setTableStyleSection` `createTableStyle` `deleteTableStyle` `assignTableStyle` |
89
+ | Style (2) | `updateElementStyle` `runAccessibilityCheck` |
90
+ | Content (3) | `findText` `replaceText` `manageComments` |
91
+ | Chart (14) | `createChart` `updateChart` `addChartSeries` `removeChartSeries` `updateChartSeriesData` `listChartUserShapes` `addChartUserShape` `updateChartUserShape` `removeChartUserShape` `formatChartDataPoint` `formatChartDataLabel` `formatChartSeries` `setChartHelperLine` `setChartColorMapOverride` |
92
+ | Theme (4) | `getThemeInfo` `applyThemePreset` `updateThemeColors` `updateThemeFonts` |
93
+ | SmartArt (1) | `manageSmartArt` |
94
+ | Template & layout (4) | `findPlaceholders` `applyTemplate` `getLayouts` `applyLayout` |
95
+ | Metadata & properties (4) | `getMetadata` `updateMetadata` `getPresentationProperties` `updatePresentationProperties` |
96
+ | Sections & hyperlinks (2) | `manageSections` `manageHyperlinks` |
97
+ | Geometry & locking (2) | `replaceGeometry` `setElementLock` |
98
+ | Validation (2) | `validatePresentation` `repairPresentation` |
99
+ | Export & conversion (5) | `convertToMarkdown` `exportToSvg` `exportSlideSvg` `exportToJson` `importFromJson` |
99
100
 
100
101
  ## Use as a library
101
102
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Doc } from "yjs";
2
- import { ChartAxisEdit, PptxAppProperties, PptxChartUserShape, PptxCoreProperties, PptxCustomProperty, PptxData, PptxData as PptxData$1, PptxData as PptxData$2, PptxElement, PptxElement as PptxElement$1, PptxHandler, PptxJsonAssetStats, PptxPresentationProperties, PptxSlide, PptxSlide as PptxSlide$1, PptxThemeColorScheme, PptxThemeFontScheme, PresentationDiff, ShapeStyle } from "pptx-viewer-core";
2
+ import { ChartAxisEdit, ParsedTableStyleBorders, ParsedTableStyleFill, ParsedTableStyleText, PptxAppProperties, PptxChartErrBars, PptxChartMarkerSymbol, PptxChartUserShape, PptxCoreProperties, PptxCustomProperty, PptxData, PptxData as PptxData$1, PptxData as PptxData$2, PptxElement, PptxElement as PptxElement$1, PptxHandler, PptxJsonAssetStats, PptxPresentationProperties, PptxSlide, PptxSlide as PptxSlide$1, PptxTableCell3D, PptxThemeColorRef, PptxThemeColorScheme, PptxThemeFontScheme, PresentationDiff, ShapeStyle, TableStylePartName } from "pptx-viewer-core";
3
3
  //#region src/types.d.ts
4
4
  /**
5
5
  * Platform-agnostic context passed to every tool function.
@@ -13,6 +13,21 @@ interface ToolContext {
13
13
  /** Optional: resolve external media paths to binary data. */
14
14
  resolveMedia?: (path: string) => Promise<Uint8Array>;
15
15
  }
16
+ /**
17
+ * Save-time instructions that don't live on `pptxData` itself and so cannot
18
+ * be expressed as a model mutation: today, only `ppt/tableStyles.xml`'s
19
+ * archive-level "repoint the default style" / "delete a style" operations
20
+ * (`set_default_table_style`, `delete_table_style`). Mirrors the same-named
21
+ * fields on `pptx-viewer-core`'s save options structurally (not imported, so
22
+ * a tool result stays independent of the core package's internal type
23
+ * export surface).
24
+ */
25
+ interface TableStyleSaveOptions {
26
+ /** GUID to set as `ppt/tableStyles.xml`'s `<a:tblStyleLst @def>`. */
27
+ tableStylesDefaultId?: string;
28
+ /** GUIDs to remove from `ppt/tableStyles.xml` entirely. */
29
+ tableStylesToDelete?: string[];
30
+ }
16
31
  /**
17
32
  * Every tool function returns this.
18
33
  * The consumer decides what to do with the mutated pptxData.
@@ -24,6 +39,12 @@ interface ToolResult<T = unknown> {
24
39
  result: T;
25
40
  /** Whether pptxData was modified (signals need to save). */
26
41
  dirty: boolean;
42
+ /**
43
+ * Extra `handler.save()` instructions this result requires beyond the
44
+ * ordinary `pptxData` mutation, merged in by `savePresentation` /
45
+ * `executeToolWithContext`. See {@link TableStyleSaveOptions}.
46
+ */
47
+ saveOptions?: TableStyleSaveOptions;
27
48
  }
28
49
  /**
29
50
  * Abstraction for Y.Doc room management.
@@ -89,7 +110,7 @@ declare function loadPresentation(filePath: string, execCtx: ExecutionContext):
89
110
  /**
90
111
  * Save mutated PptxData back: routes through collaboration Y.Doc or disk.
91
112
  */
92
- declare function savePresentation(filePath: string, pptxData: PptxData$1, rawBytes: Uint8Array, execCtx: ExecutionContext): Promise<{
113
+ declare function savePresentation(filePath: string, pptxData: PptxData$1, rawBytes: Uint8Array, execCtx: ExecutionContext, tableStyleSaveOptions?: TableStyleSaveOptions): Promise<{
93
114
  savedToDisk: boolean;
94
115
  routedThroughCollaboration: boolean;
95
116
  }>;
@@ -237,6 +258,13 @@ interface UpdateElementParams {
237
258
  fontSize?: number;
238
259
  fontFamily?: string;
239
260
  fontColor?: string;
261
+ /**
262
+ * A theme colour for the run text (`{ scheme: 'accent1', lumMod: 0.8 }`).
263
+ * Wins on save (`<a:schemeClr>` instead of a canonical `<a:srgbClr>`), and
264
+ * resolves `fontColor` immediately when `fontColor` was not also given.
265
+ * Passing `fontColor` alone clears a previously-set text theme colour.
266
+ */
267
+ fontThemeColor?: PptxThemeColorRef;
240
268
  bold?: boolean;
241
269
  italic?: boolean;
242
270
  underline?: boolean;
@@ -248,6 +276,10 @@ interface UpdateElementParams {
248
276
  hidden?: boolean;
249
277
  flipH?: boolean;
250
278
  flipV?: boolean;
279
+ /** Accessibility description; see {@link applyElementAltText} for the accepted kinds. */
280
+ altText?: string;
281
+ /** Accessibility title; see {@link applyElementTitle} for the accepted kinds. */
282
+ title?: string;
251
283
  }
252
284
  declare function updateElement(ctx: ToolContext, params: UpdateElementParams): ToolResult<{
253
285
  elementId: string;
@@ -360,11 +392,87 @@ declare function manageTableStructure(ctx: ToolContext, params: ManageTableStruc
360
392
  columnCount: number;
361
393
  }>;
362
394
  //#endregion
395
+ //#region src/tools/table-style-tools.d.ts
396
+ interface SetTableStyleSectionParams {
397
+ styleId: string;
398
+ section: TableStylePartName;
399
+ styleName?: string;
400
+ fill?: ParsedTableStyleFill;
401
+ text?: ParsedTableStyleText;
402
+ borders?: ParsedTableStyleBorders;
403
+ cell3D?: PptxTableCell3D;
404
+ }
405
+ /**
406
+ * Patch one facet (fill/text/borders/cell3D) of one `CT_TableStyle` section
407
+ * on an EXISTING style in `pptxData.tableStyleMap`. Facets not supplied are
408
+ * left untouched (matches `applyTableStyleEntryToNode`'s merge semantics).
409
+ * Throws if `styleId` names no loaded style: use `create_table_style` first.
410
+ */
411
+ declare function setTableStyleSection(ctx: ToolContext, params: SetTableStyleSectionParams): ToolResult<{
412
+ styleId: string;
413
+ section: TableStylePartName;
414
+ }>;
415
+ interface CreateTableStyleParams {
416
+ styleName: string;
417
+ /** Deep-clone every section from this existing style GUID as the starting point. */
418
+ basedOnStyleId?: string;
419
+ /** Repoint `ppt/tableStyles.xml`'s `@def` at the new style on save. */
420
+ setAsDefault?: boolean;
421
+ }
422
+ declare function createTableStyle(ctx: ToolContext, params: CreateTableStyleParams): ToolResult<{
423
+ styleId: string;
424
+ }>;
425
+ interface DeleteTableStyleParams {
426
+ styleId: string;
427
+ /** Delete even though a table on some slide still references this style. */
428
+ force?: boolean;
429
+ }
430
+ declare function deleteTableStyle(ctx: ToolContext, params: DeleteTableStyleParams): ToolResult<{
431
+ deleted: boolean;
432
+ }>;
433
+ interface AssignTableStyleParams {
434
+ slideIndex: number;
435
+ elementId: string;
436
+ /**
437
+ * Defaults to `pptxData.tableStylesDefaultId` (the deck's current
438
+ * `ppt/tableStyles.xml/a:tblStyleLst/@def`) when omitted, matching what
439
+ * PowerPoint's "Insert > Table" applies without an explicit style choice.
440
+ */
441
+ styleId?: string;
442
+ bandedRows?: boolean;
443
+ bandedColumns?: boolean;
444
+ firstRowHeader?: boolean;
445
+ lastRow?: boolean;
446
+ firstCol?: boolean;
447
+ lastCol?: boolean;
448
+ }
449
+ /**
450
+ * Assign a table style (and, optionally, the row/column emphasis flags that
451
+ * decide which of its sections actually show) to an EXISTING table element.
452
+ * `tableData.tableStyleId` already round-trips through the save pipeline for
453
+ * both new and previously-loaded tables (`save-table-merge-helpers.ts`); this
454
+ * tool just exposes that assignment over MCP.
455
+ */
456
+ declare function assignTableStyle(ctx: ToolContext, params: AssignTableStyleParams): ToolResult<{
457
+ elementId: string;
458
+ styleId: string;
459
+ }>;
460
+ //#endregion
363
461
  //#region src/tools/style-tools.d.ts
364
462
  interface UpdateElementStyleParams {
365
463
  slideIndex: number;
366
464
  elementId: string;
367
465
  fillColor?: string;
466
+ /**
467
+ * A theme colour for the fill (`{ scheme: 'accent1', lumMod: 0.8 }`).
468
+ * Wins on save: the shape is written as `<a:schemeClr>` instead of a
469
+ * canonical `<a:srgbClr>`, so it keeps following the theme after a later
470
+ * theme change. Also resolves `fillColor` immediately (against the
471
+ * deck's `themeColorMap`) when `fillColor` was not explicitly given.
472
+ * Passing `fillColor` alone (no `fillThemeColor`) clears any previously
473
+ * set fill theme colour, matching a user typing a custom hex.
474
+ */
475
+ fillThemeColor?: PptxThemeColorRef;
368
476
  fillMode?: ShapeStyle['fillMode'];
369
477
  fillGradientStops?: Array<{
370
478
  color: string;
@@ -375,6 +483,8 @@ interface UpdateElementStyleParams {
375
483
  fillGradientType?: 'linear' | 'radial';
376
484
  fillOpacity?: number;
377
485
  strokeColor?: string;
486
+ /** A theme colour for the outline; see {@link fillThemeColor}. */
487
+ strokeThemeColor?: PptxThemeColorRef;
378
488
  strokeWidth?: number;
379
489
  strokeDash?: ShapeStyle['strokeDash'];
380
490
  strokeOpacity?: number;
@@ -394,7 +504,19 @@ interface UpdateElementStyleParams {
394
504
  brightness?: number;
395
505
  contrast?: number;
396
506
  grayscale?: boolean;
507
+ /**
508
+ * Accessibility description (`p:cNvPr/@descr`). Accepted for pictures,
509
+ * every graphic frame kind (table, chart, smartArt, ole, media), and a
510
+ * plain shape / text box / connector: the core writer serialises all
511
+ * eight kinds, so the tool must not stop at images.
512
+ */
397
513
  altText?: string;
514
+ /**
515
+ * Accessibility title (`p:cNvPr/@title`). Accepted for every kind that
516
+ * models it: table, chart, smartArt, ole, media, text, shape and
517
+ * connector (a picture has no separate title field, only `altText`).
518
+ */
519
+ title?: string;
398
520
  }
399
521
  declare function updateElementStyle(ctx: ToolContext, params: UpdateElementStyleParams): ToolResult<{
400
522
  elementId: string;
@@ -636,6 +758,118 @@ interface CreateChartResult {
636
758
  }
637
759
  declare function createChart(ctx: ToolContext, params: CreateChartParams): ToolResult<CreateChartResult>;
638
760
  //#endregion
761
+ //#region src/tools/chart-formatting-tools.d.ts
762
+ interface FormatChartDataPointParams {
763
+ slideIndex: number;
764
+ elementId: string;
765
+ seriesIndex: number;
766
+ pointIndex: number;
767
+ /** Fill colour; `null` clears just the style entirely (see `clearStyle`). */
768
+ fillColor?: string;
769
+ strokeColor?: string;
770
+ strokeWidth?: number;
771
+ strokeDashStyle?: string;
772
+ /** Remove all `c:dPt/c:spPr` formatting for this point. */
773
+ clearStyle?: boolean;
774
+ /** Pie/doughnut slice pull-out distance (0-100). `null` clears it. */
775
+ explosion?: number | null;
776
+ marker?: {
777
+ symbol?: PptxChartMarkerSymbol;
778
+ size?: number;
779
+ fillColor?: string;
780
+ } | null;
781
+ }
782
+ declare function formatChartDataPoint(ctx: ToolContext, params: FormatChartDataPointParams): ToolResult<{
783
+ elementId: string;
784
+ }>;
785
+ interface FormatChartDataLabelParams {
786
+ slideIndex: number;
787
+ elementId: string;
788
+ seriesIndex: number;
789
+ pointIndex: number;
790
+ /** Pass with no other field, and `remove: true`, to drop the override entirely. */
791
+ remove?: boolean;
792
+ showValue?: boolean;
793
+ showCategory?: boolean;
794
+ showSeriesName?: boolean;
795
+ showPercent?: boolean;
796
+ showLegendKey?: boolean;
797
+ position?: 'bestFit' | 'b' | 'ctr' | 'inBase' | 'inEnd' | 'l' | 'outEnd' | 'r' | 't';
798
+ /** Custom label text. Pass `''` to clear it. */
799
+ text?: string;
800
+ /** This label's own fill/line formatting; `null` removes it. */
801
+ spPr?: {
802
+ fillColor?: string;
803
+ strokeColor?: string;
804
+ strokeWidth?: number;
805
+ strokeDashStyle?: string;
806
+ } | null;
807
+ /** This label's own font; `null` removes it. */
808
+ txPr?: {
809
+ fontFamily?: string;
810
+ fontSize?: number;
811
+ bold?: boolean;
812
+ italic?: boolean;
813
+ color?: string;
814
+ } | null;
815
+ }
816
+ declare function formatChartDataLabel(ctx: ToolContext, params: FormatChartDataLabelParams): ToolResult<{
817
+ elementId: string;
818
+ }>;
819
+ interface FormatChartSeriesParams {
820
+ slideIndex: number;
821
+ elementId: string;
822
+ seriesIndex: number;
823
+ marker?: {
824
+ symbol?: PptxChartMarkerSymbol;
825
+ size?: number;
826
+ fillColor?: string;
827
+ strokeColor?: string;
828
+ strokeWidth?: number;
829
+ strokeDashStyle?: string;
830
+ } | null;
831
+ trendline?: {
832
+ trendlineType: 'linear' | 'exponential' | 'logarithmic' | 'polynomial' | 'power' | 'movingAvg';
833
+ color?: string;
834
+ lineWidth?: number;
835
+ lineDashStyle?: string;
836
+ order?: number;
837
+ period?: number;
838
+ displayEq?: boolean;
839
+ displayRSq?: boolean;
840
+ } | null;
841
+ errorBars?: (PptxChartErrBars & {
842
+ width?: number;
843
+ dashStyle?: string;
844
+ }) | null;
845
+ }
846
+ declare function formatChartSeries(ctx: ToolContext, params: FormatChartSeriesParams): ToolResult<{
847
+ elementId: string;
848
+ }>;
849
+ interface SetChartHelperLineParams {
850
+ slideIndex: number;
851
+ elementId: string;
852
+ line: 'dropLines' | 'hiLowLines';
853
+ /** `null` removes the line entirely. */
854
+ style: {
855
+ color?: string;
856
+ width?: number;
857
+ dashStyle?: string;
858
+ } | null;
859
+ }
860
+ declare function setChartHelperLineT(ctx: ToolContext, params: SetChartHelperLineParams): ToolResult<{
861
+ elementId: string;
862
+ }>;
863
+ interface SetChartColorMapOverrideParams {
864
+ slideIndex: number;
865
+ elementId: string;
866
+ /** `null` removes the override entirely. */
867
+ overrides: Record<string, string> | null;
868
+ }
869
+ declare function setChartColorMapOverrideT(ctx: ToolContext, params: SetChartColorMapOverrideParams): ToolResult<{
870
+ elementId: string;
871
+ }>;
872
+ //#endregion
639
873
  //#region src/tools/chart-user-shape-tools.d.ts
640
874
  /** The overlay-shape fields an AI tool call can set, flattened from `PptxChartUserShape`. */
641
875
  interface ChartUserShapeInput {
@@ -999,5 +1233,5 @@ interface ApplyLayoutResult {
999
1233
  }
1000
1234
  declare function applyLayout(ctx: ToolContext, params: ApplyLayoutParams): ToolResult<ApplyLayoutResult>;
1001
1235
  //#endregion
1002
- export { type AccessibilityCheckResult, type AccessibilityIssue, type AddChartSeriesParams, type AddChartUserShapeParams, type AddElementParams, type AddElementResult, type AddSlideParams, type AddSlideResult, type ApplyLayoutParams, type ApplyLayoutResult, type ApplyTemplateParams, type ApplyTemplateResult, type ApplyThemePresetParams, type ApplyThemePresetResult, type ArrangeElementsParams, type BatchUpdateElementsParams, type ChartUserShapeInput, type CloneElementParams, type CloneElementResult, type CollaborationProvider, type CommentInfo, type ConvertToMarkdownParams, type ConvertToMarkdownResult, type CreateChartParams, type CreateChartResult, type DeleteElementsParams, type DeleteSlidesParams, type DeleteSlidesResult, type DiffPresentationsParams, type DuplicateSlideParams, type ExecutionContext, type ExportSlideSvgParams, type ExportSlideSvgResult, type ExportToJsonParams, type ExportToJsonResult, type ExportToSvgParams, type ExportToSvgResult, type FileSystemProvider, type FindPlaceholdersResult, type FindTextParams, type FindTextResult, type GetLayoutsResult, type GetSlideResult, type GroupElementsParams, type GroupElementsResult, type HyperlinkInfo, type ImportFromJsonParams, type ImportFromJsonResult, type LayoutInfo, type ListChartUserShapesParams, type ManageCommentsParams, type ManageCommentsResult, type ManageHyperlinksParams, type ManageHyperlinksResult, type ManageSectionsParams, type ManageSectionsResult, type ManageSmartArtParams, type ManageSmartArtResult, type ManageTableStructureParams, type MergePresentationParams, type MergePresentationResult, type MetadataResult, type PptxData, type PptxElement, PptxHandler, type PptxSlide, type RemoveChartSeriesParams, type RemoveChartUserShapeParams, type RenameElementParams, type ReorderSlidesParams, type RepairPresentationResult, type ReplaceGeometryParams, type ReplaceTextParams, type ReplaceTextResult, type SectionInfo, type SetCanvasSizeParams, type SetElementAnimationParams, type SetElementLockParams, type SetSlideTransitionParams, type SmartArtNodeInfo, type TextMatch, type ThemeInfo, type ToolContext, type ToolResult, type UngroupElementsParams, type UngroupElementsResult, type UpdateChartParams, type UpdateChartSeriesDataParams, type UpdateChartUserShapeParams, type UpdateElementParams, type UpdateElementStyleParams, type UpdateMetadataParams, type UpdatePresentationPropertiesParams, type UpdateSlidePropertiesParams, type UpdateTableCellsParams, type UpdateThemeColorsParams, type UpdateThemeFontsParams, type ValidatePresentationResult, type ViewerProvider, addChartSeriesT, addChartUserShapeT, addElement, addSlide, applyLayout, applyTemplateT, applyThemePreset, arrangeElements, batchUpdateElements, cloneElement, convertToMarkdown, createChart, deleteElements, deleteSlides, describeElement, diffPresentationsT, duplicateSlide, executeToolWithContext, exportSlideSvg, exportToJson, exportToSvg, extractSlideText, findPlaceholdersT, findText, generateElementId, generateSlideId, getLayouts, getMetadata, getPresentationProperties, getSlide, getThemeInfo, groupElements, importFromJson, listChartUserShapesT, loadPresentation, manageComments, manageHyperlinks, manageSections, manageSmartArt, manageTableStructure, mergePresentationT, removeChartSeriesT, removeChartUserShapeT, renameElement, reorderSlides, repairPresentation, replaceGeometry, replaceText, runAccessibilityCheck, savePresentation, setCanvasSize, setElementAnimation, setElementLockT, setSlideTransition, ungroupElements, updateChart, updateChartSeriesData, updateChartUserShapeT, updateElement, updateElementStyle, updateMetadata, updatePresentationProperties, updateSlideProperties, updateTableCells, updateThemeColors, updateThemeFonts, validatePresentation, validateSlideIndex };
1236
+ export { type AccessibilityCheckResult, type AccessibilityIssue, type AddChartSeriesParams, type AddChartUserShapeParams, type AddElementParams, type AddElementResult, type AddSlideParams, type AddSlideResult, type ApplyLayoutParams, type ApplyLayoutResult, type ApplyTemplateParams, type ApplyTemplateResult, type ApplyThemePresetParams, type ApplyThemePresetResult, type ArrangeElementsParams, type AssignTableStyleParams, type BatchUpdateElementsParams, type ChartUserShapeInput, type CloneElementParams, type CloneElementResult, type CollaborationProvider, type CommentInfo, type ConvertToMarkdownParams, type ConvertToMarkdownResult, type CreateChartParams, type CreateChartResult, type CreateTableStyleParams, type DeleteElementsParams, type DeleteSlidesParams, type DeleteSlidesResult, type DeleteTableStyleParams, type DiffPresentationsParams, type DuplicateSlideParams, type ExecutionContext, type ExportSlideSvgParams, type ExportSlideSvgResult, type ExportToJsonParams, type ExportToJsonResult, type ExportToSvgParams, type ExportToSvgResult, type FileSystemProvider, type FindPlaceholdersResult, type FindTextParams, type FindTextResult, type FormatChartDataLabelParams, type FormatChartDataPointParams, type FormatChartSeriesParams, type GetLayoutsResult, type GetSlideResult, type GroupElementsParams, type GroupElementsResult, type HyperlinkInfo, type ImportFromJsonParams, type ImportFromJsonResult, type LayoutInfo, type ListChartUserShapesParams, type ManageCommentsParams, type ManageCommentsResult, type ManageHyperlinksParams, type ManageHyperlinksResult, type ManageSectionsParams, type ManageSectionsResult, type ManageSmartArtParams, type ManageSmartArtResult, type ManageTableStructureParams, type MergePresentationParams, type MergePresentationResult, type MetadataResult, type PptxData, type PptxElement, PptxHandler, type PptxSlide, type RemoveChartSeriesParams, type RemoveChartUserShapeParams, type RenameElementParams, type ReorderSlidesParams, type RepairPresentationResult, type ReplaceGeometryParams, type ReplaceTextParams, type ReplaceTextResult, type SectionInfo, type SetCanvasSizeParams, type SetChartColorMapOverrideParams, type SetChartHelperLineParams, type SetElementAnimationParams, type SetElementLockParams, type SetSlideTransitionParams, type SetTableStyleSectionParams, type SmartArtNodeInfo, type TextMatch, type ThemeInfo, type ToolContext, type ToolResult, type UngroupElementsParams, type UngroupElementsResult, type UpdateChartParams, type UpdateChartSeriesDataParams, type UpdateChartUserShapeParams, type UpdateElementParams, type UpdateElementStyleParams, type UpdateMetadataParams, type UpdatePresentationPropertiesParams, type UpdateSlidePropertiesParams, type UpdateTableCellsParams, type UpdateThemeColorsParams, type UpdateThemeFontsParams, type ValidatePresentationResult, type ViewerProvider, addChartSeriesT, addChartUserShapeT, addElement, addSlide, applyLayout, applyTemplateT, applyThemePreset, arrangeElements, assignTableStyle, batchUpdateElements, cloneElement, convertToMarkdown, createChart, createTableStyle, deleteElements, deleteSlides, deleteTableStyle, describeElement, diffPresentationsT, duplicateSlide, executeToolWithContext, exportSlideSvg, exportToJson, exportToSvg, extractSlideText, findPlaceholdersT, findText, formatChartDataLabel, formatChartDataPoint, formatChartSeries, generateElementId, generateSlideId, getLayouts, getMetadata, getPresentationProperties, getSlide, getThemeInfo, groupElements, importFromJson, listChartUserShapesT, loadPresentation, manageComments, manageHyperlinks, manageSections, manageSmartArt, manageTableStructure, mergePresentationT, removeChartSeriesT, removeChartUserShapeT, renameElement, reorderSlides, repairPresentation, replaceGeometry, replaceText, runAccessibilityCheck, savePresentation, setCanvasSize, setChartColorMapOverrideT, setChartHelperLineT, setElementAnimation, setElementLockT, setSlideTransition, setTableStyleSection, ungroupElements, updateChart, updateChartSeriesData, updateChartUserShapeT, updateElement, updateElementStyle, updateMetadata, updatePresentationProperties, updateSlideProperties, updateTableCells, updateThemeColors, updateThemeFonts, validatePresentation, validateSlideIndex };
1003
1237
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/execution.ts","../src/tools/slide-tools.ts","../src/tools/helpers.ts","../src/tools/element-tools.ts","../src/tools/table-tools.ts","../src/tools/style-tools.ts","../src/tools/content-tools.ts","../src/tools/conversion-tools.ts","../src/tools/theme-tools.ts","../src/tools/chart-tools.ts","../src/tools/chart-user-shape-tools.ts","../src/tools/smartart-tools.ts","../src/tools/merge-tools.ts","../src/tools/template-tools.ts","../src/tools/metadata-tools.ts","../src/tools/section-tools.ts","../src/tools/export-tools.ts","../src/tools/json-tools.ts","../src/tools/hyperlink-tools.ts","../src/tools/geometry-tools.ts","../src/tools/lock-tools.ts","../src/tools/validation-t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A;EACA;EACA;EACA;;iBAGe,sBACf,KAAK,aACL,QAAQ,8BACN;EAAa;;UA8BC;EAChB;EACA;EACA;EACA;EACA;EACA;;iBAGe,mBACf,KAAK,aACL,QAAQ,2BACN;EAAa;EAAoB;;UAmCnB;EAChB;EACA;;iBAGe,cACf,KAAK,aACL,QAAQ,sBACN;EAAa;EAAqB;;;;iBChSrB;iBAIA;;iBAKA,gBAAgB,IAAI,gBAAc;;iBAwGlC,iBAAiB,OAAO;;iBA0BxB,mBAAmB,oBAAoB;;;UCvHtC;EAChB;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;;iBAGe,WACf,KAAK,aACL,QAAQ,mBACN,WAAW;UAmKG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe,cACf,KAAK,aACL,QAAQ,sBACN;EAAa;;UA8GC;EAChB;EACA;;EAEA;;iBAGe,cACf,KAAK,aACL,QAAQ,sBACN;EAAa;EAAmB;;UA4BlB;EAChB;EACA;;iBAGe,eACf,KAAK,aACL,QAAQ,uBACN;EAAa;;UA0BC;EAChB;EACA;EAEA;EACA;EAEA;EACA;;iBAGe,gBACf,KAAK,aACL,QAAQ,wBACN;EAAa;;UA6GC;EAChB;EACA;EACA;EACA;EACA;;UAGgB;EAChB;;iBAGe,aACf,KAAK,aACL,QAAQ,qBACN,WAAW;UA6CG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe,oBACf,KAAK,aACL,QAAQ,4BACN;EAAa;;UAsDC;EAChB;EACA;;UAGgB;EAChB;;iBAGe,cACf,KAAK,aACL,QAAQ,sBACN,WAAW;UAmCG;EAChB;EACA;;UAGgB;EAChB;;iBAGe,gBACf,KAAK,aACL,QAAQ,wBACN,WAAW;UA6CG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe,oBACf,KAAK,aACL,QAAQ,4BACN;EAAa;;;;UClyBC;EAChB;EACA;EACA,OAAO;IAAQ;IAAa;IAAa;;;iBAG1B,iBACf,KAAK,aACL,QAAQ,yBACN;EAAa;;UA6CC;EAChB;EACA;EACA;EACA;EACA;EACA;;iBAGe,qBACf,KAAK,aACL,QAAQ,6BACN;EAAa;EAAkB;;;;UCjEjB;EAChB;EACA;EAEA;EACA,WAAW;EACX,oBAAoB;IAAQ;IAAe;IAAkB;;EAC7D;EACA;EACA;EAEA;EACA;EACA,aAAa;EACb;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe,mBACf,KAAK,aACL,QAAQ,2BACN;EAAa;;UA6HC;EAChB;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;EACA;EACA;EACA,QAAQ;;iBAGO,sBAAsB,KAAK,cAAc,WAAW;;;UCnJnD;EAChB;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA,SAAS;;iBAGM,SAAS,KAAK,aAAa,QAAQ,iBAAiB,WAAW;UA2G9D;EAChB;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;;iBAGe,YACf,KAAK,aACL,QAAQ,oBACN,WAAW;UAiGG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA,WAAW;EACX;EACA;;iBAGe,eACf,KAAK,aACL,QAAQ,uBACN,WAAW;;;UCpTG;EAChB;EACA;EACA;EACA;IAAe;IAAgB;;EAC/B;EACA;EACA;;;;;;EAMA;;;;;;;;;;;;;;EAcA,kBAAkB,mBAAmB;;UAGrB;EAChB;EACA;EACA;EACA;;iBAGqB,kBACrB,KAAK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Q,qBACN,WAAW;UAkBG;;EAEhB;;UAGgB;EAChB;EACA;EACA;;;;;;;;;iBAUe,eACf,KAAK,aACL,QAAQ,uBACN,WAAW;;;UCjEG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA,aAAa;EACb;;iBAGe,iBACf,KAAK,aACL,QAAQ,yBACN,WAAW;;;UC5BG;EAChB;EACA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,cAAc;;iBAGC,gBACf,KAAK,aACL,QAAQ,wBACN;EAAa;EAAmB;;;;UCnBlB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe,gBACf,KAAK,aACL,QAAQ,uBACN;EAAa;EAAmB;;;;UChBlB;EAChB;EACA;EACA;EACA;EACA,QAAQ;IACP;IACA;IACA;IACA;;;;;;;;iBASoB,qBACrB,UAAU,cACR,QAAQ;UAaM;EAChB;EACA;;iBAGqB,mBACrB,UAAU,cACR;EAAU,QAAQ;EAA0B,eAAe;;;;iBCvC9C,0BAA0B,KAAK,cAAc;EAC5D,YAAY;EACZ;EACA;EACA;;UAgBgB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe,6BACf,KAAK,aACL,QAAQ,qCACN;EAAa,YAAY;;;;UClCX;EAChB;EACA;EACA;;UAGgB;EAChB,SAAS;EACT;;iBAGe,WAAW,KAAK,cAAc,WAAW;UAmCxC;EAChB;EACA;EACA;;UAGgB;EAChB;EACA;;iBAGe,YACf,KAAK,aACL,QAAQ,oBACN,WAAW"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/execution.ts","../src/tools/slide-tools.ts","../src/tools/helpers.ts","../src/tools/element-tools.ts","../src/tools/table-tools.ts","../src/tools/table-style-tools.ts","../src/tools/style-tools.ts","../src/tools/content-tools.ts","../src/tools/conversion-tools.ts","../src/tools/theme-tools.ts","../src/tools/chart-tools.ts","../src/tools/chart-formatting-tools.ts","../src/tools/chart-user-shape-tools.ts","../src/tools/smartart-tools.ts","../src/tools/merge-tools.ts","../src/tools/template-tools.ts","../src/tools/metadata-tools.ts","../src/tools/section-tools.ts","../src/tools/export-tools.ts","../src/tools/json-tools.ts","../src/tools/hyperlink-tools.ts","../src/tools/geometry-tools.ts","../src/tools/lock-tools.ts","../src/tools/validation-tools.ts","../src/tools/presentation-tools.ts","../src/tools/layout-tools.ts"],"mappings":";;;;;;;UAOiB;;EAEhB,UAAU;;EAEV,gBAAgB,iBAAiB,QAAQ;;EAEzC,gBAAgB,iBAAiB,QAAQ;;;;;;;;;;;UAYzB;;EAEhB;;EAEA;;;;;;UAOgB,WAAW;;EAE3B,UAAU;;EAEV,QAAQ;;EAER;;;;;;EAMA,cAAc;;;;;;UAWE;;EAEhB,QAAQ;IAAqB,MAAM;;;EAEnC,SAAS;IACR,QAAQ,MAAM,KAAM,OAAO,YAAY,kBAAkB;IACzD,UAAU,MAAM,MAAO,QAAQ;;;EAGhC,YAAY;;;;;;;UAQI;EAChB,SAAS,eAAe,QAAQ;EAChC,UAAU,cAAc,MAAM,aAAa;;;;;;UAO3B;EAChB,eACC,kBACA,OAAO,YACP;IAAW;IAAoB;;EAEhC,SAAS,mBAAmB;;;;;UAMZ;;EAEhB,YAAY;;EAEZ,gBAAgB;;EAEhB,SAAS;;EAET;;;;;;;;;iBC7FqB,iBACrB,kBACA,SAAS,mBACP;EAAU,UAAU;EAAU,UAAU;;;;;iBA0BrB,iBACrB,kBACA,UAAU,YACV,UAAU,YACV,SAAS,kBACT,wBAAwB,wBACtB;EAAU;EAAsB;;;;;;iBAsDb,uBAAuB,GAC5C,kBACA,SAAS,kBACT,SAAS,KAAK,gBAAgB,WAAW,KAAK,QAAQ,WAAW,MAC/D,QAAQ;EAAM;EAAuB;;;;UC/FvB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;;iBAGK,SACf,KAAK,aACL;EAAU;IACR,WAAW;U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EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;;EAOA;;;;;;EAMA;;iBAgDe,mBACf,KAAK,aACL,QAAQ,2BACN;EAAa;;UA2JC;EAChB;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;EACA;EACA;EACA,QAAQ;;iBAGO,sBAAsB,KAAK,cAAc,WAAW;;;UC5PnD;EAChB;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA,SAAS;;iBAGM,SAAS,KAAK,aAAa,QAAQ,iBAAiB,WAAW;UA2G9D;EAChB;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;;iBAGe,YACf,KAAK,aACL,QAAQ,oBACN,WAAW;UAiGG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;EACA;EACA;EACA;EACA;;UAGgB;EAChB;EACA,WAAW;EACX;EACA;;iBAGe,eACf,KAAK,aACL,QAAQ,uBACN,WAAW;;;UCpTG;EAChB;EACA;EACA;EACA;IAAe;IAAgB;;EAC/B;EACA;EACA;;;;;;EAMA;;;;;;;;;;;;;;EAcA,kBAAkB,mBAAmB;;UAGrB;EAChB;EACA;EACA;EACA;;iBAGqB,kBACrB,KAAK,aACL,QAAQ,0BACN,QAAQ,WAAW;;;UCjCL;EAChB;EACA,cAAc;EACd,aAAa;EACb;;iBAGe,aAAa,KAAK,cAAc,WAAW;UAgB1C;EAChB;;UAGgB;EAChB;EACA,aAAa;;iBAGE,iBACf,KAAK,aACL,QAAQ,yBACN,WAAW;UA8BG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe,kBACf,KAAK,aACL,QAAQ,0BACN;EAAa,aAAa;;UAsCZ;EAChB;EACA;;iBAGe,iBACf,KAAK,aACL,QAAQ,yBACN;EAAa,YAAY;;;;UCnHX;EAChB;EACA;EACA;EACA;EACA;EACA;IAAW;IAAgB;;EAC3B;IACC;IACA;IACA;IACA;IACA;;EAED;IAAS;IAAc,MAAM;;EAC7B;;iBAGe,YACf,KAAK,aACL,QAAQ,oBACN;EAAa;;UA+CC;EAChB;EACA;EACA;EACA;EACA;;iBAGe,gBACf,KAAK,aACL,QAAQ,uBACN;EAAa;EAAmB;;UA4BlB;EAChB;EACA;EACA;;iBAGe,mBACf,KAAK,aACL,QAAQ,0BACN;EAAa;EAAmB;;UA4BlB;EAChB;EACA;EACA;EACA;;iBAGe,sBACf,KAAK,aACL,QAAQ,8BACN;EAAa;;UAuBC;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;IAAQ;IAAc;IAAkB;;EACjD;IAAW;IAAe;;;UAGV;EAChB;EACA;;iBAGe,YACf,KAAK,aACL,QAAQ,oBACN,WAAW;;;UC5KG;EAChB;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;;EAEA;;EAEA;EACA;IAAW,SAAS;IAAuB;IAAe;;;iBAG3C,qBACf,KAAK,aACL,QAAQ,6BACN;EAAa;;UA4BC;EAChB;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;IACC;IACA;IACA;IACA;;;EAGD;IACC;IACA;IACA;IACA;IACA;;;iBAIc,qBACf,KAAK,aACL,QAAQ,6BACN;EAAa;;UAsBC;EAChB;EACA;EACA;EACA;IACC,SAAS;IACT;IACA;IACA;IACA;IACA;;EAED;IACC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAED,aAAa;IAAqB;IAAgB;;;iBAGnC,kBACf,KAAK,aACL,QAAQ,0BACN;EAAa;;UA0CC;EAChB;EACA;EACA;;EAEA;IAAS;IAAgB;IAAgB;;;iBAG1B,oBACf,KAAK,aACL,QAAQ,2BACN;EAAa;;UAQC;EAChB;EACA;;EAEA,WAAW;;iBAGI,0BACf,KAAK,aACL,QAAQ,iCACN;EAAa;;;;;UCnNC;EAChB;EACA;EACA;IAAQ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