pptx-react-viewer 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{AiChatPanel-VINTTAOW.mjs → AiChatPanel-3MBRZW26.mjs} +3 -3
  3. package/dist/AiChatPanel-3MBRZW26.mjs.br +0 -0
  4. package/dist/AiChatPanel-3MBRZW26.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-N2FVAQRP.js → AiChatPanel-H5OF3KBZ.js} +24 -24
  6. package/dist/AiChatPanel-H5OF3KBZ.js.br +0 -0
  7. package/dist/AiChatPanel-H5OF3KBZ.js.gz +0 -0
  8. package/dist/{Area3DChartScene-WNEHMOG2.mjs → Area3DChartScene-4NQEW5KF.mjs} +1 -1
  9. package/dist/Area3DChartScene-4NQEW5KF.mjs.br +0 -0
  10. package/dist/Area3DChartScene-4NQEW5KF.mjs.gz +0 -0
  11. package/dist/{Area3DChartScene-TI3GRA4Y.js → Area3DChartScene-VN5RQBRM.js} +2 -2
  12. package/dist/Area3DChartScene-VN5RQBRM.js.br +0 -0
  13. package/dist/Area3DChartScene-VN5RQBRM.js.gz +0 -0
  14. package/dist/{Bar3DChartScene-CRN5WPCZ.js → Bar3DChartScene-AKC3DWD5.js} +2 -2
  15. package/dist/Bar3DChartScene-AKC3DWD5.js.br +0 -0
  16. package/dist/Bar3DChartScene-AKC3DWD5.js.gz +0 -0
  17. package/dist/{Bar3DChartScene-E53RZRI4.mjs → Bar3DChartScene-HDRJUZ3U.mjs} +1 -1
  18. package/dist/Bar3DChartScene-HDRJUZ3U.mjs.br +0 -0
  19. package/dist/Bar3DChartScene-HDRJUZ3U.mjs.gz +0 -0
  20. package/dist/{Line3DChartScene-DGPE4GDN.js → Line3DChartScene-3FMVK4VO.js} +2 -2
  21. package/dist/Line3DChartScene-3FMVK4VO.js.br +0 -0
  22. package/dist/Line3DChartScene-3FMVK4VO.js.gz +0 -0
  23. package/dist/{Line3DChartScene-YJ2POVES.mjs → Line3DChartScene-IVR5DJS6.mjs} +1 -1
  24. package/dist/Line3DChartScene-IVR5DJS6.mjs.br +0 -0
  25. package/dist/Line3DChartScene-IVR5DJS6.mjs.gz +0 -0
  26. package/dist/{Model3DScene-MYODSOVU.mjs → Model3DScene-RTRR7W5G.mjs} +1 -1
  27. package/dist/Model3DScene-RTRR7W5G.mjs.br +0 -0
  28. package/dist/Model3DScene-RTRR7W5G.mjs.gz +0 -0
  29. package/dist/{Model3DScene-O4IOWE5S.js → Model3DScene-ZDQ6L7IA.js} +2 -2
  30. package/dist/Model3DScene-ZDQ6L7IA.js.br +0 -0
  31. package/dist/Model3DScene-ZDQ6L7IA.js.gz +0 -0
  32. package/dist/{PieChart3DScene-4S4MZENR.js → PieChart3DScene-KTA4QWWO.js} +2 -2
  33. package/dist/PieChart3DScene-KTA4QWWO.js.br +0 -0
  34. package/dist/PieChart3DScene-KTA4QWWO.js.gz +0 -0
  35. package/dist/{PieChart3DScene-YYBYC5AM.mjs → PieChart3DScene-PV7CLRBQ.mjs} +1 -1
  36. package/dist/PieChart3DScene-PV7CLRBQ.mjs.br +0 -0
  37. package/dist/PieChart3DScene-PV7CLRBQ.mjs.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-FFYG6CNE.mjs → SurfaceChart3DScene-3XRDIWM3.mjs} +1 -1
  39. package/dist/SurfaceChart3DScene-3XRDIWM3.mjs.br +0 -0
  40. package/dist/SurfaceChart3DScene-3XRDIWM3.mjs.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-RNBXINNV.js → SurfaceChart3DScene-LGKTU3KM.js} +2 -2
  42. package/dist/SurfaceChart3DScene-LGKTU3KM.js.br +0 -0
  43. package/dist/SurfaceChart3DScene-LGKTU3KM.js.gz +0 -0
  44. package/dist/{chunk-MVLYI7C2.js → chunk-2YZHPPKB.js} +5 -5
  45. package/dist/chunk-2YZHPPKB.js.br +0 -0
  46. package/dist/chunk-2YZHPPKB.js.gz +0 -0
  47. package/dist/{chunk-VC4GPWZS.mjs → chunk-5HWRX5WI.mjs} +20 -14
  48. package/dist/chunk-5HWRX5WI.mjs.br +0 -0
  49. package/dist/{chunk-VC4GPWZS.mjs.gz → chunk-5HWRX5WI.mjs.gz} +0 -0
  50. package/dist/{chunk-7X6UCEYM.mjs → chunk-7YLUB3VE.mjs} +7 -3
  51. package/dist/chunk-7YLUB3VE.mjs.br +0 -0
  52. package/dist/{chunk-7X6UCEYM.mjs.gz → chunk-7YLUB3VE.mjs.gz} +0 -0
  53. package/dist/{chunk-JLQWPRIM.js → chunk-FRSFVE2I.js} +7 -3
  54. package/dist/chunk-FRSFVE2I.js.br +0 -0
  55. package/dist/{chunk-JLQWPRIM.js.gz → chunk-FRSFVE2I.js.gz} +0 -0
  56. package/dist/{chunk-3LIWTQSG.js → chunk-HFSWAAY4.js} +1076 -1070
  57. package/dist/chunk-HFSWAAY4.js.br +0 -0
  58. package/dist/chunk-HFSWAAY4.js.gz +0 -0
  59. package/dist/{chunk-Q7MONAI4.mjs → chunk-KLIZF4F6.mjs} +1 -1
  60. package/dist/chunk-KLIZF4F6.mjs.br +0 -0
  61. package/dist/chunk-KLIZF4F6.mjs.gz +0 -0
  62. package/dist/{chunk-ILVWZ7TN.mjs → chunk-LP52C4PZ.mjs} +1 -1
  63. package/dist/chunk-LP52C4PZ.mjs.br +0 -0
  64. package/dist/chunk-LP52C4PZ.mjs.gz +0 -0
  65. package/dist/{chunk-NKXILGP5.js → chunk-MEAT7XDZ.js} +173 -173
  66. package/dist/chunk-MEAT7XDZ.js.br +0 -0
  67. package/dist/chunk-MEAT7XDZ.js.gz +0 -0
  68. package/dist/{chunk-45JD3XEM.js → chunk-OHYMOFAS.js} +824 -801
  69. package/dist/chunk-OHYMOFAS.js.br +0 -0
  70. package/dist/chunk-OHYMOFAS.js.gz +0 -0
  71. package/dist/{chunk-FOXGVZ4A.mjs → chunk-P4SKGHBS.mjs} +39 -16
  72. package/dist/chunk-P4SKGHBS.mjs.br +0 -0
  73. package/dist/chunk-P4SKGHBS.mjs.gz +0 -0
  74. package/dist/index.js +47 -47
  75. package/dist/index.js.br +0 -0
  76. package/dist/index.js.gz +0 -0
  77. package/dist/index.mjs +5 -5
  78. package/dist/index.mjs.br +0 -0
  79. package/dist/index.mjs.gz +0 -0
  80. package/dist/internals.d.ts +5 -0
  81. package/dist/internals.js +104 -104
  82. package/dist/internals.js.br +0 -0
  83. package/dist/internals.js.gz +0 -0
  84. package/dist/internals.mjs +3 -3
  85. package/dist/internals.mjs.br +0 -0
  86. package/dist/internals.mjs.gz +0 -0
  87. package/dist/pptx-viewer.css +1 -1
  88. package/dist/pptx-viewer.css.br +0 -0
  89. package/dist/pptx-viewer.css.gz +0 -0
  90. package/dist/viewer/index.js +26 -26
  91. package/dist/viewer/index.js.br +0 -0
  92. package/dist/viewer/index.js.gz +0 -0
  93. package/dist/viewer/index.mjs +5 -5
  94. package/dist/viewer/index.mjs.br +0 -0
  95. package/dist/viewer/index.mjs.gz +0 -0
  96. package/package.json +1 -1
  97. package/dist/AiChatPanel-N2FVAQRP.js.br +0 -0
  98. package/dist/AiChatPanel-N2FVAQRP.js.gz +0 -0
  99. package/dist/AiChatPanel-VINTTAOW.mjs.br +0 -0
  100. package/dist/AiChatPanel-VINTTAOW.mjs.gz +0 -0
  101. package/dist/Area3DChartScene-TI3GRA4Y.js.br +0 -0
  102. package/dist/Area3DChartScene-TI3GRA4Y.js.gz +0 -0
  103. package/dist/Area3DChartScene-WNEHMOG2.mjs.br +0 -0
  104. package/dist/Area3DChartScene-WNEHMOG2.mjs.gz +0 -0
  105. package/dist/Bar3DChartScene-CRN5WPCZ.js.br +0 -0
  106. package/dist/Bar3DChartScene-CRN5WPCZ.js.gz +0 -0
  107. package/dist/Bar3DChartScene-E53RZRI4.mjs.br +0 -0
  108. package/dist/Bar3DChartScene-E53RZRI4.mjs.gz +0 -0
  109. package/dist/Line3DChartScene-DGPE4GDN.js.br +0 -0
  110. package/dist/Line3DChartScene-DGPE4GDN.js.gz +0 -0
  111. package/dist/Line3DChartScene-YJ2POVES.mjs.br +0 -0
  112. package/dist/Line3DChartScene-YJ2POVES.mjs.gz +0 -0
  113. package/dist/Model3DScene-MYODSOVU.mjs.br +0 -0
  114. package/dist/Model3DScene-MYODSOVU.mjs.gz +0 -0
  115. package/dist/Model3DScene-O4IOWE5S.js.br +0 -0
  116. package/dist/Model3DScene-O4IOWE5S.js.gz +0 -0
  117. package/dist/PieChart3DScene-4S4MZENR.js.br +0 -0
  118. package/dist/PieChart3DScene-4S4MZENR.js.gz +0 -0
  119. package/dist/PieChart3DScene-YYBYC5AM.mjs.br +0 -0
  120. package/dist/PieChart3DScene-YYBYC5AM.mjs.gz +0 -0
  121. package/dist/SurfaceChart3DScene-FFYG6CNE.mjs.br +0 -0
  122. package/dist/SurfaceChart3DScene-FFYG6CNE.mjs.gz +0 -0
  123. package/dist/SurfaceChart3DScene-RNBXINNV.js.br +0 -0
  124. package/dist/SurfaceChart3DScene-RNBXINNV.js.gz +0 -0
  125. package/dist/chunk-3LIWTQSG.js.br +0 -0
  126. package/dist/chunk-3LIWTQSG.js.gz +0 -0
  127. package/dist/chunk-45JD3XEM.js.br +0 -0
  128. package/dist/chunk-45JD3XEM.js.gz +0 -0
  129. package/dist/chunk-7X6UCEYM.mjs.br +0 -0
  130. package/dist/chunk-FOXGVZ4A.mjs.br +0 -0
  131. package/dist/chunk-FOXGVZ4A.mjs.gz +0 -0
  132. package/dist/chunk-ILVWZ7TN.mjs.br +0 -0
  133. package/dist/chunk-ILVWZ7TN.mjs.gz +0 -0
  134. package/dist/chunk-JLQWPRIM.js.br +0 -0
  135. package/dist/chunk-MVLYI7C2.js.br +0 -0
  136. package/dist/chunk-MVLYI7C2.js.gz +0 -0
  137. package/dist/chunk-NKXILGP5.js.br +0 -0
  138. package/dist/chunk-NKXILGP5.js.gz +0 -0
  139. package/dist/chunk-Q7MONAI4.mjs.br +0 -0
  140. package/dist/chunk-Q7MONAI4.mjs.gz +0 -0
  141. package/dist/chunk-VC4GPWZS.mjs.br +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ 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
+ ## [4.1.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@4.1.1) - 2026-09-20
11
+
12
+ ### Bug Fixes
13
+
14
+ - **react:** Ignore serialization caches in history comparison ([9c45571](https://github.com/ChristopherVR/pptx-viewer/commit/9c455717ef7d6a6c21467b92938459d0d9409002))
15
+ - **autosave:** Keep recovery snapshots until discard ([79e8e7d](https://github.com/ChristopherVR/pptx-viewer/commit/79e8e7dd610a71903530addc61e7ea3d116d7ff2))
16
+
10
17
  ## [4.1.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@4.1.0) - 2026-09-19
11
18
 
12
19
  ### Features
@@ -1,6 +1,6 @@
1
- import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-Q7MONAI4.mjs';
2
- import { cn } from './chunk-ILVWZ7TN.mjs';
3
- import './chunk-7X6UCEYM.mjs';
1
+ import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-KLIZF4F6.mjs';
2
+ import { cn } from './chunk-LP52C4PZ.mjs';
3
+ import './chunk-7YLUB3VE.mjs';
4
4
  import './chunk-PC7H3C5W.mjs';
5
5
  import './chunk-XGB3TDIC.mjs';
6
6
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
Binary file
Binary file
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkMVLYI7C2_js = require('./chunk-MVLYI7C2.js');
4
- var chunkNKXILGP5_js = require('./chunk-NKXILGP5.js');
5
- require('./chunk-JLQWPRIM.js');
3
+ var chunk2YZHPPKB_js = require('./chunk-2YZHPPKB.js');
4
+ var chunkMEAT7XDZ_js = require('./chunk-MEAT7XDZ.js');
5
+ require('./chunk-FRSFVE2I.js');
6
6
  require('./chunk-NXGUR2DO.js');
7
7
  require('./chunk-4VNS5WPM.js');
8
8
  var react = require('react');
@@ -23,7 +23,7 @@ function useAiChat(bridge, config) {
23
23
  setInitError(void 0);
24
24
  void (async () => {
25
25
  try {
26
- const available = await chunkMVLYI7C2_js.isAiAvailable();
26
+ const available = await chunk2YZHPPKB_js.isAiAvailable();
27
27
  if (cancelled) {
28
28
  return;
29
29
  }
@@ -31,7 +31,7 @@ function useAiChat(bridge, config) {
31
31
  setState("unavailable");
32
32
  return;
33
33
  }
34
- const built = await chunkMVLYI7C2_js.createAiChatSession(bridge, configRef.current);
34
+ const built = await chunk2YZHPPKB_js.createAiChatSession(bridge, configRef.current);
35
35
  if (cancelled) {
36
36
  return;
37
37
  }
@@ -137,7 +137,7 @@ function withDeckContext(inner, bridge, strategy) {
137
137
  }
138
138
  let context = "";
139
139
  try {
140
- context = await chunkMVLYI7C2_js.buildDeckContext(bridge, { strategy, focus: {} });
140
+ context = await chunk2YZHPPKB_js.buildDeckContext(bridge, { strategy, focus: {} });
141
141
  } catch {
142
142
  context = "";
143
143
  }
@@ -200,7 +200,7 @@ function useAiConversation(useChat, session, config, bridge, options = {}) {
200
200
  continue;
201
201
  }
202
202
  seen.add(call.toolCallId);
203
- onToolTargetRef.current?.(chunkMVLYI7C2_js.toolCanvasTarget(call.toolName, call.input));
203
+ onToolTargetRef.current?.(chunk2YZHPPKB_js.toolCanvasTarget(call.toolName, call.input));
204
204
  }
205
205
  }, [chat.messages]);
206
206
  const send = react.useCallback(
@@ -276,7 +276,7 @@ function deriveTitle(messages) {
276
276
  }
277
277
  function useAiHistory(input) {
278
278
  const { deckId, messages, setMessages } = input;
279
- const store = react.useMemo(() => input.store ?? chunkMVLYI7C2_js.createChatHistoryStore(), [input.store]);
279
+ const store = react.useMemo(() => input.store ?? chunk2YZHPPKB_js.createChatHistoryStore(), [input.store]);
280
280
  const [activeChatId, setActiveChatId] = react.useState(newChatId);
281
281
  const [chats, setChats] = react.useState([]);
282
282
  const createdAtRef = react.useRef(Date.now());
@@ -419,7 +419,7 @@ function AiComposer({
419
419
  disabled: value.trim().length === 0,
420
420
  title: t("pptx.ai.send"),
421
421
  "aria-label": t("pptx.ai.send"),
422
- className: chunkNKXILGP5_js.cn(
422
+ className: chunkMEAT7XDZ_js.cn(
423
423
  "shrink-0 rounded-sm p-1.5 transition-colors",
424
424
  value.trim().length === 0 ? "text-muted-foreground/50" : "bg-primary text-primary-foreground hover:bg-primary/90"
425
425
  ),
@@ -442,15 +442,15 @@ function AiFocusBar({
442
442
  onClearPicks
443
443
  }) {
444
444
  const { t } = reactI18next.useTranslation();
445
- const chips = chunkMVLYI7C2_js.focusTargetChips(targets, slides);
446
- const twoTables = chunkMVLYI7C2_js.isTwoTableFocus(targets, slides);
445
+ const chips = chunk2YZHPPKB_js.focusTargetChips(targets, slides);
446
+ const twoTables = chunk2YZHPPKB_js.isTwoTableFocus(targets, slides);
447
447
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
448
448
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1 px-2.5 py-1.5", children: [
449
449
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-semibold uppercase tracking-wide text-muted-foreground", children: t("pptx.ai.focusScope") }),
450
450
  chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
451
451
  "span",
452
452
  {
453
- className: chunkNKXILGP5_js.cn(
453
+ className: chunkMEAT7XDZ_js.cn(
454
454
  "inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
455
455
  hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
456
456
  ),
@@ -466,7 +466,7 @@ function AiFocusBar({
466
466
  {
467
467
  type: "button",
468
468
  onClick: () => onSendDirective(
469
- chunkMVLYI7C2_js.mergeTablesDirective(
469
+ chunk2YZHPPKB_js.mergeTablesDirective(
470
470
  twoTables.slideIndex,
471
471
  twoTables.elementIdA,
472
472
  twoTables.elementIdB
@@ -487,7 +487,7 @@ function AiFocusBar({
487
487
  title: t("pptx.ai.pickElement"),
488
488
  "aria-label": t("pptx.ai.pickAria"),
489
489
  "aria-pressed": pickMode,
490
- className: chunkNKXILGP5_js.cn(
490
+ className: chunkMEAT7XDZ_js.cn(
491
491
  "rounded-sm p-1 max-md:min-w-[44px]! max-md:min-h-[44px]! flex items-center justify-center",
492
492
  pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
493
493
  ),
@@ -566,7 +566,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
566
566
  {
567
567
  type: "button",
568
568
  onClick: () => onResume(chat.id),
569
- className: chunkNKXILGP5_js.cn(
569
+ className: chunkMEAT7XDZ_js.cn(
570
570
  "flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
571
571
  chat.id === activeChatId && "bg-accent/60"
572
572
  ),
@@ -721,26 +721,26 @@ function AiToolCallCard({ part }) {
721
721
  const failed = part.state === "output-error";
722
722
  const done = part.state === "output-available";
723
723
  const running = !failed && !done;
724
- const activity = chunkMVLYI7C2_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
724
+ const activity = chunk2YZHPPKB_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
725
725
  const Icon = ICONS[activity.icon] ?? lu.LuWrench;
726
- const rawSummary = chunkMVLYI7C2_js.summarizeToolArgs(part.input);
726
+ const rawSummary = chunk2YZHPPKB_js.summarizeToolArgs(part.input);
727
727
  const statusLabel = failed ? t("pptx.ai.toolFailed") : done ? t("pptx.ai.toolDone") : t("pptx.ai.toolRunning");
728
728
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-[12px]", children: [
729
729
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
730
730
  /* @__PURE__ */ jsxRuntime.jsx(
731
731
  Icon,
732
732
  {
733
- className: chunkNKXILGP5_js.cn(
733
+ className: chunkMEAT7XDZ_js.cn(
734
734
  "w-3.5 h-3.5 shrink-0",
735
735
  failed ? "text-destructive" : "text-muted-foreground"
736
736
  )
737
737
  }
738
738
  ),
739
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkNKXILGP5_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
739
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkMEAT7XDZ_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
740
740
  /* @__PURE__ */ jsxRuntime.jsxs(
741
741
  "span",
742
742
  {
743
- className: chunkNKXILGP5_js.cn(
743
+ className: chunkMEAT7XDZ_js.cn(
744
744
  "ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
745
745
  failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
746
746
  ),
@@ -757,7 +757,7 @@ function AiToolCallCard({ part }) {
757
757
  rawSummary && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "group mt-0.5 pl-5", children: [
758
758
  /* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer list-none text-[10px] text-muted-foreground/70 hover:text-muted-foreground", children: t("pptx.ai.toolDetails") }),
759
759
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-0.5 break-words font-mono text-[10px] text-muted-foreground/80", children: [
760
- chunkMVLYI7C2_js.toolLabel(part.toolName),
760
+ chunk2YZHPPKB_js.toolLabel(part.toolName),
761
761
  ": ",
762
762
  rawSummary
763
763
  ] })
@@ -788,7 +788,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
788
788
  /* @__PURE__ */ jsxRuntime.jsx(
789
789
  "div",
790
790
  {
791
- className: chunkNKXILGP5_js.cn(
791
+ className: chunkMEAT7XDZ_js.cn(
792
792
  "mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
793
793
  isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
794
794
  ),
@@ -835,7 +835,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
835
835
  }
836
836
  function AiProposalCard({ proposal, onAccept, onReject }) {
837
837
  const { t } = reactI18next.useTranslation();
838
- const lines = proposal.summary.map(chunkMVLYI7C2_js.humanizeDiffLine);
838
+ const lines = proposal.summary.map(chunk2YZHPPKB_js.humanizeDiffLine);
839
839
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
840
840
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
841
841
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-medium text-foreground", children: proposal.label }),
@@ -1043,7 +1043,7 @@ function AiChatPanel({
1043
1043
  }) {
1044
1044
  const { t } = reactI18next.useTranslation();
1045
1045
  const { state, session, initError } = useAiChat(bridge, config);
1046
- const deckId = react.useMemo(() => chunkMVLYI7C2_js.deckIdFromBridge(bridge), [bridge]);
1046
+ const deckId = react.useMemo(() => chunk2YZHPPKB_js.deckIdFromBridge(bridge), [bridge]);
1047
1047
  return /* @__PURE__ */ jsxRuntime.jsxs(
1048
1048
  "div",
1049
1049
  {
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountAreaChart3D } from './chunk-7X6UCEYM.mjs';
2
+ import { mountAreaChart3D } from './chunk-7YLUB3VE.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunkJLQWPRIM_js = require('./chunk-JLQWPRIM.js');
4
+ var chunkFRSFVE2I_js = require('./chunk-FRSFVE2I.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -23,7 +23,7 @@ function Area3DChartScene({
23
23
  return;
24
24
  }
25
25
  let disposed = false;
26
- void chunkJLQWPRIM_js.mountAreaChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunkFRSFVE2I_js.mountAreaChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunkJLQWPRIM_js = require('./chunk-JLQWPRIM.js');
4
+ var chunkFRSFVE2I_js = require('./chunk-FRSFVE2I.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -23,7 +23,7 @@ function Bar3DChartScene({
23
23
  return;
24
24
  }
25
25
  let disposed = false;
26
- void chunkJLQWPRIM_js.mountBarChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunkFRSFVE2I_js.mountBarChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountBarChart3D } from './chunk-7X6UCEYM.mjs';
2
+ import { mountBarChart3D } from './chunk-7YLUB3VE.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunkJLQWPRIM_js = require('./chunk-JLQWPRIM.js');
4
+ var chunkFRSFVE2I_js = require('./chunk-FRSFVE2I.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -23,7 +23,7 @@ function Line3DChartScene({
23
23
  return;
24
24
  }
25
25
  let disposed = false;
26
- void chunkJLQWPRIM_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunkFRSFVE2I_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountLineChart3D } from './chunk-7X6UCEYM.mjs';
2
+ import { mountLineChart3D } from './chunk-7YLUB3VE.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { mountModel3D } from './chunk-7X6UCEYM.mjs';
1
+ import { mountModel3D } from './chunk-7YLUB3VE.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
3
3
  import { useRef, useEffect } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJLQWPRIM_js = require('./chunk-JLQWPRIM.js');
3
+ var chunkFRSFVE2I_js = require('./chunk-FRSFVE2I.js');
4
4
  require('./chunk-4VNS5WPM.js');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
@@ -14,7 +14,7 @@ function Model3DScene({ modelUrl, interactive, width, height }) {
14
14
  return;
15
15
  }
16
16
  let disposed = false;
17
- void chunkJLQWPRIM_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
17
+ void chunkFRSFVE2I_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
18
18
  if (disposed) {
19
19
  handle.dispose();
20
20
  } else {
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunkJLQWPRIM_js = require('./chunk-JLQWPRIM.js');
4
+ var chunkFRSFVE2I_js = require('./chunk-FRSFVE2I.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -21,7 +21,7 @@ function PieChart3DScene({
21
21
  return;
22
22
  }
23
23
  let disposed = false;
24
- void chunkJLQWPRIM_js.mountPieChart3D(container, options, stableInteraction).then((handle) => {
24
+ void chunkFRSFVE2I_js.mountPieChart3D(container, options, stableInteraction).then((handle) => {
25
25
  if (disposed) {
26
26
  handle.dispose();
27
27
  } else {
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountPieChart3D } from './chunk-7X6UCEYM.mjs';
2
+ import { mountPieChart3D } from './chunk-7YLUB3VE.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountSurfaceChart3D } from './chunk-7X6UCEYM.mjs';
2
+ import { mountSurfaceChart3D } from './chunk-7YLUB3VE.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunkJLQWPRIM_js = require('./chunk-JLQWPRIM.js');
4
+ var chunkFRSFVE2I_js = require('./chunk-FRSFVE2I.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -23,7 +23,7 @@ function SurfaceChart3DScene({
23
23
  return;
24
24
  }
25
25
  let disposed = false;
26
- void chunkJLQWPRIM_js.mountSurfaceChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunkFRSFVE2I_js.mountSurfaceChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJLQWPRIM_js = require('./chunk-JLQWPRIM.js');
3
+ var chunkFRSFVE2I_js = require('./chunk-FRSFVE2I.js');
4
4
  var chunk4VNS5WPM_js = require('./chunk-4VNS5WPM.js');
5
5
  var mcp = require('pptx-viewer-mcp');
6
6
  var mcpSchemas = require('pptx-viewer-mcp/schemas');
@@ -19079,7 +19079,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
19079
19079
  };
19080
19080
  let markdown;
19081
19081
  try {
19082
- const converter = new chunkJLQWPRIM_js.PptxMarkdownConverter(
19082
+ const converter = new chunkFRSFVE2I_js.PptxMarkdownConverter(
19083
19083
  "",
19084
19084
  {
19085
19085
  sourceName: meta3.title ?? "deck.pptx",
@@ -19671,7 +19671,7 @@ var getTheme = (ctx) => {
19671
19671
  name: theme?.name,
19672
19672
  colorScheme: theme?.colorScheme,
19673
19673
  fontScheme: theme?.fontScheme,
19674
- availablePresets: Object.keys(chunkJLQWPRIM_js.ThemePresets)
19674
+ availablePresets: Object.keys(chunkFRSFVE2I_js.ThemePresets)
19675
19675
  };
19676
19676
  };
19677
19677
  var readExecutors = {
@@ -20776,7 +20776,7 @@ function applyElementUpdate(el, u) {
20776
20776
  applyShapeStyleUpdate(el, u);
20777
20777
  }
20778
20778
  function applyTextUpdate(el, u) {
20779
- if (!chunkJLQWPRIM_js.hasTextProperties(el)) {
20779
+ if (!chunkFRSFVE2I_js.hasTextProperties(el)) {
20780
20780
  return;
20781
20781
  }
20782
20782
  const textEl = el;
@@ -20822,7 +20822,7 @@ function applyShapeStyleUpdate(el, u) {
20822
20822
  if (u.fillColor === void 0 && u.strokeColor === void 0 && u.strokeWidth === void 0) {
20823
20823
  return;
20824
20824
  }
20825
- if (!chunkJLQWPRIM_js.hasShapeProperties(el)) {
20825
+ if (!chunkFRSFVE2I_js.hasShapeProperties(el)) {
20826
20826
  return;
20827
20827
  }
20828
20828
  const holder = el;
Binary file
Binary file